/* ==========================================================================
   WAYFARER — Van-life / caravan / road-trip personality core (wf_)
   Structurally distinct from every other suite theme: horizontal
   scroll-snap trip galleries, a dashed "route line" stat motif, a pin-
   marker vertical stop timeline. Rugged dark base, rust/amber brand.
   v1.0.0.
   ========================================================================== */

.eaa-wayfarer {
    --wf-brand:   var(--ewpk-brand-override, #E8863A);
    --wf-brand-2: var(--ewpk-brand-override-2, #2C6E68);
    --wf-on-brand: #171B1A;

    --wf-bg:      #171B1A;
    --wf-surface: #1F2624;
    --wf-raise:   #262E2B;
    --wf-border:  rgba(242,239,233,0.12);
    --wf-ink:     #F2EFE9;
    --wf-muted:   rgba(242,239,233,0.6);

    --wf-radius: 18px;
    --wf-ease: cubic-bezier(0.16,1,0.3,1);

    background-color: var(--wf-bg);
    color: var(--wf-ink);
    font-family: 'Barlow', system-ui, sans-serif;
    position: relative;
}
.eaa-wayfarer h1, .eaa-wayfarer h2, .eaa-wayfarer h3 {
    font-family: 'Barlow Condensed', system-ui, sans-serif;
    font-weight: 700; letter-spacing: 0.005em; line-height: 1.08; text-transform: uppercase;
    color: var(--wf-ink);
}
.eaa-wayfarer p { color: var(--wf-muted); line-height: 1.7; }
.eaa-wayfarer a { color: inherit; }

.eaa-wayfarer .wf-btn {
    display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.9rem 1.9rem;
    border-radius: 999px; background: var(--wf-brand); color: var(--wf-on-brand);
    font-weight: 700; text-transform: uppercase; letter-spacing: 0.03em; font-size: 0.9rem;
    text-decoration: none; transition: transform .25s var(--wf-ease);
}
.eaa-wayfarer .wf-btn:hover { transform: translateY(-2px); }
.eaa-wayfarer .wf-btn-ghost {
    display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.9rem 1.9rem;
    border-radius: 999px; border: 1.5px solid var(--wf-border); color: var(--wf-ink);
    font-weight: 700; text-transform: uppercase; letter-spacing: 0.03em; font-size: 0.9rem; text-decoration: none;
    transition: border-color .25s var(--wf-ease);
}
.eaa-wayfarer .wf-btn-ghost:hover { border-color: var(--wf-brand); }

/* Signature: dashed route line connecting stat chips */
.eaa-wayfarer .wf-route { position: relative; display: flex; justify-content: center; gap: 2.5rem; flex-wrap: wrap; padding-top: 1.5rem; }
.eaa-wayfarer .wf-route::before {
    content: ''; position: absolute; top: 0; left: 8%; right: 8%; height: 0;
    border-top: 3px dashed var(--wf-border);
}
.eaa-wayfarer .wf-route .wf-stop { position: relative; text-align: center; }
.eaa-wayfarer .wf-route .wf-stop::before {
    content: ''; position: absolute; top: -1.5rem; left: 50%; transform: translateX(-50%);
    width: 14px; height: 14px; border-radius: 50%; background: var(--wf-brand);
    box-shadow: 0 0 0 4px var(--wf-bg);
}
.eaa-wayfarer .wf-stat-n { font-family: 'Barlow Condensed', sans-serif; font-weight: 700; font-size: clamp(1.8rem,3.4vw,2.6rem); color: var(--wf-brand); }
.eaa-wayfarer .wf-stat-l { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--wf-muted); margin-top: 0.25rem; }

/* Signature: horizontal scroll-snap trip gallery */
.eaa-wayfarer .wf-scroll { display: flex; gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 1rem; -webkit-overflow-scrolling: touch; }
.eaa-wayfarer .wf-scroll::-webkit-scrollbar { height: 6px; }
.eaa-wayfarer .wf-scroll::-webkit-scrollbar-thumb { background: var(--wf-border); border-radius: 3px; }
.eaa-wayfarer .wf-scroll figure { scroll-snap-align: start; flex: 0 0 auto; width: min(78vw,340px); margin: 0; }
.eaa-wayfarer .wf-scroll img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--wf-radius); display: block; }
.eaa-wayfarer .wf-scroll figcaption { margin-top: 0.6rem; font-size: 0.85rem; color: var(--wf-muted); }

