/*
Theme Name: uku_fas_v2
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: uku_fas_v2
Tags: one-column, custom-colors, custom-menu, custom-logo, editor-style, featured-images, full-site-editing, block-patterns, rtl-language-support, sticky-post, threaded-comments, translation-ready, wide-blocks, block-styles, style-variations, accessibility-ready, blog, portfolio, news
*/

/*
 * IMPORTANT: This file is only served on the frontend when `SCRIPT_DEBUG` is enabled;
 * in most instances, the `style.min.css` file will be served. It is not recommended that you
 * use the Theme File Editor to modify this stylesheet. Instead, add the necessary style
 * overrides via "Additional CSS" in the Site Editor.
 */

/*
 * Link styles
 * https://github.com/WordPress/gutenberg/issues/42319
 */

a {
    text-decoration-thickness: 1px !important;
    text-underline-offset: .1em;
}

/* Focus styles */
:where(.wp-site-blocks *:focus) {
    outline-width: 0;
    outline-style: solid;
}

/* body backgrounds */
body {
    background: linear-gradient(293.39deg, #F9F9FE 43.3%, #F9FFF7 73.25%, #F9F9F9 93.23%);
}

.has-global-padding {
    padding: 0;
}

.single-program,
.page-template-default-grey-background {
    background: #F9F9FE;
}

body.single,
.page-template-default-white-background {
    background: #FFFFFF;
}

body.single-command {
    background: linear-gradient(293.39deg, #F9F9FE 43.3%, #F9FFF7 73.25%, #F9F9F9 93.23%);
}

/* Increase the bottom margin on submenus, so that the outline is visible. */
.wp-block-navigation .wp-block-navigation-submenu .wp-block-navigation-item:not(:last-child) {
    margin-bottom: 3px;
}

/* Increase the outline offset on the parent menu items, so that the outline does not touch the text. */
.wp-block-navigation .wp-block-navigation-item .wp-block-navigation-item__content {
    outline-offset: 4px;
}

/* Remove outline offset from the submenus, otherwise the outline is visible outside the submenu container. */
.wp-block-navigation .wp-block-navigation-item ul.wp-block-navigation__submenu-container .wp-block-navigation-item__content {
    outline-offset: 0;
}

/*
 * Progressive enhancement to reduce widows and orphans
 * https://github.com/WordPress/gutenberg/issues/55190
 */
h1,
h2,
h3,
h4,
h5,
h6,
blockquote,
caption,
figcaption,
p {
    text-wrap: pretty;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--second-family);
    font-weight: 600;
}

/*
 * Change the position of the more block on the front, by making it a block level element.
 * https://github.com/WordPress/gutenberg/issues/65934
*/
.more-link {
    display: block;
}

/*
 * Prevents unnecessary scrollbars while handling long lines of preformatted text.
 * https://core.trac.wordpress.org/ticket/63875
 */
:where(pre) {
    overflow-x: auto;
}

.home {
    color: #1f1b36;
}

main {
    display: flex;
    gap: 4rem;
    flex-direction: column;
}

.home #partners {
    padding-top: 0;
    ;
}

: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: 3rem;
    --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: none;
}

header {
    background: none;
}

.home-topbar__inner {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    padding: 0.375rem 0 !important;
}

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

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

.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);
    margin-top: 0;
}

.home-nav .wp-block-navigation-item.nav-button:first-child {
    margin-right: -1.5rem;
}

.home-nav .wp-block-navigation-item.nav-button {
    margin-right: -0.25rem;
}

.home-nav .wp-block-navigation-item.nav-button a {
    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-nav .wp-block-navigation__container {
    gap: 2.5rem;
}

.home-mobile-menu__top {
    display: none;
}

.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 {
    padding:
}

.home-nav .wp-block-navigation-item:not(.nav-button) a:hover {
    color: #7257e4;
    text-shadow: 0.7px 0 0 #7257e4;
}

.home-nav a.is-active,
.home-nav a[aria-current="page"] {
    color: #7257e4;
    text-shadow: 0.7px 0 0 #7257e4;
}

.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;
    margin-top: 0;
}

