/*! Memento theme – byggd 2026-11-11 från assets/css/components/ (18 filer).
   Redigera inte den här filen direkt. Ändra i assets/css/components/ och kör: node tools/build-css.mjs */
/* ---- 10-base.css ---- */
/* Base */

.container {
    max-width: 1600px;
}

.ratio {
    border-radius: var(--radius-md);
    overflow: hidden;
}

.intro {
    margin-bottom: 4rem;
    text-align: center;
    display: flex;
    justify-content: center;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--font-main);
    color: var(--color-text);
    background: var(--color-white);
    overflow-x: hidden;
    font-weight: 400;
    font-size: 1.1rem;
    line-height: 1.45;
    letter-spacing: 0.075rem;
}

b, strong {
    font-weight: 600;
}

.h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6 {
    font-weight: 600 !important;
    letter-spacing: 0.1rem;
}

.h1, h1,
.h2, h2 {
    margin-bottom: 1.5rem;
}

.h3, h3,
.h4, h4,
.h5, h5 {
    margin-bottom: 1rem;
    line-height: 1.3;
}

.h1, h1,
.h2, h2 {
    font-size: 3rem;
}

.t-display,
.display-2,
.display-3 {
    font-weight: 500;
    font-size: 4rem;
    margin-bottom: 3rem;
}

.t-display {
    font-size: 8.5vw;
    font-weight: 500;
    line-height: 0.95;
}

.fs-120 {
    font-size: 120%;
}

figure {
    margin: 0;
    width: 100%;
    overflow: hidden;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

.text-primary {
    color: var(--color-primary) !important;
}

form.fluent_form_1 .wpf_has_custom_css.ff-btn-submit {
    border-radius: 500px !important;
    padding-left: 1.5rem !important;
    padding-right: 1.5rem !important;
}

body.page-template-template-contact header .btn-primary {
    border-color: var(--color-white) !important;
}

body.page-template-template-contact header .navbar .nav-item .nav-link::before {
    background: var(--color-white) !important;
}

.container {
    padding: 0 4rem;
}

body.page-template-template-contact header {
    background: var(--color-secondary);
}

.section-lead {
    font-size: 135%;
}

.section-lead > *:only-child {
    margin-bottom: 0;
}

.columns {
    margin-top: 1rem;
}

body.page-template-template-experience .case h2,
body.page-template-template-experience .case h3,
body.page-template-template-experience .case h4,
body.page-template-template-experience .case h5 {
    color: var(--color-soft-orange);
}

body.tax-experience_categories .container .inner {
    background: #93E5BC;
}

body.tax-event_categories .container .inner {
    background: #D9ECF9;
}

@keyframes underlineSwipe {
    0% {
        transform: scaleX(0);
        transform-origin: right;
    }
    50% {
        transform: scaleX(1);
        transform-origin: right;
    }
    51% {
        transform-origin: left;
    }
    100% {
        transform: scaleX(0);
        transform-origin: left;
    }
}

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

@media (max-width: 1199.98px) {
    .section-lead {
            font-size: 150%;
        }
}

@media (max-width: 991.98px) {
    .section-lead {
            font-size: 130%;
        }
}

@media (max-width: 767.98px) {
    body {
            font-size: 1rem;
            line-height: 1.3;
        }

    .h1, h1, .h2, h2 {
            font-size: 1.85rem;
            margin-bottom: 0.75rem;
        }

    .h3, h3 {
            font-size: 1.5rem;
        }

    .display-3 {
            font-size: calc(1.525rem + 2.3vw);
        }

    .u-w-3\/4 {
            width: 50% !important;
        }

    .container {
            padding: 0 1rem;
        }

    .section-lead {
            font-size: 125%;
        }

    .intro {
            margin-bottom: 1.25rem;
        }
}

/* Keyboard access and narrow layouts without changing desktop design. */
.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
}

.skip-link:focus {
    position: fixed;
    top: 1rem;
    left: 1rem;
    width: auto;
    height: auto;
    margin: 0;
    padding: 1rem;
    clip-path: none;
    z-index: 1100;
    color: var(--color-white);
    background: var(--color-secondary);
}

a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, [role="button"]:focus-visible {
    outline: 3px solid currentColor;
    outline-offset: 4px;
}

#main-content:focus { outline: none; }

img { height: auto; }

.section-lead { overflow-wrap: anywhere; }

input, select, textarea { max-width: 100%; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }

    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* Standardavstånd för sektioner. Ligger i basen så att komponenternas egna (mobil)avstånd vinner. */
.section-holder {
    padding: 6rem 0;
}

/* ---- 20-buttons.css ---- */
/* Buttons */

.badge--success {
    color: #fff !important;
    opacity: 1 !important;
    background-color: var(--color-secondary) !important;
}

.btn {
    font-size: 100%;
    font-weight: 500;
    padding:0.6rem 1.75rem;
    margin-top: 1.75rem;
    position: relative;
    overflow: hidden;
    width: fit-content;
    border-radius: var(--radius-pill);
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-lg {
    font-size: 120%;
    padding: 1rem 1.25rem;
}

/* Text */
.btn span {
    z-index: 2;
    position: relative;
}

/* Bakgrunds-animation */
.btn::before {
    content: "";
    position: absolute;
    bottom: 0;          /* start från botten */
    left: 0;
    width: 100%;
    height: 0;          /* börja på 0 höjd */
    z-index: 1;
    border-radius: 4px;
    background: transparent;
    transition: height 0.4s ease;
    border-radius: var(--radius-pill);
}

.btn.active::before,
.btn:hover::before,
.btn:focus::before {
    height: 101% !important;
}

.btn.active {
    background: none;
}

.btn-outline-primary {
    border: 2px solid var(--color-primary) !important;
    color: var(--color-primary);
}

.btn-outline-primary:hover {
    background: none;
}

.btn-outline-primary:hover,
.btn-outline-primary:focus {
    color: var(--color-white);
}

.btn-outline-primary::before {
    background: var(--color-primary);
}

.btn-outline-primary.active {
    border-color: var(--color-primary);
}

.btn-outline-secondary {
    border: 2px solid var(--color-secondary) !important;
    color: var(--color-secondary);
}

.btn-outline-secondary:hover {
    background: none;
}

.btn-outline-secondary:hover,
.btn-outline-secondary:focus {
    color: var(--color-white);
}

.btn-outline-secondary::before {
    background: var(--color-secondary) !important;
}

.btn-outline-secondary.active {
    border-color: var(--color-secondary) !important;
}

.btn-outline-light {
    border: 2px solid var(--color-white);
    color: var(--color-white);
}

.btn-outline-light:hover {
    background: none;
}

.btn-outline-light:hover,
.btn-outline-light:focus {
    color: var(--color-secondary) !important;
}

.btn-outline-light::before {
    background: var(--color-white);
}

.btn-outline-light.active {
    border-color: var(--color-white);
    color: var(--color-secondary) !important;
}

.btn-outline-light.active::before {
    height: 100% !important;
}

.btn-light-primary {
    border: 2px solid var(--color-white);
    color: var(--color-white);
    background: var(--color-secondary);
}

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

.btn-light-primary:hover,
.btn-light-primary:focus {
    border: 2px solid var(--color-white);
    color: var(--color-secondary);
    background: var(--color-secondary);
}

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

.btn-light-primary.active {
    border-color: var(--color-primary);
}

.btn-light {
    border:none !important;
    background: var(--color-white) !important;
    border: 2px solid var(--color-white) !important;
}

.btn-light:hover,
.btn-light:focus,
.btn-light:active {
    color: var(--color-white) !important;
    background: none !important;
    border-color: var(--color-white) !important;
}

.btn-light::before {
    background: var(--color-secondary);
}

.btn-light.active {
    color: var(--color-secondary) !important;
}

.btn-light.active::before {
    background: var(--color-white);
}

.btn-primary {
    background: var(--color-secondary);
    border:2px solid var(--color-secondary) !important;
}

.btn-primary:hover,
.btn-primary:focus {
    background: var(--color-secondary) !important;
    color: var(--color-secondary) !important;
    border-color: var(--color-secondary) !important;
}

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

.btn-primary.active {
    border-color: var(--color-primary);
}

.btn-secondary {
    background: var(--color-primary);
    border:2px solid var(--color-primary);
}

.btn-secondary:hover,
.btn-secondary:focus {
    background: var(--color-primary);
    color: var(--color-primary);
    border-color: var(--color-primary);
}

.btn-secondary::before {
    background: var(--color-white);
}

.btn-secondary.active {
    border-color: var(--color-primary);
}

.btn-outline-pink {
    background: var(--color-white);
    color: var(--color-soft-orange);
    border:2px solid var(--color-soft-orange);
}

.btn-outline-pink:hover,
.btn-outline-pink:focus {
    background: var(--color-white);
    color: var(--color-white);
}

.btn-outline-pink::before {
    background: var(--color-soft-orange);
}

.btn-outline-green {
    background: var(--color-white);
    color: var(--color-secondary);
    border:2px solid var(--color-secondary);
}

.btn-outline-green:hover,
.btn-outline-green:focus {
    background: var(--color-white);
    color: var(--color-white);
    border-color: var(--color-secondary);
}

.btn-outline-green::before {
    background: var(--color-secondary);
}

@media (max-width: 767.98px) {
    .btn {
            font-weight: 500;
            padding:0.55rem 1.35rem;
            margin-top: 1.5rem;
        }
}

/* ---- 30-header.css ---- */
/* Header */

.breadcrumbs {
    margin-bottom: 2rem;
    font-size: 85%;
    opacity: 0.3;
    color: #000;
}

header {
    padding: 0.5rem 0;
    width: 100%;
    top: 0;
    transition: 0.3s;
}

header:has(+ main > .hero:first-child) {
    position: fixed;
    left: 0;
    z-index: 1000;
}

header:not(:has(+ main > .hero:first-child)) {
    position: sticky;
    padding: 0.5rem 0;
    background: var(--color-soft-pink);
    z-index: 1000;
}

header .navbar {
    max-width: 100%;
    padding: 0.5rem 2rem;
    transition: 0.3s;
}

header .container {
    max-width: 100%;
    position: relative;
}

header .navbar-brand {
    display: block;
}

header .navbar-brand img {
    width: 105px;
    transition: 0.3s;
}

header .navbar-collapse {
    flex-grow: inherit;
}

header .navbar .nav-item .nav-link {
    color: var(--color-white);
    padding: 0.15rem 0 0.15rem 0;
    margin: 0 1.5rem;
    font-weight: 500;
    position: relative;
}

header .navbar .nav-item .nav-link::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--color-secondary);

    transform: scaleX(0);
    transform-origin: right; /* start från höger */
    transition: transform 0.3s ease-in-out;
}

