:root {
  --bg: #f7fbff;
  --surface: #ffffff;
  --surface-2: #eaf3f6;
  --ink: #17242a;
  --muted: #5f6d73;
  --line: #d9e7ec;
  --accent: #0f6b75;
  --accent-2: #c65f4b;
  --gold: #d99a3d;
  --shadow: 0 18px 50px rgba(16, 49, 58, 0.12);
  --radius: 8px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: "Segoe UI", Roboto, Arial, "Helvetica Neue", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

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

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

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

h1,
h2,
h3,
h4 {
  margin: 0 0 14px;
  font-family: "Segoe UI", Roboto, Arial, "Helvetica Neue", sans-serif;
  line-height: 1.18;
  font-weight: 800;
  letter-spacing: 0;
}

h1 {
  font-size: clamp(40px, 5.2vw, 66px);
}

h2 {
  font-size: 34px;
}

h3 {
  font-size: 24px;
}

p {
  margin: 0 0 18px;
}

ul,
ol {
  padding-left: 22px;
}

.container {
  width: min(100% - 32px, var(--container));
  margin-inline: auto;
}

.narrow {
  width: min(100% - 32px, 820px);
}

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

.skip-link:focus {
  z-index: 9999;
  top: 12px;
  left: 12px;
  width: auto;
  height: auto;
  clip: auto;
  padding: 10px 14px;
  background: var(--ink);
  color: #fff;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background:
    linear-gradient(180deg, rgba(255, 253, 248, 0.98), rgba(250, 245, 237, 0.94)),
    var(--bg);
  border-bottom: 1px solid rgba(110, 88, 65, 0.15);
  backdrop-filter: blur(14px);
}

.header-inner {
  position: relative;
  min-height: 84px;
  display: grid;
  grid-template-columns: minmax(270px, auto) minmax(0, 1fr) minmax(210px, 260px);
  align-items: center;
  gap: clamp(18px, 2.4vw, 36px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
  min-width: 0;
}

.brand-logo-img {
  display: block;
  width: auto;
  height: auto;
}

.brand-logo-header {
  max-width: 310px;
  max-height: 70px;
}

.custom-logo-link {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  line-height: 0;
}

.custom-logo {
  width: auto;
  max-width: 310px;
  max-height: 64px;
  object-fit: contain;
}

.brand-mark {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 1px solid var(--gold);
  border-radius: 50%;
  color: var(--accent);
  font-family: "Segoe UI", Roboto, Arial, "Helvetica Neue", sans-serif;
  font-weight: 700;
}

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

.brand-text strong {
  font-family: "Segoe UI", Roboto, Arial, "Helvetica Neue", sans-serif;
  font-size: 20px;
  white-space: nowrap;
}

.brand-text small {
  color: var(--muted);
  font-size: 12px;
  white-space: nowrap;
}

.primary-nav {
  min-width: 0;
  justify-self: center;
  margin: 0;
}

.primary-nav .menu {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(4px, 0.7vw, 10px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.primary-nav .menu > li {
  position: relative;
}

.primary-nav a {
  position: relative;
  display: block;
  padding: 10px clamp(8px, 0.85vw, 13px);
  border-radius: 999px;
  color: #2f342f;
  font-weight: 700;
  font-size: 14px;
  white-space: nowrap;
}

.primary-nav a:hover {
  background: #efe3d2;
  color: var(--accent);
}

.primary-nav .menu-item-has-children > a {
  padding-right: 28px;
}

.primary-nav .menu-item-has-children > a::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 12px;
  width: 6px;
  height: 6px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-62%) rotate(45deg);
}

.primary-nav .sub-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  z-index: 20;
  min-width: 230px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 4px;
  margin: 0;
  padding: 10px;
  border: 1px solid rgba(110, 88, 65, 0.15);
  border-radius: 8px;
  background: rgba(255, 253, 248, 0.98);
  box-shadow: 0 18px 44px rgba(51, 37, 24, 0.12);
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
}

.primary-nav li:hover > .sub-menu,
.primary-nav li:focus-within > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.primary-nav .sub-menu a {
  border-radius: 8px;
  padding: 11px 13px;
  white-space: nowrap;
}

.header-search {
  justify-self: end;
  width: min(100%, 260px);
  display: flex;
  align-items: center;
  min-width: 0;
  border: 1px solid rgba(110, 88, 65, 0.18);
  border-radius: 999px;
  background: rgba(255, 253, 248, 0.82);
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(51, 37, 24, 0.05);
}

.header-search input {
  width: 100%;
  min-width: 0;
  height: 40px;
  border: 0;
  background: transparent;
  padding: 0 12px 0 15px;
  color: var(--ink);
  font: inherit;
  font-size: 14px;
  outline: none;
}

.header-search button {
  height: 40px;
  border: 0;
  background: #102019;
  color: #fff8ec;
  padding: 0 15px;
  cursor: pointer;
  font-weight: 800;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.nav-toggle span:not(.screen-reader-text) {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: var(--ink);
}

.hero {
  position: relative;
  min-height: 460px;
  display: grid;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: url("../img/tiemmay-hero.png") center right / cover no-repeat;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(247, 251, 255, 0.96) 0%, rgba(247, 251, 255, 0.82) 42%, rgba(247, 251, 255, 0.18) 72%),
    linear-gradient(180deg, rgba(247, 251, 255, 0.04), var(--bg) 100%);
}

.hero-content {
  padding: 62px 0 70px;
}

.hero-content p:not(.eyebrow) {
  max-width: 650px;
  color: #3f473f;
  font-size: 18px;
}

.eyebrow,
.post-kicker {
  display: inline-flex;
  align-items: center;
  margin: 0 0 12px;
  color: #8f5a42;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: none;
}

.button,
.search-form button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 800;
  cursor: pointer;
}

