/* ==========================================================================
   Yalla Kadima — "forward motion"
   Deep navy + signal orange, forward chevrons (forward = left in RTL),
   the homepage as a route of numbered stops. RTL-first, logical properties.
   ========================================================================== */

/* ---------- Fonts (self-hosted, per-subset) ---------- */
@font-face { font-family: "Rubik"; src: url("../fonts/rubik-hebrew.woff2") format("woff2"); font-weight: 300 900; font-display: swap; unicode-range: U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F; }
@font-face { font-family: "Rubik"; src: url("../fonts/rubik-latin.woff2") format("woff2"); font-weight: 300 900; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Secular One"; src: url("../fonts/secular-one-hebrew.woff2") format("woff2"); font-weight: 400; font-display: swap; unicode-range: U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F; }
@font-face { font-family: "Secular One"; src: url("../fonts/secular-one-latin.woff2") format("woff2"); font-weight: 400; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Karantina"; src: url("../fonts/karantina-hebrew-700.woff2") format("woff2"); font-weight: 700; font-display: swap; unicode-range: U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F; }
@font-face { font-family: "Karantina"; src: url("../fonts/karantina-latin-700.woff2") format("woff2"); font-weight: 700; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* ---------- Tokens ---------- */
:root {
    --navy: #1F2A44;
    --navy-2: #2B3858;
    --navy-deep: #151D31;
    --navy-tint: #E9ECF3;
    --orange: #FF6B35;
    --orange-ink: #B83F12;     /* orange for small text on light backgrounds (AA) */
    --orange-tint: #FFF1EA;
    --paper: #F6F2EB;
    --surface: #FFFFFF;
    --ink: #1A2136;
    --muted: #586078;
    --line: #E3DDD2;
    --on-navy: #FFFFFF;
    --on-navy-muted: #C4CADB;

    --f-body: "Rubik", "Segoe UI", Arial, sans-serif;
    --f-title: "Secular One", "Rubik", Arial, sans-serif;
    --f-display: "Karantina", "Secular One", Arial, sans-serif;

    --wrap: 1240px;
    --gutter: clamp(16px, 4vw, 40px);
    --radius: 16px;
    --shadow: 0 1px 2px rgb(21 29 49 / .06), 0 8px 24px -12px rgb(21 29 49 / .22);
    --shadow-lift: 0 2px 4px rgb(21 29 49 / .08), 0 18px 40px -16px rgb(21 29 49 / .35);
    --ease: cubic-bezier(.2, .7, .2, 1);
    --header-h: 72px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-block-start: calc(var(--header-h) + 20px); }
body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: var(--f-body);
    font-size: 17px;
    line-height: 1.7;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}
img, svg { max-inline-size: 100%; block-size: auto; }
img { display: block; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; line-height: 1.2; text-wrap: balance; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
button { font: inherit; color: inherit; }
/* Focus ring: navy on the light surfaces (signal orange on paper is only 2.5:1), orange on the navy bands (5:1). */
:focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; border-radius: 4px; }
:is(.yk-header, .yk-searchbar, .yk-routewrap, .yk-band, .yk-footer) :focus-visible { outline-color: var(--orange); }
.yk-sr { position: absolute !important; inline-size: 1px; block-size: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.yk-skip {
    position: absolute; inset-inline-start: 16px; inset-block-start: -60px; z-index: 100;
    background: var(--orange); color: var(--navy); padding: 10px 18px; border-radius: 8px; font-weight: 700; text-decoration: none;
}
.yk-skip:focus { inset-block-start: 12px; }
.yk-wrap { inline-size: 100%; max-inline-size: calc(var(--wrap) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.yk-main { display: block; min-block-size: 50vh; }
.yk-main:focus { outline: none; }
.yk-i { flex: none; }
.yk-dot { inline-size: 4px; block-size: 4px; border-radius: 50%; background: currentColor; opacity: .45; }

/* The forward chevron as a CSS shape: points LEFT (forward in RTL). */
.yk-kicker__chev, .yk-shead__kicker::before, .yk-prose h2::before, .yk-prose ul:not([class]) > li::before, .yk-band__kicker::before {
    content: "";
    display: inline-block;
    inline-size: .5em; block-size: .5em;
    border-block-end: 2.5px solid currentColor;
    border-inline-end: 2.5px solid currentColor;  /* in RTL: left border */
    transform: rotate(45deg);
}

/* ---------- Header ---------- */
.yk-header {
    position: sticky; inset-block-start: 0; z-index: 50;
    background: var(--navy);
    color: var(--on-navy);
    box-shadow: 0 1px 0 rgb(255 255 255 / .06), 0 10px 30px -20px rgb(0 0 0 / .6);
}
.admin-bar .yk-header { inset-block-start: 32px; }
.yk-header__bar { display: flex; align-items: center; gap: 24px; min-block-size: var(--header-h); }
.yk-brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: inherit; flex: none; }
.yk-brand__name { font-family: var(--f-display); font-weight: 700; font-size: 44px; line-height: 1; letter-spacing: .3px; padding-block-start: 4px; white-space: nowrap; }
.yk-nav { margin-inline-start: auto; display: flex; align-items: center; gap: 18px; }
.yk-nav__list { list-style: none; display: flex; align-items: center; gap: 4px 18px; flex-wrap: wrap; }
.yk-nav__list a {
    position: relative; display: inline-flex; align-items: center; min-block-size: 44px;
    color: var(--on-navy-muted); text-decoration: none; font-size: 15.5px; font-weight: 500; white-space: nowrap;
    transition: color .2s;
}
.yk-nav__list a::after {
    content: ""; position: absolute; inset-inline: 0; inset-block-end: 6px; block-size: 3px; border-radius: 3px;
    background: var(--orange); transform: scaleX(0); transform-origin: right; transition: transform .25s var(--ease);
}
.yk-nav__list a:hover, .yk-nav__list .current-menu-item > a, .yk-nav__list .current-menu-parent > a, .yk-nav__list .current-post-ancestor > a { color: #fff; }
.yk-nav__list a:hover::after, .yk-nav__list .current-menu-item > a::after, .yk-nav__list .current-post-ancestor > a::after { transform: scaleX(1); }
.yk-nav__all {
    display: inline-flex; align-items: center; min-block-size: 40px; padding-inline: 16px;
    border: 2px solid var(--orange); border-radius: 999px; color: #fff; text-decoration: none; font-size: 15px; font-weight: 600; white-space: nowrap;
    transition: background .2s, color .2s;
}
.yk-nav__all:hover { background: var(--orange); color: var(--navy); }
.yk-header__tools { display: flex; align-items: center; gap: 4px; }
.yk-iconbtn {
    display: inline-grid; place-items: center; inline-size: 44px; block-size: 44px; border-radius: 12px;
    background: transparent; border: 0; color: #fff; cursor: pointer; transition: background .2s;
}
.yk-iconbtn:hover { background: rgb(255 255 255 / .1); }
.yk-burger { display: none; }
.yk-burger .yk-i:last-child { display: none; }
.yk-menu-open .yk-burger .yk-i:first-child { display: none; }
.yk-menu-open .yk-burger .yk-i:last-child { display: block; }
.yk-searchbar { background: var(--navy-2); padding-block: 16px; }
.yk-searchbar[hidden] { display: none; }
.yk-progress { position: absolute; inset-inline: 0; inset-block-end: 0; block-size: 3px; }
.yk-progress span { display: block; block-size: 100%; background: var(--orange); transform: scaleX(0); transform-origin: right; }

@media (max-width: 1079px) {
    .yk-burger { display: inline-grid; }
    .yk-header__tools { margin-inline-start: auto; }
    .yk-nav {
        display: none; position: absolute; inset-inline: 0; inset-block-start: 100%;
        flex-direction: column; align-items: stretch; gap: 12px;
        background: var(--navy); padding: 8px var(--gutter) 24px; border-block-start: 1px solid rgb(255 255 255 / .08);
        max-block-size: calc(100vh - var(--header-h)); overflow-y: auto;
        box-shadow: 0 30px 40px -20px rgb(0 0 0 / .5);
    }
    .yk-menu-open .yk-nav { display: flex; }
    .yk-nav__list { flex-direction: column; align-items: stretch; gap: 0; }
    .yk-nav__list li + li { border-block-start: 1px solid rgb(255 255 255 / .08); }
    .yk-nav__list a { min-block-size: 52px; font-size: 18px; inline-size: 100%; }
    .yk-nav__list a::after { display: none; }
    .yk-nav__all { justify-content: center; min-block-size: 48px; }
}
@media (max-width: 480px) {
    .yk-brand__name { font-size: 38px; }
    .yk-brand .yk-mark { inline-size: 38px; block-size: 38px; }
}

/* ---------- Buttons, search ---------- */
.yk-btn {
    display: inline-flex; align-items: center; gap: 10px; min-block-size: 50px; padding-inline: 26px;
    background: var(--orange); color: var(--navy); border-radius: 999px; font-weight: 700; font-size: 17px; text-decoration: none;
    box-shadow: 0 10px 24px -12px rgb(255 107 53 / .9); transition: transform .2s var(--ease), box-shadow .2s;
}
.yk-btn:hover { transform: translateX(-4px); box-shadow: 0 14px 28px -12px rgb(255 107 53 / 1); }
.yk-more {
    display: inline-flex; align-items: center; gap: 6px; min-block-size: 44px;
    color: var(--orange-ink); font-weight: 600; text-decoration: none; white-space: nowrap;
}
.yk-more:hover .yk-i { transform: translateX(-4px); }
.yk-more .yk-i { transition: transform .2s var(--ease); }
.yk-search { display: flex; gap: 8px; max-inline-size: 720px; }
.yk-search input {
    flex: 1; min-inline-size: 0; min-block-size: 50px; padding-inline: 18px;
    border: 2px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--ink); font: inherit; font-size: 16px;
}
.yk-search input:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 4px rgb(255 107 53 / .2); }
.yk-search button {
    display: inline-flex; align-items: center; gap: 8px; min-block-size: 50px; padding-inline: 22px;
    border: 0; border-radius: 999px; background: var(--orange); color: var(--navy); font-weight: 700; cursor: pointer;
}
.yk-searchbar .yk-search input { border-color: transparent; }
@media (max-width: 480px) { .yk-search button span { display: none; } .yk-search button { padding-inline: 16px; } }

/* ---------- Section heads ---------- */
.yk-section { padding-block: clamp(48px, 7vw, 88px); }
.yk-shead { display: flex; align-items: end; justify-content: space-between; gap: 16px 32px; flex-wrap: wrap; margin-block-end: 32px; }
.yk-shead__kicker {
    display: inline-flex; align-items: center; gap: 10px;
    color: var(--orange-ink); font-weight: 700; font-size: 15px; letter-spacing: .3px;
}
.yk-shead__kicker::before { inline-size: 9px; block-size: 9px; border-width: 3px; margin-inline-start: 2px; }
.yk-shead__title { font-family: var(--f-display); font-weight: 700; font-size: clamp(44px, 6vw, 68px); line-height: .95; color: var(--navy); margin-block-start: 4px; }
.yk-shead__aside { max-inline-size: 46ch; color: var(--muted); }
.yk-shead--light .yk-shead__kicker { color: var(--orange); }
.yk-shead--light .yk-shead__title { color: #fff; }
.yk-shead--light .yk-shead__aside { color: var(--on-navy-muted); }

/* ---------- Kicker + cards ---------- */
.yk-kicker {
    display: inline-flex; align-items: center; gap: 8px;
    color: var(--orange-ink); font-size: 14px; font-weight: 700; text-decoration: none; letter-spacing: .2px;
}
.yk-kicker__chev { inline-size: 7px; block-size: 7px; }
a.yk-kicker:hover { text-decoration: underline; }

.yk-card { position: relative; display: flex; flex-direction: column; background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); transition: transform .25s var(--ease), box-shadow .25s; }
.yk-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); }
.yk-card:focus-within { box-shadow: var(--shadow-lift), 0 0 0 3px var(--orange); }
.yk-card__media { position: relative; aspect-ratio: 3 / 2; overflow: hidden; border-start-start-radius: var(--radius); border-start-end-radius: var(--radius); background: var(--navy-tint); }
.yk-card__media img { inline-size: 100%; block-size: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.yk-card:hover .yk-card__media img { transform: scale(1.04); }
/* Signature: an orange arrow-tab cut into the forward (left) edge of every card image. */
.yk-card__media::after {
    content: ""; position: absolute; inset-inline-end: 0; inset-block-end: 18px;
    inline-size: 34px; block-size: 30px; background: var(--orange);
    clip-path: polygon(0 0, 62% 0, 100% 50%, 62% 100%, 0 100%);
}
[dir="rtl"] .yk-card__media::after { clip-path: polygon(100% 0, 38% 0, 0 50%, 38% 100%, 100% 100%); }
.yk-card__body { display: flex; flex-direction: column; gap: 8px; padding: 18px 22px 20px; flex: 1; }
.yk-card__title { font-family: var(--f-title); font-size: 21px; line-height: 1.3; color: var(--navy); }
.yk-card__title a { text-decoration: none; }
.yk-card__title a::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius); }
.yk-card__title a:focus-visible { outline: none; }
.yk-card__excerpt { color: var(--muted); font-size: 15.5px; line-height: 1.65; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.yk-card__meta { display: flex; align-items: center; gap: 10px; margin-block-start: auto; padding-block-start: 6px; color: var(--muted); font-size: 13.5px; }

.yk-card--lead .yk-card__title { font-size: clamp(24px, 2.6vw, 32px); }
.yk-card--lead .yk-card__media { aspect-ratio: 16 / 10; }

.yk-card--row { flex-direction: row; align-items: stretch; }
.yk-card--row .yk-card__media { flex: none; inline-size: 132px; aspect-ratio: auto; border-radius: 0; border-start-start-radius: var(--radius); border-end-start-radius: var(--radius); }
.yk-card--row .yk-card__media::after { inline-size: 20px; block-size: 18px; inset-block-end: auto; inset-block-start: calc(50% - 9px); }
.yk-card--row .yk-card__body { padding: 14px 18px; gap: 4px; }
.yk-card--row .yk-card__title { font-size: 17.5px; }
.yk-card--mini .yk-card__body { padding: 16px 18px; }

/* Forward flow: cards in a row joined by chevron connectors. */
.yk-flow { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.yk-flow > .yk-card:not(:nth-child(3n)):not(:last-child)::before {
    content: ""; position: absolute; z-index: 2; inset-inline-end: -27px; inset-block-start: 22%;
    inline-size: 22px; block-size: 22px;
    background: no-repeat center / 22px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FF6B35' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m15 5-7 7 7 7'/%3E%3C/svg%3E");
}
.yk-flow--archive > .yk-card--lead { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); }
.yk-flow--archive > .yk-card--lead .yk-card__media { border-radius: 0; border-start-start-radius: var(--radius); border-end-start-radius: var(--radius); aspect-ratio: auto; min-block-size: 340px; }
.yk-flow--archive > .yk-card--lead .yk-card__media img { position: absolute; inset: 0; }
.yk-flow--archive > .yk-card--lead .yk-card__body { padding: clamp(22px, 3vw, 40px); justify-content: center; }
.yk-flow--archive > .yk-card--lead::before { display: none; }
/* In the archive grid the lead takes row 1, so connectors follow the remaining rows. */
.yk-flow--archive > .yk-card:not(:nth-child(3n)):not(:last-child)::before { display: none; }
.yk-flow--archive > .yk-card:not(.yk-card--lead):not(:nth-child(3n + 1)):not(:last-child)::before {
    content: ""; display: block; position: absolute; z-index: 2; inset-inline-end: -27px; inset-block-start: 22%;
    inline-size: 22px; block-size: 22px;
    background: no-repeat center / 22px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FF6B35' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m15 5-7 7 7 7'/%3E%3C/svg%3E");
}
.yk-rowlist { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px 32px; margin-block-start: 40px; }

@media (max-width: 999px) {
    .yk-flow, .yk-rowlist { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
    .yk-flow > .yk-card::before, .yk-flow--archive > .yk-card::before { display: none !important; }
}
@media (max-width: 640px) {
    .yk-flow, .yk-rowlist { grid-template-columns: minmax(0, 1fr); }
    .yk-flow--archive > .yk-card--lead { display: flex; }
    .yk-flow--archive > .yk-card--lead .yk-card__media img { position: static; }
    .yk-flow--archive > .yk-card--lead .yk-card__media { min-block-size: 0; aspect-ratio: 3 / 2; border-radius: 0; border-start-start-radius: var(--radius); border-start-end-radius: var(--radius); }
    .yk-card--row .yk-card__media { inline-size: 104px; }
}

/* ---------- Hero ---------- */
.yk-hero { position: relative; overflow: hidden; padding-block: clamp(40px, 6vw, 80px) clamp(48px, 7vw, 96px); background: var(--paper); }
.yk-hero__chevrons { position: absolute; inset: 0; pointer-events: none; display: flex; align-items: center; gap: 4vw; padding-inline-start: 40%; }
.yk-hero__chevrons span {
    flex: none; inline-size: 22vw; max-inline-size: 300px; aspect-ratio: 1;
    border-block-end: 34px solid var(--navy-tint); border-inline-end: 34px solid var(--navy-tint);
    transform: rotate(45deg); animation: yk-drift 14s linear infinite;
}
.yk-hero__chevrons span:nth-child(2n) { border-color: #EFE6DA; }
@keyframes yk-drift { from { translate: 0 0; } to { translate: -30vw 0; } }
.yk-hero__grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.yk-hero__kicker { display: inline-flex; align-items: center; gap: 8px; color: var(--orange-ink); font-weight: 700; font-size: 16px; }
.yk-hero__title {
    font-family: var(--f-display); font-weight: 700; color: var(--navy);
    font-size: clamp(88px, 13vw, 176px); line-height: .82; letter-spacing: -.5px; margin-block: 14px 18px;
}
.yk-hero__title span { color: var(--orange); position: relative; white-space: nowrap; }
.yk-hero__lede { font-size: clamp(18px, 1.7vw, 21px); line-height: 1.6; color: var(--ink); max-inline-size: 34ch; }
.yk-hero__stats { list-style: none; display: flex; flex-wrap: wrap; gap: 12px 28px; margin-block: 26px 30px; color: var(--muted); font-size: 15px; }
.yk-hero__stats li { display: flex; align-items: baseline; gap: 8px; }
.yk-hero__stats strong { font-family: var(--f-display); font-size: 46px; line-height: 1; color: var(--navy); font-weight: 700; }
.yk-hero__stats li + li { padding-inline-start: 28px; border-inline-start: 2px solid var(--line); }
.yk-hero__lead { position: relative; }
.yk-hero__leadlabel {
    position: absolute; z-index: 3; inset-block-start: -16px; inset-inline-start: 22px;
    background: var(--navy); color: #fff; font-family: var(--f-display); font-weight: 700; font-size: 26px; line-height: 1;
    padding: 8px 18px 6px 26px; clip-path: polygon(100% 0, 16px 0, 0 50%, 16px 100%, 100% 100%);
}
.yk-hero__lead .yk-card { box-shadow: var(--shadow-lift); }
@media (max-width: 899px) {
    .yk-hero__grid { grid-template-columns: minmax(0, 1fr); }
    .yk-hero__chevrons { padding-inline-start: 10%; }
}
@media (max-width: 480px) {
    .yk-hero__stats { gap: 10px 18px; }
    .yk-hero__stats li + li { padding-inline-start: 18px; }
    .yk-hero__stats strong { font-size: 38px; }
}

/* ---------- The route (homepage signature) ---------- */
.yk-routewrap {
    position: relative; background: var(--navy); color: #fff; padding-block: clamp(56px, 7vw, 96px);
    background-image: radial-gradient(rgb(255 255 255 / .06) 1.2px, transparent 1.3px);
    background-size: 22px 22px;
}
.yk-route {
    --gap: 22px; --rg: 64px; --stop-h: 352px; --node: 56px;
    list-style: none; position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr));
    column-gap: var(--gap); row-gap: var(--rg); margin-block-start: 16px; padding-inline-end: 40px;
}
.yk-stop { position: relative; display: flex; flex-direction: column; align-items: center; }
.yk-route--snake .yk-stop { block-size: var(--stop-h); }
.yk-stop__node {
    position: relative; z-index: 2; display: grid; place-items: center; flex: none;
    inline-size: var(--node); block-size: var(--node); border-radius: 50%;
    background: #fff; color: var(--navy); border: 4px solid var(--navy);
    box-shadow: 0 0 0 3px var(--orange);
    font-family: var(--f-display); font-weight: 700; font-size: 30px; line-height: 1; padding-block-start: 3px;
    transition: background .2s, color .2s;
}
.yk-stop:first-child .yk-stop__node { background: var(--orange); }
.yk-stop:hover .yk-stop__node, .yk-stop:focus-within .yk-stop__node { background: var(--orange); color: var(--navy); }
.yk-stop__card {
    position: relative; display: flex; flex-direction: column; inline-size: 100%; flex: 1; min-block-size: 0;
    margin-block-start: 16px; background: #fff; color: var(--ink); border-radius: 14px; overflow: hidden; text-decoration: none;
    transition: transform .25s var(--ease), box-shadow .25s;
}
.yk-stop__card:hover { transform: translateY(-4px); box-shadow: 0 0 0 3px var(--orange), 0 20px 40px -20px rgb(0 0 0 / .7); }
.yk-stop__card:focus-visible { outline-offset: 2px; }
.yk-stop__media { display: block; aspect-ratio: 16 / 10; background: var(--navy-tint); overflow: hidden; flex: none; }
.yk-stop__media img { inline-size: 100%; block-size: 100%; object-fit: cover; }
.yk-stop__ph { display: grid; place-items: center; block-size: 100%; color: var(--navy); background: repeating-linear-gradient(-45deg, var(--navy-tint) 0 12px, #F3F4F8 12px 24px); }
.yk-stop__body { display: flex; flex-direction: column; gap: 6px; padding: 12px 14px 14px; flex: 1; min-block-size: 0; }
.yk-stop__name { display: flex; align-items: flex-start; gap: 7px; font-family: var(--f-title); font-size: 18px; line-height: 1.25; color: var(--navy); }
.yk-stop__icon { color: var(--orange-ink); padding-block-start: 2px; }
.yk-stop__desc { flex: none; color: var(--muted); font-size: 14px; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.yk-stop__count { margin-block-start: auto; display: inline-flex; align-items: center; gap: 6px; color: var(--orange-ink); font-size: 14px; font-weight: 700; }
.yk-stop__count::after { content: ""; inline-size: 7px; block-size: 7px; border-block-end: 2.5px solid currentColor; border-inline-end: 2.5px solid currentColor; transform: rotate(45deg); transition: translate .2s var(--ease); }
.yk-stop__card:hover .yk-stop__count::after { translate: -4px 0; }
.yk-stop.is-soon .yk-stop__count { color: var(--muted); font-weight: 500; }
.yk-stop.is-soon .yk-stop__count::after { display: none; }

/* The road: dashed orange line through the nodes, moving forward. */
.yk-route--snake .yk-stop::before {
    content: ""; position: absolute; z-index: 1; inset-block-start: calc(var(--node) / 2 - 3px); block-size: 6px;
    inset-inline: calc(var(--gap) / -2);
    background: repeating-linear-gradient(to left, var(--orange) 0 16px, transparent 16px 26px);
    background-size: 26px 6px;
    animation: yk-road 1.4s linear infinite;
}
.yk-route--snake .yk-stop:nth-child(n + 6)::before { animation-direction: reverse; }
/* first stop: line starts at the node; last stop: ends at the node */
.yk-route--snake .yk-stop:nth-child(1)::before,
.yk-route--snake .yk-stop:nth-child(10)::before { inset-inline-start: 50%; }
/* the U-turn after stop 5, on the forward (left) side */
.yk-route--snake .yk-stop:nth-child(5)::after {
    content: ""; position: absolute; z-index: 1;
    inset-block-start: calc(var(--node) / 2 - 3px);
    inset-inline-end: calc(var(--gap) / -2 - 34px);
    inline-size: 34px; block-size: calc(var(--stop-h) + var(--rg) + 6px);
    border: 6px dashed var(--orange); border-inline-start: 0;
    border-start-end-radius: 44px; border-end-end-radius: 44px;
}
.yk-route--snake .yk-stop:nth-child(n + 6) { grid-row: 2; }
.yk-route--snake .yk-stop:nth-child(6) { grid-column: 5; }
.yk-route--snake .yk-stop:nth-child(7) { grid-column: 4; }
.yk-route--snake .yk-stop:nth-child(8) { grid-column: 3; }
.yk-route--snake .yk-stop:nth-child(9) { grid-column: 2; }
.yk-route--snake .yk-stop:nth-child(10) { grid-column: 1; }
.yk-route--snake .yk-stop:nth-child(10) .yk-stop__node { background: var(--navy); color: var(--orange); border-color: var(--orange); box-shadow: 0 0 0 3px var(--navy), 0 0 0 6px var(--orange); }
@keyframes yk-road { from { background-position: 0 0; } to { background-position: -26px 0; } }

/* Tablet + phone: the route runs down the start (right) side. */
@media (max-width: 1099px) {
    .yk-route { --node: 48px; grid-template-columns: minmax(0, 1fr); row-gap: 18px; padding-inline-end: 0; }
    .yk-route--snake .yk-stop { block-size: auto; grid-row: auto !important; grid-column: auto !important; }
    .yk-stop { flex-direction: row; align-items: stretch; gap: 16px; }
    .yk-stop__node { font-size: 26px; }
    .yk-stop__card { flex-direction: row; margin-block-start: 0; min-block-size: 112px; }
    .yk-stop__media { inline-size: clamp(110px, 30%, 240px); aspect-ratio: auto; }
    .yk-stop__body { justify-content: center; padding: 14px 16px; }
    .yk-stop__count { margin-block-start: 4px; }
    .yk-route--snake .yk-stop::before,
    .yk-route--snake .yk-stop:nth-child(1)::before,
    .yk-route--snake .yk-stop:nth-child(10)::before {
        inset-inline: auto; inset-inline-start: calc(var(--node) / 2 - 3px);
        inset-block: 0 -18px; inline-size: 6px; block-size: auto;
        background: repeating-linear-gradient(to bottom, var(--orange) 0 14px, transparent 14px 24px); background-size: 6px 24px;
        animation: yk-road-v 1.4s linear infinite;
    }
    .yk-route--snake .yk-stop:nth-child(1)::before { inset-block-start: calc(var(--node) / 2); }
    .yk-route--snake .yk-stop:nth-child(10)::before { inset-block-end: auto; block-size: calc(var(--node) / 2); }
    .yk-route--snake .yk-stop:nth-child(5)::after { display: none; }
}
@media (max-width: 520px) {
    .yk-route { --node: 40px; }
    .yk-stop { gap: 10px; }
    .yk-stop__node { font-size: 22px; border-width: 3px; }
    .yk-stop__media { inline-size: 92px; }
    .yk-stop__name { font-size: 16.5px; }
    .yk-stop__desc { display: none; }
}
@keyframes yk-road-v { from { background-position: 0 0; } to { background-position: 0 24px; } }

/* ---------- Front-page prose + writers ---------- */
.yk-about { background: var(--surface); }
.yk-about__grid { display: grid; grid-template-columns: 160px minmax(0, 760px); gap: 48px; justify-content: center; }
.yk-about__mark { padding-block-start: 10px; }
.yk-about__mark .yk-mark { position: sticky; inset-block-start: calc(var(--header-h) + 32px); }
@media (max-width: 799px) { .yk-about__grid { grid-template-columns: minmax(0, 1fr); gap: 16px; } .yk-about__mark .yk-mark { inline-size: 64px; block-size: 64px; position: static; } }

.yk-writers__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 24px; }
.yk-writer { display: flex; gap: 20px; align-items: flex-start; background: var(--surface); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); border-inline-start: 6px solid var(--orange); }
.yk-writer__name { font-family: var(--f-title); font-size: 22px; color: var(--navy); }
.yk-writer__count { color: var(--orange-ink); font-weight: 700; font-size: 14px; margin-block: 2px 8px; }
.yk-writer__bio { color: var(--muted); font-size: 15.5px; line-height: 1.7; }

.yk-avatar {
    display: inline-grid; place-items: center; flex: none; inline-size: 44px; block-size: 44px; border-radius: 50%;
    background: var(--navy); color: var(--orange); font-family: var(--f-display); font-weight: 700; font-size: 22px; line-height: 1; padding-block-start: 2px;
}
.yk-avatar--lg { inline-size: 68px; block-size: 68px; font-size: 34px; box-shadow: 0 0 0 4px var(--orange-tint); }

/* ---------- Page band (archives, pages) ---------- */
.yk-band { position: relative; overflow: hidden; background: var(--navy); color: #fff; padding-block: clamp(32px, 5vw, 56px) clamp(40px, 5.5vw, 64px); }
.yk-band__inner { position: relative; z-index: 1; }
.yk-band__chev { position: absolute; inset-block: 0; inset-inline-end: -40px; display: flex; align-items: center; gap: 20px; pointer-events: none; }
.yk-band__chev span { inline-size: 170px; aspect-ratio: 1; border-block-end: 26px solid rgb(255 255 255 / .05); border-inline-end: 26px solid rgb(255 255 255 / .05); transform: rotate(45deg); }
.yk-band__chev span:first-child { border-color: rgb(255 107 53 / .32); }
.yk-band__kicker { display: inline-flex; align-items: center; gap: 10px; color: var(--orange); font-weight: 700; font-size: 15px; margin-block-start: 14px; }
.yk-band__kicker::before { inline-size: 9px; block-size: 9px; border-width: 3px; }
.yk-band__title { font-family: var(--f-display); font-weight: 700; font-size: clamp(52px, 7.5vw, 92px); line-height: .92; margin-block-start: 6px; max-inline-size: 18ch; }
.yk-band__lead { margin-block-start: 16px; color: var(--on-navy-muted); font-size: 18.5px; max-inline-size: 62ch; }
@media (max-width: 640px) { .yk-band__chev { display: none; } }

.yk-crumbs { font-size: 14px; color: var(--muted); }
.yk-crumbs a { color: inherit; }
.yk-band .yk-crumbs { color: var(--on-navy-muted); }
.yk-band .yk-crumbs a:hover { color: #fff; }

/* Stops rail under a category band */
.yk-rail { position: relative; margin-block-start: 34px; overflow-x: auto; scrollbar-width: thin; padding-block-end: 4px; }
.yk-rail__list { list-style: none; position: relative; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(96px, 1fr); }
.yk-rail__list::before { content: ""; position: absolute; inset-inline: 24px; inset-block-start: 16px; block-size: 3px; background: repeating-linear-gradient(to left, rgb(255 255 255 / .35) 0 8px, transparent 8px 14px); }
.yk-rail__stop a { position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; text-decoration: none; color: var(--on-navy-muted); font-size: 13px; line-height: 1.3; padding-inline: 4px; min-block-size: 44px; }
.yk-rail__dot { display: grid; place-items: center; inline-size: 34px; block-size: 34px; border-radius: 50%; background: var(--navy-2); border: 2px solid rgb(255 255 255 / .35); font-family: var(--f-display); font-weight: 700; font-size: 18px; color: #fff; padding-block-start: 2px; }
.yk-rail__stop a:hover { color: #fff; }
.yk-rail__stop a:hover .yk-rail__dot { border-color: var(--orange); }
.yk-rail__stop.is-current a { color: #fff; font-weight: 700; }
.yk-rail__stop.is-current .yk-rail__dot { background: var(--orange); border-color: var(--orange); color: var(--navy); box-shadow: 0 0 0 4px rgb(255 107 53 / .25); }

/* Chips */
.yk-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-block-end: 36px; }
.yk-chip {
    display: inline-flex; align-items: center; gap: 8px; min-block-size: 42px; padding-inline: 14px 8px;
    background: var(--surface); border: 1.5px solid var(--line); border-radius: 999px; text-decoration: none; color: var(--navy); font-size: 15px; font-weight: 500;
    transition: border-color .2s, transform .2s var(--ease);
}
.yk-chip .yk-i { color: var(--orange-ink); }
.yk-chip__n { display: inline-grid; place-items: center; min-inline-size: 28px; block-size: 28px; padding-inline: 6px; border-radius: 999px; background: var(--navy-tint); font-size: 13px; font-weight: 700; }
.yk-chip:hover { border-color: var(--orange); transform: translateX(-2px); }

/* ---------- Single ---------- */
.yk-single__head { padding-block: clamp(24px, 4vw, 44px) 28px; }
.yk-single__kickers { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 14px; margin-block-start: 18px; }
.yk-stopbadge { display: inline-flex; align-items: center; min-block-size: 30px; padding: 2px 14px 0; background: var(--navy); color: #fff; border-radius: 999px; font-family: var(--f-display); font-weight: 700; font-size: 20px; line-height: 1; }
.yk-single__title { font-family: var(--f-title); color: var(--navy); font-size: clamp(32px, 4.4vw, 54px); line-height: 1.15; margin-block: 14px 22px; max-inline-size: 24ch; }
.yk-byline { display: flex; align-items: center; gap: 12px; }
.yk-byline__text { display: flex; flex-direction: column; gap: 2px; }
.yk-byline__who { font-weight: 600; color: var(--navy); }
.yk-byline__meta { display: flex; flex-wrap: wrap; gap: 4px 16px; color: var(--muted); font-size: 14.5px; }
.yk-byline__meta > span { display: inline-flex; align-items: center; gap: 5px; }

.yk-single__figure { margin-block: 0 clamp(28px, 4vw, 48px); max-inline-size: calc(1024px + 2 * var(--gutter)); }
.yk-single__figure img { inline-size: 100%; aspect-ratio: 2 / 1; object-fit: cover; border-radius: 20px; box-shadow: var(--shadow); }
.yk-single__figure figcaption { margin-block-start: 8px; color: var(--muted); font-size: 14px; }

.yk-single__layout { display: grid; grid-template-columns: minmax(0, 760px); justify-content: center; gap: 56px; padding-block-end: clamp(48px, 6vw, 80px); }
.yk-single__layout.has-toc { grid-template-columns: 270px minmax(0, 760px); }
.yk-single__main { min-inline-size: 0; }

/* Contents list as a mini route */
.yk-toc { align-self: start; position: sticky; inset-block-start: calc(var(--header-h) + 24px); }
.yk-toc__details { background: var(--surface); border-radius: var(--radius); padding: 18px 20px; box-shadow: var(--shadow); }
.yk-toc__title { display: flex; align-items: center; gap: 8px; cursor: pointer; font-family: var(--f-title); color: var(--navy); font-size: 18px; list-style: none; min-block-size: 32px; }
.yk-toc__title::-webkit-details-marker { display: none; }
.yk-toc__title .yk-i { color: var(--orange-ink); }
.yk-toc__list { list-style: none; counter-reset: yk-toc; margin-block-start: 12px; position: relative; max-block-size: calc(100vh - 220px); overflow-y: auto; }
.yk-toc__list li { counter-increment: yk-toc; position: relative; padding-inline-start: 34px; }
.yk-toc__list li::before {
    content: counter(yk-toc); position: absolute; inset-inline-start: 0; inset-block-start: 7px; z-index: 1;
    display: grid; place-items: center; inline-size: 22px; block-size: 22px; border-radius: 50%;
    background: var(--surface); border: 2px solid var(--navy); color: var(--navy); font-size: 11.5px; font-weight: 700; line-height: 1;
}
.yk-toc__list li:not(:last-child)::after { content: ""; position: absolute; inset-inline-start: 10px; inset-block: 29px -7px; inline-size: 2px; background: repeating-linear-gradient(to bottom, var(--line) 0 4px, transparent 4px 7px); }
.yk-toc__list a { display: block; padding-block: 6px; color: var(--muted); font-size: 14.5px; line-height: 1.45; text-decoration: none; }
.yk-toc__list a:hover { color: var(--navy); }
.yk-toc__list li:hover::before { background: var(--orange); border-color: var(--orange); }
@media (max-width: 999px) {
    .yk-single__layout.has-toc { grid-template-columns: minmax(0, 760px); gap: 28px; }
    .yk-toc { position: static; }
    .yk-toc__list { max-block-size: none; }
}

/* ---------- Prose ---------- */
.yk-prose { font-size: 18px; line-height: 1.85; color: var(--ink); }
.yk-prose > * + * { margin-block-start: 1.1em; }
.yk-prose h2 { font-family: var(--f-title); color: var(--navy); font-size: clamp(25px, 2.6vw, 31px); line-height: 1.25; margin-block-start: 2em; display: flex; align-items: baseline; gap: 14px; scroll-margin-block-start: calc(var(--header-h) + 24px); }
.yk-prose h2::before { flex: none; inline-size: 12px; block-size: 12px; border-width: 4px; color: var(--orange); transform: translateY(-4px) rotate(45deg); }
.yk-prose h3 { font-family: var(--f-title); color: var(--navy); font-size: clamp(20px, 2vw, 23px); line-height: 1.3; margin-block-start: 1.6em; }
.yk-prose h2 + *, .yk-prose h3 + * { margin-block-start: .6em; }
.yk-prose a { color: var(--orange-ink); text-decoration-color: rgb(184 63 18 / .45); text-decoration-thickness: 1.5px; }
.yk-prose a:hover { text-decoration-color: currentColor; }
.yk-prose strong { font-weight: 600; color: var(--navy); }
.yk-prose img { border-radius: 14px; }
.yk-prose blockquote { margin-inline: 0; padding: 4px 22px; border-inline-start: 5px solid var(--orange); font-family: var(--f-title); font-size: 21px; color: var(--navy); }
.yk-prose ul:not([class]) { list-style: none; }
.yk-prose ul:not([class]) > li { position: relative; padding-inline-start: 26px; }
.yk-prose ul:not([class]) > li + li { margin-block-start: .45em; }
.yk-prose ul:not([class]) > li::before { position: absolute; inset-inline-start: 4px; inset-block-start: .72em; inline-size: 7px; block-size: 7px; color: var(--orange); border-width: 2.5px; }
.yk-prose ol:not([class]) { padding-inline-start: 1.3em; }
.yk-prose hr { border: 0; block-size: 6px; background: repeating-linear-gradient(to left, var(--orange) 0 14px, transparent 14px 24px); margin-block: 2.4em; }

/* Ordered lists: a step track */
.yk-steps { list-style: none; counter-reset: yk-step; padding: 0; }
.yk-steps > li { counter-increment: yk-step; position: relative; padding-inline-start: 58px; min-block-size: 40px; padding-block-end: 4px; }
.yk-steps > li + li { margin-block-start: 1em; }
.yk-steps > li::before {
    content: counter(yk-step); position: absolute; inset-inline-start: 0; inset-block-start: -1px; z-index: 1;
    display: grid; place-items: center; inline-size: 40px; block-size: 40px; border-radius: 50%;
    background: var(--navy); color: #fff; font-family: var(--f-display); font-weight: 700; font-size: 25px; line-height: 1; padding-block-start: 3px;
    box-shadow: 0 0 0 4px var(--paper);
}
.yk-steps > li:not(:last-child)::after {
    content: ""; position: absolute; inset-inline-start: 18px; inset-block: 40px calc(-1em - 2px); inline-size: 4px;
    background: repeating-linear-gradient(to bottom, var(--orange) 0 7px, transparent 7px 13px);
}
.yk-steps > li:last-child::before { background: var(--orange); color: var(--navy); }

/* "כדאי לבדוק לפני" box */
.yk-check { margin-block: 2.4em 1.4em !important; border-radius: 20px; background: var(--surface); box-shadow: var(--shadow); overflow: hidden; border: 2px solid var(--navy); }
.yk-check__head { display: flex; align-items: center; gap: 14px; padding: 16px 24px 14px; background: var(--navy); color: #fff; }
.yk-check__head .yk-i { flex: none; inline-size: 38px; block-size: 38px; padding: 7px; border-radius: 50%; background: var(--orange); color: var(--navy); stroke-width: 2.6; }
.yk-prose .yk-check__title { font-family: var(--f-display); font-weight: 700; color: #fff; font-size: 38px; line-height: 1; margin: 0; padding-block-start: 4px; display: block; }
.yk-prose .yk-check__title::before { display: none; }
.yk-check__body { padding: 20px 24px 22px; font-size: 17px; }
.yk-check__body > * + * { margin-block-start: .8em; }
.yk-check__list { list-style: none; }
.yk-check__list > li { position: relative; padding-inline-start: 38px; }
.yk-check__list > li + li { margin-block-start: .7em; padding-block-start: .7em; border-block-start: 1px dashed var(--line); }
.yk-check__list > li::before {
    content: ""; position: absolute; inset-inline-start: 0; inset-block-start: .3em;
    inline-size: 22px; block-size: 22px; border: 2.5px solid var(--navy); border-radius: 6px; background: var(--orange-tint);
}
.yk-check__list > li + li::before { inset-block-start: calc(.7em + .3em); }

/* Closing general-information note */
.yk-note { display: flex; gap: 14px; align-items: flex-start; margin-block-start: 1.6em !important; padding: 18px 20px; border-radius: 14px; background: var(--navy-tint); color: var(--muted); font-size: 15.5px; line-height: 1.7; }
.yk-note .yk-i { color: var(--navy); margin-block-start: 3px; }
.yk-note__title { display: block; color: var(--navy); font-weight: 700; margin-block-end: 2px; }
.yk-readalso { padding: 14px 20px; border-radius: 12px; background: var(--orange-tint); border-inline-start: 5px solid var(--orange); font-size: 16.5px; }
.yk-readalso strong { color: var(--orange-ink); }

/* Tables */
.yk-table { overflow-x: auto; border-radius: 14px; box-shadow: var(--shadow); background: var(--surface); }
.yk-table table { inline-size: 100%; border-collapse: collapse; font-size: 15.5px; line-height: 1.55; min-inline-size: 560px; }
.yk-table th { background: var(--navy); color: #fff; font-weight: 600; text-align: start; padding: 12px 16px; }
.yk-table td { padding: 12px 16px; border-block-start: 1px solid var(--line); vertical-align: top; }
.yk-table tbody tr:nth-child(even) td { background: #FBF9F5; }
.yk-table td:first-child { font-weight: 600; color: var(--navy); }

/* Author box */
.yk-authorbox { display: flex; gap: 20px; align-items: flex-start; margin-block-start: 48px; padding: 26px; border-radius: 20px; background: var(--surface); box-shadow: var(--shadow); border-block-start: 5px solid var(--orange); }
.yk-authorbox__label { color: var(--orange-ink); font-size: 13.5px; font-weight: 700; }
.yk-authorbox__name { font-family: var(--f-title); font-size: 23px; color: var(--navy); }
.yk-authorbox__bio { color: var(--muted); font-size: 15.5px; line-height: 1.7; margin-block-start: 6px; }
.yk-authorbox__count { margin-block-start: 8px; font-size: 14px; font-weight: 600; color: var(--navy); }
.yk-next { background: #EFE9DF; }
@media (max-width: 520px) { .yk-authorbox, .yk-writer { flex-direction: column; } }

/* Pages + contact form */
.yk-page { max-inline-size: 760px; margin-inline: auto; }
.yk-page input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]), .yk-page textarea, .yk-page select {
    inline-size: 100%; min-block-size: 50px; padding: 12px 16px; border: 2px solid var(--line); border-radius: 12px; background: var(--surface); color: var(--ink); font: inherit; font-size: 16px;
}
.yk-page textarea { min-block-size: 140px; }
.yk-page input:focus, .yk-page textarea:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 4px rgb(255 107 53 / .2); }
.yk-page label { display: block; font-weight: 600; color: var(--navy); margin-block-end: 6px; font-size: 16px; }
.yk-page .adxc-form { margin-block-start: 1.4em; padding: clamp(20px, 3vw, 32px); background: var(--surface); border-radius: 20px; box-shadow: var(--shadow); }
.yk-page .adxc-field + .adxc-field { margin-block-start: 18px; }
.yk-page .adxc-actions { margin-block-start: 22px; }
.yk-page button[type="submit"], .yk-page input[type="submit"] {
    display: inline-flex; align-items: center; min-block-size: 50px; padding-inline: 30px; border: 0; border-radius: 999px;
    background: var(--orange); color: var(--navy); font: inherit; font-weight: 700; cursor: pointer;
}
.yk-page button[type="submit"]:hover { background: #ff7d4d; }

/* Misc listing parts */
.yk-termrest { max-inline-size: 760px; margin: clamp(48px, 6vw, 72px) auto 0; padding-block-start: 32px; border-block-start: 2px solid var(--line); }
.yk-searchpage { margin-block-end: 36px; }
.yk-lead-p { font-size: 18px; margin-block-end: 18px; }
.yk-empty { display: grid; justify-items: center; gap: 16px; text-align: center; padding: 48px 20px; background: var(--surface); border-radius: 20px; box-shadow: var(--shadow); }
.yk-empty .yk-search { inline-size: 100%; }

.yk-pagination { margin-block-start: 48px; }
.yk-pagination .nav-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.yk-pagination .page-numbers {
    display: inline-grid; place-items: center; min-inline-size: 46px; min-block-size: 46px; padding-inline: 14px; border-radius: 12px;
    background: var(--surface); color: var(--navy); text-decoration: none; font-weight: 600; box-shadow: var(--shadow);
}
.yk-pagination .page-numbers.current { background: var(--navy); color: #fff; }
.yk-pagination a.page-numbers:hover { background: var(--orange); color: var(--navy); }
.yk-pagination .dots { box-shadow: none; background: none; }

/* ---------- Footer ---------- */
.yk-footer { position: relative; background: var(--navy-deep); color: var(--on-navy-muted); padding-block: 64px 0; font-size: 15.5px; }
.yk-footer__track { position: absolute; inset-inline: 0; inset-block-start: 0; block-size: 6px; background: repeating-linear-gradient(to left, var(--orange) 0 22px, transparent 22px 34px); background-size: 34px 6px; animation: yk-road-f 2s linear infinite; }
@keyframes yk-road-f { from { background-position: 0 0; } to { background-position: -34px 0; } }
.yk-footer__grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1.2fr) minmax(0, .8fr); gap: 40px; }
.yk-footer .yk-brand { color: #fff; }
.yk-footer__tag { margin-block: 14px 12px; color: #fff; max-inline-size: 40ch; }
.yk-footer__note { font-size: 14px; line-height: 1.65; max-inline-size: 46ch; }
.yk-footer__h { font-family: var(--f-display); font-weight: 700; font-size: 32px; line-height: 1; color: var(--orange); margin-block-end: 14px; }
.yk-footer__list { list-style: none; }
.yk-footer__list--cols { columns: 2; column-gap: 24px; }
.yk-footer__list li { break-inside: avoid; }
.yk-footer__list a { display: inline-flex; align-items: center; min-block-size: 40px; color: inherit; text-decoration: none; }
.yk-footer__list a:hover { color: #fff; text-decoration: underline; text-decoration-color: var(--orange); }
.yk-footer__base { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-block-start: 48px; padding-block: 18px; border-block-start: 1px solid rgb(255 255 255 / .1); font-size: 14px; }
.yk-totop { display: inline-flex; align-items: center; gap: 6px; min-block-size: 40px; color: inherit; text-decoration: none; }
.yk-totop:hover { color: #fff; }
@media (max-width: 899px) { .yk-footer__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .yk-footer__brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .yk-footer__grid { grid-template-columns: minmax(0, 1fr); } .yk-footer__list--cols { columns: 1; } }

/* ---------- Motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
