.home {
    background: #fff;
    color: #1f1b36;
}
main{
    display: flex;
    gap: 4rem;
    flex-direction: column;
    background: #fff;
}
:root {
    --home-top-gradient: linear-gradient(310deg, #f9f9fe 37.98%, #f9fff7 71.15%, #f9f9f9 93.27%);
    --home-shell: min(82.5rem, calc(100% - 7.5rem));
    --home-shell-wide: min(85rem, calc(100% - 5rem));
    --home-section-space: var(--space-64);
    --home-nav-gap: 1.125rem;
    --home-pill-padding-y: 0.875rem;
    --home-pill-padding-x: 1.25rem;
    --hero-space-block: 3.25rem 2.5rem;
    --hero-lead-max-width: 45rem;
    --hero-cta-inset: 1.5rem;
    --hero-top-chip-top: 1.5rem;
    --hero-top-chip-right: 1.5rem;
    --hero-event-card-width: 26.9375rem;
    --hero-event-card-image-width: 8.5rem;
    --hero-event-card-image-height: 9.0625rem;
    --hero-event-card-gap: 1rem;
    --facts-grid-columns: 22.9375rem 10.1875rem 13.3125rem 11.625rem;
    --mobile-nav-panel-width: min(20rem, 88vw);
    --mobile-nav-panel-padding: 5rem 1rem 1.25rem;
    --footer-gap: 2rem;
    --footer-padding-y: 2.5rem;
    --footer-links-mobile-columns: repeat(2, minmax(0, 1fr));
}

.home-wrap {
    width: var(--home-shell);
    margin: 0 auto;
}

body.menu-open {
    overflow: hidden;
}

.home-topbar__inner,
.home-footer>.home-wrap,
.home-footer__copy {
    width: var(--home-shell);
}

.hero.home-wrap{
    width: var(--home-shell-wide);
}

.home-section.home-wrap {
    width: var(--home-shell);
}

.home-topbar {
    font-size: var(--fig-fs-12);
    line-height: var(--fig-lh-18);
    color: #475569;
    background: var(--home-top-gradient);
}
header{
    background: var(--home-top-gradient);
}
.home-topbar__inner {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    padding: 0.375rem 0;
}

.home-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.25rem;
    padding: 0;
    padding-top: 0.6875rem;
    min-height: 2.875rem;
    background: transparent;
}

.home-header__left {
    display: flex;
    align-items: center;
    gap: 1rem;
    min-width: 6.75rem;
}

.home-logo img {
    width: 2.875rem;
    height: 2.5rem;
    object-fit: contain;
}

.home-logo picture {
    display: block;
}

.home-logo-secondary-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
}

.home-logo-secondary {
    width: 2.875rem;
    height: 2.875rem;
    object-fit: contain;
}

.home-nav {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: var(--fig-fs-14);
}

.home-nav a {
    color: #23223b;
    font-size: var(--fig-fs-14);
    line-height: var(--fig-lh-18);
    font-weight: 400;
}

.home-nav__search-link {
    display: none;
}

.home-nav a.is-active,
.home-nav a[aria-current="page"] {
    color: #150f2a;
    font-weight: 600;
    border: 0.0625rem solid #2a2842;
    border-radius: 62.4375rem;
    padding: var(--home-pill-padding-y) var(--home-pill-padding-x);
    min-height: 2.875rem;
    display: inline-flex;
    align-items: center;
    box-sizing: border-box;
}

.home-pill {
    border: 0.0625rem solid #2a2842;
    border-radius: 62.4375rem;
    padding: var(--home-pill-padding-y) var(--home-pill-padding-x);
    font-size: var(--fig-fs-14);
    line-height: var(--fig-lh-18);
    font-weight: 600;
}

