/* Empire Elements: Header Title Area — loaded only when this widget is used. */
/*
 * The full-bleed banner escapes Elementor's boxed content container.
 * clientWidth excludes the scrollbar; 100vw is the no-JavaScript fallback.
 */
.empire-header-title {
  box-sizing: border-box;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  width: var(--empire-viewport-width, 100vw);
  max-width: none;
  display: flex;
  flex-direction: column;
  min-height: 340px;
  padding: 0;
  margin: 0;
  background-color: var(--empire-secondary-text, #7A7A7A);
  color: #ffffff;
  text-align: left;
}
/* Optional, non-interactive vector illustration behind the content. */
.empire-header-title--with-graphic::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: url("../images/header-title-graphic.svg");
  background-position: center right;
  background-size: cover;
  background-repeat: no-repeat;
  opacity: var(--empire-graphic-opacity, .20);
  z-index: 0;
}
.empire-header-title__inner {
  position: relative;
  z-index: 1;

  box-sizing: border-box;
  width: 100%;
  max-width: 1200px;
  min-width: 0;
  margin-inline: auto;
  padding: 42px 47px 27px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.empire-header-title *,
.empire-header-title *::before,
.empire-header-title *::after {
  box-sizing: border-box;
}
.empire-header-title__content { min-width: 0; }
.empire-header-title__eyebrow {
  margin: 0 0 22px;
  color: #ffe4e4;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.empire-header-title__title {
  max-width: 100%;
  margin: 0;
  padding: 0;
  color: #ffffff;
  font-size: 48px;
  font-weight: 700;
  line-height: 1.14;
  letter-spacing: -.024em;
  overflow-wrap: anywhere;
}
.empire-header-title__subtitle {
  margin: 18px 0 0;
  max-width: 740px;
  color: #ffffff;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.6;
  white-space: pre-line;
  overflow-wrap: anywhere;
}

/* Optional call-to-action buttons sit immediately below the subtitle, if shown. */
.empire-header-title__buttons {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  margin-top: 26px;
  margin-bottom: 36px; /* Minimum clearance before breadcrumb divider. */
}
.empire-header-title__button,
.empire-header-title__button:visited {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 23px;
  border: 2px solid transparent;
  border-radius: 4px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0;
  text-align: center;
  text-decoration: none;
  white-space: normal;
  overflow-wrap: anywhere;
  transition: color .2s ease, background-color .2s ease, border-color .2s ease;
}
.empire-header-title__button--primary,
.empire-header-title__button--primary:visited {
  background-color: #ffffff;
  color: var(--empire-primary, #C4302F);
}
.empire-header-title__button--primary:hover,
.empire-header-title__button--primary:focus-visible {
  background-color: var(--empire-accent, #183153);
  color: #ffffff;
  text-decoration: none;
}
.empire-header-title__button--secondary,
.empire-header-title__button--secondary:visited {
  background-color: transparent;
  color: #ffffff;
  border-color: #ffffff;
}
.empire-header-title__button--secondary:hover,
.empire-header-title__button--secondary:focus-visible {
  background-color: #ffffff;
  color: var(--empire-primary, #C4302F);
  border-color: #ffffff;
  text-decoration: none;
}
.empire-header-title__button:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 3px;
}
.empire-header-title__button--no-link { cursor: default; }

.empire-header-title__breadcrumbs {
  width: 100%;
  margin-top: auto;
  padding: 16px 0 0;
  border-top: 1px solid rgba(255,255,255,.28);
  color: #ffe8e8;
  font-size: 13px;
  line-height: 1.6;
}
.empire-header-title--no-divider .empire-header-title__breadcrumbs {
  border-top: 0;
}
.empire-header-title__breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 3px 9px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.empire-header-title__crumb,
.empire-header-title__crumb-separator { margin: 0; padding: 0; list-style: none; }
.empire-header-title__crumb-link {
  color: #ffe8e8;
  text-decoration: none;
  transition: color .18s ease;
}
.empire-header-title__crumb-link:hover,
.empire-header-title__crumb-link:focus-visible {
  color: #ffffff;
  text-decoration: underline;
}
.empire-header-title__crumb-link:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.empire-header-title__crumb-separator { color: rgba(255,255,255,.65); }
.empire-header-title__crumb-current {
  color: #ffffff;
  font-weight: 700;
  overflow-wrap: anywhere;
}
@media (max-width: 767px) {
  .empire-header-title { min-height: 330px; }
  .empire-header-title__inner { padding: 30px 26px 23px; }
  .empire-header-title__eyebrow { font-size: 10px; margin-bottom: 19px; }
  .empire-header-title__title { font-size: 33px; line-height: 1.22; }
  .empire-header-title__subtitle { font-size: 15px; line-height: 1.6; margin-top: 14px; }
  .empire-header-title__buttons { margin-top: 20px; margin-bottom: 30px; }
  .empire-header-title--mobile-stack .empire-header-title__buttons { flex-direction: column; align-items: stretch; }
  .empire-header-title--mobile-stack .empire-header-title__button { width: 100%; }
  .empire-header-title__breadcrumbs { font-size: 12px; padding-top: 13px; }
  .empire-header-title__breadcrumb-list { gap: 3px 7px; }
}
@media (prefers-reduced-motion: reduce) {
  .empire-header-title__crumb-link, .empire-header-title__button { transition: none; }
}
