/** START PAGE **/

/* ---------- Section header ---------- */

.section-header p {
    max-width: 60ch;
}

.section-header.text-center p {
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 0;
}

.section-header h2:has(+ p) {
    margin-bottom: clamp(0.25rem, 0.179rem + 0.302vw, 0.5rem);
}

.section-header {
    margin-bottom: clamp(1.5rem, 1.075rem + 1.811vw, 3rem);
}

/* ---------- Section button ---------- */

.section-button .theme-btn {
    margin-top: 2.5em;
}

/* ---------- Information alert ---------- */

.information-alert {
    background-color: var(--accent-color);
    border-top: 2px solid #FFFFFF;
    display: flex;
    align-items: center;
    z-index: 100;
}

.information-alert.hide {
    display: none;
}

.alert-info {
    font-size: 1.5rem;
}


@media screen and (min-width: 992px) {

    .alert-info {
        flex-basis: 32px;
        font-size: 2rem;
    }
}

.alert-text {
    padding-left: 1rem;
    padding-right: 1.5rem;
}

.alert-text p {
    font-weight: 400;
    max-width: 90ch;
}

a.alert-link {
    color: var(--text-dark);
    white-space: nowrap;
    margin-left: 0.25em;
}

.alert-link:hover {
    color: var(--text-dark);
}

.alert-close {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    cursor: pointer;
    font-size: 1.25rem;
}

@media screen and (min-width: 992px) {

    .alert-close {
        top: 1rem;
        right: 1rem;
    }
}

.information-alert {
    top: var(--top-margin-sm);
}

@media screen and (min-width: 992px) {

    .information-alert {
        top: var(--top-margin-lg);
    }
}

@media screen and (min-width: 1700px) {

    .information-alert {
        top: var(--top-margin-xl);
    }
}

/* ---------- Hero section ---------- */

.hero-mobile {
    position: relative;
    min-height: calc(100vh - var(--top-margin-lg));
    min-height: calc(100svh - var(--top-margin-sm));
    padding: 60vw 1.25rem 1.25rem 1.25rem;
}

.hero-desktop {
    position: relative;
    min-height: calc(100vh - var(--top-margin-sm));
    min-height: calc(100svh - var(--top-margin-sm));
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    z-index: 1;
}

@media screen and (min-width: 992px) {

    .hero-desktop {
        min-height: calc(100vh - var(--top-margin-lg));
    }
}

@media screen and (min-width: 1700px) {

    .hero-desktop {
        min-height: calc(100vh - var(--top-margin-xl));
    }
}

@media screen and (min-width: 2400px) {

    .hero-desktop {
        min-height: unset;
        width: 100%;
        aspect-ratio: 16 / 9;
    }
}

/* Hero background image*/

.hero-background-image {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
}

.hero-background-image img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    object-position: center;
}

@media screen and (min-width: 992px) {

    .hero-background-image img {
        object-position: bottom center;
    }
}

/* Hero video */

