/* CouponLawn editorial guides — aligned with the retained site theme */
body.couponlawn-article,
body.couponlawn-article-index {
  --article-ink: #111;
  --article-muted: #555;
  --article-paper: #fff;
  --article-page: #f8f8f8;
  --article-green: #4cb653;
  --article-yellow: #f7b512;
  --article-line: #e5e5e5;
  background: var(--article-page);
  color: var(--article-ink);
  font-family: "SFProText", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  margin: 0;
}

body.couponlawn-article *,
body.couponlawn-article-index * {
  box-sizing: border-box;
}

.article-site-header {
  background: #fff;
  border-bottom: 1px solid #eee;
}

.article-site-header__inner {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin: 0 auto;
  max-width: 1170px;
  min-height: 76px;
  padding: 12px 24px;
}

.article-brand {
  display: inline-flex;
}

.article-brand img {
  display: block;
  height: 42px;
  width: auto;
}

.article-site-header nav {
  display: flex;
  gap: 40px;
}

.article-site-header nav a,
.article-footer a {
  color: #111;
  font-weight: 700;
  text-decoration: none;
}

.article-site-header nav a:hover,
.article-footer a:hover {
  color: var(--article-green);
}

.couponlawn-article main,
.couponlawn-article-index main {
  padding: 42px 24px 64px;
}

.article-shell,
.article-index-shell {
  background: var(--article-paper);
  border: 1px solid var(--article-line);
  border-radius: 8px;
  box-shadow: 0 5px 12px rgb(0 0 0 / 4%);
  margin: 0 auto;
  max-width: 900px;
  padding: 44px 52px 64px;
}

.article-index-shell {
  max-width: 1170px;
}

.article-breadcrumb,
.article-meta,
.article-kicker,
.article-disclosure,
.article-cta,
.article-index-card > p:first-child {
  font-family: "SFProText", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.article-breadcrumb {
  color: var(--article-muted);
  display: flex;
  font-size: 14px;
  gap: 10px;
  margin-bottom: 32px;
}

.article-breadcrumb a,
.article-shell a,
.article-index-shell a {
  color: var(--article-green);
}

.article-kicker {
  color: var(--article-green);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .08em;
  margin: 0 0 10px;
  text-transform: uppercase;
}

.article-hero h1,
.article-index-shell h1,
.article-toc h2,
.article-section h2,
.article-faq h2,
.article-sources h2,
.article-related h2,
.article-index-card h2,
.article-footer h2 {
  font-family: "Quicksand", "SFProText", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 700;
}

.article-hero h1,
.article-index-shell h1 {
  font-size: clamp(34px, 5vw, 48px);
  letter-spacing: -.025em;
  line-height: 1.12;
  margin: 0;
}

.article-deck,
.article-index-shell > header > p:last-child {
  color: var(--article-muted);
  font-size: 20px;
  line-height: 1.5;
  margin: 20px 0;
}

.article-meta {
  color: #777;
  font-size: 14px;
}

.article-disclosure,
.article-cta {
  background: #fff8e8;
  border: 1px solid #f0cf90;
  border-radius: 8px;
  margin: 26px 0;
  padding: 18px 20px;
}

.article-toc {
  border-bottom: 1px solid var(--article-line);
  border-top: 1px solid var(--article-line);
  margin: 38px 0;
  padding: 26px 0;
}

.article-toc h2,
.article-section h2,
.article-faq h2,
.article-sources h2,
.article-related h2 {
  font-size: 27px;
  line-height: 1.2;
  margin: 0 0 18px;
}

.article-section h2::after,
.article-faq > h2::after,
.article-sources > h2::after,
.article-related > h2::after {
  background: var(--article-green);
  content: "";
  display: block;
  height: 4px;
  margin-top: 12px;
  width: 50px;
}

.article-toc ol {
  columns: 2;
  margin: 0;
  padding-left: 24px;
}

.article-section {
  margin: 48px 0;
  scroll-margin-top: 24px;
}

.article-section p,
.article-section li,
.article-faq p {
  font-size: 17px;
}

.article-section li + li {
  margin-top: 8px;
}

.article-table-wrap {
  margin: 26px 0;
  overflow-x: auto;
}

.article-table-wrap table {
  border-collapse: collapse;
  min-width: 620px;
  width: 100%;
}

.article-table-wrap th,
.article-table-wrap td {
  border: 1px solid var(--article-line);
  padding: 12px;
  text-align: left;
  vertical-align: top;
}

.article-table-wrap th {
  background: #f5f5f5;
  font-weight: 700;
}

.article-cta {
  align-items: center;
  display: flex;
  gap: 18px;
  justify-content: space-between;
}

.article-cta p {
  font-size: 18px;
  font-weight: 700;
  margin: 0;
}

.article-cta a {
  background: var(--article-yellow);
  border-radius: 6px;
  color: #fff;
  display: inline-block;
  font-weight: 800;
  padding: 12px 20px;
  text-decoration: none;
  white-space: nowrap;
}

.article-cta a:hover {
  background: #e5a300;
  color: #fff;
}

.article-faq,
.article-sources,
.article-related {
  border-top: 1px solid var(--article-line);
  margin-top: 52px;
  padding-top: 36px;
}

.article-faq details {
  border-bottom: 1px solid var(--article-line);
  padding: 16px 0;
}

.article-faq summary {
  cursor: pointer;
  font-size: 18px;
  font-weight: 700;
}

.article-sources li {
  overflow-wrap: anywhere;
}

.article-sources span {
  color: #777;
}

.article-index-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 40px;
}

