.homepage {
    background: #fff;
    letter-spacing: 0;
}

.homepage *,
.homepage *::before,
.homepage *::after {
    letter-spacing: 0;
}

.homepage :focus-visible {
    outline: 3px solid #e9af16;
    outline-offset: 4px;
}

.home-skip-link {
    position: fixed;
    top: 8px;
    left: 16px;
    z-index: 10000;
    padding: 12px 20px;
    color: #fff;
    background: #07166d;
    transform: translateY(-160%);
}

.home-skip-link:focus {
    transform: translateY(0);
}

.homepage .hero-track,
.homepage .banner-slide {
    height: auto;
    min-height: min(var(--slider-min-height, 410px), 560px);
}

.homepage .banner-slide {
    padding: 0;
}

.homepage .hero-track {
    display: grid;
}

.homepage .hero-slide {
    position: relative;
    grid-area: 1 / 1;
}

.homepage .hero-slide:not(.is-active) {
    visibility: hidden;
}

.homepage .banner-slide::before {
    background: linear-gradient(90deg, rgba(8, 20, 38, .94), rgba(8, 20, 38, .78) 38%, rgba(8, 20, 38, .12) 76%);
}

.homepage .banner-slide img {
    width: 100%;
    height: 100%;
    object-position: center 38%;
}

.homepage .banner-overlay {
    padding: 52px 0 88px;
}

.homepage .banner-overlay h1,
.homepage .banner-overlay h2 {
    max-width: 700px;
    color: var(--slide-heading-color, #fff);
    font-family: var(--slide-heading-family, Inter, Arial, sans-serif);
    font-size: var(--slide-heading-size, min(var(--slider-title-size, 46px), 48px));
    font-weight: var(--slide-heading-weight, 700);
    font-style: var(--slide-heading-style, normal);
    line-height: 1.14;
    text-wrap: balance;
    overflow-wrap: anywhere;
}

.homepage .banner-overlay p {
    max-width: 610px;
    font-size: min(var(--slider-text-size, 18px), 22px);
    line-height: 1.65;
}

.homepage .banner-actions .banner-action-primary {
    border-color: #cf1e36;
    color: #fff;
    background: #cf1e36;
}

.home-carousel-controls {
    position: absolute;
    right: max(16px, calc((100% - 1180px) / 2));
    bottom: 20px;
    z-index: 6;
    display: flex;
    align-items: center;
    gap: 8px;
}

.homepage .home-carousel-controls .slider-button,
.home-carousel-pause {
    position: static;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, .55);
    border-radius: 50%;
    color: #fff;
    background: rgba(8, 20, 38, .55);
    transform: none;
    cursor: pointer;
    box-shadow: none;
}

.home-carousel-pause {
    font-size: 13px;
}

.homepage .home-carousel-controls .hero-dots {
    position: static;
    gap: 0;
    transform: none;
}

.homepage .hero-dots button {
    position: relative;
    width: 32px;
    height: 44px;
    background: transparent;
    box-shadow: none;
}

.homepage .hero-dots button::after {
    position: absolute;
    content: "";
    inset: 18px 8px;
    border-radius: 4px;
    background: rgba(255, 255, 255, .55);
}

.homepage .hero-dots button.is-active::after {
    background: #fff;
}

.home-quick-links {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    border-bottom: 1px solid #dce3e8;
}

.home-quick-links a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    min-height: 76px;
    padding: 20px 24px;
    color: #10212f;
    font-size: 15px;
    font-weight: 700;
}

.home-quick-links a + a {
    border-left: 1px solid #dce3e8;
}

.home-quick-links a:hover {
    color: #b31327;
    background: #f8fafb;
}

.home-quick-links a > span:last-child {
    color: #b31327;
    font-size: 22px;
}

.homepage .stats-band {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    margin-top: 0;
    margin-bottom: 0;
    padding: 32px 0;
    border-bottom: 1px solid #dce3e8;
}

.homepage .stats-band article {
    min-height: 90px;
    padding: 12px;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    transform: none;
}

.homepage .stats-band article + article {
    border-left: 1px solid #dce3e8;
}

.homepage .stats-band article::before {
    content: none;
}