.button-primary,
.search-form button {
  background: var(--accent);
  color: #fff;
}

.button-primary:hover,
.search-form button:hover {
  background: #7f3f27;
  color: #fff;
}

.button-ghost {
  border-color: rgba(31, 35, 32, 0.25);
  background: rgba(255, 253, 248, 0.6);
}

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

.home-hero {
  min-height: 430px;
}

.home-hero::after {
  background:
    linear-gradient(90deg, rgba(251, 247, 239, 0.97) 0%, rgba(251, 247, 239, 0.84) 46%, rgba(251, 247, 239, 0.3) 78%),
    linear-gradient(180deg, rgba(251, 247, 239, 0.05), var(--bg) 100%);
}

.intro-band {
  margin-top: -52px;
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
  box-shadow: var(--shadow);
}

.intro-band > div {
  min-height: 142px;
  padding: 24px;
  background: var(--surface);
}

.intro-band span {
  display: block;
  color: var(--accent-2);
  font-weight: 800;
  font-size: 13px;
  margin-bottom: 10px;
}

.intro-band strong {
  font-family: "Segoe UI", Roboto, Arial, "Helvetica Neue", sans-serif;
  font-size: 22px;
  line-height: 1.28;
}

.topic-cards-section,
.category-post-section,
.special-post-section {
  padding: 64px 0;
}

.topic-cards-section {
  position: relative;
  background:
    linear-gradient(180deg, rgba(255, 253, 248, 0.9), rgba(246, 239, 228, 0.92)),
    #fffbf4;
  overflow: hidden;
}

.topic-cards-section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(154, 79, 47, 0.06), transparent 34%),
    linear-gradient(180deg, transparent, rgba(31, 111, 97, 0.04));
}

.topic-intro {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 28px 0;
}

.topic-intro-wide {
  position: relative;
  max-width: 760px;
  padding-top: 0;
  z-index: 1;
}

.topic-intro p:not(.eyebrow) {
  color: var(--muted);
}

.topic-card-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
}

.topic-card {
  position: relative;
  min-height: 300px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  border: 0;
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(255, 252, 246, 0.78)),
    var(--surface);
  padding: 28px 24px 22px;
  box-shadow: 0 18px 44px rgba(51, 37, 24, 0.08);
  overflow: hidden;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

.topic-card::before {
  content: "";
  position: absolute;
  left: 22px;
  right: 22px;
  top: 0;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), var(--gold));
  opacity: 0.72;
}

.topic-card:hover {
  transform: translateY(-4px);
  background: rgba(255, 253, 248, 0.96);
  box-shadow: 0 24px 54px rgba(51, 37, 24, 0.12);
}

.topic-card-label {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 9px;
  border-radius: 999px;
  background: rgba(154, 79, 47, 0.1);
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
}

.topic-card h3 {
  font-family: "Segoe UI", Roboto, Arial, "Helvetica Neue", sans-serif;
  font-size: 21px;
  line-height: 1.25;
  min-height: 52px;
  margin-bottom: 0;
}

.topic-card p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
  min-height: 66px;
  margin-bottom: 0;
}

.topic-card-foot {
  display: grid;
  gap: 10px;
  width: 100%;
  margin-top: auto;
}

.topic-card-foot small {
  display: block;
  min-height: 0;
  color: #677166;
  font-size: 12px;
  line-height: 1.45;
}

.section-heading h2 {
  font-family: "Segoe UI", Roboto, Arial, "Helvetica Neue", sans-serif;
  font-size: clamp(30px, 3.7vw, 44px);
  line-height: 1.24;
  font-weight: 800;
  max-width: 880px;
}

.section-heading p:not(.eyebrow) {
  max-width: 820px;
  margin-top: 8px;
  color: #59645c;
  font-size: 17px;
}

.row-heading {
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(110, 88, 65, 0.12);
}

.category-post-section-ky-thuat-may {
  background:
    linear-gradient(180deg, rgba(251, 247, 239, 0.95), rgba(255, 253, 248, 0.88)),
    #fbf7ef;
}

