/* =====================================================================
   Ringbo – website stylesheet
   Loaded after variables.css (design tokens) and before navbar.css (menu).
   Also loaded by the backoffice block previews (Composers/BlockPreviewComposer.cs).

   1. Base & typography
   2. Layout (rows, containers)
   3. Forms
   4. Page header (breadcrumb, page banner)
   5. Footer
   6. Components (table, card, modal, buttons, accordion, tabs, list group, alerts, swiper)
   7. Block grid layout
   8. Block grid modules
   9. Page types (article, projects, search)
   10. Utilities
   ===================================================================== */


/* =====================================================================
   1. BASE & TYPOGRAPHY
   ===================================================================== */
body {
  line-height: 1.7;
  word-break: break-word;
  background-color: var(--bs-body-bg);
  -webkit-font-smoothing: subpixel-antialiased;
  -moz-osx-font-smoothing: grayscale;
}

iframe {
  max-width: 100%;
  width: 100%;
  height: auto;
}

img {
  max-width: 100%;
  height: auto;
}

/* Links (colour and underline come from Bootstrap) */
a:hover {
  color: rgba(var(--bs-link-hover-color-rgb), var(--ps-link-hover-opacity, 1));
}

a:not([class]):hover {
  text-decoration: underline;
}

* p:last-child,
* ul:last-child,
* ol:last-child {
  margin-bottom: 0;
}

b,
strong {
  font-weight: var(--ps-body-bold-font-weight);
}

/* Headings */
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
  font-family: var(--ps-title-font-family, var(--bs-body-font-family));
  font-weight: var(--ps-title-font-weight);
}

h1 + *, h2 + *, h3 + *, h4 + *, h5 + *, h6 + *, .h1 + *, .h2 + *, .h3 + *, .h4 + *, .h5 + *, .h6 + * {
  margin-top: 1rem;
}

* + h1, * + h2, * + h3, * + h4, * + h5, * + h6 {
  margin-top: 2rem;
}

h1[id]:focus,
h2[id]:focus,
h3[id]:focus,
h4[id]:focus,
h5[id]:focus,
h6[id]:focus {
  outline: none;
  color: var(--bs-primary);
}

.lead {
  font-weight: var(--ps-title-font-weight);
}

@media (min-width: 768px) {
  h1, .h1 { font-size: var(--ps-h1-font-size); }
  h2, .h2 { font-size: var(--ps-h2-font-size); }
  h3, .h3 { font-size: var(--ps-h3-font-size); }
  h4, .h4 { font-size: var(--ps-h4-font-size); }
  h5, .h5 { font-size: var(--ps-h5-font-size); }
  h6, .h6 { font-size: var(--ps-h6-font-size); }

  .lead {
    font-size: var(--ps-lead-font-size);
  }

  small {
    font-size: 80%;
  }
}


/* =====================================================================
   2. LAYOUT
   ===================================================================== */

main {
  min-height: 60vh;
}

.row {
  --bs-gutter-y: 1.5rem;
}

@media (max-width: 767px) {
  .container {
    max-width: 100%;
  }
}

/* Narrow content width (articles, search, "smal" sections) */
.container-sm {
  max-width: 720px;
}


/* =====================================================================
   3. FORMS
   Promsys Forms (fields are spaced by the renderer's Bootstrap row/g-3 grid)
   and the jQuery unobtrusive validation classes.
   ===================================================================== */
/* Label (not the checkbox text, which keeps the regular weight) */
.promsys-form__label:not(.form-check-label) {
  font-weight: var(--ps-body-bold-font-weight);
}

.form-control,
.form-control:focus,
.form-select {
  background-color: #fff;
}

.form-control,
.form-select,
.form-check-input {
  border-width: var(--ps-border-width);
}

.form-check-input:checked {
  background-color: var(--bs-success);
  border-color: var(--bs-success);
}

.form-control.input-validation-valid {
  border-color: var(--bs-success);
}

.form-control.input-validation-error {
  border-color: var(--bs-danger);
}

.field-validation-error {
  display: block;
  width: 100%;
  margin-top: 0.25rem;
  font-size: .875em;
  color: var(--bs-danger);
}


/* =====================================================================
   4. PAGE HEADER (breadcrumb, page banner) – the menu itself is in navbar.css
   ===================================================================== */
/* Breadcrumb (Partials/breadcrumb.cshtml, every page except the front page) */
.breadcrumb-wrapper {
  position: relative;
  background: #95a1a4;
  font-size: .80rem;
}

.breadcrumb-custom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin: 0;
  padding: .75rem 0;
  list-style: none;
  color: rgba(255, 255, 255, .85);
}

  .breadcrumb-custom > li {
    display: inline-flex;
    align-items: center;
  }

    .breadcrumb-custom > li + li::before {
      padding: 0 .6rem;
      font-family: "Font Awesome 5";
      font-weight: 300;
      content: "\f105";
      color: rgba(255, 255, 255, .6);
    }

    .breadcrumb-custom > li.active {
      color: #fff;
      font-weight: var(--ps-body-bold-font-weight);
    }

  .breadcrumb-custom a {
    color: #fff;
    text-decoration: none;
    text-underline-offset: .2em;
    border-radius: 2px;
  }

    .breadcrumb-custom a:hover {
      color: #fff;
      text-decoration: underline;
    }

    .breadcrumb-custom a:focus-visible {
      outline: 2px solid #fff;
      outline-offset: 2px;
    }

/* Page banner (Partials/_pageBanner.cshtml) */
.page-banner.container {
  padding: 0;
}

.page-banner img {
  width: 100%;
  height: auto;
  border-radius: var(--bs-border-radius);
}



/* =====================================================================
   5. FOOTER
   The footer is a block grid (Home > Footer) and is styled by the block grid
   and module rules below; it has no styles of its own.
   ===================================================================== */


/* =====================================================================
   6. COMPONENTS
   ===================================================================== */

