/* AMIT Theme Accessibility Toolbar - v11.0 */
.amit-accessibility,
.amit-accessibility * {
    box-sizing: border-box;
}

.amit-accessibility {
    position: fixed;
    right: 18px;
    bottom: 88px;
    z-index: 9999;
    font-family: var(--amit-font-main, Calibri, "Segoe UI", Tahoma, Arial, sans-serif);
    color: #1f2937;
}

.amit-accessibility[dir="rtl"] {
    right: auto;
    left: 18px;
}

.amit-accessibility__toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid rgba(117, 177, 47, 0.4);
    border-radius: 999px;
    background: #ffffff;
    color: #1f2937;
    min-height: 44px;
    padding: 8px 14px;
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.16);
    cursor: pointer;
    font-weight: 700;
    line-height: 1;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.amit-accessibility__toggle:hover,
.amit-accessibility__toggle:focus {
    border-color: #75b12f;
    box-shadow: 0 16px 38px rgba(15, 23, 42, 0.2);
    outline: none;
}

.amit-accessibility__toggle-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #75b12f;
    color: #ffffff;
    font-size: 15px;
    letter-spacing: -0.04em;
}

.amit-accessibility__toggle-text {
    font-size: 14px;
    white-space: nowrap;
}

.amit-accessibility__panel {
    position: absolute;
    right: 0;
    bottom: 56px;
    width: min(310px, calc(100vw - 32px));
    border: 1px solid rgba(148, 163, 184, 0.34);
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 22px 55px rgba(15, 23, 42, 0.22);
    padding: 16px;
}

.amit-accessibility[dir="rtl"] .amit-accessibility__panel {
    right: auto;
    left: 0;
}

.amit-accessibility__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-bottom: 12px;
    margin-bottom: 12px;
    border-bottom: 1px solid #e5e7eb;
}

.amit-accessibility__header strong {
    font-size: 17px;
    color: #111827;
}

.amit-accessibility__close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border: 1px solid #e5e7eb;
    border-radius: 50%;
    background: #f8fafc;
    color: #374151;
    cursor: pointer;
    font-size: 22px;
    line-height: 1;
}

.amit-accessibility__group {
    display: flex;
    flex-direction: column;
    gap: 9px;
    margin-bottom: 14px;
}

.amit-accessibility__label {
    color: #374151;
    font-size: 14px;
    font-weight: 700;
}

