/* TODO add the license for the mark ot font*/
/* TODO add also woff file*/
/* 
@font-face {
  font-family: 'Mark OT';
  src: url('/fonts/Mark OT Light.otf') format('opentype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Mark OT';
  src: url('/fonts/Mark OT.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Mark OT';
  src: url('/fonts/Mark OT Medium.otf') format('opentype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Mark OT';
  src: url('/fonts/Mark OT Bold.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
} */

/* Optional iOS/macOS rendering tweaks */

:root {
  --bs-body-font-family: var(--font-mark-ot), Arial, sans-serif;
  --bullet-size: 12px;
  --bullet-active-size-before: 16px;
  --bullet-spacing: 12px;
  --bullet-size-active-after: 8px;

  --bs-body-font-family: 'Mark OT', Arial, sans-serif;

  /* Color variables */
  --color-black: #000000;
  --color-white: #ffffff;
}

html,
body {
  font-family: var(--bs-body-font-family);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  -webkit-text-size-adjust: 100%;
  background-color: #f8f8f7;
}

/* @font-face {
  font-family: 'Mark OT';
  src: url('/fonts/Mark OT.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
} */

/* ==============================================  Common starts ===================================== */
h6,
.h6,
h5,
.h5,
h4,
.h4,
h3,
.h3,
h2,
.h2,
h1,
.h1,
p {
  margin-bottom: unset;
}

.pageContent {
  display: flex;
  flex-direction: column;
  gap: 40px; /* desktop default */
}

.brandHeader {
  font-size: 30px;
  font-weight: 400;
  text-align: center;
}
.brandSubHeader {
  font-size: 40px;
  font-weight: 400;
  text-align: center;
}

/* mobile override */
@media (max-width: 600px) {
  .pageContent {
    gap: 20px; /* your SBC_MOBILE value */
  }
  .brandSubHeader {
    font-size: 20px;
    font-weight: 400;
    text-align: center;
  }
  .brandHeader {
    font-size: 18px;
    font-weight: 400;
    text-align: center;
  }
}

/* ==============================================  Common ends ===================================== */
/* ==============================================  Swiper starts ===================================== */

.swiper-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  height: var(--bullet-active-size-before);
  gap: var(--bullet-spacing);
}

.custom-bullet {
  width: var(--bullet-size) !important;
  height: var(--bullet-size) !important;
  position: relative;
  cursor: pointer;
  /* transition: all 0.3s ease; */
}
.swiper-pagination-bullet-active {
  opacity: 0.3;
  background: var(--color-black) !important;
  width: 10px !important;
  height: 10px !important;
}

.custom-bullet::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: var(--bullet-size);
  height: var(--bullet-size);
  background: var(--color-white) !important;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  /* transition: all 0.3s ease; */
}

.custom-bullet.swiper-pagination-bullet-active::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: var(--bullet-active-size-before) !important;
  height: var(--bullet-active-size-before) !important;
  background: var(--color-black);
  opacity: 0.3;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  z-index: 0;
  /* transition: all 0.3s ease; */
}

.custom-bullet.swiper-pagination-bullet-active::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: var(--bullet-size-active-after);
  height: var(--bullet-size-active-after);
  background: var(--color-black) !important;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  /* transition: all 0.3s ease; */
}

.swiper {
  -webkit-overflow-scrolling: touch;
  backface-visibility: hidden;
  transform: translateZ(0);
}

.swiper-wrapper {
  transition-timing-function: linear !important;
  transform: translate3d(0, 0, 0);
}

.swiper-slide {
  -webkit-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
}
/* ==============================================  Swiper ends ===================================== */

/* ==============================================  Marquee starts ===================================== */

.rfm-child {
  width: 100vw;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-right: 20px;
}

@media (max-width: 767px) {
  .rfm-child {
    margin-right: calc(100vw - 40px);
  }
}

/* ==============================================  Marquee ends ===================================== */

/* ==============================================  Grid starts ===================================== */

.row,
.custom-grid .row * {
  --bs-gutter-x: 0rem !important;
}
.custom-grid {
  padding: 0 var(--space-around-component);
}
/* .custom-grid {
  padding: 0px 25px;
} */

.custom-grid .row {
  height: 100%;
}
/* Custom grid paddings for first and last child */
.custom-grid > *:first-child {
  padding-right: 12.5px;
}

.custom-grid > *:last-child {
  padding-left: 12.5px;
}

.custom-grid .row-splitter > :nth-child(odd) {
  /* padding-bottom: 19.5px; */
  padding-bottom: 12.5px;
}
.custom-grid .row-splitter > :nth-child(even) {
  /* padding-top: 19.5px; */
  padding-top: 12.5px;
}

