/*
Theme Name: Almastour Child
Theme URI: https://mastouracademy.com/
Description: Astra child theme for أكاديمية المستور التعليمية.
Author: Jawad
Template: astra
Version: 1.1.0
Text Domain: almastour-child
*/

:root {
    --alm-navy: #071f4d;
    --alm-navy-2: #0a2e6d;
    --alm-teal: #057c8c;
    --alm-teal-2: #0898a6;
    --alm-teal-light: #e8f7f8;
    --alm-gold: #d6a637;
    --alm-gold-soft: #fff6dd;
    --alm-bg: #f8fafc;
    --alm-surface: #ffffff;
    --alm-text: #122033;
    --alm-muted: #64748b;
    --alm-border: #e2e8f0;
    --alm-shadow-sm: 0 10px 28px rgba(7, 31, 77, 0.08);
    --alm-shadow-md: 0 18px 48px rgba(7, 31, 77, 0.13);
    --alm-shadow-lg: 0 26px 70px rgba(7, 31, 77, 0.18);
    --alm-radius: 8px;
    --alm-radius-sm: 6px;
    --alm-container: min(1180px, calc(100vw - 32px));
    --alm-header-height: 74px;
    --alm-font: "Cairo", "Tajawal", "Segoe UI", Tahoma, Arial, sans-serif;
}

html {
    direction: rtl;
    scroll-behavior: smooth;
}

body.almastour-rtl-site,
.almastour-rtl-site button,
.almastour-rtl-site input,
.almastour-rtl-site textarea,
.almastour-rtl-site select {
    font-family: var(--alm-font);
}

body.almastour-premium-theme {
    background: var(--alm-bg);
    color: var(--alm-text);
    font-size: 16px;
    line-height: 1.75;
    text-align: right;
}

.almastour-premium-theme a {
    color: var(--alm-teal);
    text-decoration: none;
    transition: color 180ms ease, border-color 180ms ease, background-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.almastour-premium-theme a:hover,
.almastour-premium-theme a:focus-visible {
    color: var(--alm-navy);
}

.almastour-premium-theme :focus-visible {
    outline: 3px solid rgba(214, 166, 55, 0.48);
    outline-offset: 3px;
}

.almastour-premium-theme img {
    max-width: 100%;
    height: auto;
}

.almastour-premium-theme ::selection {
    background: var(--alm-gold-soft);
    color: var(--alm-navy);
}

.site-header,
.main-header-bar,
.ast-primary-header-bar {
    position: sticky;
    top: 0;
    z-index: 999;
}

body.admin-bar .site-header,
body.admin-bar .main-header-bar,
body.admin-bar .ast-primary-header-bar {
    top: 32px;
}

.ast-primary-header-bar,
.main-header-bar {
    min-height: var(--alm-header-height);
    border-bottom: 1px solid rgba(226, 232, 240, 0.78);
    background: rgba(255, 255, 255, 0.88);
    box-shadow: 0 12px 36px rgba(7, 31, 77, 0.06);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    transition: min-height 220ms ease, box-shadow 220ms ease, background-color 220ms ease;
}

.alm-is-scrolled .ast-primary-header-bar,
.alm-is-scrolled .main-header-bar {
    min-height: 64px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 16px 44px rgba(7, 31, 77, 0.12);
}

.ast-builder-grid-row,
.main-header-container {
    direction: rtl;
}

.ast-desktop .ast-primary-header-bar .ast-builder-grid-row,
.ast-desktop .main-header-bar .main-header-container {
    column-gap: clamp(8px, 1.2vw, 18px);
}

.ast-desktop .ast-primary-header-bar .site-header-primary-section-right,
.ast-desktop .main-header-bar .site-header-primary-section-right {
    flex: 0 0 auto;
}

.ast-desktop .ast-primary-header-bar .site-header-primary-section-left,
.ast-desktop .main-header-bar .site-header-primary-section-left,
.ast-desktop .ast-primary-header-bar .ast-builder-menu,
.ast-desktop .main-header-bar .ast-builder-menu {
    flex: 0 1 auto;
}

.ast-desktop .ast-primary-header-bar .main-header-menu,
.ast-desktop .main-header-bar .main-header-menu,
.ast-desktop .ast-builder-menu-1 {
    display: flex;
    flex-wrap: nowrap;
    gap: clamp(10px, 1.15vw, 20px);
    width: auto;
    margin-inline-start: clamp(6px, 0.8vw, 14px);
    margin-inline-end: clamp(34px, 6vw, 120px);
}

.site-branding,
.ast-site-identity {
    padding-block: 8px;
}

.custom-logo-link img,
.site-logo-img img,
.ast-site-identity img {
    width: auto;
    max-height: 56px;
    object-fit: contain;
}

.site-title,
.site-title a {
    color: var(--alm-navy);
    font-weight: 800;
    line-height: 1.25;
}

.site-description {
    color: var(--alm-muted);
    font-size: 0.86rem;
}

.main-header-menu,
.ast-builder-menu-1 .menu-item > .menu-link {
    font-family: var(--alm-font);
}

.main-header-menu .menu-link,
.ast-builder-menu-1 .menu-item > .menu-link {
    position: relative;
    min-height: 44px;
    padding-inline: 13px;
    color: var(--alm-text);
    font-weight: 700;
    line-height: 44px;
}

.main-header-menu .menu-link::after,
.ast-builder-menu-1 .menu-item > .menu-link::after {
    position: absolute;
    inset-inline: 13px;
    bottom: 8px;
    height: 2px;
    content: "";
    background: linear-gradient(90deg, var(--alm-teal), var(--alm-gold));
    border-radius: 99px;
    transform: scaleX(0);
    transform-origin: right center;
    transition: transform 180ms ease;
}

.main-header-menu .menu-item:hover > .menu-link::after,
.main-header-menu .current-menu-item > .menu-link::after,
.main-header-menu .current_page_item > .menu-link::after,
.ast-builder-menu-1 .menu-item:hover > .menu-link::after,
.ast-builder-menu-1 .current-menu-item > .menu-link::after,
.ast-builder-menu-1 .current_page_item > .menu-link::after {
    transform: scaleX(1);
}

.main-header-menu .current-menu-item > .menu-link,
.main-header-menu .current_page_item > .menu-link,
.ast-builder-menu-1 .current-menu-item > .menu-link,
.ast-builder-menu-1 .current_page_item > .menu-link {
    color: var(--alm-navy);
}

.ast-desktop .ast-primary-header-bar .main-header-menu > .menu-item > .menu-link,
.ast-desktop .main-header-bar .main-header-menu > .menu-item > .menu-link,
.ast-desktop .ast-builder-menu-1 .menu-item > .menu-link {
    border: 1px solid transparent;
    border-radius: 0;
}

.ast-desktop .ast-primary-header-bar .main-header-menu > .current-menu-item > .menu-link,
.ast-desktop .ast-primary-header-bar .main-header-menu > .current_page_item > .menu-link,
.ast-desktop .main-header-bar .main-header-menu > .current-menu-item > .menu-link,
.ast-desktop .main-header-bar .main-header-menu > .current_page_item > .menu-link,
.ast-desktop .ast-builder-menu-1 .current-menu-item > .menu-link,
.ast-desktop .ast-builder-menu-1 .current_page_item > .menu-link {
    color: var(--alm-navy) !important;
    border-color: transparent;
    background: transparent;
    box-shadow: none;
}

.ast-desktop .ast-primary-header-bar .main-header-menu > .current-menu-item > .menu-link::before,
.ast-desktop .ast-primary-header-bar .main-header-menu > .current_page_item > .menu-link::before,
.ast-desktop .main-header-bar .main-header-menu > .current-menu-item > .menu-link::before,
.ast-desktop .main-header-bar .main-header-menu > .current_page_item > .menu-link::before,
.ast-desktop .ast-builder-menu-1 .current-menu-item > .menu-link::before,
.ast-desktop .ast-builder-menu-1 .current_page_item > .menu-link::before {
    position: absolute;
    inset-inline: 13px;
    bottom: 6px;
    width: 8px;
    height: 3px;
    content: "";
    border-radius: 99px;
    background: var(--alm-gold);
    opacity: 1;
    transform: translateX(0);
    animation: almActiveMark 180ms ease-out both;
    pointer-events: none;
}

.ast-desktop .ast-primary-header-bar .main-header-menu > .current-menu-item > .menu-link::after,
.ast-desktop .ast-primary-header-bar .main-header-menu > .current_page_item > .menu-link::after,
.ast-desktop .main-header-bar .main-header-menu > .current-menu-item > .menu-link::after,
.ast-desktop .main-header-bar .main-header-menu > .current_page_item > .menu-link::after,
.ast-desktop .ast-builder-menu-1 .current-menu-item > .menu-link::after,
.ast-desktop .ast-builder-menu-1 .current_page_item > .menu-link::after {
    inset-inline: 26px 13px;
    bottom: 6px;
    height: 3px;
    background: var(--alm-teal);
    box-shadow: none;
    transform: scaleX(1);
    animation: almActiveUnderline 180ms ease-out both;
}

.ast-desktop .ast-primary-header-bar .main-header-menu > .menu-item:not(.current-menu-item):not(.current_page_item) > .menu-link:hover,
.ast-desktop .main-header-bar .main-header-menu > .menu-item:not(.current-menu-item):not(.current_page_item) > .menu-link:hover,
.ast-desktop .ast-builder-menu-1 .menu-item:not(.current-menu-item):not(.current_page_item) > .menu-link:hover {
    color: var(--alm-teal) !important;
    background: transparent;
}

.ast-primary-header-bar .ast-builder-social-element,
.main-header-bar .ast-builder-social-element,
.ast-primary-header-bar .ast-header-social-1-wrap,
.main-header-bar .ast-header-social-1-wrap,
.ast-primary-header-bar [class*="social"],
.main-header-bar [class*="social"] {
    display: none !important;
}

/* Final mobile hamburger visibility reset. */
.almastour-premium-theme .ast-button-wrap .menu-toggle,
.home .ast-button-wrap .menu-toggle,
.ast-theme-transparent-header .ast-button-wrap .menu-toggle,
.ast-header-break-point .ast-button-wrap .menu-toggle,
.ast-mobile-header-wrap .ast-button-wrap .menu-toggle,
.ast-primary-header-bar .ast-button-wrap .menu-toggle,
.main-header-bar .ast-button-wrap .menu-toggle {
    position: relative !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 44px !important;
    min-width: 44px !important;
    height: 44px !important;
    min-height: 44px !important;
    border: 2px solid rgba(5, 124, 140, 0.42) !important;
    border-radius: 8px !important;
    color: var(--alm-navy) !important;
    background: rgba(255, 255, 255, 0.94) !important;
    box-shadow: 0 8px 22px rgba(7, 31, 77, 0.1) !important;
    opacity: 1 !important;
    visibility: visible !important;
    transition: transform 150ms ease, box-shadow 150ms ease, border-color 150ms ease, background-color 150ms ease !important;
}

.almastour-premium-theme .ast-button-wrap .menu-toggle:hover,
.almastour-premium-theme .ast-button-wrap .menu-toggle:focus-visible {
    border-color: rgba(214, 166, 55, 0.82) !important;
    background: #ffffff !important;
    box-shadow: 0 10px 24px rgba(7, 31, 77, 0.14) !important;
    transform: translateY(-1px) !important;
}

.almastour-premium-theme .ast-button-wrap .menu-toggle::before,
.almastour-premium-theme .ast-button-wrap .menu-toggle::after {
    position: absolute !important;
    inset-inline: 12px !important;
    height: 3px !important;
    content: "" !important;
    border-radius: 99px !important;
    background: var(--alm-navy) !important;
    box-shadow: 0 7px 0 var(--alm-teal) !important;
    opacity: 1 !important;
    transform-origin: center !important;
    transition: transform 170ms ease, top 170ms ease, bottom 170ms ease, background-color 170ms ease !important;
}

.almastour-premium-theme .ast-button-wrap .menu-toggle::before {
    top: 13px !important;
}

.almastour-premium-theme .ast-button-wrap .menu-toggle::after {
    bottom: 13px !important;
}

.almastour-premium-theme .ast-button-wrap .menu-toggle .mobile-menu-toggle-icon::after {
    position: absolute;
    inset-inline-start: 12px;
    top: 21px;
    width: 14px;
    height: 2px;
    content: "";
    border-radius: 99px;
    background: var(--alm-teal);
}

.almastour-premium-theme .ast-button-wrap .menu-toggle[aria-expanded="true"] {
    border-color: rgba(5, 124, 140, 0.34) !important;
}

.almastour-premium-theme .ast-button-wrap .menu-toggle[aria-expanded="true"]::before,
.almastour-premium-theme .ast-button-wrap .menu-toggle.toggled::before {
    top: 21px !important;
    background: var(--alm-teal) !important;
    box-shadow: none !important;
    transform: rotate(42deg) !important;
}

.almastour-premium-theme .ast-button-wrap .menu-toggle[aria-expanded="true"]::after,
.almastour-premium-theme .ast-button-wrap .menu-toggle.toggled::after {
    bottom: 21px !important;
    background: var(--alm-teal) !important;
    box-shadow: none !important;
    transform: rotate(-42deg) !important;
}

.almastour-premium-theme .ast-button-wrap .menu-toggle .mobile-menu-toggle-icon,
.almastour-premium-theme .ast-button-wrap .menu-toggle .ahfb-svg-iconset,
.almastour-premium-theme .ast-button-wrap .menu-toggle svg,
.almastour-premium-theme .ast-button-wrap .menu-toggle svg * {
    opacity: 0 !important;
}
*** End of File

/* Final mobile hamburger visibility reset. */
.ast-header-break-point .ast-button-wrap .menu-toggle,
.ast-mobile-header-wrap .ast-button-wrap .menu-toggle,
.ast-primary-header-bar .ast-button-wrap .menu-toggle,
.main-header-bar .ast-button-wrap .menu-toggle {
    position: relative !important;
    min-width: 44px !important;
    min-height: 44px !important;
    border: 1px solid rgba(214, 166, 55, 0.46) !important;
    border-radius: var(--alm-radius-sm) !important;
    color: #ffffff !important;
    background: linear-gradient(135deg, var(--alm-navy), var(--alm-teal)) !important;
    box-shadow: 0 12px 28px rgba(7, 31, 77, 0.18) !important;
    transition: transform 170ms ease, box-shadow 170ms ease, border-color 170ms ease !important;
}

.ast-header-break-point .ast-button-wrap .menu-toggle:hover,
.ast-mobile-header-wrap .ast-button-wrap .menu-toggle:hover,
.ast-header-break-point .ast-button-wrap .menu-toggle:focus-visible,
.ast-mobile-header-wrap .ast-button-wrap .menu-toggle:focus-visible {
    border-color: var(--alm-gold) !important;
    box-shadow: 0 16px 34px rgba(7, 31, 77, 0.24) !important;
    transform: translateY(-1px) !important;
}

.ast-header-break-point .ast-button-wrap .menu-toggle::before,
.ast-mobile-header-wrap .ast-button-wrap .menu-toggle::before,
.ast-primary-header-bar .ast-button-wrap .menu-toggle::before,
.main-header-bar .ast-button-wrap .menu-toggle::before,
.ast-header-break-point .ast-button-wrap .menu-toggle::after,
.ast-mobile-header-wrap .ast-button-wrap .menu-toggle::after,
.ast-primary-header-bar .ast-button-wrap .menu-toggle::after,
.main-header-bar .ast-button-wrap .menu-toggle::after {
    position: absolute !important;
    inset-inline: 12px !important;
    height: 2px !important;
    content: "" !important;
    border-radius: 99px !important;
    background: var(--alm-gold) !important;
    opacity: 1 !important;
    transform-origin: center !important;
    transition: transform 180ms ease, top 180ms ease, bottom 180ms ease, opacity 180ms ease !important;
}

.ast-header-break-point .ast-button-wrap .menu-toggle::before,
.ast-mobile-header-wrap .ast-button-wrap .menu-toggle::before,
.ast-primary-header-bar .ast-button-wrap .menu-toggle::before,
.main-header-bar .ast-button-wrap .menu-toggle::before {
    top: 14px !important;
}

.ast-header-break-point .ast-button-wrap .menu-toggle::after,
.ast-mobile-header-wrap .ast-button-wrap .menu-toggle::after,
.ast-primary-header-bar .ast-button-wrap .menu-toggle::after,
.main-header-bar .ast-button-wrap .menu-toggle::after {
    bottom: 14px !important;
}

.ast-header-break-point .ast-button-wrap .menu-toggle[aria-expanded="true"]::before,
.ast-mobile-header-wrap .ast-button-wrap .menu-toggle[aria-expanded="true"]::before,
.ast-header-break-point .ast-button-wrap .menu-toggle.toggled::before,
.ast-mobile-header-wrap .ast-button-wrap .menu-toggle.toggled::before {
    top: 21px !important;
    transform: rotate(42deg) !important;
}

.ast-header-break-point .ast-button-wrap .menu-toggle[aria-expanded="true"]::after,
.ast-mobile-header-wrap .ast-button-wrap .menu-toggle[aria-expanded="true"]::after,
.ast-header-break-point .ast-button-wrap .menu-toggle.toggled::after,
.ast-mobile-header-wrap .ast-button-wrap .menu-toggle.toggled::after {
    bottom: 21px !important;
    transform: rotate(-42deg) !important;
}

.ast-header-break-point .ast-button-wrap .menu-toggle svg,
.ast-mobile-header-wrap .ast-button-wrap .menu-toggle svg,
.ast-primary-header-bar .ast-button-wrap .menu-toggle svg,
.main-header-bar .ast-button-wrap .menu-toggle svg,
.ast-header-break-point .ast-button-wrap .menu-toggle svg *,
.ast-mobile-header-wrap .ast-button-wrap .menu-toggle svg *,
.ast-primary-header-bar .ast-button-wrap .menu-toggle svg *,
.main-header-bar .ast-button-wrap .menu-toggle svg * {
    color: #ffffff !important;
    fill: currentColor !important;
    stroke: currentColor !important;
    opacity: 1 !important;
}

/* Final mobile hamburger visibility reset. */
.ast-header-break-point .ast-button-wrap .menu-toggle,
.ast-mobile-header-wrap .ast-button-wrap .menu-toggle,
.ast-primary-header-bar .ast-button-wrap .menu-toggle,
.main-header-bar .ast-button-wrap .menu-toggle {
    position: relative !important;
    min-width: 44px !important;
    min-height: 44px !important;
    border: 1px solid rgba(214, 166, 55, 0.46) !important;
    border-radius: var(--alm-radius-sm) !important;
    color: #ffffff !important;
    background: linear-gradient(135deg, var(--alm-navy), var(--alm-teal)) !important;
    box-shadow: 0 12px 28px rgba(7, 31, 77, 0.18) !important;
    transition: transform 170ms ease, box-shadow 170ms ease, border-color 170ms ease !important;
}

.ast-header-break-point .ast-button-wrap .menu-toggle:hover,
.ast-mobile-header-wrap .ast-button-wrap .menu-toggle:hover,
.ast-header-break-point .ast-button-wrap .menu-toggle:focus-visible,
.ast-mobile-header-wrap .ast-button-wrap .menu-toggle:focus-visible {
    border-color: var(--alm-gold) !important;
    box-shadow: 0 16px 34px rgba(7, 31, 77, 0.24) !important;
    transform: translateY(-1px) !important;
}

.ast-header-break-point .ast-button-wrap .menu-toggle::before,
.ast-mobile-header-wrap .ast-button-wrap .menu-toggle::before,
.ast-primary-header-bar .ast-button-wrap .menu-toggle::before,
.main-header-bar .ast-button-wrap .menu-toggle::before,
.ast-header-break-point .ast-button-wrap .menu-toggle::after,
.ast-mobile-header-wrap .ast-button-wrap .menu-toggle::after,
.ast-primary-header-bar .ast-button-wrap .menu-toggle::after,
.main-header-bar .ast-button-wrap .menu-toggle::after {
    position: absolute !important;
    inset-inline: 12px !important;
    height: 2px !important;
    content: "" !important;
    border-radius: 99px !important;
    background: var(--alm-gold) !important;
    opacity: 1 !important;
    transform-origin: center !important;
    transition: transform 180ms ease, top 180ms ease, bottom 180ms ease, opacity 180ms ease !important;
}

.ast-header-break-point .ast-button-wrap .menu-toggle::before,
.ast-mobile-header-wrap .ast-button-wrap .menu-toggle::before,
.ast-primary-header-bar .ast-button-wrap .menu-toggle::before,
.main-header-bar .ast-button-wrap .menu-toggle::before {
    top: 14px !important;
}

.ast-header-break-point .ast-button-wrap .menu-toggle::after,
.ast-mobile-header-wrap .ast-button-wrap .menu-toggle::after,
.ast-primary-header-bar .ast-button-wrap .menu-toggle::after,
.main-header-bar .ast-button-wrap .menu-toggle::after {
    bottom: 14px !important;
}

.ast-header-break-point .ast-button-wrap .menu-toggle[aria-expanded="true"]::before,
.ast-mobile-header-wrap .ast-button-wrap .menu-toggle[aria-expanded="true"]::before,
.ast-header-break-point .ast-button-wrap .menu-toggle.toggled::before,
.ast-mobile-header-wrap .ast-button-wrap .menu-toggle.toggled::before {
    top: 21px !important;
    transform: rotate(42deg) !important;
}

.ast-header-break-point .ast-button-wrap .menu-toggle[aria-expanded="true"]::after,
.ast-mobile-header-wrap .ast-button-wrap .menu-toggle[aria-expanded="true"]::after,
.ast-header-break-point .ast-button-wrap .menu-toggle.toggled::after,
.ast-mobile-header-wrap .ast-button-wrap .menu-toggle.toggled::after {
    bottom: 21px !important;
    transform: rotate(-42deg) !important;
}

.ast-header-break-point .ast-button-wrap .menu-toggle svg,
.ast-mobile-header-wrap .ast-button-wrap .menu-toggle svg,
.ast-primary-header-bar .ast-button-wrap .menu-toggle svg,
.main-header-bar .ast-button-wrap .menu-toggle svg,
.ast-header-break-point .ast-button-wrap .menu-toggle svg *,
.ast-mobile-header-wrap .ast-button-wrap .menu-toggle svg *,
.ast-primary-header-bar .ast-button-wrap .menu-toggle svg *,
.main-header-bar .ast-button-wrap .menu-toggle svg * {
    color: #ffffff !important;
    fill: currentColor !important;
    stroke: currentColor !important;
    opacity: 1 !important;
}

@keyframes almActiveMark {
    from {
        opacity: 0;
        transform: translateY(3px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes almActiveUnderline {
    from {
        opacity: 0;
        transform: scaleX(0.72);
        transform-origin: right center;
    }
    to {
        opacity: 1;
        transform: scaleX(1);
    }
}

.ast-button-wrap .menu-toggle {
    position: relative;
    isolation: isolate;
    min-width: 44px;
    min-height: 44px;
    border: 1px solid rgba(214, 166, 55, 0.42);
    border-radius: var(--alm-radius-sm);
    color: #ffffff !important;
    background:
        linear-gradient(135deg, var(--alm-navy), var(--alm-teal)),
        var(--alm-navy) !important;
    box-shadow: 0 12px 28px rgba(7, 31, 77, 0.18);
    overflow: hidden;
    transition: transform 170ms ease, box-shadow 170ms ease, border-color 170ms ease;
}

.ast-button-wrap .menu-toggle::before,
.ast-button-wrap .menu-toggle::after {
    position: absolute;
    inset-inline: 12px;
    height: 2px;
    content: "";
    border-radius: 99px;
    background: var(--alm-gold);
    transform-origin: center;
    transition: transform 180ms ease, opacity 180ms ease;
    pointer-events: none;
}

.ast-button-wrap .menu-toggle::before {
    top: 14px;
}

.ast-button-wrap .menu-toggle::after {
    bottom: 14px;
}

.ast-button-wrap .menu-toggle:hover,
.ast-button-wrap .menu-toggle:focus-visible {
    border-color: var(--alm-gold);
    box-shadow: 0 16px 34px rgba(7, 31, 77, 0.24);
    transform: translateY(-1px);
}

.ast-button-wrap .menu-toggle[aria-expanded="true"],
.ast-button-wrap .menu-toggle.toggled,
.ast-button-wrap .menu-toggle.ast-mobile-menu-trigger-fill {
    border-color: rgba(214, 166, 55, 0.72);
}

.ast-button-wrap .menu-toggle[aria-expanded="true"]::before,
.ast-button-wrap .menu-toggle.toggled::before {
    top: 21px;
    transform: rotate(42deg);
}

.ast-button-wrap .menu-toggle[aria-expanded="true"]::after,
.ast-button-wrap .menu-toggle.toggled::after {
    bottom: 21px;
    transform: rotate(-42deg);
}

.ast-button-wrap .menu-toggle .mobile-menu-toggle-icon,
.ast-button-wrap .menu-toggle .ahfb-svg-iconset,
.ast-button-wrap .menu-toggle svg,
.ast-button-wrap .menu-toggle svg * {
    color: #ffffff !important;
    fill: currentColor !important;
    stroke: currentColor !important;
    opacity: 1 !important;
}

.ast-button-wrap .menu-toggle .mobile-menu-toggle-icon {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transform: scale(0.78);
    transition: transform 180ms ease, opacity 180ms ease;
}

.ast-button-wrap .menu-toggle[aria-expanded="true"] .mobile-menu-toggle-icon,
.ast-button-wrap .menu-toggle.toggled .mobile-menu-toggle-icon {
    opacity: 0;
    transform: scale(0.58) rotate(90deg);
}

.ast-mobile-header-wrap .ast-mobile-header-content,
.ast-header-break-point .main-header-menu {
    border: 1px solid var(--alm-border);
    border-radius: var(--alm-radius);
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--alm-shadow-md);
}

.ast-mobile-popup-drawer .ast-mobile-popup-inner,
.ast-mobile-popup-drawer .ast-mobile-popup-content,
.ast-mobile-header-wrap .ast-mobile-header-content,
.ast-header-break-point .ast-mobile-header-content {
    color: #ffffff;
    background:
        linear-gradient(145deg, rgba(7, 31, 77, 0.98), rgba(5, 124, 140, 0.92)),
        var(--alm-navy);
}

.ast-mobile-popup-drawer.active .ast-mobile-popup-inner,
.ast-mobile-header-wrap .ast-mobile-header-content {
    animation: almMenuIn 260ms ease both;
}

.ast-mobile-popup-drawer .ast-mobile-popup-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.ast-mobile-popup-drawer .menu-toggle-close {
    min-width: 44px;
    min-height: 44px;
    border-radius: var(--alm-radius-sm);
    color: #ffffff;
    background: rgba(255, 255, 255, 0.12);
}

.alm-mobile-panel {
    margin: 16px;
    padding: 16px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: var(--alm-radius);
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.08)),
        rgba(255, 255, 255, 0.1);
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.18);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.alm-mobile-panel__brand {
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    color: #ffffff;
}

.alm-mobile-panel__brand:hover,
.alm-mobile-panel__brand:focus-visible {
    color: #ffffff;
}

.alm-mobile-panel__brand img {
    width: 64px;
    height: 64px;
    border: 1px solid rgba(214, 166, 55, 0.34);
    border-radius: var(--alm-radius-sm);
    background: rgba(255, 255, 255, 0.92);
    object-fit: contain;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
}

.alm-mobile-panel__brand strong,
.alm-mobile-panel__brand small {
    display: block;
}

.alm-mobile-panel__brand strong {
    color: #ffffff;
    font-size: 1.03rem;
    font-weight: 800;
    line-height: 1.35;
}

.alm-mobile-panel__brand small {
    margin-block-start: 3px;
    color: var(--alm-gold);
    font-size: 0.84rem;
    font-weight: 800;
}

.alm-mobile-panel p {
    margin: 14px 0 0;
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.93rem;
    line-height: 1.65;
}

.alm-mobile-panel__quicklinks {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-block-start: 14px;
}

.alm-mobile-panel__quicklinks a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 8px 10px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--alm-radius-sm);
    color: rgba(255, 255, 255, 0.9);
    background: rgba(255, 255, 255, 0.08);
    font-size: 0.9rem;
    font-weight: 800;
    text-align: center;
}

