/* UoA Design System v2.1.1 - third-party adapters and progressive fallbacks. */
:root{
  --uoa-focus-ring:0 0 0 3px rgba(var(--uoa-rgb-accent-light),.55),0 0 0 6px rgba(var(--uoa-rgb-site-background),.9);
  --uoa-motion-fast:160ms;
  --uoa-motion-normal:260ms;
  --uoa-motion-slow:700ms;
  --uoa-motion-ease:cubic-bezier(.2,.8,.2,1);
  --uoa-density-section-gap:clamp(3.5rem,7vw,6.5rem);
  --uoa-density-card-padding:clamp(1.35rem,3vw,2.6rem);
  --uoa-density-grid-gap:clamp(1rem,2.2vw,1.6rem);
  --uoa-reading-max-width:760px;
  --uoa-content-max-width:980px;
  --uoa-wide-max-width:1380px;
}

:where(a,button,input,select,textarea,[tabindex]):focus-visible{outline:2px solid transparent;box-shadow:var(--uoa-focus-ring)!important;}
.uoa-density-compact{--uoa-density-section-gap:clamp(2.4rem,5vw,4rem);--uoa-density-card-padding:clamp(1rem,2vw,1.6rem);--uoa-density-grid-gap:.85rem;}
.uoa-density-spacious{--uoa-density-section-gap:clamp(4.5rem,9vw,8rem);--uoa-density-card-padding:clamp(1.8rem,4vw,3.4rem);--uoa-density-grid-gap:clamp(1.4rem,3vw,2.3rem);}
.uoa-motion-reduced{--uoa-motion-fast:0ms;--uoa-motion-normal:0ms;--uoa-motion-slow:0ms;}
.uoa-motion-expressive{--uoa-motion-fast:220ms;--uoa-motion-normal:380ms;--uoa-motion-slow:950ms;}
.uoa-motion-reduced :where(*,::before,::after){animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important;}
.uoa-motion-expressive :where(a,button,.reuse-card-hero,.reuse-card-framed-media,.section-fadein){transition-duration:var(--uoa-motion-normal)!important;}

.uoa-preset-midnight{--uoa-rgb-site-background:0,2,10;--uoa-rgb-accent:83,105,255;--uoa-rgb-accent-mid:63,81,210;--uoa-rgb-accent-light:130,151,255;}
.uoa-preset-ivory{--uoa-rgb-site-background:31,34,43;--uoa-rgb-panel:241,235,219;--uoa-rgb-panel-deep:196,184,157;--uoa-rgb-accent:65,119,168;--uoa-rgb-accent-mid:51,92,132;--uoa-rgb-accent-light:113,164,207;}
.uoa-preset-high-contrast{--uoa-rgb-site-background:0,0,0;--uoa-rgb-panel:255,255,255;--uoa-rgb-panel-deep:210,210,210;--uoa-rgb-accent:36,141,255;--uoa-rgb-accent-mid:0,105,230;--uoa-rgb-accent-light:116,194,255;}

