/* ==========================================================================
   Shfela Krova — a local leisure zine.
   Paper, ink outlines, stickers, a neighbourhood strip. RTL-first, logical properties.
   ========================================================================== */

/* Fonts (self-hosted, per-subset) ---------------------------------------- */
@font-face { font-family: "Heebo"; src: url("../fonts/heebo-hebrew.woff2") format("woff2"); font-weight: 100 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: "Heebo"; src: url("../fonts/heebo-latin.woff2") format("woff2"); font-weight: 100 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: "Playpen Sans Hebrew"; src: url("../fonts/playpen-hebrew.woff2") format("woff2"); font-weight: 100 800; 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: "Playpen Sans Hebrew"; src: url("../fonts/playpen-latin.woff2") format("woff2"); font-weight: 100 800; 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.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.woff2") format("woff2"); font-weight: 700; font-display: swap; unicode-range: U+0000-00FF, U+2000-206F; }

/* Tokens ------------------------------------------------------------------ */
:root {
    --paper: #FFF9EF;
    --sheet: #FFFFFF;
    --sand-50: #FDF4E4;
    --sand-100: #FBEFD9;
    --sand-200: #F8E3BE;
    --sand: #F2BC6B;
    --sea-100: #CDEBE6;
    --sea: #9FD7CF;
    --teal: #2A9D8F;          /* brand primary — decoration and large shapes */
    --teal-ink: #17675E;      /* links on paper (6.4:1) */
    --teal-deep: #1D5E57;     /* buttons, footer (white 7.5:1) */
    --coral: #E76F51;         /* brand secondary — decoration, stickers */
    --coral-ink: #A93E26;     /* coral text on paper (5.9:1) */
    --coral-100: #FFDCCF;
    --ink: #173F3B;           /* outlines, headings (11:1) */
    --ink-dark: #0F2B28;
    --text: #1F2F2E;          /* body text (13.3:1) */
    --muted: #4A5D5A;         /* secondary text (6.7:1) */
    --line: #E4D5BB;

    --f-body: "Heebo", "Arial Hebrew", Arial, sans-serif;
    --f-title: "Playpen Sans Hebrew", "Heebo", Arial, sans-serif;
    --f-logo: "Karantina", "Playpen Sans Hebrew", sans-serif;

    --wrap: 1180px;
    --wrap-wide: 1300px;
    --wrap-mid: 940px;
    --wrap-read: 760px;
    --gutter: clamp(1rem, 4vw, 2rem);
    --radius: 16px;
    --radius-sm: 10px;
    --outline: 2px solid var(--ink);
    --pop: 5px 5px 0 var(--ink);
    --pop-sm: 3px 3px 0 var(--ink);
}

/* Base -------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 6rem; }
body {
    margin: 0;
    font-family: var(--f-body);
    font-size: 1.0625rem;
    line-height: 1.75;
    color: var(--text);
    background-color: var(--paper);
    /* Halftone dots: the printed-zine paper. */
    background-image: radial-gradient(rgba(23, 63, 59, .07) 1px, transparent 1.2px);
    background-size: 22px 22px;
    text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; height: auto; }
img { display: block; }
a { color: var(--teal-ink); text-underline-offset: .2em; text-decoration-thickness: 1px; }
a:hover { color: var(--coral-ink); }
h1, h2, h3, h4 { font-family: var(--f-title); color: var(--ink); line-height: 1.25; margin: 0 0 .5em; font-weight: 700; }
p { margin: 0 0 1em; }
button, input, textarea, select { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--coral-ink); outline-offset: 3px; border-radius: 4px; }
.sk-main:focus { outline: none; }

.sk-sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.sk-skip {
    position: absolute; inset-inline-start: 1rem; top: -4rem; z-index: 100;
    background: var(--ink); color: var(--paper); padding: .6rem 1.1rem; border-radius: 0 0 var(--radius-sm) var(--radius-sm);
    font-weight: 700; text-decoration: none; transition: top .15s;
}
.sk-skip:focus { top: 0; color: var(--paper); }

.sk-wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.sk-wrap--wide { max-width: calc(var(--wrap-wide) + 2 * var(--gutter)); }
.sk-wrap--mid { max-width: calc(var(--wrap-mid) + 2 * var(--gutter)); }
.sk-wrap--read { max-width: calc(var(--wrap-read) + 2 * var(--gutter)); }

.sk-icon { display: inline-block; vertical-align: -.15em; flex: none; }