.amit-accessibility__actions {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.amit-accessibility__option,
.amit-accessibility__reset {
    border: 1px solid #d1d5db;
    border-radius: 10px;
    background: #ffffff;
    color: #1f2937;
    cursor: pointer;
    font-size: 13px;
    font-weight: 700;
    min-height: 38px;
    padding: 8px 10px;
    transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.amit-accessibility__option:hover,
.amit-accessibility__option:focus,
.amit-accessibility__reset:hover,
.amit-accessibility__reset:focus,
.amit-accessibility__option.is-active {
    border-color: #75b12f;
    background: rgba(117, 177, 47, 0.1);
    color: #2f5f13;
    outline: none;
}

.amit-accessibility__switch {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    min-height: 42px;
    border: 1px solid #d1d5db;
    border-radius: 12px;
    background: #ffffff;
    color: #1f2937;
    cursor: pointer;
    padding: 8px 12px;
    font-weight: 700;
}

.amit-accessibility__switch-track {
    display: inline-flex;
    align-items: center;
    width: 44px;
    height: 24px;
    border-radius: 999px;
    background: #d1d5db;
    padding: 3px;
    transition: background-color 0.2s ease;
}

.amit-accessibility__switch-track span {
    display: block;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #ffffff;
    transition: transform 0.2s ease;
}

.amit-accessibility__switch[aria-pressed="true"] {
    border-color: #75b12f;
}

.amit-accessibility__switch[aria-pressed="true"] .amit-accessibility__switch-track {
    background: #75b12f;
}

.amit-accessibility__switch[aria-pressed="true"] .amit-accessibility__switch-track span {
    transform: translateX(20px);
}

.amit-accessibility[dir="rtl"] .amit-accessibility__switch[aria-pressed="true"] .amit-accessibility__switch-track span {
    transform: translateX(-20px);
}

.amit-accessibility__reset {
    width: 100%;
    background: #f8fafc;
}

html.amit-text-large body {
    font-size: 112.5%;
}

html.amit-text-xlarge body {
    font-size: 125%;
}

html.amit-text-large p,
html.amit-text-large li,
html.amit-text-large a,
html.amit-text-large label,
html.amit-text-large input,
html.amit-text-large textarea,
html.amit-text-large select,
html.amit-text-large button,
html.amit-text-xlarge p,
html.amit-text-xlarge li,
html.amit-text-xlarge a,
html.amit-text-xlarge label,
html.amit-text-xlarge input,
html.amit-text-xlarge textarea,
html.amit-text-xlarge select,
html.amit-text-xlarge button {
    line-height: 1.65;
}

html.amit-dark-mode body {
    background: #0f172a !important;
    color: #e5e7eb !important;
}

html.amit-dark-mode .container,
html.amit-dark-mode .content,
html.amit-dark-mode .wrapper,
html.amit-dark-mode .main,
html.amit-dark-mode .item,
html.amit-dark-mode .user_forms .inner,
html.amit-dark-mode .amit-auth-card,
html.amit-dark-mode .amit-search-card,
html.amit-dark-mode .amit-profile-card,
html.amit-dark-mode .amit-account-board,
html.amit-dark-mode .amit-footer,
html.amit-dark-mode .amit-accessibility__panel,
html.amit-dark-mode .amit-accessibility__toggle {
    background-color: #111827 !important;
    color: #e5e7eb !important;
    border-color: rgba(148, 163, 184, 0.28) !important;
}

html.amit-dark-mode h1,
html.amit-dark-mode h2,
html.amit-dark-mode h3,
html.amit-dark-mode h4,
html.amit-dark-mode h5,
html.amit-dark-mode h6,
html.amit-dark-mode p,
html.amit-dark-mode li,
html.amit-dark-mode label,
html.amit-dark-mode span,
html.amit-dark-mode strong,
html.amit-dark-mode .amit-accessibility__header strong,
html.amit-dark-mode .amit-accessibility__label {
    color: #e5e7eb !important;
}

html.amit-dark-mode a {
    color: #a7d86a;
}

html.amit-dark-mode a:hover,
html.amit-dark-mode a:focus {
    color: #c4ef8f;
}

html.amit-dark-mode input,
html.amit-dark-mode textarea,
html.amit-dark-mode select {
    background-color: #0b1220 !important;
    color: #f9fafb !important;
    border-color: rgba(148, 163, 184, 0.45) !important;
}

html.amit-dark-mode input::placeholder,
html.amit-dark-mode textarea::placeholder {
    color: #94a3b8 !important;
}

html.amit-dark-mode .navbar,
html.amit-dark-mode header,
html.amit-dark-mode .Header,
html.amit-dark-mode .Footer-Bottom,
html.amit-dark-mode .Footer-Top,
html.amit-dark-mode .amit-accessibility__close,
html.amit-dark-mode .amit-accessibility__option,
html.amit-dark-mode .amit-accessibility__reset,
html.amit-dark-mode .amit-accessibility__switch {
    background-color: #111827 !important;
    color: #e5e7eb !important;
    border-color: rgba(148, 163, 184, 0.32) !important;
}

html.amit-dark-mode .amit-accessibility__option:hover,
html.amit-dark-mode .amit-accessibility__option:focus,
html.amit-dark-mode .amit-accessibility__option.is-active,
html.amit-dark-mode .amit-accessibility__reset:hover,
html.amit-dark-mode .amit-accessibility__reset:focus {
    background: rgba(117, 177, 47, 0.18) !important;
    color: #c4ef8f !important;
}

html.amit-dark-mode img,
html.amit-dark-mode svg {
    opacity: 0.96;
}

@media (max-width: 480px) {
    .amit-accessibility {
        right: 12px;
        bottom: 72px;
    }

    .amit-accessibility[dir="rtl"] {
        right: auto;
        left: 12px;
    }

    .amit-accessibility__toggle {
        padding: 8px 10px;
    }

    .amit-accessibility__toggle-text {
        display: none;
    }

    .amit-accessibility__panel {
        width: min(292px, calc(100vw - 24px));
        bottom: 52px;
        padding: 14px;
    }

    .amit-accessibility__actions {
        grid-template-columns: 1fr;
    }
}

/* AMIT Theme Accessibility Scaling Refinement - v9.2 */
html.amit-text-large {
    --amit-font-size-navbar: 19px;
    --amit-font-size-dropdown: 18.5px;
    --amit-font-size-category-name: 19.5px;
    --amit-font-size-navbar-mobile: 19px;
    --amit-font-size-category-name-mobile: 18.5px;
}

html.amit-text-xlarge {
    --amit-font-size-navbar: 21px;
    --amit-font-size-dropdown: 20.5px;
    --amit-font-size-category-name: 21.5px;
    --amit-font-size-navbar-mobile: 20.5px;
    --amit-font-size-category-name-mobile: 20px;
}

html.amit-text-large .navbar .nav-link,
html.amit-text-large .navbar .dropdown-toggle,
html.amit-text-large .custom-header ul.nav.navbar-nav.links li a,
html.amit-text-large .custom-header li.dropdown .dropdown-toggle,
html.amit-text-large .custom-header ul.nav.navbar-nav.navbar-right .dropdown li a,
html.amit-text-large .dropdown-menu a,
html.amit-text-large .dropdown-menu span,
html.amit-text-large .dropdown-item,
html.amit-text-xlarge .navbar .nav-link,
html.amit-text-xlarge .navbar .dropdown-toggle,
html.amit-text-xlarge .custom-header ul.nav.navbar-nav.links li a,
html.amit-text-xlarge .custom-header li.dropdown .dropdown-toggle,
html.amit-text-xlarge .custom-header ul.nav.navbar-nav.navbar-right .dropdown li a,
html.amit-text-xlarge .dropdown-menu a,
html.amit-text-xlarge .dropdown-menu span,
html.amit-text-xlarge .dropdown-item {
    font-size: var(--amit-font-size-navbar) !important;
    line-height: 1.45 !important;
}

html.amit-text-large .custom-header ul.nav.navbar-nav.navbar-right .dropdown li a,
html.amit-text-large .dropdown-menu a,
html.amit-text-large .dropdown-menu span,
html.amit-text-large .dropdown-item,
html.amit-text-xlarge .custom-header ul.nav.navbar-nav.navbar-right .dropdown li a,
html.amit-text-xlarge .dropdown-menu a,
html.amit-text-xlarge .dropdown-menu span,
html.amit-text-xlarge .dropdown-item {
    font-size: var(--amit-font-size-dropdown) !important;
}

html.amit-text-large .Categories .Category-Name,
html.amit-text-large .Categories .Category-Name a,
html.amit-text-large .Sub-Cat-Name,
html.amit-text-large .Sub-Cat-Name a,
html.amit-text-xlarge .Categories .Category-Name,
html.amit-text-xlarge .Categories .Category-Name a,
html.amit-text-xlarge .Sub-Cat-Name,
html.amit-text-xlarge .Sub-Cat-Name a {
    font-size: var(--amit-font-size-category-name) !important;
    line-height: 1.45 !important;
}

html.amit-text-large .Subjects,
html.amit-text-xlarge .Subjects {
    font-size: 13.5px !important;
    line-height: 1.35 !important;
}

html.amit-text-large .Subjects-Num,
html.amit-text-xlarge .Subjects-Num {
    font-size: 21px !important;
    line-height: 1.2 !important;
}

html.amit-text-xlarge .Subjects {
    font-size: 15px !important;
}

html.amit-text-xlarge .Subjects-Num {
    font-size: 23px !important;
}

html.amit-text-large .content.home :where(.latest_ads, [class*="latest"], [class*="Latest"], [class*="topic"], [class*="Topic"], [class*="tips"], [class*="Tips"], [class*="banner"], [class*="Banner"], [class*="sponsor"], [class*="Sponsor"], [class*="amit-"], [class*="amit_"]) :where(h1, h2, h3, h4, h5, h6),
html.amit-text-large .content.home :where(.latest_ads, [class*="latest"], [class*="Latest"], [class*="topic"], [class*="Topic"], [class*="tips"], [class*="Tips"], [class*="banner"], [class*="Banner"], [class*="sponsor"], [class*="Sponsor"], [class*="amit-"], [class*="amit_"]) :where(a, p, span, small, strong, em, label, button) {
    font-size: 112.5% !important;
    line-height: 1.55 !important;
}

html.amit-text-xlarge .content.home :where(.latest_ads, [class*="latest"], [class*="Latest"], [class*="topic"], [class*="Topic"], [class*="tips"], [class*="Tips"], [class*="banner"], [class*="Banner"], [class*="sponsor"], [class*="Sponsor"], [class*="amit-"], [class*="amit_"]) :where(h1, h2, h3, h4, h5, h6),
html.amit-text-xlarge .content.home :where(.latest_ads, [class*="latest"], [class*="Latest"], [class*="topic"], [class*="Topic"], [class*="tips"], [class*="Tips"], [class*="banner"], [class*="Banner"], [class*="sponsor"], [class*="Sponsor"], [class*="amit-"], [class*="amit_"]) :where(a, p, span, small, strong, em, label, button) {
    font-size: 125% !important;
    line-height: 1.6 !important;
}

html.amit-text-large .home #main .latest_ads table.grid h3,
html.amit-text-large .home #main .latest_ads table.grid h3 a,
html.amit-text-large .content.home .latest_ads .see_more_link,
html.amit-text-large .content.home .latest_ads .see_more_link a {
    font-size: 18px !important;
    line-height: 1.5 !important;
}

html.amit-text-xlarge .home #main .latest_ads table.grid h3,
html.amit-text-xlarge .home #main .latest_ads table.grid h3 a,
html.amit-text-xlarge .content.home .latest_ads .see_more_link,
html.amit-text-xlarge .content.home .latest_ads .see_more_link a {
    font-size: 20px !important;
    line-height: 1.55 !important;
}

@media (max-width: 991px) {
    html.amit-text-large .navbar .nav-link,
    html.amit-text-large .navbar .dropdown-toggle,
    html.amit-text-large .custom-header ul.nav.navbar-nav.links li a,
    html.amit-text-large .custom-header li.dropdown .dropdown-toggle,
    html.amit-text-xlarge .navbar .nav-link,
    html.amit-text-xlarge .navbar .dropdown-toggle,
    html.amit-text-xlarge .custom-header ul.nav.navbar-nav.links li a,
    html.amit-text-xlarge .custom-header li.dropdown .dropdown-toggle {
        font-size: var(--amit-font-size-navbar-mobile) !important;
    }
}

@media (max-width: 767px) {
    html.amit-text-large .Categories .Category-Name,
    html.amit-text-large .Categories .Category-Name a,
    html.amit-text-large .Sub-Cat-Name,
    html.amit-text-large .Sub-Cat-Name a,
    html.amit-text-xlarge .Categories .Category-Name,
    html.amit-text-xlarge .Categories .Category-Name a,
    html.amit-text-xlarge .Sub-Cat-Name,
    html.amit-text-xlarge .Sub-Cat-Name a {
        font-size: var(--amit-font-size-category-name-mobile) !important;
    }
}

/* AMIT Theme Accessibility Dark Mode Refinement - v9.3 */
html.amit-dark-mode {
    --amit-dark-page: #0f172a;
    --amit-dark-surface: #111827;
    --amit-dark-surface-soft: #172033;
    --amit-dark-surface-card: #141d2f;
    --amit-dark-border: rgba(148, 163, 184, 0.34);
    --amit-dark-text: #e5e7eb;
    --amit-dark-muted: #cbd5e1;
    --amit-dark-accent: #a7d86a;
    --amit-dark-accent-strong: #c4ef8f;
}

html.amit-dark-mode .content.home,
html.amit-dark-mode .home #main,
html.amit-dark-mode main,
html.amit-dark-mode #main {
    background-color: var(--amit-dark-page) !important;
    color: var(--amit-dark-text) !important;
}

html.amit-dark-mode .Categories {
    background: linear-gradient(135deg, #111827 0%, #172033 100%) !important;
    border-color: var(--amit-dark-border) !important;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.34), 0 0 0 1px rgba(255, 255, 255, 0.04) inset !important;
}

html.amit-dark-mode .Categories .Category-Name,
html.amit-dark-mode .Categories .Category-Name a,
html.amit-dark-mode .Sub-Cat-Name,
html.amit-dark-mode .Sub-Cat-Name a {
    color: var(--amit-dark-text) !important;
}

html.amit-dark-mode .Categories .Category-Name a:hover,
html.amit-dark-mode .Categories .Category-Name a:focus,
html.amit-dark-mode .Sub-Cat-Name a:hover,
html.amit-dark-mode .Sub-Cat-Name a:focus {
    color: var(--amit-dark-accent-strong) !important;
}

html.amit-dark-mode .Subjects-Counts {
    background-color: #292c2f !important;
    background-image: none !important;
    color: #ffffff !important;
    clip-path: polygon(100% 0, 0 0, 0 180%) !important;
}

html.amit-dark-mode .Subjects,
html.amit-dark-mode .Subjects-Num {
    color: #ffffff !important;
}

html.amit-dark-mode .Category-Icon img,
html.amit-dark-mode .Sub-Cat-Icon img {
    opacity: 0.92;
}

html.amit-dark-mode .content.home :where(
    .latest_ads,
    [class*="latest"],
    [class*="Latest"],
    [class*="topic"],
    [class*="Topic"],
    [class*="tips"],
    [class*="Tips"],
    [class*="daily"],
    [class*="Daily"],
    [class*="scientist"],
    [class*="Scientist"],
    [class*="amit-"]
) :where(
    .card,
    .Card,
    .box,
    .Box,
    .inner,
    .Inner,
    .item,
    .Item,
    .content,
    .Content,
    .body,
    .Body,
    article,
    li,
    td,
    [class*="card"],
    [class*="Card"],
    [class*="item"],
    [class*="Item"]
) {
    background-color: var(--amit-dark-surface-card) !important;
    color: var(--amit-dark-text) !important;
    border-color: var(--amit-dark-border) !important;
}

html.amit-dark-mode .content.home :where(
    [class*="latest"],
    [class*="Latest"],
    [class*="topic"],
    [class*="Topic"],
    [class*="tips"],
    [class*="Tips"],
    [class*="daily"],
    [class*="Daily"],
    [class*="scientist"],
    [class*="Scientist"],
    [class*="amit-"]
) :where(h1, h2, h3, h4, h5, h6, p, li, span, small, strong, em, label, div) {
    color: var(--amit-dark-text) !important;
}

html.amit-dark-mode .content.home :where(
    [class*="latest"],
    [class*="Latest"],
    [class*="topic"],
    [class*="Topic"],
    [class*="tips"],
    [class*="Tips"],
    [class*="daily"],
    [class*="Daily"],
    [class*="scientist"],
    [class*="Scientist"],
    [class*="amit-"]
) :where(a, h1 a, h2 a, h3 a, h4 a, h5 a, h6 a) {
    color: var(--amit-dark-accent) !important;
}

html.amit-dark-mode .content.home :where(
    [class*="latest"],
    [class*="Latest"],
    [class*="topic"],
    [class*="Topic"],
    [class*="tips"],
    [class*="Tips"],
    [class*="daily"],
    [class*="Daily"],
    [class*="scientist"],
    [class*="Scientist"],
    [class*="amit-"]
) :where(a:hover, a:focus) {
    color: var(--amit-dark-accent-strong) !important;
}

html.amit-dark-mode .content.home :where(
    [class*="badge"],
    [class*="Badge"],
    [class*="category"],
    [class*="Category"],
    [class*="meta"],
    [class*="Meta"],
    [class*="date"],
    [class*="Date"],
    [class*="tag"],
    [class*="Tag"]
) {
    color: var(--amit-dark-muted) !important;
    border-color: var(--amit-dark-border) !important;
}

html.amit-dark-mode .home #main .latest_ads,
html.amit-dark-mode .home #main .latest_ads table,
html.amit-dark-mode .home #main .latest_ads table.grid,
html.amit-dark-mode .home #main .latest_ads table.grid td,
html.amit-dark-mode table.grid td,
html.amit-dark-mode .related_ads table td {
    background-color: var(--amit-dark-surface-card) !important;
    color: var(--amit-dark-text) !important;
    border-color: var(--amit-dark-border) !important;
}

html.amit-dark-mode .home #main .latest_ads h2,
html.amit-dark-mode .home #main .latest_ads table.grid h3,
html.amit-dark-mode .home #main .latest_ads table.grid h3 a,
html.amit-dark-mode table.grid td.text h3,
html.amit-dark-mode table.grid td.text h3 a,
html.amit-dark-mode .related_ads table td.text h3,
html.amit-dark-mode .related_ads table td.text h3 a {
    color: var(--amit-dark-accent) !important;
}

html.amit-dark-mode .home #main .latest_ads table.grid h4,
html.amit-dark-mode table.grid td.text h4,
html.amit-dark-mode .related_ads table td.text h4 {
    color: var(--amit-dark-muted) !important;
}

html.amit-dark-mode .content.home img,
html.amit-dark-mode .home #main img,
html.amit-dark-mode .Categories img {
    background-color: transparent !important;
    filter: none !important;
}

html.amit-dark-mode .content.home :where(button, .btn, [class*="button"], [class*="Button"]) {
    background-color: var(--amit-dark-surface-soft) !important;
    color: var(--amit-dark-text) !important;
    border-color: var(--amit-dark-border) !important;
}

html.amit-dark-mode .content.home :where(button:hover, button:focus, .btn:hover, .btn:focus, [class*="button"]:hover, [class*="button"]:focus, [class*="Button"]:hover, [class*="Button"]:focus) {
    background-color: rgba(117, 177, 47, 0.24) !important;
    color: var(--amit-dark-accent-strong) !important;
}

/* AMIT Theme Accessibility Dark Mode Completion - v9.4 */
html.amit-dark-mode .Logo,
html.amit-dark-mode .Logo .container,
html.amit-dark-mode .Header,
html.amit-dark-mode .custom-header,
html.amit-dark-mode header,
html.amit-dark-mode header .container,
html.amit-dark-mode header [class*="banner"],
html.amit-dark-mode header [class*="Banner"],
html.amit-dark-mode header [class*="sponsor"],
html.amit-dark-mode header [class*="Sponsor"],
html.amit-dark-mode header [class*="amit-"],
html.amit-dark-mode header [class*="amit_"] {
    background-color: var(--amit-dark-surface) !important;
    color: var(--amit-dark-text) !important;
    border-color: var(--amit-dark-border) !important;
}

html.amit-dark-mode header img,
html.amit-dark-mode .Logo img,
html.amit-dark-mode .Logo svg,
html.amit-dark-mode header svg,
html.amit-dark-mode header iframe {
    background-color: transparent !important;
    filter: none !important;
}

html.amit-dark-mode .dropdown-menu,
html.amit-dark-mode .dropdown-menu.show,
html.amit-dark-mode .Custom-Width,
html.amit-dark-mode .dropdown-menu[data-bs-popper],
html.amit-dark-mode .navbar .dropdown-menu,
html.amit-dark-mode .custom-header .dropdown-menu {
    background-color: var(--amit-dark-surface-soft) !important;
    color: var(--amit-dark-text) !important;
    border: 1px solid var(--amit-dark-border) !important;
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.45) !important;
}

