:root {
    --ccpf-ink: #172033;
    --ccpf-blue: #155d8b;
    --ccpf-teal: #0f7b73;
    --ccpf-gold: #c08a1c;
    --ccpf-coral: #b64f4a;
    --ccpf-cloud: #f5f8fb;
    --ccpf-mint: #e7f5f1;
    --ccpf-cream: #fff9ec;
    --ccpf-line: #dde6ee;
    --ccpf-shadow: 0 18px 48px rgb(23 32 51 / 12%);
}

* {
    letter-spacing: 0;
}

html,
body {
    max-width: 100%;
    overflow-x: hidden;
}

body {
    color: var(--ccpf-ink);
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background:
        linear-gradient(180deg, #fff 0%, #f8fbfd 52%, #fff 100%);
}

a {
    color: var(--ccpf-blue);
}

.site-topbar {
    background: linear-gradient(90deg, var(--ccpf-ink), #0d5661 62%, #7b5a12);
    color: #fff;
    font-size: .875rem;
}

.brand-mark,
.brand-logo {
    align-items: center;
    background: #fff;
    border: 1px solid rgb(192 138 28 / 42%);
    border-radius: 50%;
    color: var(--ccpf-blue);
    display: inline-flex;
    font-weight: 800;
    height: 52px;
    justify-content: center;
    width: 52px;
}

.brand-logo {
    height: 58px;
    object-fit: contain;
    padding: 3px;
    width: 58px;
}

.brand-logo-light {
    background: #fff;
    height: 62px;
    width: 62px;
}

.navbar {
    border-bottom: 1px solid rgb(221 230 238 / 70%);
    box-shadow: 0 10px 30px rgb(23 32 51 / 8%);
    min-height: 82px;
}

.navbar .nav-link {
    color: #29364a;
    font-weight: 650;
    position: relative;
    white-space: nowrap;
}

.navbar .nav-link:hover,
.navbar .nav-link.active {
    color: var(--ccpf-blue);
}

.navbar .nav-link.active::after {
    background: var(--ccpf-gold);
    border-radius: 999px;
    bottom: .25rem;
    content: "";
    height: 3px;
    left: .5rem;
    position: absolute;
    right: .5rem;
}

.btn {
    align-items: center;
    border-radius: 8px;
    display: inline-flex;
    font-weight: 750;
    gap: .45rem;
    justify-content: center;
}

.btn [data-lucide],
.quick-action-rail [data-lucide],
.service-icon [data-lucide] {
    height: 1em;
    width: 1em;
}

.public-hero {
    background:
        linear-gradient(90deg, rgb(23 32 51 / 92%) 0%, rgb(21 93 139 / 72%) 48%, rgb(15 123 115 / 30%) 100%),
        var(--hero-image, url("/images/ccpf-campus-1.png")) center/cover;
    color: #fff;
    min-height: 78vh;
    padding: 7.25rem 0 6rem;
    position: relative;
}

.public-hero::after {
    background: linear-gradient(0deg, rgb(23 32 51 / 24%), transparent);
    bottom: 0;
    content: "";
    height: 36%;
    left: 0;
    position: absolute;
    right: 0;
}

.public-hero .container {
    position: relative;
    z-index: 1;
}

.hero-panel {
    max-width: 830px;
}

.hero-panel h1 {
    font-size: clamp(2.7rem, 5vw, 5.4rem);
    font-weight: 800;
    line-height: 1.02;
}

.hero-kicker {
    align-items: center;
    background: rgb(255 255 255 / 12%);
    border: 1px solid rgb(255 255 255 / 22%);
    border-radius: 999px;
    display: inline-flex;
    gap: .5rem;
    padding: .5rem .8rem;
}

.hero-proof {
    border-top: 1px solid rgb(255 255 255 / 24%);
    margin-top: 2rem;
    padding-top: 1.4rem;
}

.hero-actions .btn {
    min-width: 178px;
}

.hero-proof strong {
    color: #ffe1a3;
}

.quick-action-rail {
    bottom: 1.2rem;
    display: grid;
    gap: .45rem;
    position: fixed;
    right: 1.2rem;
    z-index: 1030;
}

.quick-action-rail a {
    align-items: center;
    background: rgb(255 255 255 / 94%);
    border: 1px solid var(--ccpf-line);
    border-radius: 8px;
    box-shadow: 0 14px 32px rgb(23 32 51 / 16%);
    color: var(--ccpf-ink);
    display: flex;
    font-size: .82rem;
    font-weight: 800;
    gap: .45rem;
    min-width: 112px;
    padding: .62rem .76rem;
    text-decoration: none;
}

.quick-action-rail a:hover {
    background: var(--ccpf-blue);
    color: #fff;
}

.section-band {
    padding: 5.2rem 0;
}

.section-band .h1,
.section-band .display-6 {
    letter-spacing: 0;
}

.section-muted {
    background:
        linear-gradient(180deg, #fff, transparent 22%),
        var(--ccpf-cloud);
}

.eyebrow {
    color: var(--ccpf-gold);
    font-size: .78rem;
    font-weight: 800;
    text-transform: uppercase;
}

.feature-card,
.course-card,
.centre-card,
.category-tile,
.notice-card,
.media-card,
.admin-card,
.resource-card {
    border: 1px solid var(--ccpf-line);
    border-radius: 8px;
    background: #fff;
    height: 100%;
}

.admin-card,
.resource-card,
.notice-card {
    height: auto;
}

.course-card,
.centre-card,
.category-tile,
.notice-card,
.media-card,
.admin-card,
.resource-card {
    box-shadow: var(--ccpf-shadow);
}

.feature-card,
.course-card,
.centre-card,
.category-tile,
.notice-card,
.media-card,
.resource-card,
.admin-card {
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.feature-card:hover,
.course-card:hover,
.centre-card:hover,
.category-tile:hover,
.notice-card:hover,
.media-card:hover,
.resource-card:hover {
    border-color: rgb(21 93 139 / 28%);
    box-shadow: 0 24px 60px rgb(23 32 51 / 16%);
    transform: translateY(-3px);
}

.course-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.course-image {
    aspect-ratio: 16 / 10;
    object-fit: cover;
    width: 100%;
}

.course-card-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 1.35rem;
}

.course-card-body .btn {
    margin-top: auto;
}

.course-card-fee {
    align-items: center;
    background: var(--ccpf-cloud);
    border: 1px solid var(--ccpf-line);
    border-radius: 8px;
    display: flex;
    justify-content: space-between;
    padding: .75rem .85rem;
}

.course-card-fee span {
    color: #64748b;
    font-size: .78rem;
    font-weight: 800;
    text-transform: uppercase;
}

.course-card-fee strong {
    color: var(--ccpf-blue);
}

.course-hero-facts {
    display: grid;
    gap: .8rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-width: 860px;
}

.course-hero-facts div {
    background: rgb(255 255 255 / 12%);
    border: 1px solid rgb(255 255 255 / 22%);
    border-radius: 8px;
    padding: .85rem 1rem;
}

.course-hero-facts span {
    color: rgb(255 255 255 / 72%);
    display: block;
    font-size: .76rem;
    font-weight: 800;
    margin-bottom: .15rem;
    text-transform: uppercase;
}

.course-hero-facts strong {
    color: #fff;
    display: block;
    overflow-wrap: anywhere;
}

.course-detail-section {
    border-top: 1px solid var(--ccpf-line);
    margin-top: 2rem;
    padding-top: 2rem;
}

.detail-list {
    display: grid;
    gap: .75rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.detail-list div {
    background: #fff;
    border: 1px solid var(--ccpf-line);
    border-radius: 8px;
    box-shadow: 0 10px 26px rgb(23 32 51 / 7%);
    padding: .9rem 1rem;
}

.course-fee-card {
    background:
        linear-gradient(135deg, rgb(21 93 139 / 9%), transparent 42%),
        #fff;
}

.fee-list {
    border-top: 1px solid var(--ccpf-line);
    margin-top: 1rem;
}

.fee-row {
    align-items: center;
    border-bottom: 1px solid var(--ccpf-line);
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    padding: .8rem 0;
}

.fee-row span {
    color: #64748b;
}

.fee-row strong {
    color: var(--ccpf-ink);
    white-space: nowrap;
}

.document-list {
    display: grid;
    gap: .65rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.document-list li {
    border-bottom: 1px solid var(--ccpf-line);
    color: #526176;
    padding-bottom: .65rem;
}

.document-list li:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.course-cta-band {
    align-items: center;
    background: var(--ccpf-mint);
    border: 1px solid rgb(15 123 115 / 16%);
    border-radius: 8px;
    display: flex;
    gap: 1.5rem;
    justify-content: space-between;
    padding: 1.25rem;
}

.service-deck-section {
    padding: 2.2rem 0 0;
}

.service-deck {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-tile {
    align-items: center;
    background:
        linear-gradient(135deg, rgb(255 255 255 / 96%), rgb(245 248 251 / 98%));
    border: 1px solid var(--ccpf-line);
    border-radius: 8px;
    box-shadow: var(--ccpf-shadow);
    color: var(--ccpf-ink);
    display: flex;
    gap: 1rem;
    padding: 1.15rem;
    text-decoration: none;
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.service-tile:hover {
    border-color: rgb(21 93 139 / 28%);
    box-shadow: 0 24px 60px rgb(23 32 51 / 16%);
    color: var(--ccpf-ink);
    transform: translateY(-3px);
}

.service-icon {
    align-items: center;
    background: var(--ccpf-mint);
    border: 1px solid rgb(15 123 115 / 16%);
    border-radius: 8px;
    color: var(--ccpf-teal);
    display: inline-flex;
    flex: 0 0 48px;
    height: 48px;
    justify-content: center;
    width: 48px;
}

.service-tile small {
    color: #64748b;
    display: block;
    margin-top: .15rem;
}

.category-tile {
    overflow: hidden;
    padding: 1.35rem;
    position: relative;
}

.category-tile::before {
    background: var(--tile-bg, var(--ccpf-mint));
    content: "";
    inset: 0;
    opacity: .88;
    position: absolute;
}

.category-tile > * {
    position: relative;
}

.category-icon {
    align-items: center;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 10px 22px rgb(23 32 51 / 10%);
    display: inline-flex;
    font-size: 1.4rem;
    font-weight: 800;
    height: 54px;
    justify-content: center;
    margin-bottom: 1rem;
    width: 54px;
}

.stat-strip {
    background: transparent;
    border-bottom: 0;
    margin-top: -2.5rem;
    position: relative;
    z-index: 2;
}

.stat-strip .row {
    background: #fff;
    border: 1px solid var(--ccpf-line);
    border-radius: 8px;
    box-shadow: var(--ccpf-shadow);
    padding: .8rem;
}

.stat-value {
    color: var(--ccpf-blue);
    font-size: 2rem;
    font-weight: 800;
}

.btn-primary {
    background: var(--ccpf-blue);
    border-color: var(--ccpf-blue);
}

.btn-primary:hover,
.btn-primary:focus {
    background: #10496e;
    border-color: #10496e;
}

.btn-outline-primary {
    border-color: var(--ccpf-blue);
    color: var(--ccpf-blue);
}

.badge-status {
    border-radius: 999px;
    font-weight: 700;
    padding: .42rem .72rem;
}

.badge-issued,
.badge-active,
.badge-published {
    background: #e8f7ef;
    color: #14663a;
}

.badge-suspended,
.badge-draft {
    background: #fff4df;
    color: #855b00;
}

.badge-revoked,
.badge-cancelled,
.badge-failed {
    background: #fdeaea;
    color: #9d2f2a;
}

.verification-card {
    border-left: 5px solid var(--ccpf-teal);
    background:
        linear-gradient(135deg, rgb(15 123 115 / 10%), transparent 35%),
        #fff;
}

.verification-preview {
    background: var(--ccpf-ink);
    border-radius: 8px;
    color: #fff;
    overflow: hidden;
}

.verification-preview-top {
    background: linear-gradient(90deg, var(--ccpf-blue), var(--ccpf-teal));
    padding: 1rem;
}

.verification-preview-body {
    padding: 1.25rem;
}

.trust-ribbon {
    background: var(--ccpf-cream);
    border: 1px solid #f0dbad;
    border-radius: 8px;
    color: #6d4a00;
    padding: .85rem 1rem;
}

.image-stack {
    display: grid;
    gap: 1rem;
    grid-template-columns: 1fr 1fr;
}

.image-stack img {
    border-radius: 8px;
    box-shadow: var(--ccpf-shadow);
    height: 100%;
    min-height: 220px;
    object-fit: cover;
    width: 100%;
}

.image-stack img:first-child {
    grid-row: span 2;
    min-height: 460px;
}

.contact-photo-panel {
    border-radius: 8px;
    box-shadow: var(--ccpf-shadow);
    min-height: 360px;
    overflow: hidden;
    position: relative;
}

.contact-photo-panel img {
    height: 100%;
    inset: 0;
    object-fit: cover;
    position: absolute;
    width: 100%;
}

.contact-photo-panel::after {
    background: linear-gradient(180deg, transparent 15%, rgb(23 32 51 / 82%));
    content: "";
    inset: 0;
    position: absolute;
}

.contact-photo-caption {
    bottom: 0;
    color: #fff;
    display: grid;
    gap: .35rem;
    left: 0;
    padding: 1.25rem;
    position: absolute;
    right: 0;
    z-index: 1;
}

.contact-photo-caption span {
    color: rgb(255 255 255 / 82%);
}

.home-gallery-section {
    padding-top: 3.4rem;
}

.home-news-board {
    background: #fff;
    border: 1px solid var(--ccpf-line);
    border-radius: 8px;
    box-shadow: var(--ccpf-shadow);
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    overflow: hidden;
}

.home-news-column {
    min-width: 0;
    padding: 1.35rem;
}

.home-news-column + .home-news-column {
    border-left: 1px solid var(--ccpf-line);
}

.home-news-heading {
    align-items: center;
    border-bottom: 1px solid var(--ccpf-line);
    display: flex;
    gap: .85rem;
    margin-bottom: .65rem;
    padding-bottom: 1rem;
}

.home-news-heading span {
    align-items: center;
    background: var(--ccpf-mint);
    border: 1px solid rgb(15 123 115 / 16%);
    border-radius: 8px;
    color: var(--ccpf-teal);
    display: inline-flex;
    flex: 0 0 44px;
    height: 44px;
    justify-content: center;
    width: 44px;
}

.home-news-heading [data-lucide] {
    height: 20px;
    width: 20px;
}

.home-news-list {
    display: grid;
}

.home-news-row {
    color: var(--ccpf-ink);
    display: grid;
    gap: .18rem;
    padding: .85rem 0;
    text-decoration: none;
}

.home-news-row + .home-news-row {
    border-top: 1px solid var(--ccpf-line);
}

.home-news-row:hover strong {
    color: var(--ccpf-blue);
}

.home-news-row time {
    color: #64748b;
    font-size: .82rem;
    font-weight: 700;
}

.gallery-tabs {
    background: var(--ccpf-cloud);
    border: 1px solid var(--ccpf-line);
    border-radius: 8px;
    display: inline-flex;
    gap: .35rem;
    padding: .35rem;
}

.gallery-tabs .nav-link {
    border-radius: 6px;
    color: var(--ccpf-ink);
    font-weight: 800;
}

.gallery-tabs .nav-link.active {
    background: var(--ccpf-blue);
}

.gallery-tabs span {
    background: rgb(255 255 255 / 22%);
    border-radius: 999px;
    margin-left: .35rem;
    padding: .1rem .45rem;
}

.gallery-grid {
    display: grid;
    gap: 1rem;
    grid-auto-flow: dense;
    grid-auto-rows: 190px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.gallery-tile {
    background: #000;
    border: 0;
    border-radius: 8px;
    box-shadow: var(--ccpf-shadow);
    min-height: 0;
    overflow: hidden;
    padding: 0;
    position: relative;
    text-align: left;
}

.gallery-tile-large {
    grid-column: span 2;
    grid-row: span 2;
}

.gallery-tile img {
    height: 100%;
    object-fit: cover;
    transition: transform .25s ease;
    width: 100%;
}

.gallery-tile:hover img,
.gallery-tile:focus img {
    transform: scale(1.04);
}

.gallery-tile-caption {
    background: linear-gradient(180deg, transparent, rgb(23 32 51 / 86%));
    bottom: 0;
    color: #fff;
    display: grid;
    gap: .25rem;
    left: 0;
    padding: 2.8rem 1rem 1rem;
    position: absolute;
    right: 0;
}

.gallery-tile-caption small {
    color: rgb(255 255 255 / 82%);
}

.gallery-modal {
    border: 0;
    border-radius: 8px;
    overflow: hidden;
}

.gallery-modal img {
    max-height: 72vh;
    object-fit: contain;
    width: 100%;
}

.video-gallery-grid {
    display: grid;
    gap: 1.25rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.video-card {
    background: #fff;
    border: 1px solid var(--ccpf-line);
    border-radius: 8px;
    box-shadow: var(--ccpf-shadow);
    overflow: hidden;
}

.video-thumb {
    display: block;
    position: relative;
}

.video-thumb img {
    aspect-ratio: 16 / 9;
    object-fit: cover;
    width: 100%;
}

.video-thumb span {
    align-items: center;
    background: rgb(21 93 139 / 92%);
    border-radius: 999px;
    color: #fff;
    display: inline-flex;
    font-weight: 800;
    inset: 50% auto auto 50%;
    padding: .6rem 1rem;
    position: absolute;
    transform: translate(-50%, -50%);
}

.admin-thumb {
    aspect-ratio: 4 / 3;
    border-radius: 6px;
    object-fit: cover;
    width: 92px;
}

.resource-list {
    display: grid;
    gap: 1rem;
}

.resource-card {
    align-items: center;
    display: flex;
    gap: 1rem;
    height: auto;
    justify-content: space-between;
    padding: 1.25rem;
}

.resource-card > div {
    min-width: 0;
}

.resource-card .btn {
    flex: 0 0 auto;
}

.notice-date {
    background: var(--ccpf-cream);
    border: 1px solid #f0dbad;
    border-radius: 8px;
    color: #6d4a00;
    flex: 0 0 76px;
    padding: .65rem .5rem;
    text-align: center;
}

.notice-date span {
    display: block;
    font-size: 1.45rem;
    font-weight: 800;
    line-height: 1;
}

.notice-date small {
    display: block;
    font-weight: 700;
    margin-top: .2rem;
}

.break-value {
    overflow-wrap: anywhere;
    word-break: break-word;
}

.footer-premium {
    background:
        linear-gradient(135deg, rgb(23 32 51 / 96%), rgb(15 70 86 / 96%)),
        url("/images/ccpf-campus-4.png") center/cover;
}

.admin-shell {
    background: #f7fafc;
    min-height: 100vh;
}

.admin-sidebar {
    background: var(--ccpf-ink);
    min-height: 100vh;
}

.admin-sidebar a {
    border-radius: 8px;
    color: rgb(255 255 255 / 82%);
    display: block;
    margin-bottom: .25rem;
    padding: .62rem .8rem;
    text-decoration: none;
}

.admin-sidebar a:hover,
.admin-sidebar a.active {
    background: rgb(255 255 255 / 10%);
    color: #fff;
}

.admin-main {
    min-width: 0;
}

.table thead th {
    color: #4a5668;
    font-size: .78rem;
    text-transform: uppercase;
    white-space: nowrap;
}

.empty-state {
    border: 1px dashed var(--ccpf-line);
    border-radius: 8px;
    color: #64748b;
    padding: 2rem;
    text-align: center;
}

.page-hero {
    background:
        linear-gradient(90deg, rgb(23 32 51 / 90%), rgb(21 93 139 / 68%)),
        var(--page-image, url("/images/ccpf-campus-1.png")) center/cover;
    color: #fff;
    min-height: 360px;
    padding: 6rem 0;
    position: relative;
}

.page-hero::after {
    background: linear-gradient(0deg, rgb(23 32 51 / 22%), transparent);
    bottom: 0;
    content: "";
    height: 40%;
    left: 0;
    position: absolute;
    right: 0;
}

.page-hero .container {
    position: relative;
    z-index: 1;
}

.page-hero .lead {
    color: rgb(255 255 255 / 86%);
}

.metric-pill {
    align-items: center;
    background: #fff;
    border: 1px solid var(--ccpf-line);
    border-radius: 8px;
    display: flex;
    gap: .8rem;
    padding: .95rem 1rem;
    min-width: 0;
}

.accordion-item {
    border: 1px solid var(--ccpf-line);
    border-radius: 8px !important;
    box-shadow: 0 10px 26px rgb(23 32 51 / 7%);
    margin-bottom: .8rem;
    overflow: hidden;
}

.accordion-button {
    font-weight: 800;
}

.accordion-button:not(.collapsed) {
    background: var(--ccpf-mint);
    color: var(--ccpf-ink);
}

.metric-pill span {
    align-items: center;
    background: var(--ccpf-mint);
    border-radius: 50%;
    display: inline-flex;
    font-weight: 800;
    height: 42px;
    justify-content: center;
    width: 42px;
    flex: 0 0 42px;
}

.timeline-list {
    border-left: 3px solid var(--ccpf-teal);
    padding-left: 1.25rem;
}

.timeline-list li {
    margin-bottom: 1rem;
}

.certificate-sheet {
    aspect-ratio: 297 / 210;
    background:
        linear-gradient(135deg, rgb(192 138 28 / 10%), transparent 24%),
        linear-gradient(315deg, rgb(15 123 115 / 12%), transparent 28%),
        #fff;
    border: 10px solid var(--ccpf-blue);
    box-shadow: inset 0 0 0 3px var(--ccpf-gold), 0 18px 50px rgb(23 32 51 / 15%);
    max-width: 1120px;
    padding: 2rem;
}

.certificate-watermark {
    color: rgb(21 93 139 / 7%);
    font-size: clamp(4rem, 11vw, 9rem);
    font-weight: 900;
    inset: 0;
    line-height: 1;
    pointer-events: none;
    position: absolute;
}

@media (max-width: 991.98px) {
    .admin-sidebar {
        min-height: auto;
    }

    .navbar {
        min-height: 76px;
    }

    .navbar .nav-link {
        white-space: normal;
    }

    .public-hero {
        min-height: 64vh;
        padding: 5rem 0 4rem;
    }

    .section-band {
        padding: 3.4rem 0;
    }

    .page-hero {
        padding: 4.4rem 0;
    }

    .hero-panel h1,
    .page-hero h1 {
        font-size: clamp(2.05rem, 11vw, 3.15rem);
        line-height: 1.08;
    }

    .public-hero .lead,
    .page-hero .lead {
        font-size: 1.02rem;
    }

    .brand-logo {
        height: 54px;
        width: 54px;
    }

    .navbar-brand {
        max-width: calc(100vw - 86px);
    }

    .stat-strip {
        margin-top: 0;
    }

    .service-deck {
        grid-template-columns: 1fr;
    }

    .service-tile {
        align-items: flex-start;
    }

    .course-hero-facts,
    .detail-list {
        grid-template-columns: 1fr;
    }

    .course-cta-band {
        align-items: stretch;
        flex-direction: column;
    }

    .stat-value {
        font-size: 1.55rem;
    }

    .metric-pill {
        align-items: flex-start;
    }

    .course-card-body,
    .category-tile,
    .feature-card,
    .centre-card,
    .admin-card,
    .notice-card,
    .resource-card {
        padding: 1.15rem !important;
    }

    .verification-preview-body {
        padding: 1rem;
    }

    .image-stack {
        grid-template-columns: 1fr;
    }

    .image-stack img {
        min-height: 190px;
    }

    .image-stack img:first-child {
        min-height: 240px;
    }

    .contact-photo-panel {
        min-height: 260px;
    }

    .gallery-grid {
        grid-auto-rows: 180px;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .video-gallery-grid {
        grid-template-columns: 1fr;
    }

    .home-news-board {
        grid-template-columns: 1fr;
    }

    .home-news-column + .home-news-column {
        border-left: 0;
        border-top: 1px solid var(--ccpf-line);
    }
}

@media (max-width: 575.98px) {
    body {
        padding-bottom: 74px;
    }

    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .site-topbar .container {
        gap: .15rem !important;
    }

    .brand-logo {
        height: 50px;
        width: 50px;
    }

    .hero-kicker {
        align-items: flex-start;
        border-radius: 8px;
        flex-direction: column;
    }

    .hero-actions {
        display: grid !important;
        grid-template-columns: 1fr;
        width: 100%;
    }

    .hero-actions .btn,
    .page-hero .btn,
    .section-band .btn {
        min-width: 0;
        width: 100%;
    }

    .course-hero-actions {
        display: grid !important;
        gap: .65rem !important;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .course-hero-actions .btn {
        font-size: .95rem;
        padding-left: .5rem;
        padding-right: .5rem;
        width: auto;
    }

    .public-hero {
        min-height: auto;
        padding: 4.25rem 0 3.5rem;
    }

    .page-hero {
        min-height: 0;
        padding: 3.4rem 0 4.8rem;
    }

    .page-hero h1 {
        font-size: clamp(1.9rem, 9vw, 2.45rem);
        line-height: 1.08;
    }

    .public-hero .lead {
        margin-bottom: 1.25rem !important;
    }

    .hero-proof {
        display: grid !important;
        gap: 1rem !important;
    }

    .btn-lg {
        font-size: 1rem;
        padding: .72rem 1rem;
    }

    .display-4,
    .display-5,
    .display-6,
    .h1 {
        word-break: normal;
        overflow-wrap: anywhere;
    }

    .footer-premium .brand-logo {
        flex: 0 0 auto;
    }

    .site-topbar {
        font-size: .8rem;
    }

    .section-band > .container > .row,
    .page-hero > .container > .row,
    .footer-premium > .container > .row,
    .stat-strip > .container > .row {
        --bs-gutter-x: 0;
    }

    .navbar {
        position: sticky;
        top: 0;
        z-index: 1025;
    }

    .navbar-collapse {
        border-top: 1px solid var(--ccpf-line);
        margin-top: .75rem;
        padding-top: .75rem;
    }

    .navbar .nav-link.active::after {
        left: 0;
        right: auto;
        width: 38px;
    }

    .quick-action-rail {
        background: rgb(255 255 255 / 96%);
        border: 1px solid var(--ccpf-line);
        border-radius: 8px;
        bottom: .75rem;
        box-shadow: 0 14px 32px rgb(23 32 51 / 16%);
        gap: .25rem;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        left: .85rem;
        padding: .28rem;
        right: .85rem;
    }

    .quick-action-rail a {
        background: transparent;
        border: 0;
        box-shadow: none;
        font-size: .76rem;
        min-width: 0;
        padding: .55rem .25rem;
    }

    .quick-action-rail a:hover {
        border-radius: 6px;
    }

    .service-deck-section {
        padding-top: 1.25rem;
    }

    .service-tile {
        padding: 1rem;
    }

    .service-icon {
        flex-basis: 42px;
        height: 42px;
        width: 42px;
    }

    .resource-card {
        align-items: stretch;
        flex-direction: column;
    }

    .resource-card .btn {
        width: 100%;
    }

    .notice-date {
        align-items: baseline;
        display: flex;
        flex-basis: auto;
        gap: .35rem;
        justify-content: center;
        width: 100%;
    }

    .course-card-body .d-flex.justify-content-between {
        align-items: flex-start !important;
        flex-direction: column;
    }

    .course-card-fee,
    .fee-row {
        align-items: flex-start;
        flex-direction: column;
        gap: .25rem;
    }

    .course-hero-facts {
        gap: .55rem;
    }

    .course-hero-facts div {
        padding: .68rem .8rem;
    }

    .course-hero-facts strong {
        font-size: .95rem;
    }

    .course-detail-section {
        margin-top: 1.5rem;
        padding-top: 1.5rem;
    }

    .metric-pill {
        gap: .65rem;
    }

    .metric-pill span {
        height: 36px;
        width: 36px;
        flex-basis: 36px;
    }

    .image-stack img:nth-child(n+2) {
        display: none;
    }

    .contact-photo-caption {
        padding: 1rem;
    }

    .gallery-tabs {
        display: flex;
        width: 100%;
    }

    .gallery-tabs .nav-item,
    .gallery-tabs .nav-link {
        flex: 1;
        text-align: center;
    }

    .gallery-grid {
        grid-auto-rows: 210px;
        grid-template-columns: 1fr;
    }

    .gallery-tile-large {
        grid-column: auto;
        grid-row: auto;
    }

    .gallery-tile-caption {
        padding: 2.25rem .9rem .9rem;
    }

    .footer-premium {
        padding-bottom: 6.5rem;
    }
}
