/* ============================================================
   North Downs Way – Stylesheet (faithful recreation)
   ============================================================ */

/* ---------- Google Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Alkatra:wght@400;700&family=Buenard:wght@400;700&display=swap');

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* ---------- Variables ---------- */
:root {
  --sage:       #e0edce;     /* page background */
  --sage-card:  #f0f5e6;     /* icon card / info block background */
  --green-dark: #284622;     /* primary button */
  --green-nav:  #284622;
  --text:       #2f2f2f;
  --link:       #464C51;
  --link-hover: #f5808c;
  --heading:    #464C51;
  --border:     #d1dfee;
  --faq-bg:     #fdfeff;
  --white:      #ffffff;
  --font:       'Buenard', Georgia, serif;
  --max-w:      1170px;
  --shadow:     rgba(0,0,0,0.35) 0px 5px 15px;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background-color: var(--sage);
}

img { display: block; max-width: 100%; height: auto; }
ul  { list-style: none; padding: 0; }

a {
  color: var(--link);
  text-decoration: none;
  transition: color .2s ease;
}
a:hover { color: var(--link-hover); text-decoration: underline; }

h1, h2, h3, h4, h5 {
  color: var(--heading);
  line-height: 1.25;
  font-family: 'Alkatra', 'Buenard', serif;
}
h1 { font-size: 30px; line-height: 34px; margin-bottom: 1.2em; }
h2 { font-size: 24px; }
h3 { font-size: 20px; }

p { margin-bottom: 1em; }
p:last-child { margin-bottom: 0; }

strong { font-weight: 700; }

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 20px;
}
.row {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -12px;
}
[class*="col-"] { padding: 0 12px; box-sizing: border-box; }

/* Mobile-first: all cols are full-width by default */
.col-xs-12, .col-sm-12, .col-md-3, .col-md-4, .col-md-8, .col-md-9 { width: 100%; }

/* At 769px+ apply md widths */
@media (min-width: 769px) {
  .col-md-3 { width: 25%; }
  .col-md-4 { width: 33.333%; }
  .col-md-8 { width: 66.666%; }
  .col-md-9 { width: 75%; }
}

/* ---------- Buttons ---------- */
.show-map-button, .btn-primary {
  background-color: var(--green-dark);
  color: #f0f5e6;
  padding: 16px 36px;
  margin-top: 10px;
  margin-bottom: 15px;
  font-size: 20px;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  font-family: 'Alkatra', 'Buenard', serif;
  font-weight: 700;
  box-shadow: 0 8px 16px rgba(0,0,0,.15);
  transition: background-color .3s ease, transform .2s ease;
  display: inline-block;
  text-decoration: none;
}
.show-map-button small, .btn-primary small {
  display: block;
  font-size: 0.6em;
  margin-top: 4px;
}
.show-map-button:hover, .btn-primary:hover {
  background-color: var(--link-hover);
  color: #fff;
  transform: translateY(-2px);
  text-decoration: none;
}
.btn-sm {
  padding: 10px 22px;
  font-size: 16px;
  border-radius: 8px;
}

/* ---------- PAGE HEADER WRAP (banner + overlaid header) ---------- */
.page-header-wrap {
  position: relative;
  z-index: 10;
  box-shadow: 0 1.5px 1.5px rgba(0,0,0,.6);
}

/* ---------- HEADER (overlaid on banner in showcase-active mode) ---------- */
#masthead {
  color: #fff;
  position: absolute;
  inset: 0;              /* fills the full banner height */
  z-index: 99;
  background: transparent;
  display: flex;
  align-items: center;  /* vertically centres logo + nav within the banner */
}
#masthead .container { width: 100%; }
#masthead .row { align-items: center; flex-wrap: nowrap; width: 100%; }
.header-overlay { display: none; }

