/* GHE V8 - shared styles for Home / Turn-Key / Product / Research pages */

:root {
    --ghe-green: #0a6438;
    --ghe-green-2: #097d45;
    --ghe-green-soft: rgba(10, 100, 56, 0.06);
    --ghe-border: #e6ece8;
    --ghe-text: #1f2933;
}

/* ---------- image placeholder ---------- */
.img-placeholder {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 6px;
    background: #eef5f1;
}
.img-placeholder-wide { aspect-ratio: 16 / 9; }
.img-placeholder-banner { aspect-ratio: 3 / 1; border-radius: 0; }
.img-placeholder-square { aspect-ratio: 1 / 1; }
.img-placeholder-tall { aspect-ratio: 3 / 4; }

/* ---------- layout ---------- */
.v8-page { padding-top: 80px; }
.v8-container {
    width: min(1490px, calc(100% - 80px));
    margin: 0 auto;
}
.v8-section { padding: 56px 0; }
.v8-section.alt { background: var(--ghe-green-soft); }

.v8-title {
    font-size: 50px;
    line-height: 62px;
    font-weight: 600;
    color: #000;
    text-align: center;
    margin: 0 0 36px;
}
.v8-h2 {
    font-size: 36px;
    line-height: 46px;
    font-weight: 600;
    color: var(--ghe-green);
    margin: 0 0 20px;
}
.v8-h3 {
    font-size: 28px;
    line-height: 38px;
    font-weight: 600;
    color: #000;
    margin: 28px 0 14px;
}
.v8-subtitle {
    font-size: 22px;
    color: #4b5563;
    text-align: center;
    margin: -20px 0 32px;
}
.v8-text,
.v8-list li {
    font-size: 22px;
    line-height: 34px;
    color: #000;
}
.v8-text { margin: 0 0 14px; }
.v8-text.lead { font-size: 26px; line-height: 38px; }

