/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */

.page-content {
  min-height: 85vh;
  padding: 2em 0;
}
.comments-area a,
.page-content a {
  text-decoration: none;
}

.site-main {
  padding: 6em 0;
}

/* Constrained content wrapper — used on pages inside Elementor-managed body
   where Hello Elementor's .site-main max-width rule is bypassed. */
.tbc-page-content-wrap {
  max-width: 1140px;
  margin-inline: auto;
  padding-inline: 24px;
}

/* ==========================================================================
   Therapist Booking – Single Therapist & Service Archive Styles
   ========================================================================== */

/* ── Shared tokens & resets ──────────────────────────────────────────────── */
.tbc-single-therapist *,
.tbc-service-archive *,
.tbc-all-services-page * {
  box-sizing: border-box;
}

.tbc-section {
  margin-bottom: 51px;
}

.tbc-section-title {
  font-size: 1.35rem;
  font-weight: 700;
  margin: 0 0 21px;
  padding-bottom: 10px;
  border-bottom: 1px solid #edf2f7;
  color: #1a202c;
}

/* ── Hero – Therapist ────────────────────────────────────────────────────── */
.tbc-therapist-hero {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: flex-start;
  padding: 40px 0 40px;
  margin-bottom: 40px;
  border-bottom: 1px solid #edf2f7;
}

.tbc-therapist-photo {
  flex: 0 0 198px;
}

.tbc-therapist-photo img {
  width: 200px;
  height: 200px;
  object-fit: cover;
  border-radius: 11px;
  display: block;
  box-shadow: 0 8px 31px rgba(0, 0, 0, 0.12);
}

.tbc-therapist-hero-info {
  flex: 1;
  min-width: 0;
}

.tbc-therapist-name {
  font-size: 1.8rem;
  font-weight: 800;
  margin: 0 0 6px;
  color: #1a202c;
  line-height: 1.15;
}

.tbc-therapist-pro-title {
  font-size: 0.9rem;
  color: #718096;
  margin: 0 0 16px;
  font-style: italic;
}

/* ── Badge chips ─────────────────────────────────────────────────────────── */
.tbc-service-badges,
.tbc-tc-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.tbc-badge {
  display: inline-block;
  padding: 4px 13px;
  border-radius: 3px;
  font-size: 0.8rem;
  font-weight: 600;
  background: transparent;
  color: var(--service-color, #4a90d9);
  border: 1px solid var(--service-color, #4a90d9);
  text-decoration: none;
  letter-spacing: 0.02em;
  transition:
    background 0.15s,
    color 0.15s;
}

.tbc-badge:hover {
  background: rgba(74, 144, 217, 0.08);
  color: var(--service-color, #4a90d9);
  text-decoration: none;
}

/* ── Contact row ─────────────────────────────────────────────────────────── */
.tbc-contact-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 4px;
}

.tbc-contact-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9rem;
  color: #4a5568;
  text-decoration: none;
  transition: color 0.15s;
}

.tbc-contact-link:hover {
  color: #2c6e8f;
}

.tbc-contact-link svg {
  flex-shrink: 0;
}

/* ── Therapist body ──────────────────────────────────────────────────────── */

.tbc-bio-content {
  line-height: 1.8;
  color: #4a5568;
  font-size: 0.98rem;
}

.tbc-bio-content p {
  margin-top: 0;
}

/* ── Services grid (on single therapist) ─────────────────────────────────── */
.tbc-services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 20px;
}

.tbc-service-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-top: 4px solid #4a90d9;
  border-radius: 10px;
  padding: 21px 20px 20px;
  transition:
    box-shadow 0.2s,
    transform 0.15s;
}

.tbc-service-card:hover {
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.1);
  transform: translateY(-1px);
}

.tbc-service-card-title {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0 0 10px;
}

.tbc-service-card-desc {
  font-size: 0.88rem;
  color: #718096;
  margin: 0 0 14px;
  line-height: 1.6;
}

.tbc-service-meta {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tbc-service-meta li {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.85rem;
  color: #4a5568;
  font-weight: 600;
}

/* ── Booking section intro ───────────────────────────────────────────────── */
.tbc-booking-intro {
  color: #718096;
  font-size: 0.95rem;
  margin-bottom: 24px;
  line-height: 1.6;
}

/* ── Service hero ────────────────────────────────────────────────────────── */
.tbc-service-hero {
  position: relative;
  overflow: hidden;
  background: #f7fafc;
  border-bottom: 1px solid #edf2f7;
  margin-bottom: 48px;
}

.tbc-service-hero-inner {
  max-width: 860px;
  margin: 0 auto;
  padding: 51px 24px 44px;
  position: relative;
  z-index: 1;
}

.tbc-service-color-blob {
  position: absolute;
  top: -80px;
  right: -80px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  opacity: 0.12;
  z-index: 0;
  pointer-events: none;
}

.tbc-service-label {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--service-color, #4a90d9);
  margin-bottom: 10px;
}

.tbc-service-name {
  font-size: 2.4rem;
  font-weight: 800;
  color: #1a202c;
  line-height: 1.1;
}

.tbc-service-desc {
  font-size: 1.02rem;
  color: #4a5568;
  line-height: 1.7;
  margin: 14px 0 0;
  max-width: 600px;
}

.tbc-service-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
}

