:root {
    --deep: #06283d;
    --navy: #08324a;
    --blue: #0b4f71;
    --aqua: #0f9f9a;
    --green: #11795f;
    --gold: #f4b942;
    --cream: #fff8e8;
    --soft: #f3f8f8;
    --white: #ffffff;
    --text: #1e2b33;
    --muted: #667680;
    --line: #dce8ea;
    --shadow: 0 18px 45px rgba(6, 40, 61, 0.13);
    --soft-shadow: 0 10px 28px rgba(6, 40, 61, 0.08);
    --radius: 24px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    color: var(--text);
    background: #ffffff;
    line-height: 1.65;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
}

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line);
}

.header-inner {
    min-height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 13px;
}

.brand-icon {
    width: 46px;
    height: 46px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, var(--deep), var(--aqua));
    color: #fff;
    font-weight: 900;
    font-size: 24px;
    box-shadow: var(--soft-shadow);
}

.brand strong {
    display: block;
    color: var(--deep);
    font-size: 18px;
    line-height: 1.1;
}

.brand small {
    display: block;
    color: var(--muted);
    font-size: 12px;
    margin-top: 10px;
}

.nav {
    display: flex;
    align-items: center;
    gap: 18px;
    font-size: 14px;
    color: var(--deep);
    font-weight: 700;
}

.nav a {
    padding: 9px 0;
    border-bottom: 2px solid transparent;
}

.nav a:hover {
    color: var(--aqua);
    border-bottom-color: var(--gold);
}

.nav-button {
    background: var(--deep);
    color: #fff !important;
    padding: 9px 15px !important;
    border-radius: 999px;
    border-bottom: 0 !important;
}

.nav-button:hover {
    background: var(--aqua);
}

/* =========================
   HERO
========================= */

.hero {
    position: relative;
    overflow: hidden;
    color: white;
    padding: 92px 0;
    background:
        radial-gradient(circle at 82% 18%, rgba(244, 185, 66, 0.26), transparent 28%),
        radial-gradient(circle at 10% 90%, rgba(15, 159, 154, 0.28), transparent 30%),
        linear-gradient(135deg, #06283d 0%, #0b5574 52%, #0f8f89 100%);
}

.hero::after {
    content: "";
    position: absolute;
    inset: auto -10% -40% -10%;
    height: 240px;
    background: rgba(255, 255, 255, 0.08);
    transform: rotate(-3deg);
}

.hero-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.65fr);
    gap: 36px;
    align-items: center;
}

.eyebrow {
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 12px;
    font-weight: 900;
    margin: 0 0 12px;
}

.eyebrow.dark {
    color: var(--aqua);
}

.hero h1 {
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(42px, 6vw, 74px);
    line-height: 1.03;
    margin: 0 0 22px;
    letter-spacing: -0.03em;
}

.hero-text {
    max-width: 760px;
    font-size: 20px;
    color: rgba(255, 255, 255, 0.88);
    margin: 0 0 30px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    font-weight: 900;
    padding: 13px 20px;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--soft-shadow);
}

.primary {
    background: var(--gold);
    color: #173141;
}

.primary:hover {
    background: #ffd06b;
}

.light {
    background: white;
    color: var(--deep);
}

.outline {
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.55);
}

.outline:hover {
    background: rgba(255, 255, 255, 0.12);
}

.small-primary {
    background: var(--deep);
    color: #fff;
    padding: 10px 15px;
    font-size: 13px;
}

.hero-card {
    border-radius: var(--radius);
    padding: 32px;
    background: rgba(255, 255, 255, 0.13);
    border: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow: var(--shadow);
}

.hero-card h2 {
    font-family: Georgia, "Times New Roman", serif;
    margin: 15px 0 11px;
    font-size: 30px;
    line-height: 1.12;
}

.hero-card p {
    margin: 0;
    color: rgba(255, 255, 255, 0.86);
}

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

.pill {
    display: inline-flex;
    border-radius: 999px;
    padding: 6px 11px;
    background: rgba(244, 185, 66, 0.16);
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-size: 12px;
    font-weight: 900;
}

.dark-pill {
    background: rgba(15, 159, 154, 0.12);
    color: var(--aqua);
}

.section {
    padding: 74px 0;
}

.soft {
    background: var(--soft);
}

.section-title-row {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    align-items: end;
    margin-bottom: 30px;
}

.section-title {
    margin-bottom: 30px;
}

.section h2 {
    margin: 0 0 10px;
    color: var(--deep);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(30px, 4vw, 46px);
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.muted {
    color: var(--muted);
    margin: 0;
    max-width: 780px;
}

.muted-small {
    color: var(--muted);
    font-size: 14px;
}

.text-link,
.small-link {
    color: var(--blue);
    font-weight: 900;
}

.text-link:hover,
.small-link:hover {
    color: var(--aqua);
}

/* =========================
   POST CARDS
========================= */

.post-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.post-card,
.feature-card,
.region-grid a {
    background: white;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--soft-shadow);
    transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
}

.post-card:hover,
.feature-card:hover,
.region-grid a:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.post-image {
    min-height: 210px;
    display: grid;
    place-items: center;
    background: #e8f1f2;
}

.post-image img {
    width: 100%;
    height: 235px;
    object-fit: cover;
}

.blue-gradient {
    background: linear-gradient(135deg, var(--deep), var(--blue));
}

