:root {
  --olive: #6f7f3f;
  --olive-dark: #4d5f2b;
  --olive-light: #eef3e4;
  --paper: #fafaf6;
  --ink: #263128;
  --muted: #627060;
  --yellow: #f3c94a;
  --blue: #2f80ed;
  --line: #dbe4cf;
  --white: #ffffff;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}
a { color: inherit; }
button, input, select { font: inherit; }

.press-topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 70px;
  padding: 12px clamp(16px, 5vw, 64px);
  background: rgba(250, 250, 246, .96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}
.press-brand, .press-topbar nav {
  display: flex;
  align-items: center;
  gap: 14px;
}
.press-brand {
  color: var(--ink);
  font-size: 19px;
  font-weight: 900;
  text-decoration: none;
}
.press-brand img {
  width: 42px;
  height: 42px;
}
.press-topbar nav {
  flex-wrap: wrap;
  justify-content: flex-end;
}
.press-topbar nav a {
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}

main {
  display: grid;
  gap: 0;
}
.press-hero, .featured-section, .news-section, .sources-section {
  padding: clamp(34px, 6vw, 72px) clamp(16px, 6vw, 80px);
}
.press-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 360px);
  gap: 28px;
  align-items: end;
  background: linear-gradient(180deg, var(--paper), #f4f7ec);
}
.eyebrow {
  margin: 0 0 10px;
  color: var(--olive);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}
h1, h2, h3 { letter-spacing: 0; }
h1 {
  max-width: 840px;
  margin: 0;
  font-size: clamp(38px, 6vw, 72px);
  line-height: 1.02;
}
h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.08;
}
h3 {
  margin: 12px 0 10px;
  font-size: 21px;
  line-height: 1.2;
}
.lead {
  max-width: 850px;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 19px;
}
.press-status {
  display: grid;
  gap: 12px;
  justify-items: start;
  padding: 18px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}
.press-status span {
  color: var(--muted);
  font-weight: 800;
}
button {
  min-height: 44px;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 10px 15px;
  background: var(--olive);
  color: var(--white);
  font-weight: 900;
  cursor: pointer;
}

.featured-section {
  background: var(--olive-light);
}
.section-head {
  max-width: 900px;
  margin-bottom: 24px;
}
.news-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  max-width: none;
}
.filter-label {
  display: grid;
  gap: 7px;
  min-width: 220px;
  font-size: 14px;
  font-weight: 850;
}
select {
  width: 100%;
  min-height: 44px;
  border: 1px solid #cbd8bf;
  border-radius: 8px;
  padding: 10px 12px;
  background: var(--white);
  color: var(--ink);
}

.featured-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.news-list {
  display: grid;
  gap: 12px;
}
.news-card {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  grid-template-areas:
    "thumb meta"
    "thumb title"
    "thumb review"
    "thumb foot";
  gap: 0 16px;
  align-items: start;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 12px 30px rgba(38, 49, 40, .06);
}
.featured-grid .news-card:first-child {
  border-color: rgba(111, 127, 63, .45);
  box-shadow: 0 18px 42px rgba(38, 49, 40, .12);
}
.card-meta {
  grid-area: meta;
}
.news-card h3 {
  grid-area: title;
}
.review {
  grid-area: review;
}
.card-foot {
  grid-area: foot;
}
.card-meta, .card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.card-meta {
  flex-wrap: wrap;
}
.category {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 5px 9px;
  border-radius: 999px;
  background: var(--yellow);
  color: var(--ink);
  font-size: 12px;
  font-weight: 950;
}
.date, .source {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}
.review {
  margin: 0;
  color: var(--muted);
}
.card-foot {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.card-foot a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 12px;
  border-radius: 8px;
  background: var(--olive);
  color: var(--white);
  font-size: 14px;
  font-weight: 900;
  text-decoration: none;
  white-space: nowrap;
}
.thumbnail-link {
  grid-area: thumb;
  display: block;
  width: 132px;
  height: 92px;
  overflow: hidden;
  background: var(--olive-light);
  border: 1px solid var(--line);
  border-radius: 8px;
}
.thumbnail {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sources-section {
  display: grid;
  grid-template-columns: minmax(0, 560px) minmax(280px, 1fr);
  gap: 24px;
  background: #f5f7ef;
  border-top: 1px solid var(--line);
}
.sources-section p {
  color: var(--muted);
  font-size: 18px;
}
.sources-section ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.sources-section li {
  padding: 12px 14px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}
.sources-section a {
  color: var(--olive-dark);
  font-weight: 900;
  text-decoration: none;
}

footer {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 14px;
  padding: 24px clamp(16px, 6vw, 80px);
  color: var(--muted);
  border-top: 1px solid var(--line);
}
.footer-link {
  min-height: auto;
  border: 0;
  background: transparent;
  color: var(--olive);
  font: inherit;
  font-weight: 900;
  padding: 0;
  text-decoration: underline;
}
.empty {
  margin: 0;
  color: var(--muted);
  font-weight: 800;
}
.assistant-toggle {
  position: fixed;
  right: clamp(12px, 3vw, 28px);
  bottom: clamp(12px, 3vw, 28px);
  z-index: 60;
  min-height: 54px;
  border-radius: 999px;
  box-shadow: 0 18px 40px rgba(38, 49, 40, .22);
}
.assistant-panel {
  position: fixed;
  right: clamp(12px, 3vw, 28px);
  bottom: clamp(80px, 8vw, 96px);
  z-index: 61;
  width: min(440px, calc(100vw - 24px));
  max-height: min(78svh, 720px);
  display: grid;
  grid-template-rows: auto 1fr auto;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(38, 49, 40, .24);
}
.assistant-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 12px;
  padding: 18px;
  border-bottom: 1px solid var(--line);
  background: var(--olive-light);
}
.assistant-head h2 {
  font-size: 24px;
}
.assistant-close {
  width: 44px;
  padding: 0;
  background: var(--white);
  color: var(--olive);
  border-color: var(--line);
  font-size: 24px;
}
.assistant-messages {
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 16px;
  overflow: auto;
  background: #fcfcf8;
}
.assistant-message {
  max-width: 92%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}