header .navbar .nav-item:hover .nav-link::before {
    transform: scaleX(1);
    transform-origin: left; /* så den "fyller ut" snyggt */
}

header .navbar .dropdown-toggle::after {
    border:none;
    display: none;
}

header .navbar .nav-item:hover .nav-link,
header .navbar .nav-item:focus .nav-link {
    color: var(--color-white);
}

header .current-menu-item a::after,
header .current-menu-item a::before {
    transform: scaleX(1) !important;
}

header .navbar .current-menu-item .nav-link::before {
    transform: scaleX(1);
    transform-origin: left; /* så den "fyller ut" snyggt */
}

header .header-extra {
    display: flex;
    justify-content: flex-end;
    gap:1rem;
    align-items: center;
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 90%;
    font-weight: 500;
}

header .navbar .dropdown-menu {
    margin: 2.1rem 0 0 0;
    border-color: var(--color-white);
    min-width: 300px;
    width: 100%;
    border-radius: var(--radius-md);
    padding: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
}

header .navbar .dropdown-menu::before {
    content: "";
    position: absolute;
    top: -19px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 20px solid transparent;
    border-right: 20px solid transparent;
    border-bottom: 20px solid var(--color-white);
}

header .dropdown {
    position: static;
}

header .navbar .dropdown-menu .h4 {
    border-bottom: 2px solid var(--color-primary);
    color: var(--color-primary);
    padding-bottom: 1rem;
    margin-bottom: 1rem;
    display: block;
    transition: 0.3s;
}

header .navbar .dropdown-menu .h4 span {
    transition: 0.3s;
}

header .navbar .dropdown-menu .h4:hover span {
    transform: translateY(-3px); /* justera 4–10px */
}

header .navbar .dropdown-menu li .dropdown-item {
    padding: 0.35rem 0;
    color: var(--color-primary);
    font-weight: 500;
    transition: 0.3s;
    font-size: 1.2rem;
    position: relative;
    width: fit-content;
}

header .navbar .dropdown-menu li .dropdown-item:hover,
header .navbar .dropdown-menu li .dropdown-item:focus {
    text-decoration: none;
}

header .navbar .dropdown-menu li .dropdown-item::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--color-primary);
    transform: scaleX(0);
    transform-origin: right; /* start från höger */
    transition: transform 0.3s ease-in-out;
}

header .navbar .dropdown-menu li .dropdown-item:hover::before {
    transform: scaleX(1);
    transform-origin: left; /* så den "fyller ut" snyggt */
}

header .navbar .dropdown-menu li .dropdown-item:hover,
header .navbar .dropdown-menu li .dropdown-item:focus {
    background: none;
}

header .navbar .dropdown-menu li:first-child .dropdown-item {
    border-top: 0;
    padding-top: 0;
}

header .navbar .dropdown-menu li:last-child .dropdown-item {
    padding-bottom: 0;
}

header .navbar .mega-dropdown-menu {
    padding: 0 !important;
    margin: 0;
    background: none;
    border: 0;
    position: relative;
}

header .navbar .mega-dropdown-menu::before {
    display: none;
}

header .navbar .mega-dropdown-menu .mega-menu__cols {
    position: relative;
    width: 100%;
    max-width: 850px;
    margin: 0 auto 0;
    padding: 1.5rem;
    border-radius: var(--radius-md);
    background: var(--color-white);
}

header .navbar .mega-dropdown-menu .mega-menu__cols::before {
    content: "";
    position: absolute;
    top: -19px;
    left: 36.5%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 20px solid transparent;
    border-right: 20px solid transparent;
    border-bottom: 20px solid var(--color-white);
}

header .navbar .mega-dropdown-menu li .dropdown-item {
    padding: 0.35rem 0;
    font-size: 1.2rem;
    color: var(--color-primary);
}

header .navbar .mega-dropdown-menu .card .card-wrapper .btn {
    font-size: 1.2rem;
}

header.is-scrolled {
  background: var(--color-primary) !important;
}

header.is-scrolled .navbar {
    padding-top: 0;
    padding-bottom: 0;
}

header.is-scrolled img {
    width: 85px;
}

.menu-item-has-children.is-open > .mobile-submenu-toggle span:last-child {
  transform: translate(-50%, -50%) rotate(0deg);
}

@media (max-width: 1199.98px) {
    header .navbar {
            padding: 0;
        }

    header .navbar-brand img {
            width: 90px;
        }

    header .header-extra {
            gap:0.5rem;
        }
}

@media (max-width: 767.98px) {
    header .navbar-brand img {
            width: 70px;
        }
}

/* ---- 31-mobile-menu.css ---- */
/* Mobile menu */

.mobile-menu-toggle {
    width: 50px;
    height: 50px;
    border: 0;
    background: var(--color-secondary);
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    padding: 0;
    box-shadow: 0 10px 30px rgba(0,0,0,.12);
    transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}

.mobile-menu-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    border-radius: 999px;
    background: var(--color-white);
}

/* Modal overlay */
.mobile-menu-modal .modal-dialog {
    margin: 0 0 0 auto;
    max-width: 420px;
    height: 100%;
}

.mobile-menu-modal .modal-content {
    height: 100vh;
    border: 0;
    border-radius: 0;
    background: var(--color-white);
    color: var(--color-primary);
    box-shadow: -20px 0 60px rgba(0,0,0,.18);
    overflow: hidden;
}

/* Slide from right */
.mobile-menu-modal.fade .modal-dialog {
    transform: translateX(100%);
    transition: transform .35s cubic-bezier(.22, 1, .36, 1);
}

.mobile-menu-modal.show .modal-dialog {
    transform: translateX(0);
}

.mobile-menu-modal .modal-dialog-end {
    margin-left: auto;
    margin-right: 0;
}

.mobile-menu-modal .modal-backdrop,
.mobile-menu-modal + .modal-backdrop {
    backdrop-filter: blur(4px);
}

.mobile-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.25rem 1rem;
    border-bottom: 1px solid rgba(20,41,27,.08);
    background: var(--color-primary);
}

.mobile-menu-brand {
    font-size:1.8rem;
    font-weight: 600;
    color: var(--color-white);
    text-decoration: none;
    letter-spacing: -.02em;
}

.mobile-menu-body {
    display: flex;
    flex-direction: column;
    height: calc(100vh - 125px);
    padding: 1.25rem;
    overflow-y: auto;
    padding-bottom: 6rem;
}

.mobile-menu-nav {
    flex: 1 1 auto;
}

.mobile-menu-list,
.mobile-menu-list ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mobile-menu-list > li > a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.5rem 0;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 1.2;
    width: 100%;
    padding-right: 3rem;
    transition: color .2s ease, transform .2s ease;
}

.mobile-menu-list > li > a::after {
    display: none;
}

.mobile-menu-list > li > a:hover {
    color: var(--color-primary);
}

.mobile-menu-list .sub-menu {
    padding: .25rem 0 1rem 0;
}

.mobile-menu-list .sub-menu li a {
    padding: .6rem 0 ;
    font-size: 1.55rem;
    position: relative;
    width: 100%;
    color: var(--color-primary);
}

.mobile-menu-actions {
    display: grid;
    gap: .85rem;
}

.mobile-menu-actions ul li .action {
    font-size: 105%;
}

.mobile-menu-modal .action::after {
    display: none !important;
}

.mobile-menu {
    display: flex;
    align-items:center;
    flex-wrap: wrap;
    gap:0.75rem;
}

.mobile-menu > * {
    flex: 0 0 auto !important;
    margin-top: 0 !important;
}

.mobile-menu > .btn {
    width: auto !important;
}

@media (min-width: 992px) {
    .mobile-menu-modal {
            display: none !important;
        }
}

.mobile-menu-list .menu-item-has-children {
  position: relative;
}

