@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Newsreader:opsz,wght@6..72,400;6..72,500;6..72,600&display=swap");

:root {
  --ink: #26332f;
  --muted: #64716a;
  --brand: #386453;
  --brand-dark: #234d40;
  --cream: #f7f8f3;
  --paper: #fffefa;
  --line: #dce3da;
  --soft: #e9eee7;
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: "DM Sans", Arial, sans-serif;
  line-height: 1.55;
}
button,
input,
textarea {
  font: inherit;
}
button {
  cursor: pointer;
}
a {
  color: inherit;
  text-decoration: none;
}
a:hover {
  color: var(--brand-dark);
}
.blog-icon {
  display: inline-block;
  flex: none;
  vertical-align: -0.2em;
}
:focus-visible {
  outline: 3px solid #3b7d65;
  outline-offset: 3px;
}
.shell {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
}
.skip {
  position: absolute;
  left: -9999px;
  top: 8px;
  z-index: 10;
  padding: 8px 12px;
  background: var(--paper);
}
.skip:focus {
  left: 8px;
}
.site-header {
  position: relative;
  z-index: 2;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}
.header-row {
  min-height: 62px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 9px;
  white-space: nowrap;
}
.brand span {
  color: var(--brand);
  font-family: "Newsreader", Georgia, serif;
  font-size: 1.38rem;
  font-weight: 600;
  letter-spacing: -0.04em;
}
.brand small {
  color: var(--muted);
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}
.site-header nav {
  display: flex;
  gap: clamp(14px, 3vw, 38px);
  align-items: center;
  font-size: 0.86rem;
  font-weight: 700;
}
.site-header nav a:last-child {
  padding: 8px 13px;
  border: 1px solid var(--line);
  border-radius: 4px;
}
.eyebrow {
  display: block;
  color: var(--brand);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  font-weight: 700;
}
h1,
h2,
h3,
blockquote {
  font-family: "Newsreader", Georgia, serif;
  font-weight: 500;
  letter-spacing: -0.025em;
}
.intro {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #102b24;
}
.intro__content {
  position: relative;
  padding-block: clamp(56px, 6vw, 88px);
  text-align: center;
}
.intro .eyebrow {
  color: #c7e2ce;
}
.intro h1 {
  max-width: 100%;
  margin: 13px auto 10px;
  color: #fffefa;
  font-size: clamp(2.6rem, 4.2vw, 4.3rem);
  line-height: 1.02;
  text-wrap: balance;
}
.intro__content > p {
  margin: 0 auto 30px;
  color: #e2eee4;
  font-size: clamp(0.93rem, 1.7vw, 1.08rem);
}
.intro .search > label {
  color: #fffefa;
}
.search {
  position: relative;
  max-width: 720px;
  margin: 0 auto;
  text-align: left;
}
.search > label {
  display: block;
  margin-bottom: 9px;
  font-size: 0.77rem;
  font-weight: 700;
}
.search__field {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 6px 6px 6px 18px;
  border: 1px solid #bdcec0;
  border-radius: 6px;
  background: var(--paper);
  box-shadow: 0 5px 20px #203b2b0a;
}
.search__field > .blog-icon {
  color: var(--brand);
  width: 20px;
  height: 20px;
}
.search__field input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  color: var(--ink);
  background: transparent;
  font-size: 0.91rem;
}
.search__field button,
.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  border: 0;
  border-radius: 5px;
  padding: 12px 20px;
  color: #fff;
  background: var(--brand);
  font-weight: 700;
}
.search__field button:hover,
.button:hover {
  color: #fff;
  background: var(--brand-dark);
}
.button[hidden] {
  display: none;
}
.button--secondary {
  border: 1px solid var(--line);
  color: var(--ink);
  background: var(--paper);
}
.button--secondary:hover {
  color: var(--brand-dark);
  background: var(--soft);
}
.suggestions {
  position: absolute;
  z-index: 5;
  top: calc(100% + 5px);
  right: 0;
  left: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: var(--paper);
  box-shadow: 0 16px 40px #26332f1f;
}
.suggestions[hidden],
.slide[hidden] {
  display: none;
}
.suggestions a {
  display: block;
  padding: 11px 16px;
  border-bottom: 1px solid var(--line);
  font-size: 0.87rem;
}
.suggestions a:last-child {
  border-bottom: 0;
}
.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
}
.section-head h2 {
  margin: 0;
  font-size: clamp(1.9rem, 3vw, 2.65rem);
  line-height: 1;
}
.section-head > a {
  color: var(--brand-dark);
  font-size: 0.82rem;
  font-weight: 700;
}
.highlights {
  padding-block: 27px 40px;
}
.carousel-controls {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  font-size: 0.8rem;
}
.carousel-controls button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--paper);
  color: var(--ink);
}
.carousel-controls button:hover {
  background: var(--soft);
}
.carousel {
  border-radius: 5px;
  overflow: hidden;
  background: #e6eee6;
}
.slide {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 425px;
}
.slide__copy {
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: center;
  padding: clamp(28px, 5vw, 74px);
}
.slide__copy .category {
  margin-top: 0;
}
.slide__copy h2 {
  margin: 13px 0 14px;
  font-size: clamp(2.5rem, 4vw, 4.5rem);
  line-height: 1.02;
}
.slide__copy p {
  max-width: 390px;
  margin: 0 0 25px;
  color: #52645b;
}
.slide__media {
  position: relative;
  min-height: 350px;
  overflow: hidden;
}
.slide__media img,
.slide__media .image-placeholder {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.slide--empty {
  grid-template-columns: 2fr 1fr;
}
.slide__empty-note {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 30px;
  padding: clamp(28px, 5vw, 70px);
  border-left: 1px solid #b8c9ba;
  background: #d9e5db;
  color: var(--brand-dark);
}
.slide__empty-note span {
  font-size: 0.69rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}
.slide__empty-note strong {
  max-width: 250px;
  font-family: "Newsreader", Georgia, serif;
  font-size: clamp(2rem, 3vw, 3rem);
  font-weight: 500;
  line-height: 1.06;
}
.category {
  display: inline-block;
  color: var(--brand-dark);
  text-transform: uppercase;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.13em;
}
.collection {
  padding-block: 40px 95px;
}
.article-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.article-card {
  min-width: 0;
  padding-bottom: 19px;
  border-bottom: 1px solid var(--line);
}
.article-card__media {
  display: block;
  height: 220px;
  overflow: hidden;
  border-radius: 4px;
}
.article-card__media img,
.article-card__media .image-placeholder {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.25s ease;
}
.article-card:hover img {
  transform: scale(1.03);
}
.image-placeholder {
  display: grid;
  place-items: center;
  color: var(--brand-dark);
  background: #dce7dd;
}
.image-placeholder span {
  font-family: "Newsreader", Georgia, serif;
  font-size: 2.5rem;
}
.article-card__body {
  padding: 17px 2px 0;
}
.article-card h3 {
  margin: 10px 0;
  font-size: 1.6rem;
  line-height: 1.13;
}
.article-card p {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  margin: 0 0 17px;
  color: var(--muted);
  font-size: 0.87rem;
}
.article-card small {
  color: var(--muted);
  font-size: 0.72rem;
}
.empty {
  padding: 27px;
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--muted);
  background: var(--paper);
}
.topic-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 35px;
}
.topic-row span {
  margin-right: 10px;
  font-size: 0.82rem;
  font-weight: 700;
}
.topic-row a,
.filters a {
  padding: 9px 15px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--paper);
  font-size: 0.78rem;
  font-weight: 700;
}
.site-footer {
  padding-block: 44px;
  border-top: 1px solid var(--line);
  background: #edf1e9;
}
.site-footer .shell {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.site-footer strong {
  color: var(--brand);
  font-family: "Newsreader", Georgia, serif;
  font-size: 1.8rem;
}
.site-footer p {
  margin: 0 auto 0 0;
  color: var(--muted);
  font-size: 0.82rem;
}
.site-footer a {
  font-size: 0.8rem;
  font-weight: 700;
}
.listing {
  min-height: 60vh;
  padding-block: 42px 85px;
}
.back {
  display: inline-block;
  margin-bottom: 30px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
}
.listing h1 {
  margin: 9px 0 7px;
  font-size: clamp(2.8rem, 5vw, 5rem);
  line-height: 1;
}
.listing > p {
  margin: 0 0 29px;
  color: var(--muted);
}
.listing .search {
  margin-left: 0;
}
.filters {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  margin: 30px 0;
  padding-bottom: 7px;
}
.filters a {
  flex: 0 0 auto;
}
.filters a.active {
  border-color: var(--brand);
  color: var(--brand-dark);
  background: #e4eee5;
}
.pagination {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 30px;
  color: var(--brand-dark);
  font-weight: 700;
}
.article {
  background: var(--paper);
}
.article-head {
  max-width: 900px;
  padding-block: 42px 35px;
}
.article-head .category {
  display: block;
}
.article-head h1 {
  margin: 17px 0;
  font-size: clamp(2.9rem, 6vw, 5.7rem);
  line-height: 1.03;
}
.dek {
  margin: 0;
  color: var(--muted);
  font-size: clamp(1.03rem, 2vw, 1.32rem);
}
.byline {
  display: flex;
  flex-wrap: wrap;
  gap: 7px 19px;
  margin-top: 25px;
  color: var(--muted);
  font-size: 0.79rem;
}
.byline strong {
  color: var(--ink);
}
.cover {
  max-width: 1100px;
  margin-block: 0 40px;
}
.cover img {
  display: block;
  width: 100%;
  max-height: 590px;
  object-fit: cover;
  border-radius: 14px;
}
.article-body {
  max-width: 740px;
  margin: 0 auto;
  padding: 0 24px 70px;
  color: #37453d;
  font-size: 1.08rem;
  line-height: 1.8;
}
.article-body > p {
  margin: 0 0 24px;
  white-space: normal;
}
.article-body > h2 {
  margin: 39px 0 14px;
  color: var(--ink);
  font-size: 2rem;
  line-height: 1.15;
}
.article-body blockquote {
  margin: 30px 0;
  padding: 10px 0 10px 24px;
  border-left: 3px solid var(--brand);
  color: var(--brand-dark);
  font-size: 1.65rem;
  line-height: 1.3;
}
.article-body a {
  color: var(--brand-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.article-body a.button {
  color: #fff;
  text-decoration: none;
}
.article-body li {
  margin-bottom: 7px;
}
.article-body figure {
  margin: 32px 0;
}
.article-body figure img {
  width: 100%;
  border-radius: 10px;
}
.article-body figcaption {
  color: var(--muted);
  font-size: 0.76rem;
  text-align: center;
}
.sources {
  margin-top: 48px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 0.84rem;
}
.sources h2 {
  font-size: 1.5rem;
}
.sources ol {
  padding-left: 20px;
}
.comments {
  margin-top: 54px;
  padding-top: 25px;
  border-top: 1px solid var(--line);
}
.comments > h2 {
  margin: 0;
  font-size: 2rem;
}
.comments > p {
  color: var(--muted);
  font-size: 0.83rem;
}
#comment-list article {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
#comment-list time {
  margin-left: 15px;
  color: var(--muted);
  font-size: 0.76rem;
}
#comment-list p {
  margin: 5px 0 0;
  white-space: pre-wrap;
  font-size: 0.93rem;
}
#comment-action {
  margin-top: 25px;
}
#comment-action label,
.login label {
  display: grid;
  gap: 7px;
  margin-bottom: 15px;
  font-size: 0.8rem;
  font-weight: 700;
}
#comment-action textarea,
.login input {
  width: 100%;
  padding: 12px;
  border: 1px solid #bdcec0;
  border-radius: 5px;
  background: var(--paper);
  color: var(--ink);
}
#comment-action [role="status"] {
  color: var(--brand-dark);
  font-size: 0.82rem;
}
.related {
  padding-block: 50px 90px;
}
.related h2 {
  font-size: 2.3rem;
}
.login {
  min-height: 70vh;
  max-width: 540px;
  padding-block: 45px 90px;
}
.login h1 {
  margin: 10px 0;
  font-size: 3.5rem;
}
.login > p {
  color: var(--muted);
}
.login form {
  margin-block: 27px;
  padding: 25px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: var(--paper);
}
.login [role="alert"] {
  color: #a4372b;
  font-size: 0.82rem;
}
.login img {
  display: block;
  max-width: 100%;
  margin-block: 7px;
}

