/*
Theme Name: Burnley House
Theme URI: https://burnleyhouse.co.uk/
Author: OpenAI for Burnley House
Description: Modern, lightweight hospitality theme for Burnley House, Hutton-le-Hole.
Version: 1.2.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: burnley-house
*/

:root{
  --bh-ink:#18201d;
  --bh-ink-soft:#43504a;
  --bh-cream:#f7f3eb;
  --bh-paper:#fffdf9;
  --bh-sage:#657b6d;
  --bh-sage-dark:#40564a;
  --bh-gold:#b58b52;
  --bh-line:rgba(24,32,29,.12);
  --bh-shadow:0 18px 50px rgba(24,32,29,.10);
  --bh-radius:22px;
  --bh-wide:1180px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  color:var(--bh-ink);
  background:var(--bh-paper);
  font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  line-height:1.65;
  -webkit-font-smoothing:antialiased;
}
a{color:inherit}
img{max-width:100%;height:auto}
.site-shell{min-height:100vh;display:flex;flex-direction:column}
.site-main{flex:1}
.bh-wrap{width:min(var(--bh-wide),calc(100% - 40px));margin-inline:auto}
.bh-narrow{width:min(800px,calc(100% - 40px));margin-inline:auto}
.bh-kicker{
  margin:0 0 14px;
  font-size:.78rem;
  font-weight:700;
  letter-spacing:.16em;
  text-transform:uppercase;
  color:var(--bh-sage-dark);
}
h1,h2,h3,h4{
  margin:0 0 .6em;
  font-family:Georgia,"Times New Roman",serif;
  font-weight:500;
  line-height:1.08;
  letter-spacing:-.025em;
}
h1{font-size:clamp(3.2rem,8vw,6.7rem)}
h2{font-size:clamp(2.1rem,4vw,4rem)}
h3{font-size:clamp(1.35rem,2vw,1.8rem)}
p{margin:0 0 1.1em}
.bh-lead{font-size:clamp(1.08rem,1.6vw,1.35rem);color:var(--bh-ink-soft);max-width:720px}
.bh-button,
.wp-block-button__link{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:50px;
  padding:12px 22px;
  border-radius:999px;
  background:var(--bh-ink);
  color:white!important;
  text-decoration:none;
  font-weight:700;
  border:1px solid var(--bh-ink);
  transition:transform .2s ease,background .2s ease,border-color .2s ease;
}
.bh-button:hover,.wp-block-button__link:hover{transform:translateY(-2px);background:var(--bh-sage-dark);border-color:var(--bh-sage-dark)}
.bh-button--ghost{background:transparent;color:var(--bh-ink)!important}
.bh-button--light{background:#fff;color:var(--bh-ink)!important;border-color:#fff}
.bh-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:28px}

.site-header{
  position:sticky;top:0;z-index:30;
  background:rgba(255,253,249,.92);
  backdrop-filter:blur(18px);
  border-bottom:1px solid var(--bh-line);
}
.bh-header-row{min-height:82px;display:flex;align-items:center;justify-content:space-between;gap:22px}
.site-branding{text-decoration:none;display:flex;flex-direction:column;line-height:1}
.site-branding strong{font-family:Georgia,"Times New Roman",serif;font-size:1.42rem;font-weight:500;letter-spacing:.02em}
.site-branding span{margin-top:7px;font-size:.68rem;letter-spacing:.16em;text-transform:uppercase;color:var(--bh-ink-soft)}
.site-nav ul{display:flex;list-style:none;gap:26px;margin:0;padding:0;align-items:center}
.site-nav a{text-decoration:none;font-size:.92rem;font-weight:650}
.site-nav .current_page_item>a{color:var(--bh-sage-dark)}
.site-nav a:hover{color:var(--bh-sage-dark)}
.bh-header-cta{white-space:nowrap}
.bh-mobile-nav{display:none}
.bh-mobile-nav summary{cursor:pointer;font-weight:700;list-style:none}
.bh-mobile-nav summary::-webkit-details-marker{display:none}

