:root {
  --bg: #f7f8f3;
  --surface: #ffffff;
  --surface-soft: #eef4ea;
  --text: #2f3433;
  --muted: #66706b;
  --line: #dfe5dc;
  --brand: #75a942;
  --brand-dark: #4d7c2a;
  --accent: #2e7d8b;
  --accent-dark: #215f6a;
  --warn: #9d5a2e;
  --shadow: 0 16px 38px rgba(50, 58, 50, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  background: var(--bg);
}

body {
  margin: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(247, 248, 243, 0) 420px),
    var(--bg);
  color: var(--text);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

a {
  color: var(--accent-dark);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

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

.wrap {
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
}

.site-header {
  border-bottom: 1px solid rgba(223, 229, 220, 0.9);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 10;
}

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

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.brand img {
  display: block;
  width: 122px;
  max-width: 42vw;
  height: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 15px;
}

.nav-links a {
  border-radius: 999px;
  color: var(--text);
  padding: 8px 12px;
}

.nav-links a:hover,
.nav-more summary:hover {
  background: var(--surface-soft);
  text-decoration: none;
}

.nav-more {
  position: relative;
}

.nav-more summary {
  border-radius: 999px;
  color: var(--text);
  cursor: pointer;
  display: block;
  list-style: none;
  padding: 8px 12px;
}

.nav-more summary::-webkit-details-marker {
  display: none;
}

.nav-more-menu {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 2px;
  min-width: 220px;
  padding: 8px;
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  z-index: 20;
}

.nav-more-menu a {
  border-radius: 8px;
  padding: 9px 10px;
  white-space: nowrap;
}

.nav-links .nav-search {
  background: var(--text);
  color: #fff;
  margin-left: 4px;
}

.nav-links .nav-search:hover {
  background: #151918;
  color: #fff;
}

.nav-toggle-button {
  display: none;
}

.hero {
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  padding: 72px 0 64px;
  position: relative;
}

.hero::before {
  background:
    linear-gradient(90deg, rgba(247, 248, 243, 0.98) 0%, rgba(247, 248, 243, 0.9) 44%, rgba(247, 248, 243, 0.42) 68%, rgba(247, 248, 243, 0.25) 100%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.22), rgba(247, 248, 243, 0.34)),
    url("/assets/hero-mother-baby.webp") right center / cover no-repeat;
  content: "";
  inset: 0;
  opacity: 0.78;
  position: absolute;
}

.hero::after {
  background: rgba(255, 255, 255, 0.5);
  content: "";
  height: 1px;
  inset: auto 0 0;
  position: absolute;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 820px);
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-copy h1 {
  max-width: 720px;
  margin: 0 0 18px;
  font-size: clamp(38px, 5.6vw, 64px);
  line-height: 1.04;
  letter-spacing: 0;
}

.hero-copy p:not(.eyebrow) {
  max-width: 690px;
  margin: 0;
  color: var(--muted);
  font-size: 20px;
}

.eyebrow {
  color: var(--brand-dark);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0.08em;
  margin: 0 0 10px;
  text-transform: uppercase;
}

.hero-panel {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(223, 229, 220, 0.9);
  border-radius: 8px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 8px;
  padding: 18px;
}

.panel-label {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 4px;
  text-transform: uppercase;
}

.hero-panel a {
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--text);
  font-weight: 750;
  padding: 12px 14px;
}

.hero-panel a:hover {
  background: var(--surface-soft);
  text-decoration: none;
}

.searchbar {
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(50, 58, 50, 0.06);
  display: grid;
  grid-template-columns: 1fr 220px auto;
  gap: 10px;
  margin-top: 30px;
  max-width: 890px;
  padding: 10px;
}

input,
select,
button,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  font: inherit;
}

input,
select {
  min-height: 46px;
}

input,
select,
textarea {
  background: #fff;
  color: var(--text);
  padding: 0 12px;
}

textarea {
  min-height: 92px;
  padding: 10px 12px;
  resize: vertical;
}

button {
  background: var(--brand);
  border-color: var(--brand-dark);
  color: #fff;
  cursor: pointer;
  font-weight: 800;
  min-height: 46px;
  padding: 0 18px;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}