.home-header__right>p {
    margin-top: 0;
}

.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;
}


.search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 120px;

    display: flex;
    justify-content: center;
    align-items: flex-start;

    padding-top: 50px;

    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(6px);

    opacity: 0;
    pointer-events: none;
    transition: 0.3s ease;
    z-index: 9999;
}

.search-overlay.active {
    opacity: 1;
    pointer-events: auto;
    align-items: center;
}

.search-box {
    background: white;
    padding: 12px 20px;
    border-radius: 12px;
    min-width: 300px;
    max-width: 600px;
    width: 100%;

    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.home-donate {
    background: transparent;
    margin-top: 0;
}

.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;
    transition: transform 220ms ease;
    z-index: 1;
    pointer-events: none;
}

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

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

.home-lang-switch[data-lang="EN"] {
    background: #10b956;
}

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

.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-nav .wp-block-navigation-item.nav-button a:hover,
.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: #eae8f7;
    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: 1.875rem;
    padding-bottom: 0;
}

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

.hero.no-bg::before {
    background: transparent;
}

.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: unset;
}

.hero__event-card {
    position: absolute;
    right: 1.5rem;
    bottom: 1.5rem;
    background: #fff;
    border-radius: 1.25rem;

    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);
    overflow: hidden;
}

.hero__event-card>a {
    padding: 0.875rem;
    display: grid;
    grid-template-columns: minmax(0, var(--hero-event-card-image-width)) minmax(0, 1fr);
    gap: 0 var(--hero-event-card-gap);
    align-items: end;
}

.hero__event-card a:hover {
    background-color: #eae8f7;
}


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

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

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

.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: 1.5rem;
    line-height: var(--fig-lh-36);
    letter-spacing: -0.01em;
    font-weight: 600;
    font-family: var(--second-family);
    overflow-wrap: anywhere;
}

.facts {
    background: none;
    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;
    width: 100%;
}

.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-family: var(--second-family);
    font-weight: 600;
    font-size: 28px;
    line-height: 36px;
    letter-spacing: 0%;
    color: #150F2A
}

.events-list p {
    margin: 0.5rem 0 0;
    color: #150f2a;
    font-family: var(--second-family);
    font-weight: 300;
    font-size: 14px;
    line-height: 24px;
    letter-spacing: 0%;

}

.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: none;
    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;
    min-height: 90%;
}

.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 {
    position: relative;
    height: 100%;
    padding-bottom: 3rem;
}

.partners-left .partners-cta {
    position: absolute;
    bottom: 0;
    left: 0;
}

.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 1.5rem;
    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%;
    max-width: 1300px;
    margin: auto;
}

.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;
    transition: background-color 0.5s ease;
}

.newsletter-overlay__submit:hover {
    background-color: #FFFFFF;
    color: #7257e4;
}

.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;
    }
}

footer,
.home-footer {
    display: flex;
    flex-direction: column;
    gap: var(--footer-gap);
    background: #150f2a;
    color: #f5f5f5;
    padding: var(--footer-padding-y) 0;
    margin: 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: 0.5rem;
    width: 16.5625rem;
    flex: 0 0 16.5625rem;
}

.home-footer__contacts .wp-block-heading {
    padding-bottom: 2rem;
}

.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: repeat(6, auto);
    justify-content: space-between;
    align-items: flex-start;
    gap: 1.5rem;
    padding-bottom: 2rem;
}

.home-footer__links h3 {
    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: 3rem;
        --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;
    }
/* 
    .home-nav .wp-block-navigation__container {
        width: 100%;
        justify-content: space-between;
    } */