.tbc-service-hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 5px 14px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #4a5568;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}

/* ── Service body ────────────────────────────────────────────────────────── */
.tbc-service-body {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 24px 60px;
}

/* ── Parent term breadcrumb ─────────────────────────────────────────────── */
.tbc-service-breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 8px;
  opacity: 0.75;
}

.tbc-service-breadcrumb a {
  color: inherit;
  text-decoration: none;
}

.tbc-service-breadcrumb a:hover {
  text-decoration: underline;
}

/* ── Therapist card grid (child/leaf term pages) ─────────────────────────── */
.tbc-therapist-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 24px;
  margin-bottom: 48px;
}

.tbc-therapist-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.07);
  border: 1px solid rgba(0, 0, 0, 0.06);
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}

.tbc-therapist-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.13);
}

.tbc-therapist-card-color-bar {
  display: block;
  height: 5px;
  width: 100%;
  flex-shrink: 0;
}

.tbc-therapist-card-photo-wrap {
  display: block;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: #f1f5f9;
}

.tbc-therapist-card-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s;
}

.tbc-therapist-card:hover .tbc-therapist-card-photo {
  transform: scale(1.04);
}

.tbc-therapist-card-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 18px 20px 20px;
  flex: 1;
}

.tbc-therapist-card-name {
  font-size: 1rem;
  font-weight: 700;
  margin: 0;
  line-height: 1.3;
  color: #1a2e44;
}

.tbc-therapist-card-name a {
  color: inherit;
  text-decoration: none;
}

.tbc-therapist-card-name a:hover {
  color: var(--service-color, #4a90d9);
}

.tbc-therapist-card-title {
  font-size: 0.82rem;
  color: #64748b;
  margin: 0;
  font-style: italic;
}

.tbc-therapist-card-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  flex: 1;
}

.tbc-therapist-card-btn {
  display: block;
  text-align: center;
  color: #fff;
  text-decoration: none;
  font-size: 1.06rem;
  font-weight: 600;
  padding: 11px 18px;
  border-radius: 8px;
  margin-top: auto;
  transition:
    opacity 0.2s,
    transform 0.15s;
}

.tbc-therapist-card-btn:hover {
  opacity: 0.88;
  transform: translateY(-1px);
  color: #fff;
}

/* ── Child services grid (inside a parent term page) ────────────────────── */
.tbc-child-services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
  margin-bottom: 48px;
}

.tbc-child-service-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.07);
  text-decoration: none;
  color: inherit;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.tbc-child-service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.13);
}

.tbc-child-service-color-bar {
  display: block;
  height: 5px;
  width: 100%;
  flex-shrink: 0;
}

.tbc-child-service-card-body {
  padding: 20px 22px 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.tbc-child-service-name {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0;
  color: #1a2e44;
  line-height: 1.3;
}

.tbc-child-service-desc {
  font-size: 0.88rem;
  color: #64748b;
  margin: 0;
  line-height: 1.5;
  flex: 1;
}

.tbc-child-service-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}

/* ── Therapist cards on service page (modern alternating) ───────────────── */
.tbc-therapist-cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 32px rgba(0, 0, 0, 0.08);
}

.tbc-therapist-card-inline {
  display: flex;
  gap: 0;
  background: #fff;
  border: none;
  border-bottom: 1px solid #edf2f7;
  border-radius: 0;
  overflow: hidden;
  transition:
    background 0.2s,
    transform 0.2s;
  padding: 28px 32px;
  align-items: center;
  position: relative;
}

.tbc-therapist-card-inline:last-child {
  border-bottom: none;
}

/* odd cards – white, photo left, blue left accent */
.tbc-therapist-card-inline:nth-child(odd) {
  background: #fff;
  border-left: 5px solid #4a90d9;
  flex-direction: row;
}

.tbc-therapist-card-inline:nth-child(odd):hover {
  background: #f5f9ff;
  transform: translateX(4px);
}

/* even cards – deep navy, photo right, mirrored */
.tbc-therapist-card-inline:nth-child(even) {
  background: #1a2e44;
  border-left: none;
  border-right: 5px solid #4a90d9;
  flex-direction: row-reverse;
}

.tbc-therapist-card-inline:nth-child(even):hover {
  background: #1e3652;
  transform: translateX(-4px);
}

.tbc-tc-photo {
  flex-shrink: 0;
  margin-right: 28px;
}

.tbc-therapist-card-inline:nth-child(even) .tbc-tc-photo {
  margin-right: 0;
  margin-left: 28px;
}

