/*
Theme Name: Lantern & Palm
Template: kadence
Description: Child theme of Kadence for Lantern & Palm. Page sections are standard blocks; homes, rates and dates are edited in the dashboard.
Version: 1.0
*/

@font-face { font-family: "Gloock"; src: url("fonts/gloock-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("fonts/figtree-latin-wght-normal.woff2") format("woff2"); font-weight: 300 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("fonts/figtree-latin-wght-italic.woff2") format("woff2"); font-weight: 300 900; font-style: italic; font-display: swap; }

:root {
    --lp-night: #102029;
    --lp-dusk: #18303b;
    --lp-pool: #2f8f8a;
    --lp-pool-soft: #d7ebe6;
    --lp-lantern: #f0a54a;
    --lp-lantern-deep: #c97a22;
    --lp-palm: #2c4a3b;
    --lp-linen: #f5f0e7;
    --lp-sand: #e9e0cf;
    --lp-ink: #13232b;
    --lp-white: #fbf8f2;
    --lp-gutter: clamp(16px, 5vw, 72px);
    --lp-step: clamp(80px, 11vw, 168px);
    --lp-serif: "Gloock", Georgia, serif;
    --lp-sans: "Figtree", "Helvetica Neue", Arial, sans-serif;
}

html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { font-family: var(--lp-sans); color: var(--lp-ink); background: var(--lp-linen); font-size: 17px; line-height: 1.65; overflow-x: clip; }
.site, #wrapper { background: var(--lp-linen); }
h1, h2, h3, h4, .site-title { font-family: var(--lp-serif); font-weight: 400; letter-spacing: -0.01em; color: inherit; }
h2, .entry-content h2 { font-size: clamp(2.4rem, 5.4vw, 4.8rem); line-height: 1; margin: 0 0 0.45em; }
.entry-content h1, .entry-content h3 { margin-top: 0; }
h3 { font-size: clamp(1.5rem, 2.4vw, 2.1rem); line-height: 1.1; margin: 0 0 0.4em; }
p { margin: 0 0 1em; }
a { color: var(--lp-pool); }
em { font-style: italic; }

/* header */
.site-header .site-title { font-family: var(--lp-serif); font-size: 1.7rem; }
.site-header .site-title a { color: inherit; }
.main-navigation .primary-menu-container > ul > li.menu-item > a { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; }
.site-header .header-menu-container ul.menu > li > a:hover { color: var(--lp-lantern); }
.lp-front #masthead { position: absolute; top: 0; left: 0; right: 0; z-index: 50; background: transparent; color: var(--lp-white); }
.lp-front #masthead .site-branding, .lp-front #masthead .site-branding *, .lp-front #masthead .main-navigation a, .lp-front #masthead .menu-toggle-open { color: var(--lp-white); }
.lp-front .site-header-wrap { background: linear-gradient(to bottom, rgba(8, 16, 22, 0.6), rgba(8, 16, 22, 0)); }
body:not(.lp-front) #masthead { background: var(--lp-night); }
body:not(.lp-front) #masthead .site-branding, body:not(.lp-front) #masthead .site-branding *, body:not(.lp-front) #masthead .main-navigation a, body:not(.lp-front) #masthead .menu-toggle-open { color: var(--lp-white); }
.entry-content > .alignfull { margin-left: 0 !important; margin-right: 0 !important; width: auto; max-width: none; }
.entry-content > .wp-block-cover, .entry-content > .wp-block-group { margin-top: 0 !important; margin-bottom: 0 !important; }

/* hero */
.lp-hero.wp-block-cover { min-height: 100svh !important; padding: 150px var(--lp-gutter) clamp(40px, 8vh, 96px) !important; align-items: flex-end; overflow: hidden; }
.lp-hero .wp-block-cover__image-background { height: 118% !important; top: -9% !important; will-change: transform; animation: lp-breathe 22s ease-in-out infinite alternate; }
@keyframes lp-breathe { from { scale: 1.02; } to { scale: 1.1; } }
.lp-hero .wp-block-cover__background { background: linear-gradient(180deg, rgba(10, 20, 28, 0.45) 0%, rgba(10, 20, 28, 0.05) 38%, rgba(10, 20, 28, 0.82) 100%) !important; opacity: 1 !important; }
.lp-hero .wp-block-cover__inner-container { max-width: 1320px; width: 100%; margin: 0 auto; color: var(--lp-white); position: relative; z-index: 5 !important; }
.lp-hero h1 { font-size: clamp(3.4rem, 9.4vw, 9.2rem); line-height: 0.92; letter-spacing: -0.02em; margin: 0 0 0.25em; max-width: 12ch; color: var(--lp-white); }
.lp-hero h1 em { color: var(--lp-lantern); font-style: italic; }
.lp-hero p.lp-lede { font-size: clamp(1.05rem, 1.5vw, 1.3rem); color: rgba(251, 248, 242, 0.86); max-width: 34rem; margin-bottom: 2em; }
.lp-hero .lp-in > * { opacity: 0; transform: translateY(26px); animation: lp-up 1.1s cubic-bezier(.2, .8, .2, 1) forwards; }
.lp-hero .lp-in > *:nth-child(2) { animation-delay: 0.15s; }
.lp-hero .lp-in > *:nth-child(3) { animation-delay: 0.3s; }
.lp-hero .lp-in > *:nth-child(4) { animation-delay: 0.5s; }
@keyframes lp-up { to { opacity: 1; transform: none; } }

/* drifting lantern light in the hero */
.lp-glow { position: absolute; inset: 0; z-index: 1; pointer-events: none; overflow: hidden; }
.lp-glow i { position: absolute; bottom: -10px; width: 6px; height: 6px; border-radius: 50%; background: radial-gradient(circle, #ffd79a 0%, rgba(240, 165, 74, 0.6) 45%, rgba(240, 165, 74, 0) 70%); filter: blur(0.4px); opacity: 0; animation: lp-float linear infinite; }
@keyframes lp-float { 0% { transform: translate(0, 0); opacity: 0; } 12% { opacity: 0.9; } 80% { opacity: 0.6; } 100% { transform: translate(var(--dx, 30px), -70vh); opacity: 0; } }

.lp-eyebrow, .lp-kicker { font-size: 0.74rem; font-weight: 650; letter-spacing: 0.18em; text-transform: uppercase; color: var(--lp-pool); margin-bottom: 1.2em; }
.lp-hero .lp-eyebrow { color: var(--lp-lantern); text-shadow: 0 1px 12px rgba(0, 0, 0, 0.6); }
.lp-sample { display: inline-block; font-family: var(--lp-sans); font-size: 0.62rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; padding: 0.15em 0.55em; border: 1px solid currentColor; border-radius: 99px; color: var(--lp-lantern-deep); vertical-align: middle; margin-left: 0.4em; font-style: normal; line-height: 1.5; }
.lp-dark .lp-sample, .lp-hero .lp-sample { color: var(--lp-lantern); }

/* search bar */
.lp-search { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.8fr) auto; align-items: stretch; background: rgba(251, 248, 242, 0.96); color: var(--lp-ink); border-radius: 999px; padding: 8px; max-width: 760px; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.5); position: relative; }
.lp-search__field { display: flex; flex-direction: column; justify-content: center; padding: 6px 26px; border-right: 1px solid rgba(19, 35, 43, 0.12); position: relative; margin: 0; }
.lp-search__label { font-size: 0.68rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--lp-pool); }
.lp-search__pick, .lp-search select { appearance: none; background: none; border: 0; padding: 2px 0; font: inherit; font-size: 1.02rem; color: var(--lp-ink); text-align: left; cursor: pointer; box-shadow: none; }
.lp-search select { padding-right: 20px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%2313232b'/%3E%3C/svg%3E") no-repeat right center; }
.lp-search__pick:hover { color: var(--lp-pool); background: none; }
.lp-search__go { border: 0; border-radius: 999px; background: var(--lp-lantern); color: var(--lp-night); font: inherit; font-weight: 700; font-size: 0.9rem; letter-spacing: 0.04em; padding: 0 30px; cursor: pointer; transition: background 0.25s, transform 0.25s; }
.lp-search__go:hover { background: var(--lp-ink); color: var(--lp-white); transform: translateY(-1px); }
.lp-pop { position: absolute; left: 0; bottom: calc(100% + 18px); background: var(--lp-white); color: var(--lp-ink); border-radius: 22px; padding: 22px 24px 14px; box-shadow: 0 30px 70px -20px rgba(0, 0, 0, 0.55); width: min(640px, 86vw); z-index: 20; }
.lp-pop__note { font-size: 0.85rem; color: rgba(19, 35, 43, 0.65); margin: 10px 0 0; }

/* calendar */
.lp-cal { position: relative; }
.lp-cal__nav { position: absolute; right: 0; top: -4px; display: flex; gap: 6px; }
.lp-cal__nav button { width: 34px; height: 34px; border-radius: 50%; border: 1px solid rgba(19, 35, 43, 0.18); background: transparent; color: var(--lp-ink); cursor: pointer; padding: 0; font-size: 1rem; line-height: 1; }
.lp-cal__nav button:hover { background: var(--lp-ink); color: var(--lp-white); }
.lp-cal__months { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 28px; }
.lp-cal__title { font-family: var(--lp-serif); font-size: 1.2rem; margin: 0 0 12px; }
.lp-cal__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; text-align: center; }
.lp-cal__grid > span:not(.lp-day) { font-size: 0.7rem; font-weight: 700; color: rgba(19, 35, 43, 0.45); padding-bottom: 6px; }
.lp-day { aspect-ratio: 1; display: flex; align-items: center; justify-content: center; border-radius: 50%; font-size: 0.88rem; border: 0; background: transparent; color: var(--lp-ink); padding: 0; position: relative; font-family: var(--lp-sans); }
button.lp-day { cursor: pointer; }
button.lp-day:hover:not(:disabled) { background: var(--lp-pool-soft); }
.lp-day.is-past { color: rgba(19, 35, 43, 0.25); }
.lp-day.is-taken { color: rgba(19, 35, 43, 0.3); text-decoration: line-through; text-decoration-color: rgba(201, 122, 34, 0.7); }
.lp-cal--view .lp-day:not(.is-past):not(.is-taken)::after { content: ""; position: absolute; bottom: 14%; width: 4px; height: 4px; border-radius: 50%; background: var(--lp-pool); }
.lp-day.is-today { box-shadow: inset 0 0 0 1px rgba(19, 35, 43, 0.35); }
.lp-day.is-in, .lp-day.is-out { background: var(--lp-ink) !important; color: var(--lp-white); }
.lp-day.is-between { background: var(--lp-pool-soft); border-radius: 0; }
.lp-legend { font-size: 0.82rem; color: rgba(19, 35, 43, 0.6); display: flex; gap: 16px; align-items: center; margin-top: 14px; }
.lp-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: -10px; }
.lp-dot--free { background: var(--lp-pool); }
.lp-dot--taken { background: rgba(201, 122, 34, 0.6); }

