@import url("https://fonts.googleapis.com/css2?family=Archivo:wght@300;400;500;600;700&family=Montserrat:wght@300;400;500;600;700&family=Poppins:wght@300;400;500;600;700&display=swap");

:root {
    /* COLORS */
    --white: rgba(255, 255, 255, 1);
    --black: rgba(0, 0, 0, 1);
    --dark-gray: rgba(0, 0, 0, 1);
    --dark-gray-lighter: rgba(18, 18, 18, 1);
    --gray: rgba(129, 129, 129, 1);
    --light-gray: rgba(176, 176, 176, 1);
    --orange: rgba(255, 145, 66, 1);

    /* FONT SIZES */
    --xs: 0.7vw;
    --m: 20px;
    --s: 16px;
    --l: 24px;
    --xl: 1.5vw;
    --xlb: 2.2vw;
    --xxl: 48px;
    --xxxl: 56px;

    /* FONT FAMILY */
    --montserrat: "Montserrat";
    --poppins: "Poppins";
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    scroll-behavior: smooth;
    overflow-x: hidden;
    font-family: var(--montserrat);
    font-weight: 300;
    background-color: var(--dark-gray);
}

body::-webkit-scrollbar {
    width: 0.35vw;
}

body::-webkit-scrollbar-track {
    background-color: var(--dark-gray-lighter);
}

body::-webkit-scrollbar-thumb {
    background: var(--orange);
    border-radius: 0.3vw;
}

/* GENERAL */
.only-mobile {
    display: none !important;
}

.hide {
    display: none !important;
    visibility: hidden !important;
}

.row-reverted {
    flex-direction: row-reverse !important;
}

/* MARGINS */

.mt-02 {
    margin-top: 0.3vw;
}

.mt-1 {
    margin-top: 1vw;
}

.mt-2 {
    margin-top: 2vw;
}

.mt-3 {
    margin-top: 3vw;
}

.mt-4 {
    margin-top: 4vw;
}

.mt-6 {
    margin-top: 6vw;
}

.mt-8 {
    margin-top: 8vw;
}

.mb-1 {
    margin-bottom: 1vw;
}

.mb-2 {
    margin-bottom: 2vw;
}

.mb-3 {
    margin-bottom: 3vw;
}

.mb-4 {
    margin-bottom: 4vw;
}

.mb-6 {
    margin-bottom: 6vw;
}

.mb-8 {
    margin-bottom: 8vw;
}

/* PADDINGS */

.padding-10 {
    padding: 0 10vw;
}

.padding-20 {
    padding: 0 20vw;
}

.padding-30 {
    padding: 0 30vw;
}

/* ROTATIONS */

.rotate-90 {
    transform: rotate(90deg);
}

.rotate-180 {
    transform: rotate(180deg);
}

.rotate-270 {
    transform: rotate(270deg);
}

/* FLEX */
.flex {
    display: flex;
}

.flex-row {
    flex-direction: row !important;
}

.flex-column {
    flex-direction: column !important;
}

/* TITLES, SUBTITLES */

/* FONT FAMILIES */
.montserrat {
    font-family: var(--montserrat) !important;
}

.poppins {
    font-family: var(--poppins) !important;
}

/* TRANSFORMATIONS */

.uppercase {
    text-transform: uppercase !important;
}

.lowercase {
    text-transform: lowercase !important;
}

.title-case {
    text-transform: capitalize !important;
}

/* FONT SIZES */

.xxxl {
    font-size: var(--xxxl) !important;
}

.xxl {
    font-size: var(--xxl) !important;
}

.xlb {
    font-size: var(--xlb) !important;
}

.xl {
    font-size: var(--xl) !important;
}

.l {
    font-size: var(--l) !important;
}

.m {
    font-size: var(--m) !important;
}

.s {
    font-size: var(--s) !important;
}

.xs {
    font-size: var(--xs) !important;
}

/* ALIGNMENTS */

.text-center {
    text-align: center !important	;
}

.text-right {
    text-align: right !important	;
}

.text-left {
    text-align: left !important	;
}

.items-center {
    align-items: center !important;
}

.items-flex-start {
    align-items: flex-start !important;
}

.items-flex-end {
    align-items: flex-end !important;
}

.self-center {
    align-self: center !important;
}

.self-start {
    align-self: flex-start !important;
}

.self-end {
    align-self: flex-end !important;
}

/* COLORS */

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

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

.dark-gray {
    color: var(--dark-gray) !important;
}

.dark-gray-lighter {
    color: var(--light-gray) !important;
}

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

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

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

/* FONT WEIGHTS */

.fw-300 {
    font-weight: 300 !important;
}

.fw-400 {
    font-weight: 400 !important;
}

.fw-500 {
    font-weight: 500 !important;
}

.fw-600 {
    font-weight: 600 !important;
}

.fw-700 {
    font-weight: 700 !important;
}

/* LINE HEIGHT */

.lh-100 {
    line-height: 100% !important;
}

.lh-120 {
    line-height: 120% !important;
}

.lh-140 {
    line-height: 140% !important;
}

.lh-160 {
    line-height: 160% !important;
}

.lh-180 {
    line-height: 180% !important;
}

.lh-200 {
    line-height: 200% !important;
}

/* WIDTH */

.w-40 {
    width: 40%;
}

.w-50 {
    width: 50%;
}

.w-60 {
    width: 60%;
}

.w-70 {
    width: 70%;
}

.w-80 {
    width: 80%;
}

.w-90 {
    width: 90%;
}

.w-100 {
    width: 100%;
}

/* TITLES */

/* MAIN */

.main {
    z-index: 10 !important;
    position: relative;
}

/* NAVIGATION */

.navigation-container {
    position: relative;
    display: flex;
    flex-direction: row;
    height: 115px;
    width: 100%;
    padding: 0 6vw;
    align-items: center;
    justify-content: space-between;
    background: var(--dark-gray);
    z-index: 10;
    transition: all 0.4s ease-in-out;
}

.navigation-container .socials {
    display: flex;
    flex-direction: row;
    gap: 1vw;
}

.navigation-container .socials img {
    height: 20px;
    width: auto;
    opacity: 0.5;
    transition: all 0.4s ease-in-out;
}

.navigation-container .socials img:hover {
    opacity: 1;
    cursor: pointer;
    transform: scale(1.1);
}

.orange-divider {
    height: 50px;
    width: auto;
}

.navigation-container .menu {
    display: flex;
    flex-direction: row;
    gap: 3vw;
}

