/*
 Theme Name:   GeneratePress Child
 Theme URI:    https://generatepress.com
 Description:  GeneratePress Child Theme for edu.new local site.
 Author:       Antigravity
 Author URI:   https://github.com/google-deepmind
 Template:     generatepress
 Version:      1.0.0
 Text Domain:  generatepress-child
*/

/* ==========================================================================
   Custom styles for your child theme go below this line
   ========================================================================== */

:root {
    --edu-text: #162014;
    --edu-text-muted: #5f685b;
    --edu-green-soft: #c9ff60;
    --edu-green: #95d129;
    --edu-green-deep: #629f00;
    --edu-orange: #ed6a30;
    --edu-blue: #63c6f2;
    --edu-yellow-light: #ffee4e;
    --edu-yellow: #ffbc03;
    --edu-yellow-deep: #c78c00;
}

body {
    color: var(--edu-text);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 18px;
    line-height: 1.56;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0 0 0.45em;
    color: var(--edu-green-deep);
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 700;
    line-height: 1.05;
}

h1 {
    font-size: clamp(42px, 6vw, 72px);
}

h2 {
    font-size: clamp(32px, 4.2vw, 52px);
}

h3 {
    font-size: clamp(26px, 3vw, 36px);
}

h4 {
    font-size: 24px;
    color: var(--edu-green);
}

h5 {
    font-size: 20px;
    color: var(--edu-green);
}

h6 {
    font-size: 18px;
    color: var(--edu-text-muted);
    text-transform: uppercase;
}

p {
    margin: 0 0 1.15em;
}

a {
    color: var(--edu-orange);
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 0.16em;
}

a:hover,
a:focus {
    color: var(--edu-green-deep);
    text-decoration-thickness: 2px;
}

ul,
ol {
    margin: 0 0 1.15em 1.25em;
    padding: 0;
}

li {
    margin: 0 0 0.35em;
}

blockquote {
    margin: 1.6em 0;
    padding: 0.1em 0 0.1em 1em;
    border-left: 5px solid var(--edu-yellow);
    color: var(--edu-green-deep);
    font-size: clamp(24px, 3vw, 34px);
    font-weight: 700;
    line-height: 1.16;
}

blockquote p {
    margin-bottom: 0.55em;
}

blockquote cite,
figcaption,
caption,
small {
    color: var(--edu-text-muted);
    font-size: 14px;
    line-height: 1.4;
}

strong,
b {
    font-weight: 700;
}

mark {
    background: var(--edu-yellow-light);
    color: var(--edu-text);
}

hr {
    height: 1px;
    margin: 2em 0;
    border: 0;
    background: rgba(98, 159, 0, 0.24);
}

.wp-block-quote.is-style-edu-article-quote {
    margin: 32px 0;
    padding: 18px 0 18px 22px;
    border-left: 5px solid var(--edu-green);
    color: var(--edu-text);
    font-size: clamp(22px, 2.4vw, 30px);
    font-weight: 700;
    line-height: 1.22;
}

.wp-block-quote.is-style-edu-accent-quote {
    margin: 32px 0;
    padding: 22px 24px;
    border-left: 5px solid var(--edu-orange);
    border-radius: 8px;
    background: #fff6df;
    color: var(--edu-text);
    font-size: clamp(21px, 2.2vw, 28px);
    font-weight: 700;
    line-height: 1.24;
}

.wp-block-quote.is-style-edu-large-quote {
    margin: 42px 0;
    padding: 0;
    border-left: 0;
    color: var(--edu-green-deep);
    font-size: clamp(30px, 4vw, 48px);
    font-weight: 700;
    line-height: 1.08;
}

.wp-block-quote.is-style-edu-centered-quote {
    position: relative;
    display: grid;
    grid-template-columns: auto minmax(0, 620px);
    gap: 20px;
    justify-content: center;
    align-items: start;
    width: 100vw;
    max-width: none;
    margin: 42px calc(50% - 50vw);
    padding: 38px max(24px, calc((100vw - 760px) / 2));
    border-left: 0;
    background: #f2f8ec;
    color: var(--edu-text-muted);
    font-size: clamp(28px, 3.6vw, 46px);
    font-weight: 700;
    line-height: 1.05;
}

