:root {
  --brand: #0b2734;
  --brand-2: #123d4f;
  --brand-soft: #e9f3f7;
  --amber: #a85a08;
  --amber-bright: #f59e0b;
  --amber-bg: #fff8eb;
  --amber-border: #f0cc88;
  --text: #0f172a;
  --muted: #475569;
  --bg: #ffffff;
  --soft: #f5f7f9;
  --border: #dfe6ec;
  --shadow-sm: 0 2px 10px rgba(11, 39, 52, 0.06);
  --shadow-lg: 0 24px 60px rgba(11, 39, 52, 0.16);
  --radius: 18px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans, 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  padding-bottom: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a { color: inherit; }
:focus-visible { outline: 3px solid rgba(245, 158, 11, 0.6); outline-offset: 3px; }

.container { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 20px; }

header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.7);
}
.nav-bar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 74px;
  gap: 16px;
  padding: 12px 0;
}
.logo {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  white-space: nowrap;
  font-weight: 800;
  text-decoration: none;
  color: #0b2530;
}
.logo svg { flex: none; display: block; }
.logo-text { display: flex; flex-direction: column; line-height: 1.05; }
.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;
}
.logo-word {
  display: inline-flex;
  align-items: baseline;
  font-family: var(--font-display, 'Plus Jakarta Sans', sans-serif);
  font-weight: 800;
  font-size: 1.18rem;
  letter-spacing: 0.08em;
}
.breke-k {
  position: relative;
  display: inline-flex;
  align-items: baseline;
  margin-right: 0.06em;
}
.breke-k-glyph {
  width: 0.72em;
  height: 0.74em;
  display: inline-block;
  flex: none;
  transform: translateY(0.015em);
}
.logo-tagline {
  font-family: var(--font-sans, 'Inter', sans-serif);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0;
  opacity: 0.75;
  margin-top: 2px;
}

