.hero-panel--transparency .eyebrow,
.hero-panel--transparency p,
.hero-panel--transparency .meta-pill,
.hero-panel--transparency h1 {
  color: #fff;
}

.hero-panel--transparency .meta-pill {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.2);
}

.transparency-wrapper{
  height: 100%;
}

.transparency-head{
  font-size: clamp(1.5rem, 2vw, 2.2rem);
  color: var(--ndc-blue-deep);
  font-weight: bold;
  text-transform: uppercase;
  line-height: 1;
}

.transparency-intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(280px, 380px);
  gap: 24px;
  align-items: start;
}

.meta-card.transparency-related-docs .tag-chip {
  color: #0073aa !important;
}

.transparency-intro-card {
  height: 100%;
  display: grid;
  grid-template-columns: minmax(140px, 220px) minmax(0, 1fr);
  gap: 24px;
  align-items: center;
}

.transparency-intro-card__seal {
  display: flex;
  justify-content: center;
  align-items: center;
}

.transparency-intro-card__seal img {
  width: min(220px, 100%);
  height: auto;
  display: block;
  border-radius: 24px;
}

.transparency-intro-card__copy {
  display: grid;
  gap: 12px;
}

.transparency-compliance-card {
  display: grid;
  gap: 14px;
  align-content: start;
  background: linear-gradient(180deg, rgba(245, 249, 252, 0.98) 0%, rgba(236, 244, 250, 0.98) 100%);
}

.transparency-compliance-card h2 {
  margin: 0;
  font-size: clamp(1.4rem, 2vw, 2rem);
  line-height: 1.15;
  color: var(--ndc-blue-deep);
}

.transparency-section-intro {
  display: grid;
  gap: 12px;
  margin-bottom: 24px;
}

.transparency-section-intro h2 {
  margin: 0;
  font-size: clamp(1.5rem, 2vw, 2.2rem);
  color: var(--ndc-blue-deep);
}

.transparency-general-records-section .general-records-layout,
.transparency-general-records-section .general-records-layout--single {
  margin-top: 0;
}

.transparency-tabs-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
  gap: 24px;
  align-items: start;
}

.transparency-tabs-card {
  overflow: hidden;
}

.transparency-governance-section .tabs-pdf-layout {
  align-items: start;
}

.transparency-governance-section .tabs-pdf-heading {
  grid-column: 1 / -1;
}

.transparency-governance-section .tabs-pdf-active-title {
  display: none;
  margin: 0;
}

.transparency-governance-section .tabs-pdf-active-title.is-active {
  display: block;
}

.transparency-governance-section .tabs-pdf-active-title h1 {
  margin: 0;
  max-width: 100%;
}

.transparency-caret-chip,
.transparency-pdf-chip {
  width: 38px;
  height: 38px;
  padding: 0;
  flex: 0 0 38px;
  color: var(--ndc-blue-deep);
}

