/* Značkové obsahové stránky. Všechny selektory jsou omezené na .bdmake.
   Barvy a písma ze společného designu; text a odkazy zůstávají v editoru. */
.bdmake { --make-ink:var(--bd-design-ink,#0b171b); --make-green:var(--bd-design-primary,#0b8577); --make-mint:var(--bd-design-mint,#e3f1f0); color:var(--make-ink); max-width:1420px; margin:0 auto; padding-inline:20px; font:18px/1.5 var(--bd-design-body-font,"Source Sans 3",Arial,sans-serif); text-align:left; }
.bdmake *, .bdmake *::before, .bdmake *::after { box-sizing:border-box; }
.bdmake [id] { scroll-margin-top:170px; }
.bdmake h1, .bdmake h2, .bdmake h3 { color:inherit; font-family:var(--bd-design-heading-font,"Exo 2",Arial,sans-serif); font-weight:800; line-height:1.16; text-transform:none; }
.bdmake h2 { margin:0 0 20px; font-size:30px; }
.bdmake h3 { margin:0 0 8px; font-size:24px; }
.bdmake p { margin:0; }
.bdmake a { color:var(--make-green); text-underline-offset:3px; }
.bdmake a:focus-visible { outline:3px solid var(--make-green); outline-offset:4px; }
.bdmake__hero { position:relative; isolation:isolate; overflow:hidden; min-height:clamp(310px,28vw,400px); display:flex; align-items:center; border-radius:5px; background:#eff5f6; }
.bdmake__hero-image { position:absolute; inset:0; z-index:0; width:100%; height:100%; object-fit:cover; object-position:65% center; }
.bdmake__hero::after { content:""; position:absolute; inset:0; z-index:1; background:linear-gradient(90deg,rgba(243,249,250,.98),rgba(243,249,250,.92) 32%,rgba(243,249,250,.62) 45%,transparent 66%); }
.bdmake__hero-copy { position:relative; z-index:2; width:59%; padding:32px 40px 38px; }
.bdmake__logo { display:block; width:200px; height:48px; margin-bottom:16px; object-fit:cover; mix-blend-mode:multiply; }
.bdmake .bdmake__title { margin:0 0 12px; font-size:clamp(30px,3.2vw,46px); line-height:1.08; }
.bdmake__lead { max-width:500px; font-size:20px; }
.bdmake__illustration { position:absolute; z-index:2; bottom:9px; right:12px; color:#fff; font-size:11px; line-height:1.3; text-shadow:0 1px 4px #000; }
.bdmake__actions { display:grid; grid-template-columns:1fr 1fr; gap:18px; margin:22px 0 30px; }
.bdmake__action { position:relative; isolation:isolate; display:flex; align-items:stretch; overflow:hidden; min-height:190px; padding:24px 28px; border:1px solid var(--bd-design-border,#e7ecee); border-radius:5px; background:var(--make-mint); }
.bdmake__action-copy { position:relative; z-index:2; width:70%; display:flex; flex-direction:column; }
.bdmake__action .bdmake__button { margin-top:auto; }
.bdmake__action p { margin:0 0 18px; max-width:340px; font-size:16px; line-height:1.4; }
.bdmake .bdmake__action h2 { font-size:24px; margin:0 0 8px; }
.bdmake__action-image { position:absolute; z-index:0; top:0; right:0; width:45%; height:100%; object-fit:cover; }
.bdmake__action::after { content:""; position:absolute; inset:0; z-index:1; background:linear-gradient(90deg,#e3f1f0 48%,rgba(227,241,240,.9) 58%,rgba(227,241,240,0) 90%); }
.bdmake__action--service { background:#f2f6f6; }
.bdmake__action--service::after { background:linear-gradient(90deg,#f2f6f6 48%,rgba(242,246,246,.9) 58%,rgba(242,246,246,0) 90%); }
.bdmake .bdmake__button { display:inline-flex; justify-content:space-between; align-items:center; gap:14px; width:224px; max-width:100%; min-height:46px; padding:10px 18px; border:1px solid var(--make-green); border-radius:5px; background:var(--make-green); color:#fff; font:700 17px/1.35 var(--bd-design-body-font,"Source Sans 3",Arial,sans-serif); text-decoration:none; white-space:nowrap; }
.bdmake .bdmake__button:hover { background:var(--bd-design-primary-hover,#156c64); border-color:var(--bd-design-primary-hover,#156c64); color:#fff; }
.bdmake .bdmake__button--light { background:white; color:var(--make-green); }
.bdmake .bdmake__button--light:hover { background:var(--make-mint); color:#156c64; }
.bdmake__arrow { flex:none; font:400 23px/1 Arial,sans-serif; }
.bdmake__section-heading { display:flex; align-items:baseline; flex-wrap:wrap; gap:8px 24px; margin-bottom:18px; }
.bdmake .bdmake__section-heading h2 { margin:0; }
.bdmake__section-heading p { font-size:16px; color:#53636b; }
.bdmake__grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:14px; list-style:none; padding:0; margin:0; }
.bdmake__grid > li { min-width:0; margin:0; padding:0; }
.bdmake .bdmake__category { display:flex; height:100%; flex-direction:column; padding:14px 18px; border:1px solid var(--bd-design-border,#e7ecee); border-radius:5px; background:#fff; color:var(--make-ink); text-decoration:none; }
.bdmake .bdmake__category:hover { border-color:#79aaa4; color:var(--make-ink); }
.bdmake__category-image { display:block; width:100%; height:102px; object-fit:contain; margin:0 0 12px; }
.bdmake__category-name { display:block; flex:1; font-size:18px; line-height:1.25; font-weight:700; }
.bdmake__category-action { display:flex; justify-content:space-between; align-items:center; gap:12px; padding-top:12px; color:var(--make-green); font-size:15px; }
.bdmake__grid > li:last-child:nth-child(4n + 1) { grid-column:1 / -1; }
.bdmake__category--wheels { flex-direction:row !important; align-items:center; gap:20px; }
.bdmake__category--wheels .bdmake__category-action { padding:0; }
.bdmake__wheel { display:block; width:64px; height:64px; flex:none; background:#46666a; --make-wheel:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64' fill='none' stroke='black' stroke-width='3'%3E%3Ccircle cx='32' cy='32' r='27'/%3E%3Ccircle cx='32' cy='32' r='16'/%3E%3Ccircle cx='32' cy='32' r='4'/%3E%3Cpath d='m17 9 5 9m25-9-5 9M9 18l9 5M55 18l-9 5M9 46l9-5m37 5-9-5M18 55l5-9m23 9-5-9M32 16v12m16 4H36M32 48V36m-16-4h12'/%3E%3C/svg%3E"); mask:var(--make-wheel) center/contain no-repeat; -webkit-mask:var(--make-wheel) center/contain no-repeat; }
.bdmake__local-nav { display:flex; align-items:center; flex-wrap:wrap; gap:12px 24px; margin:24px 0; padding:16px 0; border-block:1px solid var(--bd-design-border,#e7ecee); font-size:16px; }
.bdmake__local-nav a { text-decoration:underline; }
.bdmake__help { display:grid; grid-template-columns:auto minmax(200px,1fr) minmax(240px,1.3fr) auto; align-items:center; gap:24px; padding:26px; border-radius:5px; background:var(--make-mint); }
.bdmake .bdmake__help h2 { font-size:24px; margin:0; }
.bdmake__help p { font-size:16px; line-height:1.4; }
.bdmake__help-icon { width:38px; height:38px; display:grid; place-items:center; border:2px solid var(--make-green); border-radius:50%; color:var(--make-green); font-size:27px; font-weight:600; }
body.type-page:has(.bdmake) .sidebar-left { display:none; }
body.type-page #content:has(.bdmake) { width:100%; max-width:none; float:none; padding:0; }
body.type-page #content .content-inner:has(.bdmake) { width:100%; max-width:none; padding:0 0 38px; background:transparent; }
body.type-page .pageArticleDetail:has(.bdmake) { width:100%; max-width:none; margin:0; padding:0; border:0; background:transparent; }
body.type-page .pageArticleDetail:has(.bdmake) > [itemprop="about"] { width:100%; max-width:none; }
body.type-page .pageArticleDetail:has(.bdmake) > header[hidden] { display:none; }
body.type-page .content-inner:has(.bdmake) > .discussionContainer,
body.type-page .content-inner:has(.bdmake) > h2:has(+ .discussionContainer) { display:none; }
@media(max-width:1199px) {
 .bdmake__hero-copy { width:64%; padding:28px; }
 .bdmake__action { padding:22px; }
 .bdmake__action-copy { width:75%; }
 .bdmake h3 { font-size:22px; }
 .bdmake__help { grid-template-columns:38px 1fr auto; gap:16px; }
 .bdmake__help p { grid-column:2; }
 .bdmake__help .bdmake__button { grid-column:3; grid-row:1 / 3; }
}
@media(max-width:991px) {
 .bdmake__hero-copy { width:68%; }
 .bdmake__grid { grid-template-columns:repeat(3,minmax(0,1fr)); }
 .bdmake__grid > li:last-child { grid-column:1 / -1; }
 .bdmake__action { padding:20px; }
 .bdmake__action-copy { width:100%; }
 .bdmake__action-image { opacity:.3; }
 .bdmake__action::after { background:linear-gradient(90deg,#e3f1f0 30%,rgba(227,241,240,.85) 70%,rgba(227,241,240,.1)); }
 .bdmake__action--service::after { background:linear-gradient(90deg,#f2f6f6 30%,rgba(242,246,246,.85) 70%,rgba(242,246,246,.1)); }
}
@media(max-width:575px) {
 .bdmake { font-size:16px; padding-inline:0; }
 .bdmake [id] { scroll-margin-top:150px; }
 .bdmake h2 { font-size:25px; }
 .bdmake__hero { display:block; min-height:0; }
 .bdmake__hero-copy { width:100%; padding:22px 18px 16px; background:#eff5f6; }
 .bdmake__hero-image { position:relative; display:block; height:160px; object-position:right center; }
 .bdmake__hero { display:flex; flex-direction:column-reverse; align-items:stretch; }
 .bdmake__hero::after { display:none; }
 .bdmake__logo { width:160px; height:38px; margin-bottom:12px; }
 .bdmake .bdmake__title { font-size:30px; }
 .bdmake__lead { font-size:17px; }
 .bdmake__actions { grid-template-columns:1fr; gap:12px; margin:16px 0 24px; }
 .bdmake__action { min-height:158px; padding:20px; }
 .bdmake__action-copy { width:82%; }
 .bdmake__action-image { opacity:1; width:48%; }
 .bdmake__action p { font-size:15px; }
 .bdmake__grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
 .bdmake .bdmake__category { padding:12px; }
 .bdmake__category-image { height:80px; margin-bottom:10px; }
 .bdmake__category-name { font-size:16px; }
 .bdmake__category-action { font-size:14px; }
 .bdmake__category--wheels { gap:12px; flex-wrap:wrap; }
 .bdmake__category--wheels .bdmake__category-action { margin-left:76px; width:calc(100% - 76px); }
 .bdmake__help { grid-template-columns:38px 1fr; padding:20px; gap:14px; }
 .bdmake .bdmake__help h2 { font-size:23px; }
 .bdmake__help p { grid-column:1 / -1; }
 .bdmake__help .bdmake__button { grid-column:1 / -1; grid-row:auto; }
 .bdmake__local-nav { font-size:15px; gap:10px 20px; }
}
