:root {
    --brown:#4b2f13;
    --deep-brown:#21150c;
    --rust:#c96816;
    --gold:#e3a34f;
    --sand:#efd09b;
    --cream:#fff8ec;
    --olive:#414418;
    --white:#fff;
    --shadow:0 14px 40px rgba(77,51,22,.12);
}
* { box-sizing:border-box; }
html { scroll-behavior:smooth; }
body { margin:0; color:#33281d; background:var(--cream); font-family:system-ui,-apple-system,'Segoe UI',Arial,sans-serif; line-height:1.65; }
a { color:var(--rust); }
img { max-width:100%; height:auto; }
h1,h2,h3,h4 { font-family:Georgia,'Times New Roman',serif; color:var(--brown); line-height:1.08; }
h1 { font-size:clamp(2.6rem,6vw,5.8rem); }
h2 { font-size:clamp(2rem,4vw,3.5rem); }
h3 { font-size:1.75rem; }
.container { width:min(1180px,calc(100% - 40px)); margin-inline:auto; }
.narrow { max-width:860px; }
.center { text-align:center; }
.site-header { position:sticky; top:0; z-index:50; background:rgba(255,250,240,.96); backdrop-filter:blur(12px); border-bottom:1px solid rgba(77,51,22,.12); }
.site-header-inner { min-height:92px; display:flex; align-items:center; gap:20px; }
.brand { width:190px; flex:0 0 auto; }
.brand img { display:block; max-height:78px; width:auto; border-radius:3px; }
.primary-nav { margin-left:auto; }
.primary-nav ul { display:flex; list-style:none; gap:18px; margin:0; padding:0; align-items:center; white-space:nowrap; }
.primary-nav a { color:var(--brown); text-decoration:none; font-weight:700; font-size:.9rem; }
.primary-nav a:hover { color:var(--rust); }
.menu-toggle { display:none; }
.button { display:inline-flex; align-items:center; justify-content:center; border:2px solid var(--rust); background:var(--rust); color:#fff !important; border-radius:999px; padding:11px 20px; text-decoration:none; font-weight:800; }
.button:hover { background:var(--brown); border-color:var(--brown); }
.header-book { white-space:nowrap; flex:0 0 auto; }
.button-secondary { background:transparent; border-color:#fff; }
.full-width { width:100%; }
.hero { min-height:680px; display:grid; align-items:center; position:relative; color:#fff; background:linear-gradient(110deg,rgba(45,29,15,.82),rgba(77,51,22,.42)),url('../images/riverside-lodge-logo.jpeg') center/cover no-repeat; }
.hero::after { content:''; position:absolute; inset:auto 0 0; height:180px; background:linear-gradient(transparent,var(--cream)); }
.hero-content { position:relative; z-index:2; max-width:850px; padding:80px 0 130px; }
.hero h1 { color:#fff; margin:.25em 0; text-shadow:0 3px 18px rgba(0,0,0,.25); }
.hero p:not(.eyebrow) { max-width:700px; font-size:1.18rem; }
.hero-actions { display:flex; flex-wrap:wrap; gap:12px; margin-top:28px; }
.eyebrow { color:var(--rust); font-size:.78rem; font-weight:900; letter-spacing:.16em; text-transform:uppercase; }
.hero .eyebrow,.section-dark .eyebrow { color:var(--gold); }
.section { padding:88px 0; }
.section-sand { background:var(--sand); }
.section-dark { background:var(--deep-brown); color:#f8ead3; }
.section-dark h2,.section-dark h3,.section-dark a { color:#fff; }
.section-heading { display:flex; align-items:end; justify-content:space-between; gap:20px; margin-bottom:34px; }
.section-heading h2 { margin:.15em 0 0; }
.section-heading>a { font-weight:800; }
.page-header { padding:90px 0 60px; background:linear-gradient(135deg,var(--sand),#efc988); border-bottom:1px solid var(--gold); }
.page-header h1 { margin:.15em 0; }
.page-content { padding:65px 0 90px; }
.content-layout { padding:60px 0; }
.content-card { background:#fff; border-radius:12px; padding:28px; margin-bottom:20px; box-shadow:var(--shadow); }
.single-hero-image { margin-bottom:34px; border-radius:16px; overflow:hidden; box-shadow:var(--shadow); }
.single-hero-image img { display:block; width:100%; max-height:620px; object-fit:cover; }
.unit-layout { display:grid; grid-template-columns:minmax(0,1fr) 340px; gap:42px; padding:65px 0 90px; align-items:start; }
.booking-panel { position:sticky; top:120px; background:#fff; border:1px solid var(--gold); border-radius:14px; padding:26px; box-shadow:var(--shadow); }
.booking-price strong { display:block; font-family:Georgia,'Times New Roman',serif; color:var(--rust); font-size:2.2rem; }
.amenities-list { columns:2; padding-left:20px; }
.notice-pill,.selected-unit { padding:12px 15px; background:var(--gold); color:var(--brown); border-radius:9px; font-weight:800; }
.phase-placeholder { padding:26px; background:var(--sand); border:1px solid var(--gold); border-radius:14px; margin-bottom:40px; }
.cta-box { display:flex; justify-content:space-between; align-items:center; gap:25px; border:2px solid var(--gold); border-radius:18px; padding:36px; background:#fff; box-shadow:var(--shadow); }
.cta-box h2 { margin:.2em 0; }
.site-footer { background:var(--deep-brown); color:#f3dfbd; padding:65px 0 25px; }
.site-footer h2,.site-footer h3 { color:#fff; }
.site-footer a { color:var(--gold); }
.footer-grid { display:grid; grid-template-columns:1.2fr 1fr 1fr; gap:44px; }
.footer-bottom { margin-top:40px; padding-top:22px; border-top:1px solid rgba(255,255,255,.15); display:flex; justify-content:space-between; gap:20px; align-items:center; }
.footer-bottom ul { list-style:none; display:flex; gap:16px; margin:0; padding:0; }
@media (max-width:980px) {
    .site-header-inner { min-height:78px; flex-wrap:wrap; padding:8px 0; }
    .brand { width:170px; }
    .menu-toggle { display:block; margin-left:auto; background:transparent; border:1px solid var(--brown); border-radius:8px; padding:8px 12px; }
    .primary-nav { display:none; width:100%; order:4; margin:0; }
    .primary-nav.is-open { display:block; }
    .primary-nav ul { display:block; padding:12px 0 18px; }
    .primary-nav li { margin:8px 0; }
    .header-book { display:none; }
    .unit-layout { grid-template-columns:1fr; }
    .booking-panel { position:static; }
}
@media (max-width:720px) {
    .container { width:min(100% - 28px,1180px); }
    .hero { min-height:600px; }
    .section { padding:65px 0; }
    .section-heading,.cta-box,.footer-bottom { align-items:flex-start; flex-direction:column; }
    .footer-grid { grid-template-columns:1fr; gap:22px; }
    .amenities-list { columns:1; }
}
.section-pattern { position:relative; overflow:hidden; }
.section-pattern::before { content:''; position:absolute; inset:0; opacity:.08; pointer-events:none; background-image:repeating-linear-gradient(45deg,var(--brown) 0 2px,transparent 2px 16px),repeating-linear-gradient(-45deg,var(--rust) 0 2px,transparent 2px 16px); }
.section-pattern>.container { position:relative; }
.category-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:18px; }
.category-tile { min-height:190px; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:8px; padding:24px 18px; text-align:center; color:var(--brown); background:rgba(255,250,240,.94); border:2px solid rgba(75,47,19,.22); border-radius:16px; box-shadow:var(--shadow); text-decoration:none; transition:transform .25s ease,border-color .25s ease,box-shadow .25s ease; }
.category-tile:hover { transform:translateY(-5px); border-color:var(--rust); box-shadow:0 18px 44px rgba(77,51,22,.18); }
.category-tile strong { font-family:Georgia,'Times New Roman',serif; font-size:1.55rem; }
.category-tile>span:last-child { color:var(--olive); font-size:.9rem; font-weight:700; }
.category-icon { width:62px; height:62px; display:grid; place-items:center; border-radius:50%; background:var(--rust); color:#fff; font-size:1.8rem; }
.custom-logo-link { display:block; line-height:0; }
body.admin-bar .site-header { top:32px; }
@media (max-width:900px) { .category-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media (max-width:782px) { body.admin-bar .site-header { top:46px; } }
@media (max-width:520px) { .category-grid { grid-template-columns:1fr; } .brand { width:145px; } .brand img { max-height:66px; } }
.booking-help-box { margin-top:70px; padding-top:48px; border-top:2px solid var(--gold); }
.booking-panel-note { margin:14px 0 0; color:#6f5a46; font-size:.88rem; text-align:center; }
.unit-availability { margin-top:48px; padding-top:28px; border-top:1px solid rgba(75,47,19,.18); }

/* Phase 4: event and facility detail galleries */
.page-header>div>p:last-child { max-width:760px; }
.event-header-meta { display:flex; flex-wrap:wrap; gap:10px 22px; margin-top:18px; color:var(--brown); font-weight:800; }
.event-header-meta span { display:inline-flex; align-items:center; gap:8px; }
.event-header-meta span::before { content:'◆'; color:var(--rust); font-size:.7rem; }
.event-layout .event-panel { border-top:6px solid var(--rust); }
.facility-rules { margin:42px 0 0; padding:26px; border-left:6px solid var(--rust); border-radius:12px; background:var(--sand); }
.facility-rules h2 { margin-top:0; font-size:2rem; }
.lodge-gallery-section { margin:52px 0 0; padding-top:38px; border-top:1px solid rgba(75,47,19,.2); }
.section-heading.compact { align-items:center; margin-bottom:22px; }
.section-heading.compact h2 { font-size:clamp(1.9rem,3vw,2.6rem); }
.section-heading.compact>span { color:var(--olive); font-weight:800; }
.lodge-gallery { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); grid-auto-rows:170px; gap:12px; }
.lodge-gallery-item { display:block; overflow:hidden; border-radius:12px; background:var(--sand); box-shadow:0 6px 18px rgba(77,51,22,.1); }
.lodge-gallery-item:first-child { grid-column:span 2; grid-row:span 2; }
.lodge-gallery-item img { display:block; width:100%; height:100%; object-fit:cover; transition:transform .3s ease; }
.lodge-gallery-item:hover img { transform:scale(1.045); }
@media (max-width:900px) { .lodge-gallery { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media (max-width:560px) {
    .event-header-meta { flex-direction:column; gap:7px; }
    .lodge-gallery { grid-template-columns:1fr; grid-auto-rows:220px; }
    .lodge-gallery-item:first-child { grid-column:auto; grid-row:auto; }
}


/* v4.0.2 — complete accommodation page */
.single-hero-image a {
    display: block;
}
.unit-description {
    margin-top: 44px;
    padding: 34px;
    border-radius: 16px;
    background: #fff;
    box-shadow: var(--shadow);
}
.unit-description h2 {
    margin-top: 0;
}
.unit-description .entry-content > :first-child {
    margin-top: 0;
}
.unit-description .entry-content > :last-child {
    margin-bottom: 0;
}
.unit-amenities {
    margin-top: 42px;
}
