/* ============================================================
   PSYCHOLOGY ADVISEMENT PAGE
   Simple document-style layout
   ============================================================ */

:root {
    font-family:
            system-ui,
            -apple-system,
            BlinkMacSystemFont,
            "Segoe UI",
            sans-serif;

    color: #2f3740;
    background: #f7f8fa;

    --content-bg: #ffffff;
    --heading: #243447;
    --muted: #5f6b76;
    --border: #d9dee3;
    --link: #145da0;
}


/* ------------------------------------------------------------
   GENERAL
   ------------------------------------------------------------ */

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    line-height: 1.6;
    font-size: 16px;
}

.container {
    width: min(900px, calc(100% - 40px));
    margin: 0 auto;
}


/* ------------------------------------------------------------
   HEADER
   ------------------------------------------------------------ */

.course-header {
    background: #243447;
    color: white;
    padding: 1.4rem 0;
    margin-bottom: 2rem;
}

.course-header h1 {
    margin: 0;
    font-size: 2rem;
    font-weight: 600;
}


/* ------------------------------------------------------------
   MAIN CONTENT
   ------------------------------------------------------------ */

main {
    background: var(--content-bg);
    padding: 0 2rem 3rem;
}

section {
    margin-bottom: 2.5rem;
}

h2 {
    color: var(--heading);
    font-size: 1.45rem;
    margin-top: 0;
    margin-bottom: 1rem;
    padding-bottom: 0.35rem;
    border-bottom: 1px solid var(--border);
}

h3 {
    color: var(--heading);
    font-size: 1.15rem;
    margin-top: 1.75rem;
    margin-bottom: 0.5rem;
}

p {
    margin: 0 0 1rem;
}

ul,
ol {
    margin-top: 0.6rem;
    margin-bottom: 1rem;
    padding-left: 1.6rem;
}

li {
    margin-bottom: 0.6rem;
}

li ul {
    margin-top: 0.6rem;
}

a {
    color: var(--link);
}

a:hover {
    text-decoration-thickness: 2px;
}


/* ------------------------------------------------------------
   EXISTING "CARD" DIVS
   Deliberately not styled as cards.
   ------------------------------------------------------------ */

.advisement-card {
    margin: 0;
    padding: 0;
    background: none;
    border: none;
    box-shadow: none;
}


/* ------------------------------------------------------------
   FINAL REMINDER
   Slight emphasis without turning it into a big card.
   ------------------------------------------------------------ */

.advisement-reminder {
    margin-top: 2rem;
    padding: 1rem 1.25rem;
    border-left: 4px solid var(--heading);
    background: #f4f6f8;
}

.advisement-reminder h2 {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0.5rem;
}

.advisement-reminder p:last-child {
    margin-bottom: 0;
}


/* ------------------------------------------------------------
   MOBILE
   ------------------------------------------------------------ */

@media (max-width: 600px) {

    .container {
        width: min(100% - 28px, 900px);
    }

    main {
        padding: 0 0 2rem;
    }

    .course-header {
        margin-bottom: 1.5rem;
    }

    .course-header h1 {
        font-size: 1.65rem;
    }

    h2 {
        font-size: 1.3rem;
    }
}