/* =========================
   Articles list / archive
   ========================= */

.articles-list {
  width: 100%;
}

.articles-list h1 {
  margin-bottom: 1.5rem;
}

/* grid */
.section-children {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
  margin-bottom: 2rem;
}

/* card */
.child-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}

.child-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.child-thumb {
  display: block;
  aspect-ratio: 16 / 9;
  background: #e9edf3;
  overflow: hidden;
}

.child-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* body */
.child-body {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  padding: 1rem 1rem 1.1rem;
}

.child-title {
  margin: 0;
  font-size: clamp(1.1rem, 1.5vw, 1.35rem);
  line-height: 1.3;
}

.child-title a {
  color: var(--color-text);
  text-decoration: none;
}

.child-title a:hover {
  color: var(--color-accent);
  opacity: 1;
}

.child-title a:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
  border-radius: 4px;
}

/* meta */
.child-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  line-height: 1.4;
  color: var(--color-text-secondary);
}

.child-author,
.child-meta time,
.meta-sep {
  color: inherit;
}

.meta-sep {
  opacity: 0.7;
}

/* =========================
   Pagination
   ========================= */

.cards-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.page-btn {
  appearance: none;
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  color: var(--color-text);
  min-width: 42px;
  height: 42px;
  padding: 0 0.9rem;
  border-radius: 999px;
  font: inherit;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition:
    background-color var(--transition),
    color var(--transition),
    border-color var(--transition),
    transform var(--transition),
    box-shadow var(--transition);
}

.page-btn:hover:not(:disabled) {
  transform: translateY(-1px);
  border-color: var(--color-accent);
  color: var(--color-accent);
  box-shadow: var(--shadow-md);
}

.page-btn:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
}

.page-btn.is-active {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff;
  box-shadow: var(--shadow-md);
}

.page-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* =========================
   Tablet
   ========================= */

@media (max-width: 900px) {
  .section-children {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .child-body {
    padding: 0.95rem;
  }
}

/* =========================
   Mobile
   ========================= */

@media (max-width: 600px) {
  .articles-list h1 {
    margin-bottom: 1.1rem;
  }

  .section-children {
    gap: 1rem;
    margin-top: 1rem;
    margin-bottom: 1.5rem;
  }

  .child-card {
    border-radius: 10px;
  }

  .child-body {
    gap: 0.7rem;
    padding: 0.9rem;
  }

  .child-title {
    font-size: 1rem;
    line-height: 1.35;
  }

  .child-meta {
    gap: 0.35rem 0.5rem;
    font-size: 0.8125rem;
  }

  .cards-pagination {
    gap: 0.4rem;
  }

  .page-btn {
    min-width: 38px;
    height: 38px;
    padding: 0 0.8rem;
    font-size: 0.875rem;
  }
}

/* =========================
   Very small screens
   ========================= */

@media (max-width: 380px) {
  .child-meta {
    flex-direction: column;
    align-items: flex-start;
  }

  .meta-sep {
    display: none;
  }

  .cards-pagination {
    justify-content: stretch;
  }

  .page-btn {
    flex: 1 1 auto;
  }
}

.page-content {
  display: flex;
  flex-direction: column;
  text-align: center;
  align-items: center;
  justify-content: center;
}

p.page404 {
  font-size: 10em;
  margin: 0;
}

figure {
  min-height: 150px;
  overflow: hidden;
}

figure img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

picture#hero-image {
  display: block;
  width: 100%;
  aspect-ratio: 1270 / 713;
  overflow: hidden;
  line-height: 0;
}

picture#hero-image > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---- SITEMAP ---- */

.sitemap-content[data-content="list"] {
  max-width: var(--content-width);
  margin: 0 auto var(--section-gap);
  padding: 0 1.25rem;
  display: grid;
  gap: 1rem;
}

.sitemap-section {
  background: var(--color-surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 1rem 1.1rem;
}

span.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
}

.sitemap-section h2 {
  margin: 0 0 0.75rem;
  padding-bottom: 0.55rem;
  font-size: 1rem;
  line-height: 1.3;
  font-weight: 700;
  color: var(--color-text);
  border-bottom: 1px solid var(--color-border);
}

.sitemap-list {
  list-style: none;
  margin: 0;
  padding: 0;
  columns: 2;
  column-gap: 1.5rem;
}

.sitemap-list li {
  margin: 0 0 0.4rem;
  break-inside: avoid;
}

.sitemap-list a {
  display: inline-block;
  color: var(--color-text);
  text-decoration: none;
  line-height: 1.45;
  font-size: 0.95rem;
  transition: color var(--transition), opacity var(--transition);
}

.sitemap-list a:hover {
  color: var(--color-accent);
  opacity: 1;
}

.sitemap-list a:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
  border-radius: 2px;
}

.sitemap-list a::before {
  content: "—";
  color: var(--color-accent);
  margin-right: 0.45rem;
}

