:root {
    --ac-navy: #0f2c4c;
    --ac-navy-2: #173a63;
    --ac-ink: #12202b;
    --ac-muted: #3d4f5c;
    --ac-cream: #f6f1e8;
    --ac-card: #ffffff;
    --ac-gold: #c9a227;
    --ac-teal: #0b6b58;
    --ac-line: rgba(15, 44, 76, 0.12);
    --ac-shadow: 0 16px 36px rgba(15, 44, 76, 0.12);
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

html,
body,
body.ac-redesign,
body.ac-redesign *:not(i):not(.fa):not([class^="fa"]):not([class*=" fa-"]):not([data-feather]) {
    font-family: "Tajawal", sans-serif !important;
}

body.ac-redesign {
    background: var(--ac-cream) !important;
    color: var(--ac-ink);
    font-size: 15px;
    line-height: 1.75;
    overflow-x: hidden;
}
body.ac-redesign h1 { font-size: clamp(1.6rem, 3vw, 2.2rem) !important; font-weight: 800; line-height: 1.4; }
body.ac-redesign h2 { font-size: clamp(1.25rem, 2.2vw, 1.65rem) !important; font-weight: 800; line-height: 1.45; }
body.ac-redesign h3, body.ac-redesign h4 { font-size: 1.05rem !important; font-weight: 700; line-height: 1.5; }
body.ac-redesign p, body.ac-redesign li, body.ac-redesign td, body.ac-redesign th,
body.ac-redesign label, body.ac-redesign input, body.ac-redesign button,
body.ac-redesign textarea, body.ac-redesign select, body.ac-redesign a {
    font-size: inherit;
}
body.ac-redesign .preloader { display: none !important; }
body.ac-redesign #promo-outer, body.ac-redesign #promo-tab { display: none !important; }

.ac-wrap { width: min(1180px, calc(100% - 32px)); margin-inline: auto; }

body.ac-redesign header.ac-header {
    position: sticky !important;
    top: 0;
    z-index: 1200 !important;
    background: rgba(246, 241, 232, 0.96) !important;
    border-bottom: 1px solid var(--ac-line);
    transform: none !important;
    padding: 0 !important;
    width: 100%;
}

.ac-topbar {
    background: var(--ac-navy);
    color: #f6f1e8;
    font-size: .78rem;
    font-weight: 700;
}
.ac-topbar .ac-wrap {
    display: flex;
    justify-content: center;
    gap: 24px;
    padding-block: 6px;
    flex-wrap: wrap;
}
.ac-topbar i { color: var(--ac-gold); margin-inline-end: 6px; }

.ac-nav {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 16px;
    min-height: 74px;
    height: 74px;
}

.ac-brand {
    display: flex !important;
    align-items: center;
    gap: 10px;
    text-decoration: none !important;
}
.ac-brand img { width: 42px; height: 42px; border-radius: 12px; }
.ac-brand b {
    display: block;
    color: var(--ac-navy);
    font-size: 1.02rem;
    line-height: 1.2;
}
.ac-brand small { color: var(--ac-muted); font-weight: 600; font-size: .78rem; }

.ac-menu {
    display: flex !important;
    flex-direction: row !important;
    align-items: center;
    justify-content: center;
    gap: 4px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.ac-menu a {
    color: var(--ac-ink) !important;
    font-weight: 700;
    font-size: .92rem;
    padding: 8px 12px;
    border-radius: 999px;
    text-decoration: none !important;
    white-space: nowrap;
}
.ac-menu a:hover { background: rgba(15,44,76,.08); color: var(--ac-navy) !important; }

.ac-actions { display: flex; align-items: center; gap: 8px; }
.ac-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border-radius: 999px;
    padding: 9px 16px;
    font-weight: 800;
    text-decoration: none !important;
    white-space: nowrap;
}
.ac-btn-solid { background: var(--ac-teal); color: #fff !important; }
.ac-btn-ghost { background: #fff; color: var(--ac-navy) !important; border: 1px solid var(--ac-line); }
.ac-icon {
    width: 40px; height: 40px;
    display: grid; place-items: center;
    border-radius: 50%;
    border: 1px solid var(--ac-line);
    background: #fff;
    color: var(--ac-navy);
    text-decoration: none !important;
    position: relative;
}
.ac-badge {
    position: absolute; top: -4px; inset-inline-end: -4px;
    background: #b45309; color: #fff;
    border-radius: 999px; font-size: 10px; font-weight: 800;
    min-width: 16px; height: 16px; line-height: 16px; text-align: center;
}
.ac-toggle, .ac-drawer-title { display: none; }

.ac-hero {
    position: relative;
    overflow: hidden;
    min-height: min(88vh, 760px);
    display: grid;
    align-items: center;
    background: none;
    color: #fff;
}
.ac-hero::before {
    content: "";
    position: absolute;
    inset: -14%;
    background: url("/images/ac-ar/mosque.jpg") center/cover no-repeat;
    animation: acKenBurns 22s ease-in-out infinite alternate;
    z-index: 0;
}
.ac-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg, rgba(15,44,76,.9) 6%, rgba(15,44,76,.55) 58%, rgba(11,107,88,.28) 100%);
    z-index: 1;
}
.ac-hero > * { position: relative; z-index: 2; }
.ac-hero-grid {
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    gap: 28px;
    padding-block: 48px 70px;
    align-items: center;
}
.ac-kicker {
    display: inline-flex;
    gap: 8px;
    border: 1px solid rgba(201,162,39,.55);
    background: rgba(201,162,39,.16);
    color: #f3e0a6;
    border-radius: 999px;
    padding: 6px 14px;
    font-weight: 800;
    margin-bottom: 14px;
}
.ac-hero h1 {
    font-size: clamp(1.75rem, 3.4vw, 2.45rem) !important;
    font-weight: 800;
    line-height: 1.35;
    color: #fff;
    margin-bottom: 12px;
    text-shadow: 0 8px 22px rgba(0,0,0,.35);
}
.ac-hero h1 em { font-style: normal; color: var(--ac-gold); }
.ac-hero .lead { color: rgba(255,255,255,.92); max-width: 38rem; margin-bottom: 22px; font-size: 1rem; }
.ac-search {
    display: flex;
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    max-width: 540px;
    box-shadow: var(--ac-shadow);
}
.ac-search input {
    flex: 1; border: 0; padding: 14px 16px; outline: none;
    font-weight: 700; color: var(--ac-ink); min-width: 0;
}
.ac-search button {
    background: var(--ac-teal); color: #fff; border: 0;
    font-weight: 800; padding: 0 20px; white-space: nowrap;
}
.ac-hero-photo { position: relative; }
.ac-hero-photo img {
    width: 100%;
    max-height: 420px;
    object-fit: cover;
    border-radius: 28px;
    box-shadow: 0 24px 40px rgba(0,0,0,.28);
}
.ac-float {
    position: absolute; background: #fff; color: var(--ac-ink);
    border-radius: 14px; padding: 10px 14px; font-weight: 800;
    box-shadow: var(--ac-shadow); font-size: .9rem;
}
.ac-float.one { top: 18px; inset-inline-start: -10px; }
.ac-float.two { bottom: 24px; inset-inline-end: -8px; }
.ac-float b { display: block; color: var(--ac-teal); }

.ac-section { padding: 70px 0; }
.ac-section.alt { background: #fffdf8; }
.ac-head { text-align: center; max-width: 720px; margin: 0 auto 32px; }
.ac-head span { color: var(--ac-teal); font-weight: 800; }
.ac-head h2 { font-weight: 800; color: var(--ac-navy); margin: 6px 0 8px; font-size: clamp(1.5rem, 3vw, 2.2rem); }
.ac-head p { color: var(--ac-muted); margin: 0; }

.ac-stats {
    display: grid; grid-template-columns: repeat(4,1fr); gap: 14px;
    margin-top: -42px; position: relative; z-index: 2;
}
.ac-stat {
    background: #fff; border-radius: 20px; padding: 22px 16px;
    text-align: center; box-shadow: var(--ac-shadow); border: 1px solid var(--ac-line);
}
.ac-stat strong { display: block; font-size: 1.7rem; color: var(--ac-teal); }
.ac-stat p { margin: 4px 0 0; color: var(--ac-muted); font-weight: 700; }

.ac-cats, .ac-courses, .ac-people, .ac-quotes {
    display: grid; gap: 16px;
}
.ac-cats { grid-template-columns: repeat(3,1fr); }
.ac-courses, .ac-people { grid-template-columns: repeat(4,1fr); }
.ac-quotes { grid-template-columns: 1fr 1fr; }

.ac-cat, .ac-card, .ac-person, .ac-quote {
    background: #fff; border: 1px solid var(--ac-line); border-radius: 20px;
    overflow: hidden; text-decoration: none !important; color: inherit;
    box-shadow: 0 10px 22px rgba(15,44,76,.06);
}
.ac-cat { padding: 22px; display: flex; gap: 12px; align-items: center; }
.ac-cat i {
    width: 46px; height: 46px; display: grid; place-items: center;
    border-radius: 14px; background: rgba(11,107,88,.1); color: var(--ac-teal); font-size: 1.2rem;
}
.ac-cat h3, .ac-card h3, .ac-person h3 { margin: 0; font-size: 1.05rem; font-weight: 800; color: var(--ac-navy); }
.ac-card img, .ac-person img { width: 100%; height: 170px; object-fit: cover; }
.ac-card .pad, .ac-person .pad, .ac-quote { padding: 16px; }
.ac-price { color: var(--ac-teal); font-weight: 800; margin-top: 8px; }
.ac-price s { color: var(--ac-muted); font-weight: 600; margin-inline-start: 6px; }
.ac-mosaic {
    display: grid; grid-template-columns: 1.3fr 1fr 1fr; grid-template-rows: 200px 200px; gap: 12px;
}
.ac-mosaic a { position: relative; overflow: hidden; border-radius: 20px; color: #fff !important; }
.ac-mosaic a:first-child { grid-row: 1 / span 2; }
.ac-mosaic img { width: 100%; height: 100%; object-fit: cover; }
.ac-mosaic span {
    position: absolute; inset-inline: 0; bottom: 0; padding: 14px;
    background: linear-gradient(transparent, rgba(15,44,76,.88)); font-weight: 800;
}
.ac-split { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: center; }
.ac-split img { width: 100%; border-radius: 28px; min-height: 320px; object-fit: cover; }
.ac-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.ac-pills span { background: rgba(15,44,76,.08); color: var(--ac-navy); font-weight: 700; border-radius: 999px; padding: 6px 12px; }

.ac-footer {
    background: var(--ac-navy);
    color: #f4ead6;
    padding-top: 52px;
}
.ac-footer a { color: #f4ead6; text-decoration: none; }
.ac-footer a:hover { color: var(--ac-gold); }
.ac-foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 24px; padding-bottom: 32px; }
.ac-footer h4 { color: var(--ac-gold); font-weight: 800; margin-bottom: 12px; }
.ac-footer ul { list-style: none; padding: 0; margin: 0; }
.ac-footer li { margin-bottom: 8px; }
.ac-copy { border-top: 1px solid rgba(255,255,255,.12); padding: 14px 0; display: flex; justify-content: space-between; gap: 8px; flex-wrap: wrap; }

@media (max-width: 1100px) {
    .ac-hero-grid, .ac-split, .ac-foot-grid { grid-template-columns: 1fr; }
    .ac-courses, .ac-people, .ac-stats { grid-template-columns: 1fr 1fr; }
    .ac-hero-photo { order: -1; }
}
@media (max-width: 991px) {
    .ac-nav { display: flex; height: 66px; min-height: 66px; }
    .ac-toggle {
        display: grid !important; place-items: center; width: 42px; height: 42px;
        border: 1px solid var(--ac-line); background: #fff; border-radius: 12px; color: var(--ac-navy);
    }
    .ac-brand { margin-inline-end: auto; }
    .ac-menu-wrap {
        position: fixed; inset-block: 0; inset-inline-start: 0; width: min(340px,86vw);
        background: #fff; z-index: 1300; padding: 18px; transform: translateX(110%);
        transition: .3s transform; box-shadow: var(--ac-shadow);
    }
    html[dir="rtl"] .ac-menu-wrap { transform: translateX(110%); }
    .ac-menu-wrap.show { transform: translateX(0) !important; }
    .ac-drawer-title { display: flex; justify-content: space-between; align-items: center; font-weight: 800; margin-bottom: 12px; }
    .ac-menu { flex-direction: column !important; align-items: stretch !important; }
    .ac-overlay { display: none; position: fixed; inset: 0; background: rgba(15,44,76,.5); z-index: 1290; }
    .ac-overlay.show { display: block; }
    .ac-cats { grid-template-columns: 1fr; }
    .ac-mosaic { grid-template-columns: 1fr 1fr; grid-template-rows: 180px 180px 180px; }
    .ac-mosaic a:first-child { grid-column: 1 / span 2; grid-row: auto; min-height: 220px; }
}
@media (max-width: 680px) {
    .ac-topbar { display: none; }
    .ac-stats, .ac-courses, .ac-people, .ac-quotes { grid-template-columns: 1fr; }
    .ac-hero { min-height: auto; }
    .ac-section { padding: 46px 0; }
    .ac-btn span.hide-sm { display: none; }
}

.ac-page-hero {
    position: relative;
    overflow: hidden;
    background: none;
    color: #fff;
    padding: 64px 0 72px;
    text-align: center;
}
.ac-page-hero::before {
    content: "";
    position: absolute;
    inset: -16%;
    background: url("/images/ac-ar/mosque.jpg") center/cover no-repeat;
    animation: acKenBurns 20s ease-in-out infinite alternate;
    z-index: 0;
}
.ac-page-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg, rgba(15,44,76,.92) 0%, rgba(15,44,76,.7) 55%, rgba(11,107,88,.45) 100%);
    z-index: 1;
}
.ac-page-hero > * { position: relative; z-index: 2; }
.ac-page-hero span { color: #f3e0a6; font-weight: 800; }
.ac-page-hero h1 {
    font-size: clamp(1.55rem, 3vw, 2.1rem) !important;
    font-weight: 800;
    margin: 8px 0 10px;
    color: #fff;
    text-shadow: 0 6px 18px rgba(0,0,0,.35);
}
.ac-page-hero p { margin: 0 auto; max-width: 40rem; color: rgba(255,255,255,.92); font-size: .98rem; }
.ac-courses-page { grid-template-columns: repeat(3, 1fr); }
.ac-courses-page .ac-card p { color: var(--ac-muted); margin: 8px 0 0; font-size: .92rem; }
.ac-pager { margin-top: 28px; display: flex; justify-content: center; }
.ac-pager nav, .ac-pager ul { display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; list-style: none; padding: 0; margin: 0; }
.ac-pager a, .ac-pager span {
    display: inline-flex; min-width: 40px; height: 40px; align-items: center; justify-content: center;
    border-radius: 12px; background: #fff; border: 1px solid var(--ac-line); color: var(--ac-navy); font-weight: 800;
    text-decoration: none !important;
}
.ac-pager .active span, .ac-pager .page-item.active .page-link { background: var(--ac-teal); color: #fff; border-color: var(--ac-teal); }

.ac-auth { padding: 48px 0 72px; }
.ac-auth-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: center; }
.ac-auth-card {
    background: #fff; border-radius: 28px; padding: 32px;
    border: 1px solid var(--ac-line); box-shadow: var(--ac-shadow);
}
.ac-auth-card h1 { color: var(--ac-navy); font-weight: 800; margin: 12px 0 8px; }
.ac-auth-card p { color: var(--ac-muted); }
.ac-auth-card form { display: grid; gap: 8px; margin-top: 18px; }
.ac-auth-card label, .ac-form-row label { font-weight: 800; color: var(--ac-navy); }
.ac-auth-card input, .ac-auth-card textarea,
body.ac-redesign .ac-auth-card .form-control {
    width: 100%; border: 1px solid var(--ac-line); border-radius: 14px;
    padding: 12px 14px; font-weight: 700; color: var(--ac-ink); background: #fff;
}
.ac-auth-card textarea { min-height: 140px; }
.ac-btn-block { width: 100%; justify-content: center; margin-top: 8px; border: 0; cursor: pointer; }
.ac-check { display: flex; gap: 8px; align-items: center; font-weight: 700; color: var(--ac-muted); }
.ac-error { color: #9f1239; font-weight: 700; }
.ac-auth-links { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 16px; }
.ac-auth-links a { color: var(--ac-teal); font-weight: 800; }
.ac-auth-photo { position: relative; }
.ac-auth-photo img { width: 100%; border-radius: 28px; min-height: 360px; object-fit: cover; }
.ac-auth-photo p {
    position: absolute; inset-inline: 18px; bottom: 18px;
    background: rgba(15,44,76,.86); color: #fff; border-radius: 16px; padding: 12px 16px; font-weight: 800;
}
.ac-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

body.ac-redesign .breadcrumb-area {
    background-image:
        linear-gradient(105deg, rgba(15,44,76,.9) 0%, rgba(15,44,76,.62) 60%, rgba(11,107,88,.4) 100%),
        url("/images/ac-ar/mosque.jpg") !important;
    background-size: cover !important;
    background-position: center !important;
    min-height: 220px;
    padding: 48px 0;
}
body.ac-redesign .breadcrumb-title h2,
body.ac-redesign .breadcrumb-title h1 { color: #fff !important; font-weight: 800; text-shadow: 0 6px 16px rgba(0,0,0,.35); }
body.ac-redesign .breadcrumb { background: transparent; }
body.ac-redesign .breadcrumb a, body.ac-redesign .breadcrumb-item, body.ac-redesign .breadcrumb-item.active { color: #f3e0a6 !important; }
body.ac-redesign .mean-container, body.ac-redesign .header-area, body.ac-redesign .menu-area, body.ac-redesign footer.footer-bg { display: none !important; }
body.ac-redesign .btn.ss-btn, body.ac-redesign .readmore, body.ac-redesign .create-btn {
    background: var(--ac-teal) !important; border-color: var(--ac-teal) !important; color: #fff !important;
    border-radius: 999px !important; font-weight: 800;
}
body.ac-redesign .courses-item, body.ac-redesign .services-box, body.ac-redesign .contact-bg {
    border-radius: 20px; border: 1px solid var(--ac-line); background: #fff;
}
body.ac-redesign #main-content { color: var(--ac-ink); }

.ac-crumbs {
    margin-top: 18px;
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
    font-size: .88rem;
    font-weight: 700;
}
.ac-crumbs a { color: #f3e0a6 !important; }
.ac-crumbs strong { color: #fff; }
.ac-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 22px;
}
.ac-count { margin: 0; font-weight: 800; color: var(--ac-navy); }
.ac-sort, .ac-chiprow { display: flex; flex-wrap: wrap; gap: 8px; }
.ac-sort a, .ac-chiprow a {
    border: 1px solid var(--ac-line);
    background: #fff;
    color: var(--ac-navy) !important;
    border-radius: 999px;
    padding: 6px 14px;
    font-weight: 800;
    font-size: .85rem !important;
    text-decoration: none !important;
}
.ac-sort a.is-on, .ac-chiprow a.is-on,
.ac-sort a:hover, .ac-chiprow a:hover {
    background: var(--ac-teal);
    border-color: var(--ac-teal);
    color: #fff !important;
}
.ac-chiprow { margin-bottom: 24px; }

.ac-card-foot { display:flex; align-items:center; justify-content:space-between; gap:10px; margin-top:10px; }
.ac-card h3 a { color: inherit !important; text-decoration:none !important; }
.ac-wa-mini {
    width: 38px; height: 38px; border-radius: 50%;
    display: grid; place-items: center;
    background: #25d366; color: #fff !important;
    font-size: 1.1rem !important; flex-shrink: 0;
}
.ac-wa-mini:hover { background: #1da851; color: #fff !important; }

.ac-course-hero {
    position: relative;
    overflow: hidden;
    background: none;
    color: #fff;
    padding: 36px 0 48px;
}
.ac-course-hero::before {
    content: "";
    position: absolute;
    inset: -14%;
    background: url("/images/ac-ar/mosque.jpg") center/cover no-repeat;
    animation: acKenBurns 24s ease-in-out infinite alternate;
    z-index: 0;
}
.ac-course-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg, rgba(15,44,76,.94) 0%, rgba(15,44,76,.72) 58%, rgba(11,107,88,.42) 100%);
    z-index: 1;
}
.ac-course-hero > * { position: relative; z-index: 2; }
.ac-course-hero-grid {
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    gap: 28px;
    align-items: center;
}
.ac-crumbs-start { justify-content: flex-start; margin: 0 0 16px; text-align: start; }
.ac-course-hero h1 { color: #fff !important; margin: 0 0 10px; text-shadow: 0 8px 20px rgba(0,0,0,.35); }
.ac-course-hero .lead { color: rgba(255,255,255,.92); margin-bottom: 16px; max-width: 42rem; }
.ac-hero-meta { display:flex; flex-wrap:wrap; gap:14px; font-weight:700; color:#f3e0a6; }
.ac-hero-meta i { margin-inline-end: 6px; }
.ac-course-cover img { width:100%; max-height: 340px; object-fit:cover; border-radius:24px; box-shadow: var(--ac-shadow); }

.ac-course-layout { display:grid; grid-template-columns: 1.6fr .9fr; gap: 24px; align-items:start; }
.ac-block, .ac-features {
    background:#fff; border:1px solid var(--ac-line); border-radius:22px;
    padding: 22px 22px 8px; box-shadow: 0 10px 22px rgba(15,44,76,.06); margin-bottom: 18px;
}
.ac-block h2, .ac-features h2 { color: var(--ac-navy); margin: 0 0 14px; }
.ac-learn { list-style:none; padding:0; margin:0 0 12px; display:grid; grid-template-columns:1fr 1fr; gap:10px 16px; }
.ac-learn li { display:flex; gap:8px; align-items:flex-start; }
.ac-learn i { color: var(--ac-teal); margin-top: 4px; }
.ac-meet { list-style:none; padding:0; }
.ac-meet li { display:flex; justify-content:space-between; gap:8px; padding:10px 0; border-bottom:1px solid var(--ac-line); }
.ac-prose { color: var(--ac-ink); padding-bottom: 12px; }
.ac-prose p { margin-bottom: 10px; }
.ac-chapters details { border:1px solid var(--ac-line); border-radius:14px; padding:10px 14px; margin-bottom:10px; }
.ac-chapters summary { font-weight:800; color:var(--ac-navy); cursor:pointer; }
.ac-chapters ul { list-style:none; padding:8px 0 0; margin:0; }
.ac-chapters li { display:flex; gap:8px; padding:6px 0; color:var(--ac-muted); }
.ac-chapters li span { margin-inline-start:auto; }

.ac-side { position: sticky; top: 96px; }
.ac-features ul { list-style:none; padding:0; margin: 0 0 16px; }
.ac-features li { display:flex; justify-content:space-between; padding:10px 0; border-bottom:1px solid var(--ac-line); }
.ac-price-box { margin-bottom: 12px; }
.ac-price-box strong { font-size: 1.6rem; color: var(--ac-teal); }
.ac-price-box s { color: var(--ac-muted); margin-inline-start: 8px; }
.ac-wa {
    display:inline-flex; align-items:center; justify-content:center; gap:8px;
    background:#25d366; color:#fff !important; border-radius:999px;
    padding:10px 16px; font-weight:800; text-decoration:none !important; margin-top:10px;
}
.ac-wa:hover { background:#1da851; color:#fff !important; }
.ac-codebox { margin-top: 16px; padding-top: 14px; border-top:1px dashed var(--ac-line); }
.ac-codebox h3 { margin:0 0 8px; color:var(--ac-navy); }
.ac-codebox input {
    width:100%; border:1px solid var(--ac-line); border-radius:12px;
    padding:10px 12px; font-weight:700; margin-bottom:8px;
}

@media (max-width: 991px) {
    .ac-course-hero-grid, .ac-course-layout, .ac-learn { grid-template-columns: 1fr; }
    .ac-side { position: static; }
}

@media (max-width: 991px) {
    .ac-auth-grid, .ac-form-row, .ac-courses-page { grid-template-columns: 1fr; }
    .ac-auth-photo { order: -1; }
    .ac-auth-photo img { min-height: 220px; }
    .ac-toolbar { flex-direction: column; align-items: stretch; }
    .ac-faq-layout, .ac-article-layout, .ac-blog-grid { grid-template-columns: 1fr; }
}

.ac-crumbs span { color: rgba(255,255,255,.92); }

@keyframes acKenBurns {
    from { transform: scale(1) translate(0, 0); }
    to { transform: scale(1.14) translate(-2.4%, 1.6%); }
}
@keyframes acFadeUp {
    from { opacity: 0; transform: translateY(22px); }
    to { opacity: 1; transform: none; }
}
@keyframes acFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}
@keyframes acPhotoIn {
    from { opacity: 0; transform: translateY(18px) scale(.98); }
    to { opacity: 1; transform: none; }
}

.ac-hero-photo img {
    animation: acPhotoIn .9s ease both;
}
.ac-float { animation: acFloat 4.2s ease-in-out infinite; }
.ac-float.two { animation-delay: 1.1s; }

.ac-stat, .ac-cat, .ac-card, .ac-person, .ac-quote, .ac-block, .ac-features {
    animation: acFadeUp .7s ease both;
}
.ac-stats .ac-stat:nth-child(1), .ac-courses .ac-card:nth-child(1), .ac-cats .ac-cat:nth-child(1) { animation-delay: .05s; }
.ac-stats .ac-stat:nth-child(2), .ac-courses .ac-card:nth-child(2), .ac-cats .ac-cat:nth-child(2) { animation-delay: .12s; }
.ac-stats .ac-stat:nth-child(3), .ac-courses .ac-card:nth-child(3), .ac-cats .ac-cat:nth-child(3) { animation-delay: .19s; }
.ac-stats .ac-stat:nth-child(4), .ac-courses .ac-card:nth-child(4), .ac-cats .ac-cat:nth-child(4) { animation-delay: .26s; }
.ac-courses .ac-card:nth-child(5) { animation-delay: .33s; }
.ac-courses .ac-card:nth-child(6) { animation-delay: .4s; }
.ac-courses .ac-card:nth-child(7) { animation-delay: .47s; }
.ac-courses .ac-card:nth-child(8) { animation-delay: .54s; }

.ac-head { animation: acFadeUp .65s ease both; }
.ac-split img, .ac-mosaic a img { transition: transform 1.1s ease; }
.ac-mosaic a:hover img, .ac-split:hover img, .ac-card:hover img, .ac-blog-card:hover img {
    transform: scale(1.06);
}
.ac-cat, .ac-card, .ac-person, .ac-quote, .ac-stat {
    transition: transform .35s ease, box-shadow .35s ease;
}
.ac-cat:hover, .ac-card:hover, .ac-person:hover, .ac-quote:hover, .ac-stat:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 32px rgba(15,44,76,.12);
}

.ac-blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}
.ac-blog-card img { height: 200px; }
.ac-blog-meta {
    display: flex; justify-content: space-between; gap: 8px;
    color: var(--ac-muted); font-size: .85rem; font-weight: 700; margin-bottom: 8px;
}
.ac-more {
    display: inline-block; margin-top: 10px; color: var(--ac-teal) !important;
    font-weight: 800; text-decoration: none !important;
}
.ac-article-layout, .ac-faq-layout {
    display: grid;
    grid-template-columns: 1.7fr .8fr;
    gap: 28px;
    align-items: start;
}
.ac-article, .ac-faq-side, .ac-article-side {
    background: #fff; border: 1px solid var(--ac-line); border-radius: 24px;
    padding: 22px; box-shadow: 0 10px 22px rgba(15,44,76,.06);
}
.ac-article-cover {
    width: 100%; max-height: 420px; object-fit: cover;
    border-radius: 18px; margin-bottom: 18px;
}
.ac-article-side h2, .ac-faq-side h2 { color: var(--ac-navy); margin: 0 0 14px; }
.ac-side-post {
    display: grid; grid-template-columns: 86px 1fr; gap: 10px;
    align-items: center; margin-bottom: 14px; color: inherit !important;
    text-decoration: none !important;
}
.ac-side-post img { width: 86px; height: 64px; object-fit: cover; border-radius: 12px; }
.ac-side-post strong { display: block; color: var(--ac-navy); }
.ac-side-post span { color: var(--ac-muted); font-size: .82rem; }
.ac-faq-side img { width: 100%; height: 180px; object-fit: cover; border-radius: 16px; margin-bottom: 12px; }
.ac-faq-side p { color: var(--ac-muted); }
.ac-faq {
    background: #fff; border: 1px solid var(--ac-line); border-radius: 16px;
    padding: 4px 16px; margin-bottom: 10px; animation: acFadeUp .6s ease both;
}
.ac-faq summary {
    cursor: pointer; font-weight: 800; color: var(--ac-navy);
    padding: 14px 0; list-style: none;
}
.ac-faq summary::-webkit-details-marker { display: none; }
.ac-faq-body { color: var(--ac-ink); padding: 0 0 14px; line-height: 1.8; }
.ac-prose h2, .ac-prose h3 { color: var(--ac-navy); margin: 18px 0 8px; }
.ac-prose ul { padding-inline-start: 1.2rem; margin-bottom: 12px; }

@media (prefers-reduced-motion: reduce) {
    .ac-hero::before, .ac-page-hero::before, .ac-course-hero::before,
    .ac-hero-photo img, .ac-float, .ac-stat, .ac-cat, .ac-card, .ac-person, .ac-quote,
    .ac-block, .ac-features, .ac-head, .ac-faq {
        animation: none !important;
    }
    .ac-mosaic a:hover img, .ac-split:hover img, .ac-card:hover img { transform: none; }
}

.ac-cert-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.7fr) 280px;
    gap: 24px;
    align-items: start;
}
.ac-cert-sheet {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 8% 12%, rgba(201,162,39,.16), transparent 28%),
        radial-gradient(circle at 92% 88%, rgba(11,107,88,.12), transparent 26%),
        linear-gradient(180deg, #fffdf8 0%, #f4ead6 100%);
    border: 14px solid var(--ac-navy);
    outline: 3px solid var(--ac-gold);
    outline-offset: -22px;
    border-radius: 8px;
    min-height: 520px;
    padding: 36px 42px 28px;
    text-align: center;
    box-shadow: 0 24px 50px rgba(15,44,76,.16);
    animation: acFadeUp .7s ease both;
}
.ac-cert-ornament {
    position: absolute;
    width: 54px; height: 54px;
    border: 3px solid var(--ac-gold);
    pointer-events: none;
}
.ac-cert-ornament-tl { top: 28px; left: 28px; border-right: 0; border-bottom: 0; }
.ac-cert-ornament-tr { top: 28px; right: 28px; border-left: 0; border-bottom: 0; }
.ac-cert-ornament-bl { bottom: 28px; left: 28px; border-right: 0; border-top: 0; }
.ac-cert-ornament-br { bottom: 28px; right: 28px; border-left: 0; border-top: 0; }
.ac-cert-brand {
    display: flex; justify-content: center; align-items: center; gap: 10px;
    margin-bottom: 8px;
}
.ac-cert-brand img { width: 46px; height: 46px; }
.ac-cert-brand strong { display: block; color: var(--ac-navy); font-size: 1.05rem; }
.ac-cert-brand small { color: var(--ac-muted); font-weight: 700; }
.ac-cert-kicker {
    display: inline-block; margin: 8px 0 0; color: var(--ac-teal);
    font-weight: 800; letter-spacing: .08em;
}
.ac-cert-sheet h2 {
    font-size: clamp(2rem, 4vw, 3rem) !important;
    color: var(--ac-navy); margin: 4px 0 6px; font-weight: 800;
}
.ac-cert-sheet h2::after {
    content: ""; display: block; width: 88px; height: 3px;
    background: var(--ac-gold); margin: 10px auto 0;
}
.ac-cert-lead, .ac-cert-text, .ac-cert-date { color: #4b5b6e; margin: 0 auto; max-width: 36rem; }
.ac-cert-name {
    font-size: clamp(1.6rem, 3vw, 2.3rem);
    color: var(--ac-gold); font-weight: 800; margin: 10px 0 8px;
}
.ac-cert-course {
    font-size: 1.2rem; font-weight: 800; color: var(--ac-teal);
    margin: 10px 0 6px;
}
.ac-cert-signs {
    display: grid; grid-template-columns: 1fr auto 1fr;
    gap: 12px; align-items: end; margin-top: 28px;
}
.ac-cert-signline {
    display: block; border-top: 1px solid var(--ac-gold);
    padding-top: 8px; font-weight: 800; color: var(--ac-navy);
}
.ac-cert-signs small { color: var(--ac-muted); font-weight: 700; }
.ac-cert-seal {
    width: 86px; height: 86px; border-radius: 50%;
    border: 3px solid var(--ac-gold);
    background: radial-gradient(circle at 30% 30%, #fff, #f3e0a6);
    color: var(--ac-navy); display: grid; place-items: center;
    box-shadow: 0 0 0 6px rgba(201,162,39,.18);
    margin: 0 auto;
}
.ac-cert-seal b { font-size: 1.5rem; line-height: 1; }
.ac-cert-seal em { display: block; font-style: normal; font-size: .72rem; font-weight: 800; }
.ac-cert-foot { margin-top: 22px; color: var(--ac-muted); font-size: .82rem; font-weight: 700; }
.ac-cert-aside { display: grid; gap: 14px; }
.ac-cert-box, .ac-cert-actions {
    background: #fff; border: 1px solid var(--ac-line); border-radius: 20px;
    padding: 16px; box-shadow: 0 10px 22px rgba(15,44,76,.06);
}
.ac-cert-box h3 { margin: 0 0 12px; color: var(--ac-navy); font-size: 1rem; }
.ac-cert-person { display: flex; gap: 10px; align-items: center; }
.ac-cert-person img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; }
.ac-cert-person strong { display: block; color: var(--ac-navy); }
.ac-cert-person span { color: var(--ac-muted); font-size: .85rem; }
.ac-cert-course-mini { display: grid; gap: 8px; color: inherit !important; text-decoration: none !important; }
.ac-cert-course-mini img { width: 100%; height: 120px; object-fit: cover; border-radius: 14px; }
.ac-cert-course-mini strong { color: var(--ac-navy); }
.ac-cert-actions { display: grid; gap: 8px; }
.ac-cert-note { margin: 8px 0 0; color: var(--ac-muted); font-size: .88rem; }
.ac-cert-note a { color: var(--ac-teal); font-weight: 800; }

@media (max-width: 991px) {
    .ac-cert-layout { grid-template-columns: 1fr; }
    .ac-cert-sheet { padding: 28px 18px; min-height: 0; }
    .ac-cert-signs { grid-template-columns: 1fr; gap: 18px; }
}

@media print {
    @page { size: A4 landscape; margin: 10mm; }
    .ac-header, .ac-footer, .ac-page-hero, .ac-cert-aside, .ac-topbar, .skip-to-content {
        display: none !important;
    }
    .ac-cert-page, .ac-section { padding: 0 !important; background: #fff !important; }
    .ac-cert-layout { display: block; }
    .ac-cert-sheet {
        box-shadow: none !important; animation: none !important;
        min-height: auto; break-inside: avoid;
    }
}