button:hover {
  background: var(--brand-dark);
  border-color: #34581f;
  color: #fff;
}

.section {
  padding: 42px 0;
}

.popular-topics {
  border-bottom: 1px solid var(--line);
  margin-bottom: 34px;
  padding-bottom: 24px;
}

.popular-topics .eyebrow {
  margin-bottom: 12px;
}

.topic-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.topic-chips a {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text);
  display: inline-flex;
  font-size: 15px;
  font-weight: 800;
  padding: 8px 13px;
  text-decoration: none;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.topic-chips a:hover {
  background: var(--surface-soft);
  border-color: #c8d6c1;
  color: var(--accent-dark);
  transform: translateY(-1px);
}

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

.section-heading h2,
.section h2 {
  font-size: clamp(26px, 4vw, 36px);
  line-height: 1.12;
  margin: 0;
}

.text-link {
  color: var(--accent-dark);
  font-weight: 800;
}

.section-intro {
  color: var(--muted);
  max-width: 720px;
  margin: -8px 0 22px;
}

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

.article-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(50, 58, 50, 0.05);
  display: flex;
  flex-direction: column;
  min-height: 230px;
  padding: 20px;
  transition: border-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
  overflow: hidden;
}

.article-card:hover {
  border-color: #c8d6c1;
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.card-kicker {
  color: var(--brand-dark);
  font-size: 12px;
  font-weight: 850;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.card-thumb {
  align-items: center;
  aspect-ratio: 16 / 9;
  background: var(--surface-soft);
  border-radius: 8px;
  color: var(--brand-dark);
  display: flex;
  justify-content: center;
  margin: -4px -4px 16px;
  overflow: hidden;
}

.card-thumb img {
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.card-thumb-placeholder {
  background:
    linear-gradient(135deg, rgba(117, 169, 66, 0.16), rgba(46, 125, 139, 0.13)),
    #f4f7f1;
}

.card-thumb-placeholder span {
  font-weight: 900;
}

.article-card h3 {
  margin: 0 0 12px;
  font-size: 20px;
  line-height: 1.25;
}

.article-card h3 a {
  color: var(--text);
  text-decoration: none;
}

.article-card h3 a:hover {
  color: var(--accent-dark);
}

.article-card p {
  color: var(--muted);
  margin: 0;
}

.card-readmore {
  align-items: center;
  color: var(--accent-dark);
  display: inline-flex;
  font-weight: 800;
  gap: 7px;
  margin-top: auto;
  padding-top: 22px;
  text-decoration: none;
  width: max-content;
}

.card-readmore::after {
  content: "→";
  font-size: 18px;
  line-height: 1;
  transform: translateY(1px);
  transition: transform 160ms ease;
}

.card-readmore:hover {
  color: var(--text);
}

.card-readmore:hover::after {
  transform: translate(4px, 1px);
}

.article-card form {
  margin-top: 14px;
}

.empty-state {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  grid-column: 1 / -1;
  padding: 24px;
}

.empty-state h3 {
  margin: 0 0 8px;
}

.empty-state p {
  color: var(--muted);
  margin: 0;
}

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

.category-grid a {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--text);
  display: grid;
  gap: 2px;
  min-height: 98px;
  padding: 16px;
}

.category-grid a:hover {
  border-color: #c8d6c1;
  box-shadow: 0 10px 24px rgba(50, 58, 50, 0.05);
  text-decoration: none;
}

.category-grid span {
  font-size: 17px;
  font-weight: 850;
}

.category-grid small {
  color: var(--muted);
}

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

.category-list a {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text);
  padding: 8px 12px;
}

.final-band {
  background: #ffffff;
  border-bottom: 1px solid var(--line);
  border-top: 1px solid var(--line);
}

.final-grid {
  align-items: center;
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 28px;
}

.final-grid h2 {
  margin: 0;
}

.final-grid p:last-child {
  color: var(--muted);
  font-size: 18px;
  margin: 0;
}

.newsletter-block {
  align-items: center;
  background:
    linear-gradient(135deg, rgba(117, 169, 66, 0.11), rgba(46, 125, 139, 0.07)),
    var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 26px;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.85fr);
  margin-top: 34px;
  padding: 28px;
}

