/*
Theme Name:   LEA forsikring
Theme URI:    http://supertusch.dk/theme/lea/
Description:  Basically Bootstrap 5 Child Theme created for LEA forsikring
Author:       Supertusch
Author URI:   http://supertusch.dk
Template:     basically-bootstrap-5
Version:      1.0.0
Domain Path: /languages/
Text Domain:  lea
*/

/* Intermediate removal */
/* .below-hero, .team, footer{
  display: none !important;
} */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&display=swap');

/* Regular */
@font-face {
  font-family: 'Rebond';
  src: url('assets/font/ESRebondGrotesque-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
}

/* Italic */
@font-face {
  font-family: 'Rebond';
  src: url('assets/font/ESRebondGrotesque-Italic.woff2') format('woff2');
  font-weight: 400;
  font-style: italic;
}

/* Bold */
@font-face {
  font-family: 'ES Rebond Grotesque';
  src: url('assets/font/ESRebondGrotesque-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
}

/* Bold Italic */
@font-face {
  font-family: 'Rebond';
  src: url('assets/font/ESRebondGrotesque-BoldItalic.woff2') format('woff2');
  font-weight: 700;
  font-style: italic;
}

/* Light */
@font-face {
  font-family: 'Rebond';
  src: url('assets/font/ESRebondGrotesque-Light.woff2') format('woff2');
  font-weight: 300;
  font-style: normal;
}

/* Light Italic */
@font-face {
  font-family: 'Rebond';
  src: url('assets/font/ESRebondGrotesque-LightItalic.woff2') format('woff2');
  font-weight: 300;
  font-style: italic;
}

/* Medium */
@font-face {
  font-family: 'Rebond';
  src: url('assets/font/ESRebondGrotesque-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
}

/* Medium Italic */
@font-face {
  font-family: 'Rebond';
  src: url('assets/font/ESRebondGrotesque-MediumItalic.woff2') format('woff2');
  font-weight: 500;
  font-style: italic;
}

/* === COLORS === */

:root {
  --color-primary: #321134;
  --color-primary-light: #f4b0f9;

  --color-beige: #f5f3f0;
  --color-accent: #f6e9fe;

  --color-bg: #fef7fe;
  --color-bg-gray: #f4f4f5;
  --color-bg-secondary-default: #f5f3f0;
  --color-text-gray: #534d56;
  --color-text-gray-dark: #28212c;
  --color-base-foreground-primary-light: #f4b0f9;
  --color-base-foreground-primary-dark: #321134;

  --color-border: #e4e4e7;
  --border: 1px solid var(--color-border);

  --border-radius-sm: 4px;
  --border-radius-md: 8px;
  --border-radius: 24px;
  --border-radius-round: 999px;

  --box-shadow: 0px 1px 2px 0px rgba(18, 18, 23, 0.05);
}

/* === TYPOGRAPHY === */
:root {
  --font-display-lg: clamp(2.75rem, 1.5rem + 4vw, 4.375rem);
  --font-block-h1: clamp(2.5rem, 1.67rem + 2.08vw, 3.5rem);
  /* 40px → 56px */
  --font-h2: clamp(2.25rem, 1.58rem + 1.67vw, 3rem);
  /* 36px → 48px */
  --font-h3: clamp(1.375rem, 1.15rem + 0.83vw, 1.75rem);
  /* 22px → 28px */
  --font-h4: clamp(1.25rem, 1.05rem + 0.56vw, 1.5rem);
  /* 20px → 24px */
  --font-h5: clamp(1.125rem, 1.03rem + 0.28vw, 1.25rem);
  /* 18px → 20px */

  --font-block-body: 18px;
  /* 14px → 18px */

  --font-h1: clamp(1.8rem, 3vw + 1rem, 2.5rem);
  /* 40px max */
  --font-body: clamp(1rem, 1.5vw + 0.25rem, 1rem);
  /* 16px fixed */
  --font-body-small: clamp(0.875rem, 1vw + 0.2rem, 0.875rem);
  /* 14px */
}

/**** FONT ***/

body {
  font-family: 'Rebond', sans-serif;
  font-weight: 400;
  font-style: normal;
}

strong {
  font-weight: 700;
  font-style: normal;
}

h1 {
  font-size: var(--font-h1);
  font-weight: 500;
}

.hero-content p:last-of-type {
  margin-bottom: 0px;
}

/**** HEADER ***/

.home header {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 140px;
}

.home header video,
.home header img {
  max-width: 95px;
  height: auto;
}

/**** GENERAL ***/

.page-container {
  flex-direction: column;
}

.btn {
  background-color: var(--color-primary);
  color: var(--color-bg);
  padding: 16px 32px;
  border-radius: var(--border-radius-round);
  transition: 0.4s ease;
}

.btn:hover {
  color: white;
  color: var(--color-primary);
  background-color: var(--color-primary-light);
}

.centered {
  text-align: center;
}

/**** HERO ***/

.hero-banner {
  background-color: var(--color-bg);
  border-radius: var(--border-radius);
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.hero-banner h1 {
  margin-bottom: 24px;
}

.hero-banner .btn {
  margin-top: 48px;
}

.hero-content {
  padding: 100px 80px;
  padding-right: 20px;
}

.hero-content p {
  font-size: 24px;
  color: var(--color-text-gray);
  /* line-height: 32px; */
}

.hero-content p strong {
  color: var(--color-primary);
}

.hero-image {
  position: relative;
}

.hero-image img {
  /* transform: rotate(-26deg); */
  position: absolute;
  height: 110%;
  width: auto;
  right: -30px;
  top: -24px;
}

.hero-text {
  margin-top: 40px;
  margin-bottom: 100px;
  text-align: center;
}

.hero-text p,
.hero-text a {
  color: var(--color-primary);
  font-size: 24px;
}

@media screen and (min-width: 992px) {
  .mobile-only {
    display: none;
  }
}

@media screen and (max-width: 992px) {
  .hero-banner {
    grid-template-columns: 1fr;
  }

  .hero-image img {
    display: none;
  }

  .hero-content {
    padding: 60px 40px;
    text-align: center;
  }

  .hero-text {
    max-width: 280px;
    margin-inline: auto;
    margin-bottom: 40px;
  }

  .hero-text p,
  .hero-text a {
    font-size: 14px;
  }
}

.mobile-only img {
  margin: 40px 0px;
}

.hero-image img {
  max-width: none;
}

.hero-text span {
  position: relative;
}

.hero-text span img {
  position: absolute;
  bottom: 40px;
  left: -300px;
  width: 400px;
  max-width: none;
}

/* Placeholder - Sorry girls :* */
/* Below Hero*/

.below-hero {
  background-color: var(--color-bg-secondary-default);
  padding-block: 11rem;
  width: 100%;
}

.below-hero .container {
  max-width: 1155px;
}

.below-hero .row {
  margin-bottom: 104px;
}

.below-hero h3 {
  font-size: 56px;
  font-style: normal;
  font-weight: 500;
  line-height: 64px;
  color: var(--color-base-foreground-primary-dark);
}

.below-hero h4 {
  font-size: 40px;
  font-style: normal;
  font-weight: 500;
  line-height: 64px;
  color: var(--color-base-foreground-primary-dark);
}

.below-hero p {
  font-size: 24px;
}

.fact-box-wrapper {
  display: flex;
  align-items: flex-end;
}

.fact-box {
  background-color: #fff;
  display: flex;
  width: 452px;
  padding: 48px;
  flex-direction: column;
  align-items: flex-start;
  border-radius: 24px;
  gap: 40px;
  margin-left: auto;
}

.fact-box p {
  font-weight: 500;
  font-size: 24px;
}

.fact-box ul {
  margin-left: 0;
  padding-left: 0;
  display: flex;
  gap: 40px;
  flex-direction: column;
}

.fact-box ul li {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 20px;
}

.fact-box ul li:before {
  content: url('assets/img/downarrow-right.svg');
  position: relative;
  top: 3px;
}

.quote {
  text-align: center;
}

p.quote-text {
  font-size: 56px;
  font-style: normal;
  font-weight: 500;
  line-height: 64px;
}

.quote:before {
  content: url('assets/img/quote-icon.svg');
  width: 62px;
  height: 48.279px;
  position: relative;
  margin-bottom: 15px;
}

@media (max-width: 992px) {
  .below-hero {
    padding-block: 3rem;
  }

  .below-hero .row {
    margin-bottom: 48px;
    padding-inline: 0.8em;
  }

  .below-hero h3 {
    font-size: 24px;
    line-height: 32px;
    margin-bottom: 1em;
  }

  .below-hero h4 {
    font-size: 24px;
    line-height: 32px;
    margin-bottom: 1em;
  }

  .below-hero p {
    font-size: 16px;
  }

  .tung {
    order: 1;
  }

  .fact-box-wrapper {
    order: 0;
  }

  .fact-box {
    padding: 28px;
    margin-inline: auto;
    margin-bottom: 2em;
  }

  .fact-box p {
    font-size: 16px;
  }

  .fact-box ul li {
    font-size: 14px;
  }

  .fact-box ul {
    gap: 24px;
  }

  .fact-box {
    gap: 24px;
  }

  p.quote-text {
    font-size: 24px;
    font-style: medium;
    font-weight: 500;
    line-height: 32px;
  }

  .quote:before {
    content: url('assets/img/quote-icon-mobile.svg');
    width: 35px;
    height: 27px;
  }
}

/* Team */
.team {
  padding-block: 172px;
}

.team .col-xl-6,
.team .col-md-12 {
  display: grid;
  place-items: end;
}

.team h3 {
  font-size: 64px;
  line-height: 72px;
  max-width: 410px;
  margin-bottom: 172px;
  position: relative;
}

.team h3:after {
  content: url('assets/img/curly-arrow-big.svg');
  position: absolute;
  left: 450px;
  top: 0;
}

.image-box-wrapper {
  margin-inline: auto;
  position: relative;
}

.image-box {
  display: grid;
  place-items: center;
}

.image-box img {
  grid-row: 1;
  grid-column: 1;
  z-index: 1;
}

.image-background {
  background-color: var(--color-bg-secondary-default);
  height: 344px;
  border-radius: 16px;
  width: 600px;
  grid-row: 1;
  grid-column: 1;
  margin-inline: auto;
  place-self: end;
}

.text-box {
  margin-left: 20px;
  margin-top: 24px;
}

.text-box .team-name {
  font-size: 28px;
  font-style: normal;
  font-weight: 500;
  line-height: 130%;
}

.text-box .team-title {
  font-size: 24px;
  font-style: normal;
  font-weight: 400;
  line-height: 32px;
}

@media (max-width: 992px) {
  .team {
    padding-block: 72px;
  }

  .team h3 {
    font-size: 28px;
    text-align: center;
  }

  .team h3::after {
    display: none;
  }

  .image-background {
    width: 100%;
    height: 275px;
  }

  .text-box .team-name {
    font-size: 16px;
    font-style: medium;
    margin-bottom: 0;
  }

  .text-box .team-title {
    font-size: 14px;
    font-style: regular;
  }
}

/*Image background edge Case*/
@media (min-width: 1200px) and (max-width: 1400px) {
  .image-background {
    width: 500px;
  }
}

/* ---------------------------------- */
/*  GENERAL ELEMENTS                   */
/* ---------------------------------- */

.tag {
  background-color: var(--color-primary-light);
  color: var(--color-primary);
  padding: 8px 12px;
  border-radius: 8px;
  width: fit-content;
}

.hero-image-mobile {
  display: none;
  height: 100%;
}

/* ---------------------------------- */
/*   HEADER NAViGATION (CONTENT PAGES)*/
/* ---------------------------------- */

header.header-nav {
  position: fixed;
  width: 100%;
  z-index: 10;
}

header.header-nav .navbar {
  padding-top: 20px;
  width: 100%;
}

.header-columns {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: white;
  border-radius: 16px;
  padding: 40px;
  padding: 20px 40px;
  border: var(--border);
  box-shadow: 0px 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.header-columns .btn.btn-round {
  font-size: 14px;
  padding: 16px 24px;
}

.header-columns .mobile-only {
  display: none;
}

header.header-nav .navbar > .container {
  display: block;
}

header.header-nav .navbar-toggler {
  margin: 0;
}

/* nav.navbar .row {
  width: 100%;
} */

#menu-header-menu {
  align-items: center;
  grid-gap: 32px;
}

#menu-header-menu a.nav-link {
  padding: 0;
}

#menu-header-menu .btn {
  padding: 16px 24px;
  margin-left: 8px;
}

#menu-header-menu .btn a {
  padding: 0;
  color: white;
  font-size: 14px;
}

#menu-header-menu a {
  font-size: var(--font-body-large);
  color: var(--color-primary);
}

