/*
 * Learning Management System information page
 *
 * This stylesheet is loaded conditionally by basic-page.php, only for
 * /learning-management-system/. It borrows the visual language of the course
 * offering page without changing the shared RockPageBuilder block templates.
 */

.tpl-basic-page main {
    --lms-accent: #d47f43;
    --lms-accent-dark: #9b4f22;
    --lms-accent-soft: #fff3ea;
    --lms-ink: #203c33;
    --lms-muted: #5d6c66;
    --lms-line: #d9e1dc;
    --lms-panel: #f3f6f1;
    --lms-radius: 18px;
    display: flex;
    flex-direction: column;
    padding: 0 0 64px;
    overflow: hidden;
    background: #fff;
    color: var(--lms-ink);
}

.tpl-basic-page main,
.tpl-basic-page main * {
    box-sizing: border-box;
    -webkit-hyphens: none !important;
    hyphens: none !important;
    word-break: normal !important;
    overflow-wrap: normal !important;
}

.tpl-basic-page main > section {
    width: 100%;
}

.tpl-basic-page main .rpb-hero,
.tpl-basic-page main .rpb-text,
.tpl-basic-page main .rpb-features,
.tpl-basic-page main .rpb-calltoaction {
    position: relative;
    isolation: isolate;
}

.tpl-basic-page main .rpb-hero::before,
.tpl-basic-page main .rpb-text::before,
.tpl-basic-page main .rpb-features::before,
.tpl-basic-page main .rpb-calltoaction::before {
    content: "";
    position: absolute;
    z-index: -1;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 100vw;
    transform: translateX(-50%);
    background: var(--lms-band-background, transparent);
    pointer-events: none;
}

.tpl-basic-page main .uk-text-primary {
    color: var(--lms-accent-dark) !important;
}

.tpl-basic-page main .rpb-hero {
    max-width: var(--lms-section-max-width, 1440px);
    margin: 0 auto;
    padding: var(--lms-space-top, 0) var(--lms-hero-outer-padding, 24px) var(--lms-space-bottom, 16px);
}

.tpl-basic-page main .rpb-hero > .uk-container {
    position: relative;
    width: 100%;
    max-width: var(--lms-hero-inner-max-width, 1392px);
    min-height: clamp(420px, 43vw, 560px);
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: var(--lms-panel-padding, 0) !important;
    border: var(--lms-panel-border, var(--lms-hero-edge-border, 1px solid rgba(155, 79, 34, .28)));
    border-radius: var(--lms-panel-radius, var(--lms-hero-edge-radius, 0 0 22px 22px));
    background-color: var(--lms-panel-background, #dfe3e7);
    box-shadow: var(--lms-panel-shadow, 0 16px 44px rgba(29, 36, 51, .09));
}

.tpl-basic-page main .rpb-hero > .uk-container::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(10, 17, 29, .68) 0%, rgba(10, 17, 29, .5) 48%, rgba(10, 17, 29, .08) 100%);
    pointer-events: none;
}

.tpl-basic-page main .rpb-hero > .uk-container > div {
    position: relative;
    z-index: 1;
    width: min(1600px, calc(100% - 64px));
    margin: 0 auto;
    padding: 56px 0 !important;
}

.tpl-basic-page main .rpb-hero .white {
    width: min(760px, 68%) !important;
    padding: 0 !important;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #fff;
    box-shadow: none;
    backdrop-filter: none;
}

.tpl-basic-page main .rpb-hero .uk-text-bold,
.tpl-basic-page main .rpb-text > .uk-container > h3,
.tpl-basic-page main .rpb-features > .uk-container > h3,
.tpl-basic-page main .rpb-calltoaction .left > h3 {
    margin: 0 0 9px;
    color: var(--lms-accent-dark) !important;
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .14em;
    line-height: 1.4;
    text-transform: uppercase;
}

.tpl-basic-page main .rpb-hero h1 {
    max-width: none;
    margin: 0 0 22px;
    color: #fff;
    font-size: clamp(2.35rem, 4.4vw, 4.8rem);
    font-weight: 600;
    letter-spacing: -.035em;
    line-height: 1.02;
    text-shadow: 0 2px 20px rgba(0, 0, 0, .28);
}