.wp-block-quote.is-style-edu-centered-quote::before {
    color: rgba(22, 32, 20, 0.42);
    content: "\201C";
    font-size: clamp(110px, 14vw, 190px);
    font-weight: 700;
    line-height: 0.78;
}

.wp-block-quote.is-style-edu-article-quote p,
.wp-block-quote.is-style-edu-accent-quote p,
.wp-block-quote.is-style-edu-large-quote p,
.wp-block-quote.is-style-edu-centered-quote p {
    margin-bottom: 0.55em;
}

.wp-block-quote.is-style-edu-article-quote p:last-of-type,
.wp-block-quote.is-style-edu-accent-quote p:last-of-type,
.wp-block-quote.is-style-edu-large-quote p:last-of-type,
.wp-block-quote.is-style-edu-centered-quote p:last-of-type {
    margin-bottom: 0;
}

.wp-block-quote.is-style-edu-article-quote cite,
.wp-block-quote.is-style-edu-accent-quote cite,
.wp-block-quote.is-style-edu-large-quote cite,
.wp-block-quote.is-style-edu-centered-quote cite {
    display: block;
    margin-top: 12px;
    color: var(--edu-text-muted);
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 1.4;
}

@media (max-width: 680px) {
    .wp-block-quote.is-style-edu-centered-quote {
        grid-template-columns: 1fr;
        gap: 4px;
        padding-top: 30px;
        padding-bottom: 30px;
    }

    .wp-block-quote.is-style-edu-centered-quote::before {
        font-size: 96px;
    }
}

.article-body.is-style-edu-article-soft {
    margin: 32px 0;
    padding: 24px;
    border-radius: 8px;
    background: #eef7e5;
}

.article-body.is-style-edu-article-accent {
    margin: 32px 0;
    padding: 4px 0 4px 20px;
    border-left: 5px solid var(--edu-yellow);
}

.article-body.is-style-edu-article-soft > *:last-child,
.article-body.is-style-edu-article-accent > *:last-child {
    margin-bottom: 0;
}

@media (max-width: 680px) {
    .article-body {
        box-sizing: border-box;
        padding-right: 16px;
        padding-left: 16px;
    }

    .article-body .wp-block-image.is-style-edu-image-full-center {
        width: calc(100% + 32px);
        max-width: none;
        margin-right: -16px;
        margin-left: -16px;
    }

    .entry-content > .wp-block-image.is-style-edu-image-full-center {
        box-sizing: border-box;
        width: 100vw;
        max-width: 100vw;
        margin-right: calc(50% - 50vw);
        margin-left: calc(50% - 50vw);
        padding-right: 0;
        padding-left: 0;
    }
}

body.page-template-template-osvita-home {
    background: #ffffff;
}

.osvita-exhibition-home {
    overflow: hidden;
    background: #ffffff;
}

.osvita-exhibition-home__article {
    margin: 0;
}

.osvita-exhibition-home__content > * {
    margin-top: 0;
}

.osvita-exhibition-home__content > *:last-child {
    margin-bottom: 0;
}

.page-template-template-osvita-home .inside-article,
.page-template-template-osvita-home .entry-content {
    margin: 0;
    padding: 0;
}

.page-template-template-osvita-home .entry-title {
    display: none;
}

body.page-template-template-osvita-city {
    background: #ffffff;
}

.osvita-city-page {
    overflow: hidden;
    background: #ffffff;
}

.osvita-city-page__article {
    margin: 0;
}

.osvita-city-page__content > * {
    margin-top: 0;
}

.osvita-city-page__content > *:last-child {
    margin-bottom: 0;
}

.page-template-template-osvita-city .inside-article,
.page-template-template-osvita-city .entry-content {
    margin: 0;
    padding: 0;
}

.page-template-template-osvita-city .entry-title {
    display: none;
}

body.page-template-template-materials {
    background: #f8faf5;
}

.page-template-template-materials .site-header {
    display: none;
}

.edu-materials-shell {
    overflow: hidden;
    background: #f8faf5;
    color: #162014;
}

.edu-materials-header {
    border-bottom: 0;
    background: transparent;
}

