.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.insight-board {
  min-block-size: calc(100vh - var(--header-height));
  min-block-size: calc(100dvh - var(--header-height));
}
.details-page .insight-board .wrap { width: min(calc(100% - 2 * var(--gutter)), var(--site-width)); }
/* The board opens with the shared light hero (light-hero.css); the list starts under its hairline. */
.insight-content { padding-block: 0 var(--section-space); }
.details-page #v-insights .insight-toolbar { padding-top: 40px; border-top: 1px solid #e3e8ee; }
.insight-toolbar, .insight-filters, .insight-meta, .insight-pagination {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-2);
}
.insight-toolbar { justify-content: space-between; gap: var(--space-4); }
.insight-filters { gap: 8px; }
.insight-filter {
  position: relative;
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  min-height: 44px;
  padding: 10px 18px;
  border: 1px solid var(--line);
  border-radius: var(--button-radius);
  background: white;
  color: var(--muted);
  font-size: 1rem;
  font-weight: var(--fw-strong);
  white-space: nowrap;
}
.insight-filter-count { color: inherit; font-size: .8125rem; font-weight: inherit; font-variant-numeric: tabular-nums; }
.insight-filter:focus-visible { color: #16181c; opacity: 1; }
.insight-filter[aria-pressed="true"] { color: white; background: var(--brand); border-color: var(--brand); opacity: 1; }
.insight-filter[aria-pressed="true"]::after {
  position: absolute;
  inset: auto var(--space-1) 1px;
  height: 3px;
  background: currentColor;
  content: none;
}
.board-button {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  padding: 7px 14px;
  border: 1px solid var(--line);
  border-radius: var(--button-radius);
  background: var(--white);
  color: var(--brand-hover);
  font-size: var(--text-small);
  font-weight: var(--fw-strong);
  line-height: 1.4;
  white-space: nowrap;
}
.board-button:disabled { opacity: .48; cursor: default; }
.insight-result { margin-block: var(--space-4); color: var(--muted); font-size: var(--text-label); font-variant-numeric: tabular-nums; font-weight: var(--fw-body); }
.insight-grid {
  display: grid;
  margin-top: 36px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-content: start;
  gap: 32px 24px;
}
.insight-card { min-width: 0; border: 1px solid var(--line); border-radius: var(--radius-card); background: white; }
.insight-card:has(a:hover) { border-color: #b6c6d6; }
.insight-card-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  border-radius: var(--radius-card);
  text-decoration: none;
}
.insight-card-link:is(:hover, :focus-visible) h2 { color: #247ac6; }
.insight-card-media {
  position: relative;
  container-type: inline-size;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: clip;
  border-radius: var(--radius-card) var(--radius-card) 0 0;
  border-bottom: 1px solid var(--line);
  background-color: var(--white);
}
.insight-media-artwork { position: absolute; inset: 0; width: 100%; height: 100%; }
.insight-thumbnail { object-fit: cover; }
.insight-thumbnail:is([src*="/news-"], [src$="/contact-relocation-notice.jpg"], [src$="/gicus-result-example.png"], [src$="/procurement-process.jpg"]) {
  padding: clamp(var(--space-2), 4cqw, var(--space-4));
  object-fit: contain;
}
/* A certificate needs no coloured ground: the scan rises from the foot of the white frame like a sheet
   laid on a desk, its title and issuer in view. The card's heading names it; the article opens the
   whole document. */
.insight-certificate-cover {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: clamp(18px, 7cqw, 30px);
  background-color: var(--white);
}
.insight-certificate-scan {
  width: 56%;
  height: auto;
  border: 1px solid #e3e8ee;
  border-radius: 4px 4px 0 0;
  box-shadow: 0 18px 40px -18px rgb(26 32 40 / 30%);
}
.insight-card-copy {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-width: 0;
  padding: 24px;
}
.insight-card-more { display: block; margin-top: auto; padding-top: 24px; color: var(--navy); font-size: .875rem; font-weight: var(--fw-strong); }
.insight-card-link:is(:hover, :focus-visible) .insight-card-more { text-decoration: underline; text-underline-offset: 4px; }
.insight-meta { gap: var(--space-1) var(--space-2); color: var(--muted); font-size: 15px; line-height: 1.6; font-variant-numeric: tabular-nums; font-weight: var(--fw-body); }
.insight-category { color: var(--brand); font-weight: var(--fw-strong); }
.insight-card h2 {
  display: -webkit-box;
  margin-top: 14px;
  overflow: hidden;
  color: var(--ink);
  font-size: var(--fs-h3);
  font-weight: var(--fw-heading);
  line-height: 1.4;
  letter-spacing: -.035em;
  text-wrap: balance;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.insight-card p {
  display: -webkit-box;
  margin-top: var(--space-3);
  overflow: hidden;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.75;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  font-weight: var(--fw-body);
}
.board-empty {
  grid-column: 1 / -1;
  padding-block: var(--space-6);
  color: var(--muted);
}
.insight-grid .board-empty {
  border-radius: var(--radius-card);
  background: var(--white);
  text-align: center;
  font-weight: var(--fw-body);
}
.insight-pagination { justify-content: center; gap: var(--space-1); margin-top: var(--space-6); font-variant-numeric: tabular-nums; }
.insight-pagination .board-button {
  width: 40px;
  height: 40px;
  min-height: 40px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #56616e;
  font-size: 17px;
  font-weight: var(--fw-strong);
}
.insight-pagination .board-button:not(:disabled):focus-visible { background: transparent; color: #16181c; }
.insight-pagination .insight-page-control {
  width: 40px;
  height: 40px;
  min-height: 40px;
  margin-inline: 6px;
  border-radius: var(--button-radius);
  background: var(--brand);
  color: #fff;
}
.insight-page-icon {
  display: block;
  flex: none;
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.insight-pagination .insight-page-control:not(:disabled):focus-visible { background: var(--action-hover); color: #fff; }
.insight-pagination .board-button[aria-current="page"] {
  background: var(--brand-paper);
  color: var(--navy);
  font-weight: var(--fw-heading);
}
.insight-page-ellipsis { display: inline-flex; width: 16px; justify-content: center; color: #56616e; font-weight: var(--fw-body); }
.insight-article {
  min-block-size: calc(100svh - var(--header-height) + 64px);
  padding-bottom: var(--section-space);
  background: #fff;
}
.insight-article-header {
  padding-block: clamp(48px, 5.6vw, 80px) clamp(32px, 3.35vw, 48px);
  background: var(--hero-surface);
}
.insight-article-column { max-width: 800px; }
.insight-article-category { color: var(--brand-hover); font-size: var(--text-small); font-weight: var(--fw-strong); }
.insight-article h1 {
  margin-top: var(--space-4);
  color: var(--ink);
  font-size: var(--fs-h1-page);
  font-weight: var(--fw-heading);
  line-height: 1.4;
  letter-spacing: -.04em;
  text-wrap: balance;
}
.insight-article-date {
  display: block;
  margin-top: var(--space-5);
  color: var(--muted);
  font-size: var(--text-small);
  font-variant-numeric: tabular-nums;
  font-weight: var(--fw-body);
}
#v-insights h1[tabindex="-1"]:focus { outline: none; }
.insight-article-body { padding-top: var(--section-space); background: #fff; font-size: 1.125rem; line-height: 1.8; }
.insight-article-summary { color: var(--ink); font-size: 1.1875rem; font-weight: var(--fw-body); line-height: 1.75; }
.insight-article-body > * + * { margin-top: clamp(28px, 2.8vw, 40px); }
.insight-article-text p + p { margin-top: var(--space-5); }
.insight-article-text > * + * { margin-top: 1.25em; }
.insight-article-text :is(h2, h3) { color: #1a2028; line-height: 1.45; letter-spacing: -.035em; }
.insight-article-text h2 { margin-top: 2em; font-size: clamp(1.5rem, 2.2vw, 1.875rem); }
.insight-article-text h3 { margin-top: 1.75em; font-size: clamp(1.25rem, 1.8vw, 1.5rem); }
.insight-article-text > :first-child { margin-top: 0; }
.insight-article-text:empty { display: none; }
.insight-article-text :is(ul, ol) { padding-left: 1.5em; }
.insight-article-text ul { list-style: disc; }
.insight-article-text ol { list-style: decimal; }
.insight-article-text li + li { margin-top: .5em; }
.insight-article-text :is(ul, ol) :is(ul, ol) { margin-top: .5em; }
.insight-article-text blockquote { padding: .4em 0 .4em 1.2em; border-left: 3px solid #8ba9c7; color: #4b5561; font-weight: var(--fw-body); }
.insight-article-text a { color: #256aa6; text-decoration: underline; text-underline-offset: .18em; overflow-wrap: anywhere; }
.insight-article-text [data-youtube-id] iframe { display: block; width: 100%; min-height: 200px; aspect-ratio: 16 / 9; border: 0; background: #000; }
.insight-article-text img { display: block; max-width: 100%; height: auto; margin: 1.5em auto; border-radius: 0; }
.insight-article-text img[data-align='left'] { margin-left: 0; margin-right: auto; }
.insight-article-text img[data-align='center'] { margin-left: auto; margin-right: auto; }
.insight-article-text img[data-align='right'] { margin-left: auto; margin-right: 0; }
.insight-article-text .ql-align-center { text-align: center; }
.insight-article-text .ql-align-right { text-align: right; }
.insight-article-text .ql-align-justify { text-align: justify; }
.insight-article-media { margin-inline: 0; }
.insight-article-image {
  display: block;
  width: 100%;
  height: auto;
  margin-inline: auto;
  object-fit: contain;
}
.insight-article-media--document .insight-article-image { max-width: 560px; }

/* Article images open larger (ImageLightbox). The trigger keeps the image's own layout; a small label
   names the action on hover and focus, and stays in view where there is no hover. */
.insight-zoom-trigger { position: relative; display: block; width: 100%; padding: 0; border: 0; border-radius: 0; background: none; color: inherit; cursor: zoom-in; }
.insight-article-media--document .insight-zoom-trigger { width: fit-content; max-width: 560px; margin-inline: auto; }
.insight-zoom-hint { position: absolute; right: 14px; bottom: 14px; display: inline-flex; align-items: center; gap: 6px; padding: 7px 13px 7px 10px; border-radius: 999px; background: rgb(26 32 40 / 78%); color: #fff; font-size: 13px; font-weight: var(--fw-strong); line-height: 1.3; opacity: 0; transition: opacity 160ms ease; pointer-events: none; }
.insight-zoom-hint svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.insight-zoom-trigger:is(:hover, :focus-visible) .insight-zoom-hint { opacity: 1; }
.insight-zoom-trigger:focus-visible { outline: 2px solid var(--brand); outline-offset: 4px; }
@media (hover: none) { .insight-zoom-hint { opacity: 1; } }
.insight-article-text img[role="button"] { cursor: zoom-in; }
.insight-article-text img[role="button"]:focus-visible { outline: 2px solid var(--brand); outline-offset: 4px; }

.image-lightbox { width: 100vw; max-width: none; height: 100dvh; max-height: none; margin: 0; padding: 0; border: 0; overflow: auto; background: rgb(15 19 24 / 94%); color: #fff; overscroll-behavior: contain; }
.image-lightbox::backdrop { background: transparent; }
html:has(.image-lightbox[open]) { overflow: hidden; }
/* Auto margins centre a fitted image and still let a full-size one scroll from its edges. */
.image-lightbox-stage { position: relative; display: flex; min-width: 100%; min-height: 100%; width: max-content; padding: 72px clamp(16px, 4vw, 48px) 64px; }
.image-lightbox-stage img { display: block; max-width: min(calc(100vw - 2 * clamp(16px, 4vw, 48px)), 1400px); max-height: calc(100dvh - 136px); width: auto; height: auto; margin: auto; border-radius: 4px; background: #fff; box-shadow: 0 30px 80px -30px rgb(0 0 0 / 60%); }
.image-lightbox-stage img[data-zoomable] { cursor: zoom-in; }
.image-lightbox[data-zoomed] .image-lightbox-stage img { max-width: none; max-height: none; cursor: zoom-out; }
.image-lightbox-close { position: fixed; top: 16px; right: 16px; display: grid; width: 48px; height: 48px; place-items: center; padding: 0; border: 1px solid rgb(255 255 255 / 40%); border-radius: 50%; background: rgb(26 32 40 / 70%); color: #fff; cursor: pointer; }
.image-lightbox-close svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.image-lightbox-close:hover { background: rgb(255 255 255 / 16%); }
.image-lightbox-close:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.image-lightbox-hint { position: fixed; bottom: 18px; left: 50%; margin: 0; padding: 6px 14px; border-radius: 999px; background: rgb(26 32 40 / 70%); color: #fff; font-size: 13px; line-height: 1.5; white-space: nowrap; translate: -50% 0; pointer-events: none; }
@media (prefers-reduced-motion: reduce) { .insight-zoom-hint { transition: none; } }
.insight-article-body > .insight-article-actions {
  display: flex;
  justify-content: center;
  margin-block: clamp(48px, 5.6vw, 64px) 16px;
}
.insight-article-back {
  display: inline-flex;
  width: 160px;
  min-height: var(--button-height);
  align-items: center;
  justify-content: center;
  padding: 10px 22px;
  border: 1px solid var(--navy, #1a2028);
  border-radius: var(--button-radius);
  background: #fff;
  color: var(--navy, #1a2028);
  font-size: 16px;
  font-weight: var(--fw-heading);
  line-height: 1.5;
  text-decoration: none;
  transition: background-color 180ms ease, color 180ms ease;
}
@media (hover: hover) and (pointer: fine) {
  .insight-filter:where(:not(:disabled, [aria-disabled="true"], [aria-pressed="true"], :focus-visible)):hover { color: #3b434d; }
  .board-button:not(:disabled):not([aria-disabled="true"]):hover { border-color: var(--button-state-hover-border); background: var(--button-state-hover-bg); }
  .insight-pagination .board-button:not(:disabled):not([aria-disabled="true"]):hover { background: transparent; color: #16181c; }
  .insight-pagination .insight-page-control:not(:disabled):not([aria-disabled="true"]):hover { background: var(--action-hover); color: #fff; }
  .insight-article-back:not([aria-disabled="true"]):hover { border-color: var(--button-state-hover-border); background: var(--button-state-hover-bg); color: var(--navy); text-decoration: none; }
}

@media (max-width: 900px) {
  .insight-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 720px) {
  .insight-card-copy { padding: 20px; }
  .insight-card p { font-size: 16px; }
}

@media (max-width: 600px) {
  .insight-article-body { font-size: 1.0625rem; }
  .insight-article-summary { font-size: 1.125rem; }
  .insight-grid { grid-template-columns: minmax(0, 1fr); }
  .insight-card-link { min-height: 0; }
  .insight-meta { font-size: 13px; }
  .insight-card h2 { margin-top: 10px; line-height: 1.4; }
  .insight-card p { margin-top: var(--space-2); font-size: 1rem; line-height: 1.75; }
  .insight-filters { width: 100%; gap: 8px; }
  .insight-filter { gap: 6px; padding-inline: 14px; font-size: .875rem; }
  .insight-pagination { gap: 3px; margin-top: var(--space-5); }
  .insight-pagination .board-button { width: 40px; height: 44px; min-height: 44px; font-size: 16px; }
  .insight-pagination .insight-page-control { width: 40px; margin-inline: 2px; }
  .insight-page-ellipsis { width: 12px; }
}

@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .insight-media-artwork { transition: scale 360ms cubic-bezier(.22, 1, .36, 1); }
  .insight-card-link:hover .insight-media-artwork { scale: 1.055; }
}
/* The cards rise in turn when the grid reaches the screen, and again whenever a filter or page
   change brings new ones in. A card holding focus is never hidden. */
@media (prefers-reduced-motion: no-preference) {
  .details-page #v-insights[data-detail-observed] .insight-grid:not(.detail-in) > :not(:focus-within) { opacity: 0; }
  .details-page #v-insights .insight-grid.detail-in > * { animation: detail-reveal 640ms cubic-bezier(.22, 1, .36, 1) calc(var(--card, 0) * 80ms) backwards; }
  .details-page #v-insights .insight-grid > :nth-child(2) { --card: 1; }
  .details-page #v-insights .insight-grid > :nth-child(3) { --card: 2; }
  .details-page #v-insights .insight-grid > :nth-child(4) { --card: 3; }
  .details-page #v-insights .insight-grid > :nth-child(5) { --card: 4; }
  .details-page #v-insights .insight-grid > :nth-child(6) { --card: 5; }
}
@media (prefers-reduced-motion: no-preference) and (max-width: 767px) {
  /* One column: each card enters on its own, without waiting for the ones above it. */
  .details-page #v-insights .insight-grid > * { --card: 0; }
}
