/*
 * FINAL public education theme
 * Reference direction: dark institutional green, warm gold, cream background,
 * white cards, readable ink text, generous rounded cards and form controls.
 * This file is the single public-theme authority and is loaded LAST.
 */

:root {
    --edu-primary: #c99a3f;
    --edu-secondary: #153f2d;
    --edu-navy: #153f2d;
    --edu-ink: #1d1d1f;
    --edu-muted: #667085;
    --edu-bg: #fbf7ee;
    --edu-soft: #f1e5cf;
    --edu-soft-gold: #f7edd9;
    --edu-white: #ffffff;
    --edu-line: rgba(21, 63, 45, .13);
    --edu-shadow: 0 24px 64px rgba(21, 63, 45, .13);
    --edu-shadow-sm: 0 14px 36px rgba(21, 63, 45, .09);
    --edu-radius: 24px;
    --edu-radius-sm: 18px;
}

html { scroll-behavior: smooth; }

body,
html body,
.wrapper,
.page-content,
main,
.section,
.news-page,
.article-page,
.smart-content,
.online-form-shell,
.admission-hero,
.uni-page,
section[style*="#f5f7fc"],
section[style*="f5f7fc"] {
    background: var(--edu-bg) !important;
    color: var(--edu-ink) !important;
}

body {
    min-height: 100vh;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif !important;
    background:
        radial-gradient(900px 420px at 3% 1%, color-mix(in srgb, var(--edu-primary) 9%, transparent), transparent 62%),
        radial-gradient(820px 380px at 98% 4%, color-mix(in srgb, var(--edu-secondary) 8%, transparent), transparent 60%),
        var(--edu-bg) !important;
    letter-spacing: 0 !important;
}

html[dir="rtl"] body {
    font-family: Tahoma, Arial, sans-serif !important;
}

main {
    position: relative;
    overflow: hidden;
}

main::before {
    content: none !important;
}

body :where(h1, h2, h3, h4, h5, h6, strong, label),
.text-dark,
.fw-bold,
.fw-semibold,
.fw-extrabold,
.card-title {
    color: var(--edu-ink) !important;
}

body :where(p, li, small, .small, .text-muted, .text-muted2, .text-body-secondary, .text-secondary) {
    color: var(--edu-muted) !important;
}

a:not(.btn):not(.dropdown-item):not(.nav-link) {
    color: var(--edu-primary) !important;
    text-decoration: none;
}

a:not(.btn):not(.dropdown-item):not(.nav-link):hover {
    color: var(--edu-navy) !important;
}

/* ---------- Header / navigation ---------- */
.lms-nav,
.navbar.lms-nav {
    background: rgba(255, 255, 255, .96) !important;
    border: 0 !important;
    border-bottom: 1px solid var(--edu-line) !important;
    box-shadow: 0 8px 28px rgba(22, 34, 75, .07) !important;
    backdrop-filter: blur(16px) !important;
    padding-top: 10px;
    padding-bottom: 10px;
}

.lms-nav .nav-logo {
    height: 52px !important;
    width: auto !important;
    max-width: 190px;
    object-fit: contain;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
}

.lms-nav .navbar-nav .nav-link,
.lms-nav .nav-link {
    color: #27324c !important;
    font-weight: 750 !important;
    padding: 10px 11px !important;
    border-radius: 10px !important;
    opacity: 1 !important;
}

.lms-nav .navbar-nav .nav-link:hover,
.lms-nav .navbar-nav .nav-link.active,
.lms-nav .nav-link:hover,
.lms-nav .nav-link.active {
    color: var(--edu-primary) !important;
    background: color-mix(in srgb, var(--edu-primary) 9%, white) !important;
}

.navbar-light .navbar-toggler,
.navbar .navbar-toggler {
    border: 1px solid var(--edu-line) !important;
    color: var(--edu-navy) !important;
    background: #fff !important;
    box-shadow: none !important;
}

.navbar-light .navbar-toggler-icon {
    background-image: var(--bs-navbar-toggler-icon-bg);
}

.dropdown-menu {
    background: #fff !important;
    border: 1px solid var(--edu-line) !important;
    border-radius: 14px !important;
    box-shadow: 0 20px 52px rgba(22, 34, 75, .14) !important;
    padding: 8px !important;
}

.dropdown-item,
.dropdown-header {
    color: var(--edu-ink) !important;
}

.dropdown-item {
    border-radius: 10px !important;
    font-weight: 650;
}

.dropdown-item:hover,
.dropdown-item.active {
    background: color-mix(in srgb, var(--edu-primary) 10%, white) !important;
    color: var(--edu-primary) !important;
}

.dropdown-divider { border-color: var(--edu-line) !important; }

/* ---------- Buttons ---------- */
.btn,
.aoe-btn {
    border-radius: 10px !important;
    font-weight: 800 !important;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease !important;
}

.btn:hover,
.aoe-btn:hover {
    transform: translateY(-2px);
    text-decoration: none !important;
}

.btn-accent,
.btn-warning,
.aoe-btn-primary {
    background: var(--edu-primary) !important;
    border-color: var(--edu-primary) !important;
    color: #fff !important;
    box-shadow: 0 12px 26px color-mix(in srgb, var(--edu-primary) 24%, transparent) !important;
}

.btn-accent:hover,
.btn-warning:hover,
.aoe-btn-primary:hover {
    color: #fff !important;
    filter: brightness(.96);
}

.btn-outline-light,
.btn-outline-dark,
.btn-info-soft,
.btn-success-soft,
.btn-light,
.btn-primary,
.btn-outline-primary,
.aoe-btn-ghost {
    background: #fff !important;
    border: 1px solid var(--edu-line) !important;
    color: var(--edu-navy) !important;
    box-shadow: none !important;
}

.btn-outline-light:hover,
.btn-outline-dark:hover,
.btn-info-soft:hover,
.btn-success-soft:hover,
.btn-light:hover,
.btn-primary:hover,
.btn-outline-primary:hover,
.aoe-btn-ghost:hover {
    background: var(--edu-navy) !important;
    border-color: var(--edu-navy) !important;
    color: #fff !important;
}

/* ---------- Shared cards / panels ---------- */
.card,
.card-soft,
.glass,
.alert-soft,
.news-toolbar,
.news-card,
.sidebar-box,
.article-main,
.article-box,
.uni-content-card,
.uni-side-card,
.uni-panel,
.uni-cta,
.uni-mini-card,
.uni-stat,
.empty-news,
.smart-content-card,
.smart-side-card,
.smart-cta,
.online-form-card,
.online-form-side,
.admission-side-card,
.admission-form-card,
.contact-hero-card,
.contact-info,
.contact-form-card,
.contact-social-card,
.contact-detail,
.contact-mini-map,
.explore-card,
.explore-panel,
.explore-search,
.content-card,
.related-list a,
.list-group-item,
.modal-content,
.offcanvas,
.content-action {
    background: #fff !important;
    border: 1px solid var(--edu-line) !important;
    border-radius: var(--edu-radius-sm) !important;
    color: var(--edu-ink) !important;
    box-shadow: var(--edu-shadow-sm) !important;
    backdrop-filter: none !important;
}

.card:hover,
.card-soft:hover,
.news-card:hover,
.sidebar-box:hover,
.article-box:hover,
.explore-card:hover,
.content-card:hover {
    border-color: color-mix(in srgb, var(--edu-primary) 28%, var(--edu-line)) !important;
}

.badge-soft,
.badge-success-soft,
.news-kicker,
.article-meta span {
    background: color-mix(in srgb, var(--edu-primary) 9%, white) !important;
    border: 1px solid color-mix(in srgb, var(--edu-primary) 18%, white) !important;
    color: var(--edu-primary) !important;
    border-radius: 999px !important;
}

/* ---------- Forms ---------- */
.form-control,
.form-select,
.input-group-text,
.form-check-input {
    background: #fff !important;
    border-color: rgba(22, 34, 75, .15) !important;
    color: var(--edu-ink) !important;
    border-radius: 10px !important;
}