.alm-mobile-panel__quicklinks a:hover,
.alm-mobile-panel__quicklinks a:focus-visible {
    color: var(--alm-navy);
    border-color: rgba(214, 166, 55, 0.7);
    background: var(--alm-gold);
}

.alm-mobile-panel__chips {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-block-start: 14px;
}

.alm-mobile-panel__chips a,
.alm-mobile-panel__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 44px;
    border-radius: var(--alm-radius-sm);
    font-weight: 800;
}

.alm-mobile-panel__chips a {
    padding: 8px 9px;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.12);
}

.alm-mobile-panel__chips a:hover,
.alm-mobile-panel__chips a:focus-visible {
    color: var(--alm-navy);
    background: var(--alm-gold);
}

.alm-mobile-panel svg {
    width: 17px;
    height: 17px;
    flex: 0 0 auto;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.alm-mobile-panel__cta {
    width: 100%;
    margin-block-start: 12px;
    padding: 11px 14px;
    color: var(--alm-navy);
    background: linear-gradient(135deg, var(--alm-gold), #ffe7a3);
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.16);
}

.alm-mobile-panel__cta:hover,
.alm-mobile-panel__cta:focus-visible {
    color: var(--alm-navy);
    transform: translateY(-2px);
}

.ast-header-break-point .main-header-menu .menu-link {
    min-height: 48px;
    padding-inline: 18px;
    line-height: 48px;
}

.ast-header-break-point .main-header-menu,
.ast-mobile-popup-drawer .main-header-menu,
.alm-mobile-menu-list {
    margin: 0 16px 18px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: var(--alm-radius);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: none;
    overflow: hidden;
}

.ast-header-break-point .main-header-menu .menu-link,
.ast-mobile-popup-drawer .main-header-menu .menu-link {
    min-height: 52px;
    color: #ffffff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 1.03rem;
    font-weight: 800;
    line-height: 52px;
    transform: translateX(0);
}

.ast-header-break-point .main-header-menu .menu-item:last-child > .menu-link,
.ast-mobile-popup-drawer .main-header-menu .menu-item:last-child > .menu-link {
    border-bottom: 0;
}

.ast-header-break-point .main-header-menu .menu-link:hover,
.ast-header-break-point .main-header-menu .current-menu-item > .menu-link,
.ast-mobile-popup-drawer .main-header-menu .menu-link:hover,
.ast-mobile-popup-drawer .main-header-menu .current-menu-item > .menu-link {
    color: var(--alm-gold);
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(-4px);
}

@keyframes almMenuIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.alm-container,
.site-content .ast-container {
    width: var(--alm-container);
    max-width: var(--alm-container);
    margin-inline: auto;
}

.alm-home {
    overflow: hidden;
    background:
        linear-gradient(180deg, rgba(232, 247, 248, 0.72), rgba(248, 250, 252, 0) 420px),
        var(--alm-bg);
    color: var(--alm-text);
}

.alm-section {
    position: relative;
    padding-block: clamp(58px, 8vw, 104px);
}

.alm-section-head {
    width: min(720px, 100%);
    margin-block-end: 28px;
}

.alm-section-head h2,
.alm-home h1,
.alm-home h2,
.alm-home h3 {
    margin: 0;
    color: var(--alm-navy);
    font-family: var(--alm-font);
    font-weight: 800;
    line-height: 1.22;
}

.alm-home h1 {
    max-width: 760px;
    font-size: clamp(2.15rem, 6vw, 4.9rem);
}

.alm-home h2 {
    font-size: clamp(1.7rem, 3.4vw, 2.65rem);
}

.alm-home h3 {
    font-size: clamp(1.08rem, 1.6vw, 1.28rem);
}

.alm-home p {
    margin: 0;
    color: var(--alm-muted);
}

.alm-eyebrow {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    margin-block-end: 14px;
    padding: 5px 12px;
    border: 1px solid rgba(5, 124, 140, 0.18);
    border-radius: var(--alm-radius-sm);
    color: var(--alm-teal);
    background: rgba(232, 247, 248, 0.82);
    font-size: 0.88rem;
    font-weight: 800;
}

.alm-lead {
    margin-block-start: 18px;
    color: var(--alm-navy-2) !important;
    font-size: clamp(1.1rem, 2.2vw, 1.55rem);
    font-weight: 700;
}

.alm-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    margin-block-start: 28px;
}

.alm-btn,
.alm-btn-primary,
.alm-btn-secondary,
.elementor-button.alm-btn-primary,
.elementor-button.alm-btn-secondary {
    position: relative;
    isolation: isolate;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 48px;
    padding: 12px 21px;
    border: 1px solid transparent;
    border-radius: var(--alm-radius-sm);
    cursor: pointer;
    font-family: var(--alm-font);
    font-size: 1rem;
    font-weight: 800;
    line-height: 1.2;
    text-align: center;
    white-space: normal;
    box-shadow: var(--alm-shadow-sm);
    overflow: hidden;
}

.alm-btn::before,
.alm-btn-primary::before,
.alm-btn-secondary::before {
    position: absolute;
    inset: 0;
    z-index: -1;
    content: "";
    background: linear-gradient(110deg, transparent 0%, rgba(255, 255, 255, 0.28) 45%, transparent 70%);
    transform: translateX(110%);
    transition: transform 480ms ease;
}

.alm-btn:hover::before,
.alm-btn-primary:hover::before,
.alm-btn-secondary:hover::before {
    transform: translateX(-110%);
}

.alm-btn svg,
.alm-btn-primary svg,
.alm-btn-secondary svg,
.alm-card__icon svg,
.alm-footer svg {
    width: 20px;
    height: 20px;
    flex: 0 0 auto;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.alm-btn-primary,
.elementor-button.alm-btn-primary {
    color: #ffffff;
    background: linear-gradient(135deg, var(--alm-teal), var(--alm-navy-2));
}

.alm-btn-primary:hover,
.alm-btn-primary:focus-visible,
.elementor-button.alm-btn-primary:hover,
.elementor-button.alm-btn-primary:focus-visible {
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: var(--alm-shadow-md);
}

.alm-btn-secondary,
.elementor-button.alm-btn-secondary {
    color: var(--alm-navy);
    border-color: rgba(214, 166, 55, 0.45);
    background: linear-gradient(135deg, #ffffff, var(--alm-gold-soft));
}

.alm-btn-secondary:hover,
.alm-btn-secondary:focus-visible,
.elementor-button.alm-btn-secondary:hover,
.elementor-button.alm-btn-secondary:focus-visible {
    color: var(--alm-navy);
    border-color: var(--alm-gold);
    transform: translateY(-2px);
    box-shadow: var(--alm-shadow-md);
}

.alm-hero {
    min-height: min(820px, calc(100vh - var(--alm-header-height)));
    padding-block: clamp(54px, 9vw, 112px) clamp(44px, 7vw, 84px);
    background:
        linear-gradient(120deg, rgba(255, 246, 221, 0.92), rgba(232, 247, 248, 0.62) 44%, rgba(255, 255, 255, 0) 72%),
        linear-gradient(180deg, #ffffff 0%, var(--alm-bg) 100%);
}

.alm-hero::before,
.alm-hero::after {
    position: absolute;
    content: "";
    pointer-events: none;
}

.alm-hero::before {
    inset-inline-start: 0;
    top: 0;
    width: min(420px, 45vw);
    height: 100%;
    background: linear-gradient(90deg, rgba(5, 124, 140, 0.12), rgba(5, 124, 140, 0));
    clip-path: polygon(0 0, 74% 0, 48% 100%, 0 100%);
}

.alm-hero::after {
    inset-inline-end: 0;
    bottom: 0;
    width: min(520px, 54vw);
    height: 42%;
    background: linear-gradient(135deg, rgba(214, 166, 55, 0.2), rgba(214, 166, 55, 0));
    clip-path: polygon(18% 0, 100% 26%, 100% 100%, 0 100%);
}

.alm-hero__grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.04fr) minmax(320px, 0.96fr);
    gap: clamp(32px, 6vw, 76px);
    align-items: center;
}

.alm-hero__content > p:last-of-type {
    max-width: 680px;
    margin-block-start: 18px;
    font-size: clamp(1rem, 1.4vw, 1.16rem);
}

.alm-hero__visual {
    position: relative;
    min-height: clamp(360px, 43vw, 540px);
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: var(--alm-radius);
    background:
        linear-gradient(145deg, rgba(7, 31, 77, 0.96), rgba(5, 124, 140, 0.88)),
        var(--alm-navy);
    box-shadow: var(--alm-shadow-lg);
    overflow: hidden;
}

.alm-hero__visual::before,
.alm-hero__visual::after {
    position: absolute;
    content: "";
    pointer-events: none;
}

.alm-hero__visual::before {
    inset: 24px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: var(--alm-radius);
}

.alm-hero__visual::after {
    inset-inline-end: 0;
    bottom: 0;
    width: 72%;
    height: 44%;
    background: linear-gradient(135deg, rgba(214, 166, 55, 0), rgba(214, 166, 55, 0.32));
    clip-path: polygon(24% 0, 100% 18%, 100% 100%, 0 100%);
}

.alm-hero__logo {
    position: absolute;
    inset-inline: 7%;
    top: 12%;
    width: 86%;
    max-height: 50%;
    object-fit: contain;
    padding: 16px;
    border-radius: var(--alm-radius);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14);
}

.alm-floating-card {
    position: absolute;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    min-width: 150px;
    min-height: 48px;
    padding: 11px 14px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--alm-radius-sm);
    color: #ffffff;
    background: rgba(255, 255, 255, 0.12);
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.16);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    font-size: 0.92rem;
    font-weight: 800;
    animation: almFloat 5.4s ease-in-out infinite;
}

.alm-floating-card svg {
    width: 19px;
    height: 19px;
    color: var(--alm-gold);
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
}

.alm-floating-card--book {
    inset-inline-end: 8%;
    bottom: 21%;
}

.alm-floating-card--video {
    inset-inline-start: 8%;
    bottom: 12%;
    animation-delay: -1.3s;
}

.alm-floating-card--article {
    inset-inline-start: 10%;
    top: 58%;
    animation-delay: -2.1s;
}

.alm-floating-card--platform {
    inset-inline-end: 11%;
    top: 64%;
    animation-delay: -3s;
}

@keyframes almFloat {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.alm-grid {
    display: grid;
    gap: 18px;
}

.alm-grid--4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.alm-grid--3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.alm-card,
.elementor-widget-container > .alm-card,
.alm-articles .elementor-post,
.alm-resources .elementor-post {
    position: relative;
    display: flex;
    min-height: 230px;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 24px;
    border: 1px solid var(--alm-border);
    border-radius: var(--alm-radius);
    background: var(--alm-surface);
    box-shadow: var(--alm-shadow-sm);
    transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.alm-card::before {
    position: absolute;
    inset-inline-start: 0;
    top: 18px;
    width: 4px;
    height: 44px;
    content: "";
    border-radius: 99px 0 0 99px;
    background: linear-gradient(180deg, var(--alm-gold), var(--alm-teal));
}

.alm-card:hover,
.alm-card:focus-within,
.alm-articles .elementor-post:hover,
.alm-resources .elementor-post:hover {
    border-color: rgba(5, 124, 140, 0.28);
    transform: translateY(-5px);
    box-shadow: var(--alm-shadow-md);
}

.alm-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: var(--alm-radius-sm);
    color: var(--alm-teal);
    background: var(--alm-teal-light);
}

.alm-card__icon svg {
    width: 24px;
    height: 24px;
}

.alm-card p {
    flex: 1;
}

.alm-card a,
.alm-card__link,
.alm-articles .elementor-post__read-more {
    display: inline-flex;
    align-items: center;
    margin-block-start: auto;
    color: var(--alm-teal);
    font-weight: 800;
}

.alm-card a:hover,
.alm-card__link:hover,
.alm-articles .elementor-post__read-more:hover {
    color: var(--alm-navy);
}

.alm-card--post > span,
.alm-articles .elementor-post__badge,
.alm-articles .elementor-post__meta-data {
    display: inline-flex;
    width: fit-content;
    padding: 4px 10px;
    border-radius: var(--alm-radius-sm);
    color: var(--alm-navy);
    background: var(--alm-gold-soft);
    font-size: 0.85rem;
    font-weight: 800;
}

.alm-resources {
    background:
        linear-gradient(135deg, rgba(232, 247, 248, 0.7), rgba(255, 246, 221, 0.45)),
        #ffffff;
}

.alm-videos {
    background: #ffffff;
}

.alm-video-card {
    position: relative;
    min-height: 260px;
    padding: 26px;
    border: 1px solid rgba(7, 31, 77, 0.1);
    border-radius: var(--alm-radius);
    color: #ffffff;
    background:
        linear-gradient(135deg, rgba(7, 31, 77, 0.94), rgba(5, 124, 140, 0.88)),
        var(--alm-navy);
    box-shadow: var(--alm-shadow-md);
    overflow: hidden;
    transition: transform 220ms ease, box-shadow 220ms ease;
}

.alm-video-card::after {
    position: absolute;
    inset-inline-end: 0;
    bottom: 0;
    width: 62%;
    height: 44%;
    content: "";
    background: linear-gradient(135deg, rgba(214, 166, 55, 0), rgba(214, 166, 55, 0.28));
    clip-path: polygon(26% 0, 100% 18%, 100% 100%, 0 100%);
}

.alm-video-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--alm-shadow-lg);
}

.alm-video-card h3,
.alm-video-card p {
    position: relative;
    z-index: 1;
    color: #ffffff;
}

.alm-video-card p {
    color: rgba(255, 255, 255, 0.78);
}

.alm-play {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    margin-block-end: 22px;
    border-radius: var(--alm-radius);
    color: var(--alm-navy);
    background: var(--alm-gold);
}

.alm-play svg {
    width: 27px;
    height: 27px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.9;
}

.alm-platform {
    color: #ffffff;
    background:
        linear-gradient(120deg, rgba(7, 31, 77, 0.98), rgba(10, 46, 109, 0.94) 52%, rgba(5, 124, 140, 0.9)),
        var(--alm-navy);
}