.mobile-submenu-toggle {
  position: absolute;
  top: 0.25rem;
  right: 0;
  width: 35px;
  height: 35px;
  border: 0;
  background: var(--color-primary);
  border-radius: 999px;
  transition: background .2s ease, transform .2s ease;
}

.mobile-submenu-toggle span {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 14px;
  height: 2px;
  background: var(--color-white);
  border-radius: 999px;
  transform: translate(-50%, -50%);
}

.mobile-submenu-toggle span:last-child {
  transform: translate(-50%, -50%) rotate(90deg);
}

.mobile-menu-modal .modal-content { height: 100dvh; }

.mobile-menu-body { min-height: 0; flex: 1; height: auto; }

.mobile-submenu-toggle { width: 44px; height: 44px; }

.mobile-menu-list .sub-menu[hidden] { display: none; }

/* ---- 32-modal.css ---- */
/* Optional: slightly darker overlay */
.modal-backdrop.show {
    opacity: .45;
}

/* ---- 40-hero.css ---- */
/* Hero */

.hero {
    position: relative;
    background: var(--color-bg-dark);
    overflow: hidden;
    height: 80vh;
}

.hero__bg {
    width: 100%;
    position: relative;
}

.hero video,
.hero__bg img {
    width: 100%;
    height: 80vh;
    object-fit: cover;
}

.hero__caption {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    z-index: 10;
    color: var(--color-white);
}

@media (max-width: 767.98px) {
    .hero__caption {
            top: auto;
            height: auto;
            bottom: 3rem;
        }

    .hero,
        .hero video,
        .hero__bg img {
            height: 350px;
        }
}

/* iPhone: visa aldrig den inbyggda playknappen på bakgrundsvideor. */
video[autoplay]::-webkit-media-controls,
video[autoplay]::-webkit-media-controls-start-playback-button,
video[autoplay]::-webkit-media-controls-overlay-play-button {
    display: none !important;
    -webkit-appearance: none;
}

/* ---- 41-ticker.css ---- */
/* Ticker */

/* TICKER */
.ticker {
    overflow: hidden;
    position: relative;
    padding: 2.25rem 0;
    background: var(--color-primary);
}

.ticker-wrap {
    display: flex;
    align-items: center;
    white-space: nowrap;
    position: relative;
}

#usp-ticker {
    display: flex;
    align-items: center;
    gap: 0 5rem;
    margin: 0;
    padding: 0;
    list-style: none;
    white-space: nowrap;
    transform: translateX(0);
    will-change: transform;
}

#usp-ticker li {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
}

#usp-ticker li img {
    display: block;
    width: auto;
    max-width: 100%;
    max-height: 30px; /* ändra denna till t.ex. 60px, 100px osv */
    height: auto;
    object-fit: contain;
}

@media (max-width: 1199.98px) {
    .ticker {
            padding:1.5rem 0;
        }
}

@media (max-width: 767.98px) {
    .ticker {
            padding:1rem 0;
        }

    #usp-ticker {
            gap: 0 2.5rem;
        }

    #usp-ticker li img {
            max-height: 18px; /* ändra denna till t.ex. 60px, 100px osv */
        }
}

/* ---- 42-cards.css ---- */
/* Cards */

.card {
    background: none;
    border:0;
}

.card .card-wrapper {
    color: var(--color-primary);
    background: var(--color-white);
    text-decoration: none;
    display: flex;
    flex-flow: column wrap;
    height: 100%;
    overflow: hidden;
    border-radius: var(--radius-md);
}

.card .card-wrapper figure {
    border-top-left-radius: var(--radius-md);
    border-top-right-radius: var(--radius-md);
    position: relative;
    overflow: hidden;
}

.card .card-wrapper figure video,
.card .card-wrapper figure img {
    object-fit: cover;
    transition: 0.4s;
    width: 100%;
    height: 300px;
}

.card .card-wrapper:hover figure img,
.card .card-wrapper:hover figure img {
    transform: scale(1.1);
}

.card .card-wrapper:hover .btn-secondary,
.card .card-wrapper:focus .btn-secondary {
    color: var(--color-primary);
}

.card .card-wrapper:hover .btn-outline-pink,
.card .card-wrapper:focus .btn-outline-pink,
.card .card-wrapper:hover .btn-outline-green,
.card .card-wrapper:focus .btn-outline-green,
.card .card-wrapper:hover .btn-outline-primary,
.card .card-wrapper:focus .btn-outline-primary,
.card .card-wrapper:hover .btn-outline-secondary,
.card .card-wrapper:focus .btn-outline-secondary {
    color: var(--color-white);
}

.card .card-wrapper:hover .btn::before,
.card .card-wrapper:focus .btn::before {
    height: 100%;
}

.card .card-wrapper .card-body {
    color: var(--color-heading);
    padding: 1.75rem;
    display: flex;
    flex-flow: column wrap;
    align-content: flex-start;
    flex: auto;
    width: 100%;
}

.card .card-wrapper .card-body h3 {
    margin-bottom: 1rem;
}

.card .card-wrapper .card-body ul {
    margin-top: 0;
}

.card .card-wrapper .card-body ul li i {
    background: var(--color-primary);
    color: var(--color-white);
}

.card .card-wrapper .card-body ul li .action {
    margin-top: 0 !important;
}

.card .card-wrapper .card-body ul li .action:hover,
.card .card-wrapper .card-body ul li .action:focus {
    color: var(--color-primary);
}

.card .card-wrapper .card-body ul li .action::after {
    background: var(--color-primary);
}

.card .card-wrapper .card-actions {
    margin-top: auto;
}

.card .card-wrapper .card-actions .btn {
    margin-top: 1rem;
}

.card a.card-wrapper:hover figure img,
.card a.card-wrapper:focus figure img {
    transform: scale(1.1);
}

.card .card-wrapper:hover .btn::before,
.card .card-wrapper:focus .btn::before {
    height: 101%;
}

.card-contact .card-wrapper {
    background: none;
}

.card-contact .card-wrapper .card-body {
    padding-left: 0;
    padding-right: 0;
    padding-bottom: 0;
    text-align: center;
    justify-content: center;
    align-content: center;
}

.card-contact .card-wrapper figure img {
    border-radius: 500px;
    width: 100%;
    height: 100% !important;
}

.card-contact .card-wrapper:hover figure img,
.card-contact .card-wrapper:focus figure img {
    transform: none;
}

.card-contact .card-wrapper .card-body p {
    margin: 0;
}

.card-contact-hover .card-wrapper figure {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1 / 1;
	/*
    max-width: 80%;
    margin: 0 auto;
	*/
}

.card-contact-hover .card-wrapper figure img {
    width: 100%;
    height: 100% !important;
    object-fit: cover;
    transition: opacity .35s ease, transform .35s ease;
}

.card-contact-hover .card-wrapper figure .hover-image {
    position: absolute;
    inset: 0;
    opacity: 0;
}

.card-contact-hover .card-wrapper:hover figure .hover-image,
.card-contact-hover .card-wrapper:focus figure .hover-image {
    opacity: 1;
}

.card-contact-hover .card-wrapper:hover figure .main-image,
.card-contact-hover .card-wrapper:focus figure .main-image {
    opacity: 0;
}

.cards {
    padding: 6rem 0;
}

.cards-grid-ribbon {
    position: relative;
}

.cards-ribbon {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    pointer-events: none;
    align-items: center;
    justify-content: center;
    z-index: 100;
}

.cards-ribbon img {
    max-width: 180px;
    border-radius: var(--radius-sm);
}

.cards .card .card-body {
    padding: 4rem 3rem;
}

@media (max-width: 1199.98px) {
    .cards {
            padding: 4rem 0;
        }
}

@media (max-width: 767.98px) {
    .cards {
            padding: 1.5rem 0;
        }

    .card .card-wrapper video,
    .card .card-wrapper figure img {
            height: 200px;
            object-fit: cover;
        }

    .card .card-wrapper .card-body {
            padding: 1.5rem;
        }

    .cards-ribbon {
            align-items: flex-start;
            justify-content: flex-end;
            z-index: 100;
            margin: -1.5rem;

            display: none !important;
        }

    .cards-ribbon img {
            max-width: 90px;
        }

    .card .card-wrapper .btn, .card .card-wrapper .action {
            margin-top: 0;
        }
}

.card-body { min-width: 0; }

.card-contact-hover .card-wrapper .card-body { flex-wrap: nowrap; align-content: normal; }

.card-contact-hover .card-body > * { min-width: 0; max-width: 100%; overflow-wrap: anywhere; }

/* Stable event-card crop, independent of header media. */
.card figure.event-card-image {
    aspect-ratio: 4 / 3;
    background: var(--color-soft-blue);
}

/* Preserve the crop when a card image is wrapped in its own link. */
.card figure.event-card-image > a { display: block; height: 100%; }

/* ---- 43-event.css ---- */
/* Event */

.event-pricing-section {
    padding: 6rem 0;
}

.event-pricing-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 20px;
}

.event-step {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 72px;
    padding: 14px 34px;
    background: var(--color-primary);
    color: #fff;
    border-radius: 16px;
    border-top-left-radius: var(--radius-sm);
    border-bottom-left-radius: var(--radius-sm);
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    text-align: center;
    font-size: 1.75rem;
    line-height: 1.1;
    font-weight: 500;
    width: 99%;
}

