*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
/* New design css */

/* Hero banner at the top of the main page */
.hero-banner {
    width: 100%;
    position: relative;
    margin-top: -140px; /* Pull up above breadcrumb-block to sit under fixed header */
    margin-bottom: 0;
    overflow: hidden;
    background: #000; /* Fallback background color */
    height: calc(100vh + 140px); /* Full viewport height + offset to compensate negative margin */
}

/* Tablet adjustment for smaller header */
@media (min-width: 768px) and (max-width: 1023px) {
    .hero-banner {
        margin-top: -115px;
        height: calc(100vh + 115px);
    }
}

/* Mobile adjustment for smaller header */
@media (max-width: 767px) {
    .hero-banner {
        margin-top: -115px;
        height: calc(100vh + 115px);
    }
}
.hero-banner-video {
    width: 100%;
    height: 100%;
    display: block;
    position: relative;
    z-index: 1;
    object-fit: cover;
}
.hero-banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(0, 45, 72, 0.3) 0%, rgba(0, 45, 72, 0.6) 100%);
    z-index: 2;
    pointer-events: none;
}
.hero-banner-slogan {
    position: absolute;
    top: 37.5%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 3;
    text-align: center;
    color: #FFFFFF;
    font-family: Mardoto-Bold, sans-serif;
}

.slogan-line-1 {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
    margin-bottom: 8px;
}

.slogan-line-2 {
    font-size: 64px;
    font-weight: 900;
    line-height: 1.2;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
}

/* Distance student diary button on hero */
.hero-dl-diary-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 18px;
    padding: 12px 28px;
    background: rgba(4, 167, 161, 0.9);
    color: #fff;
    border-radius: 30px;
    font-size: 17px;
    font-weight: 700;
    text-decoration: none;
    border: 3px double rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(6px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
    animation: dlPulse 2.5s ease-in-out infinite;
}
.hero-dl-diary-btn:hover {
    background: rgba(4, 167, 161, 1);
    transform: translateY(-2px);
    box-shadow: 0 6px 28px rgba(4, 167, 161, 0.5);
    color: #fff;
}
.hero-dl-diary-btn svg {
    flex-shrink: 0;
}
@keyframes dlPulse {
    0%, 100% { box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3); }
    50% { box-shadow: 0 4px 24px rgba(4, 167, 161, 0.5); }
}

.hero-banner-buttons {
    position: absolute;
    top: 150px;
    left: 40px;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.hero-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 24px;
    border-radius: 60px;
    cursor: pointer;
    transition: all 0.25s ease;
    transform: translateY(0);
    text-decoration: none;
    box-sizing: border-box;
}

.hero-btn:hover {
    transform: translateY(4px) scale(0.97);
}

.hero-btn p {
    font-family: "Mardoto-Regular", sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 120%;
    letter-spacing: 0.8px;
    margin: 0;
    white-space: nowrap;
}

.hero-btn-primary {
    background: rgba(215, 241, 240, 1) !important;
    border: 1px solid #FFFFFF !important;
}

.hero-btn-primary p {
    color: #002D48 !important;
}

/* Override .btn-get-report styles for hero banner buttons */
.hero-banner-buttons .btn-get-report {
    background: rgba(215, 241, 240, 1) !important;
    border-radius: 60px !important;
    padding: 12px 24px !important;
}

.hero-banner-buttons .btn-get-report p {
    font-size: 16px !important;
    padding: 0 !important;
    text-align: left !important;
}

.hero-btn-secondary {
    background: #002D48;
    border: 1px solid #FFFFFF;
}

.hero-btn-secondary p {
    color: #FFFFFF;
}

.hero-banner-app-badges {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 6px;
    flex-wrap: wrap;
}

.hero-app-badge {
    display: inline-flex;
    align-items: center;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.hero-app-badge:hover {
    transform: translateY(-2px);
    opacity: 0.92;
}

.hero-app-badge img {
    display: block;
    height: 40px;
    width: auto;
}

.hero-banner-achievements {
    position: absolute;
    bottom: 40px;
    left: 40px;
    z-index: 4;
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 800px;
}

.achievement-item {
    display: flex;
    align-items: center;
    gap: 12px;
    transition: transform 0.3s ease;
}

.achievement-icon {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    object-fit: contain;
}

.achievement-text {
    color: #FFFFFF;
    font-size: 21px;
    line-height: 1.4;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    font-family: Mardoto-Regular, sans-serif;
}

.achievement-motto {
    margin-top: 12px;
    justify-content: flex-start;
}

.achievement-motto .achievement-text {
    font-size: 23px;
    font-weight: bold;
    text-align: left;
    white-space: nowrap;
}

/* Hover effects - when hovering over an achievement item (except motto) */
.hero-banner-achievements:has(.achievement-item:not(.achievement-motto):hover) .achievement-item:not(.achievement-motto) {
    transform: scale(0.95);
}

.hero-banner-achievements .achievement-item:not(.achievement-motto):hover {
    transform: scale(1.1) !important;
}

.new-main-container {
    padding-left: 100px;
    padding-right: 100px;
    min-height: 102px;
    margin-top: 70px; /* Отступ от фиксированного меню */
}
.breadcrumb-block {
    padding-left: 100px;
    padding-right: 100px;
    margin-top: 140px;
    margin-bottom: 24px;
}

.online-school {
    width: 100%;
    border-radius: 25px;
    background: url("/local/templates/qvant/img/online-back.png") no-repeat center center / cover;
    height: 100%;
}
.online-school-block {
    padding: 40px 64px;
    height: 100%;
    display: flex;
    flex-direction: column;
}
.btn-circle {
    background: #0C81C7;
    border: 1px solid #FFFFFF;
    width: 17px;
    height: 17px;
    border-radius: 100px;
    position: relative;
    box-shadow: 0 0 10px rgba(12, 129, 199, 0.9);
}

.btn-circle::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: rgba(12, 180, 255, 0.8);
    transform: translate(-50%, -50%);
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
    100% {
        transform: translate(-50%, -50%) scale(2.3);
        opacity: 0;
    }
}

