:root {
    --ae-ink: #252721;
    --ae-muted: #565b4e;
    --ae-paper: #f8f6ef;
    --ae-white: #fffdf8;
    --ae-border: #dfdbcf;
    --ae-accent: #b65b3e;
    --ae-forest: #243d34;
    --ae-serif: Georgia, serif;
    --ae-sans: "Segoe UI", Arial, sans-serif;
}

body:has(.ae-header) { background: var(--ae-paper); color: var(--ae-ink); font-family: var(--ae-sans); }
body:has(.ae-header) #masthead { display: none; }
.ae-header { background: var(--ae-white); border-bottom: 1px solid var(--ae-border); color: var(--ae-ink); }
.ae-header-inner { width: min(92%, 1440px); min-height: 76px; margin-inline: auto; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.ae-header a { color: inherit; text-decoration: none; }
.ae-brand { display: inline-flex; align-items: center; gap: 10px; font: 700 1.35rem/1 var(--ae-serif); white-space: nowrap; }
.ae-brand small { display: block; margin-top: 5px; font: 650 .63rem/1 var(--ae-sans); text-transform: uppercase; letter-spacing: .13em; color: var(--ae-muted); }
.ae-brand-sign { display: grid; place-items: center; width: 39px; height: 39px; border: 1px solid var(--ae-accent); color: #8b3d27; border-radius: 50%; font-weight: 400; }
.ae-nav { display: flex; align-items: center; gap: clamp(13px, 3vw, 44px); }
.ae-nav a { font-size: .93rem; font-weight: 650; padding: 7px 0; border-bottom: 2px solid transparent; }
.ae-nav a:hover, .ae-nav [aria-current="page"] { border-color: var(--ae-accent); }
.ae-header .ae-header-action { background: var(--ae-forest); color: white; padding: 9px 15px; border-radius: 4px; font-size: .86rem; font-weight: 650; white-space: nowrap; }
.ae-header-action span { margin-left: 7px; }
.ae-header a:focus-visible, .ae-discover a:focus-visible { outline: 2px solid #8b3d27; outline-offset: 4px; }

body:has(.ae-header) .am-hero {
    width: min(92%, 1440px);
    margin: clamp(22px, 3.7vw, 58px) auto 0;
    min-height: 590px;
    display: grid;
    grid-template-columns: 1.26fr 1fr;
    grid-template-rows: 1fr;
    align-items: stretch;
    padding: 0;
    isolation: isolate;
    color: var(--ae-ink);
    background: var(--ae-white);
    border: 1px solid var(--ae-border);
    border-radius: 12px;
    overflow: hidden;
}
body:has(.ae-header) .am-hero::before {
    content: "";
    grid-area: 1 / 1;
    background: #4b4439 url("../almabrour-home/kaaba.jpg") center / cover;
}
body:has(.ae-header) .am-video { position: absolute; inset: 0 auto 0 0; width: 55.75%; height: 100%; z-index: 0; object-fit: cover; }
body:has(.ae-header) .am-shade, body:has(.ae-header) .am-nav { display: none; }
body:has(.ae-header) .am-frame {
    grid-area: 1 / 2;
    padding: clamp(24px, 4vw, 66px);
    border: 0;
    border-radius: 0;
    gap: 16px;
    width: 100%;
    min-width: 0;
}
body:has(.ae-header) .am-feature { display: flex; flex-direction: column; align-items: stretch; justify-content: center; gap: 24px; }
body:has(.ae-header) .am-eyebrow { color: #8b3d27; margin-bottom: 13px; }
body:has(.ae-header) .am-hero #am-title { color: var(--ae-ink); font: 400 clamp(2.75rem, 5.45vw, 5.9rem)/.96 var(--ae-serif); letter-spacing: -.055em; margin: 0 0 17px; }
body:has(.ae-header) .am-hero #am-title em { color: var(--ae-forest); display: inline-block; }
body:has(.ae-header) .am-description { color: var(--ae-muted); max-width: 42ch; font-size: 1rem; margin-bottom: 13px; }
body:has(.ae-header) .am-offers { color: var(--ae-forest); border-color: var(--ae-accent); }
body:has(.ae-header) .am-booking { width: 100%; padding: 15px 0 0; background: none; backdrop-filter: none; border: 0; border-top: 1px solid var(--ae-border); border-radius: 0; }
body:has(.ae-header) .am-hero #am-booking-title { color: var(--ae-ink); font: 400 1.35rem/1.1 var(--ae-serif); margin: 0 0 12px; }
body:has(.ae-header) .am-primary, body:has(.ae-header) .am-secondary { border-radius: 4px; }
body:has(.ae-header) .am-primary { background: var(--ae-forest); color: #fff; }
body:has(.ae-header) .am-primary:hover { background: #162b23; }
body:has(.ae-header) .am-secondary { border: 1px solid var(--ae-border); color: var(--ae-forest); }
body:has(.ae-header) .am-secondary:hover { background: var(--ae-paper); }
body:has(.ae-header) .am-hero .am-play { position: absolute; bottom: 15px; left: 15px; z-index: 2; }
body:has(.ae-header) .am-hero :focus-visible { outline-color: #8b3d27; }
body:has(.ae-header) .am-hero .am-play:focus-visible { outline-color: white; }

.ae-discover { width: min(92%, 1440px); margin: clamp(38px, 6vw, 88px) auto; }
.ae-section-heading { display: flex; justify-content: space-between; gap: 16px; align-items: end; margin-bottom: 22px; border-bottom: 1px solid var(--ae-border); padding-bottom: 14px; }
.ae-section-heading h2 { margin: 0; color: var(--ae-ink); font: 400 clamp(2rem, 4vw, 3.6rem)/1 var(--ae-serif); letter-spacing: -.045em; }
.ae-section-heading a { color: var(--ae-forest); font-size: .93rem; font-weight: 650; }
.ae-card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 2.2vw, 32px); }
.ae-card { position: relative; display: block; border: 1px solid var(--ae-border); border-radius: 9px; overflow: hidden; background: var(--ae-white); color: var(--ae-ink); }
.ae-card img { display: block; width: 100%; aspect-ratio: 1.6; object-fit: cover; }
.ae-card-copy { padding: 17px 48px 18px 16px; }
.ae-card-copy > span { color: #8b3d27; font-size: .72rem; text-transform: uppercase; letter-spacing: .09em; font-weight: 700; }
.ae-card h3 { margin: 4px 0 0; color: var(--ae-ink); font: 400 clamp(1.25rem, 2.4vw, 1.95rem)/1.06 var(--ae-serif); }
.ae-card-arrow { position: absolute; right: 15px; bottom: 17px; font-size: 1.25rem; color: var(--ae-forest); }
.ae-card:hover { border-color: var(--ae-accent); }

body:has(.ae-header):not(.am-inner):not(.am-home) .elementor > .e-parent .elementor-heading-title { font-family: var(--ae-serif); }
body:has(.ae-header):not(.am-inner):not(.am-home) .elementor > .e-parent .elementor-button { font-family: var(--ae-sans); border-radius: 4px; font-weight: 650; }
body:has(.ae-header) :is(.elementor-element-b8296ad,.elementor-element-78141b97,.elementor-element-43ac2daa,.elementor-element-27765b30).e-parent {
    width: min(92%, 1440px);
    min-height: clamp(220px, 29vw, 420px);
    margin: clamp(18px, 3.5vw, 48px) auto 28px;
    border-radius: 12px;
    overflow: hidden;
    background-image: linear-gradient(90deg, #172b24df, #172b2440), var(--ae-banner);
    background-size: cover;
    background-position: center 51%;
}
.elementor-element-b8296ad { --ae-banner: url("../../uploads/2024/10/destination_page_medina_map__1.jpg"); }
.elementor-element-78141b97 { --ae-banner: url("../../uploads/2024/10/HaJ.jpeg"); }
.elementor-element-43ac2daa { --ae-banner: url("../../uploads/2024/10/Umrah-in-Saudi-Arabia_17584054371_original-ratio.jpg"); }
.elementor-element-27765b30 { --ae-banner: url("../almabrour-home/kaaba.jpg"); }
body:has(.ae-header) :is(.elementor-element-b8296ad,.elementor-element-78141b97,.elementor-element-43ac2daa,.elementor-element-27765b30) h1.elementor-heading-title {
    color: #fffdf8; font: 400 clamp(2.7rem, 6.5vw, 6.6rem)/1 var(--ae-serif); letter-spacing: -.045em; text-transform: none;
}
body:has(.ae-header) :is(.frm-fluent-form,.wpcf7-form) {
    padding: clamp(17px, 3vw, 36px);
    background: var(--ae-white);
    border: 1px solid var(--ae-border);
    border-radius: 9px;
    color: var(--ae-ink);
}
body:has(.ae-header) :is(.frm-fluent-form,.wpcf7-form) :is(input:not([type=submit]):not([type=checkbox]):not([type=radio]):not([type=hidden]), select, textarea) {
    border: 1px solid #b8b9ac;
    border-radius: 5px;
    background: #fff;
    color: var(--ae-ink);
}
body:has(.ae-header) :is(.frm-fluent-form,.wpcf7-form) :is(button[type=submit],input[type=submit]) {
    background: var(--ae-forest);
    color: #fff;
    border: 1px solid var(--ae-forest);
    border-radius: 4px;
    font-weight: 650;
}
body:has(.ae-header) :is(.frm-fluent-form,.wpcf7-form) :focus-visible { outline: 2px solid #8b3d27; outline-offset: 2px; }
body:has(.ae-header) #colophon { border-top: 1px solid var(--ae-border); }

@media (max-width: 820px) {
    .ae-header-inner { flex-wrap: wrap; gap: 12px; padding-block: 12px; }
    .ae-nav { order: 3; width: 100%; flex-wrap: wrap; gap: 4px 16px; }
    .ae-nav a { font-size: .85rem; }
    body:has(.ae-header) .am-hero { grid-template-columns: 1fr; grid-template-rows: clamp(245px, 56vw, 425px) auto; min-height: 0; }
    body:has(.ae-header) .am-frame { grid-area: 2 / 1; }
    body:has(.ae-header) .am-video { width: 100%; height: clamp(245px, 56vw, 425px); }
    body:has(.ae-header) .am-hero .am-play { bottom: auto; top: calc(clamp(245px, 56vw, 425px) - 46px); }
}
@media (max-width: 580px) {
    .ae-card-grid { grid-template-columns: 1fr; }
    .ae-section-heading { align-items: start; flex-direction: column; }
}

