/* ════════════════════════════════════════════════════════════
   EB — palette + tokens (scoped to #eb-page)
   ════════════════════════════════════════════════════════════ */
.eb-page {
    --eb-pink:      #e8347a;
    --eb-pink-2:    #f472b6;
    --eb-pink-deep: #b91c5c;
    --eb-peach:     #cda07f;
    --eb-cream:     #f5f4f0;
    --eb-paper:     #fafaf7;
    --eb-ink:       #18181b;
    --eb-mute:      rgba(24, 24, 27, 0.62);
    --eb-line:      rgba(24, 24, 27, 0.10);
    --eb-line-soft: rgba(24, 24, 27, 0.06);

    background: var(--eb-paper);
    color: var(--eb-ink);
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, sans-serif;
    overflow-x: hidden;
}

.eb-shell {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}
@media (min-width: 768px)  { .eb-shell { padding: 0 48px; } }
@media (min-width: 1024px) { .eb-shell { padding: 0 64px; } }

/* ─── Eyebrow ─── */
.eb-eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 7px 14px;
    border-radius: 999px;
    background: rgba(232, 52, 122, 0.08);
    border: 1px solid rgba(232, 52, 122, 0.22);
    font-size: 11px; font-weight: 700;
    letter-spacing: 0.18em; text-transform: uppercase;
    color: var(--eb-pink-deep);
    width: fit-content;
}
.eb-eyebrow-dot {
    width: 7px; height: 7px;
    border-radius: 50%;
    background: var(--eb-pink);
    animation: ebPing 1.8s ease-out infinite;
    box-shadow: 0 0 0 0 rgba(232, 52, 122, 0.55);
}
@keyframes ebPing {
    0%   { box-shadow: 0 0 0 0 rgba(232, 52, 122, 0.55); }
    70%  { box-shadow: 0 0 0 10px rgba(232, 52, 122, 0); }
    100% { box-shadow: 0 0 0 0 rgba(232, 52, 122, 0); }
}

/* ════════════════════════════════════════════════════════════
   1. HERO
   ════════════════════════════════════════════════════════════ */
.eb-hero {
    padding: 110px 0 48px;
    position: relative;
}
@media (min-width: 1024px) { .eb-hero { padding: 140px 0 56px; } }

.eb-hero-copy {
    display: flex; flex-direction: column; gap: 18px;
    margin-bottom: 32px;
    max-width: 880px;
}

.eb-hero-title {
    margin: 4px 0 0;
    font-size: clamp(44px, 7vw, 88px);
    font-weight: 600;
    line-height: 0.98;
    letter-spacing: -0.035em;
    color: var(--eb-ink);
}
.eb-hero-title em {
    font-style: italic;
    font-weight: 500;
    font-family: "PlayfairDisplay", "Times New Roman", serif;
    background: linear-gradient(110deg, var(--eb-pink) 0%, var(--eb-pink-2) 50%, var(--eb-pink) 100%);
    background-size: 220% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: ebShine 8s ease-in-out infinite;
}
@keyframes ebShine {
    0%, 100% { background-position: 0% 50%; }
    50%      { background-position: 100% 50%; }
}

.eb-hero-sub {
    max-width: 640px;
    margin: 0;
    font-size: clamp(15px, 1.3vw, 17px);
    line-height: 1.55;
    color: var(--eb-mute);
    font-weight: 400;
}

.eb-hero-actions {
    display: flex; flex-wrap: wrap; align-items: center; gap: 16px;
    margin-top: 8px;
}
.eb-btn-primary {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 12px 22px;
    border-radius: 999px;
    background: var(--eb-ink);
    color: #fff;
    font-size: 14px; font-weight: 600;
    text-decoration: none;
    transition: all .22s ease;
}
.eb-btn-primary:hover {
    background: var(--eb-pink-deep);
    transform: translateY(-1px);
    box-shadow: 0 18px 36px -16px rgba(232, 52, 122, 0.45);
}
.eb-btn-primary svg { width: 14px; height: 14px; transition: transform .25s; }
.eb-btn-primary:hover svg { transform: translateX(3px); }
.eb-hero-count {
    font-size: 12.5px;
    color: var(--eb-mute);
    font-variant-numeric: tabular-nums;
}
.eb-hero-count strong { color: var(--eb-ink); font-weight: 700; }

/* Category chips */
.eb-cats {
    display: flex; flex-wrap: wrap; gap: 8px;
    padding-top: 18px;
    border-top: 1px dashed var(--eb-line-soft);
}
.eb-chip {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid var(--eb-line);
    background: #fff;
    color: var(--eb-ink);
    font-size: 13px; font-weight: 500;
    text-decoration: none;
    transition: all .18s ease;
}
.eb-chip:hover { border-color: var(--eb-ink); transform: translateY(-1px); }
.eb-chip.is-active {
    background: var(--eb-ink); color: #fff; border-color: var(--eb-ink);
}
.eb-chip-count {
    font-size: 11px; opacity: 0.55;
    font-variant-numeric: tabular-nums;
}
.eb-chip.is-active .eb-chip-count { opacity: 0.75; }