#menu-header-menu a:hover {
  color: #301e4e;
}

#main-menu {
  justify-content: flex-end;
  column-gap: 40px;
}

/*** Mobile menu custom toggle ***/

.menu-toggle {
  position: relative;
  width: 32px;
  height: 24px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--color-primary);
  cursor: pointer;
}

.menu-toggle .bar {
  position: absolute;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--color-primary);
  border-radius: 1px;
  transition: top 0.25s ease, transform 0.25s ease, opacity 0.2s ease;
}

.menu-toggle .b1 {
  top: 4px;
}

.menu-toggle .b2 {
  top: 11px;
}

.menu-toggle .b3 {
  top: 18px;
}

.menu-toggle[aria-expanded='true'] .b1 {
  top: 11px;
  transform: rotate(45deg);
}

.menu-toggle[aria-expanded='true'] .b2 {
  opacity: 0;
  transform: scaleX(0.6);
}

.menu-toggle[aria-expanded='true'] .b3 {
  top: 11px;
  transform: rotate(-45deg);
}

/* Optional: spacing/alignment tweaks */
.header-columns {
  gap: 0.75rem;
}

@media (min-width: 768px) {
  /* md */
  .header-columns {
    gap: 1rem;
  }
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .menu-toggle .bar {
    transition: none;
  }
}

