.articles-shell,
.article-shell {
  width: min(1240px, calc(100% - 56px));
  margin: 0 auto;
  padding: 46px 0 76px;
}

.articles-hero,
.category-hero,
.article-header,
.article-content,
.article-toc,
.article-cta,
.article-card,
.related-articles,
.standalone-info {
  border: 1px solid rgba(11, 61, 44, 0.12);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(244, 251, 247, 0.9)),
    radial-gradient(circle at 100% 0, rgba(183, 232, 203, 0.2), transparent 32%);
  box-shadow: 0 24px 56px rgba(8, 34, 24, 0.08);
}

.articles-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.92fr);
  gap: 42px;
  align-items: center;
  padding: clamp(28px, 4vw, 58px);
  border-radius: 30px;
}

.articles-hero h1,
.article-header h1,
.category-hero h1,
.standalone-info h1 {
  max-width: 820px;
  margin: 0;
  color: #111827;
  font-size: clamp(42px, 5vw, 76px);
  line-height: 0.94;
  letter-spacing: 0;
}

.articles-hero p,
.category-hero p,
.article-lead {
  max-width: 760px;
  color: #5d6a7d;
  font-size: 19px;
  line-height: 1.65;
}

.articles-hero figure {
  margin: 0;
  overflow: hidden;
  border-radius: 24px;
  background: #08251b;
}

.articles-hero img,
.article-card img,
.article-header figure img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.articles-hero figure img {
  aspect-ratio: 16 / 10;
}

.articles-hero figcaption,
.article-header figcaption {
  padding: 16px 18px;
  color: #dceee5;
  background: #083323;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.articles-hero__actions,
.article-card__meta,
.article-meta,
.articles-filters,
.related-grid,
.latest-list {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}

.ghost-btn,
.primary-btn,
.articles-filters button,
.article-cta a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid rgba(11, 61, 44, 0.16);
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
}

.primary-btn,
.article-cta a {
  color: #fff;
  background: linear-gradient(135deg, #229a62, #0f6a43);
  border-color: transparent;
  box-shadow: 0 18px 34px rgba(17, 130, 79, 0.18);
}

.ghost-btn,
.articles-filters button {
  color: #0b3d2c;
  background: #fffdf7;
}

.articles-tools {
  display: grid;
  grid-template-columns: minmax(280px, 0.75fr) minmax(0, 1.25fr);
  gap: 18px;
  margin: 28px 0;
  align-items: start;
}

.articles-search {
  display: grid;
  gap: 8px;
  color: #5d6a7d;
  font-weight: 900;
}

.articles-search input {
  width: 100%;
  min-height: 54px;
  padding: 0 18px;
  color: #111827;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(11, 61, 44, 0.16);
  border-radius: 18px;
  font: inherit;
  font-weight: 800;
}

.articles-search input:focus,
.articles-filters button:focus-visible,
.article-card a:focus-visible,
.article-cta a:focus-visible {
  outline: 3px solid rgba(207, 174, 84, 0.46);
  outline-offset: 3px;
}

.articles-filters button.is-active {
  color: #091913;
  background: linear-gradient(135deg, #f5df82, #f8eec2);
  border-color: rgba(207, 174, 84, 0.52);
}

.articles-section {
  margin-top: 42px;
}

.section-title {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: end;
  margin-bottom: 18px;
}

.section-title h2 {
  max-width: 760px;
  margin: 0;
  color: #111827;
  font-size: clamp(28px, 3.4vw, 48px);
  line-height: 1;
}

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

.article-card {
  overflow: hidden;
  border-radius: 24px;
}

.article-card[hidden] {
  display: none;
}

.article-card a {
  display: grid;
  min-height: 100%;
  color: inherit;
  text-decoration: none;
}

.article-card img {
  aspect-ratio: 16 / 10;
}

.article-card__category {
  width: fit-content;
  margin: 18px 18px 0;
  padding: 7px 12px;
  color: #087345;
  background: rgba(218, 247, 229, 0.75);
  border: 1px solid rgba(8, 115, 69, 0.14);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 1000;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.article-card h2 {
  margin: 12px 18px 0;
  color: #111827;
  font-size: 24px;
  line-height: 1.08;
}

.article-card p {
  margin: 12px 18px;
  color: #5d6a7d;
  line-height: 1.55;
}

.article-card__meta {
  margin: auto 18px 18px;
  padding-top: 14px;
  border-top: 1px solid rgba(11, 61, 44, 0.1);
  color: #6a7486;
  font-size: 13px;
  font-weight: 800;
}

.latest-list {
  align-items: stretch;
}

.latest-list a {
  flex: 1 1 280px;
  display: grid;
  gap: 8px;
  padding: 18px;
  color: #111827;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(11, 61, 44, 0.12);
  border-radius: 18px;
}

.latest-list span,
.latest-list em,
.article-meta,
.breadcrumbs {
  color: #667085;
  font-size: 14px;
  font-style: normal;
}

.breadcrumbs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.breadcrumbs a {
  color: #0f6a43;
  font-weight: 900;
  text-decoration: none;
}

.category-hero {
  padding: clamp(28px, 4vw, 52px);
  border-radius: 28px;
}

.article-layout {
  display: grid;
  gap: 30px;
}

.article-header {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 420px);
  gap: clamp(28px, 4vw, 54px);
  align-items: center;
  overflow: hidden;
  padding: clamp(34px, 5vw, 64px);
  border: 1px solid rgba(180, 220, 196, 0.18);
  border-radius: 32px;
  background:
    radial-gradient(circle at 86% 12%, rgba(202, 174, 92, 0.24), transparent 30%),
    radial-gradient(circle at 18% 0, rgba(47, 157, 104, 0.32), transparent 34%),
    linear-gradient(135deg, #071712 0%, #0a2d22 48%, #123b2d 100%);
  box-shadow: 0 32px 78px rgba(5, 23, 16, 0.24);
  isolation: isolate;
}

.article-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.88), rgba(0, 0, 0, 0.22));
}

