/* Shared structured-document renderer. No page-specific content selectors. */
.vem-document {
    min-width: 0;
    max-width: 100%;
    color: var(--ink, #19302c);
    font:
        1.02rem/1.76 system-ui,
        -apple-system,
        BlinkMacSystemFont,
        'Segoe UI',
        sans-serif;
    overflow-wrap: anywhere;
}
.vem-block {
    min-width: 0;
    margin-block: 1.35rem;
    scroll-margin-block-start: 6rem;
}
.vem-block p {
    margin-block: 0.85rem;
    white-space: normal;
}
.vem-document h2 {
    margin-block: 2.8rem 0.9rem;
    font:
        650 clamp(1.85rem, 7vw, 2.65rem)/1.15 Georgia,
        'Times New Roman',
        serif;
    letter-spacing: -0.025em;
}
.vem-document h3 {
    margin-block: 2.15rem 0.75rem;
    font:
        700 clamp(1.4rem, 5vw, 1.8rem)/1.25 Georgia,
        'Times New Roman',
        serif;
    letter-spacing: -0.015em;
}
.vem-document h4 {
    margin-block: 1.7rem 0.65rem;
    font-size: 1.14rem;
    line-height: 1.35;
}
.vem-document h2::after {
    content: '';
    width: 2.75rem;
    height: 0.2rem;
    margin-top: 0.65rem;
    display: block;
    border-radius: 999px;
    background: var(--sun, #e3b94e);
}
.vem-document strong {
    color: var(--forest-950, #0d2d28);
    font-weight: 760;
}
.vem-document a:not(.vem-cta) {
    color: var(--accent, #17604f);
    font-weight: 620;
    overflow-wrap: anywhere;
    text-decoration-thickness: 0.08em;
    text-underline-offset: 0.2em;
}
.vem-document ul,
.vem-document ol {
    margin-block: 1rem;
    padding-inline-start: 1.45rem;
}
.vem-document li {
    margin-block: 0.6rem;
    padding-inline-start: 0.25rem;
}
.vem-document li::marker {
    color: var(--hibiscus, #b83d36);
    font-weight: 800;
}
.vem-figure {
    min-width: 0;
    margin: 0;
}
.vem-figure a {
    display: block;
    border-radius: var(--radius, 1rem);
}
.vem-figure img {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: var(--radius, 1rem);
    background: var(--forest-50, #f2f7f3);
    box-shadow: 0 0.75rem 2.5rem rgb(13 45 40 / 9%);
}
.vem-figure--small-graphic img {
    width: auto;
    max-width: 100%;
}
.vem-figure figcaption,
.vem-caption {
    margin-block: 0.65rem;
    color: var(--muted, #5a6b66);
    font-size: 0.8rem;
    line-height: 1.55;
}
.vem-figure figcaption {
    padding-inline: 0.15rem;
}
.vem-gallery {
    margin-block: 1.5rem;
}
.vem-gallery__title {
    margin: 0 0 0.75rem;
    font-weight: 750;
}
.vem-gallery__grid {
    display: grid;
    grid-template-columns: repeat(var(--vem-gallery-mobile-columns, 2), minmax(0, 1fr));
    gap: 0.85rem;
}
.vem-gallery[data-vem-effective-mobile-columns='1'] {
    --vem-gallery-mobile-columns: 1;
}
.vem-gallery[data-vem-effective-mobile-columns='2'] {
    --vem-gallery-mobile-columns: 2;
}
.vem-gallery[data-vem-effective-mobile-columns='3'] {
    --vem-gallery-mobile-columns: 3;
}
.vem-gallery__item {
    min-width: 0;
    width: 100%;
    margin: 0;
}
.vem-gallery__open {
    display: grid;
    place-items: center;
    width: 100%;
    aspect-ratio: 4/3;
    padding: 0;
    overflow: hidden;
    border: 0;
    border-radius: var(--radius, 1rem);
    background: var(--forest-50, #f2f7f3);
    cursor: zoom-in;
}
.vem-gallery__open img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: var(--radius, 1rem);
}
.vem-gallery__item > img {
    display: block;
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: contain;
    border-radius: var(--radius, 1rem);
    background: var(--forest-50, #f2f7f3);
}
.vem-gallery[data-vem-media-count='2'] .vem-gallery__open {
    aspect-ratio: 8/5;
}
.vem-gallery[data-vem-media-count='2'] .vem-gallery__open img,
.vem-gallery[data-vem-media-count='2'] .vem-gallery__item > img {
    aspect-ratio: 8/5;
    object-fit: cover;
}
.vem-gallery__item figcaption {
    margin-top: 0.45rem;
    color: var(--muted, #5a6b66);
    font-size: 0.8rem;
}
.vem-gallery-lightbox {
    position: fixed;
    z-index: 10000;
    inset: 0;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.5rem;
    width: 100%;
    height: 100%;
    max-width: none;
    max-height: none;
    margin: 0;
    padding: 1rem;
    border: 0;
    background: rgb(0 0 0 / 92%);
    color: #fff;
}
.vem-gallery-lightbox:not([open]) {
    display: none;
}
.vem-gallery-lightbox::backdrop {
    background: rgb(0 0 0 / 75%);
}
.vem-gallery-lightbox img {
    max-width: 100%;
    max-height: calc(100vh - 7rem);
    margin: auto;
    object-fit: contain;
}
.vem-gallery-lightbox__close {
    position: absolute;
    top: 1rem;
    right: 1rem;
}
.vem-gallery-lightbox__meta {
    grid-column: 1/-1;
    text-align: center;
}
.vem-gallery-lightbox button {
    min-width: 2.75rem;
    min-height: 2.75rem;
    border: 1px solid rgb(255 255 255 / 45%);
    border-radius: 999px;
    background: rgb(0 0 0 / 35%);
    color: #fff;
    font-size: 1.4rem;
}
.vem-gallery .vem-figure img {
    object-fit: contain;
}
:is(.public-site .reading-column, .vem-editor-canvas) table,
.vem-table-scroll {
    max-width: 100%;
    margin: 1.5rem 0;
    overflow-x: auto;
    border: 1px solid var(--line-strong, #b8c9c0);
    border-radius: 0.75rem;
    background: #fff;
    box-shadow: none;
    overscroll-behavior-inline: contain;
    scrollbar-gutter: stable;
    -webkit-overflow-scrolling: touch;
}
:is(.public-site .reading-column, .vem-editor-canvas) table {
    display: table;
    box-sizing: border-box;
    width: 100%;
    table-layout: auto;
    border-collapse: separate;
    border-spacing: 0;
}
:is(.public-site .reading-column, .vem-editor-canvas) :where(div, section):has(> table),
.public-site .reading-column:has(> table) {
    max-width: 100%;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
}
:is(.public-site .reading-column, .vem-editor-canvas) .vem-table-scroll {
    width: 100%;
}
:is(.public-site .reading-column, .vem-editor-canvas) .vem-table-scroll > table {
    display: table;
    margin: 0;
    overflow: visible;
    border: 0;
    border-radius: 0;
}
.vem-table-scroll:focus-visible,
:is(.public-site .reading-column, .vem-editor-canvas) table:focus-visible {
    outline-offset: 3px;
}
.vem-table-scroll table,
:is(.public-site .reading-column, .vem-editor-canvas) table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 0.94rem;
    line-height: 1.45;
}
.vem-table-scroll td,
.vem-table-scroll th,
:is(.public-site .reading-column, .vem-editor-canvas) td,
:is(.public-site .reading-column, .vem-editor-canvas) th {
    min-width: 8rem;
    padding: 0.85rem 1rem;
    border-right: 1px solid var(--line, #d6dfd9);
    border-bottom: 1px solid var(--line, #d6dfd9);
    text-align: start;
    vertical-align: middle;
    overflow-wrap: break-word;
    font-variant-numeric: tabular-nums;
}
.vem-table-scroll caption,
:is(.public-site .reading-column, .vem-editor-canvas) table caption {
    padding: 1rem;
    background: var(--forest-950, #0d2d28);
    color: #fff;
    font-weight: 750;
    text-align: start;
}
.vem-table-scroll thead th,
:is(.public-site .reading-column, .vem-editor-canvas) thead th {
    background: var(--forest-950, #0d2d28);
    color: #fff;
    font-weight: 750;
}
:is(.public-site .reading-column, .vem-editor-canvas) thead tr:first-child > :first-child {
    border-start-start-radius: 0.65rem;
}
:is(.public-site .reading-column, .vem-editor-canvas) thead tr:first-child > :last-child {
    border-start-end-radius: 0.65rem;
}
:is(.public-site .reading-column, .vem-editor-canvas) tbody tr:last-child > :first-child {
    border-end-start-radius: 0.65rem;
}
:is(.public-site .reading-column, .vem-editor-canvas) tbody tr:last-child > :last-child {
    border-end-end-radius: 0.65rem;
}
.vem-table-scroll tbody tr:nth-child(even) > td,
:is(.public-site .reading-column, .vem-editor-canvas) tbody tr:nth-child(even) > td {
    background: var(--forest-50, #f2f7f3);
}
.vem-table-scroll tbody tr:nth-child(odd) > td,
:is(.public-site .reading-column, .vem-editor-canvas) tbody tr:nth-child(odd) > td {
    background: #fff;
}
.vem-table-scroll tr > :last-child,
:is(.public-site .reading-column, .vem-editor-canvas) tr > :last-child {
    border-right: 0;
}
.vem-table-scroll tbody tr:last-child > *,
:is(.public-site .reading-column, .vem-editor-canvas) tbody tr:last-child > * {
    border-bottom: 0;
}
.vem-document blockquote {
    position: relative;
    margin: 2rem 0;
    padding: 1.35rem 1.2rem 1.25rem 1.5rem;
    border: 0;
    border-radius: 0 var(--radius, 1rem) var(--radius, 1rem) 0;
    background: var(--sand, #f6f1e7);
    color: var(--forest-950, #0d2d28);
    font:
        italic 1.12rem/1.65 Georgia,
        serif;
}
.vem-document blockquote::before {
    content: '“';
    position: absolute;
    top: -0.4rem;
    left: 0.35rem;
    color: var(--hibiscus, #b83d36);
    font:
        700 3.5rem/1 Georgia,
        serif;
}
.vem-document blockquote footer {
    padding: 0.45rem 0 0;
    border: 0;
    color: var(--muted, #5a6b66);
    font:
        650 0.8rem/1.5 system-ui,
        sans-serif;
}
.vem-cta {
    max-width: 100%;
    min-height: 2.9rem;
    padding: 0.72rem 1.15rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: var(--hibiscus, #b83d36);
    color: #fff !important;
    font-weight: 750;
    text-align: center;
    text-decoration: none;
}
.vem-cta:hover {
    background: var(--hibiscus-dark, #91302b);
}
.vem-video {
    position: relative;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    margin: 2rem 0;
    border-radius: var(--radius-lg, 1.5rem);
    background: var(--forest-950, #0d2d28);
    color: #fff;
    aspect-ratio: 16/9;
    overflow: hidden;
}
.vem-video[data-vem-video-ratio='portrait'] {
    width: 100%;
    max-width: 23.75rem;
    margin-inline: auto;
    aspect-ratio: 9/16;
}
.vem-video[data-vem-video-ratio='square'] {
    aspect-ratio: 1/1;
}
.vem-video__thumbnail,
.vem-video iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}
.vem-video__thumbnail {
    object-fit: cover;
}
.vem-video__play {
    position: absolute;
    z-index: 2;
    inset: 50% auto auto 50%;
    width: clamp(3.5rem, 9vw, 4.8rem);
    aspect-ratio: 1;
    border: 0;
    border-radius: 50%;
    background: rgb(255 255 255 / 94%);
    color: var(--forest-950, #0d2d28);
    box-shadow: 0 0.5rem 1.6rem rgb(0 0 0 / 28%);
    transform: translate(-50%, -50%);
    cursor: pointer;
}
.vem-video__play span {
    margin-left: 0.2rem;
    font-size: 1.25rem;
}
.vem-video__unavailable {
    position: absolute;
    inset: 0;
    margin: 0;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, #173e42, #0d2d28);
    color: #fff;
    font-weight: 700;
    text-align: center;
}
.vem-video__unavailable[hidden] {
    display: none;
}
.vem-video figcaption {
    position: absolute;
    z-index: 1;
    inset: auto 0 0;
    margin: 0;
    padding: 2.5rem 1rem 0.8rem;
    background: linear-gradient(transparent, rgb(0 0 0 / 72%));
    color: #fff;
    font-size: 0.82rem;
}
.vem-video-fallback {
    width: 100%;
    margin: 2rem 0;
    padding: 1.25rem;
    border-left: 0.3rem solid var(--sun, #e3b94e);
    border-radius: var(--radius-sm, 0.5rem);
    background: var(--forest-50, #f2f7f3);
}
.vem-video-fallback p {
    margin-block: 0.25rem;
}
.vem-video__play:hover {
    background: var(--sun, #e3b94e);
}
.vem-video__play:focus-visible {
    outline: 3px solid #fff;
    outline-offset: 4px;
}
.vem-video.is-playing {
    background: #000;
}
.vem-video.is-playing figcaption,
.vem-video.is-playing .vem-video__thumbnail,
.vem-video.is-playing .vem-video__play {
    display: none;
}
.vem-video__play {
    display: grid;
    place-items: center;
}
.vem-callout {
    padding: 1.2rem;
    border: 1px solid var(--line-strong, #b8c9c0);
    border-left: 0.35rem solid var(--forest-700, #226353);
    border-radius: var(--radius-sm, 0.5rem);
    background: var(--forest-50, #f2f7f3);
}
.vem-callout p:first-child {
    margin-top: 0;
}
.vem-callout p:last-child {
    margin-bottom: 0;
}
.vem-callout--warning {
    border-color: #d3ad55;
    border-left-color: #9d6800;
    background: #fff7df;
}
.vem-faq {
    border-top: 1px solid var(--line-strong, #b8c9c0);
}
.vem-faq details {
    border-bottom: 1px solid var(--line-strong, #b8c9c0);
}
.vem-faq summary {
    min-height: 3.5rem;
    padding: 0.9rem 2rem 0.9rem 0;
    cursor: pointer;
    color: var(--forest-950, #0d2d28);
    font-weight: 750;
}
.vem-faq details > p {
    padding: 0 1rem 1rem;
}
.vem-document hr {
    width: 5rem;
    margin-block: 3rem;
    margin-inline: auto;
    border: 0;
    border-top: 0.25rem solid var(--sun, #e3b94e);
}
.vem-toc {
    max-width: 100%;
    padding: 1rem 1.1rem;
    border: 1px solid var(--line, #d6dfd9);
    border-radius: var(--radius, 1rem);
    background: var(--forest-50, #f2f7f3);
}
.vem-toc > p {
    margin: 0 0 0.5rem;
}
.vem-toc ul {
    margin: 0;
    padding-left: 1rem;
    display: grid;
    gap: 0.08rem;
}
.vem-toc li {
    margin: 0;
    padding-inline-start: 0.1rem;
    line-height: 1.35;
}
.vem-toc li::marker {
    font-size: 0.72em;
}
.vem-toc a {
    min-height: 1.9rem;
    padding-block: 0.15rem;
    display: inline-flex;
    align-items: center;
    line-height: 1.35;
}
.vem-toc-level-3 {
    margin-inline-start: 0.8rem;
}
.vem-toc-level-4 {
    margin-inline-start: 1.6rem;
}
.social-links {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}
.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 1px solid currentColor;
    border-radius: 50%;
    color: inherit;
    text-decoration: none;
}
.site-footer .social-links {
    flex-direction: row;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
}
.site-footer .social-links a {
    display: grid;
    place-items: center;
    flex: 0 0 44px;
    padding: 0;
    line-height: 1;
}
.social-links svg {
    display: block;
    width: 22px;
    height: 22px;
}
.social-links a:hover,
.social-links a:focus-visible {
    background: currentColor;
    outline: 2px solid currentColor;
    outline-offset: 2px;
}
.social-links a:hover svg,
.social-links a:focus-visible svg {
    filter: invert(1);
}
.vem-columns {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: clamp(1rem, 4vw, 2rem);
    margin-block: 1.5rem;
}
.vem-columns > div {
    min-width: 0;
    overflow-wrap: anywhere;
}
.vem-columns p {
    margin: 0 0 0.8em;
}
.vem-contextual-cta {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    align-items: center;
    margin: 2.5rem 0;
    padding: 1.5rem;
    border-radius: 1rem;
    background: #eef5f1;
    border: 1px solid #cadbd3;
}
.vem-contextual-cta--accent {
    background: #f7edd7;
    border-color: #e7c873;
}
.vem-contextual-cta--commercial {
    background: #123d36;
    color: #fff;
}
.vem-contextual-cta img {
    width: 100%;
    border-radius: 0.7rem;
}
.vem-contextual-cta h2 {
    margin-top: 0;
}
