/* ==========================================================================
   ZeitBlast Blog Theme — main.css v4.0 FINAL
   Max-width: 1224px | Fellix font | Pixel-perfect responsive
   ========================================================================== */


/* ---------- RESET ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --green:        #06AB78;
    --green-dark:   #058a61;
    --green-light:  #e6f7f2;
    --green-border: #a7e8d3;
    --blue-pill-bg: #e8edf8;
    --blue-pill-tx: #3b5bdb;
    --navy:         rgb(1, 38, 53);
    --text:         rgb(21, 26, 40);
    --muted:        #6b7280;
    --light:        #9ca3af;
    --border:       #e5e7eb;
    --bg:           #ffffff;
    --bg-gray:      #f5f6f8;
    --footer-bg:    #0d1f2d;
    --radius-img:   24px;
    --radius-sm:    8px;
    --radius-pill:  100px;
    --max-w:        1224px;
    --font:         'Fellix', 'Plus Jakarta Sans', -apple-system, sans-serif;
    --shadow-sm:    0 1px 4px rgba(0,0,0,0.06);
    --shadow:       0 4px 20px rgba(0,0,0,0.09);
}

html { scroll-behavior: smooth; }
body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    font-size: 16px;
    line-height: 24px;
    -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; height: auto; }
ul, ol { list-style: none; }
button { cursor: pointer; font-family: var(--font); border: none; background: none; }
input, select { font-family: var(--font); }
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.screen-reader-text {
    position: absolute; width: 1px; height: 1px;
    padding: 0; margin: -1px; overflow: hidden;
    clip: rect(0,0,0,0); border: 0;
}

/* ==========================================================================
   HEADER — sticky, no jump on scroll (admin bar handled separately)
   ========================================================================== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 200;
    /* Fix: prevent gap appearing on scroll */
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
    will-change: transform;
}

/* Top green announcement bar */
.header-announcement {
    background: var(--green);
    padding: 9px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}
.ann-left {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
}
.ann-icon { font-size: 16px; flex-shrink: 0; }
.ann-right {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-shrink: 0;
}
.ann-right a {
    color: #fff;
    font-size: 14px;
    font-weight: 400;
    white-space: nowrap;
    transition: opacity .2s;
}
.ann-right a:hover { opacity: .75; }

/* White nav bar */
.header-nav-bar {
    background: #fff;
    border-bottom: 1px solid var(--border);
}
.nav-inner {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 24px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

/* Logo */
.site-logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    text-decoration: none;
}
.site-logo img,
.site-logo svg {
    height: 38px;
    width: auto;
    display: block;
}

/* Get Started button */
.header-cta-btn {
    background: var(--green);
    color: #fff;
    font-family: var(--font);
    font-size: 15px;
    font-weight: 600;
    padding: 10px 24px;
    border-radius: var(--radius-pill);
    border: none;
    white-space: nowrap;
    transition: background .2s, transform .15s;
    text-decoration: none;
    display: inline-block;
    flex-shrink: 0;
}
.header-cta-btn:hover { background: var(--green-dark); color: #fff; transform: translateY(-1px); }

/* Admin bar offset fix */
.admin-bar .site-header { top: 32px; }

/* ==========================================================================
   BLOG PAGE HEADER + FILTER BAR
   ========================================================================== */
.blog-page-header {
    background: var(--bg);
    padding: 40px 0 0;
    border-bottom: 1px solid var(--border);
}
.blog-header-top { margin-bottom: 24px; }
.blog-header-top h1 {
    font-family: var(--font);
    font-size: 28px;
    font-weight: 700;
    color: var(--navy);
    letter-spacing: -0.3px;
    margin-bottom: 4px;
}
.blog-header-top p { font-size: 15px; color: var(--muted); }

/* Filter row: pills LEFT, search RIGHT */
.filter-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}
.filter-bar-inner { border-bottom: 1px solid var(--border); }

/* Desktop pills */
.category-filters {
    display: flex;
    align-items: center;
    gap: 0;
    flex: 1;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.category-filters::-webkit-scrollbar { display: none; }

.cat-pill {
    display: inline-block;
    background: transparent;
    border: none;
    border-bottom: 2px solid transparent;
    color: var(--text);
    font-family: var(--font);
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    padding: 10px 14px 12px;
    cursor: pointer;
    transition: color .2s, border-color .2s;
    white-space: nowrap;
    text-decoration: none;
}
.cat-pill:hover { color: var(--green); }
.cat-pill.active {
    color: var(--green);
    border-bottom-color: var(--green);
    font-weight: 600;
}

/* Mobile dropdown (hidden on desktop) */
.filter-mobile-select {
    display: none;
}

/* Search */
.blog-search-wrap { position: relative; flex-shrink: 0; width: 220px; }
.blog-search-wrap .search-icon {
    position: absolute; left: 12px; top: 50%; transform: translateY(-50%);
    width: 16px; height: 16px; color: var(--light); pointer-events: none;
}
.blog-search-input {
    width: 100%;
    background: var(--bg-gray);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text);
    font-family: var(--font);
    font-size: 14px;
    padding: 9px 12px 9px 36px;
    outline: none;
    transition: border-color .2s, box-shadow .2s;
}
.blog-search-input::placeholder { color: var(--light); }
.blog-search-input:focus {
    border-color: var(--green);
    box-shadow: 0 0 0 3px rgba(6,171,120,0.12);
}

/* ==========================================================================
   BLOG MAIN
   ========================================================================== */
.blog-main { padding: 48px 0 72px; }

/* Loading spinner */
.zb-loading { display: none; text-align: center; padding: 48px 0; color: var(--muted); font-size: 14px; }
.zb-loading.is-active { display: block; }
.zb-spinner {
    width: 32px; height: 32px;
    border: 3px solid var(--border);
    border-top-color: var(--green);
    border-radius: 50%;
    animation: zbSpin .6s linear infinite;
    margin: 0 auto 12px;
}
@keyframes zbSpin { to { transform: rotate(360deg); } }

/* ==========================================================================
   FEATURED / HORIZONTAL POST CARD
   Left: text 50% | Right: image 50%
   Background: light gray card, no border
   ========================================================================== */
.featured-post-wrap { margin-bottom: 48px; }