.home-header__right {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.home-search {
    background: transparent;
    border: 0;
    width: 1.25rem;
    height: 1.25rem;
    padding: 0;
    color: #31304a;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.home-search svg {
    width: 1.25rem;
    height: 1.25rem;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.home-search:hover,
.home-search:focus-visible {
    color: #8163ea;
}

.home-donate {
    background: transparent;
}

.home-lang-switch {
    position: relative;
    display: inline-block;
    width: 3.625rem;
    height: 1.5rem;
    padding: 0;
    border: 0;
    border-radius: 62.4375rem;
    background: #8163ea;
    color: #fff;
    overflow: visible;
}

.home-lang-switch__label {
    position: absolute;
    top: 50%;
    left: 0.25rem;
    width: 2rem;
    transform: translateY(-50%);
    text-align: center;
    font-size: var(--fig-fs-12);
    line-height: var(--fig-lh-18);
    font-weight: 500;
    z-index: 2;
    user-select: none;
    pointer-events: none;
    transition: left 220ms ease;
}

.home-lang-switch__thumb {
    position: absolute;
    top: 0.1562rem;
    left: -0.0625rem;
    width: 1.625rem;
    height: 1.625rem;
    background: url("../assets/index/icons/lang-thumb.svg") center / contain no-repeat;
    transition: transform 220ms ease;
    z-index: 1;
    pointer-events: none;
}

.home-lang-switch[data-lang="uk"] .home-lang-switch__thumb {
    transform: translateX(2.0625rem);
}

.home-lang-switch[data-lang="en"] .home-lang-switch__label {
    left: 1.625rem;
}

.home-burger {
    display: none;
    width: 1.375rem;
    height: 1.125rem;
    background: transparent;
    border: 0;
    padding: 0;
    position: relative;
}

.home-nav__close {
    display: none;
}

.home-burger svg {
    display: block;
    width: 100%;
    height: 100%;
}

.home-pill,
.home-btn--outlined,
.home-btn--primary,
.partners-cta,
.hero__cta,
.program-card__arrow,
.op-card__arrow,
.events-list__arrow,
.home-lang-switch,
.home-search {
    transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease, box-shadow 180ms ease, transform 120ms ease;
}

.home-pill,
.home-btn--outlined,
.home-btn--primary,
.partners-cta,
.hero__cta {
    min-height: 2.875rem;
    height: 2.875rem;
    box-sizing: border-box;
}

.home-donate {
    min-height: 3rem;
    height: 3rem;
}

.home-pill:hover,
.home-pill:focus-visible,
.home-btn--outlined:hover,
.home-btn--outlined:focus-visible,
.program-card__arrow:hover,
.program-card__arrow:focus-visible,
.op-card__arrow:hover,
.op-card__arrow:focus-visible,
.events-list__arrow:hover,
.events-list__arrow:focus-visible {
    background: #f7f6fb;
    border-color: #2f2946;
}

.partners-cta:hover,
.partners-cta:focus-visible,
.hero__cta:hover,
.hero__cta:focus-visible,
.home-btn--primary:hover,
.home-btn--primary:focus-visible {
    background: #7257e4;
    box-shadow: 0 0.5rem 1.5rem rgba(99, 75, 193, 0.18);
}

.home-pill:focus-visible,
.home-btn--outlined:focus-visible,
.home-btn--primary:focus-visible,
.partners-cta:focus-visible,
.hero__cta:focus-visible,
.program-card__arrow:focus-visible,
.op-card__arrow:focus-visible,
.events-list__arrow:focus-visible,
.home-search:focus-visible,
.home-lang-switch:focus-visible,
.home-burger:focus-visible {
    outline: 0.125rem solid rgba(129, 99, 234, 0.42);
    outline-offset: 0.125rem;
}

.hero {
    position: relative;
    isolation: isolate;
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
}

.hero::before {
    content: "";
    position: absolute;
    z-index: -1;
    top: 0;
    bottom: -4rem;
    left: 50%;
    width: 100vw;
    transform: translateX(-50%);
    background: var(--home-top-gradient);
    pointer-events: none;
}

.hero__kicker {
    margin: 0 0 1rem;
    color: #106634;
    font-size: var(--fig-fs-12);
    line-height: var(--fig-lh-18);
    font-weight: 600;
    display: inline-flex;
    gap: 1rem;
    align-items: center;
    background: linear-gradient(310deg, #efeef9 30%, #f0fdec 71.15%, #f0f0f0 93.27%);
    border: 0.0187rem solid #cab9ec;
    border-radius: 3.75rem;
    padding: 0.5rem 0.75rem;
}

.hero__dot {
    display: inline-flex;
}

.hero__dot svg {
    width: 0.75rem;
    height: 0.75rem;
}

.hero__dot img {
    width: 0.75rem;
    height: 0.75rem;
    display: block;
}

.hero h1 {
    margin: 0;
    font-family: var(--second-family);
    font-size: var(--fig-fs-50);
    line-height: var(--fig-lh-50);
    letter-spacing: 0;
    max-width: 48rem;
    font-weight: 600;
    overflow-wrap: anywhere;
}

.hero__green {
    background: linear-gradient(90deg, #10b956 0%, var(--color-accent) 23.9%, #7c3aed 45.42%);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
}

.hero__lead {
    margin: 1.125rem 0 2rem;
    max-width: var(--hero-lead-max-width);
    color: #7d758d;
    font-size: var(--fig-fs-18);
    line-height: var(--fig-lh-30);
}

.hero__media {
    position: relative;
    height: 36.4375rem;
    border-radius: 1.25rem;
    overflow: hidden;
    margin-top: 0.375rem;
}

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

.hero__media > img,
.hero__avatars img,
.hero__event-card > img {
    border: 0.0625rem solid #fff;
    box-sizing: border-box;
}

.hero__media > img {
    border-radius: inherit;
}

.hero__cta {
    position: absolute;
    left: var(--hero-cta-inset);
    top: var(--hero-cta-inset);
    z-index: 2;
    border: 0;
    background: #8163ea;
    color: var(--color-bg);
    border-radius: 6.25rem;
    height: 2.875rem;
    padding: 0.5rem 0.25rem 0.5rem 1.5rem;
    font-weight: 600;
    font-size: var(--fig-fs-14);
    line-height: var(--fig-lh-18);
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    min-height: 2.875rem;
    box-sizing: border-box;
}

.hero__cta-arrow {
    width: 2.5625rem;
    height: 2.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 0;
}

.hero__cta-arrow img {
    width: 100%;
    height: 100%;
    display: block;
}

.hero__top-chip {
    position: absolute;
    right: var(--hero-top-chip-right);
    top: var(--hero-top-chip-top);
    z-index: 2;
    background: #fff;
    border: 0.0187rem solid #cab9ec;
    border-radius: 4.375rem;
    padding: 0.5rem 1rem 0.5rem 0.5rem;
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.hero__avatars {
    display: flex;
    align-items: center;
    padding-right: 1.25rem;
}

.hero__avatars img {
    width: 2.8125rem;
    height: 2.8125rem;
    border-radius: 50%;
    border: 0.125rem solid #fff;
    box-sizing: border-box;
    object-fit: cover;
    margin-left: -1.25rem;
}

.hero__avatars img:first-child {
    margin-left: 0;
}

.hero__top-chip p {
    margin: 0;
    font-size: var(--fig-fs-16);
    line-height: var(--fig-lh-18);
    color: #150f2a;
    font-family: var(--second-family);
    max-width: 10.5rem;
}

.hero__top-chip strong {
    color: #1f1b36;
    font-weight: 600;
}

.hero__top-chip span {
    font-weight: 300;
    font-size: var(--fig-fs-12);
    line-height: var(--fig-lh-14);
    color: #150f2a;
}

.hero__social {
    position: absolute;
    right: 1.5rem;
    top: 5.875rem;
    z-index: 3;
    display: inline-flex;
    gap: 0;
}

.hero__social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: -0.25rem;
}

.hero__social a:first-child {
    margin-left: 0;
}

.hero__social a img,
.hero__social a svg {
    width: 2.5rem;
    height: 2.5rem;
    display: block;
}

.hero__event-control svg {
    display: block;
    flex: 0 0 auto;
}

.hero__event-controls .hero__event-control:first-child svg {
    width: 1.25rem;
    height: 1.25rem;
}

.hero__event-controls .hero__event-control:last-child svg {
    width: 0.8125rem;
    height: 0.6875rem;
}

.hero__event-card {
    position: absolute;
    right: 1.5rem;
    bottom: 1.5rem;
    background: #fff;
    border-radius: 1.25rem;
    padding: 0.875rem;
    display: grid;
    grid-template-columns: minmax(0, var(--hero-event-card-image-width)) minmax(0, 1fr);
    gap: var(--hero-event-card-gap);
    width: var(--hero-event-card-width);
    height: 10.8125rem;
    min-height: 10.8125rem;
    box-shadow: 0 0.5rem 1.5rem rgba(17, 12, 37, 0.14);
}

.hero__event-card img {
    width: var(--hero-event-card-image-width);
    height: var(--hero-event-card-image-height);
    object-fit: cover;
    border-radius: 0.625rem;
}

.hero__event-card-content {
    display: flex;
    flex-direction: column;
    min-width: 0;
    position: relative;
    padding-top: 3.5rem;
}

.hero__event-controls {
    position: absolute;
    top: 0;
    right: 0;
    margin-left: 0;
    display: inline-flex;
    gap: 0.5rem;
    margin-bottom: 0;
}

.hero__event-control {
    border: 0.0625rem solid #150f2a;
    border-radius: 1.25rem;
    background: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 0;
    width: 3.375rem;
    height: 2.5rem;
    min-width: 3.375rem;
    min-height: 2.5rem;
    padding: 0;
}

.hero__event-control--calendar {
    width: auto;
    min-width: 3.375rem;
    padding: 0 0.875rem;
}

.hero__event-control--calendar img {
    width: 1.7113rem;
    height: 1.25rem;
    display: block;
    flex: 0 0 auto;
    object-fit: contain;
    border-radius:unset;
}

.hero__event-card p {
    margin: 0 0 0.25rem;
    color: #9a99ad;
    font-size: var(--fig-fs-16);
    line-height: var(--fig-lh-18);
    font-family: var(--second-family);
    font-weight: 400;
}

.hero__event-card h3 {
    margin: 0;
    font-size: var(--fig-fs-28);
    line-height: var(--fig-lh-36);
    letter-spacing: -0.01em;
    font-weight: 600;
    font-family: var(--second-family);
    overflow-wrap: anywhere;
}

.facts {
    background: var(--home-top-gradient);
    border-top: 0;
    border-bottom: 0;
    margin-bottom: 1.5rem;
}

.facts__inner {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 3.75rem;
    padding: 1.75rem 0 1.625rem;
}

.facts__lead {
    flex: 0 0 28.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.facts__stats {
    flex: 0 0 41.875rem;
    display: grid;
    grid-template-columns: 10.1875rem 13.3125rem 11.625rem;
    column-gap: 3.375rem;
    align-items: start;
}

.facts__stat {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.facts__stat:not(:first-child)::before {
    content: "";
    position: absolute;
    top: 0.875rem;
    left: -2.25rem;
    width: 6rem;
    border-top: 0.0625rem solid #cfcfd8;
    transform: rotate(90deg);
    transform-origin: left top;
}

.facts h3 {
    margin: 0;
    font-size: var(--fig-fs-46);
    line-height: var(--fig-lh-50);
    font-weight: 600;
    font-family: var(--second-family);
}

.facts p {
    margin: 0;
    color: #7a7990;
    font-size: var(--fig-fs-18);
    line-height: var(--fig-lh-24);
}

.home-section {
    padding: var(--home-section-space) 0 0;
}

main:is(.about-page, .science-page, .ai-meetups-page, .alumni-page, .alumni-program-page, .program-text-main, .school-detail-page, .schools-page, .search-page, .programs-main) > section + section {
    margin-top: var(--home-section-space);
}

.home-section h2 {
    margin: 0;
    font-size: var(--fig-fs-46);
    font-weight: 600;
    line-height: var(--fig-lh-50);
    letter-spacing: 0;
    font-family: var(--second-family), sans-serif;
}

.home-section__copy {
    margin: 1.5rem 0 2.5rem;
    color: #83839a;
    max-width: 67.375rem;
    font-size: var(--fig-fs-18);
    line-height: var(--fig-lh-30);
}

.home-section__head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.25rem;
}

.home-btn--outlined {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    border: 0.0625rem solid #4e4d64;
    background: transparent;
    border-radius: 3.125rem;
    min-height: 2.875rem;
    padding: 0.5rem 1.5rem;
    box-shadow: 0 0.25rem 0.3125rem rgba(0, 0, 0, 0.05);
    font-weight: 600;
    font-size: var(--fig-fs-14);
    line-height: var(--fig-lh-18);
    justify-content: center;
}

.home-tabs {
    display: flex;
    align-items: center;
    gap: 0;
    border-bottom: 0.0625rem solid #d4d5de;
    margin-bottom: 0;
}

.home-tabs__button {
    flex: 1;
    border: 0;
    background: transparent;
    min-height: 2.75rem;
    padding: 0.75rem 1.25rem;
    color: #8c879b;
    font-family: var(--second-family);
    font-weight: 500;
    font-size: var(--fig-fs-22);
    line-height: 1.25rem;
}

.home-tabs__button--active {
    color: #1f1b36;
    font-weight: 500;
    border-bottom: 0.125rem solid #1f1b36;
}

.programs-toolbar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 2.5625rem;
    margin-bottom: 2.25rem;
}

.programs-toolbar .home-tabs {
    margin-bottom: 0;
    width: 100%;
    min-width: 0;
}

.programs-toolbar .home-tabs__button--active {
    color: #150f2a;
}

.program-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 26.5rem));
    justify-content: space-between;
    gap: 1.5rem;
}

.program-card {
    background: #e8f2e7;
    border-radius: 1.25rem;
    padding: 1.5rem;
    position: relative;
    min-height: 22rem;
}

.program-card__media {
    --program-card-media-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpath fill='white' d='M10 0H90Q100 0 100 10V68Q100 76 94 80L20 98Q14 100 10 100Q0 100 0 90V10Q0 0 10 0Z'/%3E%3C/svg%3E");
    position: relative;
    width: 13.75rem;
    height: 7.875rem;
    border-radius: 1.25rem;
    overflow: hidden;
    -webkit-mask-image: var(--program-card-media-mask);
    mask-image: var(--program-card-media-mask);
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-size: 100% 100%;
    mask-size: 100% 100%;
    -webkit-mask-position: center;
    mask-position: center;
}

.program-card__media::after {
    content: none;
}

.program-card__top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0.75rem;
}

