/* Insights listing bento 1.0.14 — full-bleed navy title+filter band, adaptive heights, compressed chrome */
html[data-wf-page="6997c2030c8fa0e1c7db29df"],
html.th-insights-bento {
  --th-navy: #0d2c3c;
  --th-navy-deep: #0a2433;
  --th-panel: #102f3e;
  --th-ink: #f2f5f4;
  --th-muted: #c3d2d8;
  --th-teal: #8fd0eb;
  --th-accent: #167eaa;
  --th-amber: #d4a43a;
  --th-amber-ink: #0d2c3c;
  --th-line: #294b5a;
  --th-radius: 12px;
  --th-gap: 12px;
  --th-chip-inset: 10px;
  --th-scrim: linear-gradient(to top, rgba(10,36,51,.92) 0%, rgba(10,36,51,.72) 42%, rgba(10,36,51,0) 100%);
}

/* Compact page title — full-bleed navy band (no white max-width island) */
html[data-wf-page="6997c2030c8fa0e1c7db29df"] .th-insights-hero {
  position: relative !important;
  width: 100% !important;
  max-width: none !important;
  height: auto !important;
  margin: 0 !important;
  padding: 12px max(16px, calc((100vw - 1280px) / 2 + 16px)) 4px !important;
  overflow: visible !important;
  clip: auto !important;
  white-space: normal !important;
  background: #0d2c3c !important;
  background-color: #0d2c3c !important;
  box-sizing: border-box !important;
}
html[data-wf-page="6997c2030c8fa0e1c7db29df"] .th-insights-hero-heading {
  margin: 0 !important;
  color: #f2f5f4 !important;
  font: 700 clamp(24px, 2.8vw, 36px)/1.15 Roboto, sans-serif !important;
  letter-spacing: -0.02em !important;
  text-align: center !important;
}
html[data-wf-page="6997c2030c8fa0e1c7db29df"] .th-insights-hero-subtitle {
  display: none !important;
}
html.thp-theme-dark[data-wf-page="6997c2030c8fa0e1c7db29df"] .th-insights-hero {
  background: #0a2433 !important;
  background-color: #0a2433 !important;
}
html.thp-theme-dark[data-wf-page="6997c2030c8fa0e1c7db29df"] .th-insights-hero-heading {
  color: #f2f5f4 !important;
}

/* Count + sort + filters — same full-bleed navy band */
html[data-wf-page="6997c2030c8fa0e1c7db29df"] .th-library-controls {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  background: #0d2c3c !important;
  background-color: #0d2c3c !important;
  border: 0 !important;
  border-bottom: none !important;
  padding: 2px max(16px, calc((100vw - 1280px) / 2 + 16px)) 10px !important;
  box-sizing: border-box !important;
}
html.thp-theme-dark[data-wf-page="6997c2030c8fa0e1c7db29df"] .th-library-controls {
  background: #0a2433 !important;
  background-color: #0a2433 !important;
}
html[data-wf-page="6997c2030c8fa0e1c7db29df"] .th-library-controls-inner {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 6px 12px !important;
  max-width: 1280px;
  margin: 0 auto;
}
html[data-wf-page="6997c2030c8fa0e1c7db29df"] .th-library-count {
  margin: 0 !important;
  color: #c3d2d8 !important;
  font: 500 12px/1.2 Roboto, sans-serif !important;
}
html.thp-theme-dark[data-wf-page="6997c2030c8fa0e1c7db29df"] .th-library-count {
  color: #c3d2d8 !important;
}
html[data-wf-page="6997c2030c8fa0e1c7db29df"] .th-library-sort {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
}
html[data-wf-page="6997c2030c8fa0e1c7db29df"] .th-library-sort label {
  margin: 0 !important;
  color: #c3d2d8 !important;
  font: 500 13px/1.2 Roboto, sans-serif !important;
}
html.thp-theme-dark[data-wf-page="6997c2030c8fa0e1c7db29df"] .th-library-sort label {
  color: #c3d2d8 !important;
}
html[data-wf-page="6997c2030c8fa0e1c7db29df"] .th-library-sort select {
  appearance: none;
  -webkit-appearance: none;
  margin: 0;
  padding: 6px 30px 6px 10px;
  border: 1px solid rgba(13, 44, 60, 0.18);
  border-radius: 8px;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%230d2c3c' d='M1 1l5 5 5-5'/%3E%3C/svg%3E") no-repeat right 10px center;
  color: var(--th-navy);
  font: 500 13px/1.2 Roboto, sans-serif;
  cursor: pointer;
}
html.thp-theme-dark[data-wf-page="6997c2030c8fa0e1c7db29df"] .th-library-sort select {
  background-color: #102f3e;
  border-color: rgba(195, 210, 216, 0.25);
  color: #f2f5f4;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23c3d2d8' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
}
html[data-wf-page="6997c2030c8fa0e1c7db29df"] .th-library-sort select:focus-visible {
  outline: 3px solid #52a9ce;
  outline-offset: 2px;
}