.category-post-section-chat-lieu-vai {
  background:
    linear-gradient(180deg, rgba(245, 239, 229, 0.96), rgba(251, 247, 239, 0.9)),
    #f5efe5;
}

.category-post-section-mau-may-kieu-dang {
  background:
    linear-gradient(180deg, rgba(247, 244, 236, 0.96), rgba(255, 253, 248, 0.9)),
    #f7f4ec;
}

.special-post-section-nganh-may {
  background: #eef4ee;
}

.special-post-section-nganh-may-alt {
  background: #f8f1e7;
}

.category-post-section .post-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.featured-list-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  gap: 24px;
  align-items: stretch;
}

.feature-strip-main {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.1fr);
  gap: 24px;
  align-items: center;
  border-radius: 8px;
  background: rgba(255, 253, 248, 0.86);
  padding: 18px;
  box-shadow: 0 14px 32px rgba(31, 56, 46, 0.1);
}

.feature-strip-image {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 8px;
}

.feature-strip-image img,
.story-row-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feature-strip-main h3 {
  font-family: "Segoe UI", Roboto, Arial, "Helvetica Neue", sans-serif;
  font-size: 28px;
  line-height: 1.25;
}

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

.feature-strip-item {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 14px;
  align-items: center;
  min-height: 92px;
  border-radius: 8px;
  background: rgba(255, 253, 248, 0.76);
  padding: 16px;
}

.feature-strip-item span {
  color: var(--accent-2);
  font-family: "Segoe UI", Roboto, Arial, "Helvetica Neue", sans-serif;
  font-size: 28px;
}

.feature-strip-item h3,
.story-row-item h3 {
  font-family: "Segoe UI", Roboto, Arial, "Helvetica Neue", sans-serif;
  font-size: 19px;
  line-height: 1.35;
  margin: 0;
}

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

.story-row-item {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 18px;
  align-items: center;
  border-radius: 8px;
  background: rgba(255, 253, 248, 0.84);
  padding: 14px;
  box-shadow: 0 10px 24px rgba(51, 37, 24, 0.07);
}

.story-row-image {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 8px;
}

.story-row-item p {
  margin-top: 8px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 14px;
}

.featured-section,
.latest-grid-section,
.article-shell,
.related-posts {
  padding: 78px 0;
}

.page-shell {
  position: relative;
  padding: 38px 0 78px;
  background:
    linear-gradient(180deg, rgba(255, 253, 248, 0.62), rgba(251, 247, 239, 0) 280px),
    radial-gradient(circle at 16% 12%, rgba(179, 138, 56, 0.12), transparent 260px),
    radial-gradient(circle at 86% 10%, rgba(31, 111, 97, 0.08), transparent 280px);
}

.section-heading {
  max-width: 720px;
  margin-bottom: 28px;
}

.row-heading {
  max-width: none;
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
}

.text-link {
  color: #9a4f2f;
  font-weight: 800;
  text-underline-offset: 4px;
}

.featured-card {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(320px, 0.88fr);
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.featured-image img,
.post-card-image img,
.article-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.featured-image {
  min-height: 420px;
}

.featured-copy {
  padding: 42px;
  align-self: center;
}

.featured-copy h3 {
  font-size: 40px;
}

.entry-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  color: var(--muted);
  font-size: 13px;
}

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

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

.load-more-wrap {
  display: grid;
  place-items: center;
  gap: 10px;
  margin-top: 34px;
}

.load-more-posts {
  min-width: 156px;
}

.load-more-posts[disabled] {
  cursor: wait;
  opacity: 0.72;
}

.load-more-status {
  margin: 0;
  color: #667166;
  font-size: 14px;
}

.post-card {
  min-width: 0;
  border: 0;
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 253, 248, 0.94), rgba(255, 253, 248, 0.78)),
    var(--surface);
  box-shadow: 0 18px 44px rgba(51, 37, 24, 0.08);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.post-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 52px rgba(51, 37, 24, 0.12);
}

.post-card-image {
  display: block;
  aspect-ratio: 16 / 9;
  background: var(--surface-2);
  overflow: hidden;
  margin: 12px 12px 0;
  border-radius: 8px;
}

.post-card-body {
  padding: 20px 22px 24px;
}

.post-card h2 {
  font-family: "Segoe UI", Roboto, Arial, "Helvetica Neue", sans-serif;
  font-size: 20px;
  line-height: 1.38;
  font-weight: 800;
}

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

.post-card .post-kicker {
  margin-bottom: 10px;
  font-size: 12px;
}

.post-card .entry-meta {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid rgba(110, 88, 65, 0.12);
}

.topic-band {
  padding: 80px 0;
  background: #18241f;
  color: #fffdf8;
}

.topic-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
  gap: 44px;
  align-items: start;
}

.topic-grid p {
  color: #d9d1c2;
}

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

.topic-list ul {
  display: contents;
}

.topic-list li,
.footer-grid li {
  list-style: none;
}