.tbc-tc-photo img {
  width: 200px;
  height: 200px;
  object-fit: cover;
  border-radius: 12px;
  display: block;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.tbc-tc-details {
  flex: 1;
  min-width: 0;
}

.tbc-tc-name {
  margin: 0 0 4px;
  font-size: 1.1rem;
  font-weight: 700;
}

.tbc-tc-name a {
  color: #1a202c;
  text-decoration: none;
  transition: color 0.15s;
}

.tbc-therapist-card-inline:nth-child(even) .tbc-tc-name a {
  color: #fff;
}

.tbc-tc-name a:hover {
  color: #4a90d9;
}

.tbc-tc-pro-title {
  font-size: 0.82rem;
  color: #718096;
  margin: 0 0 10px;
  font-style: italic;
}

.tbc-therapist-card-inline:nth-child(even) .tbc-tc-pro-title {
  color: #8eacc4;
}

.tbc-btn-book-therapist {
  display: inline-block;
  margin-top: 14px;
  padding: 10px 25px;
  border-radius: 3px;
  font-size: 1.03rem;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  background: #4a90d9;
  letter-spacing: 0.03em;
  transition:
    background 0.2s,
    transform 0.15s;
}

.tbc-btn-book-therapist:hover {
  background: #357abd;
  color: #fff;
  text-decoration: none;
  transform: translateY(-1px);
}

.tbc-therapist-card-inline:nth-child(even) .tbc-btn-book-therapist {
  background: transparent;
  border: 2px solid #4a90d9;
  color: #4a90d9;
}

.tbc-therapist-card-inline:nth-child(even) .tbc-btn-book-therapist:hover {
  background: #4a90d9;
  color: #fff;
}

.tbc-no-therapists {
  color: #718096;
  font-style: italic;
  padding: 11px 0;
}

/* ── Page intro text ─────────────────────────────────────────────────────── */
.tbc-services-page-intro {
  font-size: 1rem;
  color: #4a5568;
  line-height: 1.7;
  max-width: 660px;
  margin-bottom: 36px;
}

/* ── Responsive ──────────────────────────────────────────────────────────── */
@media (max-width: 680px) {
  .site-main {
    padding: 1em 0;
  }

  .tbc-therapist-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: start;
    gap: 16px;
    padding: 23px 0;
    text-align: left;
  }

  .tbc-therapist-photo {
    grid-column: 1;
    flex: none;
  }

  .tbc-therapist-photo img {
    aspect-ratio: 3 / 4;
  }

  .tbc-therapist-hero-info {
    grid-column: 2;
  }

  .tbc-service-badges,
  .tbc-contact-row {
    justify-content: flex-start;
  }

  .tbc-therapist-name {
    font-size: 1.35rem;
  }

  .tbc-therapist-pro-title {
    font-size: 0.68rem;
  }

  .tbc-service-name {
    font-size: 1.8rem;
  }

  .tbc-service-hero-inner {
    padding: 38px 18px 33px;
  }

  .tbc-therapist-cards-grid,
  .tbc-services-grid {
    grid-template-columns: 1fr;
  }

  .tbc-therapist-card-inline,
  .tbc-therapist-card-inline:nth-child(odd),
  .tbc-therapist-card-inline:nth-child(even) {
    flex-direction: column;
    padding: 22px 20px;
    border-left: none !important;
    border-right: none !important;
    border-top: 4px solid #4a90d9;
    transform: none !important;
  }

  .tbc-tc-photo,
  .tbc-therapist-card-inline:nth-child(even) .tbc-tc-photo {
    margin: 0 0 14px 0;
  }
}

/* =========================
   PREMIUM GRADIENT HEADER
========================= */

#primary-header-menu {
  position: fixed;
  top: 1em;
  width: 100%;
  z-index: 999;
  padding: 1em 0;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  background: linear-gradient(
    90deg,
    #0b0b0b 0%,
    #131313 20%,
    #131313 80%,
    #0b0b0b 100%
  );
  border-top: 1px solid transparent;
  border-bottom: 1px solid transparent;
  box-shadow: none;
  transition: all 0.3s ease;
}

#primary-header-menu.scrolled {
  top: 0;
  padding: 0.5em 0;
  background: linear-gradient(
    90deg,
    rgba(11, 11, 11, 0.55) 0%,
    rgba(19, 19, 19, 0.55) 20%,
    rgba(19, 19, 19, 0.55) 80%,
    rgba(11, 11, 11, 0.55) 100%
  );
  border-top: 1px solid transparent;
  border-bottom: 1px solid transparent;
  box-shadow: none;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
}

/* =========================
   GRADIENT BORDERS
========================= */

#primary-header-menu::before,
#primary-header-menu::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(
    90deg,
    #0b0b0b 0%,
    #262626 20%,
    #262626 80%,
    #0b0b0b 100%
  );
}

#primary-header-menu::before {
  top: 0;
}

#primary-header-menu::after {
  bottom: 0;
}