/* Type chips + year + clear (restored filters) */
html[data-wf-page="6997c2030c8fa0e1c7db29df"] .th-library-controls-inner {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 6px 10px !important;
  max-width: 1280px;
  margin: 0 auto;
}
html[data-wf-page="6997c2030c8fa0e1c7db29df"] .th-library-categories {
  display: flex !important;
  flex: 1 1 auto;
  flex-wrap: wrap !important;
  gap: 8px !important;
  align-items: center !important;
  order: 1;
}
html[data-wf-page="6997c2030c8fa0e1c7db29df"] .th-library-category {
  min-height: 30px !important;
  padding: 5px 12px !important;
  border: 1px solid rgba(242, 245, 244, 0.35) !important;
  border-radius: 999px !important;
  background: transparent !important;
  color: #f2f5f4 !important;
  cursor: pointer;
  font: 600 13px/1.2 Roboto, sans-serif !important;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
html[data-wf-page="6997c2030c8fa0e1c7db29df"] .th-library-category:hover {
  border-color: #8fd0eb !important;
  color: #8fd0eb !important;
  background: rgba(143, 208, 235, 0.08) !important;
}
html[data-wf-page="6997c2030c8fa0e1c7db29df"] .th-library-category[aria-pressed="true"] {
  border-color: #167eaa !important;
  background: #167eaa !important;
  color: #fff !important;
}
html[data-wf-page="6997c2030c8fa0e1c7db29df"] .th-library-category:focus-visible {
  outline: 3px solid #52a9ce;
  outline-offset: 2px;
}
html.thp-theme-dark[data-wf-page="6997c2030c8fa0e1c7db29df"] .th-library-category {
  background: transparent !important;
  border-color: rgba(195, 210, 216, 0.35) !important;
  color: #f2f5f4 !important;
}
html.thp-theme-dark[data-wf-page="6997c2030c8fa0e1c7db29df"] .th-library-category:hover {
  border-color: #8fd0eb !important;
  color: #8fd0eb !important;
  background: rgba(143, 208, 235, 0.08) !important;
}
html.thp-theme-dark[data-wf-page="6997c2030c8fa0e1c7db29df"] .th-library-category[aria-pressed="true"] {
  border-color: #167eaa !important;
  background: #167eaa !important;
  color: #fff !important;
}
html[data-wf-page="6997c2030c8fa0e1c7db29df"] .th-library-toolbar {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 6px 10px !important;
  margin-left: auto;
  order: 2;
}
html[data-wf-page="6997c2030c8fa0e1c7db29df"] .th-library-toolbar .th-library-count {
  margin: 0 !important;
  white-space: nowrap;
  font: 500 12px/1.2 Roboto, sans-serif !important;
}
html[data-wf-page="6997c2030c8fa0e1c7db29df"] .th-library-select,
html[data-wf-page="6997c2030c8fa0e1c7db29df"] .th-library-year {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
}
html[data-wf-page="6997c2030c8fa0e1c7db29df"] .th-library-select label,
html[data-wf-page="6997c2030c8fa0e1c7db29df"] .th-library-year label {
  margin: 0 !important;
  color: #c3d2d8 !important;
  font: 500 13px/1.2 Roboto, sans-serif !important;
}
html.thp-theme-dark[data-wf-page="6997c2030c8fa0e1c7db29df"] .th-library-select label,
html.thp-theme-dark[data-wf-page="6997c2030c8fa0e1c7db29df"] .th-library-year label {
  color: #c3d2d8 !important;
}
html[data-wf-page="6997c2030c8fa0e1c7db29df"] .th-library-select select,
html[data-wf-page="6997c2030c8fa0e1c7db29df"] .th-library-year select {
  appearance: none;
  -webkit-appearance: none;
  margin: 0;
  padding: 6px 30px 6px 10px;
  border: 1px solid rgba(13, 44, 60, 0.18);
  border-radius: 8px;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%230d2c3c' d='M1 1l5 5 5-5'/%3E%3C/svg%3E") no-repeat right 10px center;
  color: #0d2c3c;
  font: 500 13px/1.2 Roboto, sans-serif;
  cursor: pointer;
}
html.thp-theme-dark[data-wf-page="6997c2030c8fa0e1c7db29df"] .th-library-select select,
html.thp-theme-dark[data-wf-page="6997c2030c8fa0e1c7db29df"] .th-library-year select {
  background-color: #102f3e;
  border-color: rgba(195, 210, 216, 0.25);
  color: #f2f5f4;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23c3d2d8' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
}
html[data-wf-page="6997c2030c8fa0e1c7db29df"] .th-library-select select:focus-visible,
html[data-wf-page="6997c2030c8fa0e1c7db29df"] .th-library-year select:focus-visible {
  outline: 3px solid #52a9ce;
  outline-offset: 2px;
}
html[data-wf-page="6997c2030c8fa0e1c7db29df"] .th-library-summary {
  display: flex !important;
  width: auto;
  flex: 0 0 auto;
  order: 3;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  min-height: 0;
  margin-left: 0;
}
html[data-wf-page="6997c2030c8fa0e1c7db29df"] .th-library-summary:has(.th-library-count) {
  /* count lives in toolbar in 1.0.7; keep clear inline */
}
html[data-wf-page="6997c2030c8fa0e1c7db29df"] .th-library-clear {
  padding: 0;
  border: 0;
  background: transparent;
  color: #8fd0eb !important;
  cursor: pointer;
  font: 700 13px/1.2 Roboto, sans-serif;
  text-decoration: underline;
  text-underline-offset: 3px;
}
html[data-wf-page="6997c2030c8fa0e1c7db29df"] .th-library-clear[hidden] { display: none !important; }
html.thp-theme-dark[data-wf-page="6997c2030c8fa0e1c7db29df"] .th-library-clear {
  color: #8fd0eb !important;
}
html[data-wf-page="6997c2030c8fa0e1c7db29df"] .th-library-empty {
  width: 100%;
  order: 4;
  margin: 8px 0 0;
  padding: 18px 16px;
  border: 1px dashed rgba(242, 245, 244, 0.28);
  border-radius: 12px;
  background: rgba(16, 47, 62, 0.65);
  color: #f2f5f4;
  font: 500 14px/1.4 Roboto, sans-serif;
}
html[data-wf-page="6997c2030c8fa0e1c7db29df"] .th-library-empty[hidden] { display: none !important; }
html[data-wf-page="6997c2030c8fa0e1c7db29df"] .th-library-empty p { margin: 0 0 10px; }
html[data-wf-page="6997c2030c8fa0e1c7db29df"] .th-library-empty-clear {
  min-height: 34px;
  padding: 7px 14px;
  border: 1px solid #167eaa;
  border-radius: 999px;
  background: #167eaa;
  color: #fff;
  font: 600 13px/1.2 Roboto, sans-serif;
  cursor: pointer;
}
html[data-wf-page="6997c2030c8fa0e1c7db29df"] .th-cms-grid-item[hidden] {
  display: none !important;
}


/* Wrapper + grid */
html[data-wf-page="6997c2030c8fa0e1c7db29df"] .th-cms-grid-wrapper {
  width: 100% !important;
  max-width: none !important;
  box-sizing: border-box !important;
  padding: 8px max(16px, calc((100vw - 1280px) / 2 + 16px)) 64px !important;
  background: #f4f5f3 !important;
  overflow-x: clip !important;
}
html.thp-theme-dark[data-wf-page="6997c2030c8fa0e1c7db29df"] .th-cms-grid-wrapper {
  background: #0a2433 !important;
}

html[data-wf-page="6997c2030c8fa0e1c7db29df"] .th-cms-grid,
html.th-insights-bento .th-cms-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  grid-auto-rows: minmax(0, auto) !important;
  grid-auto-flow: dense !important;
  gap: var(--th-gap) !important;
  width: 100% !important;
  max-width: 1280px !important;
  margin: 0 auto !important;
  padding: 0 !important;
  box-sizing: border-box !important;
  list-style: none !important;
}

