/* ════════════════════════════════════════════════════════════════
   ALLODOCTOR · FEED DETAIL · PREMIUM SAAS v14
   Fully aligned with HealthBridge platform design DNA
   Primary: #2563eb | Font: Inter | Palette: Slate
   ════════════════════════════════════════════════════════════════ */

/* ────────────────────────────────────────────────
   LOCAL TOKENS — Mirror app.css :root exactly
──────────────────────────────────────────────── */
:root {
  --pd-primary: #2563eb;
  --pd-primary-dark: #1e40af;
  --pd-primary-light: #eff6ff;
  --pd-primary-mid: #3b82f6;
  --pd-secondary: #ff7f50;
  --pd-success: #10b981;
  --pd-success-light: #d1fae5;
  --pd-warning: #f59e0b;
  --pd-danger: #ef4444;

  --pd-bg: #ffffff;
  --pd-surface: #ffffff;
  --pd-surface-alt: #ffffff;
  --pd-dark: #0f172a;
  --pd-dark-mid: #1e293b;

  --pd-text: #0f172a;
  --pd-text-secondary: #475569;
  --pd-text-muted: #94a3b8;
  --pd-border: #e2e8f0;
  --pd-border-dark: #cbd5e1;

  --pd-font: "Inter", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;

  --pd-radius-sm: 8px;
  --pd-radius-md: 12px;
  --pd-radius-lg: 18px;
  --pd-radius-xl: 24px;
  --pd-radius-2xl: 28px;

  --pd-shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08), 0 1px 2px rgba(0, 0, 0, 0.06);
  --pd-shadow-md: 0 4px 12px rgba(0, 0, 0, 0.06), 0 2px 4px rgba(0, 0, 0, 0.04);
  --pd-shadow-lg:
    0 10px 30px rgba(0, 0, 0, 0.08), 0 4px 8px rgba(0, 0, 0, 0.04);
  --pd-shadow-xl:
    0 20px 60px rgba(0, 0, 0, 0.1), 0 8px 16px rgba(0, 0, 0, 0.04);
  --pd-shadow-blue: 0 8px 30px rgba(37, 99, 235, 0.2);
  --pd-shadow-green: 0 8px 30px rgba(16, 185, 129, 0.25);

  --pd-ease: cubic-bezier(0.16, 1, 0.3, 1);
  --pd-ease-spring: cubic-bezier(0.175, 0.885, 0.32, 1.275);
}


/* ────────────────────────────────────────────────
   SAAS WORKSPACE LAYOUT (MODAL CONTENT)
──────────────────────────────────────────────── */

.post-detail-modal-inner {
  width: 100%;
  height: 100%;
}

.saas-detail-workspace {
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.05);
  /* Subtle inner border */
  border-radius: 32px;
  display: flex;
  flex-direction: column;
  max-width: 1140px;
  /* Highly optimized reading width */
  margin: 32px auto 80px;
  /* Better vertical flow */
  padding: 0 48px 48px 48px;
  /* Removed top padding to accommodate sticky header */
  box-shadow:
    0 40px 100px -20px rgba(15, 23, 42, 0.12),
    0 0 0 1px rgba(0, 0, 0, 0.02);
  position: relative;
  overflow: clip;
  /* Clean edges */
}

/* ── TOOLBAR ── */
.saas-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  background: rgba(255, 255, 255, 0.85);
  /* Frosted Glass Backdrop */
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(15, 23, 42, 0.05);
  margin-bottom: 32px;
}

.saas-toolbar-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.saas-breadcrumb {
  font-size: 0.85rem;
  font-weight: 750;
  color: #64748b;
  display: flex;
  align-items: center;
  gap: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.saas-breadcrumb .separator {
  font-size: 0.6rem;
  color: #cbd5e1;
}

.saas-badge-live {
  background: #eff6ff;
  color: #2563eb;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 6px;
}

.saas-badge-live i {
  font-size: 0.5rem;
}

.saas-toolbar-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.saas-btn-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid #e2e8f0;
  background: #ffffff;
  color: #64748b;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: 0.2s;
}

.saas-btn-icon:hover:not(.disabled) {
  background: #ffffff;
  color: #0f172a;
  border-color: #cbd5e1;
}

.saas-btn-icon.disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.saas-nav-group {
  display: flex;
  gap: 4px;
  border-left: 1px solid #e2e8f0;
  padding-left: 12px;
}

/* ── WORKSPACE GRID ── */
.saas-workspace-grid {
  display: flex;
  flex: 1;
  position: relative;
  background: transparent;
  gap: 64px;
  /* Gives massive, professional breathing room */
}

.saas-main-content {
  flex: 1;
  min-width: 0;
  padding-bottom: 60px;
}

.saas-context-panel {
  width: 380px;
  /* Slightly wider for modern layout */
  background: transparent;
  flex-shrink: 0;
  position: sticky;
  top: 40px;
  /* Follows the user as they read */
  height: max-content;
  z-index: 10;
}

/* ── MAIN CONTENT (LEFT) ── */
.saas-article-header {
  margin-bottom: 32px;
}

.saas-article-meta-top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.saas-article-type {
  font-size: 0.8rem;
  font-weight: 800;
  color: #2563eb;
  /* Popping blue for contrast */
  background: #eff6ff;
  padding: 8px 16px;
  border-radius: 999px;
  /* Pill shape */
  display: flex;
  align-items: center;
  gap: 6px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.saas-article-date {
  font-size: 0.9rem;
  color: #64748b;
  font-weight: 600;
}

.saas-article-title {
  font-size: 3.2rem;
  /* Massive, cinematic typography */
  font-weight: 900;
  color: #0f172a;
  line-height: 1.15;
  letter-spacing: -0.04em;
  margin: 0;
}

.saas-article-media {
  border-radius: 28px;
  /* Softer, premium curves */
  overflow: hidden;
  margin: 32px 0 48px 0;
  background: #ffffff;
  width: 100%;
  aspect-ratio: 16 / 9;
  /* Cinematic ratio */
  box-shadow: 0 24px 50px -12px rgba(15, 23, 42, 0.15);
  /* Deep elegant drop shadow */
  transition: all 0.5s var(--pd-ease);
}

.saas-article-media:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow: 0 32px 60px -15px rgba(15, 23, 42, 0.2);
}

