/* ==========================================================================
   Eagle — interior pages
   Loaded last. Brings the service, about, locations, contact and legal pages
   onto the homepage's composition: hairline section heads with a gold leader,
   Playfair headlines, black chapters lit with gold, and cards with real inner
   padding. Every colour resolves through tokens; dark sections carry
   `.e-on-ink`, so their text tokens are the light ones.
   ========================================================================== */

/* ── Rhythm ──────────────────────────────────────────────────────────────
   eagle-pages.css collapses the top padding of any section that follows
   another. That is right between two white sections and wrong at every change
   of ground: headings sat flush against the edge of each black band. */
.elc-section--dark + .elc-section,
.elc-section + .elc-section--dark,
.elc-section--dark + .elc-section--dark { padding-top: var(--e-section); }

/* Black chapters, lit like the homepage's. */
.elc .elc-section--dark {
    background:
        radial-gradient(60% 80% at 100% 0%, rgba(212, 175, 55, .10), transparent 60%),
        radial-gradient(50% 60% at 0% 100%, rgba(212, 175, 55, .06), transparent 60%),
        #0b0a08;
    color: var(--e-text);
}

/* ── Section heads ───────────────────────────────────────────────────────
   Full-width bronze hairline, short gold leader, label, headline. */
.elc-section .elc-head,
.elc-section .elc-split {
    position: relative;
    padding-top: clamp(1.6rem, 2.6vw, 2.25rem);
    background:
        linear-gradient(var(--e-gold), var(--e-gold)) left top / 3.5rem 2px no-repeat,
        linear-gradient(var(--e-line-strong), var(--e-line-strong)) left top / 100% 1px no-repeat;
}
[dir='rtl'] .elc-section .elc-head,
[dir='rtl'] .elc-section .elc-split { background-position: right top, right top; }

.elc .elc-eyebrow,
.elc .elc-pagehead .e-eyebrow {
    display: block;
    padding-inline-start: 0;
    margin: 0 0 1.1rem;
    font-family: var(--e-sans);
    font-size: .74rem;
    font-weight: 600;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--e-accent);
}
.elc .elc-eyebrow::before,
.elc .elc-pagehead .e-eyebrow::before { display: none; }

.elc .elc-section .elc-head h2,
.elc .elc-section .elc-split > :first-child h2 {
    margin: 0;
    font-family: var(--e-display);
    font-size: clamp(1.9rem, 3.4vw, 2.9rem);
    font-weight: 600;
    line-height: 1.08;
    letter-spacing: -.02em;
    color: var(--e-text);
    text-wrap: balance;
}

.elc .elc-section .elc-prose { font-size: 1.03rem; line-height: 1.8; color: var(--e-text-muted); }
.elc .elc-section .elc-prose p { margin: 0 0 1.35rem; }
.elc .elc-section .elc-prose p:last-child { margin-bottom: 0; }

@media (min-width: 62rem) {
    .elc .elc-split { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(3rem, 6vw, 6rem); }
}

/* No italics anywhere — the accent phrase is set upright, like the headline. */
.e-accent-word { font-style: normal; font-weight: inherit; }

