:root {
  --background: hsl(210 40% 98%);
  --foreground: hsl(222 47% 11%);
  --card: hsl(0 0% 100%);
  --card-foreground: hsl(222 47% 11%);
  --primary: hsl(71, 86%, 45%);
  --primary-foreground: hsl(210 40% 98%);
  --muted: hsl(210 24% 94%);
  --muted-foreground: hsl(215 16% 38%);
  --border: hsl(214 20% 86%);
  --accent: hsl(174 80% 36%);
  --accent-foreground: hsl(210 40% 98%);
  --destructive: hsl(0 72% 51%);
  --radius: 0.75rem;
  --hero-gradient-start: hsl(214 80% 32%);
  --hero-gradient-end: hsl(222 65% 20%);
  --gold: hsl(103, 87%, 47%);
  --gold-light: hsl(190 82% 55%);
  --teal-lighter: hsl(174 55% 92%);
  --maxw: 80rem;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.08);
  --font-display: "Playfair Display", Georgia, serif;
  --font-body:
    "DM Sans", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}
* {
  box-sizing: border-box;
}
html,
body {
  height: 100%;
  overflow-x: hidden;
} /* Prevent tiny horizontal overflows on mobile (long URLs, wide tables, flex content) */
html {
  max-width: 100%;
  overflow-x: hidden;
}
body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--background);
  color: var(--foreground);
  line-height: 1.6;
  max-width: 100%;
  overflow-x: hidden;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-display);
  margin: 0 0 0.5rem;
} /* Long headings should wrap safely on very small screens */
h1,
h2,
h3,
h4,
h5,
h6 {
  overflow-wrap: anywhere;
  word-break: break-word;
}
a {
  color: inherit;
  text-decoration: none;
}
.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;
}
.container-page {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 1rem;
}
@media (min-width: 640px) {
  .container-page {
    padding: 0 1.5rem;
  }
}
@media (min-width: 1024px) {
  .container-page {
    padding: 0 2rem;
  }
}
.skip-link {
  position: absolute;
  top: -3rem;
  left: 1rem;
  background: var(--primary);
  color: var(--primary-foreground);
  padding: 0.5rem 0.75rem;
  border-radius: 0.5rem;
  z-index: 9999;
  transition: top 0.2s ease;
}
.skip-link:focus {
  top: 1rem;
}
.site-header {
  position: relative;
  top: auto;
  z-index: 50;
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(10px);
}
.header-inner {
  height: 4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--primary);
}
.brand-name {
  display: none;
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--primary);
}
@media (min-width: 640px) {
  .brand-name {
    display: inline;
  }
}
.text-gradient-gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.site-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.site-nav--desktop {
  display: none;
}
@media (min-width: 1024px) {
  .site-nav--desktop {
    display: flex;
  }
}
.nav-link {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.75rem;
  border-radius: 0.65rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--muted-foreground);
  transition:
    background 0.15s ease,
    color 0.15s ease;
}
.nav-link:hover {
  background: var(--muted);
  color: var(--foreground);
}
.nav-link--active {
  background: var(--teal-lighter);
  color: var(--primary);
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}
.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.65rem;
  color: var(--muted-foreground);
  transition:
    background 0.15s ease,
    color 0.15s ease;
}
.icon-btn:hover {
  background: var(--muted);
  color: var(--foreground);
}
.icon {
  width: 1.15rem;
  height: 1.15rem;
  display: block;
}
.nav-toggle {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.nav-toggle-btn {
  display: inline-flex;
}
@media (min-width: 1024px) {
  .nav-toggle-btn {
    display: none;
  }
}
.site-nav--mobile {
  display: none;
  border-top: 1px solid var(--border);
  background: var(--card);
}
.mobile-nav-inner {
  padding: 1rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.site-nav--mobile .nav-link {
  padding: 0.75rem 1rem;
  color: var(--foreground);
}
.site-nav--mobile .nav-link:hover {
  background: var(--muted);
}
.nav-toggle:checked ~ .site-nav--mobile {
  display: block;
}
.site-footer {
  margin-top: 4rem;
  border-top: 1px solid var(--border);
  background: var(--card);
}
.footer-top {
  padding: 3rem 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem;
}
@media (min-width: 768px) {
  .footer-top {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
.footer-brand {
  grid-column: 1 / span 2;
}
@media (min-width: 768px) {
  .footer-brand {
    grid-column: auto;
  }
}
.footer-col h4 {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 700;
  margin: 0 0 0.75rem;
}
.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.5rem;
}
.footer-col a {
  font-size: 0.9rem;
  color: var(--muted-foreground);
}
.footer-col a:hover {
  color: var(--primary);
}
.footer-bottom {
  padding: 1.25rem 0;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: center;
  justify-content: space-between;
}
@media (min-width: 640px) {
  .footer-bottom {
    flex-direction: row;
  }
}
.footer-legal {
  display: flex;
  gap: 1rem;
}
.footer-legal a {
  font-size: 0.8rem;
  color: var(--muted-foreground);
}
.footer-legal a:hover {
  color: var(--primary);
}
.muted {
  color: var(--muted-foreground);
}
.small {
  font-size: 0.875rem;
}
.italic {
  font-style: italic;
}
.hero-gradient {
  background: linear-gradient(
    135deg,
    var(--hero-gradient-start),
    var(--hero-gradient-end)
  );
  color: var(--primary-foreground);
} /* Important: .hero is used together with .container-page (same element). Avoid padding shorthand here because it overwrites the horizontal padding from .container-page and causes “text-to-edge” on mobile. */
.hero {
  padding-top: 4rem;
  padding-bottom: 4rem;
}
.hero h1 {
  color: var(--primary-foreground);
}
.hero p {
  opacity: 0.92;
}
.hero-image-bg {
  background-image:
    linear-gradient(135deg, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.2)),
    var(--hero-bg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.hero-image-bg .container-page.hero {
  /* Ensure content stays readable over photo */
  position: relative;
  z-index: 1;
}
.hero-banner-only {
  height: clamp(18rem, 52.5vw, 42rem);
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}
.hero-banner-only.hero-image-bg {
  background-image: var(--hero-bg);
}
@media (min-width: 1024px) {
  .hero-banner-only {
    height: clamp(22rem, 42vw, 38rem);
  }
}
.section {
  padding: 3rem 0;
}
.section-muted {
  background: rgba(0, 0, 0, 0.02);
}
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.75rem;
}
.section-head p {
  margin: 0.25rem 0 0;
} /* On small screens, allow section headers to stack instead of causing overflow */
@media (max-width: 639px) {
  .section-head {
    flex-wrap: wrap;
    align-items: flex-start;
  }
  .section-head > * {
    min-width: 0;
  }
}
.link-primary {
  color: var(--primary);
  font-weight: 600;
}
.link-primary:hover {
  text-decoration: underline;
}
.card-elevated {
  border: 1px solid rgba(0, 0, 0, 0.06);
  background: var(--card);
  border-radius: 1.25rem;
  box-shadow: var(--shadow-sm);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}
.card-elevated:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.card {
  padding: 1.25rem;
}
.card-title {
  font-size: 1.1rem;
  margin: 0 0 0.75rem;
}
.grid {
  display: grid;
  gap: 1.25rem;
}
.grid-2 {
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .grid-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.grid-3 {
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 1024px) {
  .grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
.grid-4 {
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 1024px) {
  .grid-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.75rem;
}
.pill {
  display: inline-flex;
  padding: 0.1rem 0.6rem;
  border-radius: 999px;
  background: var(--muted);
  color: var(--muted-foreground);
  font-size: 0.72rem;
  font-weight: 700;
  align-items: center;
  justify-content: center;
}
.badge {
  display: inline-flex;
  padding: 0.1rem 0.55rem;
  border-radius: 999px;
  background: rgba(20, 184, 166, 0.14);
  color: var(--accent);
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.breadcrumbs {
  padding: 0.75rem 0;
}
.breadcrumb-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  align-items: center;
  color: var(--muted-foreground);
  font-size: 0.9rem;
}
.breadcrumb-item {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}
.breadcrumb-item + .breadcrumb-item:before {
  content: "›";
  opacity: 0.6;
  margin-right: 0.35rem;
}
.breadcrumb-item a {
  color: var(--muted-foreground);
}
.breadcrumb-item a:hover {
  color: var(--primary);
}
.breadcrumb-current {
  color: var(--foreground);
  font-weight: 700;
}
.page {
  padding: 1.5rem 0 0;
}
.page-title {
  margin: 0 0 0.75rem;
  font-weight: 800;
}
.page-intro {
  font-size: 1.1rem;
  margin: 0 0 2rem;
  max-width: 42rem;
}
.content-grid {
  display: grid;
  gap: 2rem;
  align-items: start;
}
.content-grid > * {
  min-width: 0;
} /* Ads rails (desktop only) ---------------------- Default: rails are hidden and pages use the full width like before. Enable rails when ads are present: - Manual: add class="ads-on" to <body> - Auto (modern browsers): inject content into .ad-slot (body:has(...)) */
.content-grid--ads {
  grid-template-columns: 1fr;
}
.ad-rail {
  display: none;
}
.ad-slot {
  display: none;
} /* Enable rails when ads are turned on (manual class) */
@media (min-width: 1024px) {
  body.ads-on .content-grid--ads {
    grid-template-columns: minmax(0, 10rem) minmax(0, 52rem) minmax(0, 10rem);
    justify-content: space-between;
  } /* If a page has multiple content blocks inside the grid, keep them all in the center column. */
  body.ads-on .content-grid--ads > :not(.ad-rail) {
    grid-column: 2;
  }
  body.ads-on .content-grid--ads > .ad-rail--left {
    grid-column: 1;
  }
  body.ads-on .content-grid--ads > .ad-rail--right {
    grid-column: 3;
  }
  body.ads-on .ad-rail {
    display: grid;
    gap: 1.25rem;
    align-content: start;
  }
  body.ads-on .ad-slot {
    display: block;
    min-height: 37.5rem;
    border-radius: 1rem;
    overflow: hidden;
  }
} /* Enable rails automatically when an ad-slot receives content (modern browsers) */
@media (min-width: 1024px) {
  body:has(.ad-slot:not(:empty)) .content-grid--ads {
    grid-template-columns: minmax(0, 10rem) minmax(0, 52rem) minmax(0, 10rem);
    justify-content: space-between;
  } /* If a page has multiple content blocks inside the grid, keep them all in the center column. */
  body:has(.ad-slot:not(:empty)) .content-grid--ads > :not(.ad-rail) {
    grid-column: 2;
  }
  body:has(.ad-slot:not(:empty)) .content-grid--ads > .ad-rail--left {
    grid-column: 1;
  }
  body:has(.ad-slot:not(:empty)) .content-grid--ads > .ad-rail--right {
    grid-column: 3;
  }
  body:has(.ad-slot:not(:empty)) .ad-rail {
    display: grid;
    gap: 1.25rem;
    align-content: start;
  }
  body:has(.ad-slot:not(:empty)) .ad-slot {
    display: block;
    min-height: 37.5rem;
    border-radius: 1rem;
    overflow: hidden;
  }
} /* In ad mode, align the page header (breadcrumbs/title/intro) with the content column */
@media (min-width: 1024px) {
  body.ads-on .breadcrumbs,
  body.ads-on .page-title,
  body.ads-on .page-intro,
  body:has(.ad-slot:not(:empty)) .breadcrumbs,
  body:has(.ad-slot:not(:empty)) .page-title,
  body:has(.ad-slot:not(:empty)) .page-intro {
    max-width: 52rem;
    margin-left: auto;
    margin-right: auto;
  }
} /* Sidebar content moved to bottom as a compact section. */
.page-bottom-widgets {
  margin-top: 2.5rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--border);
}
.page-bottom-widgets h2 {
  margin: 0 0 0.5rem;
  font-weight: 900;
}
.page-bottom-widgets .sidebar-inline {
  margin-top: 1rem;
}
.sidebar {
  display: grid;
  gap: 1.5rem;
  align-content: start;
}
.sidebar-card {
  padding: 1rem;
}
.sidebar-card--accent {
  border-left: 4px solid var(--accent);
}
.sidebar-title {
  margin: 0 0 0.25rem;
  font-size: 1.05rem;
}
.sidebar-links {
  list-style: none;
  padding: 0;
  margin: 0.5rem 0 0;
  display: grid;
  gap: 0.5rem;
}
.sidebar-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--primary);
  font-weight: 700;
  font-size: 0.95rem;
}
.sidebar-link:hover {
  text-decoration: underline;
}
.sidebar-link .icon {
  width: 1rem;
  height: 1rem;
}
.related-mini {
  list-style: none;
  padding: 0;
  margin: 0.5rem 0 0;
  display: grid;
  gap: 0.65rem;
}
.related-mini a {
  display: block;
} /* Keep sidebar cards tight: avoid large bottom whitespace from default margins */
.sidebar-card p {
  margin: 0.35rem 0;
}
.sidebar-card p:first-child {
  margin-top: 0;
}
.sidebar-card > :last-child {
  margin-bottom: 0;
}
.sidebar-card p:last-child {
  margin-bottom: 0;
}
.sidebar-card ul:last-child {
  margin-bottom: 0;
}
.rel-title {
  font-weight: 700;
} /* On this page (Table of Contents) - compact dropdown */
details.toc {
  margin: 1rem 0;
  border: 1px solid var(--border);
  border-radius: 1rem;
  background: rgba(0, 0, 0, 0.02);
  overflow: hidden;
}
details.toc summary {
  cursor: pointer;
  list-style: none;
  padding: 0.85rem 1rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
details.toc summary::-webkit-details-marker {
  display: none;
}
details.toc summary:after {
  content: "▾";
  font-weight: 900;
  opacity: 0.8;
}
details.toc[open] summary:after {
  content: "▴";
}
details.toc[open] summary {
  border-bottom: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.03);
}
details.toc ul {
  margin: 0;
  padding: 0.75rem 1rem 1rem;
}
details.toc li {
  margin: 0.35rem 0;
}
details.toc a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 700;
}
details.toc a:hover {
  text-decoration: underline;
}
.prose-content {
  font-size: clamp(1rem, 1.5vw, 1.125rem);
  line-height: 1.75;
  max-width: none;
  overflow-wrap: anywhere;
  word-break: break-word;
  hyphens: auto;
}
.prose-content p {
  margin: 0 0 1rem;
}
.prose-content h2 {
  margin: 2.5rem 0 1rem;
  font-weight: 800;
}
.prose-content h3 {
  margin: 2rem 0 0.75rem;
  font-weight: 800;
}
.prose-content ul {
  margin: 0 0 1rem 1.25rem;
}
.prose-content ol {
  margin: 0 0 1rem 1.25rem;
}
.prose-content li {
  margin: 0.25rem 0;
}
.prose-content a {
  color: var(--primary);
  text-decoration: underline;
  text-decoration-color: rgba(0, 0, 0, 0.15);
  text-underline-offset: 3px;
}
.prose-content a:hover {
  text-decoration-color: rgba(0, 0, 0, 0.35);
}
.prose-content a {
  word-break: break-word;
}
.prose-content blockquote {
  margin: 1rem 0;
  border-left: 4px solid var(--gold);
  padding-left: 1rem;
  color: var(--muted-foreground);
  font-style: italic;
}
.prose-content code {
  background: var(--muted);
  padding: 0.1rem 0.35rem;
  border-radius: 0.4rem;
  font-size: 0.9em;
} /* Inline code (tokens/placeholders) should wrap on mobile */
.prose-content code {
  overflow-wrap: anywhere;
  word-break: break-word;
}
.prose-content img {
  max-width: 100%;
  border-radius: 1rem;
  margin: 1.25rem 0;
} /* Images inside elevated cards should be flush — remove default img margins that create white bands */
.card-elevated > img,
.card-elevated > picture > img,
.card-elevated > a > img {
  margin: 0;
  border-radius: 0;
  display: block;
}
.prose-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0;
  max-width: 100%;
} /* Make wide tables scroll inside the content instead of expanding the page */
@media (max-width: 767px) {
  .prose-content table:not(.pretty-table) {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}
.prose-content th,
.prose-content td {
  border-bottom: 1px solid var(--border);
  padding: 0.5rem 0.6rem;
  text-align: left;
}
.prose-content th {
  border-bottom: 2px solid var(--border);
} /* Beautiful responsive tables (used for “quick comparison” and monthly planning tables) */
.table-scroll {
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 1rem 0;
}
@media (max-width: 639px) {
  .table-scroll {
    margin-left: -0.25rem;
    margin-right: -0.25rem;
    padding-left: 0.25rem;
    padding-right: 0.25rem;
  }
}
.prose-content table.pretty-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid var(--border);
  border-radius: 1rem;
  overflow: hidden;
  background: var(--card);
  box-shadow: var(--shadow-sm);
  margin: 0; /* wrapper handles spacing */
}
.prose-content table.pretty-table th,
.prose-content table.pretty-table td {
  padding: 0.75rem 0.85rem;
  border-bottom: 1px solid var(--border);
  text-align: left;
  vertical-align: top;
}
.prose-content table.pretty-table thead th {
  background: rgba(0, 0, 0, 0.02);
  font-family: var(--font-body);
  font-weight: 900;
  font-size: 0.9rem;
}
.prose-content table.pretty-table tbody tr:nth-child(even) td {
  background: rgba(0, 0, 0, 0.015);
}
.prose-content table.pretty-table tbody tr:last-child td {
  border-bottom: 0;
} /* Code blocks (if present) should never force horizontal page overflow */
pre {
  max-width: 100%;
  overflow-x: auto;
} /* Media should never exceed the viewport */
img,
svg,
video,
iframe {
  max-width: 100%;
} /* Common flex/grid overflow guard */
.card,
.card-elevated,
.sidebar-card,
.breadcrumbs,
.breadcrumb-list {
  min-width: 0;
}
.block-stack {
  display: grid;
  gap: 1.25rem;
  margin-top: 1rem;
}
.block-stack > .media-card {
  margin: 0;
}
.callout {
  border-radius: 1rem;
  border: 1px solid var(--border);
  padding: 1rem 1.1rem;
}
.callout-title {
  font-weight: 800;
  font-size: 0.95rem;
  margin-bottom: 0.25rem;
}
.callout-text {
  font-size: 0.95rem;
}
.callout--tip {
  background: rgba(16, 185, 129, 0.08);
  border-color: rgba(16, 185, 129, 0.25);
}
.callout--warning {
  background: rgba(245, 158, 11, 0.08);
  border-color: rgba(245, 158, 11, 0.25);
}
.callout--info {
  background: rgba(59, 130, 246, 0.08);
  border-color: rgba(59, 130, 246, 0.25);
}
.callout--important {
  background: rgba(244, 63, 94, 0.08);
  border-color: rgba(244, 63, 94, 0.25);
}
.checklist {
  display: grid;
  gap: 0.6rem;
}
.check-item {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  font-size: 0.95rem;
}
.check-item input {
  margin-top: 0.25rem;
  accent-color: var(--primary);
}
.faq {
  display: grid;
  gap: 0.6rem;
}
.faq-item {
  padding: 0;
  overflow: hidden;
}
.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 1rem 1.25rem;
  font-weight: 800;
  font-size: 0.95rem;
}
.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-item summary:hover {
  background: rgba(0, 0, 0, 0.02);
}
.faq-answer {
  padding: 0 1.25rem 1rem;
  color: var(--muted-foreground);
  font-size: 0.95rem;
}
.affiliate-grid {
  display: grid;
  gap: 0.75rem;
}
@media (min-width: 640px) {
  .affiliate-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.affiliate-card {
  padding: 1rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.affiliate-label {
  font-weight: 800;
}
.affiliate-desc {
  margin-top: 0.25rem;
  font-size: 0.85rem;
  color: var(--muted-foreground);
}
.affiliate-top {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  flex-wrap: wrap;
}
.affiliate-icon {
  color: var(--muted-foreground);
  margin-top: 0.1rem;
}
.affiliate-card:hover .affiliate-icon {
  color: var(--primary);
}
.toc {
  padding: 1rem;
}
.toc-title {
  font-family: var(--font-body);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted-foreground);
  font-weight: 800;
  margin-bottom: 0.75rem;
}
.toc-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.4rem;
}
.toc-list a {
  font-size: 0.95rem;
  color: var(--muted-foreground);
}
.toc-list a:hover {
  color: var(--primary);
}
.toc--desktop {
  display: none;
}
.toc--mobile {
  margin-bottom: 1.25rem;
}
.toc--mobile summary {
  cursor: pointer;
  font-weight: 800;
}
@media (min-width: 1024px) {
  .toc--desktop {
    display: block;
    position: sticky;
    top: 6rem;
  }
  .toc--mobile {
    display: none;
  }
}
.media-placeholder {
  background: var(--muted);
  border-radius: 1.25rem 1.25rem 0 0;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 16/9;
  color: rgba(0, 0, 0, 0.25);
}
.media-placeholder.square {
  aspect-ratio: 4/3;
}
.media-img {
  width: 100%;
  height: auto;
  display: block;
} /* Media cards (inline images inside articles) - Mobile: full-width (best readability) - Desktop: slightly constrained + centered so images don’t dominate the page */
.media-card {
  overflow: hidden;
  margin: 1rem 0;
}
.media-card:hover {
  transform: none;
  box-shadow: var(--shadow-sm);
}
@media (min-width: 1024px) {
  .media-card {
    max-width: 50rem;
    margin: 1.25rem auto;
  }
}
.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.75rem 1.15rem;
  border-radius: 1rem;
  font-weight: 800;
  font-size: 0.95rem;
  border: 1px solid transparent;
  transition:
    opacity 0.15s ease,
    background 0.15s ease,
    border-color 0.15s ease;
}
.btn-primary {
  background: var(--primary);
  color: var(--primary-foreground);
}
.btn-primary:hover {
  opacity: 0.92;
}
.btn-outline {
  background: var(--card);
  border-color: var(--border);
  color: var(--foreground);
}
.btn-outline:hover {
  background: var(--muted);
}
.btn-accent {
  background: var(--accent);
  color: var(--accent-foreground);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.12);
}
.btn-accent:hover {
  opacity: 0.92;
}
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8rem;
  color: var(--muted-foreground);
}
.kicker .icon {
  width: 0.95rem;
  height: 0.95rem;
} /* === Mobile spacing polish === */
@media (max-width: 520px) {
  /* Give breathing room on very small screens (prevents “text-to-edge” feel) */
  .container-page {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  } /* Hero feels like a card on mobile — keep comfortable padding */
  .hero {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }
  .page-title {
    font-size: 2.1rem;
    line-height: 1.15;
  }
  .page-intro {
    font-size: 1.05rem;
  } /* Footer: single-column layout on very small screens */
  .footer-top {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .footer-brand {
    grid-column: auto;
  }
} /* Footer links should wrap instead of overflowing */
.footer-legal {
  flex-wrap: wrap;
  justify-content: center;
  text-align: center;
} /* ================================ First-time page modern layout (scoped to start-here/first-time) ================================ */
.page-first-time-modern .breadcrumbs {
  margin-bottom: 1rem;
} /* Keep line-length comfortable on desktop: center the main column so content doesn't run too wide */
.page-first-time-modern {
  --modern-max: 52rem;
}
.page-first-time-modern .content-grid--ads > div {
  max-width: var(--modern-max);
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}
.page-first-time-modern .page-bottom-widgets {
  max-width: var(--modern-max);
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}
.page-first-time-modern .modern-hero {
  padding: 1.25rem 1.25rem 1rem;
  position: relative;
  overflow: hidden;
}
.page-first-time-modern .modern-hero:before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      800px 240px at 15% 0%,
      rgba(20, 184, 166, 0.18),
      transparent 60%
    ),
    radial-gradient(
      700px 240px at 90% 20%,
      rgba(59, 130, 246, 0.12),
      transparent 60%
    );
  pointer-events: none;
}
.page-first-time-modern .modern-hero > * {
  position: relative;
}
.page-first-time-modern .pill--accent {
  background: rgba(20, 184, 166, 0.16);
  color: var(--foreground);
}
.page-first-time-modern .modern-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  margin-top: 0.25rem;
}
.page-first-time-modern .meta-dot {
  opacity: 0.6;
}
.page-first-time-modern .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1rem;
}
.page-first-time-modern .jump-row {
  display: flex;
  gap: 0.5rem;
  margin-top: 1rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  overflow: auto;
}
.page-first-time-modern .jump-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: rgba(255, 255, 255, 0.6);
  white-space: nowrap;
  font-size: 0.85rem;
}
.page-first-time-modern .jump-chip:hover {
  background: var(--muted);
}
.page-first-time-modern .jump-row::-webkit-scrollbar {
  height: 8px;
}
.page-first-time-modern .jump-row::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.12);
  border-radius: 999px;
}
.page-first-time-modern .hero-media {
  overflow: hidden;
  margin: 1rem 0 1.25rem;
}
.page-first-time-modern .hero-media img {
  display: block;
  width: 100%;
  height: auto;
}
.page-first-time-modern .bento-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 1rem;
  margin: 1.25rem 0 1.25rem;
}
.page-first-time-modern .bento-card {
  border: 1px solid rgba(0, 0, 0, 0.06);
  background: var(--card);
  border-radius: 1.25rem;
  box-shadow: var(--shadow-sm);
  padding: 1rem;
}
.page-first-time-modern .bento-card--media {
  padding: 0;
  overflow: hidden;
}
.page-first-time-modern .bento-card--media img {
  display: block;
  width: 100%;
  height: auto;
}
.page-first-time-modern .bento-caption {
  padding: 0.85rem 1rem;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  font-size: 0.95rem;
}
.page-first-time-modern .bento-kicker {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 800;
  color: var(--muted-foreground);
}
.page-first-time-modern .bento-title {
  margin: 0.35rem 0 0.5rem;
  font-size: 1.1rem;
}
.page-first-time-modern .bento-steps {
  padding-left: 1.1rem;
  margin: 0.5rem 0 0.75rem;
}
.page-first-time-modern .bento-steps li {
  margin: 0.25rem 0;
}
.page-first-time-modern .bento-link {
  font-weight: 800;
}
.page-first-time-modern .span-7 {
  grid-column: span 7;
}
.page-first-time-modern .span-5 {
  grid-column: span 5;
}
.page-first-time-modern .span-4 {
  grid-column: span 4;
}
.page-first-time-modern .modern-article {
  margin-top: 1.25rem;
}
.page-first-time-modern .section-card {
  border: 1px solid rgba(0, 0, 0, 0.06);
  background: var(--card);
  border-radius: 1.25rem;
  box-shadow: var(--shadow-sm);
  padding: 1.15rem 1.15rem 0.95rem;
  margin: 1rem 0;
}
.page-first-time-modern .section-card--soft {
  background: linear-gradient(
    180deg,
    rgba(20, 184, 166, 0.1),
    rgba(255, 255, 255, 0)
  );
}
.page-first-time-modern .section-top {
  display: flex;
  justify-content: flex-start;
  margin-bottom: 0.25rem;
}
.page-first-time-modern .section-kicker {
  display: inline-flex;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 900;
  color: var(--muted-foreground);
  background: var(--muted);
  border-radius: 999px;
  padding: 0.18rem 0.6rem;
}
.page-first-time-modern .section-card h2 {
  margin-top: 0.65rem;
}
.page-first-time-modern .section-card h3 {
  margin-top: 1rem;
}
.page-first-time-modern .callout {
  border: 1px solid rgba(0, 0, 0, 0.06);
  background: rgba(81, 162, 255, 0.08);
  border-radius: 1rem;
  padding: 0.85rem 1rem;
  margin: 1rem 0;
}
.page-first-time-modern .media-card {
  margin: 1rem auto;
} /* Responsive: bento collapses cleanly */
@media (max-width: 900px) {
  .page-first-time-modern .bento-grid {
    grid-template-columns: 1fr;
  }
  .page-first-time-modern .span-7,
  .page-first-time-modern .span-5,
  .page-first-time-modern .span-4 {
    grid-column: auto;
  }
}
@media (max-width: 900px) {
  .page-first-time-modern .jump-row {
    flex-wrap: wrap;
    overflow: visible;
  }
} /* ========================================================= Modern long-form layout (site-wide) Applies to pages with body.page-modern ========================================================= */ /* Modern hero spacing fixes */
.page-modern .modern-hero {
  padding: 1.25rem 1.1rem 1rem !important;
  position: relative;
  overflow: hidden;
}
.page-modern .modern-hero .page-title {
  margin: 0.65rem 0 0.45rem !important;
}
.page-modern .modern-hero .page-intro {
  margin: 0 !important;
} /* Modern hero with integrated image */
.page-modern .modern-hero--media {
  padding: 0 !important;
  overflow: hidden;
}
.page-modern .modern-hero--media:before {
  inset: 45% 0 0 0;
}
.page-modern .modern-hero--media .hero-media {
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}
.page-modern .modern-hero--media .hero-media .media-placeholder {
  border-radius: 0;
}
.page-modern .modern-hero--media .modern-hero-inner {
  padding: 1.05rem 1.1rem 1rem;
  position: relative;
}
@media (max-width: 820px) {
  .page-modern .modern-hero--media .modern-hero-inner {
    padding: 1.05rem 1.05rem 1rem;
  }
}
@media (max-width: 820px) {
  .page-modern .modern-hero {
    padding: 1.1rem 1.05rem 1rem !important;
  }
}
.page-modern .modern-hero:before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      800px 240px at 15% 0%,
      rgba(20, 184, 166, 0.18),
      transparent 60%
    ),
    radial-gradient(
      700px 240px at 90% 20%,
      rgba(59, 130, 246, 0.12),
      transparent 60%
    );
  pointer-events: none;
}
.page-modern .modern-hero.modern-hero--media:before {
  inset: 45% 0 0 0;
}
.page-modern .modern-hero > * {
  position: relative;
}
.page-modern .pill--accent {
  background: rgba(20, 184, 166, 0.16);
  color: var(--foreground);
}
.page-modern .modern-hero-top {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.page-modern .modern-hero .page-title {
  margin-top: 0.5rem;
}
.page-modern .modern-hero .page-intro {
  margin-bottom: 0;
} /* Replace old “HR separators” with section cards */
.prose-sections {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 1rem;
}
.prose-section {
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
}
.prose-section + .prose-section {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
}
.prose-section > :first-child {
  margin-top: 0;
}
.prose-section > :first-child {
  margin-top: 0;
}
.prose-section h2 {
  margin-top: 0;
  padding-left: 0;
  position: relative;
}
.prose-section h2::before {
  content: "";
  position: absolute;
  left: -12px;
  top: 0.25em;
  bottom: 0.25em;
  width: 4px;
  border-radius: 999px;
  background: rgba(81, 162, 255, 0.45);
}
@media (max-width: 820px) {
  .prose-section h2::before {
    left: -10px;
  }
}
.prose-section h3 {
  margin-top: 1.1rem;
  padding-left: 0;
}
.prose-section .card-elevated {
  margin: 1rem 0;
} /* keep visual rhythm inside sections */ /* Make wide content behave nicely inside sections */
.prose-section table {
  display: block;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}
.prose-section pre {
  overflow: auto;
} /* Keep page header aligned in the main column when ads rails exist */
.page-modern .content-grid--ads > div > .breadcrumbs {
  margin-top: 0;
} /* Safety: never show horizontal scroll on modern pages */
.page-modern {
  overflow-x: hidden;
} /* Internal reference pill buttons (assist-chip style) */
.pill-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(69, 138, 217, 0.35);
  background: rgba(69, 138, 217, 0.16);
  color: var(--foreground);
  text-decoration: none;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
  box-shadow: var(--shadow-sm);
}
.pill-link::after {
  content: "→";
  font-weight: 900;
  opacity: 0.7;
}
.pill-link:hover {
  border-color: rgba(69, 138, 217, 0.45);
  text-decoration: none;
  transform: translateY(-1px);
  background: rgba(69, 138, 217, 0.22);
}
.pill-link:active {
  transform: translateY(0);
} /* Compact pill inside prose */
.prose-content .pill-link {
  margin: 2px 0;
}
.prose-content a.pill-link {
  color: var(--foreground);
  text-decoration: none;
} /* ========================= v0_89_B — Full-page article inside the hero card Keep hero media/title/intro layout, but make body read like an article (no nested cards) ========================= */
.modern-hero .prose-sections {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 1rem;
}
.modern-hero .prose-section {
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 0;
  border-radius: 0;
}
.modern-hero .prose-section + .prose-section {
  margin-top: 1.1rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--border);
}
.modern-hero .block-stack {
  margin-top: 1.1rem;
} /* Bring the big card closer to the screen edge on mobile */
@media (max-width: 640px) {
  .container-page {
    padding: 0 0.6rem;
  }
  header.modern-hero.card-elevated {
    border-radius: 1rem;
  }
} /* ===================== 0_90: Solid hero card background (remove mid-card blue tint) ===================== */
.modern-hero:before {
  background: none !important;
  opacity: 0 !important;
}
.page-modern .modern-hero:before {
  background: none !important;
  opacity: 0 !important;
}
.page-first-time-modern .modern-hero:before {
  background: none !important;
  opacity: 0 !important;
} /* Breadcrumb desktop/mobile label spans */
.t-mobile {
  display: none;
}
@media (max-width: 640px) {
  .t-desktop {
    display: none;
  }
  .t-mobile {
    display: inline;
  }
} /* === Mobile-friendly wide tables: convert to cards when available === */
.table-scroll--cards + .table-cards {
  display: none;
}
.table-cards {
  margin: 1rem 0;
}
.table-cards .tcard {
  border: 1px solid var(--border);
  border-radius: 1rem;
  background: var(--card);
  box-shadow: var(--shadow-sm);
  padding: 1rem;
  margin: 0.75rem 0;
}
.table-cards .tcard-title {
  font-weight: 900;
  font-size: 1.05rem;
  margin: 0 0 0.5rem 0;
}
.table-cards .tcard-dl {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.25rem 0.75rem;
  margin: 0;
}
.table-cards .tcard-dl dt {
  font-weight: 800;
  opacity: 0.85;
  margin-top: 0.5rem;
}
.table-cards .tcard-dl dd {
  margin: 0;
  padding: 0;
}
@media (max-width: 767px) {
  .table-scroll--cards {
    display: none;
  }
  .table-scroll--cards + .table-cards {
    display: block;
  } /* Avoid negative margins causing horizontal overflow */
  .table-scroll {
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
} /* ===== version_0_90_formated ===== */ /* Modern pages: bring content closer to left edge, limit right line-length */
.page-modern .modern-hero--media .modern-hero-inner {
  padding-left: 1.05rem !important;
  padding-right: 1.05rem !important;
}
@media (max-width: 820px) {
  .page-modern .modern-hero--media .modern-hero-inner {
    padding-left: 0.85rem !important;
    padding-right: 0.85rem !important;
  }
} /* Keep a comfortable reading measure and avoid overly wide lines on desktop. Left-aligned (not centered) so content starts closer to the left edge. */
.page-modern .modern-hero-inner > .page-title,
.page-modern .modern-hero-inner > .page-intro,
.page-modern .modern-hero-inner > .block-stack {
  max-width: 52rem;
} /* Section cards inside the big card: slightly tighter side padding */
.page-modern .prose-section {
  padding-left: 0.95rem;
  padding-right: 0.95rem;
}
@media (max-width: 820px) {
  .page-modern .prose-section {
    padding-left: 0.85rem;
    padding-right: 0.85rem;
  }
} /* Non-modern pages (e.g. index): add more breathing room from viewport edges */
body:not(.page-modern) .container-page {
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}
@media (min-width: 640px) {
  body:not(.page-modern) .container-page {
    padding-left: 1.75rem;
    padding-right: 1.75rem;
  }
}
@media (min-width: 1024px) {
  body:not(.page-modern) .container-page {
    padding-left: 2.5rem;
    padding-right: 2.5rem;
  }
} /* Footer: restore horizontal padding (container-page padding is overridden by .footer-top/.footer-bottom) */
.footer-top {
  padding-left: 1.25rem;
  padding-right: 1.25rem;
  gap: 1.5rem;
}
@media (min-width: 640px) {
  .footer-top {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}
@media (min-width: 1024px) {
  .footer-top {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}
.footer-bottom {
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}
@media (min-width: 640px) {
  .footer-bottom {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}
@media (min-width: 1024px) {
  .footer-bottom {
    padding-left: 2rem;
    padding-right: 2rem;
  }
} /* Reduce the perceived “huge gaps” between footer items */
.footer-legal {
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
} /* ================================ v0_90_truly_formated: Mobile spacing + alignment ================================ */
@media (max-width: 640px) {
  /* INDEX HERO: ensure comfortable breathing room top/bottom on mobile */
  .hero {
    padding-top: 3.5rem;
    padding-bottom: 3.25rem;
  } /* FOOTER: add vertical padding so it doesn't feel glued to edges */
  .footer-top {
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
  }
  .footer-bottom {
    padding-top: 1.35rem;
    padding-bottom: 1.35rem;
  } /* BIG CARD PAGES: let content span closer to card edges (match hero media width) */
  .page-modern .modern-hero--media .modern-hero-inner {
    padding-left: 0.85rem !important;
    padding-right: 0.85rem !important;
  } /* Section cards inside big card: reduce horizontal padding */
  .prose-section {
    padding-left: 0.85rem !important;
    padding-right: 0.85rem !important;
  } /* Headings inside section cards should align with main heading */
  .prose-section h2 {
    padding-left: 0 !important;
    border-left: none !important;
  } /* Make H3 align consistently too */
  .prose-section h3 {
    margin-left: 0 !important;
    padding-left: 0;
  } /* Lists: more readable indentation on narrow screens */
  .prose-content ul,
  .prose-content ol {
    margin-left: 0 !important;
    padding-left: 1.6rem !important; /* move bullets right */
  }
  .prose-content li {
    margin: 0.35rem 0;
  } /* Prevent subtle overflow from long inline elements */
  .prose-section .pill-link {
    max-width: 100%;
  }
}
@media (max-width: 520px) {
  /* BIG CARD: slightly wider reading area on very small screens */
  .page-modern .modern-hero--media .modern-hero-inner {
    padding-left: 0.75rem !important;
    padding-right: 0.75rem !important;
  }
  .prose-section {
    padding-left: 0.75rem !important;
    padding-right: 0.75rem !important;
  }
} /* ===== version_0_90_finalfinal ===== */ /* Mobile: hero inner should not add side padding (align with hero media) */
@media (max-width: 640px) {
  .page-modern .modern-hero--media .modern-hero-inner {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
} /* ===== v0.90_final adjustments ===== */ /* Mobile: modern hero inner should have 6px side padding (not 0 / not large) */
@media (max-width: 820px) {
  .page-modern .modern-hero--media .modern-hero-inner,
  .page-modern .modern-hero-inner {
    padding-left: 6px !important;
    padding-right: 6px !important;
  }
} /* Desktop: contain content more in the middle. Target: combined left+right margins ~= 30% of viewport (content ~= 70vw) on large screens. */
@media (min-width: 1280px) {
  .container-page {
    max-width: 70vw !important;
  } /* Keep header/footer layout as before */
  .site-header .container-page,
  .site-footer .container-page {
    max-width: var(--maxw) !important;
  }
} /* Curated media blocks */
.media-block {
  margin: 18px 0;
}
.media-block .media-img {
  width: 100%;
  height: auto;
  border-radius: 16px;
  display: block;
}
.media-caption {
  font-size: 0.92rem;
  opacity: 0.85;
  margin-top: 8px;
} /* ------------------------------------------------------------ Full-bleed hero media inside padded cards - Keeps text/content padding intact - Lets the hero image fill the card edge-to-edge ------------------------------------------------------------ */
.card > .prose-content > .hero-media:first-child,
.card > .hero-media:first-child {
  margin-left: -1.25rem;
  margin-right: -1.25rem;
  margin-top: -1.25rem;
  margin-bottom: 1.25rem;
  border-radius: 1.25rem 1.25rem 0 0;
  overflow: hidden;
}
.card > .prose-content > .hero-media:first-child img,
.card > .hero-media:first-child img {
  display: block;
  width: 100%;
  height: auto; /* Prevent the global .prose-content img margin from creating white space above the hero */
  margin: 0 !important;
} /* --- Patch v7: Full-bleed hero media inside modern hero card (image ignores header padding) --- */
.page-modern .modern-hero.modern-hero--media {
  padding: 0 !important; /* remove padding that was shrinking the image */
}
.page-modern .modern-hero.modern-hero--media .hero-media {
  margin: 0 !important;
  border-bottom: 1px solid var(--border);
}
.page-modern .modern-hero.modern-hero--media .hero-media img,
.page-modern .modern-hero.modern-hero--media .hero-media .media-img {
  display: block;
  width: 100%;
  height: auto;
}
.page-modern .modern-hero.modern-hero--media .modern-hero-inner {
  padding: 1.25rem 1.1rem 1rem !important; /* keep content padding */
  position: relative;
}
@media (max-width: 820px) {
  .page-modern .modern-hero.modern-hero--media .modern-hero-inner {
    padding: 1.05rem 0.95rem 0.95rem !important;
  }
} /* Mobile: hide breadcrumb list entirely (user requested) */
@media (max-width: 820px) {
  .breadcrumbs,
  nav[aria-label="Breadcrumb"],
  .breadcrumb-list,
  .breadcrumb {
    display: none !important;
  }
} /* Hidden placeholders (keep in HTML for later). Search markers: AFFILIATE_PLACEHOLDER, THEME_PLACEHOLDER_NOTE */
.affiliate-placeholder,
.theme-dev-placeholder {
  display: none !important;
} /* Mobile: give container-page top padding equal to side padding (prevents sections from sticking to top) */
@media (max-width: 639px) {
  .container-page:not(.header-inner):not(.mobile-nav-inner):not(
      .footer-top
    ):not(.footer-bottom) {
    padding-top: 1rem;
  }
}
