/* =============================================
   Scholarship Articles — Shared Styles v2
   Place at: /wp-content/themes/YOUR-THEME/assets/css/scholarship.css
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700&family=Inter:wght@400;500;600&display=swap');

/* ---- Hide theme native post title + date/author meta ---- */
.entry-header .entry-title,
.entry-header .entry-meta,
h1.entry-title,
.single-layout-1 .entry-header {
    display: none !important;
}
.entry-header {
    margin: 0 !important;
    padding: 0 !important;
    min-height: 0 !important;
}

/* ---- Page background ---- */
body {
    background-color: #f5f3ee !important;
}

/* ---- Wrapper ---- */
.article-wrap {
    max-width: 780px;
    margin: 0 auto;
    padding: 1rem 1rem 2rem;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* ---- Hero card ---- */
.article-hero {
    background: #1a1a2e;
    border-radius: 16px;
    padding: 2.5rem 2rem 2rem;
    margin-bottom: 1.5rem;
    position: relative;
    overflow: hidden;
}
.article-hero::before {
    content: '';
    position: absolute;
    top: -60px;
    right: -60px;
    width: 220px;
    height: 220px;
    background: #2d2d5e;
    border-radius: 50%;
}
.article-hero::after {
    content: '';
    position: absolute;
    bottom: -40px;
    left: 30%;
    width: 140px;
    height: 140px;
    background: #252550;
    border-radius: 50%;
}
.article-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #f0c040;
    color: #1a1200;
    font-size: 11px;
    font-weight: 700;
    padding: 5px 13px;
    border-radius: 20px;
    margin-bottom: 14px;
    position: relative;
    z-index: 1;
    letter-spacing: .05em;
    text-transform: uppercase;
}
.article-badge::before {
    content: '★';
    font-size: 10px;
}
.article-hero h1,
.article-hero-title {
    font-family: 'Playfair Display', Georgia, serif !important;
    font-size: 28px !important;
    color: #fff !important;
    line-height: 1.3 !important;
    position: relative;
    z-index: 1;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    background: none !important;
}
/* article-meta hidden — dates go stale and hurt reader trust */
.article-meta {
    display: none !important;
}

/* ---- Highlight / key fact box ---- */
.highlight-box {
    background: #fff7e6;
    border: 2px solid #f0c040;
    border-radius: 12px;
    padding: 1.25rem 1.5rem;
    margin: 1.5rem 0;
    display: flex;
    gap: 14px;
    align-items: flex-start;
}
.highlight-box::before {
    content: '💡';
    font-size: 22px;
    flex-shrink: 0;
    margin-top: 2px;
}
.highlight-box .hb-label {
    font-size: 11px;
    font-weight: 700;
    color: #92600a;
    text-transform: uppercase;
    letter-spacing: .07em;
    margin-bottom: 6px;
    border-left: none;
}
.highlight-box p {
    font-size: 15px;
    color: #1a1a1a;
    line-height: 1.65;
    margin: 0 !important;
}

/* ---- Table of contents ---- */
.toc-card {
    background: #fff;
    border: 1.5px solid #e8e4dc;
    border-radius: 12px;
    padding: 1.25rem 1.5rem;
    margin: 1.5rem 0;
}
.toc-card h3 {
    font-size: 12px;
    font-weight: 700;
    color: #888;
    text-transform: uppercase;
    letter-spacing: .07em;
    margin: 0 0 12px !important;
}
.toc-list {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px 16px;
}
.toc-list li {
    font-size: 14px;
    padding: 0 !important;
    border: none !important;
    margin: 0 !important;
}
.toc-list li::before {
    display: none !important;
}
.toc-list a {
    color: #1a1a2e;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 4px 0;
}
.toc-list a::before {
    content: '';
    width: 7px;
    height: 7px;
    background: #f0c040;
    border-radius: 50%;
    flex-shrink: 0;
    display: inline-block;
}
.toc-list a:hover {
    color: #c49a10;
}