.homepage .stats-band strong {
    font-size: 36px;
    font-variant-numeric: tabular-nums;
}

.homepage .stats-band article > span {
    color: #566673;
    font-size: 12px;
    line-height: 1.5;
}

/* Purpose: open editorial statements alongside the association's principles. */
.homepage .purpose-section {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    width: 100%;
    margin: 0;
    padding: 72px 0 80px;
    border-top: 1px solid #e6eaf2;
    border-bottom: 1px solid #e6eaf2;
    color: #10212f;
    background: #f5f7fc;
    scroll-margin-top: 130px;
}

.homepage .purpose-section::before {
    content: none;
}

.purpose-watermark {
    position: absolute;
    top: 16px;
    right: max(24px, calc((100% - 1260px) / 2));
    z-index: -1;
    width: 300px;
    height: 300px;
    object-fit: contain;
    opacity: .025;
    filter: grayscale(1);
    pointer-events: none;
}

.homepage .purpose-shell {
    width: min(1180px, calc(100% - 48px));
    margin: 0 auto;
    padding: 0;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
}

.purpose-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 44px;
}

.homepage .purpose-heading {
    display: block;
    max-width: 720px;
    margin: 0;
    padding: 0;
    border: 0;
}

.homepage .purpose-eyebrow {
    display: inline-flex;
    gap: 12px;
    padding: 0;
    border: 0;
    border-radius: 0;
    color: #b31327;
    background: transparent;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.6;
}

.homepage .purpose-eyebrow::before {
    content: "";
    flex: 0 0 28px;
    height: 2px;
    background: currentColor;
}

.homepage .partners-heading .eyebrow {
    padding: 0;
    border: 0;
    border-radius: 0;
    color: #b31327;
    background: transparent;
    font-size: 12px;
}

.homepage .purpose-section h2 {
    max-width: 720px;
    margin: 14px 0 0;
    color: #07166d;
    font-size: var(--purpose-heading-size, 30px);
    font-weight: 700;
    line-height: 1.35;
    text-wrap: balance;
    overflow-wrap: anywhere;
}

.purpose-about-link {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    flex: 0 0 auto;
    gap: 20px;
    min-height: 44px;
    padding: 10px 0;
    border-bottom: 1px solid #bcc5d7;
    color: #07166d;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.5;
}

.purpose-about-link > span {
    color: #b31327;
    font-size: 20px;
}

.purpose-about-link:hover {
    border-color: #b31327;
    color: #b31327;
}

.purpose-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
    gap: 64px;
}

.purpose-statements {
    min-width: 0;
}

.purpose-statement {
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr);
    gap: 22px;
    padding: 28px 0;
}

.purpose-statement:first-child {
    padding-top: 0;
}

.purpose-statement:last-child {
    padding-bottom: 0;
}

.purpose-statement + .purpose-statement {
    margin-top: 4px;
    border-top: 1px solid #dce2ed;
}

.purpose-statement-icon {
    display: grid;
    place-items: center;
    width: 56px;
    height: 56px;
    border: 1px solid #dce2ed;
    border-radius: 16px;
    color: #07166d;
    background: #fff;
}

.purpose-statement:first-child .purpose-statement-icon {
    border-color: #eddae0;
    color: #b31327;
    background: #fdf1f3;
}

.purpose-statement-icon svg {
    width: 28px;
    height: 28px;
}

.purpose-statement-label,
.purpose-values-label {
    display: block;
    margin-bottom: 6px;
    color: #616d83;
    font-size: 10px;
    font-weight: 700;
    line-height: 1.6;
    text-transform: uppercase;
}

.homepage .purpose-statement h3,
.homepage .purpose-values h3 {
    margin: 0 0 12px;
    color: #07166d;
    font-size: var(--purpose-card-title-size, 21px);
    font-weight: 700;
    line-height: 1.35;
    overflow-wrap: anywhere;
}

.purpose-statement p {
    margin: 0;
    color: #526079;
    font-size: var(--purpose-card-text-size, 16px);
    line-height: 1.85;
    overflow-wrap: anywhere;
}

