/* =========================
   SCHEDULE & PRICING
========================= */
.mobile-language {
    display: none;
}

.schedule-page {
    background: #050505;
    overflow: hidden;
}


/* =========================
   HERO
========================= */

.schedule-hero {
    position: relative;

    min-height: 410px;

    background: #fff;

    overflow: hidden;

    clip-path: polygon(0 0,
            100% 0,
            100% 77%,
            0 100%);
}

.schedule-hero-container {
    position: relative;

    width: min(1160px, 88%);
    height: 100%;

    margin: 0 auto;

    padding-top: 55px;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-label {
    margin: 0 0 12px;

    color: #e31b23;

    font-size: 13px;
    font-weight: 700;

    letter-spacing: 2px;
}

.hero-content h1 {
    margin: 0;

    color: #000;

    font-size: clamp(90px, 8vw, 170px);
    line-height: 0.78;

    font-weight: 900;

    letter-spacing: -6px;
}

.hero-content h1 span {
    display: inline-block;

    margin-top: 14px;
}



/* =========================
   CONTENT
========================= */

.schedule-content {
    background: #050505;
    color: #fff;

    padding: 30px 25px 55px;
}

.schedule-container {
    width: min(1120px, 88%);

    margin: 0 auto;
}


/* Section title */

.section-title {
    display: flex;
    align-items: center;

    gap: 15px;

    margin-bottom: 24px;
}

.section-title span {
    width: 30px;
    height: 2px;

    background: #e31b23;
}

.section-title p {
    margin: 0;

    color: #d7d7d7;

    font-size: 9px;
    font-weight: 600;

    letter-spacing: 0.4px;
}


/* =========================
   WEEK SCHEDULE
========================= */

.week-grid {
    display: grid;

    grid-template-columns: repeat(6, 1fr);

    gap: 0;
}

.day-card {
    position: relative;

    min-height: 140px;

    padding: 0 25px;

    border-right: 1px solid #e31b23;
}

.day-card:first-child {
    padding-left: 8px;
}

.day-card:last-child {
    border-right: 0;
}

.day-card h2 {
    margin: 0;

    color: #fff;

    font-size: 15px;
    font-weight: 700;

    letter-spacing: -0.4px;
}

.day-line {
    width: 45px;
    height: 2px;

    margin: 8px 0 14px;

    background: #e31b23;
}

.class-time {
    margin-bottom: 12px;
}

.class-time span {
    display: block;

    margin-bottom: 3px;

    color: #e31b23;

    font-size: 11px;
    font-weight: 600;
}

.class-time p {
    margin: 0;

    color: #fff;

    font-size: 10px;
    line-height: 1.45;
}


/* =========================
   DIVIDER
========================= */

.big-red-line {
    width: 100%;
    height: 1px;

    margin: 20px 0 24px;

    background: #e31b23;
}


/* =========================
   PRICING
========================= */

.pricing-title {
    margin-bottom: 18px;
}

.pricing-grid {
    display: grid;

    grid-template-columns:
        1fr 1.2fr 1.2fr 1.2fr 1.3fr;

    align-items: end;
}

.price-card {
    min-height: 85px;

    padding-right: 25px;
    margin-right: 25px;

    border-right: 1px solid #e31b23;
}

.price-card h3 {
    margin: 0 0 10px;

    color: #fff;

    font-size: 13px;
    font-weight: 500;
}

.price {
    color: #fff;

    font-size: 34px;
    line-height: 1;

    font-weight: 700;
}

.price-row {
    display: flex;
    align-items: flex-end;

    gap: 8px;
}

.from {
    margin-bottom: 4px;

    color: #e31b23;

    font-size: 8px;
    font-weight: 700;
}


/* =========================
   BUTTON
========================= */

.membership-button-wrap {
    display: flex;
    align-items: flex-end;

    height: 100%;
}

.membership-button {
    display: inline-block;

    padding: 13px 24px;

    border: 1px solid #e31b23;

    color: #fff;

    background: transparent;

    text-decoration: none;

    font-size: 10px;
    font-weight: 600;

    white-space: nowrap;

    transition:
        background-color 0.25s ease,
        color 0.25s ease;
}

.membership-button:hover {
    background: #fff;
    color: #c90000;
}


/* Membership note */

.membership-note {
    margin: 8px 0 0;

    color: #bbb;

    font-size: 8px;
}


/* =========================
   ACTIVE NAVIGATION
========================= */

header nav a.active-page {
    position: relative;
}

header nav a.active-page::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: -9px;

    width: 100%;
    height: 2px;

    background: #e31b23;
}