.program-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.program-card h3 {
    margin: 1rem 0 0.5rem;
    font-size: var(--fig-fs-28);
    font-weight: 600;
    line-height: var(--fig-lh-36);
    color: #150f2a;
}

.program-card p {
    margin: 0;
    font-size: var(--fig-fs-18);
    font-family: var(--third-family), serif;
    font-weight: 500;
    line-height: var(--fig-lh-30);
    color: #839b8d;
}

.program-card__arrow {
    position: static;
    width: 3.375rem;
    height: 2.5rem;
    flex: 0 0 auto;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 0;
    border-radius: 1.25rem;
    border: 0.0625rem solid #4f4d63;
    background: transparent;
    color: #2d2b43;
    text-decoration: none;
}

.program-card--feature {
    display: flex;
    flex-direction: column;
}

.program-card--feature .program-card__feature-row {
    margin-top: auto;
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.program-card--feature img {
    width: 100%;
    height: 100%;
}

.program-card--feature .program-card__media {
    --program-card-media-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpath fill='white' d='M10 0L90 20Q100 23 100 30V90Q100 100 90 100H10Q0 100 0 90V10Q0 0 10 0Z'/%3E%3C/svg%3E");
    width: 12rem;
    height: 7.875rem;
}

.program-card--feature .program-card__arrow {
    position: absolute;
    right: 1.5rem;
    bottom: 1.5rem;
}

#opportunities {
    position: relative;
    padding-bottom: 5rem;
    background: #fff;
}

#opportunities::before {
    content: "";
    position: absolute;
    inset: 0 calc(50% - 50vw);
    z-index: -1;
    background: #fff;
    pointer-events: none;
}

.op-grid {
    display: grid;
    grid-template-columns: repeat(3, 20.1875rem);
    gap: 2.5rem;
    justify-content: flex-start;
}

.op-card {
    background: #fff;
    border-radius: 1.25rem;
    padding: 2rem;
    min-height: 22.25rem;
    max-width: 20.1875rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: relative;
    overflow: hidden;
    isolation: isolate;
    box-shadow: 0 1.25rem 2.5rem rgba(92, 68, 181, 0.08);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.op-card::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background: radial-gradient(circle at 86% 18%, rgba(129, 99, 234, 0.28), transparent 38%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.74), rgba(129, 99, 234, 0.18));
    opacity: 0;
    transition: opacity 0.35s ease;
    pointer-events: none;
}

.op-card:hover,
.op-card:focus-within {
    transform: translateY(-0.25rem);
    box-shadow: 0 1.5rem 3.25rem rgba(92, 68, 181, 0.16);
}

.op-card:hover::before,
.op-card:focus-within::before {
    opacity: 1;
}

.op-card h3,
.op-card p {
    position: relative;
    z-index: 1;
}

.op-card h3 {
    margin: 0 0 1rem;
    font-family: var(--second-family);
    font-weight: 600;
    font-size: 1.75rem;
    line-height: 2.25rem;
    color: #150f2a;
    max-width: 16.125rem;
}

.op-card p {
    margin: 0;
    font-family: var(--third-family);
    font-weight: 500;
    font-size: 1rem;
    line-height: 1.75rem;
    color: #7d758d;
}

.op-card__arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3.375rem;
    height: 2.5rem;
    padding: 0;
    margin-top: 1.875rem;
    justify-self: start;
    align-self: flex-start;
    line-height: 0;
    border-radius: 1.25rem;
    border: 0.0625rem solid #4f4d63;
    background: transparent;
    color: #2b2a41;
    text-decoration: none;
    position: relative;
    z-index: 1;
}

.op-card__mobile-meta {
    position: absolute;
    right: 1rem;
    bottom: 1rem;
    z-index: 0;
    display: block;
    width: 10.5rem;
    height: 7rem;
    opacity: 0;
    transform: translateY(1rem) scale(0.96);
    transition: opacity 0.45s ease, transform 0.45s ease;
    pointer-events: none;
}

.op-card:hover .op-card__mobile-meta,
.op-card:focus-within .op-card__mobile-meta {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.op-card__mobile-meta img {
    width: 100%;
    height: 100%;
    border: 0.0625rem solid #fff;
    border-radius: 0.875rem;
    object-fit: cover;
    box-shadow: 0 1rem 2rem rgba(21, 15, 42, 0.16);
}

.op-card__mobile-meta > div {
    display: none;
}

.events-list {
    display: grid;
    gap: 1rem;
}

.events-list article {
    display: grid;
    grid-template-columns: 19.4375rem minmax(0, 1fr) auto auto;
    align-items: center;
    gap: 2.5rem;
    padding: 1rem;
    min-height: 7.6875rem;
    border-radius: 1.25rem;
    background: #fff;
}

.events-list img {
    width: 19.4375rem;
    height: 5.6875rem;
    border-radius: 0.625rem;
    object-fit: cover;
}

.hero__avatars-img {
    border-radius: 50% !important;
}

.events-list h3 {
    margin: 0;
    font-size: var(--fig-fs-28);
    line-height: var(--fig-lh-36);
    font-family: var(--second-family);
    font-weight: 500;
}

.events-list p {
    margin: 0.5rem 0 0;
    color: #150f2a;
    font-size: var(--fig-fs-14);
}

.events-list__date {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--second-family);
    font-weight: 300;
    line-height: 1.5rem;
}

.events-list__date img,
.events-list__date svg {
    width: 1rem;
    height: 1rem;
    flex: 0 0 1rem;
    display: block;
}

.events-list__link {
    color: #150f2a;
    font-weight: 400;
    font-size: var(--fig-fs-14);
    line-height: var(--fig-lh-18);
    white-space: nowrap;
    padding: 0 2.5rem 0 1.5rem;
    border-left: 0.0625rem solid #e4e5ec;
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    justify-self: end;
    text-decoration: none;
    align-self: center;
}

.events-list__meta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding-left: 2rem;
    border-left: 0.0625rem solid #e4e5ec;
    justify-self: start;
}

.events-list__avatars {
    display: inline-flex;
    align-items: center;
}

.events-list__avatars img {
    width: 2.8125rem;
    height: 2.8125rem;
    border-width: 0.0938rem;
    margin-left: -1.25rem;
}

.events-list__avatars img:first-child {
    margin-left: 0;
}

.events-list__meta-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1;
}

.events-list__meta-text>span {
    color: #150f2a;
    font-weight: 600;
    font-size: var(--fig-fs-16);
    line-height: var(--fig-lh-18);
}

.events-list__meta-text>small {
    margin-top: 0.0625rem;
    font-size: var(--fig-fs-14);
    color: #7d758d;
    line-height: var(--fig-lh-18);
}

.events-list__arrow {
    display: none;
    align-items: center;
    justify-content: center;
    line-height: 0;
    text-decoration: none;
}

#events .home-section__copy {
    max-width: 53.75rem;
    margin: 1.5rem 0 2.5rem;
    font-size: var(--fig-fs-18);
    line-height: var(--fig-lh-30);
    color: #83839a;
}

#research .home-tabs {
    margin-bottom: 2rem;
}

#research .home-tabs__button {
    color: #9a96a8;
    font-weight: 500;
}

#research .home-tabs__button--active {
    color: #150f2a;
    font-weight: 500;
}

#research .projects-grid {
    margin-bottom: 3rem;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.25rem;
}

.projects-grid article {
    background: #e8f2e7;
    border-radius: 1.25rem;
    overflow: hidden;
    min-height: 21.875rem;
    height: 21.875rem;
    padding: 1.4375rem 1.5rem;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 0.5rem;
    cursor: pointer;
    isolation: isolate;
}

.projects-grid article::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    border-radius: inherit;
    background: linear-gradient(135deg, rgba(128, 102, 242, 0.28), rgba(171, 142, 255, 0.18));
    opacity: 0;
    pointer-events: none;
    transition: opacity 220ms ease;
}

.projects-grid article:hover::after,
.projects-grid article:focus-visible::after {
    opacity: 1;
}

.projects-grid__media {
    position: absolute;
    inset: 0;
    overflow: hidden;
    border-radius: inherit;
    pointer-events: none;
    z-index: 0;
}

.projects-grid img {
    position: absolute;
    display: block;
    width: 111.111%;
    height: 100%;
    max-width: none;
    left: -37.73%;
    top: -27.01%;
}

.projects-grid h3 {
    margin: 0;
    font-size: var(--fig-fs-28);
    font-family: var(--second-family);
    font-weight: 600;
    line-height: var(--fig-lh-36);
    color: #150f2a;
    position: relative;
    z-index: 2;
}

.projects-grid p {
    margin: 0;
    color: #7d758d;
    font-size: var(--fig-fs-16);
    line-height: var(--fig-lh-28);
    font-weight: 500;
    align-self: start;
    position: relative;
    z-index: 2;
}

@media (max-width: 68.75rem) {
    .projects-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.community-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.community-grid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 1.25rem;
}

.community-grid img:nth-child(1) {
    width: 40.5rem;
    height: 16.625rem;
}

.community-grid img:nth-child(2) {
    width: 19.5rem;
    height: 16.625rem;
}

.community-grid img:nth-child(3) {
    width: 19.5rem;
    height: 16.625rem;
}