/* ---------- Table (rich text) ---------- */
.table {
  height: auto !important;
}

  .table tr,
  .table td {
    height: auto !important;
  }

    .table td p {
      margin-bottom: 0 !important;
    }

      .table td p + p {
        margin-top: 1rem;
      }

@media (min-width: 768px) {
  .table {
    max-width: 100% !important;
  }
}

/* ---------- Card ---------- */
.card {
  --bs-card-bg: #fff;
  --bs-card-title-spacer-y: .5rem;
  --bs-card-spacer-y: 1.25rem;
  --bs-card-spacer-x: 1.25rem;
  --bs-card-cap-padding-y: 1.25rem;
  --bs-card-cap-padding-x: 1.25rem;
  --bs-card-border-width: 1px;
  --bs-card-border-radius: var(--bs-border-radius);
  --bs-card-inner-border-radius: var(--bs-card-border-radius);
  --bs-card-box-shadow: none;
  --bs-card-box-shadow-hover: 3px 10px 20px 0 rgba(0,0,0,.15) !important;
  --bs-card-cap-bg: var(--bs-card-bg);
  box-shadow: var(--bs-card-box-shadow);
}

  .card .card-title {
    font-size: var(--ps-h5-font-size);
    font-weight: var(--ps-title-font-weight);
    line-height: 1;
  }

  /* Clickable card (stretched link) */
  .card.card-click {
    --bs-card-border-width: 2px;
  }

    .card.card-click:hover {
      --bs-card-border-color: #cf1a6f;
      box-shadow: var(--bs-card-box-shadow-hover);
    }

    .card.card-click .card-title {
      text-decoration: none;
    }

    .card.card-click:hover .card-title {
      color: var(--bs-link-color);
    }

/* Page icon ("Ikon" on the page) in the subpages module, same style as in the main menu */
.subpage-icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  margin-right: .75rem;
  color: var(--bs-primary);
  font-size: 1.35rem;
}

/* Status label in the top left corner (project cards) */
.card-label {
  position: absolute;
  z-index: 10;
  top: 0;
  left: 0;
  padding: 0.2rem 0.5rem;
  font-size: 0.9rem;
  color: rgba(var(--ps-primary-text-rgb),1);
  background-color: rgba(var(--bs-primary-rgb),1);
  border-top-left-radius: var(--bs-border-radius);
  border-bottom-right-radius: var(--bs-border-radius);
}

.card .card-media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  display: flex;
}

  .card .card-media img {
    object-fit: cover;
    height: 100%;
    width: 100%;
  }

.card .card-icon {
  font-size: 2rem;
  color: rgba(var(--bs-primary-rgb),1);
}

  .card .card-icon.card-icon-with-background {
    color: #fff;
    border-radius: 50px;
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    background-color: rgba(var(--bs-primary-rgb), 1);
  }

/* Card block (blockgrid/modules/cardBlock.cshtml) */
.card-block .card-body {
  align-items: center;
}

.card-block h1 + *, .card-block h2 + *, .card-block h3 + *, .card-block h4 + *, .card-block h5 + *, .card-block h6 + *,
.card-block .h1 + *, .card-block .h2 + *, .card-block .h3 + *, .card-block .h4 + *, .card-block .h5 + *, .card-block .h6 + * {
  margin-top: .5rem;
}

/* Icon card and image card (blockgrid/modules/iconCard.cshtml, imageCard.cshtml) */
.card .card-pretitle {
  margin-bottom: .35rem;
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--bs-primary);
}

.icon-card .card-title,
.image-card .card-title {
  margin-bottom: 0;
  font-size: var(--ps-h4-font-size);
  line-height: 1.2;
}

.icon-card .card-text,
.image-card .card-text {
  margin-bottom: 0;
}

.icon-card .card-icon.card-icon-with-background {
  width: 3.5rem;
  font-size: 1.5rem;
}

.image-card__media {
  flex: none;
}

  .image-card__media img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 2;
    object-fit: cover;
  }

/* Image beside the text from tablet up: 40 % of the card, as tall as the card */
@media (min-width: 768px) {
  .image-card--left .image-card__media,
  .image-card--right .image-card__media {
    width: 40%;
  }

    .image-card--left .image-card__media img,
    .image-card--right .image-card__media img {
      height: 100%;
      min-height: 10rem;
      aspect-ratio: auto;
    }
}

/* Person card (blocklist/Components/personItemBlock.cshtml) */
.contact-person {
  overflow: hidden;
  height: 100%;
}

  .contact-person > .row {
    --bs-gutter-x: 0;
  }

  .contact-person .person-name {
    margin-bottom: .25rem;
    font-family: var(--ps-title-font-family);
    font-size: 1.125rem;
    line-height: 1.3;
  }

  .contact-person .card-body li + li {
    margin-top: .125rem;
  }

/* ---------- Modal ---------- */
.modal {
  --bs-modal-bg: #fff;
}

/* ---------- Buttons ---------- */
/* Font size and padding are set on .btn so .btn-sm/.btn-lg keep the same size as .btn */
.btn {
  --bs-btn-font-size: var(--bs-body-font-size);
  --bs-btn-font-weight: 600;
  --bs-btn-border-radius: var(--ps-btn-border-radius);
  --bs-btn-border-width: 2px;
  --bs-btn-padding-x: 0.75rem;
}

.btn-sm {
  --bs-btn-font-size: .8rem;
}

.btn-primary {
  --bs-btn-color: rgba(var(--ps-primary-text-rgb));
  --bs-btn-bg: var(--bs-primary);
  --bs-btn-border-color: var(--bs-primary);
  --bs-btn-hover-color: rgba(var(--ps-primary-text-rgb));
  --bs-btn-hover-bg: var(--ps-primary-alt);
  --bs-btn-hover-border-color: var(--ps-primary-alt);
  --bs-btn-focus-shadow-rgb: var(--bs-primary);
  --bs-btn-active-color: rgba(var(--ps-primary-text-rgb));
  --bs-btn-active-bg: var(--bs-primary);
  --bs-btn-active-border-color: var(--ps-primary-alt);
  --bs-btn-disabled-color: rgba(var(--ps-primary-text-rgb),1);
  --bs-btn-disabled-bg: rgba(var(--bs-primary-rgb),.7);
  --bs-btn-disabled-border-color: rgba(var(--bs-primary-rgb),.7);
}

