/*
Theme Name: AI Practical Editorial
Theme URI: https://example.com/
Author: AI Practical
Description: A lightweight editorial WordPress theme for AI tutorials, product reviews, and tool comparisons.
Version: 1.1.1
Requires at least: 6.5
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ai-shiyongpai
Tags: blog, news, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
*/

:root {
  --asp-paper: #f7f7f3;
  --asp-ink: #101010;
  --asp-green: #087d58;
  --asp-mist: #eaeae6;
  --asp-line: #c7c7c1;
  --asp-muted: #66665f;
  --asp-wide: 1320px;
  --asp-gutter: 48px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--asp-paper);
  color: var(--asp-ink);
  font-family: Arial, "Noto Sans SC", "Microsoft YaHei", sans-serif;
  -webkit-font-smoothing: antialiased;
}

body.admin-bar .site-header {
  top: 32px;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

.screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.screen-reader-text:focus {
  z-index: 100000;
  top: 8px;
  left: 8px;
  width: auto;
  height: auto;
  padding: 12px 18px;
  clip: auto;
  background: #fff;
  color: #000;
}

.site-shell {
  width: min(var(--asp-wide), calc(100% - var(--asp-gutter) * 2));
  margin-inline: auto;
}

.site-header {
  position: relative;
  z-index: 20;
  background: var(--asp-paper);
}

.masthead {
  min-height: 86px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  border-top: 2px solid var(--asp-ink);
  border-bottom: 2px solid var(--asp-ink);
}

.site-branding {
  display: flex;
  align-items: center;
  gap: 14px;
}

.custom-logo {
  display: block;
  width: auto;
  max-height: 40px;
}

.site-title {
  font-size: 25px;
  font-weight: 950;
  letter-spacing: -.07em;
}

.monogram {
  position: relative;
  width: 58px;
  height: 45px;
  color: transparent;
  font-family: Georgia, serif;
}

.monogram::before,
.monogram::after {
  position: absolute;
  color: var(--asp-ink);
  font-size: 18px;
}

.monogram::before {
  content: "A";
  top: 0;
  left: 5px;
}

.monogram::after {
  content: "P";
  right: 4px;
  bottom: 0;
}

.monogram span {
  position: absolute;
  top: 2px;
  left: 28px;
  width: 1px;
  height: 42px;
  background: var(--asp-green);
  transform: rotate(35deg);
}

.issue {
  margin: 0;
  text-align: right;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .24em;
}

.primary-navigation {
  border-bottom: 1px solid var(--asp-line);
}

.nav-inner {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.menu-toggle {
  display: none;
  padding: 8px 0;
  border: 0;
  background: transparent;
  color: var(--asp-ink);
  font-weight: 800;
}

.primary-menu,
.footer-menu {
  display: flex;
  align-items: center;
  gap: 30px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.primary-menu a {
  display: block;
  padding: 20px 0;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .06em;
}

.primary-menu a:hover,
.primary-menu .current-menu-item > a,
.primary-menu .current-category-ancestor > a {
  color: var(--asp-green);
}

.header-search {
  color: var(--asp-green);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
}

.cover-hero {
  min-height: 640px;
  display: grid;
  grid-template-columns: 59% 41%;
  border-bottom: 2px solid var(--asp-ink);
}

.cover-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-right: 2px solid var(--asp-ink);
}

.cover-title {
  min-height: 550px;
  display: flex;
  align-items: center;
  margin: 0;
  overflow: hidden;
  font-family: Impact, "Arial Black", "Microsoft YaHei", sans-serif;
  font-size: clamp(116px, 12vw, 194px);
  font-weight: 950;
  line-height: .82;
  letter-spacing: -.08em;
  white-space: nowrap;
}

.cover-title span {
  display: block;
  width: 132%;
  padding-left: 18px;
  transform: scaleX(.75);
  transform-origin: left center;
}

.cover-bottom {
  min-height: 88px;
  padding: 0 30px 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-top: 2px solid var(--asp-ink);
}

.cover-bottom p {
  margin: 0;
  font-size: clamp(15px, 1.75vw, 25px);
  letter-spacing: .06em;
}

.cover-link,
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--asp-green);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .08em;
  white-space: nowrap;
}

.cover-link span,
.text-link span {
  font-size: 19px;
}

.cover-art {
  position: relative;
  min-width: 0;
  min-height: 640px;
  overflow: hidden;
  background: #e8e8e3;
}

.cover-art img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: 82% center;
}