.online-school-btn {
    width: 100%;
    max-width: 467px;
    line-height: 86px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 24px;
    background: rgba(215, 241, 240, 1);
    border: 1px solid #FFFFFF;
    border-radius: 80px;
    padding-top: 24px;
    padding-bottom: 24px;
    cursor: pointer;
    transition: all 0.25s ease;
    transform: translateY(0);
    margin-bottom: 48px;
}
.online-school-btn:hover {
    transform: translateY(4px) scale(0.97);
}
.online-school-btn p {
    font-family: "Mardoto-Regular", sans-serif;
    color: #002D48;
    font-weight: 400;
    font-size: 32px;
    line-height: 120%;
    letter-spacing: 0.8px;
}
.online-school-description h3{
    font-family: "Mardoto-Black", sans-serif;
    font-weight: 900;
    color: #000000;
    font-size: 40px;
}
.online-school-description-text h4 {
    font-family: "Mardoto-Regular", sans-serif;
    font-weight: 400;
    font-size: 32px;
    line-height: 120%;
    max-width: 644px;
}
.online-school-description {
    display: flex;
    flex-direction: column;
    gap: 40px;
}
.online-school-description-btn {
    display: flex;
    gap: 8px;
}
.btn-get-report {
    background: #002D48;
    border-radius: 80px;
    cursor: pointer;
    transition: all 0.25s ease;
    transform: translateY(0);
}
.btn-get-report:hover {
    transform: translateY(4px) scale(0.97);
}
.btn-get-report p {
    text-align: center;
    font-family: "Mardoto-Regular", sans-serif;
    font-weight: 400;
    font-size: 32px;
    line-height: 120%;
    color: #FFFFFF;
    padding: 36px 84px;
}
.btn-get-report-arrow {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 110px;
    height: 110px;
    border-radius: 100px;
    background: #002D48;
    transition: all 0.25s ease;
    transform: translateY(0);
}
.btn-get-report-arrow:hover {
    transform: translateY(4px) scale(0.97);
}
.arrow-circle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 100px;
    background: #FFFFFF;
    padding: 23px;
    cursor: pointer;
}
.top-blocks {
    display: flex;
    gap: 24px;
    width: 100%;
    align-items: stretch;
}
.top-blocks-left {
    display: flex;
    flex-direction: column;
    gap: 24px;
    width: 100%;
    flex: 1;
    min-width: 0;
}
.top-blocks-left-bottom {
    display: flex;
    gap: 24px;
}
.in-school-people {
    background: #D7F1F0;
    border-radius: 54px;
    width: 100%;
}
.in-school-people-block {
    display: flex;
    justify-content: space-between;
    padding: 47px 50px;
}
.in-school-people-items {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.in-school-people-items h3 {
    font-family: 'Mardoto-Bold',sans-serif;
    font-size: 40px;
    line-height: 120%;
    color: #000000;
    text-align: center;
}
.in-school-people-items p {
    font-family: 'Mardoto-Regular',sans-serif;
    font-size: 24px;
    line-height: 120%;
    color: rgba(0, 0, 0, 0.6);
}
.stars-block {
    display: flex;
    gap: 16px;
    align-items: flex-end;
}
.stars-items {
    display: flex;
    gap: 10px;
}
.stars-block p {
    font-family: 'Mardoto-Bold',sans-serif;
    font-size: 32px;
    line-height: 120%;
    color: #000000;
}
.in-school-people-starts {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-left: 50px;
    padding-top: 32px;
}
.reviews-people-img {
    display: flex;
    align-items: center;
}

.reviews-people-img-blocks {
    width: 60px;   /* size of the circle */
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid #fff; /* white border between circles */
    margin-left: -20px; /* overlap half of the previous */
    position: relative;
    z-index: 1;
}

.reviews-people-img-blocks:first-child {
    margin-left: 0; /* no overlap on the first one */
}

.reviews-people-img-blocks img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.reviews-count {
    display: flex;
    flex-direction: column;
}
.reviews-count h3 {
    font-family: 'Mardoto-Bold',sans-serif;
    font-size: 32px;
    line-height: 120%;
    color: #000000;
}
.reviews-count p {
    font-family: 'Mardoto-Regular',sans-serif;
    font-size: 24px;
    line-height: 120%;
    color: rgba(0, 0, 0, 0.6);
}
.reviews-people {
    display: flex;
    gap: 16px;
    align-items: start;
}
.post {
    padding: 16px;
}
.post-img {
    width: 100%;
}
.post-img img {
    width: 100%;
    max-width: 1688px;
}
.post-main-content {
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.post-title {
    font-family: "Mardoto-Bold", sans-serif;
    font-size: 40px;
    line-height: 120%;
}
.post-title-mini {
    font-family: "Mardoto-Bold", sans-serif;
    font-size: 32px;
    line-height: 120%;
}
.post-text {
    font-family: "Mardoto-Regular", sans-serif;
    font-size: 24px;
    line-height: 120%;
    letter-spacing: 0.64px;
}
.post-content {
    display: flex;
    flex-direction: column;
    box-shadow: 4px 4px 12px 0 rgba(0, 0, 0, 0.08);
    border-radius: 32px;
}
.post-text-description {
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.contact-block {
    display: flex;
    gap: 80px;
}
.contact-info {
    background: #002D48;
    border-radius: 32px;
    width: 100%;
    max-width: 851px;

}
.contact-info-container {
    padding: 40px;
}
.contact-info-container h2 {
    color: #FFFFFF;
    font-family: 'Mardoto-Bold',sans-serif;
    font-weight: normal;
    font-size: 24px;
    line-height: 120%;
    letter-spacing: 0.64px;
    margin-bottom: 47px;
}
.contact-info-item {
    display: flex;
    gap: 50px;
}
.phone-items-block {
    display: flex;
    flex-direction: column;
    gap: 28px;
}
.breaking-line {
    height: 1px;
    width: 100%;
    background: #FFFFFF;
    margin-top: 58px;
    margin-bottom: 58px;
}
.location-block {
    display: flex;
    justify-content: space-between;
}
.social-media {
    display: flex;
    gap: 37px;
}
.phone-items-block h4 {
    color: #FFFFFF;
    font-family: 'Mardoto-Medium',sans-serif;
    font-size: 20px;
    font-weight: normal;
    line-height: 120%;
    letter-spacing: 0.64px;
}
.phone-items-block a {
    text-decoration: underline;
    display: flex;
    gap: 14px;
    align-items: center;
}
.email-block a,.main-location a {
    display: flex;
    gap: 14px;
    align-items: center;
}
.email-location-block {
    display: flex;
    flex-direction: column;
    gap: 28px;
}
.map-container h4 {
    font-family: 'Mardoto-Bold',sans-serif;
    font-size: 32px;
    letter-spacing: 0.68px;
    line-height: 120%;
    margin-bottom: 32px;
}
.map-container {
    margin-top: 80px;
}
.map-container iframe {
    border-radius: 32px;
}
.form-container {
    width: 100%;
    /*max-width: 789px;*/
}
.form-container form {
    display: flex;
    gap: 24px;
    flex-direction: column;
}
.form-container h2 {
    color: #002D48;
    font-size: 24px;
    font-family: 'Mardoto-Bold', sans-serif;
    margin-bottom: 24px;
}
.form-input {
    width: 100%;
    padding: 24px 24px;
    border: 1px solid #002D48;
    background-color: #E8EDF0;
    font-size: 1rem;
    color: #00334E;
    box-sizing: border-box;
}
.form-input::placeholder {
    color: #6c7f8a;
    opacity: 1; /* Ensures placeholder is visible in Firefox */
}
textarea::placeholder {
    color: #6c7f8a;
    opacity: 1;
}
.form-input:focus {
    outline: none;
    border-color: #00334E; /* Highlight on focus */
}
.form-row {
    display: flex;
    gap: 20px;
}
.form-row .form-input {
    flex: 1; /* Make both inputs take equal space */
    margin-bottom: 0; /* Remove bottom margin as the parent has it */
}
input.form-input {
    border-radius: 50px;
}
.textarea-wrapper {
    position: relative;
}
textarea.form-input {
    border-radius: 40px;
    height: 202px;
    resize: none; /* Disable user resizing */
    padding-bottom: 75px; /* Add space at the bottom for the button */
}
.submit-btn {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background-color: #00334E;
    color: white;
    border: none;
    border-radius: 50px;
    padding: 12px 28px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: background-color 0.2s ease-in-out;
}
.submit-btn:hover {
    background-color: #004a70;
}
.submit-btn .arrow {
    font-size: 0.7rem;
    transform: translateY(1px); /* Fine-tune vertical alignment */
}

/* ========================================= */
/* <!-- ADDED CSS FOR ANIMATION START --> */
/* ========================================= */

/* Augmenting the .submit-btn for animation capabilities */
.submit-btn {
    /* This is crucial for hiding content that moves out of the button's bounds */
    overflow: hidden;
    /* A more sophisticated transition for all animatable properties */
    transition: all 0.7s cubic-bezier(0.76, 0, 0.24, 1);
}

/* This wrapper holds the text and plane icon, allowing them to be animated together */
.submit-btn .btn-text-wrapper {
    font-family: Mardoto-Regular,sans-serif;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: opacity 0.3s ease, transform 0.5s cubic-bezier(0.76, 0, 0.24, 1);
}

/* The little plane icon inside the button */
.submit-btn .plane-icon {
    width: 20px;
    height: 20px;
}

/* The '.success' class is added via JavaScript to trigger the animation */
.submit-btn.success {
    background-color: #28a745; /* Beautiful green success color */
    width: 58px;  /* The button will shrink to this width */
    height: 58px; /* and this height to become a circle */
    padding: 0;
    gap: 0;
}

/* When the button has the .success class, hide the text wrapper */
.submit-btn.success .btn-text-wrapper {
    opacity: 0;
    transform: translateY(150%); /* Move text and plane down and out of view */
}

/* Styles for the checkmark SVG that appears on success */
.submit-btn .checkmark {
    position: absolute; /* Position it in the center of the button */
    width: 36px;
    height: 36px;
    opacity: 0;
    transform: scale(0.5);
    /* Delayed appearance for a stunning effect */
    transition: opacity 0.4s ease 0.35s, transform 0.5s cubic-bezier(0.25, 0.1, 0.5, 2) 0.35s;
}

/* On success, make the checkmark visible */
.submit-btn.success .checkmark {
    right: 10px;
    opacity: 1;
    transform: scale(1);
}

/* Animation for drawing the checkmark's circle and check */
.checkmark__circle {
    stroke-dasharray: 166;
    stroke-dashoffset: 166;
    stroke-width: 3;
    stroke-miterlimit: 10;
    stroke: #28a745;
    fill: none;
    animation: stroke 0.6s cubic-bezier(0.65, 0, 0.45, 1) 0.2s forwards;
}

.checkmark__check {
    transform-origin: 50% 50%;
    stroke-dasharray: 48;
    stroke-dashoffset: 48;
    stroke-width: 3;
    stroke: white;
    fill: none;
    animation: stroke 0.4s cubic-bezier(0.65, 0, 0.45, 1) 0.9s forwards;
}

@keyframes stroke {
    100% {
        stroke-dashoffset: 0;
    }
}

/* Styles for the paper plane that flies across the screen */
.flying-plane {
    position: fixed; /* Flies over every other element */
    z-index: 9999;
    pointer-events: none; /* So it can't be clicked */
    opacity: 0; /* Hidden by default */
}

/* The class that triggers the flight animation */
.flying-plane.animate {
    /* animation: name duration timing-function delay iteration-count direction fill-mode; */
    animation: fly-across 3s cubic-bezier(0.46, 0.08, 0.6, 0.82) 1 forwards;
}

/* The keyframe animation defining the plane's stunning flight path */
@keyframes fly-across {
    0% {
        opacity: 1;
        transform: scale(0.6) rotate(0deg);
    }
    20% {
        transform: translateX(25vw) translateY(-30vh) scale(0.8) rotate(-25deg);
    }
    40% {
        transform: translateX(50vw) translateY(-20vh) scale(1) rotate(15deg);
    }
    60% {
        transform: translateX(75vw) translateY(-40vh) scale(0.9) rotate(-10deg);
    }
    100% {
        opacity: 0;
        transform: translateX(110vw) translateY(-50vh) scale(0.5) rotate(45deg);
    }
}

/* ===== NEW LAYOUT STYLES ===== */

/* Video + Text inside the main block */
.online-school-video-content {
    display: flex;
    gap: 40px;
    align-items: stretch;
    height: 100%;
}
.online-school-video-wrapper {
    flex: 0 0 50%;
    max-width: 50%;
    display: flex;
    flex-direction: column;
}
.hero-video-container {
    position: relative;
    border-radius: 32px;
    background-color: #000;
    overflow: hidden;
    width: 100%;
    flex: 1;
    display: flex;
}
.hero-video-container video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 32px;
}
.hero-video-container.hero-video-fallback {
    display: flex;
}
.hero-video-container.hero-video-fallback img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 32px;
}
.hero-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 64px;
    height: 64px;
    cursor: pointer;
    z-index: 2;
}
.online-school-video-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 16px;
    justify-content: center;
}
.online-school-video-text p {
    font-family: 'Mardoto-Regular', sans-serif;
    font-size: 20px;
    line-height: 150%;
    letter-spacing: 0.4px;
    color: #002D48;
}
.online-school-video-text p:first-child {
    font-family: 'Mardoto-Bold', sans-serif;
    font-size: 22px;
    font-weight: 700;
}

