/*
 * LOCKED SHARED SHELL
 * Header: redesigned Home. Account/theme + mobile UI: redesigned Bookademy.
 * Footer: redesigned Home. Do not edit without an explicit user request.
 */
@font-face {
    font-family: "IRANSansX";
    src: url("../fonts/iransans/woff2/IRANSansXFaNum-Regular.woff2") format("woff2");
    font-style: normal;
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: "IRANSansX";
    src: url("../fonts/iransans/woff2/IRANSansXFaNum-DemiBold.woff2") format("woff2");
    font-style: normal;
    font-weight: 600;
    font-display: swap;
}

@font-face {
    font-family: "IRANSansX";
    src: url("../fonts/iransans/woff2/IRANSansXFaNum-Bold.woff2") format("woff2");
    font-style: normal;
    font-weight: 700;
    font-display: swap;
}

@font-face {
    font-family: "IRANSansX";
    src: url("../fonts/iransans/woff2/IRANSansXFaNum-ExtraBold.woff2") format("woff2");
    font-style: normal;
    font-weight: 800;
    font-display: swap;
}

@font-face {
    font-family: "IRANSansX";
    src: url("../fonts/iransans/woff2/IRANSansXFaNum-Black.woff2") format("woff2");
    font-style: normal;
    font-weight: 900;
    font-display: swap;
}

@font-face {
    font-family: "Yekan Bakh";
    src: url("../fonts/bookademy/yekan-bakh-fanum-variable.woff2") format("woff2");
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
}

@font-face {
    font-family: "Peyda";
    src: url("../fonts/bookademy/peyda-semibold.woff2") format("woff2");
    font-style: normal;
    font-weight: 600;
    font-display: swap;
}

@font-face {
    font-family: "Peyda";
    src: url("../fonts/bookademy/peyda-bold.woff2") format("woff2");
    font-style: normal;
    font-weight: 700;
    font-display: swap;
}

@font-face {
    font-family: "Peyda";
    src: url("../fonts/bookademy/peyda-extrabold.woff2") format("woff2");
    font-style: normal;
    font-weight: 800;
    font-display: swap;
}

@font-face {
    font-family: "Peyda";
    src: url("../fonts/bookademy/peyda-black.woff2") format("woff2");
    font-style: normal;
    font-weight: 900;
    font-display: swap;
}

:root {
    --br-webinar-bar-height: 56px;
    --br-webinar-design-height: 56px;
    --br-admin-bar-height: 0px;
    --br-header-height: 64px;
    --br-shell-top-offset: var(--br-webinar-bar-height);
    --br-bottom-nav-clearance: 88px;
    --br-z-header: 70;
    --br-z-webinar: 72;
    --br-z-bottom-nav: 80;
    --br-z-drawer: 110;
    --br-z-popover: 120;
    --br-z-account-sheet: 140;
    --br-primary-50: #f3f8f9;
    --br-primary-100: #e6f1f2;
    --br-primary-200: #c7dee1;
    --br-primary-300: #a7ced3;
    --br-primary-500: #5fa8b0;
    --br-primary-600: #136b76;
    --br-primary-700: #0a4d56;
    --br-primary-800: #08404a;
    --br-primary-900: #062e33;
    --br-primary-950: #03191d;
    --br-accent-200: #f6e1b7;
    --br-accent-400: #e8b560;
    --br-accent-500: #d49b3a;
    --br-accent-600: #c08a2e;
    --br-shell-ink: #0f172a;
    --br-shell-ink-soft: #334155;
    --br-shell-muted: #64748b;
    --br-shell-border: #e2e8f0;
    --br-shell-card: #fff;
    --br-shell-bg: #f3f8f9;
    --br-shell-shadow: 0 16px 45px rgba(6, 46, 51, .08);
}

/* Keep the layout viewport identical to the Bookademy reference. Without the
 * shared thin gutter, Home loses four pixels of usable width on scrollable
 * mobile pages and its fixed bottom navigation becomes visibly narrower. */
html {
    scrollbar-gutter: stable;
    scrollbar-width: thin;
    scrollbar-color: #136b76 #e6f1f2;
}

html.dark {
    scrollbar-color: #5fa8b0 #03191d;
}

/*
 * The shared shell must not depend on a page bundle's reset. Bookademy loads
 * Tailwind's preflight, while the redesigned Home intentionally does not; a
 * scoped reset keeps the exact same controls on every template without
 * leaking into page content.
 */
:where(.br-site-header, .br-drawer-shell, .br-footer, .br-bottom-nav, .br-account-sheet, .br-search-pop, .br-to-top),
:where(.br-site-header, .br-drawer-shell, .br-footer, .br-bottom-nav, .br-account-sheet, .br-search-pop, .br-to-top) *,
:where(.br-site-header, .br-drawer-shell, .br-footer, .br-bottom-nav, .br-account-sheet, .br-search-pop, .br-to-top) *::before,
:where(.br-site-header, .br-drawer-shell, .br-footer, .br-bottom-nav, .br-account-sheet, .br-search-pop, .br-to-top) *::after {
    box-sizing: border-box;
    border-width: 0;
    border-style: solid;
    border-color: currentColor;
}

:where(.br-site-header, .br-drawer-shell, .br-footer, .br-bottom-nav, .br-account-sheet, .br-search-pop, .br-to-top) :where(h1, h2, h3, h4, h5, h6, p) {
    margin: 0;
    font-size: inherit;
    font-weight: inherit;
}

:where(.br-site-header, .br-drawer-shell, .br-footer, .br-bottom-nav, .br-account-sheet, .br-search-pop, .br-to-top) :where(button, input, select, optgroup, textarea) {
    margin: 0;
    padding: 0;
    font: inherit;
    letter-spacing: inherit;
    color: inherit;
    background-color: transparent;
    border-radius: 0;
}

.br-site-header :is(button, input, select, textarea),
.br-drawer-shell :is(button, input, select, textarea),
.br-footer :is(button, input, select, textarea),
.br-bottom-nav :is(button, input, select, textarea),
.br-account-sheet :is(button, input, select, textarea),
.br-search-pop :is(button, input, select, textarea),
.br-to-top :is(button, input, select, textarea) {
    font-family: inherit !important;
}

:where(.br-site-header, .br-drawer-shell, .br-footer, .br-bottom-nav, .br-account-sheet, .br-search-pop, .br-to-top) :where(a) {
    color: inherit;
    text-decoration: inherit;
}

:where(.br-site-header, .br-drawer-shell, .br-footer, .br-bottom-nav, .br-account-sheet, .br-search-pop, .br-to-top) :where(img, svg) {
    display: block;
    vertical-align: middle;
}

.br-site-header [hidden],
.br-drawer-shell [hidden],
.br-footer [hidden],
.br-bottom-nav [hidden],
.br-account-sheet [hidden],
.br-search-pop [hidden] {
    display: none !important;
}

.br-site-header,
.br-drawer-shell,
.br-footer,
.br-bottom-nav,
.br-account-sheet,
.br-search-pop {
    font-family: "IRANSansX", "Yekan Bakh", Tahoma, Arial, sans-serif;
    font-size: 14px;
    line-height: 1.5;
}

/* Home's content bundle sizes every SVG in em units. Pin shell icons to the
 * geometry used by Bookademy so labels and controls cannot collapse. */
.br-desktop-nav > a > svg,
.br-nav-drop-trigger > svg:first-child {
    width: 18px;
    height: 18px;
    stroke-width: 1.8;
}

.br-nav-chevron {
    width: 14px;
    height: 14px;
    stroke-width: 1.8;
}

.br-mega-intro-icon > svg {
    width: 27px;
    height: 27px;
    stroke-width: 1.7;
}

.br-mega-links a > span:first-child > svg {
    width: 20px;
    height: 20px;
    stroke-width: 1.8;
}

.br-mega-links a > svg {
    width: 16px;
    height: 16px;
    stroke-width: 1.8;
}

.br-search-form > svg {
    width: 18px;
    height: 18px;
    stroke-width: 1.8;
}

#header-search-all > svg {
    width: 15px;
    height: 15px;
    stroke-width: 1.8;
}

.br-drawer-row-icon > svg {
    width: 21px;
    height: 21px;
    stroke-width: 1.8;
}

