/*
  Isolated Page.php CSS
  - Scoped only to .blog-post-page from page.php
  - No global document-level styling
  - Dark mode follows the existing theme attribute: [data-theme="dark"]
  - Dark colors are hard-coded inside this component so theme light variables cannot leak in
*/

.blog-post-page {
  color-scheme: light;

  --vzp-page-primary: #3A3F5C;
  --vzp-page-primary-deep: #2A2E44;
  --vzp-page-secondary: #B8A1B0;
  --vzp-page-secondary-dark: #2E3144;
  --vzp-page-accent: #C8B27D;
  --vzp-page-accent-text: #7B6428;
  --vzp-page-accent-soft: #F2EDEA;
  --vzp-page-bg: #F8F6F4;
  --vzp-page-bg-soft: #F2EDEA;
  --vzp-page-surface: #FFFFFF;
  --vzp-page-surface-soft: rgba(255, 255, 255, 0.58);
  --vzp-page-text: #5F6472;
  --vzp-page-text-strong: #2E3144;
  --vzp-page-muted: #747987;
  --vzp-page-line: rgba(58, 63, 92, 0.16);
  --vzp-page-line-soft: rgba(184, 161, 176, 0.34);

  --vzp-page-heading: 'Playfair Display', Georgia, serif;
  --vzp-page-body: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --vzp-page-container: min(1240px, calc(100% - 2rem));
  --vzp-page-article: min(880px, calc(100% - 2rem));
  --vzp-page-radius-sm: 8px;
  --vzp-page-radius-md: 16px;
  --vzp-page-radius-lg: 26px;
  --vzp-page-shadow-soft: 0 10px 28px rgba(58, 63, 92, 0.08);
  --vzp-page-transition: 220ms cubic-bezier(0.4, 0, 0.2, 1);

  min-height: 100vh;
  isolation: isolate;
  background-color: var(--vzp-page-bg);
  color: var(--vzp-page-text);
  font-family: var(--vzp-page-body);
  font-size: 1rem;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

[data-theme="dark"] .blog-post-page {
  color-scheme: dark;

  --vzp-page-primary: #F4F1EA;
  --vzp-page-primary-deep: #4A5170;
  --vzp-page-secondary: #C7B6C2;
  --vzp-page-secondary-dark: #C7B6C2;
  --vzp-page-accent: #D9C47F;
  --vzp-page-accent-text: #EAD99A;
  --vzp-page-accent-soft: #1D2230;
  --vzp-page-bg: #101319;
  --vzp-page-bg-soft: #141925;
  --vzp-page-surface: #171B24;
  --vzp-page-surface-soft: rgba(23, 27, 36, 0.86);
  --vzp-page-text: #D4DBEA;
  --vzp-page-text-strong: #F4F1EA;
  --vzp-page-muted: #AEB7C8;
  --vzp-page-line: #3B4254;
  --vzp-page-line-soft: #2A3040;
  --vzp-page-shadow-soft: 0 10px 28px rgba(0, 0, 0, 0.38);

  background-color: #101319 !important;
  color: #D4DBEA !important;
}

.blog-post-page *,
.blog-post-page *::before,
.blog-post-page *::after {
  box-sizing: border-box;
}

.blog-post-page * {
  margin: 0;
}

.blog-post-page article,
.blog-post-page header,
.blog-post-page section,
.blog-post-page aside,
.blog-post-page figure,
.blog-post-page div,
.blog-post-page nav,
.blog-post-page main {
  color: inherit;
}

.blog-post-page img,
.blog-post-page svg {
  display: block;
  max-width: 100%;
}

.blog-post-page img {
  height: auto;
}

.blog-post-page [hidden] {
  display: none !important;
}

.blog-post-page a {
  color: var(--vzp-page-primary);
  text-decoration-color: rgba(58, 63, 92, 0.35);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
  transition:
    color var(--vzp-page-transition),
    text-decoration-color var(--vzp-page-transition),
    background-color var(--vzp-page-transition),
    border-color var(--vzp-page-transition),
    box-shadow var(--vzp-page-transition),
    transform var(--vzp-page-transition);
}

.blog-post-page a:hover {
  color: var(--vzp-page-accent-text);
  text-decoration-color: currentColor;
}

.blog-post-page :focus-visible {
  outline: 3px solid var(--vzp-page-accent);
  outline-offset: 4px;
  border-radius: var(--vzp-page-radius-sm);
}

.blog-post-page ::selection {
  color: var(--vzp-page-primary-deep);
  background: var(--vzp-page-accent-soft);
}

.blog-post-page .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;
}

