﻿/*
-----------------------------------------
Variables
-----------------------------------------
*/

:root {
    /*
-----------------------------------------
Color declarations
-----------------------------------------
*/
    /* Main colors */
    --primary: #234F7D;
    --primary-dark: #102B43;
    --secondary: #4A9DA2;
    --white-color: #fff;
    --dark-color: #2B2B2B;
    --darkgrey-color: #606060;
    --lightgrey-color: #ccc;
    --accent: #4A9DA2;
    --accent-orange: #D98733;
    /*----------------------------------------- Color applications ----------------------------------------- */
    /* Text */
    --text-primary: var(--dark-color);
    --text-secondary: var(--darkgrey-color);
    --text-white: var(--white-color);
    /* Backgrounds */
    --background-white: var(--white-color);
    --background-light: #F2F3F4;
    --background-secondary: #B7D8DA;
    --background-secondary-light: #E2EFF0;
    /* Gradients */
    --gradient-light: linear-gradient(90deg, #234F7D 0%, #4A9DA2 100%);
    --gradient-dark: linear-gradient(90deg, #007A7F 0%, #003456 100%);
}
/* 
-----------------------------------------
BASE
-----------------------------------------
*/

body, p, li {
    font-family: itc-avant-garde-gothic-pro, sans-serif;
    font-size: clamp(1rem, 0.9297rem + 0.1953vw, 1.125rem);
    font-weight: 300;
    line-height: 1.4;
    color: var(--text-primary);
}

::selection {
    background-color: #000000;
    color: #fff;
}

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

.bg-light {
    background-color: var(--background-light) !important;
}

.bg-secondary {
    background-color: var(--background-secondary) !important;
}

.gradient-dark {
    background: var(--gradient-dark);
}

.gradient-light {
    background: var(--gradient-light);
}

.txt-white {
    color: var(--text-white);
}

.scroll-to {
    display: block;
    position: relative;
    top: -128px;
    visibility: hidden;
}

[type=button], [type=reset], [type=submit], button {
    -webkit-appearance: none;
}

img {
    max-width: 100%;
}

figure {
    margin-bottom: 0;
}

html {
    scroll-behavior: smooth;
}


h1, h2, h3, h4, h5, h6 {
    font-family: itc-avant-garde-gothic-pro, sans-serif;
    line-height: 1.1;
    margin-bottom: 0.25em;
    color: #2B2B2B;
}

h1 {
    font-size: clamp(2rem, 1.5781rem + 1.1719vw, 2.75rem);
    font-weight: 700;
    color: #000000;
}

h2 {
    font-size: clamp(1.75rem, 1.5391rem + 0.5859vw, 2.125rem);
    font-weight: 600;
    color: #234F7D;
}

h3 {
    font-size: clamp(1.5rem, 1.4297rem + 0.1953vw, 1.625rem);
    font-weight: 600;
}

h4 {
    font-size: 1.25rem;
    font-weight: 600;
}

h5 {
    font-size: 1.125rem;
    font-weight: 600;
}

h6 {
    font-size: 1rem;
    font-weight: 500;
}

p, li {
    font-size: clamp(1rem, 0.9297rem + 0.1953vw, 1.125rem);
    line-height: 1.5;
}

    p + h2,
    p + h3,
    p + h4,
    p + h5,
    p + h6 {
        margin-top: 1.5em;
    }

h2 + h3,
h3 + h4,
h4 + h5,
h5 + h6 {
    margin-top: 0.75em;
}



bold, strong {
    font-weight: 700;
}

p.ingress {
    font-size: clamp(1.125rem, 1.0547rem + 0.1953vw, 1.25rem);
    font-weight: 500;
}

ol, ul {
    padding-left: 1rem;
}


a {
    color: #4A9DA2;
    text-decoration: none;
}

    a:hover {
        text-decoration: underline;
    }


/* ---------- Padding x ---------- */

.padding-x {
    padding-left: 15px;
    padding-right: 15px;
}

@media (min-width: 768px) {
    .padding-x {
        padding-left: 2rem;
        padding-right: 2rem;
    }
}

@media (min-width: 1200px) {
    .padding-x {
        padding-left: 5rem;
        padding-right: 5rem;
    }
}

@media (min-width: 1700px) {
    .padding-x {
        padding-left: 8vw;
        padding-right: 8vw;
    }
}


/* ---------- Padding y ---------- */

.padding-y {
    padding-top: 2rem;
    padding-bottom: 2rem;
    transition: .5s;
}

@media (min-width: 768px) {
    .padding-y{
        padding-top: 2.5rem;
        padding-bottom: 2.5rem;
    }
}

@media (min-width: 1200px) {
    .padding-y {
        padding-top: 3.5rem;
        padding-bottom: 3.5rem;
    }
}

@media (min-width: 1700px) {
    .padding-y {
        padding-top: 5rem;
        padding-bottom: 5rem;
    }
}

/* ---------- Button ---------- */

a.btn, button.btn {
    display: inline-block;
    font-size: 1rem;
    border-radius: 4px;
    background: var(--gradient-light);
    padding: 1.25rem 1.5rem;
    font-weight: 500;
    color: var(--text-white);
    font-weight: 600;
    line-height: 1;
    text-transform: uppercase;
    border: none;
    transition: all ease 0.2s;
}

    a.btn:hover {
        background: linear-gradient(90deg, #234F7D 0%, #234F7D 100%);
        color: var(--text-white);
        text-decoration: none;
    }

    a.btn.btn-white {
        color: var(--text-white);
        background: transparent;
        border: 2px solid var(--white-color);
    }

        a.btn.btn-white:hover {
            color: var(--secondary);
            border: 2px solid var(--secondary);
            background: transparent;
        }

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

        a.btn.btn-outline:hover {
            color: var(--secondary);
            border: 2px solid var(--secondary);
            background: transparent;
        }

/* ---------- Header section ---------- */

.section-header {
    margin-bottom: 1.5rem;
}

.section-header.container{
    max-width: 600px;
}

    .section-header h2 {
        margin-bottom: 0;
    }



@media screen and (min-width: 992px) {

    .section-header {
        margin-bottom: 2rem;
    }
        .section-header h2 {
            font-size: 2rem;
        }
}

@media screen and (min-width: 1200px) {

    .section-header {
        margin-bottom: 2.25rem;
    }

        .section-header h2 {
            margin-bottom: 0.75rem;
            font-size: 2.5rem;
        }
}


/*
-----------------------------------------
NAVBAR
-----------------------------------------
*/

.navbar {
    justify-content: space-between;
    align-items: initial;
    padding-top: 0;
    padding-bottom: 0;
    top: 0;
    transition: all ease 0.4s;
    height: 72px;
    z-index: 1000;
}

.navbar-light {
    background-color: #FFFFFF;
    box-shadow: 0 1px 5px rgba(0,0,0,0.1);
}

.navbar-show {
    transform: none;
}


@media screen and (min-width: 992px) {
    .navbar {
        height: 96px;
    }
}


/* ---------- Logo ---------- */

.navbar-brand {
    display: flex;
}

.navbar-brand img {
    width: 112px;
    transition: 0.15s;
}


.navbar-dark .logo-dark {
    display: block;
    opacity: 1;
}

.navbar-dark .logo-light {
    display: none;
    opacity: 0;
}

.navbar-light .logo-light {
    display: block;
    opacity: 1;
}

.navbar-light .logo-dark {
    display: none;
    opacity: 0;
}


/* ---------- Mobile menu button ---------- */

.navbar-toggler:focus-visible {
    outline: 1px solid #000;
}

.navbar .navbar-toggler {
    width: 35px;
    height: 28px;
    position: relative;
    transform: rotate(0deg);
    transition: .5s ease-in-out;
    cursor: pointer;
    padding: 0;
    box-shadow: none !important;
    border: none;
    z-index: 1032;
}

.navbar-toggler {
    position: relative;
    width: 30px;
    height: 22px;
    border: none;
}

    .navbar-toggler span {
        display: block;
        position: absolute;
        height: 2px;
        width: 30px;
        background: #000000;
        opacity: 1;
        left: 0;
    }

.navbar-dark .navbar-toggler span {
    background: #FFFFFF;
}

.navbar-toggler span:nth-child(1) {
    top: 0;
}

.navbar-toggler span:nth-child(2) {
    top: 10px;
}

.navbar-toggler span:nth-child(3) {
    top: 20px;
}

@media screen and (min-width: 992px) {

    .navbar-toggler {
        display: none;
    }
}

/* ----- Offcanvas mobile menu ----- */

.offcanvas-collapse {
    position: fixed;
    top: 0;
    bottom: 0;
    right: 0;
    width: 100%;
    overflow-y: auto;
    transition: -webkit-transform .4s ease-in-out;
    transition: transform .4s ease-in-out;
    transition: transform .4s ease-in-out, -webkit-transform .3s ease-in-out;
    -webkit-transform: translateX(100%);
    transform: translateX(100%);
    z-index: 1032;
    overflow-x: hidden;
}

    .offcanvas-collapse.open {
        -webkit-transform: translateX(0);
        transform: translateX(0);
        box-shadow: 0 0 40px rgba(0,0,0,0.1);
    }

#mob-nav {
    padding: 0;
}

@media screen and (min-width: 400px) {

    .offcanvas-collapse {
        width: 380px;
        right: 0;
        -webkit-transform: translateX(100%);
        transform: translateX(100%);
    }

        .offcanvas-collapse.open {
            -webkit-transform: translateX(0);
            transform: translateX(0);
        }
}

#mobileMenu .nav-item {
    border-bottom: 1px solid #D4D4D6;
}

#mobileMenu .nav-link {
    color: #000000;
    font-weight: 600;
    font-size: 1.125rem;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    white-space: nowrap;
}

