/* ==========================================================================
   Excel Trainings — CFA-Inspired Professional Theme
   Override layer that transforms the legacy Foundry theme into a content-rich,
   institutional design language inspired by cfainstitute.org.
   ========================================================================== */

/* ----- Gilroy webfont (self-hosted) -----
   Three weights are available locally: Light, Medium, ExtraBold.
   Weight ranges below give each face responsibility for a band of weights so
   the browser never picks a too-thin face for normal body text:
     Light    → 100–300  (display, very light copy)
     Medium   → 400–600  (DEFAULT body, paragraphs, buttons, nav)
     ExtraBold→ 700–900  (bold/strong, heavy emphasis)
   Drop additional Gilroy files into /public/fonts/ and adjust ranges
   to refine coverage. */
@font-face {
    font-family: "Gilroy";
    font-style: normal;
    font-weight: 100 300;
    font-display: swap;
    src: url("/fonts/Gilroy-Light.otf") format("opentype");
}
@font-face {
    font-family: "Gilroy";
    font-style: normal;
    font-weight: 400 600;
    font-display: swap;
    src: url("/fonts/Gilroy-Medium.ttf") format("truetype");
}
@font-face {
    font-family: "Gilroy";
    font-style: normal;
    font-weight: 700 900;
    font-display: swap;
    src: url("/fonts/Gilroy-ExtraBold.otf") format("opentype");
}
/* Disable browser weight-synthesis: with our ranges every CSS weight maps to
   a real Gilroy face, so synthetic faking is never needed. */
html { font-synthesis: none; -webkit-font-synthesis: none; }

:root {
    --et-navy: #0a2240;
    --et-navy-700: #122d52;
    --et-navy-500: #1e4174;
    --et-ink: #1a1a1a;
    --et-text: #2d2d2d;
    --et-muted: #5b6b7b;
    --et-line: #e3e6eb;
    --et-bg: #ffffff;
    --et-bg-alt: #f6f7f9;
    --et-bg-cream: #f7f3ec;
    --et-accent: #c8102e;
    --et-accent-700: #a30b25;
    --et-gold: #c79b3b;
    --et-gold-light: #e9d9af;
    --et-success: #2e7d4f;
    --et-radius: 4px;
    --et-radius-lg: 8px;
    --et-shadow: 0 2px 8px rgba(10, 34, 64, .08);
    --et-shadow-lg: 0 12px 32px rgba(10, 34, 64, .12);
    --et-serif: "Playfair Display", "Merriweather", Georgia, serif;
    --et-sans: "Gilroy", "Manrope", "Inter", "Helvetica Neue", Arial, sans-serif;
    --et-cond: "Gilroy", "Manrope", "Fira Sans Condensed", Arial, sans-serif;
}

/* ----- Base typography ----- */
html, body {
    font-family: var(--et-sans);
    color: var(--et-text);
    font-size: 16px;
    line-height: 1.65;
    background: var(--et-bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--et-serif);
    color: var(--et-navy);
    font-weight: 600;
    letter-spacing: -0.01em;
    line-height: 1.2;
}
h1 { font-size: 3.2rem; margin-bottom: .6em; }
h2 { font-size: 2.4rem; margin-bottom: .55em; }
h3 { font-size: 1.85rem; margin-bottom: .5em; }
h4 { font-size: 1.45rem; margin-bottom: .45em; }
h5 { font-size: 1.15rem; margin-bottom: .4em; font-family: var(--et-sans); font-weight: 600; }
h6 { font-size: .95rem; margin-bottom: .4em; font-family: var(--et-sans); font-weight: 700; letter-spacing: .04em; }

@media (max-width: 768px) {
    h1 { font-size: 2.2rem; }
    h2 { font-size: 1.8rem; }
    h3 { font-size: 1.45rem; }
}

p, li { color: var(--et-text); font-size: 1rem; }
p.lead { font-size: 1.15rem; line-height: 1.7; color: var(--et-text); font-weight: 400; }

a { color: var(--et-navy); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--et-accent); }

.uppercase { letter-spacing: .08em; text-transform: uppercase; }
.eyebrow {
    display: inline-block;
    font-family: var(--et-sans);
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--et-accent);
    margin-bottom: 1rem;
    padding-bottom: .35rem;
    border-bottom: 2px solid var(--et-accent);
}
.eyebrow.light { color: var(--et-gold); border-color: var(--et-gold); }