html.amit-dark-mode .dropdown-menu a,
html.amit-dark-mode .dropdown-menu span,
html.amit-dark-mode .dropdown-item,
html.amit-dark-mode .navbar .dropdown-menu a,
html.amit-dark-mode .custom-header .dropdown-menu a,
html.amit-dark-mode .custom-header .dropdown-menu span {
    background-color: transparent !important;
    color: var(--amit-dark-text) !important;
    border-color: transparent !important;
}

html.amit-dark-mode .dropdown-menu a:hover,
html.amit-dark-mode .dropdown-menu a:focus,
html.amit-dark-mode .dropdown-item:hover,
html.amit-dark-mode .dropdown-item:focus,
html.amit-dark-mode .navbar .dropdown-menu a:hover,
html.amit-dark-mode .navbar .dropdown-menu a:focus,
html.amit-dark-mode .custom-header .dropdown-menu a:hover,
html.amit-dark-mode .custom-header .dropdown-menu a:focus {
    background-color: rgba(117, 177, 47, 0.2) !important;
    color: var(--amit-dark-accent-strong) !important;
}

html.amit-dark-mode .Categories,
html.amit-dark-mode .Categories *,
html.amit-dark-mode .Category-Title,
html.amit-dark-mode .Category-Title *,
html.amit-dark-mode .Subjects-Counts,
html.amit-dark-mode .Subjects-Counts *,
html.amit-dark-mode .Subjects,
html.amit-dark-mode .Subjects-Num,
html.amit-dark-mode .Categories .Category-Name,
html.amit-dark-mode .Categories .Category-Name a,
html.amit-dark-mode .Sub-Cat-Name,
html.amit-dark-mode .Sub-Cat-Name a {
    background-color: transparent !important;
    background-image: none !important;
}

html.amit-dark-mode .Subjects-Counts {
    color: var(--amit-dark-text) !important;
}

html.amit-dark-mode .Subjects,
html.amit-dark-mode .Subjects-Num {
    color: var(--amit-dark-text) !important;
    text-shadow: none !important;
}

html.amit-dark-mode .Categories .Category-Name,
html.amit-dark-mode .Categories .Category-Name a,
html.amit-dark-mode .Sub-Cat-Name,
html.amit-dark-mode .Sub-Cat-Name a {
    color: var(--amit-dark-text) !important;
    text-shadow: none !important;
    box-shadow: none !important;
}

html.amit-dark-mode .content.list,
html.amit-dark-mode .content.list #main,
html.amit-dark-mode .content.list .ad_list,
html.amit-dark-mode .content.list .ad_list #list_head,
html.amit-dark-mode .content.list .ad_list #list_head .inner,
html.amit-dark-mode .content.list .ad_list .amit-search-list,
html.amit-dark-mode .content.list .ad_list .amit-search-card,
html.amit-dark-mode .search,
html.amit-dark-mode .search #main,
html.amit-dark-mode .search_list,
html.amit-dark-mode .search-sidebar,
html.amit-dark-mode #sidebar,
html.amit-dark-mode .filters,
html.amit-dark-mode .sort,
html.amit-dark-mode .paginate,
html.amit-dark-mode .pagination {
    background-color: var(--amit-dark-page) !important;
    color: var(--amit-dark-text) !important;
    border-color: var(--amit-dark-border) !important;
}

html.amit-dark-mode .content.list .ad_list .amit-search-card,
html.amit-dark-mode .content.list .ad_list .amit-search-card__body,
html.amit-dark-mode .content.list .ad_list .amit-search-card__media,
html.amit-dark-mode .content.list .ad_list .amit-search-card--premium {
    background-color: var(--amit-dark-surface-card) !important;
    color: var(--amit-dark-text) !important;
    border-color: var(--amit-dark-border) !important;
}