/* sections */
.entry-content > .lp-section { padding: var(--lp-step) var(--lp-gutter) !important; }
.lp-section > *, .lp-section > .wp-block-group__inner-container > * { max-width: 1320px; margin-left: auto !important; margin-right: auto !important; }
.lp-dark { background: var(--lp-night); color: var(--lp-white); }
.lp-dark .lp-eyebrow { color: var(--lp-lantern); }
.lp-sand { background: var(--lp-sand); }
.lp-light { background: var(--lp-linen); }
.lp-intro p.lp-statement { font-family: var(--lp-serif); font-size: clamp(1.9rem, 4.2vw, 3.7rem); line-height: 1.08; text-wrap: balance; padding-right: 18%; }
.lp-intro p.lp-statement em { color: var(--lp-pool); }

/* home cards */
.lp-homes { display: grid; gap: clamp(64px, 9vw, 140px); margin-top: clamp(40px, 6vw, 80px); }
.lp-home-card { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.lp-home-card:nth-child(even) .lp-home-card__media { order: 2; }
.lp-home-card__media { position: relative; display: block; aspect-ratio: 5 / 4; overflow: hidden; border-radius: 4px 140px 4px 4px; }
.lp-home-card:nth-child(even) .lp-home-card__media { border-radius: 140px 4px 4px 4px; }
.lp-home-card__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity 0.9s ease, transform 1.6s cubic-bezier(.2, .8, .2, 1); }
.lp-home-card__b { opacity: 0; transform: scale(1.06); }
.lp-home-card:hover .lp-home-card__b { opacity: 1; transform: scale(1); }
.lp-home-card:hover .lp-home-card__a { transform: scale(1.04); }
.lp-home-card h3 { font-size: clamp(2.2rem, 4.4vw, 3.8rem); line-height: 1; margin: 0 0 0.35em; }
.lp-home-card h3 a { color: inherit; text-decoration: none; }
.lp-home-card p { color: rgba(19, 35, 43, 0.72); }
.lp-from { font-size: 1.05rem; }
.lp-from strong { font-family: var(--lp-serif); font-weight: 400; font-size: 1.6rem; color: var(--lp-ink); }
.lp-link { display: inline-flex; gap: 10px; align-items: center; font-weight: 650; color: var(--lp-ink); text-decoration: none; border-bottom: 1px solid var(--lp-lantern); padding-bottom: 4px; }
.lp-link::after { content: "→"; transition: transform 0.3s; }
.lp-link:hover::after { transform: translateX(6px); }