@media (max-width: 850px) {
  .article-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .slide {
    min-height: 360px;
  }
  .slide__copy h2 {
    font-size: 2.7rem;
  }
}

@media (max-width: 600px) {
  .shell {
    width: min(100% - 32px, 480px);
  }
  .header-row {
    min-height: 58px;
  }
  .brand span {
    font-size: 1.18rem;
  }
  .brand small {
    font-size: 0.48rem;
  }
  .site-header nav {
    gap: 12px;
    font-size: 0.73rem;
  }
  .site-header nav a:first-child,
  .site-header nav a:last-child {
    display: none;
  }
  .intro {
    border-radius: 0;
  }
  .intro__content {
    padding-block: 46px 50px;
    text-align: left;
  }
  .intro h1 {
    margin-inline: 0;
    font-size: clamp(2.55rem, 10.3vw, 3.5rem);
  }
  .intro__content > p {
    margin-bottom: 23px;
  }
  .search__field {
    padding-left: 12px;
    gap: 6px;
  }
  .search__field input {
    font-size: 0.8rem;
  }
  .search__field button {
    padding: 10px 12px;
    font-size: 0.79rem;
  }
  .highlights {
    padding-block: 25px 27px;
  }
  .section-head h2 {
    font-size: 1.9rem;
  }
  .carousel-controls {
    gap: 5px;
  }
  .carousel-controls button {
    width: 36px;
    height: 36px;
  }
  .carousel-controls span {
    min-width: 32px;
    text-align: center;
    font-size: 0.68rem;
  }
  .slide,
  .slide--empty {
    display: flex;
    flex-direction: column-reverse;
    min-height: 0;
  }
  .slide__media {
    flex: 0 0 220px;
    height: 220px;
    min-height: 0;
  }
  .slide__copy {
    padding: 27px 24px 31px;
  }
  .slide__copy .category {
    margin-top: 0;
  }
  .slide__copy h2 {
    font-size: 2.5rem;
  }
  .slide__copy p {
    font-size: 0.86rem;
  }
  .slide__empty-note {
    display: none;
  }
  .collection {
    padding-block: 25px 70px;
  }
  .article-grid {
    grid-template-columns: 1fr;
    gap: 17px;
  }
  .article-card {
    display: grid;
    grid-template-columns: 98px minmax(0, 1fr);
    gap: 13px;
    padding-bottom: 16px;
  }
  .article-card__media {
    height: 100px;
  }
  .article-card__body {
    padding: 0;
  }
  .article-card h3 {
    margin: 5px 0 8px;
    font-size: 1.23rem;
  }
  .article-card p {
    display: none;
  }
  .article-card small {
    display: block;
    font-size: 0.69rem;
    line-height: 1.35;
  }
  .listing {
    padding-block: 29px 70px;
  }
  .article-head {
    padding-block: 29px 27px;
  }
  .article-head h1 {
    font-size: clamp(2.75rem, 12vw, 4rem);
  }
  .cover {
    width: 100%;
  }
  .cover img {
    border-radius: 0;
  }
  .article-body {
    padding-inline: 18px;
    font-size: 1rem;
  }
  .site-footer .shell {
    display: block;
  }
}

@media (max-width: 360px) {
  .section-head {
    gap: 8px;
  }
  .section-head h2 {
    font-size: 1.55rem;
  }
  .carousel-controls button {
    width: 32px;
    height: 32px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .article-card__media img {
    transition: none;
  }
}
