/* Šta raditi (28.10.2026): the one page that gathers every activity of the town. Loaded only by /sta-raditi/ and its
   translations. Every rule sits under .td, uses only the tokens both style.css generations share (--bg --paper --ink
   --ink2 --mut --line --f --ease --g), and brings its own colours, so the page looks the same on the LIVE 05.10 build and
   on the 06.10 redesign. Each activity group wears the colour of the chapter it leads to: water = river green, trails =
   forest, wine = grape, courts = sign blue, town = roof terracotta, the rest = saffron, the year = cobalt. */
.td{--tr:clamp(26px,3.4vw,48px);--tc:#17130f;--tt:var(--paper)}
.td-voda{--tc:#0b6a61;--tt:#dbece6}
.td-staze{--tc:#3c6a26;--tt:#e4edd6}
.td-vino{--tc:#6b1b4b;--tt:#f1dfe8}
.td-sport{--tc:#1b5b8b;--tt:#dde9f3}
.td-grad{--tc:#ad4627;--tt:#f4e1d4}
.td-jos{--tc:#8a5404;--tt:#f9edcd}
.td-kal{--tc:#2b44e8;--tt:#e5e8fb}

/* the index: every activity as one big word in its colour, a table of contents you can read from across the room */
.td-ix{padding:0 var(--g) clamp(70px,11vh,130px)}
.td-ix p{font-size:15px;font-weight:600;color:var(--mut);margin:0 0 18px}
.td-ix ul{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:.04em .5em;
  font-size:clamp(34px,5.6vw,92px);font-weight:760;font-stretch:118%;letter-spacing:-.03em;line-height:1.02}
.td-ix li{display:block}
.td-ix a{color:var(--tc);text-decoration:none;background:linear-gradient(currentColor,currentColor) 0 100%/0 .07em no-repeat;transition:background-size .5s var(--ease)}
.td-ix a:hover,.td-ix a:focus-visible{background-size:100% .07em}

/* a group: a coloured sheet laid over the previous one, like the chapters of the site */
.td-s{position:relative;background:var(--tt);border-radius:var(--tr) var(--tr) 0 0;margin-top:calc(var(--tr) * -1);
  padding:clamp(80px,12vh,150px) var(--g) clamp(110px,15vh,180px);scroll-margin-top:40px}
.td-s:first-of-type{margin-top:0}
.td-dol,.td-places{scroll-margin-top:40px}
.td-k{font-size:15px;font-weight:650;color:var(--tc);margin:0 0 14px}
.td-h{font-size:clamp(40px,6.4vw,110px);font-weight:780;font-stretch:120%;letter-spacing:-.035em;line-height:.9;color:var(--tc);margin:0;text-wrap:balance}
.td-h3{font-size:clamp(24px,2.3vw,34px);font-weight:720;font-stretch:112%;letter-spacing:-.015em;line-height:1.08;color:var(--tc);margin:0 0 10px}
.td .lead{font-size:clamp(20px,1.7vw,27px);line-height:1.36;color:var(--ink);font-weight:500;margin:26px 0 0}
.td p{max-width:62ch}
.td-t p+p,.td-t dl+p,.td-t ol+p{margin-top:16px}
.td-t dl+p{margin-top:24px}
.td-t p:not(.lead){color:var(--ink2)}
.td a:not(.go):not(.td-ixa){color:inherit;text-decoration-color:var(--tc);text-decoration-thickness:1.5px;text-underline-offset:3px}
.td .more{margin-top:32px;display:flex;flex-wrap:wrap;gap:10px}
.td .go{background:var(--tc);color:#fff;border-color:transparent;box-shadow:none}
.td .go::after{background-color:rgba(255,255,255,.22)}
.td .go:hover{background:var(--ink);color:#fff}
.td .go-l{background:transparent;color:var(--tc);box-shadow:inset 0 0 0 1.5px currentColor}
.td .go-l::after{background-color:var(--tc)}
.td .go-l:hover{background:var(--tc);color:#fff}
.td img{display:block;width:100%;height:auto}
.td-ph{margin:0}
.td-ph img{aspect-ratio:4/3;object-fit:cover;border-radius:calc(var(--tr) * .6)}
.td-cap{margin-top:10px;font-size:13.5px;color:var(--mut)}

/* water: the photo is the bigger half */
.td-split{display:grid;grid-template-columns:minmax(0,7fr) minmax(0,5fr);gap:clamp(30px,5vw,90px);align-items:center}
.td-split.td-flip{grid-template-columns:minmax(0,5fr) minmax(0,7fr)}
.td-split.td-flip>figure{order:2}

/* trails: the route is the picture, a line from the square to the lodge */
.td-route{list-style:none;margin:34px 0 0;padding:0;position:relative}
.td-route::before{content:"";position:absolute;left:11px;top:14px;bottom:14px;width:3px;border-radius:3px;
  background:repeating-linear-gradient(var(--tc) 0 10px,transparent 10px 18px)}
.td-route li{position:relative;padding:9px 0 9px 46px;font-size:clamp(19px,1.6vw,24px);font-weight:600;line-height:1.25}
.td-route li::before{content:"";position:absolute;left:3px;top:50%;width:19px;height:19px;margin-top:-10px;border-radius:50%;background:var(--tt);box-shadow:inset 0 0 0 3px var(--tc)}
.td-route li:first-child::before,.td-route li:last-child::before{background:var(--tc)}
.td-route small{display:block;font-size:14px;font-weight:500;color:var(--mut)}
.td-staze .td-split{align-items:start}
.td-sub{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(26px,4vw,70px);margin-top:clamp(60px,9vh,110px);padding-top:clamp(36px,5vh,56px);border-top:1.5px solid color-mix(in srgb,var(--tc) 30%,transparent)}

/* Čarobna dolina: no photo yet, so the two paths are drawn */
.td-dol{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:clamp(30px,5vw,90px);align-items:center;margin-top:clamp(90px,13vh,160px)}
.td-paths{width:100%;height:auto;max-height:440px}
.td-paths path{fill:none;stroke-linecap:round;stroke-linejoin:round}
.td-two{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;margin:30px 0 0}
.td-two div{padding:20px 22px;border-radius:20px;background:var(--paper)}
.td-two dt{font-weight:720;color:var(--tc);font-size:18px}
.td-two dd{margin:6px 0 0;color:var(--ink2);font-size:16px;line-height:1.45}

/* courts: a court drawn from above, the ball where the serve lands */
.td-court{width:100%;height:auto;max-height:520px}

/* town: the evening on the kej in a tall frame */
.td-vid{margin:0;justify-self:center;width:min(100%,380px)}
.td-vid video{display:block;width:100%;aspect-ratio:464/848;object-fit:cover;border-radius:calc(var(--tr) * .7);background:#2a2420;cursor:pointer}
.td-places{list-style:none;margin:clamp(60px,9vh,110px) 0 0;padding:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 clamp(26px,4vw,70px)}
.td-places li{padding:24px 0;border-top:1.5px solid color-mix(in srgb,var(--tc) 28%,transparent)}
.td-places p{margin:0;color:var(--ink2);font-size:16.5px;line-height:1.48}
.td-places .td-h3 a{text-decoration:none}

/* the rest: six short ones in columns */
.td-more{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(30px,4vw,60px) clamp(26px,4vw,64px);margin-top:clamp(50px,8vh,90px)}
.td-more p{margin:0;color:var(--ink2);font-size:16.5px;line-height:1.5}

/* the year: when to come, month by month */
.td-yr{list-style:none;margin:clamp(40px,7vh,70px) 0 0;padding:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:2px;border-radius:calc(var(--tr) * .6);overflow:hidden}
.td-yr li{background:var(--paper);padding:22px 22px 26px;min-height:150px}
.td-yr b{display:block;font-size:clamp(26px,2.6vw,40px);font-weight:760;font-stretch:118%;letter-spacing:-.02em;color:var(--tc);line-height:1}
.td-yr a,.td-yr span{display:block;margin-top:12px;font-size:16px;line-height:1.35;font-weight:560}

@media (max-width:1000px){
  .td-more{grid-template-columns:repeat(2,minmax(0,1fr))}
  .td-yr{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:820px){
  .td-split,.td-split.td-flip,.td-dol,.td-sub,.td-places{grid-template-columns:1fr}
  .td-split.td-flip>figure{order:0}
  .td-dol svg{max-height:300px}
  .td-two{grid-template-columns:1fr}
  .td-ix ul{font-size:clamp(30px,9.4vw,48px)}
}
@media (max-width:560px){
  .td-more,.td-yr{grid-template-columns:1fr}
  .td-yr li{min-height:0}
}
@media (prefers-reduced-motion:reduce){.td-ix a{transition:none}}