.br-drawer-chevron,
.br-drawer-category > svg,
.br-drawer-leaves .br-drawer-all > svg {
    width: 18px;
    height: 18px;
    stroke-width: 1.8;
}

.br-drawer-login > svg {
    width: 20px;
    height: 20px;
    stroke-width: 1.9;
}

.br-socials a > svg {
    width: 18px;
    height: 18px;
    stroke-width: 1.8;
}

.br-footer-group summary > svg {
    width: 17px;
    height: 17px;
    stroke-width: 1.8;
}

.br-footer-contact > :is(a, .br-footer-phone) > span > svg {
    width: 19px;
    height: 19px;
    stroke-width: 1.8;
}

.br-footer-contact p > svg {
    width: 15px;
    height: 15px;
    stroke-width: 1.8;
}

.br-trust-card > svg {
    width: 37px;
    height: 37px;
    stroke-width: 1.8;
}

.br-bottom-nav a > svg {
    width: 20px;
    height: 20px;
    stroke-width: 1.8;
}

.br-bottom-nav .br-bottom-discover > svg {
    width: 24px;
    height: 24px;
    stroke-width: 1.9;
}

.br-to-top > svg {
    width: 18px;
    height: 18px;
    stroke-width: 1.9;
}

html.dark {
    --br-shell-ink: #f8fafc;
    --br-shell-ink-soft: #e2e8f0;
    --br-shell-muted: #a9bdc1;
    --br-shell-border: rgba(199, 222, 225, .14);
    --br-shell-card: #062e33;
    --br-shell-bg: #03191d;
    color-scheme: dark;
}

html.br-drawer-open,
html.br-drawer-open body,
html.br-account-sheet-open,
html.br-account-sheet-open body {
    overflow: hidden;
}

/* Global webinar notice. It intentionally uses violet and electric lime,
 * outside the site's teal/gold palette, so the time-sensitive message remains
 * prominent and equally legible in both light and dark themes. */
.br-webinar-bar,
.br-webinar-bar *,
.br-webinar-bar *::before,
.br-webinar-bar *::after {
    box-sizing: border-box;
}

