﻿
.page-hero-inner .lead { max-width: 56ch; }
.cat-filter { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }
.cat-chip {
  font-family: var(--ff-display); font-size: 12px; font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase; color: rgba(255,255,255,0.72); cursor: pointer;
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.16);
  padding: 10px 18px; border-radius: 100px; transition: all 0.3s var(--ease);
}
.cat-chip:hover { color: #fff; border-color: rgba(198,217,54,0.5); }
.cat-chip.is-active { background: var(--lime); color: var(--navy); border-color: var(--lime); }

/* Featured */
.featured-sec { background: var(--pure); }
.featured-post {
  display: grid; grid-template-columns: 1.35fr 0.65fr; gap: 0; overflow: hidden;
  border-radius: var(--radius-lg); border: 1px solid var(--line-soft);
  background: linear-gradient(160deg, #1f2e5b, #14203c); color: #fff;
  box-shadow: 0 40px 80px -44px rgba(31,46,91,0.5);
}
.fp-body { padding: clamp(30px, 4vw, 56px); }
.fp-cat { font-family: var(--ff-display); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--lime); }
.fp-body h2 { color: #fff; margin: 16px 0 18px; max-width: 18ch; }
.fp-body .lead { color: rgba(255,255,255,0.78); max-width: 52ch; margin-bottom: 26px; }
.fp-meta { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; font-size: 14px; color: rgba(255,255,255,0.62); margin-bottom: 30px; }
.fp-meta .dot { opacity: 0.5; }
.fp-author { display: inline-flex; align-items: center; gap: 10px; color: #fff; font-weight: 500; }
.fp-avatar { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--lime); color: var(--navy); font-family: var(--ff-display); font-weight: 700; font-size: 13px; }
.fp-aside { position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; align-items: flex-start; padding: clamp(26px,3vw,40px); border-left: 1px solid rgba(255,255,255,0.1); background: rgba(0,0,0,0.12); min-height: 240px; }
.fp-aside-glow { position: absolute; width: 320px; height: 320px; right: -120px; top: -100px; border-radius: 50%; background: radial-gradient(circle, rgba(198,217,54,0.22), transparent 66%); filter: blur(26px); }
.fp-mark { position: relative; font-size: 64px; color: var(--lime); line-height: 1; }
.fp-aside-meta { position: relative; display: flex; flex-direction: column; gap: 4px; font-size: 12px; color: rgba(255,255,255,0.5); }

/* Section head */
.sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 40px; flex-wrap: wrap; }
.sec-head .eyebrow { margin-bottom: 16px; }
.posts-sec { background: var(--ink); }

/* Post cards */
.posts-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.post {
  display: flex; flex-direction: column; gap: 14px;
  padding: 30px 28px; border-radius: var(--radius); border: 1px solid var(--line-soft);
  background: #fff; transition: transform 0.4s var(--ease), border-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
  position: relative; overflow: hidden; min-height: 248px;
}
.post::before { content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 0; background: var(--lime); transition: width 0.45s var(--ease); }
.post:hover { transform: translateY(-6px); border-color: var(--line); box-shadow: 0 26px 50px -30px rgba(31,46,91,0.4); }
.post:hover::before { width: 100%; }
.post-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.post-cat { font-family: var(--ff-display); font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--lime-ink); background: rgba(198,217,54,0.16); padding: 6px 12px; border-radius: 100px; }
.post-read { font-size: 12px; color: var(--fog-dim); }
.post h3 { color: var(--navy); transition: color 0.3s; line-height: 1.34; }
.post:hover h3 { color: var(--lime-ink); }
.post p { flex: 1; }
.post-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 4px; }
.post-date { font-size: 13px; color: var(--fog-dim); }
.post-go { font-family: var(--ff-display); font-size: 12px; font-weight: 600; letter-spacing: 0.04em; color: var(--lime-ink); opacity: 0; transform: translateX(-6px); transition: all 0.4s var(--ease); }
.post:hover .post-go { opacity: 1; transform: none; }

.load-more { display: flex; justify-content: center; margin-top: 40px; }

