/* Front page: Flickity pagination dots are intentionally disabled. */
body.home .flickity-page-dots,
body.home .flickity-page-dots {
  display: none !important;
}

/* Extracted from Forside-Template.php; rule order preserved. */

/* ---------- Core UI polish (2025) ---------- */
.card { border-radius: 20px; border: none !important; }
.col-lg-3 a, .carousel-cell a { text-decoration: none; color: inherit; }
.col-lg-3:hover, .card:hover { transform: translateY(-4px); transition: transform .35s ease; z-index:1; }





/* Hero */
.hero-wrap { padding: 20px; }
.hero {
  height: 680px; border-radius: 32px; position: relative; overflow: hidden;
  background: url("https://findensaunagus.dk/wp-content/uploads/2025/08/sauna.jpg") center/cover no-repeat;
  display:flex; align-items:center; justify-content:center;
}







.hero::after { content:""; position:absolute; inset:0; background: rgba(10,20,40,.45); }
.hero-content { position:relative; z-index:1; text-align:center; padding:24px; max-width:1100px; width:100%; }

.hero-search {
    max-width: 715px;
    margin: 35px auto 0;
}

.hero-search .form-control {
    border-radius: 999px !important;
    padding: 18px 22px;
    height: 54px;
    margin-right: 10px;
}
.hero-cta .btn { border-radius:50px; padding:14px 22px; font-weight:700; }

/* Sauna cards */


















/* Flickity */






@media (max-width: 991.98px){

.display-4 {
        font-size: 1.8rem;
    }

  .card-title { font-size:1.25rem; }



.hero-wrap {
    padding: 0;
}

.hero {
    height: 580px;
    border-radius: 0;

}
}






.sgg-inner-carousel .carousel-item > img,
.sgg-inner-carousel .carousel-item > picture,
.sgg-inner-carousel .carousel-item > .wp-post-image,
.sgg-inner-carousel .carousel-item > .attachment-large,
.sgg-inner-carousel .carousel-item > .d-block.w-100 {
  height: 230px; /* matcher dit kald sgg_render_saunagus_card(..., 230) */
  object-fit: cover;
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
}


.category-link { background:transparent; transition:border .3s ease-in-out;  border-radius:8px; }
.category-link:hover { border:1.5px solid #000; background:#fff; }




.text-highlight1 {
    background: linear-gradient(to bottom, transparent 55%, #ef4c4b 55%, #ef4c4b 92%, transparent 92%);
    background-size: 0% 100%;
    background-repeat: no-repeat;
    background-position: left;
    color: inherit;
    font-weight: 700;
    margin: 0 -.05em;
    padding: 0 .05em;
    display: inline-block;
    animation: highlight 1s ease-in-out forwards;
    /* optional: smoothness hints */
    will-change: background-size;
}

/* Animate the background fill */
@keyframes highlight {
    to { background-size: 100% 100%; }
}



/* Mobil: fixed hero bagved + gennemsigtig spacer, så indhold kører OVER */
@media (max-width: 767px) {
  /* Hero bliver bagved */
  .hero-wrap {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1;
  }
  .hero {
    height: 580px; /* mobilhøjde */
  }

  /* Spacer: blot gennemsigtig højde */
    .hero-spacer {
        height: 525px;
        background: transparent;
        pointer-events: none;
    }

  /* Alt EFTER spaceren får baggrund, så det dækker hero'en */
  .hero-spacer ~ section,
  .hero-spacer ~ div,
  .hero-spacer ~ * {
    position: relative;
    z-index: 2;
    background: #faf9f5; /* kun her dækker farven heroen */
  } 
}
.search-btn-circle {
    position: absolute;
    top: 50%;
    right: 12px;
    transform: translateY(-50%);
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: none;
    background-color: #000;
    color: #fff;
    display: flex
;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color .3s ease;
    z-index: 9999;
}

.search-btn-circle:hover {
  background-color: #333;
}

.search-btn-circle i {
  font-size: 1.1rem;
  line-height: 1;
}

/* Desktop-only: fixed hero behind content */
@media (min-width: 992px) {
  /* Keep the hero area fixed behind the page */
  .hero-wrap {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1;             /* behind the later sections */
  }

  /* Make it edge-to-edge and tall */
  .hero {
    height: 680px;          /* keep your desktop height */
    border-radius: 0px;       /* avoid rounded corners when fixed full width */
  }

  /* Transparent spacer so content scrolls over the hero */
  .hero-spacer {
    height: 680px;          /* must match .hero height */
    background: transparent;
    pointer-events: none;
  }

  /* Everything after spacer should cover the hero (like mobile) */
  .hero-spacer ~ section,
  .hero-spacer ~ div,
  .hero-spacer ~ * {
    position: relative;
    z-index: 2;
    background: #faf9f5;    /* your page background */
  }
.hero-wrap {
    padding: 0;
}



.hero {
    overflow: hidden; /* so the scaled bg doesn’t spill outside the radius/edges */
  }
  .hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: inherit;        /* reuse the same background image you already set on .hero */
    background-size: cover;
    background-position: center;
    transform-origin: center center;
    transform: scale(var(--hero-zoom, 1));
    z-index: 0;                 /* stays under your ::after overlay and content */
    will-change: transform;
  }
  /* ensure hero content stays above the zoom layer */
  .hero > * {
    position: relative;
    z-index: 1;
  }


#forside-header {
    margin-top: 30px !important;
    margin: 0px;
}
}

