:root{
    --primary:#2f8f9d;
    --primary-light:#14b8a6;
    --link-color:#1f6f7a;
    --link-hover:#155e67;
    --button-bg:#1f6f7a;
    --button-hover:#155e67;

    --bg-body:#fcfcfc;
    --bg-surface:#ffffff;
    --bg-surface-secondary:#f8fafc;
    --bg-surface-tertiary:#f1f5f9;

    --text-main:#222222;
    --text-heading:#0f172a;
    --text-muted:#475569;

    --border:#e5e7eb;
    --bg-light:#f8fafc;

    --white:#ffffff;
    --card-shadow:0 4px 20px rgba(0,0,0,0.05);

    --font-main:'Inter', sans-serif;
}

[data-theme="dark"]{
    --primary:#38bdf8;
    --primary-light:#2dd4bf;
    --link-color:#38bdf8;
    --link-hover:#7dd3fc;
    --button-bg:#0f766e;
    --button-hover:#14b8a6;

    --bg-body:#0b111e;
    --bg-surface:#131c2e;
    --bg-surface-secondary:#1a253a;
    --bg-surface-tertiary:#223049;

    --text-main:#e2e8f0;
    --text-heading:#f8fafc;
    --text-muted:#94a3b8;

    --border:#1e293b;
    --bg-light:#131c2e;

    --white:#131c2e;
    --card-shadow:0 8px 30px rgba(0,0,0,0.45);
}

/* ========================================
   GLOBAL
======================================== */

*,
*::before,
*::after{
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
    overflow-x:hidden !important;
    max-width:100vw !important;
}

body{
    margin:0;
    font-family:var(--font-main);
    color:var(--text-main);
    line-height:1.7;
    background:#fcfcfc;
    overflow-x:hidden !important;
    max-width:100vw !important;
    width:100%;
    position:relative;
}

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

iframe{
    border:0;
}

a{
    color:var(--link-color);
    text-decoration:none;
}

a:hover{
    color:var(--link-hover);
}

:focus-visible{
    outline:2px solid var(--primary);
    outline-offset:2px;
}

section{
    padding:80px 0;
}

.btn{
    border-radius:999px;
    font-weight:600;
}

.btn-primary{
    background:var(--button-bg);
    border-color:var(--button-bg);
    color:#ffffff !important;
}

.btn-primary:hover{
    background:var(--button-hover);
    border-color:var(--button-hover);
    color:#ffffff !important;
}

.visually-hidden-focusable:focus{
    position:fixed;
    top:12px;
    left:12px;
    z-index:100000;
    padding:10px 14px;
    background:#ffffff;
    color:#111111;
    border:2px solid var(--primary);
    border-radius:8px;
}

@media (max-width:768px){

    section{
        padding:56px 0;
    }
}

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

.hc-header{
    position: relative;
    z-index: 10050;
}

.hc-topbar{
    position: relative;
    z-index: 10060;
    background:#111111;
    color:#ffffff;
}

.hc-navbar{
    position: relative;
    z-index: 10050;
    background:#ffffff;
    border-bottom:1px solid var(--border);
    padding:16px 0;
}

.hc-site-title{
    font-weight:700;
    color:var(--text-main);
}

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

.navbar-brand{
    padding:0;
    margin:0;
    display:flex;
    align-items:center;
    min-width:0;
}

.hc-logo img,
.custom-logo{
    max-height:48px;
    width:auto;
}

@media (max-width:768px){

    .hc-logo img,
    .custom-logo{
        max-height:38px;
    }
}

/* ========================================
   DESKTOP NAVIGATION
/* ========================================
   DESKTOP NAVIGATION (PREMIUM ELEVATION)
======================================== */

.navbar-nav {
    gap: 4px;
    align-items: center;
}

.navbar-nav .menu-item {
    position: relative;
}

.navbar-nav .menu-item > a {
    position: relative;
    display: inline-flex;
    align-items: center;
    padding: 8px 15px;
    border-radius: 9px;
    color: var(--text-main, #334155);
    font-weight: 600;
    font-size: 0.93rem;
    letter-spacing: -0.01em;
    text-decoration: none;
    transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar-nav .menu-item > a:hover {
    color: var(--primary);
    background: rgba(47, 143, 157, 0.08);
    transform: translateY(-1px);
}

.navbar-nav .current-menu-item > a,
.navbar-nav .current-menu-parent > a,
.navbar-nav .current_page_item > a {
    color: var(--primary) !important;
    background: rgba(47, 143, 157, 0.1);
    font-weight: 600;
}

/* Subtle active bottom accent bar */
.navbar-nav .current-menu-item > a::before,
.navbar-nav .current_page_item > a::before {
    content: "";
    position: absolute;
    bottom: 2px;
    left: 14px;
    right: 14px;
    height: 2px;
    background: var(--primary);
    border-radius: 999px;
    pointer-events: none;
}

/* ========================================
   DESKTOP DROPDOWN (GLASSMORPHIC & ACCESSIBLE)
======================================== */

.navbar-nav .sub-menu {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;

    min-width: 260px;
    padding: 8px;
    margin: 0;

    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);

    border: 1px solid rgba(226, 232, 240, 0.85);
    border-radius: 14px;

    box-shadow: 0 20px 40px -12px rgba(15, 23, 42, 0.12), 0 0 0 1px rgba(226, 232, 240, 0.6);

    opacity: 0;
    visibility: hidden;

    transform: translateY(6px);
    transition: opacity 0.22s ease, transform 0.22s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.22s;

    z-index: 100000 !important;
}

.navbar-nav > li:last-child > .sub-menu,
.navbar-nav > li:nth-last-child(2) > .sub-menu {
    left: auto;
    right: 0;
}

.navbar-nav .sub-menu li {
    list-style: none;
    margin: 0;
    padding: 0;
}

.navbar-nav .sub-menu a {
    display: flex;
    align-items: center;
    padding: 9px 14px;
    border-radius: 8px;
    color: var(--text-main, #334155);
    font-size: 0.89rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.18s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar-nav .sub-menu a:hover {
    background: rgba(47, 143, 157, 0.08);
    color: var(--primary);
    transform: translateX(4px);
    font-weight: 600;
}

@media (min-width: 992px) {
    .navbar-nav .menu-item-has-children:hover > .sub-menu,
    .navbar-nav .menu-item-has-children:focus-within > .sub-menu,
    .navbar-nav .menu-item-has-children.touch-open > .sub-menu {
        opacity: 1 !important;
        visibility: visible !important;
        transform: translateY(0) !important;
        pointer-events: auto !important;
    }
}

.navbar-nav .menu-item-has-children > a::after {
    content: "";
    display: inline-block;
    width: 5px;
    height: 5px;
    border-right: 1.75px solid currentColor;
    border-bottom: 1.75px solid currentColor;
    transform: rotate(45deg);
    margin-left: 7px;
    margin-top: -2px;
    transition: transform 0.22s cubic-bezier(0.4, 0, 0.2, 1);
    vertical-align: middle;
    opacity: 0.7;
}

.navbar-nav .menu-item-has-children:hover > a::after,
.navbar-nav .menu-item-has-children:focus-within > a::after,
.navbar-nav .menu-item-has-children.touch-open > a::after {
    transform: rotate(-135deg);
    margin-top: 2px;
    opacity: 1;
}

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

[class*="hc-cat-"] > a {
    border-left: 3px solid transparent;
    padding-left: 15px !important;
}

.hc-cat-teal > a { border-left-color: #2F8F9D !important; }
.hc-cat-green > a { border-left-color: #6E8B74 !important; }
.hc-cat-blue > a { border-left-color: #263D88 !important; }
.hc-cat-red > a { border-left-color: #9F4F50 !important; }
.hc-cat-cream > a { border-left-color: #D6B656 !important; }
.hc-cat-dark > a { border-left-color: #1e293b !important; }

/* =========================
   STICKY CALENDAR NAV
========================= */

.hc-calendar-nav{
    position:sticky;
    top:0; /* Adjust this if you have a fixed top header */
    z-index:999;
    background:#ffffff;
    border-bottom:1px solid var(--border);
    padding:12px 0;
    box-shadow:0 10px 30px rgba(0,0,0,0.05);
}

.hc-calendar-nav .nav{
    display:flex;
    justify-content:center;
    gap:12px;
}

.hc-calendar-nav .nav-link{
    color:var(--text-muted);
    font-weight:700;
    font-size:0.9rem;
    padding:8px 18px;
    border-radius:999px;
    background:#f8fafc;
    border:1px solid var(--border);
    transition:all 0.2s ease;
}

.hc-calendar-nav .nav-link:hover{
    background:var(--primary);
    color:#ffffff;
    border-color:var(--primary);
}

@media (max-width: 991.98px){
    .hc-calendar-nav{
        padding:12px 0;
    }

    .hc-calendar-nav .hc-calendar-status-nav{
        margin-bottom: 0.85rem;
        justify-content: center;
    }

    .hc-calendar-nav .nav-link{
        font-size:0.82rem;
        padding:6px 14px;
    }

    .hc-calendar-search-wrap{
        width: 100%;
        margin-bottom: 0.35rem;
    }

    .hc-filter-form{
        width: 100%;
        justify-content: center;
    }
}

/* ========================================
   HAMBURGER BUTTON
======================================== */

.hc-menu-toggle,
.navbar-toggler{
    border:1.5px solid rgba(0,0,0,0.14);
    border-radius:12px;
    padding:8px 12px;

    background:#ffffff;

    transition:0.25s ease;
}

.hc-menu-toggle[aria-expanded="true"],
.navbar-toggler[aria-expanded="true"]{
    border:2px solid var(--primary);
    box-shadow:0 0 0 4px rgba(47,143,157,0.12);
}

.hc-menu-toggle:focus,
.navbar-toggler:focus{
    box-shadow:0 0 0 4px rgba(47,143,157,0.12);
}

.navbar-toggler-icon{
    width:1.1rem;
    height:1.1rem;
}

@media (max-width:991px){

    .navbar-toggler{
        padding:10px 14px;
    }

    .navbar-toggler-icon{
        width:1.2rem;
        height:1.2rem;
    }
}

@media (max-width:576px){

    .navbar-toggler{
        padding:7px 10px;
        border-radius:10px;
    }

    .navbar-toggler-icon{
        width:1rem;
        height:1rem;
    }
}

/* ========================================
   OFFCANVAS MOBILE MENU
======================================== */

.hc-mobile-menu{
    width: min(340px, 86vw);
    background: #ffffff;
    box-shadow: 10px 0 40px rgba(15, 23, 42, 0.14);
}

.hc-mobile-menu .offcanvas-header{
    padding: 18px 20px 14px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.hc-offcanvas-brand-text{
    font-family: var(--font-heading);
    font-size: 1.22rem;
    font-weight: 700;
    color: var(--text-main);
    text-decoration: none;
    letter-spacing: -0.01em;
}

.hc-offcanvas-close{
    padding: 8px;
    opacity: 0.7;
    transition: opacity 0.2s ease;
}

.hc-offcanvas-close:hover{
    opacity: 1;
}

.hc-offcanvas-section-label{
    display: block;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #94a3b8;
    margin: 14px 0 8px 4px;
}

.hc-mobile-nav{
    list-style: none;
    padding: 0;
    margin: 0;
}

.hc-mobile-nav > li{
    margin-bottom: 3px;
    border: none;
}

.hc-mobile-nav a{
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    border-radius: 10px;
    color: var(--text-main);
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.18s cubic-bezier(0.4, 0, 0.2, 1);
}

.hc-mobile-nav a:hover,
.hc-mobile-nav a:active{
    background: rgba(47, 143, 157, 0.07);
    color: var(--primary);
}

.hc-mobile-nav .current-menu-item > a,
.hc-mobile-nav .current-menu-parent > a{
    background: rgba(47, 143, 157, 0.09);
    color: var(--primary);
    font-weight: 600;
}

.hc-mobile-nav .sub-menu{
    display: none;
    list-style: none;
    margin: 4px 0 6px 12px;
    padding: 6px 8px;
    background: #f8fafc;
    border-radius: 10px;
    border-left: 2px solid var(--primary);
}

.hc-mobile-nav .menu-item-has-children.open > .sub-menu{
    display: block;
    animation: hcFadeSlideDown 0.2s ease-out;
}

@keyframes hcFadeSlideDown {
    from {
        opacity: 0;
        transform: translateY(-4px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hc-mobile-nav .sub-menu a{
    padding: 8px 12px;
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--text-muted);
    border-radius: 8px;
}

.hc-mobile-nav .sub-menu a:hover{
    color: var(--primary);
    background: rgba(47, 143, 157, 0.06);
}

.hc-mobile-nav .menu-item-has-children > a{
    cursor: pointer;
}

.hc-mobile-nav .menu-item-has-children > a::after{
    content: "";
    display: inline-block;
    width: 7px;
    height: 7px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(-45deg);
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    margin-left: 10px;
    flex-shrink: 0;
}

.hc-mobile-nav .menu-item-has-children.open > a::after{
    transform: rotate(45deg);
}

/* Quick Links inside Offcanvas */
.hc-mobile-quick-links li{
    margin-bottom: 3px;
}

.hc-mobile-quick-links a{
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    border-radius: 10px;
    color: var(--text-main);
    font-size: 0.92rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.18s ease;
}

.hc-mobile-quick-links a i{
    width: 18px;
    color: var(--primary);
    font-size: 0.95rem;
    text-align: center;
}

.hc-mobile-quick-links a:hover{
    background: #f8fafc;
    color: var(--primary);
    transform: translateX(3px);
}

/* Offcanvas Footer & Social */
.hc-mobile-social-icon{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #f1f5f9;
    color: #475569;
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.2s ease;
}

.hc-mobile-social-icon:hover{
    background: var(--primary);
    color: #ffffff;
    transform: translateY(-2px);
}

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

.hc-search-form{
    display:flex;
    align-items:center;

    overflow:hidden;

    width:100%;

    background:#ffffff;

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

    transition:0.2s ease;
}

.hc-header-search{
    width:min(360px, 42vw);
}

.hc-search-form:focus-within{
    border-color:var(--primary);
    box-shadow:0 0 0 3px rgba(47,143,157,0.12);
}

.hc-search-input{
    width:100%;
    min-width:0;

    padding:10px 16px;

    border:none;
    outline:none;

    background:transparent;

    font-size:0.95rem;
}

.hc-search-button{
    border:none;
    background:none;

    padding:0 16px;

    cursor:pointer;
    font-size:1rem;
    flex-shrink:0;
}

.hc-mobile-search-btn{
    border:none;
    background:none;

    padding:6px 10px;

    color:#ffffff;
    font-size:1.3rem;

    cursor:pointer;
}

.hc-mobile-search-wrap{
    background:#ffffff;
    border-top:1px solid rgba(0,0,0,0.06);
    border-bottom:1px solid rgba(0,0,0,0.12);
    box-shadow: 0 14px 28px -6px rgba(0, 0, 0, 0.14), 0 6px 12px -3px rgba(0, 0, 0, 0.08);
    position: relative;
    z-index: 1040;
}

.hc-mobile-search-wrap .hc-search-form {
    border: 1.5px solid rgba(0, 0, 0, 0.16) !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08) !important;
    background: #ffffff !important;
}

[data-theme="dark"] .hc-mobile-search-wrap {
    background: #0f172a !important;
    border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-bottom: 1px solid #334155 !important;
    box-shadow: 0 14px 28px -6px rgba(0, 0, 0, 0.6), 0 6px 12px -3px rgba(0, 0, 0, 0.4) !important;
}

[data-theme="dark"] .hc-mobile-search-wrap .hc-search-form {
    background: #1e293b !important;
    border: 1.5px solid #475569 !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4) !important;
}

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

.hc-hero{
    position:relative;

    min-height:100vh;

    display:flex;
    align-items:center;

    overflow-x: clip;
    overflow-y: visible;

    background-color:#111827;
    background-size:cover;
    background-position:center;
    background-repeat:no-repeat;

    color:#ffffff;
}

.hc-hero::before{
    content:"";

    position:absolute;
    inset:0;

    background:
        linear-gradient(
            to right,
            rgba(0,0,0,0.78),
            rgba(0,0,0,0.45)
        );

    z-index:1;
}

.hc-hero .container{
    position:relative;
    z-index:2;
}

.hc-hero-content{
    max-width:720px;
}

.hc-hero-label{
    display:inline-block;

    margin-bottom:24px;

    padding:8px 14px;

    background:rgba(255,255,255,0.12);

    border:1px solid rgba(255,255,255,0.18);
    border-radius:999px;

    backdrop-filter:blur(6px);

    font-size:0.85rem;
    font-weight:600;
    letter-spacing:0.04em;
}

.hc-hero h1{
    margin-bottom:24px;

    font-size:clamp(2.5rem, 6vw, 5.5rem);
    line-height:1.05;
    font-weight:700;

    color:#ffffff;
}

.hc-hero .lead{
    max-width:650px;

    font-size:1.2rem;
    line-height:1.9;

    color:rgba(255,255,255,0.92);
}

.hc-hero-buttons{
    display:flex;
    flex-wrap:wrap;
    gap:16px;
    max-width: 560px;
    width: 100%;
    margin-top:32px;
}

.hc-hero .btn,
.hc-hero-buttons .btn{
    flex: 1 1 0;
    min-width: 160px;
    text-align: center;
    padding:14px 28px;

    border-radius:999px;

    font-weight:600;
}

.hc-hero .btn-outline-light{
    border-width:2px;
}

.hc-hero-row{
    min-height:100vh;
}

@media (min-width:769px) and (max-width:991px){

    .hc-hero{
        min-height:78vh;
        padding:88px 0;
        align-items:center;
    }

    .hc-hero .row{
        min-height:auto !important;
    }

    .hc-hero-content{
        max-width:680px;
    }

    .hc-hero h1{
        max-width:680px;
        font-size:clamp(2.6rem, 6vw, 4rem);
        line-height:1.08;
    }

    .hc-hero .lead{
        max-width:620px;
        font-size:1.12rem;
        line-height:1.75;
    }
}

@media (max-width:991px){

    .hc-hero-row{
        min-height:auto;
    }
}

@media (max-width:768px){

    .hc-hero{
        min-height:82vh;
        padding:70px 0;
    }

    .hc-hero h1{
        font-size:2.2rem;
        line-height:1.1;
    }

    .hc-hero .lead{
        font-size:1.05rem;
        line-height:1.8;
    }

    .hc-hero-buttons{
        gap:12px;
        width: 100%;
    }

    .hc-hero-buttons .btn{
        width:100%;
        min-width: 100%;
        flex: 1 1 100%;

        padding:12px 18px;

        text-align:center;

        font-size:0.95rem;
    }
}

/* ========================================
   SECTION HEADINGS
======================================== */

.hc-section-heading{
    margin-bottom:40px;
}

.hc-section-heading h2{
    margin-bottom:12px;
    font-size:clamp(1.65rem, 2.4vw, 2.15rem);
    font-weight:700;
    line-height:1.25;
    letter-spacing:-0.015em;
    color:var(--text-main);
}

.hc-section-heading p{
    color:var(--text-muted);
    font-size:1.05rem;
    line-height:1.6;
}

.hc-section-label{
    display:inline-block;
    margin-bottom:10px;
    color:var(--primary);
    font-size:0.78rem;
    font-weight:700;
    text-transform:uppercase;
    letter-spacing:0.08em;
}

/* ========================================
   CATEGORY CARDS
======================================== */

.hc-category-card{
    position:relative;
    overflow:hidden;

    height:100%;

    padding:24px;

    background:#ffffff;

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

    box-shadow:0 2px 10px rgba(0,0,0,0.03);

    transition:0.2s ease;
}

.hc-category-card::before{
    content:"";

    position:absolute;
    top:0;
    left:0;

    width:100%;
    height:4px;
}

.hc-category-card:hover{
    transform:translateY(-4px);
    box-shadow:0 15px 35px rgba(0,0,0,0.06);
}

.hc-category-title{
    font-size:1.2rem;
    margin:0;
}

.hc-category-title a{
    color:var(--text-main);
}

.hc-category-title a:hover{
    color:var(--primary);
}

.hc-category-desc{
    color:var(--text-muted);
    font-size:0.95rem;
}

.hc-category-posts{
    list-style:none;
    margin:18px 0 0;
    padding:14px 0 0;
    border-top:1px solid var(--border);
}

.hc-category-posts li{
    position:relative;
    margin-bottom:10px;
    padding-left:16px;
}

.hc-category-posts li::before{
    content:"";
    position:absolute;
    left:0;
    top:0.78em;
    width:5px;
    height:5px;
    border-radius:50%;
    background:var(--primary);
}

.hc-category-posts a{
    color:#334155;
    font-size:0.92rem;
    font-weight:600;
    line-height:1.45;
}

.hc-category-posts a:hover{
    color:var(--primary);
}

.hc-category-card.hc-cat-teal::before{
    background:#2F8F9D;
}

.hc-category-card.hc-cat-green::before{
    background:#6E8B74;
}

.hc-category-card.hc-cat-blue::before{
    background:#263D88;
}

.hc-category-card.hc-cat-red::before{
    background:#9F4F50;
}

.hc-category-card.hc-cat-cream::before{
    background:#D6B656;
}

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

.hc-post-card, .hc-category-card, .hc-sidebar-box, .hc-featured-article, .hc-author-box, .hc-newsletter, .hc-article-toc, .hc-article-disclaimer {
    backdrop-filter: blur(8px);
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(229, 231, 235, 0.5);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease, background 0.3s ease;
}

.hc-post-card:hover, .hc-category-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    background: rgba(255, 255, 255, 0.95);
}

/* FORCE DARK THEME FOR BROWSE/START CARDS */
.hc-category-card.hc-cat-dark,
.hc-browse-card {
    background: #1e293b !important;
    color: #ffffff !important;
    border: 1px solid rgba(255,255,255,0.1) !important;
}

.hc-category-card.hc-cat-dark .hc-category-title a,
.hc-category-card.hc-cat-dark .hc-category-desc,
.hc-category-card.hc-cat-dark .hc-browse-link,
.hc-browse-card .hc-category-title a,
.hc-browse-card .hc-category-desc,
.hc-browse-card .hc-browse-link {
    color: #ffffff !important;
}

.hc-category-card.hc-cat-dark:hover,
.hc-browse-card:hover {
    background: #0f172a !important;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2) !important;
    transform: translateY(-8px);
}

.hc-hero h1 {
    letter-spacing: -0.02em;
    text-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.hc-article-title {
    font-weight: 800;
    letter-spacing: -0.01em;
}

.hc-article-content p {
    margin-bottom: 1.8rem;
}

/* Responsive Spacing Audit */
@media (max-width: 991px) {
    section { padding: 60px 0; }
}

@media (max-width: 767px) {
    section { padding: 48px 0; }
    .container { padding-left: 20px; padding-right: 20px; }
    .hc-hero { min-height: 70vh; }
    .hc-hero h1 { font-size: 1.8rem; }
}

.hc-card-image{
    display:block;
    overflow:hidden;
    background:#eef2f7;
}

.hc-card-image img{
    width:100%;
    aspect-ratio:3 / 2;
    object-fit:cover;
    transition:transform 0.25s ease;
}

.hc-post-card:hover .hc-card-image img{
    transform:scale(1.03);
}

.hc-card-content{
    padding:22px;
}

.hc-card-category{
    display:block;
    margin-bottom:10px;
    color:var(--primary);
    font-size:0.75rem;
    font-weight:700;
    text-transform:uppercase;
    letter-spacing:0.06em;
}

.hc-card-category a{
    color:var(--primary);
}

.hc-card-title{
    margin:0 0 12px;
    font-size:1.22rem;
    line-height:1.35;
    font-weight:700;
}

.hc-card-title a{
    color:#0f172a;
    font-weight:700;
    letter-spacing:-0.015em;
    text-decoration:none;
    transition:color 0.2s ease;
}

.hc-card-title a:hover{
    color:var(--primary);
}

.hc-card-excerpt{
    margin-bottom:16px;
    color:var(--text-muted);
    font-size:0.95rem;
}

.hc-card-meta{
    color:var(--text-muted);
    font-size:0.82rem;
    font-weight:500;
}

/* =========================
   FEATURED ARTICLE
========================= */

.hc-featured-section {
    background: #f8fafc;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.hc-featured-article {
    background: #ffffff;
    border: 1px solid rgba(226, 232, 240, 0.85);
    border-radius: 24px;
    padding: 38px 42px;
    box-shadow: 0 12px 35px rgba(15, 23, 42, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hc-featured-article:hover {
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.08);
}

.hc-featured-image-wrap {
    overflow: hidden;
    border-radius: 18px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
    aspect-ratio: 16 / 10;
}

.hc-featured-image-wrap a {
    display: block;
    width: 100%;
    height: 100%;
}

.hc-featured-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.hc-featured-article:hover .hc-featured-img {
    transform: scale(1.03);
}

.hc-featured-badge {
    background: rgba(13, 148, 136, 0.1) !important;
    color: #0f766e !important;
    font-weight: 700;
    font-size: 0.76rem !important;
    letter-spacing: 0.04em;
    padding: 5px 12px;
    border-radius: 50px;
    border: 1px solid rgba(13, 148, 136, 0.2);
}

.hc-featured-cat-pill {
    display: inline-block;
    background: #f1f5f9;
    color: #475569;
    font-size: 0.76rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 50px;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
}

.hc-featured-cat-pill:hover {
    background: #e2e8f0;
    color: #0f172a;
}

.hc-featured-read-time {
    font-size: 0.78rem;
    color: #64748b;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
}

.hc-featured-title {
    font-size: clamp(1.65rem, 2.8vw, 2.35rem);
    font-weight: 750;
    line-height: 1.25;
    letter-spacing: -0.02em;
    margin: 0;
}

.hc-featured-title a {
    color: #0f172a;
    text-decoration: none;
    transition: color 0.2s ease;
}

.hc-featured-title a:hover {
    color: var(--primary);
}

.hc-featured-excerpt {
    font-size: 1.02rem;
    line-height: 1.65;
    color: #475569;
}

.hc-featured-footer {
    border-top: 1px solid #f1f5f9;
}

.hc-featured-author {
    gap: 2px;
}

.hc-featured-avatar {
    width: 38px;
    height: 38px;
    border: 2px solid #ffffff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.hc-featured-author-name {
    font-size: 0.88rem;
    font-weight: 600;
    color: #1e293b;
    line-height: 1.2;
}

.hc-featured-date {
    font-size: 0.78rem;
}

.hc-featured-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-weight: 600;
    border-radius: 10px;
    padding: 10px 22px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.hc-featured-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(13, 148, 136, 0.25);
}

@media (max-width: 991.98px) {
    .hc-featured-article {
        padding: 28px 24px;
        border-radius: 20px;
    }
    .hc-featured-title {
        font-size: 1.70rem;
    }
}

@media (max-width: 767.98px) {
    .hc-featured-article {
        padding: 22px 18px;
        border-radius: 16px;
    }
    .hc-featured-title {
        font-size: 1.38rem;
        line-height: 1.3;
    }
    .hc-featured-excerpt {
        font-size: 0.94rem;
        line-height: 1.55;
    }
    .hc-featured-footer {
        flex-direction: column;
        align-items: flex-start !important;
        gap: 16px;
    }
    .hc-featured-btn {
        width: 100%;
        justify-content: center;
    }
}

/* FEATURE */

.hc-feature-box{
    padding:50px;
    background:#f3f4f6;
    border-radius:20px;
}

/* CTA */

.hc-cta{
    padding:80px 0;
    background:var(--bg-light);
}

/* BLOG PAGE */

.hc-blog-header{
    max-width:800px;
    margin-inline:auto;
}

.hc-featured-post .hc-post-card{
    overflow:hidden;
}

.hc-featured-post .hc-card-title{
    font-size:2rem;
    line-height:1.2;
}

.hc-blog-categories{
    border-top:1px solid var(--border);
    border-bottom:1px solid var(--border);
    padding:20px 0;
}

/* BLOG PAGE FLOATING SEARCH BAR */
.hc-blog-search-wrap .hc-search-form{
    background:#ffffff;
    border:1px solid rgba(0,0,0,0.08);
    border-radius:999px;
    box-shadow:0 10px 25px -5px rgba(0,0,0,0.08), 0 8px 10px -6px rgba(0,0,0,0.04);
    padding:4px 6px;
    transition:all 0.25s ease;
}

.hc-blog-search-wrap .hc-search-form:focus-within{
    border-color:var(--primary);
    box-shadow:0 12px 30px -5px rgba(47,143,157,0.2), 0 0 0 3px rgba(47,143,157,0.12);
    transform:translateY(-1px);
}

.hc-blog-search-wrap .hc-search-input{
    padding:12px 20px;
    font-size:1rem;
    color:var(--text-main);
}

.hc-blog-search-wrap .hc-search-button{
    padding:0 20px;
    font-size:1.1rem;
    color:var(--primary);
    transition:transform 0.2s ease;
}

.hc-blog-search-wrap .hc-search-button:hover{
    transform:scale(1.1);
}

[data-theme="dark"] .hc-blog-search-wrap .hc-search-form{
    background:#131c2e !important;
    border:2px solid #334155 !important;
    box-shadow:0 10px 30px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.08) !important;
}

[data-theme="dark"] .hc-blog-search-wrap .hc-search-form:focus-within{
    border-color:#38bdf8 !important;
    box-shadow:0 12px 35px rgba(0, 0, 0, 0.7), 0 0 0 3px rgba(56, 189, 248, 0.25) !important;
    transform:translateY(-2px);
}

[data-theme="dark"] .hc-blog-search-wrap .hc-search-input{
    color:#f8fafc !important;
}

[data-theme="dark"] .hc-blog-search-wrap .hc-search-input::placeholder{
    color:#94a3b8 !important;
}

[data-theme="dark"] .hc-blog-search-wrap .hc-search-button{
    color:#38bdf8 !important;
}

/* ==========================================================================
   STATIC PAGES TYPOGRAPHY HIERARCHY (H1 TO H6)
   Clean, institutional, well-differentiated hierarchy with NO post decorations
   ========================================================================== */

.hc-page {
    max-width: 860px;
    margin-left: auto;
    margin-right: auto;
}

/* Page H1 Title */
.hc-page header h1,
.hc-page > header > h1,
.hc-page h1:not(.hc-page-content h1) {
    font-size: clamp(2.25rem, 4vw, 2.75rem);
    font-weight: 800;
    line-height: 1.22;
    color: #0f172a; /* Slate 900 */
    letter-spacing: -0.025em;
    margin-top: 0;
    margin-bottom: 1.5rem;
    border: none !important;
    padding: 0 !important;
}

.hc-page-content {
    font-size: 1.06rem;
    line-height: 1.85;
    color: #334155; /* Slate 700 */
}

/* Page Content H1 (if used within page body) */
.hc-page-content h1 {
    font-size: clamp(2.1rem, 3.6vw, 2.5rem);
    font-weight: 800;
    line-height: 1.25;
    color: #0f172a;
    letter-spacing: -0.02em;
    margin-top: 2.75rem;
    margin-bottom: 1.25rem;
    border: none !important;
    padding: 0 !important;
}

/* Page Content H2: Distinct section heading, clean and authoritative */
.hc-page-content h2 {
    font-size: clamp(1.6rem, 2.7vw, 1.85rem) !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
    color: #1e293b !important; /* Slate 800 - distinct from H1 */
    letter-spacing: -0.015em !important;
    margin-top: 2.75rem !important;
    margin-bottom: 1rem !important;
    border-left: none !important;
    border-bottom: none !important;
    padding-left: 0 !important;
    padding-bottom: 0 !important;
    background: none !important;
}

/* Page Content H3: Clean sub-section heading without underline accent */
.hc-page-content h3 {
    font-size: clamp(1.28rem, 2.1vw, 1.42rem) !important;
    font-weight: 600 !important;
    line-height: 1.35 !important;
    color: #334155 !important; /* Slate 700 */
    letter-spacing: -0.01em !important;
    margin-top: 2.2rem !important;
    margin-bottom: 0.85rem !important;
    border-left: none !important;
    border-bottom: none !important; /* No underline divider like in posts */
    padding-left: 0 !important;
    padding-bottom: 0 !important;
    background: none !important;
}

/* Page Content H4: Minor topic heading, strictly NO bullets */
.hc-page-content h4 {
    font-size: clamp(1.1rem, 1.6vw, 1.2rem) !important;
    font-weight: 600 !important;
    line-height: 1.4 !important;
    color: #334155 !important;
    margin-top: 1.75rem !important;
    margin-bottom: 0.65rem !important;
    border: none !important;
    padding: 0 !important;
}

.hc-page-content h4::before,
.hc-page-content h3::before,
.hc-page-content h2::before,
.hc-page-content h1::before {
    content: none !important;
    display: none !important;
}

/* Page Content H5: Small topic title */
.hc-page-content h5 {
    font-size: 1.02rem !important;
    font-weight: 600 !important;
    line-height: 1.45 !important;
    color: #475569 !important; /* Slate 600 */
    text-transform: none !important;
    letter-spacing: normal !important;
    margin-top: 1.5rem !important;
    margin-bottom: 0.5rem !important;
    border: none !important;
    padding: 0 !important;
}

/* Page Content H6: Fine subtitle / caption header */
.hc-page-content h6 {
    font-size: 0.88rem !important;
    font-weight: 600 !important;
    line-height: 1.4 !important;
    color: #64748b !important; /* Slate 500 */
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
    margin-top: 1.25rem !important;
    margin-bottom: 0.5rem !important;
    border: none !important;
    padding: 0 !important;
}

.hc-page-content img {
    border-radius: 12px;
    margin: 2rem 0;
}

/* Responsive adjustments for Pages on Tablet & Mobile */
@media (max-width: 991px) {
    .hc-page header h1,
    .hc-page > header > h1,
    .hc-page h1:not(.hc-page-content h1) {
        font-size: 2.15rem !important;
        font-weight: 800 !important;
        line-height: 1.22 !important;
        margin-bottom: 1.25rem !important;
    }
    .hc-page-content h2 {
        font-size: 1.48rem !important;
        font-weight: 700 !important;
        line-height: 1.32 !important;
        margin-top: 2.25rem !important;
        margin-bottom: 0.85rem !important;
    }
    .hc-page-content h3 {
        font-size: 1.25rem !important;
        margin-top: 1.75rem !important;
        margin-bottom: 0.65rem !important;
    }
}

@media (max-width: 767px) {
    .hc-page header.mb-5,
    .hc-page > header {
        margin-bottom: 1.75rem !important;
    }
    .hc-page header h1,
    .hc-page > header > h1,
    .hc-page h1:not(.hc-page-content h1) {
        font-size: 1.75rem !important;
        font-weight: 800 !important;
        line-height: 1.22 !important;
        letter-spacing: -0.02em !important;
        color: var(--text-main, #0f172a);
        margin-bottom: 0.85rem !important;
    }
    .hc-page-content {
        font-size: 1.02rem;
        line-height: 1.78;
    }
    .hc-page-content h2 {
        font-size: 1.32rem !important;
        font-weight: 700 !important;
        line-height: 1.34 !important;
        color: var(--text-main, #1e293b);
        margin-top: 2rem !important;
        margin-bottom: 0.75rem !important;
    }
    .hc-page-content h3 {
        font-size: 1.18rem !important;
        line-height: 1.35 !important;
        margin-top: 1.65rem !important;
        margin-bottom: 0.65rem !important;
    }
    .hc-page-content h4 {
        font-size: 1.05rem !important;
        margin-top: 1.4rem !important;
    }
    .hc-page-content h5 {
        font-size: 0.95rem !important;
        margin-top: 1.25rem !important;
    }
    .hc-page-content h6 {
        font-size: 0.85rem !important;
        margin-top: 1rem !important;
    }
}

@media (max-width: 480px) {
    .hc-page header.mb-5,
    .hc-page > header {
        margin-bottom: 1.35rem !important;
    }
    .hc-page header h1,
    .hc-page > header > h1,
    .hc-page h1:not(.hc-page-content h1) {
        font-size: 1.60rem !important;
        font-weight: 800 !important;
        line-height: 1.24 !important;
        margin-bottom: 0.65rem !important;
    }
    .hc-page-content h2 {
        font-size: 1.22rem !important;
        margin-top: 1.75rem !important;
    }
    .hc-page-content h3 {
        font-size: 1.10rem !important;
    }
}

/* ARTICLE */

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

.hc-article-title{
    font-size:clamp(2rem, 3.5vw, 2.5rem);
    font-weight:800;
    line-height:1.22;
    letter-spacing:-0.02em;
    color:var(--text-main, #0f172a);
}

@media (max-width:991.98px){
    .hc-article-title{
        font-size:1.85rem !important;
        line-height:1.25;
    }
}

@media (max-width:767.98px){
    .hc-article-title{
        font-size:1.50rem !important;
        line-height:1.28;
        letter-spacing:-0.015em;
    }
}

@media (max-width:480px){
    .hc-article-title{
        font-size:1.38rem !important;
        line-height:1.30;
    }
}

.hc-article-meta{
    color:var(--text-muted);
    font-size:0.92rem;
    display:flex;
    flex-wrap:wrap;
    align-items:center;
    gap:8px 16px;
    margin-top:0.75rem;
    margin-bottom:1.5rem;
}

.hc-meta-author-wrap,
.hc-meta-details-wrap,
.hc-meta-badge-wrap{
    display:inline-flex;
    align-items:center;
    gap:8px;
    flex-wrap:nowrap;
}

.hc-author-link{
    color:var(--text-main);
    font-weight:600;
}

.hc-author-link:hover{
    color:var(--primary);
    text-decoration:underline;
}

.hc-author-designation{
    color:var(--text-muted);
    font-weight:400;
}

.hc-meta-sep{
    color:#cbd5e1;
    font-size:0.8rem;
    user-select:none;
}

@media (max-width:768px){
    .hc-article-meta{
        display:flex;
        flex-direction:column;
        align-items:flex-start;
        gap:8px;
        padding:14px 16px;
        background:#f8fafc;
        border:1px solid var(--border);
        border-radius:14px;
        font-size:0.875rem;
    }

    .hc-meta-author-wrap{
        width:100%;
        flex-wrap:wrap;
        gap:4px 6px;
        font-size:0.925rem;
    }

    .hc-meta-details-wrap{
        width:100%;
        display:flex;
        align-items:center;
        gap:8px;
        color:var(--text-muted);
        font-size:0.825rem;
        flex-wrap:wrap;
    }

    .hc-meta-badge-wrap{
        width:100%;
        margin-top:2px;
    }
}

.hc-article-category a{
    color:var(--primary);
    font-weight:600;
    text-decoration:none;
}

.hc-article-image img{
    width:100%;
    height:auto;
}

.hc-article-content{
    font-size:1.08rem;
    line-height:1.9;
}

.hc-article-content h2,
.hc-article-content h3{
    margin-top:2.5rem;
    margin-bottom:1rem;
    line-height:1.3;
}

.hc-article-content p{
    margin-bottom:1.5rem;
}

.hc-article-content ul,
.hc-article-content ol{
    margin-bottom:1.5rem;
    padding-left:1.5rem;
}

.hc-article-content img{
    max-width:100%;
    height:auto;
}

.hc-article-content a:not(.btn):not([class*="btn"]),
.hc-page-content a:not(.btn):not([class*="btn"]),
.hc-sidebar-box .hc-awareness-updates a:not(.btn):not([class*="btn"]),
.hc-awareness-updates a:not(.btn):not([class*="btn"]){
    color:#1f6f7a;
    font-weight:600;
    text-decoration:underline;
    text-underline-offset:0.14em;
    transition:0.2s ease;
}

.hc-article-content a:not(.btn):not([class*="btn"]):hover,
.hc-page-content a:not(.btn):not([class*="btn"]):hover,
.hc-sidebar-box .hc-awareness-updates a:not(.btn):not([class*="btn"]):hover,
.hc-awareness-updates a:not(.btn):not([class*="btn"]):hover{
    color:#155e67;
    text-decoration-thickness:2px;
}

/* SIDEBAR (NON-STICKY FOR BETTER FLUIDITY) */

.hc-sidebar-sticky{
    position: relative; /* Disabling sticky for better natural flow */
    align-self: flex-start;
}

.hc-sidebar-box{
    background:#ffffff;
    border:1px solid var(--border);
    border-radius:18px;
    padding:20px; /* Reduced from 24px */
    box-shadow:0 2px 10px rgba(0,0,0,0.03);
    margin-bottom: 1.5rem !important; /* Consistent spacing */
}

.hc-sidebar-box h3,
.hc-sidebar-box h4{
    margin-bottom:20px;
}

.hc-sidebar-box a{
    color:var(--text-main);
    text-decoration:none;
    transition:0.2s ease;
}

.hc-sidebar-box a:hover{
    color:var(--primary);
}

@media (max-width:991px){

    .hc-sidebar-sticky{
        position:static;
    }
}

/* ========================================
   EXPLORE CATEGORIES SIDEBAR WIDGET
======================================== */

/* ========================================
   UNIVERSAL SIDEBAR TITLES & ICONS
======================================== */

.hc-sidebar-box-title{
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.hc-sidebar-icon{
    font-size: 1rem;
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

/* ========================================
   RELATED HEALTH TOPICS SIDEBAR WIDGET
======================================== */

.hc-related-topics-list{
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.hc-related-topic-item{
    list-style: none;
    margin: 0;
    padding: 0;
}

.hc-related-topic-link{
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 9px 12px;
    border-radius: 12px;
    background: #f8fafc;
    border: 1px solid rgba(226, 232, 240, 0.85);
    text-decoration: none !important;
    transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
}

.hc-related-topic-thumb{
    width: 48px;
    height: 48px;
    border-radius: 9px;
    object-fit: cover;
    flex-shrink: 0;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.hc-related-topic-placeholder{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 9px;
    background: rgba(47, 143, 157, 0.08);
    color: var(--primary);
    font-size: 1.15rem;
    flex-shrink: 0;
    border: 1px solid rgba(47, 143, 157, 0.15);
}

.hc-related-topic-info{
    flex-grow: 1;
    min-width: 0;
}

.hc-related-topic-meta{
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px 6px;
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.03em;
    margin-bottom: 3px;
    line-height: 1.2;
}

.hc-related-topic-cat{
    max-width: 135px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.hc-related-topic-read-badge{
    display: inline-flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
    flex-shrink: 0;
}

.hc-related-topic-sep{
    color: #94a3b8;
    font-size: 0.7rem;
}

.hc-related-topic-time{
    color: #64748b;
    font-weight: 500;
    text-transform: none;
}

.hc-related-topic-title{
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1.35;
    color: var(--text-main);
    transition: color 0.18s ease;
}

.hc-related-topic-link:hover{
    background: #ffffff;
    border-color: var(--primary);
    box-shadow: 0 4px 14px rgba(47, 143, 157, 0.08);
    transform: translateX(3px);
}

.hc-related-topic-link:hover .hc-related-topic-title{
    color: var(--primary);
}

/* ========================================
   EXPLORE CATEGORIES SIDEBAR WIDGET
======================================== */

.hc-category-list{
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.hc-category-item{
    list-style: none;
    margin: 0;
    padding: 0;
}

.hc-category-link{
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 9px 12px;
    border-radius: 10px;
    background: #f8fafc;
    border: 1px solid rgba(226, 232, 240, 0.85);
    color: var(--text-main) !important;
    text-decoration: none !important;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
}

.hc-category-name-wrap{
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.hc-category-dot{
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--primary);
    opacity: 0.6;
    flex-shrink: 0;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.hc-category-name{
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.hc-category-meta{
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
    margin-left: 8px;
}

.hc-category-count{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 22px;
    padding: 0 7px;
    font-size: 0.74rem;
    font-weight: 600;
    color: #64748b;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 999px;
    transition: all 0.2s ease;
}

.hc-category-arrow{
    font-size: 0.7rem;
    color: #94a3b8;
    transition: transform 0.2s ease, color 0.2s ease;
}

.hc-category-link:hover{
    background: #ffffff;
    border-color: var(--primary);
    color: var(--primary) !important;
    box-shadow: 0 4px 12px rgba(47, 143, 157, 0.08);
    transform: translateX(4px);
}

.hc-category-link:hover .hc-category-dot{
    opacity: 1;
    transform: scale(1.4);
}

.hc-category-link:hover .hc-category-count{
    background: var(--primary);
    color: #ffffff;
    border-color: var(--primary);
}

.hc-category-link:hover .hc-category-arrow{
    color: var(--primary);
    transform: translateX(2px);
}

/* Active Category State */
.hc-category-item.is-current-cat .hc-category-link{
    background: rgba(47, 143, 157, 0.08);
    border-color: var(--primary);
    color: var(--primary) !important;
    font-weight: 600;
}

.hc-category-item.is-current-cat .hc-category-dot{
    background: var(--primary);
    opacity: 1;
    box-shadow: 0 0 0 3px rgba(47, 143, 157, 0.2);
}

.hc-category-item.is-current-cat .hc-category-count{
    background: var(--primary);
    color: #ffffff;
    border-color: var(--primary);
}

/* ========================================
   SIDEBAR NEWSLETTER WIDGET
======================================== */

.hc-sidebar-newsletter{
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    border: 1px solid rgba(47, 143, 157, 0.2);
    box-shadow: 0 4px 16px rgba(47, 143, 157, 0.06);
}

.hc-sidebar-newsletter-text{
    line-height: 1.5;
    margin-bottom: 16px;
}

.hc-sidebar-newsletter-btn{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 9px 16px;
    font-weight: 600;
    border-radius: 10px;
    transition: all 0.2s ease;
}

.hc-sidebar-newsletter-btn:hover{
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(47, 143, 157, 0.25);
}

/* CATEGORY HERO */

.hc-category-hero{
    min-height:auto;
    display:flex;
    align-items:center;
    background-color:#111827;
    background-size:cover;
    background-position:center;
    position:relative;
    color:#ffffff;
    padding:4rem 0;
}

.hc-category-hero-content{
    max-width:760px;
}

.hc-category-tag{
    display:inline-block;
    padding:8px 14px;
    border-radius:999px;
    font-size:0.85rem;
    font-weight:600;
    margin-bottom:20px;
}

.hc-category-hero h1{
    font-size:clamp(1.85rem, 3.2vw, 2.75rem);
    line-height:1.2;
    margin-bottom:16px;
    font-weight:750;
    letter-spacing:-0.02em;
}

.hc-category-hero p,
.hc-category-description{
    font-size:1.05rem;
    line-height:1.6;
    max-width:680px;
    opacity:0.95;
}

.hc-author-hero{
    padding:1rem 0;
}

/* BROWSE ALL CARD */

.hc-cat-dark::before{
    background:#1e293b;
}

.hc-browse-card{
    background:#1e293b;
    color:#ffffff;
    display:flex;
    flex-direction:column;
    justify-content:space-between;
}

.hc-browse-card .hc-category-title a{
    color:#ffffff;
}

.hc-browse-card .hc-category-desc{
    color:rgba(255,255,255,0.78);
}

.hc-browse-link{
    display:inline-block;
    margin-top:18px;
    color:#ffffff;
    font-weight:600;
    transition:0.2s ease;
}

.hc-browse-link:hover{
    opacity:0.8;
    color:#ffffff;
}

@media (max-width:991.98px){
    .hc-category-hero h1{
        font-size:1.75rem !important;
        line-height:1.22 !important;
    }
}

@media (max-width:767.98px){
    .hc-category-hero{
        min-height:auto !important;
        padding:42px 0 36px !important;
    }

    .hc-category-hero h1{
        font-size:1.50rem !important;
        line-height:1.25 !important;
        margin-bottom:12px !important;
    }

    .hc-category-hero p,
    .hc-category-description{
        font-size:0.95rem !important;
        line-height:1.55 !important;
    }

    .hc-category-tag{
        padding:6px 12px !important;
        font-size:0.75rem !important;
        margin-bottom:14px !important;
    }
}

@media (max-width:480px){
    .hc-category-hero h1{
        font-size:1.35rem !important;
        line-height:1.28 !important;
    }
}

/* =========================
   YOUTUBE SECTION
========================= */

.hc-youtube-section{
    background:#f8fafc;
    border-top:1px solid var(--border);
    border-bottom:1px solid var(--border);
}

.hc-youtube-header{
    display:flex;
    align-items:flex-end;
    justify-content:space-between;
    gap:24px;
    flex-wrap:wrap;
}

.hc-youtube-title{
    margin:0 0 10px;
    font-size:clamp(1.65rem, 2.4vw, 2.15rem);
    line-height:1.25;
    font-weight:700;
    letter-spacing:-0.015em;
    color:var(--text-main);
}

.hc-youtube-intro{
    max-width:640px;
    margin:0;
    color:var(--text-muted);
    font-size:1.05rem;
    line-height:1.6;
}

.hc-youtube-link{
    display:inline-flex;
    align-items:center;
    gap:8px;
    white-space:nowrap;
    font-weight:600;
    transition:all 0.2s ease;
}

.hc-video-card{
    overflow:hidden;
    height:100%;
    background:#ffffff;
    border:1px solid var(--border);
    border-radius:18px;
    box-shadow:0 6px 20px rgba(15,23,42,0.05);
    transition:transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    display:flex;
    flex-direction:column;
}

.hc-video-card:hover{
    transform:translateY(-4px);
    box-shadow:0 14px 32px rgba(15,23,42,0.09);
    border-color:rgba(47,143,157,0.3);
}

.hc-video-content{
    padding:20px 22px 22px;
    display:flex;
    flex-direction:column;
    flex-grow:1;
    justify-content:space-between;
}

.hc-video-content h3{
    margin:0 0 12px;
    font-size:1.15rem;
    font-weight:700;
    line-height:1.4;
    letter-spacing:-0.01em;
    display:-webkit-box;
    -webkit-line-clamp:2;
    -webkit-box-orient:vertical;
    overflow:hidden;
    min-height:2.8em;
}

.hc-video-title-link{
    color:var(--text-main);
    text-decoration:none;
    transition:color 0.2s ease;
}

.hc-video-title-link:hover{
    color:var(--primary);
}

.hc-video-meta{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    font-size:0.85rem;
    color:var(--text-muted);
    margin-top:auto;
    padding-top:12px;
    border-top:1px solid #f1f5f9;
}

.hc-video-date{
    display:inline-flex;
    align-items:center;
    color:#64748b;
    font-size:0.85rem;
    font-weight:500;
}

.hc-video-date i{
    color:var(--primary);
    opacity:0.85;
}

.hc-video-watch-link{
    display:inline-flex;
    align-items:center;
    font-size:0.85rem;
    font-weight:600;
    color:var(--primary);
    text-decoration:none;
    transition:color 0.2s ease;
}

.hc-video-watch-link:hover{
    color:#256f7a;
    text-decoration:none;
}

.hc-video-watch-link i.fa-youtube{
    color:#dc2626 !important;
}

@media (max-width:768px){
    .hc-youtube-header{
        align-items:flex-start;
        gap:16px;
    }

    .hc-youtube-intro{
        font-size:0.95rem;
    }

    .hc-youtube-link{
        width:100%;
        justify-content:center;
    }

    .hc-video-content{
        padding:16px 16px 18px;
    }

    .hc-video-content h3{
        font-size:1.05rem;
        line-height:1.35;
        min-height:2.7em;
    }
}

/* =========================
   HOMEPAGE HERO SEARCH
========================= */

.hc-hero-search-wrap{
    max-width: 560px;
    width: 100%;
    margin: 30px 0 34px;
    position: relative;
    z-index: 1050;
}

.hc-hero-search-form{
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 999px;
    padding: 5px 6px 5px 20px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.22);
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
    width: 100%;
    min-height: 52px;
}

.hc-hero-search-form:focus-within{
    transform: translateY(-2px);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.32) !important;
    background: #ffffff;
    border-color: rgba(255, 255, 255, 0.9);
}

.hc-hero-search-input{
    flex: 1;
    min-width: 0;
    border: 0;
    outline: 0;
    padding: 8px 12px 8px 0;
    font-size: 1.05rem;
    line-height: 1.5;
    background: transparent;
    color: var(--text-main);
}

.hc-hero-search-input::placeholder{
    color: #64748b;
    opacity: 0.9;
}

.hc-hero-search-button{
    background: var(--primary);
    color: #ffffff !important;
    border: 0;
    border-radius: 999px;
    padding: 10px 22px;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(47, 143, 157, 0.35);
}

.hc-hero-search-button i {
    font-size: 0.95rem;
    color: #ffffff !important;
}

.hc-hero-search-button:hover{
    background: #256f7a;
    transform: scale(1.02);
    box-shadow: 0 4px 12px rgba(47, 143, 157, 0.45);
}

/* Tablet & Mobile responsive refinements */
@media (max-width: 768px) {
    .hc-hero-search-wrap{
        margin: 20px 0 24px;
        max-width: 100%;
    }
}

@media (max-width: 576px) {
    .hc-hero-search-wrap{
        margin: 18px 0 22px;
    }

    .hc-hero-search-form{
        min-height: 44px;
        padding: 4px 5px 4px 16px;
        border-radius: 999px;
    }

    .hc-hero-search-input{
        font-size: 1rem; /* 16px prevents iOS Safari auto-zoom on focus */
        padding: 6px 8px 6px 0;
    }

    .hc-hero-search-input::placeholder{
        font-size: 0.92rem;
    }

    .hc-hero-search-button{
        width: 38px;
        height: 38px;
        min-width: 38px;
        padding: 0;
        border-radius: 50%;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .hc-hero-search-button i {
        font-size: 0.9rem;
        margin: 0 !important;
    }
}

/* ==========================================================================
   PUBLIC HEALTH & OUTBREAK ALERT BAR
   ========================================================================== */

.hc-special-alert-bar {
    position: relative;
    padding: 10px 0;
    font-size: 0.92rem;
    line-height: 1.5;
    transition: opacity 0.25s ease, transform 0.25s ease;
    z-index: 998;
}

.hc-special-alert-bar.hc-alert-dismissing {
    opacity: 0;
    transform: translateY(-8px);
    pointer-events: none;
}

.hc-alert-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: nowrap;
}

.hc-alert-lead-wrap {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

/* Pulsing Live Beacon */
.hc-alert-pulse-beacon {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 12px;
    height: 12px;
}

.hc-pulse-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: currentColor;
    display: block;
}

.hc-pulse-ring {
    position: absolute;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background-color: currentColor;
    opacity: 0.6;
    animation: hcAlertPulseRing 1.8s cubic-bezier(0.24, 0, 0.38, 1) infinite;
}

@keyframes hcAlertPulseRing {
    0% {
        transform: scale(0.6);
        opacity: 0.8;
    }
    70% {
        transform: scale(2.2);
        opacity: 0;
    }
    100% {
        transform: scale(2.4);
        opacity: 0;
    }
}

.hc-alert-badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    white-space: nowrap;
}

.hc-alert-thumb {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    object-fit: cover;
}

.hc-alert-text-wrap {
    flex: 1;
    min-width: 0;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.hc-alert-title {
    font-weight: 700;
    white-space: nowrap;
}

.hc-alert-msg {
    font-weight: 400;
    opacity: 0.95;
}

.hc-alert-action-wrap {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.hc-alert-btn {
    display: inline-flex;
    align-items: center;
    padding: 5px 13px;
    border-radius: 8px;
    font-size: 0.82rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.hc-alert-dismiss-btn {
    background: transparent;
    border: none;
    padding: 4px 8px;
    font-size: 1.1rem;
    line-height: 1;
    cursor: pointer;
    border-radius: 6px;
    opacity: 0.7;
    transition: all 0.18s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.hc-alert-dismiss-btn:hover {
    opacity: 1;
    background: rgba(0, 0, 0, 0.07);
}

/* =========================================
   LIGHT THEMES BY ALERT TYPE
   ========================================= */

/* 1. DANGER (Critical Outbreak / Red) */
.hc-alert-type-danger {
    background: #fef2f2;
    border-bottom: 1px solid #fee2e2;
    color: #991b1b;
}
.hc-alert-type-danger .hc-alert-pulse-beacon {
    color: #dc2626;
}
.hc-alert-type-danger .hc-alert-badge {
    background: #ef4444;
    color: #ffffff;
}
.hc-alert-type-danger .hc-alert-btn {
    background: #dc2626;
    color: #ffffff;
}
.hc-alert-type-danger .hc-alert-btn:hover {
    background: #b91c1c;
    color: #ffffff;
}
.hc-alert-type-danger .hc-alert-dismiss-btn {
    color: #991b1b;
}

/* 2. WARNING (Outbreak Watch / Amber) */
.hc-alert-type-warning {
    background: #fffbeb;
    border-bottom: 1px solid #fef3c7;
    color: #92400e;
}
.hc-alert-type-warning .hc-alert-pulse-beacon {
    color: #d97706;
}
.hc-alert-type-warning .hc-alert-badge {
    background: #f59e0b;
    color: #ffffff;
}
.hc-alert-type-warning .hc-alert-btn {
    background: #d97706;
    color: #ffffff;
}
.hc-alert-type-warning .hc-alert-btn:hover {
    background: #b45309;
    color: #ffffff;
}
.hc-alert-type-warning .hc-alert-dismiss-btn {
    color: #92400e;
}

/* 3. INFO (Public Health Advisory / Cyan-Teal) */
.hc-alert-type-info {
    background: #f0fdfa;
    border-bottom: 1px solid #ccfbf1;
    color: #115e59;
}
.hc-alert-type-info .hc-alert-pulse-beacon {
    color: #0d9488;
}
.hc-alert-type-info .hc-alert-badge {
    background: #14b8a6;
    color: #ffffff;
}
.hc-alert-type-info .hc-alert-btn {
    background: #0d9488;
    color: #ffffff;
}
.hc-alert-type-info .hc-alert-btn:hover {
    background: #0f766e;
    color: #ffffff;
}
.hc-alert-type-info .hc-alert-dismiss-btn {
    color: #115e59;
}

/* 4. SUCCESS (Containment / Resolution Notice / Green) */
.hc-alert-type-success {
    background: #ecfdf5;
    border-bottom: 1px solid #d1fae5;
    color: #065f46;
}
.hc-alert-type-success .hc-alert-pulse-beacon {
    color: #059669;
}
.hc-alert-type-success .hc-alert-badge {
    background: #10b981;
    color: #ffffff;
}
.hc-alert-type-success .hc-alert-btn {
    background: #059669;
    color: #ffffff;
}
.hc-alert-type-success .hc-alert-btn:hover {
    background: #047857;
    color: #ffffff;
}
.hc-alert-type-success .hc-alert-dismiss-btn {
    color: #065f46;
}

/* =========================================
   DARK THEMES BY ALERT TYPE
   ========================================= */

[data-theme="dark"] .hc-special-alert-bar.hc-alert-type-danger {
    background: #241113 !important;
    border-bottom: 1px solid #4c1d24 !important;
    color: #fca5a5 !important;
}
[data-theme="dark"] .hc-alert-type-danger .hc-alert-pulse-beacon {
    color: #f87171 !important;
}
[data-theme="dark"] .hc-alert-type-danger .hc-alert-badge {
    background: #dc2626 !important;
    color: #ffffff !important;
}
[data-theme="dark"] .hc-alert-type-danger .hc-alert-btn {
    background: #ef4444 !important;
    color: #ffffff !important;
}
[data-theme="dark"] .hc-alert-type-danger .hc-alert-btn:hover {
    background: #f87171 !important;
}
[data-theme="dark"] .hc-alert-type-danger .hc-alert-dismiss-btn {
    color: #fca5a5 !important;
}
[data-theme="dark"] .hc-alert-type-danger .hc-alert-dismiss-btn:hover {
    background: rgba(255, 255, 255, 0.12) !important;
}

[data-theme="dark"] .hc-special-alert-bar.hc-alert-type-warning {
    background: #24180a !important;
    border-bottom: 1px solid #4a3314 !important;
    color: #fcd34d !important;
}
[data-theme="dark"] .hc-alert-type-warning .hc-alert-pulse-beacon {
    color: #fbbf24 !important;
}
[data-theme="dark"] .hc-alert-type-warning .hc-alert-badge {
    background: #d97706 !important;
    color: #ffffff !important;
}
[data-theme="dark"] .hc-alert-type-warning .hc-alert-btn {
    background: #f59e0b !important;
    color: #0f172a !important;
    font-weight: 800 !important;
}
[data-theme="dark"] .hc-alert-type-warning .hc-alert-btn:hover {
    background: #fbbf24 !important;
}
[data-theme="dark"] .hc-alert-type-warning .hc-alert-dismiss-btn {
    color: #fcd34d !important;
}
[data-theme="dark"] .hc-alert-type-warning .hc-alert-dismiss-btn:hover {
    background: rgba(255, 255, 255, 0.12) !important;
}

[data-theme="dark"] .hc-special-alert-bar.hc-alert-type-info {
    background: #081f28 !important;
    border-bottom: 1px solid #155e75 !important;
    color: #67e8f9 !important;
}
[data-theme="dark"] .hc-alert-type-info .hc-alert-pulse-beacon {
    color: #38bdf8 !important;
}
[data-theme="dark"] .hc-alert-type-info .hc-alert-badge {
    background: #0284c7 !important;
    color: #ffffff !important;
}
[data-theme="dark"] .hc-alert-type-info .hc-alert-btn {
    background: #38bdf8 !important;
    color: #0b111e !important;
    font-weight: 800 !important;
}
[data-theme="dark"] .hc-alert-type-info .hc-alert-btn:hover {
    background: #7dd3fc !important;
}
[data-theme="dark"] .hc-alert-type-info .hc-alert-dismiss-btn {
    color: #67e8f9 !important;
}
[data-theme="dark"] .hc-alert-type-info .hc-alert-dismiss-btn:hover {
    background: rgba(255, 255, 255, 0.12) !important;
}

[data-theme="dark"] .hc-special-alert-bar.hc-alert-type-success {
    background: #062118 !important;
    border-bottom: 1px solid #065f46 !important;
    color: #6ee7b7 !important;
}
[data-theme="dark"] .hc-alert-type-success .hc-alert-pulse-beacon {
    color: #34d399 !important;
}
[data-theme="dark"] .hc-alert-type-success .hc-alert-badge {
    background: #059669 !important;
    color: #ffffff !important;
}
[data-theme="dark"] .hc-alert-type-success .hc-alert-btn {
    background: #10b981 !important;
    color: #0b111e !important;
    font-weight: 800 !important;
}
[data-theme="dark"] .hc-alert-type-success .hc-alert-btn:hover {
    background: #34d399 !important;
}
[data-theme="dark"] .hc-alert-type-success .hc-alert-dismiss-btn {
    color: #6ee7b7 !important;
}
[data-theme="dark"] .hc-alert-type-success .hc-alert-dismiss-btn:hover {
    background: rgba(255, 255, 255, 0.12) !important;
}

@media (max-width: 768px) {
    .hc-alert-content {
        flex-wrap: wrap;
        justify-content: center;
        text-align: center;
        gap: 10px;
    }

    .hc-alert-text-wrap {
        justify-content: center;
        text-align: center;
        width: 100%;
    }

    .hc-alert-action-wrap {
        width: 100%;
        justify-content: center;
    }
}

/* READING PROGRESS */

#reading-progress{
    position:fixed;
    top:0;
    left:0;
    width:0%;
    height:4px;
    background:var(--primary);
    z-index:99999;
    transition:width 0.1s linear;
}

/* ========================================
   RESPONSIVE SYMMETRY FIXES
======================================== */

.hc-latest-articles-footer{
    text-align: center;
    margin-top: 48px;
}

@media (max-width:991px){
    .hc-category-hero .container,
    .hc-page-header{
        text-align: center;
    }

    .hc-breadcrumbs{
        justify-content: center;
    }

    .hc-awareness-archive-hero,
    .hc-section-heading{
        text-align: center !important;
    }
}

@media (max-width:991.98px){
    .hc-footer-brand{
        padding:46px 0 28px;
        text-align: center;
    }
    .hc-footer-brand h3{
        font-size:1.55rem;
    }
    .hc-footer-social{
        gap:10px;
        margin-top:20px;
    }
    .hc-footer-social a{
        width:40px;
        height:40px;
        font-size:0.95rem;
    }
}

@media (max-width:767.98px){
    .hc-footer-brand{
        padding:36px 0 24px;
        text-align: center;
    }
    .hc-footer-brand h3{
        font-size:1.35rem;
        margin-bottom:8px;
    }
    .hc-footer-brand p{
        font-size:0.90rem;
        line-height:1.55;
        padding:0 14px;
    }
    .hc-footer-social{
        justify-content: center;
        gap:8px;
        margin-top:18px;
    }
    .hc-footer-social a{
        width:36px;
        height:36px;
        font-size:0.90rem;
    }
}

@media (max-width:480px){
    .hc-footer-brand{
        padding:30px 0 20px;
    }
    .hc-footer-brand h3{
        font-size:1.25rem;
    }
    .hc-footer-brand p{
        font-size:0.86rem;
    }
    .hc-footer-social{
        gap:8px;
        margin-top:16px;
    }
    .hc-footer-social a{
        width:34px;
        height:34px;
        font-size:0.85rem;
    }
}

/* FOOTER */

.hc-footer{
    background:#ffffff;
    border-top:1px solid var(--border);
    margin-top:80px;
}

.hc-footer-brand{
    padding:60px 0 36px;
    border-bottom:1px solid var(--border);
    text-align: center;
}

.hc-footer-brand h3{
    font-size:clamp(1.4rem, 2.5vw, 1.85rem);
    font-weight:700;
    letter-spacing:-0.015em;
    color:var(--text-main, #0f172a);
    margin-bottom:10px;
    line-height:1.25;
}

.hc-footer-brand p{
    color:var(--text-muted, #64748b);
    font-size:clamp(0.92rem, 1.8vw, 1.02rem);
    line-height:1.6;
    max-width:580px;
    margin-inline:auto;
    margin-bottom:0;
    padding:0 16px;
}

.hc-footer-links-area{
    padding:45px 0;
}

.hc-footer h5{
    margin-bottom:18px;
    font-weight:600;
}

.hc-footer-links li{
    margin-bottom: 10px;
}

.hc-footer-links a{
    display: inline-block;
    color: var(--text-muted);
    font-size: 0.94rem;
    text-decoration: none;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.hc-footer-links a:hover{
    color: var(--primary);
    transform: translateX(4px);
}

.hc-footer-bottom{
    border-top:1px solid var(--border);
    padding:20px 0;
}

.hc-footer-bottom p{
    margin:0;
    color:var(--text-muted);
}

/* =========================
   SOCIAL ICONS
========================= */

.hc-social,
.hc-footer-social{
    display:flex;
    align-items:center;
    gap:14px;
}

.hc-social a{
    display:flex;
    align-items:center;
    justify-content:center;

    width:34px;
    height:34px;

    border-radius:50%;

    color:#ffffff;

    transition:0.25s ease;
}

.hc-social a:hover{
    background:rgba(255,255,255,0.12);
    color:#ffffff;
    transform:translateY(-2px);
}

.hc-footer-social{
    display:flex;
    align-items:center;
    justify-content:center;
    flex-wrap:wrap;
    gap:12px;
    margin-top:22px;
}

.hc-footer-social a{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    width:42px;
    height:42px;
    background:#f1f5f9;
    border:1px solid #e2e8f0;
    border-radius:50%;
    color:#475569;
    font-size:1rem;
    transition:all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow:0 1px 3px rgba(0, 0, 0, 0.04);
}

.hc-footer-social a:hover{
    background:var(--primary, #2f8f9d);
    border-color:var(--primary, #2f8f9d);
    color:#ffffff;
    transform:translateY(-2px);
    box-shadow:0 4px 10px rgba(47, 143, 157, 0.25);
}

.hc-topbar .container{
    display:flex;
    justify-content:space-between;
    align-items:center;
}

.hc-topbar .hc-social{
    display:flex;
    align-items:center;
    flex-wrap:nowrap !important;
    gap:10px;
    flex-shrink:0;
}

.hc-topbar .hc-social a{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    flex-shrink:0;
}

@media (max-width:768px){

    .hc-topbar .container{
        flex-wrap:nowrap;
        gap:12px;
    }

    .hc-topbar .hc-social{
        gap:6px;
        flex-wrap:nowrap !important;
        overflow:hidden;
    }

    .hc-topbar .hc-social a{
        width:32px;
        height:32px;
        min-width:32px;
        min-height:32px;
        font-size:0.88rem;
        flex-shrink:0;
    }

    .hc-topbar .hc-mobile-search-btn{
        align-self:center;
        flex-shrink:0;
        margin-left:auto;
    }

    .hc-social{
        gap:6px;
        flex-wrap:wrap;
    }

    .hc-social a{
        width:34px;
        height:34px;
        min-width:34px;
        min-height:34px;
        font-size:0.95rem;
        touch-action:manipulation;
    }
}

/* =========================
   GDPR COOKIE BANNER
========================= */

.hc-cookie-banner{
    position:fixed;
    bottom:20px;
    left:50%;
    transform:translateX(-50%);
    width:min(920px, 94%);
    background:var(--bg-surface, #ffffff);
    border:1px solid var(--border, #e5e7eb);
    border-radius:18px;
    box-shadow:0 10px 40px rgba(0,0,0,0.12);
    z-index:99999;
    display:none;
    backdrop-filter:blur(12px);
    -webkit-backdrop-filter:blur(12px);
}

.hc-cookie-inner{
    display:flex;
    justify-content:space-between;
    gap:30px;
    padding:24px;
}

.hc-cookie-text{
    flex:1;
}

.hc-cookie-text h4{
    margin-bottom:10px;
    font-size:1.15rem;
    font-weight:700;
    color:var(--text-heading, #0f172a);
}

.hc-cookie-text p{
    margin-bottom:10px;
    color:var(--text-muted, #475569);
    line-height:1.7;
    font-size:0.92rem;
}

.hc-cookie-links{
    display:flex;
    align-items:center;
    gap:8px;
    flex-wrap:wrap;
    font-size:0.875rem;
    color:var(--text-muted, #64748b);
}

.hc-cookie-links a{
    color:var(--primary, #2f8f9d);
    font-weight:500;
    text-decoration:none;
    transition:color 0.2s ease, text-decoration 0.2s ease;
}

.hc-cookie-links a:hover{
    text-decoration:underline;
}

.hc-cookie-actions{
    display:flex;
    align-items:center;
    gap:12px;
    flex-wrap:wrap;
}

.hc-cookie-actions .btn{
    padding:10px 18px;
    font-size:0.9rem;
    font-weight:600;
    border-radius:10px;
    transition:all 0.2s ease;
}

.hc-cookie-actions #accept-cookies{
    background:#0f172a;
    border-color:#0f172a;
    color:#ffffff;
}

.hc-cookie-actions #accept-cookies:hover{
    background:#1e293b;
    border-color:#1e293b;
    color:#ffffff;
}

.hc-cookie-actions #decline-cookies{
    border-color:#cbd5e1;
    color:#334155;
    background:transparent;
}

.hc-cookie-actions #decline-cookies:hover{
    background:#f1f5f9;
    border-color:#94a3b8;
    color:#0f172a;
}

@media (max-width:768px){

    .hc-cookie-banner{
        bottom:12px;
    }

    .hc-cookie-inner{
        flex-direction:column;
        gap:18px;
        padding:20px;
    }

    .hc-cookie-actions{
        width:100%;
    }

    .hc-cookie-actions .btn{
        width:100%;
    }
}

/* ==========================================================================
   COOKIE BANNER DARK THEME
   ========================================================================== */
[data-theme="dark"] .hc-cookie-banner{
    background:rgba(26, 37, 58, 0.98) !important;
    border-color:rgba(51, 65, 85, 0.85) !important;
    box-shadow:0 15px 45px rgba(0, 0, 0, 0.65), 0 0 0 1px rgba(255, 255, 255, 0.05) !important;
}

[data-theme="dark"] .hc-cookie-text h4{
    color:#f8fafc !important;
}

[data-theme="dark"] .hc-cookie-text p{
    color:#94a3b8 !important;
}

[data-theme="dark"] .hc-cookie-links{
    color:#64748b !important;
}

[data-theme="dark"] .hc-cookie-links a{
    color:#38bdf8 !important;
}

[data-theme="dark"] .hc-cookie-links a:hover{
    color:#7dd3fc !important;
    text-decoration:underline !important;
}

[data-theme="dark"] .hc-cookie-actions #accept-cookies,
[data-theme="dark"] .hc-cookie-actions .btn-dark{
    background:#38bdf8 !important;
    border-color:#38bdf8 !important;
    color:#0b111e !important;
    font-weight:700 !important;
}

[data-theme="dark"] .hc-cookie-actions #accept-cookies:hover,
[data-theme="dark"] .hc-cookie-actions .btn-dark:hover{
    background:#7dd3fc !important;
    border-color:#7dd3fc !important;
    color:#0b111e !important;
}

[data-theme="dark"] .hc-cookie-actions #decline-cookies,
[data-theme="dark"] .hc-cookie-actions .btn-outline-dark{
    background:transparent !important;
    border:1px solid #475569 !important;
    color:#cbd5e1 !important;
}

[data-theme="dark"] .hc-cookie-actions #decline-cookies:hover,
[data-theme="dark"] .hc-cookie-actions .btn-outline-dark:hover{
    background:rgba(255, 255, 255, 0.08) !important;
    border-color:#94a3b8 !important;
    color:#ffffff !important;
}

/* ========================================
   REFLECTIONS / UNSTRAIGHT LINES
======================================== */

.hc-reflection-article{
    max-width:760px;
    margin-inline:auto;
}

.category-unstraight-lines .hc-article-title,
.category-unstraight-lines .hc-article-content h2,
.category-unstraight-lines .hc-article-content h3{
    font-family:Georgia, "Times New Roman", serif;
    letter-spacing:0;
}

.category-unstraight-lines header{
    text-align:center;
}

.hc-poetry-content{
    font-size:1.1rem;
    line-height:1.6;
}

.category-unstraight-lines .hc-article-content{
    font-size:1.1rem;
    line-height:1.6;
    color:#2b2b2b;
}

.category-unstraight-lines .hc-article-content p{
    margin-bottom:1rem;
}

.hc-poetry{
    white-space:pre-wrap;
    font-family: 'Playfair Display', Georgia, serif;
    font-size:1.1rem;
    line-height:1.5; /* Compact literary spacing */
    letter-spacing:0;
    max-width:580px;
    margin: 1.5rem auto;
    padding: 1rem 1.5rem;
    color:#1a1a1a;
    background:#fdfdfd; /* Subtle off-white background for the poem area */
    border: 1px solid rgba(0,0,0,0.03);
    border-left: 3px solid var(--primary); /* Stronger but clean accent */
    border-radius: 4px;
    overflow:visible;
}

@media (max-width: 768px) {
    .hc-poetry {
        padding: 0.8rem 1rem;
        font-size: 1.05rem;
        line-height: 1.45;
        margin: 1rem 0;
    }
    
    .category-unstraight-lines .hc-article-content {
        font-size: 1.05rem;
    }
}

.hc-poetry-excerpt {
    font-family: 'Playfair Display', Georgia, serif;
    font-style: italic;
    font-size: 0.98rem;
    line-height: 1.4; /* Very tight, poetic spacing for excerpts */
    color: var(--text-muted);
    margin-top: 10px;
    padding-left: 12px;
    border-left: 2px solid rgba(47, 143, 157, 0.15);
}

.category-unstraight-lines .hc-article-image{
    margin-bottom:4rem;
}

.category-unstraight-lines .hc-article-image img{
    border-radius:28px;
    box-shadow:0 20px 50px rgba(0,0,0,0.12);
    max-height:75vh;
    width:100%;
    object-fit:cover;
    filter:
        contrast(1.02)
        saturate(0.92)
        brightness(0.98);
}

.category-unstraight-lines .hc-article-meta{
    justify-content:center;
    color:var(--text-muted);
}

/* AUTHOR BOX */

.hc-author-box{
    margin-top:5rem;
    padding:32px;
    border:1px solid var(--border);
    border-radius:24px;
    background:#f8fafc;
}

.hc-author-inner{
    display:flex;
    align-items:flex-start;
    gap:18px;
}

.hc-author-box img,
.hc-author-avatar img{
    border-radius:50%;
}

.hc-author-content h5{
    margin-bottom:6px;
}

.hc-author-content p{
    color:var(--text-muted);
    line-height:1.8;
    margin-bottom:8px;
}

.hc-author-link{
    font-weight:600;
    color:var(--primary);
}

.hc-author-link:hover{
    opacity:0.8;
}

@media (max-width:768px){

    .hc-reflection-article{
        max-width:100%;
    }

    .category-unstraight-lines .hc-article-title{
        font-size:1.55rem;
    }

    .hc-poetry-content{
        font-size:1.05rem;
        line-height:2;
    }

    .hc-author-box{
        padding:24px;
    }

    .hc-author-inner{
        flex-direction:column;
        align-items:flex-start;
    }
}

/* =========================
   AWARENESS ARCHIVE LAYOUT
========================= */

.hc-awareness-archive-hero{
    background:#f8fafc;
    border-bottom:1px solid var(--border);
}

.hc-awareness-group{
    max-width:1180px;
    margin-inline:auto;
}

.hc-awareness-group .hc-section-heading{
    text-align:center;
    max-width:720px;
    margin-inline:auto;
}

.hc-awareness-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit, minmax(min(100%, 300px), 360px));
    gap:24px;
    justify-content:center;
    align-items:stretch;
}

@media (max-width:768px){
    .hc-awareness-grid{
        grid-template-columns: 1fr;
        max-width: 440px;
        margin-inline: auto;
    }
}

.hc-awareness-card-col{
    min-width:0;
}

.hc-awareness-card{
    height:100%;
}

@media (min-width:992px){

    .hc-awareness-grid{
        gap:28px;
    }
}

/* =========================
   AWARENESS BANNER
========================= */

.hc-awareness-banner{
    background:#fff7d6;
    border-bottom:1px solid #f1e4a3;
    padding:14px 0;
    text-align:center;
}

.hc-awareness-banner p{
    margin:0;
    font-weight:500;
    color:#5c5346;
}

.hc-awareness-banner a{
    color:#8a6b00;
    font-weight:700;
    text-decoration:none;
}

.hc-awareness-banner a:hover{
    text-decoration:underline;
}

/* =========================
   AWARENESS DAYS
========================= */

.hc-awareness-image img{
    width:100%;
    border-radius:24px;
}

/* Subtitles / Section Headings inside single Health Awareness */
.single-health_awareness .hc-awareness-sub-box h3,
.single-health_awareness .hc-sidebar-box h3,
.single-health_awareness .hc-awareness-theme-box h3,
.single-health_awareness .hc-awareness-section-box h3,
.single-awareness_day .hc-awareness-sub-box h3,
.single-awareness_day .hc-sidebar-box h3,
.single-awareness_day .hc-awareness-theme-box h3,
.single-awareness_day .hc-awareness-section-box h3,
.hc-insignia-title {
    font-size: 1.25rem !important;
    font-weight: 700 !important;
    line-height: 1.35 !important;
    letter-spacing: -0.015em;
    color: var(--text-main, #1e293b) !important;
    margin-top: 0 !important;
    margin-bottom: 0.65rem !important;
}

.single-health_awareness .hc-sidebar-box,
.single-awareness_day .hc-sidebar-box {
    padding: 22px 20px;
    border-radius: 16px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
    margin-bottom: 1.5rem !important;
}

/* Insignia Card Responsive Elements */
.hc-insignia-image-wrapper,
.hc-insignia-color-swatch,
.hc-insignia-icon-wrapper {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
}

.hc-insignia-icon-wrapper i {
    font-size: 2rem;
}

.hc-insignia-details .hc-insignia-text {
    font-size: 0.95rem;
    line-height: 1.5;
}

.hc-awareness-updates{
    font-size: 1rem;
    line-height:1.65 !important;
    color: var(--text-main, #334155);
    word-break: break-word;
    overflow-wrap: anywhere;
}

.hc-awareness-updates p {
    margin-bottom: 1rem !important;
}

/* Support for Quill Alignment */
.hc-awareness-updates .ql-align-center { text-align: center; }
.hc-awareness-updates .ql-align-right { text-align: right; }
.hc-awareness-updates .ql-align-justify { text-align: justify; }

.hc-awareness-updates p:empty {
    display: none;
}

.hc-awareness-updates ul, 
.hc-awareness-updates ol {
    margin-top: 0.3rem !important;
    margin-bottom: 0.6rem !important;
    padding-left: 1.2rem !important;
}

.hc-awareness-updates li {
    margin-bottom: 0.25rem !important;
}

.hc-awareness-updates img,
.hc-awareness-updates iframe,
.hc-awareness-updates video {
    max-width: 100% !important;
    height: auto !important;
    border-radius: 8px;
}

.hc-awareness-updates h4,
.hc-awareness-resources h4 {
    font-size: 1.15rem !important;
    font-weight: 600 !important;
    margin-top: 1rem !important;
    margin-bottom: 0.5rem !important;
    color: var(--text-main, #1e293b);
}

.hc-awareness-updates h5,
.hc-awareness-resources h5 {
    font-size: 1.05rem !important;
    font-weight: 600 !important;
    margin-top: 0.85rem !important;
    margin-bottom: 0.4rem !important;
    color: var(--text-main, #334155);
}

.hc-awareness-updates *:last-child {
    margin-bottom: 0 !important;
}

.single-health_awareness .hc-page,
.single-awareness_day .hc-page{
    max-width:850px;
}

.single-health_awareness .hc-article-title,
.single-awareness_day .hc-article-title{
    font-size:clamp(1.6rem, 4.5vw, 2.75rem);
    line-height:1.2;
    letter-spacing: -0.02em;
}

.hc-recurring-label{
    display:inline-flex;
    align-items:center;
    margin-left:10px;
    padding:4px 10px;
    border-radius:999px;
    background:#eef8fa;
    color:var(--primary);
    font-size:0.75rem;
    font-weight:700;
    text-transform:uppercase;
    letter-spacing:0.04em;
}

/* Tablet Media Query (<= 991px) */
@media (max-width: 991px) {
    .single-health_awareness .hc-article-title,
    .single-awareness_day .hc-article-title {
        font-size: clamp(1.85rem, 4vw, 2.3rem) !important;
        line-height: 1.2;
    }

    .single-health_awareness .hc-awareness-sub-box h3,
    .single-health_awareness .hc-sidebar-box h3,
    .single-health_awareness .hc-awareness-theme-box h3,
    .single-health_awareness .hc-awareness-section-box h3,
    .single-awareness_day .hc-awareness-sub-box h3,
    .single-awareness_day .hc-sidebar-box h3,
    .single-awareness_day .hc-awareness-theme-box h3,
    .single-awareness_day .hc-awareness-section-box h3,
    .hc-insignia-title {
        font-size: 1.18rem !important;
        margin-bottom: 0.55rem !important;
    }

    .single-health_awareness .hc-sidebar-box,
    .single-awareness_day .hc-sidebar-box {
        padding: 18px 16px !important;
        border-radius: 14px !important;
        margin-bottom: 1.25rem !important;
    }

    .single-health_awareness .hc-sidebar-box.mt-5 {
        margin-top: 2rem !important;
    }

    .single-health_awareness .hc-sidebar-box.mt-4 {
        margin-top: 1.15rem !important;
    }

    .hc-insignia-image-wrapper,
    .hc-insignia-color-swatch,
    .hc-insignia-icon-wrapper {
        width: 52px;
        height: 52px;
    }

    .hc-insignia-icon-wrapper i {
        font-size: 1.75rem;
    }

    .hc-awareness-theme-text {
        font-size: 1rem;
        line-height: 1.5;
    }

    .hc-awareness-updates {
        font-size: 0.97rem;
        line-height: 1.6;
    }
}

/* Mobile Landscape & Tablets (<= 768px) */
@media (max-width: 768px) {
    .single-health_awareness header.mb-5,
    .single-awareness_day header.mb-5 {
        margin-bottom: 2rem !important;
    }

    .single-health_awareness .mb-5,
    .single-awareness_day .mb-5 {
        margin-bottom: 2rem !important;
    }

    .single-health_awareness .hc-awareness-sub-box h3,
    .single-health_awareness .hc-sidebar-box h3,
    .single-health_awareness .hc-awareness-theme-box h3,
    .single-health_awareness .hc-awareness-section-box h3,
    .single-awareness_day .hc-awareness-sub-box h3,
    .single-awareness_day .hc-sidebar-box h3,
    .single-awareness_day .hc-awareness-theme-box h3,
    .single-awareness_day .hc-awareness-section-box h3,
    .hc-insignia-title {
        font-size: 1.12rem !important;
        line-height: 1.32 !important;
        margin-bottom: 0.5rem !important;
    }
}

/* Mobile Phones (<= 576px) */
@media (max-width: 576px) {
    .single-health_awareness .hc-section.py-5,
    .single-awareness_day .hc-section.py-5 {
        padding-top: 1.5rem !important;
        padding-bottom: 2rem !important;
    }

    .single-health_awareness .hc-article-title,
    .single-awareness_day .hc-article-title {
        font-size: clamp(1.45rem, 5.8vw, 1.85rem) !important;
        line-height: 1.22;
        letter-spacing: -0.015em;
    }

    .single-health_awareness header.mb-5,
    .single-awareness_day header.mb-5 {
        margin-bottom: 1.5rem !important;
    }

    .single-health_awareness .hc-recurring-label {
        display: inline-block;
        margin-top: 6px;
        margin-left: 2px;
    }

    /* Subtitles scaled down proportionally on mobile */
    .single-health_awareness .hc-awareness-sub-box h3,
    .single-health_awareness .hc-sidebar-box h3,
    .single-health_awareness .hc-awareness-theme-box h3,
    .single-health_awareness .hc-awareness-section-box h3,
    .single-awareness_day .hc-awareness-sub-box h3,
    .single-awareness_day .hc-sidebar-box h3,
    .single-awareness_day .hc-awareness-theme-box h3,
    .single-awareness_day .hc-awareness-section-box h3,
    .hc-insignia-title {
        font-size: 1.05rem !important;
        font-weight: 700 !important;
        line-height: 1.35 !important;
        letter-spacing: -0.01em;
        margin-bottom: 0.45rem !important;
    }

    .single-health_awareness .hc-sidebar-box,
    .single-awareness_day .hc-sidebar-box {
        padding: 14px 13px !important;
        border-radius: 12px !important;
        margin-bottom: 0.95rem !important;
    }

    .single-health_awareness .hc-sidebar-box.mt-5 {
        margin-top: 1.5rem !important;
    }

    .single-health_awareness .hc-sidebar-box.mt-4 {
        margin-top: 0.95rem !important;
    }

    .hc-campaign-insignia-box {
        border-left-width: 4px !important;
        border-radius: 4px 12px 12px 4px !important;
    }

    .hc-insignia-image-wrapper,
    .hc-insignia-color-swatch,
    .hc-insignia-icon-wrapper {
        width: 44px;
        height: 44px;
    }

    .hc-insignia-icon-wrapper i {
        font-size: 1.4rem;
    }

    .hc-insignia-details .hc-insignia-text {
        font-size: 0.88rem;
        line-height: 1.45;
    }

    .hc-insignia-details .rounded-pill {
        display: inline-block;
        font-size: 0.76rem !important;
        padding: 1px 6px !important;
        margin-top: 2px;
        word-break: break-word;
    }

    .hc-awareness-theme-text {
        font-size: 0.95rem;
        line-height: 1.5;
    }

    .hc-awareness-updates {
        font-size: 0.93rem;
        line-height: 1.58;
    }

    .hc-awareness-updates p {
        margin-bottom: 0.75rem !important;
    }

    .hc-awareness-updates ul,
    .hc-awareness-updates ol {
        padding-left: 1.15rem !important;
        margin-top: 0.25rem !important;
        margin-bottom: 0.5rem !important;
    }

    .hc-awareness-updates li {
        margin-bottom: 0.25rem !important;
        font-size: 0.92rem;
    }

    .hc-awareness-updates h4,
    .hc-awareness-resources h4 {
        font-size: 0.98rem !important;
        margin-top: 0.75rem !important;
        margin-bottom: 0.35rem !important;
    }

    .hc-awareness-updates h5,
    .hc-awareness-resources h5 {
        font-size: 0.92rem !important;
        margin-top: 0.65rem !important;
        margin-bottom: 0.3rem !important;
    }

    .single-health_awareness .mt-5.text-center {
        margin-top: 1.75rem !important;
    }

    .single-health_awareness .btn-outline-dark {
        width: 100%;
        max-width: 300px;
        padding: 10px 16px;
        font-size: 0.92rem;
    }
}

/* Very Small Mobile Phones (<= 380px) */
@media (max-width: 380px) {
    .single-health_awareness .hc-awareness-sub-box h3,
    .single-health_awareness .hc-sidebar-box h3,
    .single-health_awareness .hc-awareness-theme-box h3,
    .single-health_awareness .hc-awareness-section-box h3,
    .hc-insignia-title {
        font-size: 1rem !important;
    }

    .single-health_awareness .hc-sidebar-box {
        padding: 12px 11px !important;
    }

    .hc-insignia-image-wrapper,
    .hc-insignia-color-swatch,
    .hc-insignia-icon-wrapper {
        width: 38px;
        height: 38px;
    }

    .hc-insignia-icon-wrapper i {
        font-size: 1.25rem;
    }
}

/* ========================================
   AWARENESS TICKER
======================================== */

.hc-awareness-ticker{
    position:relative;
    width:100%;
    background:#0f172a;
    border-top:1px solid rgba(255,255,255,0.08);
    border-bottom:1px solid rgba(255,255,255,0.08);
    overflow:hidden;
    height:50px !important;
    min-height:50px !important;
    max-height:50px !important;
    display:flex;
    align-items:center;
    box-sizing:border-box;
    z-index:900;
}

/* PERIODIC SHOWCASE MODE */
.hc-ticker-periodic-wrap{
    position:relative;
    width:100%;
    height:50px !important;
    min-height:50px !important;
    max-height:50px !important;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:0 !important;
    margin:0 !important;
    box-sizing:border-box;
}

.hc-ticker-slide{
    display:flex;
    align-items:center;
    justify-content:center;
    position:absolute !important;
    top:50%;
    left:50%;
    transform:translate3d(-50%, -50%, 0);
    width:100%;
    opacity:0;
    visibility:hidden;
    pointer-events:none;
    transition:opacity 0.35s ease, transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.35s;
    box-sizing:border-box;
}

.hc-ticker-slide.is-active{
    opacity:1;
    visibility:visible;
    pointer-events:auto;
    transform:translate3d(-50%, -50%, 0);
}

.hc-ticker-slide.is-exiting{
    opacity:0 !important;
    visibility:hidden !important;
    pointer-events:none !important;
    transform:translate3d(-50%, calc(-50% - 8px), 0);
    animation:none !important;
}

/* Inactive slides must NEVER be visible or animating under any circumstances */
.hc-ticker-slide:not(.is-active){
    opacity:0 !important;
    visibility:hidden !important;
    pointer-events:none !important;
    animation:none !important;
}

.hc-ticker-single .hc-ticker-slide{
    transition:opacity 0.4s ease;
}

.hc-ticker-single .hc-awareness-item{
    margin:0 auto;
}

.hc-ticker-content-primary,
.hc-ticker-content-secondary{
    display:inline-flex;
    align-items:center;
    gap:8px;
    flex-shrink:0;
}

.hc-crossfade-only{
    display:none !important;
}

/* PERIODIC SHOWCASE MODE: Centered & stationary */


/* CONTINUOUS MARQUEE MODE (WHEN SELECTED) */
.hc-awareness-track{
    display:flex;
    align-items:center;
    flex-wrap:nowrap;
    width:max-content;
    height:100%;
    padding:0 !important;
    margin:0 !important;
    gap:20px;
    will-change:transform;
    animation:hcTickerScroll var(--hc-marquee-duration, 28s) linear infinite;
    backface-visibility:hidden;
    transform-style:preserve-3d;
}

.hc-awareness-item{
    display:inline-flex;
    align-items:center;
    gap:10px;
    flex-shrink:0;
    padding:4px 14px;
    height:34px;
    max-height:34px;
    box-sizing:border-box;
    background:rgba(255,255,255,0.06);
    border-radius:999px;
    color:#ffffff;
    white-space:nowrap;
    max-width:100%;
    transition:background 0.25s ease, transform 0.25s ease;
}

.hc-awareness-item:hover{
    background:rgba(255,255,255,0.12);
    transform:translateY(-1px);
}

.hc-awareness-pill{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:3px 10px;
    background:var(--ticker-color);
    border-radius:999px;
    color:#ffffff;
    font-size:0.68rem;
    font-weight:700;
    line-height:1.2;
    letter-spacing:0.04em;
    text-transform:uppercase;
    flex-shrink:0;
}

.hc-awareness-text{
    color:#f8fafc;
    font-size:0.875rem;
    font-weight:500;
    line-height:1.2;
    display:inline-flex;
    align-items:center;
}

/* SLEEK DIVIDER SEPARATOR (INSTEAD OF DIAMOND) */
.hc-awareness-separator{
    color:rgba(255,255,255,0.28);
    font-size:0.95rem;
    font-weight:300;
    margin:0 10px;
    user-select:none;
    flex-shrink:0;
}

/* Date range chip inside ticker item */
.hc-awareness-date-chip {
    display: inline-block;
    background: rgba(255, 255, 255, 0.12);
    color: #cbd5e1;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 6px;
    letter-spacing: 0.02em;
    margin-left: 2px;
}

/* Theme motto preview inside ticker item */
.hc-awareness-ticker-theme {
    font-style: italic;
    color: #94a3b8;
    font-size: 0.82rem;
    opacity: 0.92;
    margin-left: 4px;
}

/* Pulsing live dot for active events */
.hc-ticker-pulse {
    display: inline-block;
    width: 6px;
    height: 6px;
    margin-right: 6px;
    border-radius: 50%;
    background-color: #22c55e;
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
    animation: hcTickerDotPulse 1.8s infinite;
    vertical-align: middle;
}

@keyframes hcTickerDotPulse {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
    }
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 6px rgba(34, 197, 94, 0);
    }
    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0);
    }
}

.hc-awareness-item.hc-item-active {
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.25);
}

.hc-awareness-ticker:hover .hc-awareness-track,
.hc-awareness-ticker:focus-within .hc-awareness-track {
    animation-play-state:paused;
}

@keyframes hcTickerScroll{
    0%{
        transform: translate3d(100vw, 0, 0);
    }
    80%{
        transform: translate3d(calc(-100% - 60px), 0, 0);
    }
    100%{
        transform: translate3d(calc(-100% - 60px), 0, 0); /* 20% calm lag period completely off-screen */
    }
}


@media (prefers-reduced-motion: reduce){

    .hc-awareness-track{
        animation:none;
        width:100%;
        flex-wrap:wrap;
        justify-content:center;
    }
}

@media (max-width:991.98px){

    .hc-awareness-ticker{
        padding: 0 8px !important;
        height: 50px !important;
        min-height: 50px !important;
        max-height: 50px !important;
        display: flex !important;
        align-items: center !important;
        box-sizing: border-box !important;
    }

    .hc-ticker-periodic-wrap{
        height: 50px !important;
        min-height: 50px !important;
        max-height: 50px !important;
        padding: 0 !important;
        margin: 0 !important;
        box-sizing: border-box !important;
    }

    .hc-awareness-track{
        gap: 16px;
        height: 100%;
        padding: 0 !important;
        margin: 0 !important;
        display: flex !important;
        align-items: center !important;
    }

    .hc-awareness-item{
        padding: 4px 12px;
        height: 32px;
        max-height: 32px;
        display: inline-flex;
        align-items: center;
        gap: 8px;
        max-width: 100%;
        box-sizing: border-box;
    }

    .hc-awareness-pill{
        font-size: 0.62rem;
        padding: 3px 8px;
        flex-shrink: 0 !important;
        white-space: nowrap !important;
    }

    .hc-awareness-date-chip{
        font-size: 0.72rem;
        padding: 2px 8px;
        flex-shrink: 0 !important;
        white-space: nowrap !important;
    }

    .hc-awareness-text{
        font-size: 0.8rem;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        flex-shrink: 1;
        min-width: 0;
    }


    /* MODE: 2-STEP ALTERNATING CROSSFADE */
    .hc-awareness-ticker.hc-mobile-crossfade{
        height: 48px !important;
        min-height: 48px !important;
        max-height: 48px !important;
    }

    .hc-mobile-crossfade .hc-ticker-periodic-wrap{
        height: 48px !important;
        min-height: 48px !important;
        max-height: 48px !important;
    }

    .hc-mobile-crossfade .hc-ticker-slide{
        width: 100% !important;
        max-width: 100% !important;
        justify-content: center;
    }

    .hc-mobile-crossfade .hc-awareness-item{
        display: inline-flex;
        align-items: center;
        justify-content: center;
        max-width: 96%;
        padding: 4px 14px;
        overflow: hidden;
    }

    .hc-mobile-crossfade .hc-ticker-content-primary{
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 6px;
        max-width: 100%;
        min-width: 0;
        transition: opacity 0.35s ease, transform 0.35s ease;
    }

    .hc-mobile-crossfade .hc-ticker-content-secondary{
        display: none;
        align-items: center;
        justify-content: center;
        gap: 6px;
        max-width: 100%;
        min-width: 0;
        opacity: 0;
        transform: translateY(4px);
        transition: opacity 0.35s ease, transform 0.35s ease;
    }

    .hc-mobile-crossfade .hc-ticker-slide.is-phase-1 .hc-ticker-content-primary{
        display: inline-flex !important;
        opacity: 1 !important;
        transform: translateY(0);
    }

    .hc-mobile-crossfade .hc-ticker-slide.is-phase-1 .hc-ticker-content-secondary{
        display: none !important;
        opacity: 0 !important;
    }

    .hc-mobile-crossfade .hc-ticker-slide.is-phase-2 .hc-ticker-content-primary{
        display: none !important;
        opacity: 0 !important;
    }

    .hc-mobile-crossfade .hc-ticker-slide.is-phase-2 .hc-ticker-content-secondary{
        display: inline-flex !important;
        opacity: 1 !important;
        transform: translateY(0);
    }

    .hc-mobile-crossfade .hc-awareness-pill{
        font-size: 0.62rem;
        padding: 3px 8px;
        flex-shrink: 0 !important;
        white-space: nowrap !important;
    }

    .hc-mobile-crossfade .hc-awareness-text{
        font-size: 0.82rem;
        font-weight: 600;
        overflow: hidden;
        text-overflow: clip;
        white-space: nowrap;
        flex-shrink: 1;
        min-width: 0;
        display: inline-block;
        position: relative;
    }

    .hc-mobile-crossfade .hc-awareness-text-inner{
        display: inline-block;
        white-space: nowrap;
        will-change: transform;
    }

    .hc-mobile-crossfade .hc-awareness-date-chip{
        font-size: 0.72rem;
        padding: 2px 8px;
        flex-shrink: 0 !important;
        white-space: nowrap !important;
    }

    .hc-mobile-crossfade .hc-awareness-ticker-theme{
        display: inline-block !important;
        font-size: 0.82rem;
        font-style: italic;
        font-weight: 500;
        color: #ffffff !important;
        overflow: hidden;
        text-overflow: clip;
        white-space: nowrap;
        flex-shrink: 1;
        min-width: 0;
        position: relative;
        max-width: 100%;
        opacity: 0.98 !important;
    }

    .hc-mobile-crossfade .hc-awareness-theme-inner{
        display: inline-block;
        white-space: nowrap;
        will-change: transform;
    }

    /* Overflow Glide for Long Crossfade Entries (NO ELLIPSIS CUTOFF) */
    .hc-mobile-crossfade .hc-ticker-slide.is-phase-1 .hc-awareness-text.has-overflow-scroll .hc-awareness-text-inner,
    .hc-mobile-crossfade .hc-ticker-slide.is-phase-2 .hc-awareness-ticker-theme.has-overflow-scroll .hc-awareness-theme-inner{
        animation: hcPhaseTextGlide var(--phase-scroll-duration, 4s) ease-in-out infinite alternate !important;
    }

    @keyframes hcPhaseTextGlide {
        0%, 25% {
            transform: translate3d(0, 0, 0);
        }
        75%, 100% {
            transform: translate3d(calc(-1 * var(--phase-scroll-offset, 0px)), 0, 0);
        }
    }
}

/* =========================
   AWARENESS CALENDAR
========================= */

.hc-awareness-calendar{
    display:flex;
    flex-direction:column;
    gap:14px;
}

.hc-awareness-calendar-item{
    background:#ffffff;
    border:1px solid var(--border);
    border-radius:14px;
    padding:14px 16px;
    transition:0.2s ease;
}

.hc-awareness-calendar-item:hover{
    transform:translateY(-2px);
    box-shadow:0 10px 25px rgba(0,0,0,0.05);
}

.hc-awareness-calendar-date{
    font-size:0.78rem;
    font-weight:700;
    text-transform:uppercase;
    letter-spacing:0.04em;
    color:var(--primary);
    margin-bottom:6px;
}

.hc-awareness-calendar-title{
    font-size:0.95rem;
    line-height:1.5;
}

.hc-awareness-calendar-title a{
    color:var(--text-main);
    text-decoration:none;
}

.hc-awareness-calendar-title a:hover{
    color:var(--primary);
}

.hc-awareness-calendar .hc-awareness-item{
    display:flex;
    flex-direction:column;
    align-items:flex-start;
    padding:0 0 12px;
    color:var(--text-main);
    border-bottom:1px solid var(--border);
    background:transparent;
    border-radius:0;
    white-space:normal;
}

.hc-awareness-date{
    font-size:0.8rem;
    font-weight:700;
    color:var(--primary);
    margin-bottom:4px;
    text-transform:uppercase;
    letter-spacing:0.04em;
}

.hc-awareness-event{
    font-size:0.95rem;
    line-height:1.5;
}

/* Awareness archive cards */

.hc-awareness-card{
    overflow:hidden;
    height:100%;
    background:#ffffff;
    border:1px solid var(--border);
    border-radius:18px;
    box-shadow:0 2px 10px rgba(0,0,0,0.03);
}

.hc-awareness-card-body{
    padding:22px;
    text-align:center;
}

.hc-awareness-card-title{
    font-size:1.18rem;
    font-weight:700;
    line-height:1.35;
    margin-bottom:12px;
}

.hc-awareness-card-title a{
    color:#0f172a;
    font-weight:700;
    text-decoration:none;
    transition:color 0.15s ease;
}

.hc-awareness-card-title a:hover{
    color:var(--primary);
}

.hc-awareness-theme{
    color:#475569;
    font-weight:600;
}

.hc-awareness-theme-box h3{
    margin-bottom:0.5rem !important;
}

.hc-awareness-theme-text{
    margin-bottom:0;
}

.hc-awareness-theme-pending{
    color:#5f6f7a;
    font-style:italic;
}

.hc-awareness-excerpt{
    color:var(--text-muted);
    margin-bottom:16px;
}

.hc-awareness-meta{
    display:flex;
    flex-direction:column;
    align-items:center;
}

.hc-awareness-topic-label{
    margin-top:4px;
}

.hc-awareness-topic-label span{
    display: inline-block;
    padding: 2px 0;
    color: var(--text-muted) !important;
    font-size: 0.72rem !important;
    border-bottom: 1.5px solid rgba(47, 143, 157, 0.15);
}

.letter-spacing-1{
    letter-spacing:0.04em;
}

.hc-awareness-day-badge,
.hc-awareness-week-badge,
.hc-awareness-month-badge,
.hc-awareness-campaign-badge{
    display:inline-flex;
    align-items:center;
    padding:6px 12px;
    border-radius:999px;
    font-size:0.7rem;
    font-weight:700;
    text-transform:uppercase;
    letter-spacing:0.06em;
}

.hc-awareness-day-badge{ background:#e8f6f8; color:#2f8f9d; }
.hc-awareness-week-badge{ background:#f3e8ff; color:#7c3aed; }
.hc-awareness-month-badge{ background:#dbeafe; color:#2563eb; }
.hc-awareness-campaign-badge{ background:#ffedd5; color:#ea580c; }

.hc-sidebar-awareness-item{
    padding-bottom:14px;
    margin-bottom:14px;
    border-bottom:1px solid var(--border);
    transition:background-color 0.2s ease;
}

.hc-sidebar-awareness-item:last-child{
    margin-bottom:0;
}

.hc-sidebar-awareness-item.hc-item-active{
    background:rgba(34, 197, 94, 0.04);
    border-left:3px solid #16a34a;
    padding-left:10px;
    padding-top:6px;
    margin-left:-10px;
    margin-right:-10px;
    padding-right:10px;
    border-radius:0 8px 8px 0;
}

.hc-sidebar-awareness-meta{
    display:flex;
    flex-wrap:wrap;
    align-items:center;
    gap:6px;
    margin-bottom:4px;
}

.hc-sidebar-awareness-date{
    color:var(--primary);
    font-size:0.76rem;
    font-weight:700;
    text-transform:uppercase;
    letter-spacing:0.04em;
}

.hc-sidebar-badge{
    display:inline-flex;
    align-items:center;
    gap:4px;
    font-size:0.67rem;
    font-weight:700;
    line-height:1;
    padding:3px 7px;
    border-radius:999px;
    text-transform:uppercase;
    letter-spacing:0.03em;
}

.hc-sidebar-badge.hc-badge-active{
    background:#dcfce7;
    color:#15803d;
    border:1px solid #bbf7d0;
}

.hc-pulse-dot{
    display:inline-block;
    width:6px;
    height:6px;
    border-radius:50%;
    background-color:#16a34a;
    box-shadow:0 0 0 0 rgba(22, 163, 74, 0.7);
    animation:hc-pulse 2s infinite cubic-bezier(0.66, 0, 0, 1);
}

@keyframes hc-pulse{
    0%{ transform:scale(0.95); box-shadow:0 0 0 0 rgba(22, 163, 74, 0.7); }
    70%{ transform:scale(1); box-shadow:0 0 0 5px rgba(22, 163, 74, 0); }
    100%{ transform:scale(0.95); box-shadow:0 0 0 0 rgba(22, 163, 74, 0); }
}

.hc-sidebar-badge.hc-badge-month{
    background:#dbeafe;
    color:#1d4ed8;
    border:1px solid #bfdbfe;
}

.hc-sidebar-badge.hc-badge-week{
    background:#f3e8ff;
    color:#6b21a8;
    border:1px solid #e9d5ff;
}

.hc-sidebar-badge.hc-badge-campaign{
    background:#ffedd5;
    color:#c2410c;
    border:1px solid #fed7aa;
}

.hc-sidebar-badge.hc-badge-day{
    background:#f1f5f9;
    color:#475569;
    border:1px solid #e2e8f0;
}

.hc-sidebar-badge.hc-badge-related{
    background:#fef3c7;
    color:#92400e;
    border:1px solid #fde68a;
}

.hc-sidebar-awareness-link{
    display:block;
    margin-top:4px;
    font-size:0.95rem;
    font-weight:600;
    color:var(--text-main);
    line-height:1.45;
    text-decoration:none;
    transition:color 0.2s ease;
}

.hc-sidebar-awareness-link:hover{
    color:var(--primary);
    text-decoration:underline;
}

.hc-sidebar-awareness-theme{
    font-size:0.8rem;
    color:#64748b;
    font-style:italic;
    margin-top:4px;
    line-height:1.35;
}

.hc-sidebar-awareness-theme .hc-theme-prefix{
    font-style:normal;
    font-weight:600;
    color:#475569;
    font-size:0.75rem;
    text-transform:uppercase;
    letter-spacing:0.02em;
}

.hc-read-more{
    display:inline-flex;
    align-items:center;
    font-weight:700;
    color:var(--primary);
}

/* =========================
   AUTHOR
========================= */

.hc-author-hero{
    background:var(--bg-surface-secondary, #f8fafc);
    border-bottom:1px solid var(--border, #e5e7eb);
}

.hc-author-hero h1{
    font-size:2rem;
    font-weight:700;
    margin-bottom:0;
}

/* =========================
   EMPTY STATES / PAGINATION
========================= */

.hc-no-results{
    padding:48px 32px;
    background:#ffffff;
    border:1px solid var(--border);
    border-radius:20px;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
}

.hc-no-results-title {
    font-size: clamp(1.5rem, 2.2vw, 2rem);
    font-weight: 700;
    color: var(--text-main);
}

.hc-no-results-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hc-no-results-search {
    width: 100%;
    margin-bottom: 24px;
}

.hc-no-results-btn-wrap {
    margin-top: 4px;
}

.pagination,
.nav-links{
    display:flex;
    flex-wrap:wrap;
    gap:8px;
    align-items:center;
}

.page-numbers{
    display:inline-flex;
    min-width:40px;
    height:40px;
    align-items:center;
    justify-content:center;
    padding:0 12px;
    border:1px solid var(--border);
    border-radius:999px;
    color:var(--text-main);
    background:#ffffff;
}

.page-numbers.current,
.page-numbers:hover{
    background:var(--primary);
    color:#ffffff;
    border-color:var(--primary);
}

/* =========================
   SMALL SCREENS
========================= */

@media (max-width:576px){

    .container{
        padding-left:18px;
        padding-right:18px;
    }

    .hc-card-content,
    .hc-awareness-card-body{
        padding:18px;
    }

    .hc-featured-post .hc-card-title{
        font-size:1.45rem;
    }

    .hc-footer{
        margin-top:56px;
    }

    .hc-footer-brand{
        padding:52px 0 32px;
    }

    .hc-recurring-label{
        display:flex;
        width:max-content;
        margin:10px auto 0;
    }
}


.hc-breadcrumbs{
    display:flex;
    align-items:center;
    flex-wrap:wrap;
    gap:8px;
    margin:0 0 24px;
    font-size:0.85rem;
    font-weight:600;
}

.hc-breadcrumb-item{
    color:var(--text-muted);
    transition:color 0.2s ease;
}

.hc-breadcrumb-item:hover{
    color:var(--primary);
}

.hc-breadcrumb-sep{
    color:rgba(0,0,0,0.15);
    font-size:0.7rem;
    font-weight:400;
}

.hc-breadcrumb-current{
    color:var(--text-main);
}

/* =========================
   AWARENESS FILTERS
========================= */

.hc-filter-bar{
    background:#ffffff;
    border:1px solid var(--border);
    border-radius:18px;
    padding:24px;
    margin-bottom:40px;
    box-shadow:0 4px 12px rgba(0,0,0,0.02);
}

.hc-filter-group label{
    display:block;
    font-size:0.75rem;
    font-weight:700;
    text-transform:uppercase;
    letter-spacing:0.04em;
    color:var(--text-muted);
    margin-bottom:8px;
}

.hc-filter-select{
    width:100%;
    padding:10px 14px;
    border:1.5px solid var(--border);
    border-radius:10px;
    font-size:0.9rem;
    font-weight:500;
    color:var(--text-main);
    background-color:#fdfdfd;
    cursor:pointer;
    transition:all 0.2s;
}

.hc-filter-select:focus{
    border-color:var(--primary);
    outline:none;
    box-shadow:0 0 0 3px rgba(47,143,157,0.1);
}

@media (max-width:768px){
    .hc-filter-bar{
        padding:20px;
    }
}

.hc-post-meta{
    display:flex;
    flex-wrap:wrap;
    gap:8px;
    align-items:center;
    color:var(--text-muted);
    font-size:0.9rem;
}

html{
    scroll-behavior:smooth;
    scroll-padding-top:100px; /* Offset for sticky header if any */
}

.hc-article-toc{
    margin:32px 0;
    padding:24px;
    background:#f8fafc;
    border:1px solid var(--border);
    border-radius:18px;
    transition: all 0.3s ease;
}

.hc-article-toc.hc-toc-sticky {
    position: sticky;
    top: 100px;
    z-index: 10;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.hc-toc-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0;
}

.hc-article-toc h2.hc-toc-title {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 700;
}

.hc-toc-toggle {
    background: none;
    border: none;
    padding: 6px 12px;
    min-height: 38px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    border-radius: 6px;
    touch-action: manipulation;
    transition: background 0.2s;
}

.hc-toc-toggle:hover {
    background: rgba(47, 143, 157, 0.08);
}

.hc-toc-toggle-icon {
    font-size: 0.7rem;
    transition: transform 0.3s;
}

.hc-toc-list {
    margin: 16px 0 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.hc-toc-list li {
    margin-bottom: 0;
    line-height: 1.45;
}

.hc-toc-list a.hc-toc-link,
.hc-toc-list a,
.hc-article-content .hc-article-toc .hc-toc-list a {
    color: var(--text-main, #1e293b) !important;
    text-decoration: none !important;
    font-size: 0.96rem !important;
    display: flex !important;
    align-items: flex-start !important;
    gap: 8px !important;
    padding: 6px 10px !important;
    border-radius: 8px !important;
    border-left: 3px solid transparent !important;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease !important;
}

.hc-toc-list a.hc-toc-link:hover,
.hc-toc-list a:hover,
.hc-article-content .hc-article-toc .hc-toc-list a:hover {
    background: rgba(17, 81, 89, 0.05) !important;
    color: var(--primary, #115159) !important;
    text-decoration: none !important;
}

.hc-toc-list a.hc-toc-link.is-active {
    background: rgba(17, 81, 89, 0.08);
    border-left-color: var(--primary, #115159);
}

.hc-toc-list a.hc-toc-link.is-active .hc-toc-text {
    font-weight: 600;
    color: var(--primary, #115159);
}

.hc-toc-list a.hc-toc-link.is-active .hc-toc-number {
    color: var(--primary, #115159);
}

.hc-toc-h3 {
    padding-left: 1.5rem;
}

.hc-toc-h3 .hc-toc-text {
    font-size: 0.9rem;
    color: #475569;
}

.hc-toc-number {
    flex-shrink: 0;
    min-width: 1.65rem;
    font-weight: 700;
    color: var(--primary, #115159);
    line-height: 1.45;
    font-variant-numeric: tabular-nums;
    user-select: none;
}

.hc-toc-h3 .hc-toc-number {
    min-width: 2.25rem;
    color: #64748b;
}

.hc-toc-text {
    flex: 1 1 auto;
    line-height: 1.45;
    word-break: break-word;
}

.hc-share-buttons{
    display:flex;
    flex-wrap:wrap;
    align-items:center;
    justify-content:space-between;
    gap:16px;
    margin-top:40px;
    padding-top:24px;
    border-top:1px solid var(--border);
}

.hc-share-socials{
    display:flex;
    align-items:center;
    flex-wrap:wrap;
    gap:10px;
}

.hc-share-actions{
    display:flex;
    align-items:center;
    gap:10px;
}

.hc-share-buttons span,
.hc-share-label{
    color:var(--text-muted);
    font-weight:700;
}

.hc-share-buttons a{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    width:38px;
    height:38px;
    min-height:38px;
    padding:0;
    border:1px solid var(--border);
    border-radius:50%;
    background:#ffffff;
    color:var(--text-main);
    font-size:0.95rem;
    transition:all 0.2s ease;
    flex-shrink:0;
}

.hc-copy-link,
.hc-print-btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:6px;
    min-height:38px;
    padding:0 14px;
    border:1px solid var(--border);
    border-radius:999px;
    background:#ffffff;
    color:var(--text-main);
    font-weight:600;
    font-size:0.85rem;
    transition:all 0.2s ease;
    cursor:pointer;
    white-space:nowrap;
}

.hc-share-buttons a:hover,
.hc-copy-link:hover,
.hc-print-btn:hover{
    background:var(--primary);
    border-color:var(--primary);
    color:#ffffff;
}

.hc-copy-link.copied{
    background:#10b981;
    border-color:#10b981;
    color:#ffffff;
}

@media (max-width: 767px) {
    .hc-share-buttons {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .hc-share-socials {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: flex-start;
        gap: 10px;
    }

    .hc-share-actions {
        width: 100%;
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .hc-share-actions .hc-copy-link,
    .hc-share-actions .hc-print-btn {
        flex: 1 1 0;
        justify-content: center;
        padding: 0 10px;
        text-align: center;
    }
}

/* Glossary Footer Responsive Action Bar */
.hc-glossary-footer{
    border-top:1px solid var(--border);
}

.hc-glossary-back-btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:8px;
    min-height:40px;
    padding:0 20px;
    border-radius:999px;
    font-weight:600;
    font-size:0.9rem;
    white-space:nowrap;
    border-color:var(--primary);
    color:var(--primary);
    background:transparent;
    transition:all 0.2s ease;
}

.hc-glossary-back-btn:hover{
    background:var(--primary);
    border-color:var(--primary);
    color:#ffffff;
}

.hc-glossary-footer .hc-share-buttons{
    margin-top:0;
    padding-top:0;
    border-top:none;
    gap:8px;
}

@media (max-width: 767.98px){
    .hc-glossary-back-wrap{
        width:100%;
    }
    .hc-glossary-back-btn{
        width:100%;
        justify-content:center;
    }
    .hc-glossary-footer .hc-share-buttons{
        justify-content:center;
        width:100%;
    }
}

@media (min-width: 768px){
    .hc-glossary-footer .hc-share-buttons{
        justify-content:flex-end;
    }
}

.hc-article-readtime{
    display:inline-flex;
    align-items:center;
    gap:5px;
    color:var(--text-muted);
    font-weight:500;
    font-size:0.875rem;
}

.hc-badge-reviewed{
    display:inline-flex;
    align-items:center;
    gap:5px;
    padding:4px 12px;
    border-radius:999px;
    background:#ecfdf5;
    color:#065f46;
    border:1px solid #a7f3d0;
    font-size:0.78rem;
    font-weight:600;
    letter-spacing:0.02em;
    transition:all 0.2s ease;
}

.hc-badge-label-link{
    display:inline-flex;
    align-items:center;
    gap:4px;
    color:inherit;
    text-decoration:none;
    transition:color 0.15s ease;
}

.hc-badge-label-link:hover{
    color:#047857;
    text-decoration:underline;
}

.hc-badge-reviewed i{
    color:#059669;
}

.hc-badge-sep{
    color:inherit;
    opacity:0.75;
}

.hc-reviewer-link{
    color:#065f46;
    text-decoration:underline;
    font-weight:700;
    transition:color 0.15s ease;
}

.hc-reviewer-link:hover{
    color:#047857;
}

/* Dark Mode for Medically Reviewed Badge */
[data-theme="dark"] .hc-badge-reviewed{
    background:rgba(6, 78, 59, 0.4) !important;
    border:1px solid rgba(52, 211, 153, 0.4) !important;
    color:#6ee7b7 !important;
    box-shadow:0 2px 8px rgba(0, 0, 0, 0.3) !important;
}

[data-theme="dark"] .hc-badge-reviewed i{
    color:#34d399 !important;
}

[data-theme="dark"] .hc-badge-label-link{
    color:#6ee7b7 !important;
}

[data-theme="dark"] .hc-badge-label-link:hover{
    color:#a7f3d0 !important;
    text-decoration:underline !important;
}

[data-theme="dark"] .hc-badge-sep{
    color:#6ee7b7 !important;
}

[data-theme="dark"] .hc-reviewer-link{
    color:#a7f3d0 !important;
}

[data-theme="dark"] .hc-reviewer-link:hover{
    color:#ffffff !important;
    text-shadow:0 0 8px rgba(110, 231, 183, 0.6) !important;
}

.hc-author-designation{
    font-weight:400;
}

.hc-article-disclaimer{
    margin-top:32px;
    padding:22px;
    background:#fff7d6;
    border:1px solid #f1e4a3;
    border-radius:18px;
}

.hc-article-disclaimer h2{
    margin-bottom:8px;
    font-size:1.05rem;
}

.hc-article-disclaimer p{
    margin:0;
    color:#5c5346;
}

.hc-newsletter-section{
    padding:70px 0;
    background:#f8fafc;
}

.hc-newsletter{
    display:flex;
    align-items:center;
    justify-content:space-between;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
    gap:40px;
    padding:48px;
    background:#ffffff;
    border:1px solid var(--border);
    border-radius:24px;
}

.hc-newsletter-info {
    flex: 1;
    min-width: min(100%, 400px);
}

.hc-newsletter-form-wrap {
    flex: 1;
    min-width: min(100%, 450px);
}

.hc-newsletter h2{
    margin-bottom:10px;
    font-size:clamp(1.65rem, 2.4vw, 2.15rem);
    font-weight:700;
    line-height:1.25;
    letter-spacing:-0.015em;
    color:var(--text-main);
}

.hc-newsletter p{
    max-width:620px;
    margin:0;
    color:var(--text-muted);
}

.hc-newsletter-message.text-muted{
    color:#475569 !important;
}

.hc-newsletter-message.text-success{
    color:#166534 !important;
}

.hc-newsletter-message.text-danger{
    color:#991b1b !important;
}

@media (max-width: 767px) {
    .hc-newsletter-section {
        padding: 42px 0;
    }
    .hc-newsletter {
        padding: 24px 18px !important;
        gap: 20px !important;
        border-radius: 16px !important;
    }
    .hc-newsletter-info {
        min-width: 100% !important;
    }
    .hc-newsletter-form-wrap {
        min-width: 100% !important;
    }
    .hc-newsletter h2 {
        font-size: 1.45rem !important;
        line-height: 1.25 !important;
        margin-bottom: 8px !important;
    }
    .hc-newsletter p {
        font-size: 0.94rem !important;
        line-height: 1.55 !important;
    }
    .hc-newsletter-form .form-control {
        height: 48px !important;
        font-size: 16px !important;
        border-radius: 10px !important;
    }
    .hc-newsletter-form .btn {
        height: 48px !important;
        font-size: 1rem !important;
        font-weight: 600 !important;
        border-radius: 10px !important;
    }
}

.hc-error-page,
.hc-author-profile{
    max-width:760px;
}

.hc-author-profile img,
.hc-author-profile-large img {
    border-radius: 50%;
    margin-inline: auto;
    display: block; /* Required for margin-inline: auto to work */
}

.hc-comments{
    max-width:850px;
    margin:60px auto 0;
    padding-top:40px;
    border-top:1px solid var(--border);
}

/* ==========================================================================
   ENHANCED MODERN COMMENTS SYSTEM
   ========================================================================== */

.hc-comments-section {
    background: #fdfdfd;
}

.hc-comments-header h2 {
    letter-spacing: -0.01em;
}

.hc-add-comment-btn {
    border-radius: 20px;
    font-size: 0.82rem;
    font-weight: 600;
    padding: 0.35rem 0.9rem;
    transition: all 0.2s ease;
}

.hc-comment-item {
    transition: background 0.2s ease;
}

.hc-comment-avatar img {
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #ffffff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.hc-comment-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 2px 7px;
    border-radius: 20px;
    line-height: 1.2;
}

.hc-badge-author {
    background: #f0fdfa;
    color: #0f766e;
    border: 1px solid #99f6e4;
}

.hc-badge-staff {
    background: #eef2ff;
    color: #4338ca;
    border: 1px solid #c7d2fe;
}

.reply .comment-reply-link {
    display: inline-flex;
    align-items: center;
    font-size: 0.78rem;
    font-weight: 600;
    color: #1e6b7b;
    background: #f0f9fa;
    border: 1px solid #d3edf0;
    padding: 3px 10px;
    border-radius: 14px;
    text-decoration: none !important;
    transition: all 0.18s ease;
}

.reply .comment-reply-link:hover {
    background: #1e6b7b;
    color: #ffffff;
    border-color: #1e6b7b;
}

/* Thread Nesting */
.hc-comment-list .children {
    list-style: none;
    padding-left: 2rem;
    margin-top: 1.5rem;
    border-left: 2px solid #e2e8f0;
}

@media (max-width: 767px) {
    .hc-comment-list .children {
        padding-left: 1rem;
        margin-top: 1rem;
    }
    .hc-comment-avatar img {
        width: 42px !important;
        height: 42px !important;
    }
    .hc-comment-form-wrap {
        padding: 20px 16px !important;
        border-radius: 12px !important;
    }
    .hc-comment-submit-btn {
        width: 100% !important;
        height: 48px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        font-size: 1rem !important;
    }
    .hc-comment-meta-bar {
        font-size: 0.82rem !important;
    }
    .hc-comment-guideline {
        line-height: 1.4;
    }
    .hc-comment-logged-in-bar {
        padding: 10px 14px !important;
        font-size: 0.84rem !important;
    }
}

/* LOGGED-IN STATUS BAR (COMMENTS) */
.hc-comment-logged-in-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 10px !important;
    padding: 10px 16px !important;
    margin-bottom: 1.25rem !important;
    gap: 12px;
}

.hc-comment-user-identity {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #1e293b;
    font-size: 0.88rem;
}

.hc-user-actions-wrap {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
}

.hc-user-action-link {
    font-weight: 500;
    color: #64748b;
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    transition: color 0.15s ease, opacity 0.15s ease;
}

.hc-user-action-link:hover {
    color: var(--primary, #2f8f9d);
    text-decoration: underline !important;
}

.hc-user-action-divider {
    color: #cbd5e1;
    font-size: 0.85rem;
    user-select: none;
}

/* Tablet & Mobile: Symmetrical, Balanced Stacking */
@media (max-width: 991.98px) {
    .hc-comment-logged-in-bar {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
        padding: 12px 14px !important;
        gap: 8px !important;
    }

    .hc-comment-user-identity {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
        width: 100% !important;
        font-size: 0.86rem !important;
    }

    .hc-user-actions-wrap {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
        width: 100% !important;
        padding-top: 8px !important;
        border-top: 1px solid #e2e8f0 !important;
        gap: 12px !important;
        font-size: 0.83rem !important;
    }
}

/* Mobile: Stack 'Edit your profile' and 'Logout' vertically */
@media (max-width: 767.98px) {
    .hc-user-actions-wrap {
        flex-direction: column !important;
        align-items: center !important;
        gap: 6px !important;
        padding-top: 8px !important;
    }
    .hc-user-action-divider {
        display: none !important;
    }
    .hc-user-action-link {
        width: 100% !important;
        justify-content: center !important;
        padding: 4px 8px !important;
        font-size: 0.84rem !important;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .hc-comment-form-wrap {
        padding: 24px 22px !important;
    }
    .hc-comment-submit-btn {
        padding: 10px 24px !important;
    }
}

.hc-comment-form-wrap {
    border-color: #e2e8f0 !important;
}

.hc-comment-textarea {
    border: 1.5px solid #cbd5e1;
    border-radius: 10px;
    font-size: 0.96rem;
    line-height: 1.6;
    padding: 12px 14px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.hc-comment-textarea:focus {
    border-color: var(--primary, #2f8f9d);
    box-shadow: 0 0 0 3px rgba(47, 143, 157, 0.15);
}

.hc-comment-submit-btn {
    border-radius: 8px;
    font-size: 0.95rem;
    transition: all 0.2s ease;
}

/* ==========================================================================
   UNIVERSAL PLACEHOLDER STYLING (MOBILE OPTIMIZED & ACCESSIBLE)
   ========================================================================== */

.form-control::placeholder,
.hc-form-control::placeholder,
.hc-comment-textarea::placeholder,
input::placeholder,
textarea::placeholder {
    color: #64748b !important; /* Crisp Slate-500 */
    opacity: 0.85 !important;   /* Fix iOS/Android extreme transparency */
    font-size: 0.92rem;
    font-weight: 400;
}

@media (max-width: 767.98px) {
    .form-control::placeholder,
    .hc-form-control::placeholder,
    .hc-comment-textarea::placeholder,
    input::placeholder,
    textarea::placeholder {
        font-size: 0.88rem !important;
        opacity: 0.88 !important;
        color: #475569 !important; /* Slightly deeper slate on mobile for high ambient contrast */
    }
}

/* ULTIMATE POETRY CARD STYLING */
article[data-content-type="poetry"].hc-post-card,
article.hc-poetry-card.hc-post-card,
article.category-unstraight-lines.hc-post-card {
    border-left: 6px solid var(--primary) !important;
    background: #fdfdfd !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.04) !important;
}

article.hc-poetry-card .hc-card-title,
article.hc-poetry-card .hc-card-title a,
article.category-unstraight-lines .hc-card-title a {
    font-family: 'Playfair Display', Georgia, serif !important;
    font-style: italic !important;
    font-weight: 700 !important;
    color: #1a1a1a !important;
    font-size: 1.3rem !important;
}

article.hc-poetry-card .hc-card-meta,
article.category-unstraight-lines .hc-card-meta {
    font-family: 'Playfair Display', Georgia, serif !important;
    font-style: italic !important;
}

.hc-poetry-teaser {
    font-family: 'Playfair Display', Georgia, serif !important;
    font-style: italic !important;
    font-size: 1.02rem !important;
    line-height: 1.5 !important;
    color: #4b5563 !important;
    margin: 16px 0 !important;
    padding-left: 16px !important;
    border-left: 3px solid #2f8f9d !important; /* Single crisp teal line */
    display: block !important;
}

.hc-poetry-teaser .hc-poetry-teaser {
    border-left: none !important;
    padding-left: 0 !important;
    margin: 0 !important;
}

.hc-poetry-more {
    color: var(--primary);
    font-weight: 700;
    margin-left: 4px;
}

/* ========================================
   UNSTRAIGHT LINES REFLECTION NAVIGATION
======================================== */

.hc-reflection-nav {
    background: #fbfcfd;
    padding: 3rem 0;
}

.hc-reflection-nav .hc-section-label {
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #0f766e;
    background: rgba(15, 118, 110, 0.08);
    padding: 4px 12px;
    border-radius: 20px;
    border: 1px solid rgba(15, 118, 110, 0.15);
}

.hc-ref-archive-link {
    font-size: 0.82rem;
    color: #64748b;
    transition: color 0.18s ease;
}

.hc-ref-archive-link:hover {
    color: var(--primary);
    text-decoration: underline !important;
}

/* More Reflections Cards (Fashioned after Unstraight Lines Homepage Cards) */
.hc-reflection-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: #fdfdfd !important;
    border: 1px solid #e2e8f0;
    border-left: 6px solid #2f8f9d !important; /* Iconic primary teal border */
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.03);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    overflow: hidden;
}

.hc-reflection-card:hover {
    background: #ffffff !important;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.07);
    transform: translateY(-3px);
}

.hc-reflection-thumb {
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 10px;
}

.hc-reflection-thumb a {
    display: block;
    width: 100%;
    height: 100%;
}

.hc-reflection-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.hc-reflection-card:hover .hc-reflection-img {
    transform: scale(1.03);
}

.hc-reflection-cat-badge {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #0d9488;
    background: rgba(13, 148, 136, 0.1);
    border-radius: 6px;
    padding: 3px 8px;
}

.hc-reflection-title {
    font-family: 'Playfair Display', Georgia, serif !important;
    font-style: italic !important;
    font-weight: 700 !important;
    font-size: 1.35rem;
    line-height: 1.35;
    margin-bottom: 0.75rem;
}

.hc-reflection-title a {
    color: #1a1a1a !important;
    text-decoration: none !important;
    transition: color 0.18s ease;
}

.hc-reflection-title a:hover,
.hc-reflection-card:hover .hc-reflection-title a {
    color: #0d9488 !important;
}

.hc-reflection-card .hc-poetry-teaser {
    font-family: 'Playfair Display', Georgia, serif !important;
    font-style: italic !important;
    font-size: 1.02rem !important;
    line-height: 1.5 !important;
    color: #4b5563 !important;
    margin: 16px 0 !important;
    padding-left: 16px !important;
    border-left: 3px solid #2f8f9d !important; /* Secondary vertical teal line */
    display: block !important;
}

.hc-reflection-meta {
    font-family: 'Playfair Display', Georgia, serif;
    font-style: italic;
    font-size: 0.82rem;
    color: #64748b;
}

.hc-reflection-btn {
    border-color: #0d9488;
    color: #0d9488;
    font-weight: 600;
    font-size: 0.82rem;
    transition: all 0.2s ease;
}

.hc-reflection-btn:hover {
    background: #0d9488;
    border-color: #0d9488;
    color: #ffffff;
    transform: translateX(2px);
}

/* Explore the Realities Deep Dive Card */
.hc-deep-dive-card {
    border: 1px solid #e2e8f0;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.03);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.hc-deep-dive-card:hover {
    background: #ffffff;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.07);
    transform: translateY(-3px);
}

.hc-deep-dive-thumb {
    aspect-ratio: 16 / 9;
}

.hc-deep-dive-thumb a {
    display: block;
    width: 100%;
    height: 100%;
}

.hc-deep-dive-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.hc-deep-dive-card:hover .hc-deep-dive-img {
    transform: scale(1.03);
}

.hc-deep-dive-badge {
    background: #f1f5f9;
    color: #475569;
    font-size: 0.74rem;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 20px;
}

.hc-deep-dive-title {
    font-size: 1.20rem;
    font-weight: 750;
    line-height: 1.35;
    letter-spacing: -0.015em;
}

.hc-deep-dive-title a {
    color: #0f172a;
    transition: color 0.18s ease;
}

.hc-deep-dive-card:hover .hc-deep-dive-title a {
    color: var(--primary);
}

.hc-deep-dive-excerpt {
    font-size: 0.90rem;
    line-height: 1.55;
    color: #64748b;
}

.hc-deep-dive-footer {
    border-color: #f1f5f9 !important;
}

.hc-deep-dive-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-weight: 600;
    border-radius: 8px;
    transition: transform 0.18s ease;
}

.hc-deep-dive-btn:hover {
    transform: translateX(2px);
}

.hc-nav-container {
    height: 100%;
}

@media (max-width: 768px) {
    .hc-reflection-nav {
        padding: 2rem 0;
    }
}

/* BROWSE CARD HOVER STYLE */
.hc-browse-card:hover {
    background: #1e293b;
    color: #ffffff;
}

/* ========================================
   GLOSSARY & FAQ
======================================== */

.hc-alphabet-nav .hc-letter-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 10px;
    color: var(--text-main);
    font-weight: 700;
    font-size: 0.9rem;
    transition: all 0.25s ease;
}

.hc-alphabet-nav .hc-letter-link:hover:not(.disabled) {
    background: var(--primary);
    color: #ffffff;
    border-color: var(--primary);
    transform: translateY(-2px);
}

.hc-alphabet-nav .hc-letter-link.active {
    background: var(--primary);
    color: #ffffff;
    border-color: var(--primary);
}

.hc-alphabet-nav .hc-letter-link.disabled {
    opacity: 0.35;
    cursor: default;
    background: #f1f5f9;
}

.hc-glossary-main-title,
.hc-faq-main-title,
.hc-faq-archive .hc-section-heading h1 {
    font-size: clamp(2.3rem, 4vw, 3.25rem);
    font-weight: 800 !important;
    line-height: 1.15;
    letter-spacing: -0.025em;
    color: var(--text-main, #0f172a);
    margin-bottom: 16px;
}

.hc-glossary-card {
    transition: all 0.3s ease;
    background: #ffffff;
}

.hc-glossary-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.08) !important;
}

.hc-faq-accordion .accordion-button {
    background: #ffffff;
    color: var(--text-main);
    box-shadow: none !important;
}

.hc-faq-accordion .accordion-button:not(.collapsed) {
    color: var(--primary);
    background: #f8fafc;
}

.hc-faq-accordion .accordion-item {
    border-radius: 0 !important;
}

.hc-faq-accordion .accordion-item:first-of-type {
    border-top-left-radius: 16px !important;
    border-top-right-radius: 16px !important;
}

.hc-faq-accordion .accordion-item:last-of-type {
    border-bottom-left-radius: 16px !important;
    border-bottom-right-radius: 16px !important;
    border-bottom: 0;
}

.hc-glossary-search-form {
    background: #f8fafc;
    border-width: 2px;
}

.hc-glossary-search-wrap {
    z-index: 1000;
}

.hc-ajax-results-dropdown {
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    width: 100% !important;
    background: #ffffff !important;
    margin-top: 10px !important;
    z-index: 9999 !important;
    max-height: 350px !important;
    overflow-y: auto !important;
    border: 1px solid var(--border) !important;
    box-shadow: 0 15px 45px rgba(0,0,0,0.2) !important;
    overscroll-behavior: contain !important;
    -webkit-overflow-scrolling: touch !important;
}

/* Custom Scrollbar for Dropdown */
.hc-ajax-results-dropdown::-webkit-scrollbar {
    width: 6px;
}
.hc-ajax-results-dropdown::-webkit-scrollbar-track {
    background: #f1f1f1;
}
.hc-ajax-results-dropdown::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 10px;
}
.hc-ajax-results-dropdown::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

.hc-ajax-search-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.hc-ajax-search-list li a {
    display: flex;
    flex-direction: column;
    padding: 12px 20px;
    border-bottom: 1px solid #f1f5f9;
    text-decoration: none;
    transition: background 0.2s ease;
}

.hc-ajax-search-list li a:hover {
    background: #f8fafc;
    border-left: 3px solid var(--primary);
}

.hc-ajax-search-list .title {
    display: block;
    font-weight: 700;
    font-size: 1rem;
    color: var(--primary);
    margin-bottom: 2px;
}

.hc-ajax-search-list .desc {
    display: block;
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.4;
}

.hc-glossary-card {
    border: 1px solid var(--border);
    background: #ffffff;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.hc-back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: #ffffff;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.8);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.hc-back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.hc-back-to-top:hover {
    background: #1e293b;
    transform: translateY(-5px) scale(1.05);
}

@media (max-width: 576px) {
    .hc-back-to-top {
        bottom: 20px;
        right: 20px;
        width: 44px;
        height: 44px;
        font-size: 0.95rem;
        touch-action: manipulation;
    }
}

/* ========================================
   CONTRAST REFINEMENTS
======================================== */

.hc-article-content a:not(.btn):not([class*="btn"]),
.hc-page-content a:not(.btn):not([class*="btn"]),
.hc-awareness-updates a:not(.btn):not([class*="btn"]),
.single-health_awareness .hc-sidebar-box .hc-awareness-updates a:not(.btn):not([class*="btn"]),
.single-awareness_day .hc-sidebar-box .hc-awareness-updates a:not(.btn):not([class*="btn"]){
    color:var(--link-color) !important;
    font-weight:600;
    text-decoration:underline;
    text-underline-offset:0.14em;
}

.hc-article-content a:not(.btn):not([class*="btn"]):hover,
.hc-page-content a:not(.btn):not([class*="btn"]):hover,
.hc-awareness-updates a:not(.btn):not([class*="btn"]):hover,
.single-health_awareness .hc-sidebar-box .hc-awareness-updates a:not(.btn):not([class*="btn"]):hover,
.single-awareness_day .hc-sidebar-box .hc-awareness-updates a:not(.btn):not([class*="btn"]):hover{
    color:var(--link-hover) !important;
    text-decoration-thickness:2px;
}

/* Ensure buttons in content areas preserve their background, white text, and no underline */
.hc-article-content a.btn,
.hc-page-content a.btn,
.hc-article-content .btn,
.hc-page-content .btn {
    text-decoration: none !important;
}

.hc-article-content a.btn-primary,
.hc-page-content a.btn-primary,
.hc-article-content .btn-primary,
.hc-page-content .btn-primary {
    color: #ffffff !important;
    background-color: var(--button-bg) !important;
    border-color: var(--button-bg) !important;
}

.hc-article-content a.btn-primary:hover,
.hc-page-content a.btn-primary:hover,
.hc-article-content .btn-primary:hover,
.hc-page-content .btn-primary:hover {
    color: #ffffff !important;
    background-color: var(--button-hover) !important;
    border-color: var(--button-hover) !important;
}

.hc-article-content a.btn-outline-primary,
.hc-page-content a.btn-outline-primary,
.hc-article-content .btn-outline-primary,
.hc-page-content .btn-outline-primary {
    color: var(--primary) !important;
    background-color: transparent !important;
    border-color: var(--primary) !important;
}

.hc-article-content a.btn-outline-primary:hover,
.hc-page-content a.btn-outline-primary:hover,
.hc-article-content .btn-outline-primary:hover,
.hc-page-content .btn-outline-primary:hover {
    color: #ffffff !important;
    background-color: var(--primary) !important;
    border-color: var(--primary) !important;
}

.hc-article-category a,
.hc-author-link,
.hc-read-more,
.hc-sidebar-awareness-date,
.hc-awareness-date,
.hc-awareness-calendar-date,
.hc-toc-toggle,
.hc-toc-number,
.hc-ajax-search-list .title{
    color:var(--link-color);
}

.hc-card-category,
.hc-section-label,
.hc-awareness-card-title a:hover,
.hc-awareness-calendar-title a:hover,
.hc-category-title a:hover,
.hc-card-title a:hover,
.hc-featured-article h2 a:hover,
.hc-category-posts a:hover,
.hc-sidebar-box a:hover,
.hc-toc-list a:hover,
.hc-breadcrumb-item:hover{
    color:var(--link-hover);
}

.hc-sidebar-box .btn-primary,
.hc-sidebar-box .btn-primary:hover,
.hc-sidebar-newsletter .btn-primary,
.hc-sidebar-newsletter .btn-primary:hover,
.hc-newsletter .btn-primary,
.hc-newsletter .btn-primary:hover{
    color:#ffffff !important;
}

.hc-sidebar-newsletter .btn-primary,
.hc-newsletter .btn-primary{
    background:var(--button-bg);
    border-color:var(--button-bg);
}

.hc-sidebar-newsletter .btn-primary:hover,
.hc-newsletter .btn-primary:hover{
    background:var(--button-hover);
    border-color:var(--button-hover);
}

.hc-calendar-nav .nav-link:hover,
.page-numbers.current,
.page-numbers:hover,
.hc-share-buttons a:hover,
.hc-copy-link:hover,
.hc-alphabet-nav .hc-letter-link:hover:not(.disabled),
.hc-alphabet-nav .hc-letter-link.active,
.hc-footer-social a:hover,
.hc-back-to-top{
    background:var(--button-bg);
    border-color:var(--button-bg);
    color:#ffffff;
}

.hc-back-to-top:hover{
    background:var(--button-hover);
    color:#ffffff;
}

/* Campaign representation / insignia card styling */
.hc-campaign-insignia-box {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
    transition: transform 0.3s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.hc-campaign-insignia-box:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.04);
}

.hc-insignia-icon-wrapper {
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.hc-campaign-insignia-box:hover .hc-insignia-icon-wrapper {
    transform: scale(1.08) rotate(6deg);
}

.hc-insignia-image-wrapper img {
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.hc-campaign-insignia-box:hover .hc-insignia-image-wrapper img {
    transform: scale(1.06) rotate(-3deg);
}

/* -------------------------------------------------------------------------
 * Maintenance Notification
 * -------------------------------------------------------------------------
 */
.hc-maintenance-banner {
    position: relative;
    z-index: 99999;
    background: #fff3cd;
    color: #664d03;
    border-bottom: 1px solid #ffc107;
    font-size: 0.95rem;
}

.hc-maintenance-banner.is-live {
    background: #f8d7da;
    color: #842029;
    border-bottom-color: #f5c2c7;
}

.hc-maintenance-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    flex-wrap: wrap;
}

.hc-maintenance-icon {
    font-size: 1.25rem;
    line-height: 1;
}

.hc-maintenance-countdown {
    font-weight: 600;
}

.hc-countdown-timer {
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.05em;
}

/* -------------------------------------------------------------------------
 * Estimated Reading Time
 * -------------------------------------------------------------------------
 */
.hc-reading-time {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
    font-weight: 500;
}

.hc-reading-time::before {
    content: '\f433';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 0.8rem;
    opacity: 0.7;
}

/* -------------------------------------------------------------------------
 * Custom Block Styles – Group
 * -------------------------------------------------------------------------
 */

/* Base styling for all single-card premium groups */
.wp-block-group.is-style-hc-key-takeaways,
.wp-block-group.is-style-hc-medical-note,
.wp-block-group.is-style-hc-warning,
.wp-block-group.is-style-hc-evidence-snapshot,
.wp-block-group.is-style-hc-clinical-insight,
.wp-block-group.is-style-hc-did-you-know,
.wp-block-group.is-style-hc-practical-tips,
.wp-block-group.is-style-hc-see-doctor,
.wp-block-group.is-style-hc-common-mistake,
.wp-block-group.is-style-hc-evidence-gap,
.wp-block-group.is-style-hc-emergency-warning,
.wp-block-group.is-style-hc-risk-factors,
.wp-block-group.is-style-hc-prevention-tips,
.wp-block-group.is-style-hc-symptoms-checklist,
.wp-block-group.is-style-hc-bottom-line,
.wp-block-group.is-style-hc-benefits,
.wp-block-group.is-style-hc-complications,
.wp-block-group.is-style-hc-screening-recommendations,
.wp-block-group.is-style-hc-medical-language,
.wp-block-group.is-style-hc-why-matters,
.wp-block-group.is-style-hc-myth-vs-fact {
    margin-top: 2.25rem !important;
    margin-bottom: 2.25rem !important;
    padding: 1.5rem 1.85rem !important;
    border-radius: 10px;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.03), 0 1px 2px rgba(0, 0, 0, 0.02);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
    border-left-width: 4px !important;
    border-left-style: solid !important;
    border-top: 1px solid rgba(0, 0, 0, 0.04) !important;
    border-right: 1px solid rgba(0, 0, 0, 0.04) !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.04) !important;
    position: relative;
    overflow: visible !important;
}

/* Hover micro-interactions */
.wp-block-group.is-style-hc-key-takeaways:hover,
.wp-block-group.is-style-hc-medical-note:hover,
.wp-block-group.is-style-hc-warning:hover,
.wp-block-group.is-style-hc-evidence-snapshot:hover,
.wp-block-group.is-style-hc-clinical-insight:hover,
.wp-block-group.is-style-hc-did-you-know:hover,
.wp-block-group.is-style-hc-practical-tips:hover,
.wp-block-group.is-style-hc-see-doctor:hover,
.wp-block-group.is-style-hc-common-mistake:hover,
.wp-block-group.is-style-hc-evidence-gap:hover,
.wp-block-group.is-style-hc-emergency-warning:hover,
.wp-block-group.is-style-hc-risk-factors:hover,
.wp-block-group.is-style-hc-prevention-tips:hover,
.wp-block-group.is-style-hc-symptoms-checklist:hover,
.wp-block-group.is-style-hc-bottom-line:hover,
.wp-block-group.is-style-hc-benefits:hover,
.wp-block-group.is-style-hc-complications:hover,
.wp-block-group.is-style-hc-screening-recommendations:hover,
.wp-block-group.is-style-hc-medical-language:hover,
.wp-block-group.is-style-hc-why-matters:hover,
.wp-block-group.is-style-hc-myth-vs-fact:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 35px rgba(0, 0, 0, 0.04), 0 2px 5px rgba(0, 0, 0, 0.02);
}

/* Base styling for paragraphs and other contents inside cards */
.wp-block-group.is-style-hc-key-takeaways > *,
.wp-block-group.is-style-hc-medical-note > *,
.wp-block-group.is-style-hc-warning > *,
.wp-block-group.is-style-hc-evidence-snapshot > *,
.wp-block-group.is-style-hc-clinical-insight > *,
.wp-block-group.is-style-hc-did-you-know > *,
.wp-block-group.is-style-hc-practical-tips > *,
.wp-block-group.is-style-hc-see-doctor > *,
.wp-block-group.is-style-hc-common-mistake > *,
.wp-block-group.is-style-hc-evidence-gap > *,
.wp-block-group.is-style-hc-emergency-warning > *,
.wp-block-group.is-style-hc-risk-factors > *,
.wp-block-group.is-style-hc-prevention-tips > *,
.wp-block-group.is-style-hc-symptoms-checklist > *,
.wp-block-group.is-style-hc-bottom-line > *,
.wp-block-group.is-style-hc-benefits > *,
.wp-block-group.is-style-hc-complications > *,
.wp-block-group.is-style-hc-screening-recommendations > *,
.wp-block-group.is-style-hc-medical-language > *,
.wp-block-group.is-style-hc-why-matters > *,
.wp-block-group.is-style-hc-myth-vs-fact > * {
    margin-top: 0;
    margin-bottom: 0.75rem;
}

.wp-block-group.is-style-hc-key-takeaways > *:last-child,
.wp-block-group.is-style-hc-medical-note > *:last-child,
.wp-block-group.is-style-hc-warning > *:last-child,
.wp-block-group.is-style-hc-evidence-snapshot > *:last-child,
.wp-block-group.is-style-hc-clinical-insight > *:last-child,
.wp-block-group.is-style-hc-did-you-know > *:last-child,
.wp-block-group.is-style-hc-practical-tips > *:last-child,
.wp-block-group.is-style-hc-see-doctor > *:last-child,
.wp-block-group.is-style-hc-common-mistake > *:last-child,
.wp-block-group.is-style-hc-evidence-gap > *:last-child,
.wp-block-group.is-style-hc-emergency-warning > *:last-child,
.wp-block-group.is-style-hc-risk-factors > *:last-child,
.wp-block-group.is-style-hc-prevention-tips > *:last-child,
.wp-block-group.is-style-hc-symptoms-checklist > *:last-child,
.wp-block-group.is-style-hc-bottom-line > *:last-child,
.wp-block-group.is-style-hc-benefits > *:last-child,
.wp-block-group.is-style-hc-complications > *:last-child,
.wp-block-group.is-style-hc-screening-recommendations > *:last-child,
.wp-block-group.is-style-hc-medical-language > *:last-child,
.wp-block-group.is-style-hc-why-matters > *:last-child,
.wp-block-group.is-style-hc-myth-vs-fact > *:last-child {
    margin-bottom: 0;
}

/* Ensure headings inside group blocks look clean, scaled, and harmonious with H1-H6 */
.wp-block-group[class*="is-style-hc-"] h1,
.wp-block-group[class*="is-style-hc-"] h2,
.wp-block-group[class*="is-style-hc-"] h3,
.wp-block-group[class*="is-style-hc-"] h4,
.wp-block-group[class*="is-style-hc-"] h5,
.wp-block-group[class*="is-style-hc-"] h6 {
    margin-top: 0.5rem !important;
    margin-bottom: 0.5rem !important;
    border-left: none !important;
    border-bottom: none !important;
    padding-left: 0 !important;
    padding-bottom: 0 !important;
    line-height: 1.35 !important;
}

.wp-block-group[class*="is-style-hc-"] h1::before,
.wp-block-group[class*="is-style-hc-"] h2::before,
.wp-block-group[class*="is-style-hc-"] h3::before,
.wp-block-group[class*="is-style-hc-"] h4::before,
.wp-block-group[class*="is-style-hc-"] h5::before,
.wp-block-group[class*="is-style-hc-"] h6::before {
    content: none !important;
    display: none !important;
}

.wp-block-group[class*="is-style-hc-"] h2 {
    font-size: 1.32rem !important;
    font-weight: 700 !important;
    color: #0f172a !important;
}

.wp-block-group[class*="is-style-hc-"] h3 {
    font-size: 1.2rem !important;
    font-weight: 600 !important;
    color: #1e293b !important;
}

.wp-block-group[class*="is-style-hc-"] h4 {
    font-size: 1.08rem !important;
    font-weight: 600 !important;
    color: #334155 !important;
}

.wp-block-group[class*="is-style-hc-"] h5,
.wp-block-group[class*="is-style-hc-"] h6 {
    font-size: 0.95rem !important;
    font-weight: 600 !important;
    color: #475569 !important;
}

/* Shared badge styles using native SVG backgrounds (No FontAwesome dependency) */
.wp-block-group.is-style-hc-key-takeaways::before,
.wp-block-group.is-style-hc-medical-note::before,
.wp-block-group.is-style-hc-warning::before,
.wp-block-group.is-style-hc-evidence-snapshot::before,
.wp-block-group.is-style-hc-clinical-insight::before,
.wp-block-group.is-style-hc-did-you-know::before,
.wp-block-group.is-style-hc-practical-tips::before,
.wp-block-group.is-style-hc-see-doctor::before,
.wp-block-group.is-style-hc-common-mistake::before,
.wp-block-group.is-style-hc-evidence-gap::before,
.wp-block-group.is-style-hc-emergency-warning::before,
.wp-block-group.is-style-hc-risk-factors::before,
.wp-block-group.is-style-hc-prevention-tips::before,
.wp-block-group.is-style-hc-symptoms-checklist::before,
.wp-block-group.is-style-hc-bottom-line::before,
.wp-block-group.is-style-hc-benefits::before,
.wp-block-group.is-style-hc-complications::before,
.wp-block-group.is-style-hc-screening-recommendations::before,
.wp-block-group.is-style-hc-medical-language::before,
.wp-block-group.is-style-hc-why-matters::before,
.wp-block-group.is-style-hc-myth-vs-fact::before {
    font-family: "Inter", -apple-system, sans-serif !important;
    font-weight: 700 !important;
    display: inline-flex;
    align-items: center;
    padding: 0.35rem 0.9rem 0.35rem 2.3rem !important; /* Left padding creates a generous space between the icon and text */
    border-radius: 30px;
    font-size: 0.85rem !important; /* Larger and more legible font */
    line-height: 1.2 !important;
    font-style: normal;
    letter-spacing: 0.06em;
    margin-bottom: 1.25rem;
    text-transform: uppercase;
    background-repeat: no-repeat !important;
    background-position: 0.65rem center !important; /* Standardized spacing inside the badge */
    background-size: 1.15rem !important; /* Clean vector sizing */
}

/* 1. Key Takeaways - Emerald Green (Deep contrast text #10b981) */
.wp-block-group.is-style-hc-key-takeaways {
    border-left-color: #10b981 !important;
    background-color: rgba(16, 185, 129, 0.04) !important;
}
.wp-block-group.is-style-hc-key-takeaways::before {
    content: "Key Takeaways";
    background-color: rgba(16, 185, 129, 0.08);
    color: #047857;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23047857'><path d='M19 3h-4.18C14.4 1.84 13.3 1 12 1s-2.4.84-2.82 2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-7 0c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zm2 14H7v-2h7v2zm3-4H7v-2h10v2zm0-4H7V7h10v2z'/></svg>") !important;
}
.wp-block-group.is-style-hc-key-takeaways ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
}
.wp-block-group.is-style-hc-key-takeaways ul li {
    position: relative;
    padding-left: 1.75rem;
    margin-bottom: 0.5rem;
}
.wp-block-group.is-style-hc-key-takeaways ul li::before {
    content: "" !important;
    position: absolute;
    left: 0;
    top: 0.25rem;
    width: 1rem;
    height: 1rem;
    background-repeat: no-repeat;
    background-size: contain;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%2310b981'><path d='M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/></svg>") !important;
}

/* 2. Medical Note - Professional Blue (Deep contrast text #1e40af) */
.wp-block-group.is-style-hc-medical-note {
    border-left-color: #2563eb !important;
    background-color: rgba(37, 99, 235, 0.04) !important;
}
.wp-block-group.is-style-hc-medical-note::before {
    content: "Medical Note";
    background-color: rgba(37, 99, 235, 0.08);
    color: #1e40af;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%231e40af'><path d='M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-4H7v-2h4V7h2v4h4v2h-4v4z'/></svg>") !important;
}

/* 3. Warning - Warning Amber (Deep contrast text #92400e) */
.wp-block-group.is-style-hc-warning {
    border-left-color: #d97706 !important;
    background-color: rgba(217, 119, 6, 0.04) !important;
}
.wp-block-group.is-style-hc-warning::before {
    content: "Warning";
    background-color: rgba(217, 119, 6, 0.08);
    color: #92400e;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%2392400e'><path d='M1 21h22L12 2 1 21zm12-3h-2v-2h2v2zm0-4h-2v-4h2v4z'/></svg>") !important;
}

/* 4. Evidence Snapshot - Purple Indigo (Deep contrast text #3730a3) */
.wp-block-group.is-style-hc-evidence-snapshot {
    border-left-color: #4f46e5 !important;
    background-color: rgba(79, 70, 229, 0.04) !important;
}
.wp-block-group.is-style-hc-evidence-snapshot::before {
    content: "Evidence Snapshot";
    background-color: rgba(79, 70, 229, 0.08);
    color: #3730a3;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%233730a3'><path d='M15.5 14h-.79l-.28-.27C15.41 12.59 16 11.11 16 9.5 16 5.91 13.09 3 9.5 3S3 5.91 3 9.5 5.91 16 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z'/></svg>") !important;
}

/* 5. Clinical Insight - Mint Teal (Deep contrast text #115e59) */
.wp-block-group.is-style-hc-clinical-insight {
    border-left-color: #0d9488 !important;
    background-color: rgba(13, 148, 136, 0.04) !important;
}
.wp-block-group.is-style-hc-clinical-insight::before {
    content: "Clinical Insight";
    background-color: rgba(13, 148, 136, 0.08);
    color: #115e59;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23115e59'><path d='M12 2C7.58 2 4 5.58 4 10c0 2.76 1.4 5.19 3.53 6.64L7.53 19c-.03.26-.03.52 0 .78L8 21c.22.61.81 1 1.46 1h5.08c.65 0 1.24-.39 1.46-1l.47-1.22c.03-.26.03-.52 0-.78l-.53-2.36C18.6 15.19 20 12.76 20 10c0-4.42-3.58-8-8-8zm2 16h-4v-1h4v1zm0-2h-4v-1h4v1zm1.58-3.08l-.58.39V15h-6v-1.69l-.58-.39C7.03 12.06 6 10.66 6 9c0-3.31 2.69-6 6-6s6 2.69 6 6c0 1.66-1.03 3.06-2.42 3.92z'/></svg>") !important;
}

/* 6. Did You Know? - Violet (Deep contrast text #5b21b6) */
.wp-block-group.is-style-hc-did-you-know {
    border-left-color: #7c3aed !important;
    background-color: rgba(124, 58, 237, 0.04) !important;
}
.wp-block-group.is-style-hc-did-you-know::before {
    content: "Did You Know?";
    background-color: rgba(124, 58, 237, 0.08);
    color: #5b21b6;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%235b21b6'><path d='M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 16h-2v-2h2v2zm1.07-7.75l-.9.92C12.45 11.9 12 12.5 12 14h-2v-.5c0-1.1.45-2.1 1.17-2.83l1.24-1.26c.37-.36.59-.86.59-1.41 0-1.1-.9-2-2-2s-2 .9-2 2H7c0-2.76 2.24-5 5-5s5 2.24 5 5c0 1.04-.42 1.99-1.07 2.25z'/></svg>") !important;
}

/* 7. Practical Tips - Amber Gold (Deep contrast text #854d0e) */
.wp-block-group.is-style-hc-practical-tips {
    border-left-color: #eab308 !important;
    background-color: rgba(234, 179, 8, 0.03) !important;
}
.wp-block-group.is-style-hc-practical-tips::before {
    content: "Practical Tips";
    background-color: rgba(234, 179, 8, 0.08);
    color: #854d0e;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23854d0e'><path d='M12 17.27L18.18 21l-1.64-7.03L22 9.24l-7.19-.61L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21z'/></svg>") !important;
}

/* 8. When to See a Doctor - Crimson Red (Deep contrast text #991b1b) */
.wp-block-group.is-style-hc-see-doctor {
    border-left-color: #dc2626 !important;
    background-color: rgba(220, 38, 38, 0.04) !important;
}
.wp-block-group.is-style-hc-see-doctor::before {
    content: "When to See a Doctor";
    background-color: rgba(220, 38, 38, 0.08);
    color: #991b1b;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23991b1b'><path d='M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 12.89L11.5 11 9 14H7v-2h1.2l1.8-3 2.5 4.11L14.2 9H17v2h-1.8l-2.2 3.89z'/></svg>") !important;
}

/* 9. Common Mistakes - Crimson Red (Deep contrast text #991b1b) */
.wp-block-group.is-style-hc-common-mistake {
    border-left-color: #dc2626 !important;
    background-color: rgba(220, 38, 38, 0.04) !important;
}
.wp-block-group.is-style-hc-common-mistake::before {
    content: "Common Mistakes";
    background-color: rgba(220, 38, 38, 0.08);
    color: #991b1b;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23991b1b'><path d='M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-2h2v2zm0-4h-2V7h2v6z'/></svg>") !important;
}

/* 10. Evidence Gap - Warning Amber (Deep contrast text #78350f) */
.wp-block-group.is-style-hc-evidence-gap {
    border-left-color: #d97706 !important;
    background-color: rgba(217, 119, 6, 0.04) !important;
}
.wp-block-group.is-style-hc-evidence-gap::before {
    content: "Evidence Gap";
    background-color: rgba(217, 119, 6, 0.08);
    color: #78350f;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%2378350f'><path d='M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-6h2v6zm0-8h-2V7h2v2z'/></svg>") !important;
}

/* 11. Myth vs Fact - Premium Stacked Comparison Card */
.wp-block-group.is-style-hc-myth-vs-fact {
    border-left-color: #cbd5e1 !important; /* neutral slate left border */
    background-color: #ffffff !important;
    padding: 1.75rem 2rem !important;
    overflow: visible !important;
}
.wp-block-group.is-style-hc-myth-vs-fact::before {
    content: "Myth vs Fact";
    background-color: #f1f5f9;
    color: #475569;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23475569'><path d='M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-6h2v6zm0-8h-2V7h2v2z'/></svg>") !important;
}

/* Stacked Layout Container */
.hc-myth-fact-container {
    display: flex !important;
    flex-direction: column !important;
    gap: 1rem !important;
    width: 100% !important;
    margin-top: 0.5rem !important;
}
.hc-myth-panel {
    border-left: 4px solid #ef4444 !important;
    background-color: rgba(239, 68, 68, 0.03) !important;
    padding: 1.25rem 1.5rem !important;
    border-radius: 6px !important;
    transition: transform 0.25s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
}
.hc-myth-panel:hover {
    transform: translateX(2px) !important;
}
.hc-myth-label {
    display: block !important;
    font-size: 0.75rem !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    color: #dc2626 !important; /* red-600 */
    letter-spacing: 0.08em !important;
    margin-bottom: 0.35rem !important;
}
.hc-myth-text {
    font-size: 1.05rem !important;
    line-height: 1.5 !important;
    color: #991b1b !important; /* red-800 */
    font-weight: 600 !important;
    margin: 0 !important;
}
.hc-fact-panel {
    border-left: 4px solid #10b981 !important;
    background-color: rgba(16, 185, 129, 0.03) !important;
    padding: 1.25rem 1.5rem !important;
    border-radius: 6px !important;
    transition: transform 0.25s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
}
.hc-fact-panel:hover {
    transform: translateX(2px) !important;
}
.hc-fact-label {
    display: block !important;
    font-size: 0.75rem !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    color: #059669 !important; /* green-600 */
    letter-spacing: 0.08em !important;
    margin-bottom: 0.35rem !important;
}
.hc-fact-text {
    font-size: 1.05rem !important;
    line-height: 1.6 !important;
    color: #065f46 !important; /* green-800 */
    font-weight: 500 !important;
    margin: 0 !important;
}

/* 12. Emergency Warning - Crimson Red (Deep contrast text #991b1b) */
.wp-block-group.is-style-hc-emergency-warning {
    border-left-color: #ef4444 !important;
    background-color: rgba(239, 68, 68, 0.04) !important;
}
.wp-block-group.is-style-hc-emergency-warning::before {
    content: "Emergency Warning";
    background-color: rgba(239, 68, 68, 0.08);
    color: #991b1b;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23991b1b'><path d='M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-2h2v2zm0-4h-2V7h2v6z'/></svg>") !important;
}

/* 14. Risk Factors - Warm Amber (Deep contrast text #78350f) */
.wp-block-group.is-style-hc-risk-factors {
    border-left-color: #f59e0b !important;
    background-color: rgba(245, 158, 11, 0.04) !important;
}
.wp-block-group.is-style-hc-risk-factors::before {
    content: "Risk Factors";
    background-color: rgba(245, 158, 11, 0.08);
    color: #78350f;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%2378350f'><path d='M12 2L4 5v6.09c0 5.05 3.41 9.76 8 10.91 4.59-1.15 8-5.86 8-10.91V5l-8-3zm1 14h-2v-2h2v2zm0-4h-2V7h2v5z'/></svg>") !important;
}

/* 15. Prevention Tips - Clean Teal (Deep contrast text #0f766e) */
.wp-block-group.is-style-hc-prevention-tips {
    border-left-color: #0d9488 !important;
    background-color: rgba(13, 148, 136, 0.04) !important;
}
.wp-block-group.is-style-hc-prevention-tips::before {
    content: "Prevention Tips";
    background-color: rgba(13, 148, 136, 0.08);
    color: #0f766e;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%230f766e'><path d='M12 2L4 5v6.09c0 5.05 3.41 9.76 8 10.91 4.59-1.15 8-5.86 8-10.91V5l-8-3zm-2 13l-3-3 1.41-1.41L10 12.17l5.59-5.59L17 8l-7 7z'/></svg>") !important;
}

/* 16. Symptoms Checklist - Indigo Blue (Deep contrast text #3730a3) */
.wp-block-group.is-style-hc-symptoms-checklist {
    border-left-color: #4f46e5 !important;
    background-color: rgba(79, 70, 229, 0.04) !important;
}
.wp-block-group.is-style-hc-symptoms-checklist::before {
    content: "Symptoms Checklist";
    background-color: rgba(79, 70, 229, 0.08);
    color: #3730a3;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%233730a3'><path d='M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-9 14l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z'/></svg>") !important;
}

/* 17. Bottom Line - Brand Teal (Deep contrast text #115159) */
.wp-block-group.is-style-hc-bottom-line {
    border-left-color: #1f6f7a !important;
    background-color: rgba(31, 111, 122, 0.04) !important;
}
.wp-block-group.is-style-hc-bottom-line::before {
    content: "Bottom Line";
    background-color: rgba(31, 111, 122, 0.08);
    color: #115159;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23115159'><path d='M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/></svg>") !important;
}

/* 18. Benefits - Emerald Green (Deep contrast text #047857) */
.wp-block-group.is-style-hc-benefits {
    border-left-color: #10b981 !important;
    background-color: rgba(16, 185, 129, 0.04) !important;
}
.wp-block-group.is-style-hc-benefits::before {
    content: "Benefits";
    background-color: rgba(16, 185, 129, 0.08);
    color: #047857;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23047857'><path d='M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-2 15l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z'/></svg>") !important;
}

/* 19. Complications - Coral Orange (Deep contrast text #9a3412) */
.wp-block-group.is-style-hc-complications {
    border-left-color: #f97316 !important;
    background-color: rgba(249, 115, 22, 0.04) !important;
}
.wp-block-group.is-style-hc-complications::before {
    content: "Complications";
    background-color: rgba(249, 115, 22, 0.08);
    color: #9a3412;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%239a3412'><path d='M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-2h2v2zm0-4h-2V7h2v6z'/></svg>") !important;
}

/* 20. Screening Recommendations - Indigo Purple (Deep contrast text #3730a3) */
.wp-block-group.is-style-hc-screening-recommendations {
    border-left-color: #4f46e5 !important;
    background-color: rgba(79, 70, 229, 0.04) !important;
}
.wp-block-group.is-style-hc-screening-recommendations::before {
    content: "Screening Recommendations";
    background-color: rgba(79, 70, 229, 0.08);
    color: #3730a3;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%233730a3'><path d='M19 3h-4.18C14.4 1.84 13.3 1 12 1s-2.4.84-2.82 2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-7 0c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zm2 14H7v-2h7v2zm3-4H7v-2h10v2zm0-4H7V7h10v2z'/></svg>") !important;
}

/* 21. Medical Language - Indigo Violet (Deep contrast text #312e81) */
.wp-block-group.is-style-hc-medical-language {
    border-left-color: #6366f1 !important;
    background-color: rgba(99, 102, 241, 0.04) !important;
}
.wp-block-group.is-style-hc-medical-language::before {
    content: "Medical Language";
    background-color: rgba(99, 102, 241, 0.08);
    color: #312e81;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23312e81'><path d='M12.87 15.07l-2.54-2.51.03-.03c1.74-1.94 2.98-4.17 3.71-6.53H17V4h-7V2H8v2H1v2h11.17C11.5 7.92 10.44 9.75 9 11.35 8.07 10.32 7.3 9.19 6.69 8h-2c.73 1.63 1.73 3.17 2.98 4.56l-5.09 5.02L4 19l5-5 3.11 3.11.76-2.04zM18.5 10h-2L12 22h2l1.12-3h4.75l1.13 3h2l-5-12zm-2.62 7l1.62-4.33L19.12 17h-3.24z'/></svg>") !important;
}

/* 22. Why This Matters - Heart Rose (Deep contrast text #881337) */
.wp-block-group.is-style-hc-why-matters {
    border-left-color: #f43f5e !important;
    background-color: rgba(244, 63, 94, 0.04) !important;
}
.wp-block-group.is-style-hc-why-matters::before {
    content: "Why This Matters";
    background-color: rgba(244, 63, 94, 0.08);
    color: #881337;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23881337'><path d='M12 21.35l-1.45-1.32C5.4 15.36 2 12.28 2 8.5 2 5.42 4.42 3 7.5 3c1.74 0 3.41.81 4.5 2.09C13.09 3.81 14.76 3 16.5 3 19.58 3 22 5.42 22 8.5c0 3.78-3.4 6.86-8.55 11.54L12 21.35z'/></svg>") !important;
}

/* 12. Question & Short Answer - Premium editorial text flow */
.wp-block-group.is-style-hc-question-short-answer {
    border: none !important;
    background: transparent !important;
    padding: 0 !important;
    box-shadow: none !important;
    margin-top: 2.5rem !important;
    margin-bottom: 2.5rem !important;
    position: relative !important;
    border-left: 4px solid rgba(31, 111, 122, 0.2) !important;
    padding-left: 1.5rem !important;
    transition: border-color 0.3s ease !important;
}

/* Hover micro-interaction: left line glows/brightens */
.wp-block-group.is-style-hc-question-short-answer:hover {
    border-left-color: #1f6f7a !important;
}

/* Question styling - Large, bold, deep contrast text */
.wp-block-group.is-style-hc-question-short-answer h3,
.wp-block-group.is-style-hc-question-short-answer h4 {
    font-size: 1.35rem !important;
    font-weight: 700 !important;
    color: #0f172a !important;
    line-height: 1.4 !important;
    margin-top: 0 !important;
    margin-bottom: 0.75rem !important;
    letter-spacing: -0.02em !important;
    transition: color 0.2s ease !important;
}

/* Question text color shifts slightly on hover */
.wp-block-group.is-style-hc-question-short-answer:hover h3,
.wp-block-group.is-style-hc-question-short-answer:hover h4 {
    color: #115159 !important;
}

/* Answer text styling - Uninterrupted clean flow */
.wp-block-group.is-style-hc-question-short-answer p {
    font-size: 1.05rem !important;
    line-height: 1.65 !important;
    color: #475569 !important;
    margin-bottom: 0 !important;
}

/* Optional bold prefix in theme color if class 'hc-short-answer' or 'has-short-answer-prefix' is used */
.wp-block-group.is-style-hc-question-short-answer p strong:first-child {
    color: #1f6f7a !important;
    font-weight: 700 !important;
}

/* 13. Premium Comparison Table Style */
.wp-block-table.is-style-hc-comparison-table {
    margin-top: 2.5rem !important;
    margin-bottom: 2.5rem !important;
    border: none !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02), 0 1px 3px rgba(0, 0, 0, 0.01) !important;
    border-radius: 12px !important;
    overflow: hidden !important;
}

.wp-block-table.is-style-hc-comparison-table table {
    width: 100% !important;
    border-collapse: separate !important;
    border-spacing: 0 !important;
    border: 1px solid rgba(0, 0, 0, 0.04) !important;
    border-radius: 12px !important;
    overflow: hidden !important;
}

.wp-block-table.is-style-hc-comparison-table th,
.wp-block-table.is-style-hc-comparison-table td {
    padding: 1.25rem 1.5rem !important;
    font-size: 0.95rem !important;
    line-height: 1.5 !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.04) !important;
    border-top: none !important;
    border-left: none !important;
    border-right: none !important;
}

.wp-block-table.is-style-hc-comparison-table th {
    font-weight: 700 !important;
    text-transform: uppercase !important;
    font-size: 0.8rem !important;
    letter-spacing: 0.06em !important;
    background-color: #f8fafc !important;
    color: #475569 !important;
}

/* Default Body Cells - Left Column (Myth) */
.wp-block-table.is-style-hc-comparison-table td:nth-child(1) {
    color: #b91c1c !important;
    background-color: rgba(239, 68, 68, 0.01) !important;
    font-weight: 600 !important;
    border-right: 1px solid rgba(0, 0, 0, 0.03) !important;
    padding-left: 2.5rem !important;
    background-repeat: no-repeat !important;
    background-position: 1rem center !important;
    background-size: 0.9rem !important;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ef4444'><path d='M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z'/></svg>") !important;
}

/* Default Body Cells - Right Column (Fact) */
.wp-block-table.is-style-hc-comparison-table td:nth-child(2) {
    color: #047857 !important;
    background-color: rgba(16, 185, 129, 0.01) !important;
    font-weight: 500 !important;
    padding-left: 2.5rem !important;
    background-repeat: no-repeat !important;
    background-position: 1rem center !important;
    background-size: 0.9rem !important;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%2310b981'><path d='M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/></svg>") !important;
}

/* Premium Header Columns (Myth / Left) */
.wp-block-table.is-style-hc-comparison-table th:nth-child(1) {
    color: #b91c1c !important;
    border-right: 1px solid rgba(0, 0, 0, 0.04) !important;
    background-color: #fee2e2 !important;
}

/* Premium Header Columns (Fact / Right) */
.wp-block-table.is-style-hc-comparison-table th:nth-child(2) {
    color: #047857 !important;
    background-color: #d1fae5 !important;
}

/* Clear icon ticks & red crosses on all header cells */
.wp-block-table.is-style-hc-comparison-table th::before,
.wp-block-table.is-style-hc-comparison-table th::after {
    background-image: none !important;
}

/* Ensure no extra padding or border-left highlights on any header cell types */
.wp-block-table.is-style-hc-comparison-table th {
    padding-left: 1.5rem !important;
}

/* Remove bottom border on last row */
.wp-block-table.is-style-hc-comparison-table tr:last-child td {
    border-bottom: none !important;
}

/* Row Hover Highlight */
.wp-block-table.is-style-hc-comparison-table tbody tr:hover td {
    filter: brightness(0.98) !important;
}

/* Responsive properties across mobile, tablet, and desktop */
@media (max-width: 768px) {
    .wp-block-group.is-style-hc-key-takeaways,
    .wp-block-group.is-style-hc-medical-note,
    .wp-block-group.is-style-hc-warning,
    .wp-block-group.is-style-hc-evidence-snapshot,
    .wp-block-group.is-style-hc-clinical-insight,
    .wp-block-group.is-style-hc-did-you-know,
    .wp-block-group.is-style-hc-practical-tips,
    .wp-block-group.is-style-hc-see-doctor,
    .wp-block-group.is-style-hc-common-mistake,
    .wp-block-group.is-style-hc-evidence-gap,
    .wp-block-group.is-style-hc-emergency-warning,
    .wp-block-group.is-style-hc-risk-factors,
    .wp-block-group.is-style-hc-prevention-tips,
    .wp-block-group.is-style-hc-symptoms-checklist,
    .wp-block-group.is-style-hc-bottom-line,
    .wp-block-group.is-style-hc-benefits,
    .wp-block-group.is-style-hc-complications,
    .wp-block-group.is-style-hc-screening-recommendations,
    .wp-block-group.is-style-hc-medical-language,
    .wp-block-group.is-style-hc-why-matters,
    .wp-block-group.is-style-hc-myth-vs-fact {
        margin-top: 1.75rem !important;
        margin-bottom: 1.75rem !important;
        padding: 1.25rem 1.5rem !important;
        border-radius: 8px;
    }

    .wp-block-table.is-style-hc-comparison-table table,
    .wp-block-table.is-style-hc-comparison-table thead,
    .wp-block-table.is-style-hc-comparison-table tbody,
    .wp-block-table.is-style-hc-comparison-table tr,
    .wp-block-table.is-style-hc-comparison-table th,
    .wp-block-table.is-style-hc-comparison-table td {
        display: block !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    
    /* Hide headers on mobile */
    .wp-block-table.is-style-hc-comparison-table thead,
    .wp-block-table.is-style-hc-comparison-table tbody:first-child tr:first-child {
        display: none !important;
    }
    
    /* Spacing between row pairs */
    .wp-block-table.is-style-hc-comparison-table tbody tr,
    .wp-block-table.is-style-hc-comparison-table tbody:first-child tr:not(:first-child) {
        margin-bottom: 1.5rem !important;
        border: 1px solid rgba(0, 0, 0, 0.04) !important;
        border-radius: 8px !important;
        overflow: hidden !important;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.01) !important;
        display: block !important;
    }
    
    .wp-block-table.is-style-hc-comparison-table tbody tr:last-child {
        margin-bottom: 0 !important;
    }
    
    /* Adjust border and paddings for mobile view */
    .wp-block-table.is-style-hc-comparison-table tbody tr td:nth-child(1) {
        border-right: none !important;
        border-left: 4px solid #e11d48 !important;
        border-bottom: 1px solid rgba(0, 0, 0, 0.04) !important;
        padding: 2.25rem 1.25rem 1.25rem 2.25rem !important;
    }
    
    .wp-block-table.is-style-hc-comparison-table tbody tr td:nth-child(2) {
        border-left: 4px solid #10b981 !important;
        padding: 2.25rem 1.25rem 1.25rem 2.25rem !important;
    }
    
    /* Reposition icons on mobile */
    .wp-block-table.is-style-hc-comparison-table tbody tr td {
        position: relative !important;
        background-position: 1rem 2.45rem !important;
    }
    
    /* Mobile text label badges */
    .wp-block-table.is-style-hc-comparison-table tbody tr td::before {
        content: "" !important;
        position: absolute;
        top: 0.75rem;
        left: 1rem;
        font-size: 0.68rem;
        font-weight: 800;
        text-transform: uppercase;
        letter-spacing: 0.06em;
        padding: 0.15rem 0.4rem;
        border-radius: 4px;
        line-height: 1.2;
    }
    
    .wp-block-table.is-style-hc-comparison-table tbody tr td:nth-child(1)::before {
        content: "Myth" !important;
        background-color: #fee2e2 !important;
        color: #b91c1c !important;
    }
    
    .wp-block-table.is-style-hc-comparison-table tbody tr td:nth-child(2)::before {
        content: "Fact" !important;
        background-color: #d1fae5 !important;
        color: #047857 !important;
    }
}

/* =========================================================================
   Universal Strength of Evidence Badges
   ========================================================================= */
.hc-evidence-strength-container {
    margin-top: 1.25rem !important;
    margin-bottom: 1.25rem !important;
    display: flex !important;
    flex-direction: column !important;
}

.hc-evidence-strength-label {
    font-size: 0.75rem !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    color: #64748b !important;
    letter-spacing: 0.06em !important;
    margin-bottom: 0.4rem !important;
}

.hc-evidence-strength-badge {
    display: inline-flex !important;
    align-items: center !important;
    font-weight: 700 !important;
    padding: 0.35rem 0.85rem !important;
    border-radius: 20px !important;
    font-size: 0.85rem !important;
    width: max-content !important;
    line-height: 1.2 !important;
}

/* Styled indicator dots */
.hc-strength-dot {
    display: inline-block !important;
    width: 8px !important;
    height: 8px !important;
    border-radius: 50% !important;
    margin-right: 0.5rem !important;
    flex-shrink: 0 !important;
}

.hc-evidence-strength-badge.has-strength-high {
    background-color: rgba(16, 185, 129, 0.08) !important;
    color: #047857 !important;
}
.hc-evidence-strength-badge.has-strength-high .hc-strength-dot {
    background-color: #10b981 !important;
    box-shadow: 0 0 6px rgba(16, 185, 129, 0.4) !important;
}

.hc-evidence-strength-badge.has-strength-moderate {
    background-color: rgba(245, 158, 11, 0.08) !important;
    color: #b45309 !important;
}
.hc-evidence-strength-badge.has-strength-moderate .hc-strength-dot {
    background-color: #f59e0b !important;
    box-shadow: 0 0 6px rgba(245, 158, 11, 0.4) !important;
}

.hc-evidence-strength-badge.has-strength-limited {
    background-color: rgba(249, 115, 22, 0.08) !important;
    color: #c2410c !important;
}
.hc-evidence-strength-badge.has-strength-limited .hc-strength-dot {
    background-color: #f97316 !important;
    box-shadow: 0 0 6px rgba(249, 115, 22, 0.4) !important;
}

.hc-evidence-strength-badge.has-strength-emerging {
    background-color: rgba(100, 116, 139, 0.08) !important;
    color: #475569 !important;
}
.hc-evidence-strength-badge.has-strength-emerging .hc-strength-dot {
    background-color: #94a3b8 !important;
    box-shadow: 0 0 6px rgba(148, 163, 184, 0.4) !important;
}

/* =========================================================================
   Universal Evidence Sources Section & Interactive Tooltips
   ========================================================================= */
.hc-evidence-sources-container {
    margin-top: 1.25rem !important;
    padding-top: 0.75rem !important;
    border-top: 1px solid rgba(0, 0, 0, 0.04) !important;
    display: flex !important;
    flex-direction: column !important;
}

.hc-evidence-sources-label {
    font-size: 0.75rem !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    color: #64748b !important;
    letter-spacing: 0.06em !important;
    margin-bottom: 0.4rem !important;
}

.hc-evidence-sources-badges {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 0.5rem !important;
}

.hc-ref-source-badge {
    display: inline-flex !important;
    align-items: center !important;
    background-color: rgba(31, 111, 122, 0.06) !important;
    color: #115159 !important;
    font-weight: 700 !important;
    font-size: 0.8rem !important;
    padding: 0.25rem 0.75rem !important;
    border-radius: 6px !important;
    text-decoration: none !important;
    transition: all 0.25s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
    border: 1px solid rgba(31, 111, 122, 0.12) !important;
    position: relative !important;
}

/* Highly specific hover contrast colors */
a.hc-ref-source-badge:hover,
.wp-block-group a.hc-ref-source-badge:hover,
.wp-block-group.is-style-hc-evidence-snapshot a.hc-ref-source-badge:hover {
    background-color: #115159 !important;
    color: #ffffff !important;
    border-color: #115159 !important;
    text-decoration: none !important;
    box-shadow: 0 4px 12px rgba(17, 81, 89, 0.15) !important;
}

/* Custom styled indicator squares next to the badge */
.hc-type-square {
    display: inline-block !important;
    width: 7px !important;
    height: 7px !important;
    border-radius: 2px !important;
    margin-left: 0.4rem !important;
    margin-right: 0.2rem !important;
    flex-shrink: 0 !important;
}

/* Reference Type Square colors */
.hc-type-square.type-guideline {
    background-color: #3b82f6 !important;
}
.hc-type-square.type-journal {
    background-color: #10b981 !important;
}
.hc-type-square.type-textbook {
    background-color: #f59e0b !important;
}
.hc-type-square.type-organization {
    background-color: #64748b !important;
}
.hc-type-square.type-review {
    background-color: #8b5cf6 !important;
}
.hc-type-square.type-other {
    background-color: #0d9488 !important;
}

/* Reference Type Text (Italics) */
.hc-ref-type-text {
    font-style: italic !important;
    font-size: 0.72rem !important;
    font-weight: 500 !important;
    opacity: 0.8 !important;
    margin-left: 0.1rem !important;
}

/* Hover override for type text inside the badge to prevent low-contrast on hover */
a.hc-ref-source-badge:hover .hc-ref-type-text {
    color: #e2e8f0 !important;
    opacity: 1 !important;
}

/* Interactive Hover Tooltips */
.hc-tooltip-card {
    position: absolute !important;
    bottom: 135% !important;
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    background: #0f172a !important;
    color: #ffffff !important;
    padding: 0.85rem 1.15rem !important;
    border-radius: 8px !important;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.25), 0 4px 12px rgba(15, 23, 42, 0.12) !important;
    width: 260px !important;
    max-width: calc(100vw - 28px) !important;
    z-index: 99999 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 0.35rem !important;
    pointer-events: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transition: opacity 0.25s cubic-bezier(0.165, 0.84, 0.44, 1), transform 0.25s cubic-bezier(0.165, 0.84, 0.44, 1), visibility 0.25s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
    text-align: left !important;
    line-height: 1.4 !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
}

/* Tooltip indicator arrow */
.hc-tooltip-card::after {
    content: "" !important;
    position: absolute !important;
    top: 100% !important;
    left: var(--arrow-left, 50%) !important;
    transform: translateX(-50%) !important;
    border-width: 6px !important;
    border-style: solid !important;
    border-color: #0f172a transparent transparent transparent !important;
}

/* When reference card tooltip is open on mobile or hovered */
a.hc-ref-source-badge:hover .hc-tooltip-card,
a.hc-ref-source-badge.hc-tooltip-open .hc-tooltip-card {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: translateY(0);
}

.hc-tooltip-title {
    font-size: 0.85rem !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    display: block !important;
}

.hc-tooltip-meta {
    font-size: 0.72rem !important;
    color: #94a3b8 !important;
    font-weight: 500 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
    display: block !important;
}

.hc-tooltip-footer {
    font-size: 0.72rem !important;
    color: #38bdf8 !important;
    font-weight: 600 !important;
    margin-top: 0.2rem !important;
    display: block !important;
    border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
    padding-top: 0.35rem !important;
}

/* Show Tooltip Card on Hover and Mobile Tap Active state */
.hc-ref-source-badge:hover .hc-tooltip-card,
.hc-ref-source-badge.hc-tooltip-open .hc-tooltip-card {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
}

/* Inline superscript citations */
.hc-ref-citation {
    font-weight: 700 !important;
    color: #115159 !important;
    text-decoration: none !important;
    padding: 0 0.15rem !important;
    transition: color 0.2s ease !important;
}

.hc-ref-citation:hover {
    color: #1f6f7a !important;
    text-decoration: underline !important;
}

/* =========================================================================
   References card-styled list layout
   ========================================================================= */
.hc-references-cards-container {
    display: flex !important;
    flex-direction: column !important;
    gap: 1.5rem !important;
    margin-bottom: 2rem !important;
}

/* =========================================================================
   Universal Reference System & Source Cards
   ========================================================================= */
.hc-article-references {
    border-top: 2px solid #e2e8f0 !important;
    margin-top: 3.5rem !important;
    padding-top: 2rem !important;
}

.hc-references-header {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    flex-wrap: wrap !important;
    gap: 0.75rem !important;
    margin-bottom: 1.75rem !important;
}

.hc-references-heading {
    font-size: 1.5rem !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    letter-spacing: -0.01em !important;
    margin-bottom: 0 !important;
}

.hc-references-count-badge {
    background-color: #f1f5f9 !important;
    color: #475569 !important;
    font-size: 0.8rem !important;
    font-weight: 700 !important;
    padding: 0.28rem 0.8rem !important;
    border-radius: 9999px !important;
    border: 1px solid #e2e8f0 !important;
    letter-spacing: 0.02em !important;
}

.hc-reference-card {
    background: #ffffff !important;
    border-radius: 14px !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04), 0 1px 3px rgba(15, 23, 42, 0.02) !important;
    transition: all 0.25s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
    position: relative !important;
    padding: 1.5rem 1.6rem !important;
    margin-bottom: 1.5rem !important;
}

.hc-reference-card:hover {
    border-color: #cbd5e1 !important;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.07), 0 2px 6px rgba(15, 23, 42, 0.04) !important;
}

.hc-ref-card-header {
    font-size: 0.9rem !important;
}

.hc-ref-card-org {
    color: #0f172a !important;
    font-size: 0.95rem !important;
}

.hc-ref-org-icon {
    color: var(--primary, #1f6f7a) !important;
    opacity: 0.9;
}

.hc-ref-card-index {
    font-weight: 800 !important;
    color: #64748b !important;
    font-size: 0.82rem !important;
    background-color: #f8fafc !important;
    padding: 0.22rem 0.65rem !important;
    border-radius: 6px !important;
    border: 1px solid #e2e8f0 !important;
}

/* Reference Type Badges */
.hc-ref-type-badge {
    display: inline-flex !important;
    align-items: center !important;
    font-size: 0.76rem !important;
    font-weight: 700 !important;
    padding: 0.2rem 0.65rem !important;
    border-radius: 9999px !important;
    letter-spacing: 0.01em !important;
    text-transform: none !important;
    line-height: 1.3 !important;
    margin-left: 0.55rem !important;
}

.hc-ref-type-badge.type-guideline {
    background-color: rgba(16, 185, 129, 0.12) !important;
    color: #047857 !important;
    border: 1px solid rgba(16, 185, 129, 0.28) !important;
}

.hc-ref-type-badge.type-journal {
    background-color: rgba(99, 102, 241, 0.12) !important;
    color: #4338ca !important;
    border: 1px solid rgba(99, 102, 241, 0.28) !important;
}

.hc-ref-type-badge.type-fact-sheet {
    background-color: rgba(14, 165, 233, 0.12) !important;
    color: #0369a1 !important;
    border: 1px solid rgba(14, 165, 233, 0.28) !important;
}

.hc-ref-type-badge.type-textbook {
    background-color: rgba(245, 158, 11, 0.12) !important;
    color: #b45309 !important;
    border: 1px solid rgba(245, 158, 11, 0.28) !important;
}

.hc-ref-type-badge.type-organization {
    background-color: rgba(31, 111, 122, 0.12) !important;
    color: #115159 !important;
    border: 1px solid rgba(31, 111, 122, 0.28) !important;
}

.hc-ref-type-badge.type-review {
    background-color: rgba(168, 85, 247, 0.12) !important;
    color: #7e22ce !important;
    border: 1px solid rgba(168, 85, 247, 0.28) !important;
}

.hc-ref-type-badge.type-other {
    background-color: #f1f5f9 !important;
    color: #475569 !important;
    border: 1px solid #e2e8f0 !important;
}

/* High contrast states for all reference type badges on hover, focus, and mobile tap */
a.hc-ref-source-badge:hover .hc-ref-type-badge,
a.hc-ref-source-badge:focus .hc-ref-type-badge,
a.hc-ref-source-badge.hc-tooltip-open .hc-ref-type-badge {
    background-color: rgba(255, 255, 255, 0.22) !important;
    color: #ffffff !important;
    border-color: rgba(255, 255, 255, 0.45) !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25) !important;
}

/* Reference Card Title (Removes pseudo-bullets completely) */
.hc-reference-card h4,
.hc-ref-card-title {
    color: #0f172a !important;
    font-size: 1.15rem !important;
    font-weight: 700 !important;
    line-height: 1.45 !important;
    letter-spacing: -0.01em !important;
    margin-bottom: 0.85rem !important;
    padding-left: 0 !important;
    border-bottom: none !important;
}

.hc-reference-card h4::before,
.hc-ref-card-title::before {
    content: none !important;
    display: none !important;
}

.hc-ref-title-link {
    color: #0f172a !important;
    text-decoration: none !important;
    transition: color 0.2s ease !important;
}

.hc-ref-title-link:hover {
    color: var(--primary, #1f6f7a) !important;
    text-decoration: underline !important;
}

/* Reference Locators Chips */
.hc-ref-locators {
    gap: 0.45rem !important;
}

.hc-ref-loc-chip {
    display: inline-flex !important;
    align-items: center !important;
    font-size: 0.78rem !important;
    color: #475569 !important;
    background-color: #f1f5f9 !important;
    border: 1px solid #e2e8f0 !important;
    padding: 0.22rem 0.55rem !important;
    border-radius: 6px !important;
}

.hc-ref-loc-chip strong {
    color: #1e293b !important;
    font-weight: 700 !important;
    margin-right: 0.2rem !important;
}

/* Citation Block & Copy Button */
.hc-ref-card-citation-block {
    background-color: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    border-left: 4px solid var(--primary, #1f6f7a) !important;
    border-radius: 8px !important;
    padding: 0.85rem 1.1rem !important;
}

.hc-ref-citation-header {
    font-size: 0.72rem !important;
    letter-spacing: 0.05em !important;
    font-weight: 800 !important;
}

.hc-ref-citation-text {
    font-size: 0.92rem !important;
    line-height: 1.6 !important;
    color: #1e293b !important;
    word-break: break-word !important;
}

.hc-ref-copy-btn {
    display: inline-flex !important;
    align-items: center !important;
    font-size: 0.76rem !important;
    font-weight: 600 !important;
    color: #475569 !important;
    background-color: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
    padding: 0.2rem 0.6rem !important;
    border-radius: 6px !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    user-select: none !important;
    line-height: 1.4 !important;
}

.hc-ref-copy-btn:hover {
    background-color: #f1f5f9 !important;
    color: #0f172a !important;
    border-color: #94a3b8 !important;
}

.hc-ref-copy-btn.is-copied {
    background-color: #ecfdf5 !important;
    color: #047857 !important;
    border-color: #6ee7b7 !important;
}

/* Footer & Action Buttons */
.hc-ref-card-footer {
    border-top: 1px solid #f1f5f9 !important;
}

.hc-ref-meta-date {
    font-size: 0.82rem !important;
    color: #64748b !important;
}

.hc-ref-meta-date strong {
    color: #334155 !important;
    font-weight: 600 !important;
}

a.hc-ref-btn-official,
.hc-reference-card a.hc-ref-btn-official,
.hc-article-content a.hc-ref-btn-official {
    background-color: var(--primary, #1f6f7a) !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    font-size: 0.82rem !important;
    padding: 0.38rem 0.9rem !important;
    border-radius: 6px !important;
    text-decoration: none !important;
    transition: all 0.2s ease !important;
    border: 1px solid var(--primary, #1f6f7a) !important;
    box-shadow: 0 2px 4px rgba(31, 111, 122, 0.15) !important;
}

a.hc-ref-btn-official:hover,
.hc-reference-card a.hc-ref-btn-official:hover,
.hc-article-content a.hc-ref-btn-official:hover {
    background-color: #15525b !important;
    color: #ffffff !important;
    border-color: #15525b !important;
    text-decoration: none !important;
    box-shadow: 0 4px 10px rgba(21, 82, 91, 0.25) !important;
    transform: translateY(-1px);
}

a.hc-ref-btn-profile,
.hc-reference-card a.hc-ref-btn-profile,
.hc-article-content a.hc-ref-btn-profile {
    background-color: rgba(31, 111, 122, 0.08) !important;
    color: #115159 !important;
    font-weight: 700 !important;
    font-size: 0.82rem !important;
    padding: 0.38rem 0.85rem !important;
    border-radius: 6px !important;
    text-decoration: none !important;
    transition: all 0.2s ease !important;
    border: 1px solid rgba(31, 111, 122, 0.2) !important;
}

a.hc-ref-btn-profile:hover,
.hc-reference-card a.hc-ref-btn-profile:hover,
.hc-article-content a.hc-ref-btn-profile:hover {
    background-color: rgba(31, 111, 122, 0.16) !important;
    color: #0c3b41 !important;
    text-decoration: none !important;
    border-color: rgba(31, 111, 122, 0.35) !important;
}

a.hc-ref-back-link,
.hc-reference-card a.hc-ref-back-link,
.hc-article-content a.hc-ref-back-link {
    font-size: 0.82rem !important;
    font-weight: 600 !important;
    color: #64748b !important;
    padding: 0.35rem 0.6rem !important;
    border-radius: 6px !important;
    text-decoration: none !important;
    transition: all 0.2s ease !important;
}

a.hc-ref-back-link:hover,
.hc-reference-card a.hc-ref-back-link:hover,
.hc-article-content a.hc-ref-back-link:hover {
    color: var(--primary, #1f6f7a) !important;
    background-color: #f1f5f9 !important;
    text-decoration: none !important;
}

/* Smooth target highlighting keyframes with pulse focus */
.hc-reference-card:target {
    animation: hc-card-highlight 2.5s cubic-bezier(0.25, 1, 0.5, 1) !important;
}

@keyframes hc-card-highlight {
    0% {
        background-color: rgba(31, 111, 122, 0.08) !important;
        border-color: var(--primary, #1f6f7a) !important;
        box-shadow: 0 0 0 3px rgba(31, 111, 122, 0.2), 0 8px 24px rgba(31, 111, 122, 0.15) !important;
        transform: scale(1.008);
    }
    100% {
        background-color: #ffffff !important;
        border-color: #e2e8f0 !important;
        box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04), 0 1px 3px rgba(15, 23, 42, 0.02) !important;
        transform: scale(1);
    }
}

/* Offset scroll position to prevent sticky TOC and header menus from obstructing targeted cards & headings */
.hc-reference-card,
.hc-reference-item,
h1[id], h2[id], h3[id], h4[id], h5[id], h6[id] {
    scroll-margin-top: 120px !important;
}

/* =========================================================================
   References profile pages (single-hc_reference) styling
   ========================================================================= */
.hc-single-ref-dossier,
.hc-single-reference-card {
    background: #ffffff !important;
    border-radius: 16px !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.05), 0 1px 3px rgba(15, 23, 42, 0.02) !important;
    padding: 2.25rem 2rem !important;
}

.hc-ref-profile-title {
    color: #0f172a !important;
    font-size: 1.85rem !important;
    font-weight: 800 !important;
    letter-spacing: -0.02em !important;
    line-height: 1.35 !important;
}

.hc-ref-profile-title::before,
.hc-single-ref-dossier h1::before,
.hc-single-ref-dossier h2::before,
.hc-single-ref-dossier h3::before,
.hc-single-ref-dossier h4::before {
    content: none !important;
    display: none !important;
}

.hc-ref-dossier-org {
    color: #0f172a !important;
    font-size: 1rem !important;
}

.hc-ref-dossier-meta-grid {
    background-color: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 10px !important;
}

.hc-citing-guides-section {
    margin-top: 2rem !important;
}

.hc-citing-guide-card {
    background-color: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.02) !important;
    transition: all 0.2s ease !important;
}

.hc-citing-guide-card:hover {
    border-color: #cbd5e1 !important;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.06) !important;
    transform: translateY(-1px);
}

.hc-citing-guide-title {
    color: #0f172a !important;
    font-size: 1.05rem !important;
    line-height: 1.4 !important;
    transition: color 0.2s ease !important;
}

.hc-citing-guide-title:hover {
    color: var(--primary, #1f6f7a) !important;
}

.hc-ref-history-back {
    font-size: 0.85rem !important;
    font-weight: 600 !important;
    transition: color 0.2s ease !important;
}

.hc-ref-history-back:hover {
    color: var(--primary, #1f6f7a) !important;
}

/* In-text citation pulse ring & scroll margin */
.hc-ref-source-badge,
.hc-ref-citation {
    scroll-margin-top: 130px !important;
}

@keyframes hc-citation-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(31, 111, 122, 0.7);
        transform: scale(1.05);
        background-color: rgba(31, 111, 122, 0.25) !important;
    }
    50% {
        box-shadow: 0 0 0 8px rgba(31, 111, 122, 0);
        transform: scale(1.08);
        background-color: rgba(31, 111, 122, 0.35) !important;
    }
    100% {
        box-shadow: 0 0 0 0 rgba(31, 111, 122, 0);
        transform: scale(1);
    }
}

.hc-citation-pulse {
    animation: hc-citation-pulse 2s cubic-bezier(0.25, 1, 0.5, 1) !important;
}

/* Sticky Table of Contents scrollability fix */
.hc-article-toc.hc-toc-sticky {
    max-height: calc(100vh - 140px) !important;
    overflow-y: auto !important;
}

/* Custom scrollbar for sticky TOC to keep it sleek */
.hc-article-toc.hc-toc-sticky::-webkit-scrollbar {
    width: 6px;
}
.hc-article-toc.hc-toc-sticky::-webkit-scrollbar-track {
    background: transparent;
}
.hc-article-toc.hc-toc-sticky::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.1);
    border-radius: 3px;
}
.hc-article-toc.hc-toc-sticky::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 0, 0, 0.2);
}

/* Glossary Links Hover Tooltips */
.hc-glossary-link {
    position: relative !important;
    display: inline !important;
    color: #1f6f7a !important;
    text-decoration: underline !important;
    text-underline-offset: 0.14em !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    box-decoration-break: clone !important;
    -webkit-box-decoration-break: clone !important;
}

.hc-glossary-link:hover {
    color: #155e67 !important;
}

/* Internal and External Text Links */
.hc-internal-link {
    color: #1f6f7a;
    text-decoration: underline;
    text-decoration-thickness: 1.5px;
    text-underline-offset: 0.16em;
    font-weight: 600;
    transition: color 0.15s ease, text-decoration-color 0.15s ease;
}

.hc-internal-link:hover,
.hc-internal-link:focus {
    color: #155e67;
    text-decoration-color: #155e67;
}

.hc-external-link {
    color: #1f6f7a;
    text-decoration: underline;
    text-decoration-thickness: 1.5px;
    text-underline-offset: 0.16em;
    font-weight: 500;
    transition: color 0.15s ease;
}

.hc-external-link:hover,
.hc-external-link:focus {
    color: #155e67;
}

/* Tooltip container properties */
.hc-glossary-tooltip-card {
    position: absolute;
    bottom: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%) translateY(6px);
    background: #0f172a;
    color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 15px 35px rgba(15, 23, 42, 0.3), 0 5px 15px rgba(15, 23, 42, 0.15);
    width: 300px;
    max-width: calc(100vw - 32px);
    z-index: 99999;
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s ease;
    text-align: left;
    line-height: 1.4;
    border: 1px solid rgba(255, 255, 255, 0.08);
    overflow: hidden;
}

/* Invisible bridge so mouse hover doesn't drop when moving from link to tooltip */
.hc-glossary-tooltip-card::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    height: 14px;
    background: transparent;
    pointer-events: auto;
}

/* Tooltip indicator arrow (default points DOWN) */
.hc-glossary-tooltip-card::after {
    content: "";
    position: absolute;
    top: 100%;
    left: var(--arrow-left, 50%) !important;
    transform: translateX(-50%) !important;
    border-width: 6px;
    border-style: solid;
    border-color: #0f172a transparent transparent transparent;
}

/* When flipped to display BELOW the link */
.hc-glossary-tooltip-card.hc-tooltip-flipped {
    bottom: auto;
    top: calc(100% + 10px);
    transform: translateX(-50%) translateY(-6px);
}

.hc-glossary-tooltip-card.hc-tooltip-flipped::before {
    top: auto;
    bottom: 100%;
}

.hc-glossary-tooltip-card.hc-tooltip-flipped::after {
    top: auto;
    bottom: 100%;
    border-color: transparent transparent #0f172a transparent;
}

.hc-glossary-tooltip-content {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
}

.hc-glossary-tooltip-img {
    width: 100% !important;
    height: 130px !important;
    object-fit: cover !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
}

.hc-glossary-tooltip-text {
    padding: 0.9rem !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 0.25rem !important;
}

.hc-glossary-tooltip-title {
    font-size: 0.95rem !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    letter-spacing: -0.01em !important;
}

.hc-glossary-tooltip-excerpt {
    font-size: 0.82rem !important;
    color: #94a3b8 !important;
    font-weight: 400 !important;
    line-height: 1.5 !important;
}

.hc-glossary-tooltip-excerpt p {
    margin: 0 !important;
    color: #94a3b8 !important;
}

/* Show Tooltip Card on Hover and Mobile Tap Active state */
.hc-glossary-link:hover .hc-glossary-tooltip-card,
.hc-glossary-link:focus .hc-glossary-tooltip-card,
.hc-glossary-link.hc-tooltip-active .hc-glossary-tooltip-card {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
}

/* Responsive Mobile overrides for Glossary Tooltip Cards to prevent cut-off */
@media (max-width: 768px) {
    .hc-glossary-tooltip-card {
        width: 270px;
        max-width: calc(100vw - 32px);
    }
    .hc-glossary-tooltip-img {
        height: 100px !important;
    }
    .hc-glossary-tooltip-text {
        padding: 0.75rem !important;
    }
    .hc-glossary-tooltip-title {
        font-size: 0.9rem !important;
    }
    .hc-glossary-tooltip-excerpt {
        font-size: 0.8rem !important;
    }
}

/* Enhanced Typographic Hierarchy (distinguishable headings H2-H6 inside post content) */
.hc-article-content h2,
.editor-styles-wrapper h2 {
    font-size: 1.75rem !important;
    font-weight: 700 !important;
    color: #115159 !important; /* brand dark teal */
    margin-top: 3rem !important;
    margin-bottom: 1.25rem !important;
    padding-left: 12px !important;
    border-left: 4px solid var(--primary, #2f8f9d) !important;
    line-height: 1.3 !important;
}

.hc-article-content h3,
.editor-styles-wrapper h3 {
    font-size: 1.40rem !important;
    font-weight: 700 !important;
    color: #0f172a !important; /* Crisp Dark Slate */
    margin-top: 2.5rem !important;
    margin-bottom: 1rem !important;
    line-height: 1.35 !important;
    border-left: none !important;
    border-bottom: 1.5px solid #e2e8f0 !important; /* Visual underline separator */
    padding-left: 0 !important;
    padding-bottom: 8px !important;
}

.hc-article-content h4,
.editor-styles-wrapper h4 {
    font-size: 1.18rem !important;
    font-weight: 600 !important;
    color: #334155 !important; /* slate-700 */
    margin-top: 2rem !important;
    margin-bottom: 0.75rem !important;
    line-height: 1.4 !important;
    border-left: none !important;
    border-bottom: none !important;
    padding-left: 0 !important;
    padding-bottom: 0 !important;
}

.hc-article-content h5,
.editor-styles-wrapper h5 {
    font-size: 1.02rem !important;
    font-weight: 600 !important;
    color: #475569 !important; /* slate-600 */
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    margin-top: 1.75rem !important;
    margin-bottom: 0.75rem !important;
    line-height: 1.4 !important;
    border-left: none !important;
    padding-left: 0 !important;
}

.hc-article-content h6,
.editor-styles-wrapper h6 {
    font-size: 0.90rem !important;
    font-weight: 600 !important;
    color: #64748b !important; /* slate-500 */
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    margin-top: 1.5rem !important;
    margin-bottom: 0.5rem !important;
    line-height: 1.4 !important;
    border-left: none !important;
    padding-left: 0 !important;
}



/* Table of Contents Header Reset (override global article H2 styles) */
.hc-article-content .hc-article-toc h2.hc-toc-title,
.editor-styles-wrapper .hc-article-toc h2.hc-toc-title {
    font-size: 1.1rem !important;
    font-weight: 700 !important;
    color: var(--text-main, #222222) !important;
    border-left: none !important;
    padding-left: 0 !important;
    margin: 0 !important;
    text-transform: none !important;
    letter-spacing: normal !important;
}

/* Floating Table of Contents Trigger Button */
.hc-floating-toc-btn {
    position: fixed !important;
    right: 30px;
    bottom: 100px; /* Positioned safely above back-to-top button */
    width: 48px !important;
    height: 48px !important;
    background: #115159 !important; /* brand dark teal */
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.18) !important;
    border-radius: 14px !important;
    box-shadow: 0 8px 26px rgba(17, 81, 89, 0.32) !important;
    z-index: 99999 !important;
    cursor: move !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: opacity 0.3s ease, transform 0.2s ease, background 0.2s ease, visibility 0.3s ease, box-shadow 0.2s ease !important;
    opacity: 0 !important;
    visibility: hidden !important;
    padding: 0 !important;
}

.hc-floating-toc-btn:hover {
    background: #155e67 !important;
    transform: scale(1.05) !important;
    box-shadow: 0 10px 30px rgba(17, 81, 89, 0.42) !important;
}

.hc-floating-toc-btn:active {
    transform: scale(0.95) !important;
}

.hc-floating-toc-btn.hc-floating-visible {
    opacity: 1 !important;
    visibility: visible !important;
}

/* Customizer Option: Bottom-Left Floating Position */
.hc-floating-toc-btn.hc-pos-bottom-left {
    left: 30px !important;
    right: auto !important;
}

/* Reading Progress Indicator (Circular SVG Ring) */
.hc-toc-progress-ring {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    pointer-events: none !important;
    transform: rotate(-90deg) !important;
    border-radius: 14px !important;
}

.hc-toc-progress-bg {
    fill: none !important;
    stroke: rgba(255, 255, 255, 0.22) !important;
    stroke-width: 2.8 !important;
}

.hc-toc-progress-bar {
    fill: none !important;
    stroke: #5eead4 !important; /* crisp vibrant mint teal */
    stroke-width: 2.8 !important;
    stroke-linecap: round !important;
    stroke-dasharray: 131.95 !important;
    stroke-dashoffset: 131.95 !important;
    transition: stroke-dashoffset 0.15s ease-out !important;
}

.hc-floating-toc-icon {
    font-size: 1.35rem !important;
    pointer-events: none !important;
    position: relative !important;
    z-index: 2 !important;
}

/* Floating Table of Contents Card */
.hc-floating-toc-card {
    position: fixed !important;
    background: #ffffff !important;
    border: 1px solid rgba(17, 81, 89, 0.16) !important;
    border-radius: 16px !important;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.16), 0 4px 14px rgba(15, 23, 42, 0.06) !important;
    z-index: 99998 !important;
    display: flex !important;
    flex-direction: column !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transform: scale(0.95) !important;
    transform-origin: bottom right !important;
    transition: opacity 0.25s cubic-bezier(0.165, 0.84, 0.44, 1), transform 0.25s cubic-bezier(0.165, 0.84, 0.44, 1), visibility 0.25s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
    overflow: hidden !important;
    padding: 0 !important;
}

.hc-floating-toc-card.hc-floating-active {
    opacity: 1 !important;
    visibility: visible !important;
    transform: scale(1) !important;
}

.hc-floating-toc-header {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 13px 18px !important;
    background: #f8fafc !important;
    border-bottom: 1px solid #e2e8f0 !important;
}

.hc-floating-toc-title {
    margin: 0 !important;
    font-size: 0.95rem !important;
    font-weight: 700 !important;
    color: #115159 !important;
    font-family: 'Inter', sans-serif !important;
    border-left: none !important;
    padding-left: 0 !important;
    letter-spacing: -0.01em !important;
}

.hc-floating-toc-close {
    background: rgba(226, 232, 240, 0.6) !important;
    border: none !important;
    color: #64748b !important;
    width: 26px !important;
    height: 26px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 1.25rem !important;
    line-height: 1 !important;
    padding: 0 !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
}

.hc-floating-toc-close:hover {
    background: #e2e8f0 !important;
    color: #0f172a !important;
}

.hc-floating-toc-list {
    margin: 0 !important;
    padding: 12px 14px !important;
    list-style: none !important;
    overflow-y: auto !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 4px !important;
}

.hc-floating-toc-list li {
    margin: 0 !important;
    line-height: 1.4 !important;
}

/* Floating TOC Links - Strict Hanging Indent via Flexbox */
.hc-floating-toc-list a.hc-toc-link,
.hc-floating-toc-list a {
    color: var(--text-main, #1e293b) !important;
    text-decoration: none !important;
    font-size: 0.88rem !important;
    transition: background 0.18s ease, color 0.18s ease !important;
    display: flex !important;
    align-items: flex-start !important;
    gap: 8px !important;
    font-weight: 500 !important;
    padding: 6px 8px !important;
    border-radius: 8px !important;
    border-left: 3px solid transparent !important;
}

.hc-floating-toc-list a:hover {
    background: rgba(17, 81, 89, 0.05) !important;
    color: var(--primary, #115159) !important;
}

.hc-floating-toc-list a:hover .hc-toc-text {
    color: var(--primary, #115159) !important;
}

/* Active Heading in Floating Card */
.hc-floating-toc-list a.hc-toc-link.is-active {
    background: rgba(17, 81, 89, 0.08) !important;
    border-left-color: var(--primary, #115159) !important;
}

.hc-floating-toc-list a.hc-toc-link.is-active .hc-toc-text {
    font-weight: 600 !important;
    color: var(--primary, #115159) !important;
}

.hc-floating-toc-list a.hc-toc-link.is-active .hc-toc-number {
    color: var(--primary, #115159) !important;
}

.hc-floating-toc-list .hc-toc-h3 a {
    padding-left: 10px !important;
}

.hc-floating-toc-list .hc-toc-h3 .hc-toc-text {
    font-size: 0.84rem !important;
    color: #64748b !important;
    font-weight: 400 !important;
}

/* Custom scrollbar for floating TOC card list */
.hc-floating-toc-list::-webkit-scrollbar {
    width: 5px;
}
.hc-floating-toc-list::-webkit-scrollbar-track {
    background: transparent;
}
.hc-floating-toc-list::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.12);
    border-radius: 3px;
}
.hc-floating-toc-list::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 0, 0, 0.22);
}


/* Custom checklist square bullets for HC - Symptoms Checklist block */
.wp-block-group.is-style-hc-symptoms-checklist ul {
    list-style-type: square !important; /* Fallback for older browsers */
    list-style-type: '▢  ' !important; /* Premium open square checklist marker */
    padding-left: 1.5rem !important;
}

.wp-block-group.is-style-hc-symptoms-checklist li::marker {
    color: #4f46e5 !important; /* Match the indigo checklist theme */
    font-size: 1.15em !important;
    font-weight: 700 !important;
}


/* Custom checkmark bullets for HC - Prevention Tips block */
.wp-block-group.is-style-hc-prevention-tips ul {
    list-style-type: disc !important; /* Fallback for older browsers */
    list-style-type: '✓  ' !important; /* Protective checkmark for prevention actions */
    padding-left: 1.5rem !important;
}

.wp-block-group.is-style-hc-prevention-tips li::marker {
    color: #0d9488 !important; /* Match the clean teal prevention theme */
    font-size: 1.15em !important;
    font-weight: 700 !important;
}


/* ==========================================================================
   COMPREHENSIVE RESPONSIVENESS & POP-UP CARD OPTIMIZATIONS
   ========================================================================== */

/* Word Break & Overflow Protection on all Headings */
.hc-article-content h1,
.hc-article-content h2,
.hc-article-content h3,
.hc-article-content h4,
.hc-article-content h5,
.hc-article-content h6,
.editor-styles-wrapper h1,
.editor-styles-wrapper h2,
.editor-styles-wrapper h3,
.editor-styles-wrapper h4,
.editor-styles-wrapper h5,
.editor-styles-wrapper h6 {
    overflow-wrap: break-word !important;
    word-break: break-word !important;
}

/* Tablet (max-width: 991.98px) */
@media (max-width: 991.98px) {
    .hc-article-content h2,
    .editor-styles-wrapper h2 {
        font-size: 1.55rem !important;
        margin-top: 2.25rem !important;
        margin-bottom: 1rem !important;
    }
    .hc-article-content h3,
    .editor-styles-wrapper h3 {
        font-size: 1.30rem !important;
        margin-top: 2rem !important;
        margin-bottom: 0.9rem !important;
    }
    .hc-article-content h4,
    .editor-styles-wrapper h4 {
        font-size: 1.12rem !important;
        margin-top: 1.6rem !important;
        margin-bottom: 0.65rem !important;
    }
    .hc-article-content h5,
    .editor-styles-wrapper h5 {
        font-size: 0.98rem !important;
    }
    .hc-article-content h6,
    .editor-styles-wrapper h6 {
        font-size: 0.88rem !important;
    }
}

/* Mobile Devices (max-width: 767.98px) */
@media (max-width: 767.98px) {
    .hc-article-content h2,
    .editor-styles-wrapper h2 {
        font-size: 1.38rem !important;
        margin-top: 1.85rem !important;
        margin-bottom: 0.85rem !important;
        padding-left: 10px !important;
        border-left-width: 3.5px !important;
        line-height: 1.32 !important;
    }
    
    .hc-article-content h3,
    .editor-styles-wrapper h3 {
        font-size: 1.20rem !important;
        margin-top: 1.6rem !important;
        margin-bottom: 0.7rem !important;
        line-height: 1.35 !important;
        padding-bottom: 6px !important;
    }
    
    .hc-article-content h4,
    .editor-styles-wrapper h4 {
        font-size: 1.06rem !important;
        margin-top: 1.35rem !important;
        margin-bottom: 0.55rem !important;
    }
    
    .hc-article-content h5,
    .editor-styles-wrapper h5 {
        font-size: 0.94rem !important;
        margin-top: 1.2rem !important;
    }
    
    .hc-article-content h6,
    .editor-styles-wrapper h6 {
        font-size: 0.85rem !important;
        margin-top: 1rem !important;
    }

    /* Pop-up Cards & Floating Panels on Mobile */
    .hc-glossary-tooltip-card {
        width: min(280px, calc(100vw - 32px)) !important;
        max-width: calc(100vw - 32px) !important;
    }
    
    .hc-floating-toc-card {
        width: min(300px, calc(100vw - 32px)) !important;
        max-width: calc(100vw - 32px) !important;
    }
    
    .hc-reference-card {
        padding: 1.15rem 1rem !important;
        border-radius: 12px !important;
    }

    .hc-ref-card-citation-block {
        padding: 0.75rem 0.85rem !important;
    }

    .hc-ref-card-actions {
        width: 100% !important;
        justify-content: flex-start !important;
    }

    .hc-ref-btn-official,
    .hc-ref-btn-profile {
        font-size: 0.78rem !important;
        padding: 0.35rem 0.75rem !important;
    }
    
    .wp-block-group.is-style-hc-myth-vs-fact {
        padding: 1.25rem 1rem !important;
    }
}

/* Small Mobile Screens (max-width: 480px) */
@media (max-width: 480px) {
    .hc-article-content h2,
    .editor-styles-wrapper h2 {
        font-size: 1.25rem !important;
        margin-top: 1.65rem !important;
    }
    
    .hc-article-content h3,
    .editor-styles-wrapper h3 {
        font-size: 1.12rem !important;
        margin-top: 1.45rem !important;
    }

    .hc-article-content h4,
    .editor-styles-wrapper h4 {
        font-size: 1.00rem !important;
        margin-top: 1.25rem !important;
    }

    .hc-article-content h5,
    .editor-styles-wrapper h5 {
        font-size: 0.90rem !important;
    }

    .hc-article-content h6,
    .editor-styles-wrapper h6 {
        font-size: 0.82rem !important;
    }
    
    .hc-floating-toc-btn {
        right: 18px;
        bottom: 74px;
        width: 44px !important;
        height: 44px !important;
    }
}

@media (max-width: 768px) {
    .hc-back-to-top {
        position: fixed !important;
        bottom: 20px !important;
        right: 18px !important;
        width: 44px !important;
        height: 44px !important;
        font-size: 0.95rem !important;
        z-index: 99998 !important;
        pointer-events: auto !important;
        box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2) !important;
        touch-action: manipulation !important;
    }

    .hc-floating-toc-btn {
        position: fixed !important;
        right: 18px;
        bottom: 74px;
        width: 44px !important;
        height: 44px !important;
        z-index: 99999 !important;
        pointer-events: auto !important;
        box-shadow: 0 4px 14px rgba(17, 81, 89, 0.3) !important;
        touch-action: manipulation !important;
    }

    .hc-article,
    .hc-page,
    .hc-article-content {
        width: 100% !important;
        max-width: 100% !important;
    }
}

/* Distinct Bullet Prefix for H4 Sub-topics */

.hc-article-content h4::before,
.editor-styles-wrapper h4::before {
    content: "• " !important;
    color: var(--primary, #2f8f9d) !important;
    font-weight: 800 !important;
    font-size: 1.25em !important;
    margin-right: 4px !important;
    line-height: 1 !important;
}

/* Exclude Pages, HC Group Block title cards & Reference Cards from inheriting the H4 bullet prefix */
.hc-page-content h4::before,
.hc-page-content h3::before,
.hc-page-content h2::before,
.hc-page-content h1::before,
body.post-type-page .editor-styles-wrapper h4::before,
.post-type-page .editor-styles-wrapper h4::before,
.wp-block-group[class*="is-style-hc-"] h4::before,
.wp-block-group[class*="is-style-hc-"] h3::before,
.hc-reference-card h4::before,
.hc-ref-card-title::before {
    content: none !important;
    display: none !important;
}

.wp-block-group[class*="is-style-hc-"] h3,
.wp-block-group[class*="is-style-hc-"] h4 {
    border-bottom: none !important;
    padding-bottom: 0 !important;
}


/* Post Subtitle */
.hc-article-subtitle {
    font-size: 1.25rem !important;
    line-height: 1.6 !important;
    color: #475569 !important; /* Slate-600 */
    font-weight: 400 !important;
    margin-top: 0 !important;
    margin-bottom: 1.75rem !important;
}

@media (max-width: 768px) {
    .hc-article-subtitle {
        font-size: 1.1rem !important;
        line-height: 1.55 !important;
        margin-bottom: 1.35rem !important;
    }
}


/* Styling for new Reference Type single page badges */
.hc-ref-profile-type-badge.hc-ref-profile-type-technical-guidance {
    background-color: rgba(59, 130, 246, 0.08) !important;
    color: #1d4ed8 !important;
}
.hc-ref-profile-type-badge.hc-ref-profile-type-institutional-organization-source {
    background-color: rgba(100, 116, 139, 0.08) !important;
    color: #475569 !important;
}
.hc-ref-profile-type-badge.hc-ref-profile-type-systematic-review {
    background-color: rgba(139, 92, 246, 0.08) !important;
    color: #6d28d9 !important;
}
.hc-ref-profile-type-badge.hc-ref-profile-type-fact-sheet,
.hc-ref-profile-type-badge.hc-ref-profile-type-report,
.hc-ref-profile-type-badge.hc-ref-profile-type-policy-position-statement,
.hc-ref-profile-type-badge.hc-ref-profile-type-q-a-patient-guidance,
.hc-ref-profile-type-badge.hc-ref-profile-type-web-resource {
    background-color: rgba(13, 148, 136, 0.08) !important;
    color: #0f766e !important;
}

/* Health Awareness Theme Attribution */
.hc-awareness-theme-attribution {
    margin-top: 0.75rem;
    padding-top: 0.6rem;
    border-top: 1px dashed rgba(0, 0, 0, 0.08);
    font-size: 0.84rem;
    color: #64748b;
    line-height: 1.4;
}

.hc-theme-attribution-badge {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.35rem 0.5rem;
    font-weight: 500;
    color: #64748b;
    max-width: 100%;
}

.hc-theme-by-prefix {
    white-space: nowrap !important;
    display: inline-block;
    font-weight: 500;
}

.hc-theme-attribution-badge i {
    font-size: 0.8rem;
    color: #94a3b8;
}

.hc-theme-attribution-link {
    color: var(--link-color, #1f6f7a);
    text-decoration: underline;
    text-underline-offset: 2px;
    font-weight: 600;
    word-break: break-word;
    transition: color 0.15s ease;
}

.hc-theme-attribution-link:hover {
    color: var(--link-hover, #155e67);
}

.hc-theme-attribution-source {
    font-weight: 600;
    word-break: break-word;
    color: #475569;
}

/* ==========================================================================
   INBUILT NATIVE CONTACT FORM STYLES
   ========================================================================== */

.hc-contact-form-container {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 2.25rem;
    box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.05);
    margin-top: 2rem;
    margin-bottom: 2.5rem;
}

.hc-contact-form-styled .hc-form-group {
    margin-bottom: 0.5rem;
}

.hc-contact-form-styled .hc-form-label {
    display: block;
    font-size: 0.92rem;
    font-weight: 600;
    color: #334155;
    margin-bottom: 6px;
}

.hc-contact-form-styled .hc-req-star {
    color: #e11d48;
    font-weight: bold;
    margin-left: 2px;
}

.hc-input-with-icon {
    position: relative;
    display: flex;
    align-items: center;
}

.hc-input-with-icon .hc-input-icon {
    position: absolute;
    left: 14px;
    color: #94a3b8;
    font-size: 0.95rem;
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.hc-input-with-icon .hc-form-control {
    padding-left: 42px !important;
}

.hc-contact-form-styled .hc-form-control {
    width: 100%;
    padding: 10px 14px;
    font-size: 0.98rem;
    line-height: 1.5;
    color: #0f172a;
    background-color: #ffffff;
    border: 1.5px solid #cbd5e1;
    border-radius: 8px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.hc-contact-form-styled .hc-form-control:focus {
    border-color: #0d9488;
    box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.15);
    outline: none;
}

.hc-contact-form-styled .hc-form-control::placeholder {
    color: #94a3b8;
    font-size: 0.92rem;
}

.hc-contact-form-styled .hc-form-textarea {
    resize: vertical;
    min-height: 140px;
}

.hc-btn-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #0d9488;
    color: #ffffff !important;
    font-size: 1rem;
    font-weight: 600;
    padding: 11px 26px;
    border-radius: 8px;
    border: 1px solid #0d9488;
    box-shadow: 0 2px 4px rgba(13, 148, 136, 0.25);
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
}

.hc-btn-submit:hover {
    background-color: #0f766e;
    border-color: #0f766e;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(13, 148, 136, 0.35);
}

.hc-btn-submit:active {
    transform: translateY(0);
}

.hc-btn-submit:disabled {
    opacity: 0.75;
    cursor: not-allowed;
    transform: none;
}

.hc-contact-alert {
    padding: 14px 18px;
    border-radius: 8px;
    font-size: 0.95rem;
    line-height: 1.5;
}

.hc-contact-alert-success {
    background-color: #ecfdf5;
    border: 1px solid #a7f3d0;
    color: #065f46;
}

.hc-contact-alert-danger {
    background-color: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
}

.hc-form-privacy-note {
    font-size: 0.85rem;
    color: #64748b;
    display: inline-block;
    vertical-align: middle;
}

@media (max-width: 576px) {
    .hc-contact-form-container {
        padding: 1.5rem 1.15rem;
    }
    .hc-btn-submit {
        width: 100%;
        margin-bottom: 12px;
    }
    .hc-form-privacy-note {
        display: block;
        margin-left: 0 !important;
        text-align: center;
    }
}

/* ==========================================================================
   UNIVERSAL SEARCH & AUTO-SUGGEST STYLES
   ========================================================================== */

/* 1. Floating Suggestions Dropdown */
.hc-live-search-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    z-index: 99999;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    box-shadow: 0 16px 36px -4px rgba(15, 23, 42, 0.16), 0 4px 12px -2px rgba(15, 23, 42, 0.08);
    overflow: hidden;
    max-height: min(420px, 60vh);
    overflow-y: auto;
    text-align: left;
    animation: hcDropdownFade 0.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes hcDropdownFade {
    from {
        opacity: 0;
        transform: translateY(-6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hc-live-search-header {
    background: #f8fafc;
    letter-spacing: 0.05em;
    font-size: 0.72rem;
    color: #64748b;
}

.hc-live-search-item {
    border-bottom: 1px solid #f1f5f9;
    transition: background-color 0.15s ease;
}

.hc-live-search-item:last-child {
    border-bottom: none;
}

.hc-live-search-item:hover,
.hc-live-search-item.active {
    background-color: #f0fdf4;
}

.hc-live-search-link {
    color: inherit;
    padding: 0.75rem 1rem;
    transition: none;
}

.hc-live-search-title {
    font-size: 0.92rem;
    line-height: 1.35;
    color: #0f172a;
}

.hc-live-search-meta {
    font-size: 0.78rem;
    color: #64748b;
    margin-top: 2px;
}

.hc-search-highlight {
    background: #fef08a;
    color: #854d0e;
    font-weight: 700;
    padding: 1px 3px;
    border-radius: 3px;
}

.hc-live-search-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 8px;
    font-size: 0.85rem;
}

.hc-badge-post {
    background: rgba(31, 111, 122, 0.12);
    color: #1f6f7a;
}

.hc-badge-awareness {
    background: rgba(99, 102, 241, 0.12);
    color: #4f46e5;
}

.hc-badge-glossary {
    background: rgba(13, 148, 136, 0.12);
    color: #0d9488;
}

.hc-live-search-see-all {
    font-size: 0.86rem;
    color: var(--primary, #1f6f7a) !important;
}

/* 2. Search Page Filter Pills */
.hc-search-filter-pills .hc-search-filter-pill {
    display: inline-flex;
    align-items: center;
    padding: 8px 18px;
    border-radius: 999px;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    color: #475569;
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
}

.hc-search-filter-pills .hc-search-filter-pill:hover {
    border-color: var(--primary, #1f6f7a);
    color: var(--primary, #1f6f7a);
    background: #f8fafc;
}

.hc-search-filter-pills .hc-search-filter-pill.active {
    background: var(--primary, #1f6f7a);
    border-color: var(--primary, #1f6f7a);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(31, 111, 122, 0.25);
}

.hc-search-filter-pills .hc-search-filter-pill.active .badge {
    background: rgba(255, 255, 255, 0.25) !important;
    color: #ffffff !important;
}

/* 3. Search Result Cards */
.hc-search-result-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.hc-search-result-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px -4px rgba(15, 23, 42, 0.09);
    border-color: #cbd5e1;
}

/* Poetry in Unstraight Lines */
.hc-poetry-search-card {
    border-left: 5px solid #2f8f9d !important;
    background: #fafcfc !important;
}

.hc-poetry-search-card .hc-search-card-title a {
    font-family: 'Playfair Display', Georgia, serif !important;
    font-style: italic !important;
    font-size: 1.22rem;
}

.hc-poetry-excerpt {
    font-family: 'Playfair Display', Georgia, serif !important;
    font-style: italic !important;
    line-height: 1.6;
    color: #334155;
    white-space: pre-line;
}

.hc-search-badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.hc-search-badge-post {
    background: #e0f2fe;
    color: #0369a1;
}

.hc-search-badge-poetry {
    background: #ccfbf1;
    color: #0f766e;
    border: 1px solid rgba(15, 118, 110, 0.2);
}

.hc-search-badge-awareness {
    background: #ede9fe;
    color: #6d28d9;
}

.hc-search-badge-glossary {
    background: #ccfbf1;
    color: #0f766e;
}

.hc-search-card-title {
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.35;
    margin-bottom: 0.4rem;
}

.hc-search-card-title a {
    color: #0f172a;
    text-decoration: none;
    transition: color 0.15s ease;
}

.hc-search-card-title a:hover {
    color: var(--primary, #1f6f7a);
}

.hc-search-meta-theme {
    background: #f8fafc;
    border-left: 3px solid #6366f1;
    padding: 6px 10px;
    border-radius: 0 6px 6px 0;
    margin-bottom: 0.5rem;
    font-size: 0.86rem;
    line-height: 1.45;
}

.hc-search-card-excerpt {
    font-size: 0.88rem;
    line-height: 1.5;
    color: #475569;
    margin-bottom: 0.5rem;
}

.hc-search-card-img-wrap {
    max-height: 180px;
}

.hc-search-card-img-wrap img {
    height: 170px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.hc-search-result-card:hover .hc-search-card-img-wrap img {
    transform: scale(1.03);
}

.hc-search-card-footer {
    padding-top: 0.65rem;
    margin-top: auto;
    border-top: 1px solid #f1f5f9;
}

.hc-search-cta-link {
    color: var(--primary, #1f6f7a);
    text-decoration: none;
    transition: transform 0.15s ease, color 0.15s ease;
}

.hc-search-cta-link:hover {
    color: var(--primary-hover, #155e67);
    transform: translateX(3px);
}

/* 4. Calendar Page Load More & Animation */
.hc-load-more-btn {
    border-radius: 999px;
    padding: 9px 26px;
    font-weight: 600;
    font-size: 0.92rem;
    transition: all 0.2s ease;
}

.hc-load-more-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(31, 111, 122, 0.2);
}

.hc-fade-in {
    animation: hcFadeInCard 0.35s ease forwards;
}

@keyframes hcFadeInCard {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 5. Calendar & Single Awareness Search Inputs */
.hc-calendar-search-wrap .hc-calendar-search-input {
    border-radius: 999px;
    padding: 6px 36px 6px 14px;
    font-size: 0.86rem;
    height: 38px;
    border: 1px solid var(--border, #e2e8f0);
    background: #f8fafc;
    transition: all 0.2s ease;
}

.hc-calendar-search-wrap .hc-calendar-search-input:focus {
    background: #ffffff;
    border-color: var(--primary, #1f6f7a);
    box-shadow: 0 0 0 3px rgba(31, 111, 122, 0.15);
}

/* 5. Calendar & Single Awareness Search Inputs */
.hc-awareness-single-search-box {
    background: #f1f5f9;
    border: 2px solid #cbd5e1;
    border-radius: 20px;
    padding: 1.5rem 1.75rem;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.06);
    position: relative;
    transition: all 0.25s ease;
}

.hc-awareness-single-search-box:hover {
    border-color: #94a3b8;
    box-shadow: 0 6px 20px rgba(15, 23, 42, 0.09);
}

.hc-awareness-search-form {
    background: #ffffff;
    border: 2px solid #94a3b8;
    border-radius: 999px;
    display: flex;
    align-items: center;
    overflow: hidden;
    transition: all 0.25s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.hc-awareness-search-form:focus-within {
    border-color: var(--primary, #1f6f7a);
    box-shadow: 0 0 0 4px rgba(31, 111, 122, 0.18);
    background: #ffffff;
}

.hc-awareness-search-input {
    border: none !important;
    background: transparent !important;
    padding: 12px 18px !important;
    font-size: 0.95rem !important;
    width: 100% !important;
    outline: none !important;
    color: #1e293b !important;
    font-weight: 500 !important;
}

.hc-awareness-search-input::placeholder {
    color: #94a3b8 !important;
    font-size: 0.9rem !important;
}

.hc-awareness-search-btn {
    background: var(--primary, #1f6f7a) !important;
    color: #ffffff !important;
    border: none !important;
    padding: 10px 20px !important;
    border-radius: 999px !important;
    margin: 3px !important;
    font-weight: 600 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.2s ease !important;
    cursor: pointer !important;
    box-shadow: 0 2px 5px rgba(31, 111, 122, 0.25);
}

.hc-awareness-search-btn:hover {
    background: #17555e !important;
    transform: scale(1.03);
}

/* 6. Glossary SEO Referencing Articles Section */
.hc-glossary-references {
    border-top: 2px solid #e2e8f0;
}

.hc-glossary-ref-card {
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    border: 1px solid #e2e8f0;
    background: #ffffff;
}

.hc-glossary-ref-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px -4px rgba(15, 23, 42, 0.08) !important;
    border-color: var(--primary, #1f6f7a) !important;
}

.hc-glossary-ref-thumb {
    object-fit: cover;
    border: 1px solid #e2e8f0;
}

.hc-ref-snippet {
    font-size: 0.8rem;
    color: #64748b;
    line-height: 1.45;
}

.hc-term-mention-highlight {
    background: #e6f4f1;
    color: #134e56;
    font-weight: 700;
    padding: 1px 4px;
    border-radius: 4px;
    text-decoration: underline;
    text-decoration-color: var(--primary, #1f6f7a);
}

.hc-card-thumb-link {
    align-self: flex-start;
    margin-top: 3px;
    display: block;
    line-height: 0;
    flex-shrink: 0;
}

.hc-card-cat-pill {
    display: inline-block;
    background: #e0f2fe;
    color: #0369a1;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 2px 8px;
    border-radius: 4px;
    line-height: 1.25;
}

.hc-card-cat-poetry {
    background: #fef3c7;
    color: #92400e;
}

.hc-card-poetry-excerpt {
    font-family: 'Playfair Display', Georgia, serif;
    font-style: italic;
    font-size: 0.84rem;
    line-height: 1.4;
    color: #475569;
    border-left: 2px solid #cbd5e1;
    padding-left: 8px;
    margin-top: 4px;
    margin-bottom: 0;
}

/* 7. Health Awareness Internal Related Articles */
.hc-awareness-related-articles-section {
    background: #ffffff;
}

.hc-awareness-article-card {
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    border: 1px solid #e2e8f0;
    background: #ffffff;
}

.hc-awareness-article-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px -4px rgba(15, 23, 42, 0.08) !important;
    border-color: var(--primary, #1f6f7a) !important;
}

.hc-awareness-card-thumb {
    object-fit: cover;
    border: 1px solid #e2e8f0;
}

/* 8. Modernized Footer Styling */
.hc-footer-main {
    background: #ffffff;
}

.hc-footer-brand-title {
    font-size: 1.55rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #0f172a;
}

.hc-footer-brand-title a {
    color: inherit;
    transition: color 0.2s ease;
}

.hc-footer-brand-title a:hover {
    color: var(--primary, #1f6f7a);
}

.hc-footer-heading {
    font-size: 0.95rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #0f172a;
    margin-bottom: 1.15rem;
}

.hc-footer-links li {
    margin-bottom: 0.6rem;
}

.hc-footer-links a {
    color: #64748b;
    font-size: 0.92rem;
    text-decoration: none;
    transition: all 0.2s ease;
    display: inline-block;
}

.hc-footer-links a:hover {
    color: var(--primary, #1f6f7a);
    transform: translateX(3px);
}

.hc-footer-disclaimer-wrap {
    background-color: #f8fafc !important;
    border-color: #e2e8f0 !important;
}

.hc-footer-disclaimer p {
    font-size: 0.82rem;
    color: #64748b;
    line-height: 1.6;
}

.hc-footer-bottom {
    background: #ffffff;
}

/* ========================================================
   FEATURED ARTICLE POETRY FORMATTING (HOMEPAGE)
   ======================================================== */
.hc-featured-article.is-poetry .hc-featured-title a {
    font-family: 'Playfair Display', Georgia, serif;
    font-style: italic;
}

.hc-featured-poetry-excerpt {
    font-family: 'Playfair Display', Georgia, serif !important;
    font-style: italic !important;
    font-size: clamp(1.05rem, 1.8vw, 1.18rem) !important;
    line-height: 1.65 !important;
    color: #334155 !important;
    border-left: 3px solid #2f8f9d !important;
    padding-left: 18px !important;
    margin-top: 14px;
    margin-bottom: 24px !important;
}

.hc-featured-poetry-excerpt .hc-poetry-more {
    color: var(--primary, #0f766e);
    font-weight: 700;
    margin-left: 6px;
    font-style: normal;
    letter-spacing: 0.05em;
}

@media (max-width: 767.98px) {
    .hc-featured-poetry-excerpt {
        font-size: 1rem !important;
        line-height: 1.55 !important;
        padding-left: 14px !important;
        margin-top: 10px;
        margin-bottom: 18px !important;
    }
}

/* ========================================================
   THEME SWITCHER CONTROLS & DARK MODE SYSTEM
   ======================================================== */

.hc-topbar-actions {
    margin-left: auto;
}

.hc-theme-switcher-dropdown {
    position: relative;
    display: inline-flex;
    align-items: center;
    z-index: 100060;
}

.hc-theme-toggle-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.22);
    color: #ffffff;
    font-size: 15px;
    padding: 0;
    cursor: pointer;
    transition: all 0.2s ease;
}

.hc-theme-toggle-btn::after {
    display: none !important;
}

.hc-theme-toggle-btn:hover,
.hc-theme-toggle-btn:focus-visible {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.45);
    color: #ffffff;
    transform: scale(1.05);
}

/* Icon visibility based on active theme setting */
.hc-theme-icon-light,
.hc-theme-icon-dark,
.hc-theme-icon-system {
    display: none !important;
}

html[data-theme-setting="light"] .hc-theme-icon-light {
    display: inline-block !important;
    color: #fbbf24;
}

html[data-theme-setting="dark"] .hc-theme-icon-dark {
    display: inline-block !important;
    color: #38bdf8;
}

html[data-theme-setting="system"] .hc-theme-icon-system,
html:not([data-theme-setting]) .hc-theme-icon-system {
    display: inline-block !important;
    color: #cbd5e1;
}

/* Dropdown Menu */
.hc-theme-menu {
    min-width: 175px;
    padding: 6px;
    border-radius: 12px;
    background: var(--bg-surface, #ffffff);
    border: 1px solid var(--border, #e2e8f0);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.15), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    margin-top: 8px !important;
    z-index: 100060 !important;
}

.hc-theme-menu .dropdown-item {
    font-size: 0.88rem;
    font-weight: 500;
    padding: 8px 12px;
    border-radius: 8px;
    color: var(--text-main, #334155);
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease;
}

.hc-theme-menu .dropdown-item:hover,
.hc-theme-menu .dropdown-item:focus {
    background: var(--bg-surface-secondary, #f1f5f9);
    color: var(--primary, #0f766e);
}

.hc-theme-check {
    opacity: 0;
    font-size: 11px;
    color: var(--primary, #0f766e);
    transition: opacity 0.15s ease;
}

.hc-theme-menu .dropdown-item.active {
    background: rgba(47, 143, 157, 0.12);
    color: var(--primary, #0f766e);
    font-weight: 600;
}

.hc-theme-menu .dropdown-item.active .hc-theme-check {
    opacity: 1;
}

/* Mobile Offcanvas Segmented Control */
.hc-offcanvas-theme-selector {
    background: var(--bg-surface-secondary, #f8fafc);
    border: 1px solid var(--border, #e2e8f0);
}

.hc-theme-segmented-control {
    background: var(--bg-surface, #ffffff);
    border-radius: 8px;
    padding: 3px;
    border: 1px solid var(--border, #e2e8f0);
    display: flex;
    gap: 3px;
}

.hc-segmented-btn {
    flex: 1;
    font-size: 0.82rem;
    font-weight: 600;
    border-radius: 6px !important;
    border: none !important;
    background: transparent;
    color: var(--text-muted, #64748b);
    padding: 6px 4px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.hc-segmented-btn:hover {
    background: var(--bg-surface-secondary, #f1f5f9);
    color: var(--text-main, #1e293b);
}

.hc-segmented-btn.active {
    background: var(--button-bg, #0f766e) !important;
    color: #ffffff !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.18);
}

.hc-segmented-btn.active i {
    color: #ffffff !important;
}

/* ========================================================
   COMPREHENSIVE DARK THEME RULES ([data-theme="dark"])
   ======================================================== */

/* 1. Body & Typography */
[data-theme="dark"] body {
    background-color: var(--bg-body, #0b111e) !important;
    color: var(--text-main, #e2e8f0) !important;
}

[data-theme="dark"] h1,
[data-theme="dark"] h2,
[data-theme="dark"] h3,
[data-theme="dark"] h4,
[data-theme="dark"] h5,
[data-theme="dark"] h6,
[data-theme="dark"] .h1,
[data-theme="dark"] .h2,
[data-theme="dark"] .h3,
[data-theme="dark"] .h4,
[data-theme="dark"] .h5,
[data-theme="dark"] .h6,
[data-theme="dark"] .text-dark,
[data-theme="dark"] .hc-post-title a,
[data-theme="dark"] .hc-card-title a,
[data-theme="dark"] .hc-featured-title a,
[data-theme="dark"] .hc-ref-profile-title,
[data-theme="dark"] .hc-references-heading,
[data-theme="dark"] .hc-article-title,
[data-theme="dark"] .hc-glossary-main-title,
[data-theme="dark"] .hc-youtube-title {
    color: var(--text-heading, #f8fafc) !important;
}

[data-theme="dark"] .text-muted,
[data-theme="dark"] .hc-post-excerpt,
[data-theme="dark"] .hc-card-excerpt,
[data-theme="dark"] .hc-post-meta,
[data-theme="dark"] .hc-post-date,
[data-theme="dark"] .hc-ref-card-meta-dates,
[data-theme="dark"] .hc-youtube-intro,
[data-theme="dark"] .hc-glossary-excerpt,
[data-theme="dark"] .hc-awareness-meta {
    color: var(--text-muted, #94a3b8) !important;
}

[data-theme="dark"] p,
[data-theme="dark"] li,
[data-theme="dark"] .hc-featured-excerpt {
    color: var(--text-main, #cbd5e1);
}

/* 2. Logo Visibility (White in Dark Mode) */
[data-theme="dark"] .custom-logo,
[data-theme="dark"] .hc-logo img,
[data-theme="dark"] .hc-offcanvas-logo img {
    filter: brightness(0) invert(1) !important;
    transition: filter 0.25s ease;
}

/* 3. Search Form & Input Systems (Eliminate Halos & Inner Boxes) */
[data-theme="dark"] .hc-header-search .hc-search-form,
[data-theme="dark"] .hc-topbar .hc-search-form {
    background: rgba(255, 255, 255, 0.12) !important;
    border: 1px solid rgba(255, 255, 255, 0.25) !important;
    box-shadow: none !important;
}

[data-theme="dark"] .hc-header-search .hc-search-form:focus-within,
[data-theme="dark"] .hc-topbar .hc-search-form:focus-within {
    border-color: var(--primary, #38bdf8) !important;
    box-shadow: 0 0 0 2px rgba(56, 189, 248, 0.25) !important;
}

[data-theme="dark"] .hc-header-search .hc-search-input,
[data-theme="dark"] .hc-topbar .hc-search-input {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    color: #ffffff !important;
}

[data-theme="dark"] .hc-header-search .hc-search-button,
[data-theme="dark"] .hc-topbar .hc-search-button {
    color: rgba(255, 255, 255, 0.8) !important;
}

[data-theme="dark"] .hc-hero-search-form {
    background: rgba(19, 28, 46, 0.95) !important;
    border: 1.5px solid var(--border, #1e293b) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5) !important;
}

[data-theme="dark"] .hc-hero-search-form:focus-within {
    border-color: var(--primary, #38bdf8) !important;
    box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.25) !important;
}

[data-theme="dark"] .hc-hero-search-input {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    color: #ffffff !important;
}

[data-theme="dark"] .hc-hero-search-button {
    background: var(--button-bg, #0f766e) !important;
    color: #ffffff !important;
}

[data-theme="dark"] .hc-search-form,
[data-theme="dark"] .hc-calendar-search-form,
[data-theme="dark"] .hc-glossary-search-form,
[data-theme="dark"] .hc-awareness-search-form {
    background: var(--bg-surface-secondary, #1a253a) !important;
    border: 1.5px solid var(--border, #1e293b) !important;
    box-shadow: none !important;
}

[data-theme="dark"] .hc-search-form .hc-search-input,
[data-theme="dark"] .hc-calendar-search-input,
[data-theme="dark"] .hc-glossary-search-form .hc-search-input,
[data-theme="dark"] .hc-awareness-search-input {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    color: #f8fafc !important;
}

[data-theme="dark"] .hc-search-button {
    color: var(--primary, #38bdf8) !important;
}

[data-theme="dark"] .hc-awareness-search-btn {
    background: var(--primary, #0d9488) !important;
    color: #ffffff !important;
}

[data-theme="dark"] .hc-awareness-search-btn i {
    color: #ffffff !important;
}

/* 4. Form Controls, Textareas, Selects */
[data-theme="dark"] input[type="text"]:not(.hc-search-input):not(.hc-hero-search-input),
[data-theme="dark"] input[type="search"]:not(.hc-search-input):not(.hc-hero-search-input),
[data-theme="dark"] input[type="email"],
[data-theme="dark"] textarea,
[data-theme="dark"] select,
[data-theme="dark"] .form-control:not(.hc-search-input):not(.hc-hero-search-input),
[data-theme="dark"] .hc-filter-select {
    background-color: var(--bg-surface-secondary, #1a253a) !important;
    border-color: var(--border, #1e293b) !important;
    color: #f8fafc !important;
}

[data-theme="dark"] input::placeholder,
[data-theme="dark"] textarea::placeholder {
    color: #64748b !important;
}

/* 5. Sections & Surface Containers */
[data-theme="dark"] .hc-latest-articles-section,
[data-theme="dark"] .hc-featured-section,
[data-theme="dark"] .hc-youtube-section,
[data-theme="dark"] .hc-newsletter-section,
[data-theme="dark"] .hc-awareness-home-section,
[data-theme="dark"] .hc-awareness-archive-hero,
[data-theme="dark"] .hc-glossary-archive,
[data-theme="dark"] .hc-single-glossary,
[data-theme="dark"] .bg-white {
    background-color: var(--bg-body, #0b111e) !important;
    border-color: var(--border, #1e293b) !important;
}

[data-theme="dark"] .hc-post-card,
[data-theme="dark"] .hc-category-card,
[data-theme="dark"] .hc-sidebar-box,
[data-theme="dark"] .hc-featured-article,
[data-theme="dark"] .hc-author-box,
[data-theme="dark"] .hc-newsletter,
[data-theme="dark"] .hc-article-toc,
[data-theme="dark"] .hc-reference-card,
[data-theme="dark"] .hc-glossary-card,
[data-theme="dark"] .hc-awareness-event-card,
[data-theme="dark"] .hc-awareness-card,
[data-theme="dark"] .hc-video-card,
[data-theme="dark"] .card,
[data-theme="dark"] .hc-glossary-ref-card,
[data-theme="dark"] .hc-awareness-sub-box,
[data-theme="dark"] .hc-awareness-section-box,
[data-theme="dark"] .hc-glossary-mentioned-articles {
    background: var(--bg-surface, #131c2e) !important;
    border-color: var(--border, #1e293b) !important;
    box-shadow: var(--card-shadow) !important;
    color: var(--text-main, #e2e8f0) !important;
}

/* 6. Unstraight Lines / Poetry Cards */
[data-theme="dark"] article[data-content-type="poetry"].hc-post-card,
[data-theme="dark"] article.hc-poetry-card.hc-post-card,
[data-theme="dark"] article.category-unstraight-lines.hc-post-card,
[data-theme="dark"] .hc-reflection-card {
    background: var(--bg-surface, #131c2e) !important;
    border-color: var(--border, #1e293b) !important;
    border-left: 6px solid var(--primary, #38bdf8) !important;
    box-shadow: var(--card-shadow) !important;
}

[data-theme="dark"] article.hc-poetry-card .hc-card-title,
[data-theme="dark"] article.hc-poetry-card .hc-card-title a,
[data-theme="dark"] article.category-unstraight-lines .hc-card-title,
[data-theme="dark"] article.category-unstraight-lines .hc-card-title a,
[data-theme="dark"] .hc-reflection-card .hc-card-title,
[data-theme="dark"] .hc-reflection-card .hc-card-title a {
    color: var(--text-heading, #f8fafc) !important;
}

[data-theme="dark"] article.hc-poetry-card .hc-card-meta,
[data-theme="dark"] article.category-unstraight-lines .hc-card-meta,
[data-theme="dark"] article.hc-poetry-card .hc-card-meta span,
[data-theme="dark"] article.category-unstraight-lines .hc-card-meta span {
    color: var(--text-muted, #94a3b8) !important;
}

[data-theme="dark"] .hc-poetry-teaser,
[data-theme="dark"] .hc-card-poetry-excerpt,
[data-theme="dark"] .hc-featured-poetry-excerpt {
    color: #cbd5e1 !important;
    border-left-color: var(--primary, #38bdf8) !important;
}

[data-theme="dark"] .hc-card-cat-poetry {
    background: rgba(245, 158, 11, 0.15) !important;
    color: #fcd34d !important;
    border: 1px solid rgba(245, 158, 11, 0.3) !important;
}

/* 7. Homepage Featured Article & Health Custodian TV */
[data-theme="dark"] .hc-featured-title a {
    color: var(--text-heading, #f8fafc) !important;
}

[data-theme="dark"] .hc-featured-excerpt {
    color: #cbd5e1 !important;
}

[data-theme="dark"] .hc-featured-author-name {
    color: #f8fafc !important;
}

[data-theme="dark"] .hc-featured-cat-pill {
    background: rgba(47, 143, 157, 0.2) !important;
    color: #38bdf8 !important;
}

[data-theme="dark"] .hc-video-content h3 a,
[data-theme="dark"] .hc-video-title-link {
    color: var(--text-heading, #f8fafc) !important;
}

[data-theme="dark"] .hc-youtube-link,
[data-theme="dark"] .btn-outline-dark {
    color: #e2e8f0 !important;
    border-color: #475569 !important;
    background: transparent !important;
}

[data-theme="dark"] .hc-youtube-link:hover,
[data-theme="dark"] .btn-outline-dark:hover {
    background: #1e293b !important;
    color: #ffffff !important;
    border-color: #64748b !important;
}

/* 8. Health Awareness Single & Calendar */
[data-theme="dark"] .hc-view-calendar-btn {
    color: #e2e8f0 !important;
    border-color: #475569 !important;
    background: transparent !important;
}

[data-theme="dark"] .hc-view-calendar-btn:hover {
    background: var(--button-bg, #0f766e) !important;
    color: #ffffff !important;
    border-color: var(--button-bg, #0f766e) !important;
}

[data-theme="dark"] .hc-awareness-single-search-box {
    background: var(--bg-surface, #131c2e) !important;
    border: 1px solid var(--border, #1e293b) !important;
    box-shadow: 0 8px 24px -4px rgba(0, 0, 0, 0.45) !important;
}

[data-theme="dark"] .hc-campaign-insignia-box {
    background-color: rgba(19, 28, 46, 0.95) !important;
    border-color: var(--border, #1e293b) !important;
}

[data-theme="dark"] .hc-insignia-title {
    color: #f8fafc !important;
}

[data-theme="dark"] .hc-insignia-text {
    color: #cbd5e1 !important;
}

[data-theme="dark"] .hc-calendar-nav-wrap,
[data-theme="dark"] .hc-calendar-nav {
    background: var(--bg-surface, #131c2e) !important;
    border-color: var(--border, #1e293b) !important;
}

[data-theme="dark"] .hc-calendar-status-nav .nav-link {
    background: var(--bg-surface-secondary, #1a253a) !important;
    color: #cbd5e1 !important;
    border: 1px solid var(--border, #1e293b) !important;
}

[data-theme="dark"] .hc-calendar-status-nav .nav-link:hover,
[data-theme="dark"] .hc-calendar-status-nav .nav-link.active {
    background: var(--button-bg, #0f766e) !important;
    color: #ffffff !important;
    border-color: var(--button-bg, #0f766e) !important;
}

[data-theme="dark"] .hc-calendar-status-nav .nav-link .badge.bg-light {
    background: #334155 !important;
    color: #f8fafc !important;
}

[data-theme="dark"] .hc-load-more-btn {
    color: #e2e8f0 !important;
    border-color: #475569 !important;
    background: transparent !important;
}

[data-theme="dark"] .hc-load-more-btn:hover {
    background: var(--button-bg, #0f766e) !important;
    color: #ffffff !important;
    border-color: var(--button-bg, #0f766e) !important;
}

/* 9. Glossary Term, Archive & Share Actions */
[data-theme="dark"] .hc-term-definition .hc-glossary-def-box,
[data-theme="dark"] .hc-term-definition .hc-article-content {
    background: var(--bg-surface, #131c2e) !important;
    border-color: var(--border, #1e293b) !important;
    color: #cbd5e1 !important;
}

[data-theme="dark"] .hc-alphabet-nav .hc-letter-link {
    background: var(--bg-surface-secondary, #1a253a) !important;
    border-color: var(--border, #1e293b) !important;
    color: #cbd5e1 !important;
}

[data-theme="dark"] .hc-alphabet-nav .hc-letter-link:hover:not(.disabled),
[data-theme="dark"] .hc-alphabet-nav .hc-letter-link.active {
    background: var(--primary, #38bdf8) !important;
    color: #0b111e !important;
    border-color: var(--primary, #38bdf8) !important;
}

[data-theme="dark"] .hc-alphabet-nav .hc-letter-link.disabled {
    background: rgba(30, 41, 59, 0.4) !important;
    color: #475569 !important;
    border-color: var(--border, #1e293b) !important;
}

[data-theme="dark"] .hc-share-buttons a,
[data-theme="dark"] .hc-copy-link,
[data-theme="dark"] .hc-print-btn {
    background: var(--bg-surface-secondary, #1a253a) !important;
    border-color: var(--border, #1e293b) !important;
    color: #cbd5e1 !important;
}

[data-theme="dark"] .hc-share-buttons a:hover,
[data-theme="dark"] .hc-copy-link:hover,
[data-theme="dark"] .hc-print-btn:hover {
    background: var(--button-bg, #0f766e) !important;
    border-color: var(--button-bg, #0f766e) !important;
    color: #ffffff !important;
}

[data-theme="dark"] .hc-share-buttons span,
[data-theme="dark"] .hc-share-label {
    color: #94a3b8 !important;
}

[data-theme="dark"] .hc-glossary-back-btn {
    color: #e2e8f0 !important;
    border-color: #475569 !important;
    background: transparent !important;
}

[data-theme="dark"] .hc-glossary-back-btn:hover {
    background: var(--button-bg, #0f766e) !important;
    color: #ffffff !important;
}

/* 10. Footer Overhaul */
[data-theme="dark"] .hc-footer,
[data-theme="dark"] .hc-footer-main {
    background: #070d17 !important;
    border-top: 1px solid var(--border, #1e293b) !important;
}

[data-theme="dark"] .hc-footer-heading {
    color: #f8fafc !important;
}

[data-theme="dark"] .hc-footer-brand-title a {
    color: #f8fafc !important;
}

[data-theme="dark"] .hc-footer-tagline,
[data-theme="dark"] .hc-footer-mission {
    color: #94a3b8 !important;
}

[data-theme="dark"] .hc-footer-links a {
    color: #94a3b8 !important;
}

[data-theme="dark"] .hc-footer-links a:hover {
    color: var(--primary, #38bdf8) !important;
}

[data-theme="dark"] .hc-footer-social a {
    background: #131c2e !important;
    border: 1px solid #1e293b !important;
    color: #cbd5e1 !important;
}

[data-theme="dark"] .hc-footer-social a:hover {
    background: var(--button-bg, #0f766e) !important;
    border-color: var(--button-bg, #0f766e) !important;
    color: #ffffff !important;
    transform: translateY(-2px);
}

[data-theme="dark"] .hc-footer-disclaimer-wrap {
    background-color: #0b111e !important;
    border-color: #1e293b !important;
}

[data-theme="dark"] .hc-footer-disclaimer p {
    color: #94a3b8 !important;
}

[data-theme="dark"] .hc-footer-disclaimer strong {
    color: #f8fafc !important;
}

[data-theme="dark"] .hc-footer-bottom {
    background: #040810 !important;
    border-top: 1px solid #1e293b !important;
}

[data-theme="dark"] .hc-footer-copyright,
[data-theme="dark"] .hc-footer-legal-inline a {
    color: #64748b !important;
}

[data-theme="dark"] .hc-footer-legal-inline a:hover {
    color: #cbd5e1 !important;
}

/* 11. Header, Navigation, and General Bootstrap Helpers */
[data-theme="dark"] .hc-navbar {
    background: rgba(19, 28, 46, 0.96) !important;
    border-bottom: 1px solid var(--border, #1e293b) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

[data-theme="dark"] .navbar-nav .menu-item > a {
    color: #cbd5e1 !important;
}

[data-theme="dark"] .navbar-nav .menu-item > a:hover {
    color: var(--primary, #38bdf8) !important;
    background: rgba(56, 189, 248, 0.1) !important;
}

[data-theme="dark"] .navbar-nav .current-menu-item > a,
[data-theme="dark"] .navbar-nav .current-menu-parent > a,
[data-theme="dark"] .navbar-nav .current_page_item > a {
    color: var(--primary, #38bdf8) !important;
    background: rgba(56, 189, 248, 0.15) !important;
}

[data-theme="dark"] .navbar-nav .current-menu-item > a::before,
[data-theme="dark"] .navbar-nav .current_page_item > a::before {
    background: #38bdf8 !important;
}

[data-theme="dark"] .navbar-nav .sub-menu {
    background: rgba(19, 28, 46, 0.98) !important;
    backdrop-filter: blur(16px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(16px) saturate(180%) !important;
    border: 1px solid rgba(51, 65, 85, 0.8) !important;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.75), 0 0 0 1px rgba(255, 255, 255, 0.05) !important;
}

[data-theme="dark"] .navbar-nav .sub-menu a {
    color: #cbd5e1 !important;
}

[data-theme="dark"] .navbar-nav .sub-menu a:hover {
    background: rgba(56, 189, 248, 0.12) !important;
    color: #38bdf8 !important;
}

[data-theme="dark"] .hc-navbar .nav-link {
    color: #cbd5e1 !important;
}

[data-theme="dark"] .hc-navbar .nav-link:hover,
[data-theme="dark"] .hc-navbar .nav-link.active {
    color: var(--primary, #38bdf8) !important;
}

[data-theme="dark"] .hc-logo,
[data-theme="dark"] .hc-offcanvas-brand-text {
    color: #ffffff !important;
}

[data-theme="dark"] .hc-mobile-menu {
    background: var(--bg-surface, #131c2e) !important;
    border-right: 1px solid var(--border, #1e293b) !important;
    color: var(--text-main, #e2e8f0) !important;
}

[data-theme="dark"] .hc-mobile-nav a,
[data-theme="dark"] .hc-mobile-quick-links a {
    color: #e2e8f0 !important;
    border-color: var(--border, #1e293b) !important;
}

[data-theme="dark"] .hc-mobile-nav a:hover,
[data-theme="dark"] .hc-mobile-quick-links a:hover {
    background: var(--bg-surface-secondary, #1a253a) !important;
    color: var(--primary, #38bdf8) !important;
}

[data-theme="dark"] .btn-close {
    filter: invert(1) grayscale(100%) brightness(200%);
}

[data-theme="dark"] .bg-light {
    background-color: var(--bg-surface-secondary, #1a253a) !important;
    color: #cbd5e1 !important;
}

[data-theme="dark"] .bg-primary-subtle {
    background-color: rgba(47, 143, 157, 0.2) !important;
    color: #38bdf8 !important;
}

[data-theme="dark"] .text-secondary {
    color: #94a3b8 !important;
}

[data-theme="dark"] hr,
[data-theme="dark"] .border-top,
[data-theme="dark"] .border-bottom,
[data-theme="dark"] .border-start,
[data-theme="dark"] .border-end,
[data-theme="dark"] .border {
    border-color: var(--border, #1e293b) !important;
}

[data-theme="dark"] .breadcrumb-item,
[data-theme="dark"] .breadcrumb-item a {
    color: var(--text-muted, #94a3b8) !important;
}

[data-theme="dark"] .breadcrumb-item.active {
    color: var(--text-heading, #f8fafc) !important;
}

/* 12. References Dossier */
[data-theme="dark"] .hc-single-ref-dossier {
    background: var(--bg-surface, #131c2e) !important;
    border-color: var(--border, #1e293b) !important;
}

[data-theme="dark"] .hc-ref-card-org,
[data-theme="dark"] .hc-ref-dossier-org {
    color: #e2e8f0 !important;
}

[data-theme="dark"] .hc-ref-card-citation-block,
[data-theme="dark"] .hc-ref-dossier-citation-box {
    background: var(--bg-surface-secondary, #1a253a) !important;
    border-color: var(--border, #1e293b) !important;
}

[data-theme="dark"] .hc-ref-citation-text,
[data-theme="dark"] .hc-ref-dossier-citation-text {
    color: #cbd5e1 !important;
}

[data-theme="dark"] .hc-ref-loc-chip {
    background: var(--bg-surface-tertiary, #223049) !important;
    border-color: var(--border, #1e293b) !important;
    color: #cbd5e1 !important;
}

[data-theme="dark"] .hc-ref-copy-btn {
    background: var(--bg-surface-tertiary, #223049) !important;
    border-color: var(--border, #1e293b) !important;
    color: #cbd5e1 !important;
}

[data-theme="dark"] .hc-ref-copy-btn:hover {
    background: var(--primary, #0f766e) !important;
    color: #ffffff !important;
}

[data-theme="dark"] .hc-myth-panel {
    background: rgba(239, 68, 68, 0.1) !important;
    border-color: rgba(239, 68, 68, 0.3) !important;
}

[data-theme="dark"] .hc-fact-panel {
    background: rgba(16, 185, 129, 0.1) !important;
    border-color: rgba(16, 185, 129, 0.3) !important;
}

[data-theme="dark"] .hc-evidence-strength-container,
[data-theme="dark"] .hc-evidence-sources-container {
    background: var(--bg-surface-secondary, #1a253a) !important;
    border: 1px solid var(--border, #1e293b) !important;
    border-radius: 8px !important;
    padding: 0.85rem 1.15rem !important;
}

/* ==========================================================================
   DARK THEME PHASE 2: PRECISION OVERHAUL (15 COMPONENT FIXES)
   ========================================================================== */

/* 1. PAGINATION (Search Results, Glossary, Blog, Archives) */
[data-theme="dark"] .pagination,
[data-theme="dark"] .nav-links {
    gap: 8px !important;
}

[data-theme="dark"] .page-numbers {
    background: #1a253a !important;
    border: 1px solid #334155 !important;
    color: #e2e8f0 !important;
    font-weight: 600 !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.25) !important;
    transition: all 0.2s ease !important;
}

[data-theme="dark"] .page-numbers:hover {
    background: var(--primary, #0d9488) !important;
    border-color: var(--primary, #0d9488) !important;
    color: #ffffff !important;
    transform: translateY(-1px);
}

[data-theme="dark"] .page-numbers.current {
    background: var(--primary, #0d9488) !important;
    border-color: var(--primary, #0d9488) !important;
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(13, 148, 136, 0.4) !important;
}

[data-theme="dark"] .page-numbers.dots {
    background: transparent !important;
    border-color: transparent !important;
    color: #94a3b8 !important;
    box-shadow: none !important;
}

/* 2. SEARCH RESULT CARDS & FILTERS */
[data-theme="dark"] .hc-search-result-card {
    background: #131c2e !important;
    border: 1px solid #1e293b !important;
    color: #cbd5e1 !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25) !important;
}

[data-theme="dark"] .hc-search-result-card:hover {
    border-color: rgba(56, 189, 248, 0.4) !important;
    box-shadow: 0 12px 28px -4px rgba(0, 0, 0, 0.5) !important;
}

[data-theme="dark"] .hc-search-card-title a {
    color: #f8fafc !important;
}

[data-theme="dark"] .hc-search-card-title a:hover {
    color: #38bdf8 !important;
}

[data-theme="dark"] .hc-search-excerpt {
    color: #94a3b8 !important;
}

[data-theme="dark"] .hc-poetry-search-card {
    background: #131c2e !important;
    border-left: 5px solid #38bdf8 !important;
    border-top: 1px solid #1e293b !important;
    border-right: 1px solid #1e293b !important;
    border-bottom: 1px solid #1e293b !important;
}

[data-theme="dark"] .hc-poetry-search-card .hc-search-card-title a {
    color: #f8fafc !important;
}

[data-theme="dark"] .hc-poetry-excerpt {
    color: #cbd5e1 !important;
}

[data-theme="dark"] .hc-search-topic-tag {
    color: #94a3b8 !important;
}

[data-theme="dark"] .hc-search-meta-theme {
    background: #1a253a !important;
    border-left-color: #818cf8 !important;
    color: #cbd5e1 !important;
}

[data-theme="dark"] .hc-search-meta-theme.text-dark,
[data-theme="dark"] .hc-search-meta-theme * {
    color: #cbd5e1 !important;
}

[data-theme="dark"] .hc-search-meta-theme strong {
    color: #38bdf8 !important;
}

[data-theme="dark"] .hc-search-filter-pill {
    background: #1a253a !important;
    border-color: #334155 !important;
    color: #cbd5e1 !important;
}

[data-theme="dark"] .hc-search-filter-pill:hover,
[data-theme="dark"] .hc-search-filter-pill.active {
    background: var(--primary, #0d9488) !important;
    border-color: var(--primary, #0d9488) !important;
    color: #ffffff !important;
}

[data-theme="dark"] .hc-search-filter-pill .badge {
    background-color: rgba(255, 255, 255, 0.15) !important;
    color: #ffffff !important;
}

[data-theme="dark"] .hc-no-results-card,
[data-theme="dark"] .hc-no-results {
    background: #131c2e !important;
    border: 1px solid #1e293b !important;
    color: #cbd5e1 !important;
}

[data-theme="dark"] .hc-no-results h2 {
    color: #f8fafc !important;
}

/* 3. HERO & GLOBAL AUTO-SUGGESTION LIVE SEARCH DROPDOWN */
[data-theme="dark"] .hc-live-search-dropdown {
    background: #131c2e !important;
    border: 1px solid #334155 !important;
    box-shadow: 0 16px 36px -4px rgba(0, 0, 0, 0.75), 0 4px 12px -2px rgba(0, 0, 0, 0.45) !important;
}

[data-theme="dark"] .hc-live-search-header {
    background: #1a253a !important;
    border-bottom: 1px solid #1e293b !important;
    color: #94a3b8 !important;
}

[data-theme="dark"] .hc-live-search-header .badge {
    background-color: #334155 !important;
    color: #cbd5e1 !important;
}

[data-theme="dark"] .hc-live-search-item {
    border-bottom: 1px solid #1e293b !important;
}

[data-theme="dark"] .hc-live-search-item:hover,
[data-theme="dark"] .hc-live-search-item.active {
    background-color: rgba(56, 189, 248, 0.14) !important;
}

[data-theme="dark"] .hc-live-search-title,
[data-theme="dark"] .hc-live-search-title.text-dark {
    color: #f8fafc !important;
}

[data-theme="dark"] .hc-live-search-meta {
    color: #94a3b8 !important;
}

[data-theme="dark"] .hc-search-highlight {
    background: rgba(253, 224, 71, 0.25) !important;
    color: #fef08a !important;
}

[data-theme="dark"] .hc-live-search-arrow {
    color: #64748b !important;
}

[data-theme="dark"] .hc-live-search-footer {
    background: #1a253a !important;
    border-top: 1px solid #1e293b !important;
}

[data-theme="dark"] .hc-live-search-see-all {
    color: #38bdf8 !important;
}

[data-theme="dark"] .hc-live-search-empty {
    color: #94a3b8 !important;
}

/* 4. HEALTH AWARENESS CALENDAR EVENT CARD TITLES & STATUS */
[data-theme="dark"] .hc-awareness-card-title,
[data-theme="dark"] .hc-awareness-card-title a {
    color: #f8fafc !important;
}

[data-theme="dark"] .hc-awareness-card-title a:hover {
    color: #38bdf8 !important;
}

[data-theme="dark"] .hc-awareness-theme {
    color: #94a3b8 !important;
}

[data-theme="dark"] .hc-awareness-excerpt {
    color: #cbd5e1 !important;
}

[data-theme="dark"] .hc-awareness-article-card .text-dark {
    color: #f8fafc !important;
}

/* 5. HEADER DROPDOWN SUB-MENUS */
[data-theme="dark"] .navbar-nav .sub-menu {
    background: #131c2e !important;
    border: 1px solid #334155 !important;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.75), 0 4px 12px rgba(0, 0, 0, 0.45) !important;
}

[data-theme="dark"] .navbar-nav .sub-menu a {
    color: #f8fafc !important;
}

[data-theme="dark"] .navbar-nav .sub-menu a:hover {
    background: rgba(56, 189, 248, 0.12) !important;
    color: #38bdf8 !important;
}

[data-theme="dark"] .navbar-nav .menu-item-has-children > a::after {
    border-top-color: #cbd5e1 !important;
}

[data-theme="dark"] .navbar-nav .menu-item-has-children:hover > a::after {
    border-top-color: #38bdf8 !important;
}

/* 6. SIDEBAR: EXPLORE CATEGORIES */
[data-theme="dark"] .hc-category-link {
    background: #1a253a !important;
    border: 1px solid #334155 !important;
    color: #f8fafc !important;
}

[data-theme="dark"] .hc-category-link:hover {
    background: rgba(56, 189, 248, 0.15) !important;
    border-color: #38bdf8 !important;
    color: #38bdf8 !important;
}

[data-theme="dark"] .hc-category-count {
    background-color: #334155 !important;
    color: #cbd5e1 !important;
}

[data-theme="dark"] .hc-category-arrow {
    color: #64748b !important;
}

/* 7. SIDEBAR: RELATED HEALTH TOPICS */
[data-theme="dark"] .hc-related-topic-link {
    background: #1a253a !important;
    border: 1px solid #334155 !important;
}

[data-theme="dark"] .hc-related-topic-link:hover {
    background: #24324d !important;
    border-color: #38bdf8 !important;
}

[data-theme="dark"] .hc-related-topic-title {
    color: #f8fafc !important;
}

[data-theme="dark"] .hc-related-topic-link:hover .hc-related-topic-title {
    color: #38bdf8 !important;
}

[data-theme="dark"] .hc-related-topic-meta,
[data-theme="dark"] .hc-related-topic-cat,
[data-theme="dark"] .hc-related-topic-time {
    color: #94a3b8 !important;
}

[data-theme="dark"] .hc-related-topic-placeholder {
    background: #131c2e !important;
    color: #38bdf8 !important;
}

/* 8. COMMENTS SECTION */
[data-theme="dark"] .hc-comments-section {
    background-color: var(--bg-body, #0b111e) !important;
    border-top-color: #1e293b !important;
}

[data-theme="dark"] .hc-comments-header h2,
[data-theme="dark"] .hc-comments-header h2.text-dark {
    color: #f8fafc !important;
}

[data-theme="dark"] .hc-comments-empty {
    background: #131c2e !important;
    border: 1px solid #1e293b !important;
}

[data-theme="dark"] .hc-comments-empty h3,
[data-theme="dark"] .hc-comments-empty .text-secondary {
    color: #f8fafc !important;
}

[data-theme="dark"] .hc-comments-empty p {
    color: #94a3b8 !important;
}

[data-theme="dark"] .hc-comment-form-wrap {
    background: #131c2e !important;
    border: 1px solid #1e293b !important;
}

[data-theme="dark"] .hc-comment-logged-in-bar {
    background: #1a253a !important;
    border-color: #1e293b !important;
    color: #cbd5e1 !important;
}

[data-theme="dark"] .hc-comment-logged-in-bar strong.text-dark {
    color: #f8fafc !important;
}

[data-theme="dark"] .hc-comment-body,
[data-theme="dark"] .comment-body {
    background: #131c2e !important;
    border-color: #1e293b !important;
    color: #cbd5e1 !important;
}

[data-theme="dark"] .comment-author .fn,
[data-theme="dark"] .comment-author .fn a {
    color: #f8fafc !important;
}

/* 9. HC CALLOUT BLOCKS & MYTH VS FACT */
[data-theme="dark"] .wp-block-group.is-style-hc-myth-vs-fact {
    background-color: #131c2e !important;
    border-color: #1e293b !important;
    border-left-color: #475569 !important;
}

[data-theme="dark"] .wp-block-group.is-style-hc-myth-vs-fact::before {
    background-color: #1a253a !important;
    color: #cbd5e1 !important;
}

[data-theme="dark"] .wp-block-group.is-style-hc-evidence-snapshot::before {
    background-color: rgba(99, 102, 241, 0.2) !important;
    color: #a5b4fc !important;
}

[data-theme="dark"] .wp-block-group.is-style-hc-clinical-insight::before {
    background-color: rgba(20, 184, 166, 0.2) !important;
    color: #5eead4 !important;
}

[data-theme="dark"] .wp-block-group.is-style-hc-did-you-know::before {
    background-color: rgba(139, 92, 246, 0.2) !important;
    color: #c4b5fd !important;
}

[data-theme="dark"] .wp-block-group.is-style-hc-practical-tips::before {
    background-color: rgba(234, 179, 8, 0.2) !important;
    color: #fde047 !important;
}

[data-theme="dark"] .wp-block-group.is-style-hc-see-doctor::before,
[data-theme="dark"] .wp-block-group.is-style-hc-common-mistake::before {
    background-color: rgba(239, 68, 68, 0.2) !important;
    color: #fca5a5 !important;
}

[data-theme="dark"] .wp-block-group.is-style-hc-evidence-gap::before {
    background-color: rgba(245, 158, 11, 0.2) !important;
    color: #fcd34d !important;
}

[data-theme="dark"] .wp-block-group[class*="is-style-hc-"] p {
    color: #e2e8f0 !important;
}

[data-theme="dark"] .hc-myth-panel {
    background-color: rgba(239, 68, 68, 0.1) !important;
    border-left-color: #f87171 !important;
}

[data-theme="dark"] .hc-myth-label {
    color: #f87171 !important;
}

[data-theme="dark"] .hc-myth-text {
    color: #fecaca !important;
}

[data-theme="dark"] .hc-fact-panel {
    background-color: rgba(16, 185, 129, 0.1) !important;
    border-left-color: #34d399 !important;
}

[data-theme="dark"] .hc-fact-label {
    color: #34d399 !important;
}

[data-theme="dark"] .hc-fact-text {
    color: #a7f3d0 !important;
}

/* 10. HEALTH INFORMATION NOTICE / DISCLAIMER */
[data-theme="dark"] .hc-article-disclaimer {
    background: rgba(245, 158, 11, 0.1) !important;
    border: 1px solid rgba(245, 158, 11, 0.25) !important;
}

[data-theme="dark"] .hc-article-disclaimer h2 {
    color: #fde047 !important;
}

[data-theme="dark"] .hc-article-disclaimer p {
    color: #e2e8f0 !important;
}

/* 11. FLOATING TABLE OF CONTENTS CARD */
[data-theme="dark"] .hc-floating-toc-card {
    background: #131c2e !important;
    border: 1px solid #334155 !important;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.75), 0 4px 14px rgba(0, 0, 0, 0.45) !important;
}

[data-theme="dark"] .hc-floating-toc-header {
    background: #1a253a !important;
    border-bottom: 1px solid #1e293b !important;
}

[data-theme="dark"] .hc-floating-toc-title {
    color: #f8fafc !important;
}

[data-theme="dark"] .hc-floating-toc-close {
    background: rgba(255, 255, 255, 0.1) !important;
    color: #cbd5e1 !important;
}

[data-theme="dark"] .hc-floating-toc-close:hover {
    background: rgba(255, 255, 255, 0.2) !important;
    color: #ffffff !important;
}

[data-theme="dark"] .hc-floating-toc-list a.hc-toc-link,
[data-theme="dark"] .hc-floating-toc-list a {
    color: #f8fafc !important;
}

[data-theme="dark"] .hc-floating-toc-list a:hover {
    background: rgba(56, 189, 248, 0.12) !important;
    color: #38bdf8 !important;
}

[data-theme="dark"] .hc-floating-toc-list a:hover .hc-toc-text {
    color: #38bdf8 !important;
}

[data-theme="dark"] .hc-floating-toc-list a.hc-toc-link.is-active {
    background: rgba(56, 189, 248, 0.15) !important;
    border-left-color: #38bdf8 !important;
}

[data-theme="dark"] .hc-floating-toc-list a.hc-toc-link.is-active .hc-toc-text,
[data-theme="dark"] .hc-floating-toc-list a.hc-toc-link.is-active .hc-toc-number {
    color: #38bdf8 !important;
}

[data-theme="dark"] .hc-floating-toc-list .hc-toc-h3 .hc-toc-text {
    color: #94a3b8 !important;
}

[data-theme="dark"] .hc-floating-toc-list .hc-toc-number {
    color: #38bdf8 !important;
}

/* 12. ARTICLE REFERENCES & LOCATOR CHIPS */
[data-theme="dark"] .hc-references-heading {
    color: #f8fafc !important;
}

[data-theme="dark"] .hc-references-count-badge {
    background-color: #1a253a !important;
    border-color: #334155 !important;
    color: #94a3b8 !important;
}

[data-theme="dark"] .hc-reference-card {
    background: #131c2e !important;
    border-color: #1e293b !important;
}

[data-theme="dark"] .hc-ref-card-org,
[data-theme="dark"] .hc-ref-card-title,
[data-theme="dark"] .hc-ref-title-link {
    color: #f8fafc !important;
}

[data-theme="dark"] .hc-ref-title-link:hover {
    color: #38bdf8 !important;
}

[data-theme="dark"] .hc-ref-card-index {
    background-color: #1a253a !important;
    border-color: #334155 !important;
    color: #94a3b8 !important;
}

[data-theme="dark"] .hc-ref-loc-chip {
    background-color: #1a253a !important;
    border: 1px solid #334155 !important;
    color: #cbd5e1 !important;
}

[data-theme="dark"] .hc-ref-loc-chip strong {
    color: #f8fafc !important;
}

[data-theme="dark"] .hc-ref-card-citation-block {
    background-color: #1a253a !important;
    border: 1px solid #1e293b !important;
}

[data-theme="dark"] .hc-ref-citation-label {
    color: #94a3b8 !important;
}

[data-theme="dark"] .hc-ref-citation-text {
    color: #cbd5e1 !important;
}

/* 13. NEWSLETTER INPUT BOXES DELINEATION */
[data-theme="dark"] .hc-newsletter-form .form-control,
[data-theme="dark"] .hc-newsletter-form input[type="text"],
[data-theme="dark"] .hc-newsletter-form input[type="email"] {
    background-color: #1a253a !important;
    border: 2px solid #64748b !important;
    border-radius: 10px !important;
    color: #f8fafc !important;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.25) !important;
    transition: all 0.2s ease !important;
}

[data-theme="dark"] .hc-newsletter-form .form-control:focus,
[data-theme="dark"] .hc-newsletter-form input[type="text"]:focus,
[data-theme="dark"] .hc-newsletter-form input[type="email"]:focus {
    background-color: #1e293b !important;
    border-color: #38bdf8 !important;
    box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.25) !important;
    outline: none !important;
}

[data-theme="dark"] .hc-newsletter-form input::placeholder {
    color: #94a3b8 !important;
}

/* 14. REFERENCE & GLOSSARY HOVER/TAP POPUPS */
[data-theme="dark"] .hc-tooltip-card,
[data-theme="dark"] .hc-glossary-tooltip-card {
    background: #1e293b !important;
    border: 1px solid rgba(56, 189, 248, 0.4) !important;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.75), 0 0 0 1px rgba(56, 189, 248, 0.25) !important;
}

[data-theme="dark"] .hc-tooltip-card::after,
[data-theme="dark"] .hc-glossary-tooltip-card::after {
    border-color: #1e293b transparent transparent transparent !important;
}

[data-theme="dark"] .hc-glossary-tooltip-card.hc-tooltip-flipped::after {
    border-color: transparent transparent #1e293b transparent !important;
}

[data-theme="dark"] .hc-tooltip-title,
[data-theme="dark"] .hc-glossary-tooltip-title {
    color: #f8fafc !important;
}

[data-theme="dark"] .hc-tooltip-meta,
[data-theme="dark"] .hc-glossary-tooltip-excerpt {
    color: #cbd5e1 !important;
}

[data-theme="dark"] .hc-glossary-tooltip-excerpt p {
    color: #cbd5e1 !important;
}

[data-theme="dark"] .hc-tooltip-footer {
    color: #38bdf8 !important;
    border-top-color: rgba(255, 255, 255, 0.15) !important;
}

/* ==========================================================================
   DARK THEME PHASE 3: COMPREHENSIVE REFINEMENTS & COMPONENT STYLING
   ========================================================================== */

/* 1. Mobile Hamburger Menu */
[data-theme="dark"] .hc-menu-toggle,
[data-theme="dark"] .navbar-toggler {
    background: #1a253a !important;
    border-color: #334155 !important;
}
[data-theme="dark"] .navbar-toggler-icon {
    filter: invert(1) brightness(1.8) !important;
}

/* 2. Mobile Post Metadata Box */
[data-theme="dark"] .hc-article-meta {
    background: #131c2e !important;
    border-color: #1e293b !important;
    color: #94a3b8 !important;
}
[data-theme="dark"] .hc-author-link {
    color: #f1f5f9 !important;
}
[data-theme="dark"] .hc-meta-sep {
    color: #475569 !important;
}

/* 3. Breadcrumb Separator Visibility */
[data-theme="dark"] .hc-breadcrumb-sep {
    color: #64748b !important;
}

/* 4. Glossary Term Page Autosuggest Dropdown */
[data-theme="dark"] .hc-ajax-results-dropdown {
    background: #131c2e !important;
    border-color: #334155 !important;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.6) !important;
}
[data-theme="dark"] .hc-ajax-results-dropdown::-webkit-scrollbar-track {
    background: #1a253a !important;
}
[data-theme="dark"] .hc-ajax-results-dropdown::-webkit-scrollbar-thumb {
    background: #334155 !important;
}
[data-theme="dark"] .hc-ajax-search-list li a {
    border-bottom: 1px solid #1e293b !important;
    color: #f8fafc !important;
}
[data-theme="dark"] .hc-ajax-search-list li a:hover {
    background: #1a253a !important;
    border-left: 3px solid #38bdf8 !important;
}
[data-theme="dark"] .hc-ajax-search-list .title {
    color: #38bdf8 !important;
}
[data-theme="dark"] .hc-ajax-search-list .desc {
    color: #94a3b8 !important;
}

/* 5. Unstraight Lines Single Posts & Navigation */
[data-theme="dark"] .hc-poetry {
    background: #131c2e !important;
    color: #e2e8f0 !important;
    border-color: #1e293b !important;
}
[data-theme="dark"] .category-unstraight-lines .hc-article-content {
    color: #cbd5e1 !important;
}
[data-theme="dark"] .hc-reflection-nav {
    background: #0b111e !important;
    border-top: 1px solid #1e293b !important;
}
[data-theme="dark"] .hc-ref-archive-link {
    color: #94a3b8 !important;
}
[data-theme="dark"] .hc-ref-archive-link:hover {
    color: #38bdf8 !important;
}
[data-theme="dark"] .hc-reflection-card {
    background: #131c2e !important;
    border-color: #1e293b !important;
    border-left-color: #2f8f9d !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3) !important;
}
[data-theme="dark"] .hc-reflection-card:hover {
    background: #1a253a !important;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5) !important;
}
[data-theme="dark"] .hc-reflection-title a {
    color: #f8fafc !important;
}
[data-theme="dark"] .hc-reflection-title a:hover,
[data-theme="dark"] .hc-reflection-card:hover .hc-reflection-title a {
    color: #38bdf8 !important;
}
[data-theme="dark"] .hc-reflection-card .hc-poetry-teaser {
    color: #94a3b8 !important;
    border-left-color: #2f8f9d !important;
}
[data-theme="dark"] .hc-reflection-meta {
    color: #64748b !important;
}
[data-theme="dark"] .hc-reflection-btn {
    border-color: #2f8f9d !important;
    color: #5eead4 !important;
}
[data-theme="dark"] .hc-reflection-btn:hover {
    background: #2f8f9d !important;
    color: #ffffff !important;
}
[data-theme="dark"] .hc-deep-dive-card {
    background: #131c2e !important;
    border-color: #1e293b !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3) !important;
}
[data-theme="dark"] .hc-deep-dive-card:hover {
    background: #1a253a !important;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5) !important;
}
[data-theme="dark"] .hc-deep-dive-badge {
    background: #1a253a !important;
    color: #94a3b8 !important;
}
[data-theme="dark"] .hc-deep-dive-title a {
    color: #f8fafc !important;
}
[data-theme="dark"] .hc-deep-dive-card:hover .hc-deep-dive-title a {
    color: #38bdf8 !important;
}
[data-theme="dark"] .hc-deep-dive-excerpt {
    color: #94a3b8 !important;
}

/* 6. All 22 HC-Group Block Titles & High-Contrast Luminous Badges */
[data-theme="dark"] .wp-block-group.is-style-hc-bottom-line {
    border-left-color: #14b8a6 !important;
}
[data-theme="dark"] .wp-block-group.is-style-hc-bottom-line::before {
    background-color: rgba(20, 184, 166, 0.2) !important;
    color: #5eead4 !important;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%235eead4'><path d='M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/></svg>") !important;
}

[data-theme="dark"] .wp-block-group.is-style-hc-key-takeaways {
    border-left-color: #10b981 !important;
}
[data-theme="dark"] .wp-block-group.is-style-hc-key-takeaways::before {
    background-color: rgba(16, 185, 129, 0.2) !important;
    color: #6ee7b7 !important;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%236ee7b7'><path d='M19 3h-4.18C14.4 1.84 13.3 1 12 1s-2.4.84-2.82 2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-7 0c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zm2 14H7v-2h7v2zm3-4H7v-2h10v2zm0-4H7V7h10v2z'/></svg>") !important;
}

[data-theme="dark"] .wp-block-group.is-style-hc-medical-note {
    border-left-color: #3b82f6 !important;
}
[data-theme="dark"] .wp-block-group.is-style-hc-medical-note::before {
    background-color: rgba(59, 130, 246, 0.2) !important;
    color: #93c5fd !important;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%2393c5fd'><path d='M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-4H7v-2h4V7h2v4h4v2h-4v4z'/></svg>") !important;
}

[data-theme="dark"] .wp-block-group.is-style-hc-warning {
    border-left-color: #f59e0b !important;
}
[data-theme="dark"] .wp-block-group.is-style-hc-warning::before {
    background-color: rgba(245, 158, 11, 0.2) !important;
    color: #fcd34d !important;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23fcd34d'><path d='M1 21h22L12 2 1 21zm12-3h-2v-2h2v2zm0-4h-2v-4h2v4z'/></svg>") !important;
}

[data-theme="dark"] .wp-block-group.is-style-hc-emergency-warning {
    border-left-color: #ef4444 !important;
}
[data-theme="dark"] .wp-block-group.is-style-hc-emergency-warning::before {
    background-color: rgba(239, 68, 68, 0.2) !important;
    color: #fca5a5 !important;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23fca5a5'><path d='M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-2h2v2zm0-4h-2V7h2v6z'/></svg>") !important;
}

[data-theme="dark"] .wp-block-group.is-style-hc-risk-factors {
    border-left-color: #f59e0b !important;
}
[data-theme="dark"] .wp-block-group.is-style-hc-risk-factors::before {
    background-color: rgba(245, 158, 11, 0.2) !important;
    color: #fcd34d !important;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23fcd34d'><path d='M12 2L4 5v6.09c0 5.05 3.41 9.76 8 10.91 4.59-1.15 8-5.86 8-10.91V5l-8-3zm1 14h-2v-2h2v2zm0-4h-2V7h2v5z'/></svg>") !important;
}

[data-theme="dark"] .wp-block-group.is-style-hc-prevention-tips {
    border-left-color: #0d9488 !important;
}
[data-theme="dark"] .wp-block-group.is-style-hc-prevention-tips::before {
    background-color: rgba(13, 148, 136, 0.2) !important;
    color: #5eead4 !important;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%235eead4'><path d='M12 2L4 5v6.09c0 5.05 3.41 9.76 8 10.91 4.59-1.15 8-5.86 8-10.91V5l-8-3zm-2 13l-3-3 1.41-1.41L10 12.17l5.59-5.59L17 8l-7 7z'/></svg>") !important;
}

[data-theme="dark"] .wp-block-group.is-style-hc-symptoms-checklist {
    border-left-color: #6366f1 !important;
}
[data-theme="dark"] .wp-block-group.is-style-hc-symptoms-checklist::before {
    background-color: rgba(99, 102, 241, 0.2) !important;
    color: #a5b4fc !important;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23a5b4fc'><path d='M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-9 14l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z'/></svg>") !important;
}

[data-theme="dark"] .wp-block-group.is-style-hc-benefits {
    border-left-color: #10b981 !important;
}
[data-theme="dark"] .wp-block-group.is-style-hc-benefits::before {
    background-color: rgba(16, 185, 129, 0.2) !important;
    color: #6ee7b7 !important;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%236ee7b7'><path d='M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-2 15l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z'/></svg>") !important;
}

[data-theme="dark"] .wp-block-group.is-style-hc-complications {
    border-left-color: #f97316 !important;
}
[data-theme="dark"] .wp-block-group.is-style-hc-complications::before {
    background-color: rgba(249, 115, 22, 0.2) !important;
    color: #fdba74 !important;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23fdba74'><path d='M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-2h2v2zm0-4h-2V7h2v6z'/></svg>") !important;
}

[data-theme="dark"] .wp-block-group.is-style-hc-screening-recommendations {
    border-left-color: #6366f1 !important;
}
[data-theme="dark"] .wp-block-group.is-style-hc-screening-recommendations::before {
    background-color: rgba(99, 102, 241, 0.2) !important;
    color: #a5b4fc !important;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23a5b4fc'><path d='M19 3h-4.18C14.4 1.84 13.3 1 12 1s-2.4.84-2.82 2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-7 0c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zm2 14H7v-2h7v2zm3-4H7v-2h10v2zm0-4H7V7h10v2z'/></svg>") !important;
}

[data-theme="dark"] .wp-block-group.is-style-hc-medical-language {
    border-left-color: #818cf8 !important;
}
[data-theme="dark"] .wp-block-group.is-style-hc-medical-language::before {
    background-color: rgba(129, 140, 248, 0.2) !important;
    color: #c7d2fe !important;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23c7d2fe'><path d='M12.87 15.07l-2.54-2.51.03-.03c1.74-1.94 2.98-4.17 3.71-6.53H17V4h-7V2H8v2H1v2h11.17C11.5 7.92 10.44 9.75 9 11.35 8.07 10.32 7.3 9.19 6.69 8h-2c.73 1.63 1.73 3.17 2.98 4.56l-5.09 5.02L4 19l5-5 3.11 3.11.76-2.04zM18.5 10h-2L12 22h2l1.12-3h4.75l1.13 3h2l-5-12zm-2.62 7l1.62-4.33L19.12 17h-3.24z'/></svg>") !important;
}

[data-theme="dark"] .wp-block-group.is-style-hc-why-matters {
    border-left-color: #f43f5e !important;
}
[data-theme="dark"] .wp-block-group.is-style-hc-why-matters::before {
    background-color: rgba(244, 63, 94, 0.2) !important;
    color: #fecdd3 !important;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23fecdd3'><path d='M12 21.35l-1.45-1.32C5.4 15.36 2 12.28 2 8.5 2 5.42 4.42 3 7.5 3c1.74 0 3.41.81 4.5 2.09C13.09 3.81 14.76 3 16.5 3 19.58 3 22 5.42 22 8.5c0 3.78-3.4 6.86-8.55 11.54L12 21.35z'/></svg>") !important;
}

[data-theme="dark"] .wp-block-group.is-style-hc-question-short-answer {
    border-left-color: rgba(94, 234, 212, 0.4) !important;
}
[data-theme="dark"] .wp-block-group.is-style-hc-question-short-answer h3,
[data-theme="dark"] .wp-block-group.is-style-hc-question-short-answer h4 {
    color: #f8fafc !important;
}

/* ==========================================================================
   DARK THEME PHASE 4: MOBILE SUB-MENUS, CATEGORY CARDS, FAQS, CONTACT & REFS
   ========================================================================== */

/* 1. Mobile Offcanvas Navigation Sub-Menus */
[data-theme="dark"] .hc-mobile-nav .sub-menu {
    background: #1a253a !important;
    border-left: 2px solid #38bdf8 !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25) !important;
}
[data-theme="dark"] .hc-mobile-nav .sub-menu a {
    color: #cbd5e1 !important;
}
[data-theme="dark"] .hc-mobile-nav .sub-menu a:hover,
[data-theme="dark"] .hc-mobile-nav .sub-menu .current-menu-item > a {
    color: #38bdf8 !important;
    background: rgba(56, 189, 248, 0.1) !important;
}

/* 2. Homepage "Explore by Category" Post Titles & Links */
[data-theme="dark"] .hc-category-posts a {
    color: #e2e8f0 !important;
}
[data-theme="dark"] .hc-category-posts a:hover {
    color: #38bdf8 !important;
}
[data-theme="dark"] .hc-category-posts {
    border-top-color: #1e293b !important;
}
[data-theme="dark"] .hc-category-title a {
    color: #f8fafc !important;
}
[data-theme="dark"] .hc-category-title a:hover {
    color: #38bdf8 !important;
}
[data-theme="dark"] .hc-category-desc {
    color: #94a3b8 !important;
}

/* 3. FAQs Archive & Accordion */
[data-theme="dark"] .hc-faq-main-title,
[data-theme="dark"] .hc-faq-section-header h2 {
    color: #f8fafc !important;
}
[data-theme="dark"] .hc-faq-section-header p {
    color: #94a3b8 !important;
}
[data-theme="dark"] .hc-faq-accordion .accordion-item {
    background-color: var(--bg-surface, #131c2e) !important;
    border-color: var(--border, #1e293b) !important;
}
[data-theme="dark"] .hc-faq-accordion .accordion-button {
    background-color: var(--bg-surface, #131c2e) !important;
    color: #f8fafc !important;
    border-bottom: 1px solid var(--border, #1e293b) !important;
}
[data-theme="dark"] .hc-faq-accordion .accordion-button:not(.collapsed) {
    background-color: var(--bg-surface-secondary, #1a253a) !important;
    color: #38bdf8 !important;
    border-bottom: 1px solid var(--border, #1e293b) !important;
}
[data-theme="dark"] .hc-faq-accordion .accordion-button::after {
    filter: invert(1) brightness(1.8) !important;
}
[data-theme="dark"] .hc-faq-accordion .accordion-body {
    background-color: var(--bg-surface, #131c2e) !important;
    color: #cbd5e1 !important;
}
[data-theme="dark"] .hc-faq-accordion .accordion-body .hc-article-content,
[data-theme="dark"] .hc-faq-accordion .accordion-body .hc-article-content p {
    color: #cbd5e1 !important;
}
[data-theme="dark"] .hc-single-faq,
[data-theme="dark"] .hc-faq-archive {
    background-color: var(--bg-body, #0b111e) !important;
}
[data-theme="dark"] .hc-faq-item-single .hc-article-content {
    background-color: var(--bg-surface, #131c2e) !important;
    border-color: var(--border, #1e293b) !important;
    color: #cbd5e1 !important;
}

/* 4. Built-in Contact Form System */
[data-theme="dark"] .hc-contact-form-container {
    background: var(--bg-surface, #131c2e) !important;
    border: 1px solid var(--border, #1e293b) !important;
    box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.45) !important;
}
[data-theme="dark"] .hc-contact-form-styled .hc-form-label {
    color: #f1f5f9 !important;
}
[data-theme="dark"] .hc-contact-form-styled .hc-req-star {
    color: #fb7185 !important;
}
[data-theme="dark"] .hc-contact-form-styled .hc-form-control {
    background-color: #1a253a !important;
    border: 1.5px solid #334155 !important;
    color: #f8fafc !important;
}
[data-theme="dark"] .hc-contact-form-styled .hc-form-control:focus {
    border-color: #38bdf8 !important;
    box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.2) !important;
}
[data-theme="dark"] .hc-contact-form-styled .hc-form-control::placeholder,
[data-theme="dark"] .hc-input-with-icon .hc-input-icon {
    color: #64748b !important;
}
[data-theme="dark"] .hc-form-privacy-note {
    color: #94a3b8 !important;
}
[data-theme="dark"] .hc-contact-alert-success {
    background-color: rgba(16, 185, 129, 0.15) !important;
    border: 1px solid rgba(16, 185, 129, 0.35) !important;
    color: #6ee7b7 !important;
}
[data-theme="dark"] .hc-contact-alert-danger {
    background-color: rgba(239, 68, 68, 0.15) !important;
    border: 1px solid rgba(239, 68, 68, 0.35) !important;
    color: #fca5a5 !important;
}
[data-theme="dark"] .hc-contact-success-card {
    background-color: #131c2e !important;
}
[data-theme="dark"] .hc-contact-success-card h3 {
    color: #f8fafc !important;
}
[data-theme="dark"] .hc-contact-success-card p {
    color: #cbd5e1 !important;
}

/* 5. Mobile & Responsive Page Titles */
[data-theme="dark"] .hc-page header h1,
[data-theme="dark"] .hc-page > header > h1,
[data-theme="dark"] .hc-page h1,
[data-theme="dark"] .hc-article-title,
[data-theme="dark"] .entry-title,
[data-theme="dark"] .page-title,
[data-theme="dark"] h1.hc-article-title {
    color: #f8fafc !important;
}
[data-theme="dark"] .hc-page-content h2,
[data-theme="dark"] .hc-page-content h3,
[data-theme="dark"] .hc-page-content h4 {
    color: #f1f5f9 !important;
}

/* 6. All Reference Types in HC-Groups */
[data-theme="dark"] .hc-ref-source-badge {
    background-color: rgba(56, 189, 248, 0.1) !important;
    border-color: rgba(56, 189, 248, 0.25) !important;
    color: #f1f5f9 !important;
}
[data-theme="dark"] .hc-ref-source-org {
    color: #f1f5f9 !important;
}
[data-theme="dark"] .hc-ref-type-badge.type-guideline {
    background-color: rgba(16, 185, 129, 0.22) !important;
    color: #6ee7b7 !important;
    border-color: rgba(16, 185, 129, 0.45) !important;
}
[data-theme="dark"] .hc-ref-type-badge.type-journal {
    background-color: rgba(99, 102, 241, 0.22) !important;
    color: #a5b4fc !important;
    border-color: rgba(99, 102, 241, 0.45) !important;
}
[data-theme="dark"] .hc-ref-type-badge.type-fact-sheet {
    background-color: rgba(14, 165, 233, 0.22) !important;
    color: #7dd3fc !important;
    border-color: rgba(14, 165, 233, 0.45) !important;
}
[data-theme="dark"] .hc-ref-type-badge.type-textbook {
    background-color: rgba(245, 158, 11, 0.22) !important;
    color: #fcd34d !important;
    border-color: rgba(245, 158, 11, 0.45) !important;
}
[data-theme="dark"] .hc-ref-type-badge.type-organization {
    background-color: rgba(20, 184, 166, 0.22) !important;
    color: #5eead4 !important;
    border-color: rgba(20, 184, 166, 0.45) !important;
}
[data-theme="dark"] .hc-ref-type-badge.type-review {
    background-color: rgba(168, 85, 247, 0.22) !important;
    color: #d8b4fe !important;
    border-color: rgba(168, 85, 247, 0.45) !important;
}
[data-theme="dark"] .hc-ref-type-badge.type-other {
    background-color: rgba(148, 163, 184, 0.22) !important;
    color: #cbd5e1 !important;
    border-color: rgba(148, 163, 184, 0.45) !important;
}

/* ==========================================================================
   LANGUAGE SWITCHER & MULTILINGUAL SYSTEM
   ========================================================================== */

/* Topbar Language Dropdown */
.hc-lang-switcher-dropdown {
    position: relative;
    z-index: 1060;
}

.hc-lang-toggle-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 10px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    font-size: 0.85rem;
    font-weight: 600;
    line-height: 1;
    cursor: pointer;
    transition: all 0.2s ease;
}

.hc-lang-toggle-btn:hover,
.hc-lang-toggle-btn:focus,
.hc-lang-switcher-dropdown.show .hc-lang-toggle-btn {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.45);
    color: #ffffff;
    outline: none;
}

.hc-lang-toggle-btn::after {
    display: inline-block;
    margin-left: 2px;
    vertical-align: 0.15em;
    content: "";
    border-top: 0.3em solid;
    border-right: 0.3em solid transparent;
    border-bottom: 0;
    border-left: 0.3em solid transparent;
}

.hc-lang-icon-slot {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.hc-lang-icon-globe {
    font-size: 0.9rem;
    color: #38bdf8;
}

.hc-lang-current-label {
    text-transform: uppercase;
    font-size: 0.78rem;
    letter-spacing: 0.04em;
}

/* Language Dropdown Menu */
.hc-lang-menu {
    min-width: 190px;
    border-radius: 12px;
    padding: 6px;
    margin-top: 8px !important;
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
    background: #ffffff;
    z-index: 1065;
}

.hc-lang-item {
    border-radius: 8px;
    padding: 8px 12px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-main, #334155);
    transition: all 0.15s ease;
    cursor: pointer;
    border: none;
    background: transparent;
    width: 100%;
}

.hc-lang-item:hover,
.hc-lang-item:focus {
    background: rgba(47, 143, 157, 0.08);
    color: var(--primary, #0f766e);
}

.hc-lang-item.active {
    background: rgba(47, 143, 157, 0.14) !important;
    color: var(--primary, #0f766e) !important;
    font-weight: 700;
}

.hc-lang-check {
    color: var(--primary, #0f766e);
    font-size: 0.85rem;
}

.hc-lang-flag {
    font-size: 1.1rem;
    line-height: 1;
}

.hc-lang-reset-btn {
    font-size: 0.75rem;
    color: #64748b;
    border-radius: 4px;
    padding: 2px 6px;
    transition: all 0.15s ease;
}

.hc-lang-reset-btn:hover {
    color: #ef4444 !important;
    background: rgba(239, 68, 68, 0.08);
}

/* Mobile Offcanvas Language Selector */
.hc-offcanvas-lang-selector {
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
}

.hc-lang-segmented-control .hc-segmented-btn {
    border: 1px solid #cbd5e1;
    background: #ffffff;
    color: #475569;
    font-weight: 600;
    font-size: 0.82rem;
    padding: 6px 10px;
    transition: all 0.15s ease;
}

.hc-lang-segmented-control .hc-segmented-btn.active {
    background: var(--primary, #0f766e) !important;
    border-color: var(--primary, #0f766e) !important;
    color: #ffffff !important;
    box-shadow: 0 2px 6px rgba(15, 118, 110, 0.3);
}

/* Floating / Pinned "Reset to English" Safeguard Pill */
.hc-lang-safeguard {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 9999;
    animation: hcSafeguardPop 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes hcSafeguardPop {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.hc-lang-safeguard-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #0f172a;
    color: #ffffff;
    border: 2px solid #38bdf8;
    border-radius: 999px;
    padding: 10px 18px;
    font-size: 0.88rem;
    font-weight: 700;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35), 0 0 15px rgba(56, 189, 248, 0.3);
    cursor: pointer;
    transition: all 0.2s ease;
}

.hc-lang-safeguard-btn:hover {
    background: #0284c7;
    border-color: #ffffff;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.45), 0 0 20px rgba(56, 189, 248, 0.5);
}

.hc-lang-safeguard-icon {
    font-size: 0.95rem;
    color: #38bdf8;
    animation: hcSpinReset 4s linear infinite;
}

.hc-lang-safeguard-btn:hover .hc-lang-safeguard-icon {
    color: #ffffff;
}

@keyframes hcSpinReset {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(-360deg); }
}

.hc-lang-safeguard-flag {
    font-size: 1.15rem;
    line-height: 1;
}

.hc-lang-safeguard-text {
    letter-spacing: 0.02em;
}

/* Dark Mode Overrides for Language System */
[data-theme="dark"] .hc-lang-toggle-btn {
    border-color: #334155 !important;
    background: rgba(30, 41, 59, 0.7) !important;
    color: #f8fafc !important;
}

[data-theme="dark"] .hc-lang-toggle-btn:hover,
[data-theme="dark"] .hc-lang-switcher-dropdown.show .hc-lang-toggle-btn {
    background: #1e293b !important;
    border-color: #38bdf8 !important;
}

[data-theme="dark"] .hc-lang-menu {
    background: #131c2e !important;
    border-color: #334155 !important;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.7) !important;
}

[data-theme="dark"] .hc-lang-item {
    color: #e2e8f0 !important;
}

[data-theme="dark"] .hc-lang-item:hover,
[data-theme="dark"] .hc-lang-item:focus {
    background: #1a253a !important;
    color: #38bdf8 !important;
}

[data-theme="dark"] .hc-lang-item.active {
    background: rgba(56, 189, 248, 0.16) !important;
    color: #38bdf8 !important;
}

[data-theme="dark"] .hc-lang-check {
    color: #38bdf8 !important;
}

[data-theme="dark"] .hc-lang-menu .dropdown-header {
    border-bottom-color: #1e293b !important;
    color: #94a3b8 !important;
}

[data-theme="dark"] .hc-offcanvas-lang-selector {
    background: #1a253a !important;
    border-color: #334155 !important;
}

[data-theme="dark"] .hc-lang-segmented-control .hc-segmented-btn {
    background: #0f172a !important;
    border-color: #334155 !important;
    color: #cbd5e1 !important;
}

[data-theme="dark"] .hc-lang-segmented-control .hc-segmented-btn.active {
    background: #0284c7 !important;
    border-color: #38bdf8 !important;
    color: #ffffff !important;
    box-shadow: 0 2px 8px rgba(2, 132, 199, 0.4) !important;
}

[data-theme="dark"] .hc-lang-safeguard-btn {
    background: #0b111e !important;
    border-color: #38bdf8 !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8), 0 0 15px rgba(56, 189, 248, 0.35) !important;
}

/* Suppress Google Translate Default Top Banner and Artifacts */
.goog-te-banner-frame,
.goog-te-banner-frame.skiptranslate,
iframe.goog-te-banner-frame {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
}
body {
    top: 0px !important;
    position: static !important;
}
#goog-gt-tt, .goog-te-balloon-frame {
    display: none !important;
}
.goog-text-highlight {
    background: none !important;
    box-shadow: none !important;
}

/* ==========================================================================
   AUTHOR PAGE DARK THEME OPTIMIZATIONS
   ========================================================================== */
[data-theme="dark"] .hc-author-hero {
    background: var(--bg-surface-secondary, #1a253a) !important;
    border-bottom: 1px solid var(--border, #1e293b) !important;
}

[data-theme="dark"] .hc-author-hero h1 {
    color: var(--text-main, #f8fafc) !important;
}

[data-theme="dark"] .hc-author-hero .lead,
[data-theme="dark"] .hc-author-hero p {
    color: var(--text-muted, #94a3b8) !important;
}

[data-theme="dark"] .hc-author-hero .hc-section-label {
    color: var(--primary, #2f8f9d) !important;
}

[data-theme="dark"] .hc-author-profile-large img,
[data-theme="dark"] .hc-author-hero img.avatar,
[data-theme="dark"] .hc-author-hero .rounded-circle {
    background-color: var(--bg-surface, #131c2e) !important;
    border: 3px solid var(--border, #334155) !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4) !important;
}

[data-theme="dark"] .hc-author-hero .btn-outline-dark {
    color: #e2e8f0 !important;
    border-color: #475569 !important;
    background: transparent !important;
}

[data-theme="dark"] .hc-author-hero .btn-outline-dark:hover {
    background: #334155 !important;
    border-color: #64748b !important;
    color: #ffffff !important;
}

[data-theme="dark"] .hc-author-hero .btn-outline-secondary {
    color: #cbd5e1 !important;
    border-color: #475569 !important;
    background: transparent !important;
}

[data-theme="dark"] .hc-author-hero .btn-outline-secondary:hover {
    background: #334155 !important;
    border-color: #64748b !important;
    color: #ffffff !important;
}

[data-theme="dark"] .hc-author-hero .btn-outline-primary {
    color: #38bdf8 !important;
    border-color: #0284c7 !important;
    background: transparent !important;
}

[data-theme="dark"] .hc-author-hero .btn-outline-primary:hover {
    background: #0284c7 !important;
    color: #ffffff !important;
}

[data-theme="dark"] .h4 {
    color: var(--text-main, #f1f5f9) !important;
}

/* ==========================================================================
   MEDICAL REVIEW BOARD PAGE
   ========================================================================== */
.hc-medical-review-section {
    background: var(--bg-body, #fcfcfc);
}

.hc-review-intro-card,
.hc-review-pillar-card,
.hc-review-seal-card,
.hc-review-independence-card,
.hc-page-custom-content {
    background: var(--bg-surface, #ffffff);
    border: 1px solid var(--border, #e5e7eb) !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hc-review-pillar-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.hc-review-disclaimer-box {
    background: var(--bg-surface-secondary, #f8fafc);
    border: 1px solid var(--border, #e2e8f0);
}

/* Dark Theme for Medical Review Board */
[data-theme="dark"] .hc-medical-review-section {
    background: var(--bg-body, #0b111e);
}

[data-theme="dark"] .hc-review-intro-card,
[data-theme="dark"] .hc-review-pillar-card,
[data-theme="dark"] .hc-review-seal-card,
[data-theme="dark"] .hc-review-independence-card,
[data-theme="dark"] .hc-page-custom-content {
    background: var(--bg-surface, #131c2e) !important;
    border-color: var(--border, #1e293b) !important;
}

[data-theme="dark"] .hc-review-intro-card h2,
[data-theme="dark"] .hc-review-pillar-card h3,
[data-theme="dark"] .hc-review-seal-card h3,
[data-theme="dark"] .hc-review-independence-card h3,
[data-theme="dark"] .hc-section-heading h2 {
    color: var(--text-heading, #f8fafc) !important;
}

[data-theme="dark"] .hc-review-intro-card p,
[data-theme="dark"] .hc-review-pillar-card p,
[data-theme="dark"] .hc-review-seal-card p,
[data-theme="dark"] .hc-review-independence-card p,
[data-theme="dark"] .hc-review-independence-card li {
    color: var(--text-muted, #94a3b8) !important;
}

[data-theme="dark"] .hc-review-disclaimer-box {
    background: var(--bg-surface-secondary, #1a253a) !important;
    border-color: var(--border, #1e293b) !important;
}

[data-theme="dark"] .hc-review-disclaimer-box h4 {
    color: var(--text-heading, #f8fafc) !important;
}

[data-theme="dark"] .hc-review-disclaimer-box p {
    color: var(--text-muted, #94a3b8) !important;
}

[data-theme="dark"] .hc-seal-graphic {
    background: rgba(56, 189, 248, 0.12) !important;
}

[data-theme="dark"] .hc-pillar-num {
    color: var(--primary, #38bdf8) !important;
}

/* ==========================================================================
   INSTITUTIONAL & CORE PAGES STYLING (About, Contact, Terms, Policies, etc.)
   ========================================================================== */
.hc-institutional-page-section {
    background-color: var(--bg-body, #f8fafc);
    color: var(--text-body, #334155);
    min-height: 60vh;
}

.hc-content-card,
.hc-feature-card,
.hc-highlight-card {
    background-color: var(--bg-surface, #ffffff);
    border: 1px solid var(--border, #e2e8f0) !important;
    color: var(--text-body, #334155);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.hc-feature-card:hover,
.hc-content-card:hover {
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.08), 0 8px 10px -6px rgba(0, 0, 0, 0.04);
}

.hc-highlight-card {
    background-color: var(--bg-surface, #ffffff);
    border: 1px solid var(--border, #e2e8f0) !important;
}

.hc-callout-box {
    background-color: var(--bg-surface-secondary, #f8fafc);
    border: 1px solid var(--border, #e2e8f0);
    border-left: 4px solid var(--primary, #0284c7) !important;
    border-radius: 0.75rem;
}

.hc-callout-box.border-warning {
    border-left-color: #f59e0b !important;
}

.hc-callout-box.border-info {
    border-left-color: #0284c7 !important;
}

.hc-callout-box.border-success {
    border-left-color: #10b981 !important;
}

.hc-card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
}

.hc-feature-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(2, 132, 199, 0.1);
    color: var(--primary, #0284c7);
    font-weight: 700;
    font-size: 0.95rem;
}

.hc-page-custom-content {
    color: var(--text-body, #334155);
    line-height: 1.75;
}

.hc-page-custom-content h2,
.hc-page-custom-content h3,
.hc-page-custom-content h4 {
    color: var(--text-heading, #0f172a);
    margin-top: 1.75rem;
    margin-bottom: 0.75rem;
    font-weight: 700;
}

.hc-page-custom-content p,
.hc-page-custom-content li {
    font-size: 1.05rem;
    color: var(--text-body, #334155);
}

/* Dark Mode Overrides for Institutional Pages */
[data-theme="dark"] .hc-institutional-page-section {
    background-color: var(--bg-body, #0a0f1d) !important;
    color: var(--text-body, #94a3b8) !important;
}

[data-theme="dark"] .hc-content-card,
[data-theme="dark"] .hc-feature-card,
[data-theme="dark"] .hc-highlight-card {
    background-color: var(--bg-surface, #0f172a) !important;
    border-color: var(--border, #1e293b) !important;
    color: var(--text-body, #94a3b8) !important;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.4) !important;
}

[data-theme="dark"] .hc-content-card h2,
[data-theme="dark"] .hc-content-card h3,
[data-theme="dark"] .hc-content-card h4,
[data-theme="dark"] .hc-content-card h5,
[data-theme="dark"] .hc-feature-card h3,
[data-theme="dark"] .hc-feature-card h4,
[data-theme="dark"] .hc-feature-card h5,
[data-theme="dark"] .hc-highlight-card h3,
[data-theme="dark"] .hc-highlight-card h4,
[data-theme="dark"] .hc-highlight-card h5 {
    color: var(--text-heading, #f8fafc) !important;
}

[data-theme="dark"] .hc-callout-box {
    background-color: var(--bg-surface-secondary, #131d31) !important;
    border-color: var(--border, #1e293b) !important;
    color: var(--text-body, #94a3b8) !important;
}

[data-theme="dark"] .hc-callout-box h4,
[data-theme="dark"] .hc-callout-box h5 {
    color: var(--text-heading, #f8fafc) !important;
}

[data-theme="dark"] .hc-callout-box p,
[data-theme="dark"] .hc-callout-box li {
    color: var(--text-body, #94a3b8) !important;
}

[data-theme="dark"] .hc-feature-num {
    background: rgba(56, 189, 248, 0.15) !important;
    color: var(--primary, #38bdf8) !important;
}

[data-theme="dark"] .hc-page-custom-content {
    color: var(--text-body, #94a3b8) !important;
}

[data-theme="dark"] .hc-page-custom-content h2,
[data-theme="dark"] .hc-page-custom-content h3,
[data-theme="dark"] .hc-page-custom-content h4 {
    color: var(--text-heading, #f8fafc) !important;
}

[data-theme="dark"] .hc-page-custom-content p,
[data-theme="dark"] .hc-page-custom-content li {
    color: var(--text-body, #94a3b8) !important;
}

/* Contact Form Elements in Dark Mode */
[data-theme="dark"] .hc-contact-form .form-control,
[data-theme="dark"] .hc-contact-form .form-select {
    background-color: var(--bg-surface-secondary, #131d31) !important;
    border-color: var(--border, #1e293b) !important;
    color: var(--text-heading, #f8fafc) !important;
}

[data-theme="dark"] .hc-contact-form .form-control:focus,
[data-theme="dark"] .hc-contact-form .form-select:focus {
    border-color: var(--primary, #38bdf8) !important;
    box-shadow: 0 0 0 0.25rem rgba(56, 189, 248, 0.25) !important;
}

[data-theme="dark"] .hc-contact-form .form-control::placeholder {
    color: var(--text-muted, #64748b) !important;
}

[data-theme="dark"] .hc-contact-form .form-label {
    color: var(--text-heading, #f8fafc) !important;
}

[data-theme="dark"] .hc-contact-form .form-check-label {
    color: var(--text-muted, #94a3b8) !important;
}

/* Table styling for policies & terms in dark mode */
[data-theme="dark"] .hc-institutional-page-section .table {
    color: var(--text-body, #94a3b8) !important;
    border-color: var(--border, #1e293b) !important;
}

[data-theme="dark"] .hc-institutional-page-section .table th {
    background-color: var(--bg-surface-secondary, #131d31) !important;
    color: var(--text-heading, #f8fafc) !important;
    border-color: var(--border, #1e293b) !important;
}

[data-theme="dark"] .hc-institutional-page-section .table td {
    background-color: var(--bg-surface, #0f172a) !important;
    color: var(--text-body, #94a3b8) !important;
    border-color: var(--border, #1e293b) !important;
}

/* ==========================================================================
   PRIVACY PREFERENCE CENTER & ACCESSIBLE MODAL
   ========================================================================== */
.hc-privacy-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    overflow-y: auto;
}

.hc-privacy-modal.d-none {
    display: none !important;
}

.hc-privacy-modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(4px);
    z-index: 10001;
}

.hc-privacy-modal-dialog {
    position: relative;
    z-index: 10002;
    width: 100%;
    max-width: 680px;
    margin: auto;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
}

.hc-privacy-modal-content {
    background-color: var(--bg-surface, #ffffff);
    color: var(--text-body, #334155);
    border: 1px solid var(--border, #e2e8f0);
    border-radius: 1rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.hc-privacy-modal-body {
    overflow-y: auto;
    max-height: calc(85vh - 140px);
}

.hc-preference-card {
    background: var(--bg-surface-secondary, #f8fafc);
    border: 1px solid var(--border, #e2e8f0) !important;
    transition: border-color 0.2s ease;
}

.hc-gpc-indicator {
    background: rgba(16, 185, 129, 0.08);
    border: 1px solid rgba(16, 185, 129, 0.3) !important;
}



/* Accessible High-Contrast Focus Ring (WCAG 2.1 AA) */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
    outline: 2px solid var(--primary, #0284c7) !important;
    outline-offset: 2px !important;
    box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.25) !important;
}

/* Dark Mode Overrides for Privacy Center */
[data-theme="dark"] .hc-privacy-modal-backdrop {
    background: rgba(0, 0, 0, 0.82);
}

[data-theme="dark"] .hc-privacy-modal-content {
    background-color: var(--bg-surface, #0f172a) !important;
    color: var(--text-body, #94a3b8) !important;
    border-color: var(--border, #1e293b) !important;
}

[data-theme="dark"] .hc-privacy-modal-header,
[data-theme="dark"] .hc-privacy-modal-footer {
    border-color: var(--border, #1e293b) !important;
}

[data-theme="dark"] .hc-privacy-modal-header h3 {
    color: var(--text-heading, #f8fafc) !important;
}

[data-theme="dark"] .hc-preference-card {
    background: var(--bg-surface-secondary, #131d31) !important;
    border-color: var(--border, #1e293b) !important;
    color: var(--text-body, #94a3b8) !important;
}

[data-theme="dark"] .hc-preference-card h4,
[data-theme="dark"] .hc-preference-card label {
    color: var(--text-heading, #f8fafc) !important;
}

[data-theme="dark"] .hc-sensitive-data-notice {
    background: var(--bg-surface-secondary, #131d31) !important;
    border-color: var(--border, #1e293b) !important;
    color: var(--text-body, #94a3b8) !important;
}

[data-theme="dark"] a:focus-visible,
[data-theme="dark"] button:focus-visible,
[data-theme="dark"] input:focus-visible,
[data-theme="dark"] select:focus-visible,
[data-theme="dark"] textarea:focus-visible,
[data-theme="dark"] [tabindex]:focus-visible {
    outline: 2px solid #38bdf8 !important;
    box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.3) !important;
}


