/*
 * ================================================================
 *  HOMEVILLA — base override
 *  File: media/templates/site/homevilla/css/user.css
 *
 *  The property character kit (parnu.css / maro.css / hub.css)
 *  is loaded BEFORE this file by index.php via HTMLHelper.
 *  No @import needed here.
 * ================================================================
 */

/* ----------------------------------------------------------------
   1. DESIGN TOKENS — base (overridden by character kit)
----------------------------------------------------------------- */
:root {
  --hv-bg:          #FFFFFF;
  --hv-surface:     #F6F4F1;
  --hv-text:        #1B1B19;
  --hv-text-muted:  #909090;
  --hv-border:      rgba(0,0,0,0.10);
  --hv-border-fine: 0.5px solid rgba(0,0,0,0.10);
  --hv-space-sm:    1rem;
  --hv-space-md:    2rem;
  --hv-space-lg:    3.5rem;
  /* Kit placeholders — replaced by parnu.css / maro.css */
  --hv-accent:        #1B1B19;
  --hv-accent-soft:   #F0F0EE;
  --hv-font-display:  'Inter', system-ui, sans-serif;
  --hv-font-body:     'Inter', system-ui, sans-serif;
  --hv-motif-stroke:  #1B1B19;
}

/* ----------------------------------------------------------------
   2. RESET
----------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

body {
  font-family: var(--hv-font-body, 'Inter', sans-serif);
  font-size: 16px;
  line-height: 1.65;
  color: var(--hv-text);
  background: var(--hv-bg);
  -webkit-font-smoothing: antialiased;
  margin: 0;
}

img { max-width: 100%; height: auto; display: block; }

a {
  color: var(--hv-accent);
  text-decoration: none;
  transition: opacity 0.15s ease;
}
a:hover { opacity: 0.65; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* ----------------------------------------------------------------
   3. HEADER
   Layout: [brand] [.................. nav-group]
   .hv-header-inner is display:flex with NO justify-content override.
   .hv-nav-group has margin-left:auto — pushes it to the far right.
   .hv-nav-group itself is flex row: [nav items] [hairline] [login]
----------------------------------------------------------------- */
.hv-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--hv-bg);
  border-bottom: var(--hv-border-fine);
}

.hv-header-inner {
  display: flex;
  align-items: center;
  /* NO justify-content — auto margin on child does the work */
  padding: 0 clamp(1.25rem, 5vw, 3rem);
  height: 52px;
  width: 100%;
}

/* Brand — left side */
.hv-brand {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  flex-shrink: 0;
}

.hv-parent-mark {
  font-size: 0.65rem;
  font-weight: 300;
  letter-spacing: 0.05em;
  color: var(--hv-text-muted);
  text-transform: lowercase;
  white-space: nowrap;
  text-decoration: none;
}
.hv-brand-sep { color: var(--hv-border); font-weight: 300; }

.hv-property-name {
  font-family: var(--hv-font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--hv-text);
  white-space: nowrap;
  text-decoration: none;
}

.hv-motif { display: flex; align-items: center; margin-left: 0.5rem; }
.hv-motif svg { width: 22px; height: auto; stroke: var(--hv-motif-stroke); }

/* Nav group — right side, pushed by auto margin */
.hv-nav-group {
  display: flex;
  align-items: center;
  margin-left: auto;    /* pushes entire group to the right */
  gap: 0;
}

/* mod_menu renders <ul class="mod-menu mod-list"> — make it inline flex row */
.hv-mainnav { display: contents; } /* nav is transparent — ul is the real container */

.mod-menu.mod-list {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: clamp(1rem, 2.5vw, 1.75rem);
}

.mod-menu.mod-list .nav-item { list-style: none; }

.mod-menu.mod-list a {
  font-family: var(--hv-font-body);
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: var(--hv-text-muted);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  transition: color 0.15s ease, border-color 0.15s ease;
  white-space: nowrap;
}

.mod-menu.mod-list a:hover,
.mod-menu.mod-list .nav-item.active > a,
.mod-menu.mod-list .nav-item.current > a {
  color: var(--hv-accent);
  border-bottom-color: var(--hv-accent);
}