html.amit-dark-mode .content.list .ad_list #list_head h1,
html.amit-dark-mode .content.list .ad_list #list_head h1 strong,
html.amit-dark-mode .content.list .ad_list .amit-search-card__title,
html.amit-dark-mode .content.list .ad_list .amit-search-card__title a,
html.amit-dark-mode .content.list .ad_list .amit-search-card__meta,
html.amit-dark-mode .content.list .ad_list .amit-search-card__date,
html.amit-dark-mode .content.list .ad_list .amit-search-card__price,
html.amit-dark-mode .content.list .ad_list .see_by,
html.amit-dark-mode .content.list .ad_list .see_by a,
html.amit-dark-mode .content.list .ad_list .see_by span {
    background-color: transparent !important;
    color: var(--amit-dark-text) !important;
    border-color: var(--amit-dark-border) !important;
}

html.amit-dark-mode .content.list .ad_list .amit-search-card__title a:hover,
html.amit-dark-mode .content.list .ad_list .amit-search-card__title a:focus,
html.amit-dark-mode .content.list .ad_list .see_by a:hover,
html.amit-dark-mode .content.list .ad_list .see_by a:focus {
    color: var(--amit-dark-accent-strong) !important;
}

html.amit-dark-mode .content.list .ad_list .amit-search-card__price,
html.amit-dark-mode .content.list .ad_list .amit-search-card__date,
html.amit-dark-mode .content.list .ad_list .image_count,
html.amit-dark-mode .content.list .ad_list [class*="badge"],
html.amit-dark-mode .content.list .ad_list [class*="Badge"],
html.amit-dark-mode .paginate a,
html.amit-dark-mode .pagination a,
html.amit-dark-mode .paginate span,
html.amit-dark-mode .pagination span {
    background-color: rgba(148, 163, 184, 0.12) !important;
    color: var(--amit-dark-muted) !important;
    border-color: var(--amit-dark-border) !important;
}

html.amit-dark-mode .content.list img,
html.amit-dark-mode .content.list svg,
html.amit-dark-mode .content.list iframe {
    filter: none !important;
}

/* v9.6: Keep the homepage topic-count wedge identical to the normal-mode shape in dark mode. */
html.amit-dark-mode .Categories .Subjects-Counts,
html.amit-dark-mode .Category-Title .Subjects-Counts {
    display: block !important;
    width: 111px !important;
    background-color: #292c2f !important;
    background-image: none !important;
    color: #ffffff !important;
    border-top-left-radius: 5px !important;
    border-bottom-left-radius: 5px !important;
    clip-path: polygon(100% 0, 0 0, 0 180%) !important;
    border-color: transparent !important;
    box-shadow: none !important;
}

html.amit-dark-mode .Categories .Subjects-Counts *,
html.amit-dark-mode .Category-Title .Subjects-Counts *,
html.amit-dark-mode .Categories .Subjects,
html.amit-dark-mode .Categories .Subjects-Num,
html.amit-dark-mode .Category-Title .Subjects,
html.amit-dark-mode .Category-Title .Subjects-Num {
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
    color: #ffffff !important;
    box-shadow: none !important;
    text-shadow: none !important;
}

/* v9.6: Extend accessibility text scaling to View All, search, and category listing pages. */
html.amit-text-large .content.list,
html.amit-text-large .content.list #main,
html.amit-text-large .content.list .ad_list,
html.amit-text-large .content.list .ad_list #list_head,
html.amit-text-large .content.list .ad_list .amit-search-list,
html.amit-text-large .content.list .ad_list .amit-search-card,
html.amit-text-large .content.list .ad_list .amit-search-card__body,
html.amit-text-large .content.list .ad_list .amit-search-card__meta,
html.amit-text-large .content.list .ad_list .amit-search-card__title,
html.amit-text-large .content.list .ad_list .amit-search-card__title a,
html.amit-text-large .content.list .ad_list .amit-search-card__price,
html.amit-text-large .content.list .ad_list .amit-search-card__date,
html.amit-text-large .content.list .ad_list .amit-search-card__excerpt,
html.amit-text-large .content.list .ad_list .see_by,
html.amit-text-large .content.list .ad_list .see_by a,
html.amit-text-large .content.list .ad_list .see_by span,
html.amit-text-large .content.list .paginate,
html.amit-text-large .content.list .paginate a,
html.amit-text-large .content.list .paginate span,
html.amit-text-large .content.list .pagination,
html.amit-text-large .content.list .pagination a,
html.amit-text-large .content.list .pagination span,
html.amit-text-large .search,
html.amit-text-large .search #main,
html.amit-text-large .search_list,
html.amit-text-large .search_list a,
html.amit-text-large .search_list p,
html.amit-text-large .search_list span,
html.amit-text-large .search_list small,
html.amit-text-large .search_list strong,
html.amit-text-large .category-description,
html.amit-text-large .category-description *,
html.amit-text-large .empty,
html.amit-text-large .empty * {
    font-size: 112.5% !important;
    line-height: 1.55 !important;
}

html.amit-text-xlarge .content.list,
html.amit-text-xlarge .content.list #main,
html.amit-text-xlarge .content.list .ad_list,
html.amit-text-xlarge .content.list .ad_list #list_head,
html.amit-text-xlarge .content.list .ad_list .amit-search-list,
html.amit-text-xlarge .content.list .ad_list .amit-search-card,
html.amit-text-xlarge .content.list .ad_list .amit-search-card__body,
html.amit-text-xlarge .content.list .ad_list .amit-search-card__meta,
html.amit-text-xlarge .content.list .ad_list .amit-search-card__title,
html.amit-text-xlarge .content.list .ad_list .amit-search-card__title a,
html.amit-text-xlarge .content.list .ad_list .amit-search-card__price,
html.amit-text-xlarge .content.list .ad_list .amit-search-card__date,
html.amit-text-xlarge .content.list .ad_list .amit-search-card__excerpt,
html.amit-text-xlarge .content.list .ad_list .see_by,
html.amit-text-xlarge .content.list .ad_list .see_by a,
html.amit-text-xlarge .content.list .ad_list .see_by span,
html.amit-text-xlarge .content.list .paginate,
html.amit-text-xlarge .content.list .paginate a,
html.amit-text-xlarge .content.list .paginate span,
html.amit-text-xlarge .content.list .pagination,
html.amit-text-xlarge .content.list .pagination a,
html.amit-text-xlarge .content.list .pagination span,
html.amit-text-xlarge .search,
html.amit-text-xlarge .search #main,
html.amit-text-xlarge .search_list,
html.amit-text-xlarge .search_list a,
html.amit-text-xlarge .search_list p,
html.amit-text-xlarge .search_list span,
html.amit-text-xlarge .search_list small,
html.amit-text-xlarge .search_list strong,
html.amit-text-xlarge .category-description,
html.amit-text-xlarge .category-description *,
html.amit-text-xlarge .empty,
html.amit-text-xlarge .empty * {
    font-size: 125% !important;
    line-height: 1.62 !important;
}

html.amit-text-large .content.list .ad_list .amit-search-card__title,
html.amit-text-large .content.list .ad_list .amit-search-card__title a {
    font-size: 23px !important;
}

html.amit-text-xlarge .content.list .ad_list .amit-search-card__title,
html.amit-text-xlarge .content.list .ad_list .amit-search-card__title a {
    font-size: 26px !important;
}

html.amit-text-large .content.list .ad_list .amit-search-card__meta,
html.amit-text-large .content.list .ad_list .amit-search-card__price,
html.amit-text-large .content.list .ad_list .amit-search-card__date {
    font-size: 14px !important;
}

html.amit-text-xlarge .content.list .ad_list .amit-search-card__meta,
html.amit-text-xlarge .content.list .ad_list .amit-search-card__price,
html.amit-text-xlarge .content.list .ad_list .amit-search-card__date {
    font-size: 15px !important;
}

/* v9.7: Rebuild the dark-mode category topic-count shape with a transparent base and a separate angled wedge. */
html.amit-dark-mode .Categories .Subjects-Counts,
html.amit-dark-mode .Category-Title .Subjects-Counts {
    position: relative !important;
    overflow: hidden !important;
    isolation: isolate !important;
    display: block !important;
    width: 111px !important;
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
    clip-path: none !important;
    border-top-left-radius: 5px !important;
    border-bottom-left-radius: 5px !important;
    border-color: transparent !important;
    box-shadow: none !important;
}

html.amit-dark-mode .Categories .Subjects-Counts::before,
html.amit-dark-mode .Category-Title .Subjects-Counts::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background-color: rgba(148, 163, 184, 0.12) !important;
    background-image: none;
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
    clip-path: polygon(100% 0, 0 0, 0 180%);
    pointer-events: none;
}

html.amit-dark-mode .Categories .Subjects-Counts *,
html.amit-dark-mode .Category-Title .Subjects-Counts *,
html.amit-dark-mode .Categories .Subjects,
html.amit-dark-mode .Categories .Subjects-Num,
html.amit-dark-mode .Category-Title .Subjects,
html.amit-dark-mode .Category-Title .Subjects-Num {
    position: relative !important;
    z-index: 1 !important;
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
    color: #ffffff !important;
    box-shadow: none !important;
    text-shadow: none !important;
}

