@media (min-width: 768px) {
    .news-cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-auto-rows: auto; /* normal */
        gap: 2px;
    }

    .footer-link:not(:last-of-type) {
        border-right: 1px solid rgba(0, 0, 0, 0.3);
    }
    .footer-links {
        display: inline-block;
        margin-bottom: 20px;
        position: relative;
    }

    .bonus-wrapper {
        flex-direction: row;
        gap: 30px;
    }

    .settings-wrapper {
        flex-direction: row;
    }

    .news-card {
        grid-template-rows: subgrid;
        grid-row: span 3;
    }

    .tr-row__title--mb {
        display: none;
    }

    .tr-row__right {
        justify-content: space-between;
    }

    .tr-row__title--dt {
        display: block;
    }
    .tr-row__price-wrapper {
        width: 80px;
    }

    .credits-topup-stepper {
        display: flex;
        justify-content: space-between;
        align-items: center;
        border-bottom: 1px solid #ccc;
    }

    .credits-topup-stepper .step {
        flex: 1;
        padding: 16px 0;
        font-size: 18px;
        font-weight: 700;
        text-align: center;
    }

    .div-filler {
        display: block;
    }

    .credits-topup-stepper .step-active {
        color: white;
        background-color: var(--neon);
    }

    .credits-topup-stepper .step-complete {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 10px;
        background-color: var(--neon-light);
        color: white;
    }

    .profile-current-info {
        display: flex;
        justify-content: space-between;
        gap: 30px;
        margin-top: 50px;
        margin-bottom: 30px;
    }

    .tr-row__discount,
    .tr-row__instructor-wrapper {
        display: block;
    }

    .footer-logo {
        width: 250px;
    }

    .footer-slogan,
    .footer-lesmills {
        width: 185px;
    }

    .motivation-level-wrapper {
        flex-direction: row;
        gap: 20px;
    }

    .motivation-level-description {
        width: 60%;
    }

    .tr-row__discount {
        font-weight: 400;
        font-size: 16px;
        color: #ff2d8d;
    }

    .tr-row__inner--visible {
        grid-template-columns: 71px 1fr 280px;
    }

    .tr-row__dur {
        margin-top: 3px;
    }

    .tr-row__main {
        display: flex;
        align-items: center;
    }

    .tr-row__info {
        width: 60%;
    }

    .tr-row__instructor-wrapper {
        width: 40%;
    }

    .tr-row__instructor {
        font-weight: 700;
        font-size: 16px;
    }
}

@media (min-width: 824px) {
    .news-title {
        margin-top: 60px;
        font-size: 36px;
    }

    .footer-title {
        font-size: 45px;
    }

    .footer-content {
        flex-wrap: nowrap;
        max-width: 1024px;
    }
    .footer-content-block {
        width: 100%;
    }

    .footer-content-block:nth-child(1),
    .footer-content-block:nth-child(2),
    .footer-content-block:nth-child(3) {
        border-right: 1px solid rgba(255, 255, 255, 0.3);
    }

    .footer-register .register-button {
        flex-grow: 0;
    }

    .footer-content-block h3 {
        min-height: 50px;
    }
}