/* Zoom the hero background on all viewports */
.hero { 
  overflow: hidden;                 /* clip the scaled layer */
  position: relative;               /* ensure pseudo-elements position correctly */
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: inherit;              /* reuse the .hero background image */
  background-size: cover;
  background-position: center;
  transform-origin: center center;
  transform: scale(var(--hero-zoom, 1));  /* 1 → 1.1 via JS */
  z-index: 0;                       /* sits under your existing .hero::after */
  will-change: transform;
}
/* keep all hero children above the zoom layer */
.hero > * { 
  position: relative; 
  z-index: 1; 
}


.hero-content {
  transition: opacity 0.1s linear; /* smooth fade on scroll */
  will-change: opacity;
}


#overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 999; /* Much higher than z-index: 2 */
}
.hero-search, 
.hero-search .form-control,
.hero-search input {
    position: relative;
    z-index: 1000;
}
.bi-search{
    z-index: 9999;
}

#sog {
    max-width: 720px !important;
    padding: 0.375rem 0.75rem;
    border-radius: 10px;
    margin-right: 0px !important;
    margin-left: 0px;
    border: none;
    background-color: #fff !important;
}

:root{
    --promo-bg:#fff;
    --promo-radius:20px;
    --cell-gap:16px;
  }
  .blog-carousel .carousel-cell{
    display:block;
    text-decoration:none;
    color:inherit;
    background:var(--promo-bg);
    border-radius:var(--promo-radius);
    box-shadow:0 4px 16px rgba(0,0,0,.08);
    overflow:hidden;
    margin-right:var(--cell-gap);
    width:85vw;
  }
  @media (min-width:576px){ .blog-carousel .carousel-cell{ width:60vw; } }
  @media (min-width:768px){ .blog-carousel .carousel-cell{ width:50%; } }
  @media (min-width:992px){ .blog-carousel .carousel-cell{ width:33.3%; } }

  .promo-card{
    display:grid;
    grid-template-columns: 1fr 45%;
    min-height:200px;
  }
  @media (max-width:767.98px){
    .promo-card{ grid-template-columns: 1fr; }
  }