.cover-note {
  position: absolute;
  left: 20px;
  bottom: 20px;
  padding: 9px 11px;
  background: var(--asp-ink);
  color: #fff;
  font-size: 8px;
  font-weight: 800;
  line-height: 1.45;
  letter-spacing: .16em;
}

.section {
  padding-block: 86px;
}

.latest-section {
  border-bottom: 1px solid var(--asp-line);
}

.section-head {
  display: grid;
  grid-template-columns: 160px 1fr auto;
  gap: 28px;
  align-items: end;
  margin-bottom: 40px;
}

.section-index {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .17em;
}

.section-index span {
  color: var(--asp-green);
  font-family: Georgia, serif;
  font-size: 20px;
  letter-spacing: 0;
}

.section-title {
  margin: 0;
  font-size: clamp(48px, 5.2vw, 76px);
  line-height: .9;
  letter-spacing: -.07em;
}

.section-head > .text-link {
  padding-bottom: 7px;
  border-bottom: 1px solid var(--asp-green);
}

.article-directory {
  border-top: 2px solid var(--asp-ink);
}

.article-row {
  min-height: 128px;
  display: grid;
  grid-template-columns: 58px 112px 1fr 72px 28px;
  gap: 22px;
  align-items: center;
  padding: 22px 10px;
  border-bottom: 1px solid var(--asp-ink);
  transition: color .18s ease, background .18s ease, padding .18s ease;
}

.article-row:hover,
.article-row:focus-visible {
  padding-left: 24px;
  background: var(--asp-green);
  color: #fff;
}

.article-number {
  font-family: Georgia, serif;
  font-size: 18px;
}

.article-category {
  width: fit-content;
  padding: 6px 8px;
  color: var(--asp-green);
  border: 1px solid var(--asp-green);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .08em;
}

.article-row:hover .article-category,
.article-row:focus-visible .article-category {
  color: #fff;
  border-color: #fff;
}

.article-row h3 {
  margin: 0;
  font-size: clamp(20px, 2vw, 28px);
  line-height: 1.25;
  letter-spacing: -.035em;
}

.article-row p {
  margin: 9px 0 0;
  color: var(--asp-muted);
  font-size: 11px;
  line-height: 1.55;
}

.article-row:hover p,
.article-row:focus-visible p {
  color: rgba(255, 255, 255, .76);
}

.article-row time {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .08em;
}

.article-arrow {
  font-size: 21px;
}

.empty-directory {
  padding: 45px 10px;
  border-bottom: 1px solid var(--asp-ink);
}

.evidence-grid {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  border-bottom: 1px solid var(--asp-line);
}

.standards {
  padding-right: 70px;
  border-right: 1px solid var(--asp-line);
}

.impact {
  padding-left: 70px;
}

.small-heading {
  margin: 0;
  font-size: 18px;
  font-weight: 900;
  letter-spacing: .22em;
}

.green-rule {
  display: block;
  width: 42px;
  height: 2px;
  margin: 15px 0 32px;
  background: var(--asp-green);
}

.standard-row {
  display: grid;
  grid-template-columns: 24px 140px 1fr 40px;
  gap: 9px;
  align-items: center;
  margin: 18px 0;
  font-size: 10px;
  font-weight: 700;
}

.standard-check {
  color: var(--asp-green);
  font-size: 18px;
}

.standard-meter {
  height: 3px;
  background: #d2d2cc;
}

.standard-meter i {
  display: block;
  height: 100%;
  background: var(--asp-green);
}

.standard-row small {
  text-align: right;
}

.impact-numbers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-bottom: 44px;
}

.impact-numbers div {
  padding-inline: 26px;
  border-right: 1px solid var(--asp-line);
}

.impact-numbers div:first-child {
  padding-left: 0;
}

.impact-numbers div:last-child {
  border-right: 0;
}

.impact-numbers strong {
  display: block;
  font-family: Georgia, serif;
  font-size: 58px;
  font-weight: 400;
}

.impact-numbers span {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .08em;
}

.editorial-quote {
  position: relative;
  margin: 0;
  padding: 32px 34px 28px 104px;
  border: 1px solid var(--asp-line);
}

.editorial-quote::before {
  content: "“";
  position: absolute;
  left: 36px;
  top: 15px;
  color: var(--asp-green);
  font-family: Georgia, serif;
  font-size: 74px;
}

.editorial-quote p {
  margin: 0 0 12px;
  font-family: Georgia, "Noto Serif SC", serif;
  font-size: 16px;
  line-height: 1.65;
}