.bh-hero{
  position:relative;
  overflow:hidden;
  min-height:700px;
  display:flex;
  align-items:center;
  background:
    radial-gradient(circle at 78% 22%,rgba(181,139,82,.18),transparent 24%),
    radial-gradient(circle at 70% 70%,rgba(101,123,109,.24),transparent 28%),
    linear-gradient(135deg,#efe8da 0%,#f8f5ee 44%,#dce5df 100%);
}
.bh-hero:after{
  content:"";
  position:absolute;inset:auto -8% -38% 28%;
  height:75%;border-radius:50% 50% 0 0;
  border-top:1px solid rgba(64,86,74,.25);
  transform:rotate(-5deg);
  box-shadow:0 -55px 0 rgba(64,86,74,.035),0 -110px 0 rgba(64,86,74,.025);
}
.bh-hero-grid{display:grid;grid-template-columns:1.15fr .85fr;gap:70px;align-items:center;padding:90px 0;position:relative;z-index:2}
.bh-hero-copy h1{max-width:820px}
.bh-hero-copy .bh-lead{max-width:660px}
.bh-hero-card{
  min-height:470px;
  border-radius:38px;
  padding:34px;
  background:
    linear-gradient(180deg,rgba(24,32,29,.12),rgba(24,32,29,.55)),
    radial-gradient(circle at 55% 20%,#d9d0bf,#8c9c90 58%,#40564a);
  color:white;
  display:flex;
  align-items:flex-end;
  box-shadow:var(--bh-shadow);
  position:relative;
  isolation:isolate;
}
.bh-hero-card:before{
  content:"";
  position:absolute;
  inset:28px;
  border:1px solid rgba(255,255,255,.35);
  border-radius:26px;
  z-index:-1;
}
.bh-hero-card small{display:block;letter-spacing:.13em;text-transform:uppercase;margin-bottom:10px}
.bh-hero-card strong{font-family:Georgia,"Times New Roman",serif;font-size:2rem;font-weight:500;line-height:1.12;display:block}

.bh-strip{background:var(--bh-ink);color:white}
.bh-strip-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:0}
.bh-strip-item{padding:22px 24px;border-right:1px solid rgba(255,255,255,.15)}
.bh-strip-item:last-child{border-right:none}
.bh-strip-item strong{display:block;font-size:.95rem}
.bh-strip-item span{display:block;color:rgba(255,255,255,.7);font-size:.82rem;margin-top:4px}

.bh-section{padding:100px 0}
.bh-section--cream{background:var(--bh-cream)}
.bh-section--ink{background:var(--bh-ink);color:white}
.bh-section--sage{background:var(--bh-sage-dark);color:white}
.bh-heading-row{display:flex;justify-content:space-between;align-items:end;gap:50px;margin-bottom:42px}
.bh-heading-row>*{margin-bottom:0}
.bh-text-link{font-weight:750;text-underline-offset:5px}
.bh-grid-2{display:grid;grid-template-columns:repeat(2,1fr);gap:60px;align-items:center}
.bh-grid-3{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
.bh-grid-4{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}
.bh-card{
  background:white;
  border:1px solid var(--bh-line);
  border-radius:var(--bh-radius);
  padding:28px;
  box-shadow:0 10px 30px rgba(24,32,29,.045);
}
.bh-card--soft{background:var(--bh-cream)}
.bh-card p:last-child{margin-bottom:0}
.bh-card .bh-number{font-family:Georgia,"Times New Roman",serif;font-size:2.7rem;line-height:1;color:var(--bh-gold);display:block;margin-bottom:28px}
.bh-photo-panel{
  min-height:520px;border-radius:var(--bh-radius);padding:34px;
  background:
    linear-gradient(180deg,rgba(24,32,29,.02),rgba(24,32,29,.40)),
    radial-gradient(circle at 28% 25%,#f0e2c8 0 13%,transparent 14%),
    linear-gradient(145deg,#c9d2c7,#7d9181 48%,#35483e);
  color:white;display:flex;align-items:flex-end;box-shadow:var(--bh-shadow);
}
.bh-photo-panel strong{font-family:Georgia,"Times New Roman",serif;font-size:2rem;font-weight:500}
.bh-tag{display:inline-block;padding:7px 11px;border:1px solid var(--bh-line);border-radius:999px;font-size:.78rem;font-weight:700;margin:0 6px 7px 0;background:rgba(255,255,255,.55)}
.bh-feature-list{list-style:none;padding:0;margin:26px 0 0;display:grid;grid-template-columns:1fr 1fr;gap:14px 22px}
.bh-feature-list li{position:relative;padding-left:24px}
.bh-feature-list li:before{content:"✓";position:absolute;left:0;color:var(--bh-sage-dark);font-weight:900}
.bh-section--ink .bh-feature-list li:before,.bh-section--sage .bh-feature-list li:before{color:#e6cfae}
.bh-room-card{overflow:hidden;padding:0}
.bh-room-visual{
  min-height:240px;
  background:
    linear-gradient(180deg,transparent,rgba(24,32,29,.32)),
    linear-gradient(135deg,#dad1c1,#9ca89e);
  display:flex;align-items:flex-end;padding:22px;color:white;
}
.bh-room-card:nth-child(2) .bh-room-visual{background:linear-gradient(180deg,transparent,rgba(24,32,29,.35)),linear-gradient(135deg,#ded7ce,#7c8c83)}
.bh-room-card:nth-child(3) .bh-room-visual{background:linear-gradient(180deg,transparent,rgba(24,32,29,.38)),linear-gradient(135deg,#d9c9b4,#5d7568)}
.bh-room-card .bh-card-body{padding:26px}
.bh-room-card h3{margin-bottom:8px}
.bh-room-card p{color:var(--bh-ink-soft)}
.bh-pill{font-size:.72rem;letter-spacing:.08em;text-transform:uppercase;font-weight:800}
.bh-guide-card{min-height:300px;display:flex;flex-direction:column;justify-content:flex-end;position:relative;overflow:hidden}
.bh-guide-card:before{content:"";position:absolute;inset:0;background:linear-gradient(145deg,#ecdfca,#aab9ad);z-index:0}
.bh-guide-card:nth-child(2):before{background:linear-gradient(145deg,#d9e0d8,#7f9486)}
.bh-guide-card:nth-child(3):before{background:linear-gradient(145deg,#e7d7bf,#8a775f)}
.bh-guide-card>*{position:relative;z-index:1}
.bh-guide-card p{margin:0;color:var(--bh-ink-soft)}
.bh-guide-card a{text-decoration:none}
.bh-guide-card a:after{content:" ↗"}
.bh-quote{
  padding:34px 0 34px 34px;
  border-left:2px solid var(--bh-gold);
  font-family:Georgia,"Times New Roman",serif;
  font-size:clamp(1.5rem,2.7vw,2.4rem);
  line-height:1.25;
}
.bh-page-hero{padding:110px 0 70px;background:linear-gradient(135deg,var(--bh-cream),#edf1ed)}
.bh-page-hero h1{font-size:clamp(3rem,6vw,5.3rem);max-width:900px}
.bh-page-content>.bh-section:first-child{padding-top:80px}
.bh-info-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.bh-info-card{padding:26px;border-radius:18px;background:var(--bh-cream)}
.bh-info-card small{display:block;text-transform:uppercase;letter-spacing:.12em;font-weight:800;color:var(--bh-sage-dark);margin-bottom:8px}
.bh-info-card strong{font-size:1.08rem}
.bh-local-list{display:grid;gap:14px}
.bh-local-item{display:grid;grid-template-columns:120px 1fr auto;gap:24px;align-items:center;padding:20px 0;border-bottom:1px solid var(--bh-line)}
.bh-local-item:last-child{border-bottom:none}
.bh-local-item .bh-type{font-size:.72rem;text-transform:uppercase;letter-spacing:.12em;font-weight:800;color:var(--bh-sage-dark)}
.bh-local-item h3{font-family:inherit;font-size:1rem;font-weight:800;margin:0}
.bh-local-item p{margin:2px 0 0;color:var(--bh-ink-soft);font-size:.92rem}
.bh-local-item a{font-size:.88rem;font-weight:800;text-underline-offset:4px}
.bh-note{padding:20px 22px;border-radius:16px;background:#f1ede4;border-left:4px solid var(--bh-gold);font-size:.94rem}
.bh-contact-grid{display:grid;grid-template-columns:.9fr 1.1fr;gap:60px}
.bh-contact-card{background:var(--bh-ink);color:white;border-radius:var(--bh-radius);padding:36px}
.bh-contact-card a{color:white}
.bh-form{display:grid;gap:14px}
.bh-form label{font-size:.82rem;font-weight:800}
.bh-form input,.bh-form textarea,.bh-form select{
  width:100%;padding:14px 15px;border:1px solid var(--bh-line);border-radius:12px;background:white;font:inherit;color:var(--bh-ink)
}
.bh-form textarea{min-height:150px;resize:vertical}
.bh-form-note{font-size:.8rem;color:var(--bh-ink-soft)}
.site-footer{background:#111714;color:white;padding:64px 0 28px}
.bh-footer-grid{display:grid;grid-template-columns:1.3fr .7fr .7fr;gap:55px}
.site-footer a{color:white;text-decoration:none}
.site-footer a:hover{text-decoration:underline}
.site-footer h3{font-family:inherit;font-size:.76rem;text-transform:uppercase;letter-spacing:.13em}
.site-footer ul{list-style:none;padding:0;margin:0;display:grid;gap:8px}
.bh-footer-brand{font-family:Georgia,"Times New Roman",serif;font-size:2rem;margin-bottom:12px}
.bh-footer-meta{margin-top:46px;padding-top:22px;border-top:1px solid rgba(255,255,255,.13);font-size:.78rem;color:rgba(255,255,255,.65)}
.entry-content>:not(.alignfull):not(.alignwide){max-width:var(--bh-wide);margin-left:auto;margin-right:auto}
.entry-content>.alignfull{max-width:none}
.screen-reader-text{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}

@media(max-width:900px){
  .site-nav,.bh-header-cta{display:none}
  .bh-mobile-nav{display:block;position:relative}
  .bh-mobile-nav[open] ul{position:absolute;right:0;top:38px;width:250px;background:white;padding:18px;border-radius:16px;box-shadow:var(--bh-shadow);list-style:none;display:grid;gap:10px}
  .bh-mobile-nav ul a{text-decoration:none;font-weight:700}
  .bh-hero{min-height:auto}
  .bh-hero-grid,.bh-grid-2,.bh-contact-grid{grid-template-columns:1fr;gap:36px}
  .bh-hero-grid{padding:70px 0}
  .bh-hero-card{min-height:390px}
  .bh-strip-grid{grid-template-columns:repeat(2,1fr)}
  .bh-strip-item:nth-child(2){border-right:none}
  .bh-strip-item:nth-child(-n+2){border-bottom:1px solid rgba(255,255,255,.15)}
  .bh-grid-3,.bh-grid-4,.bh-info-grid{grid-template-columns:1fr 1fr}
  .bh-footer-grid{grid-template-columns:1fr 1fr}
  .bh-footer-grid>div:first-child{grid-column:1/-1}
}
@media(max-width:620px){
  .bh-wrap,.bh-narrow{width:min(100% - 28px,var(--bh-wide))}
  .bh-header-row{min-height:72px}
  .site-branding span{display:none}
  .bh-section{padding:72px 0}
  .bh-page-hero{padding:76px 0 52px}
  .bh-grid-3,.bh-grid-4,.bh-info-grid,.bh-footer-grid{grid-template-columns:1fr}
  .bh-strip-grid{grid-template-columns:1fr}
  .bh-strip-item{border-right:none;border-bottom:1px solid rgba(255,255,255,.15)!important}
  .bh-strip-item:last-child{border-bottom:none!important}
  .bh-heading-row{display:block;margin-bottom:30px}
  .bh-heading-row .bh-text-link{display:inline-block;margin-top:12px}
  .bh-feature-list{grid-template-columns:1fr}
  .bh-local-item{grid-template-columns:1fr;gap:4px}
  .bh-hero-card{min-height:320px}
  .bh-hero-card strong{font-size:1.55rem}
}

.site-branding-wrap{display:flex;align-items:center}.custom-logo-link{display:flex;align-items:center}.custom-logo{max-height:58px;width:auto}


/* Burnley House photo integration */
.bh-photo-panel,
.bh-hero-card,
.bh-room-visual{
  background-size:cover;
  background-position:center;
  background-repeat:no-repeat;
}
.bh-photo-panel{position:relative;isolation:isolate;overflow:hidden}
.bh-photo-panel:after{
  content:"";position:absolute;inset:0;z-index:-1;
  background:linear-gradient(180deg,rgba(24,32,29,.02),rgba(24,32,29,.5));
}
.bh-photo-panel strong{max-width:520px;text-shadow:0 2px 20px rgba(0,0,0,.35)}
.bh-photo-credit{font-size:.7rem;opacity:.7;margin-top:8px}