.tpl-basic-page main .rpb-hero .rpb-nomargin:last-child {
    max-width: 700px;
    color: rgba(255, 255, 255, .96);
    font-size: clamp(1.05rem, 1.5vw, 1.35rem);
    line-height: 1.55;
    text-shadow: 0 2px 16px rgba(0, 0, 0, .24);
}

.tpl-basic-page main .rpb-hero .uk-text-primary {
    color: #f4b282 !important;
    text-shadow: 0 2px 14px rgba(0, 0, 0, .24);
}

.tpl-basic-page main .rpb-hero p,
.tpl-basic-page main .rpb-text p,
.tpl-basic-page main .rpb-features p,
.tpl-basic-page main .rpb-calltoaction p {
    margin-top: 0;
}

.tpl-basic-page main .rpb-text,
.tpl-basic-page main .rpb-features,
.tpl-basic-page main .rpb-calltoaction {
    max-width: var(--lms-section-max-width, 1440px);
    margin: 0 auto;
    padding: var(--lms-space-top, 16px) 24px var(--lms-space-bottom, 16px);
}

.tpl-basic-page main .rpb-text > .uk-container,
.tpl-basic-page main .rpb-features > .uk-container,
.tpl-basic-page main .rpb-calltoaction > .uk-container {
    width: 100%;
    max-width: 1392px !important;
    margin: 0 auto;
    padding: var(--lms-panel-padding, clamp(28px, 4vw, 48px)) !important;
    border: var(--lms-panel-border, 1px solid rgba(212, 127, 67, .34));
    border-radius: var(--lms-panel-radius, var(--lms-radius));
    background: var(--lms-panel-background, #fff);
    box-shadow: var(--lms-panel-shadow, 0 10px 28px rgba(30, 43, 67, .05));
}

.tpl-basic-page main .rpb-text > .uk-container.uk-background-muted,
.tpl-basic-page main .rpb-features > .uk-container.uk-background-muted,
.tpl-basic-page main .rpb-calltoaction > .uk-container.uk-background-muted {
    background: var(--lms-panel-background, var(--lms-panel)) !important;
}

.tpl-basic-page main .rpb-text > .uk-container > h3,
.tpl-basic-page main .rpb-features > .uk-container > h3,
.tpl-basic-page main .rpb-calltoaction .left > h3 {
    text-align: var(--lms-heading-align, left) !important;
}

.tpl-basic-page main .rpb-text > .uk-container > h2,
.tpl-basic-page main .rpb-features > .uk-container > h2,
.tpl-basic-page main .rpb-calltoaction h2 {
    max-width: none;
    margin: 0 0 24px !important;
    color: var(--lms-ink);
    font-size: clamp(1.75rem, 3vw, 2.45rem);
    font-weight: 600;
    letter-spacing: -.025em;
    line-height: 1.16;
    text-align: var(--lms-heading-align, left) !important;
}

.tpl-basic-page main .rpb-text .text,
.tpl-basic-page main .rpb-calltoaction .text {
    width: 100%;
    max-width: none;
    color: var(--lms-muted);
    font-size: 1rem;
    line-height: 1.72;
}

.tpl-basic-page main .rpb-text .text p {
    margin-bottom: 16px;
}

.tpl-basic-page main .rpb-text .text > :last-child,
.tpl-basic-page main .rpb-features .body > :last-child,
.tpl-basic-page main .rpb-calltoaction .text > :last-child {
    margin-bottom: 0;
}

.tpl-basic-page main .rpb-text .text strong {
    color: var(--lms-ink);
}

/* Feature cards --------------------------------------------------------- */
.tpl-basic-page main .rpb-features > .uk-container {
    background: var(--lms-panel) !important;
}

.tpl-basic-page main .rpb-features .items {
    display: grid !important;
    grid-template-columns: repeat(var(--lms-layout-columns, 3), minmax(0, 1fr));
    gap: 14px;
    align-items: stretch;
}

.tpl-basic-page main .rpb-features .item {
    position: relative;
    width: auto !important;
    max-width: none !important;
    min-width: 0;
    padding: 22px 22px 22px 68px;
    border: 1px solid var(--lms-line);
    border-radius: 14px;
    background: rgba(255, 255, 255, .92);
    box-shadow: 0 7px 20px rgba(30, 43, 67, .04);
}

.tpl-basic-page main .rpb-features .item::before {
    content: "01";
    position: absolute;
    top: 21px;
    left: 20px;
    display: inline-flex;
    width: 34px;
    height: 34px;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: var(--lms-accent-soft);
    color: var(--lms-accent-dark);
    font-size: .69rem;
    font-weight: 850;
    letter-spacing: .04em;
}

.tpl-basic-page main .rpb-features .item:nth-child(2)::before { content: "02"; }
.tpl-basic-page main .rpb-features .item:nth-child(3)::before { content: "03"; }
.tpl-basic-page main .rpb-features .item:nth-child(4)::before { content: "04"; }
.tpl-basic-page main .rpb-features .item:nth-child(5)::before { content: "05"; }
.tpl-basic-page main .rpb-features .item:nth-child(6)::before { content: "06"; }

.tpl-basic-page main .rpb-features .item h3 {
    margin: 0 0 8px !important;
    color: var(--lms-ink) !important;
    font-size: 1rem;
    font-weight: 750;
    line-height: 1.35;
}

.tpl-basic-page main .rpb-features .body {
    color: var(--lms-muted);
    font-size: .86rem;
    line-height: 1.58;
}

/* Benefits checklist ---------------------------------------------------- */
.tpl-basic-page main .rpb-text .text > ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 14px;
    margin: 0 0 22px;
    padding: 0;
    list-style: none;
}