.navigation-container .menu a:link,
.navigation-container .menu a:visited {
    color: var(--gray);
    font-family: var(--poppins);
    font-size: var(--s);
    font-style: normal;
    font-weight: 400;
    line-height: 100%;
    text-decoration: none;
    transition: all 0.4s ease-in-out;
}

.navigation-container .menu a:link.active,
.navigation-container .menu a:visited.active {
    color: var(--white);
    text-decoration: underline solid var(--white) 0.05vw;
    text-underline-offset: 0.4vw;
}

.navigation-container .menu a:hover {
    color: var(--gray);
    text-decoration: underline solid var(--gray) 0.05vw;
    text-underline-offset: 0.4vw;
}

.navigation-container .logo {
    display: flex;
    flex-direction: row;
    gap: 5vw;
    align-items: center;
    white-space: nowrap;
}

.navigation-container .logo a:link,
.navigation-container .logo a:visited,
.navigation-container .logo a:link.active,
.navigation-container .logo a:visited.active,
.mobile-menu a:link.logo,
.mobile-menu a:visited.logo {
    color: var(--white);
    font-family: var(--poppins);
    font-style: normal;
    font-weight: 500;
    line-height: 100%;
    text-decoration: none;
}

.navigation-container .logo a:link,
.navigation-container .logo a:visited,
.navigation-container .logo a:link.active,
.navigation-container .logo a:visited.active {
    font-size: var(--m);
}

.mobile-menu a:link.logo {
    margin-left: 5vw;
    font-size: var(--l);
}

.mobile-menu .footer-socials {
    margin-left: 0 !important;
    margin-top: 10vw !important;
}

.footer-socials-mobile-menu {
    padding-bottom: 25vw;
}

.footer-socials-inner-container {
    align-items: center;
    display: flex;
    align-self: center;
    gap: 8vw;
    flex-direction: row;
}

.footer-socials {
    align-items: center;
    display: flex;
    align-self: flex-start;
}

.social-icon-footer-mobile-menu {
    height: 7vw !important;
    width: auto;
    filter: grayscale(1) invert(0);
}

/* MAIN */

.main {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 4vh;
}

.main-bg {
    background: url(../images/header-bg.png);
    background-repeat: no-repeat;
    background-size: 100% auto;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: auto;
}

.container,
.container-nobg {
    position: relative;
    border-radius: 10px;
    z-index: 10;
    display: flex;
    flex-direction: column;
    gap: 2vw;
}

.container {
    background: var(--dark-gray-lighter);
    padding: 4vw;
}

.full-container {
    width: 80vw;
    margin-left: 10vw;
    margin-top: 5vh;
}

.reviews-container {
    width: 50vw;
    margin-left: 25vw;
    margin-top: 5vh;
}

.experiences-container {
    padding-right: 7vw !important;
}

/* HERO */

.hero-container {
    width: 48vw;
    margin-left: 10vw;
    margin-top: 7vh;
}

.button-container {
    margin-top: 2vh;
    align-items: center !important;
    display: flex;
    flex-direction: row;
    gap: 1vw;
}

.button-container img {
    height: 40px;
    width: auto;
    align-self: center;
    display: flex;
}

ul {
    list-style-type: disc;
    list-style: disc;
}

ul li {
    color: var(--light-gray);
    font-family: var(--montserrat);
    font-size: var(--m);
    line-height: 160%;
    font-weight: 300;
    align-items: center;
    line-height: 160%;
    margin-left: 2vw;
}

ul.other-list {
    margin-top: 3vh;
}

ul.spacey li {
    margin-top: 15px;
}

ul.line-list li:after {
    content: "";
    display: flex;
    width: 3.3vw;
    height: 1px;
    margin-left: 20px;
    background: var(--orange);
}

ul.classic,
ul.line-list {
    list-style-type: none !important;
}

ul.classic li,
ul.line-list li {
    line-height: 200%;
    margin-left: 0;
}

ul.tight li {
    line-height: 160% !important;
    margin-left: 2vw;
}

ul.line-list li {
    font-size: var(--s) !important;
    display: flex;
    margin-top: 7px;
}

ul.small-text li {
    font-size: var(--s) !important;
}

.personal-stat-container,
.rewards-container {
    opacity: 0.5;
}

.experiences-inner-container {
    display: flex;
    flex-direction: row;
    gap: 3vw;
    width: 100%;
    margin-top: 4vh;
    align-items: flex-start;
}

.experiences-inner-container .column-one,
.experiences-inner-container .column-two,
.experiences-inner-container .column-three {
    display: flex;
    flex-direction: column;
    gap: 1vw;
    flex-grow: 0;
    flex-shrink: 0;
}

.experiences-inner-container .column-one {
    width: 40%;
}

.experiences-inner-container .column-two,
.experiences-inner-container .column-three {
    width: 30%;
}

.other-inner-container {
    display: flex;
    flex-direction: row;
    gap: 2vw;
}

.other-inner-container .column-one,
.other-inner-container .column-two,
.other-inner-container .column-three {
    position: relative;
    border-radius: 10px;
    padding: 3vw 2vw;
    z-index: 10;
    display: flex;
    flex-direction: column;
    background: var(--dark-gray-lighter);
}

.other-inner-container .column-one {
    width: 25%;
    flex-grow: 0;
    flex-shrink: 0;
}

.other-container-two-columns {
    display: flex;
    flex-direction: column;
    gap: 2vw;
    width: 75%;
}

.other-ach-subtitle {
    margin-top: 3vh;
}

/* BLOG SLIDER */

.slider-container {
    position: relative;
    width: 81.5vw;
    margin-left: 9.25vw;
    margin-top: 5vh;
    z-index: 10;
    display: flex;
    flex-direction: column;
    gap: 2vw;
    opacity: 0.5;
    padding: 2vw 0;
    margin-bottom: -3vw;
}

