/*
** Navbar
*/
.navbar-brand {
  color: #582e18;
}
p {
  color: #333;
}
.banner-content h1 {
  text-transform: uppercase;
  font-size: 3rem;
  color: #ffffff !important;
  line-height: 1.2em;
}
@media (max-width: 991px) {
  .banner-content h1 {
    font-size: 1.7rem !important;
  }
}

.navbar.fixed-top {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1) !important;
}
/* Start-tilstand (højere navbar) */
#mainNav {
  transition: padding 0.28s ease, background-color 0.28s ease,
    box-shadow 0.28s ease;
  padding-top: 1.25rem;
  padding-bottom: 1.25rem;
  background-color: rgba(255, 255, 255, 0.85); /* bevar bg-light look */
  backdrop-filter: saturate(180%) blur(8px); /* pæn glas-effekt (kan droppes) */
  box-shadow: none;
  font-size: 14px;
}
@media (min-width: 768px) and (max-width: 991px) {
  .kontakt-btn {
    padding: 12px 32px;
    font-size: 1rem;
  }
}
/* Links i WordPress editor-indhold */
/* Standard tilstand */
span.p-tekst-om-forsiden a,
a.editor-links {
  color: #582e18;
  text-decoration: none;
  transition: color 0.2s;
}

/* Hover + tastaturfokus */
span.p-tekst-om-forsiden a:hover,
span.p-tekst-om-forsiden a:focus-visible,
a.editor-links:hover,
a.editor-links:focus-visible {
  color: #29150b;
  text-decoration: none;
}

/* (valgfrit) Visited, så farven ikke “hopper” */
span.p-tekst-om-forsiden a:visited,
a.editor-links:visited {
  color: #582e18;
}

.navbar .nav-item.active .nav-link,
.navbar .nav-link.active {
  color: #29150b !important;
  font-weight: 500;
}
/* === Sticky + shrink === */
nav.navbar.bg-light {
  position: sticky;
  top: 0;
  z-index: 1030;
  padding-top: 1.25rem;
  padding-bottom: 1.25rem;
  background: #fff !important;
  transition: padding 0.28s ease, background-color 0.28s ease,
    box-shadow 0.28s ease;
}
nav.navbar.bg-light.shrink {
  padding-top: 0.6rem;
  padding-bottom: 0.6rem;
  background: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}
nav.navbar .navbar-brand,
nav.navbar .nav-link {
  transition: transform 0.28s ease, padding 0.28s ease, font-size 0.28s ease;
}
nav.navbar .nav-link {
  padding: 0.75rem 0;
}
nav.navbar.shrink .navbar-brand {
  transform: scale(0.98);
}
nav.navbar.shrink .nav-link {
  padding: 0.3rem 11px;
}

/* Brand logo */
nav.navbar .navbar-brand img {
  height: 48px;
  transition: height 0.28s ease;
}
nav.navbar.shrink .navbar-brand img {
  height: 40px;
}

/* === Toggler (burger) === */
.navbar-toggler {
  border: none;
  box-shadow: none;
  outline: none;
  -webkit-tap-highlight-color: transparent;
}
.navbar-toggler:focus {
  box-shadow: none;
  outline: none;
}

/* Burger-ikon: normal (#582e18) + hover/focus/åben (#29150b) */
.navbar-toggler .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23582e18' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22 M4 15h22 M4 23h22'/%3e%3c/svg%3e");
}
.navbar-toggler:hover .navbar-toggler-icon,
.navbar-toggler:focus .navbar-toggler-icon,
.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%2329150b' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22 M4 15h22 M4 23h22'/%3e%3c/svg%3e");
}

/* === Links === */
.navbar .nav-link {
  color: #222;
  font-weight: 500;
  line-height: 1.2;
  transition: background-color 0.2s, color 0.2s;
}
/* Hoverfarve #29150b (også på touch via :focus/:active) */
.navbar .nav-link:hover,
.navbar .nav-link:focus,
.navbar .nav-link:active {
  color: #29150b !important;
}
/* Aktiv side i menuen */
.navbar .nav-link.active,
.navbar .nav-link.show {
  color: #582e18 !important;
}

/* === Dropdowns (flade kanter, ingen radius) === */
.navbar .dropdown-menu {
  border-radius: 0;
  border: none;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  padding: 0.5rem;
  background: #fff;
}
.navbar .dropdown-item {
  padding: 0.5rem 0.75rem;
}
.navbar .dropdown-item:hover,
.navbar .dropdown-item:focus,
.navbar .dropdown-item:active {
  background: #381a0b;
  color: #fff;
}