@media (min-width: 1100px) {
  .sitemap-list {
    columns: 3;
  }
}

@media (max-width: 767px) {
  .sitemap-content[data-content="list"] {
    padding: 0 1rem;
  }

  .sitemap-section {
    padding: 0.9rem 1rem;
  }

  .sitemap-list {
    columns: 1;
  }

  .sitemap-list a {
    font-size: 0.93rem;
  }
}

a.custom-logo-link img {
  height: 45px;
  width: auto;
  max-width: 100%;
}

.similar-posts {
	margin: 48px 0 0;
}

.similar-posts__title {
	margin: 0 0 20px;
	font-size: 28px;
	line-height: 1.2;
}

.similar-posts__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px;
}

.similar-posts__item {
	border-radius: 18px;
	overflow: hidden;
	background: #fff;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.similar-posts__thumb {
	display: block;
}

.similar-posts__thumb img {
	display: block;
	width: 100%;
	height: auto;
}

.similar-posts__content {
	padding: 16px;
}

.similar-posts__item-title {
	margin: 0 0 10px;
	font-size: 18px;
	line-height: 1.35;
}

.similar-posts__item-title a {
	text-decoration: none;
}

.similar-posts__meta {
	font-size: 14px;
	opacity: 0.7;
}

@media (max-width: 991px) {
	.similar-posts__grid {
		grid-template-columns: 1fr;
	}
}

.similar-posts {
	margin-top: 48px;
}

.similar-posts__title {
	margin: 0 0 20px;
}

/* =========================
   Anti horizontal overflow
   ========================= */

html,
body {
  max-width: 100%;
  overflow-x: clip;
}

@supports not (overflow-x: clip) {
  html,
  body {
    overflow-x: hidden;
  }
}

.articles-list,
.child-card,
.child-body,
.child-title,
.child-title a,
.child-meta,
.sitemap-content[data-content="list"],
.sitemap-section,
.sitemap-list,
.sitemap-list li,
.sitemap-list a,
.similar-posts,
.similar-posts__grid,
.similar-posts__item,
.similar-posts__content,
.similar-posts__item-title,
.similar-posts__item-title a,
.page-content {
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}

img,
video,
iframe,
table,
picture,
figure {
  max-width: 100%;
}

pre,
code {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

a.btn.btn404 {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.4rem;
    background: #16823e;
    color: #ffffff;
    text-decoration: none;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    border-radius: var(--radius-md);
    margin: 0 auto 0 auto;
    transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: var(--shadow-soft);
    transition:0.5s;
}

a.btn.btn404:hover {
    opacity: 0.8;
}

/* =========================
   Similar posts
========================= */

.similar-posts {
	--sp-bg: #ffffff;
	--sp-bg-soft: #f8fafc;
	--sp-text: #0f172a;
	--sp-muted: #64748b;
	--sp-border: rgba(15, 23, 42, 0.08);
	--sp-shadow: 0 18px 45px rgba(2, 8, 23, 0.08);
	--sp-shadow-hover: 0 24px 55px rgba(2, 8, 23, 0.14);
	--sp-accent: #2563eb;
	--sp-accent-2: #7c3aed;
	--sp-accent-text: #1d4ed8;
	--sp-badge-bg: linear-gradient(135deg, rgba(37, 99, 235, 0.12), rgba(124, 58, 237, 0.12));
	--sp-link-bg: linear-gradient(135deg, #2563eb, #7c3aed);

	margin-top: 48px;
	position: relative;
}

@media (prefers-color-scheme: dark) {
	.similar-posts {
		--sp-bg: #131722;
		--sp-bg-soft: #1a2030;
		--sp-text: #f8fafc;
		--sp-muted: #94a3b8;
		--sp-border: rgba(255, 255, 255, 0.08);
		--sp-shadow: 0 18px 45px rgba(0, 0, 0, 0.28);
		--sp-shadow-hover: 0 28px 60px rgba(0, 0, 0, 0.36);
		--sp-accent: #8ab4ff;
		--sp-accent-2: #b794f6;
		--sp-accent-text: #a5c8ff;
		--sp-badge-bg: linear-gradient(135deg, rgba(138, 180, 255, 0.14), rgba(183, 148, 246, 0.14));
		--sp-link-bg: linear-gradient(135deg, #4f8cff, #9b6dff);
	}
}

.similar-posts__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 20px;
}

.similar-posts__title {
	margin: 0;
	font-size: clamp(1.6rem, 2.3vw, 2.3rem);
	line-height: 1.1;
	font-weight: 800;
	color: var(--sp-text);
	letter-spacing: -0.02em;
}

.similar-posts__grid {
	display: grid;
	gap: 22px;
	align-items: stretch;
}

.similar-posts__grid--3 {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.similar-posts__grid--2 {
	grid-template-columns: repeat(2, minmax(0, 1fr));
	max-width: 920px;
}

.similar-posts__grid--1 {
	grid-template-columns: minmax(0, 420px);
	max-width: 420px;
}

.similar-post-card {
	display: flex;
	flex-direction: column;
	min-width: 0;
	height: 100%;
	border-radius: 24px;
	overflow: hidden;
	background:
		linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0)) ,
		var(--sp-bg);
	border: 1px solid var(--sp-border);
	box-shadow: var(--sp-shadow);
	transition:
		transform 0.22s ease,
		box-shadow 0.22s ease,
		border-color 0.22s ease;
}

.similar-post-card:hover,
.similar-post-card:focus-within {
	transform: translateY(-6px);
	box-shadow: var(--sp-shadow-hover);
}

.similar-post-card__image {
	position: relative;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	background: var(--sp-bg-soft);
}

.similar-post-card__image a {
	display: block;
	width: 100%;
	height: 100%;
}

.similar-post-card__image img {
	width: 100%;
	height: 100%;
	display: block;
	object-fit: cover;
	transform: scale(1);
	transition: transform 0.45s ease;
}

.similar-post-card:hover .similar-post-card__image img,
.similar-post-card:focus-within .similar-post-card__image img {
	transform: scale(1.045);
}

.similar-post-card__image::after {
	content: "";
	position: absolute;
	inset: auto 0 0 0;
	height: 38%;
	background: linear-gradient(to top, rgba(0,0,0,0.18), rgba(0,0,0,0));
	pointer-events: none;
}

.similar-post-card__body {
	display: flex;
	flex-direction: column;
	flex: 1 1 auto;
	padding: 18px 18px 18px;
}

.similar-post-card__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 10px;
	margin-bottom: 14px;
}

