/*
Theme Name: Mamharu
Theme URI: https://mamharu.com
Author: Mamharu
Author URI: https://mamharu.com
Description: A warm, editorial WordPress theme for a Korean parenting blog.
Version: 1.0.0
Requires at least: 6.2
Tested up to: 7.0
Requires PHP: 8.0
Text Domain: mamharu
*/

:root {
  --font-sans: "Paperlogy", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Noto Sans KR", "Apple SD Gothic Neo", sans-serif;
  --color-ink: #26302d;
  --color-muted: #68736f;
  --color-soft: #f7f4ee;
  --color-paper: #fffdf8;
  --color-line: #e7ded1;
  --color-coral: #d96d5b;
  --color-coral-deep: #b54e42;
  --color-mint: #7fa78e;
  --color-mint-deep: #557964;
  --color-blue: #6b8daa;
  --color-honey: #e5b95f;
  --shadow-soft: 0 14px 36px rgba(38, 48, 45, 0.08);
  --radius: 8px;
  --site-max: 1180px;
}

@font-face {
  font-family: "Paperlogy";
  src: url("assets/fonts/Paperlogy-4Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: optional;
}

@font-face {
  font-family: "Paperlogy";
  src: url("assets/fonts/Paperlogy-6SemiBold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: optional;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--color-paper);
  color: var(--color-ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.78;
  word-break: keep-all;
  overflow-wrap: anywhere;
  letter-spacing: 0;
}

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

a {
  color: inherit;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

a:hover,
a:focus-visible {
  color: var(--color-coral-deep);
}

:where(a, button, input, textarea, select, .button, .topic-link, .post-card-media, .feature-row):focus-visible {
  outline: 3px solid rgba(85, 121, 100, 0.36);
  outline-offset: 3px;
}

button,
input,
textarea,
select {
  font: inherit;
}

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

.site-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.site-main {
  flex: 1;
}

.wrap {
  width: min(var(--site-max), calc(100% - 40px));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -48px;
  z-index: 200;
  padding: 10px 14px;
  background: var(--color-ink);
  color: #fff;
  border-radius: var(--radius);
}

.skip-link:focus {
  top: 12px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(231, 222, 209, 0.84);
  background: rgba(255, 253, 248, 0.94);
  backdrop-filter: blur(18px);
}

.header-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  color: var(--color-ink);
  text-decoration: none;
}

.brand-mark {
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  display: block;
  line-height: 1;
}

.brand-mark img {
  width: 100%;
  height: 100%;
}

.brand-logo {
  width: auto;
  max-width: min(248px, 52vw);
  max-height: 52px;
}

.brand-text {
  display: grid;
  gap: 1px;
}

.brand-name {
  font-size: 1.18rem;
  font-weight: 600;
  line-height: 1.1;
}

.brand-tagline {
  color: var(--color-muted);
  font-size: 0.78rem;
  font-weight: 500;
  white-space: nowrap;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--color-ink);
  cursor: pointer;
}

.nav-toggle[aria-expanded="true"],
.mobile-search-link[aria-expanded="true"] {
  border-color: rgba(85, 121, 100, 0.46);
  background: #edf4ee;
  color: var(--color-mint-deep);
}

.mobile-search-link {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--color-ink);
  cursor: pointer;
  text-decoration: none;
}

.mobile-search-link svg {
  width: 19px;
  height: 19px;
}

.nav-toggle-lines,
.nav-toggle-lines::before,
.nav-toggle-lines::after {
  width: 18px;
  height: 2px;
  display: block;
  border-radius: 999px;
  background: currentColor;
}

.nav-toggle-lines {
  position: relative;
}

.nav-toggle-lines::before,
.nav-toggle-lines::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle-lines::before {
  top: -6px;
}

.nav-toggle-lines::after {
  top: 6px;
}

.primary-menu,
.footer-menu {
  list-style: none;
  padding: 0;
  margin: 0;
}

.primary-menu {
  display: flex;
  align-items: center;
  gap: 4px;
}

.primary-menu a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 12px;
  border-radius: var(--radius);
  color: var(--color-muted);
  font-size: 0.94rem;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
}

.primary-menu a:hover,
.primary-menu a:focus-visible,
.primary-menu .current-menu-item > a {
  background: #f3eee4;
  color: var(--color-ink);
}

.header-search {
  display: flex;
  align-items: center;
  width: min(260px, 24vw);
  min-width: 190px;
}

.nav-search {
  display: none;
}

.search-form {
  width: 100%;
  display: flex;
  align-items: center;
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  background: #fff;
  overflow: hidden;
}

