/* ===== Mayumi Beach Villa — Kadence + Gutenberg design ===== */
:root {
	--may-navy: #0f1f5c;
	--may-navy-2: #172a78;
	--may-sky: #1f9ad6;
	--may-sky-soft: #e6f4fb;
	--may-sun: #ee8a2a;
	--may-sun-dark: #d97414;
	--may-cream: #f7f2e9;
	--may-ink: #273044;
	--may-muted: #5d6679;
	--may-line: #e6dfd2;
	--may-serif: "Cormorant Garamond", Georgia, serif;
	--may-sans: "Jost", "Helvetica Neue", Arial, sans-serif;
	--wp--style--global--content-size: 1180px;
	--wp--style--global--wide-size: 1320px;
}

body { font-family: var(--may-sans); color: var(--may-ink); font-size: 17px; line-height: 1.7; background: #fff; }
h1, h2, h3, h4, .wp-block-heading {
	font-family: var(--may-serif); color: var(--may-navy); font-weight: 600;
	line-height: 1.15; letter-spacing: .005em; font-variant-numeric: lining-nums;
}
h2.wp-block-heading { font-size: clamp(2rem, 1.4rem + 2vw, 3rem); margin: 0 0 .5em; }
h3.wp-block-heading { font-size: clamp(1.45rem, 1.2rem + .8vw, 1.8rem); margin: 0 0 .5em; }
a { color: var(--may-sky); }
.entry-content > *:first-child { margin-top: 0; }
.content-area { margin: 0 !important; }

/* ---------- sections ---------- */
.may-section { padding: clamp(64px, 8vw, 112px) 20px; padding-left: 20px !important; padding-right: 20px !important; margin: 0 !important; }
.may-section + .may-section, .may-section + .wp-block-cover, .wp-block-cover + .may-section { margin-top: 0 !important; }
.may-white { background: #fff; }
.may-cream { background: var(--may-cream); }
.may-navy { background: var(--may-navy); color: #dfe6f6; }
.may-navy h2, .may-navy h3 { color: #fff; }
.may-center-head > .wp-block-heading, .may-center-head > p { text-align: center; }
.may-center-head > p:not(.may-eyebrow) { max-width: 720px; margin-left: auto !important; margin-right: auto !important; }
.may-center-head > h2 { margin-bottom: .9em; }

.may-eyebrow {
	font-family: var(--may-sans); font-size: .78rem !important; font-weight: 600; letter-spacing: .22em;
	text-transform: uppercase; color: var(--may-sky); margin-top: 0 !important; margin-bottom: 14px !important;
}
.may-navy .may-eyebrow, .wp-block-cover .may-eyebrow { color: #8fd3f5; }

/* ---------- hero / covers ---------- */
.wp-block-cover.may-hero { padding: 140px 24px 90px; margin: 0 !important; }
.wp-block-cover.may-hero .wp-block-cover__inner-container,
.wp-block-cover.may-cta .wp-block-cover__inner-container { max-width: 880px; text-align: center; margin: 0 auto; }
.may-hero .wp-block-cover__background { background: linear-gradient(180deg, rgba(8,16,48,.55) 0%, rgba(8,16,48,.25) 40%, rgba(8,16,48,.6) 100%) !important; opacity: 1 !important; }
.may-hero-title { color: #fff !important; font-size: clamp(2.6rem, 1.6rem + 4vw, 4.9rem) !important; font-weight: 600; text-shadow: 0 2px 24px rgba(0,0,0,.25); margin-top: 0 !important; margin-bottom: .35em !important; }
.may-hero-lead { font-size: clamp(1.05rem, .95rem + .5vw, 1.3rem); color: rgba(255,255,255,.92); max-width: 640px; margin: 0 auto 32px !important; }
.may-hero .wp-block-buttons, .may-cta .wp-block-buttons { justify-content: center; }
.wp-block-cover.may-cta { padding: 90px 24px; margin: 0 !important; }
.may-cta h2 { color: #fff; }
.may-cta p { color: rgba(255,255,255,.9); font-size: 1.15rem; }

/* ---------- buttons ---------- */
.may-btn .wp-block-button__link {
	font-family: var(--may-sans); font-weight: 500; font-size: .95rem; letter-spacing: .08em; text-transform: uppercase;
	border-radius: 999px; padding: 15px 32px; border: 2px solid transparent; transition: all .2s ease; text-decoration: none;
}
.may-btn-sun .wp-block-button__link { background: var(--may-sun); color: #fff; }
.may-btn-sun .wp-block-button__link:hover { background: var(--may-sun-dark); color: #fff; transform: translateY(-1px); }
.may-btn-navy .wp-block-button__link { background: var(--may-navy); color: #fff; }
.may-btn-navy .wp-block-button__link:hover { background: var(--may-sky); color: #fff; }
.may-btn-ghost .wp-block-button__link { background: transparent; color: #fff; border-color: rgba(255,255,255,.8); }
.may-btn-ghost .wp-block-button__link:hover { background: #fff; color: var(--may-navy); }
.may-btn-outline .wp-block-button__link { background: transparent; color: var(--may-navy); border-color: var(--may-navy); }
.may-btn-outline .wp-block-button__link:hover { background: var(--may-navy); color: #fff; }
.wp-block-buttons { gap: 14px; margin-top: 28px; }

/* ---------- booking section ---------- */
.may-book { padding-top: 56px !important; padding-bottom: 56px !important; }
.may-book .may-book-title { text-align: center; font-size: clamp(1.8rem, 1.4rem + 1.4vw, 2.4rem); margin-bottom: .2em; }
.may-book .may-book-sub { text-align: center; color: #b9c6e6; margin: 0 auto 28px !important; }
.may-book .bkw { background: #fff; border-radius: 22px; padding: 14px 16px; max-width: 980px; margin-left: auto !important; margin-right: auto !important; box-shadow: 0 24px 60px -24px rgba(0,0,0,.55); }

/* ---------- stats ---------- */
.may-stats-wrap { padding: 0 20px !important; background: #fff; }
.may-stats { list-style: none; margin: 0 auto !important; padding: 40px 0 !important; display: grid; grid-template-columns: repeat(4, 1fr); max-width: 1000px; border-bottom: 1px solid var(--may-line); }
.may-stats li { text-align: center; border-left: 1px solid var(--may-line); padding: 0 12px; }
.may-stats li:first-child { border-left: 0; }
.may-stats strong { display: block; font-family: var(--may-serif); font-size: clamp(2.2rem, 1.6rem + 2vw, 3.2rem); color: var(--may-navy); font-weight: 600; line-height: 1; font-variant-numeric: lining-nums; }
.may-stats span { display: block; font-size: .8rem; letter-spacing: .18em; text-transform: uppercase; color: var(--may-muted); margin-top: 10px; }

/* ---------- split rows ---------- */
.may-split { gap: clamp(32px, 5vw, 80px) !important; max-width: 1180px; margin-left: auto !important; margin-right: auto !important; }
.may-split p { color: var(--may-muted); }
.may-img-rounded { margin: 0 !important; }
.may-img-rounded img { border-radius: 18px; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; box-shadow: 0 24px 50px -22px rgba(15,31,92,.45); display: block; }

/* ---------- cards ---------- */
.may-cards { gap: 28px !important; margin-bottom: 28px !important; }
.may-cards-2 { max-width: 1080px; margin-left: auto !important; margin-right: auto !important; }
.may-cards > .wp-block-column { display: flex; }
.may-card { background: #fff; border-radius: 18px; overflow: hidden; box-shadow: 0 18px 40px -24px rgba(15,31,92,.35); display: flex; flex-direction: column; width: 100%; margin: 0 !important; }
.may-white .may-card { border: 1px solid var(--may-line); box-shadow: none; }
.may-card-img { margin: 0 !important; }
.may-card-img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.may-card-body { padding: 26px 28px 30px !important; flex: 1; }
.may-card-body > * { max-width: none !important; }
.may-card-body p { color: var(--may-muted); font-size: .98rem; }
.may-card-body .may-eyebrow { margin-bottom: 8px !important; }
.may-prices { list-style: none; padding: 16px 0 0 !important; margin: 16px 0 0 !important; border-top: 1px solid var(--may-line); font-size: .92rem; }
.may-prices li { padding-left: 18px; position: relative; color: var(--may-ink); font-weight: 500; margin-bottom: 4px; }
.may-prices li::before { content: ""; position: absolute; left: 0; top: .7em; width: 7px; height: 7px; border-radius: 50%; background: var(--may-sun); }
.may-note { text-align: center; color: var(--may-muted); font-style: italic; margin-top: 12px !important; }
.may-intro > p { font-size: 1.08rem; color: var(--may-muted); }

/* chef menus */
.may-card .wp-block-details { border-top: 1px solid var(--may-line); padding: 12px 0; font-size: .92rem; }
.may-card .wp-block-details summary { cursor: pointer; font-weight: 600; color: var(--may-navy); }
.may-card .wp-block-details ul { padding-left: 18px; margin: 10px 0 0; }
.may-card .wp-block-details li { margin-bottom: 8px; color: var(--may-muted); }

/* ---------- inclusions ---------- */
.may-inclusions { list-style: none; padding: 0 !important; margin: 0 auto !important; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; max-width: 1080px; }
.may-inclusions li { background: var(--may-cream); border-radius: 14px; padding: 20px 20px 20px 58px; position: relative; font-weight: 500; color: var(--may-navy); }
.may-inclusions li::before {
	content: ""; position: absolute; left: 20px; top: 50%; transform: translateY(-50%); width: 26px; height: 26px; border-radius: 50%;
	background: var(--may-sky) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 14px no-repeat;
}

/* ---------- reviews ---------- */
.may-rating-line { color: #b9c6e6; margin-bottom: 40px !important; }
.may-rating-line strong { color: #fff; }
.may-reviews { gap: 24px !important; max-width: 1180px; margin: 0 auto !important; }
.may-review { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: 18px; padding: 30px !important; height: 100%; margin: 0 !important; }
.may-review > * { max-width: none !important; }
.may-stars { color: var(--may-sun); letter-spacing: .15em; margin: 0 0 10px !important; }
.may-review h3 { font-size: 1.5rem !important; }
.may-quote { color: #dfe6f6; font-size: 1rem; }
.may-cite { color: #8fd3f5; font-size: .85rem; letter-spacing: .06em; margin-top: 14px !important; }

/* ---------- gallery ---------- */
.may-gallery-wrap { padding-top: 64px !important; }
.may-gallery.wp-block-gallery { display: grid !important; grid-template-columns: repeat(3, 1fr); gap: 14px !important; max-width: 1240px; margin: 0 auto !important; }
.may-gallery.wp-block-gallery .wp-block-image { width: auto !important; margin: 0 !important; overflow: hidden; border-radius: 12px; }
.may-gallery.wp-block-gallery .wp-block-image img { width: 100% !important; height: auto !important; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 12px; transition: transform .4s ease; }
.may-gallery.wp-block-gallery .wp-block-image:hover img { transform: scale(1.04); }
.may-mini-cta { padding: 64px 20px !important; }
.may-mini-cta .wp-block-buttons { justify-content: center; margin-top: 8px; }
.may-mini-cta h2 { margin-bottom: .3em !important; }

/* ---------- contact ---------- */
.may-contact-list { list-style: none; padding: 0 !important; margin: 24px 0 0 !important; }
#colophon .site-bottom-footer-inner-wrap { grid-template-columns: 1fr !important; }
#colophon .footer-html, #colophon .footer-html-inner { text-align: center; width: 100%; }
.may-contact-list li { padding: 14px 0; border-bottom: 1px solid var(--may-line); color: var(--may-ink); }
.may-contact-list a { color: var(--may-navy); text-decoration: none; font-weight: 500; }
.may-contact-list a:hover { color: var(--may-sky); }
.may-ci-label { display: block; font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--may-sky); font-weight: 600; margin-bottom: 2px; }
.may-form-card { background: #fff; border-radius: 18px; padding: 36px !important; box-shadow: 0 24px 50px -28px rgba(15,31,92,.4); margin: 0 !important; }
.may-form-card > * { max-width: none !important; }
.may-form-card .wpforms-container { margin: 0 !important; }
.may-form-card input[type=text], .may-form-card input[type=email], .may-form-card input[type=tel], .may-form-card textarea {
	border: 1px solid var(--may-line) !important; border-radius: 10px !important; padding: 12px 14px !important; background: #fcfbf8 !important; max-width: 100% !important; font-family: var(--may-sans);
}
.may-form-card button[type=submit] { background: var(--may-sun) !important; border: 0 !important; color: #fff !important; border-radius: 999px !important; padding: 14px 34px !important; font-family: var(--may-sans) !important; text-transform: uppercase; letter-spacing: .08em; font-weight: 500 !important; }
.may-form-card button[type=submit]:hover { background: var(--may-sun-dark) !important; }

/* ---------- header ---------- */
#masthead .site-header-row-container-inner { transition: background .25s, box-shadow .25s; }
#masthead .main-navigation .primary-menu-container > ul > li > a { font-family: var(--may-sans); font-size: .82rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; }
.transparent-header #masthead .item-is-stuck .site-header-row-container-inner,
#masthead .item-is-stuck .site-header-row-container-inner { box-shadow: 0 6px 24px -12px rgba(15,31,92,.35); }
.header-button.button, #masthead .header-button { border-radius: 999px !important; letter-spacing: .1em; text-transform: uppercase; font-size: .8rem !important; font-weight: 500; padding: 12px 26px !important; }
@media (min-width: 1025px) { .may-hide-desktop { display: none !important; } }

/* ---------- footer ---------- */
#colophon .site-middle-footer-wrap .site-footer-row-container-inner { background: var(--may-navy); color: #c5cfe8; }
#colophon .site-bottom-footer-wrap .site-footer-row-container-inner { background: #0a1644; color: #8f9cc2; font-size: .85rem; }
#colophon .widget-title, #colophon h2.widget-title { font-family: var(--may-sans); font-size: .78rem; letter-spacing: .22em; text-transform: uppercase; color: #8fd3f5; font-weight: 600; margin-bottom: 18px; }
#colophon a { color: #fff; text-decoration: none; }
#colophon a:hover { color: #8fd3f5; }
#colophon .footer-widget-area ul { list-style: none; padding: 0; margin: 0; }
#colophon .footer-widget-area li { margin-bottom: 8px; }
.may-footer-logo { width: 210px; height: auto; margin-bottom: 16px; }
.may-footer-tag { color: #c5cfe8; max-width: 320px; font-size: .95rem; }

/* ---------- Polylang: hide the language switcher / mobile-only Reservations
   link when the footer "Explore" widget reuses the header's own nav menu ---------- */
.footer-widget2 .pll-parent-menu-item,
.footer-widget2 .may-hide-desktop { display: none !important; }

/* ---------- Polylang language switcher: flag + name align on one line ----------
   Kadence sets nav menu <img> to display:block, which stacks the flag above the
   text in both the "ENGLISH ▾" toggle and each dropdown row. */
#masthead .main-navigation .pll-parent-menu-item > a .nav-drop-title-wrap,
#masthead .main-navigation .lang-item > a {
	display: flex !important;
	align-items: center;
}
#masthead .main-navigation .pll-parent-menu-item img,
#masthead .main-navigation .lang-item img {
	display: inline-block !important;
	flex: none;
}
#masthead .main-navigation .lang-item > a span { margin-left: 0.5em; }

/* ---------- terms & conditions ---------- */
.may-legal-hero { padding: 150px 20px 64px !important; }
.may-legal-updated { text-align: center; color: var(--may-muted); font-size: .85rem; margin-top: 6px !important; }
.may-legal-updated-hero { color: #b9c6e6 !important; }
.may-legal-toc-wrap { padding-top: 56px !important; padding-bottom: 24px !important; }
.may-legal-toc { max-width: 820px; margin: 0 auto !important; background: var(--may-cream); border-radius: 18px; padding: 32px 36px !important; }
.may-legal-toc .may-eyebrow { text-align: center; }
.may-legal-toc-list { list-style: none; margin: 8px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 6px 24px; }
.may-legal-toc-list a { display: flex; align-items: center; gap: 12px; padding: 8px 4px; color: var(--may-ink); text-decoration: none; font-size: .95rem; border-radius: 8px; transition: color .15s; }
.may-legal-toc-list a:hover { color: var(--may-sky); }
.may-legal-toc-num { flex: none; width: 24px; height: 24px; border-radius: 50%; background: var(--may-navy); color: #fff; font-size: .75rem; font-weight: 600; display: inline-flex; align-items: center; justify-content: center; font-family: var(--may-sans); }
.may-legal-body { max-width: 780px; margin: 0 auto !important; background: #fff; border-radius: 20px; padding: 12px 44px !important; box-shadow: 0 24px 60px -32px rgba(15,31,92,.3); }
.may-legal-item { padding: 32px 0 !important; border-bottom: 1px solid var(--may-line); margin: 0 !important; }
.may-legal-item:last-child { border-bottom: 0; }
.may-legal-head { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.may-legal-head h3 { margin: 0 !important; font-size: 1.3rem; }
.may-legal-num { flex: none; width: 38px; height: 38px; border-radius: 50%; background: var(--may-navy); color: #fff; font-family: var(--may-serif); font-weight: 600; font-size: 1.05rem; display: inline-flex; align-items: center; justify-content: center; }
.may-legal-item ul { list-style: none; margin: 0; padding: 0; }
.may-legal-item ul li { position: relative; padding-left: 20px; margin-bottom: 10px; color: var(--may-muted); }
.may-legal-item ul li:last-child { margin-bottom: 0; }
.may-legal-item ul li::before { content: ""; position: absolute; left: 0; top: .68em; width: 6px; height: 6px; border-radius: 50%; background: var(--may-sky); }
.may-legal-item strong { color: var(--may-navy); }
.may-footer-legal-link { color: #8f9cc2 !important; text-decoration: underline; text-underline-offset: 2px; }
.may-footer-legal-link:hover { color: #fff !important; }

/* ---------- responsive ---------- */
@media (max-width: 1024px) {
	.may-inclusions { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 781px) {
	.may-section { padding-top: 56px !important; padding-bottom: 56px !important; }
	.may-section:not(.may-stats-wrap), .wp-block-cover.may-hero, .wp-block-cover.may-cta { padding-left: 20px !important; padding-right: 20px !important; }
	.may-hero-title { font-size: 2.4rem !important; }
	.wp-block-cover.may-hero { padding: 120px 18px 64px; }
	.may-stats { grid-template-columns: repeat(2, 1fr); row-gap: 28px; padding: 32px 0 !important; }
	.may-stats li:nth-child(3) { border-left: 0; }
	.may-inclusions { grid-template-columns: 1fr 1fr; gap: 10px; }
	.may-inclusions li { padding: 16px 12px 16px 48px; font-size: .92rem; }
	.may-inclusions li::before { left: 14px; width: 24px; height: 24px; }
	.may-split-rev { flex-direction: column-reverse; }
	.may-gallery.wp-block-gallery { grid-template-columns: repeat(2, 1fr); gap: 8px !important; }
	.may-form-card { padding: 24px !important; }
	.wp-block-buttons { justify-content: center; }
	.may-split .wp-block-buttons { justify-content: flex-start; }
	.may-legal-toc-list { grid-template-columns: 1fr; }
	.may-legal-toc { padding: 24px 20px !important; }
	.may-legal-body { padding: 4px 22px !important; }
	.may-legal-hero { padding: 130px 18px 48px !important; }
}