.transparency-caret-icon,
.transparency-pdf-icon {
  display: block;
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.record-toggle[aria-expanded="true"] .transparency-caret-icon {
  transform: rotate(180deg);
}

.transparency-caret-icon {
  transition: transform 180ms ease;
}

.transparency-related-docs {
  display: grid;
  gap: 14px;
  align-content: start;
}

.transparency-related-docs .files-list {
  margin-top: 4px;
}

@media (max-width: 1024px) {
  .transparency-intro-grid,
  .transparency-tabs-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .transparency-intro-card {
    grid-template-columns: 1fr;
  }
}

/* ── General Records — procurement-style table layout ─────────── */
/* Scoped to .transparency-general-records-section so these styles */
/* never bleed into the actual Procurement page.                   */

.transparency-general-records-section .general-records-content {
  gap: 8px;
}

/* Section wrapper — holds heading + item accordions */
.transparency-gr-section {
  display: grid;
  gap: 8px;
}

/* Section title heading above the accordions */
.transparency-gr-section__heading {
  padding: 20px 24px 14px;
  border-bottom: 2px solid rgba(15, 76, 129, 0.12);
  margin-bottom: 4px;
}

.transparency-gr-section__heading .section-kicker {
  margin: 0 0 6px;
}

.transparency-gr-section__heading h2 {
  margin: 0;
  font-family: var(--ndc-font-head);
  color: var(--ndc-blue-deep);
  font-size: clamp(1.35rem, 2vw, 2rem);
  line-height: 1.2;
}

/* Item accordion (replaces content-card accordion) */
.transparency-gr-year {
  overflow: visible;
  position: relative;
  border: 1px solid rgba(15, 76, 129, 0.16);
  background: #fff;
  box-shadow: 0 18px 36px rgba(15, 76, 129, 0.08);
  scroll-margin-top: 132px;
}

.transparency-gr-year__summary {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 18px 20px;
  list-style: none;
  cursor: pointer;
  background: linear-gradient(135deg, #012A62 0%, #244886 65%, #2a588d 100%);
  color: #fff;
  font-weight: 800;
}

.transparency-gr-year__summary::-webkit-details-marker {
  display: none;
}

/* Chevron arrow */
.transparency-gr-year__arrow {
  width: 0;
  height: 0;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-left: 8px solid currentColor;
  transition: transform 180ms ease;
}

.transparency-gr-year[open] .transparency-gr-year__arrow {
  transform: rotate(90deg);
}

.transparency-gr-year__label {
  font-family: var(--ndc-font-head);
  font-size: 1.05rem;
  letter-spacing: 0.01em;
}

.transparency-gr-year__count {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.82);
  background: rgba(255, 255, 255, 0.14);
  padding: 4px 10px;
  border-radius: 999px;
}

.transparency-gr-year__body {
  padding: 12px;
  background: linear-gradient(180deg, rgba(245, 249, 253, 0.9) 0%, rgba(255, 255, 255, 1) 100%);
}

/* Inner table */
.transparency-gr-table {
  overflow: visible;
  border: 1px solid rgba(15, 76, 129, 0.12);
  border-radius: 12px;
  background: #fff;
  font-size: 14px;
}

.transparency-gr-table__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 120px;
  background: var(--ndc-gold, #f5a623);
  color: #000;
  font-size: 14px;
  font-weight: 800;
  border-radius: 12px 12px 0 0;
  overflow: hidden;
}

.transparency-gr-table__head span {
  padding: 14px 16px;
  border-right: 1px solid rgba(15, 76, 129, 0.1);
}

.transparency-gr-table__head span:last-child {
  border-right: 0;
}

/* Record group (item title row) */
.transparency-gr-project {
  overflow: visible;
  position: relative;
  border-top: 1px solid rgba(15, 76, 129, 0.1);
}

.transparency-gr-project:first-of-type {
  border-top: 0;
}

.transparency-gr-project__title {
  padding: 12px 16px;
  background: rgba(15, 76, 129, 0.04);
  border-bottom: 1px solid rgba(15, 76, 129, 0.08);
}

.transparency-gr-project__title h3 {
  margin: 0;
  color: var(--ndc-blue-deep);
  font-family: var(--ndc-font-head);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.45;
}

/* Document rows */
.transparency-gr-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 120px;
  overflow: visible;
  position: relative;
  align-items: stretch;
  border-bottom: 1px solid rgba(15, 76, 129, 0.08);
}

.transparency-gr-project .transparency-gr-item:last-child {
  border-bottom: 0;
}

.transparency-gr-item > div {
  padding: 12px 16px;
  border-right: 1px solid rgba(15, 76, 129, 0.08);
}

.transparency-gr-item > div:last-child {
  border-right: 0;
}

.transparency-gr-item__main {
  display: flex;
  align-items: center;
}

.transparency-gr-item__link {
  color: #0d6efd;
  font-size: 14px;
  font-weight: 400;
  text-decoration: none;
  line-height: 1.5;
}

.transparency-gr-item__link:hover,
.transparency-gr-item__link:focus {
  text-decoration: underline;
}

.transparency-gr-item__action {
  display: flex;
  align-items: center;
  justify-content: center;
}

.transparency-gr-item__open {
  color: var(--ndc-blue-deep);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

.transparency-gr-item__open:hover,
.transparency-gr-item__open:focus {
  text-decoration: underline;
}

/* Fallback: no links found — render body HTML inline */
.transparency-gr-item--body-only {
  display: block;
}

.transparency-gr-item--body-only .section-body {
  padding: 14px 16px;
  font-size: 14px;
  line-height: 1.7;
}

.transparency-gr-item--body-only .section-body a {
  color: #0d6efd;
  text-decoration: none;
}

.transparency-gr-item--body-only .section-body a:hover {
  text-decoration: underline;
}

/* Mobile */
@media (max-width: 768px) {
  .transparency-gr-year__summary {
    grid-template-columns: auto 1fr;
  }

  .transparency-gr-year__count {
    display: none;
  }

  .transparency-gr-table__head {
    display: none;
  }

  .transparency-gr-item {
    grid-template-columns: 1fr;
  }

  .transparency-gr-item > div {
    border-right: 0;
    border-bottom: 1px solid rgba(15, 76, 129, 0.08);
  }

  .transparency-gr-item > div:last-child {
    border-bottom: 0;
  }

  .transparency-gr-item__action {
    justify-content: flex-start;
  }
}