.gold-gradient {
    background: linear-gradient(135deg, #8a5d10, var(--gold));
}

.green-gradient {
    background: linear-gradient(135deg, var(--green), var(--aqua));
}

.post-placeholder {
    color: white;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 28px;
    font-weight: 700;
    text-align: center;
    padding: 24px;
}

.post-body {
    padding: 24px;
}

.post-category {
    display: inline-flex;
    color: var(--aqua);
    font-weight: 900;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 0.06em;
    margin-bottom: 10px;
}

.post-card h3 {
    font-family: Georgia, "Times New Roman", serif;
    margin: 0 0 10px;
    font-size: 24px;
    line-height: 1.18;
    color: var(--deep);
}

.post-card h3 a:hover {
    color: var(--aqua);
}

.post-card p {
    color: var(--muted);
    margin: 0 0 14px;
}

/* =========================
   REGIONS
========================= */

.region-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.region-grid a {
    padding: 24px;
}

.region-grid strong {
    display: block;
    color: var(--deep);
    font-size: 21px;
    margin-bottom: 8px;
}

.region-grid span {
    display: block;
    color: var(--muted);
    font-size: 14px;
}

.region-grid a:hover {
    background: var(--deep);
    border-color: var(--deep);
}

.region-grid a:hover strong,
.region-grid a:hover span {
    color: white;
}

/* =========================
   FEATURE CARDS
========================= */

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.feature-card {
    padding: 28px;
}

.feature-card h2 {
    color: var(--deep);
    margin: 14px 0 10px;
    font-size: 30px;
    font-family: Georgia, "Times New Roman", serif;
    line-height: 1.16;
}

.feature-card p {
    color: var(--muted);
}

.sponsor-card {
    border-color: rgba(244, 185, 66, 0.55);
    background: linear-gradient(180deg, #ffffff 0%, #fff9ec 100%);
}

.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 16px;
}

.tag-list a {
    background: var(--soft);
    border: 1px solid var(--line);
    color: var(--deep);
    font-weight: 800;
    border-radius: 999px;
    padding: 8px 12px;
    font-size: 13px;
}

.tag-list a:hover {
    background: var(--deep);
    color: white;
}

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

.footer {
    background: var(--deep);
    color: white;
    padding: 36px 0;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    gap: 22px;
    align-items: center;
}

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

.footer p {
    margin: 4px 0 0;
    color: rgba(255, 255, 255, 0.72);
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.82);
    font-weight: 700;
}

.footer-links a:hover {
    color: var(--gold);
}

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

@media (max-width: 980px) {
    .nav {
        display: none;
    }

    .hero-grid,
    .post-grid,
    .feature-grid,
    .region-grid {
        grid-template-columns: 1fr;
    }

    .section-title-row,
    .footer-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .hero {
        padding: 70px 0;
    }
}

@media (max-width: 560px) {
    .container {
        width: min(100% - 24px, 1180px);
    }

    .hero {
        padding: 56px 0;
    }

    .hero h1 {
        font-size: 40px;
    }

    .hero-text {
        font-size: 18px;
    }

    .hero-actions {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    .section {
        padding: 56px 0;
    }

    .brand small {
        display: none;
    }
}

/* =========================
   ARTICLE PAGE
========================= */

.article-hero {
    background:
        radial-gradient(circle at 85% 20%, rgba(244,185,66,.24), transparent 28%),
        linear-gradient(135deg, var(--deep), var(--blue), var(--aqua));
    color: white;
    padding: 78px 0;
}

.article-hero h1 {
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(38px, 5vw, 66px);
    line-height: 1.05;
    max-width: 960px;
    margin: 0 0 18px;
}

.article-summary {
    max-width: 850px;
    font-size: 20px;
    color: rgba(255,255,255,.86);
    margin: 0 0 20px;
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    color: rgba(255,255,255,.78);
    font-weight: 800;
    font-size: 14px;
}

.article-meta span {
    background: rgba(255,255,255,.13);
    border: 1px solid rgba(255,255,255,.2);
    padding: 7px 11px;
    border-radius: 999px;
}



.article-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 34px;
    padding: 58px 0 76px;
}

.article-content {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--soft-shadow);
    padding: clamp(26px, 4vw, 46px);
}

.article-content p {
    font-size: 18px;
    line-height: 1.85;
    color: #283842;
    margin: 0 0 22px;
}

.article-sidebar {
    display: grid;
    gap: 18px;
    align-content: start;
}

.sidebar-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: var(--soft-shadow);
}

.sidebar-card h2 {
    font-family: Georgia, "Times New Roman", serif;
    color: var(--deep);
    margin: 0 0 10px;
}

.sidebar-card p {
    color: var(--muted);
}