/* v10.1: Correct the dark-mode homepage category topic-count wedge for Arabic/RTL layouts. */
:where(html[dir="rtl"], html[lang^="ar"]).amit-dark-mode .Categories .Subjects-Counts,
:where(html[dir="rtl"], html[lang^="ar"]).amit-dark-mode .Category-Title .Subjects-Counts {
    border-top-left-radius: 0 !important;
    border-bottom-left-radius: 0 !important;
    border-top-right-radius: 5px !important;
    border-bottom-right-radius: 5px !important;
}

:where(html[dir="rtl"], html[lang^="ar"]).amit-dark-mode .Categories .Subjects-Counts::before,
:where(html[dir="rtl"], html[lang^="ar"]).amit-dark-mode .Category-Title .Subjects-Counts::before {
    border-top-left-radius: 0 !important;
    border-bottom-left-radius: 0 !important;
    border-top-right-radius: 5px !important;
    border-bottom-right-radius: 5px !important;
    clip-path: polygon(100% 0, 0 0, 100% 180%) !important;
}

/* v10.3: Extend accessibility support to AMIT Calendar front-end output without editing the calendar plugin. */
html.amit-text-large :where(
    .amit-calendar,
    .amit-calendar-page,
    .amit-calendar-wrap,
    .amit-calendar-wrapper,
    .amit-calendar-container,
    .amit-calendar-front,
    .amit-calendar-header,
    .amit-calendar-toolbar,
    .amit-calendar-title,
    .amit-calendar-grid,
    .amit-calendar-weekdays,
    .amit-calendar-weekday,
    .amit-calendar-day,
    .amit-calendar-date,
    .amit-calendar-day-number,
    .amit-calendar-event,
    .amit-calendar-event-title,
    .amit-calendar-legend,
    .amit-calendar-legend-item,
    .amit-calendar-filter,
    .amit-calendar-button,
    .amit-calendar-nav,
    .amit-today-facts,
    .amit-today-facts *,
    [class*="amit-calendar"],
    [class*="amit_calendar"]
) {
    font-size: 112.5% !important;
    line-height: 1.55 !important;
}

html.amit-text-xlarge :where(
    .amit-calendar,
    .amit-calendar-page,
    .amit-calendar-wrap,
    .amit-calendar-wrapper,
    .amit-calendar-container,
    .amit-calendar-front,
    .amit-calendar-header,
    .amit-calendar-toolbar,
    .amit-calendar-title,
    .amit-calendar-grid,
    .amit-calendar-weekdays,
    .amit-calendar-weekday,
    .amit-calendar-day,
    .amit-calendar-date,
    .amit-calendar-day-number,
    .amit-calendar-event,
    .amit-calendar-event-title,
    .amit-calendar-legend,
    .amit-calendar-legend-item,
    .amit-calendar-filter,
    .amit-calendar-button,
    .amit-calendar-nav,
    .amit-today-facts,
    .amit-today-facts *,
    [class*="amit-calendar"],
    [class*="amit_calendar"]
) {
    font-size: 125% !important;
    line-height: 1.62 !important;
}

html.amit-text-large :where(
    .amit-calendar-title,
    .amit-calendar-header h1,
    .amit-calendar-header h2,
    .amit-calendar-header h3,
    [class*="amit-calendar"] h1,
    [class*="amit-calendar"] h2,
    [class*="amit-calendar"] h3,
    .amit-today-facts h1,
    .amit-today-facts h2,
    .amit-today-facts h3
) {
    font-size: 128% !important;
    line-height: 1.35 !important;
}

html.amit-text-xlarge :where(
    .amit-calendar-title,
    .amit-calendar-header h1,
    .amit-calendar-header h2,
    .amit-calendar-header h3,
    [class*="amit-calendar"] h1,
    [class*="amit-calendar"] h2,
    [class*="amit-calendar"] h3,
    .amit-today-facts h1,
    .amit-today-facts h2,
    .amit-today-facts h3
) {
    font-size: 145% !important;
    line-height: 1.35 !important;
}

html.amit-dark-mode :where(
    .amit-calendar,
    .amit-calendar-page,
    .amit-calendar-wrap,
    .amit-calendar-wrapper,
    .amit-calendar-container,
    .amit-calendar-front,
    .amit-calendar-card,
    .amit-calendar-panel,
    .amit-calendar-month,
    .amit-calendar-grid,
    .amit-calendar-legend,
    .amit-calendar-filter,
    .amit-today-facts,
    [class*="amit-calendar"],
    [class*="amit_calendar"]
) {
    background-color: #111827 !important;
    color: #e5e7eb !important;
    border-color: rgba(148, 163, 184, 0.28) !important;
}

html.amit-dark-mode :where(
    .amit-calendar-weekdays,
    .amit-calendar-weekday,
    .amit-calendar-day,
    .amit-calendar-date,
    .amit-calendar-day-number,
    .amit-calendar-empty,
    .amit-calendar-other-month,
    .amit-calendar-nav,
    .amit-calendar-toolbar,
    .amit-calendar-controls,
    .amit-calendar-legend-item,
    [class*="amit-calendar"] th,
    [class*="amit-calendar"] td,
    [class*="amit-calendar"] li,
    .amit-today-facts > *,
    .amit-today-facts .card,
    .amit-today-facts [class*="card"],
    .amit-today-facts [class*="fact"]
) {
    background-color: #1f2937 !important;
    color: #e5e7eb !important;
    border-color: rgba(148, 163, 184, 0.26) !important;
}

html.amit-dark-mode :where(
    .amit-calendar h1,
    .amit-calendar h2,
    .amit-calendar h3,
    .amit-calendar h4,
    .amit-calendar-title,
    .amit-calendar-month-title,
    .amit-calendar-day-number,
    .amit-calendar-date,
    .amit-calendar-weekday,
    .amit-calendar strong,
    .amit-calendar a,
    [class*="amit-calendar"] h1,
    [class*="amit-calendar"] h2,
    [class*="amit-calendar"] h3,
    [class*="amit-calendar"] h4,
    [class*="amit-calendar"] strong,
    [class*="amit-calendar"] a,
    .amit-today-facts h1,
    .amit-today-facts h2,
    .amit-today-facts h3,
    .amit-today-facts h4,
    .amit-today-facts strong,
    .amit-today-facts a
) {
    color: #f8fafc !important;
}

html.amit-dark-mode :where(
    .amit-calendar p,
    .amit-calendar span,
    .amit-calendar small,
    .amit-calendar label,
    .amit-calendar em,
    [class*="amit-calendar"] p,
    [class*="amit-calendar"] span,
    [class*="amit-calendar"] small,
    [class*="amit-calendar"] label,
    [class*="amit-calendar"] em,
    .amit-today-facts p,
    .amit-today-facts span,
    .amit-today-facts small,
    .amit-today-facts label,
    .amit-today-facts em
) {
    color: #d1d5db !important;
}

html.amit-dark-mode :where(
    .amit-calendar-button,
    .amit-calendar-nav a,
    .amit-calendar-nav button,
    .amit-calendar-toolbar a,
    .amit-calendar-toolbar button,
    [class*="amit-calendar"] button,
    [class*="amit-calendar"] input[type="button"],
    [class*="amit-calendar"] input[type="submit"],
    [class*="amit-calendar"] .btn,
    .amit-today-facts button,
    .amit-today-facts .btn
) {
    background-color: #75b12f !important;
    border-color: #75b12f !important;
    color: #ffffff !important;
}

html.amit-dark-mode :where(
    .amit-calendar input,
    .amit-calendar select,
    .amit-calendar textarea,
    [class*="amit-calendar"] input,
    [class*="amit-calendar"] select,
    [class*="amit-calendar"] textarea
) {
    background-color: #0f172a !important;
    border-color: rgba(148, 163, 184, 0.34) !important;
    color: #f8fafc !important;
}

html.amit-dark-mode :where(
    .amit-calendar-event,
    .amit-calendar-event-title,
    .amit-calendar-badge,
    .amit-calendar-legend-color,
    [class*="amit-calendar-event"],
    [class*="amit-calendar-badge"],
    [class*="amit_calendar_event"],
    [class*="amit_calendar_badge"]
) {
    color: #ffffff !important;
}

html.amit-dark-mode :where(
    .amit-calendar-today,
    [class*="amit-calendar-today"],
    [class*="amit_calendar_today"]
) {
    border-color: #75b12f !important;
    box-shadow: 0 0 0 2px rgba(117, 177, 47, 0.28) !important;
}

/* v10.6: Exact AMIT Calendar accessibility bridge.
   Built from the real AMIT Calendar v3.1.3 front-end classes, not guessed
   selectors. This keeps plugin files untouched and preserves event/legend colors. */
html.amit-text-large .amit-calendar-accessibility-shell .amit-cal-wrap {
    font-size: 112.5% !important;
    line-height: 1.55 !important;
}

html.amit-text-xlarge .amit-calendar-accessibility-shell .amit-cal-wrap {
    font-size: 125% !important;
    line-height: 1.62 !important;
}

