/* Contact section + footer layout overrides. Loaded after the theme's own stylesheets. */

/* ---------- Contact: two equal-height cards on one grid ---------- */
body #contact_text { padding: 72px 0; background: var(--mnr-surface, #f6f8fb); }
body #contact_text > .container {
	display: grid; grid-template-columns: 1.2fr 1fr; gap: 24px; align-items: stretch;
}
body #contact_text > .container::before,
body #contact_text > .container::after { display: none; }
body #contact_text > .container > .col-md-6 { width: auto; float: none; padding: 0; margin: 0; display: flex; }
body #contact_text .rightconform,
body #contact_text .leftcontactdetail {
	flex: 1; margin: 0 !important; padding: 36px !important; border-radius: 16px !important; box-sizing: border-box;
}

/* Form card */
body #contact_text .rightconform { background: #fff; border: 1px solid var(--mnr-line, #e6e9f0); box-shadow: var(--mnr-shadow-sm); }
body #contact_text .rightconttitle {
	display: flex; align-items: center; gap: 16px; margin: 0 0 24px; padding: 0 0 20px;
	border-bottom: 1px solid var(--mnr-line, #e6e9f0);
}
body #contact_text .rightconttitle img { width: 64px; height: auto; margin: 0; flex: none; }
body #contact_text .rcttext { margin: 0; padding: 0; text-align: start; }
body #contact_text .rcttext h2 { margin: 0 0 4px; font-size: 26px; }
body #contact_text .rcttext h5 { margin: 0; font-size: 15px; line-height: 1.6; }
body #contact_text .rightcoforma { margin: 0; padding: 0; }
body #contact_text .visual-form-builder fieldset { margin: 0; padding: 0; border: 0; }
body #contact_text .visual-form-builder .vfb-legend { display: none; }
body #contact_text .vfb-section-1 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 0; padding: 0; }
body #contact_text .vfb-section-1 .vfb-item { margin: 0 !important; padding: 0; width: auto; float: none; }
body #contact_text .vfb-section-1 .vfb-item-textarea { grid-column: 1 / -1; }
body #contact_text .vfb-section-2 { margin: 16px 0 0; padding: 0; }
body #contact_text .vfb-section-2 .vfb-item { margin: 0 !important; padding: 0; }
body #contact_text .vfb-item input.vfb-text,
body #contact_text .vfb-item textarea.vfb-textarea {
	width: 100% !important; max-width: none !important; margin: 0 !important; box-sizing: border-box;
	min-height: 52px; background: var(--mnr-surface, #f6f8fb); border-radius: 10px !important;
}
body #contact_text .vfb-item textarea.vfb-textarea { min-height: 150px; display: block; resize: vertical; }
body #contact_text .vfb-item input.vfb-text:focus,
body #contact_text .vfb-item textarea.vfb-textarea:focus { background: #fff; }
body #contact_text .rightcoforma input[type="submit"] { min-width: 180px; min-height: 52px; border-radius: 10px; margin: 0; font-size: 17px; }

/* Info card */
body #contact_text .leftcontactdetail { justify-content: flex-start !important; }
body #contact_text .leftcontactdetail .detailtitle { margin: 0 0 24px !important; text-align: start; }
body #contact_text .detailitem ul { margin: 0; padding: 0; list-style: none; }
body #contact_text .detailitem ul li { margin: 0 !important; border-bottom: 1px solid rgba(255, 255, 255, .1); }
body #contact_text .detailitem ul li:last-child { border-bottom: 0; }
body #contact_text .detailitem ul li a { padding: 16px 0; gap: 14px !important; line-height: 1.6; }
body #contact_text .detailitem ul li a i { width: 44px !important; height: 44px !important; border-radius: 10px !important; font-size: 17px; }
body #contact_text .almanar-cta {
	display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: auto;
	min-height: 52px; border-radius: 10px; background: var(--mnr-green, #43a25b); color: #fff !important;
	font-weight: 700; font-size: 17px; text-decoration: none !important; transition: background .25s;
}
body #contact_text .almanar-cta:hover { background: var(--mnr-green-dark, #2a8742); }
body #contact_text .almanar-cta-wrap { margin-top: auto; padding-top: 24px; }

/* ---------- Footer: brand | links | contact | social ---------- */
body #footer_site .fotblock { padding: 64px 0 40px !important; }
body #footer_site .fotblock > .container {
	display: grid; grid-template-columns: 1.4fr 1fr 1.2fr 1fr; gap: 40px; align-items: start;
}
body #footer_site .fotblock > .container::before,
body #footer_site .fotblock > .container::after { display: none; }
body #footer_site .fotblock > .container > div { width: auto; float: none; padding: 0; margin: 0 !important; text-align: start !important; }
body #footer_site .fotblock .almanar-news-col { display: none; }
body #footer_site .fotblock .almanar-brand-col { order: 1; }
body #footer_site .fotblock .col-md-4:has(.footer-quicklinks) { order: 2; }
body #footer_site .fotblock .almanar-contact-col { order: 3; }
body #footer_site .fotblock .col-md-4:has(.footer-social) { order: 4; }

body #footer_site .leftntitle { margin: 0 0 20px !important; padding: 0; text-align: start; }
body #footer_site .leftntitle h3 { margin: 0 !important; font-size: 19px !important; }
body #footer_site .leftntitle h3:after { content: "" !important; display: block !important; position: absolute !important; bottom: 0; width: 42px !important; height: 3px !important; border-radius: 2px; background: var(--mnr-green, #43a25b) !important; inset-inline-start: 0 !important; inset-inline-end: auto !important; margin: 0 !important; transform: none !important; }
body #footer_site .leftntitle h3 { position: relative !important; padding-bottom: 12px !important; }

body #footer_site .almanar-brand-logo {
	display: inline-block; background: #fff; border-radius: 12px; padding: 10px 14px; margin-bottom: 18px;
}
body #footer_site .almanar-brand-logo img { display: block; height: 52px; width: auto; }
body #footer_site .almanar-brand-col p { color: rgba(255, 255, 255, .78); font-size: 15px; line-height: 1.9; margin: 0 0 18px; max-width: 320px; }
body #footer_site .almanar-brand-book {
	display: inline-flex; align-items: center; gap: 8px; padding: 10px 20px; border-radius: 8px;
	background: var(--mnr-green, #43a25b); color: #fff !important; font-weight: 700; text-decoration: none !important;
}
body #footer_site .almanar-brand-book:hover { background: var(--mnr-green-dark, #2a8742); }

body #footer_site .footer-quicklinks ul { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 20px; margin: 0; padding: 0; list-style: none; }
body #footer_site .footer-quicklinks li { margin: 0 !important; padding: 0; text-align: start; }
body #footer_site .footer-quicklinks li a { color: rgba(255, 255, 255, .8) !important; font-size: 15px !important; transition: color .2s; }
body #footer_site .footer-quicklinks li a:hover { color: #fff !important; }

body #footer_site .almanar-contact-list { margin: 0; padding: 0; list-style: none; }
body #footer_site .almanar-contact-list li { margin: 0 0 14px; }
body #footer_site .almanar-contact-list a { display: flex; align-items: flex-start; gap: 12px; color: rgba(255, 255, 255, .8) !important; font-size: 15px; line-height: 1.7; text-decoration: none; }
body #footer_site .almanar-contact-list a:hover { color: #fff !important; }
body #footer_site .almanar-contact-list i { color: var(--mnr-green, #43a25b); width: 18px; margin-top: 5px; flex: none; text-align: center; }

body #footer_site .footer-social { margin: 0 !important; padding: 0 !important; }
body #footer_site .footer-social ul { justify-content: flex-start !important; margin: 0 !important; padding: 0; }

body #footer_site .footer_site2 { padding: 18px 0 !important; }

