/* CTN AON site styles, version 1.5.0 (central file: one copy serves every page).
   Small site-wide fixes live here. To change it, replace this file in Files and publish it. */

/* Footer: space between the two description paragraphs. */
footer [data-element-id="elm_ouf7pv97zxct9040f2au"] .zptext > p:nth-of-type(2) { margin-top: 12px; }

/* Home: links by role under the four needs. */
.zpsection.aon-s:has(.aon-role-row) .aon-u34 { padding-bottom: 36px !important; }
.zptext .aon-role-row { padding-bottom: clamp(56px, 5.6vw, 80px) !important; }
.zptext .aon-role-links { display: flex !important; flex-wrap: wrap !important; gap: 0 28px !important; margin: 4px 0 0 !important; }

/* Readable line length on wide screens (992px and wider). A few plain text blocks on the list pages
   (Resources, Thinking, Article topics) ran the full page width, up to 145 characters a line.
   They now stop at 44em, the width used for wide text elsewhere on the site. */
@media (min-width: 992px) {
  [data-element-id^="elm_CTNResourcesDirectoryTextV01"] .zptext > p,
  [data-element-id^="elm_pzuBnlOKG4S5_KoZCpB6"] .zptext > p,
  [data-element-id^="elm_77hRa1N2dHGok_UpFQVL"] .zptext > p,
  [data-element-id^="elm_UetW-MQ5DdA-c2iNPOYG"] .zptext > p,
  [data-element-id^="elm_aonTopicReturnTextNov06"] .zptext > p,
  [data-element-id^="elm_L4yT3sQ8aN7jK2mR6pVx"] .zptext > p,
  [data-element-id^="elm_eWljUpAkP2qLzFU7fd2x"] .zptext > p { max-width: 44em; }
}

/* Contact form: fields side by side line up at the bottom when one label wraps,
   and the "When would you like to start?" choice shows in full on wider screens. */
.aon-form .aon-form-grid { align-items: end; }
@media (min-width: 600px) {
  main .aon-form form .aon-form-field select[name] { padding-left: 12px !important; padding-right: 36px !important; font-size: 15px !important; }
}
/* v1.4.0 (22 Nov 2026): desktop header shows one current-page marker (theme bar), not bar + underline */
header nav .theme-menu a[aria-current="page"] .theme-menu-name { text-decoration: none; }
/* v1.4.0: cookie settings button quiet (outline), so the chat button stays the one solid action */
#zc-revise { background: #fff !important; color: #004D61 !important; border: 1.5px solid #004D61 !important; box-shadow: 0 1px 4px rgba(0,0,0,.12) !important; }
#zc-revise * { color: #004D61 !important; }
#zc-revise:hover, #zc-revise:focus-visible { background: #E6F3F5 !important; }
/* v1.5.0 (22 Nov 2026): category labels on collection pages (article and work-example labels, card labels,
   related-content labels) use the same small teal capitals as labels elsewhere on the site. */
.ctn-card-meta .zptext p, .ctn-article-topic .zptext p, .ctn-article-topic .zptext strong,
.ctn-eyebrow .zptext, .ctn-eyebrow .zptext p, .ctn-related-content .ctn-related-type {
  color: #004D61 !important; font-size: 13px !important; font-weight: 700 !important;
  letter-spacing: .09em !important; text-transform: uppercase !important; line-height: 20px !important;
}
/* v1.5.0: "Related reading and tools" / "Explore this further" headings use the site heading weight. */
.ctn-related-content h2 { font-weight: 700 !important; }
/* v1.5.0: tool results (calculators, assessments): list bullets sit inside the result box,
   and the result box keeps its own border without a second focus ring after it is filled in. */
.ctn-aon-draft-planning-tool .result ul { padding-left: 1.25em !important; }
.ctn-aon-draft-planning-tool .result[tabindex="-1"]:focus { outline: none !important; }