.saas-hero-img,
.saas-video-player {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.8s var(--pd-ease-spring);
}

.saas-article-media:hover .saas-hero-img {
  transform: scale(1.04);
}

.saas-article-body {
  font-size: 1.25rem;
  /* Larger, readable journal font */
  color: #334155;
  line-height: 1.85;
  max-width: 900px;
}

.saas-article-body h2,
.saas-article-body h3 {
  color: #0f172a;
  font-weight: 800;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.saas-article-body p {
  margin-bottom: 1.5rem;
}

/* ── CONTEXT PANEL (RIGHT SIDEBAR) ── */
.saas-widget {
  background: #ffffff;
  border: 1px solid #ffffff;
  border-radius: 28px;
  /* Extra smooth corners */
  padding: 32px;
  margin-bottom: 24px;
  /* Keeps consistent spacing */
  box-shadow: 0 12px 40px -10px rgba(15, 23, 42, 0.08);
  /* Premium soft glow */
  transition: transform 0.4s var(--pd-ease-spring), box-shadow 0.4s var(--pd-ease);
}

.saas-widget:hover {
  box-shadow: 0 20px 50px -12px rgba(15, 23, 42, 0.12);
  /* Interactive levitation */
}

.saas-widget-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  color: #0f172a;
}

.saas-widget-header i {
  color: #2563eb;
  font-size: 1.1rem;
}

.saas-widget-header h4 {
  font-size: 1rem;
  font-weight: 800;
  margin: 0;
}

.saas-widget-desc {
  font-size: 0.85rem;
  color: #64748b;
  margin-bottom: 16px;
  line-height: 1.5;
}

/* Author Widget */
.saas-author-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.saas-author-avatar-wrap {
  position: relative;
  width: 56px;
  height: 56px;
}

.saas-author-avatar-wrap img {
  width: 100%;
  height: 100%;
  border-radius: 16px;
  object-fit: cover;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.saas-verified-pip {
  position: absolute;
  bottom: -6px;
  right: -6px;
  background: #2563eb;
  color: white;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6rem;
  border: 2px solid #ffffff;
}

.saas-author-info h4 {
  font-size: 1.1rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 4px 0;
}

.saas-author-info span {
  font-size: 0.85rem;
  color: #64748b;
  font-weight: 600;
}

.saas-vitals-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 20px;
}

.saas-vital-box {
  background: #ffffff;
  border: 1px solid #ffffff;
  border-radius: 16px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease;
}

.saas-vital-box:hover {
  transform: translateY(-2px);
  background: #ffffff;
  box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.05);
}

.saas-vital-box strong {
  font-size: 1.4rem;
  /* Slightly larger */
  font-weight: 900;
  color: #0f172a;
  line-height: 1;
  margin-bottom: 6px;
}

.saas-vital-box span {
  font-size: 0.75rem;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.saas-rating-stars i {
  color: #f59e0b;
  font-size: 0.85rem;
}

.saas-btn-primary {
  background: linear-gradient(135deg, #3b82f6, #2563eb);
  color: white;
  border: none;
  padding: 14px;
  border-radius: 14px;
  font-weight: 800;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s var(--pd-ease-spring);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 8px 20px -4px rgba(37, 99, 235, 0.3);
}

.saas-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 25px -4px rgba(37, 99, 235, 0.4);
}

.saas-btn-full {
  width: 100%;
}

/* Eligibility Widget */
.saas-symptom-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.saas-symptom-btn {
  background: white;
  border: 1px solid #e2e8f0;
  padding: 8px 16px;
  border-radius: 999px;
  /* Modern pill shape */
  font-size: 0.85rem;
  font-weight: 700;
  color: #475569;
  cursor: pointer;
  transition: all 0.3s var(--pd-ease);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}

.saas-symptom-btn:hover {
  background: #ffffff;
  border-color: #cbd5e1;
  transform: translateY(-1px);
}

.saas-symptom-btn.active {
  background: #eff6ff;
  border-color: #2563eb;
  color: #2563eb;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.15);
  /* Glowing active state */
}

.saas-match-alert {
  background: #f0fdf4;
  color: #166534;
  border: 1px solid #bbf7d0;
  padding: 8px 12px;
  border-radius: 8px;
  font-weight: 800;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.saas-match-result p {
  font-size: 0.8rem;
  color: #475569;
  margin: 0 0 12px 0;
  line-height: 1.4;
}

.saas-btn-book {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 11px 16px;
  background: linear-gradient(135deg, #10b981, #059669);
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 700;
  border-radius: 12px;
  text-decoration: none;
  margin-top: 4px;
  transition: all 0.2s ease;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.35);
}

.saas-btn-book:hover {
  background: linear-gradient(135deg, #059669, #047857);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(16, 185, 129, 0.45);
  color: #ffffff;
  text-decoration: none;
}

/* Ask Widget */
.saas-input-group {
  display: flex;
  gap: 8px;
}

.saas-input-group input {
  flex: 1;
  border: 1px solid #cbd5e1;
  background: #ffffff;
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 0.9rem;
  outline: none;
  transition: 0.2s;
}

.saas-input-group input:focus {
  border-color: #2563eb;
  background: white;
}

.saas-input-group button {
  background: #0f172a;
  color: white;
  border: none;
  width: 42px;
  border-radius: 10px;
  cursor: pointer;
  transition: 0.2s;
}

.saas-input-group button:hover {
  background: #2563eb;
}

/* ────────────────────────────────────────────────
   RELATED DISCOVERY SECTION (Bottom of Main Content)
──────────────────────────────────────────────── */
.saas-related-discovery-section {
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid #e2e8f0;
}

.saas-section-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

.saas-section-header i {
  color: #2563eb;
  font-size: 1.25rem;
}

.saas-section-header h4 {
  font-size: 1.25rem;
  font-weight: 900;
  color: #0f172a;
  margin: 0;
}

.saas-related-horizontal-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

@media (max-width: 768px) {
  .saas-related-horizontal-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

.saas-related-card-v8 {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s var(--pd-ease);
}

.saas-related-card-v8:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px -10px rgba(0, 0, 0, 0.1);
  border-color: #2563eb;
}

.src-media {
  height: 180px;
  position: relative;
  overflow: hidden;
}

.src-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--pd-ease);
}

.saas-related-card-v8:hover .src-media img {
  transform: scale(1.05);
}

.src-category {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(4px);
  padding: 4px 12px;
  border-radius: 99px;
  font-size: 0.75rem;
  font-weight: 800;
  color: #2563eb;
  z-index: 2;
}

.src-info {
  padding: 20px;
}

.src-info h5 {
  font-size: 1.1rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 8px 0;
  line-height: 1.4;
}

.src-info p {
  font-size: 0.9rem;
  color: #64748b;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.section-divider-premium {
  height: 1px;
  background: linear-gradient(to right,
      transparent,
      var(--pd-border) 25%,
      var(--pd-border) 75%,
      transparent);
  min-height: auto;
  padding: 32px;
}

/* ────────────────────────────────────────────────
   RESPONSIVE
──────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .saas-workspace-grid {
    flex-direction: column;
    gap: 0;
  }

  .saas-main-content {
    display: block;
    width: 100%;
  }

  .saas-related-discovery-section {
    margin-top: 48px;
    width: 100%;
  }
}


.saas-detail-workspace {
  margin: 0;
  border-radius: 0;
  padding: 0 16px 48px 16px;
  /* Removed top padding, sticky header takes over */
  box-shadow: none;
  min-height: 100vh;
}

