/* ==========================================================================
   BLOG & MEDICAL ARTICLES STYLESHEET
   Dr. Ahmed Sheikh Elarab Ophthalmology Center
   Editorial, Luxury, High-Legibility Medical Journal Design
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. BLOG HERO & SUBPAGE HEADER
   -------------------------------------------------------------------------- */
.blog-subpage-hero {
  position: relative;
  padding-top: calc(var(--header-height, 88px) + 48px);
  padding-bottom: 56px;
  background: radial-gradient(circle at 50% 20%, rgba(203, 163, 88, 0.08) 0%, rgba(17, 20, 24, 0) 70%),
              linear-gradient(180deg, #111418 0%, #16191e 60%, #111418 100%);
  border-bottom: 1px solid rgba(203, 163, 88, 0.18);
  overflow: hidden;
  text-align: center;
}

.blog-hero-ambient {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 420px;
  background: radial-gradient(ellipse at center, rgba(203, 163, 88, 0.12) 0%, transparent 70%);
  filter: blur(60px);
  pointer-events: none;
  z-index: 0;
}

.blog-hero-content {
  position: relative;
  z-index: 1;
  max-width: 860px;
  margin: 0 auto;
}

/* Strict No-Labels Rule */
.blog-kicker-label,
.lead-article-badge,
.lead-category-tag,
.card-category-badge,
.article-top-badge-row,
.article-category-badge,
.medical-review-badge,
.article-tags-cluster,
.share-label,
.count-tag,
.featured-case-kicker,
.reel-corner-tag,
.badge-tag,
.branch-tag-pill,
.hero-badge-tag {
  display: none !important;
}

.blog-hero-title {
  font-size: clamp(2rem, 3.4vw, 2.85rem);
  color: #ffffff;
  font-weight: 800;
  line-height: 1.35;
  margin: 0 0 16px;
}

.blog-hero-title span {
  color: #cba358;
  display: inline-block;
}

.blog-hero-desc {
  font-size: clamp(0.98rem, 1.25vw, 1.12rem);
  color: rgba(245, 245, 247, 0.82);
  line-height: 1.85;
  max-width: 760px;
  margin: 0 auto;
}

/* --------------------------------------------------------------------------
   2. CATEGORY TOPIC TABS
   -------------------------------------------------------------------------- */
.blog-categories-bar {
  padding: 24px 0 34px;
  background: #111418;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.categories-tabs-wrap,
.categories-pills-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}

.category-tab-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(245, 245, 247, 0.85);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
  transition: all 0.25s ease;
}

.category-tab-link:hover {
  background: rgba(203, 163, 88, 0.12);
  border-color: rgba(203, 163, 88, 0.45);
  color: #cba358;
}

.category-tab-link.is-active {
  background: linear-gradient(135deg, #d3ab60 0%, #b88d44 100%);
  border-color: #cba358;
  color: #111418;
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(203, 163, 88, 0.3);
}

.category-tab-link .count-tag {
  font-size: 0.75rem;
  opacity: 0.75;
  padding: 1px 6px;
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.18);
}

/* --------------------------------------------------------------------------
   3. FEATURED LEAD ARTICLE CARD (HERO POST)
   -------------------------------------------------------------------------- */
.blog-featured-section {
  padding: 48px 0 24px;
  background: #111418;
}

.lead-article-card {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 40px;
  align-items: center;
  background: linear-gradient(150deg, rgba(31, 35, 41, 0.95) 0%, rgba(20, 23, 27, 0.98) 100%);
  border: 1px solid rgba(203, 163, 88, 0.28);
  border-radius: 24px;
  padding: 34px;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.45);
  transition: border-color 0.35s ease, box-shadow 0.35s ease, transform 0.35s ease;
  position: relative;
  overflow: hidden;
}

.lead-article-card:hover {
  border-color: rgba(203, 163, 88, 0.65);
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.55), 0 0 26px rgba(203, 163, 88, 0.15);
  transform: translateY(-4px);
}

.lead-article-thumb-wrap {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  height: 380px;
  background: #090b0e;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45);
}

.lead-article-thumb-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #090b0e;
  display: block;
  transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.lead-article-card:hover .lead-article-thumb-wrap img {
  transform: scale(1.04);
}

.lead-article-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.lead-meta-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 0.84rem;
  color: var(--text-muted, #9faab7);
  margin-bottom: 14px;
}