@media screen and (max-width: 992px) {
  .header-columns {
    flex-wrap: wrap;
    row-gap: 24px;
  }
}

@media screen and (min-width: 992px) {
  .menu-toggle {
    display: none;
  }

  header.header-nav .navbar {
    padding-top: 32px;
  }
}

/* ---------------------------------- */
/*   GENERAL                          */
/* ---------------------------------- */

main {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* ---------------------------------- */
/*   HERO                             */
/* ---------------------------------- */

.hero {
  position: relative;
  padding-top: 115px;
  justify-content: flex-start;
  align-items: center;
  overflow: hidden;
  width: 100%;
}

.hero.image-hero {
  min-height: 930px;
  max-width: 2000px;
}

.hero.text-hero.bg-beige {
  background-color: var(--color-beige);
}

.hero.text-hero.bg-purple {
  background-color: #fee6fe;
}

.hero.text-hero .hero-content {
  padding: 100px 0px;
  text-align: center;
}

.hero.text-hero .description p {
  font-weight: 300;
  font-size: var(--font-h3);
  color: var(--color-text-gray-dark);
}

.text-hero-wrapper {
  display: flex;
  flex-direction: column;
  row-gap: 32px;
  text-align: center;
  justify-content: center;
  align-items: center;
}

.text-hero-wrapper h1,
.text-hero-wrapper p {
  max-width: 900px;
}

/* .home .hero {
  min-height: 900px;
} */

.hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.hero-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: bottom;
}

.hero .hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding-top: 87px;
}

.hero-content-col {
  display: flex;
  justify-content: center;
}

.hero h1 {
  font-size: var(--font-block-h1);
  max-width: 870px;
  font-weight: 700;
  text-align: center;
}

@media screen and (max-width: 768px) {
  .hero.image-hero {
    min-height: 700px;
  }

  .hero.image-hero img {
    display: none;
  }

  .hero.image-hero .hero-image-mobile img,
  .hero.image-hero .hero-image-mobile {
    display: block;
  }
}

@media screen and (min-width: 2000px) {
  .hero.image-hero {
    border-radius: 0px 0px 16px 16px;
  }
}

