/* Site styles, loaded after the WordPress theme stylesheet (theme.css), which
   sets the typography: Roboto body, Playfair Display headings, sizes in rem off
   a scaled root font size. Everything here uses px so it is not affected by
   that scaling. Colors come from the Astra settings: links and buttons #546223,
   hover #57585a, menu text #83786f, footer #322c29. */
:root {
  --text: #3a3a3a;
  --heading: #4a611c;
  --link: #546223;
  --hover: #57585a;
  --muted: #83786f;
  --line: #dddddd;
  --footer: #322c29;
  --bg: #ffffff;
  --focus: #1f6feb;
  --content: 1200px;
  --radius: 4px;
  --font-body: 'Roboto', sans-serif;
  --font-heading: 'Playfair Display', serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: #fff !important; }
img, video { max-width: 100%; height: auto; }
a { color: var(--link); }
a:hover { color: var(--hover); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible {
  outline: 3px solid var(--focus); outline-offset: 2px;
}
p { margin: 0 0 1.2em; }
.small { font-size: 14px; }
.sr-only, .hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -999px; top: 0; background: #fff; padding: 8px 12px; z-index: 100; }
.skip-link:focus { left: 8px; }
.wrap { max-width: var(--content); margin: 0 auto; padding: 0 20px; }
.wrap.narrow { max-width: 800px; }
.page-intro { padding: 60px 20px 20px; }
.button, .wp-block-button__link {
  display: inline-block; background: var(--link); color: #fff; border: 2px solid var(--link); border-radius: var(--radius);
  padding: 12px 26px; text-decoration: none; font: 600 16px var(--font-body); cursor: pointer;
}
.button:hover, .wp-block-button__link:hover { background: var(--hover); border-color: var(--hover); color: #fff; }

/* Header */
.site-header { background: #fff; position: relative; z-index: 50; border-bottom: 1px solid #eee; }
.header-inner { max-width: var(--content); margin: 0 auto; padding: 14px 20px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand img { display: block; width: 250px; height: auto; }
.menu-toggle { display: none; font: inherit; background: none; border: 1px solid var(--line); border-radius: var(--radius); padding: 6px 14px; color: var(--text); }
.header-right { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; }
.header-phone { color: var(--muted); text-decoration: none; font: 400 16px var(--font-body); }
.site-nav > ul { display: flex; flex-wrap: wrap; gap: 4px 0; list-style: none; margin: 0; padding: 0; }
@media (min-width: 922px) { .site-nav > ul > li + li::before { content: '/'; color: #86776f; margin: 0 10px; } }
.site-nav a { color: var(--link); text-decoration: none; display: inline-block; padding: 6px 0; font: 400 14px/1.4 var(--font-body); text-transform: uppercase; letter-spacing: .02em; }
.site-nav a:hover, .site-nav a[aria-current='page'] { color: var(--hover); }
.has-children { position: relative; }
.submenu { display: none; position: absolute; top: 100%; left: -16px; min-width: 280px; list-style: none; margin: 0; padding: 6px 0; background: #fff; border-top: 2px solid var(--link); box-shadow: 0 8px 24px rgba(0,0,0,.1); }
.submenu a { display: block; padding: 8px 16px; border-bottom: 1px solid #eaeaea; }
.has-children:hover > .submenu, .has-children:focus-within > .submenu { display: block; }
@media (max-width: 921px) {
  .brand img { width: 165px; }
  .menu-toggle { display: inline-block; }
  .header-phone { display: none; }
  .site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line); padding: 8px 20px 20px; max-height: 80vh; overflow-y: auto; }
  .site-nav.is-open { display: block; }
  .site-nav > ul { flex-direction: column; }
  .submenu { display: block; position: static; border: 0; box-shadow: none; padding: 0 0 0 16px; min-width: 0; }
  .submenu a { border: 0; padding: 6px 0; }
}

/* Footer */
.site-footer { background: var(--footer); color: #fff; margin-top: 60px; }
.site-footer a { color: #fff; }
.footer-inner { max-width: var(--content); margin: 0 auto; padding: 50px 20px 20px; display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.footer-links { list-style: none; margin: 0; padding: 0; text-align: right; }
.footer-links li { margin: 0 0 6px; }
.footer-links a { text-decoration: none; }
.footer-copyright { margin: 0; padding: 18px 20px 30px; text-align: center; font-size: 14px; border-top: 1px solid rgba(255,255,255,.2); }
@media (max-width: 760px) { .footer-inner { grid-template-columns: 1fr; } .footer-links { text-align: left; } }

/* Imported content: core WordPress block styles the site uses */
main { min-height: 50vh; }
.entry-content::after { content: ''; display: table; clear: both; }
/* Astra 'normal width' layout: all content sits in a 1200px column (the old site's setting).
   The hero video still spans the full window via the theme's 100vw rule. */
.entry-content { max-width: calc(var(--content) + 40px); margin: 0 auto; padding: 0 20px; }
.gb-page__header, .gb-post__header { max-width: calc(var(--content) + 40px); margin: 0 auto; padding: 50px 20px 10px; }
.gb-post__meta { color: var(--muted); font-size: 15px; }
.gb-post__featured { display: block; width: 100%; margin: 10px 0 30px; }
.gb-post__back { max-width: calc(var(--content) + 40px); margin: 30px auto 0; padding: 0 20px; }
.alignfull { width: 100%; max-width: none; }
.alignwide { max-width: 1400px; margin-left: auto; margin-right: auto; }
.has-text-align-center, .aligncenter { text-align: center; }
.has-text-align-right { text-align: right; }
.has-text-align-left { text-align: left; }
.wp-block-image { margin: 0 0 1.5em; }
.wp-block-image img { display: inline-block; vertical-align: bottom; }
.wp-block-image.aligncenter, .wp-block-image .aligncenter { margin-left: auto; margin-right: auto; display: table; }
.wp-block-image .alignleft, .wp-block-image.alignleft { float: left; margin: .3em 1.5em 1em 0; }
.wp-block-image .alignright, .wp-block-image.alignright { float: right; margin: .3em 0 1em 1.5em; }
.wp-block-image figcaption, .wp-element-caption { font-size: 14px; color: var(--muted); text-align: center; margin-top: .5em; }
.wp-block-columns { display: flex; flex-wrap: wrap; gap: 2em; margin-bottom: 1.75em; }
.wp-block-column { flex: 1 1 0; min-width: 0; }
@media (max-width: 781px) { .wp-block-columns { flex-direction: column; } .uag-hide-mob { display: none !important; } }
@media (min-width: 782px) and (max-width: 1024px) { .uag-hide-tab { display: none !important; } }
@media (min-width: 1025px) { .uag-hide-desktop { display: none !important; } }
.wp-block-spacer { clear: both; }
.wp-block-separator { border: 0; border-top: 1px solid var(--line); margin: 2em auto; }
.wp-block-quote, .wp-block-pullquote { border-left: 4px solid var(--link); margin: 1.5em 0; padding: .5em 1.5em; font-style: italic; }
.wp-block-pullquote { border: 0; border-top: 4px solid var(--link); border-bottom: 4px solid var(--link); text-align: center; }
.wp-block-table table { border-collapse: collapse; width: 100%; }
.wp-block-table td, .wp-block-table th { border: 1px solid var(--line); padding: .5em; }
.wp-block-buttons { display: flex; flex-wrap: wrap; gap: .5em; }
/* The Buttons block (the contact page's "Submit Your Project" button) takes Astra's
   button sizing; the Spectra "Contact Us" buttons keep the .wp-block-button__link style above. */
.wp-block-buttons .wp-block-button__link { font-family: inherit; font-weight: inherit; font-size: inherit; line-height: 1em; padding: 10px 40px; }

/* Astra's global colour palette. WordPress printed these in the page head, and the
   imported content and Spectra CSS use them (e.g. the white text on that button). */
:root {
  --ast-global-color-0: #0170B9;
  --ast-global-color-1: #3a3a3a;
  --ast-global-color-2: #3a3a3a;
  --ast-global-color-3: #4B4F58;
  --ast-global-color-4: #F5F5F5;
  --ast-global-color-5: #FFFFFF;
  --ast-global-color-6: #E5E5E5;
  --ast-global-color-7: #424242;
  --ast-global-color-8: #000000;
}
.has-ast-global-color-0-color { color: var(--ast-global-color-0) !important; }
.has-ast-global-color-0-background-color { background-color: var(--ast-global-color-0) !important; }
.has-ast-global-color-1-color { color: var(--ast-global-color-1) !important; }
.has-ast-global-color-1-background-color { background-color: var(--ast-global-color-1) !important; }
.has-ast-global-color-2-color { color: var(--ast-global-color-2) !important; }
.has-ast-global-color-2-background-color { background-color: var(--ast-global-color-2) !important; }
.has-ast-global-color-3-color { color: var(--ast-global-color-3) !important; }
.has-ast-global-color-3-background-color { background-color: var(--ast-global-color-3) !important; }
.has-ast-global-color-4-color { color: var(--ast-global-color-4) !important; }
.has-ast-global-color-4-background-color { background-color: var(--ast-global-color-4) !important; }
.has-ast-global-color-5-color { color: var(--ast-global-color-5) !important; }
.has-ast-global-color-5-background-color { background-color: var(--ast-global-color-5) !important; }
.has-ast-global-color-6-color { color: var(--ast-global-color-6) !important; }
.has-ast-global-color-6-background-color { background-color: var(--ast-global-color-6) !important; }
.has-ast-global-color-7-color { color: var(--ast-global-color-7) !important; }
.has-ast-global-color-7-background-color { background-color: var(--ast-global-color-7) !important; }
.has-ast-global-color-8-color { color: var(--ast-global-color-8) !important; }
.has-ast-global-color-8-background-color { background-color: var(--ast-global-color-8) !important; }
.wp-block-social-links { list-style: none; display: flex; gap: 14px; padding: 0; justify-content: center; }
.wp-social-link a { display: inline-block; padding: 6px 14px; border: 1px solid var(--link); border-radius: 20px; text-decoration: none; }
.gb-embed { position: relative; padding-top: 56.25%; margin: 0 0 1.5em; }
.gb-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
/* The theme pulled the hero up 100px to sit under Astra's header padding; this layout has none. */
.geobarns-full-bleed-video-header { margin-top: 0 !important; overflow: hidden; }
.geobarns-full-bleed-video-header video { display: block; width: 100%; height: 100%; object-fit: cover; }

/* Galleries (the old site's Spectra gallery, rebuilt without plugin JavaScript) */
.gb-gallery { display: grid; grid-template-columns: repeat(var(--gb-cols, 3), minmax(0, 1fr)); gap: 10px; margin: 0 auto 2em; }
.gb-gallery__item { margin: 0; }
.gb-gallery__item img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.gb-gallery__item figcaption { font-size: 14px; color: var(--muted); padding-top: 4px; }
@media (max-width: 1024px) { .gb-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .gb-gallery { grid-template-columns: 1fr; } }

/* Lightbox for gallery images */
.gb-lightbox { border: 0; padding: 0; background: transparent; max-width: 96vw; max-height: 96vh; }
.gb-lightbox::backdrop { background: rgba(0,0,0,.88); }
.gb-lightbox img { display: block; max-width: 96vw; max-height: 90vh; width: auto; height: auto; margin: 0 auto; }
.gb-lightbox__bar { display: flex; justify-content: space-between; gap: 8px; padding: 8px 0 0; }
.gb-lightbox button { font: 600 16px var(--font-body); background: rgba(255,255,255,.15); color: #fff; border: 0; border-radius: var(--radius); padding: 8px 14px; cursor: pointer; }

/* FAQ (was a Spectra accordion; now native details/summary) */
.gb-faq__item { border-bottom: 1px solid var(--line); padding: 4px 0; }
.gb-faq__item summary { cursor: pointer; padding: 14px 0; font-size: 18px; color: var(--heading); list-style-position: outside; }
.gb-faq__answer { padding: 0 0 16px; }

/* News archive: a single column like the old blog page */
.gb-news { padding-top: 50px; max-width: 860px; }
.gb-news__grid { display: block; }
.gb-news__item { padding: 0 0 36px; margin: 0 0 36px; border-bottom: 1px solid #e5e5e5; }
.gb-news__item img { display: block; width: 100%; max-height: 560px; object-fit: cover; margin-bottom: 18px; }
.gb-news__item h2 { font-size: 30px !important; line-height: 40px !important; margin-bottom: 6px; }
.gb-news__item h2 a { text-decoration: none; color: var(--link); }
.gb-pagination { display: flex; gap: 14px; justify-content: center; margin: 20px 0 0; }
.gb-pagination span[aria-current] { font-weight: 500; }

/* Forms: large single-column fields like the old site's questionnaire */
.gb-form-wrap { max-width: 760px; margin: 0 0 40px; }
.gb-form { font: 300 19px/1.5 var(--font-body); color: var(--text); }
.gb-form__section { border: 0; margin: 0 0 36px; padding: 0; }
.gb-form__section > legend { color: var(--link); font-size: 19px; padding: 0 0 18px; }
.gb-form__grid { display: grid; grid-template-columns: 1fr; gap: 26px; }
.gb-form__field { display: flex; flex-direction: column; gap: 10px; min-width: 0; border: 0; margin: 0; padding: 0; }
.gb-form__field > label, .gb-form__choice > legend { color: var(--link); font-weight: 400; padding: 0; }
.gb-form__req, .gb-form__inline-hint { color: var(--link); font-weight: 300; }
.gb-form__hint { color: #6f6f6f; font-size: 16px; margin-top: -4px; }
.gb-form input:not([type=radio]):not([type=checkbox]), .gb-form textarea {
  font: 500 17px/1.5 var(--font-body); width: 100%; padding: 16px 18px; border: 1px solid transparent; border-radius: 6px; background: #e8e6e3; color: var(--text);
}
.gb-form input:focus, .gb-form textarea:focus { background: #fff; border-color: var(--link); }
.gb-form__options { display: flex; flex-wrap: wrap; gap: 12px 26px; margin-top: 6px; }
.gb-form__option { display: inline-flex; align-items: center; gap: 10px; }
.gb-form__option input { width: 24px; height: 24px; margin: 0; accent-color: var(--link); }
.gb-form__closing { color: var(--link); }
.gb-form .button { font-size: 19px; padding: 16px 0; width: 240px; border-radius: 6px; }

html, body { overflow-x: clip; }