#mobileMenu button.nav-link {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    border: none;
    background-color: transparent;
}

/* Mobile menu close button */

.close-button {
    cursor: pointer;
    font-size: 36px;
    padding: 0 0.25rem;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    position: relative;
    color: #000000;
    height: 30px;
    width: 30px;
    margin-right: 0.75rem;
    -webkit-appearance: none;
    appearance: none;
    border: none;
    background-color: transparent;
}

.main-menu-mobile .top-nav-item {
    height: 60px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

    .main-menu-mobile .top-nav-item span {
        display: block;
        position: absolute;
        height: 2px;
        width: 30px;
        background: #000000;
        opacity: 1;
        right: 0;
    }

        .main-menu-mobile .top-nav-item span:nth-child(1) {
            top: 15px;
            transform: rotate(45deg);
        }

        .main-menu-mobile .top-nav-item span:nth-child(2) {
            top: 15px;
            transform: rotate(-45deg);
        }

#mobileMenu #language-menu .nav-link {
    font-weight: 400;
    opacity: 0.8;
}

/* Mobile submenu */

.main-menu-mobile .offcanvas-submenu-collapse {
    position: fixed;
    top: 0;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 100%;
    overflow-y: auto;
    transition: all .3s ease-in-out;
    -webkit-transform: translateX(100%);
    transform: translateX(100%);
    z-index: 10;
    padding: 0;
    opacity: 0;
    visibility: hidden;
}

    .main-menu-mobile .offcanvas-submenu-collapse.open {
        -webkit-transform: translateX(0);
        transform: translateX(0);
        opacity: 1;
        background-color: #fff;
        visibility: visible;
    }

    .main-menu-mobile .offcanvas-submenu-collapse .top-nav-item {
        justify-content: space-between;
    }

