/* ── Theme Variables ── */
:root {
    --navy:       #100190;
    --navy-dark:  #0a0060;
    --navy-deep:  #06003a;
    --sky:        #6fcdf6;
    --sky-light:  #a8e4ff;
    --gold:       #ffd700;
    --gold-soft:  #ffe566;
    --white:      #ffffff;
    --off-white:  #f4f6fc;
    --text-dark:  #0d0b2e;
    --text-mid:   #3d3a6b;
    --text-light: #7a7aaa;
    --border:     #e0e0f0;
    --green:      #0ebc40;
    --shadow:     0 8px 32px rgba(16,1,144,0.10);
    --shadow-md:  0 16px 48px rgba(16,1,144,0.16);
    --shadow-lg:  0 32px 80px rgba(16,1,144,0.22);
    --transition: 0.3s cubic-bezier(0.4,0,0.2,1);
    --radius:     14px;
    --radius-lg:  28px;
}

/* ── Base ── */
body {
    font-family: 'Nunito', -apple-system, sans-serif;
    background: var(--white);
    color: var(--text-dark);
    margin: 0;
    scroll-behavior: smooth;
}

/* ── Reading Progress Bar ── */
#reading-progress {
    position: fixed;
    top: 0; left: 0;
    width: 0%;
    height: 4px;
    background: linear-gradient(90deg, var(--navy), var(--sky));
    z-index: 9999;
    transition: width 0.1s ease;
    border-radius: 0 2px 2px 0;
    box-shadow: 0 0 12px rgba(111,205,246,0.6);
}

/* ════════════════════════
   SINGLE POST STYLES
════════════════════════ */

/* ── Hero ── */
.landing-hero {
    position: relative;
    padding: 110px 24px 90px;
    color: white;
    text-align: center;
    overflow: hidden;
    background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 100%);
}

.hero-bg-blur {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-size: cover;
    background-position: center;
    filter: blur(32px) brightness(0.28);
    transform: scale(1.1);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1020px;
    margin: 0 auto;
    padding-bottom: 40px;
}

.hero-content .cat-label {
    display: inline-block;
    background: var(--gold);
    color: var(--navy-deep);
    padding: 5px 18px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 22px;
}

.hero-content h1 {
   
    font-size: clamp(2rem, 5vw, 3.5rem);
    line-height: 1.12;
    font-weight: 900;
    margin-bottom: 24px;
    color: var(--white);
}

