/*
Theme Name: Hasiči Žamberk MASTER
Theme URI: https://hasicizamberk.cz
Author: SDH & JSDH Žamberk
Description: Vlastní WordPress šablona podle schváleného master vzoru.
Version: 1.4.0
Text Domain: hasici-zamberk
*/
:root{--red:#a80f14;--red2:#8f090d;--ink:#101113;--muted:#57595d;--line:#e8e8e8;--soft:#f6f6f6;--max:1440px}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:Arial,Helvetica,sans-serif;color:var(--ink);background:#fff}a{text-decoration:none;color:inherit}img{max-width:100%;display:block}
.shell{width:min(var(--max),calc(100% - 72px));margin:auto}

/* header */
.header{height:104px;background:#fff;display:flex;align-items:center}.header-in{display:flex;align-items:center;justify-content:space-between;gap:28px}
.brand{display:flex;align-items:center;gap:16px;min-width:300px}.crest{width:82px;height:88px;object-fit:contain}.brand-copy b{display:block;font-size:24px;line-height:.95;font-weight:900}.brand-copy strong{display:block;color:var(--red);font-size:29px;line-height:1.02;margin-top:3px;font-weight:900}.brand-copy small{display:block;font-size:10px;letter-spacing:.08em;margin-top:7px}
.nav{display:flex;align-items:center;gap:30px}.nav ul{display:flex;gap:31px;align-items:center;list-style:none;margin:0;padding:0}.nav a{font-size:12px;font-weight:800;text-transform:uppercase;position:relative}.nav a:hover:after,.nav .current-menu-item>a:after{content:"";position:absolute;height:2px;background:var(--red);left:0;right:0;bottom:-15px}.social{display:flex;gap:18px;font-weight:900}.contact-btn{background:var(--red);color:#fff!important;padding:14px 19px;border-radius:4px;text-transform:none!important}.contact-btn:after{display:none!important}

/* hero */
.hero{height:610px;position:relative;overflow:hidden;background:#eee}
.hero-bg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center}
.hero:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(255,255,255,.98) 0%,rgba(255,255,255,.95) 25%,rgba(255,255,255,.78) 38%,rgba(255,255,255,.12) 59%,rgba(255,255,255,0) 72%)}
.hero-in{height:100%;display:flex;align-items:center;position:relative;z-index:2}.hero-copy{width:510px}
.since{color:var(--red);font-size:12px;font-weight:900;letter-spacing:.04em;text-transform:uppercase;margin-bottom:28px;display:flex;align-items:center;gap:10px}.since:before{content:"";width:26px;height:2px;background:var(--red)}
.hero h1{font-size:66px;line-height:.98;margin:0 0 27px;font-weight:900;letter-spacing:-.035em}.hero h1 span{color:var(--red)}
.hero p{font-size:17px;line-height:1.5;max-width:390px;margin:0 0 34px}.actions{display:flex;gap:22px}.btn{display:inline-block;padding:17px 28px;border-radius:4px;border:1px solid var(--red);font-size:12px;font-weight:900;text-transform:uppercase}.btn.primary{background:var(--red);color:#fff}.btn.ghost{color:var(--red);background:rgba(255,255,255,.7)}

/* benefits */
.benefits{padding:35px 0 33px}.benefit-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:34px}.benefit{display:grid;grid-template-columns:54px 1fr;gap:15px}.ico{width:48px;height:48px;border:2px solid var(--red);border-radius:50%;display:grid;place-items:center;color:var(--red);font-weight:900}.benefit b{font-size:13px;text-transform:uppercase}.benefit p{font-size:12px;line-height:1.55;color:#3f4144;margin:7px 0 0}

/* split cards */
.dual{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-bottom:34px}.split{height:340px;display:grid;grid-template-columns:1.1fr .82fr;background:var(--soft);border-radius:12px;overflow:hidden}.split.reverse{grid-template-columns:1.1fr .82fr}.split img{width:100%;height:100%;object-fit:cover;}.split:first-child img{object-fit:contain;padding:40px;border-radius:52px;}.split:nth-child(2) img{object-fit:contain;padding:0;border-radius:12px 0 0 12px;}.split-copy{padding:42px 34px}.label{font-size:11px;color:var(--red);font-weight:900;text-transform:uppercase}.split h2{font-size:27px;margin:12px 0 17px}.redline{width:34px;height:2px;background:var(--red);margin-bottom:16px}.split p{font-size:13px;line-height:1.55;color:#3d3f42}.mini-btn{display:inline-block;background:var(--red);color:#fff;border-radius:4px;padding:12px 18px;font-size:11px;font-weight:900;text-transform:uppercase;margin-top:8px}

/* news */
.section-head{display:flex;align-items:flex-end;justify-content:space-between;margin:28px 0 16px}.section-head h2{font-size:22px;margin:0}.section-head h2:after{content:"";display:block;width:32px;height:2px;background:var(--red);margin-top:9px}.section-head a{color:var(--red);font-size:11px;font-weight:900;text-transform:uppercase}
.news-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:38px;align-items:start};.news{border:1px solid #e3e3e3;border-radius:7px;background:#fff;box-shadow:0 4px 12px rgba(0,0,0,.05)}.news img{width:100%;height:210px;object-fit:contain;object-position:center bottom;display:block;border-radius:7px 7px 0 0}.news-body{padding:18px 20px 20px}.date{font-size:10px;color:var(--red);font-weight:900}.news h3{font-size:17px;margin:5px 0 6px}.news p{font-size:12px;color:#555;line-height:1.45;margin:0 0 12px}.more{font-size:10px;color:var(--red);font-weight:900;text-transform:uppercase}

/* lower promos */
.promos{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin:28px 0 26px}.promo{height:215px;display:grid;grid-template-columns:1.1fr .9fr;background:var(--soft);border-radius:12px;overflow:hidden}.promo img{width:100%;height:100%;object-fit:cover}.promo-copy{padding:30px 28px 20px;display:flex;flex-direction:column;box-sizing:border-box;min-width:0}.promo h3{font-size:22px;margin:8px 0 12px}.promo p{font-size:12px;line-height:1.5;color:#444;margin:0 0 8px}.promo .more{margin-top:auto;font-size:12px;line-height:1.2}

/* stats */
.stats{border-top:1px solid var(--line);padding:24px 0}.stats-grid{display:grid;grid-template-columns:repeat(5,1fr)}.stat{display:grid;grid-template-columns:44px 1fr;align-items:center;padding:0 25px;border-right:1px solid #ddd}.stat:last-child{border:0}.stat-ico{color:var(--red);font-size:25px}.stat b{font-size:25px}.stat span{display:block;color:#555;font-size:10px;margin-top:3px}

/* footer */
.footer{background:linear-gradient(90deg,#7e090d,#b31319);color:#fff;padding:35px 0 20px}.foot-grid{display:grid;grid-template-columns:1.5fr 1fr .8fr;gap:55px}.foot-brand{display:flex;gap:18px}.foot-brand img{width:72px;height:82px;object-fit:contain}.foot-brand strong{font-size:16px}.foot-brand p,.footer a{font-size:11px;line-height:1.7;color:#fff}.footer h4{font-size:10px;text-transform:uppercase;margin:0 0 12px}.foot-links{display:grid;grid-template-columns:1fr 1fr}.foot-social{display:flex;gap:18px;font-size:22px}.copyright{border-top:1px solid rgba(255,255,255,.18);margin-top:25px;padding-top:14px;font-size:9px;display:flex;justify-content:space-between}

@media(max-width:1050px){.shell{width:min(var(--max),calc(100% - 36px))}.header{height:auto;padding:14px 0}.nav ul{gap:15px}.contact-btn{display:none}.hero{height:560px}.dual,.promos{grid-template-columns:1fr}.news-grid{gap:16px}.benefit-grid{grid-template-columns:1fr 1fr}.stats-grid{grid-template-columns:repeat(3,1fr);row-gap:25px}}
@media(max-width:760px){.brand{min-width:0}.brand-copy b{font-size:17px}.brand-copy strong{font-size:20px}.crest{width:55px;height:62px}.nav{overflow:auto}.nav ul{white-space:nowrap}.social{display:none}.hero{height:600px}.hero:after{background:rgba(255,255,255,.82)}.hero-copy{width:100%;max-width:480px}.hero h1{font-size:54px}.benefit-grid,.news-grid{grid-template-columns:1fr}.split,.split.reverse,.promo{height:auto;grid-template-columns:1fr}.split img,.promo img{height:240px}.stats-grid{grid-template-columns:1fr 1fr}.foot-grid{grid-template-columns:1fr}.copyright{gap:20px}.actions{flex-wrap:wrap}}

/* ===== HASICSKE MUZEUM ===== */
.hz-page-muzeum,.museum-page{background:#fff;color:#171717;overflow:hidden}.hz-page-muzeum img,.museum-page img{display:block;max-width:100%;height:auto}.hz-page-muzeum .shell,.museum-page .shell{width:min(1200px,calc(100% - 40px));margin-left:auto;margin-right:auto}.museum-hero{min-height:520px;position:relative;background-size:cover;background-position:center;display:flex;align-items:center}.museum-hero-overlay{position:absolute;inset:0;background:linear-gradient(90deg,rgba(0,0,0,.82) 0%,rgba(0,0,0,.55) 45%,rgba(0,0,0,.12) 100%)}.museum-hero-content{position:relative;z-index:2;color:#fff;width:min(1200px,calc(100% - 40px));margin:auto}.museum-kicker,.museum-label{font-size:12px;font-weight:800;letter-spacing:1.6px;text-transform:uppercase;color:#b40000}.museum-hero .museum-kicker{color:#fff;margin-bottom:16px}.museum-hero h1{font-size:58px;line-height:1;margin:0 0 22px;font-weight:900;letter-spacing:-1px}.museum-hero h1 span{color:#d00000}.museum-hero p{font-size:17px;line-height:1.6;max-width:570px;margin:0 0 28px;color:#f1f1f1}.museum-lead{display:grid;grid-template-columns:1.05fr .95fr;gap:60px;align-items:center;padding-top:80px;padding-bottom:80px}.museum-lead h2,.museum-support-copy h2,.museum-space-copy h2,.museum-thanks h2,.museum-year-round h2,.museum-opening h2{font-size:34px;line-height:1.15;margin:10px 0 16px}.museum-lead p,.museum-support-copy p,.museum-story p,.museum-space-copy p,.museum-thanks p,.museum-year-round p,.museum-opening p{font-size:15px;line-height:1.7;color:#444}.museum-perex{font-size:17px!important;font-weight:600;color:#222!important}.museum-lead-image img,.museum-support-photo img,.museum-space-photo img,.museum-opening-photo img{width:100%;height:420px;object-fit:cover;border-radius:10px}.museum-support-section{background:#f4f4f4;padding:80px 0}.museum-support-grid{display:grid;grid-template-columns:1fr 1fr;gap:60px;align-items:center}.museum-big-number{margin-top:28px;padding-top:22px;border-top:1px solid #ccc;display:flex;align-items:baseline;gap:18px}.museum-big-number strong{font-size:38px;line-height:1;color:#b40000}.museum-big-number span{font-size:12px;text-transform:uppercase;letter-spacing:1px;font-weight:700;color:#555}.museum-story{padding-top:65px;padding-bottom:65px}.museum-story-text{max-width:900px;margin:auto;text-align:center}.museum-story-text p{font-size:17px;line-height:1.8;color:#333}.museum-space{background:#181818;color:#fff;padding:80px 0}.museum-space-grid{display:grid;grid-template-columns:.9fr 1.1fr;gap:60px;align-items:center}.museum-space-copy h2{color:#fff}.museum-space-copy p{color:#d0d0d0}.museum-space .redline{background:#d00000}.museum-space .museum-big-number{border-color:#444}.museum-space .museum-big-number span{color:#bbb}.museum-thanks{padding-top:80px;padding-bottom:80px}.museum-thanks p{max-width:900px}.museum-wide-photo{height:480px;position:relative;overflow:hidden}.museum-wide-photo>img{width:100%;height:100%;object-fit:cover}.museum-wide-photo:after{content:"";position:absolute;inset:0;background:linear-gradient(0deg,rgba(0,0,0,.58),transparent 55%)}.museum-wide-caption{position:absolute;z-index:2;left:max(calc((100% - 1200px)/2),20px);bottom:42px;color:#fff;display:flex;flex-direction:column}.museum-wide-caption strong{font-size:54px;line-height:1;font-weight:900}.museum-wide-caption span{font-size:15px;text-transform:uppercase;letter-spacing:1.5px;margin-top:8px}.museum-year-round{padding-top:80px;padding-bottom:80px}.museum-columns{display:grid;grid-template-columns:1fr 1fr;gap:60px;max-width:1000px}.museum-opening{background:#970000;color:#fff;padding:80px 0}.museum-opening-grid{display:grid;grid-template-columns:1.05fr .95fr;gap:60px;align-items:center}.museum-opening h2{color:#fff;font-size:38px}.museum-opening p{color:#f4dddd}.museum-label-light{color:#fff}.museum-opening .redline{background:#fff}.museum-final{font-size:17px!important;color:#fff!important;margin-top:28px}.museum-author{margin-top:32px;padding-top:20px;border-top:1px solid rgba(255,255,255,.3);display:flex;flex-direction:column}.museum-author strong{font-size:15px}.museum-author span{font-size:12px;margin-top:4px;color:#efcccc}@media(max-width:900px){.museum-hero{min-height:460px}.museum-hero h1{font-size:44px}.museum-lead,.museum-support-grid,.museum-space-grid,.museum-opening-grid{grid-template-columns:1fr;gap:35px}.museum-lead,.museum-support-section,.museum-space,.museum-thanks,.museum-year-round,.museum-opening{padding-top:55px;padding-bottom:55px}.museum-lead-image img,.museum-support-photo img,.museum-space-photo img,.museum-opening-photo img{height:auto;max-height:450px}.museum-columns{grid-template-columns:1fr;gap:10px}.museum-wide-photo{height:380px}}@media(max-width:600px){.hz-page-muzeum .shell,.museum-page .shell,.museum-hero-content{width:calc(100% - 30px)}.museum-hero{min-height:400px}.museum-hero h1{font-size:36px}.museum-hero p{font-size:14px}.museum-lead h2,.museum-support-copy h2,.museum-space-copy h2,.museum-thanks h2,.museum-year-round h2,.museum-opening h2{font-size:27px}.museum-big-number{display:block}.museum-big-number span{display:block;margin-top:9px}.museum-wide-caption strong{font-size:40px}}
.museum-story{padding-top:50px;padding-bottom:50px}.museum-story-text{max-width:850px}.museum-wide-caption{bottom:70px}.museum-wide-caption strong{font-size:58px;line-height:1.05}.museum-wide-caption span{margin-top:10px}.museum-thanks{padding-top:75px;padding-bottom:75px}.museum-year-round{padding-top:75px;padding-bottom:75px}

/* ===== MLADI HASICI ===== */
.youth-page{background:#fff;color:#171717}.youth-page img{display:block;max-width:100%}.youth-hero{height:570px;position:relative;background-size:cover;background-position:center 42%;display:flex;align-items:center}.youth-hero-overlay{position:absolute;inset:0;background:linear-gradient(90deg,rgba(0,0,0,.82) 0%,rgba(0,0,0,.54) 47%,rgba(0,0,0,.1) 100%)}.youth-hero-content{position:relative;z-index:2;color:#fff;width:100%}.youth-kicker,.youth-label{font-size:12px;font-weight:800;letter-spacing:1.6px;text-transform:uppercase;color:#c90000}.youth-hero .youth-kicker{color:#fff;margin-bottom:16px}.youth-hero h1{font-size:68px;line-height:.9;margin:0 0 24px;font-weight:900;letter-spacing:-2px}.youth-hero h1 span{color:#e00000}.youth-hero p{font-size:17px;line-height:1.65;max-width:600px;margin:0 0 28px;color:#f1f1f1}.youth-intro{display:grid;grid-template-columns:1.05fr .95fr;gap:70px;align-items:center;padding-top:90px;padding-bottom:90px}.youth-intro h2,.youth-activities h2,.youth-more h2,.youth-skills h2,.youth-success h2,.youth-info h2,.youth-join h2{font-size:36px;line-height:1.12;margin:10px 0 16px}.youth-intro p,.youth-more p,.youth-success p,.youth-join p{font-size:15px;line-height:1.75;color:#444}.youth-perex{font-size:17px!important;font-weight:600;color:#222!important}.youth-intro-photo img{width:100%;height:500px;object-fit:cover;border-radius:12px}.youth-activities{background:#f4f4f4;padding:85px 0}.youth-cards{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;margin-top:42px}.youth-card{background:#fff;padding:34px 28px;min-height:265px;border-bottom:4px solid #b90000}.youth-card>span{font-size:13px;font-weight:900;color:#c00000}.youth-card h3{font-size:21px;margin:25px 0 12px}.youth-card p{font-size:14px;line-height:1.65;color:#555;margin:0}.youth-action-photo{height:560px;position:relative;overflow:hidden}.youth-action-photo>img{width:100%;height:100%;object-fit:cover}.youth-action-photo:after{content:"";position:absolute;inset:0;background:linear-gradient(0deg,rgba(0,0,0,.62),transparent 55%)}.youth-action-caption{position:absolute;z-index:2;left:max(calc((100% - 1200px)/2),6%);bottom:48px;color:#fff;display:flex;flex-direction:column}.youth-action-caption strong{font-size:48px;line-height:1;font-weight:900}.youth-action-caption span{font-size:14px;text-transform:uppercase;letter-spacing:1.5px;margin-top:9px}.youth-more{display:grid;grid-template-columns:1fr 1fr;gap:70px;align-items:center;padding-top:90px;padding-bottom:90px}.youth-more-photo img{width:100%;height:470px;object-fit:cover;border-radius:12px}.youth-skills{background:#181818;color:#fff;padding:90px 0}.youth-skills-grid{display:grid;grid-template-columns:.9fr 1.1fr;gap:70px;align-items:center}.youth-skills h2{color:#fff}.youth-label-light{color:#fff}.youth-skills .redline{background:#d00000}.youth-skill-list{margin-top:30px;border-top:1px solid #444}.youth-skill-list div{display:flex;gap:20px;align-items:center;padding:14px 0;border-bottom:1px solid #3a3a3a}.youth-skill-list strong{font-size:12px;color:#e00000}.youth-skill-list span{font-size:15px;color:#eee}.youth-skills-photo img{width:100%;height:550px;object-fit:cover;border-radius:12px}.youth-success{display:grid;grid-template-columns:1fr 1fr;gap:70px;align-items:center;padding-top:90px;padding-bottom:90px}.youth-success-photo img{width:100%;height:450px;object-fit:cover;border-radius:12px}.youth-info{background:#101010;color:#fff;text-align:center;padding:85px 0}.youth-info h2{color:#fff;margin-bottom:48px}.youth-age-grid{display:grid;grid-template-columns:repeat(3,1fr);max-width:900px;margin:auto}.youth-age-grid>div{padding:15px 25px;border-right:1px solid #444}.youth-age-grid>div:last-child{border-right:0}.youth-age-grid strong{font-size:52px;line-height:1;font-weight:900}.youth-age-grid span{font-size:13px;font-weight:800;margin-left:5px;color:#d00000}.youth-age-grid p{font-size:14px;color:#ccc;margin:10px 0 0}.youth-meeting{margin:55px auto 0;padding-top:35px;border-top:1px solid #444;max-width:900px;display:flex;flex-direction:column}.youth-meeting span{font-size:11px;font-weight:800;letter-spacing:1.5px;color:#aaa}.youth-meeting strong{font-size:25px;margin-top:9px}.youth-meeting p{color:#bbb;margin:6px 0 0}.youth-join{background:#a50000;color:#fff;padding:85px 0}.youth-join-grid{display:grid;grid-template-columns:1.2fr .8fr;gap:80px;align-items:center}.youth-join h2{color:#fff;font-size:42px}.youth-join p{color:#f3dddd;max-width:680px}.youth-join-big{font-size:19px!important;font-weight:800;color:#fff!important}.youth-contact{border-left:1px solid rgba(255,255,255,.35);padding-left:45px;display:flex;flex-direction:column}.youth-contact span{font-size:11px;font-weight:800;letter-spacing:1.4px;color:#efcaca}.youth-contact strong{font-size:26px;margin:10px 0}.youth-contact p{font-size:13px;margin:0}@media(max-width:900px){.youth-hero{height:480px}.youth-hero h1{font-size:50px}.youth-intro,.youth-more,.youth-skills-grid,.youth-success,.youth-join-grid{grid-template-columns:1fr;gap:38px}.youth-cards{grid-template-columns:1fr 1fr}.youth-intro,.youth-more,.youth-success{padding-top:60px;padding-bottom:60px}.youth-activities,.youth-skills,.youth-info,.youth-join{padding-top:60px;padding-bottom:60px}.youth-intro-photo img,.youth-more-photo img,.youth-skills-photo img,.youth-success-photo img{height:auto;max-height:500px}.youth-contact{border-left:0;border-top:1px solid rgba(255,255,255,.35);padding:30px 0 0}.youth-action-photo{height:430px}}@media(max-width:600px){.youth-hero{height:440px}.youth-hero h1{font-size:42px}.youth-hero p{font-size:14px}.youth-intro h2,.youth-activities h2,.youth-more h2,.youth-skills h2,.youth-success h2,.youth-info h2,.youth-join h2{font-size:28px}.youth-cards{grid-template-columns:1fr}.youth-card{min-height:0}.youth-age-grid{grid-template-columns:1fr}.youth-age-grid>div{border-right:0;border-bottom:1px solid #444;padding:25px}.youth-age-grid>div:last-child{border-bottom:0}.youth-action-caption strong{font-size:36px}.youth-action-photo{height:360px}}

/* ===== MLÁDEŽ – FINÁLNÍ OŘEZY FOTEK ===== */
.youth-intro-photo{overflow:hidden;border-radius:12px}.youth-intro-photo img{width:100%;height:500px;object-fit:cover;object-position:center 45%;border-radius:12px}.youth-more-photo{overflow:hidden;border-radius:12px}.youth-more-photo img{width:100%;height:470px;object-fit:cover;object-position:center 42%;border-radius:12px}.youth-skills-photo{overflow:hidden;border-radius:12px}.youth-skills-photo img{width:100%;height:550px;object-fit:cover;object-position:center 42%;border-radius:12px}.youth-success-photo{overflow:hidden;border-radius:12px}.youth-success-photo img{width:100%;height:450px;object-fit:cover;object-position:center 35%;border-radius:12px}.youth-action-photo{height:560px;position:relative;overflow:hidden;background:#181818}.youth-action-photo>img{width:100%;height:100%;object-fit:cover;object-position:center 57%}@media(max-width:900px){.youth-intro-photo img,.youth-more-photo img,.youth-skills-photo img,.youth-success-photo img{height:420px;max-height:none}.youth-action-photo{height:430px}}@media(max-width:600px){.youth-intro-photo img,.youth-more-photo img,.youth-skills-photo img,.youth-success-photo img{height:330px}.youth-action-photo{height:360px}}

/* ===== MLÁDEŽ – DOLADĚNÍ KOMPOZICE ===== */

/* HERO – obsah zarovnat se zbytkem stránky, ne k levému okraji */
.youth-hero-content{padding-left:max(calc((100vw - 1440px)/2),6%);padding-right:6%;box-sizing:border-box}

/* ÚVODNÍ FOTO – zachovat pěkný velký formát, ale ukázat celou postavu vlevo */
.youth-intro{grid-template-columns:1fr 1.08fr;gap:65px}
.youth-intro-photo img{width:100%;height:500px;object-fit:cover;object-position:left center}

/* FOTO S ROZDĚLOVAČEM – větší výška a výřez posunutý dolů */
.youth-success{grid-template-columns:.95fr 1.05fr;gap:65px}
.youth-success-photo{height:500px;overflow:hidden;border-radius:12px}.youth-success-photo img{width:100%;height:100%;object-fit:cover;object-position:center 42%;border-radius:12px}

@media(max-width:900px){
.youth-hero-content{padding-left:6%;padding-right:6%}
.youth-intro,.youth-success{grid-template-columns:1fr;gap:38px}
.youth-intro-photo img{height:440px;object-position:left center}
.youth-success-photo img{height:440px;object-position:center bottom}
}

@media(max-width:600px){
.youth-hero-content{padding-left:24px;padding-right:24px}
.youth-intro-photo img{height:350px}
.youth-success-photo img{height:350px}
}

.youth-contact .youth-contact-line{display:block!important;color:#fff!important;font-size:15px!important;font-weight:700!important;line-height:1.5!important;margin:3px 0!important}.youth-contact .youth-contact-desc{display:block!important;color:#f3dddd!important;font-size:13px!important;font-weight:400!important;line-height:1.6!important;margin:12px 0 0!important}

.promo-link{
    display:block;
    color:inherit;
    text-decoration:none;
}

.promo-link .promo{
    cursor:pointer;
}

.promo-link:hover{
    color:inherit;
    text-decoration:none;
}

/* =========================================================
   SDH ŽAMBERK
   ========================================================= */

.sdh-page{
    background:#fff;
    color:#171717;
}

.sdh-page img{
    display:block;
    max-width:100%;
}


/* HERO */

.sdh-hero{
    height:620px;
    position:relative;
    background-size:cover;
    background-position:center 42%;
    display:flex;
    align-items:center;
}

.sdh-hero-overlay{
    position:absolute;
    inset:0;
    background:
        linear-gradient(
            90deg,
            rgba(0,0,0,.84) 0%,
            rgba(0,0,0,.66) 38%,
            rgba(0,0,0,.22) 72%,
            rgba(0,0,0,.08) 100%
        );
}

.sdh-hero-content{
    position:relative;
    z-index:2;
    width:100%;
    color:#fff;
}

.sdh-kicker,
.sdh-label{
    font-size:12px;
    font-weight:800;
    letter-spacing:1.6px;
    text-transform:uppercase;
    color:#c90000;
}

.sdh-kicker{
    color:#fff;
    margin-bottom:16px;
}

.sdh-hero h1{
    max-width:800px;
    margin:0 0 24px;
    font-size:64px;
    line-height:.94;
    font-weight:900;
    letter-spacing:-2px;
}

.sdh-hero h1 span{
    color:#e00000;
}

.sdh-hero p{
    max-width:600px;
    margin:0 0 30px;
    font-size:17px;
    line-height:1.65;
    color:#f0f0f0;
}


/* INTRO */

.sdh-intro{
    display:grid;
    grid-template-columns:1.35fr .65fr;
    gap:90px;
    align-items:center;
    padding-top:100px;
    padding-bottom:100px;
}

.sdh-intro h2,
.sdh-history h2,
.sdh-timeline-section h2,
.sdh-station h2,
.sdh-heritage h2,
.sdh-almanac h2,
.sdh-people h2,
.sdh-events h2,
.sdh-branches h2,
.sdh-final h2{
    margin:10px 0 16px;
    font-size:38px;
    line-height:1.12;
}

.sdh-intro p,
.sdh-history p,
.sdh-station p,
.sdh-heritage p,
.sdh-almanac p,
.sdh-people p,
.sdh-events p,
.sdh-branches p,
.sdh-final p{
    font-size:15px;
    line-height:1.75;
    color:#444;
}

.sdh-perex{
    font-size:17px!important;
    font-weight:600;
    color:#222!important;
}

.sdh-intro-stat{
    border-left:1px solid #ddd;
    padding-left:55px;
    display:flex;
    flex-direction:column;
}

.sdh-intro-stat strong{
    font-size:68px;
    line-height:1;
    font-weight:900;
    color:#b90000;
}

.sdh-intro-stat span{
    margin-top:8px;
    font-size:11px;
    font-weight:800;
    letter-spacing:1.4px;
    color:#555;
}

.sdh-stat-line{
    width:100%;
    height:1px;
    background:#ddd;
    margin:32px 0;
}


/* HISTORIE */

.sdh-history{
    background:#f3f3f3;
    padding:95px 0;
}

.sdh-history-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:75px;
    align-items:center;
}

.sdh-history-photo{
    overflow:hidden;
    border-radius:12px;
}

.sdh-history-photo img{
    width:100%;
    height:520px;
    object-fit:cover;
    object-position:center;
}


/* TIMELINE */

.sdh-timeline-section{
    background:#171717;
    color:#fff;
    padding:95px 0;
}

.sdh-timeline-section h2{
    color:#fff;
}

.sdh-label-light{
    color:#fff;
}

.sdh-timeline-section .redline{
    background:#d00000;
}

.sdh-timeline{
    margin-top:48px;
    border-top:1px solid #444;
}

.sdh-time-item{
    display:grid;
    grid-template-columns:150px 1fr;
    gap:30px;
    align-items:center;
    padding:22px 0;
    border-bottom:1px solid #383838;
}

.sdh-time-item strong{
    font-size:32px;
    color:#e00000;
}

.sdh-time-item span{
    font-size:15px;
    color:#e2e2e2;
}


/* ZBROJNICE */

.sdh-station{
    display:grid;
    grid-template-columns:.95fr 1.05fr;
    gap:75px;
    align-items:center;
    padding-top:100px;
    padding-bottom:100px;
}

.sdh-station-photo{
    overflow:hidden;
    border-radius:12px;
}

.sdh-station-photo img{
    width:100%;
    height:500px;
    object-fit:cover;
    object-position:center;
}


/* HISTORICKA TECHNIKA */

.sdh-heritage{
    background:#101010;
    color:#fff;
    padding:95px 0;
}

.sdh-heritage-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:75px;
    align-items:center;
}

.sdh-heritage-photo{
    background:#fff;
    border-radius:12px;
    overflow:hidden;
}

.sdh-heritage-photo img{
    width:100%;
    height:500px;
    object-fit:cover;
    object-position:center;
}

.sdh-heritage h2{
    color:#fff;
}

.sdh-heritage p{
    color:#ccc;
}

.sdh-text-link{
    display:inline-block;
    margin-top:18px;
    color:#fff;
    font-size:14px;
    font-weight:800;
    text-decoration:none;
    border-bottom:2px solid #d00000;
    padding-bottom:5px;
}

.sdh-text-link:hover{
    color:#e00000;
}


/* ALMANACH */

.sdh-almanac{
    background:#a60000;
    color:#fff;
    padding:70px 0;
}

.sdh-almanac-inner{
    display:grid;
    grid-template-columns:1.3fr .7fr;
    gap:80px;
    align-items:center;
}

.sdh-almanac .sdh-label{
    color:#fff;
}

.sdh-almanac h2{
    color:#fff;
    margin-bottom:12px;
}

.sdh-almanac p{
    color:#f4dddd;
    max-width:700px;
    margin-bottom:0;
}

.sdh-almanac-action{
    border-left:1px solid rgba(255,255,255,.35);
    padding-left:50px;
    display:flex;
    flex-direction:column;
    align-items:flex-start;
}

.sdh-almanac-action span{
    font-size:38px;
    font-weight:900;
    color:#fff;
    margin-bottom:18px;
}

.sdh-almanac-action a{
    color:#fff;
    font-size:14px;
    font-weight:800;
    text-decoration:none;
    border-bottom:2px solid #fff;
    padding-bottom:5px;
}


/* LIDE */

.sdh-people{
    display:grid;
    grid-template-columns:.9fr 1.1fr;
    gap:75px;
    align-items:center;
    padding-top:100px;
    padding-bottom:100px;
}

.sdh-people-photos{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:15px;
}

.sdh-people-photos img{
    width:100%;
    height:430px;
    object-fit:cover;
    border-radius:10px;
}

.sdh-people-photos img:first-child{
    object-position:center;
}

.sdh-people-photos img:last-child{
    object-position:center;
}


/* SOUTEZE */

.sdh-competition{
    height:600px;
    position:relative;
    overflow:hidden;
    display:flex;
    align-items:flex-end;
}

.sdh-competition>img{
    position:absolute;
    inset:0;
    width:100%;
    height:100%;
    object-fit:cover;
    object-position:center 50%;
}

.sdh-competition-overlay{
    position:absolute;
    inset:0;
    background:
        linear-gradient(
            0deg,
            rgba(0,0,0,.82) 0%,
            rgba(0,0,0,.32) 58%,
            rgba(0,0,0,.05) 100%
        );
}

.sdh-competition-content{
    position:relative;
    z-index:2;
    color:#fff;
    padding-bottom:65px;
}

.sdh-competition-content h2{
    max-width:720px;
    margin:10px 0 14px;
    font-size:46px;
    line-height:1.08;
    color:#fff;
}

.sdh-competition-content p{
    max-width:600px;
    margin:0;
    font-size:16px;
    line-height:1.65;
    color:#eee;
}


/* AKCE PRO MESTO */

.sdh-events{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:75px;
    align-items:center;
    padding-top:100px;
    padding-bottom:100px;
}

.sdh-events-photo{
    overflow:hidden;
    border-radius:12px;
}

.sdh-events-photo img{
    width:100%;
    height:480px;
    object-fit:cover;
    object-position:center;
}


/* ODKAZY NA SEKCE */

.sdh-branches{
    background:#f2f2f2;
    padding:95px 0;
}

.sdh-branch-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:20px;
    margin-top:45px;
}

.sdh-branch-card{
    min-height:330px;
    padding:38px 32px;
    background:#fff;
    border-bottom:4px solid #b80000;
    text-decoration:none;
    color:#171717;
    transition:transform .2s ease, box-shadow .2s ease;
}

.sdh-branch-card:hover{
    transform:translateY(-4px);
    box-shadow:0 12px 35px rgba(0,0,0,.09);
    color:#171717;
}

.sdh-branch-number{
    font-size:12px;
    font-weight:900;
    color:#c00000;
    letter-spacing:1px;
}

.sdh-branch-card h3{
    margin:28px 0 14px;
    font-size:25px;
}

.sdh-branch-card p{
    margin-bottom:25px;
    font-size:14px;
    color:#555;
}

.sdh-branch-card span{
    font-size:13px;
    font-weight:800;
    color:#a90000;
}


/* ZAVER */

.sdh-final{
    background:#970000;
    color:#fff;
    padding:80px 0;
}

.sdh-final-inner{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:70px;
}

.sdh-final h2{
    color:#fff;
}

.sdh-final p{
    max-width:650px;
    margin-bottom:0;
    color:#f1dcdc;
}

.sdh-final-inner>strong{
    white-space:nowrap;
    font-size:42px;
    font-weight:900;
    color:#fff;
}


/* RESPONSIVE */

@media(max-width:900px){

    .sdh-hero{
        height:520px;
        background-position:center;
    }

    .sdh-hero h1{
        font-size:48px;
    }

    .sdh-intro,
    .sdh-history-grid,
    .sdh-station,
    .sdh-heritage-grid,
    .sdh-almanac-inner,
    .sdh-people,
    .sdh-events{
        grid-template-columns:1fr;
        gap:40px;
    }

    .sdh-intro,
    .sdh-station,
    .sdh-people,
    .sdh-events{
        padding-top:65px;
        padding-bottom:65px;
    }

    .sdh-history,
    .sdh-timeline-section,
    .sdh-heritage,
    .sdh-branches{
        padding-top:65px;
        padding-bottom:65px;
    }

    .sdh-intro-stat{
        border-left:0;
        border-top:1px solid #ddd;
        padding:35px 0 0;
    }

    .sdh-history-photo img,
    .sdh-station-photo img,
    .sdh-heritage-photo img,
    .sdh-events-photo img{
        height:auto;
        max-height:520px;
    }

    .sdh-almanac-action{
        border-left:0;
        border-top:1px solid rgba(255,255,255,.35);
        padding:30px 0 0;
    }

    .sdh-branch-grid{
        grid-template-columns:1fr;
    }

    .sdh-branch-card{
        min-height:0;
    }

    .sdh-final-inner{
        align-items:flex-start;
        flex-direction:column;
    }

    .sdh-competition{
        height:500px;
    }
}


@media(max-width:600px){

    .sdh-hero{
        height:470px;
    }

    .sdh-hero h1{
        font-size:37px;
        letter-spacing:-1px;
    }

    .sdh-hero p{
        font-size:14px;
    }

    .sdh-intro h2,
    .sdh-history h2,
    .sdh-timeline-section h2,
    .sdh-station h2,
    .sdh-heritage h2,
    .sdh-almanac h2,
    .sdh-people h2,
    .sdh-events h2,
    .sdh-branches h2,
    .sdh-final h2{
        font-size:29px;
    }

    .sdh-intro-stat strong{
        font-size:52px;
    }

    .sdh-time-item{
        grid-template-columns:90px 1fr;
        gap:18px;
    }

    .sdh-time-item strong{
        font-size:25px;
    }

    .sdh-time-item span{
        font-size:13px;
    }

    .sdh-people-photos{
        grid-template-columns:1fr;
    }

    .sdh-people-photos img{
        height:330px;
    }

    .sdh-competition{
        height:430px;
    }

    .sdh-competition-content{
        padding-bottom:40px;
    }

    .sdh-competition-content h2{
        font-size:32px;
    }

    .sdh-almanac-action span{
        font-size:31px;
    }

    .sdh-final-inner>strong{
        font-size:31px;
    }
}

/* =========================================================
   SDH – HERO FINAL FIX
   ========================================================= */

.sdh-hero{
    background-position: center 72% !important;
    background-size: cover !important;
    background-repeat: no-repeat;
}

.sdh-hero-content{
    width:min(1400px, calc(100% - 80px));
    max-width:1400px;
    margin-left:auto;
    margin-right:auto;
    padding-left:0;
    padding-right:0;
}

.sdh-hero h1{
    max-width:900px;
    font-size:58px;
    line-height:.98;
    letter-spacing:-1.5px;
}

.sdh-hero p{
    max-width:610px;
}

/* TABLET */
@media(max-width:900px){

    .sdh-hero{
        background-position: 60% 70% !important;
    }

    .sdh-hero-content{
        width:calc(100% - 48px);
    }

    .sdh-hero h1{
        font-size:46px;
    }
}

/* MOBIL */
@media(max-width:600px){

    .sdh-hero{
        background-position: 63% 65% !important;
    }

    .sdh-hero-content{
        width:calc(100% - 32px);
    }

    .sdh-hero h1{
        font-size:36px;
        line-height:1;
    }
}