/* Component styles. Contained within the article; no theme header/footer rules. */
.dk-act {
  --dk-ink: #1f2655;
  --dk-teal: #1ecabb;
  --dk-pink: #ed6787;
  --dk-line: #dce0ea;
  container: dk-article / inline-size;
  width: 100%;
  max-width: 960px;
  min-width: 0;
  margin: 0 auto;
  background: #fff;
  color: var(--dk-ink);
  font-family: 'DK Source Serif 4', Georgia, serif;
  font-size: 17px;
  font-weight: 400;
  line-height: 1.65;
  text-align: left;
  overflow-wrap: anywhere;
  isolation: isolate;
}
.dk-act *, .dk-act *::before, .dk-act *::after { box-sizing: border-box; }
.dk-act :where(div, section, p, li, span, figure, table) { min-width: 0; }
.dk-act .dk-content {
  padding: clamp(20px, 5cqi, 48px);
  border: 1px solid var(--dk-line);
  border-top: 4px solid var(--dk-teal);
  border-radius: 12px;
}
.dk-act :where(h2, h3, h4, p, ul, ol, li, figure, blockquote) {
  margin: 0;
  padding: 0;
  color: inherit;
  text-transform: none;
  text-indent: 0;
}
.dk-act :where(h2, h3, h4) {
  font-family: 'DK Manrope', Arial, sans-serif;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.015em;
  overflow-wrap: anywhere;
}
.dk-act :where(p, li, blockquote) { font-size: inherit; line-height: inherit; }
.dk-act :where(ul, ol) { list-style: none; }
.dk-act li::before, .dk-act li::after,
.dk-act blockquote::before, .dk-act blockquote::after { content: none; }
.dk-act blockquote { border: 0; background: transparent; }
.dk-act a {
  color: var(--dk-ink);
  text-decoration: underline;
  text-decoration-color: var(--dk-teal);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
  overflow-wrap: anywhere;
}
.dk-act a:hover { text-decoration-color: var(--dk-pink); }
.dk-act a:focus-visible { outline: 3px solid var(--dk-ink); outline-offset: 4px; border-radius: 2px; }
.dk-act img { max-width: 100%; border: 0; padding: 0; box-shadow: none; }
.dk-act .dk-section { width: 100%; }
.dk-act .dk-section + .dk-section { margin-top: 44px; }
.dk-act .dk-cover-copy { margin-top: 48px; max-width: 100%; }
.dk-act .dk-title { font-size: clamp(32px, 6.5cqi, 56px); line-height: 1.08; }
.dk-act .dk-subtitle { font-size: clamp(19px, 3cqi, 24px); }
.dk-act .dk-brand-row > img { flex: 0 0 auto; margin: 0; width: 100px; height: 100px; }
.dk-act .dk-cover-author { align-items: flex-start; }
.dk-act .dk-cover-author img { flex: 0 0 80px; width: 80px; height: 80px; }
.dk-act .dk-pullquote { width: min(42%, 280px); margin-left: 24px; }
.dk-act .dk-age-band { grid-template-columns: 145px minmax(0, 1fr); }
.dk-act .dk-contact { margin-top: 52px; }
.dk-act .dk-contact-card { grid-template-columns: 130px minmax(0, 1fr); }
.dk-act .dk-contact-card img { width: 130px; height: 130px; }
.dk-act .dk-enforcement-table {
  width: 100%; max-width: 100%; table-layout: fixed;
  border: 0; border-collapse: collapse; background: transparent;
}
.dk-act .dk-enforcement-table :where(th, td) {
  color: var(--dk-ink); background: transparent; border: 0;
  border-bottom: 1px solid var(--dk-line);
  overflow-wrap: anywhere; text-align: left;
}
.dk-act .dk-enforcement-table thead th { border-bottom: 2px solid var(--dk-ink); }
.dk-act .dk-enforcement-table :where(th, td):first-child { width: 46%; }
.dk-act .dk-enforcement-table tbody th { text-transform: none; }
.dk-act .dk-timeline { gap: 16px; }
.dk-act .dk-timeline > div { padding-right: 0; }
.dk-act .dk-publication-footer > img { margin: 0; }

/* Container queries respond to the actual WordPress column, not just the screen. */
@container dk-article (max-width: 640px) {
  .dk-act .dk-content { padding: 26px; }
  .dk-act .dk-cover-copy { margin-top: 34px; }
  .dk-act .dk-two-columns, .dk-act .dk-timeline { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .dk-act .dk-pullquote { float: none; width: 100%; margin: 4px 0 22px; }
  .dk-act .dk-age-band { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .dk-act .dk-contact-columns { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .dk-act .dk-contact-card { grid-template-columns: minmax(0, 1fr); gap: 22px; padding: 22px; }
  .dk-act .dk-contact-card img { width: 100px; height: 100px; }
  .dk-act .dk-publication-footer { flex-direction: column; align-items: flex-start; gap: 18px; }
  .dk-act .dk-enforcement-table,
  .dk-act .dk-enforcement-table tbody { display: block; }
  /* Keep column headers available to assistive technology. */
  .dk-act .dk-enforcement-table thead {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0;
  }
  .dk-act .dk-enforcement-table tbody tr {
    display: block; padding: 18px; border: 1px solid var(--dk-line);
    border-top: 3px solid var(--dk-teal); border-radius: 8px; margin-bottom: 16px;
  }
  .dk-act .dk-enforcement-table tbody :where(th, td) {
    display: block; width: 100%; padding: 12px 0; border: 0;
  }
  .dk-act .dk-enforcement-table tbody :where(th, td):first-child { width: 100%; }
  .dk-act .dk-enforcement-table tbody :where(th, td)::before {
    content: attr(data-label); display: block; margin-bottom: 6px;
    font-size: 11px; letter-spacing: 0.08em; font-weight: 700; text-transform: uppercase;
  }
}
@container dk-article (max-width: 400px) {
  .dk-act .dk-content { padding: 20px; }
  .dk-act .dk-brand-row { flex-direction: column; gap: 16px; }
  .dk-act .dk-brand-row > div { text-align: left; }
  .dk-act .dk-cover-author { flex-direction: column; gap: 16px; }
  .dk-act .dk-section + .dk-section { margin-top: 34px; }
}
/* Basic viewport fallback for browsers without container queries. */
@supports not (container-type: inline-size) {
  .dk-act .dk-title { font-size: clamp(32px, 5vw, 56px); }
  @media (max-width: 640px) {
    .dk-act .dk-content { padding: 20px; }
    .dk-act .dk-two-columns, .dk-act .dk-timeline, .dk-act .dk-age-band,
    .dk-act .dk-contact-columns, .dk-act .dk-contact-card { grid-template-columns: minmax(0, 1fr); }
    .dk-act .dk-pullquote { float: none; width: 100%; margin: 0 0 20px; }
    .dk-act .dk-cover-author, .dk-act .dk-publication-footer { flex-direction: column; align-items: flex-start; }
    .dk-act .dk-enforcement-table { table-layout: auto; font-size: 12px; }
    .dk-act .dk-enforcement-table :where(th, td) { padding: 8px; }
  }
}
@media print {
  .dk-act { max-width: none; font-size: 11pt; }
  .dk-act .dk-content { padding: 0; border: 0; }
  .dk-act .dk-title { font-size: 30pt; }
  .dk-act :where(h2, h3, h4) { break-after: avoid; }
  .dk-act :where(p, li) { orphans: 3; widows: 3; }
  .dk-act :where(.dk-contact-card, .dk-two-columns, figure) { break-inside: avoid; }
}
