/* ==========================================================================
   DABACO OIL — Sections & layout components
   Section titles and shared page banners.
   Uses .section-dabaco (defined in responsive.css) for vertical rhythm.
   ========================================================================== */

/* --- Section title ------------------------------------------------------- */
.section-title { margin-bottom: clamp(2rem, 3vw, 3.25rem); }

.section-title__eyebrow {
  margin: 0 0 0.75rem;
  font-size: var(--fs-small);
  letter-spacing: 0.12em;
  font-weight: var(--font-weight-semibold);
  color: var(--dabaco-orange);
  text-transform: uppercase;
}

.section-title__heading {
  margin: 0 0 1rem;
  font-size: var(--h2-size);
  font-weight: var(--font-weight-bold);
  line-height: 1.25;
  color: var(--text-dark);
  letter-spacing: -0.01em;
}

.section-title__description {
  color: var(--text-muted);
  font-size: var(--fs-body);
  line-height: 1.7;
  margin: 0;
  max-width: 62ch;
}

.section-title--align-center { text-align: center; }
.section-title--align-center .section-title__description { margin-inline: auto; }
.section-title--align-end { text-align: right; }

/* Dark theme (over dark backgrounds) */
.section-title--dark .section-title__heading { color: var(--bg-white); }
.section-title--dark .section-title__description { color: rgba(255, 255, 255, 0.8); }

/* ==========================================================================
   DYNAMIC PAGE BANNER & CAROUSEL (Shared across News, Contact, Nutrition, etc.)
   ========================================================================== */
.page-banner {
  width: 100%;
  padding: 0;
  position: relative;
  overflow: hidden;
  background: #f8fafc;
}

.page-banner__image {
  display: block;
  width: 100%;
  height: auto;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.page-banner__prev,
.page-banner__next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 44px;
  height: 44px;
  border: 1.5px solid var(--dabaco-orange, #f15a24);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.95);
  color: var(--dabaco-orange, #f15a24);
  font-size: var(--fs-h2);
  display: grid;
  place-items: center;
  transition: all 0.25s ease;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
  cursor: pointer;
}

.page-banner__prev { left: 24px; }
.page-banner__next { right: 24px; }

.page-banner__prev:hover,
.page-banner__next:hover {
  background: var(--dabaco-orange, #f15a24);
  color: #ffffff;
  transform: translateY(-50%) scale(1.08);
}

.page-banner__indicators {
  position: absolute;
  right: 0;
  bottom: 16px;
  left: 0;
  z-index: 5;
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 0;
  margin: 0;
}

.page-banner__indicators [data-bs-target] {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: 0;
  background: var(--dabaco-orange, #f15a24);
  opacity: 0.45;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.page-banner__indicators .active {
  width: 32px;
  opacity: 1;
}

.page-banner button:focus-visible {
  outline: 2px solid var(--dabaco-orange, #f15a24);
  outline-offset: 3px;
}
