/*
Theme Name: ProHealth Child
Theme URI: https://prohealth-wp.laralink.com/
Description: Child theme for ProHealth - Psychiatric clinic customizations.
Author: Custom
Template: prohealth
Version: 1.7.34
Text Domain: prohealth-child
*/

/* Header: hide search icon / overlay. */
.cs_search_toggle_btn,
.cs_header_search {
  display: none !important;
}

/* Home Awards: center section heading. */
body.home .elementor-widget-tp-award .cs_section_heading,
body.home .elementor-widget-tp-award .cs_section_title {
  text-align: center !important;
}

/* Home About: hide "High Quality Professionals" rotating badge. */
body.home .cs_about.cs_style_1 .cs_about_mini_img {
  display: none !important;
}

/*
 * Home Values + Services: force centered grid (prod Elementor often left-packs).
 */
body.home .elementor-widget-ph-services,
body.home .elementor-widget-tp-values {
  width: 100% !important;
  max-width: 100% !important;
  align-self: stretch !important;
  margin-left: auto !important;
  margin-right: auto !important;
}
body.home .e-con:has(.elementor-widget-ph-services),
body.home .e-con:has(.elementor-widget-tp-values),
body.home .e-con:has(.ph-home-services-values) {
  align-items: stretch !important;
  justify-content: center !important;
}
body.home .elementor-widget-ph-services .elementor-widget-container,
body.home .elementor-widget-tp-values .elementor-widget-container,
body.home .ph-home-services-values,
body.home .ph-home-services-values > .container {
  width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
  box-sizing: border-box;
}
body.home .cs_random_features,
body.home .ph-home-services-values .cs_random_features,
body.home .elementor-widget-ph-services .cs_random_features,
body.home .elementor-widget-tp-values .cs_random_features {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 420px));
  justify-content: center !important;
  justify-items: stretch;
  align-items: start;
  column-gap: 40px;
  row-gap: 24px;
  width: 100% !important;
  max-width: 100%;
  margin-left: auto !important;
  margin-right: auto !important;
  box-sizing: border-box;
}
body.home .cs_random_features .cs_random_features_col,
body.home .ph-home-services-values .cs_random_features_col {
  width: 100% !important;
  max-width: 420px;
  margin: 0 !important;
  box-sizing: border-box;
}
/* Keep mild zigzag: middle column of each row sits slightly higher */
body.home .cs_random_features .cs_random_features_col {
  padding-top: 40px !important;
}
body.home .cs_random_features .cs_random_features_col:nth-child(3n+2) {
  padding-top: 0 !important;
}
@media (max-width: 1199px) {
  body.home .cs_random_features,
  body.home .ph-home-services-values .cs_random_features,
  body.home .elementor-widget-ph-services .cs_random_features,
  body.home .elementor-widget-tp-values .cs_random_features {
    grid-template-columns: repeat(2, minmax(0, 420px));
  }
  body.home .cs_random_features .cs_random_features_col:nth-child(odd) {
    padding-top: 40px !important;
  }
  body.home .cs_random_features .cs_random_features_col:nth-child(even) {
    padding-top: 0 !important;
  }
}
@media (max-width: 767px) {
  body.home .cs_random_features,
  body.home .ph-home-services-values .cs_random_features,
  body.home .elementor-widget-ph-services .cs_random_features,
  body.home .elementor-widget-tp-values .cs_random_features {
    grid-template-columns: minmax(0, 420px);
  }
  body.home .cs_random_features .cs_random_features_col {
    padding-top: 0 !important;
  }
}

/*
 * Home: Our Values + Our Services cards
 * - smaller card titles (40px → 24px)
 * - equal card heights (title/text length se height na badle)
 * Note: theme zigzag padding-top cols pe hai — stretch mat use karo, warna cards unequal ban jate.
 */
body.home .cs_random_features .cs_feature.cs_style_1 {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: auto !important;
  flex: none !important;
  min-height: 360px;
  box-sizing: border-box;
}

body.home .cs_random_features .cs_feature.cs_style_1 .cs_feature_title,
body.home .cs_random_features .cs_feature.cs_style_1 .cs_feature_title.cs_fs_40 {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 14px 16px !important;
  font-size: 24px !important;
  line-height: 1.35 !important;
  margin-bottom: 20px !important;
}

/* Title text next to icon — no min-height (that threw icon off-center) */
body.home .cs_random_features .cs_feature.cs_style_1 .cs_feature_title > span:not(.cs_feature_icon) {
  display: block;
  flex: 1 1 auto;
  min-width: 0;
  min-height: 0 !important;
  text-align: left;
  line-height: 1.35;
}

body.home .cs_random_features .cs_feature.cs_style_1 .cs_feature_icon {
  flex: none !important;
  align-self: center !important;
  margin: 0 !important;
}

body.home .cs_random_features .cs_feature.cs_style_1 > p {
  flex: 1 1 auto;
  margin: 0 !important;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 5;
  overflow: hidden;
  min-height: calc(1.6em * 5);
  line-height: 1.6;
  font-size: 16px;
}

/* Appointments: form LEFT + Contact Info RIGHT (demo layout). */
.ph-appointments .form-main-area > .row {
  display: flex !important;
  flex-wrap: wrap;
  align-items: flex-start !important;
}
.ph-appointments .form-main-area > .row > [class*="col-"] {
  min-width: 0 !important; /* prevent CF7 content from forcing wrap */
  box-sizing: border-box;
}
.ph-appointments__contact a {
  color: inherit;
  text-decoration: none;
}
.ph-appointments__contact a:hover {
  color: var(--accent-color);
}
.ph-appointments__photo {
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: 25px;
}
@media (min-width: 992px) {
  .ph-appointments .form-main-area > .row {
    flex-wrap: nowrap !important;
  }
  .ph-appointments .form-main-area > .row > .col-lg-7 {
    flex: 0 0 58.333333% !important;
    width: 58.333333% !important;
    max-width: 58.333333% !important;
  }
  .ph-appointments .form-main-area > .row > .col-lg-4,
  .ph-appointments .form-main-area > .row > .ph-appointments__contact {
    flex: 0 0 33.333333% !important;
    width: 33.333333% !important;
    max-width: 33.333333% !important;
    margin-left: 8.333333% !important;
  }
}
@media (max-width: 991px) {
  .ph-appointments .form-main-area > .row {
    flex-wrap: wrap !important;
  }
  .ph-appointments .form-main-area > .row > [class*="col-"] {
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
    margin-left: 0 !important;
  }
  .ph-appointments__contact {
    margin-top: 50px;
  }
}