/* band */
.lp-band.wp-block-cover { min-height: 86vh !important; padding: var(--lp-step) var(--lp-gutter) !important; overflow: hidden; }
.lp-band .wp-block-cover__image-background { height: 130% !important; top: -15% !important; will-change: transform; }
.lp-band .wp-block-cover__background { background: linear-gradient(90deg, rgba(10, 20, 28, 0.7), rgba(10, 20, 28, 0.1)) !important; opacity: 1 !important; }
.lp-band .wp-block-cover__inner-container { max-width: 1320px; width: 100%; margin: 0 auto; color: var(--lp-white); }
.lp-band p.lp-quote { font-family: var(--lp-serif); font-size: clamp(2.4rem, 6.6vw, 6.4rem); line-height: 0.98; max-width: 11ch; margin: 0; }
.lp-band p.lp-quote em { color: var(--lp-lantern); }

/* why direct, under palm shadows */
.lp-direct { position: relative; overflow: hidden; }
.lp-shade { position: absolute; inset: -10% -5%; pointer-events: none; z-index: 0; opacity: 0.12; filter: blur(1.5px); background: url("palm-shadow.svg") no-repeat right -40px top -60px / min(900px, 90vw) auto, url("palm-shadow.svg") no-repeat left -160px bottom -120px / min(700px, 70vw) auto; animation: lp-sway 9s ease-in-out infinite alternate; transform-origin: 70% 0; }
@keyframes lp-sway { from { transform: rotate(-1.4deg) translateX(-8px); } to { transform: rotate(1.6deg) translateX(10px); } }
.lp-direct > * { position: relative; z-index: 1; }
.lp-direct .lp-cols { gap: clamp(28px, 4vw, 64px); margin-top: clamp(32px, 5vw, 64px) !important; }
.lp-direct .wp-block-column { border-top: 1px solid rgba(19, 35, 43, 0.2); padding-top: 26px; }
.lp-direct .wp-block-column p { color: rgba(19, 35, 43, 0.72); }
.lp-num { font-family: var(--lp-serif); font-size: 3.2rem; line-height: 1; color: var(--lp-lantern-deep); margin-bottom: 0.3em !important; }

