/* Reusable internal-page hero, based on the ApuraData news index. */

.apuradata-page-hero {
  background: linear-gradient(135deg, #ff802b 0, #ff6700 48%, #f45100 100%);
  color: #fff;
  isolation: isolate;
  overflow: hidden;
  padding: 104px 0 80px;
  position: relative;
  width: 100%;
}

.apuradata-page-hero::before {
  animation: apuradata-warm-glow 7s ease-in-out infinite alternate;
  background: radial-gradient(circle at 50% 42%, rgb(255 238 72 / 95%) 0, rgb(255 187 35 / 78%) 20%, rgb(255 92 22 / 58%) 45%, rgb(207 20 0 / 28%) 68%, transparent 78%);
  border-radius: 50%;
  bottom: -280px;
  content: "";
  filter: blur(55px);
  height: 620px;
  left: 50%;
  opacity: 0.85;
  pointer-events: none;
  position: absolute;
  transform: translateX(-50%);
  width: min(50%, 90vw);
  z-index: 0;
}

.apuradata-page-hero::after {
  animation: apuradata-warm-glow-secondary 5s ease-in-out infinite alternate;
  background: radial-gradient(circle, rgb(255 224 85 / 70%) 0, rgb(255 111 20 / 34%) 44%, rgb(174 22 0 / 18%) 67%, transparent 78%);
  border-radius: 50%;
  bottom: -180px;
  content: "";
  filter: blur(40px);
  height: 400px;
  left: 50%;
  pointer-events: none;
  position: absolute;
  transform: translateX(-50%);
  width: min(620px, 70vw);
  z-index: 0;
}

.apuradata-page-hero .main-container {
  position: relative;
  z-index: 2;
}

.apuradata-page-hero__canvas {
  height: 100%;
  inset: 0;
  pointer-events: none;
  position: absolute;
  width: 100%;
  z-index: 1;
}

.apuradata-page-hero__content {
  margin: 0 auto;
  max-width: 780px;
  text-align: center;
}

.apuradata-page-hero__eyebrow {
  background: #fff;
  border: 0;
  border-radius: 60px;
  color: #101010;
  display: inline-flex;
  font-size: 13px;
  font-weight: 500;
  padding: 7px 14px;
  letter-spacing: normal;
  text-transform: uppercase;
}

.apuradata-page-hero h1 {
  color: #fff;
  font-size: 42px;
  font-weight: 500 !important;
  margin: 0;
}

.apuradata-page-hero__eyebrow + h1 {
  margin-top: 20px;
}

.apuradata-page-hero__content > p {
  color: rgb(255 255 255 / 86%);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.5 !important;
  margin: 16px auto 0;
  max-width: 700px;
}

.apuradata-breadcrumb {
  margin: 0 auto 42px;
  max-width: 960px;
}

.apuradata-breadcrumb ol {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

.apuradata-breadcrumb li {
  align-items: center;
  color: rgb(255 255 255 / 76%);
  display: inline-flex;
  font-size: 13px;
  font-weight: 500;
  gap: 8px;
}

.apuradata-breadcrumb li:not(:last-child)::after {
  color: rgb(255 255 255 / 44%);
  content: "/";
}

.apuradata-breadcrumb a,
.apuradata-breadcrumb span {
  color: inherit;
  text-decoration: none;
}

.apuradata-breadcrumb a:hover {
  color: #fff;
}

.apuradata-breadcrumb [aria-current="page"] {
  color: #fff;
}

.apuradata-page-hero__meta {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: center;
  margin-top: 26px;
}

.apuradata-page-hero__meta > span {
  align-items: baseline;
  color: rgb(255 255 255 / 78%);
  display: inline-flex;
  font-size: 13px;
  gap: 5px;
}

.apuradata-page-hero__meta > span + span {
  border-left: 1px solid rgb(255 255 255 / 30%);
  padding-left: 18px;
}

.apuradata-page-hero__meta strong {
  color: #fff;
  font-size: 16px;
  font-weight: 600;
}

.apuradata-page-hero__actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: 28px;
}

@keyframes apuradata-warm-glow {
  0% { opacity: 0.68; filter: blur(52px); transform: translateX(-50%) scale(0.92); }
  50% { opacity: 0.95; filter: blur(65px); transform: translateX(-47%) scale(1.08); }
  100% { opacity: 0.76; filter: blur(58px); transform: translateX(-53%) scale(1); }
}

@keyframes apuradata-warm-glow-secondary {
  0% { opacity: 0.5; transform: translateX(-50%) scale(0.86); }
  100% { opacity: 0.9; transform: translateX(-50%) scale(1.15); }
}

@media (max-width: 767px) {
  .apuradata-page-hero {
    padding: 90px 0 60px;
  }

  .apuradata-page-hero h1 {
    font-size: 32px;
  }

  .apuradata-breadcrumb {
    margin-bottom: 32px;
  }

  .apuradata-breadcrumb ol {
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow: hidden;
  }

  .apuradata-breadcrumb li {
    flex: 0 0 auto;
  }

  .apuradata-breadcrumb li:last-child {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
}

@media (prefers-reduced-motion: reduce) {
  .apuradata-page-hero::before,
  .apuradata-page-hero::after {
    animation: none;
  }
}