.main-menu-mobile .back-button {
    justify-content: flex-start;
    font-size: 30px;
    margin-left: 1rem;
    color: #000000;
    -webkit-appearance: none;
    appearance: none;
    background-color: transparent;
    border: none;
}

.main-menu-mobile .submenu {
    list-style: none;
    padding-left: 0;
}

.main-menu-mobile .offcanvas-submenu-collapse .submenu:first-child .nav-item:first-child .nav-link {
    border-top: none;
}

.main-menu-mobile .submenu-submenu {
    list-style: none;
    padding-left: 0;
}

#mobileMenu .main-menu-mobile .submenu-submenu .nav-item .nav-link {
    white-space: normal;
    font-weight: 400;
}

.main-menu-mobile .submenu-submenu .nav-item:first-child .nav-link {
    border-top: none;
}

.main-menu-mobile .submenu-submenu .nav-item:first-child .nav-link {
    border-top: none;
}

.main-menu-mobile .submenu-submenu > .nav-item:last-child {
    border-bottom: 1px solid #A1B7B6;
}

.main-menu-mobile .submenu .submenu .nav-item:last-child .nav-link {
    border-bottom: none;
}

.main-menu-mobile .submenu-item .nav-link {
    text-transform: none;
}


/* ---------- Desktop menu ---------- */