/* ---------- LOGO ---------- */
.site-branding { padding: 0; }
.site-title {
  padding: 0;
  margin: 0;
  font-size: 25px;
  line-height: 28px;
  font-weight: 400;
}
.site-title a.text-logo {
  color: #fff;
  font-family: 'Alkatra', 'Buenard', serif;
  text-decoration: none;
  display: block;
  padding: 11px 15px 9px 17px;
  text-align: center;
  position: relative;
  text-transform: uppercase;
  font-weight: 700;
}
.site-title a.text-logo:hover { color: #fff; text-decoration: none; }
/* bracket decorations top */
.site-title a.text-logo::before {
  content: '';
  position: absolute;
  left: 0; right: 0;
  height: 12px;
  top: 0;
  border-top: 2px solid currentColor;
  border-left: 2px solid currentColor;
  border-right: 2px solid currentColor;
}
/* bracket decorations bottom */
.site-title a.text-logo::after {
  content: '';
  position: absolute;
  left: 0; right: 0;
  height: 12px;
  bottom: 0;
  border-bottom: 2px solid currentColor;
  border-left: 2px solid currentColor;
  border-right: 2px solid currentColor;
}

/* ---------- NAVIGATION ---------- */
.main-navigation {
  clear: both;
  display: block;
  width: 100%;
  text-align: right;
  padding: 0;
}
/* show menu */
.main-navigation ul { list-style: none; margin: 0; padding: 0; }
.main-navigation ul.menu,
.main-navigation div.menu > ul {
  text-align: right;
  font-size: 0;
  line-height: 0;
  display: block !important; /* always visible on desktop */
}
.main-navigation ul.menu > li {
  display: inline-block;
  margin: 0 0 0 20px;
  position: relative;
}
/* top-level links */
.main-navigation ul.menu > li > a {
  display: block;
  padding: 0;
  color: rgba(255,255,255,1);
  position: relative;
  text-transform: uppercase;
  font-size: 15px;
  line-height: 48px;
  text-decoration: none;
  font-family: 'Alkatra', 'Buenard', serif;
}
/* thin border hover effect */
.main-navigation ul.menu > li > a::before {
  left: 50%;
  right: 50%;
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  border-top: 1px solid #fff;
  border-bottom: 1px solid #fff;
  transition: all 200ms ease-out;
  opacity: 0;
}
.main-navigation ul.menu > li:hover > a::before,
.main-navigation ul.menu > li.current-menu-item > a::before,
.main-navigation ul.menu > li.current_page_item > a::before {
  left: 0; right: 0;
  opacity: 1;
}
.main-navigation ul.menu > li > a:hover { color: #fff; text-decoration: none; }
.main-navigation ul.menu > li.current-menu-item > a,
.main-navigation ul.menu > li.current_page_item > a { color: var(--link-hover); }
/* dropdown arrow for has-children */
.main-navigation ul.menu > li.menu-item-has-children > a::after {
  content: ' \25be'; /* ▾ */
  font-size: .8em;
}
/* sub-menu */
.sub-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: rgba(0,0,0,.8);
  padding: 10px 0;
  margin: 1px 0 0 0;
  min-width: 200px;
  z-index: 99999;
  box-shadow: 0 2px 4px rgba(0,0,0,.1);
}
.sub-menu a {
  display: block;
  padding: 8px 15px;
  color: rgba(255,255,255,1);
  font-size: 14px;
  text-transform: none;
  text-decoration: none;
  line-height: 1.4;
  white-space: nowrap;
}
.sub-menu a:hover { color: #fff; text-decoration: none; }
.menu-item-has-children:hover .sub-menu,
.menu-item-has-children.open .sub-menu { display: block; }

/* mobile menu toggle — hidden on desktop */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  padding: 8px 10px;
  cursor: pointer;
  line-height: 0;
  float: right;
}
.menu-toggle::before {
  content: '';
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  box-shadow: 0 7px 0 #fff, 0 14px 0 #fff;
}

/* mobile-menu wrapper is always visible; on mobile it's toggled */
.mobile-menu { display: block; }

@media (max-width: 768px) {
  .menu-toggle { display: block; }
  .main-navigation { text-align: center; }

  /* Solid header bar on mobile instead of the transparent hero overlay, so
     the dropdown menu below has something opaque to sit against. */
  #masthead {
    position: relative;
    inset: auto;
    background: var(--green-dark);
    display: block;
    padding: 8px 0;
  }
  /* Logo and toggle share one row sized to their own content, instead of
     both columns fighting for 100% width (which squeezed the logo down
     to a handful of pixels and forced it onto 4 lines). */
  #masthead .row { flex-wrap: nowrap; align-items: center; }
  #masthead .col-md-3 { width: auto; flex: 1 1 auto; min-width: 0; }
  #masthead .col-md-9 { width: auto; flex: 0 0 auto; }
  .site-title { font-size: 18px; line-height: 21px; }
  .site-title a.text-logo {
    display: block;
    padding: 6px 10px 6px 12px;
    max-width: 130px;
    white-space: normal;
  }

  /* Mobile menu renders as a clean dropdown panel anchored to the header
     bar (position:relative on #masthead above), with its own solid
     background — not an in-flow block that pushes/overlaps page content. */
  .mobile-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: auto;
    background: var(--green-dark);
    padding: 8px 15px 16px;
    box-shadow: 0 10px 20px rgba(0,0,0,.3);
  }
  .mobile-menu.open { display: block; }
  .main-navigation ul.menu {
    display: block !important;
    text-align: left;
  }
  .main-navigation ul.menu > li {
    display: block;
    margin: 0;
    border-bottom: 1px solid rgba(255,255,255,.15);
  }
  .main-navigation ul.menu > li:last-child { border-bottom: none; }
  .main-navigation ul.menu > li > a {
    line-height: 2.6;
    padding: 4px 2px;
    text-transform: none;
    font-size: 16px;
  }
  .main-navigation ul.menu > li > a::before { display: none; }
  .sub-menu {
    position: static;
    background: none;
    padding: 0 0 8px 15px;
    box-shadow: none;
    min-width: 0;
  }
  .sub-menu a { color: rgba(255,255,255,.8); font-size: 14px; line-height: 2; }
  .sub-menu li::before { content: "-"; display: inline-block; margin-right: 4px; }
  .menu-item-has-children:hover .sub-menu { display: none; }
  .menu-item-has-children.open .sub-menu { display: block; }

  /* Icon cards stack in a single column at a fixed, regular size instead of
     wrapping 2-per-row and letting the odd one out stretch into an oblong
     shape to fill its row alone. */
  .wp-block-columns:has(.homepage-icon) {
    flex-direction: column;
    align-items: center;
  }
  .wp-block-columns:has(.homepage-icon) > .wp-block-column:not(.homepage-icon) {
    display: none;
  }
  .wp-block-columns .wp-block-column.homepage-icon {
    flex-basis: auto !important;
    width: 220px;
    max-width: 70%;
    border-radius: 16px;
    margin-bottom: 16px;
  }
  .wp-block-columns .wp-block-column.homepage-icon:last-child { margin-bottom: 0; }
}

