/*
Theme Name: Trigger IT theme
Description: Modern WordPress theme with ACF blocks and Tailwind CSS
Author: Alexander Yudaev
Version: 2.0.0
Text Domain: triggerit

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/

:root {
    --color-coral: #E8314D;
    --color-coral-deep: #C9213D;
    --color-teal: #5EC8D6;
    --color-teal-deep: #3FAEBC;
    --color-charcoal: #58585A;
    --color-ink: #1A1A1C;
    /* Warm tones drawn from the hero image — cream, peach, blush */
    --color-cream: #FBF6F1;
    --color-cream-deep: #F4ECE3;
    --color-peach-glow: rgba(232,49,77,0.05);
    --color-warm-edge: rgba(232,49,77,0.10);
    --color-marker: #D9F22A;
    --ease-premium: cubic-bezier(0.16, 1, 0.3, 1);
}

html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
    font-family: 'Heebo', system-ui, sans-serif;
    color: var(--color-charcoal);
    background: #FFFFFF;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

/* Display headings (English, oversized) */
.display-en {
    font-family: 'Heebo', system-ui, sans-serif;
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 0.95;
    color: var(--color-ink);
    text-align: left;
    direction: ltr;
}

.he-body { letter-spacing: -0.005em; line-height: 1.75; }

/* Hairline divider used in Why Choose Us */
.hairline {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(229,229,229,1) 12%, rgba(229,229,229,1) 88%, transparent);
}

/* Header glass */
.header-glass {
    background: rgba(255,255,255,0.82);
    backdrop-filter: saturate(180%) blur(14px);
    -webkit-backdrop-filter: saturate(180%) blur(14px);
}

/* Nav links — active gets teal indicator (per brief) */
.nav-link {
    position: relative;
    transition: color 250ms var(--ease-premium);
    color: var(--color-charcoal);
}
.nav-link::after {
    content: '';
    position: absolute;
    inset-inline-start: 50%;
    transform: translateX(50%) scaleX(0);
    bottom: -8px;
    height: 2px;
    width: 22px;
    background: var(--color-teal);
    transform-origin: center;
    transition: transform 320ms var(--ease-premium);
}
.nav-link:hover { color: var(--color-ink); }
.nav-link:hover::after,
.nav-link.is-active::after { transform: translateX(50%) scaleX(1); }
.nav-link.is-active { color: var(--color-ink); font-weight: 600; }

/* Hero — full-bleed shopper image background */
.hero-bg {
    position: absolute; inset: 0; pointer-events: none; z-index: 0;
    /*background-image: url("brand_assets/hero-bg.png");*/
    background-size: cover;
    background-position: top left;
    background-repeat: no-repeat;
}
/* Soft top-left highlight so headline pops against the blank corner */
.hero-vignette {
    position: absolute; inset: 0; pointer-events: none; z-index: 0;
    background:
            radial-gradient(60% 60% at 12% 22%, rgba(255,255,255,0.55), transparent 60%);
}

