/* =============================================
   Oriental Herbs & Acupuncture Clinic
   Main Stylesheet
   ============================================= */

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

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body, h1, h2, h3, h4, h5, h6, p, ul, ol, li { margin: 0; padding: 0; }
h1, h2, h3, h4, h5, h6 { font-weight: normal; }
ol, ul { list-style: none; }
img { border: 0; max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }

/* --- Base --- */
body {
  font-family: 'Roboto', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #222;
  background-color: #75a63f;
  background-image: url('images/page-texture.png');
  background-repeat: repeat;
  overflow-x: hidden;
}

/* =============================================
   HEADER
   ============================================= */
.site-header {
  background-color: rgb(248, 200, 197);
  width: 100%;
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.header-brand h1 {
  font-family: 'Roboto Slab', serif;
  font-size: 28px;
  color: rgb(244, 243, 239);
  line-height: 1.2;
  margin-bottom: 6px;
}

.header-brand h1 a {
  color: inherit;
}

.header-brand .phone {
  font-size: 18px;
  color: rgb(233, 233, 222);
}

/* --- Nav --- */
.site-nav ul {
  display: flex;
  align-items: center;
  gap: 4px;
}

.site-nav li {
  position: relative;
}

.site-nav a {
  display: block;
  padding: 10px 16px;
  font-family: 'Roboto Slab', serif;
  font-size: 16px;
  color: rgb(37, 37, 37);
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s;
  white-space: nowrap;
}

.site-nav a:hover,
.site-nav a.active {
  border-bottom-color: rgb(37, 37, 37);
}

.site-nav a.active {
  font-weight: bold;
}

/* --- Header Address Strip --- */
.header-address {
  background-color: rgb(248, 200, 197);
  padding: 6px 24px 12px;
}

.header-address p {
  max-width: 1200px;
  margin: 0 auto;
  color: rgb(244, 238, 238);
  font-size: 18px;
  text-align: right;
  padding-right: 0;
}

/* --- Green Strip --- */
.green-strip {
  height: 4px;
  background-color: rgb(54, 208, 68);
  width: 100%;
}

/* --- Hamburger (mobile) --- */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: rgb(37, 37, 37);
}

/* =============================================
   SECTIONS / WRAPPERS
   ============================================= */
.section {
  width: 100%;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* =============================================
   CTA BANNER
   ============================================= */
.cta-banner {
  background-color: #fff;
  padding: 24px;
  text-align: center;
}

.cta-banner p {
  font-size: 22px;
  color: #222;
}

/* =============================================
   HERO SECTION
   ============================================= */
.hero {
  background-image: url('images/hero-background.jpg');
  background-size: cover;
  background-position: center;
  padding: 60px 24px;
}

.hero .container {
  display: flex;
  gap: 40px;
  align-items: flex-start;
}

.hero-text {
  flex: 1;
}

.hero-text h2 {
  font-family: 'Roboto Slab', serif;
  font-size: 36px;
  color: rgb(46, 210, 36);
  margin-bottom: 20px;
  line-height: 1.2;
}

.hero-text .highlights {
  font-size: 22px;
  color: rgb(46, 210, 36);
  margin-bottom: 20px;
}

.hero-text .highlights li {
  list-style: disc;
  margin-left: 24px;
  margin-bottom: 4px;
}

.hero-text h3 {
  font-size: 22px;
  font-weight: bold;
  color: #de1616;
  margin-bottom: 12px;
}

.hero-text p {
  font-size: 18px;
  color: #222;
  margin-bottom: 20px;
}

.hero-image {
  flex-shrink: 0;
  width: 420px;
}

.hero-image img {
  width: 100%;
  border: 1px dashed #000;
}

/* =============================================
   THERAPIES SECTION
   ============================================= */
.therapies-section {
  background-color: transparent;
  padding: 60px 24px;
}

.therapies-section h2.section-title {
  font-family: 'Roboto Slab', serif;
  font-size: 42px;
  text-align: center;
  color: #222;
  margin-bottom: 48px;
}

.therapies-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  max-width: 1200px;
  margin: 0 auto;
}

.therapy-card {
  background-color: rgba(255,255,255,0.85);
  border-radius: 8px;
  padding: 32px 24px;
  text-align: center;
}

.therapy-card img {
  width: 60px;
  height: 60px;
  margin: 0 auto 16px;
  object-fit: contain;
}

.therapy-card i {
  font-size: 52px;
  color: #75a63f;
  display: block;
  margin: 0 auto 16px;
  text-align: center;
}

