/* GrantHelp – styly šablony podle schváleného konceptu faceliftu. Barvy a písmo vychází z původního webu. */
@font-face{font-family:"Open Sans";src:url(../fonts/OpenSans-Regular.woff2) format("woff2");font-weight:400;font-display:swap}
@font-face{font-family:"Open Sans";src:url(../fonts/OpenSans-Semibold.woff2) format("woff2");font-weight:600;font-display:swap}
@font-face{font-family:"Open Sans";src:url(../fonts/OpenSans-Bold.woff2) format("woff2");font-weight:700;font-display:swap}
@font-face{font-family:"Open Sans";src:url(../fonts/OpenSans-ExtraBold.woff2) format("woff2");font-weight:800;font-display:swap}

:root{
  --gh-red:#e71e2c;
  --gh-red-dark:#c4111f;
  --gh-red-tint:#fdecee;
  --gh-text:#353535;
  --gh-text-2:#393939;
  --gh-muted:#6b6b6b;
  --gh-line:#e2e2e2;
  --gh-bg-1:#f3f3f3;
  --gh-bg-2:#ededed;
  --gh-bg-3:#ececec;
  --gh-radius:4px;
  --gh-shadow:0 2px 12px rgba(0,0,0,.08);
  --gh-max:1240px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:"Open Sans",Arial,sans-serif;font-size:15px;line-height:1.55;color:var(--gh-text);background:#fff}
img{max-width:100%;height:auto;display:block}
a{color:var(--gh-red);text-decoration:none}
a:hover{text-decoration:underline}
a:focus-visible,button:focus-visible,input:focus-visible{outline:3px solid var(--gh-red);outline-offset:2px}
h1,h2,h3{color:var(--gh-text);line-height:1.15;margin:0 0 .5em}
h2{font-size:24px;font-weight:700}
h3{font-size:18px;font-weight:700}
.wrap{max-width:var(--gh-max);margin:0 auto;padding:0 24px}
.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
.btn{display:inline-flex;align-items:center;gap:.6em;background:var(--gh-red);color:#fff;font-weight:700;font-size:14px;border-radius:999px;padding:.75em 1.6em;border:0;cursor:pointer;box-shadow:0 4px 14px rgba(231,30,44,.3)}
.btn:hover{background:var(--gh-red-dark);text-decoration:none}
.btn--sm{font-size:13px;padding:.5em 1.3em}
.arrow::after{content:"";width:12px;height:10px;background:currentColor;-webkit-mask:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 12 10"><path d="M7 0l5 5-5 5-1.2-1.2L8.6 6H0V4h8.6L5.8 1.2z"/></svg>') center/contain no-repeat;mask:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 12 10"><path d="M7 0l5 5-5 5-1.2-1.2L8.6 6H0V4h8.6L5.8 1.2z"/></svg>') center/contain no-repeat}
.link{font-weight:700;font-size:13.5px;display:inline-flex;align-items:center;gap:.5em}
.section{padding:28px 0}
.section__head{display:flex;justify-content:space-between;align-items:baseline;gap:16px;flex-wrap:wrap;margin-bottom:16px}
.section__head h2{margin:0}
.card{background:#fff;border-radius:var(--gh-radius);box-shadow:var(--gh-shadow)}
.circle-arrow{flex:none;width:26px;height:26px;border-radius:50%;background:var(--gh-red);color:#fff;display:inline-flex;align-items:center;justify-content:center}
.circle-arrow::after{content:"";width:11px;height:9px;background:#fff;-webkit-mask:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 12 10"><path d="M7 0l5 5-5 5-1.2-1.2L8.6 6H0V4h8.6L5.8 1.2z"/></svg>') center/contain no-repeat;mask:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 12 10"><path d="M7 0l5 5-5 5-1.2-1.2L8.6 6H0V4h8.6L5.8 1.2z"/></svg>') center/contain no-repeat}
.circle-arrow:hover{background:var(--gh-red-dark)}
.ico{width:16px;height:16px;flex:none;color:var(--gh-red)}

/* Plocha pro fotografii (bez fotky zůstane šedý přechod). */
.photo{position:relative;background:linear-gradient(160deg,#d9dde1 0%,#bfc6cc 55%,#a9b1b8 100%);overflow:hidden}
.photo:not(:has(img))::before{content:"";position:absolute;inset:0;background:repeating-linear-gradient(90deg,rgba(255,255,255,.18) 0 2px,transparent 2px 70px),linear-gradient(0deg,rgba(255,255,255,.25),transparent 40%)}
.photo img{position:relative;width:100%;height:100%;object-fit:cover}

/* HLAVIČKA */
.site-header{position:sticky;top:0;z-index:30;background:#fff;box-shadow:0 1px 0 var(--gh-line)}
.site-header .wrap{display:flex;align-items:center;gap:20px;min-height:66px}
.logo img{width:132px}
.nav{flex:1}
.nav ul{list-style:none;margin:0;padding:0;display:flex;justify-content:center}
.nav>ul>li{position:relative}
.nav a{display:block;max-width:100px;text-align:center;text-wrap:balance;padding:15px 10px;color:var(--gh-text);font-size:12.5px;font-weight:600;line-height:1.25;border-bottom:3px solid transparent}
.nav a:hover{text-decoration:none;color:var(--gh-red)}
.nav a[aria-current]{border-bottom-color:var(--gh-red)}
.nav .sub{display:none;position:absolute;top:100%;left:0;min-width:270px;background:#fff;box-shadow:var(--gh-shadow);border-top:3px solid var(--gh-red);flex-direction:column;padding:6px 0}
.nav li:hover>.sub,.nav li:focus-within>.sub{display:flex}
.nav .sub a{max-width:none;text-align:left;padding:9px 18px;border:0;font-weight:400;font-size:13.5px}
.search{display:flex;align-items:center;background:var(--gh-bg-1);border-radius:4px;padding:2px 4px 2px 12px}
.search input{border:0;font:inherit;font-size:13px;width:150px;background:transparent}
.search button{border:0;background:none;color:var(--gh-red);cursor:pointer;padding:6px;display:flex}
.lang{font-weight:700;font-size:13px;color:var(--gh-text)}
.menu-toggle{display:none;margin-left:auto;background:none;border:0;padding:8px;cursor:pointer;color:var(--gh-red)}

/* HERO */
.hero{position:relative;overflow:hidden;min-height:470px;display:flex;align-items:stretch}
.hero>.photo{position:absolute;inset:0}
.hero>.photo::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#fff 0%,rgba(255,255,255,.96) 32%,rgba(255,255,255,.55) 52%,rgba(255,255,255,0) 70%)}
.hero__inner{position:relative;z-index:2;display:grid;grid-template-columns:1fr 1fr;width:100%}
.hero__text{padding:52px 0 110px}
.hero h1{font-size:clamp(34px,4.3vw,54px);font-weight:700;letter-spacing:-.5px;margin-bottom:22px}
.hero h1 em{font-style:normal;color:var(--gh-red);display:block}
.hero p{max-width:440px;font-size:15.5px;color:var(--gh-text-2);margin:0 0 26px}
.hero__panel{position:absolute;z-index:1;top:0;bottom:0;right:0;width:46%;background:linear-gradient(160deg,rgba(231,30,44,.97) 0%,rgba(196,17,31,.97) 100%);clip-path:polygon(34% 0,100% 0,100% 100%,0 100%)}
.hero__panel::before{content:"";position:absolute;inset:0;background:linear-gradient(115deg,rgba(255,255,255,.12) 0 22%,transparent 22% 60%,rgba(0,0,0,.08) 60%)}
.stats{position:relative;z-index:2;align-self:start;justify-self:end;margin-top:28px;display:flex;flex-direction:column;gap:0;width:min(360px,100%)}
.stat{display:flex;align-items:center;gap:20px;color:#fff;padding:18px 8px;border-bottom:1px solid rgba(255,255,255,.35)}
.stat:last-child{border-bottom:0}
.stat svg{width:52px;height:52px;flex:none;color:#fff}
.stat strong{display:block;font-size:30px;font-weight:700;line-height:1.05}
.stat span{font-size:14px;opacity:.95}

/* KARTY SLUŽEB */
.services{position:relative;z-index:3;margin-top:-86px}
.services__grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;background:var(--gh-bg-1);padding:10px;border-radius:6px}
.service{display:flex;flex-direction:column;overflow:hidden}
.service .photo{height:118px}
.service__icon{position:relative;z-index:2;width:62px;height:62px;margin:-30px 0 0 18px;background:#fff;border-radius:50%;display:flex;align-items:center;justify-content:center;box-shadow:var(--gh-shadow)}
.service__icon img{width:44px;height:auto}
.service__body{padding:8px 18px 18px;display:flex;flex-direction:column;flex:1}
.service h3,.service__title{margin:6px 0 6px;font-size:18px}
.service p{margin:0 0 14px;font-size:13.5px;color:var(--gh-text-2);flex:1}

/* ÚSPĚCHY */
.awards{display:grid;grid-template-columns:270px repeat(5,1fr);background:#fff;box-shadow:var(--gh-shadow);border-radius:var(--gh-radius);overflow:hidden}
.awards__title{background:linear-gradient(110deg,var(--gh-red-tint) 0%,#fff 100%);padding:22px 26px;display:flex;align-items:center;position:relative}
.awards__title::before{content:"";position:absolute;left:0;top:0;bottom:0;width:6px;background:var(--gh-red)}
.awards__title h2{color:var(--gh-red);font-size:23px;margin:0;line-height:1.25}
.award{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:8px;padding:18px 10px;color:var(--gh-text);font-weight:600;font-size:13px;line-height:1.3;border-left:1px solid var(--gh-line)}
.award svg{width:36px;height:36px;color:var(--gh-red)}
.award:hover{background:var(--gh-bg-1);text-decoration:none;color:var(--gh-red)}

/* KANCELÁŘE */
.offices{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}
.office{display:grid;grid-template-columns:42% 1fr;overflow:hidden;min-height:150px}
.office>img{width:100%;height:100%;object-fit:cover}
.office__body{padding:14px 16px;font-size:12.5px;color:var(--gh-text-2)}
.office h3{display:flex;align-items:center;gap:7px;font-size:16px;margin-bottom:6px}
.office h3::before,.pin{content:"";width:13px;height:17px;flex:none;background:var(--gh-red);-webkit-mask:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 30"><path d="M12 0C5.4 0 0 5.4 0 12c0 9 12 18 12 18s12-9 12-18C24 5.4 18.6 0 12 0zm0 17a5 5 0 110-10 5 5 0 010 10z"/></svg>') center/contain no-repeat;mask:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 30"><path d="M12 0C5.4 0 0 5.4 0 12c0 9 12 18 12 18s12-9 12-18C24 5.4 18.6 0 12 0zm0 17a5 5 0 110-10 5 5 0 010 10z"/></svg>') center/contain no-repeat}
.office p{margin:0}
.office ul{list-style:none;padding:0;margin:10px 0 0;display:grid;gap:3px}
.office ul a{font-weight:700;font-size:12.5px;display:inline-flex;align-items:center;gap:.5em}

/* VIDEO + BOXY */
.intro{display:grid;grid-template-columns:1fr 1fr;gap:20px;align-items:start}
.video{position:relative;display:block;border-radius:var(--gh-radius);overflow:hidden;aspect-ratio:16/8.6;background:radial-gradient(circle at 70% 40%,#6a6a6a 0%,#2b2b2b 70%)}
.video>img{width:100%;height:100%;object-fit:cover;filter:grayscale(.3) brightness(.55)}
.video::before{content:"";position:absolute;z-index:1;left:0;top:0;bottom:0;width:30%;background:linear-gradient(180deg,var(--gh-red),var(--gh-red-dark));clip-path:polygon(0 0,45% 0,100% 50%,45% 100%,0 100%)}
.video__title{position:absolute;z-index:2;left:30px;top:50%;transform:translateY(-50%);color:#fff;font-size:24px;font-weight:700;line-height:1.25;text-shadow:0 2px 8px rgba(0,0,0,.4)}
.video__play{position:absolute;z-index:2;left:52%;top:50%;transform:translate(-50%,-50%);width:66px;height:66px;border-radius:50%;background:var(--gh-red);display:flex;align-items:center;justify-content:center;box-shadow:0 6px 24px rgba(0,0,0,.4)}
.video__play::after{content:"";border-left:22px solid #fff;border-top:13px solid transparent;border-bottom:13px solid transparent;margin-left:6px}
.video__note{position:absolute;z-index:2;left:22px;bottom:14px;color:#fff;font-size:12.5px;display:flex;align-items:center;gap:8px}
.video__note::before{content:"";width:16px;height:16px;border-radius:50%;background:#fff;-webkit-mask:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><circle cx="8" cy="8" r="8"/></svg>');mask:none}
.boxes{display:grid;gap:14px}
.box{padding:18px 20px 18px 86px;position:relative}
.box h3{margin-bottom:4px}
.box p{margin:0 0 10px;font-size:13.5px}
.box ul{margin:0 0 8px;padding:0;list-style:none;font-size:13px}
.box li{padding-left:16px;position:relative}
.box li::before{content:"";position:absolute;left:0;top:.45em;border-left:8px solid var(--gh-red);border-top:5px solid transparent;border-bottom:5px solid transparent}
.box>svg{position:absolute;left:22px;top:18px;width:44px;height:44px;color:var(--gh-red)}

/* ISO */
.iso{display:grid;grid-template-columns:auto 1fr auto auto;gap:28px;align-items:center;padding:18px 28px;background:var(--gh-bg-1);border-radius:var(--gh-radius)}
.iso__title{display:flex;align-items:baseline;gap:14px}
.iso__title b{font-size:22px;font-weight:700}
.iso__title h2{font-size:20px;margin:0}
.iso p{margin:0;font-size:13px}
.certs{display:flex;gap:14px;list-style:none;margin:0;padding:0}
.certs a{display:block;border:1px solid var(--gh-line);padding:3px;background:#fff;box-shadow:var(--gh-shadow)}
.certs a:hover{border-color:var(--gh-red)}
.certs img{width:52px}

/* PATIČKA */
.site-footer{margin-top:28px}
.site-footer .res-list a{color:var(--gh-text)}
.site-footer .resources{background:var(--gh-bg-2);padding:36px 0 28px}
.site-footer h2{font-size:14px;margin-bottom:14px}
.res-list{list-style:none;margin:0;padding:0;columns:4;column-gap:24px;font-size:13px}
.res-list li{margin-bottom:5px;break-inside:avoid}
.res-list a{color:var(--gh-text);text-decoration:underline}
.copyright{background:var(--gh-line);padding:20px 0;font-size:12.5px}
.copyright .wrap{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap}
.copyright a{color:var(--gh-text);text-decoration:underline}
.copyright nav a{margin-right:14px}

/* PODSTRÁNKY – hlavička s fotkou */
.page-hero{position:relative;overflow:hidden;min-height:300px;border-bottom:1px solid var(--gh-line)}
.page-hero>.photo{position:absolute;top:0;bottom:0;right:0;width:58%}
.page-hero>.photo::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#fff 0%,rgba(255,255,255,.75) 22%,rgba(255,255,255,0) 50%)}
.page-hero__accent{position:absolute;z-index:1;top:0;bottom:0;right:14%;width:16%;background:linear-gradient(180deg,rgba(231,30,44,.92),rgba(196,17,31,.92));clip-path:polygon(40% 0,100% 0,60% 100%,0 100%)}
.page-hero .wrap{position:relative;z-index:2;padding-top:22px;padding-bottom:26px}
.breadcrumb{font-size:12.5px;color:var(--gh-muted);margin-bottom:12px}
.breadcrumb a{color:var(--gh-muted)}
.breadcrumb span{margin:0 8px;color:var(--gh-text);font-weight:700}
.page-hero h1{font-size:clamp(34px,4.3vw,52px);font-weight:700;max-width:520px;margin-bottom:14px}
.page-hero p{max-width:420px;margin:0 0 20px;color:var(--gh-text-2)}
.tabs{display:flex;gap:6px;flex-wrap:wrap;list-style:none;padding:0;margin:0}
.tabs a,.tabs span{display:inline-flex;align-items:center;gap:9px;background:#fff;box-shadow:var(--gh-shadow);border-radius:3px;padding:9px 16px;color:var(--gh-text);font-weight:600;font-size:13.5px}
.tabs a::before,.tabs span::before{content:"";border-left:8px solid var(--gh-red);border-top:5px solid transparent;border-bottom:5px solid transparent}
.tabs a[aria-current]{background:var(--gh-red);color:#fff}
.tabs a[aria-current]::before{border-left-color:#fff}
.tabs a:hover{text-decoration:none;color:var(--gh-red)}
.tabs a[aria-current]:hover{color:#fff}

/* TÝM */
.layout{display:grid;grid-template-columns:1fr 290px;gap:22px;align-items:start}
.team-group{margin-bottom:22px}
.team-group h2{font-size:20px;margin-bottom:12px}
.people{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}
.people--3{grid-template-columns:repeat(3,1fr)}
.person{position:relative;display:grid;grid-template-columns:76px 1fr;gap:14px;padding:14px 14px 14px;align-items:start}
.people--3 .person{grid-template-columns:1fr;gap:8px}
.person>img,.person .ph{width:76px;height:auto;aspect-ratio:72/101;object-fit:cover;object-position:top;border-radius:2px;background:var(--gh-bg-3)}
.person .ph{display:flex;align-items:center;justify-content:center;color:#b5b5b5}
.person h3{font-size:14px;margin:0 0 1px}
.person .role{font-size:12.5px;color:var(--gh-muted);margin:0 0 8px}
.person .c{display:flex;align-items:center;gap:9px;color:var(--gh-text);font-size:12.5px;word-break:break-all;margin-bottom:3px}
.person .circle-arrow{position:absolute;right:12px;bottom:12px}
.branches{padding:16px}
.branches h2{font-size:18px;margin-bottom:6px}
.branch{position:relative;border-top:1px solid var(--gh-line);padding:12px 0 14px;font-size:12px;color:var(--gh-text-2)}
.branch h3{font-size:14px;margin-bottom:6px}
.branch img{max-height:72px;width:auto;margin:4px auto 10px}
.branch p{margin:0;padding-right:32px}
.branch .circle-arrow{position:absolute;right:0;bottom:14px}
.cta-band{position:relative;overflow:hidden;margin-top:6px;min-height:150px;display:flex;align-items:center;border-radius:var(--gh-radius)}
.cta-band>.photo{position:absolute;inset:0}
.cta-band>.photo::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(243,243,243,1) 0%,rgba(243,243,243,.92) 40%,rgba(243,243,243,.2) 75%)}
.cta-band__body{position:relative;z-index:2;padding:26px 32px}
.cta-band h2{margin:0 0 2px;font-size:22px}
.cta-band p{margin:0 0 16px;font-size:17px}

/* OBSAH VNITŘNÍCH STRÁNEK */
.prose{max-width:780px}
.prose h2{font-size:21px;margin-top:1.5em}
.prose ul li::marker{color:var(--gh-red)}
.subnav{padding:18px}
.subnav h2{font-size:16px}
.subnav ul{list-style:none;padding:0;margin:0}
.subnav li a{display:flex;justify-content:space-between;gap:8px;padding:9px 0;border-bottom:1px solid var(--gh-line);color:var(--gh-text);font-size:13.5px}
.subnav li a::after{content:"›";color:var(--gh-red);font-weight:700}
.subnav li a:hover{color:var(--gh-red);text-decoration:none}

/* RESPONZIVITA */
@media (max-width:1180px){
  .nav a{padding:15px 6px;font-size:12px}
  .search input{width:90px}
  .services__grid{grid-template-columns:repeat(2,1fr)}
  .awards{grid-template-columns:repeat(5,1fr)}
  .awards__title{grid-column:1/-1}
  .offices{grid-template-columns:1fr}
  .office{grid-template-columns:240px 1fr}
  .iso{grid-template-columns:1fr 1fr}
  .people--3{grid-template-columns:repeat(2,1fr)}
}
@media (max-width:900px){
  .menu-toggle{display:block}
  .nav,.search{display:none}
  .nav.is-open{display:block;position:absolute;top:66px;left:0;right:0;background:#fff;box-shadow:var(--gh-shadow);max-height:80vh;overflow:auto}
  .nav.is-open ul{flex-direction:column}
  .nav.is-open a{max-width:none;text-align:left;padding:12px 24px}
  .nav.is-open .sub{display:flex;position:static;box-shadow:none;border:0;padding-left:16px}
  .hero{flex-direction:column;min-height:0}
  .hero>.photo{position:relative;height:200px;order:2}
  .hero>.photo::after{background:linear-gradient(180deg,#fff 0%,rgba(255,255,255,0) 40%)}
  .hero__inner{grid-template-columns:1fr}
  .hero__text{padding:30px 0 24px}
  .hero__panel{position:relative;width:auto;clip-path:none;order:3;padding:6px 24px}
  .hero__panel .stats{margin:0 auto}
  .services{margin-top:20px}
  .intro,.layout{grid-template-columns:1fr}
  .awards{grid-template-columns:repeat(2,1fr)}
  .award{border-top:1px solid var(--gh-line)}
  .iso{grid-template-columns:1fr}
  .people,.people--3{grid-template-columns:1fr}
  .page-hero>.photo{position:relative;width:100%;height:160px}
  .page-hero__accent{display:none}
  .res-list{columns:2}
}
@media (max-width:560px){
  .services__grid{grid-template-columns:1fr}
  .office{grid-template-columns:1fr}
  .office>img{height:170px}
  .box{padding:18px}
  .box>svg{position:static;margin-bottom:8px}
}
.hero__panel .stats{position:absolute;top:22px;right:max(24px,calc((100vw - var(--gh-max))/2 + 24px))}
@media (max-width:900px){.hero__panel .stats{position:static}}
.person>div{padding-right:30px}
.page-hero{min-height:250px}
/* Banner původního webu: celý obrázek vpravo, bez ořezu a bez překryvu textu v obrázku. */
.page-hero--banner>.photo{top:50%;bottom:auto;right:max(24px,calc((100% - var(--gh-max))/2 + 24px));width:auto;max-width:44%;transform:translateY(-50%);background:none;overflow:visible}
.page-hero--banner>.photo::after{display:none}
.page-hero--banner>.photo::before{content:"";position:absolute;top:-60px;bottom:-60px;left:-74px;width:96px;background:linear-gradient(180deg,rgba(231,30,44,.92),rgba(196,17,31,.92));clip-path:polygon(55% 0,100% 0,45% 100%,0 100%)}
.page-hero--banner>.photo img{position:relative;width:auto;height:auto;max-width:100%;max-height:228px;object-fit:contain;border-radius:2px;box-shadow:0 8px 24px rgba(0,0,0,.10)}
.page-hero--banner .page-hero__accent{display:none}
.page-hero--banner .wrap>h1,.page-hero--banner .wrap>.tabs{max-width:calc(56% - 90px)}
@media (max-width:900px){
  .page-hero--banner>.photo{position:relative;top:auto;right:auto;max-width:none;transform:none;padding:16px 24px 0}
  .page-hero--banner>.photo::before{display:none}
  .page-hero--banner>.photo img{width:100%;max-height:none;box-shadow:none}
  .page-hero--banner .wrap>h1,.page-hero--banner .wrap>.tabs{max-width:none}
}

/* ===== Doplňky pro WordPress ===== */
.skip-link:focus{position:fixed;left:12px;top:12px;width:auto;height:auto;clip:auto;z-index:100;background:#fff;padding:10px 16px;box-shadow:var(--gh-shadow)}
main:focus{outline:0}
.section--tight{padding-top:8px}
.breadcrumb__current{color:var(--gh-text)}
.breadcrumb span[aria-hidden]{margin:0 8px;color:var(--gh-text);font-weight:700}
.breadcrumb span.breadcrumb__current{margin:0;font-weight:400}
.page-hero__meta{font-size:13px;color:var(--gh-muted);margin:-6px 0 14px!important}
.sidebar{display:grid;gap:14px}
.subnav h2 a{color:var(--gh-text)}
.subnav li a[aria-current]{color:var(--gh-red);font-weight:700}
.intro-text{margin-bottom:22px}
.box--contact{padding-left:86px}
.box--contact>svg.ico{position:absolute;left:22px;top:18px;width:40px;height:40px}

/* Text stránek z editoru */
.prose{overflow-wrap:break-word}
.prose>*:first-child{margin-top:0}
.prose h2,.prose h3,.prose h4,.prose h5{margin-top:1.4em}
.prose h4,.prose h5{font-size:16px}
.prose img{height:auto}
.prose .alignleft{float:left;margin:4px 20px 10px 0}
.prose .alignright{float:right;margin:4px 0 10px 20px}
.prose .aligncenter{margin-left:auto;margin-right:auto}
.prose table{border-collapse:collapse;width:100%;margin:1em 0;font-size:14px;display:block;overflow-x:auto}
.prose th,.prose td{border:1px solid var(--gh-line);padding:6px 10px;text-align:left;vertical-align:top}
.prose th{background:var(--gh-bg-1)}
.prose iframe,.prose video{max-width:100%}
.prose blockquote{margin:1em 0;padding:4px 18px;border-left:4px solid var(--gh-red);background:var(--gh-bg-1)}
.prose a{text-decoration:underline}
.prose::after{content:"";display:block;clear:both}
.wp-caption{max-width:100%}
.wp-caption-text,.wp-element-caption{font-size:12.5px;color:var(--gh-muted)}
.back{margin-top:28px}

/* Aktuality */
.post-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}
.post-card{padding:18px 20px;display:flex;flex-direction:column}
.post-card__title{font-size:17px;margin:0 0 4px;line-height:1.3}
.post-card__title a{color:var(--gh-text)}
.post-card__title a:hover{color:var(--gh-red)}
.post-card__date{font-size:12.5px;color:var(--gh-muted);margin:0 0 8px}
.post-card p:not(.post-card__date){font-size:13.5px;margin:0 0 12px;flex:1}
.pagination ul{list-style:none;display:flex;flex-wrap:wrap;gap:6px;padding:0;margin:24px 0 0;justify-content:center}
.pagination a,.pagination span{display:inline-block;min-width:36px;padding:7px 12px;text-align:center;border-radius:3px;background:#fff;box-shadow:var(--gh-shadow);color:var(--gh-text);font-weight:600;font-size:13.5px}
.pagination .current{background:var(--gh-red);color:#fff}
.pagination a:hover{color:var(--gh-red);text-decoration:none}

/* Reference */
.ref-nav{margin-bottom:20px}
.ref-group{margin-bottom:30px;scroll-margin-top:90px}
.ref-group h2{font-size:21px}
.ref-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}
.ref{padding:18px 20px;display:flex;flex-direction:column;font-size:13.5px}
.ref__logo{height:90px;display:flex;align-items:center;justify-content:center;margin-bottom:12px;border-bottom:1px solid var(--gh-line);padding-bottom:12px}
.ref__logo img{max-height:70px;width:auto;object-fit:contain}
.ref__logo span{font-weight:700;font-size:16px;text-align:center}
.ref__text{flex:1;color:var(--gh-text-2)}
.ref__text p{margin:0 0 8px}
.ref__links{list-style:none;padding:0;margin:8px 0 0;display:grid;gap:4px}
.ref__links a{word-break:break-all}

/* Vyhledávání */
.search-page .search{max-width:420px;margin-bottom:18px}
.search-page .search input{width:100%;font-size:15px;padding:8px 0}
.search-count{color:var(--gh-muted);font-size:13px}
.search-results{list-style:none;padding:0;margin:0;display:grid;gap:12px;max-width:860px}
.search-result{padding:16px 20px}
.search-result h2{font-size:18px;margin:0 0 6px}
.search-result h2 a{color:var(--gh-text)}
.search-result p{margin:0;font-size:13.5px}
.search-result__type{font-size:12px!important;color:var(--gh-muted);text-transform:uppercase;letter-spacing:.04em;margin-bottom:4px!important}

/* Formulář */
.notice{padding:12px 16px;border-radius:var(--gh-radius);margin:0 0 18px;border-left:4px solid}
.notice p{margin:0}
.notice--ok{background:#eaf6ec;border-color:#2e7d32}
.notice--err{background:var(--gh-red-tint);border-color:var(--gh-red)}
.gh-form__hp{position:absolute;left:-9999px}
.gh-form__group{border:0;padding:0;margin:0 0 22px}
.gh-form__group legend{font-weight:700;font-size:17px;margin-bottom:10px;padding:0}
.gh-form__grid{display:grid;grid-template-columns:1fr 1fr;gap:12px 16px}
.gh-form__field{display:flex;flex-direction:column;gap:4px}
.gh-form__field--wide{grid-column:1/-1}
.gh-form label{font-size:13.5px;font-weight:600}
.gh-form input[type=text],.gh-form input[type=email],.gh-form input[type=tel],.gh-form textarea{font:inherit;font-size:14px;padding:9px 12px;border:1px solid #c9c9c9;border-radius:3px;background:#fff;width:100%}
.gh-form input:focus,.gh-form textarea:focus{border-color:var(--gh-red);outline:2px solid rgba(231,30,44,.25);outline-offset:0}
.gh-form .has-error input,.gh-form .has-error textarea{border-color:var(--gh-red)}
.gh-form__err{color:var(--gh-red-dark);font-size:12.5px}
.gh-form__consent{margin:6px 0 16px;font-size:13.5px}
.gh-form__consent label{font-weight:400;display:flex;gap:8px;align-items:flex-start}
.gh-form__consent input{margin-top:3px}
.gh-form .btn{font-size:15px}

/* Video – po kliknutí se načte přehrávač bez cookies */
.video iframe{position:absolute;inset:0;width:100%;height:100%;border:0;z-index:3}

@media (max-width:1180px){
  .post-grid,.ref-grid{grid-template-columns:repeat(2,1fr)}
}
@media (max-width:900px){
  .sidebar{order:2}
}
@media (max-width:560px){
  .post-grid,.ref-grid,.gh-form__grid{grid-template-columns:1fr}
  .prose .alignleft,.prose .alignright{float:none;margin:10px 0}
  .box--contact{padding-left:18px}
  .box--contact>svg.ico{position:static}
}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
@media print{
  .site-header,.site-footer,.sidebar,.cta-band,.page-hero>.photo,.page-hero__accent{display:none}
  .layout{display:block}
}
.prose .photo img{height:100%}
.prose .btn,.prose .btn:hover{color:#fff;text-decoration:none}
.prose hr{border:0;border-top:1px solid var(--gh-line);margin:1.5em 0}
