/* ── SERVICE CARD ── */
.service-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px 24px;
  transition: all .22s;
  display: flex;
  flex-direction: column;
}
.service-card:hover {
  border-color: var(--red);
  box-shadow: 0 4px 20px rgba(224,2,38,.12);
  transform: translateY(-2px);
}
.service-icon {
  width: 48px;
  height: 48px;
  background: var(--blue-light);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  flex-shrink: 0;
}
.service-icon svg { width: 24px; height: 24px; }
.service-card h3 {
  font-size: 19px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 8px;
  font-family: var(--font-sans);
}
.service-card p {
  font-size: 16px;
  color: #777;
  line-height: 1.65;
  margin: 0;
  flex: 1;
}
.service-card .card-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 15px;
  font-weight: 700;
  color: var(--red);
  margin-top: 12px;
}

/* ── BLOG INDEX ── */
.blog-index-page {
  background: #fff;
}
.blog-index-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}
.blog-card {
  border: 1px solid var(--border);
  background: #fff;
  display: flex;
  flex-direction: column;
  min-height: 100%;
}
.blog-card-media {
  display: block;
  aspect-ratio: 4 / 3;
  background: var(--gray-bg);
  overflow: hidden;
}
.blog-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .22s ease;
}
.blog-card:hover .blog-card-media img {
  transform: scale(1.025);
}
.blog-card-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}
.blog-card h2 {
  font-size: 22px;
  line-height: 1.25;
  margin: 0;
}
.blog-card h2 a {
  color: var(--dark);
}
.blog-card h2 a:hover {
  color: var(--red);
}
.blog-card p {
  margin: 0;
  color: #555;
  font-size: 17px;
  line-height: 1.65;
  flex: 1;
}
.blog-card time {
  color: var(--red);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .02em;
}

/* ── REVIEW CARD ── */
.review-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 1px 8px rgba(0,0,0,.06);
  display: flex;
  flex-direction: column;
  min-height: 230px;
}
.review-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 10px;
}
.review-card-meta {
  display: flex;
  align-items: center;
  gap: 10px;
}
.reviewer-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--dark);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 17px;
  font-family: var(--font-sans);
}
.reviewer-name { font-weight: 700; font-size: 16px; color: var(--red); }
.reviewer-date { font-size: 13px; color: #aaa; }
.review-card-stars {
  color: var(--star);
  font-size: 17px;
  letter-spacing: -1px;
  margin-bottom: 10px;
}
.review-card-text {
  font-size: 16px;
  color: #555;
  line-height: 1.65;
  flex: 1;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
}
.google-g-sm { width: 20px; height: 20px; flex-shrink: 0; }

/* ── DOCTOR CARD ── */
.doctor-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform .2s, box-shadow .2s;
}
.doctor-card:hover { transform: translateY(-2px); box-shadow: 0 6px 24px rgba(0,0,0,.12); }
.doctor-card-photo {
  width: 100%;
  height: 220px;
  object-fit: cover;
  object-position: center top;
}
.doctor-card-body { padding: 20px; }
.doctor-card-name {
  font-size: 17px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 4px;
  font-family: var(--font-serif);
}
.doctor-card-creds {
  font-size: 13px;
  color: var(--red);
  font-weight: 600;
  margin-bottom: 4px;
}
.doctor-card-specialty {
  font-size: 13px;
  color: #777;
}

.doctors-section {
  background: var(--gray-bg);
  border-top: 1px solid var(--border);
  padding: 64px var(--pad-x);
}
.doctors-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}
.doctors-heading {
  text-align: center;
  margin-bottom: 32px;
}
.doctors-heading h2 {
  color: var(--dark);
  margin-bottom: 8px;
}
.doctors-heading p {
  color: #666;
  font-size: 17px;
  max-width: 560px;
  margin: 0 auto;
}
.doctors-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.doctors-section .doctor-card {
  padding: 20px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
}
.doctor-card-link {
  color: inherit;
  display: contents;
}
.doctor-photo {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--border);
  background: #e8f1fb;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.doctor-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}
.doctor-photo-init {
  font-size: 24px;
  font-weight: 700;
  color: var(--blue-icon);
}
.doctor-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.3;
}
.doctor-cred {
  font-size: 12px;
  color: var(--red);
  font-weight: 600;
}
.doctor-spec {
  font-size: 12px;
  color: #888;
  line-height: 1.4;
}