.alm-platform::before {
    position: absolute;
    inset-inline-start: 0;
    top: 0;
    width: 42%;
    height: 100%;
    content: "";
    background: linear-gradient(90deg, rgba(214, 166, 55, 0.18), rgba(214, 166, 55, 0));
    clip-path: polygon(0 0, 78% 0, 48% 100%, 0 100%);
}

.alm-platform__grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
    gap: clamp(24px, 6vw, 72px);
    align-items: center;
}

.alm-platform h2,
.alm-platform p,
.alm-platform .alm-eyebrow {
    color: #ffffff;
}

.alm-platform p {
    max-width: 680px;
    margin-block: 16px 24px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 1.08rem;
}

.alm-platform .alm-eyebrow {
    border-color: rgba(255, 255, 255, 0.22);
    background: rgba(255, 255, 255, 0.1);
}

.alm-login-card {
    display: grid;
    min-height: 290px;
    place-items: center;
    padding: 28px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--alm-radius);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.18);
    text-align: center;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.alm-login-card svg {
    width: 62px;
    height: 62px;
    color: var(--alm-gold);
    fill: none;
    stroke: currentColor;
    stroke-width: 1.6;
}

.alm-login-card span,
.alm-login-card strong {
    display: block;
    color: #ffffff;
}

.alm-login-card span {
    font-weight: 700;
}

.alm-login-card strong {
    font-size: 1.45rem;
    line-height: 1.35;
}

.alm-contact {
    background: var(--alm-bg);
}

.alm-contact__box {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 24px;
    align-items: center;
    padding: clamp(24px, 5vw, 42px);
    border: 1px solid rgba(5, 124, 140, 0.16);
    border-radius: var(--alm-radius);
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(232, 247, 248, 0.8)),
        #ffffff;
    box-shadow: var(--alm-shadow-md);
}

.alm-contact__box p {
    max-width: 680px;
    margin-block-start: 12px;
}

.alm-footer {
    width: 100%;
    padding: clamp(36px, 5vw, 58px) 0 20px;
    color: rgba(255, 255, 255, 0.82);
    background:
        linear-gradient(135deg, var(--alm-navy), var(--alm-navy-2) 58%, #063c55),
        var(--alm-navy);
    text-align: right;
}

.alm-footer__grid,
.alm-footer__bottom {
    width: var(--alm-container);
    max-width: var(--alm-container);
    margin-inline: auto;
}

.alm-footer__grid {
    display: grid;
    grid-template-columns: minmax(260px, 1.4fr) minmax(180px, 0.7fr) minmax(220px, 0.9fr);
    gap: 26px;
}

.alm-footer__logo {
    display: inline-flex;
    width: min(280px, 82vw);
    min-height: 72px;
    align-items: center;
    justify-content: flex-start;
    margin-block-end: 14px;
}

.alm-footer__logo img {
    display: block;
    width: 100%;
    max-height: 112px;
    object-fit: contain;
    object-position: right center;
}

.alm-footer h2 {
    margin: 0 0 14px;
    color: #ffffff;
    font-size: 1.08rem;
    font-weight: 800;
}

.alm-footer p {
    max-width: 540px;
    margin: 0;
    color: rgba(255, 255, 255, 0.76);
}

.alm-footer ul {
    display: grid;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.alm-footer a {
    color: rgba(255, 255, 255, 0.82);
    font-weight: 700;
}

.alm-footer a:hover,
.alm-footer a:focus-visible {
    color: var(--alm-gold);
}

.alm-footer__contact {
    display: grid;
    align-content: start;
    gap: 10px;
}

.alm-footer__contact a {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    min-height: 34px;
}

.alm-footer__contact svg {
    width: 18px;
    height: 18px;
    color: var(--alm-gold);
}

.alm-footer__bottom {
    margin-block-start: 28px;
    padding-block-start: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.68);
    font-size: 0.92rem;
}

.site-footer,
.site-primary-footer-wrap,
.site-above-footer-wrap,
.site-below-footer-wrap,
.site-footer-section,
.ast-builder-grid-row-container.ast-builder-footer-grid-row,
.ast-footer-copyright {
    color: rgba(255, 255, 255, 0.82);
    background:
        linear-gradient(135deg, var(--alm-navy), var(--alm-navy-2) 58%, #063c55),
        var(--alm-navy) !important;
}

.site-footer h1,
.site-footer h2,
.site-footer h3,
.site-footer h4,
.site-footer h5,
.site-footer h6,
.site-footer .widget-title,
.site-footer .site-title,
.site-footer .site-title a {
    color: #ffffff !important;
}

.site-footer p,
.site-footer li,
.site-footer span,
.site-footer .textwidget,
.site-footer .ast-footer-copyright,
.site-footer .ast-footer-copyright p {
    color: rgba(255, 255, 255, 0.78) !important;
}

.site-footer a,
.site-footer .menu-link,
.site-footer .widget a {
    color: rgba(255, 255, 255, 0.86) !important;
}

.site-footer a:hover,
.site-footer a:focus-visible,
.site-footer .menu-link:hover,
.site-footer .widget a:hover {
    color: var(--alm-gold) !important;
}

.site-footer svg,
.site-footer svg *,
.site-footer .ast-builder-social-element,
.site-footer .ast-builder-social-element svg,
.site-footer .ast-builder-social-element svg * {
    color: var(--alm-gold) !important;
    fill: currentColor !important;
    stroke: currentColor !important;
    opacity: 1 !important;
}

.site-footer .ast-footer-copyright,
.ast-footer-copyright {
    width: 100%;
}

.site-footer .ast-footer-copyright p {
    margin: 0;
}

.site-footer .ast-footer-copyright a[href*="wpastra.com"] {
    display: none;
}

@supports selector(:has(*)) {
    .site-footer .ast-footer-copyright > p:has(a[href*="wpastra.com"]) {
        display: none;
    }
}

.js .alm-reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 520ms ease, transform 520ms ease;
}

.alm-reveal.is-visible,
.no-js .alm-reveal {
    opacity: 1;
    transform: translateY(0);
}

.entry-content > *:first-child {
    margin-block-start: 0;
}

.entry-title,
.page-title {
    color: var(--alm-navy);
    font-family: var(--alm-font);
    font-weight: 800;
}

.ast-separate-container .ast-article-single,
.ast-separate-container .ast-article-post,
.blog-layout-1 {
    border: 1px solid var(--alm-border);
    border-radius: var(--alm-radius);
    background: #ffffff;
    box-shadow: var(--alm-shadow-sm);
}

.almastour-premium-theme .wp-block-button__link,
.almastour-premium-theme input[type="submit"],
.almastour-premium-theme button[type="submit"] {
    border-radius: var(--alm-radius-sm);
    background: var(--alm-teal);
    font-family: var(--alm-font);
    font-weight: 800;
}

.almastour-premium-theme input[type="text"],
.almastour-premium-theme input[type="email"],
.almastour-premium-theme input[type="url"],
.almastour-premium-theme input[type="tel"],
.almastour-premium-theme textarea {
    min-height: 46px;
    border: 1px solid var(--alm-border);
    border-radius: var(--alm-radius-sm);
    background: #ffffff;
    color: var(--alm-text);
}

.elementor-section.alm-home,
.elementor-section.alm-hero,
.elementor-section.alm-levels,
.elementor-section.alm-articles,
.elementor-section.alm-resources,
.elementor-section.alm-videos,
.elementor-section.alm-platform,
.elementor-section.alm-contact {
    direction: rtl;
}

.elementor-widget-heading .elementor-heading-title {
    color: var(--alm-navy);
    font-family: var(--alm-font);
    font-weight: 800;
    line-height: 1.25;
}

.elementor-widget-text-editor {
    color: var(--alm-muted);
    font-family: var(--alm-font);
    line-height: 1.75;
}

@media (max-width: 1024px) {
    :root {
        --alm-header-height: 68px;
    }

    .alm-grid--4,
    .alm-grid--3 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .alm-hero__grid,
    .alm-platform__grid,
    .alm-contact__box {
        grid-template-columns: 1fr;
    }

    .alm-hero__visual {
        min-height: 430px;
    }

    .alm-contact__box .alm-actions {
        justify-content: flex-start;
    }

    .alm-footer__grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 782px) {
    body.admin-bar .site-header,
    body.admin-bar .main-header-bar,
    body.admin-bar .ast-primary-header-bar {
        top: 0;
    }
}

@media (max-width: 767px) {
    :root {
        --alm-container: min(100% - 24px, 1180px);
        --alm-header-height: 62px;
    }

    .ast-primary-header-bar,
    .main-header-bar {
        min-height: var(--alm-header-height);
    }

    .custom-logo-link img,
    .site-logo-img img,
    .ast-site-identity img {
        max-height: 44px;
    }

    .alm-section {
        padding-block: 48px;
    }

    .alm-hero {
        min-height: auto;
        padding-block: 42px 48px;
    }

    .alm-hero__visual {
        min-height: 360px;
    }

    .alm-hero__logo {
        top: 10%;
        padding: 10px;
    }

    .alm-grid--4,
    .alm-grid--3 {
        grid-template-columns: 1fr;
    }

    .alm-card,
    .alm-video-card {
        min-height: 0;
        padding: 20px;
    }

    .alm-actions {
        align-items: stretch;
        width: 100%;
    }

    .alm-btn,
    .alm-btn-primary,
    .alm-btn-secondary {
        width: 100%;
    }

    .alm-floating-card {
        min-width: 128px;
        min-height: 44px;
        padding: 9px 11px;
        font-size: 0.8rem;
    }

    .alm-floating-card--book {
        inset-inline-end: 5%;
        bottom: 24%;
    }

    .alm-floating-card--video {
        inset-inline-start: 5%;
        bottom: 10%;
    }

    .alm-floating-card--article {
        inset-inline-start: 6%;
        top: 56%;
    }

    .alm-floating-card--platform {
        inset-inline-end: 6%;
        top: 67%;
    }

    .alm-login-card {
        min-height: 230px;
    }

    .alm-footer__logo {
        width: min(190px, 70vw);
        min-height: 48px;
        margin-inline: auto;
        justify-content: center;
    }

    .alm-footer__logo img {
        max-height: 74px;
        object-position: center;
    }

    .alm-footer__grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 420px) {
    .alm-home h1 {
        font-size: 2rem;
    }

    .alm-home h2 {
        font-size: 1.55rem;
    }

    .alm-hero__visual {
        min-height: 320px;
    }

    .alm-floating-card {
        max-width: 150px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 0.001ms !important;
    }

    .alm-reveal {
        opacity: 1;
        transform: none;
    }
}

/* Final nav reset: prevents cached/parent active pills from mixing with the refined state. */
.ast-desktop .ast-primary-header-bar .main-header-menu > .menu-item.current-menu-item > .menu-link,
.ast-desktop .ast-primary-header-bar .main-header-menu > .menu-item.current_page_item > .menu-link,
.ast-desktop .main-header-bar .main-header-menu > .menu-item.current-menu-item > .menu-link,
.ast-desktop .main-header-bar .main-header-menu > .menu-item.current_page_item > .menu-link,
.ast-desktop .ast-builder-menu-1 .menu-item.current-menu-item > .menu-link,
.ast-desktop .ast-builder-menu-1 .menu-item.current_page_item > .menu-link {
    color: var(--alm-navy) !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    outline: 0 !important;
}

.ast-desktop .ast-primary-header-bar .main-header-menu > .menu-item.current-menu-item > .menu-link::before,
.ast-desktop .ast-primary-header-bar .main-header-menu > .menu-item.current_page_item > .menu-link::before,
.ast-desktop .main-header-bar .main-header-menu > .menu-item.current-menu-item > .menu-link::before,
.ast-desktop .main-header-bar .main-header-menu > .menu-item.current_page_item > .menu-link::before,
.ast-desktop .ast-builder-menu-1 .menu-item.current-menu-item > .menu-link::before,
.ast-desktop .ast-builder-menu-1 .menu-item.current_page_item > .menu-link::before {
    position: absolute !important;
    inset: auto auto 6px auto !important;
    inset-inline-start: 13px !important;
    width: 8px !important;
    height: 3px !important;
    content: "" !important;
    border: 0 !important;
    border-radius: 99px !important;
    background: var(--alm-gold) !important;
    box-shadow: none !important;
    opacity: 1 !important;
    transform: translateY(0) !important;
    animation: almActiveMark 160ms ease-out both !important;
}

.ast-desktop .ast-primary-header-bar .main-header-menu > .menu-item.current-menu-item > .menu-link::after,
.ast-desktop .ast-primary-header-bar .main-header-menu > .menu-item.current_page_item > .menu-link::after,
.ast-desktop .main-header-bar .main-header-menu > .menu-item.current-menu-item > .menu-link::after,
.ast-desktop .main-header-bar .main-header-menu > .menu-item.current_page_item > .menu-link::after,
.ast-desktop .ast-builder-menu-1 .menu-item.current-menu-item > .menu-link::after,
.ast-desktop .ast-builder-menu-1 .menu-item.current_page_item > .menu-link::after {
    position: absolute !important;
    inset: auto auto 6px auto !important;
    inset-inline-start: 26px !important;
    inset-inline-end: 13px !important;
    height: 3px !important;
    content: "" !important;
    border: 0 !important;
    border-radius: 99px !important;
    background: var(--alm-teal) !important;
    box-shadow: none !important;
    opacity: 1 !important;
    transform: scaleX(1) !important;
    transform-origin: right center !important;
    animation: almActiveUnderline 160ms ease-out both !important;
}

.ast-primary-header-bar .ast-builder-social-element,
.main-header-bar .ast-builder-social-element,
.ast-primary-header-bar .ast-header-social-1-wrap,
.main-header-bar .ast-header-social-1-wrap,
.ast-primary-header-bar [class*="social"],
.main-header-bar [class*="social"] {
    display: none !important;
}

/* Final mobile hamburger visibility reset. */
.almastour-premium-theme .ast-button-wrap .menu-toggle,
.home .ast-button-wrap .menu-toggle,
.ast-theme-transparent-header .ast-button-wrap .menu-toggle,
.ast-header-break-point .ast-button-wrap .menu-toggle,
.ast-mobile-header-wrap .ast-button-wrap .menu-toggle,
.ast-primary-header-bar .ast-button-wrap .menu-toggle,
.main-header-bar .ast-button-wrap .menu-toggle {
    position: relative !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 44px !important;
    min-width: 44px !important;
    height: 44px !important;
    min-height: 44px !important;
    border: 1px solid rgba(5, 124, 140, 0.24) !important;
    border-radius: 8px !important;
    color: var(--alm-navy) !important;
    background: rgba(255, 255, 255, 0.94) !important;
    box-shadow: 0 8px 22px rgba(7, 31, 77, 0.1) !important;
    opacity: 1 !important;
    visibility: visible !important;
    transition: transform 150ms ease, box-shadow 150ms ease, border-color 150ms ease, background-color 150ms ease !important;
}

.almastour-premium-theme .ast-button-wrap .menu-toggle:hover,
.almastour-premium-theme .ast-button-wrap .menu-toggle:focus-visible {
    border-color: rgba(214, 166, 55, 0.72) !important;
    background: #ffffff !important;
    box-shadow: 0 10px 24px rgba(7, 31, 77, 0.14) !important;
    transform: translateY(-1px) !important;
}

.almastour-premium-theme .ast-button-wrap .menu-toggle::before,
.almastour-premium-theme .ast-button-wrap .menu-toggle::after {
    position: absolute !important;
    inset-inline: 12px !important;
    height: 2px !important;
    content: "" !important;
    border-radius: 99px !important;
    background: var(--alm-navy) !important;
    opacity: 1 !important;
    transform-origin: center !important;
    transition: transform 170ms ease, top 170ms ease, bottom 170ms ease, background-color 170ms ease !important;
}

.almastour-premium-theme .ast-button-wrap .menu-toggle::before {
    top: 15px !important;
}

.almastour-premium-theme .ast-button-wrap .menu-toggle::after {
    bottom: 15px !important;
}

.almastour-premium-theme .ast-button-wrap .menu-toggle[aria-expanded="true"],
.almastour-premium-theme .ast-button-wrap .menu-toggle.toggled {
    border-color: rgba(5, 124, 140, 0.34) !important;
}

.almastour-premium-theme .ast-button-wrap .menu-toggle[aria-expanded="true"]::before,
.almastour-premium-theme .ast-button-wrap .menu-toggle.toggled::before {
    top: 21px !important;
    background: var(--alm-teal) !important;
    transform: rotate(42deg) !important;
}

.almastour-premium-theme .ast-button-wrap .menu-toggle[aria-expanded="true"]::after,
.almastour-premium-theme .ast-button-wrap .menu-toggle.toggled::after {
    bottom: 21px !important;
    background: var(--alm-teal) !important;
    transform: rotate(-42deg) !important;
}

.almastour-premium-theme .ast-button-wrap .menu-toggle .mobile-menu-toggle-icon,
.almastour-premium-theme .ast-button-wrap .menu-toggle .ahfb-svg-iconset,
.almastour-premium-theme .ast-button-wrap .menu-toggle svg,
.almastour-premium-theme .ast-button-wrap .menu-toggle svg * {
    opacity: 0 !important;
}

/* Final hamburger refinement: slightly bolder, still calm. */
.almastour-premium-theme .ast-button-wrap .menu-toggle,
.home .ast-button-wrap .menu-toggle,
.ast-theme-transparent-header .ast-button-wrap .menu-toggle {
    border: 2px solid rgba(5, 124, 140, 0.42) !important;
}

.almastour-premium-theme .ast-button-wrap .menu-toggle:hover,
.almastour-premium-theme .ast-button-wrap .menu-toggle:focus-visible {
    border-color: rgba(214, 166, 55, 0.82) !important;
}

.almastour-premium-theme .ast-button-wrap .menu-toggle::before,
.almastour-premium-theme .ast-button-wrap .menu-toggle::after {
    height: 3px !important;
}

.almastour-premium-theme .ast-button-wrap .menu-toggle::before {
    top: 13px !important;
    box-shadow: 0 7px 0 var(--alm-teal) !important;
}

.almastour-premium-theme .ast-button-wrap .menu-toggle::after {
    bottom: 13px !important;
}

.almastour-premium-theme .ast-button-wrap .menu-toggle[aria-expanded="true"]::before,
.almastour-premium-theme .ast-button-wrap .menu-toggle.toggled::before,
.almastour-premium-theme .ast-button-wrap .menu-toggle[aria-expanded="true"]::after,
.almastour-premium-theme .ast-button-wrap .menu-toggle.toggled::after {
    box-shadow: none !important;
}

/* Final mobile menu redesign: calm white academy drawer and two-line burger. */
.almastour-premium-theme .ast-button-wrap .menu-toggle,
.home .ast-button-wrap .menu-toggle,
.ast-theme-transparent-header .ast-button-wrap .menu-toggle,
.ast-header-break-point .ast-button-wrap .menu-toggle,
.ast-mobile-header-wrap .ast-button-wrap .menu-toggle {
    width: 44px !important;
    min-width: 44px !important;
    height: 44px !important;
    min-height: 44px !important;
    border: 1px solid rgba(5, 124, 140, 0.28) !important;
    border-radius: 8px !important;
    background: rgba(255, 255, 255, 0.96) !important;
    box-shadow: 0 8px 20px rgba(7, 31, 77, 0.09) !important;
}

.almastour-premium-theme .ast-button-wrap .menu-toggle::before,
.almastour-premium-theme .ast-button-wrap .menu-toggle::after,
.home .ast-button-wrap .menu-toggle::before,
.home .ast-button-wrap .menu-toggle::after,
.ast-theme-transparent-header .ast-button-wrap .menu-toggle::before,
.ast-theme-transparent-header .ast-button-wrap .menu-toggle::after {
    inset-inline: 13px !important;
    height: 2px !important;
    border-radius: 99px !important;
    background: var(--alm-navy) !important;
    box-shadow: none !important;
}

.almastour-premium-theme .ast-button-wrap .menu-toggle::before,
.home .ast-button-wrap .menu-toggle::before,
.ast-theme-transparent-header .ast-button-wrap .menu-toggle::before {
    top: 16px !important;
}

.almastour-premium-theme .ast-button-wrap .menu-toggle::after,
.home .ast-button-wrap .menu-toggle::after,
.ast-theme-transparent-header .ast-button-wrap .menu-toggle::after {
    bottom: 16px !important;
}

.almastour-premium-theme .ast-button-wrap .menu-toggle:hover,
.almastour-premium-theme .ast-button-wrap .menu-toggle:focus-visible {
    border-color: rgba(214, 166, 55, 0.7) !important;
    box-shadow: 0 10px 22px rgba(7, 31, 77, 0.12) !important;
}

.almastour-premium-theme .ast-button-wrap .menu-toggle[aria-expanded="true"]::before,
.almastour-premium-theme .ast-button-wrap .menu-toggle.toggled::before {
    top: 21px !important;
    background: var(--alm-teal) !important;
    transform: rotate(42deg) !important;
}

.almastour-premium-theme .ast-button-wrap .menu-toggle[aria-expanded="true"]::after,
.almastour-premium-theme .ast-button-wrap .menu-toggle.toggled::after {
    bottom: 21px !important;
    background: var(--alm-teal) !important;
    transform: rotate(-42deg) !important;
}

.almastour-premium-theme .ast-button-wrap .menu-toggle .mobile-menu-toggle-icon,
.almastour-premium-theme .ast-button-wrap .menu-toggle .mobile-menu-toggle-icon::after,
.almastour-premium-theme .ast-button-wrap .menu-toggle .ahfb-svg-iconset,
.almastour-premium-theme .ast-button-wrap .menu-toggle svg,
.almastour-premium-theme .ast-button-wrap .menu-toggle svg * {
    opacity: 0 !important;
}

.ast-mobile-popup-drawer .ast-mobile-popup-inner,
.ast-mobile-popup-drawer .ast-mobile-popup-content,
.ast-mobile-header-wrap .ast-mobile-header-content,
.ast-header-break-point .ast-mobile-header-content {
    color: var(--alm-text) !important;
    background:
        linear-gradient(180deg, #ffffff 0%, #ffffff 72%, rgba(232, 247, 248, 0.58) 100%),
        #ffffff !important;
}

.ast-mobile-popup-drawer.active .ast-mobile-popup-inner,
.ast-mobile-header-wrap .ast-mobile-header-content {
    animation: almMenuIn 190ms ease-out both !important;
}

.ast-mobile-popup-drawer .ast-mobile-popup-header {
    border-bottom: 1px solid rgba(226, 232, 240, 0.9) !important;
    background: #ffffff !important;
}

.ast-mobile-popup-drawer .menu-toggle-close {
    color: var(--alm-navy) !important;
    border: 1px solid rgba(5, 124, 140, 0.22) !important;
    background: #ffffff !important;
    box-shadow: 0 8px 20px rgba(7, 31, 77, 0.08) !important;
}

.alm-mobile-panel {
    margin: 12px !important;
    padding: 14px !important;
    border: 1px solid rgba(5, 124, 140, 0.14) !important;
    border-radius: 8px !important;
    background:
        linear-gradient(135deg, rgba(232, 247, 248, 0.78), rgba(255, 246, 221, 0.38)),
        #ffffff !important;
    box-shadow: 0 14px 32px rgba(7, 31, 77, 0.09) !important;
}

.alm-mobile-panel__brand {
    color: var(--alm-navy) !important;
}

.alm-mobile-panel__brand img {
    border-color: rgba(214, 166, 55, 0.35) !important;
    background: #ffffff !important;
    box-shadow: 0 8px 18px rgba(7, 31, 77, 0.08) !important;
}

.alm-mobile-panel__brand strong {
    color: var(--alm-navy) !important;
}

.alm-mobile-panel__brand small {
    color: var(--alm-teal) !important;
}

.alm-mobile-panel p {
    color: var(--alm-muted) !important;
}

.alm-mobile-panel__quicklinks a,
.alm-mobile-panel__chips a {
    color: var(--alm-navy) !important;
    border: 1px solid rgba(226, 232, 240, 0.95) !important;
    background: rgba(255, 255, 255, 0.82) !important;
}

.alm-mobile-panel__quicklinks a:hover,
.alm-mobile-panel__quicklinks a:focus-visible,
.alm-mobile-panel__chips a:hover,
.alm-mobile-panel__chips a:focus-visible {
    color: var(--alm-navy) !important;
    border-color: rgba(5, 124, 140, 0.28) !important;
    background: var(--alm-teal-light) !important;
}

.alm-mobile-panel__cta {
    color: var(--alm-navy) !important;
    border: 1px solid rgba(214, 166, 55, 0.44) !important;
    background: linear-gradient(135deg, #ffffff, var(--alm-gold-soft)) !important;
    box-shadow: 0 10px 22px rgba(7, 31, 77, 0.08) !important;
}

.ast-header-break-point .main-header-menu,
.ast-mobile-popup-drawer .main-header-menu,
.alm-mobile-menu-list {
    margin: 0 12px 14px !important;
    border: 1px solid rgba(226, 232, 240, 0.95) !important;
    border-radius: 8px !important;
    background: #ffffff !important;
    box-shadow: 0 12px 26px rgba(7, 31, 77, 0.08) !important;
    overflow: hidden !important;
}

.ast-header-break-point .main-header-menu .menu-link,
.ast-mobile-popup-drawer .main-header-menu .menu-link {
    position: relative !important;
    min-height: 50px !important;
    color: var(--alm-navy) !important;
    border-bottom: 1px solid rgba(226, 232, 240, 0.82) !important;
    background: #ffffff !important;
    font-weight: 800 !important;
    line-height: 50px !important;
    transform: none !important;
}

.ast-header-break-point .main-header-menu .menu-link::before,
.ast-mobile-popup-drawer .main-header-menu .menu-link::before {
    position: absolute;
    inset-block: 14px;
    inset-inline-start: 0;
    width: 3px;
    content: "";
    border-radius: 99px;
    background: transparent;
    transform: scaleY(0.3);
    transition: transform 150ms ease, background-color 150ms ease;
}

.ast-header-break-point .main-header-menu .menu-link:hover,
.ast-header-break-point .main-header-menu .current-menu-item > .menu-link,
.ast-mobile-popup-drawer .main-header-menu .menu-link:hover,
.ast-mobile-popup-drawer .main-header-menu .current-menu-item > .menu-link {
    color: var(--alm-navy) !important;
    background: linear-gradient(90deg, rgba(232, 247, 248, 0.72), #ffffff) !important;
}

.ast-header-break-point .main-header-menu .menu-link:hover::before,
.ast-header-break-point .main-header-menu .current-menu-item > .menu-link::before,
.ast-mobile-popup-drawer .main-header-menu .menu-link:hover::before,
.ast-mobile-popup-drawer .main-header-menu .current-menu-item > .menu-link::before {
    background: var(--alm-teal);
    transform: scaleY(1);
}

.ast-header-break-point .main-header-menu .current-menu-item > .menu-link::after,
.ast-mobile-popup-drawer .main-header-menu .current-menu-item > .menu-link::after {
    position: absolute !important;
    inset-inline-start: 14px !important;
    bottom: 8px !important;
    width: 28px !important;
    height: 2px !important;
    content: "" !important;
    border-radius: 99px !important;
    background: var(--alm-gold) !important;
    box-shadow: none !important;
    transform: scaleX(1) !important;
}

/* Hide all WordPress page titles. */
.page .entry-title,
.ast-single-entry-banner,
.entry-header {
    display: none !important;
}

/* Premium homepage rebuild for [almastour_home] and Elementor class sections. */
.alm-home-premium {
    --alm-home-dark: #061a3d;
    --alm-home-dark-2: #08285c;
    --alm-home-line: rgba(255, 255, 255, 0.12);
    background: #f8fafc;
}

.alm-home-premium .alm-section {
    padding-block: clamp(58px, 8vw, 104px);
}

.alm-home-premium .alm-container {
    width: min(1180px, calc(100vw - 28px));
    max-width: min(1180px, calc(100vw - 28px));
}

.alm-home-premium .alm-kicker {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    min-height: 30px;
    margin-block-end: 13px;
    padding: 4px 12px;
    border: 1px solid rgba(214, 166, 55, 0.36);
    border-radius: 999px;
    color: var(--alm-gold);
    background: rgba(214, 166, 55, 0.1);
    font-size: 0.82rem;
    font-weight: 900;
}

.alm-home-premium .alm-section-head {
    width: min(760px, 100%);
    margin-block-end: 30px;
}

.alm-home-premium .alm-section-head--center {
    margin-inline: auto;
    text-align: center;
}

.alm-home-premium .alm-section-head h2,
.alm-home-premium h2 {
    color: var(--alm-navy);
    font-size: clamp(1.75rem, 3.3vw, 2.6rem);
    font-weight: 900;
    letter-spacing: 0;
}

.alm-home-premium .alm-section-head p {
    max-width: 650px;
    margin-block-start: 10px;
    color: var(--alm-muted);
}

.alm-home-premium .alm-hero {
    min-height: auto;
    padding-block: clamp(74px, 10vw, 128px);
    color: #fff;
    background:
        radial-gradient(circle at 18% 20%, rgba(5, 124, 140, 0.34), transparent 32%),
        radial-gradient(circle at 82% 18%, rgba(214, 166, 55, 0.24), transparent 30%),
        linear-gradient(135deg, var(--alm-home-dark), var(--alm-home-dark-2) 58%, #04364b);
    overflow: hidden;
}

.alm-home-premium .alm-hero::before,
.alm-home-premium .alm-hero::after {
    display: none;
}

.alm-hero-particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image:
        radial-gradient(circle, rgba(255, 255, 255, 0.15) 1px, transparent 1px),
        radial-gradient(circle, rgba(214, 166, 55, 0.18) 1px, transparent 1px);
    background-size: 64px 64px, 96px 96px;
    background-position: 0 0, 32px 24px;
    opacity: 0.62;
    animation: almParticleDrift 22s linear infinite;
}

@keyframes almParticleDrift {
    from { transform: translate3d(0, 0, 0); }
    to { transform: translate3d(64px, 64px, 0); }
}

.alm-hero-premium__grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(310px, 0.78fr);
    gap: clamp(30px, 6vw, 74px);
    align-items: center;
}

.alm-hero-premium__content h1 {
    max-width: 780px;
    color: #fff;
    font-size: clamp(2.35rem, 6vw, 4.7rem);
    font-weight: 900;
}

.alm-hero-premium__lead {
    margin-block-start: 16px;
    color: var(--alm-gold) !important;
    font-size: clamp(1.12rem, 2vw, 1.45rem);
    font-weight: 900;
}

.alm-hero-premium__copy {
    max-width: 720px;
    margin-block-start: 14px;
    color: rgba(255, 255, 255, 0.78) !important;
    font-size: clamp(1rem, 1.45vw, 1.13rem);
}

.alm-home-premium .alm-hero .alm-btn-secondary {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.28);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: none;
}

.alm-hero-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-block-start: 34px;
    padding-block-start: 26px;
    border-top: 1px solid var(--alm-home-line);
}

.alm-hero-stats span {
    display: grid;
    min-width: 132px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.86rem;
}

.alm-hero-stats strong {
    color: #fff;
    font-size: 1.6rem;
    font-weight: 900;
    line-height: 1.1;
}

.alm-hero-console {
    position: relative;
    padding: 22px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 26px 70px rgba(0, 0, 0, 0.22);
    backdrop-filter: blur(18px);
}

.alm-hero-console::before {
    position: absolute;
    inset-inline-end: -16px;
    top: 34px;
    width: 4px;
    height: 72px;
    content: "";
    border-radius: 999px;
    background: var(--alm-gold);
}

.alm-hero-console__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-block-end: 18px;
}

