/**
 * TERAPİYLE - ONLINE DİYETİSYENLİK LANDING PAGE STYLES
 * Brand: Terapiyle
 * Theme: Natural Emerald Green & Clinical Wellness
 */

/* -------------------------------------------------------------------------
 * 1. CSS VARIABLES & THEME TOKENS
 * ------------------------------------------------------------------------- */
:root {
  --diet-primary: #089b74;
  --diet-primary-dark: #067a5b;
  --diet-primary-deep: #045a43;
  --diet-primary-light: #10b981;
  --diet-primary-mint: #34d399;
  --diet-primary-subtle: #ecfdf5;
  --diet-primary-tint: #f0fdf4;
  --diet-bg: #f7fbf9;
  --diet-bg-white: #ffffff;
  --diet-bg-soft: #f8fafc;
  --diet-heading: #0f172a;
  --diet-body: #475569;
  --diet-muted: #64748b;
  --diet-border: #e2e8f0;
  --diet-border-light: #e6f4ee;
  --diet-border-emerald: #d1fae5;
  --diet-shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.04);
  --diet-shadow-md:
    0 8px 24px -4px rgba(8, 155, 116, 0.1),
    0 4px 12px -2px rgba(15, 23, 42, 0.04);
  --diet-shadow-lg:
    0 16px 36px -6px rgba(8, 155, 116, 0.18),
    0 8px 16px -4px rgba(15, 23, 42, 0.04);
  --diet-transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   GLOBAL THEME: DIETITIAN COLOR PALETTE OVERRIDES
   ========================================================================== */
body.theme-dietitian {
  --primary: #089b74;
  --primary-hover: #067a5b;
  --primary-light: #ecfdf5;
  --primary-subtle: #f0fdf4;
  --border-light: #d1fae5;
  --border-subtle: #e2e8f0;
  --shadow-primary: 0 10px 24px -6px rgba(8, 155, 116, 0.35);
  --shadow-primary-lg: 0 16px 32px -6px rgba(8, 155, 116, 0.45);
}

/* Header Adaptations */
.theme-dietitian .header-cta,
.theme-dietitian #headerBookingBtn,
.theme-dietitian a.header-cta.btn-primary {
  background: linear-gradient(135deg, #089b74 0%, #067a5b 100%) !important;
  background-color: #089b74 !important;
  border-color: #089b74 !important;
  box-shadow: 0 4px 14px rgba(8, 155, 116, 0.28) !important;
  color: #ffffff !important;
}

.theme-dietitian .header-cta:hover,
.theme-dietitian #headerBookingBtn:hover,
.theme-dietitian a.header-cta.btn-primary:hover {
  background: linear-gradient(135deg, #0fae83 0%, #056a4e 100%) !important;
  background-color: #067a5b !important;
  border-color: #067a5b !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(8, 155, 116, 0.38) !important;
  color: #ffffff !important;
}

.theme-dietitian #headerRegisterBtn {
  border-color: #089b74 !important;
  color: #089b74 !important;
  background-color: transparent !important;
}

.theme-dietitian #headerRegisterBtn:hover {
  background-color: #089b74 !important;
  color: #ffffff !important;
  border-color: #089b74 !important;
}

/* Navigation Link Underlines & Active States */
.theme-dietitian .main-nav > li:not(.has-submenu):not(.login-link) > a::after {
  background-color: #089b74 !important;
}

.theme-dietitian .main-nav > li:not(.has-submenu):not(.login-link) > a:hover {
  color: #089b74 !important;
}

.theme-dietitian .nav-dropdown .dropdown-menu li a.active {
  background-color: rgba(8, 155, 116, 0.08) !important;
}

.theme-dietitian .nav-dropdown .dropdown-menu li a.active .dropdown-title {
  color: #089b74 !important;
}

/* Filter drawer button in search box */
.theme-dietitian .exp-filter-drawer-btn {
  background: #ecfdf5 !important;
  color: #089b74 !important;
  border: 1px solid #d1fae5 !important;
}

.theme-dietitian .exp-filter-drawer-btn:hover {
  background: #d1fae5 !important;
  color: #067a5b !important;
  border-color: #a7f3d0 !important;
  transform: translateY(-1px);
}