.blog-slider-title-container {
    margin-left: 0.75vw;
    width: 80vw;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.all-blogs-title-container {
    display: flex;
    flex-direction: row;
    gap: 1vw;
    align-items: center;
}

.orange-line {
    width: 6vw;
    height: 1px;
    background-color: var(--orange);
}

a:link,
a:visited {
    color: var(--white);
    text-decoration: none;
    font-family: var(--montserrat);
    font-size: var(--m);
    font-weight: 300;
}

.slider-item-container {
    background: var(--dark-gray-lighter);
    padding: 4vw 2vw 2vw 2vw;
    width: 26.1vw;
    display: flex;
    flex-direction: column;
    gap: 1vw;
    border-radius: 10px;
    margin: 0 0.5vw;
    transition: all 0.4s ease-in-out;
}

.sic-whitespace {
    width: 100%;
    height: 2vw;
}

.slider-item-container:hover {
    transform: scale(1.04);
    cursor: pointer;
}

.read-more {
    margin-top: 1vw;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.orange-divider-blog {
    height: 40px;
    width: auto;
}

/* LINKS */

.links-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5vw;
    margin-top: 1vh !important;
}

.link-tab {
    width: 100%;
    display: flex;
    align-items: center;
    padding: 1.2vw 2vw;
    background-color: var(--dark-gray-lighter);
    justify-content: center;
    transition: all 0.4s ease-in-out;
    border-radius: 10px;
    color: var(--white);
    font-size: var(--m);
    font-weight: 300;
    font-family: var(--poppins);
    text-align: center;
}

.link-tab:hover {
    font-weight: 500;
    background-color: #353535;
    transform: scale(1.03);
    cursor: pointer;
}

/* REVIEWS */

.review-item-container {
    display: flex;
    flex-direction: column;
    gap: 1vw;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-top: 2vh;
}

.review-author-container {
    display: flex;
    flex-direction: row;
    gap: 2vw;
    align-items: center;
}

.slider-reviews-arrows {
    display: flex;
    flex-direction: row;
    gap: 2vw;
    justify-content: center;
    text-align: center;
    align-items: center;
    margin-top: 4vh;
}

/* BLOG PAGE */

.blog-container {
    width: 80vw;
    margin-left: 10vw;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    column-gap: 1vw;
    row-gap: 2vw;
}

.blog-item-container {
    width: auto !important;
    margin: 0 !important;
}

.blog-article-container {
    width: 80vw;
    margin-left: 10vw;
    display: flex;
    flex-direction: column;
    gap: 2vw;
}

.blog-article-container a:link,
.blog-article-container a:visited {
    color: var(--orange);
    text-decoration: none;
}

.blog-article-container a:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-thickness: 1px;
}

/* FOOTER */

#footer {
    width: 80vw;
    margin-left: 10vw;
    display: flex;
    flex-direction: column;
    gap: 8vh;
    padding-bottom: 4vh;
    z-index: 10000;
}