.community-grid img:nth-child(4) {
    width: 19.5rem;
    height: 16.625rem;
}

.community-grid img:nth-child(5) {
    width: 40.5rem;
    height: 16.625rem;
}

.community-mobile-list {
    display: none;
}

.partners-section {
    display: grid;
    grid-template-columns: 24.5625rem minmax(0, 54.375rem);
    justify-content: space-between;
    gap: 4rem;
    align-items: start;
}

#partners {
    padding-top: 6.5625rem;
}

.partners-left h2 {
    font-size: clamp(2.625rem, 4vw, 3.25rem);
    line-height: 1.05;
}

#partners .home-section__copy {
    max-width: 24.5625rem;
    margin: 1.5rem 0 9.1875rem;
    font-size: var(--fig-fs-18);
    line-height: var(--fig-lh-30);
}

.partners-cta {
    border: 0;
    background: #8066f2;
    color: #fff;
    border-radius: 62.4375rem;
    min-height: 2.875rem;
    padding: 0.25rem 0.25rem 0.25rem 1.5rem;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 600;
    font-size: var(--fig-fs-14);
    line-height: var(--fig-lh-18);
}

.partners-cta__arrow {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 0;
}

.partners-tabs {
    width: 100%;
    margin-bottom: 4rem;
    align-items: stretch;
}

.partners-tabs .home-tabs__button {
    display: flex;
    align-items: center;
    justify-content: center;
    align-self: stretch;
    min-width: 0;
    min-height: 3.5rem;
    padding: 0.75rem 0.75rem;
    white-space: normal;
    position: relative;
    border-bottom: 0.125rem solid transparent;
    margin-bottom: -0.0625rem;
}

.partners-tabs .home-tabs__button--active {
    color: #221b3c;
    font-weight: 600;
    border-bottom-color: #221b3c;
}

.partners__logos {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 1.5rem 2.0625rem;
}

.partners__logos img {
    width: 100%;
    height: 3.5rem;
    object-fit: contain;
    border-radius: 0.625rem;
    border: 0;
    background: #fff;
    box-shadow: 0 0.25rem 1.5rem -0.0625rem rgba(0, 0, 0, 0.1);
    padding: 0.625rem 0.875rem;
    box-sizing: border-box;
}

.home-btn--primary {
    margin-top: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    border: 0;
    background: #8066f2;
    color: var(--color-bg);
    border-radius: 62.4375rem;
    padding: 0.6875rem 1.0625rem;
    font-weight: 600;
    font-size: var(--fig-fs-14);
    line-height: var(--fig-lh-18);
}

.support-block {
    padding: 0;
    margin: 0;
}

.support-title {
    text-align: center;
    font-size: var(--fig-fs-46);
    margin-bottom: 1.375rem;
    font-family: var(--second-family);
    font-weight: 600;
    line-height: 109%;
    color: #150f2a;
}

.support-title span {
    color: #150f2a;
}

.support-title--after-partners {
    grid-column: 1 / -1;
    padding: 9rem 0 4rem;
}

