/* ==========================================================================
   Featured / Latest Release Section
   ========================================================================== */
.featured-section {
    padding: 150px 0;
}

.featured-card {
    background-color: #fdfcf9;
    border: 1px solid #ecdcc8;
    border-radius: 24px;
    padding: 25px;
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 30px;
    align-items: center;
    box-shadow: 0 6px 20px rgba(9, 31, 54, 0.03);
    max-width: 926px;
    margin: 0 auto;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.featured-card:hover {
    box-shadow: 0 12px 30px rgba(9, 31, 54, 0.07);
    border-color: #dfcbaf;
}

.featured-media {
    width: 100%;
    height: 310px;
    border-radius: 16px;
    overflow: hidden;
    background: #e9decd;
}

.featured-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.featured-card:hover .featured-img {
    transform: scale(1.04);
}

.featured-content {
    display: flex;
    flex-direction: column;
    padding-right: 10px;
}

.featured-meta-row {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 8px;
}

.featured-tag {
    color: #D07F10;
    font-family: var(--font-family-heading);
    font-weight: 600;
    font-size: 16px;
    line-height: 100%;
    letter-spacing: 20%;
    text-transform: uppercase;
}

.featured-date {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #042C53B2;
    font-family: var(--font-family-heading);
    font-weight: 500;
    font-size: 15px;
    line-height: 100%;
    letter-spacing: 1%;
}

.featured-title {
    color: #042C53;
    margin-bottom: 12px;
    font-family: var(--font-family-heading);
    font-weight: 600;
    font-size: 23px;
    line-height: 120%;
    letter-spacing: 1%;
}

.featured-excerpt {
    color: #042C53B2;
    margin-bottom: 35px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-family: var(--body-font);
    font-weight: 500;
    font-size: 18px;
    line-height: 140%;
    letter-spacing: 1%;
}

.featured-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.btn-read-issue {
    background-color: #D07F10;
    color: #ffffff;
    text-transform: uppercase;
    padding: 15px 24px;
    border-radius: 100px;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    width: calc(100% - 55px);
    font-family: var(--font-family-heading);
    font-weight: 600;
    font-size: 15px;
    line-height: 100%;
    letter-spacing: 1%;
    text-align: center;
}

.btn-read-issue:hover {
    background-color: #b17220;
    transform: translateY(-1px);
}

.btn-share {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    color: #4b5c70;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    border: 1px solid #042C5326;
    background: #F7F4EF;
}

.btn-share:hover {
    background-color: #ebdcc9;
    color: #081d33;
    transform: scale(1.08);
}

/* ==========================================================================
   Our Newsletters Section (4x4 Grid = 16 Cards)
   ========================================================================== */
.newsletters-section {
    padding: 0 0 150px;
}

.newsletters-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 20px;
}

.newsletters-title {
    color: #042C53;
    font-family: var(--font-family-heading);
    font-weight: 800;
    font-size: 50px;
    line-height: 130%;
    letter-spacing: 1%;
    text-transform: uppercase;
}

.newsletters-search-wrap {
    display: flex;
    align-items: center;
    border-radius: 13px;
    padding: 13px 18px;
    width: 250px;
    gap: 10px;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    background: #FFFFFF;
    border: 1px solid #042C531A;
}

.newsletters-search-wrap:focus-within {
    border-color: #D07F10;
    box-shadow: 0 0 0 3px rgba(197, 130, 43, 0.12);
}

.search-icon {
    color: #94a3b8;
    flex-shrink: 0;
}

.search-input {
    border: none;
    background: transparent;
    color: #042C53B2;
    width: 100%;
    font-family: var(--font-family-heading);
    font-weight: 400;
    font-size: 18px;
    line-height: 100%;
    letter-spacing: 1%;
}

.search-input::placeholder {
    color: #94a3b8;
}

/* 4x4 Grid */
.newsletters-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

/* Card: Frame with Inset Rounded Photo */
.article-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 18px;
    display: flex;
    flex-direction: column;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
}

.article-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(9, 31, 54, 0.09);
}