.edu-materials-header__inner {
    display: grid;
    grid-template-columns: minmax(170px, auto) minmax(0, 1fr) auto;
    gap: 24px;
    align-items: center;
    width: min(1180px, calc(100% - 32px));
    min-height: 72px;
    margin: 0 auto;
}

.edu-materials-header__brand {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.edu-materials-header__logo {
    display: block;
    width: 180px;
    height: auto;
}

.edu-materials-header__nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 18px;
    color: #5f685b;
    font-size: 14px;
    font-weight: 700;
}

.edu-materials-header__nav a {
    color: inherit;
    text-decoration: none;
}

.edu-materials-header__nav a:hover {
    color: #5b9800;
}

.edu-materials-header__toggle,
.edu-materials-header__menu-button {
    display: none;
}

.edu-materials-page {
    color: #162014;
}

.edu-materials-page__article {
    margin: 0;
}

.edu-materials-page__content {
    width: min(980px, calc(100% - 32px));
    margin: 0 auto;
    padding: 32px 0 64px;
}

.edu-materials-page__content > * {
    margin-top: 0;
}

.edu-materials-page__content > *:last-child {
    margin-bottom: 0;
}

.page-template-template-materials .site-content {
    display: block;
}

.page-template-template-materials .inside-article,
.page-template-template-materials .entry-content {
    margin: 0;
    padding: 0;
}

.page-template-template-materials .entry-title {
    display: none;
}

.single-country_article .edu-materials-page__content,
.single-study_guide .edu-materials-page__content {
    max-width: 760px;
}

.edu-article-materials-menu {
    margin: 0 0 28px;
    padding: 18px;
    border: 1px solid rgba(22, 32, 20, 0.12);
    border-radius: 8px;
    background: #ffffff;
}

.edu-article-materials-menu__title {
    margin: 0 0 12px;
    color: #162014;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.3;
}

.edu-article-materials-menu__list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.edu-article-materials-menu__list > li {
    position: relative;
}

.edu-article-materials-menu__list > .menu-item-has-children::after {
    position: absolute;
    top: 100%;
    left: 0;
    display: block;
    width: 100%;
    height: 8px;
    content: "";
}

.edu-article-materials-menu__list ul {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    z-index: 10;
    display: none;
    min-width: 220px;
    margin: 0;
    padding: 0;
    border: 1px solid rgba(22, 32, 20, 0.12);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 12px 30px rgba(22, 32, 20, 0.12);
    list-style: none;
}

.edu-article-materials-menu__list li:hover > ul,
.edu-article-materials-menu__list li:focus-within > ul {
    display: grid;
    gap: 4px;
    padding: 8px;
}

.edu-article-materials-menu__list li {
    margin: 0;
    list-style: none;
}

.edu-article-materials-menu__list ul li {
    width: 100%;
}

.edu-article-materials-menu__list a {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 7px 10px;
    border-radius: 8px;
    background: #f8faf5;
    color: #162014;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.25;
    text-decoration: none;
    box-sizing: border-box;
}

.edu-article-materials-menu__list ul a {
    display: flex;
    width: 100%;
}

.edu-article-materials-menu__list a:hover,
.edu-article-materials-menu__list .current-menu-item > a {
    background: #5b9800;
    color: #ffffff;
}

.is-style-edu-article-heading {
    margin-top: 36px;
    margin-bottom: 16px;
    color: #162014;
    font-size: 32px;
    font-weight: 700;
    line-height: 1.22;
}

.is-style-edu-article-subtitle {
    margin-top: 0;
    margin-bottom: 24px;
    color: #4f5b4a;
    font-size: 20px;
    font-weight: 400;
    line-height: 1.5;
}

.is-style-edu-article-image {
    margin: 32px 0;
}

.is-style-edu-article-image img {
    display: block;
    width: 100%;
    border-radius: 8px;
}

.wp-block-image.is-style-edu-article-image,
.wp-block-image.is-style-edu-article-image-wide,
.wp-block-image.is-style-edu-article-image-framed,
.wp-block-image.is-style-edu-article-image-shadow,
.wp-block-image.is-style-edu-article-image-screenshot {
    margin: 32px 0;
}