#desktopMenu {
    display: none;
}

@media screen and (min-width: 992px) {

    #desktopMenu {
        display: flex;
    }
}

#main-menu {
    flex-direction: row;
    align-items: center;
}

    #main-menu .nav-item {
        position: relative;
    }

    #main-menu .nav-link {
        font-weight: 500;
        color: #2B2B2B;
        padding: 0.5rem 0;
        transition: all ease 0.15s;
        font-size: 1rem;
    }


.navbar-light #main-menu .nav-link:hover {
    color: #4A9DA2;
    text-decoration: none;
}

#main-menu .dropdown-menu .nav-link:hover {
    color: #4A9DA2 !important;
}

#main-menu > .nav-item > .nav-link {
    margin-right: 1.5rem;
}


    #main-menu > .nav-item:last-child > .nav-link {
        margin-right: 0;
    }

.navbar-dark #main-menu .nav-link {
    color: #FFFFFF;
}

@media screen and (min-width: 1700px) {


    #main-menu > .nav-item > .nav-link {
        margin-right: 2rem;
    }
}

/* Desktop dropdown menus */

#main-menu .dropdown-toggle::after {
    display: none;
}


#main-menu .dropdown-menu {
    border: none;
    border-radius: 0;
    position: absolute;
    top: calc(100% - 2px);
    padding: 0;
    min-width: 260px;
    background: #F8F8F8;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.10);
}

    #main-menu .dropdown-menu .nav-link {
        color: #2B2B2B;
        font-size: 0.875rem;
        font-weight: 400;
        padding: 1rem;
        border-bottom: 1px solid rgba(0, 0, 0, 0.10);
        line-height: 1;
    }

    #main-menu .dropdown-menu .nav-item:last-child .nav-link {
        border-bottom: none;
    }


/* Desktop language menu */


#desktopMenu #language-menu {
    flex-direction: row;
}

    #desktopMenu #language-menu .nav-item:last-child .nav-link {
        padding-right: 0;
    }

.navbar-dark #desktopMenu #language-menu .nav-link {
    color: #FFFFFF;
}

@media screen and (min-width: 1700px) {

    #desktopMenu #language-menu .nav-link {
        font-size: 1rem;
        padding: 0.5rem 1.875rem 0.5rem 0;
    }
}

/* Desktop dropdown menus */

#main-menu .dropdown-toggle::after {
    display: none;
}

#main-menu .dropdown:hover .dropdown-menu {
    display: block;
}

#main-menu .dropdown-menu {
    border: none;
    border-radius: 0;
    position: absolute;
    padding: 0;
    min-width: 260px;
    background: #F8F8F8;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.10);
}



    #main-menu .dropdown-menu .nav-link {
        color: #2B2B2B;
        font-size: 0.875rem;
        font-weight: 500;
        padding: 1rem;
        border-bottom: 1px solid rgba(0, 0, 0, 0.10);
        line-height: 1;
    }

        #main-menu .dropdown-menu .nav-link:hover {
            background: #fff;
        }

    #main-menu .dropdown-menu .nav-item:last-child .nav-link {
        border-bottom: none;
    }