.theme-dietitian .exp-filter-drawer-btn.active,
.theme-dietitian .exp-filter-drawer-btn[aria-expanded="true"] {
  background: #089b74 !important;
  color: #ffffff !important;
  border-color: #089b74 !important;
}

.theme-dietitian .exp-filter-badge {
  background: #089b74 !important;
  color: #ffffff !important;
}

/* Search Box Focus & Clear */
.theme-dietitian .exp-search-box-wrap:focus-within {
  border-color: #089b74 !important;
  box-shadow: 0 0 0 4px rgba(8, 155, 116, 0.12) !important;
}

.theme-dietitian .exp-search-box-wrap:focus-within .exp-search-icon {
  color: #089b74 !important;
}

.theme-dietitian .exp-search-clear-btn:hover {
  color: #089b74 !important;
  background: #ecfdf5 !important;
}

/* Filter Tabs */
.theme-dietitian .filter-tab.active {
  background: #089b74 !important;
  border-color: #089b74 !important;
  color: #ffffff !important;
  box-shadow: 0 6px 18px -2px rgba(8, 155, 116, 0.35) !important;
}

.theme-dietitian .filter-tab:hover:not(.active) {
  background: #ecfdf5 !important;
  border-color: #a7f3d0 !important;
  color: #089b74 !important;
}

/* Results Count Badge */
.theme-dietitian .exp-results-badge {
  background: #ecfdf5 !important;
  color: #065f46 !important;
  border: 1px solid #d1fae5 !important;
}

/* Sort Dropdown Focus */
.theme-dietitian .exp-sort-select:focus {
  border-color: #089b74 !important;
  box-shadow: 0 0 0 3px rgba(8, 155, 116, 0.15) !important;
  outline: none !important;
}

/* Active Tags Bar */
.theme-dietitian .exp-active-tag-item {
  background: #ecfdf5 !important;
  border: 1px solid #d1fae5 !important;
  color: #065f46 !important;
}

.theme-dietitian .exp-active-tag-remove {
  color: #089b74 !important;
}

.theme-dietitian .exp-active-tag-remove:hover {
  color: #065f46 !important;
}

/* Dietitian Cards */
.theme-dietitian .expert-card:hover {
  border-color: #a7f3d0 !important;
  box-shadow: 0 16px 36px -8px rgba(8, 155, 116, 0.16) !important;
}

.theme-dietitian .expert-card .expert-avatar {
  border-color: #d1fae5 !important;
}

.theme-dietitian .expert-profile-link {
  color: #089b74 !important;
}

.theme-dietitian .expert-profile-link:hover {
  color: #065f46 !important;
}

.theme-dietitian .book-expert-btn,
.theme-dietitian .btn-outline-primary {
  border-color: #089b74 !important;
  color: #089b74 !important;
  background: transparent !important;
}

.theme-dietitian .book-expert-btn:hover,
.theme-dietitian .btn-outline-primary:hover {
  background-color: #089b74 !important;
  color: #ffffff !important;
  border-color: #089b74 !important;
  box-shadow: 0 8px 20px -4px rgba(8, 155, 116, 0.35) !important;
}

/* Profile Modal */
.theme-dietitian .exp-modal-role {
  color: #089b74 !important;
}

.theme-dietitian .exp-modal-avatar {
  border-color: #d1fae5 !important;
}

.theme-dietitian #modalBookBtn {
  background: #089b74 !important;
  border-color: #089b74 !important;
  box-shadow: 0 8px 20px -4px rgba(8, 155, 116, 0.35) !important;
}

.theme-dietitian #modalBookBtn:hover {
  background: #067a5b !important;
  border-color: #067a5b !important;
}

/* -------------------------------------------------------------------------
 * 2. HERO SECTION — FULL-BLEED BACKDROP (SIFIRA SIFIR & BÜYÜK GÖRSEL)
 * ------------------------------------------------------------------------- */