/* ---------------------------------- */
/*   BLOCKS                           */
/* ---------------------------------- */

/*** --- FONT SIZES --- ***/

.content-block h2,
.content-block h3,
.content-block h4,
.content-block h5 {
  color: var(--color-primary);
  margin-bottom: 0;
}

.content-block h2 {
  font-size: var(--font-h2);
}

.content-block h3 {
  font-size: var(--font-h3);
}

.content-block h4 {
  font-size: var(--font-h4);
}

.content-block h5 {
  font-size: var(--font-h5);
}

.content-block p {
  font-size: var(--font-block-body);
  color: var(--color-text-gray);
  font-family: 'DM Sans', sans-serif;
}

.content-block p:last-child,
blockquote {
  margin-bottom: 0px;
}

/*** --- GENERAL --- ***/

.content-blocks {
  width: 100%;
}

.block-row {
  row-gap: 40px;
}

.content-block {
  padding: 104px 0px;
  width: 100%;
}

.content-block.bg-beige {
  background-color: var(--color-beige);
}

.content-block.bg-white + .content-block.bg-white,
.content-block.bg-beige + .content-block.bg-beige {
  padding-top: 0px;
}

.content-block .grid-heading {
  display: flex;
  justify-content: space-between;
  margin-bottom: 80px;
  row-gap: 16px;
}

.content-block .grid-heading p {
  max-width: 672px;
}

.content-block .card {
  background-color: var(--color-beige);
  padding: 48px;
  border-radius: 24px;
  display: flex;
  flex-direction: column;
  gap: 40px;
  border: none;
}

.content-block a.card,
a.card {
  text-decoration: none;
}

.content-block.bg-beige .card {
  background-color: white;
}