/* ------- Skip to content ------- */

.skip-to-content {
    position: absolute;
    z-index: 1201;
    opacity: 1;
    left: 1rem;
    height: 0;
}

.skip-link {
    position: absolute;
    left: -9999px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
    font-size: 0.95rem;
    padding: 0.25rem 0.75rem;
    border-radius: 0.25rem;
    color: var(--text-primary);
    border: 1px solid #000;
    background-color: var(--text-white);
    text-decoration: none;
}

    .skip-link:focus {
        position: static;
        width: auto;
        height: auto;
        margin-bottom: 1rem;
        display: inline-block;
        text-decoration: none;
    }

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

footer {
    position: relative;
    background-repeat: no-repeat;
    background-position: bottom center;
    background-size: contain;
}

    footer .footer-img {
        width: 100%;
        height: auto;
    }


    footer h2 {
        color: var(--text-white);
        font-size: 1.25rem;
        font-weight: 600;
        border-top: 1px solid rgba(255, 255, 255, 0.30);
        padding-top: 1rem;
        margin-bottom: 1rem;
    }

    footer h2,
    footer p,
    footer svg,
    footer li,
    footer a,
    footer a:link,
    footer a:active {
        color: var(--text-white) !important;
    }

    footer a {
        text-decoration: none !important;
    }

        footer a:hover {
            text-decoration: underline !important;
            opacity: 0.8;
        }

            footer a:hover svg {
                opacity: 0.8;
            }

    footer ul {
        padding: 0;
    }

    footer li {
        list-style: none;
    }

.footer-links li {
    line-height: 2;
}

.sm-icons a:hover {
    text-decoration: none !important;
}

.sm-icons a svg {
    width: auto;
    height: 24px;
    padding-left: 1rem;
}

footer .footer-img {
    width: auto;
    height: 106px;
}

footer .lower-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.30);
    margin-top: 2rem;
    padding-top: 1rem;
    margin-bottom: 1rem;
}
/* ---------- Hero section ---------- */
.hero-container {
    height: calc(100dvh - 96px);
    background-color: #FDF9F1;
    position: relative;
}

@media (min-width: 992px) {
    .hero-container {
        margin-top: 96px;
    }
}

.hero-image {
    height: 100%;
    filter: brightness(0.9);
}

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

.hero-content {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}



    .hero-content h1 {
        color: #ffffff;
        font-size: min(max(2rem, calc(2rem + ((1vw - 0.36rem) * 2.3438))), 3.5rem);
        font-weight: 300;
        text-align: center;
        margin-bottom: 0;
        max-width: 860px;
    }

    .hero-content h2 {
        color: #ffffff;
        max-width: 860px;
        text-align: center;
        font-weight: 500;
    }

        .hero-content h1 strong {
            font-weight: 700;
        }

.hero-container video {
    width: 100%;
    height: 100%;
    position: absolute;
    object-fit: cover;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    padding-bottom: 8rem;
}

/* ---------- Intro section ---------- */

.intro-section {
    max-width: 992px;
    margin: 0 auto;
    text-align: center;
}



/*---- NEWS Section------*/
.news-section .news-first-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 3/2;
}

.news-section #news-heading {
    color: var(--text-primary);
    text-align: center;
    font-weight: 600;
    text-transform: uppercase;
}

.news-item:hover {
    text-decoration: none;
}


.news-section .news-secondary-img img {
    width: 100%;
    height: 100%;
    aspect-ratio: 3/2;
    object-fit: cover;
}


.news-text {
    padding: 1rem;
}

@media (min-width: 992px) {
    .news-text {
        padding: 1.5rem;
    }
}