/* ---- Ad slots ---- */
/* Ad slot — placeholder and filled state */
.schol-ad,
.ad-slot {
    background: transparent;
    border: none;
    padding: 0;
    margin: 1.5rem auto;
    min-height: 0;
    display: block;
    text-align: center;
    overflow: hidden;
    clear: both;
}
.schol-ad__inner {
    max-width: 728px;
    margin: 0 auto;
}
.schol-ad--top {
    max-width: 980px;
    padding: 0 1rem;
    margin-top: .75rem;
    margin-bottom: .75rem;
}
.schol-ad--in_article,
.schol-ad--auto,
.schol-ad--display,
.schol-ad--large {
    width: 100%;
}
.schol-ad__label,
.schol-ad .ad-slot-label {
    font-size: 9px;
    line-height: 1;
    font-weight: 500;
    color: #b8b1a8;
    text-align: center;
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: .08em;
}
.ad-slot--filled {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    margin: 1.25rem 0 !important;
    min-height: 0 !important;
    height: auto !important;
    display: block !important;
    text-align: center !important;
}
.schol-ad ins.adsbygoogle,
.ad-slot ins.adsbygoogle,
.ad-slot--filled ins.adsbygoogle {
    display: block !important;
    width: 100% !important;
    min-height: 90px !important;
}
/* Collapse the ins element when Google reports it unfilled */
ins.adsbygoogle[data-ad-status="unfilled"] {
    display: none !important;
}
.ad-slot-label {
    font-size: 10px;
    color: #bbb;
    text-align: center;
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: .05em;
}

/* ---- Article sections ---- */
.article-section {
    margin: 2.25rem 0;
}
.article-section h2 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 22px;
    color: #1a1a2e !important;
    margin: 0 0 6px !important;
    border-bottom: none !important;
    padding-bottom: 0 !important;
}
.article-section h2::after {
    content: '';
    display: block;
    width: 44px;
    height: 3px;
    background: #f0c040;
    border-radius: 2px;
    margin-top: 8px;
    margin-bottom: 14px;
}
.article-section h3 {
    font-size: 16px;
    font-weight: 600;
    color: #1a1a2e !important;
    margin: 1.25rem 0 8px !important;
}
.article-section p {
    font-size: 15px;
    color: #3a3a4a;
    line-height: 1.85;
    margin-bottom: 12px;
}
.article-footnote {
    font-size: 13px !important;
    color: #999 !important;
}

/* ---- Stat grid ---- */
.stat-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin: 1.25rem 0;
}
.stat-card {
    background: #1a1a2e;
    border-radius: 12px;
    padding: 1.25rem 1rem;
    text-align: center;
}
.stat-card .stat-num {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 30px;
    color: #f0c040;
    display: block;
}
.stat-card .stat-lbl {
    font-size: 12px;
    color: rgba(255,255,255,.65);
    margin-top: 5px;
    line-height: 1.4;
    display: block;
}

/* ---- Chip grid ---- */
.chip-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
    gap: 8px;
    margin: 1rem 0;
}
.chip {
    background: #fff;
    border: 1.5px solid #e8e4dc;
    border-radius: 10px;
    padding: 9px 10px;
    font-size: 13px;
    color: #1a1a2e;
    text-align: center;
    font-weight: 600;
    transition: border-color .15s;
}
.chip:hover {
    border-color: #f0c040;
}

/* ---- Data table ---- */
.data-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    margin: 1rem 0;
    border-radius: 12px;
    overflow: hidden;
    border: 1.5px solid #e8e4dc;
}
.data-table th {
    background: #1a1a2e;
    padding: 11px 14px;
    text-align: left;
    font-size: 12px;
    color: rgba(255,255,255,.75);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .05em;
}
.data-table td {
    padding: 10px 14px;
    border-bottom: 1px solid #f0ece4;
    color: #3a3a4a;
    background: #fff;
}
.data-table tr.table-total td {
    font-weight: 700;
    background: #fff7e6;
    color: #92600a;
    border-bottom: none;
}