.card.image-card {
  padding: 16px;
  border-radius: 16px;
  gap: 16px;
  border: 1px solid var(--Border-border-default, #d4d3d5);
}

.card h2,
.card h3,
.card h4,
.card h5 {
  margin-bottom: 0px;
}

.content-block blockquote p {
  font-family: 'Rebond', sans-serif;
}

.content-block .read-more,
.insurance-archive .read-more {
  text-decoration: none;
  color: var(--color-primary);
  font-size: var(--font-h5);
  display: flex;
  align-items: center;
  appearance: none;
  border: none;
  background: transparent;
}

.content-block .read-more::before,
.insurance-archive .read-more::before {
  content: url('/wp-content/themes/lea/assets/img/read-more-icon.svg');
  margin-right: 8px;
  position: relative;
  top: 2px;
}

.content-block .btn {
  width: fit-content;
  font-size: var(--font-h5);
}

.content-block .btn-container {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

/*** --- CITAT --- ***/

.citat {
  text-align: center;
}

.citat .quote-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  row-gap: 33px;
  align-items: center;
}

.citat .quote-container p {
  font-size: var(--font-block-h1);
  color: var(--color-primary);
  max-width: 900px;
  font-weight: 500;
  line-height: 110%;
  margin-bottom: 0px;
}

.citat .quote-container cite {
  font-size: var(--font-h5);
  color: var(--color-text-gray);
  font-style: normal;
}

/*** --- TEKST & LISTE --- ***/

.text-container {
  display: flex;
  flex-direction: column;
  row-gap: 24px;
}

.text-container p {
  font-size: var(--font-h4);
}

.list-card ul {
  list-style: none;
  padding-left: 0px;
  display: flex;
  flex-direction: column;
  row-gap: 40px;
  margin-bottom: 0px;
}

.list-card ul li {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: var(--font-h5);
}

.list-card h3 {
  font-size: var(--font-h4);
  font-weight: 400;
}

@media screen and (min-width: 992px) {
  .list-card {
    margin-left: 100px;
  }
}

/*** --- KORT --- ***/

.grid-heading h2 {
  font-size: var(--font-block-h1);
  font-weight: 700;
}

.grid-heading p {
  font-size: var(--font-h3);
  font-weight: 300;
}

.cards-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.bg-white .image-card {
  background-color: var(--color-beige);
  border: none;
}

.image-card h3 {
  font-size: var(--font-h4);
  color: var(--color-primary);
}

.image-card p {
  color: var(--color-text-gray);
  font-family: 'DM Sans', sans-serif;
}

.image-card img {
  width: 100%;
  height: 227px;
  object-fit: cover;
  object-position: center;
  border-radius: 4px;
}

.image-card .card-image {
  position: relative;
}

.card-image.coming-soon img {
  opacity: 0.2;
  transition: opacity 0.4s ease;
}

.image-card:hover .card-image.coming-soon img {
  opacity: 1;
}

.image-card .label {
  background-color: var(--color-accent);
  color: var(--color-primary);
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 14px;
  width: fit-content;
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 1;
}

/* =====  Offcanvas / sidebar  ===== */

.cards-grid .offcanvas {
  width: min(560px, 100vw);
  max-width: 625px;
  padding: 56px 40px 126px 40px;
  row-gap: 48px;
}

.cards-grid .offcanvas-header,
.cards-grid .offcanvas-body {
  padding: 0;
}

.cards-grid .offcanvas-title {
  font-size: var(--font-h4);
}

/* Scrollbar hidden (Chrome/Safari/Opera) */
.cards-grid .offcanvas-body::-webkit-scrollbar {
  display: none;
}

/* Scrollbar hidden (IE/Edge/Firefox) + bottom padding so last content isn't under the sticky btn area */
.cards-grid .offcanvas-body {
  -ms-overflow-style: none;
  scrollbar-width: none;
  padding-bottom: 30px !important;
  display: flex;
  flex-direction: column;
  row-gap: 40px;
}

.cards-grid .offcanvas a {
  color: var(--color-primary);
}

.cards-grid .btn-area {
  display: flex;
  justify-content: center;
  width: 100%;
  position: absolute;
  bottom: 0;
  right: 0;
  padding: 32px 40px;
  box-shadow: 0px -4px 20px 0px #0000001a;
  background-color: #fff;
}

.cards-grid .btn-area .btn {
  opacity: 1;
  width: 100%;
}

.cards-grid .offcanvas-text p {
  color: var(--color-text-gray);
}

.cards-grid .offcanvas-section {
  display: flex;
  flex-direction: column;
  row-gap: 16px;
}

.cards-grid .offcanvas-section-body {
  padding: 24px;
  background: var(--color-bg);
  border-radius: 16px;
}

.cards-grid .offcanvas-section-body p {
  color: var(--color-text-gray);
  font-size: var(--font-body);
}

.cards-grid .offcanvas-section-body p strong {
  color: var(--color-text-body);
  font-weight: 500;
}

.cards-grid h4.offcanvas-section-title {
  font-weight: 400;
  font-size: var(--font-body-large);
  color: var(--color-text-body);
}

.cards-grid .offcanvas-section-body > :last-child {
  margin-bottom: 0;
}

.offcanvas-backdrop {
  position: fixed;
  inset: 0;
  z-index: var(--bs-backdrop-zindex, 1040);
  background-color: var(--bs-backdrop-bg, #000);
}

.offcanvas-backdrop.fade {
  opacity: 0;
}

.offcanvas-backdrop.show {
  opacity: 0.2;
}

.btn-close.btn-round {
  background-image: none;
  height: 100%;
}

/* ===== Card trigger ("Læs mere") ===== */

/* Optional pill button look instead
.cards-grid .read-more {
  display: inline-block;
  background-color: var(--color-primary);
  color: #fff;
  border-radius: 9999px;
  padding: 10px 16px;
  line-height: 1;
  text-decoration: none;
  transition: background .2s ease-in-out;
}
.cards-grid .read-more:hover {
  background-color: var(--color-primary-light);
  color: var(--color-primary);
}
*/

/*** --- KONTAKT --- ***/

.content-block.kontakt {
  background-color: var(--color-accent);

  border-radius: 16px;
  padding: 80px 20px;
  padding-bottom: 0;
}

.contact {
  display: flex;
  flex-direction: column;
  position: relative;
}

.contact-content {
  display: flex;
  flex-direction: column;
  row-gap: 64px;
  padding-bottom: 64px;
}

.contact-content p {
  font-weight: 300;
  font-size: var(--font-h4);
  color: var(--color-text-gray);
}

.contact-content h2 {
  font-size: var(--font-block-h1);
  font-weight: 700;
  margin-bottom: 24px;
}

.contact .image-container {
  position: relative;
}

.contact-person {
  width: 100%;
  display: flex;
  justify-content: flex-end;
}

.kontakt .contact-btn {
  position: absolute;
  background: white;
  padding: 4px 8px 4px 24px;
  border-radius: 1000px;
  left: 0;
  bottom: 30%;
  width: fit-content;
  font-size: var(--font-body-small);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  grid-gap: 16px;
  box-shadow: 0px 10px 15px -3px rgba(0, 0, 0, 0);
  transition: 0.4s ease;
  text-decoration: none;
  font-weight: 500;
}

.kontakt .contact-btn img {
  width: 40px;
  height: 40px;
}

.contact-btn:hover {
  color: inherit;
  box-shadow: 0px 10px 15px -3px rgba(0, 0, 0, 0.1);
}

@media screen and (min-width: 1200px) {
  .content-block.kontakt {
    padding: 140px 0px;
    padding-bottom: 0;
    margin-top: 130px;
  }

  .contact .image-container {
    position: absolute;
    right: 0;
    bottom: 0;
    height: calc(100% + 240px);
  }

  .contact-person {
    display: block;
  }

  .contact {
    flex-direction: row;
  }

  .kontakt .contact-btn img {
    width: 64px;
    height: 64px;
  }

  .kontakt .contact-btn {
    font-size: var(--font-h5);
  }

  .contact .image-container img {
    height: 100%;
    width: auto;
  }

  .contact-content {
    padding-bottom: 140px;
  }
}

/*** --- ACCORDION --- ***/

.accordion-block {
  display: flex;
  flex-direction: column;
  row-gap: 64px;
}

.content-block.accordion {
  text-align: center;
}

.content-block.accordion .wrapper {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  row-gap: 24px;
}

.content-block.accordion .accordion-intro h2 {
  font-size: var(--font-block-h1);
  font-weight: 700;
  max-width: 750px;
}

.content-block.accordion .accordion-intro img {
  max-width: 180px;
}

.content-block.accordion .accordion {
  display: flex;
  flex-direction: column;
  row-gap: 8px;
}

.content-block.accordion .accordion-item,
.accordion-item:first-of-type,
.accordion-item:last-of-type {
  background-color: var(--color-beige);
  border-radius: 16px;
  border: none;
  padding: 32px 24px;
}

/* Hide Bootstrap’s default chevron */
.content-block.accordion .accordion-button::after {
  display: none !important;
}

/* Give spacing so title + icon don’t overlap */
.content-block.accordion .accordion-button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: transparent;
  padding: 0;
  font-size: var(--font-h5);
  color: var(--color-primary);
}

.content-block.accordion .accordion-button svg {
  min-width: 24px;
}

/* Animate rotation when expanded */
.content-block.accordion .accordion-button .accordion-icon {
  transition: transform 0.2s ease-in-out;
}

.content-block.accordion
  .accordion-button[aria-expanded='true']
  .accordion-icon {
  transform: rotate(180deg);
}

.content-block.accordion .accordion-button:not(.collapsed) {
  background: transparent;
  border: none;
  box-shadow: none;
  color: inherit;
}

.content-block.accordion .accordion-button:focus {
  box-shadow: none;
  border: none;
}

.content-block.accordion .accordion-body {
  padding: 0;
  margin-top: 24px;
}

.content-block.accordion .accordion-body a {
  color: var(--color-primary);
  text-decoration: underline;
}

.content-block.accordion .accordion-body p,
.content-block.accordion .accordion-body ul li {
  color: var(--color-text-gray);
  font-size: var(--font-body);
  font-weight: 400;
  font-family: 'DM Sans', sans-serif;
  text-align: left;
}

.content-block.accordion .accordion-body p strong {
  font-weight: 500;
  color: var(--color-text-body);
}

@media screen and (max-width: 768px) {
  .content-block.accordion img {
    display: none;
  }
}

/*** --- TEAMET --- ***/

@media screen and (min-width: 1200px) {
  .content-block.teamet h2 {
    max-width: 320px;
    position: relative;
  }

  .content-block.teamet h2:after {
    content: url(assets/img/curly-arrow-big.svg);
    position: absolute;
    left: 350px;
    top: 0;
  }
}

.teamet .contact-info {
  display: flex;
  flex-direction: column;
  margin-top: 12px;
}

.teamet .contact-info p {
  margin-bottom: 0;
}

.teamet .contact-info span {
  font-weight: 600;
}

.teamet .contact-info a {
  font-size: var(--font-h5);
  color: var(--color-text-gray);
  font-weight: 400;
  margin-bottom: 0px;
  text-decoration: none;
}

.team-card {
  display: grid;
  place-items: end;
}

.team-card h3 {
  font-size: var(--font-h4);
}

.team-card h4 {
  font-size: var(--font-h5);
  color: var(--color-text-gray);
  font-weight: 400;
}

.team-card .image-box-wrapper {
  margin-inline: auto;
  position: relative;
  width: 100%;
}

.image-box {
  display: grid;
  place-items: center;
}

.image-box img {
  grid-row: 1;
  grid-column: 1;
  z-index: 1;
}

.team-card .image-background {
  background-color: var(--color-beige);
  height: 344px;
  border-radius: 16px;
  /* width: 600px; */
  width: 100%;
  grid-row: 1;
  grid-column: 1;
  margin-inline: auto;
  place-self: end;
}

.text-box {
  margin-left: 20px;
  margin-top: 24px;
}

.text-box .team-name {
  font-size: 28px;
  font-style: normal;
  font-weight: 500;
  line-height: 130%;
}

.text-box .team-title {
  font-size: 24px;
  font-style: normal;
  font-weight: 400;
  line-height: 32px;
}

@media (max-width: 992px) {
  .team {
    padding-block: 72px;
  }

  .team h3 {
    font-size: 28px;
    text-align: center;
  }

  .team h3::after {
    display: none;
  }

  .image-background {
    width: 100%;
    height: 275px;
  }

  .text-box .team-name {
    font-size: 16px;
    font-style: medium;
    margin-bottom: 0;
  }

  .text-box .team-title {
    font-size: 14px;
    font-style: regular;
  }
}

/*Image background edge Case*/
@media (min-width: 1200px) and (max-width: 1400px) {
  .image-background {
    width: 500px;
  }
}

/*** --- LISTE --- ***/

.list-grid {
  list-style-position: inside;
  display: flex;
  flex-direction: column;
  row-gap: 40px;
  padding-left: 0px;
}

.list-item strong {
  font-size: var(--font-h4);
  color: var(--color-primary);
  font-weight: 500;
}

.list-item::marker {
  color: var(--color-primary);
  font-size: var(--font-h4);
  font-weight: 500;
}

.list-item {
  background-color: var(--color-beige);
  border-radius: 16px;
  border: none;
  padding: 32px 24px;
  border: 1px solid #0000001a;
}

.bg-beige .list-item {
  background-color: white;
}

.list-item-content {
  margin-top: 12px;
}

/*** --- TEKST & BILLEDE --- ***/

.tekst-col {
  display: flex;
  flex-direction: column;
  row-gap: 24px;
  justify-content: center;
}

.tekst_og_billede img {
  border-radius: 16px;
}

/* ---------------------------------- */
/*   LOADER.                          */
/* ---------------------------------- */

.page-container {
  transition: filter 240ms ease;
  /* animate the blur on/off */
}

.page-container.is-loading {
  filter: blur(5px);
}

.lea-loader {
  opacity: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  z-index: 10;
  position: fixed;
  pointer-events: none;
  transition: opacity 240ms ease;

  width: 100%;
  height: 100%;
}

.lea-loader.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.lea-loader img {
  width: 300px;
}

/* ---------------------------------- */
/*   FORSIKRINGER ARCHIVE             */
/* ---------------------------------- */

.insurance-archive {
  padding: 80px 0px;
}

.insurance-archive .image-card {
  padding: 24px;
  gap: 24px;
}

.insurance-archive p:last-child {
  margin-bottom: 0px;
}

@media (min-width: 1024px) {
  .insurance-archive .cards-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ---------------------------------- */
/*  TEKSTSIDE (SKABELON)              */
/* ---------------------------------- */

.text-page {
  margin: 60px 0px;
}

/* ---------------------------------- */
/*   FOOTER                           */
/* ---------------------------------- */

footer {
  background-color: var(--color-primary);
  border-radius: 16px;
  margin: 16px;
  padding: 40px 20px;
}

footer .footer-mid {
  display: grid;
  grid-template-columns: 1fr;
}

footer p,
footer span,
footer a,
footer li {
  color: white;
}

.footer-bottom a {
  text-decoration: none;
}

footer a {
  transition: 0.4s ease;
}

footer a:hover {
  color: var(--color-primary-light);
}

.footer-wrapper {
  display: flex;
  flex-direction: column;
  row-gap: 64px;
}

.page-content .footer-desc {
  max-width: 315px;
  font-size: 14px;
  color: white;
}

.footer-menu {
  display: flex;
}

#menu-footer-menu {
  padding-left: 0;
  display: grid;
  grid-template-columns: 1fr;
  width: 100%;
  /* row-gap: 32px; */
  row-gap: 8px;
  grid-gap: 32px;
}

#menu-footer-menu a {
  text-decoration: none;
}