html[data-wf-page="6997c2030c8fa0e1c7db29df"] .th-cms-pagination {
  display: none !important;
}

/* Cards — supporting half is the baseline (no postage stamps) */
html[data-wf-page="6997c2030c8fa0e1c7db29df"] .th-cms-grid-item,
html.th-insights-bento .th-cms-grid-item {
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-end !important;
  position: relative !important;
  grid-column: span 1 !important;
  grid-row: span 1 !important;
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  aspect-ratio: 5 / 4 !important;
  min-height: 300px !important;
  padding: 0 !important;
  overflow: hidden !important;
  border-radius: var(--th-radius) !important;
  border: 1px solid rgba(13, 44, 60, 0.08) !important;
  background: var(--th-panel) !important;
  box-shadow: none !important;
  transform: none !important;
  box-sizing: border-box !important;
  isolation: isolate !important;
}
html[data-wf-page="6997c2030c8fa0e1c7db29df"] .th-cms-grid-item:hover {
  transform: translateY(-2px) !important;
  border-color: rgba(22, 126, 170, 0.35) !important;
}
@media (prefers-reduced-motion: reduce) {
  html[data-wf-page="6997c2030c8fa0e1c7db29df"] .th-cms-grid-item,
  html[data-wf-page="6997c2030c8fa0e1c7db29df"] .th-cms-grid-item:hover {
    transition: none !important;
    transform: none !important;
  }
}