.btn-outline-primary {
  --bs-btn-color: rgba(var(--bs-primary-rgb),1);
  --bs-btn-border-color: rgba(var(--bs-primary-rgb),1);
  --bs-btn-hover-color: rgba(var(--ps-primary-text-rgb),1);
  --bs-btn-hover-bg: rgba(var(--bs-primary-rgb),1);
  --bs-btn-hover-border-color: rgba(var(--bs-primary-rgb),0);
  --bs-btn-focus-shadow-rgb: rgba(var(--bs-primary-rgb),1);
  --bs-btn-active-color: rgba(var(--ps-primary-text-rgb),1);
  --bs-btn-active-bg: rgba(var(--bs-primary-rgb),.8);
  --bs-btn-active-border-color: rgba(var(--bs-primary-rgb),.8);
  --bs-btn-disabled-color: rgba(var(--bs-primary-rgb),1);
  --bs-btn-disabled-bg: transparent;
  --bs-btn-disabled-border-color: rgba(var(--bs-primary-rgb),1);
}

.btn-secondary {
  --bs-btn-color: rgba(var(--ps-secondary-text-rgb),1);
  --bs-btn-bg: rgba(var(--bs-secondary-rgb),1);
  --bs-btn-border-color: rgba(var(--bs-secondary-rgb),1);
  --bs-btn-hover-color: rgba(var(--ps-secondary-text-rgb),1);
  --bs-btn-hover-bg: rgba(var(--ps-secondary-alt-rgb),.9);
  --bs-btn-hover-border-color: rgba(var(--bs-secondary-rgb),0);
  --bs-btn-focus-shadow-rgb: rgba(var(--bs-secondary-rgb),1);
  --bs-btn-active-color: rgba(var(--ps-secondary-text-rgb),1);
  --bs-btn-active-bg: rgba(var(--bs-secondary-rgb),.8);
  --bs-btn-active-border-color: rgba(var(--ps-secondary-alt-rgb),1);
  --bs-btn-disabled-color: rgba(var(--ps-secondary-text-rgb),1);
  --bs-btn-disabled-bg: rgba(var(--bs-secondary-rgb),1);
  --bs-btn-disabled-border-color: rgba(var(--bs-secondary-rgb),1);
}

.btn-outline-secondary {
  --bs-btn-color: rgba(var(--bs-secondary-rgb),1);
  --bs-btn-border-color: rgba(var(--bs-secondary-rgb),1);
  --bs-btn-hover-color: rgba(var(--ps-secondary-text-rgb),1);
  --bs-btn-hover-bg: rgba(var(--bs-secondary-rgb),1);
  --bs-btn-hover-border-color: rgba(var(--bs-secondary-rgb),1);
  --bs-btn-focus-shadow-rgb: rgba(var(--bs-secondary-rgb),1);
  --bs-btn-active-color: rgba(var(--ps-secondary-text-rgb),1);
  --bs-btn-active-bg: rgba(var(--bs-secondary-rgb),.8);
  --bs-btn-active-border-color: rgba(var(--bs-secondary-rgb),.8);
  --bs-btn-disabled-color: rgba(var(--bs-secondary-rgb),1);
  --bs-btn-disabled-bg: transparent;
  --bs-btn-disabled-border-color: rgba(var(--bs-secondary-rgb),1);
}

/* ---------- Accordion (blockgrid/modules/accordionTabsBlock.cshtml) ---------- */
/* Each item is a white rounded panel; the open item's header uses the secondary colour. */
.accordion {
  --bs-accordion-color: var(--bs-body-color);
  --bs-accordion-bg: #fff;
  --bs-accordion-transition: color 0.2s ease-in-out,background-color 0.2s ease-in-out,border-color 0.2s ease-in-out,box-shadow 0.2s ease-in-out,border-radius 0.15s ease;
  --bs-accordion-border-color: rgba(var(--bs-secondary-rgb), .15);
  --bs-accordion-border-width: 1px;
  --bs-accordion-border-radius: var(--bs-border-radius);
  --bs-accordion-inner-border-radius: calc(var(--bs-accordion-border-radius) - 1px);
  --bs-accordion-btn-padding-x: 1.25rem;
  --bs-accordion-btn-padding-y: 1rem;
  --bs-accordion-btn-color: var(--bs-body-color);
  --bs-accordion-btn-bg: #fff;
  --bs-accordion-btn-icon: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ed008c'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
  --bs-accordion-btn-icon-width: 1rem;
  --bs-accordion-btn-icon-transform: rotate(-180deg);
  --bs-accordion-btn-icon-transition: transform 0.2s ease-in-out;
  --bs-accordion-btn-focus-box-shadow: none;
  --bs-accordion-body-padding-x: 1.25rem;
  --bs-accordion-body-padding-y: 1.25rem;
  --bs-accordion-active-color: rgba(var(--ps-secondary-text-rgb),1);
  --bs-accordion-active-bg: var(--bs-secondary);
  --ps-accordion-hover-color: var(--bs-primary);
  --ps-accordion-hover-bg: rgba(var(--bs-primary-rgb), .04);
}

.accordion .accordion-item {
  margin-bottom: .75rem;
  border: var(--bs-accordion-border-width) solid var(--bs-accordion-border-color);
  border-radius: var(--bs-accordion-border-radius);
  overflow: hidden;
  transition: box-shadow .2s ease-in-out;
}

  .accordion .accordion-item:hover {
    box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .06);
  }

