
:root {
    --page-bg: #f2f2f2;
    --text-dark: #0d1117;
    --blue-main: #3f7ec5;
    --blue-deep: #2f4d73;
    --yellow: #f9c318;
    --white: #ffffff;
    --radius-lg: 24px;
    --radius-md: 18px;
}

.template-homepage {
    margin: 0;
    background: var(--page-bg);
    color: var(--text-dark);
    font-family: "Poppins", sans-serif;
}

.template-homepage * {
    box-sizing: border-box;
}

.container {
    width: min(1120px, calc(100% - 48px));
    margin: 0 auto;
}

.home-header {
    padding: 22px 0 20px;
}

.home-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

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

.home-logo img {
    display: block;
    width: auto;
    max-width: 258px;
    height: auto;
    max-height: 81px;
    object-fit: contain;
}

.home-logo__text {
    font: 800 39px/1 "Poppins", sans-serif;
    letter-spacing: 0.04em;
    color: var(--blue-main);
}

.home-menu-toggle {
    display: none;
    width: 46px;
    height: 46px;
    padding: 0;
    border: 1px solid #c9d6e4;
    border-radius: 14px;
    background: #ffffff;
    color: #17304f;
    align-items: center;
    justify-content: center;
    gap: 5px;
    flex-direction: column;
    cursor: pointer;
}

.home-menu-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.home-menu-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.home-menu-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.home-menu-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.home-nav ul {
    display: flex;
    align-items: center;
    gap: 14px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.home-nav li a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 0 16px;
    border-radius: 999px;
    background: transparent;
    color: #1f2430;
    text-decoration: none;
    font: 300 14px/1 "Poppins", sans-serif;
    position: relative;
    transition: color 0.25s ease;
}

.home-nav li a::after {
    content: "";
    position: absolute;
    left: 16px;
    right: 16px;
    bottom: 6px;
    height: 2px;
    border-radius: 999px;
    background: #3f7dc5;
    pointer-events: none;
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 0.22s ease;
}

.home-nav li a:hover::after,
.home-nav li a:focus-visible::after {
    transform: scaleX(1);
}

.home-nav li.has-sublinks:hover > a::after,
.home-nav li.has-sublinks:focus-within > a::after {
    transform: scaleX(1);
}

.home-nav li.is-active a {
    background: transparent;
}

.home-nav li.is-active a::after {
    transform: scaleX(1);
}

.home-nav li {
    position: relative;
}

.home-nav__heading {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 0 16px;
    color: #1f2430;
    text-decoration: none;
    font: 700 14px/1 "Poppins", sans-serif;
    cursor: default;
}

.home-subnav {
    position: absolute;
    top: calc(100% + 12px);
    left: 50%;
    min-width: 220px;
    width: max-content;
    max-width: 320px;
    margin: 0;
    padding: 12px 12px;
    list-style: none;
    background: #ffffff;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    display: flex;
    flex-direction: column;
    gap: 4px;
    opacity: 0;
    visibility: hidden;
    transform: translate(-50%, 8px);
    transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s ease;
    z-index: 20;
}

.home-nav li.has-sublinks:hover > .home-subnav,
.home-nav li.has-sublinks:focus-within > .home-subnav {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
}

.home-subnav li a {
    display: inline-flex;
    align-items: center;
    min-height: auto;
    padding: 7px 6px 11px;
    border-radius: 0;
    white-space: nowrap;
    position: relative;
}

.home-subnav li a::after {
    display: none;
}

.home-subnav li a::before {
    content: "";
    position: absolute;
    left: 6px;
    right: 6px;
    bottom: 5px;
    height: 2px;
    background: #3f7dc5;
    opacity: 1;
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 0.22s ease;
}

.home-subnav li a:hover,
.home-subnav li a:focus-visible {
    background: transparent;
}

.home-subnav li a:hover::before,
.home-subnav li a:focus-visible::before {
    transform: scaleX(1);
}

