:root {
  --bg: #0a3142;
  --bg-soft: #0e3b4d;
  --bg-deep: #062330;
  --card: #ffffff;
  --text: #122733;
  --muted: #5a7081;
  --coral: #ff7849;
  --coral-dark: #c9281c;
  --coral-soft: #ffb766;
  --teal: #157891;
  --teal-dark: #0e3b4d;
  --teal-light: #2aa6c1;
  --sand: #fff5dd;
  --sand-warm: #ffd58a;
  --sand-deep: #f7e3b5;
  --gold: #ffb766;
  --gold-dark: #b25a14;
  --border: #d6dfe6;
  --link: #0a6c84;
  --success: #e7f8ee;
  --success-border: #9ed4ae;
  --error: #fff1ec;
  --error-border: #f3a78a;
  --shadow: 0 18px 44px rgba(10, 49, 66, 0.12);
  --radius: 22px;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, "Segoe UI", Arial, Helvetica, sans-serif;
  line-height: 1.7;
  color: var(--text);
  background:
    radial-gradient(circle at top right, rgba(255, 183, 102, .25), transparent 28%),
    radial-gradient(circle at top left, rgba(21, 120, 145, .18), transparent 28%),
    linear-gradient(180deg, #fff8ec 0%, #fef0dc 45%, #fff8ec 100%);
  min-height: 100vh;
}
img { max-width: 100%; height: auto; }
a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; }
.container { width: min(var(--container), calc(100% - 2rem)); margin: 0 auto; }
.skip-link { position: absolute; left: -9999px; top: 0; }
.skip-link:focus {
  left: 1rem; top: 1rem; z-index: 2000; padding: .75rem 1rem;
  background: #fff; border-radius: 8px; box-shadow: var(--shadow);
}
.progress-bar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1300;
  height: 4px;
  background: rgba(255,255,255,.12);
}
.progress-bar-fill {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--coral) 0%, var(--sand-warm) 100%);
}
.site-header {
  background: linear-gradient(135deg, var(--teal-dark) 0%, var(--teal) 60%, var(--coral) 130%);
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 1200;
  box-shadow: 0 10px 24px rgba(6, 35, 48, .25);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.header-inner {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: center;
  padding: 1rem 0;
}
.site-logo {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  color: #fff;
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: .01em;
}
.logo-crown {
  display: inline-grid;
  place-items: center;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--coral) 0%, var(--coral-dark) 100%);
  color: var(--sand);
  font-size: 1.35rem;
  box-shadow: 0 8px 18px rgba(201, 40, 28, .35);
}
.site-tagline { margin: 0; color: rgba(255,255,255,.85); font-size: .95rem; }
.site-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem 1rem;
  list-style: none;
  padding: 0;
  margin: 0;
  align-items: center;
  justify-content: flex-end;
}
.site-nav a { color: #fff; font-weight: 600; }
.site-nav a:hover { color: var(--sand-warm); text-decoration: none; }
.btn-nav, .button-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .8rem 1rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--coral) 0%, var(--coral-soft) 100%);
  color: #fff !important;
  font-weight: 700;
  border: 0;
  cursor: pointer;
  box-shadow: 0 10px 25px rgba(255, 120, 73, .35);
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn-nav:hover, .button-link:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(255, 120, 73, .45);
  text-decoration: none;
}
.hero-banner {
  background:
    radial-gradient(circle at 90% 20%, rgba(255, 213, 138, .3), transparent 35%),
    radial-gradient(circle at 10% 80%, rgba(255, 120, 73, .25), transparent 40%),
    linear-gradient(135deg, var(--bg-deep) 0%, var(--teal-dark) 50%, var(--teal) 100%);
  color: #fff;
  padding: 1.6rem 0 2rem;
  position: relative;
  overflow: hidden;
}
.hero-banner::before {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  right: 0;
  height: 24px;
  background: repeating-linear-gradient(90deg, var(--sand-warm) 0 18px, var(--coral) 18px 36px);
  opacity: .4;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, .8fr);
  gap: 1.4rem;
  align-items: start;
}
.hero-badge {
  display: inline-block;
  padding: .45rem .85rem;
  border-radius: 999px;
  background: rgba(255, 183, 102, .18);
  color: var(--sand-warm);
  font-weight: 700;
  letter-spacing: .03em;
  border: 1px solid rgba(255, 183, 102, .3);
}
.hero-title {
  margin: .85rem 0 .65rem;
  font-size: clamp(1.7rem, 3vw, 2.55rem);
  line-height: 1.15;
  font-weight: 800;
}
.hero-copy {
  margin: 0;
  color: rgba(255, 245, 221, .92);
  max-width: 60ch;
}
.hero-mini-card {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255, 213, 138, .2);
  border-radius: 18px;
  padding: 1.1rem 1.2rem;
  backdrop-filter: blur(10px);
}
.hero-mini-card strong { display: block; margin-bottom: .55rem; color: var(--sand-warm); font-size: 1.05rem; }
.hero-mini-card ul { margin: 0; padding-left: 1.2rem; }
.age-bar {
  background: linear-gradient(180deg, #fff5dd 0%, #ffe4b5 100%);
  border-top: 1px solid #f0c878;
  border-bottom: 1px solid #f0c878;
  color: #5a3408;
  padding: .85rem 0;
  font-weight: 600;
}
.age-bar a { color: var(--coral-dark); font-weight: 700; }
.page-shell { padding: 2rem 0 3rem; }
.page-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 1.5rem;
  align-items: start;
}
.content-card, .sidebar-card, .form-card, .article-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.content-card { padding: 1.7rem; }
.main-article > * + * { margin-top: 1.5rem; }
.sidebar-card {
  padding: 1.4rem;
  position: sticky;
  top: 7rem;
}
.page-header h1 {
  margin: .25rem 0 .75rem;
  line-height: 1.12;
  font-size: clamp(2rem, 3vw, 3rem);
  color: var(--teal-dark);
}
.eyebrow {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: .09em;
  font-size: .78rem;
  font-weight: 800;
  color: var(--coral-dark);
}
.lead {
  font-size: 1.08rem;
  color: #3a4f5e;
  max-width: 62ch;
}
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  color: var(--muted);
  font-size: .95rem;
  margin-bottom: .25rem;
}
.feature-panel {
  padding: 1.2rem 1.3rem;
  border: 1px solid #d8e8ed;
  border-radius: 18px;
  background: linear-gradient(180deg, #fffaf0 0%, #f7eedb 100%);
}
.feature-panel h2,
.link-grid-section h2,
.faq-section h2,
.article-listing h2,
.related-section h2 { margin: 0 0 .9rem; color: var(--teal-dark); }
.check-list {
  display: grid;
  gap: .8rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.check-list li {
  position: relative;
  padding-left: 1.7rem;
}
.check-list li::before {
  content: '🦞';
  position: absolute;
  left: 0;
  top: -2px;
  font-size: 1rem;
}
.link-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .9rem;
}
.link-tile {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  padding: 1rem 1.15rem;
  border: 1px solid #d8e8ed;
  border-radius: 18px;
  background: #fff;
  color: var(--text);
  text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.link-tile:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(10, 49, 66, .1);
  border-color: var(--coral-soft);
  text-decoration: none;
}
.link-tile-title { font-weight: 700; color: var(--teal-dark); }
.link-tile-arrow { color: var(--coral); font-weight: 800; font-size: 1.1rem; }
.content-body h2,
.content-body h3 { line-height: 1.25; margin: 1.55rem 0 .75rem; color: var(--teal-dark); }
.content-body h2 {
  position: relative;
  padding-left: 1rem;
}
.content-body h2::before {
  content: '';
  position: absolute;
  left: 0;
  top: .35rem;
  bottom: .35rem;
  width: 4px;
  border-radius: 4px;
  background: linear-gradient(180deg, var(--coral) 0%, var(--coral-dark) 100%);
}
.content-body p { margin: 0 0 1rem; }
.content-body ul,
.content-body ol,
.visual-editor ul,
.visual-editor ol,
.article-body ul,
.article-body ol { margin: 0 0 1.1rem 1.4rem; }
.sidebar-card h2, .form-card h2 { margin-top: 0; line-height: 1.2; color: var(--teal-dark); }
.sidebar-list { margin: 0; padding-left: 1.2rem; }
.sidebar-list a { color: var(--teal); font-weight: 600; }
.sidebar-list a:hover { color: var(--coral); }
.sidebar-note {
  margin-top: 1.2rem;
  padding: 1rem;
  background: linear-gradient(135deg, #fff5dd 0%, #ffe7b3 100%);
  border-radius: 14px;
  color: #5a3408;
  border: 1px solid #f0c878;
}
.sidebar-note a { color: var(--coral-dark); font-weight: 700; }
.faq-list { display: grid; gap: .8rem; }
.faq-item {
  border: 1px solid #d8e8ed;
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.faq-item:hover {
  border-color: var(--coral-soft);
  box-shadow: 0 8px 18px rgba(255, 120, 73, .08);
}
.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  border: 0;
  background: transparent;
  padding: 1rem 1.15rem;
  font: inherit;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
  color: var(--teal-dark);
}
.faq-question[aria-expanded="true"] .faq-icon { transform: rotate(45deg); }
.faq-icon { font-size: 1.4rem; color: var(--coral); transition: transform .2s ease; }
.faq-answer {
  display: none;
  padding: 0 1.15rem 1rem;
  color: #3a4f5e;
}
.faq-answer.is-open { display: block; }
.article-listing { margin-top: 2rem; }
.article-stack { display: grid; gap: 1rem; }
.section-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}
.section-title-row h2 { color: var(--teal-dark); }
.article-card { padding: 1.3rem; }
.article-card h3 { margin: 0 0 .45rem; line-height: 1.25; color: var(--teal-dark); }
.article-card h3 a { color: inherit; }
.article-card h3 a:hover { color: var(--coral); text-decoration: none; }
.article-meta { color: var(--muted); font-size: .95rem; }
.card-kicker {
  margin: 0 0 .45rem;
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--coral-dark);
  font-weight: 800;
}
.compact-card p:last-child { margin-bottom: 0; }
.related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
.read-more { font-weight: 700; }
.article-tools {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}
.article-tools label {
  display: block;
  margin-bottom: .45rem;
  font-weight: 700;
}
.form-card {
  margin-top: 2rem;
  padding: 1.5rem;
}
.form-row { margin-bottom: 1rem; }
.form-row.two-col {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}
.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  align-items: center;
}
.field { position: relative; }
.field-label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  margin-bottom: .35rem;
}
.field-label-row label { margin-bottom: 0; }
.field-action {
  border: 1px solid var(--border);
  background: linear-gradient(135deg, #fff5dd, #fff);
  color: var(--coral-dark);
  padding: .35rem .8rem;
  border-radius: 999px;
  font-size: .82rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .2s ease;
}
.field-action:hover {
  background: linear-gradient(135deg, #ffe7b3, #fff5dd);
  box-shadow: 0 6px 14px rgba(178, 90, 20, .18);
  transform: translateY(-1px);
}
.field-hint {
  display: flex;
  justify-content: space-between;
  gap: .75rem;
  font-size: .82rem;
  color: var(--muted);
  margin: .35rem 0 0;
}
.field-counter { white-space: nowrap; font-variant-numeric: tabular-nums; }
.field.is-short input,
.field.is-short textarea {
  border-color: var(--coral-soft);
  box-shadow: 0 0 0 3px rgba(255, 183, 102, .18);
}
@keyframes fieldFlash {
  0%   { background-color: #fff5dd; }
  100% { background-color: #fff;    }
}
.field-flash { animation: fieldFlash .9s ease-out 1; }
.field.is-good input,
.field.is-good textarea {
  border-color: #6cc28e;
  box-shadow: 0 0 0 3px rgba(108, 194, 142, .15);
}
.field.is-warn input,
.field.is-warn textarea {
  border-color: #d97a7a;
  box-shadow: 0 0 0 3px rgba(217, 122, 122, .18);
}
.button-link--ghost {
  background: transparent;
  color: var(--teal-dark);
  border: 1px solid var(--border);
  box-shadow: none;
}
.button-link--ghost:hover {
  background: rgba(21, 120, 145, .08);
  text-decoration: none;
}
.draft-indicator {
  font-size: .85rem;
  color: var(--coral-dark);
  background: #fff5dd;
  border: 1px dashed var(--sand-warm);
  padding: .35rem .75rem;
  border-radius: 999px;
}
.editor-status-saved {
  background: var(--success) !important;
  color: #1e6b3b !important;
  border: 1px solid var(--success-border);
}

.sidebar-info { margin-top: 1.5rem; }
.sidebar-info h3 {
  margin: 0 0 .6rem;
  font-size: 1rem;
  letter-spacing: .02em;
  text-transform: uppercase;
  color: var(--muted);
}
.checklist {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: .35rem;
}
.checklist li {
  display: flex;
  align-items: center;
  gap: .55rem;
  padding: .45rem .65rem;
  border-radius: 10px;
  background: #fff5dd;
  font-size: .9rem;
  color: var(--muted);
  transition: background .25s ease, color .25s ease;
}
.checklist li.is-done {
  background: var(--success);
  color: #1e6b3b;
}
.checklist .check-mark {
  width: 1.1rem;
  height: 1.1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: .95rem;
}
.checklist li.is-done .check-mark { color: #2e8a4f; }
label { display: block; margin-bottom: .4rem; font-weight: 700; color: var(--teal-dark); }
input, textarea, select {
  width: 100%;
  padding: .85rem 1rem;
  border: 1px solid #cdd9e0;
  border-radius: 12px;
  font: inherit;
  color: var(--text);
  background: #fff;
}
input:focus, textarea:focus, select:focus {
  outline: 0;
  border-color: var(--coral);
  box-shadow: 0 0 0 3px rgba(255, 120, 73, .18);
}
textarea { resize: vertical; min-height: 120px; }
.honeypot { position: absolute; left: -9999px; }
.message {
  padding: 1rem 1.15rem;
  border-radius: 14px;
  margin-bottom: 1.2rem;
}
.message.success {
  background: var(--success);
  border: 1px solid var(--success-border);
}
.message.error {
  background: var(--error);
  border: 1px solid var(--error-border);
}
.muted-copy, .muted-message { color: var(--muted); }
.site-footer {
  background: linear-gradient(180deg, var(--bg-deep) 0%, #041923 100%);
  color: #cfdde4;
  padding: 2.5rem 0 1rem;
  border-top: 4px solid var(--coral);
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.4rem;
}
.site-footer h2 {
  margin-top: 0;
  color: var(--sand-warm);
  font-size: 1.1rem;
}
.site-footer a { color: var(--sand-warm); }
.site-footer a:hover { color: var(--coral-soft); }
.footer-cta {
  display: inline-block;
  margin-top: .65rem;
  font-weight: 700;
}
.footer-bottom {
  margin-top: 1.75rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255,255,255,.12);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.back-to-top {
  position: fixed;
  right: 1.2rem;
  bottom: 1.2rem;
  width: 50px;
  height: 50px;
  border: 0;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--coral) 0%, var(--coral-soft) 100%);
  color: #fff;
  font-size: 1.3rem;
  font-weight: 800;
  box-shadow: 0 12px 28px rgba(255, 120, 73, .4);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity .2s ease, transform .2s ease;
}
.back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 10px;
  padding: .65rem;
  width: 48px;
  height: 48px;
}
.burger,
.burger::before,
.burger::after {
  content: '';
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  border-radius: 999px;
  position: relative;
}
.burger::before { top: -7px; position: relative; }
.burger::after { top: 5px; position: relative; }
.article-editor-shell { display: grid; gap: .9rem; }
.editor-note {
  margin: 0;
  padding: .9rem 1rem;
  border: 1px solid #d6e5ec;
  border-radius: 16px;
  background: linear-gradient(180deg, #fffaf0 0%, #fef0dc 100%);
  color: #284450;
}
.article-editor {
  border: 1px solid #cdd9e0;
  border-radius: 20px;
  overflow: hidden;
  background: #fff;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.9);
}
.editor-topbar {
  display: grid;
  gap: .75rem;
  border-bottom: 1px solid #dce4f1;
  background: linear-gradient(180deg, #fbfdff 0%, #f4f8ff 100%);
  padding: .95rem;
}
.editor-modebar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  flex-wrap: wrap;
}
.editor-mode-hint { margin: 0; color: #5b7180; font-size: .92rem; }
.editor-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(110px, 1fr));
  gap: .5rem;
  width: min(460px, 100%);
}
.editor-tab {
  border: 1px solid #c7d4ea;
  background: #fff;
  color: #29405e;
  border-radius: 14px;
  padding: .7rem .9rem;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: transform .15s ease, border-color .15s ease, box-shadow .15s ease;
}
.editor-tab:hover, .editor-toolbar button:hover { transform: translateY(-1px); }
.editor-tab.is-active {
  background: linear-gradient(135deg, var(--coral) 0%, var(--coral-soft) 100%);
  border-color: var(--coral);
  color: #fff;
  box-shadow: 0 8px 18px rgba(255, 120, 73, .26);
}
.editor-toolbar { display: flex; flex-wrap: wrap; gap: .65rem; }
.editor-toolbar-group {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  padding: .35rem;
  border: 1px solid #d9e4f5;
  border-radius: 16px;
  background: rgba(255,255,255,.92);
}
.editor-toolbar button {
  min-height: 42px;
  border: 1px solid #c7d4ea;
  background: #fff;
  color: #1e3350;
  border-radius: 12px;
  padding: .55rem .8rem;
  font: inherit;
  font-size: .94rem;
  cursor: pointer;
}
.editor-toolbar button:disabled { opacity: .5; cursor: not-allowed; }
.editor-panels { background: #fff; }
.editor-panel { display: none; }
.editor-panel.is-active { display: block; }
.visual-editor, .editor-textarea {
  width: 100%;
  min-height: 380px;
  border: 0;
  padding: 1.1rem 1.15rem;
  font: inherit;
  line-height: 1.7;
  color: var(--text);
  background: #fff;
}
.visual-editor { outline: 0; overflow-wrap: anywhere; }
.visual-editor:empty::before {
  content: attr(data-placeholder);
  color: #7a89a4;
  display: block;
}
.editor-textarea { resize: vertical; border-radius: 0; }
.editor-html {
  font-family: Consolas, Monaco, 'Courier New', monospace;
  font-size: .95rem;
}
.editor-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  border-top: 1px solid #dce4f1;
  background: #fbfcff;
  padding: .9rem 1rem 1rem;
}
.editor-helper { margin: 0; color: #5f7291; font-size: .94rem; max-width: 58ch; }
.editor-status { display: flex; gap: .55rem; flex-wrap: wrap; }
.editor-status-pill {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .45rem .75rem;
  border-radius: 999px;
  background: #fff5dd;
  border: 1px solid #f0c878;
  color: var(--teal-dark);
  font-size: .84rem;
  font-weight: 700;
}
.content-body blockquote,
.visual-editor blockquote,
.article-body blockquote {
  margin: 0 0 1.1rem;
  padding: .95rem 1.1rem;
  border-left: 4px solid var(--coral);
  background: linear-gradient(135deg, #fff5dd 0%, #ffe7b3 100%);
  color: #5a3408;
  border-radius: 0 14px 14px 0;
}
.content-body table,
.visual-editor table,
.article-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 1.25rem;
  display: block;
  overflow-x: auto;
}
.content-body th, .content-body td,
.visual-editor th, .visual-editor td,
.article-body th, .article-body td {
  border: 1px solid #d6e2e8;
  padding: .85rem;
  text-align: left;
  background: #fff;
}
.content-body thead th,
.visual-editor thead th,
.article-body thead th {
  background: linear-gradient(180deg, var(--teal-dark) 0%, var(--teal) 100%);
  color: #fff;
  font-weight: 700;
}
.content-body code, .visual-editor code, .article-body code {
  font-family: Consolas, Monaco, 'Courier New', monospace;
  background: #fff5dd;
  border-radius: 8px;
  padding: .12rem .35rem;
  color: var(--coral-dark);
}
.content-body pre, .visual-editor pre, .article-body pre {
  margin: 0 0 1.25rem;
  padding: 1rem;
  overflow-x: auto;
  background: var(--bg-deep);
  color: var(--sand);
  border-radius: 16px;
}
.media-embed { margin: 0 0 1.25rem; }
.media-embed img, .media-embed video, .media-embed iframe,
.article-body iframe, .article-body video, .article-body img,
.visual-editor iframe, .visual-editor video, .visual-editor img {
  width: 100%;
  max-width: 100%;
  border: 0;
  border-radius: 16px;
  background: var(--bg-deep);
}
.media-embed iframe, .article-body iframe, .visual-editor iframe { aspect-ratio: 16 / 9; }
.article-body h2, .article-body h3, .article-body h4,
.visual-editor h2, .visual-editor h3, .visual-editor h4 { margin: 1.4rem 0 .75rem; color: var(--teal-dark); }

@media (max-width: 980px) {
  .header-inner {
    grid-template-columns: auto auto;
    grid-template-areas: 'logo toggle' 'nav nav';
  }
  .site-logo { grid-area: logo; }
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; grid-area: toggle; justify-self: end; }
  .site-nav { grid-area: nav; display: none; }
  .site-nav.is-open { display: block; }
  .site-nav ul { justify-content: flex-start; padding-top: .5rem; }
  .page-grid, .footer-grid, .form-row.two-col, .hero-grid, .related-grid { grid-template-columns: 1fr; }
  .sidebar-card { position: static; }
}
@media (max-width: 640px) {
  .content-card, .sidebar-card, .form-card, .article-card { padding: 1rem; }
  .section-title-row { flex-direction: column; align-items: flex-start; }
  .link-grid, .article-tools { grid-template-columns: 1fr; }
}

.page-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem;
  margin-top: 1rem;
}
.meta-pill, .topic-badge, .category-badge, .section-kicker {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .45rem .8rem;
  border-radius: 999px;
  font-size: .82rem;
  font-weight: 700;
}
.meta-pill {
  background: #f0f7f9;
  border: 1px solid #c4dde3;
  color: var(--teal-dark);
}
.section-kicker {
  background: linear-gradient(135deg, #fff5dd 0%, #ffe7b3 100%);
  color: var(--coral-dark);
  border: 1px solid #f0c878;
}
.topic-badge {
  margin: 0 0 .65rem;
  background: linear-gradient(135deg, var(--coral) 0%, var(--coral-dark) 100%);
  color: #fff;
}
.category-badge {
  background: var(--teal-dark);
  color: var(--sand-warm);
}
.category-grid-section, .intent-grid-section, .trust-grid-section, .home-latest-section { margin-top: 2rem; }
.category-card-grid, .intent-grid, .trust-grid { display: grid; gap: 1rem; }
.category-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.intent-grid, .trust-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.category-card, .intent-card, .trust-card {
  display: block;
  padding: 1.3rem;
  border-radius: 22px;
  border: 1px solid #d6e2e8;
  background: linear-gradient(180deg, #ffffff 0%, #fffaf0 100%);
  color: var(--text);
  text-decoration: none;
  box-shadow: 0 12px 30px rgba(10, 49, 66, .07);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.category-card:hover, .intent-card:hover, .trust-link:hover {
  transform: translateY(-3px);
  border-color: var(--coral-soft);
  box-shadow: 0 18px 40px rgba(255, 120, 73, .15);
  text-decoration: none;
}
.category-title, .intent-title {
  display: block;
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: .5rem;
  color: var(--teal-dark);
}
.category-copy, .intent-copy, .trust-card p { color: #3a4f5e; }
.section-slab {
  padding: 1.2rem 1.3rem;
  border-radius: 18px;
  background: linear-gradient(180deg, #fffaf0 0%, #fef0dc 100%);
  border: 1px solid #f0d8a8;
  margin-bottom: 1.25rem;
}
.section-slab > :last-child { margin-bottom: 0; }
.section-slab h2 { margin-top: 0; color: var(--teal-dark); }
.article-tools-expanded { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.article-stack-visual { gap: 1.25rem; }
.article-card-with-cover { padding: 0; overflow: hidden; }
.article-cover {
  display: block;
  aspect-ratio: 16 / 9;
  background: var(--bg-deep);
}
.article-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.article-card-body { padding: 1.2rem; }
.article-cover-large {
  margin-top: 1.25rem;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid #d6e2e8;
}
.author-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.home-latest-grid .article-card h3, .article-card-with-cover h3 { margin-top: 0; }
.three-up { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 980px) {
  .category-card-grid, .intent-grid, .trust-grid, .author-grid, .three-up, .article-tools-expanded { grid-template-columns: 1fr; }
}

.directory-section, .comparison-section, .faq-cluster-section { margin-top: 2rem; }
.directory-grid, .metric-grid, .comparison-stack, .faq-cluster-stack { display: grid; gap: 1rem; }
.directory-grid.two-up, .metric-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.comparison-table-wrap { overflow-x: auto; }
.directory-card, .metric-card, .comparison-block, .faq-cluster-card { height: 100%; }
.profile-highlight { margin: 0 0 1.5rem; }
.metric-card h3, .directory-card h3, .comparison-block h3, .faq-cluster-card h3 { margin-top: 0; color: var(--teal-dark); }
.meta-pill a, .card-kicker a { color: inherit; text-decoration: none; }
.meta-pill a:hover, .card-kicker a:hover { text-decoration: underline; }
@media (max-width: 980px) {
  .directory-grid.two-up, .metric-grid { grid-template-columns: 1fr; }
}

/* premium upgrades */
.hero-grid-premium { gap: 1.6rem; align-items: stretch; }
.hero-copy-block { display: flex; flex-direction: column; justify-content: center; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .85rem; margin-top: 1.2rem; }
.button-link-dark {
  background: linear-gradient(135deg, var(--coral) 0%, var(--coral-dark) 100%);
  color: #fff !important;
  box-shadow: 0 12px 28px rgba(201, 40, 28, .4);
}
.button-link-ghost {
  background: rgba(255, 245, 221, .12);
  color: #fff !important;
  border: 1px solid rgba(255, 213, 138, .3);
  box-shadow: none;
}
.button-link-ghost:hover { background: rgba(255, 245, 221, .22); text-decoration: none; }
.hero-signal-row { display: flex; flex-wrap: wrap; gap: .65rem; margin-top: 1rem; }
.hero-signal {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .5rem .85rem;
  border-radius: 999px;
  background: rgba(255, 245, 221, .1);
  border: 1px solid rgba(255, 213, 138, .3);
  color: var(--sand);
  font-size: .86rem;
  font-weight: 700;
}
.premium-stat-card {
  background: linear-gradient(180deg, rgba(255, 245, 221, .15) 0%, rgba(255, 245, 221, .08) 100%);
  box-shadow: 0 24px 55px rgba(6, 35, 48, .3);
  border: 1px solid rgba(255, 213, 138, .25);
}
.hero-stat-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .85rem;
  margin: 1rem 0 1rem;
}
.hero-stat {
  padding: .95rem;
  border-radius: 16px;
  background: rgba(255, 213, 138, .12);
  border: 1px solid rgba(255, 213, 138, .25);
}
.hero-stat-value {
  display: block;
  font-size: 1.6rem;
  line-height: 1;
  font-weight: 800;
  color: var(--sand-warm);
}
.hero-stat-label {
  display: block;
  margin-top: .35rem;
  color: rgba(255, 245, 221, .82);
  font-size: .88rem;
}
.hero-bullet-list {
  margin: 0;
  padding-left: 1.2rem;
  color: rgba(255, 245, 221, .9);
}
.hero-bullet-list li { margin-bottom: .35rem; }
.content-card, .sidebar-card, .form-card, .article-card {
  border-color: rgba(214, 226, 232, .92);
  box-shadow: 0 24px 58px rgba(10, 49, 66, .1);
}
.content-card {
  background: linear-gradient(180deg, rgba(255,255,255,.99) 0%, rgba(255, 250, 240, .98) 100%);
}
.feature-panel, .section-slab, .category-card, .intent-card, .trust-card, .link-tile, .faq-item, .comparison-block {
  box-shadow: 0 18px 40px rgba(10, 49, 66, .07);
}
.affiliate-disclosure-section, .eeat-band, .topical-cluster-section, .premium-related-section { margin-top: 2rem; }
.disclosure-panel {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 1rem;
  padding: 1.3rem 1.4rem;
  border-radius: 24px;
  background: linear-gradient(135deg, var(--bg-deep) 0%, var(--teal) 100%);
  color: #fff;
  box-shadow: 0 24px 60px rgba(6, 35, 48, .35);
}
.disclosure-panel a { color: var(--sand-warm); }
.disclosure-icon {
  display: inline-grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 20px;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, var(--coral) 0%, var(--coral-dark) 100%);
  box-shadow: 0 16px 36px rgba(255, 120, 73, .35);
  font-size: 1.6rem;
}
.topical-cluster-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.cluster-card {
  display: block;
  padding: 1.2rem 1.3rem;
  border-radius: 22px;
  border: 1px solid #d6e2e8;
  background: linear-gradient(180deg, #ffffff 0%, #fffaf0 100%);
  color: var(--text);
  text-decoration: none;
  box-shadow: 0 16px 36px rgba(10, 49, 66, .07);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.cluster-card:hover {
  transform: translateY(-3px);
  border-color: var(--coral-soft);
  box-shadow: 0 24px 50px rgba(255, 120, 73, .15);
  text-decoration: none;
}
.cluster-card-title {
  display: block;
  margin-bottom: .45rem;
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--teal-dark);
}
.cluster-card-copy { color: #3a4f5e; }
.premium-sidebar {
  display: grid;
  gap: 1rem;
  background: linear-gradient(180deg, #ffffff 0%, #fffaf0 100%);
}
.sidebar-module {
  padding: 1rem 1.1rem;
  border-radius: 18px;
  background: #fff5dd;
  border: 1px solid #f0d8a8;
}
.sidebar-module h3 { margin: 0 0 .7rem; line-height: 1.2; color: var(--teal-dark); }
.compact-sidebar-list, .sidebar-check-list { margin: 0; padding-left: 1.15rem; }
.compact-sidebar-list li + li, .sidebar-check-list li + li { margin-top: .45rem; }
.sidebar-premium-note {
  background: linear-gradient(135deg, var(--coral) 0%, var(--coral-soft) 100%);
  color: #fff;
  border-color: var(--coral);
}
.sidebar-premium-note h3, .sidebar-premium-note p { color: #fff; }

@media (max-width: 980px) {
  .topical-cluster-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .disclosure-panel { grid-template-columns: 1fr; }
  .hero-actions, .hero-signal-row { flex-direction: column; align-items: stretch; }
  .hero-stat-grid { grid-template-columns: 1fr; }
}

/* Australian time zones */
.au-timezones {
  margin-top: 1.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 213, 138, .18);
}
.au-timezones-head { text-align: center; margin-bottom: 1.1rem; }
.au-timezones-head h2 {
  margin: 0 0 .35rem;
  color: var(--sand-warm);
  font-size: 1.15rem;
  letter-spacing: .02em;
}
.au-timezones-sub {
  margin: 0;
  color: rgba(220, 228, 244, .72);
  font-size: .88rem;
}
.au-timezones-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: .75rem;
}
.au-tz-card {
  background: linear-gradient(135deg, rgba(255, 213, 138, .12) 0%, rgba(255, 120, 73, .15) 100%);
  border: 1px solid rgba(255, 213, 138, .22);
  border-radius: 14px;
  padding: .9rem .95rem;
  display: flex;
  flex-direction: column;
  gap: .35rem;
  transition: border-color .2s ease, transform .2s ease;
}
.au-tz-card:hover {
  border-color: rgba(255, 120, 73, .55);
  transform: translateY(-2px);
}
.au-tz-top { display: flex; justify-content: space-between; align-items: baseline; gap: .5rem; }
.au-tz-city { color: #fff; font-weight: 700; font-size: .98rem; }
.au-tz-label {
  color: var(--sand-warm);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .06em;
  background: rgba(255, 183, 102, .18);
  border-radius: 999px;
  padding: .15rem .55rem;
}
.au-tz-time {
  font-size: 1.6rem;
  font-weight: 700;
  color: #fff;
  font-variant-numeric: tabular-nums;
  letter-spacing: .02em;
  line-height: 1.05;
}
.au-tz-meta {
  display: flex;
  justify-content: space-between;
  font-size: .78rem;
  color: rgba(220, 228, 244, .7);
}
.au-tz-offset { font-weight: 600; color: rgba(255, 183, 102, .9); }
@media (max-width: 640px) {
  .au-timezones-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .au-tz-time { font-size: 1.4rem; }
}

/* Pagination */
.article-tools-actions {
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
}
.article-tools-actions .button-link {
  cursor: pointer;
  border: 1px solid var(--coral-soft);
  background: transparent;
  color: var(--coral-dark);
  padding: .55rem 1rem;
  border-radius: 8px;
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .02em;
  box-shadow: none;
}
.article-tools-actions .button-link:hover {
  background: var(--coral);
  color: #fff;
  border-color: var(--coral);
}
.pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  margin: 2rem 0 1rem;
  padding-top: 1.25rem;
  border-top: 1px solid #d8e8ed;
}
.pagination-pages {
  display: flex; flex-wrap: wrap; gap: .35rem;
  list-style: none; margin: 0; padding: 0;
}
.pagination-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.4rem;
  padding: .45rem .85rem;
  border-radius: 8px;
  border: 1px solid #d8e8ed;
  background: #fff;
  color: var(--teal-dark);
  font-size: .9rem;
  font-weight: 600;
  text-decoration: none;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.pagination-link:hover {
  background: var(--coral);
  color: #fff;
  border-color: var(--coral);
}
.pagination-link.is-current {
  background: var(--coral);
  color: #fff;
  border-color: var(--coral);
  cursor: default;
}
.pagination-link.is-disabled { opacity: .4; pointer-events: none; }
.pagination-prev, .pagination-next { font-weight: 700; }
@media (max-width: 640px) {
  .pagination { gap: .35rem; }
  .pagination-link {
    min-width: 2rem; padding: .4rem .65rem; font-size: .82rem;
  }
}

/* Lobster House signature flourishes */
.hero-mini-card .hero-bullet-list { padding-left: 1.4rem; }
.hero-mini-card .hero-bullet-list li::marker { color: var(--coral); }
.btn-nav { padding: .55rem 1rem; font-size: .92rem; }