.lead-meta-row .meta-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.lead-meta-row .meta-item svg {
  width: 14px;
  height: 14px;
  color: #cba358;
}

.lead-category-tag {
  color: #cba358;
  font-weight: 700;
  background: rgba(203, 163, 88, 0.1);
  border: 1px solid rgba(203, 163, 88, 0.25);
  padding: 3px 10px;
  border-radius: 6px;
}

.lead-article-title {
  font-size: clamp(1.4rem, 2vw, 1.85rem);
  font-weight: 800;
  line-height: 1.45;
  margin: 0 0 16px;
  color: #ffffff;
}

.lead-article-title a {
  color: #ffffff;
  text-decoration: none;
  transition: color 0.25s ease;
}

.lead-article-title a:hover {
  color: #cba358;
}

.lead-article-excerpt {
  font-size: 1rem;
  color: rgba(245, 245, 247, 0.85);
  line-height: 1.85;
  margin: 0 0 24px;
}

.lead-article-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #cba358;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  transition: transform 0.25s ease, color 0.25s ease;
}

.lead-article-cta svg {
  width: 18px;
  height: 18px;
  transition: transform 0.25s ease;
}

.lead-article-card:hover .lead-article-cta {
  color: #e5c47a;
}

html[dir="rtl"] .lead-article-card:hover .lead-article-cta svg {
  transform: translateX(-5px);
}
html[dir="ltr"] .lead-article-card:hover .lead-article-cta svg {
  transform: translateX(5px);
}

/* --------------------------------------------------------------------------
   4. ARTICLES GRID & CARDS
   -------------------------------------------------------------------------- */
.blog-articles-section {
  padding: 40px 0 90px;
  background: #111418;
}

.blog-section-header {
  margin-bottom: 36px;
}

.blog-section-heading {
  font-size: clamp(1.4rem, 2vw, 1.75rem);
  color: #ffffff;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
}

.blog-section-heading::after {
  content: '';
  flex-grow: 1;
  height: 1px;
  background: linear-gradient(to left, rgba(255, 255, 255, 0.08), transparent);
}
html[dir="ltr"] .blog-section-heading::after {
  background: linear-gradient(to right, rgba(255, 255, 255, 0.08), transparent);
}

.medical-articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 28px;
}

.medical-article-card {
  background: linear-gradient(160deg, rgba(29, 33, 39, 0.95) 0%, rgba(20, 23, 27, 0.98) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
  position: relative;
}

.medical-article-card:hover {
  transform: translateY(-7px);
  border-color: rgba(203, 163, 88, 0.55);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.5), 0 0 22px rgba(203, 163, 88, 0.12);
}

.article-card-thumb-link {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 250px;
  background: #090b0e;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.article-card-thumb-link img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #090b0e;
  display: block;
  transition: transform 0.4s ease;
}

.medical-article-card:hover .article-card-thumb-link img {
  transform: scale(1.03);
}

.article-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.article-card-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.8rem;
  color: var(--text-muted, #9faab7);
  margin-bottom: 12px;
}

.article-card-meta .meta-date,
.article-card-meta .meta-read-time {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.article-card-meta svg {
  width: 13px;
  height: 13px;
  color: #cba358;
}

.article-card-title {
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.5;
  margin: 0 0 12px;
  color: #ffffff;
}

.article-card-title a {
  color: #ffffff;
  text-decoration: none;
  transition: color 0.25s ease;
}

.article-card-title a:hover {
  color: #cba358;
}

.article-card-excerpt {
  font-size: 0.92rem;
  color: rgba(245, 245, 247, 0.75);
  line-height: 1.75;
  margin: 0 0 20px;
  flex-grow: 1;
}

.article-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  margin-top: auto;
}

.article-card-readmore {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #cba358;
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.25s ease;
}

.article-card-readmore svg {
  width: 15px;
  height: 15px;
  transition: transform 0.25s ease;
}

.medical-article-card:hover .article-card-readmore {
  color: #e5c47a;
}

html[dir="rtl"] .medical-article-card:hover .article-card-readmore svg {
  transform: translateX(-4px);
}
html[dir="ltr"] .medical-article-card:hover .article-card-readmore svg {
  transform: translateX(4px);
}

