:root {
  color-scheme: dark;
  --bg: #050507;
  --panel: rgba(22, 24, 29, 0.74);
  --panel-strong: rgba(33, 36, 43, 0.84);
  --line: rgba(255, 255, 255, 0.11);
  --text: #f5f5f7;
  --muted: #a5a7ad;
  --soft: #d6d7dc;
  --accent: #66a3ff;
  --accent-soft: rgba(102, 163, 255, 0.16);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.36);
  --font-text: -apple-system, BlinkMacSystemFont, "SF Pro Text", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei UI", "Microsoft YaHei", "Segoe UI", sans-serif;
  --font-display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei UI", "Microsoft YaHei", "Segoe UI", sans-serif;
  font-family: var(--font-text);
}

* {
  box-sizing: border-box;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

html {
  min-width: 320px;
  background: var(--bg);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 50% -20%, rgba(74, 111, 177, 0.22), transparent 42%),
    linear-gradient(180deg, #090a0e 0%, #050507 48%, #08090c 100%);
  color: var(--text);
  font-family: var(--font-text);
  font-synthesis: none;
  letter-spacing: 0;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding: 16px 0;
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  flex: 0 0 auto;
  font-size: 18px;
  font-weight: 600;
}

.brand img {
  display: block;
  width: 18px;
  height: 18px;
  object-fit: contain;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  max-width: calc(100% - 180px);
  overflow-x: auto;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  scrollbar-width: none;
}

.site-nav::-webkit-scrollbar {
  display: none;
}

.site-nav a {
  flex: 0 0 auto;
  min-width: max-content;
  padding: 8px 12px;
  border-radius: 6px;
  color: var(--muted);
  font-size: 14px;
  text-align: center;
}

.site-nav a:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
}

.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.75fr);
  gap: 28px;
  align-items: center;
  min-height: clamp(460px, 58vh, 520px);
  margin-top: 8px;
  overflow: hidden;
  padding: 34px 32px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #0a1018;
}

.hero::before,
.hero::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  pointer-events: none;
}

.hero::before {
  background-image: url("/images/quiet-study-hero.png");
  background-position: center;
  background-size: cover;
  opacity: 0.72;
}

.hero::after {
  background: rgba(3, 7, 12, 0.38);
}

.hero-copy {
  max-width: 600px;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.66);
}

.hero > * {
  min-width: 0;
}

.hero-brand-mark,
.page-brand-mark,
.about-brand-mark {
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.46));
}

.hero-brand-mark {
  width: 64px;
  height: 65px;
  margin-bottom: 22px;
}

.hero-copy > .eyebrow {
  width: 64px;
  text-align: center;
}

.hero h1 {
  max-width: 560px;
  margin-bottom: 0;
  font-size: 48px;
  line-height: 1.1;
  overflow-wrap: anywhere;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 650;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin-top: 0;
  font-family: var(--font-display);
  font-weight: 600;
}

p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 22px;
  font-size: clamp(42px, 7vw, 86px);
  line-height: 1.06;
  font-weight: 640;
}

h2 {
  margin-bottom: 12px;
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.12;
}

.hero-text,
.page-heading p,
.about-panel p,
.article-header p {
  max-width: 680px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.8;
}

.post-card {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
  backdrop-filter: blur(22px);
}

.post-card-link {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  padding: 26px;
}

.post-card.featured .post-card-link {
  min-height: 300px;
  justify-content: flex-end;
}

.post-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 13px;
}

.post-card-meta span {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px 9px;
  color: var(--soft);
}

.post-card h2 {
  margin-bottom: 12px;
  font-size: clamp(22px, 3vw, 34px);
  font-weight: 600;
  overflow-wrap: anywhere;
}

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

.post-card:hover {
  border-color: rgba(102, 163, 255, 0.42);
  transform: translateY(-2px);
  transition: border-color 180ms ease, transform 180ms ease;
}

.post-card {
  scroll-margin: 110px;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.post-card-focused {
  border-color: rgba(102, 163, 255, 0.72);
  box-shadow:
    0 0 0 2px rgba(102, 163, 255, 0.2),
    var(--shadow);
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
}

.tag-list span {
  border: 1px solid rgba(102, 163, 255, 0.22);
  border-radius: 999px;
  padding: 6px 10px;
  background: var(--accent-soft);
  color: #cfe0ff;
  font-size: 13px;
}

.post-card-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 14px;
  color: var(--muted);
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}

.post-card-stats strong {
  color: var(--soft);
  font-weight: 500;
}

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

.text-link {
  color: var(--accent);
  font-size: 15px;
  font-weight: 600;
}

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

