/* ASWF branch page: scoped to .aswf, reuses theme tokens (--darkblue, Cairo). */
.aswf { --aswf-green: #43A25B; --aswf-green-dark: #2A8742; font-family: "Cairo", sans-serif; }
.aswf-logo { display: block; margin: 0; }

.aswf-hero {
	background-color: var(--darkblue, #14305D);
	background-image: var(--darkbluebg);
	color: #fff;
	text-align: center;
	padding: 48px 16px 40px;
	border-top: 1px solid #819ECC;
}
.aswf-hero h1 { color: #fff; font-size: 24px; font-weight: 700; line-height: 1.6; margin: 0 0 12px; }
.aswf-hero h1 span { opacity: .5; padding: 0 4px; }
.aswf-hero p { font-size: 16px; line-height: 1.8; margin: 0 auto 6px; max-width: 680px; color: #fff; }
.aswf-hero .aswf-en { opacity: .85; font-size: 14px; }

.aswf-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 22px; }
.aswf-actions-start { justify-content: flex-start; }
.aswf-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 48px; padding: 0 22px; border-radius: 5px;
	background: var(--darkblue, #14305D); color: #fff !important;
	font-weight: 700; font-size: 16px; text-decoration: none !important;
	border: 1px solid transparent; transition: background-color .2s, color .2s;
}
.aswf-btn:hover { background: #fff; color: var(--darkblue, #14305D) !important; border-color: var(--darkblue, #14305D); }
.aswf-btn-wa { background: var(--aswf-green); }
.aswf-btn-wa:hover { background: var(--aswf-green-dark); color: #fff !important; border-color: transparent; }
.aswf-btn-light { background: #fff; color: var(--darkblue, #14305D) !important; }
.aswf-btn-light:hover { background: transparent; color: #fff !important; border-color: #fff; }

.aswf-section { padding: 40px 0; }
.aswf-gray { background: #F9F9F9; }
.aswf-section h2 {
	color: var(--darkblue, #14305D); font-size: 22px; font-weight: 700;
	margin: 0 0 20px; padding-bottom: 10px; position: relative;
}
.aswf-section h2::after { content: ""; position: absolute; bottom: 0; inset-inline-start: 0; width: 48px; height: 3px; background: var(--aswf-green); }
.aswf-section p { font-size: 16px; line-height: 1.9; color: #444; }
.aswf-english { text-align: left; border-top: 4px solid var(--darkblue, #14305D); }

.aswf-features { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.aswf-features li {
	display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center;
	background: #fff; border: 1px solid #eee; border-radius: 8px; padding: 20px 10px;
	font-weight: 600; color: var(--darkblue, #14305D); font-size: 15px;
}
.aswf-features i { font-size: 26px; color: var(--aswf-green); }

.aswf-location { display: grid; gap: 20px; }
.aswf-address p { display: flex; gap: 10px; align-items: baseline; margin-bottom: 10px; }
.aswf-address i { color: var(--aswf-green); width: 18px; flex: none; }
.aswf-address a:not(.aswf-btn) { color: var(--darkblue, #14305D); font-weight: 600; }
.aswf-map { border-radius: 8px; overflow: hidden; border: 1px solid #eee; aspect-ratio: 4 / 3; }
.aswf-map iframe { width: 100%; height: 100%; border: 0; display: block; }

.aswf-gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.aswf-gallery img { width: 100%; height: auto; border-radius: 6px; display: block; }

.aswf-times, .aswf-contact { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.aswf-times div, .aswf-contact a {
	display: flex; flex-direction: column; align-items: center; gap: 6px;
	background: #fff; border: 1px solid #eee; border-radius: 8px; padding: 20px 10px;
	color: var(--darkblue, #14305D); text-decoration: none;
}
.aswf-times i, .aswf-contact i { font-size: 24px; color: var(--aswf-green); }
.aswf-times span, .aswf-contact bdi { font-size: 18px; font-weight: 700; }
.aswf-contact a:hover { border-color: var(--aswf-green); }

.aswf-sister { text-align: center; padding: 24px 16px; margin: 0; font-size: 15px; color: #666; border-top: 1px solid #eee; }
.aswf-sister a { color: var(--darkblue, #14305D); font-weight: 700; }

.aswf-float-wa {
	position: fixed; bottom: 18px; left: 18px; z-index: 999;
	width: 56px; height: 56px; border-radius: 50%;
	display: flex; align-items: center; justify-content: center;
	background: #25D366; color: #fff !important; font-size: 30px;
	box-shadow: 0 4px 14px rgba(0, 0, 0, .25);
}

@media (min-width: 768px) {
	.aswf-hero { padding: 72px 16px 60px; }
	.aswf-hero h1 { font-size: 34px; }
	.aswf-section { padding: 56px 0; }
	.aswf-features { grid-template-columns: repeat(4, 1fr); }
	.aswf-gallery { grid-template-columns: repeat(3, 1fr); }
	.aswf-location { grid-template-columns: 1fr 1.3fr; align-items: start; }
	.aswf-times, .aswf-contact { max-width: 560px; }
	.aswf-float-wa { display: none; }
}

/* Theme H1s demoted to divs on this page (single-H1 rule): keep their original look. */
.logo_photo .aswf-logo { margin: 0; padding: 0; }
.footer_site1 .aswf-logo {
	background-image: var(--greenbg); border-radius: 5px; border-top-right-radius: 0;
	max-width: 202px; width: 180px; margin: 13px 10px 0 0; text-align: center; line-height: 56px;
	position: absolute; color: #fff; font-weight: bold; font-size: 24px; z-index: 1; font-family: "Cairo", sans-serif;
}
.footer_site1 .aswf-logo::before {
	content: ""; position: absolute; display: block; background-color: #2A8742;
	clip-path: polygon(0 0, 0% 100%, 100% 100%); width: 15px; height: 15px; right: -15px;
}
.footer_site1 .aswf-logo::after {
	content: ""; width: 100%; height: 1px; position: absolute; bottom: 0; display: block;
	background: linear-gradient(60deg, rgba(255,255,255,0) 0%, rgba(128,237,169,1) 50%, rgba(249,249,249,0) 100%);
}
@media (max-width: 991px) { .footer_site1 .aswf-logo { margin: -15px auto; } }

/* Hero v2: photo + navy overlay, start-aligned, matches the Manar inner pages. */
.aswf .aswf-hero {
	position: relative; isolation: isolate; text-align: start; border: 0;
	min-height: 560px; display: flex; flex-direction: column; justify-content: flex-end; box-sizing: border-box;
	padding: 170px 0 64px; background: #0f2547 var(--aswf-hero) center / cover no-repeat;
}
.aswf .aswf-hero::before {
	content: ""; position: absolute; inset: 0; z-index: -1;
	background:
		linear-gradient(to left, rgba(12, 30, 60, .78) 0%, rgba(12, 30, 60, .4) 45%, rgba(12, 30, 60, .05) 75%),
		linear-gradient(to top, rgba(12, 30, 60, .92) 0%, rgba(12, 30, 60, .5) 40%, rgba(12, 30, 60, .2) 75%, rgba(12, 30, 60, .45) 100%);
}
.aswf .aswf-hero .container { margin-inline: auto; }
.aswf .aswf-crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: rgba(255, 255, 255, .7); margin-bottom: 14px; }
.aswf .aswf-crumbs a { color: rgba(255, 255, 255, .85); text-decoration: none; }
.aswf .aswf-crumbs a:hover { color: #fff; text-decoration: underline; }
.aswf .aswf-crumbs [aria-current] { color: #fff; font-weight: 600; }
.aswf .aswf-kicker {
	display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; font-size: 14px; font-weight: 600; color: #fff;
	background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .25); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.aswf .aswf-kicker i { color: #6fd08a; }
.aswf .aswf-hero h1 { margin: 16px 0 12px; font-size: clamp(28px, 4.2vw, 50px); line-height: 1.3; max-width: 820px; text-shadow: 0 2px 18px rgba(0, 0, 0, .25); }
.aswf .aswf-hero p { margin: 0 0 6px; max-width: 640px; font-size: clamp(16px, 1.5vw, 19px); }
.aswf .aswf-hero .aswf-actions { justify-content: flex-start; margin-top: 26px; }
.aswf .aswf-btn-ghost { background: rgba(255, 255, 255, .1); color: #fff !important; border: 1px solid rgba(255, 255, 255, .55); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.aswf .aswf-btn-ghost:hover { background: #fff; color: var(--darkblue, #14305D) !important; }
@media (max-width: 991px) { .aswf .aswf-hero { padding-top: 130px; min-height: 520px; } }
@media (max-width: 767px) {
	.aswf .aswf-hero { padding: 120px 0 40px; min-height: 560px; }
	.aswf .aswf-hero::before { background: linear-gradient(to top, rgba(12, 30, 60, .95) 0%, rgba(12, 30, 60, .65) 50%, rgba(12, 30, 60, .45) 100%); }
	.aswf .aswf-hero .aswf-actions { display: grid; grid-template-columns: 1fr 1fr; }
	.aswf .aswf-hero .aswf-btn { padding: 0 10px; font-size: 15px; }
}
.aswf .aswf-hero h1 > span { display: none; }
.aswf .aswf-hero h1 bdi { display: block; margin-top: 6px; font-size: .5em; font-weight: 600; opacity: .85; direction: ltr; text-align: start; }
/* Slow continuous zoom on the hero photo. */
@keyframes aswf-kenburns { from { transform: scale(1); } to { transform: scale(1.12); } }
.aswf .aswf-hero { overflow: hidden; background-image: none; }
.aswf .aswf-hero::after { content: ""; position: absolute; inset: 0; z-index: -2; background: var(--aswf-hero) center / cover no-repeat; animation: aswf-kenburns 24s ease-in-out infinite alternate; transform-origin: 50% 50%; will-change: transform; }
@media (prefers-reduced-motion: reduce) { .aswf .aswf-hero::after { animation: none; } }

/* ASWF branch wordmark (replaces Manar wordmark on this page). */
.aswf-brand { width: max-content; display: inline-flex; align-items: center; gap: 8px; direction: rtl; line-height: 1; }
.aswf-brand img { height: 46px !important; width: auto !important; margin: 0 !important; display: block; order: -1; }
.aswf-brand-word { flex-shrink: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.aswf-brand-name { font-family: "Cairo", sans-serif; font-weight: 800; font-size: 19px; white-space: nowrap; color: #14305D; }
.aswf-brand-sub { font-family: "Cairo", sans-serif; font-weight: 600; font-size: 13px; color: #14305D; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
@media (max-width: 767px) {
	.logo_photo { width: auto !important; max-width: none !important; overflow: visible !important; padding: 0 !important; }
	header .aswf-brand { background: #fff; border-radius: 8px; padding: 5px 6px; gap: 4px; }
	header .aswf-brand img { background: none !important; padding: 0 !important; border-radius: 0 !important; }
	.aswf-brand { gap: 6px; }
	.aswf-brand img { height: 24px !important; }
	.aswf-brand-name { font-size: 12px; }
	.aswf-brand-sub { font-size: 8px; white-space: nowrap; }
	header .col-md-2 { overflow: visible !important; }
}

/* Real building photo: hero framing + featured gallery tile. */
.aswf .aswf-hero::after { background-position: center 30%; }
.aswf-gallery .aswf-gallery-main { grid-row: span 2; height: 100%; object-fit: cover; }

/* Plan your stay: times timeline + direct booking actions on one navy band. */
.aswf-stay { padding: 72px 0; background: linear-gradient(160deg, #14305D 0%, #0f2547 100%); color: #fff; }
.aswf-stay-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.aswf-stay-eyebrow { margin: 0 0 8px !important; color: #6fd08a !important; font-weight: 700; font-size: 15px !important; }
.aswf-stay h2 { color: #fff !important; font-weight: 800 !important; margin: 0 0 28px !important; padding: 0 !important; font-size: clamp(24px, 2.6vw, 32px) !important; }
.aswf-stay h2::after { display: none !important; }
.aswf-timeline { list-style: none; margin: 0; padding: 0; position: relative; display: grid; gap: 22px; }
.aswf-timeline::before { content: ""; position: absolute; inset-inline-start: 23px; top: 24px; bottom: 24px; width: 2px; background: rgba(255,255,255,.18); }
.aswf-timeline li { position: relative; display: grid; grid-template-columns: 48px 1fr auto; align-items: center; gap: 16px; padding: 14px 18px 14px 14px; border-radius: 12px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); }
.aswf-tl-dot { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: #43A25B; color: #fff; font-size: 18px; position: relative; z-index: 1; }
.aswf-tl-label { font-size: 16px; color: rgba(255,255,255,.85); }
.aswf-timeline strong { font-size: 26px; font-weight: 800; color: #fff; }
.aswf-stay-contact { padding: 32px; border-radius: 16px; background: #fff; color: #14305D; box-shadow: 0 24px 50px -24px rgba(0,0,0,.45); }
.aswf-stay-contact h3 { margin: 0 0 6px; font-size: 22px; font-weight: 800; color: #14305D; }
.aswf-stay-contact p { margin: 0 0 22px !important; color: #5f6b80 !important; font-size: 15px !important; }
.aswf-cta { display: flex; align-items: center; gap: 14px; padding: 14px 18px; border-radius: 12px; text-decoration: none !important; transition: transform .2s, box-shadow .2s, background .2s; }
.aswf-cta + .aswf-cta { margin-top: 12px; }
.aswf-cta i { width: 44px; height: 44px; border-radius: 10px; display: grid; place-items: center; font-size: 20px; flex: none; }
.aswf-cta span { display: flex; flex-direction: column; gap: 2px; }
.aswf-cta b { font-size: 17px; }
.aswf-cta bdi { font-size: 15px; opacity: .85; direction: ltr; text-align: start; }
.aswf-cta-wa { background: #25D366; color: #fff !important; }
.aswf-cta-wa i { background: rgba(255,255,255,.2); }
.aswf-cta-call { background: #f2f5fa; color: #14305D !important; border: 1px solid #e3e8f0; }
.aswf-cta-call i { background: #14305D; color: #fff; }
.aswf-cta:hover { transform: translateY(-2px); box-shadow: 0 12px 24px -14px rgba(0,0,0,.4); }
@media (max-width: 767px) {
	.aswf-stay { padding: 52px 0; }
	.aswf-stay-grid { grid-template-columns: 1fr; gap: 32px; }
	.aswf-stay-contact { padding: 22px 18px; }
	.aswf-timeline strong { font-size: 22px; }
}

/* Hero tidy: one right-aligned column, name on two weighted lines, English tag as small label. */
.aswf .aswf-hero h1 { max-width: 760px; }
.aswf .aswf-hero h1 em { display: block; font-style: normal; font-weight: 600; font-size: .62em; opacity: .9; margin-top: 4px; }
.aswf .aswf-hero h1 bdi { display: inline-block; margin-top: 14px; padding: 4px 12px; font-size: 14px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; border: 1px solid rgba(255,255,255,.35); border-radius: 999px; opacity: .9; }
.aswf .aswf-hero p { max-width: 560px; }
.aswf .aswf-hero .aswf-en { display: none; }
@media (max-width: 767px) { .aswf .aswf-hero h1 bdi { font-size: 11px; } }
@media (min-width: 768px) and (max-width: 991px) {
	.logo_photo { width: auto !important; max-width: none !important; overflow: visible !important; padding: 0 !important; background: none !important; }
	header .aswf-brand { background: #fff; border-radius: 10px; padding: 6px 8px; gap: 6px; }
	.aswf-brand-name { font-size: 14px; }
	.aswf-brand-sub { font-size: 9.5px; }
	header .logo_photo { display: flex !important; align-items: center; min-height: 80px; }
	header .aswf-brand img { height: 28px !important; background: none !important; padding: 0 !important; border-radius: 0 !important; }
	header .col-md-2 { overflow: visible !important; }
}

/* Location: address card beside a framed map, equal heights. */
.aswf-location { align-items: stretch !important; gap: 24px; }
.aswf-addr-card { background: #fff; border-radius: 16px; padding: 26px; box-shadow: 0 1px 2px rgba(15,37,71,.06), 0 10px 30px rgba(15,37,71,.08); display: flex; flex-direction: column; gap: 18px; }
.aswf-addr-kicker { margin: 0; color: #14305D; font-weight: 700; font-size: 17px; display: flex; align-items: center; gap: 8px; }
.aswf-addr-kicker i { color: #43A25B; }
.aswf-addr-list { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: #e8edf4; border-radius: 12px; overflow: hidden; }
.aswf-addr-list > div { background: #f7f9fc; padding: 12px 14px; }
.aswf-addr-list dt { font-size: 12px; font-weight: 500; color: #6b7a90; margin-bottom: 4px; }
.aswf-addr-list dd { margin: 0; font-size: 15px; font-weight: 700; color: #14305D; line-height: 1.5; }
.aswf-addr-short { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; border-radius: 12px; border: 1px dashed #43A25B; background: rgba(67,162,91,.06); }
.aswf-addr-short span { font-size: 14px; color: #14305D; }
.aswf-addr-short bdi { font-family: ui-monospace, monospace; font-size: 18px; font-weight: 700; letter-spacing: .12em; color: #2A8742; }
.aswf-addr-card .aswf-actions { margin-top: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.aswf-addr-card .aswf-btn { justify-content: center; }
.aswf-btn-line { background: transparent !important; color: #14305D !important; box-shadow: inset 0 0 0 1.5px #14305D; }
.aswf-btn-line:hover { background: #14305D !important; color: #fff !important; }
.aswf-location .aswf-map { border: 0; border-radius: 16px; aspect-ratio: auto; min-height: 340px; box-shadow: 0 1px 2px rgba(15,37,71,.06), 0 10px 30px rgba(15,37,71,.08); }
@media (max-width: 767px) { .aswf-addr-card { padding: 18px; } .aswf-location .aswf-map { min-height: 260px; } }

/* Gallery v2: real branch photos, uniform cropped tiles, two featured. */
.aswf-gallery-v2 { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; gap: 12px; }
.aswf-gallery-v2 figure { position: relative; margin: 0; border-radius: 14px; overflow: hidden; background: #e8edf4; }
.aswf-gallery-v2 figure.is-big { grid-row: span 2; }
.aswf-gallery-v2 img { width: 100%; height: 100% !important; object-fit: cover; border-radius: 0; transition: transform .5s cubic-bezier(.2,0,0,1); }
.aswf-gallery-v2 figure:hover img { transform: scale(1.05); }
.aswf-gallery-v2 figcaption { position: absolute; inset: auto 0 0 0; padding: 28px 14px 12px; color: #fff; font-size: 14px; font-weight: 700; background: linear-gradient(to top, rgba(12,30,60,.8), transparent); }
@media (max-width: 991px) { .aswf-gallery-v2 { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 200px; } }
@media (max-width: 767px) { .aswf-gallery-v2 { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 170px; gap: 8px; } .aswf-gallery-v2 figcaption { font-size: 12px; padding: 20px 10px 8px; } }
@media (min-width: 992px) { .aswf-gallery-v2 { grid-auto-flow: dense; } .aswf-gallery-v2 figure.is-big-lg { grid-row: span 2; } }
/* Location card: keep buttons on one line; stack address rows when the card is narrow. */
.aswf-addr-card .aswf-btn { white-space: nowrap; }
@media (min-width: 768px) and (max-width: 1199px) { .aswf-addr-list { grid-template-columns: 1fr; } .aswf-location { grid-template-columns: 1fr 1fr !important; } }
@media (min-width: 992px) and (max-width: 1199px) {
	header .aswf-brand { padding: 5px 7px !important; gap: 5px !important; }
	header .aswf-brand img { height: 26px !important; }
	.aswf-brand-name { font-size: 12px; }
	.aswf-brand-sub { font-size: 8.5px; }
	body #site_header .cf > li > a { padding: 0 7px !important; font-size: 13px; }
	body #site_header .cf > li { padding: 0 1px !important; }
	body #site_header .cf > li.menu-item-50 { display: none !important; }
	.logo_photo { width: auto !important; background: none !important; padding: 0 !important; }
	header .aswf-brand { background: #fff; border-radius: 10px; }
}
/* English contact card. */
.aswf-en-card { max-width: none; }
.aswf-en-contact { list-style: none; margin: 0; padding: 0; border-top: 1px solid #e8edf4; }
.aswf-en-contact li { display: grid; grid-template-columns: 22px 110px 1fr; align-items: center; gap: 10px; padding: 11px 2px; border-bottom: 1px solid #e8edf4; font-size: 15px; }
.aswf-en-contact i { color: #43A25B; text-align: center; }
.aswf-en-contact span { color: #6b7a90; font-size: 13px; }
.aswf-en-contact b, .aswf-en-contact a { color: #14305D; font-weight: 700; text-decoration: none; overflow-wrap: anywhere; }
.aswf-en-contact a:hover { color: #2A8742; }
@media (max-width: 767px) { .aswf-en-contact li { grid-template-columns: 20px 86px 1fr; font-size: 14px; } }
/* Footer brand on the branch page. */
.almanar-brand-logo:has(.aswf-foot-name) { display: inline-flex !important; align-items: center; gap: 10px; background: #fff; border-radius: 12px; padding: 10px 14px; direction: rtl; }
.almanar-brand-logo:has(.aswf-foot-name) img { height: 40px !important; width: auto !important; margin: 0 !important; background: none !important; padding: 0 !important; }
.aswf-foot-name { display: flex; flex-direction: column; gap: 4px; line-height: 1; }
.aswf-foot-name b { font-family: "Cairo", sans-serif; font-weight: 800; font-size: 18px; color: #14305D; white-space: nowrap; }
.aswf-foot-name small { font-family: "Cairo", sans-serif; font-weight: 600; font-size: 12px; color: #14305D; }