html.amit-text-large .amit-calendar-accessibility-shell .amit-cal-year-title {
    font-size: clamp(1.75rem, 4.5vw, 2.55rem) !important;
    line-height: 1.25 !important;
}

html.amit-text-xlarge .amit-calendar-accessibility-shell .amit-cal-year-title {
    font-size: clamp(2rem, 5vw, 2.9rem) !important;
    line-height: 1.25 !important;
}


/* v10.8: Exact AMIT Calendar text-size scaling.
   The plugin sets direct font-size values on .amit-cal-* elements, so the
   accessibility modes must target those real classes instead of relying only
   on inherited wrapper scaling. */
html.amit-text-large .amit-calendar-accessibility-shell .ac-cal-hint {
    font-size: 0.9rem !important;
    line-height: 1.65 !important;
}

html.amit-text-xlarge .amit-calendar-accessibility-shell .ac-cal-hint {
    font-size: 1rem !important;
    line-height: 1.7 !important;
}

html.amit-text-large .amit-calendar-accessibility-shell .amit-cal-month-header,
html.amit-text-large .amit-calendar-accessibility-shell .ac-month-name {
    font-size: 1.08rem !important;
    line-height: 1.35 !important;
}

html.amit-text-xlarge .amit-calendar-accessibility-shell .amit-cal-month-header,
html.amit-text-xlarge .amit-calendar-accessibility-shell .ac-month-name {
    font-size: 1.22rem !important;
    line-height: 1.35 !important;
}

html.amit-text-large .amit-calendar-accessibility-shell .amit-cal-day-name {
    font-size: 0.7rem !important;
    line-height: 1.35 !important;
}

html.amit-text-xlarge .amit-calendar-accessibility-shell .amit-cal-day-name {
    font-size: 0.8rem !important;
    line-height: 1.35 !important;
}

html.amit-text-large .amit-calendar-accessibility-shell .amit-cal-day {
    font-size: clamp(0.72rem, 1.65vw, 0.96rem) !important;
    line-height: 1.2 !important;
}

html.amit-text-xlarge .amit-calendar-accessibility-shell .amit-cal-day {
    font-size: clamp(0.84rem, 1.9vw, 1.08rem) !important;
    line-height: 1.2 !important;
}

html.amit-text-large .amit-calendar-accessibility-shell .amit-cal-day .ac-day-num,
html.amit-text-xlarge .amit-calendar-accessibility-shell .amit-cal-day .ac-day-num {
    line-height: 1 !important;
}

html.amit-text-large .amit-calendar-accessibility-shell .amit-cal-day:has(.ac-icon-badge) .ac-day-num {
    font-size: 0.62em !important;
}

html.amit-text-xlarge .amit-calendar-accessibility-shell .amit-cal-day:has(.ac-icon-badge) .ac-day-num {
    font-size: 0.68em !important;
}

html.amit-text-large .amit-calendar-accessibility-shell .amit-cal-legend-title {
    font-size: 1.12rem !important;
    line-height: 1.45 !important;
}

html.amit-text-xlarge .amit-calendar-accessibility-shell .amit-cal-legend-title {
    font-size: 1.25rem !important;
    line-height: 1.45 !important;
}

html.amit-text-large .amit-calendar-accessibility-shell .amit-cal-legend-label {
    font-size: 0.96rem !important;
    line-height: 1.45 !important;
}

html.amit-text-xlarge .amit-calendar-accessibility-shell .amit-cal-legend-label {
    font-size: 1.08rem !important;
    line-height: 1.45 !important;
}

html.amit-text-large .amit-calendar-accessibility-shell .amit-cal-legend-note {
    font-size: 0.9rem !important;
    line-height: 1.55 !important;
}

html.amit-text-xlarge .amit-calendar-accessibility-shell .amit-cal-legend-note {
    font-size: 1rem !important;
    line-height: 1.6 !important;
}

html.amit-text-large .amit-calendar-accessibility-shell .ac-detail-name,
html.amit-text-large .amit-calendar-accessibility-shell .ac-detail-meta,
html.amit-text-large .amit-calendar-accessibility-shell .ac-detail-empty,
html.amit-text-large .amit-calendar-accessibility-shell .ac-detail-link {
    font-size: 0.96rem !important;
    line-height: 1.55 !important;
}

html.amit-text-xlarge .amit-calendar-accessibility-shell .ac-detail-name,
html.amit-text-xlarge .amit-calendar-accessibility-shell .ac-detail-meta,
html.amit-text-xlarge .amit-calendar-accessibility-shell .ac-detail-empty,
html.amit-text-xlarge .amit-calendar-accessibility-shell .ac-detail-link {
    font-size: 1.08rem !important;
    line-height: 1.6 !important;
}

html.amit-text-large .amit-calendar-accessibility-shell .ac-detail-close {
    font-size: 1.05rem !important;
}

html.amit-text-xlarge .amit-calendar-accessibility-shell .ac-detail-close {
    font-size: 1.18rem !important;
}

html.amit-dark-mode .amit-calendar-accessibility-shell .amit-cal-wrap {
    --ac-bg: #0f172a;
    --ac-card-bg: #111827;
    --ac-border: rgba(148, 163, 184, 0.42);
    --ac-text: #e5e7eb;
    --ac-text-muted: #cbd5e1;
    --ac-header-bg: #20252a;
    --ac-header-text: #f8fafc;
    --ac-shadow: 0 18px 44px rgba(0, 0, 0, 0.32);

    background: transparent !important;
    color: var(--ac-text) !important;
}

html.amit-dark-mode .amit-calendar-accessibility-shell .amit-cal-year-title,
html.amit-dark-mode .amit-calendar-accessibility-shell .ac-cal-hint {
    color: var(--ac-text) !important;
}

html.amit-dark-mode .amit-calendar-accessibility-shell .ac-cal-hint {
    color: var(--ac-text-muted) !important;
    opacity: 1 !important;
}

html.amit-dark-mode .amit-calendar-accessibility-shell .amit-cal-month {
    background: var(--ac-card-bg) !important;
    background-color: var(--ac-card-bg) !important;
    border-color: var(--ac-border) !important;
    box-shadow: var(--ac-shadow) !important;
    color: var(--ac-text) !important;
}

html.amit-dark-mode .amit-calendar-accessibility-shell .amit-cal-month-header {
    background: var(--ac-header-bg) !important;
    background-color: var(--ac-header-bg) !important;
    color: var(--ac-header-text) !important;
    border-color: var(--ac-border) !important;
}

html.amit-dark-mode .amit-calendar-accessibility-shell .ac-month-name {
    color: var(--ac-header-text) !important;
}

html.amit-dark-mode .amit-calendar-accessibility-shell .amit-cal-days-grid {
    background: var(--ac-card-bg) !important;
    background-color: var(--ac-card-bg) !important;
    color: var(--ac-text) !important;
}

html.amit-dark-mode .amit-calendar-accessibility-shell .amit-cal-day-name {
    color: #cbd5e1 !important;
    opacity: 1 !important;
}

html.amit-dark-mode .amit-calendar-accessibility-shell .amit-cal-day.normal {
    color: #dbe4ee !important;
    background: transparent !important;
    background-color: transparent !important;
    text-shadow: none !important;
}

html.amit-dark-mode .amit-calendar-accessibility-shell .amit-cal-day.empty {
    color: rgba(226, 232, 240, 0.35) !important;
    background: transparent !important;
    background-color: transparent !important;
}

html.amit-dark-mode .amit-calendar-accessibility-shell .amit-cal-day.ev-weekend,
html.amit-dark-mode .amit-calendar-accessibility-shell .amit-cal-day.ev-ramadan,
html.amit-dark-mode .amit-calendar-accessibility-shell .amit-cal-day.ev-eid_alfitr,
html.amit-dark-mode .amit-calendar-accessibility-shell .amit-cal-day.ev-islamic_newyear,
html.amit-dark-mode .amit-calendar-accessibility-shell .amit-cal-day.ev-prophets_bday,
html.amit-dark-mode .amit-calendar-accessibility-shell .amit-cal-day.ev-founding_day,
html.amit-dark-mode .amit-calendar-accessibility-shell .amit-cal-day.ev-flag_day,
html.amit-dark-mode .amit-calendar-accessibility-shell .amit-cal-day.ev-national_day,
html.amit-dark-mode .amit-calendar-accessibility-shell .amit-cal-day.ev-symposium,
html.amit-dark-mode .amit-calendar-accessibility-shell .amit-cal-day.ev-workshop,
html.amit-dark-mode .amit-calendar-accessibility-shell .amit-cal-day.ev-webinar,
html.amit-dark-mode .amit-calendar-accessibility-shell .amit-cal-day.ev-conference,
html.amit-dark-mode .amit-calendar-accessibility-shell .amit-cal-day.ev-idor,
html.amit-dark-mode .amit-calendar-accessibility-shell .amit-cal-day.ev-employees_holiday,
html.amit-dark-mode .amit-calendar-accessibility-shell .amit-cal-day.ev-return_of_employees,
html.amit-dark-mode .amit-calendar-accessibility-shell .amit-cal-day.multi-event {
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.42) !important;
}