.therapy-card h3 {
  font-family: 'Roboto Slab', serif;
  font-size: 20px;
  margin-bottom: 12px;
}

.therapy-card h3 a {
  color: #222;
}

.therapy-card h3 a:hover {
  text-decoration: underline;
}

.therapy-card p {
  font-size: 15px;
  line-height: 1.6;
  color: #333;
}

/* =============================================
   BENEFITS SECTION
   ============================================= */
.benefits-section {
  background-color: rgb(255, 178, 102);
  padding: 60px 24px;
}

.benefits-section h2.section-title {
  font-family: 'Roboto Slab', serif;
  font-size: 42px;
  text-align: center;
  color: #fff;
  margin-bottom: 40px;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}

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

.benefit-item img {
  width: 60px;
  height: 60px;
  margin: 0 auto 12px;
  object-fit: contain;
}

.benefit-item i {
  font-size: 52px;
  color: #fff;
  display: block;
  margin: 0 auto 12px;
  text-align: center;
}

.benefit-item p {
  color: #fff;
  font-size: 15px;
  line-height: 1.5;
}

/* =============================================
   ABOUT SECTION
   ============================================= */
.about-section {
  background-image: url('images/leaf-background.jpg');
  background-size: cover;
  background-position: center;
  padding: 60px 24px;
}

.about-box {
  max-width: 860px;
  margin: 0 auto;
  background-color: rgba(242, 242, 242, 0.9);
  border-radius: 8px;
  padding: 48px;
}

.about-box h2 {
  font-family: 'Roboto Slab', serif;
  font-size: 42px;
  text-align: center;
  margin-bottom: 24px;
}

.about-box p {
  font-size: 17px;
  margin-bottom: 16px;
  line-height: 1.75;
}

.about-box .about-photo {
  width: 380px;
  max-width: 100%;
  margin: 24px auto 0;
  display: block;
}

/* =============================================
   PRICING SECTION
   ============================================= */
.pricing-section {
  padding: 60px 24px;
}

.pricing-section h2.section-title {
  font-family: 'Roboto Slab', serif;
  font-size: 42px;
  text-align: center;
  color: #fff;
  margin-bottom: 12px;
}

