/* Desktop V1 reference alignment. Desktop-only, no mobile changes. */
@media (min-width:1024px) {
 body:has(.screen-home.is-active){background:#f8f5ee}
 .screen-home{max-width:none!important;padding:0!important;color:#273c30}
 .screen-home .warm-hero{
   display:grid;grid-template-rows:76px clamp(190px,16vw,280px) auto auto;
   min-height:0!important;max-width:none!important;margin:0!important;border-radius:0!important;
   box-shadow:none!important;background:#f8f5ee;overflow:hidden;position:relative;
 }
 .screen-home .home-head{grid-row:1;z-index:5;background:#faf7f1;padding:0 max(34px,calc((100vw - 1280px)/2))!important;min-height:76px}
 .screen-home .desktop-home-brand{color:#263e30!important;text-shadow:none!important;font-size:22px}
 .screen-home .desktop-brand-mark{background:transparent;border:0;color:#5c765a}
 .screen-home .desktop-home-nav button{color:#303d33!important;text-shadow:none!important;font-size:15px;font-weight:500}
 .screen-home .desktop-home-nav button[aria-current=page],.screen-home .desktop-home-nav button:hover{border-color:#4f6854}
 .screen-home .hero-menu{display:none}
 .screen-home .warm-hero-art{position:absolute!important;top:76px;left:0;width:100%;height:clamp(190px,16vw,280px)!important;object-fit:cover;object-position:center 47%;filter:saturate(.7) contrast(.92)}
 .screen-home .warm-hero-overlay{display:none!important}
 .screen-home .warm-hero-copy{grid-row:3;max-width:1280px;width:100%;margin:0 auto!important;padding:20px 0 10px!important;color:#293f32}
 .screen-home .home-kicker{display:none}
 .screen-home .warm-hero-copy h1{max-width:none!important;font:normal clamp(42px,4vw,62px)/1.13 Georgia,serif!important;color:#2d4936;text-shadow:none;margin:0}
 .screen-home .warm-hero-copy p{max-width:none!important;font-size:17px!important;line-height:1.5!important;color:#505951;margin:6px 0 0!important;text-shadow:none}
 .screen-home .home-entry-grid{grid-row:4;max-width:1280px;width:100%;margin:0 auto;padding:10px 0 20px!important;gap:16px!important}
 .screen-home .entry-card{min-height:126px;border:1px solid #e5dfd2;border-radius:7px!important;background:#f0ebe2!important;backdrop-filter:none!important;box-shadow:none!important;color:#2d4034}
 .screen-home .entry-card:hover{transform:translateY(-2px)}
 .screen-home .entry-copy strong{font:normal 25px/1.2 Georgia,serif!important}
 .screen-home .entry-copy small{font-size:13px!important}
 .screen-home .entry-card>b{color:#526f57}
 .screen-home .home-paper{max-width:1280px!important;padding:0 0 50px!important}
 .screen-home .home-paper>section{margin-bottom:35px!important}
 .screen-home .home-visit{border:1px solid #e7dfd2;border-radius:8px!important;box-shadow:none!important;padding:18px 24px!important}
 .screen-home .home-section-head h2{font:normal clamp(26px,2.5vw,34px)/1.2 Georgia,serif!important}
 .screen-home .recommend-card{border-radius:7px!important;box-shadow:none!important}
 .screen-home .topic-preview-grid button{border-radius:7px!important}
}
@media(min-width:1024px) and (max-width:1360px){
 .screen-home .home-head,.screen-home .warm-hero-copy,.screen-home .home-entry-grid,.screen-home .home-paper{padding-left:28px!important;padding-right:28px!important}
}
@media(prefers-reduced-motion:reduce){.screen-home .entry-card:hover{transform:none}}

/* Finishing pass: legibility, compact navigation and full-width panorama. */
@media(min-width:1024px){
 .screen-home .warm-hero{isolation:isolate}
 .screen-home .warm-hero-art{z-index:0}
 .screen-home .home-head,.screen-home .warm-hero-copy,.screen-home .home-entry-grid{position:relative;z-index:1}
 .screen-home .desktop-home-nav{min-width:0;gap:clamp(3px,.8vw,13px)}
 .screen-home .desktop-home-nav button{padding-inline:clamp(5px,.6vw,10px);font-size:clamp(12px,.9vw,15px)}
 .screen-home .home-entry-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
 .screen-home .entry-card{min-width:0;grid-template-columns:42px minmax(0,1fr) 18px}
 .screen-home .entry-copy{min-width:0}
 .screen-home .entry-copy strong{font-size:clamp(19px,1.6vw,25px)!important}
 .screen-home .home-paper{min-width:0}
 .screen-home .recommend-row,.screen-home .topic-preview-grid{min-width:0}
 .screen-home .recommend-card{overflow:hidden}
 .screen-home .desktop-home-brand:focus-visible,.screen-home .desktop-home-nav button:focus-visible,
 .screen-home .entry-card:focus-visible,.screen-home .recommend-card:focus-visible,
 .screen-home .topic-preview-grid button:focus-visible{outline:3px solid #a36c2b;outline-offset:3px}
}
@media(min-width:1024px) and (max-width:1150px){
 .screen-home .desktop-home-brand{font-size:18px!important}
 .screen-home .desktop-brand-mark{width:40px;height:40px}
 .screen-home .home-head{gap:8px}
 .screen-home .desktop-home-nav{gap:0}
 .screen-home .desktop-home-nav button{font-size:12px!important;padding-inline:4px}
 .screen-home .entry-card{grid-template-columns:32px minmax(0,1fr) 14px;padding:12px}
 .screen-home .entry-icon{width:32px;height:32px}
}

/* Homepage: cohesive editorial covers for "Начните исследование".
   Existing place-specific photos are retained; no stock replacements. */
@media (min-width:1024px) {
 .screen-home .home-places-section .home-section-head{margin-bottom:17px}
 .screen-home .home-places-section .recommend-row{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:16px!important;overflow:visible!important}
 .screen-home .home-places-section .recommend-card{
  display:block;position:relative;min-width:0!important;width:100%!important;
  height:clamp(220px,22vw,292px)!important;overflow:hidden!important;
  border:1px solid #ded7c9!important;border-radius:9px!important;
  background:#587263!important;box-shadow:0 5px 15px #263d3020!important;
  transition:transform .2s ease,box-shadow .2s ease
 }
 .screen-home .home-places-section .recommend-card img{
  position:absolute;inset:0;width:100%;height:100%;object-fit:cover;
  filter:saturate(.84) contrast(1.02);transition:transform .3s ease
 }
 .screen-home .home-places-section .recommend-card::after{
  content:"";position:absolute;inset:0!important;z-index:2;
  background:linear-gradient(180deg,#13281a08 5%,#13281a35 43%,#142b22df 100%)!important
 }
 .screen-home .home-places-section .recommend-card .recommend-copy{
  position:absolute;left:17px;right:15px;bottom:17px;z-index:3;
  color:#fff;text-align:left
 }
 .screen-home .home-places-section .recommend-copy strong{
  display:block;font:normal clamp(19px,1.65vw,24px)/1.18 Georgia,serif!important;
  text-transform:none;letter-spacing:0;text-shadow:0 2px 5px #10271c88
 }
 .screen-home .home-places-section .recommend-copy small{
  display:block;margin-top:6px;font-size:12px!important;line-height:1.35;
  letter-spacing:0!important;text-transform:none!important;color:#f3f2e9
 }
 .screen-home .home-places-section .recommend-card.no-photo .recommend-fallback{
  display:block;position:absolute;inset:0;z-index:1
 }
 .screen-home .home-places-section .recommend-card.no-photo .recommend-theme-symbol{
  opacity:.24;font-size:90px
 }
 .screen-home .home-places-section .recommend-card:focus-visible{
  outline:3px solid #ad7638;outline-offset:3px
 }
}
@media(min-width:1024px) and (max-width:1150px){
 .screen-home .home-places-section .recommend-row{gap:10px!important}
 .screen-home .home-places-section .recommend-copy strong{font-size:18px!important}
 .screen-home .home-places-section .recommend-card .recommend-copy{left:12px;right:10px;bottom:12px}
}
@media(hover:hover) and (prefers-reduced-motion:no-preference){
 .screen-home .home-places-section .recommend-card:hover{transform:translateY(-3px);box-shadow:0 11px 25px #263d3030!important}
 .screen-home .home-places-section .recommend-card:hover img{transform:scale(1.04)}
}