.search-form label {
  flex: 1;
}

.search-field {
  width: 100%;
  min-height: 40px;
  border: 0;
  padding: 0 12px;
  background: transparent;
  color: var(--color-ink);
}

.search-submit {
  width: 40px;
  min-height: 40px;
  border: 0;
  background: transparent;
  color: var(--color-muted);
  cursor: pointer;
}

.search-submit svg {
  width: 18px;
  height: 18px;
}

.search-form:focus-within {
  border-color: var(--color-mint-deep);
  box-shadow: 0 0 0 3px rgba(127, 167, 142, 0.18);
}

.hero-search {
  max-width: 430px;
  margin-top: 20px;
  box-shadow: 0 12px 28px rgba(38, 48, 45, 0.08);
}

.hero-search .search-field {
  min-height: 46px;
  padding-inline: 14px;
}

.hero-search .search-submit {
  width: 48px;
  min-height: 46px;
  background: var(--color-ink);
  color: #fff;
}

.hero {
  padding: 40px 0 32px;
}

.hero-panel {
  position: relative;
  min-height: 500px;
  display: grid;
  align-items: end;
  overflow: hidden;
  border-radius: 0 0 8px 8px;
  background: var(--color-soft);
  box-shadow: var(--shadow-soft);
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 253, 248, 0.95) 0%, rgba(255, 253, 248, 0.76) 42%, rgba(255, 253, 248, 0.22) 100%),
    linear-gradient(0deg, rgba(38, 48, 45, 0.14), rgba(38, 48, 45, 0));
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(620px, calc(100% - 36px));
  padding: 54px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  color: var(--color-mint-deep);
  font-size: 0.84rem;
  font-weight: 600;
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  border-radius: 999px;
  background: var(--color-mint);
}

.hero-title {
  margin: 0;
  font-size: clamp(2.4rem, 4.8vw, 4.7rem);
  font-weight: 600;
  line-height: 1.03;
}

.hero-copy {
  max-width: 31rem;
  margin: 22px 0 0;
  color: #4f5b57;
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  font-weight: 400;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}

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

.button-primary:hover,
.button-primary:focus-visible {
  background: #8e3d34;
  color: #fff;
}

.button-secondary {
  border-color: var(--color-line);
  background: rgba(255, 253, 248, 0.8);
  color: var(--color-ink);
}

.topic-band {
  padding: 20px 0 38px;
}

.topic-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}

.topic-link {
  min-height: 112px;
  display: grid;
  align-content: space-between;
  gap: 12px;
  padding: 16px;
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--color-ink);
  text-decoration: none;
}

.topic-link:hover,
.topic-link:focus-visible {
  border-color: rgba(217, 109, 91, 0.48);
  box-shadow: var(--shadow-soft);
}

.topic-kicker {
  color: var(--color-muted);
  font-size: 0.76rem;
  font-weight: 500;
}

.topic-name {
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.26;
}

.section {
  padding: 54px 0;
}

.section-soft {
  background: var(--color-soft);
}

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

.section-title {
  margin: 0;
  font-size: clamp(1.72rem, 2.7vw, 2.45rem);
  font-weight: 600;
  line-height: 1.18;
}

.section-copy {
  max-width: 38rem;
  margin: 8px 0 0;
  color: var(--color-muted);
  font-size: 1rem;
}

.section-head > .search-form {
  max-width: 520px;
}

.text-link {
  color: var(--color-mint-deep);
  font-weight: 600;
  white-space: nowrap;
}

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

.post-card {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  background: #fff;
}

.post-card:hover {
  box-shadow: var(--shadow-soft);
}

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

.post-card-media {
  aspect-ratio: 16 / 10;
  background: #eee4d6;
  overflow: hidden;
}

.post-card-fallback {
  width: 100%;
  height: 100%;
  display: grid;
  align-content: end;
  padding: 18px;
  background: linear-gradient(135deg, #f6efe3, #dce9de);
  color: var(--color-ink);
}

.post-card-fallback strong {
  max-width: 12rem;
  font-size: 1.08rem;
  font-weight: 600;
  line-height: 1.35;
}

.post-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.post-card-body {
  display: grid;
  gap: 10px;
  padding: 18px;
}

.post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  color: var(--color-muted);
  font-size: 0.82rem;
  font-weight: 500;
}

.post-category {
  color: var(--color-coral-deep);
}

.post-card-title {
  margin: 0;
  font-size: 1.18rem;
  font-weight: 600;
  line-height: 1.34;
}