/* ---- Tier / income ladder ---- */
.tier-ladder {
    margin: 1rem 0;
}
.tier-row {
    background: #fff;
    border: 1.5px solid #e8e4dc;
    border-radius: 12px;
    padding: 14px 16px;
    margin-bottom: 10px;
    display: flex;
    gap: 14px;
    align-items: flex-start;
    transition: border-color .2s;
}
.tier-row:hover {
    border-color: #f0c040;
}
.tier-badge {
    font-size: 12px;
    font-weight: 700;
    padding: 5px 13px;
    border-radius: 20px;
    white-space: nowrap;
    flex-shrink: 0;
}
.badge-green  { background: #d1fae5; color: #065f46; }
.badge-blue   { background: #dbeafe; color: #1e40af; }
.badge-amber  { background: #fef3c7; color: #92400e; }
.badge-red    { background: #fee2e2; color: #991b1b; }
.tier-row p {
    font-size: 14px;
    color: #3a3a4a;
    line-height: 1.7;
    margin: 0 !important;
}

/* ---- CTA box ---- */
.cta-box {
    background: #1a1a2e;
    border-radius: 14px;
    padding: 2rem;
    margin: 1.75rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.cta-box::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 180px;
    height: 180px;
    background: #252550;
    border-radius: 50%;
}
.cta-box h3 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 20px;
    color: #fff !important;
    margin: 0 0 8px !important;
    position: relative;
    z-index: 1;
}
.cta-box p {
    font-size: 14px;
    color: rgba(255,255,255,.7) !important;
    margin: 0 0 18px !important;
    position: relative;
    z-index: 1;
}
.cta-btn {
    display: inline-block;
    background: #f0c040;
    color: #1a1200 !important;
    font-size: 14px;
    font-weight: 700;
    padding: 12px 30px;
    border-radius: 8px;
    text-decoration: none !important;
    position: relative;
    z-index: 1;
    transition: background .15s;
}
.cta-btn:hover {
    background: #e0b030;
}

/* ---- Checklist ---- */
.checklist {
    list-style: none !important;
    margin: 1rem 0 !important;
    padding: 0 !important;
}
.checklist li {
    font-size: 15px;
    color: #3a3a4a;
    line-height: 1.65;
    padding: 9px 0 9px 34px !important;
    position: relative;
    border-bottom: 1px solid #f0ece4 !important;
    margin: 0 !important;
}
.checklist li:last-child {
    border-bottom: none !important;
}
.checklist li::before {
    content: '' !important;
    position: absolute;
    left: 0;
    top: 11px;
    width: 20px;
    height: 20px;
    background: #d1fae5;
    border-radius: 50%;
    display: block;
}
.checklist li::after {
    content: '✓';
    position: absolute;
    left: 4px;
    top: 8px;
    color: #065f46;
    font-size: 12px;
    font-weight: 700;
}

/* ---- Deadline strip ---- */
.deadline-strip {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin: 1rem 0;
}
.dl-card {
    background: #fff;
    border: 1.5px solid #e8e4dc;
    border-radius: 12px;
    padding: 14px 12px;
    text-align: center;
    transition: border-color .15s;
}
.dl-card:hover {
    border-color: #f0c040;
}
.dl-card .dl-date {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 22px;
    color: #1a1a2e;
    display: block;
}
.dl-card .dl-label {
    font-size: 12px;
    color: #777;
    margin-top: 4px;
    line-height: 1.4;
    display: block;
}

/* ---- FAQ accordion ---- */
.faq-item {
    border-bottom: 1px solid #e8e4dc;
}
.faq-q {
    font-size: 15px;
    font-weight: 600;
    color: #1a1a2e;
    padding: 15px 0;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    user-select: none;
    list-style: none;
}
.faq-q:hover {
    color: #c49a10;
}
.faq-icon {
    width: 26px;
    height: 26px;
    background: #f0c040;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 18px;
    color: #1a1200;
    font-weight: 700;
    transition: transform .2s;
    line-height: 1;
}
.faq-icon.open {
    transform: rotate(45deg);
}
.faq-a {
    font-size: 14px;
    color: #3a3a4a;
    line-height: 1.85;
    padding-bottom: 16px;
    display: none;
}
.faq-a.open {
    display: block;
}

/* ---- Related articles — 3-column card grid ---- */
.related-section {
    margin: 2.5rem 0 1rem;
    background: #f5f3ee;
    border-radius: 14px;
    padding: 1.75rem 1.5rem;
}
.related-section > h3 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 20px;
    color: #1a1a2e !important;
    margin: 0 0 6px !important;
    padding: 0 !important;
    border: none !important;
}
.related-section > h3::after {
    content: '';
    display: block;
    width: 44px;
    height: 3px;
    background: #f0c040;
    border-radius: 2px;
    margin-top: 8px;
    margin-bottom: 18px;
}
.related-section .related-label {
    font-size: 11px;
    font-weight: 700;
    color: #888;
    text-transform: uppercase;
    letter-spacing: .1em;
    margin-bottom: 16px;
    display: block;
}
.related-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 16px !important;
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}
/* Hide any ghost elements injected by theme */
.related-grid > *:not(.related-card) {
    display: none !important;
}
.related-card {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    box-sizing: border-box;
    background: #fff !important;
    border: 1px solid #e8e4dc !important;
    border-radius: 12px !important;
    padding: 0 !important;
    text-decoration: none !important;
    overflow: hidden;
    transition: transform .15s, box-shadow .15s;
    float: none !important;
}
.related-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(26,26,46,.1) !important;
    border-color: #e8e4dc !important;
}