/* Brand logo — readable size in the 100px header (80px on mobile). */
.cs_site_branding img,
.cs_site_header .cs_site_branding img,
header .cs_site_branding img,
.sticky-logo img,
.cs-site_branding img {
  max-height: 72px;
  width: auto;
  height: auto;
}
@media (max-width: 1199px) {
  .cs_site_branding img,
  .cs_site_header .cs_site_branding img,
  header .cs_site_branding img,
  .sticky-logo img,
  .cs-site_branding img {
    max-height: 56px;
  }
}
.cs_footer.cs_style_1 .cs_footer_brand img,
.cs_footer_brand_icon {
  animation: none !important;
  max-width: 240px;
  max-height: 80px;
  width: auto;
  height: auto;
}
@media (max-width: 991px) {
  .cs_footer.cs_style_1 .cs_footer_brand img,
  .cs_footer_brand_icon {
    max-width: 158px;
    max-height: 50px;
  }
}

/* Contact: clinic cards + Facebook / Instagram only. */
.ph-contact .cs_iconbox_subtitle a {
  color: inherit;
  text-decoration: none;
}
.ph-contact .cs_iconbox_subtitle a:hover {
  color: var(--accent-color);
}
/* Phone cards: parent forces a 60px icon, so the number and email slide over it. */
@media (max-width: 767px) {
  .ph-contact .contact-page-icon .cs_iconbox.cs_style_11 {
    align-items: center;
    gap: 14px;
    padding: 20px 16px;
  }
  .ph-contact .contact-page-icon .cs_iconbox_icon {
    flex: 0 0 40px;
    width: 40px;
    max-width: 40px;
  }
  .ph-contact .contact-page-icon img {
    width: 40px;
    max-width: 40px !important;
    height: auto;
  }
  .ph-contact .contact-page-icon .cs_iconbox_right {
    min-width: 0;
  }
  .ph-contact .cs_iconbox_subtitle,
  .ph-contact .cs_iconbox_subtitle a {
    overflow-wrap: anywhere;
  }
}
@media (max-width: 360px) {
  .ph-contact .contact-page-icon .cs_iconbox.cs_style_11 {
    gap: 12px;
    padding: 16px 14px;
  }
  .ph-contact .contact-page-icon .cs_iconbox_icon {
    flex: 0 0 32px;
    width: 32px;
    max-width: 32px;
  }
  .ph-contact .contact-page-icon img {
    width: 32px;
    max-width: 32px !important;
  }
  .ph-contact .contact-page-icon .cs_iconbox_subtitle {
    font-size: 14px;
    line-height: 1.35;
  }
}
.ph-contact__social .cs_social_links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.ph-contact__social .cs_social_links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--accent-color, #307bc4);
  color: #fff;
}
.ph-contact__map iframe {
  display: block;
  width: 100%;
  border-radius: 25px;
}

/* Homepage About: center "Learn More About Us" under the section. */
body.home .elementor-element-5558a2c,
body.home .e-ed752a3 {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
  text-align: center !important;
}

/* Homepage "Learn More About Us" — match theme cs_btn (override Elementor atomic styles). */
body.home a.ph-learn-more-about.cs_btn.cs_style_1,
body.home a.e-5e9c8f1-e2c7025,
body.home .elementor-element-5558a2c > a.e-button-base,
body.home .elementor-element-5558a2c a.ph-learn-more-about {
  border-radius: 24px !important;
  box-shadow: 0 4px 20px 0 rgba(39, 71, 96, 0.17) !important;
  font-weight: 500 !important;
  color: #fff !important;
  display: inline-flex !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 8px !important;
  padding: 12px 40px !important;
  outline: none !important;
  border: none !important;
  position: relative !important;
  background: transparent !important;
  text-decoration: none !important;
  overflow: visible !important;
  margin-left: auto !important;
  margin-right: auto !important;
}
body.home a.ph-learn-more-about.cs_btn.cs_style_1::before,
body.home a.e-5e9c8f1-e2c7025::before,
body.home .elementor-element-5558a2c > a.e-button-base::before {
  content: '' !important;
  position: absolute !important;
  inset: 0 !important;
  border-radius: inherit !important;
  background-image: linear-gradient(134deg, var(--accent-color) 0%, var(--heading-color) 100%) !important;
  z-index: 0 !important;
}
body.home a.ph-learn-more-about.cs_btn.cs_style_1 span,
body.home a.ph-learn-more-about.cs_btn.cs_style_1 i,
body.home a.e-5e9c8f1-e2c7025,
body.home .elementor-element-5558a2c > a.e-button-base {
  position: relative;
  z-index: 2;
}

/* Temporarily hide homepage Blog + Our Partners (CSS backup; PHP also skips render). */
body.home .elementor-widget-blogpost,
body.home .elementor-widget-brand,
body.home .e-con:has(.elementor-widget-blogpost),
body.home .e-con:has(.elementor-widget-brand),
body.home .ph-hide-home-section {
  display: none !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
}

/* ========== Home Services = Our Values layout ========== */
.ph-home-services-values .ph-values-service-link {
  display: flex;
  flex-direction: column;
  text-decoration: none !important;
  color: inherit;
  height: 100%;
  flex: 1 1 auto;
}

.ph-home-services-values .ph-values-service-link:hover {
  text-decoration: none !important;
}

.ph-home-services-values .cs_feature.cs_style_1 {
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  height: 100%;
  flex: 1 1 auto;
}

.ph-home-services-values .ph-values-service-link:hover .cs_feature.cs_style_1 {
  transform: translateY(-8px);
}

.ph-home-services-values .cs_feature.cs_style_1 p {
  color: #5a6a85;
}

/* ========== All services archive ========== */
.ph-services-archive__intro {
  max-width: 640px;
  margin: 0 auto;
  color: #5a6a85;
  font-size: 18px;
  line-height: 1.6;
}

.ph-services-grid {
  --ph-service-gap: 28px;
}

.ph-services-grid > [class*="col-"] {
  margin-bottom: var(--ph-service-gap);
}