.promo-text {
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0px;
}
.promo-title {
    margin: 0;
    font-size: 1.35rem;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: .2;
}
  .promo-cta{
    font-weight:600;
    display:inline-flex;
    align-items:center;
    gap:.5rem;
  }
  .promo-cta .arrow{ transition:transform .2s ease; }
  .carousel-cell:hover .arrow{ transform:translateX(3px); }
  .promo-media{
    position:relative;
    min-height:180px;
  }
  .promo-media img{
    position:absolute;
    inset:0;
    width:100%;
    height:100%;
    object-fit:cover;
  }
  .flickity-slider .carousel-cell:last-child{ margin-right:0; }



.heros-wrap{
      position: relative;
      border-radius: var(--hero-radius);
      overflow: hidden;
    }

    /* Højden tilpasses skærm – mobil lavere, desktop højere */
    .heros-media{
      width: 100%;
      height: 56vh;                /* mobil */
      object-fit: cover;
      display: block;
    }
    @media (min-width: 768px){
      .heros-media{ height: 72vh; } /* tablet/desktop */
    }

    /* Overlay-kortet */
    .heros-card{
      position: absolute;
      left: 2rem;
      bottom: 2rem;
      border-radius: 20px;
      padding: 2rem;
      max-width: min(560px, 86vw);
      box-shadow:
        0 2px 6px rgba(0,0,0,.05),
        0 10px 30px rgba(0,0,0,.12);
    background-color: #faf9f5;
    }

    .heros-title{
      line-height: 1.05;
      letter-spacing: .2px;
      margin: 0 0 .35rem 0;
      font-size: clamp(28px, 4.2vw, 48px); /* skalerer pænt */
      color: #1f2937; /* mørk */
    }

    .heros-subtitle{
      line-height: 1.15;
      font-size: clamp(22px, 3.3vw, 40px);
      color: #1f2937;
      margin-bottom: 1rem;
    }

    .heros-text{
      font-size: clamp(14px, 1.6vw, 18px);
      color: #2e3241;
      margin-bottom: 1.25rem;
    }

    .btn-heros{
      border-radius: 999px;
      padding: .9rem 1.4rem;
      font-weight: 600;
    }

    /* Mobil: centrér kortet og giv lidt luft fra kanter */
    @media (max-width: 575.98px){
      .heros-card{
        left: 1rem;
        right: 1rem;
        bottom: 1rem;
        max-width: unset;
        padding: 1.4rem;
      }
    }
/* --- Autocomplete (kategori-forslag) --- */
.sgg-suggest{
  position:absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 58px; /* så den ikke går ind under cirkelknappen */
  background:#fff;
  border:1px solid #e5e7eb;
  border-radius:12px;
  box-shadow:0 10px 30px rgba(0,0,0,.10);
  z-index: 1001; /* over overlay/input */
  max-height: 320px;
  overflow:auto;
  display:none;
}
.sgg-suggest.open{ display:block; }

.sgg-suggest-item{
  padding:12px 14px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:.75rem;
  cursor:pointer;
  user-select:none;
  text-decoration:none;
  color:#111;
}
.sgg-suggest-item:hover,
.sgg-suggest-item[aria-selected="true"]{
  background:#f8f9fa;
}
.sgg-suggest-item .label{
  font-weight:600;
}
.sgg-suggest-item .meta{
  font-size:.85rem;
  color:#6c757d;
}

/* Mobil: brug fuld bredde */
@media (max-width: 575.98px){
  .sgg-suggest{
    left: 0;
    right: 0;
    border-radius: 12px;
  }
}


.hero > * { position:relative; z-index:1; }

#sgg-suggest{
  position: fixed;
  display: none;
  z-index: 9999;
  background: #fff;
  border: 1px solid #ececec;
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  overflow: hidden;
  max-height: 320px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

#sgg-suggest.open{
  display: block;
}

.sgg-suggest-item{
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  width: 100%;
  padding: 12px 14px;
  background: #fff;
  color: #111;
  text-decoration: none;
  text-align: left;
  border-bottom: 1px solid #f2f2f2;
  transition: background-color 0.18s ease;
}

