/* ==========================================================================
   PAGE TITLE — clean, modern, no banded chrome
   ========================================================================== */

/* Inline title — used when no featured image */
.page-title--inline {
  padding-block: var(--sp-12) var(--sp-6);
  background: transparent;
  border-bottom: 0;
}

.page-title--inline .page-title-inner {
  max-width: 70ch;
}

/* Hero with featured image background */
.page-title--hero {
  position: relative;
  padding-block: var(--sp-20) var(--sp-16);
  background-size: cover;
  background-position: center;
  color: #fff;
  margin-bottom: var(--sp-10);
}

.page-title--hero .page-title-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(12,26,46,.55) 0%, rgba(12,26,46,.75) 100%);
}

.page-title--hero .container {
  position: relative;
  z-index: 1;
}

.page-title--hero .entry-title,
.page-title--hero .page-title-lead {
  color: #fff;
}

.page-title--hero .page-title-eyebrow {
  color: var(--gold, #C9A84C);
}

/* Common eyebrow + lead */
.page-title-eyebrow {
  font-family: var(--font-sans);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold, #C9A84C);
  margin: 0 0 var(--sp-3);
}

.page-title .entry-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 var(--sp-4);
  letter-spacing: -0.01em;
}

.page-title-lead {
  font-family: var(--font-serif);
  font-size: clamp(1.05rem, 1.8vw, 1.35rem);
  line-height: 1.55;
  color: var(--ink-soft, #4a4a4a);
  max-width: 60ch;
  margin: 0;
  font-weight: 400;
  font-style: italic;
}

/* Tight content padding when title is inline (no banded chrome stacking up space) */
.page-title--inline + .container,
.page-title--inline + main .container:first-child {
  padding-top: var(--sp-6);
}

/* Trim the breadcrumb bar */
.breadcrumb-bar {
  padding-block: var(--sp-2) !important;
}

/* Hide the breadcrumb bar entirely on pages with hero image titles
   (the hero already establishes context) */
.has-hero-page-title .breadcrumb-bar {
  display: none;
}

@media (max-width: 768px) {
  .page-title--inline {
    padding-block: var(--sp-8) var(--sp-4);
  }
  .page-title--hero {
    padding-block: var(--sp-12) var(--sp-10);
  }
}
