/* Automatic.css (and some themes) turn every <section>, and each div right inside one, into a
   centred column. Put them back to plain blocks inside Umoza; any Umoza class still wins. */
html :where(.umz-el) section,html :where(.umz-el) section>div,html body :where(section.umz-el)>div{display:block;flex-direction:row;align-items:normal;justify-content:normal;gap:normal}
/* Their section spacing too, for sections inside an element; Umoza's own classes set any padding they need. */
html :where(.umz-el) section{padding:0}
.umz-el:where(section){display:block;flex-direction:row;align-items:normal;justify-content:normal;gap:normal}
/* Those resets are author styles, so they would beat the browser's own [hidden]; keep hidden things hidden. */
.umz-el [hidden]{display:none!important}
/* Umoza Associations elements: shared look.
   Main colour: the element's own setting, then the site's (Umoza > Website elements), then the
   theme or builder (block theme presets, Elementor, Kadence, Astra, Blocksy, Divi 5, GeneratePress),
   then Divi 4's accent or the Umoza brand colour (--umz-el-fallback). Text, fonts and headings follow the theme. */
.umz-el{
--umz-el-accent:var(--wp--preset--color--primary,var(--e-global-color-primary,var(--global-palette1,var(--ast-global-color-0,var(--theme-palette-color-1,var(--gcid-primary-color,var(--wp--preset--color--accent,var(--wp--preset--color--accent-1,var(--accent,var(--umz-el-fallback,#335CFF))))))))));
--umz-el-on-accent:#fff;
--umz-el-ink:currentColor;
--umz-el-ink2:color-mix(in srgb,currentColor 72%,transparent);
--umz-el-surface:var(--wp--preset--color--base,#fff);
--umz-el-line:color-mix(in srgb,currentColor 14%,transparent);
--umz-el-line2:color-mix(in srgb,currentColor 28%,transparent);
--umz-el-seg:color-mix(in srgb,currentColor 7%,transparent);
--umz-el-soft:color-mix(in srgb,var(--umz-el-accent) 12%,transparent);
--umz-el-atext:var(--umz-el-accent);
--umz-el-radius:16px;--umz-el-btn-radius:10px;
box-sizing:border-box;font-variant-numeric:lining-nums tabular-nums}
/* White or near-black text on the main colour, whichever reads better, worked out by the browser. */
@supports (color:oklch(from red l c h)){.umz-el{--umz-el-on-accent:oklch(from var(--umz-el-accent) clamp(0,(0.64 - l) * 1000,1) 0 0)}}
.umz-el.has-font{font-family:var(--umz-el-font)}
.umz-el.has-head-font :is(h2,h3,h4){font-family:var(--umz-el-font-head)}
.umz-el.has-text-color{color:var(--umz-el-ink)}
.umz-el *,.umz-el *::before,.umz-el *::after{box-sizing:inherit}
/* On dark pages the default white card would glare: switch to a tint of the text colour. */
.umz-el.is-dark,.is-dark .umz-el,[data-theme="dark"] .umz-el{--umz-el-surface:color-mix(in srgb,currentColor 6%,transparent)}
@supports (color:oklch(from red l c h)){.umz-el{--umz-el-atext:oklch(from var(--umz-el-accent) min(l,0.5) c h)}.is-dark .umz-el,.umz-el.is-dark,[data-theme="dark"] .umz-el{--umz-el-atext:oklch(from var(--umz-el-accent) max(l,0.75) c h)}}
.umz-el a:focus-visible,.umz-el summary:focus-visible,.umz-el label:focus-visible{outline:3px solid var(--umz-el-accent);outline-offset:2px}
/* Theme or builder buttons: keep their colours and type, only make them fill the space and centre. */
.umz-el .umz-el-cta{display:flex;align-items:center;justify-content:center;width:100%;margin:0;text-align:center;text-decoration:none}
.umz-el-sr{position:absolute!important;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}
.umz-el-empty{padding:16px;border:1px dashed var(--umz-el-line2);border-radius:12px}
/* The elements' own button, used when the theme or builder has no button style of its own. */
.umz-el-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:10px 18px;border-radius:var(--umz-el-btn-radius);border:1.5px solid var(--umz-el-line2);font:inherit;font-size:15px;font-weight:700;line-height:1.2;text-decoration:none;background:transparent;color:var(--umz-el-ink);cursor:pointer;transition:background-color .2s,border-color .2s}
.umz-el .umz-el-btn:hover{border-color:var(--umz-el-accent)}
.umz-el .umz-el-btn.is-pri{background:var(--umz-el-accent);border-color:var(--umz-el-accent);color:var(--umz-el-on-accent)}
.umz-el .umz-el-btn.is-pri:hover{background:color-mix(in srgb,var(--umz-el-accent) 86%,#000)}
@media (prefers-reduced-motion:reduce){.umz-el-btn{transition:none}}
/* Themes that grey out every label (Automatic.css) must not reach element forms. */
html .umz-el :is(label,legend){color:inherit}
html .umz-el .umz-pro-tabs a:not(.is-on),html .umz-el .umz-sh-cats a:not([aria-current]){color:var(--umz-el-ink)}
/* 1.72: one calm success card for every form. */
html .umz-el .umz-success,html .umz-success{display:flex;flex-direction:column;align-items:flex-start;gap:10px;padding:28px;border-radius:18px;background:color-mix(in srgb,var(--umz-el-accent,#215A46) 6%,#fff);border:1px solid color-mix(in srgb,var(--umz-el-accent,#215A46) 18%,transparent);color:var(--umz-el-ink,#1D2420)}
html .umz-success-i{display:grid;place-items:center;width:52px;height:52px;border-radius:50%;background:var(--umz-el-accent,#215A46);color:#fff;animation:umz-pop .35s ease-out}
html .umz-el .umz-success-t,html .umz-success-t{margin:2px 0 0;font-size:22px;line-height:1.25;font-weight:750;color:inherit}
html .umz-success p{margin:0;max-width:60ch;color:inherit}
html .umz-success-s{font-size:15px;opacity:.8}
html .umz-success-a{display:flex;flex-wrap:wrap;gap:12px 18px;align-items:center;margin-top:6px}
html .umz-success-l{font-weight:650;color:var(--umz-el-accent,#215A46);text-decoration:none}
html .umz-success-l:hover{text-decoration:underline}
html .umz-eq-news{display:flex;gap:8px;align-items:center;font-size:14px;margin:4px 0 0;cursor:pointer;color:inherit}
html .umz-eq-news input{margin:0;width:18px;height:18px;accent-color:var(--umz-el-accent,#215A46)}
@keyframes umz-pop{from{transform:scale(.6);opacity:0}to{transform:scale(1);opacity:1}}
@media (prefers-reduced-motion:reduce){html .umz-success-i{animation:none}}
/* Minimal focus inside website elements. */
html .umz-el :focus{outline:none}
html .umz-el :focus-visible{outline:none;box-shadow:0 0 0 3px color-mix(in srgb,var(--umz-el-accent,#215A46) 30%,transparent);border-radius:8px}
html .umz-el input:focus,html .umz-el select:focus,html .umz-el textarea:focus{outline:none;border-color:var(--umz-el-accent,#215A46);box-shadow:0 0 0 3px color-mix(in srgb,var(--umz-el-accent,#215A46) 14%,transparent)}
html .umz-success--sm{padding:20px;gap:8px}html .umz-success--sm .umz-success-i{width:42px;height:42px}html .umz-success--sm .umz-success-t{font-size:18px}
.umz-el .umz-success-a .umz-el-cta{width:auto}