.newsletter-block h2 {
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.08;
  margin: 0 0 12px;
}

.newsletter-block p:not(.eyebrow) {
  color: var(--muted);
  margin: 0;
}

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

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

.newsletter-row button {
  white-space: nowrap;
}

.newsletter-consent {
  align-items: flex-start;
  color: var(--muted);
  display: flex;
  font-size: 13px;
  gap: 9px;
  line-height: 1.45;
}

.newsletter-consent input {
  flex: 0 0 auto;
  margin-top: 3px;
  min-height: auto;
  width: auto;
}

.newsletter-message {
  border-radius: 8px;
  font-size: 14px;
  font-weight: 750;
  margin: 0;
  padding: 10px 12px;
}

.newsletter-message.success {
  background: #edf6e7;
  border: 1px solid #c8dfba;
  color: #34581f;
}

.newsletter-message.error {
  background: #fff0ed;
  border: 1px solid #efc8bf;
  color: #823120;
}

.hp-field {
  clip: rect(0, 0, 0, 0);
  height: 1px;
  left: -9999px;
  position: absolute;
  width: 1px;
}

.page-hero {
  max-width: 800px;
  margin-bottom: 26px;
}

.page-hero h1 {
  font-size: clamp(36px, 6vw, 58px);
  line-height: 1.05;
  margin: 0 0 14px;
}

.page-hero p:not(.eyebrow) {
  color: var(--muted);
  font-size: 19px;
  margin: 0;
}

.category-intro {
  border-left: 4px solid var(--brand);
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
  margin: -6px 0 28px;
  max-width: 840px;
  padding: 2px 0 2px 18px;
}

.category-intro p {
  margin: 0;
}

.article {
  max-width: 780px;
  padding: 42px 0;
}

.article h1 {
  font-size: clamp(34px, 6vw, 56px);
  line-height: 1.05;
  margin: 0 0 14px;
}

.article .excerpt {
  color: var(--muted);
  font-size: 19px;
}

.article-body {
  font-size: 18px;
}

.article-body a {
  background: linear-gradient(180deg, transparent 60%, rgba(155, 190, 72, 0.26) 60%);
  border-radius: 2px;
  color: #275f66;
  font-weight: 750;
  text-decoration-color: #9bbe48;
  text-decoration-line: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}

.article-body a:hover {
  background: linear-gradient(180deg, transparent 46%, rgba(155, 190, 72, 0.4) 46%);
  color: var(--text);
  text-decoration-color: var(--brand);
}

.article-body h2 {
  margin-top: 36px;
}

.featured-image {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 24px 0;
}

.faq-block {
  border-top: 1px solid var(--line);
  margin-top: 38px;
  padding-top: 22px;
}

.faq-block details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  margin: 10px 0;
  padding: 12px 14px;
}

.faq-block summary {
  cursor: pointer;
  font-weight: 800;
}

.share-block {
  border-top: 1px solid var(--line);
  margin-top: 34px;
  padding-top: 22px;
}

.share-block p {
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.06em;
  margin: 0 0 12px;
  text-transform: uppercase;
}

.share-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.share-links a,
.share-copy {
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text);
  display: inline-flex;
  gap: 8px;
  min-height: 42px;
  padding: 8px 13px;
  width: auto;
}

.share-links a:hover,
.share-copy:hover {
  background: var(--surface-soft);
  border-color: #c8d6c1;
  color: var(--text);
  text-decoration: none;
}

.share-links svg {
  fill: currentColor;
  height: 18px;
  width: 18px;
}

.share-links span {
  font-size: 14px;
  font-weight: 800;
}

.share-copy {
  cursor: pointer;
  font-weight: 800;
}

.cookie-banner {
  align-items: center;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--line);
  border-radius: 8px;
  bottom: 18px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 16px;
  grid-template-columns: minmax(0, 1fr) auto;
  left: 50%;
  max-width: min(920px, calc(100% - 28px));
  padding: 16px;
  position: fixed;
  transform: translateX(-50%);
  width: 100%;
  z-index: 80;
}

.cookie-banner[hidden] {
  display: none;
}

.cookie-banner strong {
  color: var(--text);
  display: block;
  font-size: 17px;
  margin-bottom: 3px;
}

