
:root {
  --primary: #25362f;
  --accent: #b06f3c;
  --bg: #f7f1e7;
  --paper: #fffdf8;
  --sage: #dfe8df;
  --mist: #d8e3e0;
  --clay: #e7c6aa;
  --text: #202721;
  --muted: rgba(32, 39, 33, 0.68);
  --line: rgba(37, 54, 47, 0.18);
  --shadow: 0 16px 36px rgba(37, 54, 47, 0.10);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  max-width: 100%;
  overflow-x: hidden;
  color: var(--text);
  background:
    linear-gradient(90deg, rgba(216, 227, 224, 0.62), transparent 15%, transparent 84%, rgba(231, 198, 170, 0.45)),
    var(--bg);
  line-height: 1.62;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

.home-header,
.home-footer,
main {
  width: min(1240px, calc(100% - 34px));
  max-width: calc(100vw - 34px);
  margin: 0 auto;
}

.home-header {
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid var(--line);
}

.home-brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.home-brand-mark {
  width: 58px;
  height: 58px;
  display: inline-grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.home-brand-mark svg {
  width: 46px;
  height: 46px;
}

.home-logo-roof {
  fill: none;
  stroke: var(--primary);
  stroke-width: 6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.home-logo-house {
  fill: var(--primary);
}

.home-logo-door {
  fill: var(--paper);
}

.home-logo-leaf {
  fill: var(--accent);
}

.home-logo-vein {
  fill: none;
  stroke: #fffaf2;
  stroke-width: 2.4;
  stroke-linecap: round;
}

.home-brand strong,
.home-brand small {
  display: block;
}

.home-brand strong {
  font-size: 24px;
  line-height: 1.05;
}

.home-brand small {
  max-width: 360px;
  margin-top: 4px;
  color: var(--muted);
  font-size: 14px;
}

.home-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 18px;
  font-size: 14px;
  font-weight: 900;
}

.home-nav a,
.text-link,
.back-link {
  color: var(--primary);
  text-decoration: none;
}

.home-nav a:hover,
.text-link:hover,
.back-link:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.home-kicker,
.eyebrow,
.kicker {
  display: inline-block;
  margin: 0 0 10px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 68px;
  line-height: 1.02;
  letter-spacing: 0;
  text-wrap: balance;
}

h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 42px;
  line-height: 1.08;
  letter-spacing: 0;
  text-wrap: balance;
}

h3 {
  margin: 0;
  font-size: 24px;
  line-height: 1.16;
  letter-spacing: 0;
  text-wrap: balance;
}

.hero-copy {
  max-width: 740px;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 19px;
}

.home-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(420px, 1.06fr);
  gap: 20px;
  align-items: stretch;
  padding: 30px 0 18px;
}

.home-hero-copy,
.home-hero-board {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.home-hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 560px;
  padding: 52px;
}

.home-hero-board {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 230px;
  grid-template-rows: minmax(260px, 1fr) auto;
  overflow: hidden;
  min-height: 560px;
  background: linear-gradient(160deg, var(--sage), var(--paper));
}

.home-hero-image {
  grid-column: 1 / -1;
  min-height: 300px;
}

.home-hero-photo {
  width: 100%;
  height: 100%;
  min-height: 300px;
  object-fit: cover;
}

.home-hero-note {
  border-top: 1px solid var(--line);
  border-right: 1px solid var(--line);
  padding: 20px;
  background: rgba(255, 253, 248, 0.88);
}

.home-hero-note span,
.home-hero-links span,
.home-category-tile span {
  display: block;
  color: var(--accent);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.home-hero-note strong {
  display: block;
  margin-top: 6px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 25px;
  line-height: 1.14;
}

.home-hero-links {
  display: grid;
  border-top: 1px solid var(--line);
  background: var(--paper);
}

.home-hero-links a {
  display: block;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
}

.home-hero-links a:last-child {
  border-bottom: 0;
}

.home-hero-links strong {
  display: block;
  margin-top: 4px;
  font-size: 15px;
  line-height: 1.24;
}

.home-mag-hero {
  position: relative;
  min-height: 600px;
  overflow: hidden;
  margin: 30px 0 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--primary);
  box-shadow: var(--shadow);
}