.sgg-suggest-item:last-child{
  border-bottom: 0;
}

.sgg-suggest-item:hover,
.sgg-suggest-item[aria-selected="true"]{
  background: #f8f8f8;
}

.sgg-suggest-logo{
  width: 38px;
  height: 38px;
  min-width: 38px;
  max-width: 38px;
  border-radius: 999px;
  object-fit: cover;
  flex-shrink: 0;
  display: block;
  background: #fff;
  border: 1px solid #ececec;
}

.sgg-suggest-logo--placeholder{
  display: flex;
  align-items: center;
  justify-content: center;
  color: #777;
  font-size: 14px;
}

.sgg-suggest-text{
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  flex: 1;
  min-width: 0;
  text-align: left;
}

.sgg-suggest-text .label{
  display: block;
  width: 100%;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  color: #111;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: left;
}

.sgg-suggest-text .meta{
  display: block;
  width: 100%;
  margin-top: 3px;
  font-size: 12px;
  line-height: 1.2;
  color: #777;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: left;
}

.sgg-suggest-price{
  margin-left: auto;
  flex-shrink: 0;
  white-space: nowrap;
  text-align: right;
  font-size: 14px;
  font-weight: 800;
  color: #111;
  line-height: 1;
}

.sgg-suggest-price small{
  font-size: 11px;
  font-weight: 600;
}

@media (max-width: 767px){
  #sgg-suggest{
    max-height: 60vh;
    border-radius: 16px;
  }

  .sgg-suggest-item{
    gap: 10px;
    padding: 11px 12px;
  }

  .sgg-suggest-logo{
    width: 34px;
    height: 34px;
    min-width: 34px;
    max-width: 34px;
  }

  .sgg-suggest-text .label{
    font-size: 13px;
  }

  .sgg-suggest-text .meta{
    font-size: 11px;
  }

  .sgg-suggest-price{
    font-size: 13px;
  }

  .sgg-suggest-price small{
    font-size: 10px;
  }
}

@media (max-width: 480px){
  #sgg-suggest{
    max-height: 58vh;
    border-radius: 14px;
  }

  .sgg-suggest-item{
    gap: 9px;
    padding: 10px 11px;
  }

  .sgg-suggest-logo{
    width: 32px;
    height: 32px;
    min-width: 32px;
    max-width: 32px;
  }

  .sgg-suggest-text .label{
    font-size: 13px;
  }

  .sgg-suggest-text .meta{
    font-size: 11px;
  }

  .sgg-suggest-price{
    font-size: 12px;
  }
}

.sgg-suggest-price{
  margin-left: auto;
  flex-shrink: 0;
  white-space: nowrap;
  text-align: right;
  font-size: 14px;
  font-weight: 800;
  color: #111;
  line-height: 1;
}

.sgg-suggest-price small{
  font-size: 11px;
  font-weight: 600;
  color: #8a8a8a;
}


#sgg-suggest{
  position: fixed;
  display: none;
  z-index: 9999;
  background: #fff;
  border: 1px solid #ececec;
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  overflow: hidden;
  max-height: 320px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

#sgg-suggest.open{
  display: block;
}

.sgg-suggest-item{
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) auto;
  align-items: center;
  column-gap: 12px;
  width: 100%;
  padding: 12px 14px;
  text-decoration: none;
  color: #111;
  background: #fff;
  border-bottom: 1px solid #f2f2f2;
  box-sizing: border-box;
}

.sgg-suggest-item:last-child{
  border-bottom: 0;
}

.sgg-suggest-item:hover,
.sgg-suggest-item[aria-selected="true"]{
  background: #f8f8f8;
}

.sgg-suggest-logo{
  width: 38px;
  height: 38px;
  border-radius: 999px;
  object-fit: cover;
  display: block;
  background: #fff;
  border: 1px solid #ececec;
  overflow: hidden;
}