.article-author-byline {
  font-size: 0.78rem;
  color: var(--text-muted, #9faab7);
}

/* --------------------------------------------------------------------------
   5. BLOG PAGINATION
   -------------------------------------------------------------------------- */
.blog-pagination-wrapper {
  margin-top: 50px;
  display: flex;
  justify-content: center;
}

.blog-pagination-wrapper .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 44px;
  padding: 0 14px;
  margin: 0 4px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(203, 163, 88, 0.25);
  color: #ffffff;
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.25s ease;
}

.blog-pagination-wrapper .page-numbers:hover {
  background: rgba(203, 163, 88, 0.15);
  border-color: #cba358;
  color: #cba358;
}

.blog-pagination-wrapper .page-numbers.current {
  background: linear-gradient(135deg, #d3ab60 0%, #b88d44 100%);
  border-color: #cba358;
  color: #111418;
  font-weight: 800;
  box-shadow: 0 4px 14px rgba(203, 163, 88, 0.35);
}

.blog-pagination-wrapper .page-numbers.prev,
.blog-pagination-wrapper .page-numbers.next {
  padding: 0 18px;
}

/* --------------------------------------------------------------------------
   6. SINGLE ARTICLE VIEW (SINGLE.PHP)
   Prestigious, High-Legibility Medical Journal Editorial Layout
   -------------------------------------------------------------------------- */
.single-article-main {
  background: #111418;
  color: rgba(245, 245, 247, 0.92);
  padding-bottom: 90px;
  min-height: 100vh;
}

.single-editorial-article {
  padding-top: calc(var(--header-height, 88px) + 38px);
  padding-bottom: 40px;
}

.article-editorial-container {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 24px;
  box-sizing: border-box;
}

/* Breadcrumb Navigation */
.article-breadcrumb-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.84rem;
  color: var(--text-muted, #9faab7);
  margin-bottom: 22px;
}

.article-breadcrumb-nav a {
  color: var(--text-muted, #9faab7);
  text-decoration: none;
  transition: color 0.2s ease;
}

.article-breadcrumb-nav a:hover {
  color: #cba358;
}

.article-breadcrumb-nav .sep {
  color: rgba(203, 163, 88, 0.5);
}

.article-breadcrumb-nav .current-crumb {
  color: #cba358;
  font-weight: 600;
}

/* Article Title */
.article-main-title {
  font-size: clamp(1.85rem, 3.2vw, 2.65rem);
  font-weight: 800;
  color: #ffffff;
  line-height: 1.4;
  margin: 0 0 24px;
  letter-spacing: -0.3px;
}

/* Author Byline & Meta Strip */
.article-meta-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 32px;
}

.article-author-cluster {
  display: flex;
  align-items: center;
  gap: 12px;
}

.author-portrait-circle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  overflow: hidden;
  border: 1.5px solid #cba358;
  box-shadow: 0 4px 12px rgba(203, 163, 88, 0.25);
  flex-shrink: 0;
}

.author-portrait-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.author-details-meta .author-name {
  display: block;
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 700;
}

.author-details-meta .author-title {
  display: block;
  color: #cba358;
  font-size: 0.78rem;
  font-weight: 500;
}