.saas-toolbar {
  padding: 12px 0;
  margin-bottom: 16px;
  flex-wrap: nowrap;
  justify-content: space-between;
}

.saas-toolbar-left {
  width: auto;
  justify-content: flex-start;
}

.saas-toolbar-right {
  width: auto;
  justify-content: flex-end;
}

.saas-btn-icon {
  width: 40px;
  /* Larger touch targets for mobile */
  height: 40px;
  font-size: 1.05rem;
}

.saas-article-header {
  margin-bottom: 16px;
}

.saas-article-title {
  font-size: 1.8rem;
  line-height: 1.25;
  margin-bottom: 16px;
}

.saas-article-body {
  font-size: 1.1rem;
  line-height: 1.6;
  overflow-wrap: break-word;
  word-wrap: break-word;
  word-break: break-word;
}

.saas-article-body p {
  margin-bottom: 1rem;
}

.saas-article-body img,
.saas-article-body video,
.saas-article-body iframe {
  max-width: 100% !important;
  height: auto !important;
  border-radius: 12px;
}

.saas-article-media {
  margin: 16px 0 20px 0 !important;
  border-radius: 16px !important;
  width: 100% !important;
}

.saas-context-panel {
  width: 100%;
  padding: 0;
  margin-top: 24px;
  border-left: none;
  border-top: 1px solid #e2e8f0;
  position: static;
  height: auto !important;
  padding-top: 32px;
}

.saas-insight-card {
  padding: 16px;
}

/* Hide desktop elements */
.saas-desktop-only,
.header-icon-desk {
  display: none !important;
}

/* Mobile Author Strip */
.saas-mobile-author-strip {
  display: flex !important;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  background: #ffffff;
  border-radius: 12px;
  margin-bottom: 20px;
  border: 1px solid #e2e8f0;
}

.saas-mobile-author-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.saas-mobile-avatar {
  width: 48px;
  height: 48px;
  position: relative;
}

.saas-mobile-avatar img {
  width: 100%;
  height: 100%;
  border-radius: 12px;
  object-fit: cover;
}

.saas-mobile-verified {
  position: absolute;
  bottom: -4px;
  right: -4px;
  background: #2563eb;
  color: white;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.5rem;
  border: 2px solid white;
}

.saas-mobile-author-info h4 {
  font-size: 1rem;
  font-weight: 800;
  margin: 0 0 2px 0;
  color: #0f172a;
}

.saas-mobile-author-info span {
  font-size: 0.75rem;
  color: #64748b;
  font-weight: 600;
  display: block;
}

.saas-mobile-rating {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 4px;
  font-size: 0.75rem;
}

.saas-mobile-rating i {
  color: #f59e0b;
  font-size: 0.7rem;
}

.saas-mobile-rating strong {
  color: #0f172a;
  font-weight: 800;
}

.saas-mobile-rating .rating-count {
  color: #64748b;
  font-weight: 500;
}

.saas-btn-follow-mobile {
  background: #eff6ff;
  color: #2563eb;
  border: 1px solid #bfdbfe;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
}



/* Account for bottom padding */
.saas-detail-workspace {
  padding-bottom: 48px !important;
}

.saas-toolbar-right {
  justify-content: flex-end !important;
}

/* --- NEW COMPONENT DEFAULTS (Desktop) --- */
.saas-mobile-author-strip {
  display: none;
}

.saas-mobile-sticky-dock {
  display: none;
}