.editorial-quote cite {
  color: var(--asp-green);
  font-size: 8px;
  font-style: normal;
  font-weight: 800;
  letter-spacing: .1em;
}

.about-grid {
  display: grid;
  grid-template-columns: 90px 1.1fr .9fr;
  gap: 46px;
  align-items: start;
}

.about-index {
  color: var(--asp-green);
  font-family: Georgia, serif;
  font-size: 24px;
}

.kicker {
  margin: 0;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .2em;
}

.about-grid h2 {
  margin: 22px 0 0;
  font-size: clamp(42px, 4.8vw, 72px);
  line-height: 1.08;
  letter-spacing: -.06em;
}

.about-copy p {
  margin: 0 0 22px;
  font-size: 14px;
  line-height: 1.9;
}

.newsletter {
  background: var(--asp-mist);
}

.newsletter-grid {
  display: grid;
  grid-template-columns: .85fr 1.15fr .75fr;
  gap: 70px;
  align-items: stretch;
}

.newsletter-intro > p:last-child {
  max-width: 245px;
  margin-top: 24px;
  font-size: 13px;
  line-height: 1.75;
}

.benefits {
  padding-left: 66px;
  border-left: 1px solid var(--asp-line);
}

.benefit {
  display: grid;
  grid-template-columns: 42px 1fr;
  align-items: center;
  margin-bottom: 22px;
}

.benefit > span {
  color: var(--asp-green);
  font-size: 22px;
}

.benefit p {
  margin: 0;
  font-size: 11px;
  line-height: 1.6;
}

.benefit b {
  display: block;
  font-size: 8px;
  letter-spacing: .12em;
}

.newsletter-card {
  min-height: 230px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid var(--asp-green);
}

.newsletter-card p {
  margin: 0;
  font-size: 16px;
  line-height: 1.75;
  letter-spacing: .08em;
}

.newsletter-button {
  display: flex;
  justify-content: space-between;
  padding-top: 14px;
  color: var(--asp-green);
  border-top: 1px solid var(--asp-green);
  font-size: 10px;
  font-weight: 900;
}

.newsletter-button.is-disabled {
  opacity: .65;
}

.site-footer {
  padding-block: 42px;
}

.footer-grid {
  display: grid;
  grid-template-columns: .6fr 1fr auto;
  gap: 30px;
  align-items: center;
}

.footer-brand {
  font-size: 21px;
  font-weight: 950;
  letter-spacing: -.06em;
}

.footer-description {
  margin: 0;
  color: var(--asp-muted);
  font-size: 11px;
}

.footer-links {
  display: flex;
  gap: 20px;
  align-items: center;
  font-size: 10px;
  font-weight: 700;
}

.footer-links span {
  color: #888;
}

/* Inner pages */
.page-hero {
  padding: 82px 0 58px;
  border-bottom: 2px solid var(--asp-ink);
}

.page-eyebrow {
  margin: 0 0 16px;
  color: var(--asp-green);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .14em;
}

.page-hero h1 {
  max-width: 1000px;
  margin: 0;
  font-size: clamp(48px, 7vw, 96px);
  line-height: 1;
  letter-spacing: -.06em;
}

.page-description {
  max-width: 720px;
  margin: 25px 0 0;
  color: var(--asp-muted);
  font-size: 16px;
  line-height: 1.8;
}

.post-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 38px 28px;
}

.post-card {
  border-top: 2px solid var(--asp-ink);
}

.post-card-image {
  aspect-ratio: 16 / 10;
  display: block;
  overflow: hidden;
  background: var(--asp-mist);
}

.post-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .3s ease;
}

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

.post-card-body {
  padding: 20px 0 8px;
}

.post-meta {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-bottom: 13px;
  color: var(--asp-muted);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .08em;
}

.post-meta a {
  color: var(--asp-green);
}

.post-card h2 {
  margin: 0;
  font-size: 24px;
  line-height: 1.28;
  letter-spacing: -.035em;
}

.post-card p {
  margin: 13px 0 0;
  color: var(--asp-muted);
  font-size: 13px;
  line-height: 1.7;
}

.pagination {
  margin-top: 58px;
  padding-top: 25px;
  border-top: 1px solid var(--asp-line);
}

.nav-links {
  display: flex;
  gap: 10px;
  align-items: center;
}

.page-numbers {
  min-width: 38px;
  min-height: 38px;
  display: grid;
  place-items: center;
  padding: 8px;
  border: 1px solid var(--asp-line);
  font-size: 12px;
  font-weight: 800;
}