/* Distance School button - inside the big block */
.online-school-buttons-row {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-top: 16px;
    flex-wrap: wrap;
}
.online-school-buttons-row .btn-circle {
    width: 12px;
    height: 12px;
}
.online-school-buttons-row .btn-get-report p {
    color: #FFFFFF !important;
}
.online-school-buttons-row .online-school-btn-new p {
    color: #002D48 !important;
}
.online-school-btn-new {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    background: rgba(215, 241, 240, 1);
    border: 1px solid #FFFFFF;
    border-radius: 60px;
    padding: 14px 28px;
    cursor: pointer;
    transition: all 0.25s ease;
    transform: translateY(0);
    text-decoration: none;
}
.online-school-btn-new:hover {
    transform: translateY(4px) scale(0.97);
}
.online-school-btn-new p {
    font-family: "Mardoto-Regular", sans-serif;
    color: #002D48;
    font-weight: 400;
    font-size: 18px;
    line-height: 120%;
    letter-spacing: 0.8px;
}

/* Right column: reward slider */
.top-blocks-right {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
    width: 331px;
    max-width: 331px;
    cursor: pointer;
}
.top-blocks-right a.rewards-block-link {
    display: block;
    width: 100%;
    text-decoration: none;
    color: inherit;
}
.rewards-title {
    font-family: Mardoto-Regular, sans-serif;
    font-weight: 600;
    font-size: 24px;
    line-height: 120%;
    color: #002D48;
    text-align: center;
    margin-bottom: 16px;
    width: 100%;
}