.featured-post-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
    background: #f5f6fa;
    border-radius: 20px;
    padding: 16px 16px 16px 48px;
    min-height: 320px;
    text-decoration: none;
    transition: box-shadow .25s;
}
.featured-post-card:hover { box-shadow: var(--shadow); }

/* LEFT text */
.featured-post-body { order: 1; }
.featured-post-body h2 {
    font-family: var(--font);
    font-weight: 600;
    font-size: 38px;
    line-height: 52px;
    color: var(--navy);
    letter-spacing: -0.5px;
    margin-bottom: 16px;
}
.featured-post-body h2 a { color: inherit; }
.featured-post-body h2 a:hover { color: var(--green); }
.featured-post-body .feat-excerpt {
    font-family: var(--font);
    font-weight: 400;
    font-size: 20px;
    line-height: 28px;
    color: var(--muted);
    margin-bottom: 24px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.feat-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}
.feat-author { display: flex; align-items: center; gap: 10px; }
.feat-author-avatar {
    width: 40px; height: 40px; border-radius: 50%;
    object-fit: cover; flex-shrink: 0;
}
.feat-author-avatar.initials {
    display: flex; align-items: center; justify-content: center;
    background: var(--green-light); color: var(--green-dark);
    font-size: 13px; font-weight: 700;
}
.feat-author-info .author-name { font-size: 14px; font-weight: 600; color: var(--navy); line-height: 18px; }
.feat-author-info .author-date { font-size: 13px; color: var(--muted); line-height: 18px; }
.feat-read-time { font-size: 14px; color: var(--muted); }
/* Category pill — light blue style (image 6) */
.feat-cat-pill {
    display: inline-block;
    background: var(--blue-pill-bg);
    color: var(--blue-pill-tx);
    font-family: var(--font);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 5px 14px;
    border-radius: var(--radius-pill);
    text-decoration: none;
}

/* RIGHT image */
.featured-post-thumb {
    order: 2;
    border-radius: var(--radius-img);
    overflow: hidden;
    aspect-ratio: 16/10;
    background: linear-gradient(135deg, #c8d8f0 0%, #d4c8e8 100%);
    position: relative;
}
.featured-post-thumb img {
    width: 100%; height: 100%; object-fit: cover;
    display: block; transition: transform .4s;
}
.featured-post-card:hover .featured-post-thumb img { transform: scale(1.03); }
.no-feat-img {
    width: 100%; height: 100%; min-height: 240px;
    display: flex; align-items: center; justify-content: center;
    font-size: 40px; font-weight: 900; color: rgba(1,38,53,.15);
}

/* ==========================================================================
   POST GRID — 3 columns
   Image (radius 24px) → category pill + time → title → date
   NO excerpt, NO card border/shadow
   ========================================================================== */
.posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-bottom: 48px;
}

.post-card { background: transparent; display: flex; flex-direction: column; }
.post-card-link {
    display: flex; flex-direction: column; flex: 1;
    text-decoration: none;
}
.post-card-link:hover .post-card-thumb img { transform: scale(1.04); }

