* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
  color: #122018;
  background: #f7faf7;
}

.wrap {
  width: min(1100px, 92%);
  margin: 0 auto;
}

.site-header {
  background: #0d1310;
  color: #ffffff;
  border-bottom: 4px solid #EF9F27;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 0;
}

.brand {
  color: #ffffff;
  font-weight: 900;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  text-decoration: none;
}

.site-nav {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.site-nav a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 700;
}

.site-nav a:hover {
  color: #EF9F27;
}

.hero {
  padding: 72px 0 56px;
  text-align: center;
}

.hero h1 {
  max-width: 980px;
  margin: 0 auto 18px;
  font-size: clamp(2.4rem, 5vw, 4.4rem);
  line-height: 1.05;
}

.hero p {
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
  font-size: 1.2rem;
}

.cta {
  display: inline-block;
  margin-top: 18px;
  padding: 13px 18px;
  background: #EF9F27;
  color: #111111;
  font-weight: 800;
  text-decoration: none;
  border-radius: 8px;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
  margin: 28px 0 48px;
}

.card {
  background: #ffffff;
  border: 1px solid #dfe8df;
  border-radius: 12px;
  padding: 22px;
}

.page {
  max-width: 850px;
  padding: 44px 0 64px;
}

.site-footer {
  margin-top: 40px;
  padding: 28px 0;
  background: #0d1310;
  color: #ffffff;
  text-align: center;
}

.site-footer a {
  color: #EF9F27;
}

.footer-copy {
  max-width: 720px;
  margin: 18px auto 0;
  font-size: 0.82rem;
  line-height: 1.5;
  opacity: 0.8;
}

/* Article template */

.breadcrumb {
  max-width: 850px;
  margin: 28px auto 18px;
  font-size: 0.9rem;
  color: #4f6b5a;
}

.breadcrumb a {
  color: #1a4d2e;
  text-decoration: none;
  font-weight: 700;
}

.breadcrumb a:hover {
  color: #EF9F27;
}

.article-featured-image {
  max-width: 850px;
  margin: 0 auto 28px;
  border-radius: 14px;
  overflow: hidden;
  border-bottom: 5px solid #EF9F27;
  background: #0d1310;
  box-shadow: 0 10px 30px rgba(13, 19, 16, 0.18);
}

.article-featured-image img {
  display: block;
  width: 100%;
  height: auto;
}

.article-meta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
  margin: 0 0 18px;
  font-size: 0.9rem;
  color: #4f6b5a;
}

.article-meta span {
  display: inline-flex;
  align-items: center;
}

.article-meta span + span::before {
  content: "•";
  margin-right: 10px;
  color: #9db3a6;
}

.article-kicker {
  color: #EF9F27;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.85rem;
}

.article-toc {
  margin: 28px 0;
  padding: 20px 22px;
  background: #ffffff;
  border: 1px solid #cfe0d2;
  border-radius: 12px;
}

.article-toc h2 {
  margin-top: 0;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.article-toc ol {
  margin-bottom: 0;
  padding-left: 22px;
}

.article-toc a {
  color: #122018;
  font-weight: 700;
  text-decoration: none;
}

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

.lead-magnet {
  margin: 36px 0;
  padding: 26px;
  background: #0d1310;
  color: #ffffff;
  border-radius: 14px;
  border-bottom: 5px solid #EF9F27;
}

.lead-magnet h2 {
  margin-top: 0;
  color: #ffffff;
}

.lead-magnet p {
  color: #e8f0ea;
}

.lead-magnet .cta {
  margin-top: 10px;
}

.faq-section {
  margin: 42px 0 32px;
}

.faq-section h2 {
  margin-bottom: 18px;
}

.faq-item {
  margin-bottom: 16px;
  padding: 18px 20px;
  background: #ffffff;
  border: 1px solid #dfe8df;
  border-radius: 12px;
}

.faq-item h3 {
  margin-top: 0;
  margin-bottom: 8px;
  font-size: 1.05rem;
}

.faq-item p {
  margin-bottom: 0;
}

.source-list {
  margin: 36px 0;
  padding: 20px 22px;
  background: #ffffff;
  border: 1px solid #dfe8df;
  border-radius: 12px;
}

.source-list h2 {
  margin-top: 0;
}

.related-box {
  margin: 36px 0 0;
  padding: 24px;
  background: #eef7f0;
  border: 1px solid #cfe0d2;
  border-radius: 12px;
}

.related-box h2 {
  margin-top: 0;
}

@media (max-width: 700px) {
  .article-meta {
    display: block;
  }

  .article-meta span {
    display: block;
    margin-bottom: 4px;
  }

  .article-meta span + span::before {
    content: "";
    margin: 0;
  }

  .lead-magnet,
  .article-toc,
  .faq-item,
  .source-list,
  .related-box {
    padding: 18px;
  }
}

/* Blog page category layout */

.breadcrumb {
  font-size: 0.85rem;
  margin: 24px 0 40px;
  color: #31513d;
}

.breadcrumb a {
  color: #0f3d24;
  text-decoration: none;
  font-weight: 600;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.blog-hero {
  text-align: center;
  max-width: 850px;
  margin: 0 auto 70px;
}

.blog-category {
  margin: 0 0 48px;
}

.section-heading {
  border-bottom: 1px solid rgba(15, 61, 36, 0.18);
  margin-bottom: 18px;
  padding-bottom: 12px;
}

.section-heading h2 {
  margin: 0 0 8px;
  font-size: 1.45rem;
  color: #10251a;
}

.section-heading p {
  margin: 0;
  max-width: 720px;
  color: #31513d;
}

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

.article-card {
  background: #ffffff;
  border: 1px solid rgba(15, 61, 36, 0.22);
  border-radius: 10px;
  padding: 18px;
  min-height: 190px;
  box-shadow: 0 8px 20px rgba(13, 17, 23, 0.05);
}

.article-card .eyebrow {
  margin: 0 0 12px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #EF9F27;
}

.article-card h3 {
  margin: 0 0 10px;
  font-size: 1rem;
  line-height: 1.35;
}

.article-card h3 a {
  color: #10251a;
  text-decoration: none;
}

.article-card h3 a:hover {
  color: #EF9F27;
  text-decoration: underline;
}

.article-card p {
  margin: 0 0 12px;
  color: #23382c;
  font-size: 0.92rem;
  line-height: 1.55;
}

.article-meta {
  margin-top: auto;
  font-size: 0.75rem !important;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #31513d !important;
}

.coming-soon-card {
  opacity: 0.82;
  background: #f7faf8;
}

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

@media (max-width: 640px) {
  .blog-hero {
    margin-bottom: 44px;
  }

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

  .article-card {
    min-height: auto;
  }
}

/* Blog page spacing refinement */

.blog-hero {
  margin-top: 20px;
  margin-bottom: 54px;
}

.blog-hero h1 {
  font-size: clamp(2.2rem, 5vw, 4.2rem);
  line-height: 1.08;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.blog-hero .lede {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.blog-category {
  max-width: 980px;
  margin-left: auto;
  margin-right: auto;
}

.article-grid {
  grid-template-columns: repeat(3, minmax(240px, 1fr));
}

.article-card {
  min-height: 210px;
}

@media (max-width: 900px) {
  .blog-hero h1 {
    font-size: clamp(2rem, 7vw, 3.2rem);
  }

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

@media (max-width: 640px) {
  .blog-hero {
    margin-top: 10px;
    margin-bottom: 38px;
  }

  .blog-hero h1 {
    font-size: 2.1rem;
  }

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