.cookie-banner p {
  color: var(--muted);
  font-size: 14px;
  margin: 0;
}

.cookie-actions {
  display: flex;
  gap: 8px;
}

.cookie-actions button {
  min-height: 40px;
  padding: 0 14px;
  white-space: nowrap;
}

.cookie-actions .cookie-secondary {
  background: #fff;
  border-color: var(--line);
  color: var(--text);
}

.cookie-actions .cookie-secondary:hover {
  background: var(--surface-soft);
  border-color: #c8d6c1;
  color: var(--text);
}

.related-block {
  border-top: 1px solid var(--line);
  margin-top: 38px;
  padding-top: 28px;
}

.article .related-block .section-heading {
  margin-bottom: 16px;
}

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

.ad-slot {
  background: #f2f4ef;
  border: 1px dashed #cdd4c6;
  border-radius: 8px;
  margin: 20px 0;
  min-height: 96px;
}

.admin-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  margin: 20px 0;
  padding: 18px;
}

.admin-panel h2 {
  margin-top: 0;
}

.panel-form {
  display: grid;
  gap: 10px;
}

.compact-form {
  margin-top: 12px;
}

.image-panel p {
  color: var(--muted);
  margin-top: -4px;
}

.internal-links-panel p {
  color: var(--muted);
  margin-top: -4px;
}

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

.internal-link-suggestions {
  display: grid;
  gap: 12px;
  margin-top: 14px;
}

.internal-link-language {
  background: var(--surface-soft);
  border-radius: 999px;
  color: var(--text) !important;
  display: inline-flex;
  font-size: 13px;
  font-weight: 850;
  justify-self: start;
  margin: 0 !important;
  padding: 4px 10px;
}

.internal-link-suggestions input[type="checkbox"] {
  min-height: auto;
  width: auto;
}

.danger-button {
  background: #fff;
  border-color: #e2bbb4;
  color: #8a3a2d;
}

.danger-button:hover {
  background: #8a3a2d;
  border-color: #8a3a2d;
  color: #fff;
}

.editor-form {
  display: grid;
  gap: 16px;
  margin-top: 24px;
}

.editor-form label {
  color: var(--muted);
  display: grid;
  font-weight: 700;
  gap: 6px;
}

.editor-field {
  color: var(--muted);
  display: grid;
  font-weight: 700;
  gap: 6px;
}

.checkbox-label {
  align-items: center;
  display: flex;
  gap: 10px;
}

.checkbox-label input {
  min-height: auto;
  width: auto;
}

.editor-form input,
.editor-form select,
.editor-form textarea {
  color: var(--text);
  font-weight: 400;
}

