/*=========================================================
  SHUBHECCHA DIGITAL
  STYLE.CSS
  PART 1
=========================================================*/

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans:wght@300;400;500;600;700;800&display=swap');

/*=========================================================
ROOT
=========================================================*/

:root {

    --primary: #b30000;
    --primary-dark: #8d0000;
    --secondary: #111111;
    --white: #ffffff;
    --text: #222222;
    --light: #666666;
    --border: #e5e5e5;
    --bg: #f8f8f8;

}

/*=========================================================
RESET
=========================================================*/

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {

    font-family: 'Noto Sans', sans-serif;
    background: #fff;
    color: var(--text);
    line-height: 1.6;

}

img {

    max-width: 100%;
    display: block;

}

a {

    color: inherit;
    text-decoration: none;

}

ul {

    list-style: none;

}

button {

    font-family: inherit;
    cursor: pointer;

}

input {

    font-family: inherit;

}

/*=========================================================
CONTAINER
=========================================================*/

.container {

    width: 95%;
    max-width: 1280px;
    margin: auto;

}

/*=========================================================
TOP BAR
=========================================================*/

.top-bar {

    background: #111;
    color: #fff;
    font-size: 13px;

}

.top-flex {

    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 38px;

}

.top-left {

    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;

}

.top-left span {

    display: flex;
    align-items: center;
    gap: 6px;

}

.top-right {

    display: flex;
    align-items: center;
    gap: 8px;

}

.top-right a {

    width: 22px;
    height: 22px;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #fff;

    border-radius: 3px;

    transition: .3s;

}

.top-right a:hover {

    transform: translateY(-2px);

}

.top-right a:nth-child(1) {

    background: #1877F2;

}

.top-right a:nth-child(2) {

    background: #000;

}

.top-right a:nth-child(3) {

    background: #FF0000;

}

.top-right a:nth-child(4) {

    background: #E1306C;

}

.top-right a:nth-child(5) {

    background: #25D366;

}

/*=========================================================
HEADER
=========================================================*/

header {

    background: #fff;
    padding: 18px 0;
    border-bottom: 1px solid var(--border);

}

.header-flex {

    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 25px;

}

/*=========================================================
LOGO
=========================================================*/

.logo {

    flex: 0 0 240px;

}

.logo img {

    width: 240px;
    height: auto;

}

/*=========================================================
ADVERTISEMENT
=========================================================*/

.ad {

    flex: 1;

}

.rni-registration {

    display: inline-block;
    padding: 10px 18px;
    color: #a30000;
    background: #fff7e6;
    border: 2px solid #a30000;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: .4px;

}

.ad img {

    width: 100%;
    max-height: 90px;
    object-fit: cover;

}

/*=========================================================
SEARCH
=========================================================*/

.search {

    width: 280px;
    display: flex;

}

.search input {

    flex: 1;

    height: 46px;

    border: 1px solid var(--border);

    border-right: none;

    outline: none;

    padding: 0 15px;

    font-size: 14px;

}

.search input:focus {

    border-color: var(--primary);

}

.search button {

    width: 55px;

    border: none;

    background: var(--primary);

    color: #fff;

    font-size: 17px;

    transition: .3s;

}

.search button:hover {

    background: var(--primary-dark);

}

/*=========================================================
COMMON BUTTON
=========================================================*/

.read-btn {

    display: inline-block;

    background: var(--primary);

    color: #fff;

    padding: 10px 18px;

    transition: .3s;

}

.read-btn:hover {

    background: var(--primary-dark);

}

/*=========================================================
UTILITY
=========================================================*/

.text-center {

    text-align: center;

}

.mt-20 {

    margin-top: 20px;

}

.mb-20 {

    margin-bottom: 20px;

}

.shadow {

    box-shadow: 0 4px 15px rgba(0, 0, 0, .08);

}

/*=========================================================
TABLET
=========================================================*/

@media(max-width:992px) {

    .header-flex {

        flex-wrap: wrap;

    }

    .logo {

        width: 100%;
        text-align: center;

    }

    .logo img {

        margin: auto;

    }

    .ad {

        width: 100%;

        text-align: center;

    }

    .search {

        width: 100%;

    }

}