.sponsor-note {
    background: linear-gradient(180deg, #ffffff 0%, #fff9ec 100%);
    border-color: rgba(244,185,66,.55);
}

@media (max-width: 900px) {
    .article-layout {
        grid-template-columns: 1fr;
    }
}

/* =========================
   PUBLIC ARTICLE COMMENTS
========================= */

.article-comments {
    margin-top: 42px;
    padding-top: 34px;
    border-top: 1px solid var(--line);
}

.article-comments h2 {
    font-family: Georgia, "Times New Roman", serif;
    color: var(--deep);
    font-size: 34px;
    margin: 0 0 8px;
}

.comment-note,
.no-comments,
.comments-closed {
    color: var(--muted);
}

.comment-alert {
    border-radius: 16px;
    padding: 13px 15px;
    font-weight: 800;
    margin: 18px 0;
}

.comment-alert.success {
    background: #edf9f5;
    border: 1px solid #bce8db;
    color: #14644f;
}

.comment-alert.error {
    background: #fff0f0;
    border: 1px solid #f1b6b6;
    color: #8b1f1f;
}

.approved-comments {
    display: grid;
    gap: 14px;
    margin: 24px 0;
}

.public-comment {
    background: var(--soft);
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 18px;
}

.public-comment-head {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
}

.public-comment-head strong {
    color: var(--deep);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 20px;
}

.public-comment-head span {
    color: var(--muted);
    font-size: 13px;
    font-weight: 800;
}

.public-comment p {
    margin: 0;
    color: var(--text);
    line-height: 1.75;
}

.comment-form {
    margin-top: 24px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 22px;
    padding: 22px;
    box-shadow: var(--soft-shadow);
}

.comment-form label {
    display: grid;
    gap: 7px;
    font-weight: 900;
    color: var(--deep);
}

.comment-form .full {
    grid-column: 1 / -1;
}

.comment-form input,
.comment-form textarea {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 12px 13px;
    font: inherit;
}

.comment-form textarea {
    resize: vertical;
}

.comment-form input:focus,
.comment-form textarea:focus {
    outline: 3px solid rgba(15,159,154,.16);
    border-color: var(--aqua);
}

.comment-form button {
    grid-column: 1 / -1;
    justify-self: start;
    border: 0;
    background: var(--deep);
    color: white;
    border-radius: 999px;
    padding: 12px 18px;
    font-weight: 900;
    cursor: pointer;
}

.comment-form button:hover {
    background: var(--aqua);
}

@media (max-width: 700px) {
    .comment-form {
        grid-template-columns: 1fr;
    }

    .public-comment-head {
        flex-direction: column;
    }
}

/* Comment title */

.public-comment-title {
    font-family: Georgia, "Times New Roman", serif;
    color: var(--deep);
    font-size: 23px;
    margin: 8px 0 10px;
}

/* Public expert comment badge */

.public-expert-comment-badge {
    margin: 10px 0 12px;
    background: #edf9f5;
    border: 1px solid #bce8db;
    border-radius: 16px;
    padding: 12px;
    display: grid;
    gap: 4px;
}

.public-expert-comment-badge strong {
    color: #14644f;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: .05em;
}

.public-expert-comment-badge span {
    color: var(--deep);
    font-weight: 800;
}

.public-expert-comment-badge a {
    color: var(--blue);
    font-weight: 900;
}

/* =========================
   PUBLIC AUTH / COMMENT IDENTITY
========================= */

.auth-page {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 28px;
    background:
        radial-gradient(circle at 80% 18%, rgba(244,185,66,.22), transparent 28%),
        linear-gradient(135deg, var(--deep), var(--blue), var(--aqua));
}

.auth-card {
    width: min(560px, 100%);
    background: #fff;
    border-radius: 26px;
    padding: 32px;
    box-shadow: var(--shadow);
}

.auth-card h1 {
    font-family: Georgia, "Times New Roman", serif;
    color: var(--deep);
    font-size: 40px;
    margin: 0 0 10px;
}

.auth-card p {
    color: var(--muted);
}

.auth-form {
    display: grid;
    gap: 15px;
    margin-top: 22px;
}

.auth-form label {
    display: grid;
    gap: 7px;
    color: var(--deep);
    font-weight: 900;
}

.auth-form input {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 12px 13px;
    font: inherit;
}

.auth-check {
    display: flex !important;
    align-items: flex-start;
    gap: 10px !important;
    font-weight: 700 !important;
    color: var(--muted) !important;
}

.auth-check input {
    width: auto;
    margin-top: 5px;
}

.auth-form button {
    border: 0;
    background: var(--deep);
    color: white;
    border-radius: 999px;
    padding: 13px 18px;
    font-weight: 900;
    cursor: pointer;
}

.auth-form button:hover {
    background: var(--aqua);
}

.auth-links a {
    color: var(--blue);
    font-weight: 900;
}

.comment-identity {
    background: #edf9f5;
    border: 1px solid #bce8db;
    border-radius: 18px;
    padding: 15px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.comment-identity strong {
    color: var(--deep);
}

.comment-identity span {
    color: var(--muted);
}

.comment-identity a {
    background: var(--deep);
    color: white;
    border-radius: 999px;
    padding: 6px 10px;
    font-size: 13px;
    font-weight: 900;
}

.comment-identity a:hover {
    background: var(--aqua);
}

/* Strong visible login/register buttons on comment board */

.comment-identity {
    background: #edf9f5;
    border: 1px solid #bce8db;
    border-radius: 20px;
    padding: 18px;
    display: grid !important;
    gap: 14px;
    margin-bottom: 14px;
}

.comment-identity-text {
    display: grid;
    gap: 5px;
}

.comment-identity-text strong {
    color: var(--deep);
    font-size: 18px;
}

.comment-identity-text span {
    color: var(--muted);
}

.comment-auth-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.comment-auth-buttons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 10px 15px;
    font-weight: 900;
    font-size: 14px;
}

.comment-login-btn {
    background: var(--deep);
    color: white !important;
}

.comment-register-btn {
    background: var(--gold);
    color: #173141 !important;
}

.comment-login-btn:hover {
    background: var(--aqua);
}

.comment-register-btn:hover {
    background: #ffd06b;
}

@media (max-width: 600px) {
    .comment-auth-buttons {
        flex-direction: column;
    }

    .comment-auth-buttons a {
        width: 100%;
    }
}

/* Clear expert vs reader comment paths */

.expert-comment-box,
.reader-login-box {
    border-radius: 20px;
    padding: 18px;
    display: grid;
    gap: 8px;
    margin-bottom: 14px;
}

.expert-comment-box {
    background: #edf9f5;
    border: 1px solid #bce8db;
}

.reader-login-box {
    background: #fff8e8;
    border: 1px solid rgba(244, 185, 66, 0.55);
}

.expert-comment-box strong,
.reader-login-box strong {
    color: var(--deep);
    font-size: 19px;
    font-family: Georgia, "Times New Roman", serif;
}

.expert-comment-box p,
.reader-login-box p {
    margin: 0;
    color: var(--muted);
}

.comment-auth-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.comment-auth-buttons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 10px 15px;
    font-weight: 900;
    font-size: 14px;
}

.comment-login-btn {
    background: var(--deep);
    color: white !important;
}

.comment-register-btn {
    background: var(--gold);
    color: #173141 !important;
}

.comment-login-btn:hover {
    background: var(--aqua);
}

.comment-register-btn:hover {
    background: #ffd06b;
}

/* Expert access portal */

.expert-access-card {
    max-width: 640px;
}

.expert-found-card {
    background: #edf9f5;
    border: 1px solid #bce8db;
    border-radius: 22px;
    padding: 18px;
    margin: 20px 0;
    display: grid;
    gap: 8px;
}

.expert-found-card strong {
    color: #14644f;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: .05em;
}

.expert-found-card h2 {
    font-family: Georgia, "Times New Roman", serif;
    color: var(--deep);
    margin: 0;
    font-size: 30px;
}

.expert-found-card p {
    margin: 0;
    color: var(--muted);
}

.expert-found-card a {
    color: var(--blue);
    font-weight: 900;
}

.auth-action-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 18px 0;
}

/* Expert access portal */

.expert-access-card {
    max-width: 640px;
}

.expert-found-card {
    background: #edf9f5;
    border: 1px solid #bce8db;
    border-radius: 22px;
    padding: 18px;
    margin: 20px 0;
    display: grid;
    gap: 8px;
}

.expert-found-card strong {
    color: #14644f;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: .05em;
}

.expert-found-card h2 {
    font-family: Georgia, "Times New Roman", serif;
    color: var(--deep);
    margin: 0;
    font-size: 30px;
}

.expert-found-card p {
    margin: 0;
    color: var(--muted);
}

.expert-found-card a {
    color: var(--blue);
    font-weight: 900;
}

.auth-action-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 18px 0;
}

/* Expert active session logout bar */

.expert-session-bar {
    background: #edf9f5;
    border: 1px solid #bce8db;
    border-radius: 20px;
    padding: 16px;
    margin: 0 0 20px;
    display: flex;
    justify-content: space-between;
    gap: 14px;
    align-items: center;
}

