/* =============================================================
   NEWS & ANNOUNCEMENTS — index + article pages
   ============================================================= */

.news-main {
  max-width: 880px;
  margin: 0 auto;
  padding: 140px 24px 80px;
}

/* — Index hero — */
.news-hero {
  margin-bottom: 40px;
}

.news-h1 {
  font-size: clamp(36px, 4.6vw, 58px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.035em;
  color: var(--black);
  margin-bottom: 18px;
}

.news-h1 em {
  font-style: normal;
  color: var(--teal);
}

.news-sub {
  font-size: 17px;
  line-height: 1.65;
  color: var(--mid);
  max-width: 640px;
  margin-bottom: 32px;
}

/* — Controls — */
.news-search {
  width: 100%;
  font-family: var(--font);
  font-size: 15px;
  color: var(--ink);
  background: var(--off-white);
  border: 1.5px solid var(--light);
  border-radius: 12px;
  padding: 14px 18px;
  margin-bottom: 14px;
  transition: border-color 0.18s, background 0.18s;
}

.news-search:focus {
  outline: none;
  border-color: var(--teal);
  background: var(--white);
}

.news-search::placeholder {
  color: #a8a49d;
}

.news-filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.news-chip {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--mid);
  background: var(--white);
  border: 1px solid var(--light);
  border-radius: 100px;
  padding: 7px 15px;
  cursor: pointer;
  transition: color 0.15s, border-color 0.15s, background 0.15s;
}

.news-chip:hover {
  border-color: var(--teal);
  color: var(--teal);
}

.news-chip:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 2px;
}

.news-chip.active {
  background: var(--teal);
  border-color: var(--teal);
  color: var(--white);
}

/* — Cards — */
.news-list {
  display: flex;
  flex-direction: column;
}

.news-card {
  padding: 26px 0;
  border-bottom: 1px solid var(--light);
}

.news-card:first-child {
  border-top: 1px solid var(--light);
}

.news-card-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.news-card-meta time {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--mid);
}

.news-badge {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 100px;
  padding: 4px 11px;
}

.cat-integrations { background: var(--teal-light);  color: var(--teal-mid); }
.cat-lakehouse    { background: #e4eefb;            color: #1d4e89; }
.cat-one          { background: #efe9fb;            color: #5b3a9b; }
.cat-semantic     { background: #fdf3d8;            color: #8a6400; }
.cat-automations  { background: #e7f4e4;            color: #2f6b27; }
.cat-platform     { background: #ebedf2;            color: #525f7a; }

.news-card-h2 {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.015em;
  line-height: 1.25;
  margin-bottom: 8px;
}

.news-card-h2 a {
  color: var(--black);
  text-decoration: none;
  transition: color 0.15s;
}

.news-card-h2 a:hover {
  color: var(--teal);
}

.news-card-summary {
  font-size: 15px;
  line-height: 1.6;
  color: var(--mid);
  max-width: 720px;
  margin-bottom: 10px;
}

.news-readmore {
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--teal);
  text-decoration: none;
}

.news-readmore::after {
  content: ' →';
  transition: margin-left 0.15s;
}

.news-readmore:hover::after {
  margin-left: 3px;
}

.news-none {
  font-size: 15px;
  color: var(--mid);
  padding: 40px 0;
  text-align: center;
}

/* — Article page — */
.news-article-main {
  max-width: 760px;
}

.news-breadcrumb {
  margin-bottom: 28px;
}

.news-article .news-card-meta {
  margin-bottom: 16px;
}

.news-article-h1 {
  font-size: clamp(30px, 4vw, 46px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--black);
  margin-bottom: 18px;
}

.news-article-lede {
  font-size: 18px;
  line-height: 1.6;
  color: var(--mid);
  border-left: 3px solid var(--teal);
  padding-left: 18px;
  margin-bottom: 36px;
}

.news-article-body {
  font-size: 16px;
  line-height: 1.75;
  color: #2c2f36;
}

.news-article-body h2 {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.015em;
  color: var(--black);
  margin: 36px 0 14px;
}

.news-article-body h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--black);
  margin: 28px 0 10px;
}

.news-article-body p {
  margin-bottom: 18px;
}

.news-article-body ul {
  margin: 0 0 18px 22px;
}

.news-article-body li {
  margin-bottom: 8px;
}

.news-article-body strong {
  color: var(--ink);
}

.news-article-body a {
  color: var(--teal);
}

.news-article-body code {
  font-family: var(--mono);
  font-size: 0.88em;
  background: var(--off-white);
  border: 1px solid var(--light);
  border-radius: 5px;
  padding: 1px 6px;
}

.news-article-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  border-top: 1px solid var(--light);
  margin-top: 48px;
  padding-top: 24px;
}

.news-article-nav a {
  font-size: 13px;
  font-weight: 600;
  color: var(--teal);
  text-decoration: none;
  max-width: 38%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.news-article-nav a:hover {
  color: var(--teal-mid);
}

.news-article-all {
  font-family: var(--mono);
  font-size: 11px !important;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* — Shared CTA strip — */
.news-cta {
  text-align: center;
  margin-top: 64px;
  padding: 44px 24px;
  background: var(--off-white);
  border: 1px solid var(--light);
  border-radius: 16px;
}

.news-cta-line {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-bottom: 20px;
}

.news-cta-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

@media (max-width: 640px) {
  .news-main {
    padding-top: 110px;
  }

  .news-article-nav a {
    max-width: 100%;
  }
}