.hero-meta {
    font-size: 13px;
    font-weight: 700;
    opacity: 0.75;
    letter-spacing: 1.5px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-meta i { color: var(--gold); }

/* ── Single Post Body Grid ── */
.single-post-body {
    max-width: 1660px;
    margin: -52px auto 80px;
    position: relative;
    z-index: 10;
    padding: 0 28px;
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 36px;
    align-items: start;
}

/* ── ToC Sidebar ── */
.toc-sidebar-wrap {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.toc-card {
    background: var(--off-white);
    border-radius: 20px;
    padding: 24px;
    border: 1.5px solid var(--border);
    margin-bottom: 24px;
    max-height: 560px;
    overflow-y: auto;
}

.toc-card::-webkit-scrollbar { width: 4px; }
.toc-card::-webkit-scrollbar-track { background: transparent; }
.toc-card::-webkit-scrollbar-thumb { background: var(--border); border-radius: 4px; }

.toc-card h5 {
    font-size: 10px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    color: var(--navy);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.toc-card h5::before {
    content: '';
    width: 3px; height: 14px;
    background: var(--sky);
    border-radius: 2px;
    display: inline-block;
}

.toc-card ul { list-style: none; padding: 0; margin: 0; counter-reset: toc-counter; }
.toc-card li { margin-bottom: 10px; }

.toc-card li a {
    text-decoration: none;
    color: var(--text-mid);
    font-size: 13px;
    font-weight: 700;
    transition: var(--transition);
    line-height: 1.4;
    display: flex;
    gap: 10px;
}

.toc-card li a::before {
    counter-increment: toc-counter;
    content: counter(toc-counter) ".";
    color: var(--sky);
    font-weight: 900;
    min-width: 18px;
}

.toc-card li a:hover { color: var(--navy); padding-left: 4px; }
.toc-card li a.active { color: var(--navy) !important; font-weight: 900; padding-left: 6px; }
.toc-card li a.active::before { content: "→"; color: var(--gold); }

/* ── Sidebar Enquiry Form ── */
.sidebar-enquiry {
    background: linear-gradient(160deg, var(--navy-deep), var(--navy));
    border-radius: 20px;
    padding: 28px;
    color: white;
    box-shadow: var(--shadow-lg);
}

.sidebar-enquiry h5 {
    font-size: 10px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--gold);
    margin-bottom: 4px;
}

.sidebar-enquiry h4 {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 20px;
}

.sidebar-enquiry input,
.sidebar-enquiry textarea {
    width: 100%;
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 10px;
    padding: 12px 14px;
    color: white;
    margin-bottom: 12px;
    outline: none;
    font-family: 'Nunito', sans-serif;
    font-size: 13px;
    font-weight: 600;
    transition: var(--transition);
}

.sidebar-enquiry input:focus,
.sidebar-enquiry textarea:focus {
    border-color: var(--sky);
    background: rgba(255,255,255,0.1);
}

.sidebar-enquiry input::placeholder,
.sidebar-enquiry textarea::placeholder { color: rgba(255,255,255,0.35); }

.sidebar-enquiry button {
    width: 100%;
    background: var(--gold);
    color: var(--navy-deep);
    border: none;
    padding: 14px;
    border-radius: 10px;
    font-family: 'Nunito', sans-serif;
    font-weight: 900;
    font-size: 13px;
    cursor: pointer;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: var(--transition);
}

.sidebar-enquiry button:hover {
    background: var(--gold-soft);
    transform: translateY(-2px);
}

/* ── Article Card ── */
.glass-article-card {
    background: white;
    padding: 52px;
    border-radius: var(--radius-lg);
    box-shadow: 0 40px 100px rgba(16,1,144,0.08);
    border: 1px solid var(--border);
}

.glass-article-card > img {
    width: 100%;
    height: 440px;
    object-fit: cover;
    object-position: center;
    border-radius: 18px;
    margin-bottom: 40px;
    box-shadow: 0 20px 50px rgba(16,1,144,0.12);
}

/* ── Entry Content ── */
.entry-content { font-size: 1.05rem; line-height: 1.95; color: #334155; }

.entry-content h2 {
   
    font-size: 2rem;
    color: var(--navy);
    margin: 52px 0 22px;
    border-left: 5px solid var(--gold);
    padding-left: 18px;
    scroll-margin-top: 100px;
    line-height: 1.2;
}

.entry-content h3 {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--navy);
    margin: 36px 0 16px;
}

.entry-content p { margin-bottom: 24px; }
.entry-content strong { color: var(--text-dark); font-weight: 800; }
.entry-content a { color: var(--navy); text-decoration: underline; font-weight: 700; }

.entry-content ul, .entry-content ol { padding-left: 24px; margin-bottom: 24px; }
.entry-content li { margin-bottom: 8px; }

/* ── Image Branding Overlay ── */
.img-brand-wrap { position: relative; display: inline-block; width: 100%; }

.img-brand-wrap::before {
    content: "";
    position: absolute;
    top: 15px; left: 15px;
    width: 160px; height: 70px;
    background: url('https://exuberantglobal.co.uk/assets/img/home/exuberant-logo.webp') no-repeat center;
    background-size: contain;
    z-index: 5; opacity: 0.9; pointer-events: none;
}

/* ── Post End CTA ── */
.post-end-cta {
    margin-top: 60px;
    padding: 48px 40px;
    background: linear-gradient(135deg, var(--off-white), rgba(111,205,246,0.1));
    border-radius: var(--radius-lg);
    border: 1.5px solid rgba(16,1,144,0.1);
    text-align: center;
}

.post-end-cta h3 {
   
    font-size: 1.8rem;
    color: var(--navy);
    margin-bottom: 10px;
}

.post-end-cta p { color: var(--text-mid); margin-bottom: 24px; font-size: 1rem; }

.post-end-cta a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--navy);
    color: var(--white);
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 800;
    font-size: 0.9rem;
    text-decoration: none;
    letter-spacing: 0.5px;
    transition: var(--transition);
}