.support-title--mix {
    background: linear-gradient(90deg, #10b956 35.58%, #8163ea 64.42%, #7c3aed 100%);
    color: transparent;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.support-image-wrap {
    position: relative;
    margin: 0 auto;
    width: auto;
}

.support-image-wrap img {
    width: 100%;
    height: 38rem;
    object-fit: cover;
    object-position: center;
    border-radius: 0;
    display: block;
}

.home-footer__contact-icon {
    width: 1.5rem;
    height: 1.5rem;
    flex: 0 0 1.5rem;
    display: block;
}

.home-footer__contact-icon path {
    fill: none;
    stroke: #8066f2;
    stroke-width: 1.75;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.newsletter-overlay {
    position: absolute;
    left: 1.25rem;
    right: 1.25rem;
    bottom: 1.5rem;
    background: #161037;
    color: var(--color-bg);
    border-radius: 1.25rem;
    min-height: 11.375rem;
    padding: 2rem 3rem;
    display: grid;
    grid-template-columns: minmax(0, 46.2418%) minmax(0, 46.4052%);
    align-items: center;
    justify-content: space-between;
    gap: 7.3529%;
}

.newsletter-overlay h3 {
    margin: 0;
    font-size: 1.75rem;
    line-height: 2.25rem;
    font-family: var(--second-family);
    font-weight: 600;
}

.newsletter-overlay p {
    margin: 1rem 0 0;
    color: #7d758d;
    font-size: 1.125rem;
    line-height: 1.875rem;
}

.newsletter-overlay form {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto auto;
    align-items: end;
    gap: 1rem;
    width: 100%;
    max-width: 100%;
    justify-self: end;
    padding-left: 15.8451%;
    box-sizing: border-box;
}

.newsletter-overlay input {
    width: 100%;
    border: 0.0625rem solid #7d758d;
    background: transparent;
    border-radius: 0.375rem;
    min-height: 2.875rem;
    box-shadow: 0 0.0625rem 0.25rem 0 rgba(25, 33, 61, 0.08);
    color: var(--color-bg);
    padding: 0 1rem;
    font-size: var(--fig-fs-14);
    line-height: var(--fig-lh-18);
    box-sizing: border-box;
}

.newsletter-overlay__submit {
    width: 10.875rem;
    min-height: 2.875rem;
    height: 2.875rem;
    padding: 0.25rem 0.25rem 0.25rem 1.5rem;
    font-size: var(--fig-fs-14);
    line-height: var(--fig-lh-18);
    gap: 1rem;
    justify-content: center;
    justify-self: end;
    box-sizing: border-box;
}

.newsletter-overlay__submit .partners-cta__arrow {
    width: 2.5rem;
    height: 2.5rem;
}

.newsletter-overlay form::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.5rem;
    width: 0.0625rem;
    height: 5.6875rem;
    background: #7d758d;
}

@media (max-width: 86.6875rem) {
    .newsletter-overlay {
        gap: 1.5rem;
        grid-template-columns: minmax(0, 1fr);
        padding: 1.75rem 2rem;
    }

    .newsletter-overlay>div,
    .newsletter-overlay form {
        width: 100%;
        max-width: 100%;
    }

    .newsletter-overlay form {
        justify-self: stretch;
        padding-left: 0;
    }

    .newsletter-overlay form::before {
        display: none;
        content: none;
        width: 0;
        height: 0;
    }

    .newsletter-overlay__submit {
        justify-self: start;
    }
}

.home-footer {
    display: flex;
    flex-direction: column;
    gap: var(--footer-gap);
    background: #150f2a;
    color: #f5f5f5;
    padding: var(--footer-padding-y) 0;
}

.home-footer>.home-wrap,
.home-footer__copy {
    margin: 0 auto;
}

.home-footer__top {
    position: relative;
    display: grid;
    grid-template-columns: 11.5625rem 16.5625rem auto;
    justify-content: space-between;
    align-items: flex-start;
    gap: 2rem;
    padding-bottom: 2rem;
}

.home-footer__top::after,
.home-footer__links::after {
    content: "";
    position: absolute;
    left: 0.9375rem;
    right: 0.9375rem;
    bottom: 0;
    border-bottom: 0.0625rem solid #3d3760;
}

.home-footer__brand {
    width: 11.5625rem;
    flex: 0 0 11.5625rem;
}

.home-footer__brand img {
    display: block;
    width: 11.5625rem;
    height: auto;
}

.home-footer__contacts {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    width: 16.5625rem;
    flex: 0 0 16.5625rem;
}

.home-footer__contacts h3 {
    margin: 0;
    color: #f5f5f5;
    font-size: var(--fig-fs-16);
    line-height: var(--fig-lh-18);
    font-weight: 600;
}

.home-footer__contacts>.home-footer__contact-item:nth-child(2) p {
    width: 14.5625rem;
    line-height: 1.25rem;
}

.home-footer__contacts>.home-footer__contact-item:nth-child(3) p {
    width: 8.9375rem;
}

.home-footer__contacts p {
    margin: 0;
    color: #b2b6c6;
    font-size: var(--fig-fs-14);
    line-height: var(--fig-lh-24);
    font-family: var(--second-family);
    font-weight: 300;
}

.home-footer__contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin: 0;
}

.home-footer__contact-item:nth-child(3),
.home-footer__contact-item:nth-child(4) {
    align-items: center;
}

.home-footer__contact-item img,
.home-footer__contact-item svg {
    width: 1.5rem;
    height: 1.5rem;
    object-fit: contain;
    flex: 0 0 1.5rem;
}

.home-footer__contact-item p {
    margin: 0;
}

.home-footer__social {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    flex: 0 0 auto;
}

.home-footer__social a {
    width: 2.5rem;
    height: 2.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.home-footer__social a svg {
    width: 100%;
    height: 100%;
    display: block;
}

.home-footer__social a img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
}

.home-footer__links {
    position: relative;
    display: grid;
    grid-template-columns: 5.3125rem 11.3125rem 5.3125rem 4.8125rem 5.125rem 3.75rem;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1.5rem;
    padding-bottom: 2rem;
}

.home-footer__column {
    flex: 0 0 auto;
}

.home-footer__column h3 {
    margin: 0 0 2rem;
    color: #f5f5f5;
    font-size: var(--fig-fs-16);
    line-height: var(--fig-lh-18);
    font-weight: 600;
}

.home-footer__column p {
    margin: 0 0 0.5rem;
    color: #b2b6c6;
    font-size: var(--fig-fs-14);
    line-height: var(--fig-lh-24);
    font-family: var(--second-family);
    font-weight: 300;
}

.home-footer__column p:last-child {
    margin-bottom: 0;
}

.home-footer__column--about p {
    margin-bottom: 0.75rem;
    font-family: inherit;
    font-weight: 400;
    line-height: var(--fig-lh-18);
}

.home-footer__column--compact h3,
.home-footer__column--compact p {
    margin-bottom: 1.5rem;
    color: #f5f5f5;
    font-family: inherit;
    font-size: var(--fig-fs-16);
    line-height: var(--fig-lh-18);
    font-weight: 600;
}

.home-footer__copy {
    margin: 0 auto;
    text-align: center;
    color: #b2b6c6;
    font-size: var(--fig-fs-14);
    line-height: var(--fig-lh-24);
    font-family: var(--second-family);
    font-weight: 300;
}

@media (max-width: 89.9375rem) {
    :root {
        --home-shell: min(82.5rem, calc(100% - 5rem));
        --home-shell-wide: min(85rem, calc(100% - 2.5rem));
        --home-nav-gap: 0.75rem;
        --home-pill-padding-y: 0.75rem;
        --home-pill-padding-x: 1rem;
        --hero-lead-max-width: 42rem;
        --hero-cta-inset: 1rem;
        --hero-top-chip-top: 1rem;
        --hero-top-chip-right: 1rem;
        --hero-event-card-width: 22.5rem;
        --hero-event-card-image-width: 7.375rem;
        --hero-event-card-image-height: 8.25rem;
        --hero-event-card-gap: 0.75rem;
        --facts-grid-columns: minmax(16.25rem, 1.3fr) repeat(3, minmax(0, 1fr));
    }



    .home-topbar__inner,
    .home-footer>.home-wrap,
    .home-footer__copy {
        width: min(82.5rem, calc(100% - 5rem));
    }

    .hero.home-wrap{
        width: min(85rem, calc(100% - 2.5rem));
    }

    .hero h1 {
        font-size: var(--fig-fs-46);
        line-height: var(--fig-lh-48);
    }

    .hero__event-control {
        width: 2.5rem;
        height: 2.5rem;
        min-width: 2.5rem;
        min-height: 2.5rem;
    }

    .hero__event-control--calendar {
        width: auto;
        min-width: 3.75rem;
        padding: 0 1rem;
    }

    .hero__event-control--calendar img {
        width: 1.7113rem;
        height: 1.25rem;
    }

    .hero__event-card h3 {
        font-size: var(--fig-fs-24);
        line-height: var(--fig-lh-30);
    }

    .facts__inner {
        gap: 2.5rem;
    }

    .facts__lead {
        flex-basis: 23rem;
    }

    .facts__stats {
        flex-basis: 38rem;
        grid-template-columns: 9rem 12rem 11rem;
        column-gap: 3rem;
    }

    .facts__stat:not(:first-child)::before {
        left: -1.5rem;
    }

    .facts h3 {
        font-size: var(--fig-fs-28);
        line-height: var(--fig-lh-36);
    }

    .facts p {
        font-size: var(--fig-fs-16);
        line-height: var(--fig-lh-24);
    }
}

@media (max-width: 70.5rem) and (min-width: 48rem) {
    .events-list article {
        grid-template-columns: 19.4375rem minmax(0, 1fr) auto;
        grid-template-areas:
            "image content meta"
            "image link meta";
        column-gap: 2rem;
        row-gap: 0.75rem;
        align-items: center;
    }

    .events-list article>img {
        grid-area: image;
    }

    .events-list article>div:first-of-type {
        grid-area: content;
        min-width: 0;
    }

    .events-list article>a {
        grid-area: link;
        border-left: 0;
        padding: 0;
        justify-self: start;
    }

    .events-list__meta {
        grid-area: meta;
        padding-left: 1.5rem;
    }
}

@media (max-width: 54rem) and (min-width: 48rem) {
    .events-list article {
        grid-template-columns: minmax(0, 1fr) auto;
        grid-template-areas:
            "image image"
            "content meta"
            "link link";
        row-gap: 1rem;
        column-gap: 1.25rem;
        padding: 1rem;
    }

    .events-list article>img {
        width: 100%;
        height: 10rem;
    }

    .events-list article>div:first-of-type {
        min-width: 0;
    }

    .events-list article>a {
        justify-self: start;
    }

    .events-list__meta {
        align-self: center;
        padding-left: 1rem;
    }
}

@media (max-width: 47.9375rem) and (min-width: 40rem) {
    .events-list article {
        grid-template-columns: minmax(0, 1fr) auto;
        grid-template-areas:
            "image image"
            "content meta"
            "link link";
        row-gap: 1rem;
        column-gap: 1.25rem;
        align-items: start;
        padding: 0 1rem 1.875rem;
        border-bottom: 0.0625rem solid #e4e5ec;
        box-sizing: border-box;
    }

    .events-list article+article {
        margin-top: 1.875rem;
    }

    .events-list img {
        width: 100%;
        height: 14.75rem;
        grid-area: image;
        border-radius: 0.875rem;
    }

    .events-list article>div:first-of-type {
        grid-area: content;
        min-width: 0;
    }

    .events-list p {
        margin-top: 0.375rem;
    }

    .events-list__link {
        display: inline-flex !important;
        grid-area: link;
        border-left: 0;
        padding: 0;
        justify-self: start;
    }

    .events-list__meta {
        grid-area: meta;
        align-self: center;
        gap: 0.375rem;
        padding-left: 1rem !important;
        border-left: 0.0625rem solid #e4e5ec !important;
    }

    .events-list__avatars img {
        width: 1.5rem;
        height: 1.5rem;
        margin-left: -0.5rem;
    }

    .events-list__meta-text>span {
        font-size: var(--fig-fs-12);
    }

    .events-list__arrow {
        display: none !important;
    }
}

@media (max-width: 70.0625rem) and (min-width: 64.0625rem) {
    .home-header {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        grid-template-areas:
            "left right"
            "nav nav";
        row-gap: 1rem;
        align-items: center;
    }

    .home-header__left {
        grid-area: left;
    }

    .home-header__right {
        grid-area: right;
        justify-self: end;
    }

    .home-nav {
        grid-area: nav;
        width: 100%;
        justify-content: space-between;
    }
}

@media (max-width: 64rem) {
    .home-burger {
        display: inline-block;
    }

    .home-header__right {
        gap: 2rem;
    }

    .home-header {
        margin-top: 0;
    }

    .home-nav {
        position: fixed;
        top: 0;
        right: 0;
        width: var(--mobile-nav-panel-width);
        height: 100vh;
        z-index: 30;
        background: var(--bg-white-gradient);
        box-shadow: -0.75rem 0 2.25rem rgba(17, 12, 37, 0.2);
        flex-direction: column;
        align-items: stretch;
        gap: 0.625rem;
        padding: var(--mobile-nav-panel-padding);
        transform: translateX(100%);
        transition: transform 220ms ease;
        pointer-events: none;
    }

    .menu-open .home-nav {
        transform: translateX(0);
        pointer-events: auto;
    }

    .home-nav__close {
        display: flex;
        position: absolute;
        top: 1.5rem;
        right: 1.5rem;
        width: 2.5rem;
        height: 2.5rem;
        align-items: center;
        justify-content: center;
        background: transparent;
        border: none;
        padding: 0;
        cursor: pointer;
        z-index: 40;
    }

    .home-nav {
        padding-top: 5rem;
    }

    .home-nav__search-link {
        display: inline-flex;
        align-items: center;
    }

    .home-topbar,
    .home-donate,
    .home-lang-switch {
        display: none;
    }

    .op-grid {
        grid-template-columns: repeat(2, minmax(0, 20.1875rem));
        gap: 1.5rem;
        justify-content: space-between;
    }
}

@media (max-width: 61.25rem) {
    .partners-section {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .partners-left,
    .partners-right {
        min-width: 0;
        width: 100%;
    }

    #partners .home-section__copy {
        max-width: 100%;
        margin-bottom: 2.5rem;
    }
}

@media (max-width: 56.25rem) {
    .program-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .op-grid {
        grid-template-columns: repeat(2, minmax(0, 20.1875rem));
        gap: 1.5rem;
        justify-content: space-between;
    }

    .partners-section {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .partners-left,
    .partners-right {
        min-width: 0;
        width: 100%;
    }

    .home-footer__top {
        width: 100%;
        display: grid;
        grid-template-columns: 1fr;
        justify-items: center;
        align-items: center;
        gap: 1.5rem;
        padding-bottom: 1.75rem;
    }

    .home-footer__contacts {
        grid-column: auto;
        width: min(16.5625rem, 100%);
        gap: 1rem;
        padding-top: 0;
        justify-self: center;
        align-items: center;
        text-align: center;
    }

    .home-footer__contact-item {
        justify-content: center;
    }

    .home-footer__links {
        width: 100%;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 2rem 1.5rem;
        justify-content: stretch;
    }
}

@media (max-width: 64rem) and (min-width: 48rem) {
    .facts__inner {
        flex-direction: column;
        gap: 2rem;
        padding: 2.25rem 0 2.5rem;
    }

    .facts__lead {
        flex: 0 1 auto;
        width: min(22.875rem, 100%);
    }

    .facts__stats {
        flex: 0 1 auto;
        width: 100%;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        column-gap: 2.5rem;
    }

    .facts__stat {
        width: 100%;
    }

    .facts__stat:not(:first-child)::before {
        left: -1.25rem;
    }
}

@media (max-width: 47.9375rem) {
    :root {
        --home-shell: calc(100% - var(--space-32));
        --home-shell-wide: calc(100% - var(--space-32));
        --home-section-space: var(--space-64);
        --home-mobile-copy-width: min(22rem, calc(100% - 3.125rem));
        --home-mobile-lead-width: min(21.3125rem, calc(100% - 3.8125rem));
        --home-mobile-card-width: min(21.125rem, calc(100% - 4rem));
        --home-mobile-footer-width: min(21.8125rem, calc(100% - 3.3125rem));
        --home-mobile-newsletter-width: 100%;
        --home-nav-gap: 0.625rem;
        --home-pill-padding-y: 0.5rem;
        --home-pill-padding-x: 0.75rem;
        --hero-space-block: 1.875rem 0 0;
        --hero-cta-inset: 1rem;
        --hero-top-chip-top: 6.6875rem;
        --hero-top-chip-right: 1.8125rem;
        --hero-event-card-width: 21.25rem;
        --hero-event-card-image-width: 8rem;
        --hero-event-card-image-height: 8.8125rem;
        --hero-event-card-gap: 0.75rem;
        --facts-grid-columns: 1fr;
        --footer-gap: 1.5rem;
        --footer-padding-y: 1.8125rem;
        --footer-links-mobile-columns: minmax(5.3125rem, 1fr) minmax(11.3125rem, 1.15fr);
        --mobile-nav-panel-width: min(20rem, calc(100vw - 2rem));
        --mobile-nav-panel-padding: 4.5rem 1rem 1.25rem;
    }

    .home-wrap,
    .home-section.home-wrap,
    .hero.home-wrap,
    .support-image-wrap.home-wrap,
    .home-footer>.home-wrap {
        width: var(--home-shell);
    }

    .home-footer__copy {
        width: var(--home-mobile-footer-width);
    }

    .home-header {
        min-height: 3.4375rem;
        margin-top: 0;
        padding: 0.5625rem 0 0;
    }

    .home-header__left {
        gap: 1rem;
        min-width: 5.5rem;
    }

    .home-logo img {
        width: 2.25rem;
        height: 1.9375rem;
    }

    .home-logo-secondary {
        width: 2.25rem;
        height: 2.25rem;
    }

    .home-burger {
        display: inline-block;
    }

    .home-search {
        width: 1.375rem;
        height: 1.375rem;
    }

    .home-search svg {
        width: 1.375rem;
        height: 1.375rem;
    }

    .hero__kicker,
    .hero h1,
    .hero__lead {
        margin-left: 1rem;
        margin-right: 1rem;
    }

    .hero__kicker {
        margin-bottom: 1.875rem;
    }

    .hero h1 {
        width: 22rem;
        max-width: 22rem;
        font-size: var(--fig-fs-50);
        line-height: var(--fig-lh-48);
    }

    .hero__green {
        display: inline-block;
        line-height: var(--fig-lh-46);
        margin-bottom: 0.5rem;
    }

    .hero__lead {
        width: 21.3125rem;
        max-width: var(--home-mobile-lead-width);
        margin-top: 1.1875rem;
        margin-bottom: 2.5rem;
        font-size: var(--fig-fs-18);
        line-height: var(--fig-lh-30);
    }

    .hero__media {
        width: 100%;
        height: 43.125rem;
        margin-top: 0;
        border-radius: 1.25rem;
    }

    .hero__cta {
        width: 16rem;
        min-height: 2.875rem;
        padding: 0.5rem 0.3125rem 0.5rem 1.125rem;
        gap: 0.5rem;
        justify-content: space-between;
        font-size: var(--fig-fs-14);
        line-height: var(--fig-lh-18);
    }

    .hero__cta-arrow {
        width: 2.5625rem;
        height: 2.5rem;
    }

    .hero__top-chip {
        padding: 0.5rem 1rem 0.5rem 0.5rem;
        border-radius: 4.375rem;
        gap: 0.75rem;
        max-width: calc(100vw - 2rem);
    }

    .hero__avatars {
        padding-right: 0.8125rem;
        flex: 0 0 auto;
    }

    .hero__avatars img {
        width: 2.8125rem;
        height: 2.8125rem;
        margin-left: -1.1875rem;
    }

    .hero__top-chip p {
        max-width: 10.5rem;
        font-size: var(--fig-fs-12);
        line-height: var(--fig-lh-14);
    }

    .hero__social {
        right: 1.9375rem;
        top: 10.875rem;
        gap: 0.5rem;
    }

    .hero__social a svg {
        width: 2.5rem;
        height: 2.5rem;
    }

    .hero__event-card {
        left: 1rem;
        right: auto;
        bottom: 0.875rem;
        height: 10.5625rem;
        min-height: 10.5625rem;
        padding: 0.875rem;
        border-radius: 1.25rem;
        max-width: calc(100vw - 2rem);
    }

    .hero__event-controls {
        gap: 0.5rem;
        margin-bottom: 0.5rem;
    }

    .hero__event-control {
        width: 3.375rem;
        height: 2.5rem;
        min-width: 3.375rem;
        min-height: 2.5rem;
        font-size: var(--fig-fs-12);
    }

    .hero__event-control--calendar {
        width: auto;
        min-width: 3.75rem;
        padding: 0 1rem;
    }

    .hero__event-card p {
        margin-bottom: 0.375rem;
        font-size: var(--fig-fs-16);
        line-height: var(--fig-lh-18);
    }

    .hero__event-card h3 {
        font-size: var(--fig-fs-22);
        line-height: var(--fig-lh-24);
    }

    .facts__inner {
        flex-direction: column;
        gap: 2rem;
        padding: 2.25rem 0 3.125rem;
    }

    .facts__lead {
        flex: 0 1 auto;
        width: min(22.875rem, 100%);
    }

    .facts__stats {
        flex: 0 1 auto;
        grid-template-columns: 1fr;
        gap: 2rem;
        width: min(22.1875rem, calc(100% - 0.9375rem));
        margin-left: 0.9375rem;
    }

    .facts__stat:not(:first-child) {
        border-top: 0.0625rem solid #cfcfd8;
        padding-top: 2rem;
    }

    .facts__stat:not(:first-child)::before {
        display: none;
    }

    .facts h3 {
        font-size: var(--fig-fs-32);
        line-height: var(--fig-lh-50);
    }

    .facts p {
        font-size: var(--fig-fs-18);
        line-height: var(--fig-lh-24);
    }

    .home-section {
        padding-top: var(--home-section-space);
    }

    main:is(.about-page, .science-page, .ai-meetups-page, .alumni-page, .alumni-program-page, .program-text-main, .school-detail-page, .schools-page, .search-page, .programs-main) > section + section {
        margin-top: 3rem;
    }

    .home-section h2 {
        font-size: var(--fig-fs-32);
        line-height: 1.05;
    }

    .home-section__copy {
        margin: 1rem 0 2.5rem;
        max-width: 100%;
        font-size: var(--fig-fs-14);
        line-height: 1.5;
    }

    #programs,
    #events,
    #research {
        display: grid;
        gap: 0;
    }

    #programs .home-section__head,
    #events .home-section__head,
    #research .home-section__head {
        display: contents;
    }

    #programs h2,
    #events h2,
    #research h2 {
        order: 1;
    }

    #programs .home-section__copy,
    #events .home-section__copy,
    #research .home-section__copy {
        order: 2;
    }

    .programs-toolbar {
        display: contents;
    }

    .programs-toolbar .home-tabs {
        order: 3;
        width: 100%;
    }

    .program-grid {
        order: 4;
        grid-template-columns: 1fr;
        gap: 1.875rem;
        width: 100%;
        max-width: 100%;
        margin-top: 2.5rem;
    }

    .program-card {
        width: 100%;
        max-width: 100%;
    }

    #programs .home-btn--outlined {
        order: 5;
        width: calc(100% - 0.125rem);
        margin-top: 1.875rem;
        justify-content: space-between;
    }

    .home-tabs {
        overflow-x: auto;
        overflow-y: hidden;
        width: 100%;
        -ms-overflow-style: none;
        scrollbar-width: none;
    }

    .home-tabs::-webkit-scrollbar {
        display: none;
    }

    .home-tabs__button {
        flex: 0 0 auto;
        min-height: 2.4375rem;
        padding: 0.75rem 1.1875rem;
        font-family: var(--second-family);
        font-size: 1.25rem;
        line-height: 1.25rem;
        font-weight: 600;
        color: #7d758d;
        white-space: nowrap;
    }

    .programs-toolbar .home-tabs__button--active {
        color: #150f2a;
    }

    .program-card {

        min-height: 19.875rem;
        padding: 1.5rem;
        border-radius: 1.25rem;
    }

    .program-card h3 {
        margin-top: 1rem;
        font-size: var(--fig-fs-22);
        line-height: 1.625rem;
        max-width: none;
    }

    .program-card p {
        font-size: var(--fig-fs-18);
        line-height: var(--fig-lh-30);
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        overflow: hidden;
    }

    .program-card__media,
    .program-card--feature .program-card__media {
        width: 10rem;
        height: 8.5rem;
        border-radius: 1.25rem;
    }

    .program-card__arrow {
        width: 3.375rem;
        height: 2.5rem;
        padding: 0;
    }

    .program-card--feature h3 {
        order: 2;
    }

    .program-card--feature p {
        order: 3;
    }

    .program-card--feature .program-card__feature-row {
        order: 1;
        margin-top: 0;
        gap: 0.75rem;
        align-items: flex-start;
    }

    .op-grid {
        grid-template-columns: 1fr;
        gap: 1.875rem;
    }

    .op-card {
        min-height: auto;
        max-width: none;
        padding: 1rem;
        display: grid;
        grid-template-columns: 1fr;
        gap: 1.5rem;
        align-content: start;
    }

    .op-card--expanded {
        min-height: 21.875rem;
        height: 21.875rem;
    }

    .op-card--compact {
        min-height: 14.125rem;
        height: 14.125rem;
    }

    .op-card::before,
    .op-card::after {
        display: none;
    }

    .op-card h3,
    .events-list h3,
    .projects-grid h3 {
        font-size: var(--fig-fs-24);
        line-height: 1;
    }

    .op-card p,
    .projects-grid p {
        font-size: var(--fig-fs-16);
        line-height: 1.75rem;
    }

    .op-card--expanded h3,
    .op-card--expanded p {
        max-width: 21.125rem;
    }

    .op-card--compact p {
        display: none;
    }

    .op-card__mobile-meta {
        position: static;
        width: auto;
        height: auto;
        opacity: 1;
        transform: none;
        transition: none;
        pointer-events: auto;
        display: grid;
        grid-template-columns: 12.4375rem 1fr;
        gap: 1rem;
        align-items: start;
    }

    .op-card__mobile-meta img {
        width: 12.4375rem;
        height: 9.125rem;
        border-radius: 0.75rem;
        object-fit: cover;
    }

    .op-card__mobile-meta strong {
        display: block;
        font-size: var(--fig-fs-24);
        line-height: 1;
        color: #2a2942;
    }

    .op-card__mobile-meta span {
        display: block;
        margin-bottom: 1rem;
        font-size: var(--fig-fs-12);
        line-height: 0.875rem;
        color: #6f6d83;
    }

    .op-card__arrow {
        display: none;
    }

    .op-card--compact .op-card__mobile-meta {
        margin-top: 0;
    }

    #events .home-btn--outlined {
        order: 4;
        width: 100%;
        margin-top: 1.875rem;
        justify-content: space-between;
    }

    #events .events-list {
        order: 3;
    }

    .events-list article {
        grid-template-columns: minmax(0, 1fr) auto;
        grid-template-areas:
            "image image"
            "content meta"
            "link link";
        row-gap: 1rem;
        column-gap: 1.25rem;
        align-items: start;
        padding: 0 1rem 1.875rem;
        border-bottom: 0.0625rem solid #e4e5ec;
        box-sizing: border-box;
    }

    .events-list article+article {
        margin-top: 1.875rem;
    }

    .events-list img {
        width: 100%;
        height: 14.75rem;
        grid-area: image;
        border-radius: 0.875rem;
    }

    .events-list article>div:first-of-type {
        grid-area: content;
        min-width: 0;
    }

    .events-list p {
        margin-top: 0.375rem;
    }

    .events-list__link {
        display: inline-flex;
        grid-area: link;
        border-left: 0;
        padding: 0;
        justify-self: start;
    }

    .events-list__meta {
        grid-area: meta;
        align-self: center;
        gap: 0.375rem;
        padding-left: 1rem;
        border-left: 0.0625rem solid #e4e5ec;
    }

    .events-list__avatars img {
        width: 1.5rem;
        height: 1.5rem;
        margin-left: -0.5rem;
    }

    .events-list__meta-text>span {
        font-size: var(--fig-fs-12);
    }

    .events-list__arrow {
        display: none;
    }

    #research .home-btn--outlined {
        display: none;
    }

    #research .home-tabs {
        order: 3;
        width: calc(100% + 1rem);
        margin-right: -1rem;
        padding-right: 1rem;
    }

    #research .home-tabs__button {
        min-height: 3.625rem;
        padding: 0.75rem 1.1875rem;
        font-size: 1.375rem;
        white-space: normal;
        text-align: left;
        box-sizing: border-box;
    }

    #research .home-tabs__button:nth-child(1) {
        width: 4.25rem;
    }

    #research .home-tabs__button:nth-child(2) {
        width: 11.4375rem;
    }

    #research .home-tabs__button:nth-child(3) {
        width: 10.375rem;
    }

    #research .home-tabs__button:nth-child(4) {
        width: 11.4375rem;
    }

    #research .projects-grid {
        order: 4;
        display: grid;
        grid-auto-flow: column;
        grid-auto-columns: 19.6875rem;
        grid-template-columns: none;
        gap: 1.875rem;
        overflow-x: auto;
        overflow-y: hidden;
        width: calc(100% + 1rem);
        padding-right: 1rem;
        margin-top: 2.5rem;
        -ms-overflow-style: none;
        scrollbar-width: none;
        scroll-snap-type: x proximity;
    }

    #research .projects-grid::-webkit-scrollbar {
        display: none;
    }

    .projects-grid article {
        width: 19.6875rem;
        min-height: 21.875rem;
        height: 21.875rem;
        border-radius: 1.125rem;
        scroll-snap-align: start;
    }

    .projects-grid__media {
        inset: 0;
    }

    .projects-grid img {
        width: 111.111%;
        height: 100%;
    }

    .community-grid {
        display: none;
    }

    .community-mobile-list {
        display: grid;
        grid-template-columns: 1fr;
        gap: 1.25rem;
        align-items: start;
    }

    .community-mobile-list article {
        display: grid;
        grid-template-columns: repeat(2, 10.875rem);
        grid-template-areas: "media body";
        justify-content: space-between;
        align-items: start;
        column-gap: 1rem;
    }

    .community-mobile-list img,
    .community-mobile-list article>div {
        width: 10.875rem;
    }

    .community-mobile-list img {
        height: 11.25rem;
        border-radius: 1.25rem;
        object-fit: cover;
    }

    .community-mobile-list article>div {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        min-height: 11.25rem;
        padding: 0.5rem 0 0.75rem;
    }

    .community-mobile-list article img {
        grid-area: media;
    }

    .community-mobile-list article>div {
        grid-area: body;
    }

    .community-mobile-list article:nth-child(even) {
        grid-template-areas: "body media";
    }

    .community-mobile-list article:nth-child(even)>div {
        align-items: flex-start;
    }

    .community-mobile-list h3 {
        margin: 0;
        font-size: var(--fig-fs-18);
        line-height: var(--fig-lh-24);
    }

    .community-mobile-list p {
        margin: 0;
        font-size: var(--fig-fs-12);
        line-height: var(--fig-lh-24);
        color: #7f7d93;
    }

    .partners-section {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .partners-left,
    .partners-right {
        min-width: 0;
        width: 100%;
    }

    #partners .home-section__copy {
        margin: 1rem 0 2.5rem;
        max-width: 100%;
        padding: 0;
    }

    .partners-cta {
        width: 12.9375rem;
        justify-content: space-between;
    }

    .partners-tabs {
        width: calc(100% + 1rem);
        margin-bottom: 2.125rem;
    }

    .partners-tabs .home-tabs__button {
        min-height: 3.625rem;
        white-space: normal;
        text-align: left;
    }

    .partners__logos {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 1.5rem 1rem;
    }

    .partners__logos img {
        height: 2.8125rem;
        padding: 0.4375rem 0.375rem;
        box-sizing: border-box;
    }

    .partners__logos img:nth-child(n + 7) {
        display: block;
    }

    .support-title {
        font-size: var(--fig-fs-40);
        line-height: 1.08;
        margin-bottom: 0.875rem;
    }

    .support-title--after-partners {
        margin-top: 0.75rem;
        padding: 3.75rem 0 2.75rem;
    }

    .support-image-wrap img {
        min-height: 38.9375rem;
        object-fit: cover;
    }

    .newsletter-overlay {
        position: absolute;
        left: 0.0625rem;
        right: 0.0625rem;
        bottom: 1.0625rem;
        margin-top: 0;
        border-radius: 1rem;
        padding: 1.5rem;
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .newsletter-overlay h3 {
        width: var(--home-mobile-newsletter-width);
        font-size: var(--fig-fs-22);
        line-height: 1.18;
    }

    .newsletter-overlay p {
        width: var(--home-mobile-newsletter-width);
        margin-top: 0.75rem;
        font-size: var(--fig-fs-16);
        line-height: var(--fig-lh-24);
    }

    .newsletter-overlay form {
        display: grid;
        grid-template-columns: 1fr;
        gap: 1rem;
        width: var(--home-mobile-newsletter-width);
        max-width: 100%;
        border-left: 0;
        padding-left: 0;
        justify-self: stretch;
    }

    .newsletter-overlay form::before {
        display: none;
        content: none;
        width: 0;
        height: 0;
    }

    .newsletter-overlay input,
    .newsletter-overlay__submit {
        min-height: 2.875rem;
        width: 100%;
    }

    .newsletter-overlay__submit {
        justify-content: space-between;
        justify-self: stretch;
    }

    .home-footer {
        padding: var(--footer-padding-y) 0;
    }

    .home-footer__top {
        width: 100%;
        display: grid;
        grid-template-columns: auto auto;
        grid-template-areas:
            "brand social"
            "contacts contacts";
        justify-content: space-between;
        justify-items: start;
        align-items: start;
        row-gap: 2.125rem;
        column-gap: 1rem;
        padding-bottom: 2rem;
    }

    .home-footer__top::after,
    .home-footer__links::after {
        left: 0;
        right: 0;
    }

    .home-footer__brand {
        grid-area: brand;
        width: 2.9375rem;
        flex-basis: auto;
    }

    .home-footer__brand img {
        width: 2.9375rem;
    }

    .home-footer__social {
        grid-area: social;
        justify-self: end;
        gap: 1rem;
    }

    .home-footer__contacts {
        grid-area: contacts;
        width: min(16.5625rem, 100%);
        gap: 1.5rem;
        padding-top: 0;
        justify-self: start;
        align-items: flex-start;
        text-align: left;
    }

    .home-footer__contact-item {
        justify-content: flex-start;
    }

    .home-footer__links {
        width: min(21.8125rem, 100%);
        display: grid;
        grid-template-columns: var(--footer-links-mobile-columns);
        gap: 1.5rem 4.875rem;
        padding-bottom: 1.5rem;
    }

    .home-footer__column {
        min-width: 0;
    }

    .home-footer__column h3 {
        margin-bottom: 1rem;
    }

    .home-footer__column p {
        margin-bottom: 0.75rem;
        line-height: var(--fig-lh-18);
    }

    .home-footer__copy {
        text-align: left;
        width: min(21.8125rem, 100%);
    }
}