.footer-container {
    width: 100% !important;
    margin-left: 0 !important;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.footer-container a:link {
    font-size: var(--l);
}

.footer-menu-full-container {
    display: flex;
    flex-direction: column;
    gap: 4vh;
}

.footer-menu-container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.footer-menu {
    display: flex;
    flex-direction: row;
    gap: 2vw;
    justify-content: left;
}

.footer-menu a:link {
    font-weight: 300;
    font-size: 18px;
}

.footer-right {
    display: flex;
    flex-direction: row;
    gap: 2vw;
    align-items: center;
}

.footer-line {
    width: 100%;
    height: 1px;
    background: #242424;
}

a.orange-link:link {
    color: var(--orange);
}

a.footer-link:link {
    font-size: 14px;
    color: var(--gray);
}

.footer-copyright-links {
    display: flex;
    flex-direction: row;
    gap: 1vw;
}

/* PAGINATION */

.news-pagination ul li {
    padding: 0.3vw !important;
}

.page-item {
    margin: 0 5px;
    text-align: center;
}

.page-link {
    outline: initial !important;
    box-shadow: initial !important;
    border: initial;
    padding: 8px 9px;
    line-height: 1.5;
    font-size: 1.5em;
    min-width: 3.25rem;
    min-height: 3.25rem;
    color: 10px;
    border-radius: 15px !important;
    background: #fff;
    color: #274077 !important;
}
.page-link:focus {
    background: #fff;
    color: #274077;
}
.page-link:hover,
.page-link:hover:focus {
    background: #274077;
    color: #fff;
}
.page-link svg {
    width: 15px;
    height: 15px;
    vertical-align: top;
    margin-top: 2px;
    margin-left: 2px;
}
.page-link i {
    margin-left: 1px;
}

.page-item.active .page-link {
    background: #274077 !important;
    box-shadow: initial !important;
    border: 0 !important;
    color: #fff !important;
}

.page-item.disabled .page-link {
    opacity: 0.5;
    color: #274077;
    background: #fff;
    box-shadow: initial !important;
}

.page-item:first-child .page-link,
.page-item:last-child .page-link {
    border-radius: 10px;
    padding-top: 3px !important;
}

.pagination.bordered .page-item .page-link {
    color: #274077;
    box-shadow: inset 0 0 0 1px #274077 !important;
    border-radius: 10px;
    background-color: transparent;
}
.pagination.bordered .page-item .page-link:hover {
    background: #274077;
    color: #fff;
}
.pagination.bordered .page-item.active .page-link {
    box-shadow: initial !important;
    background: #274077;
    color: #fff;
}

.pagination.semibordered .page-item .page-link:hover {
    background-color: transparent;
    color: #274077;
    box-shadow: inset 0 0 0 1px #274077 !important;
    border-radius: 10px;
}
.pagination.semibordered .page-item.active .page-link {
    background-color: transparent;
    color: #274077;
    box-shadow: inset 0 0 0 1px #274077 !important;
    border-radius: 10px;
}

.pagination.pagination-xl .page-link {
    line-height: 1;
    font-size: 1em;
    height: 44px;
    padding: 14px 26px;
    width: 65px;
}
.pagination.pagination-xl .page-link svg {
    margin-top: 0;
}

.pagination.pagination-lg .page-link {
    font-size: 1em;
    line-height: 18px;
    width: 50px;
    padding: 8px 15px;
}

.pagination.pagination-sm .page-link {
    font-size: 0.9em;
    height: 30px;
    width: 30px;
    line-height: 1;
    padding: 9px 3px;
}
.pagination.pagination-sm .page-link svg {
    margin-top: -1px;
}

.gallery-item {
    width: 200px;
    padding: 5px;
}

h1.gallery {
    margin-bottom: 20px;
}

p.gallery {
    font-size: 20px !important;
    margin-bottom: 30px !important;
}

/* MOBILE */

@media screen and (max-width: 600px) and (orientation: portrait) {
    :root {
        /* FONT SIZES */
        --xs: 10px;
        --m: 14px;
        --s: 14px;
        --l: 18px;
        --l-xl: 7.5vw;
        --xl: 20px;
        --xlb: 6.5vw;
        --xxl: 24px;
        --xxxl: 20px;
    }

    /* GENERAL */
    .only-desktop {
        display: none !important;
    }

    .only-mobile {
        display: flex !important;
    }

    /* TITLES, SUBTITLES */

    .subtitle {
        font-size: 4vw;
        line-height: 120%;
        text-align: left;
    }

    .content-title {
        font-size: 4vw;
    }

    p {
        font-size: 4vw;
        line-height: 130%;
    }

    h2.bigger {
        font-size: 5.5vw !important;
    }

    .mt-2 {
        margin-top: 4vw;
    }

    .mt-3 {
        margin-top: 6vw;
    }

    .mt-4 {
        margin-top: 8vw;
    }

    .mt-6 {
        margin-top: 12vw;
    }

    .mt-8 {
        margin-top: 16vw;
    }

    .mb-2 {
        margin-bottom: 4vw;
    }

    .padding-10 {
        padding: 0 !important;
    }

    .padding-20 {
        padding: 0 !important;
    }

    .pb-10 {
        padding-bottom: 10vw !important;
    }

    .pb-6 {
        padding-bottom: 6vw !important;
    }

    .nowrap {
        white-space: nowrap !important;
    }

    .circle-tick {
        width: 9vw;
    }

    /* TITLES */

    /* TITLES */
    h3 {
        font-size: 5.5vw !important;
    }
    p {
        font-size: var(--m) !important;
    }

    .section-four-container p,
    .section-three-container p,
    .section-five-container p {
        font-size: 4vw;
    }

    /* TOP MENU */

    .header-logo-mobile-menu {
        height: 11vh;
        width: auto;
        margin-top: 0.7vh;
    }

    .top-menu {
        display: none;
    }

    .member-icon {
        width: 5vw;
        height: auto;
    }

    .mobile-menu .social-icon-footer {
        width: 12vw !important;
        height: auto;
    }

    .mobile-menu .footer-socials-inner-container {
        gap: auto;
        width: 85vw !important;
        align-items: center;
        justify-content: center;
    }

    .mobile-menu .footer-socials {
        margin-top: 15vw;
        flex-direction: column !important;
        gap: 5vw;
    }

    /* MAIN */

    .main {
        gap: 4vh;
    }

    .main-bg {
        background: url(../images/header-bg-mobile.png);
    }

    .container,
    .container-nobg {
        gap: 2vw;
    }

    .container {
        padding: 6vw;
    }

    .full-container {
        width: 90vw;
        margin-left: 5vw;
        margin-top: 1vh;
    }

    .reviews-container {
        width: 80vw;
        margin-left: 10vw;
        margin-top: 4vh;
    }

    .experiences-container {
        padding-right: 7vw !important;
    }

    /* HERO */

    .hero-container {
        width: 90vw;
        margin-left: 5vw;
        margin-top: 40vh;
    }

    .button-container {
        margin-top: 2vh;
        align-items: center !important;
        display: flex;
        flex-direction: row;
        gap: 1vw;
    }

    .button-container img {
        height: 40px;
        width: auto;
        align-self: center;
        display: flex;
    }

    ul li {
        font-size: var(--m);
        line-height: 160%;
        font-weight: 300;
        margin-left: 2vw;
    }

    ul.other-list {
        margin-top: 3vh;
    }

    ul.other-list li {
        margin-top: 15px;
    }

    ul.spacey li {
        margin-top: 15px;
    }

    ul.line-list li:after {
        width: 10vw;
        height: 1px;
        margin-left: 20px;
    }

    ul.classic li,
    ul.line-list li {
        line-height: 120%;
        margin-left: 0;
        margin-top: 15px;
    }

    ul.tight li {
        line-height: 160% !important;
        margin-left: 2vw;
    }

    ul.line-list li {
        font-size: var(--s) !important;
        margin-top: 7px;
    }

    ul.small-text li {
        font-size: var(--s) !important;
    }

    .personal-stat-container {
        padding: 10vw 6vw !important;
        gap: 8vw !important;
    }

    .rewards-container,
    .leadership-container,
    .gallery-container,
    .audit-container {
        padding: 10vw 6vw !important;
    }

    .publications-container {
        margin-top: 10vh !important;
        padding: 10vw 6vw;
    }

    .publications-second-container {
        padding: 10vw 6vw;
    }

    .title-margin {
        margin-top: 4vh;
    }

    .title-margin-small {
        margin-top: 2vh;
    }

    .experiences-inner-container {
        flex-direction: column;
        gap: 9vw;
        width: 100%;
        align-items: center;
        margin-top: 0;
    }

    .experiences-inner-container .column-one,
    .experiences-inner-container .column-two,
    .experiences-inner-container .column-three {
        gap: 3vw;
    }

    .experiences-inner-container .column-one {
        width: 100%;
    }

    .experiences-inner-container .column-two,
    .experiences-inner-container .column-three {
        width: 100%;
    }

    .other-inner-container {
        flex-direction: column;
        gap: 6vw;
    }

    .other-inner-container .column-one,
    .other-inner-container .column-two,
    .other-inner-container .column-three {
        padding: 10vw 6vw;
    }

    .other-inner-container .column-one {
        width: 100%;
    }

    .other-container-two-columns {
        gap: 6vw;
        width: 100%;
    }

    .other-ach-subtitle {
        margin-top: 3vh;
    }

    /* BLOG SLIDER */

    .slider-container {
        width: 90vw;
        margin-left: 5vw;
        margin-top: 5vh;
        gap: 2vw;
        padding: 2vw 0;
        margin-bottom: -3vw;
    }

    .blog-slider-title-container {
        margin-left: 0.75vw;
        width: 90vw;
    }

    .all-blogs-title-container {
        gap: 3vw;
    }

    .orange-line {
        width: 12vw;
        height: 1px;
    }

    a:link,
    a:visited {
        font-size: var(--m);
    }

    .slider-item-container {
        padding: 10vw 6vw;
        width: 90vw;
        gap: 3vw;
        margin: 0 0.5vw;
    }

    .read-more {
        margin-top: 3vw;
    }

    .orange-divider-blog {
        height: 30px;
        width: auto;
    }

    /* REVIEWS */

    .review-item-container {
        gap: 6vw;
        margin-top: 5vh;
    }

    .review-author-container {
        flex-direction: column;
        gap: 6vw;
        align-items: center;
    }

    .slider-reviews-arrows {
        gap: 6vw;
        margin-top: 4vh;
    }

    /* BLOG PAGE */

    .blog-container {
        width: 90vw;
        margin-left: 5vw;
        grid-template-columns: repeat(1, 1fr);
        column-gap: 0;
        row-gap: 6vw;
        margin-top: 10vh;
    }

    .blog-item-container {
        width: auto !important;
        margin: 0 !important;
    }

    .blog-article-container {
        width: 85vw;
        margin-left: 7.5vw;
        gap: 6vw;
        margin-top: 10vh;
    }

    /* FOOTER */

    #footer {
        width: 90vw;
        margin-left: 5vw;
        gap: 4vw;
        padding-bottom: 4vh;
        z-index: 10000;
        margin-top: 4vh;
    }

    .footer-container {
        width: 100% !important;
        margin-left: 0 !important;
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    .footer-menu-container {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 6vw;
    }

    .footer-container img {
        height: 3vh;
        width: auto;
    }

    .footer-container .orange-line {
        width: 6vw !important;
    }

    .footer-container a:link {
        font-size: var(--l);
    }

    .footer-right {
        display: flex;
        flex-direction: row;
        gap: 6vw;
        align-items: center;
    }

    a.orange-link:link {
        color: var(--orange);
    }

    a.footer-link:link {
        font-size: 14px;
        color: var(--gray);
    }

    .footer-copyright-links {
        display: flex;
        flex-direction: row;
        gap: 1vw;
    }

    /* LINKS */

    .links-container {
        gap: 2vw;
    }

    .link-tab {
        padding: 3.5vw 6vw;
    }
}

/* DESKTOP MAX 1600px */

@media screen and (max-width: 1600px) {
}

/* DESKTOP 3k+ */

@media screen and (min-width: 3800px) {
    :root {
        --xxl: 3.2vw !important;
    }

    .header-bg {
        background-size: 50% auto;
    }
}

/* Footer social links with logos (desktop) */
.footer-container .footer-social {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    white-space: nowrap;
}

.footer-container .footer-social img {
    height: 22px;
    width: auto;
    opacity: 0.6;
    transition: opacity 0.3s ease-in-out;
}

.footer-container .footer-social:hover img {
    opacity: 1;
}

/* PRESS PAGE */
.press-intro {
    max-width: 640px;
}

.press-story {
    margin-top: 9vh;
}

.press-eyebrow {
    letter-spacing: 0.12em;
}

.press-heading {
    margin: 1.5vh 0 3vh 0;
}

.press-featured {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
    text-decoration: none;
    transition: border-color 0.3s ease-in-out, transform 0.3s ease-in-out;
}

.press-featured:hover {
    border-color: var(--orange);
    transform: translateY(-2px);
}

.press-featured-noimage {
    grid-template-columns: 1fr;
}

.press-featured-image {
    position: relative;
    min-height: 100%;
    background: var(--black);
}

.press-featured-image img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.press-featured-body {
    padding: 3vw;
    min-width: 0;
}

.press-meta {
    font-family: var(--montserrat);
    font-size: 13px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--light-gray);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 10px;
}

