/* Featured News Highlight — Home page section */
.fnh-section {
  position: relative;
  padding: 5rem 0;
  background: linear-gradient(135deg, #051525 0%, #0a2540 42%, #0c2f4a 100%);
  overflow: hidden;
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
}

.fnh-section--visible {
  opacity: 1;
  transform: translateY(0);
}

@media (min-width: 768px) {
  .fnh-section {
    padding: 6rem 0;
  }
}

.fnh-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 85% 55% at 15% 35%, rgba(37, 99, 235, 0.2) 0%, transparent 55%),
    radial-gradient(ellipse 65% 45% at 88% 65%, rgba(14, 165, 233, 0.14) 0%, transparent 50%),
    radial-gradient(circle at 50% 100%, rgba(6, 182, 212, 0.08) 0%, transparent 40%);
  pointer-events: none;
}

.fnh-section::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(
    rgba(255, 255, 255, 0.03) 1px,
    transparent 1px
  );
  background-size: 100% 3rem;
  opacity: 0.35;
  pointer-events: none;
  mask-image: linear-gradient(to bottom, transparent, black 20%, black 80%, transparent);
}

.fnh-card {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
  padding: 1.25rem;
  border-radius: 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition:
    transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.45s ease,
    border-color 0.45s ease;
}

@media (min-width: 768px) {
  .fnh-card {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    padding: 2.5rem;
  }
}

.fnh-card:hover {
  transform: translateY(-5px);
  border-color: rgba(96, 165, 250, 0.38);
  box-shadow:
    0 22px 55px rgba(0, 0, 0, 0.45),
    0 0 48px rgba(37, 99, 235, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

.fnh-media {
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.fnh-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    145deg,
    rgba(10, 37, 64, 0.15) 0%,
    rgba(37, 99, 235, 0.12) 100%
  );
  opacity: 0;
  transition: opacity 0.45s ease;
  pointer-events: none;
}

.fnh-card:hover .fnh-media::after {
  opacity: 1;
}

.fnh-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.fnh-card:hover .fnh-image {
  transform: scale(1.04);
}

.fnh-content {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.fnh-badge {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  padding: 0.4rem 0.9rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #7dd3fc;
  background: rgba(14, 165, 233, 0.15);
  border: 1px solid rgba(125, 211, 252, 0.35);
  border-radius: 9999px;
  box-shadow: 0 0 20px rgba(14, 165, 233, 0.15);
}

.fnh-title {
  font-size: clamp(1.35rem, 2.5vw, 1.875rem);
  font-weight: 700;
  line-height: 1.3;
  color: #ffffff;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}

.fnh-desc {
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(226, 232, 240, 0.88);
  max-width: 36rem;
}

@media (min-width: 768px) {
  .fnh-desc {
    font-size: 1.0625rem;
  }
}

.fnh-cta {
  align-self: flex-start;
  margin-top: 0.25rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.fnh-cta:hover {
  transform: translateX(4px);
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.35);
}