.event-step:nth-child(2) {
    border-radius: 0;
}

.event-step:last-child {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    border-top-right-radius: var(--radius-sm);
    border-bottom-right-radius: var(--radius-sm);
}

.event-step::after {
    content: "";
    position: absolute;
    top: 0;
    right: -24px;
    width: 0;
    height: 0;
    border-top: 36px solid transparent;
    border-bottom: 36px solid transparent;
    border-left: 24px solid var(--color-primary);
    z-index: 3;
}

.event-step:not(:first-child)::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 0;
    border-top: 36px solid transparent;
    border-bottom: 36px solid transparent;
    border-left: 24px solid var(--color-white);
    z-index: 4;
}

.event-step:last-child::after {
    display: none;
}

.event-pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.event-pricing-card {
    background: var(--color-soft-blue);
    border-radius: var(--radius-sm);
    padding: 2.5rem;
    color: var(--color-primary);
}

.event-included-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.event-included-list li {
    position: relative;
    margin-bottom: 1rem;
    padding-left: 28px;
    font-size: 120%;
}

.event-included-list li:last-child {
    margin-bottom: 0;
}

.event-included-list li::before {
    content: "";
    position: absolute;
    top: 9px;
    left: 0;
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: var(--color-primary);
}

.event-addon-item {
    display: grid;
    grid-template-columns: 44px 1fr;
    gap: 1.5rem;
    align-items: start;
    margin-bottom: 1.75rem;
}

.event-addon-item:last-child {
    margin-bottom: 0;
}

.event-check {
    position: relative;
    width: 44px;
    height: 44px;
    display: block;
    margin: 0;
    cursor: pointer;
}

.event-check input {
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
}

.event-check-box {
    position: relative;
    display: block;
    width: 44px;
    height: 44px;
    border-radius: 3px;
    background: var(--color-white);
}

.event-check input:checked + .event-check-box {
    background: var(--color-primary);
}

.event-check input:checked + .event-check-box::after {
    content: "";
    position: absolute;
    left: 17px;
    top: 8px;
    width: 12px;
    height: 22px;
    border-right: 4px solid var(--color-white);
    border-bottom: 4px solid var(--color-white);
    transform: rotate(45deg);
}

.extra-range {
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 3px;
    background: var(--color-white);
    color: var(--color-primary);
    font-size: 20px;
    text-align: center;
    appearance: none;
    -webkit-appearance: none;
    padding: 0;
    cursor: pointer;
}

.event-addon-text {
    font-size: 120%;
    margin-top: -4px;
}

.event-pricing-card--summary {
    display: flex;
    flex-direction: column;
}

.event-summary-intro {
    margin: 0 0 1rem;
    font-size: 120%;
}

.event-price-row {
    margin-bottom: 1rem;
    color: var(--color-primary);
}

.event-price-row--total {
    margin-bottom: 18px;
}

.event-price-label {
    font-size: 120%;
}

.event-price-value {
    font-size: 2rem;
    font-weight: 800;
}

.event-price-suffix {
    font-size: 120%;
    font-weight: 500;
}

.event-guest-field-wrap {
    margin-top: 4px;
}

.event-guest-field {
    width: 100%;
    height: 60px;
    border: 0;
    outline: none;
    border-radius: 4px;
    background: var(--color-white);
    box-shadow: none;
    padding: 0 18px;
    color: var(--color-primary);
    font-size: 120%;
    font-weight: 800;
}

.event-guest-field:focus {
    box-shadow: none;
}

.event-guest-field:focus-visible,
.event-check input:focus-visible + .event-check-box {
    outline: 3px solid var(--color-primary);
    outline-offset: 4px;
}

#forfragan-resultat {
    scroll-margin-top: 120px;
}

@media (max-width: 1199.98px) {
    .event-pricing-section {
            padding: 4rem 0;
        }
}

@media (max-width: 767.98px) {
    .event-pricing-section {
            padding: 1.5rem 0;
        }

    .event-included-list li {
            font-size: 112%;
        }

    .event-pricing-card {
            padding: 1.5rem;
        }

    .event-pricing-grid {
            grid-template-columns: repeat(1, minmax(0, 1fr));
            gap: 1rem;
        }

    .event-addon-item {
            margin-bottom: 1.25rem;
        }

    .event-addon-item,
        .event-addon-item {
            gap:1rem;
        }

    .event-included-list li {
            margin-bottom: 0.5rem;
        }

    .event-price-row,
        .event-summary-intro {
            margin: 0;
        }

    .event-guest-field-wrap {
            margin-top: 1rem;
        }

    .event-pricing-steps {
            display: none;
        }

    #forfragan-resultat {
          scroll-margin-top: 220px;
      }
}

.event-pricing-card { min-width: 0; }

@media (max-width: 575.98px) {
    .event-price-value { overflow-wrap: anywhere; }
}

#forfragan { scroll-margin-top: calc(var(--header-height) + 1rem); }

.event-guest-field.wrong { outline: 2px solid #b42318; outline-offset: 2px; }

/* Booking control: retain the compact maths question with a usable touch area. */
.foerfraagan-form input[name="validation_field"] {
    width: 5rem;
    min-height: 44px;
    padding: 0.5rem;
    border: 1px solid var(--color-primary);
    border-radius: 4px;
    color: var(--color-primary);
    background: var(--color-white);
}

/* ---- 44-about.css ---- */
/* About */

.about {
    overflow: hidden;
    padding:6rem 0;
}

.about-slider {
    position: relative;
    width: 100%;
}

.about-slider__cell {
    width: 100%;
}

.about-slider .flickity-button {
    display: none !important;
}

.about-team-blob-wrap {
    position: relative;
    display: flex;
    justify-content: center;
    overflow: hidden;
}

.about-team-blob {
    width: 100%;
    margin-bottom: 4rem;
}

.about-team-blob video,
.about-team-blob img {
    display: block;
    width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: var(--radius-sm)
}

.about-team-blob__title {
    position: absolute;
    inset: 50% auto auto 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    text-align: center;
    color: var(--color-white);
    font-size: 10.5vw;
    font-weight: 500;
    line-height: 0.95;
    pointer-events: none;
    margin: 0;
    z-index: 2;
}

.about-team-copy-row p {
    font-size: 120%;
    margin: 0;
}

.about .flickity-viewport {
    overflow: hidden;
}

.about .flickity-slider {
    display: flex;
    align-items: stretch;
}

.about .flickity-prev-next-button {
    top: 45%;
    transform: translateY(-45%);
    z-index: 5;
}

.about .flickity-prev-next-button.previous {
    left: 1.5rem;
}

.about .flickity-prev-next-button.next {
    right: 1.5rem;
}

.stats {
    padding: 6rem 0;
}

.stats .title {
    margin-bottom: 4rem;
}

.stats .title h2 {
    margin: 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.stats .stat {
    min-width: 0;
}

.stats .stat-inner {
    background: var(--color-primary);
    color: var(--color-white);
    border-radius: var(--radius-sm);
    overflow: hidden;
    padding: 4rem 1rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    text-align: center;
}

.stats .stat-number {
    margin: 0 0 1rem;
    font-size: 6rem;
}

.stats .stat-description {
    margin: 0;
    font-size: 120%;
}

@media (max-width: 1199.98px) {
    .stats-grid {
            grid-template-columns: repeat(2, minmax(0, 1fr));
        }

    .stats .stat-inner {
            min-height: 260px;
        }
}

@media (max-width: 767.98px) {
    .stats {
            padding: 2rem 0 2.5rem;
        }

    .stats h2 {
            margin-bottom: 1.25rem;
        }

    .stats-grid {
            grid-template-columns: 1fr;
            gap: 1rem;
        }

    .stats .stat-inner {
            min-height: 220px;
            padding: 1.5rem 1.25rem;
        }

    .stats .stat-number {
            font-size: clamp(3.2rem, 14vw, 5rem);
        }

    .stats .stat-description {
            font-size: 1.15rem;
        }
}

.dream-team {
    padding: 6rem 0;
}

.dream-team__filter {
    gap: 1.5rem;
    margin-bottom: 3.25rem;
}

.dream-team__filter-line {
    flex: 1 1 auto;
    height: 2px;
    background: var(--color-primary);
}

.dream-team__nav {
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.dream-team__nav .nav-link {
    min-width: 150px;
    padding: 0.9rem 1.5rem;
    border-radius: 999px;
    border: 2px solid var(--color-primary);
    background: transparent;
    color: var(--color-primary);
    font-size: 1.05rem;
    font-weight: 500;
    line-height: 1;
    transition: 0.3s;
    text-align: center;
}

.dream-team__nav .nav-link:hover,
.dream-team__nav .nav-link:focus,
.dream-team__nav .nav-link.active,
.dream-team__nav .show > .nav-link {
    background: linear-gradient(180deg, var(--color-primary) 0%, var(--color-primary) 100%);
    border-color: var(--color-primary);
    color: var(--color-white);
}

.dream-team__content {
    margin-top: 0;
}

@media (max-width: 1199.98px) {
    .dream-team,
    .about {
            padding: 4rem 0;
        }
}

@media (max-width: 767.98px) {
    .dream-team,
    .about {
            padding: 1.5rem 0;
        }

    .about-team-copy-row p {
            font-size: 112%;
        }

    .about-team-blob {
            margin-bottom: 1.25rem;
        }

    .stats .title {
            margin-bottom: 1.25rem;
        }

    .stats .stat-inner {
            min-height: auto;
        }

    /* Metodhjulet: SVG:n är 1830 bred men hjulet bara ~1120. Beskärs med en klippande ruta i stället för
       object-fit, som nyare iOS Safari inte tillämpar på SVG-bilder (bilden blev utsträckt på iPhone 15 Pro). */
    .about-team-blob:has(> img[src*="memento-our-method"]) {
            overflow: hidden;
            aspect-ratio: 1120 / 1088;
            border-radius: var(--radius-sm);
        }

    .about-team-blob img[src*="memento-our-method"] {
            width: 163.393%;
            max-width: none;
            height: auto;
            max-height: none;
            aspect-ratio: 1830 / 1088;
            margin-left: -29.795%;
            object-fit: fill;
            border-radius: 0;
        }
}

/* ---- 45-contact.css ---- */
/* Contact */

.contact-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0 0 0;
    display: grid;
    gap:0.5rem;
    font-weight: 500;
}

.contact-list .action {
    margin-top: 0;
    font-size: 85% !important;
}

.contact-list .action:hover,
.contact-list .action:focus {
    color: var(--color-white);
}

.contact-list .action::after {
    background: var(--color-white);
}

.contact-list li {
    display: flex;
    align-items: center;
    font-size: 120%;
}

.contact-list li img {
    padding: 0 5px;
}

.contact-list li img,
.contact-list li i {
    background: var(--color-white);
    color: var(--color-primary);
    width: 35px;
    height: 35px;
    min-width: 35px;
    min-height: 35px;
    flex-shrink: 0;
    font-size: 90%;
    margin-right: 1rem;
    margin-left: 0 !important;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    object-fit: contain;
    border-radius: var(--radius-pill);
}

.action {
    font-weight: 500;
    font-size: 100%;
    display: flex;
    padding:0.15rem 0;
    margin-top: 1.5rem;
    color: inherit;
    align-items: center;
    text-decoration: none;
    position: relative;
    width: fit-content;
    transition: 0.4s;
}

.action i {
    margin-left: 0.25rem;
}

.action::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--color-primary);
    transform: scaleX(0);
    transform-origin: right; /* start från höger */
    transition: transform 0.3s ease-in-out;
}