.ph-service-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  min-height: 170px;
  padding: 32px 28px;
  background: #ffffff;
  border: 1px solid #d7e2ef;
  border-radius: 20px;
  text-align: left;
  text-decoration: none !important;
  height: 100%;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.ph-service-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: 16px;
  border-radius: 50%;
  background: var(--accent-color, #307bc4);
  flex: 0 0 auto;
}
.ph-service-card__icon img {
  width: 26px;
  height: 26px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.ph-service-card__title {
  display: block;
  color: #0b1c39;
  font-size: 24px;
  line-height: 1.3;
  font-weight: 700;
  margin: 0 0 10px;
}

.ph-service-card__excerpt {
  display: block;
  color: #5a6a85;
  font-size: 15px;
  line-height: 1.55;
  margin-bottom: 14px;
}

.ph-service-card__more {
  color: var(--accent-color, #307bc4);
  font-weight: 600;
  font-size: 14px;
}

.ph-service-card:hover {
  border-color: #307bc4;
  box-shadow: 0 10px 30px rgba(48, 123, 196, 0.12);
  transform: translateY(-3px);
}

.ph-service-card:hover .ph-service-card__title {
  color: #307bc4;
}

/* ========== Single service details ========== */
.ph-service-details__eyebrow {
  color: var(--accent-color, #307bc4);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.ph-service-details__title {
  color: #0b1c39;
  font-size: 48px;
  line-height: 1.2;
  font-weight: 700;
  margin: 0 0 16px;
}

.ph-service-details__lead {
  font-size: 20px;
  line-height: 1.6;
  color: #5a6a85;
  margin-bottom: 28px;
}

.ph-service-details__content {
  color: #334155;
  font-size: 17px;
  line-height: 1.75;
}

.ph-service-details__content p {
  margin-bottom: 18px;
}

.ph-service-details__content ul {
  margin: 0 0 22px 1.2em;
  padding: 0;
}

.ph-service-details__content li {
  margin-bottom: 8px;
}

.ph-service-details__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 36px;
}

.ph-service-details__sidebar {
  background: #f4f8fc;
  border-radius: 20px;
  padding: 28px 24px;
  position: sticky;
  top: 120px;
}

.ph-service-details__sidebar-title {
  font-size: 22px;
  font-weight: 700;
  color: #0b1c39;
  margin: 0 0 18px;
}

.ph-service-details__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.ph-service-details__list li {
  border-bottom: 1px solid #d7e2ef;
}

.ph-service-details__list li:last-child {
  border-bottom: 0;
}

.ph-service-details__list a {
  display: block;
  padding: 12px 0;
  color: #0b1c39;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.ph-service-details__list a:hover,
.ph-service-details__list li.is-active a {
  color: var(--accent-color, #307bc4);
}

@media (max-width: 991px) {
  .ph-service-details__title {
    font-size: 34px;
  }

  .ph-service-details__sidebar {
    margin-top: 40px;
    position: static;
  }
}

@media (max-width: 767px) {
  .ph-service-card {
    min-height: 0;
  }

  .ph-service-card__title {
    font-size: 20px;
  }
}

/* ========== Footer newsletter fallback form ========== */
.ph-footer-newsletter-form {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  max-width: 420px;
  padding: 6px 6px 6px 18px;
  border: 1px solid #0b1c39;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.35);
}

.ph-footer-newsletter-form input[type="email"] {
  flex: 1;
  border: 0;
  outline: 0;
  background: transparent;
  color: #0b1c39;
  font-size: 15px;
  min-width: 0;
}

.ph-footer-newsletter-form button {
  border: 0;
  border-radius: 999px;
  background: #0b1c39;
  color: #fff;
  font-weight: 700;
  padding: 12px 22px;
  cursor: pointer;
}

/* Footer mobile: name was capped at 50%, Submit sat on the email, arrow sat on the copyright. */
@media (max-width: 991px) {
  .cs_footer .footer-widget-text-width {
    max-width: 100%;
  }
}
.cs_footer .cs_newsletter_form .cs_form_field {
  width: 100%;
  box-sizing: border-box;
  padding-right: 132px;
}
.cs_footer .cs_newsletter_form .cs_btn.cs_style_1 {
  right: 6px;
  padding: 12px 18px;
}
@media (max-width: 575px) {
  .cs_footer.cs_style_1 {
    margin-top: 150px;
  }
  .cs_footer.cs_style_1 .cs_footer_brand {
    width: min(280px, 78vw);
    height: min(300px, 84vw);
    top: -112px;
    margin-left: 0;
  }
  .cs_footer.cs_style_1 .cs_footer_brand img,
  .cs_footer_brand_icon {
    max-width: 46%;
    max-height: 40px;
  }
  .cs_footer.cs_style_1 .cs_footer_brand_text {
    display: none;
  }
  .cs_footer .cs_newsletter_form .cs_form_field {
    padding-left: 16px;
    padding-right: 112px;
    font-size: 14px;
  }
  .cs_footer .cs_newsletter_form .cs_btn.cs_style_1 {
    padding: 10px 14px;
  }
  .cs_footer_bottom .cs_copyright {
    padding-left: 68px;
    padding-right: 68px;
    line-height: 1.45;
    box-sizing: border-box;
  }
  .cs_scrollup {
    right: 12px;
  }
  .cs_scrollup.cs_scrollup_show {
    bottom: 18px;
  }
}

/* Footer menu list spacing like demo */
.cs_footer_main .menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

.cs_footer_main .menu li {
  margin: 0 0 12px;
}

.cs_footer_main .menu a {
  color: #0b1c39;
  text-decoration: none;
  font-weight: 500;
}

.cs_footer_main .menu a:hover {
  color: var(--accent-color, #307bc4);
}

/* ========== Dynamic Service Details (DOCX + ProHealth UI) ========== */
/* Find Doctor–style page banner on Services (cs_banner style 5) */
.ph-services-banner.cs_banner.cs_style_5 .cs_banner_title {
  max-width: 640px;
}
.ph-services-banner.cs_banner.cs_style_5 .cs_banner_subtitle {
  max-width: 680px;
}
body.page-template-page-about-php .ph-services-banner .cs_banner_subtitle {
  max-width: 680px;
  line-height: 1.6;
}

/* Services, About, Contact, FAQs, Appointments: text block sits level with the side photo. */
@media (min-width: 992px) {
  .ph-services-banner.cs_banner.cs_style_5:not(.ph-privacy-banner) {
    display: flex;
    align-items: center;
    min-height: 560px;
    padding: 150px 0 70px;
  }
  .ph-services-banner.cs_banner.cs_style_5:not(.ph-privacy-banner) .container {
    width: 100%;
  }
  .ph-services-banner.cs_banner.cs_style_5:not(.ph-privacy-banner) .cs_banner_text {
    width: min(680px, calc(50vw - 100px));
    max-width: 680px;
    margin: 0;
    text-align: left;
  }
  .ph-services-banner.cs_banner.cs_style_5:not(.ph-privacy-banner) .cs_banner_title,
  .ph-services-banner.cs_banner.cs_style_5:not(.ph-privacy-banner) .cs_banner_subtitle {
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
    text-align: left;
  }
  .ph-services-banner.cs_banner.cs_style_5:not(.ph-privacy-banner) .cs_banner_subtitle {
    line-height: 1.6;
  }
}

/* Privacy Policy banner: no side photo, blue library background, centered title. */
.ph-privacy-banner.cs_banner.cs_style_5 {
  min-height: 0;
  padding: 150px 0 70px;
  text-align: center;
}
.ph-privacy-banner.cs_banner.cs_style_5 .cs_banner_img {
  display: none !important;
}
.ph-privacy-banner.cs_banner.cs_style_5 .cs_banner_text {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.ph-privacy-banner.cs_banner.cs_style_5 .cs_banner_title,
.ph-privacy-banner.cs_banner.cs_style_5 .cs_banner_subtitle {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
@media (max-width: 991px) {
  .ph-privacy-banner.cs_banner.cs_style_5 {
    padding: 130px 0 56px;
  }
}

.ph-sd {
  --ph-sd-ink: #0b1c39;
  --ph-sd-muted: #5a6a85;
  --ph-sd-line: #d7e2ef;
  --ph-sd-soft: #f4f8fc;
  --ph-sd-card: #ffffff;
  --ph-sd-accent: var(--accent-color, #307bc4);
  /* DOCX-aligned type scale (readable on web) */
  --ph-sd-body: 16px;       /* ~11–12pt */
  --ph-sd-lead: 18px;       /* ~13–14pt */
  --ph-sd-h3: 20px;         /* ~15pt */
  --ph-sd-h2: clamp(26px, 2.8vw, 34px); /* ~18–20pt */
  --ph-sd-hero: clamp(30px, 3.6vw, 40px); /* ~26pt */
  color: var(--ph-sd-muted);
  font-size: var(--ph-sd-body);
  line-height: 1.7;
}

.ph-sd__h1,
.ph-sd-hero__title,
.ph-sd__h2,
.ph-sd-cta__box h2 {
  color: var(--ph-sd-ink);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.ph-sd__h2 {
  font-size: var(--ph-sd-h2);
  line-height: 1.28;
  margin: 0 0 16px;
}

.ph-sd-heading { margin-bottom: 10px; max-width: 820px; }
.ph-sd-heading--center { margin-left: auto; margin-right: auto; text-align: center; }

.ph-sd__lead {
  font-size: var(--ph-sd-lead);
  line-height: 1.65;
  color: var(--ph-sd-muted);
  margin-bottom: 24px;
}

.ph-sd__rich { margin-bottom: 24px; }
.ph-sd__rich p { margin-bottom: 14px; }
.ph-sd__rich--narrow { max-width: 820px; }
.ph-sd__rich--after { margin-top: 22px; }
.ph-sd__rich ul { padding-left: 1.15em; margin: 0 0 14px; }
.ph-sd__rich li { margin-bottom: 8px; }

.ph-sd-section {
  padding: 88px 0;
  scroll-margin-top: 180px;
}
.ph-sd-section--soft { background: var(--ph-sd-soft); }

/* Sticky in-page nav (DOCX) */
.ph-sd-nav {
  position: sticky;
  top: 90px;
  z-index: 40;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(215, 226, 239, 0.9);
  box-shadow: 0 8px 24px rgba(11, 28, 57, 0.05);
}
.ph-sd-nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 68px;
}
.ph-sd-nav__links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  list-style: none;
  margin: 0;
  padding: 12px 0;
}
.ph-sd-nav__links a {
  color: var(--ph-sd-ink);
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  position: relative;
  padding: 6px 0;
  transition: color .2s ease;
}
.ph-sd-nav__links a:hover,
.ph-sd-nav__links a.is-active {
  color: var(--ph-sd-accent);
}
.ph-sd-nav__links a.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--ph-sd-accent);
  border-radius: 2px;
}
.ph-sd-nav__cta { flex-shrink: 0; white-space: nowrap; }

/* Hero */
.ph-sd-hero {
  padding: 56px 0 40px;
  background:
    radial-gradient(circle at 88% 18%, rgba(48, 123, 196, 0.10), transparent 42%),
    linear-gradient(180deg, #ffffff 0%, #f8fbfe 100%);
}
.ph-sd-hero__row { row-gap: 36px; }
.ph-sd-hero__eyebrow {
  display: inline-block;
  color: var(--ph-sd-accent);
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: 12px;
  margin-bottom: 12px;
}
.ph-sd-hero__title {
  font-size: var(--ph-sd-hero);
  line-height: 1.2;
  margin: 0 0 14px;
}
.ph-sd-hero__subtitle {
  font-size: var(--ph-sd-lead);
  line-height: 1.55;
  color: var(--ph-sd-muted);
  margin-bottom: 14px;
  font-weight: 500;
}
.ph-sd-hero__text { max-width: 560px; }
.ph-sd-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  margin-top: 28px;
}
.ph-sd-hero__call {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  color: var(--ph-sd-ink);
  text-decoration: none;
  transition: color .2s ease;
}
.ph-sd-hero__call:hover { color: var(--ph-sd-accent); }
.ph-sd-hero__call-ico {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: rgba(48, 123, 196, 0.12);
  color: var(--ph-sd-accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.ph-sd-hero__call-ico::before { display: none; }
.ph-sd-hero__media {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 24px 50px rgba(11, 28, 57, 0.12);
}
.ph-sd-hero__media::after {
  content: "";
  position: absolute;
  inset: auto -18% -18% auto;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: rgba(48, 123, 196, 0.14);
  pointer-events: none;
}
.ph-sd-hero__media img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
  display: block;
}
.ph-sd-hero__placeholder {
  min-height: 360px;
  background:
    linear-gradient(145deg, #e8f1fa 0%, #f7fbff 45%, #dceaf8 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ph-sd-accent);
}
.ph-sd-hero__placeholder--sm { min-height: 320px; border-radius: 28px; }
.ph-sd-hero__placeholder-inner {
  text-align: center;
  display: grid;
  gap: 12px;
  justify-items: center;
  padding: 24px;
  color: var(--ph-sd-muted);
  font-weight: 600;
}

/* Promise cards */
.ph-sd-promises { margin-top: 12px; }
.ph-sd-promise {
  background: var(--ph-sd-card);
  border: 1px solid var(--ph-sd-line);
  border-radius: 24px;
  padding: 32px 26px;
  height: 100%;
  box-shadow: 0 10px 30px rgba(11, 28, 57, 0.04);
  transition: transform .25s ease, box-shadow .25s ease;
}
.ph-sd-promise:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(11, 28, 57, 0.08);
}
.ph-sd-promise__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 48px;
  height: 48px;
  padding: 0 12px;
  border-radius: 14px;
  background: rgba(48, 123, 196, 0.12);
  color: var(--ph-sd-accent);
  font-weight: 800;
  font-size: 18px;
  margin-bottom: 16px;
}
.ph-sd-promise__title {
  font-size: var(--ph-sd-h3);
  color: var(--ph-sd-ink);
  margin: 0 0 10px;
}
.ph-sd-promise p { margin: 0; }

/* Type cards */
.ph-sd-type {
  background: var(--ph-sd-card);
  border-radius: 24px;
  padding: 28px 24px;
  height: 100%;
  border: 1px solid transparent;
  box-shadow: 0 10px 28px rgba(11, 28, 57, 0.05);
  border-top: 3px solid var(--ph-sd-accent);
}
.ph-sd-type h3 {
  font-size: var(--ph-sd-h3);
  color: var(--ph-sd-ink);
  margin: 0 0 10px;
}
.ph-sd-type p { margin: 0; }

/* Symptoms */
.ph-sd-sym-group {
  background: var(--ph-sd-card);
  border-radius: 24px;
  padding: 28px 24px;
  height: 100%;
  border: 1px solid var(--ph-sd-line);
}
.ph-sd-sym-group h3 {
  color: var(--ph-sd-ink);
  font-size: var(--ph-sd-h3);
  margin: 0 0 16px;
}
.ph-sd-sym-group ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.ph-sd-sym-group li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 12px;
}
.ph-sd-sym-group li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: rgba(48, 123, 196, 0.15);
  box-shadow: inset 0 0 0 4px var(--ph-sd-accent);
}
.ph-sd-help {
  margin-top: 28px;
  padding: 24px 26px;
  border-radius: 20px;
  background: #eef5fc;
  border: 1px solid #d3e4f5;
}
.ph-sd-help h3 {
  color: var(--ph-sd-ink);
  font-size: 22px;
  margin: 0 0 8px;
}
.ph-sd-help .ph-sd__rich { margin-bottom: 0; }
.ph-sd-alert {
  margin-top: 18px;
  background: #fff7ed;
  border: 1px solid #f3d5a8;
  border-left: 4px solid #e29a3b;
  border-radius: 18px;
  padding: 20px 22px;
}
.ph-sd-alert strong {
  display: block;
  color: var(--ph-sd-ink);
  margin-bottom: 6px;
  font-size: 18px;
}
.ph-sd-alert p { margin: 0; color: var(--ph-sd-muted); }

/* Conditions */
.ph-sd-conditions { display: grid; gap: 18px; }
.ph-sd-condition {
  background: var(--ph-sd-card);
  border-radius: 24px;
  padding: 30px 28px;
  border: 1px solid var(--ph-sd-line);
  box-shadow: 0 8px 24px rgba(11, 28, 57, 0.04);
}
.ph-sd-condition h3 {
  color: var(--ph-sd-ink);
  font-size: var(--ph-sd-h3);
  margin: 0 0 12px;
}
.ph-sd-condition .ph-sd__rich { margin-bottom: 0; }
.ph-sd-condition__help {
  margin-top: 18px;
  padding: 16px 18px;
  border-radius: 16px;
  background: rgba(48, 123, 196, 0.08);
}
.ph-sd-condition__help strong {
  display: block;
  color: var(--ph-sd-accent);
  margin-bottom: 4px;
  font-size: 14px;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.ph-sd-condition__help p { margin: 0; color: var(--ph-sd-ink); }

/* Mid CTA — dark navy bar + accent pill button (DOCX) */
.ph-sd-mid-cta {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 32px 36px;
  border-radius: 28px;
  background: var(--ph-sd-ink);
  color: #fff;
  box-shadow: 0 18px 40px rgba(11, 28, 57, 0.18);
}
.ph-sd-mid-cta h3 {
  color: #fff;
  margin: 0 0 8px;
  font-size: clamp(22px, 2.4vw, 28px);
  font-weight: 700;
}
.ph-sd-mid-cta p {
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  max-width: 560px;
  font-size: 16px;
  line-height: 1.6;
}
.ph-sd-mid-cta .cs_btn.cs_style_1 {
  flex-shrink: 0;
  color: #fff !important;
}
.ph-sd-mid-cta .cs_btn.cs_style_1::before,
.ph-sd-mid-cta .cs_btn.cs_style_1::after {
  background-image: linear-gradient(134deg, var(--ph-sd-accent) 0%, #4a93d4 100%) !important;
}
.ph-sd-mid-cta .cs_btn.cs_style_1:hover::after {
  opacity: 1 !important;
  background-image: linear-gradient(134deg, #4a93d4 0%, var(--ph-sd-accent) 100%) !important;
}

/* Diagnosis timeline */
.ph-sd-timeline {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  display: grid;
  gap: 14px;
  counter-reset: none;
}
.ph-sd-timeline__item {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 18px;
  align-items: start;
  background: var(--ph-sd-card);
  border: 1px solid var(--ph-sd-line);
  border-radius: 20px;
  padding: 22px 24px;
  box-shadow: 0 8px 22px rgba(11, 28, 57, 0.04);
}
.ph-sd-timeline__label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--ph-sd-accent);
  color: #fff;
  font-weight: 800;
  font-size: 13px;
  letter-spacing: .04em;
  text-align: center;
}
.ph-sd-timeline__item p { margin: 0; color: var(--ph-sd-muted); padding-top: 6px; }
.ph-sd-outro {
  margin-top: 24px;
  padding: 20px 22px;
  border-radius: 18px;
  background: #eef5fc;
  color: var(--ph-sd-ink);
  font-weight: 500;
}

/* Treatment steps */
.ph-sd-treat-list { display: grid; gap: 16px; margin-top: 8px; }
.ph-sd-treat {
  background: var(--ph-sd-card);
  border-radius: 24px;
  padding: 28px;
  border: 1px solid var(--ph-sd-line);
  box-shadow: 0 8px 24px rgba(11, 28, 57, 0.04);
}
.ph-sd-treat__head {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-bottom: 12px;
}
.ph-sd-treat__num {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--ph-sd-accent);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  flex-shrink: 0;
}
.ph-sd-treat__head h3 {
  margin: 0;
  color: var(--ph-sd-ink);
  font-size: var(--ph-sd-h3);
}
.ph-sd-treat .ph-sd__rich { margin-bottom: 0; }

/* Why us */
.ph-sd-why {
  background: var(--ph-sd-card);
  border: 1px solid var(--ph-sd-line);
  border-radius: 24px;
  padding: 28px 24px;
  height: 100%;
  transition: transform .25s ease, box-shadow .25s ease;
}
.ph-sd-why:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 34px rgba(11, 28, 57, 0.08);
}
.ph-sd-why__ico {
  display: block;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: rgba(48, 123, 196, 0.12);
  margin-bottom: 16px;
  position: relative;
}
.ph-sd-why__ico::before {
  content: "";
  position: absolute;
  left: 14px;
  top: 12px;
  width: 10px;
  height: 16px;
  border-right: 3px solid var(--ph-sd-accent);
  border-bottom: 3px solid var(--ph-sd-accent);
  transform: rotate(45deg);
}
.ph-sd-why h3 { color: var(--ph-sd-ink); font-size: var(--ph-sd-h3); margin: 0 0 8px; }
.ph-sd-why p { margin: 0; }

/* Expect */
.ph-sd-expect-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}
.ph-sd-expect-list li {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 14px;
  align-items: start;
  font-size: 17px;
  color: var(--ph-sd-ink);
}
.ph-sd-expect-list__n {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--ph-sd-accent);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
}
.ph-sd-expect-media {
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(11, 28, 57, 0.1);
}
.ph-sd-expect-media img {
  width: 100%;
  min-height: 320px;
  object-fit: cover;
  display: block;
}