html.amit-dark-mode .amit-calendar-accessibility-shell .amit-cal-day.ev-weekend {
    background: #1a1a1a !important;
    background-color: #1a1a1a !important;
}

html.amit-dark-mode .amit-calendar-accessibility-shell .amit-cal-day.ev-ramadan {
    background: #4AADA0 !important;
    background-color: #4AADA0 !important;
}

html.amit-dark-mode .amit-calendar-accessibility-shell .amit-cal-day.ev-eid_alfitr {
    background: #C8B87A !important;
    background-color: #C8B87A !important;
}

html.amit-dark-mode .amit-calendar-accessibility-shell .amit-cal-day.ev-day_of_arafah {
    background: #E8D44D !important;
    background-color: #E8D44D !important;
}

html.amit-dark-mode .amit-calendar-accessibility-shell .amit-cal-day.ev-eid_aladha {
    background: #A8D5B0 !important;
    background-color: #A8D5B0 !important;
}

html.amit-dark-mode .amit-calendar-accessibility-shell .amit-cal-day.ev-islamic_newyear {
    background: #7B9EC9 !important;
    background-color: #7B9EC9 !important;
}

html.amit-dark-mode .amit-calendar-accessibility-shell .amit-cal-day.ev-prophets_bday {
    background: #C97BA8 !important;
    background-color: #C97BA8 !important;
}

html.amit-dark-mode .amit-calendar-accessibility-shell .amit-cal-day.ev-founding_day {
    background: #7B5C3A !important;
    background-color: #7B5C3A !important;
}

html.amit-dark-mode .amit-calendar-accessibility-shell .amit-cal-day.ev-flag_day,
html.amit-dark-mode .amit-calendar-accessibility-shell .amit-cal-day.ev-national_day {
    background: #1a5c38 !important;
    background-color: #1a5c38 !important;
}

html.amit-dark-mode .amit-calendar-accessibility-shell .amit-cal-day.ev-symposium,
html.amit-dark-mode .amit-calendar-accessibility-shell .amit-cal-day.ev-conference {
    background: #6A5ACD !important;
    background-color: #6A5ACD !important;
}

html.amit-dark-mode .amit-calendar-accessibility-shell .amit-cal-day.ev-workshop {
    background: #7A8C2A !important;
    background-color: #7A8C2A !important;
}

html.amit-dark-mode .amit-calendar-accessibility-shell .amit-cal-day.ev-webinar {
    background: #E8734A !important;
    background-color: #E8734A !important;
}

html.amit-dark-mode .amit-calendar-accessibility-shell .amit-cal-day.ev-idor {
    background: #E8C44A !important;
    background-color: #E8C44A !important;
}

html.amit-dark-mode .amit-calendar-accessibility-shell .amit-cal-day.ev-employees_holiday {
    background: #7b7898 !important;
    background-color: #7b7898 !important;
}

html.amit-dark-mode .amit-calendar-accessibility-shell .amit-cal-day.ev-return_of_employees {
    background: #0f7ea8 !important;
    background-color: #0f7ea8 !important;
}

html.amit-dark-mode .amit-calendar-accessibility-shell .amit-cal-day.ev-weekend,
html.amit-dark-mode .amit-calendar-accessibility-shell .amit-cal-day.ev-ramadan,
html.amit-dark-mode .amit-calendar-accessibility-shell .amit-cal-day.ev-eid_alfitr,
html.amit-dark-mode .amit-calendar-accessibility-shell .amit-cal-day.ev-islamic_newyear,
html.amit-dark-mode .amit-calendar-accessibility-shell .amit-cal-day.ev-prophets_bday,
html.amit-dark-mode .amit-calendar-accessibility-shell .amit-cal-day.ev-founding_day,
html.amit-dark-mode .amit-calendar-accessibility-shell .amit-cal-day.ev-flag_day,
html.amit-dark-mode .amit-calendar-accessibility-shell .amit-cal-day.ev-national_day,
html.amit-dark-mode .amit-calendar-accessibility-shell .amit-cal-day.ev-symposium,
html.amit-dark-mode .amit-calendar-accessibility-shell .amit-cal-day.ev-workshop,
html.amit-dark-mode .amit-calendar-accessibility-shell .amit-cal-day.ev-webinar,
html.amit-dark-mode .amit-calendar-accessibility-shell .amit-cal-day.ev-conference,
html.amit-dark-mode .amit-calendar-accessibility-shell .amit-cal-day.ev-idor,
html.amit-dark-mode .amit-calendar-accessibility-shell .amit-cal-day.ev-employees_holiday,
html.amit-dark-mode .amit-calendar-accessibility-shell .amit-cal-day.ev-return_of_employees {
    color: #ffffff !important;
}

html.amit-dark-mode .amit-calendar-accessibility-shell .amit-cal-day.ev-day_of_arafah,
html.amit-dark-mode .amit-calendar-accessibility-shell .amit-cal-day.ev-eid_aladha {
    color: #111827 !important;
    text-shadow: none !important;
}

html.amit-dark-mode .amit-calendar-accessibility-shell .amit-cal-day.today,
html.amit-dark-mode .amit-calendar-accessibility-shell .amit-cal-day.is-today,
html.amit-dark-mode .amit-calendar-accessibility-shell .amit-cal-day.ac-today {
    border-color: #75b12f !important;
    box-shadow: 0 0 0 2px rgba(117, 177, 47, 0.42) !important;
}

html.amit-dark-mode .amit-calendar-accessibility-shell .amit-cal-legend {
    background: var(--ac-card-bg) !important;
    background-color: var(--ac-card-bg) !important;
    border-color: var(--ac-border) !important;
    box-shadow: var(--ac-shadow) !important;
    color: var(--ac-text) !important;
}

html.amit-dark-mode .amit-calendar-accessibility-shell .amit-cal-legend-title,
html.amit-dark-mode .amit-calendar-accessibility-shell .amit-cal-legend-label {
    color: #f1f5f9 !important;
    opacity: 1 !important;
}

html.amit-dark-mode .amit-calendar-accessibility-shell .amit-cal-legend-note {
    color: #f8fafc !important;
    opacity: 1 !important;
}

html.amit-dark-mode .amit-calendar-accessibility-shell .amit-cal-legend-swatch {
    opacity: 1 !important;
    border: 1px solid rgba(255, 255, 255, 0.32) !important;
    box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.35) !important;
}

html.amit-dark-mode .amit-calendar-accessibility-shell .amit-cal-legend-swatch svg,
html.amit-dark-mode .amit-calendar-accessibility-shell .amit-cal-legend-swatch img {
    opacity: 1 !important;
    filter: none !important;
}

html.amit-dark-mode .amit-calendar-accessibility-shell .amit-cal-legend-swatch.split-swatch,
html.amit-dark-mode .amit-calendar-accessibility-shell .amit-cal-legend-swatch.split-swatch span,
html.amit-dark-mode .amit-calendar-accessibility-shell .amit-cal-day.multi-event,
html.amit-dark-mode .amit-calendar-accessibility-shell .amit-cal-day.multi-event .ac-split,
html.amit-dark-mode .amit-calendar-accessibility-shell .amit-cal-day.multi-event .ac-split-seg {
    opacity: 1 !important;
}

/* AMIT public auth/contact/FAQ accessibility coverage - v11.0 */
html.amit-text-large .amit-auth-page,
html.amit-text-large .amit-auth-page .amit-auth-card,
html.amit-text-large .amit-auth-page .amit-auth-card-header,
html.amit-text-large .amit-auth-page form,
html.amit-text-large .amit-auth-page fieldset,
html.amit-text-large .Web-Pages,
html.amit-text-large .Custom-Page-Text,
html.amit-text-large .Custom-Page-Text-2nd,
html.amit-text-large dl.faq,
html.amit-text-xlarge .amit-auth-page,
html.amit-text-xlarge .amit-auth-page .amit-auth-card,
html.amit-text-xlarge .amit-auth-page .amit-auth-card-header,
html.amit-text-xlarge .amit-auth-page form,
html.amit-text-xlarge .amit-auth-page fieldset,
html.amit-text-xlarge .Web-Pages,
html.amit-text-xlarge .Custom-Page-Text,
html.amit-text-xlarge .Custom-Page-Text-2nd,
html.amit-text-xlarge dl.faq {
    line-height: 1.65 !important;
}

html.amit-text-large .amit-auth-page .amit-auth-kicker {
    font-size: 14px !important;
}

html.amit-text-xlarge .amit-auth-page .amit-auth-kicker {
    font-size: 16px !important;
}

html.amit-text-large .amit-auth-page h1 {
    font-size: clamp(28px, 4vw, 38px) !important;
    line-height: 1.2 !important;
}

html.amit-text-xlarge .amit-auth-page h1 {
    font-size: clamp(31px, 4.8vw, 44px) !important;
    line-height: 1.16 !important;
}

html.amit-text-large .amit-auth-page .amit-auth-card-header p,
html.amit-text-large .amit-auth-page .amit-auth-links,
html.amit-text-large .amit-auth-page .amit-auth-links a,
html.amit-text-large .amit-auth-page .amit-auth-check label,
html.amit-text-large .amit-auth-page .amit-auth-password-error,
html.amit-text-large .amit-auth-page .flashmessage-error {
    font-size: 17px !important;
    line-height: 1.65 !important;
}

