/*
Theme Name: Grand Hotel Modern
Template: grandhotel
Description: Modern redesign of the Bernardazzi Grand Hotel site (child of Grand Hotel Bernardazzi). Same features, new look.
Version: 1.0.0
Author: WebHub
Text Domain: grandhotel-modern
*/

:root {
	--ink: #191512; --stone: #F2ECE4; --paper: #FBF8F4; --sand: #E8E0D5;
	--bronze: #8A6248; --bronze-dark: #6E4D38; --gold: #E3C9A8;
	--muted: #6A6058; --body: #4A413A; --line: #E4DBD0; --line-dark: #3A322C; --on-dark: #EDE6DC; --on-dark-muted: #B7ACA0;
	--display: 'Marcellus', Georgia, 'Times New Roman', serif;
	--sans: 'Jost', Helvetica, Arial, sans-serif;
	--wrap: 1360px; --gutter: clamp(20px, 4vw, 40px); --r: 22px;
	--gh-accent: #8A6248; --gh-line: #E4DBD0; --gh-bg-soft: #FBF8F4; --gh-muted: #6A6058;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 100px; }
body { margin: 0; font-family: var(--sans); font-size: 16px; line-height: 1.7; color: var(--ink); background: var(--stone); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--bronze); text-decoration: none; transition: color .2s, background-color .2s, opacity .2s; }
a:hover { color: var(--bronze-dark); }
h1, h2, h3, h4, h5, h6 { font-family: var(--display); font-weight: 400; line-height: 1.08; margin: 0 0 .6em; color: inherit; letter-spacing: -.005em; }
p { margin: 0 0 1.1em; }
button, input, select, textarea { font: inherit; color: inherit; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.skip-link:focus { position: fixed; top: 8px; left: 8px; z-index: 1000; width: auto; height: auto; clip: auto; background: #fff; padding: 10px 16px; }
:focus-visible { outline: 2px solid var(--bronze); outline-offset: 3px; }

.ghm-wrap, .gh-wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.gh-narrow { max-width: calc(940px + 2 * var(--gutter)); }
.ghm-eyebrow { display: block; margin: 0 0 16px; font-family: var(--sans); font-size: 13px; letter-spacing: .3em; text-transform: uppercase; color: var(--bronze); font-weight: 500; }
.ghm-gold { color: var(--gold); }
.ghm-h1 { font-size: clamp(48px, 5.6vw, 84px); line-height: 1; margin: 0 0 28px; }
.ghm-h2 { font-size: clamp(36px, 4.4vw, 62px); line-height: 1.04; margin: 0 0 28px; }
.ghm-h3 { font-size: 32px; margin: 48px 0 20px; }
.ghm-lead { font-size: 19px; font-weight: 300; color: var(--body); }
.ghm-lead p:last-child { margin-bottom: 0; }
.ghm-section { padding-top: clamp(80px, 9vw, 120px); padding-bottom: clamp(60px, 7vw, 100px); }
.ghm-section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; margin-bottom: 48px; }
.ghm-section-head .ghm-h2 { margin: 0; }
.ghm-textlink { display: inline-flex; align-items: center; gap: 12px; font-size: 14px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink); border-bottom: 1px solid currentColor; padding-bottom: 6px; font-weight: 500; }
.ghm-textlink:hover { color: var(--bronze); }
.ghm-textlink svg { transition: transform .25s; }
.ghm-textlink:hover svg { transform: translateX(4px); }
.ghm-textlink--light { color: var(--on-dark); }
.ghm-textlink--light:hover { color: var(--gold); }
.ghm-btn, .button, .wp-block-button__link, input[type=submit] { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 30px; border: 0; border-radius: 999px; background: var(--bronze); color: #fff; font-size: 14px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; cursor: pointer; transition: background-color .2s, transform .2s; }
.ghm-btn:hover, .button:hover, .wp-block-button__link:hover, input[type=submit]:hover { background: var(--bronze-dark); color: #fff; }
.ghm-btn--gold { background: var(--gold); color: var(--ink); }
.ghm-btn--gold:hover { background: #F0DBBF; color: var(--ink); }
.ghm-btn--dark { background: var(--ink); color: var(--stone); width: 100%; }
.ghm-btn--dark:hover { background: #000; color: #fff; }
.gh-reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s ease, transform .9s cubic-bezier(.2, .7, .2, 1); }
.gh-reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .gh-reveal { opacity: 1; transform: none; } html { scroll-behavior: auto; } }

/* ---------- Header ---------- */
.ghm-header { position: absolute; top: 0; left: 0; right: 0; z-index: 50; color: #fff; transition: background-color .3s, box-shadow .3s, color .3s; }
.ghm-header-inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; max-width: 1600px; margin: 0 auto; padding: 22px clamp(20px, 4vw, 64px); }
.ghm-header-left { display: flex; align-items: center; gap: 18px; }
.ghm-nav { display: flex; gap: 28px; flex-wrap: wrap; font-size: 13.5px; letter-spacing: .1em; text-transform: uppercase; }
.ghm-nav a, .ghm-phone { color: inherit; opacity: .92; }
.ghm-nav a:hover, .ghm-phone:hover { color: inherit; opacity: 1; text-decoration: underline; text-underline-offset: 6px; }
.ghm-logo { justify-self: center; }
.ghm-logo img { height: 86px; width: auto; transition: height .3s, filter .3s; }
.ghm-header-right { justify-self: end; display: flex; align-items: center; gap: 22px; }
.ghm-phone { font-size: 15px; white-space: nowrap; }
.ghm-cta { display: inline-flex; align-items: center; height: 48px; padding: 0 26px; border-radius: 999px; background: var(--stone); color: var(--ink); font-size: 13.5px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }
.ghm-cta:hover { background: #fff; color: var(--ink); }
.gh-burger { display: none; width: 44px; height: 44px; margin-left: -10px; flex-direction: column; justify-content: center; align-items: center; gap: 5px; background: none; border: 0; cursor: pointer; color: inherit; padding: 0; }
.gh-burger span { display: block; width: 20px; height: 1.5px; background: currentColor; }
.gh-header-call { display: none; color: inherit; width: 44px; height: 44px; align-items: center; justify-content: center; margin-right: -10px; }
.gh-header-call svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.5; }
body:not(.gh-has-hero) .ghm-header, .ghm-header.is-stuck { position: fixed; background: rgba(25, 21, 18, .96); color: var(--on-dark); box-shadow: 0 1px 0 rgba(255, 255, 255, .06); backdrop-filter: blur(8px); }
body:not(.gh-has-hero) .ghm-header { position: sticky; }
.ghm-header.is-stuck { animation: ghm-down .35s ease; }
.ghm-header.is-stuck .ghm-header-inner, body:not(.gh-has-hero) .ghm-header-inner { padding-top: 10px; padding-bottom: 10px; }
.ghm-header.is-stuck .ghm-logo img, body:not(.gh-has-hero) .ghm-logo img { height: 58px; }
.admin-bar .ghm-header.is-stuck { top: 32px; }
@keyframes ghm-down { from { transform: translateY(-100%); } to { transform: none; } }

/* Side drawer (phones) */
.gh-perspective, .gh-page { position: relative; }
.gh-page-cover { display: none; position: fixed; inset: 0; z-index: 90; border: 0; padding: 0; background: rgba(25, 21, 18, .5); cursor: pointer; }
body.gh-nav .gh-page-cover { display: block; }
body.gh-nav { overflow: hidden; }
.gh-side { position: fixed; top: 0; left: 0; bottom: 0; z-index: 100; width: min(360px, 86vw); background: var(--ink); color: var(--on-dark); transform: translateX(-100%); transition: transform .35s cubic-bezier(.2, .7, .2, 1); overflow-y: auto; }
body.gh-nav .gh-side { transform: none; }
.gh-side-content { min-height: 100%; display: flex; flex-direction: column; padding: 34px 32px; }
.ghm-side-logo { width: 110px; margin: 0 0 30px; }
.gh-side-menu { list-style: none; margin: 0 0 30px; padding: 0; }
.gh-side-menu a { display: block; padding: 8px 0; color: var(--on-dark); font-family: var(--display); font-size: 26px; }
.gh-side-menu a:hover { color: var(--gold); }
.gh-side-menu .sub-menu { display: none; }
.ghm-side-contact { margin-top: auto; display: flex; flex-direction: column; gap: 6px; font-size: 15px; }
.ghm-side-contact a { color: var(--gold); }

/* ---------- Hero ---------- */
.gh-hero { position: relative; display: flex; color: #fff; overflow: hidden; background: var(--ink); }
.gh-hero-bg, .gh-slider .gh-slide { position: absolute; inset: 0; }
.gh-hero-bg img, .gh-slider .gh-slide img { width: 100%; height: 100%; object-fit: cover; }
.gh-slider .gh-slide { opacity: 0; transition: opacity 1.4s ease; }
.gh-slider .gh-slide.is-active { opacity: 1; }
.gh-slider .gh-slide img { transform: scale(1.06); transition: transform 8s ease-out; }
.gh-slider .gh-slide.is-active img { transform: scale(1); }
.gh-hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(25, 21, 18, .7) 0%, rgba(25, 21, 18, .12) 38%, rgba(25, 21, 18, .22) 60%, rgba(25, 21, 18, .86) 100%); pointer-events: none; }
.ghm-hero { min-height: max(760px, 100svh); align-items: flex-end; }
.ghm-hero-content { position: relative; z-index: 2; width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding: 160px var(--gutter) 170px; }
.ghm-hero-kicker { margin: 0 0 18px; font-size: 13.5px; letter-spacing: .32em; text-transform: uppercase; color: var(--gold); }
.ghm-hero-title { margin: 0; font-size: clamp(46px, 7.4vw, 112px); line-height: .98; max-width: 1060px; }
.ghm-hero-lead { margin: 28px 0 0; max-width: 580px; font-size: 19px; font-weight: 300; color: var(--on-dark); }
.ghm-dots { position: absolute; z-index: 3; right: var(--gutter); bottom: 130px; display: flex; gap: 8px; }
.ghm-dots button { width: 34px; height: 24px; padding: 0; border: 0; background: none; cursor: pointer; position: relative; }
.ghm-dots button::before { content: ''; position: absolute; left: 0; right: 0; top: 11px; height: 2px; background: rgba(255, 255, 255, .45); }
.ghm-dots button.is-active::before { background: #fff; }

/* Inner-page hero (parent templates) */
.gh-hero--page, .gh-hero--room { min-height: 520px; height: 64vh; max-height: 680px; align-items: flex-end; }
.gh-hero-content { position: relative; z-index: 2; width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding: 150px var(--gutter) 70px; text-align: left; }
.gh-hero h1 { margin: 0; font-size: clamp(44px, 6vw, 92px); line-height: 1; color: #fff; }
.gh-hero-sub { margin: 0 0 14px; order: -1; font-size: 13px; letter-spacing: .3em; text-transform: uppercase; color: var(--gold); }
.gh-hero-content { display: flex; flex-direction: column; }
.gh-hero-curve, .gh-room-nav { display: none; }

/* ---------- Booking bar ---------- */
.ghm-book { position: relative; z-index: 5; margin: -96px auto 0; max-width: 1280px; padding: 0 var(--gutter); }
.ghm-bookbar { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)) auto; background: var(--paper); border-radius: var(--r); box-shadow: 0 30px 80px rgba(25, 21, 18, .2); overflow: hidden; }
.ghm-bookbar-field { display: flex; flex-direction: column; gap: 4px; padding: 22px 26px; border-right: 1px solid var(--line); min-width: 0; }
.ghm-bookbar-field span { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 500; }
.ghm-bookbar-field input, .ghm-bookbar-field select { border: 0; background: transparent; padding: 0; font-size: 19px; color: var(--ink); min-height: 36px; width: 100%; -webkit-appearance: none; appearance: none; outline: none; }
.ghm-bookbar-btn { border: 0; background: var(--bronze); color: #fff; font-size: 14px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; padding: 0 40px; cursor: pointer; min-height: 96px; transition: background-color .2s; }
.ghm-bookbar-btn:hover { background: var(--bronze-dark); }

/* ---------- Home sections ---------- */
.ghm-about { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: clamp(40px, 6vw, 80px); align-items: center; padding-top: clamp(90px, 10vw, 140px); padding-bottom: clamp(70px, 8vw, 110px); }
.ghm-about .ghm-lead { margin-bottom: 34px; }
.ghm-about-media { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.ghm-about-media img { width: 100%; object-fit: cover; }
.ghm-arch { height: 460px; border-radius: 220px 220px 18px 18px; }
.ghm-about-col { display: flex; flex-direction: column; gap: 18px; padding-top: 72px; }
.ghm-about-col img { height: 260px; border-radius: 18px; }
.ghm-about-badge { background: var(--ink); color: var(--on-dark); border-radius: 18px; padding: 24px; }
.ghm-about-badge b { display: block; font-family: var(--display); font-weight: 400; font-size: 46px; line-height: 1; color: var(--gold); }
.ghm-about-badge span { display: block; margin-top: 6px; font-size: 15px; }

.ghm-facts { background: var(--ink); color: var(--on-dark); }
.ghm-facts-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 36px; padding-top: 56px; padding-bottom: 56px; }
.ghm-facts b { display: block; font-family: var(--display); font-weight: 400; font-size: 48px; line-height: 1; color: var(--gold); }
.ghm-facts span { display: block; margin-top: 10px; font-size: 15px; color: var(--on-dark-muted); }

.ghm-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 360px), 1fr)); gap: 28px; }
.ghm-card { display: flex; flex-direction: column; color: var(--ink); background: var(--paper); border-radius: var(--r); overflow: hidden; transition: box-shadow .3s, transform .3s; }
.ghm-card:hover { color: var(--ink); box-shadow: 0 24px 60px rgba(25, 21, 18, .12); transform: translateY(-3px); }
.ghm-card-img { position: relative; display: block; overflow: hidden; aspect-ratio: 4 / 3; background: var(--sand); }
.ghm-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s cubic-bezier(.2, .7, .2, 1); }
.ghm-card:hover .ghm-card-img img { transform: scale(1.05); }
.ghm-card-tag { position: absolute; top: 18px; left: 18px; background: rgba(25, 21, 18, .78); color: var(--stone); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; padding: 7px 14px; border-radius: 999px; }
.ghm-card-body { display: flex; flex-direction: column; gap: 12px; padding: 24px 28px 26px; flex: 1; }
.ghm-card-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.ghm-card-title { font-family: var(--display); font-size: 30px; line-height: 1.1; }
.ghm-card-price { white-space: nowrap; font-size: 14px; color: var(--muted); }
.ghm-card-price b { font-size: 23px; font-weight: 500; color: var(--ink); }
.ghm-card-text { font-size: 15px; color: var(--body); font-weight: 300; }
.ghm-card-meta { display: flex; gap: 8px 18px; flex-wrap: wrap; font-size: 14px; color: var(--muted); margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); }
.ghm-card-meta span { display: inline-flex; align-items: center; gap: 8px; }
.ghm-cards--3 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); }