/* Myths */
.ph-sd-myths { display: grid; gap: 14px; }
.ph-sd-myth {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--ph-sd-line);
  background: var(--ph-sd-card);
}
.ph-sd-myth__m,
.ph-sd-myth__f { padding: 22px 24px; }
.ph-sd-myth__m { background: #fff8f4; }
.ph-sd-myth__f { background: #f3f9ff; }
.ph-sd-myth span {
  display: inline-block;
  font-weight: 800;
  font-size: 12px;
  letter-spacing: .08em;
  margin-bottom: 8px;
}
.ph-sd-myth__m span { color: #c45c2c; }
.ph-sd-myth__f span { color: var(--ph-sd-accent); }
.ph-sd-myth p { margin: 0; color: var(--ph-sd-ink); }

/* FAQ uses theme accordion; tighten spacing */
.ph-sd-faqs { margin-top: 18px; }
.ph-sd-faqs .cs_accordian_head { cursor: pointer; }

/* Final CTA — solid accent card + white primary button */
.ph-sd-cta { padding: 28px 0 10px; }
.ph-sd-cta__box {
  position: relative;
  overflow: hidden;
  background: var(--ph-sd-accent);
  color: #fff;
  padding: 52px 48px;
  border-radius: 28px;
  box-shadow: 0 22px 48px rgba(48, 123, 196, 0.28);
}
.ph-sd-cta__box::before {
  content: "";
  position: absolute;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  right: -80px;
  top: -100px;
  background: rgba(255, 255, 255, 0.1);
  pointer-events: none;
}
.ph-sd-cta__content { position: relative; z-index: 1; max-width: 820px; }
.ph-sd-cta__box h2 {
  color: #fff;
  font-size: var(--ph-sd-h2);
  margin: 0 0 16px;
}
.ph-sd-cta__box .ph-sd__rich {
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 8px;
  max-width: 720px;
}
.ph-sd-cta__box .ph-sd__rich p { margin-bottom: 12px; }
.ph-sd-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 22px;
  align-items: center;
  margin: 28px 0 18px;
}
.ph-sd-cta__box .cs_btn.cs_style_1,
.ph-sd-cta__btn {
  color: var(--ph-sd-ink) !important;
  background: transparent !important;
  box-shadow: 0 10px 24px rgba(11, 28, 57, 0.18) !important;
}
.ph-sd-cta__box .cs_btn.cs_style_1::before,
.ph-sd-cta__box .cs_btn.cs_style_1::after,
.ph-sd-cta__btn::before,
.ph-sd-cta__btn::after {
  background-image: none !important;
  background: #ffffff !important;
  opacity: 1 !important;
}
.ph-sd-cta__box .cs_btn.cs_style_1:hover::before,
.ph-sd-cta__box .cs_btn.cs_style_1:hover::after {
  background: #f3f8fd !important;
}
.ph-sd-cta__link {
  color: #fff;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
  border: 0;
  padding: 0;
}
.ph-sd-cta__link:hover { opacity: 0.9; color: #fff; }
.ph-sd-cta__meta {
  opacity: 0.95;
  margin: 0 0 4px;
  font-size: 15px;
}
.ph-sd-cta__meta a { color: #fff; text-decoration: underline; text-underline-offset: 2px; }
.ph-sd-cta__crisis {
  margin: 18px 0 0;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.32);
  font-size: 14px;
  line-height: 1.6;
  opacity: 0.92;
  max-width: 820px;
}

/* More services */
.ph-sd-more { padding-top: 36px; }
.ph-sd-more__title { color: var(--ph-sd-ink); margin-bottom: 16px; font-size: 24px; }
.ph-sd-more__list {
  list-style: none;
  margin: 0 0 22px;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.ph-sd-more__list a {
  display: inline-block;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid var(--ph-sd-line);
  color: var(--ph-sd-ink);
  text-decoration: none;
  font-weight: 600;
  transition: all .2s ease;
}
.ph-sd-more__list li.is-active a,
.ph-sd-more__list a:hover {
  background: var(--ph-sd-accent);
  border-color: var(--ph-sd-accent);
  color: #fff;
}

.ph-sd__admin-hint {
  margin-top: 24px;
  padding: 14px 16px;
  background: #eef6ff;
  border-radius: 12px;
  color: var(--ph-sd-ink);
}

@media (max-width: 991px) {
  .ph-sd-section { padding: 64px 0; scroll-margin-top: 160px; }
  .ph-sd-nav { top: 0; }
  .ph-sd-nav__inner { flex-direction: column; align-items: stretch; padding: 8px 0 12px; }
  .ph-sd-nav__cta { width: 100%; text-align: center; }
  .ph-sd-timeline__item { grid-template-columns: 1fr; }
  .ph-sd-myth { grid-template-columns: 1fr; }
  .ph-sd-cta__box { padding: 36px 24px; }
  .ph-sd-mid-cta { padding: 26px 22px; }
  .ph-sd-hero__media img,
  .ph-sd-hero__placeholder { min-height: 280px; }
}

@media (max-width: 575px) {
  .ph-sd-nav__links { gap: 6px 14px; }
  .ph-sd-nav__links a { font-size: 14px; }
}

/* ========== Doctor profile (Dr Maham / DOCX) ========== */
.ph-doctor-page-heading .cs_page_heading_in {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}
.ph-doctor-page-heading .cs_search_form {
  display: none !important;
}
.ph-doctor-page-heading .breadcrumb {
  margin: 0;
}
.ph-doctor-details .ph-doc-contact-note {
  display: block;
  font-size: 13px;
  opacity: 0.7;
  margin-top: 2px;
}
.ph-doctor-details .ph-doc-sched-heading {
  background: rgba(48, 123, 196, 0.08) !important;
  font-weight: 700;
}
.ph-doctor-details .ph-doc-sched-heading span:last-child:empty {
  display: none;
}
.ph-doc-book__label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: #0b1c39;
}
.ph-doc-book__form .cs_form_field {
  width: 100%;
}
.ph-doc-book__notice {
  text-align: center;
  padding: 14px 18px;
  border-radius: 12px;
  margin-bottom: 24px;
}
.ph-doc-book__notice--ok {
  background: #e8f7ee;
  color: #1b6b3a;
}
.ph-doc-book__notice--err {
  background: #fdecec;
  color: #8a1f1f;
}
.ph-doc-cta {
  padding: 70px 20px;
  border-radius: 0;
}

/* ========== Privacy Policy / legal pages ========== */
.ph-legal__article {
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 8px 28px rgba(11, 28, 57, 0.06);
  padding: clamp(28px, 4vw, 48px);
}
.ph-legal__content {
  color: #5a6a85;
  font-size: 17px;
  line-height: 1.75;
}
.ph-legal__content .ph-legal__updated {
  margin: 0 0 28px;
  padding-bottom: 18px;
  border-bottom: 1px solid #d7e2ef;
  color: #0b1c39;
}
.ph-legal__content h2 {
  color: #0b1c39;
  font-size: clamp(22px, 2.4vw, 28px);
  margin: 36px 0 14px;
  line-height: 1.3;
}
.ph-legal__content h3 {
  color: #0b1c39;
  font-size: 18px;
  margin: 22px 0 10px;
}
.ph-legal__content p {
  margin: 0 0 14px;
}
.ph-legal__content ul {
  margin: 0 0 18px;
  padding-left: 1.2em;
}
.ph-legal__content li {
  margin-bottom: 8px;
}
.ph-legal__content a {
  color: #307bc4;
  text-decoration: none;
}
.ph-legal__content a:hover {
  text-decoration: underline;
}
.ph-legal__contact {
  margin-top: 18px;
  padding: 22px 24px;
  background: #f4f8fc;
  border-radius: 16px;
  border-left: 4px solid #307bc4;
}
.ph-legal__contact p {
  margin: 0 0 8px;
  color: #0b1c39;
}
.ph-legal__contact p:last-child {
  margin-bottom: 0;
}
@media (max-width: 575px) {
  .ph-legal__article {
    padding: 22px 18px;
    border-radius: 16px;
  }
}

/* ========== About page (structured UX) ========== */
.ph-ab {
  --ph-ab-ink: #0b1c39;
  --ph-ab-muted: #5a6a85;
  --ph-ab-line: #d7e2ef;
  --ph-ab-soft: #f4f8fc;
  --ph-ab-accent: #307bc4;
}
.ph-ab-eyebrow {
  margin: 0 0 10px;
  color: var(--ph-ab-accent);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.ph-ab-heading {
  margin: 0 0 16px;
  color: var(--ph-ab-ink);
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.25;
  font-weight: 700;
}
.ph-ab-heading--md {
  font-size: clamp(24px, 2.6vw, 32px);
}
.ph-ab-text {
  margin: 0 0 20px;
  color: var(--ph-ab-muted);
  font-size: 16px;
  line-height: 1.7;
}
.ph-ab-text--narrow {
  max-width: 560px;
}
.ph-ab-block {
  padding: 72px 0;
}
.ph-ab-block--muted {
  background: var(--ph-ab-soft);
}
.ph-ab-block__head {
  max-width: 640px;
  margin: 0 auto 36px;
  text-align: center;
}
.ph-ab-block__head--quote {
  max-width: 820px;
}
.ph-ab-block__head .ph-ab-text {
  margin-left: auto;
  margin-right: auto;
}

/* Profile */
.ph-ab-profile {
  padding: 56px 0 72px;
}
.ph-ab-profile__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 48px;
  align-items: start;
}
.ph-ab-profile__media .cs_single_doctor img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}
.ph-ab-meta {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  border-top: 1px solid var(--ph-ab-line);
}
.ph-ab-meta li {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--ph-ab-line);
  color: var(--ph-ab-muted);
  font-size: 15px;
  line-height: 1.45;
}
.ph-ab-meta strong {
  color: var(--ph-ab-ink);
  font-weight: 700;
}
.ph-ab-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 24px;
}
.ph-ab-link {
  color: var(--ph-ab-accent);
  font-weight: 600;
  text-decoration: none;
}
.ph-ab-link:hover {
  text-decoration: underline;
}

