.admin-body {
  margin: 0;
  background: #f6f8fb;
  color: #111827;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

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

.admin-body a {
  color: inherit;
  text-decoration: none;
}

.skip-link {
  background: #111827;
  border-radius: 0 0 8px 8px;
  color: #fff;
  font-weight: 800;
  left: 16px;
  padding: 10px 14px;
  position: fixed;
  top: 0;
  transform: translateY(-120%);
  z-index: 100;
}

.skip-link:focus {
  transform: translateY(0);
}

.admin-body a:focus-visible,
.admin-body button:focus-visible,
.admin-body input:focus-visible,
.admin-body select:focus-visible,
.admin-body textarea:focus-visible,
.admin-body label:focus-visible {
  outline: 3px solid #0f766e;
  outline-offset: 3px;
}

.admin-nav-toggle {
  position: fixed;
  opacity: 0;
  pointer-events: none;
}

.admin-topbar {
  align-items: center;
  backdrop-filter: blur(16px);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid #e5e7eb;
  display: flex;
  gap: 12px;
  height: 64px;
  justify-content: space-between;
  left: 0;
  padding: 0 16px;
  position: fixed;
  right: 0;
  top: 0;
  z-index: 40;
}

.admin-menu-button {
  align-items: center;
  background: #eef2ff;
  border: 1px solid #dbe4ff;
  border-radius: 10px;
  cursor: pointer;
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
  height: 42px;
  justify-content: center;
  width: 42px;
}

.admin-menu-button span {
  background: #1f2937;
  border-radius: 999px;
  display: block;
  height: 2px;
  width: 18px;
}

.admin-brand {
  align-items: center;
  display: flex;
  flex: 1;
  gap: 10px;
  font-size: 16px;
  font-weight: 800;
  min-width: 0;
}

.admin-brand > span:last-child {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-brand-mark {
  align-items: center;
  background: #111827;
  border-radius: 10px;
  color: #fff;
  display: inline-flex;
  flex: 0 0 auto;
  font-size: 12px;
  height: 34px;
  justify-content: center;
  letter-spacing: 0;
  width: 34px;
}

.admin-topbar-actions {
  display: none;
}

.admin-public-link {
  border: 1px solid #d1d5db;
  border-radius: 8px;
  color: #374151;
  display: inline-flex;
  font-size: 14px;
  font-weight: 700;
  min-height: 38px;
  padding: 8px 12px;
}

.admin-shell {
  min-height: 100vh;
  padding-top: 64px;
}

.admin-overlay {
  background: rgba(15, 23, 42, 0.44);
  bottom: 0;
  cursor: pointer;
  left: 0;
  opacity: 0;
  pointer-events: none;
  position: fixed;
  right: 0;
  top: 64px;
  transition: opacity 160ms ease;
  z-index: 25;
}

.admin-sidebar {
  background: #fff;
  border-right: 1px solid #e5e7eb;
  bottom: 0;
  box-shadow: 24px 0 60px rgba(15, 23, 42, 0.18);
  left: 0;
  max-width: calc(100vw - 42px);
  position: fixed;
  top: 64px;
  transform: translateX(-100%);
  transition: transform 180ms ease;
  width: 286px;
  z-index: 30;
}

.admin-sidebar-scroll {
  height: 100%;
  overflow-y: auto;
  padding: 18px 14px 24px;
}

.admin-nav-toggle:checked ~ .admin-shell .admin-sidebar {
  transform: translateX(0);
}

.admin-nav-toggle:checked ~ .admin-shell .admin-overlay {
  opacity: 1;
  pointer-events: auto;
}

.admin-nav-section {
  color: #94a3b8;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  margin: 18px 10px 6px;
  text-transform: uppercase;
}

.admin-nav-list {
  display: grid;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.admin-nav-link {
  align-items: center;
  border-radius: 10px;
  color: #374151;
  display: flex;
  font-size: 15px;
  font-weight: 700;
  min-height: 44px;
  padding: 10px 12px;
}

.admin-nav-link:hover,
.admin-nav-link.is-active {
  background: #eef2ff;
  color: #1d4ed8;
}

.admin-main {
  min-height: calc(100vh - 64px);
}

.admin-mobile-tabs {
  background: #fff;
  border-bottom: 1px solid #e5e7eb;
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 10px 14px;
  position: sticky;
  top: 64px;
  z-index: 18;
}

.admin-mobile-tabs a {
  border: 1px solid #e5e7eb;
  border-radius: 999px;
  color: #475569;
  flex: 0 0 auto;
  font-size: 13px;
  font-weight: 800;
  min-height: 38px;
  padding: 8px 13px;
}

.admin-mobile-tabs a.is-active {
  background: #111827;
  border-color: #111827;
  color: #fff;
}

.admin-content {
  margin: 0 auto;
  max-width: 1480px;
  padding: 18px 14px 36px;
  width: 100%;
}

.admin-flash {
  border-radius: 10px;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 16px;
  padding: 12px 14px;
}

.admin-flash.is-notice {
  background: #dcfce7;
  color: #166534;
}

.admin-flash.is-alert {
  background: #fee2e2;
  color: #991b1b;
}

.admin-content h1 {
  letter-spacing: 0;
  margin-top: 0;
}

.admin-content table {
  border-collapse: collapse;
  min-width: 760px;
  width: 100%;
}

.admin-content th,
.admin-content td {
  vertical-align: top;
}

.admin-content [class*="overflow-x-auto"],
.admin-content .bg-white.shadow,
.admin-content .bg-white.shadow-md {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.admin-content .bg-white {
  background: #fff;
}

.admin-content [class*="rounded"],
.admin-content [class*="rounded-md"],
.admin-content [class*="rounded-lg"] {
  border-radius: 10px;
}

.admin-content [class*="shadow"] {
  box-shadow: 0 8px 28px rgba(15, 23, 42, 0.08);
}

.admin-content [class*="border"] {
  border-color: #e5e7eb;
}

.admin-content a[class*="bg-blue"],
.admin-content a[class*="bg-green"],
.admin-content a[class*="bg-gray"],
.admin-content button[class*="bg-blue"],
.admin-content button[class*="bg-green"],
.admin-content button[class*="bg-red"],
.admin-content input[type="submit"] {
  align-items: center;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  display: inline-flex;
  font: inherit;
  font-size: 14px;
  font-weight: 800;
  justify-content: center;
  min-height: 40px;
  padding: 9px 14px;
}

.admin-content a[class*="bg-blue"],
.admin-content button[class*="bg-blue"],
.admin-content input[type="submit"] {
  background: #2563eb;
  color: #fff;
}

.admin-content a[class*="bg-green"],
.admin-content button[class*="bg-green"] {
  background: #16a34a;
  color: #fff;
}

.admin-content button[class*="bg-red"] {
  background: #dc2626;
  color: #fff;
}

.admin-content a[class*="bg-gray"] {
  background: #e5e7eb;
  color: #111827;
}

.admin-content input,
.admin-content textarea,
.admin-content select {
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font: inherit;
  min-height: 42px;
  padding: 9px 11px;
  width: 100%;
}

.admin-content textarea {
  min-height: 92px;
}

.admin-field-hint {
  color: #64748b;
  font-size: 13px;
  margin: 6px 0 0;
}

.admin-required {
  color: #b91c1c;
  font-weight: 800;
}

.admin-content form.button_to {
  display: inline-block;
  margin: 0;
}

/* Minimal utility compatibility for the Tailwind-style classes used by the Rails views. */
.admin-body .flex { display: flex; }
.admin-body .inline-flex { display: inline-flex; }
.admin-body .grid { display: grid; }
.admin-body .hidden { display: none; }
.admin-body .block { display: block; }
.admin-body .inline-block { display: inline-block; }
.admin-body .items-center { align-items: center; }
.admin-body .items-start { align-items: flex-start; }
.admin-body .justify-between { justify-content: space-between; }
.admin-body .justify-end { justify-content: flex-end; }
.admin-body .flex-col { flex-direction: column; }
.admin-body .flex-wrap { flex-wrap: wrap; }
.admin-body .flex-grow { flex-grow: 1; }
.admin-body .flex-shrink-0 { flex-shrink: 0; }
.admin-body .grid-cols-1 { grid-template-columns: minmax(0, 1fr); }
.admin-body .gap-2 { gap: 8px; }
.admin-body .gap-3 { gap: 12px; }
.admin-body .gap-4 { gap: 16px; }
.admin-body .gap-6 { gap: 24px; }
.admin-body .gap-8 { gap: 32px; }
.admin-body .space-y-1 > * + * { margin-top: 4px; }
.admin-body .space-y-2 > * + * { margin-top: 8px; }
.admin-body .space-y-3 > * + * { margin-top: 12px; }
.admin-body .space-y-4 > * + * { margin-top: 16px; }
.admin-body .space-y-6 > * + * { margin-top: 24px; }
.admin-body .space-y-8 > * + * { margin-top: 32px; }
.admin-body .space-x-2 > * + * { margin-left: 8px; }
.admin-body .mx-auto { margin-left: auto; margin-right: auto; }
.admin-body .mt-1 { margin-top: 4px; }
.admin-body .mt-2 { margin-top: 8px; }
.admin-body .mt-4 { margin-top: 16px; }
.admin-body .mt-6 { margin-top: 24px; }
.admin-body .mb-2 { margin-bottom: 8px; }
.admin-body .mb-4 { margin-bottom: 16px; }
.admin-body .mb-6 { margin-bottom: 24px; }
.admin-body .mb-8 { margin-bottom: 32px; }
.admin-body .mb-12 { margin-bottom: 48px; }
.admin-body .ml-1 { margin-left: 4px; }
.admin-body .ml-3 { margin-left: 12px; }
.admin-body .mr-2 { margin-right: 8px; }
.admin-body .mr-3 { margin-right: 12px; }
.admin-body .p-3 { padding: 12px; }
.admin-body .p-4 { padding: 16px; }
.admin-body .p-6 { padding: 24px; }
.admin-body .px-2 { padding-left: 8px; padding-right: 8px; }
.admin-body .px-3 { padding-left: 12px; padding-right: 12px; }
.admin-body .px-4 { padding-left: 16px; padding-right: 16px; }
.admin-body .px-5 { padding-left: 20px; padding-right: 20px; }
.admin-body .px-6 { padding-left: 24px; padding-right: 24px; }
.admin-body .py-0\.5 { padding-top: 2px; padding-bottom: 2px; }
.admin-body .py-1 { padding-top: 4px; padding-bottom: 4px; }
.admin-body .py-2 { padding-top: 8px; padding-bottom: 8px; }
.admin-body .py-3 { padding-top: 12px; padding-bottom: 12px; }
.admin-body .py-4 { padding-top: 16px; padding-bottom: 16px; }
.admin-body .py-5 { padding-top: 20px; padding-bottom: 20px; }
.admin-body .pt-2 { padding-top: 8px; }
.admin-body .pt-3 { padding-top: 12px; }
.admin-body .pt-6 { padding-top: 24px; }
.admin-body .pb-1 { padding-bottom: 4px; }
.admin-body .pb-2 { padding-bottom: 8px; }
.admin-body .pb-4 { padding-bottom: 16px; }
.admin-body .w-full { width: 100%; }
.admin-body .min-w-full { min-width: 100%; }
.admin-body .max-w-3xl { max-width: 768px; }
.admin-body .max-w-4xl { max-width: 896px; }
.admin-body .max-w-5xl { max-width: 1024px; }
.admin-body .w-4 { width: 16px; }
.admin-body .h-4 { height: 16px; }
.admin-body .w-10 { width: 40px; }
.admin-body .h-10 { height: 40px; }
.admin-body .overflow-hidden { overflow: hidden; }
.admin-body .overflow-x-auto { overflow-x: auto; }
.admin-body .rounded { border-radius: 8px; }
.admin-body .rounded-md { border-radius: 8px; }
.admin-body .rounded-lg { border-radius: 10px; }
.admin-body .rounded-full { border-radius: 999px; }
.admin-body .border { border: 1px solid #e5e7eb; }
.admin-body .border-b { border-bottom: 1px solid #e5e7eb; }
.admin-body .border-b-2 { border-bottom: 2px solid #e5e7eb; }
.admin-body .border-l-4 { border-left: 4px solid #f87171; }
.admin-body .shadow-sm { box-shadow: 0 3px 12px rgba(15, 23, 42, 0.06); }
.admin-body .shadow,
.admin-body .shadow-md { box-shadow: 0 8px 28px rgba(15, 23, 42, 0.08); }
.admin-body .bg-white { background: #fff; }
.admin-body .bg-gray-50 { background: #f8fafc; }
.admin-body .bg-gray-100 { background: #f1f5f9; }
.admin-body .bg-gray-200 { background: #e5e7eb; }
.admin-body .bg-blue-50 { background: #eff6ff; }
.admin-body .bg-blue-100 { background: #dbeafe; }
.admin-body .bg-blue-600 { background: #2563eb; }
.admin-body .bg-green-100 { background: #dcfce7; }
.admin-body .bg-green-600 { background: #16a34a; }
.admin-body .bg-yellow-50 { background: #fefce8; }
.admin-body .bg-yellow-100 { background: #fef3c7; }
.admin-body .bg-red-50 { background: #fef2f2; }
.admin-body .bg-red-100 { background: #fee2e2; }
.admin-body .bg-red-600 { background: #dc2626; }
.admin-body .bg-orange-200 { background: #fed7aa; }
.admin-body .bg-pink-100 { background: #fce7f3; }
.admin-body .text-xs { font-size: 12px; line-height: 1.4; }
.admin-body .text-sm { font-size: 14px; line-height: 1.45; }
.admin-body .text-base { font-size: 16px; }
.admin-body .text-lg { font-size: 18px; }
.admin-body .text-xl { font-size: 20px; }
.admin-body .text-2xl { font-size: 24px; line-height: 1.25; }
.admin-body .font-medium { font-weight: 600; }
.admin-body .font-semibold { font-weight: 700; }
.admin-body .font-bold { font-weight: 800; }
.admin-body .uppercase { text-transform: uppercase; }
.admin-body .capitalize { text-transform: capitalize; }
.admin-body .text-left { text-align: left; }
.admin-body .text-right { text-align: right; }
.admin-body .text-center { text-align: center; }
.admin-body .text-white { color: #fff; }
.admin-body .text-gray-400 { color: #94a3b8; }
.admin-body .text-gray-500 { color: #64748b; }
.admin-body .text-gray-600 { color: #475569; }
.admin-body .text-gray-700 { color: #334155; }
.admin-body .text-gray-800 { color: #1f2937; }
.admin-body .text-gray-900 { color: #111827; }
.admin-body .text-blue-600 { color: #2563eb; }
.admin-body .text-blue-700 { color: #1d4ed8; }
.admin-body .text-blue-800 { color: #1e40af; }
.admin-body .text-green-600 { color: #16a34a; }
.admin-body .text-green-800 { color: #166534; }
.admin-body .text-yellow-800 { color: #854d0e; }
.admin-body .text-red-600 { color: #dc2626; }
.admin-body .text-red-700 { color: #b91c1c; }
.admin-body .text-red-800 { color: #991b1b; }
.admin-body .text-orange-600 { color: #ea580c; }
.admin-body .text-pink-600 { color: #db2777; }
.admin-body .text-pink-800 { color: #9d174d; }
.admin-body .leading-tight { line-height: 1.25; }
.admin-body .leading-5 { line-height: 20px; }
.admin-body .tracking-wider { letter-spacing: 0.05em; }
.admin-body .tracking-normal { letter-spacing: 0; }
.admin-body .whitespace-nowrap,
.admin-body .whitespace-no-wrap { white-space: nowrap; }
.admin-body .divide-y > * + * { border-top: 1px solid #e5e7eb; }
.admin-body .divide-gray-100 > * + * { border-color: #f1f5f9; }
.admin-body .divide-gray-200 > * + * { border-color: #e5e7eb; }
.admin-body .relative { position: relative; }
.admin-body .absolute { position: absolute; }
.admin-body .inset-0 { inset: 0; }
.admin-body .opacity-50 { opacity: 0.5; }
.admin-body .last\:border-0:last-child { border: 0; }

@media (max-width: 719px) {
  .admin-content {
    padding-left: 12px;
    padding-right: 12px;
  }

  .admin-content h1 {
    font-size: 22px;
    line-height: 1.2;
  }

  .admin-content table {
    min-width: 680px;
  }

  .admin-content th,
  .admin-content td {
    padding: 12px 14px !important;
  }

  .admin-content [class*="grid"] {
    gap: 12px;
  }

  .admin-content [class*="px-5"],
  .admin-content [class*="px-6"],
  .admin-content [class*="p-6"] {
    padding-left: 14px !important;
    padding-right: 14px !important;
  }
}

@media (min-width: 768px) {
  .admin-body .md\:flex-row { flex-direction: row; }
  .admin-body .md\:items-center { align-items: center; }
  .admin-body .md\:justify-between { justify-content: space-between; }
  .admin-body .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .admin-body .md\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .admin-body .md\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .admin-body .md\:flex-row { flex-direction: row; }
}

@media (min-width: 900px) {
  .admin-menu-button {
    display: none;
  }

  .admin-topbar {
    padding-left: 22px;
    padding-right: 22px;
  }

  .admin-topbar-actions {
    display: flex;
  }

  .admin-brand {
    flex: 0 1 auto;
  }

  .admin-overlay {
    display: none;
  }

  .admin-sidebar {
    box-shadow: none;
    max-width: none;
    transform: none;
    width: 264px;
  }

  .admin-main {
    margin-left: 264px;
  }

  .admin-mobile-tabs {
    display: none;
  }

  .admin-content {
    padding: 26px 28px 48px;
  }
}

@media (min-width: 1024px) {
  .admin-body .lg\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .admin-body .lg\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .admin-body .lg\:col-span-2 { grid-column: span 2 / span 2; }
  .admin-body .lg\:flex-row { flex-direction: row; }
  .admin-body .lg\:items-center { align-items: center; }
  .admin-body .lg\:justify-between { justify-content: space-between; }
}

@media (min-width: 1280px) {
  .admin-body .xl\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .admin-body .xl\:grid-cols-6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
}
:root {
  --sw-espresso: #2B2422;
  --sw-cream: #FCFAF8;
  --sw-soft-taupe: #F6F1EB;
  --sw-surface: #FFFFFF;
  --sw-surface-muted: #FBF7F3;
  --sw-dusty-mauve: #8F626A;
  --sw-rosewood: #835B63;
  --sw-text-primary: #5C5653;
  --sw-text-secondary: #706A65;
  --sw-border: #E9E0D8;
  --sw-border-strong: #CDBFB6;
  --sw-hover-soft: #F1E7DF;
  --sw-focus: #9B6F77;
  --sw-warning: #9A6A2F;
  --sw-warning-bg: #FFF5E6;
  --sw-display: "Playfair Display", Georgia, serif;
  --sw-sans: "Inter", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --sw-shadow-soft: 0 10px 30px rgb(43 36 34 / 0.08);
  --sw-shadow-card: 0 16px 45px rgb(43 36 34 / 0.10);
  --sw-shadow-editorial: 0 28px 80px rgb(43 36 34 / 0.14);
}

.public-body {
  background:
    radial-gradient(circle at 8% 0%, rgb(183 132 140 / 0.12), transparent 28%),
    linear-gradient(180deg, var(--sw-cream) 0%, #fff 42%, var(--sw-cream) 100%);
  color: var(--sw-espresso);
  font-family: var(--sw-sans);
  line-height: 1.65;
  margin: 0;
}

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

.public-body a {
  color: inherit;
  text-decoration: none;
}

.public-body .skip-link {
  background: var(--sw-espresso);
  border-radius: 0 0 8px 8px;
  color: #fff;
  font-weight: 800;
  left: 16px;
  padding: 10px 14px;
  position: fixed;
  top: 0;
  transform: translateY(-120%);
  z-index: 100;
}

.public-body .skip-link:focus {
  transform: translateY(0);
}

.public-body a:focus-visible,
.public-body button:focus-visible,
.public-body input:focus-visible {
  outline: 3px solid var(--sw-focus);
  outline-offset: 3px;
}

.site-header {
  align-items: center;
  backdrop-filter: blur(16px);
  background: rgb(252 250 248 / 0.90);
  border-bottom: 1px solid var(--sw-border);
  display: flex;
  gap: 14px;
  justify-content: space-between;
  min-height: 72px;
  padding: 14px 18px;
  position: sticky;
  top: 0;
  z-index: 20;
}

.site-brand {
  align-items: center;
  display: inline-flex;
  flex: 0 0 auto;
  gap: 10px;
  color: var(--sw-espresso);
  font-family: var(--sw-display);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0;
}

.site-brand-mark {
  align-items: center;
  background: var(--sw-espresso);
  border-radius: 50%;
  color: #fff;
  display: inline-flex;
  font-size: 12px;
  height: 34px;
  justify-content: center;
  width: 34px;
}

.site-nav {
  display: flex;
  gap: 4px;
  overflow-x: auto;
  padding-bottom: 2px;
  -webkit-overflow-scrolling: touch;
}

.site-nav a {
  border-radius: 999px;
  color: var(--sw-text-primary);
  flex: 0 0 auto;
  font-size: 14px;
  font-weight: 700;
  min-height: 38px;
  padding: 8px 11px;
}

.site-nav a:hover {
  background: var(--sw-hover-soft);
  color: var(--sw-espresso);
}

@media (max-width: 719px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
    min-height: 0;
    padding: 10px 14px;
  }

  .site-nav {
    max-width: 100%;
    width: 100%;
  }

  .site-brand {
    font-size: 18px;
  }

  .site-brand-mark {
    height: 30px;
    width: 30px;
  }

  .site-nav a {
    font-size: 13px;
    min-height: 34px;
    padding: 6px 9px;
  }

  .site-header .site-nav a:last-child {
    display: none;
  }
}

.home-page,
.article-page {
  margin: 0 auto;
  max-width: 1200px;
  padding: 0 18px 56px;
}

.home-hero {
  align-items: center;
  display: grid;
  gap: 30px;
  min-height: calc(100svh - 86px);
  padding: 42px 0 32px;
}

.home-hero-copy h1,
.article-hero h1 {
  color: var(--sw-espresso);
  font-family: var(--sw-display);
  font-size: clamp(40px, 9vw, 72px);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.04;
  margin: 0;
  max-width: 860px;
}

.eyebrow,
.card-kicker {
  color: var(--sw-rosewood);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  margin: 0 0 10px;
  text-transform: uppercase;
}

.hero-lead,
.article-summary {
  color: var(--sw-text-primary);
  font-size: clamp(18px, 2vw, 20px);
  line-height: 1.65;
  margin: 18px 0 0;
  max-width: 680px;
}

.brand-message {
  color: var(--sw-espresso);
  font-size: 15px;
  font-weight: 800;
  margin: 18px 0 0;
}

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

.primary-action,
.secondary-action,
.product-cta {
  align-items: center;
  border-radius: 999px;
  display: inline-flex;
  font-weight: 800;
  justify-content: center;
  min-height: 48px;
  padding: 13px 18px;
}

.public-body .primary-action,
.public-body .product-cta {
  background: var(--sw-espresso);
  color: #fff;
}

.public-body .primary-action:hover,
.public-body .product-cta:hover {
  background: var(--sw-rosewood);
}

.secondary-action {
  background: transparent;
  border: 1px solid var(--sw-border-strong);
  color: var(--sw-espresso);
}

.secondary-action:hover {
  background: var(--sw-hover-soft);
}

.trust-strip {
  border-top: 1px solid var(--sw-border);
  display: grid;
  gap: 0;
  margin: 28px 0 0;
  max-width: 760px;
}

.trust-strip div {
  border-bottom: 1px solid var(--sw-border);
  padding: 13px 0;
}

.trust-strip dt {
  color: var(--sw-espresso);
  font-size: 16px;
  font-weight: 800;
}

.trust-strip dd {
  color: var(--sw-text-secondary);
  font-size: 14px;
  margin: 2px 0 0;
}

.featured-panel {
  background: var(--sw-surface);
  border: 1px solid var(--sw-border);
  border-radius: 8px;
  display: block;
  padding: 20px;
}

.featured-label {
  color: var(--sw-rosewood);
  display: block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.featured-panel h2 {
  font-size: 24px;
  font-weight: 720;
  line-height: 1.2;
  margin: 10px 0;
}

.featured-panel p {
  color: var(--sw-text-primary);
  margin: 0;
}

.featured-meta {
  color: var(--sw-text-secondary);
  display: flex;
  flex-wrap: wrap;
  font-size: 13px;
  gap: 10px;
  margin-top: 16px;
}

.content-section {
  padding: 56px 0;
}

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

.section-heading h2 {
  color: var(--sw-espresso);
  font-family: var(--sw-display);
  font-size: clamp(30px, 5vw, 44px);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.1;
  margin: 0;
}

.section-heading p:not(.eyebrow) {
  color: var(--sw-text-primary);
  font-size: 17px;
  margin: 12px 0 0;
  max-width: 720px;
}

.section-heading-row {
  align-items: end;
  display: flex;
  gap: 18px;
  justify-content: space-between;
}

.text-action {
  color: var(--sw-rosewood);
  flex: 0 0 auto;
  font-size: 14px;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.article-grid {
  display: grid;
  gap: 14px;
}

.article-card,
.product-card,
.quick-picks,
.related-card,
.empty-state {
  background: var(--sw-surface);
  border: 1px solid var(--sw-border);
  border-radius: 8px;
}

.article-card,
.comparison-card,
.hair-type-card,
.tester-card {
  box-shadow: var(--sw-shadow-soft);
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.article-card:hover,
.comparison-card:hover,
.hair-type-card:hover,
.tester-card:hover {
  border-color: var(--sw-border-strong);
  box-shadow: var(--sw-shadow-card);
  transform: translateY(-2px);
}

.empty-state {
  max-width: 680px;
  padding: 22px;
}

.empty-state h3 {
  color: var(--sw-espresso);
  font-size: 22px;
  margin: 0 0 8px;
}

.empty-state p {
  color: var(--sw-text-primary);
  margin: 0;
}

.article-card-link {
  display: grid;
  min-height: 100%;
}

.article-card-visual {
  align-items: center;
  background:
    radial-gradient(circle at 70% 22%, rgb(255 255 255 / 0.9), transparent 32%),
    linear-gradient(135deg, #2b2422 0%, #6f5048 34%, #d7b88a 68%, #b76a45 100%);
  display: flex;
  min-height: 112px;
  padding: 16px;
}

.article-card-image,
.product-image {
  border-radius: 8px;
  display: block;
  object-fit: contain;
  width: 92px;
}

.product-initial {
  align-items: center;
  background:
    radial-gradient(circle at 70% 20%, rgba(255, 255, 255, 0.78), transparent 30%),
    linear-gradient(135deg, #2b2422 0%, #8f645e 36%, #efe4d7 72%, #b76a45 100%);
  color: #fff;
  display: inline-flex;
  font-size: 26px;
  font-weight: 800;
  justify-content: center;
}

.article-card-body {
  padding: 18px;
}

.article-card h3 {
  color: var(--sw-espresso);
  font-family: var(--sw-display);
  font-size: 21px;
  font-weight: 720;
  line-height: 1.22;
  margin: 0 0 10px;
}

.article-card p {
  color: var(--sw-text-primary);
  margin: 0 0 16px;
}

.read-more {
  color: var(--sw-rosewood);
  font-size: 14px;
  font-weight: 800;
}

.category-list {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.category-pill {
  background: var(--sw-surface);
  border: 1px solid var(--sw-border);
  border-radius: 999px;
  color: var(--sw-text-primary);
  font-weight: 700;
  padding: 8px 12px;
}

.hero-editorial-visual {
  aspect-ratio: 4 / 5;
  background: var(--sw-soft-taupe);
  border: 1px solid var(--sw-border);
  border-radius: 8px;
  box-shadow: var(--sw-shadow-editorial);
  min-height: 430px;
  overflow: hidden;
  position: relative;
}

.hero-editorial-visual::before {
  background: linear-gradient(90deg, rgb(252 250 248 / 0.18), transparent 22%, transparent 78%, rgb(252 250 248 / 0.18));
  content: "";
  inset: 0;
  position: absolute;
  z-index: 2;
}

.hero-editorial-image {
  display: block;
  height: 100%;
  object-fit: cover;
  object-position: center;
  width: 100%;
}

.hero-visual-note {
  background: rgb(252 250 248 / 0.88);
  border: 1px solid rgb(233 224 216 / 0.85);
  border-radius: 8px;
  bottom: 18px;
  box-shadow: var(--sw-shadow-soft);
  left: 18px;
  max-width: 230px;
  padding: 14px;
  position: absolute;
  z-index: 4;
}

.hero-visual-note span {
  color: var(--sw-rosewood);
  display: block;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.hero-visual-note strong {
  color: var(--sw-espresso);
  display: block;
  font-family: var(--sw-display);
  font-size: 22px;
  line-height: 1.1;
  margin-top: 4px;
}

.hair-navigator-section,
.comparison-section,
.education-section {
  background: rgb(246 241 235 / 0.72);
  border: 1px solid var(--sw-border);
  border-radius: 8px;
  margin: 18px 0;
  padding: 32px 18px;
}

.hair-type-grid,
.comparison-grid,
.tester-grid {
  display: grid;
  gap: 14px;
}

.hair-type-card,
.comparison-card,
.lifestyle-chip,
.education-list a {
  border: 1px solid var(--sw-border);
  border-radius: 8px;
}

.hair-type-card {
  background: var(--sw-surface);
  display: grid;
  gap: 10px;
  min-height: 210px;
  overflow: hidden;
  padding: 14px;
  position: relative;
}

.hair-type-card strong,
.comparison-card strong {
  color: var(--sw-espresso);
  font-family: var(--sw-display);
  font-size: 24px;
  line-height: 1.12;
}

.hair-type-card span:last-child,
.comparison-card p,
.tester-card p {
  color: var(--sw-text-primary);
  margin: 0;
}

.hair-texture-swatch {
  background: linear-gradient(135deg, #17110f, #6f4c41, #d8b16f);
  border-radius: 8px;
  display: block;
  height: 92px;
  overflow: hidden;
  position: relative;
}

.hair-texture-swatch::before {
  background: repeating-linear-gradient(90deg, rgb(255 255 255 / 0.15) 0 4px, transparent 4px 12px);
  border-radius: inherit;
  content: "";
  inset: 0;
  position: absolute;
}

.hair-type-card-2 .hair-texture-swatch {
  background: repeating-linear-gradient(105deg, #2b1d18 0 14px, #67483e 14px 30px, #2b1d18 30px 45px);
}

.hair-type-card-3 .hair-texture-swatch {
  background: linear-gradient(135deg, #5f3e31, #c29365, #e6c995);
}

.hair-type-card-4 .hair-texture-swatch {
  background: radial-gradient(circle at 30% 35%, #211613 0 18px, transparent 19px), radial-gradient(circle at 62% 50%, #6d473b 0 20px, transparent 21px), #b7848c;
}

.hair-type-card-5 .hair-texture-swatch {
  background: radial-gradient(circle, #16100e 0 12px, #58382e 13px 18px, transparent 19px), #2b2422;
  background-size: 42px 42px;
}

.comparison-card {
  background: var(--sw-surface);
  display: block;
  padding: 18px;
}

.comparison-card > span {
  color: var(--sw-rosewood);
  display: block;
  font-weight: 800;
  margin-bottom: 18px;
}

.comparison-card p {
  margin-top: 10px;
}

.lifestyle-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.lifestyle-chip {
  background: var(--sw-surface);
  color: var(--sw-espresso);
  font-weight: 800;
  min-height: 44px;
  padding: 10px 14px;
}

.lifestyle-chip:hover,
.education-list a:hover {
  background: var(--sw-hover-soft);
}

.tester-card {
  align-items: center;
  background: var(--sw-surface);
  border: 1px solid var(--sw-border);
  border-radius: 8px;
  display: grid;
  gap: 14px;
  grid-template-columns: 82px minmax(0, 1fr);
  padding: 14px;
}

.tester-portrait {
  background:
    radial-gradient(circle at 50% 28%, #8c5d4d 0 24%, transparent 25%),
    radial-gradient(circle at 50% 45%, #2b2422 0 38%, transparent 39%),
    linear-gradient(145deg, #efe4d7, #b7848c);
  border-radius: 8px;
  display: block;
  height: 82px;
  width: 82px;
}

.tester-card-2 .tester-portrait {
  background:
    radial-gradient(circle at 50% 30%, #6c4335 0 23%, transparent 24%),
    radial-gradient(circle at 50% 48%, #17110f 0 42%, transparent 43%),
    linear-gradient(145deg, #f6f1eb, #9b6f77);
}

.tester-card-3 .tester-portrait {
  background:
    radial-gradient(circle at 50% 28%, #a87358 0 24%, transparent 25%),
    radial-gradient(circle at 50% 45%, #a84f2b 0 38%, transparent 39%),
    linear-gradient(145deg, #fcfaf8, #e0c4aa);
}

.tester-card h3 {
  color: var(--sw-espresso);
  font-size: 18px;
  margin: 0 0 4px;
}

.education-list {
  display: grid;
  gap: 10px;
}

.education-list a,
.targeted-guide-grid a,
.comparison-destinations a,
.education-destinations a {
  background: var(--sw-surface);
  color: var(--sw-espresso);
  display: block;
  font-weight: 750;
  padding: 14px;
}

.targeted-guide-grid,
.comparison-destinations,
.education-destinations {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.targeted-guide-grid a,
.comparison-destinations a,
.education-destinations a {
  border: 1px solid var(--sw-border);
  border-radius: 8px;
  scroll-margin-top: 96px;
}

.targeted-guide-grid span,
.comparison-destinations span,
.education-destinations span {
  color: var(--sw-rosewood);
  display: block;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.targeted-guide-grid strong,
.comparison-destinations strong,
.education-destinations strong {
  display: block;
  line-height: 1.25;
  margin-top: 4px;
}

.newsletter-section {
  align-items: center;
  background: var(--sw-espresso);
  border-radius: 8px;
  color: #fff;
  display: grid;
  gap: 22px;
  margin: 48px 0 28px;
  padding: 26px 18px;
}

.newsletter-section .eyebrow {
  color: #ead4d8;
}

.newsletter-section h2 {
  color: #fff;
  font-family: var(--sw-display);
  font-size: clamp(30px, 5vw, 44px);
  line-height: 1.1;
  margin: 0;
}

.newsletter-section p {
  color: #efe7e2;
  margin: 12px 0 0;
}

.newsletter-form {
  display: grid;
  gap: 8px;
}

.newsletter-form label {
  color: #fff;
  font-weight: 800;
}

.newsletter-form div {
  display: grid;
  gap: 8px;
}

.newsletter-form input,
.newsletter-form button {
  border-radius: 999px;
  font: inherit;
  min-height: 48px;
  padding: 12px 16px;
}

.newsletter-form input {
  border: 1px solid rgb(255 255 255 / 0.35);
}

.newsletter-form button {
  background: #fff;
  border: 0;
  color: var(--sw-espresso);
  cursor: pointer;
  font-weight: 800;
}

.newsletter-form > p {
  color: #d7c8c0;
  font-size: 13px;
  margin: 0;
}

.newsletter-form .newsletter-status {
  background: rgb(255 255 255 / 0.12);
  border: 1px solid rgb(255 255 255 / 0.24);
  border-radius: 8px;
  color: #fff;
  padding: 10px 12px;
}

.site-footer {
  align-items: start;
  background: var(--sw-soft-taupe);
  border-top: 1px solid var(--sw-border);
  color: var(--sw-text-primary);
  display: grid;
  gap: 18px;
  margin: 0 auto;
  max-width: 1200px;
  padding: 30px 18px;
}

.site-footer strong {
  color: var(--sw-espresso);
  display: block;
  font-family: var(--sw-display);
  font-size: 24px;
}

.site-footer p {
  margin: 6px 0 0;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
}

.site-footer a {
  color: var(--sw-espresso);
  font-weight: 750;
}

.breadcrumbs {
  align-items: center;
  color: #77716a;
  display: flex;
  flex-wrap: wrap;
  font-size: 14px;
  gap: 8px;
  padding: 18px 0 0;
}

.breadcrumbs a {
  color: #8f324f;
  font-weight: 750;
}

.article-layout {
  padding-top: 28px;
}

.article-hero {
  margin-bottom: 26px;
}

.article-meta {
  color: #77716a;
  display: flex;
  flex-wrap: wrap;
  font-size: 14px;
  gap: 10px;
  margin-top: 16px;
}

.article-promise {
  border-top: 1px solid #ebe5dc;
  color: #47423d;
  display: grid;
  gap: 8px;
  list-style: none;
  margin: 18px 0 0;
  max-width: 680px;
  padding: 14px 0 0;
}

.article-promise li {
  align-items: baseline;
  display: flex;
  gap: 8px;
}

.article-promise li::before {
  background: #8f324f;
  border-radius: 999px;
  content: "";
  flex: 0 0 auto;
  height: 6px;
  margin-top: 10px;
  width: 6px;
}

.affiliate-disclosure {
  background: #fff8ed;
  border: 1px solid #efd7b5;
  border-radius: 8px;
  color: #744312;
  font-size: 14px;
  margin-top: 18px;
  padding: 12px 14px;
}

.best-pick-strip {
  align-items: center;
  background: #fff;
  border: 1px solid #ebe5dc;
  border-radius: 8px;
  display: grid;
  gap: 12px;
  margin-top: 12px;
  padding: 14px;
}

.best-pick-strip span {
  color: #8f324f;
  display: block;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.best-pick-strip strong {
  color: #171412;
  display: block;
  font-size: 18px;
  line-height: 1.2;
  margin-top: 3px;
}

.public-body .best-pick-title-link,
.public-body .product-title-link {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: rgb(155 111 119 / 0.42);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.public-body .best-pick-title-link:hover,
.public-body .product-title-link:hover {
  color: var(--sw-rosewood);
  text-decoration-color: currentColor;
}

.public-body .best-pick-title-link:focus-visible,
.public-body .product-title-link:focus-visible {
  border-radius: 4px;
  outline: 3px solid rgb(183 132 140 / 0.38);
  outline-offset: 3px;
}

.best-pick-strip small {
  color: #5f5a54;
  display: block;
  font-size: 13px;
  font-weight: 760;
  margin-top: 4px;
}

.best-pick-cta {
  width: 100%;
}

.article-jump-nav {
  background: #fff;
  border: 1px solid #ebe5dc;
  border-radius: 8px;
  margin: 18px 0 28px;
  padding: 14px;
}

.article-jump-nav h2 {
  color: #171412;
  font-size: 18px;
  font-weight: 760;
  margin: 0 0 10px;
}

.article-jump-nav div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.article-jump-nav a {
  background: #f7f4ef;
  border: 1px solid #ebe5dc;
  border-radius: 999px;
  color: #47423d;
  font-size: 14px;
  font-weight: 800;
  min-height: 36px;
  padding: 7px 11px;
}

.top-picks {
  margin: 22px 0 30px;
}

.top-picks-heading {
  margin-bottom: 12px;
}

.top-picks-heading h2 {
  color: #171412;
  font-size: 24px;
  font-weight: 720;
  line-height: 1.15;
  margin: 0 0 6px;
}

.top-picks-heading p {
  color: #5f5a54;
  margin: 0;
}

.top-picks-grid {
  display: grid;
  gap: 12px;
}

.top-pick-card {
  background: #fff;
  border: 1px solid #ebe5dc;
  border-radius: 8px;
  display: grid;
  gap: 12px;
  padding: 14px;
}

.top-pick-media {
  align-items: center;
  background:
    radial-gradient(circle at 50% 42%, rgb(255 255 255 / 0.7), transparent 34%),
    var(--sw-soft-taupe);
  border-radius: 8px;
  display: flex;
  justify-content: center;
  min-height: 150px;
  overflow: hidden;
}

.top-pick-image {
  border-radius: 8px;
  display: block;
  object-fit: contain;
  max-height: 185px;
  mix-blend-mode: multiply;
  transform: scale(1.22);
  width: min(230px, 92%);
}

.top-pick-body h3 {
  color: #171412;
  font-size: 20px;
  font-weight: 720;
  line-height: 1.2;
  margin: 10px 0 8px;
}

.top-pick-body p {
  color: #5f5a54;
  margin: 0 0 12px;
}

.top-pick-facts {
  color: #47423d !important;
  font-size: 14px;
  font-weight: 760;
}

.top-pick-cta {
  width: 100%;
}

.quick-picks {
  margin: 22px 0 30px;
  padding: 16px;
}

.quick-picks h2 {
  font-size: 18px;
  margin: 0 0 12px;
}

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

.quick-picks li {
  border-radius: 8px;
  display: grid;
}

.quick-picks a {
  border-radius: 8px;
  display: block;
  padding: 10px;
}

.quick-picks li:hover {
  background: #f6f2ec;
}

.quick-picks .quick-pick-section-link {
  padding: 10px 10px 0;
}

.quick-picks .quick-pick-product-link {
  padding: 2px 10px 10px;
}

.quick-picks span {
  color: #8f324f;
  display: block;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.quick-picks strong {
  display: block;
  margin-top: 2px;
}

.article-body {
  color: #38342f;
  font-size: 19px;
  line-height: 1.78;
}

.article-body h2 {
  color: #171412;
  font-size: clamp(25px, 4vw, 33px);
  font-weight: 720;
  letter-spacing: 0;
  line-height: 1.18;
  margin: 38px 0 12px;
  scroll-margin-top: 96px;
}

.article-body h3 {
  color: #171412;
  font-size: 22px;
  font-weight: 720;
  line-height: 1.25;
  margin: 28px 0 10px;
  scroll-margin-top: 96px;
}

.article-body p {
  margin: 0 0 20px;
}

.article-body ul,
.article-body ol {
  margin: 0 0 22px;
  padding-left: 22px;
}

.article-body li + li {
  margin-top: 7px;
}

.article-body a {
  color: #8f324f;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.public-body .affiliate-product-link {
  color: var(--sw-rosewood);
  font-weight: 800;
  text-decoration-color: rgb(155 111 119 / 0.48);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.public-body .affiliate-product-link:hover {
  color: var(--sw-espresso);
  text-decoration-color: currentColor;
}

.article-table-wrap {
  margin: 18px 0 28px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.article-table-wrap table {
  background: #fff;
  border: 1px solid #ebe5dc;
  border-collapse: collapse;
  border-radius: 8px;
  min-width: 680px;
  overflow: hidden;
  width: 100%;
}

.article-table-wrap th,
.article-table-wrap td {
  border-bottom: 1px solid #ebe5dc;
  padding: 11px 12px;
  text-align: left;
  vertical-align: top;
}

.article-table-wrap th {
  background: #f3eee7;
  color: #171412;
  font-size: 13px;
  font-weight: 800;
}

.article-table-wrap td {
  color: #38342f;
  font-size: 14px;
  line-height: 1.45;
}

.recommendations {
  margin-top: 38px;
}

.methodology-note {
  background: #fff8ed;
  border: 1px solid #efd7b5;
  border-radius: 8px;
  color: #744312;
  font-size: 14px;
  margin-bottom: 16px;
  padding: 12px 14px;
}

.methodology-note strong,
.methodology-note span {
  display: block;
}

.product-card {
  display: grid;
  gap: 16px;
  margin-top: 16px;
  padding: 16px;
  scroll-margin-top: 84px;
}

.product-media {
  align-items: center;
  background:
    radial-gradient(circle at 50% 42%, rgb(255 255 255 / 0.76), transparent 36%),
    linear-gradient(145deg, var(--sw-soft-taupe), #efe7df);
  border-radius: 8px;
  display: flex;
  justify-content: center;
  min-height: 230px;
  overflow: hidden;
  position: relative;
}

.product-image {
  max-height: 310px;
  mix-blend-mode: multiply;
  transform: scale(1.28);
  width: min(380px, 96%);
}

.product-label-row {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: space-between;
}

.product-label {
  background: #f7e9ee;
  border-radius: 999px;
  color: #8f324f;
  font-size: 12px;
  font-weight: 800;
  padding: 5px 9px;
  text-transform: uppercase;
}

.product-price {
  color: #171412;
  font-weight: 800;
}

.product-card h3 {
  color: #171412;
  font-size: 24px;
  font-weight: 720;
  line-height: 1.18;
  margin: 12px 0 8px;
}

.product-card p {
  color: #5f5a54;
  margin: 0 0 14px;
}

.product-facts {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0 0 16px;
}

.product-facts div {
  background: #f7f4ef;
  border-radius: 8px;
  padding: 9px;
}

.product-facts dt {
  color: #77716a;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.product-facts dd {
  font-weight: 720;
  margin: 2px 0 0;
}

.product-cta {
  width: 100%;
}

.related-articles {
  border-top: 1px solid #ebe5dc;
  margin-top: 42px;
  padding-top: 24px;
}

.related-articles h2 {
  font-size: 24px;
  font-weight: 720;
  margin: 0 0 14px;
}

.related-grid {
  display: grid;
  gap: 12px;
}

.related-card {
  display: block;
  padding: 14px;
}

.related-card span {
  color: #8f324f;
  display: block;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

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

.site-header-simple {
  position: sticky;
}

.site-nav-simple {
  margin-left: auto;
}

.home-page-simple {
  max-width: 1120px;
}

.simple-hero {
  gap: 34px;
  min-height: min(680px, calc(100svh - 72px));
  padding: 56px 0 42px;
}

.simple-hero .hero-lead {
  max-width: 620px;
}

.simple-trust-line {
  color: var(--sw-text-secondary);
  font-size: 14px;
  font-weight: 700;
  margin: 14px 0 0;
}

.simple-hero-visual {
  aspect-ratio: 4 / 5;
  min-height: 360px;
}

.simple-guides-section,
.simple-categories-section {
  border-top: 1px solid var(--sw-border);
}

.simple-guide-list {
  display: grid;
  gap: 0;
  margin-top: 24px;
}

.simple-guide-item {
  border-bottom: 1px solid var(--sw-border);
}

.simple-guide-item:first-child {
  border-top: 1px solid var(--sw-border);
}

.simple-guide-link {
  display: grid;
  gap: 8px;
  padding: 20px 0;
}

.simple-guide-link:hover strong,
.simple-guide-link:hover em,
.simple-category-list a:hover {
  color: var(--sw-rosewood);
}

.simple-guide-link span {
  color: var(--sw-rosewood);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.simple-guide-link strong {
  color: var(--sw-espresso);
  font-family: var(--sw-display);
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 700;
  line-height: 1.14;
  max-width: 780px;
}

.simple-guide-link em {
  color: var(--sw-text-secondary);
  font-size: 14px;
  font-style: normal;
  font-weight: 800;
}

.simple-category-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.simple-category-list a {
  border: 1px solid var(--sw-border-strong);
  border-radius: 999px;
  color: var(--sw-espresso);
  font-weight: 800;
  min-height: 44px;
  padding: 9px 14px;
}

.site-footer-simple {
  background: transparent;
}

@media (min-width: 720px) {
  .site-header {
    padding: 14px 28px;
  }

  .site-nav {
    gap: 8px;
    overflow: visible;
  }

  .home-page,
  .article-page {
    padding-left: 28px;
    padding-right: 28px;
  }

  .home-hero {
    align-items: center;
    grid-template-columns: minmax(0, 1fr) minmax(310px, 0.72fr);
    padding: 72px 0 64px;
  }

  .simple-hero {
    grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
    padding: 70px 0 46px;
  }

  .hair-navigator-section,
  .comparison-section,
  .education-section {
    padding: 44px;
  }

  .hair-type-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .comparison-grid,
  .tester-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .newsletter-section {
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.8fr);
    padding: 44px;
  }

  .newsletter-form div {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .site-footer {
    grid-template-columns: minmax(0, 1fr) auto;
    padding-left: 28px;
    padding-right: 28px;
  }

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

  .trust-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .trust-strip div {
    border-bottom: 0;
    border-right: 1px solid var(--sw-border);
    padding: 0 18px;
  }

  .trust-strip div:first-child {
    padding-left: 0;
  }

  .trust-strip div:last-child {
    border-right: 0;
  }

  .article-card-link {
    grid-template-rows: auto 1fr;
  }

  .article-layout {
    margin: 0 auto;
    max-width: 760px;
  }

  .quick-picks ol {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .best-pick-strip {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .best-pick-cta {
    width: auto;
  }

  .top-picks-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .top-pick-card {
    grid-template-rows: auto 1fr;
  }

  .product-card {
    grid-template-columns: 240px minmax(0, 1fr);
    padding: 18px;
  }

  .product-cta {
    width: auto;
  }

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

@media (min-width: 1040px) {
  .article-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .content-section {
    padding-bottom: 76px;
    padding-top: 76px;
  }
}

@media (max-width: 719px) {
  .site-header .site-nav-simple a:last-child {
    display: inline-flex;
  }

  .home-hero {
    gap: 20px;
    min-height: auto;
    padding-top: 28px;
  }

  .simple-hero {
    gap: 14px;
    padding-bottom: 26px;
    padding-top: 18px;
  }

  .hero-editorial-visual {
    aspect-ratio: 16 / 10;
    min-height: 0;
    order: -1;
  }

  .simple-hero-visual {
    aspect-ratio: 16 / 9;
  }

  .simple-hero .hero-actions {
    margin-top: 18px;
  }

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

  .hero-visual-note {
    display: none;
  }

  .home-hero-copy h1,
  .article-hero h1 {
    font-size: clamp(35px, 10vw, 46px);
  }

  .hero-lead {
    font-size: 17px;
    line-height: 1.5;
  }

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

  .hair-type-grid {
    display: flex;
    gap: 12px;
    margin-left: -18px;
    margin-right: -18px;
    overflow-x: auto;
    padding: 0 18px 8px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }

  .hair-type-card {
    flex: 0 0 78%;
    scroll-snap-align: start;
  }

  .site-footer {
    margin-left: 18px;
    margin-right: 18px;
  }
}
/*
 * This is a manifest file that'll be compiled into application.css, which will include all the files
 * listed below.
 *
 * Any CSS (and SCSS, if configured) file within this directory, lib/assets/stylesheets, or any plugin's
 * vendor/assets/stylesheets directory can be referenced here using a relative path.
 *
 * You're free to add application-wide styles to this file and they'll appear at the bottom of the
 * compiled file so the styles you add here take precedence over styles defined in any other CSS
 * files in this directory. Styles in this file should be added after the last require_* statement.
 * It is generally better to create a new file per style scope.
 *


 */