.accordion-button {
  font-size: var(--bs-body-font-size);
  font-weight: var(--ps-body-bold-font-weight);
  background-image: none;
}

  .accordion-button:hover {
    color: var(--ps-accordion-hover-color);
    background-color: var(--ps-accordion-hover-bg);
  }

  .accordion-button:not(.collapsed):hover {
    color: var(--bs-accordion-active-color);
    background-color: var(--bs-accordion-active-bg);
  }

  .accordion-button:focus-visible {
    box-shadow: inset 0 0 0 .2rem rgba(var(--bs-primary-rgb), .35);
  }

  /* Chevron on the right, in the text colour (Bootstrap's ::after icon is replaced) */
  .accordion-button::before {
    flex-shrink: 0;
    order: 1;
    width: var(--bs-accordion-btn-icon-width);
    height: var(--bs-accordion-btn-icon-width);
    margin-right: .5rem;
    margin-left: auto;
    content: "";
    background-color: currentColor;
    mask-image: var(--bs-accordion-btn-icon);
    mask-size: var(--bs-accordion-btn-icon-width);
    transition: var(--bs-accordion-btn-icon-transition);
  }

  .accordion-button:not(.collapsed)::before {
    transform: var(--bs-accordion-btn-icon-transform);
  }

  .accordion-button::after {
    display: none;
  }

/* ---------- Tabs (accordionTabsBlock with "Vis som faner") ---------- */
.nav-tabs {
  --bs-nav-tabs-border-width: 2px;
  --bs-nav-tabs-border-color: rgba(var(--bs-secondary-rgb), .15);
  --bs-nav-tabs-link-hover-border-color: rgba(var(--bs-secondary-rgb), .35);
  --bs-nav-tabs-link-active-color: var(--bs-body-color);
  --bs-nav-tabs-link-active-bg: transparent;
  --bs-nav-tabs-link-active-border-color: var(--bs-primary);
  --ps-nav-tabs-link-color: var(--bs-secondary);
  gap: .25rem;
  border-bottom: 1px solid var(--bs-nav-tabs-border-color);
}

  .nav-tabs .nav-link {
    margin-bottom: -1px;
    padding: .625rem 1rem;
    color: var(--ps-nav-tabs-link-color);
    font-weight: var(--ps-body-bold-font-weight);
    border: 0;
    border-bottom: var(--bs-nav-tabs-border-width) solid transparent;
    border-radius: 0;
    transition: color .15s ease-in-out, border-color .15s ease-in-out;
  }

    .nav-tabs .nav-link:hover {
      color: var(--bs-primary);
    }

    .nav-tabs .nav-link:focus-visible {
      border-radius: var(--bs-border-radius) var(--bs-border-radius) 0 0;
      box-shadow: 0 0 0 .2rem rgba(var(--bs-primary-rgb), .25);
    }

/* ---------- List group (list module, sub pages module, project links) ---------- */
.list-group {
  --bs-list-group-color: inherit;
  --bs-list-group-bg: none;
  --bs-list-group-action-hover-color: var(--bs-link-hover-color);
  --bs-list-group-action-hover-bg: rgba(var(--bs-primary-rgb), .04);
  --bs-list-group-action-active-color: var(--bs-link-color);
  --bs-list-group-action-active-bg: none;
}

.list-group-item {
  border-style: solid;
  display: flex;
  align-items: center;
  flex-direction: row;
}

.list-group-item-action {
  transition: color .15s ease-in-out, background-color .15s ease-in-out;
}

  .list-group-item-action:focus-visible {
    outline: 0;
    box-shadow: inset 0 0 0 .2rem rgba(var(--bs-primary-rgb), .25);
  }

/* ---------- Alerts (rich text) ---------- */
.alert.alert-danger {
  background: #da4453 !important;
  color: #fff;
}

  .alert.alert-danger a {
    color: #fff !important;
  }

.alert.alert-warning {
  background: #ffc200 !important;
  color: #000 !important;
}

/* ---------- Swiper (slideshow module: see "Slideshow" under the modules) ---------- */
.swiper-slideshow {
  position: relative;
  overflow: hidden;
}

.swiper-button-next,
.swiper-button-prev {
  --swiper-navigation-color: rgba(var(--bs-primary-rgb),1);
}

.swiper-pagination-bullet-active {
  --swiper-pagination-color: rgba(var(--bs-primary-rgb),1);
}


/* =====================================================================
   7. BLOCK GRID LAYOUT
   Based on Umbraco's default block grid layout stylesheet.
   ===================================================================== */
.umb-container {
  position: relative;
  display: var(--umb-container-display, grid);
  grid-template-columns: repeat(var(--umb-grid-columns, 1), minmax(0, 1fr));
  grid-auto-flow: row;
  grid-auto-rows: minmax(0, min-content);
  column-gap: var(--umb-container-column-gap, 0);
  row-gap: var(--umb-container-row-gap, 0);
  align-items: var(--section-align-items);
}

.umb-item {
  position: relative;
  /* For small devices we scale columnSpan by three, to make everything bigger than 1/3 take full width: */
  grid-column-end: span min(calc(var(--umb-item-col-span, 1) * 12), var(--umb-grid-columns));
  grid-row: span var(--umb-item-row-span, 1);
  height: var(--umb-item-height);
  background-color: var(--umb-item-bg-color, transparent);
  background-image: var(--umb-item-bg-image, none);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  color: var(--bs-body-color);
}

  .umb-item a:not([class]) {
    color: var(--umb-item-link-color);
  }

.umb-row {
  position: relative;
  display: grid;
  grid-template-columns: repeat(var(--umb-row-columns, var(--umb-grid-columns, 1)), minmax(0, 1fr));
  grid-auto-flow: row;
  grid-auto-rows: minmax(50px, min-content);
  column-gap: var(--umb-row-column-gap, 0);
  row-gap: var(--umb-row-row-gap, 0);
}

.umb-column {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  /* For small devices we scale columnSpan by three, to make everything bigger than 1/3 take full width: */
  grid-column-end: span min(calc(var(--umb-column-col-span, 1) * 3), var(--umb-row-columns));
  grid-row: span var(--umb-column-row-span, 1);
}