/* Auth block — inline after menu items, separated by hairline */
.hv-nav-auth {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-left: clamp(1rem, 2.5vw, 1.75rem);
  padding-left: clamp(1rem, 2.5vw, 1.75rem);
  border-left: var(--hv-border-fine);
  flex-shrink: 0;
}

.hv-nav-login {
  font-family: var(--hv-font-body);
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.03em;
  color: var(--hv-text-muted);
  text-decoration: none;
  border-bottom: 0.5px solid transparent;
  padding-bottom: 1px;
  transition: color 0.15s ease, border-color 0.15s ease;
  white-space: nowrap;
}
.hv-nav-login:hover { color: var(--hv-accent); border-bottom-color: var(--hv-accent); opacity: 1; }

.hv-nav-welcome {
  font-family: var(--hv-font-body);
  font-size: 0.68rem;
  color: var(--hv-accent);
  letter-spacing: 0.03em;
  white-space: nowrap;
}

.hv-nav-signout {
  font-family: var(--hv-font-body);
  font-size: 0.62rem;
  color: var(--hv-text-muted);
  text-decoration: none;
  border-bottom: 0.5px solid transparent;
  padding-bottom: 1px;
  transition: color 0.15s ease, border-color 0.15s ease;
  white-space: nowrap;
}
.hv-nav-signout:hover { color: var(--hv-text); border-bottom-color: var(--hv-text-muted); opacity: 1; }

/* Mobile burger */
.hv-burger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--hv-text);
  padding: 4px;
  margin-left: auto;
}

/* ----------------------------------------------------------------
   4. GUEST GUIDE STRIP — Option A
   Second sticky row below main header.
   Visible only to logged-in Property Guests / Hosts.
----------------------------------------------------------------- */
.hv-guestnav {
  border-bottom: var(--hv-border-fine);
  background: var(--hv-bg);
  position: sticky;
  top: 52px;
  z-index: 99;
}

.hv-guestnav-inner {
  display: flex;
  align-items: center;
  padding: 0 clamp(1.25rem, 5vw, 3rem);
}

.hv-guestnav-eyebrow {
  font-family: var(--hv-font-body);
  font-size: 0.58rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--hv-text-muted);
  white-space: nowrap;
  padding-right: 1rem;
  margin-right: 0.5rem;
  border-right: var(--hv-border-fine);
  line-height: 2.5rem;
  flex-shrink: 0;
}

.hv-guestnav .mod-menu.mod-list { gap: 0; }

.hv-guestnav .mod-menu.mod-list a {
  font-size: 0.7rem;
  color: var(--hv-text-muted);
  padding: 0 0.85rem;
  line-height: 2.5rem;
  display: block;
  border-bottom: 1.5px solid transparent;
  white-space: nowrap;
}

.hv-guestnav .mod-menu.mod-list a:hover,
.hv-guestnav .mod-menu.mod-list .active > a,
.hv-guestnav .mod-menu.mod-list .current > a {
  color: var(--hv-accent);
  border-bottom-color: var(--hv-accent);
}

/* ----------------------------------------------------------------
   5. GENERIC THIN HERO
   Shown on pages without a specific hero module assigned.
----------------------------------------------------------------- */
.hv-page-hero {
  background: var(--hv-accent);
  height: 120px;
  display: flex;
  align-items: center;
}

.hv-page-hero-inner { padding: 0 clamp(1.25rem, 5vw, 3rem); width: 100%; }

.hv-page-hero-title {
  font-family: var(--hv-font-display);
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  font-weight: var(--font-display-weight, 500);
  font-style: var(--font-display-style, italic);
  color: rgba(255,255,255,0.92);
  margin: 0;
  letter-spacing: var(--display-tracking, 0);
  line-height: 1.1;
}

/* ----------------------------------------------------------------
   6. HERO MODULE
----------------------------------------------------------------- */
.hv-hero-wrap { position: relative; width: 100%; }