.action.active,
.action:hover,
.action:focus {
    color: var(--color-primary);
}

.action.active::after,
.action:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

@media (max-width: 767.98px) {
    .contact-list li {
            font-size: 112%;
        }
}

.contact-list li,
.contact-list a { min-width: 0; max-width: 100%; overflow-wrap: anywhere; }

/* ---- 50-sections.css ---- */
/* Sections */

.content-holder-404 {
    padding: 5rem 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.content-holder-404 .text {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.content-holder-404 .text .mega-title {
    font-size: clamp(5rem, 28vw, 10rem);
    line-height: 1;
    font-weight: 900;
    color: var(--color-primary);
}

.content-holder-404 .text .btn {
    margin-left: auto;
    margin-right: auto;
}

.section-black {
    background: var(--color-black);
    color: var(--color-white);
}

.section-green {
    background: var(--color-secondary);
}

.section-pink {
    background: var(--color-soft-pink);
}

.section-primary {
    background: var(--color-primary);
    color: var(--color-white);
}

.section-soft-blue {
    background: var(--color-soft-blue);
}

.section-dark-blue {
    background: var(--color-dark-blue);
}

.section-dark-blue + .section-dark-blue,
.section-soft-blue + .section-soft-blue,
.section-black + .section-black,
.section-green + .section-green,
.section-pink + .section-pink,
.section-primary + .section-primary {
    padding-top: 0.5rem !important;
}

.divider-cloud {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 4rem 0;
}

.divider-cloud::before,
.divider-cloud::after {
    content: "";
    flex: 1;
    height: 2px;
    background: var(--color-white);
}

.divider-cloud__icon {
    width: 70px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-size: contain;
    background-repeat: no-repeat;
    background-image: url("../images/mwhite.png");
}

.divider-cloud-green .divider-cloud__icon {
    background-image: url("../images/mgreen.png") !important;
}

.divider-cloud-green::after,
.divider-cloud-green::before {
    background: var(--color-secondary) !important;
}

.welcome-head h2,
.welcome-head h3,
.welcome-head h4,
.welcome-head h5 {
    margin:1rem 0;
}

.section-black h1,
.section-black h2,
.section-black h3,
.section-black h4,
.section-black h5 {
    color: var(--color-pink);
}

.section-black .stat-inner {
    background: var(--color-secondary) !important;
}

.section-black .flickity-prev-next-button .arrow {
    fill: var(--color-secondary);
}

.section-black .flickity-page-dots .dot {
    border: 2px solid var(--color-secondary);
}

.section-black .flickity-page-dots .dot.is-selected {
    background: var(--color-secondary);
}

.section-black .flickity-page-dots .dot:hover,
.section-black .flickity-page-dots .dot:focus {
    background: var(--color-secondary);
}

.section-primary-green-title h1,
.section-primary-green-title h2,
.section-primary-green-title h3,
.section-primary-green-title h4,
.section-primary-green-title h5 {
    color: var(--color-secondary);
}

.section-black .breadcrumbs,
.section-primary .breadcrumbs,
.section-primary-green-title .breadcrumbs {
    color: var(--color-white);
}

.section-primary .card .card-wrapper .card-body h3,
.section-primary .card .card-wrapper .card-body .h3 {
    color: var(--color-primary);
}

.section-black .action,
.section-primary .card-contact .card-wrapper .card-body h2,
.section-primary .card-contact .card-wrapper .card-body .h2,
.section-primary .card-contact .card-wrapper .card-body h3,
.section-primary .card-contact .card-wrapper .card-body .h3,
.section-primary .card-contact .card-wrapper .card-body h4,
.section-primary .card-contact .card-wrapper .card-body .h4,
.section-primary .card-contact .card-wrapper .card-body {
    color: var(--color-white);
}

.section-black .action:hover,
.section-black .action:focus,
.section-primary .action:hover,
.section-primary .action:focus {
    color: var(--color-white);
}

.section-black .action::after,
.section-primary .action::after {
    background: var(--color-white);
}

.section-green .btn-light {
    color: var(--color-secondary);
}

.section-white {
    background: var(--color-white);
}

.wysivyg.section-white .container h1 {
    max-width: 80%;
}

.section-white .contact-list li img,
.section-white .contact-list li i {
    background: var(--color-primary);
    color: var(--color-white);
}

.section-white .action:hover,
.section-white .action:focus {
    color: var(--color-primary);
}

.section-white .action::after {
    background: var(--color-primary);
}

.section-pink,
.section-pink .section-lead,
.section-pink .welcome-head,
.section-pink .welcome-head a,
.section-pink .welcome-head a:hover,
.section-pink .welcome-head a:focus,
.section-green,
.section-green .action,
.section-green .welcome-head  {
    color: var(--color-primary) !important;
}

.section-green .action::after {
    background: var(--color-primary);
}

.section-pink .btn-secondary:hover,
.section-pink .btn-secondary:focus {
    color: var(--color-primary);
}

.section-pink .btn-secondary::before {
    background: var(--color-soft-pink);
}

.section-white .divider-cloud::before,
.section-white .divider-cloud::after {
    content: "";
    flex: 1;
    height: 2px;
    background: var(--color-primary);
}

.section-white .divider-cloud__icon {
    background-image: url("../images/blue-memento.png");
}

.section-white .card .card-wrapper figure {
    border-radius: var(--radius-sm) !important;
}

.section-white .card .card-wrapper .card-body {
    padding-left: 0;
    padding-right: 0;
    padding-bottom: 0;
}

.wysivyg {
    padding: 6rem 0;
}

.wysivyg .container > *:last-child {
    margin-bottom: 0;
}

.wysivyg .container .inner {
    background: var(--color-white);
    padding: 3rem;
    border-radius: var(--radius-sm);
}

.wysivyg .container .inner-lg {
    padding: 5rem;
    position: relative;
}

.wysivyg .inner-bottom {
    position: absolute;
    bottom: 5rem;
    right: 5rem;
}

.wysivyg .inner-bottom figure {
    max-width: 120px;
    width: 100px;
}

.inner-bottom {
    margin-top: 4rem;
}

.inner-bottom ul {
    list-style: none;
    line-height: 1.6;
    padding: 0;
    margin: 0;
}

@media (max-width: 1199.98px) {
    .wysivyg,
    .divider-cloud {
            padding: 4rem 0;
        }

    .wysivyg .container .inner {
            padding: 2rem;
        }

    .wysivyg .inner-bottom {
            bottom: 2rem;
            right: 2rem;
        }
}

@media (max-width: 767.98px) {
    .divider-cloud__icon {
            width: 50px;
            height: 29px;
        }

    .wysivyg,
    .divider-cloud {
            padding: 1.5rem 0;
        }

    .wysivyg p {
            font-size: 112%;
        }

    .wysivyg-white-bg .container .inner {
            padding: 1.5rem;
        }

    .wysivyg.section-white .container h1 {
            max-width: 100%;
        }

    .wysivyg .container .inner {
            padding: 1.5rem;
        }

    .wysivyg .inner-bottom {
            display: block;
            margin-top: 1.25rem;
        }

    .wysivyg .inner-bottom figure {
            margin-top: 1.25rem;
        }

    .wysivyg .inner-bottom {
            position: relative;
            bottom: 0;
            right: 0;
        }
}

/* ---- 51-sliders.css ---- */
/* Sliders */

.flickity-prev-next-button {
    width: 58px;
    height: 58px;
    background: transparent;
    top: 40%;
    transform: translateY(-40%);
}

.flickity-prev-next-button:hover {
    background: transparent;
}

.flickity-prev-next-button.previous {
    left: 0;
}

.flickity-prev-next-button.next {
    right: 0;
}

.flickity-prev-next-button .arrow {
    fill: var(--color-primary);
}

.flickity-page-dots {
    position: relative;
    margin-top: 3rem;
    display: flex;
    bottom: 0;
    justify-content: center;
    gap: 1rem;
}

.flickity-page-dots .dot {
    width: 20px;
    height: 20px;
    margin: 0;
    background: transparent;
    border: 2px solid var(--color-primary);
    opacity: 1;
    transition: 0.3s;
}

.flickity-page-dots .dot.is-selected {
    background: var(--color-primary);
}

.flickity-page-dots .dot:hover,
.flickity-page-dots .dot:focus {
    background: var(--color-primary);
}

.slider {
    padding: 6rem 0;
    width: 100%;
    overflow: hidden;
}

.slider .offer-slider .flickity-viewport {
    overflow: hidden !important;
}

.slider .offer-copy {
    max-width: 1000px;
    margin-bottom: 4rem;
    color: var(--color-heading);
    font-size: 120%;
    line-height: 1.5;
}

.slider .offer-slider {
    position: relative;
}

.slider .offer-slider .flickity-viewport {
    overflow: visible;
}

.slider .offer-slider__cell {
    width: 100%;
    padding: 0;
}

.slider .offer-card {
    background: transparent;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
}

.slider .offer-card__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
    border-radius: 20px;
    overflow: hidden;
}

.slider .offer-card__inner:hover img,
.slider .offer-card__inner:hover img {
    transform: scale(1.1);
}

.slider .offer-card__inner:hover .btn,
.slider .offer-card__inner:focus .btn {
    color: var(--color-white);
}

.slider .offer-card__inner:hover .btn::before,
.slider .offer-card__inner:focus .btn::before {
    height: 100%;
}

.slider .offer-card__media {
    position: relative;
    min-height: 100%;
    background: #c4c4c4;
}

.slider .offer-card__media img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    transition: 0.3s;
}