/* area */
.lp-area .lp-cols { gap: clamp(40px, 7vw, 110px); align-items: center; }
.lp-frame { overflow: hidden; margin: 0; border-radius: 4px; }
.lp-frame img { display: block; width: 100%; height: 100%; object-fit: cover; transform: scale(1.14); will-change: transform; }
.lp-tall img { aspect-ratio: 4 / 5; }
.lp-arch { border-radius: 999px 999px 4px 4px; }
.lp-area ul { list-style: none; padding: 0; margin: 1.4em 0; }
.lp-area li { padding: 14px 0 14px 28px; border-bottom: 1px solid rgba(251, 248, 242, 0.14); position: relative; }
.lp-area li::before { content: ""; position: absolute; left: 4px; top: 50%; width: 8px; height: 8px; margin-top: -4px; border-radius: 50%; background: var(--lp-lantern); box-shadow: 0 0 10px 2px rgba(240, 165, 74, 0.6); }
.lp-dark p { color: rgba(251, 248, 242, 0.78); }

/* buttons */
.wp-block-button__link, .lp-button { font-family: var(--lp-sans); font-weight: 700; font-size: 0.92rem; letter-spacing: 0.02em; border-radius: 999px; padding: 1em 1.9em; background: var(--lp-lantern); color: var(--lp-night); border: 1px solid var(--lp-lantern); text-decoration: none; display: inline-block; cursor: pointer; transition: background 0.25s, color 0.25s, transform 0.25s; }
.wp-block-button__link:hover, .lp-button:hover { background: var(--lp-ink); border-color: var(--lp-ink); color: var(--lp-white); transform: translateY(-2px); }
.lp-dark .wp-block-button__link:hover { background: var(--lp-white); color: var(--lp-night); border-color: var(--lp-white); }
.wp-block-button.is-style-outline > .wp-block-button__link { background: transparent !important; color: inherit !important; border: 1px solid currentColor !important; }
.lp-button:disabled { opacity: 0.45; cursor: not-allowed; transform: none; }
.lp-button--full { width: 100%; text-align: center; }