.press-tag {
    padding: 4px 10px;
    border: 1px solid var(--orange);
    border-radius: 999px;
    color: var(--orange);
    font-size: 11px;
}

.press-featured-title {
    font-size: var(--l);
    line-height: 1.35;
    margin: 2vh 0;
}

.press-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    margin-top: 3vh;
    padding-top: 2.5vh;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.press-stat-value {
    font-size: 30px;
    line-height: 1;
}

.press-stat-label {
    font-size: 13px;
    line-height: 1.4;
    margin-top: 8px;
}

.press-cta {
    display: inline-block;
    margin-top: 3vh;
    font-size: var(--s);
}

.press-list {
    list-style: none;
    margin: 4vh 0 0 0;
    padding: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.press-list li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.press-row {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr) 24px;
    column-gap: 32px;
    align-items: center;
    padding: 18px 0;
    text-decoration: none;
}

.press-row-outlet {
    font-family: var(--montserrat);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--white);
}

.press-row-date {
    display: block;
    margin-top: 5px;
    font-size: 11px;
    color: var(--gray);
}

.press-row-title {
    font-family: var(--montserrat);
    font-size: var(--m);
    font-weight: 300;
    line-height: 1.45;
    color: var(--light-gray);
    transition: color 0.2s ease-in-out;
}

.press-row-arrow {
    color: var(--gray);
    transition: color 0.2s ease-in-out, transform 0.2s ease-in-out;
}

.press-row:hover .press-row-title {
    color: var(--white);
}

.press-row:hover .press-row-arrow {
    color: var(--orange);
    transform: translate(2px, -2px);
}

