:root {
  color-scheme: light;
  --bg: #fff7d9;
  --paper: #fffdf4;
  --paper-strong: #ffffff;
  --ink: #1d2633;
  --muted: #657184;
  --line: #e9dcae;
  --blue: #2f80ed;
  --teal: #14a59a;
  --green: #55b867;
  --yellow: #ffd45a;
  --orange: #ff8a4c;
  --pink: #ff6fae;
  --red: #ef5350;
  --shadow: 0 18px 38px rgba(61, 61, 92, 0.14);
  --soft-shadow: 0 10px 24px rgba(61, 61, 92, 0.09);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(rgba(47, 128, 237, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(47, 128, 237, 0.055) 1px, transparent 1px),
    radial-gradient(circle at 12% 16%, rgba(255, 212, 90, 0.42), transparent 28%),
    linear-gradient(180deg, #fff3bf 0%, #fff9ea 48%, #eefcff 100%);
  background-size: 28px 28px, 28px 28px, auto, auto;
  color: var(--ink);
  font-family: ui-rounded, "Microsoft YaHei", "Segoe UI", system-ui, sans-serif;
  line-height: 1.75;
}

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

code {
  background: rgba(47, 128, 237, 0.12);
  border: 1px solid rgba(47, 128, 237, 0.18);
  border-radius: 6px;
  color: #1f5eb4;
  padding: 0.1rem 0.38rem;
}

.site-header,
.article-header {
  position: relative;
  overflow: hidden;
  border-bottom: 3px solid #f4cf54;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.82), rgba(255, 250, 224, 0.72)),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.38) 0 18px, rgba(255, 210, 90, 0.18) 18px 20px);
}

.site-header::before,
.article-header::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(120deg, transparent 0 18%, rgba(20, 165, 154, 0.14) 18% 22%, transparent 22% 44%, rgba(255, 111, 174, 0.12) 44% 48%, transparent 48% 100%);
}

.nav,
main,
.footer {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.nav {
  position: relative;
  z-index: 1;
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #182235;
  font-weight: 900;
  font-size: 1.12rem;
}

.brand-mark {
  width: 34px;
  height: 34px;
  display: inline-block;
  border: 3px solid #1d2633;
  border-radius: 8px;
  background:
    linear-gradient(90deg, transparent 0 42%, rgba(29, 38, 51, 0.16) 42% 48%, transparent 48%),
    linear-gradient(135deg, var(--yellow) 0 33%, var(--teal) 33% 66%, var(--pink) 66%);
  box-shadow: 4px 4px 0 #1d2633;
}

.nav-links {
  display: flex;
  gap: 10px;
  color: #27364a;
  font-size: 0.96rem;
  font-weight: 800;
}

.nav-links a {
  border: 2px solid rgba(29, 38, 51, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.64);
  padding: 7px 13px;
}

.nav-links a:hover,
.footer a:hover,
.back-link:hover {
  color: #0e756d;
  transform: translateY(-1px);
}

.hero {
  position: relative;
  z-index: 1;
  width: min(1120px, calc(100% - 40px));
  min-height: 500px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 390px);
  align-items: center;
  gap: 48px;
  padding: 46px 0 62px;
}

.hero-content {
  max-width: 760px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: #e0537f;
  font-size: 0.86rem;
  font-weight: 900;
}

.hero h1,
.article-title h1 {
  margin: 0;
  max-width: 850px;
  color: #172033;
  font-size: clamp(2.55rem, 6.8vw, 5.1rem);
  line-height: 1.04;
  letter-spacing: 0;
}

.hero h1 {
  text-shadow: 0 4px 0 rgba(255, 212, 90, 0.42);
}

.hero-copy,
.article-title p:last-child {
  max-width: 700px;
  margin: 24px 0 0;
  color: #4f5c70;
  font-size: 1.08rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.primary-link,
.secondary-link {
  border-radius: 999px;
  font-weight: 900;
  padding: 11px 18px;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.primary-link {
  border: 2px solid #182235;
  background: var(--yellow);
  box-shadow: 5px 5px 0 #182235;
}

.secondary-link {
  border: 2px solid rgba(29, 38, 51, 0.18);
  background: rgba(255, 255, 255, 0.72);
  color: #27415f;
}

.primary-link:hover,
.secondary-link:hover {
  transform: translateY(-2px);
}

.hero-visual {
  min-height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.visual-board {
  position: relative;
  width: min(100%, 380px);
  aspect-ratio: 1 / 0.94;
  border: 3px solid #1d2633;
  border-radius: 8px;
  background:
    linear-gradient(#c6f3ff 1px, transparent 1px),
    linear-gradient(90deg, #c6f3ff 1px, transparent 1px),
    #ffffff;
  background-size: 24px 24px;
  box-shadow: 12px 12px 0 rgba(29, 38, 51, 0.88);
  transform: rotate(1deg);
}

.visual-board span {
  position: absolute;
  display: block;
}

.sun {
  width: 72px;
  height: 72px;
  top: 24px;
  right: 28px;
  border: 3px solid #1d2633;
  border-radius: 50%;
  background: var(--yellow);
  box-shadow: 0 0 0 12px rgba(255, 212, 90, 0.28);
}

.notebook {
  width: 148px;
  height: 118px;
  left: 56px;
  top: 66px;
  border: 3px solid #1d2633;
  border-radius: 8px;
  background:
    linear-gradient(90deg, #ff6fae 0 18px, transparent 18px),
    repeating-linear-gradient(#ffffff 0 19px, #b7d7ff 19px 21px);
  box-shadow: 7px 7px 0 #2f80ed;
  transform: rotate(-7deg);
}

.pencil {
  width: 178px;
  height: 22px;
  left: 146px;
  top: 198px;
  border: 3px solid #1d2633;
  border-radius: 999px 8px 8px 999px;
  background: linear-gradient(90deg, #ffd45a 0 70%, #ff8a4c 70% 86%, #f9e2bd 86%);
  transform: rotate(-17deg);
}

.book {
  width: 132px;
  height: 42px;
  left: 58px;
  bottom: 54px;
  border: 3px solid #1d2633;
  border-radius: 8px;
}

.book-one {
  background: var(--teal);
  box-shadow: 5px 5px 0 #1d2633;
}

.book-two {
  left: 94px;
  bottom: 100px;
  background: var(--orange);
  transform: rotate(5deg);
}

.paper {
  width: 72px;
  height: 86px;
  border: 3px solid #1d2633;
  border-radius: 8px;
  background:
    linear-gradient(#ffffff 0 20%, transparent 20%),
    repeating-linear-gradient(#fffdf4 0 14px, #b7d7ff 14px 16px);
}

.paper-one {
  right: 48px;
  bottom: 62px;
  transform: rotate(8deg);
}

.paper-two {
  right: 116px;
  top: 42px;
  width: 54px;
  height: 64px;
  background: #d9f8a6;
  transform: rotate(-11deg);
}

.star {
  width: 22px;
  height: 22px;
  background: var(--pink);
  clip-path: polygon(50% 0, 62% 34%, 98% 35%, 69% 56%, 80% 92%, 50% 70%, 20% 92%, 31% 56%, 2% 35%, 38% 34%);
}

.star-one {
  left: 246px;
  top: 118px;
}

.star-two {
  left: 24px;
  bottom: 112px;
  background: var(--green);
}

main {
  padding: 50px 0 72px;
}

.columns {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 34px;
  align-items: center;
  margin-bottom: 54px;
  overflow: hidden;
  border: 3px solid rgba(29, 38, 51, 0.14);
  border-radius: 8px;
  background:
    radial-gradient(circle at 85% 20%, rgba(255, 212, 90, 0.56), transparent 24%),
    linear-gradient(135deg, rgba(47, 128, 237, 0.16), transparent 38%),
    linear-gradient(315deg, rgba(255, 111, 174, 0.16), transparent 34%),
    rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow);
  padding: 34px;
}

.columns + .columns {
  margin-top: 22px;
}

.teacher-column {
  background:
    radial-gradient(circle at 82% 22%, rgba(85, 184, 103, 0.45), transparent 24%),
    linear-gradient(135deg, rgba(255, 138, 76, 0.18), transparent 40%),
    linear-gradient(315deg, rgba(47, 128, 237, 0.16), transparent 34%),
    rgba(255, 255, 255, 0.78);
}

.reading-column {
  background:
    radial-gradient(circle at 82% 18%, rgba(255, 138, 76, 0.36), transparent 24%),
    linear-gradient(135deg, rgba(20, 165, 154, 0.18), transparent 42%),
    linear-gradient(315deg, rgba(255, 212, 90, 0.2), transparent 36%),
    rgba(255, 255, 255, 0.78);
}

.column-intro {
  position: relative;
  z-index: 1;
}

.column-intro h2 {
  margin: 0;
  color: #172033;
  font-size: clamp(2rem, 5vw, 3.6rem);
  line-height: 1.08;
  letter-spacing: 0;
}

.column-intro p:not(.section-kicker) {
  max-width: 720px;
  margin: 14px 0 0;
  color: #4f5c70;
}

.column-link {
  display: inline-flex;
  margin-top: 22px;
}

.column-board {
  position: relative;
  min-height: 220px;
}

.column-board span {
  position: absolute;
  display: block;
}

.column-book {
  width: 154px;
  height: 186px;
  right: 64px;
  top: 14px;
  border: 3px solid #1d2633;
  border-radius: 8px 14px 14px 8px;
  background:
    linear-gradient(90deg, #14a59a 0 20px, transparent 20px),
    linear-gradient(135deg, #fff2a8 0 48%, #ff8a4c 48% 52%, #fff2a8 52%);
  box-shadow: 10px 10px 0 rgba(29, 38, 51, 0.82);
  transform: rotate(-5deg);
}

.column-book::before {
  content: "Charlie";
  position: absolute;
  left: 38px;
  top: 44px;
  color: #172033;
  font-weight: 900;
  transform: rotate(-8deg);
}

.column-book::after {
  content: "";
  position: absolute;
  left: 42px;
  right: 26px;
  top: 84px;
  height: 8px;
  border-radius: 999px;
  background: #2f80ed;
  box-shadow: 0 24px 0 #ff6fae, 0 48px 0 #55b867;
}

.column-note {
  width: 116px;
  height: 86px;
  left: 6px;
  bottom: 18px;
  border: 3px solid #1d2633;
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(255, 111, 174, 0.9) 0 14px, transparent 14px),
    repeating-linear-gradient(#ffffff 0 16px, #b7d7ff 16px 18px);
  box-shadow: 6px 6px 0 #2f80ed;
  transform: rotate(7deg);
}

.column-bulb {
  width: 64px;
  height: 64px;
  left: 58px;
  top: 12px;
  border: 3px solid #1d2633;
  border-radius: 50% 50% 44% 44%;
  background: #ffd45a;
  box-shadow: 0 0 0 10px rgba(255, 212, 90, 0.26);
}

.column-bulb::after {
  content: "";
  position: absolute;
  left: 19px;
  bottom: -18px;
  width: 22px;
  height: 16px;
  border: 3px solid #1d2633;
  border-top: 0;
  border-radius: 0 0 6px 6px;
  background: #ffffff;
}

.column-line {
  height: 8px;
  border-radius: 999px;
  background: rgba(29, 38, 51, 0.16);
}

.line-one {
  width: 140px;
  right: 14px;
  bottom: 16px;
}

.line-two {
  width: 92px;
  right: 34px;
  bottom: 40px;
}

.line-three {
  width: 60px;
  left: 18px;
  top: 104px;
}

.teacher-board span {
  position: absolute;
  display: block;
}

.teacher-blackboard {
  width: 178px;
  height: 126px;
  right: 42px;
  top: 24px;
  border: 4px solid #1d2633;
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.18) 0 2px, transparent 2px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.18) 0 2px, transparent 2px),
    #1f8f74;
  background-size: 22px 22px;
  box-shadow: 10px 10px 0 rgba(29, 38, 51, 0.82);
  transform: rotate(2deg);
}

.teacher-blackboard::before {
  content: "A17  A18  B25";
  position: absolute;
  left: 22px;
  top: 34px;
  color: #fff7d9;
  font-weight: 900;
}

.teacher-blackboard::after {
  content: "";
  position: absolute;
  left: 24px;
  right: 28px;
  top: 74px;
  height: 7px;
  border-radius: 999px;
  background: #fff7d9;
  box-shadow: 0 20px 0 rgba(255, 247, 217, 0.72);
}

.teacher-ruler {
  width: 172px;
  height: 24px;
  left: 20px;
  bottom: 42px;
  border: 3px solid #1d2633;
  border-radius: 8px;
  background:
    repeating-linear-gradient(90deg, transparent 0 15px, rgba(29, 38, 51, 0.25) 15px 18px),
    #ffd45a;
  box-shadow: 6px 6px 0 #ff8a4c;
  transform: rotate(-13deg);
}

.teacher-card {
  width: 96px;
  height: 112px;
  left: 42px;
  top: 18px;
  border: 3px solid #1d2633;
  border-radius: 8px;
  background:
    linear-gradient(180deg, #ff6fae 0 22px, transparent 22px),
    repeating-linear-gradient(#ffffff 0 17px, #b7d7ff 17px 19px);
  box-shadow: 6px 6px 0 #2f80ed;
  transform: rotate(-8deg);
}

.teacher-circle {
  width: 54px;
  height: 54px;
  right: 18px;
  bottom: 30px;
  border: 3px solid #1d2633;
  border-radius: 50%;
  background: #ff8a4c;
  box-shadow: 0 0 0 10px rgba(255, 138, 76, 0.24);
}

.reading-book {
  width: 148px;
  height: 172px;
  right: 54px;
  top: 18px;
  border: 3px solid #1d2633;
  border-radius: 10px 16px 16px 10px;
  background:
    linear-gradient(90deg, #2f80ed 0 18px, transparent 18px),
    linear-gradient(135deg, #fffdf4 0 48%, #ffd45a 48% 53%, #fffdf4 53%);
  box-shadow: 10px 10px 0 rgba(29, 38, 51, 0.82);
  transform: rotate(4deg);
}

.reading-book::before {
  content: "Anti";
  position: absolute;
  left: 42px;
  top: 42px;
  color: #172033;
  font-weight: 900;
}

.reading-book::after {
  content: "";
  position: absolute;
  left: 40px;
  right: 30px;
  top: 86px;
  height: 8px;
  border-radius: 999px;
  background: #ff8a4c;
  box-shadow: 0 24px 0 #14a59a, 0 48px 0 #ff6fae;
}

.reading-flame {
  width: 72px;
  height: 88px;
  left: 42px;
  top: 24px;
  border: 3px solid #1d2633;
  border-radius: 56% 56% 50% 50%;
  background:
    radial-gradient(circle at 50% 72%, #ffd45a 0 30%, transparent 31%),
    linear-gradient(135deg, #ff8a4c 0 55%, #ff6fae 55%);
  box-shadow: 0 0 0 9px rgba(255, 138, 76, 0.2);
  transform: rotate(-8deg);
}

.reading-wave {
  width: 122px;
  height: 66px;
  left: 12px;
  bottom: 30px;
  border: 3px solid #1d2633;
  border-radius: 999px 999px 14px 14px;
  background:
    radial-gradient(circle at 25% 26%, rgba(255, 255, 255, 0.8) 0 12%, transparent 13%),
    repeating-linear-gradient(135deg, #2f80ed 0 13px, #14a59a 13px 26px);
  box-shadow: 6px 6px 0 rgba(29, 38, 51, 0.72);
}

.reading-arrow {
  width: 116px;
  height: 72px;
  right: 14px;
  bottom: 18px;
  border-right: 8px solid #55b867;
  border-top: 8px solid #55b867;
  transform: rotate(10deg);
}

.reading-arrow::after {
  content: "";
  position: absolute;
  right: -17px;
  top: -17px;
  border-left: 18px solid #55b867;
  border-top: 13px solid transparent;
  border-bottom: 13px solid transparent;
  transform: rotate(-45deg);
}

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

.toolbar h2,
.about h2 {
  margin: 0;
  color: #172033;
  font-size: 2.2rem;
  line-height: 1.15;
}

.toolbar p:not(.section-kicker),
.about p:not(.section-kicker) {
  margin: 8px 0 0;
  color: var(--muted);
}

.search {
  width: min(380px, 100%);
  display: grid;
  gap: 7px;
  color: #44546c;
  font-size: 0.88rem;
  font-weight: 800;
}

.search input {
  width: 100%;
  border: 2px solid #d5c781;
  border-radius: 8px;
  background: var(--paper-strong);
  color: var(--ink);
  font: inherit;
  padding: 12px 14px;
  outline: none;
  box-shadow: 4px 4px 0 rgba(29, 38, 51, 0.1);
}

.search input:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(47, 128, 237, 0.16), 4px 4px 0 rgba(29, 38, 51, 0.12);
}

.tag-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 26px;
}

.tag-button {
  border: 2px solid rgba(29, 38, 51, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  color: #44546c;
  cursor: pointer;
  font: inherit;
  font-weight: 850;
  padding: 7px 13px;
}

.tag-button:nth-child(4n + 1) {
  border-color: rgba(47, 128, 237, 0.32);
}

.tag-button:nth-child(4n + 2) {
  border-color: rgba(20, 165, 154, 0.34);
}

.tag-button:nth-child(4n + 3) {
  border-color: rgba(255, 111, 174, 0.34);
}

.tag-button.active,
.tag-button:hover {
  border-color: #182235;
  background: #182235;
  color: white;
}

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

.post-card {
  position: relative;
  min-height: 266px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  border: 2px solid rgba(29, 38, 51, 0.12);
  border-radius: 8px;
  background: var(--paper-strong);
  padding: 24px;
  box-shadow: var(--soft-shadow);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.post-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 8px;
  background: var(--blue);
}

.post-card:nth-child(2n)::before {
  background: var(--teal);
}

.post-card:nth-child(3n)::before {
  background: var(--pink);
}

.post-card:nth-child(4n)::before {
  background: var(--orange);
}

.post-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  color: #64728a;
  font-size: 0.82rem;
  font-weight: 800;
}

.post-card h3 {
  margin: 24px 0 10px;
  color: #182235;
  font-size: 1.3rem;
  line-height: 1.35;
}

.post-card h3 a:hover {
  color: #0e756d;
}

.post-card p {
  margin: 0;
  color: var(--muted);
}

.empty-state {
  border: 2px dashed #d5c781;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.62);
  padding: 28px;
  color: var(--muted);
  text-align: center;
}

.about {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 40px;
  margin-top: 72px;
  padding: 38px;
  border: 2px solid rgba(29, 38, 51, 0.12);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(255, 111, 174, 0.12), transparent 36%),
    linear-gradient(135deg, rgba(85, 184, 103, 0.14), transparent 42%),
    rgba(255, 255, 255, 0.72);
  box-shadow: var(--soft-shadow);
}

.about-notes {
  border: 2px solid rgba(29, 38, 51, 0.12);
  border-radius: 8px;
  background: var(--paper-strong);
  padding: 22px;
}

.hero-panel span,
.toc span,
.about-notes span {
  display: block;
  margin-bottom: 8px;
  color: #e0537f;
  font-size: 0.82rem;
  font-weight: 900;
}

.about-notes ul {
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
}

.article-title {
  position: relative;
  z-index: 1;
  width: min(980px, calc(100% - 40px));
  margin: 0 auto;
  padding: 70px 0 80px;
}

.article-title h1 {
  max-width: 900px;
  font-size: clamp(2.45rem, 6.2vw, 4.7rem);
}

.article-shell {
  display: grid;
  grid-template-columns: minmax(0, 760px) 240px;
  align-items: start;
  gap: 56px;
  min-width: 0;
}

.article-body {
  min-width: 0;
  border: 2px solid rgba(29, 38, 51, 0.12);
  border-radius: 8px;
  background:
    linear-gradient(#fffdf4 31px, rgba(47, 128, 237, 0.13) 32px),
    var(--paper);
  background-size: 100% 32px;
  padding: 42px;
  box-shadow: var(--soft-shadow);
}

.article-body h1 {
  margin: 0 0 28px;
  color: #182235;
  font-size: 2.2rem;
  line-height: 1.22;
  overflow-wrap: anywhere;
}

.article-body h2 {
  position: relative;
  margin: 42px 0 14px;
  color: #172033;
  font-size: 1.45rem;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

.article-body h2::before {
  content: "";
  display: inline-block;
  width: 12px;
  height: 12px;
  margin-right: 9px;
  border-radius: 3px;
  background: var(--orange);
  box-shadow: 4px 4px 0 var(--yellow);
  vertical-align: 0.08em;
}

.article-body p,
.article-body li {
  color: #3c4759;
  overflow-wrap: anywhere;
}

.article-body ul {
  min-width: 0;
  padding-left: 21px;
}

.article-body figure {
  margin: 30px 0;
  border: 2px solid rgba(29, 38, 51, 0.12);
  border-radius: 8px;
  background: #ffffff;
  padding: 10px;
  box-shadow: var(--soft-shadow);
}

.article-body img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 6px;
}

.article-body figcaption {
  margin-top: 8px;
  color: #64728a;
  font-size: 0.88rem;
  font-weight: 800;
  text-align: center;
}

.article-aside {
  position: sticky;
  top: 24px;
  display: grid;
  gap: 18px;
  min-width: 0;
}

.back-link,
.toc {
  border: 2px solid rgba(29, 38, 51, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 4px 4px 0 rgba(29, 38, 51, 0.09);
  padding: 18px;
}

.back-link {
  font-weight: 900;
}

.toc {
  display: grid;
  gap: 10px;
}

.toc a {
  color: #5e6f86;
  font-size: 0.93rem;
}

.toc a:hover {
  color: #0e756d;
}

.footer {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-top: 2px solid rgba(29, 38, 51, 0.12);
  color: #5f6d82;
  font-weight: 800;
}

@media (max-width: 920px) {
  .hero,
  .about,
  .columns,
  .article-shell {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding: 42px 0 54px;
  }

  .hero-visual {
    min-height: 300px;
    justify-content: flex-start;
  }

  .visual-board {
    width: min(100%, 340px);
  }

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

  .column-board {
    min-height: 190px;
  }

  .article-aside {
    position: static;
    order: -1;
  }
}

@media (max-width: 640px) {
  .nav,
  main,
  .footer,
  .hero,
  .article-title {
    width: min(100% - 28px, 1120px);
  }

  .nav {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
    padding: 18px 0;
  }

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

  .hero h1,
  .article-title h1 {
    font-size: 2.35rem;
  }

  .hero-copy,
  .article-title p:last-child {
    font-size: 1rem;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .primary-link,
  .secondary-link {
    text-align: center;
  }

  .hero-visual {
    min-height: 250px;
  }

  .visual-board {
    width: min(100%, 290px);
  }

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

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

  .about,
  .columns,
  .article-body {
    padding: 24px 18px;
  }

  .column-board {
    min-height: 170px;
  }

  .column-book {
    right: 26px;
    width: 132px;
    height: 158px;
  }

  .article-title {
    padding: 54px 0 60px;
  }

  .footer {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    padding: 18px 0;
  }
}