.expert-session-bar strong {
    display: block;
    color: var(--deep);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 19px;
}

.expert-session-bar span {
    display: block;
    color: var(--muted);
    margin-top: 3px;
}

.expert-session-bar a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #8b1f1f;
    color: #fff !important;
    border-radius: 999px;
    padding: 9px 13px;
    font-weight: 900;
    white-space: nowrap;
}

.expert-session-bar a:hover {
    opacity: .88;
}

@media (max-width: 700px) {
    .expert-session-bar {
        flex-direction: column;
        align-items: flex-start;
    }

    .expert-session-bar a {
        width: 100%;
    }
}

/* Fix expert profile button visibility inside comment identity box */

.comment-identity .comment-register-btn,
.comment-identity a.comment-register-btn {
    background: #f4b942 !important;
    color: #06283d !important;
    border: 2px solid #f4b942 !important;
    font-weight: 900 !important;
}

.comment-identity .comment-register-btn:hover,
.comment-identity a.comment-register-btn:hover {
    background: #ffd36f !important;
    color: #06283d !important;
}

.comment-identity .comment-login-btn,
.comment-identity a.comment-login-btn {
    background: #06283d !important;
    color: #ffffff !important;
    border: 2px solid #06283d !important;
    font-weight: 900 !important;
}

.comment-identity .comment-login-btn:hover,
.comment-identity a.comment-login-btn:hover {
    background: #0f9f9a !important;
    color: #ffffff !important;
    border-color: #0f9f9a !important;
}

/* Expert profile visits inside article comment identity */

.expert-comment-identity {
    border: 1px solid #bce8db;
    background: #edf9f5;
}

.expert-profile-visits-line {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    width: fit-content;
    margin-top: 6px;
    padding: 7px 11px;
    border-radius: 999px;
    background: #ffffff;
    color: #14644f !important;
    border: 1px solid #bce8db;
    font-weight: 900;
}

.expert-profile-visits-line strong {
    color: #0d1b3d !important;
}

/* Homepage sponsored advertisement after Latest News */

.media-ad-section {
    margin: 28px 0;
    padding: 18px;
    border-radius: 24px;
    background: #ffffff;
    border: 1px solid #dbe3f0;
    box-shadow: 0 14px 32px rgba(10, 24, 52, 0.08);
}

.media-ad-label {
    display: inline-flex;
    margin-bottom: 10px;
    padding: 6px 10px;
    border-radius: 999px;
    background: #edf9f5;
    color: #14644f;
    border: 1px solid #bce8db;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .06em;
}

.media-home-ad-frame {
    width: 100%;
    height: 280px;
    border: 0;
    overflow: hidden;
    border-radius: 18px;
    background: #f8fafc;
}

@media (max-width: 700px) {
    .media-home-ad-frame {
        height: 240px;
    }
}
/* =========================================================
   MEDIA HOME ADVERTISEMENT PANELS
   ========================================================= */

.home-ad-panel {
    margin: 28px auto;
    padding: 14px;
    border-radius: 24px;
    background: #f8fbff;
    border: 1px solid #dbe3f0;
    box-shadow: 0 14px 34px rgba(10, 24, 52, 0.08);
}

.home-ad-panel iframe {
    display: block;
    width: 100%;
    height: 150px;
    border: 0;
    overflow: hidden;
    border-radius: 18px;
    background: #ffffff;
}

.home-ad-middle iframe {
    height: 180px;
}

.ad-label {
    display: inline-flex;
    margin-bottom: 10px;
    padding: 5px 10px;
    border-radius: 999px;
    background: #fff7e6;
    color: #92400e;
    border: 1px solid #f3d19c;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.02em;
}

@media (max-width: 700px) {
    .home-ad-panel iframe {
        height: 190px;
    }
}
/* REGION PAGE + FULLY VISIBLE MEDIA AD PANELS */
.home-ad-panel,
.region-ad-panel {
    margin: 28px auto;
    padding: 14px;
    border-radius: 24px;
    background: #f8fbff;
    border: 1px solid #dbe3f0;
    box-shadow: 0 14px 34px rgba(10, 24, 52, 0.08);
}

.home-ad-panel iframe,
.region-ad-panel iframe {
    display: block;
    width: 100%;
    height: 380px;
    border: 0;
    overflow: hidden;
    border-radius: 18px;
    background: #ffffff;
}

.ad-label {
    display: inline-flex;
    margin-bottom: 10px;
    padding: 5px 10px;
    border-radius: 999px;
    background: #fff7e6;
    color: #92400e;
    border: 1px solid #f3d19c;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.02em;
}

.empty-media-box {
    background: #ffffff;
    border: 1px dashed #9eb1d8;
    border-radius: 24px;
    padding: 30px;
    box-shadow: 0 14px 34px rgba(10, 24, 52, 0.08);
}

.empty-media-box h2 {
    margin-top: 3;
    color: #071f3f;
    font-family: Georgia, "Times New Roman", serif;
}

@media (max-width: 700px) {
    .home-ad-panel iframe,
    .region-ad-panel iframe {
        height: 430px;
    }
}

/* =========================================================
   FINAL FIX: MEDIA INDEX ADS FULLY VISIBLE, NO INTERNAL SCROLL
   These rules target only homepage ad placements.
   ========================================================= */

.home-ad-top iframe,
.home-ad-middle iframe {
    height: 560px !important;
    min-height: 560px !important;
    overflow: hidden !important;
}

.home-ad-panel iframe {
    overflow: hidden !important;
}

@media (max-width: 900px) {
    .home-ad-top iframe,
    .home-ad-middle iframe {
        height: 620px !important;
        min-height: 620px !important;
    }
}

@media (max-width: 520px) {
    .home-ad-top iframe,
    .home-ad-middle iframe {
        height: 700px !important;
        min-height: 700px !important;
    }
}

/* =========================================================
   FINAL TALL HOMEPAGE AD CONTAINER
   Makes the full ad-render page visible, including Register New Ad.
   ========================================================= */

.home-ad-panel {
    padding: 18px !important;
    overflow: visible !important;
}

.home-ad-top iframe,
.home-ad-middle iframe {
    display: block !important;
    width: 100% !important;
    height: 860px !important;
    min-height: 860px !important;
    border: 0 !important;
    overflow: hidden !important;
    border-radius: 18px !important;
    background: #ffffff !important;
}