.home-mag-photo,
.home-mag-photo .home-hero-photo {
  width: 100%;
  height: 100%;
}

.home-mag-photo {
  position: absolute;
  inset: 0;
}

.home-mag-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(32, 39, 33, 0.82), rgba(32, 39, 33, 0.36) 48%, rgba(32, 39, 33, 0.08));
}

.home-mag-photo .home-hero-photo {
  min-height: 600px;
  object-fit: cover;
}

.home-mag-panel {
  position: relative;
  z-index: 1;
  width: min(690px, calc(100% - 48px));
  min-height: 600px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 52px;
  color: #fffaf2;
}

.home-mag-panel .home-kicker {
  color: #f4c59e;
}

.home-mag-panel .hero-copy {
  color: rgba(255, 250, 242, 0.84);
}

.home-mag-panel .button.secondary {
  border-color: rgba(255, 250, 242, 0.78);
  background: rgba(255, 250, 242, 0.08);
  color: #fffaf2;
}

.home-category-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.home-category-pills .home-category-tile {
  flex: 1 1 280px;
  min-height: 190px;
}

.home-magazine-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(420px, 0.95fr);
  gap: 20px;
  align-items: stretch;
}

.home-magazine-side {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.home-card.magazine-lead .home-card-image img {
  aspect-ratio: 16 / 9;
}

.home-card.magazine-lead h3 {
  font-size: 48px;
}

.home-card.magazine h3 {
  font-size: 24px;
}

.home-card.magazine p {
  font-size: 16px;
}

.home-room-lanes {
  display: grid;
  gap: 14px;
}

.home-room-lane {
  display: grid;
  grid-template-columns: minmax(260px, 0.58fr) minmax(0, 1.42fr);
  gap: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: 0 10px 24px rgba(37, 54, 47, 0.07);
}

.home-room-lane-intro {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 22px;
  border-right: 1px solid var(--line);
  background: linear-gradient(160deg, rgba(223, 232, 223, 0.95), var(--paper));
  color: var(--primary);
  text-decoration: none;
}

.home-room-lane-intro span,
.home-guide-link span {
  display: block;
  color: var(--accent);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.home-room-lane-intro strong {
  display: block;
  margin-top: 10px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 28px;
  line-height: 1.08;
}

.home-room-lane-intro em {
  display: block;
  margin-top: 12px;
  color: var(--muted);
  font-style: normal;
}

.home-room-lane-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.home-guide-link {
  min-height: 142px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-right: 1px solid var(--line);
  padding: 18px;
  color: var(--primary);
  text-decoration: none;
}

.home-guide-link:last-child {
  border-right: 0;
}

.home-guide-link strong {
  display: block;
  margin-top: 6px;
  font-size: 18px;
  line-height: 1.2;
}

.home-guide-link:hover,
.home-room-lane-intro:hover {
  background: rgba(223, 232, 223, 0.42);
}

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

.home-editor-grid {
  align-items: stretch;
}

.home-library-section {
  padding-top: 34px;
}

.home-library-callout {
  display: grid;
  grid-template-columns: minmax(0, 0.74fr) minmax(360px, 1.26fr);
  gap: 28px;
  align-items: stretch;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(223, 232, 223, 0.70), rgba(255, 253, 248, 0.92) 48%, rgba(231, 198, 170, 0.34)),
    var(--paper);
  padding: 28px;
  box-shadow: var(--shadow);
}

.home-library-callout h2 {
  max-width: 620px;
}

.home-library-callout p {
  max-width: 660px;
  color: var(--muted);
  font-size: 18px;
}

.home-library-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.home-library-links a {
  display: block;
  min-height: 96px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 253, 248, 0.82);
  padding: 16px;
  color: var(--primary);
  text-decoration: none;
}

.home-library-links a:last-child:nth-child(odd) {
  grid-column: 1 / -1;
}