.br-webinar-bar {
    position: sticky;
    top: var(--br-admin-bar-height, 0px);
    z-index: var(--br-z-webinar);
    height: var(--br-webinar-design-height);
    color: #fff;
    background: linear-gradient(100deg, #4c1d95 0%, #6d28d9 52%, #a21caf 100%);
    border-bottom: 1px solid #c084fc;
    font-family: "Yekan Bakh", "IRANSansX", Tahoma, Arial, sans-serif;
    font-size: 11px;
    line-height: 1.35;
}

.br-webinar-bar__inner {
    width: min(calc(100% - 16px), 1344px);
    height: 100%;
    margin-inline: auto;
    display: grid;
    grid-template-columns: minmax(84px, 1fr) auto auto;
    align-items: center;
    gap: 6px;
}

.br-webinar-bar__intro {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
}

.br-webinar-bar__copy {
    min-width: 0;
    display: grid;
    align-content: center;
    gap: 1px;
}

.br-webinar-bar__eyebrow {
    color: #d9ff57;
    font-family: "Yekan Bakh", "IRANSansX", Tahoma, Arial, sans-serif;
    font-size: 7px;
    font-weight: 850;
    line-height: 1;
}

.br-webinar-bar__intro strong {
    display: block;
    max-width: 114px;
    overflow: hidden;
    color: #fff;
    font-family: "Peyda", "Yekan Bakh", Tahoma, Arial, sans-serif;
    font-size: 10.5px;
    font-weight: 900;
    line-height: 1.2;
    white-space: normal;
}

.br-webinar-bar__date {
    display: none;
    color: #ede9fe;
    font-size: 10px;
    font-weight: 700;
}

.br-webinar-bar__signal {
    position: relative;
    width: 8px;
    height: 8px;
    flex: 0 0 auto;
    border: 2px solid #6d28d9;
    border-radius: 50%;
    background: #d9ff57;
    box-shadow: 0 0 0 3px rgba(217, 255, 87, .24);
    animation: br-webinar-pulse 1.8s ease-out infinite;
}

.br-webinar-countdown-wrap {
    display: flex;
    align-items: center;
    gap: 6px;
}

.br-webinar-countdown__label {
    display: none;
    color: #f5d0fe;
    font-size: 8px;
    font-weight: 800;
    white-space: nowrap;
}

.br-webinar-countdown {
    display: grid;
    grid-template-columns: repeat(4, 29px);
    gap: 3px;
}

.br-webinar-countdown__unit {
    position: relative;
    height: 40px;
    display: grid;
    place-items: center;
    align-content: center;
    border: 1px solid #8b5cf6;
    border-radius: 9px;
    color: #d9ff57;
    background: #2e1065;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .09), 0 4px 12px rgba(31, 7, 63, .28);
}

.br-webinar-countdown__unit strong,
.br-webinar-countdown__unit small {
    display: block;
    margin: 0;
    padding: 0;
    font-family: "Yekan Bakh", "IRANSansX", Tahoma, Arial, sans-serif;
    line-height: 1;
}

.br-webinar-countdown__unit strong {
    font-size: 12px;
    font-weight: 900;
    font-variant-numeric: tabular-nums;
}

.br-webinar-countdown__unit small {
    margin-top: 3px;
    color: #e9d5ff;
    font-size: 6.5px;
    font-weight: 800;
}

.br-webinar-countdown__unit:last-child {
    color: #2e1065;
    background: #d9ff57;
    border-color: #e7ff91;
    animation: br-webinar-seconds 1s ease-in-out infinite;
}

.br-webinar-countdown__unit:last-child small {
    color: #581c87;
}

.br-webinar-bar__cta {
    min-width: 75px;
    height: 40px;
    padding-inline: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    color: #24123b !important;
    background: #d9ff57;
    border: 1px solid #e7ff91;
    border-radius: 11px;
    box-shadow: 0 5px 14px rgba(22, 8, 45, .22);
    font-family: "Yekan Bakh", "IRANSansX", Tahoma, Arial, sans-serif;
    font-size: 8.5px;
    font-weight: 900;
    line-height: 1;
    text-decoration: none !important;
    white-space: nowrap;
    transition: background .2s ease, transform .2s ease, box-shadow .2s ease;
}

.br-webinar-bar__cta:hover {
    color: #24123b !important;
    background: #e7ff91;
    box-shadow: 0 7px 18px rgba(22, 8, 45, .3);
}

.br-webinar-bar__cta:active {
    transform: scale(.97);
}

.br-webinar-bar__cta svg {
    width: 13px;
    height: 13px;
    flex: 0 0 auto;
}

.br-webinar-bar__cta-full {
    display: none;
}

.br-webinar-bar.is-started .br-webinar-countdown {
    grid-template-columns: 1fr;
}

.br-webinar-bar.is-started .br-webinar-countdown__unit:not(:first-child) {
    display: none;
}

.br-webinar-bar.is-started .br-webinar-countdown__unit:first-child {
    width: 126px;
}

.br-webinar-bar.is-started .br-webinar-countdown__unit:first-child strong {
    font-size: 9px;
}

.br-webinar-bar.is-started .br-webinar-countdown__unit:first-child small {
    display: none;
}

@keyframes br-webinar-pulse {
    0%, 100% { box-shadow: 0 0 0 3px rgba(217, 255, 87, .24); }
    50% { box-shadow: 0 0 0 6px rgba(217, 255, 87, 0); }
}

@keyframes br-webinar-seconds {
    0%, 100% { box-shadow: 0 4px 12px rgba(31, 7, 63, .28), 0 0 0 0 rgba(217, 255, 87, .38); }
    50% { box-shadow: 0 5px 16px rgba(31, 7, 63, .36), 0 0 0 3px rgba(217, 255, 87, 0); }
}

/* Product notice only; retain the shared notice height/offset contract. */
.br-webinar-bar.br-product-promo {
    position: sticky;
    isolation: isolate;
    overflow: hidden;
    height: auto;
    min-height: var(--br-webinar-design-height);
    background:
        radial-gradient(ellipse at 18% 0%, rgba(132, 190, 160, .14), transparent 55%),
        linear-gradient(105deg, #0b3033 0%, #174b48 100%);
    border-bottom-color: rgba(218, 190, 127, .4);
    color: #f7f4eb;
    box-shadow: 0 4px 16px rgba(7, 35, 37, .12);
}

.br-webinar-bar.br-product-promo::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(105deg, transparent 34%, rgba(255, 255, 255, .25) 48%, transparent 62%);
    background-size: 230% 100%;
    opacity: 0;
}

.br-product-promo__hitarea {
    display: block;
    width: 100%;
    color: inherit !important;
    text-decoration: none !important;
    cursor: pointer;
}

.br-product-promo__inner {
    position: relative;
    z-index: 1;
    width: min(calc(100% - 28px), 1344px);
    min-height: var(--br-webinar-design-height);
    margin-inline: auto;
    padding-block: 4px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.br-product-promo__intro {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 9px;
}

.br-product-promo__mark {
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    display: grid;
    place-items: center;
    color: #e6d3a4;
    border: 1px solid rgba(230, 211, 164, .3);
    border-radius: 12px;
    background: rgba(255, 255, 255, .06);
    box-shadow: inset 0 1px rgba(255, 255, 255, .35), 0 8px 22px rgba(113, 49, 4, .13);
}

.br-product-promo__mark svg {
    width: 18px;
    height: 18px;
}

.br-product-promo__copy {
    display: grid;
    gap: 1px;
    min-width: 0;
}

.br-product-promo__detail {
    color: #d4e2dd;
    font-size: 12px;
    line-height: 1.5;
}

.br-product-promo__eyebrow {
    width: max-content;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #713309;
    font-size: 8px;
    font-weight: 800;
    line-height: 1.35;
}

.br-product-promo__eyebrow i {
    width: 5px;
    height: 5px;
    flex: 0 0 5px;
    border-radius: 50%;
    background: #9d280f;
    box-shadow: 0 0 0 3px rgba(157, 40, 15, .14);
    animation: br-product-promo-pulse 2.4s ease-out infinite;
}

.br-product-promo__copy strong {
    color: #fff7e4;
    font-family: "Peyda", "Yekan Bakh", Tahoma, Arial, sans-serif;
    font-size: 12.5px;
    font-weight: 900;
    line-height: 1.5;
    white-space: normal;
}

.br-product-promo__cta {
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 42px;
    padding: 8px 13px;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 12px;
    color: #163a36 !important;
    background: linear-gradient(135deg, #f2e5c5, #dbc38d);
    box-shadow: 0 10px 26px rgba(7, 45, 49, .23), inset 0 1px rgba(255, 255, 255, .14);
    font-family: "Yekan Bakh", Tahoma, Arial, sans-serif;
    font-size: 11px;
    font-weight: 850;
    line-height: 1.5;
    text-decoration: none !important;
    white-space: nowrap;
    transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}

.br-product-promo__cta::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(110deg, transparent 25%, rgba(255, 255, 255, .48) 48%, transparent 70%);
    transform: translateX(125%);
    transition: transform .55s ease;
}

.br-product-promo__cta > * {
    position: relative;
    z-index: 1;
}

.br-product-promo__hitarea:hover .br-product-promo__cta {
    filter: brightness(1.04);
    transform: translateY(-1px);
    box-shadow: 0 13px 30px rgba(7, 45, 49, .32), inset 0 1px rgba(255, 255, 255, .18);
}

.br-product-promo__hitarea:hover .br-product-promo__cta::before {
    transform: translateX(-125%);
}

.br-product-promo__cta svg {
    flex-shrink: 0;
    width: 15px;
    height: 15px;
}

.br-product-promo__hitarea:focus-visible {
    outline: 3px solid #f2e5c5;
    outline-offset: -3px;
}

@media (min-width: 601px) {
    .br-product-promo__inner {
        width: min(calc(100% - 48px), 1344px);
        padding-block: 4px;
    }
    .br-product-promo__copy {
        gap: 0;
        display: flex;
        align-items: center;
        column-gap: 16px;
    }
    .br-product-promo__mark { width: 36px; height: 36px; flex-basis: 36px; }
    .br-product-promo__eyebrow { font-size: 8.5px; }
    .br-product-promo__copy strong { font-size: 14px; white-space: nowrap; }
    .br-product-promo__cta {
        min-height: 40px;
        padding-inline: 17px;
        font-size: 12px;
    }
}

@media (max-width: 600px) {
    .br-product-promo__inner {
        width: calc(100% - 20px);
        gap: 8px;
    }
    .br-product-promo__intro {
        flex: 1 1 auto;
        min-width: 0;
    }
    .br-product-promo__mark,
    .br-product-promo__eyebrow {
        display: none;
    }
    .br-product-promo__copy {
        width: 100%;
    }
    .br-product-promo__copy strong {
        font-size: 14px;
        line-height: 1.55;
    }
    .br-product-promo__detail { display: none; }
    .br-product-promo__cta {
        min-height: 38px;
        padding-inline: 12px;
        border-radius: 11px;
    }
}

@media (max-width: 380px) {
    .br-product-promo__inner { width: calc(100% - 18px); }
    .br-product-promo__copy strong { font-size: 13px; }
    .br-product-promo__cta { padding-inline: 10px; font-size: 10px; }
}

@keyframes br-product-promo-light {
    0%, 24% { background-position: 140% 0; }
    65%, 100% { background-position: -90% 0; }
}

@keyframes br-product-promo-pulse {
    0%, 100% { box-shadow: 0 0 0 3px rgba(157, 40, 15, .14); }
    50% { box-shadow: 0 0 0 6px rgba(157, 40, 15, 0); }
}

@media (prefers-reduced-motion: reduce) {
    .br-webinar-bar.br-product-promo::before,
    .br-product-promo__eyebrow i { animation: none; }
    .br-product-promo__cta,
    .br-product-promo__cta::before { transition: none; }
}

.br-sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.br-icon-button {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    padding: 0;
    border: 1px solid rgba(10, 77, 86, .15);
    border-radius: 14px;
    color: var(--br-primary-700);
    background: #fff;
    box-shadow: 0 5px 16px rgba(3, 25, 29, .06);
    cursor: pointer;
    transition: transform .2s ease, border-color .2s ease, background .2s ease, color .2s ease;
}

.br-icon-button svg {
    width: 21px;
    height: 21px;
    stroke-width: 1.9;
}

.br-icon-button:hover {
    border-color: rgba(212, 155, 58, .55);
}

.br-icon-button:active {
    transform: scale(.96);
}

.br-icon-button:focus-visible {
    border-radius: 14px;
}

html.dark .br-icon-button {
    color: var(--br-primary-200);
    background: var(--br-primary-900);
    border-color: rgba(199, 222, 225, .16);
    box-shadow: 0 8px 24px rgba(0, 0, 0, .18);
}

.br-site-header {
    position: sticky;
    top: var(--br-shell-top-offset, var(--br-webinar-bar-height));
    z-index: var(--br-z-header);
    height: 64px;
    color: var(--br-shell-ink);
    background: #f3f8f9;
    border-bottom: 1px solid rgba(10, 77, 86, .1);
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
    transition: box-shadow .2s ease, background .2s ease, border-color .2s ease;
}

.br-site-header.is-stuck {
    box-shadow: 0 12px 34px rgba(3, 25, 29, .08);
}

html.dark .br-site-header {
    background: #03191d;
    border-color: rgba(199, 222, 225, .11);
}

.br-header-inner {
    width: min(calc(100% - 24px), 1344px);
    height: 100%;
    margin-inline: auto;
    display: grid;
    grid-template-columns: 44px 1fr 44px;
    align-items: center;
    gap: 10px;
}

.br-menu-trigger {
    grid-column: 1;
    grid-row: 1;
}

.br-header-logo {
    grid-column: 2;
    grid-row: 1;
    justify-self: center;
    display: grid;
    place-items: center;
    min-width: 0;
}

.br-header-logo img {
    width: 102px;
    height: 43px;
    object-fit: contain;
}

.br-shell-logo-dark {
    display: none !important;
}

html.dark .br-shell-logo-light {
    display: none !important;
}

html.dark .br-shell-logo-dark {
    display: block !important;
}

.br-header-actions {
    grid-column: 3;
    grid-row: 1;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 9px;
}

.br-account-menu {
    position: relative;
    display: none;
}

.br-account-trigger {
    cursor: pointer;
}

.br-account-chevron {
    width: 14px;
    height: 14px;
    color: var(--br-shell-muted);
    transition: transform .2s ease;
}

.br-account-menu.is-open .br-account-chevron {
    transform: rotate(180deg);
}

.br-account-popover {
    position: absolute;
    top: calc(100% + 10px);
    inset-inline-end: 0;
    z-index: 130;
    width: 224px;
    padding: 8px;
    display: grid;
    gap: 3px;
    color: var(--br-shell-ink-soft);
    background: var(--br-shell-card);
    border: 1px solid var(--br-shell-border);
    border-radius: 16px;
    box-shadow: 0 20px 55px rgba(3, 25, 29, .18);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(7px);
    transition: opacity .18s ease, transform .18s ease, visibility 0s linear .18s;
}

html.dark .br-account-popover {
    box-shadow: 0 22px 58px rgba(0, 0, 0, .34);
}

.br-account-menu.is-open .br-account-popover {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
    transition-delay: 0s;
}

.br-account-popover a {
    min-height: 44px;
    padding: 0 11px;
    display: grid;
    grid-template-columns: 25px minmax(0, 1fr);
    align-items: center;
    gap: 9px;
    border-radius: 11px;
    font-size: 11px;
    font-weight: 800;
    transition: color .18s ease, background-color .18s ease;
}

.br-account-popover a > svg {
    width: 18px;
    height: 18px;
    color: var(--br-primary-600);
}

.br-account-popover a:hover {
    color: var(--br-primary-700);
    background: var(--br-primary-100);
}

html.dark .br-account-popover a:hover {
    color: var(--br-primary-200);
    background: var(--br-primary-800);
}

.br-account-popover .br-account-popover__logout {
    margin-top: 4px;
    padding-top: 4px;
    color: #a82645;
    border-top: 1px solid var(--br-shell-border);
    border-radius: 0 0 11px 11px;
}

.br-account-popover .br-account-popover__logout > svg {
    color: currentColor;
}

html.dark .br-account-popover .br-account-popover__logout {
    color: #ff9bb1;
}

.br-desktop-nav,
.br-account-link,
.br-search-trigger {
    display: none;
}

.br-search-wrap {
    position: relative;
    width: 0;
}

.br-theme-toggle .br-theme-sun {
    display: none;
}

html.dark .br-theme-toggle .br-theme-moon {
    display: none;
}

html.dark .br-theme-toggle .br-theme-sun {
    display: block;
}

.br-search-pop {
    position: fixed;
    top: calc(var(--br-shell-top-offset, var(--br-webinar-bar-height)) + var(--br-header-height, 64px) + 8px);
    right: 12px;
    left: 12px;
    z-index: var(--br-z-popover);
    padding: 12px;
    color: var(--br-shell-ink);
    background: var(--br-shell-card);
    border: 1px solid var(--br-shell-border);
    border-radius: 18px;
    box-shadow: 0 22px 70px rgba(3, 25, 29, .2);
    transition: opacity .2s ease, transform .2s ease;
}

/* Keep the shell self-contained on the redesigned Home page, where the
 * theme's global utility stylesheet is intentionally not loaded. */
.br-search-pop.opacity-0 {
    opacity: 0;
}

.br-search-pop.pointer-events-none {
    pointer-events: none;
}

.br-search-pop.translate-y-2 {
    transform: translateY(.5rem);
}

#header-search-results.hidden,
#header-search-status.hidden,
#header-search-all.hidden {
    display: none;
}

#header-search-status.flex,
#header-search-all.flex {
    display: flex;
}

