/* VCCE-specific footer background */
.pcl-portal-footer {
    background-image: url('/local/pcl_portals/pix/vcce/rbl-footer.png');
    background-repeat: no-repeat;
    background-position: center bottom;
    background-size: 100%;
    object-fit: contain !important;
    min-height: 37vw;
}

.pcl-portal-header-logo-img{
    max-height: 150px;
}

.path-local-pcl-portals.pcl-vcce-route {
    --vcce-bg: #d9ecf2;
    --vcce-bg-deep: #b8d3de;
    --vcce-surface: #ffffff;
    --vcce-ink: #18303d;
    --vcce-muted: #4d6270;
    --vcce-accent: #0f7080;
    --vcce-accent-strong: #0c5662;
    --vcce-outline: rgba(24, 48, 61, 0.12);
    background: linear-gradient(180deg, var(--vcce-bg) 0%, var(--vcce-bg-deep) 100%);
    background-attachment: fixed;
    font-family: "Nunito", "Helvetica Neue", Arial, sans-serif;
}

.path-local-pcl-portals.pcl-vcce-route #page-header,
.path-local-pcl-portals.pcl-vcce-route footer#page-footer {
    background: transparent;
}

.path-local-pcl-portals.pcl-vcce-route #region-main,
.path-local-pcl-portals.pcl-vcce-route #page-content,
.path-local-pcl-portals.pcl-vcce-route #region-main-box {
    background: transparent;
    padding: 0;
}

.path-local-pcl-portals.pcl-vcce-route .pcl-portal-header {
    display: none;
}

.path-local-pcl-portals.pcl-vcce-route .pcl-vcce-page--scoreboard {
    margin-top: 0.75rem;
    background: linear-gradient(180deg, #8f67b6 0%, #c0a0d5 58%, #b8d3de 100%);
}

.path-local-pcl-portals.pcl-vcce-route .pcl-vcce-page--bridge {
    width: min(1000px, 100%);
    margin: 0.65rem auto 1.1rem;
    padding: 0.35rem;
    display: grid;
    gap: 0.45rem;
}

.path-local-pcl-portals.pcl-vcce-route .pcl-vcce-scoreboard-hero {
    min-height: 170px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, #8d67b8 0%, #c3a4d7 100%);
    border-radius: 0.15rem;
    box-shadow: 0 4px 12px rgba(17, 39, 56, 0.06);
    border: 1px solid var(--vcce-outline);
    padding: 0.85rem 1rem;
}

.path-local-pcl-portals.pcl-vcce-route .pcl-vcce-scoreboard-hero img {
    display: block;
    width: min(250px, 100%);
    max-width: 100%;
    max-height: 120px;
    height: auto;
    object-fit: contain;
}

.path-local-pcl-portals.pcl-vcce-route .pcl-vcce-scoreboard-card {
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid var(--vcce-outline);
    border-radius: 0.15rem;
    box-shadow: 0 4px 12px rgba(17, 39, 56, 0.06);
    padding: 1rem;
    margin-top: 0.35rem;
}

.path-local-pcl-portals.pcl-vcce-route .pcl-vcce-banner-panel,
.path-local-pcl-portals.pcl-vcce-route .pcl-vcce-footer-panel {
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid var(--vcce-outline);
    border-radius: 0.15rem;
    padding: 0.8rem 1rem;
    box-shadow: 0 4px 12px rgba(17, 39, 56, 0.06);
}

.path-local-pcl-portals.pcl-vcce-route .pcl-vcce-banner-panel {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 116px;
}

.path-local-pcl-portals.pcl-vcce-route .pcl-vcce-banner-panel img {
    display: block;
    width: min(205px, 100%);
    max-width: 100%;
    height: auto;
}

.path-local-pcl-portals.pcl-vcce-route .pcl-vcce-footer-panel img {
    display: block;
    width: 100%;
    height: auto;
}

.path-local-pcl-portals.pcl-vcce-route .pcl-vcce-scoreboard-table-wrap {
    max-height: 250px;
    overflow-y: auto;
    overflow-x: hidden;
}

.path-local-pcl-portals.pcl-vcce-route #VCCEsb {
    margin-bottom: 0;
}

.path-local-pcl-portals.pcl-vcce-route .pcl-vcce-footer-panel {
    padding: 0.55rem 0.8rem;
}