.alm-hero-console__top img {
    width: 150px;
    max-height: 78px;
    object-fit: contain;
}

.alm-hero-console__top span,
.alm-hero-console__card small,
.alm-hero-console__mini a {
    color: rgba(255, 255, 255, 0.72);
    font-weight: 800;
}

.alm-hero-console__card {
    display: grid;
    grid-template-columns: 44px 1fr;
    gap: 10px 12px;
    align-items: center;
    margin-block-start: 12px;
    padding: 16px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.08);
    color: inherit;
    text-decoration: none;
    transition: transform 180ms ease, border-color 180ms ease, background-color 180ms ease;
}

.alm-hero-console__card:hover,
.alm-hero-console__card:focus-visible {
    border-color: rgba(214, 166, 55, 0.42);
    background: rgba(255, 255, 255, 0.12);
    color: inherit;
    outline: 0;
    transform: translateY(-2px);
}

.alm-hero-console__card svg {
    grid-row: span 2;
    width: 34px;
    height: 34px;
    color: var(--alm-gold);
    fill: none;
    stroke: currentColor;
}

.alm-hero-console__card strong {
    color: #fff;
}

.alm-hero-console__card--gold {
    background: rgba(214, 166, 55, 0.13);
}

.alm-hero-console__mini {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-block-start: 12px;
}

.alm-hero-console__mini a {
    padding: 10px;
    border: 1px solid transparent;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.76);
    text-align: center;
    text-decoration: none;
    transition: transform 180ms ease, border-color 180ms ease, background-color 180ms ease, color 180ms ease;
}

.alm-hero-console__mini a:hover,
.alm-hero-console__mini a:focus-visible {
    border-color: rgba(5, 177, 190, 0.42);
    background: rgba(5, 177, 190, 0.12);
    color: #fff;
    outline: 0;
    transform: translateY(-2px);
}

.alm-category-grid {
    background: #fff;
}

.alm-category-grid__items {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 16px;
}

.alm-category-card {
    position: relative;
    display: grid;
    grid-template-columns: 48px 1fr auto;
    gap: 12px;
    align-items: center;
    min-height: 128px;
    padding: 18px;
    border: 1px solid var(--alm-border);
    border-radius: 10px;
    color: var(--alm-navy);
    background: #fff;
    box-shadow: 0 12px 30px rgba(7, 31, 77, 0.07);
    transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease, background-color 220ms ease;
}

.alm-category-card::before {
    position: absolute;
    inset-block: 18px;
    inset-inline-start: 0;
    width: 4px;
    content: "";
    border-radius: 999px;
    background: linear-gradient(180deg, var(--alm-teal), var(--alm-gold));
    transform: scaleY(0.32);
    transition: transform 200ms ease;
}

.alm-category-card:hover,
.alm-category-card:focus-visible {
    color: var(--alm-navy);
    border-color: rgba(5, 124, 140, 0.28);
    background: linear-gradient(135deg, #fff, rgba(232, 247, 248, 0.52));
    box-shadow: 0 20px 46px rgba(7, 31, 77, 0.12);
    transform: translateY(-5px);
}

.alm-category-card:hover::before,
.alm-category-card:focus-visible::before {
    transform: scaleY(1);
}

.alm-category-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 8px;
    color: var(--alm-teal);
    background: var(--alm-teal-light);
}

.alm-category-card__icon svg {
    width: 25px;
    height: 25px;
    fill: none;
    stroke: currentColor;
}

.alm-category-card__body {
    display: grid;
    gap: 4px;
}

.alm-category-card__body strong {
    font-size: 1.02rem;
    font-weight: 900;
}

.alm-category-card__body small {
    color: var(--alm-muted);
    font-size: 0.84rem;
    line-height: 1.65;
}

.alm-category-card__arrow {
    color: var(--alm-gold);
    font-weight: 900;
}

