.site-menu {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
  margin-right: 14px;
}

.site-menu a {
  color: var(--ink);
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  padding: 9px 11px;
  border-radius: 999px;
}

.site-menu a:hover {
  background: #edf8f2;
  color: var(--green);
}

.latest-articles {
  padding: 0 0 72px;
}

.latest-articles-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 18px;
  margin-bottom: 18px;
}

.latest-articles-head h2 {
  font-size: clamp(30px, 4vw, 46px);
  letter-spacing: -1.5px;
  margin: 8px 0 8px;
}

.latest-articles-head p:not(.section-kicker) {
  color: var(--muted);
  margin: 0;
}

.latest-articles-head > a,
.article-meta a,
.back-link,
.article-link-button {
  color: var(--green);
  font-weight: 800;
  text-decoration: none;
}

.home-article-grid,
.article-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.article-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.article-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
  text-align: left;
  box-shadow: 0 16px 48px rgba(16,37,31,.08);
}

.article-cover {
  display: block;
  background: linear-gradient(135deg,#10251f,#126b4d);
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.article-cover img,
.article-main-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article-placeholder {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  color: #dff44d;
  font-size: 28px;
  font-weight: 900;
}

.article-card-body {
  padding: 18px;
}

.article-category {
  display: inline-flex;
  width: max-content;
  border-radius: 999px;
  background: #edf8f2;
  color: var(--green);
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 900;
}

.article-card h2 {
  margin: 12px 0 8px;
  font-size: 21px;
  line-height: 1.32;
}

.article-card h2 a {
  color: var(--ink);
  text-decoration: none;
}

.article-card p,
.article-summary,
.article-body p,
.articles-hero p,
.article-meta {
  color: var(--muted);
  line-height: 1.7;
}

.article-meta {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
  margin-top: 15px;
  font-size: 12px;
}

.articles-page {
  padding: 52px 0 78px;
}

.articles-hero {
  background: linear-gradient(135deg,#fff,#eef8f3);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 34px;
  margin-bottom: 22px;
}

.articles-hero h1,
.article-content h1 {
  margin: 8px 0 10px;
  font-size: clamp(38px, 6vw, 64px);
  line-height: 1.08;
  letter-spacing: -2px;
}

.article-detail {
  padding: 40px 0 78px;
}

.article-content {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: min(5vw, 48px);
  margin-top: 18px;
  box-shadow: 0 18px 60px rgba(16,37,31,.08);
}

.article-summary {
  font-size: 18px;
  margin-bottom: 20px;
}

.article-main-image {
  height: auto;
  max-height: 560px;
  object-fit: contain;
  background: #f5f8f4;
  border-radius: 22px;
  margin: 24px 0;
}

.article-body {
  font-size: 18px;
  margin-top: 20px;
}

.article-body h2,
.article-body h3,
.article-body h4 {
  color: var(--ink);
  line-height: 1.25;
  letter-spacing: -.5px;
  margin: 34px 0 12px;
}

.article-body h2 {
  font-size: clamp(28px, 4vw, 38px);
  border-left: 6px solid var(--green);
  padding-left: 15px;
}

.article-body h3 {
  font-size: 26px;
}

.article-body h4 {
  font-size: 22px;
}

.article-body strong {
  color: #0d533c;
  font-weight: 900;
}

.article-body em {
  color: #35544a;
}

.article-thin {
  color: #6f817b;
  font-weight: 300;
}

.article-body blockquote {
  margin: 28px 0;
  padding: 18px 22px;
  border-left: 6px solid var(--lime);
  border-radius: 0 18px 18px 0;
  background: #f7fbef;
  color: #294139;
  font-size: 20px;
  line-height: 1.75;
  font-weight: 700;
}

.article-body ul {
  margin: 18px 0 24px;
  padding-left: 24px;
  color: var(--muted);
  line-height: 1.8;
}

.article-body li + li {
  margin-top: 7px;
}

.article-body a {
  color: var(--green);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.article-video {
  position: relative;
  margin: 28px 0 0;
  aspect-ratio: 16 / 9;
  border-radius: 20px;
  overflow: hidden;
  background: #07120f;
}

.article-video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.article-link-button {
  display: inline-flex;
  margin-top: 22px;
  background: #edf8f2;
  border: 1px solid #cde6d8;
  border-radius: 14px;
  padding: 13px 16px;
}

.article-voice-player {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: center;
  margin: 22px 0 24px;
  padding: 18px;
  border: 1px solid #dbe8df;
  border-radius: 22px;
  background: linear-gradient(135deg, #f8fff1, #ffffff);
  box-shadow: 0 16px 46px rgba(16, 37, 31, .07);
}

.voice-copy {
  display: grid;
  gap: 3px;
}

.voice-kicker {
  color: var(--green);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .4px;
}

.voice-copy strong {
  color: var(--ink);
  font-size: 20px;
}

.voice-copy small,
.voice-footer {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.voice-controls {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 9px;
  flex-wrap: wrap;
}

.voice-button {
  border: 1px solid #cfe1d7;
  border-radius: 999px;
  background: #fff;
  color: var(--green);
  padding: 10px 14px;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.voice-button:hover {
  background: #edf8f2;
}

.voice-button.primary-voice {
  border-color: var(--green);
  background: var(--green);
  color: #fff;
}

.voice-select-label {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.voice-select-label select {
  border: 1px solid #cfe1d7;
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  padding: 9px 12px;
  font: inherit;
  font-weight: 700;
}

.voice-footer {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding-top: 12px;
  border-top: 1px solid #e8f0e8;
}

.voice-status {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: #10251f;
  color: #dff44d;
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 900;
}

.voice-footer a {
  color: var(--green);
  font-weight: 800;
  text-decoration: none;
}

.article-empty,
.article-loading {
  grid-column: 1 / -1;
  text-align: center;
  color: var(--muted);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 26px;
}

.home-group-heading {
  display: flex;
  align-items: center;
  gap: 12px;
  width: min(830px, calc(100% - 40px));
  margin: 28px auto 14px;
  text-align: left;
}

.home-group-heading span {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: var(--lime);
  color: #20351a;
  font-size: 13px;
  font-weight: 900;
  box-shadow: 0 12px 28px rgba(223, 244, 77, .28);
}

.home-group-heading div {
  display: grid;
  gap: 2px;
}

.home-group-heading strong {
  color: var(--ink);
  font-size: 18px;
  line-height: 1.25;
}

.home-group-heading small {
  color: var(--muted);
  line-height: 1.45;
}

.home-group-heading.tools,
.home-group-heading.media {
  margin-top: 24px;
}

@media (max-width: 840px) {
  .nav {
    height: auto;
    padding-block: 16px;
    flex-wrap: wrap;
    gap: 10px;
  }

  .site-menu {
    order: 3;
    width: 100%;
    margin: 0;
    overflow-x: auto;
  }

  .home-article-grid,
  .article-grid {
    grid-template-columns: 1fr;
  }

  .latest-articles-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .articles-hero,
  .article-content {
    border-radius: 22px;
    padding: 24px;
  }

  .article-voice-player {
    grid-template-columns: 1fr;
  }

  .voice-controls {
    justify-content: flex-start;
  }

  .voice-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .home-group-heading {
    align-items: flex-start;
    width: min(100% - 28px, 830px);
    margin-top: 22px;
  }

  .home-group-heading span {
    width: 36px;
    height: 36px;
    border-radius: 12px;
  }
}