/*=========================================================
MOBILE
=========================================================*/

@media(max-width:768px) {

    .top-flex {

        flex-direction: column;

        justify-content: center;

        gap: 8px;

        padding: 8px 0;

    }

    .top-left {

        justify-content: center;

    }

    .top-right {

        justify-content: center;

    }

    header {

        padding: 15px 0;

    }

    .logo img {

        width: 210px;

    }

    .search {

        width: 100%;

    }

}

@media(max-width:576px) {

    .container {

        width: 94%;

    }

    .logo img {

        width: 180px;

    }

    .search input {

        font-size: 13px;

    }

}

/*=========================================================
PART 2A
NAVIGATION
=========================================================*/

nav {
    background: var(--primary);
    position: relative;
    z-index: 999;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

.menu {
    display: flex;
    align-items: center;
    flex: 1;
}

.menu li {
    position: relative;
}

.menu li a {
    display: block;
    color: #fff;
    padding: 16px 18px;
    font-size: 14px;
    font-weight: 600;
    transition: .3s;
}

.menu li:hover>a,
.menu li.active>a {
    background: var(--primary-dark);
}

/*=========================================================
E-PAPER BUTTON
=========================================================*/

.epaper-btn {
    display: inline-block;
    background: #ffc107;
    color: #222;
    padding: 9px 18px;
    border-radius: 4px;
    font-weight: 700;
    margin-left: 15px;
    transition: .3s;
}

.epaper-btn:hover {
    background: #ffb300;
}

/*=========================================================
MOBILE MENU BUTTON
=========================================================*/

.menu-btn {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 28px;
    cursor: pointer;
    transition: .3s;
}

/*=========================================================
BREAKING NEWS
=========================================================*/

.breaking-news {
    background: #fff;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.breaking-wrapper {
    display: flex;
    align-items: center;
    min-height: 46px;
}

.breaking-title {
    background: var(--primary);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    padding: 0 18px;
    display: flex;
    align-items: center;
    height: 46px;
    white-space: nowrap;
}

.breaking-ticker {
    flex: 1;
    overflow: hidden;
    position: relative;
}

.ticker-content {
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    animation: ticker 35s linear infinite;
}

.ticker-content:hover {
    animation-play-state: paused;
}

.ticker-content a {
    color: var(--text);
    padding: 0 18px;
    font-size: 14px;
    transition: .3s;
}

.ticker-content a:hover {
    color: var(--primary);
}

.ticker-content span {
    color: #aaa;
}

.ticker-controls {
    display: flex;
    border-left: 1px solid var(--border);
}

.ticker-controls button {
    width: 42px;
    height: 46px;
    border: none;
    background: #fff;
    color: #333;
    transition: .3s;
}

.ticker-controls button:hover {
    background: #f3f3f3;
}

/*=========================================================
TICKER ANIMATION
=========================================================*/

@keyframes ticker {

    0% {
        transform: translateX(100%);
    }

    100% {
        transform: translateX(-100%);
    }

}

/*=========================================================
TABLET
=========================================================*/

@media(max-width:992px) {

    .menu li a {
        padding: 15px 12px;
        font-size: 13px;
    }

    .epaper-btn {
        margin-left: 8px;
    }

}

/*=========================================================
MOBILE NAVIGATION
=========================================================*/

@media(max-width:768px) {

    nav {
        min-height: 56px;
    }

    .nav-container {
        min-height: 56px;
    }

    .menu-btn {
        display: block;
        position: absolute;
        right: 15px;
        top: 13px;
        z-index: 1001;
    }

    .menu {
        display: none;
        position: absolute;
        top: 56px;
        left: 0;
        width: 100%;
        flex-direction: column;
        background: var(--primary);
        box-shadow: 0 5px 15px rgba(0, 0, 0, .15);
    }

    .menu.active {
        display: flex;
    }

    .menu li {
        width: 100%;
        border-top: 1px solid rgba(255, 255, 255, .15);
    }

    .menu li:first-child {
        border-top: none;
    }

    .menu li a {
        width: 100%;
        padding: 15px 20px;
    }

    .epaper-btn {
        display: block;
        margin: 15px;
        text-align: center;
    }

    .breaking-title {
        font-size: 12px;
        padding: 0 12px;
    }

    .ticker-content a {
        font-size: 13px;
        padding: 0 15px;
    }

}

/*=========================================================
SMALL MOBILE
=========================================================*/

@media(max-width:576px) {

    .breaking-title {
        font-size: 11px;
        padding: 0 10px;
    }

    .ticker-controls button {
        width: 36px;
    }

}

/*=========================================================
PART 2B-1
HERO SECTION
=========================================================*/

.hero {

    padding: 20px 0 30px;
    background: #fff;

}

.hero-grid {

    display: grid;
    grid-template-columns: 2fr 1fr .9fr;
    gap: 20px;
    align-items: start;

}

/*=========================================================
FEATURED SLIDER
=========================================================*/

.featured-news {

    position: relative;
    overflow: hidden;
    border-radius: 5px;
    height: 450px;
    background: #000;

}

.featured-news img {

    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: .5s;

}

.featured-news:hover img {

    transform: scale(1.05);

}

/*=========================================================
CATEGORY LABEL
=========================================================*/

.category {

    position: absolute;

    top: 18px;
    left: 18px;

    background: var(--primary);

    color: #fff;

    padding: 6px 14px;

    font-size: 12px;
    font-weight: 700;

    border-radius: 3px;

    z-index: 2;

    text-transform: uppercase;

}

/*=========================================================
OVERLAY
=========================================================*/

.overlay {

    position: absolute;

    left: 0;
    right: 0;
    bottom: 0;

    padding: 28px;

    color: #fff;

    background: linear-gradient(to top,
            rgba(0, 0, 0, .92),
            rgba(0, 0, 0, .55),
            rgba(0, 0, 0, .15),
            transparent);

}

.overlay h2 {

    font-size: 34px;
    line-height: 1.35;
    margin-bottom: 15px;
    font-weight: 700;

}

.overlay p {

    color: #e5e5e5;
    font-size: 15px;
    margin-bottom: 15px;

}

/*=========================================================
META
=========================================================*/

.meta {

    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;

    font-size: 13px;

    color: #f2f2f2;

}

.meta span {

    display: flex;
    align-items: center;
    gap: 6px;

}

/*=========================================================
SLIDER DOTS
=========================================================*/

.slider-dots {

    position: absolute;

    right: 22px;
    bottom: 22px;

    display: flex;
    gap: 8px;

    z-index: 5;

}

.slider-dots span {

    width: 11px;
    height: 11px;

    border-radius: 50%;

    background: #fff;

    opacity: .45;

    cursor: pointer;

    transition: .3s;

}

.slider-dots span:hover {

    opacity: 1;

}

.slider-dots .active {

    background: var(--primary);

    opacity: 1;

}

/*=========================================================
IMAGE HOVER
=========================================================*/

.featured-news:hover .overlay {

    background: linear-gradient(to top,
            rgba(0, 0, 0, .95),
            rgba(0, 0, 0, .60),
            rgba(0, 0, 0, .20),
            transparent);

}

/*=========================================================
TABLET
=========================================================*/

@media(max-width:992px) {

    .hero-grid {

        grid-template-columns: 1fr;

    }

    .featured-news {

        height: 380px;

    }

}

/*=========================================================
MOBILE
=========================================================*/

@media(max-width:768px) {

    .hero {

        padding: 15px 0 25px;

    }

    .featured-news {

        height: 300px;

    }

    .overlay {

        padding: 18px;

    }

    .overlay h2 {

        font-size: 26px;

    }

    .overlay p {

        font-size: 14px;

    }

    .meta {

        gap: 12px;
        font-size: 12px;

    }

}

/*=========================================================
SMALL MOBILE
=========================================================*/

@media(max-width:576px) {

    .featured-news {

        height: 240px;

    }

    .overlay h2 {

        font-size: 20px;

    }

    .overlay p {

        display: none;

    }

    .meta {

        font-size: 11px;

    }

    .category {

        font-size: 11px;
        padding: 5px 10px;

    }

}

/*=========================================================
PART 2B-2
SIDE NEWS
=========================================================*/

.side-news {

    display: flex;
    flex-direction: column;
    gap: 20px;

}

.side-card {

    position: relative;
    height: 140px;
    overflow: hidden;
    border-radius: 5px;
    background: #000;

}

.side-card img {

    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: .45s;

}

.side-card:hover img {

    transform: scale(1.08);

}

.card-overlay {

    position: absolute;

    left: 0;
    right: 0;
    bottom: 0;

    padding: 15px;

    color: #fff;

    background: linear-gradient(to top,
            rgba(0, 0, 0, .92),
            rgba(0, 0, 0, .20),
            transparent);

}

.card-overlay h4 {

    font-size: 18px;
    line-height: 1.45;
    margin-bottom: 8px;
    font-weight: 600;

}

.card-overlay .meta {

    font-size: 12px;
    color: #eee;
    gap: 12px;

}

/*=========================================================
CATEGORY COLORS
=========================================================*/

.red {
    background: #c40000;
}

.orange {
    background: #ff6b00;
}

.blue {
    background: #0066cc;
}

.green {
    background: #0a8f42;
}

/*=========================================================
TRENDING NEWS
=========================================================*/

.trending {

    background: #fff;
    border: 1px solid var(--border);
    border-radius: 5px;
    padding: 18px;

}

.trending h3 {

    font-size: 20px;
    margin-bottom: 18px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f0f0f0;
    position: relative;

}

.trending h3::after {

    content: "";

    position: absolute;

    left: 0;
    bottom: -2px;

    width: 60px;
    height: 3px;

    background: var(--primary);

}

.trending ol {

    list-style: none;
    counter-reset: item;

}

.trending li {

    counter-increment: item;

    position: relative;

    padding: 15px 0 15px 42px;

    border-bottom: 1px solid #efefef;

    line-height: 1.6;

}

.trending li:last-child {

    border-bottom: none;

}

.trending li::before {

    content: counter(item);

    position: absolute;

    left: 0;
    top: 15px;

    width: 26px;
    height: 26px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: var(--primary);

    color: #fff;

    font-size: 13px;
    font-weight: 700;

}

.trending li a {

    color: var(--text);
    transition: .3s;

}

.trending li:hover a {

    color: var(--primary);

}

/*=========================================================
HOVER EFFECTS
=========================================================*/

.side-card,
.featured-news,
.trending {

    transition: .3s;

}

.side-card:hover,
.trending:hover {

    box-shadow: 0 6px 18px rgba(0, 0, 0, .08);

}

/*=========================================================
TABLET
=========================================================*/

@media(max-width:992px) {

    .side-news {

        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;

    }

    .side-card {

        height: 220px;

    }

    .trending {

        margin-top: 20px;

    }

}

/*=========================================================
MOBILE
=========================================================*/

@media(max-width:768px) {

    .side-news {

        grid-template-columns: 1fr;

    }

    .side-card {

        height: 210px;

    }

    .card-overlay {

        padding: 14px;

    }

    .card-overlay h4 {

        font-size: 17px;

    }

    .trending {

        margin-top: 15px;

    }

}

/*=========================================================
SMALL MOBILE
=========================================================*/

@media(max-width:576px) {

    .side-card {

        height: 190px;

    }

    .card-overlay h4 {

        font-size: 16px;

    }

    .trending {

        padding: 15px;

    }

    .trending h3 {

        font-size: 18px;

    }

    .trending li {

        padding-left: 38px;

    }

}

.latest-section {
    padding: 35px 0;
}

.latest-grid {
    display: grid;
    grid-template-columns: 3fr 1fr;
    gap: 30px;
}

.section-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    border-bottom: 2px solid #eee;
    padding-bottom: 10px;
}