.slider .offer-card__content {
    position: relative;
    background: var(--color-soft-blue);
    padding:2rem 5rem;
    color: var(--color-heading);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.slider .offer-card__content-inner {
    position: relative;
    z-index: 2;
}

.slider .offer-card__content-inner p {
    font-size: 135%;
}

.press-slider-section {
    padding: 6rem 0;
    overflow: hidden;
}

.press-slider-section .btn-secondary::before {
    background: var(--color-press-bg);
}

.press-slider-header {
    max-width: 1000px;
    color: var(--color-primary);
    margin-bottom: 4rem;
}

.press-slider-header p {
    font-size: 120%;
}

.press-slider-wrap {
    position: relative;
    margin-bottom: 2rem;
    margin-left: -1rem;
    margin-right: -1rem;
}

.press-slider-wrap .card .card-body {
    background: var(--color-primary);
    color: var(--color-white);
    min-height: 150px;
}

.press-slide .card .card-wrapper .card-body h3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 0;
}

.press-slider-wrap .flickity-viewport {
    height: 100%;
}

.press-slider-wrap .flickity-slider {
    display: flex;
    align-items: stretch;
}

.press-slide {
    width: 33.333%;
    padding: 0 14px;
    display: flex;
}

.press-slide .card {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
}

.press-slide .card-body {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    height: 100%;
}

.press-slide .card-body a,
.press-slide .card-body button {
    margin-top: auto;
}

.press-slider .flickity-viewport {
    overflow: hidden;
}

.press-slider .flickity-prev-next-button {
    width: 66px;
    height: 66px;
    background: transparent;
    border: 0;
    top: 50%;
    transform: translateY(-58%);
}

.press-slider .flickity-prev-next-button:hover {
    background: transparent;
}

.press-slider .flickity-prev-next-button.previous {
    left: -62px;
}

.press-slider .flickity-prev-next-button.next {
    right: -62px;
}

.press-slider .flickity-prev-next-button .arrow {
    fill: var(--color-press-arrow);
}

.press-slider-footer {
    margin-top: 16px;
}

.bilder-slider-section {
  padding: 6rem 0;
  overflow: hidden;
}

.bilder-slider {
  position: relative;
  display: block;
  margin: 0 -12px;
}

.bilder-slider.flickity-enabled {
  display: block;
}

.bilder-slider.is-static-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 0;
}

.bilder-slider.is-static-grid .bilder-slide {
  width: auto;
  padding: 0;
}

.bilder-slide {
  width: 33.3333%;
  padding: 0 12px;
  box-sizing: border-box;
}

.bilder-slide-inner {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1.27 / 1;
  transform: translateZ(0);
  border-radius: var(--radius-sm);
}

.bilder-slide-inner img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-sm);
}

.bilder-caption {
  padding-top: 1rem;
}

@media (max-width: 991.98px) {
    .bilder-slider.is-static-grid {
        grid-template-columns: repeat(2, 1fr);
      }

    .bilder-slide {
        width: 50%;
      }
}

@media (max-width: 575.98px) {
    .bilder-slider-section {
        padding: 4rem 0;
      }

    .bilder-slider {
        margin: 0 -8px;
      }

    .bilder-slider.is-static-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin: 0;
      }

    .bilder-slide {
        width: 100%;
        padding: 0 8px;
      }
}

@media (max-width: 1199.98px) {
    .slider,
    .press-slider-section,
    .bilder-slider-section {
            padding: 4rem 0;
        }

    .slider .offer-card__content-inner p {
            font-size: 150%;
        }

    .slider .offer-card__inner {
            grid-template-columns: repeat(2, minmax(0, 1fr));
            gap: 1rem;
        }

    .slider .offer-card__content {
            padding: 2rem;
        }
}

@media (max-width: 991.98px) {
    .slider .offer-card__content-inner p {
            font-size: 130%;
        }

    .press-slider-wrap {
            margin-bottom: 1rem;
        }

    .slider .offer-card__inner {
            grid-template-columns: repeat(1, minmax(0, 1fr));
            gap: 0;
        }

    .slider .offer-card__media img {
            height: 100%;
        }
}

@media (max-width: 767.98px) {
    .flickity-page-dots {
            position: relative;
            bottom: 0rem;
            margin-top: 2rem;
        }

    .slider,
    .press-slider-section,
    .bilder-slider-section {
            padding: 1.5rem 0;
        }

    .slider .offer-copy {
            font-size: 112%;
        }

    .slider .offer-card__content-inner p {
            font-size: 125%;
        }

    .slider .offer-card__media {
            height: 200px;
            object-fit: cover;
        }

    .slider .offer-card__content {
            padding: 1.5rem;
        }

    .slider .offer-card__inner {
            grid-template-columns: repeat(1, minmax(0, 1fr));
            gap: 1rem;
        }

    .slider .offer-card__inner {
            gap: 0;
        }

    .press-slider-header,
    .slider .offer-copy {
            margin-bottom: 1.25rem;
        }

    .press-slide {
            width: 100%;
        }

    .bilder-slide {
            width: 50%;
        }

    .flickity-page-dots {
            gap:0.25rem;
        }

    .flickity-page-dots .dot {
            width: 10px;
            height: 10px;
        }
}

@media (max-width: 991.98px) {
    .flickity-prev-next-button.previous { left: 0; }

    .flickity-prev-next-button.next { right: 0; }
}

/* ---- 52-case.css ---- */
/* Case */

.case .btn-primary:hover,
.case .btn-primary:focus {
    border-color: var(--color-secondary) !important;
}

.case .btn-primary::before {
    background: var(--color-primary);
}

.case .btn-secondary:hover,
.case .btn-secondary:focus {
    color: var(--color-primary) !important;
}

.case {
    padding:6rem 0;
}

.case-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2rem;
}