/* ----- Buttons ----- */
.btn, button, input[type="submit"] {
    font-family: var(--et-sans) !important;
    font-weight: 600 !important;
    letter-spacing: .04em !important;
    text-transform: none !important;
    border-radius: 0 !important;
    padding: 14px 28px !important;
    font-size: .95rem !important;
    transition: all .25s ease !important;
    border: 2px solid var(--et-navy) !important;
    color: var(--et-navy) !important;
    background: transparent !important;
    line-height: 1.2 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    vertical-align: middle !important;
    cursor: pointer !important;
    gap: 8px !important;
    text-decoration: none !important;
}
.btn i, button i, input[type="submit"] i { line-height: 1 !important; }
.btn:hover, button:hover, input[type="submit"]:hover {
    background: var(--et-navy) !important;
    color: #fff !important;
}
.btn-filled, .btn-primary, input[type="submit"] {
    background: var(--et-navy) !important;
    color: #fff !important;
    border-color: var(--et-navy) !important;
}
.btn-filled:hover, input[type="submit"]:hover {
    background: var(--et-navy-700) !important;
    border-color: var(--et-navy-700) !important;
    color: #fff !important;
}
.btn-accent {
    background: var(--et-accent) !important;
    color: #fff !important;
    border-color: var(--et-accent) !important;
}
.btn-accent:hover {
    background: var(--et-accent-700) !important;
    border-color: var(--et-accent-700) !important;
}
.btn-outline-light {
    background: transparent !important;
    color: #fff !important;
    border-color: #fff !important;
}
.btn-outline-light:hover {
    background: #fff !important;
    color: var(--et-navy) !important;
}
.btn-link {
    background: transparent !important;
    border: none !important;
    color: var(--et-navy) !important;
    padding: 0 !important;
    font-weight: 600 !important;
    border-bottom: 2px solid var(--et-navy) !important;
    border-radius: 0 !important;
}
.btn-link:hover { color: var(--et-accent) !important; border-color: var(--et-accent) !important; background: transparent !important; }
.btn-lg { padding: 16px 32px !important; font-size: 1rem !important; }