.article-header::after {
  content: "";
  position: absolute;
  right: -110px;
  bottom: -160px;
  width: 420px;
  height: 420px;
  border: 1px solid rgba(220, 238, 229, 0.14);
  border-radius: 50%;
}

.article-header > div,
.article-header figure {
  min-width: 0;
}

.article-header h1 {
  max-width: 720px;
  color: #fffdf7;
  font-size: clamp(38px, 4.2vw, 64px);
  line-height: 1.04;
  text-wrap: balance;
}

.article-header .article-lead {
  max-width: 680px;
  color: rgba(236, 246, 241, 0.82);
  font-size: 19px;
  line-height: 1.7;
}

.article-header .eyebrow {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 18px;
  padding: 8px 12px;
  color: #f4d97a;
  background: rgba(244, 217, 122, 0.1);
  border: 1px solid rgba(244, 217, 122, 0.24);
  border-radius: 999px;
}

.article-header figure {
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(226, 245, 236, 0.16);
  border-radius: 26px;
  background: #08251b;
  box-shadow: 0 26px 56px rgba(0, 0, 0, 0.28);
}

.article-header figure img {
  aspect-ratio: 4 / 3;
}

.article-header figcaption {
  color: #f6edc6;
  background: linear-gradient(135deg, #09271d, #0e402e);
}

.article-meta {
  margin-top: 20px;
  gap: 10px;
  color: rgba(236, 246, 241, 0.78);
  font-weight: 850;
}

.article-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 6px 11px;
  color: rgba(236, 246, 241, 0.82);
  background: rgba(255, 255, 255, 0.075);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
}

.article-meta a {
  color: #b9f0d0;
  text-decoration: none;
}

.article-content-grid {
  display: grid;
  grid-template-columns: minmax(230px, 284px) minmax(0, 800px);
  gap: 28px;
  align-items: start;
  justify-content: center;
}

.article-toc {
  position: sticky;
  top: 112px;
  display: grid;
  gap: 8px;
  padding: 20px;
  border: 1px solid rgba(226, 245, 236, 0.14);
  border-radius: 22px;
  background:
    radial-gradient(circle at 90% 0, rgba(202, 174, 92, 0.16), transparent 36%),
    linear-gradient(160deg, #071712, #0f3125);
  box-shadow: 0 24px 54px rgba(8, 34, 24, 0.16);
}

.article-toc strong {
  color: #f4d97a;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.article-toc a {
  display: block;
  padding: 10px 0;
  color: rgba(236, 246, 241, 0.82);
  border-top: 1px solid rgba(226, 245, 236, 0.1);
  text-decoration: none;
  font-size: 14px;
  line-height: 1.35;
}

.article-toc a:hover {
  color: #fffdf7;
}

.article-content {
  min-width: 0;
  padding: clamp(30px, 4vw, 54px);
  border: 1px solid rgba(11, 61, 44, 0.1);
  border-radius: 30px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(249, 253, 250, 0.94)),
    radial-gradient(circle at 100% 0, rgba(197, 236, 213, 0.18), transparent 28%);
  box-shadow: 0 28px 74px rgba(8, 34, 24, 0.1);
}