#menu-footer-menu li.menu-item-has-children > a {
  pointer-events: none;
  font-size: 12px;
}

#menu-footer-menu li.menu-item-has-children .sub-menu {
  margin-top: 16px;
}

#menu-footer-menu ul,
#menu-footer-menu li {
  list-style: none;
  padding-left: 0;
}

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.3);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  row-gap: 24px;
}

.footer-bottom .contact-info {
  display: flex;
  grid-gap: 24px;
  flex-wrap: wrap;
  row-gap: 8px;
  flex-direction: column;
}

.footer-bottom span,
.footer-bottom a {
  font-size: 14px;
  font-family: var(--font);
  font-weight: 400;
}

footer .social-links p {
  font-size: 12px;
}

@media screen and (min-width: 992px) {
  footer .social-links {
    width: fit-content;
    margin-left: auto;
    margin-right: 100px;
  }

  footer {
    padding: 80px 0px 40px 0px;
  }

  .footer-wrapper {
    row-gap: 128px;
  }

  footer .footer-mid {
    grid-template-columns: 1fr 1fr;
  }

  #menu-footer-menu {
    grid-template-columns: 1fr 1fr;
  }

  #menu-footer-menu li.menu-item-has-children {
    justify-self: flex-end;
  }

  .footer-bottom .contact-info {
    flex-direction: row;
  }
}