.news-text .date {
    font-size: 0.875rem;
    color: #737373;
    margin-bottom: 0.5rem;
}

.news-text a {
    color: #2B2B2B;
}

.news-item ul {
    padding: 0;
}

.news-item ul li {
    list-style-type: none;
}


/* ---------- Key figures ---------- */

.grid-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.grid-container {
    max-width: 1440px; /* Begränsar bredden i denna prototyp*/
}


/* Styling för varje item i grid-layouten */
.keyfigure {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
    aspect-ratio: 3/2;
    width: 100%;
    height: 100%;
}


/* Tilldelar grid-områden till namngivna element */
.keyfigure-1 {
    grid-area: a;
    background-image: url(/media/tfgltcic/cable.png);
    background-size: cover;
}

.keyfigure-2 {
    grid-area: b;
    background: #4A9DA2;
}

.keyfigure-3 {
    grid-area: c;
    background: linear-gradient(90deg, #234F7D 0%, #4A9DA2 100%)
}

.keyfigure-4 {
    grid-area: d;
    background: #4A9DA2;
}

.keyfigure-5 {
    grid-area: e;
    background: linear-gradient(90deg, #234F7D 0%, #4A9DA2 100%);
}

@media (min-width: 576px) {
    .grid-container {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
        padding: 1rem;
        margin: 0 auto;
        grid-template-areas:
            "a a"
            "b e"
            "c d";
    }
}

@media (min-width: 992px) {
    .grid-container {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
        margin: 0 auto;
        grid-template-areas:
            "b a e"
            "c a d";
    }
}

.content-wrapper {
    position: absolute;
    padding: 1rem;
    width: 100%;
}

.content-box {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-direction: column;
    width: 100%;
    color: #ffffff;
    text-align: center;
}

    .content-box img {
        width: 64px;
        height: auto;
    }


.keyfigure p {
    font-size: clamp(1.125rem, 1.0547rem + 0.1953vw, 1.25rem);
    font-weight: 300;
    margin: 0;
    color: #ffffff;
}

.keyfigure .display-value {
    font-size: clamp(2.5rem, 1.6563rem + 2.3438vw, 4rem);
    font-weight: 800;
    line-height: 1;
}

.feature-section {
    position: relative;

}

.feature-section .feature-img{
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index:1;
}

    .feature-section .feature-text {
        position: relative;
        color: var(--text-white);
        z-index: 2;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        max-width: 992px;
        margin: 0 auto;
        min-height: 420px;
    }

.feature-section .feature-text h2,
.feature-section .feature-text p {
    color: var(--text-white);
    text-align: center;
}

/* 
-----------------------------------------
Subpage
-----------------------------------------
*/

.margin-top {
    margin-top: 72px;
}

@media screen and (min-width: 992px) {
    .margin-top {
        margin-top: 96px;
    }
}

.subpage .subpage-hero {
    background: #F2F3F4;
    width: 100%;
    aspect-ratio: 4/1;
    min-height: 320px;
    position: relative;
}


.subpage .subpage-hero .subpage-hero-img {
    position: absolute;
    top: 0;
    left: 0;
    object-fit: cover;
    width: 100%;
    height: 100%;
    z-index: 1
}


.subpage.small-header .subpage-hero {
    aspect-ratio: 6/1;
    min-height: 260px;
}

.subpage h1 {
    font-size: clamp(2rem, calc(2rem + ((1vw - 0.36rem) * 0.8929)), 2.75rem);
    color: var(--text-white);
    line-height: 110%;
    margin-bottom: 0;
}

    .subpage h1 .node-name {
        font-weight: 600;
    }

    .subpage h1 .header-headline {
        font-weight: 300;
    }

.subpage-header-text {
    background: rgba(0, 0, 0, 0.40);
    width: 100%;
    z-index: 2;
    position: relative;
}

.subpage .bg:nth-child(even) {
    background-color: var(--background-white);
}

.subpage .bg:nth-child(odd) {
    background: #f8f8f8;
}


#main-content .narrow-container {
    max-width: 1200px;
    margin: 0 auto;
}

@media screen and (min-width: 2100px) {
    #main-content .narrow-container {
        max-width: 1700px;
        margin: 0 auto;
    }
}


