
:root{--blue:#0875d1;--deep:#064f98;--ink:#10233d;--soft:#eaf5ff}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:Inter,ui-sans-serif,system-ui,-apple-system,Segoe UI,Arial,sans-serif;color:var(--ink);background:#fff}a{text-decoration:none;color:inherit}.nav{position:fixed;z-index:20;left:0;right:0;top:0;height:84px;display:flex;align-items:center;justify-content:space-between;padding:0 5vw;color:#fff;transition:.35s;background:linear-gradient(rgba(20,116,184,.55),transparent)}.nav.scrolled{height:68px;color:var(--deep);background:#fffffff2;box-shadow:0 8px 30px #0d4b7a12;backdrop-filter:blur(14px)}.brand{display:flex;gap:13px;align-items:center;font-weight:900;letter-spacing:.08em}.brand-logo{width:52px;height:66px;object-fit:contain;object-position:center;display:block}.nav.scrolled .brand-logo{width:42px;height:54px}.brand-logo{transition:.35s}.brand small{display:block;font-size:10px;font-weight:700;letter-spacing:.22em;margin-top:3px}.menu{display:flex;gap:28px;font-size:13px;font-weight:800;letter-spacing:.06em}.hero{height:100svh;min-height:650px;position:relative;overflow:hidden;background:#77b9e8}.hero-bg{position:absolute;inset:0;background:url('../images/embedded/image-051.jpg') center center/cover no-repeat;transform:scale(1.03);will-change:transform}.veil{position:absolute;inset:0;background:linear-gradient(90deg,rgba(51,151,218,.68) 0%,rgba(90,181,235,.38) 28%,rgba(255,255,255,0) 58%),linear-gradient(0deg,#fff 0%,rgba(255,255,255,.58) 8%,transparent 27%)}.hero-copy{position:absolute;z-index:2;left:5vw;top:50%;transform:translateY(-43%);color:white;text-shadow:0 2px 18px #07518a30}.kicker{font-weight:800;letter-spacing:.25em;font-size:15px}.hero h1{font-size:clamp(96px,15vw,230px);line-height:.72;margin:28px 0 34px;letter-spacing:-.075em}.name{font-size:clamp(20px,2.4vw,38px);letter-spacing:.28em;font-weight:650}.date{margin-top:38px;font-size:clamp(34px,4vw,62px);font-weight:900}.edition{font-weight:750;letter-spacing:.1em;margin-top:7px}.cta{display:inline-flex;align-items:center;gap:45px;margin-top:32px;background:#0875d1;color:#fff;padding:18px 25px;border-radius:4px;font-weight:850;letter-spacing:.05em;box-shadow:0 12px 35px #07518a35}.scroll{position:absolute;z-index:3;bottom:25px;left:50%;transform:translateX(-50%);text-align:center;color:var(--deep);font-size:11px;font-weight:800;letter-spacing:.12em}.arrow{font-size:27px;animation:b 1.8s infinite}@keyframes b{50%{transform:translateY(8px)}}section{padding:120px 7vw}.statement{min-height:80vh;display:grid;align-content:center;background:white}.eyebrow{color:var(--blue);font-weight:850;letter-spacing:.18em;font-size:13px}.statement h2{font-size:clamp(48px,7vw,108px);line-height:.96;letter-spacing:-.055em;margin:20px 0;max-width:1100px}.statement p{font-size:20px;max-width:620px;line-height:1.6;color:#607086}.stats{display:flex;gap:60px;margin-top:50px}.stat b{font-size:40px;color:var(--deep)}.stat span{display:block;color:#75869a;font-size:12px;letter-spacing:.12em;margin-top:5px}.photo-break{height:92vh;min-height:650px;background-image:linear-gradient(180deg,rgba(7,54,96,.06),rgba(7,54,96,.22)),url('../images/embedded/image-052.jpg');background-position:center var(--photo-y,50%);background-size:cover;background-repeat:no-repeat;position:relative;overflow:hidden;will-change:background-position}.photo-break:before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(5,48,87,.30) 0%,rgba(5,48,87,.06) 38%,transparent 65%);pointer-events:none}.photo-break:after{content:"28 LET NA CESTĚ K JEDLOVÉ";position:absolute;z-index:2;left:6vw;bottom:7vw;color:#fff;font-weight:950;font-size:clamp(40px,7vw,100px);max-width:800px;line-height:.92;text-shadow:0 3px 30px #0007}.info{background:linear-gradient(180deg,#eef8ff,#fff)}.info-grid{display:grid;grid-template-columns:1fr 1fr;gap:8vw}.info h2{font-size:clamp(45px,6vw,90px);line-height:.95;margin:18px 0 35px}.cards{display:grid;gap:14px}.card{background:#fff;padding:24px;border-radius:12px;box-shadow:0 12px 40px #0a57920d;border:1px solid #ddecf7}.card b{color:var(--blue)}footer{background:#0875d1;color:#fff;padding:65px 7vw;display:flex;justify-content:space-between;align-items:end}.footbrand{font-size:42px;font-weight:950}.mobile{display:none}@media(max-width:800px){.menu{display:none}.nav{height:70px}.mobile{display:block}.hero-copy{left:7vw;right:7vw;top:48%}.hero h1{font-size:32vw}.name{font-size:17px}.veil{background:linear-gradient(90deg,rgba(56,155,220,.9),rgba(56,155,220,.28)),linear-gradient(0deg,#fff 0%,rgba(255,255,255,.65) 10%,transparent 35%)}.stats{gap:25px;flex-wrap:wrap}.stat b{font-size:30px}.photo-break{background-attachment:scroll;height:65vh}.info-grid{grid-template-columns:1fr}section{padding:90px 7vw}footer{display:block}.footbrand{margin-bottom:25px}}

/* v3: vector TDJ identity + registration QR */
.nav{height:112px;padding:0 4vw}.nav.scrolled{height:82px}.brand{gap:16px}.tdj-mark{width:118px;height:86px;display:block;filter:drop-shadow(0 3px 12px rgba(0,52,104,.16));transition:.35s}.nav.scrolled .tdj-mark{width:92px;height:66px}.brand-word{font-size:12px;line-height:1.15;letter-spacing:.18em}.brand-word strong{display:block;font-size:18px;letter-spacing:.08em}.nav.scrolled .tdj-mark .logo-fill{fill:#0875d1}.nav.scrolled .tdj-mark .logo-stroke{stroke:#0875d1}.menu{gap:24px}.registration-wrap{display:flex;align-items:center;gap:22px;margin-top:30px}.registration-wrap .cta{margin-top:0}.qr-box{width:92px;height:92px;background:#fff;padding:7px;border-radius:4px;box-shadow:0 10px 28px rgba(3,63,111,.22)}.qr-box svg{display:block;width:100%;height:100%}.qr-label{font-size:10px;font-weight:850;letter-spacing:.13em;margin-top:6px;text-align:center;color:#fff}.hero-copy{top:52%}
@media(max-width:800px){.nav{height:84px;padding:0 5vw}.tdj-mark{width:82px;height:62px}.brand-word{display:none}.registration-wrap{gap:14px}.qr-box{width:72px;height:72px}.qr-label{display:none}}

/* v4 */
.tdj-logo-img{width:112px;height:94px;object-fit:contain;object-position:left center;filter:brightness(0) invert(1) drop-shadow(0 3px 12px rgba(0,52,104,.18));transition:.35s}.nav.scrolled .tdj-logo-img{width:84px;height:68px;filter:none}.registration-wrap{display:block}.info-grid-v4{grid-template-columns:minmax(0,1.5fr) minmax(300px,.65fr);align-items:center;gap:7vw}.info-copy h2{font-size:clamp(58px,7vw,118px);line-height:.92;letter-spacing:-.06em;margin:22px 0}.info-copy p{font-size:18px}.info-stats{display:flex;gap:34px;margin-top:55px;flex-wrap:wrap}.info-stats span{display:flex;flex-direction:column;font-size:11px;letter-spacing:.12em;color:#55708d;border-left:1px solid #cfe3f4;padding-left:18px}.info-stats b{font-size:20px;letter-spacing:0;color:var(--deep);margin-bottom:4px}.register-panel{background:#fff;border:1px solid #d7e8f6;border-radius:24px;padding:32px;box-shadow:0 25px 70px rgba(12,74,121,.12);max-width:390px;justify-self:end}.register-qr{width:210px;height:210px;margin:0 auto 26px;padding:14px;background:#fff;border:1px solid #e1edf7;border-radius:15px}.register-qr svg{width:100%;height:100%;display:block}.register-kicker{font-size:11px;color:var(--blue);font-weight:900;letter-spacing:.18em}.register-panel h3{font-size:40px;line-height:.95;margin:10px 0 24px;letter-spacing:-.04em}.blue-cta{background:var(--blue);color:#fff;width:100%;justify-content:space-between;margin:0}.register-note{text-align:center;font-size:9px;letter-spacing:.14em;color:#8aa0b5;margin-top:14px}@media(max-width:800px){.tdj-logo-img{width:82px;height:68px}.info-grid-v4{grid-template-columns:1fr}.register-panel{justify-self:stretch;max-width:none}.info-copy h2{font-size:54px}.register-qr{width:180px;height:180px}}
.icon-stats{gap:54px;align-items:center}.icon-stats .stat{display:flex;align-items:center;gap:18px}.stat-icon{width:58px;height:58px;flex:0 0 auto;fill:none;stroke:var(--blue);stroke-width:3.2;stroke-linecap:round;stroke-linejoin:round}.icon-stats .stat b{display:block}.icon-stats .stat span{white-space:nowrap}@media(max-width:800px){.icon-stats{gap:28px}.stat-icon{width:46px;height:46px}.icon-stats .stat{gap:12px}}
/* v8 — čistý dynamický header */
.nav{height:116px;padding:0 4.5vw;background:linear-gradient(to bottom,rgba(7,55,95,.32),rgba(7,55,95,0));transition:height .35s ease,background .35s ease,box-shadow .35s ease,color .35s ease}
.brand{display:flex;align-items:center;gap:0}
.brand-logo{width:104px;height:104px;object-fit:contain;border-radius:0;box-shadow:none;filter:grayscale(1) brightness(0) invert(1);transition:width .35s ease,height .35s ease,filter .35s ease,transform .35s ease}
.brand:hover .brand-logo{transform:translateY(-2px)}
.brand-word{display:none!important}
.menu{gap:30px}
.menu a{position:relative;padding:10px 0}
.menu a:after{content:"";position:absolute;left:0;right:100%;bottom:3px;height:2px;background:currentColor;transition:right .22s ease}
.menu a:hover:after{right:0}
.nav.scrolled{height:74px;background:rgba(255,255,255,.94);color:#111111;box-shadow:0 8px 30px rgba(13,75,122,.08);backdrop-filter:blur(14px)}
.nav.scrolled .brand-logo{width:58px;height:58px;filter:grayscale(1) brightness(0)}
@media(max-width:900px){.nav{height:88px;padding:0 22px}.brand-logo{width:72px;height:72px}.nav.scrolled{height:66px}.nav.scrolled .brand-logo{width:50px;height:50px}}


/* v10 — čistý footer */
.tdj-footer{
  background:#1479ca;
  color:#fff;
  padding:54px 6vw 24px;
}
.footer-main{
  max-width:1600px;
  margin:0 auto;
  min-height:92px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:40px;
}
.footer-brand{display:inline-flex;align-items:center}
.footer-logo{
  width:82px;
  height:82px;
  object-fit:contain;
  filter:grayscale(1) brightness(0) invert(1);
}
.footer-social{
  display:flex;
  align-items:center;
  gap:15px;
}
.footer-social a{
  width:44px;
  height:44px;
  border:1px solid rgba(255,255,255,.48);
  border-radius:50%;
  display:grid;
  place-items:center;
  color:#fff;
  transition:background .2s ease,transform .2s ease,border-color .2s ease;
}
.footer-social a:hover{
  background:rgba(255,255,255,.12);
  border-color:#fff;
  transform:translateY(-2px);
}
.footer-social svg{
  width:21px;
  height:21px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.7;
  stroke-linecap:round;
  stroke-linejoin:round;
}
.footer-social a[aria-label="Facebook"] svg{
  fill:currentColor;
  stroke:none;
}
.footer-rule{
  max-width:1600px;
  height:1px;
  margin:28px auto 19px;
  background:rgba(255,255,255,.32);
}
.footer-bottom{
  max-width:1600px;
  margin:0 auto;
  font-size:12px;
  letter-spacing:.04em;
  opacity:.9;
}
.footer-bottom span{padding:0 8px}
@media(max-width:700px){
  .tdj-footer{padding:42px 24px 22px}
  .footer-main{min-height:0}
  .footer-logo{width:68px;height:68px}
  .footer-social a{width:40px;height:40px}
  .footer-bottom{font-size:11px}
}



.footer-contact{
  margin-left:auto;
  display:flex;
  flex-direction:column;
  gap:8px;
  font-size:14px;
  line-height:1.35;
}
.footer-contact-title{
  font-size:10px;
  font-weight:900;
  letter-spacing:.18em;
  opacity:.75;
  margin-bottom:2px;
}
.footer-contact-row{display:flex;gap:10px;align-items:baseline}
.footer-contact-row strong{min-width:122px}
.footer-contact-row a{font-weight:750}
.footer-contact-row a:hover{text-decoration:underline}
@media(max-width:700px){
  .footer-main{flex-wrap:wrap;align-items:flex-start}
  .footer-contact{order:2;width:100%;margin-left:0}
  .footer-social{order:3}
  .footer-contact-row{flex-direction:column;gap:1px}
}

/* ===== TDJ V11 additions ===== */
.v11-section{padding:110px 7vw}.v11-wrap{max-width:1240px;margin:auto}.v11-kicker{font-size:12px;font-weight:900;letter-spacing:.22em;color:var(--blue);margin-bottom:18px}.v11-title{font-size:clamp(44px,7vw,96px);line-height:.92;letter-spacing:-.055em;margin:0 0 28px;font-weight:950}.v11-lead{font-size:clamp(18px,2vw,25px);line-height:1.5;max-width:760px;color:#53657a}.route{background:#071b31;color:#fff;overflow:hidden}.route .v11-kicker{color:#67b8ff}.route-grid{display:grid;grid-template-columns:.72fr 1.28fr;gap:70px;align-items:center}.route-copy p{color:#a9bdd2;font-size:18px;line-height:1.6}.route-stats{display:grid;grid-template-columns:repeat(2,1fr);gap:1px;background:#24415d;margin-top:38px}.route-stat{background:#071b31;padding:22px 0}.route-stat b{display:block;font-size:28px}.route-stat span{font-size:10px;letter-spacing:.15em;color:#88a3bd;font-weight:800}.profile-card{background:#0c2945;border-radius:28px;padding:28px 28px 18px;box-shadow:0 30px 80px #0004}.profile-svg{width:100%;height:auto;display:block}.profile-line{fill:none;stroke:#55b7ff;stroke-width:7;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:1200;stroke-dashoffset:1200;transition:stroke-dashoffset 2.2s cubic-bezier(.2,.8,.2,1)}.route.visible .profile-line{stroke-dashoffset:0}.profile-fill{fill:url(#grad);opacity:.22}.profile-label{font:800 14px Inter,Arial,sans-serif;fill:#fff}.profile-small{font:700 11px Inter,Arial,sans-serif;fill:#91a9bf}.history{min-height:78vh;position:relative;display:flex;align-items:flex-end;color:#fff;background-size:cover;background-position:center}.history:before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#06182dd9 0%,#06182d80 48%,#06182d22 80%),linear-gradient(0deg,#06182db8,transparent 60%)}.history .v11-wrap{position:relative;width:100%;padding-bottom:9vh}.history .v11-kicker{color:#8bcaff}.history .v11-title{max-width:800px}.history p{font-size:18px;line-height:1.6;max-width:620px;color:#dbe7f1}.text-link{display:inline-flex;gap:18px;align-items:center;margin-top:24px;font-size:13px;font-weight:900;letter-spacing:.12em}.gallery{background:#f5f9fc}.mosaic{display:grid;grid-template-columns:1.35fr .65fr 1fr;grid-template-rows:260px 220px;gap:14px;margin-top:50px}.mosaic figure{margin:0;overflow:hidden;border-radius:18px;position:relative;background:#ccd9e5}.mosaic img{width:100%;height:100%;object-fit:cover;transition:.55s}.mosaic figure:hover img{transform:scale(1.035)}.mosaic .hero-shot{grid-row:1/3}.mosaic .wide{grid-column:2/4}.gallery-years{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-top:34px;flex-wrap:wrap}.year-links{display:flex;gap:10px;flex-wrap:wrap}.year-links a{border:1px solid #cbd8e4;border-radius:999px;padding:12px 18px;font-weight:900;font-size:12px}.results{background:#fff}.results-card{background:linear-gradient(135deg,var(--blue),#0357a7);color:#fff;border-radius:28px;padding:45px 48px;display:flex;align-items:end;justify-content:space-between;margin-top:42px;min-height:230px}.results-card strong{font-size:clamp(50px,8vw,105px);letter-spacing:-.06em;line-height:.85}.results-card a{font-weight:900;letter-spacing:.12em}.archive{display:flex;gap:12px;margin-top:22px;flex-wrap:wrap}.archive a{background:transparent;border:1px solid #cbd8e4;border-radius:999px;padding:12px 18px;font-weight:900;font-size:12px;color:var(--ink);transition:background .2s ease,color .2s ease,border-color .2s ease,transform .2s ease}.archive a:hover{background:var(--blue);border-color:var(--blue);color:#fff;transform:translateY(-1px)}.help{background:#071b31;color:#fff}.help-grid{display:grid;grid-template-columns:1.15fr .85fr;gap:70px;align-items:end}.help .v11-kicker{color:#e7bd63}.help .v11-title{max-width:800px}.help p{color:#b7c8d8;font-size:18px;line-height:1.65}.help-card{border:1px solid #29465f;border-radius:24px;padding:34px;background:#0b243c}.help-card b{font-size:24px;display:block;margin-bottom:10px}.partners{text-align:center}.partner-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:16px;margin-top:45px}.partner{height:110px;border:1px solid #dbe5ed;border-radius:16px;display:flex;align-items:center;justify-content:center;font-weight:950;letter-spacing:.08em;color:#7890a4;background:#fff}.club{background:#eaf5ff}.club-grid{display:grid;grid-template-columns:1fr 1fr;gap:70px;align-items:center}.club-mark{aspect-ratio:1.6;border-radius:28px;background:var(--blue);display:flex;align-items:center;justify-content:center;color:#fff;font-size:clamp(34px,6vw,72px);font-weight:950;letter-spacing:-.04em}.fade-up{opacity:0;transform:translateY(28px);transition:.8s ease}.fade-up.visible{opacity:1;transform:none}@media(max-width:850px){.v11-section{padding:78px 6vw}.route-grid,.help-grid,.club-grid{grid-template-columns:1fr;gap:40px}.mosaic{grid-template-columns:1fr 1fr;grid-template-rows:240px 180px 180px}.mosaic .hero-shot{grid-column:1/3;grid-row:auto}.mosaic .wide{grid-column:1/3}.partner-grid{grid-template-columns:repeat(2,1fr)}.results-card{padding:30px;min-height:190px}.gallery-years{align-items:flex-start;flex-direction:column}}@media(max-width:520px){.mosaic{display:flex;overflow-x:auto;scroll-snap-type:x mandatory}.mosaic figure{min-width:82vw;height:310px;scroll-snap-align:start}.partner-grid{grid-template-columns:1fr 1fr}.route-stats{grid-template-columns:1fr 1fr}}

/* ===== V12 refinements ===== */
.nowrap{white-space:nowrap}
.history-merged{display:flex;align-items:center;min-height:92vh;color:#fff}
.history-merged:before{background:linear-gradient(90deg,rgba(6,24,45,.88) 0%,rgba(6,24,45,.58) 48%,rgba(6,24,45,.18) 78%),linear-gradient(0deg,rgba(6,24,45,.55),transparent 60%)}
.photo-break.history-merged:after{content:none}
.history-merged-copy{position:relative;z-index:3;width:min(760px,88vw);margin-left:max(6vw,calc((100vw - 1240px)/2));padding:9vh 0}
.history-merged-copy .v11-kicker{color:#8bcaff}
.history-merged-copy h2{font-size:clamp(52px,6.4vw,100px);line-height:.92;margin:24px 0 28px;letter-spacing:-.045em}
.history-merged-copy p{font-size:18px;line-height:1.6;max-width:650px;color:#e6eef6}
.profile-card{padding:24px 24px 12px}
.profile-grid line{stroke:#49627a;stroke-width:1;opacity:.48;stroke-dasharray:3 8}
.axis-y text,.axis-x text{font:700 12px Inter,Arial,sans-serif;fill:#8fa6bb;letter-spacing:.04em}
.axis-y text{text-anchor:end}
.profile-reveal{transition:width 2.4s cubic-bezier(.2,.8,.2,1)}
.route.visible .profile-reveal{width:665px}
.profile-line{stroke-dasharray:none;stroke-dashoffset:0;transition:none}
.profile-fill{fill:url(#grad12);opacity:.24}
.finish-dot{fill:#55b7ff;opacity:0;transform-origin:735px 78px}
.route.visible .finish-dot{animation:finishPulse .7s 2.25s ease-out forwards}
.finish-label{opacity:.7}.route.visible .finish-label{animation:labelIn .6s 2.15s forwards}
@keyframes finishPulse{0%{opacity:0;transform:scale(.4)}60%{opacity:1;transform:scale(1.7)}100%{opacity:1;transform:scale(1)}}
@keyframes labelIn{to{opacity:1}}
.mosaic-v12{display:grid;grid-template-columns:repeat(12,1fr);grid-auto-rows:auto;gap:14px;align-items:start}
.mosaic-v12 figure{height:auto!important;grid-row:auto!important;grid-column:auto!important;background:transparent;overflow:hidden;border-radius:18px}
.mosaic-v12 img{width:100%;height:auto!important;display:block;object-fit:contain!important}
.mosaic-v12 figure:nth-child(1){grid-column:span 7}.mosaic-v12 figure:nth-child(2){grid-column:span 5}
.mosaic-v12 figure:nth-child(3){grid-column:span 4}.mosaic-v12 figure:nth-child(4){grid-column:span 4}.mosaic-v12 figure:nth-child(5){grid-column:span 4}
.mosaic-v12 figure:nth-child(6){grid-column:3 / span 8}
.help-cards{display:grid;gap:16px}.help-card{padding:30px 34px}.help-year{display:block;color:#f0c34b;font-weight:950;font-size:28px;margin-bottom:12px}.help-card .text-link{margin-top:8px}
.club-logo{background:#fff;border:1px solid #d3e0ec;padding:48px;aspect-ratio:1.6}.club-logo img{width:100%;height:auto;display:block}
@media(max-width:850px){.nowrap{white-space:normal}.history-merged-copy{margin-left:6vw;margin-right:6vw}.mosaic-v12{grid-template-columns:1fr}.mosaic-v12 figure:nth-child(n){grid-column:auto}.club-logo{padding:28px}.profile-card{padding:12px 8px 4px}.route-stat b{font-size:25px}}

/* V13 — history photo: more people visible, text aligned with main content */
.history-merged:before{
  background:
    linear-gradient(90deg,rgba(6,24,45,.70) 0%,rgba(6,24,45,.46) 34%,rgba(6,24,45,.16) 62%,rgba(6,24,45,.05) 100%),
    linear-gradient(0deg,rgba(6,24,45,.26),transparent 58%) !important;
}
.history-merged-copy{
  width:min(720px,88vw) !important;
  margin-left:max(5vw,calc((100vw - 1440px)/2)) !important;
}

/* V13 — route composition */
.route-grid-v13{grid-template-columns:minmax(0,.88fr) minmax(560px,1.12fr)!important;gap:clamp(48px,6vw,110px)!important;align-items:center!important}
.profile-stage{min-height:560px;display:flex;align-items:center;justify-content:center}
.profile-svg-v13{width:100%;max-width:820px;height:auto;overflow:visible}
.profile-grid line{stroke:#48647e;stroke-width:1;opacity:.42;stroke-dasharray:3 9}
.profile-fill-v13{fill:url(#grad13);opacity:0}
.profile-line-v13{fill:none;stroke:#63b5ff;stroke-width:7;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:1;stroke-dashoffset:1}
.profile-rider-v13{fill:#fff;stroke:#63b5ff;stroke-width:5;opacity:0}
.finish-dot-v13{fill:#63b5ff;opacity:0}
.finish-label-v13{opacity:.35}
.route.visible .profile-line-v13{animation:drawProfile13 2.15s cubic-bezier(.25,.7,.2,1) forwards}
.route.visible .profile-fill-v13{animation:fillProfile13 1.45s .65s ease forwards}
.route.visible .profile-rider-v13{animation:rider13 2.15s cubic-bezier(.25,.7,.2,1) forwards}
.route.visible .finish-dot-v13{animation:finish13 .55s 2.05s ease-out forwards}
.route.visible .finish-label-v13{animation:label13 .5s 2.05s forwards}
@keyframes drawProfile13{to{stroke-dashoffset:0}}
@keyframes fillProfile13{to{opacity:.28}}
@keyframes rider13{
  0%{opacity:1;transform:translate(0,0)}
  12%{transform:translate(80px,-22px)}
  28%{transform:translate(185px,-56px)}
  45%{transform:translate(305px,-114px)}
  62%{transform:translate(425px,-166px)}
  78%{transform:translate(535px,-226px)}
  100%{opacity:1;transform:translate(674px,-298px)}
}
@keyframes finish13{0%{opacity:0;transform:scale(.4);transform-origin:760px 96px}65%{opacity:1;transform:scale(1.8);transform-origin:760px 96px}100%{opacity:1;transform:scale(1);transform-origin:760px 96px}}
@keyframes label13{to{opacity:1}}
.route-stats-v13{display:grid!important;grid-template-columns:1fr 1fr!important;grid-template-rows:1fr 1fr!important;margin-top:42px!important}
.route-stats-v13 .route-stat{min-height:104px!important;padding:25px 30px!important;display:flex!important;flex-direction:column!important;justify-content:center!important}
.route-stats-v13 .route-stat:nth-child(odd){padding-left:0!important}
.route-stats-v13 .route-stat:nth-child(even){padding-left:38px!important}
.route-stats-v13 .route-stat:nth-child(-n+2){border-bottom:1px solid rgba(130,164,196,.34)!important}
.route-stats-v13 .route-stat:nth-child(even){border-left:1px solid rgba(130,164,196,.34)!important}
.route-stats-v13 .route-stat b{margin:0 0 8px!important;line-height:1!important}
@media(max-width:1000px){.route-grid-v13{grid-template-columns:1fr!important}.profile-stage{min-height:auto}.profile-svg-v13{max-width:760px}.route-stats-v13 .route-stat{min-height:90px!important}}

/* V13 — atmosphere: large dynamic editorial mosaic */
.mosaic-v12{display:grid!important;grid-template-columns:repeat(12,minmax(0,1fr))!important;grid-template-rows:280px 250px 330px!important;gap:16px!important;margin-top:48px!important}
.mosaic-v12 figure{margin:0!important;height:100%!important;overflow:hidden!important;border-radius:18px!important;background:#dce8f3!important}
.mosaic-v12 img{width:100%!important;height:100%!important;object-fit:cover!important;transition:transform .65s ease,filter .65s ease!important}
.mosaic-v12 figure:hover img{transform:scale(1.025);filter:brightness(1.04)}
.mosaic-v12 figure:nth-child(1){grid-column:1 / span 7!important;grid-row:1 / span 2!important}
.mosaic-v12 figure:nth-child(2){grid-column:8 / span 5!important;grid-row:1!important}
.mosaic-v12 figure:nth-child(3){grid-column:8 / span 5!important;grid-row:2!important}
.mosaic-v12 figure:nth-child(4){grid-column:1 / span 4!important;grid-row:3!important}
.mosaic-v12 figure:nth-child(5){grid-column:5 / span 8!important;grid-row:3!important}
.mosaic-v12 figure:nth-child(6){grid-column:9 / span 4!important;grid-row:3!important;display:none!important}
/* Individual crops: keep faces/people readable */
.mosaic-v12 figure:nth-child(1) img{object-position:50% 48%!important}
.mosaic-v12 figure:nth-child(2) img{object-position:50% 42%!important}
.mosaic-v12 figure:nth-child(3) img{object-position:50% 38%!important}
.mosaic-v12 figure:nth-child(4) img{object-position:50% 38%!important}
.mosaic-v12 figure:nth-child(5) img{object-fit:contain!important;background:#dce8f3!important;object-position:center!important}
/* Sixth photo becomes a floating tile, so all six are visible */
.mosaic-v12 figure:nth-child(6){display:block!important;grid-column:9 / span 4!important;grid-row:3!important}
.mosaic-v12 figure:nth-child(5){grid-column:5 / span 4!important}
.mosaic-v12 figure:nth-child(6) img{object-position:50% 42%!important}
@media(max-width:850px){
 .mosaic-v12{grid-template-columns:1fr 1fr!important;grid-template-rows:auto!important;gap:10px!important}
 .mosaic-v12 figure:nth-child(n){grid-column:auto!important;grid-row:auto!important;height:220px!important}
 .mosaic-v12 figure:nth-child(1),.mosaic-v12 figure:nth-child(5){grid-column:1 / -1!important;height:300px!important}
 .mosaic-v12 figure:nth-child(5) img{object-fit:contain!important}
}

/* V13 — closed registration */
.register-card a,.registration a,.register a{cursor:default}
.register-card a[href="#"],.registration a[href="#"],.register a[href="#"]{pointer-events:none;filter:saturate(.35);opacity:.72}


/* ===== V14 final refinements ===== */

/* History text aligned to the site's main content axis */
.history-merged-copy{
  width:min(720px,88vw)!important;
  margin-left:max(5vw,calc((100vw - 1400px)/2 + 24px))!important;
}

/* Route graph centered more naturally in the free right-hand area */
.route-grid-v13{
  grid-template-columns:minmax(0,.82fr) minmax(620px,1.18fr)!important;
  gap:clamp(70px,7vw,130px)!important;
}
.profile-stage{
  width:100%!important;
  justify-content:flex-end!important;
  padding-left:24px!important;
  padding-right:0!important;
}
.profile-svg-v13{
  width:min(100%,860px)!important;
  max-width:860px!important;
}

/* Registration closed state */
.hero-cta,
.register-card a,
.registration a,
.register a{
  cursor:default;
}


/* ===== V15: synchronized route map + elevation profile ===== */
.route-grid-v13{grid-template-columns:minmax(0,.78fr) minmax(650px,1.22fr)!important;gap:clamp(60px,6vw,110px)!important;align-items:center!important}
.profile-stage{display:grid!important;grid-template-rows:1fr 1fr;gap:22px!important;width:100%!important;max-width:880px!important;justify-self:end!important;padding:0!important}
.route-viz-card{position:relative;border:1px solid rgba(104,180,255,.16);border-radius:28px;background:rgba(25,54,87,.54);padding:18px 20px 12px;overflow:hidden;min-height:300px}
.route-viz-head{display:flex;align-items:center;justify-content:space-between;margin:0 4px 2px;color:#7dc3ff;font-family:Arial,sans-serif;font-size:11px;font-weight:800;letter-spacing:.2em;text-transform:uppercase}
.route-viz-head span:last-child{color:rgba(255,255,255,.45);letter-spacing:.08em}
.profile-svg-v13,.map-svg-v15{width:100%!important;max-width:none!important;height:260px!important;display:block;overflow:visible}
.map-grid-v15 path{fill:none;stroke:rgba(143,183,218,.10);stroke-width:1.2}
.map-area-v15{fill:rgba(53,102,91,.10);stroke:rgba(104,180,255,.08);stroke-width:1}
.map-road-v15{fill:none;stroke:rgba(180,207,229,.16);stroke-width:2;stroke-linecap:round}
.map-route-v15{fill:none;stroke:#63b5ff;stroke-width:6;stroke-linecap:round;stroke-linejoin:round;filter:drop-shadow(0 0 7px rgba(99,181,255,.22));stroke-dasharray:1;stroke-dashoffset:1;animation:routeDrawV15 8s cubic-bezier(.45,0,.2,1) infinite}
.map-rider-v15{fill:#fff;stroke:#63b5ff;stroke-width:4;filter:drop-shadow(0 0 8px rgba(99,181,255,.8));offset-path:path('M690 54 C680 84 698 105 682 130 C664 156 632 166 596 177 C552 191 510 205 468 219 C425 233 388 235 350 228 C314 221 278 229 246 246 C218 261 202 282 187 309 C171 337 146 352 126 374 C108 394 104 420 116 444 C126 465 115 483 92 490');offset-distance:0%;animation:mapRideV15 8s cubic-bezier(.45,0,.2,1) infinite}
.map-point-v15{fill:#0d2138;stroke:#7dc3ff;stroke-width:3}
.map-label-v15{fill:#fff;font-family:Arial,sans-serif;font-size:13px;font-weight:800;letter-spacing:.03em}
.map-sub-v15{fill:#86a0b8;font-family:Arial,sans-serif;font-size:10px;font-weight:700;letter-spacing:.12em}
.profile-line-v13{animation:profileDrawV15 8s cubic-bezier(.45,0,.2,1) infinite!important}
.profile-rider-v13{offset-path:path('M86 394 C130 389 164 373 205 363 S270 349 309 320 S365 303 401 280 S463 263 503 234 S559 219 596 187 S650 171 681 139 S724 117 760 96');offset-distance:0%;cx:0!important;cy:0!important;animation:profileRideV15 8s cubic-bezier(.45,0,.2,1) infinite!important;fill:#fff!important;stroke:#63b5ff!important;stroke-width:4!important;filter:drop-shadow(0 0 8px rgba(99,181,255,.8))}
@keyframes routeDrawV15{0%{stroke-dashoffset:1}78%,92%{stroke-dashoffset:0}100%{stroke-dashoffset:1}}
@keyframes profileDrawV15{0%{stroke-dashoffset:1}78%,92%{stroke-dashoffset:0}100%{stroke-dashoffset:1}}
@keyframes mapRideV15{0%{offset-distance:0%}78%,92%{offset-distance:100%}100%{offset-distance:0%}}
@keyframes profileRideV15{0%{offset-distance:0%}78%,92%{offset-distance:100%}100%{offset-distance:0%}}
@media(max-width:1000px){.route-grid-v13{grid-template-columns:1fr!important}.profile-stage{max-width:none!important}.route-viz-card{min-height:270px}.profile-svg-v13,.map-svg-v15{height:auto!important}}
@media(prefers-reduced-motion:reduce){.map-route-v15,.profile-line-v13,.map-rider-v15,.profile-rider-v13{animation:none!important;stroke-dashoffset:0!important}.map-rider-v15,.profile-rider-v13{display:none}}


/* ===== V16: real OpenStreetMap + synchronized route/profile ===== */
.route-grid-v13{grid-template-columns:minmax(360px,.72fr) minmax(720px,1.28fr)!important;gap:clamp(54px,5vw,96px)!important;align-items:center!important}
.profile-stage{max-width:980px!important;gap:24px!important;grid-template-rows:auto auto!important}
.route-viz-card{padding:0!important;min-height:0!important;background:#102b48!important}
.route-viz-head{height:48px;padding:0 22px;margin:0!important;position:relative;z-index:500;background:#102b48;border-bottom:1px solid rgba(125,195,255,.12)}
#tdj-map-v16{height:360px;width:100%;background:#ddd;position:relative}
.map-card-v16{min-height:408px!important}
.profile-card-v15{padding-bottom:12px!important}
.profile-card-v15 .profile-svg-v13{height:300px!important;padding:0 10px 6px;box-sizing:border-box}
.leaflet-container{font-family:Arial,sans-serif;background:#0d243c}
.leaflet-tile-pane{filter:none}
.leaflet-control-attribution{font-size:9px!important;background:rgba(7,27,49,.72)!important;color:#b8c8d8!important}
.leaflet-control-attribution a{color:#7dc3ff!important}
.leaflet-control-zoom{display:block}
.tdj-map-label{background:rgba(7,27,49,.9)!important;border:1px solid rgba(125,195,255,.28)!important;color:white!important;border-radius:7px!important;box-shadow:none!important;padding:5px 8px!important;font-size:10px!important;font-weight:900!important;letter-spacing:.04em!important;white-space:nowrap}
.tdj-map-label:before{display:none!important}
.tdj-rider-icon{background:#fff;border:4px solid #63b5ff;border-radius:50%;box-shadow:0 0 0 5px rgba(99,181,255,.15),0 0 18px #63b5ff;width:14px!important;height:14px!important;margin-left:-7px!important;margin-top:-7px!important}
.tile-error:after{content:'';display:none}.tdj-map-note{position:absolute;left:20px;bottom:18px;z-index:500;background:rgba(7,27,49,.82);border:1px solid rgba(125,195,255,.18);border-radius:10px;padding:8px 11px;color:#dceaf6;font-size:10px;font-weight:800;letter-spacing:.06em;pointer-events:none}
@media(max-width:1150px){.route-grid-v13{grid-template-columns:1fr!important}.profile-stage{max-width:none!important}#tdj-map-v16{height:340px}.profile-card-v15 .profile-svg-v13{height:auto!important}}


/* V17.2 partners */
.partners-group{margin-top:46px;text-align:left}
.partners-heading{font-size:13px;font-weight:900;letter-spacing:.14em;padding-bottom:14px;border-bottom:1px solid #dbe5ed;color:#10213b}
.municipality-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:54px;align-items:center;padding:42px 20px 52px}
.municipality-logo{height:125px;display:flex;align-items:center;justify-content:center}
.municipality-logo img{display:block;max-width:100%;max-height:112px;width:auto;height:auto;object-fit:contain}
.race-partners{margin-top:8px}
@media(max-width:760px){.municipality-grid{grid-template-columns:1fr;gap:28px;padding:34px 0 42px}.municipality-logo{height:105px}.municipality-logo img{max-height:96px}}

/* ===== V17.3 final refinements ===== */
.v173-municipalities{grid-template-columns:repeat(3,1fr);gap:52px;padding:40px 10px 48px}
.v173-municipalities .municipality-logo{height:132px}
.v173-municipalities .municipality-logo img{max-height:116px;max-width:100%;object-fit:contain}
.jiretin-clean{display:flex!important;flex-direction:row;gap:18px;align-items:center;justify-content:center}
.jiretin-clean img{height:112px!important;width:auto!important;max-width:105px!important}
.jiretin-name{display:flex;flex-direction:column;align-items:flex-start;line-height:.94;color:#10213b;text-align:left}
.jiretin-name strong{font-size:27px;font-weight:950;letter-spacing:-.03em}.jiretin-name span{font-size:22px;font-weight:900;margin-top:6px}

.v173-footer{background:#071b31;padding:38px 6vw 30px}
.v173-footer-main{max-width:1600px;margin:0 auto;display:grid;grid-template-columns:auto minmax(300px,1.25fr) 92px minmax(180px,.7fr) minmax(260px,1fr);gap:34px;align-items:center;min-height:105px}
.v173-footer .footer-brand{justify-self:start}.v173-footer .footer-logo{width:78px;height:78px;filter:grayscale(1) brightness(0) invert(1)}
.v173-footer .footer-contact{margin:0;display:flex;flex-direction:column;gap:8px;font-size:14px}
.v173-footer .footer-contact-title,.footer-follow-title{font-size:12px;font-weight:900;letter-spacing:.08em;margin-bottom:5px;color:#fff}
.v173-footer .footer-contact-row{display:flex;gap:16px;align-items:baseline}.v173-footer .footer-contact-row strong{min-width:128px}.v173-footer .footer-contact-row a{font-weight:800;color:#fff}
.footer-email{height:70px;border-left:1px solid rgba(255,255,255,.25);border-right:1px solid rgba(255,255,255,.25);display:flex;align-items:center;justify-content:center}
.footer-email a{width:42px;height:42px;display:grid;place-items:center;color:#fff}.footer-email svg{width:34px;height:34px;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round}
.footer-follow{align-self:center}.v173-social{gap:13px;margin-top:8px}.v173-social a{width:39px;height:39px;border:none!important;background:transparent!important}.v173-social svg{width:29px;height:29px}.v173-social a[aria-label="Facebook"] svg{fill:#fff;stroke:none}
.footer-credit{justify-self:end;min-width:255px}.footer-copyright{font-size:12px;letter-spacing:.02em;padding-bottom:12px;border-bottom:1px solid rgba(255,255,255,.28);white-space:nowrap}
.footer-designed{display:flex;align-items:center;justify-content:flex-end;gap:9px;margin-top:10px;font-size:9px;letter-spacing:.04em;opacity:.82}.footer-designed img{width:42px;height:25px;object-fit:contain}
@media(max-width:1000px){.v173-footer-main{grid-template-columns:auto 1fr 80px 160px}.footer-credit{grid-column:1/-1;justify-self:end}.v173-municipalities{gap:24px}.jiretin-name strong{font-size:22px}.jiretin-name span{font-size:18px}}
@media(max-width:700px){.v173-municipalities{grid-template-columns:1fr}.v173-footer-main{display:flex;flex-wrap:wrap;align-items:flex-start}.v173-footer .footer-contact{width:auto;order:2}.footer-email{order:3;width:70px;border-right:0}.footer-follow{order:4}.footer-credit{order:5;width:100%;margin-top:12px}.footer-designed{justify-content:flex-start}.jiretin-clean{justify-content:center}}


/* ===== V17.4 footer + municipality refinements ===== */
.v174-footer{
  background:#0875d1;
  color:#fff;
  padding:34px 5vw 28px;
}
.v174-footer-main{
  width:100%;
  max-width:1780px;
  margin:0 auto;
  display:grid;
  grid-template-columns:90px minmax(370px,1.1fr) minmax(230px,.7fr) minmax(300px,.9fr);
  column-gap:48px;
  align-items:center;
  min-height:112px;
}
.v174-footer .footer-logo{
  width:72px;height:72px;object-fit:contain;
  filter:grayscale(1) brightness(0) invert(1);
}
.v174-footer .footer-contact{margin:0;display:flex;flex-direction:column;gap:8px;font-size:14px}
.v174-footer .footer-contact-title,.v174-footer .footer-follow-title{
  font-size:11px;font-weight:900;letter-spacing:.11em;color:#fff;margin:0 0 7px;
}
.v174-footer .footer-contact-row{display:flex;gap:18px;align-items:center}
.v174-footer .footer-contact-row strong{min-width:132px}
.v174-footer .footer-contact-row a{font-weight:800;color:#fff;display:inline-flex;align-items:center;gap:8px}
.v174-footer .phone-icon{font-size:15px;line-height:1;transform:rotate(-12deg);display:inline-block}

.footer-icons-block{align-self:center}
.footer-icon-row{display:flex;align-items:center;gap:14px}
.footer-icon-row a{
  width:44px;height:44px;border:1px solid rgba(255,255,255,.55);border-radius:50%;
  display:grid;place-items:center;color:#fff;transition:.2s ease;
}
.footer-icon-row a:hover{background:rgba(255,255,255,.12);transform:translateY(-1px)}
.footer-icon-row svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.footer-icon-row .fill-dot{fill:currentColor;stroke:none}
.footer-icon-row .fb{fill:currentColor;stroke:none;width:25px;height:25px}

.v174-footer .footer-credit{justify-self:end;min-width:290px;text-align:right}
.v174-footer .footer-copyright{font-size:11px;letter-spacing:.02em;padding-bottom:10px;border-bottom:1px solid rgba(255,255,255,.28);white-space:nowrap}
.v174-footer .footer-designed{display:flex;align-items:center;justify-content:flex-end;gap:7px;margin-top:8px;font-size:8px;letter-spacing:.04em;opacity:.78}
.v174-footer .footer-designed img{width:30px;height:18px;object-fit:contain}

.jiretin-clean img{background:#fff}

@media(max-width:1100px){
  .v174-footer-main{grid-template-columns:70px 1.2fr .8fr;gap:30px}
  .v174-footer .footer-credit{grid-column:2/4;justify-self:stretch;text-align:right}
}
@media(max-width:720px){
  .v174-footer{padding:34px 7vw}
  .v174-footer-main{display:flex;flex-wrap:wrap;gap:24px 30px;align-items:flex-start}
  .v174-footer .footer-brand{width:60px}
  .v174-footer .footer-contact{flex:1;min-width:250px}
  .v174-footer .footer-contact-row{flex-direction:column;align-items:flex-start;gap:2px}
  .v174-footer .footer-contact-row strong{min-width:0}
  .footer-icons-block{width:100%}
  .v174-footer .footer-credit{width:100%;min-width:0;text-align:left}
  .v174-footer .footer-designed{justify-content:flex-start}
}


/* ===== V17.5 refinements ===== */
.municipality-logo > a,
.municipality-logo.dolni-clean > a,
.municipality-logo.jiretin-clean > a{
  display:flex;
  align-items:center;
  justify-content:center;
  width:100%;
  height:100%;
  color:inherit;
  text-decoration:none;
}
.municipality-logo > a:hover{transform:translateY(-2px);transition:.18s ease}

.v174-footer-main{
  max-width:none;
  grid-template-columns:90px minmax(430px,1.25fr) 220px minmax(300px,.9fr);
  column-gap:48px;
}
.v174-footer .footer-contact{padding-right:0}
.footer-icons-block{
  display:grid;
  grid-template-columns:54px 1fr;
  column-gap:42px;
  align-items:end;
  position:relative;
}
.footer-icons-block .footer-follow-title{
  grid-column:2;
  grid-row:1;
  margin:0 0 8px 0;
  align-self:end;
}
.footer-icon-row{
  grid-column:1 / 3;
  grid-row:2;
  display:grid;
  grid-template-columns:54px 54px 54px;
  gap:16px;
  align-items:center;
}
.footer-icon-row a{
  width:44px;
  height:44px;
}
.footer-icon-row a:first-child{
  margin-right:26px;
}
.v174-footer .footer-designed{
  font-size:9px;
  gap:9px;
}
.v174-footer .footer-designed img{
  width:42px;
  height:25px;
}


/* ===== V17.6 footer layout ===== */
.v174-footer-main{
  display:grid !important;
  grid-template-columns:90px minmax(430px,560px) 54px 1fr minmax(300px,360px) !important;
  column-gap:26px !important;
  align-items:center !important;
  max-width:none !important;
}
.v174-footer .footer-contact{
  grid-column:2;
}
.footer-icons-block{
  display:contents !important;
}
.footer-follow-title{
  grid-column:4 !important;
  grid-row:1 !important;
  align-self:center !important;
  justify-self:center !important;
  margin:0 0 54px 0 !important;
  z-index:2;
}
.footer-icon-row{
  display:contents !important;
}
.footer-icon-row a{
  width:44px !important;height:44px !important;
  border:1px solid rgba(255,255,255,.55) !important;
  border-radius:50% !important;
  display:grid !important;place-items:center !important;
  margin:0 !important;
}
.footer-icon-row a:nth-child(1){
  grid-column:3 !important;
  grid-row:1 !important;
  justify-self:start !important;
}
.footer-icon-row a:nth-child(2){
  grid-column:4 !important;
  grid-row:1 !important;
  justify-self:center !important;
  transform:translateX(-30px);
}
.footer-icon-row a:nth-child(3){
  grid-column:4 !important;
  grid-row:1 !important;
  justify-self:center !important;
  transform:translateX(30px);
}
.v174-footer .footer-credit{
  grid-column:5 !important;
  grid-row:1 !important;
  justify-self:end !important;
}
.v174-footer .footer-designed img{
  width:48px !important;
  height:29px !important;
}


/* ===== V17.7 footer precision layout ===== */
.v174-footer-main{
  display:grid !important;
  grid-template-columns:90px 470px 58px 1fr 340px !important;
  column-gap:18px !important;
  align-items:center !important;
  max-width:none !important;
}
.v174-footer .footer-contact{
  grid-column:2 !important;
  grid-row:1 !important;
  position:relative;
}
.footer-icons-block{display:contents !important;}

.footer-follow-title{
  grid-column:4 !important;
  grid-row:1 !important;
  justify-self:center !important;
  align-self:start !important;
  margin-top:3px !important;
  margin-bottom:0 !important;
  transform:translateY(0) !important;
}
.footer-icon-row{display:contents !important;}

.footer-icon-row a{
  width:44px !important;
  height:44px !important;
  border:1px solid rgba(255,255,255,.55) !important;
  border-radius:50% !important;
  display:grid !important;
  place-items:center !important;
  margin:0 !important;
}

/* Obálka: bezprostředně za telefonními čísly, střed mezi dvěma řádky telefonů */
.footer-icon-row a:nth-child(1){
  grid-column:3 !important;
  grid-row:1 !important;
  justify-self:start !important;
  align-self:center !important;
  transform:translateY(8px) !important;
}

/* IG + FB: stejná výšková osa jako obálka */
.footer-icon-row a:nth-child(2){
  grid-column:4 !important;
  grid-row:1 !important;
  justify-self:center !important;
  align-self:center !important;
  transform:translate(-30px,8px) !important;
}
.footer-icon-row a:nth-child(3){
  grid-column:4 !important;
  grid-row:1 !important;
  justify-self:center !important;
  align-self:center !important;
  transform:translate(30px,8px) !important;
}
.v174-footer .footer-credit{
  grid-column:5 !important;
  grid-row:1 !important;
}

/* Čisté logo Jiřetína */
.municipality-logo.jiretin-clean img{
  width:auto !important;
  max-width:220px !important;
  max-height:145px !important;
  object-fit:contain !important;
  background:transparent !important;
}


/* ===== V17.8 municipality fixes ===== */
.municipality-logo.dolni-clean > a{
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  width:100% !important;
  height:100% !important;
  cursor:pointer !important;
  position:relative !important;
  z-index:5 !important;
}
.municipality-logo.jiretin-clean > a{
  display:flex !important;
  flex-direction:row !important;
  align-items:center !important;
  justify-content:center !important;
  gap:18px !important;
  text-decoration:none !important;
}
.municipality-logo.jiretin-clean img{
  max-width:105px !important;
  max-height:125px !important;
  width:auto !important;
  height:auto !important;
}
.jiretin-name-v178{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  line-height:.98;
  color:#10233f;
  text-align:left;
  white-space:nowrap;
}
.jiretin-name-v178 strong{
  font-size:25px;
  font-weight:900;
  letter-spacing:-.02em;
}
.jiretin-name-v178 span{
  font-size:22px;
  font-weight:900;
  margin-top:4px;
}


/* ===== V17.9 FIX: Dolní Podluží click target ===== */
.municipality-logo.dolni-clean{
  position:relative !important;
  pointer-events:auto !important;
}
.municipality-logo.dolni-clean > a{
  position:relative !important;
  z-index:20 !important;
  display:flex !important;
  width:100% !important;
  height:100% !important;
  pointer-events:auto !important;
  cursor:pointer !important;
}
.municipality-logo.dolni-clean::after{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none !important;
}


.municipality-logo.dolni-clean .dolni-click-overlay{
  position:absolute !important;
  inset:0 !important;
  z-index:999 !important;
  display:block !important;
  width:100% !important;
  height:100% !important;
  cursor:pointer !important;
  background:transparent !important;
  pointer-events:auto !important;
}


/* ===== V18 results navigation ===== */
html { scroll-behavior: smooth; }
#vysledky { scroll-margin-top: 24px; }


/* ===== V18.5 – approved TDJ elevation profile ===== */
.tdj-profile-svg { display:block; width:100%; height:auto; overflow:visible; }
.tdj-profile-grid { stroke:#294a67; stroke-width:1; stroke-dasharray:3 8; opacity:.8; }
.tdj-profile-axis { fill:#9eb4c9; font-size:15px; font-weight:700; }
.tdj-profile-line { fill:none; stroke:#59adf7; stroke-width:7; stroke-linejoin:round; stroke-linecap:round; }
.tdj-profile-area { fill:url(#tdjProfileFill); opacity:.52; }
.tdj-profile-dot { fill:#fff; stroke:#59adf7; stroke-width:5; }
.tdj-profile-label { fill:#fff; font-size:14px; font-weight:900; letter-spacing:.03em; }

/* Route visual cards get a larger canvas on desktop. */
@media (min-width: 1000px) {
  #trasa .container, .route-section .container, .trasa .container {
    width:min(94vw,1680px);
    max-width:1680px;
  }
}


/* v19.26 — Fotogalerie 2026 */
#fotogalerie-2026 .tdj-gallery-main{width:min(1180px,88vw)}
#fotogalerie-2026 .tdj-gallery-hero{display:block;padding:10px 0 52px}
#fotogalerie-2026 .tdj-gallery-hero h1{font-size:clamp(58px,7vw,104px);max-width:900px;margin:0 0 22px}
#fotogalerie-2026 .tdj-gallery-hero p{font-size:20px}
#fotogalerie-2026 .tdj-gallery-content{width:100%;margin:52px 0 0;padding-top:0;border-top:0}
.tdj-2026-slider{position:relative;overflow:hidden;border-radius:22px;background:#eef5fb;aspect-ratio:16/9;box-shadow:0 16px 44px rgba(16,35,61,.08)}
.tdj-2026-slide{position:absolute;inset:0;opacity:0;transition:opacity .8s ease;pointer-events:none}
.tdj-2026-slide.is-active{opacity:1;pointer-events:auto}
.tdj-2026-slide img{width:100%;height:100%;object-fit:cover;display:block}
.tdj-2026-arrow{position:absolute;top:50%;transform:translateY(-50%);z-index:3;width:48px;height:48px;border-radius:50%;border:1px solid rgba(255,255,255,.8);background:rgba(16,35,61,.38);color:#fff;font-size:24px;cursor:pointer;backdrop-filter:blur(4px);transition:.2s}
.tdj-2026-arrow:hover{background:#2476d7}.tdj-2026-prev{left:20px}.tdj-2026-next{right:20px}
.tdj-2026-dots{display:flex;justify-content:center;gap:9px;margin:18px 0 0}.tdj-2026-dot{width:9px;height:9px;border-radius:50%;border:0;background:#c7d7e5;padding:0;cursor:pointer;transition:.2s}.tdj-2026-dot.is-active{background:#2476d7;transform:scale(1.25)}
.tdj-photo-links{margin-top:58px;padding-top:38px;border-top:1px solid #cbddeb}.tdj-photo-links h3{font-size:13px;letter-spacing:.19em;color:#2476d7;margin:0 0 24px;font-weight:900}.tdj-photographer{display:grid;grid-template-columns:220px 1fr;gap:30px;padding:25px 0;border-top:1px solid #e0e9f1}.tdj-photographer:first-of-type{border-top:0}.tdj-photographer strong{font-size:21px}.tdj-album-buttons{display:flex;flex-wrap:wrap;gap:10px}.tdj-album-btn{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:0 18px;border:1px solid #b9cee0;border-radius:999px;font-size:13px;font-weight:900;letter-spacing:.025em;transition:.2s}.tdj-album-btn:hover{background:#2476d7;border-color:#2476d7;color:#fff;transform:translateY(-1px)}
@media(max-width:760px){#fotogalerie-2026 .tdj-gallery-main{width:88vw}.tdj-2026-slider{aspect-ratio:4/3;border-radius:16px}.tdj-2026-arrow{width:40px;height:40px}.tdj-photographer{grid-template-columns:1fr;gap:14px}}




.tdj-new-logo{display:block;width:210px;height:auto;max-height:250px}
.tdj-new-logo path{fill:currentColor}
@media(max-width:900px){.tdj-new-logo{width:150px}}

/* ===== V18.11 — WIDE ROUTE SECTION (MAIN DOCUMENT CSS) ===== */
@media (min-width: 1100px) {
  #trasa {
    width: 100% !important;
    box-sizing: border-box !important;
  }

  #trasa > .v11-wrap.route-grid-v13,
  #trasa .v11-wrap.route-grid-v13 {
    width: min(88vw, 1560px) !important;
    max-width: none !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    display: grid !important;
    grid-template-columns: minmax(430px, 0.9fr) minmax(620px, 1.1fr) !important;
    column-gap: clamp(70px, 7vw, 140px) !important;
    align-items: center !important;
  }

  #trasa .route-copy {
    width: 100% !important;
    max-width: 610px !important;
    margin: 0 !important;
    padding: 0 !important;
    justify-self: start !important;
  }

  #trasa .profile-stage {
    width: 100% !important;
    max-width: 650px !important;
    min-width: 620px !important;
    margin: 0 !important;
    padding: 0 !important;
    justify-self: end !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 24px !important;
  }

  #trasa .route-viz-card,
  #trasa .map-card-v15,
  #trasa .profile-card-v15 {
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    margin: 0 !important;
    box-sizing: border-box !important;
    transform: none !important;
  }

  #trasa #tdj-map-frame {
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    height: 390px !important;
    min-height: 390px !important;
    border: 0 !important;
  }

  #trasa .profile-card-v15 {
    min-height: 310px !important;
  }

  #trasa .profile-card-v15 .tdj-profile-svg,
  #trasa .tdj-profile-svg {
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    height: 280px !important;
    min-height: 280px !important;
    box-sizing: border-box !important;
    padding: 4px 12px 8px !important;
  }
}

@media (min-width: 1500px) {
  #trasa > .v11-wrap.route-grid-v13,
  #trasa .v11-wrap.route-grid-v13 {
    width: min(88vw, 1600px) !important;
    grid-template-columns: minmax(470px, 0.88fr) 650px !important;
  }
  #trasa .profile-stage {
    width: 650px !important;
    min-width: 650px !important;
    max-width: 650px !important;
  }
}


/* ===== V18.11 — PARTNERS HEADINGS ALIGNMENT ===== */
@media (min-width: 900px) {
  /* Upper partner heading follows the same left edge as PARTNEŘI ZÁVODU. */
  #partneri .partners-cities-heading,
  #partneri .partner-cities-heading,
  #partneri .cities-heading,
  #partneri .partners-municipalities-title {
    margin-left: 0 !important;
    padding-left: 0 !important;
  }
}

@media (min-width: 900px) {
  #partneri .v1811-align-heading,
  .v1811-align-heading {
    width: 100% !important;
    max-width: none !important;
    margin-left: 0 !important;
    padding-left: 0 !important;
    transform: none !important;
  }
}




/* v18.12 — partner section alignment fix */
#partneri .partners-group{
  width:100%;
  max-width:none;
}
#partneri .partners-heading-full{
  width:100%;
  margin-left:0 !important;
  margin-right:0 !important;
  transform:none !important;
  padding-left:0 !important;
  padding-right:0 !important;
  text-align:left;
  display:block;
}
#partneri .partners-heading-full::after{
  width:100% !important;
  left:0 !important;
  right:auto !important;
}



/* v18.13 — identical full section rails for both partner headings */
#partneri .partners-heading-rail{
  box-sizing:border-box;
  position:relative;
  left:50%;
  width:calc(100vw - 220px) !important;
  max-width:none !important;
  margin-left:-50vw !important;
  transform:translateX(110px) !important;
  padding:0 0 14px 0 !important;
  text-align:left !important;
  border-bottom:1px solid #dbe5ed !important;
}
@media (max-width:900px){
  #partneri .partners-heading-rail{
    width:calc(100vw - 40px) !important;
    transform:translateX(20px) !important;
  }
}



/* v18.14 — Dolní Podluží: direct HTML link */
#partneri .dolni-podluzi-link{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  position:relative;
  z-index:20;
  pointer-events:auto !important;
  cursor:pointer;
}
#partneri .dolni-podluzi-link img{
  pointer-events:auto !important;
  cursor:pointer;
}



/* ===== V19.2 — interactive Leaflet map + synchronized rider ===== */
#trasa .map-card-v16 { overflow:hidden; }
#tdj-map-v192{
  width:100%;
  height:420px;
  min-height:420px;
  background:#dfe8ef;
  position:relative;
  z-index:1;
}
#trasa .map-card-v16{min-height:468px!important}
#tdj-map-v192.leaflet-container{font-family:Inter,Arial,sans-serif}
#tdj-map-v192 .leaflet-control-zoom{
  display:block!important;
  border:0!important;
  box-shadow:0 4px 16px rgba(7,29,51,.18)!important;
}
#tdj-map-v192 .leaflet-control-zoom a{
  color:#10233d!important;
  background:#fff!important;
}
#tdj-map-v192 .leaflet-control-attribution{
  font-size:9px!important;
  background:rgba(255,255,255,.86)!important;
  color:#536b80!important;
}
#tdj-map-v192 .leaflet-control-attribution a{color:#0875d1!important}
#tdj-map-v192 .tdj-map-label-v192{
  background:#071d33!important;
  border:1px solid rgba(99,181,255,.55)!important;
  color:#fff!important;
  border-radius:7px!important;
  box-shadow:none!important;
  padding:4px 7px!important;
  font-size:9px!important;
  font-weight:900!important;
  letter-spacing:.04em!important;
  white-space:nowrap;
}
#tdj-map-v192 .tdj-map-label-v192:before{display:none!important}
.tdj-rider-v192{
  width:16px!important;height:16px!important;
  margin-left:-8px!important;margin-top:-8px!important;
  border-radius:50%;
  background:#fff;
  border:4px solid #0875d1;
  box-shadow:0 0 0 5px rgba(8,117,209,.18),0 0 16px rgba(8,117,209,.75);
}
@media(max-width:900px){
  #tdj-map-v192{height:330px;min-height:330px}
  #trasa .map-card-v16{min-height:378px!important}
}



.tdj-prop-wrap{margin-top:34px}
.tdj-prop-btn{display:inline-flex;align-items:center;gap:12px;padding:15px 22px;border:1.5px solid #0875d1;border-radius:4px;color:#0875d1;font-size:13px;font-weight:900;letter-spacing:.08em;text-transform:uppercase;transition:.2s;background:#fff}
.tdj-prop-btn:hover{background:#0875d1;color:#fff;transform:translateY(-1px)}
.tdj-prop-page{position:fixed;inset:0;z-index:1000;background:#fff;overflow:auto;display:none}
.tdj-prop-page.is-open{display:block}
.tdj-prop-top{position:sticky;top:0;z-index:2;height:76px;background:#fff;border-bottom:1px solid #dce8f2;display:flex;align-items:center;justify-content:space-between;padding:0 max(5vw,28px)}
.tdj-prop-back{border:0;background:none;color:#10233d;font-weight:900;letter-spacing:.08em;cursor:pointer;font-size:13px}
.tdj-prop-main{max-width:1220px;margin:0 auto;padding:80px 40px 110px}
.tdj-prop-kicker{color:#0875d1;font-weight:900;letter-spacing:.18em;font-size:12px}
.tdj-prop-main h1{font-size:clamp(54px,7vw,104px);line-height:.9;letter-spacing:-.055em;margin:18px 0 22px}
.tdj-prop-lead{max-width:780px;font-size:20px;line-height:1.6;color:#60748b;margin-bottom:58px}
.tdj-prop-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.tdj-prop-card{border-top:1px solid #cbddeb;padding:28px 0 30px}
.tdj-prop-card h2{font-size:13px;letter-spacing:.14em;margin:0 0 20px;color:#0875d1}
.tdj-prop-card p,.tdj-prop-card li{font-size:16px;line-height:1.65;color:#334b63}
.tdj-prop-card strong{color:#10233d}
.tdj-prop-card ul{padding-left:20px;margin:0}
.tdj-prop-wide{grid-column:1/-1}
.tdj-prop-cats{columns:2;column-gap:50px}
@media(max-width:760px){.tdj-prop-main{padding:55px 24px 80px}.tdj-prop-grid{grid-template-columns:1fr}.tdj-prop-wide{grid-column:auto}.tdj-prop-cats{columns:1}}



/* V19.5 – sjednocený minimalistický design podstránek */
.tdj-prop-main{max-width:1220px!important}
.tdj-prop-lead{margin-bottom:38px!important}
.tdj-prop-quick{
  display:grid;grid-template-columns:repeat(4,1fr);
  border-top:1px solid #cbddeb;border-bottom:1px solid #cbddeb;
  margin:0 0 64px;
}
.tdj-prop-quick-item{padding:22px 26px 20px 0;position:relative}
.tdj-prop-quick-item:not(:last-child):after{
  content:"";position:absolute;right:20px;top:18px;bottom:18px;width:1px;background:#cbddeb;
}
.tdj-prop-quick strong{
  display:block;color:#10233d;font-size:25px;line-height:1;font-weight:900;letter-spacing:-.02em;
}
.tdj-prop-quick span{
  display:block;color:#8193a6;font-size:10px;font-weight:900;letter-spacing:.14em;text-transform:uppercase;margin-top:8px;
}
.tdj-prop-organizers{
  display:grid;grid-template-columns:180px 1fr 1fr;align-items:center;
  border-top:1px solid #cbddeb;border-bottom:1px solid #cbddeb;
  margin-top:18px;
}
.tdj-prop-organizers .label{
  color:#0875d1;font-size:12px;font-weight:900;letter-spacing:.14em;padding:28px 24px 28px 0;
}
.tdj-prop-person{padding:25px 30px;position:relative}
.tdj-prop-person + .tdj-prop-person:before{
  content:"";position:absolute;left:0;top:20px;bottom:20px;width:1px;background:#cbddeb;
}
.tdj-prop-person strong{
  display:block;color:#10233d;font-size:20px;font-weight:900;letter-spacing:-.015em;
}
.tdj-prop-person span{
  display:block;color:#8193a6;font-size:11px;font-weight:800;letter-spacing:.09em;text-transform:uppercase;margin-top:5px;
}
@media(max-width:760px){
  .tdj-prop-quick{grid-template-columns:repeat(2,1fr)}
  .tdj-prop-quick-item:nth-child(2):after{display:none}
  .tdj-prop-organizers{grid-template-columns:1fr}
  .tdj-prop-organizers .label{padding-bottom:8px}
  .tdj-prop-person{padding:16px 0}
  .tdj-prop-person + .tdj-prop-person:before{display:none}
}



/* V19.8 – čistý hero podstránky, bez překrývání a bez absolutního pozicování */
.tdj-prop-page{scroll-padding-top:76px}
.tdj-prop-main{padding-top:0!important}
.tdj-prop-hero{
  display:grid;
  grid-template-columns:minmax(300px,.9fr) minmax(430px,1.1fr);
  gap:72px;
  align-items:center;
  min-height:430px;
  padding:62px 0 58px;
  margin:0;
  border-bottom:1px solid #cbddeb;
  overflow:visible;
}
.tdj-prop-watermark{
  position:static;
  align-self:center;
  justify-self:center;
  margin:0;
  transform:none;
  font-size:clamp(180px,17vw,275px);
  line-height:.72;
  font-weight:950;
  letter-spacing:-.09em;
  color:#eaf5ff;
  user-select:none;
  pointer-events:none;
  white-space:nowrap;
}
.tdj-prop-hero-copy{
  position:static;
  max-width:650px;
  align-self:center;
}
.tdj-prop-hero .tdj-prop-kicker{margin:0 0 20px}
.tdj-prop-hero h1{
  font-size:clamp(62px,6.1vw,94px);
  line-height:.88;
  letter-spacing:-.055em;
  margin:0 0 26px;
  color:#10233d;
}
.tdj-prop-hero .tdj-prop-lead{
  max-width:620px;
  margin:0!important;
  font-size:18px;
  line-height:1.6;
}
.tdj-prop-quick{margin:0 0 66px!important;border-top:0!important}
.tdj-prop-quick-item{padding-top:25px!important;padding-bottom:25px!important}
@media(max-width:900px){
  .tdj-prop-hero{grid-template-columns:1fr;gap:28px;min-height:auto;padding:48px 0 42px}
  .tdj-prop-watermark{justify-self:start;font-size:clamp(120px,31vw,190px)}
  .tdj-prop-hero h1{font-size:clamp(54px,14vw,78px)}
  .tdj-prop-hero .tdj-prop-lead{font-size:16px}
}



/* V19.9 – hero starts physically below the subpage navigation */
.tdj-prop-page{scroll-padding-top:0!important;}
.tdj-prop-top{position:relative!important;top:auto!important;z-index:3!important;}
.tdj-prop-main{padding-top:0!important;}
.tdj-prop-hero{
  min-height:460px!important;
  padding:72px 0 64px!important;
  align-items:center!important;
  overflow:visible!important;
}
.tdj-prop-watermark,.tdj-prop-hero-copy{align-self:center!important;}
.tdj-prop-hero h1{overflow:visible!important;}
@media(max-width:900px){.tdj-prop-hero{min-height:auto!important;padding:52px 0 46px!important;}}



.tdj-help{padding:105px 6vw;background:#f5faff;border-top:1px solid #d8e8f4}.tdj-hi{max-width:1220px;margin:auto}.tdj-k{font:900 11px Inter,Arial;letter-spacing:.17em;color:#0875d1}.tdj-hg{display:grid;grid-template-columns:1fr 1fr;gap:70px;align-items:end;margin-top:28px}.tdj-hg h2{margin:0;font-size:clamp(58px,7vw,104px);line-height:.88;letter-spacing:-.055em;color:#10233d}.tdj-hc p{font-size:18px;line-height:1.65;color:#5f7388}.tdj-hc strong{color:#10233d}.tdj-hl{display:inline-flex;gap:12px;margin-top:12px;color:#0875d1;font-size:12px;font-weight:900;letter-spacing:.1em;text-decoration:none}
.tdj-story{position:fixed;inset:0;z-index:9000;background:#fff;overflow:auto;display:none}.tdj-story.open{display:block}.tdj-st{position:sticky;top:0;z-index:3;height:76px;background:#fff;border-bottom:1px solid #d8e8f4;display:flex;align-items:center;justify-content:space-between;padding:0 5vw}.tdj-st button{border:0;background:none;font-size:12px;font-weight:900;letter-spacing:.1em;color:#10233d}.tdj-sm{max-width:1220px;margin:auto;padding:75px 40px 110px}.tdj-sh{display:grid;grid-template-columns:.8fr 1.2fr;gap:55px;align-items:center;border-bottom:1px solid #cbddeb;padding-bottom:60px}.tdj-mark{font-size:clamp(110px,15vw,220px);line-height:.75;font-weight:900;letter-spacing:-.08em;color:#d8edfb}.tdj-sh h1{font-size:clamp(56px,7vw,100px);line-height:.88;letter-spacing:-.055em;color:#10233d;margin:18px 0 24px}.tdj-lead{font-size:19px;line-height:1.65;color:#60748b}.tdj-sb{max-width:900px;margin:65px auto 0}.tdj-sb section{padding:38px 0;border-top:1px solid #cbddeb}.tdj-sb h2{font-size:12px;letter-spacing:.15em;color:#0875d1}.tdj-sb p{font-size:17px;line-height:1.75;color:#425a71}.tdj-amt{font-size:clamp(72px,11vw,150px);line-height:.9;font-weight:900;letter-spacing:-.06em;color:#0875d1;margin:38px 0}.tdj-amt span{font-size:.23em}.tdj-thanks{display:block;font-size:clamp(25px,3vw,40px);line-height:1.08;color:#10233d;margin-top:30px}
@media(max-width:800px){.tdj-help{padding:70px 24px}.tdj-hg,.tdj-sh{grid-template-columns:1fr;gap:30px}.tdj-sm{padding:50px 24px 80px}.tdj-mark{font-size:110px}}



.tdj-story{position:fixed!important;inset:0!important;z-index:9000!important;display:none;overflow-y:auto!important;overflow-x:hidden!important;background:#fff!important}
.tdj-story.open{display:block!important}
.tdj-story .tdj-st{position:relative!important;inset:auto!important;transform:none!important;width:100%!important;height:78px!important;min-height:78px!important;margin:0!important;padding:0 5.5vw!important;box-sizing:border-box!important;display:flex!important;align-items:center!important;justify-content:space-between!important;background:#fff!important;border-bottom:1px solid #d6e5f0!important;z-index:2!important}
.tdj-story .tdj-st *{position:relative!important;inset:auto!important;transform:none!important}
.tdj-story .tdj-sm{position:relative!important;inset:auto!important;transform:none!important;width:min(1120px,calc(100% - 64px))!important;max-width:1120px!important;margin:0 auto!important;padding:64px 0 110px!important;box-sizing:border-box!important;overflow:visible!important}
.tdj-story .tdj-sh{position:relative!important;inset:auto!important;transform:none!important;display:grid!important;grid-template-columns:36% 64%!important;gap:52px!important;align-items:center!important;width:100%!important;min-height:360px!important;height:auto!important;margin:0!important;padding:12px 0 64px!important;box-sizing:border-box!important;overflow:visible!important;border-bottom:1px solid #cbddea!important}
.tdj-story .tdj-mark{position:relative!important;inset:auto!important;transform:none!important;z-index:0!important;display:block!important;margin:0!important;padding:0!important;font-size:clamp(145px,14vw,215px)!important;line-height:.78!important;font-weight:950!important;letter-spacing:-.08em!important;color:#e6f3fc!important;opacity:1!important;white-space:nowrap!important}
.tdj-story .tdj-sh>div:not(.tdj-mark){position:relative!important;inset:auto!important;transform:none!important;z-index:1!important;width:auto!important;max-width:none!important;margin:0!important;padding:0!important}
.tdj-story .tdj-sh h1{position:relative!important;inset:auto!important;transform:none!important;margin:14px 0 22px!important;padding:0!important;font-size:clamp(58px,5.8vw,88px)!important;line-height:.9!important;letter-spacing:-.055em!important;color:#10233d!important;overflow:visible!important}
.tdj-story .tdj-sh p{position:relative!important;inset:auto!important;transform:none!important;margin:0!important;max-width:700px!important;font-size:18px!important;line-height:1.55!important}
.tdj-story .tdj-body,.tdj-story .tdj-story-body{position:relative!important;inset:auto!important;transform:none!important;margin-top:64px!important}
.tdj-story .tdj-amt{position:relative!important;inset:auto!important;transform:none!important;display:flex!important;align-items:flex-end!important;gap:24px!important;flex-wrap:nowrap!important;margin:42px 0 34px!important;color:#3478d4!important;font-size:clamp(76px,10vw,146px)!important;line-height:.86!important;font-weight:950!important;letter-spacing:-.055em!important}
.tdj-story .tdj-amt span{display:block!important;margin:0 0 .10em!important;font-size:.25em!important;line-height:1!important;letter-spacing:.02em!important;white-space:nowrap!important}
.tdj-story .tdj-breakdown{display:grid!important;gap:14px!important;max-width:720px!important;margin:0 0 42px!important}
.tdj-story .tdj-breakdown>div{display:grid!important;grid-template-columns:150px minmax(0,1fr)!important;column-gap:38px!important;align-items:baseline!important}
.tdj-story .tdj-breakdown strong{display:block!important;white-space:nowrap!important;font-size:16px!important;line-height:1.4!important;font-weight:900!important;color:#10233d!important}
.tdj-story .tdj-breakdown span{display:block!important;font-size:16px!important;line-height:1.45!important;color:#425a71!important}
@media(max-width:800px){.tdj-story .tdj-st{height:68px!important;min-height:68px!important;padding:0 22px!important}.tdj-story .tdj-sm{width:calc(100% - 40px)!important;padding:38px 0 80px!important}.tdj-story .tdj-sh{grid-template-columns:1fr!important;gap:22px!important;min-height:0!important;padding:0 0 44px!important}.tdj-story .tdj-mark{font-size:clamp(105px,31vw,155px)!important}.tdj-story .tdj-sh h1{font-size:clamp(48px,13vw,72px)!important}.tdj-story .tdj-amt{gap:14px!important}.tdj-story .tdj-breakdown>div{grid-template-columns:118px minmax(0,1fr)!important;column-gap:20px!important}}



.tdj-history-page{display:none;position:fixed;inset:0;z-index:9500;background:#fff;color:#10233d;overflow-y:auto;overflow-x:hidden}
.tdj-history-page:target{display:block}
.tdj-history-top{height:78px;padding:0 5.5vw;box-sizing:border-box;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #d6e5f0;background:#fff;font-size:13px;font-weight:900;letter-spacing:.06em}
.tdj-history-top a{color:#10233d;text-decoration:none}
.tdj-history-main{width:min(1120px,calc(100% - 64px));margin:0 auto;padding:64px 0 110px}
.tdj-history-hero{display:grid;grid-template-columns:36% 64%;gap:52px;align-items:center;min-height:420px;padding:12px 0 72px;border-bottom:1px solid #cbddea}
.tdj-history-mark{font-size:clamp(145px,14vw,215px);line-height:.78;font-weight:950;letter-spacing:-.08em;color:#e6f3fc;white-space:nowrap}
.tdj-history-kicker{font-size:13px;line-height:1.2;font-weight:900;letter-spacing:.18em;color:#0879df;text-transform:uppercase}
.tdj-history-intro h1,.tdj-history-lead h2,.tdj-history-copy h2,.tdj-history-closing h2{margin:16px 0 24px;font-weight:950;letter-spacing:-.055em;line-height:.9;color:#10233d}
.tdj-history-intro h1{font-size:clamp(62px,6.3vw,96px)}
.tdj-history-intro p{max-width:690px;margin:0;font-size:19px;line-height:1.6;color:#526b82}
.tdj-history-lead{display:grid;grid-template-columns:30% 70%;gap:68px;padding:84px 0;border-bottom:1px solid #cbddea}
.tdj-history-year{font-size:clamp(100px,11vw,170px);line-height:.8;font-weight:950;letter-spacing:-.08em;color:#e6f3fc}
.tdj-history-lead h2,.tdj-history-copy h2,.tdj-history-closing h2{font-size:clamp(48px,5vw,76px)}
.tdj-history-lead p,.tdj-history-copy p,.tdj-history-closing p{font-size:18px;line-height:1.7;color:#526b82}
.tdj-history-facts{display:grid;grid-template-columns:repeat(4,1fr);border-bottom:1px solid #cbddea;padding:34px 0}
.tdj-history-facts>div{padding:0 26px;border-right:1px solid #cbddea}
.tdj-history-facts>div:first-child{padding-left:0}.tdj-history-facts>div:last-child{border-right:0}
.tdj-history-facts strong{display:block;font-size:30px;line-height:1;font-weight:950;letter-spacing:-.03em}
.tdj-history-facts span{display:block;margin-top:9px;font-size:10px;font-weight:900;letter-spacing:.16em;color:#70869a}
.tdj-history-copy{padding:84px 0;border-bottom:1px solid #cbddea}
.tdj-history-columns{display:grid;grid-template-columns:1fr 1fr;gap:54px}
.tdj-history-columns p{margin:0}
.tdj-history-closing{padding:84px 0 20px}
.tdj-history-closing p{max-width:650px}
@media(max-width:800px){
 .tdj-history-top{height:68px;padding:0 22px;font-size:11px}
 .tdj-history-main{width:calc(100% - 40px);padding:38px 0 80px}
 .tdj-history-hero,.tdj-history-lead{grid-template-columns:1fr;gap:24px;min-height:0;padding:0 0 48px}
 .tdj-history-mark{font-size:clamp(105px,31vw,155px)}
 .tdj-history-intro h1{font-size:clamp(50px,14vw,74px)}
 .tdj-history-lead{padding-top:54px}
 .tdj-history-year{font-size:110px}
 .tdj-history-facts{grid-template-columns:1fr 1fr}
 .tdj-history-facts>div{padding:22px 14px;border-bottom:1px solid #cbddea}
 .tdj-history-facts>div:nth-child(2){border-right:0}
 .tdj-history-columns{grid-template-columns:1fr;gap:18px}
 .tdj-history-copy,.tdj-history-closing{padding:56px 0}
}



.tdj-story .tdj-story-photo{position:relative!important;inset:auto!important;transform:none!important;margin:0 0 64px!important;padding:0!important;overflow:hidden!important;border-radius:22px!important;background:#eef5fa!important}
.tdj-story .tdj-story-photo img{display:block!important;width:100%!important;height:100%!important;object-fit:cover!important}
.tdj-story .tdj-story-photo-wide{width:100%!important;aspect-ratio:16/8.7!important}
.tdj-story .tdj-story-photo-wide img{object-position:center 48%!important}
.tdj-story .tdj-story-photo-portrait{width:min(620px,72%)!important;aspect-ratio:4/5!important;margin-left:auto!important;margin-right:auto!important}
.tdj-story .tdj-story-photo-portrait img{object-position:center!important}
@media(max-width:800px){.tdj-story .tdj-story-photo{margin-bottom:42px!important;border-radius:14px!important}.tdj-story .tdj-story-photo-portrait{width:100%!important}}



.tdj-story .tdj-bottom-nav{
  width:min(1120px,calc(100% - 48px));
  margin:80px auto 0;
  padding:34px 0 54px;
  border-top:1px solid #cbdce9;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:28px;
}
.tdj-story .tdj-bottom-nav a{
  position:relative!important;
  inset:auto!important;
  transform:none!important;
  margin:0!important;
  font-size:13px!important;
  line-height:1.2!important;
  font-weight:800!important;
  letter-spacing:.08em!important;
  text-decoration:none!important;
  color:#10243f!important;
  white-space:nowrap;
}
.tdj-story .tdj-bottom-nav a:hover{
  color:#1673d1!important;
}
@media(max-width:700px){
  .tdj-story .tdj-bottom-nav{
    width:calc(100% - 36px);
    margin-top:56px;
    padding:28px 0 38px;
    flex-direction:column;
    align-items:flex-start;
    gap:20px;
  }
}



.tdj-story .tdj-bottom-nav button,
.tdj-prop-bottom-nav button{
  appearance:none!important;
  -webkit-appearance:none!important;
  border:0!important;
  background:transparent!important;
  padding:0!important;
  margin:0!important;
  font:inherit!important;
  cursor:pointer!important;
  color:#10243f!important;
  font-size:13px!important;
  line-height:1.2!important;
  font-weight:800!important;
  letter-spacing:.08em!important;
  text-decoration:none!important;
}
.tdj-story .tdj-bottom-nav button:hover,
.tdj-prop-bottom-nav button:hover{color:#1673d1!important}

.tdj-prop-bottom-nav{
  width:100%;
  margin:72px auto 0;
  padding:32px 0 50px;
  border-top:1px solid #cbdce9;
  display:flex;
  justify-content:flex-start;
  align-items:center;
}
@media(max-width:700px){
  .tdj-prop-bottom-nav{margin-top:52px;padding:26px 0 36px}
}



/* V19.19 – výraznější CTA Propozice */
#openPropozice{
  margin-top:24px!important;
  background:#f5c744!important;
  border-color:#f5c744!important;
  color:#10243f!important;
  transition:
    background-color .22s ease,
    border-color .22s ease,
    color .22s ease,
    transform .22s ease,
    box-shadow .22s ease!important;
}
#openPropozice:hover{
  background:#10243f!important;
  border-color:#10243f!important;
  color:#ffffff!important;
  transform:translateY(-2px)!important;
  box-shadow:0 8px 20px rgba(16,36,63,.14)!important;
}
#openPropozice:active{
  transform:translateY(0)!important;
  box-shadow:none!important;
}



.tdj-history-bottom-nav{
  margin-top:64px;
  padding:32px 0 12px;
  border-top:1px solid #cbddea;
}
.tdj-history-bottom-nav a{
  color:#10233d;
  text-decoration:none;
  font-size:13px;
  font-weight:900;
  letter-spacing:.06em;
}
.tdj-history-bottom-nav a:hover,
.tdj-history-back:hover{color:#1673d1}



/* V19.27 – Fotogalerie 2026: kompaktnější hero + embedded fotografie */
#fotogalerie-2026 .tdj-gallery-hero{
    padding:10px 0 38px;
}
#fotogalerie-2026 .tdj-gallery-hero h1{
    font-size:clamp(50px,5.6vw,82px);
    line-height:.92;
    max-width:860px;
    margin:0 0 22px;
    letter-spacing:-.035em;
}
#fotogalerie-2026 .tdj-gallery-hero p{
    font-size:18px;
    line-height:1.55;
    margin:0;
}
#fotogalerie-2026 .tdj-gallery-content{
    margin:36px 0 0;
}
@media(max-width:760px){
    #fotogalerie-2026 .tdj-gallery-hero h1{
        font-size:clamp(42px,12vw,60px);
    }
    #fotogalerie-2026 .tdj-gallery-hero p{
        font-size:16px;
    }
}



/* V19.29 — partner logos: preserve original proportions, no crop, no distortion */
#partneri .race-partners .partner-grid{
  display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr));
  gap:18px;
  align-items:stretch;
}
#partneri .partner-logo-card{
  min-width:0;
  height:150px;
  padding:22px 20px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:#fff;
  border:1px solid rgba(16,35,61,.09);
  border-radius:18px;
  box-shadow:0 10px 30px rgba(16,35,61,.055);
  overflow:hidden;
  font-size:0;
}
#partneri .partner-logo-card img{
  display:block;
  width:auto;
  height:auto;
  max-width:100%;
  max-height:100%;
  object-fit:contain;
  object-position:center;
}
@media(max-width:980px){
  #partneri .race-partners .partner-grid{grid-template-columns:repeat(3,minmax(0,1fr));}
}
@media(max-width:620px){
  #partneri .race-partners .partner-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;}
  #partneri .partner-logo-card{height:118px;padding:16px 14px;border-radius:14px;}
}



/* V19.30 — sjednocení TDJ watermarku: Propozice + Pomáháme */
.tdj-story .tdj-sh .tdj-mark{
  color:#eaf5ff !important;
  text-shadow:none !important;
  filter:none !important;
  opacity:1 !important;
}



/* V19.31 — interakce odkazu ZPĚT NA POMÁHÁME */
.tdj-story .story-back,
.tdj-story a.story-back{
  display:inline-flex;
  align-items:center;
  transition:color .18s ease, transform .18s ease, opacity .18s ease;
}
.tdj-story .story-back:hover,
.tdj-story a.story-back:hover{
  color:#0072e5 !important;
  transform:translateX(-4px);
}
.tdj-story .story-back:focus-visible,
.tdj-story a.story-back:focus-visible{
  color:#0072e5 !important;
  outline:2px solid #0072e5;
  outline-offset:5px;
}



/* V19.32 — oprava skutečných horních tlačítek ZPĚT NA POMÁHÁME */
.tdj-story .tdj-st button{
  cursor:pointer;
  transition:color .18s ease, transform .18s ease, opacity .18s ease !important;
}
.tdj-story .tdj-st button:hover{
  color:#0875d1 !important;
  transform:translateX(-4px);
}
.tdj-story .tdj-st button:focus-visible{
  color:#0875d1 !important;
  outline:2px solid #0875d1;
  outline-offset:5px;
}



/* ===== V20 full-width navy footer ===== */
.tdj-footer-v20{background:#061b31;color:#fff;padding:0 5vw;font-family:inherit}
.tdj-footer-v20 a{color:#fff;text-decoration:none}
.footer-v20-top{width:100%;display:grid;grid-template-columns:minmax(180px,.7fr) minmax(430px,1.35fr) minmax(260px,.8fr);gap:6vw;align-items:center;padding:48px 0 42px}
.footer-v20-brand{display:flex;align-items:center;justify-content:flex-start;min-height:120px}
.footer-v20-brand img{display:block;width:min(180px,70%);height:auto;max-height:125px;object-fit:contain;filter:grayscale(1) brightness(0) invert(1)}
.footer-v20-contact,.footer-v20-social{align-self:stretch;display:flex;flex-direction:column;justify-content:center}
.footer-v20-title{font-size:12px;font-weight:900;letter-spacing:.15em;color:#f4c84b;margin-bottom:12px}
.footer-v20-rule{height:1px;background:rgba(255,255,255,.22);width:100%;margin-bottom:16px}
.footer-v20-person{display:grid;grid-template-columns:minmax(150px,1fr) minmax(150px,1fr);gap:28px;align-items:center;padding:6px 0;font-size:14px}
.footer-v20-person strong{font-weight:800}.footer-v20-person a{font-weight:650;opacity:.92;transition:.18s ease}.footer-v20-person a:hover,.footer-v20-mail:hover{color:#f4c84b}
.footer-v20-mail{display:inline-flex;align-items:center;gap:9px;width:max-content;margin-top:12px;font-size:13px;font-weight:750;opacity:.95;transition:.18s ease}
.footer-v20-mail span{font-size:15px}
.footer-v20-social-row{display:flex;gap:14px;align-items:center;padding-top:2px}
.footer-v20-social-row a{width:48px;height:48px;border:1px solid rgba(255,255,255,.48);border-radius:50%;display:grid;place-items:center;transition:.2s ease}
.footer-v20-social-row a:hover{border-color:#f4c84b;color:#f4c84b;transform:translateY(-2px)}
.footer-v20-social-row svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.footer-v20-social-row .fill-dot{fill:currentColor;stroke:none}.footer-v20-social-row .fb{fill:currentColor;stroke:none;width:25px;height:25px}
.footer-v20-bottom{width:100%;border-top:1px solid rgba(255,255,255,.22);min-height:70px;display:flex;align-items:center;justify-content:space-between;gap:30px;padding:14px 0 16px}
.footer-v20-copyright{font-size:11px;letter-spacing:.035em;opacity:.8}.footer-v20-designed{display:flex;align-items:center;gap:9px;font-size:8px;letter-spacing:.06em;opacity:.82}.footer-v20-designed img{width:58px;height:34px;object-fit:contain;filter:grayscale(1) brightness(0) invert(1)}
@media(max-width:900px){.footer-v20-top{grid-template-columns:150px 1fr;gap:32px 42px}.footer-v20-social{grid-column:2}.footer-v20-brand{grid-row:1/3}.footer-v20-person{grid-template-columns:1fr 1fr}}
@media(max-width:620px){.tdj-footer-v20{padding:0 7vw}.footer-v20-top{display:flex;flex-direction:column;align-items:stretch;padding:38px 0 30px;gap:28px}.footer-v20-brand{min-height:0}.footer-v20-brand img{width:120px}.footer-v20-person{grid-template-columns:1fr;gap:2px;padding:7px 0}.footer-v20-bottom{align-items:flex-end}.footer-v20-designed img{width:50px}}



/* ===== TDJ V20.2 — final footer layout ===== */
.tdj-footer-v20{
  background:#071f35 !important;
  color:#fff;
  width:100%;
  padding:0 !important;
}
.footer-v20-top{
  width:100% !important;
  max-width:none !important;
  margin:0 !important;
  box-sizing:border-box;
  padding:48px clamp(42px,5.5vw,110px) 42px !important;
  display:grid !important;
  grid-template-columns:minmax(115px,.55fr) minmax(390px,1.65fr) minmax(240px,.9fr) minmax(340px,1.35fr) !important;
  column-gap:clamp(42px,5vw,105px) !important;
  align-items:center !important;
}
.footer-v20-brand{
  display:flex !important;
  align-items:center;
  justify-content:flex-start;
}
.footer-v20-brand img{
  width:105px !important;
  height:auto !important;
  filter:invert(1) brightness(2) !important;
  opacity:1 !important;
}
.footer-v20-title{
  color:#f5c532 !important;
  font-size:13px !important;
  font-weight:900 !important;
  letter-spacing:.08em !important;
  margin:0 0 10px !important;
}
.footer-v20-rule{
  height:1px !important;
  width:100% !important;
  background:rgba(255,255,255,.22) !important;
  margin:0 0 14px !important;
}
.footer-v20-contact,
.footer-v20-social{
  width:100% !important;
  min-width:0;
}
.footer-v20-person{
  display:grid !important;
  grid-template-columns:minmax(145px,1fr) minmax(195px,1fr) 36px !important;
  gap:14px !important;
  align-items:center !important;
  padding:7px 0 !important;
}
.footer-v20-person strong{
  white-space:nowrap;
  font-size:14px;
}
.footer-v20-phone{
  display:inline-flex !important;
  align-items:center;
  gap:9px;
  color:#fff !important;
  text-decoration:none !important;
  white-space:nowrap;
  font-size:14px;
  font-weight:700;
  transition:color .18s ease,opacity .18s ease;
}
.footer-v20-email-icon{
  width:34px !important;
  height:34px !important;
  display:grid !important;
  place-items:center;
  justify-self:end;
  color:#fff !important;
  text-decoration:none !important;
  border:0 !important;
  border-radius:50%;
  transition:color .18s ease,transform .18s ease;
}
.footer-v20-phone:hover,
.footer-v20-email-icon:hover{
  color:#f5c532 !important;
}
.footer-v20-email-icon:hover{transform:translateY(-1px)}
.footer-v20-phone svg,
.footer-v20-email-icon svg{
  width:17px !important;
  height:17px !important;
  fill:none !important;
  stroke:currentColor !important;
  stroke-width:2 !important;
  stroke-linecap:round;
  stroke-linejoin:round;
}
.footer-v20-social{
  align-self:center;
}
.footer-v20-social-row{
  display:flex !important;
  gap:14px !important;
  align-items:center !important;
}
.footer-v20-social-row a{
  width:42px !important;
  height:42px !important;
  display:grid !important;
  place-items:center;
  border:1px solid rgba(255,255,255,.42) !important;
  border-radius:50% !important;
  color:#fff !important;
  transition:border-color .18s ease,color .18s ease,transform .18s ease;
}
.footer-v20-social-row a:hover{
  color:#f5c532 !important;
  border-color:#f5c532 !important;
  transform:translateY(-1px);
}

/* Pravá část – zachovává charakter původního modrého návrhu:
   copyright nad linkou, DESIGNED BY + bílé JL logo pod ní. */
.footer-v20-bottom{
  width:100% !important;
  min-width:0;
  display:flex !important;
  flex-direction:column !important;
  align-items:stretch !important;
  justify-content:center !important;
  align-self:center !important;
  gap:0 !important;
  padding:0 !important;
  margin:0 !important;
  border:0 !important;
}
.footer-v20-copyright{
  font-size:12px !important;
  color:#fff !important;
  text-align:right !important;
  padding:0 0 15px !important;
  white-space:nowrap;
}
.footer-v20-bottom::after{
  content:"";
  display:block;
  width:100%;
  height:1px;
  background:rgba(255,255,255,.25);
  order:2;
}
.footer-v20-copyright{order:1}
.footer-v20-designed{
  order:3;
  display:flex !important;
  align-items:center !important;
  justify-content:flex-end !important;
  gap:18px !important;
  padding-top:14px !important;
  color:#fff !important;
  font-size:10px !important;
  letter-spacing:.02em;
}
.footer-v20-designed img{
  width:48px !important;
  height:28px !important;
  object-fit:contain !important;
  filter:grayscale(1) brightness(0) invert(1) !important;
  opacity:.95 !important;
}

/* Odstranění případného starého samostatného mailu */
.footer-v20-mail{display:none !important}

@media(max-width:1150px){
  .footer-v20-top{
    grid-template-columns:110px minmax(350px,1.6fr) minmax(220px,.9fr) minmax(300px,1.2fr) !important;
    column-gap:34px !important;
    padding-left:38px !important;
    padding-right:38px !important;
  }
}
@media(max-width:900px){
  .footer-v20-top{
    grid-template-columns:100px 1fr 1fr !important;
    row-gap:34px !important;
  }
  .footer-v20-bottom{
    grid-column:1 / -1 !important;
    width:min(520px,100%) !important;
    justify-self:end !important;
  }
}
@media(max-width:680px){
  .footer-v20-top{
    grid-template-columns:1fr !important;
    padding:38px 28px 34px !important;
    row-gap:28px !important;
  }
  .footer-v20-brand img{width:90px !important}
  .footer-v20-person{
    grid-template-columns:minmax(125px,1fr) minmax(180px,1fr) 34px !important;
    gap:10px !important;
  }
  .footer-v20-bottom{
    grid-column:auto !important;
    width:100% !important;
  }
}
@media(max-width:480px){
  .footer-v20-person{
    grid-template-columns:1fr auto !important;
  }
  .footer-v20-person strong{grid-column:1 / -1}
  .footer-v20-phone{grid-column:1}
  .footer-v20-email-icon{grid-column:2;grid-row:2}
  .footer-v20-copyright{text-align:left !important}
  .footer-v20-designed{justify-content:flex-start !important}
}



/* V20.3 — footer on one common horizontal axis */
.footer-v20-top{
  align-items:start !important;
}
.footer-v20-brand,
.footer-v20-contact,
.footer-v20-social,
.footer-v20-bottom{
  align-self:start !important;
  margin-top:0 !important;
}

/* Logo has no heading, so center it optically against the contact content. */
.footer-v20-brand{
  padding-top:18px !important;
}

/* All three information zones start at exactly the same Y position. */
.footer-v20-contact,
.footer-v20-social,
.footer-v20-bottom{
  padding-top:0 !important;
}

/* Right-hand block keeps the approved composition:
   copyright / separator / DESIGNED BY + white logo. */
.footer-v20-copyright{
  min-height:18px !important;
  display:flex !important;
  align-items:center !important;
  justify-content:flex-end !important;
  padding:0 0 10px !important;
  margin:0 !important;
}
.footer-v20-bottom::after{
  margin:0 !important;
}
.footer-v20-designed{
  padding-top:14px !important;
  margin:0 !important;
}

/* Contact and social headings/lines share the same geometry. */
.footer-v20-title{
  min-height:18px !important;
  display:flex !important;
  align-items:center !important;
}
.footer-v20-rule{
  margin-top:0 !important;
}

@media(max-width:900px){
  .footer-v20-brand{padding-top:18px !important}
}
@media(max-width:680px){
  .footer-v20-brand{padding-top:0 !important}
  .footer-v20-bottom{margin-top:4px !important}
  .footer-v20-copyright{justify-content:flex-start !important}
}



/* V20.5 — sjednocené akcenty, rekord historie a širší galerie */
:root{--tdj-accent:#f2c247;}
.route-stats-v13 .route-stat b{color:var(--tdj-accent)!important;}
.tdj-history-record{padding:58px 0 52px;border-bottom:1px solid #cbddea;display:grid;grid-template-columns:minmax(220px,.55fr) 1fr;grid-template-rows:auto auto;column-gap:58px;align-items:end;}
.tdj-history-record strong{grid-row:1/3;font-size:clamp(72px,9vw,132px);line-height:.8;font-weight:950;letter-spacing:-.065em;color:var(--tdj-accent);}
.tdj-history-record span{font-size:13px;font-weight:900;letter-spacing:.17em;color:#10233d;}
.tdj-history-record small{margin-top:10px;font-size:17px;font-weight:800;color:#526b82;}
#fotogalerie-2026 .tdj-gallery-main{width:min(1380px,90vw);}
#fotogalerie-2026 .tdj-gallery-content{width:100%;max-width:none;}
#fotogalerie-2026 .tdj-2026-slider{width:100%;}
@media(max-width:760px){.tdj-history-record{grid-template-columns:1fr;gap:12px;padding:42px 0}.tdj-history-record strong{grid-row:auto}.tdj-history-record small{margin-top:0}#fotogalerie-2026 .tdj-gallery-main{width:88vw;}}



/* V20.5 correction — gallery slider uses full width of the gallery content container */
#fotogalerie-2026 .tdj-gallery-main { width: min(1380px, 90vw) !important; max-width: none !important; }
#fotogalerie-2026 .tdj-gallery-content { width: 100% !important; max-width: none !important; margin-left: 0 !important; margin-right: 0 !important; }
#fotogalerie-2026 .tdj-2026-slider { width: 100% !important; max-width: none !important; margin-left: 0 !important; margin-right: 0 !important; }
@media (max-width:760px){#fotogalerie-2026 .tdj-gallery-main{width:88vw !important;}}



/* V20.5 final: slider exactly follows the full main content width (same edges as section rules). */
#fotogalerie-2026 .tdj-gallery-main{width:min(1120px,86vw) !important;max-width:none !important;}
#fotogalerie-2026 .tdj-gallery-content{width:100% !important;max-width:none !important;margin:52px 0 0 !important;padding:0 !important;}
#fotogalerie-2026 .tdj-2026-slider{display:block !important;width:100% !important;max-width:none !important;margin:0 !important;}
#fotogalerie-2026 .tdj-photo-links{width:100% !important;max-width:none !important;}
@media(max-width:760px){#fotogalerie-2026 .tdj-gallery-main{width:88vw !important;}}



.tdj-gallery-page{display:none;position:fixed;inset:0;z-index:9600;background:#fff;color:#10233d;overflow-y:auto;overflow-x:hidden}
.tdj-gallery-page:target{display:block}
.tdj-gallery-top{height:154px;padding:0 clamp(28px,6vw,100px);display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #d8e5ef;font-size:14px;font-weight:900;letter-spacing:.035em;background:#fff}
.tdj-gallery-top a{transition:color .2s}.tdj-gallery-top a:hover{color:#0875d1}
.tdj-gallery-main{width:min(1120px,86vw);margin:0 auto;padding:82px 0 90px}
.tdj-gallery-hero{display:grid;grid-template-columns:.9fr 1.15fr;gap:64px;align-items:center;padding-bottom:68px;border-bottom:1px solid #cbddeb}
.tdj-gallery-mark{font-size:clamp(110px,16vw,230px);font-weight:950;letter-spacing:-.09em;color:#eaf5ff;line-height:.8;user-select:none}
.tdj-gallery-kicker{font-size:13px;font-weight:900;letter-spacing:.19em;color:#2476d7;margin-bottom:22px}
.tdj-gallery-hero h1{font-size:clamp(58px,6vw,96px);line-height:.88;letter-spacing:-.055em;margin:0 0 24px;font-weight:950}
.tdj-gallery-hero p{font-size:19px;line-height:1.55;color:#64758c;margin:0;max-width:700px}
.tdj-gallery-content{width:min(900px,92%);margin:64px auto 0;padding-top:44px;border-top:1px solid #cbddeb}
.tdj-gallery-content h2{font-size:clamp(34px,4vw,58px);line-height:.95;letter-spacing:-.035em;margin:0 0 24px;font-weight:950}
.tdj-gallery-content p{font-size:17px;line-height:1.7;color:#53677f;max-width:760px}
.tdj-gallery-placeholder{margin-top:34px;padding:34px 38px;border:1px solid #cbddeb;border-radius:18px;background:#f8fbfe;display:flex;justify-content:space-between;gap:24px;align-items:center}
.tdj-gallery-placeholder strong{font-size:18px}.tdj-gallery-placeholder span{color:#6b7d91;font-size:15px}
.tdj-gallery-bottom{margin-top:90px;padding-top:28px;border-top:1px solid #cbddeb;display:flex;justify-content:space-between;font-size:14px;font-weight:900;letter-spacing:.035em}
.tdj-gallery-bottom a:hover{color:#0875d1}
@media(max-width:760px){.tdj-gallery-top{height:110px;padding:0 22px;font-size:12px}.tdj-gallery-main{width:88vw;padding-top:52px}.tdj-gallery-hero{grid-template-columns:1fr;gap:22px}.tdj-gallery-mark{font-size:120px}.tdj-gallery-hero h1{font-size:54px}.tdj-gallery-content{width:100%}.tdj-gallery-placeholder{align-items:flex-start;flex-direction:column}.tdj-gallery-bottom{gap:24px;flex-direction:column}}