html.amit-text-xlarge .amit-auth-page .amit-auth-card-header p,
html.amit-text-xlarge .amit-auth-page .amit-auth-links,
html.amit-text-xlarge .amit-auth-page .amit-auth-links a,
html.amit-text-xlarge .amit-auth-page .amit-auth-check label,
html.amit-text-xlarge .amit-auth-page .amit-auth-password-error,
html.amit-text-xlarge .amit-auth-page .flashmessage-error {
    font-size: 19px !important;
    line-height: 1.7 !important;
}

html.amit-text-large .amit-auth-page form label,
html.amit-text-large .amit-auth-page form input[type="text"],
html.amit-text-large .amit-auth-page form input[type="email"],
html.amit-text-large .amit-auth-page form input[type="password"],
html.amit-text-large .amit-auth-page form input[type="url"],
html.amit-text-large .amit-auth-page form select,
html.amit-text-large .amit-auth-page form textarea,
html.amit-text-large .amit-auth-page .amit-auth-submit,
html.amit-text-large .amit-auth-page button,
html.amit-text-large .amit-auth-page input[type="submit"] {
    font-size: 17px !important;
    line-height: 1.55 !important;
}

html.amit-text-xlarge .amit-auth-page form label,
html.amit-text-xlarge .amit-auth-page form input[type="text"],
html.amit-text-xlarge .amit-auth-page form input[type="email"],
html.amit-text-xlarge .amit-auth-page form input[type="password"],
html.amit-text-xlarge .amit-auth-page form input[type="url"],
html.amit-text-xlarge .amit-auth-page form select,
html.amit-text-xlarge .amit-auth-page form textarea,
html.amit-text-xlarge .amit-auth-page .amit-auth-submit,
html.amit-text-xlarge .amit-auth-page button,
html.amit-text-xlarge .amit-auth-page input[type="submit"] {
    font-size: 19px !important;
    line-height: 1.6 !important;
}

html.amit-text-large .amit-auth-page form input[type="text"],
html.amit-text-large .amit-auth-page form input[type="email"],
html.amit-text-large .amit-auth-page form input[type="password"],
html.amit-text-large .amit-auth-page form input[type="url"],
html.amit-text-large .amit-auth-page form select {
    min-height: 52px !important;
}

html.amit-text-xlarge .amit-auth-page form input[type="text"],
html.amit-text-xlarge .amit-auth-page form input[type="email"],
html.amit-text-xlarge .amit-auth-page form input[type="password"],
html.amit-text-xlarge .amit-auth-page form input[type="url"],
html.amit-text-xlarge .amit-auth-page form select {
    min-height: 58px !important;
}

html.amit-text-large .amit-auth-page.amit-auth-contact form textarea {
    min-height: 175px !important;
}

html.amit-text-xlarge .amit-auth-page.amit-auth-contact form textarea {
    min-height: 205px !important;
}

html.amit-text-large .Custom-Page-Text,
html.amit-text-large .Custom-Page-Text-2nd {
    font-size: 18px !important;
    line-height: 1.75 !important;
}

html.amit-text-xlarge .Custom-Page-Text,
html.amit-text-xlarge .Custom-Page-Text-2nd {
    font-size: 21px !important;
    line-height: 1.8 !important;
}

html.amit-text-large dl.faq button {
    font-size: 17px !important;
    line-height: 1.55 !important;
    min-height: 54px !important;
    white-space: normal !important;
}

html.amit-text-xlarge dl.faq button {
    font-size: 20px !important;
    line-height: 1.6 !important;
    min-height: 62px !important;
    white-space: normal !important;
}

html.amit-text-large dl.faq .desc,
html.amit-text-large dl.faq dd,
html.amit-text-large dl.faq dd p {
    font-size: 17px !important;
    line-height: 1.75 !important;
}

html.amit-text-xlarge dl.faq .desc,
html.amit-text-xlarge dl.faq dd,
html.amit-text-xlarge dl.faq dd p {
    font-size: 20px !important;
    line-height: 1.8 !important;
}

html.amit-dark-mode .amit-auth-page {
    background: #0f172a !important;
    color: #e5e7eb !important;
}

html.amit-dark-mode .amit-auth-page .amit-auth-card {
    background: #111827 !important;
    border-color: rgba(148, 163, 184, 0.28) !important;
    box-shadow: 0 22px 55px rgba(0, 0, 0, 0.34) !important;
}

html.amit-dark-mode .amit-auth-page .amit-auth-kicker {
    background: rgba(117, 177, 47, 0.16) !important;
    color: #c4ef8f !important;
}

html.amit-dark-mode .amit-auth-page h1,
html.amit-dark-mode .amit-auth-page .amit-auth-card-header p,
html.amit-dark-mode .amit-auth-page form label,
html.amit-dark-mode .amit-auth-page .amit-auth-check label,
html.amit-dark-mode .amit-auth-page .amit-auth-links,
html.amit-dark-mode .amit-auth-page .amit-auth-password-error,
html.amit-dark-mode .amit-auth-page .flashmessage-error {
    color: #e5e7eb !important;
}

html.amit-dark-mode .amit-auth-page form input[type="text"],
html.amit-dark-mode .amit-auth-page form input[type="email"],
html.amit-dark-mode .amit-auth-page form input[type="password"],
html.amit-dark-mode .amit-auth-page form input[type="url"],
html.amit-dark-mode .amit-auth-page form select,
html.amit-dark-mode .amit-auth-page form textarea {
    background: #0b1220 !important;
    border-color: rgba(148, 163, 184, 0.45) !important;
    color: #f9fafb !important;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.28) !important;
}

html.amit-dark-mode .amit-auth-page form input[type="text"]:focus,
html.amit-dark-mode .amit-auth-page form input[type="email"]:focus,
html.amit-dark-mode .amit-auth-page form input[type="password"]:focus,
html.amit-dark-mode .amit-auth-page form input[type="url"]:focus,
html.amit-dark-mode .amit-auth-page form select:focus,
html.amit-dark-mode .amit-auth-page form textarea:focus {
    border-color: #75b12f !important;
    box-shadow: 0 0 0 4px rgba(117, 177, 47, 0.18) !important;
}

html.amit-dark-mode .amit-auth-page .amit-auth-submit,
html.amit-dark-mode .amit-auth-page input[type="submit"],
html.amit-dark-mode .amit-auth-page button[type="submit"] {
    background: #75b12f !important;
    border-color: #75b12f !important;
    color: #ffffff !important;
}

html.amit-dark-mode .amit-auth-page .amit-auth-links a {
    color: #a7d86a !important;
}

html.amit-dark-mode .amit-auth-page .amit-auth-links a:hover,
html.amit-dark-mode .amit-auth-page .amit-auth-links a:focus {
    color: #c4ef8f !important;
}

html.amit-dark-mode .Web-Pages,
html.amit-dark-mode .Custom-Page-Text,
html.amit-dark-mode .Custom-Page-Text-2nd {
    background: #111827 !important;
    color: #e5e7eb !important;
    border-color: rgba(148, 163, 184, 0.26) !important;
}

html.amit-dark-mode dl.faq,
html.amit-dark-mode dl.faq dt,
html.amit-dark-mode dl.faq dd {
    background: transparent !important;
    color: #e5e7eb !important;
    border-color: rgba(148, 163, 184, 0.26) !important;
}

html.amit-dark-mode dl.faq button {
    background: #0b1220 !important;
    color: #f8fafc !important;
    border-color: rgba(148, 163, 184, 0.38) !important;
}

html.amit-dark-mode dl.faq button:hover,
html.amit-dark-mode dl.faq button:focus,
html.amit-dark-mode dl.faq button.focus,
html.amit-dark-mode dl.faq button[aria-expanded="true"] {
    background: rgba(117, 177, 47, 0.18) !important;
    color: #f8fafc !important;
    border-color: rgba(117, 177, 47, 0.62) !important;
    outline: none !important;
}

html.amit-dark-mode dl.faq .desc,
html.amit-dark-mode dl.faq dd p {
    background: #111827 !important;
    color: #dbe4ee !important;
    border-color: rgba(148, 163, 184, 0.26) !important;
}

html.amit-dark-mode .amit-accessibility,
html.amit-dark-mode .amit-accessibility * {
    color-scheme: dark;
}

/* Keep the accessibility toolbar above FAQ/custom page interactive layers. */
.amit-accessibility {
    z-index: 2147483000;
}

@media (max-width: 480px) {
    html.amit-text-large .amit-auth-page h1 {
        font-size: 27px !important;
    }

    html.amit-text-xlarge .amit-auth-page h1 {
        font-size: 30px !important;
    }

    html.amit-text-large dl.faq button,
    html.amit-text-large dl.faq .desc,
    html.amit-text-large dl.faq dd p {
        font-size: 16px !important;
    }

    html.amit-text-xlarge dl.faq button,
    html.amit-text-xlarge dl.faq .desc,
    html.amit-text-xlarge dl.faq dd p {
        font-size: 18px !important;
    }
}
