/* File: 04-section-title.css */

/* =========================
   Unified Page/Section Header
========================= */
.page-header {
  text-align: center;
  margin-bottom: 3.5rem;
  width: 100%;
}

.section-title {
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  justify-content: center;
  gap: 12px;

  font-size: clamp(1.6rem, 3.8vw, 2.2rem);
  font-weight: 900;
  margin-bottom: 8px;
  /* Room for subtitle */
  text-align: center;
  color: var(--accent-orange);
  position: relative;
  line-height: 1.2;
}

.section-title span {
  position: relative;
}

/* Icon box styling optimized for the "News page" look */
.section-title .title-icon {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(245, 158, 11, 0.12);
  /* Light orange blur/bg */
  color: var(--accent-orange);
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}

.section-title .title-icon svg,
.section-title .title-icon img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

/* Subtitle styling as seen in screenshot */
.section-subtitle {
  margin: 0 auto;
  text-align: center;
  font-family: var(--font-secondary);
  font-weight: 500;
  font-size: 15px;
  color: rgba(0, 0, 0, 0.45);
  max-width: 800px;
  line-height: 1.6;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .section-title {
    gap: 10px;
  }

  .section-title .title-icon {
    width: 38px;
    height: 38px;
  }

  .section-title .title-icon svg {
    width: 20px;
    height: 20px;
  }
}