/* ============================================================
   SectionHeading component
   Reusable section heading: title - accent divider - subtitle
   Uses the site design tokens defined in style.css :root
   ============================================================ */

.sk-section-heading {
  max-width: 780px;
  margin: 0 0 36px;
  text-align: center;
}

.sk-section-heading--center {
  margin-left: auto;
  margin-right: auto;
}

.sk-section-heading--left {
  text-align: left;
}

.sk-section-heading--right {
  text-align: right;
}

/* No subtitle - keep the block optically balanced */
.sk-section-heading--bare {
  margin-bottom: 30px;
}

/* Title */
.sk-section-heading-title {
  margin: 0;
  font-family: var(--tertiary-font);
  font-size: clamp(1.5rem, 1.1rem + 1.7vw, 2.125rem);
  font-weight: 700;
  line-height: 1.32;
  letter-spacing: -0.01em;
  color: #1a1a1a;
}

/* Accent divider: short line - dot - short line (never full width) */
.sk-section-heading-divider {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
}

.sk-section-heading-divider-line {
  display: block;
  width: 30px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    var(--primary-color),
    rgba(236, 26, 35, 0.35)
  );
}

.sk-section-heading--right .sk-section-heading-divider-line {
  background: linear-gradient(
    90deg,
    rgba(236, 26, 35, 0.35),
    var(--primary-color)
  );
}

.sk-section-heading-divider-dot {
  display: block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--primary-color);
}

/* Subtitle */
.sk-section-heading-subtitle {
  margin: 12px 0 0;
  font-family: "Inter", "Noto Sans Bengali", sans-serif;
  font-size: clamp(0.9rem, 0.85rem + 0.3vw, 1rem);
  font-weight: 400;
  line-height: 1.65;
  color: #666;
}

/* ------------------------------------------------------------
   Responsive
   ------------------------------------------------------------ */
@media (max-width: 767.98px) {
  .sk-section-heading {
    margin-bottom: 28px;
  }

  .sk-section-heading--bare {
    margin-bottom: 24px;
  }

  .sk-section-heading-title {
    font-size: clamp(1.3rem, 1.1rem + 1.4vw, 1.75rem);
  }

  .sk-section-heading-divider {
    margin-top: 12px;
  }

  .sk-section-heading-divider-line {
    width: 24px;
  }

  .sk-section-heading-subtitle {
    margin-top: 10px;
    font-size: 0.92rem;
  }
}

@media (max-width: 480px) {
  .sk-section-heading-title {
    font-size: 1.35rem;
  }

  .sk-section-heading-divider-line {
    width: 20px;
  }
}