.ghm-dark { background: var(--ink); color: var(--on-dark); }
.ghm-spa { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: clamp(40px, 6vw, 80px); align-items: center; padding-top: clamp(80px, 9vw, 120px); padding-bottom: clamp(80px, 9vw, 120px); }
.ghm-spa-media { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 260px; gap: 16px; }
.ghm-spa-media img { width: 100%; height: 100%; object-fit: cover; border-radius: 20px; }
.ghm-spa-media .is-wide { grid-column: 1 / -1; }
.ghm-spa-list { list-style: none; margin: 0 0 34px; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); column-gap: 28px; }
.ghm-spa-list li { padding: 14px 0; border-bottom: 1px solid var(--line-dark); }
.ghm-spa-foot { display: flex; align-items: center; gap: 22px 28px; flex-wrap: wrap; }
.ghm-spa-foot p { margin: 0; font-size: 15px; color: var(--on-dark-muted); line-height: 1.4; }
.ghm-spa-foot span { font-family: var(--display); font-size: 34px; color: var(--stone); }

.ghm-duo { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 28px; }
.ghm-tile { position: relative; display: block; min-height: 560px; border-radius: 24px; overflow: hidden; color: #fff; background: var(--ink); }
.ghm-tile:hover { color: #fff; }
.ghm-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .9s cubic-bezier(.2, .7, .2, 1); }
.ghm-tile:hover img { transform: scale(1.04); }
.ghm-tile::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(25, 21, 18, 0) 38%, rgba(25, 21, 18, .86) 100%); }
.ghm-tile-text { position: absolute; z-index: 2; left: 36px; right: 36px; bottom: 34px; display: flex; flex-direction: column; color: var(--on-dark); }
.ghm-tile-text .ghm-eyebrow { margin-bottom: 10px; }
.ghm-tile-title { font-family: var(--display); font-size: clamp(32px, 3.2vw, 44px); line-height: 1.05; color: #fff; margin-bottom: 10px; }

.ghm-gallery { padding-bottom: clamp(80px, 9vw, 120px); }
.ghm-strip { display: flex; gap: 16px; overflow-x: auto; padding: 0 var(--gutter) 6px; scroll-snap-type: x mandatory; scrollbar-width: none; }
.ghm-strip::-webkit-scrollbar { display: none; }
.ghm-strip a { flex: 0 0 auto; height: clamp(280px, 32vw, 440px); scroll-snap-align: start; border-radius: 20px; overflow: hidden; cursor: zoom-in; }
.ghm-strip img { height: 100%; width: auto; max-width: none; object-fit: cover; transition: transform .7s ease; }
.ghm-strip a:hover img { transform: scale(1.04); }

.ghm-sand { background: var(--sand); }
.ghm-contact { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr)); gap: clamp(36px, 5vw, 64px); padding-top: clamp(80px, 9vw, 110px); padding-bottom: clamp(80px, 9vw, 110px); align-items: start; }
.ghm-how { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; margin-bottom: 30px; }
.ghm-how b { font-weight: 500; }
.ghm-how p { margin: 4px 0 0; color: var(--body); font-weight: 300; }
.ghm-quick { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-bottom: 24px; }
.ghm-quick a { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 18px 8px; background: var(--paper); border-radius: 16px; color: var(--ink); font-size: 14px; text-align: center; }
.ghm-quick a:hover { background: #fff; color: var(--ink); }
.ghm-quick svg { width: 22px; height: 22px; fill: none; stroke: var(--bronze); stroke-width: 1.5; }
.ghm-map { position: relative; height: 300px; border-radius: 20px; overflow: hidden; }
.ghm-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(.4) sepia(.15); }
.ghm-formcard { background: var(--paper); border-radius: 24px; padding: clamp(26px, 4vw, 44px); }
.ghm-formcard h3 { font-size: 32px; margin: 0 0 22px; }