@keyframes fadeInCard {
    from {
        opacity: 0;
        transform: translateY(14px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.card-media {
    position: relative;
    width: 100%;
    height: 230px;
    border-radius: 12px;
    overflow: hidden;
    background-color: #eef2f6;
}

.card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.45s ease;
}

.article-card:hover .card-img {
    transform: scale(1.05);
}

.card-body {
    padding: 12px 6px 6px 6px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.card-title {
    color: #042C53;
    margin-bottom: 5px;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-family: var(--font-family-heading);
    font-weight: 500;
    font-size: 19px;
    line-height: 100%;
    letter-spacing: 1%;
}

.card-excerpt {
    color: #042C53B2;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-family: var(--font-family-heading);
    font-weight: 400;
    font-size: 16px;
    line-height: 100%;
    letter-spacing: 1%;
}

.card-footer {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #042C53B2;
    margin-top: auto;
    font-family: var(--font-family-heading);
    font-weight: 400;
    font-size: 16px;
    line-height: 100%;
    letter-spacing: 1%;
}

.date-icon {
    color: #8393a6;
    flex-shrink: 0;
}

/* Load More Button */
.load-more-wrap {
    display: flex;
    justify-content: center;
    text-align: center;
}

.btn-load-more {
    color: #042C53;
    padding: 14px 28px;
    border-radius: 100px;
    box-shadow: 0 2px 6px rgba(9, 31, 54, 0.03);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    border: 1px solid #042C5326;
    background: #FFFFFF;
    font-family: var(--font-family-heading);
    font-weight: 600;
    font-size: 15px;
    line-height: 100%;
    letter-spacing: 1%;
    text-align: center;
}

.btn-load-more:hover {
    background-color: #f8fafc;
    border-color: #D07F10;
    color: #D07F10;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(197, 130, 43, 0.15);
}

.no-results-msg {
    grid-column: 1 / -1;
    text-align: center;
    padding: 50px 20px;
    color: #7b8d9f;
    font-size: 15px;
    display: none;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1199px) {
    .featured-section {
        padding: 70px 0;
    }

    .newsletters-section {
        padding: 0 0 70px;
    }
}

@media (max-width: 991px) {



    .featured-card {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .featured-media {
        height: 240px;
    }

    .newsletters-grid {
        grid-template-columns: repeat(2, 1fr);
    }

}

@media (max-width: 767px) {

    /* Featured Card Responsive */
    .featured-section {
        padding: 20px 0 40px 0;
    }

    .featured-card {
        padding: 16px;
        border-radius: 24px;
        gap: 18px;
    }

    .featured-media {
        height: 210px;
        border-radius: 16px;
    }

    .featured-tag {
        font-size: 13px;
    }

    .featured-date {
        font-size: 13.5px;
    }

    .featured-title {
        font-size: 19px;
        line-height: 1.25;
    }

    .featured-excerpt {
        font-size: 14.5px;
        line-height: 1.5;
        margin-bottom: 20px;
    }

    .btn-read-issue {
        padding: 12px 20px;
        font-size: 13.5px;
        width: calc(100% - 52px);
    }

    .btn-share {
        width: 42px;
        height: 42px;
    }

    /* Newsletters Section Responsive */
    .newsletters-section {
        padding: 10px 0 50px;
    }

    .newsletters-header {
        flex-direction: column;
        align-items: stretch;
        gap: 14px;
        margin-bottom: 20px;
    }

    .newsletters-title {
        font-size: 24px;
        line-height: 1.2;
        letter-spacing: 0.5px;
    }

    .newsletters-search-wrap {
        width: 100%;
        padding: 11px 16px;
        border-radius: 12px;
    }

    .search-input {
        font-size: 15px;
    }

    .newsletters-grid {
        grid-template-columns: 1fr;
        gap: 16px;
        margin-bottom: 24px;
    }

    .article-card {
        border-radius: 20px;
        padding: 14px;
    }

    .card-media {
        height: 185px;
        border-radius: 12px;
    }

    .card-title {
        font-size: 17px;
    }

    .card-excerpt {
        font-size: 14px;
        line-height: 1.45;
    }

    .card-footer {
        font-size: 13.5px;
    }

}



/* Blog Details Css */

/* ==========================================================================
   BLOG DETAILS PAGE STYLES - BANSHIDHAR ENTERPRISE
   Built on global.css design tokens & utility classes
   ========================================================================== */

/* Page Background */
.blog-page-body {
    background-color: #FBF9F5;
    color: var(--primary-color);
    overflow-x: hidden;
    min-height: 100vh;
}

/* Base link color helper */
.blog-page-body a {
    text-decoration: none;
    color: inherit;
    transition: all 0.25s ease;
}

/* Button variants extending global.css */
.btn-orange {
    background-color: var(--secondary-color);
    border: 1px solid var(--secondary-color);
    color: #FFFFFF;
}

.btn-orange:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(208, 127, 16, 0.3);
}

/* ==========================================================================
   MAIN ARTICLE SECTION & SPLIT LAYOUT
   ========================================================================== */
.blog-detail-section {
    padding: 40px 0 70px 0;
}

.blog-detail-container {
    display: flex;
    align-items: flex-start;
    gap: 60px;
}

/* Sticky Left Sidebar */
.blog-sidebar {
    width: 220px;
    flex-shrink: 0;
    position: sticky;
    top: 125px;
    align-self: flex-start;
}

.topic-nav {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* Background vertical line (subtle track running the full height of topics) */
.topic-nav__track {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2.5px;
    background-color: rgba(4, 44, 83, 0.14);
    border-radius: 2px;
}

/* Progressive active vertical fill line (fills from top 0 down to active topic) */
.topic-nav__progress {
    position: absolute;
    left: 0;
    top: 0;
    width: 2.5px;
    height: 28px;
    /* Dynamic via JS, starts at topic 1 */
    background-color: var(--primary-color, #042C53);
    border-radius: 2px;
    transition: height 0.32s cubic-bezier(0.25, 1, 0.5, 1);
    z-index: 2;
}

.topic-nav__item {
    position: relative;
}

.topic-nav__link {
    display: block;
    font-family: var(--font-family-heading);
    color: rgba(4, 44, 83, 0.55);
    padding: 6px 0 6px 18px;
    transition: color 0.25s ease, font-weight 0.25s ease;
    border-left: none;
    /* No jumping isolated border */
    font-weight: 400;
    font-size: 16px;
    line-height: 100%;
    letter-spacing: 1%;
}

.topic-nav__link:hover {
    color: var(--primary-color);
}

/* Visited / passed topics (0 to current) */
.topic-nav__link.is-passed {
    color: var(--primary-color);
    font-weight: 500;
}

/* Currently active topic */
.topic-nav__link.active {
    color: var(--primary-color);
    font-weight: 600;
}

/* Main Article Content Column */
.blog-article {
    flex: 1;
    min-width: 0;
    max-width: 1374px;
}

/* Featured Hero Image */
.blog-article__hero-wrap {
    width: 100%;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(4, 44, 83, 0.08);
    margin-bottom: 30px;
}

.blog-article__hero-img {
    width: 100%;
    aspect-ratio: 2.1 / 1;
    object-fit: cover;
    display: block;
}

/* Article Heading & Meta */
.blog-article__header {
    margin-bottom: 30px;
}

.blog-article__title {
    font-family: var(--font-family-heading);
    font-weight: 600;
    font-size: 35px;
    line-height: 1;
    color: var(--primary-color);
    margin-bottom: 6px;
}

.blog-article__date {
    display: block;
    font-family: var(--body-font);
    font-size: 15px;
    font-weight: 400;
    line-height: 1.4;
    color: rgba(4, 44, 83, 0.55);
}

/* Article Body Typography */
.blog-article__body p {
    font-family: var(--body-font);
    font-size: 16px;
    line-height: 1.75;
    color: var(--body-text);
    margin-bottom: 20px;
}

/* Section Headings (1., 2., 3.) */
.blog-article__section-title {
    font-family: var(--font-family-heading);
    font-weight: 600;
    font-size: 23px;
    line-height: 1.35;
    color: var(--primary-color);
    margin-top: 30px;
    margin-bottom: 10px;
}

/* Subheadings */
.blog-article__subheading {
    font-family: var(--font-family-heading);
    font-weight: 00;
    font-size: 18px;
    line-height: 1.4;
    color: var(--primary-color);
    margin-top: 15px;
    margin-bottom: 8px;
}

/* Second Sand Texture Banner */
.blog-article__mid-image-wrap {
    width: 100%;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(4, 44, 83, 0.08);
    margin: 38px 0;
    background-color: #e9e5dc;
}

.blog-article__mid-img {
    width: 100%;
    aspect-ratio: 2.8 / 1;
    object-fit: cover;
    display: block;
}

/* Bullet Points List */
.blog-bullet-list {
    margin: 20px 0 30px 10px;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0px;
}

.blog-bullet-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-family: var(--body-font);
    font-size: 16px;
    line-height: 1.6;
    color: var(--body-text);
}

.blog-bullet-dot {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background-color: var(--body-text);
    flex-shrink: 0;
    margin-top: 10px;
}

/* ==========================================================================
   READ MORE BLOGS CAROUSEL
   ========================================================================== */
.more-blogs-section {
    padding: 60px 0 90px 0;
}

.more-blogs__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 30px;
}

/* Slider Arrow Buttons */
.more-blogs__controls {
    display: flex;
    align-items: center;
    gap: 12px;
}

.carousel-arrow {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: #FFFFFF;
    border: 1.5px solid rgba(4, 44, 83, 0.15);
    color: var(--primary-color);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 4px 12px rgba(4, 44, 83, 0.04);
}

.carousel-arrow svg {
    width: 18px;
    height: 18px;
    stroke-width: 2.4;
}

.carousel-arrow:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: #FFFFFF;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(4, 44, 83, 0.15);
}

/* Carousel Track & Container */
.more-blogs__track-container {
    overflow: hidden;
    position: relative;
    width: 100%;
}

.more-blogs__track {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    /* Firefox */
    padding: 8px 4px 24px;
}

.more-blogs__track::-webkit-scrollbar {
    display: none;
    /* Safari/Chrome */
}

/* Blog Card */
.blog-card {
    flex: 0 0 calc((100% - (22px * 4)) / 5);
    min-width: 220px;
    background: rgba(255, 255, 255, 1);
    border-radius: 20px;
    gap: 15px;
    padding: 18px;
    box-shadow: 0 6px 20px rgba(4, 44, 83, 0.05);
    border: 1px solid rgba(4, 44, 83, 0.04);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    scroll-snap-align: start;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 30px rgba(4, 44, 83, 0.12);
}

.blog-card__image-wrap {
    width: 100%;
    aspect-ratio: 16 / 10;
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 15px;
    background-color: #eee9df;
}

.blog-card__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.blog-card:hover .blog-card__image {
    transform: scale(1.06);
}

.blog-card__content {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.blog-card__title {
    font-family: var(--font-family-heading);
    font-weight: 500;
    font-size: 19px;
    line-height: 100%;
    color: var(--primary-color);
    margin-bottom: 5px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-card__desc {
    font-family: var(--body-font);
    font-size: 16px;
    line-height: 100%;
    font-weight: 400;
    color: var(--body-text);
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 130%;
}

.blog-card__footer {
    margin-top: auto;
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--body-font);
    font-size: 16px;
    font-weight: 400;
    line-height: 100%;
    letter-spacing: 1%;
    color: rgba(4, 44, 83, 0.55);
}

.blog-card__date-icon {
    width: 14px;
    height: 14px;
    color: rgba(4, 44, 83, 0.5);
}

/* Mobile-only Bottom Controls for Carousel */
.more-blogs__controls--mobile {
    display: none;
    justify-content: center;
    gap: 16px;
    margin-top: 14px;
}

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES
   ========================================================================== */

/* Tablet & Smaller Desktops */
@media (max-width: 1200px) {
    .blog-card {
        flex: 0 0 calc((100% - (22px * 2)) / 3);
    }
}

@media (max-width: 991px) {

    /* Single column layout for article */
    .blog-detail-container {
        flex-direction: column;
        gap: 0;
    }

    .blog-sidebar {
        display: none;
        /* Exactly matching mobile mockup */
    }

    .blog-article {
        max-width: 100%;
    }

    .blog-article__title {
        font-size: 28px;
    }

    .blog-card {
        flex: 0 0 calc((100% - 20px) / 2);
        min-width: 200px;
    }

    /* Move carousel arrows to bottom on mobile */
    .more-blogs__controls--desktop {
        display: none;
    }

    .more-blogs__controls--mobile {
        display: flex;
    }
}

@media (max-width: 767px) {
    .blog-detail-section {
        padding: 20px 0 50px 0;
    }

    .blog-article__hero-wrap {
        border-radius: 18px;
        margin-bottom: 22px;
    }

    .blog-article__hero-img {
        aspect-ratio: 16 / 10;
    }

    .blog-article__title {
        font-size: 24px;
        line-height: 1.3;
        margin-bottom: 8px;
    }

    .blog-article__date {
        font-size: 13.5px;
        margin-bottom: 18px;
    }

    .blog-article__body p {
        font-size: 15px;
        line-height: 1.65;
        margin-bottom: 16px;
    }

    .blog-article__section-title {
        font-size: 20px;
        margin-top: 26px;
        margin-bottom: 12px;
    }

    .blog-article__subheading {
        font-size: 16px;
        margin-top: 18px;
        margin-bottom: 8px;
    }

    .blog-article__mid-image-wrap {
        border-radius: 18px;
        margin: 28px 0;
    }

    .blog-article__mid-img {
        aspect-ratio: 16 / 9;
    }

    .blog-bullet-item {
        font-size: 14px;
        line-height: 1.55;
    }

    .more-blogs-section {
        padding: 40px 0 60px 0;
    }

    .more-blogs__title {
        font-size: 26px;
    }

    .blog-card {
        flex: 0 0 78%;
        min-width: 210px;
    }
}