/*
Theme Name: Netley Lodge Heritage
Author: Netley Lodge
Description: Bespoke theme based on the October 2026 Netley Lodge website. Booking links remain on the live site during staging.
Version: 2.0.0
Requires PHP: 8.0
Text Domain: netley-lodge
*/
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600&family=Playfair+Display:wght@400;500&display=swap');
:root{--green:#213c32;--deep:#142a23;--gold:#bda57a;--cream:#f6f3eb;--ink:#27372f}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;color:var(--ink);background:var(--cream);font:16px/1.7 'DM Sans',Arial,sans-serif}h1,h2,h3,.brand{font-family:'Playfair Display',Georgia,serif;font-weight:400;line-height:1.2}h1{font-size:clamp(3rem,7vw,6.3rem);margin:.3em 0}h2{font-size:clamp(2.1rem,4vw,3.7rem);margin:0 0 20px}h3{font-size:1.65rem}p{margin:0 0 18px}a{color:inherit}header{position:sticky;top:0;z-index:10;background:rgba(20,42,35,.97);color:white;display:flex;justify-content:space-between;align-items:center;padding:17px clamp(18px,5vw,78px);gap:25px}.brand{text-decoration:none;font-size:25px;letter-spacing:.09em;white-space:nowrap}nav{display:flex;gap:22px;flex-wrap:wrap}nav a{font-size:12px;text-transform:uppercase;letter-spacing:.12em;text-decoration:none;opacity:.88}nav a:hover,nav a[aria-current]{color:#dfc99e}.eyebrow{text-transform:uppercase;letter-spacing:.2em;font-size:11px;font-weight:600;color:var(--gold)}.hero{min-height:580px;display:flex;align-items:center;justify-content:center;text-align:center;color:#fff;background:linear-gradient(0deg,rgba(10,29,23,.68),rgba(10,29,23,.3)),url('assets/hero.jpg') center/cover;padding:80px 20px}.hero p{font-size:19px;max-width:680px;margin:0 auto 28px}.btn{display:inline-block;padding:12px 23px;border:1px solid var(--gold);color:inherit;text-decoration:none;text-transform:uppercase;letter-spacing:.13em;font-size:12px;background:transparent}.btn:hover{background:var(--gold);color:var(--deep)}section{padding:85px clamp(20px,7vw,100px)}.wrap{max-width:1160px;margin:auto}.narrow{max-width:760px;margin:auto;text-align:center}.intro{font-size:19px}.film-section{background:var(--deep);color:white}.film-section .wrap{text-align:center}.film{width:100%;max-width:1100px;display:block;margin:26px auto 0;aspect-ratio:16/9;background:#000;box-shadow:0 20px 50px #0005}.film-note{font-size:13px;color:#c8d2c9;margin-top:12px}.split{display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:7vw}.split img{width:100%;aspect-ratio:5/4;object-fit:cover}.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}.card{background:white}.card img{width:100%;height:240px;object-fit:cover}.card div{padding:25px}.card h3{margin:0 0 10px}.green{background:var(--green);color:#fff}.soft{background:#ebe7dc}.gallery{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.gallery img{width:100%;height:260px;object-fit:cover}.pagehead{background:var(--green);color:white;padding:80px 20px;text-align:center}.pagehead h1{font-size:clamp(2.8rem,6vw,5rem)}.fine{font-size:13px;color:#69766e}footer{background:var(--deep);color:#e6e6db;padding:60px 25px;text-align:center}footer nav{justify-content:center;margin:25px 0}.notice{border-left:3px solid var(--gold);padding:12px 20px;background:#fff;margin-top:24px}ul{padding-left:22px}li{margin:7px 0}@media(max-width:760px){header{position:relative;display:block;text-align:center}nav{justify-content:center;gap:10px 16px;margin-top:14px}.split,.cards{grid-template-columns:1fr}.gallery{grid-template-columns:1fr 1fr}.gallery img{height:170px}section{padding:55px 22px}.hero{min-height:500px}}
/* Version 2: cinematic hero and historic archive */
.video-hero{position:relative;overflow:hidden;isolation:isolate;background:linear-gradient(0deg,rgba(10,29,23,.68),rgba(10,29,23,.3)),url('assets/hero.jpg') center/cover}.video-hero::before{content:"";position:absolute;inset:0;background:linear-gradient(0deg,rgba(10,29,23,.72),rgba(10,29,23,.30));z-index:-1}.hero-video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-2}.hero-content{position:relative;max-width:900px}.hero .btn{margin:5px}.document-links{display:flex;flex-wrap:wrap;gap:12px;margin-top:22px}.btn-dark{border-color:var(--green);color:var(--green)}.history-gallery{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin-top:32px}.history-gallery figure{background:white;margin:0}.history-gallery img{display:block;width:100%;height:250px;object-fit:contain;background:#ddd6c8}.history-gallery figcaption{font-size:13px;padding:12px 16px;line-height:1.45}.booking-wrap{max-width:1000px;margin:auto}.booking-panel{background:#fff;padding:25px;border:1px solid #d9d5c9;margin:22px 0}.booking-panel label{display:block;font-weight:600;font-size:14px;margin:12px 0 4px}.booking-panel input,.booking-panel select,.booking-panel textarea{width:100%;border:1px solid #bcbfb6;padding:12px;font:inherit;background:white;border-radius:2px}.booking-panel button{cursor:pointer}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.calendar-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:5px}.calendar-grid div{padding:10px 3px;text-align:center;background:#edf0ea;font-size:13px}.calendar-grid .busy{background:#c5b5a9;text-decoration:line-through}.calendar-grid .cal-head{background:var(--green);color:white;font-weight:bold}.calendar-grid .blank{background:transparent}.status-msg{padding:14px 18px;background:#e7ece6;margin:16px 0}.status-error{background:#f8e2de}.admin-table{width:100%;border-collapse:collapse}.admin-table th,.admin-table td{padding:10px;border-bottom:1px solid #ddd;text-align:left;font-size:14px}.admin-actions{display:flex;flex-wrap:wrap;gap:8px}.admin-actions button{padding:8px 12px}.admin-shell{max-width:1180px;margin:40px auto;padding:0 20px}.admin-shell h1{font-size:36px}.admin-shell .booking-panel{overflow-x:auto}@media(max-width:760px){.history-gallery{grid-template-columns:1fr 1fr}.history-gallery img{height:170px}.form-grid{grid-template-columns:1fr}.hero-video{display:none}.video-hero{background:linear-gradient(0deg,rgba(10,29,23,.68),rgba(10,29,23,.3)),url('assets/hero.jpg') center/cover}}@media(prefers-reduced-motion:reduce){.hero-video{display:none}}

.video-hero::before{z-index:1}.video-hero .hero-video{z-index:0}.video-hero .hero-content{z-index:2}.video-hero{isolation:isolate}

/* Preserve the entire historical portrait instead of cropping. */
.history-portrait, .split img.history-portrait{aspect-ratio:auto!important;height:auto!important;max-height:740px;object-fit:contain!important;background:#ebe7dc}
body.admin-bar header{top:32px}@media(max-width:782px){body.admin-bar header{top:46px}}
.wp-block-image img{max-width:100%;height:auto}

/* v2 responsive two-column sections and bedrooms */
.hero-content{margin-inline:auto;text-align:center;width:min(100%,900px)}
.split{grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:start;gap:clamp(24px,5vw,75px)}
.split>img{display:block;width:100%;height:auto;max-height:750px;aspect-ratio:auto;object-fit:contain}
.split>div{min-width:0}
.rooms-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:26px;margin-top:28px}.room-card{background:white;overflow:hidden}.room-card img{display:block;width:100%;height:290px;object-fit:cover}.room-card .room-copy{padding:24px}.room-card h3{margin:0 0 12px}.room-photos{display:grid;grid-template-columns:1fr 1fr;gap:8px}.room-photos img{height:260px;object-fit:contain;background:#e8e4db}.room-tag{display:inline-block;font-size:12px;letter-spacing:.08em;text-transform:uppercase;color:#6c6a60;margin-bottom:10px}.copy-email{cursor:pointer;border:1px solid var(--green);padding:8px 13px;background:transparent;color:var(--green);font:inherit;margin:12px 0}.copy-feedback{display:inline-block;margin-left:8px;font-size:13px}.house-space{margin-top:36px}.house-space:first-child{margin-top:0}
@media(max-width:760px){.split,.rooms-grid{grid-template-columns:1fr}.split>img{max-height:none}.room-card img{height:auto}.room-photos img{height:auto}.hero-content{width:100%}}