.alm-latest-posts {
    background: linear-gradient(180deg, #f8fafc, #fff);
}

.alm-post-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.alm-post-card {
    min-height: 250px;
    padding: 24px;
    border: 1px solid var(--alm-border);
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 12px 30px rgba(7, 31, 77, 0.07);
}

.alm-post-card__meta {
    display: inline-flex;
    margin-block-end: 14px;
    padding: 4px 10px;
    border-radius: 999px;
    color: var(--alm-navy);
    background: var(--alm-gold-soft);
    font-size: 0.82rem;
    font-weight: 900;
}

.alm-post-card h3 {
    margin: 0 0 10px;
    color: var(--alm-navy);
    font-size: 1.16rem;
    font-weight: 900;
}

.alm-post-card p {
    color: var(--alm-muted);
}

.alm-post-card__link {
    display: inline-flex;
    margin-block-start: 18px;
    color: var(--alm-teal);
    font-weight: 900;
}

.alm-video-section {
    color: #fff;
    background:
        radial-gradient(circle at 78% 18%, rgba(214, 166, 55, 0.18), transparent 28%),
        linear-gradient(135deg, var(--alm-home-dark), #07304c);
}

.alm-video-section h2,
.alm-platform-section h2 {
    color: #fff;
}

.alm-video-section p,
.alm-platform-section p {
    color: rgba(255, 255, 255, 0.75);
}

.alm-video-section__grid,
.alm-platform-section__grid {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(300px, 1.1fr);
    gap: clamp(24px, 5vw, 64px);
    align-items: center;
}

.alm-video-preview {
    position: relative;
    display: grid;
    min-height: 330px;
    place-items: center;
    padding: 28px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 10px;
    color: #fff;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.04)),
        rgba(255, 255, 255, 0.08);
    box-shadow: 0 24px 62px rgba(0, 0, 0, 0.22);
    text-align: center;
}

.alm-video-preview:hover {
    color: #fff;
    transform: translateY(-4px);
}

.alm-video-preview__play {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    border-radius: 50%;
    color: var(--alm-navy);
    background: var(--alm-gold);
}

.alm-video-preview__play svg {
    width: 34px;
    height: 34px;
    fill: none;
    stroke: currentColor;
}

.alm-video-preview strong {
    margin-block-start: 12px;
    font-size: 1.35rem;
}

.alm-video-preview small {
    color: rgba(255, 255, 255, 0.72);
}

.alm-platform-section {
    color: #fff;
    background: linear-gradient(135deg, #05204f, #073b4c);
}

.alm-platform-section__grid {
    grid-template-columns: minmax(300px, 0.86fr) minmax(0, 1.14fr);
}

.alm-platform-card {
    display: grid;
    min-height: 310px;
    place-items: center;
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.09);
    text-align: center;
}

.alm-platform-card svg {
    width: 66px;
    height: 66px;
    color: var(--alm-gold);
    fill: none;
    stroke: currentColor;
}

.alm-platform-card span {
    color: rgba(255, 255, 255, 0.74);
    font-weight: 800;
}

.alm-platform-card strong {
    max-width: 330px;
    color: #fff;
    font-size: 1.35rem;
    line-height: 1.45;
}

.alm-contact-cta {
    background: #fff;
}

.alm-contact-cta__box {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 22px;
    align-items: center;
    padding: clamp(24px, 5vw, 44px);
    border: 1px solid rgba(5, 124, 140, 0.16);
    border-radius: 10px;
    background: linear-gradient(135deg, #fff, rgba(232, 247, 248, 0.78));
    box-shadow: 0 18px 48px rgba(7, 31, 77, 0.1);
}

.alm-contact-cta__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-start;
}

.alm-whatsapp-float {
    position: fixed;
    inset-inline-start: 18px;
    bottom: 18px;
    z-index: 999;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 48px;
    padding: 10px 15px;
    border-radius: 999px;
    color: #fff;
    background: #128c7e;
    box-shadow: 0 14px 34px rgba(18, 140, 126, 0.28);
    font-weight: 900;
}

.alm-whatsapp-float:hover,
.alm-whatsapp-float:focus-visible {
    color: #fff;
    transform: translateY(-2px);
}

.alm-whatsapp-float svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
}

@media (max-width: 1100px) {
    .alm-category-grid__items {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .alm-hero-premium__grid,
    .alm-video-section__grid,
    .alm-platform-section__grid,
    .alm-contact-cta__box {
        grid-template-columns: 1fr;
    }

    .alm-post-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .alm-home-premium .alm-section {
        padding-block: 48px;
    }

    .alm-category-grid__items {
        grid-template-columns: 1fr;
    }

    .alm-category-card {
        min-height: 112px;
    }

    .alm-hero-console {
        padding: 16px;
    }

    .alm-hero-console__top img {
        width: 116px;
    }

    .alm-hero-stats {
        display: grid;
        grid-template-columns: 1fr;
    }

    .alm-video-preview,
    .alm-platform-card {
        min-height: 240px;
    }

    .alm-contact-cta__actions .alm-btn {
        width: 100%;
    }

    .alm-whatsapp-float {
        inset-inline-start: 12px;
        bottom: 12px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .alm-hero-particles {
        animation: none;
    }
}

/* Make the shortcode homepage full-bleed inside Astra/WordPress content containers. */
body.home .site-content,
body.page .site-content:has(.alm-home-premium),
body.home .site-main,
body.page .site-main:has(.alm-home-premium),
body.home .content-area,
body.page .content-area:has(.alm-home-premium) {
    margin-block-start: 0 !important;
    padding-block-start: 0 !important;
}

.home .site-content .ast-container,
.page .site-content .ast-container:has(.alm-home-premium),
.page .entry-content:has(.alm-home-premium),
.page .entry-content:has(.alm-home-premium) > .wp-block-shortcode,
.page .entry-content:has(.alm-home-premium) > .wp-block-group {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.home .ast-separate-container .ast-article-single,
.home.ast-separate-container .site-content > .ast-container,
.page.ast-separate-container .site-content > .ast-container:has(.alm-home-premium),
.page .site-main > article:has(.alm-home-premium),
.page .ast-separate-container .entry-content:has(.alm-home-premium),
.page .site-main .entry-content:has(.alm-home-premium) {
    margin-block-start: 0 !important;
    padding: 0 !important;
}

.page .site-main > article:has(.alm-home-premium),
.home .site-main > article:has(.alm-home-premium) {
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

.page .entry-content .alm-home-premium,
.alm-home-premium {
    position: relative;
    left: 50%;
    right: 50%;
    width: 100vw !important;
    max-width: 100vw !important;
    margin-inline-start: -50vw !important;
    margin-inline-end: -50vw !important;
}

.alm-home-premium .alm-section {
    width: 100%;
}

.alm-home-premium .alm-container {
    box-sizing: border-box;
}

/* Final desktop header guard: keep Arabic menu labels intact on tighter screens. */
.ast-desktop .ast-primary-header-bar .ast-builder-grid-row,
.ast-desktop .main-header-bar .ast-builder-grid-row {
    grid-template-columns: auto minmax(0, 1fr) !important;
}

.ast-desktop .ast-primary-header-bar .site-primary-header-wrap,
.ast-desktop .main-header-bar .site-primary-header-wrap {
    min-width: 0 !important;
}

.ast-desktop .ast-primary-header-bar .main-header-menu,
.ast-desktop .main-header-bar .main-header-menu,
.ast-desktop .ast-builder-menu-1,
.ast-desktop .ast-builder-menu-1 .main-header-menu {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: clamp(6px, 0.7vw, 14px) !important;
    min-width: 0 !important;
}

.ast-desktop .main-header-menu > .menu-item,
.ast-desktop .ast-builder-menu-1 .menu-item {
    flex: 0 0 auto !important;
    width: auto !important;
    max-width: none !important;
}

.ast-desktop .main-header-menu .menu-link,
.ast-desktop .ast-builder-menu-1 .menu-item > .menu-link {
    display: inline-flex !important;
    align-items: center !important;
    width: auto !important;
    min-width: max-content !important;
    max-width: none !important;
    white-space: nowrap !important;
    word-break: keep-all !important;
    overflow-wrap: normal !important;
    line-break: strict !important;
    hyphens: none !important;
}

@media (min-width: 922px) and (max-width: 1280px) {
    .ast-desktop .main-header-menu .menu-link,
    .ast-desktop .ast-builder-menu-1 .menu-item > .menu-link {
        padding-inline: 7px !important;
        font-size: 0.92rem !important;
    }

    .ast-desktop .custom-logo-link img,
    .ast-desktop .site-logo-img img {
        max-height: 54px !important;
    }
}

@media (min-width: 922px) and (max-width: 1100px) {
    .ast-desktop .ast-primary-header-bar .main-header-menu,
    .ast-desktop .main-header-bar .main-header-menu,
    .ast-desktop .ast-builder-menu-1,
    .ast-desktop .ast-builder-menu-1 .main-header-menu {
        gap: 4px !important;
    }

    .ast-desktop .main-header-menu .menu-link,
    .ast-desktop .ast-builder-menu-1 .menu-item > .menu-link {
        padding-inline: 5px !important;
        font-size: 0.84rem !important;
    }

    .ast-desktop .custom-logo-link img,
    .ast-desktop .site-logo-img img {
        max-height: 46px !important;
    }
}

/* Final button contrast guard for premium homepage links. */
.alm-home-premium .alm-btn,
.alm-home-premium .alm-btn:visited,
.alm-home-premium .alm-btn:hover,
.alm-home-premium .alm-btn:focus-visible,
.alm-home-premium .alm-btn-primary,
.alm-home-premium .alm-btn-primary:visited,
.alm-home-premium .alm-btn-primary:hover,
.alm-home-premium .alm-btn-primary:focus-visible {
    color: #ffffff !important;
    text-decoration: none !important;
}

.alm-home-premium .alm-btn-primary {
    border-color: rgba(214, 166, 55, 0.2) !important;
    background: linear-gradient(135deg, #057c8c 0%, #073f68 52%, #06285a 100%) !important;
    box-shadow: 0 14px 30px rgba(7, 31, 77, 0.22) !important;
}

.alm-home-premium .alm-btn-primary:hover,
.alm-home-premium .alm-btn-primary:focus-visible {
    border-color: rgba(214, 166, 55, 0.52) !important;
    background: linear-gradient(135deg, #078da0 0%, #064a75 52%, #062b61 100%) !important;
}

.alm-home-premium .alm-btn-secondary,
.alm-home-premium .alm-btn-secondary:visited {
    color: var(--alm-navy) !important;
    text-decoration: none !important;
}

.alm-home-premium .alm-btn-secondary:hover,
.alm-home-premium .alm-btn-secondary:focus-visible {
    color: var(--alm-navy) !important;
}

.alm-home-premium .alm-hero .alm-btn-secondary,
.alm-home-premium .alm-hero .alm-btn-secondary:visited,
.alm-home-premium .alm-video-section .alm-btn-secondary,
.alm-home-premium .alm-video-section .alm-btn-secondary:visited,
.alm-home-premium .alm-platform-section .alm-btn-secondary,
.alm-home-premium .alm-platform-section .alm-btn-secondary:visited {
    color: #ffffff !important;
    border-color: rgba(255, 255, 255, 0.34) !important;
    background: rgba(255, 255, 255, 0.1) !important;
}

.alm-home-premium .alm-btn svg,
.alm-home-premium .alm-btn-primary svg,
.alm-home-premium .alm-btn-secondary svg {
    color: currentColor !important;
    stroke: currentColor !important;
}

.alm-whatsapp-float,
.alm-whatsapp-float:visited {
    min-height: 52px !important;
    padding: 10px 16px 10px 18px !important;
    border: 1px solid rgba(214, 166, 55, 0.35) !important;
    border-radius: 999px !important;
    color: #ffffff !important;
    background:
        linear-gradient(135deg, rgba(18, 140, 126, 0.96) 0%, #057c8c 44%, #06285a 100%) !important;
    box-shadow: 0 16px 36px rgba(7, 31, 77, 0.24), 0 0 0 5px rgba(5, 124, 140, 0.1) !important;
    text-decoration: none !important;
}

.alm-whatsapp-float:hover,
.alm-whatsapp-float:focus-visible {
    color: #ffffff !important;
    border-color: rgba(214, 166, 55, 0.62) !important;
    background:
        linear-gradient(135deg, #16a085 0%, #068aa0 44%, #07346d 100%) !important;
    box-shadow: 0 18px 40px rgba(7, 31, 77, 0.3), 0 0 0 6px rgba(5, 124, 140, 0.13) !important;
}

.alm-whatsapp-float svg {
    width: 24px !important;
    height: 24px !important;
    color: #ffffff !important;
    fill: none !important;
    stroke: currentColor !important;
    stroke-width: 1.9 !important;
}

.alm-whatsapp-float span {
    color: #ffffff !important;
    font-weight: 900 !important;
}

@media (max-width: 640px) {
    .alm-whatsapp-float {
        min-width: 52px !important;
        min-height: 52px !important;
        padding: 12px !important;
    }

    .alm-whatsapp-float span {
        position: absolute !important;
        width: 1px !important;
        height: 1px !important;
        margin: -1px !important;
        padding: 0 !important;
        border: 0 !important;
        overflow: hidden !important;
        clip: rect(0 0 0 0) !important;
        white-space: nowrap !important;
    }
}

/* Mobile floating actions and header polish. */
.alm-whatsapp-float,
.alm-whatsapp-float:visited {
    right: 18px !important;
    left: auto !important;
    bottom: 18px !important;
}

#ast-scroll-top,
.ast-scroll-top-icon,
.ast-scroll-to-top-right {
    right: 20px !important;
    left: auto !important;
    bottom: 88px !important;
}

#ast-scroll-top,
.ast-scroll-top-icon {
    width: 46px !important;
    height: 46px !important;
    border: 1px solid rgba(214, 166, 55, 0.48) !important;
    border-radius: 14px !important;
    color: #ffffff !important;
    background: linear-gradient(135deg, #057c8c 0%, #06285a 100%) !important;
    box-shadow: 0 14px 30px rgba(7, 31, 77, 0.24) !important;
}

#ast-scroll-top:hover,
#ast-scroll-top:focus-visible,
.ast-scroll-top-icon:hover,
.ast-scroll-top-icon:focus-visible {
    color: #ffffff !important;
    border-color: rgba(214, 166, 55, 0.72) !important;
    background: linear-gradient(135deg, #078da0 0%, #07346d 100%) !important;
    transform: translateY(-2px);
}

#ast-scroll-top svg,
#ast-scroll-top .ast-icon,
.ast-scroll-top-icon svg,
.ast-scroll-top-icon .ast-icon {
    color: #ffffff !important;
    fill: currentColor !important;
    stroke: currentColor !important;
}

@media (max-width: 921px) {
    .ast-mobile-header-wrap .ast-primary-header-bar,
    .ast-mobile-header-wrap .main-header-bar {
        position: relative !important;
        min-height: 92px !important;
        overflow: hidden !important;
        border-bottom: 1px solid rgba(5, 124, 140, 0.12) !important;
        background:
            linear-gradient(90deg, rgba(232, 247, 248, 0.92), #ffffff 36%, #ffffff 66%, rgba(255, 246, 221, 0.72)) !important;
        box-shadow: 0 10px 28px rgba(7, 31, 77, 0.06) !important;
        transition: min-height 220ms ease, box-shadow 220ms ease, background-color 220ms ease;
    }

    .ast-mobile-header-wrap .ast-primary-header-bar::before,
    .ast-mobile-header-wrap .main-header-bar::before {
        position: absolute;
        inset-inline: 0;
        bottom: 0;
        height: 3px;
        content: "";
        background: linear-gradient(90deg, transparent, var(--alm-teal), var(--alm-gold), transparent);
        opacity: 0.82;
        transform-origin: center;
        transition: opacity 220ms ease, transform 220ms ease;
    }

    .ast-mobile-header-wrap .ast-primary-header-bar::after,
    .ast-mobile-header-wrap .main-header-bar::after {
        position: absolute;
        top: 50%;
        left: 50%;
        z-index: 1;
        display: inline-flex;
        align-items: center;
        min-height: 30px;
        padding: 5px 12px;
        border: 1px solid rgba(5, 124, 140, 0.16);
        border-radius: 999px;
        content: "تعلم بثقة";
        color: var(--alm-navy);
        background: rgba(255, 255, 255, 0.72);
        box-shadow: 0 8px 22px rgba(7, 31, 77, 0.08);
        font-family: var(--alm-font);
        font-size: 0.78rem;
        font-weight: 900;
        white-space: nowrap;
        transform: translate(-50%, -50%);
        transition: color 220ms ease, background-color 220ms ease, border-color 220ms ease, transform 220ms ease, opacity 220ms ease;
        pointer-events: none;
    }

    .ast-mobile-header-wrap .custom-logo-link img,
    .ast-mobile-header-wrap .site-logo-img img {
        transition: transform 220ms ease, max-height 220ms ease;
    }

    .alm-is-scrolled .ast-mobile-header-wrap .ast-primary-header-bar,
    .alm-is-scrolled .ast-mobile-header-wrap .main-header-bar {
        min-height: 74px !important;
        background:
            linear-gradient(90deg, rgba(232, 247, 248, 0.96), #ffffff 44%, rgba(255, 246, 221, 0.86)) !important;
        box-shadow: 0 14px 34px rgba(7, 31, 77, 0.13) !important;
    }

    .alm-is-scrolled .ast-mobile-header-wrap .ast-primary-header-bar::before,
    .alm-is-scrolled .ast-mobile-header-wrap .main-header-bar::before {
        opacity: 1;
        transform: scaleX(0.72);
    }

    .alm-is-scrolled .ast-mobile-header-wrap .ast-primary-header-bar::after,
    .alm-is-scrolled .ast-mobile-header-wrap .main-header-bar::after {
        color: #ffffff;
        border-color: rgba(214, 166, 55, 0.42);
        background: linear-gradient(135deg, #057c8c, #06285a);
        transform: translate(-50%, -50%) scale(0.94);
    }

    .alm-is-scrolled .ast-mobile-header-wrap .custom-logo-link img,
    .alm-is-scrolled .ast-mobile-header-wrap .site-logo-img img {
        transform: scale(0.9);
    }
}

@media (max-width: 390px) {
    .ast-mobile-header-wrap .ast-primary-header-bar::after,
    .ast-mobile-header-wrap .main-header-bar::after {
        min-height: 28px;
        padding-inline: 9px;
        font-size: 0.72rem;
    }
}

/* Final mobile scroll treatment: remove slogan chip and center the logo elegantly. */
@media (max-width: 921px) {
    .ast-mobile-header-wrap .ast-primary-header-bar::after,
    .ast-mobile-header-wrap .main-header-bar::after {
        display: none !important;
        content: "" !important;
    }

    .ast-mobile-header-wrap .ast-primary-header-bar,
    .ast-mobile-header-wrap .main-header-bar {
        min-height: 90px !important;
    }

    .ast-mobile-header-wrap .ast-builder-grid-row,
    .ast-mobile-header-wrap .site-primary-header-wrap {
        position: relative !important;
        min-height: inherit !important;
    }

    .ast-mobile-header-wrap .site-branding,
    .ast-mobile-header-wrap .ast-site-identity {
        position: absolute !important;
        top: 50% !important;
        right: 18px !important;
        left: auto !important;
        z-index: 4 !important;
        margin: 0 !important;
        transform: translateY(-50%) scale(1) !important;
        transform-origin: center !important;
        transition: right 260ms ease, transform 260ms ease, filter 260ms ease;
    }

    .ast-mobile-header-wrap .custom-logo-link,
    .ast-mobile-header-wrap .site-logo-img {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    .ast-mobile-header-wrap .custom-logo-link img,
    .ast-mobile-header-wrap .site-logo-img img {
        max-height: 62px !important;
        transition: max-height 260ms ease, transform 260ms ease, filter 260ms ease;
    }

    .alm-is-scrolled .ast-mobile-header-wrap .ast-primary-header-bar,
    .alm-is-scrolled .ast-mobile-header-wrap .main-header-bar {
        min-height: 74px !important;
    }

    .alm-is-scrolled .ast-mobile-header-wrap .site-branding,
    .alm-is-scrolled .ast-mobile-header-wrap .ast-site-identity {
        right: 50% !important;
        transform: translate(50%, -50%) scale(0.92) !important;
        filter: drop-shadow(0 8px 16px rgba(7, 31, 77, 0.1));
    }

    .alm-is-scrolled .ast-mobile-header-wrap .custom-logo-link img,
    .alm-is-scrolled .ast-mobile-header-wrap .site-logo-img img {
        max-height: 54px !important;
        transform: none !important;
    }
}

@media (max-width: 390px) {
    .ast-mobile-header-wrap .site-branding,
    .ast-mobile-header-wrap .ast-site-identity {
        right: 14px !important;
    }

    .alm-is-scrolled .ast-mobile-header-wrap .site-branding,
    .alm-is-scrolled .ast-mobile-header-wrap .ast-site-identity {
        right: 50% !important;
    }
}

/* Corrected mobile scroll logo placement: centered with breathing room, not overlaid. */
@media (max-width: 921px) {
    .ast-mobile-header-wrap .ast-primary-header-bar,
    .ast-mobile-header-wrap .main-header-bar {
        min-height: 88px !important;
    }

    .ast-mobile-header-wrap .ast-builder-grid-row,
    .ast-mobile-header-wrap .site-primary-header-wrap {
        display: grid !important;
        grid-template-columns: 72px minmax(128px, 1fr) 72px !important;
        align-items: center !important;
        min-height: inherit !important;
        padding-inline: 16px !important;
    }

    .ast-mobile-header-wrap .site-header-primary-section-left,
    .ast-mobile-header-wrap .ast-builder-layout-element[data-section*="section-hb-mobile-trigger"] {
        grid-column: 1 !important;
        justify-self: start !important;
        z-index: 5 !important;
    }

    .ast-mobile-header-wrap .site-branding,
    .ast-mobile-header-wrap .ast-site-identity {
        position: static !important;
        inset: auto !important;
        grid-column: 3 !important;
        justify-self: end !important;
        width: auto !important;
        max-width: 128px !important;
        margin: 0 !important;
        transform: none !important;
        filter: none !important;
        transition: max-width 260ms ease, transform 260ms ease, filter 260ms ease;
    }

    .alm-is-scrolled .ast-mobile-header-wrap .ast-primary-header-bar,
    .alm-is-scrolled .ast-mobile-header-wrap .main-header-bar {
        min-height: 74px !important;
    }

    .alm-is-scrolled .ast-mobile-header-wrap .site-branding,
    .alm-is-scrolled .ast-mobile-header-wrap .ast-site-identity {
        grid-column: 2 !important;
        justify-self: center !important;
        max-width: min(156px, calc(100vw - 180px)) !important;
        transform: scale(0.94) !important;
        filter: drop-shadow(0 8px 16px rgba(7, 31, 77, 0.1)) !important;
    }

    .alm-is-scrolled .ast-mobile-header-wrap .custom-logo-link img,
    .alm-is-scrolled .ast-mobile-header-wrap .site-logo-img img {
        max-height: 52px !important;
    }
}

@media (max-width: 390px) {
    .ast-mobile-header-wrap .ast-builder-grid-row,
    .ast-mobile-header-wrap .site-primary-header-wrap {
        grid-template-columns: 64px minmax(118px, 1fr) 64px !important;
        padding-inline: 12px !important;
    }

    .alm-is-scrolled .ast-mobile-header-wrap .site-branding,
    .alm-is-scrolled .ast-mobile-header-wrap .ast-site-identity {
        max-width: min(142px, calc(100vw - 156px)) !important;
    }
}

/* Final mobile header layout: big logo, burger in place, elegant middle shortcuts. */
@media (max-width: 921px) {
    .ast-mobile-header-wrap .ast-primary-header-bar,
    .ast-mobile-header-wrap .main-header-bar {
        min-height: 94px !important;
    }

    .alm-is-scrolled .ast-mobile-header-wrap .ast-primary-header-bar,
    .alm-is-scrolled .ast-mobile-header-wrap .main-header-bar {
        min-height: 80px !important;
    }

    .ast-mobile-header-wrap .ast-builder-grid-row,
    .ast-mobile-header-wrap .site-primary-header-wrap {
        display: grid !important;
        grid-template-columns: 64px minmax(0, 1fr) minmax(146px, auto) !important;
        gap: 10px !important;
        align-items: center !important;
        min-height: inherit !important;
        padding-inline: 16px !important;
    }

    .ast-mobile-header-wrap .site-header-primary-section-left,
    .ast-mobile-header-wrap .ast-builder-layout-element[data-section*="section-hb-mobile-trigger"] {
        grid-column: 1 !important;
        justify-self: start !important;
        align-self: center !important;
        z-index: 6 !important;
    }

    .ast-mobile-header-wrap .site-branding,
    .ast-mobile-header-wrap .ast-site-identity,
    .alm-is-scrolled .ast-mobile-header-wrap .site-branding,
    .alm-is-scrolled .ast-mobile-header-wrap .ast-site-identity {
        position: static !important;
        inset: auto !important;
        grid-column: 3 !important;
        justify-self: end !important;
        align-self: center !important;
        width: auto !important;
        max-width: 154px !important;
        margin: 0 !important;
        transform: none !important;
        filter: none !important;
    }

    .ast-mobile-header-wrap .custom-logo-link img,
    .ast-mobile-header-wrap .site-logo-img img {
        max-height: 74px !important;
        transform: none !important;
        transition: max-height 220ms ease, filter 220ms ease;
    }

    .alm-is-scrolled .ast-mobile-header-wrap .custom-logo-link img,
    .alm-is-scrolled .ast-mobile-header-wrap .site-logo-img img {
        max-height: 66px !important;
        filter: drop-shadow(0 6px 14px rgba(7, 31, 77, 0.08));
    }

    .alm-mobile-header-shortcuts {
        grid-column: 2 !important;
        justify-self: center !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 6px !important;
        min-width: 0 !important;
        direction: rtl !important;
        opacity: 1;
        transform: translateY(0);
        transition: opacity 200ms ease, transform 200ms ease;
    }

    .alm-mobile-header-shortcuts a,
    .alm-mobile-header-shortcuts a:visited {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        min-height: 34px !important;
        padding: 6px 10px !important;
        border: 1px solid rgba(5, 124, 140, 0.18) !important;
        border-radius: 999px !important;
        color: var(--alm-navy) !important;
        background:
            linear-gradient(135deg, rgba(255, 255, 255, 0.88), rgba(232, 247, 248, 0.72)) !important;
        box-shadow: 0 8px 22px rgba(7, 31, 77, 0.07) !important;
        font-family: var(--alm-font) !important;
        font-size: 0.78rem !important;
        font-weight: 900 !important;
        line-height: 1 !important;
        text-decoration: none !important;
        white-space: nowrap !important;
    }

    .alm-mobile-header-shortcuts a:first-child {
        border-color: rgba(214, 166, 55, 0.38) !important;
        color: #07346d !important;
        background:
            linear-gradient(135deg, rgba(255, 246, 221, 0.92), rgba(255, 255, 255, 0.86)) !important;
    }

    .alm-mobile-header-shortcuts a:hover,
    .alm-mobile-header-shortcuts a:focus-visible {
        color: #ffffff !important;
        border-color: rgba(214, 166, 55, 0.55) !important;
        background: linear-gradient(135deg, #057c8c, #06285a) !important;
        outline: 0 !important;
        transform: translateY(-1px);
    }

    .alm-is-scrolled .alm-mobile-header-shortcuts {
        transform: translateY(-1px);
    }
}

@media (max-width: 390px) {
    .ast-mobile-header-wrap .ast-builder-grid-row,
    .ast-mobile-header-wrap .site-primary-header-wrap {
        grid-template-columns: 58px minmax(0, 1fr) minmax(132px, auto) !important;
        gap: 7px !important;
        padding-inline: 12px !important;
    }

    .ast-mobile-header-wrap .custom-logo-link img,
    .ast-mobile-header-wrap .site-logo-img img {
        max-height: 68px !important;
    }

    .alm-is-scrolled .ast-mobile-header-wrap .custom-logo-link img,
    .alm-is-scrolled .ast-mobile-header-wrap .site-logo-img img {
        max-height: 61px !important;
    }

    .alm-mobile-header-shortcuts {
        justify-self: start !important;
    }

    .alm-mobile-header-shortcuts a {
        min-height: 32px !important;
        padding-inline: 9px !important;
        font-size: 0.74rem !important;
    }

    .alm-mobile-header-shortcuts a:nth-child(2) {
        display: none !important;
    }
}

@media (max-width: 340px) {
    .alm-mobile-header-shortcuts {
        display: none !important;
    }
}

/* Hard reset mobile header: logo right, burger left, no added header links. */
@media (max-width: 921px) {
    .alm-mobile-header-shortcuts {
        display: none !important;
    }

    .ast-mobile-header-wrap .ast-primary-header-bar,
    .ast-mobile-header-wrap .main-header-bar,
    .alm-is-scrolled .ast-mobile-header-wrap .ast-primary-header-bar,
    .alm-is-scrolled .ast-mobile-header-wrap .main-header-bar {
        min-height: 88px !important;
    }

    .ast-mobile-header-wrap .ast-primary-header-bar::after,
    .ast-mobile-header-wrap .main-header-bar::after {
        display: none !important;
        content: "" !important;
    }

    .ast-mobile-header-wrap .ast-builder-grid-row,
    .ast-mobile-header-wrap .site-primary-header-wrap {
        display: grid !important;
        grid-template-columns: 64px minmax(0, 1fr) auto !important;
        gap: 12px !important;
        align-items: center !important;
        min-height: inherit !important;
        padding-inline: 16px !important;
    }

    .ast-mobile-header-wrap .site-header-primary-section-left,
    .ast-mobile-header-wrap .ast-builder-layout-element[data-section*="section-hb-mobile-trigger"] {
        grid-column: 1 !important;
        justify-self: start !important;
        align-self: center !important;
        z-index: 6 !important;
    }

    .ast-mobile-header-wrap .site-branding,
    .ast-mobile-header-wrap .ast-site-identity,
    .alm-is-scrolled .ast-mobile-header-wrap .site-branding,
    .alm-is-scrolled .ast-mobile-header-wrap .ast-site-identity {
        position: static !important;
        inset: auto !important;
        grid-column: 3 !important;
        justify-self: end !important;
        align-self: center !important;
        width: auto !important;
        max-width: 132px !important;
        margin: 0 !important;
        transform: none !important;
        filter: none !important;
    }

    .ast-mobile-header-wrap .custom-logo-link img,
    .ast-mobile-header-wrap .site-logo-img img,
    .alm-is-scrolled .ast-mobile-header-wrap .custom-logo-link img,
    .alm-is-scrolled .ast-mobile-header-wrap .site-logo-img img {
        max-height: 62px !important;
        transform: none !important;
        filter: none !important;
    }
}

@media (max-width: 390px) {
    .ast-mobile-header-wrap .ast-builder-grid-row,
    .ast-mobile-header-wrap .site-primary-header-wrap {
        grid-template-columns: 58px minmax(0, 1fr) auto !important;
        padding-inline: 12px !important;
    }

    .ast-mobile-header-wrap .custom-logo-link img,
    .ast-mobile-header-wrap .site-logo-img img,
    .alm-is-scrolled .ast-mobile-header-wrap .custom-logo-link img,
    .alm-is-scrolled .ast-mobile-header-wrap .site-logo-img img {
        max-height: 58px !important;
    }
}

/* FINAL mobile header reset: normal logo on right, burger on left, no squeezed layout. */
@media (max-width: 921px) {
    .alm-mobile-header-shortcuts {
        display: none !important;
    }

    .ast-mobile-header-wrap .ast-primary-header-bar,
    .ast-mobile-header-wrap .main-header-bar,
    .alm-is-scrolled .ast-mobile-header-wrap .ast-primary-header-bar,
    .alm-is-scrolled .ast-mobile-header-wrap .main-header-bar {
        position: relative !important;
        min-height: 88px !important;
        padding: 0 !important;
    }

    .ast-mobile-header-wrap .ast-builder-grid-row,
    .ast-mobile-header-wrap .site-primary-header-wrap {
        position: relative !important;
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        min-height: 96px !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .ast-mobile-header-wrap .site-branding,
    .ast-mobile-header-wrap .ast-site-identity,
    .alm-is-scrolled .ast-mobile-header-wrap .site-branding,
    .alm-is-scrolled .ast-mobile-header-wrap .ast-site-identity {
        position: absolute !important;
        top: 50% !important;
        right: 22px !important;
        left: auto !important;
        z-index: 5 !important;
        display: flex !important;
        align-items: center !important;
        width: auto !important;
        min-width: 0 !important;
        max-width: none !important;
        margin: 0 !important;
        padding: 0 !important;
        transform: translateY(-50%) !important;
        filter: none !important;
    }

    .ast-mobile-header-wrap .custom-logo-link,
    .ast-mobile-header-wrap .site-logo-img {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: auto !important;
        max-width: none !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .ast-mobile-header-wrap .custom-logo-link img,
    .ast-mobile-header-wrap .site-logo-img img,
    .alm-is-scrolled .ast-mobile-header-wrap .custom-logo-link img,
    .alm-is-scrolled .ast-mobile-header-wrap .site-logo-img img {
        display: block !important;
        width: auto !important;
        min-width: 0 !important;
        max-width: 158px !important;
        max-height: 68px !important;
        object-fit: contain !important;
        transform: none !important;
        filter: none !important;
    }

    .ast-mobile-header-wrap .ast-builder-layout-element[data-section*="mobile-trigger"],
    .ast-mobile-header-wrap .site-header-primary-section-left,
    .ast-mobile-header-wrap .site-header-primary-section-right:has(.menu-toggle) {
        position: absolute !important;
        top: 50% !important;
        left: 22px !important;
        right: auto !important;
        z-index: 6 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: auto !important;
        margin: 0 !important;
        padding: 0 !important;
        transform: translateY(-50%) !important;
    }

    .ast-mobile-header-wrap .ast-button-wrap .menu-toggle,
    .ast-mobile-header-wrap .ast-button-wrap .menu-toggle.ast-mobile-menu-trigger-fill {
        width: 48px !important;
        height: 48px !important;
        min-width: 48px !important;
        min-height: 48px !important;
        margin: 0 !important;
    }
}

@media (max-width: 390px) {
    .ast-mobile-header-wrap .site-branding,
    .ast-mobile-header-wrap .ast-site-identity,
    .alm-is-scrolled .ast-mobile-header-wrap .site-branding,
    .alm-is-scrolled .ast-mobile-header-wrap .ast-site-identity {
        right: 14px !important;
    }

    .ast-mobile-header-wrap .custom-logo-link img,
    .ast-mobile-header-wrap .site-logo-img img,
    .alm-is-scrolled .ast-mobile-header-wrap .custom-logo-link img,
    .alm-is-scrolled .ast-mobile-header-wrap .site-logo-img img {
        max-width: 144px !important;
        max-height: 62px !important;
    }

    .ast-mobile-header-wrap .ast-builder-layout-element[data-section*="mobile-trigger"],
    .ast-mobile-header-wrap .site-header-primary-section-left,
    .ast-mobile-header-wrap .site-header-primary-section-right:has(.menu-toggle) {
        left: 14px !important;
    }
}

/* Final level selector: four focused education levels only. */
.alm-home-premium .alm-category-grid__items {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 22px !important;
}

.alm-home-premium .alm-category-card {
    grid-template-columns: 1fr !important;
    align-content: start !important;
    align-items: start !important;
    min-height: 220px !important;
    padding: 26px 24px !important;
    overflow: hidden !important;
}

.alm-home-premium .alm-category-card::before {
    inset-block: 24px !important;
    inset-inline-start: 0 !important;
    width: 4px !important;
    transform: scaleY(0.42) !important;
}

.alm-home-premium .alm-category-card:hover::before,
.alm-home-premium .alm-category-card:focus-visible::before {
    transform: scaleY(1) !important;
}

.alm-home-premium .alm-category-card__icon {
    margin-block-end: 20px !important;
}

.alm-home-premium .alm-category-card__body {
    display: block !important;
    width: 100% !important;
}

.alm-home-premium .alm-category-card__body strong {
    display: block !important;
    margin-block-end: 10px !important;
    color: #057c8c !important;
    font-size: 1.32rem !important;
    font-weight: 900 !important;
    line-height: 1.25 !important;
    white-space: normal !important;
}

.alm-home-premium .alm-category-card__body small {
    display: block !important;
    max-width: 24ch !important;
    color: #26364d !important;
    font-size: 0.98rem !important;
    font-weight: 700 !important;
    line-height: 1.65 !important;
    white-space: normal !important;
    word-break: normal !important;
    overflow-wrap: normal !important;
}

.alm-home-premium .alm-category-card__arrow {
    position: absolute !important;
    inset-inline-start: 20px !important;
    bottom: 20px !important;
}

@media (max-width: 1100px) {
    .alm-home-premium .alm-category-grid__items {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 640px) {
    .alm-home-premium .alm-category-grid__items {
        grid-template-columns: 1fr !important;
    }

    .alm-home-premium .alm-category-card {
        min-height: 178px !important;
        padding: 22px !important;
    }

    .alm-home-premium .alm-category-card__body strong {
        font-size: 1.16rem !important;
    }
}

/* Final category-card readability polish: cards should not look like underlined text links. */
.alm-home-premium .alm-category-grid,
.alm-home-premium .alm-category-grid * {
    text-decoration: none !important;
}

.alm-home-premium .alm-category-grid .alm-section-head p {
    color: #475569 !important;
    font-weight: 700 !important;
    line-height: 1.85 !important;
}

.alm-home-premium .alm-category-card,
.alm-home-premium .alm-category-card:visited {
    align-items: center !important;
    min-height: 140px !important;
    padding: 20px !important;
    border-color: rgba(7, 31, 77, 0.12) !important;
    color: var(--alm-navy) !important;
    background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%) !important;
    box-shadow: 0 12px 28px rgba(7, 31, 77, 0.06) !important;
}

.alm-home-premium .alm-category-card:hover,
.alm-home-premium .alm-category-card:focus-visible {
    border-color: rgba(5, 124, 140, 0.34) !important;
    color: var(--alm-navy) !important;
    background: linear-gradient(135deg, #ffffff 0%, rgba(232, 247, 248, 0.72) 100%) !important;
    box-shadow: 0 18px 42px rgba(7, 31, 77, 0.11) !important;
}

.alm-home-premium .alm-category-card__body {
    gap: 7px !important;
    text-align: right !important;
}

.alm-home-premium .alm-category-card__body strong {
    color: #057c8c !important;
    font-size: 1.08rem !important;
    font-weight: 900 !important;
    line-height: 1.35 !important;
}

.alm-home-premium .alm-category-card__body small {
    color: #334155 !important;
    font-size: 0.94rem !important;
    font-weight: 700 !important;
    line-height: 1.75 !important;
}

.alm-home-premium .alm-category-card__icon {
    width: 52px !important;
    height: 52px !important;
    border: 1px solid rgba(5, 124, 140, 0.08) !important;
    border-radius: 10px !important;
    color: #057c8c !important;
    background: rgba(232, 247, 248, 0.86) !important;
}

.alm-home-premium .alm-category-card__arrow {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 24px !important;
    height: 24px !important;
    border-radius: 999px !important;
    color: var(--alm-gold) !important;
    background: rgba(214, 166, 55, 0.09) !important;
    font-size: 0.95rem !important;
}

@media (max-width: 640px) {
    .alm-home-premium .alm-category-card {
        min-height: 118px !important;
        padding: 18px !important;
    }

    .alm-home-premium .alm-category-card__body strong {
        font-size: 1.02rem !important;
    }

    .alm-home-premium .alm-category-card__body small {
        font-size: 0.9rem !important;
    }
}

/* Absolute final mobile header placement: do not position Astra wrappers. */
@media (max-width: 921px) {
    .ast-mobile-header-wrap .ast-builder-grid-row,
    .ast-mobile-header-wrap .site-primary-header-wrap {
        position: relative !important;
        display: block !important;
        width: 100% !important;
        min-height: 88px !important;
        padding: 0 !important;
    }

    .ast-mobile-header-wrap .site-header-primary-section-left,
    .ast-mobile-header-wrap .site-header-primary-section-right,
    .ast-mobile-header-wrap .ast-builder-layout-element[data-section*="mobile-trigger"] {
        position: static !important;
        inset: auto !important;
        width: auto !important;
        max-width: none !important;
        margin: 0 !important;
        padding: 0 !important;
        transform: none !important;
    }

    .ast-mobile-header-wrap .site-branding,
    .ast-mobile-header-wrap .ast-site-identity,
    .alm-is-scrolled .ast-mobile-header-wrap .site-branding,
    .alm-is-scrolled .ast-mobile-header-wrap .ast-site-identity {
        position: absolute !important;
        top: 50% !important;
        right: 22px !important;
        left: auto !important;
        z-index: 5 !important;
        width: auto !important;
        max-width: none !important;
        margin: 0 !important;
        padding: 0 !important;
        transform: translateY(-50%) !important;
    }

    .ast-mobile-header-wrap .custom-logo-link img,
    .ast-mobile-header-wrap .site-logo-img img,
    .alm-is-scrolled .ast-mobile-header-wrap .custom-logo-link img,
    .alm-is-scrolled .ast-mobile-header-wrap .site-logo-img img {
        width: auto !important;
        max-width: 158px !important;
        max-height: 68px !important;
        object-fit: contain !important;
        transform: none !important;
    }

    .ast-mobile-header-wrap .ast-button-wrap .menu-toggle,
    .ast-mobile-header-wrap .ast-button-wrap .menu-toggle.ast-mobile-menu-trigger-fill {
        position: absolute !important;
        top: 50% !important;
        left: 22px !important;
        right: auto !important;
        z-index: 6 !important;
        width: 48px !important;
        height: 48px !important;
        min-width: 48px !important;
        min-height: 48px !important;
        margin: 0 !important;
        transform: translateY(-50%) !important;
    }
}

@media (max-width: 390px) {
    .ast-mobile-header-wrap .site-branding,
    .ast-mobile-header-wrap .ast-site-identity,
    .alm-is-scrolled .ast-mobile-header-wrap .site-branding,
    .alm-is-scrolled .ast-mobile-header-wrap .ast-site-identity {
        right: 14px !important;
    }

    .ast-mobile-header-wrap .custom-logo-link img,
    .ast-mobile-header-wrap .site-logo-img img,
    .alm-is-scrolled .ast-mobile-header-wrap .custom-logo-link img,
    .alm-is-scrolled .ast-mobile-header-wrap .site-logo-img img {
        max-width: 144px !important;
        max-height: 62px !important;
    }

    .ast-mobile-header-wrap .ast-button-wrap .menu-toggle,
    .ast-mobile-header-wrap .ast-button-wrap .menu-toggle.ast-mobile-menu-trigger-fill {
        left: 14px !important;
    }
}

/* Delivery QA guard: remove accidental underlines and lock the final responsive polish. */
html,
body {
    max-width: 100%;
}

html {
    overflow-x: clip;
}

body {
    overflow-x: visible;
    overflow-y: visible;
}

body.almastour-premium-theme {
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

.almastour-premium-theme a,
.almastour-premium-theme a:visited,
.almastour-premium-theme a:hover,
.almastour-premium-theme a:focus-visible,
.almastour-premium-theme a *,
.site-header a,
.site-footer a,
.alm-footer a,
.alm-home-premium a,
.alm-mobile-panel a,
.alm-mobile-menu-list a {
    text-decoration: none !important;
    text-decoration-line: none !important;
    text-decoration-color: transparent !important;
    text-decoration-thickness: 0 !important;
    text-underline-offset: 0 !important;
}

.almastour-premium-theme .entry-title a,
.almastour-premium-theme .post-title a,
.almastour-premium-theme .elementor-post__title a,
.almastour-premium-theme .elementor-post__read-more,
.almastour-premium-theme .wp-block-latest-posts a,
.almastour-premium-theme .alm-card a,
.almastour-premium-theme .alm-card__link,
.almastour-premium-theme .alm-post-card h3 a,
.almastour-premium-theme .alm-post-card__link {
    background-image: none !important;
    border-bottom: 0 !important;
    box-shadow: none !important;
    text-decoration: none !important;
    text-decoration-line: none !important;
}

.almastour-premium-theme a,
.alm-home-premium a,
.alm-footer a,
.site-header a,
.alm-mobile-panel a {
    cursor: pointer;
}

.alm-home-premium,
.alm-home-premium *,
.alm-footer,
.alm-footer *,
.alm-mobile-panel,
.alm-mobile-panel * {
    box-sizing: border-box;
}

.alm-home-premium .alm-container,
.alm-footer__grid,
.alm-footer__bottom {
    max-width: min(1180px, calc(100vw - 32px)) !important;
}

@media (min-width: 922px) {
    .ast-desktop .ast-primary-header-bar .main-header-menu,
    .ast-desktop .main-header-bar .main-header-menu,
    .ast-desktop .ast-builder-menu-1,
    .ast-desktop .ast-builder-menu-1 .main-header-menu {
        margin-inline-start: clamp(8px, 1vw, 18px) !important;
        margin-inline-end: auto !important;
    }

    .ast-desktop .main-header-menu .menu-link,
    .ast-desktop .ast-builder-menu-1 .menu-item > .menu-link {
        white-space: nowrap !important;
        word-break: keep-all !important;
        overflow-wrap: normal !important;
        hyphens: none !important;
    }
}

.alm-home-premium #alm-category-grid .alm-section-head {
    margin-inline: auto !important;
    text-align: center !important;
}

.alm-home-premium #alm-category-grid .alm-section-head p {
    max-width: 660px !important;
    margin-inline: auto !important;
    color: #475569 !important;
    font-weight: 700 !important;
}

.alm-home-premium #alm-category-grid .alm-category-grid__items {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 18px !important;
}

.alm-home-premium #alm-category-grid .alm-category-card,
.alm-home-premium #alm-category-grid .alm-category-card:visited {
    position: relative !important;
    display: grid !important;
    grid-template-columns: 54px minmax(0, 1fr) 28px !important;
    gap: 14px !important;
    align-content: center !important;
    align-items: center !important;
    min-height: 150px !important;
    padding: 20px 22px !important;
    border-color: rgba(7, 31, 77, 0.12) !important;
    color: var(--alm-navy) !important;
    background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%) !important;
    box-shadow: 0 12px 28px rgba(7, 31, 77, 0.06) !important;
    overflow: hidden !important;
}

.alm-home-premium #alm-category-grid .alm-category-card::before {
    inset-block: 22px !important;
    inset-inline-start: 0 !important;
    width: 4px !important;
    background: linear-gradient(180deg, var(--alm-teal), var(--alm-gold)) !important;
    transform: scaleY(0.42) !important;
}

.alm-home-premium #alm-category-grid .alm-category-card:hover,
.alm-home-premium #alm-category-grid .alm-category-card:focus-visible {
    border-color: rgba(5, 124, 140, 0.34) !important;
    color: var(--alm-navy) !important;
    background: linear-gradient(135deg, #ffffff 0%, rgba(232, 247, 248, 0.74) 100%) !important;
    box-shadow: 0 18px 42px rgba(7, 31, 77, 0.11) !important;
    transform: translateY(-3px) !important;
}

.alm-home-premium #alm-category-grid .alm-category-card:hover::before,
.alm-home-premium #alm-category-grid .alm-category-card:focus-visible::before {
    transform: scaleY(1) !important;
}

.alm-home-premium #alm-category-grid .alm-category-card__icon {
    width: 54px !important;
    height: 54px !important;
    margin: 0 !important;
    border: 1px solid rgba(5, 124, 140, 0.1) !important;
    border-radius: 10px !important;
    color: #057c8c !important;
    background: rgba(232, 247, 248, 0.9) !important;
}

.alm-home-premium #alm-category-grid .alm-category-card__body {
    display: block !important;
    min-width: 0 !important;
    width: 100% !important;
    text-align: right !important;
}

.alm-home-premium #alm-category-grid .alm-category-card__body strong {
    display: block !important;
    margin: 0 0 6px !important;
    color: #057c8c !important;
    font-size: clamp(1.12rem, 1.3vw, 1.24rem) !important;
    font-weight: 900 !important;
    line-height: 1.35 !important;
    white-space: normal !important;
    word-break: keep-all !important;
}

.alm-home-premium #alm-category-grid .alm-category-card__body small {
    display: block !important;
    max-width: none !important;
    color: #26364d !important;
    font-size: 0.94rem !important;
    font-weight: 700 !important;
    line-height: 1.65 !important;
    white-space: normal !important;
    word-break: normal !important;
    overflow-wrap: break-word !important;
}

.alm-home-premium #alm-category-grid .alm-category-card__arrow {
    position: static !important;
    inset: auto !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 26px !important;
    height: 26px !important;
    border-radius: 999px !important;
    color: var(--alm-gold) !important;
    background: rgba(214, 166, 55, 0.1) !important;
    font-size: 0.95rem !important;
}

.alm-home-premium .alm-post-card {
    transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.alm-home-premium .alm-post-card:hover {
    border-color: rgba(5, 124, 140, 0.24) !important;
    box-shadow: 0 18px 42px rgba(7, 31, 77, 0.1) !important;
    transform: translateY(-3px);
}

.alm-home-premium .alm-post-card h3,
.alm-home-premium .alm-post-card h3 a {
    text-decoration: none !important;
    background-image: none !important;
    border-bottom: 0 !important;
    box-shadow: none !important;
}

.alm-home-premium .alm-post-card h3 a,
.alm-home-premium .alm-post-card h3 a:visited {
    display: inline !important;
    color: #057c8c !important;
    font-weight: 900 !important;
    line-height: 1.42 !important;
}

.alm-home-premium .alm-post-card h3 a:hover,
.alm-home-premium .alm-post-card h3 a:focus-visible {
    color: var(--alm-navy) !important;
}

.alm-home-premium .alm-post-card__link,
.alm-home-premium .alm-post-card__link:visited {
    align-items: center !important;
    width: fit-content !important;
    min-height: 38px !important;
    padding: 6px 13px !important;
    border: 1px solid rgba(5, 124, 140, 0.18) !important;
    border-radius: 999px !important;
    color: #057c8c !important;
    background: rgba(232, 247, 248, 0.64) !important;
    font-weight: 900 !important;
}

.alm-home-premium .alm-post-card__link:hover,
.alm-home-premium .alm-post-card__link:focus-visible {
    color: #ffffff !important;
    border-color: rgba(214, 166, 55, 0.46) !important;
    background: linear-gradient(135deg, #057c8c, #06285a) !important;
}

.alm-home-premium .alm-btn,
.alm-home-premium .alm-post-card__link,
.alm-mobile-panel a,
.alm-footer__contact a,
.alm-footer__links a {
    min-height: 44px;
}

.alm-mobile-panel__quicklinks a,
.alm-mobile-panel__chips a,
.alm-mobile-panel__cta,
.ast-mobile-popup-drawer .main-header-menu .menu-link,
.ast-header-break-point .main-header-menu .menu-link {
    text-decoration: none !important;
}

@media (max-width: 1100px) {
    .alm-home-premium #alm-category-grid .alm-category-grid__items,
    .alm-home-premium .alm-post-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 760px) {
    .alm-home-premium .alm-container,
    .alm-footer__grid,
    .alm-footer__bottom {
        max-width: calc(100vw - 24px) !important;
    }

    .alm-home-premium #alm-category-grid .alm-category-grid__items,
    .alm-home-premium .alm-post-grid {
        grid-template-columns: 1fr !important;
    }

    .alm-home-premium #alm-category-grid .alm-category-card {
        grid-template-columns: 50px minmax(0, 1fr) 26px !important;
        min-height: 122px !important;
        padding: 18px !important;
    }

    .alm-home-premium #alm-category-grid .alm-category-card__icon {
        width: 50px !important;
        height: 50px !important;
    }

    .alm-home-premium #alm-category-grid .alm-category-card__body strong {
        font-size: 1.08rem !important;
    }

    .alm-home-premium #alm-category-grid .alm-category-card__body small {
        font-size: 0.91rem !important;
        line-height: 1.6 !important;
    }

    .alm-home-premium .alm-hero {
        padding-block: 56px !important;
    }

    .alm-hero-premium__content h1 {
        font-size: clamp(2.05rem, 10vw, 3.2rem) !important;
        line-height: 1.18 !important;
    }

    .alm-contact-cta__actions .alm-btn,
    .alm-home-premium .alm-btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 420px) {
    .alm-home-premium #alm-category-grid .alm-category-card {
        grid-template-columns: 46px minmax(0, 1fr) 24px !important;
        gap: 11px !important;
        padding: 16px !important;
    }

    .alm-home-premium #alm-category-grid .alm-category-card__icon {
        width: 46px !important;
        height: 46px !important;
    }

    .alm-home-premium .alm-post-card {
        min-height: auto !important;
        padding: 20px !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    .alm-home-premium .alm-post-card:hover,
    .alm-home-premium #alm-category-grid .alm-category-card:hover,
    .alm-home-premium #alm-category-grid .alm-category-card:focus-visible {
        transform: none !important;
    }
}

/* Homepage proportion reset: compact hero and separate video/platform sections. */
.alm-home-premium .alm-hero {
    min-height: auto !important;
    padding-block: clamp(44px, 6vw, 78px) !important;
}

.alm-home-premium .alm-hero .alm-container,
.alm-hero-premium__grid {
    min-height: auto !important;
}

.alm-hero-premium__grid {
    grid-template-columns: minmax(0, 1fr) minmax(300px, 0.68fr) !important;
    gap: clamp(26px, 4.2vw, 54px) !important;
}

.alm-hero-premium__content h1 {
    max-width: 640px !important;
    font-size: clamp(2.25rem, 4.6vw, 3.75rem) !important;
    line-height: 1.16 !important;
}

.alm-hero-premium__lead {
    margin-block-start: 12px !important;
    font-size: clamp(1.02rem, 1.55vw, 1.24rem) !important;
}

.alm-hero-premium__copy {
    max-width: 640px !important;
    margin-block-start: 10px !important;
    font-size: clamp(0.96rem, 1.15vw, 1.06rem) !important;
    line-height: 1.75 !important;
}

.alm-home-premium .alm-hero .alm-actions {
    margin-block-start: 22px !important;
}

.alm-hero-stats {
    gap: 12px !important;
    margin-block-start: 24px !important;
    padding-block-start: 18px !important;
}

.alm-hero-stats span {
    min-width: 118px !important;
    font-size: 0.8rem !important;
}

.alm-hero-stats strong {
    font-size: 1.32rem !important;
}

.alm-hero-console {
    max-width: 560px !important;
    padding: 18px !important;
    border-radius: 9px !important;
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.2) !important;
}

.alm-hero-console::before {
    top: 38px !important;
    height: 54px !important;
}

.alm-hero-console__top {
    margin-block-end: 14px !important;
}

.alm-hero-console__top img {
    width: 118px !important;
    max-height: 58px !important;
}

.alm-hero-console__card {
    margin-block-start: 10px !important;
    padding: 13px 14px !important;
}

.alm-hero-console__card svg {
    width: 28px !important;
    height: 28px !important;
}

.alm-hero-console__card strong {
    font-size: 0.98rem !important;
}

.alm-hero-console__card small,
.alm-hero-console__mini a {
    font-size: 0.84rem !important;
}

.alm-hero-console__mini {
    gap: 8px !important;
    margin-block-start: 10px !important;
}

.alm-hero-console__mini a {
    padding: 8px 10px !important;
}

.alm-home-premium .alm-video-section,
.alm-home-premium .alm-platform-section {
    padding-block: clamp(46px, 5vw, 72px) !important;
}

.alm-video-section__grid,
.alm-platform-section__grid {
    gap: clamp(22px, 4vw, 48px) !important;
}

.alm-video-preview {
    min-height: 235px !important;
    padding: 24px !important;
}

.alm-video-preview__play {
    width: 58px !important;
    height: 58px !important;
}

.alm-video-preview strong {
    font-size: 1.16rem !important;
}

.alm-home-premium .alm-platform-section {
    color: var(--alm-text) !important;
    border-top: 1px solid rgba(226, 232, 240, 0.92) !important;
    border-bottom: 1px solid rgba(226, 232, 240, 0.92) !important;
    background:
        linear-gradient(135deg, rgba(232, 247, 248, 0.72), rgba(255, 246, 221, 0.46)),
        #ffffff !important;
}

.alm-home-premium .alm-platform-section h2 {
    color: var(--alm-navy) !important;
}

.alm-home-premium .alm-platform-section p {
    color: #475569 !important;
}

.alm-platform-section__grid {
    grid-template-columns: minmax(280px, 0.74fr) minmax(0, 1fr) !important;
}

.alm-platform-card {
    min-height: 230px !important;
    padding: 24px !important;
    border-color: rgba(5, 124, 140, 0.16) !important;
    color: var(--alm-navy) !important;
    background: rgba(255, 255, 255, 0.78) !important;
    box-shadow: 0 14px 34px rgba(7, 31, 77, 0.08) !important;
}

.alm-platform-card span {
    color: #057c8c !important;
}

.alm-platform-card strong {
    color: var(--alm-navy) !important;
    font-size: 1.18rem !important;
}

@media (max-width: 1100px) {
    .alm-hero-premium__grid {
        grid-template-columns: minmax(0, 1fr) minmax(270px, 0.76fr) !important;
    }

    .alm-hero-premium__content h1 {
        font-size: clamp(2.1rem, 4.2vw, 3.2rem) !important;
    }
}

@media (max-width: 900px) {
    .alm-hero-premium__grid,
    .alm-video-section__grid,
    .alm-platform-section__grid {
        grid-template-columns: 1fr !important;
    }

    .alm-hero-console {
        max-width: none !important;
    }
}

@media (max-width: 760px) {
    .alm-home-premium .alm-hero {
        padding-block: 42px !important;
    }

    .alm-hero-premium__content h1 {
        font-size: clamp(2rem, 8.6vw, 2.8rem) !important;
    }

    .alm-hero-stats {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        gap: 8px !important;
    }

    .alm-hero-stats span {
        min-width: 0 !important;
        text-align: center !important;
    }

    .alm-video-preview,
    .alm-platform-card {
        min-height: 190px !important;
    }
}

/* Final height balance: medium blue sections and no top white gap. */
body.home,
body.page:has(.alm-home-premium),
body.home .site,
body.home .site-content,
body.home .site-main,
body.home .content-area,
body.home .entry-content,
body.page:has(.alm-home-premium) .site,
body.page:has(.alm-home-premium) .site-content,
body.page:has(.alm-home-premium) .site-main,
body.page:has(.alm-home-premium) .content-area,
body.page:has(.alm-home-premium) .entry-content {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

body.home .entry-content > *:first-child,
body.page:has(.alm-home-premium) .entry-content > *:first-child,
.page .entry-content .alm-home-premium,
.alm-home-premium {
    margin-top: 0 !important;
}

.alm-home-premium .alm-hero {
    padding-block: clamp(58px, 7vw, 94px) !important;
}

.alm-home-premium .alm-video-section {
    min-height: clamp(520px, 58vw, 640px) !important;
    display: flex !important;
    align-items: center !important;
    padding-block: clamp(66px, 7vw, 96px) !important;
}

.alm-home-premium .alm-video-section > .alm-container {
    width: min(1180px, calc(100vw - 32px)) !important;
}

.alm-video-preview {
    min-height: 285px !important;
}

.alm-home-premium .alm-platform-section {
    min-height: clamp(440px, 46vw, 540px) !important;
    display: flex !important;
    align-items: center !important;
    padding-block: clamp(58px, 6vw, 84px) !important;
}

.alm-home-premium .alm-platform-section > .alm-container {
    width: min(1180px, calc(100vw - 32px)) !important;
}

.alm-platform-card {
    min-height: 270px !important;
}

@media (max-width: 900px) {
    .alm-home-premium .alm-video-section {
        min-height: auto !important;
        padding-block: 62px !important;
    }

    .alm-home-premium .alm-platform-section {
        min-height: auto !important;
        padding-block: 56px !important;
    }
}

@media (max-width: 760px) {
    .alm-home-premium .alm-hero {
        padding-block: 52px !important;
    }

    .alm-video-preview {
        min-height: 235px !important;
    }

    .alm-platform-card {
        min-height: 220px !important;
    }
}

/* Final video ratio guard: all video cards/previews use the YouTube 16:9 shape. */
.alm-video-preview,
.alm-video-card,
.alm-video-section .wp-block-embed-youtube,
.alm-video-section .wp-block-embed__wrapper,
.alm-video-section .elementor-widget-video .elementor-wrapper,
.alm-video-section .elementor-video,
.alm-video-section iframe[src*="youtube"],
.alm-video-section iframe[src*="youtu.be"] {
    aspect-ratio: 16 / 9 !important;
}

.alm-video-preview,
.alm-video-card {
    width: 100% !important;
    min-height: 0 !important;
    height: auto !important;
}

.alm-video-preview {
    display: grid !important;
    place-items: center !important;
    padding: clamp(24px, 4vw, 38px) !important;
}

.alm-video-card {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    padding: clamp(22px, 3vw, 34px) !important;
}

.alm-video-section .wp-block-embed__wrapper,
.alm-video-section .elementor-widget-video .elementor-wrapper {
    position: relative !important;
    width: 100% !important;
    min-height: 0 !important;
    overflow: hidden !important;
    border-radius: 10px !important;
}

.alm-video-section iframe[src*="youtube"],
.alm-video-section iframe[src*="youtu.be"] {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
    border: 0 !important;
}

@media (max-width: 760px) {
    .alm-video-preview,
    .alm-video-card {
        padding: 22px !important;
    }
}

/* Final sticky-header recovery: keep navigation visible while scrolling. */
#masthead,
.site-header {
    position: -webkit-sticky !important;
    position: sticky !important;
    top: 0 !important;
    z-index: 100000 !important;
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    pointer-events: auto !important;
}

body.admin-bar #masthead,
body.admin-bar .site-header {
    top: 32px !important;
}

.site-header,
.site-header .ast-primary-header-bar,
.site-header .main-header-bar,
.site-header .ast-mobile-header-wrap,
.site-header .ast-desktop-header-content,
.site-header .ast-builder-grid-row-container,
.ast-primary-header-bar,
.main-header-bar {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translate3d(0, 0, 0) !important;
    pointer-events: auto !important;
}

.ast-primary-header-bar,
.main-header-bar {
    background: rgba(255, 255, 255, 0.94) !important;
    box-shadow: 0 12px 34px rgba(7, 31, 77, 0.08) !important;
}

.alm-is-scrolled #masthead,
.alm-is-scrolled .site-header,
.alm-is-scrolled .ast-primary-header-bar,
.alm-is-scrolled .main-header-bar,
.ast-header-sticked,
.ast-sticky-active,
.ast-sticky-shrunk {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translate3d(0, 0, 0) !important;
}

@media (max-width: 782px) {
    body.admin-bar #masthead,
    body.admin-bar .site-header {
        top: 0 !important;
    }
}

/* Premium public sales page for "منصة التكوين". */
.page .entry-content .alm-platform-sales,
.alm-platform-sales {
    position: relative;
    left: 50%;
    right: 50%;
    width: 100vw !important;
    max-width: 100vw !important;
    margin: 0 -50vw !important;
    overflow: hidden;
    background: #f8fafc;
    color: var(--alm-text);
    direction: rtl;
}

body.page:has(.alm-platform-sales) .site-content,
body.page:has(.alm-platform-sales) .site-main,
body.page:has(.alm-platform-sales) .content-area,
body.page:has(.alm-platform-sales) .entry-content,
body.page:has(.alm-platform-sales) .site-content > .ast-container,
body.page:has(.alm-platform-sales) .site-main > article {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

.alm-platform-sales *,
.alm-platform-sales *::before,
.alm-platform-sales *::after {
    box-sizing: border-box;
}

.alm-platform-sales__container {
    width: min(1180px, calc(100vw - 32px));
    margin-inline: auto;
}

.alm-platform-hero {
    position: relative;
    min-height: clamp(620px, 70vw, 760px);
    display: flex;
    align-items: center;
    padding-block: clamp(72px, 9vw, 118px);
    color: #ffffff;
    background:
        radial-gradient(circle at 16% 18%, rgba(5, 124, 140, 0.36), transparent 30%),
        radial-gradient(circle at 84% 14%, rgba(214, 166, 55, 0.22), transparent 28%),
        linear-gradient(135deg, #061a3d 0%, #08285c 58%, #04364b 100%);
}

.alm-platform-sales__particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image:
        radial-gradient(circle, rgba(255, 255, 255, 0.13) 1px, transparent 1px),
        radial-gradient(circle, rgba(214, 166, 55, 0.16) 1px, transparent 1px);
    background-size: 72px 72px, 112px 112px;
    background-position: 0 0, 28px 34px;
    opacity: 0.7;
    animation: almParticleDrift 24s linear infinite;
}

.alm-platform-hero__grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.72fr);
    gap: clamp(30px, 5vw, 68px);
    align-items: center;
}

.alm-platform-sales__kicker {
    display: inline-flex;
    width: fit-content;
    min-height: 32px;
    align-items: center;
    margin-block-end: 14px;
    padding: 5px 13px;
    border: 1px solid rgba(214, 166, 55, 0.38);
    border-radius: 999px;
    color: var(--alm-gold);
    background: rgba(214, 166, 55, 0.11);
    font-size: 0.86rem;
    font-weight: 900;
}

.alm-platform-hero h1,
.alm-platform-sales h2 {
    margin: 0;
    color: inherit;
    letter-spacing: 0;
    font-weight: 900;
}

.alm-platform-hero h1 {
    max-width: 760px;
    color: #ffffff;
    font-size: clamp(2.35rem, 5.4vw, 4.25rem);
    line-height: 1.15;
}

.alm-platform-hero__subtitle {
    max-width: 760px;
    margin: 18px 0 0;
    color: var(--alm-gold);
    font-size: clamp(1.12rem, 2vw, 1.42rem);
    font-weight: 900;
    line-height: 1.65;
}

.alm-platform-hero__text,
.alm-platform-sales__head p,
.alm-platform-cta p {
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.85;
}

.alm-platform-hero__text {
    max-width: 760px;
    margin: 14px 0 0;
    font-size: clamp(1rem, 1.35vw, 1.12rem);
}

.alm-platform-hero blockquote {
    max-width: 720px;
    margin: 22px 0 0;
    padding: 14px 18px;
    border-inline-start: 4px solid var(--alm-gold);
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.9);
    background: rgba(255, 255, 255, 0.08);
    font-weight: 800;
    line-height: 1.8;
}

.alm-platform-sales__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-block-start: 28px;
}

.alm-platform-sales__btn,
.alm-platform-sales__btn:visited {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 50px;
    padding: 11px 18px;
    border: 1px solid transparent;
    border-radius: 8px;
    font-weight: 900;
    text-decoration: none !important;
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background-color 180ms ease, color 180ms ease;
}

.alm-platform-sales__btn svg {
    width: 21px;
    height: 21px;
    fill: none;
    stroke: currentColor;
}

.alm-platform-sales__btn--primary,
.alm-platform-sales__btn--primary:visited {
    color: #ffffff !important;
    border-color: rgba(214, 166, 55, 0.36);
    background: linear-gradient(135deg, #057c8c 0%, #073f68 52%, #06285a 100%);
    box-shadow: 0 16px 34px rgba(7, 31, 77, 0.28);
}

.alm-platform-sales__btn--secondary,
.alm-platform-sales__btn--secondary:visited {
    color: #ffffff !important;
    border-color: rgba(255, 255, 255, 0.28);
    background: rgba(255, 255, 255, 0.1);
}

.alm-platform-sales__btn:hover,
.alm-platform-sales__btn:focus-visible {
    color: #ffffff !important;
    border-color: rgba(214, 166, 55, 0.68);
    transform: translateY(-2px);
    box-shadow: 0 18px 38px rgba(7, 31, 77, 0.32);
}

.alm-platform-hero__visual {
    position: relative;
    padding: 22px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 26px 64px rgba(0, 0, 0, 0.22);
    backdrop-filter: blur(18px);
}

.alm-platform-hero__visual::before {
    position: absolute;
    inset-inline-end: -16px;
    top: 34px;
    width: 4px;
    height: 70px;
    content: "";
    border-radius: 999px;
    background: var(--alm-gold);
}

.alm-platform-visual__top,
.alm-platform-visual__card,
.alm-platform-visual__mini {
    position: relative;
    z-index: 1;
}

.alm-platform-visual__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-block-end: 16px;
    color: #ffffff;
    font-weight: 900;
}

.alm-platform-visual__top span {
    display: inline-flex;
    width: 54px;
    height: 54px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--alm-navy);
    background: var(--alm-gold);
}