.form-control::placeholder { color: #98a1b3 !important; }

.form-control:focus,
.form-select:focus,
.form-check-input:focus {
    border-color: color-mix(in srgb, var(--edu-primary) 55%, white) !important;
    box-shadow: 0 0 0 4px color-mix(in srgb, var(--edu-primary) 12%, transparent) !important;
}

.form-select option { color: var(--edu-ink) !important; background: #fff !important; }

.table {
    --bs-table-bg: transparent;
    --bs-table-color: var(--edu-ink);
    --bs-table-border-color: var(--edu-line);
    color: var(--edu-ink) !important;
}

.table thead th { color: var(--edu-navy) !important; }

/* ---------- Inner-page hero: Eduleb-style clean banner ---------- */
.uni-hero,
.public-page-banner {
    min-height: 330px !important;
    padding: 70px 0 62px !important;
    color: var(--edu-ink) !important;
    background:
        linear-gradient(90deg, rgba(247,248,253,.96), rgba(247,248,253,.84)),
        var(--uni-hero-image) center/cover !important;
    border-bottom: 1px solid var(--edu-line);
}

.uni-hero::after {
    background:
        url('../img/bg/shape-1.png') center bottom/cover no-repeat !important;
    opacity: .20;
}

.uni-breadcrumb,
.uni-breadcrumb a,
.uni-breadcrumb strong {
    color: var(--edu-muted) !important;
}

.uni-breadcrumb a:hover { color: var(--edu-primary) !important; }

.uni-kicker,
.online-form-kicker,
.form-section-title,
.banner-kicker {
    background: color-mix(in srgb, var(--edu-primary) 9%, white) !important;
    border: 1px solid color-mix(in srgb, var(--edu-primary) 22%, white) !important;
    color: var(--edu-primary) !important;
    border-radius: 999px !important;
}

.uni-hero h1,
.uni-hero-grid h1,
.public-page-banner h1,
.banner-title {
    color: var(--edu-navy) !important;
    font-size: clamp(36px, 5vw, 64px) !important;
    line-height: 1.06 !important;
    letter-spacing: -.02em !important;
}

.uni-hero p,
.banner-subtitle {
    color: var(--edu-muted) !important;
}

.uni-hero-meta span {
    color: var(--edu-navy) !important;
    background: #fff !important;
    border: 1px solid var(--edu-line) !important;
}

.uni-page,
.news-page,
.article-page,
.smart-content,
.online-form-shell {
    padding-top: 64px !important;
    padding-bottom: 84px !important;
}

.uni-section-title span {
    background: color-mix(in srgb, var(--edu-primary) 11%, white) !important;
    color: var(--edu-primary) !important;
}

.uni-section-title h2,
.uni-cta h2,
.article-main h2,
.article-body h1,
.article-body h2,
.article-body h3,
.article-box h3,
.news-heading h2,
.news-card h3 a,
.sidebar-box h3,
.related-list a,
.sidebar-list a {
    color: var(--edu-navy) !important;
}

.uni-rich-text,
.article-body,
.article-body p,
.news-heading p,
.news-card p,
.related-list small,
.sidebar-list small,
.empty-news p {
    color: var(--edu-muted) !important;
}

/* ---------- Public forms ---------- */
.online-form-shell::before {
    background:
        radial-gradient(680px 380px at 9% 8%, color-mix(in srgb, var(--edu-primary) 9%, transparent), transparent 62%),
        radial-gradient(780px 420px at 92% 18%, color-mix(in srgb, var(--edu-secondary) 8%, transparent), transparent 60%) !important;
}

.online-form-title,
.online-form-side h2,
.contact-form-card h2,
.contact-info h2 {
    color: var(--edu-navy) !important;
}

.online-form-subtitle,
.online-form-side p,
.online-form-note,
.online-form-step small {
    color: var(--edu-muted) !important;
}

.online-form-icon,
.online-form-step span {
    background: color-mix(in srgb, var(--edu-primary) 12%, white) !important;
    color: var(--edu-primary) !important;
    border-color: color-mix(in srgb, var(--edu-primary) 22%, white) !important;
}

/* ---------- Home page ---------- */
.aoe-home {
    --ink: var(--edu-ink) !important;
    --muted-ink: var(--edu-muted) !important;
    --line: var(--edu-line) !important;
    --panel: #fff !important;
    --panel-strong: #fff !important;
    --gold: var(--edu-primary) !important;
    --red: var(--edu-secondary) !important;
    --green: var(--edu-secondary) !important;
    --blue: var(--edu-primary) !important;
    color: var(--edu-ink) !important;
    background: var(--edu-bg) !important;
}

.aoe-hero {
    min-height: 660px !important;
    background:
        url('../img/bg/home-bg.jpg') center/cover no-repeat,
        #eef0ff !important;
    color: var(--edu-ink) !important;
    border-bottom: 1px solid var(--edu-line);
}

.aoe-hero::before {
    background:
        linear-gradient(90deg, rgba(238,240,255,.99) 0%, rgba(238,240,255,.93) 52%, rgba(238,240,255,.70) 100%),
        var(--hero-bg) center/cover !important;
    opacity: .52;
    transform: none !important;
}

.aoe-grid-pattern {
    background-image:
        linear-gradient(color-mix(in srgb, var(--edu-primary) 8%, transparent) 1px, transparent 1px),
        linear-gradient(90deg, color-mix(in srgb, var(--edu-primary) 8%, transparent) 1px, transparent 1px) !important;
    background-size: 56px 56px !important;
    mask-image: linear-gradient(90deg, rgba(0,0,0,.48), transparent 76%) !important;
    opacity: .55;
}

.aoe-hero-inner {
    grid-template-columns: minmax(0, 1fr) minmax(340px, .72fr) !important;
    gap: 46px !important;
    padding-top: 74px !important;
    padding-bottom: 54px !important;
}

.aoe-kicker {
    color: var(--edu-primary) !important;
    border-color: color-mix(in srgb, var(--edu-primary) 24%, white) !important;
    background: color-mix(in srgb, var(--edu-primary) 9%, white) !important;
    padding: 8px 14px !important;
}

.aoe-hero-copy h1 {
    color: var(--edu-navy) !important;
    max-width: 820px !important;
    margin: 22px 0 20px !important;
    font-size: clamp(48px, 6vw, 82px) !important;
    line-height: 1.03 !important;
    letter-spacing: -.035em !important;
}

.aoe-hero-copy p {
    color: var(--edu-muted) !important;
    max-width: 720px !important;
    font-size: clamp(17px, 1.6vw, 20px) !important;
    line-height: 1.75 !important;
}

.aoe-hero-panel {
    position: relative;
    min-height: 470px;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
}

.aoe-hero-visual {
    position: relative;
    min-height: 470px;
    display: flex;
    align-items: end;
    justify-content: center;
}

.aoe-hero-visual::before {
    content: "";
    position: absolute;
    width: min(430px, 92%);
    aspect-ratio: 1;
    border-radius: 50%;
    background: color-mix(in srgb, var(--edu-primary) 11%, white);
    bottom: 6px;
    left: 50%;
    transform: translateX(-50%);
    border: 1px solid color-mix(in srgb, var(--edu-primary) 12%, white);
}

.aoe-hero-illustration {
    position: relative;
    z-index: 2;
    width: min(460px, 100%);
    max-height: 520px;
    object-fit: contain;
    filter: drop-shadow(0 24px 28px rgba(22,34,75,.12));
}

.aoe-hero-badge {
    position: absolute;
    z-index: 3;
    right: 5%;
    bottom: 30px;
    width: min(250px, 70%);
    padding: 18px 20px;
    border-radius: 16px;
    background: rgba(255,255,255,.94);
    border: 1px solid var(--edu-line);
    box-shadow: var(--edu-shadow);
}

.aoe-hero-badge span,
.aoe-hero-badge small {
    color: var(--edu-muted) !important;
}

.aoe-hero-badge strong {
    display: block;
    color: var(--edu-navy) !important;
    font-size: 26px;
    margin: 4px 0;
}

.aoe-section {
    padding: 78px 0 !important;
}

.aoe-section:nth-of-type(even) {
    background: #fff !important;
}

.aoe-section-head {
    max-width: 780px !important;
    margin-bottom: 32px !important;
}

.aoe-section-head h2,
.aoe-message h2,
.aoe-social-band h2 {
    color: var(--edu-navy) !important;
    font-size: clamp(30px, 4vw, 48px) !important;
    line-height: 1.12 !important;
    margin-top: 14px !important;
}

.aoe-count-grid { gap: 20px !important; }

.aoe-count-card,
.aoe-story-card,
.aoe-post-card,
.aoe-event-row,
.aoe-testimonial,
.aoe-proof-panel,
.aoe-logo-tile,
.aoe-success-card,
.aoe-team-card,
.aoe-form-link,
.aoe-social-band,
.aoe-portal-band,
.aoe-empty {
    background: #fff !important;
    border: 1px solid var(--edu-line) !important;
    border-radius: var(--edu-radius) !important;
    color: var(--edu-ink) !important;
    box-shadow: var(--edu-shadow-sm) !important;
    backdrop-filter: none !important;
}

.aoe-count-card,
.aoe-story-card,
.aoe-post-card,
.aoe-event-row,
.aoe-testimonial,
.aoe-logo-tile,
.aoe-success-card,
.aoe-team-card,
.aoe-form-link {
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease !important;
}

.aoe-count-card:hover,
.aoe-story-card:hover,
.aoe-post-card:hover,
.aoe-event-row:hover,
.aoe-testimonial:hover,
.aoe-logo-tile:hover,
.aoe-success-card:hover,
.aoe-team-card:hover,
.aoe-form-link:hover {
    transform: translateY(-5px) !important;
    border-color: color-mix(in srgb, var(--edu-primary) 28%, white) !important;
    box-shadow: var(--edu-shadow) !important;
    text-decoration: none !important;
}

.aoe-count-card i,
.aoe-event-row > i,
.aoe-proof-head > i,
.aoe-form-link > i {
    background: color-mix(in srgb, var(--edu-primary) 10%, white) !important;
    color: var(--edu-primary) !important;
    border-radius: 14px !important;
}

.aoe-count-card strong,
.aoe-story-card h2,
.aoe-post-card strong,
.aoe-event-row strong,
.aoe-team-card strong,
.aoe-form-link strong,
.aoe-logo-tile span,
.aoe-success-card strong,
.aoe-proof-head h3,
.aoe-testimonial strong {
    color: var(--edu-navy) !important;
}

.aoe-count-card span,
.aoe-story-card p,
.aoe-post-card span,
.aoe-post-card small,
.aoe-event-row span,
.aoe-testimonial p,
.aoe-team-card span,
.aoe-team-card small,
.aoe-form-link span,
.aoe-success-card p,
.aoe-social-band p,
.aoe-portal-links span {
    color: var(--edu-muted) !important;
}

.aoe-story-card > span,
.aoe-success-card span,
.aoe-team-card > span {
    color: var(--edu-primary) !important;
}

.aoe-about-band {
    background:
        linear-gradient(90deg, rgba(22,34,75,.93), rgba(22,34,75,.86)),
        url('../img/bg/section-2.jpg') center/cover !important;
}

.aoe-about-band .aoe-message h2,
.aoe-about-band .aoe-message p {
    color: #fff !important;
}

.aoe-about-band .aoe-kicker {
    color: #fff !important;
    background: rgba(255,255,255,.10) !important;
    border-color: rgba(255,255,255,.20) !important;
}

.aoe-about-band .aoe-btn-primary {
    background: var(--edu-primary) !important;
    color: #fff !important;
}

.aoe-head-links a,
.aoe-inline-link {
    color: var(--edu-primary) !important;
    border-bottom-color: color-mix(in srgb, var(--edu-primary) 30%, transparent) !important;
}

.aoe-stars i { color: #ffb400 !important; }

.aoe-person span,
.aoe-team-initial {
    background: color-mix(in srgb, var(--edu-primary) 12%, white) !important;
    color: var(--edu-primary) !important;
}

.aoe-social-portal-grid {
    gap: 24px !important;
}

.aoe-social-band,
.aoe-portal-band {
    padding: 34px !important;
}

.aoe-social-links a,
.aoe-portal-links a {
    background: var(--edu-soft) !important;
    border: 1px solid var(--edu-line) !important;
    color: var(--edu-primary) !important;
    border-radius: 12px !important;
}

.aoe-social-links a:hover,
.aoe-portal-links a:hover {
    background: var(--edu-primary) !important;
    color: #fff !important;
}

.aoe-portal-links a:hover span { color: #fff !important; }

.aoe-forms {
    background:
        url('../img/bg/shape-1.png') center/cover no-repeat,
        #f2f4ff !important;
}

/* ---------- Footer ---------- */
.aoe-footer {
    background: linear-gradient(180deg, #17224a 0%, #101938 100%) !important;
    border-top: 0 !important;
    color: #fff !important;
    box-shadow: none !important;
}

.aoe-footer,
.aoe-footer *,
.aoe-footer h5,
.aoe-footer h6,
.aoe-footer p,
.aoe-footer span,
.aoe-footer i,
.aoe-footer a {
    color: #fff !important;
}

.aoe-footer-logo {
    background: #fff !important;
    border: 1px solid rgba(255,255,255,.16) !important;
    box-shadow: none !important;
}

.aoe-footer-socials a {
    background: rgba(255,255,255,.08) !important;
    border-color: rgba(255,255,255,.13) !important;
}

.aoe-footer-socials a:hover {
    background: var(--edu-primary) !important;
}

/* ---------- Responsive ---------- */
@media (max-width: 1199px) {
    .lms-nav .navbar-nav .nav-link { padding: 9px 8px !important; }
    .aoe-hero-inner { grid-template-columns: 1fr 380px !important; }
}

@media (max-width: 991px) {
    .lms-nav .navbar-collapse {
        margin-top: 12px;
        padding: 14px;
        background: #fff;
        border: 1px solid var(--edu-line);
        border-radius: 14px;
        box-shadow: var(--edu-shadow-sm);
        max-height: calc(100vh - 110px);
        overflow-y: auto;
    }

    .aoe-hero { min-height: auto !important; }
    .aoe-hero-inner { grid-template-columns: 1fr !important; padding-top: 64px !important; }
    .aoe-hero-panel { min-height: 420px; }
    .aoe-hero-visual { min-height: 420px; }
    .aoe-hero-copy h1 { font-size: clamp(44px, 9vw, 68px) !important; }
    .uni-hero { min-height: 300px !important; }
}

@media (max-width: 767px) {
    .aoe-section { padding: 58px 0 !important; }
    .aoe-hero-copy h1 { font-size: clamp(38px, 11vw, 54px) !important; }
    .aoe-hero-copy p { font-size: 16px !important; }
    .aoe-hero-panel,
    .aoe-hero-visual { min-height: 350px; }
    .aoe-hero-illustration { max-height: 390px; }
    .aoe-hero-badge { right: 2%; bottom: 12px; padding: 14px 16px; }
    .aoe-split-head { align-items: flex-start !important; }
    .uni-hero { padding: 56px 0 46px !important; }
    .uni-hero h1 { font-size: clamp(34px, 10vw, 48px) !important; }
}

@media (max-width: 575px) {
    .lms-nav .nav-logo { height: 44px !important; max-width: 150px; }
    .aoe-hero-visual::before { width: 94%; }
    .aoe-hero-badge { width: 78%; }
}


/* ========================================================================== 
   SUPPLIED REFERENCE DESIGN — FINAL AUTHORITY
   ========================================================================== */
:root{
    --ao-green:#153f2d;
    --ao-green-dark:#0f2f22;
    --ao-green-soft:#2e6048;
    --ao-bronze:#9a7b55;
    --ao-gold:#c99a3f;
    --ao-gold-light:#e6c477;
    --ao-cream:#fbf7ee;
    --ao-sand:#f1e5cf;
    --ao-white:#ffffff;
    --ao-ink:#1d1d1f;
    --ao-muted:#667085;
    --ao-border:rgba(21,63,45,.13);
    --ao-shadow:0 24px 64px rgba(21,63,45,.13);
    --ao-shadow-soft:0 14px 36px rgba(21,63,45,.09);
}

*{box-sizing:border-box}
html,body{margin:0;padding:0;width:100%;overflow-x:hidden}
body.public-reference-theme{
    background:var(--ao-cream)!important;
    color:var(--ao-ink)!important;
    font-family:Inter,Arial,sans-serif!important;
    -webkit-font-smoothing:antialiased;
    text-rendering:optimizeLegibility;
}
html[dir="rtl"] body.public-reference-theme,
html[dir="rtl"] .public-reference-theme input,
html[dir="rtl"] .public-reference-theme select,
html[dir="rtl"] .public-reference-theme textarea,
html[dir="rtl"] .public-reference-theme button{
    font-family:'Noto Naskh Arabic',Tahoma,Arial,sans-serif!important;
}
.public-main{padding-top:82px;min-height:60vh;background:linear-gradient(180deg,#fff 0%,var(--ao-cream) 100%)}
.public-reference-theme a{text-decoration:none}
.public-reference-theme h1,.public-reference-theme h2{font-family:'Playfair Display','Noto Naskh Arabic',serif}
.public-reference-theme h1,.public-reference-theme h2,.public-reference-theme h3,.public-reference-theme h4,.public-reference-theme h5,.public-reference-theme h6,.public-reference-theme strong{color:var(--ao-green-dark)}
.public-reference-theme p,.public-reference-theme li,.public-reference-theme small,.public-reference-theme .text-muted,.public-reference-theme .text-muted2{color:var(--ao-muted)!important}
.public-reference-theme a:not(.btn):not(.nav-link):not(.dropdown-item){color:var(--ao-green)}
.public-reference-theme a:not(.btn):not(.nav-link):not(.dropdown-item):hover{color:var(--ao-gold)}

/* NAVIGATION — glass over institutional green */
.lms-nav{min-height:82px;padding:10px 0!important;background:linear-gradient(90deg,rgba(15,47,34,.98),rgba(21,63,45,.96))!important;border:0!important;border-bottom:1px solid rgba(255,255,255,.13)!important;box-shadow:0 12px 35px rgba(15,47,34,.18)!important;backdrop-filter:blur(18px)!important}
.lms-nav .nav-logo{height:58px!important;max-width:190px!important;width:auto!important;background:#fff!important;border-radius:14px!important;padding:6px 10px!important;box-shadow:0 10px 24px rgba(0,0,0,.15)!important}
.lms-nav .nav-link{color:rgba(255,255,255,.86)!important;font-weight:800!important;border-radius:12px!important;padding:10px 11px!important}
.lms-nav .nav-link:hover,.lms-nav .nav-link.active{color:#fff!important;background:rgba(255,255,255,.11)!important}
.lms-nav .btn-outline-light{color:#fff!important;border-color:rgba(255,255,255,.25)!important;background:rgba(255,255,255,.08)!important}
.lms-nav .navbar-toggler{border:1px solid rgba(255,255,255,.25)!important;background:rgba(255,255,255,.08)!important}
.dropdown-menu{background:#fff!important;border:1px solid var(--ao-border)!important;border-radius:18px!important;box-shadow:0 22px 60px rgba(15,47,34,.18)!important;padding:9px!important}
.dropdown-item,.dropdown-header{color:var(--ao-ink)!important}
.dropdown-item{border-radius:12px!important;padding:.62rem .78rem!important;font-weight:650!important}
.dropdown-item:hover,.dropdown-item.active{background:var(--ao-sand)!important;color:var(--ao-green)!important}

/* BUTTONS */
.btn,.aoe-btn{border-radius:16px!important;font-weight:800!important;min-height:46px;transition:.2s ease!important}
.btn:hover,.aoe-btn:hover{transform:translateY(-2px);text-decoration:none!important}
.btn-accent,.btn-warning,.aoe-btn-primary,.btn-primary{
    color:#fff!important;background:linear-gradient(135deg,var(--ao-gold),var(--ao-bronze))!important;border-color:transparent!important;box-shadow:0 14px 30px rgba(201,154,63,.24)!important
}
.btn-accent:hover,.btn-warning:hover,.aoe-btn-primary:hover,.btn-primary:hover{color:#fff!important;filter:brightness(.97)}
.btn-outline-light,.btn-outline-dark,.btn-info-soft,.btn-success-soft,.btn-light,.btn-outline-primary,.aoe-btn-ghost{
    color:var(--ao-green)!important;background:#fff!important;border:1px solid var(--ao-border)!important;box-shadow:none!important
}
.btn-outline-light:hover,.btn-outline-dark:hover,.btn-info-soft:hover,.btn-success-soft:hover,.btn-light:hover,.btn-outline-primary:hover,.aoe-btn-ghost:hover{color:#fff!important;background:var(--ao-green)!important;border-color:var(--ao-green)!important}

/* GENERAL PANELS */
.card,.card-soft,.glass,.alert-soft,.news-toolbar,.news-card,.sidebar-box,.article-main,.article-box,.uni-content-card,.uni-side-card,.uni-panel,.uni-cta,.uni-mini-card,.uni-stat,.empty-news,.smart-content-card,.smart-side-card,.smart-cta,.online-form-card,.admission-form-card,.contact-info,.contact-form-card,.contact-detail,.content-card,.explore-card,.explore-panel,.explore-search,.list-group-item,.modal-content,.offcanvas{
    background:#fff!important;border:1px solid var(--ao-border)!important;border-radius:22px!important;color:var(--ao-ink)!important;box-shadow:var(--ao-shadow-soft)!important;backdrop-filter:none!important
}
.card-soft:hover,.glass:hover,.news-card:hover,.sidebar-box:hover,.article-box:hover,.content-card:hover,.explore-card:hover{border-color:rgba(201,154,63,.48)!important;box-shadow:var(--ao-shadow)!important}
.badge-soft,.badge-success-soft,.news-kicker,.article-meta span{background:var(--ao-sand)!important;border:1px solid rgba(154,123,85,.18)!important;color:var(--ao-green)!important;border-radius:999px!important;padding:.45rem .75rem!important}
.alert{border-radius:18px!important;border-width:1px!important}
.alert-success,.alert-success-soft{background:#eef7f1!important;color:var(--ao-green)!important;border-color:rgba(21,63,45,.18)!important}
.alert-danger{background:#fff1f1!important;color:#8b1e1e!important;border-color:rgba(139,30,30,.16)!important}

/* FORMS — white field on white card, strong borders, never same text/background */
.form-label{color:var(--ao-green-dark)!important;font-weight:800!important;margin-bottom:8px!important}
.form-control,.form-select,.input-group-text{
    min-height:52px!important;background:#fff!important;color:var(--ao-ink)!important;border:1px solid rgba(21,63,45,.19)!important;border-radius:14px!important;padding:.72rem .9rem!important;box-shadow:none!important
}
textarea.form-control{min-height:130px!important}
.form-control::placeholder{color:#98a1a7!important}
.form-control:focus,.form-select:focus{border-color:var(--ao-gold)!important;box-shadow:0 0 0 4px rgba(201,154,63,.14)!important;background:#fff!important;color:var(--ao-ink)!important}
.form-select option{background:#fff!important;color:var(--ao-ink)!important}
.form-check{color:var(--ao-ink)!important}
.form-check-input{background:#fff!important;border:1px solid rgba(21,63,45,.28)!important}
.form-check-input:checked{background-color:var(--ao-green)!important;border-color:var(--ao-green)!important}
.invalid-feedback{color:#a32626!important;font-weight:700}
.table{--bs-table-bg:#fff;--bs-table-color:var(--ao-ink);--bs-table-border-color:var(--ao-border);color:var(--ao-ink)!important;border-color:var(--ao-border)!important}
.table thead th{background:var(--ao-sand)!important;color:var(--ao-green-dark)!important;font-weight:850!important}

/* HOME HERO — matched to supplied reference */
.aoe-home{background:linear-gradient(180deg,#fff 0%,var(--ao-cream) 100%)!important;color:var(--ao-ink)!important}
.aoe-hero{position:relative;min-height:720px!important;padding:0!important;overflow:hidden;color:#fff!important;background:radial-gradient(circle at 82% 18%,rgba(201,154,63,.24),transparent 28%),linear-gradient(120deg,rgba(15,47,34,.99),rgba(21,63,45,.96) 55%,rgba(15,47,34,.99))!important;border:0!important}
.aoe-hero::before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(5,25,17,.30),rgba(5,25,17,.15),rgba(5,25,17,.42)),var(--hero-bg) center/cover!important;opacity:.20!important;transform:none!important;z-index:-1!important}
.aoe-grid-pattern{display:block!important;position:absolute;inset:0;background-image:linear-gradient(30deg,rgba(255,255,255,.35) 12%,transparent 12.5%,transparent 87%,rgba(255,255,255,.35) 87.5%),linear-gradient(150deg,rgba(255,255,255,.35) 12%,transparent 12.5%,transparent 87%,rgba(255,255,255,.35) 87.5%)!important;background-size:74px 128px!important;opacity:.065!important;mask-image:none!important;pointer-events:none}
.aoe-hero-inner{position:relative;z-index:2;display:grid!important;grid-template-columns:minmax(0,1.08fr) minmax(310px,.52fr)!important;gap:48px!important;align-items:center!important;padding-top:92px!important;padding-bottom:76px!important}
.aoe-kicker,.online-form-kicker,.form-section-title,.banner-kicker,.smart-page-kicker,.uni-kicker{display:inline-flex;align-items:center;gap:9px;background:var(--ao-sand)!important;border:1px solid rgba(154,123,85,.18)!important;color:var(--ao-gold)!important;border-radius:999px!important;padding:9px 15px!important;font-size:12px!important;font-weight:900!important;letter-spacing:.08em!important;text-transform:uppercase}
.aoe-hero .aoe-kicker{background:rgba(21,63,45,.36)!important;border-color:rgba(230,196,119,.40)!important;color:var(--ao-gold-light)!important}
.aoe-hero-copy h1{max-width:800px!important;margin:26px 0 24px!important;font-family:'Playfair Display',serif!important;font-size:clamp(52px,7vw,88px)!important;line-height:1.04!important;letter-spacing:-.04em!important;color:#fff!important;text-shadow:0 6px 28px rgba(0,0,0,.34)}
.aoe-hero-copy p{max-width:780px!important;margin:0 0 36px!important;color:rgba(255,255,255,.90)!important;font-size:20px!important;line-height:1.8!important}
.aoe-hero-panel{display:grid!important;gap:22px!important;padding:30px!important;border-radius:30px!important;border:1px solid rgba(255,255,255,.18)!important;background:linear-gradient(145deg,rgba(255,255,255,.13),rgba(255,255,255,.055))!important;box-shadow:0 24px 70px rgba(0,0,0,.22)!important;backdrop-filter:blur(16px)!important;min-height:auto!important;color:#fff!important}
.aoe-hero-panel strong{color:#fff!important;font-family:'Playfair Display',serif!important;font-size:34px!important}
.aoe-hero-panel span,.aoe-hero-panel small{color:rgba(255,255,255,.82)!important}
.aoe-hero-logo{width:170px!important;height:150px!important;background:#fff!important;border-radius:20px!important;padding:10px!important;box-shadow:0 16px 34px rgba(0,0,0,.20)!important}
.aoe-hero-logo img{max-width:100%;max-height:100%;object-fit:contain}

/* HOME SECTIONS */
.aoe-section{padding:74px 0!important;background:transparent!important}
.aoe-section:nth-of-type(even){background:#fff!important}
.aoe-section-head{max-width:820px;margin-bottom:34px!important}
.aoe-section-head h2,.aoe-message h2,.aoe-social-band h2{margin:14px 0 0!important;font-family:'Playfair Display',serif!important;font-size:clamp(32px,4vw,48px)!important;line-height:1.16!important;color:var(--ao-green)!important}
.aoe-count-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px!important}
.aoe-count-card,.aoe-story-card,.aoe-post-card,.aoe-event-row,.aoe-testimonial,.aoe-proof-panel,.aoe-logo-tile,.aoe-success-card,.aoe-team-card,.aoe-form-link,.aoe-social-band,.aoe-portal-band,.aoe-empty{background:#fff!important;border:1px solid var(--ao-border)!important;border-radius:24px!important;color:var(--ao-ink)!important;box-shadow:var(--ao-shadow-soft)!important}
.aoe-count-card{min-height:170px;padding:25px!important;display:flex;flex-direction:column;justify-content:space-between}
.aoe-count-card i,.aoe-event-row>i,.aoe-proof-head>i,.aoe-form-link>i{background:var(--ao-sand)!important;color:var(--ao-green)!important}
.aoe-count-card strong{font-family:'Playfair Display',serif!important;font-size:38px!important;color:var(--ao-green)!important}
.aoe-count-card span,.aoe-post-card span,.aoe-post-card small,.aoe-event-row span,.aoe-team-card small,.aoe-form-link span,.aoe-success-card p,.aoe-social-band p,.aoe-testimonial p{color:var(--ao-muted)!important}
.aoe-story-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px!important}
.aoe-story-card{min-height:300px;padding:30px!important;display:flex;flex-direction:column;justify-content:flex-end;background:linear-gradient(145deg,#fff,var(--ao-cream))!important}
.aoe-story-card>span,.aoe-team-card>span,.aoe-success-card span{color:var(--ao-gold)!important;font-weight:900!important}
.aoe-story-card h2,.aoe-post-card strong,.aoe-event-row strong,.aoe-person strong,.aoe-team-card strong,.aoe-form-link strong,.aoe-success-card strong,.aoe-proof-head h3{color:var(--ao-green-dark)!important}
.aoe-story-card p{color:var(--ao-muted)!important}
.aoe-about-band{min-height:440px!important;display:flex;align-items:center;background:radial-gradient(circle at right,rgba(230,196,119,.20),transparent 30%),linear-gradient(135deg,var(--ao-green-dark),var(--ao-green))!important;border:0!important}
.aoe-about-band .aoe-message{max-width:760px;padding:44px!important;border-inline-start:6px solid var(--ao-gold)!important;background:rgba(255,255,255,.07)!important;border-radius:0 24px 24px 0!important;backdrop-filter:blur(10px)}
html[dir="rtl"] .aoe-about-band .aoe-message{border-radius:24px 0 0 24px!important}
.aoe-about-band .aoe-message h2,.aoe-about-band .aoe-message p{color:#fff!important}
.aoe-about-band .aoe-kicker{background:rgba(255,255,255,.10)!important;color:var(--ao-gold-light)!important;border-color:rgba(230,196,119,.30)!important}
.aoe-latest-grid,.aoe-social-portal-grid{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(320px,.85fr);gap:22px!important}
.aoe-post-list,.aoe-event-stack,.aoe-portal-links{display:grid;gap:14px}
.aoe-post-card{display:grid;grid-template-columns:168px minmax(0,1fr);gap:18px;padding:14px!important}
.aoe-post-card img{width:168px;height:116px;border-radius:16px;object-fit:cover}
.aoe-event-row{min-height:108px;padding:20px!important;display:flex;align-items:center;gap:18px}
.aoe-testimonial-grid,.aoe-team-grid,.aoe-form-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px!important}
.aoe-testimonial{padding:28px!important}.aoe-stars{color:var(--ao-gold)!important}
.aoe-team-card{padding:20px!important;display:grid;gap:9px}.aoe-team-card img,.aoe-team-initial{width:100%;height:230px;border-radius:18px;object-fit:cover;background:var(--ao-sand)!important;color:var(--ao-green)!important;display:flex;align-items:center;justify-content:center;font-size:48px}
.aoe-proof-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.aoe-proof-panel{padding:26px!important}.aoe-logo-strip{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.aoe-logo-tile{min-height:128px;padding:16px!important;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:10px;text-align:center}
.aoe-success-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.aoe-success-card{overflow:hidden;display:grid;min-height:260px}.aoe-success-card img{width:100%;height:150px;object-fit:cover}.aoe-success-card div{padding:22px}
.aoe-social-band,.aoe-portal-band{padding:32px!important}.aoe-social-links{display:flex;gap:12px;flex-wrap:wrap;margin-top:24px}.aoe-social-links a{width:48px;height:48px;border-radius:14px;display:flex;align-items:center;justify-content:center;background:var(--ao-sand)!important;border:1px solid var(--ao-border)!important;color:var(--ao-green)!important}.aoe-social-links a:hover{background:var(--ao-green)!important;color:#fff!important}
.aoe-portal-links{grid-template-columns:repeat(2,minmax(0,1fr))}.aoe-portal-links a,.aoe-form-link{min-height:112px;padding:20px!important;border-radius:18px!important;background:var(--ao-cream)!important;border:1px solid var(--ao-border)!important;color:var(--ao-green)!important;display:flex;flex-direction:column;justify-content:center;gap:8px}.aoe-portal-links a:hover,.aoe-form-link:hover{background:var(--ao-green)!important;color:#fff!important}.aoe-portal-links a:hover span,.aoe-form-link:hover span,.aoe-form-link:hover strong,.aoe-form-link:hover i{color:#fff!important}
.aoe-forms{background:linear-gradient(180deg,var(--ao-cream),#fff)!important;padding-bottom:100px!important}

/* INNER / DETAIL HERO */
.uni-hero,.public-page-banner,.smart-page-hero{position:relative;min-height:420px!important;display:flex;align-items:center;padding:76px 0 68px!important;color:#fff!important;overflow:hidden;background:radial-gradient(circle at 82% 18%,rgba(201,154,63,.22),transparent 27%),linear-gradient(120deg,rgba(15,47,34,.98),rgba(21,63,45,.94) 55%,rgba(15,47,34,.98))!important;border:0!important}
.smart-page-hero{background:linear-gradient(100deg,rgba(15,47,34,.94),rgba(21,63,45,.74)),var(--smart-cover) center/cover!important}
.uni-hero::after,.smart-page-hero::after,.public-page-banner::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(5,25,17,.24),rgba(5,25,17,.08),rgba(5,25,17,.28))!important;opacity:1!important;pointer-events:none}
.uni-hero .container,.smart-page-hero .container,.public-page-banner .container{position:relative;z-index:2}
.uni-hero h1,.smart-page-title,.public-page-banner h1,.banner-title{font-family:'Playfair Display',serif!important;color:#fff!important;font-size:clamp(40px,6vw,72px)!important;line-height:1.05!important;letter-spacing:-.035em!important;text-shadow:0 5px 25px rgba(0,0,0,.28)}
.uni-hero p,.smart-page-subtitle,.banner-subtitle{color:rgba(255,255,255,.88)!important;font-size:18px!important;line-height:1.75!important}
.uni-breadcrumb,.uni-breadcrumb a,.uni-breadcrumb strong{color:rgba(255,255,255,.84)!important}.uni-breadcrumb a:hover{color:var(--ao-gold-light)!important}
.uni-kicker,.smart-page-kicker{background:rgba(21,63,45,.38)!important;border-color:rgba(230,196,119,.38)!important;color:var(--ao-gold-light)!important}
.uni-hero-meta span{color:#fff!important;background:rgba(255,255,255,.12)!important;border:1px solid rgba(255,255,255,.20)!important}
.uni-page,.smart-content,.news-page,.article-page{padding:64px 0 90px!important;background:linear-gradient(180deg,#fff,var(--ao-cream))!important;color:var(--ao-ink)!important}
.uni-layout,.smart-content-layout{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:24px;align-items:start}.uni-stack{display:grid;gap:24px}
.uni-panel,.uni-cta{padding:28px!important}.uni-section-title{display:flex;align-items:center;gap:14px;margin-bottom:20px}.uni-section-title span,.smart-content-head span{width:50px;height:50px;border-radius:16px!important;display:inline-flex;align-items:center;justify-content:center;background:var(--ao-sand)!important;color:var(--ao-green)!important;flex:0 0 50px}.uni-section-title small,.smart-content-head small{color:var(--ao-gold)!important;font-weight:900}.uni-section-title h2,.smart-content-head h2{color:var(--ao-green)!important;font-size:clamp(25px,3vw,34px)!important;margin:2px 0 0}.uni-rich-text,.smart-content-body{color:var(--ao-muted)!important;line-height:1.9!important;font-size:16px}.uni-rich-text h1,.uni-rich-text h2,.uni-rich-text h3,.smart-content-body h1,.smart-content-body h2,.smart-content-body h3{color:var(--ao-green)!important}.uni-rich-text img,.smart-content-body img{max-width:100%;border-radius:18px;margin:12px 0}.uni-stat-grid,.uni-card-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.uni-stat,.uni-mini-card{background:var(--ao-cream)!important;border:1px solid var(--ao-border)!important;border-radius:18px!important;padding:16px!important;box-shadow:none!important}.uni-stat small,.uni-mini-card small{color:var(--ao-muted)!important}.uni-stat strong,.uni-stat span,.uni-mini-card strong{color:var(--ao-green-dark)!important}.uni-fact-list{display:grid;gap:10px}.uni-fact-list div{padding:13px;border:1px solid var(--ao-border);border-radius:16px;background:var(--ao-cream)}.uni-share{display:flex;flex-wrap:wrap;gap:9px;align-items:center;padding:14px;border:1px solid var(--ao-border);border-radius:18px;background:#fff}.uni-share a,.uni-share button{width:40px;height:40px;border-radius:12px;border:1px solid var(--ao-border);background:var(--ao-sand);color:var(--ao-green)!important;display:inline-flex;align-items:center;justify-content:center}.uni-cta{display:flex;justify-content:space-between;align-items:center;gap:24px;background:linear-gradient(135deg,var(--ao-sand),#fff)!important}.uni-cta h2{color:var(--ao-green)!important}
.smart-page-grid{display:grid;grid-template-columns:minmax(0,.98fr) minmax(300px,.52fr);gap:36px;align-items:center}.smart-page-panel{border:1px solid rgba(255,255,255,.18)!important;background:rgba(255,255,255,.10)!important;backdrop-filter:blur(14px)!important;border-radius:26px!important;padding:28px!important;box-shadow:0 24px 70px rgba(0,0,0,.20)!important;color:#fff!important}.smart-page-icon{width:76px;height:76px;display:inline-flex;align-items:center;justify-content:center;border-radius:22px;background:linear-gradient(135deg,var(--ao-gold),var(--ao-bronze));color:#fff;font-size:30px;margin-bottom:22px}.smart-page-panel strong,.smart-page-panel p{color:#fff!important}.smart-content-card{overflow:hidden}.smart-content-head{display:flex;gap:16px;align-items:center;padding:24px 28px;border-bottom:1px solid var(--ao-border);background:linear-gradient(90deg,var(--ao-sand),#fff)}.smart-content-body{padding:34px}.smart-side-card{position:sticky;top:105px;padding:24px!important}.smart-side-card h3{color:var(--ao-green)!important}.smart-side-links{display:grid;gap:10px}.smart-side-links a{display:flex;align-items:center;gap:11px;min-height:49px;padding:11px 13px;border-radius:14px;color:var(--ao-green)!important;background:var(--ao-cream);border:1px solid var(--ao-border);font-weight:800}.smart-side-links a:hover{background:var(--ao-green);color:#fff!important}.smart-side-links i{color:var(--ao-gold)}.smart-cta{margin-top:24px;padding:28px!important;display:flex;align-items:center;justify-content:space-between;gap:20px;background:linear-gradient(135deg,var(--ao-sand),#fff)!important}.smart-cta h3{color:var(--ao-green)!important}

/* GENERIC SHOW PAGE HEADERS: existing glass headers become deliberate green hero cards */
.section.pt-5{padding-top:56px!important;padding-bottom:78px!important;background:linear-gradient(180deg,#fff,var(--ao-cream))!important}
.section.pt-5>.container>.glass:first-child{position:relative;overflow:hidden;background:radial-gradient(circle at 88% 15%,rgba(201,154,63,.23),transparent 28%),linear-gradient(135deg,var(--ao-green-dark),var(--ao-green))!important;border:0!important;border-radius:28px!important;padding:42px!important;box-shadow:0 24px 60px rgba(15,47,34,.18)!important;color:#fff!important}
.section.pt-5>.container>.glass:first-child h1,.section.pt-5>.container>.glass:first-child h2,.section.pt-5>.container>.glass:first-child h3,.section.pt-5>.container>.glass:first-child h4,.section.pt-5>.container>.glass:first-child strong{color:#fff!important}
.section.pt-5>.container>.glass:first-child p,.section.pt-5>.container>.glass:first-child .text-muted2,.section.pt-5>.container>.glass:first-child .text-muted{color:rgba(255,255,255,.82)!important}
.section.pt-5>.container>.glass:first-child .badge-soft{background:rgba(255,255,255,.12)!important;border-color:rgba(255,255,255,.22)!important;color:var(--ao-gold-light)!important}
.section.pt-5>.container>.glass:first-child .btn-outline-light{background:rgba(255,255,255,.10)!important;border-color:rgba(255,255,255,.22)!important;color:#fff!important}

/* ONLINE FORMS — redesigned as reference-quality cream + green + white */
.online-form-shell,.admission-hero{position:relative;padding:72px 0 96px!important;background:linear-gradient(180deg,#fff,var(--ao-cream))!important;color:var(--ao-ink)!important;overflow:hidden}
.online-form-shell::before{content:"";position:absolute;inset:0;pointer-events:none;background:radial-gradient(circle at 8% 2%,rgba(201,154,63,.10),transparent 26%),radial-gradient(circle at 92% 12%,rgba(21,63,45,.08),transparent 30%)!important}
.online-form-shell>.container,.admission-hero>.container{position:relative;z-index:2}.online-form-top{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:24px;align-items:end;margin-bottom:30px}.online-form-title{font-family:'Playfair Display',serif!important;color:var(--ao-green)!important;font-size:clamp(38px,5vw,60px)!important;line-height:1.08!important;margin:18px 0 12px!important}.online-form-subtitle{max-width:820px;color:var(--ao-muted)!important;font-size:17px;line-height:1.8}.online-form-layout{display:grid;grid-template-columns:minmax(290px,.42fr) minmax(0,1fr);gap:24px;align-items:start}
.online-form-side,.admission-side-card{padding:30px!important;border:0!important;border-radius:26px!important;background:radial-gradient(circle at 90% 10%,rgba(230,196,119,.20),transparent 25%),linear-gradient(145deg,var(--ao-green-dark),var(--ao-green))!important;box-shadow:0 24px 60px rgba(15,47,34,.18)!important;color:#fff!important}.online-form-side{position:sticky;top:105px;display:grid;gap:14px}.online-form-side h2,.online-form-side h3,.online-form-side strong,.admission-side-card h1,.admission-side-card h2,.admission-side-card h3,.admission-side-card strong{color:#fff!important}.online-form-side p,.online-form-side small,.online-form-note,.admission-side-card p,.admission-side-card small{color:rgba(255,255,255,.78)!important}.online-form-icon,.student-illustration{width:74px;height:74px;border-radius:22px!important;display:inline-flex;align-items:center;justify-content:center;color:#fff!important;background:linear-gradient(135deg,var(--ao-gold),var(--ao-bronze))!important;font-size:30px;border:0!important}.online-form-step,.admission-step{display:flex;gap:12px;align-items:center;padding:14px!important;border-radius:16px!important;border:1px solid rgba(255,255,255,.13)!important;background:rgba(255,255,255,.08)!important}.online-form-step span,.admission-step span{width:36px;height:36px;border-radius:12px!important;display:inline-flex;align-items:center;justify-content:center;background:var(--ao-gold)!important;color:#fff!important;font-weight:900;flex:0 0 36px}.online-form-card,.admission-form-card{padding:30px!important;background:#fff!important;border:1px solid var(--ao-border)!important;border-radius:26px!important;box-shadow:var(--ao-shadow)!important;color:var(--ao-ink)!important}.online-form-card .card-body,.admission-form-card .card-body{padding:0!important}.form-section-title{display:flex!important;width:100%!important;border-radius:16px!important;background:var(--ao-sand)!important;color:var(--ao-green)!important;border:1px solid rgba(154,123,85,.16)!important;padding:13px 16px!important;margin:26px 0 18px!important;letter-spacing:.02em!important;text-transform:none!important;font-size:15px!important}.form-section-title i{color:var(--ao-gold)!important}.online-form-card .form-check,.admission-form-card .form-check,.online-form-agreement,.admission-form-card .bg-light{border:1px solid var(--ao-border)!important;background:var(--ao-cream)!important;border-radius:16px!important;color:var(--ao-ink)!important}.online-form-card .form-check{padding:14px 14px 14px 42px}.online-help-notice{display:grid;gap:12px;margin-top:12px;padding:16px;border:1px solid rgba(230,196,119,.22)!important;background:rgba(255,255,255,.08)!important;border-radius:18px}.online-help-notice h3,.online-help-lang strong{color:var(--ao-gold-light)!important}.online-help-lang{padding:12px;border-radius:14px;border:1px solid rgba(255,255,255,.12);background:rgba(255,255,255,.07)}.online-help-lang p{color:rgba(255,255,255,.78)!important}.admission-side-card .btn-outline-light,.online-form-side .btn-outline-light{background:rgba(255,255,255,.08)!important;color:#fff!important;border-color:rgba(255,255,255,.22)!important}.admission-side-card .bg-white{background:rgba(255,255,255,.08)!important;color:#fff!important}

/* CONTACT + DIRECTORY + SEARCH */
.contact-page,.directory-page{background:linear-gradient(180deg,#fff,var(--ao-cream))!important;color:var(--ao-ink)!important}.contact-hero,.directory-hero,.explore-hero{background:radial-gradient(circle at 84% 12%,rgba(201,154,63,.22),transparent 28%),linear-gradient(135deg,var(--ao-green-dark),var(--ao-green))!important;color:#fff!important}.contact-hero h1,.directory-hero h1,.explore-hero h1,.contact-hero h2,.directory-hero h2{color:#fff!important}.contact-hero p,.directory-hero p,.explore-hero p{color:rgba(255,255,255,.84)!important}.contact-hero-card,.contact-social-card{background:rgba(255,255,255,.10)!important;border:1px solid rgba(255,255,255,.16)!important;color:#fff!important;box-shadow:none!important}.contact-social-card strong,.contact-social-card span,.contact-social-card em{color:#fff!important}.contact-info-head>span,.contact-form-head>span,.contact-social-card>i,.contact-detail>i,.contact-mini-map>i,.explore-icon{background:var(--ao-sand)!important;color:var(--ao-green)!important}.contact-detail,.contact-mini-map{background:var(--ao-cream)!important;border:1px solid var(--ao-border)!important;color:var(--ao-ink)!important}.contact-mini-map{background:linear-gradient(135deg,var(--ao-sand),var(--ao-cream))!important}.explore-card,.explore-panel,.explore-search{background:#fff!important;border:1px solid var(--ao-border)!important;color:var(--ao-ink)!important}.explore-card h3,.explore-panel h2,.explore-search h2{color:var(--ao-green)!important}

/* NEWS / ARTICLE */
.news-page,.article-page{background:linear-gradient(180deg,#fff,var(--ao-cream))!important}.news-heading h2,.news-card h3 a,.sidebar-box h3,.article-main h2,.article-body h1,.article-body h2,.article-body h3,.article-box h3,.related-list a,.sidebar-list a{color:var(--ao-green)!important}.featured-news,.gradient-box,.article-box.dark{background:radial-gradient(circle at right,rgba(230,196,119,.20),transparent 28%),linear-gradient(135deg,var(--ao-green-dark),var(--ao-green))!important;color:#fff!important}.featured-news h1,.featured-news h2,.featured-news h3,.featured-news h3 a,.featured-news p,.gradient-box h3,.gradient-box a,.article-box.dark h3,.article-box.dark a{color:#fff!important}.news-card,.sidebar-box,.article-main,.article-box{border-radius:22px!important}.news-card-image,.article-cover,.featured-news-image{background:var(--ao-sand)!important}.article-back{background:var(--ao-sand)!important;color:var(--ao-green)!important}.related-list a,.sidebar-list a{background:var(--ao-cream)!important;border:1px solid var(--ao-border)!important}

/* GALLERY / VIDEO dark placeholders should not become unreadable page blocks */
.thumb-wrap,[style*="background:#0b1220"]{background:var(--ao-sand)!important}.play-badge{background:rgba(15,47,34,.82)!important;color:#fff!important}

/* PORTALS */
.portal-shell,.student-portal,.teacher-portal{background:linear-gradient(180deg,#fff,var(--ao-cream))!important;color:var(--ao-ink)!important}.portal-shell .card,.student-portal .card,.teacher-portal .card{background:#fff!important;color:var(--ao-ink)!important;border:1px solid var(--ao-border)!important}.portal-shell .nav-link,.student-portal .nav-link,.teacher-portal .nav-link{color:var(--ao-green)!important}.portal-shell .nav-link.active,.student-portal .nav-link.active,.teacher-portal .nav-link.active{background:var(--ao-green)!important;color:#fff!important}

/* FOOTER */
.aoe-footer{padding:64px 0 30px!important;background:radial-gradient(circle at 88% 0%,rgba(201,154,63,.16),transparent 26%),linear-gradient(180deg,var(--ao-green) 0%,var(--ao-green-dark) 100%)!important;border-top:4px solid var(--ao-gold)!important;color:#fff!important}.aoe-footer,.aoe-footer *,.aoe-footer h5,.aoe-footer h6,.aoe-footer p,.aoe-footer span,.aoe-footer i,.aoe-footer a{color:#fff!important}.aoe-footer-top,.aoe-footer-bottom{display:flex;justify-content:space-between;gap:24px;align-items:center}.aoe-footer-brand{display:flex;align-items:center;gap:16px;max-width:640px}.aoe-footer-logo{width:76px;height:76px;border-radius:20px!important;display:flex;align-items:center;justify-content:center;background:#fff!important;border:1px solid rgba(230,196,119,.28)!important;box-shadow:0 14px 32px rgba(0,0,0,.16)!important;flex:0 0 76px}.aoe-footer-logo img{width:58px;height:58px;object-fit:contain}.aoe-footer-socials{display:flex;gap:12px}.aoe-footer-socials a{width:44px;height:44px;border-radius:14px;display:inline-flex;align-items:center;justify-content:center;border:1px solid rgba(255,255,255,.14);background:rgba(255,255,255,.08)}.aoe-footer-socials a:hover{background:var(--ao-gold)!important}.aoe-footer-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px;margin:40px 0 28px;padding:34px 0;border-top:1px solid rgba(255,255,255,.13);border-bottom:1px solid rgba(255,255,255,.13)}.aoe-footer-grid h6{font-weight:900;margin-bottom:16px;text-transform:uppercase;letter-spacing:.06em;font-size:12px}.aoe-footer-grid a{display:block;margin-bottom:10px;font-weight:650;color:rgba(255,255,255,.82)!important}.aoe-footer-grid a:hover{color:var(--ao-gold-light)!important}.aoe-footer-bottom{color:rgba(255,255,255,.72)!important;font-size:13px}

/* MOTION */
.public-reveal{opacity:0;transform:translateY(16px);transition:opacity .5s ease,transform .5s ease,box-shadow .2s ease,border-color .2s ease}.public-reveal.is-visible{opacity:1;transform:translateY(0)}
@media (prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}.public-reveal{opacity:1!important;transform:none!important;transition:none!important}}

/* RESPONSIVE */
@media(max-width:1199px){.aoe-count-grid,.aoe-testimonial-grid,.aoe-team-grid,.aoe-form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.aoe-story-grid,.aoe-latest-grid,.aoe-social-portal-grid,.aoe-proof-grid,.aoe-success-grid{grid-template-columns:1fr}.aoe-hero-inner{grid-template-columns:minmax(0,1fr) 360px!important}}
@media(max-width:991px){.lms-nav .navbar-collapse{margin-top:12px;padding:14px;background:var(--ao-green-dark)!important;border:1px solid rgba(255,255,255,.14)!important;border-radius:18px!important;box-shadow:0 18px 48px rgba(0,0,0,.22)!important;max-height:calc(100vh - 110px);overflow-y:auto}.aoe-hero-inner,.uni-layout,.smart-content-layout,.smart-page-grid,.online-form-layout{grid-template-columns:1fr!important}.aoe-hero{min-height:auto!important}.online-form-side,.smart-side-card{position:static}.uni-cta,.smart-cta{display:grid}.aoe-footer-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.aoe-footer-top,.aoe-footer-bottom{display:grid}.section.pt-5>.container>.glass:first-child{padding:32px!important}}
@media(max-width:767px){.public-main{padding-top:76px}.lms-nav{min-height:76px}.lms-nav .nav-logo{height:52px!important;max-width:160px!important}.aoe-hero-inner{padding-top:60px!important;padding-bottom:58px!important}.aoe-hero-copy h1{font-size:clamp(40px,12vw,56px)!important}.aoe-hero-copy p{font-size:16px!important}.aoe-section{padding:56px 0!important}.aoe-count-grid,.aoe-testimonial-grid,.aoe-team-grid,.aoe-form-grid,.aoe-portal-links,.aoe-logo-strip,.uni-stat-grid,.uni-card-grid{grid-template-columns:1fr}.aoe-post-card{grid-template-columns:1fr}.aoe-post-card img{width:100%;height:210px}.online-form-card,.admission-form-card,.online-form-side,.admission-side-card{padding:22px!important}.smart-content-body,.smart-content-head{padding:22px}.uni-hero,.smart-page-hero,.public-page-banner{min-height:auto!important;padding:62px 0 54px!important}.section.pt-5>.container>.glass:first-child{padding:26px!important}.aoe-footer-grid{grid-template-columns:1fr}}
@media(max-width:575px){.aoe-hero-actions .aoe-btn{width:100%}.aoe-hero-panel{padding:22px!important}.aoe-social-band,.aoe-portal-band{padding:24px!important}.online-form-top{display:block}.online-form-title{font-size:38px!important}}

/* ================================================================
   FINAL READABILITY SAFETY NET — PUBLIC WEBSITE ONLY
   Every form/detail/content surface gets an explicit foreground and
   background so legacy page CSS can never create same-color text.
   ================================================================ */
.public-reference-theme .contact-smart,
.public-reference-theme .explore-smart {
    background:linear-gradient(180deg,#ffffff 0%,var(--ao-cream) 100%)!important;
    color:var(--ao-ink)!important;
}
.public-reference-theme .contact-info,
.public-reference-theme .contact-form-card,
.public-reference-theme .explore-card,
.public-reference-theme .explore-panel {
    background:#fff!important;
    color:var(--ao-ink)!important;
    border:1px solid var(--ao-border)!important;
    box-shadow:var(--ao-shadow)!important;
}
.public-reference-theme .contact-info h2,
.public-reference-theme .contact-form-card h2,
.public-reference-theme .contact-info strong,
.public-reference-theme .contact-detail strong,
.public-reference-theme .explore-card strong,
.public-reference-theme .explore-card h3,
.public-reference-theme .explore-panel h2,
.public-reference-theme .explore-list strong {
    color:var(--ao-green-dark)!important;
}
.public-reference-theme .contact-info p,
.public-reference-theme .contact-info span,
.public-reference-theme .contact-detail span,
.public-reference-theme .contact-form-card p,
.public-reference-theme .explore-card small,
.public-reference-theme .explore-list small,
.public-reference-theme .explore-empty {
    color:var(--ao-muted)!important;
}
.public-reference-theme .contact-social-card {
    background:var(--ao-cream)!important;
    color:var(--ao-green)!important;
    border:1px solid var(--ao-border)!important;
    box-shadow:none!important;
}
.public-reference-theme .contact-social-card strong { color:var(--ao-green-dark)!important; }
.public-reference-theme .contact-social-card span { color:var(--ao-muted)!important; }
.public-reference-theme .contact-social-card em { color:var(--ao-gold)!important; }
.public-reference-theme .contact-social-card:hover {
    background:var(--ao-sand)!important;
    border-color:rgba(201,154,63,.48)!important;
    transform:translateY(-3px);
}
.public-reference-theme .contact-hero-card {
    background:rgba(255,255,255,.10)!important;
    color:#fff!important;
    border-color:rgba(255,255,255,.18)!important;
}
.public-reference-theme .contact-hero-card strong,
.public-reference-theme .contact-hero-card span,
.public-reference-theme .contact-hero-card p { color:#fff!important; }
.public-reference-theme .explore-list a {
    background:var(--ao-cream)!important;
    color:var(--ao-green)!important;
    border:1px solid var(--ao-border)!important;
}
.public-reference-theme .explore-list a:hover {
    background:var(--ao-sand)!important;
    border-color:rgba(201,154,63,.48)!important;
}
.public-reference-theme .explore-panel-head span,
.public-reference-theme .explore-group-title { color:var(--ao-gold)!important; }
.public-reference-theme .explore-search {
    background:rgba(255,255,255,.96)!important;
    color:var(--ao-ink)!important;
    border:1px solid rgba(255,255,255,.35)!important;
    box-shadow:0 22px 55px rgba(0,0,0,.16)!important;
}
.public-reference-theme .explore-search input {
    background:#fff!important;
    color:var(--ao-ink)!important;
    border:1px solid var(--ao-border)!important;
}
.public-reference-theme .explore-search button {
    background:linear-gradient(135deg,var(--ao-gold),var(--ao-bronze))!important;
    color:#fff!important;
    border:0!important;
}

/* Universal form system: applies to all public forms, including custom pages. */
.public-reference-theme form label,
.public-reference-theme form .form-label,
.public-reference-theme form .form-check-label {
    color:var(--ao-green-dark)!important;
    font-weight:700!important;
}
.public-reference-theme form input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):not([type="submit"]):not([type="button"]),
.public-reference-theme form select,
.public-reference-theme form textarea,
.public-reference-theme .form-control,
.public-reference-theme .form-select {
    background:#fff!important;
    color:var(--ao-ink)!important;
    border:1px solid rgba(21,63,45,.22)!important;
    border-radius:14px!important;
    min-height:50px;
    box-shadow:none!important;
}
.public-reference-theme form textarea { min-height:120px; }
.public-reference-theme form input::placeholder,
.public-reference-theme form textarea::placeholder,
.public-reference-theme .form-control::placeholder {
    color:#98a2b3!important;
    opacity:1!important;
}
.public-reference-theme form input:focus,
.public-reference-theme form select:focus,
.public-reference-theme form textarea:focus,
.public-reference-theme .form-control:focus,
.public-reference-theme .form-select:focus {
    background:#fff!important;
    color:var(--ao-ink)!important;
    border-color:var(--ao-gold)!important;
    box-shadow:0 0 0 4px rgba(201,154,63,.15)!important;
    outline:0!important;
}
.public-reference-theme form input:disabled,
.public-reference-theme form select:disabled,
.public-reference-theme form textarea:disabled,
.public-reference-theme .form-control:disabled,
.public-reference-theme .form-select:disabled {
    background:#f2eee5!important;
    color:#667085!important;
    opacity:1!important;
}
.public-reference-theme form input[type="checkbox"],
.public-reference-theme form input[type="radio"],
.public-reference-theme .form-check-input {
    border:1px solid rgba(21,63,45,.35)!important;
    background-color:#fff!important;
}
.public-reference-theme form input[type="checkbox"]:checked,
.public-reference-theme form input[type="radio"]:checked,
.public-reference-theme .form-check-input:checked {
    background-color:var(--ao-green)!important;
    border-color:var(--ao-green)!important;
}
.public-reference-theme .input-group-text {
    background:var(--ao-sand)!important;
    color:var(--ao-green)!important;
    border-color:rgba(21,63,45,.22)!important;
}
.public-reference-theme .form-text,
.public-reference-theme .text-muted,
.public-reference-theme form small { color:var(--ao-muted)!important; }
.public-reference-theme form .invalid-feedback { color:#b42318!important; }
.public-reference-theme form .valid-feedback { color:#067647!important; }
.public-reference-theme form input[type="file"]::file-selector-button {
    border:0;
    border-inline-end:1px solid var(--ao-border);
    background:var(--ao-sand);
    color:var(--ao-green-dark);
    font-weight:800;
    padding:10px 14px;
    margin-inline-end:12px;
}

/* Generic legacy cards/content: explicit light surface, unless intentionally a hero/dark block. */
.public-reference-theme main .card:not(.bg-dark):not(.text-bg-dark),
.public-reference-theme main .glass:not(.contact-hero-card):not(.featured-news),
.public-reference-theme main .card-soft {
    background:#fff!important;
    color:var(--ao-ink)!important;
    border-color:var(--ao-border)!important;
}
.public-reference-theme main .card:not(.bg-dark):not(.text-bg-dark) h1,
.public-reference-theme main .card:not(.bg-dark):not(.text-bg-dark) h2,
.public-reference-theme main .card:not(.bg-dark):not(.text-bg-dark) h3,
.public-reference-theme main .card:not(.bg-dark):not(.text-bg-dark) h4,
.public-reference-theme main .card-soft h1,
.public-reference-theme main .card-soft h2,
.public-reference-theme main .card-soft h3,
.public-reference-theme main .card-soft h4 {
    color:var(--ao-green-dark)!important;
}
.public-reference-theme main .card:not(.bg-dark):not(.text-bg-dark) p,
.public-reference-theme main .card-soft p { color:var(--ao-muted)!important; }

/* Restore the intentionally dark first summary card used by older detail templates. */
.public-reference-theme .section.pt-5 > .container > .glass:first-child {
    background:radial-gradient(circle at 86% 12%,rgba(201,154,63,.22),transparent 28%),linear-gradient(135deg,var(--ao-green-dark),var(--ao-green))!important;
    color:#fff!important;
    border:1px solid rgba(255,255,255,.12)!important;
}
.public-reference-theme .section.pt-5 > .container > .glass:first-child h1,
.public-reference-theme .section.pt-5 > .container > .glass:first-child h2,
.public-reference-theme .section.pt-5 > .container > .glass:first-child h3,
.public-reference-theme .section.pt-5 > .container > .glass:first-child h4,
.public-reference-theme .section.pt-5 > .container > .glass:first-child p,
.public-reference-theme .section.pt-5 > .container > .glass:first-child span,
.public-reference-theme .section.pt-5 > .container > .glass:first-child small {
    color:#fff!important;
}

/* HOME — direct composition from the supplied reference design */
.public-reference-theme .aoe-hero > .container { position:relative; z-index:3; }
.public-reference-theme .aoe-hero-inner {
    display:block!important;
    width:min(1180px,100%)!important;
    padding-top:86px!important;
    padding-bottom:42px!important;
}
.public-reference-theme .aoe-hero-copy { max-width:840px; }
.public-reference-theme .aoe-learning-panel {
    position:relative;
    width:min(1180px,100%);
    min-height:500px;
    margin:34px auto 72px;
    border-radius:42px;
    overflow:hidden;
    border:1px solid rgba(255,255,255,.22);
    background:
        linear-gradient(135deg,rgba(56,91,76,.90),rgba(92,125,112,.72)),
        linear-gradient(120deg,rgba(21,63,45,.94),rgba(21,63,45,.72));
    box-shadow:0 28px 80px rgba(0,0,0,.24);
}
.public-reference-theme .aoe-learning-panel::after {
    content:"";
    position:absolute;
    inset:0;
    z-index:1;
    pointer-events:none;
    background:
        linear-gradient(90deg,rgba(21,63,45,.12),rgba(255,255,255,.24)),
        repeating-linear-gradient(45deg,rgba(255,255,255,.03) 0 1px,transparent 1px 54px);
}
.public-reference-theme .aoe-learning-logo-card {
    position:absolute;
    right:64px;
    top:58px;
    z-index:2;
    width:330px;
    height:245px;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:24px;
    border-radius:36px;
    background:rgba(255,255,255,.95)!important;
    box-shadow:0 28px 70px rgba(0,0,0,.16);
}
.public-reference-theme .aoe-learning-logo-card img { width:250px; max-width:82%; max-height:180px; object-fit:contain; }
.public-reference-theme .aoe-learning-text-card {
    position:absolute;
    left:58px;
    right:58px;
    bottom:54px;
    z-index:3;
    padding:42px 48px;
    border-radius:34px;
    background:rgba(255,255,255,.96)!important;
    box-shadow:0 28px 75px rgba(0,0,0,.20);
}
.public-reference-theme .aoe-learning-text-card > span {
    display:block;
    margin-bottom:10px;
    color:var(--ao-gold)!important;
    font-weight:900;
    font-size:12px;
    letter-spacing:.14em;
    text-transform:uppercase;
}
.public-reference-theme .aoe-learning-text-card h2 {
    margin:0 0 14px!important;
    max-width:800px;
    font-size:clamp(34px,4vw,50px)!important;
    line-height:1.12!important;
    color:var(--ao-green)!important;
}
.public-reference-theme .aoe-learning-text-card p {
    margin:0!important;
    max-width:980px;
    color:var(--ao-muted)!important;
    font-size:18px!important;
    line-height:1.72!important;
}
.public-reference-theme .aoe-counts {
    position:relative;
    z-index:6;
    padding:0 0 28px!important;
    margin-top:-48px;
    background:transparent!important;
}
.public-reference-theme .aoe-counts .aoe-section-head { display:none; }
.public-reference-theme .aoe-counts .aoe-count-grid {
    overflow:hidden;
    gap:0!important;
    border-radius:28px;
    border:1px solid var(--ao-border);
    background:#fff;
    box-shadow:0 26px 65px rgba(21,63,45,.15);
}
.public-reference-theme .aoe-counts .aoe-count-card {
    min-height:150px;
    border:0!important;
    border-inline-end:1px solid var(--ao-border)!important;
    border-radius:0!important;
    box-shadow:none!important;
    background:#fff!important;
}
.public-reference-theme .aoe-counts .aoe-count-card:last-child { border-inline-end:0!important; }
.public-reference-theme .aoe-counts .aoe-count-card:hover { background:var(--ao-cream)!important; transform:none!important; }
.public-reference-theme .aoe-mission-strip { padding:36px 0 20px; background:transparent; }
.public-reference-theme .aoe-mission-box {
    display:flex;
    align-items:flex-start;
    gap:28px;
    padding:40px 44px;
    border-radius:28px;
    background:var(--ao-sand)!important;
    border:1px solid rgba(154,123,85,.18);
}
.public-reference-theme .aoe-mission-bar {
    width:6px;
    min-height:112px;
    border-radius:999px;
    flex:0 0 6px;
    background:linear-gradient(var(--ao-gold),var(--ao-bronze));
}
.public-reference-theme .aoe-mission-box p {
    margin:0 0 12px!important;
    color:var(--ao-green)!important;
    font-family:'Playfair Display','Noto Naskh Arabic',serif;
    font-size:clamp(23px,3vw,31px)!important;
    line-height:1.5!important;
    font-style:italic;
}
.public-reference-theme .aoe-mission-box small { color:var(--ao-muted)!important; font-weight:800; }
@media(max-width:767px){
    .public-reference-theme .aoe-hero-inner{padding-top:58px!important;padding-bottom:28px!important}
    .public-reference-theme .aoe-learning-panel{min-height:auto;margin:24px auto 62px;padding:20px;border-radius:30px}
    .public-reference-theme .aoe-learning-logo-card{position:relative;right:auto;top:auto;width:100%;height:auto;min-height:160px;margin:0 0 18px;border-radius:26px}
    .public-reference-theme .aoe-learning-text-card{position:relative;left:auto;right:auto;bottom:auto;padding:24px 22px;border-radius:26px}
    .public-reference-theme .aoe-learning-text-card p{font-size:16px!important}
    .public-reference-theme .aoe-counts{margin-top:-34px}
    .public-reference-theme .aoe-counts .aoe-count-grid{grid-template-columns:repeat(2,1fr)!important;border-radius:22px}
    .public-reference-theme .aoe-counts .aoe-count-card{border-inline-end:0!important;border-bottom:1px solid var(--ao-border)!important}
    .public-reference-theme .aoe-counts .aoe-count-card:nth-child(odd){border-inline-end:1px solid var(--ao-border)!important}
    .public-reference-theme .aoe-counts .aoe-count-card:nth-last-child(-n+2){border-bottom:0!important}
    .public-reference-theme .aoe-mission-box{padding:26px 22px;gap:16px;border-radius:22px}
}

/* Small Bootstrap controls normalized to the reference palette. */
.public-reference-theme .btn-secondary {
    background:var(--ao-green)!important;
    border-color:var(--ao-green)!important;
    color:#fff!important;
}
.public-reference-theme .btn-secondary:hover { background:var(--ao-green-dark)!important; border-color:var(--ao-green-dark)!important; }
.public-reference-theme .btn-link { color:var(--ao-green)!important; background:transparent!important; box-shadow:none!important; }
.public-reference-theme .btn-link:hover { color:var(--ao-gold)!important; }

/* 2026 final polish: compact stories, unified actions, and modern detail pages. */
.public-reference-theme .btn,
.public-reference-theme .aoe-btn,
.public-reference-theme button.btn,
.public-reference-theme a.btn {
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    gap:8px!important;
    border-radius:14px!important;
    min-height:44px;
    padding:10px 18px!important;
    line-height:1.15!important;
    white-space:normal!important;
}
.public-reference-theme .btn-sm {
    min-height:38px;
    padding:8px 13px!important;
    border-radius:12px!important;
}
.public-reference-theme .btn i,
.public-reference-theme .aoe-btn i {
    line-height:1;
}
.public-reference-theme .btn-success,
.public-reference-theme .btn-outline-success,
.public-reference-theme .aoe-detail-button,
.public-reference-theme a[class*="article-back"] {
    background:#fff!important;
    border:1px solid var(--ao-border)!important;
    color:var(--ao-green)!important;
    box-shadow:0 10px 24px rgba(21,63,45,.08)!important;
}
.public-reference-theme .btn-success:hover,
.public-reference-theme .btn-outline-success:hover,
.public-reference-theme .aoe-detail-button:hover,
.public-reference-theme a[class*="article-back"]:hover {
    background:var(--ao-green)!important;
    border-color:var(--ao-green)!important;
    color:#fff!important;
}
.public-reference-theme .btn-success:hover i,
.public-reference-theme .btn-outline-success:hover i,
.public-reference-theme .aoe-detail-button:hover i,
.public-reference-theme a[class*="article-back"]:hover i {
    color:#fff!important;
}

.public-reference-theme .aoe-community-stories {
    background:linear-gradient(180deg,#fff 0%,var(--ao-cream) 100%)!important;
}
.public-reference-theme .aoe-community-stories .aoe-section-head {
    margin-bottom:20px!important;
}
.public-reference-theme .aoe-head-links {
    display:flex;
    flex-wrap:wrap;
    gap:14px;
    align-items:center;
}
.public-reference-theme .aoe-story-filters {
    display:flex;
    flex-wrap:wrap;
    gap:10px;
    margin:0 0 22px;
}
.public-reference-theme .aoe-story-filters span {
    display:inline-flex;
    align-items:center;
    gap:8px;
    min-height:38px;
    padding:8px 13px;
    border-radius:999px;
    background:#fff;
    border:1px solid var(--ao-border);
    color:var(--ao-green)!important;
    font-weight:850;
    box-shadow:0 8px 20px rgba(21,63,45,.06);
}
.public-reference-theme .aoe-story-filters i {
    color:var(--ao-gold)!important;
}
.public-reference-theme .aoe-community-grid {
    display:grid;
    grid-template-columns:minmax(0,.92fr) minmax(0,1.08fr);
    gap:20px;
    align-items:stretch;
}
.public-reference-theme .aoe-community-card {
    background:#fff!important;
    border:1px solid var(--ao-border)!important;
    border-radius:24px!important;
    box-shadow:var(--ao-shadow-soft)!important;
    padding:24px!important;
    color:var(--ao-ink)!important;
}
.public-reference-theme .aoe-voice-list,
.public-reference-theme .aoe-story-pill-list {
    display:grid;
    gap:12px;
}
.public-reference-theme .aoe-voice-item {
    display:grid;
    gap:10px;
    padding:14px;
    border-radius:18px;
    background:var(--ao-cream);
    border:1px solid var(--ao-border);
}
.public-reference-theme .aoe-voice-item p {
    margin:0!important;
    color:var(--ao-muted)!important;
    line-height:1.65!important;
}
.public-reference-theme .aoe-person {
    display:flex;
    align-items:center;
    gap:12px;
}
.public-reference-theme .aoe-person img,
.public-reference-theme .aoe-person > span {
    width:44px!important;
    height:44px!important;
    flex:0 0 44px;
    border-radius:14px!important;
    object-fit:cover;
}
.public-reference-theme .aoe-person > span {
    display:inline-flex;
    align-items:center;
    justify-content:center;
    font-weight:950;
}
.public-reference-theme .aoe-person small {
    display:block;
    color:var(--ao-muted)!important;
}
.public-reference-theme .aoe-logo-compact {
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:10px;
    margin-bottom:14px;
}
.public-reference-theme .aoe-logo-compact .aoe-logo-tile {
    min-height:104px!important;
    padding:12px!important;
    border-radius:18px!important;
    box-shadow:none!important;
    background:var(--ao-cream)!important;
}
.public-reference-theme .aoe-logo-compact .aoe-logo-tile img {
    max-width:82px;
    max-height:46px;
    object-fit:contain;
}
.public-reference-theme .aoe-partner-row {
    display:flex;
    flex-wrap:wrap;
    gap:10px;
    margin:4px 0 16px;
}
.public-reference-theme .aoe-partner-row a,
.public-reference-theme .aoe-partner-row > span {
    display:inline-flex;
    align-items:center;
    gap:8px;
    min-height:38px;
    padding:8px 12px;
    border-radius:999px;
    background:var(--ao-sand);
    border:1px solid rgba(154,123,85,.18);
    color:var(--ao-green)!important;
    font-weight:850;
}
.public-reference-theme .aoe-partner-row i {
    color:var(--ao-gold)!important;
}
.public-reference-theme .aoe-story-pill {
    display:grid;
    grid-template-columns:42px minmax(0,1fr);
    gap:2px 12px;
    align-items:center;
    min-height:68px;
    padding:12px;
    border-radius:18px;
    background:#fff;
    border:1px solid var(--ao-border);
    color:var(--ao-green)!important;
}
.public-reference-theme .aoe-story-pill i {
    grid-row:1 / span 2;
    width:42px;
    height:42px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    border-radius:14px;
    background:var(--ao-sand);
    color:var(--ao-gold)!important;
}
.public-reference-theme .aoe-story-pill span {
    color:var(--ao-green-dark)!important;
    font-weight:900;
}
.public-reference-theme .aoe-story-pill small {
    color:var(--ao-muted)!important;
    min-width:0;
}
.public-reference-theme .aoe-community-card a:hover,
.public-reference-theme .aoe-story-pill:hover {
    transform:translateY(-2px);
    border-color:rgba(201,154,63,.45)!important;
    text-decoration:none!important;
}

.public-reference-theme .smart-page-hero {
    min-height:380px!important;
}
.public-reference-theme .smart-page-panel {
    display:grid;
    gap:10px;
}
.public-reference-theme .smart-content-layout {
    grid-template-columns:minmax(0,1fr) minmax(300px,360px);
}
.public-reference-theme .smart-content-card,
.public-reference-theme .smart-side-card,
.public-reference-theme .smart-cta,
.public-reference-theme .content-card,
.public-reference-theme .article-main,
.public-reference-theme .article-box,
.public-reference-theme .card-soft,
.public-reference-theme .glass {
    border-radius:22px!important;
}
.public-reference-theme .smart-content-body {
    font-size:17px!important;
}
.public-reference-theme .smart-content-body :where(ul,ol) {
    padding-inline-start:22px;
}
.public-reference-theme .smart-content-body :where(li) {
    margin-bottom:8px;
}
.public-reference-theme .smart-related-block {
    margin-top:22px;
    padding-top:18px;
    border-top:1px solid var(--ao-border);
}
.public-reference-theme .smart-related-block h4 {
    margin:0 0 12px;
    color:var(--ao-green)!important;
    font-size:16px!important;
    font-weight:950;
}
.public-reference-theme .smart-related-links {
    display:grid;
    gap:9px;
}
.public-reference-theme .smart-related-links a {
    display:flex;
    align-items:center;
    gap:10px;
    padding:10px 12px;
    border-radius:14px;
    background:#fff;
    border:1px solid var(--ao-border);
    color:var(--ao-green)!important;
    font-weight:800;
}
.public-reference-theme .smart-related-links i {
    color:var(--ao-gold)!important;
}
.public-reference-theme .smart-related-links a:hover,
.public-reference-theme .smart-side-links a:hover {
    background:var(--ao-green)!important;
    color:#fff!important;
}
.public-reference-theme .smart-related-links a:hover i,
.public-reference-theme .smart-side-links a:hover i {
    color:#fff!important;
}
.public-reference-theme .content-card {
    transition:transform .22s ease, box-shadow .22s ease, border-color .22s ease!important;
}
.public-reference-theme .content-card:hover {
    transform:translateY(-4px);
    box-shadow:var(--ao-shadow)!important;
}
.public-reference-theme .content-card-body {
    display:flex;
    flex-direction:column;
    height:100%;
}
.public-reference-theme .content-card-summary {
    flex:1 1 auto;
}

.public-reference-theme .public-reveal {
    opacity:0;
    transform:translateY(18px);
    transition:opacity .55s ease, transform .55s ease, box-shadow .22s ease, border-color .22s ease, background-color .22s ease!important;
    will-change:opacity,transform;
}
.public-reference-theme .public-reveal.is-visible {
    opacity:1;
    transform:translateY(0);
}
.public-reference-theme .public-main > section.public-reveal {
    transform:translateY(10px);
}
.public-reference-theme .public-main > section.public-reveal.is-visible {
    transform:translateY(0);
}

@media(max-width:991px){
    .public-reference-theme .aoe-community-grid,
    .public-reference-theme .smart-content-layout {
        grid-template-columns:1fr!important;
    }
}
@media(max-width:767px){
    .public-reference-theme .aoe-community-card {
        padding:18px!important;
        border-radius:20px!important;
    }
    .public-reference-theme .aoe-logo-compact {
        grid-template-columns:1fr;
    }
    .public-reference-theme .aoe-story-pill {
        grid-template-columns:38px minmax(0,1fr);
    }
}

.public-reference-theme :where(h1,h2,h3,h4,h5,h6,.banner-title,.smart-page-title,.aoe-hero-copy h1) {
    letter-spacing:0!important;
}