/* Thumbnail */
.related-card .rc-thumb {
    width: 100%;
    height: 160px;
    background-size: cover;
    background-position: center;
    background-color: #1a1a2e;
    display: block;
    flex-shrink: 0;
}
.related-card .rc-thumb-placeholder {
    width: 100%;
    height: 160px;
    background: #1a1a2e;
    display: flex !important;
    align-items: center;
    justify-content: center;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 36px;
    color: #f0c040;
    flex-shrink: 0;
}

/* Card body */
.related-card .rc-body {
    padding: 14px 16px 16px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}
.related-card .rc-tag {
    font-size: 11px;
    color: #1a7a3c;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    margin-bottom: 6px;
    display: block;
}
.related-card .rc-title {
    font-size: 15px;
    color: #1a1a2e;
    font-weight: 600;
    line-height: 1.45;
    display: block;
    margin-bottom: 8px;
    flex-grow: 1;
}
.related-card .rc-excerpt {
    font-size: 13px;
    color: #666;
    line-height: 1.6;
    display: block;
    margin-bottom: 12px;
}
.related-card .rc-cta {
    font-size: 12px;
    font-weight: 700;
    color: #1a4fa0;
    text-transform: uppercase;
    letter-spacing: .05em;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-top: auto;
    text-decoration: none !important;
    border-top: 1px solid #f0ece4;
    padding-top: 10px;
}
.related-card .rc-cta::after {
    content: '→';
}
.related-card:hover .rc-cta {
    color: #c49a10;
}

/* ---- Responsive ---- */
@media (max-width: 820px) {
    .related-grid              { grid-template-columns: 1fr 1fr !important; }
}
@media (max-width: 640px) {
    .article-hero              { padding: 2rem 1.25rem 1.75rem; }
    .article-hero h1           { font-size: 21px; }
    .stat-grid                 { grid-template-columns: 1fr 1fr; }
    .toc-list                  { grid-template-columns: 1fr; }
    .related-grid              { grid-template-columns: 1fr !important; }
    .related-card              { width: 100% !important; }
    .deadline-strip            { grid-template-columns: 1fr; }
    .chip-grid                 { grid-template-columns: repeat(2, 1fr); }
    .tier-row                  { flex-direction: column; }
}