/* --- EXACT FEED DETAIL OVERRIDE --- */
.fb-detail-workspace {
  width: 100%;
  max-width: 1600px;
  padding: 0 40px;
  margin: 24px auto 80px;
  font-family: var(--pd-font);
}

.fb-workspace-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 24px;
  align-items: start;
}

.fb-card {
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.06);
  overflow: hidden;
  margin-bottom: 24px;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

/* TOP TOOLBAR */
.fb-toolbar {
  background: #ffffff;
  border-radius: 12px;
  padding: 12px 24px;
  margin-bottom: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.fb-toolbar-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.fb-breadcrumb {
  font-size: 0.95rem;
  font-weight: 700;
  color: #64748b;
  display: flex;
  align-items: center;
  letter-spacing: 0.5px;
}

.fb-breadcrumb i.fa-layer-group {
  color: #475569;
  margin-right: 8px;
  font-size: 1rem;
}

.fb-badge-live {
  background: #eff6ff;
  color: #2563eb;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
}

.fb-badge-live i {
  font-size: 0.5rem;
}

.fb-toolbar-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.fb-btn-icon {
  width: 36px;
  height: 36px;
  border: 1px solid #e2e8f0;
  background: #ffffff;
  border-radius: 8px;
  color: #64748b;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
  font-size: 1rem;
}

.fb-btn-icon:hover:not(.disabled) {
  background: #ffffff;
  color: #0f172a;
  border-color: #cbd5e1;
}

.fb-btn-icon.disabled {
  opacity: 0.5;
  cursor: not-allowed;
  background: #ffffff;
}

.fb-toolbar-divider {
  width: 1px;
  height: 24px;
  background: #e2e8f0;
  margin: 0 4px;
}

.fb-nav-group {
  display: flex;
  gap: 12px;
}

/* LEFT COLUMN CARD */
.main-post-card {
  display: flex;
  flex-direction: column;
}


/* Author Block */
.post-author-block {
  padding: 20px 24px 16px 24px;
  border-bottom: 1px solid #ffffff;
}

.post-author-block-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 16px;
}

.author-left-group {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.post-author-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.author-name {
  font-size: 1.15rem;
  font-weight: 800;
  color: #1c1e21;
  margin: 0 0 6px 0;
  display: flex;
  align-items: center;
  gap: 6px;
  line-height: 1;
}

.verified-icon {
  color: #1877f2;
  font-size: 0.95rem;
}

.author-meta-details {
  font-size: 0.9rem;
  color: #65676b;
  margin: 0;
  font-weight: 500;
}

.post-timestamp-row {
  font-size: 0.85rem;
  color: #65676b;
  font-weight: 500;
  margin: 4px 0 0 0;
}

.starlight {
  color: #f5a623;
  font-size: 0.85rem;
}

.options-btn {
  background: transparent;
  border: none;
  color: #65676b;
  cursor: pointer;
  font-size: 1.1rem;
  padding: 8px;
  border-radius: 50%;
  transition: background 0.2s;
}

.options-btn:hover {
  background: #ffffff;
}

.author-action-buttons {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.btn-consult {
  background: #2563eb;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  box-shadow: 0 2px 4px rgba(37, 99, 235, 0.2);
  transition: background 0.2s;
}

.btn-consult:hover {
  background: #1d4ed8;
}

.btn-outline {
  background: #ffffff;
  color: #1c1e21;
  border: none;
  padding: 10px 20px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: background 0.2s;
}

.btn-outline:hover {
  background: #ffffff;
}

/* Title Block */
.post-title-block {
  padding: 24px 24px 16px 24px;
}

.post-title {
  font-size: 1.6rem;
  font-weight: 800;
  color: #1c1e21;
  margin: 0 0 8px 0;
  line-height: 1.3;
}

.post-subtitle {
  font-size: 1.05rem;
  color: #3b82f6;
  margin: 0 0 16px 0;
  font-weight: 500;
}

.post-subtitle {
  font-size: 1.05rem;
  color: #3b82f6;
  margin: 0 0 16px 0;
  font-weight: 500;
}

/* Body and Text Content */
.post-body-container {
  padding: 0 24px 16px 24px;
}

.post-text-content {
  font-size: 0.95rem;
  color: #1c1e21;
  line-height: 1.6;
}

.post-text-content p {
  margin-bottom: 16px;
}

.text-collapsed {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 4px;
}

.btn-see-more {
  background: transparent;
  border: none;
  color: #65676b;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0;
  cursor: pointer;
  display: inline-block;
  margin-bottom: 16px;
  text-decoration: none;
}

.btn-see-more:hover {
  text-decoration: underline;
}

.post-media-full {
  width: 100%;
  margin-bottom: 16px;
  background-color: #ffffff;
  overflow: hidden;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
}

.body-media-img {
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: 400px;
  display: block;
  object-fit: cover;
  background-color: #ffffff;
}

.post-media-full video {
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: 400px;
  display: block;
  object-fit: cover;
  background-color: #000;
}

/* Tags */
.post-tags-row {
  padding: 0 24px 16px 24px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.tag-pill {
  padding: 8px 16px;
  border-radius: 24px;
  font-size: 0.85rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
  background: #ffffff;
  color: #64748b;
  border: 1px solid #e2e8f0;
}

.color-blue {
  color: #3b82f6;
  font-size: 0.65rem;
}

.color-red {
  color: #ef4444;
  font-size: 0.65rem;
}

/* Post Footer Actions */
.post-footer-actions {
  padding: 12px 24px;
  border-top: 1px solid #ffffff;
  display: flex;
  gap: 24px;
  background: #ffffff;
}

.action-btn {
  background: transparent;
  border: none;
  color: #65676b;
  font-weight: 600;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  padding: 8px 16px;
  border-radius: 6px;
  transition: background 0.2s;
}

.action-btn:hover {
  background: #e2e8f0;
  color: #1c1e21;
}

/* ── WIDGETS ── */
.fb-sidebar-content {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.widget-card {
  padding: 24px;
}

.widget-author-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.widget-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
}

.widget-author-name {
  font-size: 1.15rem;
  font-weight: 800;
  color: #1c1e21;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 6px;
}

.widget-author-specialty {
  font-size: 0.9rem;
  color: #65676b;
  margin: 4px 0 0 0;
  font-weight: 500;
}

.btn-book-full {
  display: block;
  width: 100%;
  text-align: center;
  background: #2563eb;
  color: white;
  padding: 12px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
  transition: 0.2s;
}

.btn-book-full:hover {
  background: #1d4ed8;
  color: white;
}

.widget-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: #1c1e21;
  margin-bottom: 20px;
  border-bottom: 1px solid #ffffff;
  padding-bottom: 12px;
}

.reviews-widget .review-item {
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid #ffffff;
}

.reviews-widget .review-item:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.review-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.reviewer-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
}

.reviewer-info-top {
  display: flex;
  justify-content: space-between;
  width: 100%;
  align-items: center;
}

.reviewer-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: #2563eb;
}