/* === Mobil & lille tablet (≤ 991.98px) === */
@media (max-width: 991.98px) {
  .navbar-collapse {
    background: #fff;
    padding: 1rem;
    border-radius: 0;
  } /* burger-panel uden radius */
  .navbar .nav-item {
    margin-bottom: 0.75rem;
  }
  .navbar .nav-link {
    display: block;
    padding: 0.9rem 1rem;
  }
  /* “hover”-look i åben mobilmenu når man trykker/tabber */
  .navbar-collapse.show .nav-link:focus,
  .navbar-collapse.show .nav-link:active {
    color: #29150b !important;
  }
}

/* === Tablet & desktop (≥ 992px) === */
@media (min-width: 992px) {
  .navbar-collapse {
    background: transparent;
    padding: 0;
  }
  .navbar-nav {
    gap: 0.25rem;
  } /* kræver Bootstrap 5 */
  .navbar .nav-link {
    padding: 0.65rem 0.9rem;
  }
  .navbar .nav-link:hover {
    background: #f2f2f2;
  }
  /* Åbn dropdown på hover (valgfrit) */
  .navbar .dropdown:hover > .dropdown-menu {
    display: block;
  }
}
/*
** START BØLGE EFFEKT
*/
:root {
  --page-bg: #ffffff; /* ← skift til din baggrundsfarve */
}

.default-header {
  position: relative;
  overflow: hidden;
}

.default-header .header-img {
  object-fit: cover;
  height: 80vh;
  min-height: 380px;
}

.default-header .banner-overlay {
  z-index: 1;
}
.default-header .banner-content {
  z-index: 3;
}

.default-header .header-wave {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px; /* skjul anti-aliasing-kant */
  width: 100%;
  height: 120px; /* justér bølgens højde */
  z-index: 2; /* over overlay, under tekst */
}

.default-header .header-wave path {
  fill: var(--page-bg);
}
/* Skjul bølge på mobil */
@media (max-width: 767.98px) {
  /* ~under Bootstrap md */
  .default-header .header-wave {
    display: none;
  }
  /* Valgfrit: gør hero lidt lavere på mobil */
  .default-header .header-img {
    height: 45vh;
    min-height: 260px;
  }
}

/*
****  SLUT BØLGE EFFEKT
*/

a.nav-link {
  color: #582e18 !important;
}
.nav-link:focus,
.nav-link:hover {
  color: #29150b;
}
.navbar-brand:focus,
.navbar-brand:hover {
  color: #29150b;
}

/* WP giver 'current-menu-item' på aktiv side */
.navbar-nav .current-menu-item > a,
.navbar-nav .current-menu-parent > a {
  color: #0d6efd !important; /* blå (bootstrap primary) */
  font-weight: 600; /* gør teksten lidt mere tydelig */
}

/* Hvis du også vil style bootstrap's egen active-klasse */
.navbar-nav .nav-link.active {
  color: #0d6efd !important;
  font-weight: 600;
}

/*
***  HEADER BANNER
*/
h1,
h2,
h3,
h4,
h5,
h6 {
  color: #333;
  padding-bottom: 10px;
  line-height: 1em;
  font-weight: 500;
}
/* Desktop */

.wrapper-body {
  padding: 5.5rem 0rem;
}

#headerBanner {
  height: 60vh; /* Juster højden efter behov */
  overflow: hidden;
}
.default-header-text {
  color: #fff !important;
}
h4.default-sub-header-text {
  color: #fff;
}

#headerBanner img {
  object-fit: cover;
  height: 100%;
}

.banner-overlay {
  background-color: rgba(0, 0, 0, 0.5); /* Sort overlay med 50% opacity */
}

.banner-content p {
  font-size: 1.25rem;
}

/*OM MIG SEKTION PÅ FORSIDEN*/
.profile-image {
  border-radius: 5px;
}
.overskrif-om-forsiden {
  font-weight: 700;
  font-size: 32px;
  color: #000000 !important;
  line-height: 1.35em;
  margin-bottom: 30px !important;
}
.p-tekst-om-forsiden {
  line-height: 1.8em !important;
  font-family: "Nanum Gothic", sans-serif !important;
  font-size: 16px !important;
}

.kontakt-btn {
  color: #ffffff !important;
  border-width: 0px !important;
  border-radius: 50px;
  font-size: 12px;
  font-family: "Ubuntu", sans-serif !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  background-color: #582e18;
  width: 10vw;
  text-decoration: none;
  padding-top: 16px !important;
  padding-right: 24px !important;
  padding-bottom: 16px !important;
  padding-left: 24px !important;
}
.kontakt-btn:hover {
  color: #fff !important;
  background-color: #381a0b;
}
@media (max-width: 991px) {
  .kontakt-btn {
    margin-top: 20px;
    display: block;
    width: 100%;
    text-align: center;
    width: 40vw;
  }
}