.topic-list a {
  display: flex;
  justify-content: space-between;
  padding: 14px 16px;
  border: 1px solid rgba(255, 253, 248, 0.18);
  background: rgba(255, 253, 248, 0.06);
  border-radius: var(--radius);
}

.content-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 36px;
  align-items: start;
}

.archive-header {
  position: relative;
  margin-bottom: 28px;
  padding: 34px 38px;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 253, 248, 0.94), rgba(238, 244, 238, 0.76)),
    var(--surface);
  box-shadow: 0 18px 46px rgba(51, 37, 24, 0.08);
  overflow: hidden;
}

.archive-header::before {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--gold), var(--accent-2));
}

.archive-header h1 {
  font-size: clamp(34px, 4vw, 52px);
}

.archive-header p:not(.eyebrow) {
  max-width: 760px;
  color: #59645b;
  font-size: 18px;
}

.sidebar {
  position: sticky;
  top: 100px;
  display: grid;
  gap: 18px;
}

.widget,
.author-box,
.comments-area {
  border: 0;
  border-radius: 8px;
  background: rgba(255, 253, 248, 0.86);
  padding: 24px;
  box-shadow: 0 16px 40px rgba(51, 37, 24, 0.08);
}

.widget-title,
.author-box h2 {
  font-size: 22px;
}

.latest-sidebar-widget {
  background:
    linear-gradient(180deg, rgba(255, 253, 248, 0.96), rgba(248, 242, 233, 0.9)),
    var(--surface);
}

.latest-sidebar-list {
  display: grid;
  gap: 0;
  margin: 12px 0 0;
  padding: 0;
  counter-reset: latest;
  list-style: none;
}

.latest-sidebar-list li {
  counter-increment: latest;
}

.latest-sidebar-list a {
  position: relative;
  display: grid;
  gap: 4px;
  padding: 15px 0 15px 42px;
  border-top: 1px solid rgba(110, 88, 65, 0.12);
}

.latest-sidebar-list a::before {
  content: counter(latest, decimal-leading-zero);
  position: absolute;
  top: 17px;
  left: 0;
  color: var(--accent-2);
  font-weight: 900;
  font-size: 18px;
}

.latest-sidebar-list span {
  color: #222a25;
  font-weight: 800;
  line-height: 1.42;
}

.latest-sidebar-list small {
  color: #758077;
  font-size: 13px;
}

.search-form {
  display: flex;
  gap: 8px;
}

.search-form label {
  flex: 1;
}

.search-field {
  width: 100%;
  min-height: 46px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
}

.breadcrumbs {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 22px;
  padding: 8px 12px;
  border: 1px solid rgba(154, 79, 47, 0.1);
  border-radius: 999px;
  background: rgba(255, 253, 248, 0.72);
  color: var(--muted);
  font-size: 13px;
  box-shadow: 0 10px 28px rgba(51, 37, 24, 0.04);
}

.breadcrumbs a {
  color: var(--accent);
}

.single-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 36px;
  align-items: start;
}

.single-main {
  min-width: 0;
}

.single-layout .sidebar {
  margin-top: 0;
}

.article {
  width: 100%;
  margin-inline: 0;
}

.article-header {
  position: relative;
  margin-bottom: 28px;
  padding: 32px 34px;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 253, 248, 0.96), rgba(238, 244, 238, 0.72)),
    var(--surface);
  box-shadow: 0 18px 46px rgba(51, 37, 24, 0.08);
  overflow: hidden;
}

.article-header::before {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--gold), var(--accent-2));
}

.article-header h1 {
  font-size: clamp(34px, 4.8vw, 56px);
}

.article-image {
  margin: 0 0 34px;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 0;
  border-radius: 8px;
  box-shadow: 0 18px 46px rgba(51, 37, 24, 0.08);
}

.article-content {
  padding: 10px 6px 0;
  font-size: 18px;
}

.article-toc {
  margin: 0 0 26px;
  border: 1px solid rgba(110, 88, 65, 0.14);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 253, 248, 0.96), rgba(248, 242, 233, 0.84)),
    var(--surface);
  padding: 20px 22px;
  box-shadow: 0 14px 34px rgba(51, 37, 24, 0.06);
}

.article-toc-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
}

.article-toc-head span {
  color: var(--ink);
  font-size: 20px;
  font-weight: 900;
}

.article-toc-head small {
  color: #758077;
  font-size: 13px;
}

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

.article-toc li {
  counter-increment: toc;
}

.article-toc a {
  position: relative;
  display: block;
  padding: 9px 10px 9px 38px;
  border-radius: 8px;
  color: #2f3a35;
  font-weight: 750;
  line-height: 1.45;
}

.article-toc a::before {
  content: counter(toc, decimal-leading-zero);
  position: absolute;
  left: 10px;
  top: 10px;
  color: var(--accent-2);
  font-size: 13px;
  font-weight: 900;
}

