@font-face {
    font-family: "Climate Adaptation Rubik";
    src: url("../fonts/Rubik.ttf") format("truetype");
    font-style: normal;
    font-weight: 300 900;
    font-display: swap;
}

.climate-adaptation .climate-project-hero {
    --apri-font-secondary: "Climate Adaptation Rubik", Helvetica, sans-serif;
    --climate-hero-color: 33 17 0;
    --climate-hero-spacing: clamp(1.75rem, 3.2vw, 3rem);
    background-color: rgb(var(--climate-hero-color));
    background-image: linear-gradient(90deg, rgb(var(--climate-hero-color) / 96%), rgb(var(--climate-hero-color) / 30%)),
        url("../../../../assets/img/bg/apri-post-list-bg.webp");
    background-position: center, right center;
    background-repeat: no-repeat;
    background-size: cover, auto 160%;
    color: #fff;
    padding-block: var(--climate-hero-spacing);
}

.climate-adaptation .climate-project-hero-home {
    --climate-hero-color: 45 89 95;
    padding-block-end: calc(var(--climate-hero-spacing) + 0.75rem);
}

.climate-adaptation .climate-project-hero-copy {
    max-inline-size: 68rem;
}

.climate-adaptation .climate-project-hero-top {
    align-items: center;
    display: flex;
    gap: clamp(0.5rem, 2vw, 1rem);
    justify-content: space-between;
    margin-block-end: 0.65rem;
}

.climate-adaptation .climate-project-actions {
    align-items: center;
    display: flex;
    flex: none;
    gap: 0.5rem;
    margin-inline-start: auto;
}

.climate-adaptation .climate-project-action {
    background: rgb(255 255 255 / 8%);
    border: 1px solid rgb(255 255 255 / 55%);
    border-radius: 50%;
    color: #fff;
    display: inline-grid;
    block-size: 2.75rem;
    inline-size: 2.75rem;
    line-height: 1;
    place-items: center;
}

.climate-adaptation .climate-project-action:hover,
.climate-adaptation .climate-project-action:focus-visible {
    background: #fff;
    border-color: #fff;
    color: rgb(var(--climate-hero-color));
}

.climate-adaptation .climate-project-action:focus-visible {
    outline: 2px solid #fff !important;
    outline-offset: 3px;
}

.climate-adaptation .climate-project-preview {
    color: #e5efee;
    font-size: 0.75rem;
    font-weight: 600;
}

.climate-adaptation .climate-project-hero h1 {
    color: #fff;
    font-size: clamp(1.75rem, 1rem + 2vw, 2.75rem);
    font-weight: 650;
    line-height: 1.14;
    margin: 0;
    text-wrap: balance;
}

.climate-adaptation .climate-project-eyebrow {
    color: #e5efee;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    line-height: 1.4;
    margin: 0;
    min-inline-size: 0;
    text-transform: uppercase;
}

.climate-adaptation .climate-project-summary {
    color: #edf3f2;
    font-size: clamp(0.9375rem, 0.875rem + 0.3vw, 1rem);
    font-weight: 400;
    line-height: 1.55;
    margin: 0.8rem 0 0;
    max-inline-size: 78ch;
}

.climate-adaptation .climate-country-section {
    background: #f8f8f8;
    padding-block-end: 5.25rem;
}

.climate-adaptation .climate-country-kicker {
    color: #696969;
    font-size: 14px;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.climate-adaptation .climate-country-card {
    margin-top: 35px;
    max-height: calc(100% - 35px);
    padding: 50px 30px 63px;
    position: relative;
    text-align: center;
}

.climate-adaptation .climate-country-card img {
    margin-inline: auto;
    object-fit: contain;
}

.climate-adaptation .climate-country-arrow {
    align-items: center;
    background: #d2a98e;
    border-radius: 50%;
    bottom: -28px;
    color: #fff;
    display: flex;
    font-size: 24px;
    height: 56px;
    justify-content: center;
    left: calc(50% - 28px);
    position: absolute;
    width: 56px;
}

.climate-adaptation .climate-country-card:hover .climate-country-arrow,
.climate-adaptation .climate-country-card:focus-within .climate-country-arrow {
    background: #ffc03c;
}

.climate-adaptation .climate-country-publications,
.climate-adaptation #climate-adaptation-countries {
    scroll-margin-top: 7rem;
}

.climate-adaptation .climate-press .swiper-slide {
    height: auto;
}

.climate-adaptation .climate-press .climate-press-link {
    display: block;
    height: 100%;
}

.climate-adaptation .climate-press .testimonial-slider__single {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    height: 100%;
    padding: clamp(1.25rem, 2.5vw, 2rem);
}

.climate-adaptation .climate-press .testimonial-subject {
    color: #212529;
    font-size: 1.125rem;
    font-weight: 700;
    line-height: 1.3;
    margin: 0;
}

.climate-adaptation .climate-press .testimonial-slider__text {
    color: #555c64;
    font-size: 0.875rem;
    font-weight: 400;
    line-height: 1.6;
    margin: 0;
}

.climate-adaptation .climate-press .climate-press-source {
    color: #555c64;
    font-size: 0.75rem;
    font-weight: 600;
    margin: auto 0 0;
    padding-top: 0.25rem;
}

.climate-adaptation .climate-press .climate-press-link:hover .testimonial-subject,
.climate-adaptation .climate-press .climate-press-link:focus-visible .testimonial-subject {
    text-decoration: underline;
}

@media (min-width: 992px) {
    .climate-adaptation #climate-featured #home-main-featured > .col {
        width: calc(100% / 3);
    }

    .climate-adaptation .climate-country-publications .apri-home-desktop-scroll.row-cols-lg-3 {
        --climate-publication-width: calc(100% / 3);
        mask-image: none;
    }

    .climate-adaptation .climate-country-publications .apri-home-desktop-scroll > .col {
        flex-basis: var(--climate-publication-width, 25%) !important;
        width: var(--climate-publication-width, 25%) !important;
        max-width: var(--climate-publication-width, 25%) !important;
    }
}