.diet-hero-section {
  position: relative;
  background-color: var(--diet-bg, #f7fbf9);
  padding-top: calc(var(--header-height, 80px) + 24px);
  padding-bottom: 56px;
  overflow: hidden;
  min-height: 620px;
  display: flex;
  align-items: center;
}

/* Backdrop spans edge-to-edge; right visual is flush 0 to top & right */
.diet-hero-backdrop {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

.diet-hero-bg-img {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right top;
}

.diet-hero-container {
  position: relative;
  z-index: 10;
  margin: 0 auto;
  width: 100%;
  max-width: var(--container-max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 36px;
  padding-right: 36px;
}

/* Left Content Column */
.diet-hero-content {
  width: 100%;
  max-width: 550px;
  z-index: 10;
  position: relative;
}

/* Eyebrow: — DAHA SAĞLIKLI BİR SEN MÜMKÜN */
.diet-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.diet-eyebrow-line {
  display: inline-block;
  width: 26px;
  height: 2.5px;
  background-color: var(--diet-primary, #089b74);
  border-radius: 2px;
}

.diet-eyebrow-text {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--diet-primary, #089b74);
  text-transform: uppercase;
}

/* Big Headline */
.diet-hero-headline {
  font-size: clamp(42px, 4.4vw, 60px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: var(--diet-heading, #0f172a);
  margin-bottom: 22px;
}

.diet-hero-highlight {
  color: var(--diet-primary, #089b74);
  display: inline-block;
}

/* Description Text */
.diet-hero-desc {
  font-size: 16px;
  line-height: 1.68;
  color: var(--diet-muted, #64748b);
  max-width: 480px;
  margin-bottom: 34px;
}

/* CTA Buttons */
.diet-hero-cta-group {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.btn-diet-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 30px;
  font-size: 15px;
  font-weight: 600;
  color: #ffffff !important;
  background-color: var(--diet-primary, #089b74);
  border: 1px solid var(--diet-primary, #089b74);
  border-radius: 9999px;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(8, 155, 116, 0.28);
  transition: var(--diet-transition);
  cursor: pointer;
}

.btn-diet-primary:hover {
  background-color: var(--diet-primary-dark, #067a5b);
  border-color: var(--diet-primary-dark, #067a5b);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(8, 155, 116, 0.36);
}

.btn-diet-primary .btn-arrow {
  display: inline-block;
  transition: transform 0.2s ease;
}

.btn-diet-primary:hover .btn-arrow {
  transform: translateX(4px);
}

.btn-diet-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  font-size: 15px;
  font-weight: 600;
  color: var(--diet-heading, #0f172a);
  background-color: rgba(255, 255, 255, 0.92);
  border: 1px solid #dae8e2;
  border-radius: 9999px;
  text-decoration: none;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: var(--diet-transition);
  cursor: pointer;
}

.btn-diet-secondary:hover {
  background-color: #ffffff;
  border-color: var(--diet-primary, #089b74);
  color: var(--diet-primary, #089b74);
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.06);
}

.btn-diet-secondary .play-icon {
  width: 14px;
  height: 14px;
  color: var(--diet-primary, #089b74);
}

/* Trust Pillars (3 items with vertical dividers) */
.diet-hero-trust-pillars {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 36px;
  padding-bottom: 4px;
}

.diet-trust-pillar {
  display: flex;
  align-items: center;
  gap: 12px;
}

.diet-pillar-icon {
  width: 32px;
  height: 32px;
  color: var(--diet-primary, #089b74);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.diet-pillar-text {
  display: flex;
  flex-direction: column;
  font-size: 13.5px;
  line-height: 1.32;
}

.diet-pillar-title {
  font-weight: 700;
  color: var(--diet-heading, #0f172a);
}

.diet-pillar-sub {
  font-weight: 500;
  color: var(--diet-muted, #64748b);
}

.diet-pillar-divider {
  width: 1px;
  height: 34px;
  background-color: #e2e8f0;
  flex-shrink: 0;
}

/* Social Proof (5 Avatars + Stat) */
.diet-hero-social-proof {
  display: flex;
  align-items: center;
  gap: 14px;
}

.diet-avatar-stack {
  display: flex;
  align-items: center;
}

.diet-avatar-img {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 2.5px solid #ffffff;
  object-fit: cover;
  margin-left: -9px;
  box-shadow: 0 2px 6px rgba(16, 42, 67, 0.12);
  transition: transform var(--diet-transition);
}

.diet-avatar-img:first-child {
  margin-left: 0;
}

.diet-avatar-img:hover {
  transform: translateY(-2px) scale(1.08);
  z-index: 2;
}

.diet-social-proof-text {
  font-size: 13.5px;
  line-height: 1.4;
  color: var(--diet-body, #475569);
}

.diet-social-proof-stat {
  font-weight: 700;
  color: var(--diet-heading, #0f172a);
  display: block;
}

/* -------------------------------------------------------------------------
 * 3. COMMON SECTION STYLES
 * ------------------------------------------------------------------------- */
.diet-section {
  padding: 88px 0;
  position: relative;
}

.diet-section-bg-white {
  background-color: var(--diet-bg-white, #ffffff);
}

.diet-section-bg-soft {
  background-color: var(--diet-bg, #f7fbf9);
}

.diet-section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 56px auto;
}

.diet-section-badge {
  display: inline-block;
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--diet-primary, #089b74);
  background-color: var(--diet-primary-subtle, #ecfdf5);
  border: 1px solid var(--diet-border-emerald, #d1fae5);
  border-radius: 9999px;
  margin-bottom: 16px;
}

.diet-section-title {
  font-size: clamp(28px, 3.2vw, 40px);
  font-weight: 800;
  line-height: 1.22;
  letter-spacing: -0.025em;
  color: var(--diet-heading, #0f172a);
  margin-bottom: 18px;
}

.diet-section-subtitle {
  font-size: 16px;
  line-height: 1.68;
  color: var(--diet-muted, #64748b);
  margin: 0;
}

/* -------------------------------------------------------------------------
 * 4. SECTION 2: EDITORIAL SPLIT SHOWCASE (YENİLENMİŞ KARTSIZ TASARIM)
 * ------------------------------------------------------------------------- */
.diet-split-showcase {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: center;
}

.diet-split-content {
  padding-right: 12px;
}

.diet-split-headline {
  font-size: clamp(30px, 3.2vw, 42px);
  font-weight: 800;
  line-height: 1.2;
  color: var(--diet-heading, #0f172a);
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.diet-split-lead {
  font-size: 16.5px;
  line-height: 1.7;
  color: var(--diet-body, #475569);
  margin-bottom: 32px;
}

.diet-value-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.diet-value-item {
  display: flex;
  align-items: flex-start;
  gap: 18px;
}

.diet-value-num {
  font-size: 14px;
  font-weight: 800;
  color: var(--diet-primary, #089b74);
  background: var(--diet-primary-subtle, #ecfdf5);
  border: 1px solid var(--diet-border-emerald, #d1fae5);
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.diet-value-body h4 {
  font-size: 17px;
  font-weight: 700;
  color: var(--diet-heading, #0f172a);
  margin-bottom: 6px;
}

.diet-value-body p {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--diet-muted, #64748b);
  margin: 0;
}

/* Comparison Showcase Panel */
.diet-comparison-panel {
  background: linear-gradient(145deg, #ffffff 0%, #f0fdf4 100%);
  border: 1.5px solid var(--diet-border-emerald, #d1fae5);
  border-radius: 24px;
  padding: 34px;
  box-shadow: var(--diet-shadow-md);
  position: relative;
}

.diet-comparison-badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--diet-primary, #089b74);
  margin-bottom: 18px;
}

.diet-comparison-title {
  font-size: 20px;
  font-weight: 800;
  color: var(--diet-heading, #0f172a);
  margin-bottom: 24px;
}

.diet-compare-rows {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.diet-compare-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  background: #ffffff;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid #eef2f6;
  font-size: 13.5px;
  line-height: 1.4;
}

.diet-compare-old {
  color: #94a3b8;
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: line-through;
}

.diet-compare-new {
  color: var(--diet-heading, #0f172a);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}

.diet-compare-new i {
  color: var(--diet-primary, #089b74);
}

/* -------------------------------------------------------------------------
 * 5. SECTION 3: ASYMMETRIC AUDIENCE EXPLORER
 * ------------------------------------------------------------------------- */
.diet-audience-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 48px;
  align-items: flex-start;
}

.diet-audience-sticky {
  position: sticky;
  top: 110px;
}

.diet-persona-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.diet-persona-row {
  background: #ffffff;
  border: 1.5px solid var(--diet-border, #e2e8f0);
  border-radius: 16px;
  padding: 22px 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  transition: var(--diet-transition);
}

.diet-persona-row:hover {
  border-color: var(--diet-primary, #089b74);
  transform: translateX(6px);
  box-shadow: var(--diet-shadow-sm);
}

.diet-persona-left {
  display: flex;
  align-items: center;
  gap: 18px;
}

.diet-persona-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--diet-primary-subtle, #ecfdf5);
  color: var(--diet-primary, #089b74);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.diet-persona-info h4 {
  font-size: 16.5px;
  font-weight: 700;
  color: var(--diet-heading, #0f172a);
  margin-bottom: 4px;
}

.diet-persona-info p {
  font-size: 13.5px;
  color: var(--diet-muted, #64748b);
  margin: 0;
  line-height: 1.45;
}

.diet-persona-badge {
  font-size: 12px;
  font-weight: 600;
  padding: 6px 12px;
  background: #f1f5f9;
  color: var(--diet-body, #475569);
  border-radius: 9999px;
  white-space: nowrap;
}

/* -------------------------------------------------------------------------
 * 6. SECTION 4: CONNECTED PROCESS ROADMAP
 * ------------------------------------------------------------------------- */
.diet-roadmap-wrap {
  position: relative;
  margin-top: 30px;
}

.diet-roadmap-track {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}

.diet-roadmap-step {
  background: #ffffff;
  border: 1px solid var(--diet-border, #e2e8f0);
  border-radius: 18px;
  padding: 30px 22px;
  position: relative;
  transition: var(--diet-transition);
}

.diet-roadmap-step:hover {
  border-color: var(--diet-primary, #089b74);
  transform: translateY(-4px);
  box-shadow: var(--diet-shadow-md);
}

.diet-roadmap-num {
  font-size: 15px;
  font-weight: 800;
  color: var(--diet-primary, #089b74);
  background: var(--diet-primary-subtle, #ecfdf5);
  border: 1.5px solid var(--diet-border-emerald, #d1fae5);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.diet-roadmap-step h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--diet-heading, #0f172a);
  margin-bottom: 10px;
  line-height: 1.35;
}

.diet-roadmap-step p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--diet-body, #475569);
  margin: 0;
}

/* -------------------------------------------------------------------------
 * 7. SECTION 5: REAL DIETITIAN SPECIALISTS SHOWCASE
 * ------------------------------------------------------------------------- */
.diet-experts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 28px;
  margin-bottom: 40px;
}

@media (max-width: 1200px) {
  .diet-experts-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
  }
}

@media (max-width: 640px) {
  .diet-experts-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}

.diet-expert-card {
  background-color: #ffffff;
  border-radius: 20px;
  border: 1px solid var(--diet-border, #e2e8f0);
  padding: 26px 22px;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  position: relative;
}

.diet-expert-card:hover {
  transform: translateY(-5px);
  border-color: #a7f3d0;
  box-shadow: 0 16px 36px -8px rgba(8, 155, 116, 0.16);
}

.diet-expert-avatar-wrap {
  position: relative;
  width: 92px;
  height: 92px;
  margin-bottom: 18px;
  flex-shrink: 0;
}

.diet-expert-avatar {
  width: 92px;
  height: 92px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #d1fae5;
  display: block;
}

.diet-expert-status-dot {
  position: absolute;
  bottom: 2px;
  right: 2px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background-color: #10b981;
  border: 2.5px solid #ffffff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.diet-expert-info {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.diet-expert-rating {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  margin-bottom: 8px;
}

.diet-expert-rating .stars {
  color: #f59e0b;
  letter-spacing: 1px;
}

.diet-expert-rating .rating-val {
  font-weight: 700;
  color: #0f172a;
}

.diet-expert-rating .reviews-count {
  color: #64748b;
  font-weight: 500;
}

.diet-expert-name {
  font-size: 18px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 4px;
  line-height: 1.3;
}

.diet-expert-role {
  font-size: 13.5px;
  margin-bottom: 16px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.diet-expert-tags {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 6px;
  margin-bottom: 22px;
  flex-grow: 1;
  overflow: hidden;
  width: 100%;
}

.diet-expert-tags .tag {
  background-color: #ecfdf5;
  color: #065f46;
  border: 1px solid #d1fae5;
  padding: 5px 11px;
  border-radius: 9999px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  max-width: 105px;
  overflow: hidden;
  text-overflow: ellipsis;
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 1;
  transition: all 0.2s ease;
}

.diet-expert-tags .tag:hover {
  background-color: #d1fae5;
  color: #047857;
}

.diet-expert-tags .tag.tag-more {
  background-color: #d1fae5;
  color: #089b74;
  border: 1px solid #a7f3d0;
  font-weight: 700;
  padding: 5px 9px;
  font-size: 12px;
  border-radius: 9999px;
  flex-shrink: 0;
  cursor: pointer;
  transition: all 0.2s ease;
  max-width: none;
}

.diet-expert-tags .tag.tag-more:hover {
  background-color: #089b74;
  color: #ffffff;
  border-color: #089b74;
  transform: translateY(-1px);
}

.diet-expert-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  border-top: 1px solid #f1f5f9;
  margin-top: auto;
  gap: 8px;
}

.diet-expert-profile-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13.5px;
  font-weight: 600;
  color: #089b74;
  text-decoration: none;
  transition: all 0.2s ease;
  padding: 4px 0;
  white-space: nowrap;
}

.diet-expert-profile-link:hover {
  color: #065f46;
  transform: translateX(2px);
}

.diet-expert-profile-link i {
  font-size: 11px;
  transition: transform 0.2s ease;
}

.diet-expert-profile-link:hover i {
  transform: translateX(3px);
}

.diet-expert-book-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 18px !important;
  font-size: 13.5px !important;
  font-weight: 600;
  line-height: 1;
  border-radius: 9999px !important;
  border: 1.5px solid #089b74 !important;
  color: #089b74 !important;
  background: transparent !important;
  text-decoration: none;
  transition: all 0.2s ease;
  white-space: nowrap;
  user-select: none;
  cursor: pointer;
}

.diet-expert-book-btn:hover {
  background-color: #089b74 !important;
  color: #ffffff !important;
  border-color: #089b74 !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px -4px rgba(8, 155, 116, 0.35);
}

.diet-expert-book-btn:active {
  transform: translateY(0);
}

.diet-view-all-btn {
  background-color: #ffffff;
  border: 1.5px solid #d1fae5;
  color: #065f46;
  box-shadow: 0 4px 12px rgba(8, 155, 116, 0.06);
  padding: 15px 34px;
  font-size: 15.5px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border-radius: 9999px;
  text-decoration: none;
  transition: all 0.25s ease;
}

.diet-view-all-btn:hover {
  background-color: #ecfdf5;
  border-color: #a7f3d0;
  color: #089b74;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(8, 155, 116, 0.14);
}

/* -------------------------------------------------------------------------
 * 8. SECTION 6: MAGAZINE-GRADE WELLNESS SHOWCASE
 * ------------------------------------------------------------------------- */
.diet-editorial-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 36px;
}

.diet-editorial-featured {
  background: linear-gradient(135deg, #065f46 0%, #089b74 100%);
  border-radius: 24px;
  padding: 44px;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--diet-shadow-md);
  position: relative;
  overflow: hidden;
}

.diet-editorial-featured::after {
  content: "";
  position: absolute;
  bottom: -40px;
  right: -40px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
}

.diet-editorial-tag {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.2);
  padding: 4px 12px;
  border-radius: 9999px;
  margin-bottom: 20px;
  width: fit-content;
}

.diet-editorial-title {
  font-size: clamp(24px, 2.6vw, 32px);
  font-weight: 800;
  line-height: 1.25;
  color: #ffffff;
  margin-bottom: 16px;
}

.diet-editorial-quote {
  font-size: 15.5px;
  line-height: 1.68;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 28px;
}

.diet-editorial-points {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.diet-editorial-point {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.95);
  font-weight: 500;
}

.diet-editorial-point i {
  color: #a7f3d0;
}

/* Side Actionable Tips */
.diet-side-tips {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.diet-tip-card {
  background: #ffffff;
  border: 1px solid var(--diet-border, #e2e8f0);
  border-radius: 16px;
  padding: 24px;
  transition: var(--diet-transition);
}

.diet-tip-card:hover {
  border-color: var(--diet-primary, #089b74);
  transform: translateX(4px);
  box-shadow: var(--diet-shadow-sm);
}

.diet-tip-card h4 {
  font-size: 16.5px;
  font-weight: 700;
  color: var(--diet-heading, #0f172a);
  margin-bottom: 6px;
}

.diet-tip-card p {
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--diet-body, #475569);
  margin: 0;
}

/* -------------------------------------------------------------------------
 * 9. SECTION 7: FAQ ACCORDION
 * ------------------------------------------------------------------------- */
.diet-faq-wrapper {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.diet-faq-item {
  background: #ffffff;
  border: 1px solid var(--diet-border, #e2e8f0);
  border-radius: 16px;
  overflow: hidden;
  transition: var(--diet-transition);
}

.diet-faq-item.active {
  border-color: var(--diet-primary, #089b74);
  box-shadow: var(--diet-shadow-sm);
}

.diet-faq-question {
  width: 100%;
  padding: 22px 24px;
  background: none;
  border: none;
  outline: none;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 16.5px;
  font-weight: 700;
  color: var(--diet-heading, #0f172a);
  cursor: pointer;
  transition: color 0.18s ease;
  font-family: inherit;
}

.diet-faq-question:hover {
  color: var(--diet-primary, #089b74);
}

.diet-faq-chevron {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #f1f5f9;
  color: var(--diet-muted, #64748b);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  flex-shrink: 0;
  transition:
    transform 0.25s ease,
    background-color 0.25s ease,
    color 0.25s ease;
}

.diet-faq-item.active .diet-faq-chevron {
  transform: rotate(180deg);
  background-color: var(--diet-primary, #089b74);
  color: #ffffff;
}

.diet-faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.diet-faq-answer-inner {
  padding: 0 24px 22px 24px;
  font-size: 15px;
  line-height: 1.68;
  color: var(--diet-body, #475569);
}

/* -------------------------------------------------------------------------
 * 10. SECTION 8: FINAL CTA
 * ------------------------------------------------------------------------- */
.diet-cta-banner {
  background: linear-gradient(135deg, #065f46 0%, #089b74 100%);
  border-radius: 28px;
  padding: 64px 48px;
  color: #ffffff;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--diet-shadow-lg);
}

.diet-cta-banner::before {
  content: "";
  position: absolute;
  top: -80px;
  right: -80px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  pointer-events: none;
}

.diet-cta-content {
  position: relative;
  z-index: 2;
  max-width: 680px;
  margin: 0 auto;
}

.diet-cta-title {
  font-size: clamp(30px, 3.4vw, 42px);
  font-weight: 800;
  line-height: 1.2;
  color: #ffffff;
  margin-bottom: 18px;
}

.diet-cta-desc {
  font-size: 16.5px;
  line-height: 1.68;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 36px;
}

.diet-cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.btn-diet-white {
  background-color: #ffffff;
  color: var(--diet-primary-dark, #067a5b) !important;
  font-weight: 700;
  padding: 15px 32px;
  border-radius: 9999px;
  font-size: 15.5px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
  transition: var(--diet-transition);
}

.btn-diet-white:hover {
  background-color: #f0fdf4;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.16);
}

.btn-diet-white-outline {
  background-color: transparent;
  color: #ffffff !important;
  border: 1.5px solid rgba(255, 255, 255, 0.45);
  font-weight: 600;
  padding: 14px 28px;
  border-radius: 9999px;
  font-size: 15px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--diet-transition);
}

.btn-diet-white-outline:hover {
  background-color: rgba(255, 255, 255, 0.15);
  border-color: #ffffff;
  transform: translateY(-2px);
}

.diet-cta-reassurances {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.88);
}

.diet-reassurance-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* -------------------------------------------------------------------------
 * 11. RESPONSIVE DESIGN (TABLET & MOBILE)
 * ------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .diet-split-showcase,
  .diet-audience-layout,
  .diet-editorial-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .diet-audience-sticky {
    position: static;
  }

  .diet-experts-grid,
  .diet-roadmap-track {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 868px) {
  .diet-hero-section {
    padding-top: calc(var(--header-height, 80px) + 20px);
    padding-bottom: 40px;
    min-height: auto;
  }

  /* On tablet/mobile, give content a subtle soft backplate for maximum readability */
  .diet-hero-content {
    max-width: 100%;
    background: rgba(247, 251, 249, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 24px 20px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.6);
  }

  .diet-hero-bg-img {
    object-position: 80% center;
    opacity: 0.85;
  }
}

@media (max-width: 640px) {
  .diet-hero-headline {
    font-size: 34px;
  }

  .diet-experts-grid,
  .diet-roadmap-track {
    grid-template-columns: 1fr;
  }

  .diet-pillar-divider {
    display: none;
  }

  .diet-hero-trust-pillars {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .diet-cta-banner {
    padding: 44px 24px;
    border-radius: 20px;
  }
}

/* ==========================================================================
   DIETITIAN DETAIL PROFILE & APPOINTMENT CALENDAR OVERRIDES
   ========================================================================== */
body.theme-dietitian .profile-breadcrumb a:hover {
  color: #089b74;
}

body.theme-dietitian .profile-branch-badge {
  color: #089b74;
  background: #ecfdf5;
}

body.theme-dietitian .profile-tab-btn:hover {
  color: #089b74;
  background-color: rgba(8, 155, 116, 0.06);
}

body.theme-dietitian .profile-tab-btn.active {
  color: #089b74;
  background-color: #ecfdf5;
}

body.theme-dietitian .profile-tab-btn.active::after {
  background-color: #089b74;
}

body.theme-dietitian .profile-tab-btn .tab-count-badge {
  background: #d1fae5;
  color: #065f46;
}

body.theme-dietitian .profile-accordion-trigger:hover {
  color: #089b74;
}

body.theme-dietitian .timeline-dot {
  border-color: #089b74;
  box-shadow: 0 0 0 2px rgba(8, 155, 116, 0.2);
}

body.theme-dietitian .edu-degree-badge {
  color: #065f46;
  background: #ecfdf5;
}

body.theme-dietitian .specialty-badge-item:hover {
  border-color: #a7f3d0;
  background: #ecfdf5;
  color: #065f46;
}

body.theme-dietitian .specialty-badge-item .spec-check-icon {
  background: #ecfdf5;
  color: #089b74;
}

body.theme-dietitian .approach-card:hover {
  border-color: #a7f3d0;
  box-shadow: 0 8px 24px rgba(8, 155, 116, 0.1);
}

body.theme-dietitian .approach-icon {
  background: #ecfdf5;
  color: #089b74;
}

body.theme-dietitian .approach-badge {
  background: #ecfdf5;
  color: #065f46;
}

/* Appointment Calendar */
body.theme-dietitian .cal-mode-pill-single {
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #065f46;
}

body.theme-dietitian .cal-nav-arrow:not(:disabled):hover {
  background: #089b74;
  color: #ffffff;
  border-color: #089b74;
}

body.theme-dietitian .cal-day-item:hover {
  background: #ecfdf5;
  border-color: #a7f3d0;
}

body.theme-dietitian .cal-day-item.active {
  background: #d1fae5;
  border-color: #089b74;
}

body.theme-dietitian .cal-day-item.active .day-name,
body.theme-dietitian .cal-day-item.active .day-date {
  color: #065f46;
}

body.theme-dietitian .cal-slot-btn {
  background: #f0fdf4;
  border: 1px solid #d1fae5;
  color: #065f46;
}

body.theme-dietitian .cal-slot-btn:hover {
  background: #089b74 !important;
  color: #ffffff !important;
  border-color: #089b74 !important;
  box-shadow: 0 4px 12px rgba(8, 155, 116, 0.25) !important;
}

body.theme-dietitian .cal-slot-btn.selected {
  background: #089b74 !important;
  color: #ffffff !important;
  border-color: #089b74 !important;
  box-shadow: 0 6px 16px rgba(8, 155, 116, 0.35) !important;
}

body.theme-dietitian .cal-toggle-more-btn {
  color: #089b74;
}

body.theme-dietitian .cal-toggle-more-btn:hover {
  background: #ecfdf5;
}

body.theme-dietitian .cal-selection-banner.active {
  background: #ecfdf5;
  border-color: #a7f3d0;
}

body.theme-dietitian .cal-selection-icon {
  background: #089b74;
  color: #ffffff;
}

body.theme-dietitian .cal-submit-btn {
  background: #089b74;
  border-color: #089b74;
}

body.theme-dietitian .cal-submit-btn:not(:disabled):hover {
  background: #067a5b;
  border-color: #067a5b;
  box-shadow: 0 8px 24px rgba(8, 155, 116, 0.35);
}

body.theme-dietitian .btn-load-more-reviews {
  border-color: #d1fae5;
  color: #089b74;
}

body.theme-dietitian .btn-load-more-reviews:hover {
  background: #ecfdf5;
  border-color: #089b74;
  color: #089b74;
  box-shadow: 0 6px 18px rgba(8, 155, 116, 0.2);
}

