/*
Theme Name: Běh s čelovkou Teplice
Theme URI: https://wordpress.org/
Author: Běh s čelovkou Teplice
Description: Jednostránková šablona pro benefiční Běh s čelovkou Teplice 2026.
Version: 1.7
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: bsc-teplice
*/
:root{--bg:#050505;--yellow:#f4e343;--white:#f7f7f2;--muted:#bdbdb8}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:76px}body{margin:0;background:var(--bg);color:var(--white);font-family:Arial,Helvetica,sans-serif;line-height:1.65}a{color:inherit;text-decoration:none}.nav{height:76px;position:sticky;top:0;z-index:20;display:flex;align-items:center;justify-content:space-between;padding:0 max(5%,calc((100vw - 1200px)/2));background:#050505e8;backdrop-filter:blur(16px);border-bottom:1px solid #242424}.brand{font-weight:900;letter-spacing:.08em}.brand span{color:var(--yellow)}nav{display:flex;gap:28px}nav a{font-size:14px;transition:color .2s}nav a:hover,footer a:hover{color:var(--yellow)}.mobile-menu{display:none}.hero{position:relative;min-height:760px;display:flex;align-items:end;justify-content:center;text-align:center;padding:70px 20px 90px;overflow:hidden}.hero-art{position:absolute;inset:0 0 20%;background:url('assets/teplice-noc.png') center top/contain no-repeat;animation:appear 1.6s ease both;opacity:.9}.hero:after{content:"";position:absolute;inset:25% 0 0;background:linear-gradient(transparent 20%,#050505 88%);pointer-events:none}.hero-content{z-index:1;position:relative;max-width:850px}.eyebrow{font-size:13px;letter-spacing:.18em;color:var(--yellow);font-weight:700}h1,h2,h3{line-height:1.12;letter-spacing:-.045em}h1{font-size:clamp(48px,7.2vw,102px);margin:20px 0}h2{font-size:clamp(38px,5vw,68px);margin:20px 0 26px}h3{font-size:30px}em{font-style:normal;color:var(--yellow)}p{color:#d2d2cf;font-size:17px}.hero p{max-width:580px;margin:0 auto 30px}.btn{display:inline-block;background:var(--yellow);color:#090909;padding:16px 27px;border-radius:50px;font-weight:800;letter-spacing:.03em;transition:transform .25s,box-shadow .25s;border:0}.btn:hover{transform:translateY(-4px);box-shadow:0 0 35px #f4e34355}.section{padding:110px 24px;scroll-margin-top:70px}.alt{background:#111}.wrap{max-width:1160px;margin:auto}.narrow{max-width:800px}.split{display:grid;grid-template-columns:1.3fr .7fr;gap:80px;align-items:center}.muted{font-size:14px;color:#999}.form-placeholder,.story{background:#171717;border:1px solid #343434;border-radius:22px;padding:36px;margin-top:36px}.form-preview{display:grid;gap:16px;opacity:.65}.form-preview label{display:grid;gap:6px;font-size:14px}.form-preview input{background:#242424;border:1px solid #444;border-radius:8px;padding:15px;color:#fff}.form-preview .btn{cursor:not-allowed}.qr-placeholder{min-height:310px;border:2px dashed #555;border-radius:24px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:12px;text-align:center;padding:25px}.qr-symbol{font-size:100px;line-height:1;color:var(--yellow)}.qr-placeholder small{color:#999}.cards{display:grid;grid-template-columns:1fr 1fr;gap:22px;margin-top:30px}.story{margin-top:0;min-height:350px}.story-index{font-size:12px;letter-spacing:.15em;color:var(--yellow)}details summary{cursor:pointer;color:var(--yellow);font-weight:700}details p{padding-top:12px}.archive{margin-top:36px}.archive details{border-bottom:1px solid #444;padding:24px 10px}.archive summary{color:white;font-size:22px;display:flex;align-items:center;gap:35px;list-style:none}.archive summary::-webkit-details-marker{display:none}.archive summary b{color:var(--yellow)}.archive summary span{margin-left:auto;color:var(--yellow)}footer{padding:42px 6%;border-top:1px solid #333;display:flex;justify-content:space-between;gap:20px;font-size:12px;letter-spacing:.08em}footer p{font-size:12px}.reveal{opacity:0;transform:translateY(28px);transition:opacity .7s,transform .7s}.reveal.visible{opacity:1;transform:none}@keyframes appear{from{opacity:0;transform:translateY(-15px)}to{opacity:.9;transform:none}}@media(max-width:750px){.nav{padding:0 20px}.mobile-menu{display:block;background:none;color:#fff;border:0;font-size:26px}nav{display:none;position:absolute;top:76px;left:0;right:0;padding:20px;background:#111;flex-direction:column}nav.open{display:flex}.hero{min-height:690px;padding-bottom:80px}.hero-art{background-size:160% auto;background-position:center 25px}.section{padding:75px 20px}.split,.cards{grid-template-columns:1fr;gap:20px}.form-placeholder,.story{padding:24px}footer{flex-direction:column}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{animation:none!important;transition:none!important}.reveal{opacity:1;transform:none}}

/* Aktualizace 2026: nové logo, pozvánka a platební QR */
.nav .brand{display:flex;align-items:center;flex:0 0 auto}.nav .brand img{width:146px;height:62px;object-fit:contain;object-position:left center;display:block}.nav{height:88px}html{scroll-padding-top:88px}.hero{min-height:unset;display:block;padding:36px 20px 105px}.hero-visual{max-width:1280px;margin:0 auto 35px;position:relative;overflow:hidden;border-radius:16px}.hero-visual img{display:block;width:100%;height:auto;animation:heroEnter 1s ease both}.hero:after{display:none}.hero-content{margin:0 auto}.hero h1{font-size:clamp(46px,7vw,94px)}.hero-visual:after{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(110deg,transparent 65%,rgba(250,218,32,.09));animation:lightSweep 6s ease-in-out infinite alternate}.qr-panel{background:#fff;border-radius:20px;padding:18px;display:flex;flex-direction:column;align-items:center;gap:12px;max-width:410px;margin:auto;box-shadow:0 0 48px rgba(244,227,67,.12)}.qr-panel img{display:block;width:100%;height:auto;aspect-ratio:1;object-fit:contain}.qr-panel span{color:#171717;font-weight:900;letter-spacing:.11em;font-size:13px}.form-embed-slot{border:1px dashed #696969;border-radius:14px;padding:35px 20px;text-align:center}.form-embed-slot iframe{width:100%;border:0;min-height:850px;background:#fff;border-radius:10px}.form-embed-slot .btn{margin-top:12px}.hero-visual img{will-change:transform}@keyframes heroEnter{from{opacity:.3;transform:scale(1.035)}to{opacity:1;transform:scale(1)}}@keyframes lightSweep{from{opacity:.15}to{opacity:.75}}@media(max-width:750px){.nav{height:78px}.nav .brand img{width:110px;height:58px}nav{top:78px}.hero{padding:20px 12px 75px}.hero-visual{border-radius:8px;margin-bottom:35px}.hero-content{padding:0 8px}.qr-panel{max-width:340px}.form-embed-slot{padding:16px 8px}}

/* Větší vizuální odstup nad hlavním sloganem */
.hero-visual{margin-bottom:clamp(64px,7vw,112px)}
.hero-content{padding-top:8px}
@media(max-width:750px){.hero-visual{margin-bottom:58px}.hero-content{padding-top:0}}

/* WordPress theme refinements */
body.admin-bar .nav{top:32px}.hero-visual{margin-bottom:78px}.hero-content{padding-top:14px}.form-embed-slot iframe{min-height:1050px}@media(max-width:782px){body.admin-bar .nav{top:46px}}@media(max-width:750px){.hero-visual{margin-bottom:65px}}

/* 2026-10-31: Hero text and CTA above illustration */
.hero{display:flex;flex-direction:column;align-items:center;gap:0;padding-top:clamp(42px,6vw,86px)}
.hero-content{order:1;padding:0 14px;margin:0 auto clamp(44px,6vw,88px)}
.hero-visual{order:2;width:100%;margin:0 auto;max-width:1280px}
.hero .btn{margin-top:4px}
.form-placeholder{padding:clamp(14px,3vw,30px)}
.form-embed-slot{border:0;padding:0;text-align:initial}
.form-embed-slot iframe{display:block;width:100%;height:1120px;min-height:850px;border:0;background:#fff;border-radius:12px}
.form-fallback{text-align:center;font-size:14px;margin:18px 0 0}
.form-fallback a{color:var(--yellow);text-decoration:underline}
@media(max-width:750px){.hero{padding-top:38px}.hero-content{margin-bottom:44px}.form-embed-slot iframe{height:1250px}.form-placeholder{padding:10px}}

/* Hero update: larger event date, narrower invitation illustration */
.hero .hero-date{display:block;font-size:clamp(20px,2.8vw,34px);line-height:1.3;letter-spacing:.085em;font-weight:900;color:var(--yellow);margin:0 auto 18px}
.hero .hero-content{max-width:850px}
.hero .hero-content p{max-width:760px;font-size:clamp(17px,1.7vw,21px);line-height:1.65;margin:0 auto 30px}
.hero .hero-content p strong{color:var(--white);font-weight:800}
.hero .hero-visual{max-width:960px;width:100%;margin:0 auto}
@media(max-width:750px){.hero .hero-date{font-size:clamp(18px,5.5vw,25px);letter-spacing:.045em}.hero .hero-visual{max-width:100%}.hero .hero-content{margin-bottom:38px}}

/* v1.3 – kompaktní hero: obrázek nahoře, pod ním datum, text a CTA */
.hero{display:flex;flex-direction:column;align-items:center;min-height:0;padding:clamp(12px,2vw,26px) 16px 58px;gap:0}
.hero .hero-visual{order:1;width:min(100%,720px);max-width:720px;margin:0 auto 14px;border-radius:10px}
.hero .hero-visual img{width:100%;height:auto;display:block}
.hero .hero-content{order:2;width:100%;max-width:850px;margin:0 auto;padding:0 8px}
.hero .hero-date{font-size:clamp(20px,2.5vw,30px);margin:0 auto 8px;line-height:1.2}
.hero h1{font-size:clamp(35px,5.3vw,66px);margin:8px 0 12px;line-height:1.07}
.hero .hero-content p{font-size:clamp(15px,1.4vw,18px);line-height:1.48;max-width:730px;margin:0 auto 18px}
.hero .btn{margin-top:0;padding:13px 23px}
@media(max-width:750px){
 .hero{padding:8px 12px 42px}
 .hero .hero-visual{width:100%;max-width:440px;margin-bottom:12px;border-radius:5px}
 .hero .hero-content{margin:0 auto;padding:0 4px}
 .hero .hero-date{font-size:clamp(18px,5vw,23px);margin-bottom:7px}
 .hero h1{font-size:clamp(34px,9vw,49px);margin:6px 0 10px}
 .hero .hero-content p{font-size:15px;line-height:1.43;margin-bottom:15px}
 .hero .btn{padding:12px 20px;font-size:13px}
}

/* v1.4 – větší odstup ilustrace od textu, menší mezera před registrací */
.hero .hero-visual{margin-bottom:clamp(30px,3.8vw,48px)}
.hero{padding-bottom:24px}
#registrace{padding-top:clamp(42px,5vw,66px)}
@media(max-width:750px){
 .hero .hero-visual{margin-bottom:26px}
 .hero{padding-bottom:14px}
 #registrace{padding-top:38px}
}

/* v1.5 – dvě responzivní interaktivní mapy tras */
#trasy{padding-top:clamp(44px,5vw,72px);padding-bottom:clamp(44px,5vw,72px)}
#trasy .routes-intro{max-width:720px;margin:0 0 28px;color:var(--muted,#b7b7b7)}
.route-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}
.route-card{min-width:0;background:rgba(255,255,255,.035);border:1px solid rgba(255,255,255,.14);border-radius:16px;padding:18px}
.route-card h3{margin:0 0 14px;font-size:clamp(21px,2.3vw,28px)}
.route-map{width:100%;aspect-ratio:4/3;min-height:280px;overflow:hidden;border-radius:10px;background:#eee}
.route-map iframe{display:block;width:100%;height:100%;border:0}
.route-link{display:inline-block;margin-top:14px;color:#ffd447;font-weight:700;text-decoration:underline;text-underline-offset:4px}
.route-link:hover,.route-link:focus-visible{color:#fff}
@media(max-width:760px){.route-grid{grid-template-columns:1fr;gap:18px}.route-card{padding:12px}.route-map{aspect-ratio:4/3;min-height:260px}}

/* v1.7 – spravovatelná registrace / stav Již brzy */
.bsc-registration-soon{background:#111;border:1px solid rgba(255,212,71,.42);border-radius:18px;padding:clamp(28px,5vw,60px) 22px;text-align:center;margin:28px auto 0;max-width:820px}
.bsc-registration-soon .bsc-soon-icon{display:block;color:#ffd447;font-size:36px;margin-bottom:14px}
.bsc-registration-soon h3{font-size:clamp(25px,4vw,42px);line-height:1.2;color:#ffd447;margin:0 0 18px;font-weight:800}
.bsc-registration-soon p{color:#eee;max-width:550px;margin:0 auto 24px;line-height:1.7}
.bsc-soon-date{display:inline-block;background:#ffd447;color:#111;border-radius:999px;padding:12px 24px;font-size:13px;letter-spacing:.06em;font-weight:800}