.sgg-suggest-logo--placeholder{
  display: flex;
  align-items: center;
  justify-content: center;
  color: #777;
  font-size: 14px;
}

.sgg-suggest-text{
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.sgg-suggest-text .label{
  display: block;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.15;
  color: #111;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sgg-suggest-text .meta{
  display: block;
  margin-top: 3px;
  font-size: 12px;
  line-height: 1.15;
  color: #777;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sgg-suggest-price{
  display: flex;
  align-items: baseline;
  justify-content: flex-end;
  gap: 4px;
  white-space: nowrap;
  text-align: right;
  font-size: 14px;
  font-weight: 800;
  color: #111;
  padding-left: 10px;
}

.sgg-suggest-price small{
  font-size: 11px;
  font-weight: 600;
  color: #8a8a8a;
}

@media (max-width: 767px){
  .sgg-suggest-item{
    grid-template-columns: 34px minmax(0, 1fr) 74px;
    column-gap: 10px;
    padding: 10px 12px;
  }

  .sgg-suggest-logo{
    width: 34px;
    height: 34px;
  }

  .sgg-suggest-text .label{
    font-size: 13px;
  }

  .sgg-suggest-text .meta{
    font-size: 11px;
  }

  .sgg-suggest-price{
    width: 74px;
    font-size: 13px;
    justify-content: flex-end;
  }

  .sgg-suggest-price small{
    font-size: 10px;
  }
}

@media (max-width: 480px){
  .sgg-suggest-item{
    grid-template-columns: 32px minmax(0, 1fr) 68px;
    column-gap: 9px;
    padding: 9px 11px;
  }

  .sgg-suggest-logo{
    width: 32px;
    height: 32px;
  }

  .sgg-suggest-text .label{
    font-size: 12px;
  }

  .sgg-suggest-text .meta{
    font-size: 10px;
  }

  .sgg-suggest-price{
    width: 68px;
    font-size: 12px;
  }
}

/* Facility badges - mobil scroll */
.facility-scroll-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.facility-scroll-wrap::-webkit-scrollbar {
    display: none;
}
.facility-scroll-inner {
    display: flex;
    gap: 10px;
    padding-bottom: 5px;
}
.facility-badge-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 50px;
    background: #fff;
    color: #333;
    font-weight: 600;
    font-size: .9rem;
    text-decoration: none;
    white-space: nowrap;
    flex-shrink: 0;
    transition: all .2s ease;
    box-shadow: 0 1px 8px -1px rgba(0, 0, 0, .1), 0 2px 4px -2px rgba(0, 0, 0, .1) !important;
    border-radius: 50px !important;
}
.facility-badge-btn:hover {
    background: #000;
    color: #fff;
    border-color: #000;
}
.facility-badge-btn i {
    font-size: 1.1rem;
}


/* === Front-page hero discovery: place search + available sessions === */
body.home .hero-content {
  max-width: 980px;
  padding: 26px 24px;
}

body.home .hero-title {
  margin: 0;
  font-size: clamp(2.65rem, 5vw, 4.35rem);
  line-height: .98;
  letter-spacing: -.045em;
  text-wrap: balance;
}

body.home .sgg-hero-proof {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px 16px;
  margin: 18px auto 0;
  color: rgba(255,255,255,.9);
  font-size: 13px;
  font-weight: 650;
}

body.home .sgg-hero-proof span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
}

