/* Yas Marina Yacht Rental – @author Mohammed Zaki */
/* ---------- single yacht page ---------- */
.single-yma_yacht .content-container, .single-yma_yacht .site-main > .content-wrap { max-width: none; padding: 0; }
.yma-bp { padding: 20px 0 0; background: linear-gradient(180deg, var(--yma-sand) 0, #fff 420px); }
.yma-crumbs { font-size: 13px; color: var(--yma-muted); margin-bottom: 14px; display: flex; gap: 8px; flex-wrap: wrap; }
.yma-crumbs a { color: var(--yma-turq-d); text-decoration: none; font-weight: 600; }
.yma-crumbs b { color: var(--yma-text); font-weight: 600; }
.yma-gal { margin-bottom: 30px; }
.yma-gal-stage { position: relative; border-radius: 28px; overflow: hidden; background: var(--yma-aqua); box-shadow: var(--yma-shadow-lg); }
.yma-gal-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; aspect-ratio: 16 / 7.5; }
.yma-gal-track::-webkit-scrollbar { display: none; }
.yma-gal-slide { flex: 0 0 100%; margin: 0; scroll-snap-align: start; cursor: zoom-in; overflow: hidden; }
.yma-gal-slide img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 6s ease; }
.yma-gal-stage:hover .yma-gal-slide img { transform: scale(1.03); }
@media (max-width: 760px) { .yma-gal-track { aspect-ratio: 4 / 3; } .yma-gal-stage { border-radius: 20px; } }
.yma-gal-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 46px; height: 46px; border-radius: 50%; border: 0; background: #fff; color: var(--yma-teal); font-size: 28px; line-height: 1; cursor: pointer; box-shadow: 0 6px 18px rgba(0, 0, 0, .18); transition: .2s; padding: 0; }
.yma-gal-arrow:hover { background: var(--yma-turq); color: #fff; }
.yma-gal-arrow.prev { left: 16px; }
.yma-gal-arrow.next { right: 16px; }
.yma-gal-count { position: absolute; left: 16px; bottom: 16px; background: rgba(14, 59, 67, .78); color: #fff; font-size: 13px; padding: 6px 12px; border-radius: 999px; }
.yma-gal-zoom { position: absolute; right: 16px; bottom: 16px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(14, 59, 67, .78); color: #fff; font-size: 18px; cursor: pointer; padding: 0; }
.yma-gal-stage .yma-booked { top: 50%; font-size: 28px; padding: 16px 34px; }
.yma-gal-thumbs { display: flex; gap: 10px; margin-top: 12px; overflow-x: auto; scrollbar-width: none; }
.yma-gal-thumbs button { flex: 0 0 110px; height: 72px; border: 3px solid transparent; border-radius: 14px; overflow: hidden; padding: 0; cursor: pointer; opacity: .65; transition: .2s; background: none; }
.yma-gal-thumbs button img { width: 100%; height: 100%; object-fit: cover; display: block; }
.yma-gal-thumbs button[aria-current], .yma-gal-thumbs button:hover { opacity: 1; border-color: var(--yma-turq); }

.yma-bp-grid { display: grid; grid-template-columns: minmax(0, 1fr) 370px; gap: 40px; align-items: start; }
@media (max-width: 980px) { .yma-bp-grid { grid-template-columns: 1fr; } }
.yma-bp-head h1 { font-family: var(--yma-head); font-weight: 800; font-size: clamp(32px, 4.4vw, 50px); color: var(--yma-teal); margin: 0 0 10px; line-height: 1.08; letter-spacing: -.6px; }
.yma-bp-base { display: inline-flex; align-items: center; gap: 7px; margin: 0 0 14px; padding: 7px 14px 7px 10px; border-radius: 999px; font-size: 13.5px; font-weight: 700; background: var(--yma-sand-2); color: #7A4F17; }
.yma-bp-base.is-yas { background: var(--yma-turq); color: #fff; }
.yma-bp-base svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.2; }
.yma-bp-intro { font-size: 17px; color: var(--yma-muted); margin: 0 0 20px; line-height: 1.65; }
.yma-bp-facts { list-style: none; margin: 0 0 10px; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
@media (max-width: 620px) { .yma-bp-facts { grid-template-columns: repeat(2, 1fr); } }
.yma-bp-facts li { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 16px 8px; margin: 0; background: #fff; border: 1px solid var(--yma-line); border-radius: 18px; box-shadow: 0 6px 16px rgba(14, 59, 67, .05); }
.yma-bp-facts svg { width: 24px; height: 24px; fill: none; stroke: var(--yma-turq); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.yma-bp-facts b { font-family: var(--yma-head); font-size: 20px; color: var(--yma-teal); }
.yma-bp-facts span { font-size: 10.5px; letter-spacing: 1px; text-transform: uppercase; color: var(--yma-muted); font-weight: 600; }
.yma-bp-sec { padding: 32px 0 6px; border-bottom: 1px solid var(--yma-line); }
.yma-bp-sec:last-child { border-bottom: 0; }
.yma-bp-sec h2 { font-family: var(--yma-head); font-weight: 700; font-size: 28px; color: var(--yma-teal); margin: 0 0 14px; }
.yma-bp-content h2 { font-size: 23px; margin: 22px 0 8px; }
.yma-bp-content p, .yma-bp-content li { font-size: 15.5px; line-height: 1.75; }
.yma-bp-suits { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
@media (max-width: 620px) { .yma-bp-suits { grid-template-columns: 1fr; } }
.yma-bp-suits > div { background: var(--yma-aqua); border-radius: 18px; padding: 18px 20px; position: relative; overflow: hidden; }
.yma-bp-suits > div:nth-child(2) { background: #FFF0EC; }
.yma-bp-suits > div:nth-child(3) { background: var(--yma-sand); }
.yma-bp-suits h3 { font-family: var(--yma-head); font-weight: 700; font-size: 18px; color: var(--yma-teal); margin: 0 0 4px; }
.yma-bp-suits p { margin: 0; font-size: 14px; color: var(--yma-muted); }
.yma-bp-more { font-size: 14.5px; margin: 14px 0 0; }
.yma-bp-more a { color: var(--yma-coral-d); font-weight: 700; }
.yma-bp-two { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
@media (max-width: 700px) { .yma-bp-two { grid-template-columns: 1fr; } }
.yma-check { list-style: none; margin: 0; padding: 0; }
.yma-check li { position: relative; padding: 7px 0 7px 32px; font-size: 15px; margin: 0; }
.yma-check li:before { content: ""; position: absolute; left: 0; top: 8px; width: 22px; height: 22px; border-radius: 50%; background: var(--yma-aqua) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%2300A6B4' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat; }
.yma-check.alt li:before { background-color: #FFF0EC; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%23FF6F59' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.yma-bp-side { position: sticky; top: 100px; }
.admin-bar .yma-bp-side { top: 132px; }
@media (max-width: 980px) { .yma-bp-side { position: static; } }
.yma-panel { background: #fff; border-radius: 26px; box-shadow: var(--yma-shadow-lg); border: 1px solid var(--yma-line); overflow: hidden; }
.yma-panel-top { background: var(--yma-grad); color: #fff; padding: 22px 24px 26px; position: relative; overflow: hidden; }
.yma-panel-top:after { content: ""; position: absolute; width: 120px; height: 120px; right: -30px; top: -40px; border-radius: 50%; background: var(--yma-sun); opacity: .55; }
.yma-panel-top > * { position: relative; z-index: 1; }
.yma-panel-label { font-size: 11.5px; letter-spacing: 1.6px; text-transform: uppercase; color: rgba(255, 255, 255, .9); font-weight: 700; }
.yma-panel-price { font-family: var(--yma-head); font-size: 38px; font-weight: 800; margin: 4px 0 2px; letter-spacing: -.5px; }
.yma-panel-price small { font-size: 17px; font-weight: 500; opacity: .9; }
.yma-panel-min { font-size: 13.5px; opacity: .92; }
.yma-panel-pay { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 18px 18px 8px; }
.yma-panel-pay a { display: flex; align-items: center; justify-content: center; gap: 6px; padding: 11px 6px; border-radius: 12px; font-size: 12.5px; font-weight: 700; text-decoration: none; white-space: nowrap; }
.yma-panel-btn { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 8px 18px 0; padding: 14px; border-radius: 999px; font-family: var(--yma-head); font-weight: 700; text-decoration: none; font-size: 15px; transition: .2s; }
.yma-panel-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; }
.yma-panel-btn.wa { background: #25D366; color: #fff; }
.yma-panel-btn.wa:hover { background: #1EBE5B; color: #fff; }
.yma-panel-btn.call { box-shadow: inset 0 0 0 2px var(--yma-line); color: var(--yma-teal); }
.yma-panel-btn.call:hover { box-shadow: inset 0 0 0 2px var(--yma-turq); color: var(--yma-turq-d); }
.yma-panel-trust { list-style: none; margin: 16px 0 0; padding: 14px 22px 18px; border-top: 1px solid var(--yma-line); background: #FBFEFE; }
.yma-panel-trust li { font-size: 13px; color: var(--yma-muted); padding: 4px 0 4px 22px; position: relative; margin: 0; }
.yma-panel-trust li:before { content: "✓"; position: absolute; left: 0; color: var(--yma-turq); font-weight: 800; }
.yma-panel.is-booked .yma-panel-pay a { opacity: .45; pointer-events: none; filter: grayscale(.6); }
.yma-bp .yma-section h2 { margin-bottom: 22px; }
.yma-guides { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 860px) { .yma-guides { grid-template-columns: 1fr; } }
.yma-guide { display: flex; flex-direction: column; gap: 6px; text-decoration: none; color: var(--yma-text); background: #fff; border: 1px solid var(--yma-line); border-radius: var(--yma-radius); overflow: hidden; padding-bottom: 18px; transition: .25s; box-shadow: var(--yma-shadow); }
.yma-guide:hover { transform: translateY(-4px); box-shadow: var(--yma-shadow-lg); color: var(--yma-text); }
.yma-guide img, .yma-guide-ph { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; margin-bottom: 8px; }
.yma-guide-ph { display: grid; place-items: center; background: var(--yma-grad); }
.yma-guide-ph svg { width: 54px; height: 54px; stroke: #fff; fill: none; stroke-width: 1.5; }
.yma-guide b, .yma-guide span, .yma-guide i { padding: 0 18px; }
.yma-guide b { font-family: var(--yma-head); font-weight: 700; font-size: 19px; color: var(--yma-teal); }
.yma-guide span { font-size: 14px; color: var(--yma-muted); }
.yma-guide i { font-style: normal; font-weight: 700; font-size: 13px; color: var(--yma-coral-d); margin-top: 4px; }
.yma-bp-sticky { display: none; }
@media (max-width: 980px) {
	.yma-bp-sticky { display: flex; position: fixed; left: 10px; right: 10px; bottom: 10px; z-index: 990; align-items: center; justify-content: space-between; gap: 12px; background: #fff; padding: 10px 12px 10px 16px; border-radius: 20px; box-shadow: 0 10px 30px rgba(14, 59, 67, .25); }
	.yma-bp-sticky b { font-family: var(--yma-head); font-size: 20px; color: var(--yma-teal); display: block; }
	.yma-bp-sticky small { font-size: 12px; color: var(--yma-muted); }
	.yma-bp-sticky a { background: #25D366; color: #fff; font-weight: 700; padding: 12px 18px; border-radius: 999px; text-decoration: none; font-size: 14px; }
	.single-yma_yacht .yma-wa-float { display: none; }
	.single-yma_yacht .yma-footer { padding-bottom: 90px; }
}
.yma-lightbox { position: fixed; inset: 0; z-index: 2000; background: rgba(8, 36, 41, .94); display: flex; align-items: center; justify-content: center; }
.yma-lightbox[hidden] { display: none; }
.yma-lightbox img { max-width: 92vw; max-height: 86vh; border-radius: 16px; box-shadow: 0 20px 60px rgba(0, 0, 0, .5); }
.yma-lb-close { position: absolute; top: 18px; right: 22px; background: none; border: 0; color: #fff; font-size: 40px; cursor: pointer; line-height: 1; }
.yma-lb-arrow { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255, 255, 255, .14); border: 0; color: #fff; width: 54px; height: 54px; border-radius: 50%; font-size: 32px; cursor: pointer; }
.yma-lb-arrow.prev { left: 20px; }
.yma-lb-arrow.next { right: 20px; }

/* reveal animation */
.yma-anim .yma-reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.yma-anim .yma-reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .yma-anim .yma-reveal { opacity: 1; transform: none; transition: none; } }

/* ---------- page hero (inner pages, posts, blog): photo in a rounded frame on sand ---------- */
.yma-phero { position: relative; overflow: hidden; background: var(--yma-sand); padding: 18px 0 70px; isolation: isolate; }
.yma-phero > .yma-phero-bg, .yma-phero > .yma-phero-in { max-width: 1240px; margin: 0 auto; }
.yma-phero-bg { position: absolute; left: 16px; right: 16px; top: 18px; bottom: 70px; z-index: -1; border-radius: 32px; overflow: hidden; }
@media (min-width: 1272px) { .yma-phero-bg { left: calc(50% - 620px); right: calc(50% - 620px); } }
.yma-phero-bg img { width: 100%; height: 100%; object-fit: cover; transform-origin: 60% 40%; animation: ymaKen 24s ease-in-out infinite alternate; }
.yma-phero-bg:after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(14, 59, 67, .86) 0%, rgba(14, 59, 67, .55) 45%, rgba(0, 166, 180, .12) 100%); }
.yma-phero-in { position: relative; padding: 64px 56px 74px; min-height: 360px; display: flex; flex-direction: column; justify-content: flex-end; color: #fff; }
.yma-phero.is-post .yma-phero-in { min-height: 400px; }
.yma-phero-in > * { opacity: 0; transform: translateY(22px); animation: ymaUp .8s cubic-bezier(.2, .8, .2, 1) forwards; }
.yma-phero-in > *:nth-child(2) { animation-delay: .1s; } .yma-phero-in > *:nth-child(3) { animation-delay: .2s; }
.yma-phero-in > *:nth-child(4) { animation-delay: .32s; } .yma-phero-in > *:nth-child(5) { animation-delay: .44s; }
.yma-phero-crumbs { font-size: 13px; color: rgba(255, 255, 255, .8); margin-bottom: 16px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.yma-phero-crumbs a { color: #fff; text-decoration: none; } .yma-phero-crumbs a:hover { color: var(--yma-sun); }
.yma-phero-crumbs b { color: #fff; font-weight: 600; max-width: 60vw; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
[dir="rtl"] .yma-phero-crumbs span { transform: scaleX(-1); }
.yma-phero-kicker { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; font-family: var(--yma-head); font-size: 12.5px; font-weight: 700; letter-spacing: 1.4px; text-transform: uppercase; color: var(--yma-teal); background: var(--yma-sun); padding: 6px 13px; border-radius: 999px; margin-bottom: 14px; }
.yma-phero h1 { font-family: var(--yma-head); font-weight: 800; font-size: clamp(32px, 4.4vw, 54px); line-height: 1.08; letter-spacing: -.8px; margin: 0 0 14px; color: #fff; max-width: 820px; }
.yma-phero.is-post h1 { font-size: clamp(28px, 3.8vw, 46px); }
.yma-phero p { max-width: 640px; font-size: 17px; line-height: 1.6; color: rgba(255, 255, 255, .92); margin: 0 0 22px; }
.yma-phero-meta { font-size: 13px; color: var(--yma-sun); letter-spacing: .4px; font-weight: 600; }
.yma-phero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.yma-btn-glass { background: rgba(255, 255, 255, .16); color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .55); backdrop-filter: blur(6px); }
.yma-btn-glass:hover { background: rgba(255, 255, 255, .26); color: #fff; }
.yma-phero-waves { position: absolute; left: 0; bottom: -1px; width: 100%; height: 90px; z-index: 1; overflow: visible; }
.yma-phero-waves path { animation: ymaWave 16s linear infinite; }
.yma-phero-waves .w1 { fill: rgba(0, 166, 180, .18); }
.yma-phero-waves .w2 { fill: #fff; animation-duration: 11s; animation-direction: reverse; }
@keyframes ymaWave { to { transform: translateX(-720px); } }
@keyframes ymaKen { from { transform: scale(1.03); } to { transform: scale(1.12) translate(-1.2%, -1%); } }
@keyframes ymaUp { to { opacity: 1; transform: none; } }
html[lang^="ar"] .yma-phero h1 { line-height: 1.3; letter-spacing: 0; }
html[lang^="ar"] .yma-phero-kicker { letter-spacing: 0; font-size: 13px; }
@media (max-width: 760px) {
	.yma-phero { padding: 10px 0 56px; }
	.yma-phero-bg { left: 10px; right: 10px; top: 10px; bottom: 56px; border-radius: 22px; }
	.yma-phero-bg:after { background: linear-gradient(180deg, rgba(14, 59, 67, .35) 0%, rgba(14, 59, 67, .85) 100%); }
	.yma-phero-in { padding: 46px 28px 64px; min-height: 320px; }
	.yma-phero p { font-size: 15px; }
	.yma-phero-waves { height: 56px; }
}
@media (prefers-reduced-motion: reduce) {
	.yma-phero-bg img, .yma-phero-waves path { animation: none; }
	.yma-phero-in > * { animation: none; opacity: 1; transform: none; }
}