/* ── Page head ──────────────────────────────────────────────────────────── */
.elc .elc-crumbs { background: #060606; border-bottom: 0; }
.elc .elc-pagehead {
    position: relative;
    background:
        radial-gradient(55% 90% at 100% 0%, rgba(212, 175, 55, .13), transparent 60%),
        #060606;
    border-bottom: 1px solid rgba(212, 175, 55, .28);
    padding-block: clamp(2.5rem, 5vw, 4.25rem) clamp(2.75rem, 5vw, 4.5rem);
}
.elc .elc-pagehead__title {
    font-family: var(--e-display);
    font-size: clamp(2.3rem, 5vw, 4rem);
    font-weight: 600;
    line-height: 1.05;
    letter-spacing: -.02em;
    max-width: 22ch;
    color: #fbf8f1;
    text-wrap: balance;
}
.elc .elc-pagehead__lead { max-width: 46rem; margin-top: 1.25rem; font-size: clamp(1rem, 1.3vw, 1.15rem); line-height: 1.7; color: #e2d9c8; }
.elc .elc-pagehead .e-eyebrow { color: #e2c275; }

/* ── Links ──────────────────────────────────────────────────────────────── */
.elc .elc-link {
    display: inline-flex; align-items: center; gap: .5rem;
    padding-bottom: .3rem;
    font-size: .92rem; font-weight: 600;
    color: var(--e-accent);
    text-decoration: none;
    border-bottom: 1px solid var(--e-accent-line);
    transition: gap var(--e-fast) var(--e-ease), border-color var(--e-fast) var(--e-ease);
}
.elc .elc-link:hover { gap: .75rem; border-bottom-color: var(--e-gold); }

/* ── Cards: use cases, routes, contact channels ─────────────────────────
   Padded boxes with a bronze edge and a short gold leader. A ruled grid with
   flush padding left the first column jammed against the edge and the last
   row ragged. */
.elc .elc-usecases,
.elc .elc-routes,
.elc .elc-channels {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(.9rem, 1.6vw, 1.25rem);
    border-top: 0;
}
.elc .elc-usecases--two { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.elc .elc-usecase,
.elc .elc-route,
.elc .elc-channel {
    position: relative;
    padding: clamp(1.5rem, 2.4vw, 2rem) !important;
    border: 1px solid var(--e-line-strong) !important;
    border-radius: var(--e-radius);
    background: var(--e-paper);
}
.elc .elc-usecase::before,
.elc .elc-route::before,
.elc .elc-channel::before {
    content: '';
    position: absolute; top: -1px; inset-inline-start: clamp(1.5rem, 2.4vw, 2rem);
    width: 2.25rem; height: 2px;
    background: var(--e-gold);
}
.elc-section--dark .elc-usecase,
.elc-section--dark .elc-route,
.elc-section--dark .elc-channel {
    background: rgba(255, 255, 255, .035);
    border-color: rgba(212, 175, 55, .26) !important;
}

.elc .elc-usecase__title {
    margin: 0 0 .65rem;
    font-family: var(--e-display);
    font-size: clamp(1.2rem, 1.6vw, 1.4rem);
    font-weight: 600;
    line-height: 1.2;
    color: var(--e-text);
}
.elc .elc-usecase__copy { margin: 0; font-size: .95rem; line-height: 1.65; color: var(--e-text-muted); }

.elc .elc-route__note,
.elc .elc-channel__label {
    display: block;
    margin-bottom: .7rem;
    font-family: var(--e-sans);
    font-size: .7rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
    color: var(--e-accent);
}
.elc .elc-route__pair {
    display: flex; flex-wrap: wrap; align-items: baseline; gap: .5rem;
    margin: 0;
    font-family: var(--e-display);
    font-size: clamp(1.15rem, 1.6vw, 1.35rem);
    font-weight: 600;
    line-height: 1.3;
    color: var(--e-text);
}
.elc .elc-route__arrow { color: var(--e-accent); font-family: var(--e-sans); }

.elc .elc-channel { display: block; text-decoration: none; color: var(--e-text); transition: border-color var(--e-fast) var(--e-ease), background var(--e-fast) var(--e-ease); }
.elc .elc-channel:hover { border-color: var(--e-gold) !important; background: var(--e-surface-2); }
.elc .elc-channel__value { display: block; margin-bottom: .35rem; font-family: var(--e-display); font-size: 1.3rem; font-weight: 600; color: var(--e-text); overflow-wrap: anywhere; }
.elc .elc-channel:hover .elc-channel__value { color: var(--e-text); }
.elc .elc-channel__note { display: block; font-size: .9rem; line-height: 1.55; color: var(--e-text-muted); }

/* ── Callout note ───────────────────────────────────────────────────────── */
.elc .elc-note {
    max-width: 52rem;
    margin: clamp(1.75rem, 3vw, 2.5rem) 0 0;
    padding: 1.1rem 1.35rem;
    border-inline-start: 2px solid var(--e-gold);
    background: var(--e-surface-2);
    font-size: .95rem; line-height: 1.65;
    color: var(--e-text-muted);
}
.elc-section--dark .elc-note { background: rgba(255, 255, 255, .04); }

/* ── Services index ─────────────────────────────────────────────────────── */
.elc .elc-servicedoc { display: grid; gap: clamp(1rem, 1.8vw, 1.5rem); border-top: 0; }
.elc .elc-servicedoc__item {
    display: grid;
    grid-template-columns: 3.25rem minmax(0, 1fr);
    gap: 1.5rem;
    padding: clamp(1.75rem, 3vw, 2.75rem) !important;
    border: 1px solid var(--e-line-strong);
    border-radius: var(--e-radius);
    background: var(--e-paper);
}
.elc .elc-servicedoc__icon {
    display: inline-flex; align-items: center; justify-content: center;
    width: 3.25rem; height: 3.25rem;
    border: 1px solid var(--e-accent-line); border-radius: 50%;
    color: var(--e-accent);
}
.elc .elc-servicedoc__name {
    margin: .35rem 0 .85rem;
    font-family: var(--e-display);
    font-size: clamp(1.5rem, 2.4vw, 2rem);
    font-weight: 600; line-height: 1.15;
    color: var(--e-text);
}
.elc .elc-servicedoc__copy { max-width: 60ch; margin: 0 0 1.4rem; font-size: 1rem; line-height: 1.7; color: var(--e-text-muted); }
@media (min-width: 62rem) {
    .elc .elc-servicedoc__body { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 0 3rem; align-items: start; }
    .elc .elc-servicedoc__name, .elc .elc-servicedoc__copy { grid-column: 1; }
    .elc .elc-servicedoc__body .elc-ticks { grid-column: 2; grid-row: 1 / span 3; margin-top: .5rem; }
    .elc .elc-servicedoc__body .elc-link { grid-column: 1; justify-self: start; }
}

.elc .elc-ticks { display: grid; gap: .7rem; margin: 0 0 1.6rem; padding: 0; list-style: none; }
.elc .elc-ticks li {
    position: relative;
    padding-inline-start: 1.6rem;
    font-family: var(--e-sans); font-size: .95rem; line-height: 1.5;
    color: var(--e-text);
}
.elc .elc-ticks li::before {
    content: '';
    position: absolute; inset-inline-start: 0; top: .45em;
    width: .7rem; height: .4rem;
    border-inline-start: 2px solid var(--e-accent);
    border-bottom: 2px solid var(--e-accent);
    border-radius: 0;
    background: none;
    transform: rotate(-45deg);
}

/* ── Locations ──────────────────────────────────────────────────────────── */
.elc .elc-arealist { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 1.8vw, 1.5rem); }
.elc .elc-areagroup {
    padding: clamp(1.5rem, 2.4vw, 2rem);
    border: 1px solid var(--e-line-strong);
    border-radius: var(--e-radius);
    background: var(--e-paper);
}
.elc .elc-areagroup__title {
    margin: 0 0 .75rem; padding: 0; border: 0;
    font-family: var(--e-display); font-size: 1.4rem; font-weight: 600;
    color: var(--e-text);
}
.elc .elc-areagroup__copy { margin: 0 0 1.25rem; font-size: .95rem; line-height: 1.6; color: var(--e-text-muted); }
.elc .elc-areagroup__items { display: flex; flex-wrap: wrap; gap: .5rem; }
.elc .elc-areagroup__items li {
    padding: .4rem .85rem;
    border: 1px solid var(--e-line-strong); border-radius: 999px;
    font-family: var(--e-sans); font-size: .85rem; font-weight: 500;
    color: var(--e-text);
}

.elc .elc-maprow__detail address { font-size: 1rem; line-height: 1.8; color: var(--e-text); }
.elc .elc-deflist dt { font-family: var(--e-sans); font-size: .7rem; font-weight: 600; letter-spacing: .16em; color: var(--e-accent); }
.elc .elc-deflist dd { font-size: 1.05rem; }
.elc .elc-maprow__map { border: 1px solid var(--e-line-strong); border-radius: var(--e-radius); }

/* ── Contact ────────────────────────────────────────────────────────────── */
.elc .elc-contactaside {
    padding: clamp(1.75rem, 3vw, 2.5rem);
    border: 1px solid var(--e-line-strong);
    border-radius: var(--e-radius);
    background: var(--e-surface-2);
}
.elc .elc-contactaside__title { font-family: var(--e-display); font-size: 1.5rem; font-weight: 600; }
.elc .elc-formwrap label, .elc .elc-formwrap .elc-label {
    font-family: var(--e-sans); font-size: .74rem; font-weight: 600; letter-spacing: .12em; color: var(--e-text);
}

/* ── Corporate: terms plate ─────────────────────────────────────────────── */
.elc .elc-plate { border: 1px solid var(--e-line-strong); border-radius: var(--e-radius); background: var(--e-paper); }
.elc .elc-plate > * { padding: 1.1rem 1.35rem !important; }
.elc .elc-plate dt { font-family: var(--e-sans); font-size: .68rem; font-weight: 600; letter-spacing: .14em; color: var(--e-accent); }
.elc .elc-plate dd { font-family: var(--e-sans); font-size: 1rem; font-weight: 600; }

/* ── FAQ ────────────────────────────────────────────────────────────────── */
.elc .elc-faq { border-top: 1px solid var(--e-line-strong); }
.elc .elc-faq__item button {
    padding: 1.35rem 0;
    font-family: var(--e-sans); font-size: 1.05rem; font-weight: 600; line-height: 1.4;
    color: var(--e-text); text-align: start;
}
.elc .elc-faq__item button:hover,
.elc .elc-faq__item button[aria-expanded='true'] { color: var(--e-accent); }
.elc .elc-faq__panel p { font-size: 1rem; line-height: 1.75; }

/* ── Legal and other CMS pages ──────────────────────────────────────────── */
.elc .elc-cms { max-width: 46rem; font-size: 1.02rem; line-height: 1.8; color: var(--e-text-muted); }
.elc .elc-cms h2 {
    margin: 3rem 0 1rem; padding-top: 1.5rem;
    border-top: 1px solid var(--e-line);
    font-family: var(--e-display); font-size: clamp(1.45rem, 2.2vw, 1.85rem); font-weight: 600; line-height: 1.2;
    color: var(--e-text);
}
.elc .elc-cms h3 { margin: 2rem 0 .75rem; font-family: var(--e-sans); font-size: 1.1rem; font-weight: 600; color: var(--e-text); }
.elc .elc-cms h2:first-child, .elc .elc-cms h3:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.elc .elc-cms ul, .elc .elc-cms ol { margin: 0 0 1.4rem; padding-inline-start: 1.35rem; }
.elc .elc-cms li { margin-bottom: .55rem; padding-inline-start: .25rem; }
.elc .elc-cms ul li::marker { color: var(--e-accent); }
.elc .elc-cms a { color: var(--e-accent); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--e-accent-line); }
.elc .elc-cms a:hover { text-decoration-color: currentColor; }
.elc .elc-cms table { width: 100%; border-collapse: collapse; margin: 0 0 1.5rem; font-size: .95rem; }
.elc .elc-cms th, .elc .elc-cms td { padding: .75rem .9rem; border: 1px solid var(--e-line-strong); text-align: start; vertical-align: top; }
.elc .elc-cms th { background: var(--e-surface-2); color: var(--e-text); font-weight: 600; }

/* ── CTA band ───────────────────────────────────────────────────────────── */
.elc .e-cta__inner { align-items: center; }
.elc .e-cta__inner h2 { font-family: var(--e-display); font-weight: 600; line-height: 1.08; letter-spacing: -.02em; text-wrap: balance; }
@media (min-width: 62rem) { .elc .e-cta__actions { justify-content: flex-end; } }

/* ── Tablet ─────────────────────────────────────────────────────────────── */
@media (max-width: 64rem) {
    .elc .elc-usecases, .elc .elc-routes, .elc .elc-channels, .elc .elc-arealist { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ── Phone ──────────────────────────────────────────────────────────────── */
@media (max-width: 40rem) {
    .elc .elc-usecases, .elc .elc-usecases--two, .elc .elc-routes, .elc .elc-channels, .elc .elc-arealist { grid-template-columns: 1fr; }
    .elc .elc-servicedoc__item { grid-template-columns: 1fr; gap: 1rem; padding: 1.5rem !important; }
    .elc .elc-pagehead { padding-block: 2rem 2.5rem; }
    .elc .elc-pagehead__title { font-size: clamp(2rem, 9vw, 2.5rem); }
    .elc .elc-section .elc-head h2, .elc .elc-section .elc-split > :first-child h2 { font-size: clamp(1.7rem, 7.5vw, 2.1rem); }
    .elc .elc-note { padding: 1rem 1.1rem; }
    .elc .elc-plate > * { padding: 1rem 1.1rem !important; }
}

/* ── Legacy stylesheet guards ──────────────────────────────────────────────
   Carento's style.css (still loaded on booking and account pages) forces
   `[data-bs-theme=light] h1…h6 { color: var(--heading-color) !important }`,
   which turned every heading on a black ground near-black. Redefining the
   variable inside dark scopes answers it without a specificity war. */
.e-on-ink, .elc-section--dark, .e-dark, .ef, .e-cta { --heading-color: #fbf8f1; }

/* Tobii's lightbox CSS (loaded with the legacy stack) styles a bare
   attribute selector — `[data-type] { max-height: 85vh; max-width: 85vw;
   overflow-y: auto; overscroll-behavior: contain }`. Vehicle cards carry
   data-type for filtering, so each card became a contained scroll box that
   swallowed the mouse wheel: the page stuck whenever the pointer was over a
   card. Reset it on anything of ours that carries the attribute. */
.elc .e-car[data-type] { max-height: none; max-width: none; overflow: hidden; overscroll-behavior: auto; }

/* Footer stays black on every page, whatever the legacy stylesheet says. */
.elc footer.ef { background: #060606 !important; color: var(--e-text); }

/* ==========================================================================
   BLOG (2026-11-11) — listing (views/loop), article (views/post), cards
   (partials/eagle/blog/card). Namespace .eb-. Light page, black page head
   shared with every interior page, gold used only as a thin accent.
   ========================================================================== */

.eb-list { padding-top: clamp(2rem, 4vw, 3rem); }

/* Category chips */
.eb-cats { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: clamp(1.75rem, 3vw, 2.5rem); }
.eb-cats a {
    display: inline-flex; align-items: center; gap: .45rem;
    padding: .5rem 1rem; border: 1px solid var(--e-line); border-radius: var(--e-radius-pill);
    font-size: .85rem; font-weight: 600; color: var(--e-text); text-decoration: none; background: var(--e-surface);
    transition: border-color var(--e-fast) var(--e-ease), background var(--e-fast) var(--e-ease);
}
.eb-cats a span { font-family: var(--e-mono); font-size: .7rem; color: var(--e-text-faint); }
.eb-cats a:hover { border-color: var(--e-accent-line); }
.eb-cats a[aria-current] { background: var(--e-ink); border-color: var(--e-ink); color: #fff; }
.eb-cats a[aria-current] span { color: #e2c275; }

/* Meta line: category · date · read time */
.eb-meta { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem .9rem; margin: 0 0 .75rem;
    font-family: var(--e-mono); font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; color: var(--e-text-faint); }
.eb-meta a { position: relative; z-index: 2; color: var(--e-accent); text-decoration: none; font-weight: 600; }
.eb-meta a:hover { text-decoration: underline; }
.eb-meta > * + * { padding-inline-start: .9rem; border-inline-start: 1px solid var(--e-line-strong); }
.eb-meta { row-gap: .25rem; }

/* Cards */
.eb-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 19rem), 1fr)); gap: clamp(1.5rem, 2.5vw, 2.25rem); }
.eb-card { position: relative; display: flex; flex-direction: column; background: var(--e-surface);
    border: 1px solid var(--e-line); border-radius: var(--e-radius-lg); overflow: hidden;
    transition: border-color var(--e-fast) var(--e-ease), box-shadow var(--e-fast) var(--e-ease); }
.eb-card:hover { border-color: var(--e-accent-line); box-shadow: var(--e-shadow-2); }
.eb-card__media { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--e-surface-2); }
.eb-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--e-slow) var(--e-ease); }
.eb-card:hover .eb-card__media img { transform: scale(1.03); }
.eb-card__blank { display: block; width: 100%; height: 100%; background: linear-gradient(135deg, var(--e-ink), var(--e-ink-2)); }
.eb-card__body { display: flex; flex-direction: column; flex: 1; padding: clamp(1.1rem, 2vw, 1.5rem); }
.eb-card__title { font-size: 1.2rem; font-weight: 700; line-height: 1.28; letter-spacing: -.02em; margin: 0 0 .6rem; color: var(--e-text); }
.eb-card__title a { color: inherit; text-decoration: none; }
.eb-card__title a::after { content: ''; position: absolute; inset: 0; z-index: 1; }
.eb-card__copy { margin: 0 0 1.1rem; font-size: .93rem; line-height: 1.6; color: var(--e-text-muted); }
.eb-card__more { margin-top: auto; font-size: .85rem; font-weight: 600; color: var(--e-accent); }

/* Lead story: image beside text on wide screens */
.eb-card--lead { margin-bottom: clamp(1.75rem, 3vw, 2.5rem); }
@media (min-width: 56rem) {
    .eb-card--lead { display: grid; grid-template-columns: 1.35fr 1fr; }
    .eb-card--lead .eb-card__media { aspect-ratio: auto; min-height: 22rem; }
    .eb-card--lead .eb-card__body { justify-content: center; padding: clamp(2rem, 3.5vw, 3rem); }
}
.eb-card--lead .eb-card__title { font-size: clamp(1.5rem, 2.6vw, 2.1rem); line-height: 1.15; letter-spacing: -.03em; }
.eb-card--lead .eb-card__copy { font-size: 1rem; }

.eb-pages { margin-top: clamp(2rem, 4vw, 3rem); display: flex; justify-content: center; }
.eb-pages .pagination { display: flex; gap: .4rem; list-style: none; margin: 0; padding: 0; }
.eb-pages .page-link { display: inline-flex; align-items: center; justify-content: center; min-width: 2.5rem; height: 2.5rem; padding: 0 .75rem;
    border: 1px solid var(--e-line); border-radius: var(--e-radius); color: var(--e-text); text-decoration: none; font-weight: 600; background: var(--e-surface); }
.eb-pages .page-link.active { background: var(--e-ink); border-color: var(--e-ink); color: #fff; }
.eb-pages .page-link svg path { stroke: currentColor; }

/* Article */
.eb-article { padding-block: clamp(1.75rem, 3.5vw, 2.75rem) var(--e-section); }
.eb-article__meta { margin-bottom: clamp(1.25rem, 2.5vw, 1.75rem); }
.eb-article__cover { margin: 0 0 clamp(2rem, 4vw, 3rem); border-radius: var(--e-radius-lg); overflow: hidden; aspect-ratio: 16 / 9; background: var(--e-surface-2); }
.eb-article__cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.eb-article__grid { display: grid; gap: clamp(2rem, 4vw, 3.5rem); }
@media (min-width: 64rem) { .eb-article__grid { grid-template-columns: minmax(0, 1fr) 20rem; align-items: start; } }
.eb-article__main { min-width: 0; max-width: 46rem; }

.eb-toc { margin: 0 0 2.25rem; padding: 1.25rem 1.5rem; border: 1px solid var(--e-line); border-inline-start: 3px solid var(--e-gold); border-radius: var(--e-radius); background: var(--e-surface); }
.eb-toc__title { margin: 0 0 .6rem; font-family: var(--e-mono); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--e-text-faint); }
.eb-toc ol { margin: 0; padding-inline-start: 1.2rem; display: grid; gap: .35rem; }
.eb-toc a { color: var(--e-text); text-decoration: none; font-size: .95rem; }
.eb-toc a:hover { color: var(--e-accent); text-decoration: underline; }

.eb-prose { font-size: 1.06rem; line-height: 1.8; color: var(--e-text-muted); }
.eb-prose > :first-child { margin-top: 0; }
.eb-prose p, .eb-prose ul, .eb-prose ol, .eb-prose table, .eb-prose blockquote { margin: 0 0 1.35rem; }
.eb-prose h2 { margin: 2.6rem 0 1rem; font-size: clamp(1.4rem, 2.3vw, 1.75rem); line-height: 1.22; letter-spacing: -.025em; font-weight: 700; color: var(--e-text); scroll-margin-top: 6rem; }
.eb-prose h3 { margin: 2rem 0 .75rem; font-size: 1.18rem; line-height: 1.3; font-weight: 700; color: var(--e-text); }
.eb-prose strong { color: var(--e-text); font-weight: 600; }
.eb-prose a { color: var(--e-accent); text-decoration: underline; text-underline-offset: 3px; }
.eb-prose ul, .eb-prose ol { padding-inline-start: 1.3rem; }
.eb-prose li { margin-bottom: .45rem; }
.eb-prose li::marker { color: var(--e-gold-deep, #9a7310); }
.eb-prose blockquote { padding: 1.1rem 1.4rem; border-inline-start: 3px solid var(--e-gold); background: var(--e-surface-2); border-radius: 0 var(--e-radius) var(--e-radius) 0; color: var(--e-text); }
.eb-prose blockquote p:last-child { margin-bottom: 0; }
.eb-prose table { width: 100%; border-collapse: collapse; font-size: .95rem; display: block; overflow-x: auto; }
.eb-prose th, .eb-prose td { padding: .7rem .9rem; border-bottom: 1px solid var(--e-line); text-align: start; vertical-align: top; }
.eb-prose th { color: var(--e-text); font-weight: 700; background: var(--e-surface-2); }

.eb-tags { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; margin: 2.5rem 0 0; padding: 0; }
.eb-tags a { display: inline-block; padding: .35rem .8rem; border: 1px solid var(--e-line); border-radius: var(--e-radius-pill); font-size: .8rem; color: var(--e-text-muted); text-decoration: none; }
.eb-tags a:hover { border-color: var(--e-accent-line); color: var(--e-text); }

.eb-share { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin-top: 1.75rem; padding-top: 1.5rem; border-top: 1px solid var(--e-line); }
.eb-share span { font-weight: 600; color: var(--e-text); margin-inline-end: .5rem; font-size: .9rem; }
.eb-share a { display: inline-flex; align-items: center; justify-content: center; width: 2.4rem; height: 2.4rem; border: 1px solid var(--e-line); border-radius: 50%; color: var(--e-text); }
.eb-share a:hover { border-color: var(--e-accent-line); color: var(--e-accent); }
.eb-share svg { width: 16px; height: 16px; }

.eb-aside { position: relative; }
@media (min-width: 64rem) { .eb-book { position: sticky; top: 6.5rem; } }
.eb-book { padding: 1.6rem; border-radius: var(--e-radius-lg); background: var(--e-ink); color: var(--e-text-on-ink, #f4efe6); }
.eb-book .e-eyebrow { color: #e2c275; }
.eb-book__title { margin: .4rem 0 1rem; font-size: 1.3rem; font-weight: 700; line-height: 1.25; color: #fff; }
.eb-book__list { list-style: none; margin: 0 0 1.4rem; padding: 0; display: grid; gap: .55rem; font-size: .92rem; color: var(--e-text-on-ink-muted, #d8d0c2); }
.eb-book__list li { padding-inline-start: 1.3rem; position: relative; }
.eb-book__list li::before { content: ''; position: absolute; inset-inline-start: 0; top: .55em; width: .55rem; height: .3rem; border-left: 2px solid #e2c275; border-bottom: 2px solid #e2c275; transform: rotate(-45deg); }
.eb-book__btn { width: 100%; justify-content: center; }
.eb-book__btn + .eb-book__btn { margin-top: .6rem; }
.eb-book .e-btn--outline { color: #fff; border-color: rgba(255,255,255,.35); background: transparent; }
.eb-book .e-btn--outline:hover { border-color: #e2c275; color: #e2c275; }

.eb-related { background: var(--e-surface-2); }
.eb-related__title { margin: .4rem 0 clamp(1.5rem, 3vw, 2.25rem); font-size: clamp(1.5rem, 2.6vw, 2rem); letter-spacing: -.025em; }