@media (max-width: 900px) {
    .home-subnav {
        left: 0;
        min-width: 220px;
        width: max-content;
        max-width: 280px;
        transform: translateY(8px);
    }

    .home-nav li.has-sublinks:hover > .home-subnav,
    .home-nav li.has-sublinks:focus-within > .home-subnav {
        transform: translateY(0);
    }
}

.home-login {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    min-width: 62px;
    border-radius: 999px;
    text-decoration: none;
    color: #ffffff;
    font: 600 12px/1 "Poppins", sans-serif;
    background: linear-gradient(135deg, #4a93e2, #2b6cb6);
}

.home-auth {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
}

.home-panel-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 30px;
    padding: 0 14px;
    border-radius: 999px;
    background: #eef3f8;
    color: #17304f;
    text-decoration: none;
    font: 600 11px/1 "Poppins", sans-serif;
}

.home-panel-link:hover,
.home-panel-link:focus-visible {
    background: #f9c318;
    color: #17304f;
}

.hero {
    margin-top: 4px;
}

.hero-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    min-height: 420px;
}

.hero-card__track {
    display: grid;
}

.hero-card__slide {
    grid-area: 1 / 1;
    position: relative;
    min-height: 420px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.hero-card__slide.is-active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.hero-card__image {
    width: 100%;
    height: 420px;
    object-fit: cover;
    display: block;
}

.hero-card__image-link {
    display: block;
}

.hero-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(93deg, rgba(17, 32, 55, 0.1) 30%, rgba(61, 124, 197, 0.72) 100%);
    pointer-events: none;
}

.hero-card__placeholder {
    background: linear-gradient(135deg, #d6dce5 0%, #9cb9de 100%);
}

.hero-card__content {
    position: absolute;
    z-index: 1;
    top: 50%;
    transform: translateY(-50%);
    max-width: 420px;
    color: #ffffff;
}

.hero-card__content.align-right {
    right: clamp(40px, 8vw, 130px);
    left: auto;
    text-align: right;
}

.hero-card__content.align-left {
    left: clamp(40px, 8vw, 130px);
    right: auto;
    text-align: left;
}

.hero-card__content h1 {
    margin: 0;
    font: 200 clamp(23px, 2.17vw, 34px) / 1.02 "Poppins", sans-serif;
    white-space: nowrap;
}

.hero-card__banner-text {
    font: 200 clamp(23px, 2.17vw, 34px) / 1.02 "Poppins", sans-serif;
}

.hero-card__banner-text p {
    margin: 0;
}

.hero-card__banner-text strong {
    font-weight: 500;
}

.hero-card__content strong {
    display: inline;
    font-weight: 500;
}

.hero-card__content a {
    display: inline-block;
    margin-top: 12px;
    color: var(--yellow);
    text-decoration: none;
    font: 400 17px/1.1 "Poppins", sans-serif;
}

.hero-card__controls {
    position: absolute;
    z-index: 2;
    left: 50%;
    bottom: 14px;
    transform: translateX(-50%);
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.hero-card__dots {
    display: flex;
    align-items: center;
    gap: 8px;
}

.hero-card__dot {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.52);
    border: 0;
    padding: 0;
    cursor: pointer;
    transition: background-color 0.25s ease;
}

.hero-card__dot.is-active {
    background: #ffffff;
}

.hero-card__arrow {
    border: 0;
    padding: 0;
    width: 14px;
    height: 14px;
    background: transparent;
    color: rgba(255, 255, 255, 0.9);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: color 0.2s ease;
}

.hero-card__arrow span {
    font: 300 16px/1 "Poppins", sans-serif;
}

.hero-card__arrow:hover,
.hero-card__arrow:focus-visible {
    color: #ffffff;
}

.hero-card.is-static .hero-card__arrow {
    display: none;
}

.association {
    padding: 30px 0 16px;
}

.association p {
    margin: 0;
    width: min(400px, 100%);
    margin-left: auto;
    text-align: right;
    font: 300 19px/1.25 "Poppins", sans-serif;
}

.feature-cards {
    padding: 12px 0 48px;
}

.feature-cards__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.feature-card {
    position: relative;
    display: block;
    border-radius: var(--radius-md);
    overflow: hidden;
    min-height: 315px;
}

.feature-card img,
.feature-card__placeholder {
    width: 100%;
    height: 315px;
    object-fit: cover;
    display: block;
}

.feature-card img {
    transform: scale(1);
    transform-origin: center;
    opacity: 1;
    transition: transform 0.45s ease, opacity 0.45s ease;
    will-change: transform, opacity;
}

.feature-card__placeholder {
    background: linear-gradient(145deg, #cfcfcf, #a2a2a2);
}

.feature-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.06) 48%, rgba(0, 32, 81, 0.62) 100%);
}