/* ════════════════════════════════════════════════════════════
   2. STREAM (vertical row layout)
   ════════════════════════════════════════════════════════════ */
.eb-stream-sec { padding: 32px 0 96px; }

.eb-stream {
    display: flex;
    flex-direction: column;
}

/* Each row separated by a thin line */
.eb-stream > .eb-row + .eb-row {
    border-top: 1px solid var(--eb-line-soft);
}

.eb-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 28px 0;
    text-decoration: none;
    color: inherit;
    transition: background .22s ease;
}
@media (min-width: 768px) {
    .eb-row {
        grid-template-columns: 360px 1fr;
        gap: 36px;
        padding: 36px 0;
        align-items: center;
    }
}
.eb-row:hover { background: rgba(232, 52, 122, 0.02); }

.eb-row-media {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--eb-pink) 0%, var(--eb-peach) 100%);
}
.eb-row-media img {
    width: 100%; height: 100%;
    object-fit: cover; display: block;
    transition: transform 1.4s cubic-bezier(.2,.7,.2,1);
}
.eb-row:hover .eb-row-media img { transform: scale(1.05); }
.eb-row-fallback {
    position: absolute; inset: 0;
    display: flex; align-items: center; justify-content: center;
    padding: 22px; text-align: center; color: #fff;
}
.eb-row-fallback span {
    font-family: "PlayfairDisplay", "Times New Roman", serif;
    font-style: italic;
    font-size: 22px; line-height: 1.15;
}

.eb-row-body {
    display: flex; flex-direction: column; gap: 12px;
}
.eb-row-meta {
    display: inline-flex; align-items: center; gap: 10px; flex-wrap: wrap;
    font-size: 12px;
    color: var(--eb-mute);
}
.eb-row-cat {
    background: rgba(232, 52, 122, 0.1);
    color: var(--eb-pink-deep);
    border: 1px solid rgba(232, 52, 122, 0.2);
    padding: 3px 11px;
    border-radius: 999px;
    font-weight: 700; letter-spacing: 0.1em;
    text-transform: uppercase; font-size: 10.5px;
}
.eb-row-meta-dot { color: var(--eb-line); }
.eb-row-date,
.eb-row-mins { font-variant-numeric: tabular-nums; }

.eb-row-title {
    margin: 0;
    font-size: clamp(22px, 2.6vw, 32px);
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: var(--eb-ink);
    transition: color .18s ease;
}
.eb-row:hover .eb-row-title { color: var(--eb-pink-deep); }

.eb-row-excerpt {
    margin: 0;
    font-size: 15.5px;
    line-height: 1.6;
    color: var(--eb-mute);
    max-width: 680px;
}

.eb-row-cta {
    display: inline-flex; align-items: center; gap: 8px;
    margin-top: 4px;
    color: var(--eb-pink-deep);
    font-size: 12.5px; font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}
.eb-row-cta svg { width: 14px; height: 14px; transition: transform .25s; }
.eb-row:hover .eb-row-cta svg { transform: translateX(4px); }

/* ════════════════════════════════════════════════════════════
   3. EMPTY + PAGINATION
   ════════════════════════════════════════════════════════════ */
.eb-empty-results {
    margin: 60px 0;
    text-align: center;
    color: var(--eb-mute);
    font-size: 14px;
}
.eb-empty {
    margin: 80px 0; text-align: center;
    padding: 60px 24px;
    border: 1px dashed var(--eb-line);
    border-radius: 24px; background: #fff;
}
.eb-empty h2 { margin: 0 0 8px; font-size: 22px; font-weight: 600; }
.eb-empty p  { margin: 0; color: var(--eb-mute); }

.eb-pagination { margin-top: 56px; }
.eb-pagination .nav-links {
    display: flex; flex-wrap: wrap; justify-content: center; align-items: center;
    gap: 8px;
}
.eb-pagination .page-numbers {
    display: inline-flex; align-items: center; gap: 6px;
    min-width: 38px; height: 38px;
    padding: 0 14px;
    border-radius: 999px;
    border: 1px solid var(--eb-line);
    background: #fff;
    color: var(--eb-ink);
    font-size: 13px; font-weight: 600;
    text-decoration: none;
    transition: all .18s;
}
.eb-pagination .page-numbers:hover { border-color: var(--eb-ink); transform: translateY(-1px); }
.eb-pagination .page-numbers.current {
    background: var(--eb-ink); color: #fff; border-color: var(--eb-ink);
}
.eb-pagination .page-numbers.dots { border: none; background: transparent; }

/* ════════════════════════════════════════════════════════════
   FX
   ════════════════════════════════════════════════════════════ */
.eb-page [data-eb-fx] {
    opacity: 0; transform: translateY(28px);
    transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1);
}
.eb-page.is-fx-ready [data-eb-fx],
.eb-page [data-eb-fx].is-in {
    opacity: 1; transform: none;
}
@media (prefers-reduced-motion: reduce) {
    .eb-page [data-eb-fx] { opacity: 1 !important; transform: none !important; transition: none !important; }
}