@media (min-width: 992px) {
  .umb-item {
    grid-column-end: span min(var(--umb-item-col-span, 1), var(--umb-grid-columns));
  }

  .umb-column {
    grid-column-end: span min(var(--umb-column-col-span, 1), var(--umb-row-columns));
  }
}

/* Additions to the default layout: padding and gaps for areas (sections and module collections) */
.umb-grid {
  --container-padding: 0 -var(--ps-column-gutter-x);
}

/* Only matches inside a size container (the backoffice block grid editor) */
@container (min-width: 720px) {
  .umb-container {
    --container-padding: 0 -var(--ps-column-gutter-x);
  }
}

.umb-row {
  padding: var(--container-padding);
  margin-left: auto;
  margin-right: auto;
  height: 100%;
  align-content: var(--section-align-items);
  --umb-row-column-gap: 20px;
  --umb-row-row-gap: 20px;
}

/* Section blocks: gap between the blocks in a column (different from the area gaps above) */
.umb-item[data-module-alias="sectionBlock"] .umb-container {
  --umb-container-column-gap: 20px;
  --umb-container-row-gap: 20px;
}

@container (min-width: 720px) {
  .umb-item[data-module-alias="sectionBlock"] .umb-container {
    --umb-container-column-gap: var(--ps-column-gutter-x);
    --umb-container-row-gap: var(--ps-column-gutter-y);
  }
}

.umb-container .umb-item {
  --umb-container-row-gap: var(--ps-module-gutter-y);
}

/* Section (blockgrid/modules/sectionBlock.cshtml); also used as page section wrapper in the page type views */
.umb-section {
  padding-top: var(--gutter-top, var(--ps-section-gutter-y));
  padding-bottom: var(--gutter-bottom, var(--ps-section-gutter-y));
  background-color: var(--umb-section-bg-color, transparent);
  background-image: var(--umb-section-bg-image, none);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}


/* =====================================================================
   8. BLOCK GRID MODULES (blockgrid/modules/*.cshtml)
   ===================================================================== */
.module + .module {
  margin-top: var(--ps-module-gutter-y);
}

/* ---------- Image (imageBlock: module_image_crop-square|landscape|original) ---------- */
.module_image.module_image_crop-square {
  aspect-ratio: 1 / 1;
}

.module_image.module_image_crop-landscape {
  aspect-ratio: 16 / 10;
}

.module_image img {
  object-fit: cover;
  height: 100%;
  width: 100%;
  border-radius: var(--bs-border-radius);
}

/* ---------- Slideshow ("Slideshow", slideshowBlock, banners: bannerItemBlock) ----------
   Full-width banners: the image under a dark gradient from the left, the text left-aligned in line with the page
   container. "Bakgrunnsfarge" on a banner sets --banner-tint (the gradient colour, default near-black).
   Phones: the gradient comes from the bottom and the text sits at the bottom of the image. */
.module_slideshow {
  --banner-height: 540px;
  --banner-gutter: max(1.5rem, calc((100% - 1296px) / 2));
}

.module_banner {
  --banner-tint: #14181e;
  position: relative;
  display: flex;
  min-height: var(--banner-height);
  height: 100%;
  background: var(--banner-tint);
  color: #fff;
}

.module_banner__image {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
}

.module_banner__overlay {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  width: 100%;
  padding: 4rem var(--banner-gutter);
  background: linear-gradient(90deg,
    color-mix(in srgb, var(--banner-tint) 85%, transparent) 0%,
    color-mix(in srgb, var(--banner-tint) 62%, transparent) 38%,
    color-mix(in srgb, var(--banner-tint) 15%, transparent) 68%,
    transparent 85%);
}

.module_banner__content {
  width: min(600px, 100%);
}

.module_banner__pretitle {
  margin: 0 0 .6rem;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #ff8cc2;
}

.module_banner__title {
  margin: 0 0 1rem;
  color: #fff;
  font-size: clamp(2rem, 1.2rem + 2.6vw, 3.1rem);
  line-height: 1.05;
}

.module_banner__text {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, .9);
}

.module_banner__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: 1.5rem;
}

  .module_banner__buttons .btn {
    padding: .7rem 1.4rem;
  }

  .module_banner__buttons .btn-outline-light {
    border-width: 2px;
  }

.module_banner__link {
  align-self: center;
  color: #fff;
  font-weight: 600;
  text-underline-offset: .2em;
}

  .module_banner__link:hover {
    color: #ff8cc2;
  }

/* Arrows: round, see-through, on the image edges. Dots: the active one is a pink bar. */
.module_slideshow__arrow {
  --swiper-navigation-size: 18px;
  --swiper-navigation-color: #fff;
  width: 48px;
  height: 48px;
  margin-top: -24px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, .35);
  border-radius: 50%;
  background: rgba(255, 255, 255, .16);
  backdrop-filter: blur(6px);
  transition: background-color .2s;
}

  .module_slideshow__arrow:hover {
    background: rgba(255, 255, 255, .3);
  }

  .module_slideshow__arrow::after {
    font-size: 16px;
    font-weight: 700;
  }

.module_slideshow .swiper-button-prev {
  left: 24px;
}

.module_slideshow .swiper-button-next {
  right: 24px;
}

.module_slideshow .swiper-pagination {
  bottom: 22px;
}

.module_slideshow .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  border-radius: 5px;
  background: rgba(255, 255, 255, .55);
  opacity: 1;
  transition: width .25s, background-color .25s;
}

.module_slideshow .swiper-pagination-bullet-active {
  width: 32px;
  background: var(--bs-primary);
}

@media (min-width: 768px) {
  /* Keep the text clear of the arrows */
  .module_slideshow:has(.module_slideshow__arrow) {
    --banner-gutter: max(6rem, calc((100% - 1296px) / 2));
  }
}

@media (max-width: 767.98px) {
  .module_slideshow {
    --banner-height: 480px;
  }

  .module_banner__overlay {
    align-items: flex-end;
    padding: 3rem 1.25rem 3.75rem;
    background: linear-gradient(0deg,
      color-mix(in srgb, var(--banner-tint) 90%, transparent) 0%,
      color-mix(in srgb, var(--banner-tint) 60%, transparent) 55%,
      color-mix(in srgb, var(--banner-tint) 10%, transparent) 100%);
  }

  .module_slideshow__arrow {
    display: none;
  }
}

