/* TASK-030: approved internal templates only. Header, footer and WP10 stay unchanged. */
main.vch-internal {
  --paper: #fffefb; --cream: #f6f4ef; --forest: #203f32; --deep: #172f26;
  --ink: #202d27; --sage: #789279; --rust: #a56a43; --pad: 44px;
  --display: 'EB Garamond', Georgia, 'Times New Roman', serif;
  --ui: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
  width: 100%; max-width: none; padding: 0; margin: 0;
  background: var(--paper); color: var(--ink); font-family: var(--ui); line-height: 1.8;
}
.vch-internal :where(h1,h2,h3) { color: inherit; font-family: var(--display); }
.vch-internal :where(a:not(.wp-block-button__link)) { color: inherit; }
.vch-internal :where(a:focus-visible,summary:focus-visible) { outline: 3px solid #a56a43; outline-offset: 4px; }
.vch-internal .vci-shell { box-sizing: border-box; width: 100%; max-width: 1376px; padding-inline: var(--pad); margin-inline: auto; }
.vch-internal .vci-hero { margin: 0; background: #f5f3ed; border-bottom: 1px solid #e5e5dd; }
.vch-internal .vci-breadcrumbs { display: flex; flex-wrap: wrap; gap: 10px; padding-top: 32px; margin-bottom: 26px; font: 550 11px/1.5 var(--ui); color: #778276; }
.vch-internal .vci-breadcrumbs a { color: #586c5c; text-decoration: none; border-bottom: 1px solid #cad5c8; }
.vch-internal .vci-breadcrumbs [aria-current] { color: #946746; }
.vch-internal .vci-hero-grid { display: grid; grid-template-columns: minmax(0,1.1fr) minmax(0,.9fr); gap: 58px; align-items: center; padding-bottom: 84px; }
.vch-internal .vci-hero-copy { min-width: 0; padding-block: 18px; }
.vch-internal .vci-eyebrow { font: 750 10px/1.4 var(--ui); letter-spacing: .15em; color: #8e6849; text-transform: uppercase; margin: 0 0 27px; display: block; }
.vch-internal .vci-hero h1 { font: 500 clamp(50px,5.1vw,73px)/.99 var(--display); letter-spacing: -.035em; max-width: 750px; margin: 0 0 30px; }
.vch-internal .vci-lead { font: 400 18px/1.7 var(--ui); color: #45564b; max-width: 660px; }
.vch-internal .vci-lead p { margin: 0; color: inherit; }
.vch-internal .vci-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }
.vch-internal .vci-chip { border: 1px solid #ccd4c9; padding: 8px 11px; border-radius: 99px; font: 650 10px/1.5 var(--ui); color: #566b57; text-decoration: none; }
.vch-internal .vci-button { background: #fffdf8; color: #203f32; padding: 16px 22px; font: 750 12px/1.5 var(--ui); text-decoration: none; }
.vch-internal .vci-hero-photo { min-width: 0; align-self: stretch; min-height: 485px; position: relative; }
.vch-internal .vci-hero-photo figure { margin: 0; height: 100%; width: 100%; max-width: none; }
.vch-internal .vci-hero-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover !important; aspect-ratio: auto !important; }
.vch-internal .vci-hero-photo figcaption { position: absolute; bottom: 0; left: 0; right: 0; color: white; background: linear-gradient(transparent,rgba(21,36,27,.8)); padding: 40px 20px 20px; font: 400 11px/1.5 var(--ui); }
.vch-internal.vci-no-image .vci-hero-grid { grid-template-columns: minmax(0,920px); }
.vch-internal.vci-no-image .vci-lead { max-width: 780px; }
.vch-internal .vci-layout { display: grid; grid-template-columns: minmax(172px,205px) minmax(0,704px) minmax(170px,240px); gap: 42px; justify-content: space-between; margin-top: 94px; margin-bottom: 120px; }
.vch-internal .vci-layout.vci-without-sidebar { grid-template-columns: minmax(172px,205px) minmax(0,850px); justify-content: start; }
.vch-internal .vci-layout.vci-without-toc { grid-template-columns: minmax(0,850px) minmax(170px,240px); }
.vch-internal .vci-layout.vci-without-toc.vci-without-sidebar { display: block; max-width: 940px; }
.vch-internal .vci-left,.vch-internal .vci-right { min-width: 0; }
.vch-internal .vci-toc { position: sticky; top: 124px; border: 0; border-top: 2px solid #456a51; padding: 19px 0 0; background: none; }
.vch-internal .vci-toc summary { cursor: pointer; font: 700 10px/1.6 var(--ui); letter-spacing: .13em; text-transform: uppercase; padding-bottom: 17px; }
.vch-internal .vci-toc nav a { display: grid; grid-template-columns: 24px 1fr; gap: 10px; border-top: 1px solid #e3e7df; padding: 11px 4px 11px 0; font: 400 12px/1.52 var(--ui); color: #5a6b60; text-decoration: none; }
.vch-internal .vci-toc nav a span:first-child { color: #98613c; font-size: 10px; }
.vch-internal .vci-toc nav a.vci-subheading { padding-left: 12px; }
.vch-internal .vci-prose { margin: 0; min-width: 0; width: 100%; font: 400 16px/1.83 var(--ui); color: #38453c; }
.vch-internal .vci-prose p { margin: 0 0 24px; }
.vch-internal .vci-prose h2 { font: 500 38px/1.16 var(--display); letter-spacing: -.015em; margin: 66px 0 22px; padding-top: 22px; border-top: 1px solid #dbe0d8; scroll-margin-top: 115px; color: #24362b; }
.vch-internal .vci-prose > h2:first-child { margin-top: 0; padding-top: 0; border: 0; }
.vch-internal .vci-prose h3 { font: 500 26px/1.25 var(--display); margin: 35px 0 13px; color: #263d2f; scroll-margin-top: 115px; }
.vch-internal .vci-prose a:not(.wp-block-button__link) { color: #2e6041; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: #95aa91; }
.vch-internal .vci-prose ul,.vch-internal .vci-prose ol { padding-left: 24px; margin: 0 0 26px; }
.vch-internal .vci-prose li { padding-left: 3px; margin-bottom: 10px; }
.vch-internal .vci-prose li::marker { color: #8b9a83; }
.vch-internal .vci-prose blockquote { border-left: 3px solid #91a493; padding-left: 18px; margin: 28px 0; font: 400 26px/1.4 var(--display); }
.vch-internal .vci-prose .wp-block-table { max-width: 100%; overflow-x: auto; margin: 24px 0 33px; scrollbar-color: #9bb39b #f0f1eb; }
.vch-internal .vci-prose table { border-collapse: collapse; min-width: 610px; width: 100%; font: 400 12px/1.6 var(--ui); }
.vch-internal .vci-prose th,.vch-internal .vci-prose td { padding: 15px 14px; border: 1px solid #d8e0d4; text-align: left; vertical-align: top; }
.vch-internal .vci-prose thead { background: #eaf0e6; color: #314b38; }
.vch-internal .vci-prose tr:nth-child(even) { background: #fafbf7; }
.vch-internal .vci-sidebar,.vch-internal .vci-trust-aside { position: sticky; top: 128px; border: 1px solid #e0e4d8; background: #f9f9f3; padding: 22px; }
.vch-internal .vci-sidebar a { display: block; border-top: 1px solid #d6ded2; padding: 13px 0; font: 500 25px/1.2 var(--display); text-decoration: none; }
.vch-internal.vch-hub .vci-hero,.vch-internal.vch-choice .vci-hero { background: var(--deep); color: #f5f6f0; }
.vch-internal:is(.vch-hub,.vch-choice) .vci-hero .vci-eyebrow { color: #c1d0be; }
.vch-internal:is(.vch-hub,.vch-choice) .vci-breadcrumbs a { color: #d6e3d4; border-color: #779c85; }
.vch-internal:is(.vch-hub,.vch-choice) .vci-breadcrumbs [aria-current] { color: #d2ae8d; }
.vch-internal:is(.vch-hub,.vch-choice) .vci-lead { color: #d6e0d2; font-size: 16.5px; line-height: 1.78; }
.vch-internal.vch-hub .vci-hero-grid { grid-template-columns: minmax(0,1fr) minmax(0,.92fr); gap: 66px; }
.vch-internal.vch-hub.vci-no-image .vci-hero-grid { grid-template-columns: minmax(0,920px); }
.vch-internal.vch-hub .vci-hero h1 { font-size: clamp(54px,5.7vw,80px); line-height: .98; letter-spacing: -.04em; }
.vch-internal.vch-hub .vci-hero-photo { aspect-ratio: 1.28; min-height: 0; align-self: center; }
.vch-internal .vci-explore { padding-block: 95px 15px; }
.vch-internal .vci-explore > h2 { font: 400 56px/1.05 var(--display); margin: 0 0 32px; }
.vch-internal .vci-card-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 16px; }
.vch-internal .vci-card { display: flex; flex-direction: column; padding: 28px 22px; min-height: 240px; background: #edf2e8; text-decoration: none; }
.vch-internal .vci-card:nth-child(even) { background: #f0e9df; }
.vch-internal .vci-card strong { font: 500 29px/1.12 var(--display); }
.vch-internal .vci-card .vci-eyebrow { color: #8e6849; }
.vch-internal .vci-card-arrow { margin-top: auto; padding-top: 20px; align-self: flex-end; }
.vch-internal .vci-card.vci-card-illustrated { padding: 0; background: transparent; }
.vch-internal .vci-card-illustrated img { display: block; width: 100%; height: auto; aspect-ratio: .94; object-fit: cover; margin-bottom: 17px; }
.vch-internal .vci-card-illustrated .vci-eyebrow { display: none; }
.vch-internal.vch-choice .vci-hero h1 { font-size: clamp(52px,5.35vw,78px); line-height: 1.01; }
.vch-internal .vci-scenarios { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; padding-top: 102px; }
.vch-internal .vci-scenario { padding: 39px 42px 34px; background: #edf2e8; min-width: 0; }
.vch-internal .vci-scenario:nth-child(even) { background: #f0e9df; }
.vch-internal .vci-scenario .vci-eyebrow { color: #61775f; }
.vch-internal .vci-scenario h2 { font: 500 40px/1.03 var(--display); margin: 27px 0 18px; }
.vch-internal .vci-scenario p { font: 400 13px/1.8 var(--ui); color: #5f6c62; }
.vch-internal.vch-trust .vci-hero { background: #f2f0e9; }
.vch-internal.vch-trust .vci-hero-grid { grid-template-columns: 1.25fr .66fr; gap: 105px; padding-bottom: 94px; align-items: end; }
.vch-internal.vch-trust .vci-hero h1 { font-size: clamp(55px,5.75vw,82px); line-height: 1; }
.vch-internal .vci-promise { background: var(--deep); color: #f5f4ea; padding: 40px 37px 34px; }
.vch-internal .vci-promise .vci-eyebrow { color: #a9c0ac; }
.vch-internal .vci-promise p { font: 400 33px/1.16 var(--display); margin: 22px 0; }
.vch-internal .vci-principles { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 22px; padding-top: 65px; padding-bottom: 72px; }
.vch-internal .vci-principles a { border-top: 1px solid #b1bfaf; padding-top: 21px; text-decoration: none; }
.vch-internal .vci-principles strong { font: 500 35px/1.05 var(--display); }
.vch-internal .vci-trust-aside { padding: 29px 19px; background: #eaf0e7; }
.vch-internal .vci-trust-aside p { font: 400 24px/1.22 var(--display); margin: 23px 0 28px; overflow-wrap: anywhere; hyphens: auto; }
.vch-internal .vci-trust-aside a { display: block; font: 750 12px/1.7 var(--ui); margin: 12px 0; overflow-wrap: anywhere; hyphens: auto; }
/* Keep main full-width before enhancement; constrain only the readable source. */
.vch-internal:not([data-enhanced]) { padding-block: 40px; }
.vch-internal:not([data-enhanced]) > * {
  width: calc(100% - 2 * var(--pad));
  max-width: calc(940px - 2 * var(--pad));
  margin-inline: auto;
}
@media (max-width:1230px) {
  main.vch-internal { --pad: 30px; }
  .vch-internal .vci-hero-grid,.vch-internal.vch-hub .vci-hero-grid { gap: 38px; }
  .vch-internal .vci-layout { grid-template-columns: 180px minmax(0,1fr) 205px; gap: 26px; }
  .vch-internal.vch-trust .vci-layout { grid-template-columns: 180px minmax(0,1fr) 240px; }
  .vch-internal .vci-hero h1,.vch-internal.vch-hub .vci-hero h1,.vch-internal.vch-choice .vci-hero h1 { font-size: 60px; }
  .vch-internal.vch-trust .vci-hero-grid { gap: 60px; }
  .vch-internal .vci-lead { font-size: 16px; }
}
@media (max-width:1050px) {
  .vch-internal .vci-layout,.vch-internal.vch-trust .vci-layout { grid-template-columns: 190px minmax(0,1fr); gap: 35px; }
  .vch-internal .vci-right { display: none; }
  .vch-internal .vci-hero h1,.vch-internal.vch-hub .vci-hero h1,.vch-internal.vch-choice .vci-hero h1 { font-size: 55px; }
}
@media (max-width:800px) {
  main.vch-internal { --pad: 23px; }
  .vch-internal .vci-hero-grid,.vch-internal.vch-hub .vci-hero-grid,.vch-internal.vch-trust .vci-hero-grid { grid-template-columns: 1fr; gap: 32px; padding-bottom: 48px; }
  .vch-internal .vci-hero-photo { min-height: 0; height: 420px; width: 100%; }
  .vch-internal.vch-hub .vci-hero-photo { aspect-ratio: auto; }
  .vch-internal .vci-hero h1,.vch-internal.vch-hub .vci-hero h1,.vch-internal.vch-choice .vci-hero h1,.vch-internal.vch-trust .vci-hero h1 { font-size: clamp(49px,7vw,70px); }
  .vch-internal .vci-layout,.vch-internal.vch-trust .vci-layout { display: block; margin-top: 65px; }
  .vch-internal .vci-left { margin-bottom: 40px; }
  .vch-internal .vci-toc { position: static; }
  .vch-internal .vci-card-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .vch-internal .vci-promise { padding: 25px; }
  .vch-internal .vci-promise p { font-size: 28px; }
}
@media (max-width:540px) {
  main.vch-internal { --pad: 18px; }
  .vch-internal .vci-breadcrumbs { padding-top: 22px; margin-bottom: 26px; font-size: 10px; }
  .vch-internal .vci-hero h1,.vch-internal.vch-hub .vci-hero h1,.vch-internal.vch-choice .vci-hero h1,.vch-internal.vch-trust .vci-hero h1 { font-size: 46px; }
  .vch-internal .vci-lead,.vch-internal:is(.vch-hub,.vch-choice) .vci-lead { font-size: 14px; line-height: 1.8; }
  .vch-internal .vci-hero-photo { height: 300px; }
  .vch-internal .vci-prose { font-size: 14px; line-height: 1.8; }
  .vch-internal .vci-prose h2 { font-size: 31px; margin-top: 45px; }
  .vch-internal .vci-prose h3 { font-size: 24px; }
  .vch-internal .vci-layout { margin-top: 50px; margin-bottom: 72px; }
  .vch-internal .vci-explore { padding-top: 61px; }
  .vch-internal .vci-explore > h2 { font-size: 44px; }
  .vch-internal .vci-card-grid { gap: 12px; }
  .vch-internal .vci-card { padding: 22px 14px; min-height: 200px; }
  .vch-internal .vci-card strong { font-size: 23px; }
  .vch-internal .vci-scenarios { grid-template-columns: 1fr; gap: 12px; padding-top: 63px; }
  .vch-internal .vci-scenario { padding: 27px; }
  .vch-internal .vci-principles { grid-template-columns: 1fr; padding-block: 40px; gap: 23px; }
}

/* Preserve the earlier DEMO article's native contents without nesting two grids. */
.vch-internal .vci-prose .v-article-layout { display: block; }