/* Even mosaic: every visible card uses the same single grid track at each breakpoint. */
/* Scrim + media */
html[data-wf-page="6997c2030c8fa0e1c7db29df"] .th-cms-grid-item::after {
  content: "" !important;
  display: block !important;
  position: absolute !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  top: auto !important;
  height: 72% !important;
  background: var(--th-scrim) !important;
  z-index: 1 !important;
  pointer-events: none !important;
}
html[data-wf-page="6997c2030c8fa0e1c7db29df"] .th-cms-card-link {
  position: absolute !important;
  inset: 0 !important;
  z-index: 0 !important;
  display: block !important;
  width: auto !important;
  height: auto !important;
  border-radius: inherit !important;
  background: transparent !important;
}
html[data-wf-page="6997c2030c8fa0e1c7db29df"] .th-cms-card-link::before {
  content: none !important;
  display: none !important;
}
html[data-wf-page="6997c2030c8fa0e1c7db29df"] .th-cms-card-image {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center !important;
  z-index: 0 !important;
  transition: transform .35s ease !important;
  pointer-events: none !important;
}
html[data-wf-page="6997c2030c8fa0e1c7db29df"] .th-cms-grid-item:hover .th-cms-card-image {
  transform: scale(1.04) !important;
}
@media (prefers-reduced-motion: reduce) {
  html[data-wf-page="6997c2030c8fa0e1c7db29df"] .th-cms-card-image,
  html[data-wf-page="6997c2030c8fa0e1c7db29df"] .th-cms-grid-item:hover .th-cms-card-image {
    transition: none !important;
    transform: none !important;
  }
}

/* Category chip — absolute top-left; kill Webflow relative top/left offsets */
html[data-wf-page="6997c2030c8fa0e1c7db29df"] .th-cms-card-category {
  position: absolute !important;
  top: var(--th-chip-inset) !important;
  left: var(--th-chip-inset) !important;
  right: auto !important;
  bottom: auto !important;
  z-index: 2 !important;
  align-self: auto !important;
  margin: 0 !important;
  padding: 5px 10px !important;
  border-radius: 999px !important;
  background: #167eaa !important;
  color: #fff !important;
  font: 700 11px/1.2 Roboto, sans-serif !important;
  letter-spacing: .06em !important;
  text-transform: uppercase !important;
  max-width: calc(100% - 24px) !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  text-shadow: none !important;
  pointer-events: none !important;
}

html[data-wf-page="6997c2030c8fa0e1c7db29df"] .th-cms-card-heading {
  position: relative !important;
  z-index: 2 !important;
  margin: 0 14px 6px !important;
  padding: 0 !important;
  color: #fff !important;
  font: 700 clamp(16px, 1.35vw, 22px)/1.25 Roboto, sans-serif !important;
  letter-spacing: -.02em !important;
  text-shadow: 0 1px 2px rgba(0,0,0,.35) !important;
  display: -webkit-box !important;
  -webkit-box-orient: vertical !important;
  -webkit-line-clamp: 3 !important;
  overflow: hidden !important;
  max-width: none !important;
  pointer-events: none !important;
}
html[data-wf-page="6997c2030c8fa0e1c7db29df"] .th-cms-card-date {
  position: relative !important;
  z-index: 2 !important;
  margin: 0 14px 14px !important;
  padding: 0 !important;
  color: var(--th-muted) !important;
  font: 500 12px/1.3 Roboto, sans-serif !important;
  text-shadow: 0 1px 2px rgba(0,0,0,.35) !important;
  pointer-events: none !important;
}
html[data-wf-page="6997c2030c8fa0e1c7db29df"] .th-cms-card-excerpt {
  display: none !important;
}

