/* PHE report pages (Status of Functioning of Completed Water Supply Schemes, 2005).
   Uses the DBIM colours from style.css; tables use the inner-page.css table styles. */
.page-content .grid h2 { margin: 3.2rem 0 1.2rem; color: var(--dbim-wintergreen-dream, #162F6A); font-size: 2.2rem; font-weight: 700; }
.page-content .grid h3 { margin: 2.4rem 0 1rem; font-size: 1.9rem; font-weight: 700; }
.page-content .grid h4 { margin: 1.8rem 0 .8rem; font-size: 1.7rem; font-weight: 700; }

/* Definitions */
.report-defs { margin: 0 0 2rem; }
.report-defs dt { margin-top: 1.2rem; font-weight: 700; color: var(--dbim-dark-text, #150202); }
.report-defs dd { margin: .4rem 0 0 1.6rem; }

/* Table captions shown above the PF/NF code tables */
.page-content table caption:not(.visually-hidden) {
  caption-side: top;
  padding: 0 0 .8rem;
  color: var(--dbim-dark-text, #150202);
  font-weight: 700;
  text-align: left;
}
.page-content table td.num { text-align: right; white-space: nowrap; }
.page-content table tbody th,
.page-content table tfoot th { text-align: left; font-weight: 600; }
.page-content table tfoot td,
.page-content table tfoot th { font-weight: 700; }

/* Charts */
.report-figure { margin: 1.6rem 0 2.4rem; }
.report-figure img { display: block; max-width: 100%; height: auto; border: 1px solid var(--dbim-grey-01, #c6c6c6); }
.report-figure figcaption { margin-top: .6rem; color: var(--dbim-grey-03, #606060); font-size: 1.4rem; }

/* PDF list on the abstract page */
.report-docs { margin: 1.6rem 0 0; padding-left: 2rem; }
.report-docs li { margin-bottom: 1rem; }

/* Links between the three parts of the report */
.report-parts {
  margin-top: 4rem;
  padding: 1.6rem 2rem;
  background: var(--dbim-azureish-white-bg, #D2DFFF);
  border-left: 5px solid var(--dbim-wintergreen-dream, #162F6A);
  border-radius: 8px;
}
.page-content .grid .report-parts h2 { margin: 0 0 1rem; font-size: 1.8rem; }
.report-parts ul { display: flex; flex-wrap: wrap; gap: .8rem 2.4rem; margin: 0; padding: 0; list-style: none; }
.report-parts a { font-weight: 600; }
.report-parts [aria-current="page"] { font-weight: 700; color: var(--dbim-wintergreen-dream, #162F6A); }