/* Apply button under the photo block */
.apply-btn-under-photo {
    display: flex;
    gap: 8px;
    justify-content: center;
    align-items: center;
}
.apply-btn-under-photo .btn-get-report {
    background: #002D48;
    border-radius: 60px;
}
.apply-btn-under-photo .btn-get-report p {
    font-size: 18px !important;
    padding: 16px 32px !important;
    line-height: 120%;
}
.apply-btn-under-photo .btn-get-report-arrow {
    width: 52px !important;
    height: 52px !important;
}
.apply-btn-under-photo .btn-get-report-arrow .arrow-circle {
    width: 32px;
    height: 32px;
    padding: 10px;
}
.btn-get-report-small {
    background: #002D48;
    border-radius: 60px;
}
.btn-get-report-small p {
    font-size: 18px !important;
    padding: 16px 32px !important;
}
.btn-get-report-arrow-small {
    width: 52px !important;
    height: 52px !important;
}
.btn-get-report-arrow-small .arrow-circle {
    width: 32px;
    height: 32px;
    padding: 10px;
}

/* ===== END NEW LAYOUT STYLES ===== */

.bacc-main-block {
    display: flex;
    flex-direction: column;
    gap: 40px;
}
.bacc-block {
    display: flex;
    flex-direction: column;
    gap: 40px;
}
.bacc-block h2 {
    font-family: 'Mardoto-Bold', sans-serif;
    font-size: 40px;
    line-height: 120%;
    letter-spacing: 0.68px;
}
.bacc-block p {
    font-family: 'Mardoto-Regular', sans-serif;
    font-size: 24px;
    line-height: 120%;
    letter-spacing: 0.68px;
}
.ib-logo-block-items h4 {
    font-family: 'Mardoto-Bold', sans-serif;
    font-size: 32px;
    line-height: 120%;
    letter-spacing: 0.68px;
}
.ib-logo-block-items p {
    font-family: 'Mardoto-Regular', sans-serif;
    font-size: 24px;
    line-height: 120%;
    letter-spacing: 0.68px;
}
.ib-logo-block {
    display: flex;
    gap: 32px;
}
.ib-logo-block-items {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.video-part {
    width: 100%;
    height: 657px;
    border-radius: 40px;
    background: #3a3d42;
}
.video-text p {
    font-family: 'Mardoto-Regular', sans-serif;
    font-size: 24px;
    line-height: 120%;
    letter-spacing: 0.68px;
}
.new-main-container .alert-warning {
    font-family: 'Mardoto-Regular', sans-serif;
    font-weight: normal;
    font-size: 42px;
    line-height: 120%;
    letter-spacing: 0.68px;
    margin-bottom: 300px;
    display: flex;
    justify-content: center;
}
.sign-up {
    background: #002D48;
    border-radius: 80px;
}
.login-toggle {
    display: flex;
    gap: 10px;
    padding: 17px 24px;
}
.sign-up-toggle img {
    transition: transform 0.3s ease;
    transform: rotate(0deg);
}

.sign-up-toggle.rotated img {
    transform: rotate(90deg); /* points down (was right) */
}
.sign-up-toggle {
    color: #FFFFFF!important;
}
.video-blocks {
    min-height: 320px;
}
:root {
    --brand-color: #002D48;
    --bg-color: #FFFFFF;
    --magic-glow-1: #48D1CC;
    --magic-glow-2: #EE82EE;
    --text-secondary: #5A7A95;
    --magic-glitch-1: #ff00c1;
    --magic-glitch-2: #00fff9;
}

.magic-404-container {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 85vh;
    padding: 2rem;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
    background-color: var(--bg-color);
    position: relative;
    overflow: hidden;
}

.particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.particle {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(45deg, var(--magic-glow-1), var(--magic-glow-2));
    animation: move-particles 25s linear infinite;
    opacity: 0;
}

.particle:nth-child(1) { width: 10px; height: 10px; left: 15%; animation-duration: 20s; animation-delay: -2s; }
.particle:nth-child(2) { width: 15px; height: 15px; left: 30%; animation-duration: 35s; animation-delay: -5s; }
.particle:nth-child(3) { width: 8px; height: 8px; left: 50%; animation-duration: 18s; animation-delay: -10s; }
.particle:nth-child(4) { width: 12px; height: 12px; left: 75%; animation-duration: 30s; animation-delay: -15s; }
.particle:nth-child(5) { width: 18px; height: 18px; left: 90%; animation-duration: 22s; animation-delay: -20s; }

@keyframes move-particles {
    0% { transform: translateY(100vh) scale(0.5); opacity: 1; }
    100% { transform: translateY(-10vh) scale(1.5); opacity: 0; }
}


.magic-404-grid {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 1200px;
    width: 100%;
    gap: 4rem;
    z-index: 2;
}

.magic-404-text {
    flex: 1;
    max-width: 500px;
    animation: fadeInUp 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.magic-404-text h1 {
    font-size: clamp(5rem, 15vw, 9rem);
    font-weight: 800;
    margin: 0;
    line-height: 1;
    color: var(--brand-color);
    text-shadow: 0 5px 25px rgba(0, 45, 72, 0.1);
}

.glitch-effect {
    position: relative;
    animation: glitch-flicker 3s linear infinite;
}

.glitch-effect::before,
.glitch-effect::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-color);
    overflow: hidden;
}