.post-card-title a {
  display: -webkit-box;
  overflow: hidden;
  text-decoration: none;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.post-card-excerpt {
  display: -webkit-box;
  overflow: hidden;
  margin: 0;
  color: #59645f;
  font-size: 0.95rem;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.feature-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(280px, 0.8fr);
  gap: 24px;
}

.feature-list {
  display: grid;
  gap: 12px;
}

.feature-row {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  background: #fff;
  text-decoration: none;
}

.feature-row:hover,
.feature-row:focus-visible {
  box-shadow: var(--shadow-soft);
}

.feature-thumb {
  aspect-ratio: 1;
  border-radius: var(--radius);
  background: #e8dccb;
  overflow: hidden;
}

.feature-thumb-fallback {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  background: #f3eee4;
  color: var(--color-mint-deep);
  font-weight: 600;
}

.ad-safe-slot {
  width: min(var(--site-max), calc(100% - 40px));
  min-height: 0;
  margin: 0 auto;
}

.ad-safe-slot.is-configured {
  min-height: 96px;
  margin-block: 18px 8px;
  border-top: 1px solid var(--color-line);
  border-bottom: 1px solid var(--color-line);
}

.feature-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feature-row-title {
  margin: 4px 0 0;
  font-size: 1.02rem;
  font-weight: 600;
  line-height: 1.35;
}

.guide-panel {
  padding: 24px;
  border-radius: var(--radius);
  background: var(--color-ink);
  color: #fff;
}

.guide-panel h2,
.guide-panel h3 {
  margin: 0;
  font-size: 1.35rem;
  line-height: 1.3;
}

.guide-panel p {
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.78);
}

.guide-list {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 20px 0 0;
  list-style: none;
}

.guide-list li {
  display: flex;
  gap: 10px;
  align-items: baseline;
}

.guide-list li::before {
  content: "";
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--color-honey);
}

.archive-header,
.page-header {
  padding: 54px 0 28px;
  border-bottom: 1px solid var(--color-line);
}

.archive-title,
.page-title {
  max-width: 760px;
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 600;
  line-height: 1.1;
}

.archive-description,
.page-intro {
  max-width: 720px;
  margin: 16px 0 0;
  color: var(--color-muted);
  font-size: 1.05rem;
}

.content-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 38px;
  padding: 42px 0 64px;
}

.article {
  width: min(760px, 100%);
}

.article-header {
  padding: 52px 0 28px;
}

.article-title {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.7rem);
  font-weight: 600;
  line-height: 1.12;
}

.article-excerpt {
  margin: 16px 0 0;
  color: var(--color-muted);
  font-size: 1.08rem;
}

.article-hero {
  margin: 8px 0 32px;
  overflow: hidden;
  border-radius: var(--radius);
  aspect-ratio: 16 / 10;
  background: #eee4d6;
}

.article-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article-content {
  color: #303a37;
  font-size: 1.05rem;
}

.article-content > * {
  margin-top: 0;
  margin-bottom: 1.25em;
}

.article-content h2,
.article-content h3 {
  margin-top: 2em;
  color: var(--color-ink);
  line-height: 1.32;
}

.article-content h2 {
  font-size: 1.58rem;
  font-weight: 600;
}

.article-content h3 {
  font-size: 1.24rem;
  font-weight: 600;
}

.article-content ul,
.article-content ol {
  padding-left: 1.25rem;
}

.article-content li + li {
  margin-top: 0.35em;
}

.article-content blockquote {
  margin-inline: 0;
  padding: 18px 22px;
  border-left: 4px solid var(--color-mint);
  border-radius: 0 var(--radius) var(--radius) 0;
  background: #f1f6f2;
  color: #3f5148;
}

.article-content table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  border-radius: var(--radius);
  font-size: 0.95rem;
}

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

.article-content th {
  background: var(--color-soft);
  font-weight: 700;
}

.article-footer {
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid var(--color-line);
}

.article-note {
  margin-top: 32px;
  padding: 18px 20px;
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  background: #f8f3ec;
  color: #4f5b57;
  font-size: 0.94rem;
}

.article-note strong {
  color: var(--color-ink);
  font-weight: 600;
}

.article-note p {
  margin: 0;
}