@media (max-width: 70.0625rem) {

    .home-header__right .gtranslate_selector,
    .home-header__right .home-logo-secondary-link {
        display: none;
    }

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

    .home-header__right {
        gap: 2rem;
    }

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

    .header-container {
        margin-block-start: 0;
    }

    .home-nav:not(.home-main-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;
        justify-content: flex-start !important;
        margin-block-start: 0;
    }

    .home-mobile-menu__top {
        position: fixed;
        top: 0;
        right: 0;
        width: var(--mobile-nav-panel-width);
        z-index: 35;
        display: flex;
        align-items: center;
        justify-content: flex-start;
        box-sizing: border-box;
        padding: 1.75rem 4.75rem 1rem 1rem;
        transform: translateX(100%);
        transition: transform 220ms ease;
        pointer-events: none;
        margin-block-start: 0;
    }

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

    .home-mobile-menu__top .home-lang-switch {
        display: inline-block;
    }

    .home-nav .wp-block-navigation__container {
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        gap: 0.625rem;
        padding-top: 75px;
    }

    .home-nav .wp-block-navigation-item {
        width: 100%;
    }

    .home-nav .wp-block-navigation-item__content {
        width: 100%;
        min-height: 2.75rem;
        align-items: center;
        border-radius: 0.5rem;
        box-sizing: border-box;
        padding: 0.75rem 0.875rem;
    }

    .home-nav .wp-block-navigation-item__content:hover,
    .home-nav .wp-block-navigation-item__content:focus-visible {
        background: rgba(129, 99, 234, 0.08);
    }

    .home-nav__close {
        width: auto;
        height: auto;
        align-items: center;
        justify-content: center;
        border: none;
        padding: 0;
        cursor: pointer;
        display: block;
        background: none;
        position: unset;
    }

    .home-nav__close svg {
        width: 30px;
        height: 30px;
    }

    .home-nav__close a {
        margin: 0;
        padding: 0;
    }

    .home-nav__close a,
    .home-nav__close a:hover,
    .home-nav__close a:focus {
        background: transparent !important;
    }

    .close-button-link {
        padding-top: 0;
    }

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

    .home-topbar,
    .home-donate,
    .home-header__right .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: 0.5rem;
        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);
    }

    .hero.home-wrap {
        width: calc(100% - 30px);
        max-width: 100%;
        overflow: hidden;
    }

    .home .hero.home-wrap {
        max-width: calc(100% - 30px);
    }

    .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(100% - 2rem);
        width: 100%;
    }

    .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: 3.125rem;
    }

    .home-section__copy {
        margin: 1rem 0 2.5rem;
        max-width: 100%;
        font-size: 1.125rem;
        line-height: 1.875rem;
    }

    #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: center;
    }

    .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--feature .program-card__arrow,
    .program-card__arrow {
        width: 3.375rem;
        height: 2.5rem;
        padding: 0;
        top: 1rem;
    }

    .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--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;
        margin-bottom: 10px;
    }

    .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: center;
    }

    #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: 2.8125rem;
        height: 2.8125rem;
        margin-left: -1rem;
    }

    .home-section .events-list .ev-img img {
        height: auto;
        aspect-ratio: 14 / 8;
    }

    .home-section .events-list__meta {
        display: grid;
        min-height: auto;
        align-self: center;
        grid-template-columns: auto auto;
    }

    .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) {
        max-width: 4.25rem;
    }

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

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

    #research .home-tabs__button:nth-child(4) {
        max-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, 47%);
        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: 1.5;
        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(4, 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;
        margin: 0 10px;
    }

    .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: 0.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;
        margin: 0 !important;
    }

    .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: center;
        width: min(21.8125rem, 100%);
    }

    .op-card:hover {
        display: grid;
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .op-card {
        display: grid;
        grid-template-columns: 1fr;
        gap: 1.5rem;
        height: auto;
    }
}

@media all and (max-width: 600px) {
    .partners__logos {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 1.5rem 1rem;
    }
}

.schools-support .wpcf7 form .wpcf7-response-output {
    color: #fff;
}

