/* owner-r6.css, круг 6 (06.11.2026). Источник: tools/owner_review_2026_11/r6_assets, не править на staging. */

/* заголовок: принудительные переносы только на широких экранах, на планшетах текст переносится сам («100%» и «a Canadian» держит неразрывный пробел) */
@media (max-width:1199.98px){
  html body section.hero:not(#_r6) h1 br.hb{display:none!important}
}

/* планшет вертикально: белый блок над кнопками, фото и печать справа, город под кнопками */
@media (min-width:700px) and (max-width:1199.98px) and (orientation:portrait){
  html body section.hero:not(#_r6) .hcol{display:flex!important;flex-direction:column!important}
  html body section.hero:not(#_r6) .hcol>h1{order:1!important}
  html body section.hero:not(#_r6) .hcol>.lede{order:2!important}
  html body section.hero:not(#_r6) .hcol>.hero-bul{order:2!important}
  html body section.hero:not(#_r6) .hcol>.trust-card{order:3!important;margin-top:18px!important}
  html body section.hero:not(#_r6) .hcol>.actions{order:4!important;margin-top:22px!important}
  html body section.hero:not(#_r6):not(.navhero):has(>.figure) .skyline{left:0!important;right:auto!important;top:auto!important;bottom:-16vw!important;width:58vw!important;height:auto!important;transform:none!important}
  html body section.hero:not(#_r6):not(.navhero):has(>.figure) .hcol{padding-bottom:calc(16vw + 18px)!important}
  [dir=rtl] body section.hero:not(#_r6):not(.navhero):has(>.figure) .skyline{left:auto!important;right:0!important}
}
@media (min-width:700px) and (max-width:959.98px) and (orientation:portrait){
  /* места под городом нет: кнопки и фото важнее */
  html body section.hero:not(#_r6):not(.navhero):has(>.figure) .skyline{display:none!important}
  html body section.hero:not(#_r6):not(.navhero):has(>.figure) .hcol{padding-bottom:18px!important}
  html body section.hero:not(#_r6):not(.navhero):has(>.figure) .hcol .assoc{display:grid!important;grid-template-columns:repeat(4,1fr)!important;gap:12px 10px!important;justify-items:center!important}
  html body section.hero:not(#_r6):not(.navhero):has(>.figure) .hcol .assoc img{width:auto!important;height:36px!important;max-width:100%!important;object-fit:contain!important}
  html body section.hero:not(#_r6):not(.navhero):has(>.figure) .hcol .assoc img[alt="ATIM"]{height:36px!important}
  html body section.hero:not(#_r6):not(.navhero):has(>.figure) .hcol .certnote{font-size:13px!important;line-height:1.35!important;margin-top:10px!important}
  html body section.hero:not(#_r6):not(.navhero):has(>.figure) .trust-card{padding:14px 16px!important}
  html body section.hero:not(#_r6):not(.navhero):has(>.figure) .wrap{grid-template-columns:minmax(0,calc(52vw - 16px))!important;padding-top:24px!important}
  html body section.hero:not(#_r6):not(.navhero):has(>.figure) .wrap>*{max-width:calc(52vw - 16px)!important}
  html body section.hero:not(#_r6):not(.navhero):has(>.figure) h1{font-size:clamp(30px,4.5vw,38px)!important;line-height:1.16!important}
  html body section.hero:not(#_r6):not(.navhero):has(>.figure) .lede{font-size:18px!important;line-height:1.38!important;margin:14px 0 6px!important}
  html body section.hero:not(#_r6):not(.navhero):has(>.figure) .hcol .actions{flex-direction:column!important;align-items:flex-start!important}
  html body section.hero:not(#_r6):not(.navhero):has(>.figure) .hcol .actions .btn{width:100%!important;box-sizing:border-box!important;text-align:center!important;justify-content:center!important}
  html body section.hero:not(#_r6):not(.navhero)>.figure{position:absolute!important;left:37.4vw!important;right:auto!important;top:auto!important;bottom:0!important;width:112vw!important;max-width:none!important;height:auto!important;margin:0!important}
  html body section.hero:not(#_r6):not(.navhero)>.figure .photo-crop{height:auto!important;aspect-ratio:1008/998!important}
  html body section.hero:not(#_r6):not(.navhero)>.figure .seal{left:calc(16% - 12px)!important;right:auto!important;top:auto!important;bottom:39%!important;margin-top:0!important}
  [dir=rtl] body section.hero:not(#_r6):not(.navhero)>.figure{left:auto!important;right:37.4vw!important}
  [dir=rtl] body section.hero:not(#_r6):not(.navhero)>.figure .seal{left:auto!important;right:calc(16% - 12px)!important}
}

/* подзаголовок и список под ним: межстрочный плотнее, отступ перед списком настоящий (было -12px: список налезал на абзац) */
@media (max-width:959.98px),(max-height:500px){
  html body section.hero:not(#_r6) .lede{line-height:1.32!important}
  html body section.hero:not(#_r6) .hcol>.hero-bul{margin-top:8px!important}
}

/* навигаторы, экраны от 640 (кроме телефона горизонтально): раскладка потоком на всех языках, как в английской; длинный заголовок сдвигает кнопки, а не наезжает на них */
@media (min-width:640px) and (min-height:501px){
  .hero.navhero>.navboard:not(#_r6){display:grid!important;grid-template-columns:160px 160px 160px!important;column-gap:80px!important;row-gap:12px!important;justify-content:start!important;align-content:start!important;box-sizing:border-box!important;height:auto!important;min-height:0!important;padding:80px 20px 44px!important}
  .hero.navhero>.navboard:not(#_r6) h1{position:static!important;grid-column:1/-1!important;width:auto!important;max-width:min(835px,62vw)!important;margin:0 0 26px!important;font-size:clamp(36px,3.7vw,54px)!important}
  .hero.navhero>.navboard:not(#_r6) a.navbtn{position:static!important;width:auto!important;height:auto!important;min-height:44px!important;padding:6px 10px!important}
  .hero.navhero>.navboard:not(#_r6) .nb1{grid-column:1!important;grid-row:2/5!important}
  .hero.navhero>.navboard:not(#_r6) .nb2{grid-column:2!important;grid-row:2/5!important}
  .hero.navhero>.navboard:not(#_r6) .nb3{grid-column:3!important;grid-row:2!important}
  .hero.navhero>.navboard:not(#_r6) .nb4{grid-column:3!important;grid-row:3!important}
  .hero.navhero>.navboard:not(#_r6) .nb5{grid-column:3!important;grid-row:4!important}
  .hero.navhero>.navboard:not(#_r6) .nb6{grid-column:1/3!important;grid-row:5!important;margin-top:18px!important;justify-self:start!important;width:276px!important}
}
@media (min-width:640px) and (min-height:501px) and (max-height:700px){
  .hero.navhero>.navboard:not(#_r6){padding-top:28px!important}
}
/* навигаторы до 1200: колонки плотнее, как в исходной вёрстке, иначе третья колонка упирается в печать */
@media (min-width:640px) and (max-width:1199.98px) and (min-height:501px){
  .hero.navhero>.navboard:not(#_r6){column-gap:24px!important;padding-left:10px!important;padding-right:10px!important}
}
/* навигаторы, телефон горизонтально: все 6 кнопок в первом экране */
@media (min-width:640px) and (max-height:500px){
  .hero.navhero>.navboard:not(#_r6){display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:8px!important;width:auto!important;margin:0!important;box-sizing:border-box!important;height:auto!important;min-height:0!important;padding:10px 16px 16px!important;align-content:start!important}
  .hero.navhero>.navboard:not(#_r6) h1{position:static!important;grid-column:1/-1!important;width:auto!important;margin:0 0 2px!important;font-size:24px!important;line-height:1.16!important}
  .hero.navhero>.navboard:not(#_r6) a.navbtn{position:static!important;width:auto!important;height:62px!important;min-height:0!important;margin:0!important;padding:0 10px!important;font-size:13px!important;line-height:1.25!important;border-radius:22px!important}
}

/* навигаторы, телефон вертикально: кнопки столбиком в порядке страницы */
@media (max-width:639.98px){
  .hero.navhero>.navboard:not(#_r6){display:flex!important;flex-direction:column!important;gap:12px!important;width:auto!important;margin:0!important;box-sizing:border-box!important;height:auto!important;min-height:0!important;padding:24px max(10px,calc(50vw - 150px)) 28px!important}
  .hero.navhero>.navboard:not(#_r6) h1{position:static!important;width:auto!important;margin:0 0 6px!important}
  .hero.navhero>.navboard:not(#_r6) a.navbtn{position:static!important;width:auto!important;height:auto!important;min-height:44px!important;margin:0!important;padding:6px 10px!important;line-height:1.3!important}
}

/* страницы бумажных копий: заголовок и все кнопки-ссылки в первом экране, шапка на месте */
@media (max-width:480px){
  .pvtop.pvtop:not(#_r6){padding-top:12px!important}
  .pvtop:not(#_r6) .pvhead{margin-bottom:12px!important}
  .pvtop:not(#_r6) .pvhead h1{font-size:22px!important;line-height:1.24!important;padding-bottom:0!important}
  .pvtop:not(#_r6) .pvnav{gap:6px 8px!important;margin-top:0!important}
}
@media (min-width:640px) and (max-height:500px){
  .pvtop.pvtop:not(#_r6){padding-top:8px!important}
  .pvtop:not(#_r6) .pvhead{margin-bottom:8px!important}
  .pvtop:not(#_r6) .pvhead h1{font-size:21px!important;line-height:1.22!important;max-width:none!important;padding-bottom:0!important}
  .pvtop:not(#_r6) .pvnav{gap:6px 8px!important;margin-top:0!important}
}
