/* Frame: page background, banner, three columns and footer. */
body.vh {
  padding-top: 0;
  font: 12px/1.5 var(--vh-font);
  color: var(--vh-text);
  background:
    linear-gradient(180deg, transparent 0, var(--vh-bg) 420px),
    url('../../furias/assets/generated/scenes/surface.png') center top / 1920px auto no-repeat,
    var(--vh-bg);
}
.vh h1, .vh h2, .vh h3 { font-family: var(--vh-font-head); font-weight: 800; letter-spacing: 0; text-wrap: balance; }
.vh .sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* banner */
.vh-banner { position: relative; height: 210px; }
.vh-banner::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 60% 90% at 50% 40%, transparent 30%, #05112299 100%);
}
.vh-banner-in { position: relative; z-index: 1; display: grid; grid-template-columns: var(--vh-side) minmax(0, 1fr) var(--vh-side); gap: 12px; max-width: var(--vh-width); height: 100%; margin: 0 auto; padding: 0 10px; }
.vh-logo { grid-column: 1; justify-self: center; align-self: start; width: 214px; margin-top: 28px; filter: drop-shadow(0 5px 9px #000d); }
.vh-logo img { display: block; width: 100%; max-width: 70vw; height: auto; }
.vh-presence {
  grid-column: 2; align-self: end; min-width: 0; min-height: 34px; margin: 0 12px 14px;
  display: flex; align-items: center; justify-content: center; position: relative;
  background: linear-gradient(180deg, #803025, #5a1e1a 55%, #391511);
  border: 1px solid #080605; box-shadow: 0 0 0 1px #b18a47, 0 0 0 3px #21140f, inset 0 1px 0 #ffffff3d;
}
.vh-presence::before, .vh-presence::after { content: ''; position: absolute; top: 50%; width: 7px; height: 7px; margin-top: -4px; background: var(--vh-gold); border: 1px solid #24150b; transform: rotate(45deg); }
.vh-presence::before { left: -5px; }
.vh-presence::after { right: -5px; }
.vh-online { display: inline-flex; align-items: center; justify-content: center; gap: 7px; padding: 4px 10px; color: var(--vh-gold-soft); font-size: 11px; font-weight: 700; text-decoration: none; text-shadow: 0 1px #180b08; }
.vh-online:hover { color: #fff; }
.vh-online .dot { width: 8px; height: 8px; box-shadow: 0 0 5px #7fd95688; }
.vh-lang { position: absolute; top: 12px; right: 10px; display: inline-flex; align-items: center; gap: 7px; padding: 4px 9px; background: #05112ddd; border: 1px solid var(--vh-gold-line); box-shadow: 0 1px 4px #0009; font-size: 11px; }
.vh-lang a { padding: 0 2px; font-weight: 700; opacity: .7; }
.vh-lang a[aria-current] { opacity: 1; color: var(--vh-gold); text-decoration: underline; }
.vh-menu-toggle { display: none; }

/* three columns */
.vh-frame {
  display: grid; grid-template-columns: var(--vh-side) minmax(0, 1fr) var(--vh-side); gap: 12px; align-items: start;
  max-width: var(--vh-width); margin: -14px auto 0; padding: 0 10px 24px; position: relative; z-index: 2;
}
.vh-main { min-width: 0; display: grid; gap: 12px; }

/* footer */
.vh-foot { border-top: 2px solid var(--vh-gold-line); background: #030b17; color: var(--vh-menu-text); }
.vh-foot-in { display: flex; justify-content: center; gap: 64px; max-width: var(--vh-width); margin: 0 auto; padding: 18px 12px 6px; }
.vh-foot h3 { margin: 0 0 6px; font-size: 13px; color: var(--vh-gold); }
.vh-foot ul { margin: 0; padding: 0; list-style: none; }
.vh-foot a { color: var(--vh-menu-text); text-decoration: none; line-height: 1.9; }
.vh-foot a:hover { color: #fff; text-decoration: underline; }
.vh-copy { margin: 0; padding: 8px 12px 16px; text-align: center; font-size: 11px; color: #8d7f66; }

/* narrow screens: one column, menu becomes a drawer opened from the banner */
@media (max-width: 980px) {
  .vh-frame { grid-template-columns: minmax(0, 1fr); margin-top: 0; }
  .vh-right { order: 3; }
  .vh-left {
    position: fixed; inset: 0 auto 0 0; z-index: 50; width: min(280px, 85vw); overflow-y: auto; padding: 10px;
    background: var(--vh-bg); box-shadow: 0 0 0 100vmax #0009; transform: translateX(-105%); visibility: hidden;
    transition: transform .2s ease, visibility .2s;
  }
  .vh-left.open { transform: none; visibility: visible; }
  .vh-banner { height: 150px; }
  .vh-banner-in { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; }
  .vh-logo { grid-column: 1; align-self: end; justify-self: center; width: 220px; margin: 0 0 12px; }
  .vh-presence { grid-column: 1; position: absolute; top: 55px; left: 12px; right: 12px; bottom: auto; min-height: 29px; margin: 0; }
  .vh-lang { top: 10px; right: 12px; }
  .vh-menu-toggle {
    display: grid; place-items: center; position: absolute; left: 12px; top: 10px; width: 40px; height: 36px;
    background: #05112dcc; border: 1px solid var(--vh-gold-line); border-radius: 3px; cursor: pointer;
  }
  .vh-menu-toggle > span:first-child, .vh-menu-toggle > span:first-child::before, .vh-menu-toggle > span:first-child::after {
    display: block; width: 20px; height: 2px; background: var(--vh-gold); content: ''; position: relative;
  }
  .vh-menu-toggle > span:first-child::before { position: absolute; top: -6px; }
  .vh-menu-toggle > span:first-child::after { position: absolute; top: 6px; }
  .vh-foot-in { flex-wrap: wrap; gap: 24px; }
}
.vh-online { white-space: nowrap; }
@media (max-width: 560px) {
  .vh-banner { height: 140px; }
  .vh-banner-in { padding-bottom: 4px; }
  .vh-logo { width: 205px; margin-bottom: 8px; }
  .vh-presence { top: 52px; left: 10px; right: 10px; }
  .vh-menu-toggle { left: 10px; top: 10px; }
  .vh-lang { right: 10px; }
}
@media (prefers-reduced-motion: reduce) { .vh-left { transition: none; } }