@media screen and (max-width: 900px) {
    .press-featured {
        grid-template-columns: 1fr;
    }

    .press-featured-image {
        min-height: 0;
        aspect-ratio: 16 / 9;
    }

    .press-featured-body {
        padding: 6vw;
    }

    .press-stats {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .press-row {
        grid-template-columns: minmax(0, 1fr) 18px;
        row-gap: 6px;
        column-gap: 12px;
        padding: 14px 0;
    }

    .press-row-outlet {
        grid-column: 1 / -1;
    }

    .press-row-date {
        display: inline;
        margin-left: 10px;
    }
}

/* PUBLICATIONS: BOOK CHAPTERS WITH COVERS */
.book-chapters {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2vw;
    margin-top: 3vh;
}

.book-chapter {
    display: grid;
    grid-template-columns: 130px minmax(0, 1fr);
    gap: 24px;
    align-items: start;
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
    text-decoration: none;
    transition: border-color 0.3s ease-in-out, transform 0.3s ease-in-out;
}

.book-chapter:hover {
    border-color: var(--orange);
    transform: translateY(-2px);
}

.book-cover {
    width: 130px;
    height: auto;
    border-radius: 4px;
    box-shadow: 0 12px 28px -12px rgba(0, 0, 0, 0.9);
}

.book-label {
    font-size: 12px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.book-chapter-title {
    font-size: var(--m);
    line-height: 1.4;
    margin: 10px 0 12px 0;
}

.book-meta {
    font-size: 14px;
    line-height: 1.55;
    margin-top: 6px;
}

.book-meta strong {
    color: var(--white);
    font-weight: 500;
}

.book-link {
    display: inline-block;
    margin-top: 14px;
    font-size: 14px;
}

@media screen and (max-width: 1100px) {
    .book-chapters {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

@media screen and (max-width: 600px) {
    .book-chapter {
        grid-template-columns: 90px minmax(0, 1fr);
        gap: 16px;
        padding: 16px;
    }

    .book-cover {
        width: 90px;
    }
}

/* PRESS PAGE: POLICY CITATIONS, GUIDELINES, AWARDS */
.press-highlights {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2vw;
    margin-top: 5vh;
    padding: 3vh 0;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.press-highlights .press-stat-value {
    font-size: 40px;
}

.policy-cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2vw;
}

.policy-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--orange);
    border-radius: 12px;
    background: rgba(255, 145, 66, 0.06);
    text-decoration: none;
    transition: transform 0.3s ease-in-out, background 0.3s ease-in-out;
}

.policy-card:hover {
    transform: translateY(-2px);
    background: rgba(255, 145, 66, 0.1);
}

.policy-image {
    background: #ededed;
    border-bottom: 1px solid rgba(255, 145, 66, 0.5);
}

.policy-image img {
    width: 100%;
    height: auto;
    display: block;
}

.policy-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 2vw;
}

.policy-card .press-featured-title {
    margin-bottom: 8px;
}

.policy-where {
    font-size: 13px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.policy-cites {
    font-size: 15px;
    line-height: 1.6;
}

.policy-card .press-cta {
    margin-top: auto;
    padding-top: 2vh;
}

.guideline-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.4vw;
}

.guideline-card {
    display: flex;
    flex-direction: column;
    padding: 1.6vw;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
    text-decoration: none;
    transition: border-color 0.3s ease-in-out, transform 0.3s ease-in-out;
}

.guideline-card:hover {
    border-color: var(--orange);
    transform: translateY(-2px);
}

.guideline-title {
    font-size: 16px;
    line-height: 1.4;
    margin: 12px 0 8px 0;
}

.guideline-cites {
    font-size: 14px;
    line-height: 1.55;
}

.award-row {
    grid-template-columns: 80px minmax(0, 1fr) 24px;
}

.award-year {
    font-size: 22px;
}

.award-text {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.award-title {
    color: var(--white);
    font-weight: 500;
}

.award-detail {
    font-family: var(--montserrat);
    font-size: 14px;
    font-weight: 300;
    line-height: 1.5;
    color: var(--light-gray);
}

.award-source {
    display: inline-block;
    margin-left: 6px;
    font-size: 12px;
    color: var(--gray);
}

.press-story-summary {
    max-width: 820px;
    margin-bottom: 1vh;
}

@media screen and (max-width: 1100px) {
    .guideline-cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media screen and (max-width: 900px) {
    .policy-cards,
    .guideline-cards,
    .press-highlights {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .policy-body,
    .guideline-card {
        padding: 6vw;
    }

    .policy-card .press-featured-title {
        font-size: 17px;
    }

    .press-highlights .press-stat-value {
        font-size: 30px;
    }

    .award-row {
        grid-template-columns: 52px minmax(0, 1fr) 18px;
    }

    .award-row .press-row-arrow {
        grid-column: auto;
    }
}

/* PUBLICATIONS LIST */
.pub-intro {
    max-width: 760px;
}

.pub-intro a:link,
.pub-intro a:visited {
    font-size: inherit;
    color: var(--orange);
    text-decoration: underline;
}

.pub-cited-inline {
    color: var(--orange);
    white-space: nowrap;
}

.pub-sub {
    font-size: 14px;
    margin-top: 6px;
}

.pub-count {
    letter-spacing: 0;
}

.pub-list {
    list-style: none;
    margin: 3vh 0 0 0;
    padding: 0;
    counter-reset: pub;
}

.pub-item {
    position: relative;
    padding: 18px 0 18px 48px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    counter-increment: pub;
}

.pub-item::before {
    content: counter(pub);
    position: absolute;
    left: 0;
    top: 20px;
    width: 30px;
    font-family: var(--montserrat);
    font-size: 13px;
    color: var(--gray);
    text-align: right;
}

.pub-authors {
    font-size: 14px;
    line-height: 1.5;
}

.pub-authors b {
    color: var(--white);
    font-weight: 600;
}

.pub-title:link,
.pub-title:visited,
.pub-title {
    display: inline-block;
    margin: 6px 0;
    font-size: var(--m);
    font-weight: 500;
    line-height: 1.45;
    text-decoration: none;
    transition: color 0.2s ease-in-out;
}

.pub-title:hover {
    color: var(--orange);
}

.pub-cite {
    font-size: 14px;
    line-height: 1.5;
}

.pub-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 14px;
    margin-top: 8px;
    font-size: 12px;
}

.pub-links a:link,
.pub-links a:visited {
    font-size: 12px;
    color: var(--light-gray);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.pub-links a:hover {
    color: var(--orange);
}

.pub-note {
    padding: 3px 9px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 999px;
    color: var(--light-gray);
    letter-spacing: 0.04em;
}

.pub-cited {
    padding: 3px 9px;
    border-radius: 999px;
    background: rgba(255, 145, 66, 0.14);
    border: 1px solid var(--orange);
    color: var(--orange);
    letter-spacing: 0.04em;
}

@media screen and (max-width: 600px) {
    .pub-item {
        padding-left: 30px;
    }

    .pub-item::before {
        width: 20px;
        font-size: 11px;
    }
}

/* HOMEPAGE HERO: SOCIAL LINKS */
.hero-socials {
    flex-wrap: wrap;
    gap: 10px !important;
    margin-top: 3vh;
}

.hero-socials > img {
    display: none !important;
}

.hero-policy-link:link,
.hero-policy-link:visited,
.personal-stat-container a:link,
.personal-stat-container a:visited {
    font-size: inherit;
    color: var(--orange);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.hero-social:link,
.hero-social:visited {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 12px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.35);
    color: var(--white);
    font-family: var(--montserrat);
    font-size: 13px;
    font-weight: 400;
    line-height: 1;
    white-space: nowrap;
    transition: border-color 0.2s ease-in-out, background 0.2s ease-in-out;
}

.hero-social:hover {
    border-color: var(--orange);
    background: rgba(255, 145, 66, 0.12);
}

.hero-social img {
    height: 16px !important;
    width: auto;
    display: block !important;
}

@media screen and (max-width: 600px) {
    .hero-socials {
        gap: 8px !important;
    }

    .hero-social:link,
    .hero-social:visited {
        gap: 6px;
        padding: 7px 10px;
        font-size: 12px;
    }

    .hero-social img {
        height: 13px !important;
    }
}

/* HOMEPAGE: "WHAT I'M CURRENTLY UP TO" STRIP (N³ Labs) */
.now-wrap {
    margin-left: 10vw;
    width: 80vw;
}

.now-bar:link,
.now-bar:visited {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 16px;
    padding: 14px 24px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 999px;
    background: rgba(18, 18, 18, 0.88);
    color: var(--light-gray);
    font-family: var(--montserrat);
    font-size: 15px;
    font-weight: 300;
    line-height: 1.2;
    transition: border-color 0.3s ease-in-out, background 0.3s ease-in-out;
}

.now-bar:hover {
    border-color: var(--orange);
    background: rgba(28, 22, 18, 0.95);
}

.now-label {
    color: var(--orange);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.now-arrow-left {
    color: var(--orange);
}

.now-logos {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.now-n3-mark {
    height: 24px;
    width: auto;
    display: block;
}

.now-n3-name {
    color: var(--white);
    font-family: var(--poppins);
    font-size: 18px;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.now-n3-labs {
    font-size: 0.8em;
    font-weight: 500;
    margin-left: -0.15em;
}

.now-divider {
    width: 1px;
    height: 22px;
    background: rgba(255, 255, 255, 0.3);
    margin: 0 4px;
}

.now-gitsci {
    height: 19px;
    width: auto;
    display: block;
}

.now-desc {
    color: var(--light-gray);
}

.now-arrow {
    color: var(--gray);
    transition: color 0.2s ease-in-out, transform 0.2s ease-in-out;
}

.now-bar:hover .now-arrow {
    color: var(--orange);
    transform: translate(2px, -2px);
}

@media screen and (max-width: 600px) {
    .now-wrap {
        margin-left: 5vw;
        width: 90vw;
    }

    .now-bar:link,
    .now-bar:visited {
        border-radius: 16px;
        padding: 12px 16px;
        gap: 8px 10px;
    }

    .now-desc {
        font-size: 13px;
    }
}

/* LANGUAGES: switcher, English-only note, fonts and right-to-left (Arabic) */
/* Desktop header: keep menu labels on one line now that the header also holds the language button */
.navigation-container {
    gap: 2vw;
}

.navigation-container .menu {
    gap: clamp(14px, 2.2vw, 3vw);
}

@media screen and (min-width: 1101px) {
    .navigation-container .menu a {
        white-space: nowrap;
    }
}

.navigation-container .socials {
    align-items: center;
}

/* Smaller desktops: the social links are already in the hero and footer, so drop them from the header */
@media screen and (max-width: 1500px) {
    .navigation-container .logo {
        gap: 3vw;
    }

    .navigation-container .socials > img {
        display: none;
    }
}

.lang-switch {
    position: relative;
    margin-left: 6px;
}

.lang-switch summary {
    list-style: none;
    cursor: pointer;
    padding: 4px 10px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 999px;
    font-family: var(--montserrat);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.06em;
    color: var(--white);
    white-space: nowrap;
}

.lang-switch summary::-webkit-details-marker {
    display: none;
}

.lang-flag,
.navigation-container .socials img.lang-flag {
    width: 18px;
    height: 12px;
    opacity: 1;
    transform: none;
    object-fit: cover;
    border-radius: 2px;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.18);
    flex-shrink: 0;
}

.lang-switch summary {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.lang-menu a:link,
.lang-menu a:visited,
.luxbar-item.lang-switch-mobile a:link,
.luxbar-item.lang-switch-mobile a:visited {
    display: inline-flex;
    align-items: center;
    gap: 9px;
}

.lang-switch[open] summary,
.lang-switch summary:hover {
    border-color: var(--orange);
}

.lang-menu {
    position: absolute;
    right: 0;
    top: calc(100% + 8px);
    min-width: 150px;
    padding: 6px;
    background: var(--dark-gray-lighter);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 10px;
    z-index: 100000001;
    display: flex;
    flex-direction: column;
}

.lang-menu a:link,
.lang-menu a:visited {
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 14px;
    color: var(--light-gray);
}

.lang-menu a:hover,
.lang-menu a.active {
    background: rgba(255, 145, 66, 0.12);
    color: var(--white);
}

.luxbar-item.lang-switch-mobile {
    display: flex !important;
    flex-wrap: wrap;
    gap: 10px 18px;
    height: auto;
    padding: 22px 40px 14px 40px;
}

.luxbar-item.lang-switch-mobile a:link,
.luxbar-item.lang-switch-mobile a:visited {
    display: inline-flex;
    padding: 0;
    font-size: 15px;
    text-transform: none;
    color: var(--light-gray);
}

.luxbar-item.lang-switch-mobile a.active {
    color: var(--orange);
}

.english-only-note {
    margin-top: 2vh;
    padding: 12px 18px;
    border: 1px dashed rgba(255, 255, 255, 0.25);
    border-radius: 10px;
    color: var(--light-gray);
    font-size: 14px;
}

html[lang="zh-Hans"] .navigation-container .menu a {
    white-space: nowrap;
}

html[lang="zh-Hans"] {
    --montserrat: "Montserrat", "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    --poppins: "Poppins", "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

html[lang="ar"] {
    --montserrat: "Noto Sans Arabic", "Geeza Pro", "Segoe UI", Tahoma, sans-serif;
    --poppins: "Noto Sans Arabic", "Geeza Pro", "Segoe UI", Tahoma, sans-serif;
}

[dir="rtl"] body {
    text-align: right;
}

/* The hero photo sits on the right, so the text box stays on the left in every language */
[dir="rtl"] .hero-container {
    margin-left: 10vw;
    margin-right: auto;
}

[dir="rtl"] .now-wrap {
    margin-left: 0;
    margin-right: 10vw;
}

[dir="rtl"] .pub-item {
    padding: 18px 48px 18px 0;
}

[dir="rtl"] .pub-item::before {
    left: auto;
    right: 0;
    text-align: left;
}

[dir="rtl"] .press-row-arrow,
[dir="rtl"] .now-arrow,
[dir="rtl"] .now-arrow-left {
    display: inline-block;
    transform: scaleX(-1);
}

/* Phone header bar keeps the English layout (name left, menu button right) */
[dir="rtl"] .luxbar-header {
    direction: ltr;
}

[dir="rtl"] .luxbar-header .logo {
    direction: rtl;
}

/* Cookie popup on/off switches: the plugin positions the knob for left-to-right only */
[dir="rtl"] .cc_div .b-tg {
    direction: ltr;
}

[dir="rtl"] .cc_div td:first-child {
    unicode-bidi: plaintext;        /* cookie name "_ga" reads left-to-right */
}

[dir="rtl"] .lang-menu {
    right: auto;
    left: 0;
}

[dir="rtl"] ul.classic,
[dir="rtl"] ul.spacey {
    padding-right: 1.2em;
    padding-left: 0;
}

@media screen and (max-width: 600px) {
    [dir="rtl"] .hero-container {
        margin-left: 5vw;
    }

    [dir="rtl"] .now-wrap {
        margin-right: 5vw;
    }
}


/* TALKS: /talks page and the homepage "Latest talks" strip (home/partials/talk-row.blade.php, js/talks.js) */
.talk-row-wrap {
    position: relative;
    margin-top: 2.5vh;
}

.talk-row {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 4px 4px 14px;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.25) transparent;
}

.talk-row::-webkit-scrollbar {
    height: 6px;
}

.talk-row::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
}

/* A card = picture (or plain panel) with the play button and length on it, title underneath.
   On play, js/talks.js swaps the picture for the YouTube player (same box, so nothing jumps). */
.talk-clip {
    position: relative;
    flex: 0 0 clamp(210px, 17vw, 260px);
    display: flex;
    flex-direction: column;
    gap: 12px;
    scroll-snap-align: start;
}

.talk-clip-media {
    position: relative;
    aspect-ratio: 4 / 5;
    border-radius: 14px;
    overflow: hidden;
    background: #000;
}

.talk-clip-face {
    all: unset;
    box-sizing: border-box;
    cursor: pointer;
    position: absolute;
    inset: 0;
    display: block;
    overflow: hidden;
    background: radial-gradient(120% 80% at 100% 0%, rgba(255, 145, 66, 0.22), transparent 55%), linear-gradient(160deg, #1d1d1d, #0d0d0d);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 14px;
    transition: border-color 0.3s ease;
}

/* darker bottom edge so the play button and length stay readable on any picture */
.talk-clip-face::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.55), transparent 45%);
    pointer-events: none;
}

.talk-clip-poster {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.talk-clip-face:hover,
.talk-clip-face:focus-visible {
    border-color: var(--orange);
}

.talk-clip-face:hover .talk-clip-poster {
    transform: scale(1.04);
}

.talk-clip-face:focus-visible {
    outline: 2px solid var(--orange);
    outline-offset: -3px;
}

.talk-clip-play {
    position: absolute;
    z-index: 1;
    inset-inline-start: 14px;
    bottom: 14px;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--orange);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease;
}

.talk-clip-face:hover .talk-clip-play {
    transform: scale(1.08);
}

.talk-clip-play::after {
    content: "";
    position: absolute;
    left: 18px;
    top: 15px;
    border-style: solid;
    border-width: 8px 0 8px 13px;
    border-color: transparent transparent transparent #111;
}

.talk-clip-length {
    position: absolute;
    z-index: 1;
    inset-inline-end: 12px;
    bottom: 25px;
    padding: 3px 8px;
    border-radius: 6px;
    background: rgba(0, 0, 0, 0.75);
    font-family: var(--montserrat);
    font-size: 12px;
    line-height: 1.3;
    color: var(--white);
}

.talk-clip-info {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 0 2px;
}

.talk-clip[data-youtube]:not(.talk-clip-playing) .talk-clip-info {
    cursor: pointer;
}

.talk-clip-date {
    font-family: var(--poppins);
    font-size: 12px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--orange);
}

.talk-clip-title {
    font-family: var(--poppins);
    font-weight: 500;
    font-size: 18px;
    line-height: 1.3;
    color: var(--white);
    transition: color 0.3s ease;
}

.talk-clip[data-youtube]:not(.talk-clip-playing):hover .talk-clip-title {
    color: var(--orange);
}

.talk-clip-where {
    font-family: var(--montserrat);
    font-size: 13px;
    line-height: 1.4;
    color: var(--light-gray);
}

.talk-clip-soon .talk-clip-face {
    cursor: default;
}

.talk-clip-soon .talk-clip-face:hover {
    border-color: rgba(255, 255, 255, 0.12);
}

.talk-clip-soon .talk-clip-play {
    background: rgba(255, 255, 255, 0.18);
}

.talk-clip-frame {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}

.talk-row-arrow {
    position: absolute;
    top: calc(50% - 27px);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: rgba(0, 0, 0, 0.8);
    color: var(--white);
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    z-index: 2;
}

.talk-row-arrow:hover {
    border-color: var(--orange);
}

.talk-row-prev {
    left: -16px;
}

.talk-row-next {
    right: -16px;
}

.talk-where {
    margin-top: -1.5vh;
    font-size: 15px;
}

[dir="rtl"] .talk-row-prev {
    left: auto;
    right: -16px;
}

[dir="rtl"] .talk-row-next {
    right: auto;
    left: -16px;
}

[dir="rtl"] .talk-row-arrow {
    transform: scaleX(-1);
}

@media screen and (max-width: 600px) {
    .talk-clip {
        flex-basis: 64vw;
    }

    .talk-row-arrow {
        display: none;
    }

    .talk-clip-title {
        font-size: 17px;
    }
}

.talks-dated-note {
    margin-top: 1vh;
    font-size: 14px;
    opacity: 0.8;
}

/* Talks page timeline: a vertical line with a dot for each session (newest first) */
.talk-timeline {
    position: relative;
    margin-top: 3vh;
    padding-left: 34px;
}

.talk-timeline::before {
    content: "";
    position: absolute;
    left: 8px;
    top: 8px;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--orange), rgba(255, 145, 66, 0.08));
}

.talk-timeline .talk-story {
    position: relative;
}

.talk-timeline .talk-story::before {
    content: "";
    position: absolute;
    left: -31px;
    top: 4px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--orange);
    box-shadow: 0 0 0 4px rgba(255, 145, 66, 0.2);
}

[dir="rtl"] .talk-timeline {
    padding-left: 0;
    padding-right: 34px;
}

[dir="rtl"] .talk-timeline::before {
    left: auto;
    right: 8px;
}

[dir="rtl"] .talk-timeline .talk-story::before {
    left: auto;
    right: -31px;
}

/* Talk cards take the shape of their video: vertical Shorts (9:16) and widescreen (16:9) */
.talk-clip.talk-clip-vertical {
    flex-basis: clamp(190px, 14vw, 225px);
}

.talk-clip-vertical .talk-clip-media {
    aspect-ratio: 9 / 16;
}

.talk-clip.talk-clip-wide {
    flex-basis: clamp(320px, 34vw, 500px);
}

.talk-clip-wide .talk-clip-media {
    aspect-ratio: 16 / 9;
}

.talk-row {
    align-items: flex-start;
}

@media screen and (max-width: 600px) {
    .talk-clip.talk-clip-vertical {
        flex-basis: 52vw;
    }

    .talk-clip.talk-clip-wide {
        flex-basis: 100%;
    }
}