/* ---------- Tablet / mobile ---------- */
@media (max-width: 991px) {
	body #contact_text > .container { grid-template-columns: 1fr; }
	body #footer_site .fotblock > .container { grid-template-columns: 1fr 1fr; gap: 36px 28px; }
}
@media (max-width: 575px) {
	body #contact_text { padding: 48px 0; }
	body #contact_text .rightconform,
	body #contact_text .leftcontactdetail { padding: 24px 20px !important; }
	body #contact_text .vfb-section-1 { grid-template-columns: 1fr; }
	body #contact_text .rightcoforma input[type="submit"] { width: 100%; }
	body #footer_site .fotblock { padding: 48px 0 28px !important; }
	body #footer_site .fotblock > .container { grid-template-columns: 1fr; gap: 32px; }
	body #footer_site .footer_site2 .container { justify-content: center !important; text-align: center; }
}

/* Keep footer headings aligned with their content at every width. */
body #footer_site .fotblock .leftntitle,
body #footer_site .fotblock .leftntitle h3 { text-align: start !important; }
body #footer_site .fotblock .leftntitle h3 { display: inline-block !important; }
@media (max-width: 575px) {
	body #contact_text .rightcoforma input[type="submit"] { width: 100% !important; display: block; }
}

/* ---------- Home hero ---------- */
.logo_photo .almanar-logo-h { margin: 0; padding: 0; }
#almanar-hero { position: relative; min-height: clamp(560px, 86vh, 780px); display: flex; align-items: flex-end; overflow: hidden; background: #0f2547; }
#almanar-hero picture, #almanar-hero picture img { position: absolute; inset: 0; width: 100%; height: 100%; }
#almanar-hero picture img { object-fit: cover; object-position: 50% 40%; }
#almanar-hero::after {
	content: ""; position: absolute; inset: 0; pointer-events: none;
	background:
		linear-gradient(to top, rgba(12, 30, 60, .92) 0%, rgba(12, 30, 60, .6) 38%, rgba(12, 30, 60, .1) 68%, rgba(12, 30, 60, .35) 100%);
}
#almanar-hero .ah-content { position: relative; z-index: 1; padding-top: 160px; padding-bottom: 72px; color: #fff; text-align: start; }
#almanar-hero .ah-kicker {
	display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px;
	background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .25);
	font-size: 14px; font-weight: 600; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
#almanar-hero .ah-kicker i { color: #6fd08a; }
#almanar-hero h1 {
	margin: 18px 0 12px; color: #fff; font-family: "Cairo", sans-serif; font-weight: 700;
	font-size: clamp(30px, 4.6vw, 56px); line-height: 1.25; max-width: 760px; text-shadow: 0 2px 18px rgba(0, 0, 0, .25);
}
#almanar-hero p { margin: 0 0 28px; max-width: 620px; font-size: clamp(16px, 1.5vw, 19px); line-height: 1.9; color: rgba(255, 255, 255, .88); }
#almanar-hero .ah-actions { display: flex; flex-wrap: wrap; gap: 12px; }
#almanar-hero .ah-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; padding: 0 30px;
	border-radius: 10px; font-weight: 700; font-size: 17px; text-decoration: none !important; transition: background .25s, color .25s, transform .25s;
}
#almanar-hero .ah-btn-primary { background: var(--mnr-green, #43a25b); color: #fff !important; }
#almanar-hero .ah-btn-primary:hover { background: var(--mnr-green-dark, #2a8742); transform: translateY(-2px); }
#almanar-hero .ah-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); }
#almanar-hero .ah-btn-ghost:hover { background: #fff; color: var(--mnr-navy, #14305d) !important; }
@media (max-width: 767px) {
	#almanar-hero { min-height: 600px; }
	#almanar-hero picture img { object-position: 38% 30%; }
	#almanar-hero .ah-content { padding-top: 120px; padding-bottom: 40px; }
	#almanar-hero .ah-actions { display: grid; grid-template-columns: 1fr 1fr; }
	#almanar-hero .ah-btn { padding: 0 12px; font-size: 16px; }
}