.page-numbers.current,
.page-numbers:hover {
  background: var(--asp-green);
  color: #fff;
  border-color: var(--asp-green);
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 820px) 260px;
  gap: 90px;
  justify-content: space-between;
  align-items: start;
}

.article-header {
  padding: 78px 0 48px;
  border-bottom: 2px solid var(--asp-ink);
}

.article-header h1 {
  max-width: 1040px;
  margin: 16px 0 25px;
  font-size: clamp(46px, 6vw, 82px);
  line-height: 1.05;
  letter-spacing: -.055em;
}

.article-summary {
  max-width: 760px;
  margin: 0;
  color: var(--asp-muted);
  font-size: 18px;
  line-height: 1.75;
}

.article-featured {
  width: 100%;
  max-height: 680px;
  object-fit: cover;
  margin-top: 42px;
}

.article-content {
  min-width: 0;
  font-family: Georgia, "Noto Serif SC", "Songti SC", serif;
  font-size: 18px;
  line-height: 1.95;
}

.article-content > * {
  max-width: 100%;
}

.article-content h2,
.article-content h3,
.article-content h4 {
  font-family: Arial, "Noto Sans SC", "Microsoft YaHei", sans-serif;
  line-height: 1.3;
  letter-spacing: -.035em;
}

.article-content h2 {
  margin: 2.2em 0 .8em;
  font-size: 34px;
}

.article-content h3 {
  margin: 1.8em 0 .7em;
  font-size: 26px;
}

.article-content a {
  color: var(--asp-green);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.article-content blockquote {
  margin: 2em 0;
  padding: 24px 28px;
  border-left: 4px solid var(--asp-green);
  background: var(--asp-mist);
}

.article-content pre {
  overflow-x: auto;
  padding: 24px;
  background: #151515;
  color: #f5f5f5;
  font-size: 14px;
  line-height: 1.7;
}

.article-content table {
  width: 100%;
  border-collapse: collapse;
  font-family: Arial, "Noto Sans SC", sans-serif;
  font-size: 14px;
}

.article-content th,
.article-content td {
  padding: 13px;
  border: 1px solid var(--asp-line);
  text-align: left;
}

.article-content th {
  background: var(--asp-mist);
}

.article-sidebar {
  position: sticky;
  top: 30px;
  padding-top: 5px;
}

.sidebar-box {
  margin-bottom: 28px;
  padding: 22px;
  border: 1px solid var(--asp-line);
}

.sidebar-box h2 {
  margin: 0 0 13px;
  font-size: 13px;
  letter-spacing: .1em;
}

.sidebar-box p {
  margin: 0;
  color: var(--asp-muted);
  font-size: 12px;
  line-height: 1.75;
}

.affiliate-notice {
  border-color: var(--asp-green);
}

.post-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 42px;
  padding-top: 28px;
  border-top: 1px solid var(--asp-line);
}

.post-tags a {
  padding: 7px 10px;
  border: 1px solid var(--asp-line);
  font-family: Arial, sans-serif;
  font-size: 10px;
  text-decoration: none;
}

.post-navigation {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-top: 55px;
  padding-top: 30px;
  border-top: 2px solid var(--asp-ink);
}

.post-navigation a {
  font-size: 14px;
  line-height: 1.5;
}

.nav-next {
  text-align: right;
}

.comments-area {
  max-width: 820px;
  margin-top: 70px;
}

.comments-title {
  font-size: 24px;
}

.comment-list {
  padding: 0;
  list-style: none;
}

.comment-body {
  padding: 22px 0;
  border-top: 1px solid var(--asp-line);
}

.comment-form-comment label {
  display: block;
  margin-bottom: 8px;
}

.comment-form textarea,
.comment-form input {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--asp-line);
  background: #fff;
}

.comment-form .submit {
  width: auto;
  padding: 12px 20px;
  border: 0;
  background: var(--asp-green);
  color: #fff;
  cursor: pointer;
}

.search-form {
  display: flex;
  max-width: 650px;
}

.search-field {
  flex: 1;
  min-width: 0;
  padding: 14px 16px;
  border: 1px solid var(--asp-ink);
  background: #fff;
}

.search-submit {
  padding: 14px 22px;
  border: 1px solid var(--asp-ink);
  background: var(--asp-ink);
  color: #fff;
  cursor: pointer;
}

.not-found {
  min-height: 55vh;
  display: grid;
  place-items: center;
  text-align: center;
}