/* ---------- Social media ---------- */
.module_social {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
}

  .module_social ._link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    flex: 0 0 auto;
    background-color: #fff;
    color: var(--bs-primary);
    border: 1px solid rgba(0, 0, 0, .08);
    border-radius: var(--bs-border-radius);
    font-size: 1.5rem;
    line-height: 1;
    text-decoration: none;
    transition: background-color .15s ease, color .15s ease;
  }

    .module_social ._link:hover,
    .module_social ._link:focus-visible {
      background-color: var(--bs-primary);
      color: #fff;
    }

    .module_social ._link svg {
      width: 1.35rem;
      height: 1.35rem;
      fill: currentColor;
    }

/* ---------- Image and text ("Bilde og tekst", imageTextBlock) ---------- */
/*.module_image-text {*/
  /* Air between stacked image/text modules, as in the design */
  /*padding-block: 1.5rem;
}

@media (min-width: 992px) {
  .module_image-text {
    padding-block: 2.5rem;
  }
}*/

.module_image-text__image {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: calc(var(--bs-border-radius) * 1.5);
}

/* "Bildeformat": auto keeps 3:2 */
.module_image-text--portrait .module_image-text__image { aspect-ratio: 4 / 5; }
.module_image-text--square .module_image-text__image { aspect-ratio: 1 / 1; }
.module_image-text--landscape .module_image-text__image { aspect-ratio: 4 / 3; }

.module_image-text__pretitle {
  margin-bottom: .5rem;
  font-size: .875rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--bs-primary);
}

.module_image-text__title {
  margin-top: 0;
  margin-bottom: 1.25rem;
  font-size: var(--ps-h2-font-size);
  line-height: 1.15;
}

.module_image-text__text > :last-child {
  margin-bottom: 0;
}

.module_image-text__button {
  margin-top: 1.75rem;
}

/* Image on the right from tablet up; on phones the image is always above the text */
@media (min-width: 768px) {
  .module_image-text--image-right .module_image-text__media {
    order: 2;
  }
}

/* ---------- Steps ("Steg for steg", stepGuideBlock) ----------
   Numbered circles joined by a line. Phones and "Under hverandre": number left, text right, line downwards.
   From tablet up (default "Ved siden av hverandre"): one centred column per step (max 4 per row), line between the circles. */
.module_steps {
  --steps-accent: var(--bs-primary);
  --steps-accent-text: #fff;
  --steps-number-size: 3rem;
  --steps-gap: 2rem;
  --steps-line: rgba(var(--bs-primary-rgb), .25);
}

.module_steps__list {
  display: grid;
  gap: var(--steps-gap);
  margin: 0;
  padding: 0;
  list-style: none;
}

.module_steps__step {
  position: relative;
  display: flex;
  gap: 1.25rem;
}

/* Line between the circles. Stacked (phones and "Under hverandre") the circle sits on the vertical middle of its step,
   so each step draws its own part: ::before from the middle of the gap above down to the circle, ::after from the
   circle to the middle of the gap below. */
.module_steps__step:not(:first-child)::before,
.module_steps__step:not(:last-child)::after {
  content: "";
  position: absolute;
  left: calc(var(--steps-number-size) / 2 - 1px);
  width: 2px;
  background: var(--steps-line);
}

.module_steps__step:not(:first-child)::before {
  top: calc(var(--steps-gap) / -2);
  bottom: calc(50% + var(--steps-number-size) / 2 + .5rem);
}

.module_steps__step:not(:last-child)::after {
  top: calc(50% + var(--steps-number-size) / 2 + .5rem);
  bottom: calc(var(--steps-gap) / -2);
}

/* Circles: centred on the height of the title and text next to them */
.module_steps:is(.module_steps--circles, .module_steps--outline) .module_steps__step {
  align-items: center;
}

.module_steps:is(.module_steps--circles, .module_steps--outline) .module_steps__title {
  display: block;
  min-height: 0;
}

.module_steps__number {
  position: relative;
  z-index: 1;
  flex: none;
  display: grid;
  place-items: center;
  width: var(--steps-number-size);
  height: var(--steps-number-size);
  border-radius: 50%;
  background: var(--steps-accent);
  color: var(--steps-accent-text);
  font-family: var(--ps-title-font-family, var(--bs-body-font-family));
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1;
  box-shadow: 0 0 0 .375rem rgba(var(--bs-primary-rgb), .12);
}

.module_steps__body {
  min-width: 0;
}

/* The title row is as tall as the circle, so the title sits on the circle's centre line */
.module_steps__title {
  display: flex;
  align-items: center;
  min-height: var(--steps-number-size);
  margin: 0;
  font-size: var(--ps-h5-font-size);
  line-height: 1.3;
}

.module_steps__text {
  margin: .5rem 0 0;
  opacity: .85;
}

@media (min-width: 768px) {
  .module_steps:not(.module_steps--vertical) .module_steps__list {
    grid-template-columns: repeat(var(--steps-columns, 3), minmax(0, 1fr));
  }

  /* Circle centred above a centred title and text */
  .module_steps:not(.module_steps--vertical) .module_steps__step {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    text-align: center;
  }

  .module_steps:not(.module_steps--vertical) .module_steps__title {
    display: block;
    min-height: 0;
  }

  /* Line to the right, from this circle to the next (circles sit in the middle of each column, so the next one is
     one column width + gap further on); none after the last step in a row */
  .module_steps:not(.module_steps--vertical) .module_steps__step:not(:last-child)::after {
    top: calc(var(--steps-number-size) / 2 - 1px);
    bottom: auto;
    left: calc(50% + var(--steps-number-size) / 2 + 1rem);
    right: calc(var(--steps-number-size) / 2 + 1rem - 50% - var(--steps-gap));
    width: auto;
    height: 2px;
  }

  .module_steps:not(.module_steps--vertical) .module_steps__step::before {
    content: none;
  }

  .module_steps:not(.module_steps--vertical) .module_steps__step:nth-child(4n)::after {
    content: none;
  }
}

