/* ==========================================================================
   The Richmond Dog Trainer — main stylesheet
   --------------------------------------------------------------------------
   One stylesheet for the whole site. Sections, in order:
     1.  Colours, fonts and sizes (edit these first)
     2.  Base / reset
     3.  Layout helpers (container, sections, columns)
     4.  Headings and text
     5.  Buttons
     6.  Header and navigation (desktop + mobile menu)
     7.  Footer
     8.  Homepage: hero, intro, gallery, reviews, socials, badges
     9.  Blog cards (homepage + Dog Blog page)
     10. Service pages (1-2-1, Group classes, Therapy, Walks)
     11. About page
     12. Contact page and forms
     13. Blog post pages
     14. Phone / small-screen adjustments
   ========================================================================== */


/* 1. Colours, fonts and sizes
   ========================================================================== */
:root {
  /* Brand colours (match the live GoDaddy site and brand kit) */
  --yellow:        #ffd703;   /* Sunshine Yellow: buttons, yellow sections */
  --charcoal:      #161616;   /* header, dark buttons, footer on some pages */
  --black:         #000000;   /* footer on most pages */
  --ink:           #1b1b1b;   /* small headings */
  --text:          #5e5e5e;   /* body text on white/grey sections */
  --text-on-yellow:#443f33;   /* body text on yellow sections */
  --gold:          #ad9202;   /* big gold headings */
  --gold-dark:     #a68c02;   /* "Pricing" + Therapy section heading */
  --gold-therapy:  #a8951e;   /* Therapy page main heading */
  --gold-link:     #8a7401;   /* "Continue Reading" + blog links */
  --rule:          #dfbc00;   /* short line under section headings */
  --mist:          #f6f6f6;   /* light grey sections */
  --line:          #e2e2e2;   /* borders */
  --star:          #fbcf1e;   /* review stars */

  /* Fonts (both free from Google Fonts — loaded in each page's <head>) */
  --font-heading: "League Spartan", Arial, Helvetica, sans-serif;
  --font-body:    "Quicksand", Arial, Helvetica, sans-serif;

  /* Layout */
  --container: 1160px;   /* max page width including side padding */
  --gutter: 24px;        /* side padding */
  --section-space: 56px; /* space above and below each section */
}


/* 2. Base / reset
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: #ffffff;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
}

img { max-width: 100%; height: auto; display: block; }

a { color: inherit; }

p { margin: 0; }

ul { margin: 0; }

/* Keyboard focus outline (accessibility) */
a:focus-visible, button:focus-visible, summary:focus-visible,
input:focus-visible, textarea:focus-visible, label:focus-visible {
  outline: 2px solid var(--gold-link);
  outline-offset: 2px;
}

/* Text only for screen readers */
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}


/* 3. Layout helpers
   ========================================================================== */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* Narrow centred column (forms, call-to-action buttons) */
.container--narrow { max-width: calc(725px + 2 * var(--gutter)); }

.section { padding: var(--section-space) 0; }

/* Section background colours */
.section--white  { background: #ffffff; }
.section--mist   { background: var(--mist); }
.section--yellow { background: var(--yellow); color: var(--text-on-yellow); }

/* Two equal columns */
.columns-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

/* Three equal columns */
.columns-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
}

/* One-third image + two-thirds text */
.columns-third {
  display: grid;
  grid-template-columns: 339px 1fr;
  gap: 48px;
  align-items: start;
}

.text-center { text-align: center; }


/* 4. Headings and text
   ========================================================================== */
h1, h2, h3, h4 { margin: 0; font-weight: 400; }

/* Big section heading in League Spartan (e.g. "Contact Me", "About Us") */
.section-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 44px;
  line-height: 1.25;
  text-align: center;
  color: var(--gold);
  margin-bottom: 40px;
  overflow-wrap: break-word;
}

/* The short gold line under some section headings */
.section-title--rule::after {
  content: "";
  display: block;
  width: 50px;
  margin: 24px auto 0;
  border-bottom: 2px solid var(--rule);
}

/* Big heading in Quicksand instead (e.g. "1-2-1 Training", "Pricing") */
.section-title--quicksand {
  font-family: var(--font-body);
  font-weight: 400;
}

