.articles-page,
.article-page {
  background: #f7f9f8;
  color: #17231d;
}

.articles-intro {
  padding: 150px 0 54px;
  background: #eef4f1;
}

.article-kicker,
.article-back-link {
  color: #0f7657;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  text-decoration: none;
}

.articles-intro h1 {
  max-width: 760px;
  margin: 12px 0 16px;
  font-size: 3rem;
  line-height: 1.08;
}

.articles-intro p {
  max-width: 720px;
  color: #536159;
  font-size: 1.08rem;
  line-height: 1.7;
}

.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  padding-top: 54px;
  padding-bottom: 80px;
}

.article-card {
  overflow: hidden;
  border: 1px solid #dfe7e2;
  border-radius: 8px;
  background: #fff;
}

.article-card-image {
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.article-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 180ms ease;
}

.article-card:hover .article-card-image img {
  transform: scale(1.025);
}

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

.article-card-meta,
.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  color: #66736c;
  font-size: 0.85rem;
}

.article-card h2 {
  margin: 14px 0 12px;
  font-size: 1.35rem;
  line-height: 1.25;
}

.article-card h2 a {
  color: #17231d;
  text-decoration: none;
}

.article-card p {
  color: #59665f;
  line-height: 1.65;
}

.article-read-link,
.article-source {
  color: #0f7657;
  font-weight: 700;
}

.article-hero {
  padding: 142px 0 50px;
  background: #eef4f1;
}

.article-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  gap: 48px;
  align-items: center;
}

.article-heading {
  min-width: 0;
}

.article-heading h1 {
  margin: 18px 0;
  overflow-wrap: anywhere;
  font-size: 3.25rem;
  line-height: 1.06;
}

.article-meta {
  margin-top: 18px;
}

.article-lead {
  color: #4d5b53;
  font-size: 1.12rem;
  line-height: 1.7;
}

.article-hero-image {
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  aspect-ratio: 4 / 3;
}

.article-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 64px;
  align-items: start;
  padding-top: 64px;
  padding-bottom: 90px;
}

.article-body {
  max-width: 760px;
  font-size: 1.06rem;
  line-height: 1.82;
}

.article-body h2 {
  margin: 2.1em 0 0.7em;
  font-size: 1.85rem;
  line-height: 1.25;
}

.article-body h3 {
  margin: 1.8em 0 0.6em;
  font-size: 1.35rem;
}

.article-body p,
.article-body ul {
  margin: 0 0 1.35em;
}

.article-aside {
  position: sticky;
  top: 110px;
  padding-left: 26px;
  border-left: 4px solid #f47b20;
}

.article-aside h2 {
  margin-top: 0;
  font-size: 1.35rem;
}

.article-aside p {
  color: #59665f;
  line-height: 1.6;
}

.article-aside .btn,
.article-source {
  display: inline-block;
  margin-top: 12px;
}

.article-source {
  width: 100%;
}

.article-not-found {
  min-height: 70vh;
  padding-top: 150px;
  padding-bottom: 80px;
}

@media (max-width: 960px) {
  .articles-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .article-hero-inner,
  .article-layout {
    grid-template-columns: 1fr;
  }

  .article-aside {
    position: static;
  }
}

@media (max-width: 640px) {
  .articles-intro h1,
  .article-heading h1 {
    font-size: 2.25rem;
  }

  .articles-grid {
    grid-template-columns: 1fr;
  }

  .article-hero-image {
    aspect-ratio: 1 / 1;
  }
}

.article-search-form,
.home-article-search {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 240px auto auto;
  gap: 12px;
  max-width: 980px;
  margin-top: 28px;
}

.article-search-form input,
.article-search-form select,
.home-article-search input,
.home-article-search select {
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid #d9e3dd;
  border-radius: 8px;
  background: #fff;
  color: #17231d;
}

.article-search-form button,
.home-article-search button {
  min-height: 48px;
  padding: 0 22px;
  border: 0;
  border-radius: 8px;
  background: #0f7657;
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}

.article-clear-link {
  display: inline-flex;
  align-items: center;
  color: #0f7657;
  font-weight: 700;
}

.article-category-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.article-category-pills a {
  padding: 8px 13px;
  border: 1px solid #cddbd4;
  border-radius: 999px;
  background: #fff;
  color: #32443b;
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
}

.article-category-pills a.active,
.article-category-pills a:hover {
  border-color: #0f7657;
  background: #0f7657;
  color: #fff;
}

.articles-results-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  padding-top: 42px;
}

.articles-results-head h2 {
  margin: 0;
}

.articles-results-head p {
  margin: 0;
  color: #5c6b63;
}

.home-insights {
  padding: 85px 0;
  background: #f7f9f8;
}

.home-insights-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 34px;
}

.home-insight-card {
  overflow: hidden;
  border: 1px solid #dfe7e2;
  border-radius: 10px;
  background: #fff;
}

.home-insight-image {
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.home-insight-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-insight-body {
  padding: 22px;
}

.home-insight-category {
  color: #0f7657;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.home-insight-body h3 {
  margin: 10px 0 10px;
  font-size: 1.2rem;
  line-height: 1.3;
}

.home-insight-body h3 a {
  color: #17231d;
  text-decoration: none;
}

.home-insight-body p {
  color: #59665f;
  line-height: 1.65;
}

.home-insights-more {
  margin-top: 30px;
  text-align: center;
}

@media (max-width: 960px) {
  .article-search-form,
  .home-article-search {
    grid-template-columns: 1fr;
  }

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

  .articles-results-head {
    display: block;
  }
}

@media (max-width: 640px) {
  .home-insights-grid {
    grid-template-columns: 1fr;
  }
}

.home-insights {
  padding: 85px 0;
  background: #f7f9f8;
}

.home-article-search {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 240px auto;
  gap: 12px;
  max-width: 900px;
  margin: 28px auto 0;
}

.home-article-search input,
.home-article-search select {
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid #d9e3dd;
  border-radius: 8px;
  background: #fff;
  color: #17231d;
}

.home-article-search button {
  min-height: 48px;
  padding: 0 22px;
  border: 0;
  border-radius: 8px;
  background: #0f7657;
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}

.home-insights-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 34px;
}

.home-insight-card {
  overflow: hidden;
  border: 1px solid #dfe7e2;
  border-radius: 10px;
  background: #fff;
}

.home-insight-image {
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.home-insight-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-insight-body {
  padding: 22px;
}

.home-insight-category {
  color: #0f7657;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.home-insight-body h3 {
  margin: 10px 0 10px;
  font-size: 1.2rem;
  line-height: 1.3;
}

.home-insight-body h3 a {
  color: #17231d;
  text-decoration: none;
}

.home-insight-body p {
  color: #59665f;
  line-height: 1.65;
}

.home-insights-more {
  margin-top: 30px;
  text-align: center;
}

.article-read-link {
  display: inline-flex;
  margin-top: 8px;
  color: #0f7657;
  font-weight: 800;
  text-decoration: none;
}

.article-read-link:hover {
  text-decoration: underline;
}

@media (max-width: 960px) {
  .home-article-search {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 640px) {
  .home-insights-grid {
    grid-template-columns: 1fr;
  }
}