/*
Theme Name: Salient Child Theme
Description: This is a custom child theme for Salient
Theme URI:   https://themeforest.net/item/salient-responsive-multipurpose-theme/4363266
Author: ThemeNectar
Author URI:  https://themeforest.net/user/themenectar
Template: salient
Version: 1.0
*/

.hero-signature {
    position: absolute;
    right: 6px;
    bottom: 90px;
    font: italic 28px / 1.35 "Segoe Print", "Bradley Hand", Georgia, serif;
    transform: rotate(-7deg);
    color: #fff;
    text-shadow: 0 1px 8px #0006;
}
.hero-signature:after {
    content: "";
    display: block;
    width: 116px;
    height: 2px;
    background: #fff;
    margin: 12px auto 0;
    transform: rotate(-5deg);
}
small {
    font-size: smaller !important;
}
/* ALFA VARME – GODKJENNINGER
   Legges etter eventuell eksisterende CSS for denne seksjonen. */

.trust-section {
  --av-trust-max: 1248px;
  --av-trust-overlap: 43px;
  --av-trust-overlap-mobile: 24px;
  --av-trust-ink: #08284b;
  --av-trust-text: #4a6078;
  --av-trust-line: #dce6ef;
  --av-trust-badge-bg: #031f32;
  --av-trust-badge-size: 80px;

  position: relative;
  z-index: 3;
  width: 100%;
  margin: calc(0px - var(--av-trust-overlap)) 0 0;
  padding: 0;
  background: transparent;
  color: var(--av-trust-ink);
  font-family: "Segoe UI", Arial, sans-serif;
}

.trust-section,
.trust-section * {
  box-sizing: border-box;
}

/* Egen bredde uten å endre andre .container-elementer. */
.trust-section > .container {
  width: calc(100% - 48px);
  max-width: var(--av-trust-max);
  margin: 0 auto;
  padding: 0;
}

/* Det hvite kortet. */
.trust-section .trust-panel {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  width: 100%;
  margin: 0;
  padding: 30px 26px;
  border: 1px solid var(--av-trust-line);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 18px 50px rgba(10, 40, 64, 0.04);
}

/* Hvert godkjenningspunkt. */
.trust-section .trust-item {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 23px;
  min-width: 0;
  margin: 0;
  padding: 0 30px;
  border: 0;
  background: transparent;
  text-align: left;
}

/* Vertikale skillelinjer mellom punktene. */
.trust-section .trust-item + .trust-item {
  border-left: 1px solid var(--av-trust-line);
}

/* Tekstfeltet får bruke den tilgjengelige plassen. */
.trust-section .trust-item > div:not(.badge-shell) {
  flex: 1;
  min-width: 0;
}

/* Mørk bakgrunn gjør de hvite originalmerkene synlige. */
.trust-section .badge-shell {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: var(--av-trust-badge-size);
  height: var(--av-trust-badge-size);
  margin: 0;
  padding: 7px;
  overflow: hidden;
  border-radius: 11px;
  background: var(--av-trust-badge-bg);
}

/* Merkene vises uten beskjæring eller forvrengning. */
.trust-section .badge-shell img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  object-fit: contain;
  object-position: center;
  mix-blend-mode: normal;
}

/* Overskrifter. */
.trust-section .trust-item h2 {
  margin: 0;
  padding: 0;
  color: var(--av-trust-ink);
  font-family: inherit;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.02em;
  text-transform: none;
  overflow-wrap: anywhere;
}

/* Beskrivende tekst. */
.trust-section .trust-item p {
  margin: 7px 0 0;
  padding: 0;
  color: var(--av-trust-text);
  font-family: inherit;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: normal;
  overflow-wrap: anywhere;
}

/* NETTBRETT
   Tre kolonner, med merkene over teksten. */
@media (max-width: 1100px) {
  .trust-section {
    --av-trust-badge-size: 72px;
  }

  .trust-section .trust-panel {
    padding: 28px 12px;
  }

  .trust-section .trust-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 0 24px;
  }
}

/* MOBIL
   Én kolonne og horisontale skillelinjer. */
@media (max-width: 767px) {
  .trust-section {
    --av-trust-badge-size: 64px;
    margin-top: calc(0px - var(--av-trust-overlap-mobile));
  }

  .trust-section > .container {
    width: calc(100% - 40px);
  }

  .trust-section .trust-panel {
    grid-template-columns: minmax(0, 1fr);
    padding: 8px 24px;
    border-radius: 18px;
  }

  .trust-section .trust-item {
    flex-direction: row;
    align-items: center;
    gap: 18px;
    padding: 22px 0;
  }

  .trust-section .trust-item + .trust-item {
    border-left: 0;
    border-top: 1px solid var(--av-trust-line);
  }

  .trust-section .trust-item h2 {
    font-size: 16px;
  }

  .trust-section .trust-item p {
    margin-top: 5px;
  }
}

/* SMALE MOBILER */
@media (max-width: 400px) {
  .trust-section {
    --av-trust-badge-size: 60px;
  }

  .trust-section > .container {
    width: calc(100% - 32px);
  }

  .trust-section .trust-panel {
    padding-inline: 18px;
  }

  .trust-section .trust-item {
    gap: 16px;
  }
}