.hv-hero.hv-h-full   { min-height: 92vh; }
.hv-hero.hv-h-tall   { min-height: 70vh; }
.hv-hero.hv-h-medium { min-height: 50vh; }
.hv-hero.hv-h-short  { min-height: 30vh; }

.hv-hero {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.hv-hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  opacity: 0;
  transition: opacity 1s ease;
  z-index: 0;
}
.hv-hero-slide.is-active { opacity: 1; z-index: 1; }

.hv-hero-mask { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.hv-hero-mask.mask-dark { background: rgba(0,0,0,0.35); }
.hv-hero-mask.mask-warm { background: rgba(100,50,0,0.30); }
.hv-hero-mask.mask-cool { background: rgba(10,30,90,0.28); }

.hv-hero-text {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(1.5rem,4vw,2.5rem) clamp(1.5rem,5vw,3rem);
}

.hv-hero-eyebrow {
  font-size: 0.6rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.72);
  margin-bottom: 0.75rem;
}

.hv-hero-title {
  font-family: var(--hv-font-display);
  font-size: clamp(2rem,6vw,3.75rem);
  font-weight: 600;
  line-height: 1.06;
  color: #fff;
  margin: 0 0 0.65rem;
  text-shadow: 0 2px 16px rgba(0,0,0,0.3);
}

.hv-hero-tagline {
  font-family: var(--hv-font-display);
  font-size: clamp(0.9rem,1.8vw,1.1rem);
  font-weight: 400;
  font-style: italic;
  color: rgba(255,255,255,0.87);
  max-width: 44ch;
  line-height: 1.7;
  margin: 0;
}

.hv-hero-badge {
  position: absolute;
  right: 1.1rem;
  bottom: 1rem;
  z-index: 5;
  width: 36px;
  height: 36px;
}

.hv-hero-dots {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  gap: 0.4rem;
}

.hv-hero-dots button {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.2s, transform 0.2s;
}
.hv-hero-dots button.is-active {
  background: rgba(255,255,255,0.9);
  transform: scale(1.4);
}

.hv-hero-progress {
  position: absolute;
  bottom: 0; left: 0;
  height: 2px;
  background: rgba(255,255,255,0.55);
  z-index: 5;
  width: 0%;
  transition: width linear;
}

/* Mosaic */
.hv-mosaic { display: grid; width: 100%; }
.hv-mosaic.layout-2x2     { grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; }
.hv-mosaic.layout-3col    { grid-template-columns: 1fr 1fr 1fr; }
.hv-mosaic.layout-featured { grid-template-columns: 2fr 1fr; }
.hv-mosaic.hv-h-full   { min-height: 80vh; }
.hv-mosaic.hv-h-tall   { min-height: 60vh; }
.hv-mosaic.hv-h-medium { min-height: 45vh; }
.hv-mosaic.hv-h-short  { min-height: 28vh; }
.hv-mosaic-cell { overflow: hidden; }
.hv-mosaic-cell img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ----------------------------------------------------------------
   7. PAGE CONTENT
----------------------------------------------------------------- */
.hv-content,
.item-page,
.com-content-article__body {
  max-width: 680px;
  margin: 0 auto;
  padding: clamp(2rem,5vw,3.5rem) clamp(1.25rem,5vw,2rem);
}

.item-page h1, .com-content-article__body h1 {
  font-family: var(--hv-font-display);
  font-size: clamp(1.9rem,5vw,3rem);
  font-weight: 600;
  line-height: 1.1;
  margin-bottom: 0.6rem;
}

.item-page h2, .com-content-article__body h2 {
  font-family: var(--hv-font-display);
  font-size: 1.35rem;
  font-weight: 500;
  margin: 2rem 0 0.6rem;
}

.item-page p, .com-content-article__body p {
  font-size: 0.9rem;
  line-height: 1.8;
  color: #444;
  margin-bottom: 1rem;
}

.item-page ul, .com-content-article__body ul {
  list-style: none;
  padding: 0;
  margin: 0 0 1.25rem;
}