.post-end-cta a:hover {
    background: var(--navy-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* ── FAQ Styling ── */
.entry-content .faq-question {
    display: block;
    font-size: 1rem;
    color: var(--navy);
    margin-top: 28px;
    margin-bottom: 8px;
    padding: 14px 18px;
    background: rgba(111,205,246,0.1);
    border-left: 4px solid var(--sky);
    border-radius: 0 10px 10px 0;
    font-weight: 800;
}

.entry-content .faq-question::before { content: "Q. "; color: var(--gold); font-weight: 900; }

.entry-content .faq-answer {
    padding-left: 20px;
    margin-top: 10px;
    border-left: 1px dashed var(--border);
    margin-left: 10px;
    color: #475569;
    font-size: 0.95rem;
    line-height: 1.8;
}

/* ════════════════════════
   BLOG FEED STYLES
════════════════════════ */

/* ── Feed Hero ── */
.feed-hero {
    background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 60%, var(--blue-mid, #2a1fb0) 100%);
    padding: 100px 24px 80px;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.feed-hero::before {
    content: '';
    position: absolute;
    top: -40%; right: -15%;
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(111,205,246,0.15) 0%, transparent 70%);
    pointer-events: none;
}

.feed-hero::after {
    content: '';
    position: absolute;
    bottom: -30%; left: -10%;
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(255,215,0,0.08) 0%, transparent 70%);
    pointer-events: none;
}

.feed-hero-inner { position: relative; z-index: 2; max-width: 680px; margin: 0 auto; }

.feed-hero .overline {
    display: inline-block;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--sky);
    background: rgba(111,205,246,0.12);
    border: 1px solid rgba(111,205,246,0.25);
    padding: 5px 16px;
    border-radius: 50px;
    margin-bottom: 18px;
}

.feed-hero h1 {
   
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 14px;
    color: var(--white);
}

.feed-hero h1 span { color: var(--gold); }

.feed-hero p {
    font-size: 1rem;
    color: rgba(255,255,255,0.65);
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* ── Category Filter Pills ── */
.cat-filter-bar {
    background: var(--white);
    border-bottom: 1px solid var(--border);
    padding: 14px 0;
    position: sticky;
    top: 0;
    z-index: 50;
    box-shadow: 0 2px 12px rgba(16,1,144,0.06);
}

.cat-filter-inner {
    max-width: 1360px;
    margin: 0 auto;
    padding: 0 28px;
    display: flex;
    align-items: center;
    gap: 8px;
    overflow-x: auto;
    scrollbar-width: none;
}

.cat-filter-inner::-webkit-scrollbar { display: none; }

.cat-pill {
    display: inline-flex;
    align-items: center;
    padding: 6px 18px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    white-space: nowrap;
    border: 1.5px solid var(--border);
    color: var(--text-mid);
    background: var(--white);
    transition: var(--transition);
}

.cat-pill:hover {
    border-color: var(--navy);
    color: var(--navy);
}

.cat-pill.active {
    background: var(--navy);
    color: var(--white);
    border-color: var(--navy);
    box-shadow: 0 4px 12px rgba(16,1,144,0.2);
}

/* ── Hub Layout ── */
.hub-container {
    max-width: 1360px;
    margin: 52px auto 80px;
    padding: 0 28px;
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 52px;
    align-items: start;
}

.hub-sidebar {
    position: sticky;
    top: 80px;
    height: fit-content;
}

/* ── Blog Cards ── */
.hub-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

@media (max-width: 1200px) { .hub-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 700px)  { .hub-grid { grid-template-columns: 1fr; } }

.editorial-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    border: 1.5px solid var(--border);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.editorial-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
    border-color: rgba(16,1,144,0.2);
}

.card-img-wrap {
    height: 220px;
    overflow: hidden;
    background: var(--off-white);
}

.card-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.7s ease;
}

.editorial-card:hover .card-img-wrap img { transform: scale(1.07); }

.card-body {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.card-cat {
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--navy);
    background: rgba(16,1,144,0.07);
    padding: 3px 10px;
    border-radius: 50px;
    display: inline-block;
    margin-bottom: 12px;
}

.card-body h3 {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--text-dark);
    line-height: 1.35;
    margin-bottom: 10px;
    flex: 1;
}

.card-body h3 a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

.card-body h3 a:hover { color: var(--navy); }

.card-body p {
    font-size: 13px;
    color: var(--text-light);
    line-height: 1.65;
    margin-bottom: 18px;
}

.card-read-link {
    font-size: 12px;
    font-weight: 800;
    color: var(--navy);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition);
    margin-top: auto;
}

.card-read-link:hover { color: var(--sky); gap: 10px; }
.card-read-link i { font-size: 9px; color: var(--gold); }