@media (max-width: 391px) {
    :root {
        --home-mobile-copy-width: 100%;
        --home-mobile-lead-width: 100%;
        --home-mobile-card-width: 100%;
        --home-mobile-footer-width: 100%;
        --footer-links-mobile-columns: repeat(2, minmax(0, 1fr));
    }

    .hero h1 {
        width: auto;
        max-width: 100%;
    }

    .hero__lead {
        width: auto;
        max-width: 100%;
    }

    .hero__event-card {
        width: min(21.25rem, calc(100% - 2rem));
    }

    main:is(.about-page, .science-page, .ai-meetups-page, .alumni-page, .alumni-program-page, .program-text-main, .school-detail-page, .schools-page, .search-page, .programs-main) > section + section {
        margin-top: 2rem;
    }

    .facts__inner>article:nth-child(n + 2) {
        width: min(22.1875rem, calc(100% - 0.9375rem));
    }

    #research .home-tabs,
    #research .projects-grid,
    .partners-tabs {
        width: 100%;
        padding-right: 0;
    }

    .home-footer__links {
        gap: 1.5rem 1rem;
    }
}

@media (max-width: 24.4375rem) {
    .community-mobile-list article {
        grid-template-columns: minmax(0, 1fr);
        grid-template-areas:
            "media"
            "body";
        justify-content: stretch;
        row-gap: 1rem;
    }

    .community-mobile-list img,
    .community-mobile-list article>div {
        width: 100%;
    }

    .community-mobile-list img {
        height: auto;
        aspect-ratio: 174 / 180;
    }

    .community-mobile-list article>div {
        min-height: 0;
        padding-top: 0;
    }

    .community-mobile-list article:nth-child(even) {
        grid-template-areas:
            "media"
            "body";
    }
}