.path-local-pcl-portals.pcl-vcce-route .accordion.vcce,
.path-local-pcl-portals.pcl-vcce-route .accordion.social {
    border-radius: 1rem;
    background: linear-gradient(180deg, #ffffff 0%, #faf7fc 100%);
    box-shadow: 0 6px 22px rgba(18, 96, 129, 0.10);
    margin-bottom: 1rem;
    overflow: visible;
    height: auto;
}

.path-local-pcl-portals.pcl-vcce-route .accordion.vcce > h3,
.path-local-pcl-portals.pcl-vcce-route .accordion.social > h3 {
    display: block;
    padding: 0.45rem 1.25rem;
    line-height: 1.25;
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: 0.2px;
    color: #fff !important;
    border-radius: 999px;
    background: linear-gradient(90deg, #178FBF 0%, #5d45a8 55%, #75308B 100%);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.10);
    margin: 0.5rem 0.9rem 0.75rem;
    text-align: center;
}

.path-local-pcl-portals.pcl-vcce-route .accordion.vcce .card,
.path-local-pcl-portals.pcl-vcce-route .accordion.social .card {
    border: 0;
    border-radius: 0.9rem;
    background: transparent;
    overflow: hidden;
}

.path-local-pcl-portals.pcl-vcce-route .accordion.vcce .card + .card,
.path-local-pcl-portals.pcl-vcce-route .accordion.social .card + .card {
    margin-top: 0.5rem;
}

.path-local-pcl-portals.pcl-vcce-route .accordion.vcce .card-header,
.path-local-pcl-portals.pcl-vcce-route .accordion.social .card-header {
    border: 0;
    padding: 0;
    background: linear-gradient(135deg, color-mix(in srgb, var(--dp) 86%, #fff 14%) 0%, color-mix(in srgb, var(--db) 78%, #fff 22%) 100%);
    position: relative;
    overflow: hidden;
}

.path-local-pcl-portals.pcl-vcce-route .accordion.vcce .card-header::after,
.path-local-pcl-portals.pcl-vcce-route .accordion.social .card-header::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, color-mix(in srgb, #fff 18%, transparent), transparent 30% 70%, color-mix(in srgb, #fff 10%, transparent));
    mix-blend-mode: soft-light;
    pointer-events: none;
}

.path-local-pcl-portals.pcl-vcce-route .accordion.vcce .card-header h2,
.path-local-pcl-portals.pcl-vcce-route .accordion.social .card-header h2 {
    margin: 0;
}

.path-local-pcl-portals.pcl-vcce-route .accordion.vcce .card-header .btn.btn-link,
.path-local-pcl-portals.pcl-vcce-route .accordion.social .card-header .btn.btn-link {
    display: block;
    width: 100%;
    text-align: left;
    color: #fff;
    padding: 1.05rem 3rem 1.05rem 1.1rem;
    font-size: 1.125rem;
    border-radius: 0;
    position: relative;
}

.path-local-pcl-portals.pcl-vcce-route .accordion.vcce .card-header .btn .fa,
.path-local-pcl-portals.pcl-vcce-route .accordion.social .card-header .btn .fa {
    margin-right: 0.6rem;
    transition: transform 0.2s ease;
}

.path-local-pcl-portals.pcl-vcce-route .accordion.vcce .card-header .btn[aria-expanded="true"] .fa.fa-chevron-down,
.path-local-pcl-portals.pcl-vcce-route .accordion.social .card-header .btn[aria-expanded="true"] .fa.fa-chevron-down {
    transform: rotate(180deg);
}

.path-local-pcl-portals.pcl-vcce-route .accordion.vcce .card-header .btn .fa,
.path-local-pcl-portals.pcl-vcce-route .accordion.social .card-header .btn .fa {
    color: #fff;
}

.path-local-pcl-portals.pcl-vcce-route .accordion.vcce .card-body,
.path-local-pcl-portals.pcl-vcce-route .accordion.social .card-body {
    background: linear-gradient(180deg, #fff 0%, color-mix(in srgb, var(--lp) 6%, #fff 94%) 100%);
    padding: 0.9rem 1rem 1rem;
}

.path-local-pcl-portals.pcl-vcce-route .accordion.vcce .card-body .card-body,
.path-local-pcl-portals.pcl-vcce-route .accordion.social .card-body .card-body {
    background: #fff;
}

.path-local-pcl-portals.pcl-vcce-route .accordion.vcce .card-body .card,
.path-local-pcl-portals.pcl-vcce-route .accordion.social .card-body .card {
    background: transparent;
}

.path-local-pcl-portals.pcl-vcce-route .accordion.vcce .card-img-top,
.path-local-pcl-portals.pcl-vcce-route .accordion.social .card-img-top {
    border-radius: 0.75rem;
    height: 200px;
    object-fit: cover;
}

.path-local-pcl-portals.pcl-vcce-route .pcl-vcce-shellbar {
    height: 28px;
    line-height: 28px;
    border-radius: 999px;
    background: linear-gradient(90deg, #178FBF 0%, #75308B 100%);
    color: #fff;
    font-weight: 800;
    text-align: center;
    letter-spacing: 0.03em;
}

.path-local-pcl-portals.pcl-vcce-route .pcl-vcce-shellbar--secondary {
    margin-top: 0.75rem;
}

.path-local-pcl-portals.pcl-vcce-route .pcl-vcce-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.35rem;
    margin-bottom: 0.55rem;
}

.path-local-pcl-portals.pcl-vcce-route .pcl-vcce-nav-link {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    border-radius: 999px;
    border: 1px solid rgba(15, 112, 128, 0.25);
    background: rgba(255, 255, 255, 0.88);
    color: var(--vcce-accent-strong);
    font-weight: 700;
    padding: 0.35rem 0.85rem;
    text-decoration: none;
}

.path-local-pcl-portals.pcl-vcce-route .pcl-vcce-nav-link:hover,
.path-local-pcl-portals.pcl-vcce-route .pcl-vcce-nav-link:focus {
    text-decoration: none;
    color: var(--vcce-accent-strong);
    background: rgba(244, 181, 63, 0.16);
}

.path-local-pcl-portals.pcl-vcce-route .pcl-vcce-nav-link.is-current {
    background: linear-gradient(120deg, var(--vcce-accent) 0%, #10a0ae 100%);
    color: #ffffff;
    border-color: transparent;
}

.path-local-pcl-portals.pcl-vcce-route .pcl-vcce-nav-link:focus-visible {
    outline: 3px solid #f4b53f;
    outline-offset: 2px;
}

.path-local-pcl-portals.pcl-vcce-route .pcl-vcce-hero,
.path-local-pcl-portals.pcl-vcce-route .pcl-vcce-card,
.path-local-pcl-portals.pcl-vcce-route .pcl-vcce-callout,
.path-local-pcl-portals.pcl-vcce-route .pcl-vcce-filter-card,
.path-local-pcl-portals.pcl-vcce-route .pcl-vcce-grand-prize,
.path-local-pcl-portals.pcl-vcce-route .pcl-vcce-course-list {
    border-radius: 1rem;
    border: 1px solid var(--vcce-outline);
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 8px 20px rgba(17, 39, 56, 0.08);
    padding: 0.85rem 1rem;
}

.path-local-pcl-portals.pcl-vcce-route .pcl-vcce-card {
    display: grid;
    grid-template-columns: minmax(200px, 250px) minmax(0, 1fr);
    gap: 0.7rem;
    align-items: center;
}

.path-local-pcl-portals.pcl-vcce-route .pcl-vcce-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(220px, 320px);
    gap: 0.8rem;
    align-items: center;
}

.path-local-pcl-portals.pcl-vcce-route .pcl-vcce-landing-strip {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0.1rem 0 0.4rem;
}

.path-local-pcl-portals.pcl-vcce-route .pcl-vcce-landing-strip img {
    display: block;
    width: min(300px, 100%);
    max-width: 100%;
    height: auto;
}

.path-local-pcl-portals.pcl-vcce-route .pcl-vcce-eyebrow {
    margin: 0 0 0.35rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 0.72rem;
    font-weight: 800;
    color: var(--vcce-accent-strong);
}

.path-local-pcl-portals.pcl-vcce-route .pcl-vcce-hero h1,
.path-local-pcl-portals.pcl-vcce-route .pcl-vcce-hero h2,
.path-local-pcl-portals.pcl-vcce-route .pcl-vcce-card h2,
.path-local-pcl-portals.pcl-vcce-route .pcl-vcce-card h3,
.path-local-pcl-portals.pcl-vcce-route .pcl-vcce-grand-prize h2,
.path-local-pcl-portals.pcl-vcce-route .pcl-vcce-course-list h2 {
    margin: 0 0 0.35rem;
    color: var(--vcce-ink);
    font-family: "Merriweather", "Georgia", "Times New Roman", serif;
    line-height: 1.2;
}

.path-local-pcl-portals.pcl-vcce-route .pcl-vcce-lead,
.path-local-pcl-portals.pcl-vcce-route .pcl-vcce-card p,
.path-local-pcl-portals.pcl-vcce-route .pcl-vcce-course-list p {
    margin: 0;
    color: var(--vcce-muted);
    line-height: 1.5;
}

.path-local-pcl-portals.pcl-vcce-route .pcl-vcce-callout,
.path-local-pcl-portals.pcl-vcce-route .pcl-vcce-filter-card {
    display: grid;
    gap: 0.75rem;
}

.path-local-pcl-portals.pcl-vcce-route .pcl-vcce-callout__actions,
.path-local-pcl-portals.pcl-vcce-route .pcl-vcce-card__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}

.path-local-pcl-portals.pcl-vcce-route .pcl-vcce-grid,
.path-local-pcl-portals.pcl-vcce-route .pcl-vcce-course-list__grid {
    display: grid;
    gap: 0.55rem;
}

.path-local-pcl-portals.pcl-vcce-route .pcl-vcce-topics-accordion {
    display: grid;
    gap: 0.55rem;
    margin-top: 0.4rem;
}

.path-local-pcl-portals.pcl-vcce-route .pcl-vcce-topic-group {
    display: grid;
    gap: 0.35rem;
}

.path-local-pcl-portals.pcl-vcce-route .pcl-vcce-topic-group__heading {
    margin: 0;
}

.path-local-pcl-portals.pcl-vcce-route .pcl-vcce-topic-group__toggle {
    width: 100%;
    border: 0;
    border-radius: 0.9rem;
    background: linear-gradient(90deg, #7b2d8f 0%, #7b2d8f 70%, #7d3f8a 100%);
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 800;
    padding: 0.65rem 1rem;
    text-align: left;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.path-local-pcl-portals.pcl-vcce-route .pcl-vcce-topic-group__toggle:hover,
.path-local-pcl-portals.pcl-vcce-route .pcl-vcce-topic-group__toggle:focus {
    background: linear-gradient(90deg, #7b2d8f 0%, #7b2d8f 70%, #7d3f8a 100%);
    color: #ffffff;
}

.path-local-pcl-portals.pcl-vcce-route .pcl-vcce-topic-group__toggle .fa {
    transition: transform 0.2s ease;
}

.path-local-pcl-portals.pcl-vcce-route .pcl-vcce-topic-group__toggle[aria-expanded="true"] .fa {
    transform: rotate(180deg);
}

.path-local-pcl-portals.pcl-vcce-route .pcl-vcce-topic-group .collapse:not(.show) {
    display: none;
}

.path-local-pcl-portals.pcl-vcce-route .pcl-vcce-topic-group .collapse.show {
    display: block;
}

.path-local-pcl-portals.pcl-vcce-route .pcl-vcce-topic-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 1rem;
    padding: 0.5rem 0.5rem 1rem;
}

.path-local-pcl-portals.pcl-vcce-route .pcl-vcce-topic-card {
    position: relative;
    display: grid;
    gap: 0.65rem;
    border: 1px solid var(--vcce-outline);
    border-radius: 0;
    background: #ffffff;
    box-shadow: 0 8px 20px rgba(17, 39, 56, 0.08);
    padding: 0.9rem;
}

.path-local-pcl-portals.pcl-vcce-route .pcl-vcce-topic-card h3 {
    margin: 0;
    color: var(--vcce-ink);
    font-size: 1.05rem;
    font-family: "Merriweather", "Georgia", "Times New Roman", serif;
}

.path-local-pcl-portals.pcl-vcce-route .pcl-vcce-topic-card img {
    display: block;
    width: 200px;
    height: 200px;
    object-fit: cover;
    object-position: center;
    margin: 0 auto;
}

.path-local-pcl-portals.pcl-vcce-route .pcl-vcce-topic-card p {
    margin: 0;
    color: var(--vcce-muted);
    line-height: 1.45;
}

.path-local-pcl-portals.pcl-vcce-route .pcl-vcce-card--video {
    grid-template-columns: minmax(170px, 220px) minmax(0, 1fr);
    align-items: center;
}

.path-local-pcl-portals.pcl-vcce-route .pcl-vcce-card--video img {
    border-radius: 0.85rem;
}

.path-local-pcl-portals.pcl-vcce-route .pcl-vcce-card img {
    /* Keep the image column narrow so the card reads like the production layout. */
    vertical-align: middle;
    border-style: none;
    width: 200px;
    height: auto;
    justify-self: center;
}

.path-local-pcl-portals.pcl-vcce-route .pcl-vcce-grand-prize {
    display: grid;
    grid-template-columns: minmax(220px, 320px) minmax(0, 1fr);
    gap: 1rem;
    align-items: center;
}

.path-local-pcl-portals.pcl-vcce-route .pcl-vcce-grand-prize__media img {
    display: block;
    width: 100%;
    border-radius: 0.85rem;
}

.path-local-pcl-portals.pcl-vcce-route .pcl-vcce-topic-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.path-local-pcl-portals.pcl-vcce-route .pcl-vcce-topic-chip,
.path-local-pcl-portals.pcl-vcce-route .pcl-vcce-form-chip,
.path-local-pcl-portals.pcl-vcce-route .pcl-vcce-course-link {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    border-radius: 999px;
    border: 1px solid rgba(15, 112, 128, 0.2);
    background: rgba(255, 255, 255, 0.95);
    color: var(--vcce-accent-strong);
    padding: 0.35rem 0.75rem;
    text-decoration: none;
    font-weight: 700;
}

.path-local-pcl-portals.pcl-vcce-route .pcl-vcce-form {
    display: grid;
    gap: 0.7rem;
}

.path-local-pcl-portals.pcl-vcce-route .pcl-vcce-form label {
    display: grid;
    gap: 0.25rem;
}

.path-local-pcl-portals.pcl-vcce-route .pcl-vcce-form input,
.path-local-pcl-portals.pcl-vcce-route .pcl-vcce-form textarea {
    width: 100%;
    border-radius: 0.75rem;
    border: 1px solid rgba(24, 48, 61, 0.16);
    padding: 0.7rem 0.8rem;
    background: rgba(255, 255, 255, 0.96);
}

.path-local-pcl-portals.pcl-vcce-route .pcl-vcce-rightstart-carousel-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 3rem;
    height: 3rem;
    border: 1px solid rgba(255, 255, 255, 0.75);
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(31, 111, 208, 0.96), rgba(61, 168, 234, 0.92));
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.95rem;
    line-height: 1;
    padding: 0;
    box-shadow:
        0 16px 30px rgba(0, 77, 128, 0.22),
        0 2px 4px rgba(255, 255, 255, 0.22) inset;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

.path-local-pcl-portals.pcl-vcce-route .pcl-vcce-rightstart-carousel-control--prev {
    left: -0.25rem;
}

.path-local-pcl-portals.pcl-vcce-route .pcl-vcce-rightstart-carousel-control--next {
    right: -0.25rem;
}

.path-local-pcl-portals.pcl-vcce-route .pcl-vcce-rightstart-carousel-control:hover,
.path-local-pcl-portals.pcl-vcce-route .pcl-vcce-rightstart-carousel-control:focus {
    transform: translateY(-50%) scale(1.05);
    box-shadow:
        0 20px 36px rgba(0, 77, 128, 0.28),
        0 2px 4px rgba(255, 255, 255, 0.26) inset;
    filter: saturate(1.08);
}

.path-local-pcl-portals.pcl-vcce-route .pcl-vcce-rightstart-carousel-control:focus-visible {
    outline: 3px solid rgba(61, 168, 234, 0.4);
    outline-offset: 3px;
}

@media (max-width: 767.98px) {
    .path-local-pcl-portals.pcl-vcce-route .pcl-vcce-page--bridge {
        width: min(100%, 1000px);
        padding-left: 0.45rem;
        padding-right: 0.45rem;
    }

    .path-local-pcl-portals.pcl-vcce-route .pcl-vcce-hero,
    .path-local-pcl-portals.pcl-vcce-route .pcl-vcce-grand-prize,
    .path-local-pcl-portals.pcl-vcce-route .pcl-vcce-card--video {
        grid-template-columns: 1fr;
    }

    .path-local-pcl-portals.pcl-vcce-route .pcl-vcce-card {
        grid-template-columns: 1fr;
    }
}