/* Subtle grain — only used in atmospheric sections */
.grain {
    position: absolute; inset: 0; pointer-events: none;
    opacity: 0.35; mix-blend-mode: multiply;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 0.04 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

/* Service / Industry / Press / Blog cards */
.card-base {
    background: #FFFFFF;
    border: 1px solid var(--color-gray-200, #E5E5E5);
    border-radius: 16px;
    transition: transform 380ms var(--ease-premium), box-shadow 380ms var(--ease-premium), border-color 380ms var(--ease-premium);
}
.service-card:hover {
    transform: translateY(-4px);
    border-color: rgba(232,49,77,0.45);
    box-shadow: 0 2px 4px rgba(232,49,77,0.06), 0 24px 48px -16px rgba(232,49,77,0.20);
}
.service-card:hover .feat-icon-bg { background: var(--color-coral); }
.service-card:hover .feat-icon { color: #fff; }
.feat-icon-bg, .feat-icon { transition: background 380ms var(--ease-premium), color 380ms var(--ease-premium); }

.industry-card { transition: background 280ms var(--ease-premium), border-color 280ms var(--ease-premium); }
.industry-card:hover { background: #F8F8F8; }

.press-card:hover { transform: translateY(-4px); box-shadow: 0 2px 4px rgba(26,26,28,0.04), 0 20px 40px -16px rgba(26,26,28,0.14); }
.press-card:hover .marker-sticker { transform: rotate(-13deg); }

.blog-card .blog-img-wrap { overflow: hidden; }
.blog-card .blog-img { transition: transform 600ms var(--ease-premium); }
.blog-card:hover .blog-img { transform: scale(1.05); }
.blog-card:hover { box-shadow: 0 2px 4px rgba(26,26,28,0.04), 0 20px 40px -16px rgba(26,26,28,0.14); transform: translateY(-2px); }
.blog-card:hover .blog-title { background-image: linear-gradient(transparent calc(100% - 2px), var(--color-coral) 2px); background-size: 100% 100%; }
.blog-title {
    background-image: linear-gradient(transparent calc(100% - 2px), var(--color-coral) 2px);
    background-repeat: no-repeat;
    background-size: 0% 100%;
    transition: background-size 380ms var(--ease-premium);
}

/* Client placeholder cells — TEAL hover (per brief) */
.client-cell {
    background: #FFFFFF;
    border: 1px solid var(--color-gray-200, #E5E5E5);
    border-radius: 12px;
    transition: transform 280ms var(--ease-premium), box-shadow 280ms var(--ease-premium), border-color 280ms var(--ease-premium);
}
.client-cell:hover {
    border-color: rgba(94,200,214,0.45);
    box-shadow: 0 2px 4px rgba(94,200,214,0.08), 0 16px 32px -12px rgba(94,200,214,0.22);
    transform: translateY(-2px);
}

/* Buttons */
.btn-primary {
    background: var(--color-coral); color: #fff;
    transition: background 220ms var(--ease-premium), transform 220ms var(--ease-premium), box-shadow 220ms var(--ease-premium);
    box-shadow: 0 1px 0 rgba(255,255,255,0.18) inset, 0 8px 20px -8px rgba(232,49,77,0.55);
}
.btn-primary:hover { background: var(--color-coral-deep); transform: translateY(-1px); box-shadow: 0 1px 0 rgba(255,255,255,0.18) inset, 0 14px 28px -10px rgba(232,49,77,0.65); }
.btn-primary:active { transform: translateY(0); }
.btn-primary:focus-visible { outline: 2px solid var(--color-teal); outline-offset: 3px; }

.icon-btn {
    width: 40px; height: 40px;
    border: 1px solid var(--color-gray-200, #E5E5E5);
    border-radius: 8px;
    color: var(--color-charcoal);
    transition: background 220ms var(--ease-premium), color 220ms var(--ease-premium), border-color 220ms var(--ease-premium);
    display: inline-flex; align-items: center; justify-content: center;
}
.icon-btn:hover { background: var(--color-ink); color: #fff; border-color: var(--color-ink); }
.icon-btn:focus-visible { outline: 2px solid var(--color-teal); outline-offset: 3px; }

.arrow-rtl { transform: scaleX(-1); }

/* TheMarker stickers (Caveat — sole exception to Heebo+Inter) */
.marker-sticker {
    font-family: 'Caveat', cursive;
    font-weight: 700;
    background: var(--color-marker);
    color: var(--color-ink);
    padding: 6px 14px 4px;
    border-radius: 4px;
    transform: rotate(-15deg);
    transform-origin: center;
    box-shadow: 0 2px 4px rgba(26,26,28,0.10), 0 6px 14px -6px rgba(26,26,28,0.14);
    transition: transform 360ms var(--ease-premium);
    line-height: 1;
    letter-spacing: 0.01em;
    display: inline-block;
}

/* Form bottom-border inputs */
.wpcf7-form {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    column-gap: 2rem;
    row-gap: 1.75rem;
}

@media (min-width: 640px) {
    .wpcf7-form {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
.field {
    width: 100%;
    border: 0;
    border-bottom: 1px solid var(--color-charcoal);
    background: transparent;
    padding: 10px 2px;
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 16px;
    color: var(--color-ink);
    transition: border-color 220ms var(--ease-premium);
}
.field::placeholder { color: rgba(122,122,124,0.7); font-family: 'Heebo', system-ui, sans-serif; }
.field:focus { outline: none; border-bottom-color: var(--color-coral); }
textarea.field { resize: vertical; min-height: 96px; }
.label {
    display: block; font-family: 'Inter', system-ui, sans-serif;
    font-weight: 500; font-size: 13px; color: var(--color-charcoal);
    letter-spacing: 0.04em; text-transform: uppercase;
    margin-bottom: 8px;
}

/* Phone with prefix adornment */
.phone-wrap { position: relative; }
.phone-wrap .prefix {
    direction: ltr;
    position: absolute;
    inset-inline-start: 2px;
    top: 10px;
    font-family: 'Inter', system-ui, sans-serif;
    color: var(--color-charcoal);
    font-size: 16px;
    pointer-events: none;
}
.phone-wrap .field { padding-inline-start: 44px; }

.wpcf7-form br{
    display: none;
}
.wpcf7-form .btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 2.5rem;
    border-radius: 9999px;
    font-weight: 500;
    font-size: 15px;
    min-width:180px;
}

/* Reveal-on-scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 700ms var(--ease-premium), transform 700ms var(--ease-premium); }
.reveal.in { opacity: 1; transform: translateY(0); }

/* Contact / Stay Connected — warm cream wash matching the hero theme */
.contact-bg {
    position: relative;
    isolation: isolate;
    background:
            radial-gradient(50% 45% at 100% 0%, rgba(232,49,77,0.08), transparent 65%),
            radial-gradient(45% 50% at 0% 100%, rgba(244,196,176,0.22), transparent 65%),
            linear-gradient(180deg, var(--color-cream) 0%, var(--color-cream-deep) 100%);
}
.contact-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    opacity: 0.5;
    background-image:
            radial-gradient(circle at 1px 1px, rgba(232,49,77,0.12) 1px, transparent 1.5px);
    background-size: 28px 28px;
    -webkit-mask-image: radial-gradient(55% 60% at 100% 0%, #000 0%, transparent 75%);
    mask-image: radial-gradient(55% 60% at 100% 0%, #000 0%, transparent 75%);
}
.contact-bg > * { position: relative; z-index: 1; }

/* Author avatar SVG initials block */
.avatar {
    width: 36px; height: 36px; border-radius: 9999px;
    background: linear-gradient(135deg, rgba(232,49,77,0.12), rgba(94,200,214,0.16));
    color: var(--color-ink);
    display: inline-flex; align-items: center; justify-content: center;
    font-family: 'Inter', system-ui, sans-serif; font-weight: 600; font-size: 13px;
    border: 1px solid var(--color-gray-200, #E5E5E5);
}

/* Emphasize Trigger-it inside body paragraphs */
.about-section strong,
.triggerit-mark { color: var(--color-coral); font-weight: 700; }

/* Sparkle accent (Why Choose Us) — uses teal for tonal balance */
.sparkle-bg {
    width: 48px; height: 48px; border-radius: 12px;
    background: linear-gradient(135deg, rgba(94,200,214,0.16), rgba(232,49,77,0.08));
    border: 1px solid rgba(94,200,214,0.30);
    display: inline-flex; align-items: center; justify-content: center;
    color: var(--color-teal-deep);
    flex-shrink: 0;
}

/* ─────────── Why Choose Us — big stats ─────────── */
.stat-card {
    position: relative;
    padding: 36px 32px 30px;
    border-radius: 20px;
    background: #fff;
    border: 1px solid var(--color-gray-200, #E5E5E5);
    overflow: hidden;
    transition: transform 380ms var(--ease-premium), box-shadow 380ms var(--ease-premium), border-color 380ms var(--ease-premium);
}
.stat-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(60% 90% at 100% 0%, rgba(232,49,77,0.07), transparent 60%);
    pointer-events: none;
}
.stat-card:hover {
    transform: translateY(-4px);
    border-color: rgba(232,49,77,0.45);
    box-shadow: 0 2px 4px rgba(232,49,77,0.05), 0 24px 48px -16px rgba(232,49,77,0.18);
}
.stat-num {
    font-family: 'Inter', system-ui, sans-serif;
    font-weight: 800;
    font-size: clamp(56px, 9vw, 108px);
    line-height: 0.95;
    letter-spacing: -0.04em;
    color: var(--color-coral);
    font-variant-numeric: tabular-nums;
    display: inline-flex;
    align-items: baseline;
}
.stat-num .stat-sfx,
.stat-num .stat-pfx {
    font-size: 0.42em;
    color: var(--color-coral);
    font-weight: 700;
    transform: translateY(-0.05em);
}
.stat-num .stat-sfx { margin-inline-start: 4px; }
.stat-num .stat-pfx { margin-inline-end: 6px; }
.stat-divider {
    height: 2px;
    width: 40px;
    background: var(--color-coral);
    margin: 16px 0 14px;
    border-radius: 2px;
    opacity: 0.9;
}
.stat-label-en {
    font-family: 'Inter', system-ui, sans-serif;
    font-weight: 600;
    font-size: 11px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--color-charcoal-soft, #6E6E73);
}
.stat-label-he {
    font-family: 'Heebo', sans-serif;
    font-weight: 500;
    font-size: 16px;
    line-height: 1.55;
    color: var(--color-charcoal);
    margin-top: 6px;
    direction: rtl;
}

/* About — collage graphic with fade toward the text */
.about-collage-wrap {
    position: relative;
    width: 100%;
    max-width: 320px;
    -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 38%, #000 100%);
    mask-image: linear-gradient(to right, transparent 0%, #000 38%, #000 100%);
}
.about-collage {
    display: block;
    width: 100%;
    height: auto;
}
.collage-card { fill: #FFFDFB; stroke: rgba(232,49,77,0.25); stroke-width: 1; }
.collage-card-shadow { fill: rgba(26,26,28,0.04); }
.collage-hairline { stroke: rgba(88,88,90,0.22); stroke-width: 1; }
.collage-grid { stroke: rgba(88,88,90,0.18); stroke-width: 0.75; }
.collage-label {
    font-family: 'Inter', system-ui, sans-serif;
    font-weight: 600;
    font-size: 8px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    fill: var(--color-charcoal-soft, #6E6E73);
}
.collage-figure {
    font-family: 'Inter', system-ui, sans-serif;
    font-weight: 700;
    fill: var(--color-coral);
}
.collage-bar { fill: rgba(232,49,77,0.18); }
.collage-bar-top { fill: var(--color-coral); }
.collage-line { fill: none; stroke: var(--color-coral); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.collage-coral-cell { fill: rgba(232,49,77,0.18); }
.collage-data-dot { fill: rgba(88,88,90,0.45); }

/* Reduced motion respect */
@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
    html { scroll-behavior: auto; }
}

/* ─────────── Hero-themed warm palette site-wide ─────────── */
/* Body picks up the same cream → blush wash as the hero, very low intensity. */
body.home {
    background:
            radial-gradient(60% 50% at 100% 0%, rgba(232,49,77,0.045), transparent 65%),
            radial-gradient(70% 60% at 0% 100%, rgba(244,196,176,0.18), transparent 65%),
            linear-gradient(180deg, #FFFFFF 0%, var(--color-cream) 60%, var(--color-cream-deep) 100%);
    background-attachment: fixed;
}

/* Override Tailwind's bg-gray-50 to our cream so alternating sections
   read as "warm cream" instead of cold gray. */
.bg-gray-50 {
    /*background-color: var(--color-cream) !important;*/
    position: relative;
}
.footer.bg-gray-50 {
    background-color: var(--color-cream) !important;
}
.home .bg-gray-50 {
    background-color: var(--color-cream) !important;
}
/* Add a whisper-faint network pattern + warm radial glow to the warm sections.
   The lines echo the connected-dots motif from the hero image. */
#services,
#why,
#blog,
#clients {
    position: relative;
    isolation: isolate;
}
#services::before,
#why::before,
#blog::before,
#clients::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    background:
            radial-gradient(45% 40% at 92% 8%, rgba(232,49,77,0.07), transparent 60%),
            radial-gradient(40% 45% at 5% 95%, rgba(94,200,214,0.05), transparent 60%);
}
#services > *,
#why > *,
#blog > *,
#clients > * { position: relative; z-index: 1; }

/* Faint network/dot motif as a section ornament — used in Why & Blog */
.network-ornament {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    opacity: 0.5;
    background-image:
            radial-gradient(circle at 1px 1px, rgba(232,49,77,0.12) 1px, transparent 1.5px);
    background-size: 28px 28px;
    -webkit-mask-image: radial-gradient(60% 60% at 100% 0%, #000 0%, transparent 75%);
    mask-image: radial-gradient(60% 60% at 100% 0%, #000 0%, transparent 75%);
}

/* Soft coral hairline between sections — replaces the cold gray border */

footer.border-t { border-top-color: rgba(232,49,77,0.10) !important; }

/* White cards on warm bg — add a touch more warmth */
.card-base { background: #FFFDFB; }
.stat-card { background: #FFFDFB; }

/* ─────────── Industries hub & spokes ─────────── */
/* Layout uses a wide-but-short rectangle so vertical labels (12/6) sit
   closer to the center than the diagonals — keeps the section from
   getting too tall while still feeling like a circle. */
.industry-hub {
    --hub-w: min(940px, 94vw);
    --hub-h: calc(var(--hub-w) * 0.62);     /* matches viewBox 900x560 */
    --r-axial: calc(var(--hub-w) * 0.222);  /* 12 & 6 — shorter */
    --r-diag:  calc(var(--hub-w) * 0.322);  /* 2 / 4 / 8 / 10 */
    width: var(--hub-w);
    height: var(--hub-h);
    position: relative;
    margin-inline: auto;
}
.industry-spokes {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    overflow: visible;
    pointer-events: none;
}
.industry-spokes line {
    stroke: var(--color-coral);
    stroke-width: 1.25;
    opacity: 0.35;
    transition: opacity 320ms var(--ease-premium), stroke-width 320ms var(--ease-premium);
}
.industry-spokes circle.spoke-dot {
    fill: #fff;
    stroke: var(--color-coral);
    stroke-width: 1.5;
    transition: fill 320ms var(--ease-premium), r 320ms var(--ease-premium);
}
.industry-center {
    position: absolute;
    left: 50%; top: 50%;
    transform: translate(-50%, -50%);
    font-family: 'Inter', system-ui, sans-serif;
    font-weight: 800;
    font-size: clamp(26px, calc(var(--hub-w) * 0.062), 58px);
    letter-spacing: 0.02em;
    color: var(--color-coral);
    line-height: 1;
    text-align: center;
    white-space: nowrap;
    pointer-events: none;
    text-shadow: 0 0 24px rgba(255,255,255,0.6);
}

.industry-node {
    --r: var(--r-diag);
    position: absolute;
    left: 50%; top: 50%;
    transform: translate(
            calc(-50% + cos(var(--angle)) * var(--r)),
            calc(-50% + sin(var(--angle)) * var(--r))
    );
    width: clamp(180px, 22vw, 240px);
    background: transparent;
    border: 0;
    padding: 10px 12px;
    text-align: center;
    cursor: default;
    color: inherit;
    z-index: 2;
}
.industry-node .industry-name {
    display: block;
    font-family: 'Heebo', system-ui, sans-serif;
    font-weight: 700;
    font-size: clamp(15px, 1.4vw, 19px);
    line-height: 1.15;
    color: var(--color-ink);
    transition: color 280ms var(--ease-premium), transform 280ms var(--ease-premium);
}
.industry-node .industry-desc {
    display: block;
    margin-top: 6px;
    font-size: 13px;
    line-height: 1.5;
    color: var(--color-charcoal-soft, #6E6E73);
    direction: rtl;
    text-align: center;
}
.industry-node:hover .industry-name,
.industry-node:focus-visible .industry-name {
    color: var(--color-coral);
}
/* Brighten the spoke for the hovered node */
.industry-node:hover ~ .industry-spokes line,
.industry-node:focus-visible ~ .industry-spokes line { /* fallback */ }
.industry-node[data-spoke]:hover { /* see JS-driven highlight below */ }

/* Fallback for narrow screens — switch to a clean stacked list */
@media (max-width: 720px) {
    .industry-hub { display: none; }
    .industry-list { display: block !important; }
}
.industry-list { display: none; }
.industry-list-item {
    display: flex; flex-direction: column; gap: 4px;
    padding: 18px 0;
    border-bottom: 1px solid var(--color-gray-200, #E5E5E5);
}
.industry-list-item:last-child { border-bottom: 0; }
.industry-list-item .name {
    font-family: 'Heebo', sans-serif; font-weight: 700; font-size: 20px;
    color: var(--color-coral);
}
.industry-list-item .desc {
    font-size: 14px; line-height: 1.6; color: var(--color-charcoal);
    direction: rtl;
}



.header-glass {
    background: rgba(255,255,255,0.82);
    backdrop-filter: saturate(180%) blur(14px);
    -webkit-backdrop-filter: saturate(180%) blur(14px);
}


/* Article typography */
.article-title {
    font-family: 'Heebo', system-ui, sans-serif;
    font-weight: 800;
    color: var(--color-ink);
    line-height: 1.15;
    letter-spacing: -0.015em;
}

.prose-he {
    font-size: 18px;
    line-height: 1.95;
    color: #2D2D2F;
    letter-spacing: -0.003em;
}
.prose-he p { margin: 0 0 1.25em; }
.prose-he p.lede {
    font-size: 20px;
    line-height: 1.85;
    color: var(--color-ink);
    font-weight: 500;
    padding: 0 0 1.5em;
    border-bottom: 1px solid var(--color-gray-200, #E5E5E5);
    margin-bottom: 2em;
}
.prose-he h2 {
    font-family: 'Heebo', system-ui, sans-serif;
    font-weight: 700;
    font-size: 26px;
    line-height: 1.3;
    color: var(--color-ink);
    margin: 2.25em 0 0.75em;
    letter-spacing: -0.01em;
}
.prose-he h2 .accent { color: var(--color-coral); }

.prose-he ul {
    list-style: none;
    padding: 0;
    margin: 1.25em 0 1.75em;
    border-inline-start: 2px solid var(--color-coral);
    padding-inline-start: 1.5em;
}
.prose-he ul li {
    position: relative;
    padding: 0.5em 0;
    border-bottom: 1px solid rgba(229,229,229,0.6);
}
.prose-he ul li:last-child { border-bottom: 0; }
.prose-he ul li strong {
    color: var(--color-ink);
    font-weight: 700;
    display: block;
    margin-bottom: 0.15em;
}

/* Segments grid */
.segments {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 12px;
    margin: 1.5em 0 2em;
}
.segment {
    background: #FAFAFA;
    border: 1px solid var(--color-gray-200, #E5E5E5);
    border-radius: 12px;
    padding: 16px 18px;
    font-size: 15px;
    line-height: 1.55;
    color: var(--color-ink);
    transition: border-color 280ms var(--ease-premium), background 280ms var(--ease-premium);
}
.segment:hover {
    border-color: rgba(94,200,214,0.45);
    background: #FFFFFF;
}
.segment .num {
    font-family: 'Inter', system-ui, sans-serif;
    font-weight: 700;
    color: var(--color-coral);
    font-size: 12px;
    letter-spacing: 0.08em;
    display: block;
    margin-bottom: 6px;
}
.segment .name {
    font-weight: 700;
    display: block;
    margin-bottom: 3px;
}
.segment .desc {
    color: var(--color-charcoal);
    font-weight: 400;
}

/* Pullquote */
.pullquote {
    margin: 2em 0;
    padding: 1.5em 1.75em;
    background: linear-gradient(135deg, rgba(232,49,77,0.04), rgba(94,200,214,0.05));
    border-inline-start: 4px solid var(--color-coral);
    border-radius: 0 14px 14px 0;
    font-size: 18px;
    line-height: 1.7;
    color: var(--color-ink);
    font-weight: 500;
}

/* Hero image */
.hero-img-wrap {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--color-gray-200, #E5E5E5);
    aspect-ratio: 21/9;
    background: #FAFAFA;
}
.hero-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Avatar */
.avatar {
    width: 44px; height: 44px; border-radius: 9999px;
    background: linear-gradient(135deg, rgba(232,49,77,0.14), rgba(94,200,214,0.18));
    color: var(--color-ink);
    display: inline-flex; align-items: center; justify-content: center;
    font-family: 'Inter', system-ui, sans-serif; font-weight: 600; font-size: 14px;
    border: 1px solid var(--color-gray-200, #E5E5E5);
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 13px;
    font-weight: 500;
    color: var(--color-charcoal);
    transition: color 220ms var(--ease-premium);
}
.back-link:hover { color: var(--color-coral); }

.icon-btn {
    width: 36px; height: 36px;
    border: 1px solid var(--color-gray-200, #E5E5E5);
    border-radius: 8px;
    color: var(--color-charcoal);
    transition: background 220ms var(--ease-premium), color 220ms var(--ease-premium), border-color 220ms var(--ease-premium);
    display: inline-flex; align-items: center; justify-content: center;
}
.icon-btn:hover { background: var(--color-ink); color: #fff; border-color: var(--color-ink); }

.meta-divider {
    width: 4px; height: 4px; border-radius: 9999px;
    background: var(--color-gray-200, #E5E5E5);
    display: inline-block;
}

/* Related card hover */
.related-card {
    transition: transform 380ms var(--ease-premium), box-shadow 380ms var(--ease-premium), border-color 380ms var(--ease-premium);
}
.related-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 2px 4px rgba(26,26,28,0.04), 0 20px 40px -16px rgba(26,26,28,0.14);
}
.related-card:hover .related-title {
    color: var(--color-coral);
}
.related-title { transition: color 220ms var(--ease-premium); }

@media (max-width: 640px) {
    .article-title { font-size: 32px !important; }
    .prose-he { font-size: 17px; }
    .prose-he p.lede { font-size: 18px; }
    .prose-he h2 { font-size: 22px; }
    .pullquote { font-size: 17px; padding: 1.25em 1.25em; }
}

h3.wp-block-heading{
    font-size: 1.5rem;
    font-weight: bold;
    margin-top:1rem;
}
.wp-block-list{
    display: block;
    list-style-type: disc;
    margin-block-start: 0;
    margin-block-end: 0;
    padding-inline-start: 30px;
    unicode-bidi: isolate;
}

#cookie-banner{
    position: fixed;
    inset: auto 0 0 0;
    z-index: 9999;
    background: #fff;
    padding: 1rem 2rem;
}

.cookie-banner-content{
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 24px;
    align-items: center;
    justify-content: space-between;
}

@media screen and (min-width:768px){
    .cookie-banner-content{
        flex-direction: row;
    }
}

.cookie-banner-text{
    margin: 0;
    line-height: 1.4;
}

.cookie-banner-text a{
    text-decoration: underline;
}
.cookie-close{
    position: absolute;
    font-weight: bold;
    left: 1rem;
    top:0.5rem;
    font-size: 1rem;
    width: 18px;
    height: 18px;
    background:none;
    border:none;
}

.cookie-accept{
    background: var(--color-coral);;
    color: #fff;
    border: 0;
    padding: 10px 20px;
    cursor: pointer;
    font-weight: 700;
    border-radius: 9999px;
    font-size: 15px;
}

@media screen and (max-width:600px){
    .cookie-accept{
        width: 100%;
    }
}