@media (max-width: 391px) {
    .home-section .events-list__meta {
        padding-left: 5px;
    }

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

    .home-section .events-list article {
        gap: 12px;
    }

    :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";
    }

    .home-footer__contacts .wp-block-heading {
        padding-bottom: 1rem;
    }
}

@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.5rem;
    }
}

@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;
    }
}

:where(pre) {
    overflow-x: auto;
}

:root :where(.is-layout-flow)>* {
    margin-block-start: 0 !important;
    margin-block-end: 0 !important;
}

:root button {
    cursor: pointer;
}

a,
a.button-press,
a.partners-cta,
a.partners-cta span,
a.home-btn {
    text-decoration: none !important;
}

.headline-and-text_wrap {
    display: grid;
    gap: 2.1875rem;
    width: min(52rem, calc(100% - 4rem));
    margin-inline: auto;
    text-align: center;
    padding: 4rem 0 4rem;
}

.headline-and-text__headline {
    margin: 0;
    font-family: var(--second-family);
    font-weight: 600;
    font-size: 46px;
    line-height: 50px;
    text-align: center;
    color: var(--color-text);
}

.headline-and-text__text {
    margin: 0;
    font-family: Inter;
    font-weight: 400;
    font-size: 1.125rem;
    line-height: 1.875rem;
    text-align: center;
    color: #83839a;
}

@media (max-width: 768px) {
    .headline-and-text_wrap {
        gap: var(--space-16);
    }

    .headline-and-text__text {
        font-size: 1.125rem;
        line-height: 1.875rem;
    }

    footer {
        padding-left: 15px;
        padding-right: 15px;
    }
}

.squares-with-stats {
    display: grid;
    grid-template-columns: 42% auto;
    gap: 1.5rem;
    width: min(60.75rem, calc(100% - 7.5rem));
    margin-inline: auto;
    padding: 0 0 4rem;
}

.squares-with-stats__lead,
.squares-with-stats__card {
    display: grid;
    align-content: end;
    box-sizing: border-box;
    min-height: 10rem;
    padding: 1.5rem;
    border-radius: 1.25rem;
    background: #fff;
}

.squares-with-stats__lead {
    aspect-ratio: 1 / 1;
    gap: 0.75rem;
    box-shadow: none;
}

.squares-with-stats__lead-icon {
    display: block;
    width: 2.5rem;
    height: 2.5rem;
    color: var(--color-text);
    position: relative;
    z-index: 1;
}

.squares-with-stats__lead-icon svg {
    display: block;
    width: 100%;
    height: 100%;
}

.squares-with-stats__lead-title,
.squares-with-stats__value {
    margin: 0;
    font-family: var(--second-family);
    font-weight: 600;
    font-size: 2.5rem;
    line-height: 2.75rem;
    color: var(--color-text);
}

.squares-with-stats__lead-text,
.squares-with-stats__label {
    margin: 0;
    color: #7d758d;
    font-weight: 400;
    font-size: 1.125rem;
    line-height: 1.875rem;
}

.squares-with-stats__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: repeat(2, minmax(0, 1fr));
    gap: 1.5rem 1.375rem;
    grid-template-rows: auto;
}

.squares-with-stats__card {
    gap: 0.75rem;
    border: 1px solid #000000;
}

@media all and (max-width: 1100px) {
    .partners__logos {
        gap: 10px 15px;
    }

    .partners-section {
        gap: 25px;
    }
}

@media (max-width: 1024px) {
    .squares-with-stats {
        width: min(82.5rem, calc(100% - 5rem));
    }

    .squares-with-stats__card {
        padding: 12px;
    }

    .squares-with-stats__value {
        font-size: 2rem;
    }

    .squares-with-stats__grid {
        gap: 15px;
    }

    #partners {
        padding: 2rem 0;
    }
}