/* Credentials */
.ph-ab-creds {
  list-style: none;
  max-width: 720px;
  margin: 0 auto 28px;
  padding: 0;
}
.ph-ab-creds li {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 20px;
  padding: 18px 0;
  border-bottom: 1px solid var(--ph-ab-line);
}
.ph-ab-creds li:last-child {
  border-bottom: 0;
}
.ph-ab-creds__year {
  color: var(--ph-ab-accent);
  font-weight: 800;
  font-size: 15px;
  padding-top: 2px;
}
.ph-ab-creds strong {
  display: block;
  color: var(--ph-ab-ink);
  font-size: 17px;
  margin-bottom: 4px;
}
.ph-ab-creds span {
  color: var(--ph-ab-muted);
  font-size: 15px;
  line-height: 1.5;
}
.ph-ab-note {
  max-width: 720px;
  margin: 0 auto;
  padding: 18px 20px;
  background: #fff;
  border-radius: 14px;
  border: 1px solid var(--ph-ab-line);
}
.ph-ab-note p {
  margin: 0;
  color: var(--ph-ab-muted);
  font-size: 15px;
  line-height: 1.65;
}
.ph-ab-prose {
  max-width: 820px;
  margin: 0 auto 28px;
}
.ph-ab-prose p {
  margin: 0 0 14px;
  color: var(--ph-ab-muted);
  font-size: 16px;
  line-height: 1.7;
}
.ph-ab-prose p:last-child {
  margin-bottom: 0;
}
.ph-ab-prose h3 {
  margin: 0 0 12px;
  color: var(--ph-ab-ink);
  font-size: 22px;
}
.ph-ab-prose--spaced {
  margin-bottom: 28px;
}
.ph-ab-panel__intro {
  margin: 0 0 12px !important;
  color: var(--ph-ab-muted) !important;
  font-size: 14px !important;
  line-height: 1.55 !important;
}
.ph-ab-steps {
  margin-top: 8px;
}

