
/* =========================================================
   ASG - GENERELLE VILKÅR
   ========================================================= */

.terms-hero {
    padding: 110px 0 90px;
    background: #f5f8fc;
    border-bottom: 1px solid #d9e2ef;
}

.terms-hero h1 {
    font-size: clamp(52px, 6vw, 82px);
    line-height: 1;
    letter-spacing: -.05em;
    color: #10213d;
}

.terms-intro {
    max-width: 690px;
    margin-top: 28px;
    font-size: 20px;
    line-height: 1.6;
    color: #64748b;
}

.terms-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 28px;
    margin-top: 42px;
    font-size: 13px;
    color: #64748b;
}

.terms-meta span {
    position: relative;
}

.terms-meta span + span::before {
    content: "·";
    position: absolute;
    left: -16px;
    color: #8fbbe8;
}


/* LAYOUT */

.terms-layout {
    background: #ffffff;
    padding: 90px 0 130px;
}

.terms-grid {
    display: grid;
    grid-template-columns: 260px minmax(0, 790px);
    gap: 90px;
    justify-content: space-between;
}


/* SIDEMENU */

.terms-menu {
    position: relative;
}

.terms-menu-inner {
    position: sticky;
    top: 125px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-height: calc(100vh - 160px);
    overflow-y: auto;
    padding-right: 18px;
}

.terms-menu-title {
    font-size: 11px;
    font-weight: 750;
    letter-spacing: .16em;
    color: #0b4e91;
    margin-bottom: 15px;
}

.terms-menu a {
    font-size: 13px;
    line-height: 1.35;
    color: #64748b;
    padding: 5px 0;
}

.terms-menu a:hover {
    color: #168ed1;
}


/* CONTENT */

.term {
    scroll-margin-top: 125px;
    padding: 0 0 58px;
    margin-bottom: 58px;
    border-bottom: 1px solid #d9e2ef;
}

.term-number {
    display: block;
    margin-bottom: 15px;
    color: #168ed1;
    font-size: 12px;
    font-weight: 700;
}

.term h2 {
    font-size: clamp(28px, 3vw, 40px);
    line-height: 1.12;
    letter-spacing: -.035em;
    color: #10213d;
    margin-bottom: 24px;
}

.term p {
    max-width: 730px;
    font-size: 16px;
    line-height: 1.75;
    color: #526176;
    margin-top: 16px;
}

.term p:first-of-type {
    margin-top: 0;
}

.term strong {
    color: #10213d;
}


/* IMPORTANT TERM */

.term-highlight {
    background: #f5f8fc;
    border: 1px solid #d9e2ef;
    padding: 38px 42px;
    margin-left: -42px;
    margin-right: -42px;
}


/* CANCELLATION TABLE */

.terms-table {
    margin-top: 32px;
    border-top: 1px solid #d9e2ef;
}

.terms-table > div {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    padding: 18px 0;
    border-bottom: 1px solid #d9e2ef;
}

.terms-table strong {
    color: #10213d;
    font-size: 15px;
}

.terms-table span {
    color: #64748b;
    font-size: 15px;
}


/* CONTACT */

.terms-contact {
    margin-top: 90px;
    padding: 55px;
    background: #071f4d;
    color: #ffffff;
}

.terms-contact .eyebrow {
    color: #8fbbe8;
}

.terms-contact h2 {
    font-size: clamp(30px, 4vw, 46px);
    letter-spacing: -.035em;
    margin-bottom: 25px;
}

.terms-contact a {
    display: inline-block;
    color: #ffffff;
    font-size: 20px;
    border-bottom: 1px solid #42b7f2;
    padding-bottom: 4px;
}

.terms-contact a:hover {
    color: #42b7f2;
}


/* ACTIVE NAV */

.nav-active {
    color: #0b4e91 !important;
}


/* RESPONSIVE */

@media (max-width: 950px) {

    .terms-grid {
        grid-template-columns: 1fr;
        gap: 55px;
    }

    .terms-menu {
        display: none;
    }

    .term-highlight {
        margin-left: 0;
        margin-right: 0;
    }

}


