/* OSKO-T design "Made in Kočevje" (docs/DESIGN.md, direction C with the logo blue).
   Cool grey page ground, white bands, navy ink, condensed capitals for headings and menu, the OSKO-T blue as the one
   highlight (header line, ==highlighted words==, the blue section background). Square corners.
   Theme values (colours, fonts, corners, width) still come from the CMS as CSS variables (render.ts themeCss), so the
   AI can change them; this file only decides how they are used. Keep the class names the block templates use. */

:root {
  --ink-soft: color-mix(in srgb, var(--text) 78%, var(--bg));
  --rule: color-mix(in srgb, var(--text) 14%, transparent);
  --footer: color-mix(in srgb, var(--dark) 70%, #000);
  --on-footer: color-mix(in srgb, #fff 80%, var(--dark));
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 1.0625rem/1.6 var(--font-body); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-underline-offset: .2em; }
:focus-visible { outline: 3px solid var(--primary); outline-offset: 2px; }
h1, h2, h3, h4, .h1 { font-family: var(--font-heading); margin: 0 0 .5em; text-wrap: balance; }
h1, .h1, h2 { text-transform: uppercase; font-weight: 700; letter-spacing: -.005em; }
h1, .h1 { font-size: clamp(2.4rem, 5.4vw, 4.25rem); line-height: .98; }
h2 { font-size: clamp(2rem, 4vw, 3.4rem); line-height: 1; }
h3 { font-size: 1.35rem; font-weight: 700; line-height: 1.2; }
/* A page without a hero: its first section heading is the h1, but looks like any section heading */
.h2, .sec:not(.hero) .sec-head h1 { font-size: clamp(2rem, 4vw, 3.4rem); line-height: 1; }
p { margin: 0 0 1em; }
strong { font-weight: 600; }
mark { background: var(--primary); color: var(--on-primary); padding: 0 .12em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.wrap { width: min(100% - 2.5rem, var(--container)); margin-inline: auto; }
.wrap.narrow { width: min(100% - 2.5rem, 780px); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 1rem; top: 1rem; z-index: 99; background: var(--muted); padding: .5rem 1rem; }
.lead { font-size: 1.2rem; color: var(--ink-soft); }
.eyebrow { font: 700 .95rem/1.2 var(--font-heading); text-transform: uppercase; letter-spacing: .08em; color: var(--accent); margin-bottom: .75rem; }
.small, .footnote { font-size: .875rem; color: var(--ink-soft); }
.rounded { border-radius: var(--radius); }
.icon { width: 1.5em; height: 1.5em; flex: none; }
.preview-bar { background: #ffcc00; color: #111; text-align: center; font: 600 .85rem/2.2 system-ui, sans-serif; }
.preview-bar a { color: inherit; }

/* Buttons: navy by default, white on the blue band, blue on navy */
.buttons { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }
.al-center .buttons { justify-content: center; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 3rem; padding: .7em 1.5em; border-radius: var(--btn-radius); border: 2px solid var(--dark); font: 600 1rem/1.2 var(--font-body); text-decoration: none; cursor: pointer; transition: background-color .15s, color .15s; }
.btn-primary { background: var(--dark); color: var(--on-dark); }
.btn-primary:hover { background: var(--primary); border-color: var(--primary); color: var(--on-primary); }
.btn-secondary { background: transparent; color: var(--text); }
.btn-secondary:hover { background: var(--dark); color: var(--on-dark); }
.btn-link { border-color: transparent; padding-inline: 0; background: none; color: var(--primary); min-height: 0; }
.btn-link::after { content: " →"; }
.btn-small { min-height: 2.5rem; padding: .45em 1em; font-size: .95rem; }
.buttons-outline .btn-primary { background: transparent; color: var(--text); }
.buttons-soft .btn-primary { background: color-mix(in srgb, var(--primary) 14%, transparent); color: var(--text); border-color: transparent; }
.bg-primary .btn-primary { background: #fff; border-color: #fff; color: var(--dark); }
.bg-primary .btn-primary:hover { background: var(--dark); border-color: var(--dark); color: var(--on-dark); }
.bg-dark .btn-primary { background: var(--primary); border-color: var(--primary); color: var(--on-primary); }
.bg-dark .btn-primary:hover { background: #fff; border-color: #fff; color: var(--dark); }
.bg-primary .btn-secondary, .bg-dark .btn-secondary { color: inherit; border-color: currentColor; }
.bg-primary .btn-link, .bg-dark .btn-link { color: inherit; }

/* Sections */
.sec { padding-block: clamp(3.5rem, 7vw, 5.5rem); position: relative; }
.sp-compact { padding-block: clamp(1.5rem, 3vw, 2.5rem); }
.sp-spacious { padding-block: clamp(5rem, 10vw, 8.5rem); }
.bg-muted { background: var(--muted); }
.bg-primary { background: var(--primary); color: var(--on-primary); }
.bg-dark { background: var(--dark); color: var(--on-dark); }
.bg-primary a:not(.btn), .bg-dark a:not(.btn) { color: inherit; }
.bg-primary .lead, .bg-dark .lead, .bg-primary .small, .bg-dark .small { color: inherit; opacity: .85; }
.bg-primary .eyebrow, .bg-dark .eyebrow { color: inherit; opacity: .85; }
.sec-head { max-width: 760px; margin-bottom: 2.5rem; }
.sec-head h2 { margin-bottom: .35em; }
.al-center .sec-head { margin-inline: auto; text-align: center; }

/* Header: white bar, blue line underneath, menu in condensed capitals */
.site-header { position: sticky; top: 0; z-index: 20; background: #fff; border-bottom: 4px solid var(--primary); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem 2rem; min-height: 4.75rem; padding-block: .75rem; }
.brand { text-decoration: none; color: var(--text); display: flex; align-items: center; flex: none; }
.brand .logo { max-height: 2.9rem; width: auto; }
.brand-name { font: 700 1.5rem/1 var(--font-heading); text-transform: uppercase; }
.nav { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: .5rem 1.5rem; }
.nav ul { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .2rem 1.25rem; list-style: none; margin: 0; padding: 0; }
.nav a:not(.btn) { color: var(--text); text-decoration: none; font: 600 1.075rem/1.5 var(--font-heading); text-transform: uppercase; letter-spacing: .03em; }
.nav a:not(.btn):hover, .nav a[aria-current="page"] { color: var(--primary); }
.nav a[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .3em; }
.langs { gap: .6rem !important; }
.langs a:not(.btn) { color: var(--ink-soft); }
.langs a[aria-current] { color: var(--text); text-decoration: underline; }
.nav-toggle { display: none; }
.header-centered .header-inner { flex-direction: column; justify-content: center; }
.header-centered .nav, .header-centered .nav ul { justify-content: center; }
.header-transparent .site-header { position: absolute; inset: 0 0 auto; background: transparent; border-bottom-color: transparent; }
.header-transparent .site-header .nav a:not(.btn), .header-transparent .brand { color: #fff; }

@media (max-width: 1020px) {
  .nav-toggle { display: block; }
  .nav-toggle summary { list-style: none; cursor: pointer; width: 2.75rem; height: 2.75rem; display: grid; align-content: center; gap: 6px; padding: .5rem; }
  .nav-toggle summary::-webkit-details-marker { display: none; }
  .nav-toggle summary span { height: 3px; background: currentColor; }
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: flex-start; gap: 1rem; padding: 1.25rem 1.25rem 1.75rem; background: #fff; border-bottom: 4px solid var(--primary); max-height: calc(100vh - 5rem); overflow-y: auto; }
  .nav ul { flex-direction: column; gap: .35rem; }
  .nav a:not(.btn) { font-size: 1.35rem; }
  .nav .langs { flex-direction: row; }
  .nav-toggle[open] + .nav { display: flex; }
  .header-transparent .site-header .nav a:not(.btn) { color: var(--text); }
  .header-centered .header-inner { flex-direction: row; justify-content: space-between; }
}

/* Hero. "Text only" (minimal) is the house hero: big headline left, text and buttons right, bottom-aligned. */
.hero-inner { display: grid; gap: 2.5rem; align-items: center; }
.hero--minimal .hero-text { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); column-gap: clamp(2rem, 5vw, 4rem); align-items: end; }
.hero--minimal .hero-text > * { grid-column: 2; }
.hero--minimal .hero-text > h1, .hero--minimal .hero-text > .h1 { grid-column: 1; grid-row: 1 / span 4; margin: 0; }
.hero--minimal .hero-text > .eyebrow { grid-column: 1; grid-row: auto; }
.hero--minimal .lead { margin: 0; }
.hero--minimal .buttons { margin-top: 1.25rem; }
.hero--minimal.sp-normal { padding-bottom: clamp(2rem, 4vw, 3rem); }
.hero--centered .hero-inner { text-align: center; justify-items: center; max-width: 900px; margin-inline: auto; }
.hero--centered .buttons { justify-content: center; }
.hero--split .hero-inner { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4rem); }
.hero--image_background { min-height: min(78vh, 680px); display: grid; align-items: end; color: #fff; }
.hero-bg { position: absolute; inset: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgb(10 24 41 / .82), rgb(10 24 41 / .15) 65%); }
.hero--image_background .hero-inner { position: relative; z-index: 1; }
.hero--image_background .hero-text { max-width: 820px; }
.hero--image_background .lead { color: #fff; }
.hero--image_background .btn-secondary { color: #fff; border-color: #fff; }
.hero-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
@media (max-width: 900px) {
  .hero--minimal .hero-text { grid-template-columns: 1fr; row-gap: 1.25rem; }
  .hero--minimal .hero-text > * , .hero--minimal .hero-text > h1, .hero--minimal .hero-text > .h1 { grid-column: 1; grid-row: auto; }
  .hero--split .hero-inner { grid-template-columns: 1fr; }
}

/* Image + text */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.media-text--image_right .split-media { order: 2; }
/* Never crop: product photos and tables (e.g. the cap dimension sheet) must stay whole */
.split-media img, .split-media video { width: 100%; height: auto; max-height: 40rem; object-fit: contain; object-position: center; display: block; }
.split-text .prose { font-size: 1.125rem; }
.bg-default .split-text .prose, .bg-muted .split-text .prose { color: var(--ink-soft); }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } .media-text--image_right .split-media { order: 0; } }

/* Product list (cards, variant "index"): one row per item, small photo, name in capitals, text, arrow */
.index-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .625rem; }
.index-row { display: grid; grid-template-columns: 7rem minmax(0, 1fr) auto; align-items: center; gap: 1.5rem; padding: .75rem 1.5rem .75rem .75rem; background: var(--muted); color: var(--text); text-decoration: none; border: 2px solid transparent; transition: border-color .15s; }
.bg-muted .index-row { background: var(--bg); }
a.index-row:hover { border-color: var(--primary); }
a.index-row:hover .index-arrow { transform: translateX(4px); color: var(--primary); }
.index-img { width: 7rem; height: 5.25rem; object-fit: cover; background: #fff; }
.index-text { display: grid; grid-template-columns: minmax(11rem, 19rem) minmax(0, 1fr); align-items: baseline; gap: .15rem 2.5rem; }
@media (max-width: 860px) { .index-text { grid-template-columns: 1fr; } }
.index-title { font: 700 clamp(1.5rem, 2.6vw, 1.9rem)/1.1 var(--font-heading); text-transform: uppercase; }
.index-desc { color: var(--ink-soft); font-size: 1rem; }
.index-arrow { width: 1.75rem; height: 1.75rem; flex: none; transition: transform .15s; }
@media (max-width: 600px) {
  .index-row { grid-template-columns: 4.5rem minmax(0, 1fr); gap: 1rem; padding-right: 1rem; }
  .index-img { width: 4.5rem; height: 3.4rem; }
  .index-arrow { display: none; }
}

/* Cards (other variants) */
.grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.25rem; }
.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 900px) { .cols-3, .cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .cols-2, .cols-3, .cols-4 { grid-template-columns: 1fr; } }
.card { background: var(--muted); border-radius: var(--radius); padding: 1.5rem; border: 2px solid transparent; }
.bg-muted .card { background: var(--bg); }
.bg-primary .card, .bg-dark .card { background: color-mix(in srgb, currentColor 10%, transparent); color: inherit; }
.card-link { color: inherit; text-decoration: none; display: block; }
.card:has(.card-link):hover { border-color: var(--primary); }
.card-img { width: calc(100% + 3rem); max-width: none; margin: -1.5rem -1.5rem 1.25rem; aspect-ratio: 4 / 3; object-fit: cover; }
.icon-wrap { display: inline-grid; place-items: center; width: 3rem; height: 3rem; background: var(--primary); color: var(--on-primary); margin-bottom: 1rem; }
.cards p:last-child { margin: 0; }
.cards--team .card { text-align: center; background: none; }
.cards--team .card-img { width: 9rem; height: 9rem; margin: 0 auto 1rem; border-radius: 50%; aspect-ratio: 1; }
.cards--logos .card { display: grid; place-items: center; background: none; padding: 1rem; }
.cards--logos .card-img { width: auto; max-height: 3.5rem; margin: 0; aspect-ratio: auto; object-fit: contain; filter: grayscale(1); opacity: .75; }
.num { display: inline-grid; place-items: center; width: 2.5rem; height: 2.5rem; background: var(--primary); color: var(--on-primary); font: 700 1.2rem/1 var(--font-heading); margin-bottom: 1rem; }

/* Gallery */
.gallery-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.gallery-list figure { margin: 0; }
.gallery-list img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: #fff; }
.gallery-list figcaption { font-size: .9rem; color: var(--ink-soft); margin-top: .4rem; }
.gallery--mosaic .gallery-list li:first-child { grid-column: span 2; grid-row: span 2; }
.gallery--mosaic .gallery-list li:first-child img { aspect-ratio: auto; height: 100%; }
.gallery--strip .gallery-list { grid-auto-flow: column; grid-auto-columns: min(80%, 420px); grid-template-columns: none; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: .5rem; }
.gallery--strip li { scroll-snap-align: start; }

/* Numbers, quotes, FAQ, prices */
.stats-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 2rem; margin: 0; }
.stats-list dt { font: 700 clamp(2.4rem, 5vw, 3.6rem)/1 var(--font-heading); color: var(--primary); text-transform: uppercase; }
.bg-primary .stats-list dt, .bg-dark .stats-list dt { color: inherit; }
.stats-list dd { margin: .5rem 0 0; color: var(--ink-soft); }
.bg-primary .stats-list dd, .bg-dark .stats-list dd { color: inherit; opacity: .85; }
.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.25rem; }
.quote { margin: 0; padding: 2rem; background: var(--muted); }
.bg-muted .quote { background: var(--bg); }
.quote blockquote { margin: 0 0 1.25rem; font-size: 1.1rem; }
.quote figcaption { display: flex; gap: .75rem; align-items: center; font-size: .95rem; }
.avatar { width: 3rem; height: 3rem; border-radius: 50%; object-fit: cover; }
.testimonials--single .quotes { grid-template-columns: 1fr; max-width: 860px; margin-inline: auto; text-align: center; }
.testimonials--single .quote { background: none; }
.testimonials--single blockquote { font: 700 clamp(1.6rem, 3vw, 2.3rem)/1.2 var(--font-heading); text-transform: uppercase; }
.testimonials--single figcaption { justify-content: center; }
.faq-list details { border-bottom: 2px solid var(--rule); padding: 1.1rem 0; }
.faq-list summary { cursor: pointer; font: 700 1.35rem/1.25 var(--font-heading); text-transform: uppercase; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq-list summary::after { content: "+"; font-size: 1.6rem; line-height: 1; color: var(--primary); }
.faq-list details[open] summary::after { content: "–"; }
.faq-list .prose { padding-top: .75rem; }
.plan { display: flex; flex-direction: column; }
.plan.featured { border-color: var(--primary); }
.price { font: 700 2.2rem/1.1 var(--font-heading); }
.price small { font-size: .9rem; font-weight: 400; color: var(--ink-soft); }
.ticks { list-style: none; padding: 0; margin: 0 0 1.5rem; display: grid; gap: .5rem; }
.ticks li { display: flex; gap: .5rem; }
.ticks .icon { color: var(--primary); width: 1.2em; height: 1.2em; margin-top: .2em; }
.plan .btn { margin-top: auto; }
.price-table { width: 100%; border-collapse: collapse; }
.price-table th, .price-table td { padding: 1rem 0; border-bottom: 1px solid var(--rule); text-align: left; vertical-align: top; }
.price-table td { text-align: right; font-weight: 600; white-space: nowrap; }
.price-table small { display: block; font-weight: 400; color: var(--ink-soft); }

/* Call to action */
.cta--banner .cta-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem 3rem; }
.cta--banner .cta-inner h2 { flex: 1 1 100%; margin: 0; }
.cta--banner .cta-inner .lead { flex: 1 1 24rem; margin: 0; }
.cta--banner .buttons { margin: 0; }
.al-center.cta--banner .cta-inner { flex-direction: column; text-align: center; }
.cta--boxed .cta-inner { background: var(--muted); padding: clamp(2rem, 5vw, 4rem); }
.cta--boxed.bg-muted .cta-inner { background: var(--bg); }
.bg-primary.cta--boxed .cta-inner, .bg-dark.cta--boxed .cta-inner { background: color-mix(in srgb, currentColor 10%, transparent); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: clamp(2rem, 5vw, 4rem); }
.contact--form_only .contact-grid, .contact--details_only .contact-grid { grid-template-columns: 1fr; max-width: 680px; }
.contact-details p { display: flex; gap: .85rem; align-items: flex-start; margin-bottom: 1.1rem; }
.contact-details .icon { color: var(--primary); margin-top: .15em; }
.bg-dark .contact-details .icon, .bg-primary .contact-details .icon { color: inherit; opacity: .7; }
.contact-details p:first-child a { font: 700 clamp(1.7rem, 3vw, 2.4rem)/1.1 var(--font-heading); text-decoration: none; }
.contact-details a { text-decoration: none; }
.contact-details a:hover { text-decoration: underline; }
.lead-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; align-content: start; }
@media (max-width: 560px) { .lead-form { grid-template-columns: 1fr; } }
.lead-form > label:has(textarea), .lead-form > .small, .lead-form > .form-status, .lead-form > button { grid-column: 1 / -1; }
.lead-form > button { justify-self: start; }
.lead-form label { display: grid; gap: .35rem; font-weight: 500; }
.lead-form input, .lead-form textarea { font: inherit; padding: .8rem .9rem; border-radius: 0; border: 2px solid var(--rule); background: #fff; color: var(--text); width: 100%; }
.bg-dark .lead-form input, .bg-dark .lead-form textarea, .bg-primary .lead-form input, .bg-primary .lead-form textarea { border-color: transparent; }
.lead-form input:focus, .lead-form textarea:focus { outline: 3px solid var(--primary); outline-offset: 0; }
.lead-form textarea { resize: vertical; min-height: 9rem; }
.lead-form .hp { position: absolute; left: -9999px; }
.form-status { font-weight: 600; }
.form-status:empty { display: none; }
@media (max-width: 800px) { .contact-grid { grid-template-columns: 1fr; } }

/* Heading section (block_text without body): a sub-heading between sections, sits close to what follows */
.text-heading-only .sec-head { margin-bottom: 0; max-width: 900px; }
/* Same ground as the next section: heading and content read as one block. Different ground: normal spacing. */
.bg-default.text-heading-only:has(+ .bg-default), .bg-muted.text-heading-only:has(+ .bg-muted),
.bg-primary.text-heading-only:has(+ .bg-primary), .bg-dark.text-heading-only:has(+ .bg-dark) { padding-bottom: 0; }
.bg-default.text-heading-only + .bg-default, .bg-muted.text-heading-only + .bg-muted,
.bg-primary.text-heading-only + .bg-primary, .bg-dark.text-heading-only + .bg-dark { padding-top: clamp(2rem, 4vw, 3rem); }

/* Own video files (block_video) */
.video-frame { margin: 0; background: #000; }
.video-frame video { display: block; width: 100%; height: 100%; object-fit: contain; background: #000; }
.ar-16-9 { aspect-ratio: 16 / 9; } .ar-9-16 { aspect-ratio: 9 / 16; } .ar-4-3 { aspect-ratio: 4 / 3; } .ar-1-1 { aspect-ratio: 1 / 1; }
.video--medium .video-frame { max-width: 860px; margin-inline: auto; }
.video--small .video-frame { max-width: 400px; margin-inline: auto; }
.video-frame.ar-9-16 { max-width: min(100%, 480px, calc(82vh * 9 / 16)); margin-inline: auto; }

/* 404: blue band, the number set huge in the heading face, the main menu underneath */
.notfound-inner { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 1rem clamp(2rem, 6vw, 5rem); }
.notfound-code { margin: 0; font: 700 clamp(7rem, 22vw, 15rem)/.8 var(--font-heading); letter-spacing: -.02em; color: var(--on-primary); }
.notfound-text h1 { margin-bottom: .35em; }
.notfound-text .lead { color: inherit; opacity: .9; max-width: 34em; }
.notfound-links ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem 1.75rem; }
.notfound-links a { font: 600 1.15rem/1.6 var(--font-heading); text-transform: uppercase; letter-spacing: .03em; color: var(--text); text-decoration: none; }
.notfound-links a:hover { color: var(--primary); text-decoration: underline; }
@media (max-width: 700px) { .notfound-inner { grid-template-columns: 1fr; } }

/* Embeds */
.embed { margin: 0; }
.embed iframe { width: 100%; border: 0; aspect-ratio: 16 / 9; display: block; }
.embed.map iframe, .embed-block--map iframe { aspect-ratio: 21 / 9; min-height: 320px; }
.map { margin-top: 2.5rem; }
.embed figcaption { margin-top: .75rem; color: var(--ink-soft); font-size: .95rem; }

/* Posts */
.post-head { padding-bottom: 2rem; }
.post-cover { width: 100%; max-height: 560px; object-fit: cover; margin-top: 2rem; }
.meta { font-size: .9rem; color: var(--ink-soft); margin-bottom: .4rem; }
.more { font-weight: 600; color: var(--primary); }
.post-list { list-style: none; padding: 0; display: grid; gap: 1rem; }

/* Running text */
.prose > :first-child { margin-top: 0; }
.prose > :last-child { margin-bottom: 0; }
.prose h2 { margin-top: 1.6em; font-size: clamp(1.7rem, 3vw, 2.3rem); }
.prose h3 { margin-top: 1.4em; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1em; }
.prose li { margin-bottom: .35em; }
.prose li::marker { color: var(--primary); }
.prose table { width: 100%; border-collapse: collapse; margin: 1.5em 0; font-size: .95rem; }
.prose th, .prose td { border-bottom: 1px solid var(--rule); padding: .6em .5em; text-align: left; }
.prose blockquote { margin: 1.5em 0; padding-left: 1.25em; border-left: 4px solid var(--primary); }
.columns-2 { columns: 2 320px; column-gap: 3rem; }

/* Footer */
.site-footer { background: var(--footer); color: var(--on-footer); padding: 3.5rem 0 2rem; font-size: 1rem; }
.site-footer a { color: inherit; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-grid { display: flex; flex-wrap: wrap; gap: 2rem 3rem; }
.footer-brand { flex: 1.5 1 16rem; }
.footer-col { flex: 1 1 11rem; }
.footer-brand p, .footer-col p { margin: 0 0 .75rem; }
.footer-head { color: #fff; font: 700 1.15rem/1.2 var(--font-heading); text-transform: uppercase; letter-spacing: .03em; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .35rem; }
.site-footer .logo { max-height: 2.5rem; width: auto; margin-bottom: 1.25rem; }
.site-footer .logo--on-dark { filter: brightness(0) invert(1); }
.social, .footer-bottom ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem 2rem; margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid color-mix(in srgb, currentColor 22%, transparent); font-size: .9rem; }
.footer-bottom p { margin: 0; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