/* Style "Lette sirkler" (outline): ring instead of a filled circle, dashed line. Centred like the filled circles. */
.module_steps--outline .module_steps__number {
  border: 2px solid var(--steps-accent);
  background: transparent;
  color: var(--steps-accent);
  box-shadow: none;
}

.module_steps--outline .module_steps__step:not(:first-child)::before,
.module_steps--outline .module_steps__step:not(:last-child)::after {
  width: 0;
  border-left: 2px dashed rgba(var(--bs-primary-rgb), .45);
  border-radius: 0;
  background: none;
}

/* Style "Kort" (cards): every step in a white card with the number in a tinted square; no line.
   The cards keep dark text on dark sections. */
.module_steps--cards {
  --steps-number-size: 2.5rem;
  --steps-gap: 1.25rem;
}

  .module_steps--cards .module_steps__step {
    --bs-body-color: #212529;
    gap: 1rem;
    padding: 1.5rem;
    border: 1px solid rgba(0, 0, 0, .08);
    border-radius: calc(var(--bs-border-radius) * 1.5);
    background: #fff;
    color: var(--bs-body-color);
    box-shadow: 0 1px 2px rgba(0, 0, 0, .04), 0 8px 24px -12px rgba(0, 0, 0, .12);
  }

  .module_steps--cards .module_steps__number {
    border-radius: .625rem;
    background: rgba(var(--bs-primary-rgb), .12);
    color: var(--steps-accent);
    font-size: 1.125rem;
    box-shadow: none;
  }

/* Style "Store tall" (big): large "01" numbers under a line; the first step's line in the accent colour */
.module_steps--big {
  --steps-number-size: 2.75rem;
}

  .module_steps--big .module_steps__step {
    padding-top: 1.25rem;
    border-top: 2px solid var(--steps-line);
  }

    .module_steps--big .module_steps__step:first-child {
      border-top-color: var(--steps-accent);
    }

  .module_steps--big .module_steps__number {
    width: auto;
    min-width: 2ch;
    height: var(--steps-number-size);
    border-radius: 0;
    background: none;
    color: var(--steps-accent);
    font-size: 2.75rem;
    font-variant-numeric: tabular-nums;
    box-shadow: none;
  }

.module_steps--cards .module_steps__step::before,
.module_steps--cards .module_steps__step::after,
.module_steps--big .module_steps__step::before,
.module_steps--big .module_steps__step::after {
  content: none;
}

/* "Uten nummer": the circles shrink to dots on the line; cards and big numbers have no marker at all */
.module_steps--no-numbers:is(.module_steps--circles, .module_steps--outline) {
  --steps-number-size: 1.25rem;
}

.module_steps--no-numbers:is(.module_steps--cards, .module_steps--big) .module_steps__title {
  min-height: 0;
}

@media (min-width: 768px) {
  .module_steps--outline:not(.module_steps--vertical) .module_steps__step:not(:last-child)::after {
    height: 0;
    border-top: 2px dashed rgba(var(--bs-primary-rgb), .45);
    border-left: 0;
  }

  /* Cards and big numbers read left-aligned when side by side */
  .module_steps:is(.module_steps--cards, .module_steps--big):not(.module_steps--vertical) .module_steps__step {
    align-items: flex-start;
    gap: .75rem;
    text-align: left;
  }
}

/* ---------- Price list ("Prisliste", priceListBlock) ----------
   One white card per plan; the cards keep dark text on dark sections. Totals line up at the bottom. */
.module_prices__list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr));
  gap: 1.5rem;
}

.module_prices__plan {
  --bs-body-color: #212529;
  display: flex;
  flex-direction: column;
  padding: 1.75rem;
  border: 1px solid rgba(0, 0, 0, .08);
  border-radius: calc(var(--bs-border-radius) * 1.5);
  background: #fff;
  color: var(--bs-body-color);
  box-shadow: 0 1px 2px rgba(0, 0, 0, .04), 0 8px 24px -12px rgba(0, 0, 0, .12);
}

.module_prices__title {
  margin: 0;
  font-size: var(--ps-h4-font-size);
  line-height: 1.2;
}

.module_prices__note {
  margin: .5rem 0 0;
  color: var(--bs-primary);
  font-size: .95rem;
  font-weight: var(--ps-body-bold-font-weight);
  line-height: 1.5;
}

.module_prices__rows {
  margin: 1.25rem 0 1.5rem;
}

.module_prices__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding: .75rem 0;
  border-top: 1px solid rgba(0, 0, 0, .08);
}

  .module_prices__row:last-child {
    border-bottom: 1px solid rgba(0, 0, 0, .08);
  }

  .module_prices__row dt {
    font-weight: 400;
  }

  .module_prices__row dd {
    margin: 0;
    font-weight: var(--ps-body-bold-font-weight);
    text-align: right;
    white-space: nowrap;
  }

.module_prices__total {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: .25rem 1rem;
  margin-top: auto;
  padding: 1rem 1.25rem;
  border-radius: var(--bs-border-radius);
  background: rgba(var(--bs-primary-rgb), .08);
}

.module_prices__total-label {
  font-weight: var(--ps-body-bold-font-weight);
}

.module_prices__total-price {
  color: var(--bs-primary);
  font-family: var(--ps-title-font-family, var(--bs-body-font-family));
  font-size: 1.75rem;
  font-weight: 600;
  line-height: 1.1;
  white-space: nowrap;
}

/* ---------- List ("Liste", listBlock) ----------
   ListSettings "Visning": lines (Bootstrap list group, see .list-group), check, checkBox, arrows, cards.
   The other styles have no lines; titles and descriptions come from the list items. */
.module_list {
  --list-accent: var(--bs-primary);
  --list-gap: 1rem;
}

