/* The landlord site (apps/www pages) inside the platform shell (/verhuren/). Loaded after platform.css and www.css:
   the shell (header, footer) is platform, the page content keeps the www look. Prefix: vh-. */

.vh-page { --w-header: var(--pf-header-h); }

/* shell: platform tokens, www resets must not leak in (www.css styles a, h1-h3, p globally) */
.vh-shell, .vh-header { font-family: var(--pf-font); color: var(--pf-ink); line-height: 1.5; }
.vh-shell h2, .vh-header h2 { font-family: var(--pf-font-head); color: var(--pf-ink); }
.vh-header p, .vh-shell p { margin: 0; }
.vh-header a:hover { text-decoration: none; }

/* header */
.vh-header__inner { grid-template-columns: auto minmax(0, 1fr) auto; }
.vh-nav { display: none; align-items: center; justify-content: center; gap: 2px; min-width: 0; }
@media (min-width: 992px) { .vh-nav { display: flex; } }
.vh-nav > a, .vh-nav__dropdown > button {
  display: inline-flex; align-items: center; gap: 4px; padding: 10px 14px; border: 0; border-radius: 999px;
  background: transparent; font: inherit; font-size: 14px; font-weight: 600; color: var(--pf-ink); cursor: pointer; white-space: nowrap;
}
.vh-nav > a:hover, .vh-nav__dropdown > button:hover, .vh-nav__dropdown > button[aria-expanded="true"] { background: var(--pf-bg-soft); color: var(--pf-ink); }
.vh-nav > a[aria-current="page"] { color: var(--pf-green-dark); }
.vh-nav__dropdown > button .pf-icon { width: 16px; height: 16px; transition: transform .2s; }
.vh-nav__dropdown > button[aria-expanded="true"] .pf-icon { transform: rotate(180deg); }
.vh-nav__menu { border-radius: var(--pf-radius-sm); border-color: var(--pf-line); box-shadow: var(--pf-shadow); padding: 8px; min-width: 300px; }
.vh-nav__item { display: grid; gap: 2px; padding: 10px 12px; border-radius: 8px; white-space: normal; }
.vh-nav__item strong { font-size: 14px; color: var(--pf-ink); }
.vh-nav__item span { font-size: 12.5px; color: var(--pf-ink-soft); }
.vh-nav__item:hover, .vh-nav__item:focus { background: var(--pf-bg-soft); }
.vh-nav__menu .dropdown-divider { border-color: var(--pf-line); }

.vh-header__actions { gap: 8px; }
/* the same three actions as the www header: Inloggen (dropdown), Demo plannen (secondary), Gratis proberen (primary);
   button look = .pf-hbtn in platform.css, shared with the OTA header */
.vh-burger { display: inline-flex; width: 40px; padding: 0; justify-content: center; }
.vh-burger .pf-icon { width: 20px; height: 20px; }
@media (min-width: 992px) { .vh-burger { display: none; } }
/* between 992 and 1199px the menu, the three actions and the language switch do not fit together: no Demo button, tighter menu */
@media (max-width: 1199px) {
  .vh-demo { display: none; }
  .vh-nav > a, .vh-nav__dropdown > button { padding: 10px 9px; font-size: 13.5px; }
}
@media (max-width: 575px) { .vh-header .vh-login { display: none; } .vh-cta { display: none; } }

/* blog: the switch between the articles for guests and for landlords */
.vh-switch { display: inline-flex; gap: 4px; padding: 4px; margin: 8px auto 0; border-radius: 999px; background: var(--w-mist); }
.vh-switch a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 18px; border-radius: 999px; font-weight: 600; font-size: .95rem; color: var(--w-head); text-decoration: none; }
.vh-switch a:hover { color: var(--w-brand-ink); }
.vh-switch a.is-active { background: #fff; color: var(--w-brand-deep); box-shadow: var(--w-shadow); }

/* drawer (www markup + www.js) under the taller platform header */
.vh-drawer { inset: var(--pf-header-h) 0 0; z-index: 1029; }
.vh-drawer summary span { font-weight: 600; }

/* footer: the platform footer, no www heading font or link colour */
.vh-shell .pf-footer { margin-top: 0; }
.vh-shell .pf-footer a { text-decoration: none; }
.vh-shell .pf-footer__heading { font-size: 14px; }

/* the www final CTA sits right above the footer */
.vh-page .w-final { margin-bottom: 0; }