/* ---------- HEADER SHOWCASE (banner image) ---------- */
.header-showcase {
  position: relative;
  overflow: hidden;
  max-height: 20vh;
  min-height: 120px;
}
.header-showcase::after {
  content: '';
  position: absolute;
  inset: 0;
  background: #000;
  opacity: 0.3;
  z-index: 0;
}
.header-showcase_img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}
.header-showcase_content {
  position: absolute;
  bottom: 1px;
  left: 0; right: 0;
  z-index: 1;
}

/* ---------- MAIN CONTENT AREA ---------- */
#content { padding: 30px 0; }
.entry-content { /* pass-through */ }

/* ---------- HEADING (page title) ---------- */
.entry-content h2.wp-block-heading {
  font-size: 28px;
  color: var(--heading);
  margin-top: 1.5em;
  margin-bottom: .5em;
}

/* ---------- HOMEPAGE ICON CARDS ---------- */
.homepage-icon {
  border-radius: 120px;
  background-color: var(--sage-card);
  box-shadow: var(--shadow);
  padding: 24px 16px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.homepage-icon svg { width: 48px; height: 48px; color: var(--heading); }
.homepage-icon h2 { font-size: 22px; margin: 0; }
.homepage-icon-link { display: flex; flex-direction: column; align-items: center; gap: 12px; width: 100%; text-decoration: none; }
.homepage-icon-link:hover { text-decoration: none; }
/* icon row uses WordPress flex columns – simulate with flex */
.icon-row {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  margin: 24px 0;
}
.icon-col {
  flex: 0 0 calc(20%);
  min-width: 160px;
  max-width: 220px;
}
.icon-spacer { flex: 0 0 20%; }

/* ---------- AFFILIATE BUTTON WRAPPER ---------- */
.affiliate-wrap { text-align: center; margin: 16px 0 24px; }

/* ---------- STATS SECTION ---------- */
.stats-section {
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 4rem;
  flex-wrap: wrap;
  margin: 1rem 0 1.5rem;
}
.stat-container { text-align: center; flex: 1 1 150px; }
.stat-number {
  font-size: 3rem;
  font-weight: 800;
  display: block;
  color: var(--heading);
}
.stat-label {
  font-size: 1.1rem;
  color: #555;
  margin-top: 8px;
  display: block;
}

/* ---------- TWO-COLUMN BLOCKS ---------- */
.two-col {
  display: flex;
  gap: 32px;
  align-items: center;
  margin: 28px 0;
  flex-wrap: wrap;
}
.two-col > * { flex: 1 1 300px; }
.two-col figure { margin: 0; }
.two-col figure img { border-radius: 6px; width: 100%; }

/* ---------- COVER BLOCKS (Accommodation / Pubs / Transport) ---------- */
.cover-block {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  min-height: 206px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  box-shadow: 0 4px 12px rgba(0,0,0,.2);
}
.cover-block img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cover-block .cover-dim {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.6);
}
.cover-block .cover-inner {
  position: relative;
  z-index: 1;
  color: #fff;
  text-align: center;
  padding: 24px 20px;
}
.cover-block .cover-inner h2 { color: #fff; font-size: 26px; margin-bottom: .5em; }
.cover-block .cover-inner p { font-size: 16px; opacity: .95; }
.cover-block .cover-inner .btn-primary { font-size: 16px; padding: 10px 24px; margin-top: 12px; }
.covers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin: 20px 0;
}

