/* =========================================
   TAG BUTTON STYLES (DESKTOP)
   ========================================= */
.border-tag {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    color: #777777;
    border: 1px solid #777777;
    border-radius: 30px;
    background-color: transparent;
    transition: all 0.3s ease;
    white-space: nowrap;
    /* Prevents text from wrapping inside tag */
}

.border-tag .tag {
    padding: 6px 16px;
    font-size: 11px;
    /* Roughly 0.7rem */
    letter-spacing: 0.5px;
    font-family: 'CoreSanaC65Bold', Arial, sans-serif;
}

/* Hover State */
.border-tag:hover {
    background-color: var(--primary-bg-color, #4d0688);
    border-color: var(--primary-bg-color, #4d0688);
    color: #FFFFFF;
}

/* =========================================
   MOBILE TAG SLIDER (SCROLL LOGIC)
   ========================================= */
@media (max-width: 998px) {
    .tag-scroll {
        display: flex;
        flex-wrap: nowrap;
        /* Keeps tags in one long line */
        justify-content: flex-start;
        /* Align to left so user can see it scrolls */
        overflow-x: auto;
        /* Uses device default scroll behavior */
        overflow-y: hidden;
        width: 100%;
        padding: 4px 15px 12px 15px;
        /* Added bottom padding for better touch feel */
        gap: 8px;
        -webkit-overflow-scrolling: touch;
        /* Smooth momentum scroll for iOS */
        scrollbar-width: none;
        /* Hide scrollbar for Firefox */
    }

    /* Hide scrollbar for Chrome/Safari */
    .tag-scroll::-webkit-scrollbar {
        display: none;
    }

    /* Prevents the tags from shrinking to fit the screen */
    .border-tag {
        flex: 0 0 auto;
    }
}

/* Tablet and Desktop Centering */
@media (min-width: 999px) {
    .tag-scroll {
        justify-content: center;
        gap: 12px;
    }
}

/* tabs end css */

/* profile css start */

/* ===== NEWS SECTION GLOBAL ===== */
.news-section {
    padding: 40px 0;
}

.news-container {
    display: grid;
    grid-template-columns: 1fr 2.2fr 1fr;
    gap: 30px;
}

/* ===== DIVIDERS & COLUMNS ===== */
.profiles-column,
.cover-column {
    position: relative;
    padding-right: 15px;
}

/* Text container */
.profile-text {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    /* align from top */
}

/* Monthly tag */
.magazine-issue-m-y {
    font-size: 0.7rem;
    text-transform: uppercase;
    font-weight: 700;
    margin: 0 0 4px 0;
    /* remove top space */
    padding: 0;
    line-height: 1;
}

.magazine-issue-m-y a {
    text-decoration: none;
    color: var(--primary-bg-color, #4a007f) !important;
}

/* Heading spacing reset */
.profile-text h6 {
    margin: 0;
    line-height: 1.3;
}


/* Vertical line - hidden on mobile */
@media (min-width: 1025px) {

    .profiles-column::after,
    .cover-column::after {
        content: "";
        position: absolute;
        top: 20px;
        right: -15px;
        /* Centers line in the gap */
        width: 1px;
        height: 97%;
        background: #e0e0e0;
    }
}

/* Section Headings */
.news-container h3 {
    text-transform: uppercase;
    margin: 0 0 20px;
    padding-bottom: 8px;
    position: relative;
    border-bottom: 2px solid #e0e0e0;
    letter-spacing: 0.5px;
}

.news-container h3::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 60px;
    /* Shorter, punchier accent line */
    height: 3px;
    background: var(--primary-bg-color, #4a007f);
}

/* ===== PROFILES COLUMN ===== */
.profile-item {
    display: flex;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid #f0f0f0;
    align-items: flex-start;
    /* 🔥 KEY FIX */
}

.profile-item:last-child {
    border-bottom: none;
}

.profile-item > a > img {
    max-width: 130px;
    height: 170px;
    object-fit: cover;
    flex-shrink: 0;
}

.profile-item a {
    color: #222;
    text-decoration: none;
    line-height: 1.3;
    transition: color 0.2s;
}

.profile-item a:hover {
    color: var(--primary-bg-color, #4a007f);
}

/* ===== COVER STORY ===== */
.cover-column .cover-image img {
    width: 100%;
    height: 400px;
    display: block;
}

.cover-title {
    display: block;
    margin: 15px 0 8px;
    font-weight: 800;
    color: #111;
    text-decoration: none;
    line-height: 1.2;
}

.cover-title:hover {
    color: var(--primary-bg-color, #4a007f);
}

.cover-author a {
    text-decoration: none;
}

/* ===== LATEST PUBLICATION ===== */
.publication-column {}

.publication-img {
    width: 100%;
    max-width: 75%;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.publication-img:hover {
    transform: translateY(-5px);
}

.publication-title {
    display: block;
    margin-top: 15px;
    color: #111;
    text-decoration: none;
    line-height: 1.4;
}

.publication-frequency {
    display: block;
    margin-top: 10px;
    /* space below image */
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}

.publication-frequency a {
    color: var(--primary-bg-color, #4a007f);
    text-decoration: none;
}

.publication-frequency a:hover {
    text-decoration: underline;
}

.mag-home {
    display: flex;
    flex-direction: column;

    text-align: center;
    /* centers text */
}

/* tab (Large screens) */
@media only screen and (min-width: 1025px) and (max-width: 1200px) and (orientation: landscape) {

    /* ===== COVER STORY ===== */
    .cover-column .cover-image img {
        height: 395px;
    }

    .cover-title {
        color: red;
    }

    .publication-img {
        max-width: 80%;
    }
}

@media (min-width: 1024px) {}


/* Tablets (Medium screens) */
@media (min-width: 768px) and (max-width: 991px) {
    .mag-home {
        display: flex;
        flex-direction: column;
 
        text-align: left;
        /* centers text */
    }

    .cover-title {
        color: green;
    }

    /* Stack main columns */
    .news-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    /* PROFILES → 2-column grid */
    .profiles-column {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    /* Heading full width */
    .profiles-column h3 {
        grid-column: 1 / -1;
    }

    /* Remove list borders */
    .profile-item {
        border-bottom: none;
        padding: 0;
    }

    /* Remove vertical dividers */
    .profiles-column::after,
    .cover-column::after {
        display: none;
    }

    .publication-img {
        max-width: 50%;
    }

    /* ===== COVER STORY ===== */
    .cover-column .cover-image img {
        height: 395px;
    }

    .publication-img {
        max-width: 30%;
        height: auto;
    }
}



/* Mobile (Small screens) */
@media (max-width: 767px) {
        .mag-home {
        display: flex;
        flex-direction: column;
 
        text-align: left;
        /* centers text */
    }

    /* Stack main columns */
    .news-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    /* PROFILES → 2-column grid */
    .profiles-column {
        display: grid;
        grid-template-columns: repeat(1, 1fr);
        gap: 20px;
    }

    /* Heading full width */
    .profiles-column h3 {
        grid-column: 1 / -1;
    }

    /* Remove list borders */
    .profile-item {
        border-bottom: none;
        padding: 0;
    }

    /* Remove vertical dividers */
    .profiles-column::after,
    .cover-column::after {
        display: none;
    }

}



/* ===== MOBILE VIEW ===== */
@media (max-width: 767px) {
    .news-container {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .profiles-column,
    .cover-column {
        padding-right: 0;
        border-bottom: 1px solid #eee;
        padding-bottom: 20px;
    }

    .profiles-column::after,
    .cover-column::after {
        display: none;
    }


    .cover-column .cover-image img {
        height: 330px;
    }

    .publication-img {
        max-width: 45%;
        height: 60%;
        object-fit: cover;
        flex-shrink: 0;
    }
}

/* wealth css start */

.featured-grid {
    padding: 40px 0;
}

.featured-container {
    margin: auto;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 25px;
}

/* Remove default anchor styling for title links */
.featured-title-link,
.mini-title-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.featured-title-link:hover h2,
.featured-title-link:hover h3,
.mini-title-link:hover h4 {
    text-decoration: underline;
}


/* Card Base */
.featured-card {
    position: relative;
    display: block;
    overflow: hidden;
    text-decoration: none;
    color: #fff;
}

.featured-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Overlay */
.card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;

    padding: 20px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
}

.tag-category {
    background: var(--primary-bg-color);
    padding: 4px 8px;
    font-size: 11px;
    display: inline-block;
    margin-bottom: 8px;
}

.tag-category,
.mini-tag {
    text-decoration: none;
    color: #fff;
    display: inline-block;
}

.tag-category:hover,
.mini-tag:hover {
    text-decoration: none;
    color: #fff;
}


.card-overlay h2 {
    line-height: 1.3;
    margin: 0;
}

.card-overlay h3 {
    line-height: 1.3;
    margin: 0;
}

.card-overlay p {
    font-size: 12px;
    margin-top: 6px;
    opacity: 0.8;
}

/* Card Sizes */
.large-card {
    height: 380px;
}

.medium-card {
    height: 380px;
}

/* Bottom Grid Layout */
.mini-grid {

    margin: 25px auto 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

/* Each Card Wrapper */
.mini-card-wrap {
    display: flex;
    flex-direction: column;
}

/* Image Card */
.mini-card {
    position: relative;
    display: block;
    width: 100%;
    height: 170px;
    overflow: hidden;
    text-decoration: none;
}

.mini-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Overlay Tag */
.mini-overlay {
    position: absolute;
    bottom: 8px;
    left: 8px;
}

.mini-tag {
    background: var(--primary-bg-color);
    color: #fff;
    font-size: 11px;
    padding: 4px 8px;
}

/* Title */
.mini-title {
    margin-top: 10px;
}

@media (max-width: 425px) {
    .featured-container {
        grid-template-columns: 1fr;
    }
}


/* Responsive */
@media (max-width: 900px) {
    .mini-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 600px) {
    .mini-grid {
        grid-template-columns: 1fr;
    }
}


.small-card {
    height: 170px;
}

/* Hover effect */
.featured-card:hover img {
    transform: scale(1.03);
    transition: 0.4s ease;
}



.trending-strip {

    font-family: Arial, sans-serif;
}

/* Row layout */
.trending-row {
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Each item */
.trend-item {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: #111;
    flex: 1;
}

/* Image */
.trend-item img {
    max-width: 35%;
    height: 100%;
    object-fit: cover;
}

.trend-text {
    display: flex;
    flex-direction: column;
}

/* Title */
.trend-text h4 {
    margin: 0;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.3;
}

/* Author under title */
.trend-author {}

/* Title link reset */
.trend-title-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.trend-title-link:hover h4 {
    text-decoration: underline;
}

/* Make sub-category anchor look same as before */
.trend-tag {
    margin-top: 10px;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    color: #999;
    text-decoration: none;
}

.trend-tag:hover {
    text-decoration: none;
    color: #999;
}

.trend-tag i {
    font-size: 10px;
}

/* Vertical divider */
.trend-divider {
    width: 1px;
    height: 60px;
    background: #333;
    margin: 0 18px;
}

/* =====================
        TABLET VIEW (701px – 992px)
        ===================== */
@media (max-width: 992px) and (min-width: 701px) {

    .trending-row {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }

    /* Remove vertical dividers */
    .trend-divider {
        display: none;
    }

    .trend-item {
        flex: unset;
    }

    .trend-item img {
        width: 85px;
        height: 85px;
    }
}


/* Responsive */
@media (max-width: 700px) {
    .trending-row {
        flex-direction: column;
        align-items: stretch;
    }

    .trend-divider {
        display: none;
    }

    .trend-item {
        margin-bottom: 15px;
    }
}

/* wealth section css ends*/


/* capital css start */

/* Section wrapper */
.triple-row-section {
    margin-top: 4rem;
}

/* 3 cards in one row */
.triple-row-grid {
    margin: auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

/* Card wrap */
.triple-card-wrap {
    text-align: left;
}

/* Image card */
.triple-card {
    position: relative;
    display: block;
    width: 100%;
    height: 170px;
    overflow: hidden;
    text-decoration: none;
}

.triple-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Overlay tag */
.triple-overlay {
    position: absolute;
    bottom: 10px;
    left: 10px;
}

/* Title link reset */
.triple-title-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.triple-title-link:hover h4 {
    text-decoration: underline;
}

/* Sub-category anchor styling (same as before span) */
.triple-tag {
    background: var(--primary-bg-color);
    color: #fff;
    font-size: 11px;
    padding: 4px 8px;

    text-decoration: none;
    display: inline-block;
}

.triple-tag:hover {
    text-decoration: none;
    color: #fff;
}


/* Title */
.triple-title {
    margin-top: 10px;
    color: #000;
    line-height: 1.4;
}


/* Add bottom border to first 3 cards only */
.triple-card-wrap:nth-child(-n+3) {
    border-bottom: 1px solid #333;
    /* light line on dark bg */
}

/* Responsive */
@media (max-width: 900px) {
    .triple-row-grid {
        grid-template-columns: 1fr 1fr;
    }

    /* Add bottom border to first 3 cards only */
    .triple-card-wrap:nth-child(-n+4) {
        border-bottom: 1px solid #333;
        /* light line on dark bg */
    }
}

@media (max-width: 600px) {
    .triple-row-grid {
        grid-template-columns: 1fr;
    }

    .triple-card-wrap:nth-child(-n+5) {
        border-bottom: 1px solid #333;
        /* light line on dark bg */
    }
}

/* capital css ends */

/* venture css start */
.venture-list-section {
    padding: 40px 0;
    font-family: Arial, sans-serif;
}

.venture-list-container {
    margin: auto;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 35px;
}

/* LEFT SIDE */
.venture-item {
    display: flex;
    gap: 18px;
}

.venture-img {
    flex-shrink: 0;
}

/* Desktop / Tablet */
.venture-img img {
    width: 140px;
    height: 100%;
    object-fit: cover;
    display: block;
}


/* TEXT AREA */
.venture-title-link {
    text-decoration: none;
    color: #111;
}

.v-line {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    /* show only 2 lines */
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.venture-desc {
    color: #555;
    margin: 6px 0;
}

.venture-author {
    display: block;
    color: var(--primary-bg-color);
    text-decoration: none;
    margin-top: 4px;
}

.venture-author:hover {
    text-decoration: underline;
}

.venture-category {
    margin-top: 8px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 10px;
    color: #999;
    text-decoration: none;
}

.venture-category i {
    font-size: 10px;
}

.venture-category:hover {
    text-decoration: none;
    color: #999;
}

/* Divider */
.venture-divider {
    border-bottom: 1px solid #eee;
    margin: 18px 0;
}

/* RIGHT SIDE ADS */
.venture-right {
    position: relative;
}

.venture-sticky-ad {
    position: sticky;
    top: 90px;
    background: #000;
    color: #fff;
    height: 260px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 600;
}

/* Responsive */
@media (max-width: 900px) {
    .venture-list-container {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .venture-right {
        margin-top: 30px;
    }

    .venture-sticky-ad {
        position: static;
    }
}

@media (max-width:789px) {
    .v-line {
        display: -webkit-box;
        -webkit-line-clamp: 3;
        /* show only 2 lines */
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

}

@media (max-width:567px) {
    .venture-item {
        flex-direction: column;
    }

    .venture-img {
        width: 100%;
    }

    .venture-img img {
        width: 100%;
        height: auto;
    }
}

/*  venture css ends */


/* ===== EQUITY SECTION ===== */
.equity-section {
    padding: 40px 0;
    font-family: Arial, sans-serif;
}


.equity-container {
    margin: auto;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 35px;
}

/* LEFT FEATURED */
.equity-featured-card {
    position: relative;
}

.equity-featured-card img {
    width: 100%;
    height: 430px;
    display: block;
}

.equity-overlay-tag {
    position: absolute;
    bottom: 12px;
    left: 12px;
    background: var(--primary-bg-color);
    color: #fff;
    font-size: 11px;
    padding: 4px 8px;
    text-decoration: none;
}

.equity-featured-title {
    text-decoration: none;
    color: #111;
    display: block;
    margin-top: 10px;
}

.equity-featured-title h4 {
    margin: 0;
}

.equity-featured-title:hover h4 {
    text-decoration: underline;
}

.equity-featured-author {
    display: block;
    margin-top: 6px;
    color: var(--primary-bg-color);
    text-decoration: none;
}

/* RIGHT LIST */
.equity-right {
    padding-left: 25px;
    border-left: 1px solid #e0e0e0;
}

.equity-list-item {
    display: flex;
    gap: 14px;
}

.equity-img-link img {
    width: 100px;
    height: 100%;
    object-fit: cover;
    display: block;
}

.equity-title-link {
    text-decoration: none;
    color: #111;
}

.equity-title-link h6 {
    margin: 0;
}

.equity-title-link:hover h6 {
    text-decoration: underline;
}

.equity-author {
    display: block;
    margin-top: 4px;
    font-size: 12px;
    color: var(--primary-bg-color);
    text-decoration: none;
}

.equity-category {
    margin-top: 6px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 10px;
    color: #999;
    text-decoration: none;
}

.equity-category i {
    font-size: 10px;
}

.equity-divider {
    border-bottom: 1px solid #eee;
    margin: 16px 0;
}

/* =========================
   TABLET VIEW (<= 1024px)
   Show 3 items in a row
   ========================= */
@media (max-width: 1024px) {

    .equity-container {
        grid-template-columns: 1fr;
        /* Stack featured + list */
    }

    .equity-right {
        border-left: none;
        padding-left: 0;
        margin-top: 25px;

        display: grid;
        grid-template-columns: repeat(3, 1fr);
        /* 🔥 3 in a row */
        gap: 20px;
    }

    /* Remove dividers in grid layout */
    .equity-divider {
        display: none;
    }

    .equity-list-item {
        flex-direction: column;
        /* Image on top, text below */
        align-items: flex-start;
        gap: 10px;
    }

    .equity-img-link img {
        width: 100%;
        height: 200px;
        object-fit: cover;
    }
}


/* =========================
   MOBILE VIEW (<= 600px)
   ========================= */
@media (max-width: 600px) {

    .equity-right {
        grid-template-columns: 1fr;
        /* 1 per row */
    }

    .equity-list-item {
        flex-direction: row;
        /* Back to image left + text right */
        gap: 12px;
    }

    .equity-featured-card img {
        height: 330px;
    }

    .equity-img-link img {
        width: 130px;
        height: 100px;
    }
}



/* opinion css start */
      .equity--reverse .equity-container {
            grid-template-columns: 1fr 2fr;
        }

        /* Swap visual order */
        .equity--reverse .equity-left {
            order: 2;
        }

        .equity--reverse .equity-right {
            order: 1;
            padding-left: 0;
            padding-right: 25px;
            border-left: none;
            border-right: 1px solid #e0e0e0;
        }

        @media (max-width: 1024px) {

            /* Stack layout */
            .equity--reverse .equity-container {
                grid-template-columns: 1fr;
            }

            /* Reset order */
            .equity--reverse .equity-left,
            .equity--reverse .equity-right {
                order: unset;
            }

            /* Remove desktop dividers */
            .equity--reverse .equity-right {
                padding-right: 0;
                border-right: none;
            }
        }

        @media (max-width: 600px) {

            .equity--reverse .equity-right {
                padding: 0;
                border: none;
            }
        }
.opinion-grid-section {
    padding: 30px 0;
    font-family: Arial, sans-serif;
}

/* Each row behaves like trending strip */
.opinion-grid-row {
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 18px;
    margin-bottom: 18px;
    border-bottom: 1px solid #eee;
}

/* Remove border on last row */
.opinion-grid-row:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

/* Card layout */
.opinion-grid-card {
    display: flex;
    gap: 14px;
    flex: 1;
}

/* Vertical divider same as trending-strip */
.opinion-divider {
    width: 1px;
    height: 70px;
    background: #333;
    margin: 0 18px;
}

/* Image */
.opinion-grid-img img {
    width: 95px;
    height: 95px;
    object-fit: cover;
    display: block;
}

/* Title */
.opinion-grid-title {
    text-decoration: none;
    color: #111;
    display: block;
}

.opinion-grid-title h5 {
    margin: 0;

}

.opinion-grid-title:hover h5 {
    text-decoration: underline;
}

/* Author */
.opinion-grid-author {
    display: block;
    margin-top: 4px;
    color: var(--primary-bg-color);
}

/* Sub-category */
.opinion-grid-tag {
    margin-top: 8px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 10px;
    color: #999;
    text-decoration: none;
}

.opinion-grid-tag i {
    font-size: 10px;
}

/* =========================
   OPINION — TABLET VIEW
   ========================= */
@media (max-width: 1024px) {

    /* Turn wrapper into grid */
    .opinion-grid-wrapper {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }

    /* Remove row styling */
    .opinion-grid-row {
        display: contents;
        /* 🔥 This makes children flow into grid */
        border: none;
        margin: 0;
        padding: 0;
    }

    /* Remove vertical dividers */
    .opinion-divider {
        display: none;
    }

    /* Card layout becomes vertical */
    .opinion-grid-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    /* Image full width */
    .opinion-grid-img img {
        width: 100%;
        height: 200px;
        object-fit: cover;
    }
}

/* =========================
   OPINION — MOBILE VIEW
   ========================= */
@media (max-width: 600px) {

    .opinion-grid-wrapper {
        grid-template-columns: 1fr;
        /* 1 card per row */
    }

    /* Back to horizontal card layout */
    .opinion-grid-card {
        flex-direction: row;
        gap: 14px;
        align-items: flex-start;
    }

    .opinion-grid-img img {
        width: 80px;
        height: 80px;
    }
}


/* opinion css ends */
/* magazine css start */

/* ===== LAYOUT ===== */
.hero-split-grid {
    display: grid;
    grid-template-columns: 2fr 1.2fr;
    gap: 24px;
}

/* ===== LEFT MAIN ===== */
.hero-main-image img {
    width: 100%;
    height: 360px;
    object-fit: cover;
    display: block;
}

.hero-main-heading {
    text-decoration: none;
}

.hero-main-heading h3 {
    margin-top: 10px;
    text-decoration: none;
    color: #111;
}

/* ===== RIGHT GRID ===== */
.hero-side-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
}

/* Card */
.hero-side-item {
    position: relative;
    padding: 12px;
}

.hero-side-inner {
    text-decoration: none;
}

/* Image */
.hero-side-inner img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    display: block;
}

/* Title */
.hero-side-inner h6 {
    margin-top: 8px;
    color: #111;
}

/* ===== DIVIDERS ONLY ===== */

/* Vertical divider */
.hero-side-item:nth-child(odd)::after {
    content: "";
    position: absolute;
    top: 10px;
    right: 0;
    width: 1px;
    height: calc(100% - 20px);
    background: #ddd;
}

/* Horizontal divider */
.hero-side-item:nth-child(-n+2)::before {
    content: "";
    position: absolute;
    left: 10px;
    bottom: 0;
    width: calc(100% - 20px);
    height: 1px;
    background: #ddd;
}

/* tab (Large screens) */
@media only screen and (min-width: 1025px) and (max-width: 1200px) and (orientation: landscape) {
    .hero-split-grid {
        grid-template-columns: 1fr 1.2fr;
    }

    .hero-side-cards {
        grid-template-columns: repeat(2, 2fr);
    }

}

@media (min-width: 1024px) {}


/* Tablets (Medium screens) */
@media (min-width: 768px) and (max-width: 991px) {
    .hero-split-grid {
        grid-template-columns: 1fr 1.2fr;
    }

    .hero-side-cards {
        grid-template-columns: repeat(1, 2fr);
    }

    .hero-side-item:nth-child(-n+2)::before,
    .hero-side-item:nth-child(odd)::after {
        background: none;
    }

}

@media (min-width: 768px) and (max-width: 1199px) {
    /* .hero-split-grid {
        grid-template-columns: 1fr 1.2fr;
    }

    .hero-side-cards {
        grid-template-columns: repeat(1, 1fr);
    } */
}

@media (max-width: 768px) {
    .hero-split-grid {
        grid-template-columns: 1fr;
    }

    .hero-side-cards {
        grid-template-columns: 1fr;
    }

    .hero-side-item {
        border-right: none !important;
        border-bottom: 1px solid #ddd;
    }

    .hero-side-item:last-child {
        border-bottom: none;
    }
}

/* magazine css ends */