:root {
  --anp-single-green: #004d28;
  --anp-single-green-dark: #003d22;
  --anp-single-yellow: #efb900;
  --anp-single-cream: #f6f3ec;
  --anp-single-text: #423930;
  --anp-single-muted: #777269;
  --anp-single-border: #dedfd8;
  --anp-single-white: #fff;
}

.anp-single,
.anp-single * {
  box-sizing: border-box;
}

.anp-single {
    color: var(--anp-single-text);
    font-family: "Inter", Arial, sans-serif;
    padding-top: 0;
}
article, aside {
    width: 100%;
}

.anp-single-container {
  width: min(1140px, calc(100% - 48px));
  margin-inline: auto;
}

.anp-single-hero {
  position: relative;
  min-height: 590px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background-color: var(--anp-single-green-dark);
  background-position: center;
  background-size: cover;
}

.anp-single-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 41, 23, 0.82), rgba(0, 41, 23, 0.38) 70%, rgba(0, 41, 23, 0.2));
}

.anp-single-hero__content {
  position: relative;
  z-index: 1;
  padding-block: 78px 52px;
  color: var(--anp-single-white);
}

.anp-single-hero h1 {
    margin: 0 0 19px;
    color: #FFF;
    font-size: 52px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    text-align: left;
}
.anp-single-hero h1::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -10px;
    width: 72px;
    height: 4px;
    background: var(--anp-yellow);
    border: 0;
}
.anp-single-hero__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 13px;
  line-height: 1.5;
}

.anp-single-hero__meta a {
  color: var(--anp-single-white);
  font-weight: 600;
  text-decoration-color: var(--anp-single-yellow);
  text-underline-offset: 3px;
}

.anp-single-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 70px;
  align-items: start;
  padding-block: 42px 80px;
}

.anp-single-main {
  min-width: 0;
}

.anp-single-post-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 34px;
  padding-bottom: 17px;
  border-bottom: 1px solid var(--anp-single-border);
}

.anp-single-post-nav__next {
  text-align: right;
}

.anp-single-post-nav a {
  color: var(--anp-single-green);
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
}

.anp-single-post-nav a:hover,
.anp-single-post-nav a:focus-visible {
  color: var(--anp-single-green-dark);
  text-decoration: underline;
  text-decoration-color: var(--anp-single-yellow);
  text-underline-offset: 4px;
}

.anp-single-content {
  color: var(--anp-single-text);
  font-size: 16px;
  line-height: 1.78;
}

.anp-single-content > :first-child {
  margin-top: 0;
}

.anp-single-content p,
.anp-single-content ul,
.anp-single-content ol,
.anp-single-content blockquote {
  margin-top: 0;
  margin-bottom: 22px;
}

.anp-single-content h2,
.anp-single-content h3,
.anp-single-content h4 {
  margin: 34px 0 13px;
  color: var(--anp-single-green);
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 600;
  line-height: 1.2;
}

.anp-single-content h2 {
  font-size: clamp(28px, 3vw, 37px);
}

.anp-single-content h3 {
  font-size: clamp(23px, 2.5vw, 29px);
}

.anp-single-content h4 {
  font-size: 21px;
}

.anp-single-content a {
  color: var(--anp-single-green);
  text-decoration-color: var(--anp-single-yellow);
  text-underline-offset: 3px;
}

.anp-single-content img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 28px 0;
  border-radius: 3px;
}

.anp-single-content figure {
  max-width: 100%;
  margin: 28px 0;
}

.anp-single-content figure img {
  margin: 0;
}

.anp-single-content figcaption {
  margin-top: 8px;
  color: var(--anp-single-muted);
  font-size: 12px;
  line-height: 1.5;
}

.anp-single-content blockquote {
  padding: 7px 0 7px 24px;
  border-left: 4px solid var(--anp-single-yellow);
  color: var(--anp-single-green);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 22px;
  line-height: 1.5;
}

.anp-single-content ul,
.anp-single-content ol {
  padding-left: 24px;
}

.anp-single-content li {
  margin-bottom: 7px;
}

.anp-single-tags {
  margin-top: 38px;
  padding-top: 16px;
  border-top: 1px solid var(--anp-single-border);
  color: var(--anp-single-muted);
  font-size: 11px;
  line-height: 1.7;
}

.anp-single-tags span {
  font-weight: 700;
}