.case-grid-lg {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.case-grid-sm {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.case-grid-lg .card .card-wrapper figure img {
    height: 400px;
}

.case-grid-sm .card .card-wrapper figure img {
    height: 250px;
}

.case-button {
    margin-top: 3rem;
}

.category-cat-buttons {
    list-style: none;
    padding: 0;
    margin: 4rem 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
}

@media (max-width: 767.98px) {
    .category-cat-buttons {
            overflow-x: auto;
            flex-wrap: nowrap;
            -webkit-overflow-scrolling: touch;
            padding-bottom: 0.5rem;
        }

    .category-cat-buttons li {
            flex: 0 0 auto; /* viktigt! */
        }
}

.event-showcase {
    padding: 2rem 0;
    overflow: hidden;
}

.event-showcase__slider {
    width: 100%;
}

.event-showcase__cell {
    width: min(86vw, 1240px);
    margin-right: 24px;
}

.event-showcase__grid {
  display: grid;
  grid-template-columns: 0.9fr 1fr 1fr;
  grid-template-rows: 220px 320px;
  gap: 24px;
  align-items: stretch;
}

.event-showcase__card {
    position: relative;
    overflow: hidden;
    border-radius: 22px;
    background: #ddd;
}

.event-showcase__card a {
    display: block;
    width: 100%;
    height: 100%;
}

.event-showcase__card img {
    display: block;
}

.event-showcase__caption {
    pointer-events: none;
}

.event-showcase__card img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.event-showcase__card--tall {
    grid-column: 1;
    grid-row: 1 / span 2;
}

.event-showcase__card--top:nth-of-type(2) {
    grid-column: 2;
    grid-row: 1;
}

.event-showcase__card--top:nth-of-type(3) {
    grid-column: 3;
    grid-row: 1;
}

.event-showcase__card--wide {
    grid-column: 2 / span 2;
    grid-row: 2;
}

.event-showcase__caption {
    position: absolute;
    left: 3rem;
    bottom: 2rem;
    color: #fff;
    font-size: 1.05rem;
    font-weight: 500;
    opacity: 0;
    z-index: 200;
    transition: 0.3s;
}

.event-showcase__card::before {
    content:"";
    background: #000;
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    height: 100%;
    transition: 0.3s;
}

.event-showcase__card:hover::before {
    opacity: 0.35;
}

.event-showcase__card:hover .event-showcase__caption  {
    opacity: 1;
}

/* Flickity */
.event-showcase .flickity-viewport {
    overflow: visible;
}

.event-showcase .flickity-prev-next-button {
    background: var(--color-white);
    border-radius: 0;
    width: 35px;
}

.event-showcase .flickity-prev-next-button.previous {
    left: 0;
    border-top-right-radius: 6px;
    border-bottom-right-radius: 6px;
}

.event-showcase .flickity-prev-next-button.next {
    right: 0;
    border-top-left-radius: 6px;
    border-bottom-left-radius: 6px;
}

.event-showcase .flickity-prev-next-button .flickity-button-icon {
    left: 28%;
    top: 28%;
    width: 45%;
    height: 45%;
}

.event-showcase .divider-cloud-green::after,
.event-showcase .divider-cloud-green::before {
    background: var(--color-white) !important;
}

@media (max-width: 991.98px) {
    .event-showcase__cell {
            width: 92vw;
            margin-right: 18px;
        }

    .event-showcase__grid {
            grid-template-columns: 1fr 1fr;
            grid-template-rows: auto auto auto;
            gap: 12px;
            /* Safari: utan start blir korten 0 px höga (aspect-ratio + stretch + absolut bild). */
            align-items: start;
        }

    .event-showcase__card {
            width: 100%;
            height: auto;
        }

    .event-showcase__card--tall {
            grid-column: 1 / span 2;
            grid-row: 1;
            aspect-ratio: 4 / 3;
        }

    .event-showcase__card--top:nth-of-type(2) {
            grid-column: 1;
            grid-row: 2;
        }

    .event-showcase__card--top:nth-of-type(3) {
            grid-column: 2;
            grid-row: 2;
        }

    .event-showcase__card--wide {
            grid-column: 1 / span 2;
            grid-row: 3;
            aspect-ratio: 16 / 9;
        }

    .event-showcase__card--top {
            aspect-ratio: 1 / 1;
        }

    /* Samma format oavsett originalbildens proportioner */
    .event-showcase__card img {
            position: absolute;
            inset: 0;
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

    .event-showcase__caption {
            left: 1.5rem;
            bottom: 1.25rem;
        }
}

.experience-intro {
    margin-bottom: 3rem;
}

.experience-intro p {
    font-size: 120%;
}

#event-filter {
    scroll-margin-top: 120px;
}

@media (max-width: 1199.98px) {
    .event-showcase,
    .case {
            padding: 4rem 0;
        }

    .case-grid {
            grid-template-columns: repeat(2, minmax(0, 1fr));
            gap: 1rem;
        }
}

@media (max-width: 991.98px) {
    .case-button {
            margin-top: 1rem;
        }
}

@media (max-width: 767.98px) {
    .event-showcase,
    .case {
            padding: 1.5rem 0;
        }

    .category-cat-buttons {
            margin: 1.5rem 0 1rem 0;
        }

    .case-grid-lg .card .card-wrapper figure img {
            height: 200px;
            object-fit: cover;
        }

    .case-grid{
            grid-template-columns: repeat(1, minmax(0, 1fr));
            gap: 1rem;
        }

    #event-filter {
          scroll-margin-top: 220px;
      }
}

.case-card__text { overflow-wrap: anywhere; }

@media (max-width: 575.98px) {
    .category-cat-buttons { flex-wrap: wrap; }
}

.card figure.case-card__image.event-card-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ---- 53-accordion-faq.css ---- */
/* Accordion faq */

.section-green .custom-accordion .accordion-button:hover,
.section-green .custom-accordion .accordion-button:focus,
.section-green .custom-accordion .accordion-button:not(.collapsed),
.section-green .custom-accordion .accordion-button {
    color: var(--color-white);
}

.section-green .custom-accordion .accordion-item {
    background: var(--color-primary);
    color: var(--color-white);
}

.section-green .custom-accordion .accordion-icon {
    background: var(--color-white);
}

.section-green .custom-accordion .accordion-icon::before,
.section-green .custom-accordion .accordion-icon::after {
    background: var(--color-primary);
}

.section-soft-blue .custom-accordion .accordion-button:hover,
.section-soft-blue .custom-accordion .accordion-button:focus,
.section-soft-blue .custom-accordion .accordion-button:not(.collapsed),
.section-soft-blue .custom-accordion .accordion-button,
.section-primary .custom-accordion .accordion-button:hover,
.section-primary .custom-accordion .accordion-button:focus,
.section-primary .custom-accordion .accordion-button:not(.collapsed),
.section-primary .custom-accordion .accordion-button {
    color: var(--color-primary);
}

.section-soft-blue .custom-accordion .accordion-item,
.section-primary .custom-accordion .accordion-item {
    background: var(--color-white);
    color: var(--color-primary);
}

.section-soft-blue .custom-accordion .accordion-icon,
.section-primary .custom-accordion .accordion-icon {
    background: var(--color-primary);
}

.section-soft-blue .custom-accordion .accordion-icon::before,
.section-soft-blue .custom-accordion .accordion-icon::after,
.section-primary .custom-accordion .accordion-icon::before,
.section-primary .custom-accordion .accordion-icon::after {
    background: var(--color-white);
}

.faq {
    padding: 6rem 0;
}

.faq-heading {
    margin-bottom: 3rem;
}

.faq-heading p {
    font-size: 120%;
}

.custom-accordion {
    --accordion-border-width: 0px;
    --accordion-border: transparent;
    --accordion-focus-shadow: none;
    --accordion-icon: none;
    --accordion-icon-active: none;
    --accordion-bg: transparent;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.5rem;
    align-items: flex-start;
}

.custom-accordion-lg {
    grid-template-columns: repeat(1, minmax(0, 1fr));
}

.custom-accordion .accordion-item {
    border: 0;
    background: var(--color-primary);
    border-radius: var(--radius-sm);
    color: var(--color-white);
    overflow: hidden;
    transition: 0.3s;
}

.custom-accordion .accordion-item:hover {
    transform: translateY(-2px);
}

.custom-accordion .accordion-header {
    margin: 0;
}

.custom-accordion .accordion-button {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    width: 100%;
    padding:0.6rem 1.5rem;
    background: transparent;
    box-shadow: none;
    border: 0;
    border-radius: 0 !important;
    color: var(--color-white);
    font-size: 1.1rem;
    line-height: 1.3;
    text-align: left;
    transition: none;
}

.custom-accordion .accordion-button:hover,
.custom-accordion .accordion-button:focus,
.custom-accordion .accordion-button:not(.collapsed) {
    color: var(--color-white);
    background: transparent;
    box-shadow: none;
}

.custom-accordion .accordion-button::after {
    display: none !important;
}

.custom-accordion .accordion-icon {
    position: relative;
    width: 35px;
    min-width: 35px;
    max-width: 35px;

    height: 35px;
    min-height: 35px;
    max-height: 35px;

    flex: 0 0 35px;

    margin-left: auto;

    background: var(--color-white);
    border-radius: var(--radius-pill);
}

.custom-accordion .accordion-icon::before,
.custom-accordion .accordion-icon::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    background: var(--color-primary);
    transform: translate(-50%, -50%);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.custom-accordion .accordion-icon::before {
    width: 16px;
    height: 2px;
}

.custom-accordion .accordion-icon::after {
    width: 2px;
    height: 16px;
    opacity: 1;
}

.custom-accordion .accordion-button:not(.collapsed) .accordion-icon::after {
    opacity: 0;
}

.custom-accordion .accordion-button.collapsed .accordion-icon::after {
    opacity: 1;
}

.custom-accordion .accordion-collapse {
    border: 0;
}

.custom-accordion .accordion-body {
    padding: 0 1.5rem 1.5rem 1.5rem;
}

.custom-accordion ul,
.custom-accordion form {
    margin-top: 1.5rem;
}

.section-dark-blue .custom-accordion .accordion-item {
    background: var(--color-white);
    color: var(--color-primary);
}

.section-dark-blue .custom-accordion .accordion-button {
    color: var(--color-primary);
}

.section-dark-blue .custom-accordion .accordion-icon {
    background: var(--color-primary);
}

.section-dark-blue .custom-accordion .accordion-icon::before,
.section-dark-blue .custom-accordion .accordion-icon::after {
    background: var(--color-white);
}

@media (max-width: 1199.98px) {
    .faq {
            padding: 4rem 0;
        }
}

@media (max-width: 767.98px) {
    .faq {
            padding: 1.5rem 0;
        }

    .faq-heading {
            margin-bottom: 1.25rem;
        }

    .custom-accordion .accordion-button {
            font-size: 1.1rem;
            padding: 0.75rem 1rem;
        }

    .custom-accordion .accordion-icon {
            width: 25px;
            height: 25px;
        }

    .custom-accordion .accordion-icon::before {
            width: 12px;
        }

    .custom-accordion .accordion-icon::after {
            height: 12px;
        }

    .custom-accordion .accordion-icon {
            width: 25px;
            min-width: 25px;
            max-width: 25px;

            height:25px;
            min-height: 25px;
            max-height:25px;

            flex: 0 0 25px;;
        }
}

.accordion-body { overflow-wrap: anywhere; }

/* ---- 60-forms.css ---- */
/* Forms */

.form-control-lg {
    min-height: calc(1.5em + 1.5rem + calc(var(--border-width) * 2));
}

.form-control-lg,
.form-control-lg::placeholder {
    color: var(--color-primary);
    font-size: 1.15rem;
}

.custom-form-alert {
    border-radius: 24px;
    margin-top: 1.5rem;
    padding: 5rem;
    overflow: hidden;
    position: relative;
    text-align: center;
    margin-bottom: 0;
}

.custom-form-alert--success {
    background: var(--color-secondary);
    color: var(--color-white);
}

.custom-form-alert--error {
    background: var(--color-primary);
    color: var(--color-white);
}

.custom-form-alert__inner {
    position: relative;
    margin: 0 auto;
}

.custom-form-alert__content h4 {
    color: inherit;
    font-size: clamp(2rem, 4vw, 4.25rem);
    line-height: 1;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.custom-form-alert__content p {
    color: inherit;
    font-size: 1.35rem;
    margin-bottom: 4rem;
    opacity: 0.95;
}

.custom-form-alert__logo {
    margin: 0 auto;
    width: 120px;
}

.custom-form-alert__logo img {
    width: 100%;
    display: block;
}

.custom-form-alert__decor {
    position: absolute;
    width: 120px;
    height: 120px;
    pointer-events: none;
}

.custom-form-alert__decor span {
    position: absolute;
    color: var(--color-white);
    line-height: 1;
}

.custom-form-alert__decor span:nth-child(1) {
    font-size: 4rem;
    left: 20px;
    top: 35px;
}

.custom-form-alert__decor span:nth-child(2) {
    font-size: 3rem;
    left: -18px;
    top: 9px;
}

.custom-form-alert__decor span:nth-child(3) {
    font-size: 2rem;
    left: -8px;
    bottom: 0;
}

.custom-form-alert__decor--left {
    left: 3rem;
    top: 50%;
    transform: translateY(-50%);
}

.custom-form-alert__decor--right {
    right: 3rem;
    top: 50%;
    transform: translateY(-50%) scaleX(-1);
}

@media (max-width: 1199.98px) {
    .custom-form-alert {
            padding: 3.5rem;
        }
}

@media (max-width: 991.98px) {
    .custom-form-alert {
            padding: 2.5rem;
        }
}

@media (max-width: 767.98px) {
    .custom-form-alert {
            padding: 1.5rem;
        }

    .custom-form-alert__decor {
          height: 95px;
      }

    .custom-form-alert__decor--left {
          left: 0.5rem;
          top: 2rem;
      }

    .custom-form-alert__decor--right {
          right: 0.5rem;
          top: 2rem;
      }

    .custom-form-alert__decor span:nth-child(1) {
          font-size: 2rem;
          left: -9px;
          top: 33px;
      }

    .custom-form-alert__decor span:nth-child(2) {
          font-size: 1.25rem;
          left: -19px;
          top: 16px;
      }

    .custom-form-alert__decor span:nth-child(3) {
          font-size: 1.25rem;
          left: -13px;
          bottom: 12px;
      }

    .custom-form-alert__content p {
          margin-bottom: 2rem;
      }
}

/* ---- 61-search.css ---- */
/* Search */

.internal-search {
  padding: 80px 0;
  background: #f8f8f8;
}

.internal-search .container {
  max-width: 1200px;
}

.internal-search__header {
  margin-bottom: 20px;
}

.internal-search__form {
  display: flex;
  gap: 15px;
  align-items: center;
  margin-bottom: 20px;
}

.internal-search__form input[type="search"] {
  flex: 1;
  max-width: 560px;
  height: 60px;
  padding: 0 24px;
  border: 1px solid #ddd;
  border-radius: 999px;
  background: #fff;
  font-size: 18px;
}

.internal-search__form button {
  height: 60px;
  padding: 0 34px;
  border-radius: 999px;
}

.internal-search__results {
  display: grid;
  gap: 20px;
}

.internal-search__item {
  max-width: 980px;
  padding: 30px;
  border-radius: 20px;
  background: #fff;
  border: 1px solid rgba(0,0,0,.08);
}

.internal-search__type {
  display: inline-block;
  margin-bottom: 6px;
  font-size: 14px;
  opacity: .65;
}

.internal-search__item h2 {
  margin-bottom: 14px;
}

.internal-search__item h2 a {
  color: inherit;
  text-decoration: none;
}

.internal-search__item p {
  margin-bottom: 20px;
}

@media (max-width: 767.98px) {
    .internal-search__form {
        flex-direction: column;
        align-items: stretch;
      }

    .internal-search__form input[type="search"] {
        max-width: none;
        width: 100%;
        flex: none; /* A column flex item must retain its 60px touch height. */
      }

    .internal-search__form button {
        width: 100%;
      }
}

@media (max-width: 575.98px) {
    .internal-search__form input { min-width: 0; }

    .internal-search__item { padding: 1.25rem; }
}

.internal-search__results { grid-template-columns: minmax(0, 1fr); }

.internal-search__item { min-width: 0; overflow-wrap: anywhere; }

/* ---- 70-footer.css ---- */
/* Footer */

.site-footer {
    background: var(--color-secondary);
    color: var(--footer-text);
    padding: 6rem 0;
    position: relative;
}

.footer-top {
    position: relative;
    display: grid;
    grid-template-columns: repeat(5, auto);
    justify-content: space-between;
    gap: 1rem;
    align-items: flex-start;
}

.footer-top > :first-child {
    max-width: 260px;
    margin-right: 5rem;
}

.footer-top > :first-child svg,
.footer-top > :first-child img {
    max-width: 180px;
    width: 100%;
    height: auto;
}

.footer-logo {
    width: 140px;
    margin-bottom: 24px;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col li {
    padding: 0 0 0.25rem 0;
    display: block;
}

.footer-col a {
    color: var(--color-primary);
    position: relative;
    width: fit-content;
}

.footer-col a::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--color-primary);

    transform: scaleX(0);
    transform-origin: right; /* start från höger */
    transition: transform 0.3s ease-in-out;
}

.footer-col a:hover:before {
    transform: scaleX(1);
    transform-origin: left; /* så den "fyller ut" snyggt */
}

.footer-col li,
.footer-col .footer-heading,
.footer-col a:hover {
    color: var(--color-primary);
}

.footer-social {
    position: absolute;
    right: 0;
    bottom: 0;
    display: flex;
    gap: 18px;
}

.footer-social-icon {
    color: var(--color-primary);
    font-size: 2.25rem;
    transition: 0.3s;
}

.footer-social-icon::before {
    display: none;
}

.footer-social-icon:hover {
    transform: translateY(-3px);
}

.footer-divider {
    margin: 3rem 0;
    height: 1px;
    background: var(--color-primary);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--color-primary);
}

.footer-links {
    display: flex;
    gap: 28px;
}

@media (max-width: 1199.98px) {
    .footer-top {
            grid-template-columns: repeat(3, 1fr);
        }
}

@media (max-width: 767.98px) {
    .footer-top {
            grid-template-columns: repeat(2, 1fr);
        }
}

@media (max-width: 1199.98px) {
    .site-footer {
            padding: 4rem 0;
        }
}

@media (max-width: 767.98px) {
    .footer-col img {
            margin: 0 auto;
        }

    .site-footer {
            padding: 1.5rem 0;
        }

    .footer-social {
            position: relative;
        }

    .footer-links,
        .footer-bottom {
            display: block;
        }

    .footer-divider {
            margin: 1.25rem 0;
        }

    .footer-top > :first-child {
            max-width: 100%;
            margin-right: 0;
            text-align: center;
        }

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

    .footer-top > :first-child {
          grid-column: 1 / -1;
      }
}

.footer-col { min-width: 0; }

.footer-contact { overflow-wrap: anywhere; }
