/* Homepage: reading order is introduction, native form, then social links. */
/* Mobile menu: native WordPress GET search, also present on inner pages. */
.qodef-fullscreen-menu .sn-mobile-menu-search {
    display: block;
    box-sizing: border-box;
    width: 100%;
    max-width: 420px;
    margin: 30px auto 0 !important;
    padding: 0 !important;
    text-align: left;
}
.qodef-fullscreen-menu .sn-mobile-menu-search form {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0;
    padding: 4px 0;
    color: #fff;
    border: 0;
    border-bottom: 1px solid #ffffffa0;
    transition: border-color .2s;
}
.qodef-fullscreen-menu .sn-mobile-menu-search form:focus-within { border-bottom-color: #ffed00; }
.qodef-fullscreen-menu .sn-mobile-menu-search input[type="search"] {
    flex: 1;
    width: 100%;
    min-width: 0;
    height: auto;
    margin: 0 !important;
    padding: 10px 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    color: #fff !important;
    font: 400 18px/28px "Heebo", Arial, sans-serif !important;
    text-transform: none;
    outline: none;
    appearance: none;
    -webkit-appearance: none;
}
.qodef-fullscreen-menu .sn-mobile-menu-search input::placeholder { color: #cbd0d0; opacity: 1; }
.qodef-fullscreen-menu .sn-mobile-menu-search button {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    min-width: 44px;
    margin: 0;
    padding: 0;
    border: 0 !important;
    border-radius: 0;
    background: transparent !important;
    box-shadow: none !important;
    color: #fff;
    cursor: pointer;
}
.qodef-fullscreen-menu .sn-mobile-menu-search button:hover { color: #ffed00; }
.qodef-fullscreen-menu .sn-mobile-menu-search button:focus-visible { outline: 2px solid #ffed00; outline-offset: 2px; }
@media (min-width: 1025px) {
    .qodef-fullscreen-menu .sn-mobile-menu-search { display: none !important; }
}

/* History: override the old 12px action rule; match the other text links. */
.sn-history .continue .actions a.text-link {
    display: inline-flex;
    align-items: center;
    box-sizing: border-box;
    min-height: 44px;
    font-size: 18px !important;
    line-height: 28px !important;
}
@media (max-width: 560px) {
    .sn-history .continue .actions a.text-link {
        font-size: 16px !important;
        line-height: 26px !important;
    }
}

[data-elementor-id="17"] .elementor-element-7568ca7 .elementor-element-e58d3f2 {
    row-gap: 24px !important;
}
[data-elementor-id="17"] .elementor-element-7568ca7 .elementor-element-a6ad35b {
    grid-column: 1;
    grid-row: 1 / span 2;
}
[data-elementor-id="17"] .elementor-element-7568ca7 .elementor-element-56ab6cc {
    grid-column: 2;
    grid-row: 1;
}
[data-elementor-id="17"] .elementor-element-7568ca7 .sn-newsletter-socials-widget {
    grid-column: 2;
    grid-row: 2;
    color: #fff;
}
[data-elementor-id="17"] .elementor-element-7568ca7 .sn-newsletter-socials-widget .social-links {
    margin: 0;
    gap: 12px 20px;
}
[data-elementor-id="17"] .elementor-element-7568ca7 .sn-newsletter-socials-widget a { color: #fff; }
[data-elementor-id="17"] .elementor-element-7568ca7 .sn-newsletter-socials-widget a:hover {
    background: #ffed00;
    color: #2f2e30;
}

/* Single posts: same typography, fields and button as the Russian homepage. */
.sn-post-newsletter {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 40px;
    margin: 52px 0 40px;
    padding: 40px;
    background: #2f2e30;
    color: #fff;
    text-align: left;
    box-sizing: border-box;
}
.sn-post-newsletter > div { min-width: 0; }
.sn-post-newsletter .sn-post-newsletter-title {
    margin: 0 !important;
    font: 700 42px/1.16 "Oswald", "Arial Narrow", sans-serif !important;
    text-transform: uppercase;
    color: #ffed00 !important;
}
.sn-post-newsletter .sn-post-newsletter-lead {
    margin: 20px 0 0 !important;
    font: 400 20px/30px "Heebo", Arial, sans-serif !important;
    color: #fff !important;
}
.sn-post-newsletter .mc4wp-form { margin: 0 !important; }
.sn-post-newsletter .mc4wp-form-fields {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}
.sn-post-newsletter .mc4wp-form-fields > p { margin: 0 !important; min-width: 0; }
.sn-post-newsletter .mc4wp-form-fields > p:has(input[type="email"]),
.sn-post-newsletter .mc4wp-form-fields > p:has(input[type="checkbox"]),
.sn-post-newsletter .mc4wp-form-fields > p:has(input[type="submit"]) { grid-column: 1 / -1; }
.sn-post-newsletter .mc4wp-form-fields input[type="text"],
.sn-post-newsletter .mc4wp-form-fields input[type="email"] {
    width: 100% !important;
    min-width: 0;
    box-sizing: border-box;
    margin: 0 !important;
    padding: 12px 0 !important;
    border: 0 !important;
    border-bottom: 1px solid #ffffffa0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: #fff !important;
    font: 400 20px/30px "Heebo", Arial, sans-serif !important;
    outline: none;
    box-shadow: none !important;
}
.sn-post-newsletter .mc4wp-form-fields input::placeholder { color: #cbd0d0; opacity: 1; }
.sn-post-newsletter .mc4wp-form-fields input:focus { border-bottom-color: #ffed00 !important; }
.sn-post-newsletter .mc4wp-form-fields label {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    color: #d2d6d6;
    font: 400 16px/24px "Heebo", Arial, sans-serif;
}
.sn-post-newsletter .mc4wp-form-fields input[type="checkbox"] {
    flex: 0 0 18px;
    width: 18px;
    height: 18px;
    margin: 3px 0 0;
    accent-color: #ffed00;
}
.sn-post-newsletter .mc4wp-form-fields label a {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 3px;
}
.sn-post-newsletter .mc4wp-form-fields label a:hover { background: #ffed00; color: #2f2e30; }
.sn-post-newsletter .mc4wp-form-fields input[type="submit"] {
    display: inline-block;
    width: auto;
    max-width: 100%;
    min-height: 62px;
    margin: 0 !important;
    padding: 15px 30px !important;
    border: 2px solid transparent !important;
    border-radius: 50%;
    background: #ffed00 !important;
    color: #2f2e30 !important;
    font: 500 18px/28px "Heebo", Arial, sans-serif !important;
    cursor: pointer;
    box-shadow: none !important;
    transition: border-radius .3s, background-color .25s;
}
.sn-post-newsletter .mc4wp-form-fields input[type="submit"]:hover {
    border-radius: 0;
    background: #fff !important;
}
.sn-post-newsletter .mc4wp-form-fields input[type="submit"]:focus-visible {
    outline: 2px solid #ffed00;
    outline-offset: 4px;
}
.sn-post-newsletter .mc4wp-response { color: #fff; font: 400 16px/24px "Heebo", Arial, sans-serif; }

@media (max-width: 767px) {
    [data-elementor-id="17"] .elementor-element-7568ca7 .elementor-element-a6ad35b,
    [data-elementor-id="17"] .elementor-element-7568ca7 .elementor-element-56ab6cc,
    [data-elementor-id="17"] .elementor-element-7568ca7 .sn-newsletter-socials-widget {
        grid-column: 1;
        grid-row: auto;
    }
    .sn-post-newsletter { grid-template-columns: minmax(0, 1fr); gap: 24px; margin: 40px 0 28px; padding: 28px 24px; }
    .sn-post-newsletter .sn-post-newsletter-title { font-size: 32px !important; line-height: 1.18 !important; }
    .sn-post-newsletter .sn-post-newsletter-lead { margin-top: 16px !important; font-size: 18px !important; line-height: 27px !important; }
    .sn-post-newsletter .mc4wp-form-fields { gap: 16px; }
    .sn-post-newsletter .mc4wp-form-fields input[type="text"],
    .sn-post-newsletter .mc4wp-form-fields input[type="email"] { font-size: 18px !important; line-height: 28px !important; }
    .sn-post-newsletter .mc4wp-form-fields label { font-size: 15px; line-height: 23px; }
    .sn-post-newsletter .mc4wp-form-fields input[type="submit"] { min-height: 58px; padding: 13px 25px !important; }
}
