/* Front page: Flickity pagination dots are intentionally disabled. */
body.home .flickity-page-dots,
body.page-template-Forside-Template .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 */






.check-text-top {
    font-size: 1rem; /* adjustable */
    font-weight: 400;
}

@media (max-width: 991.98px){


.usp-list {
    font-size: 1rem;
    margin-top: 12px !important;
}
.check-text-top {
    font-size: .8rem;
    font-weight: 400;
}

.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; }




.check-icon-top {
    width: 24px;
    height: 24px;
    background-color: #4CAF50;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 2px solid #4CAF50;
    animation: pulse-border-green 1.3s infinite ease-in-out;
    transition: background-color 0.5s ease-in-out,
                border-color 0.5s ease-in-out,
                animation 0.5s ease-in-out,
                box-shadow 0.5s ease-in-out;
    position: relative;
}

/* Add white checkmark inside */
.check-icon-top::after {
    content: "✓"; /* Unicode checkmark */
    color: #fff;
    font-size: 12px;
    font-weight: bold;
    line-height: 1;
}

/* Text next to check */

.check-icon-wrapper {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Pulsing border animation */
@keyframes pulse-border-green {
    0% {
        box-shadow: 0 0 0 0 rgba(76, 175, 80, 0.7);
    }
    70% {
        box-shadow: 0 0 0 8px rgba(76, 175, 80, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(76, 175, 80, 0);
    }
}

.usp-list {
    font-size: 1rem; /* default */
}

.check-icon-top {
    width: 22px;
    height: 22px;
}
.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 search: canonical location-search UI (v9.2.16) === */
.page-template-Forside-Template .hero-search {
  max-width: 720px;
  position: relative;
}

.page-template-Forside-Template .hero-search #sog {
  width: 100%;
  max-width: none !important;
  height: 58px;
  margin: 0 !important;
  padding: 0 116px 0 50px;
  border: 1px solid rgba(17,17,17,.08) !important;
  border-radius: 999px !important;
  background: #fff !important;
  box-shadow: 0 8px 30px rgba(0,0,0,.10);
  font-size: 16px;
  font-weight: 500;
  color: #111;
}

.page-template-Forside-Template .hero-search #sog:focus {
  border-color: #111 !important;
  box-shadow: 0 0 0 3px rgba(255,255,255,.34), 0 10px 32px rgba(0,0,0,.12) !important;
  outline: none;
}

.page-template-Forside-Template .hero-search > .bi-search {
  left: 18px !important;
  margin-left: 0 !important;
  color: #666 !important;
  font-size: 17px;
  pointer-events: none;
}

.page-template-Forside-Template .hero-location-btn,
.page-template-Forside-Template .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: 999px;
  z-index: 10002;
}

.page-template-Forside-Template .hero-location-btn {
  right: 58px;
  border: 1px solid #e7e7e7;
  background: #f5f5f5;
  color: #111;
}

.page-template-Forside-Template .hero-location-btn:hover,
.page-template-Forside-Template .hero-location-btn:focus-visible {
  background: #ededed;
}

.page-template-Forside-Template .search-btn-circle {
  right: 8px;
  width: 42px;
  height: 42px;
  background: #111;
}

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

.page-template-Forside-Template #sgg-suggest .sgg-suggest-item {
  min-height: 58px;
  margin: 0;
  padding: 9px 10px;
  border: 0;
  border-radius: 14px;
  background: #fff;
}

.page-template-Forside-Template #sgg-suggest .sgg-suggest-item + .sgg-suggest-item {
  margin-top: 2px;
}

.page-template-Forside-Template #sgg-suggest .sgg-suggest-item:hover,
.page-template-Forside-Template #sgg-suggest .sgg-suggest-item[aria-selected="true"] {
  background: #f4f4f4;
}

.page-template-Forside-Template #sgg-suggest .sgg-suggest-logo {
  width: 38px;
  height: 38px;
  border: 0;
  background: #f1f1f1;
}

.page-template-Forside-Template #sgg-suggest .sgg-suggest-text .label {
  font-size: 14px;
  font-weight: 750;
}

.page-template-Forside-Template #sgg-suggest .sgg-suggest-text .meta {
  margin-top: 4px;
  color: #737373;
  font-size: 12px;
}

@media (max-width: 575.98px) {
  .page-template-Forside-Template .hero-search #sog {
    height: 56px;
    padding-left: 46px;
    padding-right: 108px;
    font-size: 15px;
  }
  .page-template-Forside-Template .hero-location-btn,
  .page-template-Forside-Template .search-btn-circle {
    width: 40px;
    height: 40px;
  }
  .page-template-Forside-Template .hero-location-btn { right: 54px; }
  .page-template-Forside-Template .search-btn-circle { right: 7px; }
  .page-template-Forside-Template #sgg-suggest {
    padding: 5px;
    border-radius: 18px;
  }
  .page-template-Forside-Template #sgg-suggest .sgg-suggest-item {
    grid-template-columns: 36px minmax(0, 1fr) auto;
    min-height: 54px;
    padding: 8px 9px;
    border-radius: 13px;
  }
  .page-template-Forside-Template #sgg-suggest .sgg-suggest-logo {
    width: 36px;
    height: 36px;
  }
}

/* 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%}