/* ---------- WEATHER/INFO BAR ---------- */
.weather-menu {
  margin: 16px 0;
  padding: 20px;
  border-radius: 10px;
  background-color: var(--sage-card);
  box-shadow: var(--shadow);
}
.weather-menu h2 { color: var(--heading); margin-bottom: .5em; font-size: 22px; }

/* ---------- GALLERY ---------- */
.gallery-block {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 10px;
  margin: 16px 0;
}
.gallery-block figure { margin: 0; border-radius: 6px; overflow: hidden; }
.gallery-block figure img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  transition: transform .3s ease;
  border-radius: 6px;
}
.gallery-block figure img:hover { transform: scale(1.03); }
.border_effect img { border-radius: 6px; }
.border_effect_big img { border-radius: 6px; }

/* ---------- TRAIL SECTION MAPS ---------- */
.map-embed { border: 1px solid #000; display: block; }

/* ---------- FAQ ---------- */
.schema-faq { margin: 16px 0; }
.schema-faq-section {
  border: 1px solid var(--border);
  margin-bottom: 16px;
  background-color: var(--faq-bg);
  border-radius: 4px;
  overflow: hidden;
}
.schema-faq-question {
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  margin: 0;
  padding: 15px 40px 15px 15px;
  line-height: 1.4;
  cursor: pointer;
  position: relative;
  display: block;
  color: var(--heading);
  font-family: var(--font);
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  user-select: none;
}
.schema-faq-question::after {
  content: "+";
  position: absolute;
  top: 0;
  right: 15px;
  font-weight: 700;
  color: #000;
  font-size: 22px;
  height: 100%;
  display: flex;
  align-items: center;
}
.schema-faq-question.faq-q-open { border-bottom: 1px solid var(--border); }
.schema-faq-question.faq-q-open::after { content: "-"; }
.schema-faq-answer {
  margin: 0;
  padding: 15px;
  background-color: #fff;
  font-size: 16px;
  line-height: 1.5;
  display: none;
}
.schema-faq-answer.open { display: block; }
.schema-faq-answer a { color: var(--green-dark); font-weight: 600; }
.schema-faq-answer a:hover { color: var(--link-hover); }

/* ---------- CAR PARKS ---------- */
.carparks-list {
  columns: 2;
  column-gap: 24px;
  font-size: 16px;
}
.carparks-list li {
  padding: 6px 0;
  border-bottom: 1px solid #ddd;
  break-inside: avoid;
}
.carparks-list li strong { color: var(--heading); }
@media (max-width: 600px) { .carparks-list { columns: 1; } }

/* ---------- RELATED TRAILS ---------- */
.related-trails { font-size: 17px; }
.related-trails p { margin-bottom: .75em; }
.related-trails a { font-weight: 700; color: var(--green-dark); }
.related-trails a:hover { color: var(--link-hover); }

/* ---------- PAGE HERO (inner pages) ---------- */
.page-hero {
  background: var(--green-dark);
  color: #fff;
  padding: 36px 0 28px;
}
.page-hero h1 { color: #fff; margin-bottom: .4em; font-size: 28px; }
.page-hero p { opacity: .88; font-size: 17px; max-width: 620px; margin-bottom: 0; }
.breadcrumb { font-size: 14px; margin-bottom: .6em; opacity: .7; }
.breadcrumb a { color: #fff; }
.breadcrumb a:hover { color: #dcedc2; text-decoration: none; }
.site-content .breadcrumb { opacity: 1; color: #555; background: var(--sage-card); box-shadow: var(--shadow); border-radius: 10px; padding: 10px 16px; display: inline-block; margin-bottom: 28px; }
.site-content .breadcrumb a { color: var(--green-dark); font-weight: 600; }
.site-content .breadcrumb a:hover { color: var(--link-hover); }

/* ---------- INNER PAGE SECTIONS ---------- */
.content-section { padding: 32px 0; }
.content-section + .content-section { border-top: 1px solid rgba(0,0,0,.08); }
.section-heading { font-size: 24px; color: var(--heading); margin-bottom: 1em; }

/* ---------- BOOK CARD ---------- */
.book-card {
  background: var(--white);
  border-radius: 8px;
  box-shadow: 0 2px 12px rgba(0,0,0,.12);
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 20px;
  padding: 20px;
  margin-bottom: 24px;
  align-items: start;
}
.book-cover {
  border-radius: 6px;
  overflow: hidden;
  height: 220px;
  background: var(--green-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: #fff;
}
.book-cover img { width: 100%; height: 100%; object-fit: cover; }
.book-meta h3 { margin-bottom: .5em; font-size: 18px; }
.book-detail { font-size: 15px; color: #555; margin-bottom: .25em; }
.book-price { font-size: 1.4rem; font-weight: 700; color: var(--green-dark); margin: .5em 0; }
.book-desc { font-size: 16px; color: #444; margin-bottom: .75em; }
@media (max-width: 600px) { .book-card { grid-template-columns: 1fr; } .book-cover { height: 140px; } }

/* ---------- SECTION WALKS LIST ---------- */
.section-walk {
  background: var(--white);
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,.1);
  display: grid;
  grid-template-columns: 70px 1fr;
  overflow: hidden;
  margin-bottom: 16px;
}
.section-num {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--green-dark);
  color: #fff;
  font-size: 1.8rem;
  font-weight: 700;
  font-family: var(--font);
}
.section-body { padding: 16px 20px; }
.section-body h3 { color: var(--heading); margin-bottom: .3em; font-size: 18px; }
.section-meta { display: flex; gap: 16px; font-size: 14px; color: #666; margin-bottom: .5em; flex-wrap: wrap; }
.section-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: .5em; }
.tag {
  display: inline-block;
  background: var(--sage-card);
  border-radius: 20px;
  padding: 4px 12px;
  font-size: 13px;
  color: var(--heading);
}

/* ---------- BLOG CARDS ---------- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  margin: 20px 0;
}
.blog-card {
  background: var(--white);
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,.1);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .2s, box-shadow .2s;
}
.blog-card:hover { transform: translateY(-3px); box-shadow: 0 6px 20px rgba(0,0,0,.15); }
.blog-card-img { height: 200px; overflow: hidden; }
.blog-card-img img { width: 100%; height: 100%; object-fit: cover; }
.blog-card-body { padding: 18px; flex: 1; display: flex; flex-direction: column; }
.blog-card-body h3 { font-size: 18px; margin-bottom: .5em; }
.blog-card-body p { font-size: 15px; color: #555; flex: 1; }
.blog-card-body a.read-more { color: var(--green-dark); font-weight: 700; font-size: 15px; margin-top: 10px; }
.blog-card-body a.read-more:hover { color: var(--link-hover); }

/* ---------- CONTACT FORM ---------- */
.contact-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.contact-info h3 { margin-bottom: 1em; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-weight: 700; font-size: 15px; margin-bottom: 5px; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--link);
  border-radius: 4px;
  font-size: 16px;
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
  outline: none;
  transition: border-color .2s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--green-dark); }
.form-group textarea { resize: vertical; min-height: 130px; }
@media (max-width: 700px) { .contact-wrap { grid-template-columns: 1fr; } }

/* ---------- FOOTER ---------- */
#colophon.site-footer {
  background: #344e42;
  padding: 35px 0;
  font-size: 14px;
  line-height: 20px;
  color: #fff;
  margin-top: 24px;
}
#colophon.site-footer a { color: #fff; text-decoration: none; }
#colophon.site-footer a:hover { text-decoration: underline; }
.footer-logo-link {
  display: inline-block;
  position: relative;
  font-family: var(--font);
  font-size: 18px;
  line-height: 24px;
  padding: 5px 14px 3px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #fff;
  text-decoration: none;
}
.footer-logo-link::before,
.footer-logo-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 8px;
}
.footer-logo-link::before { top: 0; border-top: 2px solid currentColor; border-left: 2px solid currentColor; border-right: 2px solid currentColor; }
.footer-logo-link::after { bottom: 0; border-bottom: 2px solid currentColor; border-left: 2px solid currentColor; border-right: 2px solid currentColor; }
#colophon .footer-logo-link:hover { color: #fff; text-decoration: none; }
#colophon .row { align-items: center; }
#colophon .site-info { text-align: right; }
#colophon .site-info a { color: #fff; }
#colophon .site-info a:hover { text-decoration: underline; }

/* ---------- WP Block Columns ---------- */
.wp-block-columns.is-layout-flex {
  display: flex;
  flex-wrap: nowrap;
  gap: 40px;
  margin: 28px 0;
  align-items: center;
  justify-content: center;
}
.wp-block-column {
  flex: 1 1 0%;   /* default: grow equally — gives 50:50 on two-column rows */
  min-width: 0;
}

/* Icon row only: lock columns to their inline flex-basis:20%, no growing */
.wp-block-columns:has(.homepage-icon) .wp-block-column {
  flex-grow: 0;
  flex-shrink: 1;
}

/* on mobile, let columns stack */
@media (max-width: 768px) {
  .wp-block-columns.is-layout-flex {
    flex-wrap: wrap;
  }
  .wp-block-column {
    flex: 1 1 100%;
  }
}
.wp-block-column.is-vertically-aligned-center { align-self: center; }
.wp-block-column figure { margin: 0; }
.wp-block-column figure img {
  width: 100%;
  height: auto;
  object-fit: unset;
  border-radius: 10px;
  box-shadow: 0 4px 16px rgba(0,0,0,.15);
}
.border_effect img, .border_effect_big img { border-radius: 6px; }

/* icon columns */
.wp-block-columns .wp-block-column.homepage-icon {
  border-radius: 120px;
  box-shadow: var(--shadow);
  padding: 24px 16px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;
}
.wp-block-columns .wp-block-column.homepage-icon:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(0,0,0,.2);
  background-color: #fff;
}
.wp-block-column.homepage-icon svg { width: 48px; height: 48px; }
.wp-block-column.homepage-icon h2 { font-size: 20px; margin: 0; color: #3d6b47; transition: color .2s ease; }
.homepage-icon-link:hover h2 { color: var(--link-hover); }
.kt-svg-style-stacked .kb-svg-icon-wrap { border: none; padding: 10px; display: inline-flex; }
.kb-svg-icon-wrap svg { width: 1em; height: 1em; }
.wp-block-kadence-icon { display: flex; justify-content: center; align-items: center; }

/* ---------- WP Cover Block ---------- */
.wp-block-cover {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  margin-bottom: 0;
  box-shadow: 0 4px 16px rgba(0,0,0,.2);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.wp-block-cover__image-background {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.wp-block-cover__background {
  position: absolute;
  inset: 0;
}
.has-background-dim    { background: rgba(0,0,0,.5); }
.has-background-dim-40 { background: rgba(0,0,0,.4); }
.has-background-dim-60 { background: rgba(0,0,0,.6); }
.has-background-dim-70 { background: rgba(0,0,0,.7); }
.wp-block-cover__inner-container {
  position: relative;
  z-index: 1;
  padding: 28px 32px;
  color: #fff;
}
.wp-block-cover__inner-container h2,
.wp-block-cover__inner-container h3 { color: #fff; margin-bottom: .4em; }
.wp-block-cover__inner-container h2.wp-block-heading { margin-top: 0; }
.wp-block-cover__inner-container h2 a,
.wp-block-cover__inner-container h3 a { color: #dcedc2; text-decoration: none; }
.wp-block-cover__inner-container h2 a:hover,
.wp-block-cover__inner-container h3 a:hover { color: var(--link-hover); text-decoration: underline; }
.wp-block-cover__inner-container p { color: rgba(255,255,255,.9); }
.has-large-font-size { font-size: clamp(1.2rem, 2.2vw, 1.5rem) !important; }
.zoom-button { cursor: pointer; transition: transform .25s ease, box-shadow .25s ease; }
.zoom-button:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,.3); }
.has-huge-font-size { font-size: clamp(1.6rem, 3vw, 2.2rem) !important; }

/* ---------- WP Gallery ---------- */
.wp-block-gallery.is-layout-flex {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0;
}
.wp-block-gallery .wp-block-image {
  margin: 0;
  flex: 1 1 220px;
  max-width: 280px;
}
.wp-block-gallery .wp-block-image img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 6px;
  display: block;
}

/* car parks columns */
.wp-block-columns.weather-menu {
  margin: 10px 0;
  padding: 20px;
  border-radius: 10px;
  box-shadow: var(--shadow);
}
.wp-block-columns.weather-menu .wp-block-column { min-width: 140px; }

/* ---------- Utility ---------- */
.text-center { text-align: center; }
.mt-1 { margin-top: .5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mb-2 { margin-bottom: 1rem; }
hr.section-divider { border: none; border-top: 1px solid #ccc; margin: 28px 0; }
.has-text-align-center { text-align: center; }

/* ---------- ACCOMMODATION / PUBS CARDS ---------- */
.wp-block-columns:has(.hover-back) { align-items: stretch; }
.wp-block-columns:has(.hover-back) .wp-block-column { display: flex; flex-direction: column; }
.hover-back { border-radius: 0; overflow: hidden; border: 1px solid #000; background: #fff; transition: box-shadow .2s ease; flex: 1; }
.hover-back:hover { box-shadow: 0 4px 16px rgba(0,0,0,.15); }
.hover-back img { width: 100%; height: 180px; object-fit: cover; display: block; }
a.dull { text-decoration: none; color: inherit; display: block; }
a.dull:hover { text-decoration: none; }
.container30 { padding: 14px 16px; }
.container30 h4 { margin: 0 0 .3em; font-size: 17px; color: var(--heading); }
.container30 p { font-size: 15px; color: #555; margin: 0; }

/* ---------- SECTION NAVIGATION MENU ---------- */
.acom-menu { background: var(--sage-card); box-shadow: var(--shadow); border-radius: 10px; padding: 20px 24px; margin: 16px 0 24px; }
.acom-menu ul { list-style: none; padding: 0; margin: 8px 0 0; }
.acom-menu li { padding: 4px 0; }
.acom-menu a { color: var(--green-dark); font-weight: 600; }
.acom-menu a:hover { color: var(--link-hover); }

/* Compact pill-row variant */
.acom-menu:has(.acom-pills) { max-width: 900px; margin: 16px auto 24px; text-align: center; background: none; box-shadow: none; padding: 0; }
.acom-menu .acom-pills { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 12px 0 0; }
.acom-menu .acom-pills li { padding: 0; }
.acom-menu .acom-pills a { display: inline-block; padding: 6px 14px; background: var(--white); border: 1px solid var(--green-dark); border-radius: 999px; font-weight: 600; font-size: 14px; text-decoration: none; transition: background .2s ease, color .2s ease; }
.acom-menu .acom-pills a:hover { background: var(--green-dark); color: #000; }
.baggage-link { text-align: center; margin-top: 20px; }
.baggage-link a { display: inline-block; padding: 8px 18px; background: var(--green-dark); color: var(--white); border-radius: 999px; font-weight: 600; font-size: 15px; text-decoration: none; transition: background .2s ease; }
.baggage-link a:hover { background: var(--link-hover); color: #000; }

/* ---------- PLAN YOUR TRIP CARDS ---------- */
.subheadinglink { color: var(--heading); text-decoration: none; }
.subheadinglink:hover { color: var(--link-hover); text-decoration: none; }
.fancylink a { color: var(--green-dark); }
.fancylink a:hover { color: var(--link-hover); }

/* ---------- Responsive ---------- */
@media (max-width: 768px) {
  .two-col { flex-direction: column; }
  .book-card { grid-template-columns: 1fr; }
  .section-walk { grid-template-columns: 50px 1fr; }
  .section-num { font-size: 1.3rem; }
  #colophon .row { text-align: center; }
  #colophon .site-info { text-align: center; margin-top: 8px; }
  .stats-section { gap: 2rem; }
  .icon-col { min-width: 130px; }
}