.pricing-section .pricing-summary {
  text-align: center;
  color: #fff;
  font-size: 16px;
  margin-bottom: 40px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.pricing-card {
  background-color: #fff;
  border-radius: 8px;
  border: 1px solid #ddd;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.pricing-card-header {
  padding: 28px 24px 0;
  text-align: center;
}

.pricing-card-header h3 {
  font-family: 'Roboto Slab', serif;
  font-size: 20px;
  margin-bottom: 6px;
}

.pricing-card-header .session-type {
  font-size: 14px;
  color: #666;
  margin-bottom: 16px;
}

.pricing-card-divider {
  height: 2px;
  background-color: rgb(255, 178, 102);
  margin: 0 24px;
}

.pricing-card-body {
  padding: 20px 24px;
  flex: 1;
}

.pricing-card-body li {
  padding: 4px 0;
  font-size: 15px;
  list-style: disc;
  margin-left: 16px;
}

.pricing-card-price {
  background-color: rgb(248, 248, 248);
  padding: 16px 24px;
  text-align: center;
  font-size: 22px;
  font-weight: bold;
}

.pricing-card-footer {
  padding: 16px 24px 28px;
  text-align: center;
}

/* =============================================
   BUTTONS
   ============================================= */
.btn {
  display: inline-block;
  padding: 12px 28px;
  background-color: rgb(37, 37, 37);
  color: #fff;
  font-family: 'Roboto Slab', serif;
  font-size: 15px;
  border-radius: 4px;
  border: 2px solid rgb(37, 37, 37);
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s;
  text-align: center;
}

.btn:hover {
  background-color: transparent;
  color: rgb(37, 37, 37);
}

.btn-outline {
  background-color: transparent;
  color: rgb(37, 37, 37);
}

.btn-outline:hover {
  background-color: rgb(37, 37, 37);
  color: #fff;
}

/* =============================================
   PAGE HERO (interior pages)
   ============================================= */
.page-hero {
  background-color: rgba(242, 242, 242, 0.9);
  padding: 60px 24px;
}

.page-hero-inner {
  max-width: 900px;
  margin: 0 auto;
}

.page-hero-inner h2 {
  font-family: 'Roboto Slab', serif;
  font-size: 42px;
  margin-bottom: 24px;
  text-align: center;
}

/* =============================================
   ABOUT PAGE SPECIFIC
   ============================================= */
.about-page-section {
  background-image: url('images/leaf-background.jpg');
  background-size: cover;
  background-position: center;
  padding: 60px 24px;
}

/* Testimonials */
.testimonials-section {
  background-color: rgba(255,255,255,0.9);
  padding: 60px 24px;
}

.testimonials-section h2.section-title {
  font-family: 'Roboto Slab', serif;
  font-size: 36px;
  text-align: center;
  margin-bottom: 36px;
}

.testimonial-card {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.testimonial-card blockquote {
  font-size: 20px;
  font-style: italic;
  margin-bottom: 12px;
}

.testimonial-card cite {
  font-size: 16px;
  color: #555;
}

/* =============================================
   THERAPIES PAGE SPECIFIC
   ============================================= */
.therapy-detail {
  background-color: rgba(255,255,255,0.9);
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 24px;
  display: flex;
  gap: 36px;
  align-items: flex-start;
}

.therapy-detail img {
  width: 260px;
  flex-shrink: 0;
  border-radius: 8px;
}

.therapy-detail-text h2 {
  font-family: 'Roboto Slab', serif;
  font-size: 32px;
  margin-bottom: 16px;
}

.therapy-detail-text p {
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 12px;
}

.therapies-page-section {
  padding: 60px 0;
}

.therapies-page-section .therapy-detail + .therapy-detail {
  border-top: 1px solid #ddd;
}

/* =============================================
   CONTACT PAGE
   ============================================= */
.contact-section {
  background-color: rgba(255,255,255,0.92);
  padding: 60px 24px;
}

.contact-inner {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.contact-inner h2 {
  font-family: 'Roboto Slab', serif;
  font-size: 32px;
  margin-bottom: 20px;
}

.contact-inner p, .contact-inner li {
  font-size: 16px;
  margin-bottom: 8px;
}

.contact-map {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 24px 60px;
}

.contact-map img {
  width: 100%;
  border-radius: 8px;
}

/* =============================================
   FOOTER / GALLERY
   ============================================= */
.site-footer {
  background-color: rgb(248, 200, 197);
  padding: 60px 24px 0;
}

.footer-gallery h2.section-title {
  font-family: 'Roboto Slab', serif;
  font-size: 42px;
  font-weight: 300;
  text-align: center;
  color: #fff;
  margin-bottom: 16px;
}

.footer-gallery .conditions {
  text-align: center;
  font-size: 15px;
  color: #555;
  max-width: 900px;
  margin: 0 auto 32px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  max-width: 1200px;
  margin: 0 auto 32px;
}

.gallery-grid img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 4px;
}

.footer-credentials {
  max-width: 900px;
  margin: 0 auto 32px;
  text-align: center;
}

.footer-credentials p {
  font-size: 15px;
  color: #444;
  margin-bottom: 16px;
}

.footer-credentials img {
  max-width: 300px;
  margin: 0 auto;
}

.footer-info {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 0 60px;
}

.footer-info h3 {
  font-family: 'Roboto Slab', serif;
  font-size: 22px;
  margin-bottom: 16px;
}

.footer-info p, .footer-info li {
  font-size: 15px;
  margin-bottom: 6px;
  color: #333;
}

.footer-bottom {
  border-top: 1px solid rgba(0,0,0,0.1);
  padding: 20px 24px;
  text-align: center;
  font-size: 13px;
  color: #555;
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 900px) {
  .header-inner {
    flex-wrap: wrap;
  }

  .site-nav {
    display: none;
    width: 100%;
  }

  .site-nav.open {
    display: block;
  }

  .site-nav ul {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-toggle {
    display: flex;
  }

  .hero .container {
    flex-direction: column;
  }

  .hero-image {
    width: 100%;
  }

  .therapies-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
  }

  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-info {
    grid-template-columns: 1fr;
  }

  .contact-inner {
    grid-template-columns: 1fr;
  }

  .therapy-detail {
    flex-direction: column;
  }

  .therapy-detail img {
    width: 100%;
  }
}

@media (max-width: 600px) {
  .header-brand h1 {
    font-size: 22px;
  }

  .therapies-grid {
    grid-template-columns: 1fr;
  }

  .benefits-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-text h2 {
    font-size: 26px;
  }

  .about-box {
    padding: 28px 20px;
  }

  .footer-gallery h2.section-title,
  .therapies-section h2.section-title,
  .benefits-section h2.section-title,
  .pricing-section h2.section-title {
    font-size: 32px;
  }
}


/* =============================================
   CONTENT READABILITY TWEAKS
   ============================================= */
main {
  background: transparent;
}

.hero-text {
  max-width: 690px;
}

.hero-text h3 + p,
.about-box p,
.therapy-detail-text p,
.content-panel p,
.contact-inner p,
.footer-gallery .conditions,
.footer-credentials p {
  max-width: 72ch;
}

.page-intro,
.practitioner-section,
.location-section {
  padding: 60px 24px;
}

.content-panel {
  max-width: 1000px;
  margin: 0 auto;
  padding: 40px;
  background-color: rgba(255, 255, 255, 0.92);
  border-radius: 8px;
}

.content-panel h2,
.contact-map h2 {
  font-family: 'Roboto Slab', serif;
  font-size: 36px;
  margin-bottom: 16px;
}

.content-panel h3 {
  font-family: 'Roboto Slab', serif;
  font-size: 24px;
  margin-bottom: 14px;
}

.two-column {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
}

.text-list li {
  list-style: disc;
  margin: 0 0 8px 20px;
  line-height: 1.6;
}

.about-profile .about-photo {
  width: 520px;
}

.location-section {
  background-color: rgba(255, 255, 255, 0.88);
}

.location-section .contact-map {
  padding-bottom: 0;
}

.location-section .contact-map p {
  margin-bottom: 20px;
}

.single-therapy .therapy-detail {
  align-items: center;
}

.single-therapy .therapy-detail img {
  width: 360px;
}

.footer-gallery h2.section-title,
.therapies-section h2.section-title,
.benefits-section h2.section-title,
.pricing-section h2.section-title,
.testimonials-section h2.section-title {
  text-transform: none;
}

@media (max-width: 900px) {
  .two-column {
    grid-template-columns: 1fr;
  }

  .content-panel {
    padding: 32px 24px;
  }
}

@media (max-width: 600px) {
  .page-intro,
  .practitioner-section,
  .location-section {
    padding: 40px 16px;
  }

  .content-panel h2,
  .contact-map h2 {
    font-size: 30px;
  }
}


/* =============================================
   READABILITY REDESIGN OVERRIDES
   ============================================= */
:root {
  --ink: #18211b;
  --muted: #5d665f;
  --panel: #fffdf8;
  --paper: #f7f1e8;
  --brand: #245d38;
  --brand-dark: #163923;
  --accent: #b85d49;
  --border: rgba(24, 33, 27, 0.14);
}

body {
  color: var(--ink);
  background-color: var(--paper);
  background-image: none;
}

.site-header,
.header-address,
.site-footer {
  background-color: var(--panel);
}

.site-header {
  border-bottom: 1px solid var(--border);
}

.header-inner {
  padding: 18px 24px 12px;
}

.header-brand h1 {
  color: var(--brand-dark);
  font-size: 30px;
  font-weight: 700;
}

.header-brand .phone,
.header-address p {
  color: var(--muted);
}

.header-brand .phone {
  font-size: 17px;
}

.site-nav ul {
  gap: 8px;
}

.site-nav a {
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--ink);
  font-family: 'Roboto', sans-serif;
  font-size: 16px;
  font-weight: 700;
  padding: 9px 14px;
  transition: background-color 0.2s, border-color 0.2s, color 0.2s;
}

.site-nav a:hover,
.site-nav a.active {
  background-color: #e7efe6;
  border-color: #bfd4bd;
  color: var(--brand-dark);
}

.site-nav a.active {
  box-shadow: inset 0 -3px 0 var(--brand);
}

.header-address {
  padding: 0 24px 14px;
}

.header-address p {
  font-size: 16px;
  text-align: right;
}

.green-strip {
  height: 3px;
  background-color: var(--brand);
}

.nav-toggle span {
  background-color: var(--brand-dark);
}

.cta-banner {
  background-color: var(--brand-dark);
  padding: 18px 24px;
}

.cta-banner p,
.cta-banner a {
  color: #fff;
}

.cta-banner p {
  font-size: 18px;
}

.cta-banner a {
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.hero {
  position: relative;
  background-position: center right;
  padding: 72px 24px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(247, 241, 232, 0.96) 0%, rgba(247, 241, 232, 0.90) 48%, rgba(247, 241, 232, 0.60) 100%);
}

.hero .container {
  position: relative;
  align-items: center;
}

.hero-text {
  background-color: rgba(255, 253, 248, 0.94);
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: 0 20px 45px rgba(24, 33, 27, 0.16);
  max-width: 720px;
  padding: 40px;
}

.hero-text h2 {
  color: var(--brand-dark);
  font-size: 44px;
  font-weight: 700;
  letter-spacing: 0;
}

.hero-text .highlights {
  color: var(--brand);
  display: grid;
  gap: 8px;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 24px;
}

.hero-text .highlights li {
  margin-left: 22px;
}

.hero-text h3 {
  color: var(--accent);
  font-size: 21px;
  margin-top: 24px;
}

.hero-text p {
  color: var(--ink);
  font-size: 18px;
  line-height: 1.75;
}

.hero-image {
  width: 340px;
}

.hero-image img {
  border: 8px solid var(--panel);
  border-radius: 8px;
  box-shadow: 0 18px 35px rgba(24, 33, 27, 0.18);
}

.therapies-section,
.pricing-section,
.page-intro,
.practitioner-section {
  background-color: var(--paper);
}

.therapies-section h2.section-title,
.pricing-section h2.section-title {
  color: var(--brand-dark);
}

.therapy-card,
.pricing-card,
.content-panel,
.therapy-detail,
.about-box,
.testimonials-section,
.contact-section,
.location-section {
  background-color: var(--panel);
}

.therapy-card,
.pricing-card,
.content-panel,
.therapy-detail,
.about-box {
  border: 1px solid var(--border);
  box-shadow: 0 10px 25px rgba(24, 33, 27, 0.08);
}

.therapy-card {
  text-align: left;
}

.therapy-card img {
  margin-left: 0;
}

.therapy-card i {
  text-align: left;
  margin-left: 0;
}

.therapy-card h3,
.pricing-card-header h3,
.content-panel h2,
.content-panel h3,
.therapy-detail-text h2,
.contact-inner h2,
.contact-map h2,
.about-box h2 {
  color: var(--brand-dark);
  font-weight: 700;
}

.therapy-card p,
.therapy-detail-text p,
.about-box p,
.content-panel p,
.contact-inner p {
  color: var(--ink);
}

.benefits-section {
  background-color: var(--brand-dark);
}

.benefits-section h2.section-title,
.benefit-item p {
  color: #fff;
}

.about-section,
.about-page-section {
  position: relative;
  background-position: center;
}

.about-section::before,
.about-page-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(247, 241, 232, 0.72);
}