.blog-post-page .breadcrumb-container,
.blog-post-page .article-container {
  margin-inline: auto;
}

.blog-post-page .breadcrumb-container {
  width: var(--vzp-page-container);
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.blog-post-page .article-container {
  width: var(--vzp-page-article);
}

.blog-post-page h1,
.blog-post-page h2,
.blog-post-page h3,
.blog-post-page h4,
.blog-post-page h5,
.blog-post-page h6 {
  color: var(--vzp-page-primary);
  font-family: var(--vzp-page-heading);
  font-weight: 600;
  line-height: 1.14;
  text-wrap: balance;
}

.blog-post-page h1 {
  max-width: 100%;
  font-size: clamp(2rem, 3.25vw, 3.45rem);
  letter-spacing: -0.025em;
}

.blog-post-page h2 {
  font-size: clamp(1.5rem, 2.2vw, 2.05rem);
}

.blog-post-page h3 {
  font-size: clamp(1.17rem, 1.55vw, 1.42rem);
}

.blog-post-page p,
.blog-post-page li {
  text-wrap: pretty;
}

.blog-post-page .breadcrumb-wrap {
  padding: clamp(0.85rem, 2vw, 1.2rem) 0;
  border-bottom: 1px solid rgba(184, 161, 176, 0.24);
  background: rgba(255, 255, 255, 0.36);
}

.blog-post-page .breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.34rem 0.55rem;
  align-items: center;
  padding: 0;
  list-style: none;
  color: var(--vzp-page-text);
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.35;
	margin-left: 5px;
}

.blog-post-page .breadcrumb-list li {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.blog-post-page .breadcrumb-list li + li::before {
  content: '/';
  color: var(--vzp-page-secondary-dark);
  font-weight: 800;
}

.blog-post-page .breadcrumb-list a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  text-decoration: none;
}

.blog-post-page .breadcrumb-list a:hover {
  text-decoration: underline;
}

.blog-post-page .breadcrumb-icon {
  width: 1.5rem;
  height: 1.5rem;
  stroke-width: 2.25;
}

.blog-post-page .breadcrumb-list [aria-current="page"] {
  color: var(--vzp-page-text-strong);
}

.blog-post-page .yoast-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.34rem 0;
  align-items: center;
  color: var(--vzp-page-text);
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.35;
}

.blog-post-page .yoast-breadcrumbs a {
  text-decoration: none;
}

.blog-post-page .yoast-breadcrumbs a:hover {
  text-decoration: underline;
}

.blog-post-page .yoast-breadcrumbs .breadcrumb_last,
.blog-post-page .yoast-breadcrumbs [aria-current="page"] {
  color: var(--vzp-page-text-strong);
}

.blog-post-page .yoast-breadcrumb-separator {
  color: var(--vzp-page-secondary-dark);
  font-weight: 800;
  margin: 0 0.55rem;
}

.blog-post-page .article-header {
  background:
    radial-gradient(circle at 12% 0%, rgba(200, 178, 125, 0.16), transparent 30rem),
    linear-gradient(180deg, #FFFFFF 0%, var(--vzp-page-bg) 72%);
}

.blog-post-page .title-block {
  display: grid;
  gap: 0.95rem;
  padding: clamp(2.35rem, 4.6vw, 4.75rem) 0 clamp(1.25rem, 2.7vw, 2.2rem);
}

.blog-post-page .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  width: fit-content;
  max-width: 100%;
  color: var(--vzp-page-accent-text);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  line-height: 1.4;
  text-transform: uppercase;
}

.blog-post-page .eyebrow::before {
  content: none;
  display: none;
}

.blog-post-page .hero-media {
  width: 100%;
  height: clamp(320px, 47vw, 650px);
  overflow: hidden;
  background: var(--vzp-page-primary-deep);
}

.blog-post-page .hero-media svg,
.blog-post-page .hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-post-page .article-shell {
  padding: clamp(3rem, 6vw, 5.4rem) 0 clamp(3.8rem, 7vw, 6.4rem);
}