.similar-post-card__badge {
	display: inline-flex;
	align-items: center;
	padding: 7px 11px;
	border-radius: 999px;
	background: var(--sp-badge-bg);
	color: var(--sp-accent-text);
	font-size: 0.72rem;
	font-weight: 800;
	line-height: 1;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	backdrop-filter: blur(8px);
}

.similar-post-card__date {
	font-size: 0.76rem;
	line-height: 1.2;
	font-weight: 700;
	letter-spacing: 0.05em;
	color: var(--sp-muted);
	text-transform: uppercase;
}

.similar-post-card__title {
	margin: 0 0 12px;
	font-size: clamp(1.2rem, 1.55vw, 1.7rem);
	line-height: 1.25;
	font-weight: 800;
	letter-spacing: -0.02em;
}

.similar-post-card__title a {
	color: var(--sp-text);
	text-decoration: none;
}

.similar-post-card__title a:hover,
.similar-post-card__title a:focus {
	color: var(--sp-accent);
}

.similar-post-card__excerpt {
	margin-bottom: 18px;
	color: var(--sp-muted);
	font-size: 0.97rem;
	line-height: 1.65;
	display: -webkit-box;
	-webkit-line-clamp: 4;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.similar-post-card__link {
	margin-top: auto;
  margin: auto;
	display: inline-flex;
	align-items: center;
	gap: 10px;
	align-self: flex-start;
	padding: 11px 16px;
	border-radius: 999px;
	background: var(--sp-link-bg);
	color: #ffffff;
	font-size: 0.92rem;
	font-weight: 800;
	text-decoration: none;
	box-shadow: 0 10px 20px rgba(37, 99, 235, 0.22);
	transition: transform 0.2s ease, opacity 0.2s ease;
}

.similar-post-card__link:hover,
.similar-post-card__link:focus {
	transform: translateY(-1px);
	opacity: 0.95;
	color: #ffffff;
}

.similar-post-card__arrow {
	font-size: 1rem;
	line-height: 1;
}

/* tablet */
@media (max-width: 991px) {
	.similar-posts__grid--3,
	.similar-posts__grid--2 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		max-width: none;
	}

	.similar-posts__grid--1 {
		grid-template-columns: 1fr;
		max-width: none;
	}
}

/* mobile */
@media (max-width: 640px) {
	.similar-posts {
		margin-top: 34px;
	}

	.similar-posts__grid--3,
	.similar-posts__grid--2,
	.similar-posts__grid--1 {
		grid-template-columns: 1fr;
		max-width: none;
		gap: 16px;
	}

	.similar-post-card {
		border-radius: 20px;
	}

	.similar-post-card__body {
		padding: 16px;
	}

	.similar-post-card__title {
		font-size: 1.15rem;
	}

	.similar-post-card__excerpt {
		font-size: 0.94rem;
	}
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
}

body > header {
  grid-row: 1;
}

body > main {
  grid-row: 2;
  min-width: 0;
}