.article-toc a:hover {
  background: rgba(154, 79, 47, 0.08);
  color: var(--accent);
}

.article-toc .toc-subitem a {
  padding-left: 52px;
  color: #59645b;
  font-size: 15px;
}

.article-toc .toc-subitem a::before {
  left: 24px;
}

.toc-anchor {
  display: block;
  height: 0;
  scroll-margin-top: 118px;
}

.article-content h2 {
  margin-top: 36px;
  font-size: 32px;
  scroll-margin-top: 118px;
}

.article-content h3 {
  margin-top: 28px;
  scroll-margin-top: 118px;
}

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

.article-content blockquote {
  margin: 28px 0;
  padding: 22px 26px;
  border-left: 4px solid var(--gold);
  background: var(--surface);
  color: #3f473f;
}

.article-footer,
.author-box,
.comments-area {
  width: 100%;
  margin: 28px 0 0;
}

.author-box {
  display: grid;
  grid-template-columns: 78px 1fr;
  gap: 18px;
  align-items: center;
  background:
    linear-gradient(135deg, rgba(255, 253, 248, 0.96), rgba(238, 244, 238, 0.78)),
    var(--surface);
}

.author-avatar img,
.author-seal {
  border-radius: 50%;
}

.author-seal {
  width: 78px;
  height: 78px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(179, 138, 56, 0.42);
  background:
    radial-gradient(circle at 35% 30%, rgba(179, 138, 56, 0.18), rgba(255, 253, 248, 0) 58%),
    #102019;
  color: #f1b454;
  font-size: 24px;
  font-weight: 900;
}

.author-box .eyebrow {
  color: var(--accent);
}

.author-box h2 {
  color: var(--ink);
  font-size: 26px;
}

.author-box p {
  color: #59645b;
}

.author-more {
  display: inline-flex;
  margin-top: 4px;
  color: var(--accent);
  font-weight: 800;
}

.comments-area {
  background:
    linear-gradient(180deg, rgba(255, 253, 248, 0.96), rgba(248, 242, 233, 0.9)),
    var(--surface);
}

.comments-title,
.comment-reply-title {
  font-size: 26px;
}

.comment-note {
  max-width: 680px;
  color: #59645b;
}

.comment-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 16px;
  margin-top: 18px;
}

.comment-form-comment,
.comment-form-spam,
.form-submit {
  grid-column: 1 / -1;
}

.comment-form p {
  margin: 0;
}

.comment-form label {
  display: block;
  margin-bottom: 8px;
  color: #2f3a35;
  font-weight: 800;
}

.comment-form input,
.comment-form textarea {
  width: 100%;
  border: 1px solid rgba(110, 88, 65, 0.2);
  border-radius: 8px;
  background: #fffdf8;
  color: var(--ink);
  font: inherit;
  outline: none;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.comment-form input {
  min-height: 44px;
  padding: 0 14px;
}

.comment-form textarea {
  min-height: 118px;
  resize: vertical;
  padding: 14px;
}

.comment-form input:focus,
.comment-form textarea:focus {
  border-color: rgba(154, 79, 47, 0.48);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(154, 79, 47, 0.1);
}

.comment-form-spam input {
  max-width: 180px;
}

.form-submit {
  margin-top: 2px;
}

.form-submit .submit {
  border: 0;
  cursor: pointer;
}

.comment-list {
  display: grid;
  gap: 14px;
  margin: 20px 0 28px;
  padding: 0;
  list-style: none;
}

.comment-list .comment-body {
  border-radius: 8px;
  background: rgba(255, 253, 248, 0.78);
  padding: 18px;
}

.single-main .related-posts {
  width: 100%;
  padding: 34px 0 0;
}

.single-main .related-posts .section-heading {
  margin-bottom: 18px;
}

.single-main .related-posts .post-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.single-main .related-posts .post-card h2 {
  font-size: 17px;
}

.single-main .related-posts .post-card p {
  display: none;
}

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

.tag-list a {
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 13px;
}

.page-article {
  max-width: none;
}

.page-hero-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 34px;
  align-items: end;
  margin-bottom: 24px;
  padding: 34px 46px 36px;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 253, 248, 0.98), rgba(246, 238, 226, 0.9)),
    var(--surface);
  box-shadow: 0 22px 54px rgba(51, 37, 24, 0.1);
  overflow: hidden;
}

.page-hero-card::before {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 5px;
  background: linear-gradient(90deg, var(--accent), var(--gold), var(--accent-2));
}

.page-hero-copy {
  position: relative;
  z-index: 1;
}

.page-hero-card h1 {
  max-width: 760px;
  font-size: clamp(34px, 4vw, 52px);
}

.page-hero-card p:not(.eyebrow) {
  max-width: 760px;
  margin-bottom: 0;
  color: #4d594f;
  font-size: 18px;
}

.page-quick-links {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
  max-width: 360px;
}

