 /* ============================================================
   RHO PROGRAM DETAILS  —  rho-program.css  v1.0
   Single stylesheet for all program detail pages.
   Uses CSS custom properties --accent / --accent-dark
   injected inline via PHP for per-program theming.
   ============================================================ */

/* ── 0 · RESET & TOKENS ─────────────────────────────────────── */
.rhop-hero *,
.rhop-breadcrumb *,
.rhop-layout * {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --rho-font:    'Inter', 'Segoe UI', Arial, sans-serif;
    --rho-dark:    #0f1b2d;
    --rho-body:    #374151;
    --rho-muted:   #6b7280;
    --rho-border:  #e5e7eb;
    --rho-surface: #f9fafb;
    --rho-white:   #ffffff;
    --rho-radius:  14px;
    --rho-shadow:  0 4px 24px rgba(15,27,45,.10);
    --rho-shadow-lg: 0 8px 48px rgba(15,27,45,.16);
}

/* container */
.rho-container {
    width: 100%;
    max-width: 1220px;
    margin-inline: auto;
    padding-inline: 24px;
}

/* ── 1 · HERO ────────────────────────────────────────────────── */
.rhop-hero {
    position: relative;
    min-height: 620px;
    display: flex;
    align-items: center;
    overflow: hidden;
    color: #fff;
}

.rhop-hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transform: scale(1.06);
    animation: rhop-kb 16s ease-in-out infinite alternate;
}

@keyframes rhop-kb {
    from { transform: scale(1.06) translate(0,0); }
    to   { transform: scale(1.12) translate(-1%,-1%); }
}

.rhop-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        110deg,
        rgba(15,27,45,.88) 0%,
        rgba(15,27,45,.72) 55%,
        rgba(15,27,45,.45) 100%
    );
}

/* floating shapes */
.rhop-hero-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    opacity: .18;
    pointer-events: none;
}
.rhop-hero-shape--1 {
    width: 520px; height: 520px;
    background: var(--accent, #00A54B);
    top: -120px; right: -80px;
}
.rhop-hero-shape--2 {
    width: 320px; height: 320px;
    background: var(--accent-dark, #006E30);
    bottom: -60px; left: 30%;
}

.rhop-hero-inner {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 48px;
    align-items: center;
    padding-block: 80px 60px;
    width: 100%;
}

/* badge */
.rhop-hero-badge-wrap {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    background: rgba(255,255,255,.08);
    backdrop-filter: blur(12px);
    border: 2px solid rgba(255,255,255,.2);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    box-shadow: 0 0 40px rgba(0,0,0,.3);
}

.rhop-hero-badge {
    width: 110px;
    height: 110px;
    object-fit: contain;
    filter: drop-shadow(0 4px 12px rgba(0,0,0,.4));
}

.rhop-hero-tag-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 13px;
    opacity: .85;
}

.rhop-hero-code {
    background: var(--accent, #00A54B);
    color: #fff;
    font-weight: 700;
    font-size: 12px;
    letter-spacing: .08em;
    padding: 3px 10px;
    border-radius: 20px;
    text-transform: uppercase;
}

.rhop-hero-sep { opacity: .4; }

.rhop-hero-title {
    font-family: var(--rho-font);
    font-size: clamp(48px, 5vw, 80px);
    font-weight: 800;
    line-height: 1.18;
    letter-spacing: -.02em;
    margin-bottom: 18px;
    max-width: 660px;
}

.rhop-hero-title span { color: var(--accent, #00A54B); }

.rhop-hero-subtitle {
    font-size: 20px;
    line-height: 1.7;
    opacity: .88;
    max-width: 560px;
    margin-bottom: 24px;
}

/* date pill */
.rhop-hero-date-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,.12);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,.25);
    border-radius: 30px;
    padding: 8px 18px;
    font-size: 13.5px;
    font-weight: 500;
    margin-bottom: 18px;
}

.rhop-icon-sm {
    width: 16px;
    height: 16px;
    opacity: .7;
    flex-shrink: 0;
}

/* countdown */
.rhop-countdown {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 30px;
}

.rhop-cd-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(255,255,255,.1);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 10px;
    padding: 8px 14px;
    min-width: 62px;
}

.rhop-cd-val {
    font-size: 25px;
    font-weight: 800;
    line-height: 1;
    color: var(--accent, #00A54B);
    font-variant-numeric: tabular-nums;
}

.rhop-cd-lbl {
    font-size: 10px;
    letter-spacing: .06em;
    text-transform: uppercase;
    opacity: .65;
    margin-top: 3px;
}

.rhop-cd-sep {
    font-size: 22px;
    font-weight: 700;
    opacity: .5;
    margin-bottom: 12px;
}

.rhop-cd-ended {
    font-weight: 700;
    color: var(--accent, #00A54B);
    font-size: 18px;
}

/* CTA buttons */
.rhop-hero-ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 4px;
}

.rhop-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--rho-font);
    font-size: 14px;
    font-weight: 700;
    padding: 12px 26px;
    border-radius: 8px;
    text-decoration: none;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all .22s ease;
    white-space: nowrap;
}

