/* Bloški teki – shared styles for all pages */

:root {
  --yellow: #ffcc00;
  --yellow-deep: #f2b800;
  --maroon: #800000;
  --black: #141210;
  --paper: #fffaf0;
  --muted: #5f564a;
  --rule: 3px solid var(--black);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Archivo, Tahoma, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  color: var(--black);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  /* keep the footer at the bottom on short pages */
  min-height: 100vh; display: flex; flex-direction: column;
}
main { flex: 1 0 auto; }
a { color: inherit; text-underline-offset: .18em; text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--maroon); outline-offset: 3px; }
/* browser surfaces in the brand palette */
html { scrollbar-color: var(--black) var(--paper); accent-color: var(--maroon); }
body { caret-color: var(--maroon); }
::selection { background: var(--yellow); color: var(--black); }
h1, h2, h3 { text-wrap: balance; }
p, li, dd { text-wrap: pretty; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.display { font-family: Anton, Impact, sans-serif; font-weight: 400; text-transform: uppercase; letter-spacing: .01em; line-height: .95; }
.label { font-weight: 800; text-transform: uppercase; letter-spacing: .12em; font-size: 12px; }
.skip { position: absolute; left: -9999px; top: 0; padding: 10px 14px; background: var(--yellow); font-weight: 800; z-index: 20; }
.skip:focus { left: 8px; top: 8px; }

/* Nav strip */
.strip { background: var(--black); color: #fff; position: sticky; top: 0; z-index: 10; }
.strip .wrap { display: flex; align-items: center; gap: 16px; }
/* race-bib tab: the logo hangs below the black bar; the negative margin keeps the bar's height */
.strip .home { position: relative; z-index: 2; flex: none; align-self: flex-start; display: block; padding: 8px 12px 10px; margin-bottom: -22px; background: var(--yellow); border: var(--rule); border-top: 0; }
.strip .home img { display: block; width: 156px; height: auto; }
.strip .home:hover { background: #fff; }
.strip nav { display: flex; min-width: 0; overflow-x: auto; scrollbar-width: none; margin: 0 -8px; }
.strip nav::-webkit-scrollbar { display: none; }
.strip nav a {
  position: relative; flex: none; padding: 18px 12px; text-decoration: none;
  font-weight: 800; text-transform: uppercase; font-size: 13px; letter-spacing: .1em; white-space: nowrap;
}
.strip nav a::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 12px; height: 2px; background: var(--yellow); transform: scaleX(0); transform-origin: left; transition: transform .2s; }
.strip nav a:hover::after, .strip nav a:focus-visible::after, .strip nav a[aria-current="page"]::after { transform: scaleX(1); }
.strip nav a:hover, .strip nav a[aria-current="page"] { color: var(--yellow); }
.strip .mail { flex: none; margin-left: auto; font-size: 13px; color: var(--yellow); text-decoration: none; font-weight: 600; }
.strip .mail:hover { text-decoration: underline; }

/* Hero poster */
.poster {
  position: relative; overflow: hidden;
  background-color: var(--yellow);
  border-bottom: 6px solid var(--black);
}
.poster::before {
  /* ski tracks */
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .14;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1200' height='600' viewBox='0 0 1200 600' fill='none' stroke='%23141210' stroke-width='4'%3E%3Cpath d='M-50 520 C 300 420, 700 600, 1250 300'/%3E%3Cpath d='M-50 548 C 300 448, 700 628, 1250 328'/%3E%3Cpath d='M300 -40 C 500 120, 650 160, 1250 80' stroke-dasharray='2 18'/%3E%3C/svg%3E") center / cover no-repeat;
}
.poster .wrap { position: relative; display: grid; grid-template-columns: 1.35fr 1fr; gap: 48px; padding-top: 56px; padding-bottom: 64px; align-items: end; }
.badge { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 22px; }
@media (min-width: 1500px) { .badge { margin-bottom: 40px; } }
.badge img { display: block; width: 150px; height: auto; mix-blend-mode: multiply; }
.badge span { padding-left: 12px; border-left: 2px solid var(--black); }
.poster h1 { margin: 0; font-size: clamp(76px, 14vw, 196px); }
.poster h1 span { display: block; color: var(--maroon); }
.tag { display: inline-block; margin-top: 22px; padding: 7px 12px; background: var(--black); color: var(--yellow); }

.race { background: var(--paper); border: var(--rule); box-shadow: 10px 10px 0 var(--black); }
.race header { padding: 12px 18px; border-bottom: var(--rule); display: flex; justify-content: space-between; align-items: center; }
.race .km { display: grid; grid-template-columns: 1fr 1fr; border-bottom: var(--rule); }
.race .km div { padding: 18px 12px 14px; text-align: center; }
.race .km div + div { border-left: var(--rule); }
.race .km b { display: block; font-family: Anton, Impact, sans-serif; font-weight: 400; font-size: clamp(60px, 7vw, 84px); line-height: 1; }
.race .km small { color: var(--muted); }
.race .actions { display: grid; grid-template-columns: 1fr 1fr; }
.race .actions a { display: flex; justify-content: space-between; align-items: center; padding: 16px 18px; text-decoration: none; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; font-size: 14px; transition: background .15s, color .15s; }
.race .actions a + a { border-left: var(--rule); }
.race .actions a:hover { background: var(--black); color: var(--yellow); }

/* drawn arrow icon; the text glyph stays in the markup as a fallback */
.arrow {
  display: inline-block; width: 16px; height: 16px; vertical-align: -2px; font-size: 0;
  background-color: currentColor; transition: transform .2s cubic-bezier(.2, .8, .2, 1);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.6' stroke-linecap='square'%3E%3Cpath d='M3 12h17M13 5l7 7-7 7'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.6' stroke-linecap='square'%3E%3Cpath d='M3 12h17M13 5l7 7-7 7'/%3E%3C/svg%3E") center / contain no-repeat;
}
.btn .arrow, .more .arrow, .cta .arrow, .race .actions .arrow, .list .arrow { width: 14px; height: 14px; }
.list .arrow { align-self: center; }
.more { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.tiles b { text-wrap: balance; }
a:hover .arrow { transform: translateX(4px); }
.arrow.down { transform: rotate(90deg); }
a:hover .arrow.down { transform: rotate(90deg) translateX(3px); }

/* Status banner */
.banner { background: var(--maroon); color: #fff; }
.banner .wrap { display: grid; grid-template-columns: auto 1fr auto; gap: 24px; align-items: center; padding-top: 30px; padding-bottom: 30px; }
.banner .mark { width: 54px; height: 54px; display: grid; place-items: center; background: var(--yellow); color: var(--black); font-family: Anton, Impact, sans-serif; font-size: 34px; }
.banner .label { color: var(--yellow); display: block; margin-bottom: 4px; }
.banner p { margin: 0; font-size: clamp(19px, 2.4vw, 27px); font-weight: 800; line-height: 1.35; max-width: 780px; }
.banner .mark svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linejoin: round; stroke-linecap: round; }
.banner .cta { display: inline-flex; gap: 10px; align-items: center; padding: 15px 22px; background: var(--yellow); color: var(--black); font-weight: 800; text-decoration: none; text-transform: uppercase; letter-spacing: .06em; font-size: 14px; white-space: nowrap; }
.banner .cta:hover { background: #fff; }

/* Sections */
section.part { padding: 64px 0; border-bottom: var(--rule); }
.part .head { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 28px; flex-wrap: wrap; }
.part h2 { margin: 0; font-size: clamp(42px, 6vw, 76px); line-height: 1.06; }
.part h2 em { font-style: normal; color: var(--maroon); }
.more { font-weight: 800; text-transform: uppercase; letter-spacing: .08em; font-size: 14px; text-decoration: none; border-bottom: 2px solid currentColor; padding-bottom: 2px; }
.more:hover { color: var(--maroon); }

.tiles { display: grid; grid-template-columns: repeat(4, 1fr); border-top: var(--rule); border-left: var(--rule); }
.tiles a { position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 36px; min-height: 200px; padding: 20px; border-right: var(--rule); border-bottom: var(--rule); text-decoration: none; transition: background .15s; }
.tiles a:hover { background: var(--yellow); }
.tiles .top { display: flex; justify-content: space-between; align-items: start; }
.tiles .n { font-family: Anton, Impact, sans-serif; font-size: 44px; line-height: 1; color: var(--maroon); }
.tiles .ico { width: 42px; height: 42px; display: grid; place-items: center; background: var(--black); color: var(--yellow); transition: transform .2s; }
.tiles a:hover .ico { transform: rotate(-6deg) scale(1.06); }
.tiles .ico svg { width: 18px; height: 18px; fill: currentColor; }
.tiles b { display: block; font-size: 19px; line-height: 1.3; margin-bottom: 4px; }
.tiles small { color: var(--muted); }
.tiles .go { position: absolute; right: 20px; bottom: 20px; width: 20px; height: 20px; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.split h2 { margin-bottom: 24px !important; }
.list { list-style: none; margin: 0; padding: 0; border-top: var(--rule); }
.list a { display: grid; grid-template-columns: 1fr auto auto; gap: 16px; align-items: baseline; padding: 17px 0; border-bottom: 1px solid var(--black); text-decoration: none; font-weight: 800; font-size: 18px; }
.list a:hover { color: var(--maroon); }
.list small { color: var(--muted); }
.loc { display: grid; grid-template-columns: 160px 1fr; gap: 20px; align-items: center; padding: 16px; border: var(--rule); text-decoration: none; transition: background .15s; }
.loc:hover { background: var(--yellow); }
.loc img { width: 100%; border: 2px solid var(--black); display: block; }
.loc b { display: flex; align-items: center; gap: 8px; font-size: 20px; margin-bottom: 4px; }

.maps { display: grid; grid-template-columns: 1fr 1fr; border: var(--rule); }
.maps figure { margin: 0; }
.maps figure + figure { border-left: var(--rule); }
.maps figcaption { padding: 12px 16px; border-bottom: var(--rule); background: var(--black); color: var(--yellow); }
.maps iframe { width: 100%; height: 440px; border: 0; display: block; background: #f0e6c8; }

/* Partners */
.partners { background: #fff; }
.partners .label { display: block; margin-bottom: 28px; color: var(--muted); }
.partners .row { display: grid; grid-template-columns: repeat(4, 1fr); border-top: var(--rule); border-left: var(--rule); }
.partners .row a { display: grid; place-items: center; height: 150px; padding: 20px; border-right: var(--rule); border-bottom: var(--rule); }
.partners img { display: block; max-height: 70px; max-width: 100%; width: auto; filter: grayscale(1); opacity: .75; transition: filter .2s, opacity .2s; }
.partners img.series { max-height: 96px; }
.partners a:hover img, .partners a:focus-visible img { filter: none; opacity: 1; }

footer { background: var(--black); color: #fff; padding: 56px 0 32px; }
footer .label { color: #a89f8f; display: block; margin-bottom: 10px; }
footer .big { font-size: clamp(26px, 7.4vw, 92px); color: var(--yellow); text-decoration: none; display: inline-block; white-space: nowrap; }
footer .big:hover { color: #fff; }
footer .bottom { display: flex; justify-content: space-between; gap: 16px 32px; flex-wrap: wrap; margin-top: 40px; padding-top: 20px; border-top: 1px solid #3a352f; }
footer nav { display: flex; flex-wrap: wrap; gap: 6px 22px; }
footer nav a { text-decoration: none; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; font-size: 13px; color: #d8d0c0; }
footer nav a:hover { color: var(--yellow); }
footer .copy { font-size: 13px; color: #a89f8f; }

@media (max-width: 960px) {
  .poster .wrap, .split { grid-template-columns: 1fr; }
  .poster .wrap { gap: 36px; }
  .race { max-width: 520px; }
  .tiles, .partners .row { grid-template-columns: 1fr 1fr; }
  .maps { grid-template-columns: 1fr; }
  .maps figure + figure { border-left: 0; border-top: var(--rule); }
  .strip .mail { display: none; }
  .poster.hero .wrap { grid-template-columns: 1fr; gap: 32px; }
  .poster.hero .race { margin: -64px 0 0 20px; }
}
@media (max-width: 640px) {
  .banner .wrap { grid-template-columns: auto 1fr; }
  .banner .cta { grid-column: 1 / -1; justify-content: space-between; }
}
@media (max-width: 520px) {
  .wrap { padding: 0 16px; }
  .strip nav a { padding: 16px 10px; font-size: 12px; letter-spacing: .07em; }
  .strip nav a::after { left: 10px; right: 10px; }
  .strip .wrap { gap: 10px; }
  .strip .home { padding: 6px 8px 8px; margin-left: -16px; margin-bottom: -14px; border-left: 0; }
  .strip .home img { width: 115px; }
  /* fade the right edge so a scrollable menu reads as scrollable */
  .strip nav { padding-right: 28px; -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 36px), transparent); mask-image: linear-gradient(to right, #000 calc(100% - 36px), transparent); }
  .poster.hero .wrap { padding-top: 28px; }
  .poster.hero .race { width: auto; margin: -28px 12px 0 12px; }
  .tiles.photo { grid-template-columns: 1fr 1fr; }
  .tiles.photo .txt { padding: 12px 34px 14px 12px; }
  .tiles.photo b { font-size: 15px; }
  .tiles.photo .go { right: 12px; bottom: 14px; width: 16px; height: 16px; }
  .tiles.photo .ico { left: 8px; bottom: 8px; width: 34px; height: 34px; }
  .poster .wrap { padding-top: 36px; padding-bottom: 44px; }
  .badge img { width: 120px; }
  .race { box-shadow: 6px 6px 0 var(--black); }
  .race .actions a { padding: 14px; font-size: 13px; }
  .banner .mark { width: 44px; height: 44px; font-size: 28px; }
  section.part { padding: 48px 0; }
  .tiles { grid-template-columns: 1fr; }
  .tiles a { min-height: 0; gap: 16px; }
  .list a { grid-template-columns: 1fr auto; font-size: 16px; }
  .list small { grid-column: 1; grid-row: 2; margin-top: -12px; }
  .loc { grid-template-columns: 96px 1fr; gap: 14px; padding: 12px; }
  .maps iframe { height: 360px; }
  .partners .row a { height: 120px; }
}

/* ===== Subpages ===== */

/* Page header: a shorter poster */
.poster.page .wrap { grid-template-columns: 1fr auto; padding-top: 40px; padding-bottom: 36px; }
.poster.page h1 { font-size: clamp(52px, 7.6vw, 108px); line-height: 1.2; }
.poster.page .lead { margin: 18px 0 0; max-width: 40em; font-size: 18px; font-weight: 600; }
.crumb { display: inline-flex; gap: 8px; align-items: center; margin-bottom: 18px; text-decoration: none; }
.crumb:hover { text-decoration: underline; }
.poster.page .stamp { width: 200px; height: auto; align-self: start; margin-top: 12px; }

/* Buttons */
.btn { display: inline-flex; gap: 12px; align-items: center; padding: 15px 22px; background: var(--black); color: var(--yellow); font-weight: 800; text-decoration: none; text-transform: uppercase; letter-spacing: .06em; font-size: 14px; border: var(--rule); transition: background .15s, color .15s; }
.btn:hover { background: var(--yellow); color: var(--black); }
.btn.ghost { background: transparent; color: var(--black); }
.btn.ghost:hover { background: var(--black); color: var(--yellow); }
.btns { display: flex; flex-wrap: wrap; gap: 12px; }

/* Fact grid – the lines are 3px grid gaps, so rows never break at any width */
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3px; margin: 0; background: var(--black); border: var(--rule); }
.facts div { padding: 20px; background: var(--paper); }
.facts dt { margin-bottom: 8px; color: var(--muted); }
.facts dd { margin: 0; font-size: 20px; font-weight: 800; line-height: 1.3; }
.facts dd small { display: block; font-size: 15px; font-weight: 400; color: var(--muted); margin-top: 4px; }
.facts .wide { grid-column: span 2; }

/* Big number cards (distances, stats) */
.numbers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3px; border: var(--rule); background: var(--black); }
.numbers > div { padding: 24px 20px; background: #fff; }
.numbers b { display: block; font-family: Anton, Impact, sans-serif; font-weight: 400; font-size: clamp(54px, 7vw, 92px); line-height: 1; }
.numbers b small { font-size: .4em; margin-left: 4px; }
.numbers p { margin: 10px 0 0; color: var(--muted); }
.numbers .label { color: var(--maroon); display: block; margin-top: 12px; }
.numbers.four { grid-template-columns: repeat(4, 1fr); }
.numbers.five { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.numbers.five b { font-size: clamp(34px, 3.4vw, 50px); white-space: nowrap; }

/* Category tables */
.races { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.racebox { border: var(--rule); background: #fff; }
.racebox > header { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 16px 20px; background: var(--black); color: var(--yellow); }
.racebox > header h3 { margin: 0; font-size: 36px; }
.racebox .meta { display: grid; grid-template-columns: 1fr 1fr; border-bottom: var(--rule); }
.racebox .meta div { padding: 14px 20px; }
.racebox .meta div + div { border-left: var(--rule); }
.racebox .meta .label { display: block; color: var(--muted); margin-bottom: 4px; }
.cats { width: 100%; border-collapse: collapse; }
.cats th { text-align: left; padding: 12px 20px 8px; color: var(--maroon); }
.cats td { padding: 8px 20px; border-top: 1px solid #e3d9c4; vertical-align: top; font-size: 15px; }
.cats td b { display: block; }
.cats td span { color: var(--muted); font-size: 14px; }

/* Rules / numbered list */
.rules { list-style: none; margin: 0; padding: 0; counter-reset: r; border-top: var(--rule); }
.rules li { counter-increment: r; display: grid; grid-template-columns: 56px 1fr; gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--black); }
.rules li::before { content: counter(r, decimal-leading-zero); font-family: Anton, Impact, sans-serif; font-size: 28px; line-height: 1; color: var(--maroon); }

/* PDF viewer */
.pdf { border: var(--rule); background: #fff; }
.pdf object { display: block; width: 100%; height: 900px; }
.pdf .fallback { padding: 28px; }

/* Prose article */
.article { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 56px; align-items: start; }
.prose { font-size: 18px; line-height: 1.7; max-width: 62ch; }
.prose p { margin: 0 0 1.1em; }
.prose p:first-child::first-letter { float: left; font-family: Anton, Impact, sans-serif; font-size: 84px; line-height: .8; margin: 8px 12px 0 0; color: var(--maroon); }
.aside { position: sticky; top: 80px; display: grid; gap: 24px; }
.photo { margin: 0; border: var(--rule); background: #fff; }
.photo img { display: block; width: 100%; height: auto; }
.photo figcaption { padding: 10px 14px; border-top: var(--rule); }

/* Edition grid (archive) */
.years { display: grid; grid-template-columns: repeat(4, 1fr); border-top: var(--rule); border-left: var(--rule); }
.years a { position: relative; display: block; padding: 20px 20px 22px; border-right: var(--rule); border-bottom: var(--rule); text-decoration: none; transition: background .15s; }
.years a:hover { background: var(--yellow); }
.years b { display: block; font-family: Anton, Impact, sans-serif; font-weight: 400; font-size: 64px; line-height: 1; }
.years .label { color: var(--maroon); }
.years .go { position: absolute; right: 20px; top: 22px; width: 20px; height: 20px; }
.years a.latest { background: var(--black); color: #fff; }
.years a.latest .label { color: var(--yellow); }
.years a.latest:hover { background: var(--maroon); }
.years.solo { grid-template-columns: 1fr; max-width: 600px; }
.years a.old b { font-size: 48px; }

/* Donor list */
.donors { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); border-top: var(--rule); border-left: var(--rule); }
.donors li { padding: 22px 20px; border-right: var(--rule); border-bottom: var(--rule); background: #fff; }
.donors b { display: block; font-size: 18px; line-height: 1.3; }
.donors span { display: block; margin-top: 6px; color: var(--muted); }
.thanks { margin: 32px 0 0; font-family: Anton, Impact, sans-serif; text-transform: uppercase; font-size: clamp(28px, 4vw, 44px); line-height: 1.05; }
.thanks em { font-style: normal; color: var(--maroon); }

/* Big map */
.mapframe { margin: 0; border: var(--rule); background: #f0e6c8; }
.mapframe iframe { display: block; width: 100%; height: 560px; border: 0; }
.mapframe figcaption { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 12px 16px; border-top: var(--rule); background: var(--black); color: var(--yellow); }
.mapframe figcaption a { color: #fff; display: inline-flex; align-items: center; gap: 8px; }

/* Info card */
.card { border: var(--rule); background: #fff; padding: 24px; }
.card h2, .card h3 { margin: 0 0 12px; font-size: 32px; line-height: 1.06; }
.card p { margin: 0 0 12px; }
.card .label { color: var(--maroon); display: block; margin-bottom: 8px; }
.card.dark { background: var(--black); color: #fff; }
.card.dark .label { color: var(--yellow); }
.card.dark .btn { border-color: var(--yellow); }
.card .btns { margin-top: 20px; }
.card .mailto { font-weight: 800; font-size: 18px; }
.card.dark .mailto a { color: var(--yellow); }
.note { margin: 16px 0 0; color: var(--muted); }

/* ===== Home v2: status first, photo poster, photo tiles ===== */
.banner.top .wrap { padding-top: 38px; padding-bottom: 22px; }
.hero .emblem { display: block; width: 180px; height: auto; margin: 0 0 18px; }
.banner.top p { font-size: clamp(18px, 2vw, 24px); }
.hero .wrap { grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); align-items: center; gap: 56px; padding-top: 48px; padding-bottom: 64px; }
.hero h1 { font-size: clamp(76px, 10.5vw, 160px); }
.since { margin: 22px 0 0; font-size: clamp(26px, 3vw, 40px); line-height: 1.05; }
.since b { font-weight: 400; color: var(--maroon); }
.hero .tag { margin-top: 18px; }
.visual { position: relative; }
.duo { position: relative; margin: 0; border: var(--rule); background: var(--yellow); overflow: hidden; }
.duo img { display: block; width: 100%; height: auto; filter: grayscale(1) contrast(1.25) brightness(1.08); mix-blend-mode: multiply; }
.duo figcaption { position: absolute; right: 0; top: 0; padding: 4px 8px; background: var(--black); color: #fff; font-size: 11px; letter-spacing: .04em; }
.hero .race { position: relative; z-index: 1; width: min(420px, 88%); margin: -84px 0 0 -40px; }

.tiles.photo a { justify-content: flex-start; gap: 0; min-height: 0; padding: 0; }
.tiles.photo .pic { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--yellow); border-bottom: var(--rule); }
.tiles.photo .pic img { display: block; width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.2) brightness(1.06); mix-blend-mode: multiply; transition: transform .4s cubic-bezier(.2, .8, .2, 1); }
.tiles.photo a:hover .pic img, .tiles.photo a:focus-visible .pic img { filter: none; mix-blend-mode: normal; transform: scale(1.04); }
.tiles.photo a.colour .pic img { filter: none; mix-blend-mode: normal; }
.tiles.photo .ico { position: absolute; left: 14px; bottom: 14px; }
.tiles.photo .txt { display: block; padding: 16px 52px 20px 20px; }
.credit { margin: 14px 0 0; font-size: 13px; color: var(--muted); }

@media (max-width: 960px) {
  .poster.page .wrap { grid-template-columns: 1fr; }
  .poster.page .stamp { display: none; }
  .facts, .donors { grid-template-columns: 1fr 1fr; }
  .facts .wide { grid-column: span 2; }
  .races, .article { grid-template-columns: 1fr; }
  .aside { position: static; }
  .years { grid-template-columns: repeat(3, 1fr); }
  .numbers.four, .numbers.five { grid-template-columns: repeat(2, 1fr); }
  .numbers.five > div:last-child { grid-column: 1 / -1; }
  .pdf object { height: 640px; }
}
@media (max-width: 640px) {
  .numbers { grid-template-columns: 1fr; }
  .years { grid-template-columns: 1fr 1fr; }
  .years b { font-size: 48px; }
  .pdf { display: none; }
}
@media (max-width: 520px) {
  .facts, .donors { grid-template-columns: 1fr; }
  .facts .wide { grid-column: auto; }
  .racebox .meta { grid-template-columns: 1fr; }
  .racebox .meta div + div { border-left: 0; border-top: var(--rule); }
  .cats th, .cats td { padding-left: 14px; padding-right: 10px; }
  .prose { font-size: 17px; }
  .mapframe iframe { height: 420px; }
  .banner.top .wrap { padding-top: 30px; }
  .hero .emblem { width: 130px; margin-bottom: 12px; }
}

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