/* NEWSROOM — newsroom.php. The section, grid and .blog-card rules are blogs.css; this file is only the featured story. */

/* No hero: the page's h1 is visually hidden (still read by screen readers and search), and the first section clears the fixed header pill with 118px of top padding (104 / 100px on tablet / phone, as Book a Demo does). */
.news-visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.blogs-section.news-first { padding-top: 118px; }
@media (max-width: 1100px) { .blogs-section.news-first { padding-top: 104px; } }
@media (max-width: 599px) { .blogs-section.news-first { padding-top: 100px; } }

.news-featured {
  position: relative;
  background: var(--surface-card);
  border: 1px solid #e8ecf2;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.news-featured:hover {
  border-color: rgba(var(--accent-rgb), 0.35);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.12);
}
.news-featured-link {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  color: inherit;
  text-decoration: none;
}
.news-featured-link:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: -2px;
  border-radius: var(--radius-lg);
}
.news-featured-img {
  aspect-ratio: 4 / 3;
  margin: 12px;
  overflow: hidden;
  border-radius: 14px;
}
.news-featured-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.news-featured:hover .news-featured-img img { transform: scale(1.03); }
.news-featured-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 14px;
  padding: 36px 40px 36px 24px;
}
.news-kicker {
  background: var(--cta-bg);
  color: var(--on-accent);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.4px;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
}
.news-featured-title {
  font-family: var(--h-font, 'Inter', sans-serif);
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.3px;
  color: var(--fg-primary);
  margin: 0;
}
.news-featured-excerpt {
  font-family: var(--p-font, 'Inter', sans-serif);
  font-size: 15px;
  line-height: 1.7;
  color: var(--fg-body);
  margin: 0;
}
/* The stories after the featured one start their own head row */
.news-more-head { margin-top: 64px; }

@media (max-width: 900px) {
  .news-featured-link { grid-template-columns: minmax(0, 1fr); }
  .news-featured-body { padding: 8px 22px 26px; }
  .news-more-head { margin-top: 48px; }
}