.hero-section video {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Hero caption */

.hero-caption {
    padding: clamp(1.5rem, 0.92rem + 2.899vw, 4rem) clamp(1rem, 0.536rem + 2.319vw, 3rem);
    position: relative;
    z-index: 1;
    background-color: rgba(255,255,255,0.7);
    border-radius: 1rem;
    width: 100%;
}

@media screen and (min-width: 992px) {

    .hero-caption {
        width: 60%;
    }
}

@media screen and (min-width: 1200px) {

    .hero-caption {
        width: 50%;
    }
}

.hero-caption h1 {
    font-size: clamp(2.25rem, 1.844rem + 2.029vw, 4rem);
    color: var(--text-dark);
    font-weight: 300;
    margin-bottom: 1.25rem;
    width: 100%;
}

.hero-caption h1:has(+ h1) {
    margin-bottom: 0;
}

.hero-mobile .hero-caption h1 {
    text-align: center;
}

.hero-caption h1 strong {
    font-weight: 900;
}

.hero-buttons {
    margin-top: 1.5rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: -0.75rem;
}

.hero-buttons a.theme-btn {
    margin: 0 1rem 0.75rem 0;
}

@media screen and (min-width: 992px) {
    
    .hero-buttons {
        justify-content: flex-start;
    }
}

@media screen and (min-width: 1700px) {
    
    .hero-buttons a.theme-btn {
        margin-right: 1.5rem;
    }
}

/* ---------- User types section ---------- */

.user-types-blocks {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.user-types-blocks > a {
    flex: 0 0 100%;
}

@media screen and (min-width: 576px) {

    .user-types-blocks {
        gap: 1rem;
    }

    .user-types-blocks > a {
        flex: 0 0 calc(50% - 0.5rem);
    }
}

@media screen and (min-width: 768px) {

    .user-types-blocks {
        gap: 1.5rem;
    }

    .user-types-blocks > a {
        flex: 0 0 calc(50% - 0.75rem);
    }
}

@media screen and (min-width: 992px) {

    .user-types-blocks {
        gap: 1rem;
    }

    .user-types-blocks > a {
        flex: 0 0 calc(25% - 0.75rem);
    }
}

@media screen and (min-width: 1200px) {

    .user-types-blocks {
        gap: 1.5rem;
    }

    .user-types-blocks > a {
        flex: 0 0 calc(25% - 1.125rem);
    }
}

@media screen and (min-width: 1700px) {

    .user-types-blocks {
        gap: 2rem;
    }

    .user-types-blocks > a {
        flex: 0 0 calc(25% - 1.5rem);
    }
}

a.user-type-block {
    display: block;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0px 1px 3px 0px rgba(0, 0, 0, 0.2);
    color: var(--text-dark);
    container-type: inline-size;
    display: flex;
    flex-direction: column;
}

a.user-type-block:hover {
    text-decoration: none;
}

.user-type-figure {
    width: 100%;
    aspect-ratio: 5 / 3;
    display: flex;
    align-items: center;
    padding: 1.25rem;
    position: relative;
}

.user-type-background-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.user-type-background-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.user-type-icons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 10px;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 10;
    background-image: linear-gradient(180deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0) 69.23%);
}

.user-type-icons img {
    filter: invert(1);
    display: block;
    height: clamp(40px, 4px + 16.667cqi, 64px);
    width: clamp(40px, 4px + 16.667cqi, 64px);
    object-fit: cover;
}

