/*!
 * Maridom Palace theme: header, footer, page chrome, room/hall pages.
 * Works on its own; the plugin's mp.css supplies the booking / widget components.
 */
:root {
	--mpt-navy: #081a5e;
	--mpt-navy-2: #0a2a96;
	--mpt-gold: #e56d00;
	--mpt-gold-2: #ff7a03;
	--mpt-gold-text: #b34700;
	--mpt-blue: #018efa;
	--mpt-green: #3ab30e;
	--mpt-ivory: #f6f9ff;
	--mpt-sand: #e6eefc;
	--mpt-ink: #0f1b45;
	--mpt-muted: #566080;
	--mpt-line: rgba(8, 26, 94, .15);
	--mpt-display: 'Fraunces', Georgia, 'Times New Roman', serif;
	--mpt-body: 'Instrument Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
	--mpt-h: 84px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--mpt-h) + 12px); -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--mpt-body); font-size: 17px; line-height: 1.65; color: var(--mpt-ink); background: var(--mpt-ivory); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, svg, video { max-width: 100%; height: auto; }
a { color: var(--mpt-navy); }
h1, h2, h3, h4 { font-family: var(--mpt-display); font-weight: 400; line-height: 1.12; color: var(--mpt-navy); }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link:focus { position: fixed !important; left: 12px; top: 12px; z-index: 100000; width: auto; height: auto; clip: auto; padding: 12px 18px; background: #fff; color: var(--mpt-navy); box-shadow: 0 6px 20px rgba(0, 0, 0, .25); }
:focus-visible { outline: 2px solid var(--mpt-blue); outline-offset: 2px; }
.mpt-wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.mpt-wrap--narrow { max-width: 860px; }
.mpt-main { display: block; }
.mpt-main:focus { outline: 0; }

/* buttons */
.mpt-btn { white-space: nowrap; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 11px 24px; border: 1px solid transparent; border-radius: 2px; font: 600 .92rem/1.2 var(--mpt-body); letter-spacing: .03em; text-decoration: none; cursor: pointer; transition: background .2s, color .2s, transform .2s; }
.mpt-btn--gold { background: var(--mpt-gold-2); color: var(--mpt-navy); }
.mpt-btn--gold:hover { background: #ff9a3d; transform: translateY(-1px); }
.mpt-btn--navy { background: var(--mpt-navy); color: #fff; }
.mpt-btn--navy:hover { background: var(--mpt-navy-2); }
.mpt-btn--ghost { border-color: var(--mpt-navy); color: var(--mpt-navy); background: transparent; }
.mpt-btn--ghost:hover { background: var(--mpt-navy); color: #fff; }
.mpt-btn--block { display: flex; width: 100%; }
.mpt-link { font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--mpt-gold); }

/* ------------------------------------------------------- header */
.mpt-header { position: fixed; top: 0; left: 0; right: 0; z-index: 900; color: #fff; background: transparent; transition: background .3s, box-shadow .3s, transform .35s; }
.admin-bar .mpt-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .mpt-header { top: 46px; } }
.mpt-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; max-width: 1400px; margin: 0 auto; padding: 18px 28px; transition: padding .3s; }
.mpt-header.is-solid, body.mpt-solid .mpt-header { background: rgba(8, 26, 94, .97); box-shadow: 0 1px 0 rgba(255, 122, 3, .25); }
.mpt-header.is-solid .mpt-header__inner { padding-top: 12px; padding-bottom: 12px; }
.mpt-header.is-hidden { transform: translateY(-100%); }
body.mpt-solid .mpt-main { padding-top: var(--mpt-h); }
.mpt-brand { display: inline-flex; align-items: center; gap: 12px; color: inherit; text-decoration: none; }
.mpt-brand .mpt-mark { color: var(--mpt-gold-2); flex: none; }
.mpt-brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.mpt-brand__name { font-family: var(--mpt-display); font-size: 1.35rem; letter-spacing: .01em; color: #fff; }
.mpt-brand__sub { margin-top: 3px; font-size: .66rem; font-weight: 600; letter-spacing: .3em; text-transform: uppercase; color: var(--mpt-gold-2); }
.mpt-brand img { max-height: 54px; width: auto; }
.mpt-brand .mpt-logo-badge { flex: none; width: 64px; height: 64px; border-radius: 50%; background: transparent; max-height: none; }
.mpt-brand--footer img { max-height: 64px; }
.mpt-brand--footer .mpt-logo-badge { width: 72px; height: 72px; max-height: none; }
.custom-logo-link { display: inline-flex; }

.mpt-nav { display: flex; align-items: center; }
.mpt-nav__list { display: flex; align-items: center; gap: clamp(12px, 1.5vw, 24px); margin: 0; padding: 0; list-style: none; }
.mpt-nav__list li { position: relative; }
.mpt-nav__list a { display: block; padding: 8px 2px; color: rgba(255, 255, 255, .92); text-decoration: none; font-size: .9rem; white-space: nowrap; font-weight: 500; letter-spacing: .02em; background: linear-gradient(var(--mpt-gold-2), var(--mpt-gold-2)) 0 100% / 0 1px no-repeat; transition: background-size .3s, color .2s; }
.mpt-nav__list a:hover, .mpt-nav__list .current-menu-item > a, .mpt-nav__list .current_page_item > a { color: #fff; background-size: 100% 1px; }
.mpt-nav__list .sub-menu { position: absolute; top: 100%; left: -16px; min-width: 220px; margin: 0; padding: 10px; list-style: none; background: var(--mpt-navy); border-top: 2px solid var(--mpt-gold-2); box-shadow: 0 20px 40px rgba(0, 0, 0, .3); opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .2s, transform .2s, visibility .2s; }
.mpt-nav__list li:hover > .sub-menu, .mpt-nav__list li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.mpt-nav__extra { display: none; }
.mpt-header__right { display: flex; align-items: center; gap: 22px; }
.mpt-header__tel { display: inline-flex; align-items: center; gap: 8px; color: #fff; text-decoration: none; font-size: .9rem; font-weight: 500; white-space: nowrap; }
.mpt-header__tel svg { color: var(--mpt-gold-2); }
.mpt-burger { display: none; width: 46px; height: 46px; padding: 0; border: 1px solid rgba(255, 255, 255, .4); background: transparent; color: #fff; cursor: pointer; position: relative; }
.mpt-burger i { position: absolute; left: 12px; right: 12px; height: 1.5px; background: currentColor; transition: transform .3s, opacity .2s, top .3s; }
.mpt-burger i:nth-of-type(1) { top: 16px; }
.mpt-burger i:nth-of-type(2) { top: 22px; }
.mpt-burger i:nth-of-type(3) { top: 28px; }
.mpt-burger[aria-expanded="true"] i:nth-of-type(1) { top: 22px; transform: rotate(45deg); }
.mpt-burger[aria-expanded="true"] i:nth-of-type(2) { opacity: 0; }
.mpt-burger[aria-expanded="true"] i:nth-of-type(3) { top: 22px; transform: rotate(-45deg); }

@media (max-width: 1380px) { .mpt-header__tel span { display: none; } }
@media (max-width: 1100px) {
	.mpt-header__tel { display: none; }
	.mpt-burger { display: block; }
	.mpt-header__cta { display: none; }
	.mpt-nav { position: fixed; inset: 0; z-index: -1; flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: 24px; padding: calc(var(--mpt-h) + 28px) 28px 40px; overflow-y: auto; background: var(--mpt-navy); opacity: 0; visibility: hidden; transform: translateY(-12px); transition: opacity .3s, transform .3s, visibility .3s; }
	.mpt-nav.is-open { opacity: 1; visibility: visible; transform: none; }
	.mpt-nav__list { flex-direction: column; align-items: stretch; gap: 0; width: 100%; }
	.mpt-nav__list li { border-bottom: 1px solid rgba(255, 255, 255, .12); }
	.mpt-nav__list a { padding: 16px 0; font-family: var(--mpt-display); font-size: 1.7rem; font-weight: 300; background: none; }
	.mpt-nav__list .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 10px 14px; background: transparent; }
	.mpt-nav__list .sub-menu a { font-size: 1.1rem; padding: 8px 0; }
	.mpt-nav__extra { display: flex; flex-direction: column; gap: 16px; width: 100%; }
	.mpt-nav__tel { color: var(--mpt-gold-2); font-size: 1.1rem; text-decoration: none; }
	body.mpt-menu-open { overflow: hidden; }
	body.mpt-menu-open .mpt-header { background: var(--mpt-navy); }
}

/* ------------------------------------------------------- title bars, content */
.mpt-titlebar { padding: 56px 0 52px; background: var(--mpt-navy); color: #fff; border-bottom: 3px solid var(--mpt-gold-2); }
.mpt-titlebar__title { margin: 0; font-size: clamp(2rem, 5vw, 3.6rem); font-weight: 300; color: #fff; letter-spacing: -.015em; }
.mpt-titlebar__meta { margin: 0 0 10px; font-size: .78rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--mpt-gold-2); }
.mpt-crumbs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 18px; font-size: .82rem; color: #b9c4d8; }
.mpt-crumbs a { color: #fff; text-decoration: none; border-bottom: 1px solid rgba(255, 255, 255, .35); }
.mpt-content { padding-top: clamp(40px, 6vw, 80px); padding-bottom: clamp(56px, 8vw, 110px); }
.mpt-prose { font-size: 1.05rem; }
.mpt-prose h2 { font-size: 1.9rem; margin: 1.6em 0 .5em; }
.mpt-prose h3 { font-size: 1.45rem; margin: 1.5em 0 .5em; }
.mpt-prose a { text-decoration-color: var(--mpt-gold); text-underline-offset: 3px; }
.mpt-prose img { height: auto; }
.mpt-featured { margin: 0 0 32px; }
.mpt-featured img { display: block; width: 100%; }
.mpt-postnav { display: flex; justify-content: space-between; gap: 20px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--mpt-line); }
.mpt-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.mpt-card { background: #fff; border: 1px solid var(--mpt-line); display: flex; flex-direction: column; }
.mpt-card__media img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.mpt-card__body { padding: 22px; }
.mpt-card__meta { margin: 0 0 6px; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--mpt-gold-text); }
.mpt-card__title { margin: 0 0 10px; font-size: 1.4rem; }
.mpt-card__title a { text-decoration: none; }
.navigation.pagination { margin-top: 40px; }
.navigation .nav-links { display: flex; gap: 10px; flex-wrap: wrap; }
.navigation .page-numbers { padding: 8px 14px; border: 1px solid var(--mpt-line); text-decoration: none; }
.navigation .page-numbers.current { background: var(--mpt-navy); color: #fff; }
.mpt-404 { padding: 80px 0 100px; text-align: center; }
.mpt-404__code { margin: 0; font-family: var(--mpt-display); font-size: clamp(6rem, 18vw, 12rem); line-height: .9; color: transparent; -webkit-text-stroke: 1.5px var(--mpt-gold); }
.mpt-404__title { font-size: clamp(1.8rem, 4vw, 2.6rem); }
.mpt-404__actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 28px; }

/* ------------------------------------------------------- room / hall detail */
.mpt-detail { padding-top: clamp(36px, 5vw, 64px); padding-bottom: clamp(56px, 8vw, 110px); }
.mpt-detail__grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: clamp(28px, 4vw, 64px); align-items: start; }
.mpt-detail__main > .mp-gallery { margin-bottom: 40px; }
.mpt-h3 { margin: 44px 0 16px; font-size: 1.7rem; }
.mpt-detail__main > .mpt-h3:first-child, .mpt-detail__main > .mp-gallery + .mpt-h3 { margin-top: 0; }
.mpt-detail__aside { position: sticky; top: calc(var(--mpt-h) + 20px); }
.mpt-summary { padding: 30px; background: #fff; border: 1px solid var(--mpt-line); border-top: 3px solid var(--mpt-gold-2); box-shadow: 0 24px 50px -28px rgba(8, 26, 94, .4); }
.mpt-summary__label { margin: 0; font-size: .76rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--mpt-muted); }
.mpt-summary__price { margin: 4px 0 6px; font-family: var(--mpt-display); font-size: 2.6rem; line-height: 1.1; color: var(--mpt-navy); }
.mpt-summary__price span { font-family: var(--mpt-body); font-size: .95rem; color: var(--mpt-muted); }
.mpt-summary__note { margin: 0 0 14px; font-size: .9rem; color: var(--mpt-muted); }
.mpt-summary__call { display: block; margin-top: 14px; text-align: center; font-size: .92rem; }
.mpt-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1px; margin: 32px 0; padding: 0; list-style: none; background: var(--mpt-line); border: 1px solid var(--mpt-line); }
.mpt-facts li { display: flex; flex-direction: column; gap: 4px; padding: 18px 20px; background: #fff; }
.mpt-facts span { font-size: .72rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--mpt-muted); }
.mpt-facts strong { font-family: var(--mpt-display); font-size: 1.3rem; font-weight: 500; color: var(--mpt-navy); }
.mpt-ticks { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.mpt-ticks li { display: flex; gap: 12px; align-items: flex-start; }
.mpt-ticks .mp-icon { color: var(--mpt-gold); margin-top: 3px; }
.mpt-chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.mpt-chips li { padding: 8px 18px; border: 1px solid var(--mpt-gold-2); border-radius: 999px; font-size: .92rem; background: #fff; }
.mpt-dl { margin: 0; padding: 0; list-style: none; background: #fff; border: 1px solid var(--mpt-line); }
.mpt-dl li { display: flex; justify-content: space-between; gap: 18px; padding: 14px 20px; border-bottom: 1px solid var(--mpt-line); }
.mpt-dl li:last-child { border-bottom: 0; }
.mpt-dl strong { text-align: right; color: var(--mpt-navy); }
.mpt-reserve { margin-top: clamp(48px, 7vw, 96px); padding-top: 48px; border-top: 1px solid var(--mpt-line); }
.mpt-reserve .mpt-h3 { margin-top: 0; }
.mpt-related { margin-top: clamp(56px, 8vw, 110px); }
.mpt-related__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }

/* ------------------------------------------------------- footer */
.mpt-footer { background: var(--mpt-navy); color: #b9c4d8; font-size: .95rem; }
.mpt-footer__top { padding: clamp(56px, 7vw, 96px) 0 clamp(36px, 5vw, 64px); border-top: 3px solid var(--mpt-gold-2); }
.mpt-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: clamp(28px, 4vw, 64px); }
.mpt-footer a { color: #e9edf5; text-decoration: none; }
.mpt-footer a:hover { color: var(--mpt-gold-2); }
.mpt-brand--footer { margin-bottom: 18px; }
.mpt-footer__note { margin: 0 0 20px; font-family: var(--mpt-display); font-size: 1.3rem; font-style: italic; color: #d7deea; }
.mpt-footer__h { margin: 0 0 18px; font-family: var(--mpt-body); font-size: .74rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--mpt-gold-2); }
.mpt-footer__list { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.mpt-footer__address { font-style: normal; }
.mpt-footer__address p { margin: 0 0 8px; }
.mpt-social { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 0; padding: 0; list-style: none; font-size: .88rem; }
.mpt-footer__bar { border-top: 1px solid rgba(255, 255, 255, .1); padding: 20px 0; font-size: .85rem; color: #8fa0bd; }
.mpt-footer__barin { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; }
.mpt-footer__bar p { margin: 0; }

/* mobile call / book bar */
.mpt-floatbar { display: none; }
@media (max-width: 760px) {
	body.mpt-has-floatbar { padding-bottom: 64px; }
	.mpt-floatbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 800; display: flex; box-shadow: 0 -8px 24px rgba(0, 0, 0, .25); }
	.mpt-floatbar a { flex: 1; padding: 18px 12px; text-align: center; font-weight: 600; text-decoration: none; letter-spacing: .04em; }
	.mpt-floatbar__call { background: var(--mpt-navy); color: #fff; }
	.mpt-floatbar__book { background: var(--mpt-gold-2); color: var(--mpt-navy); }
	body.mpt-menu-open .mpt-floatbar { display: none; }
}

/* ------------------------------------------------------- responsive */
@media (max-width: 1000px) {
	.mpt-detail__grid { grid-template-columns: 1fr; }
	.mpt-detail__aside { position: static; order: -1; }
	.mpt-footer__grid { grid-template-columns: 1fr 1fr; }
	.mpt-cards, .mpt-related__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
	body { font-size: 16px; }
	.mpt-wrap { padding: 0 18px; }
	.mpt-header__inner { padding: 14px 18px; }
	.mpt-footer__grid, .mpt-cards, .mpt-related__grid { grid-template-columns: 1fr; }
	.mpt-titlebar { padding-top: 36px; }
	.mpt-summary { padding: 22px; }
}

/* Elementor: neutralise theme spacing inside full-width builds */
.mpt-fullwidth .elementor-section.elementor-section-full_width > .elementor-container { max-width: none; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition-duration: .01ms !important; animation-duration: .01ms !important; } }