/* Hero: extra darkening on the text side so the headline reads over the photo. */
#almanar-hero::before {
	content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
	background: linear-gradient(to left, rgba(12, 30, 60, .78) 0%, rgba(12, 30, 60, .45) 38%, rgba(12, 30, 60, 0) 62%);
}
html[dir="ltr"] #almanar-hero::before { background: linear-gradient(to right, rgba(12, 30, 60, .78) 0%, rgba(12, 30, 60, .45) 38%, rgba(12, 30, 60, 0) 62%); }
#almanar-hero .ah-content { z-index: 2; }
@media (max-width: 767px) { #almanar-hero::before { display: none; } }
#almanar-hero + main #about_site, main > #about_site:first-child { margin-top: 0; padding-top: 24px; }

/* Mobile header: drop the stray white panel behind the booking/phone buttons. */
@media (max-width: 991px) { body #site_header .col-md-3 { background: transparent !important; } }

/* Album cards: one rounded frame, image and caption clipped to it (no sharp inner corners). */
body #site_photo .block_all {
	padding: 0 !important; border: 1px solid var(--mnr-line, #e6e9f0) !important; border-radius: 16px !important;
	overflow: hidden !important; background: #fff; isolation: isolate;
}
body #site_photo .block_photo, body #site_photo .block_photo a, body #site_photo .block_photo img { border-radius: 0 !important; margin: 0 !important; }
body #site_photo .block_photo { display: block; }
body #site_photo .blocklink { border-radius: 0 !important; margin: 0 !important; overflow: hidden; }
body #site_photo .lefticonlink { align-self: stretch; }

/* ---------- Album header + category chips ---------- */
body #site_photo .photo_title { background: #fff !important; background-image: none !important; padding: 72px 0 8px !important; text-align: center; }
body #site_photo .photo_title h3 { color: var(--mnr-navy, #14305d) !important; font-size: clamp(26px, 3vw, 36px) !important; font-weight: 700; margin: 0 0 10px !important; position: relative; padding-bottom: 14px; }
body #site_photo .photo_title h3:after { content: ""; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); width: 46px; height: 3px; border-radius: 2px; background: var(--mnr-green, #43a25b); }
body #site_photo .photo_title span { color: var(--mnr-muted, #5f6b80) !important; font-size: 16px; }
body #site_photo .photocontent { padding-top: 28px; }
body #site_photo .nav-tabs {
	display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; border: 0 !important;
	margin: 0 auto 8px !important; padding: 0; max-width: 1000px; float: none;
}
body #site_photo .nav-tabs::before, body #site_photo .nav-tabs::after { display: none; }
body #site_photo .nav-tabs > li { float: none; margin: 0 !important; }
body #site_photo .nav-tabs > li > a {
	display: inline-flex; align-items: center; min-height: 40px; padding: 0 18px !important; margin: 0 !important;
	border-radius: 999px !important; border: 1px solid var(--mnr-line, #e6e9f0) !important;
	background: var(--mnr-surface, #f6f8fb) !important; background-image: none !important; box-shadow: none !important;
	color: var(--mnr-ink, #1c2b45) !important; font-size: 15px !important; font-weight: 600; white-space: nowrap;
	transition: background .2s, color .2s, border-color .2s;
}
body #site_photo .nav-tabs > li > a:hover { background: #fff !important; border-color: var(--mnr-green, #43a25b) !important; color: var(--mnr-green-dark, #2a8742) !important; }
body #site_photo .nav-tabs > li.active > a,
body #site_photo .nav-tabs > li.active > a:hover,
body #site_photo .nav-tabs > li.active > a:focus { background: var(--mnr-navy, #14305d) !important; border-color: var(--mnr-navy, #14305d) !important; color: #fff !important; }
body #site_photo .nav-tabs > li > a:before, body #site_photo .nav-tabs > li > a:after { display: none !important; }
@media (max-width: 767px) {
	body #site_photo .photo_title { padding-top: 52px !important; }
	body #site_photo .nav-tabs {
		flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; scroll-snap-type: x proximity;
		margin: 0 0 8px !important; padding: 2px 0 8px; scrollbar-width: none;
		-webkit-mask-image: linear-gradient(to left, #000 0, #000 calc(100% - 36px), transparent 100%);
		mask-image: linear-gradient(to left, #000 0, #000 calc(100% - 36px), transparent 100%);
	}
	body #site_photo .nav-tabs::-webkit-scrollbar { display: none; }
	body #site_photo .nav-tabs > li { scroll-snap-align: start; flex: none; }
}

/* ---------- Album filter: grouped chips (home + album page) ---------- */
body .nav-tabs.almanar-filter { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px; border: 0 !important; margin: 0 auto 8px !important; padding: 0; max-width: 1060px; float: none; }
body .nav-tabs.almanar-filter::before, body .nav-tabs.almanar-filter::after { display: none; }
body .nav-tabs.almanar-filter > li { float: none; margin: 0 !important; }
body .nav-tabs.almanar-filter > li.af-label { color: var(--mnr-muted, #5f6b80); font-size: 14px; font-weight: 700; padding-inline-end: 6px; margin-inline-end: 4px !important; border-inline-end: 2px solid var(--mnr-green, #43a25b); line-height: 1.2; }
body .nav-tabs.almanar-filter > li.af-break { flex-basis: 100%; height: 6px; }
body .nav-tabs.almanar-filter > li > a {
	display: inline-flex; align-items: center; min-height: 40px; padding: 0 18px !important; margin: 0 !important;
	border-radius: 999px !important; border: 1px solid var(--mnr-line, #e6e9f0) !important;
	background: var(--mnr-surface, #f6f8fb) !important; background-image: none !important; box-shadow: none !important;
	color: var(--mnr-ink, #1c2b45) !important; font-size: 15px !important; font-weight: 600; white-space: nowrap; transition: background .2s, color .2s, border-color .2s;
}
body .nav-tabs.almanar-filter > li > a:before, body .nav-tabs.almanar-filter > li > a:after { display: none !important; }
body .nav-tabs.almanar-filter > li > a:hover { background: #fff !important; border-color: var(--mnr-green, #43a25b) !important; color: var(--mnr-green-dark, #2a8742) !important; }
body .nav-tabs.almanar-filter > li.active > a,
body .nav-tabs.almanar-filter > li.active > a:hover,
body .nav-tabs.almanar-filter > li.active > a:focus { background: var(--mnr-navy, #14305d) !important; border-color: var(--mnr-navy, #14305d) !important; color: #fff !important; }
@media (max-width: 767px) {
	body .nav-tabs.almanar-filter { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; scrollbar-width: none; padding: 2px 0 8px; margin: 0 0 8px !important;
		-webkit-mask-image: linear-gradient(to left, #000 0, #000 calc(100% - 36px), transparent 100%); mask-image: linear-gradient(to left, #000 0, #000 calc(100% - 36px), transparent 100%); }
	body .nav-tabs.almanar-filter::-webkit-scrollbar { display: none; }
	body .nav-tabs.almanar-filter > li { flex: none; }
	body .nav-tabs.almanar-filter > li.af-break { display: none; }
	body .nav-tabs.almanar-filter > li.af-label:not(:first-child) { margin-inline-start: 10px !important; }
}

/* ---------- Cards everywhere (home, services, album, videos) ---------- */
body .block_all {
	padding: 0 !important; border: 1px solid var(--mnr-line, #e6e9f0) !important; border-radius: 16px !important;
	overflow: hidden !important; background: #fff; isolation: isolate; box-shadow: var(--mnr-shadow-sm);
}
body .block_photo, body .block_photo a, body .block_photo img { border-radius: 0 !important; margin: 0 !important; }
body .block_photo { display: block; overflow: hidden; }
body .catepage .block_photo img, body .videopage .block_photo img, body .photopage .block_photo img { width: 100%; aspect-ratio: 4 / 3; height: auto !important; object-fit: cover; }
body .blocklink { border-radius: 0 !important; margin: 0 !important; overflow: hidden; display: flex; align-items: stretch; min-height: 54px; }
body .blocklink .rightlinkphoto { flex: 1; display: flex; align-items: center; }
body .blocklink .rightlinkphoto a { line-height: 1.5; }
body .lefticonlink { align-self: stretch; }
body .catepage .block_all, body .videopage .block_all, body .photopage .block_all { margin-bottom: 24px; }

/* ---------- Inner page header ---------- */
.almanar-ph {
	position: relative; isolation: isolate; color: #fff; padding: 140px 0 48px; min-height: 340px; display: flex; flex-direction: column; justify-content: flex-end; box-sizing: border-box;
	background: #0f2547 var(--ph-img) center 45% / cover no-repeat;
}
.almanar-ph::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(12, 30, 60, .94) 0%, rgba(12, 30, 60, .72) 45%, rgba(12, 30, 60, .5) 100%); }
.almanar-ph .container { text-align: start; margin-inline: auto; }
.almanar-ph .ph-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 14px; color: rgba(255, 255, 255, .7); margin-bottom: 12px; }
.almanar-ph .ph-crumbs a { color: rgba(255, 255, 255, .85); text-decoration: none; }
.almanar-ph .ph-crumbs a:hover { color: #fff; text-decoration: underline; }
.almanar-ph .ph-crumbs [aria-current] { color: #fff; font-weight: 600; }
.almanar-ph h1 { margin: 0; color: #fff; font-family: "Cairo", sans-serif; font-weight: 700; font-size: clamp(30px, 4vw, 46px); line-height: 1.25; }
.almanar-ph h1::after { content: ""; display: block; width: 48px; height: 3px; border-radius: 2px; background: var(--mnr-green, #43a25b); margin-top: 14px; }
.almanar-ph p { margin: 14px 0 0; max-width: 620px; font-size: 17px; line-height: 1.8; color: rgba(255, 255, 255, .86); }
.page_content .page_text, .page_content .page_text1, .page_content .page_text2 { padding-top: 48px; }
@media (max-width: 767px) { .almanar-ph { padding: 110px 0 32px; min-height: 260px; } .almanar-ph p { font-size: 15px; } }

/* ---------- About page ---------- */
.almanar-about { padding: 64px 0 80px; }
.almanar-about .ab-intro { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.almanar-about h2 { margin: 0 0 18px; color: var(--mnr-navy, #14305d); font-size: clamp(24px, 2.6vw, 32px); font-weight: 700; line-height: 1.4; }
.almanar-about .ab-text p { margin: 0 0 14px; color: var(--mnr-ink, #1c2b45); font-size: 17px; line-height: 2; max-width: 60ch; }
.almanar-about .ab-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.almanar-about .ab-btn { display: inline-flex; align-items: center; gap: 10px; min-height: 50px; padding: 0 24px; border-radius: 10px; font-weight: 700; font-size: 16px; text-decoration: none !important; transition: background .2s, color .2s; }
.almanar-about .ab-btn-primary { background: var(--mnr-green, #43a25b); color: #fff !important; }
.almanar-about .ab-btn-primary:hover { background: var(--mnr-green-dark, #2a8742); }
.almanar-about .ab-btn-line { border: 1px solid var(--mnr-navy, #14305d); color: var(--mnr-navy, #14305d) !important; }
.almanar-about .ab-btn-line:hover { background: var(--mnr-navy, #14305d); color: #fff !important; }
.almanar-about .ab-photo { margin: 0; border-radius: 18px; overflow: hidden; box-shadow: var(--mnr-shadow-md); aspect-ratio: 4 / 3; }
.almanar-about .ab-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 55% 50%; display: block; }
.almanar-about .ab-facts { display: grid; grid-template-columns: repeat(3, 1fr); margin: 56px 0; border-block: 1px solid var(--mnr-line, #e6e9f0); }
.almanar-about .ab-facts div { padding: 26px 20px; display: flex; flex-direction: column; gap: 4px; }
.almanar-about .ab-facts div + div { border-inline-start: 1px solid var(--mnr-line, #e6e9f0); }
.almanar-about .ab-facts strong { color: var(--mnr-navy, #14305d); font-size: 28px; font-weight: 700; line-height: 1.3; }
.almanar-about .ab-facts span { color: var(--mnr-muted, #5f6b80); font-size: 15px; }
.almanar-about .ab-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.almanar-about h3 { margin: 0 0 18px; color: var(--mnr-navy, #14305d); font-size: 21px; font-weight: 700; }
.almanar-about ul { list-style: none; margin: 0; padding: 0; }
.almanar-about .ab-fac { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.almanar-about .ab-fac li { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 12px; background: var(--mnr-surface, #f6f8fb); color: var(--mnr-ink, #1c2b45); font-weight: 600; }
.almanar-about .ab-fac i { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: #fff; color: var(--mnr-green, #43a25b); font-size: 16px; flex: none; }
.almanar-about .ab-units { display: flex; flex-wrap: wrap; gap: 8px; }
.almanar-about .ab-units li { padding: 9px 16px; border: 1px solid var(--mnr-line, #e6e9f0); border-radius: 999px; color: var(--mnr-ink, #1c2b45); font-weight: 600; font-size: 15px; }
.almanar-about .ab-more { display: inline-block; margin-top: 18px; color: var(--mnr-green-dark, #2a8742) !important; font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 991px) {
	.almanar-about .ab-intro, .almanar-about .ab-cols { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 575px) {
	.almanar-about { padding: 40px 0 56px; }
	.almanar-about .ab-facts { grid-template-columns: 1fr; margin: 40px 0; }
	.almanar-about .ab-facts div + div { border-inline-start: 0; border-top: 1px solid var(--mnr-line, #e6e9f0); }
	.almanar-about .ab-facts div { padding: 18px 4px; }
	.almanar-about .ab-btn { flex: 1; justify-content: center; }
}

/* ---------- Contact page ---------- */
body .contactforma2 ul { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 0; padding: 0; list-style: none; }
body .contactforma2 ul li { float: none; width: auto; margin: 0 !important; padding: 0; }
body .contactforma2 ul li a {
	display: flex !important; align-items: center; gap: 14px; height: 100%; min-height: 76px; padding: 16px 20px !important; box-sizing: border-box;
	background: #fff !important; background-image: none !important; border: 1px solid var(--mnr-line, #e6e9f0); border-radius: 14px;
	color: var(--mnr-ink, #1c2b45) !important; font-size: 17px; font-weight: 600; box-shadow: var(--mnr-shadow-sm); transition: border-color .2s;
}
body .contactforma2 ul li a:hover { border-color: var(--mnr-green, #43a25b); }
body .contactforma2 ul li a i { width: 44px; height: 44px; border-radius: 10px; display: grid; place-items: center; flex: none; background: var(--mnr-surface, #f6f8fb) !important; color: var(--mnr-green, #43a25b) !important; font-size: 18px; margin: 0 !important; }
body .contactforma2 ul li a span { word-break: break-word; }
body #googlemap iframe { border-radius: 16px; overflow: hidden; display: block; width: 100%; }
body .contact_th .contactforma { max-width: 820px; margin: 0 auto; background: #fff; border: 1px solid var(--mnr-line, #e6e9f0); border-radius: 16px; padding: 32px; box-shadow: var(--mnr-shadow-sm); }
body .contact_th .visual-form-builder fieldset { border: 0 !important; margin: 0 !important; padding: 0 !important; background: none !important; box-shadow: none !important; }
body .contact_th .visual-form-builder .vfb-legend { display: none; }
body .contact_th .vfb-section-1 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 0; padding: 0; }
body .contact_th .vfb-section-1 .vfb-item { margin: 0 !important; padding: 0; width: auto; float: none; }
body .contact_th .vfb-section-1 .vfb-item-textarea { grid-column: 1 / -1; }
body .contact_th .vfb-section-2 { margin: 16px 0 0; padding: 0; }
body .contact_th label.vfb-desc { display: block; margin: 0 0 8px; color: var(--mnr-ink, #1c2b45); font-weight: 600; font-size: 15px; }
body .contact_th .vfb-item input.vfb-text, body .contact_th .vfb-item textarea.vfb-textarea {
	width: 100% !important; max-width: none !important; margin: 0 !important; box-sizing: border-box; min-height: 50px;
	border: 1px solid var(--mnr-line, #e6e9f0) !important; border-radius: 10px !important; background: var(--mnr-surface, #f6f8fb); box-shadow: none !important; padding: 10px 14px !important; font-size: 15px;
}
body .contact_th .vfb-item textarea.vfb-textarea { min-height: 150px; }
body .contact_th .vfb-item input.vfb-text:focus, body .contact_th .vfb-item textarea.vfb-textarea:focus { background: #fff; border-color: var(--mnr-green, #43a25b) !important; outline: none; box-shadow: 0 0 0 3px rgba(67, 162, 91, .15) !important; }
body .contact_th .vfb-span label { font-size: 13px; color: var(--mnr-muted, #5f6b80); }
body .contact_th input[type="submit"] { min-width: 180px; min-height: 52px; border: 0; border-radius: 10px; background: var(--mnr-green, #43a25b) !important; color: #fff !important; font-weight: 700; font-size: 17px; cursor: pointer; }
body .contact_th input[type="submit"]:hover { background: var(--mnr-green-dark, #2a8742) !important; }
@media (max-width: 767px) {
	body .contactforma2 ul { grid-template-columns: 1fr; }
	body .contact_th .contactforma { padding: 22px 18px; }
	body .contact_th .vfb-section-1 { grid-template-columns: 1fr; }
	body .contact_th input[type="submit"] { width: 100%; }
}

/* ---------- Home booking card ---------- */
body #video_text .rightbooking.almanar-book {
	height: 100%; box-sizing: border-box; padding: 40px 40px 32px !important; color: #fff; text-align: start;
	display: flex; flex-direction: column; border-radius: 18px !important; overflow: hidden; position: relative;
	background: linear-gradient(155deg, #4bb069 0%, #2f8a4c 100%) !important;
}
body #video_text .almanar-book::after {
	content: ""; position: absolute; inset-inline-end: -60px; top: -60px; width: 220px; height: 220px; border-radius: 50%;
	border: 34px solid rgba(255, 255, 255, .07); pointer-events: none;
}
body #video_text .almanar-book h2 { margin: 0 0 10px; color: #fff; font-family: "Cairo", sans-serif; font-weight: 700; font-size: clamp(26px, 2.8vw, 34px); line-height: 1.3; }
body #video_text .almanar-book .bk-lead { margin: 0 0 24px; font-size: 17px; line-height: 1.8; color: rgba(255, 255, 255, .92); max-width: 46ch; }
body #video_text .almanar-book .bk-reasons { list-style: none; margin: 0 0 28px; padding: 0; display: grid; gap: 14px; }
body #video_text .almanar-book .bk-reasons li { display: flex; align-items: flex-start; gap: 14px; }
body #video_text .almanar-book .bk-reasons i { width: 42px; height: 42px; flex: none; border-radius: 12px; display: grid; place-items: center; background: rgba(255, 255, 255, .16); color: #fff; font-size: 17px; }
body #video_text .almanar-book .bk-reasons strong { display: block; font-size: 16px; font-weight: 700; color: #fff; line-height: 1.5; }
body #video_text .almanar-book .bk-reasons span { display: block; font-size: 14px; color: rgba(255, 255, 255, .82); line-height: 1.7; }
body #video_text .almanar-book .bk-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: auto; }
body #video_text .almanar-book .bk-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; border-radius: 12px; font-weight: 700; font-size: 17px; text-decoration: none !important; transition: background .2s, color .2s, transform .2s; }
body #video_text .almanar-book .bk-btn-main { background: #fff; color: var(--mnr-green-dark, #2a8742) !important; box-shadow: 0 8px 22px rgba(0, 0, 0, .14); }
body #video_text .almanar-book .bk-btn-main:hover { background: var(--mnr-navy, #14305d); color: #fff !important; transform: translateY(-2px); }
body #video_text .almanar-book .bk-btn-wa { border: 1px solid rgba(255, 255, 255, .7); color: #fff !important; }
body #video_text .almanar-book .bk-btn-wa:hover { background: rgba(255, 255, 255, .14); }
body #video_text .almanar-book .bk-note { margin: 14px 0 0; font-size: 13px; color: rgba(255, 255, 255, .75); }
body #video_text > .container { display: flex; flex-wrap: wrap; align-items: stretch; }
body #video_text > .container > .col-md-6 { display: flex; flex-direction: column; }
body #video_text > .container > .col-md-6 > * { flex: 1; }
@media (max-width: 991px) { body #video_text > .container > .col-md-6 { width: 100%; margin-bottom: 20px; } }
@media (max-width: 575px) {
	body #video_text .rightbooking.almanar-book { padding: 28px 22px 24px !important; }
	body #video_text .almanar-book .bk-actions { grid-template-columns: 1fr; }
}

body .contactforma2 ul li, body .contactforma2 ul li::before, body .contactforma2 ul li::after,
body .contactforma2 ul li a::before, body .contactforma2 ul li a::after { background: none !important; background-image: none !important; box-shadow: none; border: 0; }
body .contactforma2 ul li a { box-shadow: var(--mnr-shadow-sm) !important; border: 1px solid var(--mnr-line, #e6e9f0) !important; }
body .contactforma2 ul li::before, body .contactforma2 ul li::after, body .contactforma2 ul li a::before, body .contactforma2 ul li a::after { display: none !important; }
body #googlemap { padding-top: 48px; }

/* ---------- Home about block ---------- */
body #about_site, body #about_site .aboutsiteright, body #about_site .aboutsiteleft { background: #fff !important; background-image: none !important; }
body #about_site .about-solo { float: none; width: 100%; padding: 0; }
.almanar-habout { display: grid; grid-template-columns: 1.3fr 1fr; gap: 56px; align-items: center; padding: 72px 0; text-align: start; }
.almanar-habout .ha-tag { display: inline-block; color: var(--mnr-green-dark, #2a8742); font-weight: 700; font-size: 16px; margin-bottom: 10px; }
.almanar-habout h2 { margin: 0 0 18px !important; color: var(--mnr-navy, #14305d) !important; font-family: "Cairo", sans-serif; font-weight: 700; font-size: clamp(26px, 3vw, 38px) !important; line-height: 1.35; text-align: start !important; }
.almanar-habout h2::after, .almanar-habout h2::before { display: none !important; }
.almanar-habout p { margin: 0 0 28px; color: var(--mnr-ink, #1c2b45); font-size: 18px; line-height: 2; max-width: 58ch; }
.almanar-habout .ha-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.almanar-habout .ha-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px; border-radius: 10px; font-weight: 700; font-size: 16px; text-decoration: none !important; transition: background .2s, color .2s; }
.almanar-habout .ha-btn-main { background: var(--mnr-green, #43a25b); color: #fff !important; }
.almanar-habout .ha-btn-main:hover { background: var(--mnr-green-dark, #2a8742); }
.almanar-habout .ha-btn-line { border: 1px solid var(--mnr-navy, #14305d); color: var(--mnr-navy, #14305d) !important; }
.almanar-habout .ha-btn-line:hover { background: var(--mnr-navy, #14305d); color: #fff !important; }
.almanar-habout .ha-facts { list-style: none; margin: 0; padding: 8px 32px; border-radius: 18px; background: linear-gradient(160deg, var(--mnr-navy, #14305d), var(--mnr-navy-deep, #0f2547)); box-shadow: var(--mnr-shadow-md); }
.almanar-habout .ha-facts li { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 22px 0; }
.almanar-habout .ha-facts li + li { border-top: 1px solid rgba(255, 255, 255, .12); }
.almanar-habout .ha-facts strong { color: #fff; font-size: 30px; font-weight: 700; line-height: 1.2; white-space: nowrap; }
.almanar-habout .ha-facts span { color: rgba(255, 255, 255, .75); font-size: 15px; text-align: end; }
@media (max-width: 991px) { .almanar-habout { grid-template-columns: 1fr; gap: 32px; padding: 48px 0; } }
@media (max-width: 575px) {
	.almanar-habout p { font-size: 16px; }
	.almanar-habout .ha-btn { flex: 1; padding: 0 12px; }
	.almanar-habout .ha-facts { padding: 4px 22px; }
	.almanar-habout .ha-facts strong { font-size: 24px; }
}
body #about_site::before, body #about_site::after,
body #about_site .aboutsiteright::before, body #about_site .aboutsiteright::after,
body #about_site .aboutsiteleft::before, body #about_site .aboutsiteleft::after { display: none !important; }
body #about_site .aboutsiteright, body #about_site .aboutsiteleft { margin: 0 !important; padding: 0 !important; width: auto !important; box-shadow: none !important; }

/* ---------- Photo cards v2: caption sits on the image (one unit, no detached bar) ---------- */
body .block_all { position: relative !important; border: 0 !important; background: #0f2547 !important; box-shadow: var(--mnr-shadow-sm) !important; transform: none !important; transition: box-shadow .3s ease !important; }
body .block_all:hover { box-shadow: var(--mnr-shadow-md) !important; transform: none !important; }
body .block_all .block_photo { position: relative; }
body .block_all .block_photo a { display: block; position: relative; }
body .block_all .block_photo a::before, body .block_all .block_photo a::after,
body .block_all:hover .block_photo a::before, body .block_all:hover .block_photo a::after { content: none !important; display: none !important; }
body .block_all .block_photo img { display: block; width: 100% !important; height: auto !important; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .6s cubic-bezier(.2, .7, .2, 1) !important; }
body #site_photo .block_all .block_photo img { aspect-ratio: 16 / 10; }
body .block_all:hover .block_photo img { transform: scale(1.04) !important; }
body .block_all .block_photo::after {
	content: ""; position: absolute; inset: 0; pointer-events: none;
	background: linear-gradient(to top, rgba(10, 26, 52, .88) 0%, rgba(10, 26, 52, .45) 26%, rgba(10, 26, 52, 0) 52%);
}
body .block_all .blocklink {
	position: absolute !important; inset: auto 0 0 0; z-index: 2; display: flex; align-items: center; gap: 12px;
	min-height: 0 !important; padding: 18px 20px !important; background: none !important; background-image: none !important; pointer-events: none;
}
body .block_all .blocklink .rightlinkphoto { flex: 1; min-width: 0; background: none !important; padding: 0 !important; }
body .block_all .blocklink .rightlinkphoto a {
	pointer-events: auto; color: #fff !important; font-size: 17px !important; font-weight: 700; line-height: 1.5;
	text-shadow: 0 1px 8px rgba(0, 0, 0, .35); background: none !important; padding: 0 !important;
	display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
body .block_all .lefticonlink {
	flex: none; width: 40px; height: 40px; border-radius: 50%; display: grid !important; place-items: center;
	background: rgba(255, 255, 255, .16) !important; background-image: none !important; border: 1px solid rgba(255, 255, 255, .45);
	backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); align-self: center !important; padding: 0 !important;
	transition: background .25s, border-color .25s;
}
body .block_all .lefticonlink i { color: #fff !important; font-size: 14px !important; margin: 0 !important; }
body .block_all .lefticonlink i::before { content: "\f065" !important; font-family: "Font Awesome 6 Free" !important; font-weight: 900 !important; }
body .catepage .block_all .lefticonlink i::before { content: "\f104" !important; }
html[dir="ltr"] body .catepage .block_all .lefticonlink i::before { content: "\f105" !important; }
body .block_all:hover .lefticonlink { background: var(--mnr-green, #43a25b) !important; border-color: var(--mnr-green, #43a25b); }
@media (max-width: 575px) { body .block_all .blocklink { padding: 14px 16px !important; } body .block_all .blocklink .rightlinkphoto a { font-size: 16px !important; } }
@media (prefers-reduced-motion: reduce) { body .block_all .block_photo img, body .block_all:hover .block_photo img { transition: none !important; transform: none !important; } }

/* Home about v2: balanced columns, gold-accented location card */
.almanar-habout { --ha-gold: #c9a45c; align-items: stretch; grid-template-columns: 1.25fr 1fr; }
.almanar-habout .ha-text { display: flex; flex-direction: column; justify-content: center; }
.almanar-habout .ha-facts {
	position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: center;
	padding: 28px 32px; border-radius: 20px;
	background: radial-gradient(120% 90% at 100% 0%, #1d4180 0%, var(--mnr-navy, #14305d) 45%, var(--mnr-navy-deep, #0f2547) 100%);
	box-shadow: 0 24px 50px rgba(15, 37, 71, .22);
}
.almanar-habout .ha-facts::before { content: ""; position: absolute; inset-inline-end: 0; top: 0; width: 120px; height: 3px; background: linear-gradient(to left, var(--ha-gold), transparent); }
.almanar-habout .ha-facts::after { content: ""; position: absolute; inset-inline-start: -70px; bottom: -70px; width: 200px; height: 200px; border-radius: 50%; border: 1px solid rgba(201, 164, 92, .22); box-shadow: 0 0 0 26px rgba(201, 164, 92, .05); pointer-events: none; }
.almanar-habout .ha-facts .ha-facts-head { display: block; padding: 0 0 14px; color: var(--ha-gold); font-size: 14px; font-weight: 700; border: 0 !important; }
.almanar-habout .ha-facts li:not(.ha-facts-head) { display: flex; align-items: center; justify-content: flex-start; gap: 18px; padding: 18px 0; }
.almanar-habout .ha-facts li + li:not(:nth-child(2)) { border-top: 1px solid rgba(255, 255, 255, .1); }
.almanar-habout .ha-facts li:nth-child(2) { border-top: 0; }
.almanar-habout .ha-facts li i {
	width: 50px; height: 50px; flex: none; border-radius: 14px; display: grid; place-items: center; font-size: 19px;
	color: var(--ha-gold); background: rgba(201, 164, 92, .12); border: 1px solid rgba(201, 164, 92, .3);
	transition: background .3s, color .3s, transform .3s;
}
.almanar-habout .ha-facts li:hover i { background: var(--ha-gold); color: var(--mnr-navy-deep, #0f2547); transform: translateY(-2px); }
.almanar-habout .ha-facts li div { display: flex; flex-direction: column; gap: 2px; }
.almanar-habout .ha-facts strong { font-size: 28px; line-height: 1.25; }
.almanar-habout .ha-facts span { text-align: start; font-size: 15px; color: rgba(255, 255, 255, .72); }
.almanar-habout .ha-tag { display: inline-flex; align-items: center; gap: 10px; }
.almanar-habout .ha-tag::before { content: ""; width: 28px; height: 2px; background: var(--ha-gold); border-radius: 2px; }
@media (max-width: 575px) {
	.almanar-habout .ha-facts { padding: 22px 22px; }
	.almanar-habout .ha-facts li:not(.ha-facts-head) { gap: 14px; padding: 15px 0; }
	.almanar-habout .ha-facts li i { width: 44px; height: 44px; font-size: 17px; }
	.almanar-habout .ha-facts strong { font-size: 24px; }
}
@media (prefers-reduced-motion: reduce) { .almanar-habout .ha-facts li i { transition: none; } }
@media (max-width: 991px) { .almanar-habout { grid-template-columns: 1fr; gap: 32px; } }
/* No dark fringe at card edges (fancybox open/close, sub-pixel scaling). */
body .block_all { background: transparent !important; }
body .block_all .block_photo { border-radius: 16px; overflow: hidden; -webkit-mask-image: -webkit-radial-gradient(white, black); }
body .block_all .block_photo img { backface-visibility: hidden; transform: translateZ(0); }
body .block_all:hover .block_photo img { transform: translateZ(0) scale(1.04) !important; }
/* Brand colours only: green accents, no decorative circle or gold line. */
.almanar-habout { --ha-gold: var(--mnr-green, #43a25b); }
.almanar-habout .ha-facts::before, .almanar-habout .ha-facts::after { content: none !important; display: none !important; }
.almanar-habout .ha-facts { background: linear-gradient(160deg, var(--mnr-navy, #14305d) 0%, var(--mnr-navy-deep, #0f2547) 100%); }
.almanar-habout .ha-facts .ha-facts-head { color: #6fd08a; }
.almanar-habout .ha-facts li i { color: #6fd08a; background: rgba(67, 162, 91, .14); border-color: rgba(111, 208, 138, .3); }
.almanar-habout .ha-facts li:hover i { background: var(--mnr-green, #43a25b); color: #fff; }
.almanar-habout .ha-tag::before { background: var(--mnr-green, #43a25b); }
/* Theme pads the album with stray <br>s (~570px of blank space). */
body .tab-content > br, body .photocontent > .container > div > br { display: none; }
body .photopage .tab-content { padding-top: 24px; }
body .photocontent { min-height: 0 !important; }

/* ---------- Album carousel arrows: centred under the photos, RTL-correct ---------- */
body .owl-two .owl-nav {
	position: static !important; inset: auto !important; transform: none !important; margin: 20px 0 0 !important;
	display: flex !important; justify-content: center; gap: 12px; width: auto !important; height: auto !important;
}
body .owl-two .owl-nav.disabled { display: none !important; }
body .owl-two .owl-nav button.owl-prev, body .owl-two .owl-nav button.owl-next {
	position: static !important; margin: 0 !important; width: 46px !important; height: 46px !important; border-radius: 50% !important;
	display: grid !important; place-items: center; padding: 0 !important;
	background: #fff !important; background-image: none !important; border: 1px solid var(--mnr-line, #e6e9f0) !important;
	color: var(--mnr-navy, #14305d) !important; box-shadow: var(--mnr-shadow-sm) !important; transition: background .2s, color .2s, border-color .2s, opacity .2s;
}
@media (hover: hover) { body .owl-two .owl-nav button:not(.disabled):hover { background: var(--mnr-navy, #14305d) !important; border-color: var(--mnr-navy, #14305d) !important; color: #fff !important; } }
body .owl-two .owl-nav button.disabled { opacity: .35; cursor: default; }
body .owl-two .owl-nav button i { color: inherit !important; font-size: 15px !important; margin: 0 !important; }
/* The carousel itself runs LTR, so keep prev on the left (‹) and next on the right (›). */
body .owl-two .owl-nav { direction: ltr; }
body .owl-two .owl-nav button:focus-visible { outline: 2px solid var(--mnr-green, #43a25b); outline-offset: 3px; }

/* ---------- Inner pages: same floating header + hero treatment as the home page ---------- */
body:not(.home) #site_header:not(.shrink) { position: absolute; top: 0; left: 0; right: 0; z-index: 60; background: none !important; background-image: none !important; padding: 0 !important; }
body:not(.home) #site_header:not(.shrink) > .container { margin: 21px auto 0; width: calc(100% - 44px); max-width: 1396px; border-radius: 5px; padding: 5px 15px 7px; }
body:not(.home) .page_content { position: relative; }
.almanar-ph { min-height: 440px; padding: 170px 0 56px; background-position: center 40%; }
.almanar-ph::before {
	background:
		linear-gradient(to left, rgba(12, 30, 60, .7) 0%, rgba(12, 30, 60, .35) 45%, rgba(12, 30, 60, 0) 70%),
		linear-gradient(to top, rgba(12, 30, 60, .92) 0%, rgba(12, 30, 60, .55) 40%, rgba(12, 30, 60, .25) 75%, rgba(12, 30, 60, .45) 100%);
}
html[dir="ltr"] .almanar-ph::before {
	background:
		linear-gradient(to right, rgba(12, 30, 60, .7) 0%, rgba(12, 30, 60, .35) 45%, rgba(12, 30, 60, 0) 70%),
		linear-gradient(to top, rgba(12, 30, 60, .92) 0%, rgba(12, 30, 60, .55) 40%, rgba(12, 30, 60, .25) 75%, rgba(12, 30, 60, .45) 100%);
}
@media (max-width: 991px) {
	body:not(.home) #site_header:not(.shrink) > .container { margin-top: 0; width: 100%; border-radius: 0; }
	.almanar-ph { min-height: 340px; padding: 130px 0 36px; }
}
@media (max-width: 767px) { .almanar-ph::before { background: linear-gradient(to top, rgba(12, 30, 60, .94) 0%, rgba(12, 30, 60, .6) 50%, rgba(12, 30, 60, .45) 100%); } }

/* ---------- Home hero entrance: one orchestrated blur-in on load ---------- */
@keyframes ah-blur-in { from { opacity: 0; filter: blur(14px); transform: translateY(14px); } to { opacity: 1; filter: blur(0); transform: none; } }
@keyframes ah-rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes ah-zoom { from { transform: scale(1.08); } to { transform: scale(1); } }
#almanar-hero picture img { animation: ah-zoom 2.4s cubic-bezier(.2, .7, .2, 1) both; }
#almanar-hero .ah-kicker { animation: ah-rise .7s cubic-bezier(.2, .7, .2, 1) .15s both; }
#almanar-hero h1 .ah-w { display: inline-block; animation: ah-blur-in .9s cubic-bezier(.2, .7, .2, 1) both; animation-delay: calc(.25s + var(--i) * .12s); }
#almanar-hero p { animation: ah-blur-in .9s cubic-bezier(.2, .7, .2, 1) .85s both; }
#almanar-hero .ah-btn { animation: ah-rise .7s cubic-bezier(.2, .7, .2, 1) both; }
#almanar-hero .ah-btn:nth-child(1) { animation-delay: 1.1s; }
#almanar-hero .ah-btn:nth-child(2) { animation-delay: 1.22s; }
@media (prefers-reduced-motion: reduce) {
	#almanar-hero picture img, #almanar-hero .ah-kicker, #almanar-hero h1 .ah-w, #almanar-hero p, #almanar-hero .ah-btn { animation: none !important; }
}

/* ---------- Slow continuous zoom (Ken Burns) on hero photos ---------- */
@keyframes almanar-kenburns { from { transform: scale(1); } to { transform: scale(1.12); } }
#almanar-hero picture { overflow: hidden; }
#almanar-hero picture img { animation: almanar-kenburns 22s ease-in-out infinite alternate !important; transform-origin: 60% 45%; will-change: transform; }
.almanar-ph { overflow: hidden; background-image: none !important; }
.almanar-ph::after {
	content: ""; position: absolute; inset: 0; z-index: -2;
	background: var(--ph-img) center 40% / cover no-repeat;
	animation: almanar-kenburns 24s ease-in-out infinite alternate; transform-origin: 55% 45%; will-change: transform;
}
@media (prefers-reduced-motion: reduce) { #almanar-hero picture img, .almanar-ph::after { animation: none !important; } }

/* Hero headline keeps moving: after the entrance, a slow focus wave passes across the words. */
@keyframes ah-focus-wave {
	0%, 62%, 100% { filter: blur(0); opacity: 1; transform: none; }
	74% { filter: blur(6px); opacity: .55; transform: translateY(5px); }
	86% { filter: blur(0); opacity: 1; transform: translateY(-2px); }
}
#almanar-hero h1 .ah-w {
	animation: ah-blur-in .9s cubic-bezier(.2, .7, .2, 1) both, ah-focus-wave 7s ease-in-out infinite;
	animation-delay: calc(.25s + var(--i) * .12s), calc(3s + var(--i) * .35s);
}
@media (prefers-reduced-motion: reduce) { #almanar-hero h1 .ah-w { animation: none !important; } }

/* Faster hero motion: quicker entrance, wave starts right after it, 4s cycle. */
@keyframes ah-focus-wave-fast {
	0%, 50%, 100% { filter: blur(0); opacity: 1; transform: none; }
	62% { filter: blur(6px); opacity: .5; transform: translateY(5px); }
	76% { filter: blur(0); opacity: 1; transform: translateY(-2px); }
}
#almanar-hero .ah-kicker { animation-duration: .5s; animation-delay: .05s; }
#almanar-hero h1 .ah-w {
	animation: ah-blur-in .55s cubic-bezier(.2, .7, .2, 1) both, ah-focus-wave-fast 4s ease-in-out infinite;
	animation-delay: calc(.1s + var(--i) * .07s), calc(1.1s + var(--i) * .18s);
}
#almanar-hero p { animation-duration: .55s; animation-delay: .4s; }
#almanar-hero .ah-btn { animation-duration: .5s; }
#almanar-hero .ah-btn:nth-child(1) { animation-delay: .55s; }
#almanar-hero .ah-btn:nth-child(2) { animation-delay: .62s; }
@media (prefers-reduced-motion: reduce) { #almanar-hero h1 .ah-w, #almanar-hero .ah-kicker, #almanar-hero p, #almanar-hero .ah-btn { animation: none !important; } }
@keyframes ah-focus-wave-fast {
	0%, 40%, 100% { filter: blur(0); opacity: 1; transform: none; }
	12% { filter: blur(6px); opacity: .5; transform: translateY(5px); }
	26% { filter: blur(0); opacity: 1; transform: translateY(-2px); }
}
#almanar-hero h1 .ah-w { animation-delay: calc(.1s + var(--i) * .07s), calc(.9s + var(--i) * .18s); }

/* Hero headline v3: one quick blur-in, then a smooth light sweep (no repeated filters = no jank). */
@keyframes ah-shine { 0% { background-position: 150% 0; } 55%, 100% { background-position: -50% 0; } }
#almanar-hero h1 > span {
	background: linear-gradient(105deg, #fff 0%, #fff 42%, #c9f5d5 48%, #ffffff 50%, #c9f5d5 52%, #fff 58%, #fff 100%);
	background-size: 250% 100%; background-position: 150% 0;
	-webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
	animation: ah-shine 4.5s cubic-bezier(.45, 0, .25, 1) 1.2s infinite;
}
#almanar-hero h1 .ah-w {
	-webkit-text-fill-color: transparent;
	animation: ah-blur-in .55s cubic-bezier(.2, .7, .2, 1) backwards !important;
	animation-delay: calc(.1s + var(--i) * .07s) !important;
}
#almanar-hero h1 { text-shadow: none; filter: drop-shadow(0 2px 14px rgba(0, 0, 0, .3)); }
@media (prefers-reduced-motion: reduce) {
	#almanar-hero h1 > span { animation: none !important; -webkit-text-fill-color: #fff; background: none; }
	#almanar-hero h1 .ah-w { animation: none !important; -webkit-text-fill-color: #fff; }
}

/* Hero headline v4: letters "write in" right-to-left per word (clip reveal keeps Arabic joins intact). */
@keyframes ah-write-rtl { from { clip-path: inset(-20% 0 -20% 100%); opacity: .2; transform: translateX(-6px); } 60% { opacity: 1; } to { clip-path: inset(-20% 0 -20% 0); opacity: 1; transform: none; } }
@keyframes ah-write-ltr { from { clip-path: inset(-20% 100% -20% 0); opacity: .2; transform: translateX(6px); } 60% { opacity: 1; } to { clip-path: inset(-20% 0 -20% 0); opacity: 1; transform: none; } }
#almanar-hero h1 .ah-w {
	animation: ah-write-rtl .7s cubic-bezier(.4, 0, .2, 1) backwards !important;
	animation-delay: calc(.15s + var(--i) * .32s) !important;
}
html[dir="ltr"] #almanar-hero h1 .ah-w { animation-name: ah-write-ltr !important; }
#almanar-hero h1 > span { animation-delay: 2.2s; }
#almanar-hero p { animation-delay: 1.5s !important; }
#almanar-hero .ah-btn:nth-child(1) { animation-delay: 1.7s !important; }
#almanar-hero .ah-btn:nth-child(2) { animation-delay: 1.8s !important; }
@media (prefers-reduced-motion: reduce) { #almanar-hero h1 .ah-w { animation: none !important; } }

/* v4b: each word carries its own fill + sweep, so the write-in clip never hides the text. */
#almanar-hero h1 > span { background: none !important; -webkit-text-fill-color: initial; animation: none !important; }
@keyframes ah-shine-word { 0% { background-position: 150% 0; } 30%, 100% { background-position: -60% 0; } }
#almanar-hero h1 .ah-w {
	background: linear-gradient(105deg, #fff 0%, #fff 40%, #c9f5d5 47%, #ffffff 50%, #c9f5d5 53%, #fff 60%, #fff 100%);
	background-size: 260% 100%; background-position: 150% 0;
	-webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
	animation: ah-write-rtl .7s cubic-bezier(.4, 0, .2, 1) backwards, ah-shine-word 5s cubic-bezier(.45, 0, .25, 1) infinite !important;
	animation-delay: calc(.15s + var(--i) * .32s), calc(2.3s + var(--i) * .22s) !important;
	padding-block: .08em;
}
html[dir="ltr"] #almanar-hero h1 .ah-w { animation-name: ah-write-ltr, ah-shine-word !important; }
@media (prefers-reduced-motion: reduce) { #almanar-hero h1 .ah-w { animation: none !important; background: none; -webkit-text-fill-color: #fff; } }

/* Header «احجز الان»: visible button on the navy bar, no stray gradient line. */
body #site_header .book_now { background: #43A25B !important; border-radius: 8px !important; overflow: hidden; transition: background .25s; }
body #site_header .book_now:hover { background: #2A8742 !important; }
body #site_header .book_now a { color: #fff !important; font-weight: 700 !important; padding: 0 18px; }
body #site_header .book_now a::before, body #site_header .book_now::before { display: none !important; content: none !important; }
/* Album carousel: first photo on the right in Arabic. */
html[dir="rtl"] #site_photo .owl-two .owl-stage { margin-inline-start: auto; }
html[dir="rtl"] #site_photo .owl-two .owl-stage-outer { direction: ltr; }
html[dir="rtl"] #site_photo .owl-two .owl-stage { display: flex; flex-direction: row-reverse; }

/* Header polish: one height (44px), one radius (10px), one accent. Green = current page + primary CTA only. */
@media (min-width: 992px) {
	body #site_header .cf > li > a { white-space: nowrap; }
	body #site_header .cf > li > a { position: relative; display: inline-flex !important; align-items: center; height: 44px; padding: 0 14px !important; border-radius: 10px !important; background: transparent !important; color: rgba(255,255,255,.82) !important; transition: background-color .2s ease-out, color .2s ease-out; }
	body #site_header .cf > li > a::before, body #site_header .cf > li > a::after { display: none !important; }
	body #site_header .cf > li > a:hover { background: rgba(255,255,255,.08) !important; color: #fff !important; }
	body #site_header .cf > li.current-menu-item > a { background: rgba(255,255,255,.12) !important; color: #fff !important; box-shadow: inset 0 -2px 0 #43A25B; }
	body #site_header .book_now, body #site_header .lang_site, body #site_header .phone_site { height: 44px !important; margin-top: 0 !important; border-radius: 10px !important; display: inline-flex; align-items: center; justify-content: center; vertical-align: middle; transition: background-color .2s ease-out, transform .15s ease-out; }
	body #site_header .book_now a { line-height: 44px !important; }
	body #site_header .lang_site, body #site_header .phone_site { width: 44px !important; background: rgba(255,255,255,.1) !important; box-shadow: inset 0 0 0 1px rgba(255,255,255,.14); }
	body #site_header .lang_site:hover, body #site_header .phone_site:hover { background: rgba(255,255,255,.18) !important; }
	body #site_header .lang_site a, body #site_header .phone_site a { color: #fff !important; }
	body #site_header .book_now:active, body #site_header .lang_site:active, body #site_header .phone_site:active { transform: scale(.96); }
	body #site_header .col-md-2:has(.book_now) { display: flex; align-items: center; justify-content: flex-start; gap: 8px; }
}
@media (max-width: 991px) {
	body #site_header .book_now, body #site_header .phone_site { height: 40px !important; margin-top: 0 !important; border-radius: 10px !important; display: inline-flex; align-items: center; justify-content: center; vertical-align: middle; }
	body #site_header .book_now a { line-height: 40px !important; padding: 0 14px; }
	body #site_header .book_now { top: 6px !important; }
	body #site_header .phone_site { width: 40px !important; height: 40px !important; margin-top: 0 !important; top: 0 !important; transform: none !important; border-radius: 10px !important; display: inline-flex; align-items: center; justify-content: center; vertical-align: middle; }
	body #site_header .lang_site { background: rgba(255,255,255,.1) !important; box-shadow: inset 0 0 0 1px rgba(255,255,255,.14); }
	body #site_header .lang_site a { color: #fff !important; line-height: 40px !important; }
}
@media (min-width: 768px) and (max-width: 991px) {
	body #site_header .lang_site { width: 40px !important; height: 40px !important; margin-top: 0 !important; top: 0 !important; transform: none !important; border-radius: 10px !important; display: inline-flex; align-items: center; justify-content: center; vertical-align: middle; }
}
/* Mobile/tablet: menu icon in the far-left corner, actions shift right of it. */
@media (max-width: 991px) {
	body #site_header .container { position: relative; }
	body #site_header .col-md-2:has(.mobicon), body #site_header .mobicon:not(.col-md-2) ~ *, body #site_header div:has(> .mobicon) { position: static !important; }
	body #site_header .mobicon { position: absolute !important; left: 14px; top: 50%; transform: translateY(-50%); z-index: 5; margin: 0 !important; }
	body #site_header .col-md-3:has(.book_now) { padding-left: 54px !important; }
	body #site_header .mobicon { width: 36px !important; justify-content: center; }
}
/* English (LTR): mirror the corner menu icon to the right edge. */
@media (max-width: 991px) {
	html[lang^="en"] body #site_header .mobicon { left: auto; right: 14px; }
	html[lang^="en"] body #site_header .col-md-3:has(.book_now) { padding-left: 15px !important; padding-right: 54px !important; }
}
@media (max-width: 991px) {
	html[lang^="en"] body #site_header .logo_photo img { width: auto !important; height: 46px !important; max-width: none !important; object-fit: contain; }
	html[lang^="en"] body #site_header .logo_photo { width: auto !important; max-width: none !important; }
}
@media (max-width: 767px) {
	html[lang^="en"] body #site_header .logo_photo img { height: 34px !important; }
}
/* Arabic: same unsquashed logo on tablet/mobile. */
@media (max-width: 991px) {
	html:not([lang^="en"]) body:not(:has(.aswf-brand)) #site_header .logo_photo img { width: auto !important; height: 46px !important; max-width: none !important; object-fit: contain; }
	html:not([lang^="en"]) body:not(:has(.aswf-brand)) #site_header .logo_photo { width: auto !important; max-width: none !important; }
}
@media (max-width: 767px) { html:not([lang^="en"]) body:not(:has(.aswf-brand)) #site_header .logo_photo img { height: 34px !important; } }

/* Home slider (theme original): navy fade top (under the menu) and bottom, photo framed on the people. */
#site_slider { position: relative; }
#site_slider .item, #site_slider .owl-item > div { position: relative; }
#site_slider img { object-fit: cover; object-position: 50% 35%; }
#site_slider .item::after, #site_slider .owl-item > div::after {
	content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 1;
	background: linear-gradient(to bottom, rgba(12, 30, 60, .65) 0%, rgba(12, 30, 60, 0) 30%, rgba(12, 30, 60, 0) 45%, rgba(12, 30, 60, .55) 72%, rgba(12, 30, 60, .9) 100%);
}