.wysiwyg {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.wysiwyg-toolbar {
  align-items: center;
  background: var(--surface-soft);
  border-bottom: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 8px;
}

.wysiwyg-toolbar button {
  background: #fff;
  border: 1px solid var(--line);
  color: var(--text);
  min-height: 34px;
  padding: 0 10px;
  width: auto;
}

.wysiwyg-toolbar button:hover {
  background: var(--text);
  border-color: var(--text);
  color: #fff;
}

.wysiwyg-surface,
.wysiwyg-source {
  border: 0;
  border-radius: 0;
  color: var(--text);
  font-weight: 400;
  min-height: 520px;
  outline: none;
  padding: 18px;
  width: 100%;
}

.wysiwyg-surface {
  background: #fff;
  overflow: auto;
}

.wysiwyg-surface h2,
.wysiwyg-surface h3,
.wysiwyg-surface p,
.wysiwyg-surface ul,
.wysiwyg-surface ol,
.wysiwyg-surface blockquote {
  margin-top: 0;
}

.wysiwyg-surface blockquote {
  border-left: 3px solid var(--brand);
  color: var(--muted);
  padding-left: 14px;
}

.wysiwyg-source {
  display: none;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  line-height: 1.5;
  padding: 14px;
}

.wysiwyg.is-source .wysiwyg-surface {
  display: none;
}

.wysiwyg.is-source .wysiwyg-source {
  display: block;
}

.admin-categories {
  margin: 18px 0 4px;
}

.admin-list {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  margin: 14px 0 28px;
  overflow: hidden;
}

.admin-list-row {
  align-items: center;
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 18px;
  grid-template-columns: 96px minmax(0, 1fr) auto;
  padding: 16px 18px;
}

.admin-list-thumb {
  aspect-ratio: 3 / 2;
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: 8px;
  display: block;
  height: auto;
  object-fit: cover;
  width: 96px;
}

.admin-list-thumb-empty {
  align-items: center;
  color: var(--muted);
  display: flex;
  font-size: 13px;
  font-weight: 850;
  justify-content: center;
}

.admin-image-preview {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  margin: 18px 0 22px;
  max-width: 520px;
  overflow: hidden;
}

.admin-image-preview img {
  aspect-ratio: 3 / 2;
  display: block;
  height: auto;
  object-fit: cover;
  width: 100%;
}

.admin-image-preview figcaption {
  color: var(--muted);
  font-size: 14px;
  padding: 10px 12px;
}

.admin-list-row:last-child {
  border-bottom: 0;
}

.admin-list-row h3 {
  font-size: 18px;
  line-height: 1.25;
  margin: 0 0 5px;
}

.admin-list-row p {
  color: var(--muted);
  margin: 0 0 8px;
}

.admin-status {
  background: var(--surface-soft);
  border-radius: 999px;
  color: var(--text);
  display: inline-flex;
  font-size: 13px;
  font-weight: 800;
  padding: 3px 9px;
}

.admin-help {
  color: var(--muted);
  margin: -8px 0 14px;
}

.admin-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.admin-actions a,
.admin-actions button {
  min-height: 38px;
  white-space: nowrap;
}

.admin-actions a {
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--text);
  display: inline-flex;
  font-weight: 800;
  padding: 7px 11px;
}

.admin-actions a:hover {
  background: var(--surface-soft);
  text-decoration: none;
}

.admin-actions .danger-button {
  background: #fff;
  border-color: #e2bbb4;
  color: #8a3a2d;
}

.admin-actions .danger-button:hover {
  background: #8a3a2d;
  border-color: #8a3a2d;
  color: #fff;
}

.admin-actions form {
  margin: 0;
}

.admin-empty {
  color: var(--muted);
  padding: 16px 18px;
}

.category-picker {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
}

.faq-editor {
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 14px;
  padding: 14px;
}

.faq-editor legend,
.category-picker legend {
  color: var(--text);
  font-weight: 850;
  padding: 0 6px;
}

.faq-editor p,
.category-picker p {
  color: var(--muted);
  margin: 0 0 12px;
}

.faq-editor-row {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 10px;
  padding: 12px;
}

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

.category-check {
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--text);
  display: flex;
  gap: 8px;
  padding: 9px 10px;
}

.category-check input {
  min-height: auto;
  width: auto;
}

.notice {
  border-radius: 8px;
  margin: 16px 0;
  padding: 12px 14px;
}

.notice.success {
  background: #edf6e7;
  border: 1px solid #c8dfba;
  color: #34581f;
}

.notice.error {
  background: #fff0ed;
  border: 1px solid #efc8bf;
  color: #823120;
}

.job-table-wrap {
  overflow-x: auto;
  margin-top: 14px;
}

.job-table {
  background: var(--surface);
  border: 1px solid var(--line);
  border-collapse: collapse;
  border-radius: 8px;
  min-width: 760px;
  width: 100%;
}

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

.job-table th {
  color: var(--muted);
  font-size: 13px;
  text-transform: uppercase;
}

.status-ok,
.status-bad {
  border-radius: 999px;
  display: inline-block;
  font-size: 13px;
  font-weight: 800;
  padding: 3px 9px;
}

.status-ok {
  background: #edf6e7;
  color: #34581f;
}

.status-bad {
  background: #fff0ed;
  color: #823120;
}

.site-footer {
  background: #fff;
  border-top: 1px solid var(--line);
  color: var(--muted);
  padding: 30px 0;
  margin-top: 30px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 12px;
}

.breadcrumbs {
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  font-size: 14px;
  gap: 8px;
  margin-bottom: 22px;
}

.breadcrumbs a {
  color: var(--link);
  font-weight: 750;
  text-decoration: none;
}