.article-attributes-cluster {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.84rem;
  color: var(--text-muted, #9faab7);
}

.attr-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.attr-item svg {
  width: 15px;
  height: 15px;
  color: #cba358;
}

/* Featured Banner Image (Natural Proportion, No Cropping Text) */
.article-featured-banner {
  margin: 0 0 38px;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(203, 163, 88, 0.25);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
  background: #0d1014;
}

.article-featured-banner img {
  width: 100%;
  height: auto;
  max-height: 560px;
  object-fit: contain;
  background: #090b0e;
  display: block;
  margin: 0 auto;
}

/* --------------------------------------------------------------------------
   7. RICH MEDICAL TYPOGRAPHY (.entry-content)
   -------------------------------------------------------------------------- */
.article-reading-flow {
  font-size: 1.12rem;
  line-height: 2.15;
  color: rgba(245, 245, 247, 0.92);
}

.article-reading-flow p {
  margin-bottom: 24px;
}

.article-reading-flow p.lead-text,
.article-reading-flow > p:first-of-type {
  font-size: 1.2rem;
  line-height: 2.2;
  color: #ffffff;
  font-weight: 500;
  margin-bottom: 32px;
}

.article-reading-flow h2 {
  font-size: clamp(1.45rem, 2.2vw, 1.85rem);
  color: #ffffff;
  font-weight: 800;
  margin-top: 48px;
  margin-bottom: 18px;
  line-height: 1.45;
  display: flex;
  align-items: center;
  gap: 12px;
}

.article-reading-flow h2::before {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #cba358;
  flex-shrink: 0;
}

.article-reading-flow h3 {
  font-size: clamp(1.2rem, 1.6vw, 1.4rem);
  color: #cba358;
  font-weight: 700;
  margin-top: 36px;
  margin-bottom: 14px;
  line-height: 1.5;
}

.article-reading-flow h4 {
  font-size: 1.15rem;
  color: #ffffff;
  font-weight: 700;
  margin-top: 28px;
  margin-bottom: 12px;
}

.article-reading-flow ul,
.article-reading-flow ol {
  margin: 0 0 28px;
  padding-right: 28px;
}

html[dir="ltr"] .article-reading-flow ul,
html[dir="ltr"] .article-reading-flow ol {
  padding-right: 0;
  padding-left: 28px;
}

.article-reading-flow li {
  margin-bottom: 12px;
  line-height: 2;
}

.article-reading-flow ul li::marker {
  color: #cba358;
}

.article-reading-flow ol li::marker {
  color: #cba358;
  font-weight: 700;
}

.article-reading-flow blockquote {
  margin: 36px 0;
  padding: 24px 28px;
  background: rgba(203, 163, 88, 0.06);
  border-right: 3px solid #cba358;
  border-radius: 12px;
  font-size: 1.1rem;
  line-height: 2;
  color: #ffffff;
}

html[dir="ltr"] .article-reading-flow blockquote {
  border-right: none;
  border-left: 3px solid #cba358;
}

.article-reading-flow blockquote p:last-child {
  margin-bottom: 0;
}

.article-reading-flow strong {
  color: #ffffff;
  font-weight: 700;
}

.article-reading-flow a {
  color: #cba358;
  text-decoration: underline;
  text-underline-offset: 4px;
  transition: color 0.2s ease;
}

.article-reading-flow a:hover {
  color: #e5c47a;
}

/* --------------------------------------------------------------------------
   8. SHARE STRIP
   -------------------------------------------------------------------------- */
.article-share-strip {
  margin-top: 48px;
  padding: 20px 24px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.share-strip-title {
  color: rgba(245, 245, 247, 0.85);
  font-size: 0.94rem;
  font-weight: 600;
}

.article-share-buttons {
  display: flex;
  align-items: center;
  gap: 10px;
}

.share-btn-icon {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #cba358;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.25s ease;
}

.share-btn-icon:hover {
  background: #cba358;
  color: #111418;
  border-color: #cba358;
  transform: translateY(-2px);
}

.share-btn-icon svg {
  width: 17px;
  height: 17px;
}

/* --------------------------------------------------------------------------
   9. AUTHOR CLINICAL BIO BOX (AT BOTTOM OF ARTICLE)
   -------------------------------------------------------------------------- */
.author-editorial-box {
  margin: 52px 0 36px;
  background: linear-gradient(155deg, rgba(32, 36, 42, 0.95) 0%, rgba(18, 21, 25, 0.98) 100%);
  border: 1px solid rgba(203, 163, 88, 0.28);
  border-radius: 20px;
  padding: 32px 36px;
  display: flex;
  align-items: center;
  gap: 28px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
}

.author-editorial-portrait {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid #cba358;
  box-shadow: 0 6px 18px rgba(203, 163, 88, 0.3);
  flex-shrink: 0;
}

.author-editorial-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.editorial-byline-lead {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  color: #cba358;
  margin-bottom: 4px;
  letter-spacing: 0.5px;
}

.author-editorial-name {
  font-size: 1.3rem;
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 4px;
}

.author-editorial-role {
  font-size: 0.88rem;
  color: #cba358;
  font-weight: 600;
  margin: 0 0 12px;
}

.author-editorial-bio {
  font-size: 0.94rem;
  color: rgba(245, 245, 247, 0.82);
  line-height: 1.8;
  margin: 0 0 20px;
}

.author-editorial-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.author-editorial-actions .sub-btn-primary {
  padding: 11px 24px;
  border-radius: 8px;
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
}

.btn-whatsapp-consult {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 8px;
  background: rgba(37, 211, 102, 0.12);
  border: 1px solid rgba(37, 211, 102, 0.35);
  color: #25d366;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.92rem;
  transition: all 0.25s ease;
}

.btn-whatsapp-consult:hover {
  background: #25d366;
  color: #111418;
  border-color: #25d366;
}

@media (max-width: 680px) {
  .author-editorial-box {
    flex-direction: column;
    text-align: center;
    padding: 26px 20px;
  }
  .author-editorial-actions {
    justify-content: center;
  }
  .author-editorial-actions a {
    width: 100%;
    justify-content: center;
  }
}

/* --------------------------------------------------------------------------
   10. POST NAVIGATION (PREV & NEXT)
   -------------------------------------------------------------------------- */
.post-navigation-duo {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 36px;
}

.nav-article-card {
  padding: 22px 24px;
  background: linear-gradient(150deg, rgba(31, 35, 41, 0.7) 0%, rgba(20, 23, 27, 0.85) 100%);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 14px;
  text-decoration: none;
  transition: all 0.25s ease;
  display: flex;
  flex-direction: column;
}

.nav-article-card:hover {
  border-color: rgba(203, 163, 88, 0.45);
  background: rgba(31, 35, 41, 0.95);
  transform: translateY(-2px);
}

.nav-article-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  color: #cba358;
  margin-bottom: 8px;
}

.nav-article-arrow svg {
  width: 14px;
  height: 14px;
}

.nav-article-title {
  color: #ffffff;
  font-size: 0.96rem;
  font-weight: 700;
  line-height: 1.45;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* --------------------------------------------------------------------------
   11. RELATED ARTICLES SECTION
   -------------------------------------------------------------------------- */
.related-articles-section {
  padding: 60px 0 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.related-section-title {
  font-size: clamp(1.4rem, 2vw, 1.8rem);
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 32px;
  text-align: center;
}

.related-section-title span {
  color: #cba358;
}

.related-editorial-grid {
  margin-top: 24px;
}

/* --------------------------------------------------------------------------
   11. MEDICAL CTA BANNER (COMMON)
   -------------------------------------------------------------------------- */
.blog-bottom-cta {
  padding: 40px 0 70px;
}

.blog-cta-card {
  background: radial-gradient(circle at 80% 20%, rgba(203, 163, 88, 0.15) 0%, transparent 60%),
              linear-gradient(155deg, rgba(35, 40, 46, 0.98) 0%, rgba(20, 23, 27, 0.98) 100%);
  border: 1px solid rgba(203, 163, 88, 0.35);
  border-radius: 24px;
  padding: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.blog-cta-text h3 {
  font-size: clamp(1.4rem, 2.2vw, 1.9rem);
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 10px;
}

.blog-cta-text p {
  font-size: 1rem;
  color: rgba(245, 245, 247, 0.85);
  line-height: 1.8;
  margin: 0;
  max-width: 650px;
}

.blog-cta-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

.blog-cta-actions .sub-btn-primary {
  padding: 14px 28px;
  border-radius: 8px;
  background: linear-gradient(135deg, #d3ab60 0%, #b88d44 100%);
  color: #111418;
  font-weight: 700;
  font-size: 0.96rem;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 8px 22px rgba(203, 163, 88, 0.3);
  transition: all 0.25s ease;
}

.blog-cta-actions .sub-btn-primary:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);
  box-shadow: 0 12px 28px rgba(203, 163, 88, 0.45);
}

.blog-cta-actions .btn-outline {
  padding: 14px 24px;
  border-radius: 8px;
  border: 1px solid rgba(203, 163, 88, 0.4);
  color: #f5f5f7;
  font-weight: 600;
  font-size: 0.96rem;
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.25s ease;
}

.blog-cta-actions .btn-outline:hover {
  background: rgba(203, 163, 88, 0.12);
  border-color: #cba358;
  color: #cba358;
}

/* --------------------------------------------------------------------------
   12. RESPONSIVE BREAKPOINTS
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .lead-article-card {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 26px;
  }
  .medical-articles-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .blog-subpage-hero {
    padding-top: calc(var(--header-height, 88px) + 28px);
    padding-bottom: 38px;
  }
  .single-editorial-article {
    padding-top: calc(var(--header-height, 88px) + 20px);
    padding-bottom: 30px;
  }
  .article-editorial-container {
    padding: 0 16px;
  }
  .article-main-title {
    font-size: 1.65rem;
    line-height: 1.4;
    margin-bottom: 18px;
  }
  .article-meta-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
  .article-attributes-cluster {
    gap: 12px;
  }
  .article-reading-flow {
    font-size: 1.05rem;
    line-height: 2;
  }
  .article-reading-flow p.lead-text,
  .article-reading-flow > p:first-of-type {
    font-size: 1.12rem;
    line-height: 2.05;
  }
  .article-reading-flow h2 {
    font-size: 1.35rem;
    margin-top: 36px;
  }
  .medical-articles-grid {
    grid-template-columns: 1fr;
  }
  .post-navigation-duo {
    grid-template-columns: 1fr;
  }
  .blog-cta-card {
    flex-direction: column;
    padding: 30px 20px;
    text-align: center;
  }
  .blog-cta-actions {
    flex-direction: column;
    width: 100%;
  }
  .blog-cta-actions a {
    width: 100%;
    justify-content: center;
  }
}

/* --------------------------------------------------------------------------
   10. MODONTY MIGRATED COMPONENTS (SUMMARY BOX, FAQS, REFERENCES, IMAGES)
   -------------------------------------------------------------------------- */
.article-summary-box {
  margin: 0 0 36px;
  padding: 24px 28px;
  background: linear-gradient(135deg, rgba(203, 163, 88, 0.12) 0%, rgba(203, 163, 88, 0.03) 100%);
  border: 1px solid rgba(203, 163, 88, 0.35);
  border-right: 4px solid #cba358;
  border-radius: 16px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
}

html[dir="ltr"] .article-summary-box {
  border-right: 1px solid rgba(203, 163, 88, 0.35);
  border-left: 4px solid #cba358;
}

.article-summary-box .summary-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(203, 163, 88, 0.22);
  color: #ffd885;
  font-size: 0.88rem;
  font-weight: 800;
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 12px;
  letter-spacing: 0.5px;
}

.article-summary-box p {
  margin: 0;
  color: #ffffff;
  font-size: 1.08rem;
  line-height: 1.95;
  font-weight: 500;
}

.article-main-body img,
.article-reading-flow img {
  max-width: 100%;
  height: auto;
  border-radius: 16px;
  border: 1px solid rgba(203, 163, 88, 0.25);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.45);
  display: block;
  margin: 32px auto;
}

.article-faq-accordion {
  margin: 52px 0 36px;
  padding: 32px;
  background: linear-gradient(145deg, rgba(31, 35, 41, 0.94) 0%, rgba(21, 24, 29, 0.98) 100%);
  border: 1px solid rgba(203, 163, 88, 0.3);
  border-radius: 20px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
}

.article-faq-accordion .faq-main-title {
  color: #ffffff;
  font-size: clamp(1.35rem, 2vw, 1.65rem);
  font-weight: 800;
  margin: 0 0 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(203, 163, 88, 0.2);
  display: flex;
  align-items: center;
  gap: 12px;
}

.article-faq-accordion .faq-main-title::before {
  content: '?';
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: #cba358;
  color: #111418;
  border-radius: 50%;
  font-size: 0.95rem;
  font-weight: 900;
  flex-shrink: 0;
}

.article-faq-accordion .faq-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 18px 0;
}

.article-faq-accordion .faq-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.article-faq-accordion .faq-q {
  color: #cba358;
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0 0 10px;
  line-height: 1.6;
}

.article-faq-accordion .faq-a {
  color: rgba(245, 245, 247, 0.88);
  font-size: 1.02rem;
  line-height: 1.9;
  margin: 0;
}

.article-references-box {
  margin: 40px 0 24px;
  padding: 24px 28px;
  background: rgba(18, 22, 27, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
}

.article-references-box .references-title {
  color: #cba358;
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0 0 14px;
}

.article-references-box ul {
  margin: 0;
  padding-right: 20px;
}

html[dir="ltr"] .article-references-box ul {
  padding-right: 0;
  padding-left: 20px;
}

.article-references-box li {
  font-size: 0.88rem;
  line-height: 1.8;
  margin-bottom: 8px;
  word-break: break-all;
}

.article-references-box a {
  color: rgba(245, 245, 247, 0.72);
  text-decoration: none;
  transition: color 0.2s;
}

.article-references-box a:hover {
  color: #cba358;
  text-decoration: underline;
}