/* ---- Footer navigation ---- */
.footer-bar-navigation {
    background: #1a1a2e !important;
    padding: 2rem 1rem 1.5rem !important;
    margin-top: 0 !important;
}
.footer-navigation {
    display: flex !important;
    justify-content: center !important;
}
.footer-nav-wrap {
    width: 100%;
    max-width: 780px;
    margin: 0 auto;
}
#astra-footer-menu {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 4px 8px !important;
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}
#astra-footer-menu .menu-item {
    padding: 0 !important;
    margin: 0 !important;
}
#astra-footer-menu .menu-link {
    display: inline-block !important;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif !important;
    font-size: 12px !important;
    font-weight: 500 !important;
    color: rgba(255,255,255,.5) !important;
    text-decoration: none !important;
    padding: 5px 10px !important;
    border-radius: 20px !important;
    transition: background .15s, color .15s !important;
    letter-spacing: .01em !important;
}
#astra-footer-menu .menu-link:hover {
    background: rgba(240,192,64,.12) !important;
    color: #f0c040 !important;
}

/* ---- Site footer / copyright bar ---- */
.site-footer,
.ast-site-footer,
footer.site-footer {
    background: #1a1a2e !important;
    border-top: 1px solid rgba(255,255,255,.06) !important;
    padding: 1rem !important;
}
.site-footer .ast-footer-copyright,
.site-footer .copyright,
footer .copyright,
.footer-copyright-text,
.ast-copyright-text {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif !important;
    font-size: 12px !important;
    color: rgba(255,255,255,.3) !important;
    text-align: center !important;
}