.feature-card:hover img,
.feature-card:focus-within img {
    transform: scale(1.04);
    opacity: 0.96;
}

.feature-card span {
    position: absolute;
    z-index: 1;
    left: 50%;
    transform: translateX(-50%);
    bottom: 19px;
    width: 72%;
    max-width: 240px;
    padding: 7px 20px 8px;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(63, 125, 197, 0.95) 0%, rgba(63, 125, 197, 0.58) 62%, rgba(63, 125, 197, 0) 100%);
    color: #ffffff;
    text-align: center;
    font: 400 23px/1 "Poppins", sans-serif;
    letter-spacing: 0.01em;
}

.numbers {
    padding: 78px 0 172px;
}

.numbers h2 {
    margin: 0 0 14px;
    text-align: center;
    font: 500 26px/1.2 "Poppins", sans-serif;
}

.numbers__grid {
    margin-top: 140px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
}

.number-card {
    text-align: center;
}

.number-card strong {
    display: block;
    font: 700 39px/1.1 "Poppins", sans-serif;
    color: #61666f;
}

.number-card p {
    margin: 10px 0 0;
    font: 200 21px/1.2 "Poppins", sans-serif;
}

.promo {
    padding: 72px 0 36px;
}

.promo-carousel {
    position: relative;
}

.promo-carousel__track {
    display: grid;
}

.promo-slide {
    grid-area: 1 / 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
    gap: 26px;
    align-items: start;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.35s ease, visibility 0.35s ease;
}

.promo-slide.is-active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.promo-slide__content {
    display: flex;
    flex-direction: column;
    width: fit-content;
    max-width: 100%;
    min-width: 0;
}

.promo-slide__title {
    margin: 0;
    color: #6e6e6e;
    font: 700 clamp(27px, 2.25vw, 36px) / 1.05 "Poppins", sans-serif;
    letter-spacing: 0.01em;
    white-space: nowrap;
}

.promo-slide__title-primary {
    font-weight: 700;
}

.promo-slide__title-secondary {
    margin-left: 8px;
    font-weight: 300;
}

.promo-slide__description {
    margin: 16px 0 0;
    color: #161b23;
    font: 300 clamp(15px, 1.33vw, 21px) / 1.35 "Poppins", sans-serif;
}

.promo-slide__cta {
    display: inline-flex;
    margin-top: 14px;
    width: fit-content;
    color: #3f7dc0;
    text-decoration: none;
    border-bottom: 0;
    font: 500 15px/1.2 "Poppins", sans-serif;
}

.promo-slide__controls {
    margin-top: 24px;
    display: flex;
    justify-content: flex-end;
    gap: 16px;
    transform: translateX(-40px);
}