.user-type-caption {
    padding: clamp(1.5rem, 0.827rem + 4.938cqi, 2rem) clamp(1rem, 0.327rem + 4.938vw, 1.5rem);    
    background-color: #FFFFFF;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

p.read-more {
    color: var(--primary-color);
    font-weight: 600;
    display: flex;
    align-items: center;
}

p.read-more svg {
    margin-left: 0.25rem;
    transition: all ease 0.2s;
    margin-bottom: 0.2em;
}

.user-type-caption p.read-more {
    margin-top: 1rem;
}

a.user-type-block:hover p.read-more svg {
    transform: translateX(0.25rem);
}

/* ---------- News section ---------- */

.news-item-boxes {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: -1.5rem;
}

.news-item-boxes > a {
    flex: 0 0 100%;
    margin-bottom: 1.5rem;
}

@media screen and (min-width: 768px) {

    .news-item-boxes {
        margin-left: -0.5rem;
        margin-right: -0.5rem;
        display: flex;        
        flex-wrap: wrap;
        margin-bottom: 0;
    }

    .news-item-boxes > a {
        flex-basis: calc(33.33% - 1rem);
        margin: 0 0.5rem 1rem;
    }
}

@media screen and (min-width: 992px) {

    .news-item-boxes {
        margin-left: -0.75rem;
        margin-right: -0.75rem;
   }

    .news-item-boxes > a {
        flex-basis: calc(33.33% - 1.5rem);
        margin: 0 0.75rem 1.5rem;
    }
}

@media screen and (min-width: 1200px) {

    .news-item-boxes {
        margin-left: -1rem;
        margin-right: -1rem;
   }

    .news-item-boxes > a {
        flex-basis: calc(33.33% - 2rem);
        margin: 0 1rem 2rem;
    }
}

.news-item-box {
    border-radius: 8px;
    overflow: hidden;
    background-color: #FFFFFF;
    inline-size: container;
    box-shadow: 0px 1px 3px 0px rgba(0, 0, 0, 0.2);   
}

a.news-item-box:hover {
    text-decoration: none;
    color: var(--text-dark);
}

.news-item-image {
    width: 100%;
    aspect-ratio: 5 / 3;
}

.news-item-image img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.news-item-content {
    padding: clamp(1.5rem, 0.827rem + 4.938cqi, 2rem) clamp(1rem, 0.327rem + 4.938vw, 1.5rem);
}

.news-item-content p.date {
    margin-bottom: 0.5rem;
    font-size: clamp(0.875rem, 0.84rem + 0.151vw, 1rem);
    text-transform: uppercase;
    font-weight: 400;
}

.news-item-content p.date + h2,
.news-item-content p.date + h3 {
    margin-top: 0;
}

.news-item-content h2,
.news-item-content h3 {
    color: var(--text-dark);
}

.news-item-content p {
    font-weight: 400;
}

/* ---------- Banner section ---------- */

.banner + .banner {
    margin-top: clamp(2rem, 0.868rem + 4.83vw, 6rem);
}

@media screen and (min-width: 768px) {

    .banners-wrap > .banner:nth-child(2n+1) .banner-image {
        order: 2;
    }
}

.banner {
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-wrap: wrap;
    box-shadow: 0px 1px 3px 0px rgba(0, 0, 0, 0.2);   
}

.banner > div {
    flex: 0 0 100%;
}

@media screen and (min-width: 768px) {

    .banner > div {
        flex-basis: 50%;
    }
}

.banner-image {
    position: relative;
    display: flex;
    aspect-ratio: 3 / 2;
}

.banner-image img {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.banner-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    container-type: inline-size;
    padding: clamp(1.5rem, 0.509rem + 4.226vw, 5rem) clamp(1.25rem, 0.472rem + 3.321vw, 4rem);
    background-color: #FFFFFF;
}

.banner-content p:has(+ a.theme-btn) {
    margin-bottom: 0;
}

.banner-content a.theme-btn {
    margin-top: 2.25em;
}

/** ARTICLE BLOCKS **/

.article-page-wrap {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.article-page-wrap:has(.article-right-column) {
    justify-content: space-between;
}

.article-wrap {
    flex: 0 0 100%;
    max-width: 1000px;
}

.article-right-column {
    flex: 0 0 100%;
    margin-top: 2.5rem;
}

@media screen and (min-width: 992px) {

    .article-right-column {
        flex-basis: 300px;
        margin-top: 0;
    }

    .article-page-wrap:has(.article-right-column) .article-wrap {
        flex-basis: calc(100% - 300px - 4rem);
    }
}

@media screen and (min-width: 1200px) {

    .article-right-column {
        flex-basis: 360px;
    }

    .article-page-wrap:has(.article-right-column) .article-wrap {
        flex-basis: calc(100% - 360px - 3rem);
    }
}

/* ------- Article ------- */

.article-block + .article-block {
    margin-top: 2rem;
}

/* Text block */

.text-article-block:first-child {
    margin-top: 1rem;
}

.text-article-block:first-child h2:first-child {
    margin-top: 1em;
}

/* Text block with color background */

.text-color-block-article-block {
    padding: clamp(1.25rem, 0.929rem + 1.429vw, 2rem);
    border-radius: 8px;
}

/* Image block */

.image-article-block img {
    width: 100%;
    border-radius: 8px;
}

/* Video block */

.video-embed-code-wrap iframe {
    height: unset !important;
    width: 100% !important;
    aspect-ratio: 16 / 9;
}

/* ------- Right column ------- */

.right-column-block + .right-column-block {
    margin-top: 1rem;
}

.right-column-block + .button-right-column-block {
    margin-top: 1.5rem;
}

.text-right-column-block:not(:first-child) h3 {
    margin-top: 1.5em;
}

/* Logo */

.logo-right-column-block a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 360px;
    height: 100px;
    border: 1px solid var(--neutral-color);
    padding: 1.25rem 2rem;
    text-align: center;
}

.logo-right-column-block img {
    max-width: 100%;
    max-height: 100%;
    display: block;
}

/* ------- Fullwidth section ------- */

.fullwidth-section:nth-child(odd) {
    background-color: var(--neutral-color-light);
}

/* User type banner */

.user-type-banner-wrap + .user-type-banner-wrap {
    margin-top: clamp(2rem, 0.868rem + 4.83vw, 6rem);
}

@media screen and (min-width: 768px) {

    .user-types-fullwidth-section .banners-wrap > .user-type-banner-wrap:nth-child(2n) .banner-image {
        order: 2;
    }
}

.user-type-banner-image {
    container-type: inline-size;
}

.user-type-icons-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    position: relative;
}