.post-list {
  display: grid;
  gap: 18px;
  padding-bottom: 72px;
}

.bible-heading {
  padding-bottom: 30px;
}

.bible-sections {
  display: grid;
  gap: 52px;
  padding-bottom: 80px;
}

.bible-section-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 14px;
}

.bible-section-heading h2 {
  margin: 0;
}

.bible-section-heading span {
  color: var(--muted);
  font-size: 14px;
}

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

.book-link {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 17px 18px;
  background: var(--panel);
  transition: border-color 180ms ease, background 180ms ease;
}

.book-link:hover {
  border-color: rgba(102, 163, 255, 0.48);
  background: var(--panel-strong);
}

.book-link strong {
  min-width: 0;
  font-size: 16px;
  font-weight: 600;
}

.book-link span {
  flex: 0 0 auto;
  color: var(--muted);
  font-size: 13px;
}

.bible-book-heading .eyebrow a:hover {
  color: var(--text);
}

.pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  padding: 0 0 72px;
}

.pagination button {
  min-width: 40px;
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  font: inherit;
  cursor: pointer;
}

.pagination button:hover,
.pagination button.active {
  border-color: rgba(102, 163, 255, 0.48);
  background: var(--accent-soft);
  color: var(--text);
}

.pagination button:disabled {
  cursor: default;
  opacity: 0.38;
}

.search-page {
  padding-bottom: 72px;
}

.search-form {
  display: grid;
  gap: 12px;
  margin-bottom: 28px;
}

.search-form label {
  color: var(--soft);
  font-size: 15px;
  font-weight: 600;
}

.search-input-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
}

.search-input-row input {
  min-width: 0;
  min-height: 50px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.045);
  color: var(--text);
  font: inherit;
}

.search-input-row input:focus {
  border-color: rgba(102, 163, 255, 0.7);
  outline: 2px solid rgba(102, 163, 255, 0.2);
  outline-offset: 2px;
}

.search-input-row button {
  min-height: 50px;
  border: 1px solid rgba(102, 163, 255, 0.48);
  border-radius: 8px;
  padding: 0 22px;
  background: var(--accent-soft);
  color: var(--text);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.search-input-row button:hover {
  background: rgba(102, 163, 255, 0.24);
}

.search-status {
  min-height: 28px;
  margin: 0 0 18px;
  color: var(--muted);
}

.search-results {
  display: grid;
  gap: 18px;
}

.search-result {
  scroll-margin-top: 110px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.search-result a {
  display: grid;
  gap: 14px;
  padding: 26px;
}

.search-result:hover {
  border-color: rgba(102, 163, 255, 0.4);
  background: var(--panel-strong);
}

.search-result-focused {
  border-color: rgba(102, 163, 255, 0.72);
  box-shadow: 0 0 0 3px rgba(102, 163, 255, 0.16), var(--shadow);
}

.search-result-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  color: var(--muted);
  font-size: 14px;
}

.search-result-meta span {
  color: var(--accent);
}

.search-result h2 {
  margin: 0;
  font-size: clamp(22px, 3vw, 30px);
  line-height: 1.25;
}

.search-result p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

.search-result mark {
  border-radius: 3px;
  padding: 0 2px;
  background: rgba(102, 163, 255, 0.28);
  color: var(--text);
}

.search-pagination {
  padding-top: 30px;
}

.post-card[hidden] {
  display: none;
}

.about-panel {
  margin: 72px 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: clamp(28px, 5vw, 52px);
  background: var(--panel-strong);
}

.page-heading,
.article-page {
  padding: 86px 0 48px;
}

.page-heading {
  position: relative;
  isolation: isolate;
  display: flex;
  min-height: 270px;
  margin: 8px 0 48px;
  overflow: hidden;
  flex-direction: column;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 38px 32px;
  background: #0a1018;
}

.page-brand-mark {
  width: 48px;
  height: 49px;
  margin-bottom: 18px;
}

.page-brand-mark-small {
  width: 40px;
  height: 40px;
  margin-bottom: 16px;
}

.page-heading::before,
.page-heading::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  pointer-events: none;
}

.page-heading::before {
  background-image: url("/images/quiet-study-hero.png");
  background-position: center;
  background-size: cover;
  opacity: 0.66;
}

.page-heading::after {
  background: rgba(3, 7, 12, 0.58);
}

.page-heading h1,
.page-heading p {
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.72);
}

.about-page {
  position: relative;
  isolation: isolate;
  display: grid;
  width: min(760px, 100%);
  min-height: 56vh;
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 72px 0;
  background: #0a1018;
  place-items: center;
}