.item-page ul li, .com-content-article__body ul li {
  font-size: 0.9rem;
  line-height: 1.75;
  padding: 0.55rem 0 0.55rem 1.25rem;
  border-bottom: var(--hv-border-fine);
  color: #444;
  position: relative;
}

.item-page ul li::before, .com-content-article__body ul li::before {
  content: "—";
  color: var(--hv-accent);
  position: absolute;
  left: 0;
}

.item-page blockquote, .com-content-article__body blockquote {
  font-family: var(--hv-font-display);
  font-style: italic;
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--hv-text-muted);
  border-left: 1.5px solid var(--hv-accent);
  padding-left: 1rem;
  margin: 1.5rem 0;
}

/* ----------------------------------------------------------------
   8. TWO-COLUMN TEASERS (home + Parnu city sub-page links)
----------------------------------------------------------------- */
.hv-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem,5vw,4rem);
  padding: clamp(2rem,5vw,3.5rem) clamp(1.25rem,5vw,3rem);
}

.hv-col h2 {
  font-family: var(--hv-font-display);
  font-size: 1.3rem;
  font-weight: 500;
  line-height: 1.2;
  margin-bottom: 0.6rem;
  margin-top: 0;
}

.hv-col p {
  font-size: 0.87rem;
  line-height: 1.78;
  color: var(--hv-text-muted);
}

.hv-col .hv-more {
  display: inline-block;
  margin-top: 0.75rem;
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--hv-accent);
  border-bottom: 0.5px solid var(--hv-accent);
  padding-bottom: 1px;
  letter-spacing: 0.03em;
  text-decoration: none;
}

/* ----------------------------------------------------------------
   9. HISTORY STRIP
----------------------------------------------------------------- */
.hv-history {
  border-top: var(--hv-border-fine);
  padding: clamp(2rem,4vw,3rem) clamp(1.25rem,5vw,3rem);
}

.hv-history-label {
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--hv-text-muted);
  display: block;
  margin-bottom: 1rem;
}

.hv-history p {
  font-family: var(--hv-font-display);
  font-style: italic;
  font-size: 1rem;
  line-height: 1.85;
  color: var(--hv-text-muted);
  max-width: 62ch;
}

/* ----------------------------------------------------------------
   10. GLANCE STRIP
----------------------------------------------------------------- */
.hv-glance {
  background: var(--hv-accent-soft);
  padding: 0.85rem clamp(1.25rem,5vw,3rem);
}

.hv-glance ul {
  list-style: none;
  padding: 0; margin: 0;
  display: flex;
  flex-wrap: wrap;
  font-size: 0.72rem;
  color: var(--hv-text-muted);
}

.hv-glance li::before { display: none; }

.hv-glance li:not(:last-child)::after {
  content: "·";
  margin: 0 0.7rem;
  color: var(--hv-accent);
}

/* ----------------------------------------------------------------
   11. FORMS (booking module)
----------------------------------------------------------------- */
.hv-form { width: 100%; }

.hv-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}

.hv-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hv-field label {
  font-size: 0.7rem;
  letter-spacing: 0.04em;
  color: var(--hv-text-muted);
  text-transform: uppercase;
}

.hv-field input,
.hv-field textarea {
  font-family: var(--hv-font-body);
  font-size: 0.82rem;
  color: var(--hv-text);
  background: var(--hv-bg);
  border: var(--hv-border-fine);
  border-bottom: 1px solid var(--hv-border);
  padding: 0.5rem 0.6rem;
  outline: none;
  transition: border-color 0.15s ease;
  /* No border-radius */
}

.hv-field input:focus,
.hv-field textarea:focus {
  border-color: var(--hv-accent);
}

.hv-btn {
  display: inline-block;
  padding: 0.65rem 1.4rem;
  background: var(--hv-accent);
  color: #fff;
  font-family: var(--hv-font-body);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  border: none;
  cursor: pointer;
  transition: opacity 0.15s ease;
  text-decoration: none;
}
.hv-btn:hover { opacity: 0.85; }

/* ----------------------------------------------------------------
   12. FOOTER
----------------------------------------------------------------- */
.hv-footer {
  border-top: var(--hv-border-fine);
  margin-top: 4rem;
}

