/* Shared · Fresh insights — template-parts/gf-fresh-insight.php */

.gf-fresh-insight {
  position: relative;
  background: #050507 !important;
  color: #ffffff;
  padding: clamp(3.5rem, 6vw, 5.5rem) 0 !important;
  margin: 0 !important;
  overflow: hidden;
}

.gf-fresh-insight::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, #ffcc00 0%, rgba(255, 204, 0, 0.18) 40%, transparent 72%);
}

.gf-fresh-insight__intro {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1.5rem;
  margin-bottom: clamp(1.75rem, 3vw, 2.5rem);
}

.gf-fresh-insight__copy {
  min-width: 0;
  max-width: 40rem;
}

.gf-fresh-insight__kicker {
  margin: 0 0 0.55rem;
  font-family: var(--font-body), sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #ffcc00;
}

.gf-fresh-insight__title {
  margin: 0 0 0.65rem !important;
  max-width: 18ch;
  color: #ffffff !important;
  font-family: var(--font-display), sans-serif !important;
  font-size: clamp(1.85rem, 1.3rem + 1.6vw, 2.75rem) !important;
  font-weight: 600 !important;
  letter-spacing: -0.04em;
  line-height: 1.1 !important;
}

.gf-fresh-insight__lede {
  margin: 0;
  max-width: 38rem;
  color: rgba(255, 255, 255, 0.58);
  font-size: 1rem;
  line-height: 1.6;
}

.gf-fresh-insight__nav {
  display: flex;
  gap: 0.65rem;
  flex: 0 0 auto;
}

.gf-fresh-insight__arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.65rem;
  height: 2.65rem;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 0;
  background: transparent;
  color: #ffcc00;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.gf-fresh-insight__arrow svg {
  width: 0.95rem;
  height: 0.95rem;
}

.gf-fresh-insight__arrow:hover {
  border-color: #ffcc00;
  background: rgba(255, 204, 0, 0.08);
}

.gf-fresh-insight__viewport {
  margin-right: calc(-1 * clamp(1rem, 3.5vw, 3rem));
}

.gf-fresh-insight__slider {
  margin: 0 -0.55rem;
}

.gf-fresh-insight__slider .slick-list {
  overflow: hidden;
}

.gf-fresh-insight__slider .slick-arrow {
  display: none !important;
}

.gf-fresh-insight__card {
  padding: 0 0.55rem;
}

.gf-fresh-insight__link {
  display: block;
  text-decoration: none !important;
  color: inherit;
}

.gf-fresh-insight__media {
  margin: 0 0 0.95rem;
  aspect-ratio: 16 / 11;
  overflow: hidden;
  background: #15161c;
  border: 1px solid #3f3f3f;
}

.gf-fresh-insight__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.gf-fresh-insight__link:hover .gf-fresh-insight__media img {
  transform: scale(1.04);
}

.gf-fresh-insight__cat {
  margin: 0 0 0.4rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #c9a227;
}

.gf-fresh-insight__card-title {
  margin: 0 !important;
  font-family: var(--font-display), sans-serif !important;
  font-size: 0.98rem !important;
  font-weight: 650 !important;
  line-height: 1.4 !important;
  letter-spacing: -0.02em;
  color: #ffffff !important;
}

.gf-fresh-insight__footer {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-top: 1.75rem;
}

.gf-fresh-insight__progress {
  flex: 1;
  min-width: 0;
  height: 1px;
  background: rgba(255, 255, 255, 0.16);
}

.gf-fresh-insight__progress-fill {
  display: block;
  width: 0;
  height: 2px;
  margin-top: -0.5px;
  background: #ffcc00;
  transition: width 0.42s ease;
}

.gf-fresh-insight__more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.65rem;
  margin-top: 0;
  flex: 0 0 auto;
  padding: 0.65rem 1.35rem;
  background: #ffcc00;
  color: #08080a !important;
  font-family: var(--font-body), sans-serif;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none !important;
  border-radius: 0;
  transition: background 0.2s ease;
}

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

@media (max-width: 991px) {
  .gf-fresh-insight__intro {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .gf-fresh-insight__nav {
    margin-left: auto;
  }

  .gf-fresh-insight__viewport {
    margin-right: 0;
  }
}

@media (max-width: 640px) {
  .gf-fresh-insight__intro {
    flex-direction: column;
  }

  .gf-fresh-insight__nav {
    margin-left: 0;
  }

  .gf-fresh-insight__footer {
    flex-wrap: wrap;
  }

  .gf-fresh-insight__progress {
    flex: 1 1 100%;
  }
}