.tpl-basic-page main .rpb-text .text > ul > li {
    position: relative;
    min-width: 0;
    margin: 0;
    padding: 15px 16px 15px 46px;
    border: 1px solid var(--lms-line);
    border-radius: 12px;
    background: #fff;
    color: var(--lms-muted);
    font-size: .9rem;
    line-height: 1.52;
}

.tpl-basic-page main .rpb-text .text > ul > li::before {
    content: "\2713";
    position: absolute;
    top: 14px;
    left: 15px;
    display: inline-flex;
    width: 22px;
    height: 22px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--lms-accent-soft);
    color: var(--lms-accent-dark);
    font-size: .75rem;
    font-weight: 900;
}

/* Learning journey ------------------------------------------------------ */
.tpl-basic-page main .lms-editorial-grid {
    display: grid;
    grid-template-columns: repeat(var(--lms-layout-columns, 2), minmax(0, 1fr));
    gap: 14px;
    margin: 0 0 22px;
}

.tpl-basic-page main .lms-editorial-card {
    min-width: 0;
    padding: 22px 24px;
    border: 1px solid var(--lms-line);
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 7px 20px rgba(30, 43, 67, .035);
}

.tpl-basic-page main .lms-editorial-card h3 {
    margin: 0 0 9px;
    color: var(--lms-ink);
    font-size: 1.02rem;
    font-weight: 750;
    line-height: 1.35;
}

.tpl-basic-page main .lms-editorial-card p {
    margin: 0;
    color: var(--lms-muted);
    font-size: .92rem;
    line-height: 1.62;
}

.tpl-basic-page main .lms-learning-grid {
    display: grid;
    grid-template-columns: repeat(var(--lms-layout-columns, 2), minmax(0, 1fr));
    gap: 14px;
    margin: 0 0 22px;
}

.tpl-basic-page main .lms-learning-card {
    position: relative;
    min-width: 0;
    padding: 24px;
    border: 1px solid var(--lms-line);
    border-radius: 14px;
    background: var(--lms-panel);
    box-shadow: 0 7px 20px rgba(30, 43, 67, .035);
}

.tpl-basic-page main .lms-learning-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 24px;
    width: 42px;
    height: 3px;
    border-radius: 0 0 3px 3px;
    background: var(--lms-accent);
}

