/* ==========================================================
   GROUPS
========================================================== */

.page-header {

    padding: 100px 30px 70px;
    text-align: center;

}

.page-header .container {

    max-width: 850px;
    margin: 0 auto;

}

.page-header h1 {

    font-size: 4rem;
    margin-bottom: 20px;
    color: var(--primary-dark);

}

.page-header p {

    font-size: 1.15rem;
    line-height: 1.9;
    color: var(--text-light);

}


/* ==========================================================
   TOPIC
========================================================== */

.topic-section {

    padding: 90px 30px;

}

.topic-grid {

    max-width: 1200px;
    margin: 0 auto;

    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;

    align-items: center;

}

.topic-grid.reverse {

    direction: rtl;

}

.topic-grid.reverse > * {

    direction: ltr;

}


/* ==========================================================
   IMAGE
========================================================== */

.topic-image {

    overflow: hidden;
    border-radius: 22px;

}

.topic-image img {

    width: 100%;
    height: 460px;

    object-fit: cover;

    border-radius: 22px;

    box-shadow: var(--shadow);

    transition: transform .45s ease;

}

.topic-image:hover img {

    transform: scale(1.04);

}


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

.topic-content h2 {

    font-size: 3rem;
    margin-bottom: 15px;

}

.topic-content h3 {

    font-size: 1.35rem;
    color: var(--primary);

    font-weight: 600;

    margin-bottom: 25px;

    line-height: 1.5;

}

.topic-content p {

    color: var(--text-light);

    line-height: 2;

    margin-bottom: 35px;

}


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

.topic-section:not(:last-child) {

    border-bottom: 1px solid var(--border);

}


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

.topic-content .btn-book {

    margin-top: 10px;

}


/* ==========================================================
   RESPONSIVE - TABLET
========================================================== */

@media (max-width: 992px) {

    .page-header h1 {

        font-size: 3rem;

    }

    .topic-grid,
    .topic-grid.reverse {

        grid-template-columns: 1fr;
        gap: 40px;

        direction: ltr;

    }

    .topic-image img {

        height: 350px;

    }

    .topic-content {

        text-align: center;

    }

    .topic-content h2 {

        font-size: 2.4rem;

    }

}


/* ==========================================================
   RESPONSIVE - MOBILE
========================================================== */

@media (max-width: 576px) {

    .page-header {

        padding: 70px 20px 40px;

    }

    .page-header h1 {

        font-size: 2.4rem;

    }

    .page-header p {

        font-size: 1rem;

        /* Justify ONLY on mobile */
        text-align: justify;

    }

    .topic-section {

        padding: 60px 20px;

    }

    .topic-image img {

        height: 260px;

    }

    .topic-content {

        text-align: left;

    }

    .topic-content h2 {

        font-size: 2rem;

    }

    .topic-content h3 {

        font-size: 1.15rem;

    }

    .topic-content p {

        /* Justify ONLY on mobile */
        text-align: justify;

        line-height: 1.85;

    }

}