.alm-platform-visual__top svg,
.alm-platform-visual__card svg {
    width: 28px;
    height: 28px;
    fill: none;
    stroke: currentColor;
}

.alm-platform-visual__card {
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    margin-block-start: 12px;
    padding: 15px;
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 8px;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
}

.alm-platform-visual__card--active {
    background: rgba(214, 166, 55, 0.13);
}

.alm-platform-visual__card svg {
    color: var(--alm-gold);
}

.alm-platform-visual__card strong,
.alm-platform-visual__card small {
    display: block;
}

.alm-platform-visual__card small {
    margin-block-start: 3px;
    color: rgba(255, 255, 255, 0.72);
    font-weight: 800;
}

.alm-platform-visual__mini {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-block-start: 12px;
}

.alm-platform-visual__mini span {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.78);
    background: rgba(255, 255, 255, 0.08);
    font-weight: 900;
}

.alm-platform-sales__section,
.alm-platform-cta {
    padding-block: clamp(58px, 8vw, 104px);
}

.alm-platform-sales__section {
    background: #ffffff;
}

.alm-platform-sales__section--soft {
    background: linear-gradient(135deg, rgba(232, 247, 248, 0.76), rgba(255, 246, 221, 0.48)), #ffffff;
}

.alm-platform-sales__section--navy {
    color: #ffffff;
    background:
        radial-gradient(circle at 14% 20%, rgba(5, 124, 140, 0.24), transparent 28%),
        linear-gradient(135deg, #061a3d, #073b4c);
}

.alm-platform-sales__head {
    max-width: 740px;
    margin-block-end: 28px;
}

.alm-platform-sales__head h2 {
    color: var(--alm-navy);
    font-size: clamp(1.75rem, 3.4vw, 2.65rem);
    line-height: 1.25;
}

.alm-platform-sales__section--navy .alm-platform-sales__head h2 {
    color: #ffffff;
}

.alm-platform-sales__head p {
    margin: 10px 0 0;
    color: #475569;
}

.alm-platform-sales__cards {
    display: grid;
    gap: 18px;
}

.alm-platform-sales__cards--4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.alm-platform-sales .alm-platform-card {
    position: relative;
    min-height: 210px !important;
    padding: 22px !important;
    border: 1px solid rgba(7, 31, 77, 0.11) !important;
    border-radius: 10px !important;
    color: var(--alm-text) !important;
    background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%) !important;
    box-shadow: 0 14px 34px rgba(7, 31, 77, 0.07) !important;
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background-color 180ms ease;
    overflow: hidden;
}