.wp-block-image.is-style-edu-article-image img,
.wp-block-image.is-style-edu-article-image-wide img,
.wp-block-image.is-style-edu-article-image-framed img,
.wp-block-image.is-style-edu-article-image-shadow img,
.wp-block-image.is-style-edu-article-image-screenshot img {
    display: block;
    max-width: 100%;
    height: auto;
}

.wp-block-image.is-style-edu-article-image figcaption,
.wp-block-image.is-style-edu-article-image-wide figcaption,
.wp-block-image.is-style-edu-article-image-framed figcaption,
.wp-block-image.is-style-edu-article-image-shadow figcaption,
.wp-block-image.is-style-edu-article-image-screenshot figcaption {
    margin: 10px 0 0;
    color: var(--edu-text-muted);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 14px;
    line-height: 1.4;
}

.wp-block-image.is-style-edu-article-image-wide {
    width: min(960px, calc(100vw - 32px));
    max-width: 100%;
    margin-left: 50%;
    transform: translateX(-50%);
}

.wp-block-image.is-style-edu-article-image-wide img {
    width: 100%;
    border-radius: 8px;
}

.wp-block-image.is-style-edu-article-image-framed {
    padding: 10px;
    border: 1px solid rgba(22, 32, 20, 0.14);
    border-radius: 8px;
    background: #ffffff;
}

.wp-block-image.is-style-edu-article-image-framed img {
    width: 100%;
    border-radius: 6px;
}

.wp-block-image.is-style-edu-article-image-shadow img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 16px 38px rgba(22, 32, 20, 0.18);
}

.wp-block-image.is-style-edu-article-image-screenshot {
    padding: 8px;
    border: 1px solid rgba(98, 159, 0, 0.22);
    border-radius: 8px;
    background: #f8faf5;
}

.wp-block-image.is-style-edu-article-image-screenshot img {
    width: 100%;
    border: 1px solid rgba(22, 32, 20, 0.08);
    border-radius: 4px;
}

.wp-block-image.is-style-edu-image-full-center {
    display: block;
    width: 100%;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.wp-block-image.is-style-edu-image-full-center.aligncenter,
.wp-block-image.is-style-edu-image-full-center .aligncenter {
    width: 100%;
    max-width: 100%;
}

.wp-block-image.is-style-edu-image-full-center a {
    display: block;
    width: 100%;
}

.wp-block-image.is-style-edu-image-full-center img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    margin-left: auto;
    margin-right: auto;
}

.wp-block-image.is-style-edu-image-full-center.is-resized img {
    width: 100% !important;
    height: auto !important;
    max-height: none !important;
    aspect-ratio: auto !important;
}

.is-style-edu-test-heading-accent {
    margin-top: 34px;
    margin-bottom: 16px;
    padding-left: 14px;
    border-left: 4px solid #5b9800;
    color: #162014;
    font-size: 30px;
    font-weight: 700;
    line-height: 1.25;
}

.is-style-edu-test-heading-line {
    display: flex;
    gap: 14px;
    align-items: center;
    margin-top: 34px;
    margin-bottom: 16px;
    color: #162014;
    font-size: 28px;
    font-weight: 600;
    line-height: 1.25;
}

.is-style-edu-test-heading-line::after {
    flex: 1 1 auto;
    min-width: 40px;
    height: 1px;
    background: rgba(22, 32, 20, 0.16);
    content: "";
}

.is-style-edu-test-lead {
    margin-bottom: 24px;
    color: #253020;
    font-size: 21px;
    font-weight: 400;
    line-height: 1.55;
}

.is-style-edu-test-note {
    margin: 24px 0;
    padding: 16px 18px;
    border-left: 4px solid #ffb82e;
    border-radius: 8px;
    background: #fff9e8;
    color: #27311f;
    font-size: 16px;
    line-height: 1.55;
}

.is-style-edu-test-image-card {
    margin: 32px 0;
    padding: 10px;
    border: 1px solid rgba(22, 32, 20, 0.12);
    border-radius: 8px;
    background: #ffffff;
}

.is-style-edu-test-image-card img {
    display: block;
    width: 100%;
    border-radius: 6px;
}

.is-style-edu-test-image-shadow {
    margin: 32px 0;
}