.user-type-banner-image .user-type-icons {
    gap: 16px;
}

.user-type-banner-image .user-type-icons img {
    filter: invert(1);
    display: block;
    height: clamp(40px, 4px + 16.667cqi, 64px);
    width: clamp(40px, 4px + 16.667cqi, 64px);
    object-fit: cover;
    position: relative;
}

@media screen and (min-width: 1200px) {

    .user-type-banner-image .user-type-icons img {
        filter: invert(1);
        display: block;
        height: clamp(60px, 43.84rem + 0.361cqi, 90px);
        width: clamp(60px, 43.84rem + 0.361cqi, 90px);;
        object-fit: cover;
        position: relative;
    }
}

.user-types-fullwidth-section .scroll-to {
    display: block;
    position: relative;
    top: calc(-1*var(--top-margin-sm) - clamp(2rem, 0.868rem + 4.83vw, 6rem));
    visibility: hidden;
}

@media screen and (min-width: 992px) {
    
    .user-types-fullwidth-section .scroll-to {
        top: calc(-1*var(--top-margin-lg) - clamp(2rem, 0.868rem + 4.83vw, 6rem));
    }
}

@media screen and (min-width: 1700px) {
    
    .user-types-fullwidth-section .scroll-to {
        top: calc(-1*var(--top-margin-xl) - clamp(2rem, 0.868rem + 4.83vw, 6rem));
    }
}


/** NEWS PAGE **/

/* ------- Pagination ------- */

ul.pagination {
    margin-bottom: 0;
}

.active > .page-link, .page-link.active {
    background-color: var(--primary-color);
}

a.page-link {
    color: var(--text-dark)
}

a.page-link:hover {
    color: var(--text-dark);
    background-color: var(--neutral-color-light);
}

a.page-link:focus {
    box-shadow: none;
    color: var(--text-dark);
    background-color: var(--neutral-color-light);
}

/** FAQ PAGE **/

.faq-category {
    margin-top: 2.5rem;
    background-color: var(--neutral-color-light);    
}

.faq-category-questions {
    padding: 0 1rem 2rem 1rem;
}

.faq-category-button {
    background-color: var(--neutral-color-light) !important;    
    border-radius: 0 !important;
    box-shadow: none !important;
    border: none;
    padding: 1.25rem 1rem;
}