/* ---------- Footer ---------- */
.ghm-footer { background: var(--ink); color: var(--on-dark-muted); font-size: 15px; }
.ghm-footer a { color: var(--on-dark); }
.ghm-footer a:hover { color: var(--gold); }
.ghm-footer-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 40px; padding-top: 80px; padding-bottom: 56px; border-bottom: 1px solid var(--line-dark); }
.ghm-footer-logo img { height: 110px; width: auto; }
.ghm-footer .ghm-eyebrow { color: var(--gold); letter-spacing: .2em; margin-bottom: 12px; }
.ghm-footer p { margin: 0; line-height: 1.9; }
.ghm-footer-bar { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-top: 26px; padding-bottom: 34px; font-size: 14px; }
.gh-footer-menu { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 24px; }
.gh-footer-menu a { color: var(--on-dark-muted); }
.gh-social { display: flex; gap: 10px; }
.gh-social a { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line-dark); display: inline-flex; align-items: center; justify-content: center; color: var(--on-dark); }
.gh-social a:hover { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.gh-social svg { width: 17px; height: 17px; fill: currentColor; }
.gh-totop { position: fixed; right: 20px; bottom: 20px; z-index: 40; width: 48px; height: 48px; border: 0; border-radius: 50%; background: var(--ink); color: var(--gold); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transition: .3s; box-shadow: 0 8px 24px rgba(25, 21, 18, .25); }
.gh-totop.is-visible { opacity: 1; visibility: visible; }
.gh-totop svg { width: 18px; height: 18px; }

/* ---------- Room page ---------- */
.ghm-roomtop { padding-top: 26px; }
.ghm-crumbs { margin: 0 0 18px; font-size: 14px; color: var(--muted); }
.ghm-crumbs a { color: var(--muted); }
.ghm-crumbs span { color: var(--ink); }
.ghm-mosaic { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-template-rows: 260px 260px; gap: 14px; }
.ghm-mosaic-item { display: block; overflow: hidden; border-radius: 6px; cursor: zoom-in; background: var(--sand); }
.ghm-mosaic-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s ease; }
.ghm-mosaic-item:hover img { transform: scale(1.04); }
.ghm-mosaic-item:first-child { grid-column: 1 / 3; grid-row: 1 / 3; border-radius: 24px 6px 6px 24px; }
.ghm-mosaic-item:nth-child(3) { border-top-right-radius: 24px; }
.ghm-mosaic-item:nth-child(5) { border-bottom-right-radius: 24px; }
.ghm-mosaic-item.is-hidden { display: none; }
.ghm-mosaic-all { position: absolute; right: 16px; bottom: 16px; height: 44px; padding: 0 20px; border: 0; border-radius: 999px; background: var(--paper); color: var(--ink); font-size: 14px; cursor: pointer; box-shadow: 0 6px 18px rgba(25, 21, 18, .2); }
.ghm-roombody { display: flex; flex-wrap: wrap; gap: clamp(40px, 5vw, 72px); align-items: flex-start; padding-top: 56px; padding-bottom: 110px; }
.ghm-roommain { flex: 999 1 560px; min-width: 0; }
.ghm-specs { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); border-top: 1px solid #D6CABD; border-bottom: 1px solid #D6CABD; margin: 0 0 38px; }
.ghm-specs div { padding: 20px 0; }
.ghm-specs span { display: block; font-size: 13px; color: var(--muted); }
.ghm-specs b { display: block; font-family: var(--display); font-weight: 400; font-size: 26px; line-height: 1.2; }
.ghm-roommain .ghm-lead { max-width: 780px; }
.ghm-amen { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.ghm-amen li { display: flex; align-items: center; gap: 14px; background: var(--paper); border-radius: 14px; padding: 15px 18px; font-size: 15px; }
.ghm-amen svg { flex: 0 0 auto; color: var(--bronze); }
.ghm-know { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; color: var(--body); font-weight: 300; }
.ghm-know b { font-weight: 500; color: var(--ink); }
.ghm-bookcard { flex: 1 1 360px; max-width: 440px; position: sticky; top: 104px; background: var(--paper); border-radius: 24px; box-shadow: 0 24px 60px rgba(25, 21, 18, .12); padding: 32px; }
.ghm-bookcard-from { margin: 0; font-size: 14px; color: var(--muted); }
.ghm-bookcard-price { margin: 0 0 22px; display: flex; align-items: baseline; gap: 10px; color: var(--muted); }
.ghm-bookcard-price span { font-family: var(--display); font-size: 56px; line-height: 1; color: var(--ink); }
.ghm-bookcard-note { margin: 14px 0 0; text-align: center; font-size: 13px; color: var(--muted); }

/* ---------- Booking plugin forms ---------- */
.ghb-form label { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 500; }
.ghb-form input[type=date], .ghb-form input[type=text], .ghb-form input[type=email], .ghb-form input[type=tel], .ghb-form input[type=number], .ghb-form select, .ghb-form textarea { border: 1px solid #D6CABD; border-radius: 14px; min-height: 52px; background: #fff; font-size: 16px; letter-spacing: 0; text-transform: none; color: var(--ink); }
.ghb-form .ghb-submit { min-height: 56px; border-radius: 999px; background: var(--bronze); letter-spacing: .1em; text-transform: uppercase; }
.ghb-form .ghb-submit:hover { background: var(--bronze-dark); }
.ghm-bookbar.ghb-form label { letter-spacing: 0; text-transform: none; }
.ghm-bookbar .ghb-select, .ghm-bookbar select { border: 0 !important; border-radius: 0 !important; min-height: 36px !important; background-color: transparent !important; padding: 0 !important; font-size: 19px !important; }
.ghm-bookbar input[type=date] { border: 0 !important; min-height: 36px !important; padding: 0 !important; background: transparent !important; font-size: 19px !important; }
.ghb-checkout-grid { gap: 40px; }
.ghb-summary, .ghb-thanks dl, .ghb-notice { background: var(--paper); border-radius: var(--r); }
.ghb-summary h3, .ghb-results-title, .ghb-result-item h3 { font-family: var(--display); font-weight: 400; }
.ghb-result-item { background: var(--paper); border: 0; border-radius: var(--r); padding: 18px; margin-bottom: 18px; }
.ghb-result-img img { border-radius: 16px; }
.ghb-search-form { background: var(--paper); border-radius: var(--r); padding: clamp(20px, 3vw, 32px); }

/* ---------- Generic page content (parent templates) ---------- */
.gh-section { padding: clamp(64px, 8vw, 110px) 0; }
.gh-section--tight { padding-top: clamp(50px, 6vw, 80px); }
.gh-page-title { font-size: clamp(44px, 5vw, 76px); margin: 0 0 40px; }
.gh-content { font-size: 17px; color: var(--body); }
.gh-content > *:last-child { margin-bottom: 0; }
.gh-content h2 { font-size: clamp(32px, 3.6vw, 52px); color: var(--ink); margin: 1.2em 0 .5em; }
.gh-content h2:first-child, .gh-content h5 + h2 { margin-top: 0; }
.gh-content h4 { font-size: 26px; color: var(--ink); text-align: center; margin: 1.6em 0; }
.gh-content h5 { font-family: var(--sans); font-size: 13px; letter-spacing: .3em; text-transform: uppercase; color: var(--bronze); margin: 0 0 14px; }
.gh-content ul { padding-left: 1.2em; }
.gh-content li { margin: 6px 0; }
.gh-content a:not(.button):not(.wp-block-button__link) { color: var(--bronze); border-bottom: 1px solid currentColor; }
.gh-price-list { list-style: none; padding: 0 !important; background: var(--paper); border-radius: var(--r); padding: 6px 26px !important; }
.gh-price-list li { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; margin: 0 !important; border-bottom: 1px solid var(--line); }
.gh-price-list li:last-child { border-bottom: 0; }
.gh-price-list strong { color: var(--ink); font-weight: 500; white-space: nowrap; }
/* Side-by-side halls (Conference / Meeting Room): price cards line up at the bottom. */
.gh-halls-cols > .wp-block-column { display: flex; flex-direction: column; }
.gh-halls-cols .gh-price-list { margin-top: auto; }
.wp-block-gallery.gh-masonry { display: block !important; columns: 3 300px; column-gap: 14px; }
.wp-block-gallery.gh-masonry .wp-block-image { break-inside: avoid; margin: 0 0 14px !important; width: 100% !important; }
.wp-block-gallery img { border-radius: 18px; }
.wp-block-gallery.gh-masonry img { width: 100%; height: auto !important; }
.gh-carousel-wrap { position: relative; margin: 48px 0; }
.wp-block-gallery.gh-carousel { display: flex !important; flex-wrap: nowrap !important; gap: 16px !important; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.wp-block-gallery.gh-carousel::-webkit-scrollbar { display: none; }
.wp-block-gallery.gh-carousel .wp-block-image { flex: 0 0 calc((100% - 32px) / 3) !important; width: auto !important; margin: 0 !important; scroll-snap-align: start; }
.wp-block-gallery.gh-carousel img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; height: 100% !important; }
.gh-carousel-arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; width: 50px; height: 50px; border-radius: 50%; border: 0; background: var(--paper); box-shadow: 0 6px 20px rgba(25, 21, 18, .2); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; color: var(--ink); }
.gh-carousel-arrow svg { width: 18px; height: 18px; }
.gh-carousel-arrow[disabled] { opacity: 0; pointer-events: none; }
.gh-carousel-prev { left: -20px; } .gh-carousel-next { right: -20px; }
.wp-block-gallery a { display: block; overflow: hidden; border-radius: 18px; cursor: zoom-in; }
.wp-block-gallery a img { transition: transform .7s ease; }
.wp-block-gallery a:hover img { transform: scale(1.04); }

/* Parent room list / contact templates */
.gh-rooms { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 360px), 1fr)); gap: 28px; }
.gh-room-card { background: var(--paper); border-radius: var(--r); overflow: hidden; display: flex; flex-direction: column; }
.gh-room-card-img { display: block; overflow: hidden; aspect-ratio: 4 / 3; }
.gh-room-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s ease; }
.gh-room-card:hover .gh-room-card-img img { transform: scale(1.05); }
.gh-room-card h3 { font-size: 30px; margin: 24px 28px 0; }
.gh-room-card h3 a { color: var(--ink); }
.gh-room-card-excerpt { margin: 12px 28px 0; font-size: 15px; color: var(--body); font-weight: 300; flex: 1; }
.gh-room-card-foot { display: flex; justify-content: space-between; align-items: center; margin: 18px 28px 26px; padding-top: 16px; border-top: 1px solid var(--line); }
.gh-room-card-price small { font-size: 13px; color: var(--muted); margin-right: 6px; }
.gh-room-card-price strong { font-size: 23px; font-weight: 500; }
.gh-link { font-size: 13.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink); border-bottom: 1px solid currentColor; padding-bottom: 4px; font-weight: 500; }
.gh-contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr)); gap: clamp(32px, 5vw, 64px); }
.gh-contact-map { position: relative; min-height: 420px; border-radius: var(--r); overflow: hidden; }
.gh-contact-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.gh-contact-card { background: var(--paper); border-radius: var(--r); padding: clamp(24px, 4vw, 44px); }
.gh-contact-card .gh-social a { border-color: var(--line); color: var(--ink); }
.gh-eyebrow { color: var(--bronze); font-family: var(--sans); font-size: 13px; letter-spacing: .3em; text-transform: uppercase; }
.gh-service-price { display: inline-flex; gap: 12px; align-items: baseline; padding: 18px 28px; background: var(--paper); border-radius: var(--r); margin-top: 20px; }
.gh-service-price h2 { margin: 0; font-size: 24px; }
.gh-postnav { display: flex; justify-content: space-between; gap: 20px; margin-top: 50px; padding-top: 26px; border-top: 1px solid var(--line); }
.gh-postnav small { display: block; color: var(--muted); font-size: 12px; letter-spacing: .15em; text-transform: uppercase; }
.gh-postnav .next { text-align: right; margin-left: auto; }