.section-title h3 {
    font-size: 24px;
}

.latest-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

.news-item {
    border: 1px solid #eee;
    transition: .3s;
}

.news-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, .08);
}

.tag {
    position: absolute;
    top: 12px;
    left: 12px;
    color: #fff;
    padding: 6px 12px;
    font-size: 12px;
    font-weight: 700;
    border-radius: 3px;
    text-transform: uppercase;
    z-index: 2;
}

.assam {
    background: #c40000;
}

.india {
    background: #ff6b00;
}

.world {
    background: #009688;
}

.sports {
    background: #0066cc;
}

.image {
    position: relative;
    overflow: hidden;
}

.image img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: .4s;
}

.news-item:hover .image img {
    transform: scale(1.08);
}

.news-item h4 {
    padding: 15px;
    font-size: 18px;
}

.news-meta {
    display: flex;
    justify-content: space-between;
    padding: 0 15px 15px;
    font-size: 13px;
    color: #777;
}

.advertisement img {
    width: 100%;
}

.contact-btn {
    display: block;
    background: var(--primary);
    color: #fff;
    text-align: center;
    padding: 12px;
    margin-top: 15px;
}

@media(max-width:992px) {

    .latest-grid {
        grid-template-columns: 1fr;
    }

}

@media(max-width:768px) {

    .latest-cards {
        grid-template-columns: 1fr;
    }

}