@media (max-width: 768px) {
    .squares-with-stats {
        grid-template-columns: 1fr;
        width: min(100% - 2rem, 42rem);
    }

    .partners-section {
        gap: 35px;
    }

    .squares-with-stats__lead,
    .squares-with-stats__grid {
        width: 100%;
    }

    .squares-with-stats__grid {
        gap: 1rem;
    }

    .squares-with-stats__card {
        min-height: 0;
    }

    .squares-with-stats__lead-title,
    .squares-with-stats__value {
        font-size: 1.5rem;
    }

    .squares-with-stats__lead-text,
    .squares-with-stats__label {
        font-size: 1rem;
        line-height: 1.35rem;
    }

}

@media (max-width: 520px) {
    .squares-with-stats__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .squares-with-stats__lead,
    .squares-with-stats__card {
        min-height: auto;
        padding: 1.25rem;
    }

    .squares-with-stats__lead-title,
    .squares-with-stats__value {
        font-size: 1.25rem;
    }

    .squares-with-stats__lead-text,
    .squares-with-stats__label {
        font-size: 0.875rem;
        line-height: 1.25rem;
    }

    .instagram-block__title {
        font-size: 1.25rem;
    }

}

.squares-with-stats__lead {
    background: #e8f2e7;
    position: relative;
    overflow: hidden;
}

.squares-with-stats__lead-title,
.squares-with-stats__lead-text {
    position: relative;
    z-index: 1;
}

.squares-with-stats__lead-image {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.squares-with-stats__lead-image img {
    position: absolute;
    display: block;
    top: -25%;
    right: -30%;
    width: 100%;
    height: 100%;
    max-width: none;
}

.hero-headline-breadcrumbs h1 {
    margin-top: 3.25rem;
    margin-bottom: 2.5rem;
    font-weight: 600;
    line-height: 3.125rem;
    color: #150F2A;
}

.hero-headline-breadcrumbs .hero__breadcrumb {
    font-weight: 300;
    font-size: 0.75rem;
    line-height: 0.875rem;
    letter-spacing: 0%;
    color: #7D758D;
    margin: 1.5rem 0 0;
}

.hero-headline-breadcrumbs .hero__breadcrumb span {
    font-weight: 600;
}

.instagram-block {
    margin: 2.5rem 0;
    overflow: hidden;
    background: #F9F9FE;
    width: 100%;
    max-width: 100%;
}

#partners.partners-section {
    background: #F9F9FE;
}

.instagram-block__inner {
    padding: 1.75rem 15px 4rem 15px;
    max-width: 1370px;
    margin: auto;
}

.instagram-block__title {
    margin: 0;
    color: #000000;
    font-family: var(--second-family);
    font-size: 1.75rem;
    line-height: 1.25;
    font-weight: 600;
    text-align: center;
}

.instagram-block__profile {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    color: #000000;
    font-size: 0.875rem;
    line-height: 1.4;
    font-weight: 600;
    text-decoration: none;
}

.instagram-block__profile:hover {
    color: #eee6f9;
}

.instagram-block__icon {
    display: grid;
    place-items: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background: #eee6f9;
    color: #150f2a;
}

.instagram-block__icon svg {
    display: block;
    width: 1.25rem;
    height: 1.25rem;
}

.instagram-block__gallery {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 1.5rem;
    margin-top: 2.3125rem;
}

.instagram-block__item {
    aspect-ratio: 245 / 316;
    margin: 0;
    overflow: hidden;
    border-radius: 0.625rem;
    background: #fff;
    box-shadow: 0 0.25rem 1.5rem rgba(0, 0, 0, 0.1);
}

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

.instagram-block__actions {
    display: flex;
    max-width: 600px;
    margin: 2rem auto 0 auto;
    transform: none;
    justify-content: space-between;
    align-items: center;
}

#sb_instagram .sbi_photo {
    height: 310px !important;
    width: 245px !important;
    border-radius: 10px;
    overflow: hidden;
}

#sb_instagram #sbi_images .sbi_item {
    width: 245px !important;
}