@media (max-width: 900px) {
    .home-ad-top iframe,
    .home-ad-middle iframe {
        height: 980px !important;
        min-height: 980px !important;
    }
}

@media (max-width: 520px) {
    .home-ad-top iframe,
    .home-ad-middle iframe {
        height: 1120px !important;
        min-height: 1120px !important;
    }
}

/* =========================================================
   BALANCED HOMEPAGE AD HEIGHT
   Reduced from the very tall version while keeping the button visible.
   ========================================================= */

.home-ad-top iframe,
.home-ad-middle iframe {
    height: 620px !important;
    min-height: 620px !important;
}

@media (max-width: 900px) {
    .home-ad-top iframe,
    .home-ad-middle iframe {
        height: 700px !important;
        min-height: 700px !important;
    }
}

@media (max-width: 520px) {
    .home-ad-top iframe,
    .home-ad-middle iframe {
        height: 780px !important;
        min-height: 780px !important;
    }
}

/* =========================================================
   FINAL: HOMEPAGE ADS SAME HEIGHT AS REGIONAL PAGE ADS
   Balanced height, no excessive empty space.
   ========================================================= */

.home-ad-top iframe,
.home-ad-middle iframe {
    height: 380px !important;
    min-height: 380px !important;
    max-height: 380px !important;
    overflow: hidden !important;
}

@media (max-width: 700px) {
    .home-ad-top iframe,
    .home-ad-middle iframe {
        height: 430px !important;
        min-height: 430px !important;
        max-height: 430px !important;
    }
}



/* =========================================================
   FINAL CLEAN ARTICLE VIEW RESTORE — 2026-05-18
   One stable block only: article text, sources, body images,
   comments/sidebar, and feature image inside article card.
   ========================================================= */

/* Article body text */
.article-content > p {
    font-family: Georgia, "Times New Roman", Times, serif !important;
    font-size: 18.5px !important;
    line-height: 1.95 !important;
    color: #1f2937 !important;
    text-align: justify !important;
    text-justify: inter-word !important;
    text-align-last: left !important;
    margin: 0 0 26px 0 !important;
    letter-spacing: 0.01em !important;
    overflow-wrap: break-word !important;
    hyphens: auto !important;
}

.article-content > p:first-of-type {
    font-size: 19px !important;
}

.article-content > p strong,
.article-content > p b {
    font-weight: 800 !important;
    color: #102f43 !important;
}

.article-content > p em,
.article-content > p i {
    font-style: italic !important;
}

.article-content > h2,
.article-content > h3,
.article-content > h4 {
    font-family: Georgia, "Times New Roman", Times, serif !important;
    color: #0f2f43 !important;
    line-height: 1.25 !important;
    margin: 38px 0 18px !important;
}

/* Hide any old feature image left outside article card */
main.article-page > .article-featured-image {
    display: none !important;
}

/* Correct feature image: inside article card only */
.article-content > .article-featured-image {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 0 34px 0 !important;
    padding: 0 !important;

    border: 1px solid #e5edf5 !important;
    border-radius: 24px !important;
    overflow: hidden !important;
    background: #f8fafc !important;
    box-shadow: 0 12px 28px rgba(6, 38, 77, 0.08) !important;

    line-height: 0 !important;
    box-sizing: border-box !important;
    position: relative !important;
    z-index: 1 !important;
}

.article-content > .article-featured-image img {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    max-height: none !important;
    min-height: 0 !important;

    display: block !important;
    margin: 0 auto !important;
    padding: 0 !important;

    object-fit: contain !important;
    object-position: center top !important;

    background: #f8fafc !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    transform: none !important;
    opacity: 1 !important;
    filter: none !important;
    mix-blend-mode: normal !important;
}

.article-content > .article-featured-image::before,
.article-content > .article-featured-image::after {
    content: none !important;
    display: none !important;
}

/* Images inside the article body */
.article-body-image,
.article-content figure:not(.article-featured-image),
.article-inline-image {
    margin: 28px auto 30px !important;
    border-radius: 22px !important;
    overflow: hidden !important;
    background: #f8fafc !important;
    border: 1px solid #e5edf5 !important;
    box-shadow: 0 14px 32px rgba(6, 40, 61, 0.12) !important;
    clear: both !important;
}

.article-body-image img,
.article-content figure:not(.article-featured-image) img,
.article-inline-image img,
.article-content .article-body-image > img {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
    margin: 0 auto !important;
    border-radius: 22px !important;
    object-fit: contain !important;
    background: #f8fafc !important;
}

.article-body-image figcaption,
.article-content figure:not(.article-featured-image) figcaption,
.article-inline-image figcaption {
    padding: 9px 12px !important;
    color: #64748b !important;
    font-family: Arial, Helvetica, sans-serif !important;
    font-size: 12px !important;
    border-top: 1px solid #e5edf5 !important;
    text-align: left !important;
    line-height: 1.4 !important;
}

