﻿/* =========================================================
   STUDENTEN PAGINA
   ========================================================= */

.student-page {
    width: 100%;
    background: #ffffff;
    color: #0b0b0b;
}


/* =========================================================
   CONTENT CONTAINER
   ========================================================= */

.student-container {
    width: min(950px, calc(100% - 40px));
    margin: 0 auto;
    padding: 25px 0 65px;
}


/* =========================================================
   PAGINA TITEL
   ========================================================= */

.student-page-header {
    display: flex;
    align-items: center;
    gap: 22px;
    margin-bottom: 38px;
}

.student-title-icon {
    display: block;
    width: 58px;
    height: 58px;
    object-fit: contain;
}

.student-page-header h1 {
    margin: 0;
    color: #050505;
    font-size: 48px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: -1.5px;
}


/* =========================================================
   SECTIES
   ========================================================= */

.student-section {
    margin-bottom: 28px;
}

    .student-section:last-child {
        margin-bottom: 0;
    }

    .student-section h2 {
        margin: 0 0 20px;
        color: #090909;
        font-size: 30px;
        line-height: 1.05;
        font-weight: 800;
        letter-spacing: -.6px;
    }

    .student-section p {
        max-width: 650px;
        margin: 0 0 20px;
        color: #101010;
        font-size: 14px;
        line-height: 1.3;
        font-weight: 500;
    }


/* =========================================================
   REGISTREREN BUTTON
   ========================================================= */

.student-register-button {
    min-width: 92px;
    height: 43px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 8px;
    padding: 0 17px;
    border: 2px solid var(--red, #f20a2e);
    border-radius: 11px;
    background: #ffffff;
    color: #111111;
    font-size: 11px;
    line-height: 1;
    font-weight: 700;
    text-decoration: none;
    transition: background-color .2s ease, color .2s ease;
}

    .student-register-button:hover,
    .student-register-button:focus {
        background: var(--red, #f20a2e);
        color: #ffffff;
    }


/* =========================================================
   PROGRAMMA
   ========================================================= */

.program-section {
    margin-top: 55px;
}

    .program-section > p {
        margin-bottom: 28px;
    }


/* =========================================================
   TABS
   ========================================================= */

.student-tabs {
    width: 100%;
}


/* =========================================================
   TAB NAVIGATIE - DESKTOP
   ========================================================= */

.student-tab-buttons {
    width: 100%;
    display: flex;
    align-items: flex-end;
    border-bottom: 1px solid #111111;
}

.student-tab-button {
    position: relative;
    min-height: 37px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 18px;
    border: 1px solid transparent;
    border-bottom: 0;
    border-radius: 6px 6px 0 0;
    background: transparent;
    color: #111111;
    font-family: inherit;
    font-size: 13px;
    line-height: 1;
    font-weight: 500;
    cursor: pointer;
    white-space: nowrap;
}

    .student-tab-button.active {
        margin-bottom: -1px;
        border-color: #111111;
        background: #ffffff;
        font-weight: 700;
    }

    .student-tab-button:not(.active):hover {
        color: var(--red, #f20a2e);
    }


/* =========================================================
   TAB CONTENT
   ========================================================= */

.student-tab-panel {
    display: none;
}

    .student-tab-panel.active {
        display: block;
    }

    .student-tab-panel p {
        margin: 0;
        font-size: 14px;
        line-height: 1.3;
    }


/* =========================================================
   VERDER STUDEREN
   ========================================================= */

.study-section {
    margin-top: 68px;
}

    .study-section p {
        margin-bottom: 8px;
    }


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 991.98px) {

    .student-container {
        width: min(680px, calc(100% - 60px));
        padding-top: 35px;
        padding-bottom: 60px;
    }

    .student-page-header {
        margin-bottom: 30px;
    }

        .student-page-header h1 {
            font-size: 44px;
        }

    .student-title-icon {
        width: 52px;
        height: 52px;
    }

    .student-section h2 {
        font-size: 28px;
    }
}


/* =========================================================
   SMARTPHONE
   ========================================================= */

@media (max-width: 767.98px) {

    .student-top-strip {
        height: 10px;
    }

    .student-container {
        width: calc(100% - 40px);
        padding-top: 35px;
        padding-bottom: 35px;
    }


    /* -------------------------
       Titel
       ------------------------- */

    .student-page-header {
        gap: 16px;
        margin-bottom: 30px;
    }

    .student-title-icon {
        width: 45px;
        height: 45px;
    }

    .student-page-header h1 {
        font-size: 38px;
        letter-spacing: -1px;
    }


    /* -------------------------
       Tekst
       ------------------------- */

    .student-section {
        margin-bottom: 48px;
    }

        .student-section h2 {
            margin-bottom: 17px;
            font-size: 27px;
        }

        .student-section p {
            font-size: 14px;
            line-height: 1.45;
        }


    /* -------------------------
       Tabs
       2 per rij
       ------------------------- */

    .student-tab-buttons {
        width: 100%;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        align-items: stretch;
        gap: 8px;
        border-bottom: 0;
        overflow: visible;
    }

    .student-tab-button {
        width: 100%;
        min-width: 0;
        min-height: 46px;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 9px 10px;
        border: 1px solid #111111;
        border-radius: 8px;
        background: #ffffff;
        color: #111111;
        font-size: 13px;
        line-height: 1.2;
        font-weight: 500;
        white-space: normal;
        text-align: center;
    }

        .student-tab-button.active {
            margin-bottom: 0;
            border: 2px solid var(--red, #f20a2e);
            background: #ffffff;
            color: #111111;
            font-weight: 700;
        }

        .student-tab-button:not(.active):hover {
            color: var(--red, #f20a2e);
        }

    .student-tab-panel {
        padding-top: 4px;
    }


    /* -------------------------
       Verder studeren
       ------------------------- */

    .study-section {
        margin-top: 55px;
    }
}


/* =========================================================
   ZEER KLEINE SMARTPHONE
   ========================================================= */

@media (max-width: 480px) {

    .student-container {
        width: calc(100% - 32px);
    }

    .student-page-header h1 {
        font-size: 34px;
    }

    .student-title-icon {
        width: 41px;
        height: 41px;
    }

    .student-section h2 {
        font-size: 25px;
    }


    /* Tabs volledig onder elkaar */

    .student-tab-buttons {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .student-tab-button {
        min-height: 44px;
        font-size: 13px;
    }
}