body.home .sgg-hero-proof i {
  width: 27px;
  height: 27px;
  display: inline-grid;
  place-items: center;
  border: 0;
  border-radius: 999px;
  background: #155c3c;
  color: #fff;
  font-size: 12px;
  box-shadow: 0 0 0 1px rgba(255,255,255,.18);
  backdrop-filter: none;
}
body.home .sgg-hero-proof span:nth-child(even) i { background: #287a4b; }
body.home .sgg-hero-proof i::before { font-weight: 900 !important; }
body.home .hero.is-search-active { overflow: visible; z-index: 12000; }
body.home .hero.is-search-active .sgg-hero-discovery { z-index: 10000; }
body.home .hero.is-search-active #overlay { z-index: 9999; }

body.home .sgg-hero-discovery {
  position: relative;
  z-index: 1000;
  width: min(100%, 860px);
  margin: 22px auto 0;
  text-align: left;
}

body.home .sgg-hero-tabs {
  width: max-content;
  max-width: calc(100% - 24px);
  display: flex;
  align-items: stretch;
  justify-content: flex-start;
  gap: 0;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  margin: 0 0 10px;
  padding: 3px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.58);
  border-radius: 999px;
  background: rgba(250,249,245,.94);
  box-shadow: 0 8px 24px rgba(0,0,0,.10);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

body.home .sgg-hero-tab {
  min-width: 0;
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 7px;
  padding: 8px 11px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #2f3432;
  font-size: 13px;
  font-weight: 760;
  line-height: 1;
  cursor: pointer;
  box-shadow: none;
}

body.home .sgg-hero-tab i {
  color: #555;
  font-size: 13px;
}

body.home .sgg-hero-tab + .sgg-hero-tab {
  border-left: 0;
}

body.home .sgg-hero-tab:hover,
body.home .sgg-hero-tab:focus-visible {
  background: #ececea;
  color: #111;
  outline: none;
}

body.home .sgg-hero-tab:focus-visible {
  box-shadow: inset 0 0 0 2px rgba(17,17,17,.16);
}

body.home .sgg-hero-tab.is-active {
  background: #111;
  color: #fff;
  box-shadow: 0 3px 10px rgba(0,0,0,.16);
}

body.home .sgg-hero-tab.is-active i {
  color: #fff;
}

body.home .sgg-hero-panel[hidden] { display: none !important; }

body.home .hero-search {
  max-width: none;
  width: 100%;
  margin: 0;
  position: relative;
}

body.home .hero-search #sog {
  width: 100%;
  max-width: none !important;
  height: 60px;
  margin: 0 !important;
  padding: 0 118px 0 51px;
  border: 1px solid rgba(17,17,17,.10) !important;
  border-radius: 999px !important;
  background: #fff !important;
  box-shadow: 0 12px 34px rgba(0,0,0,.16);
  font-size: 16px;
  font-weight: 520;
  color: #111;
}

body.home .hero-search #sog::placeholder { color: #777; opacity: 1; }

body.home .hero-search #sog:focus {
  border-color: #111 !important;
  box-shadow: 0 0 0 3px rgba(255,255,255,.34), 0 12px 34px rgba(0,0,0,.18) !important;
  outline: none;
}

body.home .hero-search > .bi-search {
  left: 19px !important;
  margin-left: 0 !important;
  color: #666 !important;
  font-size: 17px;
  pointer-events: none;
}

body.home .hero-location-btn,
body.home .search-btn-circle {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border-radius: 50%;
  z-index: 10002;
}

body.home .hero-location-btn {
  right: 59px;
  border: 1px solid #e3e3e0;
  background: #f2f2ef;
  color: #111;
}

body.home .hero-location-btn:hover,
body.home .hero-location-btn:focus-visible {
  border-color: #d7d7d3;
  background: #e9e9e6;
  outline: none;
}

body.home .search-btn-circle {
  right: 9px;
  border: 0;
  background: #111;
}

body.home .sgg-hero-availability-form {
  display: grid;
  grid-template-columns: minmax(150px,.9fr) minmax(170px,1fr) minmax(190px,1.15fr) auto;
  gap: 0;
  padding: 6px 7px 6px 10px;
  border: 1px solid rgba(17,17,17,.10);
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 12px 34px rgba(0,0,0,.16);
  text-align: left;
  overflow: hidden;
}

