/* Golden Horse – "الحصان الذهبي في المعارض الدولية" section + lightbox. Loaded only on pages that show it. */

/* ------------------------------------------------------------ band */
.entry-content .gh-expo.alignfull, .gh-expo {
	width: 100%; max-width: none; margin-inline: 0; box-sizing: border-box;
	background: radial-gradient(1100px 420px at 85% -10%, rgba(24, 144, 176, .28), transparent 70%), #0f1d23;
	color: #fff; padding: 88px 0 96px; scroll-margin-top: 90px;
}
.gh-expo * { box-sizing: border-box; }
.gh-expo .gh-wrap { position: relative; }

/* ------------------------------------------------------------ intro */
.gh-expo-intro { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 48px; align-items: end; }
.gh-expo-intro > * { grid-column: 1; margin: 0; }
.gh-expo-intro > .gh-expo-meta { grid-column: 2; grid-row: 1 / span 3; }
.gh-expo-eyebrow { display: inline-flex; align-items: center; gap: 12px; color: var(--gh-gold, #f8c010); font-size: 14px; font-weight: 800; letter-spacing: .02em; }
.gh-expo-eyebrow::before { content: ""; width: 30px; height: 2px; background: currentColor; border-radius: 2px; }
.gh-expo-title { color: #fff !important; font-size: clamp(28px, 3.2vw, 40px); line-height: 1.3; margin: 10px 0 12px !important; font-weight: 800; }
.gh-expo-text { color: #b5c6cc; font-size: 16.5px; line-height: 1.85; max-width: 660px; }
.gh-expo-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.gh-expo-count {
	display: inline-flex; align-items: center; gap: 8px; padding: 8px 15px; border: 1px solid rgba(255, 255, 255, .18);
	border-radius: 999px; color: #d6e4e8; font-size: 14px; font-weight: 700; white-space: nowrap;
}
.gh-expo-count svg { color: var(--gh-gold, #f8c010); }
.gh-expo-btn {
	display: inline-flex; align-items: center; gap: 14px; min-height: 50px; padding: 0 24px; border: 0; border-radius: var(--gh-radius, 6px);
	background: var(--gh-gold, #f8c010); color: #171717 !important; font: inherit; font-size: 16px; font-weight: 800; text-decoration: none !important;
	cursor: pointer; transition: background .2s, color .2s;
}
.gh-expo-btn:hover, .gh-expo-btn:focus-visible { background: #fff; color: var(--gh-teal-dark, #0f7490) !important; }
.gh-expo-btn .gh-arrow { transition: transform .2s; }
.rtl .gh-expo-btn .gh-arrow, [dir="rtl"] .gh-expo-btn .gh-arrow { transform: scaleX(-1); }
.gh-expo-btn:hover .gh-arrow { transform: translateX(4px); }
.rtl .gh-expo-btn:hover .gh-arrow, [dir="rtl"] .gh-expo-btn:hover .gh-arrow { transform: scaleX(-1) translateX(4px); }
.gh-expo :focus-visible { outline: 3px solid var(--gh-gold, #f8c010); outline-offset: 3px; }

/* ------------------------------------------------------------ tile */
.gh-expo ul { list-style: none; margin: 0; padding: 0; }
.gh-expo li { margin: 0; }
.gh-expo-link {
	position: relative; display: block; width: 100%; height: 100%; overflow: hidden; border-radius: 12px; background: #1a2a31;
	isolation: isolate; text-decoration: none !important; color: #fff;
	box-shadow: 0 10px 28px rgba(0, 0, 0, .28);
}
.gh-expo-link img.gh-expo-img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2, .7, .2, 1); }
.gh-expo-link:hover img.gh-expo-img, .gh-expo-link:focus-visible img.gh-expo-img { transform: scale(1.05); }
.gh-expo-cap {
	position: absolute; inset-inline: 0; bottom: 0; z-index: 1; padding: 46px 18px 14px; color: #fff; font-size: 14px; font-weight: 700; line-height: 1.6;
	background: linear-gradient(to bottom, rgba(6, 14, 18, 0), rgba(6, 14, 18, .82));
	opacity: 0; transform: translateY(8px); transition: opacity .3s, transform .3s;
}
.gh-expo-link:hover .gh-expo-cap, .gh-expo-link:focus-visible .gh-expo-cap { opacity: 1; transform: none; }
.gh-expo-zoom {
	position: absolute; top: 12px; inset-inline-end: 12px; z-index: 2; width: 38px; height: 38px; border-radius: 50%;
	display: grid; place-items: center; background: rgba(255, 255, 255, .92); color: var(--gh-teal-dark, #0f7490);
	opacity: 0; transform: scale(.85); transition: opacity .25s, transform .25s;
}
.gh-expo-link:hover .gh-expo-zoom, .gh-expo-link:focus-visible .gh-expo-zoom { opacity: 1; transform: none; }
.gh-expo-more {
	position: absolute; inset: 0; z-index: 1; display: grid; place-items: center; background: rgba(15, 116, 144, .74);
	color: #fff; transition: background .25s;
}
.gh-expo-more b { font-size: 38px; font-weight: 800; line-height: 1; direction: ltr; }
.gh-expo-link:hover .gh-expo-more { background: rgba(15, 116, 144, .6); }
.gh-expo-link:has(.gh-expo-more) .gh-expo-cap { display: none; }

/* ------------------------------------------------------------ home mosaic */
.gh-expo-top.is-mosaic { margin-bottom: 38px; }
.gh-expo-mosaic { display: grid; gap: 14px; grid-template-columns: 1.6fr 1fr 1fr; grid-template-rows: 250px 250px; }
.gh-expo-mosaic li.is-main { grid-row: span 2; }
.gh-expo-mosaic li.is-main .gh-expo-cap { opacity: 1; transform: none; font-size: 16px; padding: 70px 22px 18px; }
.gh-expo-mosaic[data-n="4"] li:nth-child(4) { grid-column: 2 / span 2; }
.gh-expo-mosaic[data-n="3"] { grid-template-columns: 1.6fr 1fr; }
.gh-expo-mosaic[data-n="2"] { grid-template-columns: 1fr 1fr; grid-template-rows: 380px; }
.gh-expo-mosaic[data-n="2"] li.is-main { grid-row: auto; }
.gh-expo-mosaic[data-n="1"] { grid-template-columns: 1fr; grid-template-rows: 460px; }
.gh-expo-mosaic[data-n="1"] li.is-main { grid-row: auto; }

/* ------------------------------------------------------------ full gallery (bento grid) */
.gh-expo-top.is-full { margin-bottom: 40px; }
.gh-expo-top.is-full .gh-expo-intro { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); column-gap: 64px; row-gap: 0; align-items: end; }
.gh-expo-top.is-full .gh-expo-intro > .gh-expo-eyebrow,
.gh-expo-top.is-full .gh-expo-intro > .gh-expo-title { grid-column: 1; }
.gh-expo-top.is-full .gh-expo-intro > .gh-expo-text { grid-column: 2; grid-row: 1 / span 2; align-self: end; margin-bottom: 14px; }
.gh-expo-top.is-full .gh-expo-intro > .gh-expo-meta { grid-column: 2; grid-row: 3; }
.gh-expo .gh-wrap { container-type: inline-size; }
.gh-expo-bento { --cols: 4; --gap: 12px; display: grid; grid-template-columns: repeat(var(--cols), minmax(0, 1fr)); grid-auto-rows: 210px; grid-auto-flow: dense; gap: var(--gap); }
@supports (width: 1cqw) {
.gh-expo-bento { grid-auto-rows: calc((100cqw - (var(--cols) - 1) * var(--gap)) / var(--cols) * .72); }
}
.gh-expo-bento li { min-width: 0; min-height: 0; }
.gh-expo-bento li.is-big { grid-column: span 2; grid-row: span 2; }
.gh-expo-bento li.is-tall { grid-row: span 2; }
.gh-expo-bento li.is-big .gh-expo-cap { opacity: 1; transform: none; font-size: 16px; padding: 70px 22px 18px; }

/* ------------------------------------------------------------ responsive */
@media (max-width: 1024px) {
	.gh-expo-mosaic { grid-template-rows: 210px 210px; }
}
@media (max-width: 900px) {
	.gh-expo-intro, .gh-expo-top.is-full .gh-expo-intro { grid-template-columns: minmax(0, 1fr); }
	.gh-expo-intro > .gh-expo-meta, .gh-expo-top.is-full .gh-expo-intro > .gh-expo-meta { grid-column: 1; grid-row: auto; margin-top: 20px; }
	.gh-expo-top.is-full .gh-expo-intro > .gh-expo-text { grid-column: 1; grid-row: auto; margin-bottom: 0; }
}
@media (max-width: 768px) {
	.entry-content .gh-expo.alignfull, .gh-expo { padding: 60px 0 66px; }
	.gh-expo-top.is-mosaic { margin-bottom: 26px; }
	.gh-expo-mosaic, .gh-expo-mosaic[data-n] { grid-template-columns: 1fr 1fr; grid-template-rows: none; grid-auto-rows: auto; gap: 10px; }
	.gh-expo-mosaic li .gh-expo-link { aspect-ratio: 1; height: auto; }
	.gh-expo-mosaic li.is-main { grid-column: 1 / -1; grid-row: auto; }
	.gh-expo-mosaic li.is-main .gh-expo-link { aspect-ratio: 4 / 3; }
	.gh-expo-mosaic li.is-main .gh-expo-cap { font-size: 15px; padding: 54px 16px 14px; }
	.gh-expo-mosaic[data-n="4"] li:nth-child(4), .gh-expo-mosaic[data-n="2"] li:nth-child(2) { grid-column: 1 / -1; }
	.gh-expo-mosaic[data-n="4"] li:nth-child(4) .gh-expo-link, .gh-expo-mosaic[data-n="2"] li:nth-child(2) .gh-expo-link { aspect-ratio: 2 / 1; }
	.gh-expo-bento { --cols: 2; --gap: 8px; }
	.gh-expo-top.is-full { margin-bottom: 26px; }
	.gh-expo-bento li.is-big .gh-expo-cap { font-size: 15px; padding: 54px 16px 14px; }
	.gh-expo-meta { gap: 10px; }
	.gh-expo-btn { width: 100%; justify-content: center; }
	.gh-expo-zoom { display: none; }
	.gh-expo-link { border-radius: 10px; }
}

/* ------------------------------------------------------------ "من نحن" story (copy + feature photo, then the other photos) */
.entry-content .gh-expo--story.alignfull, .gh-expo--story {
	padding: 104px 0 110px;
	background:
		radial-gradient(900px 520px at 100% 0%, rgba(24, 144, 176, .30), transparent 65%),
		radial-gradient(760px 460px at 0% 100%, rgba(248, 192, 16, .07), transparent 70%),
		#0f1d23;
}
.gh-expo-story { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); column-gap: 72px; align-items: center; }
.gh-expo-copy { min-width: 0; }
.gh-expo-s-head > * { margin: 0; }
.gh-expo-story .gh-expo-title { font-size: clamp(30px, 3.3vw, 44px); line-height: 1.28; margin: 14px 0 18px !important; text-wrap: balance; }
.gh-expo-lead { color: #c3d3d8; font-size: 17.5px; line-height: 1.95; }
.gh-expo-facts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px !important; }
.gh-expo-facts li {
	display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px;
	background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .13); color: #e6eef0; font-size: 14px; font-weight: 700;
}
.gh-expo-facts svg { width: 18px; height: 18px; color: var(--gh-gold, #f8c010); flex: none; }
.gh-expo-points {
	display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 30px;
	margin-top: 36px !important; padding-top: 32px !important; border-top: 1px solid rgba(255, 255, 255, .1);
}
.gh-expo-points li { display: flex; gap: 14px; align-items: flex-start; }
.gh-expo-points li > div { min-width: 0; }
.gh-expo-p-ic {
	flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px;
	background: rgba(24, 144, 176, .18); border: 1px solid rgba(95, 208, 234, .25); color: #6fd6ee;
}
.gh-expo-points h3 { color: #fff !important; font-size: 17px; line-height: 1.5; margin: 0 0 6px !important; font-weight: 800; }
.gh-expo-points p { color: #a9bcc2; font-size: 14.5px; line-height: 1.85; margin: 0; }
.gh-expo-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px; }
.gh-expo-btn.is-ghost { background: transparent; color: #fff !important; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .38); gap: 10px; }
.gh-expo-btn.is-ghost:hover, .gh-expo-btn.is-ghost:focus-visible { background: #fff; color: var(--gh-teal-dark, #0f7490) !important; box-shadow: none; }
.gh-expo-btn.is-ghost svg { width: 20px; height: 20px; flex: none; }
.gh-expo-btn-n {
	display: inline-grid; place-items: center; min-width: 28px; height: 24px; padding: 0 7px; border-radius: 999px;
	background: rgba(255, 255, 255, .15); font-size: 13px; font-weight: 800; direction: ltr;
}
.gh-expo-btn.is-ghost:hover .gh-expo-btn-n, .gh-expo-btn.is-ghost:focus-visible .gh-expo-btn-n { background: rgba(15, 116, 144, .12); }

/* Feature photo with a small inset photo and a gold frame. */
.gh-expo-feature { position: relative; min-width: 0; }
.gh-expo-feature.has-inset { padding-bottom: 76px; }
.gh-expo-feature.has-inset .gh-expo-f-main { margin-inline-end: 52px; }
.gh-expo-f-main { position: relative; }
.gh-expo-f-main::before {
	content: ""; position: absolute; top: -20px; inset-inline-start: -20px; width: 46%; height: 52%;
	border: 2px solid rgba(248, 192, 16, .6); border-radius: 18px; pointer-events: none; z-index: 0;
}
.gh-expo-f-main .gh-expo-link { aspect-ratio: 4 / 3.1; border-radius: 16px; box-shadow: 0 30px 60px rgba(0, 0, 0, .45); z-index: 1; }
.gh-expo-f-main .gh-expo-cap { opacity: 1; transform: none; font-size: 15.5px; padding: 84px 24px 20px; }
.gh-expo-feature.has-inset .gh-expo-f-main .gh-expo-cap { padding-inline-end: 44%; }
.gh-expo-f-inset { position: absolute; bottom: 0; inset-inline-end: 0; width: 44%; z-index: 3; }
.gh-expo-f-inset .gh-expo-link { aspect-ratio: 4 / 3; border-radius: 14px; box-shadow: 0 0 0 6px #0f1d23, 0 26px 50px rgba(0, 0, 0, .55); }
.gh-expo-f-inset .gh-expo-cap { display: none; }

/* The other photos. */
.gh-expo-g-head {
	display: flex; align-items: center; justify-content: space-between; gap: 16px;
	margin: 96px 0 26px; padding-top: 44px; border-top: 1px solid rgba(255, 255, 255, .1);
}
.gh-expo-g-title { color: #fff !important; font-size: clamp(21px, 2vw, 27px); line-height: 1.4; margin: 0 !important; font-weight: 800; text-wrap: balance; }

@media (max-width: 1100px) {
	.gh-expo-story { grid-template-columns: minmax(0, 1fr); }
	.gh-expo-copy { display: contents; }
	.gh-expo-s-head { order: 1; max-width: 780px; }
	.gh-expo-feature { order: 2; margin-top: 44px; }
	.gh-expo-points { order: 3; margin-top: 44px !important; }
	.gh-expo-actions { order: 4; }
	.gh-expo-f-main .gh-expo-link { aspect-ratio: 16 / 10; }
}
@media (max-width: 768px) {
	.entry-content .gh-expo--story.alignfull, .gh-expo--story { padding: 64px 0 70px; }
	.gh-expo-story .gh-expo-title { font-size: clamp(26px, 7vw, 32px); margin: 10px 0 14px !important; }
	.gh-expo-lead { font-size: 16px; line-height: 1.9; }
	.gh-expo-feature { margin-top: 34px; }
	.gh-expo-feature.has-inset { padding-bottom: 46px; }
	.gh-expo-feature.has-inset .gh-expo-f-main { margin-inline-end: 22px; }
	.gh-expo-f-main::before { top: -10px; inset-inline-start: -10px; border-radius: 14px; }
	.gh-expo-f-main .gh-expo-link { aspect-ratio: 4 / 3; border-radius: 12px; }
	.gh-expo-f-main .gh-expo-cap { display: none; }
	.gh-expo-f-inset { width: 46%; }
	.gh-expo-f-inset .gh-expo-link { border-radius: 10px; box-shadow: 0 0 0 4px #0f1d23, 0 16px 30px rgba(0, 0, 0, .5); }
	.gh-expo-points { grid-template-columns: minmax(0, 1fr); gap: 22px; margin-top: 34px !important; padding-top: 28px !important; }
	.gh-expo-p-ic { width: 42px; height: 42px; border-radius: 10px; }
	.gh-expo-actions { margin-top: 30px; gap: 10px; }
	.gh-expo-g-head { margin: 60px 0 18px; padding-top: 30px; }
}

/* ------------------------------------------------------------ lightbox */
html.gh-lb-open { overflow: hidden; }
.gh-lb {
	position: fixed; inset: 0; z-index: 100000; display: grid; grid-template-columns: 84px minmax(0, 1fr) 84px; align-items: center;
	background: rgba(7, 13, 16, .95); opacity: 0; transition: opacity .2s; font-family: var(--gh-font, inherit);
}
.gh-lb[hidden] { display: none; }
.gh-lb.is-open { opacity: 1; }
.gh-lb-stage { grid-column: 2; margin: 0; height: 100vh; height: 100dvh; min-width: 0; padding: 64px 0 22px; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.gh-lb-img {
	display: block; width: auto; height: auto; max-width: 100%; max-height: calc(100vh - 150px); max-height: calc(100dvh - 150px);
	object-fit: contain; border-radius: 6px; background: #111; box-shadow: 0 20px 60px rgba(0, 0, 0, .5); transition: opacity .2s;
}
.gh-lb.is-loading .gh-lb-img { opacity: .35; }
.gh-lb-bar { display: flex; align-items: baseline; justify-content: space-between; gap: 18px; width: 100%; max-width: 1000px; padding-top: 14px; color: #e8eff1; font-size: 15px; line-height: 1.6; }
.gh-lb-count { color: #9fb3b9; white-space: nowrap; font-variant-numeric: tabular-nums; margin-inline-start: auto; }
.gh-lb-btn {
	display: grid; place-items: center; width: 52px; height: 52px; padding: 0; border: 0; border-radius: 50%;
	background: rgba(255, 255, 255, .12); color: #fff; cursor: pointer; transition: background .2s, color .2s;
}
.gh-lb .gh-lb-btn:focus { background: rgba(255, 255, 255, .12); color: #fff; box-shadow: none; }
.gh-lb .gh-lb-btn:hover, .gh-lb .gh-lb-btn:focus-visible { background: var(--gh-gold, #f8c010); color: #111; }
.gh-lb-btn:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
.gh-lb-btn[hidden] { display: none; }
.gh-lb-close { position: absolute; top: 14px; inset-inline-end: 14px; z-index: 2; }
.gh-lb-prev { grid-column: 1; grid-row: 1; justify-self: center; }
.gh-lb-next { grid-column: 3; grid-row: 1; justify-self: center; }
.gh-lb-prev svg { transform: scaleX(-1); }
[dir="rtl"] .gh-lb-prev svg { transform: none; }
[dir="rtl"] .gh-lb-next svg { transform: scaleX(-1); }
@media (max-width: 700px) {
	.gh-lb { grid-template-columns: minmax(0, 1fr); }
	.gh-lb-stage { grid-column: 1; grid-row: 1; padding: 66px 10px 18px; }
	.gh-lb-img { max-height: calc(100vh - 170px); max-height: calc(100dvh - 170px); }
	.gh-lb-bar { font-size: 14px; padding-inline: 4px; }
	.gh-lb-prev, .gh-lb-next { position: absolute; top: 50%; z-index: 2; width: 44px; height: 44px; margin-top: -22px; background: rgba(0, 0, 0, .45); }
	.gh-lb-prev { inset-inline-start: 8px; }
	.gh-lb-next { inset-inline-end: 8px; }
}
@media (prefers-reduced-motion: reduce) {
	.gh-expo-link img.gh-expo-img, .gh-expo-cap, .gh-expo-zoom, .gh-lb, .gh-lb-img { transition: none; }
}

/* 1.4.0: keep the section content on the same 1240px grid as the rest of the page (it was edge to edge). */
.gh-expo > .gh-wrap { width: 100%; max-width: calc(var(--gh-max, 1240px) + 2 * var(--gh-gutter, 24px)) !important; margin-inline: auto !important; padding-inline: var(--gh-gutter, 24px) !important; }

/* ------------------------------------------------------------ 1.4.7 scrolling strip ("من داخل الجناح") */
.gh-expo-marquee { --h: 300px; --gap: 14px; position: relative; overflow: hidden; direction: ltr; padding-block: 4px;
	-webkit-mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%); }
.gh-expo-track { display: flex; width: max-content; margin: 0 !important; padding: 0 !important; list-style: none; animation: gh-expo-marquee var(--dur, 60s) linear infinite; will-change: transform; }
.gh-expo-track li { flex: 0 0 auto; height: var(--h); aspect-ratio: var(--r, 1.4); margin: 0 var(--gap) 0 0 !important; list-style: none; }
.gh-expo-track li .gh-expo-link { height: 100%; }
.gh-expo-track .gh-expo-cap { direction: rtl; }
html[dir="ltr"] .gh-expo-track .gh-expo-cap { direction: ltr; }
.gh-expo-marquee:hover .gh-expo-track, .gh-expo-marquee:focus-within .gh-expo-track { animation-play-state: paused; }
@keyframes gh-expo-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (max-width: 768px) { .gh-expo-marquee { --h: 200px; --gap: 10px; } }
@media (prefers-reduced-motion: reduce) {
	.gh-expo-marquee { overflow-x: auto; -webkit-mask-image: none; mask-image: none; scroll-snap-type: x mandatory; }
	.gh-expo-track { animation: none; }
	.gh-expo-track li { scroll-snap-align: start; }
	.gh-expo-track li[aria-hidden="true"] { display: none; }
}

/* 1.5.0 – home: the photos scroll in one strip (no grid / count) */
.gh-expo--mosaic .gh-expo-marquee { --h: 340px; margin-top: 32px; }
@media (max-width: 768px) { .gh-expo--mosaic .gh-expo-marquee { --h: 220px; margin-top: 22px; } }