.blog-post-page .article-body {
  display: grid;
  gap: clamp(1.15rem, 2.2vw, 1.75rem);
  width: var(--vzp-page-article);
  margin-inline: auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.blog-post-page .article-body p,
.blog-post-page .article-body li,
.blog-post-page .article-body dd,
.blog-post-page .article-body figcaption,
.blog-post-page .article-body table,
.blog-post-page .article-body blockquote,
.blog-post-page .article-body cite {
  color: var(--vzp-page-text);
  font-size: clamp(1rem, 1.08vw, 1.06rem);
}

.blog-post-page .article-body > p:first-of-type {
  color: var(--vzp-page-text-strong);
  font-size: clamp(1.05rem, 1.28vw, 1.18rem);
  line-height: 1.82;
}

.blog-post-page .article-body strong,
.blog-post-page .article-body b,
.blog-post-page .article-body dt {
  color: var(--vzp-page-text-strong);
}

.blog-post-page .article-section {
  display: grid;
  gap: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(184, 161, 176, 0.3);
}

.blog-post-page .article-section:first-of-type {
  padding-top: 0;
  border-top: 0;
}

.blog-post-page .lead-note {
  display: grid;
  gap: 0.78rem;
  padding: clamp(1rem, 2.2vw, 1.45rem);
  border-left: 4px solid var(--vzp-page-accent);
  border-radius: var(--vzp-page-radius-md);
  background: linear-gradient(135deg, rgba(239, 230, 208, 0.75), rgba(255, 255, 255, 0.58));
}

.blog-post-page .lead-note strong {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--vzp-page-primary);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  line-height: 1.35;
  text-transform: uppercase;
}

.blog-post-page .quote-block {
  position: relative;
  overflow: hidden;
  padding: clamp(1.3rem, 3vw, 2rem);
  border-radius: var(--vzp-page-radius-lg);
  background:
    linear-gradient(120deg, rgba(58, 63, 92, 0.97), rgba(43, 47, 66, 0.98)),
    repeating-linear-gradient(135deg, rgba(200, 178, 125, 0.11), rgba(200, 178, 125, 0.11) 1px, transparent 1px, transparent 36px);
  box-shadow: var(--vzp-page-shadow-soft);
}

.blog-post-page .quote-block::before {
  content: '“';
  position: absolute;
  top: -1.2rem;
  left: 1.1rem;
  color: rgba(200, 178, 125, 0.32);
  font-family: var(--vzp-page-heading);
  font-size: 6rem;
  line-height: 1;
}

.blog-post-page .quote-block blockquote {
  position: relative;
  z-index: 1;
  color: #FFFFFF;
  font-family: var(--vzp-page-heading);
  font-size: clamp(1.26rem, 2.3vw, 1.82rem);
  font-style: italic;
  line-height: 1.4;
}

.blog-post-page .quote-block figcaption {
  position: relative;
  z-index: 1;
  margin-top: 0.85rem;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.9rem;
}

.blog-post-page .policy-list {
  display: grid;
  gap: 0.55rem;
  padding-left: 1.25rem;
}