/* ----- Top utility bar ----- */
.et-utility {
    background: var(--et-navy);
    color: #d8dde6;
    font-size: .82rem;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255,255,255,.08);
}
.et-utility a { color: #d8dde6; margin-left: 18px; }
.et-utility a:hover { color: #fff; }
.et-utility .left { float: left; }
.et-utility .right { float: right; }
.et-utility i { margin-right: 6px; opacity: .75; }
.et-utility .pipe { opacity: .35; padding: 0 10px; }

/* ----- Main nav ----- */
.nav-container { box-shadow: var(--et-shadow); position: relative; z-index: 100; }
nav.bg-light, nav { background: #fff !important; border-bottom: 1px solid var(--et-line); }
.et-mainnav {
    background: #fff;
    padding: 18px 0;
}
.et-mainnav .container { display: flex; align-items: center; justify-content: space-between; }
.et-logo img { max-height: 48px; }
.et-menu {
    list-style: none;
    margin: 0; padding: 0;
    display: flex;
    align-items: center;
    gap: 4px;
}
.et-menu > li { position: relative; }
.et-menu > li > a {
    display: inline-block;
    padding: 14px 18px;
    color: var(--et-navy);
    font-weight: 600;
    font-size: .95rem;
    letter-spacing: .01em;
    cursor: pointer;
    border-bottom: 3px solid transparent;
    transition: all .2s ease;
}
.et-menu > li > a:hover, .et-menu > li.active > a {
    color: var(--et-accent);
    border-bottom-color: var(--et-accent);
}
.et-menu .has-children > a::after {
    content: "▾";
    font-size: .7rem;
    margin-left: 6px;
    opacity: .6;
}
.et-mega {
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    border-top: 3px solid var(--et-accent);
    box-shadow: var(--et-shadow-lg);
    min-width: 720px;
    padding: 32px 36px;
    display: none;
    z-index: 200;
}
.et-mega.right { left: auto; right: 0; }
.et-menu li:hover > .et-mega { display: block; }
.et-mega h6 {
    font-size: .8rem;
    text-transform: uppercase;
    color: var(--et-muted);
    letter-spacing: .12em;
    margin-bottom: 14px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--et-line);
}
.et-mega-cols { display: grid; grid-template-columns: repeat(2, 1fr); gap: 36px; }
.et-mega ul { list-style: none; padding: 0; margin: 0; }
.et-mega ul li { margin-bottom: 8px; }
.et-mega ul li a {
    display: block;
    padding: 6px 0;
    color: var(--et-text);
    font-size: .92rem;
    font-weight: 500;
    border-bottom: 1px solid transparent;
}
.et-mega ul li a:hover { color: var(--et-accent); }
.et-mega-feature {
    background: var(--et-bg-cream);
    padding: 24px;
    border-radius: var(--et-radius-lg);
}
.et-mega-feature h5 { color: var(--et-navy); }
.et-mega-feature p { font-size: .9rem; color: var(--et-muted); }
.et-cta-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--et-accent);
    color: #fff !important;
    padding: 10px 22px;
    border-radius: 0;
    font-size: .9rem;
    font-weight: 700;
    margin-left: 16px;
}
.et-cta-pill:hover { background: var(--et-accent-700); color: #fff !important; }

.et-mobile-toggle { display: none; font-size: 1.6rem; cursor: pointer; color: var(--et-navy); }
@media (max-width: 991px) {
    .et-menu { display: none; }
    .et-menu.open { display: flex; flex-direction: column; align-items: stretch; position: absolute; top: 100%; left: 0; right: 0; background: #fff; padding: 20px; box-shadow: var(--et-shadow-lg); }
    .et-menu.open > li { width: 100%; }
    .et-menu.open > li > a { padding: 14px 0; border-bottom: 1px solid var(--et-line); }
    .et-mega { position: static; min-width: 0; box-shadow: none; padding: 12px 0 0 16px; border-top: none; }
    .et-mega-cols { grid-template-columns: 1fr; gap: 12px; }
    .et-mobile-toggle { display: block; }
}

/* ----- Hero / page title ----- */
.et-hero {
    position: relative;
    color: #fff;
    padding: 120px 0 110px;
    overflow: hidden;
    background: linear-gradient(135deg, #0a2240 0%, #1e4174 100%);
}
.et-hero.with-image::before {
    content: "";
    position: absolute; inset: 0;
    background: linear-gradient(120deg, rgba(10,34,64,.92) 0%, rgba(10,34,64,.65) 60%, rgba(10,34,64,.45) 100%);
    z-index: 1;
}
.et-hero .et-hero-bg {
    position: absolute; inset: 0;
    background-size: cover; background-position: center;
    opacity: .55;
}
.et-hero .container { position: relative; z-index: 2; }
.et-hero h1, .et-hero h2 { color: #fff; }
.et-hero h1 { font-size: 3.6rem; line-height: 1.08; margin-bottom: 24px; }
.et-hero p.lead { color: #e8edf4; font-size: 1.2rem; max-width: 640px; }
.et-hero .et-hero-meta { display: flex; gap: 28px; flex-wrap: wrap; margin-top: 32px; }
.et-hero .et-hero-meta span { color: #d8dde6; font-size: .92rem; display: inline-flex; align-items: center; gap: 8px; }
.et-hero .et-hero-meta i { color: var(--et-gold); }
.et-hero .et-hero-actions { margin-top: 40px; display: flex; gap: 14px; flex-wrap: wrap; }
.et-hero .et-hero-actions .btn { background: #fff !important; color: var(--et-navy) !important; border-color: #fff !important; }
.et-hero .et-hero-actions .btn:hover { background: var(--et-gold) !important; border-color: var(--et-gold) !important; color: var(--et-navy) !important; }
.et-hero .et-hero-actions .btn-outline-light { background: transparent !important; color: #fff !important; }
.et-hero .et-hero-actions .btn-outline-light:hover { background: #fff !important; color: var(--et-navy) !important; }

@media (max-width: 768px) {
    .et-hero { padding: 80px 0 70px; }
    .et-hero h1 { font-size: 2.2rem; }
}

/* ----- Page title (smaller hero for inner pages) ----- */
.et-pagehead {
    background: var(--et-navy);
    color: #fff;
    padding: 70px 0 64px;
    position: relative;
    overflow: hidden;
}
.et-pagehead.with-image::before {
    content: "";
    position: absolute; inset: 0;
    background: linear-gradient(110deg, rgba(10,34,64,.93) 0%, rgba(10,34,64,.7) 100%);
    z-index: 1;
}
.et-pagehead .et-hero-bg {
    position: absolute; inset: 0;
    background-size: cover; background-position: center;
    opacity: .35;
}
.et-pagehead .container { position: relative; z-index: 2; }
.et-pagehead h1 { color: #fff; font-size: 2.6rem; margin-bottom: 12px; }
.et-pagehead p { color: #d8dde6; font-size: 1.1rem; max-width: 640px; margin-bottom: 0; }

.et-breadcrumb {
    list-style: none;
    padding: 0; margin: 0 0 16px;
    font-size: .85rem;
    color: #b9c2cf;
}
.et-breadcrumb li { display: inline-block; }
.et-breadcrumb li::after { content: "/"; padding: 0 10px; opacity: .5; }
.et-breadcrumb li:last-child::after { content: ""; }
.et-breadcrumb li a { color: var(--et-gold); }
.et-breadcrumb li a:hover { color: #fff; }
.et-breadcrumb li.active { color: #fff; }

/* ----- Sections ----- */
.et-section { padding: 88px 0; }
.et-section.tight { padding: 56px 0; }
.et-section.bg-cream { background: var(--et-bg-cream); }
.et-section.bg-alt { background: var(--et-bg-alt); }
.et-section.bg-navy { background: var(--et-navy); color: #fff; }
.et-section.bg-navy h1, .et-section.bg-navy h2, .et-section.bg-navy h3, .et-section.bg-navy h4, .et-section.bg-navy h5, .et-section.bg-navy h6 { color: #fff; }
.et-section.bg-navy p { color: #d8dde6; }

@media (max-width: 768px) { .et-section { padding: 56px 0; } }

.et-section-head { max-width: 760px; margin: 0 auto 56px; text-align: center; }
.et-section-head.left { text-align: left; margin-left: 0; }
.et-section-head h2 { margin-bottom: 16px; }
.et-section-head p.lead { color: var(--et-muted); }

/* ----- Cards: program / topic / journey ----- */
.et-card {
    background: #fff;
    border: 1px solid var(--et-line);
    border-radius: var(--et-radius-lg);
    overflow: hidden;
    transition: all .25s ease;
    height: 100%;
    display: flex; flex-direction: column;
}
.et-card:hover { box-shadow: var(--et-shadow-lg); transform: translateY(-3px); border-color: transparent; }
.et-card .et-card-img {
    aspect-ratio: 16/9;
    background: linear-gradient(135deg, var(--et-navy) 0%, var(--et-navy-500) 100%);
    background-size: cover; background-position: center;
    position: relative;
}
.et-card .et-card-tag {
    position: absolute; top: 14px; left: 14px;
    background: var(--et-accent); color: #fff;
    padding: 5px 12px; border-radius: 999px;
    font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
}
.et-card .et-card-body { padding: 24px 26px; flex: 1; display: flex; flex-direction: column; }
.et-card .et-card-cat {
    font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
    color: var(--et-accent); margin-bottom: 10px;
}
.et-card h4 { font-size: 1.25rem; margin-bottom: 10px; line-height: 1.3; }
.et-card .et-card-desc { color: var(--et-muted); font-size: .92rem; flex: 1; margin-bottom: 18px; }
.et-card .et-card-meta {
    display: flex; gap: 16px;
    font-size: .8rem; color: var(--et-muted);
    padding: 14px 0; border-top: 1px solid var(--et-line);
    margin-top: auto;
}
.et-card .et-card-meta i { color: var(--et-navy); margin-right: 4px; }
.et-card .et-card-foot {
    padding: 16px 26px;
    background: var(--et-bg-alt);
    border-top: 1px solid var(--et-line);
    display: flex; justify-content: space-between; align-items: center;
}
.et-card .et-card-foot a,
.et-card .et-card-foot .cal-cta {
    font-weight: 700; font-size: .88rem;
    color: var(--et-navy);
}
.et-card .et-card-foot a::after,
.et-card .et-card-foot .cal-cta::after { content: " →"; margin-left: 6px; transition: transform .2s; display: inline-block; }
.et-card:hover .et-card-foot a::after,
.et-card:hover .et-card-foot .cal-cta::after { transform: translateX(4px); }

.et-grid { display: grid; gap: 28px; }
.et-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.et-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.et-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 991px) {
    .et-grid.cols-3, .et-grid.cols-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
    .et-grid.cols-2, .et-grid.cols-3, .et-grid.cols-4 { grid-template-columns: 1fr; }
}

/* ----- Stats / by the numbers ----- */
.et-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: rgba(255,255,255,.15);
    border-radius: var(--et-radius-lg);
    overflow: hidden;
}
.et-stats > div { background: var(--et-navy); padding: 36px 28px; text-align: center; }
.et-stat-num {
    font-family: var(--et-serif);
    font-size: 3.2rem; font-weight: 700;
    color: var(--et-gold);
    line-height: 1;
    margin-bottom: 10px;
}
.et-stat-label {
    color: #d8dde6; font-size: .9rem;
    letter-spacing: .06em; text-transform: uppercase;
}
@media (max-width: 768px) { .et-stats { grid-template-columns: repeat(2, 1fr); } .et-stat-num { font-size: 2.4rem; } }

/* ----- Path / journey / steps ----- */
.et-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
    counter-reset: step;
}
.et-step {
    background: #fff;
    border: 1px solid var(--et-line);
    border-radius: var(--et-radius-lg);
    padding: 28px;
    position: relative;
    counter-increment: step;
}
.et-step::before {
    content: counter(step, decimal-leading-zero);
    font-family: var(--et-serif);
    font-size: 2.4rem;
    color: var(--et-gold);
    font-weight: 700;
    line-height: 1;
    display: block;
    margin-bottom: 14px;
}
.et-step h4 { font-size: 1.15rem; margin-bottom: 8px; }
.et-step p { color: var(--et-muted); font-size: .92rem; margin-bottom: 0; }
@media (max-width: 991px) { .et-steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .et-steps { grid-template-columns: 1fr; } }

/* ----- Feature blocks (icon + text) ----- */
.et-feature {
    padding: 8px 0;
}
.et-feature .et-feat-icon {
    width: 56px; height: 56px;
    border-radius: 50%;
    background: var(--et-bg-cream);
    color: var(--et-accent);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 18px;
}
.et-feature h5 { color: var(--et-navy); margin-bottom: 8px; font-size: 1.1rem; }
.et-feature p { color: var(--et-muted); font-size: .94rem; }

/* ----- Quote / testimonial ----- */
.et-quote {
    background: var(--et-bg-cream);
    border-left: 5px solid var(--et-accent);
    padding: 36px 40px;
    border-radius: 0 var(--et-radius-lg) var(--et-radius-lg) 0;
    position: relative;
}
.et-quote::before {
    content: """;
    font-family: var(--et-serif);
    font-size: 5rem;
    color: var(--et-accent);
    position: absolute;
    top: -10px; right: 24px;
    opacity: .25;
    line-height: 1;
}
.et-quote blockquote {
    font-family: var(--et-serif);
    font-size: 1.3rem;
    line-height: 1.5;
    color: var(--et-navy);
    margin: 0 0 20px;
    font-style: italic;
    border: none; padding: 0;
}
.et-quote cite {
    font-family: var(--et-sans);
    font-style: normal;
    font-weight: 700;
    color: var(--et-navy);
    display: block;
}
.et-quote cite span {
    display: block;
    font-weight: 400;
    color: var(--et-muted);
    font-size: .88rem;
    margin-top: 2px;
}

/* ----- Testimonial card (lighter variant for 3-up grids) ----- */
.et-testimonial {
    background: #fff;
    border: 1px solid var(--et-line);
    border-top: 4px solid var(--et-accent);
    padding: 32px 28px;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
}
.et-testimonial::before {
    content: """;
    font-family: var(--et-serif);
    font-size: 4rem;
    color: var(--et-accent);
    position: absolute;
    top: 8px; right: 22px;
    opacity: .15;
    line-height: 1;
}
.et-testimonial blockquote {
    font-family: var(--et-serif);
    font-size: 1.05rem;
    line-height: 1.55;
    color: var(--et-navy);
    margin: 0 0 24px;
    font-style: italic;
    border: none;
    padding: 0;
    flex: 1;
}
.et-testimonial cite {
    font-family: var(--et-sans);
    font-style: normal;
    font-weight: 700;
    color: var(--et-navy);
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 16px;
    border-top: 1px solid var(--et-line);
}
.et-testimonial cite .avatar {
    width: 40px; height: 40px;
    background: var(--et-navy);
    color: var(--et-gold);
    font-family: var(--et-serif);
    font-weight: 700;
    font-size: .95rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.et-testimonial cite .who {
    display: flex;
    flex-direction: column;
    line-height: 1.25;
}
.et-testimonial cite .who span {
    font-weight: 400;
    color: var(--et-muted);
    font-size: .82rem;
    margin-top: 2px;
}

/* ----- Tabs (modern) ----- */
.et-tabs {
    border-bottom: 2px solid var(--et-line);
    display: flex;
    gap: 8px;
    margin-bottom: 36px;
    overflow-x: auto;
}
.et-tabs button {
    background: transparent !important;
    border: none !important;
    padding: 14px 22px !important;
    font-weight: 600 !important;
    color: var(--et-muted) !important;
    border-bottom: 3px solid transparent !important;
    margin-bottom: -2px !important;
    cursor: pointer !important;
    white-space: nowrap;
    border-radius: 0 !important;
    font-size: .95rem !important;
}
.et-tabs button:hover { color: var(--et-navy) !important; background: transparent !important; }
.et-tabs button.active { color: var(--et-navy) !important; border-bottom-color: var(--et-accent) !important; background: transparent !important; }
.et-tab-pane { display: none; }
.et-tab-pane.active { display: block; animation: fadeIn .25s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* ----- Side card (sticky CTA on detail pages) ----- */
.et-sidecard {
    background: #fff;
    border: 1px solid var(--et-line);
    border-radius: var(--et-radius-lg);
    padding: 28px;
    box-shadow: var(--et-shadow);
    position: sticky;
    top: 24px;
}
.et-sidecard h4 { color: var(--et-navy); margin-bottom: 18px; font-size: 1.15rem; }
.et-sidecard ul { list-style: none; padding: 0; margin: 0 0 22px; }
.et-sidecard ul li {
    padding: 12px 0;
    border-bottom: 1px solid var(--et-line);
    font-size: .92rem;
    display: flex; justify-content: space-between; align-items: center;
}
.et-sidecard ul li:last-child { border-bottom: none; }
.et-sidecard ul li span:first-child { color: var(--et-muted); }
.et-sidecard ul li span:last-child { font-weight: 600; color: var(--et-navy); text-align: right; }
.et-sidecard .btn { width: 100%; text-align: center; margin-bottom: 10px; }

/* ----- Accordion (FAQ) ----- */
.et-accordion { border-top: 1px solid var(--et-line); }
.et-accordion details {
    border-bottom: 1px solid var(--et-line);
    padding: 0;
}
.et-accordion summary {
    cursor: pointer;
    list-style: none;
    padding: 22px 0;
    font-weight: 600;
    color: var(--et-navy);
    font-size: 1.05rem;
    position: relative;
    padding-right: 40px;
}
.et-accordion summary::-webkit-details-marker { display: none; }
.et-accordion summary::after {
    content: "+";
    position: absolute; right: 8px; top: 50%; transform: translateY(-50%);
    font-size: 1.6rem; color: var(--et-accent); font-weight: 300;
    transition: transform .2s;
}
.et-accordion details[open] summary::after { content: "−"; }
.et-accordion .et-acc-body { padding: 0 0 22px; color: var(--et-text); }

/* ----- CTA banner (full bleed) ----- */
.et-cta-banner {
    background: linear-gradient(120deg, var(--et-navy) 0%, var(--et-navy-700) 100%);
    color: #fff;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}
.et-cta-banner::before {
    content: "";
    position: absolute;
    width: 320px; height: 320px;
    background: var(--et-accent);
    opacity: .15;
    border-radius: 50%;
    top: -80px; right: -80px;
}
.et-cta-banner h2 { color: #fff; margin-bottom: 18px; }
.et-cta-banner p { color: #d8dde6; font-size: 1.1rem; }

/* ----- News / insights cards ----- */
.et-insight {
    display: flex; flex-direction: column;
    background: #fff;
    border-radius: var(--et-radius-lg);
    overflow: hidden;
    border: 1px solid var(--et-line);
    transition: all .25s;
    height: 100%;
}
.et-insight:hover { transform: translateY(-3px); box-shadow: var(--et-shadow-lg); }
.et-insight .et-insight-img {
    aspect-ratio: 16/10;
    background-size: cover; background-position: center;
    background-color: var(--et-navy);
}
.et-insight .et-insight-body { padding: 22px 24px; flex: 1; display: flex; flex-direction: column; }
.et-insight .et-insight-meta { font-size: .78rem; color: var(--et-muted); letter-spacing: .08em; text-transform: uppercase; margin-bottom: 8px; }
.et-insight h4 { font-size: 1.15rem; margin-bottom: 10px; line-height: 1.3; }
.et-insight p { color: var(--et-muted); font-size: .9rem; flex: 1; margin-bottom: 14px; }
.et-insight .et-insight-link { color: var(--et-navy); font-weight: 700; font-size: .88rem; }

/* ----- Logos (clients/partners) ----- */
.et-logos {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 30px;
    align-items: center;
}
.et-logos img {
    max-height: 60px;
    width: 100%;
    object-fit: contain;
    filter: grayscale(1);
    opacity: .7;
    transition: all .25s;
}
.et-logos img:hover { filter: none; opacity: 1; }
@media (max-width: 991px) { .et-logos { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px) { .et-logos { grid-template-columns: repeat(2, 1fr); } }

/* ----- Forms ----- */
input[type="text"], input[type="email"], input[type="password"], input[type="tel"],
input[type="number"], input[type="search"], select, textarea {
    width: 100%;
    padding: 14px 16px !important;
    font-size: 1rem !important;
    background: #fff !important;
    border: 1.5px solid var(--et-line) !important;
    border-radius: var(--et-radius) !important;
    color: var(--et-text) !important;
    margin-bottom: 16px !important;
    transition: border-color .2s, box-shadow .2s !important;
    font-family: var(--et-sans) !important;
    box-shadow: none !important;
}
input:focus, select:focus, textarea:focus {
    outline: none !important;
    border-color: var(--et-navy) !important;
    box-shadow: 0 0 0 3px rgba(10, 34, 64, .12) !important;
}
.et-form-card {
    background: #fff;
    border: 1px solid var(--et-line);
    border-radius: var(--et-radius-lg);
    padding: 40px;
    box-shadow: var(--et-shadow);
}
.et-form-card h3 { color: var(--et-navy); margin-bottom: 8px; }
.et-form-card .et-form-sub { color: var(--et-muted); margin-bottom: 32px; }
label.et-label {
    display: block;
    font-weight: 600;
    color: var(--et-navy);
    margin-bottom: 6px;
    font-size: .9rem;
}

/* ----- Footer ----- */
footer.footer-1, footer {
    background: var(--et-navy) !important;
    color: #c0c8d4;
    padding: 80px 0 0 !important;
    border-top: 4px solid var(--et-accent);
}
footer h6.et-foot-title {
    color: #fff;
    font-family: var(--et-sans);
    font-weight: 700;
    font-size: .85rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255,255,255,.12);
}
footer .et-foot-list { list-style: none; padding: 0; margin: 0; }
footer .et-foot-list li { margin-bottom: 12px; font-size: .9rem; line-height: 1.5; }
footer .et-foot-list li a { color: #c0c8d4; }
footer .et-foot-list li a:hover { color: var(--et-gold); }
footer .et-foot-office {
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255,255,255,.08);
}
footer .et-foot-office:last-child { border-bottom: none; }
footer .et-foot-office strong { color: #fff; display: block; margin-bottom: 6px; font-size: .92rem; }
footer .et-foot-office span { display: block; font-size: .85rem; color: #b9c2cf; line-height: 1.6; }
footer .et-foot-office a { color: var(--et-gold); }
footer .et-foot-bottom {
    margin-top: 60px;
    padding: 24px 0;
    border-top: 1px solid rgba(255,255,255,.12);
    background: rgba(0,0,0,.18);
    font-size: .82rem;
}
footer .et-foot-bottom .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px; }
footer .et-foot-bottom a { color: #c0c8d4; }
footer .et-foot-bottom a:hover { color: #fff; }
footer .et-social { display: flex; gap: 10px; list-style: none; padding: 0; margin: 0; }
footer .et-social li a {
    width: 36px; height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,.1);
    display: inline-flex; align-items: center; justify-content: center;
    color: #fff;
    transition: all .2s;
}
footer .et-social li a:hover { background: var(--et-accent); color: #fff; }
footer .et-foot-newsletter {
    background: rgba(255,255,255,.05);
    padding: 24px;
    border-radius: var(--et-radius-lg);
    margin-bottom: 24px;
}
footer .et-foot-newsletter p { color: #b9c2cf; font-size: .9rem; }
footer .et-foot-newsletter input[type="email"] {
    background: rgba(255,255,255,.08) !important;
    border-color: rgba(255,255,255,.18) !important;
    color: #fff !important;
}
footer .et-foot-newsletter input[type="email"]::placeholder { color: #95a3b5; }
footer .back-to-top {
    position: fixed; right: 24px; bottom: 24px;
    background: var(--et-accent) !important;
    color: #fff !important;
    border: none !important;
    border-radius: 0 !important;
    width: 44px; height: 44px;
    padding: 0 !important;
    z-index: 50;
    box-shadow: var(--et-shadow-lg);
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}
footer .back-to-top:hover { background: var(--et-accent-700) !important; }

/* ----- Misc helpers ----- */
.et-divider { border: none; border-top: 1px solid var(--et-line); margin: 40px 0; }
.et-pill {
    display: inline-block;
    padding: 5px 14px;
    background: var(--et-bg-cream);
    color: var(--et-navy);
    border-radius: 0;
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .04em;
}
.et-pill-accent { background: var(--et-accent); color: #fff; }
.et-pill-gold { background: var(--et-gold); color: var(--et-navy); }

.et-tags { display: flex; gap: 8px; flex-wrap: wrap; margin: 16px 0; }
.et-tags .et-pill { background: #fff; border: 1px solid var(--et-line); }

.et-checklist { list-style: none; padding: 0; margin: 0; }
.et-checklist li {
    padding: 10px 0 10px 32px;
    position: relative;
    border-bottom: 1px solid var(--et-line);
}
.et-checklist li::before {
    content: "✓";
    position: absolute; left: 0; top: 8px;
    color: var(--et-success);
    font-weight: 700;
    font-size: 1.1rem;
    width: 22px; height: 22px;
    display: inline-flex; align-items: center; justify-content: center;
}
.et-checklist li:last-child { border-bottom: none; }

/* ----- Filter pills (course list) ----- */
.et-filter-bar {
    display: flex; gap: 10px; flex-wrap: wrap;
    padding: 16px 0;
    margin-bottom: 32px;
    border-bottom: 1px solid var(--et-line);
}
.et-filter-bar a {
    padding: 8px 16px;
    border: 1.5px solid var(--et-line);
    border-radius: 0;
    color: var(--et-navy);
    font-size: .88rem;
    font-weight: 600;
    background: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}
.et-filter-bar a:hover { border-color: var(--et-navy); }
.et-filter-bar a.active { background: var(--et-navy); color: #fff; border-color: var(--et-navy); }

/* Reset legacy spacing classes when needed */
.et-section .container { max-width: 1200px; }

/* Override legacy section padding for our new sections */
section.et-section { padding-top: 88px; padding-bottom: 88px; }

/* Ensure legacy ".btn" inside .et-* doesn't get foundry's heavy styles */
.et-mainnav .et-cta-pill { color: #fff !important; }

/* Confirmation / verified pages */
.et-status-card {
    max-width: 640px;
    margin: 0 auto;
    background: #fff;
    border: 1px solid var(--et-line);
    border-radius: var(--et-radius-lg);
    padding: 56px 48px;
    text-align: center;
    box-shadow: var(--et-shadow);
}
.et-status-card .et-status-icon {
    width: 80px; height: 80px;
    border-radius: 50%;
    margin: 0 auto 24px;
    display: flex; align-items: center; justify-content: center;
    font-size: 2.4rem;
}
.et-status-card .et-status-icon.success { background: rgba(46, 125, 79, .12); color: var(--et-success); }
.et-status-card .et-status-icon.error { background: rgba(200, 16, 46, .12); color: var(--et-accent); }

/* Modern container use without bootstrap dependency */
.et-container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* Hide some legacy artifacts */
nav.bg-light .nav-utility { display: none !important; }

/* Print hand for safety */
@media print { footer .back-to-top { display: none; } }