@media (min-width: 1024px) {
    .news-cards {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .credits-topup-content-top {
        flex-direction: row;
    }
    .selector-fields-wrapper {
        grid-template-columns: auto auto auto 1fr;
        padding: 20px 0px;
        grid-template-areas: "a b c d";
        row-gap: 13px;
    }

    #selector_date-dropdown-wrapper {
        grid-area: c;
        width: 193px;
    }
    #selector_location-dropdown-wrapper {
        display: none;
    }
    #selector_training-dropdown-wrapper {
        grid-area: a;
        width: 193px;
    }
    #selector_instructor-dropdown-wrapper {
        grid-area: b;
        width: 193px;
    }

    .dt-locations-wrapper {
        display: flex;
        grid-area: d;
        justify-content: space-between;
        align-items: center;
    }

    .dt-locations {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 6px;
        margin-left: 22px;
    }
    .view-wrapper {
        display: flex;
        align-items: center;
        gap: 18px;
    }

    .dt-location {
        font-size: 14px;
        font-weight: 700;
        color: var(--neon);
        border: 1px solid var(--neon);
        padding: 10px 16px;
        border-radius: 24.5px;
        cursor: pointer;
    }

    .dt-list-view,
    .dt-grid-view {
        cursor: pointer;
    }

    .dt-location.selected {
        background-color: var(--neon);
        color: #fff;
    }

    .tr-row {
        padding: 0;
    }

    .tr-btn--primary,
    .tr-btn--danger {
        transition: all 0.3s ease;
    }

    .tr-btn--primary:hover {
        background-color: var(--neon);
        color: #fff;
    }

    .tr-btn--danger:hover {
        background-color: #fff;
        color: var(--neon);
        border-color: var(--neon);
    }

    .tr-row__start,
    .tr-row__title {
        font-size: 18px;
    }

    .tr-row__meta {
        font-size: 14px;
        margin-top: 3px;
    }

    .tr-row__note--mb,
    .tr-row__signed-up {
        display: none;
    }

    .tr-row__note {
        display: block;
        font-size: 14px;
        white-space: nowrap;
        width: 31%;
    }

    .tr-row__instructor-wrapper {
        width: 19%;
    }

    .tr-row__info {
        width: 50%;
    }

    .tr-row__note--accent {
        color: var(--neon);
    }

    .tr-row__chevron-wrapper {
        position: relative;
        right: 8px;
        width: 20px;
        height: 100%;
        display: flex;
        justify-content: center;
        cursor: pointer;
    }

    .tr-row__icon {
        width: 12px;
    }
    .tr-btn {
        width: 118px;
    }

    .tr-row__price-wrapper {
        width: 87px;
        justify-content: space-between;
        gap: 0;
    }

    .tr-row__inner {
        padding: 16px 14px 16px 12px;
    }

    .credit-topup-form {
        margin-bottom: 0;
    }
    .tr-row__main {
        padding-left: 19px;
    }

    .tr-row__time {
        padding-right: 26px;
    }

    .tr-row__start,
    .tr-row__dur {
        text-align: right;
    }

    .tr-row__right {
        padding-right: 0;
    }

    .tr-row.tr-row--signed .tr-row__inner::after {
        height: 2px;
        background-color: rgba(164, 230, 173, 1);
    }

    .tr-row.tr-row--signed .tr-row__inner::before {
        height: 2px;
        background-color: rgba(164, 230, 173, 1);
    }

    .tr-row__icon {
        transition: transform 0.3s ease;
    }

    .tr-row__logo {
        margin: auto;
        width: 200px;
    }

    .tr-row__icon.expanded {
        transform: rotate(-180deg);
    }

    .tr-row__expandable-wrapper {
        text-align: left;
        padding-left: 90px;
        padding-top: 25px;
        display: flex;
    }

    .tr-row__expandable-content {
        width: 25%;
    }

    .tr-row__expandable-logo {
        width: 44%;
    }

    .tr-row__expandable-description {
        width: 31%;
        display: flex;
        gap: 10px;
    }

    .tr-row__expandable-info {
        width: 30px;
        flex-shrink: 0;
    }
    .tr-row__expandable-label {
        font-weight: 700;
        display: inline-block;
        width: 100px;
    }

    .tr-table__header-item {
        padding-left: 0;
    }

    .tr-table__header {
        padding: 0;
    }

    .tr-table__header-day {
        font-size: 24px;
    }

    .tr-table__header-date {
        font-size: 18px;
    }

    .tr-table__weekdays {
        display: flex;
        justify-content: flex-start;
        margin-bottom: 50px;
        gap: 16px;
        margin-top: 25px;
        border-bottom: 1px solid rgba(230, 230, 230, 1);
    }

    .tr-table__weekdays-day {
        font-weight: 700;
        font-size: 18px;
        margin-bottom: 5px;
    }

    .tr-table__weekdays-date {
        font-size: 14px;
        font-weight: 500;
    }

    .tr-table__weekdays-item {
        padding-bottom: 16px;
        width: 110px;
        cursor: pointer;
        position: relative;
    }

    .tr-table__weekdays-item.active::after {
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        bottom: 0;
        height: 3px;
        background-color: var(--neon);
    }

    .tr-table__weekdays-item:not(.active):hover::after {
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        bottom: 0;
        height: 3px;
        background-color: var(--neon-light);
    }
}

