/* AuthSolution Website Experience Suite — final isolation layer.
 * Loaded after Astra and module CSS so typography, width and contrast stay stable.
 */
:root {
  --aswes-navy-950: #041225;
  --aswes-navy-900: #071a36;
  --aswes-navy-850: #0a2550;
  --aswes-blue-600: #1769ff;
  --aswes-blue-500: #2d7dff;
  --aswes-cyan-400: #47c9ff;
  --aswes-white: #ffffff;
  --aswes-text: #0b1b35;
  --aswes-muted: #5f6f88;
  --aswes-border: #d9e3f1;
  --aswes-font: "Segoe UI", Arial, Helvetica, sans-serif;
}

html body.aswes-managed-ui {
  margin: 0 !important;
  font-family: var(--aswes-font) !important;
  font-synthesis: none !important;
  text-rendering: optimizeLegibility !important;
  -webkit-font-smoothing: antialiased !important;
  -moz-osx-font-smoothing: grayscale !important;
  overflow-x: clip !important;
}

body.aswes-managed-ui #page,
body.aswes-managed-ui #content,
body.aswes-managed-ui .site-content,
body.aswes-managed-ui .ast-container,
body.aswes-managed-ui .content-area,
body.aswes-managed-ui .site-main,
body.aswes-managed-ui article.page,
body.aswes-managed-ui .entry-content {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

body.aswes-managed-ui .entry-header,
body.aswes-managed-ui .entry-title,
body.aswes-managed-ui .ast-single-post-order,
body.aswes-managed-ui .ast-breadcrumbs-wrapper,
body.aswes-managed-ui .post-thumb-img-content {
  display: none !important;
}

body.aswes-managed-ui :where(h1, h2, h3, h4, h5, h6, p, a, button, input, select, textarea) {
  font-family: var(--aswes-font) !important;
  text-shadow: none !important;
  filter: none !important;
}

/* Hero contrast and spacing. These selectors intentionally cover every bundled module. */
body.aswes-managed-ui :where(
  .asui-hero,
  .assv-overview-hero,
  .assv-detail-hero,
  .aspf-hero,
  .aspf-single-hero,
  .asat-hero
) h1 {
  color: var(--aswes-white) !important;
  opacity: 1 !important;
  font-weight: 700 !important;
  line-height: 1.08 !important;
  letter-spacing: -0.035em !important;
  text-wrap: balance !important;
  max-width: 17ch !important;
  margin-top: 0 !important;
  margin-bottom: clamp(20px, 2vw, 30px) !important;
}

body.aswes-managed-ui :where(
  .asui-hero,
  .assv-overview-hero,
  .assv-detail-hero,
  .aspf-hero,
  .aspf-single-hero,
  .asat-hero
) :where(p, .asui-hero__lead, .assv-hero-lead) {
  opacity: 1 !important;
}

body.aswes-managed-ui :where(.asui-button, .assv-button, .aspf-button, .asat-button, .asui-header__cta, .assv-header__cta) {
  min-height: 50px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
  padding: 0 22px !important;
  border-radius: 14px !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  line-height: 1 !important;
  letter-spacing: -0.01em !important;
  white-space: nowrap !important;
  text-decoration: none !important;
  opacity: 1 !important;
}

body.aswes-managed-ui :where(.asui-button--primary, .assv-button--primary, .aspf-button--primary, .asat-button--primary, .asui-header__cta, .assv-header__cta) {
  color: #fff !important;
  background: linear-gradient(135deg, var(--aswes-blue-600), var(--aswes-blue-500)) !important;
  border: 1px solid rgba(255,255,255,.12) !important;
  box-shadow: 0 12px 30px rgba(23,105,255,.22) !important;
}

body.aswes-managed-ui :where(.asui-button--primary, .assv-button--primary, .aspf-button--primary, .asat-button--primary, .asui-header__cta, .assv-header__cta) :where(span, strong, i, svg) {
  color: inherit !important;
  opacity: 1 !important;
}

body.aswes-managed-ui :where(.asui-header, .assv-header, .aspf-header, .asat-header) {
  isolation: isolate !important;
}

body.aswes-managed-ui.admin-bar :where(.asui-header, .assv-header, .aspf-header, .asat-header) {
  top: 32px !important;
}

body.aswes-managed-ui :where(.asui-mega, .assv-mega, .aspf-mega, .asat-mega) {
  z-index: 10010 !important;
}

@media (max-width: 782px) {
  body.aswes-managed-ui.admin-bar :where(.asui-header, .assv-header, .aspf-header, .asat-header) {
    top: 46px !important;
  }
}

@media (max-width: 767px) {
  body.aswes-managed-ui :where(
    .asui-hero,
    .assv-overview-hero,
    .assv-detail-hero,
    .aspf-hero,
    .aspf-single-hero,
    .asat-hero
  ) h1 {
    max-width: 100% !important;
    font-size: clamp(2.25rem, 10vw, 3rem) !important;
    line-height: 1.13 !important;
    letter-spacing: -0.025em !important;
  }

  body.aswes-managed-ui :where(.asui-button, .assv-button, .aspf-button, .asat-button) {
    min-height: 48px !important;
    padding-inline: 18px !important;
  }
}