/* ============================================= */
/* Astra Related Posts — moved from inline PHP   */
/* ============================================= */
/* ---- Astra related posts container ---- */
    .ast-single-related-posts-container {
        background: #f5f3ee !important;
        border-radius: 14px !important;
        padding: 1.75rem 1.5rem !important;
        margin-top: 2.5rem !important;
    }

    /* ---- Section heading ---- */
    .ast-related-posts-title-section { margin-bottom: 0 !important; }
    .ast-related-posts-title {
        font-family: 'Playfair Display', Georgia, serif !important;
        font-size: 20px !important;
        font-weight: 700 !important;
        color: #1a1a2e !important;
        margin: 0 0 6px !important;
        padding: 0 !important;
        border: none !important;
    }
    .ast-related-posts-title::after {
        content: '';
        display: block;
        width: 44px;
        height: 3px;
        background: #f0c040;
        border-radius: 2px;
        margin-top: 8px;
        margin-bottom: 18px;
    }

    /* ---- Grid wrapper ---- */
    .ast-related-posts-wrapper {
        display: grid !important;
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 16px !important;
    }

    /* ---- Individual post card ---- */
    .ast-related-post {
        background: #fff !important;
        border: 1px solid #e8e4dc !important;
        border-radius: 12px !important;
        overflow: hidden !important;
        transition: transform .15s, box-shadow .15s !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    .ast-related-post:hover {
        transform: translateY(-3px) !important;
        box-shadow: 0 8px 24px rgba(26,26,46,.1) !important;
    }

    /* ---- Inner layout: image on top, content below ---- */
    .ast-related-posts-inner-section {
        display: flex !important;
        flex-direction: column !important;
        height: 100% !important;
    }
    .ast-related-post-content {
        display: flex !important;
        flex-direction: column !important;
        height: 100% !important;
    }

    /* ---- Featured image — force to top, fixed height ---- */
    .ast-related-post-featured-section {
        order: -1 !important;
        width: 100% !important;
        height: 170px !important;
        overflow: hidden !important;
        flex-shrink: 0 !important;
        background: #1a1a2e !important;
        margin: 0 !important;
        padding: 0 !important;
        display: block !important;
    }
    .ast-related-post-featured-section .post-thumb-img-content,
    .ast-related-post-featured-section a {
        display: block !important;
        width: 100% !important;
        height: 170px !important;
        overflow: hidden !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    .ast-related-post-featured-section img {
        width: 100% !important;
        height: 170px !important;
        object-fit: cover !important;
        object-position: center top !important;
        display: block !important;
        margin: 0 !important;
    }
    .ast-related-post-featured-section.ast-no-thumb {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        font-size: 40px !important;
        font-weight: 700 !important;
        color: #f0c040 !important;
    }

    /* ---- Hide the DUPLICATE header Astra renders ---- */
    /* Astra outputs entry-header twice — hide every one after the first */
    .ast-related-post .related-entry-header:not(:first-of-type) {
        display: none !important;
    }
    .ast-related-post .entry-header + .entry-header {
        display: none !important;
    }

    /* ---- Card text area ---- */
    .ast-related-post .related-entry-header {
        padding: 14px 16px 0 !important;
        margin: 0 !important;
    }
    .ast-related-post .ast-related-post-title,
    .ast-related-post .entry-title {
        font-size: 15px !important;
        font-weight: 600 !important;
        color: #1a1a2e !important;
        line-height: 1.45 !important;
        margin: 0 0 8px !important;
        padding: 0 !important;
        border: none !important;
    }
    .ast-related-post .ast-related-post-title a,
    .ast-related-post .entry-title a {
        color: #1a1a2e !important;
        text-decoration: none !important;
    }
    .ast-related-post .ast-related-post-title a:hover,
    .ast-related-post .entry-title a:hover {
        color: #c49a10 !important;
    }

    /* ---- Excerpt ---- */
    .ast-related-post .entry-content {
        font-size: 13px !important;
        color: #666 !important;
        line-height: 1.6 !important;
        padding: 0 16px 0 !important;
        margin: 0 0 12px !important;
    }
    .ast-related-post .ast-related-post-excerpt {
        font-size: 13px !important;
        color: #666 !important;
        line-height: 1.6 !important;
        margin: 0 0 4px !important;
        padding: 0 !important;
        display: block !important;
    }
    /* Hide the empty read-more link Astra adds */
    .ast-related-post-cta.read-more {
        display: none !important;
    }

    /* ---- Check Eligibility CTA via pseudo-element ---- */
    .ast-related-post .ast-related-posts-inner-section::after {
        content: 'CHECK ELIGIBILITY →';
        display: block !important;
        font-size: 11px !important;
        font-weight: 700 !important;
        color: #1a4fa0 !important;
        letter-spacing: .06em !important;
        border-top: 1px solid #f0ece4 !important;
        padding: 10px 16px 14px !important;
        margin-top: auto !important;
    }
    .ast-related-post:hover .ast-related-posts-inner-section::after {
        color: #c49a10 !important;
    }

    /* ---- Hide all meta (date, author, category tags) ---- */
    .ast-related-post .entry-meta,
    .ast-related-post .ast-related-post-meta {
        display: none !important;
    }

    /* ---- Mid-article compact block ---- */
    .srp-wrap {
        margin: 1.75rem 0;
        font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    }
    .srp-list {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }
    .srp-card {
        display: flex !important;
        align-items: center;
        gap: 14px;
        background: #fff !important;
        border: 1.5px solid #e8e4dc !important;
        border-radius: 12px !important;
        padding: 12px 14px !important;
        text-decoration: none !important;
        transition: border-color .15s;
        box-sizing: border-box;
    }
    .srp-card:hover { border-color: #f0c040 !important; }
    .srp-thumb {
        width: 80px;
        height: 60px;
        border-radius: 8px;
        background-size: cover;
        background-position: center;
        background-color: #1a1a2e;
        flex-shrink: 0;
    }
    .srp-thumb--placeholder {
        display: flex !important;
        align-items: center;
        justify-content: center;
        font-size: 22px;
        font-weight: 700;
        color: #f0c040;
    }
    .srp-content { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
    .srp-label { font-size: 11px !important; font-weight: 700 !important; letter-spacing: .06em; text-transform: uppercase; display: block; }
    .srp-title { font-size: 15px !important; font-weight: 600 !important; color: #1a1a2e !important; line-height: 1.4; display: block; }
    .srp-card:hover .srp-title { color: #c49a10 !important; }

    /* ---- Responsive ---- */
    @media (max-width: 820px) {
        .ast-related-posts-wrapper { grid-template-columns: 1fr 1fr !important; }
    }
    @media (max-width: 600px) {
        .ast-related-posts-wrapper { grid-template-columns: 1fr !important; }
        .srp-thumb { width: 64px; height: 48px; }
    }

/* AdSense slot styles consolidated above in Ad slots section */