.purpose-values {
    position: relative;
    min-width: 0;
    padding: 32px;
    overflow: hidden;
    border: 1px solid #4a608d;
    border-radius: 20px;
    color: #fff;
    background: #344d7d;
    box-shadow: 0 16px 32px -20px rgba(7, 22, 109, .35);
}

.purpose-values::before {
    position: absolute;
    top: 0;
    left: 32px;
    width: 48px;
    height: 3px;
    content: "";
    background: #e9af16;
}

.purpose-values-heading {
    display: flex;
    align-items: center;
    gap: 16px;
}

.purpose-values-emblem {
    display: grid;
    flex: 0 0 48px;
    place-items: center;
    width: 48px;
    height: 48px;
    border: 1px solid #65799e;
    border-radius: 14px;
    color: #f2c75c;
    background: #405986;
}

.purpose-values-emblem svg {
    width: 26px;
    height: 26px;
}

.purpose-values-label {
    color: #c1cae4;
}

.homepage .purpose-values h3 {
    margin: 0;
    color: #fff;
}

.purpose-values-intro {
    margin: 20px 0 24px;
    color: #c1cae4;
    font-size: var(--purpose-card-text-size, 16px);
    line-height: 1.65;
}

.purpose-values-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 24px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.purpose-values-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    padding: 18px 0;
    border-top: 1px solid #5a6e96;
    font-size: var(--purpose-card-text-size, 16px);
    font-weight: 500;
    line-height: 1.5;
    overflow-wrap: anywhere;
}

.purpose-values-list li:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    padding-bottom: 0;
}

.purpose-value-icon {
    display: grid;
    flex: 0 0 24px;
    place-items: center;
    color: #a9bedf;
}

.purpose-value-icon svg {
    width: 22px;
    height: 22px;
}

.purpose-values-list li:last-child:nth-child(odd) .purpose-value-icon {
    color: #f2c75c;
}

.homepage .news-section {
    padding: 48px 0;
}

.homepage .news-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    max-width: none;
    margin-bottom: 28px;
    text-align: left;
}

.homepage .news-heading > div {
    justify-items: start;
}

.homepage .news-heading h2 {
    margin: 0;
    color: #07166d;
    font-size: 28px;
    line-height: 1.3;
}

.home-text-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    color: #b31327;
    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;
}

.homepage .news-card {
    display: flex;
    flex-direction: column;
    box-shadow: none;
}

.homepage .news-card:hover {
    box-shadow: 0 8px 24px rgba(16, 33, 47, .07);
}

.homepage .news-thumb {
    position: relative;
    flex-shrink: 0;
    padding: 0;
    background: #eef2f4;
}

.homepage .news-thumb img {
    width: 100%;
    height: 100%;
    margin: 0;
}

.homepage .news-thumb .home-news-placeholder {
    position: absolute;
    inset: 22%;
    width: 56%;
    height: 56%;
    object-fit: contain;
}

.homepage .news-thumb span {
    position: absolute;
    bottom: 12px;
    left: 16px;
    border-radius: 4px;
    font-size: 11px;
}

.homepage .news-card h3 {
    font-size: 19px;
}

.homepage .news-card h3 .home-news-title {
    display: inline;
    margin: 0;
    font: inherit;
}

.homepage .news-card p {
    margin-top: 0;
    font-size: 14px;
}

.homepage .news-card > a {
    align-self: flex-start;
    margin-top: auto;
    padding-top: 8px;
    font-size: 14px;
}

.home-news-empty {
    grid-column: 1 / -1;
    color: #566673;
}

.homepage .partners-section {
    margin-bottom: 0;
    padding: 40px 0 56px;
    border: 0;
    border-top: 1px solid #dce3e8;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
}

.homepage .partners-heading {
    max-width: none;
    margin-bottom: 28px;
}

.homepage .partners-heading h2 {
    font-size: 28px;
}

.home-partners-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.homepage .home-partners-grid .partner-card {
    width: auto;
    min-width: 0;
    padding: 20px 16px;
    box-shadow: none;
}

.homepage .home-partners-grid .partner-mark {
    background: #07166d;
}

.homepage .home-partners-grid .partner-card:nth-child(2) .partner-mark {
    background: #b31327;
}

.homepage .home-partners-grid .partner-card:nth-child(3) .partner-mark {
    background: #087d79;
}