.quote-icon {
  color: #cbd5e1;
  font-size: 1rem;
}

.review-text {
  font-size: 0.9rem;
  color: #475569;
  margin: 0;
  line-height: 1.5;
}

/* related insights */
.insights-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.insight-mini-card {
  background: #ffffff;
  border-radius: 6px;
  overflow: hidden;
  cursor: pointer;
  border: 1px solid #e2e8f0;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02);
  transition: 0.2s;
}

.insight-mini-card:hover {
  border-color: #cbd5e1;
  transform: translateY(-2px);
}

.insight-mini-media {
  height: 90px;
}

.insight-mini-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.insight-mini-info {
  padding: 12px;
}

.insight-mini-info p {
  font-size: 0.85rem;
  font-weight: 700;
  color: #1c1e21;
  margin: 0;
  line-height: 1.3;
}

@media (max-width: 900px) {
  .fb-workspace-grid {
    grid-template-columns: 1fr;
  }

  .has-image-side {
    grid-template-columns: 1fr;
  }

  .author-action-buttons {
    width: 100%;
  }

  .btn-outline,
  .btn-consult {
    flex: 1;
    text-align: center;
    padding: 8px;
  }
}

/* ── SPECIALIST INSIGHTS (QUESTIONS) ── */
.saas-specialist-section {
  margin-top: 64px;
  border-top: 1px solid var(--pd-border);
  padding-top: 48px;
}

.saas-empty-state {
  padding: 64px 32px;
  text-align: center;
  background: #f8fafc;
  border-radius: 28px;
  border: 1.5px dashed var(--pd-border);
}

.saas-empty-state i {
  color: #cbd5e1;
  margin-bottom: 20px;
}

.saas-insight-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.saas-insight-card {
  background: #ffffff;
  border: 1px solid var(--pd-border);
  border-radius: 28px;
  padding: 32px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.saas-insight-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--pd-shadow-lg);
}

.expert-card {
  background: #f0f7ff;
  border-color: #dbeafe;
}

.insight-author-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.insight-author-img {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  object-fit: cover;
  box-shadow: var(--pd-shadow-sm);
}

.insight-author-info {
  flex: 1;
}

.insight-author-name {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--pd-dark);
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.expert-badge {
  color: #2563eb;
  font-size: 0.7rem;
  font-weight: 800;
  background: #ffffff;
  padding: 3px 10px;
  border-radius: 8px;
  border: 1px solid #dbeafe;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.insight-meta {
  font-size: 0.85rem;
  color: var(--pd-text-secondary);
  font-weight: 600;
}

.insight-text {
  font-size: 1.1rem;
  line-height: 1.75;
  color: var(--pd-dark-mid);
}

.insight-footer {
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.btn-helpful-mini {
  background: none;
  border: none;
  color: #2563eb;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 0;
  font-size: 0.95rem;
  transition: opacity 0.2s;
}

.btn-helpful-mini:hover {
  opacity: 0.7;
}

@media (max-width: 768px) {
  .saas-specialist-section {
    margin-top: 40px;
    padding-top: 32px;
  }

  .saas-insight-card {
    padding: 24px 20px;
    border-radius: 20px;
  }

  .insight-text {
    font-size: 1rem;
  }

  .saas-empty-state {
    padding: 40px 20px;
  }

  /* Related Insights Grid Mobile Refinement */
  .insights-grid {
    grid-template-columns: 1fr !important;
    gap: 12px;
  }

  .insight-mini-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px;
    border-radius: 16px;
  }

  .insight-mini-media {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
    border-radius: 12px;
    overflow: hidden;
  }

  .insight-mini-info {
    padding: 0;
  }

  .insight-mini-info p {
    font-size: 0.9rem;
    -webkit-line-clamp: 2;
    line-clamp: 2;
  }
}