/**** INDBO STYLING ****/

section.indbo {
  padding: 80px 0px;
  width: 100%;
}

.form-card {
  background-color: var(--color-beige);
  padding: 40px;
  border-radius: 20px;
  max-width: 800px;
  width: 100%;
}

section.indbo form {
  display: flex;
  flex-direction: column;
  row-gap: 10px;
  align-items: center;
}

#overview-hero {
  background-color: var(--color-accent);
  width: 100%;
  padding: 200px 0px 80px 0px;
}

#overview-hero h2 {
  font-size: var(--font-block-body);
}

#overview-hero .offer-card {
  background-color: #ebdbf4;
  padding: 32px;
  border-radius: 12px;
  max-width: 800px;
  margin: auto;
}

.offer-price {
  font-size: var(--font-display-lg);
  font-weight: 500;
}

.offer-price span {
  font-size: var(--font-h3);
}

/**** FORM STYLiNG ****/

select {
  -webkit-appearance: none;
  background-image: url('./assets/img/caret-down-bold.png');
  background-repeat: no-repeat;
  background-position: calc(100% - 12px);
}

form {
  display: flex;
  flex-direction: column;
  row-gap: 20px;
  width: 100%;
}

form input,
form select,
form textarea {
  height: 56px;
  border-radius: var(--border-radius-md);
  padding: 0px 12px;
  border: var(--border);
  outline: none;
  transition: border-color 0.4s ease;
  width: 100%;
  box-shadow: var(--box-shadow);
}

form textarea {
  height: 100px;
  padding: 12px;
}

form input:disabled,
form input:read-only {
  background-color: var(--color-bg-gray);
  color: var(--color-text-medium);
}

form input::placeholder,
form textarea::placeholder {
  color: var(--color-text-light);
}

form input:focus {
  border-color: var(--color-primary);
}

form label {
  width: 100%;
}

.form-group {
  display: flex;
  flex-direction: column;
  row-gap: 8px;
}

.form-grid {
  display: flex;
  grid-gap: 8px;
}

.radio-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.radio-card {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;

  padding: 18px 20px;
  border: var(--border);
  border-radius: 10px;
  background: #fff;

  font-size: 16px;
  color: #2c1446;

  cursor: pointer;
  transition: all 0.2s ease;
}

/* Hide native checkbox & radio */
form input[type='checkbox'],
form input[type='radio'] {
  display: none;
}

/* Checked state for both types */
input[type='checkbox']:checked + .custom-checkbox,
input[type='radio']:checked + .custom-checkbox {
  background-color: var(--color-primary);
}