.not-found h1 {
  margin: 0;
  color: var(--asp-green);
  font-family: Georgia, serif;
  font-size: 110px;
  font-weight: 400;
}

.not-found h2 {
  margin: 5px 0 15px;
  font-size: 32px;
}

@media (max-width: 980px) {
  :root {
    --asp-gutter: 24px;
  }

  .cover-hero {
    grid-template-columns: 1fr;
  }

  .cover-copy {
    min-height: 500px;
    border-right: 0;
    border-bottom: 2px solid var(--asp-ink);
  }

  .cover-title {
    min-height: 410px;
  }

  .cover-art {
    min-height: 520px;
  }

  .section-head {
    grid-template-columns: 130px 1fr auto;
  }

  .article-row {
    grid-template-columns: 48px 100px 1fr 58px 26px;
    gap: 15px;
  }

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

  .standards {
    padding: 0 0 65px;
    border-right: 0;
    border-bottom: 1px solid var(--asp-line);
  }

  .impact {
    padding: 65px 0 0;
  }

  .about-grid {
    grid-template-columns: 60px 1fr;
  }

  .about-copy {
    grid-column: 2;
  }

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

  .newsletter-card {
    grid-column: 1 / -1;
    min-height: 170px;
  }

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

  .article-layout {
    grid-template-columns: 1fr;
    gap: 55px;
  }

  .article-sidebar {
    position: static;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
}

@media (max-width: 680px) {
  :root {
    --asp-gutter: 14px;
  }

  body.admin-bar .site-header {
    top: 46px;
  }

  .masthead {
    min-height: 72px;
  }

  .site-title {
    font-size: 19px;
  }

  .monogram {
    transform: scale(.8);
  }

  .issue {
    font-size: 8px;
  }

  .nav-inner {
    min-height: 50px;
    flex-wrap: wrap;
  }

  .menu-toggle {
    display: block;
  }

  .primary-menu {
    width: 100%;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding-bottom: 14px;
  }

  .primary-menu.is-open {
    display: flex;
  }

  .primary-menu li,
  .primary-menu a {
    width: 100%;
  }

  .primary-menu a {
    padding: 12px 0;
    border-top: 1px solid var(--asp-line);
  }

  .header-search {
    margin-left: auto;
  }

  .cover-copy {
    min-height: 365px;
  }

  .cover-title {
    min-height: 292px;
    font-size: clamp(76px, 26vw, 112px);
  }

  .cover-title span {
    padding-left: 8px;
  }

  .cover-bottom {
    min-height: 72px;
    padding-inline: 10px;
  }

  .cover-bottom p {
    font-size: 12px;
  }

  .cover-link {
    font-size: 8px;
  }

  .cover-art {
    min-height: 400px;
  }

  .section {
    padding-block: 62px;
  }

  .section-head {
    grid-template-columns: 1fr auto;
    gap: 18px;
  }

  .section-index {
    grid-column: 1 / -1;
  }

  .section-title {
    font-size: 50px;
  }

  .article-row {
    min-height: 0;
    grid-template-columns: 34px 1fr 24px;
    gap: 12px;
    padding: 22px 4px;
  }

  .article-category,
  .article-row time {
    display: none;
  }

  .article-row h3 {
    font-size: 18px;
  }

  .article-row p {
    font-size: 10px;
  }

  .standard-row {
    grid-template-columns: 24px 112px 1fr 34px;
  }

  .impact-numbers {
    gap: 8px;
  }

  .impact-numbers div {
    padding-inline: 9px;
  }

  .impact-numbers strong {
    font-size: 38px;
  }

  .impact-numbers span {
    font-size: 7px;
  }

  .editorial-quote {
    padding: 72px 24px 24px;
  }

  .editorial-quote::before {
    left: 22px;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .about-copy {
    grid-column: auto;
  }

  .newsletter-grid {
    grid-template-columns: 1fr;
    gap: 45px;
  }

  .benefits {
    padding-left: 0;
    border-left: 0;
  }

  .newsletter-card {
    grid-column: auto;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 13px;
  }

  .footer-links {
    flex-wrap: wrap;
  }

  .page-hero {
    padding: 55px 0 40px;
  }

  .page-hero h1,
  .article-header h1 {
    font-size: 44px;
  }

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

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

  .article-content {
    font-size: 17px;
  }

  .article-content h2 {
    font-size: 28px;
  }

  .post-navigation {
    grid-template-columns: 1fr;
  }

  .nav-next {
    text-align: left;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition: none !important;
  }
}