.tpl-basic-page main .lms-learning-card h3 {
    margin: 5px 0 10px;
    color: var(--lms-ink);
    font-size: 1.05rem;
    font-weight: 750;
    line-height: 1.35;
}

.tpl-basic-page main .lms-learning-card p {
    margin: 0;
    color: var(--lms-muted);
    font-size: .92rem;
    line-height: 1.62;
}

.tpl-basic-page main .lms-comparison-note {
    display: block;
    width: 100%;
    margin: 4px 0 0 !important;
    padding: 11px 15px;
    border-left: 3px solid var(--lms-accent);
    border-radius: 0 8px 8px 0;
    background: var(--lms-accent-soft);
    color: var(--lms-ink);
}

.tpl-basic-page main .lms-journey-grid {
    display: grid;
    grid-template-columns: repeat(var(--lms-layout-columns, 3), minmax(0, 1fr));
    gap: 14px;
}

.tpl-basic-page main .lms-journey-card {
    position: relative;
    min-width: 0;
    padding: 22px;
    border: 1px solid var(--lms-line);
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 7px 20px rgba(30, 43, 67, .035);
}

.tpl-basic-page main .lms-journey-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 22px;
    width: 38px;
    height: 3px;
    border-radius: 0 0 3px 3px;
    background: var(--lms-accent);
}

.tpl-basic-page main .lms-journey-card h3 {
    margin: 6px 0 9px;
    color: var(--lms-ink);
    font-size: 1rem;
    font-weight: 750;
    line-height: 1.35;
}

.tpl-basic-page main .lms-journey-card p {
    margin: 0;
    color: var(--lms-muted);
    font-size: .86rem;
    line-height: 1.58;
}

/* Technical support ----------------------------------------------------- */
.tpl-basic-page main .lms-support-intro {
    max-width: none;
    margin-bottom: 24px !important;
    font-size: 1.02rem;
}

.tpl-basic-page main .lms-support-grid {
    display: grid;
    grid-template-columns: repeat(var(--lms-layout-columns, 3), minmax(0, 1fr));
    gap: 14px;
    margin: 0 0 22px;
}

.tpl-basic-page main .lms-support-grid--security {
    grid-template-columns: repeat(var(--lms-layout-columns, 2), minmax(0, 1fr));
}

.tpl-basic-page main .lms-support-grid--pathway {
    grid-template-columns: repeat(var(--lms-layout-columns, 2), minmax(0, 1fr));
}

.tpl-basic-page main .lms-support-card {
    position: relative;
    min-width: 0;
    padding: 56px 22px 22px;
    border: 1px solid var(--lms-line);
    border-radius: 14px;
    background: var(--lms-panel);
    box-shadow: 0 7px 20px rgba(30, 43, 67, .035);
}

.tpl-basic-page main .lms-support-card::before {
    content: "01";
    position: absolute;
    top: 17px;
    left: 21px;
    display: inline-flex;
    width: 32px;
    height: 27px;
    align-items: center;
    justify-content: center;
    border-radius: 9px;
    background: var(--lms-accent-soft);
    color: var(--lms-accent-dark);
    font-size: .68rem;
    font-weight: 850;
    letter-spacing: .04em;
}

.tpl-basic-page main .lms-support-card:nth-child(2)::before { content: "02"; }
.tpl-basic-page main .lms-support-card:nth-child(3)::before { content: "03"; }
.tpl-basic-page main .lms-support-card:nth-child(4)::before { content: "04"; }

.tpl-basic-page main .lms-support-card h3 {
    margin: 0 0 9px;
    color: var(--lms-ink);
    font-size: 1rem;
    font-weight: 750;
    line-height: 1.35;
}

.tpl-basic-page main .lms-support-card p {
    margin: 0;
    color: var(--lms-muted);
    font-size: .86rem;
    line-height: 1.58;
}

.tpl-basic-page main .lms-support-note {
    margin: 0 !important;
    padding: 16px 18px;
    border-left: 3px solid var(--lms-accent);
    border-radius: 0 10px 10px 0;
    background: #f8fafc;
    color: var(--lms-muted);
    font-size: .9rem;
    line-height: 1.58;
}

