/* ===== Reasons/Reserve pages — same look as specialties, no inline CSS ===== */
:root {
  --header-bg: #383a38;
  --header-fg: #fff6ef;
  --text-dark: #383a38;
}

/* Cream paper background for the entire reasons page content */
.specialty-page.reasons-page {
  /* path is relative to /css/ */
  background-image: url("../images/navbar-cream.webp");
  background-position: center top;
  background-size: 100% auto; /* span full width */
  background-repeat: repeat-y; /* keep filling as you scroll */
}

/* Keep the page header (H1 bar) dark like specialties */
.specialty-page.reasons-page .specialty-header {
  background: var(--header-bg);
  color: var(--header-fg);
}

/* Headings colors you asked for */
.specialty-page.reasons-page h2,
.specialty-page.reasons-page h3,
.specialty-page.reasons-page h4,
.specialty-page.reasons-page h5,
.specialty-page.reasons-page h6 {
  color: #383a38;
}

.specialty-page.reasons-page .specialty-header h1 {
  color: #fff6ef;
}

/* Header */
.specialty-page .specialty-header {
  background: var(--header-bg);
  color: var(--header-fg);
  text-align: center;
  padding: 40px 20px;
}
.specialty-page .specialty-header h1 {
  color: var(--header-fg);
  font-size: 2.6rem;
  margin: 0;
}
.specialty-page .specialty-header p {
  color: var(--header-fg);
  opacity: 0.95;
  max-width: 900px;
  margin: 10px auto 0;
}

/* Back button */
.specialty-page .back-button {
  position: absolute;
  top: 20px;
  left: 20px;
  color: var(--header-fg);
  text-decoration: none;
  font-size: 1rem;
  padding: 8px 12px;
  border: 1px solid var(--header-fg);
  border-radius: 8px;
  background: transparent;
  transition: background-color 0.2s;
}
.specialty-page .back-button:hover {
  background-color: rgba(255, 255, 255, 0.08);
}

/* Layout blocks */
.specialty-page .specialty-layout {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  padding: 40px 20px;
  flex-wrap: wrap;
}
.specialty-page .image-side img {
  width: 480px;
  max-width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}
.specialty-page .text-side {
  max-width: 760px;
  text-align: left;
}
.specialty-page .text-side p {
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--text-dark);
}

/* Headings & lists */
.specialty-page h2,
.specialty-page h3,
.specialty-page h4,
.specialty-page h5,
.specialty-page h6 {
  color: var(--text-dark);
}

.specialty-page ul {
  padding-left: 1.2rem;
  margin: 0 0 1rem;
}
.specialty-page li {
  margin: 0.35rem 0;
  color: var(--text-dark);
}
.specialty-page li strong {
  font-weight: 700;
}

/* Footer buttons */
.specialty-page .specialty-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 0 0 40px;
  margin-top: 40px;
}
.specialty-page .footer-btn {
  background: #fff6ef;
  color: #383a38;
  padding: 12px 24px;
  text-decoration: none;
  border-radius: 10px;
  font-weight: bold;
  transition: background 0.2s;
}
.specialty-page .footer-btn:hover {
  background: #ffffff;
}

/* Simple 3-image gallery row (wraps on small screens) */
.reasons-gallery {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  padding: 0 12px;
}
.reasons-gallery .image-side img {
  height: 180px;
}
@media (max-width: 720px) {
  .specialty-page .image-side img {
    height: 140px;
  }
}

/* Headings H2–H6 get the cream image background on reasons pages */
.specialty-page.reasons-page h2,
.specialty-page.reasons-page h3,
.specialty-page.reasons-page h4,
.specialty-page.reasons-page h5,
.specialty-page.reasons-page h6 {
  color: #383a38; /* your dark text */
  background: url("../images/navbar-cream.webp") /* path is relative to /css/ */
    center / cover no-repeat;
  display: inline-block; /* full-width band */
  padding: 12px 14px;

  margin: 0 0 12px;
}

/* Keep H1 color as specified */
.specialty-page.reasons-page .specialty-header h1 {
  color: #fff6ef;
}

.inline-link {
  color: #383a38;
  text-decoration: underline;
}
.inline-link:hover {
  text-decoration: none;
}