.page-quick-links a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(154, 79, 47, 0.1);
  color: var(--accent);
  font-weight: 800;
  font-size: 14px;
}

.page-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 28px;
  align-items: start;
}

.page-article .article-content {
  border-radius: 8px;
  background: rgba(255, 253, 248, 0.9);
  padding: 42px 46px;
  box-shadow: 0 18px 46px rgba(51, 37, 24, 0.08);
}

.page-side-panel {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 16px;
}

.side-block {
  border-radius: 8px;
  background: rgba(255, 253, 248, 0.84);
  padding: 24px;
  box-shadow: 0 12px 34px rgba(51, 37, 24, 0.07);
}

.side-block h2 {
  margin-bottom: 12px;
  font-size: 22px;
}

.side-block p {
  color: #59645b;
}

.side-brand {
  background: #102019;
  color: #fff8ec;
}

.side-brand p {
  color: rgba(255, 248, 236, 0.78);
}

.brand-mark-small {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  border: 1px solid rgba(255, 248, 236, 0.32);
  border-radius: 50%;
  color: #f1b454;
  font-weight: 900;
}

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

.page-link-list a {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(31, 35, 32, 0.1);
  color: #24312a;
  font-weight: 750;
}

.page-link-list a::after {
  content: ">";
  color: var(--accent);
}

.article-content .lead {
  color: #27342c;
  font-size: 21px;
  line-height: 1.72;
}

.article-content .section-kicker,
.article-content .mini-label {
  display: inline-flex;
  margin: 18px 0 10px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.page-feature-grid,
.contact-card-grid,
.value-grid,
.policy-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin: 30px 0;
}

.page-feature-grid section,
.contact-card-grid section,
.value-grid section,
.policy-grid section,
.author-profile-panel,
.page-note,
.process-list {
  border-radius: 8px;
  background: #f8f2e9;
  padding: 24px;
}

.value-grid section:nth-child(2n),
.policy-grid section:nth-child(2n) {
  background: #eef4ee;
}

.page-feature-grid h2,
.contact-card-grid h2,
.value-grid h2,
.policy-grid h2 {
  font-size: 24px;
}

.page-feature-grid p,
.contact-card-grid p,
.value-grid p,
.policy-grid p {
  color: #536055;
}

.author-profile-panel {
  display: grid;
  grid-template-columns: 98px 1fr;
  gap: 24px;
  align-items: center;
  margin: 30px 0;
  background: linear-gradient(135deg, #eef4ee, #f8f2e9);
}

.author-profile-mark {
  width: 98px;
  height: 98px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #13211a;
  color: #f7f1e8;
  font-weight: 900;
  font-size: 28px;
}

.process-list {
  display: grid;
  gap: 14px;
  margin: 28px 0;
  padding: 24px;
  counter-reset: steps;
  list-style: none;
}

.process-list li {
  position: relative;
  padding-left: 48px;
}

.process-list li::before {
  counter-increment: steps;
  content: counter(steps, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent-2);
  font-weight: 900;
}

.page-note {
  margin-top: 30px;
  border-left: 4px solid var(--accent);
  color: #3f473f;
}

.utility-page {
  padding: 48px 0 72px;
}

.utility-hero,
.search-hero {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 253, 248, 0.96), rgba(235, 244, 238, 0.82)),
    var(--surface);
  box-shadow: 0 22px 60px rgba(48, 36, 22, 0.09);
}

.utility-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 32px;
  align-items: stretch;
  padding: 48px;
}

.utility-hero::after,
.search-hero::after,
.empty-state::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--gold), var(--accent-2));
}

.utility-copy h1,
.search-hero h1 {
  max-width: 820px;
  font-size: clamp(38px, 5vw, 68px);
  line-height: 1.02;
}

.utility-copy p:not(.eyebrow),
.search-hero p:not(.eyebrow) {
  max-width: 760px;
  color: #576259;
  font-size: 18px;
}

.utility-search,
.search-hero-form {
  max-width: 620px;
  margin-top: 24px;
}

.utility-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.button-light {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
}

.utility-panel {
  display: grid;
  align-content: center;
  min-height: 250px;
  padding: 28px;
  border: 1px solid rgba(177, 127, 74, 0.24);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.62);
}

.utility-number {
  color: var(--accent);
  font-family: var(--font-heading);
  font-size: 86px;
  font-weight: 900;
  line-height: 1;
}

.utility-panel p {
  margin: 10px 0 0;
  color: #5d675f;
}

.utility-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 28px;
  margin-top: 30px;
}

.utility-section,
.search-suggestions,
.empty-state {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  background: rgba(255, 253, 248, 0.9);
  box-shadow: 0 16px 46px rgba(49, 37, 24, 0.07);
  padding: 30px;
}

.section-heading.compact {
  margin-bottom: 18px;
}

.section-heading.compact h2 {
  font-size: clamp(26px, 3vw, 36px);
}

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