/* single home */
.lp-gallery { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: repeat(2, minmax(0, 1fr)); gap: 8px; height: min(76vh, 680px); padding: 8px var(--lp-gutter) 0; position: relative; max-width: 1600px; margin: 0 auto; }
.lp-gallery__item { border: 0; padding: 0; overflow: hidden; cursor: zoom-in; background: var(--lp-sand); border-radius: 3px; }
.lp-gallery__item--0 { grid-row: span 2; border-radius: 3px 3px 3px 3px; }
.lp-gallery__item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 1.2s cubic-bezier(.2, .8, .2, 1); }
.lp-gallery__item:hover img { transform: scale(1.05); }
.lp-gallery__count { position: absolute; right: calc(var(--lp-gutter) + 18px); bottom: 18px; background: var(--lp-white); color: var(--lp-ink); font-weight: 650; font-size: 0.85rem; padding: 10px 18px; border-radius: 999px; pointer-events: none; box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.4); }
.lp-home__wrap { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: clamp(40px, 6vw, 96px); max-width: 1320px; margin: 0 auto; padding: clamp(40px, 6vw, 80px) var(--lp-gutter) var(--lp-step); }
.lp-home__title { font-size: clamp(2.8rem, 6vw, 5.4rem); line-height: 0.98; margin: 0 0 0.25em; }
.lp-home__tagline { font-size: 1.2rem; color: rgba(19, 35, 43, 0.72); }
.lp-facts { list-style: none; padding: 22px 0; margin: 28px 0 36px; display: flex; flex-wrap: wrap; gap: 10px 34px; border-top: 1px solid rgba(19, 35, 43, 0.14); border-bottom: 1px solid rgba(19, 35, 43, 0.14); align-items: center; }
.lp-facts strong { font-family: var(--lp-serif); font-weight: 400; font-size: 1.6rem; margin-right: 4px; }
.lp-home__content { font-size: 1.06rem; }
.lp-h { font-size: clamp(1.8rem, 3vw, 2.5rem) !important; margin: 2em 0 0.8em !important; }
.lp-amen { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px 30px; }
.lp-amen li { padding-left: 24px; position: relative; }
.lp-amen li::before { content: ""; position: absolute; left: 0; top: 0.65em; width: 8px; height: 8px; border-radius: 50%; background: var(--lp-lantern); }
.lp-rules-link { margin-top: 2em; }
.lp-home__side { position: relative; }
.lp-home__card { position: sticky; top: 110px; background: var(--lp-white); border-radius: 20px; padding: 28px; box-shadow: 0 30px 70px -30px rgba(16, 32, 41, 0.35); border: 1px solid rgba(19, 35, 43, 0.06); }
.lp-book__price { margin: 0 0 18px; }
.lp-book__price strong { font-family: var(--lp-serif); font-weight: 400; font-size: 2rem; }
.lp-book .lp-cal__months { grid-template-columns: 1fr; }
.lp-book__dates { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid rgba(19, 35, 43, 0.18); border-radius: 12px; margin: 16px 0 12px; }
.lp-book__dates p { margin: 0; padding: 10px 14px; display: flex; flex-direction: column; }
.lp-book__dates p + p { border-left: 1px solid rgba(19, 35, 43, 0.18); }
.lp-book__dates span { font-size: 0.66rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--lp-pool); }
.lp-book__dates strong { font-weight: 600; font-size: 0.95rem; }
.lp-quote { margin: 0 0 14px; font-size: 0.95rem; }
.lp-quote p { display: flex; justify-content: space-between; margin: 0 0 6px; }
.lp-quote__total { border-top: 1px solid rgba(19, 35, 43, 0.14); padding-top: 10px; font-weight: 700; font-size: 1.05rem; }
.lp-quote__hint, .lp-quote__warn { color: rgba(19, 35, 43, 0.6); display: block !important; }
.lp-quote__warn { color: var(--lp-lantern-deep); }
.lp-book__fields p, .lp-contact p { margin: 0 0 12px; }
.lp-book label, .lp-contact label { display: block; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(19, 35, 43, 0.62); margin-bottom: 5px; }
.lp-book label em, .lp-contact label em { text-transform: none; letter-spacing: 0; font-weight: 400; }
.lp-book input, .lp-book select, .lp-book textarea, .lp-contact input, .lp-contact textarea { width: 100%; border: 1px solid rgba(19, 35, 43, 0.2); border-radius: 10px; padding: 11px 13px; font: inherit; font-size: 0.98rem; background: #fff; color: var(--lp-ink); }
.lp-book input:focus, .lp-book select:focus, .lp-book textarea:focus, .lp-contact input:focus, .lp-contact textarea:focus { outline: none; border-color: var(--lp-pool); box-shadow: 0 0 0 3px rgba(47, 143, 138, 0.18); }
.lp-fine { font-size: 0.8rem; color: rgba(19, 35, 43, 0.55); margin: 10px 0 0 !important; text-align: center; }
.lp-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.lp-note { padding: 14px 16px; border-radius: 12px; margin-bottom: 16px; background: var(--lp-pool-soft); border-left: 3px solid var(--lp-pool); }
.lp-note--err { background: #fbe7d3; border-left-color: var(--lp-lantern-deep); }

/* availability page */
.lp-results { display: grid; gap: 14px; margin-bottom: 56px; }
.lp-result { padding: 22px 26px; border-radius: 16px; background: var(--lp-white); border: 1px solid rgba(19, 35, 43, 0.1); }
.lp-result.is-open { border-color: var(--lp-pool); box-shadow: 0 20px 40px -24px rgba(47, 143, 138, 0.6); }
.lp-result h3 { margin-bottom: 0.2em; }
.lp-avail { display: grid; gap: 64px; }
.lp-avail__home h2 { font-size: clamp(2rem, 3.6vw, 3rem) !important; }
.lp-avail__home h2 a { color: inherit; text-decoration: none; }

/* inner pages */
body:not(.lp-front):not(.lp-single-home) .entry-hero-container-inner { background: var(--lp-sand); }
body:not(.lp-front) .entry-header .entry-title { font-size: clamp(2.6rem, 6vw, 5rem); }
.lp-rules .wp-block-column { background: var(--lp-white); border-radius: 18px; padding: 28px; }

/* lightbox */
.lp-lightbox { position: fixed; inset: 0; z-index: 1000; background: rgba(8, 16, 22, 0.94); display: flex; align-items: center; justify-content: center; }
.lp-lightbox[hidden] { display: none; }
.lp-lightbox figure { margin: 0; max-width: 88vw; max-height: 86vh; text-align: center; }
.lp-lightbox img { max-width: 88vw; max-height: 78vh; object-fit: contain; border-radius: 4px; }
.lp-lightbox figcaption { color: rgba(251, 248, 242, 0.75); font-size: 0.9rem; margin-top: 12px; }
.lp-lightbox button { position: absolute; background: rgba(251, 248, 242, 0.1); color: var(--lp-white); border: 0; width: 52px; height: 52px; border-radius: 50%; font-size: 1.4rem; cursor: pointer; }
.lp-lightbox button:hover { background: rgba(251, 248, 242, 0.25); }
.lp-lightbox__close { top: 20px; right: 20px; }
.lp-lightbox__prev { left: 20px; top: 50%; margin-top: -26px; }
.lp-lightbox__next { right: 20px; top: 50%; margin-top: -26px; }

/* footer */
.site-footer { background: var(--lp-night); color: rgba(251, 248, 242, 0.6); font-size: 0.86rem; }
.site-footer a { color: rgba(251, 248, 242, 0.85); }

/* motion */
.lp-rise { opacity: 0; transform: translateY(34px); transition: opacity 0.9s ease, transform 1s cubic-bezier(.2, .8, .2, 1); }
.lp-rise.in { opacity: 1; transform: none; }

/* classic-theme groups add an inner wrapper */
.lp-section > .wp-block-group__inner-container { max-width: none; }

@media (max-width: 1000px) {
    .lp-home__wrap { grid-template-columns: 1fr; }
    .lp-home__card { position: static; }
}
@media (max-width: 900px) {
    .lp-home-card { grid-template-columns: 1fr; }
    .lp-home-card:nth-child(even) .lp-home-card__media { order: 0; }
    .lp-gallery { grid-template-columns: 1fr 1fr; grid-template-rows: 2fr 1fr; height: 62vh; padding: 0; }
    .lp-gallery__item--0 { grid-column: span 2; grid-row: auto; }
    .lp-gallery__item--3, .lp-gallery__item--4 { display: none; }
    .lp-gallery__count { right: 14px; bottom: 14px; }
}
@media (max-width: 640px) {
    body { font-size: 16px; }
    .lp-search { grid-template-columns: 1fr 1fr; border-radius: 22px; gap: 4px; }
    .lp-search__field { padding: 10px 14px; border-right: 0; }
    .lp-search__dates { border-right: 1px solid rgba(19, 35, 43, 0.12); }
    .lp-search__go { grid-column: span 2; padding: 14px; }
    .lp-pop { position: fixed; left: 12px; right: 12px; bottom: 12px; width: auto; max-height: 80vh; overflow: auto; }
    .lp-home-card__media, .lp-home-card:nth-child(even) .lp-home-card__media { border-radius: 4px 80px 4px 4px; }
    .site-header .site-title { font-size: 1.35rem; }
}
@media (prefers-reduced-motion: reduce) {
    .lp-rise, .lp-hero .lp-in > * { opacity: 1 !important; transform: none !important; animation: none !important; transition: none !important; }
    .lp-hero .wp-block-cover__image-background, .lp-shade, .lp-glow i { animation: none !important; }
}