/* 
-----------------------------------------
Quote
-----------------------------------------
*/

.quote-icon {
    width: 72px;
    height: auto;
}

.quote-txt {
    font-size: 1.25rem;
    font-weight: 500;
}
/* 
-----------------------------------------
Icon box
-----------------------------------------
*/


.icon-box {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    height: 100%;
}

.icon-box:hover {
   text-decoration: none;
   cursor: pointer;
}

@media screen and (min-width: 992px) {
    .icon-box {
        padding: 2rem;
    }
}


/* ---------- Banner section ---------- */

.banner-section {
   position: relative;
    min-height: 70vh;
    display: flex;
}

.banner-section img{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.banner-text {
    padding: 1rem;
    background-color: var(--background-white);
    border-radius: 4px;
    z-index: 2;
    position: relative;
}



@media (min-width: 992px) {

    .banner-text {
        padding: 2rem;
    }
}
.image-wrapper {
    position: relative;
    overflow: hidden;
}





.news-secondary-img img {
    width: 100%;
    display: block;
}


.rich-text-block p:last-child{
    margin-bottom: 0;
}
/*
-----------------------------------------
Management page
-----------------------------------------
*/
.title {
    transition: opacity 0.3s ease;
}


.curtain {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0; 
    background: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    transform: translateY(100%); 
    transition: transform 0.7s ease;
}

.image-wrapper{
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.25);
}


.image-wrapper:hover .curtain {
    transform: translateY(0);
}

.image-wrapper:hover .title {
    opacity: 0;
}

.person-img img{
    width: 100%;
    height: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

.management #management-heading {
    color: var(--primary);
    text-align: center;
    font-weight: 600;
    text-transform: unset;
}

/*
-----------------------------------------
TIMELINE PAGE
-----------------------------------------
*/

.time-post {
    position: relative;
}

.time-border {
    flex-basis: 11px;
    border-right: 2px dotted var(--secondary);
    flex-grow: 0;
    flex-shrink: 0;
}

.time-post:last-child .time-border {
    border-right: none;
}

.time-dot {
    height: 20px;
    width: 20px;
    border-radius: 50%;
    background-color: var(--background-white);
    border: 4px solid var(--secondary);
    position: absolute;
    left: 0;
    top: 0;
}

    .time-dot.active {
        background-color: var(--background-primary);
    }

    .time-dot::after {
        content: "";
        display: block;
        position: absolute;
        background-color: transparent;
        height: 2px;
        width: 20px;
        top: 5px;
        left: 17px;
        border-top: 2px dotted #C2C2C2;
    }

.time-events {
    margin-top: -6px;
    padding-left: 32px;
    flex-basis: calc(100% - 11px);
    flex-grow: 0;
    flex-shrink: 0;
    padding-bottom: 2rem;
}

.time-post:last-child .time-events {
    padding-bottom: 0;
}

.time-events p:last-child {
    margin-bottom: 0;
}

.time-events h3 {
    font-size: 1.625rem;
    position: relative;
}

@media screen and (min-width: 1700px) {

    .timeline {
        width: 750px;
    }

    .time-dot::after {
        width: 32px;
    }

    .time-events {
        margin-top: -8px;
        padding-left: 46px;
        padding-bottom: 3rem;
    }

        .time-events h3 {
            font-size: 1.75rem;
            position: relative;
        }
}


/*
------------------
FAQ Page
------------------
*/

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