.home-library-links a:hover {
  background: var(--paper);
  box-shadow: 0 10px 22px rgba(37, 54, 47, 0.09);
}

.home-library-links a.is-current {
  border-color: rgba(37, 54, 47, 0.45);
  background: rgba(223, 232, 223, 0.74);
}

.home-library-links span {
  display: block;
  color: var(--accent);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.home-library-links strong {
  display: block;
  margin-top: 8px;
  font-size: 18px;
  line-height: 1.16;
}

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

.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--primary);
  border-radius: 8px;
  padding: 11px 18px;
  font-weight: 900;
  text-decoration: none;
}

.button.primary {
  background: var(--primary);
  color: #fff;
}

.button.secondary {
  background: var(--paper);
  color: var(--primary);
}

.section {
  padding: 42px 0;
}

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

.home-strip {
  margin: 16px 0 8px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.home-strip ul {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.home-strip li {
  min-height: 86px;
  display: flex;
  align-items: center;
  border-right: 1px solid var(--line);
  padding: 16px 18px;
  color: rgba(32, 39, 33, 0.82);
  font-weight: 800;
}

.home-strip li:last-child {
  border-right: 0;
}

.home-feature-grid,
.home-category-lead {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(390px, 0.85fr);
  gap: 20px;
  align-items: start;
}

.home-feature-main,
.home-category-main {
  display: grid;
  gap: 20px;
}

.home-support-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
}

.home-buying-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
}

.home-side-stack {
  display: grid;
  gap: 14px;
}

.home-card-grid,
.home-category-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
}

.home-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: 0 10px 24px rgba(37, 54, 47, 0.07);
}

.home-card.compact,
.home-card.wide {
  display: grid;
  grid-template-columns: 165px minmax(0, 1fr);
  min-height: 210px;
}

.home-card.wide {
  grid-template-columns: minmax(190px, 0.36fr) minmax(0, 1fr);
}

.home-card-image {
  background: var(--sage);
}

.home-card-image img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.home-card.compact .home-card-image img,
.home-card.wide .home-card-image img {
  height: 100%;
  aspect-ratio: auto;
}

.home-card.feature .home-card-image img {
  aspect-ratio: 16 / 8;
}

.home-card-copy {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 22px;
}

.home-card.compact .home-card-copy,
.home-card.wide .home-card-copy {
  padding: 18px;
}

.home-card.feature h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 42px;
  line-height: 1.06;
}

.home-card p {
  color: var(--muted);
  font-size: 17px;
}

.home-card .text-link {
  margin-top: auto;
  padding-top: 12px;
  color: var(--primary);
  font-weight: 900;
}

.home-category-band,
.home-buying-section {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.home-category-tile {
  min-height: 238px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(160deg, var(--paper), rgba(223, 232, 223, 0.76));
  padding: 22px;
  text-decoration: none;
}

.home-category-tile:hover,
.home-card:hover {
  border-color: rgba(37, 54, 47, 0.35);
  box-shadow: 0 16px 34px rgba(37, 54, 47, 0.12);
}

.home-category-tile strong {
  display: block;
  margin-top: 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 31px;
  line-height: 1.04;
}

.home-category-tile em {
  display: block;
  margin-top: 18px;
  color: var(--muted);
  font-style: normal;
}

.home-page-hero {
  max-width: 980px;
  padding: 52px 0 26px;
}

.home-page-hero h1,
.home-article-header h1,
.policy-page h1 {
  max-width: 980px;
  font-size: 62px;
  line-height: 1.03;
}

.home-topic-row,
.topic-row {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 24px;
}

.home-topic-row span,
.topic-row span {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  padding: 8px 12px;
  color: var(--primary);
  font-size: 13px;
  font-weight: 850;
}

.home-context-box,
.takeaway-box,
.source-box,
.related-box,
.article-callout,
.article-card,
.table-scroll {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: 0 10px 24px rgba(37, 54, 47, 0.07);
}

.home-context-box,
.takeaway-box,
.source-box,
.related-box,
.article-callout,
.article-card {
  padding: 20px;
}

.home-context-box h2 {
  font-size: 30px;
}

.home-category-start {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.36fr);
  gap: 20px;
  align-items: stretch;
  padding-top: 20px;
}