/* Category/post grid — tilted card, title-over-gradient */
.eaa-wayfarer .wf-cat-card { position: relative; border-radius: var(--wf-radius); overflow: hidden; aspect-ratio: 4/5; display: block; text-decoration: none; }
.eaa-wayfarer .wf-cat-card img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s var(--wf-ease); }
.eaa-wayfarer .wf-cat-card:hover img { transform: scale(1.06); }
.eaa-wayfarer .wf-cat-card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg,rgba(0,0,0,0.75),transparent 55%); }
.eaa-wayfarer .wf-cat-card span { position: absolute; left: 1rem; bottom: 1rem; z-index: 1; font-family: 'Barlow Condensed',sans-serif; font-weight: 700; text-transform: uppercase; color: #fff; font-size: 1.05rem; }

/* Vertical pin-marker route/stop timeline */
.eaa-wayfarer .wf-timeline { position: relative; padding-left: 2rem; }
.eaa-wayfarer .wf-timeline::before { content: ''; position: absolute; left: 7px; top: 6px; bottom: 6px; width: 2px; background: var(--wf-border); }
.eaa-wayfarer .wf-tstop { position: relative; padding-bottom: 2rem; }
.eaa-wayfarer .wf-tstop::before { content: ''; position: absolute; left: -2rem; top: 4px; width: 16px; height: 16px; border-radius: 50%; background: var(--wf-brand); box-shadow: 0 0 0 4px var(--wf-bg); }
.eaa-wayfarer .wf-tstop:last-child { padding-bottom: 0; }

.eaa-wayfarer .wf-card { background: var(--wf-surface); border: 1px solid var(--wf-border); border-radius: var(--wf-radius); }

.eaa-wayfarer .wf-yt { position: relative; aspect-ratio: 16/9; border-radius: var(--wf-radius); overflow: hidden; background: #000; cursor: pointer; }
.eaa-wayfarer .wf-yt img { width: 100%; height: 100%; object-fit: cover; display: block; opacity: 0.9; }
.eaa-wayfarer .wf-yt .wf-yt-play { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.eaa-wayfarer .wf-yt .wf-yt-play span { width: 58px; height: 58px; border-radius: 50%; background: var(--wf-brand); display: flex; align-items: center; justify-content: center; }
.eaa-wayfarer .wf-yt .wf-yt-play svg { width: 20px; height: 20px; margin-left: 3px; fill: var(--wf-on-brand); }
.eaa-wayfarer .wf-yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.eaa-wayfarer .wf-swatch { width: 32px; height: 32px; border-radius: 50%; cursor: pointer; border: 2px solid var(--wf-bg); box-shadow: 0 0 0 1px var(--wf-border); }
.eaa-wayfarer .wf-swatch.wf-swatch-active, .eaa-wayfarer .wf-swatch:hover { box-shadow: 0 0 0 2px var(--wf-brand); }

.eaa-wayfarer .wf-observe { opacity: 0; transform: translateY(16px); transition: opacity .7s var(--wf-ease), transform .7s var(--wf-ease); }
.eaa-wayfarer .wf-observe.wf-in { opacity: 1; transform: none; }
.eaa-wayfarer .wf-rise { opacity: 0; transform: translateY(10px); transition: opacity .6s var(--wf-ease), transform .6s var(--wf-ease); }
.eaa-wayfarer .wf-in .wf-rise { opacity: 1; transform: none; }

.eaa-wayfarer .wf-ba-wrap { position: relative; border-radius: var(--wf-radius); overflow: hidden; aspect-ratio: 16/10; }
.eaa-wayfarer .wf-ba-wrap img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.eaa-wayfarer .wf-ba-after { clip-path: inset(0 0 0 50%); }
.eaa-wayfarer .wf-ba-handle { position: absolute; top: 0; bottom: 0; left: 50%; width: 3px; background: var(--wf-brand); cursor: ew-resize; }
.eaa-wayfarer .wf-ba-handle span { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 40px; height: 40px; border-radius: 50%; background: var(--wf-brand); display: flex; align-items: center; justify-content: center; color: var(--wf-on-brand); font-weight: 700; font-size: 0.7rem; }