/* ── Sidebar Widgets ── */
.modern-widget {
    background: var(--off-white);
    border-radius: 20px;
    padding: 28px;
    margin-bottom: 24px;
    border: 1.5px solid var(--border);
}

.widget-h {
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--navy);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.widget-h i { color: var(--sky); }

.widget-search {
    display: flex;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1.5px solid var(--border);
    background: var(--white);
}

.widget-search input {
    flex: 1;
    padding: 12px 16px;
    border: none;
    outline: none;
    font-family: 'Nunito', sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-dark);
    background: transparent;
}

.widget-search button {
    background: var(--navy);
    color: white;
    border: none;
    padding: 12px 16px;
    cursor: pointer;
    transition: var(--transition);
    font-size: 13px;
}

.widget-search button:hover { background: var(--navy-dark); }

.cat-widget-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 11px 0;
    text-decoration: none;
    color: var(--text-mid);
    font-weight: 700;
    font-size: 13px;
    border-bottom: 1px solid var(--border);
    transition: var(--transition);
}

.cat-widget-link:last-child { border-bottom: none; }

.cat-widget-link:hover { color: var(--navy); padding-left: 4px; }

.cat-widget-link span {
    background: rgba(16,1,144,0.08);
    color: var(--navy);
    font-size: 11px;
    font-weight: 800;
    padding: 2px 8px;
    border-radius: 50px;
}

.cta-ribbon {
    background: linear-gradient(160deg, var(--navy-deep), var(--navy));
    border-radius: 20px;
    padding: 32px 28px;
    color: white;
    text-align: center;
}

.cta-ribbon h4 {
    font-size: 1.2rem;
    font-weight: 900;
    color: var(--white);
    margin-bottom: 8px;
}

.cta-ribbon p {
    font-size: 13px;
    color: rgba(255,255,255,0.7);
    margin-bottom: 20px;
    line-height: 1.6;
}

.cta-ribbon a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--gold);
    color: var(--navy-deep);
    padding: 12px 24px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 900;
    font-size: 13px;
    letter-spacing: 0.5px;
    transition: var(--transition);
}

.cta-ribbon a:hover {
    background: var(--gold-soft);
    transform: translateY(-2px);
}

/* ── Pagination ── */
.eg-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 48px 0 16px;
    flex-wrap: wrap;
}

.pg-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    padding: 0 14px;
    border-radius: var(--radius);
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
    border: 1.5px solid var(--border);
    color: var(--text-mid);
    background: var(--white);
    transition: var(--transition);
}

.pg-btn:hover {
    border-color: var(--navy);
    color: var(--navy);
    background: rgba(16,1,144,0.05);
}

.pg-btn.active {
    background: var(--navy);
    color: var(--white);
    border-color: var(--navy);
    box-shadow: 0 4px 16px rgba(16,1,144,0.25);
}

.pg-btn.disabled {
    opacity: 0.3;
    pointer-events: none;
}

/* ── Related Posts ── */
.related-section {
    max-width: 1360px;
    margin: 0 auto 80px;
    padding: 0 28px;
}

.related-section h3 {
   
    font-size: 1.3rem;
    color: var(--navy);
    margin-bottom: 8px;
    font-weight: 900;
}

.related-section .related-sub {
    color: var(--text-light);
    font-size: 14px;
    margin-bottom: 36px;
}

.related-section .related-sub strong { color: var(--gold); }

.related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

@media (max-width: 900px) { .related-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .related-grid { grid-template-columns: 1fr; } }

/* ── Responsive ── */
@media (max-width: 1100px) {
    .single-post-body {
        grid-template-columns: 1fr;
        margin-top: 24px;
    }
    .toc-sidebar-wrap {
        position: static;
        order: -1;
    }
    .hub-container { grid-template-columns: 1fr; }
    .hub-sidebar { position: static; }
}

@media (max-width: 768px) {
    .glass-article-card { padding: 28px 20px; }
    .glass-article-card > img { height: 240px; }
    .single-post-body { padding: 0 16px; margin-bottom: 48px; }
    .hub-container { padding: 0 16px; gap: 36px; margin-top: 36px; }
    .feed-hero { padding: 72px 20px 60px; }
    .img-brand-wrap::before { width: 90px; height: 35px; }
    .entry-content h2 { font-size: 1.5rem; }
}