.assistant-message.user {
  justify-self: end;
  background: #fff7d6;
}
.assistant-message p {
  margin: 0;
}
.assistant-results {
  display: grid;
  gap: 10px;
}
.assistant-results a {
  color: var(--olive-dark);
  font-weight: 900;
  text-decoration: none;
}
.assistant-input-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  padding: 14px 16px 16px;
  border-top: 1px solid var(--line);
}
.assistant-input-row input {
  min-width: 0;
  border: 1px solid #cbd8bf;
  border-radius: 8px;
  padding: 11px 12px;
  background: var(--white);
  color: var(--ink);
}
.cookie-banner {
  position: fixed;
  left: clamp(12px, 3vw, 32px);
  right: clamp(12px, 3vw, 32px);
  bottom: clamp(12px, 3vw, 28px);
  z-index: 70;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: end;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 18px 42px rgba(38, 49, 40, .2);
  border-radius: 8px;
  padding: 18px;
}
.cookie-copy h2 {
  margin: 0 0 8px;
  font-size: 24px;
}
.cookie-copy p {
  margin: 0;
}
.cookie-settings {
  grid-column: 1 / -1;
  display: grid;
  gap: 8px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}
.check {
  display: flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
}
.check input {
  width: auto;
}
.cookie-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}
.ghost {
  background: var(--white);
  color: var(--olive);
  border-color: var(--line);
}
body.cookie-banner-open .assistant-toggle {
  bottom: clamp(132px, 18vw, 176px);
}
body.cookie-banner-open .assistant-panel {
  bottom: clamp(200px, 30vw, 288px);
}
.hidden { display: none !important; }

@media (max-width: 920px) {
  .press-hero, .sources-section {
    grid-template-columns: 1fr;
  }
  .featured-grid {
    grid-template-columns: 1fr;
  }
  .cookie-banner {
    grid-template-columns: 1fr;
  }
  .cookie-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .press-topbar {
    align-items: flex-start;
    flex-direction: column;
  }
  .press-topbar nav {
    justify-content: flex-start;
  }
  h1 {
    font-size: 38px;
  }
  .lead {
    font-size: 17px;
  }
  .news-head, footer {
    align-items: flex-start;
    flex-direction: column;
  }
  .card-foot {
    align-items: flex-start;
    flex-direction: column;
  }
  .news-card {
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 0 12px;
    padding: 16px;
  }
  .thumbnail-link {
    width: 96px;
    height: 72px;
  }
  .news-card h3 {
    font-size: 18px;
  }
  .assistant-input-row {
    grid-template-columns: 1fr;
  }
  .assistant-message {
    max-width: 100%;
  }
}