/* Newsletter */
.news-sec { background: var(--pure); }
.news-card {
  display: grid; grid-template-columns: 1fr 0.9fr; gap: clamp(28px,4vw,56px); align-items: center;
  padding: clamp(32px,4vw,56px); border-radius: var(--radius-lg);
  background: var(--ink); border: 1px solid var(--line-soft);
}
.news-copy h2 { color: var(--navy); margin: 14px 0 12px; }
.news-form { display: flex; gap: 12px; flex-wrap: wrap; }
.news-form input {
  flex: 1; min-width: 220px; font-family: var(--ff-body); font-size: 15.5px; color: var(--navy);
  background: #fff; border: 1px solid var(--line-soft); border-radius: 100px; padding: 15px 22px;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.news-form input::placeholder { color: var(--fog-dim); }
.news-form input:focus { outline: none; border-color: var(--lime); box-shadow: 0 0 0 3px rgba(198,217,54,0.18); }
.news-status { flex-basis: 100%; font-size: 14px; color: var(--lime-ink); margin: 2px 0 0; }

@media (max-width: 900px) {
  .featured-post { grid-template-columns: 1fr; }
  .fp-aside { flex-direction: row; align-items: center; gap: 18px; min-height: 0; border-left: 0; border-top: 1px solid rgba(255,255,255,0.1); }
  .posts-grid { grid-template-columns: repeat(2, 1fr); }
  .news-card { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .posts-grid { grid-template-columns: 1fr; }
}


/* compact hero on the articles page */
.page-hero-inner { padding-block: clamp(34px, 4.5vw, 56px); }
.page-hero-inner h1.display { font-size: clamp(30px, 4.4vw, 56px); }
.page-hero-inner .lead { margin-bottom: 8px; }

/* ── vardot-style image cards ─────────────────────────────── */
.posts-sec { background: var(--ink) !important; position: relative; z-index: 1; }
.post { padding: 0; gap: 0; min-height: 0; border-radius: 12px; }
.post-img { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #10203c; }
.post-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.post:hover .post-img img { transform: scale(1.05); }
.post-img .post-cat { position: absolute; left: 12px; top: 12px; background: var(--lime); color: var(--navy); }
.post-body { display: flex; flex-direction: column; gap: 10px; padding: 18px 20px 22px; }
.post-body .post-date { font-size: 13px; color: var(--fog-dim); }
.post-body .h3 { font-family: var(--ff-body); font-weight: 600; font-size: clamp(16.5px, 1.8vw, 20px); line-height: 1.35; color: var(--navy); }
.post:hover .post-body .h3 { color: var(--lime-ink); }

/* small filter chips above the grid (light theme) */
.posts-sec .cat-filter { margin: -14px 0 30px; gap: 8px; }
.posts-sec .cat-chip { font-size: 10.5px; padding: 8px 14px; color: var(--fog); background: #fff; border: 1px solid rgba(31,46,91,0.16); }
.posts-sec .cat-chip:hover { color: var(--navy); border-color: rgba(31,46,91,0.35); }
.posts-sec .cat-chip.is-active { background: var(--lime); color: var(--navy); border-color: var(--lime); }

/* hero: AI-lineup gradient + vardot-style plain type */
.page-hero { background: linear-gradient(125deg, #234a76 0%, #35618d 48%, #7cc3cc 100%) !important; margin-top: -78px; padding-top: 78px; }
.page-hero .aurora, .page-hero .ph-grid { display: none; }
.page-hero-inner h1.display { font-family: var(--ff-body); font-weight: 600; font-size: clamp(26px, 3.4vw, 44px); letter-spacing: 0; line-height: 1.15; margin-bottom: 16px; }
.page-hero-inner h1 .ot { color: var(--lime); }
.page-hero-inner .lead { font-family: var(--ff-body); font-weight: 400; font-size: clamp(15px, 1.7vw, 19px); color: rgba(255,255,255,0.92); }
/* "Fresh off the keyboard" — smaller, body font, section pulled up */
.posts-sec.section { padding-top: clamp(30px, 4vw, 50px); }
.posts-sec .sec-head { margin-bottom: 26px; }
.posts-sec .sec-head .h2 { font-family: var(--ff-body); font-weight: 600; font-size: clamp(20px, 2.4vw, 30px); letter-spacing: 0; }