.nav-links {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 0.875rem;
  font-weight: 500;
  color: #334155;
}
.nav-links > a {
  white-space: nowrap;
  text-decoration: none;
  transition: color 150ms ease;
}
.nav-links > a:hover,
.nav-links > a[aria-current="page"] { color: #0b2530; }
.nav-links > a[aria-current="page"] { font-weight: 600; }
.nav-secondary { display: none; }

.nav-cta-wrap {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 10px;
}

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 9999px;
  padding: 10px 20px;
  font-size: 0.875rem;
  font-weight: 600;
  white-space: nowrap;
  text-decoration: none;
  background: #0b2530;
  color: #ffffff;
  box-shadow: 0 6px 18px rgba(11, 37, 48, 0.14);
  transition: background-color 160ms ease, transform 160ms ease;
}
.header-cta:hover { background: #123846; }
.header-cta .cta-arrow { display: inline-block; transition: transform 160ms ease; }
.header-cta:hover .cta-arrow { transform: translateX(2px); }
.header-cta--mobile { display: none; padding: 8px 14px; font-size: 0.82rem; }

.menu-toggle {
  display: none;
  width: 42px; height: 42px; padding: 0;
  border: 1.5px solid var(--border); border-radius: 12px;
  background: rgba(255, 255, 255, 0.9); box-shadow: var(--shadow-sm); cursor: pointer;
  flex: 0 0 42px;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.menu-toggle span { display: block; width: 19px; height: 2px; border-radius: 2px; background: #0b2530; transition: transform 180ms ease, opacity 180ms ease; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.btn-primary, .btn-dark, .btn-ghost {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border-radius: 999px; padding: 12px 22px; font-weight: 600; font-size: 0.94rem; text-decoration: none;
  transition: transform 140ms ease, background-color 140ms ease;
}
.btn-primary { background: var(--amber-bright); color: #0f172a; box-shadow: 0 6px 18px rgba(245, 158, 11, 0.25); }
.btn-dark { background: var(--brand); color: #fff; }
.btn-ghost { border: 1.5px solid var(--border); color: var(--brand); background: #fff; }
.action:hover { transform: translateY(-1px); }

.page-hero {
  position: relative; overflow: hidden;
  background: radial-gradient(circle at 85% 15%, rgba(245, 158, 11, 0.24), transparent 38%), linear-gradient(150deg, #0b2430, #123d4f 60%, #1a5a72);
  color: #fff; padding: 54px 0 60px;
}
.page-hero::after {
  content: ""; position: absolute; inset: auto -10% -70% 45%; height: 380px;
  background: radial-gradient(ellipse, rgba(255, 255, 255, 0.08), transparent 65%); pointer-events: none;
}
.page-hero > .container { position: relative; z-index: 1; }
.breadcrumb { font-size: 0.82rem; color: #bcd8e4; margin-bottom: 14px; }
.breadcrumb a { color: #fde68a; text-decoration: underline; }
.page-hero h1 { font-family: var(--font-display, 'Plus Jakarta Sans', sans-serif); font-weight: 700; font-size: 2.25rem; line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 12px; max-width: 760px; }
.page-hero p { margin: 0; max-width: 760px; color: #dbeaf1; font-size: 1.04rem; line-height: 1.65; }
.tag { display: inline-flex; align-items: center; gap: 6px; background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(253, 230, 138, 0.35); color: #fde68a; border-radius: 999px; padding: 5px 13px; font-size: 0.76rem; font-weight: 600; margin-bottom: 14px; }

.page-layout { display: grid; grid-template-columns: minmax(0, 1fr) 250px; gap: 30px; padding: 44px 0 72px; align-items: start; }
.content-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px 30px; box-shadow: var(--shadow-sm); margin-bottom: 18px;
}
.content-card h2 { font-family: var(--font-display, 'Plus Jakarta Sans', sans-serif); font-weight: 700; color: var(--brand); font-size: 1.45rem; line-height: 1.25; letter-spacing: -0.02em; margin: 0 0 14px; }
.content-card h3 { font-family: var(--font-display, 'Plus Jakarta Sans', sans-serif); font-weight: 600; color: var(--brand); font-size: 1.05rem; margin: 22px 0 8px; }
.content-card p, .content-card li { color: var(--muted); font-size: 0.96rem; line-height: 1.65; }
.content-card p { margin: 0 0 12px; }
.content-card ul { padding-left: 20px; margin: 0 0 12px; }
.content-card li { margin-bottom: 8px; }
.content-card a { color: var(--amber); text-decoration: underline; }
.lead { font-size: 1.05rem !important; color: var(--text) !important; }

.callout { background: var(--amber-bg); border: 1.5px solid var(--amber-border); border-radius: 16px; padding: 18px 20px; margin: 18px 0; }
.callout p { margin: 0; color: #6b4207; font-size: 0.93rem; }
.callout strong { color: #7a3f05; }
.note { border-left: 4px solid var(--amber-bright); background: var(--soft); border-radius: 0 12px 12px 0; padding: 14px 18px; margin: 16px 0; color: var(--muted); font-size: 0.92rem; }

.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 18px 0; }
.fact { border: 1px solid var(--border); border-top: 4px solid var(--amber-bright); border-radius: 14px; padding: 16px; background: #fff; }
.fact strong { display: block; font-family: var(--font-display, 'Plus Jakarta Sans', sans-serif); font-weight: 700; font-variant-numeric: tabular-nums; color: var(--brand); font-size: 1.35rem; line-height: 1.2; }
.fact span { color: var(--muted); font-size: 0.84rem; }

details { border: 1px solid var(--border); border-radius: 14px; background: #fff; padding: 16px 18px; margin-bottom: 10px; }
summary { font-weight: 600; color: var(--brand); cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 14px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--amber); font-size: 1.2rem; line-height: 1; }
details[open] summary::after { content: "−"; }
details p { margin: 10px 0 0; color: var(--muted); font-size: 0.94rem; }

.toc { position: sticky; top: 92px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--soft); padding: 20px; }
.toc strong { display: block; color: var(--brand); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 10px; }
.toc a:not(.btn-dark) { display: block; color: var(--muted); font-size: 0.88rem; padding: 6px 0; border-bottom: 1px solid var(--border); }
.toc a:not(.btn-dark):hover { color: var(--brand); }
.toc .btn-dark { display: inline-flex; margin-top: 16px; width: 100%; font-size: 0.84rem; padding: 10px 14px; color: #ffffff; border-bottom: none; text-decoration: none; }
.toc .btn-dark:hover { color: #ffffff; background: var(--brand-2); }

.btn-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 18px; }
.small { font-size: 0.82rem !important; color: var(--muted) !important; }
code { background: var(--soft); border: 1px solid var(--border); border-radius: 6px; padding: 1px 5px; font-size: 0.88em; }

footer.site-footer, footer {
  background: linear-gradient(180deg, #07171f 0%, #0b2530 100%);
  color: #cbd5e1;
  padding: 56px 0 32px;
  font-size: 0.89rem;
}
.footer-columns {
  display: grid;
  grid-template-columns: 1.55fr 1fr 1.25fr 1fr;
  gap: 36px;
  align-items: start;
}
.footer-brand .logo { color: #ffffff; }
.footer-brand-phrase {
  font-family: var(--font-display, 'Plus Jakarta Sans', sans-serif);
  font-weight: 700;
  font-size: 1.04rem;
  color: #ffffff;
  margin: 14px 0 8px;
  line-height: 1.35;
}
.footer-brand p { margin: 0 0 16px; color: #cbd5e1; line-height: 1.6; max-width: 360px; }
.footer-brand-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border-radius: 9999px;
  border: 1px solid rgba(245, 158, 11, 0.55);
  background: rgba(245, 158, 11, 0.12);
  color: #fde68a;
  font-size: 0.86rem;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 150ms ease, border-color 150ms ease;
}
.footer-brand-cta:hover { background: rgba(245, 158, 11, 0.22); border-color: #f59e0b; color: #ffffff; }
.footer-col { display: flex; flex-direction: column; align-items: flex-start; gap: 9px; }
.footer-col h3 {
  font-family: var(--font-display, 'Plus Jakarta Sans', sans-serif);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #f8fafc;
  margin: 0 0 4px;
}
.footer-col a { color: #cbd5e1; text-decoration: none; line-height: 1.45; transition: color 140ms ease; }
.footer-col a:hover { color: #fde68a; }
.footer-bottom {
  margin-top: 36px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 10px 24px;
  font-size: 0.82rem;
  color: #94a3b8;
}
.footer-bottom strong { color: #e2e8f0; font-weight: 600; }

.mobile-cta { display: none; }

@media (max-width: 960px) {
  .footer-columns { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
}

@media (max-width: 900px) {
  body { padding-bottom: 72px; }
  header .container { padding-left: 16px; padding-right: 16px; }
  .nav-bar { display: flex; justify-content: space-between; min-height: 64px; gap: 10px; }
  header .logo-tagline,
  .header-cta--desktop { display: none; }
  .header-cta--mobile { display: inline-flex; }
  .logo-word { font-size: 1.06rem; }
  .logo .breke-shield { width: 28px; height: 32px; }
  .menu-toggle { display: flex; }
  .nav-links {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #ffffff; border-bottom: 1px solid var(--border); box-shadow: var(--shadow-lg);
    padding: 12px 20px 20px;
  }
  .nav-links.open { display: flex; }
  .nav-links > a { padding: 12px 0; border-bottom: 1px solid var(--border); color: #0f172a; }
  .nav-secondary { display: flex; flex-wrap: wrap; gap: 8px 16px; padding-top: 12px; font-size: 0.84rem; color: var(--muted); }
  .page-layout { grid-template-columns: 1fr; padding: 30px 0 60px; }
  .toc { position: static; order: -1; }
  .facts { grid-template-columns: 1fr; }
  .mobile-cta {
    display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; gap: 10px;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, 0.96); border-top: 1px solid var(--border);
    box-shadow: 0 -8px 24px rgba(11, 39, 52, 0.08);
  }
  .mobile-cta a { flex: 1; padding: 12px 14px; font-size: 0.88rem; }
}

@media (max-width: 640px) {
  .footer-columns { grid-template-columns: 1fr; gap: 24px; }
}

@media (max-width: 520px) {
  .page-hero h1 { font-size: 1.75rem; }
  .content-card { padding: 22px 20px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .menu-toggle span, .btn-primary, .btn-dark, .btn-ghost, .header-cta, .header-cta .cta-arrow { transition-duration: 0.01ms !important; }
}

/* Identidade do Criador (E-E-A-T) */
.creator-card {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}
.creator-profile {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
}
.creator-avatar {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  border: 2.5px solid #f59e0b;
  background: #0b2530;
  overflow: hidden;
  flex: none;
  box-shadow: 0 10px 26px rgba(11, 37, 48, 0.16);
}
.creator-avatar--sm { width: 38px; height: 38px; }
.creator-avatar--md { width: 52px; height: 52px; }
.creator-avatar--lg { width: 148px; height: 148px; }
.creator-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 20%;
  display: block;
}
.creator-avatar-fallback {
  width: 100%;
  height: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #0b2530;
  color: #fde68a;
  font-weight: 800;
  letter-spacing: 0.04em;
  user-select: none;
}
.creator-avatar-fallback[hidden],
.creator-avatar img[hidden] { display: none !important; }
.creator-avatar--sm .creator-avatar-fallback { font-size: 0.85rem; }
.creator-avatar--md .creator-avatar-fallback { font-size: 1.05rem; }
.creator-avatar--lg .creator-avatar-fallback { font-size: 2.4rem; }
.creator-name {
  font-family: var(--font-display, 'Plus Jakarta Sans', sans-serif);
  font-weight: 600;
  color: var(--brand);
  font-size: 1.02rem;
  line-height: 1.25;
}
.creator-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 999px;
  background: #0b2530;
  border: 1px solid rgba(245, 158, 11, 0.45);
  color: #fde68a;
  font-size: 0.76rem;
  font-weight: 700;
}
.creator-pillars {
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
  display: grid;
  gap: 8px;
}
.creator-pillars li {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 9px 13px;
  border-radius: 12px;
  background: var(--soft);
  border: 1px solid var(--border);
  color: var(--brand);
  font-size: 0.88rem;
  font-weight: 600;
}
.creator-pillars li::before {
  content: "✓";
  color: #b45309;
  font-weight: 800;
  flex: none;
}
.creator-inline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: 0 auto 22px;
  padding: 12px 18px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(245, 158, 11, 0.35);
  text-align: left;
  max-width: 650px;
}
.creator-inline p {
  margin: 0;
  color: #dbeaf1;
  font-size: 0.95rem;
  line-height: 1.45;
}
.creator-inline strong { color: #ffffff; }
@media (max-width: 720px) {
  .creator-card { grid-template-columns: 1fr; }
  .creator-inline { text-align: left; }
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .content-card {
    background: #0b2530;
    border-color: rgba(245, 158, 11, 0.25);
  }
  :root:not([data-theme="light"]) .content-card h2,
  :root:not([data-theme="light"]) .content-card h3,
  :root:not([data-theme="light"]) .creator-name {
    color: #ffffff;
  }
  :root:not([data-theme="light"]) .content-card p,
  :root:not([data-theme="light"]) .content-card li {
    color: #cde0e9;
  }
  :root:not([data-theme="light"]) .creator-pillars li {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.14);
    color: #eef6fa;
  }
  :root:not([data-theme="light"]) .creator-pillars li::before {
    color: #f59e0b;
  }
}
:root[data-theme="dark"] .content-card {
  background: #0b2530;
  border-color: rgba(245, 158, 11, 0.25);
}
:root[data-theme="dark"] .content-card h2,
:root[data-theme="dark"] .content-card h3,
:root[data-theme="dark"] .creator-name {
  color: #ffffff;
}
:root[data-theme="dark"] .content-card p,
:root[data-theme="dark"] .content-card li {
  color: #cde0e9;
}
:root[data-theme="dark"] .creator-pillars li {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.14);
  color: #eef6fa;
}
:root[data-theme="dark"] .creator-pillars li::before {
  color: #f59e0b;
}

/* Central de Guias e Artigos (/guias) */
.guides-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 24px;
}
.guides-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.guide-filter-btn {
  appearance: none;
  border: 1.5px solid var(--border);
  background: #ffffff;
  color: #334155;
  border-radius: 9999px;
  padding: 8px 16px;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 150ms ease, border-color 150ms ease, color 150ms ease;
}
.guide-filter-btn:hover { border-color: #0b2530; color: #0b2530; }
.guide-filter-btn[aria-pressed="true"] {
  background: #0b2530;
  border-color: #0b2530;
  color: #ffffff;
}
.guides-count {
  font-size: 0.86rem;
  color: var(--muted);
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}
.guides-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.guide-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}
.guide-card[hidden] { display: none !important; }
.guide-card:hover {
  transform: translateY(-2px);
  border-color: rgba(245, 158, 11, 0.7);
  box-shadow: 0 14px 30px rgba(11, 37, 48, 0.09);
}
.guide-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--amber);
}
.guide-card h2 {
  font-family: var(--font-display, 'Plus Jakarta Sans', sans-serif);
  font-weight: 600;
  font-size: 1.12rem;
  line-height: 1.3;
  letter-spacing: -0.015em;
  color: #0b2530;
  margin: 0;
}
.guide-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.91rem;
  line-height: 1.6;
}
.guide-card-link {
  font-size: 0.875rem;
  font-weight: 600;
  color: #0b2530;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.guide-article {
  max-width: 72ch;
  margin: 0 auto;
  padding: 40px 0 72px;
}
.guide-byline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  margin-top: 16px;
  color: #dbeaf1;
  font-size: 0.9rem;
}
.guide-byline a {
  color: #ffffff;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: #f59e0b;
  text-underline-offset: 3px;
}
.relief-box {
  background: var(--amber-bg);
  border: 2px solid #f59e0b;
  border-radius: 18px;
  padding: 22px 24px;
  margin-bottom: 24px;
}
.relief-box h2 {
  font-family: var(--font-display, 'Plus Jakarta Sans', sans-serif);
  font-weight: 700;
  font-size: 1.2rem;
  color: #7c2d12;
  margin: 0 0 12px;
}
.relief-box ol {
  margin: 0;
  padding-left: 20px;
  color: #473515;
  font-size: 0.96rem;
  line-height: 1.65;
}
.relief-box li { margin-bottom: 8px; }
.guide-section { margin-bottom: 26px; }
.guide-section h2 {
  font-family: var(--font-display, 'Plus Jakarta Sans', sans-serif);
  font-weight: 700;
  font-size: 1.38rem;
  line-height: 1.25;
  color: #0b2530;
  margin: 0 0 12px;
}
.guide-section h3 {
  font-family: var(--font-display, 'Plus Jakarta Sans', sans-serif);
  font-weight: 600;
  font-size: 1.08rem;
  color: #0b2530;
  margin: 18px 0 10px;
}
.guide-section p, .guide-section li {
  color: #334155;
  font-size: 1rem;
  line-height: 1.7;
}
.guide-steps-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.guide-steps-list li {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 15px 18px;
}
.guide-steps-list strong {
  display: block;
  color: #0b2530;
  font-weight: 600;
  margin-bottom: 4px;
}
.guide-cta-card {
  background: linear-gradient(135deg, #0b2530 0%, #123d4f 100%);
  color: #ffffff;
  border: 1px solid rgba(245, 158, 11, 0.45);
  border-radius: 20px;
  padding: 24px 26px;
  margin: 26px 0;
  display: grid;
  gap: 12px;
}
.guide-cta-card h3 {
  font-family: var(--font-display, 'Plus Jakarta Sans', sans-serif);
  font-weight: 700;
  font-size: 1.24rem;
  color: #ffffff;
  margin: 0;
}
.guide-cta-card p {
  margin: 0;
  color: #dbeaf1;
  font-size: 0.95rem;
  line-height: 1.6;
}
.guide-author-box {
  background: #0b2530;
  color: #e6f1f5;
  border: 1px solid rgba(245, 158, 11, 0.35);
  border-radius: 18px;
  padding: 22px;
  margin: 28px 0;
  display: grid;
  gap: 12px;
}
.guide-author-top { display: flex; align-items: center; gap: 14px; }
.guide-author-name {
  font-family: var(--font-display, 'Plus Jakarta Sans', sans-serif);
  font-weight: 700;
  font-size: 1.02rem;
  color: #ffffff;
}
.guide-author-role { font-size: 0.84rem; font-weight: 600; color: #fde68a; }
.guide-author-box p { margin: 0; color: #d3e5ed; font-size: 0.93rem; line-height: 1.6; }
.guide-author-note {
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.82rem !important;
  color: #b6ced9 !important;
}
.related-guides { margin-top: 32px; }
.related-guides h2 {
  font-family: var(--font-display, 'Plus Jakarta Sans', sans-serif);
  font-weight: 700;
  font-size: 1.25rem;
  color: #0b2530;
  margin: 0 0 14px;
}
.related-guides-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

@media (max-width: 900px) {
  .guides-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .related-guides-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .guides-grid { grid-template-columns: 1fr; }
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) body { background: #071922; color: #f1f5f9; }
  :root:not([data-theme="light"]) header {
    background: rgba(7, 23, 31, 0.85);
    border-bottom-color: rgba(255, 255, 255, 0.1);
  }
  :root:not([data-theme="light"]) .logo { color: #ffffff; }
  :root:not([data-theme="light"]) .nav-links { color: #cbd5e1; }
  :root:not([data-theme="light"]) .nav-links > a:hover,
  :root:not([data-theme="light"]) .nav-links > a[aria-current="page"] { color: #ffffff; }
  :root:not([data-theme="light"]) .header-cta { background: #f59e0b; color: #0b2530; }
  :root:not([data-theme="light"]) .header-cta:hover { background: #fbbf24; }
  :root:not([data-theme="light"]) .menu-toggle { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.2); }
  :root:not([data-theme="light"]) .menu-toggle span { background: #ffffff; }
  :root:not([data-theme="light"]) .nav-links.open { background: #07171f; border-color: rgba(255, 255, 255, 0.12); }
  :root:not([data-theme="light"]) .nav-links.open > a { color: #e2e8f0; border-bottom-color: rgba(255, 255, 255, 0.12); }
  :root:not([data-theme="light"]) .guide-filter-btn { background: #0b2530; border-color: rgba(255, 255, 255, 0.18); color: #cbd5e1; }
  :root:not([data-theme="light"]) .guide-filter-btn[aria-pressed="true"] { background: #f59e0b; border-color: #f59e0b; color: #0b2530; }
  :root:not([data-theme="light"]) .content-card,
  :root:not([data-theme="light"]) .guide-card,
  :root:not([data-theme="light"]) .guide-steps-list li,
  :root:not([data-theme="light"]) details { background: #0b2530; border-color: rgba(245, 158, 11, 0.25); }
  :root:not([data-theme="light"]) .content-card h2,
  :root:not([data-theme="light"]) .content-card h3,
  :root:not([data-theme="light"]) .guide-card h2,
  :root:not([data-theme="light"]) .guide-card h3,
  :root:not([data-theme="light"]) .guide-card-link,
  :root:not([data-theme="light"]) .guide-section h2,
  :root:not([data-theme="light"]) .guide-section h3,
  :root:not([data-theme="light"]) .guide-steps-list strong,
  :root:not([data-theme="light"]) .related-guides h2,
  :root:not([data-theme="light"]) summary { color: #ffffff; }
  :root:not([data-theme="light"]) .content-card .lead { color: #f1f5f9 !important; }
  :root:not([data-theme="light"]) .content-card p,
  :root:not([data-theme="light"]) .content-card li,
  :root:not([data-theme="light"]) .guide-card p,
  :root:not([data-theme="light"]) .guide-section p,
  :root:not([data-theme="light"]) .guide-section li,
  :root:not([data-theme="light"]) details p { color: #cbd5e1; }
  :root:not([data-theme="light"]) .relief-box { background: #2b2417; border-color: #f59e0b; }
  :root:not([data-theme="light"]) .relief-box h2 { color: #fde68a; }
  :root:not([data-theme="light"]) .relief-box ol { color: #fef3c7; }
}
:root[data-theme="dark"] body { background: #071922; color: #f1f5f9; }
:root[data-theme="dark"] header {
  background: rgba(7, 23, 31, 0.85);
  border-bottom-color: rgba(255, 255, 255, 0.1);
}
:root[data-theme="dark"] .logo { color: #ffffff; }
:root[data-theme="dark"] .nav-links { color: #cbd5e1; }
:root[data-theme="dark"] .nav-links > a:hover,
:root[data-theme="dark"] .nav-links > a[aria-current="page"] { color: #ffffff; }
:root[data-theme="dark"] .header-cta { background: #f59e0b; color: #0b2530; }
:root[data-theme="dark"] .header-cta:hover { background: #fbbf24; }
:root[data-theme="dark"] .menu-toggle { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.2); }
:root[data-theme="dark"] .menu-toggle span { background: #ffffff; }
:root[data-theme="dark"] .nav-links.open { background: #07171f; border-color: rgba(255, 255, 255, 0.12); }
:root[data-theme="dark"] .nav-links.open > a { color: #e2e8f0; border-bottom-color: rgba(255, 255, 255, 0.12); }
:root[data-theme="dark"] .guide-filter-btn { background: #0b2530; border-color: rgba(255, 255, 255, 0.18); color: #cbd5e1; }
:root[data-theme="dark"] .guide-filter-btn[aria-pressed="true"] { background: #f59e0b; border-color: #f59e0b; color: #0b2530; }
:root[data-theme="dark"] .content-card,
:root[data-theme="dark"] .guide-card,
:root[data-theme="dark"] .guide-steps-list li,
:root[data-theme="dark"] details { background: #0b2530; border-color: rgba(245, 158, 11, 0.25); }
:root[data-theme="dark"] .content-card h2,
:root[data-theme="dark"] .content-card h3,
:root[data-theme="dark"] .guide-card h2,
:root[data-theme="dark"] .guide-card h3,
:root[data-theme="dark"] .guide-card-link,
:root[data-theme="dark"] .guide-section h2,
:root[data-theme="dark"] .guide-section h3,
:root[data-theme="dark"] .guide-steps-list strong,
:root[data-theme="dark"] .related-guides h2,
:root[data-theme="dark"] summary { color: #ffffff; }
:root[data-theme="dark"] .content-card .lead { color: #f1f5f9 !important; }
:root[data-theme="dark"] .content-card p,
:root[data-theme="dark"] .content-card li,
:root[data-theme="dark"] .guide-card p,
:root[data-theme="dark"] .guide-section p,
:root[data-theme="dark"] .guide-section li,
:root[data-theme="dark"] details p { color: #cbd5e1; }
:root[data-theme="dark"] .relief-box { background: #2b2417; border-color: #f59e0b; }
:root[data-theme="dark"] .relief-box h2 { color: #fde68a; }
:root[data-theme="dark"] .relief-box ol { color: #fef3c7; }

.guide-wallpapers {
  margin: 28px 0;
  padding: 22px;
  border-radius: 18px;
  background: var(--soft);
  border: 1px solid var(--border);
}
.guide-wallpapers h2 {
  font-family: var(--font-display, 'Plus Jakarta Sans', sans-serif);
  font-weight: 700;
  font-size: 1.25rem;
  color: #0b2530;
  margin: 0 0 6px;
}
.guide-wallpapers > p {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 0.94rem;
}
.guide-wallpaper-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.guide-wallpaper-card {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding: 14px;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 14px;
}
.guide-wallpaper-phone {
  border-radius: 14px;
  padding: 4px;
  background: #0b2530;
  border: 1.5px solid rgba(245, 158, 11, 0.45);
  overflow: hidden;
}
.guide-wallpaper-phone img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  border-radius: 10px;
}
.guide-wallpaper-card h3 {
  margin: 0 0 4px;
  font-family: var(--font-display, 'Plus Jakarta Sans', sans-serif);
  font-weight: 600;
  font-size: 0.98rem;
  color: #0b2530;
}
.guide-wallpaper-card p {
  margin: 0 0 10px;
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.45;
}
.guide-wallpaper-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.guide-wallpaper-actions .btn-primary,
.guide-wallpaper-actions .btn-dark {
  padding: 8px 13px;
  font-size: 0.8rem;
}
@media (max-width: 720px) {
  .guide-wallpaper-grid { grid-template-columns: 1fr; }
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .guide-wallpapers {
    background: #091d27;
    border-color: rgba(245, 158, 11, 0.25);
  }
  :root:not([data-theme="light"]) .guide-wallpapers h2,
  :root:not([data-theme="light"]) .guide-wallpaper-card h3 { color: #ffffff; }
  :root:not([data-theme="light"]) .guide-wallpapers > p,
  :root:not([data-theme="light"]) .guide-wallpaper-card p { color: #cbd5e1; }
  :root:not([data-theme="light"]) .guide-wallpaper-card {
    background: #0b2530;
    border-color: rgba(255, 255, 255, 0.14);
  }
}
:root[data-theme="dark"] .guide-wallpapers {
  background: #091d27;
  border-color: rgba(245, 158, 11, 0.25);
}
:root[data-theme="dark"] .guide-wallpapers h2,
:root[data-theme="dark"] .guide-wallpaper-card h3 { color: #ffffff; }
:root[data-theme="dark"] .guide-wallpapers > p,
:root[data-theme="dark"] .guide-wallpaper-card p { color: #cbd5e1; }
:root[data-theme="dark"] .guide-wallpaper-card {
  background: #0b2530;
  border-color: rgba(255, 255, 255, 0.14);
}