/* Closing action -------------------------------------------------------- */
.tpl-basic-page main .rpb-calltoaction > .uk-container {
    border-color: rgba(212, 127, 67, .46);
    background: linear-gradient(135deg, #fff9f5 0%, #fff1e7 100%) !important;
}

.tpl-basic-page main .rpb-calltoaction .cols {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 30px;
    align-items: center;
    padding: 0;
}

.tpl-basic-page main .rpb-calltoaction .right {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    justify-content: flex-end;
    padding: 0;
    text-align: right;
}

.tpl-basic-page main .rpb-calltoaction .right p {
    margin: 0;
}

.tpl-basic-page main .rpb-calltoaction .uk-button {
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 21px;
    border-radius: 10px;
    font-size: .79rem;
    font-weight: 800;
    letter-spacing: .025em;
}

.tpl-basic-page main .rpb-calltoaction .uk-button-primary {
    border-color: var(--lms-accent-dark);
    background: var(--lms-accent);
    color: #172033;
    box-shadow: 0 3px 0 var(--lms-accent-dark);
}

.tpl-basic-page main .rpb-calltoaction .uk-button-primary:hover,
.tpl-basic-page main .rpb-calltoaction .uk-button-primary:focus {
    border-color: var(--lms-accent-dark);
    background: var(--lms-accent-dark);
    color: #fff;
}

.tpl-basic-page main .rpb-calltoaction .uk-button-default {
    border-color: #cfd5df;
    background: #fff;
    color: var(--lms-ink);
}

@media (max-width: 980px) {
    .tpl-basic-page main .rpb-features .items,
    .tpl-basic-page main .lms-editorial-grid,
    .tpl-basic-page main .lms-learning-grid,
    .tpl-basic-page main .lms-journey-grid,
    .tpl-basic-page main .lms-support-grid {
        grid-template-columns: repeat(var(--lms-layout-tablet-columns, 2), minmax(0, 1fr));
    }

    .tpl-basic-page main .rpb-calltoaction .cols {
        grid-template-columns: 1fr;
    }

    .tpl-basic-page main .rpb-calltoaction .right {
        justify-content: flex-start;
        text-align: left;
    }
}

@media (max-width: 720px) {
    .tpl-basic-page main {
        padding-bottom: 38px;
    }

    .tpl-basic-page main .rpb-hero,
    .tpl-basic-page main .rpb-text,
    .tpl-basic-page main .rpb-features,
    .tpl-basic-page main .rpb-calltoaction {
        padding-right: 14px;
        padding-left: 14px;
    }

    .tpl-basic-page main .rpb-hero {
        padding-right: var(--lms-hero-mobile-padding, 14px);
        padding-left: var(--lms-hero-mobile-padding, 14px);
    }

    .tpl-basic-page main .rpb-hero > .uk-container {
        min-height: 520px;
        align-items: flex-end;
        padding: 0 !important;
        border-radius: var(--lms-panel-radius, var(--lms-hero-mobile-radius, 0 0 18px 18px));
        background-position: 62% center !important;
    }

    .tpl-basic-page main .rpb-hero > .uk-container::before {
        background: linear-gradient(180deg, rgba(20, 28, 42, .02) 20%, rgba(20, 28, 42, .55) 100%);
    }

    .tpl-basic-page main .rpb-hero > .uk-container > div {
        width: calc(100% - 40px);
        padding: 42px 0 !important;
    }

    .tpl-basic-page main .rpb-hero .white {
        width: 100% !important;
        padding: 0 !important;
    }

    .tpl-basic-page main .rpb-text > .uk-container,
    .tpl-basic-page main .rpb-features > .uk-container,
    .tpl-basic-page main .rpb-calltoaction > .uk-container {
        padding: 24px !important;
    }

    .tpl-basic-page main .rpb-features .items,
    .tpl-basic-page main .lms-editorial-grid,
    .tpl-basic-page main .lms-learning-grid,
    .tpl-basic-page main .lms-journey-grid,
    .tpl-basic-page main .lms-support-grid,
    .tpl-basic-page main .rpb-text .text > ul {
        grid-template-columns: 1fr;
    }
}

@media (min-width: 1200px) {
    .tpl-basic-page main .rpb-text > .uk-container > h2,
    .tpl-basic-page main .rpb-features > .uk-container > h2,
    .tpl-basic-page main .rpb-calltoaction h2 {
        white-space: normal;
    }
}

@media (max-width: 480px) {
    .tpl-basic-page main .rpb-hero h1 {
        font-size: 2.15rem;
    }

    .tpl-basic-page main .rpb-text > .uk-container,
    .tpl-basic-page main .rpb-features > .uk-container,
    .tpl-basic-page main .rpb-calltoaction > .uk-container {
        padding: 21px !important;
        border-radius: 15px;
    }

    .tpl-basic-page main .rpb-calltoaction .right {
        display: grid;
        grid-template-columns: 1fr;
        width: 100%;
    }

    .tpl-basic-page main .rpb-calltoaction .uk-button {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .tpl-basic-page main * {
        scroll-behavior: auto !important;
    }
}

/* Public-page refresh: retain the section variables used by the layout editor. */
.tpl-basic-page main .rpb-hero > .uk-container {
    min-height: clamp(440px, 40vw, 550px);
    border: var(--lms-panel-border, 0);
    border-radius: var(--lms-panel-radius, 0 0 16px 16px);
    box-shadow: var(--lms-panel-shadow, none);
}
.tpl-basic-page main .rpb-hero > .uk-container::before {
    background: linear-gradient(90deg, rgba(15,47,36,.96), rgba(15,47,36,.85) 42%, rgba(15,47,36,.1));
}
.tpl-basic-page main .rpb-hero .white { width: min(680px, 65%) !important; }
.tpl-basic-page main .rpb-hero h1 { font-size: clamp(2.5rem, 4.1vw, 3.9rem); line-height: 1.09; font-weight: 700; text-shadow: none; }
.tpl-basic-page main .rpb-hero .rpb-nomargin:last-child { font-size: 1.12rem; text-shadow: none; }
.tpl-basic-page main .lms-hero-actions { display: flex; gap: 28px; align-items: center; flex-wrap: wrap; margin-top: 28px; }
.tpl-basic-page main .lms-hero-actions .uk-button { background: #fff; color: #184e3d; border: 1px solid #fff; border-radius: 5px; text-transform: none; font-weight: 700; padding: 4px 22px; }
.tpl-basic-page main .lms-login-link { color: #fff; font-size: 1rem; font-weight: 700; }
.tpl-basic-page main a span[aria-hidden] { margin-left: 12px; }
.tpl-basic-page main a:focus-visible, .tpl-basic-page main summary:focus-visible { outline: 3px solid #ce8147; outline-offset: 5px; }
.tpl-basic-page main .rpb-text > .uk-container,
.tpl-basic-page main .rpb-features > .uk-container {
    border: var(--lms-panel-border, none);
    border-radius: var(--lms-panel-radius, 12px);
    box-shadow: var(--lms-panel-shadow, none);
}
.tpl-basic-page main .rpb-features > .uk-container { background: var(--lms-panel-background, #f3f6f1) !important; }
.tpl-basic-page main .rpb-text > .uk-container > h2,
.tpl-basic-page main .rpb-features > .uk-container > h2,
.tpl-basic-page main .rpb-calltoaction h2 { font-weight: 700; font-size: clamp(1.8rem, 3vw, 2.6rem); white-space: normal; }
.tpl-basic-page main .rpb-features .items { gap: 20px; }
.tpl-basic-page main .rpb-features .item { padding: 26px; padding-top: 76px; box-shadow: none; border-radius: 8px; }
.tpl-basic-page main .rpb-features .item::before { top: 26px; left: 26px; background: #eef3ed; color: #184e3d; border-radius: 50%; }
.tpl-basic-page main .rpb-features .item h3 { font-size: 1.12rem; }
.tpl-basic-page main .rpb-features .body { font-size: .98rem; line-height: 1.65; }
.tpl-basic-page main .lms-section-intro { max-width: 850px; font-size: 1.08rem; margin-bottom: 28px !important; }
.tpl-basic-page main .lms-editorial-grid,
.tpl-basic-page main .lms-support-grid { gap: 24px; }
.tpl-basic-page main .lms-editorial-card { padding: 26px; border: 0; border-top: 3px solid #ce8147; border-radius: 0; box-shadow: none; background: #faf6f0; }
.tpl-basic-page main .lms-editorial-card h3,
.tpl-basic-page main .lms-support-card h3 { font-size: 1.15rem; }
.tpl-basic-page main .lms-editorial-card p,
.tpl-basic-page main .lms-support-card p { font-size: 1rem; line-height: 1.65; }
.tpl-basic-page main .lms-support-card { box-shadow: none; border-radius: 8px; padding: 26px; background: #fff; }
.tpl-basic-page main .lms-support-note { background: #f3f6f1; border-color: #184e3d; font-size: .98rem; margin-top: 24px !important; }
.tpl-basic-page main .lms-phase-detail { border-bottom: 1px solid var(--lms-line); margin-top: 28px; padding: 18px 0; }
.tpl-basic-page main .lms-phase-detail summary { color: #184e3d; font-weight: 700; cursor: pointer; }
.tpl-basic-page main .lms-phase-detail p { margin-top: 18px; max-width: 900px; }
.tpl-basic-page main .lms-help-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 48px; }
.tpl-basic-page main .lms-help-contact { border-left: 1px solid var(--lms-line); padding: 18px 0 18px 32px; }
.tpl-basic-page main .lms-help-contact a { color: #184e3d; font-size: clamp(1.25rem, 2.4vw, 1.8rem); font-weight: 700; }
.tpl-basic-page main .lms-help-contact p { margin-top: 12px; }
.tpl-basic-page main .rpb-calltoaction > .uk-container { background: var(--lms-panel-background, #184e3d) !important; border: var(--lms-panel-border, none); box-shadow: var(--lms-panel-shadow, none); border-radius: var(--lms-panel-radius, 12px); }
.tpl-basic-page main .rpb-calltoaction h2,
.tpl-basic-page main .rpb-calltoaction .text { color: #fff; }
.tpl-basic-page main .rpb-calltoaction .left > h3 { color: #dbba88 !important; }
.tpl-basic-page main .rpb-calltoaction .cols { display: grid; grid-template-columns: 1.2fr 1fr; }
.tpl-basic-page main .rpb-calltoaction .uk-button { text-transform: none; font-size: .94rem; letter-spacing: 0; border-radius: 5px; }
.tpl-basic-page main .rpb-calltoaction .uk-button-primary { background: #fff; color: #184e3d; border-color: #fff; box-shadow: none; }
.tpl-basic-page main .rpb-calltoaction .uk-button-default { background: transparent; color: #fff; border-color: #9aafa6; }
.tpl-basic-page main .uk-button:hover { filter: brightness(.94); }
@media (max-width: 980px) {
    .tpl-basic-page main .rpb-calltoaction .cols { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
    .tpl-basic-page main .rpb-hero .white { width: 100% !important; }
    .tpl-basic-page main .rpb-hero > .uk-container::before { background: linear-gradient(90deg, rgba(15,47,36,.94), rgba(15,47,36,.72)); }
    .tpl-basic-page main .rpb-hero > .uk-container { min-height: 470px; align-items: center; }
    .tpl-basic-page main .rpb-hero h1 { font-size: clamp(2.2rem, 8vw, 3rem); }
    .tpl-basic-page main .lms-help-grid { grid-template-columns: 1fr; gap: 12px; }
    .tpl-basic-page main .lms-help-contact { border-left: 0; border-top: 1px solid var(--lms-line); padding: 24px 0 0; }
    .tpl-basic-page main .lms-hero-actions { gap: 20px; }
}
.tpl-basic-page main .lms-support-card::before { content: none; }
.tpl-basic-page main .lms-support-card:nth-child(n)::before { content: none; }
.tpl-basic-page main .rpb-calltoaction > .uk-container.uk-background-muted { background: var(--lms-panel-background, #184e3d) !important; }

/* The editable split-image hero follows the other ChTC public pages. */
.tpl-basic-page main .rpb-hero:has(> .uk-container > .uk-grid) {
    --lms-band-background: #f1f4ee;
    padding-top: 64px;
    padding-bottom: 64px;
}
.tpl-basic-page main .rpb-hero > .uk-container:has(> .uk-grid) {
    max-width: 1260px;
    min-height: 0;
    background: var(--lms-panel-background, #f1f4ee) !important;
    border-radius: var(--lms-panel-radius, 0);
    overflow: visible;
}
.tpl-basic-page main .rpb-hero > .uk-container:has(> .uk-grid)::before { content: none; }
.tpl-basic-page main .rpb-hero > .uk-container > .uk-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
    gap: 64px;
    width: 100%;
    margin: 0;
    padding: 0 36px !important;
}
.tpl-basic-page main .rpb-hero > .uk-container > .uk-grid > div {
    width: 100%;
    min-width: 0;
    margin: 0;
    padding: 0;
}
.tpl-basic-page main .rpb-hero .uk-grid h1 {
    color: var(--lms-ink);
    font-size: clamp(42px, 4.5vw, 65px);
    letter-spacing: -2.3px;
    line-height: 1.07;
    text-shadow: none;
}
.tpl-basic-page main .rpb-hero .uk-grid .uk-text-primary {
    color: #657b69 !important;
    font-size: 11px;
    letter-spacing: 1.6px;
    margin-bottom: 16px;
    text-shadow: none;
}
.tpl-basic-page main .rpb-hero .uk-grid .rpb-nomargin {
    color: var(--lms-muted);
    font-size: 19px;
    line-height: 1.6;
}
.tpl-basic-page main .rpb-hero .uk-grid img {
    display: block;
    width: 100%;
    height: 390px;
    object-fit: cover;
    border-radius: 8px 85px 8px 8px;
}
.tpl-basic-page main .rpb-hero .uk-grid .uk-button-primary {
    color: #fff;
    background: #184e3d;
    border-color: #184e3d;
    font-size: 14px;
}
.tpl-basic-page main .rpb-hero .uk-grid .lms-login-link { color: #184e3d; font-size: 14px; }
@media (max-width: 1000px) {
    .tpl-basic-page main .rpb-hero > .uk-container > .uk-grid { gap: 35px; padding: 0 28px !important; }
}
@media (max-width: 720px) {
    .tpl-basic-page main .rpb-hero:has(> .uk-container > .uk-grid) { padding: 36px 22px 30px; }
    .tpl-basic-page main .rpb-hero > .uk-container > .uk-grid { grid-template-columns: 1fr; gap: 28px; padding: 0 !important; }
    .tpl-basic-page main .rpb-hero .uk-grid h1 { font-size: 46px; letter-spacing: -1.5px; }
    .tpl-basic-page main .rpb-hero .uk-grid .rpb-nomargin { font-size: 17px; }
    .tpl-basic-page main .rpb-hero .uk-grid img { height: 245px; }
}

/* Equal-width LMS closing actions, including browsers without flex-gap. */
.tpl-basic-page main .rpb-calltoaction .right.text {
    display: block;
    gap: 0;
    width: 240px;
    max-width: 100%;
    justify-self: end;
    padding: 0;
}
.tpl-basic-page main .rpb-calltoaction .right.text > p {
    display: block;
    margin: 0 !important;
    width: 100%;
}
.tpl-basic-page main .rpb-calltoaction .right.text > p + p {
    margin-top: 12px !important;
}
.tpl-basic-page main .rpb-calltoaction .right.text .uk-button {
    box-sizing: border-box;
    width: 100%;
    margin: 0;
}
@media (max-width: 980px) {
    .tpl-basic-page main .rpb-calltoaction .right.text { justify-self: start; }
}
@media (max-width: 720px) {
    .tpl-basic-page main .rpb-calltoaction .right.text { width: 100%; }
}