.post-card-thumb {
    border-radius: var(--radius-img);
    overflow: hidden;
    aspect-ratio: 3/2;
    margin-bottom: 16px;
    position: relative;
    flex-shrink: 0;
}
.post-card-thumb img {
    width: 100%; height: 100%; object-fit: cover;
    display: block; transition: transform .4s;
}
.no-card-img {
    width: 100%; height: 100%;
    display: flex; align-items: center; justify-content: center;
    font-size: 28px; font-weight: 900; color: rgba(1,38,53,.18);
}
/* Gradient placeholder colours */
.thumb-color-1 { background: linear-gradient(135deg, #c8d8f0, #d4c8e8); }
.thumb-color-2 { background: linear-gradient(135deg, #d4c8e8, #c8e8d4); }
.thumb-color-3 { background: linear-gradient(135deg, #c8e8d4, #c8d8f0); }
.thumb-color-4 { background: linear-gradient(135deg, #e8d4c8, #d4c8e8); }
.thumb-color-5 { background: linear-gradient(135deg, #f0c8d8, #c8d8f0); }
.thumb-color-6 { background: linear-gradient(135deg, #d8f0c8, #d4c8e8); }

.post-card-body { display: flex; flex-direction: column; flex: 1; }

/* Category pill + read time */
.card-meta-top {
    display: flex; align-items: center; gap: 12px; margin-bottom: 10px;
}
/* Category pill style — light blue (matches image 6) */
.card-cat-pill {
    display: inline-block;
    background: var(--blue-pill-bg);
    color: var(--blue-pill-tx);
    font-family: var(--font);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: var(--radius-pill);
    text-decoration: none;
}
.card-read-time { font-family: var(--font); font-size: 14px; color: var(--muted); }

/* Title — NO excerpt */
.post-card-body h3 {
    font-family: var(--font);
    font-weight: 600;
    font-size: 20px;
    line-height: 24px;
    color: var(--navy);
    margin-bottom: 8px;
    letter-spacing: -0.2px;
}
.post-card-body h3 a { color: inherit; text-decoration: none; }
.post-card-body h3 a:hover { color: var(--green); }
.card-date { font-family: var(--font); font-size: 13px; color: var(--muted); }

/* No posts */
.no-posts-msg { grid-column: 1/-1; text-align: center; padding: 80px 20px; }
.no-posts-msg h3 { font-size: 20px; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.no-posts-msg p { font-size: 15px; color: var(--muted); }
.no-posts-msg a { color: var(--green); }

/* ==========================================================================
   PAGINATION
   ========================================================================== */
.blog-pagination {
    display: flex; justify-content: center; align-items: center;
    gap: 6px; margin-top: 16px;
}
.blog-pagination .page-numbers {
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 38px; height: 38px; padding: 0 10px;
    background: #fff; border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-family: var(--font); font-size: 14px; font-weight: 500;
    color: var(--muted); transition: all .2s; text-decoration: none;
}
.blog-pagination .page-numbers:hover { border-color: var(--green); color: var(--green); }
.blog-pagination .page-numbers.current {
    background: var(--green); border-color: var(--green); color: #fff; font-weight: 700;
}
.blog-pagination .page-numbers.dots { border: none; background: none; }

/* ==========================================================================
   CTA SECTION — Blue box, rounded
   ========================================================================== */
.blog-cta-section { padding: 48px 24px; background: var(--bg-gray); }
.cta-box {
    max-width: var(--max-w); margin: 0 auto;
    background: #4472ca;
    border-radius: 20px; padding: 48px 40px;
    text-align: center; position: relative; overflow: hidden;
}
.cta-box::before {
    content: ''; position: absolute; top: -60px; left: -60px;
    width: 300px; height: 300px; border-radius: 50%;
    background: rgba(255,255,255,0.08); pointer-events: none;
}
.cta-box::after {
    content: ''; position: absolute; bottom: -80px; right: -40px;
    width: 340px; height: 340px; border-radius: 50%;
    background: rgba(255,255,255,0.08); pointer-events: none;
}
.cta-logo-block {
    display: flex; align-items: center; justify-content: center;
    gap: 10px; margin-bottom: 20px; position: relative; z-index: 1;
}
.cta-logo-icon {
    width: 32px; height: 32px; background: rgba(255,255,255,0.25);
    border-radius: 8px; display: flex; align-items: center; justify-content: center;
    color: #fff; flex-shrink: 0;
}
.cta-logo-text { font-family: var(--font); font-size: 18px; font-weight: 700; color: #fff; }
.cta-box h2 {
    font-family: var(--font); font-size: 28px; font-weight: 700;
    color: #fff; margin-bottom: 12px; position: relative; z-index: 1; line-height: 1.2;
}
.cta-box p {
    font-size: 16px; color: rgba(255,255,255,.85);
    margin-bottom: 24px; position: relative; z-index: 1;
}
.cta-box .cta-btn {
    display: inline-block; background: #fff; color: var(--text);
    font-family: var(--font); font-size: 15px; font-weight: 600;
    padding: 12px 32px; border-radius: var(--radius-pill);
    border: none; cursor: pointer; transition: opacity .2s, transform .15s;
    position: relative; z-index: 1; text-decoration: none;
}
.cta-box .cta-btn:hover { opacity: .92; transform: translateY(-1px); color: var(--text); }

/* ==========================================================================
   FOOTER — Dark teal, centered
   ========================================================================== */
.site-footer { background: var(--footer-bg); padding: 56px 24px 32px; }
.footer-inner { max-width: var(--max-w); margin: 0 auto; text-align: center; }
.footer-logo-block {
    display: inline-flex; align-items: center; gap: 10px; margin-bottom: 12px;
}
.footer-logo-block img,
.footer-logo-block svg { height: 38px; width: auto; }
.footer-tagline { font-family: var(--font); font-size: 15px; color: rgba(255,255,255,.7); margin-bottom: 28px; }
.footer-nav {
    display: flex; align-items: center; justify-content: center;
    flex-wrap: wrap; gap: 0; margin-bottom: 24px;
}
.footer-nav-item a {
    font-family: var(--font); font-size: 15px; color: #fff;
    padding: 4px 16px; transition: color .2s; text-decoration: none; display: block;
}
.footer-nav-item a:hover { color: var(--green); }
.footer-nav-sep { width: 1px; height: 16px; background: rgba(255,255,255,.25); }
.footer-divider { width: 100%; height: 1px; background: rgba(255,255,255,.12); margin-bottom: 24px; }
.footer-partner-bar {
    display: inline-flex; align-items: center; justify-content: center;
    background: rgba(255,255,255,.07); border-radius: var(--radius-pill);
    padding: 12px 28px; margin-bottom: 20px;
}
.footer-partner-bar p { font-family: var(--font); font-size: 14px; font-weight: 600; color: #fff; }
.footer-partner-bar p .green { color: var(--green); }
.footer-copyright { font-size: 14px; color: rgba(255,255,255,.4); }

/* ==========================================================================
   SINGLE POST PAGE
   ========================================================================== */

/* Breadcrumb */
.single-breadcrumb {
    font-family: var(--font); font-size: 13px; color: var(--muted);
    margin: 32px 0 24px;
    display: flex; align-items: center; gap: 6px; flex-wrap: wrap;
}
.single-breadcrumb a { color: var(--green); text-decoration: none; }
.single-breadcrumb a:hover { text-decoration: underline; }
.single-breadcrumb .sep { color: var(--light); }
/* Remove any blue underline links in breadcrumb */
.single-breadcrumb a:visited { color: var(--green); }

/* Hero section: left meta + right thumb */
.single-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
    margin-bottom: 48px;
}
.single-hero-left { order: 1; }
.single-hero-right { order: 2; }

.single-cat-pill {
    display: inline-block;
    background: var(--blue-pill-bg);
    color: var(--blue-pill-tx);
    font-family: var(--font); font-size: 11px; font-weight: 700;
    letter-spacing: 0.07em; text-transform: uppercase;
    padding: 5px 14px; border-radius: var(--radius-pill);
    margin-bottom: 16px; text-decoration: none;
}
.single-post-title {
    font-family: var(--font);
    font-size: 38px; font-weight: 700;
    line-height: 52px; color: var(--navy);
    letter-spacing: -0.8px; margin-bottom: 20px;
}
.single-post-subtitle {
    font-family: var(--font); font-size: 20px; font-weight: 400;
    line-height: 28px; color: var(--navy); margin-bottom: 24px;
}
.single-post-meta {
    display: flex; align-items: center; gap: 14px;
    font-size: 14px; color: var(--muted); flex-wrap: wrap;
}
.single-author-avatar {
    width: 40px; height: 40px; border-radius: 50%; object-fit: cover; flex-shrink: 0;
}
.single-author-avatar.initials {
    display: flex; align-items: center; justify-content: center;
    background: var(--green-light); color: var(--green-dark);
    font-size: 14px; font-weight: 700;
}
.single-meta-text { font-size: 14px; color: var(--muted); }
.single-meta-text strong { color: var(--navy); font-weight: 600; }
.single-meta-sep { color: var(--border); }

/* Hero right: thumbnail */
.single-hero-thumb {
    border-radius: var(--radius-img);
    overflow: hidden;
    aspect-ratio: 4/3;
    background: linear-gradient(135deg, #c8d8f0, #d4c8e8);
}
.single-hero-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ==========================================================================
   SINGLE POST — Two column layout
   LEFT sticky: table of contents + CTA card
   RIGHT: article content
   ========================================================================== */
.single-post-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 48px;
    align-items: start;
    margin-bottom: 60px;
}

/* LEFT sticky sidebar */
.single-sidebar {
    position: sticky;
    top: 140px; /* below sticky header */
    max-height: calc(100vh - 160px);
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--border) transparent;
}

/* Table of contents box */
.toc-box {
    background: var(--bg-gray);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 24px;
}
.toc-box h4 {
    font-family: var(--font); font-size: 13px; font-weight: 700;
    letter-spacing: 0.08em; text-transform: uppercase;
    color: var(--muted); margin-bottom: 12px;
}
.toc-list { list-style: none; padding: 0; margin: 0; }
.toc-list li { margin-bottom: 4px; }
.toc-list a {
    font-family: var(--font);
    font-size: 18px; font-weight: 600;
    line-height: 24px;
    color: #00BD82; /* exact spec: rgb(0,189,130) */
    text-decoration: none;
    display: block;
    padding: 4px 0;
    transition: color .2s;
    border-left: 2px solid transparent;
    padding-left: 10px;
}
.toc-list a:hover { color: var(--green); border-left-color: var(--green); }
.toc-list a.active { color: var(--green); border-left-color: var(--green); }

/* Sidebar CTA card */
.sidebar-cta {
    background: var(--green);
    border-radius: 12px;
    padding: 24px;
    text-align: center;
}
.sidebar-cta h3 {
    font-family: var(--font); font-size: 16px; font-weight: 700;
    color: #fff; margin-bottom: 8px; line-height: 22px;
}
.sidebar-cta p {
    font-size: 13px; color: rgba(255,255,255,.85);
    margin-bottom: 16px; line-height: 18px;
}
.sidebar-cta .sidebar-cta-btn {
    display: inline-block; background: #fff; color: var(--green);
    font-family: var(--font); font-size: 14px; font-weight: 700;
    padding: 10px 20px; border-radius: var(--radius-pill);
    text-decoration: none; transition: opacity .2s;
}
.sidebar-cta .sidebar-cta-btn:hover { opacity: .9; }

/* RIGHT article content */
.single-post-content {
    min-width: 0; /* prevent overflow */
}
.single-post-content p {
    font-family: var(--font); font-size: 20px; font-weight: 400;
    line-height: 28px; color: var(--navy);
    margin-bottom: 24px;
}
.single-post-content h2 {
    font-family: var(--font); font-size: 26px; font-weight: 700;
    color: var(--navy); margin: 40px 0 16px; letter-spacing: -0.3px;
    scroll-margin-top: 120px;
}
.single-post-content h3 {
    font-family: var(--font); font-size: 21px; font-weight: 600;
    color: var(--navy); margin: 32px 0 12px;
    scroll-margin-top: 120px;
}
.single-post-content h4 {
    font-family: var(--font); font-size: 18px; font-weight: 600;
    color: var(--navy); margin: 24px 0 10px;
    scroll-margin-top: 120px;
}
.single-post-content ul, .single-post-content ol {
    padding-left: 24px; margin-bottom: 24px;
}
.single-post-content li {
    font-size: 17px; line-height: 1.75; color: var(--navy);
    margin-bottom: 8px; list-style: disc;
}
.single-post-content ol li { list-style: decimal; }
.single-post-content blockquote {
    border-left: 4px solid var(--green); padding: 16px 24px;
    background: var(--green-light); border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    margin: 32px 0; font-size: 18px; font-style: italic; color: var(--navy);
}
.single-post-content img { width: 100%; border-radius: var(--radius-img); margin: 32px 0; }
/* Remove blue link styling from content */
.single-post-content a { color: var(--green); text-decoration: underline; }
.single-post-content a:visited { color: var(--green); }
.single-post-content code {
    background: var(--bg-gray); border: 1px solid var(--border);
    border-radius: 4px; padding: 2px 6px; font-size: 15px; font-family: monospace;
}
.single-post-content pre {
    background: var(--footer-bg); color: #e2e8f0;
    padding: 24px; border-radius: var(--radius-sm); overflow-x: auto; margin: 24px 0;
}
.single-post-content pre code { background: none; border: none; color: inherit; font-size: 14px; }
.single-post-content table { width: 100%; border-collapse: collapse; margin: 24px 0; font-size: 15px; }
.single-post-content th {
    background: var(--bg-gray); padding: 10px 14px; text-align: left;
    font-weight: 600; border: 1px solid var(--border);
}
.single-post-content td { padding: 10px 14px; border: 1px solid var(--border); color: var(--navy); }

/* Tags */
.single-post-tags {
    display: flex; gap: 8px; flex-wrap: wrap;
    margin: 32px 0; padding-top: 24px; border-top: 1px solid var(--border);
}
.tag-pill {
    background: var(--bg-gray); color: var(--muted);
    font-size: 12px; font-weight: 600; padding: 5px 14px;
    border-radius: var(--radius-pill); border: 1px solid var(--border);
    font-family: var(--font); text-decoration: none; transition: all .2s;
}
.tag-pill:hover { border-color: var(--green); color: var(--green); }

/* Related posts */
.related-posts-section { border-top: 1px solid var(--border); padding: 48px 0 64px; }
.related-posts-section h2 {
    font-family: var(--font); font-size: 22px; font-weight: 700;
    color: var(--navy); margin-bottom: 28px;
}

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

@media (max-width: 1024px) {
    .posts-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
    .single-post-layout { grid-template-columns: 240px 1fr; gap: 32px; }
    .featured-post-body h2 { font-size: 30px; line-height: 40px; }
    .single-post-title { font-size: 32px; line-height: 42px; }
}

@media (max-width: 768px) {
    /* Header mobile: announcement wraps, nav links stack */
    .header-announcement {
        padding: 8px 16px;
        flex-direction: column;
        gap: 6px;
        align-items: flex-start;
    }
    .ann-left { font-size: 13px; }
    .ann-right { gap: 16px; }
    .ann-right a { font-size: 13px; }
    .nav-inner { padding: 0 16px; height: 56px; }
    .header-cta-btn { font-size: 14px; padding: 8px 18px; }
    .site-logo img, .site-logo svg { height: 32px; }

    /* Blog header */
    .blog-page-header { padding: 24px 0 0; }
    .blog-header-top { margin-bottom: 16px; }
    .blog-header-top h1 { font-size: 22px; }

    /* Filter bar on mobile: show dropdown, hide pills */
    .filter-bar { flex-direction: column; align-items: stretch; gap: 12px; }
    .category-filters { display: none; } /* hide desktop pills */
    .filter-mobile-select {
        display: block;
        width: 100%;
        background: #fff;
        border: 1px solid var(--border);
        border-radius: 12px;
        color: var(--text);
        font-family: var(--font);
        font-size: 16px;
        font-weight: 400;
        padding: 14px 16px;
        outline: none;
        appearance: none;
        -webkit-appearance: none;
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
        background-repeat: no-repeat;
        background-position: right 16px center;
        cursor: pointer;
        box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    }
    .filter-mobile-select:focus { border-color: var(--green); }
    .blog-search-wrap { width: 100%; }

    /* Featured post: stacked on mobile */
    .featured-post-card {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 24px 20px;
    }
    .featured-post-thumb { order: 1; }
    .featured-post-body { order: 2; }
    /* Mobile featured title: 32px/32px 600 weight */
    .featured-post-body h2 { font-size: 32px; line-height: 32px; }
    .featured-post-body .feat-excerpt { font-size: 16px; line-height: 22px; }

    /* Grid: 1 column on mobile */
    /* Mobile grid title: 20px/24px 600 */
    .posts-grid { grid-template-columns: 1fr; gap: 28px; }
    .post-card-body h3 { font-size: 20px; line-height: 24px; }

    /* Single post */
    .single-hero { grid-template-columns: 1fr; gap: 24px; }
    .single-hero-right { order: 1; }
    .single-hero-left { order: 2; }
    .single-post-title { font-size: 26px; line-height: 34px; }
    .single-post-layout { grid-template-columns: 1fr; }
    .single-sidebar { position: static; max-height: none; }

    /* CTA */
    .cta-box { padding: 36px 24px; }
    .cta-box h2 { font-size: 22px; }

    /* Footer nav stacks */
    .footer-nav { flex-direction: column; gap: 4px; }
    .footer-nav-sep { display: none; }
    .footer-nav-item a { padding: 6px 0; }
    .footer-partner-bar { padding: 12px 16px; border-radius: 12px; }
    .footer-partner-bar p { font-size: 13px; }

    .container { padding: 0 16px; }
    .blog-main { padding: 32px 0 48px; }
}

@media (max-width: 480px) {
    .featured-post-body h2 { font-size: 26px; line-height: 30px; }
    .cta-box h2 { font-size: 20px; }
    .ann-right { gap: 12px; }
}

/* Admin bar fix */
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) {
    .admin-bar .site-header { top: 46px; }
}

/* ==========================================================================
   PATCH v4.1 — All fixes applied on top
   ========================================================================== */

/* ── HEADER: sticky gap fix ── */
.site-header {
    position: sticky;
    top: 0;
    z-index: 200;
    /* Prevent subpixel gap on scroll */
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    transform: translate3d(0,0,0);
    -webkit-transform: translate3d(0,0,0);
    margin-bottom: 0;
    padding-bottom: 0;
}
/* Kill any margin/padding that causes gap */
.site-header * { margin-top: 0; }
.header-announcement { margin: 0; padding-top: 0; }

/* ── HEADER announcement: text centered on desktop, right nav ── */
.header-announcement {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 9px 200px 9px 24px;
    background: var(--green);
    text-align: center;
}
.ann-center {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    justify-content: center;
    flex: 1;
}
.ann-icon { font-size: 16px; flex-shrink: 0; }
.ann-right {
    position: absolute;
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    gap: 24px;
    flex-shrink: 0;
}
.ann-right a {
    color: #fff;
    font-size: 14px;
    font-weight: 400;
    white-space: nowrap;
    text-decoration: none;
    transition: opacity .2s;
}
.ann-right a:hover { opacity: .75; }
/* Remove old ann-left */
.ann-left { display: none !important; }

/* ── BREADCRUMB exact style ── */
.single-breadcrumb {
    font-family: var(--font);
    font-size: 16px;
    font-weight: 400;
    color: rgb(21, 26, 40);
    line-height: 24px;
    margin: 32px 0 24px;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}
.single-breadcrumb a {
    color: rgb(21, 26, 40);
    text-decoration: none;
    transition: color .2s;
}
.single-breadcrumb a:hover { color: var(--green); }
.single-breadcrumb .sep { color: var(--light); margin: 0 2px; }

/* ── TOC: colors + wider width ── */
.single-post-layout {
    grid-template-columns: 320px 1fr;
    gap: 48px;
}
.toc-list a {
    font-family: var(--font);
    font-size: 18px;
    font-weight: 600;
    line-height: 24px;
    color: #012635;
    text-decoration: none;
    display: block;
    padding: 5px 0 5px 12px;
    border-left: 2px solid transparent;
    transition: color .2s, border-color .2s;
}
.toc-list a:hover,
.toc-list a.active {
    color: rgb(0, 189, 130);
    border-left-color: rgb(0, 189, 130);
}

/* ── SIDEBAR: sticky only for TOC, CTA below is normal flow ── */
.single-sidebar {
    position: sticky;
    top: 140px;
}
/* CTA NOT in sticky scroll — pulled out of sticky flow */
.sidebar-cta {
    position: relative;
    margin-top: 24px;
}

/* ── FOOTER: centered logo, correct alignment ── */
.site-footer { background: #0d1f2d; padding: 56px 24px 32px; }
.footer-inner { max-width: var(--max-w); margin: 0 auto; text-align: center; }
.footer-logo-block {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}
.footer-logo-block img { height: 40px; width: auto; }
.footer-tagline {
    font-family: var(--font);
    font-size: 16px;
    font-weight: 400;
    color: rgba(255,255,255,.7);
    margin-bottom: 24px;
    line-height: 24px;
}
.footer-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0;
    margin-bottom: 24px;
}
.footer-nav-item a {
    font-family: var(--font);
    font-size: 15px;
    font-weight: 400;
    color: #fff;
    padding: 4px 16px;
    text-decoration: none;
    transition: color .2s;
    display: block;
}
.footer-nav-item a:hover { color: var(--green); }
.footer-nav-sep { width: 1px; height: 18px; background: rgba(255,255,255,.3); align-self: center; }
.footer-divider { width: 100%; height: 1px; background: rgba(255,255,255,.15); margin-bottom: 24px; }
.footer-partner-bar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,.07);
    border-radius: 100px;
    padding: 14px 32px;
    margin-bottom: 20px;
    max-width: 90%;
}
.footer-partner-bar p {
    font-family: var(--font);
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    line-height: 22px;
    text-align: center;
}
.footer-partner-bar .green { color: #06AB78; }
.footer-copyright { font-size: 14px; color: rgba(255,255,255,.4); line-height: 20px; }

/* ── PAGINATION: works with /blog/2/ style URLs ── */
.blog-pagination { display: flex; justify-content: center; align-items: center; gap: 6px; margin-top: 24px; padding-bottom: 24px; }
.blog-pagination .page-numbers {
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 38px; height: 38px; padding: 0 10px;
    background: #fff; border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-family: var(--font); font-size: 14px; font-weight: 500;
    color: var(--muted); text-decoration: none; transition: all .2s;
}
.blog-pagination .page-numbers:hover { border-color: var(--green); color: var(--green); }
.blog-pagination .page-numbers.current { background: var(--green); border-color: var(--green); color: #fff; font-weight: 700; }
.blog-pagination .page-numbers.dots { border: none; background: none; pointer-events: none; }

/* ── MOBILE PATCHES ── */
@media (max-width: 768px) {
    /* Header announcement: stack on mobile */
    .header-announcement {
        padding: 8px 16px;
        flex-direction: column;
        gap: 6px;
        position: relative;
        text-align: left;
    }
    .ann-center { justify-content: flex-start; font-size: 13px; }
    .ann-right {
        position: static;
        transform: none;
        gap: 12px;
    }
    .ann-right a { font-size: 12px; }

    /* Footer mobile: left aligned, nav wraps */
    .footer-inner { text-align: left; }
    .footer-logo-block { justify-content: flex-start; }
    .footer-nav { justify-content: flex-start; }
    .footer-nav-sep { display: none; }
    .footer-nav-item a { padding: 4px 0; font-size: 14px; }
    .footer-partner-bar { border-radius: 16px; padding: 14px 20px; max-width: 100%; }
    .footer-partner-bar p { font-size: 13px; text-align: left; }

    /* TOC and sidebar on mobile: no sticky */
    .single-post-layout { grid-template-columns: 1fr; }
    .single-sidebar { position: static; }
    .toc-list a { font-size: 16px; }

    /* Breadcrumb */
    .single-breadcrumb { font-size: 14px; }
}

@media (max-width: 480px) {
    .ann-right { gap: 10px; }
    .footer-partner-bar p { font-size: 12px; }
}

/* ==========================================================================
   PATCH v4.2
   ========================================================================== */

/* ── Remove admin-bar header offsets completely ── */
.admin-bar .site-header { top: 0 !important; }
@media (max-width: 782px) { .admin-bar .site-header { top: 0 !important; } }
/* Let WordPress admin bar handle its own space above content naturally */
.admin-bar { padding-top: 0 !important; }

/* ── CTA section: use brand logo (white SVG), centered ── */
.cta-logo-block {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}
.cta-logo-block img { height: 40px; width: auto; filter: brightness(0) invert(1); }
/* Hide old icon+text fallback */
.cta-logo-icon,
.cta-logo-text { display: none !important; }

/* ── FOOTER: always centered — desktop AND mobile ── */
.site-footer { background: #0d1f2d; padding: 56px 24px 32px; }
.footer-inner {
    max-width: var(--max-w);
    margin: 0 auto;
    text-align: center !important;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.footer-logo-block {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    width: 100%;
}
.footer-logo-block img { height: 40px; width: auto; }
.footer-tagline {
    text-align: center;
    width: 100%;
    font-size: 16px;
    color: rgba(255,255,255,.7);
    margin-bottom: 24px;
}
.footer-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0;
    margin-bottom: 24px;
    width: 100%;
}
.footer-nav-item a {
    font-size: 15px;
    color: #fff;
    padding: 4px 16px;
    text-decoration: none;
    transition: color .2s;
    display: block;
    white-space: nowrap;
}
.footer-nav-item a:hover { color: #06AB78; }
.footer-nav-sep { width: 1px; height: 18px; background: rgba(255,255,255,.3); align-self: center; }
.footer-divider { width: 100%; height: 1px; background: rgba(255,255,255,.15); margin-bottom: 24px; }
.footer-partner-bar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,.07);
    border-radius: 100px;
    padding: 14px 32px;
    margin-bottom: 20px;
    max-width: 90%;
}
.footer-partner-bar p {
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    line-height: 22px;
    text-align: center;
}
.footer-partner-bar .green { color: #06AB78; }
.footer-copyright { font-size: 14px; color: rgba(255,255,255,.4); text-align: center; }

/* Mobile footer — SAME centered alignment (override previous left-align patch) */
@media (max-width: 768px) {
    .footer-inner { text-align: center !important; align-items: center !important; }
    .footer-logo-block { justify-content: center !important; }
    .footer-nav { justify-content: center !important; }
    .footer-nav-sep { display: inline-flex !important; }
    .footer-partner-bar { border-radius: 16px; padding: 14px 20px; }
    .footer-partner-bar p { text-align: center; }
}

/* ==========================================================================
/* ==========================================================================
/* NAV */
.primary-nav { display:flex; align-items:center; flex:0 0 auto; margin-left:12px; }
.nav-list { display:flex; align-items:center; list-style:none; margin:0; padding:0; }
.nav-item { position:static; }
.nav-link { display:inline-flex; align-items:center; gap:5px; background:none; border:none; padding:0 18px; height:64px; font-family:var(--font); font-size:15px; font-weight:500; color:#0d1f2d; cursor:pointer; white-space:nowrap; text-decoration:none; transition:color .2s; position:relative; }
.nav-link::after { content:''; position:absolute; bottom:0; left:18px; right:18px; height:2px; background:#06AB78; transform:scaleX(0); transition:transform .2s; }
.nav-link:hover, .nav-item.is-open > .nav-link { color:#06AB78; }
.nav-item.is-open > .nav-link::after { transform:scaleX(1); }
.nav-chevron { transition:transform .25s; flex-shrink:0; }
.nav-item.is-open > .nav-link .nav-chevron { transform:rotate(180deg); }

/* HEADER NAV BAR: positioning context for mega menu */
.header-nav-bar { position:relative; }

/* MEGA MENU: full width of header-nav-bar */
.mega-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 100%;
    background: #fff;
    border-top: 1px solid #e8eaed;
    box-shadow: 0 8px 32px rgba(0,0,0,0.10);
    z-index: 9999;
}
.nav-item.is-open > .mega-menu { display:block; }

.mega-menu-inner { max-width:1224px; margin:0 auto; padding:32px 24px 28px; display:flex; gap:0; align-items:flex-start; }

/* Why ZeitBlast: col1 gray, col2 white, col3 features */
.mega-menu:not(.mega-menu-solutions) .mega-col:nth-child(1) { flex:0 0 280px; background:#f5f6fa; border-radius:14px; padding:20px 24px; margin-right:32px; }
.mega-menu:not(.mega-menu-solutions) .mega-col:nth-child(2) { flex:1; padding:0 32px 0 0; }
.mega-menu:not(.mega-menu-solutions) .mega-col:nth-child(3) { flex:0 0 380px; border-left:1px solid #e8eaed; padding-left:32px; }

/* Solutions: 4 equal cols */
.mega-menu-solutions .mega-col { flex:1; padding:0 20px; }
.mega-menu-solutions .mega-col:first-child { padding-left:0; }
.mega-menu-solutions .mega-col:last-child { padding-right:0; }
.mega-menu-solutions .mega-col-highlight { background:#f5f6fa; border-radius:12px; padding:16px 20px; }

.mega-col-heading { font-family:var(--font); font-size:12px; font-weight:700; letter-spacing:.06em; text-transform:uppercase; color:#0d1f2d; margin-bottom:8px; }
.mega-col-sub { font-family:var(--font); font-size:14px; color:#6b7280; line-height:1.5; margin-bottom:16px; }

.mega-link-list { list-style:none; padding:0; margin:0 0 16px; }
.mega-link-list li { display:flex; align-items:flex-start; margin-bottom:10px; }
.mega-link-list li::before { content:'•'; color:#06AB78; font-size:14px; font-weight:700; margin-right:8px; flex-shrink:0; }
.mega-link-list a, .mega-link-list span { font-family:var(--font); font-size:14px; font-weight:400; color:#0d1f2d; text-decoration:none; line-height:1.4; }
.mega-link-list a:hover { color:#06AB78; }

.mega-footer-link { font-family:var(--font); font-size:14px; font-weight:700; color:#0d1f2d; text-decoration:none; display:inline-flex; align-items:center; gap:4px; margin-top:12px; transition:color .15s; }
.mega-footer-link:hover { color:#06AB78; }

.mega-features-grid { display:grid; grid-template-columns:1fr 1fr; gap:14px 12px; margin-bottom:16px; }
.mega-feature-item { display:flex; align-items:center; gap:10px; font-family:var(--font); font-size:14px; color:#0d1f2d; text-decoration:none; transition:color .15s; }
.mega-feature-item:hover { color:#06AB78; }
.feat-icon { width:32px; height:32px; background:#e6f7f1; border-radius:8px; display:flex; align-items:center; justify-content:center; flex-shrink:0; }

.mega-bottom-bar { display:flex; align-items:center; justify-content:space-between; background:#0d1f2d; padding:16px 24px; gap:20px; max-width:1224px; margin:0 auto; border-radius:12px; margin-bottom:20px; }
.mega-bottom-bar-left strong { font-family:var(--font); font-size:14px; font-weight:700; color:#fff; display:block; margin-bottom:2px; }
.mega-bottom-bar-left span { font-family:var(--font); font-size:13px; color:rgba(255,255,255,.7); }
.mega-bottom-bar-btn { background:#fff; color:#0d1f2d; font-family:var(--font); font-size:14px; font-weight:700; padding:9px 22px; border-radius:100px; text-decoration:none; flex-shrink:0; }
.mega-bottom-bar-btn:hover { opacity:.88; }

/* Solutions col headings: not uppercase */
.mega-menu-solutions .mega-col:nth-child(1) .mega-col-heading,
.mega-menu-solutions .mega-col:nth-child(2) .mega-col-heading { text-transform:none; letter-spacing:0; font-size:14px; font-weight:600; }

/* MOBILE */
.mob-hamburger { display:none; background:none; border:none; cursor:pointer; padding:4px; align-items:center; justify-content:center; flex-shrink:0; }
.mob-menu { display:none; position:fixed; inset:0; background:#fff; z-index:99999; flex-direction:column; overflow-y:auto; }
.mob-menu.is-open { display:flex; }
body.mob-menu-open { overflow:hidden; }
.mob-menu-top { display:flex; align-items:center; justify-content:space-between; padding:12px 16px; border-bottom:1px solid #e5e7eb; flex-shrink:0; }
.mob-logo img { height:34px; width:auto; }
.mob-menu-top-right { display:flex; align-items:center; gap:10px; }
.mob-top-cta { background:#06AB78; color:#fff; font-family:var(--font); font-size:14px; font-weight:600; padding:8px 18px; border-radius:100px; text-decoration:none; }
.mob-close { background:none; border:none; cursor:pointer; padding:4px; display:flex; }
.mob-menu-body { flex:1; overflow-y:auto; }
.mob-acc-item { border-bottom:1px solid #e5e7eb; }
.mob-acc-trigger { width:100%; display:flex; align-items:center; justify-content:space-between; background:none; border:none; cursor:pointer; padding:16px; font-family:var(--font); font-size:16px; font-weight:500; color:#0d1f2d; text-align:left; }
.mob-acc-trigger[aria-expanded="true"] { color:#06AB78; }
.mob-acc-trigger[aria-expanded="true"] .mob-acc-chev { transform:rotate(90deg); color:#06AB78; }
.mob-acc-chev { flex-shrink:0; transition:transform .25s; color:#9ca3af; }
.mob-acc-panel { display:none; padding:0 16px 16px; }
.mob-acc-panel.is-open { display:block; }
.mob-section-box { background:#f7f8fa; border-radius:12px; padding:14px 16px; margin-bottom:14px; }
.mob-section-plain { padding:0 0 14px; }
.mob-section-hd { font-size:10px; font-weight:700; letter-spacing:.08em; text-transform:uppercase; color:#0d1f2d; margin-bottom:4px; }
.mob-section-hd-dark { font-size:13px; font-weight:600; color:#0d1f2d; margin-bottom:10px; }
.mob-section-sub { font-size:11px; color:#6b7280; line-height:1.4; margin-bottom:10px; }
.mob-link-list { list-style:none; padding:0; margin:0 0 10px; }
.mob-link-list li { margin-bottom:8px; display:flex; align-items:flex-start; gap:6px; font-size:13px; }
.mob-link-list li::before { content:'•'; color:#06AB78; font-size:9px; margin-top:2px; flex-shrink:0; }
.mob-link-list a { color:#0d1f2d; text-decoration:none; }
.mob-link-list span { color:#0d1f2d; }
.mob-footer-link { font-size:13px; font-weight:700; color:#0d1f2d; text-decoration:none; display:inline-flex; align-items:center; gap:3px; }
.mob-footer-link:hover { color:#06AB78; }
.mob-feat-list { list-style:none; padding:0; margin:0 0 10px; }
.mob-feat-list li { margin-bottom:12px; }
.mob-feat-item { display:flex; align-items:center; gap:10px; font-family:var(--font); font-size:14px; color:#0d1f2d; text-decoration:none; }
.mob-feat-item--plain { cursor:default; }
.mob-feat-icon { width:28px; height:28px; background:#e6f7f1; border-radius:7px; display:flex; align-items:center; justify-content:center; flex-shrink:0; }
.mob-book-demo { background:#0d1f2d; border-radius:12px; padding:16px; margin-top:8px; }
.mob-book-title { font-size:13px; font-weight:700; color:#fff; margin-bottom:4px; }
.mob-book-sub { font-size:11px; color:rgba(255,255,255,.6); line-height:1.4; margin-bottom:10px; }
.mob-book-link { font-size:12px; font-weight:700; color:#fff; text-decoration:none; display:inline-flex; align-items:center; gap:3px; }
.mob-plain-link-row { border-bottom:1px solid #e5e7eb; padding:16px; }
.mob-plain-link { font-family:var(--font); font-size:16px; font-weight:500; color:#0d1f2d; text-decoration:none; display:block; }
.mob-bottom-cta { padding:20px 16px; display:flex; justify-content:center; }
.mob-cta-btn { background:#06AB78; color:#fff; font-family:var(--font); font-size:15px; font-weight:600; padding:11px 40px; border-radius:100px; text-decoration:none; display:inline-block; }

@media (min-width:961px) { .mob-hamburger { display:none !important; } }
@media (max-width:960px) { .primary-nav { display:none !important; } .header-cta-btn { display:none !important; } .mob-hamburger { display:flex !important; } .mega-menu { display:none !important; } }

/* ── HEADING ALIGNMENT + SPACING FIX ── */

/* All columns start from same top line */
.mega-menu-inner {
    align-items: flex-start !important;
}

/* Remove any top margin/padding on headings */
.mega-col-heading {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* Why ZeitBlast: col2 and col3 heading flush to top */
.mega-menu:not(.mega-menu-solutions) .mega-col:nth-child(2),
.mega-menu:not(.mega-menu-solutions) .mega-col:nth-child(3) {
    padding-top: 0 !important;
    margin-top: 0 !important;
}

/* Remove extra gap between col2 and col3 */
.mega-menu:not(.mega-menu-solutions) .mega-col:nth-child(2) {
    padding-right: 24px !important;
}
.mega-menu:not(.mega-menu-solutions) .mega-col:nth-child(3) {
    padding-left: 24px !important;
}

/* Solutions: all col headings same top */
.mega-menu-solutions .mega-col {
    padding-top: 0 !important;
    margin-top: 0 !important;
}
.mega-menu-solutions .mega-col-highlight {
    padding-top: 16px !important;
}
/* Non-highlighted cols: heading same visual top as highlighted box */
.mega-menu-solutions .mega-col:not(.mega-col-highlight) .mega-col-heading {
    margin-top: 0 !important;
    line-height: 1.2;
}

/* Reduce overall mega menu padding */
.mega-menu-inner {
    padding: 24px 24px 24px !important;
}

/* HEADING TOP-ALIGN FIX */
.mega-menu-inner {
    align-items: flex-start !important;
}
.mega-menu:not(.mega-menu-solutions) .mega-col:nth-child(1) {
    align-self: flex-start !important;
}
.mega-menu:not(.mega-menu-solutions) .mega-col:nth-child(2),
.mega-menu:not(.mega-menu-solutions) .mega-col:nth-child(3) {
    align-self: flex-start !important;
    padding-top: 0 !important;
    margin-top: 0 !important;
}
.mega-menu:not(.mega-menu-solutions) .mega-col:nth-child(2) .mega-col-heading,
.mega-menu:not(.mega-menu-solutions) .mega-col:nth-child(3) .mega-col-heading {
    margin-top: 0 !important;
    padding-top: 0 !important;
}
/* Solutions all cols top-aligned */
.mega-menu-solutions .mega-col,
.mega-menu-solutions .mega-col-highlight {
    align-self: flex-start !important;
    padding-top: 0 !important;
}
.mega-menu-solutions .mega-col .mega-col-heading {
    margin-top: 0 !important;
    padding-top: 0 !important;
}
.mega-menu-solutions .mega-col-highlight .mega-col-heading {
    margin-top: 0 !important;
}

/* HEADING TOP ALIGNMENT FIX */
.mega-menu:not(.mega-menu-solutions) .mega-col:nth-child(2) .mega-col-heading,
.mega-menu:not(.mega-menu-solutions) .mega-col:nth-child(3) .mega-col-heading {
    padding-top: 20px !important;
}
.mega-menu-solutions .mega-col:nth-child(1) .mega-col-heading,
.mega-menu-solutions .mega-col:nth-child(3) .mega-col-heading,
.mega-menu-solutions .mega-col:nth-child(4) .mega-col-heading {
    padding-top: 16px !important;
}