.rhop-btn--primary {
    background: var(--accent, #00A54B);
    color: #fff;
    border-color: var(--accent, #00A54B);
}
.rhop-btn--primary:hover {
    background: var(--accent-dark, #006E30);
    border-color: var(--accent-dark, #006E30);
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(0,0,0,.25);
}

.rhop-btn--wa {
    background: #25D366;
    color: #fff;
    border-color: #25D366;
}
.rhop-btn--wa:hover {
    background: #1da851;
    border-color: #1da851;
    transform: translateY(-2px);
}

.rhop-btn--wa-ghost {
    background: transparent;
    color: #25D366;
    border-color: #25D366;
}
.rhop-btn--wa-ghost:hover {
    background: #25D366;
    color: #fff;
}

.rhop-btn--full { width: 100%; }

/* hero stats glass panel */
.rhop-hero-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    background: rgba(255,255,255,.08);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 20px;
    padding: 28px 24px;
    min-width: 220px;
    align-self: flex-start;
}

.rhop-stat-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 12px 8px;
    border-radius: 12px;
    background: rgba(255,255,255,.07);
}

.rhop-stat-card--full {
    grid-column: span 2;
}

.rhop-stat-val {
    font-size: 27px;
    font-weight: 800;
    color: var(--accent, #00A54B);
    line-height: 1;
    margin-bottom: 4px;
}

.rhop-stat-lbl {
    font-size: 11px;
    letter-spacing: .05em;
    text-transform: uppercase;
    opacity: .7;
}

/* ── 2 · BREADCRUMB ──────────────────────────────────────────── */
.rhop-breadcrumb {
    background: var(--rho-surface);
    border-bottom: 1px solid var(--rho-border);
    padding: 12px 0;
    font-size: 13px;
    color: var(--rho-muted);
}

.rhop-breadcrumb-inner {
    display: flex;
    align-items: center;
    gap: 8px;
}

.rhop-breadcrumb a {
    color: var(--rho-muted);
    text-decoration: none;
}
.rhop-breadcrumb a:hover { color: var(--rho-dark); }
.rhop-breadcrumb span:last-child { color: var(--rho-dark); font-weight: 600; }

/* ── 3 · LAYOUT ──────────────────────────────────────────────── */
.rhop-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 40px;
    align-items: start;
    padding-top: 48px;
    padding-bottom: 80px;
}

/* ── 4 · SECTIONS (main column) ─────────────────────────────── */
.rhop-section {
    margin-bottom: 56px;
}

.rhop-section-label {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--accent, #00A54B);
    border: 1px solid;
    border-color: color-mix(in srgb, var(--accent, #00A54B) 40%, transparent);
    border-radius: 20px;
    padding: 4px 12px;
    margin-bottom: 14px;
}

.rhop-section-title {
    font-family: var(--rho-font);
    font-size: clamp(22px, 2.5vw, 34px);
    font-weight: 800;
    color: var(--rho-dark);
    letter-spacing: -.02em;
    line-height: 1.25;
    margin-bottom: 20px;
}

/* overview */
.rhop-overview-body p {
    color: var(--rho-body);
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 16px;
}

/* why grid */
.rhop-why-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-top: 28px;
}

.rhop-why-item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    background: var(--rho-surface);
    border: 1px solid var(--rho-border);
    border-radius: var(--rho-radius);
    padding: 16px 18px;
    transition: box-shadow .2s, transform .2s;
}
.rhop-why-item:hover {
    box-shadow: var(--rho-shadow);
    transform: translateY(-2px);
}

.rhop-why-num {
    font-size: 29px;
    font-weight: 900;
    line-height: 1;
    color: var(--accent, #00A54B);
    opacity: .18;
    flex-shrink: 0;
    min-width: 36px;
    font-variant-numeric: tabular-nums;
}

.rhop-why-item p {
    font-size: 17px;
    color: var(--rho-body);
    line-height: 1.55;
    margin: 0;
    padding-top: 2px;
}

/* objectives */
.rhop-obj-list {
    list-style: none;
    display: grid;
    gap: 10px;
}

.rhop-obj-item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    font-size: 17px;
    color: var(--rho-body);
    line-height: 1.55;
    padding: 14px 16px;
    border-radius: 10px;
    background: var(--rho-surface);
    border-left: 3px solid var(--accent, #00A54B);
    transition: background .2s;
}
.rhop-obj-item:hover { background: #fff; }

.rhop-obj-check {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--accent, #00A54B);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 1px;
}

.rhop-obj-check svg {
    width: 13px;
    height: 13px;
    color: #fff;
}

/* audience */
.rhop-audience-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.rhop-audience-card {
    background: #fff;
    border: 1px solid var(--rho-border);
    border-radius: var(--rho-radius);
    padding: 20px 18px;
    display: flex;
    gap: 14px;
    align-items: flex-start;
    box-shadow: var(--rho-shadow);
    transition: box-shadow .2s, transform .2s;
}
.rhop-audience-card:hover {
    box-shadow: var(--rho-shadow-lg);
    transform: translateY(-2px);
}

.rhop-audience-icon {
    width: 28px;
    height: 28px;
    color: var(--accent, #00A54B);
    flex-shrink: 0;
    opacity: .75;
}

.rhop-audience-card p {
    font-size: 17px;
    color: var(--rho-body);
    line-height: 1.55;
}

/* accreditation */
.rhop-section--accred {
    border-radius: 20px;
    background: linear-gradient(135deg, var(--accent, #00A54B) 0%, var(--accent-dark, #006E30) 100%);
    overflow: hidden;
    color: #fff;
}

.rhop-accred-inner {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 40px;
    align-items: center;
    padding: 48px 44px;
}

.rhop-accred-text p {
    font-size: 17px;
    line-height: 1.75;
    opacity: .92;
    margin-bottom: 24px;
}
.rhop-accred-text a { color: #fff; }

.rhop-accred-perks {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.rhop-accred-perks li {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    font-size: 17px;
    opacity: .9;
    line-height: 1.45;
}

.rhop-accred-perks svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    margin-top: 1px;
    opacity: .85;
}

.rhop-accred-badge {
    width: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.rhop-accred-badge img {
    width: 150px;
    height: 150px;
    object-fit: contain;
    filter: drop-shadow(0 6px 24px rgba(0,0,0,.35)) brightness(1.1);
}

/* classroom photo */
.rhop-classroom-wrap {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--rho-shadow-lg);
    background: var(--rho-surface);
    min-height: 220px;
}

.rhop-classroom-img {
    display: block;
    width: 100%;
    height: 320px;
    object-fit: cover;
    border-radius: 16px;
}

.rhop-classroom-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,.65) 0%, transparent 100%);
    color: #fff;
    padding: 32px 20px 14px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .04em;
}

/* fallback when classroom img missing */
.rhop-classroom--fallback {
    background: var(--rho-surface);
    min-height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.rhop-classroom--fallback .rhop-classroom-caption {
    position: static;
    background: none;
    color: var(--rho-muted);
    text-align: center;
    padding: 24px;
}
.rhop-classroom--fallback .rhop-classroom-img { display: none; }

/* testimonials */
.rhop-test-slider {
    position: relative;
    min-height: 200px;
}

.rhop-test-card {
    display: none;
    background: #fff;
    border: 1px solid var(--rho-border);
    border-radius: 18px;
    padding: 36px 36px 32px;
    box-shadow: var(--rho-shadow);
    position: relative;
    overflow: hidden;
}
.rhop-test-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 4px;
    height: 100%;
    background: var(--accent, #00A54B);
    border-radius: 4px 0 0 4px;
}

.rhop-test-card--active { display: block; }

.rhop-test-quote {
    width: 38px;
    height: 38px;
    color: var(--accent, #00A54B);
    opacity: .15;
    margin-bottom: 14px;
}

.rhop-test-text {
    font-size: 18px;
    color: var(--rho-body);
    line-height: 1.8;
    font-style: italic;
    margin-bottom: 24px;
}

.rhop-test-author {
    display: flex;
    align-items: center;
    gap: 14px;
}

.rhop-test-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 14px;
    color: #fff;
    flex-shrink: 0;
}

.rhop-test-author strong {
    display: block;
    font-size: 16px;
    color: var(--rho-dark);
    font-weight: 700;
}

.rhop-test-author span {
    font-size: 14px;
    color: var(--rho-muted);
}

.rhop-test-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
}

.rhop-test-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 2px solid var(--accent, #00A54B);
    background: transparent;
    cursor: pointer;
    transition: background .2s, transform .2s;
}
.rhop-test-dot--active {
    background: var(--accent, #00A54B);
    transform: scale(1.3);
}

/* registration form */
.rhop-section--register {
    background: var(--rho-surface);
    border-radius: 20px;
    padding: 44px;
    border: 1px solid var(--rho-border);
}

.rhop-register-sub {
    color: var(--rho-muted);
    font-size: 16px;
    line-height: 1.65;
    margin-bottom: 32px;
    max-width: 560px;
}

.rhop-register-wrap {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 32px;
    align-items: start;
}

/* form */
.rhop-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.rhop-form-row {
    display: flex;
    gap: 16px;
}
.rhop-form-row--2 > .rhop-field { flex: 1; }

.rhop-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.rhop-field label {
    font-size: 13px;
    font-weight: 600;
    color: var(--rho-dark);
}

.rhop-field label span { color: var(--accent, #00A54B); }

.rhop-field input,
.rhop-field select,
.rhop-field textarea {
    font-family: var(--rho-font);
    font-size: 14px;
    color: var(--rho-dark);
    background: #fff;
    border: 1.5px solid var(--rho-border);
    border-radius: 8px;
    padding: 10px 14px;
    transition: border-color .2s, box-shadow .2s;
    outline: none;
    width: 100%;
}
.rhop-field input:focus,
.rhop-field select:focus,
.rhop-field textarea:focus {
    border-color: var(--accent, #00A54B);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent, #00A54B) 15%, transparent);
}

.rhop-field textarea { resize: vertical; min-height: 100px; }

.rhop-field--check {
    flex-direction: row;
    align-items: center;
    gap: 10px;
}
.rhop-field--check input[type="checkbox"] { width: auto; flex-shrink: 0; }
.rhop-field--check label { font-size: 13px; font-weight: 400; }
.rhop-field--check label a { color: var(--accent, #00A54B); }

/* registration info card */
.rhop-reg-box {
    background: #fff;
    border: 1px solid var(--rho-border);
    border-radius: 14px;
    padding: 22px;
    box-shadow: var(--rho-shadow);
    margin-bottom: 14px;
}

.rhop-reg-box h3 {
    font-size: 20px;
    font-weight: 800;
    color: var(--rho-dark);
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--rho-border);
}

.rhop-reg-detail {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 16px;
    color: var(--rho-body);
    padding: 7px 0;
    border-bottom: 1px solid var(--rho-border);
}
.rhop-reg-detail:last-child { border-bottom: none; }
.rhop-reg-detail svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    color: var(--accent, #00A54B);
    margin-top: 1px;
}

.rhop-wa-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: #25D366;
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    padding: 13px;
    border-radius: 10px;
    text-decoration: none;
    transition: background .2s, transform .2s;
}
.rhop-wa-btn:hover {
    background: #1da851;
    transform: translateY(-2px);
}

/* ── 5 · SIDEBAR ─────────────────────────────────────────────── */
.rhop-sidebar {
    position: sticky;
    top: 24px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* sidebar CTA card */
.rhop-sb-cta {
    background: var(--rho-dark);
    border-radius: 18px;
    padding: 26px 22px;
    color: #fff;
    display: flex;
    flex-direction: column;
    gap: 10px;
    box-shadow: var(--rho-shadow-lg);
}

.rhop-sb-cta-tag {
    display: inline-flex;
    align-self: flex-start;
    background: var(--accent, #00A54B);
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
    padding: 3px 10px;
    border-radius: 20px;
}

.rhop-sb-cta-date strong {
    display: block;
    font-size: 17px;
    font-weight: 800;
    line-height: 1.2;
}

.rhop-sb-cta-date span {
    font-size: 14px;
    opacity: .7;
}

.rhop-sb-cta-loc {
    font-size: 13px;
    opacity: .65;
    border-top: 1px solid rgba(255,255,255,.12);
    padding-top: 8px;
    margin-top: 2px;
}

/* other programs sidebar */
.rhop-sb-programs {
    background: #fff;
    border: 1px solid var(--rho-border);
    border-radius: 18px;
    padding: 20px;
    box-shadow: var(--rho-shadow);
}

.rhop-sb-title {
    font-size: 15px;
    font-weight: 800;
    color: var(--rho-dark);
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--rho-border);
}

.rhop-other-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px;
    border-radius: 10px;
    text-decoration: none;
    transition: background .2s;
    border: 1px solid transparent;
}
.rhop-other-card:hover {
    background: var(--rho-surface);
    border-color: var(--rho-border);
}

.rhop-other-badge {
    width: 44px;
    height: 44px;
    object-fit: contain;
    flex-shrink: 0;
    border-radius: 50%;
    background: #f0f0f0;
    padding: 3px;
}

.rhop-other-tag {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .04em;
    color: #fff;
    flex-shrink: 0;
    text-align: center;
    line-height: 1.2;
}

.rhop-other-info {
    flex: 1;
    min-width: 0;
}

.rhop-other-info strong {
    display: block;
    font-size: 15px;
    font-weight: 700;
    color: var(--rho-dark);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.rhop-other-info span {
    font-size: 13px;
    color: var(--rho-muted);
}

.rhop-other-arr {
    width: 18px;
    height: 18px;
    color: var(--accent, #00A54B);
    flex-shrink: 0;
    opacity: .6;
    transition: opacity .2s, transform .2s;
}
.rhop-other-card:hover .rhop-other-arr {
    opacity: 1;
    transform: translateX(3px);
}

/* provider */
.rhop-sb-provider {
    background: var(--rho-surface);
    border: 1px solid var(--rho-border);
    border-radius: 14px;
    padding: 18px;
    text-align: center;
}

.rhop-sb-provider-lbl {
    font-size: 11px;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--rho-muted);
    margin-bottom: 10px;
}

.rhop-sb-provider-link {
    display: flex;
    flex-direction: column;
    gap: 4px;
    text-decoration: none;
}

.rhop-sb-provider-link strong {
    font-size: 16px;
    font-weight: 800;
    color: var(--rho-dark);
}

.rhop-sb-provider-link span {
    font-size: 13px;
    color: var(--rho-muted);
}

/* ── 6 · STICKY WHATSAPP ─────────────────────────────────────── */
.rhop-sticky-wa {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 9000;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #25D366;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37,211,102,.45);
    transition: transform .2s, box-shadow .2s;
    text-decoration: none;
}
.rhop-sticky-wa:hover {
    transform: scale(1.12);
    box-shadow: 0 6px 28px rgba(37,211,102,.6);
}
.rhop-sticky-wa svg { width: 28px; height: 28px; }

/* ── 7 · RESPONSIVE ──────────────────────────────────────────── */
@media (max-width: 1100px) {
    .rhop-layout {
        grid-template-columns: 1fr;
    }
    .rhop-sidebar {
        position: static;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }
    .rhop-sb-cta { grid-column: span 2; }
}

@media (max-width: 900px) {
    .rhop-hero-inner {
        grid-template-columns: 1fr;
        padding-block: 60px 48px;
    }
    .rhop-hero-stats {
        grid-template-columns: repeat(4,1fr);
        min-width: unset;
        width: 100%;
    }
    .rhop-stat-card--full { grid-column: span 1; }
    .rhop-accred-inner {
        grid-template-columns: 1fr;
        padding: 36px 28px;
    }
    .rhop-accred-badge { display: none; }
    .rhop-register-wrap {
        grid-template-columns: 1fr;
    }
    .rhop-sidebar {
        grid-template-columns: 1fr;
    }
    .rhop-sb-cta { grid-column: auto; }
}

@media (max-width: 700px) {
    .rhop-hero-stats {
        grid-template-columns: 1fr 1fr;
    }
    .rhop-stat-card--full { grid-column: span 2; }
    .rhop-why-grid { grid-template-columns: 1fr; }
    .rhop-audience-grid { grid-template-columns: 1fr; }
    .rhop-section--register { padding: 28px 20px; }
    .rhop-form-row--2 { flex-direction: column; }
    .rhop-countdown { flex-wrap: wrap; }
    .rhop-cd-block { min-width: 56px; }
}

@media (max-width: 480px) {
    .rhop-hero-stats { display: none; }
    .rhop-hero-badge-wrap { width: 100px; height: 100px; }
    .rhop-hero-badge { width: 84px; height: 84px; }
    .rhop-hero-title { font-size: 52px; }
    .rhop-section-title { font-size: 26px; }
    .rhop-cd-sep { display: none; }
}

/* ============================================================
   PEARL FRAMEWORK OVERRIDES  —  v1.1
   Force full-width for stm_events single pages so the hero,
   sections and layout panels extend to the viewport edge.
   Pearl wraps content in  .site-content > .container  which
   caps everything at 1170 px with Bootstrap gutters.
   We clear all those constraints here and re-apply internal
   max-width via .rho-container on a per-section basis.
   ============================================================ */

/* 1 · Strip Pearl's outer wrappers ----------------------- */
body.single-stm_events .site-content,
body.single-stm_events .site-content > div,
body.single-stm_events .rho-page-wrap {
    max-width: 100% !important;
    width: 100%    !important;
    padding: 0     !important;
    margin: 0      !important;
    float: none    !important;
}

/* 2 · Hero must span the full viewport width ------------- */
.rhop-hero {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

/* 3 · Layout wrapper full-width -------------------------- */
body.single-stm_events .rhop-layout,
body.single-stm_events .rhop-breadcrumb,
body.single-stm_events .rhop-section,
body.single-stm_events .rhop-register-section,
body.single-stm_events .rhop-section--alt {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

/* 4 · Pearl sometimes adds left sidebar float grid;
       disable it so our layout grid is used instead   --- */
body.single-stm_events .stm_markup__content,
body.single-stm_events .stm_markup__sidebar {
    display: none !important;
}

/* 5 · Ensure no Pearl row-expand negative margin bleeds  - */
body.single-stm_events #wrapper {
    overflow: visible;
}

/* ============================================================
   MOBILE RESPONSIVENESS  —  v1.2
   Complete mobile/tablet fixes for single-stm_events pages.
   Covers: hero, layout, sections, sidebar, forms, countdown.
   ============================================================ */

/* ── Hero: single column on all small screens ──────────────── */
@media (max-width: 768px) {
    /* Hero: stack left/right panels */
    .rhop-hero-inner {
        grid-template-columns: 1fr;
        padding-block: 48px 40px;
        gap: 28px;
    }
    .rhop-hero-right {
        display: none; /* hide the round stats card on mobile */
    }
    .rhop-hero-title {
        font-size: clamp(38px, 5vw, 52px);
    }
    .rhop-hero-subtitle {
        font-size: 16px;
    }
    .rhop-hero-ctas {
        flex-direction: column;
        gap: 10px;
    }
    .rhop-hero-ctas .rhop-btn {
        width: 100%;
        justify-content: center;
        text-align: center;
    }
    /* Breadcrumb */
    .rhop-breadcrumb {
        padding: 12px 16px;
    }
    /* Main layout: single column */
    .rhop-layout {
        grid-template-columns: 1fr;
        padding-inline: 0;
    }
    .rhop-main,
    .rhop-sidebar-col {
        padding-inline: 16px;
    }
    /* Sections */
    .rhop-section {
        padding: 32px 16px;
    }
    .rhop-section-title {
        font-size: 24px;
    }
    /* Objectives grid → single col */
    .rhop-obj-grid {
        grid-template-columns: 1fr;
    }
    /* Why grid → single col */
    .rhop-why-grid {
        grid-template-columns: 1fr;
    }
    /* Audience grid → 2 col */
    .rhop-audience-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    /* Registration form */
    .rhop-register-section {
        padding: 24px 16px;
    }
    .rhop-register-wrap {
        grid-template-columns: 1fr;
        gap: 28px;
    }
    .rhop-form-grid {
        grid-template-columns: 1fr;
    }
    /* Countdown */
    .rhop-countdown {
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px;
    }
    .rhop-cd-block {
        min-width: 60px;
    }
    /* Testimonials */
    .rhop-test-grid {
        grid-template-columns: 1fr;
    }
    /* Container padding */
    .rho-container {
        padding-inline: 16px;
    }
}

@media (max-width: 480px) {
    .rhop-hero {
        min-height: 520px;
    }
    .rhop-hero-inner {
        padding-block: 40px 32px;
    }
    .rhop-hero-badge-wrap {
        width: 90px;
        height: 90px;
    }
    .rhop-hero-badge {
        width: 74px;
        height: 74px;
    }
    .rhop-hero-title {
        font-size: 36px;
    }
    .rhop-hero-meta {
        flex-direction: column;
        gap: 8px;
    }
    .rhop-hero-meta-pill {
        font-size: 12px;
        padding: 6px 12px;
    }
    .rhop-audience-grid {
        grid-template-columns: 1fr;
    }
    .rhop-section-title {
        font-size: 22px;
    }
    .rhop-cd-sep {
        display: none;
    }
    /* Body padding for fixed header */
    .rhop-hero-stats {
        display: none;
    }
    .rhop-sticky-wa {
        width: 48px;
        height: 48px;
        bottom: 16px;
        right: 16px;
    }
}

/* ── Sidebar: mobile-first collapse ───────────────────────── */
@media (max-width: 768px) {
    .rho-sb-wrap {
        margin-inline: 16px;
        margin-bottom: 24px;
    }
}

/* ── Ensure rho-container is always bounded ──────────────── */
.rho-container {
    box-sizing: border-box;
}

/* ── Prevent horizontal scroll on mobile ─────────────────── */
body.single-stm_events {
    overflow-x: hidden;
}
body.single-stm_events .rhop-hero,
body.single-stm_events .rhop-hero-bg,
body.single-stm_events .rhop-section,
body.single-stm_events .rhop-breadcrumb {
    max-width: 100vw;
    overflow: hidden;
}
/* ================================================================
   RHO PROGRAM  —  v6 VISUAL FIX PATCH
   Applied on top of rho-program.css.
   Fixes: hero overlay, new HTML structure, button layout,
          font hierarchy, sidebar colour simplification.
   ================================================================ */

/* ── 0 · FONT SCALE (base tokens) ──────────────────────────── */
:root {
    --rho-font: 'Plus Jakarta Sans', 'DM Sans', 'Inter', 'Segoe UI', Arial, sans-serif;
    --rho-font-sz-base: 16px;
    --rho-font-sz-sm:   14px;
    --rho-font-sz-xs:   13px;
    --rho-font-sz-xxs:  12px;
}

/* ── 1 · HERO: lighter overlay + correct sizing ─────────────── */
.rhop-hero {
    min-height: 580px;          /* slightly shorter — less imposing */
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.rhop-hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center top;
    transform: scale(1.03);      /* subtle scale — was 1.06 */
    transition: transform 16s ease-in-out;
}

/* Lightened overlay so image is visible but text still readable */
.rhop-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        115deg,
        rgba(10, 20, 40, 0.78) 0%,   /* was ~0.88 — too dark */
        rgba(10, 20, 40, 0.60) 50%,
        rgba(10, 20, 40, 0.35) 100%
    );
}

/* Glow blobs */
.rhop-hero-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.12;               /* reduced from default */
    pointer-events: none;
}
.rhop-hero-glow--1 {
    width: 500px; height: 500px;
    background: var(--accent, #00A54B);
    top: -150px; right: -80px;
}
.rhop-hero-glow--2 {
    width: 300px; height: 300px;
    background: var(--accent-dark, #006E30);
    bottom: -60px; left: 20%;
}

/* ── 2 · HERO INNER GRID ────────────────────────────────────── */
.rhop-hero-inner {
    position: relative;
    z-index: 2;
    padding-block: 72px 56px;
    width: 100%;
}

/* Two-column: left text (2fr) + right booking card (1fr capped) */
.rhop-hero-grid {
    display: grid;
    grid-template-columns: 2fr minmax(0, 340px);
    gap: 48px;
    align-items: start;
}

/* ── 3 · HERO LEFT COLUMN ───────────────────────────────────── */
/* Badge + code pill + provider text */
.rhop-hero-identity {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 22px;
}

.rhop-hero-badge-ring {
    width: 88px;
    height: 88px;
    border-radius: 50%;
    background: rgba(255,255,255,0.10);
    border: 2px solid rgba(255,255,255,0.22);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 24px rgba(0,0,0,0.30);
}

.rhop-hero-badge-img {
    width: 70px;
    height: 70px;
    object-fit: contain;
    filter: drop-shadow(0 2px 8px rgba(0,0,0,0.35));
    border-radius: 50%;
}

.rhop-hero-identity-text {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.rhop-hero-code {
    display: inline-block;
    background: var(--accent, #00A54B);
    color: #fff;
    font-size: var(--rho-font-sz-xxs);   /* 12px */
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 3px 11px;
    border-radius: 20px;
    width: fit-content;
}

.rhop-hero-provider {
    font-size: var(--rho-font-sz-sm);   /* 14px — was tiny */
    color: rgba(255,255,255,0.82);
    font-weight: 400;
}
.rhop-hero-provider a {
    color: rgba(255,255,255,0.95);
    text-decoration: underline;
    text-underline-offset: 2px;
}

/* Title */
.rhop-hero-title {
    font-family: var(--rho-font);
    font-size: clamp(48px, 4vw, 80px);
    font-weight: 800;
    line-height: 1.18;
    letter-spacing: -0.02em;
    color: #fff;
    margin-bottom: 14px;
}

/* Subtitle */
.rhop-hero-subtitle {
    font-size: clamp(17px, 1.5vw, 20px);
    line-height: 1.65;
    color: rgba(255,255,255,0.88);
    margin-bottom: 22px;
    max-width: 560px;
}

/* Meta pills row */
.rhop-hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 28px;
}

.rhop-meta-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.22);
    border-radius: 24px;
    padding: 6px 14px;
    font-size: var(--rho-font-sz-xs);   /* 13px */
    color: rgba(255,255,255,0.92);
    font-weight: 500;
    white-space: nowrap;
}
.rhop-meta-pill svg { opacity: 0.75; flex-shrink: 0; }

/* ── 4 · CTA BUTTONS (hero left) ────────────────────────────── */
.rhop-hero-ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

.rhop-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--rho-font);
    font-size: var(--rho-font-sz-sm);   /* 14px — was variable */
    font-weight: 700;
    border-radius: 10px;
    border: 2px solid transparent;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.22s ease, transform 0.18s ease, box-shadow 0.18s ease, border-color 0.22s ease;
    line-height: 1;
    white-space: nowrap;
}

.rhop-btn--lg {
    padding: 13px 24px;
    font-size: 16px;
}

.rhop-btn--primary {
    background: var(--accent, #00A54B);
    color: #fff;
    border-color: var(--accent, #00A54B);
    box-shadow: 0 4px 16px rgba(0,0,0,0.18);
}
.rhop-btn--primary:hover {
    filter: brightness(1.1);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.22);
}

.rhop-btn--ghost {
    background: rgba(255,255,255,0.12);
    color: #fff;
    border-color: rgba(255,255,255,0.35);
    backdrop-filter: blur(4px);
}
.rhop-btn--ghost:hover {
    background: rgba(255,255,255,0.20);
    border-color: rgba(255,255,255,0.55);
    transform: translateY(-2px);
}

.rhop-btn--wa {
    background: #25D366;
    color: #fff;
    border-color: #25D366;
}
.rhop-btn--wa:hover {
    background: #1da851;
    border-color: #1da851;
    transform: translateY(-2px);
}

/* Full-width variant — only for booking card, NOT for side-by-side */
.rhop-btn--full {
    width: 100%;
    justify-content: center;
}

/* ── 5 · BOOKING CARD (hero right) ──────────────────────────── */
.rhop-booking-card {
    background: rgba(255,255,255,0.97);
    border-radius: 18px;
    padding: 22px 20px 20px;
    box-shadow: 0 8px 40px rgba(0,0,0,0.28);
    color: #0f1b2d;
    display: flex;
    flex-direction: column;
    gap: 14px;
    border: 1px solid rgba(255,255,255,0.6);
    overflow: hidden;
}

.rhop-booking-card-head {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: var(--rho-font-sz-xs);    /* 13px */
    font-weight: 700;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    padding-bottom: 10px;
    border-bottom: 1px solid #e5e7eb;
}
.rhop-booking-card-head svg { color: var(--accent, #00A54B); flex-shrink: 0; }

.rhop-booking-date {
    font-size: 20px;
    font-weight: 800;
    color: #0f1b2d;
    line-height: 1.3;
}

.rhop-booking-time {
    font-size: var(--rho-font-sz-sm);
    color: #374151;
    margin-top: -8px;
}

.rhop-booking-loc {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: var(--rho-font-sz-xs);
    color: #6b7280;
    margin-top: -4px;
}
.rhop-booking-loc svg { flex-shrink: 0; }

/* Countdown inside booking card */
.rhop-booking-card .rhop-countdown {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    background: #f3f4f6;
    border-radius: 10px;
    padding: 10px 8px;
}

.rhop-booking-card .rhop-cd-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 44px;
}

.rhop-booking-card .rhop-cd-val {
    font-size: 22px;
    font-weight: 900;
    color: var(--accent, #00A54B);
    line-height: 1;
}

.rhop-booking-card .rhop-cd-lbl {
    font-size: 11px;
    font-weight: 600;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-top: 3px;
}

.rhop-booking-card .rhop-cd-sep {
    font-size: 18px;
    font-weight: 900;
    color: var(--accent, #00A54B);
    opacity: 0.55;
    margin-bottom: 12px;
}

/* Seats bar */
.rhop-seats-wrap { display: flex; flex-direction: column; gap: 6px; }
.rhop-seats-label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: var(--rho-font-sz-xs);
    font-weight: 600;
}
.rhop-seats-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: currentColor;
    flex-shrink: 0;
}
.rhop-seats--red   { color: #dc2626; }
.rhop-seats--amber { color: #d97706; }
.rhop-seats--green { color: #16a34a; }
.rhop-seats-bar {
    height: 6px;
    background: #e5e7eb;
    border-radius: 4px;
    overflow: hidden;
}
.rhop-seats-fill {
    height: 100%;
    border-radius: 4px;
    transition: width 0.8s ease;
}

/* Stats row */
.rhop-booking-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
    padding: 10px 0 2px;
    border-top: 1px solid #e5e7eb;
}

.rhop-bs-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.rhop-bs-val {
    font-size: 18px;
    font-weight: 900;
    line-height: 1.2;
}

.rhop-bs-lbl {
    font-size: 11px;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 2px;
    white-space: nowrap;
}

/* Booking card CTA buttons — side by side, compact */
.rhop-booking-cta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    /* Pull buttons flush to card edges to fill full width */
    margin: 6px -20px -20px;
    padding: 14px 20px 20px;
    background: #f9fafb;
    border-top: 1px solid #e5e7eb;
}

.rhop-booking-cta .rhop-btn {
    font-size: 14px;
    padding: 11px 12px;
    border-radius: 9px;
    justify-content: center;
    width: 100%;
    gap: 5px;
}
/* Override the --full width since we're using grid */
.rhop-booking-cta .rhop-btn--full {
    width: 100%;
}

/* ── 6 · BODY CONTENT FONT SIZES ────────────────────────────── */
/* Section titles */
.rhop-section-title {
    font-family: var(--rho-font);
    font-size: clamp(24px, 2vw, 34px);
    font-weight: 800;
    color: #0f1b2d;
    line-height: 1.25;
    margin-bottom: 6px;
}

.rhop-section-eyebrow {
    font-size: var(--rho-font-sz-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--accent, #00A54B);
    margin-bottom: 6px;
    display: block;
}

/* Body prose */
.rhop-section p,
.rhop-overview-text,
.rhop-section-body {
    font-size: var(--rho-font-sz-base);  /* 16px — not smaller */
    line-height: 1.75;
    color: #374151;
}

/* Objective cards */
.rhop-obj-item {
    padding: 18px 20px;
    background: #f9fafb;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    font-size: var(--rho-font-sz-base);   /* was often too small */
    color: #0f1b2d;
    line-height: 1.6;
}

/* Learning objective list items */
.rhop-lo-item {
    font-size: var(--rho-font-sz-base);
    color: #374151;
    line-height: 1.65;
    padding: 8px 0;
}

/* ── 7 · SIDEBAR COLOUR SIMPLIFICATION ─────────────────────── */
/* Remove per-card colour background tints — use neutral hover only */
.rho-sb-card:hover {
    background: #f9fafb;  /* plain light grey — no tinted colours */
}
.rho-sb-card--active {
    background: #f3f4f6;  /* slightly darker neutral for current */
}
/* Remove the coloured shimmer on active */
.rho-sb-card--active::after {
    display: none;
}

/* Simplify badge border to a neutral colour */
.rho-sb-badge-img {
    background: #f8f8f8;
    border: 2px solid #e5e7eb;          /* neutral grey, not coloured */
    padding: 3px;
}
.rho-sb-card:hover .rho-sb-badge-img,
.rho-sb-card--active .rho-sb-badge-img {
    border-color: var(--card-accent);   /* accent only on hover/active */
    box-shadow: none;
    transform: none;                     /* remove rotate animation */
}

/* Tag pill: reduce colour intensity */
.rho-sb-tag {
    background: #f3f4f6;
    color: var(--sb-dark);
    border-color: #d1d5db;
    font-size: 10px;
}

/* Simplify CTA button */
.rho-sb-cta-btn {
    background: var(--sb-dark);          /* dark neutral instead of accent */
    color: #fff;
    font-size: var(--rho-font-sz-xs);
}
.rho-sb-cta-btn:hover {
    background: #1f2d40;
    transform: none;
}
.rho-sb-cta-btn--current {
    background: var(--card-accent);      /* accent only for current prog */
    color: #fff;
}

/* Meta row items */
.rho-sb-meta-item {
    font-size: var(--rho-font-sz-xxs);  /* 12px — compact but readable */
    color: #6b7280;
}

/* Progress bar accent */
.rho-sb-bar-fill--alumni {
    background: #0f1b2d;     /* dark neutral instead of multiple colours */
}
.rho-sb-bar-fill--seats.rho-sb-seats--red   { background: #dc2626; }
.rho-sb-bar-fill--seats.rho-sb-seats--amber { background: #d97706; }
.rho-sb-bar-fill--seats.rho-sb-seats--green { background: #16a34a; }

/* Stats strip — reduce gold to white/muted */
.rho-sb-stat-val {
    color: #fff;                /* was #facc15 gold — too loud */
    font-size: 18px;
}

/* ── 8 · RESPONSIVE FIXES FOR NEW STRUCTURE ─────────────────── */
@media (max-width: 960px) {
    .rhop-hero-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }
    .rhop-booking-card {
        max-width: 420px;
        margin-inline: auto;
    }
    .rhop-hero-title {
        font-size: clamp(44px, 4vw, 60px);
    }
}

@media (max-width: 768px) {
    .rhop-hero {
        min-height: 480px;
    }
    .rhop-hero-inner {
        padding-block: 44px 36px;
    }
    .rhop-hero-grid {
        grid-template-columns: 1fr;
    }
    /* On mobile, booking card comes BELOW the text */
    .rhop-booking-card {
        max-width: 100%;
    }
    .rhop-hero-identity {
        gap: 12px;
        margin-bottom: 16px;
    }
    .rhop-hero-badge-ring {
        width: 72px;
        height: 72px;
    }
    .rhop-hero-badge-img {
        width: 56px;
        height: 56px;
    }
    .rhop-hero-title {
        font-size: 42px;
    }
    .rhop-hero-ctas {
        gap: 10px;
    }
    .rhop-hero-ctas .rhop-btn--lg {
        padding: 11px 20px;
        font-size: 15px;
    }
    /* Booking card CTA stays 2-col on mobile too */
    .rhop-booking-cta {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }
    .rhop-booking-stats {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 480px) {
    .rhop-hero {
        min-height: 440px;
    }
    .rhop-hero-inner {
        padding-block: 36px 28px;
    }
    .rhop-hero-title {
        font-size: 36px;
    }
    .rhop-hero-subtitle {
        font-size: 16px;
    }
    .rhop-meta-pill {
        font-size: 11px;
        padding: 5px 10px;
    }
    /* Stack booking card CTAs on very small screens */
    .rhop-booking-cta {
        grid-template-columns: 1fr;
    }
    .rhop-booking-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
    .rhop-hero-meta {
        gap: 6px;
    }
}


/* END rho-program.css */

/* ═══════════════════════════════════════════════════════════════════════
   RHO PROGRAM HERO v11 — PREMIUM GEOMETRIC GRADIENT
   No background photo — accent-colour driven, fully CSS/SVG.
   Each program's accent creates a unique visual identity.
   ═══════════════════════════════════════════════════════════════════════ */

/* ── BASE SHELL ──────────────────────────────────────────────────────── */
body.single-stm_events .rhop-hero {
    position: relative;
    min-height: 660px;
    background: #080f1d;        /* deep navy base */
    overflow: hidden;
    color: #fff;
    display: flex;
    align-items: center;
    /* Accent top-border: 4px stripe in program accent colour */
    border-top: 4px solid var(--accent, #00A54B);
}

/* ── CANVAS: contains all background layers ─────────────────────────── */
body.single-stm_events .rhop-hero-canvas {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

/* ── DOT GRID PATTERN ────────────────────────────────────────────────── */
body.single-stm_events .rhop-hero-dots {
    position: absolute;
    inset: 0;
    /* CSS-only dot pattern — no external image */
    background-image:
        radial-gradient(circle, rgba(255,255,255,0.06) 1px, transparent 1px);
    background-size: 28px 28px;
    /* Fade out at the edges so dots don't fight with text */
    mask-image: radial-gradient(ellipse 85% 90% at 50% 50%, black 50%, transparent 100%);
    -webkit-mask-image: radial-gradient(ellipse 85% 90% at 50% 50%, black 50%, transparent 100%);
    pointer-events: none;
}

/* ── ACCENT GLOW BLOBS ──────────────────────────────────────────────── */
body.single-stm_events .rhop-hero-glow {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

/* Primary glow — top-right; large, soft, uses accent colour */
body.single-stm_events .rhop-hero-glow--1 {
    width: 680px;
    height: 680px;
    background: var(--accent, #00A54B);
    filter: blur(110px);
    opacity: 0.20;
    top: -220px;
    right: -120px;
    animation: rhop-pulse 8s ease-in-out infinite alternate;
}

/* Secondary glow — bottom-left; smaller, subtle */
body.single-stm_events .rhop-hero-glow--2 {
    width: 360px;
    height: 360px;
    background: var(--accent-dark, #005f28);
    filter: blur(90px);
    opacity: 0.14;
    bottom: -100px;
    left: 5%;
    animation: rhop-pulse 11s ease-in-out infinite alternate-reverse;
}

/* Tertiary glow — centre-right; fills in the mid-area */
body.single-stm_events .rhop-hero-glow--3 {
    width: 420px;
    height: 420px;
    background: var(--accent, #00A54B);
    filter: blur(130px);
    opacity: 0.09;
    top: 30%;
    right: 22%;
}

@keyframes rhop-pulse {
    from { opacity: 0.18; transform: scale(1); }
    to   { opacity: 0.24; transform: scale(1.06); }
}

/* ── DIAGONAL ACCENT STRIPE ─────────────────────────────────────────── */
/* A sharp, thin diagonal bar — gives the hero a dynamic, editorial feel */
body.single-stm_events .rhop-hero-stripe {
    position: absolute;
    top: 0;
    right: 28%;        /* positioned in the right third */
    width: 2px;
    height: 100%;
    background: linear-gradient(
        to bottom,
        transparent 0%,
        rgba(var(--hero-rgb, 0,165,75), 0.35) 20%,
        rgba(var(--hero-rgb, 0,165,75), 0.55) 50%,
        rgba(var(--hero-rgb, 0,165,75), 0.25) 80%,
        transparent 100%
    );
    transform: skewX(-18deg);
    pointer-events: none;
}
/* Second stripe offset slightly for depth */
body.single-stm_events .rhop-hero-stripe::after {
    content: '';
    position: absolute;
    top: 0; left: -40px;
    width: 1px; height: 100%;
    background: inherit;
    opacity: 0.45;
}

/* ── HERO INNER & GRID ──────────────────────────────────────────────── */
body.single-stm_events .rhop-hero-inner {
    position: relative;
    z-index: 2;
    padding-block: 72px 56px;
    width: 100%;
}

body.single-stm_events .rhop-hero-grid {
    display: grid;
    grid-template-columns: 1fr minmax(0, 360px);
    gap: 52px;
    align-items: start;
}

/* ── IDENTITY ROW (badge + code + provider) ─────────────────────────── */
body.single-stm_events .rhop-hero-identity {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 24px;
}

/* Badge ring: glassmorphism style */
body.single-stm_events .rhop-hero-badge-ring {
    width: 108px;
    height: 108px;
    border-radius: 50%;
    background: rgba(255,255,255,0.07);
    border: 2px solid rgba(var(--hero-rgb, 0,165,75), 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow:
        0 0 0 6px rgba(var(--hero-rgb, 0,165,75), 0.10),
        0 8px 32px rgba(0,0,0,0.45);
    position: relative;
}
/* Subtle ring pulse animation */
body.single-stm_events .rhop-hero-badge-ring::before {
    content: '';
    position: absolute;
    inset: -10px;
    border-radius: 50%;
    border: 1px solid rgba(var(--hero-rgb, 0,165,75), 0.20);
    animation: rhop-ring-pulse 4s ease-in-out infinite;
}
@keyframes rhop-ring-pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%       { opacity: 0; transform: scale(1.15); }
}

body.single-stm_events .rhop-hero-badge-img {
    width: 84px;
    height: 84px;
    object-fit: contain;
    filter: drop-shadow(0 4px 12px rgba(0,0,0,0.40));
}

/* Code pill */
body.single-stm_events .rhop-hero-code {
    display: inline-block;
    background: var(--accent, #00A54B);
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.10em;
    text-transform: uppercase;
    padding: 4px 14px;
    border-radius: 20px;
    width: fit-content;
    box-shadow: 0 2px 12px rgba(var(--hero-rgb, 0,165,75), 0.40);
}

/* Provider text */
body.single-stm_events .rhop-hero-provider {
    color: rgba(255,255,255,0.72);
    margin-top: 4px;
}
body.single-stm_events .rhop-hero-provider a {
    color: rgba(255,255,255,0.90);
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* ── META PILLS ─────────────────────────────────────────────────────── */
body.single-stm_events .rhop-meta-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.16);
    border-radius: 24px;
    padding: 7px 15px;
    color: rgba(255,255,255,0.90);
    font-weight: 500;
    white-space: nowrap;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}
body.single-stm_events .rhop-meta-pill svg { opacity: 0.70; }

/* ── CTA BUTTONS ────────────────────────────────────────────────────── */
body.single-stm_events .rhop-hero-ctas { margin-top: 32px; }

body.single-stm_events .rhop-btn--primary {
    box-shadow:
        0 4px 20px rgba(var(--hero-rgb, 0,165,75), 0.45),
        inset 0 1px 0 rgba(255,255,255,0.20);
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}
body.single-stm_events .rhop-btn--primary:hover {
    transform: translateY(-2px);
    box-shadow:
        0 8px 28px rgba(var(--hero-rgb, 0,165,75), 0.60),
        inset 0 1px 0 rgba(255,255,255,0.25);
}
body.single-stm_events .rhop-btn--ghost {
    border-color: rgba(255,255,255,0.30);
    background: rgba(255,255,255,0.06);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}
body.single-stm_events .rhop-btn--ghost:hover {
    background: rgba(255,255,255,0.12);
    border-color: rgba(255,255,255,0.50);
}

/* ── BOOKING CARD: glassmorphism upgrade ────────────────────────────── */
body.single-stm_events .rhop-booking-card {
    background: rgba(8, 14, 28, 0.72) !important;
    border: 1px solid rgba(var(--hero-rgb, 0,165,75), 0.22) !important;
    border-radius: 20px !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    box-shadow:
        0 2px 0 0 var(--accent, #00A54B),   /* accent top border */
        0 24px 60px rgba(0,0,0,0.45),
        inset 0 1px 0 rgba(255,255,255,0.06) !important;
    padding: 28px !important;
    position: relative;
    overflow: hidden;
}
/* Subtle inner glow on booking card top */
body.single-stm_events .rhop-booking-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(var(--hero-rgb, 0,165,75), 0.60) 40%,
        rgba(var(--hero-rgb, 0,165,75), 0.60) 60%,
        transparent
    );
}

/* ── HERO STAT STRIP ─────────────────────────────────────────────────── */
body.single-stm_events .rhop-hero-stats {
    margin-top: 40px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: rgba(255,255,255,0.08);
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.10);
}
body.single-stm_events .rhop-stat-item {
    background: rgba(8, 14, 28, 0.50);
    padding: 16px 20px;
    backdrop-filter: blur(8px);
}

/* ── RESPONSIVE ─────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
    body.single-stm_events .rhop-hero-grid {
        grid-template-columns: 1fr minmax(0, 320px);
        gap: 36px;
    }
    body.single-stm_events .rhop-hero-glow--1 { width: 500px; height: 500px; }
}

@media (max-width: 860px) {
    body.single-stm_events .rhop-hero {
        min-height: auto;
    }
    body.single-stm_events .rhop-hero-grid {
        grid-template-columns: 1fr;
    }
    body.single-stm_events .rhop-booking-card {
        max-width: 480px;
    }
    body.single-stm_events .rhop-hero-stripe { display: none; }
    body.single-stm_events .rhop-hero-glow--1 {
        width: 380px; height: 380px;
        top: -100px; right: -80px;
    }
}

@media (max-width: 480px) {
    body.single-stm_events .rhop-hero { border-top-width: 3px; }
    body.single-stm_events .rhop-hero-inner { padding-block: 48px 36px; }
    body.single-stm_events .rhop-hero-badge-ring {
        width: 80px; height: 80px;
    }
    body.single-stm_events .rhop-hero-badge-img {
        width: 62px; height: 62px;
    }
}

/* END HERO v11 */