/* =========================
   RESPONSIVE
========================= */

/* =========================================
   LAPTOP
   901px - 1200px
========================================= */

@media (min-width: 901px) and (max-width: 1200px) {

    .schedule-hero-container,
    .schedule-container {
        width: 88%;
    }

    /* SCHEDULE - 3 coloane x 2 rânduri */

    .week-grid {
        grid-template-columns: repeat(3, 1fr);
        row-gap: 35px;
    }

    .day-card {
        min-height: 155px;
        padding: 0 25px;
        border-right: 1px solid #e31b23;
    }

    /*
        Coloana 1: Monday / Friday
        Coloana 2: Tuesday / Saturday
        Coloana 3: Thursday / Sunday
    */

    .day-card:nth-child(1) {
        grid-column: 1;
        grid-row: 1;
    }

    .day-card:nth-child(2) {
        grid-column: 2;
        grid-row: 1;
    }

    .day-card:nth-child(3) {
        grid-column: 3;
        grid-row: 1;
        border-right: 0;
    }

    .day-card:nth-child(4) {
        grid-column: 1;
        grid-row: 2;
    }

    .day-card:nth-child(5) {
        grid-column: 2;
        grid-row: 2;
    }

    .day-card:nth-child(6) {
        grid-column: 3;
        grid-row: 2;
        border-right: 0;
    }

    .day-card:first-child {
        padding-left: 25px;
    }


    /* PRICING */

    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px 35px;
    }

    .price-card {
        margin-right: 0;
        padding: 0 0 20px;

        border-right: 0;
        border-bottom: 1px solid #e31b23;
    }

    .membership-button-wrap {
        align-items: center;
    }
}


/* =========================================
   TABLET
   451px - 900px
========================================= */

@media (min-width: 451px) and (max-width: 900px) {

    /* HERO */

    .schedule-hero {
        min-height: 350px;

        clip-path: polygon(0 0,
                100% 0,
                100% 87%,
                0 100%);
    }

    .schedule-hero-container {
        width: 90%;
        padding-top: 45px;
    }

    .hero-label {
        font-size: 11px;
    }

    .hero-content h1 {
        font-size: clamp(65px, 11vw, 90px);
        letter-spacing: -4px;
    }


    /* CONTENT */

    .schedule-content {
        padding: 35px 25px 55px;
    }

    .schedule-container {
        width: 90%;
    }


    /* SCHEDULE */

    .week-grid {
        grid-template-columns: repeat(3, 1fr);
        row-gap: 35px;
    }

    .day-card {
        min-height: 155px;

        padding: 0 20px;

        border-right: 1px solid #e31b23;
        border-bottom: 0;
    }

    .day-card:first-child {
        padding-left: 20px;
    }


    /* Monday */

    .day-card:nth-child(1) {
        grid-column: 1;
        grid-row: 1;
    }


    /* Tuesday */

    .day-card:nth-child(2) {
        grid-column: 2;
        grid-row: 1;
    }


    /* Thursday */

    .day-card:nth-child(3) {
        grid-column: 3;
        grid-row: 1;

        border-right: 0;
    }


    /* Friday - sub Monday */

    .day-card:nth-child(4) {
        grid-column: 1;
        grid-row: 2;
    }


    /* Saturday - sub Tuesday */

    .day-card:nth-child(5) {
        grid-column: 2;
        grid-row: 2;
    }


    /* Sunday - sub Thursday */

    .day-card:nth-child(6) {
        grid-column: 3;
        grid-row: 2;

        border-right: 0;
    }


    /* PRICING */

    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);

        gap: 25px 30px;
    }

    .price-card {
        margin-right: 0;

        padding: 0 0 20px;

        border-right: 0;
        border-bottom: 1px solid #e31b23;
    }

    .membership-button-wrap {
        align-items: center;
    }
}