/* ═══════════════════════════════════════════════════
   Extracted from: Views/Feed\Detail.cshtml
═══════════════════════════════════════════════════ */
* { box-sizing: border-box; }
        body { 
            background-color: white !important; 
            font-family: 'Inter', sans-serif !important;
            color: #0f172a;
            overflow-x: hidden;
            width: 100%;
            margin: 0;
            padding: 0;
        }
        
        h1, h2, h3, h4, .drawer-header-title {
            font-family: 'Outfit', sans-serif !important;
            color: #0f172a;
        }

        .insight-detail-wrapper {
            max-width: 1100px;
            margin: 0 auto;
            padding: 28px 32px;
            display: grid;
            grid-template-columns: minmax(0, 1fr) 360px;
            gap: 28px;
            width: 100%;
            box-sizing: border-box;
            min-width: 0;
        }

        .detail-left-col,
        .detail-right-col {
            min-width: 0;
            max-width: 100%;
            box-sizing: border-box;
        }

        .insight-main-title {
            font-size: 26px;
            font-weight: 700;
            color: #0f172a;
            line-height: 1.25;
            margin-bottom: 8px;
            overflow-wrap: anywhere;
            word-break: break-word;
        }

        .insight-desc-content {
            font-size: 14px;
            color: #64748b;
            line-height: 1.8;
            overflow-wrap: anywhere;
            word-break: break-word;
        }

        .insight-actions-bar {
            display: flex;
            align-items: center;
            gap: 8px;
            margin-bottom: 20px;
            width: 100%;
            box-sizing: border-box;
        }

        /* CLEAN BACK BUTTON (ABOVE CONTENT) */
        .insight-top-bar {
            margin-bottom: 16px;
            display: flex;
            align-items: center;
        }
        .back-btn-styled {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 40px;
            height: 40px;
            background: #f1f5f9;
            border-radius: 50%;
            color: #475569;
            text-decoration: none;
            transition: all 0.2s;
        }
        .back-btn-styled:hover { background: #e2e8f0; color: #1e293b; }
        .back-btn-styled i { font-size: 16px; margin: 0; }
        
        .tag-top-left { top: 12px; left: 12px; background: rgba(37,99,235,0.9); color: white; }

        /* VIDEO AREA */
        .video-container-premium {
            width: 100%;
            aspect-ratio: 16/9;
            border-radius: 14px;
            overflow: hidden;
            margin-bottom: 20px;
            background: #0f172a;
            position: relative;
        }
        .vi-overlay-tag {
            position: absolute;
            z-index: 10;
            padding: 4px 12px;
            border-radius: 20px;
            font-size: 12px;
            font-weight: 500;
        }
        .tag-top-left { 
            top: 12px; 
            left: 12px; 
            background: #2563EB !important; 
            color: white !important; 
            font-weight: 700;
            padding: 6px 16px;
            border-radius: 50px;
            box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
        }
        .tag-bottom-right { bottom: 12px; right: 12px; background: rgba(0,0,0,0.65); color: white; border-radius: 7px; }
        .tag-bottom-left { bottom: 12px; left: 12px; font-size: 11px; color: rgba(255,255,255,0.8); }

        .meta-row {
            font-size: 13px;
            color: #94a3b8;
            margin-bottom: 20px;
            display: flex;
            align-items: center;
            gap: 10px;
        }
        .meta-dot { width: 3px; height: 3px; background: #cbd5e1; border-radius: 50%; }

        /* DOCTOR CARD */
        .doctor-card-premium {
            background: #EFF6FF;
            border: 0.5px solid #DBEAFE;
            border-radius: 14px;
            padding: 16px 18px;
            margin-bottom: 20px;
            display: flex;
            align-items: center;
            gap: 14px;
        }
        .doc-avatar-styled {
            width: 50px;
            height: 50px;
            border-radius: 50%;
            background: #2563EB;
            color: white;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 16px;
            font-weight: 600;
            flex-shrink: 0;
        }
        .doc-verified-badge {
            width: 16px;
            height: 16px;
            background: #2563EB;
            border-radius: 50%;
            display: inline-flex;
            align-items: center;
            justify-content: center;
        }
        .doc-name-styled { font-size: 15px; font-weight: 500; color: #1a1a1a; display: flex; align-items: center; gap: 6px; }
        .doc-sub-info { font-size: 12px; color: #64748b; margin-top: 2px; }
        .doc-followers { font-size: 11px; color: #94a3b8; margin-top: 2px; }

        .btn-view-profile { display: none !important; }

        .btn-follow-styled {
            padding: 8px 18px;
            border: 1.5px solid #2563EB;
            color: #2563EB;
            background: white;
            border-radius: 10px;
            font-size: 13px;
            font-weight: 500;
            cursor: pointer;
            transition: 0.2s;
        }
        .btn-follow-styled:hover { background: #EFF6FF; }

        /* ACTION BUTTONS */
        .action-button-styled {
            display: flex;
            align-items: center;
            gap: 6px;
            padding: 9px 16px;
            border: 0.5px solid #e8e8e8;
            border-radius: 10px;
            font-size: 13px;
            color: #64748b;
            background: white;
            cursor: pointer;
            transition: 0.2s;
        }
        .action-button-styled:hover { border-color: #2563EB; color: #2563EB; }
        .action-button-styled.liked { color: #2563EB !important; border-color: #DBEAFE !important; }
        .action-button-styled.saved { color: #2563EB !important; border-color: #DBEAFE !important; }
        .action-button-styled svg, .action-button-styled i { width: 15px; height: 15px; font-size: 15px; }

        /* CONTENT CARDS (Description & Comments) */
        .detail-card {
            background: white;
            border: 0.5px solid #e8e8e8;
            border-radius: 14px;
            padding: 20px;
            margin-bottom: 24px;
        }
        
        /* Clear background and border specifically for description transcript */
        .v-description-card {
            background: transparent !important;
            border: none !important;
            padding-top: 0 !important;
            /* Keep side padding (inherited from .detail-card) for readability */
        }

        /* COMMENTS */
        .comment-item { display: flex; gap: 12px; margin-bottom: 18px; }
        .comment-avatar {
            width: 36px;
            height: 36px;
            border-radius: 50%;
            background: #f1f5f9;
            font-size: 12px;
            font-weight: 600;
            color: #475569;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
        }
        .comment-avatar.is-doctor { background: #2563EB; color: white; }
        .comment-name { font-size: 13px; font-weight: 500; color: #1a1a1a; display: flex; align-items: center; gap: 8px; }
        .comment-badge { font-size: 10px; padding: 2px 7px; background: #DBEAFE; color: #1e40af; border-radius: 6px; font-weight: 500; }
        .comment-time { font-size: 11px; color: #94a3b8; margin-left: auto; }
        .comment-bubble { background: #f8fafc; padding: 10px 14px; border-radius: 10px; font-size: 13px; color: #64748b; line-height: 1.6; margin-top: 4px; }

        .comment-input-wrap {
            display: flex;
            gap: 10px;
            align-items: center;
            margin-top: 18px;
            padding-top: 16px;
            border-top: 0.5px solid #f0f0f0;
        }
        .comment-input-field {
            flex: 1;
            padding: 11px 18px;
            font-size: 14px;
            border: 0.5px solid #e2e8f0;
            border-radius: 24px;
            background: #f8fafc;
            outline: none;
            transition: 0.2s;
        }
        .comment-input-field:focus { border-color: #2563EB; background: white; }
        .btn-send-comment {
            width: 38px;
            height: 38px;
            border-radius: 50%;
            background: #2563EB;
            border: none;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            cursor: pointer;
            transition: 0.2s;
        }
        .btn-send-comment:hover { background: #1D4ED8; }

        /* RIGHT COLUMN (Sticky) */
        .sidebar-sticky {
            position: sticky;
            top: 20px;
        }

        /* BOOKING CARD */
        .booking-card {
            background: white;
            border: 0.5px solid #e8e8e8;
            border-radius: 14px;
            overflow: hidden;
            margin-bottom: 24px;
        }
        .booking-header { background: #EFF6FF; border-bottom: 0.5px solid #DBEAFE; padding: 14px 18px; }
        .booking-header span { font-size: 13px; font-weight: 500; color: #1e40af; }
        .booking-body { padding: 16px 18px; }

        .slot-box {
            background: #EFF6FF;
            border: 0.5px solid #DBEAFE;
            border-radius: 10px;
            padding: 12px 14px;
            margin-bottom: 14px;
            display: flex;
            align-items: center;
            gap: 10px;
        }
        .slot-icon { width: 36px; height: 36px; background: #2563EB; border-radius: 9px; display: flex; align-items: center; justify-content: center; color: white; }
        .slot-label { font-size: 12px; font-weight: 500; color: #1e40af; }
        .slot-sub { font-size: 11px; color: #3b82f6; }

        .booking-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 12px; }
        .btn-whatsapp { background: #25D366; color: white; border: none; border-radius: 10px; padding: 12px; font-size: 13px; font-weight: 500; cursor: pointer; transition: 0.2s; }
        .btn-whatsapp:hover { opacity: 0.9; }
        .btn-book-now { background: #2563EB; color: white; border: none; border-radius: 10px; padding: 12px; font-size: 13px; font-weight: 500; cursor: pointer; transition: 0.2s; }
        .btn-book-now:hover { background: #1D4ED8; }
        .booking-disclaimer { font-size: 11px; color: #94a3b8; text-align: center; display: block; }

        /* RELATED VIDEOS */
        .related-card {
            background: white;
            border: 0.5px solid #e8e8e8;
            border-radius: 14px;
            padding: 16px 18px;
        }
        .related-title { font-size: 13px; font-weight: 500; color: #1a1a1a; margin-bottom: 14px; }
        .related-item {
            display: flex;
            gap: 10px;
            margin-bottom: 12px;
            padding: 8px;
            border-radius: 10px;
            transition: 0.2s;
            cursor: pointer;
            text-decoration: none;
        }
        .related-item:hover { background: #f8fafc; }
        .related-thumb {
            width: 72px;
            height: 48px;
            background: #EFF6FF;
            border-radius: 8px;
            flex-shrink: 0;
            display: flex;
            align-items: center;
            justify-content: center;
            color: #2563EB;
            overflow: hidden;
            position: relative;
        }
        .related-thumb img, 
        .related-v-preview { width: 100%; height: 100%; object-fit: cover; }
        .related-info { flex: 1; min-width: 0; }
        .related-v-title { font-size: 12px; font-weight: 500; color: #1a1a1a; margin-bottom: 2px; line-height: 1.4; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
        .related-v-meta { font-size: 11px; color: #94a3b8; }

        .mobile-booking-panel-flow {
            display: none;
        }

        /* RESPONSIVE */
        @media (max-width: 992px) {
            footer { display: none !important; }
            .main-content-yt {
                padding: 0 !important;
                padding-top: var(--topbar-height) !important;
                margin: 0 !important;
                width: 100% !important;
                max-width: 100vw !important;
                overflow-x: hidden !important;
            }
            .page-container-yt {
                padding: 0 !important;
                max-width: 100% !important;
                margin: 0 !important;
                width: 100% !important;
                overflow-x: hidden !important;
            }
            
            html, body {
                background-color: white !important;
                overflow-x: hidden !important;
                max-width: 100vw !important;
                width: 100% !important;
            }

            .insight-detail-wrapper {
                display: flex !important;
                flex-direction: column !important;
                padding: 0 0 60px 0 !important;
                gap: 0 !important;
                width: 100% !important;
                max-width: 100vw !important;
                box-sizing: border-box !important;
                overflow-x: hidden !important;
                margin-bottom: 30px !important;
            }

            .detail-left-col,
            .detail-right-col {
                width: 100% !important;
                max-width: 100% !important;
                min-width: 0 !important;
                padding: 0 !important;
                box-sizing: border-box !important;
            }
            
            .insight-top-bar {
                position: relative;
                top: 0;
                left: 0;
                margin: 8px 0 8px 0;
                padding: 0 16px;
                background: transparent;
                border: none;
                z-index: 100;
            }
            .back-btn-styled {
                width: 38px;
                height: 38px;
                background: #f1f5f9;
            }
            
            .video-container-premium {
                border-radius: 0 !important;
                margin-top: 0 !important;
                margin-bottom: 16px !important;
                aspect-ratio: 16/9 !important;
                width: 100% !important;
                max-width: 100% !important;
                overflow: hidden !important;
            }
            .video-container-premium video,
            .video-container-premium img {
                width: 100% !important;
                height: 100% !important;
                object-fit: contain !important;
                background: #0f172a !important;
                display: block !important;
            }

            .insight-main-title {
                padding: 0 16px !important;
                font-size: 1.35rem !important;
                line-height: 1.3 !important;
                margin-bottom: 10px !important;
                overflow-wrap: anywhere !important;
                word-break: break-word !important;
            }

            .meta-row {
                padding: 0 16px !important;
                margin-bottom: 16px !important;
                font-size: 12px !important;
                display: flex !important;
                flex-wrap: wrap !important;
                gap: 6px !important;
                align-items: center !important;
            }
            .meta-dot:last-of-type { display: none !important; }
            .meta-row span:last-child { display: none !important; }
            
            .doctor-card-premium {
                margin: 0 16px 16px !important;
                padding: 12px 14px !important;
                border-radius: 14px !important;
                box-sizing: border-box !important;
            }

            .insight-actions-bar {
                display: grid !important;
                grid-template-columns: repeat(4, 1fr) !important;
                gap: 8px !important;
                padding: 0 16px !important;
                margin: 0 0 18px 0 !important;
                width: 100% !important;
                box-sizing: border-box !important;
            }
            
            .action-button-styled {
                flex: 1;
                min-width: 0;
                display: flex !important;
                align-items: center !important;
                justify-content: center !important;
                gap: 5px !important;
                padding: 9px 4px !important;
                border-radius: 10px !important;
                font-size: 12px !important;
                box-sizing: border-box !important;
            }
            .action-button-styled span {
                white-space: nowrap !important;
                overflow: hidden !important;
                text-overflow: ellipsis !important;
                font-size: 12px !important;
            }
            
            .v-description-card {
                margin: 0 16px 18px !important;
                padding: 0 !important;
                border: none !important;
                background: transparent !important;
                box-sizing: border-box !important;
            }
            .insight-desc-content {
                font-size: 14px !important;
                color: #475569 !important;
                line-height: 1.7 !important;
                overflow-wrap: anywhere !important;
                word-break: break-word !important;
            }

            .mobile-booking-panel-flow {
                display: block !important;
                margin: 0 16px 20px !important;
                padding: 16px !important;
                background: #f8fafc !important;
                border: 1px solid #eef2f6 !important;
                border-radius: 14px !important;
                box-sizing: border-box !important;
            }

            .mobile-booking-grid {
                display: grid !important;
                grid-template-columns: 1fr 1fr !important;
                gap: 8px !important;
                width: 100% !important;
                box-sizing: border-box !important;
            }

            .mobile-booking-grid a,
            .mobile-booking-grid button {
                width: 100% !important;
                min-width: 0 !important;
                padding: 11px 8px !important;
                font-size: 13px !important;
                border-radius: 10px !important;
                display: flex !important;
                align-items: center !important;
                justify-content: center !important;
                gap: 6px !important;
                box-sizing: border-box !important;
                white-space: nowrap !important;
            }

            .detail-card {
                border-radius: 14px !important;
                border: 1px solid #f1f5f9 !important;
                margin: 0 16px 20px !important;
                padding: 18px 16px !important;
                box-sizing: border-box !important;
            }
            .comment-item {
                display: flex !important;
                gap: 10px !important;
                width: 100% !important;
                box-sizing: border-box !important;
            }
            .comment-bubble {
                overflow-wrap: anywhere !important;
                word-break: break-word !important;
            }
            .comment-input-wrap {
                display: flex !important;
                width: 100% !important;
                box-sizing: border-box !important;
            }
            .comment-input-field {
                min-width: 0 !important;
            }
            
            .sidebar-sticky {
                position: static !important;
                padding: 0 16px 40px !important;
                width: 100% !important;
                box-sizing: border-box !important;
            }

            .detail-right-col .booking-card {
                display: none !important;
            }

            .related-card {
                border-radius: 14px !important;
                border: 1px solid #e8e8e8 !important;
                padding: 16px !important;
                width: 100% !important;
                box-sizing: border-box !important;
            }

            .related-item {
                display: flex !important;
                gap: 10px !important;
                align-items: center !important;
                width: 100% !important;
                box-sizing: border-box !important;
            }

            .related-info {
                flex: 1 !important;
                min-width: 0 !important;
                overflow: hidden !important;
            }

            .related-v-title {
                overflow-wrap: anywhere !important;
                word-break: break-word !important;
                font-size: 12px !important;
                line-height: 1.35 !important;
            }

            .mobile-fixed-comment-bar {
                display: none !important;
            }

            .btn-view-profile {
                display: none !important;
            }
        }



/* Verified Medical Insight Badge */
.verified-medical-badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 9999px;
    background: #ecfdf5;
    color: #059669;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.3px;
    border: 1px solid #a7f3d0;
}

/* RTL Support */
[dir="rtl"] .insight-detail-wrapper,
.rtl-mode.insight-detail-wrapper {
    direction: rtl;
    text-align: right;
    font-family: 'Cairo', -apple-system, BlinkMacSystemFont, sans-serif !important;
}

[dir="rtl"] .meta-row,
.rtl-mode .meta-row {
    flex-direction: row;
}

[dir="rtl"] .share-strip-label,
.rtl-mode .share-strip-label {
    margin-right: 0;
    margin-left: 4px;
}