.homepage .floating-contact-link {
    bottom: 24px;
    top: auto;
    min-height: 48px;
    border-radius: 8px;
    background: #b31327;
    box-shadow: 0 5px 20px rgba(16, 33, 47, .18);
}

.homepage .floating-contact-link::before {
    content: none;
}

@media (max-width: 900px) {
    .homepage .banner-overlay h1,
    .homepage .banner-overlay h2 {
        max-width: 600px;
        font-size: var(--slide-heading-tablet-size, 36px);
    }

    .purpose-header {
        align-items: flex-start;
        flex-direction: column;
        gap: 18px;
        margin-bottom: 36px;
    }

    .purpose-layout {
        gap: 32px;
    }

    .purpose-values {
        padding: 26px;
    }

    .purpose-values-list {
        column-gap: 16px;
    }

    .purpose-statement {
        grid-template-columns: 44px minmax(0, 1fr);
        gap: 16px;
    }

    .purpose-statement-icon {
        width: 44px;
        height: 44px;
        border-radius: 12px;
    }

    .home-partners-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .purpose-layout {
        grid-template-columns: 1fr;
        gap: 36px;
    }
}

@media (max-width: 600px) {
    .homepage .banner-overlay {
        padding: 36px 0 80px;
    }

    .homepage .banner-overlay h1,
    .homepage .banner-overlay h2 {
        max-width: 100%;
        font-size: var(--slide-heading-mobile-size, 30px);
    }

    .homepage .banner-overlay p {
        font-size: 15px;
    }

    .homepage .banner-slide::before {
        background: rgba(8, 20, 38, .8);
    }

    .homepage .banner-actions a {
        flex: 1 1 auto;
        padding: 12px;
        font-size: 13px;
    }

    .home-quick-links {
        grid-template-columns: 1fr;
    }

    .home-quick-links a {
        min-height: 56px;
        padding: 16px 0;
        font-size: 14px;
    }

    .home-quick-links a + a {
        border-left: 0;
        border-top: 1px solid #dce3e8;
    }

    .homepage .stats-band {
        padding: 20px 0;
    }

    .homepage .stats-band strong {
        font-size: 26px;
    }

    .homepage .stats-band article {
        padding: 8px;
    }

    .homepage .stats-band article > span {
        font-size: 10px;
    }

    .homepage .purpose-section {
        padding: 44px 0 48px;
        scroll-margin-top: 150px;
    }

    .homepage .purpose-shell {
        width: calc(100% - 40px);
    }

    .homepage .purpose-section h2 {
        font-size: min(var(--purpose-heading-size, 30px), 26px);
    }

    .homepage .purpose-eyebrow {
        font-size: 11px;
    }

    .homepage .purpose-statement h3,
    .homepage .purpose-values h3 {
        font-size: min(var(--purpose-card-title-size, 21px), 24px);
    }

    .purpose-statement p,
    .purpose-values-intro,
    .purpose-values-list li {
        font-size: min(var(--purpose-card-text-size, 16px), 18px);
    }

    .purpose-values {
        padding: 24px;
        border-radius: 16px;
    }

    .purpose-values-list li {
        gap: 8px;
        font-size: min(var(--purpose-card-text-size, 16px), 14px);
    }

    .homepage .news-section {
        padding: 32px 0;
    }

    .homepage .news-heading {
        align-items: flex-start;
        gap: 8px;
    }

    .homepage .news-heading h2,
    .homepage .partners-heading h2 {
        font-size: 24px;
    }

    .homepage .home-partners-grid .partner-card {
        padding: 16px 12px;
    }

    .homepage .floating-contact-link {
        right: 14px;
        bottom: 14px;
        width: 48px;
        height: 48px;
    }
}

@media (max-width: 380px) {
    .purpose-values-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 360px) {
    .home-partners-grid {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    .homepage {
        scroll-behavior: auto;
    }

    .homepage *,
    .homepage *::before,
    .homepage *::after {
        animation: none !important;
        transition: none !important;
    }

    .homepage .banner-slide.is-active .banner-overlay > *,
    .homepage .banner-slide.is-active .banner-actions {
        opacity: 1;
        transform: none;
    }
}