.hv-footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding: 1.75rem clamp(1.25rem,5vw,3rem);
  font-size: 0.7rem;
  color: var(--hv-text-muted);
}

/* ----------------------------------------------------------------
   13. MOBILE
----------------------------------------------------------------- */
@media (max-width: 780px) {
  .hv-burger { display: flex; }

  .hv-nav-group {
    display: none;
    position: absolute;
    top: 52px;
    left: 0; right: 0;
    flex-direction: column;
    align-items: flex-start;
    background: var(--hv-bg);
    border-bottom: var(--hv-border-fine);
    padding: 0.75rem clamp(1.25rem,5vw,3rem) 1rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
    z-index: 98;
    margin-left: 0;
  }

  .hv-nav-group.is-open { display: flex; }

  .mod-menu.mod-list {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .hv-nav-auth {
    margin-left: 0;
    padding-left: 0;
    border-left: none;
    border-top: var(--hv-border-fine);
    padding-top: 0.75rem;
    margin-top: 0.75rem;
    width: 100%;
  }

  .hv-guestnav { position: static; }
  .hv-two-col  { grid-template-columns: 1fr; gap: 2.5rem; }
  .hv-form-row { grid-template-columns: 1fr; }
  .hv-hero-title { font-size: 1.85rem; }
}

@media (min-width: 781px) {
  .hv-burger { display: none; }
}

/* ----------------------------------------------------------------
   BREADCRUMB — inside thin page hero
----------------------------------------------------------------- */
.hv-page-hero-breadcrumb {
  margin-bottom: 0.35rem;
}

/* Joomla breadcrumb module output */
.hv-page-hero-breadcrumb .breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 0;
  gap: 0.3rem;
}

.hv-page-hero-breadcrumb .breadcrumb-item {
  font-size: 0.62rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
}

.hv-page-hero-breadcrumb .breadcrumb-item a {
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  border-bottom: none;
  opacity: 1;
  transition: color 0.15s ease;
}
.hv-page-hero-breadcrumb .breadcrumb-item a:hover {
  color: rgba(255,255,255,0.85);
  opacity: 1;
}

/* Separator between breadcrumb items */
.hv-page-hero-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
  content: "›";
  margin-right: 0.3rem;
  color: rgba(255,255,255,0.35);
}

/* "You are here:" label — hidden */
.hv-page-hero-breadcrumb .show-path {
  display: none;
}

/* Thin page hero — reduced height to accommodate breadcrumb + title */
.hv-page-hero {
  background: var(--hv-accent);
  min-height: 100px;
  height: auto;
  padding: 1rem 0;
  display: flex;
  align-items: center;
}

/* ----------------------------------------------------------------
   ITEM-PAGE — remove Joomla's default top padding that creates gap
   after the thin page hero
----------------------------------------------------------------- */
.com-content-article.item-page {
  padding-top: 0;
  margin-top: 0;
}

/* ----------------------------------------------------------------
   PAGE HERO — title sizing and overall height
   Should be thin, typographic, not a big display heading
----------------------------------------------------------------- */
.hv-page-hero {
  background: var(--hv-accent);
  padding: 0.85rem 0 1rem;
  min-height: 0;
  height: auto;
  display: flex;
  align-items: flex-start;
  border-bottom: 0.5px solid rgba(0,0,0,0.12);
}

.hv-page-hero-inner {
  padding: 0 clamp(1.25rem, 5vw, 3rem);
  width: 100%;
}

.hv-page-hero-title {
  font-family: var(--hv-font-display);
  font-size: 1.05rem;          /* small — this is a label, not a display heading */
  font-weight: 500;
  font-style: italic;
  color: rgba(255,255,255,0.92);
  margin: 0;
  letter-spacing: 0.02em;
  line-height: 1.3;
}

/* ----------------------------------------------------------------
   ARTICLE — suppress Joomla-rendered title (show_title=0 in params
   should handle this, but belt-and-braces CSS suppression)
----------------------------------------------------------------- */
.com-content-article__header,
.page-header { display: none; }