.faq-category-button h2 {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-category-button h2 svg {
    font-size: clamp(1.125rem, 1.096rem + 0.145vw, 1.25rem);
}

.faq-category-button:not(.collapsed) .faq-category-button-plus {
    display: none;
}

.faq-category-button-minus {
    display: none;    
}

.faq-category-button:not(.collapsed) .faq-category-button-minus {
    display: block;
}

.faq-category h2 {
    font-size: clamp(1.625rem, 1.596rem + 0.145vw, 1.75rem);
    margin-bottom: 0;
}

.faq-category-question {
    border: 1px solid #CCCCCC !important;
    border-radius: 0 !important;
}

.faq-category-button.accordion-button::after {
    display: none;
}

.faq-category-question:first-child {
    margin-top: 0.5rem;
}

.faq-category-question + .faq-category-question {
    margin-top: 1rem;
}

.faq-question-button {
    background-color: transparent;
    border-radius: 0 !important;
    box-shadow: none !important;
    border: none;
    padding: 1rem 1rem 0.875rem;
}

@media screen and (min-width: 992px) {

    .faq-question-button {
        padding: 1.25rem 1.25rem 1.125rem;
    }
}

@media screen and (min-width: 1700px) {

    .faq-question-button {
        padding: 1.5rem 1.5rem 1.25rem;
    }
}

.faq-question-button:not(.collapsed) {
    background-color: transparent;
    box-shadow: none !important;
    color: var(--text-dark);
}

.faq-question-button.accordion-button::after {
    display: none;
}

.faq-question-button:focus-visible {
    outline: 3px dotted var(--primary-color);
    outline-offset: 0;
}

.faq-question-button h3 {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
    justify-content: space-between;
    margin: 0;
    width: 100%;
    font-size: clamp(1.125rem, 1.096rem + 0.145vw, 1.25rem);
    font-weight: 600;
}


.faq-question-button:not(.collapsed) .faq-question-button-plus {
    display: none;
}

.faq-question-button-minus {
    display: none;
}

.faq-question-button:not(.collapsed) .faq-question-button-minus {
    display: block;
}

.faq-answer-padding {
    padding: 0 1rem 1.25rem;
}

@media screen and (min-width: 992px) {

    .faq-answer-padding {
        padding: 0 1.25rem 1.25rem;
    }
}

@media screen and (min-width: 1700px) {

    .faq-answer-padding {
        padding: 0 1.5rem 1.5rem;
    }
}

/** CONTACT PAGE **/

.contact-page {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}

.contact-page > div {
    flex: 0 0 100%;
}

@media screen and (min-width: 768px) {

    .contact-page {
        gap: 2rem;
    }

    .contact-page > div {
        flex-basis: calc(50% - 1rem);
    }
}

@media screen and (min-width: 768px) {

    .contact-page {
        gap: 4rem;
    }

    .contact-page > div {
        flex-basis: calc(50% - 2rem);
    }
}

ul.contact-page-info-list {
    list-style: none;
    padding: 0;
    margin: 1.5em 0 0;
}

ul.contact-page-info-list svg {
    width: 1em;
    margin-right: 0.25em;
    color: var(--primary-color);
}

ul.contact-page-info-list a {
    color: var(--text-dark);
}

ul.contact-page-info-list li {
    font-weight: 300;
}

ul.contact-page-info-list li + li {
    margin-top: 0.375rem;
}

ul.contact-page-info-list span {
    font-weight: 700;
    font-size: 0.875em;
    text-transform: uppercase;
}

.contact-page img {
    width: 100%;
    border-radius: 8px;
}

.contact-page-phone-hours h2 {
    font-size: clamp(1.5rem, 1.429rem + 0.302vw, 1.75rem);
    margin: 1.25em 0 0.25em;
}

ul.contact-page-phone-hours {
    margin-bottom: 0;
}

/** 404 page **/

.four-o-four-page h1 {
    font-size: clamp(4rem, 3.536rem + 2.319vw, 6rem);
    margin-bottom: 0.125em;
}

.four-o-four-page p.ingress {
    font-size: clamp(1.5rem, 1.384rem + 0.58vw, 2rem);
    margin-bottom: 1em;
}