#faqAccordion.accordion .accordion-item {
    border: 1px solid #CCC;
    border-radius: 0;
    margin-bottom: 1rem;
    transition: 0.3s ease;
}

    #faqAccordion.accordion .accordion-item button {
        justify-content: space-between;
        font-size: 1.25rem;
    }

    #faqAccordion.accordion .accordion-item .accordion-button:not(.collapsed) {
        color: #121212;
        background-color: transparent;
    }

    #faqAccordion.accordion .accordion-item button:active,
    #faqAccordion.accordion .accordion-item button:focus {
        background: transparent;
        outline: none;
        box-shadow: none;
    }

    #faqAccordion.accordion .accordion-item:last-child {
        border-bottom: 1px solid #CCC;
    }

#faqAccordion.accordion button svg.fa-plus,
#faqAccordion.accordion button svg.fa-minus {
    font-size: 1.25rem;
}

#faqAccordion.accordion button:not(.collapsed) svg.fa-plus {
    display: none;
}

#faqAccordion.accordion button.collapsed svg.fa-minus {
    display: none;
}

#faqAccordion.accordion .accordion-item.active {
    box-shadow: -4px 0 0 0 #CCC;
}

.related-link {
    display: flex;
    padding: 0.75rem 1rem;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0;
    border-radius: 2px;
    border: 2px #54B7BF;
    background: #54B7BF;
    text-decoration: none !important;
}

/*
------------------
NEWS Page
------------------
*/



.news-page figure {
    width: 100%;
    height: 100%;
}

.news-page figure img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pagination {
    margin-bottom: 0;
    justify-content: center;
}

    .pagination .page-item {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .pagination .page-link {
        background-color: transparent;
        border: none;
        border-radius: 0;
        color: #999999;
        font-weight: 600;
        padding: 0 0.625rem;
        font-size: 1.125rem;
    }

        .pagination .page-link:focus,
        .pagination .page-link:active {
            box-shadow: none;
            border: none;
            outline: none;
        }

        .pagination .page-link:focus-visible {
            outline: 3px dotted var(--primary-dark);
            outline-offset: 2px;
        }

    .pagination .page-link-arrow {
        color: #34434B;
        font-size: 0.875rem;
        padding: 0 0.25rem;
    }

    .pagination .page-link-hide {
        visibility: hidden;
    }

    .pagination .page-item.active .page-link {
        background-color: transparent;
        color: #34434B;
    }

/*
------------------
Quote & background image
------------------
*/

.quote-background {
    position: relative;
    min-height: 70vh;
    display: flex;
}

    .quote-background img {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        z-index: 1;
    }

.quote-text {
    padding: 1rem;
    background-color: var(--background-white);
    border-radius: 4px;
    z-index: 2;
    position: relative;
}

@media (min-width: 992px) {
    .quote-text  {
        padding: 2rem;
    }
}

.quote-border {
    padding-left: 1rem;
    border-left: 4px solid var(--secondary);
}


/* ---------- Split-blocks ---------- */

.split-block {
    display: flex;
    width: 100%;
    flex-wrap: wrap;
    min-height: 50vh;
}

    .split-block .split-block-img {
        flex-basis: 100%;
        width: 100%;
        max-height: 500px;
    }

        .split-block .split-block-img img {
            object-fit: cover;
            width: 100%;
            height: 100%;
        }

    .split-block .split-block-content {
        flex-basis: 100%;
        width: 100%;
        display: flex;
        flex-direction: column;
        flex-wrap: wrap;
        justify-content: center;
    }

@media screen and (min-width: 1200px) {
    .split-block .split-block-img {
        flex-basis: 50%;
        width: 50%;
        max-height: 100%;
    }

        .split-block .split-block-img img {
        }

    .split-block .split-block-content {
        flex-basis: 50%;
    }
}

/* Split-block variations */

.split-block.lg-img .split-block-img {
    flex-basis: 60%;
}

.split-block.lg-img .split-block-content {
    flex-basis: 40%;
}

.alternating .split-block:nth-child(even) {
    background: var(--background-light);
}

@media screen and (min-width: 1200px) {
    .alternating .split-block:nth-child(even) .split-block-img {
        order: 2;
    }

    .alternating .split-block:nth-child(odd) .split-block-content {
        order: 1;
    }
}