.about-section > *,
.about-page-section > * {
  position: relative;
}

.pricing-section .pricing-summary {
  color: var(--muted);
}

.btn {
  background-color: var(--brand-dark);
  border-color: var(--brand-dark);
}

.btn:hover {
  background-color: var(--brand);
  border-color: var(--brand);
  color: #fff;
}

.btn-outline {
  background-color: transparent;
  color: var(--brand-dark);
}

.btn-outline:hover {
  background-color: var(--brand-dark);
  border-color: var(--brand-dark);
}

.footer-gallery h2.section-title,
.footer-info h3 {
  color: var(--brand-dark);
}

.footer-gallery .conditions,
.footer-credentials p,
.footer-info p,
.footer-bottom {
  color: var(--muted);
}

.site-footer {
  border-top: 1px solid var(--border);
}

@media (max-width: 900px) {
  .site-nav ul {
    align-items: stretch;
    gap: 6px;
  }

  .site-nav a {
    border-radius: 6px;
  }

  .header-address p {
    text-align: left;
  }

  .hero {
    padding: 48px 16px;
  }

  .hero-text {
    padding: 32px 24px;
  }

  .hero-image {
    width: min(100%, 420px);
  }
}

@media (max-width: 600px) {
  .header-brand h1 {
    font-size: 24px;
  }

  .header-brand .phone,
  .header-address p {
    font-size: 15px;
  }

  .hero-text h2 {
    font-size: 32px;
  }

  .hero-text p,
  .hero-text .highlights {
    font-size: 16px;
  }
}


/* Footer gallery layout update */
.footer-gallery-text {
  max-width: 920px;
  margin: 0 auto 32px;
  text-align: center;
}

.footer-gallery-text p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
  margin: 0 auto 12px;
  max-width: 78ch;
}

.gallery-grid {
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.gallery-grid img {
  height: 210px;
  background-color: #fff;
  border: 1px solid var(--border);
}

.footer-info {
  grid-template-columns: 1fr 1fr 1fr;
}

.footer-map img {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 8px;
}

@media (max-width: 900px) {
  .footer-info {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid img {
    height: 220px;
  }
}


/* Force gallery to text first, then 3 x 2 images on desktop */
.footer-gallery .conditions,
.footer-credentials {
  display: none;
}

.footer-gallery-text {
  display: block;
}

.footer-gallery .gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  max-width: 1200px;
  margin: 0 auto 36px;
}

.footer-gallery .gallery-grid img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

@media (max-width: 900px) {
  .footer-gallery .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .footer-gallery .gallery-grid {
    grid-template-columns: 1fr;
  }
}
