/* Selected reference map: no masks, side panels, gradients or colour filters. */
:root{--header-height:78px}
.site-header {
  --nav-gold: #D4A44E;
  --nav-gold-hover: #F2CB78;
  --nav-fill: rgba(12, 30, 46, .68);
  --nav-fill-active: rgba(12, 30, 46, .72);
  --nav-fill-interaction: rgba(12, 30, 46, .74);
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--header-height);
  background: transparent;
  border: 0;
  box-shadow: none;
  backdrop-filter: none;
  pointer-events: none;
}
.header-inner { height: 100%; padding: 0; flex-direction: row; align-items: center; gap: 18px; }
.site-header :is(a, summary) { pointer-events: auto; }
.site-header .brand {
  text-decoration: none;
  text-shadow: 0 1px 3px #15232b, 0 2px 7px rgba(9, 22, 34, .7);
}
.site-header .brand-name { color: #FFFEFB; font-weight: 800; letter-spacing: -.015em; }
.site-header .main-nav { display: flex; flex-wrap: nowrap; align-items: center; gap: 11px; }
.site-header .mobile-site-nav { display: none; }
.site-header :is(.main-nav a, .mobile-site-nav nav a, .mobile-site-nav summary) {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border: 2.5px solid var(--nav-gold);
  border-radius: 999px;
  background: var(--nav-fill);
  color: #FFFEFB;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.25;
  text-decoration: none;
  text-shadow: 0 1px 2px #081c2b, 0 2px 4px rgba(6, 23, 31, .99), 0 0 6px rgba(6, 23, 31, .88);
  transition: border-color .14s ease, color .14s ease;
}
.site-header .main-nav a { padding: 8px 17px; white-space: nowrap; }
.site-header :is(.main-nav a, .mobile-site-nav nav a):is(
  :where([aria-current]:not([aria-current="false"])),
  :where(body.fullscreen-map:not(:has(.catalog-anchor:target))) [data-catalog-nav="home"],
  :where(body:has(#cities:target)) [data-catalog-nav="cities"],
  :where(body:has(#countries-resorts:target)) [data-catalog-nav="countries-resorts"],
  :where(body:has(#tips:target)) [data-catalog-nav="tips"]
) {
  border-color: #F3CD7F;
  border-width: 3px;
  background: var(--nav-fill-active);
  color: #fff;
}
.site-header .mobile-site-nav[open] summary {
  border-color: #F6D49C;
  background: var(--nav-fill-active);
}
.site-header :is(.main-nav a, .mobile-site-nav nav a, .mobile-site-nav summary):hover {
  border-color: var(--nav-gold-hover);
  background: var(--nav-fill-interaction);
  color: #fff;
}
.site-header :is(.main-nav a, .mobile-site-nav nav a, .mobile-site-nav summary):focus-visible {
  background: var(--nav-fill-interaction);
}
.site-header :is(a, summary):focus-visible { outline: 3px solid #FFF1B3; outline-offset: 3px; }
body.site-map{background:#e8eef0;isolation:isolate}
.map-backdrop{position:fixed;inset:0;pointer-events:none}
.map-backdrop{z-index:-2;background-image:url('/assets/hero/H_MAP_SELECTED_BLUE.webp');background-repeat:no-repeat;background-size:cover;background-position:center 49%}
.main-hero{min-height:calc(100svh - var(--header-height));display:flex;align-items:center;width:100%;margin:0;padding:clamp(38px,5vw,76px) 0;background:transparent;border:0;border-radius:0;box-shadow:none}
.main-hero::before,.main-hero::after,.main-hero .hero-copy::before,.main-hero .hero-copy::after{content:none;display:none}
.main-hero .hero-copy{width:min(690px,100%);max-width:100%;padding:20px 8px 20px 6px;background:transparent;border:0;border-radius:0;box-shadow:none;backdrop-filter:none}
.main-hero h1{font-size:clamp(41px,4.25vw,61px);line-height:1.1;max-width:680px;color:#fff;-webkit-text-stroke:.75px rgba(8,25,36,.82);text-shadow:0 2px 4px rgba(5,20,31,.95),0 4px 10px rgba(5,20,31,.68);margin:0 0 19px;letter-spacing:-.033em}
.main-hero p{max-width:615px;font-size:18px;color:#fff;font-weight:600;line-height:1.66;text-shadow:0 1px 2px rgba(5,20,31,.99),0 2px 6px rgba(5,20,31,.90),0 0 12px rgba(5,20,31,.50);margin:0 0 25px}
.main-hero .button.primary{background:#193c58;color:#fff;border-color:#193c58}
.home-sections{padding-top:36px;padding-bottom:42px}
.home-sections .section-head{background:#fff;border:1px solid var(--line);padding:22px 25px;border-radius:18px}
.home-sections .card,.home-sections .panel{background:#fff}
.site-map:not(.article-map-page) .footer{background:#fff;border-radius:13px 13px 0 0;padding:20px}
.kazan-page .article-wrap{display:block;max-width:1080px}
.kazan-page .article-main{max-width:850px;margin:0 auto}
.article-strip{position:sticky;top:var(--header-height);z-index:25;display:flex;gap:8px;align-items:center;padding:9px 10px;background:#fff;border:1px solid #dce7ef;border-radius:14px;box-shadow:0 10px 24px rgba(33,76,100,.09);margin:22px 0}
.strip-items{display:flex;gap:4px;flex:1;overflow-x:auto;overflow-y:hidden;white-space:nowrap;scrollbar-width:thin}
.strip-items a{flex-shrink:0;padding:9px 11px;border-radius:9px;font-size:13px;color:#52667b}
.strip-items a.selected,.mobile-toc-menu a.selected{background:#e1f0f5;color:#075a7b;font-weight:800}
.strip-back,.strip-top{white-space:nowrap;font-weight:750;font-size:12px;padding:9px 5px;color:#22607d}
.mobile-toc{display:none}
.kazan-page .article-body h2[id]{scroll-margin-top:calc(var(--header-height) + 100px)}
@media(max-width:900px){
 :root{--header-height:66px}
 .header-inner { gap: 10px; }
 .site-header .main-nav { display: none; }
 .site-header .mobile-site-nav { display: block; position: relative; margin-left: auto; }
 .site-header .mobile-site-nav summary { list-style: none; width: 46px; min-height: 46px; padding: 0; cursor: pointer; }
 .site-header .mobile-site-nav summary::-webkit-details-marker { display: none; }
 .menu-bars { display: grid; gap: 4px; width: 20px; }
 .menu-bars span { height: 2px; border-radius: 2px; background: #fff; box-shadow: 0 1px 3px rgba(4, 20, 30, .85); }
 .site-header .mobile-site-nav nav {
   position: absolute;
   right: 0;
   top: calc(100% + 12px);
   width: min(282px, calc(100vw - 24px));
   display: grid;
   gap: 10px;
 }
 .site-header .mobile-site-nav nav a { min-height: 48px; padding: 10px 15px; text-align: center; font-size: 15px; }
 .main-hero{padding:36px 0 33px;align-items:flex-end}
 .main-hero .hero-copy{padding:0;max-width:620px}
 .main-hero h1{font-size:clamp(31px,8.6vw,42px);line-height:1.11;margin-bottom:16px}
 .main-hero p{font-size:15px;line-height:1.57}
 .map-backdrop{background-position:49% 48%}
 .home-sections{padding-top:24px}
 .home-sections .section-head{padding:18px 17px}
 .article-strip{flex-wrap:wrap;padding:8px 10px;gap:4px}
 .strip-back,.strip-top{padding:4px 5px;font-size:12px}
 .strip-top{margin-left:auto}
 .strip-items{display:none}
 .mobile-toc{display:block;flex:0 0 100%}
 .mobile-toc summary{display:flex;gap:7px;align-items:center;cursor:pointer;list-style:none;font-size:12px;min-height:32px;color:#547086}
 .mobile-toc summary::-webkit-details-marker{display:none}
 .mobile-toc-current{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex:1;color:#1c5975;font-size:13px}
 .mobile-toc-menu{display:grid;gap:2px;max-height:min(60vh,420px);overflow-y:auto;overscroll-behavior:contain}
 .mobile-toc-menu a{padding:9px;border-radius:9px;font-size:13px;color:#466477}
 .kazan-page .article-body h2[id]{scroll-margin-top:calc(var(--header-height) + 110px)}
}
@media(max-width:390px){.map-backdrop{background-position:49% 46%}.main-hero{padding:28px 0 30px}.main-hero h1{font-size:32px}.main-hero p{font-size:14px;line-height:1.55}.main-hero .button{font-size:14px;width:auto}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto!important}.strip-items{scroll-behavior:auto}}

@media (max-width: 390px) {
  .site-header .brand-logo { width: 40px; height: 40px; }
  .site-header .brand-name { font-size: 17px; }
  .site-header .mobile-site-nav summary { width: 44px; min-height: 44px; }
}
@media (prefers-reduced-motion: reduce) {
  .site-header :is(.main-nav a, .mobile-site-nav nav a, .mobile-site-nav summary) { transition: none; }
}