.utility-link-grid a,
.utility-latest a,
.empty-state-actions a {
  border: 1px solid rgba(226, 214, 199, 0.9);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
  text-decoration: none;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.utility-link-grid a {
  display: grid;
  gap: 6px;
  padding: 18px;
}

.utility-link-grid span,
.utility-latest strong {
  color: #202821;
  font-weight: 900;
}

.utility-link-grid small,
.utility-latest small {
  color: #6c766e;
}

.utility-link-grid a:hover,
.utility-latest a:hover,
.empty-state-actions a:hover {
  border-color: rgba(164, 83, 47, 0.42);
  box-shadow: 0 14px 30px rgba(58, 42, 25, 0.08);
  transform: translateY(-2px);
}

.utility-latest {
  display: grid;
  gap: 12px;
}

.utility-latest a {
  display: grid;
  gap: 8px;
  padding: 18px;
}

.search-page .content-layout {
  align-items: start;
}

.search-hero {
  margin-bottom: 24px;
  padding: 38px;
}

.search-results-toolbar {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin: 0 0 18px;
  padding: 0 4px;
  color: #667166;
  font-weight: 800;
}

.search-results-toolbar a {
  color: var(--accent);
  text-decoration: none;
}

.search-results-list {
  margin-bottom: 30px;
}

.search-suggestions {
  margin-top: 32px;
}

.empty-state {
  margin: 0 0 30px;
}

.empty-state h2 {
  font-size: clamp(30px, 4vw, 44px);
}

.empty-state p:not(.eyebrow) {
  max-width: 680px;
  color: #5b655d;
  font-size: 17px;
}

.empty-state .search-form {
  max-width: 620px;
  margin-top: 20px;
}

.empty-state-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.empty-state-actions a {
  padding: 10px 14px;
  color: var(--accent);
  font-weight: 900;
}

.nav-links,
.page-numbers {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
}

.page-numbers {
  padding: 8px 12px;
  border: 1px solid var(--line);
  background: var(--surface);
}

.site-footer {
  padding: 56px 0 28px;
  background: #101713;
  color: #f7f1e8;
}

.footer-main {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr 0.65fr 0.9fr;
  gap: 36px;
}

.footer-main h2 {
  font-size: 24px;
}

.footer-main p,
.footer-main a,
.footer-bottom {
  color: #d8d0c3;
}

.footer-main ul {
  margin: 0;
  padding: 0;
}

.footer-main li {
  list-style: none;
}

.footer-main a {
  display: inline-block;
  padding: 5px 0;
}

.footer-brand p {
  max-width: 430px;
}

.footer-wordmark {
  display: flex !important;
  flex-direction: row !important;
  align-items: center;
  gap: 12px;
  width: max-content;
  max-width: 100%;
  margin-bottom: 20px;
  padding: 0;
}

.footer-brand-mark {
  flex: 0 0 64px;
  width: 64px;
  height: 64px;
  display: block;
  border-radius: 50%;
  border: 0;
  background: transparent;
  object-fit: cover;
  align-self: flex-start;
  margin-top: -10px;
}

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

.footer-brand-text {
  flex: 0 0 auto;
  min-width: 230px;
  padding-top: 0;
}

.footer-brand-text strong {
  color: #fffdf8;
  font-family: "Segoe UI", Roboto, Arial, "Helvetica Neue", sans-serif;
  font-size: 28px;
  line-height: 1.05;
  letter-spacing: 0;
}

.footer-brand-text small {
  margin-top: 5px;
  padding-bottom: 7px;
  border-bottom: 1px solid rgba(217, 154, 61, 0.65);
  color: #d99a3d;
  font-size: 13px;
  line-height: 1.3;
}

.footer-wordmark:hover .footer-brand-text strong {
  color: #ffffff;
}

.sitemap-content {
  display: grid;
  gap: 28px;
}

.sitemap-group {
  border-top: 1px solid rgba(15, 107, 117, 0.18);
  padding-top: 22px;
}

.sitemap-group h2 {
  margin-bottom: 14px;
  font-size: 24px;
}

.sitemap-group ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.sitemap-group li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(15, 20, 18, 0.08);
}

.sitemap-group a {
  color: #122027;
  font-weight: 700;
}

.sitemap-group time {
  flex: 0 0 auto;
  color: #6a756d;
  font-size: 14px;
}