.br-search-form {
    min-height: 48px;
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 5px 6px 5px 12px;
    color: var(--br-primary-700);
    background: var(--br-primary-50);
    border: 1px solid var(--br-shell-border);
    border-radius: 14px;
}

html.dark .br-search-form {
    color: var(--br-primary-200);
    background: var(--br-primary-800);
}

.br-search-form input {
    min-width: 0;
    flex: 1;
    border: 0;
    outline: 0;
    color: var(--br-shell-ink);
    background: transparent;
    font-size: 13px;
}

.br-search-form button {
    height: 38px;
    padding-inline: 15px;
    border: 0;
    border-radius: 11px;
    color: #fff;
    background: var(--br-primary-700);
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
}

#header-search-hint {
    margin: 8px 3px 0;
    color: var(--br-shell-muted);
    font-size: 10px;
}

#header-search-results {
    margin-top: 11px;
    padding-top: 11px;
    border-top: 1px solid var(--br-shell-border);
}

#header-search-status {
    min-height: 48px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: var(--br-shell-muted);
    font-size: 11px;
}

#header-search-list {
    max-height: 320px;
    overflow-y: auto;
    display: grid;
    gap: 6px;
}

#header-search-all {
    min-height: 42px;
    margin-top: 9px;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border-radius: 12px;
    color: var(--br-primary-700);
    background: var(--br-primary-100);
    font-size: 11px;
    font-weight: 900;
}

/* Desktop navigation from the redesigned home header. */
.br-desktop-nav {
    height: 100%;
    min-width: 0;
    align-items: stretch;
    justify-content: center;
    gap: 1px;
}

.br-desktop-nav > a,
.br-nav-drop-trigger {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0 8px;
    border: 0;
    color: var(--br-shell-ink-soft);
    background: transparent;
    font-size: 11px;
    font-weight: 700;
    white-space: nowrap;
    cursor: pointer;
}

.br-desktop-nav > a > svg,
.br-nav-drop-trigger > svg:first-child {
    color: var(--br-primary-700);
}

html.dark .br-desktop-nav > a > svg,
html.dark .br-nav-drop-trigger > svg:first-child {
    color: var(--br-primary-300);
}

.br-desktop-nav > a::after,
.br-nav-drop-trigger::after {
    content: "";
    position: absolute;
    right: 8px;
    left: 8px;
    bottom: 0;
    height: 2px;
    border-radius: 2px;
    background: var(--br-accent-500);
    transform: scaleX(0);
    transition: transform .2s ease;
}

.br-desktop-nav > a:hover::after,
.br-desktop-nav > a.is-active::after,
.br-nav-drop:hover .br-nav-drop-trigger::after,
.br-nav-drop:focus-within .br-nav-drop-trigger::after,
.br-nav-drop.is-open .br-nav-drop-trigger::after {
    transform: scaleX(1);
}

.br-desktop-nav > a:hover,
.br-desktop-nav > a.is-active,
.br-nav-drop:hover .br-nav-drop-trigger,
.br-nav-drop.is-open .br-nav-drop-trigger {
    color: var(--br-primary-700);
}

html.dark .br-desktop-nav > a:hover,
html.dark .br-desktop-nav > a.is-active,
html.dark .br-nav-drop:hover .br-nav-drop-trigger,
html.dark .br-nav-drop.is-open .br-nav-drop-trigger {
    color: var(--br-primary-200);
}

.br-nav-drop {
    position: relative;
    height: 100%;
}

.br-nav-chevron {
    width: 14px;
    color: var(--br-shell-muted);
    transition: transform .2s ease;
}

.br-nav-drop:hover .br-nav-chevron,
.br-nav-drop:focus-within .br-nav-chevron,
.br-nav-drop.is-open .br-nav-chevron {
    transform: rotate(180deg);
}

.br-mega-panel {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    z-index: 90;
    width: min(720px, calc(100vw - 48px));
    padding: 18px;
    display: grid;
    grid-template-columns: 190px 1fr;
    gap: 18px;
    color: var(--br-shell-ink);
    background: var(--br-shell-card);
    border: 1px solid var(--br-shell-border);
    border-radius: 20px;
    box-shadow: 0 24px 65px rgba(3, 25, 29, .17);
    opacity: 0;
    visibility: hidden;
    transform: translateY(7px);
    transition: opacity .2s ease, visibility .2s ease, transform .2s ease;
}