@media screen and (min-width: 1200px) {
    .lang-wrapper,
    .register-button,
    .login-button,
    .logo-wrapper,
    .nav-item,
    .logged-panel-left,
    .logged-panel-right,
    .program-block .sub {
        cursor: pointer;
    }

    .hamburger {
        display: none;
    }

    .header-nav {
        padding: 0px 32px 0px 50px;
        position: relative;
        height: 70px;
        max-width: 1920px;
        margin: auto;
    }

    .nav-list {
        flex-direction: row;
        display: flex;
        height: 70px;
        align-items: center;
        width: auto;
        padding-top: 0;
        padding-left: 0;
        background-color: inherit;
        transform: translateX(0%);
        position: relative;
        gap: 0;
    }

    .nav-item-arrow {
        display: none;
    }

    .nav-item {
        line-height: 1;
        padding: 0 10px;
        height: 100%;
        font-size: 16px;
        align-content: center;
    }

    .nav-item.active {
        background: rgba(50, 50, 50, 1);
        border-bottom: 3px solid var(--neon);
        border-left: none;
    }

    .header-nav-left {
        display: flex;
        align-items: center;
        gap: 50px;
    }

    .middle-icons {
        width: 210px;
    }

    .auth-wrapper {
        position: absolute;
        right: 90px;
        top: -69px;
    }

    .auth-logged-wrapper {
        position: absolute;
        right: 90px;
        top: -70px;
    }

    .auth-buttons {
        gap: 15px;
    }

    .register-button-text {
        font-size: 14px;
        font-weight: 700;
    }

    .register-button-subtext {
        font-size: 12px;
        font-weight: 600;
    }

    .register-button {
        padding: 9.5px 26.5px;
    }

    .login-button {
        display: flex;
        align-items: center;
        gap: 7px;
        background-color: transparent;
    }

    .login-icon {
        width: 22px;
    }

    .login-button-text {
        font-weight: 700;
        font-size: 14px;
    }

    .logged-panel {
        grid-template-columns: 170px 1fr 105px;
    }

    .logged-panel-right {
        grid-area: c;
        padding: 0 16px;
    }

    .logged-panel-left {
        grid-area: b;
        padding: 0 22px;
        background-color: rgba(50, 50, 50, 1);
    }

    .logged-panel-middle {
        grid-area: a;
        padding: 0;
        height: 70px;
    }

    .credit-label {
        color: white;
        font-weight: 300;
        font-size: 12px;
    }

    .user-avatar {
        margin-right: 12px;
    }

    .credit-value {
        color: white;
        font-weight: 700;
        font-size: 12px;
    }

    .user-details {
        display: flex;
        gap: 10px;
    }

    .user-name {
        color: white;
        font-size: 14px;
        font-weight: 700;
        width: 97%;
    }

    .credit-arrow {
        display: inline-block;
    }

    .status-circle {
        border: 4px solid rgba(255, 255, 255, 0.37);
    }

    .status-value {
        color: white;
    }

    .live-icon {
        width: 47px;
        color: #707070;
        padding-top: 4px;
        margin-left: 20px;
    }

    .logout-text {
        display: block;
        color: white;
        background-color: inherit;
        border: none;
        outline: none;
        text-transform: uppercase;
        font-family: "Inter", sans-serif;
        font-size: 14px;
        font-weight: 700;
        cursor: pointer;
    }

    .header-bottom-row {
        padding: 27px 32px 27px 50px;
        display: flex;
        justify-content: flex-start;
        align-items: center;
        gap: 124px;
        max-width: 1920px;
        margin: auto;
        position: relative;
    }

    .program-text {
        font-size: 20px;
    }

    .people-icon {
        width: 27px;
    }

    .calendar-icon {
        width: 25px;
    }

    .program-block {
        padding: 0;
        gap: 30px;
    }

    .footer-logo-wrapper {
        display: none;
    }

    .camera-icon {
        width: 30px;
    }

    .program-block .sub {
        flex: auto;
    }

    .current-events {
        display: flex;
        align-items: center;
        gap: 15px;
    }

    .current-events-text {
        font-size: 16px;
        font-weight: 600;
        font-family: "Barlow condensed", sans-serif;
    }

    .current-events-program {
        text-decoration: underline;
    }

    .current-events-dot {
        background-color: var(--neon);
        width: 8px;
        height: 8px;
        border-radius: 50%;
        position: relative;
    }

    .current-events-dot::after {
        content: "";
        position: absolute;
        left: 50%;
        top: 50%;
        width: 100%;
        height: 100%;
        border-radius: 50%;
        background: var(--neon);
        opacity: 0.6;
        transform: translate(-50%, -50%) scale(1);
        animation: dotPulse 1s ease-out infinite;
    }

    @keyframes dotPulse {
        0% {
            transform: translate(-50%, -50%) scale(1);
            opacity: 0.6;
        }
        70% {
            transform: translate(-50%, -50%) scale(3.5);
            opacity: 0;
        }
        100% {
            transform: translate(-50%, -50%) scale(3.5);
            opacity: 0;
        }
    }

    .submenu-wrapper {
        position: absolute;
        top: calc(100% - 6px);
        left: 0;
        min-width: 220px;
        padding: 0;
        max-height: unset;
        background: white;
        border-radius: 6px;
        box-shadow: 0px 5px 8px 0px rgba(0, 0, 0, 0.25);
        opacity: 0;
        visibility: hidden;
        transform: translateY(6px);
        transition:
            opacity 150ms ease,
            transform 150ms ease,
            visibility 150ms ease;
        z-index: 50;
        overflow: visible;
    }

    .sublang-wrapper {
        position: absolute;
        top: calc(100% + 19px);
        right: 0;
        min-width: 150px;
        padding: 0;
        max-height: unset;
        background: white;
        border-radius: 6px;
        box-shadow: 0px 5px 8px 0px rgba(0, 0, 0, 0.25);
        opacity: 0;
        visibility: hidden;
        transform: translateY(6px);
        transition:
            opacity 150ms ease,
            transform 150ms ease,
            visibility 150ms ease;
        z-index: 50;
        overflow: visible;
    }

    .profile-tab-item {
        padding: 0 15px;
        font-size: 20px;
        text-align: center;
    }

    .profile-tab-item.active {
        font-weight: 700;
    }

    .profile-tab-item.active::after {
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        bottom: -11px;
        height: 3px;
        background-color: var(--neon);
    }

    .profile-tab-item:not(.active):hover::after {
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        bottom: -11px;
        height: 3px;
        background-color: var(--neon-light);
    }

    .profile-tabs {
        display: flex;
        justify-content: center;
        border-bottom: 1px solid #e6e6e6;
    }

    .profile-tabs-list {
        display: flex;
        padding-bottom: 10px;
        gap: 5px;
    }
    .profile-dropdown-wrapper {
        display: none;
    }

    .submenu {
        gap: 0;
        padding: 10px 0;
    }

    .nav-item:hover > .submenu-wrapper,
    .lang-wrapper:hover > .sublang-wrapper,
    .nav-item.is-open > .submenu-wrapper {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .nav-item:hover > .submenu-wrapper::before {
        content: "";
        position: absolute;
        top: -10px;
        left: 20px;
        width: 0;
        height: 0;
        border-left: 10px solid transparent;
        border-right: 10px solid transparent;
        border-bottom: 10px solid white;
    }

    .login-icon {
        display: block;
    }

    .lang-wrapper:hover > .sublang-wrapper::before {
        content: "";
        position: absolute;
        top: -10px;
        right: 20px;
        width: 0;
        height: 0;
        border-left: 10px solid transparent;
        border-right: 10px solid transparent;
        border-bottom: 10px solid white;
    }

    .submenu-item {
        display: block;
        white-space: nowrap;
        color: var(--dark);
        font-weight: 400;
        font-size: 16px;
        padding: 11px 16px;
        position: relative;
    }

    .submenu-item:hover {
        cursor: pointer;
        font-weight: 600;
    }

    .submenu-item:hover::before {
        content: "";
        position: absolute;
        left: 0;
        top: 0;
        width: 3px;
        height: 100%;
        background: var(--neon);
        z-index: -1;
    }

    .submenu-item > span:hover {
        background: rgba(0, 0, 0, 0.06);
    }

    .auth-buttons {
        padding: 8px 10px 0 10px;
    }

    .footer-slogan-wrapper,
    .footer-lesmills-wrapper {
        display: block;
        position: absolute;
    }

    .footer-slogan-wrapper {
        left: -225px;
        top: -15px;
    }

    .footer-lesmills-wrapper {
        right: -225px;
        top: -7px;
    }

    .footer-slogan,
    .footer-lesmills {
        width: 185px;
    }

    .slogan-lesmills-row-mb {
        display: none;
    }

    .logout-icon {
        display: none;
    }
}

@media screen and (min-width: 1440px) {
    .header-nav-middle {
        display: block;
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
    }

    .footer-slogan-wrapper {
        left: -325px;
        top: -15px;
    }

    .footer-lesmills-wrapper {
        right: -325px;
        top: -7px;
    }

    .footer-slogan,
    .footer-lesmills {
        width: 215px;
    }
}