.is-style-edu-test-image-shadow img {
    display: block;
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 14px 34px rgba(22, 32, 20, 0.16);
}

.is-style-edu-brand-heading {
    position: relative;
    margin-top: 38px;
    margin-bottom: 18px;
    padding-top: 14px;
    color: #162014;
    font-size: 34px;
    font-weight: 700;
    line-height: 1.18;
}

.is-style-edu-brand-heading::before {
    position: absolute;
    top: 0;
    left: 0;
    width: 58px;
    height: 4px;
    border-radius: 999px;
    background: #5b9800;
    content: "";
}

.is-style-edu-brand-subtitle {
    margin: 0 0 26px;
    padding: 14px 16px;
    border-left: 4px solid #5b9800;
    border-radius: 0 8px 8px 0;
    background: #f8faf5;
    color: #3f4a39;
    font-size: 19px;
    font-weight: 400;
    line-height: 1.55;
}

@media (max-width: 980px) {
    .edu-materials-header__inner {
        grid-template-columns: minmax(170px, 1fr) auto;
    }

    .edu-materials-header__menu-button {
        display: grid;
        gap: 5px;
        width: 42px;
        height: 42px;
        align-content: center;
        justify-content: center;
        border: 1px solid rgba(0, 0, 0, 0.12);
        border-radius: 8px;
        cursor: pointer;
    }

    .edu-materials-header__menu-button span {
        display: block;
        width: 20px;
        height: 2px;
        background: #162014;
    }

    .edu-materials-header__nav {
        display: none;
    }

    .edu-materials-header__toggle:checked ~ .edu-materials-header__nav {
        display: flex;
    }

    .edu-materials-header__nav {
        grid-column: 1 / -1;
        justify-content: flex-start;
        gap: 12px;
        padding-bottom: 16px;
    }
}

@media (max-width: 680px) {
    .edu-materials-header__nav {
        flex-direction: column;
    }

    .edu-materials-header__logo {
        width: 140px;
    }

    .edu-materials-page__content {
        padding-top: 24px;
    }

    .edu-article-materials-menu {
        padding: 14px;
    }

    .edu-article-materials-menu__list {
        display: grid;
        grid-template-columns: 1fr;
    }

    .edu-article-materials-menu__list ul {
        position: static;
        display: none;
        min-width: 0;
        margin-top: 6px;
        box-shadow: none;
    }

    .edu-article-materials-menu__list a {
        width: 100%;
    }

    .is-style-edu-article-heading {
        font-size: 26px;
    }

    .is-style-edu-article-subtitle {
        font-size: 18px;
    }

    .is-style-edu-test-heading-accent,
    .is-style-edu-test-heading-line {
        font-size: 24px;
    }

    .is-style-edu-test-lead {
        font-size: 18px;
    }

    .is-style-edu-brand-heading {
        font-size: 27px;
    }

    .is-style-edu-brand-subtitle {
        font-size: 17px;
    }
}

body.page-template-template-home {
    background: #f8faf5;
}

.page-template-template-home .site.grid-container,
.page-template-template-home .site-content,
.page-template-template-home .content-area {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
}

.page-template-template-home .site-content {
    display: block;
}

.page-template-template-home .site-header,
.page-template-template-home .site-footer {
    display: none;
}

.page-template-template-home .inside-article,
.page-template-template-home .entry-content {
    margin: 0;
    padding: 0;
}

.page-template-template-home .entry-title {
    display: none;
}