/* Header ------------------------------------------------------------------ */
.sk-header {
    position: sticky; top: 0; z-index: 50;
    background: rgba(255, 249, 239, .96);
    border-bottom: var(--outline);
}
@supports (backdrop-filter: blur(6px)) { .sk-header { background: rgba(255, 249, 239, .9); backdrop-filter: blur(6px); } }
.admin-bar .sk-header { top: 32px; }
.sk-header__bar { display: flex; align-items: center; gap: 1.25rem; min-height: 76px; }

.sk-brand { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--ink); }
.sk-brand:hover { color: var(--ink); }
.sk-brand .sk-mark { filter: drop-shadow(2px 2px 0 rgba(23, 63, 59, .25)); transition: transform .2s; }
.sk-brand:hover .sk-mark { transform: rotate(-6deg); }
.sk-brand__text { display: flex; flex-direction: column; align-items: flex-start; gap: .15rem; }
.sk-brand__name { font-family: var(--f-logo); font-weight: 700; font-size: 2.35rem; line-height: .85; letter-spacing: .01em; }
.sk-brand__flag {
    font-size: .74rem; font-weight: 700; line-height: 1.2; color: var(--coral-ink);
    border: 1.5px dashed var(--coral-ink); border-radius: 999px; padding: .1rem .55rem; white-space: nowrap;
}

.sk-nav { margin-inline-start: auto; }
.sk-nav__list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .15rem; }
.sk-nav__list a {
    display: flex; align-items: center; min-height: 44px; padding: .4rem .75rem; border-radius: 999px; font-weight: 600; font-size: .98rem;
    color: var(--ink); text-decoration: none; line-height: 1.4;
}
.sk-nav__list a:hover { background: var(--sand-200); color: var(--ink); }
.sk-nav__list .current-menu-item > a, .sk-nav__list .current-category-ancestor > a, .sk-nav__list .current-post-ancestor > a { background: var(--ink); color: var(--paper); }

.sk-header__tools { display: flex; align-items: center; gap: .4rem; }
.sk-iconbtn {
    display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px;
    border: var(--outline); background: var(--sheet); color: var(--ink); cursor: pointer; box-shadow: 2px 2px 0 var(--ink);
}
.sk-iconbtn:hover { background: var(--sand-200); }
.sk-iconbtn[aria-expanded="true"] { background: var(--ink); color: var(--paper); box-shadow: none; transform: translate(2px, 2px); }
.sk-burger { display: none; }
.sk-burger__close { display: none; }
.sk-burger[aria-expanded="true"] .sk-burger__open { display: none; }
.sk-burger[aria-expanded="true"] .sk-burger__close { display: inline; }

.sk-searchpanel { border-top: 2px dashed var(--line); background: var(--sand-50); padding-block: 1rem; }

@media (max-width: 1059px) {
    .sk-burger { display: inline-grid; }
    .sk-header__tools { margin-inline-start: auto; }
    .sk-nav {
        display: none; position: absolute; inset-inline: 0; top: 100%;
        background: var(--paper); border-bottom: var(--outline); padding: .75rem var(--gutter) 1.25rem;
        max-height: calc(100vh - 80px); overflow-y: auto;
    }
    .sk-menu-open .sk-nav { display: block; }
    .sk-nav__list { flex-direction: column; gap: .2rem; }
    .sk-nav__list a { padding: .7rem .9rem; font-size: 1.05rem; border-radius: var(--radius-sm); }
}
@media (max-width: 520px) {
    .sk-header__bar { min-height: 68px; gap: .6rem; }
    .sk-brand .sk-mark { width: 42px; height: 42px; }
    .sk-brand__name { font-size: 2rem; }
    .sk-brand__flag { font-size: .68rem; }
}

/* Search form ------------------------------------------------------------- */
.sk-searchform { display: flex; gap: .5rem; max-width: 640px; }
.sk-searchform input {
    flex: 1; min-width: 0; min-height: 48px; padding: .5rem 1rem; border: var(--outline); border-radius: 999px;
    background: var(--sheet); font-size: 1rem;
}
.sk-searchform button {
    display: inline-flex; align-items: center; gap: .4rem; min-height: 48px; padding: .5rem 1.2rem;
    border: var(--outline); border-radius: 999px; background: var(--teal-deep); color: #fff; font-weight: 700; cursor: pointer;
    box-shadow: var(--pop-sm);
}
.sk-searchform button:hover { background: var(--ink); }