.blog-post-page .policy-list li {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.blog-post-page .policy-list li::marker {
  color: var(--vzp-page-accent-text);
  font-weight: 800;
}

.blog-post-page .definition-list {
  display: grid;
  gap: 0.85rem;
}

.blog-post-page .definition-list div {
  display: grid;
  gap: 0.22rem;
  padding: 1rem;
  border: 1px solid var(--vzp-page-line-soft);
  border-radius: var(--vzp-page-radius-md);
  background: rgba(255, 255, 255, 0.52);
}

.blog-post-page .definition-list dt {
  color: var(--vzp-page-primary);
  font-weight: 800;
}

.blog-post-page .source-card {
  display: grid;
  gap: 0.75rem;
  padding: clamp(1.05rem, 2.4vw, 1.5rem);
  border: 1px solid var(--vzp-page-line-soft);
  border-radius: var(--vzp-page-radius-lg);
  background: rgba(255, 255, 255, 0.56);
}

.blog-post-page .source-card .eyebrow {
  font-size: 0.68rem;
}

.blog-post-page .source-note {
  display: grid;
  gap: 0.45rem;
  padding-top: 1rem;
  border-top: 1px solid var(--vzp-page-line-soft);
  color: var(--vzp-page-text);
  font-size: 0.92rem;
}

/* WordPress/Gutenberg content safety inside this template */
.blog-post-page .article-body .wp-block-group,
.blog-post-page .article-body .wp-block-columns,
.blog-post-page .article-body .wp-block-column,
.blog-post-page .article-body .wp-block-media-text,
.blog-post-page .article-body .wp-block-cover,
.blog-post-page .article-body .wp-block-table,
.blog-post-page .article-body .wp-block-quote,
.blog-post-page .article-body .wp-block-pullquote,
.blog-post-page .article-body .wp-block-code,
.blog-post-page .article-body .wp-block-preformatted,
.blog-post-page .article-body .wp-block-verse,
.blog-post-page .article-body .wp-block-details,
.blog-post-page .article-body .has-background {
  color: inherit;
}

.blog-post-page .article-body table {
  width: 100%;
  border-collapse: collapse;
}

.blog-post-page .article-body th,
.blog-post-page .article-body td {
  border: 1px solid var(--vzp-page-line-soft);
  padding: 0.75rem;
  color: var(--vzp-page-text);
}

.blog-post-page .article-body th {
  color: var(--vzp-page-text-strong);
  background: rgba(58, 63, 92, 0.06);
}

.blog-post-page .article-body pre,
.blog-post-page .article-body code {
  border-radius: var(--vzp-page-radius-sm);
  background: var(--vzp-page-bg-soft);
  color: var(--vzp-page-text-strong);
}

.blog-post-page .article-body pre {
  padding: 1rem;
  overflow-x: auto;
}

.blog-post-page .article-body code {
  padding: 0.1em 0.28em;
}

.blog-post-page .article-body blockquote:not(.quote-block blockquote) {
  padding-left: 1rem;
  border-left: 4px solid var(--vzp-page-accent);
}

.blog-post-page .page-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  padding-top: 1rem;
  border-top: 1px solid var(--vzp-page-line-soft);
}

/* Dark mode overrides. These are explicit to stop white/black values from the parent theme. */
[data-theme="dark"] .blog-post-page *,
[data-theme="dark"] .blog-post-page *::before,
[data-theme="dark"] .blog-post-page *::after {
  border-color: var(--vzp-page-line-soft);
}

[data-theme="dark"] .blog-post-page article,
[data-theme="dark"] .blog-post-page header,
[data-theme="dark"] .blog-post-page section,
[data-theme="dark"] .blog-post-page aside,
[data-theme="dark"] .blog-post-page figure,
[data-theme="dark"] .blog-post-page div,
[data-theme="dark"] .blog-post-page nav,
[data-theme="dark"] .blog-post-page main {
  color: inherit;
}

[data-theme="dark"] .blog-post-page a {
  color: #EAD99A !important;
  text-decoration-color: rgba(234, 217, 154, 0.58) !important;
}

[data-theme="dark"] .blog-post-page a:hover {
  color: #F4F1EA !important;
  text-decoration-color: currentColor !important;
}

[data-theme="dark"] .blog-post-page :focus-visible {
  outline-color: #D9C47F !important;
}

[data-theme="dark"] .blog-post-page ::selection {
  color: #101319;
  background: #EAD99A;
}

[data-theme="dark"] .blog-post-page .skip-link {
  background: #171B24 !important;
  color: #EAD99A !important;
  box-shadow: var(--vzp-page-shadow-soft);
}

[data-theme="dark"] .blog-post-page .breadcrumb-wrap {
  border-bottom-color: #2A3040 !important;
  background: rgba(23, 27, 36, 0.92) !important;
}

[data-theme="dark"] .blog-post-page .breadcrumb-list,
[data-theme="dark"] .blog-post-page .breadcrumb-list li,
[data-theme="dark"] .blog-post-page .yoast-breadcrumbs,
[data-theme="dark"] .blog-post-page .article-body,
[data-theme="dark"] .blog-post-page .article-body p,
[data-theme="dark"] .blog-post-page .article-body li,
[data-theme="dark"] .blog-post-page .article-body dd,
[data-theme="dark"] .blog-post-page .article-body figcaption,
[data-theme="dark"] .blog-post-page .article-body table,
[data-theme="dark"] .blog-post-page .article-body blockquote,
[data-theme="dark"] .blog-post-page .article-body cite,
[data-theme="dark"] .blog-post-page .source-note {
  color: #D4DBEA !important;
}