.article-content h2 {
  margin: 42px 0 14px;
  color: #111827;
  font-size: clamp(30px, 3vw, 44px);
  line-height: 1.06;
  letter-spacing: 0;
}

.article-content p,
.article-content li {
  color: #4f5d72;
  font-size: 18px;
  line-height: 1.76;
}

.important-notice {
  position: relative;
  padding: 22px 24px 22px 28px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(255, 250, 229, 0.96), rgba(255, 255, 250, 0.92));
  border: 1px solid rgba(207, 174, 84, 0.34);
  border-radius: 20px;
  box-shadow: inset 5px 0 0 #cfad46, 0 18px 38px rgba(91, 69, 16, 0.07);
}

.important-notice strong {
  display: block;
  color: #7b5d11;
  margin-bottom: 8px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.step-by-step,
.article-sources,
.article-faq details {
  padding: 20px;
  background: rgba(246, 250, 248, 0.86);
  border: 1px solid rgba(11, 61, 44, 0.12);
  border-radius: 20px;
}

.step-by-step ol {
  margin: 0;
  padding-left: 22px;
}

.article-cta {
  display: flex;
  gap: 20px;
  justify-content: space-between;
  align-items: center;
  margin: 38px 0;
  padding: 24px;
  border: 1px solid rgba(226, 245, 236, 0.13);
  border-radius: 26px;
  background:
    radial-gradient(circle at 100% 0, rgba(244, 217, 122, 0.16), transparent 36%),
    linear-gradient(135deg, #09241b, #0f3c2b);
  box-shadow: 0 24px 52px rgba(8, 34, 24, 0.16);
}

.article-cta small {
  display: block;
  color: #f4d97a;
  font-weight: 1000;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.article-cta strong {
  display: block;
  margin-top: 5px;
  color: #fffdf7;
  font-size: 24px;
}

.article-cta p {
  margin: 8px 0 0;
  color: rgba(236, 246, 241, 0.78);
  font-size: 16px;
}

.article-cta a {
  color: #081711;
  background: linear-gradient(135deg, #f5df82, #f8edbe);
  box-shadow: 0 16px 34px rgba(207, 174, 84, 0.18);
}

.article-faq {
  display: grid;
  gap: 12px;
}

.article-faq details {
  cursor: pointer;
}

.article-faq summary {
  color: #111827;
  font-weight: 1000;
  font-size: 18px;
}

.article-sources a {
  color: #0f6a43;
  overflow-wrap: anywhere;
}

.related-articles {
  margin-top: 34px;
  padding: 26px;
  border: 1px solid rgba(11, 61, 44, 0.1);
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(243, 250, 246, 0.9)),
    radial-gradient(circle at 100% 0, rgba(207, 174, 84, 0.1), transparent 34%);
  box-shadow: 0 22px 50px rgba(8, 34, 24, 0.08);
}

.related-articles h2 {
  margin-top: 0;
  font-size: clamp(26px, 2.6vw, 36px);
}

.related-grid a {
  flex: 1 1 220px;
  display: grid;
  gap: 7px;
  padding: 18px;
  color: #111827;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(11, 61, 44, 0.1);
  border-radius: 18px;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.related-grid a:hover {
  transform: translateY(-2px);
  border-color: rgba(15, 106, 67, 0.24);
  box-shadow: 0 16px 32px rgba(8, 34, 24, 0.09);
}

.related-grid span {
  color: #087345;
  font-size: 12px;
  font-weight: 1000;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.narrow-info-page {
  width: min(940px, calc(100% - 48px));
}

.standalone-info {
  padding: clamp(28px, 5vw, 58px);
  border-radius: 30px;
}

.no-results {
  margin: 18px 0 0;
  color: #7b5d11;
  font-weight: 900;
}

@media (max-width: 980px) {
  .articles-shell,
  .article-shell {
    width: min(100% - 28px, 760px);
    padding-top: 28px;
  }

  .articles-hero,
  .article-header,
  .articles-tools,
  .article-content-grid {
    grid-template-columns: 1fr;
  }

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

  .article-toc {
    position: static;
  }

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

  .article-header figure {
    max-width: 520px;
  }
}

@media (max-width: 760px) {
  .articles-tools,
  .article-content-grid,
  .article-header {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 640px) {
  .articles-shell,
  .article-shell,
  .narrow-info-page {
    width: calc(100% - 20px);
  }

  .articles-hero,
  .article-header,
  .category-hero,
  .article-content,
  .standalone-info {
    border-radius: 22px;
    padding: 22px;
  }

  .articles-hero h1,
  .article-header h1,
  .category-hero h1,
  .standalone-info h1 {
    font-size: clamp(34px, 12vw, 48px);
  }

  .articles-hero p,
  .category-hero p,
  .article-lead,
  .article-content p,
  .article-content li {
    font-size: 16px;
  }

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

  .section-title {
    display: block;
  }

  .article-cta {
    display: grid;
  }

  .article-cta a {
    width: 100%;
  }

  .article-meta span {
    width: 100%;
    justify-content: center;
  }

  .article-toc {
    padding: 18px;
  }

  .article-content h2 {
    font-size: clamp(26px, 9vw, 36px);
  }
}

/* DOS PARK articles index final alignment */
.park-articles-page .articles-shell {
  width: min(1120px, calc(100% - 56px));
  padding-top: 42px;
}

.park-articles-page .articles-hero {
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.76fr);
  gap: clamp(28px, 4vw, 48px);
  align-items: center;
  padding: clamp(32px, 4.2vw, 56px);
}

.park-articles-page .articles-hero > div {
  max-width: 570px;
}

.park-articles-page .articles-hero h1 {
  max-width: 560px;
  font-size: clamp(38px, 4.2vw, 62px);
  line-height: 1.02;
}

.park-articles-page .articles-hero p:not(.eyebrow) {
  max-width: 560px;
  margin: 16px 0 0;
  font-size: 17px;
  line-height: 1.58;
}

.park-articles-page .articles-hero figure {
  justify-self: end;
  width: min(100%, 430px);
  border-radius: 22px;
}

.park-articles-page .articles-hero figure img {
  aspect-ratio: 16 / 10.8;
}

.park-articles-page .articles-hero figcaption {
  padding: 14px 16px;
  font-size: 11px;
  line-height: 1.25;
}

.park-articles-page .articles-tools {
  width: 100%;
  margin: 24px 0 38px;
  grid-template-columns: minmax(260px, 340px) minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}

.park-articles-page .articles-search {
  align-self: start;
}

.park-articles-page .articles-search span {
  display: block;
  margin-bottom: 2px;
  font-size: 14px;
}

.park-articles-page .articles-search input {
  min-height: 52px;
  border-radius: 16px;
}

.park-articles-page .articles-filters {
  justify-content: flex-start;
  gap: 10px;
}

.park-articles-page .articles-filters button {
  min-height: 42px;
  padding: 0 16px;
  font-size: 13px;
  white-space: nowrap;
}

.park-articles-page .articles-section {
  width: 100%;
  margin-top: 42px;
}

.park-articles-page .section-title {
  display: block;
  margin: 0 0 22px;
}

.park-articles-page .section-title .eyebrow {
  margin-bottom: 10px;
}

.park-articles-page .section-title h2 {
  max-width: 680px;
  font-size: clamp(30px, 3vw, 44px);
  line-height: 1.04;
}

.park-articles-page .article-grid {
  align-items: stretch;
}

@media (max-width: 980px) {
  .park-articles-page .articles-shell {
    width: min(100% - 28px, 760px);
  }

  .park-articles-page .articles-hero,
  .park-articles-page .articles-tools {
    grid-template-columns: 1fr;
  }

  .park-articles-page .articles-hero > div {
    max-width: none;
  }

  .park-articles-page .articles-hero figure {
    justify-self: stretch;
    width: 100%;
    max-width: 560px;
  }
}

@media (max-width: 640px) {
  .park-articles-page .articles-shell {
    width: calc(100% - 20px);
    padding-top: 24px;
  }

  .park-articles-page .articles-hero {
    padding: 22px;
  }

  .park-articles-page .articles-hero h1 {
    font-size: clamp(34px, 10vw, 44px);
  }

  .park-articles-page .articles-hero p:not(.eyebrow) {
    font-size: 16px;
  }

  .park-articles-page .articles-filters button {
    white-space: normal;
    text-align: center;
  }
}