.edu-home-shell {
    overflow: hidden;
    background:
        url("assets/images/home-bg-pattern.svg") top center / 1440px auto repeat-y,
        linear-gradient(180deg, #f8faf5 0, #ffffff 560px, #f8faf5 100%);
    color: #162014;
}

.page-template-template-home .home-hero,
.page-template-template-home .home-hero-block,
.page-template-template-home .home-presentation-preview,
.page-template-template-home .home-presentation-preview--recordings,
.page-template-template-home .home-city-fairs-preview,
.page-template-template-home .home-country-grid,
.page-template-template-home .home-country-grid--soft,
.page-template-template-home .home-article-teasers,
.page-template-template-home .home-article-teasers--soft,
.page-template-template-home .content-faq,
.page-template-template-home .content-faq--soft {
    background: transparent;
}

.edu-home-header,
.edu-home-footer {
    font-family: Inter, "Segoe UI", Arial, sans-serif;
}

.edu-home-header {
    border-bottom: 0;
    background: transparent;
}

.edu-home-header__inner {
    display: grid;
    grid-template-columns: minmax(170px, auto) minmax(0, 1fr) auto;
    gap: 24px;
    align-items: center;
    width: min(1180px, calc(100% - 32px));
    min-height: 64px;
    margin: 0 auto;
}

.edu-home-header__brand {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.edu-home-header__logo {
    display: block;
    width: 180px;
    height: auto;
}

.edu-home-header__nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 18px;
    color: #5f685b;
    font-size: 14px;
    font-weight: 700;
}

.edu-home-header__nav a,
.edu-home-footer a {
    color: inherit;
    text-decoration: none;
}

.edu-home-header__nav a:hover,
.edu-home-footer a:hover {
    color: #5b9800;
}

.edu-home-header__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    border-radius: 8px;
    padding: 10px 16px;
    background: #ffbd03;
    color: #000000;
    font-weight: 800;
    line-height: 1.1;
    text-decoration: none;
    box-shadow: 0 12px 24px rgba(255, 189, 3, 0.22);
}

.edu-home-header__toggle,
.edu-home-header__menu-button {
    display: none;
}

.edu-home-page,
.edu-home-page__article {
    margin: 0;
}

.edu-home-page__content > * {
    margin-top: 0;
}

.edu-home-page__content > *:last-child {
    margin-bottom: 0;
}

.edu-home-footer {
    background: #162014;
    color: #ffffff;
    padding: 54px 0 42px;
}

.edu-home-footer__inner {
    display: grid;
    grid-template-columns: minmax(260px, 1.4fr) repeat(3, minmax(0, 1fr));
    gap: 30px;
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
}

.edu-home-footer__brand,
.edu-home-footer__nav,
.edu-home-footer__contacts {
    display: grid;
    align-content: start;
    gap: 10px;
}

.edu-home-footer__brand strong {
    font-size: 22px;
}

.edu-home-footer__brand p,
.edu-home-footer__nav,
.edu-home-footer__contacts {
    color: rgba(255, 255, 255, 0.74);
    font-size: 15px;
}

.edu-home-footer h2 {
    margin: 0 0 4px;
    color: #ffffff;
    font-size: 16px;
    line-height: 1.2;
}

.edu-home-footer__brand p {
    max-width: 420px;
    margin: 0;
}

.edu-home-footer__socials {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 4px;
}

.edu-home-footer__socials a {
    display: inline-flex;
    min-height: 34px;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 8px;
    padding: 7px 10px;
}

@media (max-width: 980px) {
    .edu-home-header__inner {
        grid-template-columns: minmax(170px, 1fr) auto;
    }

    .edu-home-header__menu-button {
        display: grid;
        gap: 5px;
        width: 42px;
        height: 42px;
        align-content: center;
        justify-content: center;
        border: 1px solid rgba(0, 0, 0, 0.12);
        border-radius: 8px;
        cursor: pointer;
    }

    .edu-home-header__menu-button span {
        display: block;
        width: 20px;
        height: 2px;
        background: #162014;
    }

    .edu-home-header__nav,
    .edu-home-header__cta {
        display: none;
    }

    .edu-home-header__toggle:checked ~ .edu-home-header__nav,
    .edu-home-header__toggle:checked ~ .edu-home-header__cta {
        display: flex;
    }

    .edu-home-header__nav {
        grid-column: 1 / -1;
        justify-content: flex-start;
        gap: 12px;
        padding-bottom: 16px;
    }

    .edu-home-header__cta {
        grid-column: 1 / -1;
        margin-bottom: 16px;
    }

    .edu-home-footer__inner {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 680px) {
    .edu-home-header__nav {
        display: none;
        flex-direction: column;
    }

    .edu-home-header__toggle:checked ~ .edu-home-header__cta {
        display: inline-flex;
        width: 100%;
    }

    .edu-home-header__logo {
        width: 140px;
    }

    .edu-home-footer__inner {
        grid-template-columns: 1fr;
    }
}

.edu-site-header,
.edu-site-footer {
    font-family: Inter, "Segoe UI", Arial, sans-serif;
}

.edu-site-header {
    border-bottom: 0;
    background: transparent;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
}

.edu-site-header__inner {
    display: grid;
    grid-template-columns: minmax(170px, auto) minmax(0, 1fr) auto;
    gap: 24px;
    align-items: center;
    width: min(1180px, calc(100% - 32px));
    min-height: 72px;
    margin: 0 auto;
}

.edu-site-header__brand,
.edu-site-footer__logo-link {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.edu-site-header__logo {
    display: block;
    width: 180px;
    height: auto;
}

.edu-site-header__nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 18px;
    color: #5f685b;
    font-size: 14px;
    font-weight: 700;
}

.edu-site-header__nav a,
.edu-site-footer a {
    color: inherit;
    text-decoration: none;
}

.edu-site-header__nav a:hover,
.edu-site-footer a:hover {
    color: #5b9800;
}

.edu-site-header__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    border-radius: 8px;
    padding: 10px 16px;
    background: #ffbd03;
    color: #000000;
    font-weight: 800;
    line-height: 1.1;
    text-decoration: none;
    box-shadow: 0 12px 24px rgba(255, 189, 3, 0.22);
}