.promo-slide__arrow {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid #c9c9cc;
    background: #ffffff;
    color: #05070c;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    line-height: 1;
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.promo-slide__arrow:hover,
.promo-slide__arrow:focus-visible {
    background: #f4f5f8;
    border-color: #b9babf;
    transform: scale(1.02);
}

.promo-slide__arrow span {
    display: inline-block;
    width: 1em;
    text-align: center;
    line-height: 1;
    transform: none;
}

.promo-slide__image a {
    display: block;
}

.promo-slide__image img,
.promo__placeholder {
    width: 100%;
    height: 340px;
    border-radius: var(--radius-md);
    object-fit: cover;
    display: block;
}

.promo__placeholder {
    background: linear-gradient(140deg, #cfdae8, #95b1d3);
}

.promo-carousel.is-static .promo-slide__controls {
    display: none;
}

.news {
    margin-top: 98px;
    padding: 100px 0 156px;
    background: var(--blue-main);
}

.news h2 {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    margin: 0;
    color: #ffffff;
    text-transform: uppercase;
    font: 100 60px/1 "Poppins", sans-serif;
}

.news h2 span {
    width: 7px;
    height: 56px;
    border-radius: 999px;
    background: var(--yellow);
}

.news-featured {
    margin-top: 38px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 34px;
    align-items: stretch;
}

.news-featured__image img,
.news__placeholder {
    display: block;
    width: 100%;
    height: 360px;
    object-fit: cover;
    border-radius: 24px;
    background: #d9d9d9;
}

.news-tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    max-width: 100%;
    min-height: 22px;
    padding: 0 14px;
    border-radius: 999px;
    background: var(--yellow);
    color: #0c1118;
    font: 600 11px/1 "Poppins", sans-serif;
    text-transform: uppercase;
}

.news-featured__content .news-tag {
    align-self: flex-start;
}

.news-featured__content h3 {
    margin: 12px 0 0;
}

.news h3 a,
.news h3 {
    color: #ffffff;
    text-decoration: none;
    text-transform: uppercase;
    font: 800 42px/1.15 "Poppins", sans-serif;
}

.news-featured__content {
    max-height: 360px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.news-featured__content h3 a {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font: 600 30px/1.16 "Poppins", sans-serif;
}

.news-featured__content p {
    margin: 14px 0 0;
    color: #f3f8ff;
    font: 300 22px/1.38 "Poppins", sans-serif;
    display: -webkit-box;
    -webkit-line-clamp: 6;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-empty {
    margin: 24px 0 0;
    color: #f3f8ff;
    font: 300 16px/1.35 "Poppins", sans-serif;
}

.news-read-more {
    display: inline-flex;
    width: fit-content;
    margin-top: 14px;
    color: #f3f8ff;
    text-decoration: none;
    font: 700 14px/1.1 "Poppins", sans-serif;
    transition: color 0.2s ease;
}

.news-read-more:hover,
.news-read-more:focus-visible {
    color: var(--yellow);
}

.news-grid {
    margin-top: 34px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 30px;
}

.news-card__image img,
.news-card .news__placeholder {
    width: 100%;
    height: 230px;
    border-radius: var(--radius-md);
    display: block;
    object-fit: cover;
    background: #d9d9d9;
}

.news-card .news-tag {
    margin-top: 12px;
}

.news-card h3 {
    margin: 10px 0 0;
    line-height: 1.12;
}

.news-card h3 a {
    display: -webkit-box;
    font: 600 17px/1.12 "Poppins", sans-serif;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-card p {
    margin: 11px 0 0;
    color: #f3f8ff;
    font: 300 16px/1.25 "Poppins", sans-serif;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    margin: 96px auto 0;
    min-height: 34px;
    padding: 0 16px;
    border-radius: 999px;
    border: 1px solid rgba(243, 248, 255, 0.65);
    background: transparent;
    text-decoration: none;
    color: #f3f8ff;
    font: 500 12px/1 "Poppins", sans-serif;
    transition: color 0.22s ease, background-color 0.22s ease, border-color 0.22s ease;
}

.news-button:hover,
.news-button:focus-visible {
    background: #ffffff;
    border-color: #ffffff;
    color: #2f4d73;
}

.partners {
    padding: 50px 0 56px;
    min-height: 380px;
}

.partners h2 {
    margin: 0 0 14px;
    text-align: center;
    font: 500 26px/1.2 "Poppins", sans-serif;
}

.partners__grid {
    margin-top: 34px;
    max-width: 760px;
    min-height: 172px;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    align-items: stretch;
    justify-content: center;
}

.partner-box {
    flex: 0 1 160px;
    max-width: 160px;
}

.partner-box__link {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    padding: 0;
    border-radius: 14px;
    border: 1px solid #d7dce5;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #3b4250;
    overflow: hidden;
    transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.partner-box__link img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
    transition: transform 0.24s ease, filter 0.24s ease;
}

.partner-box__link:hover,
.partner-box__link:focus-visible {
    transform: scale(1.03);
    box-shadow: 0 10px 22px rgba(17, 28, 46, 0.13);
}

.partner-box__link:hover img,
.partner-box__link:focus-visible img {
    transform: scale(1.08);
    filter: grayscale(0%);
}

.partners__empty {
    margin: 0;
    color: #5d6675;
    font: 400 15px/1.35 "Poppins", sans-serif;
    text-align: center;
}

.home-footer {
    padding: 56px 0 72px;
    background: var(--footer-bg-color, var(--blue-deep));
    color: var(--footer-text-color, #e7edf9);
}

.home-footer__grid {
    display: grid;
    grid-template-columns: 1.35fr repeat(3, 1fr);
    gap: 28px;
}

.home-footer img {
    max-width: 180px;
    max-height: 56px;
    height: auto;
    width: auto;
    object-fit: contain;
    display: block;
}

.home-footer__logo-svg {
    display: block;
    width: auto;
    height: 56px;
    max-width: 180px;
    max-height: 56px;
    color: var(--footer-logo-color, var(--footer-text-color, #e7edf9));
}

.home-footer h3 {
    margin: 0;
    color: var(--footer-text-color, #ffffff);
    font: 400 18.7px/1.2 "Poppins", sans-serif;
}

.home-footer p,
.home-footer li,
.home-footer a {
    color: var(--footer-text-color, #e7edf9);
    text-decoration: none;
    font: 200 15.3px/1.65 "Poppins", sans-serif;
}

.home-footer__buttons {
    display: grid;
    gap: 10px;
}

.home-footer__button {
    display: inline;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    transition: color 0.2s ease;
}

.home-footer__button:hover,
.home-footer__button:focus-visible {
    color: #1f3552;
}

.home-footer__brand p {
    margin-top: 14px;
}

.home-footer ul {
    margin: 10px 0 0;
    padding: 0;
    list-style: none;
}

@media (max-width: 1180px) {
    .home-footer__grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 24px;
    }

    .home-footer__brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 1100px) {
    .association p {
        font-size: 17px;
    }

    .feature-card span {
        font-size: 19px;
    }

    .numbers h2 {
        font-size: 20px;
    }

    .partners h2 {
        font-size: 20px;
    }

    .number-card strong {
        font-size: 29px;
    }

    .number-card p {
        font-size: 15px;
    }

    .promo-slide__title {
        font-size: 32px;
    }

    .promo-slide__description {
        font-size: 17px;
    }

    .news h2 {
        font-size: 44px;
    }

    .news h3,
    .news h3 a {
        font-size: 28px;
    }

    .news-card h3 a {
        display: -webkit-box;
        font-size: 17px;
        line-height: 1.12;
        font-weight: 600;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .news-featured__content p {
        font-size: 18px;
    }

    .news-card p {
        font-size: 16px;
        line-height: 1.25;
        font-weight: 300;
    }
}

@media (max-width: 900px) {
    .home-header__inner {
        flex-wrap: wrap;
        align-items: center;
    }

    .feature-cards {
        padding-bottom: 0;
    }

    .home-menu-toggle {
        display: inline-flex;
        margin-left: auto;
    }

    .home-auth {
        align-items: flex-end;
        width: 100%;
    }

    .home-nav {
        order: 4;
        width: 100%;
        padding-top: 6px;
    }

    .home-nav[hidden] {
        display: none;
    }

    .home-nav ul {
        flex-direction: column;
        align-items: stretch;
        gap: 6px;
        padding: 12px;
        border-radius: 16px;
        background: #ffffff;
        box-shadow: 0 18px 42px rgba(15, 23, 42, 0.12);
    }

    .home-nav li,
    .home-nav li a {
        width: 100%;
    }

    .home-nav li a {
        justify-content: flex-start;
        min-height: 36px;
        padding: 0 12px;
        background: transparent;
        font-size: 13px;
    }

    .home-nav__heading {
        width: 100%;
        justify-content: flex-start;
        min-height: 36px;
        padding: 0 12px;
        font-size: 13px;
    }

    .home-subnav {
        position: static;
        min-width: 0;
        width: 100%;
        max-width: none;
        padding: 4px 0 0 12px;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        background: transparent;
    }

    .home-nav li.has-sublinks:hover > .home-subnav,
    .home-nav li.has-sublinks:focus-within > .home-subnav {
        transform: none;
    }

    .home-subnav li a {
        min-height: 30px;
        padding: 4px 0;
    }

    .home-subnav li a::before {
        left: 0;
        right: auto;
        width: 24px;
        bottom: 3px;
    }

    .hero-card,
    .hero-card__slide,
    .hero-card__image {
        min-height: 320px;
        height: 320px;
    }

    .hero-card__content {
        max-width: 280px;
    }

    .hero-card__content.align-right {
        right: 28px;
        left: auto;
    }

    .hero-card__content.align-left {
        left: 28px;
        right: auto;
    }

    .hero-card__controls {
        bottom: 12px;
        gap: 10px;
    }

    .association p {
        margin: 0 auto;
        text-align: center;
    }

    .feature-cards__grid,
    .numbers__grid,
    .news-grid {
        grid-template-columns: 1fr;
    }

    .news {
        padding: 50px 0 106px;
    }

    .numbers__grid {
        margin-top: 100px;
    }

    .numbers {
        padding-bottom: 62px;
    }

    .feature-card {
        min-height: 175px;
    }

    .feature-card img,
    .feature-card__placeholder {
        height: 175px;
    }

    .feature-card span {
        bottom: 10px;
        padding: 6px 14px 7px;
        font-size: 16px;
    }

    .promo-slide,
    .news-featured,
    .home-footer__grid {
        grid-template-columns: 1fr;
    }

    .promo-slide__image {
        order: -1;
    }

    .promo-slide__controls {
        margin-top: 18px;
    }

    .news-featured__image img,
    .news__placeholder {
        height: 280px;
    }

    .news-featured__content {
        max-height: 280px;
    }

    .partners__grid {
        gap: 18px;
    }

    .partner-box {
        flex-basis: 146px;
        max-width: 146px;
    }
}

@media (max-width: 640px) {
    .container {
        width: calc(100% - 28px);
    }

    .home-logo img {
        max-height: 76px;
    }

    .hero-card__content h1 {
        font-size: 26px;
    }

    .hero-card__content a {
        font-size: 18px;
    }

    .promo-slide__title {
        font-size: 24px;
    }

    .promo-slide__description {
        font-size: 14px;
    }

    .promo-slide__arrow {
        width: 29px;
        height: 29px;
        font-size: 12px;
    }

    .promo-slide__image img,
    .promo__placeholder {
        height: 280px;
    }

    .feature-card {
        min-height: 155px;
    }

    .feature-card img,
    .feature-card__placeholder {
        height: 155px;
    }

    .feature-card span {
        width: 78%;
        max-width: 260px;
        font-size: 15px;
    }

    .news h2 {
        font-size: 32px;
    }

    .news h2 span {
        height: 32px;
    }

    .partner-box {
        flex-basis: min(100%, 156px);
        max-width: 156px;
    }
}