.section-title--dark  { color: var(--charcoal); }
.section-title--white { color: #ffffff; }

/* Smaller headings above a block of text (e.g. "121 PUPPY TRAINING") */
.block-title {
  font-size: 22px;
  line-height: 1.25;
  color: var(--ink);
  margin: 32px 0 16px;
}

/* Larger block headings (Therapy and About pages) */
.block-title--large {
  font-size: 32px;
  color: #151515;
  margin: 0 0 24px;
}

/* Rich text blocks — spacing comes from the empty lines copied from the live site */
.rich-text p, .rich-text li { font-size: 16px; line-height: 1.5; }
.rich-text ul { padding-left: 24px; }
.rich-text a { color: var(--ink); }
.section--yellow .rich-text a { color: var(--charcoal); }

/* An empty line (the live site uses blank paragraphs for spacing) */
.spacer { height: 24px; }


/* 5. Buttons
   ========================================================================== */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 8px 40px;
  border: 0;
  border-radius: 48px;
  background: var(--yellow);
  color: #161514;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .2s ease;
}

.button:hover { background: #ffe03d; }

.button--dark { background: var(--charcoal); color: #dbdbdb; }
.button--dark:hover { background: #333333; }

/* Full-width button inside a narrow column (e.g. "BOOK 1-2-1 SESSIONS") */
.button--block { display: flex; width: 100%; }

/* Stacked list of buttons (homepage intro) */
.button-stack { display: flex; flex-direction: column; align-items: flex-start; gap: 32px; }

/* WhatsApp button on the Contact page */
.button--whatsapp {
  gap: 10px;
  background: #455a64;
  color: #ffffff;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 16px;
  letter-spacing: 0;
  text-transform: none;
  padding: 8px 32px;
}
.button--whatsapp:hover { background: #37474f; }
.button--whatsapp svg { width: 24px; height: 24px; flex: none; }


/* 6. Header and navigation
   ========================================================================== */
/* The header is fixed to the top of the screen. It starts tall (148px) and,
   in browsers that support scroll-linked CSS animations, shrinks to 112px
   and darkens as you scroll — the same as the live site. Other browsers
   simply show the darker bar all the time. */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: 148px;
  background: var(--charcoal);
  --header-top-bg: var(--charcoal);
}

/* Homepage: see-through header over the big photo */
.site-header--overlay {
  background: rgba(22, 22, 22, 0.9);
  --header-top-bg: rgba(22, 22, 22, 0.25);
}

/* Pushes page content below the fixed header (not used on the homepage) */
.header-spacer { height: 148px; background: var(--charcoal); }

.site-header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
}

.site-header__logo img { width: auto; height: 100px; }

@supports (animation-timeline: scroll()) {
  .site-header {
    animation: header-shrink linear both;
    animation-timeline: scroll(root);
    animation-range: 0 120px;
  }
  .site-header__logo img {
    animation: logo-shrink linear both;
    animation-timeline: scroll(root);
    animation-range: 0 120px;
  }
  @keyframes header-shrink {
    from { height: 148px; background: var(--header-top-bg); }
    to   { height: 112px; background: rgba(22, 22, 22, 0.9); }
  }
  @keyframes logo-shrink {
    from { height: 100px; }
    to   { height: 64px; }
  }
}

/* Desktop menu */
.site-nav__list {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav a,
.site-nav summary {
  color: #f7f7f7;
  font-size: 14px;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
}

.site-nav a:hover,
.site-nav summary:hover,
.site-nav a[aria-current="page"] { color: #ffffff; }

.site-nav a[aria-current="page"] { font-weight: 700; }

/* "Services" drop-down (uses <details>, so it works without JavaScript) */
.site-nav__dropdown { position: relative; }

.site-nav__dropdown summary {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 6px;
}
.site-nav__dropdown summary::-webkit-details-marker { display: none; }

/* Small down-arrow after "Services" */
.site-nav__dropdown summary::after {
  content: "";
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 6px solid currentColor;
}

.site-nav__submenu {
  position: absolute;
  top: calc(100% + 16px);
  right: 0;
  min-width: 240px;
  margin: 0;
  padding: 16px 24px;
  list-style: none;
  background: #ffffff;
  border-radius: 4px;
  box-shadow: 0 3px 6px 3px rgba(0, 0, 0, 0.24);
}

.site-nav__submenu li { white-space: nowrap; }
.site-nav__submenu li + li { margin-top: 12px; }

.site-nav .site-nav__submenu a {
  color: var(--ink);
  font-size: 16px;
  letter-spacing: 0;
  text-transform: none;
}
.site-nav .site-nav__submenu a:hover { color: var(--gold-link); }

/* Mobile menu button (hidden on desktop). Uses a hidden checkbox so the
   menu opens and closes without JavaScript. */
.nav-toggle { position: absolute; opacity: 0; pointer-events: none; }
.nav-toggle__open,
.nav-toggle__close { display: none; cursor: pointer; color: #ffffff; }


/* 7. Footer
   ========================================================================== */
.site-footer {
  background: var(--black);
  padding: var(--section-space) 0;
  text-align: center;
}

/* Some pages on the live site use the charcoal footer instead of black */
.site-footer--charcoal { background: var(--charcoal); }

.site-footer__copyright { color: #969696; font-size: 14px; line-height: 1.5; }

.site-footer__nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
}

.site-footer__nav a {
  display: block;
  padding: 8px 12px;
  color: #e2e2e2;
  font-size: 14px;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-decoration: none;
}
.site-footer__nav a:hover { color: #ffffff; }


/* 8. Homepage
   ========================================================================== */
/* Hero: big photo with "Welcome!" */
.hero {
  position: relative;
  min-height: 765px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 148px var(--gutter) 56px;
  background-color: var(--charcoal);
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.05)),
    url("../images/home/hero-dog-in-field.jpg");
  background-size: cover;
  background-position: center;
  color: #ffffff;
  text-align: center;
}

.hero__title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 62px;
  line-height: 1.2;
}

.hero__text {
  max-width: 718px;
  margin: 16px auto 32px;
  font-size: 22px;
  line-height: 1.5;
}

.hero .button { color: #000000; }

/* Gallery: three columns of photos (masonry style) */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  align-items: start;
}
.gallery__column { display: flex; flex-direction: column; gap: 8px; }
.gallery img { width: 100%; }

/* Reviews band. The live GoDaddy site has this photo set as the background
   but it never loaded there (visitors saw grey). Here it is switched on, with a
   light dark overlay so the white heading stays readable. To go back to plain
   grey, delete the background-image line. */
.reviews {
  background-color: #bbbbbb;
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.24), rgba(0, 0, 0, 0.24)),
    url("../images/home/reviews-background.jpg");
  background-size: cover;
  background-position: 50% 40%;
  /* extra space at the top so the puppy's face shows above the heading and cards */
  padding: var(--reviews-top-space, 400px) 0 80px;
}

.reviews__list {
  display: flex;
  justify-content: center;
  gap: 48px;
  margin: 0;
  padding: 24px 0;
  list-style: none;
}

.review-card {
  display: block;
  width: 290px;
  min-height: 377px;
  padding: 28px 24px;
  background: #ffffff;
  box-shadow: 2px 6px 30px rgba(0, 0, 0, 0.18);
  text-align: center;
  text-decoration: none;
  color: var(--ink);
}

.review-card__initial {
  width: 100px;
  height: 100px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: rgba(240, 240, 240, 0.8);
  color: #cbcbcb;
  font-size: 62px;
  line-height: 100px;
}

.stars { display: flex; justify-content: center; gap: 0; margin-bottom: 16px; color: var(--star); }
.stars svg { width: 20px; height: 20px; fill: currentColor; }

.review-card__title { font-size: 22px; margin-bottom: 12px; }
.review-card__quote { font-size: 16px; line-height: 1.3; }
.review-card__meta { margin-top: 24px; font-size: 12px; color: #595959; }

/* Full review pop-up (opens when a card is clicked; CSS only, using #links) */
.review-popup {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;
  align-items: center;
  justify-content: center;
  padding: var(--gutter);
  background: rgba(0, 0, 0, 0.6);
}
.review-popup:target { display: flex; }

.review-popup__box {
  position: relative;
  max-width: 560px;
  width: 100%;
  padding: 48px 32px 32px;
  background: #ffffff;
  text-align: center;
  color: var(--ink);
}

.review-popup__close {
  position: absolute;
  top: 12px;
  right: 16px;
  font-size: 28px;
  line-height: 1;
  text-decoration: none;
  color: var(--ink);
}

.review-popup__text { color: #000000; line-height: 1.3; margin: 16px 0 24px; }

/* Socials */
.socials { display: flex; justify-content: center; }
.socials a { display: flex; align-items: center; justify-content: center; width: 96px; height: 56px; }
.socials svg { width: 24px; height: 24px; }

/* Badges / memberships row */
.badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 32px 0;
}
.badges img { height: 100px; width: auto; }


/* 9. Blog cards (homepage + Dog Blog page)
   ========================================================================== */
/* Banner with a background photo (used on the homepage and the Dog Blog page).
   The photo is images/blog/blog-banner-background.jpg (golden retriever, from
   Pexels, free to use). It is a real <img> placed behind the content (rather than
   a CSS background) so it also shows reliably on phones. The extra space at the top
   lets the dog's face show above the title and cards. To move the dog up or down,
   change the second "object-position" value (0% = top of photo, 100% = bottom).
   The brightness() filter gives the same 24% dark tint as before. */
.blog-banner {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: var(--banner-top-space, 380px) 0 var(--section-space);
  background-color: #6b6b6b;
}
.blog-banner__photo {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 100%;
  filter: brightness(0.76);
  z-index: -1;
}
/* Homepage: a little less space above the dog (the badges section sits right above) */
.blog-banner--home { --banner-top-space: 290px; }

/* Horizontally scrolling row of cards (swipe on phones) */
.blog-cards {
  display: flex;
  gap: 25px;
  margin: 0;
  padding: 0 var(--gutter) 16px;
  list-style: none;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
}

/* Centre the cards when they fit; otherwise start at the left so all can be scrolled to */
.blog-card:first-child { margin-left: auto; }
.blog-card:last-child  { margin-right: auto; }

.blog-card {
  flex: 0 0 245px;
  scroll-snap-align: start;
  background: #ffffff;
  border: 1px solid var(--line);
}

.blog-card a { display: block; height: 100%; text-decoration: none; color: var(--ink); text-align: center; }

.blog-card__image {
  height: 140px;
  background-size: cover;
  background-position: center;
}

.blog-card__body { padding: 16px; }
.blog-card__date { font-size: 14px; color: #595959; }
.blog-card__title { font-size: 22px; line-height: 1.125; margin: 8px 0 16px; }
.blog-card__more { color: var(--gold-link); }


/* 10. Service pages
   ========================================================================== */
/* Intro line under the page heading (1-2-1 page) */
.page-intro {
  max-width: 1112px;
  margin: -24px auto 40px;
  font-size: 22px;
  line-height: 1.5;
  text-align: center;
}

/* Subheading under the page heading (Group classes page) */
.page-subtitle {
  font-size: 22px;
  line-height: 1.25;
  color: var(--ink);
  text-align: center;
  margin-bottom: 40px;
}

/* A service: photo, heading, text. Each is 360px wide and centred in its column */
.service {
  width: 100%;
  max-width: 360px;
  margin: 0 auto;
}

.service img { width: 100%; }

/* Pricing lists */
.price-list .block-title { margin-top: 0; color: #151515; }

/* The therapy-dog photo slideshow (swipe/scroll; thumbnails jump to a photo) */
.slideshow {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 8px;
}
.slideshow img:first-child { margin-left: auto; }
.slideshow img:last-child  { margin-right: auto; }
.slideshow img { flex: none; height: 600px; width: auto; scroll-snap-align: center; }

.slideshow-thumbs { display: flex; gap: 10px; margin-top: 16px; }
.slideshow-thumbs img { width: 70px; height: 70px; object-fit: cover; }

/* Therapy page main heading: bigger and a slightly different gold */
.section-title--therapy { font-size: 62px; line-height: 1.2; color: var(--gold-therapy); }

/* Row of three photos at the bottom of the Group classes page */
.photo-row { display: flex; justify-content: center; align-items: center; gap: 8px; }
.photo-row img { width: calc((100% - 16px) / 3); }
.photo-row img:nth-child(2) { aspect-ratio: 1; object-fit: cover; }

/* Empty image space on the Therapy page (the live site shows a blank square here) */
.empty-image { width: 339px; height: 339px; }
.partner-logo { width: 100%; max-width: 339px; height: auto; align-self: start; }

.small-print { text-align: center; }


/* 11. About page
   ========================================================================== */
.about-photo { width: 100%; height: auto; aspect-ratio: 532 / 400; object-fit: cover; }


/* 12. Contact page and forms
   ========================================================================== */
.form { display: flex; flex-direction: column; gap: 24px; }

/* Field with a label that sits inside the box and moves up when you type */
.field { position: relative; }

.field input,
.field textarea {
  width: 100%;
  padding: 23px 16px 7px;
  border: 1px solid #000000;
  border-radius: 4px;
  background: transparent;
  color: #2c2a24;
  font-family: var(--font-body);
  font-size: 16px;
}

.field input { height: 52px; }
.field textarea { height: 202px; resize: vertical; padding-top: 16px; }

.field label {
  position: absolute;
  left: 17px;
  top: 15px;
  color: #2c2a24;
  font-size: 16px;
  pointer-events: none;
  transition: all .15s ease;
}

/* Move the label up once the field is in use */
.field input:focus + label,
.field input:not(:placeholder-shown) + label {
  top: 5px;
  font-size: 12px;
}

/* The message box shows its prompt as a placeholder, like the live site */
.field textarea::placeholder { color: #2c2a24; opacity: 1; }

.checkbox {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: #443f33;
}
.checkbox input { width: 18px; height: 18px; accent-color: var(--charcoal); }

.form__submit { align-self: center; }
.form--contact-page .form__submit { align-self: stretch; }

/* Spam trap for robots — never shown to people */
.form__honeypot { display: none; }

.contact-details h4 { font-size: 22px; color: #000000; margin: 32px 0 16px; }
.contact-details h4:first-child { margin-top: 0; }
.contact-details a { color: var(--charcoal); }

.hours { border-collapse: collapse; }
.hours td { padding: 2px 24px 2px 0; }


/* 13. Blog post pages
   ========================================================================== */
.post-title-band { padding: var(--section-space) 0 0; }

.post-layout {
  display: grid;
  grid-template-columns: minmax(0, 596px) 1px 300px;
  gap: 48px;
  justify-content: center;
  padding-top: 40px;
}

.post-layout__divider { background: var(--line); }

.post__back { display: inline-flex; align-items: center; gap: 4px; color: var(--gold-link); font-size: 14px; text-decoration: none; }
.post__title { font-size: 28px; color: var(--gold); margin: 16px 0 4px; line-height: 1.25; }
.post__date { font-size: 12px; color: #595959; margin-bottom: 24px; }

.post__body p { margin-bottom: 16px; }
.post__body img { width: 100%; margin-bottom: 16px; }
.post__body figure { margin: 0 0 16px; }
.post__body figcaption { font-size: 14px; text-align: center; }

.share { display: flex; align-items: center; gap: 12px; margin-top: 32px; font-size: 14px; color: var(--ink); }
.share a { display: flex; }
.share svg { width: 20px; height: 20px; }

.recent-posts h4 { font-size: 22px; color: var(--ink); margin-bottom: 24px; }
.recent-posts ul { list-style: none; padding: 0; margin: 0; }
.recent-posts li + li { margin-top: 32px; }
.recent-posts a { display: flex; gap: 16px; text-decoration: none; color: var(--ink); }
.recent-posts img { width: 110px; height: 110px; object-fit: cover; flex: none; }
.recent-posts__date { font-size: 12px; color: #595959; margin-top: 8px; }


/* 14. Phone / small-screen adjustments
   ========================================================================== */
@media (max-width: 1023px) {
  .columns-third { grid-template-columns: 1fr 2fr; }
  .reviews__list { flex-wrap: wrap; }
  .post-layout { grid-template-columns: minmax(0, 1fr); }
  .post-layout__divider { display: none; }
}

@media (max-width: 767px) {
  :root { --section-space: 40px; }

  /* Header: smaller, with a menu button */
  .site-header,
  .header-spacer { height: 96px; }
  .site-header--overlay { --header-top-bg: rgba(22, 22, 22, 0.25); }
  .site-header__inner { padding: 0 var(--gutter); }
  .site-header__logo img { height: 80px; }
  @supports (animation-timeline: scroll()) {
    @keyframes header-shrink {
      from { height: 96px; background: var(--header-top-bg); }
      to   { height: 80px; background: rgba(22, 22, 22, 0.9); }
    }
    @keyframes logo-shrink {
      from { height: 80px; }
      to   { height: 64px; }
    }
  }

  .nav-toggle__open { display: block; }
  .nav-toggle__open svg, .nav-toggle__close svg { width: 28px; height: 28px; display: block; }

  /* Full-height menu panel that slides in from the right */
  .site-nav {
    position: fixed;
    top: 0; right: 0; bottom: 0;
    width: 100%;
    padding: 72px var(--gutter) 24px;
    background: var(--charcoal);
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform .25s ease;
  }
  .nav-toggle:checked ~ .site-nav { transform: translateX(0); }

  .nav-toggle__close { display: block; position: absolute; top: 24px; right: var(--gutter); }

  .site-nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .site-nav__list > li { border-bottom: 1px solid rgba(255, 255, 255, 0.15); }
  .site-nav a,
  .site-nav summary {
    display: block;
    padding: 16px 0;
    font-size: 22px;
    letter-spacing: 0;
    text-transform: none;
  }
  .site-nav__dropdown summary { display: flex; }
  .site-nav__submenu {
    position: static;
    min-width: 0;
    padding: 0 0 8px 16px;
    background: none;
    box-shadow: none;
  }
  .site-nav__submenu li + li { margin-top: 0; }
  .site-nav .site-nav__submenu a { color: #f7f7f7; font-size: 18px; padding: 10px 0; }

  /* Headings */
  .section-title { font-size: 32px; line-height: 1.4; }
  .section-title--therapy { font-size: 40px; }
  .page-intro { font-size: 22px; margin-top: -16px; }

  /* Hero */
  .hero { min-height: 500px; padding-top: 112px; }
  .hero__title { font-size: 40px; }
  .hero .button { width: 100%; }

  /* Stack all columns */
  .columns-2,
  .columns-3,
  .columns-third { grid-template-columns: 1fr; }
  .service { max-width: none; }
  .button-stack .button { max-width: 100%; }

  /* Gallery: one column, photos in the same order as the live site */
  .gallery { grid-template-columns: 1fr; }
  .gallery__column { display: contents; }

  /* Reviews */
  .reviews__list { flex-direction: column; align-items: center; gap: 24px; }
  .review-card { width: 100%; max-width: 327px; }

  .badges { justify-content: center; }


  .slideshow img { height: 420px; }
  .photo-row { flex-direction: column; }
  .photo-row img { width: 100%; }

  .empty-image { display: none; }

  /* Dog Blog banner on phones: taller, so the dog's face sits above the title */
  .blog-banner { --banner-top-space: 460px; }
  .blog-banner--home { --banner-top-space: 360px; }
  /* Reviews on phones: the cards stack, so the section is very tall. Show the puppy at a
     fixed size at the top (face above the heading) and fade the photo into grass-green below. */
  .reviews {
    --reviews-top-space: 330px;
    background-color: #6a8738;
    background-image:
      linear-gradient(rgba(0, 0, 0, 0.24), rgba(0, 0, 0, 0.24)),
      linear-gradient(to bottom, rgba(106, 135, 56, 0) 860px, #6a8738 1000px),
      url("../images/home/reviews-background.jpg");
    background-size: 100% 100%, 100% 100%, auto 1000px;
    background-position: 0 0, 0 0, 55% 0;
    background-repeat: no-repeat;
  }
  .partner-logo { max-width: 280px; margin: 0 auto; }
}