/*=========================================================
PART 3B
ASSAM CATEGORY PAGE
=========================================================*/

.category-page {
    padding: 35px 0;
    background: #fff;
}

.category-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
}

.category-news {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

/*=========================================================
CATEGORY CARD
=========================================================*/

.category-card {
    display: flex;
    gap: 20px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 5px;
    overflow: hidden;
    transition: .3s;
}

.category-card:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, .08);
    transform: translateY(-3px);
}

.category-image {
    width: 300px;
    flex-shrink: 0;
    overflow: hidden;
}

.category-image img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: .4s;
}

.category-card:hover .category-image img {
    transform: scale(1.08);
}

/*=========================================================
CONTENT
=========================================================*/

.category-content {
    padding: 20px;
    flex: 1;
}

.category-tag {
    display: inline-block;
    background: var(--primary);
    color: #fff;
    padding: 5px 12px;
    font-size: 12px;
    border-radius: 3px;
    margin-bottom: 12px;
    font-weight: 600;
}

.category-content h2 {
    font-size: 26px;
    line-height: 1.45;
    margin-bottom: 12px;
    color: var(--text);
    transition: .3s;
}

.category-content h2:hover {
    color: var(--primary);
}

.category-meta {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
    color: #777;
    font-size: 13px;
    margin-bottom: 12px;
}