html[data-wf-page="6997c2030c8fa0e1c7db29df"] .th-cms-card-link:focus {
  outline: none !important;
}
html[data-wf-page="6997c2030c8fa0e1c7db29df"] .th-cms-card-link:focus-visible {
  outline: 3px solid #52a9ce !important;
  outline-offset: 3px !important;
}
html[data-wf-page="6997c2030c8fa0e1c7db29df"] .th-cms-grid-item:has(.th-cms-card-link:focus-visible) {
  box-shadow: 0 0 0 3px #52a9ce !important;
}

/* Tablet: two equal columns + centered orphan (same height, not featured) */
@media screen and (max-width: 1100px) and (min-width: 768px) {
  html[data-wf-page="6997c2030c8fa0e1c7db29df"] .th-cms-grid,
  html.th-insights-bento .th-cms-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
  }
  html[data-wf-page="6997c2030c8fa0e1c7db29df"] .th-cms-grid-item,
  html[data-wf-page="6997c2030c8fa0e1c7db29df"] .th-cms-grid-item:nth-child(n) {
    grid-column: span 1 !important;
    grid-row: span 1 !important;
    width: 100% !important;
    max-width: 100% !important;
    aspect-ratio: 5 / 4 !important;
    min-height: 280px !important;
  }
  /* Last visible odd card: full-row strip, centered to one column width */
  html[data-wf-page="6997c2030c8fa0e1c7db29df"] .th-cms-grid-item.th-cms-orphan,
  html[data-wf-page="6997c2030c8fa0e1c7db29df"] .th-cms-grid-item[data-th-orphan="1"] {
    grid-column: 1 / -1 !important;
    grid-row: span 1 !important;
    width: 100% !important;
    max-width: calc((100% - 10px) / 2) !important;
    margin-inline: auto !important;
    aspect-ratio: 5 / 4 !important;
    min-height: 280px !important;
  }
  html[data-wf-page="6997c2030c8fa0e1c7db29df"] .th-cms-card-heading {
    font-size: clamp(16px, 2.4vw, 20px) !important;
    -webkit-line-clamp: 3 !important;
  }
}

/* Mobile: single column, taller cards for long titles */
@media screen and (max-width: 767px) {
  html[data-wf-page="6997c2030c8fa0e1c7db29df"] .th-insights-hero {
    padding: 10px 16px 4px !important;
    background: #0d2c3c !important;
  }
  html[data-wf-page="6997c2030c8fa0e1c7db29df"] .th-library-controls {
    padding: 2px 16px 10px !important;
    background: #0d2c3c !important;
  }
  html[data-wf-page="6997c2030c8fa0e1c7db29df"] .th-library-toolbar {
    margin-left: 0;
    width: 100%;
  }
  html[data-wf-page="6997c2030c8fa0e1c7db29df"] .th-cms-grid-wrapper {
    padding: 4px 16px 48px !important;
  }
  html[data-wf-page="6997c2030c8fa0e1c7db29df"] .th-cms-grid,
  html.th-insights-bento .th-cms-grid {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }
  html[data-wf-page="6997c2030c8fa0e1c7db29df"] .th-cms-grid-item,
  html[data-wf-page="6997c2030c8fa0e1c7db29df"] .th-cms-grid-item:nth-child(n),
  html[data-wf-page="6997c2030c8fa0e1c7db29df"] .th-cms-grid-item.th-cms-orphan,
  html[data-wf-page="6997c2030c8fa0e1c7db29df"] .th-cms-grid-item[data-th-orphan="1"] {
    grid-column: 1 / -1 !important;
    grid-row: auto !important;
    max-width: none !important;
    margin-inline: 0 !important;
    aspect-ratio: auto !important;
    min-height: 280px !important;
    max-height: none !important;
  }
  html[data-wf-page="6997c2030c8fa0e1c7db29df"] .th-cms-card-heading {
    font-size: 18px !important;
    -webkit-line-clamp: 3 !important;
  }
  html[data-wf-page="6997c2030c8fa0e1c7db29df"] .th-cms-grid-item::after {
    height: 68% !important;
  }
  html[data-wf-page="6997c2030c8fa0e1c7db29df"] .th-cms-card-category {
    top: 10px !important;
    left: 10px !important;
    margin: 0 !important;
  }
}

@media screen and (max-width: 380px) {
  html[data-wf-page="6997c2030c8fa0e1c7db29df"] .th-cms-grid-item,
  html[data-wf-page="6997c2030c8fa0e1c7db29df"] .th-cms-grid-item:nth-child(n) {
    min-height: 280px !important;
  }
  html[data-wf-page="6997c2030c8fa0e1c7db29df"] .th-cms-card-heading {
    font-size: 16px !important;
  }
}