.glitch-effect::before {
    left: 3px;
    text-shadow: -2px 0 var(--magic-glitch-1);
    animation: glitch-anim-1 2.5s infinite linear reverse;
}

.glitch-effect::after {
    left: -3px;
    text-shadow: -2px 0 var(--magic-glitch-2);
    animation: glitch-anim-2 2.5s infinite linear reverse;
}

@keyframes glitch-flicker {
    0%, 100% { opacity: 1; }
    30%, 32% { opacity: 0.8; }
    35% { opacity: 1; }
    60%, 63% { opacity: 0.7; }
    65% { opacity: 1; }
}

@keyframes glitch-anim-1 {
    0%, 100% { clip-path: inset(0 0 98% 0); }
    25% { clip-path: inset(25% 0 50% 0); }
    50% { clip-path: inset(90% 0 5% 0); }
    75% { clip-path: inset(45% 0 45% 0); }
}

@keyframes glitch-anim-2 {
    0%, 100% { clip-path: inset(95% 0 2% 0); }
    25% { clip-path: inset(10% 0 80% 0); }
    50% { clip-path: inset(60% 0 30% 0); }
    75% { clip-path: inset(0 0 90% 0); }
}


.magic-404-text h2 {
    font-size: clamp(1.5rem, 4vw, 2.2rem);
    font-weight: 600;
    color: var(--brand-color);
    margin: 10px 0 15px;
    opacity: 0.9;
}

.magic-404-text p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 35px;
}

.magic-404-button {
    display: inline-block;
    background: var(--brand-color);
    color: #fff;
    padding: 15px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 4px 20px rgba(0, 45, 72, 0.3);
}

.magic-404-button:hover {
    transform: translateY(-6px) scale(1.05);
    box-shadow: 0 12px 30px rgba(0, 45, 72, 0.4);
}

.magic-404-visuals {
    flex: 1;
    position: relative;
    min-height: 400px;
    min-width: 400px;
    transition: transform 0.2s linear;
}