/*terapi bokse forsiden*/
.card {
  border: none !important;
}
.card-body {
  margin-left: -17px;
}
.padding-card {
  padding: 15 27px;
}
.terapi-img-forsiden {
  height: 250px; /* vælg selv den højde du vil */
  object-fit: cover; /* beskærer billedet pænt i stedet for at forvrænge */
  width: 100%; /* fylder hele kortets bredde */
  border-radius: 5px;
}
.btn-terapi-forsiden {
  color: #582e18 !important;
  text-decoration: none;
}
/* Blød skygge */
.card-soft {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06), 0 2px 8px rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

/* Ens højde + pæn beskæring */
.terapi-img {
  height: 220px; /* justér efter smag */
  width: 100%;
  object-fit: cover;
  object-position: 50% 25%; /* flyt fokus lidt op så hoveder ikke skæres */
}
@media (max-width: 768px) {
  .logos-row .col-3 {
    margin-right: 35px; /* giver luft mellem dem på mobil */
  }
}
/* BLOG SIDEN */
.blog-image {
  height: 250px;
  width: 100%;
  object-fit: cover;
}
.card {
  display: -ms-flexbox;
  display: flex;

  -ms-flex-direction: column;
  flex-direction: column;
  min-width: 0;
  word-wrap: break-word;
  background-color: #fff;
  background-clip: border-box;
  border: 1px solid rgba(0, 0, 0, 0.125);
  border-radius: 0.25rem;
}

/*
***  Testomonials forside
*/
.avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover; /* beskær pænt inden i cirklen */
  display: inline-block;
}

/* 
*** BLOG ***
*/

.blog-titel {
  color: #333;
  padding-bottom: 10px;
  line-height: 1em;
  font-weight: 500;
  text-decoration: none;
}
.blog-titel:hover {
  color: #29150b;
}
.blog-image {
  height: 250px;
  object-fit: cover;
  border-radius: 5px;
}

/* Lige høje kort i en Bootstrap-række */
.equal-heights > [class*="col-"] {
  display: flex;
}
.equal-heights > [class*="col-"] .card {
  display: flex;
  flex-direction: column;
  width: 100%;
}
.equal-heights .card-body {
  display: flex;
  flex-direction: column;
}
/* Skub "Læs mere"-knap i bunden */
.equal-heights .btn-terapi-forsiden {
  margin-top: auto;
}

/* Valgfrit: ens billedhøjde uden at strække */
.equal-heights .card-img-top {
  aspect-ratio: 16/9;
  object-fit: cover;
}
.blog-pagination,
.custom-pagination {
  display: flex;
  justify-content: left;
  flex-wrap: nowrap; /* ingen linjeskift */
  gap: 0.5rem;
  overflow-x: auto; /* hvis der er mange sider, kan man scrolle vandret */
  text-decoration: none;
}

/* /css/blog-pagination.css */
.blog-pagination {
  display: block;
  border: 0;
}
.blog-pagination .page-numbers {
  padding: 0.25rem 0.2rem;
  text-decoration: none;
  color: #582e18;
}
.blog-pagination .page-numbers.current {
  font-weight: 500;
  border-bottom: 2px solid currentColor;
}
.blog-pagination .page-numbers:hover {
  color: #29150b;
}

/* /css/custom-pagination.css */
.custom-pagination {
  display: block;
  border: 0;
}
.custom-pagination .page-numbers {
  padding: 0.25rem 0.2rem;
  text-decoration: none;
  color: #582e18;
}
.custom-pagination .page-numbers.current {
  font-weight: 500;
  border-bottom: 2px solid currentColor;
}
.custom-pagination .page-numbers:hover {
  color: #29150b;
}

/*
** Terapi bokse. på terapi arkiv side
*/
.terapi-bokse {
  margin-left: -15px !important;
}

/*
**  Gallery plugin
*/
.gal-wrap {
  margin-left: -20px !important;
}
@media (max-width: 768px) {
  .gal-wrap {
    margin-left: 0px !important;
  }
}
/*footer*/
.wrapper-footer {
  padding: 0.5rem 0rem;
}
.footer {
  background-color: #222222 !important;
}
.footer-text {
  color: #fff !important;
}
a.made-by-link {
  text-decoration: none;
  color: #fff;
}
a.made-by-link:hover {
  color: #b9b9b9;
}

/*
* Galleri plugin
*/
.gal-item {
  border-radius: 5px !important;
}