.breadcrumbs a:hover {
  color: var(--text);
  text-decoration: underline;
  text-decoration-color: var(--brand);
  text-underline-offset: 4px;
}

.article-language {
  margin-bottom: 14px;
}

.article-language a {
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text);
  display: inline-flex;
  font-size: 14px;
  font-weight: 800;
  padding: 6px 10px;
}

.page-content {
  max-width: 780px;
  padding: 42px 0;
}

.page-content h1 {
  font-size: clamp(34px, 6vw, 54px);
  line-height: 1.05;
  margin: 0 0 16px;
}

.page-content h2 {
  margin-top: 30px;
}

@media (max-width: 900px) {
  .hero-grid,
  .final-grid {
    grid-template-columns: 1fr;
  }

  .hero::before {
    background:
      linear-gradient(180deg, rgba(247, 248, 243, 0.95) 0%, rgba(247, 248, 243, 0.82) 46%, rgba(247, 248, 243, 0.42) 100%),
      url("/assets/hero-mother-baby.webp") 78% center / cover no-repeat;
    opacity: 0.7;
  }

  .hero-panel {
    max-width: 560px;
  }

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

@media (max-width: 760px) {
  .wrap {
    width: min(100% - 28px, 1120px);
  }

  .nav {
    align-items: center;
    flex-wrap: wrap;
    min-height: auto;
    padding: 12px 0 10px;
  }

  .nav-toggle-button {
    align-items: center;
    background: var(--text);
    border: 1px solid var(--text);
    border-radius: 999px;
    cursor: pointer;
    display: inline-flex !important;
    flex-direction: column;
    gap: 4px;
    height: 44px;
    justify-content: center;
    margin-left: auto;
    padding: 0;
    transition: background-color 160ms ease, border-color 160ms ease;
    width: 52px;
  }

  .nav-toggle-button span {
    background: #fff;
    border-radius: 999px;
    display: block;
    height: 2px;
    transition: transform 160ms ease, opacity 160ms ease;
    width: 20px;
  }

  .nav-toggle-button:hover {
    background: #151918;
    border-color: #151918;
  }

  .nav-toggle-button:focus-visible {
    outline: 3px solid rgba(46, 125, 139, 0.28);
    outline-offset: 3px;
  }

  .nav-toggle-button[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }

  .nav-toggle-button[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle-button[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }

  .nav-links {
    display: none;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
    flex-basis: 100%;
    flex-direction: column;
    gap: 4px;
    margin-top: 12px;
    padding: 8px;
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links a {
    border-radius: 8px;
    min-height: 46px;
    padding: 10px 12px;
    width: 100%;
  }

  .nav-more {
    width: 100%;
  }

  .nav-more summary {
    border-radius: 8px;
    min-height: 46px;
    padding: 10px 12px;
  }

  .nav-more-menu {
    border: 0;
    box-shadow: none;
    padding: 4px 0 0 12px;
    position: static;
  }

  .nav-links .nav-search {
    margin: 4px 0 0;
    text-align: center;
  }

  .brand img {
    width: 108px;
  }

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

  .hero::before {
    background:
      linear-gradient(180deg, rgba(247, 248, 243, 0.94) 0%, rgba(247, 248, 243, 0.8) 44%, rgba(247, 248, 243, 0.38) 100%),
      url("/assets/hero-mother-baby.webp") 84% center / cover no-repeat;
    opacity: 0.74;
  }

  .hero-copy h1 {
    font-size: clamp(34px, 11vw, 48px);
  }

  .hero-copy p:not(.eyebrow) {
    font-size: 18px;
  }

  .hero-panel {
    box-shadow: none;
  }

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

  .newsletter-block,
  .newsletter-row {
    grid-template-columns: 1fr;
  }

  .newsletter-block {
    margin-top: 28px;
    padding: 22px;
  }

  .cookie-banner {
    align-items: stretch;
    bottom: 12px;
    grid-template-columns: 1fr;
  }

  .cookie-actions {
    flex-direction: column-reverse;
  }

  .grid,
  .article .related-block .grid,
  .category-grid,
  .category-picker-grid {
    grid-template-columns: 1fr;
  }

  .admin-list-row {
    grid-template-columns: 1fr;
  }

  .admin-actions {
    justify-content: flex-start;
  }

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