/*
Theme Name: Home of Dusita
Theme URI: https://www.homeofdusita.com
Author: Home of Dusita
Description: Calm, Thai-inspired block theme for Home of Dusita lodges in Lamphun.
Version: 1.3.8
Requires at least: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: homeofdusita
*/

/* ---------- Shapes ---------- */
.is-style-roof img, img.is-style-roof, .is-style-roof.hod-mask {
  -webkit-mask-image: url(assets/img/mask-roof.svg); mask-image: url(assets/img/mask-roof.svg);
  -webkit-mask-size: 100% 100%; mask-size: 100% 100%;
  width: 100%; height: clamp(360px, 42vw, 580px); object-fit: cover; display: block;
}
.is-style-soft img { border-radius: 32px; width: 100%; object-fit: cover; display: block; }
.is-style-tile { background: #fff; border-radius: 40px 40px 40px 8px; padding: 32px; box-shadow: 0 8px 28px rgba(15,77,58,.07); }
.is-style-tile h3 { margin: 0 0 8px; }
.is-style-tile p { margin: 0; line-height: 1.6; }
.is-style-ochre { background: var(--wp--preset--color--ochre); border-radius: 40px 40px 40px 8px; padding: clamp(32px, 5vw, 64px) !important; }
.hod-chip { display: inline-block; padding: 10px 18px !important; margin: 0 !important; border-radius: 18px 18px 18px 4px; background: #fff; box-shadow: 0 4px 14px rgba(15,77,58,.08); font-size: 1rem; line-height: 1.4; }
.hod-chips { gap: 10px !important; }
.hod-center { justify-content: center; }

/* ---------- Typography helpers ---------- */
.hod-eyebrow { letter-spacing: .2em; text-transform: uppercase; font-size: 13px !important; font-weight: 700; color: var(--wp--preset--color--gold); margin-bottom: 0 !important; }
.hod-lead { font-size: 1.2rem; line-height: 1.7; max-width: 640px; }
.has-text-align-center.hod-lead { margin-left: auto; margin-right: auto; }
.hod-lead-big { font-family: var(--wp--preset--font-family--display); font-size: clamp(1.5rem, 2.4vw, 1.9rem) !important; line-height: 1.5 !important; color: var(--wp--preset--color--green); text-align: center; }
h1 em, h2 em { color: var(--wp--preset--color--gold); }
.hod-crown img { height: 38px; width: auto; opacity: .85; }
.hod-hint { font-size: .9rem; color: var(--wp--preset--color--muted); }
.hod-price { font-family: var(--wp--preset--font-family--display); font-size: 2.1rem; font-weight: 600; color: var(--wp--preset--color--green); }
.hod-price-line { font-size: .9rem; color: var(--wp--preset--color--muted); line-height: 1.3; }
.hod-photo-placeholder { display: flex; align-items: center; justify-content: center; height: 380px; border-radius: 32px; background: #EDE4CF; color: #8A7A55; font-weight: 700; }

/* ---------- Sections ---------- */
.hod-section { padding-top: clamp(56px, 8vw, 110px); padding-bottom: 0; }
.hod-section > * { max-width: 1280px; margin-left: auto !important; margin-right: auto !important; }
.hod-split { gap: clamp(32px, 5vw, 64px) !important; }
.hod-intro { text-align: center; padding-top: 32px; }
.hod-intro h1 { max-width: 900px; margin-left: auto; margin-right: auto; }

/* Hero */
.hod-hero-visual { position: relative; padding: 24px 24px 24px 0; }
.hod-hero-visual::before { content: ""; position: absolute; inset: 0 0 0 40px; background: var(--wp--preset--color--ochre);
  -webkit-mask-image: url(assets/img/mask-roof.svg); mask-image: url(assets/img/mask-roof.svg); -webkit-mask-size: 100% 100%; mask-size: 100% 100%; }
.hod-hero-visual > figure { position: relative; margin: 0; }
.hod-hero-visual .hod-badge-photo { position: absolute; top: -8px; right: -8px; width: 150px; z-index: 2; }
.hod-hero-visual .hod-badge-photo img { width: 150px; height: 150px; object-fit: cover; border-radius: 50%; border: 6px solid var(--wp--preset--color--cream); }
.hod-badge { position: absolute; left: -12px; bottom: 56px; z-index: 2; margin: 0; background: #fff; border-radius: 999px; padding: 14px 22px; box-shadow: 0 10px 30px rgba(15,77,58,.15); font-weight: 700; color: var(--wp--preset--color--green); }

/* Green band with river waves */
.is-style-green-band { position: relative; background: var(--wp--preset--color--green); color: #F3EBDA; margin-top: 180px !important; margin-bottom: 120px !important; padding: 48px 24px 80px; overflow: visible; }
.is-style-green-band::before, .is-style-green-band::after { content: ""; position: absolute; left: 0; right: 0; height: 120px; background: var(--wp--preset--color--green);
  -webkit-mask-size: 100% 100%; mask-size: 100% 100%; }
.is-style-green-band::before { top: -119px; -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 120' preserveAspectRatio='none'%3E%3Cpath d='M0 70 C 240 10, 480 120, 720 70 S 1200 10, 1440 60 L1440 120 L0 120 Z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 120' preserveAspectRatio='none'%3E%3Cpath d='M0 70 C 240 10, 480 120, 720 70 S 1200 10, 1440 60 L1440 120 L0 120 Z'/%3E%3C/svg%3E"); }
.is-style-green-band::after { bottom: -119px; -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 120' preserveAspectRatio='none'%3E%3Cpath d='M0 0 L1440 0 L1440 50 C 1200 110, 960 10, 720 60 S 240 110, 0 50 Z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 120' preserveAspectRatio='none'%3E%3Cpath d='M0 0 L1440 0 L1440 50 C 1200 110, 960 10, 720 60 S 240 110, 0 50 Z'/%3E%3C/svg%3E"); }
.is-style-green-band > .wp-block-group { position: relative; z-index: 1; max-width: 1280px; margin: 0 auto; background: url(assets/img/mark-faint.png) no-repeat right 10px center / auto 88%; }
.is-style-green-band h2, .is-style-green-band h3 { color: #fff; }
.is-style-green-band .hod-eyebrow { color: var(--wp--preset--color--gold-light); }
.is-style-green-band a:not(.wp-element-button) { color: var(--wp--preset--color--gold-light); }
.hod-pair { display: flex; gap: 20px; align-items: flex-end; }
.hod-pair figure { flex: 1; margin: 0; }
.hod-pair figure:last-child img { height: clamp(300px, 34vw, 460px); }
.hod-feature { margin: 0 !important; background: rgba(255,255,255,.08); border-radius: 24px 24px 24px 6px; padding: 16px 20px; }
.hod-on-dark .wp-block-button.is-style-outline .wp-block-button__link { color: #fff; border-color: #fff; }

/* Carousel */
.hod-carousel { flex-wrap: nowrap !important; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; gap: 20px !important; padding-bottom: 8px; }
.hod-carousel::-webkit-scrollbar { display: none; }
.hod-carousel > figure { flex: 0 0 clamp(240px, 28vw, 320px); margin: 0 !important; scroll-snap-align: start; }
.hod-carousel > figure img { height: 380px; }
.hod-carousel-nav { display: flex; gap: 10px; justify-content: flex-end; margin-bottom: 16px; }
.hod-carousel-nav button { width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid var(--wp--preset--color--green); background: #fff; color: var(--wp--preset--color--green); cursor: pointer; font-size: 20px; line-height: 1; }

/* Grids */
.hod-grid-3, .hod-grid-4 { gap: 20px !important; }
@media (max-width: 900px) { .hod-grid-3, .hod-grid-4 { grid-template-columns: 1fr 1fr !important; } }
@media (max-width: 600px) { .hod-grid-3, .hod-grid-4, .hod-features { grid-template-columns: 1fr !important; } }

/* Reviews */
.hod-stars { color: #C9973F; letter-spacing: 4px; margin: 0 0 12px !important; }
.hod-review { border: 0 !important; padding: 0 !important; margin: 0 !important; }
.hod-review p { font-family: var(--wp--preset--font-family--display); font-style: italic; font-size: 1.5rem; line-height: 1.4; color: var(--wp--preset--color--green); }
.hod-review cite { font-style: normal; font-weight: 700; font-size: .95rem; }

/* Contact & form */
.hod-contact { padding-bottom: 96px; }
.hod-form-box { background: #fff; border-radius: 32px; padding: 32px; }
.hod-full .wp-block-button, .hod-full .wp-block-button__link { width: 100%; text-align: center; }
.hod-or { display: flex; align-items: center; gap: 14px; font-size: .9rem; color: var(--wp--preset--color--muted); margin: 20px 0 !important; }
.hod-or::before, .hod-or::after { content: ""; flex: 1; height: 1px; background: #E6E0D2; }
.hod-form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.hod-form label { display: flex; flex-direction: column; gap: 6px; font-weight: 600; font-size: .9rem; }
.hod-form input, .hod-form textarea { padding: 14px 18px; border-radius: 999px; border: 1px solid #CFC6B2; font: inherit; background: #fff; }
.hod-form textarea { border-radius: 24px; min-height: 110px; }
.hod-form .hod-wide { grid-column: 1 / -1; }
.hod-form button { grid-column: 1 / -1; padding: 16px; border: 1.5px solid var(--wp--preset--color--green); border-radius: 999px; background: #fff; color: var(--wp--preset--color--green); font: inherit; font-weight: 700; cursor: pointer; }
.hod-form .hod-hp { position: absolute; left: -9999px; }
.hod-notice { grid-column: 1 / -1; background: #EAF1EC; border-radius: 18px 18px 18px 4px; padding: 12px 18px; margin: 0 0 16px; }

/* FAQ */
.hod-faq { gap: 16px !important; max-width: 880px; margin: 0 auto; padding-bottom: 96px; }
.hod-faq details { padding: 24px 32px; }
.hod-faq summary { cursor: pointer; font-family: var(--wp--preset--font-family--display); font-weight: 600; font-size: 1.6rem; color: var(--wp--preset--color--green); }

/* Header */
.hod-header { padding: 20px 24px; }
.hod-header .wp-block-navigation { background: #fff; border-radius: 999px; padding: 6px 10px; box-shadow: 0 6px 24px rgba(15,77,58,.08); }
.hod-header .wp-block-navigation-item__content { padding: 8px 14px; border-radius: 999px; }
.hod-header .current-menu-item > .wp-block-navigation-item__content { background: #EAF1EC; font-weight: 600; }
.hod-logo-mark img { width: 56px; height: 56px; border-radius: 50%; background: var(--wp--preset--color--green); padding: 9px 12px; object-fit: contain; box-sizing: border-box; }
.hod-brand { font-family: var(--wp--preset--font-family--display); font-size: 1.6rem; font-weight: 600; margin: 0 !important; }
.hod-brand a { text-decoration: none; }
.hod-book .wp-block-button__link { background: #C9973F; }

/* Footer */
.hod-footer { position: relative; background: var(--wp--preset--color--green); color: #D9E5DE; margin-top: 160px; padding: 48px 24px; }
.hod-footer::before { content: ""; position: absolute; left: 0; right: 0; top: -159px; height: 160px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 160' preserveAspectRatio='none'%3E%3Cpath d='M0 60 C 300 0, 560 90, 860 40 S 1300 20, 1440 50 L1440 160 L0 160 Z' fill='%23B9CF8A'/%3E%3Cpath d='M0 95 C 260 50, 600 130, 900 80 S 1280 60, 1440 90 L1440 160 L0 160 Z' fill='%236E9A5B'/%3E%3Cpath d='M0 130 C 320 90, 640 160, 960 115 S 1300 100, 1440 120 L1440 160 L0 160 Z' fill='%230F4D3A'/%3E%3C/svg%3E") no-repeat center / 100% 100%; }
.hod-footer a { color: #D9E5DE; }
.hod-footer .hod-footer-logo img { height: 96px; width: auto; }

/* Post cards (Discoveries) */
.hod-card img { border-radius: 32px; height: 260px; width: 100%; object-fit: cover; }
.hod-card .wp-block-post-terms a { letter-spacing: .16em; text-transform: uppercase; font-size: 12px; font-weight: 700; color: var(--wp--preset--color--gold); text-decoration: none; }
.hod-card h3 a { text-decoration: none; }

@media (max-width: 781px) {
  .hod-badge { left: 8px; }
  .is-style-green-band::before, .is-style-green-band::after { height: 60px; }
  .is-style-green-band::before { top: -59px; } .is-style-green-band::after { bottom: -59px; }
  .hod-form { grid-template-columns: 1fr; }
}

/* Layout fixes */
.hod-section > *, .is-style-green-band > .wp-block-group > * { max-width: 1280px !important; }
.hod-intro > * { max-width: 900px !important; }
.hod-faq { max-width: 880px !important; }
.hod-logo-mark { display: inline-flex; width: 56px; height: 56px; border-radius: 50%; background: var(--wp--preset--color--green); align-items: center; justify-content: center; }
.hod-logo-mark img { width: 32px !important; height: auto !important; padding: 0 !important; background: none !important; border-radius: 0 !important; }
.hod-faq > * { width: 100%; box-sizing: border-box; }
html { scroll-behavior: smooth; }
[id] { scroll-margin-top: 24px; }
.hod-langs { display: flex; gap: 2px; font-size: .85rem; font-weight: 700; }
.hod-langs a { padding: 6px 8px; text-decoration: none; color: var(--wp--preset--color--muted); }
.hod-langs a[aria-current="true"] { color: var(--wp--preset--color--green); border-bottom: 2px solid #C9973F; }

/* 1.0.3 article chips + related */
.hod-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.hod-related { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.hod-related .hod-card h3 { margin: 6px 0 0; font-size: 1.6rem; }
.hod-related .hod-card .wp-block-post-terms { margin-top: 16px; }
@media (max-width: 900px) { .hod-related { grid-template-columns: 1fr; } }
.wp-block-image figcaption { text-align: center; font-size: .95rem; opacity: .75; }
.hod-card .wp-block-post-featured-image, .hod-card > a { width: 100%; align-self: stretch; }
.hod-card .wp-block-post-featured-image img, .hod-related .hod-card img { width: 100% !important; height: 260px !important; object-fit: cover; }
.hod-compare table { border-collapse: separate; border-spacing: 0; width: 100%; background: #fff; border-radius: 24px; overflow: hidden; font-size: .98rem; }
.hod-compare th, .hod-compare td { padding: 14px 18px; border: 0; border-bottom: 1px solid rgba(15,77,58,.1); text-align: left; vertical-align: top; }
.hod-compare thead th { background: var(--wp--preset--color--green, #0F4D3A); color: #fff; font-weight: 600; }
.hod-compare tbody td:first-child { font-weight: 600; color: var(--wp--preset--color--green, #0F4D3A); }
.hod-compare tbody tr:last-child td { border-bottom: 0; }

/* 1.1.0 gallery page */
.hod-gal-filter { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 0 auto 36px; }
.hod-gal-btn { font: inherit; font-size: .98rem; padding: 10px 20px; border-radius: 999px; border: 1px solid rgba(15,77,58,.25); background: #fff; color: var(--wp--preset--color--green, #0F4D3A); cursor: pointer; transition: all .2s; }
.hod-gal-btn:hover { border-color: var(--wp--preset--color--green, #0F4D3A); }
.hod-gal-btn.is-active { background: var(--wp--preset--color--green, #0F4D3A); color: #fff; border-color: transparent; }
.hod-gal { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 230px; grid-auto-flow: dense; gap: 18px; max-width: 1280px; margin: 0 auto; }
.hod-gal-item.is-big { grid-column: span 2; grid-row: span 2; }
.hod-gal-item.is-wide { grid-column: span 2; }
.hod-gal-item.is-tall { grid-row: span 2; }
@media (max-width: 900px) { .hod-gal { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 170px; gap: 12px; } }
.hod-gal-item { margin: 0 !important; position: relative; border-radius: 22px; overflow: hidden; background: #fff; box-shadow: 0 6px 22px rgba(15,77,58,.08); }
.hod-gal-item.is-hidden { display: none; }
.hod-gal-open { display: block; width: 100%; height: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.hod-gal-open img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.hod-gal-item:hover .hod-gal-open img { transform: scale(1.04); }
.hod-gal-item > figcaption { position: absolute; left: 14px; bottom: 14px; right: 14px; padding: 8px 14px; border-radius: 14px; background: rgba(251,246,236,.92); color: var(--wp--preset--color--green, #0F4D3A); font-size: .92rem; opacity: 0; transform: translateY(6px); transition: all .3s; pointer-events: none; }
.hod-gal-item:hover > figcaption, .hod-gal-open:focus-visible + figcaption { opacity: 1; transform: none; }
@media (hover: none) { .hod-gal-item > figcaption { opacity: 1; transform: none; } }
.hod-gal-card { padding: 30px; box-shadow: none; display: flex; flex-direction: column; justify-content: center; }
.hod-gal-quote { background: var(--wp--preset--color--green, #0F4D3A); color: #fff; }
.hod-gal-quote blockquote { margin: 0 0 14px; font-family: var(--wp--preset--font-family--display); font-size: 1.9rem; line-height: 1.25; }
.hod-gal-quote blockquote::before { content: "\201C"; display: block; font-size: 3.4rem; line-height: .6; color: var(--wp--preset--color--gold-light, #D9B56A); }
.hod-gal-item.hod-gal-quote > figcaption { position: static; opacity: .8; transform: none; background: none; padding: 0; color: #fff; font-size: .9rem; }
.hod-gal-note { background: var(--wp--preset--color--ochre, #E7D7AE); }
.hod-gal-note p { margin: 0; font-size: 1.15rem; }
.hod-gal-note .hod-eyebrow { margin-bottom: 8px; font-size: .78rem; }
.hod-lb { position: fixed; inset: 0; z-index: 9999; display: none; align-items: center; justify-content: center; background: rgba(10,40,30,.94); padding: 24px 70px; }
.hod-lb.is-open { display: flex; }
.hod-lb figure { margin: 0; max-width: 100%; max-height: 100%; display: flex; flex-direction: column; align-items: center; }
.hod-lb img { max-width: 100%; max-height: calc(100vh - 110px); border-radius: 18px; object-fit: contain; }
.hod-lb figcaption { display: flex; gap: 18px; justify-content: space-between; width: 100%; color: #FBF6EC; padding-top: 14px; font-size: 1rem; }
.hod-lb-count { opacity: .6; }
.hod-lb button { position: absolute; background: rgba(251,246,236,.12); color: #FBF6EC; border: 0; width: 52px; height: 52px; border-radius: 50%; font-size: 2rem; line-height: 1; cursor: pointer; }
.hod-lb button:hover { background: rgba(251,246,236,.25); }
.hod-lb-close { top: 18px; right: 18px; }
.hod-lb-prev { left: 12px; top: 50%; transform: translateY(-50%); }
.hod-lb-next { right: 12px; top: 50%; transform: translateY(-50%); }
@media (max-width: 700px) { .hod-lb { padding: 60px 10px; } .hod-lb-prev, .hod-lb-next { top: auto; bottom: 14px; transform: none; } }

/* Ochre roof backdrop for roof images (not in hero, not in green band) */
figure.is-style-roof { --roof-h: clamp(360px, 42vw, 580px); }
.hod-pair figure.is-style-roof:last-child { --roof-h: clamp(300px, 34vw, 460px); }
figure.is-style-roof:not(.hod-hero-visual *):not(.is-style-green-band *) { position: relative; padding: 24px 24px 24px 0; }
figure.is-style-roof:not(.hod-hero-visual *):not(.is-style-green-band *)::before { content: ""; position: absolute; top: 0; left: 40px; right: 0; height: calc(var(--roof-h) + 48px); background: var(--wp--preset--color--ochre);
  -webkit-mask-image: url(assets/img/mask-roof.svg); mask-image: url(assets/img/mask-roof.svg); -webkit-mask-size: 100% 100%; mask-size: 100% 100%; }
figure.is-style-roof:not(.hod-hero-visual *):not(.is-style-green-band *) img { position: relative; }
.hod-pair figure.is-style-roof:not(.hod-hero-visual *)::before { left: 24px; }
figure.is-style-roof:not(.hod-hero-visual *):not(.is-style-green-band *) figcaption { margin-top: 36px; position: relative; }

/* Nav pill: no square inner background */
.hod-header .wp-block-navigation__responsive-container:not(.is-menu-open) { background: transparent !important; }

/* Mobile header: logo left, booking + burger right in one row */
@media (max-width: 600px) {
  .hod-header { flex-wrap: nowrap !important; padding: 14px 16px; gap: 10px !important; }
  .hod-header > .wp-block-group:first-child { flex: 1 1 auto; min-width: 0; gap: 10px; }
  .hod-logo-mark img { width: 44px; height: 44px; padding: 7px 9px; }
  .hod-brand { font-size: 1.25rem; white-space: nowrap; }
  .hod-header .wp-block-navigation { order: 3; background: transparent; box-shadow: none; padding: 0; }
  .hod-header .wp-block-navigation__responsive-container-open { width: 44px; height: 44px; border-radius: 50%; background: #fff; box-shadow: 0 4px 14px rgba(15,77,58,.1); display: flex; align-items: center; justify-content: center; }
  .hod-book .wp-block-button__link { padding: 10px 14px; font-size: .85rem; white-space: nowrap; }
}
@media (max-width: 440px) { .hod-brand { display: none; } }
.hod-logo-mark, .hod-logo-mark img { flex-shrink: 0; }

/* Gallery on phones: no captions on the tiles, they appear in the lightbox when tapped */
@media (max-width: 900px) {
  .hod-gal-item:not(.hod-gal-card) > figcaption { display: none; }
  .hod-gal-card { padding: 18px; }
  .hod-gal-quote blockquote { font-size: 1.25rem; }
  .hod-gal-quote blockquote::before { font-size: 2.4rem; }
  .hod-gal-note p { font-size: .95rem; }
}

/* Booking.com award */
.hod-award { margin: 40px auto 0 !important; text-align: center; }
.hod-award img { width: 100%; max-width: 340px; height: auto; border-radius: 22px; box-shadow: 0 10px 30px rgba(15,77,58,.15); }
.hod-award figcaption { font-size: .9rem; color: var(--wp--preset--color--muted); margin-top: 12px; }
.hod-award-line { display: inline-flex; align-items: center; gap: 10px; margin-top: 22px !important; padding: 8px 16px 8px 8px; border-radius: 999px; background: #fff; box-shadow: 0 4px 14px rgba(15,77,58,.08); font-size: .95rem; color: var(--wp--preset--color--green); }
.hod-award-line strong { background: #003B95; color: #fff; border-radius: 10px 10px 10px 2px; padding: 4px 9px; font-size: .95rem; }

/* Gallery cards on phones: full width, height follows the text */
@media (max-width: 900px) {
  .hod-gal { grid-auto-rows: minmax(170px, auto); }
  .hod-gal-item.hod-gal-card { grid-column: span 2; grid-row: span 1; }
  .hod-gal-note p { font-size: 1.05rem; line-height: 1.5; }
}
.hod-carousel figure a { display: block; width: 100%; height: 100%; }
.hod-carousel figure a img { width: 100% !important; }

/* Award line (hero) and award card (reviews) */
.hod-award-line { align-items: center; border-radius: 18px; padding: 8px 18px 8px 8px; line-height: 1.25; text-align: left; }
.hod-award-line strong { flex-shrink: 0; white-space: nowrap; background: var(--wp--preset--color--green); border-radius: 12px 12px 12px 3px; padding: 8px 10px; font-size: 1rem; }
.hod-award-line span small { display: block; font-size: .8rem; color: var(--wp--preset--color--muted); }
.hod-award-card { display: flex; align-items: center; gap: 22px; max-width: 560px; margin: 44px auto 0; padding: 22px 28px 22px 22px; background: #fff; border-radius: 32px 32px 32px 8px; box-shadow: 0 8px 28px rgba(15,77,58,.07); }
.hod-award-score { flex-shrink: 0; width: 96px; height: 96px; display: flex; flex-direction: column; align-items: center; justify-content: center; background: var(--wp--preset--color--green); color: #fff; border-radius: 24px 24px 24px 6px; font-family: var(--wp--preset--font-family--display); font-size: 2.6rem; font-weight: 600; line-height: 1; }
.hod-award-score small { font-family: var(--wp--preset--font-family--body, inherit); font-size: .72rem; font-weight: 400; opacity: .8; margin-top: 4px; }
.hod-award-card .hod-eyebrow { margin: 0 0 6px !important; }
.hod-award-card p { margin: 0; line-height: 1.55; }
@media (max-width: 600px) { .hod-award-card { gap: 16px; padding: 18px; } .hod-award-score { width: 78px; height: 78px; font-size: 2.1rem; } }
.hod-section > .hod-award-card, .hod-award-card { max-width: 560px !important; }
.hod-gal-award { background: #fff; align-items: center; text-align: center; gap: 10px; }
.hod-gal-award p { margin: 0; }
.hod-gal-award p:last-child { font-size: .9rem; color: var(--wp--preset--color--muted); }
@media (max-width: 900px) { .hod-gal-award { flex-direction: row; text-align: left; } .hod-gal-award .hod-award-score { width: 70px; height: 70px; font-size: 1.9rem; } }

/* Booking/contact area as ochre river band with waves top and bottom */
.hod-contact { position: relative; background: var(--wp--preset--color--ochre); margin-top: 200px !important; margin-bottom: 120px !important; padding-top: 40px !important; padding-bottom: 80px !important; }
.hod-contact::before, .hod-contact::after { content: ""; position: absolute; left: 0; right: 0; height: 120px; background: var(--wp--preset--color--ochre); -webkit-mask-size: 100% 100%; mask-size: 100% 100%; }
.hod-contact::before { top: -119px; -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 120' preserveAspectRatio='none'%3E%3Cpath d='M0 70 C 240 10, 480 120, 720 70 S 1200 10, 1440 60 L1440 120 L0 120 Z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 120' preserveAspectRatio='none'%3E%3Cpath d='M0 70 C 240 10, 480 120, 720 70 S 1200 10, 1440 60 L1440 120 L0 120 Z'/%3E%3C/svg%3E"); }
.hod-contact::after { bottom: -119px; -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 120' preserveAspectRatio='none'%3E%3Cpath d='M0 0 L1440 0 L1440 50 C 1200 110, 960 20, 720 60 S 240 110, 0 40 Z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 120' preserveAspectRatio='none'%3E%3Cpath d='M0 0 L1440 0 L1440 50 C 1200 110, 960 20, 720 60 S 240 110, 0 40 Z'/%3E%3C/svg%3E"); }
.hod-contact .is-style-ochre { background: transparent !important; border-radius: 0 !important; }
@media (max-width: 600px) { .hod-contact { margin-top: 110px !important; margin-bottom: 70px !important; } .hod-contact::before, .hod-contact::after { height: 60px; } .hod-contact::before { top: -59px; } .hod-contact::after { bottom: -59px; } }
.hod-section > .hod-contact { max-width: none !important; margin-left: 0 !important; margin-right: 0 !important; }

/* Legal pages: body text left aligned */
.hod-legal > p:not(.hod-eyebrow), .hod-legal > h2, .hod-legal > h3, .hod-legal > ul { text-align: left !important; max-width: 760px !important; margin-left: auto !important; margin-right: auto !important; width: 100%; }
.hod-legal > h3 { margin-top: 36px; }

/* Longer text inside a tile (privacy policy) */
.hod-text-tile p + p { margin-top: 14px !important; }
.hod-text-tile p + h3 { margin-top: 32px !important; }
.hod-text-tile { padding: clamp(28px, 4vw, 48px) !important; }
