/* Stands in for the WordPress theme and Elementor layout CSS, which the archive did not keep.
   Each page's own sections still carry the developer's original styles inline. */
:root { --navy: #171447; --mint: #5DC19D; --ink: #171447; --paper: #ffffff; --soft: #eef7f3; }
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: 'Poppins', Arial, sans-serif; line-height: 1.6; }
img { max-width: 100%; height: auto; }
a { color: inherit; }
.screen-reader-text, .skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 16px; top: 16px; z-index: 1000; background: var(--paper); padding: 8px 12px; }

/* Elementor flex containers */
.e-con, .e-con-inner { display: flex; flex-direction: column; width: 100%; }
.elementor-widget, .elementor-widget-container { width: 100%; }
.elementor-location-header { position: sticky; top: 0; z-index: 100; }
/* Rows of logo images (certificates, partners): Elementor's per-element sizes were not archived */
.e-con-inner:has(> .elementor-widget-image + .elementor-widget-image) {
  flex-direction: row; flex-wrap: wrap; justify-content: center; align-items: center; gap: 24px 40px;
  max-width: 1140px; margin: 0 auto; padding: 32px 16px; }
.e-con-inner > .elementor-widget-image.elementor-widget__width-initial { width: auto; }
.e-con-inner > .elementor-widget-image img { display: block; max-height: 110px; width: auto; }

/* Blog posts and legal pages: plain readable column */
.elementor-widget-theme-post-title, .elementor-widget-post-info, .elementor-widget-theme-post-content,
.site-main.page, .page-content, .page-header {
  max-width: 820px; margin-left: auto; margin-right: auto; padding-left: 16px; padding-right: 16px; }
.elementor-widget-theme-post-title { padding-top: 48px; }
.elementor-heading-title, .entry-title { font-size: clamp(1.8rem, 4vw, 2.6rem); line-height: 1.2; margin: 0 0 12px; }
.elementor-widget-post-info ul { list-style: none; padding: 0; margin: 0 0 24px; display: flex; gap: 16px; font-size: .9rem; opacity: .75; }
.elementor-widget-theme-post-content h2, .page-content h2 { margin-top: 2em; line-height: 1.3; }
.elementor-widget-theme-post-content table, .page-content table { border-collapse: collapse; width: 100%; display: block; overflow-x: auto; }
.elementor-widget-theme-post-content td, .elementor-widget-theme-post-content th { border: 1px solid #d7dbe8; padding: 8px 10px; }
.elementor-widget-divider { max-width: 820px; margin: 32px auto; border-top: 1px solid #d7dbe8; }
.elementor-widget-divider .elementor-divider { display: none; }

/* Post grids (News, Knowledge Hub) */
.elementor-posts-container { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px;
  max-width: 1140px; margin: 0 auto; padding: 24px 16px 48px; }
.elementor-post { border: 1px solid #e3e6ef; border-radius: 14px; padding: 22px; background: var(--paper); }
.elementor-post__title { font-size: 1.1rem; line-height: 1.35; margin: 0 0 8px; }
.elementor-post__title a { text-decoration: none; }
.elementor-post__meta-data { font-size: .85rem; opacity: .7; margin-bottom: 8px; }
.elementor-post__read-more { color: var(--navy); font-weight: 600; text-decoration: none; }

/* Icons inside Elementor widgets were sized by the lost CSS */
.elementor-widget-post-info svg, .elementor-icon-list-icon svg, .elementor-button-icon svg { width: 1em; height: 1em; fill: currentColor; }
.elementor-widget-post-info .elementor-icon-list-item { display: inline-flex; align-items: center; gap: 6px; }
.select-caret-down-wrapper { display: none; }
button.menu-toggle { background: none; border: 0; padding: 0; font: inherit; color: inherit; cursor: pointer; }

/* Buttons */
.e-con-inner:has(> .elementor-widget-button) { flex-direction: row; flex-wrap: wrap; justify-content: center; align-items: center; gap: 12px; padding: 16px; }
.elementor-widget-button.elementor-widget__width-initial, .elementor-widget-button.elementor-widget__width-auto { width: auto; }
.elementor-widget-button { display: flex; justify-content: center; padding: 12px 16px; }
.e-con-inner:has(> .elementor-widget-form) { max-width: 760px; margin: 0 auto; padding: 48px 16px; }
.e-con-inner:has(> .elementor-widget-form) > .elementor-widget-heading { text-align: center; padding-bottom: 8px; }
.elementor-button { display: inline-flex; align-items: center; gap: 8px; background: var(--navy); color: #fff;
  border: 0; border-radius: 999px; padding: 12px 26px; font: 600 1rem 'Poppins', Arial, sans-serif; text-decoration: none; cursor: pointer; }
.elementor-button:hover, .elementor-button:focus-visible { background: var(--mint); color: var(--navy); }

/* Forms (Elementor Pro forms, now sent by email: see site.js) */
.elementor-form { max-width: 640px; margin: 0 auto; padding: 8px 16px; }
.elementor-form-fields-wrapper { display: flex; flex-wrap: wrap; gap: 14px; }
.elementor-field-group { display: flex; flex-direction: column; gap: 6px; width: 100%; }
.elementor-field-label { font-weight: 600; font-size: .95rem; }
.elementor-field-textual, .elementor-field select, select.elementor-field, textarea.elementor-field {
  width: 100%; font: inherit; padding: 10px 12px; border: 1px solid #c9cfdf; border-radius: 10px; background: #fff; color: var(--ink); }
.elementor-field-type-radio .elementor-field-subgroup, .elementor-field-type-checkbox .elementor-field-subgroup { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.elementor-field-option { display: inline-flex; gap: 6px; align-items: center; }
.elementor-mark-required .elementor-field-label::after { content: " *"; color: #b42318; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin: 12px 0 0; padding: 12px 14px; border-radius: 10px; background: var(--soft); }
.form-status a { font-weight: 600; }

/* Popups become dialogs */
.site-popup { border: 0; border-radius: 16px; padding: 36px 24px 20px; width: min(560px, calc(100% - 32px)); max-height: 90vh; }
.site-popup::backdrop { background: rgba(23, 20, 71, .55); }
.site-popup-close { position: absolute; top: 8px; right: 12px; border: 0; background: none; font-size: 1.8rem; line-height: 1; cursor: pointer; color: var(--navy); }
dialog:not([open]) { display: none; }

:focus-visible { outline: 3px solid var(--mint); outline-offset: 2px; }