@media (max-width: 768px) {

    .schedule-hero {
        min-height: 350px;

        clip-path: polygon(0 0,
                100% 0,
                100% 87%,
                0 100%);
    }

    .schedule-hero-container {
        width: 90%;

        padding-top: 45px;
    }

    .hero-content h1 {
        font-size: 75px;

        letter-spacing: -4px;
    }

    .schedule-dancer {
        width: 260px;

        right: 1%;
        bottom: 30px;
    }

    .week-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .day-card {
        border-right: 0;
        border-bottom: 1px solid #333;

        padding: 0 15px 25px;
    }

    .pricing-grid {
        grid-template-columns: 1fr 1fr;
    }
}


/* =========================================
   MOBILE
   <= 450px
========================================= */

@media (max-width: 450px) {

    /* HERO */

    .schedule-hero {
        min-height: 285px;

        clip-path: polygon(0 0,
                100% 0,
                100% 88%,
                0 100%);
    }

    .schedule-hero-container {
        width: 90%;

        padding-top: 35px;
    }

    .hero-label {
        margin-bottom: 10px;

        font-size: 9px;
        letter-spacing: 1.8px;
    }

    .hero-content h1 {
        font-size: clamp(48px, 14vw, 62px);
        line-height: 0.82;
        letter-spacing: -3px;
    }

    .hero-content h1 span {
        margin-top: 10px;
    }


    /* CONTENT */

    .schedule-content {
        padding: 35px 20px 50px;
    }

    .schedule-container {
        width: 100%;
    }


    /* SECTION TITLE */

    .section-title {
        gap: 12px;

        margin-bottom: 18px;
    }

    .section-title span {
        width: 30px;
    }

    .section-title p {
        font-size: 8px;
    }


    /* =====================================
   SCHEDULE - MOBILE 2 COLUMNS
====================================== */

    .week-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 0;
    }

    .day-card,
    .day-card:first-child {
        min-height: 155px;

        padding: 20px 15px;

        border-right: 1px solid #e31b23;
        border-bottom: 1px solid #333;
    }

    /* coloana din dreapta */
    .day-card:nth-child(2n) {
        border-right: 0;
        padding-right: 0;
    }

    /* coloana din stânga */
    .day-card:nth-child(2n + 1) {
        padding-left: 0;
    }

    /* ultimul rând */
    .day-card:nth-last-child(-n + 2) {
        border-bottom: 0;
    }

    .day-card h2 {
        font-size: 14px;
    }

    .day-line {
        width: 40px;
        height: 2px;

        margin: 8px 0 13px;
    }

    .class-time {
        margin-bottom: 10px;
    }

    .class-time:last-child {
        margin-bottom: 0;
    }

    .class-time span {
        font-size: 10px;
    }

    .class-time p {
        font-size: 9px;
        line-height: 1.45;
    }


    /* MAIN DIVIDER */

    .big-red-line {
        margin: 30px 0 25px;
    }


    /* =====================================
       PRICING
    ====================================== */

    .pricing-title {
        margin-bottom: 15px;
    }

    .pricing-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);

        gap: 0;
    }

    .price-card {
        min-height: 105px;

        margin: 0;
        padding: 20px 15px;

        border-right: 1px solid #e31b23;
        border-bottom: 1px solid #333;
    }

    /* left colum */
    .price-card:nth-child(odd) {
        padding-left: 0;
    }

    /* right column */
    .price-card:nth-child(even) {
        padding-right: 0;
        border-right: 0;
    }

    /* last 2 card */
    .price-card:nth-child(3),
    .price-card:nth-child(4) {
        border-bottom: 0;
    }

    .price-card h3 {
        margin: 0 0 10px;

        font-size: 10px;
        line-height: 1.4;
    }

    .price-row {
        gap: 6px;
    }

    .price {
        font-size: 29px;
    }

    .from {
        margin-bottom: 3px;

        font-size: 7px;
    }


    /* BUTTON */

    .membership-button-wrap {
        grid-column: 1 / -1;

        display: flex;
        justify-content: center;
        align-items: center;

        width: 100%;
        height: auto;

        padding-top: 25px;
    }

    .membership-button {
        display: inline-block;

        width: auto;
        min-width: 180px;

        padding: 13px 24px;

        border: 1px solid #e31b23;

        background: transparent;
        color: #fff;

        text-align: center;
        text-decoration: none;

        font-size: 10px;
        font-weight: 600;

        white-space: nowrap;
    }

    .membership-note {
        margin: 14px 0 0;

        text-align: center;

        color: #bbb;
        font-size: 8px;
        line-height: 1.5;
    }
}