#sb_instagram {
    height: auto !important;
    margin-top: 30px;

}

.sb_instagram_header,
#sb_instagram #sbi_load {
    display: none;
}

#sbi_images {
    width: 100%;
    overflow-x: auto;
}

.entrance-alg {
    width: min(82.5rem, calc(100% - 7.5rem));
    margin: 2.5rem auto;
    color: #150f2a;
}

.entrance-alg__header {
    display: grid;
    gap: 2.1875rem;
    max-width: 70rem;
    margin-inline: auto;
    text-align: center;
}

.entrance-alg__title {
    margin: 0;
    font-family: var(--second-family);
    font-size: 2.875rem;
    line-height: 1.15;
    font-weight: 600;
}

.entrance-alg__intro {
    max-width: 70.375rem;
    margin: 0 auto;
    color: #7d758d;
    font-size: 1.125rem;
    line-height: 1.5;
}

.entrance-alg__steps {
    position: relative;
    display: grid;
    gap: 2rem;
    max-width: 48.5625rem;
    margin: 2.5rem auto 0;
}

.entrance-alg__step {
    position: relative;
    display: grid;
    grid-template-columns: 4.375rem minmax(0, 1fr);
    gap: 2rem;
}

.entrance-alg__step:before {
    content: '';
    position: absolute;
    width: 3px;
    height: calc(100% - 80px);
    left: 33px;
    background: #CAB9EC;
    top: 88px;
}

.entrance-alg__number {
    position: relative;
    z-index: 1;
    display: grid;
    place-items: center;
    width: 4.375rem;
    height: 4.375rem;
    border-radius: 50%;
    background: #fff;
    color: #000;
    font-family: var(--second-family);
    font-size: 1.75rem;
    line-height: 1;
    font-weight: 600;
}

.entrance-alg__step-link.purple {
    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;
    width: fit-content;
    border: 1px solid #8163ea;
    margin-top: 1rem;
}

.entrance-alg__step-link.purple svg {
    width: 40px;
    height: 40px;
}

.entrance-alg__step-link.purple:hover {
    background: var(--color-bg);
    color: #8163ea;
}

.entrance-alg__step-link.white {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border: 0.0625rem solid #4e4d64;
    background: transparent;
    border-radius: 3.125rem;
    min-height: 2.875rem;
    padding: 0rem 0.5rem 0 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;
    transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease, box-shadow 180ms ease, transform 120ms ease;
    width: fit-content;
}

.entrance-alg__step-link.white svg {
    width: 40px;
    height: 40px;
}

.entrance-alg__step-link.white:hover {
    background: #eae8f7;
    border-color: #2f2946;
}

.entrance-alg__step-link.white svg rect {
    fill: none;
}

.entrance-alg__step-link.white svg path {
    stroke: #000;
}

.entrance-alg__step--active .entrance-alg__number {
    background: #8163ea;
    color: #fff;
}

.entrance-alg__step:hover .entrance-alg__number {
    background: #8163ea;
    color: #fff;
}

.entrance-alg__number--light {
    background: #eee6f9;
}

.entrance-alg__content {
    display: grid;
    gap: 1rem;
    padding: 0.75rem 0 0;
}

.entrance-alg__step-title {
    margin: 0;
    font-family: var(--second-family);
    font-size: 1.75rem;
    line-height: 1.25;
    font-weight: 600;
}

.entrance-alg__step-text {
    margin: 0;
    color: #7d758d;
    font-size: 1.125rem;
    line-height: 1.875rem;
}

.entrance-select {
    width: min(72.5rem, calc(100% - 7.5rem));
    margin: auto;
    color: #150f2a;
    text-align: center;
}

.entrance-select__title {
    margin: 0;
    font-family: var(--second-family);
    font-size: 2.875rem;
    line-height: 1.15;
    font-weight: 600;
}