.category-content p {
    color: #555;
    line-height: 1.8;
}

/*=========================================================
SIDEBAR
=========================================================*/

.sidebar {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.sidebar-box {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 5px;
    padding: 20px;
}

.sidebar-box h3 {
    font-size: 20px;
    margin-bottom: 18px;
    padding-bottom: 10px;
    border-bottom: 2px solid #eee;
    position: relative;
}

.sidebar-box h3::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 60px;
    height: 3px;
    background: var(--primary);
}

/*=========================================================
E-PAPER
=========================================================*/

.epaper-image img {
    width: 100%;
    border-radius: 4px;
    border: 1px solid #ddd;
}

/* E-Paper page */
.epaper-page { background: #f6f7f9; padding: 42px 0 55px; }
.epaper-heading { margin-bottom: 26px; }
.epaper-kicker, .epaper-label { color: var(--primary); font-size: 12px; font-weight: 800; letter-spacing: .08em; }
.epaper-heading h1 { font-size: 38px; margin: 8px 0; }
.epaper-heading p { color: #666; }
.epaper-viewer-card { background: #fff; border: 1px solid #e5e7eb; border-radius: 8px; overflow: hidden; box-shadow: 0 8px 24px rgba(0,0,0,.06); }
.epaper-viewer-header { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 24px; border-bottom: 1px solid #ececec; }
.epaper-viewer-header h2 { font-size: 25px; margin: 6px 0; }
.epaper-viewer-header p { color: #666; font-size: 14px; }
.epaper-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.epaper-button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: var(--primary); color: #fff; padding: 11px 15px; border-radius: 4px; font-weight: 600; }
.epaper-button:hover { color: #fff; background: var(--primary-dark); }
.epaper-button-outline { background: #fff; color: var(--primary); border: 1px solid var(--primary); }
.epaper-button-outline:hover { background: #fff5f5; color: var(--primary); }
.epaper-frame-wrap { height: min(75vh, 860px); min-height: 520px; background: #525252; }
.epaper-frame-wrap iframe { display: block; width: 100%; height: 100%; border: 0; }
.epaper-archive { margin-top: 40px; }
.epaper-archive h2 { margin-bottom: 18px; font-size: 25px; }
.epaper-archive-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.epaper-archive-card { display: flex; gap: 14px; background: #fff; border: 1px solid #e5e7eb; padding: 18px; border-radius: 6px; }
.epaper-file-icon { color: #c62828; font-size: 28px; }
.epaper-issue-date { color: #777; font-size: 13px; margin-bottom: 5px; }
.epaper-archive-card h3 { font-size: 16px; margin-bottom: 10px; line-height: 1.45; }
.epaper-archive-card a { color: var(--primary); font-size: 14px; font-weight: 700; }
.epaper-empty-state { max-width: 620px; margin: 20px auto; padding: 70px 25px; text-align: center; background: #fff; border: 1px dashed #cdd1d6; border-radius: 8px; }
.epaper-empty-state > i { color: var(--primary); font-size: 42px; margin-bottom: 16px; }
.epaper-empty-state h2 { font-size: 24px; margin-bottom: 8px; }
.epaper-empty-state p { color: #666; }
@media(max-width:768px) { .epaper-page { padding: 28px 0 40px; } .epaper-heading h1 { font-size: 30px; } .epaper-viewer-header { align-items: flex-start; flex-direction: column; padding: 20px; } .epaper-frame-wrap { min-height: 420px; height: 65vh; } .epaper-archive-grid { grid-template-columns: 1fr; } }
@media(max-width:480px) { .epaper-actions, .epaper-button { width: 100%; } .epaper-frame-wrap { min-height: 350px; } }

/*=========================================================
POPULAR NEWS
=========================================================*/

.popular-news {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.popular-item {
    display: flex;
    gap: 12px;
    padding-bottom: 14px;
    border-bottom: 1px solid #eee;
}

.popular-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.popular-item img {
    width: 90px;
    height: 70px;
    object-fit: cover;
    border-radius: 4px;
}

.popular-item h4 {
    font-size: 15px;
    line-height: 1.5;
    color: var(--text);
    transition: .3s;
}

.popular-item h4:hover {
    color: var(--primary);
}

.popular-item span {
    display: block;
    font-size: 12px;
    color: #888;
    margin-top: 6px;
}

/*=========================================================
PAGINATION
=========================================================*/

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 40px;
}

.pagination a {
    width: 42px;
    height: 42px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid var(--border);
    border-radius: 4px;
    color: var(--text);
    transition: .3s;
}

.pagination a:hover,
.pagination a.active {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

/*=========================================================
RESPONSIVE
=========================================================*/

@media(max-width:992px) {

    .category-grid {
        grid-template-columns: 1fr;
    }

    .category-card {
        flex-direction: column;
    }

    .category-image {
        width: 100%;
    }

    .category-image img {
        height: 260px;
    }

}

@media(max-width:768px) {

    .category-page {
        padding: 25px 0;
    }

    .category-content {
        padding: 18px;
    }

    .category-content h2 {
        font-size: 22px;
    }

    .category-meta {
        flex-direction: column;
        gap: 8px;
    }

    .popular-item {
        flex-direction: column;
    }

    .popular-item img {
        width: 100%;
        height: 180px;
    }

}

@media(max-width:576px) {

    .category-image img {
        height: 220px;
    }

    .category-content h2 {
        font-size: 20px;
    }

    .category-content p {
        font-size: 14px;
    }

    .pagination {
        flex-wrap: wrap;
    }

}

/*=========================================================
PART 4
FOOTER
=========================================================*/

.footer {
    background: #111;
    color: #ddd;
    margin-top: 40px;
}

.footer-top {
    padding: 50px 0;
}

/* Your HTML has:
<div class="footer-top">
    <div class="container">
        ...
    </div>
</div>
*/

.footer-top {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 35px;
}

/*=========================================================
FOOTER HEADINGS
=========================================================*/

.footer h3 {
    color: #fff;
    font-size: 20px;
    margin-bottom: 18px;
    position: relative;
    padding-bottom: 10px;
}

.footer h3::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 60px;
    height: 3px;
    background: var(--primary);
}

/*=========================================================
ABOUT
=========================================================*/

.footer-about p {
    color: #bbb;
    line-height: 1.8;
    margin-bottom: 18px;
}

.footer-social {
    display: flex;
    gap: 10px;
}

.footer-social a {
    width: 38px;
    height: 38px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #222;
    color: #fff;
    border-radius: 50%;
    transition: .3s;
}

.footer-social a:hover {
    background: var(--primary);
}

/*=========================================================
LINKS
=========================================================*/

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links li {
    border-bottom: 1px solid rgba(255, 255, 255, .08);
    padding-bottom: 8px;
}

.footer-links a {
    color: #bbb;
    transition: .3s;
}

.footer-links a:hover {
    color: #fff;
    padding-left: 6px;
}

/*=========================================================
CONTACT
=========================================================*/

.footer-contact p {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    color: #bbb;
    margin-bottom: 14px;
    line-height: 1.7;
}

.footer-contact i {
    color: var(--primary);
    margin-top: 4px;
}

/*=========================================================
NEWSLETTER
=========================================================*/

.footer-newsletter p {
    color: #bbb;
    line-height: 1.8;
    margin-bottom: 15px;
}

.footer-newsletter input {
    width: 100%;
    height: 46px;
    padding: 0 15px;
    border: none;
    outline: none;
    margin-bottom: 12px;
}

.footer-newsletter button {
    width: 100%;
    height: 46px;
    background: var(--primary);
    color: #fff;
    border: none;
    font-size: 15px;
    transition: .3s;
}

.footer-newsletter button:hover {
    background: var(--primary-dark);
}

/*=========================================================
FOOTER BOTTOM
=========================================================*/

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, .08);
    padding: 18px 0;
}

.footer-bottom .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-bottom p {
    color: #aaa;
    font-size: 14px;
}

.footer-bottom a {
    color: #bbb;
    transition: .3s;
}

.footer-bottom a:hover {
    color: #fff;
}

/*=========================================================
UTILITY CLASSES
=========================================================*/

.text-center {
    text-align: center;
}

.mt-20 {
    margin-top: 20px;
}

.mt-30 {
    margin-top: 30px;
}

.mb-20 {
    margin-bottom: 20px;
}

.mb-30 {
    margin-bottom: 30px;
}

.shadow {
    box-shadow: 0 6px 18px rgba(0, 0, 0, .08);
}

.rounded {
    border-radius: 5px;
}

.img-fluid {
    width: 100%;
    display: block;
}

/*=========================================================
FINAL RESPONSIVE
=========================================================*/

@media(max-width:1200px) {

    .container {
        width: 96%;
    }

}

@media(max-width:992px) {

    .footer-top {

        grid-template-columns: repeat(2, 1fr);

    }

}

@media(max-width:768px) {

    .footer-top {

        grid-template-columns: 1fr;

    }



    .footer-bottom .container {
        flex-direction: column;
        text-align: center;
    }

    .footer-social {
        justify-content: center;
    }

}

@media(max-width:576px) {

    .footer h3 {
        font-size: 18px;
    }

    .footer-bottom p {
        font-size: 13px;
    }

    .footer-newsletter input,
    .footer-newsletter button {
        height: 44px;
    }

}