.about-brand-mark {
  width: 56px;
  height: 57px;
  margin-bottom: -8px;
}

.about-page::before,
.about-page::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  pointer-events: none;
}

.about-page::before {
  background-image: url("/images/quiet-study-hero.png");
  background-position: center;
  background-size: cover;
  opacity: 0.7;
}

.about-page::after {
  background: rgba(3, 7, 12, 0.58);
}

.copyright-notice {
  padding: 24px;
  text-align: center;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.72);
}

.copyright-notice p {
  margin: 0;
  color: var(--soft);
  font-size: 18px;
  line-height: 1.9;
}

.copyright-notice a {
  color: var(--accent);
  overflow-wrap: anywhere;
}

.visit-counter {
  position: absolute;
  right: 0;
  bottom: 20px;
  left: 0;
  width: fit-content;
  margin: 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 6px;
  padding: 6px 10px;
  background: rgba(3, 7, 12, 0.62);
  color: var(--soft);
  font-size: 13px;
  text-align: center;
  backdrop-filter: blur(8px);
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.85);
}

.visit-counter span {
  color: var(--text);
  font-variant-numeric: tabular-nums;
}

.page-heading h1,
.article-header h1 {
  font-size: 52px;
}

.article-page {
  width: min(720px, 100%);
  margin: 0 auto;
}

.article-header {
  padding: 34px 0 26px;
}

.article-header h1 {
  font-weight: 650;
}

.article-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin: -4px 0 18px;
  color: var(--muted);
  font-size: 14px;
  font-variant-numeric: tabular-nums;
}

.article-stats strong {
  color: var(--soft);
  font-weight: 500;
}

.article-scripture {
  margin: -8px 0 16px;
  color: var(--accent);
  font-size: 16px;
  font-weight: 600;
}

.article-toc {
  margin: 8px 0 38px;
  border-left: 2px solid var(--accent);
  padding: 4px 0 4px 22px;
}

.article-toc p {
  margin: 0 0 12px;
  color: var(--text);
  font-size: 16px;
  font-weight: 700;
}

.article-toc ol {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.article-toc li.nested {
  padding-left: 18px;
}

.article-toc a {
  color: var(--muted);
  line-height: 1.55;
}

.article-toc a:hover {
  color: var(--accent);
}

.article-content {
  border-top: 1px solid var(--line);
  border-radius: 6px;
  padding: 34px clamp(0px, 2vw, 18px) 8px;
  background: color-mix(in srgb, var(--panel) 34%, transparent);
  color: var(--soft);
  font-size: 18px;
  line-height: 1.82;
}

.reading-progress {
  position: fixed;
  z-index: 20;
  top: 0;
  right: 0;
  left: 0;
  height: 3px;
  pointer-events: none;
}

.reading-progress span {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
}

.related-posts {
  margin-top: 48px;
  border-top: 1px solid var(--line);
  padding-top: 30px;
}

.related-posts h2 {
  margin: 5px 0 18px;
  font-size: 26px;
}

.related-posts > div {
  display: grid;
  gap: 10px;
}

.related-posts a {
  display: grid;
  gap: 6px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
  background: var(--panel);
}

.related-posts a span {
  color: var(--accent);
  font-size: 13px;
}

.related-posts a strong {
  color: var(--text);
  line-height: 1.5;
}

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

.article-content p {
  margin-bottom: 22px;
}

.article-content ul {
  padding-left: 22px;
}

.article-content blockquote {
  margin: 0 0 28px;
  border-left: 2px solid var(--accent);
  padding: 12px 0 12px 18px;
  color: var(--muted);
}

.article-content li {
  margin-bottom: 10px;
}

.article-return-link {
  display: inline-block;
  margin-top: 34px;
}

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

.article-adjacent > a {
  display: grid;
  gap: 8px;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  background: var(--panel);
}

.article-adjacent > a:last-of-type {
  text-align: right;
}

.article-adjacent span {
  color: var(--accent);
  font-size: 13px;
}

.article-adjacent strong {
  color: var(--text);
  font-size: 16px;
  line-height: 1.5;
}

.comments {
  margin-top: 64px;
  border-top: 1px solid var(--line);
  padding-top: 38px;
}

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

.comments-heading h2 {
  margin-bottom: 0;
}

.comments-heading > span {
  color: var(--muted);
  font-size: 14px;
}

.comment-form {
  display: grid;
  gap: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
  background: var(--panel);
}

.comment-form label {
  display: grid;
  gap: 8px;
  color: var(--soft);
  font-size: 14px;
}

.comment-form input,
.comment-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 12px 14px;
  background: rgba(0, 0, 0, 0.28);
  color: var(--text);
  font: inherit;
  line-height: 1.6;
}