.br-nav-drop:hover .br-mega-panel,
.br-nav-drop:focus-within .br-mega-panel,
.br-nav-drop.is-open .br-mega-panel {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.br-mega-intro {
    padding: 18px;
    border-radius: 16px;
    background: var(--br-primary-900);
    color: #fff;
}

.br-mega-intro-icon {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    margin-bottom: 14px;
    border-radius: 14px;
    color: var(--br-accent-400);
    background: rgba(255, 255, 255, .08);
}

.br-mega-intro strong {
    display: block;
    font-size: 17px;
}

.br-mega-intro p {
    margin: 8px 0 0;
    color: var(--br-primary-200);
    font-size: 10px;
    line-height: 1.9;
}

.br-mega-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.br-mega-links a {
    min-height: 66px;
    padding: 9px 10px;
    display: grid;
    grid-template-columns: 38px 1fr auto;
    align-items: center;
    gap: 9px;
    border: 1px solid var(--br-shell-border);
    border-radius: 14px;
    background: var(--br-shell-card);
    transition: border-color .2s ease, background .2s ease, transform .2s ease;
}

.br-mega-links a:hover {
    border-color: var(--br-primary-300);
    background: var(--br-primary-50);
    transform: translateY(-1px);
}

html.dark .br-mega-links a:hover {
    background: var(--br-primary-800);
}

.br-mega-links a > span:first-child {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 11px;
    color: var(--br-primary-700);
    background: var(--br-primary-100);
}

html.dark .br-mega-links a > span:first-child {
    color: var(--br-primary-200);
    background: var(--br-primary-800);
}

.br-mega-link-copy {
    min-width: 0;
}

.br-mega-link-copy strong,
.br-mega-link-copy small {
    display: block;
}

.br-mega-link-copy strong {
    font-size: 11px;
}

.br-mega-link-copy small {
    margin-top: 2px;
    color: var(--br-shell-muted);
    font-size: 8px;
}

@media (min-width: 981px) {
    .br-mega-link-copy small {
        line-height: 1.65;
        text-align: right;
        white-space: nowrap;
        text-wrap: nowrap;
    }
}

.br-mega-links a > svg {
    color: var(--br-shell-muted);
}

/* Mobile drill-down drawer from the redesigned Bookademy page. */
.br-drawer-shell {
    position: fixed;
    inset: 0;
    z-index: var(--br-z-drawer);
    pointer-events: none;
    visibility: hidden;
    transition: visibility 0s linear .32s;
}

.br-drawer-shell.is-open {
    pointer-events: auto;
    visibility: visible;
    transition-delay: 0s;
}

.br-drawer-backdrop {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    padding: 0;
    border: 0;
    background: rgba(3, 25, 29, .52);
    opacity: 0;
    cursor: pointer;
    transition: opacity .28s ease;
}

.br-drawer-shell.is-open .br-drawer-backdrop {
    opacity: 1;
}

.br-drawer {
    position: absolute;
    inset-block: 0;
    right: 0;
    width: min(92vw, 410px);
    padding: max(10px, env(safe-area-inset-top)) 16px max(18px, env(safe-area-inset-bottom));
    display: grid;
    grid-template-rows: 58px minmax(0, 1fr) auto;
    color: var(--br-shell-ink);
    background: var(--br-shell-bg);
    border-left: 1px solid var(--br-shell-border);
    box-shadow: -24px 0 70px rgba(3, 25, 29, .22);
    overflow: hidden;
    transform: translateX(104%);
    transition: transform .32s cubic-bezier(.22, 1, .36, 1);
}

.br-drawer-shell.is-open .br-drawer {
    transform: translateX(0);
}

.br-drawer-head {
    display: grid;
    grid-template-columns: 44px 1fr 44px;
    align-items: center;
    border-bottom: 1px solid var(--br-shell-border);
}

.br-drawer-close,
.br-drawer-back {
    grid-column: 1;
    grid-row: 1;
}

.br-drawer-logo {
    grid-column: 2;
    grid-row: 1;
    justify-self: center;
    display: grid;
    place-items: center;
}

.br-drawer-logo img {
    width: 106px;
    height: 45px;
    object-fit: contain;
}

.br-drawer-head-spacer {
    grid-column: 3;
    width: 44px;
}

.br-drawer-pages {
    position: relative;
    min-height: 0;
    overflow: hidden;
}

.br-drawer-page {
    height: 100%;
    padding: 20px 2px 18px;
    overflow-y: auto;
    animation: br-drawer-page-in .25s ease both;
}

.br-drawer-page[hidden] {
    display: none !important;
}

.br-drawer-page h2 {
    margin: 0 8px 16px;
    color: var(--br-shell-ink);
    font-size: 24px;
    font-weight: 900;
    line-height: 1.5;
}

.br-drawer-tagline {
    margin: -8px 8px 14px;
    color: var(--br-shell-muted);
    font-size: 12px;
    font-weight: 500;
    line-height: 1.8;
    text-align: right;
}

.br-drawer-page nav {
    display: grid;
    gap: 8px;
}

.br-drawer-row,
.br-drawer-category {
    width: 100%;
    min-height: 54px;
    padding: 8px 10px;
    display: grid;
    grid-template-columns: 42px 1fr auto;
    align-items: center;
    gap: 10px;
    text-align: right;
    color: var(--br-shell-ink);
    border: 1px solid var(--br-shell-border);
    border-radius: 15px;
    background: var(--br-shell-card);
    font-size: 13px;
    font-weight: 400;
    cursor: pointer;
}

.br-drawer-row-icon {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    color: var(--br-primary-700);
    background: var(--br-primary-100);
}

html.dark .br-drawer-row-icon {
    color: var(--br-primary-200);
    background: var(--br-primary-800);
}

.br-drawer-chevron,
.br-drawer-category > svg {
    width: 18px;
    color: var(--br-shell-muted);
}

.br-drawer-category {
    grid-template-columns: 1fr auto;
    padding-inline: 16px;
    font-weight: 700;
}

.br-drawer-leaves {
    grid-template-columns: 1fr 1fr;
    gap: 8px !important;
}

.br-drawer-leaves a {
    min-height: 48px;
    padding: 10px 12px;
    display: flex;
    align-items: center;
    border: 1px solid var(--br-shell-border);
    border-radius: 13px;
    color: var(--br-shell-ink-soft);
    background: var(--br-shell-card);
    font-size: 13px;
    line-height: 1.65;
}

.br-drawer-leaves .br-drawer-all {
    grid-column: 1 / -1;
    justify-content: space-between;
    color: var(--br-primary-700);
    background: var(--br-primary-100);
    font-weight: 800;
}

html.dark .br-drawer-leaves .br-drawer-all {
    color: var(--br-primary-200);
    background: var(--br-primary-800);
}

.br-drawer-login {
    width: 100%;
    min-height: 52px;
    padding: 0 16px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 10px;
    border-radius: 15px;
    color: #fff;
    background: linear-gradient(135deg, var(--br-accent-500), var(--br-accent-600));
    box-shadow: 0 10px 26px rgba(192, 138, 46, .22);
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
}

@keyframes br-drawer-page-in {
    from { opacity: 0; transform: translateX(-12px); }
    to { opacity: 1; transform: none; }
}

/* Footer from the approved redesigned Home page. */
.br-footer {
    position: relative;
    margin-top: 0;
    padding-bottom: calc(var(--br-bottom-nav-clearance, 88px) + 6px);
    overflow: hidden;
    color: #e6f1f2;
    background: #03191d;
    border-top: 1px solid #08404a;
}

.br-footer::before {
    content: none;
    display: none;
}

.br-footer-container {
    position: relative;
    z-index: 1;
    width: min(calc(100% - 64px), 1344px);
    margin-inline: auto;
}

.br-footer-top {
    padding: 84px 0 58px;
    display: grid;
    grid-template-columns: 1.05fr 1.35fr 1.15fr .75fr;
    gap: 34px;
}

.br-footer-brand {
    position: relative;
    isolation: isolate;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: right;
}

.br-footer-lockup {
    position: relative;
    z-index: 2;
    width: 122px;
    min-height: 56px;
    margin-right: 0;
    margin-left: auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.br-footer-lockup img {
    width: 122px;
    height: auto;
    object-fit: contain;
}

.br-footer-brand-mark {
    position: absolute;
    z-index: 0;
    top: -44px;
    right: -28px;
    width: 198px;
    height: 153px;
    margin: 0;
    display: block;
    flex: 0 0 auto;
    color: #e8b560;
    background: currentColor;
    opacity: .12;
    -webkit-mask: url("../home-redesign/barayand/brand/arrow-mark.png") center / contain no-repeat;
    mask: url("../home-redesign/barayand/brand/arrow-mark.png") center / contain no-repeat;
    pointer-events: none;
}

.br-footer-brand p {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 300px;
    margin: 7px 0 14px auto;
    color: rgba(230, 241, 242, .75);
    font-size: 13px;
    line-height: 2.15;
}

.br-socials {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 4px;
}

.br-socials a {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    color: #e6f1f2;
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 13px;
    transition: color .2s ease, border-color .2s ease, background .2s ease, transform .2s ease;
}

.br-socials a:hover {
    color: var(--br-social-brand, #f0ce87);
    background: #08404a;
    border-color: var(--br-social-brand, #f0ce87);
    transform: translateY(-2px);
}

.br-social-brand {
    width: 21px;
    height: 21px;
    display: block;
}

.br-social-brand--aparat {
    width: 23px;
    height: 23px;
}

.br-social-logo {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

.br-social-logo-aparat {
    filter: grayscale(1) brightness(2.2) sepia(.25) hue-rotate(120deg) saturate(2);
}

.br-social-logo-bale {
    border-radius: 50%;
    filter: sepia(.65) hue-rotate(110deg) saturate(1.5) brightness(1.18);
}

.br-footer-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: start;
    gap: 28px;
}

.br-footer-group {
    min-width: 0;
}

.br-footer-group summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    list-style: none;
    color: #fff;
    font-family: "Peyda", "Yekan Bakh", Tahoma, sans-serif;
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
}

.br-footer-group summary::-webkit-details-marker {
    display: none;
}

.br-footer-group summary svg {
    display: none;
    width: 17px;
    height: 17px;
    color: #f0ce87;
    transition: transform .2s ease;
}

.br-footer-group[open] summary svg {
    transform: rotate(180deg);
}

.br-footer-group-links {
    padding-top: 13px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.br-footer-group-links a {
    color: rgba(230, 241, 242, .75);
    font-size: 11.5px;
    font-weight: 650;
    line-height: 1.85;
    transition: color .2s ease, transform .2s ease;
}

.br-footer-group-links a.br-footer-link--featured {
    color: #f0ce87;
    font-weight: 850;
}

.br-footer-group-links a.br-footer-link--featured:hover {
    color: #fff;
}

.br-footer-group-links a:hover {
    color: #f0ce87;
    transform: translateX(-2px);
}

.br-footer-group-links .br-footer-link--disabled {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    color: rgba(230, 241, 242, .75);
    font-size: 11.5px;
    font-weight: 650;
    line-height: 1.85;
    cursor: default;
}

.br-footer-link--disabled small {
    padding: 1px 7px;
    border: 1px solid rgba(240, 206, 135, .3);
    border-radius: 6px;
    color: #f0ce87;
    font-size: 11px;
    white-space: nowrap;
}

.br-footer-contact {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.br-footer-contact h3 {
    margin: 0 0 10px;
    color: #fff;
    font-family: "Peyda", "Yekan Bakh", Tahoma, sans-serif;
    font-size: 15px;
}

.br-footer-contact > :is(a, .br-footer-phone) {
    display: flex;
    align-items: center;
    gap: 10px;
}

.br-footer-contact > :is(a, .br-footer-phone) > span {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    color: #e8b560;
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 13px;
}

.br-footer-contact small {
    display: block;
    color: rgba(230, 241, 242, .75);
    font-size: 11px;
}

.br-footer-contact b {
    color: #e2e8f0;
    font-family: "Yekan Bakh", Tahoma, sans-serif !important;
    font-size: 14px;
}

.br-footer-phone__numbers {
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

.br-footer-phone__numbers a {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    color: inherit;
    font: inherit;
}

.br-footer-phone__numbers a:hover {
    color: #f0ce87;
}

.br-footer-contact > a.br-footer-neshan {
    width: 100%;
    height: 42px;
    padding: 4px 7px 4px 5px;
    gap: 8px;
    color: #f8fafc;
    background: linear-gradient(145deg, rgba(8, 64, 74, .72), rgba(255, 255, 255, .045));
    border: 1px solid rgba(240, 206, 135, .2);
    border-radius: 13px;
    box-shadow: 0 16px 36px -30px rgba(0, 0, 0, .9);
    transition: color .2s ease, border-color .2s ease, background .2s ease, transform .2s ease;
}

.br-footer-contact > a.br-footer-neshan:hover {
    color: #fff;
    background: rgba(8, 64, 74, .92);
    border-color: rgba(240, 206, 135, .5);
    transform: translateY(-1px);
}

.br-footer-contact > a.br-footer-neshan > span {
    width: 32px;
    height: 32px;
    color: #f0ce87;
    background: rgba(3, 25, 29, .52);
    border-color: rgba(255, 255, 255, .08);
    border-radius: 10px;
}

.br-footer-contact > a.br-footer-neshan b {
    font-size: 11.5px;
}

.br-footer-neshan__arrow {
    margin-right: auto;
    flex: 0 0 auto;
    color: #f0ce87;
}

.br-footer-hours {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(230, 241, 242, .78);
}

.br-footer-hours > span {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    color: #e8b560;
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 13px;
}

.br-footer-hours small,
.br-footer-hours > div > span {
    display: block;
}

.br-footer-hours small {
    margin-bottom: 2px;
    color: rgba(230, 241, 242, .6);
    font-size: 9px;
}

.br-footer-hours > div > span {
    font-size: 10px;
    font-weight: 700;
    line-height: 1.9;
}

.br-footer-contact p {
    margin: 2px 0 0;
    display: flex;
    align-items: flex-start;
    gap: 7px;
    color: rgba(230, 241, 242, .75);
    font-size: 12px;
    line-height: 2;
}

.br-footer-contact p svg {
    width: 15px;
    margin-top: 5px;
    flex: 0 0 auto;
    color: #e8b560;
}

.br-footer-contact p > span,
.br-footer-contact p > span > small,
.br-footer-contact p > span > b {
    display: block;
}

.br-footer-contact p > span > small {
    margin-bottom: 1px;
    color: rgba(230, 241, 242, .55);
    font-size: 9px;
}

.br-footer-contact p > span > b {
    font-size: 12px;
}

.br-footer-trust {
    align-self: start;
    display: grid;
    gap: 10px;
}

.br-trust-card {
    padding: 14px;
    display: grid;
    grid-template-columns: 82px minmax(0, 1fr);
    align-items: center;
    gap: 11px;
    text-align: right;
    color: #e6f1f2;
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 16px;
}

.br-trust-card > img {
    width: 82px;
    height: 92px;
    padding: 5px;
    object-fit: contain;
    background: #fff;
    border-radius: 12px;
}

.br-trust-card strong {
    display: block;
    color: #fff;
    font-family: "Peyda", "Yekan Bakh", Tahoma, sans-serif;
    font-size: 13px;
}

.br-trust-card small {
    display: block;
    margin-top: 4px;
    color: rgba(230, 241, 242, .75);
    font-size: 11px;
    line-height: 1.8;
}

.br-footer-location {
    padding: 13px;
    font-family: "Yekan Bakh", Tahoma, Arial, sans-serif;
    color: #e6f1f2;
    background: linear-gradient(145deg, rgba(8, 64, 74, .72), rgba(255, 255, 255, .045));
    border: 1px solid rgba(240, 206, 135, .2);
    border-radius: 16px;
    box-shadow: 0 16px 36px -30px rgba(0, 0, 0, .9);
}

.br-footer-location p {
    margin: 0;
    display: grid;
    grid-template-columns: 32px minmax(0, 1fr);
    align-items: center;
    gap: 9px;
}

.br-footer-location p > span:first-child {
    width: 32px;
    height: 32px;
    display: grid;
    place-items: center;
    color: #f0ce87;
    background: rgba(3, 25, 29, .52);
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 10px;
}

.br-footer-location strong {
    display: block;
    font-family: "Yekan Bakh", Tahoma, Arial, sans-serif;
    color: #f8fafc;
    font-size: 10px;
    font-weight: 700;
    line-height: 2;
}

.br-footer-location-separator {
    margin-inline: 4px;
    color: #f0ce87;
}

.br-footer-postal {
    white-space: nowrap;
    font: inherit;
    color: inherit;
}

.br-footer-bottom {
    position: relative;
    min-height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: rgba(230, 241, 242, .64);
    border-top: 1px solid rgba(255, 255, 255, .1);
    font-size: 12px;
}

.br-footer-copyright {
    text-align: center;
}

.br-footer-legal {
    position: absolute;
    left: 0;
    top: 50%;
    display: flex;
    align-items: center;
    gap: 18px;
    white-space: nowrap;
    transform: translateY(-50%);
}

.br-footer-legal a {
    color: rgba(230, 241, 242, .7);
    font-size: 10px;
    font-weight: 700;
    transition: color .2s ease;
}

.br-footer-legal a:hover {
    color: #f0ce87;
}

/* Floating mobile navigation from the redesigned Bookademy page. */
.br-bottom-nav {
    position: fixed;
    z-index: var(--br-z-bottom-nav);
    right: 10px;
    left: 10px;
    bottom: max(8px, env(safe-area-inset-bottom));
    height: 70px;
    padding: 6px 7px;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    align-items: center;
    color: var(--br-shell-ink);
    background: #fff;
    border: 1px solid rgba(167, 206, 211, .26);
    border-radius: 22px;
    box-shadow: 0 16px 45px rgba(3, 25, 29, .2);
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
    transition: opacity .16s ease, transform .16s ease, visibility 0s linear 0s;
}

html.br-keyboard-open .br-bottom-nav {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(calc(100% + 24px));
    transition-delay: 0s, 0s, .16s;
}

.br-bottom-nav,
.br-bottom-nav a,
.br-bottom-nav button,
.br-bottom-nav span {
    font-family: "IRANSansX", sans-serif !important;
}

html.dark .br-bottom-nav {
    background: #062e33;
    border-color: rgba(199, 222, 225, .14);
    box-shadow: 0 18px 48px rgba(0, 0, 0, .35);
}

.br-bottom-nav a,
.br-bottom-nav button {
    position: relative;
    height: 56px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    padding: 0;
    color: var(--br-shell-muted);
    background: transparent;
    border: 0;
    border-radius: 16px;
    font-size: 9px;
    cursor: pointer;
}

.br-bottom-nav :is(a, button).is-active {
    color: var(--br-primary-700);
}

html.dark .br-bottom-nav :is(a, button).is-active {
    color: var(--br-primary-200);
}

.br-bottom-nav .br-bottom-discover {
    height: 62px;
    margin-top: -19px;
    color: #1d2513;
    background: linear-gradient(145deg, var(--br-accent-400), var(--br-accent-500));
    border: 3px solid var(--br-shell-bg);
    box-shadow: 0 9px 22px rgba(192, 138, 46, .28);
    font-weight: 900;
}

/* The signed-in profile menu uses the same four actions on mobile and tablet. */
.br-account-sheet {
    position: fixed;
    inset: 0;
    z-index: var(--br-z-account-sheet);
    color: var(--br-shell-ink);
    pointer-events: none;
    visibility: hidden;
    transition: visibility 0s linear .26s;
}

.br-account-sheet.is-open {
    pointer-events: auto;
    visibility: visible;
    transition-delay: 0s;
}

.br-account-sheet__backdrop {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    padding: 0;
    background: rgba(3, 25, 29, .58);
    border: 0;
    opacity: 0;
    cursor: pointer;
    transition: opacity .22s ease;
}

.br-account-sheet.is-open .br-account-sheet__backdrop {
    opacity: 1;
}

.br-account-sheet__panel {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    width: min(100%, 540px);
    margin-inline: auto;
    padding: 13px 16px calc(18px + env(safe-area-inset-bottom));
    background: var(--br-shell-card);
    border: 1px solid var(--br-shell-border);
    border-bottom: 0;
    border-radius: 24px 24px 0 0;
    box-shadow: 0 -22px 60px rgba(3, 25, 29, .24);
    transform: translateY(104%);
    transition: transform .26s cubic-bezier(.22, 1, .36, 1);
}

.br-account-sheet.is-open .br-account-sheet__panel {
    transform: none;
}

.br-account-sheet__head {
    min-height: 46px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    border-bottom: 1px solid var(--br-shell-border);
}

.br-account-sheet__head strong {
    font-family: "Peyda", "Yekan Bakh", sans-serif;
    font-size: 16px;
    font-weight: 800;
}

.br-account-sheet__close {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    color: var(--br-shell-muted);
    background: var(--br-shell-bg);
    border: 1px solid var(--br-shell-border);
    border-radius: 10px;
    cursor: pointer;
}

.br-account-sheet__links {
    padding-top: 9px;
    display: grid;
    gap: 4px;
}

.br-account-sheet__links a {
    min-height: 50px;
    padding: 0 12px;
    display: grid;
    grid-template-columns: 28px minmax(0, 1fr) 18px;
    align-items: center;
    gap: 9px;
    color: var(--br-shell-ink-soft);
    background: var(--br-shell-bg);
    border: 1px solid transparent;
    border-radius: 13px;
    font-size: 13px;
    font-weight: 800;
}

.br-account-sheet__links a > svg:first-child {
    width: 20px;
    height: 20px;
    color: var(--br-primary-600);
}

.br-account-sheet__links a > svg:last-child {
    width: 17px;
    height: 17px;
    color: var(--br-shell-muted);
}

.br-account-sheet__links .br-account-sheet__logout {
    color: #a82645;
}

.br-account-sheet__links .br-account-sheet__logout > svg:first-child {
    color: currentColor;
}

html.dark .br-account-sheet__links .br-account-sheet__logout {
    color: #ff9bb1;
}

.br-to-top {
    position: fixed;
    z-index: 60;
    left: 16px;
    bottom: 96px;
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    color: #fff;
    background: var(--br-primary-700);
    border: 0;
    border-radius: 13px;
    box-shadow: var(--br-shell-shadow);
    cursor: pointer;
    transition: opacity .2s ease, transform .2s ease, background .2s ease;
}

.br-to-top.opacity-0 {
    opacity: 0;
}

.br-to-top.pointer-events-none {
    pointer-events: none;
}

.br-to-top.translate-y-3 {
    transform: translateY(.75rem);
}

.br-to-top:hover {
    background: var(--br-accent-600);
}

.br-webinar-bar :focus-visible,
.br-site-header :focus-visible,
.br-drawer-shell :focus-visible,
.br-footer :focus-visible,
.br-bottom-nav :focus-visible,
.br-account-sheet :focus-visible {
    outline: 3px solid color-mix(in srgb, var(--br-accent-400) 75%, white);
    outline-offset: 3px;
}

body.admin-bar .br-site-header {
    top: var(--br-shell-top-offset, calc(46px + var(--br-webinar-bar-height)));
}

body.admin-bar .br-webinar-bar {
    top: var(--br-admin-bar-height, 46px);
}

@media (max-width: 380px) {
    .br-webinar-bar__inner {
        width: calc(100% - 28px);
        gap: 4px;
    }

    .br-webinar-bar__intro {
        gap: 4px;
    }

    .br-webinar-bar__intro strong {
        max-width: 88px;
        font-size: 9.25px;
    }

    .br-webinar-countdown {
        grid-template-columns: repeat(4, 25px);
        gap: 2px;
    }

    .br-webinar-countdown__unit {
        border-radius: 7px;
    }

    .br-webinar-bar__cta {
        min-width: 64px;
        padding-inline: 5px;
        font-size: 7.75px;
    }

    .br-drawer-leaves {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 1120px) {
    .br-footer-container {
        width: min(calc(100% - 40px), 1344px);
    }

    .br-footer-top {
        grid-template-columns: 1.2fr 1fr 1.1fr;
        gap: 35px;
    }

    .br-footer-trust {
        grid-column: 3;
    }
}

@media (max-width: 980px) {
    .br-footer-top {
        grid-template-columns: 1fr 1fr;
    }

    .br-footer-brand {
        grid-column: 1 / -1;
    }

    .br-footer-trust {
        grid-column: auto;
    }
}

@media (max-width: 600px) {
    .br-footer::before {
        width: 150px;
        height: 117px;
    }

    .br-footer-container {
        width: calc(100% - 32px);
    }

    .br-footer-top {
        padding: 46px 0 28px;
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .br-footer-brand,
    .br-footer-trust {
        grid-column: auto;
    }

    .br-footer-lockup {
        width: 112px;
        min-height: 52px;
    }

    .br-footer-lockup img {
        width: 112px;
    }

    .br-footer-brand p {
        font-size: 12px;
    }

    .br-socials {
        gap: 8px;
    }

    .br-footer-links {
        grid-template-columns: 1fr;
        gap: 9px;
    }

    .br-footer-group {
        overflow: hidden;
        background: rgba(255, 255, 255, .05);
        border: 1px solid rgba(255, 255, 255, .1);
        border-radius: 14px;
    }

    .br-footer-group summary {
        min-height: 51px;
        padding: 0 14px;
        color: #f8fafc;
        background: linear-gradient(145deg, rgba(255, 255, 255, .035), rgba(167, 206, 211, .025));
        font-size: 11px;
    }

    .br-footer-group summary svg {
        display: block;
    }

    .br-footer-group[open] summary {
        color: #f0ce87;
        background: rgba(8, 64, 74, .38);
    }

    .br-footer-group-links {
        padding: 0 14px 13px;
        gap: 8px;
    }

    .br-footer-group-links a {
        min-height: 36px;
        display: flex;
        align-items: center;
        font-size: 10.5px;
    }

    .br-footer-group-links .br-footer-link--disabled {
        min-height: 36px;
        font-size: 10.5px;
    }

    .br-footer-phone__numbers a {
        min-height: 44px;
    }

    .br-footer-contact {
        gap: 8px;
    }

    .br-footer-trust {
        width: 100%;
        max-width: 330px;
        margin-inline: auto;
    }

    .br-trust-card {
        width: 100%;
        grid-template-columns: 90px minmax(0, 1fr);
    }

    .br-trust-card > img {
        width: 90px;
        height: 100px;
    }

    .br-footer-bottom {
        min-height: 0;
        padding: 16px 0;
        display: flex;
        justify-content: center;
        align-items: center;
        text-align: center;
    }

    .br-footer-copyright {
        font-size: 9px;
        line-height: 1.8;
    }

    .br-footer-legal {
        display: none;
    }
}

@media (min-width: 601px) {
    :root {
        --br-webinar-bar-height: 48px;
        --br-webinar-design-height: 48px;
    }

    .br-webinar-bar__inner {
        width: min(calc(100% - 48px), 1344px);
        grid-template-columns: minmax(0, 1fr) auto auto;
        gap: 14px;
    }

    .br-webinar-bar__intro {
        gap: 9px;
    }

    .br-webinar-bar__intro strong {
        max-width: none;
        font-size: 13px;
        white-space: nowrap;
    }

    .br-webinar-bar__eyebrow {
        display: none;
        font-size: 7.5px;
    }

    .br-webinar-countdown {
        grid-template-columns: repeat(4, 40px);
        gap: 5px;
    }

    .br-webinar-countdown__unit {
        height: 38px;
        border-radius: 9px;
    }

    .br-webinar-countdown__unit strong {
        font-size: 12px;
    }

    .br-webinar-countdown__unit small {
        font-size: 7px;
    }

    .br-webinar-bar__cta {
        min-width: 94px;
        height: 38px;
        padding-inline: 11px;
        gap: 6px;
        font-size: 9.5px;
    }

    .br-header-inner,
    .br-footer-container {
        width: min(calc(100% - 48px), 1344px);
    }

    .br-search-pop {
        right: auto;
        left: 24px;
        width: min(460px, calc(100vw - 48px));
    }

    .br-footer-group summary {
        margin-bottom: 14px;
        pointer-events: none;
    }

    .br-footer-group summary svg {
        display: none;
    }

    .br-footer-group-links,
    .br-footer-group:not([open]) .br-footer-group-links {
        display: flex !important;
    }

    .br-footer-link--mobile-legal {
        display: none !important;
    }
}

@media (min-width: 800px) {
    .br-webinar-countdown__label {
        display: inline;
    }

    .br-webinar-bar__cta {
        min-width: 166px;
        padding-inline: 15px;
    }

    .br-webinar-bar__cta-full {
        display: inline;
    }

    .br-webinar-bar__cta-short {
        display: none;
    }
}

@media (min-width: 1100px) {
    .br-webinar-bar__date {
        display: inline;
    }
}

@media (min-width: 1121px) {
    .br-footer-trust {
        align-self: stretch;
        grid-template-rows: auto 1fr;
    }

    .br-footer-location {
        display: flex;
        align-items: center;
    }
}

@media (min-width: 783px) {
    body.admin-bar .br-site-header {
        top: var(--br-shell-top-offset, calc(32px + var(--br-webinar-bar-height)));
    }

    body.admin-bar .br-webinar-bar {
        top: var(--br-admin-bar-height, 32px);
    }
}

@media (min-width: 900px) {
    .br-bottom-nav {
        display: none;
    }

    .br-footer {
        padding-bottom: 0;
    }

    .br-to-top {
        bottom: 96px;
    }
}

@media (min-width: 1180px) {
    .br-account-sheet {
        display: none;
    }

    .br-site-header {
        height: 76px;
    }

    .br-header-inner {
        grid-template-columns: 128px minmax(0, 1fr) auto;
        gap: 18px;
    }

    .br-menu-trigger {
        display: none;
    }

    .br-header-logo {
        grid-column: 1;
        justify-self: start;
    }

    .br-header-logo img {
        width: 128px;
        height: 52px;
    }

    .br-desktop-nav {
        grid-column: 2;
        grid-row: 1;
        display: flex;
    }

    .br-header-actions {
        grid-column: 3;
        gap: 8px;
    }

    .br-account-menu {
        display: block;
    }

    .br-search-wrap {
        width: 44px;
    }

    .br-search-trigger {
        display: grid;
    }

    .br-search-pop {
        position: absolute;
        top: calc(100% + 12px);
        right: auto;
        left: 0;
        width: 448px;
    }

    .br-account-link {
        height: 44px;
        padding: 0 14px;
        display: flex;
        align-items: center;
        gap: 7px;
        color: var(--br-shell-ink-soft);
        background: var(--br-shell-card);
        border: 1px solid var(--br-shell-border);
        border-radius: 13px;
        font-size: 11px;
        font-weight: 900;
        white-space: nowrap;
    }

    .br-account-link:hover {
        color: var(--br-primary-700);
        border-color: var(--br-primary-300);
    }

    .br-drawer-shell {
        display: none;
    }
}

@media (min-width: 1320px) {
    .br-header-inner {
        grid-template-columns: 145px minmax(0, 1fr) auto;
        gap: 24px;
    }

    .br-header-logo img {
        width: 135px;
        height: 55px;
    }

    .br-desktop-nav > a,
    .br-nav-drop-trigger {
        padding-inline: 10px;
        font-size: 11.5px;
    }
}

/* The Home app contributes content only; the shared shell is rendered in PHP. */
body.home .site > .top-note,
body.home .site > .site-header,
body.home .site > .site-footer,
body.home .site > .mobile-bottom-nav,
body.home .site > .viewport-edge-fade,
body.home .site > .drawer-overlay,
body.home .site > .mobile-drawer {
    display: none !important;
}

body.home .site {
    min-height: 0;
}

/* Pause homepage assessment promotion only; direct test routes stay live. */
body.home .site .tests-section,
body.home .site .tests-coming-soon-notice {
    display: none !important;
}

body.home .site .quick-tests[aria-disabled="true"] {
    cursor: default;
    pointer-events: none;
    transform: none !important;
}

/* Theme changes must paint in one frame. Some page bundles set a transition
   duration on every element, which otherwise makes dark/light switching feel
   delayed and animates thousands of color properties at once. */
html.br-theme-switching,
html.br-theme-switching *,
html.br-theme-switching *::before,
html.br-theme-switching *::after {
    transition: none !important;
}

@media (prefers-reduced-motion: reduce) {
    .br-webinar-bar__signal,
    .br-webinar-countdown__unit:last-child {
        animation: none !important;
    }

    .br-site-header *,
    .br-drawer-shell *,
    .br-footer *,
    .br-bottom-nav * {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
    }
}