/* ----------------------------------------------------------------
   HERO — hide slideshow dots and progress bar globally
   Navigation handled by auto-advance only; no user controls shown
----------------------------------------------------------------- */
.hv-hero-dots,
.hv-hero-progress { display: none !important; }

/* ----------------------------------------------------------------
   HERO MOSAIC — fix spacing (was adding unwanted blank area)
   Mosaic hero should be flush with no extra padding
----------------------------------------------------------------- */
.hv-hero.mode-mosaic {
  padding: 0;
  margin: 0;
}

/* ----------------------------------------------------------------
   LOGIN PAGE — ensure thin hero shows even when no hero module
   assigned (com_users login view gets hv-page-hero via index.php)
----------------------------------------------------------------- */
.hv-page-hero {
  display: flex;
  align-items: center;
  min-height: 0;
}

/* ----------------------------------------------------------------
   LOGIN FORM — hide "Sign in with a passkey" button
   Actual class from Joomla WebAuthn plugin: plg_system_webauthn_login_button
----------------------------------------------------------------- */
.plg_system_webauthn_login_button,
button[id*="webauthn"],
button[id*="plg_system_webauthn"],
[class*="webauthn"],
.btn-passkey { display: none !important; }

/* ----------------------------------------------------------------
   BREADCRUMB inside photo hero (mode=single, slideshow, mosaic)
   Same style as page hero breadcrumb but targeting hv-hero-breadcrumb
----------------------------------------------------------------- */
.hv-hero-breadcrumb {
  margin-bottom: 0.4rem;
}

.hv-hero-breadcrumb .breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 0;
  gap: 0.3rem;
}

.hv-hero-breadcrumb .breadcrumb-item,
.hv-hero-breadcrumb .breadcrumb-item a {
  font-family: var(--hv-font-body);
  font-size: 0.6rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  transition: color 0.15s ease;
}

.hv-hero-breadcrumb .breadcrumb-item a:hover {
  color: rgba(255,255,255,0.85);
  opacity: 1;
}

.hv-hero-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
  content: "›";
  margin-right: 0.3rem;
  color: rgba(255,255,255,0.35);
}

/* Hide "You are here:" label */
.hv-hero-breadcrumb .show-path,
.hv-hero-breadcrumb .breadcrumb-item:first-child > span:not([class]) { display: none; }

.hv-hero-wrap { position: relative; width: 100%; overflow: hidden; }

/* Height variants — apply to both hv-hero and hv-hero-wrap (mosaic uses wrap) */
.hv-hero.hv-h-full,   .hv-hero-wrap.hv-h-full   { min-height: 92vh; }
.hv-hero.hv-h-tall,   .hv-hero-wrap.hv-h-tall   { min-height: 70vh; }
.hv-hero.hv-h-medium, .hv-hero-wrap.hv-h-medium { min-height: 50vh; }
.hv-hero.hv-h-short,  .hv-hero-wrap.hv-h-short  { min-height: 30vh; }

/* Mosaic inside wrap — fill the full wrapper height */
.hv-hero-wrap .hv-mosaic {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* ----------------------------------------------------------------
   MOSAIC HERO — elastic horizontal accordion
   All panels in a flex row. Default: equal width.
   Hover: hovered panel grows to 2.5× width, others compress.
   Background-image fills each panel via cover + user-set position.
   Text and mask overlay the entire accordion via position:absolute.
----------------------------------------------------------------- */
.hv-mosaic-accordion {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: row;
  width: 100%;
  height: 100%;
  gap: 2px;
}

.hv-mosaic-panel {
  flex: 1 1 0;
  min-width: 0;
  background-size: cover;
  background-repeat: no-repeat;
  transition: flex 0.45s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
}

/* On hover: expand hovered panel, compress siblings */
.hv-mosaic-accordion:hover .hv-mosaic-panel { flex: 0.4 1 0; }
.hv-mosaic-accordion .hv-mosaic-panel:hover  { flex: 2.5 1 0; }