.anp-single-tags a {
  color: var(--anp-single-green);
  text-decoration: none;
}

.anp-single-sidebar {
 
  top: 30px;
  display: grid;
  gap: 20px;
}

.anp-sidebar-box {
  padding: 24px;
  border-radius: 9px;
  background: var(--anp-single-cream);
}

.anp-sidebar-box h2,
.anp-sidebar-cta h2 {
  margin: 0 0 18px;
  color: var(--anp-single-green);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 22px;
  font-weight: 600;
  line-height: 1.2;
}

.anp-sidebar-recent ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.anp-sidebar-recent li {
  position: relative;
  padding: 0 0 15px 14px;
  margin-bottom: 15px;
  border-bottom: 1px solid rgba(0, 77, 40, 0.12);
}

.anp-sidebar-recent li:last-child {
  padding-bottom: 0;
  margin-bottom: 0;
  border-bottom: 0;
}

.anp-sidebar-recent li::before {
  content: "";
  position: absolute;
  top: 7px;
  left: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--anp-single-yellow);
}

.anp-sidebar-recent a {
  display: block;
  color: var(--anp-single-green);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
  text-decoration: none;
}

.anp-sidebar-recent a:hover,
.anp-sidebar-recent a:focus-visible {
  text-decoration: underline;
  text-decoration-color: var(--anp-single-yellow);
  text-underline-offset: 3px;
}

.anp-sidebar-recent time {
  display: block;
  margin-top: 4px;
  color: var(--anp-single-muted);
  font-size: 9px;
}

.anp-sidebar-categories__list {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.anp-sidebar-categories__list > li {
  display: contents;
}

.anp-sidebar-categories__list a {
  display: inline-flex;
  padding: 6px 9px;
  border: 1px solid rgba(0, 77, 40, 0.17);
  border-radius: 999px;
  color: var(--anp-single-green);
  background: var(--anp-single-white);
  font-size: 10px;
  line-height: 1.2;
  text-decoration: none;
}

.anp-sidebar-categories__list a:hover,
.anp-sidebar-categories__list a:focus-visible {
  border-color: var(--anp-single-green);
  color: var(--anp-single-white);
  background: var(--anp-single-green);
}

.anp-sidebar-categories__list .children {
  display: contents;
}

.anp-sidebar-cta {
  padding: 25px 24px;
  border-radius: 9px;
  color: var(--anp-single-white);
  background: var(--anp-single-green);
}

.anp-sidebar-cta__eyebrow {
  margin: 0 0 5px;
  color: var(--anp-single-yellow);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.1px;
  text-transform: uppercase;
}

.anp-sidebar-cta h2 {
  margin-bottom: 10px;
  color: var(--anp-single-white);
  font-size: 25px;
}

.anp-sidebar-cta > p:not(.anp-sidebar-cta__eyebrow) {
  margin: 0 0 18px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 12px;
  line-height: 1.6;
}

.anp-sidebar-cta a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 11px 16px;
  border-radius: 5px;
  color: var(--anp-single-green-dark);
  background: var(--anp-single-yellow);
  font-size: 11px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 150ms ease, background 150ms ease;
}

.anp-sidebar-cta a:hover,
.anp-sidebar-cta a:focus-visible {
  transform: translateY(-2px);
  background: #ffc928;
}

@media (max-width: 900px) {
  .anp-single-layout {
    grid-template-columns: minmax(0, 1fr) 260px;
    gap: 38px;
  }
}

@media (max-width: 760px) {
  .anp-single-layout {
    grid-template-columns: 1fr;
  }

  .anp-single-sidebar {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .anp-sidebar-cta {
    grid-column: 1 / -1;
  }
}

@media (max-width: 560px) {
  .anp-single-container {
    width: min(100% - 32px, 1140px);
  }

  .anp-single-hero {
    min-height: 290px;
  }

  .anp-single-hero__content {
    padding-block: 68px 38px;
  }

  .anp-single-hero h1 {
    font-size: 37px;
  }

  .anp-single-layout {
    padding-block: 30px 60px;
  }

  .anp-single-content {
    font-size: 15px;
    line-height: 1.72;
  }

  .anp-single-sidebar {
    grid-template-columns: 1fr;
  }

  .anp-sidebar-cta {
    grid-column: auto;
  }
}
