/*
Theme Name: Grove Farm Equestrian
Theme URI: https://www.acorn-web-design-wantage.co.uk/
Author: Acorn Web Design
Author URI: https://www.acorn-web-design-wantage.co.uk/
Description: A bespoke WordPress theme for Grove Farm Equestrian.
Version: 1.0.0
Requires at least: 6.6
Requires PHP: 7.4
Text Domain: grove-farm
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(fonts/dm-sans-normal-2.woff2) format('woff2');
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(fonts/manrope-normal-8.woff2) format('woff2');
}
@font-face {
  font-family: 'Playfair Display';
  font-style: italic;
  font-weight: 400 700;
  font-display: swap;
  src: url(fonts/playfair-display-italic-12.woff2) format('woff2');
}
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(fonts/playfair-display-normal-16.woff2) format('woff2');
}


:root { --background: #fff9fb; --foreground: #432330; --primary: #722b49; --border: #dfc3cf; color-scheme: light; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; }
body { margin: 0; background: var(--background); color: var(--foreground); font: 1rem/1.7 'DM Sans', Arial, sans-serif; }
a {color: #9c4163; text-decoration: none;}
a.brand {color: #833753; text-decoration: none;}
a.topbar {color: #ffffff; text-decoration: none;}
.standard-page p, .standard-page h1, .standard-page h2, .standard-page h3 {margin:0.8em 0;}
img { display: block; width: 100%; height: 100%; object-fit: cover; }
figure, h1, h2, h3, p { margin: 0; }
h1, h2, h3, .image-note em { font-family: 'Playfair Display', Georgia, serif; font-weight: 400; }
h1 { font-size: clamp(2.5rem, 6vw, 4rem); line-height: 1.14;}
h2 { font-size: clamp(2rem, 4vw, 3.125rem); line-height: 1.22; letter-spacing: -.025em; }
h3 { font-size: 1.625rem; line-height: 1.3; }
h1 em, h2 em { color: #9c4163; font-weight: 400; }
p { color: #705963; }
a, button { transition: background .2s, color .2s; }
a:focus-visible, button:focus-visible { outline: 3px solid #b44873; outline-offset: 5px; }
.location {display:none;}
.topbar { display: flex; justify-content: center; padding: 8px 5%; background: #562337; color: #fff0f5; font-size: .75rem; letter-spacing: .04em; text-align: center; }
.topbar > a { display: none; }
.site-header { position: sticky; top: 0; z-index: 100; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; min-height: 90px; padding: 12px 5%; border-bottom: 1px solid var(--border); background: var(--background); }
.brand { display: flex; align-items: center; gap: 10px; font: 1.125rem/1.3 Georgia, serif; letter-spacing: 1px; }
.brand small { display: block; margin-top: 6px; font: .825rem Manrope, Arial, sans-serif; letter-spacing: 0.5px; }
.brand-logo { width: 54px; height: 57px; object-fit: contain; flex-shrink: 0; }
#logo { display: flex; align-items: center; flex: 1; }
#logo .custom-logo { width: 200px; height: auto; max-height: 65px; object-fit: contain; }
#logo.small-logo .brand-logo { width: 45px; height: 47px; }
#logo.small-logo .custom-logo { width: 170px; max-height: 55px; }
.menu-toggle { display: none; align-items: center; gap: 10px; padding: 10px 12px; background: #f5dae4; color: #57243a; border: 1px solid #c99fb1; font: inherit; font-size: .875rem; cursor: pointer; }
.js .menu-toggle { display: inline-flex; }
.header-enquiry { display: none !important; }
#menu { flex-basis: 100%; }
#menu ul { display: flex; flex-wrap: wrap; gap: 8px 20px; list-style: none; margin: 0; padding: 0; }
#menu li { list-style: none; margin: 0; padding: 0; }
#menu a { display: block; padding: 10px 0; font-size: 1rem; }
#menu a:hover, .text-link:hover { color: #943b5f; }
#menu a[aria-current=page], #menu .current-menu-item > a, #menu .current-menu-ancestor > a { color: #943b5f; text-decoration: underline; text-underline-offset: 6px; }
.js #menu { display: none; position: absolute; top: 100%; left: 0; right: 0; padding: 15px 6% 24px; background: var(--background); border-bottom: 1px solid var(--border); max-height: calc(100dvh - 125px); overflow: auto; box-shadow: 0 16px 22px #43233014; }
.js #menu.responsive { display: block; }
.js #menu ul { flex-direction: column; gap: 0; }
.js #menu li + li { border-top: 1px solid #eddae3; }
.button, .grove-button .wp-block-button__link { display: inline-flex; align-items: center; justify-content: space-between; gap: 24px; max-width: 100%; padding: 16px 23px; border-radius: 0; background: var(--primary); color: white; font: 500 .875rem/1.7 'DM Sans', Arial, sans-serif; text-decoration: none; }
.button:hover, .grove-button .wp-block-button__link:hover { background: #943b5f; }
.button.small { padding: 12px 20px; }
.button.light, .grove-button.light .wp-block-button__link { background: #efc4d6; color: #542139; }
.text-link { display: inline-block; max-width: 100%; border-bottom: 1px solid #be92a3; padding-bottom: 5px; font-size: .875rem; font-weight: 500; overflow-wrap: anywhere; }
.eyebrow { margin-bottom: 22px; color: #833753; font: 600 .75rem/1.6 Manrope, Arial, sans-serif; letter-spacing: .12em; }
/* Every page uses the same hero dimensions. Mobile stacks the two halves. */
.hero, .page-hero { display: grid; grid-template-columns: minmax(0, 1fr); background: #f6e2ea; }
.hero-copy, .page-hero > div { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: 40px 7%; }
.hero-copy > p:not(.eyebrow), .page-intro { max-width: 38rem; margin-top: 25px; margin-bottom: 28px; font-size: 1rem; }
.hero-copy > .text-link, .link-paragraph { margin-top: 18px; }
.hero-location { display: flex; align-items: center; gap: 9px; margin-top: 28px; font-size: .75rem; letter-spacing: .08em; }
.location-dot { width: 7px; height: 7px; background: #994565; border-radius: 50%; }
.hero-image, .page-hero > img, .page-hero > .wp-block-image { position: relative; height: 400px; min-width: 0; overflow: hidden; padding: 0; }
.hero-image img, .hero-image > .wp-block-image { position: absolute; inset: 0; width: 100%; height: 100%; }
.page-hero > .wp-block-image img { width: 100%; height: 100%; object-fit: cover; }
.hero-image::after { content: ''; position: absolute; inset: 45% 0 0; background: linear-gradient(transparent, #23111694); pointer-events: none; }
.image-note { position: absolute; z-index: 1; bottom: 26px; left: 25px; display: flex; flex-direction: column; color: white; }
.image-note span, .image-note .inline-note { font-size: .85rem; letter-spacing: 1px; }
.image-note em { font-size: 1.75rem; }
.image-note p { color: white; }
.credit {width:100%;font-size: .75rem;text-align:center;}
.section { padding: 55px 7%; }
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 23px; padding: 25px 7%; background: #efd0dd; border-bottom: 1px solid var(--border); }
.facts strong { display: block; font: 400 1.3rem Georgia, serif; }
.facts strong em { font-size: 1.2rem; }
.facts span, .facts .inline-note { display: block; font-size: .85rem; color: #70515f; margin-top: 4px; }
.welcome, .editorial, .split-details, .two-columns, .livery-detail, .contact, .contact-main, .facility-list, .directions-grid, .cards { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; }
.welcome, .editorial { border-bottom: 1px solid var(--border); }
.welcome p:not(.eyebrow), .split-details p, .two-columns p, .contact-main p, .directions-grid p { margin-top: 20px; }
.editorial p:not(.eyebrow) { margin-bottom: 20px; }
.section-heading { margin-bottom: 40px; }
.section-heading > p, .section-heading > .button { margin-top: 22px; }
.section-heading .eyebrow { margin-bottom: 13px; }
.card-photo { display: block; position: relative; aspect-ratio: 1.5; overflow: hidden; }
.card-photo > .wp-block-image, .card-photo > .wp-block-image a { display: block; width: 100%; height: 100%; }
.card-photo span, .card-photo .photo-label { position: absolute; bottom: 0; left: 0; background: #f8e5ed; color: var(--foreground); font-size: .75rem; letter-spacing: .08em; padding: 10px 17px; }
.card-heading { margin: 22px 0 15px; }
.service > p { margin-bottom: 18px; }
.livery-detail, .soft-panel { background: #f5e2ea; }
.livery-detail p { margin: 24px 0 28px; }
.inclusions { border-top: 1px solid #bd8da1; padding-top: 25px; }
.inclusions ul, .detail-list { list-style: none; padding: 0; margin: 24px 0; }
.inclusions li, .detail-list li { padding: 11px 0; border-bottom: 1px solid var(--border); }
.inclusions li::before, .detail-list li::before { content: '✓'; margin-right: 13px; color: #943b5f; }
.inclusions .detail-list li::before { content: '✓'; }
.facility-list { border-top: 1px solid var(--border); padding-top: 25px; }
.facility-list h3 { margin: 12px 0; }
.hire-note { font-size: .875rem; margin-top: 32px; border-top: 1px solid var(--border); padding-top: 21px; }
.landscape { height: 400px; position: relative; }
.landscape > img, .landscape > .wp-block-image { position: absolute; inset: 0; width: 100%; height: 100%; }
.landscape img { filter: brightness(.62); }
.landscape > div { position: absolute; left: 7%; right: 7%; top: 65px; color: white; }
.landscape h2 em, .landscape p { color: #fff4f8; }
.landscape p:not(.eyebrow) { margin-top: 22px; }
.two-columns { margin-top: 30px; }
.two-columns h3, .split-details h2 { margin-bottom: 20px; }
.page-cta { display: flex; flex-direction: column; align-items: flex-start; gap: 30px; background: #edd0dd; }
.page-cta h2 { font-size: 2rem; }
.page-cta p { margin-top: 16px; max-width: 44rem; }
.page-cta .button, .page-cta .wp-block-buttons { flex-shrink: 0; }
.event-list { margin-top: 35px; }
.event-row { display: grid; gap: 12px; padding: 25px 0; border-top: 1px solid #cba5b7; }
.event-row:last-child { border-bottom: 1px solid #cba5b7; }
.event-date { color: var(--primary); font-weight: 600; }
.schedule-label { font-size: .875rem; color: var(--primary); }
.contact { background: #57243a; color: #fff5f9; }
.contact h2 em { color: #efaac5; }
.contact .eyebrow { color: #efb4cc; }
.contact p { color: #e7c8d5; max-width: 30rem; margin: 25px 0; }
.contact .text-link, .contact-main .text-link { display: block; width: fit-content; margin-top: 18px; }
.contact .text-link { color: #f4d7e3; }
.visit { padding-top: 28px; border-top: 1px solid #986078; }
.visit h3 { margin-bottom: 24px; }
address { font-style: normal; }
.visit address { color: #ecd3de; }
.visit p { font-size: .875rem; }
.contact-main h2 { margin-bottom: 24px; }
.address-card { background: #f5dce6; padding: 28px; }
.address-card address, .address-text { margin: 22px 0; }
.enquiry-slot { margin-top: 40px; padding-top: 30px; border-top: 1px solid var(--border); }
.directions-grid { margin-top: 40px; }
footer { padding: 38px 7% 20px; display: flex; flex-direction: column; align-items: flex-start; gap: 22px; }
footer > p { font: italic 1.0625rem Georgia, serif; }
footer > a:last-of-type { font-size: .875rem; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 15px; border-top: 1px solid var(--border); width: 100%; padding-top: 20px; font-size: .75rem; color: #79616b; }
.footer-bottom > div { display: flex; flex-wrap: wrap; gap: 24px; }
.skip { position: absolute; top: -70px; background: white; padding: 12px; z-index: 200; }
.skip:focus { top: 0; }
.grove-page > .wp-block-group { max-width: none; margin-block: 0; }
.grove-page .wp-block-buttons { margin-top: 24px; }
.grove-page .page-cta > .wp-block-buttons { margin-top: 0; }
.hero-location p { font-size: .75rem; margin: 0 !important; }
.standard-page { padding: 55px 7%; }
.standard-page .wp-block-image img { height: auto; }
.wp-block-list { padding-left: 1.4em; }
.detail-list.wp-block-list { padding-left: 0; }
.landscape > .wp-block-image img {width: 100%;height: 100%;object-fit: cover;}

@media (min-width: 601px) {
  .admin-bar .site-header { top: 46px; }
}
@media (min-width: 761px) {
  .section { padding: 80px 7%; }
  .welcome, .editorial, .split-details, .two-columns, .livery-detail, .contact, .contact-main { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7%; }
  .cards, .facility-list, .directions-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
  .facts { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .facts > div + div { border-left: 1px solid #cba2b3; padding-left: 20px; }
  .section-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 25px; }
  .section-heading > p, .section-heading > .button { margin-top: 0; }
  .visit { border-top: 0; border-left: 1px solid #986078; padding: 0 0 0 35px; }
  .landscape { height: 470px; }
  .landscape > div { top: 85px; }
  .event-row { grid-template-columns: 1fr 1.5fr auto; align-items: center; gap: 25px; }
  footer { flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between; padding: 50px 5% 20px; }
}
@media (min-width: 783px) {
  .admin-bar .site-header { top: 32px; }
}

@media (min-width: 950px) {
  .hero, .page-hero { grid-template-columns: repeat(2, minmax(0, 1fr)); min-height: 680px; }
  .hero-copy, .page-hero > div { min-height: 680px; padding: 45px 10%; }
  .hero-image, .page-hero > img, .page-hero > .wp-block-image { height: 100%; min-height: 680px; }
  .page-hero > img { position: absolute; }
  .page-hero { position: relative; }
  .page-hero > img { left: 50%; top: 0; width: 50%; }
.location {display:block;}
}

@media (min-width: 1001px) {
  html { scroll-padding-top: 130px; }
  .topbar { justify-content: space-between; }
  .topbar > a { display: block; }
  .site-header { min-height: 108px; padding: 12px 5%; flex-wrap: nowrap; gap: 25px; }
  .brand { font-size: 1.375rem; gap: 14px; }
  .brand-logo { width: 70px; height: 73px; }
  #logo { flex: initial; }
  .js .menu-toggle { display: none; }
  .header-enquiry { display: inline-flex !important; }
  #menu, .js #menu { display: block; position: static; flex-basis: auto; padding: 0; border: 0; background: transparent; max-height: none; overflow: visible; box-shadow: none; }
  #menu ul, .js #menu ul { flex-direction: row; flex-wrap: nowrap; gap: 24px; }
  .js #menu li + li { border: 0; }
  #menu a { font-size: .875rem; white-space: nowrap; }
  .page-cta { flex-direction: row; align-items: center; justify-content: space-between; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