/* Remove padding for screens below lg (992px) */
@media (max-width: 991.98px) {
  .custom-grid > .col-12 {
    gap: 12px;
  }

  .custom-grid > .col-12:nth-child(odd) {
    padding-bottom: 12px;
  }

  .custom-grid > .col-6:first-child {
    padding-right: 6px;
  }

  .custom-grid > .col-6:last-child {
    padding-left: 6px;
  }

  .custom-grid > *:first-child {
    padding-right: 0px;
  }

  .custom-grid > *:last-child {
    padding-left: 0px;
  }

  .custom-grid .row-splitter > :nth-child(odd) {
    padding-bottom: 6px;
  }
  .custom-grid .row-splitter > :nth-child(even) {
    padding-top: 6px;
  }
}

/* ==============================================  Grid ends ===================================== */

/* ==============================================  RichText starts ===================================== */
/* .ck-content * { */
/* margin: 0;
  padding: 0; */
/* line-height: 1.6;
} */

.description {
  width: 100%;
}
/* ==============================================  RichText ends ===================================== */

/* ==============================================  Aligments starts ===================================== */
.position-center {
  justify-content: center;
}
.position-left {
  justify-content: start;
}

.position-right {
  justify-content: end;
}

.top {
  align-items: start;
}

.middle {
  align-items: center;
}
.bottom {
  align-items: end;
}
.text-left {
  text-align: start;
}
.text-center {
  text-align: center;
}
.text-center {
  text-align: center;
}
.text-right {
  text-align: end;
}
/* ==============================================  Aligments ends ===================================== */
/* ==============================================  Swiper-slide-thumb-active start ===================================== */
.swiper-slide-thumb-active .thumb-box {
  border: 2px solid var(--color-black) !important;
}
.swiper {
  --swiper-navigation-color: var(--color-black);
}

.swiper-button-prev:after,
.swiper-button-next:after {
  font-size: 24px !important;
}

/* ==============================================  Swiper-slide-thumb-active ends ===================================== */

.rte-content {
  text-align: left;
}

/* Logo */
.rte-header {
  text-align: right;
}

.rte-logo {
  max-width: 180px;
  height: auto;
}

/* 44px Titles */
.rte-title {
  font-size: 44px;
  font-weight: 400;
  line-height: 1.1;
  margin-top: 20px;
}

.rte-title-anmeldelser {
  font-size: 24px;
  font-weight: 500;
  line-height: 1.1;
  margin-bottom: 10px;
}

.container-anmeldelser {
  padding: 30px;
  background-color: #f3f4f6;
  border-radius: 14px;
}

/* 16px Paragraphs */
.rte-large {
  font-size: 16px;
  line-height: 1.6;
  padding-bottom: 20px;
}

.rte-footer-large {
  font-size: 35px;
  line-height: 1.6;
}

/* Image Grid */
.rte-image-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 40px 0;
}

.rte-ul {
  margin: 10px 25px;
  line-height: 1.6;
}

.rte-ul li {
  line-height: 1.6;
}

.rte-image-grid img {
  width: 100%;
  height: auto;
  display: block;
}

.description ul li {
  font-size: 16px;
}

/* Mobile */
@media (max-width: 768px) {
  .description ul li {
    font-size: 14px;
  }
  .rte-title-anmeldelser {
    font-size: 16px;
    font-weight: 500;
  }

  .rte-title {
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 20px;
  }

  .rte-large {
    font-size: 14px;
  }

  .rte-image-grid {
    grid-template-columns: 1fr;
  }
}

/* Responsive 3-image grid */
.rte-image-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 30px 0;
}

.rte-image-grid img {
  width: 100%;
  height: auto;
  display: block;
}

/* Mobile */
@media (max-width: 768px) {
  .rte-image-grid {
    grid-template-columns: 1fr;
  }
}

/* ====================================== */

.rte-content p {
  margin-bottom: 16px;
}

.rte-content a {
  color: #000; /* or brand color */
  text-decoration: underline;
}

.rte-content a:hover {
  font-family: 'Mark OT', sans-serif;

  text-decoration: none;
}

/* TODO: this will be removed later */
/* #content [data-name='PageHeadingSEO'] {
  padding: 60px 80px;
} */

.inspirationDescription {
  color: #333; /* Text color */
  font-size: 14px; /* Base font size */
  line-height: 1.7; /* Line height for readability */
  margin: auto; /* Center container horizontally */
  max-width: 900px; /* Max width for readability */
  padding: 24px 16px; /* Padding inside the container */
  text-align: left;
}

/* Paragraph spacing */
.inspirationDescription p {
  margin-bottom: 16px;
  text-align: left;
}

/* Headings spacing */
.inspirationDescription h4 {
  margin-top: 32px;
  margin-bottom: 12px;
  line-height: 1.7; /* Line height for readability */
  letter-spacing: normal; /* resets any wide spacing */
  text-align: left;

  font-weight: 600; /* Optional: bold headings */
}

/* Lists styling */
.inspirationDescription ul {
  margin-top: 16px;
  margin-bottom: 24px;
  padding-left: 16px;
  text-align: left;

  line-height: 1.7; /* Line height for readability */
}

.inspirationDescription ul li p {
  margin-left: 20px;
  margin-bottom: 8px;
  text-align: left;
  font-family: 'Mark OT', sans-serif;

  line-height: 1.7; /* Line height for readability */
}