.alm-platform-sales .alm-platform-card::before {
    position: absolute;
    inset-block: 22px;
    inset-inline-start: 0;
    width: 4px;
    content: "";
    border-radius: 999px;
    background: linear-gradient(180deg, var(--alm-teal), var(--alm-gold));
    transform: scaleY(0.42);
    transition: transform 180ms ease;
}

.alm-platform-sales .alm-platform-card:hover,
.alm-platform-sales .alm-platform-card:focus-within {
    border-color: rgba(5, 124, 140, 0.32) !important;
    background: linear-gradient(135deg, #ffffff, rgba(232, 247, 248, 0.72)) !important;
    box-shadow: 0 20px 46px rgba(7, 31, 77, 0.11) !important;
    transform: translateY(-3px);
}

.alm-platform-sales .alm-platform-card:hover::before,
.alm-platform-sales .alm-platform-card:focus-within::before {
    transform: scaleY(1);
}

.alm-platform-card__icon {
    display: inline-flex;
    width: 52px;
    height: 52px;
    align-items: center;
    justify-content: center;
    margin-block-end: 18px;
    border: 1px solid rgba(5, 124, 140, 0.1);
    border-radius: 10px;
    color: var(--alm-teal);
    background: rgba(232, 247, 248, 0.9);
}

.alm-platform-card__icon svg {
    width: 25px !important;
    height: 25px !important;
    color: currentColor !important;
    fill: none !important;
    stroke: currentColor !important;
}

.alm-platform-sales .alm-platform-card h3 {
    margin: 0 0 8px;
    color: #057c8c;
    font-size: 1.12rem;
    font-weight: 900;
    line-height: 1.35;
}

.alm-platform-sales .alm-platform-card p {
    margin: 0;
    color: #334155;
    font-weight: 700;
    line-height: 1.75;
}

.alm-platform-split {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(300px, 1fr);
    gap: clamp(24px, 5vw, 64px);
    align-items: center;
}

.alm-platform-includes {
    display: grid;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.alm-platform-includes li {
    position: relative;
    min-height: 54px;
    padding: 13px 48px 13px 16px;
    border: 1px solid rgba(5, 124, 140, 0.15);
    border-radius: 9px;
    color: var(--alm-navy);
    background: rgba(255, 255, 255, 0.82);
    box-shadow: 0 10px 24px rgba(7, 31, 77, 0.06);
    font-weight: 900;
}

.alm-platform-includes li::before {
    position: absolute;
    inset-inline-start: auto;
    inset-inline-end: 16px;
    top: 50%;
    width: 18px;
    height: 18px;
    content: "";
    border: 2px solid var(--alm-gold);
    border-radius: 50%;
    transform: translateY(-50%);
}

.alm-platform-includes li::after {
    position: absolute;
    inset-inline-end: 21px;
    top: 50%;
    width: 8px;
    height: 4px;
    content: "";
    border-bottom: 2px solid var(--alm-teal);
    border-inline-start: 2px solid var(--alm-teal);
    transform: translateY(-58%) rotate(-45deg);
}

.alm-platform-audience {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.alm-platform-audience span {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    padding: 10px 15px;
    border: 1px solid rgba(7, 31, 77, 0.1);
    border-radius: 999px;
    color: var(--alm-navy);
    background: #ffffff;
    box-shadow: 0 10px 24px rgba(7, 31, 77, 0.06);
    font-weight: 900;
}

.alm-platform-steps {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.alm-platform-step {
    position: relative;
    min-height: 168px;
    padding: 22px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.09);
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.16);
}

.alm-platform-step span {
    display: inline-flex;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    margin-block-end: 14px;
    border-radius: 50%;
    color: var(--alm-navy);
    background: var(--alm-gold);
    font-weight: 900;
}

.alm-platform-step p {
    margin: 0;
    color: rgba(255, 255, 255, 0.86);
    font-weight: 800;
    line-height: 1.75;
}

.alm-platform-cta {
    background: #ffffff;
}

.alm-platform-cta__box {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 24px;
    align-items: center;
    padding: clamp(28px, 5vw, 48px);
    border: 1px solid rgba(5, 124, 140, 0.16);
    border-radius: 10px;
    background: linear-gradient(135deg, #ffffff, rgba(232, 247, 248, 0.82));
    box-shadow: 0 18px 48px rgba(7, 31, 77, 0.1);
}

.alm-platform-cta h2 {
    max-width: 700px;
    color: var(--alm-navy);
    font-size: clamp(1.8rem, 3.4vw, 2.65rem);
    line-height: 1.25;
}

.alm-platform-cta p {
    max-width: 720px;
    margin: 10px 0 0;
    color: #475569;
    font-weight: 700;
}

@media (max-width: 1100px) {
    .alm-platform-sales__cards--4,
    .alm-platform-steps {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .alm-platform-hero {
        min-height: auto;
        padding-block: 64px;
    }

    .alm-platform-hero__grid,
    .alm-platform-split,
    .alm-platform-cta__box {
        grid-template-columns: 1fr;
    }

    .alm-platform-cta__box .alm-platform-sales__btn {
        width: 100%;
    }
}

@media (max-width: 640px) {
    .alm-platform-sales__container {
        width: calc(100vw - 24px);
    }

    .alm-platform-hero {
        padding-block: 54px;
    }

    .alm-platform-hero h1 {
        font-size: clamp(2.05rem, 10vw, 3rem);
    }

    .alm-platform-sales__actions,
    .alm-platform-sales__btn {
        width: 100%;
    }

    .alm-platform-sales__cards--4,
    .alm-platform-steps {
        grid-template-columns: 1fr;
    }

    .alm-platform-sales .alm-platform-card,
    .alm-platform-step {
        min-height: auto !important;
    }

    .alm-platform-visual__mini {
        grid-template-columns: 1fr;
    }

    .alm-platform-sales__section,
    .alm-platform-cta {
        padding-block: 48px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .alm-platform-sales__particles {
        animation: none;
    }

    .alm-platform-sales .alm-platform-card:hover,
    .alm-platform-sales__btn:hover,
    .alm-platform-sales__btn:focus-visible {
        transform: none;
    }
}

/* Premium protected members dashboard for "دروس المنصة". */
.page .entry-content .alm-member-dashboard,
.alm-member-dashboard {
    position: relative;
    left: 50%;
    right: 50%;
    width: 100vw !important;
    max-width: 100vw !important;
    margin: 0 -50vw !important;
    overflow: hidden;
    direction: rtl;
    background:
        linear-gradient(180deg, #f8fafc 0%, #ffffff 48%, #f8fafc 100%);
    color: var(--alm-text);
}

body.page:has(.alm-member-dashboard) .site-content,
body.page:has(.alm-member-dashboard) .site-main,
body.page:has(.alm-member-dashboard) .content-area,
body.page:has(.alm-member-dashboard) .entry-content,
body.page:has(.alm-member-dashboard) .site-content > .ast-container,
body.page:has(.alm-member-dashboard) .site-main > article {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

.alm-member-dashboard *,
.alm-member-dashboard *::before,
.alm-member-dashboard *::after {
    box-sizing: border-box;
}

.alm-dashboard-container {
    width: min(1180px, calc(100vw - 32px));
    margin-inline: auto;
}

.alm-dashboard-hero {
    position: relative;
    padding-block: clamp(54px, 7vw, 90px);
    color: #ffffff;
    background:
        radial-gradient(circle at 16% 16%, rgba(5, 124, 140, 0.36), transparent 30%),
        radial-gradient(circle at 84% 10%, rgba(214, 166, 55, 0.18), transparent 28%),
        linear-gradient(135deg, #061a3d 0%, #08285c 58%, #04364b 100%);
    overflow: hidden;
}

.alm-dashboard-hero__glow {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image:
        radial-gradient(circle, rgba(255, 255, 255, 0.13) 1px, transparent 1px),
        radial-gradient(circle, rgba(214, 166, 55, 0.14) 1px, transparent 1px);
    background-size: 68px 68px, 104px 104px;
    background-position: 0 0, 30px 28px;
    opacity: 0.62;
    animation: almParticleDrift 24s linear infinite;
}

.alm-dashboard-hero__inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 0.48fr);
    gap: clamp(24px, 5vw, 64px);
    align-items: center;
}

.alm-dashboard-badge {
    display: inline-flex;
    width: fit-content;
    min-height: 34px;
    align-items: center;
    gap: 8px;
    margin-block-end: 14px;
    padding: 6px 13px;
    border: 1px solid rgba(214, 166, 55, 0.42);
    border-radius: 999px;
    color: var(--alm-gold);
    background: rgba(214, 166, 55, 0.1);
    font-size: 0.86rem;
    font-weight: 900;
}

.alm-dashboard-badge svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
}

.alm-dashboard-badge--light {
    color: #057c8c;
    border-color: rgba(5, 124, 140, 0.18);
    background: rgba(232, 247, 248, 0.78);
}

.alm-dashboard-hero h1 {
    max-width: 760px;
    margin: 0;
    color: #ffffff;
    font-size: clamp(2.1rem, 4.5vw, 3.6rem);
    font-weight: 900;
    line-height: 1.18;
    letter-spacing: 0;
}

.alm-dashboard-hero p {
    max-width: 700px;
    margin: 14px 0 0;
    color: rgba(255, 255, 255, 0.78);
    font-size: clamp(1rem, 1.35vw, 1.14rem);
    font-weight: 700;
    line-height: 1.85;
}

.alm-dashboard-hero__panel {
    position: relative;
    min-height: 230px;
    display: grid;
    place-items: center;
    padding: 26px;
    border: 1px solid rgba(255, 255, 255, 0.17);
    border-radius: 10px;
    text-align: center;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.06)),
        rgba(255, 255, 255, 0.09);
    box-shadow: 0 24px 58px rgba(0, 0, 0, 0.22);
    backdrop-filter: blur(18px);
}

.alm-dashboard-hero__panel::before {
    position: absolute;
    inset-inline-start: 0;
    top: 30px;
    width: 4px;
    height: 64px;
    content: "";
    border-radius: 999px;
    background: var(--alm-gold);
}

.alm-dashboard-hero__lock {
    display: inline-flex;
    width: 62px;
    height: 62px;
    align-items: center;
    justify-content: center;
    margin-block-end: 12px;
    border-radius: 50%;
    color: var(--alm-navy);
    background: var(--alm-gold);
}

.alm-dashboard-hero__lock svg {
    width: 31px;
    height: 31px;
    fill: none;
    stroke: currentColor;
}

.alm-dashboard-hero__panel strong,
.alm-dashboard-hero__panel small {
    display: block;
}

.alm-dashboard-hero__panel strong {
    color: #ffffff;
    font-size: 1.18rem;
    font-weight: 900;
}

.alm-dashboard-hero__panel small {
    max-width: 260px;
    color: rgba(255, 255, 255, 0.72);
    font-weight: 800;
    line-height: 1.7;
}

.alm-dashboard-section {
    padding-block: clamp(46px, 7vw, 82px);
}

.alm-dashboard-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.alm-dashboard-card,
.alm-dashboard-card:visited {
    position: relative;
    min-height: 288px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 24px;
    border: 1px solid rgba(7, 31, 77, 0.11);
    border-radius: 10px;
    color: var(--alm-navy) !important;
    text-decoration: none !important;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(232, 247, 248, 0.58)),
        rgba(255, 255, 255, 0.86);
    box-shadow: 0 16px 38px rgba(7, 31, 77, 0.08);
    overflow: hidden;
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background-color 180ms ease;
}

.alm-dashboard-card::before {
    position: absolute;
    inset-block: 22px;
    inset-inline-start: 0;
    width: 4px;
    content: "";
    border-radius: 999px;
    background: linear-gradient(180deg, var(--alm-teal), var(--alm-gold));
    transform: scaleY(0.44);
    transition: transform 180ms ease;
}

.alm-dashboard-card::after {
    position: absolute;
    inset-inline-end: -48px;
    bottom: -58px;
    width: 150px;
    height: 150px;
    content: "";
    border-radius: 50%;
    background: rgba(214, 166, 55, 0.1);
    pointer-events: none;
}

.alm-dashboard-card:hover,
.alm-dashboard-card:focus-visible {
    color: var(--alm-navy) !important;
    border-color: rgba(5, 124, 140, 0.34);
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(232, 247, 248, 0.78)),
        #ffffff;
    box-shadow: 0 22px 50px rgba(7, 31, 77, 0.13);
    transform: translateY(-4px);
}

.alm-dashboard-card:hover::before,
.alm-dashboard-card:focus-visible::before {
    transform: scaleY(1);
}

.alm-dashboard-card__icon {
    display: inline-flex;
    width: 56px;
    height: 56px;
    align-items: center;
    justify-content: center;
    margin-block-end: 18px;
    border: 1px solid rgba(5, 124, 140, 0.1);
    border-radius: 10px;
    color: var(--alm-teal);
    background: rgba(232, 247, 248, 0.9);
}

.alm-dashboard-card__icon svg {
    width: 27px;
    height: 27px;
    fill: none;
    stroke: currentColor;
}

.alm-dashboard-card__body {
    position: relative;
    z-index: 1;
    display: block;
    flex: 1;
}

.alm-dashboard-card__body strong {
    display: block;
    margin-block-end: 9px;
    color: #057c8c;
    font-size: 1.18rem;
    font-weight: 900;
    line-height: 1.35;
}

.alm-dashboard-card__body small {
    display: block;
    color: #334155;
    font-size: 0.94rem;
    font-weight: 700;
    line-height: 1.75;
}

.alm-dashboard-btn,
.alm-dashboard-btn:visited {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 42px;
    margin-block-start: 20px;
    padding: 8px 14px;
    border: 1px solid rgba(5, 124, 140, 0.18);
    border-radius: 999px;
    color: #057c8c !important;
    background: rgba(232, 247, 248, 0.78);
    font-weight: 900;
    text-decoration: none !important;
    transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.alm-dashboard-card:hover .alm-dashboard-btn,
.alm-dashboard-card:focus-visible .alm-dashboard-btn {
    color: #ffffff !important;
    border-color: rgba(214, 166, 55, 0.5);
    background: linear-gradient(135deg, #057c8c, #06285a);
}

.alm-dashboard-help {
    padding-block: 0 clamp(54px, 7vw, 90px);
}

.alm-dashboard-help__box {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 22px;
    align-items: center;
    padding: clamp(24px, 4vw, 42px);
    border: 1px solid rgba(5, 124, 140, 0.16);
    border-radius: 10px;
    background:
        linear-gradient(135deg, #ffffff, rgba(232, 247, 248, 0.82)),
        #ffffff;
    box-shadow: 0 18px 48px rgba(7, 31, 77, 0.1);
}

.alm-dashboard-help h2 {
    margin: 0;
    color: var(--alm-navy);
    font-size: clamp(1.6rem, 3vw, 2.25rem);
    font-weight: 900;
    line-height: 1.3;
}

.alm-dashboard-help p {
    max-width: 720px;
    margin: 10px 0 0;
    color: #475569;
    font-weight: 700;
    line-height: 1.8;
}

.alm-dashboard-btn--help,
.alm-dashboard-btn--help:visited {
    min-height: 50px;
    margin: 0;
    padding-inline: 18px;
    color: #ffffff !important;
    border-color: rgba(214, 166, 55, 0.36);
    border-radius: 8px;
    background: linear-gradient(135deg, #057c8c 0%, #073f68 52%, #06285a 100%);
    box-shadow: 0 14px 30px rgba(7, 31, 77, 0.2);
}

.alm-dashboard-btn--help svg {
    width: 21px;
    height: 21px;
    fill: none;
    stroke: currentColor;
}

.alm-dashboard-btn--help:hover,
.alm-dashboard-btn--help:focus-visible {
    color: #ffffff !important;
    border-color: rgba(214, 166, 55, 0.68);
    background: linear-gradient(135deg, #078da0 0%, #064a75 52%, #062b61 100%);
}

.alm-member-dashboard--locked {
    min-height: 62vh;
    display: grid;
    place-items: center;
    padding-block: clamp(64px, 10vw, 120px);
    background:
        radial-gradient(circle at 20% 20%, rgba(5, 124, 140, 0.18), transparent 30%),
        linear-gradient(135deg, #061a3f 0%, #082b5d 50%, #053f54 100%);
}

.alm-dashboard-locked-card {
    max-width: 680px;
    margin-inline: auto;
    padding: clamp(28px, 5vw, 52px);
    text-align: center;
    border: 1px solid rgba(214, 166, 55, 0.28);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.22);
    backdrop-filter: blur(18px);
}

.alm-dashboard-locked-card h1 {
    margin: 18px 0 10px;
    color: #ffffff;
    font-size: clamp(1.9rem, 5vw, 3rem);
    font-weight: 900;
    line-height: 1.25;
}

.alm-dashboard-locked-card p {
    max-width: 560px;
    margin: 0 auto 24px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 1.04rem;
    font-weight: 700;
    line-height: 1.9;
}

@media (max-width: 1100px) {
    .alm-dashboard-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .alm-dashboard-hero__inner,
    .alm-dashboard-help__box {
        grid-template-columns: 1fr;
    }

    .alm-dashboard-btn--help {
        width: 100%;
    }
}

@media (max-width: 640px) {
    .alm-dashboard-container {
        width: calc(100vw - 24px);
    }

    .alm-dashboard-hero {
        padding-block: 48px;
    }

    .alm-dashboard-hero h1 {
        font-size: clamp(1.95rem, 9vw, 2.75rem);
    }

    .alm-dashboard-grid {
        grid-template-columns: 1fr;
    }

    .alm-dashboard-card {
        min-height: auto;
        padding: 22px;
    }

    .alm-dashboard-help {
        padding-block-end: 48px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .alm-dashboard-hero__glow {
        animation: none;
    }

    .alm-dashboard-card:hover,
    .alm-dashboard-card:focus-visible {
        transform: none;
    }
}

/* Final mobile header stability: fixed at the top, no gap above, no utility pages in the menu. */
@media (max-width: 921px) {
    html,
    html:root {
        margin-top: 0 !important;
        scroll-padding-top: 92px;
    }

    body,
    body.admin-bar,
    body.ast-header-break-point,
    body.ast-header-break-point.admin-bar {
        margin-top: 0 !important;
    }

    #wpadminbar {
        display: none !important;
    }

    body.ast-header-break-point #masthead,
    body.ast-header-break-point .site-header {
        position: fixed !important;
        top: 0 !important;
        right: 0 !important;
        left: 0 !important;
        width: 100% !important;
        margin-top: 0 !important;
        z-index: 100000 !important;
    }

    body.ast-header-break-point.admin-bar #masthead,
    body.ast-header-break-point.admin-bar .site-header {
        top: 0 !important;
    }

    body.ast-header-break-point .site-content {
        padding-top: 88px !important;
    }

    body.ast-header-break-point.admin-bar .site-content {
        padding-top: 88px !important;
    }

    body.ast-header-break-point .ast-mobile-header-wrap,
    body.ast-header-break-point .ast-mobile-header-wrap .ast-primary-header-bar,
    body.ast-header-break-point .ast-mobile-header-wrap .main-header-bar,
    body.ast-header-break-point .main-header-bar,
    body.ast-header-break-point .ast-primary-header-bar {
        top: 0 !important;
        margin-top: 0 !important;
        transform: none !important;
    }

    body.ast-header-break-point .ast-mobile-popup-drawer .main-header-menu li:has(a[href*="membership-account"]),
    body.ast-header-break-point .ast-mobile-popup-drawer .main-header-menu li:has(a[href*="membership-checkout"]),
    body.ast-header-break-point .ast-mobile-popup-drawer .main-header-menu li:has(a[href*="membership-levels"]),
    body.ast-header-break-point .ast-mobile-popup-drawer .main-header-menu li:has(a[href*="membership-confirmation"]),
    body.ast-header-break-point .ast-mobile-popup-drawer .main-header-menu li:has(a[href*="membership-invoice"]),
    body.ast-header-break-point .alm-mobile-menu-list li:has(a[href*="membership-account"]),
    body.ast-header-break-point .alm-mobile-menu-list li:has(a[href*="membership-checkout"]),
    body.ast-header-break-point .alm-mobile-menu-list li:has(a[href*="membership-levels"]),
    body.ast-header-break-point .alm-mobile-menu-list li:has(a[href*="membership-confirmation"]),
    body.ast-header-break-point .alm-mobile-menu-list li:has(a[href*="membership-invoice"]) {
        display: none !important;
    }
}