input[type='checkbox']:checked + .custom-checkbox .checkmark,
input[type='radio']:checked + .custom-checkbox .checkmark {
  transform: scale(1);
}

/* Checkbox / radio box styling */
.custom-checkbox {
  width: 20px;
  height: 20px;
  border: var(--border);
  border-color: var(--color-border);
  border-radius: var(--border-radius-sm);
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: white;
  transition: all 0.3s ease;
}

.checkmark {
  transform: scale(0);
  display: flex;
  color: white;
  font-size: 12px;
  transition: transform 0.3s ease;
}

/* Layout */
.radio-label {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  border: 1px solid #eee;
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
  transition: 0.2s ease;
  justify-content: space-between;
}

.radio-label:hover {
  background: #fafafa;
}

.radio-text {
  color: var(--color-text-body);
}


.form-group label {
  display: flex;
}

.form-group.checkbox-group label {
  align-items: center;
  grid-gap: 8px;
}

.checkbox-section {
  margin-top: 12px;
  align-items: center;
  display: flex;
}

.checkbox-section button {
  width: fit-content;
  margin-left: auto;
}

#valuables-table {
  width: 100%;
   border-collapse: separate;   /* Important! */
  border-spacing: 0px 12px;
}

#valuables-table button {
  text-decoration: none;
}

#valuables-table thead {
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  height: 40px;
  color: #52525B;
}

#valuables-table tbody td {
  padding: 16px 0px; 
  background-color: #ECE8E3;
  color: #52525B;
  font-weight: 500;
}



#valuables-table tbody tr td:first-child {
  border-radius: 12px 0px 0px 12px;
  color:  var(--color-primary);
  padding-left: 24px;
}

#valuables-table tbody tr td:last-child {
  border-radius: 0px 12px 12px 0px;
}

.select-wrap {
  position: relative;
  width: 100%;
}

.select-wrap select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;

  width: 100%;
  padding-right: 40px;
  background: #fff 
    url("data:image/svg+xml;utf8,<svg width='14' height='8' xmlns='http://www.w3.org/2000/svg'><path d='M1 1l6 6 6-6' stroke='%23555' stroke-width='2' fill='none' stroke-linecap='round'/></svg>")
    no-repeat right 14px center;
  background-size: 14px;
}

#overview {
  max-width: 800px;
  margin: auto;
}

.overview-list {
  display: flex;
  flex-direction: column;
  row-gap: 12px;
}

.overview-item {
  background-color: var(--color-beige);
  padding: 16px 32px;
  border-radius: 20px;
  max-width: 800px;
  width: 100%;
  display: flex;
  justify-content: space-between;
}

.overview-item h4 {
  font-size: 16px;
  color: var(--color-primary);
  margin-bottom: 0;
}

.overview-item p {
  margin: 0;
}

.overview-item button.overview-edit {
  appearance: none;
  background: transparent;
  border: none;
  color: #5F2E61;
}

#overview .price-box {
  background-color: #EBDBF4;
  border-radius: 12px;
  padding: 32px;
}

#overview .price-box .price {
  font-size: var(--font-display-lg);
  color: var(--color-primary);
  display: flex;
  align-items: baseline;
}

#overview .price-box #price {
  margin-bottom: 0;
}

#overview .price-box .price span {
  font-size: var(--font-h3);
}


/****** CART ******/

section#cart {
  width: 100%;
  padding: 40px 0px;
}


.cart-wrapper {
  display: flex;
  grid-gap: 40px;
}

.cart-wrapper h2 {
  color: var(--color-primary);
  font-size: var(--font-h4);
}

.cart-wrapper h3 {
  color: var(--color-primary);
  font-size: var(--font-block-body);
  font-weight: 700;
  font-family: 'ES Rebond Grotesque', sans-serif;
}

.cart-items {
  width: 100%;
}

.cart-items .cart-item {
  background-color: #F5F3F0;
  border-radius: 12px;
  padding: 32px;
  display: flex; 
  flex-direction: column;
  row-gap: 32px;
}

.cart-wrapper .checkout-card {
  max-width: 340px;
  width: 100%;
  height: fit-content;
  background-color: #EBDBF4;
  padding: 20px;
  border-radius: 12px;;
}

.cart-item .cart-item-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.cart-item .cart-item-header h2, .cart-item .cart-item-header p {
  margin: 0;
}

.cart-item .cart-item-header .item-header-info {
  display: flex;
  gap: 24px;
  align-items: center;
}

.cart-item .options-list .options-item:last-child {
  border-bottom: none;
}

.cart-item .options-item h4 {
  color: #52525B;
  font-size: 16px;
  margin: 0;
  font-family: 'DM Sans', sans-serif;
}

.cart-item .options-item p {
  margin: 0;
}

.cart-item .options-item {
  display: flex;
  justify-content: space-between;
  padding: 20px 0px;
  border-bottom: 1px solid #E0DAD0;
  align-items: center;

}

.checkout-card .checkout-item h4 {
  color: rgba(50, 17, 52, 0.7);
  font-size: 16px;
}

.checkout-card .checkout-item p {
  color: rgba(50, 17, 52, 1);
  font-size: 16px;
  font-family: 'Rebond', sans-serif;
  font-weight: 500;
  margin: 0;
}


.checkout-card .checkout-item {
  display: flex; 
  justify-content: space-between;
  border-bottom: 1px solid rgba(50, 17, 52, 0.2);
  padding: 16px 0px;
}

.checkout-card .checkout-item:last-child {
  border-bottom: none;
}