/* ── SIDEBAR CTA CARD ── */
.sidebar-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(0,0,0,.08);
  position: sticky;
  top: 88px;
}
.sidebar-card-map iframe {
  width: 100%;
  height: 200px;
  border: 0;
  display: block;
}
.sidebar-card-body { padding: 22px; }
.sidebar-card-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.sidebar-card-name img { width: 30px; height: 30px; border-radius: 6px; }
.sidebar-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: 15px;
  color: #555;
}
.sidebar-row:last-of-type { border-bottom: none; margin-bottom: 16px; }
.sidebar-row svg { flex-shrink: 0; margin-top: 1px; }
.sidebar-row strong {
  display: block;
  font-size: 11px;
  color: var(--dark);
  text-transform: uppercase;
  letter-spacing: .4px;
  margin-bottom: 2px;
}
.sidebar-btns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.sb-btn-dir {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: var(--dark);
  color: #fff;
  font-weight: 700;
  font-size: 12px;
  padding: 11px 8px;
  border-radius: 8px;
}
.sb-btn-dir:hover { background: #1a1d22; color: #fff; }
.sb-btn-call {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: var(--red);
  color: #fff;
  font-weight: 700;
  font-size: 12px;
  padding: 11px 8px;
  border-radius: 8px;
}
.sb-btn-call:hover { background: var(--red-dk); color: #fff; }

/* ── 2-COL CONTENT GRID (service pages) ── */
.content-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 60px;
  align-items: flex-start;
}
.content-grid-full {
  grid-template-columns: 1fr;
}
.content-main {
  min-width: 0;
}
.content-sidebar {
  min-width: 0;
}
.related-services {
  margin-top: 48px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}
.related-services h3 {
  font-size: 18px;
  color: var(--dark);
  margin-bottom: 14px;
}
.related-services ul {
  display: grid;
  gap: 8px;
}
.related-services a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: var(--gray-bg);
  border-left: 3px solid var(--red);
  border-radius: 6px;
  padding: 10px 14px;
  color: var(--dark);
  font-size: 16px;
  font-weight: 700;
}
.related-services a:hover {
  color: var(--red);
}

/* ── FAQ PAGE ── */
.faq-page {
  background: #fff;
}
.faq-page-inner {
  max-width: 880px;
}
.faq-accordion {
  display: grid;
  gap: 12px;
}
.faq-section-label {
  font-size: 12px;
  font-weight: 800;
  color: var(--red);
  text-transform: uppercase;
  letter-spacing: 1.4px;
  margin: 24px 0 2px;
}
.faq-section-label:first-child {
  margin-top: 0;
}
.faq-item {
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #fff;
  overflow: hidden;
}
.faq-question {
  width: 100%;
  border: 0;
  background: transparent;
  color: var(--dark);
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  text-align: left;
  cursor: pointer;
}
.faq-question-text {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.35;
}
.faq-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--gray-bg);
  color: #888;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.faq-icon svg {
  width: 12px;
  height: 12px;
}
.faq-answer {
  display: none;
  color: #555;
  font-size: 17px;
  line-height: 1.7;
  padding: 0 20px 18px;
}
.faq-item.is-open .faq-answer,
.faq-question[aria-expanded="true"] + .faq-answer {
  display: block;
}

/* Services parent page repair: keep locked editor cards usable without changing content. */
.page-id-7 .services-grid > p { display: none; }
.page-id-7 .service-card h2 { font-size: 19px; font-weight: 700; color: var(--dark); margin: 0 0 8px; font-family: var(--font-sans); line-height: 1.25; }
.page-id-7 .service-card h2::after { display: none; }
.page-id-7 .service-card-arrow { display: inline-flex; align-items: center; gap: 4px; font-size: 15px; font-weight: 700; color: var(--red); margin-top: auto; }
.page-id-7 .service-card-arrow svg { width: 14px; height: 14px; flex: 0 0 auto; }
@media (max-width: 768px) {
  .page-id-7 .services-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  .page-id-7 .services-grid { grid-template-columns: 1fr; }
}
