/* Boracay Peninsula — Kadence + Gutenberg design (2026-10-07). Classes: bp-* */

:root {
	--bp-ocean: #174c6b;
	--bp-deep: #0d2f43;
	--bp-coral: #c8562a;
	--bp-coral-dark: #a8431d;
	--bp-sand: #f5eee3;
	--bp-cream: #fbf8f3;
	--bp-ink: #18303d;
	--bp-muted: #5b6c74;
	--bp-line: #e6dccd;
	--bp-radius: 18px;
	--bp-shadow: 0 18px 50px -20px rgba(13, 47, 67, .35);
	--bp-serif: "DM Serif Display", Georgia, serif;
	--bp-sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;

	--global-palette1: #c8562a;
	--global-palette2: #a8431d;
	--global-palette3: #0d2f43;
	--global-palette4: #18303d;
	--global-palette5: #3d525c;
	--global-palette6: #5b6c74;
	--global-palette7: #f5eee3;
	--global-palette8: #fbf8f3;
	--global-palette9: #ffffff;
	--global-body-font-family: var(--bp-sans);
	--global-heading-font-family: var(--bp-serif);
}

body { font-family: var(--bp-sans); color: var(--bp-ink); background: #fff; -webkit-font-smoothing: antialiased; }
body .entry-content { font-size: 17px; line-height: 1.7; }
h1, h2, h3, h4, .site-title { font-family: var(--bp-serif); font-weight: 400; letter-spacing: -.01em; color: var(--bp-deep); }

/* ---------- Header ---------- */
#masthead .site-header-main-section-left .site-branding { gap: 12px; }
#masthead .site-title { font-family: var(--bp-serif); font-size: 26px; color: var(--bp-deep); line-height: 1.1; }
#masthead .site-description { font-family: var(--bp-sans); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--bp-muted); margin-top: 3px; }
#masthead .site-branding .site-title-wrap { display: flex; flex-direction: column; }
#masthead .site-main-header-wrap .site-header-row-container-inner { background: rgba(255,255,255,.97); border-bottom: 1px solid var(--bp-line); }
.header-navigation .header-menu-container ul li a { font-family: var(--bp-sans); font-weight: 600; font-size: 15px; color: var(--bp-ink); padding-left: 14px; padding-right: 14px; }
.header-navigation .header-menu-container ul li a:hover,
.header-navigation .header-menu-container ul li.current-menu-item > a { color: var(--bp-coral); }
#masthead .header-button, .mobile-header-button-wrap .mobile-header-button,
.header-button-wrap .header-button {
	background: var(--bp-coral); color: #fff; border-radius: 999px; padding: 12px 26px; font-weight: 700; font-size: 15px;
	box-shadow: 0 8px 20px -10px rgba(200,86,42,.8); border: 0;
}
#masthead .header-button:hover, .mobile-header-button-wrap .mobile-header-button:hover { background: var(--bp-coral-dark); color: #fff; }
.mobile-toggle-open-container .menu-toggle-open { color: var(--bp-deep); }
#mobile-drawer .drawer-inner { background: var(--bp-deep); }
#mobile-drawer .mobile-navigation ul li a { font-family: var(--bp-sans); font-weight: 600; color: #fff; }
#mobile-drawer .mobile-header-button-wrap { margin-top: 18px; }

/* ---------- Layout primitives ---------- */
.entry-content > * { margin-top: 0; margin-bottom: 0; }
.entry-content > .bp-section { padding: 96px 24px !important; margin: 0 !important; }
.bp-section .wp-block-group__inner-container { display: contents; }
.bp-inner { max-width: 1180px; margin: 0 auto; }
.bp-narrow { max-width: 860px; }
.bp-center { text-align: center; }
.bp-head { max-width: 720px; margin: 0 auto 48px !important; }
.bp-sand { background: var(--bp-sand); }
.bp-ocean { background: var(--bp-deep); color: #e6eef2; }
.bp-ocean h2, .bp-ocean h3 { color: #fff; }

.bp-section h2 { font-size: clamp(32px, 4vw, 48px); line-height: 1.12; margin: 0 0 18px; }
.bp-section h3 { font-size: 26px; line-height: 1.2; margin: 0 0 10px; }
.bp-eyebrow { font-family: var(--bp-sans); font-size: 13px !important; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--bp-coral); margin: 0 0 12px !important; }
.bp-ocean .bp-eyebrow, .bp-cta .bp-eyebrow, .wp-block-cover .bp-eyebrow { color: #f3b48f; }
.bp-lead { font-size: 19px; color: var(--bp-muted); line-height: 1.65; }
.bp-ocean .bp-lead { color: #c4d4dc; }
.bp-section p { margin: 0 0 16px; }

/* Buttons */
.wp-block-buttons { gap: 12px; margin-top: 28px; }
.bp-center-btns { justify-content: center; margin-top: 44px; }
.wp-block-button .wp-block-button__link { border-radius: 999px; padding: 15px 30px; font-family: var(--bp-sans); font-weight: 700; font-size: 16px; transition: transform .2s, background .2s, color .2s, box-shadow .2s; }
.wp-block-button .wp-block-button__link:hover { transform: translateY(-2px); }
.bp-btn-coral .wp-block-button__link { background: var(--bp-coral); color: #fff; box-shadow: 0 12px 26px -12px rgba(200,86,42,.9); }
.bp-btn-coral .wp-block-button__link:hover { background: var(--bp-coral-dark); color: #fff; }
.bp-btn-ghost-light .wp-block-button__link { background: transparent; color: #fff; box-shadow: inset 0 0 0 2px rgba(255,255,255,.75); }
.bp-btn-ghost-light .wp-block-button__link:hover { background: #fff; color: var(--bp-deep); }
.bp-btn-outline .wp-block-button__link { background: transparent; color: var(--bp-deep); box-shadow: inset 0 0 0 2px var(--bp-deep); }
.bp-btn-outline .wp-block-button__link:hover { background: var(--bp-deep); color: #fff; }

/* ---------- Hero ---------- */
.entry-content > .wp-block-cover.bp-hero { min-height: calc(100vh - 88px); min-height: calc(100svh - 88px); max-height: 900px; padding: 120px 24px 170px; margin: 0; align-items: flex-end; }
.bp-hero::after, .bp-page-hero::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
	background: linear-gradient(180deg, rgba(13,47,67,.10) 0%, rgba(13,47,67,.25) 45%, rgba(13,47,67,.78) 100%); }
.wp-block-cover.bp-hero .wp-block-cover__inner-container, .wp-block-cover.bp-page-hero .wp-block-cover__inner-container { position: relative; z-index: 3 !important; max-width: 1180px; width: 100%; margin: 0 auto; color: #fff; }
.bp-hero h1 { color: #fff; font-size: clamp(44px, 7vw, 88px); line-height: 1.02; max-width: 820px; margin: 0 0 22px; text-shadow: 0 2px 30px rgba(0,0,0,.25); }
.bp-hero h1 em, .bp-page-hero h1 em { font-style: italic; color: #ffd9c2; }
.bp-hero .bp-lead { color: rgba(255,255,255,.92); max-width: 620px; font-size: 20px; }
.entry-content > .wp-block-cover.bp-page-hero { min-height: 420px; padding: 120px 24px 72px; margin: 0; align-items: flex-end; }
.bp-page-hero h1 { color: #fff; font-size: clamp(40px, 6vw, 68px); line-height: 1.05; margin: 0 0 12px; }
.bp-page-hero .bp-lead { color: rgba(255,255,255,.9); margin: 0; }

/* ---------- Booking card ---------- */
.entry-content > .bp-section.bp-book { padding: 0 24px !important; background: linear-gradient(180deg, transparent 0, transparent 50%, #fff 50%); position: relative; z-index: 3; }
.bp-book-card { background: #fff; border-radius: 24px; box-shadow: var(--bp-shadow); padding: 34px 40px; margin-top: -110px !important; border: 1px solid var(--bp-line); }
.bp-book-card .wp-block-columns.bp-book-cols { gap: 40px; align-items: center !important; margin: 0 !important; }
.bp-book-card .wp-block-column > :last-child { margin-bottom: 0 !important; }
.bp-book-cols > .wp-block-column:first-child { flex: 0 0 300px; }
.bp-book-card h2 { font-size: 34px; margin-bottom: 8px; }
.bp-book-card p { color: var(--bp-muted); margin: 0; }

/* ---------- About ---------- */
.bp-split { gap: 64px; align-items: center; margin: 0; }
.bp-about-media { position: relative; padding: 0 0 60px 0; }
.bp-about-media .bp-about-main img { width: 100%; aspect-ratio: 4/3.4; object-fit: cover; border-radius: var(--bp-radius); box-shadow: var(--bp-shadow); }
.bp-about-media .bp-about-inset { position: absolute; right: -24px; bottom: 0; width: 46%; margin: 0; }
.bp-about-media .bp-about-inset img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 14px; border: 6px solid #fff; box-shadow: var(--bp-shadow); }
.bp-about .wp-block-image, .bp-section .wp-block-image { margin: 0; }
.bp-stats { list-style: none; margin: 72px 0 0 !important; padding: 32px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; border-top: 1px solid var(--bp-line); }
.bp-stats li { display: flex; flex-direction: column; gap: 4px; }
.bp-stats strong { font-family: var(--bp-serif); font-weight: 400; font-size: 28px; color: var(--bp-ocean); line-height: 1.15; }
.bp-stats span { font-size: 14px; color: var(--bp-muted); }

/* ---------- Rooms ---------- */
.bp-room-cols { gap: 36px; margin: 0; }
.bp-room-card { background: #fff; border-radius: 22px; overflow: hidden; box-shadow: 0 10px 40px -24px rgba(13,47,67,.4); height: 100%; display: flex; flex-direction: column; transition: transform .3s, box-shadow .3s; }
.bp-room-card:hover { transform: translateY(-4px); box-shadow: var(--bp-shadow); }
.bp-room-card .bp-room-img img { width: 100%; aspect-ratio: 16/10.5; object-fit: cover; display: block; }
.bp-room-body { padding: 32px 34px 36px; display: flex; flex-direction: column; flex: 1; }
.bp-room-body p { color: var(--bp-muted); }
.bp-room-feats { list-style: none; margin: 8px 0 0 !important; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 18px; }
.bp-room-feats li { display: flex; align-items: center; gap: 10px; font-size: 15px; color: var(--bp-ink); }
.bp-room-feats svg { width: 20px; height: 20px; color: var(--bp-ocean); flex: none; }
.bp-room-body .wp-block-buttons { margin-top: auto; padding-top: 28px; }

/* ---------- Facilities grid ---------- */
.bp-features { list-style: none; margin: 0 !important; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.bp-features li { display: flex; gap: 14px; align-items: flex-start; padding: 22px; border-radius: 16px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); }
.bp-features strong { display: block; font-weight: 700; font-size: 16px; color: #fff; }
.bp-features small { display: block; font-size: 14px; color: #a9bfca; margin-top: 2px; }
.bp-ico { flex: none; width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: rgba(243,180,143,.15); color: #f3b48f; }
.bp-facilities-page .bp-features li { background: var(--bp-cream); border-color: var(--bp-line); }
.bp-facilities-page .bp-features strong { color: var(--bp-deep); }
.bp-facilities-page .bp-features small { color: var(--bp-muted); }
.bp-facilities-page .bp-ico, .bp-contact-cards .bp-ico { background: #e7f0f4; color: var(--bp-ocean); }

/* ---------- Mosaic ---------- */
.bp-mosaic { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 240px 240px; gap: 14px; }
.bp-mosaic .wp-block-image { margin: 0; overflow: hidden; border-radius: 16px; }
.bp-mosaic .wp-block-image:first-child { grid-row: span 2; }
.bp-mosaic img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s; }
.bp-mosaic .wp-block-image:hover img { transform: scale(1.05); }

/* ---------- Nearby ---------- */
.bp-nearby-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.bp-nearby-card { background: #fff; border-radius: 18px; overflow: hidden; padding-bottom: 8px; box-shadow: 0 8px 30px -22px rgba(13,47,67,.5); }
.bp-nearby-card .bp-nearby-img img { width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block; }
.bp-nearby-card h3 { font-size: 22px; margin: 20px 22px 8px; }
.bp-nearby-card p { font-size: 15px; color: var(--bp-muted); margin: 0 22px 16px; line-height: 1.6; }

/* ---------- Location ---------- */
.bp-map { width: 100%; height: 460px; border-radius: var(--bp-radius); overflow: hidden; box-shadow: var(--bp-shadow); background: #dfe9ee; z-index: 0; }
.bp-split-map > .wp-block-column:first-child { flex: 1.2; }
.bp-address { font-size: 18px; line-height: 1.6; }
.bp-small-h { font-size: 22px !important; margin-top: 24px !important; }
.bp-checks { list-style: none; padding: 0; margin: 0 !important; }
.bp-checks li { position: relative; padding: 0 0 10px 30px; font-size: 16px; }
.bp-checks li::before { content: ""; position: absolute; left: 0; top: 7px; width: 16px; height: 16px; border-radius: 50%; background: var(--bp-coral) 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.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/10px no-repeat; }
.bp-section p a, .bp-section li a { color: var(--bp-coral); }
.entry-content .bp-section figure.wp-block-image { margin: 0 !important; }

/* ---------- CTA ---------- */
.entry-content > .bp-section.bp-cta { background: linear-gradient(120deg, rgba(13,47,67,.94), rgba(23,76,107,.86)), url("/wp-content/uploads/2024/02/Boracay-view-Cover.webp") center/cover; color: #fff; padding: 110px 24px !important; }
.bp-cta h2 { color: #fff; max-width: 760px; margin-left: auto; margin-right: auto; }
.bp-cta .bp-lead { color: #d5e2e8; }

/* ---------- Facilities page ---------- */
.bp-rounded img { border-radius: var(--bp-radius); width: 100%; aspect-ratio: 4/3.2; object-fit: cover; box-shadow: var(--bp-shadow); }
.bp-rules { counter-reset: r; list-style: none; padding: 0; margin: 0 !important; display: grid; gap: 12px; }
.bp-rules li { counter-increment: r; position: relative; padding: 18px 22px 18px 72px; background: var(--bp-cream); border: 1px solid var(--bp-line); border-radius: 14px; font-size: 16px; }
.bp-rules li::before { content: counter(r, decimal-leading-zero); position: absolute; left: 22px; top: 15px; font-family: var(--bp-serif); font-size: 24px; color: var(--bp-coral); }

/* ---------- Gallery page ---------- */
.bp-gal-group + .bp-gal-group { margin-top: 72px !important; }
.bp-gal-group h2 { margin-bottom: 24px !important; }
.wp-block-gallery.bp-gallery { gap: 14px; }
.wp-block-gallery.bp-gallery .wp-block-image { border-radius: 14px; overflow: hidden; }
.wp-block-gallery.bp-gallery .wp-block-image img { aspect-ratio: 4/3; object-fit: cover; transition: transform .5s; }
.wp-block-gallery.bp-gallery .wp-block-image:hover img { transform: scale(1.04); }

/* ---------- Contact page ---------- */
.bp-contact-cards { list-style: none; padding: 0; margin: 0 0 64px !important; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.bp-contact-cards li { display: flex; flex-direction: column; gap: 6px; padding: 26px; border-radius: 18px; background: var(--bp-cream); border: 1px solid var(--bp-line); font-size: 15px; }
.bp-contact-cards .bp-ico { margin-bottom: 10px; }
.bp-contact-cards strong { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--bp-muted); }
.bp-contact-cards a, .bp-contact-cards span:not(.bp-ico) { font-size: 16px; font-weight: 600; color: var(--bp-deep) !important; word-break: break-word; }
.bp-contact-split { align-items: flex-start; }
.bp-contact-split .bp-map { height: 380px; margin-bottom: 20px; }
.bp-form-card { background: #fff; border: 1px solid var(--bp-line); border-radius: 22px; padding: 38px; box-shadow: 0 10px 40px -28px rgba(13,47,67,.5); }
.bp-form-card .frm_forms .frm_primary_label { font-family: var(--bp-sans); font-weight: 600; font-size: 14px; color: var(--bp-ink); }
.bp-form-card .frm_forms input[type=text], .bp-form-card .frm_forms input[type=email], .bp-form-card .frm_forms input[type=tel], .bp-form-card .frm_forms textarea {
	border: 1px solid var(--bp-line) !important; border-radius: 12px !important; padding: 12px 14px !important; background: var(--bp-cream) !important; font-size: 16px !important; box-shadow: none !important; }
.bp-form-card .frm_forms input:focus, .bp-form-card .frm_forms textarea:focus { border-color: var(--bp-ocean) !important; background: #fff !important; }
.bp-form-card .frm_forms .frm_submit button, .bp-form-card .frm_forms .frm_button_submit { background: var(--bp-coral) !important; border: 0 !important; color: #fff !important; border-radius: 999px !important; padding: 14px 32px !important; font-weight: 700 !important; font-size: 16px !important; }
.bp-faq-item { background: #fff; border: 1px solid var(--bp-line); border-radius: 14px; margin: 0 0 12px !important; padding: 0; }
.bp-faq-item summary { cursor: pointer; padding: 20px 56px 20px 24px; font-weight: 700; font-size: 17px; color: var(--bp-deep); list-style: none; position: relative; }
.bp-faq-item summary::-webkit-details-marker { display: none; }
.bp-faq-item summary::after { content: "+"; position: absolute; right: 24px; top: 50%; transform: translateY(-50%); font-size: 26px; font-weight: 400; color: var(--bp-coral); transition: transform .2s; }
.bp-faq-item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.bp-faq-item p { padding: 0 24px 20px; margin: 0; color: var(--bp-muted); }

/* ---------- Footer ---------- */
#colophon { background: var(--bp-deep); color: #b9cbd4; }
#colophon .site-middle-footer-wrap .site-footer-row-container-inner { background: var(--bp-deep); padding: 72px 0 40px; }
#colophon .site-bottom-footer-wrap .site-footer-row-container-inner { background: #0a2535; border-top: 1px solid rgba(255,255,255,.08); }
#colophon .widget-title { font-family: var(--bp-sans); font-size: 13px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: #f3b48f; margin-bottom: 18px; }
#colophon a { color: #e6eef2; text-decoration: none; }
#colophon a:hover { color: #f3b48f; }
#colophon p, #colophon li { font-size: 15px; line-height: 1.7; }
#colophon .footer-html { font-size: 14px; color: #8fa7b3; }
.bp-foot-brand { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.bp-foot-brand img { width: 56px; height: 56px; border-radius: 14px; background: #fff; padding: 6px; object-fit: contain; }
.bp-foot-brand span { font-family: var(--bp-serif); font-size: 26px; color: #fff; }
.bp-foot-links, .bp-foot-contact { list-style: none; margin: 0; padding: 0; }
.bp-foot-links li, .bp-foot-contact li { margin-bottom: 8px; }
#colophon .bp-foot-btn { display: inline-block; margin-top: 6px; background: var(--bp-coral); color: #fff; padding: 11px 24px; border-radius: 999px; font-weight: 700; }
#colophon .bp-foot-btn:hover { background: #fff; color: var(--bp-deep); }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
	.bp-features, .bp-nearby-grid, .bp-contact-cards { grid-template-columns: repeat(2, 1fr); }
	.bp-stats { grid-template-columns: repeat(2, 1fr); }
	.bp-book-cols > .wp-block-column:first-child { flex-basis: 100% !important; }
}
@media (max-width: 781px) {
	.entry-content > .bp-section { padding: 64px 20px !important; }
	.entry-content > .wp-block-cover.bp-hero { min-height: 640px; padding: 100px 20px 150px; }
	.bp-hero .bp-lead { font-size: 17px; }
	.bp-book-card { padding: 28px 22px; margin-top: -90px !important; border-radius: 20px; }
	.bp-book-card .wp-block-columns.bp-book-cols { gap: 16px; }
	.bp-split { gap: 36px; }
	.bp-about-media { padding-bottom: 40px; }
	.bp-about-media .bp-about-inset { right: 0; }
	.bp-room-body { padding: 26px 22px 28px; }
	.bp-features, .bp-nearby-grid, .bp-contact-cards { grid-template-columns: 1fr; }
	.bp-features li { padding: 16px; }
	.bp-mosaic { grid-template-columns: 1fr 1fr; grid-template-rows: 220px 140px 140px; }
	.bp-mosaic .wp-block-image:first-child { grid-column: span 2; grid-row: auto; }
	.bp-map { height: 340px; }
	.bp-head { margin-bottom: 32px !important; }
	.entry-content > .wp-block-cover.bp-page-hero { min-height: 320px; padding: 100px 20px 48px; }
	.bp-form-card { padding: 26px 20px; }
	.bp-rules li { padding: 16px 16px 16px 60px; }
	.bp-rules li::before { left: 16px; }
	#masthead .site-title { font-size: 21px; }
}


/* Mosaic + card height fixes */
.bp-mosaic > .wp-block-image { height: 100%; min-height: 0; }
.bp-mosaic > .wp-block-image img { height: 100% !important; aspect-ratio: auto !important; }
.bp-nearby-grid { align-items: stretch; }
.bp-nearby-card { height: 100%; }
#colophon .bp-foot-links, #colophon .bp-foot-contact { padding-left: 0; }

/* List indent + spacing fixes */
.entry-content ul.bp-features, .entry-content ul.bp-stats, .entry-content ul.bp-room-feats, .entry-content ul.bp-contact-cards, .entry-content ul.bp-checks, .entry-content ol.bp-rules { padding-left: 0 !important; margin-left: 0 !important; }
.entry-content .wp-block-buttons.bp-center-btns { margin-top: 44px !important; }
@media (max-width: 781px) {
	.bp-stats strong { font-size: 22px; }
	.bp-room-feats li { font-size: 14px; }
}

/* Gallery grid (core gallery flex rendered 2-up and stretched orphans) */
.entry-content .wp-block-gallery.bp-gallery { display: grid !important; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.entry-content .wp-block-gallery.bp-gallery > figure.wp-block-image { width: auto !important; margin: 0 !important; max-width: none !important; }
.entry-content .wp-block-gallery.bp-gallery > figure.wp-block-image img { width: 100%; height: 100% !important; aspect-ratio: 4/3; object-fit: cover; }
@media (max-width: 781px) { .entry-content .wp-block-gallery.bp-gallery { grid-template-columns: repeat(2, 1fr); gap: 10px; } }

/* Formidable submit */
.bp-form-card .frm_forms { --submit-bg-color: #c8562a; --submit-border-color: #c8562a; --submit-hover-bg-color: #a8431d; --submit-hover-border-color: #a8431d; --submit-text-color: #fff; --submit-hover-color: #fff; --submit-border-radius: 999px; }
body .bp-form-card .frm_forms .frm_submit button, body .bp-form-card .frm_forms .frm_submit input[type=submit] { background: #c8562a !important; border-color: #c8562a !important; color: #fff !important; border-radius: 999px !important; padding: 14px 34px !important; font-weight: 700 !important; font-size: 16px !important; font-family: var(--bp-sans) !important; }
body .bp-form-card .frm_forms .frm_submit button:hover { background: #a8431d !important; }

/* Polylang language switcher (header dropdown + mobile drawer) */
.header-navigation .pll-parent-menu-item > a .nav-drop-title-wrap, #mobile-drawer .pll-parent-menu-item > a .nav-drop-title-wrap { display: inline-flex; align-items: center; gap: 8px; }
.pll-parent-menu-item img, .lang-item img { display: inline-block !important; width: 20px !important; height: 14px !important; margin: 0 !important; border-radius: 2px; vertical-align: middle; }
.header-navigation .pll-parent-menu-item .sub-menu { min-width: 190px; border-radius: 14px; padding: 8px; box-shadow: 0 18px 50px -20px rgba(13,47,67,.45); border: 1px solid var(--bp-line); background: #fff; }
.header-navigation .pll-parent-menu-item .sub-menu .lang-item > a { display: flex !important; align-items: center; gap: 10px; border-radius: 10px; padding: 10px 12px !important; }
.header-navigation .pll-parent-menu-item .sub-menu .lang-item > a:hover { background: var(--bp-sand); color: var(--bp-deep); }
.header-navigation .pll-parent-menu-item .sub-menu .current-lang > a { background: #e7f0f4; color: var(--bp-ocean); }
#mobile-drawer .pll-parent-menu-item .sub-menu .lang-item > a { display: flex !important; align-items: center; gap: 10px; }

/* Per-language display serif (DM Serif Display lacks CJK / Cyrillic) */
html[lang^="ja"] { --bp-serif: "Noto Serif JP", serif; }
html[lang^="ko"] { --bp-serif: "Noto Serif KR", serif; }
html[lang="zh-TW"] { --bp-serif: "Noto Serif TC", serif; }
html[lang="zh-CN"] { --bp-serif: "Noto Serif SC", serif; }
html[lang^="ru"] { --bp-serif: "Noto Serif", Georgia, serif; }
html:not([lang^="en"]) h1, html:not([lang^="en"]) h2, html:not([lang^="en"]) h3, html:not([lang^="en"]) .site-title, html:not([lang^="en"]) .bp-stats strong, html:not([lang^="en"]) .bp-foot-brand span { font-weight: 600; }
html:not([lang^="en"]) .bp-hero h1 { line-height: 1.18; letter-spacing: 0; }
html[lang^="ja"] .bp-hero h1 em, html[lang^="ko"] .bp-hero h1 em, html[lang^="zh"] .bp-hero h1 em { font-style: normal; }
html[lang^="ru"] .bp-hero h1 { font-size: clamp(38px, 5.6vw, 72px); }
html:not([lang^="en"]) .bp-section h2 { letter-spacing: 0; }
html[lang^="ja"] .bp-section p, html[lang^="zh"] .bp-section p { line-break: strict; }

/* Hero eyebrow legibility on photos */
.wp-block-cover .bp-eyebrow { color: #ffe3d0 !important; text-shadow: 0 1px 12px rgba(0,0,0,.55); }

/* ---------- Legal pages (Terms & Conditions, Privacy Policy) ---------- */
.entry-content > .bp-section.bp-legal { padding-top: 72px !important; background: var(--bp-cream); }
.bp-glance-wrap { margin: 0 0 56px !important; }
.bp-glance { list-style: none; margin: 0 !important; padding: 0 !important; display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.bp-glance li { display: flex; flex-direction: column; gap: 12px; padding: 20px 18px; border-radius: 16px; background: #fff; border: 1px solid var(--bp-line); box-shadow: 0 10px 30px -24px rgba(13,47,67,.5); }
.bp-glance .bp-ico { background: #e7f0f4; color: var(--bp-ocean); width: 42px; height: 42px; }
.bp-glance strong { display: block; font-family: var(--bp-serif); font-weight: 400; font-size: 24px; line-height: 1.15; color: var(--bp-deep); }
.bp-glance small { display: block; margin-top: 4px; font-size: 13px; color: var(--bp-muted); line-height: 1.4; }
.bp-legal-cols { gap: 48px; align-items: flex-start !important; margin: 0 !important; }
.bp-legal-cols > .wp-block-column:first-child { flex: 0 0 290px; position: sticky; top: 110px; align-self: flex-start; }
.bp-legal-cols > .wp-block-column:last-child { flex: 1 1 0; min-width: 0; }
.bp-toc { background: #fff; border: 1px solid var(--bp-line); border-radius: 18px; padding: 24px 22px; max-height: calc(100vh - 140px); overflow: auto; }
.bp-toc strong { display: block; font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--bp-coral); margin-bottom: 12px; }
.bp-toc ol { list-style: none; counter-reset: t; margin: 0 !important; padding: 0 !important; }
.bp-toc li { counter-increment: t; margin: 0; }
.bp-toc li a { display: flex; gap: 10px; padding: 7px 8px; border-radius: 8px; font-size: 14.5px; line-height: 1.35; color: var(--bp-ink) !important; text-decoration: none; }
.bp-toc li a::before { content: counter(t, decimal-leading-zero); flex: none; font-family: var(--bp-serif); color: var(--bp-coral); min-width: 24px; }
.bp-toc li a:hover { background: var(--bp-sand); }
.bp-legal-cols { counter-reset: card; }
.bp-legal-card { counter-increment: card; position: relative; background: #fff; border: 1px solid var(--bp-line); border-radius: 18px; padding: 30px 32px 22px 84px; margin: 0 0 16px !important; scroll-margin-top: 110px; box-shadow: 0 10px 34px -28px rgba(13,47,67,.55); }
.bp-legal-card::before { content: counter(card, decimal-leading-zero); position: absolute; left: 26px; top: 26px; font-family: var(--bp-serif); font-size: 34px; line-height: 1; color: var(--bp-coral); }
.bp-legal-card h3.bp-legal-h { font-size: 24px; margin: 0 0 14px; }
.bp-legal-card p { font-size: 16px; color: var(--bp-ink); margin: 0 0 14px; }
.bp-legal-card .bp-legal-list, .entry-content ul.bp-legal-list { list-style: none; margin: 0 0 8px !important; padding: 0 !important; }
.bp-legal-list li { position: relative; padding: 0 0 12px 26px; font-size: 16px; line-height: 1.65; color: var(--bp-ink); }
.bp-legal-list li::before { content: ""; position: absolute; left: 2px; top: 10px; width: 8px; height: 8px; border-radius: 50%; background: var(--bp-coral); }
.bp-legal-card a { color: var(--bp-coral); }
.bp-legal-updated { font-size: 14px !important; color: var(--bp-muted); margin: 24px 4px 0 !important; }
.bp-legal-cols .wp-block-buttons { margin-top: 20px; }
@media (max-width: 1100px) { .bp-glance { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 900px) {
	.bp-legal-cols > .wp-block-column:first-child { flex-basis: 100% !important; position: static; }
	.bp-toc { max-height: none; }
	.bp-toc ol { columns: 2; column-gap: 12px; }
}
@media (max-width: 781px) {
	.bp-glance { grid-template-columns: repeat(2, 1fr); }
	.bp-glance strong { font-size: 20px; }
	.bp-legal-card { padding: 24px 20px 14px 20px; }
	.bp-legal-card::before { position: static; display: block; margin-bottom: 8px; font-size: 28px; }
	.bp-toc ol { columns: 1; }
}