/* Links styling */
.inspirationDescription a {
  color: #0056b3;
  text-decoration: underline;
}

.rating-review {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px;
  background: #f5f5f5;
  flex-wrap: wrap;
} /* LEFT */
.rating-left {
  text-align: center;
  flex: 1;
  min-width: 200px;
}
.rating-left .stars {
  font-size: 20px;
  letter-spacing: 3px;
}
.rating-left .score {
  font-size: 18px;
  font-weight: 600;
  margin-top: 5px;
}
.rating-left .votes {
  font-size: 12px;
  color: #666;
  margin-top: 5px;
} /* DIVIDER */
.divider {
  width: 1px;
  background: #ccc;
  height: 60px;
} /* RIGHT */
.rating-right {
  flex: 2;
  min-width: 250px;
  text-align: center;
}
.rating-right .stars {
  font-size: 20px;
  letter-spacing: 3px;
  margin-bottom: 5px;
}
.rating-right .quote {
  font-size: 14px;
  margin: 5px 0;
}
.rating-right .author {
  font-size: 12px;
  color: #444;
  font-style: italic;
} /* RESPONSIVE */
@media (max-width: 600px) {
  .rating-review {
    flex-direction: column;
    text-align: center;
  }
  .divider {
    width: 100%;
    height: 1px;
  }
}

/* Optional: make it responsive */
@media (max-width: 768px) {
  .inspirationDescription {
    padding: 20px 12px;
    font-size: 13px;
    line-height: 1.7; /* Line height for readability */
  }
  #content [data-name='PageHeadingSEO'] {
    padding: 20px;
  }
}

@media (max-width: 480px) {
  .inspirationDescription {
    padding: 16px 8px;
    font-size: 12px;
    letter-spacing: normal; /* resets any wide spacing */

    line-height: 1.7; /* Line height for readability */
  }
  /* TODO: this will be removed later */

  /* #content [data-name='PageHeadingSEO'] {
    padding: 40px 20px;
  } */
}

/* ================flowbox css==================== */

.flowbox-wrapper {
  padding: 16px;
}

.flowbox-tags {
  margin-bottom: 16px;
}

.flowbox-button {
  margin-right: 8px;
  padding: 6px 12px;
  border: 1px solid #ccc;
  background: #fff;
  cursor: pointer;
  border-radius: 4px;
}

.flowbox-button.active {
  background: #000;
  color: #fff;
}

.flowbox-grid {
  display: grid;
}

.flowbox-item {
  position: relative;
  width: 100%;
  aspect-ratio: 476 / 660;
  overflow: hidden;
  border-radius: 8px;
  background: #f0f0f0;
}

.overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.4);
  color: #fff;
  display: flex;
  justify-content: space-between;
  padding: 5px 10px;
  font-size: 14px;
}

.loading {
  text-align: center;
  margin: 16px 0;
  font-size: 16px;
  color: #666;
}

/* REVIEWS CSS ==== START ===== */
.reviews-main {
  width: 100%;
  display: flex;
  justify-content: center;
}
.reviews-banner {
  display: flex;
  align-items: center;
  background: #f3f4f6;
  padding: 20px 30px;
  max-width: 900px;
  width: 100%;
  justify-content: center;
  flex-direction: row;
  margin-top: 10px;
  margin-bottom: 20px;
}

.reviews-left-content {
  text-align: center;
  flex: 1;
}

.reviews-stars {
  font-size: 18px;
  letter-spacing: 2px;
  margin-bottom: 5px;
}

.reviews-stars .half-star {
  background: linear-gradient(to right, #000 50%, #fff 50%);

  background-clip: text;
  -webkit-background-clip: text;

  color: transparent;
  -webkit-text-fill-color: transparent;

  -webkit-text-stroke: 1px #000;
}

.reviews-rating {
  font-size: 28px;
  font-weight: bold;
  margin: 0;
}

.reviews-subtext {
  font-size: 12px;
  color: #666;
}

.reviews-divider {
  width: 1px;
  height: 70px;
  background: #ddd;
  margin: 0 25px;
}

.reviews-right {
  text-align: center;
  flex: 1;
}

.reviews-quote {
  font-size: 14px;
  color: #333;
  margin-bottom: 10px;
}

.reviews-author {
  font-size: 12px;
  color: #777;
}
/* REVIEWS CSS ====END ==== */

/* Responsive */
@media (max-width: 1024px) {
  .flowbox-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .reviews-divider {
    width: 70px;
    height: 1px;
    background: #ddd;
    margin: 15 10px;
  }
  .reviews-banner {
    flex-direction: column;
  }
  .flowbox-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .reviews-divider {
    width: 70px;
    height: 1px;
    background: #ddd;
    margin: 10px 0px;
  }
  .reviews-banner {
    flex-direction: column;
  }
  .flowbox-grid {
    grid-template-columns: 1fr;
  }
}

@keyframes fadeZoomIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* #CookiebotWidget,
#CookiebotWidgetButton,
.CookiebotWidget {
  display: none !important;
} */
