/*
Theme Name: Phlox Child
Template: phlox
Version: 1.0
*/


/* ---- Base ---- */
.dtr-therapies-page {
  color: #2d3a42;
  background-color: #faf8f6;
}

.dtr-therapies-page h1,
.dtr-therapies-page h2,
.dtr-therapies-page h3,
.dtr-therapies-page h4 {
  color: #3d5a73;
}

/* ---- Hero Section ---- */
.dtr-hero {
  position: relative;
  min-height: 360px;
  height: 50vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.dtr-hero__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dtr-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(45, 58, 66, 0.6),
    rgba(45, 58, 66, 0.4) 50%,
    #faf8f6 100%
  );
}

.dtr-hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 2rem;
}

.dtr-hero__title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #ffffff !important;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  margin-bottom: 1rem;
}

.dtr-hero__subtitle {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.9);
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.7;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}

@media (min-width: 768px) {
  .dtr-hero__title { font-size: 3.5rem; }
  .dtr-hero__subtitle { font-size: 1.25rem; }
}

/* ---- Section Titles ---- */
.dtr-section-title {
  font-family: "Noto Sans Hebrew",Sans-serif;
  font-weight: 300;
  color: #6d664b;
  font-size: 28px;
  text-align: center;
}


/* ---- Therapy Cards ---- */
.dtr-card {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 0.5rem;
  aspect-ratio: 4 / 3;
  text-decoration: none !important;
}

.dtr-card__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.dtr-card:hover .dtr-card__image {
  transform: scale(1.05);
}

.dtr-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(44, 67, 88, 0.85) 0%,
    rgba(44, 67, 88, 0.4) 50%,
    transparent 100%
  );
  display: flex;
  align-items: flex-end;
  padding: 1.25rem;
}

.dtr-card__name {
  font-size: 1.15rem;
  font-weight: 600;
  color: #ffffff !important;
  line-height: 1.3;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
  margin: 0;
}

@media (min-width: 768px) {
  .dtr-card__name { font-size: 1.25rem; }
}

/* ---- CTA Footer ---- */
.dtr-cta-footer {
  background-color: #f0ede9;
  border-top: 1px solid #e2ddd7;
  padding: 3rem 1rem;
  text-align: center;
}

.dtr-cta-footer h2 {
  font-size: 1.75rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.dtr-cta-footer p {
  color: #6b7b86;
  max-width: 480px;
  margin: 0 auto 1.5rem;
}

/* ---- Buttons ---- */
.dtr-btn-primary {
  display: inline-block;
  background-color: #555553;
  color: #ffffff !important;
  padding: 0.75rem 2rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none !important;
  transition: all 0.3s ease;
  border: 2px solid #555553;
}

.dtr-btn-primary:hover {
  background-color: #555553;
  border-color: #555553;
  box-shadow: 0 4px 12px rgba(61, 90, 115, 0.3);
  color: #ffffff !important;
}

.dtr-btn-outline {
  display: inline-block;
  background-color: transparent;
  color: #555553 !important;
  padding: 0.75rem 2rem;
  border: 2px solid #555553;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none !important;
  transition: all 0.3s ease;
}

.dtr-btn-outline:hover {
  background-color: #555553;
  color: #ffffff !important;
}

.dtr-btn-outline-light {
  display: inline-block;
  background-color: transparent;
  color: #2d3a42 !important;
  padding: 0.75rem 2rem;
  border: 2px solid #e2ddd7;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none !important;
  transition: all 0.3s ease;
}

.dtr-btn-outline-light:hover {
  border-color: #555553;
  color: #555553 !important;
}
.dtr-category-section {
    margin-bottom: 5%;
}

/* Remaining sections updated similarly with direct color values */
.dtr-breadcrumb { padding: 1rem 0; font-size: 0.875rem; color: #6b7b86; }
.dtr-breadcrumb a { color: #6b7b86; text-decoration: none; transition: color 0.2s; }
.dtr-breadcrumb a:hover { color: #3d5a73; }
.dtr-breadcrumb .separator { margin: 0 0.5rem; }
.dtr-breadcrumb .current { color: #2d3a42; }

.dtr-detail-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(to bottom, #f0ede9, rgba(240,237,233,0.5) 60%, #faf8f6 100%);
  padding: 4rem 1rem;
  text-align: center;
}

.dtr-benefit {
  display: flex;
  gap: 1rem;
  padding: 1rem;
  border: 1px solid #e2ddd7;
  border-radius: 0.5rem;
  background-color: #ffffff;
  margin-bottom: 1rem;
  transition: all 0.3s ease;
}

.dtr-benefit:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  border-color: rgba(79,125,155,0.3);
}

