/* CNS theme base styles (hand-written). Page designs live in canvas.css. */

body { margin: 0; -webkit-font-smoothing: antialiased; }
:where(.cns-canvas) :where(p, h1, h2, h3, h4, h5, h6, ul, ol, figure, blockquote, details) { margin: 0; }
:where(.cns-footer) :where(p, figure) { margin: 0; }
img { max-width: 100%; }
/* The design canvas uses the browser default (content-box); WordPress sets
   border-box on groups and lists. Restore the default inside designed areas. */
body .cns-canvas *:not(select, button), body .cns-footer *:not(select, button) { box-sizing: content-box; }
summary { cursor: pointer; }

/* Inline-element wrappers created from the canvas: the paragraph disappears
   from layout so the link/badge inside behaves exactly as in the design. */
.cns-contents { display: contents; }

/* Details (FAQ) blocks: keep the design's own spacing. */
.wp-block-details > summary { margin: 0; }

/* ------------------------------------------------------------ header */
.cns-header { position: relative; border-bottom: 1px solid #DDE3EE; background: #FFFFFF; z-index: 30; }
.cns-header__inner {
	max-width: 1200px; margin: 0 auto; padding: 16px 24px; box-sizing: border-box;
	display: flex; flex-wrap: wrap; gap: 16px 32px; align-items: center; justify-content: space-between;
}
.cns-brand { display: flex; flex-direction: column; gap: 9px; line-height: 1.2; }
.cns-brand > * { margin: 0; }
.cns-logo { margin: 0; }
.cns-logo img { height: 40px; width: auto; display: block; }
.cns-tagline {
	margin: 0; padding-left: 2px; white-space: nowrap;
	font-family: 'IBM Plex Mono', monospace; font-size: 10px; letter-spacing: 0.55px;
	text-transform: uppercase; color: #55607A;
}
/* Phones: hide the tagline and shrink the logo so the Menu button fits on the same row. */
@media (max-width: 600px) {
	.cns-header__inner { flex-wrap: nowrap; gap: 12px; }
	.cns-tagline { display: none; }
	.cns-logo img { height: 30px; }
}

.cns-nav { font-size: 15px; font-weight: 500; }
.cns-nav .wp-block-navigation__container { gap: 4px 26px; align-items: center; }
.cns-nav .wp-block-navigation-item__content { color: #080037; text-decoration: none; padding: 10px 0; }
.cns-nav .wp-block-navigation-item:not(.nav-cta) .wp-block-navigation-item__content:hover { color: #1F6BD2; }
.cns-nav .wp-block-navigation-item:not(.nav-cta) .wp-block-navigation-item__content[aria-current="page"] { color: #1F6BD2; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 8px; }
.cns-nav .nav-cta { margin-left: 6px; }
.cns-nav .nav-cta .wp-block-navigation-item__content {
	background: #1F6BD2; color: #FFFFFF; padding: 10px 18px; border-radius: 6px; font-weight: 600;
}
.cns-nav .nav-cta .wp-block-navigation-item__content:hover { background: #154FA0; color: #FFFFFF; }

/* Mobile: the "Menu" button opens a dropdown panel, as in the design. */
.cns-nav .wp-block-navigation__responsive-container-open {
	display: none; align-items: center; gap: 8px; border: 1px solid #B8C2D6; border-radius: 6px;
	padding: 10px 14px; min-height: 44px; box-sizing: border-box; font-weight: 600; font-size: 15px; color: #080037;
	background: #FFFFFF;
}
.cns-nav .wp-block-navigation__responsive-container-open::after { content: "Menu"; }
@media (max-width: 1180px) {
	.cns-nav.wp-block-navigation { position: static; } /* dropdown spans the full header width */
	.cns-nav .wp-block-navigation__responsive-container-open:not(.always-shown) { display: flex; }
	.cns-nav .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) { display: none; }
	.cns-nav .wp-block-navigation__responsive-container.is-menu-open {
		position: absolute; top: 100%; bottom: auto; left: 0; right: 0; height: auto; z-index: 40;
		background: #FFFFFF !important; border-bottom: 1px solid #DDE3EE;
		box-shadow: 0 16px 32px rgba(8, 0, 55, 0.14); padding: 4px 24px 24px; animation: none;
	}
	.cns-nav .is-menu-open .wp-block-navigation__responsive-close { max-width: none; }
	.cns-nav .is-menu-open .wp-block-navigation__responsive-container-content { padding-top: 0 !important; align-items: stretch !important; }
	.cns-nav .is-menu-open .wp-block-navigation__container { flex-direction: column; align-items: stretch !important; gap: 0; width: 100%; }
	.cns-nav .is-menu-open .wp-block-navigation-item { width: 100%; }
	.cns-nav .is-menu-open .wp-block-navigation-item__content { display: block; width: 100%; padding: 14px 0 !important; border-bottom: 1px solid #EDF1F3; font-size: 17px; }
	.cns-nav .is-menu-open .nav-cta { margin: 18px 0 0; }
	.cns-nav .is-menu-open .nav-cta .wp-block-navigation-item__content { text-align: center; padding: 14px 18px !important; border: 0; }
	.cns-nav .wp-block-navigation__responsive-container-close { top: 12px; right: 24px; }
}
@media (min-width: 1181px) {
	.cns-nav .wp-block-navigation__responsive-container-open:not(.always-shown) { display: none; }
	.cns-nav .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) { display: block; position: static; background: transparent; }
}
/* Very narrow phones: the Menu button shows its icon only (its accessible name stays "Open menu"). */
@media (max-width: 360px) {
	.cns-nav .wp-block-navigation__responsive-container-open::after { content: none; }
	.cns-nav .wp-block-navigation__responsive-container-open { padding: 10px 12px; }
}

/* Services menu (navigation-submenu .cns-mega, opens on click). Desktop: a full-width
   three-column panel under the header. Group headings are drawn on the first link of
   each group; the alt text "" keeps them out of the accessibility tree (a flat list). */
.cns-nav .cns-mega > .wp-block-navigation-submenu__toggle {
	font: inherit; color: #080037; background: none; border: 0; padding: 10px 0 !important; cursor: pointer;
}
.cns-nav .cns-mega > .wp-block-navigation__submenu-icon { color: #080037; margin-left: 6px !important; }
.cns-nav .cns-mega > .wp-block-navigation-submenu__toggle:hover,
.cns-nav .cns-mega > .wp-block-navigation-submenu__toggle[aria-expanded="true"],
.cns-nav .cns-mega > .wp-block-navigation-submenu__toggle:hover + .wp-block-navigation__submenu-icon,
.cns-nav .cns-mega > .wp-block-navigation-submenu__toggle[aria-expanded="true"] + .wp-block-navigation__submenu-icon,
.cns-nav .cns-mega.current-menu-ancestor > .wp-block-navigation-submenu__toggle,
.cns-nav .cns-mega.current-menu-ancestor > .wp-block-navigation__submenu-icon { color: #1F6BD2; }
.cns-nav .cns-mega.current-menu-ancestor > .wp-block-navigation-submenu__toggle .wp-block-navigation-item__label { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 8px; }
.cns-nav .cns-mega .wp-block-navigation-item__content[aria-current="page"] { color: #1F6BD2; font-weight: 600; text-decoration: none !important; }
.cns-nav .cns-mega .cns-grp--support::before { content: "Support & Security" / ""; }
.cns-nav .cns-mega .cns-grp--infra::before { content: "Infrastructure" / ""; }
.cns-nav .cns-mega .cns-grp--cloud::before { content: "Cloud, Web & Software" / ""; }
.cns-nav .cns-mega .cns-grp::before {
	display: block; font-family: 'IBM Plex Mono', monospace; font-weight: 500; font-size: 12px; letter-spacing: 1.4px;
	text-transform: uppercase; color: #55607A;
}
@media (min-width: 1181px) {
	.cns-nav.wp-block-navigation, .cns-nav .wp-block-navigation__responsive-dialog, .cns-nav .wp-block-navigation__responsive-container-content,
	.cns-nav .wp-block-navigation__container, .cns-nav .cns-mega { position: static; }
	.cns-nav .wp-block-navigation__container > .cns-mega > .wp-block-navigation__submenu-container {
		left: 0 !important; right: 0 !important; top: 100%; z-index: 40; min-width: 0; box-sizing: border-box;
		display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 32px;
		padding: 28px max(24px, calc((100% - 1152px) / 2)) 0;
		background: #FFFFFF !important; color: #080037 !important; border: 0; border-top: 1px solid #DDE3EE; border-bottom: 1px solid #DDE3EE;
		box-shadow: 0 16px 32px rgba(8, 0, 55, 0.14); font-size: 16px;
	}
	.cns-nav .cns-mega .wp-block-navigation__submenu-container > .wp-block-navigation-item { display: block; }
	.cns-nav .cns-mega .wp-block-navigation__submenu-container .wp-block-navigation-item__content { display: block; padding: 8px 0 !important; color: #080037; font-weight: 500; }
	.cns-nav .cns-mega .wp-block-navigation__submenu-container .wp-block-navigation-item__content:hover { color: #1F6BD2; }
	.cns-nav .cns-mega .cns-grp--support, .cns-nav .cns-mega .cns-grp--infra, .cns-nav .cns-mega .cns-grp--cloud { margin-top: 0; }
	.cns-nav .cns-mega .cns-grp:not(.cns-grp--support):not(.cns-grp--infra):not(.cns-grp--cloud)::before { content: none; }
	.cns-nav .cns-mega .cns-grp--support::before, .cns-nav .cns-mega .cns-grp--infra::before, .cns-nav .cns-mega .cns-grp--cloud::before {
		margin-bottom: 10px; padding-bottom: 10px; border-bottom: 1px solid #EDF1F3;
	}
	/* Columns: 4 + 3 + 4 links, then the "All services" row across the panel. */
	.cns-nav .cns-mega .wp-block-navigation__submenu-container > li:nth-child(-n+4) { grid-column: 1; }
	.cns-nav .cns-mega .wp-block-navigation__submenu-container > li:nth-child(n+5):nth-child(-n+7) { grid-column: 2; }
	.cns-nav .cns-mega .wp-block-navigation__submenu-container > li:nth-child(n+8):nth-child(-n+11) { grid-column: 3; }
	.cns-nav .cns-mega .wp-block-navigation__submenu-container > li:nth-child(1),
	.cns-nav .cns-mega .wp-block-navigation__submenu-container > li:nth-child(5),
	.cns-nav .cns-mega .wp-block-navigation__submenu-container > li:nth-child(8) { grid-row: 1; }
	.cns-nav .cns-mega .wp-block-navigation__submenu-container > li:nth-child(2),
	.cns-nav .cns-mega .wp-block-navigation__submenu-container > li:nth-child(6),
	.cns-nav .cns-mega .wp-block-navigation__submenu-container > li:nth-child(9) { grid-row: 2; }
	.cns-nav .cns-mega .wp-block-navigation__submenu-container > li:nth-child(3),
	.cns-nav .cns-mega .wp-block-navigation__submenu-container > li:nth-child(7),
	.cns-nav .cns-mega .wp-block-navigation__submenu-container > li:nth-child(10) { grid-row: 3; }
	.cns-nav .cns-mega .wp-block-navigation__submenu-container > li:nth-child(4),
	.cns-nav .cns-mega .wp-block-navigation__submenu-container > li:nth-child(11) { grid-row: 4; }
	.cns-nav .cns-mega .cns-mega__all {
		grid-column: 1 / -1; grid-row: 5; margin-top: 20px; padding: 16px 0 24px; border-top: 1px solid #EDF1F3;
		display: flex !important; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; align-items: center; font-size: 15px;
	}
	.cns-nav .cns-mega .cns-mega__all::before { content: "Not sure what you need? We\2019ll start with a free network assessment." / ""; font-weight: 400; }
	.cns-nav .cns-mega .cns-mega__all .wp-block-navigation-item__content { color: #1F6BD2 !important; font-weight: 600 !important; padding: 0 !important; margin-left: auto; flex: 0 0 auto; }
	.cns-nav .cns-mega .cns-mega__all .wp-block-navigation-item__label::after { content: " \2192" / ""; }
}
/* Menu button view (up to 1180px): Services is a lead-in with its groups listed under it. */
@media (max-width: 1180px) {
	.cns-nav .is-menu-open .cns-mega { flex-direction: column; align-items: stretch !important; }
	.cns-nav .is-menu-open .cns-mega, .cns-nav .is-menu-open .cns-mega * { text-align: left; }
	.cns-nav .is-menu-open .cns-mega > .wp-block-navigation-submenu__toggle {
		display: block; width: 100%; text-align: left; padding: 14px 0; border-bottom: 1px solid #EDF1F3; font-size: 17px; font-weight: 500;
	}
	.cns-nav .is-menu-open .cns-mega > .wp-block-navigation__submenu-container {
		padding: 6px 0 10px 14px !important; border-bottom: 1px solid #EDF1F3 !important; gap: 0;
	}
	.cns-nav .is-menu-open .cns-mega .wp-block-navigation__submenu-container .wp-block-navigation-item { display: block; }
	.cns-nav .is-menu-open .cns-mega .wp-block-navigation__submenu-container .wp-block-navigation-item__content {
		padding: 9px 0 !important; border-bottom: 0; font-size: 16px; font-weight: 400;
	}
	.cns-nav .is-menu-open .cns-mega .cns-grp:not(.cns-grp--support):not(.cns-grp--infra):not(.cns-grp--cloud)::before { content: none; }
	.cns-nav .is-menu-open .cns-mega .cns-grp::before { font-size: 11px; letter-spacing: 1.3px; margin: 12px 0 2px; }
	.cns-nav .is-menu-open .cns-mega .cns-mega__all .wp-block-navigation-item__content { color: #1F6BD2; font-weight: 600; }
	.cns-nav .is-menu-open .cns-mega .cns-mega__all .wp-block-navigation-item__label::after { content: " \2192" / ""; }
}

/* ------------------------------------------------------------ archive / 404 */
.cns-archive, .cns-404 { max-width: 1200px; margin: 0 auto; padding: 64px 24px 96px; box-sizing: border-box; }
.cns-archive__title { font-size: clamp(34px, 4.6vw, 52px); line-height: 1.1; letter-spacing: -1px; margin: 0 0 32px; }
.cns-archive__list .wp-block-post-template { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 24px; list-style: none; padding: 0; margin: 0; }
.cns-archive__list .wp-block-post { border: 1px solid #DDE3EE; border-radius: 12px; overflow: hidden; display: flex; flex-direction: column; gap: 10px; padding-bottom: 24px; }
.cns-archive__list .wp-block-post > *:not(.wp-block-post-featured-image) { padding: 0 24px; margin: 0; }
.cns-archive__list .wp-block-post-title { font-size: 20px; line-height: 1.3; }
.cns-archive__list .wp-block-post-title a { color: #080037; text-decoration: none; }
.cns-archive__list .wp-block-post-date { font-size: 14px; color: #55607A; padding-top: 0; }
.cns-404 h1 { font-size: clamp(34px, 4.6vw, 52px); line-height: 1.1; margin: 12px 0 16px; }
.cns-eyebrow { font-family: 'IBM Plex Mono', monospace; font-size: 13px; letter-spacing: 1.5px; text-transform: uppercase; color: #1F6BD2; margin: 0; }

/* ------------------------------------------------------------ insights */
/* Insights: hide the featured-article section when it has nothing to show
   (a topic filter is active, or no posts yet); [cns_posts layout="featured"] leaves a marker. */
.cns-canvas section:has(.cns-featured-empty):not(:has(section)) { display: none; }

/* ------------------------------------------------------------ forms */
.cns-form-note { grid-column: 1 / -1; margin: 0; padding: 10px 12px; border-radius: 6px; background: #FFF6D6; color: #5A4500; font-size: 14px; }

/* Fluent Forms, styled to match the design's forms.
   Wrapper: <div class="cns-form cns-form--{type}"> from inc/forms.php. */
.cns-form { min-width: 0; color: #080037; font-size: 15px; }
.cns-form--assessment { flex: 1 1 480px; background: #FFFFFF; border-radius: 14px; padding: 32px; }
.cns-form--contact { flex: 2 1 560px; }
.cns-form--newsletter { flex: 1 1 420px; }
.cns-form__title { margin: 0 0 26px; font-size: 28px; line-height: 1.2; color: #080037; }

.cns-form .fluentform, .cns-form .fluentform * { box-sizing: border-box; }
.cns-form .fluentform fieldset { border: 0; margin: 0; padding: 0; min-width: 0; display: grid; gap: 18px; }
.cns-form--assessment .fluentform fieldset { grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); }
.cns-form--contact .fluentform fieldset { grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); }
.cns-form .fluentform fieldset > legend { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* Fields that take the full row. */
.cns-form .fluentform fieldset > :is(.ff-el-group:has(textarea), .ff-el-group:has(.ff-el-form-check), .ff-el-group:has(.ff-el-turnstile, .cf-turnstile, .g-recaptcha, .h-captcha), .ff_submit_btn_wrapper, .ff-custom_html, .ff-el-section-break, .ff-el-group:has(.ff-el-form-check-input[type="radio"])) { grid-column: 1 / -1; }
.cns-form--assessment .fluentform fieldset > .ff-el-group:has(select) { grid-column: 1 / -1; }

.cns-form .fluentform .ff-el-group, .cns-form .fluentform .ff-field_container { margin: 0 !important; }
.cns-form .fluentform .ff-t-container { display: block; margin: 0; padding: 0; }
.cns-form .fluentform .ff-t-cell { padding: 0 !important; width: 100%; }
.cns-form .fluentform .ff-t-container .ff-t-cell + .ff-t-cell { margin-top: 18px; }
.cns-form .fluentform .ff-el-input--label { margin: 0 0 6px; padding: 0; }
.cns-form .fluentform .ff-el-input--label label { font-size: 15px; font-weight: 500; line-height: 1.4; color: inherit; margin: 0; }
.cns-form .fluentform .ff-el-input--label.ff-el-is-required.asterisk-right label::after { color: #C0392B; margin-left: 3px; }

.cns-form .fluentform .ff-el-form-control {
	display: block; width: 100%; font: inherit; font-size: 17px; font-weight: 400; line-height: 1.4; color: #080037;
	padding: 12px; min-height: 0; border: 1px solid #8792A8; border-radius: 6px; background: #FFFFFF; box-shadow: none;
}
.cns-form .fluentform .ff-el-form-control::placeholder { color: transparent; }
.cns-form .fluentform select.ff-el-form-control {
	appearance: none; -webkit-appearance: none; padding-right: 40px;
	background: #FFFFFF url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23080037' stroke-width='1.8'/%3E%3C/svg%3E") no-repeat right 14px center;
}
.cns-form .fluentform textarea.ff-el-form-control { resize: vertical; min-height: 120px; }
.cns-form .fluentform .ff-el-form-control:focus { outline: 2px solid #1F6BD2; outline-offset: 1px; border-color: #1F6BD2; }

/* Consent checkbox */
.cns-form .fluentform .ff-el-form-check { margin: 0; }
.cns-form .fluentform .ff-el-form-check-label { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; line-height: 1.5; color: #55607A; font-weight: 400; cursor: pointer; }
.cns-form .fluentform .ff-el-form-check-input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: #1F6BD2; flex: none; }
.cns-form .fluentform .ff_tc_checkbox { flex: none; margin-right: 8px; }
.cns-form .fluentform .ff_t_c, .cns-form .fluentform .ff_t_c p { margin: 0; }
.cns-form .fluentform .ff-el-form-check-label a { color: #1F6BD2; }

/* Turnstile sits on its own line; no extra space when it is invisible. */
.cns-form .fluentform .ff-el-turnstile { margin: 0; line-height: 0; }
/* The Turnstile widget is a fixed 300px wide; scale it down so narrow phones don't scroll sideways (WCAG 1.4.10). */
@media (max-width: 380px) {
	.cns-form .fluentform .cf-turnstile { max-width: 100%; overflow: hidden; }
	.cns-form .fluentform .cf-turnstile > div { transform: scale(.85); transform-origin: 0 0; margin-bottom: -10px; }
}
/* In the inline newsletter form the fieldset is flex, so the Turnstile row would keep its 300px min-content width. */
.cns-form .fluentform fieldset > .ff-el-group:has(.cf-turnstile) { min-width: 0; max-width: 100%; }

/* Submit */
.cns-form .fluentform .ff_submit_btn_wrapper { margin: 0; }
.cns-form .fluentform .ff-btn-submit, .cns-form .fluentform .ff-btn-submit:not(.ff_btn_no_style) {
	font: inherit; font-size: 17px; font-weight: 600; line-height: 1.2; background: #1F6BD2 !important; color: #FFFFFF !important;
	border: 0; border-radius: 6px; padding: 16px 32px; cursor: pointer; box-shadow: none; opacity: 1;
}
.cns-form .fluentform .ff-btn-submit:hover, .cns-form .fluentform .ff-btn-submit:focus-visible { background: #154FA0 !important; }
.cns-form--assessment .fluentform .ff-btn-submit { width: 100%; padding: 16px; }

/* Validation and result messages */
.cns-form .fluentform .error, .cns-form .fluentform .text-danger { color: #B42318; font-size: 14px; margin-top: 6px; }
.cns-form .fluentform .ff-el-is-error .ff-el-form-control { border-color: #B42318; }
.cns-form .ff-message-success { border: 1px solid #B7E1CB; background: #EEF8F2; color: #14532D; border-radius: 10px; padding: 18px 20px; font-size: 17px; box-shadow: none; margin: 0; }
.cns-form .ff-errors-in-stack:empty { display: none; }
/* Required consent box gets the same asterisk as the other required fields (WCAG 3.3.2). */
.cns-form .fluentform .ff-el-tc:has(input[aria-required="true"]) .ff_t_c::after { content: "*"; color: #C0392B; margin-left: 3px; }
/* Live region for form-status.js: read by screen readers, not shown. */
.cns-form__status { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; }
.cns-form { position: relative; }

/* Newsletter: email and button on one line, consent and check below. */
.cns-form--newsletter .fluentform fieldset { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; }
.cns-form--newsletter .fluentform fieldset > * { flex: 1 1 100%; }
/* Email, consent, then Subscribe: drawn in the same order the keyboard reaches them. */
.cns-form--newsletter .fluentform fieldset > .ff_submit_btn_wrapper { flex: 0 0 auto; }
.cns-form--newsletter .fluentform .ff-btn-submit { padding: 14px 24px; }
.cns-form--newsletter .fluentform .ff-el-form-control { padding: 13px; }

/* Footer sign-up (Fluent form "Footer newsletter"), on the dark footer. */
.cns-form--newsletter-footer { margin-top: 10px; padding-top: 20px; border-top: 1px solid #23205A; color: #C9CEE6; font-size: 15px; }
.cns-form--newsletter-footer .cns-form__hint { font-size: 13px; color: #C9CEE6; margin-bottom: 10px; }
.cns-form--newsletter-footer .cns-form__hint span,
.cns-form--newsletter-footer .fluentform .ff-el-input--label.ff-el-is-required.asterisk-right label::after,
.cns-form--newsletter-footer .fluentform .ff-el-tc:has(input[aria-required="true"]) .ff_t_c::after { color: #FF8A80; }
.cns-form--newsletter-footer .fluentform fieldset { display: flex; flex-direction: column; gap: 10px; }
.cns-form--newsletter-footer .fluentform .ff-el-input--label label { color: #FFFFFF; font-weight: 600; }
.cns-form--newsletter-footer .fluentform .ff-el-form-control { font-size: 15px; padding: 11px 12px; border-color: #5A5F8A; }
.cns-form--newsletter-footer .fluentform .ff-el-form-control:focus { outline-color: #34CCE8; }
.cns-form--newsletter-footer .fluentform .ff-el-form-check-label { font-size: 13px; color: #C9CEE6; gap: 10px; }
.cns-form--newsletter-footer .fluentform .ff-el-form-check-input { width: 16px; height: 16px; }
.cns-form--newsletter-footer .fluentform .ff-el-form-check-label a { color: #C9CEE6; }
.cns-form--newsletter-footer .fluentform .ff_submit_btn_wrapper { align-self: flex-start; }
.cns-form--newsletter-footer .fluentform .ff-btn-submit, .cns-form--newsletter-footer .fluentform .ff-btn-submit:not(.ff_btn_no_style) { font-size: 15px; padding: 11px 20px; }
.cns-form--newsletter-footer .fluentform .ff-btn-submit:focus-visible { outline: 2px solid #34CCE8; outline-offset: 2px; }
.cns-form--newsletter-footer .fluentform .error, .cns-form--newsletter-footer .fluentform .text-danger { color: #FF8A80; font-size: 13px; }
.cns-form--newsletter-footer .fluentform .ff-el-is-error .ff-el-form-control { border-color: #FF8A80; }
.cns-form--newsletter-footer .ff-message-success { background: transparent; border-color: #3F3C7A; color: #FFFFFF; font-size: 15px; padding: 12px 14px; }

@media (max-width: 600px) {
	.cns-form--assessment { padding: 24px 20px; }
	.cns-form--contact .fluentform .ff-btn-submit { width: 100%; }
}

/* ------------------------------------------------------------ text pages (Privacy Policy, "Text page" template) */
.cns-text-hero { background: #F3F6FB; border-bottom: 1px solid #DDE3EE; }
.cns-text-hero__inner { max-width: 1200px; margin: 0 auto; padding: 32px 24px 64px; box-sizing: border-box; display: flex; flex-direction: column; gap: 32px; }
.cns-text-hero__title { max-width: 760px; display: flex; flex-direction: column; gap: 14px; }
.cns-text-hero h1 { margin: 0; font-size: clamp(34px, 4.6vw, 52px); line-height: 1.1; letter-spacing: -1px; color: #080037; }
.cns-breadcrumb { font-size: 14px; color: #55607A; }
.cns-breadcrumb a { color: #1F6BD2; text-decoration: none; }
.cns-breadcrumb a:hover { text-decoration: underline; }
.cns-breadcrumb [aria-current] { color: #080037; }
.cns-text-body { max-width: 1200px; margin: 0 auto; padding: 64px 24px 96px; box-sizing: border-box; }

.cns-prose { max-width: 760px; font-size: 17px; line-height: 1.6; color: #2F3A55; }
.cns-prose > * { margin: 0 0 16px; }
.cns-prose > :last-child { margin-bottom: 0; }
.cns-prose > :first-child, .cns-prose > h1:first-child + * { margin-top: 0; }
.cns-prose > h1:first-child { display: none; } /* the title is already in the hero */
.cns-prose > h1:first-child + p { font-size: 15px; color: #55607A; margin-bottom: 28px; }
.cns-prose > h1:first-child + p strong { font-weight: 500; }
.cns-prose :is(h2, h3, h4) { color: #080037; line-height: 1.3; }
.cns-prose h2 { font-size: 24px; margin: 36px 0 12px; }
.cns-prose h3 { font-size: 19px; margin: 28px 0 10px; }
.cns-prose strong { color: #080037; font-weight: 600; }
.cns-prose a { color: #1F6BD2; }
.cns-prose a:hover { color: #154FA0; }
.cns-prose :is(ul, ol) { padding-left: 1.3em; }
.cns-prose li { margin: 0 0 6px; padding-left: 2px; }
.cns-prose li::marker { color: #1F6BD2; }
.cns-prose code { font-family: 'IBM Plex Mono', monospace; font-size: 0.85em; background: #F3F6FB; border: 1px solid #DDE3EE; border-radius: 4px; padding: 1px 5px; }
.cns-prose .wp-block-table { margin: 8px 0 24px; overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid #DDE3EE; border-radius: 10px; }
.cns-prose .wp-block-table table { width: 100%; min-width: 520px; border-collapse: collapse; font-size: 15px; line-height: 1.5; table-layout: auto !important; }
.cns-prose .wp-block-table td:first-child { min-width: 150px; }
.cns-prose .wp-block-table :is(th, td) { word-break: normal; overflow-wrap: normal; text-align: left; vertical-align: top; padding: 12px 16px; border: 0; border-bottom: 1px solid #DDE3EE; }
.cns-prose .wp-block-table tr:last-child > * { border-bottom: 0; }
.cns-prose .wp-block-table th, .cns-prose .wp-block-table thead td { background: #F3F6FB; color: #080037; font-weight: 600; }
.cns-prose .wp-block-table figcaption { font-size: 14px; color: #55607A; padding: 8px 16px; }
.cns-prose blockquote { border-left: 3px solid #1F6BD2; padding: 4px 0 4px 18px; color: #2F3A55; }
@media (max-width: 600px) {
	.cns-text-hero__inner { padding: 24px 20px 44px; gap: 24px; }
	.cns-text-body { padding: 44px 20px 72px; }
	.cns-prose h2 { font-size: 22px; margin-top: 36px; }
}

/* Required-field legend above the assessment and contact forms (WCAG 3.3.2). */
.cns-form__hint { margin: 0 0 12px; font-size: 14px; color: #55607A; }
.cns-form__hint span { color: #C0392B; }

/* Click-to-load map ([cns_map], inc/map.php, v0.3.14). */
.cns-map { box-sizing: border-box; border-radius: 10px; background: #E3EAED; color: #34495A; display: flex; flex-direction: column; gap: 10px; align-items: center; justify-content: center; text-align: center; padding: 24px; font-size: 15px; }
.cns-map--wide { min-height: 300px; }
.cns-map--square { aspect-ratio: 1 / 1; margin-top: 8px; }
.cns-map__address { margin: 0; color: #080037; font-weight: 600; max-width: 30ch; }
.cns-map__show { font: inherit; font-weight: 600; background: #1F6BD2; color: #FFFFFF; border: 0; border-radius: 6px; padding: 12px 20px; min-height: 44px; cursor: pointer; }
.cns-map__show:hover { background: #154FA0; }
.cns-map__note { margin: 0; font-size: 13px; color: #4A5A68; max-width: 34ch; }
.cns-map__open { color: #1F6BD2; font-weight: 600; font-size: 14px; }
.cns-map.is-loaded { padding: 0; background: none; }
.cns-map__frame { width: 100%; height: 100%; min-height: inherit; border: 0; border-radius: 10px; display: block; }
.cns-map--wide .cns-map__frame { height: 300px; }
.cns-map--square .cns-map__frame { aspect-ratio: 1 / 1; height: auto; }