.entrance-select__content h2,
.entrance-select__content h3 {
    font-family: var(--second-family);
    font-weight: 600;
}

.entrance-select__content p {
    font-size: 18px;
    line-height: 30px;
    color: #7D758D;
}

.entrance-select__intro {
    max-width: 70.375rem;
    margin: 2.1875rem auto 0;
    color: #7d758d;
    font-size: 1.125rem;
    line-height: 1.5;
}

.entrance-select__cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2.1875rem;
    margin-top: 2.5rem;
}

.entrance-select__card {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.875rem;
    min-height: 5.25rem;
    padding: 1.25rem;
    border-radius: 1.25rem;
    background: #fff;
    box-shadow: 0 0.25rem 1.5rem rgba(0, 0, 0, 0.1);
}

.entrance-select__card:hover {
    background: #fcfcfc;
    box-shadow: 0 0.25rem 1.5rem rgba(0, 0, 0, 0.2);
}

.entrance-select__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 2.75rem;
    height: 2.75rem;
}

.entrance-select__icon svg {
    display: none;
    max-width: 100%;
    max-height: 100%;
}

.entrance-select__text {
    font-weight: 600;
    font-size: 18px;
    line-height: 24px;
    text-align: center;
}

.entrance-select__card:hover .entrance-select__text {
    color: #8163ea;
}

.entrance-select__card:hover .entrance-select__icon img {
    display: none;
}

.entrance-select__card:hover .entrance-select__icon svg {
    display: block;
}

.entrance-select__card:hover .entrance-select__text span {
    color: #000;
}

@media (max-width: 1024px) {
    .entrance-alg {
        width: min(82.5rem, calc(100% - 5rem));
    }

    .entrance-select {
        width: min(82.5rem, calc(100% - 5rem));
    }
}

@media (max-width: 768px) {
    .entrance-alg {
        width: min(100% - 2rem, 42rem);
    }

    .entrance-alg__header {
        gap: 1rem;
        text-align: left;
    }

    .entrance-alg__title {
        font-size: 2rem;
    }

    .entrance-alg__intro,
    .entrance-alg__step-text {
        font-size: 1rem;
    }

    .entrance-alg__steps {
        gap: 1.5rem;
        margin-top: 2rem;
    }

    .entrance-alg__step {
        grid-template-columns: 3.5rem minmax(0, 1fr);
        gap: 1rem;
    }

    .entrance-alg__steps::before {
        top: 1.75rem;
        bottom: 1.75rem;
        left: 1.75rem;
    }

    .entrance-alg__number {
        width: 3.5rem;
        height: 3.5rem;
        font-size: 1.25rem;
    }

    .entrance-alg__content {
        padding: 0.35rem 0 1rem;
    }

    .entrance-alg__step-title {
        font-size: 1.35rem;
    }

    .entrance-select {
        width: min(100% - 2rem, 42rem);
        text-align: left;
    }

    .entrance-select__title {
        font-size: 2rem;
    }

    .entrance-select__intro {
        margin-top: 1rem;
        font-size: 1rem;
    }

    .entrance-select__cards {
        grid-template-columns: 1fr;
        gap: 1rem;
        margin-top: 2rem;
    }

    .entrance-alg__step:before {
        width: 3px;
        left: 25px;
        top: 80px;
    }
}

@media (max-width: 520px) {
    .entrance-alg__step {
        grid-template-columns: 3rem minmax(0, 1fr);
        gap: 0.875rem;
    }

    .entrance-alg__steps::before {
        top: 1.5rem;
        bottom: 1.5rem;
        left: 1.5rem;
    }

    .entrance-alg__number {
        width: 3rem;
        height: 3rem;
        font-size: 1rem;
    }

    .entrance-alg__title {
        font-size: 1.75rem;
    }

    .entrance-alg__step-title {
        font-size: 1.125rem;
    }

    .entrance-alg__intro,
    .entrance-alg__step-text {
        font-size: 0.875rem;
        line-height: 1.45;
    }

    .entrance-select__title {
        font-size: 1.75rem;
    }

    .entrance-select__intro {
        font-size: 0.875rem;
        line-height: 1.45;
    }

    .entrance-select__card {
        min-height: 4.5rem;
        padding: 1rem;
        border-radius: 1rem;
    }

    .entrance-select__icon {
        width: 2.25rem;
        height: 2.25rem;
    }
}