/* Quote */
.ph-ab-quote {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  padding: 8px 0;
}
.ph-ab-quote blockquote {
  margin: 0;
}
.ph-ab-quote p {
  margin: 0;
  color: var(--ph-ab-ink);
  font-size: clamp(20px, 2.3vw, 26px);
  line-height: 1.55;
  font-weight: 500;
}
.ph-ab-quote figcaption {
  margin-top: 18px;
  color: var(--ph-ab-accent);
  font-weight: 700;
  font-size: 14px;
}

/* Approach steps */
.ph-ab-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.ph-ab-steps article {
  background: #fff;
  border: 1px solid var(--ph-ab-line);
  border-radius: 16px;
  padding: 24px 22px;
}
.ph-ab-steps span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin-bottom: 14px;
  border-radius: 50%;
  background: var(--ph-ab-accent);
  color: #fff;
  font-weight: 800;
  font-size: 14px;
}
.ph-ab-steps h3 {
  margin: 0 0 8px;
  color: var(--ph-ab-ink);
  font-size: 18px;
}
.ph-ab-steps p {
  margin: 0;
  color: var(--ph-ab-muted);
  font-size: 15px;
  line-height: 1.6;
}

/* Split panels */
.ph-ab-split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.ph-ab-panel {
  background: var(--ph-ab-soft);
  border-radius: 16px;
  padding: 28px 26px;
  border: 1px solid var(--ph-ab-line);
}
.ph-ab-panel h3 {
  margin: 0 0 14px;
  color: var(--ph-ab-ink);
  font-size: 20px;
}
.ph-ab-panel p {
  margin: 0 0 12px;
  color: var(--ph-ab-muted);
  font-size: 15px;
  line-height: 1.65;
}
.ph-ab-panel p:last-child {
  margin-bottom: 0;
}
.ph-ab-panel ul {
  list-style: none;
  margin: 0;
  padding: 0;
  columns: 2;
  column-gap: 18px;
}
.ph-ab-panel li {
  color: var(--ph-ab-ink);
  font-size: 15px;
  padding: 7px 0;
  border-bottom: 1px solid var(--ph-ab-line);
  break-inside: avoid;
}
.ph-ab-panel li:last-child {
  border-bottom: 0;
}

