/* Wadhams Hall — wadhams.org
   --------------------------------------------------------------
   Colours, type and proportions carried over from the previous
   Joomla/Nicepage site; layout is plain CSS grid and flexbox. */

:root {
  --blue:      #478ac9;
  --blue-dark: #3a71a6;
  --ink:       #111111;
  --grey-bg:   #f2f2f2;
  --rule:      #d5d5d5;
  --wrap:      1140px;
  --gutter:    30px;
}

*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font: 400 16px/1.6 "Open Sans", Arial, Helvetica, sans-serif;
  -webkit-text-size-adjust: 100%;
}

h1, h2, h3 {
  font-family: Roboto, Arial, Helvetica, sans-serif;
  font-weight: 400;
  line-height: 1.1;
  margin: 0;
}

p { margin: 0; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); }
a:hover { color: var(--blue-dark); }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: 56px 0; }

/* ---------- hero ---------------------------------------------- */

.hero {
  height: 465px;
  background: url("../images/wadhams-hall-sign.jpg") 50% 61.7% / cover no-repeat;
}

/* ---------- intro card on a grey band -------------------------- */

.intro-band { background: var(--grey-bg); padding: 40px 0; }

.intro-card {
  background: #fff;
  padding: 27px 30px 21px;
  display: grid;
  gap: 18px;
}

/* ---------- headings ------------------------------------------- */

.section-title {
  font-size: 48px;
  text-align: center;
  text-decoration: underline;
  text-underline-offset: 6px;
  margin-bottom: 34px;
}

.lead { font-size: 48px; line-height: 1.6; text-align: center; margin-bottom: 30px; text-wrap: balance; }

/* ---------- "perfect for" -------------------------------------- */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.split img { width: 100%; height: 279px; object-fit: cover; }

.perfect h2 { font-size: 24px; margin-bottom: 16px; }
.perfect ul { margin: 0; padding-left: 20px; display: grid; gap: 4px; }

/* ---------- amenities ------------------------------------------ */

.amenities { margin-top: 56px; }

.amenities dl {
  margin: 0;
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 16px 30px;
  align-items: baseline;
}

.amenities dt { font-weight: 700; }
.amenities dd { margin: 0; }

/* ---------- quote / map ----------------------------------------- */

.quote-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px;
  align-items: center;
}

.map-frame { width: 100%; height: 442px; border: 0; }

.contact-note { font-size: 18px; line-height: 1.7; }

/* ---------- staff ------------------------------------------------ */

.staff { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-top: 24px; }
.staff b { display: block; font-weight: 700; }
.staff-title { font-size: 48px; margin-bottom: 20px; }

/* ---------- narrow screens ---------------------------------------- */

@media (max-width: 900px) {
  .split,
  .quote-split,
  .staff { grid-template-columns: 1fr; }

  .amenities dl { grid-template-columns: 1fr; gap: 4px 0; }
  .amenities dd { margin-bottom: 14px; }

  .hero { height: 260px; }
  .section-title, .lead, .staff-title { font-size: 30px; }
  .lead { line-height: 1.3; }
  .map-frame { height: 320px; }
}

@media (max-width: 575px) {
  :root { --gutter: 20px; }
  .section-title, .lead, .staff-title { font-size: 25px; }
}