body.home .sgg-hero-field {
  min-width: 0;
  display: grid;
  gap: 4px;
  padding: 8px 16px 7px;
  border: 0;
  border-right: 1px solid #e7e7e3;
  border-radius: 0;
  background: transparent;
}

body.home .sgg-hero-field > span {
  color: #7b7b75;
  font-size: 10px;
  font-weight: 780;
  letter-spacing: .065em;
  line-height: 1;
  text-transform: uppercase;
}

body.home .sgg-hero-field select {
  width: 100%;
  min-width: 0;
  height: 24px;
  padding: 0 24px 0 0;
  border: 0;
  background-color: transparent;
  color: #171717;
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.15;
  outline: none;
  cursor: pointer;
}

body.home .sgg-hero-field:focus-within {
  background: #f6f6f3;
  box-shadow: inset 0 0 0 1px rgba(17,17,17,.08);
}

body.home .sgg-hero-availability-submit {
  min-height: 48px;
  align-self: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  margin-left: 7px;
  padding: 0 19px;
  border: 0;
  border-radius: 999px;
  background: #111;
  color: #fff;
  font-size: 13px;
  font-weight: 780;
  white-space: nowrap;
  cursor: pointer;
}

body.home .sgg-hero-availability-submit:hover,
body.home .sgg-hero-availability-submit:focus-visible {
  background: #272727;
  outline: none;
}

body.home .hero-cta {
  margin-top: 18px;
  gap: 9px !important;
}

body.home .hero-cta .btn {
  min-height: 42px;
  padding: 10px 17px;
  font-size: 13px;
}

body.home #sgg-suggest {
  padding: 6px;
  border: 1px solid #e9e9e9;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 18px 50px rgba(0,0,0,.14);
}

body.home #sgg-suggest .sgg-suggest-item {
  min-height: 58px;
  margin: 0;
  padding: 9px 10px;
  border: 0;
  border-radius: 13px;
  background: #fff;
}

body.home #sgg-suggest .sgg-suggest-item + .sgg-suggest-item { margin-top: 2px; }

body.home #sgg-suggest .sgg-suggest-item:hover,
body.home #sgg-suggest .sgg-suggest-item[aria-selected="true"] { background: #f4f4f1; }

body.home #sgg-suggest .sgg-suggest-logo {
  width: 38px;
  height: 38px;
  border: 0;
  background: #f1f1ee;
}

body.home #sgg-suggest .sgg-suggest-text .label { font-size: 14px; font-weight: 750; }
body.home #sgg-suggest .sgg-suggest-text .meta { margin-top: 4px; color: #73736e; font-size: 12px; }

@media (max-width: 991.98px) {
  body.home .hero { height: 620px; }
  body.home .hero-title { font-size: clamp(2.35rem, 6.5vw, 3.35rem); }
  body.home .sgg-hero-availability-form { grid-template-columns: 1fr 1fr; }
  body.home .sgg-hero-field--area { grid-column: 1 / 2; }
  body.home .sgg-hero-availability-submit { grid-column: 2 / 3; }
}