.v8-list { margin: 0 0 16px; padding-left: 1.3em; }
ul.v8-list.v8-bullets { list-style: disc outside !important; padding-left: 1.6em; }
ul.v8-list.v8-bullets > li { display: list-item !important; list-style: disc outside !important; }
ul.v8-list.v8-bullets > li::marker { color: #000; }
/* Numbered list (1. 2. 3.) with a gap before the number */
ol.v8-list.v8-numbered { list-style: decimal outside !important; margin-left: 24px; padding-left: 1.6em; }
ol.v8-list.v8-numbered > li { display: list-item !important; list-style: decimal outside !important; padding-left: 4px; }
ol.v8-list.v8-numbered > li::marker { color: #000; font-weight: 600; }
.v8-list.v8-indent { margin-left: 32px; }
.v8-list li { margin-bottom: 8px; }
.v8-hl-green { color: #0a8f3c; }
.v8-hl-red { color: #d93025; }
.v8-list.plain { list-style: none; padding-left: 0; }
.v8-list.plain li strong { color: var(--ghe-green); }

.v8-card {
    background: #fff;
    border: 1px solid var(--ghe-border);
    border-radius: 8px;
    padding: 32px;
    box-shadow: 0 12px 30px rgba(10, 100, 56, 0.08);
}
.v8-grid { display: grid; gap: 28px; }
.v8-grid.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.v8-grid.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.v8-grid.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.v8-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: start; }

.v8-fig { margin: 20px 0; }
.v8-fig img { display: block; width: 100%; height: auto; }
.v8-fig figcaption { font-size: 18px; color: #4b5563; margin-top: 8px; text-align: center; }

/* LMD landscape: player cards + chart panels */
.v8-player { border-top: 5px solid var(--ghe-green); }
.v8-player .v8-h3 { margin: 0 0 12px; }
.v8-player .v8-text { margin-bottom: 0; }
.v8-chart-stack { display: flex; flex-direction: column; gap: 28px; margin-top: 36px; }
.v8-chart {
  margin: 0;
  background: #fff;
  border: 1px solid var(--ghe-border);
  border-radius: 8px;
  padding: 24px 28px 20px;
  box-shadow: 0 12px 30px rgba(10, 100, 56, 0.08);
}
.v8-chart img { display: block; float: none; width: 100%; height: auto; margin: 0 auto; }
.v8-chart.v8-landscape-map { margin-bottom: 36px; padding: 0; border: 0; border-radius: 0; box-shadow: none; background: transparent; }
.v8-chart figcaption { font-size: 20px; font-weight: 600; color: #1f2937; text-align: center; margin: 0 0 16px; }
.v8-chart .v8-chart-title { text-align: center; margin: 0 0 16px; }
.v8-chart-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; }
.v8-chart-sub { font-size: 17px; line-height: 24px; font-weight: 600; text-align: center; margin: 0 0 16px; color: #374151; }
.v8-donut { display: block; width: 100%; max-width: 700px; height: auto; margin: 0 auto; overflow: visible; }
.v8-donut .lbl text { font-size: 15px; fill: #1f2937; }
.v8-donut .lbl .nm { font-weight: 600; }
.v8-donut .lbl .vl { font-weight: 700; }
.v8-donut .lbl .ex { font-size: 13px; fill: #4b5563; }
.v8-donut .lbl .ex.tone-pos { fill: #137333; font-weight: 600; }
.v8-donut .lbl .ex.tone-neg { fill: #c5221f; font-weight: 600; }
.v8-donut .lbl .pcin { font-size: 15px; font-weight: 700; }
.v8-donut .lbl .ex.pf { font-size: 15px; font-weight: 700; }
.v8-donut .lbl .ex.pf.sub { fill: #111827; }
.v8-donut .lbl .ex.tone-ok { fill: #1e8e3e; font-size: 15px; }
.v8-donut .lbl .ex.tone-alt { fill: #7b3294; font-size: 15px; }
.v8-donut .lbl .ex.tone-bad { fill: #d93025; font-size: 15px; }
.v8-chart-cost .v8-donut { max-width: 960px; }
.v8-legend { display: none; list-style: none; margin: 16px 0 0; padding: 0; }
.v8-legend li { display: flex; align-items: flex-start; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--ghe-border); font-size: 18px; line-height: 26px; }
.v8-legend li:last-child { border-bottom: 0; }
.v8-legend .sw { flex: 0 0 16px; width: 16px; height: 16px; border-radius: 3px; margin-top: 5px; }
.v8-legend .lb { flex: 1 1 auto; min-width: 0; }
.v8-legend .nt { display: block; font-style: normal; font-size: 16px; line-height: 24px; color: #4b5563; }
.v8-legend .nt.pos { color: #137333; font-weight: 600; }
.v8-legend .nt.neg { color: #c5221f; font-weight: 600; }
.v8-legend .nt.ok { color: #1e8e3e; }
.v8-legend .nt.alt { color: #7b3294; }
.v8-legend .nt.bad { color: #d93025; }
.v8-legend .pc { flex: 0 0 auto; font-weight: 700; color: #111827; }
.v8-chart-notes { margin: 28px 0 0; padding: 20px 0 0 1.4em; border-top: 1px solid var(--ghe-border); font-size: 18px; line-height: 28px; color: #374151; }
.v8-chart-notes li { margin-bottom: 8px; }
.v8-chart-pair { align-items: start; }
.v8-chart-cost { display: block; }
@media (max-width: 991px) { .v8-chart-pair { grid-template-columns: 1fr; gap: 32px; } }
@media (max-width: 767px) {
  .v8-donut { max-width: 260px; }
  .v8-donut .lbl { display: none; }
  .v8-legend { display: block; }
}
@media (max-width: 767px) { .v8-chart { padding: 16px; } .v8-chart figcaption { font-size: 18px; } }

/* highlighted numbers / callouts */
.v8-callout {
    border-left: 5px solid var(--ghe-green);
    background: var(--ghe-green-soft);
    padding: 18px 24px;
    margin: 20px 0;
    border-radius: 0 6px 6px 0;
}
.v8-stat { text-align: center; padding: 24px 16px; }
.v8-stat .num { font-size: 48px; font-weight: 700; color: var(--ghe-green); line-height: 56px; }
.v8-stat .label { font-size: 20px; color: #000; }

/* ---------- table ---------- */
.v8-table-wrap { overflow-x: auto; margin: 20px 0; }
.v8-table { width: 100%; border-collapse: collapse; font-size: 20px; }
.v8-table th,
.v8-table td { border: 1px solid #cfd8d3; padding: 12px 16px; text-align: left; }
.v8-table thead th { background: var(--ghe-green); color: #fff; font-weight: 600; }
.v8-table tbody tr:nth-child(even) { background: var(--ghe-green-soft); }
.v8-table td.num,
.v8-table th.num { text-align: center; }

/* ---------- key/value rows (specs) ---------- */
.v8-kv { margin: 0 0 16px; }
.v8-kv .row-item {
    display: flex;
    gap: 16px;
    padding: 10px 0;
    border-bottom: 1px dashed #cfd8d3;
    font-size: 22px;
    line-height: 32px;
}
.v8-kv .k { flex: 0 0 300px; font-weight: 600; color: var(--ghe-green); }
.v8-kv .v { flex: 1; min-width: 0; }

/* ---------- tabs (Turn-Key sub navigation) ---------- */
.v8-tabs {
    position: sticky;
    top: 80px;
    z-index: 900;
    background: #fff;
    border-bottom: 1px solid var(--ghe-border);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.04);
}
.v8-tabs ul {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin: 0;
    padding: 12px 16px;
    list-style: none;
}
.v8-tabs a {
    display: block;
    padding: 10px 22px;
    border: 2px solid var(--ghe-green);
    border-radius: 999px;
    font-size: 20px;
    font-weight: 600;
    color: var(--ghe-green);
    background: #fff;
}
.v8-tabs a:hover,
.v8-tabs a.active {
    color: #fff;
    background: var(--ghe-green);
}
/* Turn-Key: one slim sticky bar (title + anchors) under the fixed header */
/* common.css sets #sitecontent{overflow:hidden}, which breaks position:sticky; clip does not */
#sitecontent.bx-wrapper { overflow: clip; }
.v8-tabs.bar {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}
.v8-tabs.bar .bar-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 8px 0; }
.v8-tabs.bar .bar-title { font-size: 22px; font-weight: 700; color: var(--ghe-green); white-space: nowrap; }
.v8-tabs.bar ul { display: flex; gap: 8px; margin: 0; padding: 0; flex-wrap: nowrap; }
.v8-tabs.bar a { padding: 4px 18px; font-size: 16px; line-height: 24px; border-width: 1.5px; }
.v8-anchor { scroll-margin-top: 140px; }

/* Fixed header offset for the article page and the News & Stories list page */
#article, #storiesList { padding-top: 80px; }

.report-list-section { border-bottom: 2px solid rgba(10, 100, 56, 0.35); }

/* ---------- product ---------- */
.v8-product {
    padding: 48px 0;
    border-bottom: 1px solid var(--ghe-border);
}
.v8-product:nth-of-type(even) { background: var(--ghe-green-soft); }
.v8-product .model {
    display: inline-block;
    padding: 4px 16px;
    border-radius: 999px;
    background: var(--ghe-green);
    color: #fff;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
}
.v8-product h2 { font-size: 38px; font-weight: 600; margin: 0 0 8px; color: #000; }
.v8-product .tagline { font-size: 24px; color: #4b5563; margin: 0 0 20px; }
.v8-product .v8-split { grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); gap: 56px; align-items: center; }
.v8-product:nth-of-type(even) .v8-split { grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr); }
.v8-product:nth-of-type(even) .v8-fig { order: -1; }
.v8-product .v8-fig {
    position: relative;
    overflow: hidden;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 340px;
    padding: 36px;
    background: radial-gradient(ellipse at 50% 38%, #fff 0%, #f4f8f6 62%, #e7efeb 100%);
    border: 1px solid var(--ghe-border);
    border-radius: 16px;
    box-shadow: 0 16px 36px rgba(10, 100, 56, 0.10);
}
.v8-product .v8-fig::before {
    content: attr(data-model);
    position: absolute;
    right: 18px;
    bottom: 6px;
    font-size: 84px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: 2px;
    color: rgba(10, 100, 56, 0.07);
    pointer-events: none;
}
.v8-product .v8-fig img {
    position: relative;
    width: auto;
    max-width: 88%;
    max-height: 340px;
    object-fit: contain;
    filter: drop-shadow(0 14px 14px rgba(0, 0, 0, 0.18));
}
/* opaque white-background photos: blend the white into the card gradient, no drop-shadow box */
#gl102 .v8-fig img,
#w563 .v8-fig img,
#snp20 .v8-fig img { mix-blend-mode: multiply; filter: none; }
.v8-product:nth-of-type(even) .v8-fig::before { right: auto; left: 18px; }

/* Advantages: circled numbers + hairline separators */
.v8-product .v8-adv { list-style: none; margin: 0 0 8px; padding: 0; counter-reset: adv; }
.v8-product .v8-adv > li {
    position: relative;
    counter-increment: adv;
    margin: 0;
    padding: 12px 0 12px 48px;
    border-bottom: 1px solid var(--ghe-border);
}
.v8-product .v8-adv > li:last-child { border-bottom: 0; }
.v8-product .v8-adv > li::before {
    content: counter(adv);
    position: absolute;
    left: 0;
    top: 14px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--ghe-green-soft);
    border: 1.5px solid var(--ghe-green);
    color: var(--ghe-green);
    font-size: 16px;
    font-weight: 700;
    line-height: 29px;
    text-align: center;
}
.v8-product .v8-adv > li > strong { color: #0b3d24; }

/* Applications: pill tags */
.v8-product .v8-chips { display: flex; flex-wrap: wrap; gap: 10px 12px; margin: 0; padding: 0; list-style: none; }
.v8-product .v8-chips > li {
    padding: 6px 16px;
    border: 1.5px solid rgba(10, 100, 56, 0.35);
    border-radius: 999px;
    background: #fff;
    color: var(--ghe-green);
    font-size: 18px;
    line-height: 26px;
    font-weight: 500;
}

/* ---------- home: roadmap / patents / partners ---------- */
/* About GHE: centered lead, then two 2-column rows (Vision/Mission, Patents/Solutions) */
.v8-about-lead { max-width: 980px; margin: -12px auto 0; text-align: center; color: #374151; }
.v8-about-lead strong { color: var(--ghe-green); }
.v8-about-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
    margin-top: 40px;
}
.v8-about-block {
    background: #fff;
    border: 1px solid var(--ghe-border);
    border-radius: 8px;
    padding: 32px 36px;
    box-shadow: 0 12px 30px rgba(10, 100, 56, 0.08);
}
.v8-about-block .v8-h2 {
    font-size: 30px;
    line-height: 40px;
    margin-bottom: 18px;
    padding-bottom: 14px;
    border-bottom: 2px solid var(--ghe-border);
}
.v8-about-block .v8-text { margin-bottom: 0; }
.v8-about-block .v8-text strong { color: var(--ghe-green); }
/* Vision / Mission: statement cards with a green accent bar */
.v8-about-block.is-statement {
    border-left: 5px solid var(--ghe-green);
    background: linear-gradient(135deg, rgba(10, 100, 56, 0.05), #fff 60%);
}
.v8-about-block.is-statement .v8-h2 { border-bottom: 0; padding-bottom: 0; margin-bottom: 12px; }

/* Patents / Solutions: compact rows, abbreviation as a fixed-width badge */
.v8-pill-list { list-style: none; margin: 0; padding: 0; }
.v8-pill-list li {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 12px 0;
    font-size: 22px;
    line-height: 30px;
    color: #000;
    border-bottom: 1px dashed var(--ghe-border);
}
.v8-pill-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.v8-pill-list li strong {
    flex: 0 0 92px;
    padding: 4px 0;
    border-radius: 6px;
    background: var(--ghe-green);
    color: #fff;
    font-size: 18px;
    line-height: 26px;
    letter-spacing: 0.5px;
    text-align: center;
}
@media (max-width: 991px) {
    .v8-about-grid { grid-template-columns: 1fr; gap: 20px; margin-top: 24px; }
}
@media (max-width: 767px) {
    .v8-about-lead { margin-top: -8px; }
    .v8-about-block { padding: 20px; }
    .v8-about-block .v8-h2 { margin-bottom: 12px; padding-bottom: 10px; }
    .v8-pill-list li { gap: 12px; padding: 10px 0; font-size: 17px; line-height: 24px; }
    .v8-pill-list li strong { flex-basis: 64px; font-size: 15px; line-height: 22px; }
}
.v8-todo {
    border: 2px dashed rgba(10, 100, 56, 0.4);
    border-radius: 8px;
    padding: 28px;
    text-align: center;
    color: var(--ghe-green);
    font-size: 22px;
    background: rgba(255, 255, 255, 0.7);
}

/* ---------- research reports ---------- */
.v8-report-list { list-style: none; margin: 0; padding: 0; counter-reset: report; }
.v8-report {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 22px 20px;
    background: #fff;
    border-bottom: 1px solid var(--ghe-border);
    box-shadow: inset 0 0 0 var(--ghe-green);
    transition: background 0.15s ease, box-shadow 0.15s ease;
}
.v8-report:first-child { border-top: 1px solid var(--ghe-border); }
.v8-report:hover { background: #f4f9f6; box-shadow: inset 4px 0 0 var(--ghe-green); }
.v8-report .idx {
    flex: 0 0 auto;
    min-width: 44px;
    font-size: 32px;
    font-weight: 700;
    line-height: 1;
    color: var(--ghe-green);
    opacity: 0.35;
    text-align: center;
    font-variant-numeric: tabular-nums;
}
.v8-report .body { flex: 1; min-width: 0; }
.v8-report .meta { margin: 0 0 4px; font-size: 16px; line-height: 24px; color: #6b7280; }
.v8-report .head { display: flex; align-items: center; gap: 20px; }
.v8-report .name { flex: 1; min-width: 0; font-size: 24px; line-height: 34px; font-weight: 600; color: #000; margin: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.v8-report .name a { display: block; overflow: hidden; text-overflow: ellipsis; }
.v8-report .head .v8-btn { flex: 0 0 auto; padding: 6px 20px; font-size: 18px; white-space: nowrap; }
.v8-report .head button.v8-btn { border: 0; cursor: pointer; }
.v8-report .cat { display: inline-block; font-size: 16px; padding: 2px 12px; border-radius: 999px; background: var(--ghe-green-soft); color: var(--ghe-green); margin-right: 8px; }
.v8-report .excerpt { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; font-size: 18px; line-height: 28px; color: #4b5563; margin: 6px 0 0; }
.v8-btn {
    display: inline-block;
    padding: 10px 24px;
    border-radius: 4px;
    background: linear-gradient(180deg, var(--ghe-green) 0%, var(--ghe-green-2) 100%);
    color: #fff !important;
    font-size: 20px;
    font-weight: 600;
}
.v8-btn.disabled { background: #cfd8d3; color: #4b5563 !important; cursor: default; }
.v8-report .name a { color: inherit; }
.v8-report .name a:hover { color: var(--ghe-green); }

/* Research report detail page */
.report-article-section { padding-top: 0; }
.v8-report-article .back { margin: 0 0 12px; font-size: 18px; }
.v8-report-article .back a { color: var(--ghe-green); }
.v8-report-article .meta { margin: 0 0 20px; }
.v8-report-article .meta .cat { display: inline-block; font-size: 16px; padding: 2px 12px; border-radius: 999px; background: var(--ghe-green-soft); color: var(--ghe-green); margin-right: 8px; }
.v8-report-article .meta-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 0; margin: 0 0 32px; border-top: 1px solid var(--ghe-border); border-bottom: 1px solid var(--ghe-border); }
.v8-report-article .meta-bar .date { font-size: 18px; color: #4b5563; }
.v8-report-article .meta-bar button.v8-btn { border: 0; cursor: pointer; }
.v8-report-article .body { font-size: 22px; line-height: 38px; color: #000; margin-bottom: 48px; }
.v8-report-article .body p { margin: 0 0 22px; }
.v8-report-article .body h2, .v8-report-article .body h3, .v8-report-article .body h4 { color: var(--ghe-green); font-weight: 700; line-height: 1.35; margin: 36px 0 14px; }
.v8-report-article .body h2 { font-size: 30px; }
.v8-report-article .body h3 { font-size: 26px; }
.v8-report-article .body h4 { font-size: 22px; }
.v8-report-article .body ul, .v8-report-article .body ol { margin: 0 0 22px; padding-left: 1.6em; }
.v8-report-article .body li { margin-bottom: 8px; }
.v8-report-article .body blockquote { margin: 0 0 22px; padding: 4px 0 4px 20px; color: #374151; }
.v8-report-article .body img { display: block; max-width: 100%; height: auto; margin: 24px auto; }
.v8-report-article .body table { width: 100%; border-collapse: collapse; margin: 0 0 22px; font-size: 20px; }
.v8-report-article .body th, .v8-report-article .body td { border: 1px solid var(--ghe-border); padding: 8px 12px; text-align: left; }
/* End-of-article band: full width, tinted, closed by a green rule so it never blends into the white footer */
.report-end { background: #eef5f1; border-top: 1px solid var(--ghe-border); padding: 44px 0 40px; }
.report-end-title { margin: 0 0 20px; font-size: 20px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ghe-green); }
.report-pager { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.report-pager .card { display: flex; flex-direction: column; gap: 6px; padding: 22px 26px; background: #fff; border: 1px solid var(--ghe-border); border-radius: 10px; color: #000; transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease; }
.report-pager a.card:hover, .report-pager a.card:focus { border-color: var(--ghe-green); box-shadow: 0 8px 20px rgba(10, 100, 56, 0.12); transform: translateY(-2px); }
.report-pager .card.next { text-align: right; }
.report-pager .card .dir { font-size: 16px; font-weight: 600; color: var(--ghe-green); }
.report-pager .card .arrow { display: inline-block; transition: transform 0.15s ease; }
.report-pager a.card.prev:hover .arrow { transform: translateX(-4px); }
.report-pager a.card.next:hover .arrow { transform: translateX(4px); }
.report-pager .card .ttl { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; font-size: 22px; line-height: 30px; font-weight: 600; }
.report-pager .card .date { font-size: 16px; color: #6b7280; margin-top: auto; }
.report-pager .card.empty { background: transparent; border-style: dashed; color: #9ca3af; }
.report-pager .card.empty .dir { color: #9ca3af; }
.report-pager .card.empty .ttl { font-size: 18px; font-weight: 400; }
.report-end-all { margin: 26px 0 0; text-align: center; font-size: 18px; }
.report-end-all a { color: var(--ghe-green); font-weight: 600; border-bottom: 1px solid currentColor; }
.ghe-nocopy { -webkit-user-select: none; -ms-user-select: none; user-select: none; -webkit-touch-callout: none; }
.report-modal { position: fixed; inset: 0; z-index: 2000; display: flex; align-items: center; justify-content: center; padding: 16px; background: rgba(0, 0, 0, 0.55); overflow-y: auto; }
.report-modal[hidden] { display: none; }
.report-modal-box { position: relative; width: min(720px, 100%); max-height: 100%; overflow-y: auto; background: #fff; border-radius: 8px; padding: 32px; }
.report-modal-box .close { position: absolute; top: 8px; right: 14px; border: 0; background: none; font-size: 32px; line-height: 1; cursor: pointer; color: #4b5563; }
.report-modal-box .row > div { margin-bottom: 14px; }
.report-modal-box .dl-error { color: #b00020; font-size: 18px; margin: 0 0 12px; }
.report-modal-box button.v8-btn { border: 0; cursor: pointer; }
.report-modal-box .form-control { font-size: 20px; line-height: 28px; padding: 12px 16px; min-height: 58px; border-radius: 6px; }
.report-modal-box .form-control::placeholder { font-size: 18px; }
.contact-honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
@media print { .v8-report-article .body { display: none !important; } }
@media (max-width: 767px) {
    .v8-report-article .body { font-size: 18px; line-height: 30px; }
    .v8-report-article .meta-bar { flex-wrap: wrap; }
    .report-end { padding: 32px 0 28px; }
    .report-pager { grid-template-columns: 1fr; gap: 14px; }
    .report-pager .card.next { text-align: left; }
    .report-pager .card { padding: 18px; }
    .report-pager .card .ttl { font-size: 18px; line-height: 26px; }
    .report-modal-box { padding: 24px 16px; }
}

/* ---------- news & stories (home) ---------- */
/* Same block style as the News & Stories page: bordered box, corner art, green More button bottom-right */
.v8-news-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.v8-news-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 318px;
    background: #fff;
    border: 1px solid rgba(187, 187, 187, 1);
    padding: 40px 40px 100px;
    overflow: hidden;
}
.v8-news-card > * { position: relative; z-index: 1; }
.v8-news-card .bg { position: absolute; left: 0; bottom: 0; width: 259px; height: 190px; z-index: 0; pointer-events: none; }
#storiesNav .v8-news-card a.more {
    display: block;
    text-indent: 0;
    position: absolute;
    right: 0;
    bottom: 0;
    width: 170px;
    height: 80px;
    margin: 0;
    text-align: center;
    line-height: 80px;
    font-size: 24px;
    font-weight: 400;
    color: #fff;
    text-decoration: none;
    background: linear-gradient(180deg, rgba(10, 100, 56, 1) 0%, rgba(9, 125, 69, 1) 100%);
}
#storiesNav .v8-news-card a.more:hover, #storiesNav .v8-news-card a.more:focus { color: #fff; filter: brightness(1.1); }
.v8-news-card h3 {
    font-size: 30px;
    line-height: 40px;
    font-weight: 700;
    color: rgba(51, 51, 51, 1);
    margin: 0 0 10px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}
.v8-news-card p {
    font-size: 26px;
    line-height: 34px;
    color: rgba(51, 51, 51, 1);
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
    flex: 1;
}

@media (max-width: 767px) {
    .v8-news-card { min-height: 0; padding: 20px 20px 70px; }
    .v8-news-card h3 { font-size: 20px; line-height: 30px; }
    .v8-news-card p { font-size: 20px; line-height: 30px; }
    .v8-news-card .bg { width: 130px; height: 95px; }
    #storiesNav .v8-news-card a.more { width: 80px; height: 40px; line-height: 40px; font-size: 20px; }
}

/* ---------- contact (checkbox group) ---------- */
#contact .contact-interests { margin: 4px 0 20px; }
#contact .contact-interests legend { font-size: 22px; font-weight: 600; color: #000; margin-bottom: 8px; }
#contact .contact-interests .form-check { display: flex; align-items: center; gap: 10px; min-height: 0; padding-left: 0; margin-bottom: 8px; }
#contact .contact-interests .form-check-label { font-size: 20px; line-height: 28px; color: #1f2933; margin: 0; cursor: pointer; }
#contact .contact-interests .form-check-input { flex: 0 0 20px; float: none; width: 20px; height: 20px; margin: 0; cursor: pointer; }
#contact .contact-block-form { height: auto; }
#contact .v8-title { color: #fff; margin-bottom: 0; }

/* ---------- home: unified secondary headings ---------- */
#aboutGhe .v8-h2,
#pcd .v8-h2,
#smas .v8-h2,
#snp .v8-h2,
#tc8 .v8-h2,
#lmdLandscape .v8-h3,
#storiesNav .v8-news-card h3 { font-size: 30px; line-height: 40px; }

/* ---------- responsive ---------- */
@media (max-width: 1024px) {
    .v8-title { font-size: 38px; line-height: 48px; }
    .v8-h2 { font-size: 30px; line-height: 40px; }
    .v8-grid.cols-3,
    .v8-grid.cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    #lmdLandscape .v8-grid.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
    #lmdLandscape .v8-player { padding: 20px; }
    .v8-split,
    .v8-product .v8-split,
    .v8-product:nth-of-type(even) .v8-split { grid-template-columns: 1fr; gap: 24px; }
    .v8-product:nth-of-type(even) .v8-fig { order: 0; }
    .v8-product .v8-fig { min-height: 0; padding: 24px; }
    .v8-product .v8-fig img { max-height: 300px; }
    .v8-product .v8-fig::before { font-size: 56px; }
    .v8-kv .k { flex-basis: 200px; }
    .v8-news-grid { grid-template-columns: 1fr; }
}
@media (max-width: 767px) {
    #article, #storiesList { padding-top: 70px; }
    .v8-page { padding-top: 70px; }
    .v8-container { width: calc(100% - 32px); }
    .v8-section { padding: 32px 0; }
    .v8-title { font-size: 28px; line-height: 36px; margin-bottom: 24px; }
    .v8-h2 { font-size: 24px; line-height: 32px; }
    .v8-h3 { font-size: 21px; line-height: 30px; }
    #aboutGhe .v8-h2,
    #pcd .v8-h2,
    #smas .v8-h2,
    #snp .v8-h2,
    #tc8 .v8-h2,
    #lmdLandscape .v8-h3,
    #storiesNav .v8-news-card h3 { font-size: 22px; line-height: 30px; }
    .v8-text, .v8-list li, .v8-text.lead { font-size: 18px; line-height: 28px; }
    .v8-card { padding: 20px; }
    .v8-grid.cols-2, .v8-grid.cols-3, .v8-grid.cols-4,
    #lmdLandscape .v8-grid.cols-3 { grid-template-columns: 1fr; }
    .v8-kv .row-item { flex-direction: column; gap: 2px; font-size: 18px; }
    .v8-kv .k { flex-basis: auto; }
    .v8-table { font-size: 16px; }
    .v8-table th, .v8-table td { padding: 8px 10px; }
    .v8-tabs { top: 64px; }
    .v8-tabs a { padding: 6px 14px; font-size: 16px; }
    .v8-anchor { scroll-margin-top: 120px; }
    ol.v8-list.v8-numbered { margin-left: 12px; }
    .v8-tabs.bar .bar-inner { padding: 6px 0; gap: 8px; }
    .v8-tabs.bar .bar-title { font-size: 15px; }
    .v8-tabs.bar a { padding: 3px 10px; font-size: 13px; }
    .v8-tabs.bar ul { gap: 4px; }
    /* 8 product anchors do not fit one row on phones: stack title above, allow wrap */
    .v8-tabs.bar .bar-inner { flex-wrap: wrap; justify-content: center; }
    .v8-tabs.bar ul { flex-wrap: wrap; justify-content: center; }
    .v8-product h2 { font-size: 28px; }
    .v8-report { flex-wrap: wrap; align-items: flex-start; gap: 8px 14px; padding: 16px 8px; }
    .v8-report .idx { min-width: 0; font-size: 24px; }
    .v8-report .body { flex: 1 1 calc(100% - 50px); }
    .v8-report .name { font-size: 20px; line-height: 28px; }
    .v8-report .excerpt { font-size: 16px; line-height: 24px; }
    .v8-report .head { gap: 10px; }
    .v8-report .head .v8-btn { padding: 4px 12px; font-size: 15px; }
    .v8-stat .num { font-size: 36px; }
}

.v8-donut.v8-callout-pie { max-width: 640px; }
.v8-donut.v8-callout-pie .lbl text { font-size: 15px; }
.v8-donut.v8-callout-pie .lbl .ex { font-size: 13px; }
.v8-chart + .v8-text { margin-top: 24px; }
@media (max-width: 767px) {
  .v8-donut.v8-callout-pie { max-width: 100%; }
  .v8-donut.v8-callout-pie .lbl { display: block; }
}