@media (max-width: 23.75rem) {
    .hero__event-card {
        left: 0.75rem;
        right: 0.75rem;
        width: auto;
        height: auto;
        min-height: 0;
        padding: 0.75rem;
        grid-template-columns: 7rem minmax(0, 1fr);
        gap: 0.75rem;
    }

    .hero__event-card img {
        width: 7rem;
        height: 8rem;
    }


    .hero__event-controls {
        gap: 0.375rem;
        margin-bottom: 0.625rem;
    }

    .hero__event-control {
        width: 3rem;
        height: 2.25rem;
        min-width: 3rem;
        min-height: 2.25rem;
    }

    .hero__event-control--calendar {
        min-width: 3.375rem;
        padding: 0 0.75rem;
    }

    .hero__event-card p {
        margin-bottom: 0.25rem;
        font-size: 0.875rem;
        line-height: 1.125rem;
    }

    .hero__event-card h3 {
        font-size: 1.5rem;
        line-height: 1.75rem;
    }
}

@media (max-width: 25.625rem) {
    .events-list article {
        grid-template-columns: minmax(0, 1fr);
        grid-template-areas:
            "image"
            "content"
            "meta"
            "link";
        row-gap: 1rem;
    }

    .events-list__meta {
        justify-self: start;
        align-self: start;
        padding-left: 0;
        border-left: 0;
    }

    #research .projects-grid {
        grid-auto-columns: min(19.6875rem, calc(100vw - 3rem));
        gap: 1rem;
    }

    .projects-grid article {
        width: min(19.6875rem, calc(100vw - 3rem));
        min-height: 21.875rem;
        height: 21.875rem;
    }

    .projects-grid__media {
        inset: 0;
    }

    .projects-grid img {
        width: 111.111%;
        height: 100%;
    }
}