.wp-block-button.button-outline-purple a,
.wp-block-button.button-outline a {
    transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease, box-shadow 180ms ease, transform 120ms ease;
}

.wp-block-button.button-outline.button-outline-arrow a:after {
    content: url('data:image/svg+xml,%3Csvg%20width%3D%2213%22%20height%3D%2211%22%20viewBox%3D%220%200%2013%2011%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M12%205.5L7.28571%2010M12%205.5L7.28571%201M12%205.5H1%22%20stroke%3D%22currentColor%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3C%2Fpath%3E%3C%2Fsvg%3E');
    padding-left: 1rem;
}

.wp-block-button.button-outline a:hover {
    background: #eae8f7 !important;
    border-color: #2f2946 !important;
}

.wp-block-button.button-outline-purple a:hover {
    background: #FFFFFF !important;
    color: #8163EA !important;
}

.header-mobile-menu {
    display: none;
}

@media (max-width: 1121px) {
    body.menu-open .header-mobile-menu {
        display: grid;
    }

    .home-header>.home-nav.home-main-nav {
        display: none;
    }

    .header-mobile-menu {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: #fff;
        z-index: 999;
        padding: 1rem;
    }

    body.admin-bar .header-mobile-menu {
        padding-top: 3.5rem;
        grid-template-rows: 1fr auto 1fr;
    }

    body.admin-bar .header-mobile-menu>div:last-child {
        padding-top: 0.9375rem;
    }

    .header-mobile-menu .home-nav.home-main-nav {
        position: unset;
        background: none;
        transform: none;
        box-shadow: none;
        width: 100%;
        height: auto;
        margin: 0;
        padding: 0;
        text-align: center;
        grid-area: auto;
    }

    .header-mobile-menu nav.home-nav.home-main-nav {
        padding-top: 1.5rem;
    }

    .header-mobile-menu nav.home-nav.home-main-nav ul {
        gap: 1.5rem;
    }

    .header-mobile-menu .home-nav .wp-block-navigation-item.nav-button a {
        align-content: center;
        font-weight: 600;
        font-size: 1rem;
        line-height: 1.125rem;
        padding: 0.8125rem;
    }

    .header-mobile-menu .home-topbar__inner {
        overflow: auto;
        max-height: stretch;
        margin: 0;
        width: 100%;
        padding: 0 1rem !important;
        grid-template-columns: 1fr;
        display: grid;
        gap: 1.875rem;
    }

    .header-mobile-menu .home-topbar__inner .home-donate {
        display: block;
        text-align: center;
        place-content: center;
        font-weight: 600;
        font-size: 1rem;
        line-height: 1.125rem;
        padding: 0.8125rem;
    }

    .header-mobile-menu .home-nav .wp-block-navigation-item__content {
        min-height: auto;
        padding: 0.375rem 0.875rem;
        font-weight: 600;
        font-size: 1.125rem;
        line-height: 1.5rem;
    }

    .header-mobile-menu__social {
        display: grid;
        gap: 0.5rem;
        grid-template-columns: repeat(4, auto);
    }

    .header-mobile-menu__social a {
        width: 2.5rem;
        height: 2.5rem;
    }

    .header-mobile-menu__social a svg {
        width: 100%;
        height: 100%;
    }

    .header-mobile-menu .home-logo-secondary {
        width: 2.5rem;
        height: 2.5rem;
    }
}

@media all and (max-width: 1230px) {
    .home-nav .wp-block-navigation__container {
        gap: 1.5rem;
    }
}