/* Visit / CTA */
.ph-ab-visit {
  padding-bottom: 96px;
}
.ph-ab-visit__card {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 0;
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--ph-ab-line);
  box-shadow: 0 10px 30px rgba(11, 28, 57, 0.06);
}
.ph-ab-visit__info,
.ph-ab-visit__cta {
  padding: 36px 32px;
}
.ph-ab-visit__cta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: var(--ph-ab-ink);
  color: #fff;
}
.ph-ab-visit__cta .ph-ab-eyebrow {
  color: #9cc4f3;
}
.ph-ab-visit__cta h3 {
  margin: 0 0 12px;
  color: #fff;
  font-size: 24px;
  line-height: 1.3;
}
.ph-ab-visit__cta > p {
  margin: 0 0 16px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 15px;
  line-height: 1.6;
}
.ph-ab-visit__cta > .cs_btn.cs_style_1 {
  display: inline-flex;
  margin: 6px 0 20px;
  position: relative;
  z-index: 1;
}
.ph-ab-hours {
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
}
.ph-ab-hours li {
  padding: 14px 0;
  border-bottom: 1px solid var(--ph-ab-line);
}
.ph-ab-hours li:last-child {
  border-bottom: 0;
}
.ph-ab-hours strong {
  display: block;
  color: var(--ph-ab-ink);
  margin-bottom: 4px;
  font-size: 16px;
}
.ph-ab-hours span {
  color: var(--ph-ab-muted);
  font-size: 14px;
}
.ph-ab-visit__cta > p.ph-ab-visit__contact {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  margin: 0;
  font-size: 15px;
  line-height: 1.4;
  position: relative;
  z-index: 2;
}
.ph-ab-visit__contact br {
  display: none;
}
.ph-ab-visit__contact a {
  display: inline-block;
  color: #fff;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
  line-height: 1.4;
  padding: 2px 0;
}
.ph-ab-visit__contact a:hover {
  border-bottom-color: #fff;
}

@media (max-width: 991px) {
  .ph-ab-profile__grid,
  .ph-ab-steps,
  .ph-ab-split,
  .ph-ab-visit__card {
    grid-template-columns: 1fr;
  }
  .ph-ab-meta li {
    grid-template-columns: 1fr;
    gap: 4px;
  }
  .ph-ab-panel ul {
    columns: 1;
  }
}
@media (max-width: 575px) {
  .ph-ab-block,
  .ph-ab-profile {
    padding: 48px 0;
  }
  .ph-ab-visit {
    padding-bottom: 64px;
  }
  .ph-ab-visit__info,
  .ph-ab-visit__cta {
    padding: 28px 22px;
  }
  .ph-ab-creds li {
    grid-template-columns: 56px 1fr;
    gap: 12px;
  }
}