.home-category-start-copy,
.home-category-start-note {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: 0 10px 24px rgba(37, 54, 47, 0.07);
  padding: 24px;
}

.home-category-start-copy p {
  max-width: 820px;
  color: var(--muted);
  font-size: 18px;
}

.home-category-start-note {
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: linear-gradient(160deg, rgba(223, 232, 223, 0.86), var(--paper));
}

.home-category-start-note span {
  display: block;
  color: var(--accent);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.home-category-start-note strong {
  display: block;
  margin-top: 10px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 30px;
  line-height: 1.08;
}

.home-category-start-note em {
  display: block;
  margin-top: 12px;
  color: var(--muted);
  font-style: normal;
}

.home-category-feature-grid {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.home-category-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.home-category-list .home-card.wide {
  min-height: 250px;
  grid-template-columns: minmax(220px, 0.30fr) minmax(0, 1fr);
}

.home-category-list .home-card.wide .home-card-copy {
  padding: 26px;
}

.home-category-list .home-card.wide h3 {
  font-size: 31px;
}

.home-category-nav-section {
  border-top: 1px solid var(--line);
}

.home-category-nav-panel {
  margin-top: 0;
}

.page-image {
  margin: 24px 0 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.page-image img {
  width: 100%;
  aspect-ratio: 16 / 7;
  object-fit: cover;
}

.home-inline-image {
  margin: 34px 0 10px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: 0 18px 42px rgba(37, 54, 47, 0.13);
}

.home-inline-image img {
  width: 100%;
  aspect-ratio: 16 / 8;
  object-fit: cover;
}

.home-article-layout {
  padding: 34px 0 54px;
}

.home-article-header {
  max-width: 980px;
  margin: 0 auto;
  text-align: center;
}

.byline,
.fine-print {
  color: var(--muted);
  font-size: 14px;
}

.home-article-shell {
  display: grid;
  grid-template-columns: minmax(0, 760px) 320px;
  gap: 36px;
  align-items: start;
  max-width: 1120px;
  margin: 34px auto 0;
}

.home-article-aside {
  grid-column: 2;
  display: grid;
  gap: 14px;
}

.home-copy {
  grid-column: 1;
  grid-row: 1;
}

.home-mag-article-header {
  max-width: 1040px;
  padding: 24px 0 18px;
}

.home-article-cover {
  max-width: 1180px;
  margin: 20px auto 0;
}

.home-article-cover .page-image {
  margin-top: 0;
}

.home-article-cover .page-image img {
  aspect-ratio: 16 / 6.5;
}

.home-article-quickbar {
  max-width: 1180px;
  display: grid;
  grid-template-columns: 1.05fr 1fr 1fr;
  gap: 0;
  margin: 0 auto 34px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-top: 0;
  border-radius: 0 0 8px 8px;
  background: var(--paper);
  box-shadow: 0 12px 28px rgba(37, 54, 47, 0.08);
}

.home-article-quickbar > div {
  min-height: 142px;
  padding: 20px;
  border-right: 1px solid var(--line);
}

.home-article-quickbar > div:last-child {
  border-right: 0;
}

.home-article-quickbar span {
  display: block;
  color: var(--accent);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.home-article-quickbar p,
.home-article-quickbar li {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.5;
}

.home-article-quickbar ul {
  margin: 10px 0 0;
  padding-left: 18px;
}

.home-mag-article-shell {
  display: block;
  max-width: 920px;
  margin-top: 0;
}

.home-mag-article .home-copy {
  display: block;
  max-width: 920px;
  margin: 0 auto;
}

.home-mag-article .article-body h2 {
  margin-top: 10px;
  font-size: 42px;
}

.home-mag-article .article-body p {
  font-size: 19px;
}

.home-article-related-panel {
  margin-top: 42px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}

.home-article-related-panel h2 {
  margin-bottom: 16px;
}

.home-mag-article .home-source-box {
  margin: 28px 0;
}

.article-body {
  color: rgba(32, 39, 33, 0.94);
}

.article-body section {
  padding-top: 30px;
}

.article-body section:first-child {
  padding-top: 0;
}

.article-body h2 {
  font-size: 38px;
}

.article-body p {
  font-size: 18px;
  line-height: 1.78;
}

.article-intro {
  border-bottom: 1px solid var(--line);
  padding-bottom: 24px;
}

.article-intro p:first-child {
  margin-top: 0;
  font-size: 21px;
  line-height: 1.62;
}

.disclaimer,
.affiliate-note {
  border-left: 5px solid var(--accent);
  border-radius: 8px;
  background: rgba(231, 198, 170, 0.38);
  padding: 16px 18px;
}

.takeaway-box h2,
.source-box h2,
.related-box h2 {
  font-family: inherit;
  font-size: 20px;
}

.takeaway-box ul,
.source-box ul,
.related-box ul,
.article-list,
.article-checklist,
.check-list {
  margin: 14px 0 0;
  padding-left: 20px;
}

.takeaway-box li + li,
.source-box li + li,
.related-box li + li,
.article-list li + li,
.article-checklist li + li {
  margin-top: 8px;
}

.related-box a,
.source-box a {
  color: var(--primary);
  font-weight: 850;
  text-decoration: none;
}

.related-box a:hover,
.source-box a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.article-callout {
  margin: 22px 0;
  border-left: 5px solid var(--primary);
  background: rgba(223, 232, 223, 0.78);
}

.article-callout h3 {
  font-size: 20px;
}

.article-card-grid,
.inline-related-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.inline-related-link {
  display: block;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  padding: 16px;
  color: var(--primary);
  text-decoration: none;
}

.inline-related-link span {
  display: block;
  color: var(--accent);
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
}

.inline-related-link strong {
  display: block;
  margin-top: 5px;
  line-height: 1.25;
}

.table-scroll {
  max-width: 100%;
  overflow-x: auto;
  margin-top: 18px;
}

.content-table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
  font-size: 15px;
}

.content-table th,
.content-table td {
  border-bottom: 1px solid var(--line);
  padding: 13px 15px;
  text-align: left;
  vertical-align: top;
}

.content-table th {
  background: rgba(37, 54, 47, 0.08);
  color: var(--primary);
}

.content-table tr:last-child td {
  border-bottom: 0;
}

.policy-page {
  max-width: 960px;
  margin: 0 auto;
  padding: 60px 0;
}

.policy-page h2 {
  margin-top: 32px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 34px;
}

.policy-page p,
.policy-page li {
  font-size: 18px;
  line-height: 1.76;
}

.home-footer {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(180px, 0.5fr) minmax(220px, 0.5fr);
  gap: 32px;
  margin-top: 30px;
  padding: 34px 0 48px;
  border-top: 1px solid var(--line);
}

.footer-group {
  display: grid;
  gap: 9px;
}

.footer-group h2 {
  margin: 0;
  font-family: inherit;
  font-size: 16px;
}

.footer-group a {
  color: var(--primary);
  font-weight: 820;
  text-decoration: none;
}

.empty-note {
  color: var(--muted);
}

@media (max-width: 1020px) {
  .home-header,
  .home-footer,
  main {
    width: min(100%, 358px);
    max-width: min(100%, 358px);
    margin-left: auto;
    margin-right: auto;
    overflow: hidden;
  }

  h1 {
    font-size: 56px;
    text-wrap: auto;
  }

  .home-page-hero h1,
  .home-article-header h1,
  .policy-page h1 {
    font-size: 52px;
  }

  h2 {
    font-size: 36px;
    text-wrap: auto;
  }

  h3,
  p,
  strong,
  em {
    text-wrap: auto;
  }

  .home-header {
    align-items: flex-start;
    flex-direction: column;
    padding: 18px 0;
  }

  .home-nav {
    justify-content: flex-start;
    max-width: 100%;
  }

  .home-nav a {
    min-width: 0;
  }

  .home-hero,
  .home-feature-grid,
  .home-category-lead,
  .home-category-start,
  .home-magazine-grid,
  .home-room-lane,
  .home-library-callout,
  .home-article-shell,
  .home-footer {
    grid-template-columns: 1fr;
  }

  .home-mag-hero,
  .home-mag-panel {
    min-height: 520px;
  }

  .home-mag-panel {
    width: 100%;
    max-width: 100%;
  }

  .home-mag-panel h1 {
    max-width: 9.5ch;
    font-size: 38px;
    text-wrap: auto;
  }

  .section-heading h2 {
    max-width: 11ch;
  }

  .home-category-tile strong,
  .home-room-lane-intro strong {
    font-size: 28px;
  }

  .home-mag-photo .home-hero-photo {
    min-height: 520px;
  }

  .home-room-lane-intro {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

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

  .home-article-quickbar > div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .home-article-quickbar > div:last-child {
    border-bottom: 0;
  }

  .home-article-aside,
  .home-copy {
    grid-column: 1;
    grid-row: auto;
  }

  .home-card-grid,
  .home-category-grid,
  .home-room-lane-links,
  .home-library-links,
  .home-strip ul {
    grid-template-columns: 1fr;
  }

  .home-strip li {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .home-strip li:last-child {
    border-bottom: 0;
  }

  .home-library-links a:last-child:nth-child(odd) {
    grid-column: auto;
  }
}

@media (max-width: 700px) {
  .home-header,
  .home-footer,
  main {
    width: calc(100vw - 32px);
    max-width: calc(100vw - 32px);
    margin-left: auto;
    margin-right: auto;
    overflow: hidden;
  }

  main > *,
  .home-mag-hero,
  .home-strip,
  .section,
  .home-category-pills,
  .home-category-tile,
  .home-card,
  .home-room-lane,
  .home-category-start,
  .home-category-list,
  .home-fresh-grid,
  .home-library-callout,
  .home-library-links {
    max-width: 100%;
  }

  h1 {
    font-size: 38px;
    line-height: 1.05;
  }

  .home-page-hero h1,
  .home-article-header h1,
  .policy-page h1 {
    font-size: 40px;
  }

  h2 {
    font-size: 31px;
  }

  .home-card.feature h3,
  .article-body h2 {
    font-size: 30px;
  }

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

  .home-hero-copy {
    min-height: 0;
    padding: 28px;
  }

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

  .home-hero-note {
    border-right: 0;
  }

  .home-card.compact,
  .home-card.wide,
  .home-category-list .home-card.wide {
    grid-template-columns: 1fr;
  }

  .home-card.compact .home-card-image img,
  .home-card.wide .home-card-image img {
    height: auto;
    aspect-ratio: 16 / 10;
  }

  .home-support-row,
  .home-buying-grid,
  .home-magazine-side,
  .home-fresh-grid,
  .home-library-links,
  .article-card-grid,
  .inline-related-grid {
    grid-template-columns: 1fr;
  }

  .home-library-callout {
    padding: 22px;
  }

  .home-mag-panel {
    width: 100%;
    padding: 28px;
  }

  .home-mag-hero,
  .home-mag-panel,
  .home-mag-photo .home-hero-photo {
    min-height: 560px;
  }

  .home-card.magazine-lead h3 {
    font-size: 34px;
  }

  .home-nav {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px 14px;
    font-size: 13px;
  }

  .home-nav a {
    max-width: 100%;
    text-align: left;
  }

  .home-mag-panel h1 {
    font-size: clamp(30px, 9.5vw, 36px);
    line-height: 1.02;
    text-wrap: wrap;
  }

  .home-mag-panel .hero-copy {
    font-size: 16px;
  }

  .home-actions .button {
    flex: 1 1 100%;
  }

  .home-category-pills .home-category-tile {
    flex: 1 1 100%;
    min-width: 0;
  }

  .home-category-tile strong,
  .home-room-lane-intro strong {
    font-size: 27px;
  }

  .home-card-copy {
    padding: 18px;
  }
}