.edu-site-header__toggle,
.edu-site-header__menu-button {
    display: none;
}

.edu-site-footer {
    background: #1d2618;
    color: #ffffff;
    padding: 54px 0 28px;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
}

.edu-site-footer__inner {
    display: grid;
    grid-template-columns: minmax(260px, 1.35fr) repeat(3, minmax(0, 1fr));
    gap: 30px;
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
}

.edu-site-footer__brand,
.edu-site-footer__nav,
.edu-site-footer__contacts,
.edu-site-footer__socials {
    display: grid;
    align-content: start;
    gap: 10px;
}

.edu-site-footer__logo {
    display: block;
    width: 180px;
    height: auto;
    filter: brightness(0) invert(1);
}

.edu-site-footer__brand p,
.edu-site-footer__nav,
.edu-site-footer__contacts,
.edu-site-footer__socials,
.edu-site-footer__bottom {
    color: rgba(255, 255, 255, 0.74);
    font-size: 15px;
}

.edu-site-footer h2 {
    margin: 0 0 4px;
    color: #ffffff;
    font-size: 16px;
    line-height: 1.2;
}

.edu-site-footer__brand p {
    max-width: 420px;
    margin: 0;
}

.edu-site-footer__bottom {
    width: min(1180px, calc(100% - 32px));
    margin: 34px auto 0;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

@media (max-width: 980px) {
    .edu-site-header__inner {
        grid-template-columns: minmax(170px, 1fr) auto;
    }

    .edu-site-header__menu-button {
        display: grid;
        gap: 5px;
        width: 42px;
        height: 42px;
        align-content: center;
        justify-content: center;
        border: 1px solid rgba(0, 0, 0, 0.12);
        border-radius: 8px;
        cursor: pointer;
    }

    .edu-site-header__menu-button span {
        display: block;
        width: 20px;
        height: 2px;
        background: #162014;
    }

    .edu-site-header__nav,
    .edu-site-header__cta {
        display: none;
    }

    .edu-site-header__toggle:checked ~ .edu-site-header__nav,
    .edu-site-header__toggle:checked ~ .edu-site-header__cta {
        display: flex;
    }

    .edu-site-header__nav {
        grid-column: 1 / -1;
        justify-content: flex-start;
        gap: 12px;
        padding-bottom: 16px;
    }

    .edu-site-header__cta {
        grid-column: 1 / -1;
        margin-bottom: 16px;
    }

    .edu-site-footer__inner {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 680px) {
    .edu-site-header__nav {
        flex-direction: column;
    }

    .edu-site-header__toggle:checked ~ .edu-site-header__cta {
        display: inline-flex;
        width: 100%;
    }

    .edu-site-header__logo,
    .edu-site-footer__logo {
        width: 140px;
    }

    .edu-site-footer__inner {
        grid-template-columns: 1fr;
    }
}