.comment-form textarea {
  min-height: 130px;
  resize: vertical;
}

.comment-form input:focus,
.comment-form textarea:focus {
  border-color: var(--accent);
  outline: none;
}

.comment-honeypot {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}

.replying-to {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-left: 2px solid var(--accent);
  padding: 8px 12px;
  background: var(--accent-soft);
  color: var(--soft);
  font-size: 14px;
}

.replying-to[hidden] {
  display: none;
}

.replying-to button,
.comment-reply {
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--accent);
  font: inherit;
  cursor: pointer;
}

.comment-form-footer {
  display: flex;
  min-height: 42px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.comment-form-footer p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.comment-form-footer button {
  flex: 0 0 auto;
  min-height: 42px;
  border: 1px solid rgba(102, 163, 255, 0.48);
  border-radius: 6px;
  padding: 9px 18px;
  background: var(--accent-soft);
  color: var(--text);
  font: inherit;
  cursor: pointer;
}

.comment-form-footer button:disabled {
  cursor: wait;
  opacity: 0.55;
}

.comment-list {
  display: grid;
  gap: 16px;
  margin-top: 28px;
}

.comment-item {
  margin-left: calc(var(--comment-depth, 0) * 28px);
  border-left: 1px solid var(--line);
  padding: 16px 0 2px 18px;
}

.comment-item .comment-item {
  margin-top: 14px;
}

.comment-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 16px;
  margin-bottom: 10px;
}

.comment-meta strong {
  color: var(--text);
  font-size: 15px;
}

.comment-meta time {
  color: var(--muted);
  font-size: 12px;
}

.comment-content {
  margin-bottom: 10px;
  color: var(--soft);
  font-size: 16px;
  line-height: 1.75;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}

.comment-reply {
  font-size: 13px;
}

.comment-empty {
  margin: 0;
  border: 1px dashed var(--line);
  border-radius: 8px;
  padding: 22px;
  color: var(--muted);
  text-align: center;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  border-top: 1px solid var(--line);
  padding: 24px 0 38px;
  color: var(--muted);
  font-size: 14px;
}

@media (max-width: 820px) {
  .site-shell {
    width: min(100% - 28px, 680px);
  }

  .site-header {
    align-items: flex-start;
    gap: 14px;
    flex-direction: column;
  }

  .brand img {
    width: 18px;
    height: 18px;
  }

  .site-nav {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-width: 100%;
    width: 100%;
    overflow: visible;
    gap: 5px;
  }

  .site-nav a {
    min-width: 0;
    padding: 8px 4px;
    white-space: normal;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    gap: 24px;
    padding: 30px 22px 24px;
  }

  .page-heading {
    min-height: 240px;
    padding: 32px 22px;
  }

  .hero::before {
    background-position: 62% center;
    opacity: 0.52;
  }

  .post-card.featured .post-card-link {
    min-height: 250px;
  }

  .section-header {
    align-items: flex-start;
    flex-direction: column;
  }

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

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

  .site-footer {
    flex-direction: column;
  }

  .comment-item {
    margin-left: calc(var(--comment-depth, 0) * 14px);
  }
}

@media (max-width: 480px) {
  .site-shell {
    width: calc(100% - 22px);
  }

  h1 {
    font-size: 38px;
  }

  .hero {
    padding: 26px 18px 18px;
  }

  .page-heading {
    min-height: 220px;
    padding: 28px 18px;
  }

  .hero-brand-mark {
    width: 52px;
    height: 53px;
    margin-bottom: 18px;
  }

  .hero-copy > .eyebrow {
    width: 52px;
  }

  .hero h1 {
    font-size: 34px;
  }

  .page-brand-mark {
    width: 42px;
    height: 43px;
    margin-bottom: 16px;
  }

  .about-brand-mark {
    width: 48px;
    height: 49px;
  }

  .page-heading h1,
  .article-header h1 {
    font-size: 36px;
  }

  .hero-text,
  .page-heading p,
  .about-panel p,
  .article-header p,
  .article-content {
    font-size: 16px;
  }

  .post-card-link {
    padding: 20px;
  }

  .search-input-row {
    grid-template-columns: 1fr;
  }

  .search-input-row button {
    width: 100%;
  }

  .search-result a {
    padding: 20px;
  }

  .comment-form {
    padding: 18px;
  }

  .comment-form-footer,
  .comments-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .comment-form-footer button {
    width: 100%;
  }

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

  .article-adjacent > span[aria-hidden="true"] {
    display: none;
  }

  .article-adjacent > a:last-of-type {
    text-align: left;
  }

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