/*
 * Single blog posts: Dubai-themed navy hero and clean article typography.
 * Loaded only on single posts. Uses the site's navy, white and muted gold.
 */

/* Hero ------------------------------------------------------------------------ */
.post-hero { position: relative; overflow: clip; padding-block: clamp(1.8rem, 3.2vw, 3rem) clamp(2rem, 3.6vw, 3.4rem); color: #fff; background: linear-gradient(100deg, #061a35 0%, #07224a 55%, #0c2d63 100%); }
.post-hero::before { content: ""; position: absolute; inset: 0 0 0 38%; background: url("../images/dubai-golden-1200.jpg") 70% center / cover no-repeat; -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 55%); mask-image: linear-gradient(to right, transparent 0%, #000 55%); opacity: 0.9; pointer-events: none; }
.post-hero::after { content: ""; position: absolute; inset: auto 0 0 0; height: 3px; background: linear-gradient(90deg, transparent, #b88635 30%, #d5ac62 60%, transparent); }
.post-hero__inner { position: relative; z-index: 1; max-width: 1180px; margin-inline: auto; }
.post-hero .breadcrumbs { margin-bottom: 1.3rem; font-size: 0.8rem; }
.post-hero .breadcrumbs ol, .post-hero .breadcrumbs a, .post-hero .breadcrumbs li + li::before { color: rgba(255, 255, 255, 0.78); }
.post-hero .breadcrumbs [aria-current] { color: #fff; font-weight: 500; }
.post-hero .breadcrumbs a:hover { color: #d5ac62; }
.post-hero .eyebrow { margin-bottom: 1rem; color: #d5ac62; }
.post-hero .eyebrow a { color: inherit; }
.post-hero h1 { max-width: 40rem; margin: 0 0 1.1rem; font-family: "Playfair Display", var(--sb-serif); font-size: clamp(1.9rem, 3.6vw, 3rem); font-weight: 600; line-height: 1.15; color: #fff; text-wrap: balance; }
.post-hero .post-meta { color: rgba(255, 255, 255, 0.85); font-size: 0.9rem; }
.post-hero .post-meta time { color: #fff; font-weight: 500; }

/* Article ---------------------------------------------------------------------- */
.post-layout { max-width: 46rem; padding-block: clamp(2rem, 4vw, 3.4rem); }
.post-body { color: #2c3e57; font-size: 1.08rem; line-height: 1.8; }
.post-body h2 { position: relative; margin-top: 2.4em; padding-bottom: 0.7rem; font-family: "Playfair Display", var(--sb-serif); font-size: clamp(1.5rem, 2.4vw, 1.95rem); font-weight: 600; line-height: 1.25; color: #071b40; }
.post-body h2::after { content: ""; position: absolute; left: 0; bottom: 0; width: 2.6rem; height: 2px; background: #b88635; }
.post-body h3 { margin-top: 1.7em; font-size: 1.2rem; font-weight: 600; color: #071b40; }
.post-body strong { color: #071b40; font-weight: 600; }
.post-body a { color: #8a6422; font-weight: 500; text-decoration: underline; text-underline-offset: 2px; }
.post-body a:hover, .post-body a:focus-visible { color: #071b40; }
.post-body ul { margin: 0; padding: 0; list-style: none; }
.post-body ul li { position: relative; margin: 0 0 0.5rem; padding-left: 1.5rem; }
.post-body ul li::before { content: ""; position: absolute; left: 0.1rem; top: 0.75em; width: 0.45rem; height: 0.45rem; border-radius: 50%; background: #b88635; }

/* Key takeaways */
.post-body .sb-takeaways { margin-block: 1.6rem 0; padding: 1.4rem 1.6rem; border: 1px solid rgba(184, 134, 53, 0.35); border-left: 4px solid #b88635; border-radius: 12px; background: #fbf6e9; }
.post-body .sb-takeaways h2 { margin: 0 0 0.9rem; padding: 0; font-family: "Inter", sans-serif; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: #8a6422; }
.post-body .sb-takeaways h2::after { display: none; }
.post-body .sb-takeaways ul { margin: 0; }
.post-body .sb-takeaways li { margin-bottom: 0.55rem; color: #2c3e57; }
.post-body .sb-takeaways li:last-child { margin-bottom: 0; }

/* Calls to action (three per article) */
.post-body .sb-post-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 1.5rem; margin-block: 2.2rem; padding: 1.4rem 1.6rem; border-radius: 14px; background: linear-gradient(100deg, #061a35 0%, #0c2d63 100%); box-shadow: 0 22px 40px -28px rgba(7, 27, 64, 0.7); }
.post-body .sb-post-cta .sb-post-cta__text { flex: 1 1 16rem; margin: 0; color: #fff; font-size: 1.05rem; font-weight: 500; line-height: 1.5; }
.post-body .sb-post-cta .wp-block-buttons { margin: 0; }
.post-body .sb-post-cta .wp-block-button__link { padding: 0.85rem 1.5rem; border: 0; border-radius: 7px; background: linear-gradient(135deg, #c99a42 0%, #b88635 55%, #9c6a23 100%); color: #fff; font-weight: 600; text-decoration: none; }
.post-body .sb-post-cta .wp-block-button__link:hover { filter: brightness(0.94); }
.post-body .sb-post-cta .wp-block-button__link:focus-visible { outline: 3px solid #d5ac62; outline-offset: 3px; }

/* FAQ accordion: native <details> blocks, reusing the theme chevron */
.post-body .sb-faq-post details { margin: 0 0 0.7rem; border: 1px solid rgba(7, 27, 64, 0.12); border-radius: 10px; background: #fff; }
.post-body .sb-faq-post details:last-child { border-bottom: 1px solid rgba(7, 27, 64, 0.12); }
.post-body .sb-faq-post details[open] { border-color: rgba(184, 134, 53, 0.5); box-shadow: 0 14px 30px -24px rgba(7, 27, 64, 0.5); }
.post-body .sb-faq-post summary { min-height: 3.2rem; padding: 0.9rem 2.8rem 0.9rem 1.1rem; color: #071b40; font-size: 1.02rem; font-weight: 600; line-height: 1.4; }
.post-body .sb-faq-post summary::after { right: 1.1rem; color: #b88635; }
.post-body .sb-faq-post summary:focus-visible { outline: 3px solid #b88635; outline-offset: 2px; border-radius: 10px; }
.post-body .sb-faq-post details > p { margin: 0; padding: 0 1.1rem 1rem; color: #2c3e57; font-size: 1rem; }

.post-body .sb-post-disclaimer { margin-top: 2.2rem; padding-top: 1.1rem; border-top: 1px solid rgba(7, 27, 64, 0.12); color: #6b7b93; font-size: 0.88rem; line-height: 1.6; }

@media (max-width: 899px) {
	.post-hero::before { inset: 0; opacity: 0.28; -webkit-mask-image: none; mask-image: none; }
}

@media (max-width: 599px) {
	.post-body { font-size: 1.02rem; }
	.post-body .sb-takeaways, .post-body .sb-post-cta { padding: 1.15rem 1.1rem; }
	.post-body .sb-post-cta .wp-block-buttons, .post-body .sb-post-cta .wp-block-button__link { width: 100%; text-align: center; }
}

/* Featured image: the full 16:9 artwork (including its embedded title), never cropped. */
.post-hero + .post-figure { margin-top: clamp(1.2rem, 2.6vw, 2rem); }
.post-figure { max-width: 60rem; padding-inline: var(--sb-gutter, 1.25rem); }
.post-figure img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: contain; border-radius: 14px; box-shadow: 0 24px 50px -32px rgba(7, 27, 64, 0.55); }

/* Two-column layout shared with the Privacy Policy (legal.css): contents card + article card ---------- */
.post-figure-band { background: #f8f7f3; padding-top: clamp(1.4rem, 2.8vw, 2.2rem); }
.post-figure-band .post-figure { margin: 0 auto; }
.post-main.has-figure { padding-top: clamp(1.4rem, 2.6vw, 2.2rem); }
.lg-wrap--single { grid-template-columns: minmax(0, 1fr); max-width: 52rem; }

.lg-content.post-body { font-size: 1rem; line-height: 1.75; color: #2c3e57; }
.lg-content.post-body > * + * { margin-top: 0; }
.lg-content.post-body p { margin: 0 0 1rem; }
.lg-content.post-body ul, .lg-content.post-body ol { margin: 0 0 1.1rem; }

/* Numbered, gold-accented headings (same treatment as the Privacy Policy sections) */
.lg-content.post-body h2 { position: relative; display: flex; align-items: baseline; gap: 0.9rem; margin: 2.4rem 0 1rem; padding: 2rem 0 0.8rem; border-top: 1px solid rgba(7, 27, 64, 0.1); font-family: "Playfair Display", var(--sb-serif); font-size: clamp(1.3rem, 2vw, 1.65rem); font-weight: 600; line-height: 1.25; color: #071b40; scroll-margin-top: 0.5rem; /* the page-wide scroll-padding already clears the sticky header */ }
.lg-content.post-body h2::after { content: ""; position: absolute; left: 0; bottom: 0; width: 2.6rem; height: 2px; background: #b88635; }
.lg-content.post-body > h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.lg-content.post-body h3 { margin: 1.6rem 0 0.6rem; font-size: 1.15rem; font-weight: 600; color: #071b40; }

/* Key takeaways keep their highlighted box: the label is a small caps line, not a section heading */
.lg-content.post-body .sb-takeaways { margin: 0 0 0.5rem; }
.lg-content.post-body .sb-takeaways h2 { margin: 0 0 0.9rem; padding: 0; border-top: 0; font-family: "Inter", sans-serif; font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; color: #8a6422; align-items: center; }
.lg-content.post-body .sb-takeaways h2::after { display: none; }
.lg-content.post-body .sb-takeaways .lg-sec__num { color: #8a6422; }

/* FAQ heading keeps its divider even though it is the first child of its group */
.lg-content.post-body .sb-faq-post { margin-top: 0.5rem; }
.lg-content.post-body .sb-faq-post > h2:first-child { margin-top: 2.4rem; padding-top: 2rem; border-top: 1px solid rgba(7, 27, 64, 0.1); }

@media (max-width: 899px) {
	.post-main.has-figure { padding-top: 1.2rem; }
}