[data-theme="dark"] .blog-post-page h1,
[data-theme="dark"] .blog-post-page h2,
[data-theme="dark"] .blog-post-page h3,
[data-theme="dark"] .blog-post-page h4,
[data-theme="dark"] .blog-post-page h5,
[data-theme="dark"] .blog-post-page h6,
[data-theme="dark"] .blog-post-page .article-body > p:first-of-type,
[data-theme="dark"] .blog-post-page .article-body strong,
[data-theme="dark"] .blog-post-page .article-body b,
[data-theme="dark"] .blog-post-page .article-body dt,
[data-theme="dark"] .blog-post-page .breadcrumb-list [aria-current="page"],
[data-theme="dark"] .blog-post-page .yoast-breadcrumbs .breadcrumb_last,
[data-theme="dark"] .blog-post-page .yoast-breadcrumbs [aria-current="page"] {
  color: #F4F1EA !important;
}

[data-theme="dark"] .blog-post-page .breadcrumb-list li + li::before,
[data-theme="dark"] .blog-post-page .yoast-breadcrumb-separator,
[data-theme="dark"] .blog-post-page .policy-list li::marker,
[data-theme="dark"] .blog-post-page .eyebrow,
[data-theme="dark"] .blog-post-page .definition-list dt {
  color: #EAD99A !important;
}