.magic-404-visuals .icon {
    position: absolute;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.icon-book { top: 20%; left: 10%; width: 160px; animation: magic-float 8s ease-in-out infinite; }
.icon-pencil { top: 60%; left: 70%; width: 120px; animation: draw-magic 10s ease-in-out infinite 1s; }
.icon-idea { top: 10%; left: 65%; width: 80px; animation: pulse-glow 4s ease-in-out infinite; }
.icon-atom { top: 70%; left: 5%; width: 100px; animation: spin-orbit 15s linear infinite; }
.icon-hat { top: 5%; left: 15%; width: 70px; animation: magic-float 12s ease-in-out infinite 2s; }

@keyframes magic-float {
    0%, 100% { transform: translateY(0px) rotate(-3deg); }
    50% { transform: translateY(-30px) rotate(3deg); }
}
@keyframes draw-magic {
    0%, 100% { transform: rotate(-30deg) translateX(0); }
    25% { transform: rotate(-10deg) translateX(10px); }
    50% { transform: rotate(-30deg) translateX(-10px) scale(1.1); }
    75% { transform: rotate(-20deg) translateX(0); }
}
@keyframes pulse-glow {
    0%, 100% { transform: scale(1); filter: drop-shadow(0 0 5px var(--magic-glow-1)); }
    50% { transform: scale(1.15); filter: drop-shadow(0 0 20px var(--magic-glow-1)); }
}
@keyframes spin-orbit {
    from { transform: rotate(0deg) scale(0.95); }
    to { transform: rotate(360deg) scale(1.05); }
}
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 992px) {
    .magic-404-grid { flex-direction: column; text-align: center; }
    .magic-404-visuals { order: 1; min-height: 300px; min-width: 300px; margin-bottom: 2rem; }
    .magic-404-text { order: 2; }
}
@media (min-width: 1921px) {
    .post-img img {
        max-width: unset;
    }
    .new-main-container {
        margin: 0 auto;
        max-width: 1921px;
    }
}
@media (min-width: 1280px) and (max-width: 1919px) {
    .reviews-count h3 {
        font-size: 23px;
    }
    .reviews-count p,.in-school-people-items p,.stars-block p {
        font-size: 20px;
    }
    .top-blocks-left {
        gap: 5px;
    }
    .stars-block,.reviews-count h3 {
        order: 1;
    }
    .in-school-people-starts {
        padding: 5px 12px;
    }
    .btn-get-report p {
        padding: 36px 42px;
        font-size: 24px;
    }
    .reviews-count {
        justify-content: space-between;
        flex-direction: unset;
    }
    .reviews-people {
        flex-direction: column;
    }
    .in-school-people-items {
        flex-direction: unset;
        align-items: center;
        justify-content: space-between;
    }
    .in-school-people-items h3 {
        font-size: 23px;
        order: 1;
    }
    .in-school-people-block {
        padding: 29px 24px;
        flex-direction: column;
    }
    .online-school-block {
        padding: 24px 24px;
    }
    .online-school-btn {
        max-width: 367px;
    }
    .online-school-btn p {
        font-size: 20px;
    }
    .new-main-container,.breadcrumb-block {
        padding-left: 40px;
        padding-right: 40px;
    }
    .contact-info-item {
        flex-direction: column;
        gap: 24px;
    }
    .phone-items-block {
        flex-direction: unset;
        justify-content: space-between;
    }
    .contact-info-container h2 {
        margin-bottom: 24px;
    }
    .breaking-line {
        margin-bottom: 28px;
        margin-top: 28px;
    }
    .email-location-block {
        gap: 24px;
    }
    .location-block {
        flex-direction: column;
        gap: 24px;
    }
    .contact-block {
        gap: 24px;
    }
    .map-container {
        margin-top: 48px;
    }
}
/* REMOVED: 1024-1279px breakpoint - not needed, using desktop styles instead */
/*@media (min-width: 1024px) and (max-width: 1279px) {
    ...styles removed...
}*/
    .top-blocks-right {
        width: 100%;
        max-width: 100%;
    }
    .reward-slider {
        max-width: unset;
    }

    .contact-info-item {
        flex-direction: column;
    }
    .phone-items-block {
        flex-direction: unset;
        justify-content: space-between;
    }
    .map-container {
        margin-top: 47px;
    }
    .map-container h4 {
        font-size: 24px;
    }
    .contact-block {
        gap: 24px;
    }
    .post-title-mini {
        font-size: 24px;
    }
    .bacc-block h2 {
        font-size: 32px;
    }
    .bacc-block p {
        font-size: 20px;
    }
    .ib-logo-block-items h4 {
        font-size: 24px;
    }
    .ib-logo-block-items p {
        font-size: 20px;
    }
    .video-text p {
        font-size: 20px;
    }
    .contact-block {
        flex-direction: column;
    }
    .contact-info {
        max-width: unset;
    }
    .form-container {
        max-width: unset;
    }
    .post-title {
        font-size: 24px;
    }
    .post-text {
        font-size: 20px;
    }
    .new-main-container,.breadcrumb-block {
        padding-left: 40px;
        padding-right: 40px;
    }
    .breadcrumbInner strong {
        font-size: 24px!important;
    }
}
@media (min-width: 768px) and (max-width: 1023px) {
    .new-main-container {
        margin-top: 60px; /* Отступ от меню для планшетов */
    }
    .main_news_title_button-block a {
        font-size: 20px;
    }
    .main_news_title h2 {
        font-size: 24px;
    }
    .in-school-people-block {
        gap: 16px;
    }
    .reviews-count p {
        font-size: 20px;
    }
    .reviews-count h3 {
        order: 1;
        font-size: 24px;
    }
    .reviews-count {
        flex-direction: unset;
        justify-content: space-between;
        width: 100%;
    }

    .reviews-people {
        flex-direction: column;
    }
    .stars-block {
        order: 1;
    }
    .in-school-people-starts {
        padding: 32px 24px;
    }
    .in-school-people-items h3 {
        order: 1;
        font-size: 32px;
    }
    .in-school-people-items p {
        font-size: 20px;
    }
    .in-school-people-items {
        justify-content: space-between;
        flex-direction: unset;
    }
    .in-school-people-block {
        padding: 28px 24px;
        flex-direction: column;
    }
    .top-blocks {
        gap: 16px;
    }
    .btn-get-report p {
        padding: 32px;
    }
    .btn-get-report {
        width: 100%;
    }
    .btn-get-report-arrow {
        display: none;
    }
    .online-school-btn {
        max-width: 271px;
    }
    .online-school-description h3,.btn-get-report p {
        font-size: 24px;
    }
    .online-school-btn p,.online-school-description-text h4 {
        font-size: 20px;
    }
    .online-school-block {
        padding: 24px;
    }
    .online-school {
        border-radius: 64px;
    }
    .olympics-logo img {
        max-width: 38px;
    }
    .reward-info-blocks {
        padding-bottom: 38px;
    }
    .student-info-winner {
        flex-direction: unset;
        align-items: center;
    }
    .winner-name h3 {
        font-size: 24px;
    }
    .olympics-name p {
        font-size: 20px;
    }
    .reward-block-img {
        min-height: 400px;
        border-radius: 40px;
    }
    .top-blocks {
        flex-direction: column;
    }
    .top-blocks-left {
        order: 1;
    }
    .top-blocks-right {
        width: 100%;
        max-width: 100%;
    }
    .reward-slider {
        max-width: unset;
    }






    .contact-info-container {
        padding: 24px;
    }
    .contact-info-item {
        flex-direction: column;
        gap: 24px;
    }
    .breaking-line {
        margin-top: 24px;
        margin-bottom: 24px;
    }
    .phone-items-block {
        flex-direction: unset;
        justify-content: space-between;
    }
    .breadcrumbInner strong {
        font-size: 24px!important;
    }
    .bacc-block h2 {
        font-size: 24px;
    }
    .bacc-block p {
        font-size: 16px;
    }
    .ib-logo-block-items h4 {
        font-size: 20px;
    }
    .ib-logo-block-items p {
        font-size: 16px;
    }
    .video-text p {
        font-size: 16px;
    }
    .contact-block {
        gap: 24px;
        flex-direction: column;
    }
    .map-container {
        margin-top: 47px;
    }
    .contact-info {
        max-width: unset;
    }
    .form-container {
        max-width: unset;
    }
    .post-title {
        font-size: 24px;
    }
    .post-title-mini {
        font-size: 20px;
    }
    .post-text {
        font-size: 16px;
    }
    .new-main-container,.breadcrumb-block {
        padding-left: 24px;
        padding-right: 24px;
    }
}
@media (min-width: 320px) and (max-width: 767px) {
    .new-main-container {
        margin-top: 60px; /* Отступ от меню для мобильных */
    }
    .main_news_title h2 {
        font-size: 14px;
    }
    .top-blocks-left-bottom {
        flex-direction: column;
    }
    .main_news_title_button-block {
        padding: 7px 17px;
    }
    .main_news_title_button-block a {
        font-size: 14px;
    }
    .main_news_title h2 {
        font-size: 14px;
    }
    .in-school-people-block {
        gap: 16px;
    }
    .reviews-count p {
        font-size: 20px;
    }
    .reviews-count h3 {
        order: 1;
        font-size: 24px;
    }
    .reviews-count {
        flex-direction: unset;
        justify-content: space-between;
        width: 100%;
    }

    .reviews-people {
        flex-direction: column;
    }
    .stars-block {
        order: 1;
    }
    .in-school-people-starts {
        padding: 32px 24px;
    }
    .in-school-people-items h3 {
        order: 1;
        font-size: 32px;
    }
    .in-school-people-items p {
        font-size: 20px;
    }
    .in-school-people-items {
        justify-content: space-between;
        flex-direction: unset;
    }
    .in-school-people-block {
        padding: 28px 24px;
        flex-direction: column;
    }
    .top-blocks {
        gap: 16px;
    }
    .btn-get-report p {
        padding: 16px;
    }
    .btn-get-report {
        width: 100%;
    }
    .btn-get-report-arrow {
        display: none;
    }
    .online-school-btn {
        max-width: 199px;
        padding: 10px;
        margin-bottom: 16px;
    }
    .online-school-description {
        gap: 16px;
    }
    .online-school-description h3,.btn-get-report p {
        font-size: 16px;
    }
    .online-school-btn p,.online-school-description-text h4 {
        font-size: 14px;
    }
    .online-school-block {
        padding: 16px;
    }
    .online-school {
        border-radius: 16px;
    }
    .in-school-people {
        border-radius: 16px;
    }
    .olympics-logo img {
        max-width: 38px;
    }
    .reward-info-blocks {
        padding-bottom: 38px;
    }
    .winner-name h3 {
        font-size: 16px;
    }
    .olympics-name p {
        font-size: 16px;
    }
    .points-blocks p {
        font-size: 16px;
    }
    .reward-block-img {
        border-radius: 32px;
        min-height: 285px;
    }
    .top-blocks {
        flex-direction: column;
    }
    .top-blocks-left {
        order: 1;
    }
    .top-blocks-right {
        width: 100%;
        max-width: 100%;
    }
    .reward-slider {
        max-width: unset;
    }


    .post-title-mini {
        font-size: 14px;
    }
    .breadcrumbInner strong {
        font-size: 24px!important;
    }
    .bacc-block h2 {
        font-size: 16px;
    }
    .bacc-block p {
        font-size: 12px;
    }
    .ib-logo-block-items h4 {
        font-size: 20px;
    }
    .ib-logo-block-items p {
        font-size: 12px;
    }
    .video-text p {
        font-size: 12px;
    }
    .contact-info-item {
        flex-direction: column;
        gap: 24px;
    }
    .bacc-main-block {
        gap: 8px;
    }
    .ib-logo-block {
        flex-direction: column;
        gap: 8px;
    }
    .phone-items-block {
        flex-direction: column;
        justify-content: space-between;
    }
    .contact-info-container h2 {
        margin-bottom: 24px;
        font-size: 16px;
    }
    .phone-items-block a {
        font-size: 16px;
    }
    .phone-items-block h4 {
        font-size: 16px;
    }
    .form-input {
        padding: 16px 24px;
    }

    .breaking-line {
        margin-bottom: 28px;
        margin-top: 28px;
    }
    .email-location-block {
        gap: 24px;
    }
    .email-location-block a {
        font-size: 16px;
    }
    .location-block {
        flex-direction: column;
        gap: 24px;
    }
    .contact-block {
        gap: 16px;
        flex-direction: column;
    }
    .map-container {
        margin-top: 32px;
    }
    .contact-info-container {
        padding: 24px 8px;
    }
    .social-media {
        justify-content: center;
    }
    .form-row {
        flex-direction: column;
        gap: 8px;
    }
    .form-container form {
        gap: 8px;
    }
    .map-container h4,.form-container h2 {
        font-size: 16px;
    }
    .contact-info {
        max-width: unset;
    }
    .form-container {
        max-width: unset;
    }
    .post-title {
        font-size: 16px;
    }
    .post-text {
        font-size: 12px;
    }
    .new-main-container,.breadcrumb-block {
        padding-left: 8px;
        padding-right: 8px;
        margin-top: 60px;
    }
}
@media (min-width: 1921px) and (max-width: 3840px) {
    .post-img {
        display: flex;
        justify-content: center;
    }
}
/* ===== RESPONSIVE FOR NEW LAYOUT ===== */
@media (min-width: 1280px) and (max-width: 1919px) {
    .online-school-video-text p {
        font-size: 16px;
    }
    .online-school-video-text p:first-child {
        font-size: 18px;
    }
    .online-school-video-content {
        gap: 24px;
    }
    .online-school-btn-new p {
        font-size: 16px;
    }
    .online-school-buttons-row {
        gap: 10px;
    }
    .btn-get-report-small p {
        font-size: 16px !important;
        padding: 14px 24px !important;
    }
}
/* REMOVED: 1024-1279px breakpoint - not needed, using desktop styles instead */
/*@media (min-width: 1024px) and (max-width: 1279px) {
    ...styles removed...
}*/
@media (min-width: 768px) and (max-width: 1023px) {
    .online-school-video-content {
        flex-direction: column;
        gap: 24px;
    }
    .online-school-video-wrapper {
        flex: unset;
        max-width: 100%;
        width: 100%;
    }
    .online-school-video-text p {
        font-size: 14px;
    }
    .online-school-video-text p:first-child {
        font-size: 16px;
    }
    .online-school-btn-new p {
        font-size: 14px;
    }
    .btn-get-report-small p {
        font-size: 14px !important;
        padding: 12px 20px !important;
    }
    .apply-btn-under-photo .btn-get-report-arrow {
        display: none;
    }
    .top-blocks-right {
        width: 100%;
        max-width: 100%;
    }
}
@media (min-width: 320px) and (max-width: 767px) {
    .online-school-video-content {
        flex-direction: column;
        gap: 16px;
    }
    .online-school-video-wrapper {
        flex: unset;
        max-width: 100%;
        width: 100%;
    }
    .online-school-video-text p {
        font-size: 12px;
    }
    .online-school-video-text p:first-child {
        font-size: 14px;
    }
    .online-school-btn-new {
        padding: 10px 16px;
    }
    .online-school-btn-new p {
        font-size: 12px;
    }
    .btn-get-report-small p {
        font-size: 12px !important;
        padding: 10px 16px !important;
    }
    .apply-btn-under-photo .btn-get-report-arrow {
        display: none;
    }
    .online-school-buttons-row {
        gap: 8px;
    }
    .top-blocks-right {
        width: 100%;
        max-width: 100%;
    }

    /* Allow text wrapping on mobile for achievements */
    .achievement-motto .achievement-text {
        white-space: normal;
    }

    /* Adjust slogan size for mobile */
    .slogan-line-1 {
        font-size: 24px;
    }

    .slogan-line-2 {
        font-size: 32px;
    }

    /* Adjust hero buttons for mobile */
    .hero-banner-buttons {
        top: 160px; /* Increased from 135px to prevent overlap with mobile header */
        left: 20px;
        gap: 12px;
    }

    .hero-btn {
        padding: 12px 24px;
    }

    .hero-btn p {
        font-size: 14px;
    }

    .btn-circle {
        width: 10px;
        height: 10px;
    }
}