:where(body.error404,body.uoa-all-articles-template-active,body.archive,body.category,body.uoa-post-read-only-template-active,body.uoa-posts-themed-images-template-active,body.search)::before{
  background-color:var(--uoa-site-background-color,#030614)!important;
  background-image:linear-gradient(rgba(var(--uoa-rgb-background-overlay,3,6,20),var(--uoa-background-overlay-opacity,0)),rgba(var(--uoa-rgb-background-overlay,3,6,20),var(--uoa-background-overlay-opacity,0))),var(--uoa-site-background-image)!important;
  background-size:var(--uoa-site-background-size,cover)!important;
  background-position:var(--uoa-site-background-position,top center)!important;
  background-repeat:var(--uoa-site-background-repeat,no-repeat)!important;
}
.uoa-background-scroll::before{position:absolute!important;height:100%!important;min-height:100vh;}
@media (max-width:1024px),(pointer:coarse),(hover:none){
  :where(body.error404,body.uoa-all-articles-template-active,body.archive,body.category,body.uoa-post-read-only-template-active,body.uoa-posts-themed-images-template-active,body.search)::before{background-image:linear-gradient(rgba(var(--uoa-rgb-background-overlay,3,6,20),var(--uoa-background-overlay-opacity,0)),rgba(var(--uoa-rgb-background-overlay,3,6,20),var(--uoa-background-overlay-opacity,0))),var(--uoa-site-background-image-tablet)!important;}
}

.uoa-density-compact :where(.reuse-grid-two,.reuse-grid-three,.reuse-grid-four-column,.reuse-card-stack),
.uoa-density-spacious :where(.reuse-grid-two,.reuse-grid-three,.reuse-grid-four-column,.reuse-card-stack){gap:var(--uoa-density-grid-gap);}
.uoa-density-compact :where(.reuse-card-glass,.reuse-card-callout-glass,.reuse-card-wide),
.uoa-density-spacious :where(.reuse-card-glass,.reuse-card-callout-glass,.reuse-card-wide){padding:var(--uoa-density-card-padding);}
.uoa-theme .reuse-reading-width{width:min(100%,var(--uoa-reading-max-width));margin-inline:auto;}
.uoa-theme .reuse-content-width{width:min(100%,var(--uoa-content-max-width));margin-inline:auto;}
.uoa-theme .reuse-wide-width{width:min(100%,var(--uoa-wide-max-width));margin-inline:auto;}

/* WPForms adapter. */
.uoa-theme :where(.wpforms-container,.uoa-plugin-wpforms){color:var(--uoa-mainpage-white,#fff);font-family:var(--uoa-mainpage-font-body);}
.uoa-theme :where(.wpforms-container input,.wpforms-container select,.wpforms-container textarea){border:1px solid rgba(var(--uoa-rgb-accent-light),.35);border-radius:12px;background:rgba(var(--uoa-rgb-site-background),.58);color:#fff;}
.uoa-theme .wpforms-container button[type=submit]{font-family:var(--uoa-mainpage-font-body);border-radius:999px;background:var(--uoa-color-accent);color:#fff;}

/* Explicit no-plugin fallback. Add this class only when enhancement assets are absent. */
.uoa-theme .uoa-plugin-fallback :where([role=tabpanel],.tab-content,.reveal-content){display:block!important;visibility:visible!important;opacity:1!important;}

/* Debug mode is admin-only and opt-in through ?uoa_debug=1. */
.uoa-debug [class*=reuse-]{outline:1px dashed rgba(255,200,0,.65);position:relative;}
.uoa-debug [class*=reuse-]::after{content:attr(class);position:absolute;z-index:9999;right:0;bottom:0;max-width:100%;padding:2px 5px;background:#111;color:#ffe36e;font:10px/1.2 monospace;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;pointer-events:none;}

@media (prefers-reduced-motion:reduce){:root{--uoa-motion-fast:0ms;--uoa-motion-normal:0ms;--uoa-motion-slow:0ms;}*{scroll-behavior:auto!important;}}

/* Content safety and empty states. */
.uoa-theme :where(h1,h2,h3,h4,h5,h6,p,li,a,code){overflow-wrap:anywhere;}
.uoa-theme :where(.reuse-actions,.reuse-chip-row,.reuse-card-stack):empty{display:none;}
.uoa-theme :where(.reuse-card-media,.reuse-media-frame-portrait):not(:has(img,video,picture)){display:none;}
.uoa-theme :where(.reuse-grid-two,.reuse-grid-three,.reuse-grid-four-column)>:only-child{grid-column:1/-1;max-width:var(--uoa-content-max-width);width:100%;margin-inline:auto;}
.uoa-theme img{max-width:100%;height:auto;}
.reuse-plugin-embed{margin-top:20px;}
.reuse-plugin-embed.reuse-plugin-embed-compact{margin-bottom:10px;}
.reuse-divider-content{margin:20px 0;}
.uoa-profile-axel{--uoa-profile-image:url('/wp-content/uploads/2026/06/axel.png');}
.uoa-profile-amy{--uoa-profile-image:url('https://universityofawakening.com/wp-content/uploads/2026/06/amy-e1782934002341.png');}
.uoa-mainpage--membership :where(.reuse-price-box,.monthly){display:none!important;}

/* Contact/WPForms adapter formerly stored as editor-level CSS. */
#uoa-contact #contact-form .reuse-card-glass>div[aria-label="University of Awakening contact form"]{margin-top:1.6rem;padding:clamp(1rem,2vw,1.35rem);border:1px solid rgba(255,255,255,.14);background:rgba(255,255,255,.055);box-shadow:inset 0 2px 22px rgba(255,255,255,.06);}
#uoa-contact #contact-form .reuse-card-glass>div[aria-label="University of Awakening contact form"]{background:var(--uoa-glass-support-background,rgba(255,255,255,.1));}
#uoa-contact :where(.wpforms-container,.wpforms-container-full){width:100%!important;max-width:none!important;margin:0!important;padding:0!important;}
#uoa-contact .wpforms-form{display:grid;gap:1rem;}
#uoa-contact .wpforms-field{margin:0!important;padding:0!important;}
#uoa-contact :where(.wpforms-field-label,.wpforms-field-label-inline){display:block;margin:20px 0 5px!important;color:#fff!important;font-size:.82rem!important;font-weight:900!important;letter-spacing:.08em!important;line-height:1.25!important;text-transform:uppercase;}
#uoa-contact .wpforms-required-label{color:var(--uoa-page-blue-light)!important;}
#uoa-contact .wpforms-field :where(input[type=text],input[type=email],input[type=tel],input[type=url],input[type=number],select,textarea){width:100%!important;max-width:none!important;min-height:52px!important;padding:.9rem 1rem!important;border:1px solid rgba(255,255,255,.18)!important;border-radius:12px!important;outline:none!important;background:rgba(3,6,20,.52)!important;color:#fff!important;box-shadow:inset 0 2px 14px rgba(0,0,0,.28),inset 0 1px 20px rgba(255,255,255,.05)!important;font-size:1rem!important;line-height:1.35!important;transition:border-color var(--uoa-motion-fast) var(--uoa-motion-ease),box-shadow var(--uoa-motion-fast) var(--uoa-motion-ease),background var(--uoa-motion-fast) var(--uoa-motion-ease);}
#uoa-contact .wpforms-field textarea{min-height:145px!important;resize:vertical;}
#uoa-contact .wpforms-field :where(input,textarea)::placeholder{color:rgba(255,255,255,.52)!important;}
#uoa-contact .wpforms-field :where(input,select,textarea):focus{border-color:rgba(79,160,255,.72)!important;background:rgba(3,6,20,.68)!important;box-shadow:var(--uoa-focus-ring),inset 0 2px 14px rgba(0,0,0,.3)!important;}
#uoa-contact .wpforms-submit-container{margin:1rem 0 0!important;padding:0!important;}
#uoa-contact :where(.wpforms-submit,button.wpforms-submit,.wpforms-page-button){width:auto!important;min-height:54px!important;padding:.95rem 1.45rem!important;border:1px solid rgba(255,255,255,.18)!important;border-radius:12px!important;background:#dcdcde!important;color:#1b1d24!important;box-shadow:-4px -4px 8px rgba(255,255,255,.16),6px 6px 12px rgba(0,0,0,.34)!important;font-size:.92rem!important;font-weight:900!important;letter-spacing:.07em!important;line-height:1.15!important;text-transform:uppercase!important;transition:transform var(--uoa-motion-normal) var(--uoa-motion-ease),box-shadow var(--uoa-motion-normal) var(--uoa-motion-ease),background var(--uoa-motion-normal) var(--uoa-motion-ease);}
#uoa-contact :where(.wpforms-submit,button.wpforms-submit,.wpforms-page-button):is(:hover,:focus-visible){background:linear-gradient(160deg,#dcdcde,#7e7e7e)!important;box-shadow:inset 2px 2px 5px rgba(0,0,0,.36),inset -2px -2px 5px rgba(255,255,255,.18)!important;transform:translate3d(2px,4px,0);}
#uoa-contact :where(.wpforms-error,label.wpforms-error){margin-top:.42rem!important;color:#fff!important;font-size:.9rem!important;font-weight:800!important;line-height:1.35!important;}
#uoa-contact :where(.wpforms-confirmation-container-full,.wpforms-confirmation-container){margin:0!important;padding:1rem 1.15rem!important;border:1px solid rgba(79,160,255,.36)!important;background:rgba(49,134,255,.12)!important;color:#fff!important;box-shadow:inset 0 2px 20px rgba(255,255,255,.08)!important;}
@media (max-width:768px){#uoa-contact :where(.wpforms-submit,button.wpforms-submit,.wpforms-page-button){width:100%!important;min-height:50px!important;}#uoa-contact #contact-form .reuse-card-glass>div[aria-label="University of Awakening contact form"]{padding:.85rem;}}