.module_list__checks,
.module_list__links,
.module_list__cards {
  display: grid;
  gap: var(--list-gap);
  margin: 0;
  padding: 0;
  list-style: none;
}

.module_list__body {
  display: block;
  min-width: 0;
}

.module_list__title {
  display: block;
  color: inherit;
  font-weight: var(--ps-body-bold-font-weight);
  line-height: 1.4;
  text-decoration: none;
}

.module_list__text {
  display: block;
  margin: .25rem 0 0;
  font-size: .95rem;
  line-height: 1.5;
  opacity: .8;
}

a.module_list__title:hover,
a.module_list__title:focus-visible,
.module_list__link:is(a):hover .module_list__title,
.module_list__link:is(a):focus-visible .module_list__title {
  color: var(--list-accent);
  text-decoration: underline;
  text-underline-offset: .2em;
}

/* Check list: a check mark in a filled circle */
.module_list__check {
  display: flex;
  gap: .875rem;
}

.module_list__check-icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  background: var(--list-accent);
  color: #fff;
  font-size: .875rem;
}

.module_list--check .module_list__body {
  padding-top: .125rem;
}

/* Check list in a box: tinted box, plain check marks, tighter rows */
.module_list--checkBox .module_list__checks {
  --list-gap: .75rem;
  padding: 1.5rem 1.75rem;
  border-radius: calc(var(--bs-border-radius) * 1.5);
  background: rgba(var(--bs-primary-rgb), .08);
}

.module_list--checkBox .module_list__check {
  gap: .75rem;
}

.module_list--checkBox .module_list__check-icon {
  width: auto;
  height: 1.4em;
  background: none;
  color: var(--list-accent);
  font-size: 1.125rem;
}

.module_list--checkBox .module_list__title {
  font-weight: 400;
}

/* Arrow links: an icon per link type in the accent colour */
.module_list__links {
  --list-gap: .875rem;
}

.module_list__link {
  display: flex;
  gap: .75rem;
  color: inherit;
  text-decoration: none;
}

  .module_list__link > .fal {
    flex: none;
    margin-top: .2em;
    color: var(--list-accent);
    font-size: 1.125rem;
    transition: transform .15s ease;
  }

  .module_list__link:is(a):hover > .fa-long-arrow-right {
    transform: translateX(.2rem);
  }

/* Link cards: two columns from tablet up, icon on the right; dark text also on dark sections */
.module_list__cards {
  --list-gap: .75rem;
}

@media (min-width: 768px) {
  .module_list__cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.module_list__card {
  --bs-body-color: #212529;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: 100%;
  padding: 1rem 1.25rem;
  border: 1px solid rgba(0, 0, 0, .1);
  border-radius: calc(var(--bs-border-radius) * 1.5);
  background: #fff;
  color: var(--bs-body-color);
  text-decoration: none;
  transition: border-color .15s ease, box-shadow .15s ease;
}

  a.module_list__card:hover,
  a.module_list__card:focus-visible {
    border-color: var(--list-accent);
    box-shadow: 0 6px 18px -10px rgba(var(--bs-primary-rgb), .5);
  }

.module_list__card-icon {
  flex: none;
  color: var(--list-accent);
  font-size: 1.25rem;
}


/* =====================================================================
   9. PAGE TYPES
   ===================================================================== */

/* ---------- Article (article.cshtml) ---------- */
.article-meta {
  color: var(--bs-secondary);
  font-size: .875rem;
}

/* Main image shown beside the text ("Skjul hovedbilde" ticked) */
@media (min-width: 768px) {
  .article-text .container-sm:has(> .article-image-right) {
    display: flow-root;
  }

  .article-image-right {
    float: right;
    width: 50%;
    margin: 0 0 1rem 1.5rem;
  }
}

.article-gallery a img {
  transition: opacity .15s ease-in-out;
}

  .article-gallery a:hover img {
    opacity: .85;
  }

/* ---------- Projects (ProjectList.cshtml, ProjectDetails.cshtml) ---------- */
.project-list-item .card-status {
  position: absolute;
  top: 10px;
  left: 0;
  background: #e72582;
  width: auto;
  color: #fff;
  padding: 0px 8px 0px 15px;
  line-height: 30px;
  float: left;
  font-size: 12px;
  text-transform: uppercase;
  border-top-right-radius: .25rem;
  border-bottom-right-radius: .25rem;
}

.project-details {
  position: relative;
}

  .project-details .project-status {
    background: #e72582;
    width: auto;
    color: #fff;
    padding: 0px 8px 0px 15px;
    line-height: 30px;
    margin-top: 10px;
    float: left;
    font-size: 14px;
    text-transform: uppercase;
  }

    .project-details .project-status.status-absolute {
      position: absolute;
      top: 20px;
      z-index: 100;
    }

.carousel-wrapper {
  background: #333;
  position: relative;
}

.div-table .data-title {
  display: block;
  font-size: 16px;
  font-weight: bold;
}

.div-table .data-result {
  display: block;
  font-size: 18px;
}

/* ---------- Search (Search/Index.cshtml) ---------- */
#search .form-control:focus {
  border-color: rgba(var(--bs-primary-rgb), .5);
  box-shadow: 0 0 0 .25rem rgba(var(--bs-primary-rgb), .15);
}

.card-textbox .card-title {
  line-height: 1.3;
}


/* =====================================================================
   10. UTILITIES
   ===================================================================== */
/* Responsive embeds in rich text (legacy TinyMCE markup) */
.mceNonEditable.embeditem {
  position: relative;
  width: 100%;
  --bs-aspect-ratio: 56.25%;
}

  .mceNonEditable.embeditem::before {
    display: block;
    padding-top: var(--bs-aspect-ratio);
    content: "";
  }

  .mceNonEditable.embeditem iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }

/* Hide the reCAPTCHA v3 badge. Allowed by Google because every form shows the reCAPTCHA notice
   (.promsys-form__recaptcha-note). Use visibility, not display:none, which stops reCAPTCHA from working. */
.grecaptcha-badge {
  visibility: hidden;
}