/* Mobile landscape mode adjustments */
@media (max-width: 767px) and (orientation: landscape) {
    /* Lift slogan higher */
    .hero-banner-slogan {
        top: 25%;
    }

    /* Make slogan smaller */
    .slogan-line-1 {
        font-size: 20px;
    }

    .slogan-line-2 {
        font-size: 28px;
    }

    /* Make achievement texts smaller */
    .achievement-text {
        font-size: 14px;
    }

    .achievement-motto .achievement-text {
        font-size: 16px;
    }

    /* Smaller icons */
    .achievement-icon {
        width: 30px;
        height: 30px;
    }

    /* Reduce gaps */
    .hero-banner-achievements {
        gap: 8px;
        bottom: 20px;
        left: 20px;
    }

    .achievement-item {
        gap: 8px;
    }

    /* Adjust hero buttons for landscape */
    .hero-banner-buttons {
        top: 140px; /* Increased from 90px to prevent overlap with header in landscape mode */
        left: 15px;
        gap: 8px;
    }

    .hero-btn {
        padding: 8px 16px;
    }

    .hero-btn p {
        font-size: 12px;
    }

    .btn-circle {
        width: 8px;
        height: 8px;
    }
}

/* Hide rewards in banner on mobile, show in top-blocks */
.hero-banner .top-blocks-right {
    display: none;
}
.top-blocks-right-mobile {
    display: flex;
}

/* Wide screens: show rewards in banner, hide in top-blocks */
@media (min-width: 1025px) {
    .hero-banner .top-blocks-right {
        display: flex;
        position: absolute;
        bottom: 40px;
        right: 40px;
        margin: 0;
        z-index: 5;
        flex-direction: column;
        align-items: center;
        width: 331px;
        max-width: 331px;
    }
    .hero-banner .rewards-title {
        color: #FFFFFF;
        text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    }
    .top-blocks-right-mobile {
        display: none;
    }
}
/* ===== END RESPONSIVE FOR NEW LAYOUT ===== */
