  /* ============================================================
   Mini Nav (pills under H1)
   ============================================================ */
.mini-nav{
  margin: 14px 0 22px;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}
.mini-nav__title{ display:none; }
.mini-nav__links{
  display:flex;
  flex-wrap:wrap;
  gap: 12px 14px;
}
.mini-nav__links a{
  display:inline-block;
  padding: 10px 18px;
  font-size: 16px;
  font-weight: 500;
  color: #2a2a2a;
  text-decoration:none;
  border-radius: 999px;
  border: 1px solid #d8d2c8;
  background: #fff;
  transition: background .15s ease, border-color .15s ease;
}
.mini-nav__links a:hover{
  border-color: #b4a898;
  background: #f3eee9;
}

/* ============================================================
   Download Box
   ============================================================ */
.behandling__download{
  margin: 8px 0 2px;
  padding: 18px;
  border-radius: 20px;
  border: 1px solid #e3ddd6;
  background: #f6f7f8;
  box-shadow: 0 8px 20px rgba(17,17,17,.05);
}

/* ============================================================
   Enhanced Blocks Styling
   ============================================================ */
.behandling-enhanced .block{
  margin: 18px 0;
  padding: 22px;
  border-radius: 18px;
  border:1px solid #e7e3de;
  background:#fff;
  box-shadow: 0 8px 20px rgba(17,17,17,.06);
  scroll-margin-top: 90px;
}
.behandling-enhanced .block__head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:14px;
  margin-bottom: 12px;
}
.behandling-enhanced .block__head h2{
  margin: 0 0 16px;
  font-size: 26px;
  font-weight: 650;
  letter-spacing: -.01em;
  color: #2a2a2a;
  position: relative;
  padding-bottom: 10px;
}
.behandling-enhanced .block__head h2:after{
  content:"";
  position:absolute;
  left:0;
  bottom:0;
  width:48px;
  height:2px;
  background:#B4A898;
  border-radius:999px;
}
.behandling-enhanced .block__grid{
  display:grid;
  gap: 16px;
}

@media(min-width: 980px){
  .behandling-enhanced .block__grid.two-col{
    grid-template-columns: 1fr 1fr;
    align-items:start;
  }
  .behandling-enhanced .block__grid.two-col .block__figure{
    transform: translateY(25px);
  }
}

.behandling-enhanced figure.block__figure{
  margin:0;
  border-radius: 18px;
  overflow:hidden;
  border:1px solid #e7e3de;
  box-shadow: 0 8px 20px rgba(17,17,17,.06);
  background:#fff;
}
.behandling-enhanced figure.block__figure img{
  width:100%;
  height:auto;
  display:block;
}
.behandling-enhanced .block__caption{
  padding: 10px 12px;
  font-size: 12px;
  color: #6b6b6b;
  border-top: 1px solid #e7e3de;
  background: rgba(235,226,215,.25);
}
.behandling-enhanced .block__figure.full{ margin-top: 16px; }

/* ============================================================
   FAQ Styling (using <details>)
   ============================================================ */
.behandling-enhanced .faq{
  margin-top: 22px;
  padding: 22px;
  border-radius: 18px;
  border: 1px solid #e7e3de;
  background: rgba(235,226,215,.30);
  box-shadow: 0 8px 20px rgba(17,17,17,.06);
}
.behandling-enhanced .faq__title{
  margin:0 0 10px;
  font-size:22px;
  letter-spacing:-.01em;
  position:relative;
  padding-bottom:10px;
}
.behandling-enhanced .faq__title:after{
  content:"";
  position:absolute;
  left:0; bottom:0;
  width:54px; height:3px;
  background: #B4A898;
  border-radius:999px;
}
.behandling-enhanced details.faq__item{
  margin-top: 12px;
  border:1px solid #e7e3de;
  border-radius: 18px;
  overflow:hidden;
  background:#fff;
}
.behandling-enhanced details.faq__item > summary{
  list-style:none;
  cursor:pointer;
  padding: 14px 16px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap: 10px;
  font-weight:600;
}
.behandling-enhanced details.faq__item > summary::-webkit-details-marker{ display:none; }
.behandling-enhanced .faq__chev{ transition: transform .15s ease; color: #6b6b6b; }
.behandling-enhanced details.faq__item[open] .faq__chev{ transform: rotate(180deg); }
.behandling-enhanced .faq__body{
  padding: 0 16px 16px;
  color: #252525;
}
.behandling-enhanced .faq__video{
  margin-top: 12px;
  border-radius: 12px;
  overflow:hidden;
  border:1px solid #e7e3de;
  box-shadow: 0 8px 20px rgba(17,17,17,.06);
}
.behandling-enhanced .faq__video iframe{
  width:100%;
  height: 360px;
  display:block;
}
@media(max-width: 600px){
  .behandling-enhanced .faq__video iframe{ height: 220px; }
}

/* ============================================================
   Info Summaries (ACF repeater: info_summaries)
   ============================================================ */
.behandling-info-summaries{
  margin: 18px 0 14px;
  display: grid;
  gap: 16px;
}
.info-summary{
  padding: 18px;
  border-radius: 18px;
  border: 1px solid #e3ddd6;
  background: #f5f2ef;
}
.info-summary__title{
  margin: 0 0 14px;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -.01em;
  color: #3a3a3a;
}
.info-summary__grid{
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px 34px;
}
@media (min-width: 768px){
  .info-summary__grid{
    grid-template-columns: 1fr 1fr;
  }
}
.info-summary__row{
  display: flex;
  align-items: center;
  gap: 10px;
  line-height: 1.25;
  color: #252525;
}
.info-summary__row--price{
  grid-column: 1 / -1;
}
.info-summary__icon{
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  background: #2f2f2f;
  opacity: .9;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
  -webkit-mask-size: contain;
  mask-repeat: no-repeat;
  mask-position: center;
  mask-size: contain;
}
.info-summary__label{
  font-size: 16px;
  font-weight: 500; /* label lighter */
  color: #252525;
}
.info-summary__value{
  font-size: 16px;
  font-weight: 800; /* value bold */
  color: #1f1f1f;
}

/* ============================================================
   text toggle (Læs mere / Skjul) using checkbox hack
   ============================================================ */
.block__toggleWrap{
  --collapse: 200px;
  margin-top: 6px;
}
.block__toggleChk{
  position:absolute;
  opacity:0;
  pointer-events:none;
}
.block__toggleText{
  position: relative;
  max-height: var(--collapse);
  overflow: hidden;
}
.block__toggleWrap:not(.is-open) .block__toggleText:after{
  content:"";
  position:absolute;
  left:0; right:0; bottom:0;
  height:60px;
  pointer-events:none;
  background:linear-gradient(to bottom, rgba(255,255,255,0), rgba(255,255,255,.98));
}
.block__toggleChk:checked ~ .block__toggleText{
  max-height: 9999px;
  overflow: visible;
}
.block__toggleChk:checked ~ .block__toggleText:after{
  display:none;
}
.block__toggleBtn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  margin-top:14px;
  padding:10px 18px;
  font-size:15px;
  font-weight:500;
  color:#2a2a2a;
  border-radius:999px;
  border:1px solid #d8d2c8;
  background:#fff;
  cursor:pointer;
  transition: background .15s ease, border-color .15s ease, transform .05s ease;
}
.block__toggleBtn:hover{
  border-color:#b4a898;
  background:#f3eee9;
}
.block__toggleBtn:active{
  transform: translateY(1px);
}
.block__toggleBtn .is-open{ display:none; }
.block__toggleChk:checked ~ .block__toggleBtn .is-open{ display:inline; }
.block__toggleChk:checked ~ .block__toggleBtn .is-closed{ display:none; }