@media (max-width: 47.9375rem) and (min-width: 25.1875rem) {
    .programs-toolbar .home-tabs {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        overflow: visible;
    }

    .programs-toolbar .home-tabs__button {
        min-width: 0;
        padding: 0.75rem 0.5rem;
        font-size: 1rem;
        line-height: 1.25rem;
        white-space: normal;
        text-align: center;
    }

    #research .home-tabs,
    #research .projects-grid,
    .partners-tabs {
        width: 100%;
        padding-right: 0;
    }
}

@media (max-width: 47.9375rem) and (min-width: 33rem) {
    .community-mobile-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1.5rem;
        align-items: stretch;
    }

    .community-mobile-list article {
        display: flex;
        flex-direction: column;
        min-width: 0;
        border-radius: 1.25rem;
        background: #fff;
        overflow: hidden;
        box-shadow: 0 0.25rem 1.5rem -0.0625rem rgba(0, 0, 0, 0.08);
    }

    .community-mobile-list img,
    .community-mobile-list article>div {
        width: 100%;
    }

    .community-mobile-list img {
        height: 14rem;
        border-radius: 0;
    }

    .community-mobile-list article>div {
        min-height: 0;
        padding: 1.25rem 1.25rem 1.5rem;
        gap: 0.75rem;
    }

    .community-mobile-list article:nth-child(odd) img,
    .community-mobile-list article:nth-child(odd)>div,
    .community-mobile-list article:nth-child(even) img,
    .community-mobile-list article:nth-child(even)>div {
        grid-column: auto;
    }

    .community-mobile-list h3 {
        font-size: 2rem;
        line-height: 1.05;
    }

    .community-mobile-list p {
        font-size: 1rem;
        line-height: 1.625rem;
    }
}

@media (max-width: 47.9375rem) and (min-width: 44rem) {
    .op-grid {
        gap: 1.5rem;
    }

    .op-card {
        min-height: auto;
        height: auto;
        grid-template-columns: minmax(0, 1fr) 15.75rem;
        grid-template-areas:
            "title meta"
            "text meta";
        column-gap: 1.5rem;
        row-gap: 1rem;
        align-items: start;
        padding: 1.5rem;
    }

    .op-card--expanded,
    .op-card--compact {
        min-height: auto;
        height: auto;
    }

    .op-card h3 {
        grid-area: title;
        margin: 0;
        max-width: none;
    }

    .op-card p {
        grid-area: text;
        margin: 0;
        display: block;
        max-width: none;
    }

    .op-card--compact p {
        display: block;
    }

    .op-card__mobile-meta {
        grid-area: meta;
        position: static;
        height: auto;
        opacity: 1;
        transform: none;
        transition: none;
        pointer-events: auto;
        grid-template-columns: 1fr;
        gap: 1rem;
        width: 15.75rem;
        justify-self: end;
    }

    .op-card__mobile-meta img {
        width: 15.75rem;
        height: 11rem;
    }

    .op-card__mobile-meta>div {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, max-content));
        column-gap: 1rem;
        row-gap: 0.375rem;
        align-items: end;
    }

    .op-card__mobile-meta strong {
        font-size: 2rem;
        line-height: 1;
    }

    .op-card__mobile-meta span {
        margin-bottom: 0;
        font-size: var(--fig-fs-14);
        line-height: 1rem;
        align-self: center;
    }
}

@media (max-width: 24.4375rem) {
    .hero__event-card {
        grid-template-columns: 1fr;
        grid-template-rows: auto 1fr;
        height: auto;
        min-height: 0;
    }

    .hero__event-card-img{
        width: 100%;
        height: 10rem;
    }
}