/* Tags & stickers --------------------------------------------------------- */
.sk-tag {
    display: inline-block; font-size: .85rem; font-weight: 700; line-height: 1.3; padding: .3rem .8rem;
    border: var(--outline); border-radius: 999px; background: var(--sheet); color: var(--ink);
}
.sk-tag--ink { background: var(--ink); color: var(--paper); }

.sk-sticker {
    display: inline-block; font-size: .82rem; font-weight: 700; line-height: 1.3; padding: .28rem .75rem;
    border-radius: 8px; border: 2px solid var(--ink); text-decoration: none;
    box-shadow: 0 0 0 2px var(--sheet), 2px 3px 0 2px rgba(23, 63, 59, .22);
    transform: rotate(-2deg);
}
a.sk-sticker:hover { transform: rotate(0) scale(1.04); }
.sk-sticker--teal { background: var(--teal-deep); color: #fff; }
.sk-sticker--coral { background: var(--coral); color: var(--ink-dark); }
.sk-sticker--sand { background: var(--sand); color: var(--ink); }
.sk-sticker--ink { background: var(--ink); color: var(--paper); }
.sk-sticker--sea { background: var(--sea); color: var(--ink); }
a.sk-sticker--teal:hover, a.sk-sticker--ink:hover { color: #fff; }
a.sk-sticker--coral:hover, a.sk-sticker--sand:hover, a.sk-sticker--sea:hover { color: var(--ink-dark); }

.sk-chips { display: flex; flex-wrap: wrap; gap: .8rem .7rem; margin-top: 1.25rem; }
.sk-chips .sk-sticker:nth-child(even) { transform: rotate(1.5deg); }

.sk-kicker {
    display: inline-flex; align-items: center; gap: .4rem; margin: 0 0 .4rem;
    font-size: .88rem; font-weight: 700; color: var(--coral-ink); letter-spacing: .01em;
}

/* Sections ---------------------------------------------------------------- */
.sk-section { padding-block: clamp(2.5rem, 6vw, 4.5rem); }
.sk-section--tight { padding-block: 2rem clamp(2.5rem, 6vw, 4rem); }
.sk-section--paper { background: var(--sand-50); border-block: 2px dashed var(--line); }
.sk-head { margin-bottom: 1.75rem; max-width: 60ch; }
.sk-head--row { max-width: none; display: flex; align-items: end; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.sk-head__title { font-size: clamp(1.6rem, 3.2vw, 2.25rem); margin: 0; }
.sk-head__lead { color: var(--muted); margin: .5rem 0 0; }
.sk-more {
    display: inline-flex; align-items: center; gap: .4rem; font-weight: 700; text-decoration: none;
    padding: .55rem 1rem; border: var(--outline); border-radius: 999px; background: var(--sheet); color: var(--ink); box-shadow: var(--pop-sm);
}
.sk-more:hover { background: var(--sand-200); color: var(--ink); }

/* Cover + strip ----------------------------------------------------------- */
.sk-cover { padding-top: clamp(2rem, 5vw, 3.5rem); overflow: hidden; }
.sk-cover__inner { text-align: center; }
.sk-cover__flags { display: flex; justify-content: center; flex-wrap: wrap; gap: .5rem; margin: 0 0 1.1rem; }
.sk-cover__flags .sk-tag--ink { transform: rotate(-1.5deg); }
.sk-cover__title { font-size: clamp(1.9rem, 4.6vw, 3.35rem); line-height: 1.18; max-width: 24ch; margin: 0 auto .7rem; }
.sk-cover__lead { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--muted); max-width: 54ch; margin: 0 auto 1.2rem; }
.sk-cover__facts { list-style: none; padding: 0; margin: 0 0 1.25rem; display: flex; justify-content: center; flex-wrap: wrap; gap: .5rem 1.4rem; color: var(--muted); font-size: .95rem; }
.sk-cover__facts strong { font-family: var(--f-title); color: var(--ink); font-size: 1.35rem; margin-inline-end: .2rem; }

.sk-strip { position: relative; margin-inline: calc(var(--gutter) * -1); }
.sk-strip__scroll { overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: thin; padding-bottom: .5rem; }
.sk-strip__scroll:focus-visible { outline-offset: -3px; }
.sk-strip__canvas { position: relative; width: 100%; min-width: 1060px; aspect-ratio: 1200 / 450; }
.sk-strip__art { position: absolute; inset: 0; width: 100%; height: 100%; }
.sk-strip__route { fill: none; stroke: var(--ink); stroke-width: 3; stroke-dasharray: 9 8; stroke-linecap: round; }
.sk-strip__leaders path { fill: none; stroke: var(--ink); stroke-width: 1.6; stroke-dasharray: 2 4; stroke-linecap: round; }
.sk-strip__marker circle { fill: var(--sheet); stroke: var(--ink); stroke-width: 3; }
.sk-strip__marker text { font: 700 14px var(--f-body); fill: var(--ink); }
.sk-strip__stops { list-style: none; margin: 0; padding: 0; }
.sk-stop { position: absolute; transform: translateX(-50%); width: max-content; max-width: 170px; }
.sk-stop a {
    display: flex; flex-direction: column; align-items: center; text-align: center; gap: .05rem;
    padding: .35rem .7rem .4rem; border: 2px solid var(--ink); border-radius: 10px; text-decoration: none; color: var(--ink);
    box-shadow: 0 0 0 2px var(--sheet), 2px 3px 0 2px rgba(23, 63, 59, .22);
    transition: transform .15s;
}
.sk-stop:nth-child(odd) a { transform: rotate(-2.5deg); }
.sk-stop:nth-child(even) a { transform: rotate(2deg); }
.sk-stop a:hover, .sk-stop a:focus-visible { transform: rotate(0) translateY(-3px); }
.sk-stop__n { display: none; }
.sk-stop__name { font-weight: 700; font-size: .92rem; line-height: 1.25; }
.sk-stop__count { font-size: .75rem; font-weight: 600; }
.sk-stop--teal a { background: var(--teal-deep); color: #fff; }
.sk-stop--coral a { background: var(--coral); color: var(--ink-dark); }
.sk-stop--sand a { background: var(--sand); }
.sk-stop--ink a { background: var(--ink); color: var(--paper); }
.sk-stop--sea a { background: var(--sea); }
.sk-strip__hint { display: none; align-items: center; justify-content: center; gap: .35rem; margin: .3rem 0 0; font-size: .85rem; color: var(--muted); }
.sk-strip.is-scrollable .sk-strip__hint { display: flex; }
@media (min-width: 1100px) { .sk-strip { margin-inline: 0; } }

/* Cards ------------------------------------------------------------------- */
.sk-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 1.75rem 1.5rem; }
.sk-card {
    position: relative; display: flex; flex-direction: column; background: var(--sheet);
    border: var(--outline); border-radius: var(--radius); overflow: hidden; box-shadow: var(--pop);
    transition: transform .18s, box-shadow .18s;
}
.sk-card:hover { transform: translate(-2px, -2px); box-shadow: 7px 7px 0 var(--ink); }
.sk-card__media { aspect-ratio: 4 / 3; overflow: hidden; border-bottom: var(--outline); background: var(--sand-100); }
.sk-card__media img { width: 100%; height: 100%; object-fit: cover; }
.sk-card__media--empty { display: grid; place-items: center; }
.sk-card__body { display: flex; flex-direction: column; align-items: flex-start; gap: .55rem; padding: 0 1.15rem 1.1rem; flex: 1; }
.sk-card__sticker { margin-top: -.95rem; position: relative; z-index: 1; }
.sk-card__title { font-size: 1.2rem; line-height: 1.35; margin: .1rem 0 0; }
.sk-card__title a { color: var(--ink); text-decoration: none; }
.sk-card__title a::after { content: ""; position: absolute; inset: 0; }   /* whole card is the link */
.sk-card__title a:hover { color: var(--coral-ink); }
.sk-card__excerpt { margin: 0; color: var(--muted); font-size: .97rem; line-height: 1.65; }
.sk-card__meta { margin: auto 0 0; padding-top: .35rem; display: flex; flex-wrap: wrap; align-items: center; gap: .45rem; font-size: .84rem; color: var(--muted); }
.sk-card--page .sk-card__body { padding-top: 1.1rem; }

/* Weekend plan ------------------------------------------------------------ */
.sk-plan__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.25rem; counter-reset: none; }
.sk-plan__step { position: relative; display: flex; flex-direction: column; }
.sk-plan__step .sk-card { flex: 1; }
.sk-plan__when { display: flex; align-items: center; gap: .55rem; margin: 0 0 .9rem; font-family: var(--f-title); font-weight: 700; color: var(--ink); font-size: 1.1rem; }
.sk-plan__n {
    display: inline-grid; place-items: center; width: 2.3rem; height: 2.3rem; border-radius: 50%;
    background: var(--coral); color: var(--ink-dark); border: var(--outline); font-family: var(--f-body); font-weight: 800;
}
/* Dotted route between the plan steps (toward the next step, i.e. leftwards in RTL). */
.sk-plan__step:not(:last-child)::after {
    content: ""; position: absolute; top: 1.15rem; inset-inline-start: calc(100% - 1rem); width: 3.25rem; height: 0;
    border-top: 3px dotted var(--ink); pointer-events: none;
}
.sk-plan__step:not(:last-child) .sk-plan__when::after { content: none; }
.sk-plan__when { padding-inline-end: 2.5rem; }
@media (max-width: 899px) {
    .sk-plan__list { grid-template-columns: 1fr; gap: 1.75rem; max-width: 560px; }
    .sk-plan__step:not(:last-child)::after { display: none; }
}

/* Stop cards -------------------------------------------------------------- */
.sk-stops { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 460px), 1fr)); gap: 1.5rem; }
.sk-stopcard {
    position: relative; display: grid; grid-template-columns: 140px 1fr; gap: 1.1rem; align-items: start;
    padding: .9rem; background: var(--sheet); border: var(--outline); border-radius: var(--radius); box-shadow: var(--pop-sm);
}
.sk-stopcard:hover { background: var(--sand-50); }
.sk-stopcard__media { position: relative; aspect-ratio: 1; border-radius: 12px; overflow: visible; }
.sk-stopcard__media img { width: 100%; height: 100%; object-fit: cover; border-radius: 12px; border: var(--outline); }
.sk-stopcard__n {
    position: absolute; inset-block-start: -.6rem; inset-inline-start: -.6rem; display: grid; place-items: center;
    width: 2.2rem; height: 2.2rem; border-radius: 50%; border: var(--outline); font-weight: 800; font-size: 1rem;
    box-shadow: 0 0 0 2px var(--sheet);
}
.sk-stopcard--teal .sk-stopcard__n { background: var(--teal-deep); color: #fff; }
.sk-stopcard--coral .sk-stopcard__n { background: var(--coral); color: var(--ink-dark); }
.sk-stopcard--sand .sk-stopcard__n { background: var(--sand); color: var(--ink); }
.sk-stopcard--ink .sk-stopcard__n { background: var(--ink); color: var(--paper); }
.sk-stopcard--sea .sk-stopcard__n { background: var(--sea); color: var(--ink); }
.sk-stopcard__title { font-size: 1.15rem; margin: 0 0 .25rem; }
.sk-stopcard__title a { color: var(--ink); text-decoration: none; }
.sk-stopcard__title a::after { content: ""; position: absolute; inset: 0; }
.sk-stopcard__title a:hover { color: var(--coral-ink); }
.sk-stopcard__lead { margin: 0 0 .35rem; font-size: .93rem; line-height: 1.6; color: var(--muted); }
.sk-stopcard__count { margin: 0; font-size: .82rem; font-weight: 700; color: var(--teal-ink); }

/* Sheets & prose ---------------------------------------------------------- */
.sk-sheet {
    position: relative; background: var(--sheet); border: var(--outline); border-radius: 18px;
    padding: clamp(1.5rem, 4vw, 3rem); box-shadow: var(--pop); max-width: 880px; margin-inline: auto;
}
.sk-sheet::before {     /* a strip of tape holding the page down */
    content: ""; position: absolute; top: -14px; inset-inline-start: 50%; width: 110px; height: 26px;
    transform: translateX(50%) rotate(-3deg); background: rgba(231, 111, 81, .55); border-radius: 3px;
}
.sk-sheet--page { max-width: none; }

.sk-prose { overflow-wrap: break-word; }
.sk-prose > *:first-child { margin-top: 0; }
.sk-prose h2 {
    font-size: clamp(1.4rem, 2.6vw, 1.75rem); margin: 2.2em 0 .6em; padding-bottom: .35rem;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='8' viewBox='0 0 40 8'%3E%3Cpath d='M0 4c5-4 10 4 15 0s10 4 15 0 7-2 10-1' fill='none' stroke='%23E76F51' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E") repeat-x right bottom / 40px 8px;
    display: inline-block;
}
.sk-prose h3 { font-family: var(--f-body); font-size: 1.22rem; font-weight: 800; margin: 1.7em 0 .45em; }
.sk-prose h4 { font-family: var(--f-body); font-size: 1.05rem; font-weight: 800; margin: 1.5em 0 .4em; }
.sk-prose ul, .sk-prose ol { padding-inline-start: 1.4rem; margin: 0 0 1.2em; }
.sk-prose li { margin-bottom: .4em; }
.sk-prose ul { list-style: none; }
.sk-prose ul > li { position: relative; }
.sk-prose ul > li::before {
    content: ""; position: absolute; inset-inline-start: -1.15rem; top: .62em; width: .5rem; height: .5rem;
    border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 2px var(--sea-100);
}
.sk-prose ol > li::marker { color: var(--coral-ink); font-weight: 800; }
.sk-prose strong { color: var(--ink); }
.sk-prose blockquote { margin: 1.5em 0; padding: 1rem 1.25rem; border-inline-start: 5px solid var(--coral); background: var(--sand-50); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.sk-prose img { border-radius: var(--radius-sm); }
.sk-prose hr { border: 0; border-top: 2px dashed var(--line); margin: 2em 0; }

.sk-table { overflow-x: auto; margin: 1.5em 0; border: var(--outline); border-radius: var(--radius-sm); background: var(--sheet); }
.sk-table table { width: 100%; border-collapse: collapse; font-size: .95rem; line-height: 1.55; min-width: 520px; }
.sk-table th, .sk-table td { padding: .65rem .85rem; text-align: start; vertical-align: top; border-bottom: 1px solid var(--line); }
.sk-table thead th { background: var(--sea-100); color: var(--ink); font-weight: 800; border-bottom: var(--outline); }
.sk-table tbody tr:nth-child(even) { background: var(--sand-50); }
.sk-table tbody tr:last-child td { border-bottom: 0; }

.sk-note {
    display: flex; gap: .8rem; margin: 2em 0 1em; padding: 1rem 1.2rem; background: var(--sand-100);
    border: 2px dashed var(--ink); border-radius: var(--radius);
}
.sk-note__icon { color: var(--coral-ink); padding-top: .15rem; }
.sk-note__title { display: block; font-family: var(--f-title); color: var(--ink); margin-bottom: .2rem; }
.sk-note p { margin: 0; font-size: .97rem; }
.sk-readalso { padding: .8rem 1rem; background: var(--sea-100); border-radius: var(--radius-sm); }

/* Front-page prose: season headings get a small sun. */
.sk-prose--front h2::before { content: "☀ "; color: var(--coral); }

/* Article ----------------------------------------------------------------- */
.sk-crumbs { font-size: .86rem; color: var(--muted); margin-bottom: 1.1rem; }
.sk-crumbs a { color: var(--muted); }
.sk-crumbs a:hover { color: var(--coral-ink); }
.sk-article__head { padding: clamp(1.75rem, 4vw, 3rem) 0 1.5rem; }
.sk-article__head .sk-sticker { margin-bottom: .9rem; }
.sk-article__title { font-size: clamp(1.75rem, 4vw, 2.7rem); line-height: 1.22; margin: 0 0 .7rem; }
.sk-article__lead { font-size: 1.18rem; color: var(--muted); }
.sk-byline { display: flex; align-items: center; gap: .75rem; margin-top: 1rem; }
.sk-byline__text { display: flex; flex-direction: column; gap: .1rem; }
.sk-byline__name { font-weight: 800; color: var(--ink); }
.sk-byline__meta { display: flex; flex-wrap: wrap; gap: .3rem 1rem; font-size: .88rem; color: var(--muted); }
.sk-avatar {
    display: inline-grid; place-items: center; flex: none; width: 46px; height: 46px; border-radius: 50%;
    background: var(--sand); color: var(--ink); border: var(--outline); font-weight: 800; font-size: 1rem;
}
.sk-avatar--lg { width: 72px; height: 72px; font-size: 1.4rem; background: var(--sea); }

.sk-article__photo { margin-block: 0 2rem; }
.sk-article__photo img {
    width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border: var(--outline); border-radius: 20px; box-shadow: 8px 8px 0 var(--teal);
}
.sk-article__body { padding-bottom: 3rem; }

.sk-route { margin: 0 0 2rem; }
.sk-route details { border: var(--outline); border-radius: var(--radius); background: var(--sheet); box-shadow: var(--pop-sm); }
.sk-route summary {
    display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .85rem 1.1rem; cursor: pointer;
    font-family: var(--f-title); font-weight: 700; color: var(--ink); list-style: none; min-height: 48px;
}
.sk-route summary::-webkit-details-marker { display: none; }
.sk-route summary::after { content: "+"; font: 800 1.3rem/1 var(--f-body); color: var(--coral-ink); }
.sk-route details[open] summary::after { content: "–"; }
.sk-route__count { font: 600 .85rem var(--f-body); color: var(--muted); margin-inline-start: auto; }
.sk-route ol { list-style: none; counter-reset: stop; margin: 0; padding: .25rem 1.1rem 1rem; position: relative; }
.sk-route ol::before { content: ""; position: absolute; inset-block: .9rem 1.6rem; inset-inline-start: calc(1.1rem + 13px); border-inline-start: 2px dashed var(--ink); }
.sk-route li { counter-increment: stop; position: relative; padding-inline-start: 2.6rem; margin: .35rem 0; }
.sk-route li::before {
    content: counter(stop); position: absolute; inset-inline-start: 0; top: .1rem; display: grid; place-items: center;
    width: 28px; height: 28px; border-radius: 50%; background: var(--sheet); border: 2px solid var(--ink); font-size: .8rem; font-weight: 800; color: var(--ink);
}
.sk-route a { color: var(--text); text-decoration: none; display: inline-block; padding-block: .2rem; line-height: 1.5; }
.sk-route a:hover { color: var(--coral-ink); text-decoration: underline; }

.sk-unofficial {
    display: flex; gap: .9rem; align-items: flex-start; margin: 2.5rem 0 1.5rem; padding: 1rem 1.2rem;
    border-block: 2px dashed var(--line); font-size: .93rem; color: var(--muted);
}
.sk-unofficial p { margin: 0; }
.sk-unofficial__tag {
    flex: none; font: 800 .8rem var(--f-body); color: var(--coral-ink); border: 2px solid var(--coral-ink);
    border-radius: 6px; padding: .2rem .5rem; transform: rotate(-4deg); margin-top: .15rem;
}

.sk-writerbox, .sk-writer {
    display: flex; gap: 1rem; align-items: flex-start; padding: 1.25rem; background: var(--sheet);
    border: var(--outline); border-radius: var(--radius); box-shadow: var(--pop-sm);
}
.sk-writerbox p:last-child, .sk-writer p:last-child { margin-bottom: 0; }
.sk-writerbox__label { margin: 0; font-size: .82rem; font-weight: 700; color: var(--coral-ink); }
.sk-writerbox__name { font-size: 1.3rem; margin: 0 0 .35rem; }
.sk-writers { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: 1.5rem; }
.sk-writer__name { font-size: 1.3rem; margin: 0; }
.sk-writer__count { margin: 0 0 .4rem; font-size: .85rem; font-weight: 700; color: var(--teal-ink); }
.sk-writer__bio { color: var(--muted); font-size: .97rem; line-height: 1.7; }
.sk-writer--head { background: transparent; border: 0; box-shadow: none; padding: 0; align-items: center; }

/* Page heads -------------------------------------------------------------- */
.sk-pagehead { padding: clamp(1.75rem, 4vw, 3rem) 0 1.5rem; }
.sk-pagehead__title { font-size: clamp(1.8rem, 4vw, 2.75rem); margin: 0 0 .5rem; }
.sk-pagehead__lead { font-size: 1.1rem; color: var(--muted); max-width: 70ch; }
.sk-pagehead__lead p { margin-bottom: .5em; }
.sk-pagehead__count { display: inline-block; margin: .2rem 0 0; font-weight: 700; font-size: .9rem; color: var(--teal-ink); }
.sk-pagehead__text { color: var(--muted); font-size: 1.1rem; }
.sk-pagehead--lost .sk-searchform { margin-block: 1.25rem .5rem; }
.sk-stophead { display: flex; gap: 1.25rem; align-items: flex-start; }
.sk-stophead__n {
    flex: none; display: grid; place-items: center; width: 4.2rem; height: 4.2rem; border-radius: 18px;
    border: var(--outline); font: 800 2rem/1 var(--f-title); box-shadow: var(--pop-sm); transform: rotate(-4deg); margin-top: .3rem;
}
.sk-stophead__n--teal { background: var(--teal-deep); color: #fff; }
.sk-stophead__n--coral { background: var(--coral); color: var(--ink-dark); }
.sk-stophead__n--sand { background: var(--sand); color: var(--ink); }
.sk-stophead__n--ink { background: var(--ink); color: var(--paper); }
.sk-stophead__n--sea { background: var(--sea); color: var(--ink); }
@media (max-width: 560px) { .sk-stophead__n { width: 3.2rem; height: 3.2rem; font-size: 1.5rem; } }

.sk-page { padding-bottom: 3.5rem; }
.sk-empty { padding: 1.5rem; background: var(--sheet); border: 2px dashed var(--ink); border-radius: var(--radius); }

/* Pagination -------------------------------------------------------------- */
.sk-pagination { margin-top: 2.5rem; }
.sk-pagination .nav-links { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center; }
.sk-pagination .page-numbers {
    display: inline-grid; place-items: center; min-width: 44px; min-height: 44px; padding: 0 .9rem; border: var(--outline);
    border-radius: 12px; background: var(--sheet); color: var(--ink); text-decoration: none; font-weight: 700;
}
.sk-pagination .page-numbers.current { background: var(--ink); color: var(--paper); }
.sk-pagination a.page-numbers:hover { background: var(--sand-200); }

/* Contact form (ADX plugin) ---------------------------------------------- */
body .adxc {
    --adxc-accent: var(--teal-deep); --adxc-bg: var(--sand-50); --adxc-fg: var(--ink); --adxc-input-bg: #fff;
    --adxc-input-fg: var(--text); --adxc-border: var(--ink); --adxc-btn-fg: #fff; --adxc-radius: 16px; max-width: 640px;
}
body .adxc .adxc-form { border-width: 2px; box-shadow: var(--pop-sm); }
body .adxc .adxc-field label { font-size: 1rem; }
body .adxc .adxc-field input, body .adxc .adxc-field textarea { border-width: 2px; border-radius: 10px; min-height: 48px; }
body .adxc .adxc-submit { border: var(--outline); border-radius: 999px; min-height: 48px; padding-inline: 2rem; box-shadow: var(--pop-sm); font-weight: 700; }
body .adxc .adxc-submit:hover { background: var(--ink); filter: none; }
body .adxc.adxc-state-ok .adxc-msg { color: #17673A; font-weight: 700; }
body .adxc.adxc-state-err .adxc-msg { color: #A92B3C; font-weight: 700; }

/* Footer ------------------------------------------------------------------ */
.sk-footer { margin-top: 0; color: #FFF9EF; }
.sk-footer__edge { display: block; width: 100%; height: 34px; fill: var(--teal-deep); margin-bottom: -1px; }
.sk-footer__body { background: var(--teal-deep); padding-block: 2.25rem 1.25rem; }
.sk-footer__grid { display: grid; grid-template-columns: 1.4fr 1.3fr 1fr; gap: 2rem 3rem; }
.sk-brand--footer { color: #FFF9EF; margin-bottom: .9rem; }
.sk-brand--footer:hover { color: #FFF9EF; }
.sk-footer__statement { font-size: .95rem; line-height: 1.7; color: #E3F0ED; margin: 0; max-width: 46ch; }
.sk-footer__statement strong { color: #fff; }
.sk-footer__title { font-family: var(--f-title); color: #F7D39A; font-size: 1.1rem; margin: 0 0 .6rem; }
.sk-footer__list { list-style: none; margin: 0; padding: 0; }
.sk-footer__list--cols { columns: 2; column-gap: 1.5rem; }
.sk-footer__list a { display: inline-block; color: #FFF9EF; text-decoration: none; padding-block: .3rem; line-height: 1.45; }
.sk-footer__list a:hover { color: #F7D39A; text-decoration: underline; }
.sk-footer__base {
    display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: .75rem;
    margin-top: 2rem; padding-top: 1rem; border-top: 1px dashed rgba(255, 249, 239, .35); font-size: .85rem; color: #E3F0ED;
}
.sk-footer__base p { margin: 0; }
.sk-footer__top { color: #FFF9EF; font-weight: 700; text-decoration: none; padding: .4rem .2rem; }
.sk-footer__top:hover { color: #F7D39A; }
.sk-footer :focus-visible { outline-color: #F7D39A; }
@media (max-width: 860px) {
    .sk-footer__grid { grid-template-columns: 1fr 1fr; }
    .sk-footer__about { grid-column: 1 / -1; }
}
@media (max-width: 480px) {
    .sk-footer__grid { grid-template-columns: 1fr; }
}

/* Motion ------------------------------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
    .sk-card:hover, .sk-stop a:hover { transform: none; }
}
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

/* Print ------------------------------------------------------------------- */
@media print {
    .sk-header, .sk-footer, .sk-route, .sk-section--paper, .sk-skip { display: none !important; }
    body { background: #fff; }
    .sk-sheet, .sk-card { box-shadow: none; }
}
