/* ==========================================================================
   Mughleem — theme styles (front end + editor)
   Colours, fonts and spacing come from theme.json presets, so changes made in
   Appearance → Editor → Styles flow through everything below.
   ========================================================================== */

:root {
	--mg-aub: var(--wp--preset--color--aubergine, #2a0827);
	--mg-aub-deep: var(--wp--preset--color--aubergine-deep, #16031a);
	--mg-plum: var(--wp--preset--color--plum, #4a1442);
	--mg-gold: var(--wp--preset--color--gold, #d4a548);
	--mg-gold-l: var(--wp--preset--color--gold-light, #f3d488);
	--mg-bronze: var(--wp--preset--color--bronze, #8a5a12);
	--mg-cream: var(--wp--preset--color--cream, #f7eedc);
	--mg-ivory: var(--wp--preset--color--ivory, #fbf7ef);
	--mg-ink: var(--wp--preset--color--ink, #2b1a26);
	--mg-muted: var(--wp--preset--color--muted, #6e5a66);
	--mg-line: rgba(212, 165, 72, 0.38);
	--mg-line-soft: rgba(212, 165, 72, 0.22);
	--mg-radius: 18px;
	--mg-ease: cubic-bezier(0.22, 0.8, 0.26, 1);
	--mg-gold-grad: linear-gradient(135deg, #f6dc94 0%, #d4a548 48%, #b07a22 100%);
	--mg-royal-grad: radial-gradient(120% 90% at 50% 0%, #5b1b4f 0%, #2a0827 55%, #16031a 100%);
	--mg-pattern: url("../images/arabesque-tile.svg");
}

::selection { background: var(--mg-gold-l); color: var(--mg-aub-deep); }

body { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }

/* Template rhythm: sections butt up against each other */
.wp-site-blocks > * + *,
.wp-site-blocks > .mg-main,
.wp-site-blocks > footer { margin-block-start: 0; }
.wp-block-post-content.mg-canvas > *,
.mg-main > .wp-block-post-content.mg-canvas { margin-block-start: 0; margin-block-end: 0; }
.mg-main { margin-block: 0; }

h1 em, h2 em, h3 em { font-style: italic; color: var(--mg-gold-l); font-weight: 500; }
.has-ivory-background-color h1 em, :where(body) .wp-block-group:not(.is-style-royal) h2 em { color: var(--mg-bronze); }

a { text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
:focus-visible { outline: 2px solid var(--mg-gold); outline-offset: 3px; }

/* ------------------------------------------------------------------ header */
header.wp-block-template-part { position: sticky; top: 0; z-index: 100; }
.admin-bar header.wp-block-template-part { top: 32px; }
@media (max-width: 782px) { .admin-bar header.wp-block-template-part { top: 46px; } }
@media (max-width: 600px) { .admin-bar header.wp-block-template-part { top: 0; } }

.mg-header > * { margin-block: 0 !important; }
.mg-topbar p { margin: 0; letter-spacing: 0.04em; }
.mg-topbar a { text-decoration: none; }
.mg-topbar a:hover { text-decoration: underline; }
.mg-topbar .mg-dot { opacity: 0.5; margin: 0 0.35rem; }
.mg-topbar__note { opacity: 0.85; }
@media (max-width: 720px) {
	.mg-topbar__note { display: none; }
	.mg-topbar .alignwide { justify-content: center !important; }
}

/* Blur lives on a pseudo-element: backdrop-filter on the bar itself would trap the
   full-screen mobile menu (position:fixed) inside the header. */
.mg-mainbar {
	position: relative;
	isolation: isolate;
	border-bottom: 1px solid var(--mg-line-soft);
	transition: box-shadow 0.35s var(--mg-ease);
}
.mg-mainbar::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: rgba(251, 247, 239, 0.94);
	-webkit-backdrop-filter: saturate(1.4) blur(10px);
	backdrop-filter: saturate(1.4) blur(10px);
}
.mg-header.is-scrolled .mg-mainbar { box-shadow: 0 10px 30px -18px rgba(42, 8, 39, 0.45); }
.mg-header.is-scrolled .mg-mainbar::before { background: rgba(251, 247, 239, 0.98); }
.mg-mainbar .wp-block-site-logo img { width: 150px; height: auto; transition: width 0.3s var(--mg-ease); }
.mg-header.is-scrolled .wp-block-site-logo img { width: 128px; }
.mg-header__actions { gap: clamp(0.75rem, 2vw, 2rem); }

.mg-nav .wp-block-navigation-item__content {
	color: var(--mg-aub);
	text-decoration: none;
	position: relative;
	padding-block: 0.4rem;
}
.mg-nav .wp-block-navigation-item__content::after {
	content: "";
	position: absolute;
	left: 0; right: 0; bottom: 0;
	height: 1.5px;
	background: var(--mg-gold);
	transform: scaleX(0);
	transform-origin: center;
	transition: transform 0.3s var(--mg-ease);
}
.mg-nav .wp-block-navigation-item__content:hover::after,
.mg-nav .current-menu-item > .wp-block-navigation-item__content::after { transform: scaleX(1); }
.mg-nav .wp-block-navigation__responsive-container.is-menu-open { padding: 2rem; }
.mg-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content {
	color: var(--mg-cream);
	font-family: var(--wp--preset--font-family--display);
	font-size: 1.9rem;
	letter-spacing: 0;
}
.mg-nav .wp-block-navigation__responsive-container.is-menu-open { background-image: var(--mg-pattern), var(--mg-royal-grad) !important; }
.mg-nav .wp-block-navigation__responsive-container-open svg,
.mg-nav .wp-block-navigation__responsive-container-close svg { width: 30px; height: 30px; }
.mg-nav .wp-block-navigation__responsive-container-open { color: var(--mg-aub); }

.mg-header-cta .wp-block-button__link { padding: 0.75em 1.4em; font-size: 0.78rem; }
@media (max-width: 600px) {
	.mg-mainbar .wp-block-site-logo img, .mg-header.is-scrolled .wp-block-site-logo img { width: 112px; }
	.mg-header-cta .wp-block-button__link { padding: 0.7em 1em; font-size: 0.7rem; }
}

/* ------------------------------------------------------------------ text styles */
p.is-style-eyebrow,
.is-style-eyebrow.wp-block-post-date {
	font-family: var(--wp--preset--font-family--accent);
	font-size: 0.78rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.24em;
	color: var(--mg-bronze);
	margin-bottom: 0.4rem;
}
p.is-style-eyebrow.has-text-align-center { display: flex; align-items: center; justify-content: center; gap: 0.9rem; }
p.is-style-eyebrow.has-text-align-center::before,
p.is-style-eyebrow.has-text-align-center::after { content: ""; width: 34px; height: 1px; background: currentColor; opacity: 0.6; }
.is-style-royal .is-style-eyebrow,
.wp-block-cover .is-style-eyebrow,
.is-style-eyebrow.has-gold-color { color: var(--mg-gold-l); }

p.is-style-lead { font-size: clamp(1.08rem, 1.6vw, 1.28rem); line-height: 1.65; color: var(--mg-muted); font-weight: 400; }
.is-style-royal p.is-style-lead, .wp-block-cover p.is-style-lead { color: rgba(247, 238, 220, 0.88); }
p.is-style-lead.has-text-align-center { margin-inline: auto; max-width: 46rem; }

p.is-style-chip {
	display: inline-block;
	margin: 0;
	padding: 0.32em 0.95em;
	border: 1px solid var(--mg-line);
	border-radius: 999px;
	background: rgba(212, 165, 72, 0.1);
	color: var(--mg-plum);
	font-size: 0.72rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	line-height: 1.5;
}
.is-style-royal p.is-style-chip, .wp-block-cover p.is-style-chip { color: var(--mg-gold-l); background: rgba(255, 255, 255, 0.06); border-color: rgba(243, 212, 136, 0.35); }
.mg-chips { gap: 0.45rem !important; margin-bottom: 0.6rem; }

h2.is-style-ornate, h1.is-style-ornate, h3.is-style-ornate { position: relative; }
.is-style-ornate::after {
	content: "";
	display: block;
	width: 150px;
	height: 14px;
	margin: 1.1rem auto 0;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 150 14'%3E%3Cg fill='none' stroke='%23D4A548' stroke-width='1.2'%3E%3Cpath d='M0 7h58M92 7h58'/%3E%3Cpath d='M75 1l6 6-6 6-6-6z' fill='%23D4A548'/%3E%3Cpath d='M64 7l3-3 3 3-3 3zM80 7l3-3 3 3-3 3z'/%3E%3C/g%3E%3C/svg%3E") center / contain no-repeat;
}
.is-style-ornate:not(.has-text-align-center)::after { margin-left: 0; }

.is-style-royal :where(h1, h2, h3, h4, h5, h6),
.wp-block-cover :where(h1, h2, h3, h4) { color: var(--mg-cream); }
.is-style-royal a:where(:not(.wp-element-button)) { color: var(--mg-gold-l); }
.mg-note { font-size: 0.95rem; color: var(--mg-muted); }
.mg-note a { color: var(--mg-plum); font-weight: 600; }
.is-style-royal .mg-note { color: rgba(247, 238, 220, 0.75); }

/* ------------------------------------------------------------------ panels & cards */
.is-style-royal {
	background-color: var(--mg-aub);
	background-image: var(--mg-pattern), var(--mg-royal-grad);
	background-size: 96px 96px, cover;
	color: var(--mg-cream);
}
.is-style-cream-panel {
	background-color: var(--mg-cream);
	background-image: var(--mg-pattern);
	background-size: 96px 96px;
}
.is-style-card {
	position: relative;
	background: #fff;
	border: 1px solid var(--mg-line);
	border-radius: var(--mg-radius);
	box-shadow: 0 22px 46px -30px rgba(42, 8, 39, 0.45);
	overflow: hidden;
}
.is-style-card::before {
	content: "";
	position: absolute;
	inset: 6px;
	border: 1px solid var(--mg-line-soft);
	border-radius: calc(var(--mg-radius) - 5px);
	pointer-events: none;
	z-index: 1;
}
.is-style-card > * { position: relative; z-index: 2; }
.is-style-glass {
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid rgba(243, 212, 136, 0.3);
	border-radius: var(--mg-radius);
	-webkit-backdrop-filter: blur(6px);
	backdrop-filter: blur(6px);
}
.is-style-royal.mg-aud, .is-style-royal.mg-build, .is-style-royal.mg-help-card { border-radius: var(--mg-radius); overflow: hidden; }

.mg-card-body { padding: clamp(1.25rem, 2.6vw, 2rem); }
.mg-card-body > :first-child { margin-top: 0; }
.mg-card-media { margin: 0 !important; }
.mg-card-media img { width: 100%; display: block; transition: transform 0.8s var(--mg-ease); }
.mg-menu-card:hover .mg-card-media img, .mg-combo-card:hover .mg-card-media img { transform: scale(1.04); }
.mg-menu-card, .mg-combo-card, .mg-way, .mg-aud, .mg-outlet, .mg-contact-card {
	transition: transform 0.45s var(--mg-ease), box-shadow 0.45s var(--mg-ease);
}
.mg-menu-card:hover, .mg-combo-card:hover, .mg-way:hover, .mg-aud:hover, .mg-outlet:hover, .mg-contact-card:hover {
	transform: translateY(-6px);
	box-shadow: 0 34px 60px -32px rgba(42, 8, 39, 0.55);
}
.mg-menu-card h3 a { color: var(--mg-aub); text-decoration: none; }
.mg-menu-card h3 a:hover { color: var(--mg-bronze); }
.mg-icon { margin: 0 0 0.6rem !important; }
.mg-icon img { width: 52px !important; height: auto; }

/* ------------------------------------------------------------------ images */
.is-style-arch {
	padding: 7px;
	background: var(--mg-gold-grad);
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 130' preserveAspectRatio='none'%3E%3Cpath d='M0 130V46C0 25 17 12 33 10Q42 3 50 0q8 3 17 10c16 2 33 15 33 36v84z'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 130' preserveAspectRatio='none'%3E%3Cpath d='M0 130V46C0 25 17 12 33 10Q42 3 50 0q8 3 17 10c16 2 33 15 33 36v84z'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
}
.is-style-arch img {
	display: block;
	width: 100%;
	aspect-ratio: 10 / 12;
	object-fit: cover;
	-webkit-mask: inherit;
	mask: inherit;
	-webkit-mask-size: 100% 100%;
	mask-size: 100% 100%;
}
.is-style-gold-frame { padding: 6px; background: var(--mg-gold-grad); border-radius: 26px; box-shadow: 0 30px 60px -34px rgba(22, 3, 26, 0.7); }
.is-style-gold-frame img { display: block; width: 100%; border-radius: 20px; }
.is-style-round img { border-radius: 50%; aspect-ratio: 1; object-fit: cover; box-shadow: 0 0 0 6px rgba(212, 165, 72, 0.55), 0 0 0 14px rgba(212, 165, 72, 0.12), 0 40px 70px -30px rgba(0, 0, 0, 0.6); }
.mg-float img { animation: mg-float 7s ease-in-out infinite; }
@keyframes mg-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
.mg-sticky { position: sticky; top: 140px; }
.mg-rose { max-width: 62%; margin-left: auto !important; margin-top: -18% !important; position: relative; }
.mg-rose img { transform: rotate(3deg); }

/* ------------------------------------------------------------------ buttons */
.wp-block-button:not(.is-style-outline-gold):not(.is-style-light):not(.is-style-whatsapp):not(.is-style-outline) .wp-block-button__link:not(.has-background) {
	background: var(--mg-gold-grad);
	box-shadow: 0 10px 24px -12px rgba(176, 122, 34, 0.75), inset 0 1px 0 rgba(255, 255, 255, 0.5);
}
.wp-block-button__link { transition: transform 0.25s var(--mg-ease), box-shadow 0.25s var(--mg-ease), background 0.25s, color 0.25s; }
.wp-block-button__link:hover { transform: translateY(-2px); }
.wp-block-button.is-style-outline-gold .wp-block-button__link {
	background: transparent;
	color: var(--mg-plum);
	border: 1.5px solid var(--mg-gold);
	padding: calc(0.95em - 1.5px) calc(1.9em - 1.5px);
}
.wp-block-button.is-style-outline-gold .wp-block-button__link:hover { background: var(--mg-gold); color: var(--mg-aub-deep); }
.is-style-royal .wp-block-button.is-style-outline-gold .wp-block-button__link { color: var(--mg-gold-l); }
.wp-block-button.is-style-light .wp-block-button__link {
	background: rgba(255, 255, 255, 0.04);
	color: var(--mg-cream);
	border: 1.5px solid rgba(247, 238, 220, 0.6);
	padding: calc(0.95em - 1.5px) calc(1.9em - 1.5px);
}
.wp-block-button.is-style-light .wp-block-button__link:hover { background: var(--mg-cream); color: var(--mg-aub); border-color: var(--mg-cream); }
:where(.is-style-cream-panel, .mg-main > :not(.is-style-royal)) .wp-block-button.is-style-light .wp-block-button__link { color: var(--mg-plum); border-color: var(--mg-plum); }
.is-style-royal .wp-block-button.is-style-light .wp-block-button__link,
.wp-block-cover .wp-block-button.is-style-light .wp-block-button__link { color: var(--mg-cream); border-color: rgba(247, 238, 220, 0.6); }
.wp-block-button.is-style-whatsapp .wp-block-button__link {
	background: var(--wp--preset--color--whatsapp, #1fa855);
	color: #fff;
	display: inline-flex;
	align-items: center;
	gap: 0.55em;
	box-shadow: 0 10px 24px -12px rgba(31, 168, 85, 0.8);
}
.wp-block-button.is-style-whatsapp .wp-block-button__link::before {
	content: "";
	width: 1.15em;
	height: 1.15em;
	background: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 3h16a2 2 0 0 1 2 2v11a2 2 0 0 1-2 2H9.4l-4.7 3.7A1 1 0 0 1 3 20.9V18a2 2 0 0 1-1-1.7V5a2 2 0 0 1 2-2Zm3.5 6.2a1.3 1.3 0 1 0 0 2.6 1.3 1.3 0 0 0 0-2.6Zm4.5 0a1.3 1.3 0 1 0 0 2.6 1.3 1.3 0 0 0 0-2.6Zm4.5 0a1.3 1.3 0 1 0 0 2.6 1.3 1.3 0 0 0 0-2.6Z'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 3h16a2 2 0 0 1 2 2v11a2 2 0 0 1-2 2H9.4l-4.7 3.7A1 1 0 0 1 3 20.9V18a2 2 0 0 1-1-1.7V5a2 2 0 0 1 2-2Zm3.5 6.2a1.3 1.3 0 1 0 0 2.6 1.3 1.3 0 0 0 0-2.6Zm4.5 0a1.3 1.3 0 1 0 0 2.6 1.3 1.3 0 0 0 0-2.6Zm4.5 0a1.3 1.3 0 1 0 0 2.6 1.3 1.3 0 0 0 0-2.6Z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.wp-block-button.is-style-whatsapp .wp-block-button__link:hover { background: #168a45; }

/* ------------------------------------------------------------------ lists */
ul.is-style-check-gold, ul.is-style-diamond { list-style: none; padding-left: 0; }
ul.is-style-check-gold li, ul.is-style-diamond li { position: relative; padding-left: 1.9em; margin-bottom: 0.55em; }
ul.is-style-check-gold li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.32em;
	width: 1.15em;
	height: 1.15em;
	border-radius: 50%;
	background: var(--mg-gold-grad) center / cover;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M10 0a10 10 0 1 1 0 20 10 10 0 0 1 0-20Zm4.6 6.3L8.5 12.4 5.4 9.3 4 10.7l4.5 4.5 7.5-7.5Z'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M10 0a10 10 0 1 1 0 20 10 10 0 0 1 0-20Zm4.6 6.3L8.5 12.4 5.4 9.3 4 10.7l4.5 4.5 7.5-7.5Z'/%3E%3C/svg%3E") center / contain no-repeat;
}
ul.is-style-diamond li::before {
	content: "";
	position: absolute;
	left: 0.25em;
	top: 0.62em;
	width: 0.5em;
	height: 0.5em;
	background: var(--mg-gold);
	transform: rotate(45deg);
}

/* ------------------------------------------------------------------ separator */
hr.wp-block-separator.is-style-ornament {
	border: 0 !important;
	height: 1px;
	width: min(100%, 360px);
	margin-inline: auto;
	margin-block: 2.2rem;
	background: linear-gradient(90deg, transparent, var(--mg-gold) 20%, var(--mg-gold) 80%, transparent);
	opacity: 1;
	position: relative;
	overflow: visible;
}
hr.wp-block-separator.is-style-ornament.alignwide { width: 100%; max-width: var(--wp--style--global--wide-size); }
hr.wp-block-separator.is-style-ornament::after {
	content: "";
	position: absolute;
	left: 50%;
	top: 50%;
	width: 9px;
	height: 9px;
	background: var(--mg-gold);
	transform: translate(-50%, -50%) rotate(45deg);
}

/* ------------------------------------------------------------------ table */
.wp-block-table.is-style-mughleem { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: var(--mg-radius); border: 1px solid var(--mg-line); background: #fff; box-shadow: 0 22px 46px -30px rgba(42, 8, 39, 0.45); }
.wp-block-table.is-style-mughleem table { min-width: 640px; border-collapse: collapse; width: 100%; }
.wp-block-table.is-style-mughleem th {
	background: var(--mg-aub);
	color: var(--mg-cream);
	font-family: var(--wp--preset--font-family--accent);
	font-size: 0.74rem;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	font-weight: 600;
	padding: 1rem;
	border: 0;
	text-align: center;
}
.wp-block-table.is-style-mughleem td { padding: 0.95rem 1rem; border: 0; border-top: 1px solid var(--mg-line-soft); text-align: center; vertical-align: middle; }
.wp-block-table.is-style-mughleem td:first-child, .wp-block-table.is-style-mughleem th:first-child { text-align: left; }
.wp-block-table.is-style-mughleem tbody tr:nth-child(even) td { background: rgba(247, 238, 220, 0.5); }
.wp-block-table.is-style-mughleem figcaption { padding: 0.9rem 1rem 1rem; margin: 0; text-align: center; font-size: 0.85rem; color: var(--mg-muted); background: #fff; }
.mg-yes, .mg-soon { display: inline-flex; align-items: center; gap: 0.35em; padding: 0.2em 0.8em; border-radius: 999px; font-size: 0.78rem; font-weight: 600; white-space: nowrap; }
.mg-yes { background: rgba(31, 168, 85, 0.1); color: #157a3d; }
.mg-yes::before { content: "✓"; }
.mg-soon { background: rgba(232, 131, 42, 0.12); color: #a5520b; }
.mg-no { color: var(--mg-muted); opacity: 0.6; }
@media (max-width: 781px) {
	.wp-block-table.is-style-mughleem td:first-child, .wp-block-table.is-style-mughleem th:first-child { position: sticky; left: 0; z-index: 1; min-width: 9.5rem; box-shadow: 6px 0 12px -10px rgba(42, 8, 39, 0.45); }
	.wp-block-table.is-style-mughleem td:first-child { background: #fff; }
	.wp-block-table.is-style-mughleem tbody tr:nth-child(even) td:first-child { background: #fcf8ef; }
	.wp-block-table.is-style-mughleem th:first-child { background: var(--mg-aub); }
	.mg-table-wrap::after { content: "Swipe to see all channels →"; display: block; text-align: center; font-size: 0.78rem; color: var(--mg-muted); margin-top: 0.6rem; }
}

/* ------------------------------------------------------------------ video */
.wp-block-video.is-style-framed { padding: 7px; background: var(--mg-gold-grad); border-radius: 24px; box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.8); }
.wp-block-video.is-style-framed video { display: block; width: 100%; border-radius: 18px; background: var(--mg-aub-deep); }
.wp-block-video.is-style-framed figcaption { color: var(--mg-aub); font-weight: 600; margin: 0.5rem 0 0.15rem; }

/* ------------------------------------------------------------------ FAQ */
.wp-block-details.is-style-faq { border-bottom: 1px solid var(--mg-line); padding-block: 1.15rem; }
.wp-block-details.is-style-faq summary {
	list-style: none;
	cursor: pointer;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 1rem;
	font-family: var(--wp--preset--font-family--display);
	font-size: clamp(1.2rem, 2vw, 1.45rem);
	font-weight: 600;
	color: var(--mg-aub);
}
.wp-block-details.is-style-faq summary::-webkit-details-marker { display: none; }
.wp-block-details.is-style-faq summary::after {
	content: "+";
	flex: 0 0 34px;
	height: 34px;
	display: grid;
	place-items: center;
	border-radius: 50%;
	border: 1px solid var(--mg-line);
	color: var(--mg-bronze);
	font-family: var(--wp--preset--font-family--body);
	font-size: 1.2rem;
	transition: transform 0.3s var(--mg-ease), background 0.3s;
}
.wp-block-details.is-style-faq[open] summary::after { transform: rotate(45deg); background: var(--mg-gold); color: var(--mg-aub-deep); }
.wp-block-details.is-style-faq > p { color: var(--mg-muted); margin-top: 0.75rem; }

/* ------------------------------------------------------------------ sections */
.mg-hero { overflow: hidden; }
.mg-hero .mg-hero__title { font-size: clamp(2.7rem, 7.2vw, 5.8rem); line-height: 1.02; letter-spacing: -0.01em; margin-block: 0.3em 0.25em; text-wrap: balance; }
.mg-hero .mg-hero__title em { display: block; }
.mg-hero .mg-hero__note { color: rgba(247, 238, 220, 0.72); margin-top: 1.6rem; }
.mg-hero .wp-block-cover__background { background-image: radial-gradient(80% 70% at 50% 45%, rgba(22, 3, 26, 0.15), rgba(22, 3, 26, 0.85)); }
.mg-hero::after, .mg-page-hero::after {
	content: "";
	position: absolute;
	left: 0; right: 0; bottom: 0;
	height: 3px;
	background: linear-gradient(90deg, transparent, var(--mg-gold), transparent);
	z-index: 2;
}
.mg-page-hero h1 { font-size: clamp(2.4rem, 5.6vw, 4.4rem); text-wrap: balance; }
.mg-page-head { text-align: center; }
.mg-page-head h1 { font-size: clamp(2.3rem, 5vw, 3.8rem); }
.mg-page-head .mg-chips { margin-top: 1.2rem; }

.mg-trust-wrap { position: relative; z-index: 3; margin-top: -76px !important; }
.mg-trust { padding: clamp(1.4rem, 3vw, 2.4rem) !important; }
.mg-trust__item h3 { margin: 0.2rem 0 0.35rem; }
.mg-trust__item p { margin: 0; color: var(--mg-muted); }
@media (min-width: 1080px) {
	.mg-trust__item + .mg-trust__item { border-left: 1px solid var(--mg-line-soft); padding-left: 1.25rem; }
}

.mg-combos { gap: clamp(1.25rem, 3vw, 2.5rem) !important; margin-top: 2.6rem !important; }
.mg-combo-card { padding: 0 !important; }
.mg-combo-card .wp-block-buttons { margin-top: 1.4rem; }

.mg-table-wrap { margin-top: 2.4rem; }

.mg-stats { margin-top: 1rem; }
.mg-stat { text-align: center; padding: 1.4rem 0.75rem; }
.mg-stat + .mg-stat { border-left: 1px solid var(--mg-line-soft); }
@media (max-width: 781px) {
	.mg-stat + .mg-stat { border-left: 0; }
	.mg-stat { border-bottom: 1px solid var(--mg-line-soft); }
}
.mg-stat__num {
	font-size: clamp(2.4rem, 5vw, 3.6rem) !important;
	margin: 0 !important;
	background: var(--mg-gold-grad);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent !important;
	line-height: 1.05;
	font-variant-numeric: lining-nums;
}
.mg-stat p { margin: 0.25rem 0 0; color: var(--mg-muted); }

.mg-video-wrap { margin-top: 2.6rem; }

.mg-b2b-band .is-style-glass ul { margin: 0; color: var(--mg-cream); font-size: 1.05rem; }
.mg-b2b-band h2 { font-size: clamp(2rem, 4vw, 3.1rem); }

.mg-way .wp-block-buttons, .mg-outlet .wp-block-buttons, .mg-contact-card .wp-block-buttons { margin-top: 1.2rem; }
.mg-way h3, .mg-outlet h3, .mg-contact-card h3 { margin-top: 0.2rem; }

.mg-pillar { padding: 1.4rem 0.5rem 0.5rem; border-top: 1px solid var(--mg-line); }
.mg-pillar h4 { margin: 0.2rem 0 0.3rem; }
.mg-pillar p { margin: 0; color: var(--mg-muted); }

.mg-menu-item { padding: 1rem 0; border-bottom: 1px dashed var(--mg-line); }
.mg-menu-item h3 { margin: 0; }
.mg-menu-item p { margin: 0.25rem 0 0.5rem; color: var(--mg-muted); }
.mg-menu-item .mg-chips { margin: 0.25rem 0 0; }

.mg-aud h4 { margin: 0.25rem 0 0.35rem; font-size: 1.3rem; }
.mg-aud p { margin: 0; color: var(--mg-muted); }
.mg-aud--cta p { color: rgba(247, 238, 220, 0.82); }
.mg-aud--cta .wp-block-buttons { margin-top: 1rem; }
.mg-build ul { color: var(--mg-cream); }

.mg-steps { margin-block: 2.4rem !important; }
.mg-step-card { position: relative; padding: 1.6rem 1.4rem 1.4rem; border-top: 2px solid var(--mg-gold); background: linear-gradient(180deg, rgba(247, 238, 220, 0.8), rgba(251, 247, 239, 0)); border-radius: 0 0 var(--mg-radius) var(--mg-radius); }
.mg-step-num { font-variant-numeric: lining-nums; font-family: var(--wp--preset--font-family--display); font-size: 3.4rem; line-height: 1; margin: 0 0 0.4rem; color: transparent; -webkit-text-stroke: 1.2px var(--mg-gold); font-weight: 700; }
.mg-step-card h4 { margin: 0 0 0.35rem; }
.mg-step-card p { margin: 0; color: var(--mg-muted); }

.mg-cta { text-align: center; }
.mg-cta h2 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); }

.mg-sidebar > * + * { margin-top: 1.25rem; }
@media (min-width: 782px) { .mg-sidebar { position: sticky; top: 130px; align-self: flex-start; } }
.mg-help-card p { color: rgba(247, 238, 220, 0.85); }
.mg-prebook-cols { gap: clamp(1.25rem, 3vw, 2.5rem) !important; }

/* ------------------------------------------------------------------ footer */
.mg-footer { font-size: 0.95rem; border-top: 1px solid rgba(212, 165, 72, 0.35); background-image: var(--mg-pattern), linear-gradient(180deg, #1f0620 0%, #12020f 100%) !important; }
.mg-footer-logo { margin-bottom: 1rem !important; }
.mg-footer-logo img { width: 210px !important; max-width: 100%; height: auto; }
.mg-footer p { color: rgba(247, 238, 220, 0.82); }
.mg-footer-title { color: var(--mg-gold-l) !important; margin-bottom: 1rem; font-size: 0.8rem !important; }
.mg-footer-links { list-style: none; padding: 0; margin: 0; }
.mg-footer-links li { margin-bottom: 0.55rem; color: rgba(247, 238, 220, 0.82); }
.mg-footer-links a { text-decoration: none; color: var(--mg-cream); }
.mg-footer-links a:hover { color: var(--mg-gold-l); text-decoration: underline; }
.mg-footer-bottom p { margin: 0; opacity: 0.75; }
.mg-footer .wp-block-columns { gap: clamp(1.5rem, 4vw, 3rem); }

/* ------------------------------------------------------------------ reveal on scroll */
.mg-js-reveal .mg-reveal-item { opacity: 0; transform: translateY(24px); transition: opacity 0.9s var(--mg-ease), transform 0.9s var(--mg-ease); }
.mg-js-reveal .mg-reveal-item.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
	.mg-float img { animation: none; }
	.mg-js-reveal .mg-reveal-item { opacity: 1; transform: none; transition: none; }
	*, *::before, *::after { scroll-behavior: auto !important; }
}

/* ------------------------------------------------------------------ support widget */
.mg-support { position: fixed; right: clamp(12px, 2vw, 24px); bottom: clamp(12px, 2vw, 24px); z-index: 9990; font-family: var(--wp--preset--font-family--body); }
.mg-support__toggle {
	display: inline-flex;
	align-items: center;
	gap: 0.55rem;
	border: 0;
	cursor: pointer;
	padding: 0.85rem 1.25rem 0.85rem 1rem;
	border-radius: 999px;
	background: var(--wp--preset--color--whatsapp, #1fa855);
	color: #fff;
	font-weight: 600;
	font-size: 0.95rem;
	box-shadow: 0 16px 34px -14px rgba(14, 90, 45, 0.75), 0 0 0 4px rgba(255, 255, 255, 0.75);
	transition: transform 0.25s var(--mg-ease);
	position: relative;
}
.mg-support__toggle:hover { transform: translateY(-2px); }
.mg-support__toggle svg { width: 24px; height: 24px; }
.mg-support__toggle::after {
	content: "";
	position: absolute;
	inset: -4px;
	border-radius: inherit;
	border: 2px solid rgba(31, 168, 85, 0.6);
	animation: mg-pulse 2.6s ease-out infinite;
	pointer-events: none;
}
.mg-support.is-open .mg-support__toggle::after { animation: none; opacity: 0; }
@keyframes mg-pulse { 0% { transform: scale(1); opacity: 0.8; } 100% { transform: scale(1.35); opacity: 0; } }
.mg-support__panel {
	position: absolute;
	right: 0;
	bottom: calc(100% + 14px);
	width: min(340px, calc(100vw - 24px));
	background: var(--mg-ivory);
	border: 1px solid var(--mg-line);
	border-radius: 20px;
	box-shadow: 0 34px 70px -28px rgba(22, 3, 26, 0.65);
	overflow: hidden;
	animation: mg-pop 0.28s var(--mg-ease);
}
.mg-support__panel[hidden] { display: none; }
@keyframes mg-pop { from { opacity: 0; transform: translateY(10px) scale(0.98); } to { opacity: 1; transform: none; } }
.mg-support__head { display: flex; align-items: center; gap: 0.75rem; padding: 1rem 1rem 1rem 1.1rem; background-image: var(--mg-pattern), var(--mg-royal-grad); color: var(--mg-cream); }
.mg-support__head img { border-radius: 12px; background: var(--mg-ivory); }
.mg-support__head > div { flex: 1; }
.mg-support__title { margin: 0; font-family: var(--wp--preset--font-family--display); font-size: 1.3rem; font-weight: 600; line-height: 1.1; }
.mg-support__hours { margin: 0.15rem 0 0; font-size: 0.78rem; opacity: 0.8; }
.mg-support__close { border: 0; background: rgba(255, 255, 255, 0.1); color: var(--mg-cream); width: 34px; height: 34px; border-radius: 50%; cursor: pointer; display: grid; place-items: center; }
.mg-support__close svg { width: 18px; height: 18px; }
.mg-support__intro { margin: 0; padding: 1rem 1.1rem 0.4rem; font-size: 0.9rem; color: var(--mg-muted); }
.mg-support__btn {
	display: flex;
	align-items: center;
	gap: 0.8rem;
	margin: 0.55rem 1rem 0;
	padding: 0.8rem 0.9rem;
	border-radius: 14px;
	border: 1px solid var(--mg-line-soft);
	background: #fff;
	color: var(--mg-ink);
	text-decoration: none;
	transition: border-color 0.2s, transform 0.2s var(--mg-ease);
}
.mg-support__btn:hover { border-color: var(--mg-gold); transform: translateX(3px); color: var(--mg-ink); }
.mg-support__btn svg { width: 22px; height: 22px; flex: 0 0 auto; color: var(--mg-plum); }
.mg-support__btn.is-wa svg { color: #1fa855; }
.mg-support__btn span { display: flex; flex-direction: column; line-height: 1.3; }
.mg-support__btn strong { font-size: 0.95rem; }
.mg-support__btn small { color: var(--mg-muted); font-size: 0.8rem; }
.mg-support__cta {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	margin: 1rem;
	padding: 0.8rem;
	border-radius: 999px;
	background: var(--mg-gold-grad);
	color: var(--mg-aub-deep);
	font-weight: 600;
	font-size: 0.9rem;
	text-decoration: none;
}
.mg-support__cta svg { width: 18px; height: 18px; }
html.has-modal-open .mg-support { display: none; }
@media (max-width: 600px) {
	.mg-support__label { display: none; }
	.mg-support__toggle { padding: 0.9rem; }
}

/* ------------------------------------------------------------------ editor tweaks */
.editor-styles-wrapper .mg-trust-wrap { margin-top: 0 !important; }
.editor-styles-wrapper .mg-js-reveal .mg-reveal-item { opacity: 1; transform: none; }
.mg-booking-block.is-editor-preview, .mg-enquiry-block.is-editor-preview { min-height: 200px; }

/* ------------------------------------------------------------------ small screens */
@media (max-width: 781px) {
	.mg-rose { max-width: 70%; margin-top: 1rem !important; }
	.mg-sticky { position: static; }
	.wp-block-columns.alignwide > .wp-block-column[style*="flex-basis"] { flex-basis: 100% !important; }
	.mg-hero { min-height: 92vh !important; }
	.mg-trust-wrap { margin-top: -48px !important; }
}

/* ------------------------------------------------------------------ v1.1 biryani-first home */
.mg-card-media img { object-position: 100% 0; }

.mg-hero--split { position: relative; overflow: hidden; }
.mg-hero--split::before {
	content: "";
	position: absolute;
	width: 70vw; height: 70vw; max-width: 900px; max-height: 900px;
	right: -14vw; top: 50%; transform: translateY(-50%);
	background: radial-gradient(closest-side, rgba(212, 165, 72, 0.22), rgba(212, 165, 72, 0) 70%);
	pointer-events: none;
}
.mg-hero--split > * { position: relative; }
.mg-hero--split .mg-hero__title { font-size: clamp(2.6rem, 5.3vw, 4.7rem); line-height: 1.02; margin-block: 0.2em 0.3em; }
.mg-hero--split .mg-hero__title em { display: block; color: var(--mg-gold-l); font-style: italic; }
.mg-hero--split .mg-chips { margin-top: 1.3rem !important; }
.mg-hero--split .wp-block-buttons { margin-top: 1.5rem !important; }
.mg-hero--split .mg-hero__note { margin-top: 1.3rem !important; }
.mg-hero__media { position: relative; max-width: 560px; margin-left: auto !important; margin-right: 0 !important; padding: 0 0 0 18px; }
.mg-hero__media::before {
	content: "";
	position: absolute;
	inset: 22px -18px -22px 40px;
	border: 1px solid rgba(243, 212, 136, 0.45);
	border-radius: 34px;
	pointer-events: none;
}
.mg-hero__media > * { margin: 0 !important; }
.mg-hero__photo { position: relative; z-index: 1; }
.mg-hero__photo img { aspect-ratio: 1; object-fit: cover; object-position: 100% 0; }
.mg-hero__badge {
	position: absolute;
	z-index: 2;
	left: -6px;
	bottom: 36px;
	background: var(--mg-aub-deep);
	color: var(--mg-cream);
	border: 1px solid var(--mg-gold);
	border-radius: 999px;
	padding: 0.6rem 1.15rem;
	font-size: 0.88rem;
	letter-spacing: 0.02em;
	box-shadow: 0 18px 40px -18px rgba(0, 0, 0, 0.7);
}
.mg-hero__badge strong { color: var(--mg-gold-l); }

.mg-mosaic { display: grid; grid-template-columns: 1.35fr 1fr; grid-template-rows: 1fr 1fr; gap: 14px; min-height: clamp(440px, 44vw, 600px); }
.mg-mosaic > * { margin: 0 !important; }
.mg-mosaic > .wp-block-image:first-child { grid-row: span 2; }
.mg-mosaic img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 100% 0; border-radius: 22px; box-shadow: 0 24px 50px -30px rgba(22, 3, 26, 0.55); }
.mg-mosaic > .wp-block-image:first-child img { box-shadow: 0 0 0 5px rgba(212, 165, 72, 0.5), 0 30px 60px -30px rgba(22, 3, 26, 0.6); }
.mg-spotlight { gap: clamp(2rem, 5vw, 4.5rem) !important; }
.mg-photo-stack > * + * { margin-top: 1.25rem !important; }

@media (max-width: 781px) {
	.mg-hero.mg-hero--split { min-height: 0 !important; }
	.mg-hero__media { margin: 1.5rem auto 0 !important; max-width: 88%; padding: 0; }
	.mg-hero__media::before { inset: 14px -12px -14px 24px; }
	.mg-hero__badge { left: 10px; bottom: 16px; font-size: 0.78rem; padding: 0.5rem 0.9rem; }
}
@media (max-width: 600px) {
	.mg-mosaic { grid-template-columns: 1fr 1fr; grid-template-rows: auto; gap: 10px; min-height: 0; }
	.mg-mosaic img { aspect-ratio: 6 / 5; }
	.mg-mosaic > .wp-block-image:first-child img { aspect-ratio: 1; }
	.mg-mosaic > .wp-block-image:first-child { grid-row: auto; grid-column: span 2; }
	.mg-mosaic img { border-radius: 16px; }
}
@media (prefers-reduced-motion: no-preference) {
	.mg-hero__photo img { animation: mg-hero-in 1.1s var(--mg-ease) both; }
	@keyframes mg-hero-in { from { opacity: 0; transform: scale(1.04); } to { opacity: 1; transform: none; } }
}