body > footer {
  grid-row: 3;
}

    :root {
      --bg-page: #0f1115;
      --bg-header: #1a1a1a;
      --bg-footer: #0a0c0e;
      --text-primary: #e0e2e6;
      --text-secondary: #8b8f96;
      --accent: #19e56e;
      --accent-muted: #12a34e;
      --border: #2a2d33;
      --surface: #1c1f25;
      --content-width: 950px;
      --section-gap: 2rem;
      --font-heading: 'Outfit', sans-serif;
      --font-body: 'Source Serif 4', serif;
      --font-logo: 'Sora', sans-serif;
      --danger: #e5193b;
    }

    *,
    *::before,
    *::after {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }

    body {
      background: var(--bg-page);
      color: var(--text-primary);
      font-family: var(--font-body);
      font-size: 1.05rem;
      font-weight: 400;
      line-height: 1.7;
      -webkit-font-smoothing: antialiased;
    }

    /* ─── HEADER ─── */
    .site-header {
      background: var(--bg-header);
      padding: 0.75rem 1.5rem;
      display: flex;
      align-items: center;
      justify-content: space-between;
      border-bottom: 1px solid var(--border);
      position: relative;
      z-index: 10;
    }

    .site-logo img {
      display: block;
      height: 36px;
      width: auto;
    }

    .header-meta {
      display: flex;
      align-items: center;
      gap: 1rem;
    }

    .header-trust {
      font-family: var(--font-heading);
      font-size: 0.65rem;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.12em;
      color: var(--text-secondary);
    }

    .header-date {
      font-family: var(--font-heading);
      font-size: 0.7rem;
      color: var(--text-secondary);
      background: var(--surface);
      padding: 0.25rem 0.6rem;
      border-radius: 3px;
      border: 1px solid var(--border);
    }

    /* ─── TYPOGRAPHY ─── */
    h1 {
      font-family: var(--font-heading);
      font-size: clamp(1.8rem, 4vw, 2.8rem);
      font-weight: 700;
      line-height: 1.15;
      color: var(--text-primary);
    }

    h2 {
      font-family: var(--font-heading);
      font-size: clamp(1.4rem, 3vw, 2rem);
      font-weight: 700;
      line-height: 1.25;
      color: var(--text-primary);
      text-align: left;
      margin-bottom: 1.25rem;
      scroll-margin-top: 2rem;
    }

    h3 {
      font-family: var(--font-heading);
      font-size: clamp(1.1rem, 2.5vw, 1.5rem);
      font-weight: 700;
      line-height: 1.3;
      color: var(--text-primary);
      text-align: left;
      margin-bottom: 1rem;
      scroll-margin-top: 2rem;
    }

    p {
      text-align: left;
      margin-bottom: 1.25rem;
      color: var(--text-primary);
    }

    a {
      color: var(--accent);
      text-decoration: none;
      transition: color 0.2s ease;
    }

    a:hover {
      color: var(--accent-muted);
    }

    a:focus {
      outline: 2px solid var(--accent);
      outline-offset: 2px;
    }

    ul,
    ol {
      text-align: left;
      padding-left: 1.5rem;
      margin-bottom: 1.25rem;
    }

    li {
      margin-bottom: 0.4rem;
    }

    strong {
      font-weight: 700;
    }

    blockquote {
      border-left: 3px solid var(--accent);
      padding-left: 1.25rem;
      margin: 1.5rem 0;
      color: var(--text-secondary);
      font-style: italic;
    }

    figure {
      margin: 1.5em auto;
    }

    figure img {
      display: block;
      max-width: 100%;
      height: auto;
    }

    figcaption {
      text-align: center;
      font-size: 0.85rem;
      color: var(--text-secondary);
      margin-top: 0.5rem;
    }

    table {
      width: 100%;
      border-collapse: collapse;
      margin-bottom: 1.5rem;
      font-size: 0.95rem;
    }

    th {
      font-family: var(--font-heading);
      font-weight: 700;
      text-align: left;
      padding: 0.75rem 1rem;
      background: var(--surface);
      border-bottom: 2px solid var(--accent);
      color: var(--text-primary);
      font-size: 0.85rem;
      text-transform: uppercase;
      letter-spacing: 0.04em;
    }

    td {
      padding: 0.75rem 1rem;
      border-bottom: 1px solid var(--border);
      color: var(--text-primary);
      text-align: left;
    }

    tr:hover td {
      background: rgba(25, 229, 110, 0.03);
    }

    /* ─── LAYOUT: SECTIONS ─── */
    main {
      width: 100%;
    }

    [data-content] {
      max-width: var(--content-width);
      margin-left: auto;
      margin-right: auto;
      padding: var(--section-gap) 1.5rem;
    }

    /* ─── HERO ─── */
    [data-content="hero"] {
      max-width: 100%;
      padding: 1rem 1.5rem 2rem;
      text-align: center;
      position: relative;
      overflow: hidden;
      background: linear-gradient(170deg, var(--bg-header) 0%, var(--bg-page) 100%);
    }

    [data-content="hero"]::before {
      content: '';
      position: absolute;
      top: -20%;
      right: -10%;
      width: 60%;
      height: 80%;
      background: radial-gradient(ellipse, rgba(25, 229, 110, 0.05) 0%, transparent 70%);
      pointer-events: none;
      z-index: 0;
    }

    [data-content="hero"]::after {
      content: '';
      position: absolute;
      inset: 0;
      background-image: radial-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px);
      background-size: 24px 24px;
      pointer-events: none;
      z-index: 0;
      mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black 30%, transparent 80%);
      -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black 30%, transparent 80%);
    }

    [data-content="hero"]>* {
      position: relative;
      z-index: 1;
    }

    .hero-rubric {
      font-family: var(--font-heading);
      font-size: 0.7rem;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.15em;
      color: var(--accent);
      margin-bottom: 1.25rem;
      display: block;
    }

    [data-content="hero"] h1 {
      text-align: center;
      margin: 0 auto 1.5rem;
      max-width: 680px;
    }

    .hero-byline {
      font-family: var(--font-body);
      font-size: 0.9rem;
      color: var(--text-secondary);
      margin-bottom: 2rem;
      display: block;
      text-align: center;
    }

    [data-content="hero"] figure {
      margin-left: auto;
      margin-right: auto;
      max-width: var(--content-width);
    }

    .hero-image {
      border-radius: 6px;
      box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
    }

    .hero-cta {
      display: inline-block;
      margin-top: 2rem;
      font-family: var(--font-heading);
      font-size: 0.8rem;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.08em;
      color: var(--bg-page);
      background: var(--accent);
      padding: 0.65rem 1.6rem;
      border-radius: 4px;
      text-decoration: none;
      transition: background 0.2s ease, transform 0.2s ease;
    }

    .hero-cta:hover {
      background: var(--accent-muted);
      color: var(--bg-page);
      transform: translateY(-1px);
    }

    /* ─── INTRO ─── */
    [data-content="intro"] {
      padding-top: 3rem;
    }

    /* Nested subsection inherits parent width, no extra padding */
    [data-content="regulatory-reforms"] {
      max-width: none;
      padding: 2rem 0 0;
      margin-left: 0;
      margin-right: 0;
    }

    /* ─── TL;DR ─── */
    .tldr {
      background: var(--surface);
      border-left: 3px solid var(--accent);
      border-radius: 0 4px 4px 0;
      padding: 2rem 2rem 1.5rem;
      box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
    }

    .tldr h2 {
      font-size: clamp(1.05rem, 2vw, 1.2rem);
      color: var(--accent);
      margin-bottom: 1rem;
      letter-spacing: 0.01em;
    }

    .tldr ul {
      list-style: none;
      padding-left: 0;
    }

    .tldr li {
      position: relative;
      padding-left: 1.25rem;
      margin-bottom: 0.75rem;
      font-size: 0.95rem;
      line-height: 1.65;
    }

    .tldr li::before {
      content: '';
      position: absolute;
      left: 0;
      top: 0.55em;
      width: 6px;
      height: 6px;
      background: var(--accent);
      border-radius: 50%;
    }

    /* ─── TOC (accordion) ─── */
    [data-content="toc"] {
      padding-top: 2rem;
      padding-bottom: 2rem;
    }

    .toc-accordion {
      border: 1px solid var(--border);
      border-radius: 4px;
      background: var(--surface);
    }

    .toc-accordion summary {
      font-family: var(--font-heading);
      font-size: 0.85rem;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.08em;
      color: var(--text-secondary);
      padding: 1rem 1.25rem;
      cursor: pointer;
      list-style: none;
      display: flex;
      align-items: center;
      justify-content: space-between;
      transition: color 0.2s ease;
    }

    .toc-accordion summary:hover {
      color: var(--text-primary);
    }

    .toc-accordion summary::-webkit-details-marker {
      display: none;
    }

    .toc-accordion summary::after {
      content: '+';
      font-family: var(--font-heading);
      font-size: 1.1rem;
      color: var(--accent);
      transition: transform 0.3s ease;
    }

    .toc-accordion[open] summary::after {
      content: '-';
    }

    .toc-accordion>div {
      overflow: hidden;
      max-height: 0;
      opacity: 0;
      transition: max-height 0.35s ease, opacity 0.3s ease;
    }

    .toc-accordion[open]>div {
      max-height: 600px;
      opacity: 1;
    }

    .toc-list {
      padding: 0 1.25rem 1.25rem;
      list-style: none;
    }

    .toc-list li {
      margin-bottom: 0;
    }

    .toc-list>li>a {
      display: block;
      padding: 0.4rem 0;
      font-family: var(--font-heading);
      font-size: 0.9rem;
      font-weight: 700;
      color: var(--text-primary);
      border-bottom: 1px solid var(--border);
      transition: color 0.2s ease;
    }

    .toc-list>li>a:hover {
      color: var(--accent);
    }

    .toc-list>li:last-child>a {
      border-bottom: none;
    }

    .toc-sublist {
      list-style: none;
      padding-left: 1rem;
    }

    .toc-sublist a {
      display: block;
      padding: 0.25rem 0;
      font-family: var(--font-body);
      font-size: 0.85rem;
      color: var(--text-secondary);
      transition: color 0.2s ease;
    }

    .toc-sublist a:hover {
      color: var(--accent);
    }

    /* ─── COMPONENTS ─── */

    /* info-box */
    .info-box {
      background: var(--surface);
      border-left: 3px solid var(--accent);
      border-radius: 0 4px 4px 0;
      padding: 1.25rem 1.5rem;
      margin: 1.75rem 0;
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    }

    .info-box p {
      text-align: left;
      color: var(--text-primary);
      margin-bottom: 0.5rem;
      font-size: 0.95rem;
    }

    .info-box p:last-child {
      margin-bottom: 0;
    }

    /* callout */
    .callout {
      border: 1px solid var(--accent-muted);
      border-radius: 4px;
      padding: 1.25rem 1.5rem;
      margin: 1.75rem 0;
      background: rgba(18, 163, 78, 0.04);
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    }

    .callout p {
      text-align: left;
      color: var(--text-primary);
      margin-bottom: 0.5rem;
      font-size: 0.95rem;
      font-style: italic;
    }

    .callout p:last-child {
      margin-bottom: 0;
    }

    /* key-takeaway */
    .key-takeaway {
      border-top: 2px solid var(--accent);
      padding-top: 1.25rem;
      margin: 2rem 0;
    }

    .key-takeaway p {
      text-align: left;
      font-family: var(--font-heading);
      font-size: clamp(1.05rem, 2vw, 1.3rem);
      font-weight: 700;
      line-height: 1.5;
      color: var(--text-primary);
    }

    /* fun-fact */
    .fun-fact {
      position: relative;
      padding-left: 1.5rem;
      margin: 1.75rem 0;
    }

    .fun-fact::before {
      content: '\2014';
      position: absolute;
      left: 0;
      top: 0;
      color: var(--accent);
      font-weight: 700;
    }

    .fun-fact p {
      text-align: left;
      font-style: italic;
      color: var(--text-secondary);
      font-size: 0.95rem;
      margin-bottom: 0;
    }

    /* glossary-term */
    .glossary-term {
      display: flex;
      align-items: baseline;
      gap: 12px;
      margin: 1rem 0;
    }

    .glossary-term strong,
    .glossary-term p strong {
      font-family: var(--font-heading);
      font-size: 0.9rem;
      color: var(--accent);
      text-decoration: underline;
      text-underline-offset: 3px;
      text-decoration-style: dotted;
      white-space: nowrap;
      flex-shrink: 0;
    }

    .glossary-term p {
      text-align: left;
      color: var(--text-secondary);
      font-size: 0.95rem;
      margin-bottom: 0;
    }

    /* at-a-glance */
    .at-a-glance {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 0;
      border: 1px solid var(--border);
      border-radius: 4px;
      overflow: hidden;
      margin: 1.75rem 0;
      background: var(--surface);
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    }

    .at-a-glance>div {
      padding: 1rem 1.25rem;
      border-right: 1px solid var(--border);
      border-bottom: 1px solid var(--border);
    }

    .at-a-glance>div:nth-child(3n) {
      border-right: none;
    }

    .at-a-glance>div:nth-last-child(-n+3) {
      border-bottom: none;
    }

    .at-a-glance p {
      text-align: left;
      margin-bottom: 0.15rem;
      font-size: 0.85rem;
    }

    .at-a-glance p:first-child {
      color: var(--text-secondary);
      font-family: var(--font-heading);
      font-size: 0.7rem;
      text-transform: uppercase;
      letter-spacing: 0.06em;
    }

    .at-a-glance p:last-child {
      color: var(--text-primary);
      font-family: var(--font-heading);
      font-size: 0.85rem;
    }

    /* comparison */
    .comparison {
      margin: 1.75rem 0;
      overflow-x: auto;
      border: 1px solid var(--border);
      border-radius: 4px;
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    }

    .comparison table {
      margin-bottom: 0;
    }

    .comparison th {
      background: var(--surface);
    }

    .comparison td {
      background: var(--bg-page);
      font-size: 0.9rem;
    }

    /* dos-donts */
    .dos-donts {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 1.5rem;
      margin: 1.75rem 0;
    }

    .dos-donts>div:first-child {
      border-left: 3px solid var(--accent);
      padding-left: 1.25rem;
    }

    .dos-donts>div:last-child {
      border-left: 3px solid var(--danger);
      padding-left: 1.25rem;
    }

    .dos-donts p {
      text-align: left;
      font-family: var(--font-heading);
      font-size: 0.85rem;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.04em;
      margin-bottom: 0.75rem;
      color: var(--text-primary);
    }

    .dos-donts ul {
      list-style: none;
      padding-left: 0;
    }

    .dos-donts li {
      text-align: left;
      position: relative;
      padding-left: 1.25rem;
      margin-bottom: 0.5rem;
      font-size: 0.9rem;
      color: var(--text-primary);
    }

    .dos-donts>div:first-child li::before {
      content: '\2713';
      position: absolute;
      left: 0;
      color: var(--accent);
      font-weight: 700;
    }

    .dos-donts>div:last-child li::before {
      content: '\2717';
      position: absolute;
      left: 0;
      color: var(--danger);
      font-weight: 700;
    }

    /* calc-example */
    .calc-example {
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: 4px;
      padding: 1.5rem;
      margin: 1.75rem 0;
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    }

    .calc-example p {
      text-align: left;
      font-family: var(--font-body);
      font-size: 0.88rem;
      color: var(--text-primary);
      margin-bottom: 0.5rem;
      line-height: 1.8;
    }

    .calc-example p:first-child {
      font-family: var(--font-heading);
      font-size: 0.85rem;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.04em;
      color: var(--accent);
      margin-bottom: 1rem;
    }

    .calc-example p:last-child {
      margin-bottom: 0;
      color: var(--accent);
      font-weight: 700;
    }

    /* section-bridge */
    .section-bridge {
      text-align: center;
      margin: 2.5rem 0 0.5rem;
    }

    .section-bridge::before,
    .section-bridge::after {
      content: '\00b7\00a0\00b7\00a0\00b7';
      color: var(--border);
      font-size: 0.8rem;
      letter-spacing: 0.3em;
    }

    .section-bridge p {
      text-align: center;
      display: inline;
      font-family: var(--font-heading);
      font-size: 0.9rem;
      font-style: italic;
      color: var(--accent-muted);
      margin: 0 0.75rem;
    }

    /* card-grid */
    .card-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
      gap: 1rem;
      margin: 1.75rem 0;
    }

    .card-grid>div {
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: 4px;
      padding: 1.25rem;
      transition: border-color 0.2s ease, transform 0.2s ease;
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    }

    .card-grid>div:hover {
      border-color: var(--accent-muted);
      transform: translateY(-2px);
    }

    .card-grid p {
      text-align: left;
      color: var(--text-primary);
      font-size: 0.9rem;
      margin-bottom: 0;
    }

    /* pre-game-checklist */
    .pre-game-checklist {
      margin: 1.75rem 0;
    }

    .pre-game-checklist p:first-child {
      font-family: var(--font-heading);
      font-size: 0.75rem;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.1em;
      color: var(--accent);
      margin-bottom: 0.75rem;
      text-align: left;
    }

    .pre-game-checklist ul {
      list-style: none;
      padding-left: 1.5rem;
      border-left: 2px solid var(--border);
    }

    .pre-game-checklist li {
      position: relative;
      padding-left: 1.25rem;
      margin-bottom: 0.6rem;
      font-size: 0.95rem;
      text-align: left;
      color: var(--text-primary);
    }

    .pre-game-checklist li::before {
      content: '\2610';
      position: absolute;
      left: -0.75rem;
      color: var(--accent);
      font-size: 0.9rem;
      background: var(--bg-page);
      padding: 0 2px;
    }

    /* worked-example */
    .worked-example {
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: 4px;
      padding: 1.75rem;
      margin: 1.75rem 0;
      box-shadow: 0 2px 12px rgba(0, 0, 0, 0.12);
    }

    .worked-example p {
      text-align: left;
      font-family: var(--font-body);
      font-size: 0.88rem;
      color: var(--text-primary);
      margin-bottom: 0.75rem;
    }

    .worked-example hr {
      border: none;
      border-top: 1px dashed var(--border);
      margin: 0.75rem 0;
    }

    .worked-example p:last-child {
      color: var(--accent);
      font-weight: 700;
      font-size: 0.95rem;
      margin-bottom: 0;
    }

    /* author-bio */
    .author-bio {
      display: flex;
      align-items: center;
      justify-content: center;
      text-align: center;
      gap: 8px;
      font-size: 0.8rem;
      color: var(--text-secondary);
      font-style: italic;
      border-top: 1px solid var(--border);
      padding-top: 1rem;
      margin-top: 0;
      max-width: var(--content-width);
      margin-left: auto;
      margin-right: auto;
      padding-left: 1.5rem;
      padding-right: 1.5rem;
    }

    /* ─── FAQ ─── */
    [data-content="faq"] details {
      border-bottom: 1px solid var(--border);
    }

    [data-content="faq"] details:first-of-type {
      border-top: 1px solid var(--border);
    }

    [data-content="faq"] summary {
      font-family: var(--font-heading);
      font-size: 1rem;
      font-weight: 700;
      color: var(--text-primary);
      padding: 1rem 2rem 1rem 0;
      cursor: pointer;
      list-style: none;
      position: relative;
      transition: color 0.2s ease;
    }

    [data-content="faq"] summary:hover {
      color: var(--accent);
    }

    [data-content="faq"] summary::-webkit-details-marker {
      display: none;
    }

    [data-content="faq"] summary::after {
      content: '+';
      font-family: var(--font-heading);
      font-size: 1.1rem;
      color: var(--accent);
      position: absolute;
      right: 0;
      top: 50%;
      transform: translateY(-50%);
      transition: transform 0.3s ease;
    }

    [data-content="faq"] details[open] summary::after {
      content: '-';
    }

    [data-content="faq"] details>div {
      overflow: hidden;
      max-height: 0;
      opacity: 0;
      transition: max-height 0.35s ease, opacity 0.3s ease;
    }

    [data-content="faq"] details[open]>div {
      max-height: 500px;
      opacity: 1;
    }

    [data-content="faq"] details>div>p {
      padding-bottom: 1rem;
      font-size: 0.95rem;
      color: var(--text-secondary);
    }

    /* ─── IMAGES ─── */
    .article-image {
      border-radius: 4px;
      max-width: 100%;
      height: auto;
      display: block;
      margin: 0 auto;
    }

    /* ─── FOOTER ─── */
    .site-footer {
      background: var(--bg-footer);
      border-top: 1px solid var(--border);
      padding: 3rem 1.5rem 1.5rem;
      margin-top: var(--section-gap);
    }

    .footer-grid {
      max-width: 960px;
      margin: 0 auto;
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 2rem;
    }

    .footer-col h4 {
      font-family: var(--font-heading);
      font-size: 0.7rem;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.1em;
      color: var(--text-secondary);
      margin-bottom: 0.75rem;
    }

    .footer-col p {
      font-size: 0.78rem;
      color: #6b6f76;
      line-height: 1.6;
      margin-bottom: 0.5rem;
    }

    .footer-col a {
      display: block;
      font-size: 0.78rem;
      color: #6b6f76;
      padding: 0.15rem 0;
      transition: color 0.2s ease;
    }

    .footer-col a:hover {
      color: var(--accent);
    }

    .footer-col ul {
      list-style: none;
      padding-left: 0;
    }

    .footer-col li {
      margin-bottom: 0.15rem;
    }

    .footer-bottom {
      max-width: 960px;
      margin: 2rem auto 0;
      padding-top: 1rem;
      border-top: 1px solid var(--border);
      display: flex;
      justify-content: space-between;
      align-items: center;
      flex-wrap: wrap;
      gap: 0.5rem;
    }

    .footer-bottom p {
      font-size: 0.72rem;
      color: #555960;
      margin-bottom: 0;
    }

    /* ─── RESPONSIVE ─── */
    @media (max-width: 768px) {
      [data-content] {
        padding-left: 1rem;
        padding-right: 1rem;
      }

      [data-content="hero"] {
        padding: 1rem 1rem 2rem;
      }

      .at-a-glance {
        grid-template-columns: repeat(2, 1fr);
      }

      .at-a-glance>div:nth-child(3n) {
        border-right: 1px solid var(--border);
      }

      .at-a-glance>div:nth-child(2n) {
        border-right: none;
      }

      .at-a-glance>div:nth-last-child(-n+3) {
        border-bottom: 1px solid var(--border);
      }

      .at-a-glance>div:nth-last-child(-n+2) {
        border-bottom: none;
      }

      .dos-donts {
        grid-template-columns: 1fr;
      }

      .glossary-term {
        flex-direction: column;
        gap: 4px;
      }

      .comparison {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
      }

      .footer-grid {
        grid-template-columns: repeat(2, 1fr);
      }

      .footer-bottom {
        flex-direction: column;
        text-align: center;
      }

      .site-header {
        padding: 0.6rem 1rem;
      }

      .header-trust {
        display: none;
      }

      .tldr {
        padding: 1.5rem 1.25rem 1rem;
      }
    }

    @media (max-width: 480px) {
      .at-a-glance {
        grid-template-columns: 1fr;
      }

      .at-a-glance>div {
        border-right: none;
      }

      .at-a-glance>div:nth-last-child(-n+3) {
        border-bottom: 1px solid var(--border);
      }

      .at-a-glance>div:last-child {
        border-bottom: none;
      }

      .footer-grid {
        grid-template-columns: 1fr;
      }

      .header-meta {
        gap: 0.5rem;
      }
    }

    /* ─── ARTICLE IMAGES ─── */
.article-image {
  margin: 2.5rem 0;
}

.article-image img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 6px;
  border: 1px solid var(--border);
}

.article-image figcaption {
  text-align: center;
  font-family: var(--font-body);
  font-size: 0.82rem;
  color: var(--text-secondary);
  margin-top: 0.65rem;
  line-height: 1.5;
  padding: 0 0.5rem;
}

@media (max-width: 768px) {
  .article-image {
    margin: 2rem 0;
  }

  .article-image img {
    border-radius: 4px;
  }

  .article-image figcaption {
    font-size: 0.78rem;
    padding: 0 0.25rem;
  }
}
