:root{
  --bg:#050706; --card:#0E1011; --card2:#15171A; --topbar:#0F1112; --foot:#090B0D;
  --line:#23272A; --txt:#F1F2F2; --dim:#9BA1A3; --red:#C8161D; --red2:#E23A3F;
  --w:1520px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--bg);color:var(--txt);font-family:'PT Sans',Arial,sans-serif;font-size:16px;line-height:1.5}
a{color:var(--txt);text-decoration:none}
h1,h2,h3{font-family:Oswald,sans-serif;font-weight:600;margin:0}
img{display:block;max-width:100%}
.wrap{max-width:var(--w);margin:0 auto;padding:0 16px}

/* ---------- верхняя полоса ---------- */
.topbar{background:var(--topbar);border-bottom:1px solid var(--line)}
.topbar .wrap{min-height:46px;display:flex;align-items:center;gap:18px;flex-wrap:wrap}
.lang{display:flex;align-items:center;gap:8px;font-weight:700;font-size:14px}
.lang .flag{width:22px;height:15px;border-radius:2px;overflow:hidden;display:block;box-shadow:0 0 0 1px rgba(255,255,255,.22)}
.lang a{color:var(--dim)}
.lang a.on{color:var(--txt)}
.toplinks{display:flex;gap:20px;flex-grow:1;justify-content:flex-end;flex-wrap:wrap;font-size:14px}
.toplinks a{display:flex;align-items:center;gap:7px;color:var(--txt);padding:6px 0}
.toplinks a:hover{color:var(--red2)}
.toplinks svg{width:16px;height:16px;color:var(--dim)}
.donate{display:flex;align-items:center;gap:8px;background:var(--red);color:#fff!important;font-weight:700;font-size:14px;padding:9px 20px;border-radius:3px}
.donate:hover{background:var(--red2)}
.burger{display:none;font-size:20px;line-height:1;padding:6px 8px;border:1px solid var(--line);border-radius:3px}

/* ---------- первый экран ---------- */
.hero{position:relative;overflow:hidden;border-bottom:1px solid var(--line);background:url('../img/hero-fon.jpg') no-repeat right center/cover;background-color:var(--bg)}
.hero::before{content:'';position:absolute;inset:0;background:linear-gradient(90deg,rgba(5,7,6,.9) 0%,rgba(5,7,6,.78) 26%,rgba(5,7,6,.35) 48%,rgba(5,7,6,0) 66%)}
.hero .wrap{position:relative;z-index:1;min-height:392px;display:flex;align-items:center;gap:40px;padding:34px 16px 40px}
.hero-emb{width:300px;height:300px;flex-shrink:0;border-radius:50%}
.hero-txt{display:flex;flex-direction:column;gap:14px;max-width:620px;min-width:0}
.hero-txt h1{font-size:74px;line-height:1;font-weight:700;letter-spacing:2px;
  background:linear-gradient(180deg,#FFFFFF 0%,#D7D9DA 45%,#8A8E90 100%);
  -webkit-background-clip:text;background-clip:text;color:transparent;text-shadow:0 2px 0 rgba(0,0,0,.35)}
.hero-sub{font-family:Oswald,sans-serif;font-size:21px;letter-spacing:9px;color:#D7D9DA}
.hero-line{width:340px;max-width:100%;height:3px;border-radius:2px;background:linear-gradient(90deg,var(--red) 0%,rgba(200,22,29,0) 100%)}
.hero-motto{margin:0;font-family:Oswald,sans-serif;font-weight:600;font-size:24px;letter-spacing:6px}
.hero-desc{margin:0;font-size:18px;color:#DADCDD;max-width:520px}
.cta{display:inline-flex;align-items:center;gap:12px;align-self:flex-start;background:var(--red);color:#fff!important;
  font-family:Oswald,sans-serif;font-weight:600;font-size:19px;letter-spacing:1px;padding:16px 28px;border-radius:3px}
.cta:hover{background:var(--red2)}
.cta .arr{display:flex;align-items:center;justify-content:center;width:22px;height:22px;border:1px solid rgba(255,255,255,.6);border-radius:2px;font-size:13px}

/* ---------- плитки ---------- */
.tiles{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px;padding:20px 0 14px}
.tile{position:relative;display:flex;flex-direction:column;background:var(--card);border:1px solid var(--line);border-radius:4px;overflow:hidden}
.tile:hover{border-color:var(--red)}
.tile img{width:100%;height:158px;object-fit:cover}
.tile img.fit{object-fit:contain;background:#07090A;padding:6px}
.tile-cap{position:relative;flex-grow:1;background:var(--card2);padding:13px 30px 14px 14px;display:flex;flex-direction:column;gap:3px}
.tile-name{font-family:Oswald,sans-serif;font-weight:600;font-size:20px;line-height:1.1;color:#fff;letter-spacing:.5px;hyphens:auto}
.tile-name.long{font-size:17px;letter-spacing:0}
.tile-sub{font-size:11.5px;color:var(--dim);text-transform:uppercase;letter-spacing:.2px;line-height:1.35}
.tile-arr{position:absolute;right:11px;bottom:13px;color:var(--dim);font-size:19px;line-height:1}

/* ---------- три карточки ---------- */
.row3{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;padding:0 0 26px;align-items:stretch}
.col{display:flex;flex-direction:column;gap:14px;min-width:0}
.col .news-card{flex-grow:1}
.one{display:grid;grid-template-columns:1fr;gap:12px}
.sbtn{display:flex;align-items:center;justify-content:center;gap:10px;background:var(--card2);border:1px solid var(--line);
  border-radius:4px;padding:14px 10px;font-family:Oswald,sans-serif;font-weight:600;font-size:15px;letter-spacing:1px}
.sbtn:hover{border-color:var(--red);color:#fff}
.sbtn svg{width:22px;height:22px;color:var(--red2);flex-shrink:0}
.card{background:var(--card);border:1px solid var(--line);border-radius:4px;overflow:hidden}
.card-h{padding:16px 18px;font-family:Oswald,sans-serif;font-weight:600;font-size:18px;letter-spacing:1.5px;
  border-bottom:1px solid var(--line);display:flex;justify-content:space-between;align-items:center}
.card-h .from-cal{font-family:'PT Sans',sans-serif;font-weight:400;font-size:12.5px;color:var(--dim);letter-spacing:0;text-transform:none}
.card-h .all{font-family:'PT Sans',sans-serif;font-weight:400;font-size:13px;color:var(--dim);letter-spacing:0}
.ev{display:flex;gap:18px;padding:18px}
.ev-date{width:92px;flex-shrink:0;align-self:flex-start;border:1px solid var(--line);border-radius:3px;background:var(--card2);
  display:flex;flex-direction:column;align-items:center;justify-content:center;padding:12px 0;font-family:Oswald,sans-serif}
.ev-date .d{font-size:38px;font-weight:700;line-height:1}
.ev-date .m{font-size:15px;letter-spacing:1px}
.ev-date .y{font-size:13px;color:var(--dim)}
.ev-txt{display:flex;flex-direction:column;gap:9px;min-width:0}
.ev-txt h3{font-size:25px;font-weight:600}
.ev-meta{display:flex;align-items:flex-start;gap:8px;font-size:14.5px;color:#D3D5D6}
.ev-meta svg{width:15px;height:15px;color:var(--red2);flex-shrink:0;margin-top:3px}
.btn-red{display:inline-flex;align-items:center;gap:9px;align-self:flex-start;margin-top:4px;background:var(--red);color:#fff!important;
  font-family:Oswald,sans-serif;font-weight:600;font-size:15px;letter-spacing:1px;padding:11px 20px;border-radius:3px}
.btn-red:hover{background:var(--red2)}
.ev-pic{width:100%;height:190px;object-fit:contain;border-top:1px solid var(--line)}
.news-card{display:flex;flex-direction:column}
.news-card .card-h{display:flex}
.news-card .news-it:hover{background:#121416}
.news-it:hover .nt{color:var(--red2)}
.news-it{display:flex;gap:14px;padding:13px 18px;border-bottom:1px solid var(--line)}
.news-it:last-child{border-bottom:0}
.news-it:hover{background:#121416}
.news-it:hover .nt{color:var(--red2)}
.news-it img{width:86px;height:58px;object-fit:cover;border-radius:2px;flex-shrink:0}
.news-it .vid{width:86px;height:58px;flex-shrink:0;background:var(--card2);border:1px solid var(--line);border-radius:2px;
  display:flex;align-items:center;justify-content:center;color:var(--red2);font-size:17px}
.nd{display:block;font-size:12px;color:var(--dim)}
.nt{display:block;font-weight:700;font-size:15px;margin:2px 0 3px}
.nx{display:block;font-size:13px;color:var(--dim)}
.pop{position:relative;display:flex;flex-direction:column;overflow:hidden}
.pop:hover{border-color:var(--red)}
.pop img{flex-grow:1;width:100%;height:100%;min-height:0;object-fit:cover;object-position:center 24%}
.pop-cap{position:relative;background:var(--card2);padding:13px 30px 14px 14px;display:flex;flex-direction:column;gap:3px}
.pop-cap .tile-arr{right:11px;bottom:13px}
.quote{position:relative;display:flex;align-items:center;padding:26px 24px;min-height:100%}
.quote-pic{position:absolute;top:0;right:0;height:100%;width:52%;object-fit:cover;opacity:.9}
.quote-fade{position:absolute;inset:0;background:linear-gradient(90deg,var(--card) 0%,var(--card) 45%,rgba(14,16,17,.1) 100%)}
.quote-txt{position:relative;display:flex;flex-direction:column;gap:12px;max-width:62%}
.quote-txt p{margin:0;font-family:'PT Serif',serif;font-style:italic;font-size:25px;line-height:1.35}
.quote-line{width:120px;height:3px;border-radius:2px;background:linear-gradient(90deg,var(--red) 0%,rgba(200,22,29,0) 100%)}

/* ---------- подвал ---------- */
footer{background:var(--foot);border-top:1px solid var(--line)}
footer .wrap{display:flex;align-items:center;gap:26px;padding:24px 76px 24px 16px;flex-wrap:wrap}
.f-brand{display:flex;flex-direction:column;gap:2px}
.f-name{font-family:Oswald,sans-serif;font-weight:700;font-size:22px;letter-spacing:1px;color:#fff}
.f-sub{font-size:10px;letter-spacing:3px;color:var(--dim)}
.f-about{margin:0;font-size:14px;color:var(--dim);padding-left:24px;border-left:1px solid var(--line);flex-grow:0}
.f-soc{display:flex;gap:16px;flex-grow:1;justify-content:center}
.f-soc a{color:var(--txt);opacity:.85}
.f-soc a:hover{opacity:1;color:var(--red2)}
.f-soc svg{width:24px;height:24px}
.f-right{display:flex;align-items:center;gap:18px;margin:0 auto;flex-wrap:wrap;justify-content:center}
.f-links{display:flex;gap:16px;flex-wrap:wrap;font-size:13.5px;color:var(--dim)}
.f-links a{color:var(--dim)}
.f-links a:hover{color:var(--txt)}
.up{display:flex;align-items:center;justify-content:center;width:38px;height:38px;border:1px solid var(--line);border-radius:3px;color:var(--dim)}
.up:hover{border-color:var(--red);color:var(--txt)}

/* ---------- узкие экраны ---------- */
@media(max-width:1300px){
  .tiles{grid-template-columns:repeat(3,minmax(0,1fr))}
  .hero-txt h1{font-size:60px}
}
@media(max-width:860px){
  .toplinks{display:none}
  .topbar.open .toplinks{display:flex;justify-content:flex-start;width:100%;padding-bottom:10px}
  .burger{display:block}
  .hero{background-position:70% center}
  .hero::before{background:linear-gradient(180deg,rgba(5,7,6,.72) 0%,rgba(5,7,6,.86) 55%,rgba(5,7,6,.95) 100%)}
  .hero .wrap{min-height:0}
  .hero .wrap{flex-direction:column;align-items:flex-start;gap:18px;padding:22px 16px 28px}
  .hero-emb{width:170px;height:170px}
  .hero-txt h1{font-size:40px;letter-spacing:1px}
  .hero-sub{font-size:14px;letter-spacing:5px}
  .hero-motto{font-size:18px;letter-spacing:3px}
  .hero-desc{font-size:16px}
  .tiles{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  .tile img{height:112px}
  .tile-name{font-size:17px}
  .row3{grid-template-columns:1fr}
  .quote{grid-column:auto}
  .quote-txt{max-width:100%}
  .quote-pic{opacity:.35;width:70%}
  footer .wrap{flex-direction:column;align-items:flex-start;gap:16px;padding-right:16px}
  .f-about{padding-left:0;border-left:0}
  .f-right{margin:0;justify-content:flex-start}
  .f-soc{justify-content:flex-start}
}

/* принудительный мобильный вид по кнопке */
html.mobview body{max-width:430px;margin:0 auto;box-shadow:0 0 0 1px var(--line)}
html.mobview .toplinks{display:none}
html.mobview .topbar.open .toplinks{display:flex;justify-content:flex-start;width:100%;padding-bottom:10px}
html.mobview .burger{display:block}
html.mobview .hero{background-position:70% center}
html.mobview .hero::before{background:linear-gradient(180deg,rgba(5,7,6,.72) 0%,rgba(5,7,6,.86) 55%,rgba(5,7,6,.95) 100%)}
html.mobview .hero .wrap{min-height:0}
html.mobview .hero .wrap{flex-direction:column;align-items:flex-start;gap:18px;padding:22px 16px 28px}
html.mobview .hero-emb{width:170px;height:170px}
html.mobview .hero-txt h1{font-size:40px;letter-spacing:1px}
html.mobview .hero-sub{font-size:14px;letter-spacing:5px}
html.mobview .hero-motto{font-size:18px;letter-spacing:3px}
html.mobview .hero-desc{font-size:16px}
html.mobview .tiles{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
html.mobview .tile img{height:112px}
html.mobview .tile-name{font-size:17px}
html.mobview .row3{grid-template-columns:1fr}
html.mobview .row3 > *,html.mobview .col{height:auto}
html.mobview .row3 > .card .ev-pic{flex:none;height:auto;object-fit:contain}
html.mobview .row3 > .card:first-child{display:flex;flex-direction:column}
html.mobview .row3 > .card:first-child .ev{flex-direction:row}
html.mobview .row3 > .card:first-child .ev-pic{border-left:0;border-top:1px solid var(--line);height:auto;object-fit:contain}
html.mobview .pop img{flex:none;height:300px}
html.mobview .quote{grid-column:auto}
html.mobview .quote-txt{max-width:100%}
html.mobview .quote-pic{opacity:.35;width:70%}
html.mobview footer .wrap{flex-direction:column;align-items:flex-start;gap:16px;padding-right:16px}
html.mobview .f-about{padding-left:0;border-left:0}
html.mobview .f-right{margin:0;justify-content:flex-start}
html.mobview .f-soc{justify-content:flex-start}
html.mobview .wrap{padding-left:12px;padding-right:12px}
.mobsw{display:flex;align-items:center;gap:7px;color:var(--txt);font-size:14px}
.mobsw svg{width:15px;height:15px;color:var(--dim)}
.mobsw:hover{color:var(--red2)}
.mobsw .to-desk{display:none}
html.mobview .mobsw .to-mob{display:none}
html.mobview .mobsw .to-desk{display:inline}

/* видимая обводка при переходе по Tab */
a:focus-visible,button:focus-visible,input:focus-visible{outline:3px solid var(--red2);outline-offset:2px;border-radius:2px}
/* ссылка «к содержанию» для клавиатуры и читалок */
.skip{position:absolute;left:-9999px;top:0;background:var(--red);color:#fff;padding:10px 16px;z-index:50}
.skip:focus{left:8px;top:8px}
h2.card-h{font-size:18px}
h3.tile-name{font-size:20px}
h3.tile-name.long{font-size:17px}
h3.ev-name{font-size:25px;font-weight:600}

/* плитка YouTube: вместо фото — знак канала */
.tile-yt{height:158px;display:flex;align-items:center;justify-content:center;background:#141618;color:var(--red)}
.tile-yt svg{width:76px;height:76px}
.tile:hover .tile-yt{color:var(--red2)}

/* крупный блок «Карта памяти» под новостями */
.mapbig{position:relative;display:block;margin:0 0 26px;border:1px solid var(--line);border-radius:4px;overflow:hidden;background:var(--card)}
.mapbig:hover{border-color:var(--red)}
.mapbig img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center;opacity:.8}
.mapbig-in{position:relative;display:flex;align-items:center;gap:22px;padding:30px 26px;min-height:190px;
  background:linear-gradient(90deg,rgba(5,7,6,.9) 0%,rgba(5,7,6,.72) 45%,rgba(5,7,6,.55) 100%)}
.mapbig-ic{flex-shrink:0;width:64px;height:64px;color:var(--red2)}
.mapbig-ic svg{width:64px;height:64px}
.mapbig-txt{display:flex;flex-direction:column;gap:8px;min-width:0}
.mapbig-name{font-family:Oswald,sans-serif;font-weight:600;font-size:38px;letter-spacing:1px;color:#fff}
.mapbig-sub{font-size:17px;color:var(--dim);max-width:760px}
.mapbig-arr{margin-left:auto;font-size:30px;color:var(--dim)}
@media(max-width:860px){
  .mapbig-in{padding:22px 16px;gap:14px;min-height:0}
  .mapbig-ic,.mapbig-ic svg{width:44px;height:44px}
  .mapbig-name{font-size:26px}
  .mapbig-sub{font-size:15px}
  .mapbig-arr{font-size:24px}
}



/* плитка «Наши медиа»: четыре знака соцсетей */
.tile-media{height:158px;display:flex;flex-wrap:wrap;width:172px;margin:0 auto;gap:14px 20px;justify-content:center;align-content:center;background:#141618}
.tile-media span{flex:0 0 44px;display:flex;align-items:center;justify-content:center;color:var(--dim)}
.tile-media svg{width:44px;height:44px}
.tile-media span:first-child{color:var(--red)}
.tile:hover .tile-media span{color:var(--txt)}
.tile:hover .tile-media span:first-child{color:var(--red2)}
@media(max-width:860px){.tile-media{height:112px;gap:8px 14px;width:118px}.tile-media span{flex:0 0 30px}.tile-media svg{width:30px;height:30px}}

/* три нижних блока одинаковые: одна ширина, одна высота, чуть выше верхних кнопок */
.row3 > *{min-width:0;height:340px;overflow:hidden}
.row3 > .card{display:flex;flex-direction:column}
.row3 > .card .ev{flex-shrink:0}
.row3 > .card .ev-pic{flex:1 1 0;min-height:0;height:auto;object-fit:contain;object-position:center}
.col{height:340px}
.col .news-card{height:100%;overflow:hidden}
.pop img{flex:1 1 0;min-height:0;height:auto}
@media(max-width:860px){
  .row3 > *,.col{height:auto}
  .row3 > .card .ev-pic{flex:none;height:auto;object-fit:contain}
  .pop img{flex:none;height:300px}
}

/* карточка события: текст слева, афиша справа, как на макете */
.ev-meta{margin:0}
.row3 > .card:first-child{display:grid;grid-template-columns:minmax(0,1fr) 38%;grid-template-rows:auto minmax(0,1fr)}
.row3 > .card:first-child .card-h{grid-column:1 / -1}
.row3 > .card:first-child .ev{grid-column:1;grid-row:2;flex-direction:column;align-items:flex-start}
/* афишу не режем: на ней бывают эмблема, иконы и надписи — показываем целиком */
.row3 > .card:first-child .ev-pic{grid-column:2;grid-row:2;width:100%;height:100%;min-height:0;border-top:0;border-left:1px solid var(--line);object-fit:contain;object-position:center;padding:10px 8px}
@media(max-width:860px){
  .row3 > .card:first-child{display:flex;flex-direction:column}
  .row3 > .card:first-child .ev{flex-direction:row}
  .row3 > .card:first-child .ev-pic{border-left:0;border-top:1px solid var(--line);height:auto;object-fit:contain}
}

/* в узкой левой колонке дата — компактная плашка в строку */
@media(min-width:861px){
  .row3 > .card:first-child .ev{gap:10px;padding:14px 16px}
  .row3 > .card:first-child .ev-date{flex-direction:row;align-items:baseline;gap:8px;width:auto;padding:6px 12px}
  .row3 > .card:first-child .ev-date .d{font-size:26px}
  .row3 > .card:first-child .ev-date .m,.row3 > .card:first-child .ev-date .y{font-size:14px}
  .row3 > .card:first-child .ev-txt{gap:6px}
  .row3 > .card:first-child h3.ev-name{font-size:22px}
  .row3 > .card:first-child .ev-meta{font-size:13.5px;line-height:1.4}
}

/* пояснение к новости — одной строкой с многоточием, чтобы три новости влезали */
.news-it > span:last-child{min-width:0}
.nx{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}

/* ---------- первый экран «шлем и дорога» (22.09.2026) ----------
   картинка целиком, во всю ширину; название и девиз — в светлом небе между мотоциклистом и шлемом,
   эмблема — внизу справа, где у художника стоял знак. Откат: убрать класс hero-v2 в index.html */
.hero-v2{aspect-ratio:1280/512;background:url('../img/hero-shlem.jpg') no-repeat center/cover;background-color:var(--bg)}
.hero-v2::before{background:radial-gradient(ellipse 15% 26% at 41% 30%,rgba(255,236,214,.34) 0%,rgba(255,236,214,0) 100%)}
.hero-v2 .wrap{position:static;min-height:0;padding:0;display:block}
.hero-v2 .hero-txt{position:absolute;z-index:1;left:30%;top:12%;width:22%;max-width:none;align-items:center;text-align:center;gap:.7vw}
.hero-v2 .hero-txt h1{font-family:Oswald,sans-serif;font-weight:700;font-size:3.6vw;letter-spacing:.3vw;line-height:1.02;
  background:none;color:#2B1A15;text-shadow:0 1px 0 rgba(255,240,225,.45)}
.hero-v2 .hero-sub{font-size:.95vw;letter-spacing:.42vw;color:#4A2F25}
.hero-v2 .hero-line{width:4.5vw;height:2px;background:#7A1B18}
.hero-v2 .hero-motto{font-family:Oswald,sans-serif;font-weight:600;font-size:1.12vw;letter-spacing:.22vw;line-height:1.3;white-space:nowrap;color:#8E1B1A}
html[lang="de"] .hero-v2 .hero-txt h1{font-size:2.85vw;letter-spacing:.2vw}
html[lang="de"] .hero-v2 .hero-motto{font-size:1vw;letter-spacing:.15vw}
.hero-v2 .hero-emb{position:absolute;z-index:1;right:2.3%;bottom:6%;width:9.5vw;height:9.5vw;box-shadow:0 0 2.4vw rgba(0,0,0,.8)}
@media(max-width:860px){
  .hero-v2{aspect-ratio:auto;background-size:100% auto;background-position:center top;padding-top:40vw}
  .hero-v2::before{display:none}
  .hero-v2 .wrap{position:relative;display:flex;flex-direction:row;align-items:center;gap:16px;padding:18px 16px 22px}
  .hero-v2 .hero-txt{position:static;width:auto;align-items:flex-start;text-align:left;gap:8px}
  .hero-v2 .hero-txt h1{font-family:Oswald,sans-serif;font-size:28px;white-space:normal;color:#F1F2F2;text-shadow:none}
  .hero-v2 .hero-sub{font-size:13px;letter-spacing:4px;color:#D7D9DA}
  .hero-v2 .hero-line{width:120px;background:var(--red)}
  .hero-v2 .hero-motto{font-family:Oswald,sans-serif;font-weight:600;font-size:15px;letter-spacing:1.5px;white-space:normal;color:var(--txt)}
  .hero-v2 .hero-emb{position:static;flex-shrink:0;width:88px;height:88px;box-shadow:none}
  html[lang="de"] .hero-v2 .hero-txt h1{font-size:24px}
  html[lang="de"] .hero-v2 .hero-motto{font-size:13px;letter-spacing:1px}
}
html.mobview .hero-v2{aspect-ratio:auto;background-size:100% auto;background-position:center top;padding-top:172px}
html.mobview .hero-v2::before{display:none}
html.mobview .hero-v2 .wrap{position:relative;display:flex;flex-direction:row;align-items:center;gap:16px;padding:18px 16px 22px}
html.mobview .hero-v2 .hero-txt{position:static;width:auto;align-items:flex-start;text-align:left;gap:8px}
html.mobview .hero-v2 .hero-txt h1{font-family:Oswald,sans-serif;font-size:28px;white-space:normal;color:#F1F2F2;text-shadow:none}
html.mobview .hero-v2 .hero-sub{font-size:13px;letter-spacing:4px;color:#D7D9DA}
html.mobview .hero-v2 .hero-line{width:120px;background:var(--red)}
html.mobview .hero-v2 .hero-motto{font-family:Oswald,sans-serif;font-weight:600;font-size:15px;letter-spacing:1.5px;white-space:normal;color:var(--txt)}
html.mobview .hero-v2 .hero-emb{position:static;flex-shrink:0;width:88px;height:88px;box-shadow:none}
html.mobview[lang="de"] .hero-v2 .hero-txt h1{font-size:24px}
html.mobview[lang="de"] .hero-v2 .hero-motto{font-size:13px;letter-spacing:1px}

/* ---------- первый экран: слайд-шоу фотографий движения (22.09.2026) ----------
   фото сменяются раз в 7 с, название и эмблема — внизу слева на затемнении.
   Откат на картинку со шлемом: копия в rezervnye-kopii/pered-slaidshou-2026-09-22/ */
.hero-v3{aspect-ratio:1600/640;max-height:calc(100vh - 60px);min-height:360px;background:var(--bg)}
.hero-v3::before{z-index:1;background:
  linear-gradient(0deg,rgba(5,7,6,.92) 0%,rgba(5,7,6,.55) 30%,rgba(5,7,6,0) 58%),
  linear-gradient(90deg,rgba(5,7,6,.55) 0%,rgba(5,7,6,0) 45%)}
.hero-v3 .slides{position:absolute;inset:0}
.hero-v3 .slide{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:0;transform:scale(1.001);
  transition:opacity 1.6s ease,transform 9s linear}
.hero-v3 .slide.on{opacity:1;transform:scale(1.06)}
.hero-v3 .wrap{position:absolute;z-index:2;left:0;right:0;bottom:0;min-height:0;display:flex;align-items:center;gap:26px;padding:0 16px 3.2vw}
.hero-v3 .hero-emb{width:clamp(110px,10vw,170px);height:clamp(110px,10vw,170px);box-shadow:0 0 30px rgba(0,0,0,.7)}
.hero-v3 .hero-txt{gap:10px;max-width:none}
.hero-v3 .hero-txt h1{font-size:clamp(40px,4.6vw,74px);text-shadow:none;filter:drop-shadow(0 2px 6px rgba(0,0,0,.6))}
.hero-v3 .hero-sub{font-size:clamp(13px,1.3vw,21px);text-shadow:0 1px 4px rgba(0,0,0,.8)}
.hero-v3 .hero-motto{font-size:clamp(15px,1.6vw,24px);text-shadow:0 1px 4px rgba(0,0,0,.8)}
.hero-v3 .dots{position:absolute;z-index:3;right:24px;bottom:22px;display:flex;gap:8px}
.hero-v3 .dots button{width:26px;height:4px;padding:0;border:0;border-radius:2px;background:rgba(255,255,255,.35);cursor:pointer}
.hero-v3 .dots button.on{background:var(--red2)}
.hero-v3 .dots button:focus-visible{outline:2px solid #fff;outline-offset:3px}
@media(prefers-reduced-motion:reduce){.hero-v3 .slide{transition:none;transform:none}.hero-v3 .slide.on{transform:none}}
@media(max-width:860px){
  .hero-v3{aspect-ratio:auto;max-height:none;min-height:0;padding-top:40vw}
  .hero-v3 .slides{bottom:auto;height:40vw}
  .hero-v3::before{display:none}
  .hero-v3 .wrap{position:relative;flex-direction:row;align-items:center;gap:16px;padding:18px 16px 22px}
  .hero-v3 .hero-emb{flex-shrink:0;width:88px;height:88px}
  .hero-v3 .hero-txt h1{font-size:28px}
  .hero-v3 .hero-sub{font-size:12px;letter-spacing:4px}
  .hero-v3 .hero-motto{font-size:15px;letter-spacing:1.5px}
  .hero-v3 .dots{top:calc(40vw - 20px);bottom:auto;right:12px}
}
html.mobview .hero-v3{aspect-ratio:auto;max-height:none;min-height:0;padding-top:172px}
html.mobview .hero-v3 .slides{bottom:auto;height:172px}
html.mobview .hero-v3::before{display:none}
html.mobview .hero-v3 .wrap{position:relative;flex-direction:row;align-items:center;gap:16px;padding:18px 16px 22px}
html.mobview .hero-v3 .hero-emb{flex-shrink:0;width:88px;height:88px}
html.mobview .hero-v3 .hero-txt h1{font-size:28px}
html.mobview .hero-v3 .hero-sub{font-size:12px;letter-spacing:4px}
html.mobview .hero-v3 .hero-motto{font-size:15px;letter-spacing:1.5px}
html.mobview .hero-v3 .dots{top:152px;bottom:auto;right:12px}
html[lang="de"] .hero-v3 .hero-txt h1{font-size:clamp(34px,3.9vw,64px)}
/* просмотр фотографий во весь экран */
html.lb-open{overflow:hidden}
.lb{position:fixed;inset:0;z-index:200;background:rgba(3,4,4,.975);display:flex;align-items:center;justify-content:center;padding:14px}
.lb[hidden]{display:none}
.lb-ramka{margin:0;max-width:100%;max-height:100%;display:flex;flex-direction:column;align-items:center;gap:10px}
.lb-img{max-width:min(1400px,96vw);max-height:84vh;width:auto;height:auto;border-radius:3px;background:#000;display:block}
.lb-podpis{display:flex;flex-direction:column;align-items:center;gap:3px;text-align:center;max-width:min(900px,92vw)}
.lb-schet{font-family:Oswald,sans-serif;font-weight:600;font-size:13px;letter-spacing:1px;color:var(--red2)}
.lb-text{font-size:14.5px;line-height:1.5;color:#DADCDD}
.lb-knopka{position:absolute;background:rgba(10,12,13,.72);border:1px solid var(--line);color:#fff;border-radius:4px;
  cursor:pointer;line-height:1;display:flex;align-items:center;justify-content:center;padding:0}
.lb-knopka:hover{border-color:var(--red);background:rgba(20,22,24,.9)}
.lb-zakryt{top:14px;right:14px;width:44px;height:44px;font-size:30px}
.lb-nazad,.lb-vpered{top:50%;transform:translateY(-50%);width:48px;height:72px;font-size:38px}
.lb-nazad{left:14px}
.lb-vpered{right:14px}
.lb.odna .lb-nazad,.lb.odna .lb-vpered{display:none}
@media(max-width:620px){
  .lb{padding:8px}
  .lb-img{max-height:74vh}
  .lb-nazad,.lb-vpered{width:40px;height:60px;font-size:30px;top:auto;bottom:16px;transform:none}
  .lb-nazad{left:10px}
  .lb-vpered{right:10px}
  .lb-zakryt{top:10px;right:10px;width:40px;height:40px;font-size:26px}
}
@media print{.lb{display:none}}

/* карточка, где всё написано на самой афише: показываем одну афишу во всю ширину */
.row3 > .card.card-afisha:first-child{display:flex;flex-direction:column}
.row3 > .card.card-afisha:first-child .ev-pic{
  grid-column:auto;width:100%;flex:1 1 0;min-height:0;height:auto;
  object-fit:contain;object-position:center;
  border-left:0;border-top:1px solid var(--line)
}
@media(max-width:860px){
  .row3 > .card.card-afisha:first-child .ev-pic{flex:none}
}
html.mobview .row3 > .card.card-afisha:first-child .ev-pic{flex:none}

/* геолокация из календаря: место мероприятия — ссылка на карту */
.ev-karta{color:inherit;text-decoration:none;border-bottom:1px dotted var(--red2)}
.ev-karta:hover,.ev-karta:focus{color:var(--red2)}
/* карточка без афиши: пустой колонки под картинку не оставляем */
.row3 > .card.card-bez-afishi:first-child{display:flex;flex-direction:column}
.row3 > .card.card-bez-afishi:first-child .ev{flex-direction:row}