@media (max-width: 767px) {
  body.home .hero-wrap { padding: 0; }
  body.home #forside-header {
    height: 610px;
    margin-top: 0 !important;
    border-radius: 0;
  }
  body.home .hero-spacer { height: 610px; }
  body.home .hero-content {
    max-width: 100%;
    padding: 76px 16px 22px;
  }
  body.home .hero-title {
    font-size: clamp(2rem, 9vw, 2.65rem);
    line-height: 1.01;
    letter-spacing: -.04em;
  }
  body.home .hero-content > .lead {
    max-width: 34rem;
    margin: 10px auto 0 !important;
    font-size: 14px;
    line-height: 1.45;
  }
  body.home .sgg-hero-proof {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 12px;
    margin-top: 14px;
    font-size: 10.5px;
  }
  body.home .sgg-hero-proof span {
    min-width: 0;
    justify-content: center;
    gap: 5px;
  }
  body.home .sgg-hero-proof i {
    width: 24px;
    height: 24px;
    font-size: 11px;
  }
  body.home .sgg-hero-discovery { margin-top: 16px; }
  body.home .sgg-hero-tabs {
    width: 100%;
    max-width: 100%;
    left: 0;
    transform: none;
    margin: 0 0 8px;
  }
  body.home .sgg-hero-tab {
    flex: 1 1 50%;
    min-width: 0;
    min-height: 42px;
    justify-content: center;
    padding: 8px 12px;
    font-size: 12px;
  }
  body.home .hero-search #sog {
    height: 56px;
    padding-left: 46px;
    padding-right: 108px;
    border-radius: 999px !important;
    font-size: 16px;
  }
  body.home .hero-location-btn,
  body.home .search-btn-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
  }
  body.home .hero-location-btn { right: 54px; }
  body.home .search-btn-circle { right: 7px; }
  body.home .sgg-hero-availability-form {
    grid-template-columns: 1fr 1fr;
    gap: 0;
    padding: 6px;
    border-radius: 28px;
    overflow: hidden;
  }
  body.home .sgg-hero-field {
    min-height: 56px;
    padding: 8px 12px 6px;
    border-right: 0;
    border-bottom: 1px solid #e7e7e3;
    border-radius: 0;
  }
  body.home .sgg-hero-field:nth-of-type(1) { border-right: 1px solid #e7e7e3; }
  body.home .sgg-hero-field select {
    font-size: 16px;
  }
  body.home .sgg-hero-field--area {
    grid-column: 1 / -1;
    border-bottom: 0;
  }
  body.home .sgg-hero-availability-submit {
    grid-column: 1 / -1;
    min-height: 50px;
    margin: 6px 0 0;
    border-radius: 999px;
  }
  body.home .hero-cta {
    width: 100%;
    max-width: 430px;
    margin: 13px auto 0;
    gap: 7px !important;
  }
  body.home .hero-cta .btn {
    flex: 1 1 calc(50% - 4px);
    min-height: 40px;
    padding: 9px 11px;
    font-size: 12px;
  }
  body.home .hero-cta .btn:last-child { flex-basis: 100%; }
  body.home #sgg-suggest {
    padding: 5px;
    border-radius: 16px;
  }
  body.home #sgg-suggest .sgg-suggest-item {
    grid-template-columns: 36px minmax(0, 1fr) auto;
    min-height: 54px;
    padding: 8px 9px;
    border-radius: 12px;
  }
  body.home #sgg-suggest .sgg-suggest-logo { width: 36px; height: 36px; }

  /* Keep the active search field inside the visible iOS viewport when the keyboard opens. */
  body.sgg-hero-search-active #forside-header .hero-content {
    opacity: 1 !important;
  }
  body.sgg-hero-search-active #forside-header .sgg-hero-discovery {
    position: fixed;
    top: calc(env(safe-area-inset-top, 0px) + 72px);
    left: 12px;
    right: 12px;
    width: auto;
    max-width: none;
    margin: 0;
    z-index: 2147483643;
  }
  body.sgg-hero-search-active #forside-header #sgg-suggest {
    max-height: calc(100dvh - 190px);
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
  }
}

@media (max-width: 390px) {
  body.home #forside-header,
  body.home .hero-spacer { height: 630px; }
  body.home .hero-content { padding-right: 12px; padding-left: 12px; }
  body.home .sgg-hero-proof { font-size: 9.5px; }
}

/* v9.6.2 · Keep all sauna cards aligned even when only some have a next-session line. */
.sgg-card-next-session{min-height:22px;display:flex;align-items:center;gap:5px}
.sgg-card-next-session.is-empty{visibility:hidden}
.carousel-cell>a{height:100%;display:block}
.carousel-cell .sauna-card{height:100%}