.article-note p + p {
  margin-top: 8px;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.tag-list a {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  padding: 0 10px;
  border: 1px solid var(--color-line);
  border-radius: 999px;
  background: #fff;
  color: var(--color-muted);
  font-size: 0.84rem;
  font-weight: 500;
  text-decoration: none;
}

.sidebar {
  display: grid;
  align-content: start;
  gap: 16px;
}

.side-box {
  padding: 20px;
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  background: #fff;
}

.side-box h2,
.side-box h3 {
  margin: 0 0 12px;
  font-size: 1.05rem;
  font-weight: 600;
}

.side-box ul {
  padding: 0;
  margin: 0;
  list-style: none;
}

.side-box li + li {
  margin-top: 9px;
}

.pagination,
.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-top: 28px;
}

.page-numbers {
  display: inline-flex;
  min-width: 38px;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--color-muted);
  font-weight: 600;
  text-decoration: none;
}

.page-numbers.current {
  background: var(--color-ink);
  color: #fff;
}

.empty-state {
  padding: 36px;
  border: 1px dashed var(--color-line);
  border-radius: var(--radius);
  background: #fff;
}

.site-footer {
  border-top: 1px solid var(--color-line);
  background: #27312e;
  color: #fff;
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.7fr);
  gap: 32px;
  padding: 42px 0;
}

.footer-brand .brand {
  color: #fff;
}

.footer-brand p {
  max-width: 520px;
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.74);
}

.footer-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  justify-content: flex-end;
}

.footer-menu a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  padding: 0 8px;
  border-radius: 6px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.92rem;
  font-weight: 500;
  line-height: 1.2;
  text-decoration: none;
}

.footer-menu a:hover,
.footer-menu a:focus-visible {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.86rem;
}

.preview-only {
  display: none;
}

@media (max-width: 1100px) {
  .header-inner {
    gap: 10px;
  }

  .brand-logo {
    max-width: min(190px, 50vw);
    max-height: 44px;
  }

  .header-search {
    display: none;
  }

  .mobile-search-link {
    display: inline-flex;
    margin-left: auto;
  }

  .brand-tagline {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
  }

  body.nav-open {
    overflow: hidden;
  }

  .primary-navigation {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    max-height: calc(100vh - 64px);
    overflow-y: auto;
    padding: 12px 20px 18px;
    border-bottom: 1px solid var(--color-line);
    background: var(--color-paper);
  }

  .primary-navigation.is-open {
    display: block;
  }

  .primary-menu {
    display: grid;
    gap: 4px;
  }

  .primary-menu a {
    width: 100%;
    min-height: 44px;
    justify-content: flex-start;
  }

  .nav-search {
    display: block;
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--color-line);
  }

  .topic-grid {
    grid-template-columns: repeat(3, 1fr);
  }

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

  .feature-layout,
  .content-layout {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 760px) {
  body {
    font-size: 16px;
    line-height: 1.72;
  }

  .wrap {
    width: min(100% - 28px, var(--site-max));
  }

  .header-inner {
    min-height: 64px;
  }

  .hero {
    padding: 14px 0 22px;
  }

  .hero-panel {
    min-height: 388px;
  }

  .hero-media::after {
    background: linear-gradient(0deg, rgba(255, 253, 248, 0.96) 0%, rgba(255, 253, 248, 0.82) 52%, rgba(255, 253, 248, 0.34) 100%);
  }

  .hero-content {
    width: 100%;
    padding: 24px;
  }

  .hero-title {
    max-width: none;
    font-size: clamp(2.15rem, 10vw, 2.7rem);
    line-height: 1.18;
  }

  .hero-copy {
    margin-top: 12px;
    font-size: 1rem;
    line-height: 1.65;
  }

  .hero-search {
    margin-top: 16px;
  }

  .hero-actions {
    margin-top: 16px;
  }

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

  .topic-link {
    min-height: 88px;
    padding: 14px;
  }

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

  .section {
    padding: 40px 0;
  }

  .section-head {
    display: grid;
    gap: 10px;
  }

  .post-grid {
    gap: 14px;
  }

  .feature-row {
    grid-template-columns: 78px minmax(0, 1fr);
  }

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

  .article-header {
    padding-top: 36px;
  }

  .archive-title,
  .page-title,
  .article-title {
    font-size: clamp(1.75rem, 7vw, 2.1rem);
    line-height: 1.36;
  }

  .article-content {
    font-size: 1rem;
  }

  .footer-main,
  .footer-bottom {
    display: grid;
  }

  .footer-menu {
    justify-content: flex-start;
  }
}

@media (max-width: 430px) {
  .brand-tagline {
    display: none;
  }

  .topic-grid {
    gap: 10px;
  }

  .topic-link {
    min-height: 82px;
    padding: 12px;
  }

  .hero-actions .button {
    flex: 1 1 140px;
  }

  .hero-panel {
    min-height: 374px;
  }
}