@media (max-width: 650px) {

    .terms-hero {
        padding: 75px 0 60px;
    }

    .terms-hero h1 {
        font-size: 48px;
    }

    .terms-intro {
        font-size: 17px;
    }

    .terms-meta {
        flex-direction: column;
        gap: 5px;
    }

    .terms-meta span + span::before {
        display: none;
    }

    .terms-layout {
        padding: 65px 0 90px;
    }

    .term {
        padding-bottom: 42px;
        margin-bottom: 42px;
    }

    .term-highlight {
        padding: 28px 24px;
    }

    .terms-table > div {
        grid-template-columns: 1fr;
        gap: 5px;
    }

    .terms-contact {
        padding: 35px 25px;
    }

}

/* ===== SUBPAGE CONSISTENCY ===== */

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 38px;
    font-size: 13px;
    color: #64748b;
}

.breadcrumb a {
    color: #64748b;
}

.breadcrumb a:hover {
    color: #168ed1;
}

.breadcrumb span:nth-child(2) {
    color: #8fbbe8;
}

.terms-hero .eyebrow {
    margin-bottom: 18px;
}

/* =========================================================
   TERMS HERO V2
   ========================================================= */

.terms-hero {
    padding: 78px 0 82px;
    background: #f5f8fc;
    border-bottom: 1px solid #bfcde3;
}

.terms-hero-grid {
    display: grid;
    grid-template-columns: 1.12fr .88fr;
    gap: 90px;
    align-items: center;
}

.terms-hero-content {
    max-width: 720px;
}

.terms-hero .eyebrow {
    margin-bottom: 22px;
}

.terms-hero h1 {
    font-size: clamp(54px, 5vw, 76px);
    line-height: .98;
    letter-spacing: -.05em;
    color: #10213d;
}

.terms-intro {
    max-width: 650px;
    margin-top: 28px;
    font-size: 19px;
    line-height: 1.65;
    color: #64748b;
}


/* RIGHT PANEL */

.terms-hero-panel {
    min-height: 310px;
    padding: 38px 40px;
    background: #071f4d;
    color: #ffffff;
    position: relative;
    overflow: hidden;
}

.terms-hero-panel::before {
    content: "";
    position: absolute;
    width: 270px;
    height: 270px;
    border: 1px solid rgba(143,187,232,.18);
    border-radius: 50%;
    right: -85px;
    top: -95px;
}

.terms-panel-label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .18em;
    color: #8fbbe8;
    margin-bottom: 23px;
    position: relative;
    z-index: 2;
}

.terms-hero-panel h2 {
    font-size: 34px;
    line-height: 1.05;
    letter-spacing: -.035em;
    position: relative;
    z-index: 2;
}

.terms-panel-meta {
    position: absolute;
    left: 40px;
    right: 40px;
    bottom: 34px;

    display: grid;
    grid-template-columns: .7fr 1.2fr 1fr;
    gap: 20px;

    padding-top: 19px;
    border-top: 1px solid rgba(255,255,255,.17);

    z-index: 2;
}

.terms-panel-meta div {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.terms-panel-meta span {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: #8fbbe8;
}

.terms-panel-meta strong {
    font-size: 13px;
    color: #ffffff;
}


/* TIGHTER DOCUMENT START */

.terms-layout {
    padding-top: 75px;
}

.terms-menu-inner {
    top: 120px;
}

.term {
    scroll-margin-top: 120px;
}


/* MOBILE */

@media (max-width: 900px) {

    .terms-hero-grid {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .terms-hero-panel {
        min-height: 290px;
    }

}

@media (max-width: 650px) {

    .terms-hero {
        padding: 60px 0;
    }

    .terms-hero h1 {
        font-size: 48px;
    }

    .terms-hero-panel {
        padding: 30px 25px;
    }

    .terms-panel-meta {
        left: 25px;
        right: 25px;
        bottom: 25px;
        grid-template-columns: 1fr 1fr;
    }

    .terms-panel-meta div:last-child {
        grid-column: 1 / -1;
    }

}

/* ===== TERMS META - PUBLIC ===== */

.terms-panel-meta {
    grid-template-columns: 1fr 1fr;
}

@media (max-width: 650px) {
    .terms-panel-meta {
        grid-template-columns: 1fr 1fr;
    }

    .terms-panel-meta div:last-child {
        grid-column: auto;
    }
}