.article-index-card {
  background: #fff;
  border: 1px solid var(--article-line);
  border-radius: 8px;
  box-shadow: 0 4px 9px rgb(0 0 0 / 4%);
  padding: 26px;
}

.article-index-card h2 {
  font-size: 25px;
  line-height: 1.25;
  margin: 6px 0 14px;
}

.article-index-card h2 a {
  color: #111;
  text-decoration: none;
}

.article-index-card h2 a:hover {
  color: var(--article-green);
}

.article-index-card > p:first-child {
  color: var(--article-green);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.article-footer {
  background: #fff;
  border-top: 1px solid var(--article-line);
}

.article-footer__inner {
  margin: 0 auto;
  max-width: 1170px;
  padding: 46px 24px 28px;
}

.article-footer__brand img {
  height: auto;
  max-width: 245px;
}

.article-footer__links {
  display: grid;
  gap: 80px;
  grid-template-columns: repeat(2, minmax(160px, 1fr));
  margin: 34px 0;
  max-width: 650px;
}

.article-footer__links section {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.article-footer h2 {
  font-size: 20px;
  margin: 0 0 8px;
}

.article-footer__inner > p {
  border-top: 1px solid var(--article-line);
  color: #666;
  font-size: 14px;
  margin: 24px 0 0;
  padding-top: 24px;
  text-align: center;
}

.editorial-guides {
  background: #fff;
  border: 1px solid var(--article-line);
  border-left: 4px solid var(--article-green);
  border-radius: 8px;
  clear: both;
  margin: 36px 0;
  padding: 18px 20px;
}

.editorial-guides h2 {
  font-family: "Quicksand", "SFProText", sans-serif;
  font-size: 24px;
  margin: 0 0 12px;
}

.editorial-guides ul {
  margin: 0;
}

.editorial-guides a {
  color: var(--article-green);
}

@media (max-width: 700px) {
  .article-site-header__inner {
    min-height: 64px;
    padding: 10px 18px;
  }

  .article-brand img {
    height: 36px;
  }

  .article-site-header nav {
    gap: 15px;
  }

  .article-site-header nav a {
    font-size: 14px;
  }

  .couponlawn-article main,
  .couponlawn-article-index main {
    padding: 20px 12px 42px;
  }

  .article-shell,
  .article-index-shell {
    padding: 30px 20px 46px;
  }

  .article-toc ol {
    columns: 1;
  }

  .article-cta {
    align-items: stretch;
    flex-direction: column;
  }

  .article-cta a {
    text-align: center;
  }

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

  .article-footer__links {
    gap: 24px;
  }
}