/* Lightbox (parent JS) */
.gh-lb { position: fixed; inset: 0; z-index: 200; background: rgba(15, 12, 10, .95); display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transition: .3s; }
.gh-lb.is-open { opacity: 1; visibility: visible; }
.gh-lb img { max-width: 92vw; max-height: 86vh; width: auto; height: auto; object-fit: contain; border-radius: 6px; }
.gh-lb button { position: absolute; border: 0; background: none; color: #fff; cursor: pointer; width: 56px; height: 56px; display: inline-flex; align-items: center; justify-content: center; opacity: .8; font-size: 38px; }
.gh-lb button svg { width: 28px; height: 28px; }
.gh-lb-close { top: max(10px, env(safe-area-inset-top)); right: 10px; }
.gh-lb-prev { left: 6px; top: 50%; margin-top: -28px; }
.gh-lb-next { right: 6px; top: 50%; margin-top: -28px; }
.gh-lb-count { position: absolute; bottom: max(16px, env(safe-area-inset-bottom)); left: 0; right: 0; text-align: center; color: rgba(255, 255, 255, .7); font-size: 13px; letter-spacing: 1px; }
body.gh-locked { overflow: hidden; }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
	.ghm-nav { display: none; }
	.gh-burger { display: inline-flex; }
	.ghm-bookbar { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.ghm-bookbar-field:nth-child(2) { border-right: 0; }
	.ghm-bookbar-field:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
	.ghm-bookbar-btn { grid-column: 1 / -1; min-height: 64px; }
}
@media (max-width: 900px) {
	.ghm-phone, .ghm-cta { display: none; }
	.gh-header-call { display: inline-flex; }
	.ghm-header-inner { grid-template-columns: 44px 1fr 44px; padding: 12px 14px; }
	.ghm-logo img { height: 64px; }
	.ghm-header.is-stuck .ghm-logo img, body:not(.gh-has-hero) .ghm-logo img { height: 48px; }
	.ghm-hero-content { padding-bottom: 150px; }
	.ghm-dots { bottom: 120px; }
	.ghm-mosaic { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: 280px 160px; }
	.ghm-mosaic-item:first-child { grid-column: 1 / -1; grid-row: 1; border-radius: 20px 20px 6px 6px; }
	.ghm-mosaic-item:nth-child(n+4) { display: none; }
	.ghm-mosaic-item:nth-child(2) { border-bottom-left-radius: 20px; }
	.ghm-mosaic-item:nth-child(3) { border-radius: 6px 6px 20px 6px; }
	.ghm-bookcard { position: static; max-width: none; }
	.wp-block-gallery.gh-carousel .wp-block-image { flex-basis: calc((100% - 16px) / 2) !important; }
	.gh-carousel-prev { left: 6px; } .gh-carousel-next { right: 6px; }
}
@media (max-width: 782px) { .admin-bar .ghm-header.is-stuck { top: 0; } }
@media (max-width: 600px) {
	body { font-size: 15px; }
	.ghm-hero { min-height: 640px; height: 92svh; }
	.ghm-hero-content { padding: 120px 20px 130px; }
	.ghm-hero-lead { font-size: 16px; }
	.ghm-book { margin-top: -86px; padding: 0 14px; }
	.ghm-bookbar { border-radius: 20px; }
	.ghm-bookbar-field { padding: 14px 16px; }
	.ghm-bookbar-field input, .ghm-bookbar-field select, .ghm-bookbar select, .ghm-bookbar input[type=date] { font-size: 16px !important; }
	.ghm-about-col { padding-top: 40px; }
	.ghm-arch { height: 300px; }
	.ghm-about-col img { height: 150px; }
	.ghm-about-badge b { font-size: 36px; }
	.ghm-facts-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 18px; }
	.ghm-facts b { font-size: 36px; }
	.ghm-card-title { font-size: 26px; }
	.ghm-spa-media { grid-auto-rows: 170px; }
	.ghm-tile { min-height: 420px; }
	.ghm-tile-text { left: 22px; right: 22px; bottom: 22px; }
	.ghm-how { grid-template-columns: 1fr; gap: 14px; }
	.ghm-quick a { font-size: 13px; padding: 14px 4px; }
	.ghm-bookcard { padding: 24px 20px; }
	.ghm-bookcard-price span { font-size: 46px; }
	.wp-block-gallery.gh-carousel .wp-block-image { flex-basis: 84% !important; }
	.wp-block-gallery.gh-masonry { columns: 2; column-gap: 8px; }
	.gh-carousel-arrow { display: none; }
	.ghm-footer-bar { flex-direction: column; }
	.gh-postnav { flex-direction: column; }
}
