/* Blog · Hero — template-parts/gf-blog-hero.php */

.gf-blog-hero {
  position: relative;
  padding: 5.85rem 0 0;
  background: #07070b;
  color: #fff;
  overflow: hidden;
}

.gf-blog-hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 12% 0%, rgba(255, 204, 0, 0.14), transparent 38%),
    linear-gradient(165deg, #07070b 0%, #101118 100%);
  background-size: cover;
  background-position: center;
}

.gf-blog-hero__grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.028) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at 82% 8%, #000 0%, transparent 68%);
  pointer-events: none;
}

.gf-blog-hero__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 7, 11, 0.88) 0%, rgba(7, 7, 11, 0.55) 55%, rgba(7, 7, 11, 0.86) 100%),
    linear-gradient(180deg, rgba(7, 7, 11, 0.15) 0%, rgba(7, 7, 11, 0.92) 100%);
  pointer-events: none;
}

.gf-blog-hero__inner {
  position: relative;
  z-index: 2;
  padding-bottom: clamp(2.5rem, 5vw, 4rem);
}

.gf-blog-crumbs {
  display: flex !important;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start !important;
  width: auto !important;
  gap: 0.45rem !important;
  margin: 0 0 1.5rem !important;
  padding: 0 0 0.85rem !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.74rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.5);
}

.gf-blog-crumbs a {
  color: rgba(255, 255, 255, 0.72) !important;
  text-decoration: none !important;
}

.gf-blog-crumbs a:hover {
  color: #ffcc00 !important;
}

.gf-blog-crumbs__sep {
  width: 0.22rem;
  height: 0.22rem;
  border-radius: 50%;
  background: rgba(255, 204, 0, 0.5);
  flex: 0 0 auto;
}

.gf-blog-crumbs__current {
  color: rgba(255, 255, 255, 0.92);
}

.gf-blog-hero__intro {
  position: relative;
  max-width: 42rem;
  margin: 0 0 clamp(2rem, 4vw, 3rem);
  padding-left: 1.2rem;
}

.gf-blog-hero__intro::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.15rem;
  bottom: 0.15rem;
  width: 2px;
  background: linear-gradient(180deg, #ffcc00 0%, rgba(255, 204, 0, 0.12) 100%);
}

.gf-blog-hero__kicker {
  margin: 0 0 0.65rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #ffcc00;
}

.gf-blog-hero__title,
.gf-blog-hero h1 {
  margin: 0 0 0.85rem !important;
  max-width: 16ch;
  font-family: var(--font-display), sans-serif !important;
  font-size: clamp(2.05rem, 1.25rem + 2.2vw, 3.35rem) !important;
  font-weight: 650 !important;
  letter-spacing: -0.045em;
  line-height: 1.05;
  color: #fff !important;
}

.gf-blog-hero__lede {
  margin: 0;
  max-width: 38rem;
  color: rgba(255, 255, 255, 0.62);
  font-size: 1.02rem;
  line-height: 1.65;
}

.gf-blog-featured {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(16rem, 0.9fr);
  gap: 0;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(12, 12, 16, 0.72);
}

.gf-blog-featured__media {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 20rem;
  max-height: 24rem;
  padding: 2rem;
  overflow: hidden;
  background: #15161c;
}

.gf-blog-featured__media img {
  width: auto;
  height: auto;
  max-width: 13.5rem;
  max-height: 13.5rem;
  object-fit: contain;
  display: block;
  transition: transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
}

.gf-blog-featured:hover .gf-blog-featured__media img {
  transform: scale(1.04);
}

.gf-blog-featured__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(1.4rem, 3vw, 2.4rem);
}

.gf-blog-featured__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
  margin: 0 0 0.75rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #c9a227;
}

.gf-blog-featured__dot {
  width: 0.2rem;
  height: 0.2rem;
  border-radius: 50%;
  background: rgba(255, 204, 0, 0.55);
}

.gf-blog-featured__title {
  margin: 0 0 0.85rem;
  font-family: var(--font-display), sans-serif;
  font-size: clamp(1.35rem, 1rem + 1.2vw, 2rem);
  font-weight: 650;
  letter-spacing: -0.035em;
  line-height: 1.2;
}

.gf-blog-featured__title a {
  color: #fff !important;
  text-decoration: none !important;
}

.gf-blog-featured__title a:hover {
  color: #ffcc00 !important;
}

.gf-blog-featured__excerpt {
  margin: 0 0 1.35rem;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.95rem;
  line-height: 1.6;
}

.gf-blog-featured__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  min-height: 2.55rem;
  padding: 0.6rem 1.2rem;
  background: #ffcc00;
  color: #08080a !important;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none !important;
  transition: background 0.2s ease;
}

.gf-blog-featured__btn:hover {
  background: #e6b800;
  color: #08080a !important;
}

@media (max-width: 860px) {
  .gf-blog-featured {
    grid-template-columns: 1fr;
  }

  .gf-blog-featured__media {
    min-height: 14rem;
    aspect-ratio: 16 / 10;
  }
}

@media (max-width: 640px) {
  .gf-blog-hero {
    padding-top: 5.1rem;
  }

  .gf-blog-hero__title,
  .gf-blog-hero h1 {
    max-width: none;
  }
}