.footer-policy-bar {
  margin-top: 42px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-policy-inner {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.footer-policy-inner p {
  margin: 0;
  color: #d8d0c3;
  font-size: 14px;
}

.footer-policy-inner .menu {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 14px;
  margin: 0;
  padding: 0;
}

.footer-policy-inner li {
  list-style: none;
}

.footer-policy-inner a {
  color: #f7f1e8;
  font-size: 14px;
}

.footer-bottom {
  margin-top: 34px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 14px;
}

@media (max-width: 1100px) {
  h2 {
    font-size: 30px;
  }

  .header-inner {
    grid-template-columns: auto 44px;
    justify-content: space-between;
  }

  .custom-logo {
    max-width: 240px;
    max-height: 58px;
  }

  .nav-toggle {
    display: block;
    justify-self: end;
  }

  .primary-nav {
    position: absolute;
    top: calc(100% + 1px);
    left: 50%;
    right: auto;
    width: min(calc(100vw - 32px), var(--container));
    margin-left: 0;
    margin-right: 0;
    display: none;
    padding: 14px;
    background: rgba(251, 247, 239, 0.98);
    border: 1px solid rgba(110, 88, 65, 0.14);
    border-bottom: 1px solid var(--line);
    border-radius: 0 0 8px 8px;
    box-shadow: 0 18px 34px rgba(51, 37, 24, 0.08);
    transform: translateX(-50%);
  }

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

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

  .primary-nav a {
    border-radius: var(--radius);
    background: var(--surface);
    padding: 12px 14px;
    box-shadow: 0 8px 18px rgba(51, 37, 24, 0.04);
  }

  .primary-nav .menu-item-has-children > a {
    padding-right: 14px;
  }

  .primary-nav .menu-item-has-children > a::after {
    display: none;
  }

  .primary-nav .sub-menu {
    position: static;
    display: grid;
    grid-template-columns: 1fr;
    min-width: 0;
    margin: 6px 0 8px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .primary-nav .sub-menu a {
    margin-left: 16px;
    background: rgba(255, 253, 248, 0.72);
    white-space: normal;
  }

  .header-search {
    display: none;
  }

  .hero {
    min-height: 420px;
  }

  .hero::after {
    background:
      linear-gradient(180deg, rgba(251, 247, 239, 0.96) 0%, rgba(251, 247, 239, 0.86) 58%, var(--bg) 100%),
      linear-gradient(90deg, rgba(251, 247, 239, 0.2), rgba(251, 247, 239, 0.2));
  }

  .intro-band,
  .featured-card,
  .topic-grid,
  .featured-list-layout,
  .feature-strip-main,
  .utility-hero,
  .utility-grid,
  .content-layout,
  .single-layout,
  .page-layout,
  .page-hero-card,
  .footer-main {
    grid-template-columns: 1fr;
  }

  .page-side-panel {
    position: static;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .post-grid,
  .post-list,
  .utility-link-grid,
  .single-main .related-posts .post-grid,
  .category-post-section .post-grid,
  .topic-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .story-row-layout {
    grid-template-columns: 1fr;
  }

  .featured-image {
    min-height: 300px;
  }

  .sidebar {
    position: static;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 15px;
  }

  .container,
  .narrow {
    width: min(100% - 24px, var(--container));
  }

  .brand-text small {
    display: none;
  }

  .custom-logo {
    max-width: 220px;
    max-height: 54px;
  }

  .hero {
    min-height: 390px;
  }

  .hero-content {
    padding: 48px 0 58px;
  }

  .hero-content p:not(.eyebrow) {
    font-size: 17px;
  }

  .intro-band {
    margin-top: -34px;
  }

  .intro-band > div,
  .featured-copy,
  .post-card-body,
  .page-article,
  .widget,
  .author-box,
  .comments-area {
    padding: 20px;
  }

  .page-article .article-content,
  .page-hero-card {
    padding: 24px;
  }

  .page-quick-links {
    justify-content: flex-start;
  }

  .page-side-panel {
    grid-template-columns: 1fr;
  }

  .page-feature-grid,
  .contact-card-grid,
  .value-grid,
  .policy-grid,
  .comment-form,
  .author-profile-panel {
    grid-template-columns: 1fr;
  }

  .featured-section,
  .latest-grid-section,
  .utility-page,
  .article-shell,
  .page-shell,
  .related-posts {
    padding: 52px 0;
  }

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

  .post-grid,
  .post-list,
  .utility-link-grid,
  .single-main .related-posts .post-grid,
  .category-post-section .post-grid,
  .topic-card-grid,
  .topic-list,
  .author-box,
  .story-row-item {
    grid-template-columns: 1fr;
  }

  .topic-card,
  .post-card {
    min-height: 0;
  }

  .post-card-image {
    margin: 10px 10px 0;
    aspect-ratio: 16 / 9;
  }

  .post-card h2 {
    font-size: 20px;
    line-height: 1.35;
  }

  .utility-hero,
  .search-hero,
  .utility-section,
  .search-suggestions,
  .empty-state {
    padding: 24px;
  }

  .utility-copy h1,
  .search-hero h1 {
    font-size: 36px;
  }

  .utility-panel {
    min-height: 0;
  }

  .utility-number {
    font-size: 58px;
  }

  .search-results-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .category-post-section .post-grid {
    gap: 18px;
  }

  .footer-policy-inner {
    align-items: flex-start;
    flex-direction: column;
    padding: 20px 0;
  }

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

  .featured-copy h3 {
    font-size: 30px;
  }

  .search-form {
    flex-direction: column;
  }
}
