* {
    box-sizing: border-box;
}

:root {
    --point-blue: #003b5c;
    --point-blue-dark: #002b43;
    --point-gold: #d6a74a;

    --text: #20252b;
    --muted: #66717c;

    --background: #f5f7f9;
    --border: #dfe5ea;

    --white: #ffffff;
}

body {
    margin: 0;

    font-family:
        Arial,
        Helvetica,
        sans-serif;

    color: var(--text);
    background: var(--background);

    line-height: 1.55;
}

.container {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}


/* HEADER */

.site-header {
    background: var(--white);
    border-bottom: 1px solid var(--border);
}

.header-inner {
    width: min(1180px, calc(100% - 40px));
    margin: auto;

    padding: 18px 0;
}

.brand {
    display: flex;
    align-items: center;
    gap: 14px;
}

.brand-mark {
    width: 48px;
    height: 48px;

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

    background: var(--point-blue);
    color: white;

    font-weight: 800;
    font-size: 27px;
}

.university-name {
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 1.6px;

    color: var(--point-blue);
}

.academy-name {
    font-size: 21px;
    font-weight: 700;
}


/* HERO */

.hero {
    background:
        linear-gradient(
            120deg,
            var(--point-blue-dark),
            var(--point-blue)
        );

    color: white;

    padding: 70px 0 75px;
}

.hero-content {
    max-width: 780px;
}

.eyebrow {
    color: #f1c76b;

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

    letter-spacing: 2px;

    margin-bottom: 12px;
}

.hero h1 {
    margin: 0 0 18px;

    font-size: clamp(
        38px,
        6vw,
        62px
    );

    line-height: 1.05;
}

.hero p {
    margin: 0;

    max-width: 700px;

    font-size: 19px;

    color: rgba(
        255,
        255,
        255,
        .88
    );
}


/* CATALOG */

.catalog-section {
    padding: 55px 0 80px;
}

.catalog-heading {
    display: flex;
    justify-content: space-between;
    align-items: end;

    gap: 20px;

    margin-bottom: 28px;
}

.catalog-heading h2 {
    margin: 0 0 4px;

    color: var(--point-blue);

    font-size: 32px;
}

.catalog-heading p {
    margin: 0;

    color: var(--muted);
}

.program-count {
    color: var(--muted);

    white-space: nowrap;
}

.program-count strong {
    color: var(--point-blue);
    font-size: 24px;
}


/* FILTERS */

.filters {
    display: grid;

    grid-template-columns:
        minmax(280px, 2fr)
        minmax(180px, 1fr)
        minmax(180px, 1fr);

    gap: 15px;

    background: white;

    padding: 20px;

    border: 1px solid var(--border);
    border-radius: 10px;

    margin-bottom: 30px;
}

.filters label {
    display: block;

    margin-bottom: 6px;

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

    color: #48525c;
}

.filters input,
.filters select {
    width: 100%;

    height: 46px;

    border: 1px solid #cbd4dc;
    border-radius: 6px;

    padding: 0 12px;

    background: white;

    font-size: 15px;
}

.filters input:focus,
.filters select:focus {
    outline: 3px solid rgba(
        0,
        59,
        92,
        .13
    );

    border-color: var(--point-blue);
}


/* PROGRAM CARDS */

.program-grid {
    display: grid;

    grid-template-columns:
        repeat(
            3,
            minmax(0, 1fr)
        );

    gap: 20px;
}

.program-card {
    background: white;

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

    border-radius: 10px;

    padding: 23px;

    display: flex;
    flex-direction: column;

    min-height: 330px;

    box-shadow:
        0 3px 10px rgba(
            0,
            0,
            0,
            .035
        );
}

.program-card[hidden] {
    display: none;
}

.card-domain {
    color: var(--point-blue);

    font-size: 12px;
    font-weight: 800;

    letter-spacing: .7px;
    text-transform: uppercase;

    margin-bottom: 8px;
}

.program-card h3 {
    margin: 0 0 7px;

    font-size: 20px;
    line-height: 1.25;

    color: #17212a;
}

.partner {
    color: var(--muted);

    font-size: 14px;

    margin-bottom: 14px;
}

.program-meta {
    display: flex;
    flex-wrap: wrap;

    gap: 7px;

    margin-bottom: 15px;
}

.program-meta span {
    display: inline-block;

    background: #edf3f6;

    color: var(--point-blue);

    padding: 5px 9px;

    border-radius: 20px;

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

.description {
    color: #4f5963;

    font-size: 14px;

    display: -webkit-box;

    -webkit-line-clamp: 6;
    -webkit-box-orient: vertical;

    overflow: hidden;

    margin: 0 0 20px;
}

.program-link {
    margin-top: auto;

    display: inline-flex;
    align-items: center;

    gap: 7px;

    width: fit-content;

    color: var(--point-blue);

    font-weight: 800;

    text-decoration: none;
}

.program-link:hover {
    text-decoration: underline;
}


/* PAGINATION */

.pagination {
    margin-top: 38px;

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

    gap: 20px;
}

.page-button {
    border: 0;

    background: var(--point-blue);

    color: white;

    padding: 11px 18px;

    border-radius: 6px;

    font-weight: 700;

    cursor: pointer;
}

.page-button:hover:not(:disabled) {
    background: var(--point-blue-dark);
}

.page-button:disabled {
    opacity: .35;
    cursor: default;
}

#pageStatus {
    color: var(--muted);

    font-size: 14px;
}


/* NO RESULTS */

.no-results {
    text-align: center;

    padding: 70px 20px;

    background: white;

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

    border-radius: 10px;
}

.no-results h3 {
    color: var(--point-blue);
}


/* FOOTER */

footer {
    background: #17212a;
    color: white;

    padding: 35px 0;
}

footer p {
    margin: 3px 0 12px;

    color: #ccd5dc;
}

footer small {
    color: #9eabb5;
}


/* TABLET */

@media (max-width: 900px) {

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

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

    .search-field {
        grid-column: 1 / -1;
    }

}


/* MOBILE */

@media (max-width: 600px) {

    .container,
    .header-inner {
        width: min(
            100% - 28px,
            1180px
        );
    }

    .hero {
        padding: 48px 0 52px;
    }

    .hero h1 {
        font-size: 39px;
    }

    .hero p {
        font-size: 17px;
    }

    .catalog-heading {
        display: block;
    }

    .program-count {
        margin-top: 14px;
    }

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

    .search-field {
        grid-column: auto;
    }

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

    .pagination {
        gap: 10px;
    }

    .page-button {
        padding: 10px 12px;
    }

}
.point-logo {
    width: 200px;
    height: auto;
    display: block;
    flex-shrink: 0;
}