/* ============================================================
   Icons (CSS mask SVGs)
   ============================================================ */

/* anesthesia */
.info-summary__icon.is-anesthesia{
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M21.7 7.7 16.3 2.3 14.9 3.7l1.3 1.3-3.6 3.6-1.3-1.3-1.4 1.4 1.3 1.3-7.9 7.9c-.8.8-.8 2 0 2.8.8.8 2 .8 2.8 0l7.9-7.9 1.3 1.3 1.4-1.4-1.3-1.3 3.6-3.6 1.3 1.3 1.4-1.4Z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M21.7 7.7 16.3 2.3 14.9 3.7l1.3 1.3-3.6 3.6-1.3-1.3-1.4 1.4 1.3 1.3-7.9 7.9c-.8.8-.8 2 0 2.8.8.8 2 .8 2.8 0l7.9-7.9 1.3 1.3 1.4-1.4-1.3-1.3 3.6-3.6 1.3 1.3 1.4-1.4Z'/%3E%3C/svg%3E");
}

/* clock */
.info-summary__icon.is-time{
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 2a10 10 0 1 0 .001 20.001A10 10 0 0 0 12 2Zm1 10.414 3.293 3.293-1.414 1.414L11 13V7h2v5.414Z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 2a10 10 0 1 0 .001 20.001A10 10 0 0 0 12 2Zm1 10.414 3.293 3.293-1.414 1.414L11 13V7h2v5.414Z'/%3E%3C/svg%3E");
}

/* admission */
.info-summary__icon.is-admission{
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M7 7a3 3 0 1 0 0-6 3 3 0 0 0 0 6Zm14 6H3V9a2 2 0 0 1 2-2h4.1a5.98 5.98 0 0 0 2.9.75c1.06 0 2.06-.28 2.93-.77H19a2 2 0 0 1 2 2v4Zm0 2v3a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-3h18Z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M7 7a3 3 0 1 0 0-6 3 3 0 0 0 0 6Zm14 6H3V9a2 2 0 0 1 2-2h4.1a5.98 5.98 0 0 0 2.9.75c1.06 0 2.06-.28 2.93-.77H19a2 2 0 0 1 2 2v4Zm0 2v3a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-3h18Z'/%3E%3C/svg%3E");
}

/* sickleave */
.info-summary__icon.is-sickleave{
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M10 4h4a2 2 0 0 1 2 2v2h3a2 2 0 0 1 2 2v2H3v-2a2 2 0 0 1 2-2h3V6a2 2 0 0 1 2-2Zm4 4V6h-4v2h4Zm9 8v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4h20Z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M10 4h4a2 2 0 0 1 2 2v2h3a2 2 0 0 1 2 2v2H3v-2a2 2 0 0 1 2-2h3V6a2 2 0 0 1 2-2Zm4 4V6h-4v2h4Zm9 8v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4h20Z'/%3E%3C/svg%3E");
}

/* price */
.info-summary__icon.is-price{
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M20.59 13.41 11 3.83A2 2 0 0 0 9.59 3H4a1 1 0 0 0-1 1v5.59A2 2 0 0 0 3.83 11l9.58 9.59a2 2 0 0 0 2.83 0l4.35-4.35a2 2 0 0 0 0-2.83ZM6.5 8A1.5 1.5 0 1 1 8 6.5 1.5 1.5 0 0 1 6.5 8Z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M20.59 13.41 11 3.83A2 2 0 0 0 9.59 3H4a1 1 0 0 0-1 1v5.59A2 2 0 0 0 3.83 11l9.58 9.59a2 2 0 0 0 2.83 0l4.35-4.35a2 2 0 0 0 0-2.83ZM6.5 8A1.5 1.5 0 1 1 8 6.5 1.5 1.5 0 0 1 6.5 8Z'/%3E%3C/svg%3E");
}