[data-theme="dark"] .blog-post-page .article-header {
  background:
    radial-gradient(circle at 12% 0%, rgba(217, 196, 127, 0.12), transparent 30rem),
    linear-gradient(180deg, #171B24 0%, #101319 72%) !important;
}

[data-theme="dark"] .blog-post-page .hero-media {
  background: #0F1420 !important;
}

[data-theme="dark"] .blog-post-page .article-shell,
[data-theme="dark"] .blog-post-page .article-body,
[data-theme="dark"] .blog-post-page .article-section,
[data-theme="dark"] .blog-post-page .policy-list li {
  background: transparent !important;
}

[data-theme="dark"] .blog-post-page .article-section {
  border-top-color: #2A3040 !important;
}

[data-theme="dark"] .blog-post-page .lead-note {
  border-left-color: #D9C47F !important;
  background: linear-gradient(135deg, rgba(29, 34, 48, 0.94), rgba(23, 27, 36, 0.86)) !important;
}

[data-theme="dark"] .blog-post-page .lead-note strong {
  color: #EAD99A !important;
}

[data-theme="dark"] .blog-post-page .definition-list div,
[data-theme="dark"] .blog-post-page .source-card,
[data-theme="dark"] .blog-post-page .article-body .wp-block-group.has-background,
[data-theme="dark"] .blog-post-page .article-body .wp-block-column.has-background,
[data-theme="dark"] .blog-post-page .article-body .wp-block-media-text.has-background,
[data-theme="dark"] .blog-post-page .article-body .wp-block-cover,
[data-theme="dark"] .blog-post-page .article-body .wp-block-details,
[data-theme="dark"] .blog-post-page .article-body .has-background {
  border-color: #3B4254 !important;
  background-color: #171B24 !important;
  color: #D4DBEA !important;
}

[data-theme="dark"] .blog-post-page .article-body .has-text-color:not(a),
[data-theme="dark"] .blog-post-page .article-body .has-inline-color:not(a) {
  color: #D4DBEA !important;
}

[data-theme="dark"] .blog-post-page .article-body .has-background h1,
[data-theme="dark"] .blog-post-page .article-body .has-background h2,
[data-theme="dark"] .blog-post-page .article-body .has-background h3,
[data-theme="dark"] .blog-post-page .article-body .has-background h4,
[data-theme="dark"] .blog-post-page .article-body .has-background h5,
[data-theme="dark"] .blog-post-page .article-body .has-background h6,
[data-theme="dark"] .blog-post-page .article-body .has-background strong,
[data-theme="dark"] .blog-post-page .article-body .has-background b {
  color: #F4F1EA !important;
}

[data-theme="dark"] .blog-post-page .quote-block {
  background:
    linear-gradient(120deg, rgba(58, 63, 92, 0.98), rgba(23, 27, 36, 0.98)),
    repeating-linear-gradient(135deg, rgba(217, 196, 127, 0.14), rgba(217, 196, 127, 0.14) 1px, transparent 1px, transparent 36px) !important;
}

[data-theme="dark"] .blog-post-page .quote-block blockquote {
  color: #F4F1EA !important;
}

[data-theme="dark"] .blog-post-page .quote-block figcaption {
  color: rgba(244, 241, 234, 0.78) !important;
}

[data-theme="dark"] .blog-post-page .quote-block::before {
  color: rgba(217, 196, 127, 0.38) !important;
}

[data-theme="dark"] .blog-post-page .source-note,
[data-theme="dark"] .blog-post-page .page-links {
  border-top-color: #3B4254 !important;
}

[data-theme="dark"] .blog-post-page .article-body table,
[data-theme="dark"] .blog-post-page .article-body thead,
[data-theme="dark"] .blog-post-page .article-body tbody,
[data-theme="dark"] .blog-post-page .article-body tr {
  background: transparent !important;
  color: #D4DBEA !important;
}

[data-theme="dark"] .blog-post-page .article-body th,
[data-theme="dark"] .blog-post-page .article-body td {
  border-color: #3B4254 !important;
  color: #D4DBEA !important;
  background: transparent !important;
}

[data-theme="dark"] .blog-post-page .article-body th {
  color: #F4F1EA !important;
  background: #171B24 !important;
}

[data-theme="dark"] .blog-post-page .article-body pre,
[data-theme="dark"] .blog-post-page .article-body code,
[data-theme="dark"] .blog-post-page .article-body .wp-block-code,
[data-theme="dark"] .blog-post-page .article-body .wp-block-preformatted,
[data-theme="dark"] .blog-post-page .article-body .wp-block-verse {
  background: #171B24 !important;
  color: #F4F1EA !important;
  border-color: #3B4254 !important;
}

[data-theme="dark"] .blog-post-page input,
[data-theme="dark"] .blog-post-page textarea,
[data-theme="dark"] .blog-post-page select,
[data-theme="dark"] .blog-post-page button {
  border-color: #3B4254 !important;
  background-color: #171B24 !important;
  color: #F4F1EA !important;
}

[data-theme="dark"] .blog-post-page input::placeholder,
[data-theme="dark"] .blog-post-page textarea::placeholder {
  color: #AEB7C8 !important;
}

@media (max-width: 720px) {
  .blog-post-page {
    --vzp-page-container: min(100% - 1.25rem, 1120px);
    --vzp-page-article: min(100% - 1.25rem, 880px);
  }

  .blog-post-page h1 {
    font-size: clamp(1.9rem, 9vw, 2.85rem);
  }

  .blog-post-page .title-block {
    padding-top: 2rem;
  }

  .blog-post-page .hero-media {
    height: clamp(360px, 86vw, 560px);
  }
}

@media (max-width: 460px) {
  .blog-post-page {
    font-size: 0.97rem;
  }

  .blog-post-page .policy-list li {
    padding-right: 0.9rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .blog-post-page *,
  .blog-post-page *::before,
  .blog-post-page *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
.container-page.title-block {
    padding: 35px;
}
@media print {
  .blog-post-page {
    background: #FFFFFF !important;
    color: #111111 !important;
  }

  .blog-post-page .skip-link,
  .blog-post-page .breadcrumb-wrap {
    display: none !important;
  }

  .blog-post-page .article-header {
    background: #FFFFFF !important;
  }

  .blog-post-page .title-block {
    padding: 0 0 1rem;
  }

  .blog-post-page .hero-media {
    height: 300px;
  }

  .blog-post-page .article-shell {
    padding: 1.25rem 0 0;
  }

  .blog-post-page .article-body {
    width: 100%;
  }

  .blog-post-page a {
    color: #111111 !important;
    text-decoration: none;
  }
}
.blog-post-page .breadcrumb-container .breadcrumb-list {
    padding-left: 25px;
}

/* ── Ordered & Unordered Lists ── */
.blog-post-page .article-body :where(ul, ol) {
  display: grid;
  gap: 0.55rem;
  padding-left: 0;
  margin: 0;
  list-style: none;
}

.blog-post-page .article-body :where(ol) {
  counter-reset: ol-counter;
}

/* ── UL items ── */
.blog-post-page .article-body ul > li {
  position: relative;
  padding: 0.55rem 0.75rem 0.55rem 2.25rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.48);
  border: 1px solid var(--clr-line-soft);
  color: var(--clr-text);
  font-size: clamp(1rem, 1.08vw, 1.06rem);
  line-height: 1.72;
}

.blog-post-page .article-body ul > li::before {
  content: "";
  position: absolute;
  left: 0.85rem;
  top: 50%;
  transform: translateY(-50%);
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 999px;
  /* FIX 1.4.11: was --clr-accent (#C8B27D, 1.97:1) — now --clr-accent-text (#7B6428, ~5.4:1) */
  background: var(--clr-accent-text);
  flex-shrink: 0;
}

/* ── OL items ── */
.blog-post-page .article-body ol > li {
  counter-increment: ol-counter;
  position: relative;
  padding: 0.55rem 0.75rem 0.55rem 2.85rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.48);
  border: 1px solid var(--clr-line-soft);
  color: var(--clr-text);
  font-size: clamp(1rem, 1.08vw, 1.06rem);
  line-height: 1.72;
}

.blog-post-page .article-body ol > li::before {
  content: counter(ol-counter, decimal-leading-zero);
  position: absolute;
  left: 0.65rem;
  top: 50%;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  width: 1.65rem;
  height: 1.65rem;
  border-radius: 999px;
  /* FIX 1.4.3: was --clr-primary-deep, now explicit for token clarity */
  background: var(--clr-primary);
  color: #FFFFFF;
  /* FIX 1.4.3: bumped from 0.68rem — adds legibility buffer at small size */
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1;
}

/* ── Nested lists ── */
/* FIX 1.3.3 + 1.4.1: was padding-left:0 with no depth cue — restored indentation + left border */
.blog-post-page .article-body :where(ul, ol) :where(ul, ol) {
  margin-top: 0.55rem;
  padding-left: 0;
  counter-reset: ol-counter;
}

.blog-post-page .article-body :where(ul, ol) li li {
  background: transparent;
  border-color: transparent;
  border-left: 2px solid var(--clr-line-soft);
  border-radius: 0;
  padding-left: calc(2.25rem + 0.75rem);
}

.blog-post-page .article-body :where(ul, ol) li li::before {
  left: 0.75rem;
}

/* ── Focus visible — lists inherit the parent rule, override here for safety ── */
/* FIX 2.4.11: was --clr-accent (#C8B27D, 1.83:1) — double-ring pattern always
   readable regardless of surface colour underneath */
.blog-post-page .article-body :where(ul, ol) a:focus-visible,
.blog-post-page .article-body li:focus-visible {
  outline: 2px solid #FFFFFF;
  outline-offset: 0px;
  box-shadow: 0 0 0 4px var(--clr-primary);
  border-radius: var(--radius-sm);
}

/* ── Dark mode ── */
[data-theme="dark"] .blog-post-page .article-body :where(ul > li, ol > li) {
  background: rgba(23, 27, 36, 0.72);
  border-color: var(--clr-line);
  color: var(--clr-text);
}

[data-theme="dark"] .blog-post-page .article-body ul > li::before {
  /* Dark mode: --clr-accent-text: #EAD99A — ~9.3:1 on dark surface, passes AAA */
  background: var(--clr-accent-text);
}

[data-theme="dark"] .blog-post-page .article-body ol > li::before {
  background: var(--clr-accent);
  color: #2E3144;
}

[data-theme="dark"] .blog-post-page .article-body :where(ul, ol) li li {
  background: transparent;
  border-color: transparent;
  /* Nested depth cue in dark mode */
  border-left-color: var(--clr-line);
}

[data-theme="dark"] .blog-post-page .article-body :where(ul, ol) a:focus-visible,
[data-theme="dark"] .blog-post-page .article-body li:focus-visible {
  outline-color: var(--clr-bg);
  box-shadow: 0 0 0 4px var(--clr-accent-text);
}

.blog-post-page .breadcrumb-container .yoast-breadcrumbs {
    margin-left: 10px;
}

.breadcrumb-container.breadcrumb-inner {
    display: inline-flex;
    padding-left: 25px;
}