/* Professional source box */
.article-sources-box {
    margin: 44px 0 28px !important;
    padding: 24px !important;
    border-radius: 24px !important;
    background: linear-gradient(135deg,#f8fbfd,#eef7fb) !important;
    border: 1px solid #cfe4ee !important;
    box-shadow: 0 14px 32px rgba(15, 63, 86, .08) !important;
    font-family: Arial, Helvetica, sans-serif !important;
    text-align: left !important;
    text-align-last: auto !important;
}

.article-sources-heading {
    margin-bottom: 18px !important;
    border-bottom: 1px solid #d8e8ef !important;
    padding-bottom: 14px !important;
}

.article-sources-heading span {
    display: inline-block !important;
    font-size: 11px !important;
    letter-spacing: .08em !important;
    text-transform: uppercase !important;
    font-weight: 900 !important;
    color: #0b6b88 !important;
    background: #e4f5fb !important;
    border: 1px solid #b9ddeb !important;
    border-radius: 999px !important;
    padding: 6px 10px !important;
    margin-bottom: 8px !important;
}

.article-sources-heading h2 {
    font-family: Georgia, "Times New Roman", Times, serif !important;
    margin: 0 0 5px !important;
    color: #0f2f43 !important;
    font-size: 28px !important;
}

.article-sources-heading p,
.article-sources-box p {
    margin: 0 !important;
    color: #64748b !important;
    font-family: Arial, Helvetica, sans-serif !important;
    font-size: 14px !important;
    text-align: left !important;
    text-align-last: auto !important;
}

.article-source-card {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 18px !important;
    padding: 16px !important;
    margin: 12px 0 !important;
    border-radius: 18px !important;
    background: #ffffff !important;
    border: 1px solid #dbeaf1 !important;
}

.article-source-card strong {
    display: block !important;
    font-family: Georgia, "Times New Roman", Times, serif !important;
    color: #14384d !important;
    font-size: 17px !important;
    line-height: 1.45 !important;
}

.article-source-card small {
    display: block !important;
    margin-top: 3px !important;
    color: #64748b !important;
    font-family: Arial, Helvetica, sans-serif !important;
    font-size: 12px !important;
}

.article-source-card a,
.article-inline-link {
    display: inline-block !important;
    white-space: nowrap !important;
    text-decoration: none !important;
    background: #0b6b88 !important;
    color: #ffffff !important;
    border-radius: 999px !important;
    padding: 9px 13px !important;
    font-family: Arial, Helvetica, sans-serif !important;
    font-size: 12px !important;
    font-weight: 900 !important;
}

.article-source-card a:hover,
.article-inline-link:hover {
    background: #084e63 !important;
}

/* Comments and sidebar stay normal */
.article-comments,
.article-comments p,
.public-comment,
.public-comment p,
.comment-form,
.comment-note,
.no-comments,
.comments-closed,
.article-sidebar,
.article-sidebar p,
.sidebar-card,
.sidebar-card p {
    font-family: Arial, Helvetica, sans-serif !important;
    text-align: left !important;
    text-align-last: auto !important;
}

.article-comments {
    margin-top: 42px !important;
    padding-top: 34px !important;
    border-top: 1px solid var(--line) !important;
}

@media (max-width: 700px) {
    .article-content > .article-featured-image {
        margin: 0 0 26px 0 !important;
        border-radius: 18px !important;
    }

    .article-body-image,
    .article-content figure:not(.article-featured-image),
    .article-inline-image {
        border-radius: 18px !important;
    }

    .article-source-card {
        align-items: flex-start !important;
        flex-direction: column !important;
    }

    .article-source-card a {
        width: 100% !important;
        text-align: center !important;
    }
}
/* =========================================================
   FINAL TINY FIX — FEATURE IMAGE TOP NOT CUT
   Only adds a small safe breathing space above the feature image.
   ========================================================= */

.article-content > .article-featured-image {
    margin: 0 0 34px 0 !important;
    padding: 8px 8px 0 8px !important;
    background: #f8fafc !important;
    border: 1px solid #e5edf5 !important;
    border-radius: 24px !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
    line-height: 0 !important;
}

.article-content > .article-featured-image > img {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    max-height: none !important;
    display: block !important;
    margin: 0 auto !important;
    padding: 0 !important;
    object-fit: contain !important;
    object-position: center top !important;
    border-radius: 18px 18px 0 0 !important;
    box-shadow: none !important;
    background: #f8fafc !important;
}

/* Keep old outside feature image hidden */
main.article-page > .article-featured-image {
    display: none !important;
}
/* =========================================================
   FINAL FEATURE IMAGE — SAME LOGIC AS INLINE ARTICLE IMAGE
   Uses the same clean box behavior as article body images.
   ========================================================= */

/* Hide old feature image outside the article card */
main.article-page > .article-featured-image {
    display: none !important;
}

/* Featured image box inside article card */
.article-content > .article-featured-image {
    width: 100% !important;
    max-width: 100% !important;

    margin: 28px auto 34px auto !important;
    padding: 8px !important;

    border-radius: 22px !important;
    overflow: hidden !important;
    background: #f8fafc !important;
    border: 1px solid #e5edf5 !important;
    box-shadow: 0 14px 32px rgba(6, 40, 61, 0.12) !important;

    box-sizing: border-box !important;
    line-height: normal !important;
}

/* Featured image itself */
.article-content > .article-featured-image > img {
    width: 100% !important;
    max-width: 100% !important;

    height: auto !important;
    max-height: none !important;
    min-height: 0 !important;

    display: block !important;
    margin: 0 auto !important;
    padding: 0 !important;

    object-fit: contain !important;
    object-position: center top !important;

    background: #f8fafc !important;
    border-radius: 18px !important;
    box-shadow: none !important;
    transform: none !important;
    opacity: 1 !important;
    filter: none !important;
}

/* Prevent invisible overlay */
.article-content > .article-featured-image::before,
.article-content > .article-featured-image::after {
    content: none !important;
    display: none !important;
}
/* =========================================================
   FINAL FEATURE IMAGE BOX — NO WHITE COVER / NO PLACEHOLDER
   Same natural logic as inline article images.
   ========================================================= */

/* Hide old outside featured image if still present */
main.article-page > .article-featured-image {
    display: none !important;
}

/* Feature image inside article card */
.article-content > .article-featured-image {
    width: 100% !important;
    max-width: 100% !important;

    margin: 0 0 34px 0 !important;
    padding: 0 !important;

    background: transparent !important;
    border: 0 !important;
    border-radius: 22px !important;
    box-shadow: 0 14px 32px rgba(6, 40, 61, 0.12) !important;

    overflow: hidden !important;
    line-height: 0 !important;
    box-sizing: border-box !important;
    position: relative !important;
}

/* Remove any white/blue overlay from the feature box */
.article-content > .article-featured-image::before,
.article-content > .article-featured-image::after {
    content: none !important;
    display: none !important;
    background: transparent !important;
}

/* The image fills the box naturally */
.article-content > .article-featured-image > img {
    width: 100% !important;
    max-width: 100% !important;

    height: auto !important;
    max-height: none !important;
    min-height: 0 !important;

    display: block !important;
    margin: 0 !important;
    padding: 0 !important;

    object-fit: contain !important;
    object-position: center top !important;

    background: transparent !important;
    border-radius: 22px !important;
    box-shadow: none !important;

    transform: none !important;
    opacity: 1 !important;
    filter: none !important;
    mix-blend-mode: normal !important;
}



/* =========================================================
   NEW FEATURE IMAGE CONTAINER — CLEAN CLASS, NO OLD CSS
   This replaces .article-featured-image completely.
   Same natural logic as inline article images and ads.
   ========================================================= */

/* Hide any old leftover featured-image element */
main.article-page > .article-featured-image,
.article-content > .article-featured-image {
    display: none !important;
}

/* New clean feature image box */
.article-content > .article-main-feature-box {
    width: 100% !important;
    max-width: 100% !important;

    margin: 0 0 34px 0 !important;
    padding: 0 !important;

    background: #f8fafc !important;
    border: 1px solid #e5edf5 !important;
    border-radius: 22px !important;
    box-shadow: 0 14px 32px rgba(6, 40, 61, 0.12) !important;

    overflow: hidden !important;
    line-height: 0 !important;
    box-sizing: border-box !important;

    position: relative !important;
    z-index: 1 !important;
}

/* Remove any possible pseudo overlay */
.article-content > .article-main-feature-box::before,
.article-content > .article-main-feature-box::after {
    content: none !important;
    display: none !important;
}

/* Image sits naturally inside the box */
.article-content > .article-main-feature-box > img {
    width: 100% !important;
    max-width: 100% !important;

    height: auto !important;
    max-height: none !important;
    min-height: 0 !important;

    display: block !important;
    margin: 0 auto !important;
    padding: 0 !important;

    object-fit: contain !important;
    object-position: center top !important;

    background: #f8fafc !important;
    border-radius: 22px !important;
    box-shadow: none !important;

    transform: none !important;
    opacity: 1 !important;
    filter: none !important;
    mix-blend-mode: normal !important;
}

@media (max-width: 700px) {
    .article-content > .article-main-feature-box {
        margin: 0 0 26px 0 !important;
        border-radius: 18px !important;
    }

    .article-content > .article-main-feature-box > img {
        border-radius: 18px !important;
    }
}


/* =========================================================
   FINAL ARTICLE CARD REDESIGN
   Fixes white cover above featured image.
   Article card has no padding; inner content has padding.
   ========================================================= */

/* Hide old contaminated featured image class if any remains */
main.article-page > .article-featured-image,
.article-content > .article-featured-image {
    display: none !important;
}

/* The article card itself: no padding, no white strip above image */
.article-content {
    padding: 0 !important;
    overflow: hidden !important;
}

/* New clean featured image box, flush at top of article card */
.article-content > .article-main-feature-box {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;

    background: #f8fafc !important;
    border: 0 !important;
    border-bottom: 1px solid #e5edf5 !important;
    border-radius: 24px 24px 0 0 !important;
    box-shadow: none !important;

    overflow: hidden !important;
    line-height: 0 !important;
    box-sizing: border-box !important;
    position: relative !important;
    z-index: 1 !important;
}

.article-content > .article-main-feature-box::before,
.article-content > .article-main-feature-box::after {
    content: none !important;
    display: none !important;
}

.article-content > .article-main-feature-box > img {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    max-height: none !important;
    min-height: 0 !important;

    display: block !important;
    margin: 0 !important;
    padding: 0 !important;

    object-fit: contain !important;
    object-position: center top !important;

    background: #f8fafc !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    transform: none !important;
    opacity: 1 !important;
    filter: none !important;
    mix-blend-mode: normal !important;
}

/* All article text/source/comments now receive the padding */
.article-content-inner {
    padding: clamp(26px, 4vw, 46px) !important;
}

/* Restore elegant article text inside the new wrapper */
.article-content-inner > p {
    font-family: Georgia, "Times New Roman", Times, serif !important;
    font-size: 18.5px !important;
    line-height: 1.95 !important;
    color: #1f2937 !important;
    text-align: justify !important;
    text-justify: inter-word !important;
    text-align-last: left !important;
    margin: 0 0 26px 0 !important;
    letter-spacing: 0.01em !important;
    overflow-wrap: break-word !important;
    hyphens: auto !important;
}

.article-content-inner > p:first-of-type {
    font-size: 19px !important;
}

.article-content-inner > p strong,
.article-content-inner > p b {
    font-weight: 800 !important;
    color: #102f43 !important;
}

/* Body images keep the good inline-image box behavior */
.article-content-inner .article-body-image,
.article-content-inner figure:not(.article-main-feature-box),
.article-content-inner .article-inline-image {
    margin: 28px auto 30px !important;
    border-radius: 22px !important;
    overflow: hidden !important;
    background: #f8fafc !important;
    border: 1px solid #e5edf5 !important;
    box-shadow: 0 14px 32px rgba(6, 40, 61, 0.12) !important;
    clear: both !important;
}

.article-content-inner .article-body-image img,
.article-content-inner figure:not(.article-main-feature-box) img,
.article-content-inner .article-inline-image img {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
    margin: 0 auto !important;
    border-radius: 22px !important;
    object-fit: contain !important;
    background: #f8fafc !important;
}

/* Keep sources, comments, and sidebar normal */
.article-content-inner .article-sources-box,
.article-content-inner .article-sources-box p,
.article-content-inner .article-comments,
.article-content-inner .article-comments p,
.article-sidebar,
.article-sidebar p {
    text-align: left !important;
    text-align-last: auto !important;
}

@media (max-width: 700px) {
    .article-content-inner {
        padding: 24px !important;
    }

    .article-content > .article-main-feature-box {
        border-radius: 18px 18px 0 0 !important;
    }
}
/* =========================================================
   FINAL FEATURE IMAGE INSET BOX
   The feature image box goes down/inward so it cannot touch
   or fight with the article card border.
   ========================================================= */

/* Hide old external feature image if it still exists */
main.article-page > .article-featured-image {
    display: none !important;
}

/* Article card must not clip the feature box */
.article-content {
    overflow: visible !important;
}

/* Works for the new class and the old class */
.article-content > .article-main-feature-box,
.article-content > .article-featured-image {
    width: auto !important;
    max-width: none !important;

    /* This is the important part: space from article border */
    margin: 16px 16px 34px 16px !important;
    padding: 0 !important;

    background: #f8fafc !important;
    border: 1px solid #e5edf5 !important;
    border-radius: 22px !important;
    box-shadow: 0 14px 32px rgba(6, 40, 61, 0.12) !important;

    overflow: hidden !important;
    line-height: 0 !important;
    box-sizing: border-box !important;

    position: relative !important;
    z-index: 1 !important;
}

/* Remove any invisible overlay */
.article-content > .article-main-feature-box::before,
.article-content > .article-main-feature-box::after,
.article-content > .article-featured-image::before,
.article-content > .article-featured-image::after {
    content: none !important;
    display: none !important;
}

/* Image fits naturally inside the inset box */
.article-content > .article-main-feature-box > img,
.article-content > .article-featured-image > img {
    width: 100% !important;
    max-width: 100% !important;

    height: auto !important;
    max-height: none !important;
    min-height: 0 !important;

    display: block !important;
    margin: 0 auto !important;
    padding: 0 !important;

    object-fit: contain !important;
    object-position: center top !important;

    background: #f8fafc !important;
    border-radius: 20px !important;
    box-shadow: none !important;

    transform: none !important;
    opacity: 1 !important;
    filter: none !important;
    mix-blend-mode: normal !important;
}

@media (max-width: 700px) {
    .article-content > .article-main-feature-box,
    .article-content > .article-featured-image {
        margin: 12px 12px 26px 12px !important;
        border-radius: 18px !important;
    }

    .article-content > .article-main-feature-box > img,
    .article-content > .article-featured-image > img {
        border-radius: 16px !important;
    }
}

/* =========================================================
   SECOND FEATURE IMAGE TEST BOX
   This uses the same natural box logic as inline article images.
   It does NOT replace the current upper feature image yet.
   ========================================================= */

.feature-image-test-box {
    margin: 28px auto 34px auto !important;
    padding: 0 !important;

    border-radius: 22px !important;
    overflow: hidden !important;
    background: #f8fafc !important;
    border: 1px solid #e5edf5 !important;
    box-shadow: 0 14px 32px rgba(6, 40, 61, 0.12) !important;

    clear: both !important;
    line-height: 0 !important;
    box-sizing: border-box !important;
}

.feature-image-test-box img {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;

    display: block !important;
    margin: 0 auto !important;
    padding: 0 !important;

    object-fit: contain !important;
    object-position: center top !important;

    border-radius: 22px 22px 0 0 !important;
    background: #f8fafc !important;
    box-shadow: none !important;
}

.feature-image-test-box figcaption {
    padding: 9px 12px !important;
    color: #64748b !important;
    font-family: Arial, Helvetica, sans-serif !important;
    font-size: 12px !important;
    border-top: 1px solid #e5edf5 !important;
    text-align: left !important;
    line-height: 1.4 !important;
    background: #ffffff !important;
}
/* =========================================================
   FEATURE IMAGE TOP-BAND VISUAL CROP
   Use only because the image file itself contains a top strip.
   ========================================================= */

.article-content > .article-main-feature-box {
    overflow: hidden !important;
    background: #f8fafc !important;
}

.article-content > .article-main-feature-box > img {
    transform: translateY(-24px) !important;
    margin-bottom: -24px !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
}

/* AQUA FIX: clean inline image captions - no box */
.article-page .article-content-inner figure figcaption,
.article-page .article-content-inner .article-inline-image figcaption,
.article-page .article-content-inner .article-body-image figcaption,
.article-inline-image figcaption {
    display: block !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    outline: 0 !important;
    padding: 6px 4px 0 !important;
    margin: 0 !important;
    color: #64748b !important;
    font-size: 0.92rem !important;
    line-height: 1.45 !important;
    font-style: italic !important;
    font-family: Georgia, "Times New Roman", serif !important;
    text-align: center !important;
    border-radius: 0 !important;
}

/* Remove accidental caption wrapper boxes if editor saved them */
.article-page .article-content-inner figure .caption,
.article-page .article-content-inner figure .image-caption,
.article-page .article-content-inner figure .figcaption,
.article-page .article-content-inner figure .caption-box {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* AQUA BEAUTIFUL SOURCE CARDS */
.article-sources-box {
    margin-top: 36px;
    padding: 24px;
    border-radius: 22px;
    background: linear-gradient(135deg, #f8fafc, #eef7fb);
    border: 1px solid #d8e9f1;
    box-shadow: 0 14px 35px rgba(15, 23, 42, 0.08);
}

.article-sources-heading span {
    display: inline-block;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #0f766e;
    margin-bottom: 6px;
}

.article-sources-heading h2 {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    color: #0f2f3d;
    font-size: 28px;
}

.article-sources-heading p {
    margin: 6px 0 18px;
    color: #64748b;
}

.article-source-card {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: center;
    padding: 15px 16px;
    margin-top: 12px;
    border-radius: 16px;
    background: #ffffff;
    border: 1px solid #e2edf3;
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.06);
}

.article-source-card strong {
    display: block;
    font-family: Georgia, "Times New Roman", serif;
    color: #0f172a;
    font-size: 16px;
    line-height: 1.35;
}

.article-source-card small {
    display: block;
    margin-top: 4px;
    color: #64748b;
    font-size: 13px;
}

.article-source-card a {
    flex: 0 0 auto;
    text-decoration: none;
    padding: 9px 13px;
    border-radius: 999px;
    background: #0f766e;
    color: #ffffff;
    font-weight: 800;
    font-size: 13px;
}

.article-source-card a:hover {
    background: #0b5f59;
}

@media (max-width: 700px) {
    .article-source-card {
        display: block;
    }

    .article-source-card a {
        display: inline-block;
        margin-top: 12px;
    }
}
/* /AQUA BEAUTIFUL SOURCE CARDS */


/* =========================================================
   AquaLinked Media — Final Clean Homepage Post Cards
   ========================================================= */

.post-card {
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--soft-shadow);
    transition: transform 0.16s ease, box-shadow 0.16s ease;
}

.post-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.post-card .post-image {
    min-height: 210px;
    display: grid;
    place-items: center;
    background: #e8f1f2;
    overflow: hidden;
}

.post-card .post-image img {
    width: 100%;
    height: 235px;
    object-fit: cover;
    display: block;
}

.post-card .post-body {
    padding: 24px;
    background: #ffffff;
}

.post-card .post-body h3 {
    font-family: Georgia, "Times New Roman", serif;
    margin: 0 0 10px;
    font-size: 24px;
    line-height: 1.18;
    color: var(--deep);
}

.post-card .post-body h3 a {
    color: inherit;
    text-decoration: none;
}

.post-card .post-body h3 a:hover {
    color: var(--aqua);
}

.post-card .post-body p {
    color: var(--muted);
    margin: 0 0 14px;
}

.post-card .post-read-link {
    display: inline-flex;
    align-items: center;
    color: var(--blue);
    font-weight: 900;
    text-decoration: none;
}

.post-card .post-read-link:hover {
    color: var(--aqua);
}

.post-card .article-views-badge,
.post-card .post-category {
    display: none !important;
}

