/* Temporary first-party shims for copied WordPress/theme shell/source builder pages. */
.westa-legacy-site-header a:focus-visible,
.westa-legacy-site-header button:focus-visible,
#westa-as-mobile-popup a:focus-visible,
#westa-as-mobile-popup button:focus-visible,
.westa-legacy-site-footer a:focus-visible,
.westa-el-button-link:focus-visible,
.westa-contact-form__submit:focus-visible,
.westa-residents-problem-form__submit:focus-visible,
.westa-contact-form__field input:focus-visible,
.westa-contact-form__field select:focus-visible,
.westa-contact-form__field textarea:focus-visible,
.westa-residents-problem-form__field input:focus-visible,
.westa-residents-problem-form__field textarea:focus-visible,
.westa-el-toggle-title[tabindex="0"]:focus-visible {
  outline: 3px solid #001321;
  outline-offset: 3px;
}

.westa-el-tab-title[role="button"]:focus-within {
  outline: 3px solid #001321;
  outline-offset: 3px;
}

/* Native public forms. Kept here because source-compatible pages do not load app.css. */

.westa-contact-form,
.westa-residents-problem-form__form {
  box-sizing: border-box;
  display: block;
  width: 100%;
  max-width: 100%;
  margin: 0 0 26px;
  color: inherit;
  font-family: "Open Sans", sans-serif;
  font-size: 15px;
  line-height: 1.85714285714286;
}

.westa-contact-form *,
.westa-residents-problem-form__form * {
  box-sizing: border-box;
}

.westa-contact-form__fields,
.westa-residents-problem-form__fields {
  display: block;
  width: 100%;
}

.westa-contact-form__field,
.westa-residents-problem-form__field {
  display: block;
  width: 100%;
  padding: 10px 0;
  margin: 0;
  color: inherit;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.85714285714286;
  word-break: break-word;
}

.westa-contact-form__field > span,
.westa-residents-problem-form__field > span {
  display: block;
  margin: 0 0 4px;
}

.westa-home-contact-section .westa-contact-form,
.westa-home-contact-section .westa-contact-form__field,
.westa-home-contact-section .westa-contact-form__field > span,
.westa-home-contact-section .westa-contact-form__noscript-error {
  color: #ffffff !important;
}

.westa-contact-form__field input,
.westa-contact-form__field select,
.westa-contact-form__field textarea,
.westa-residents-problem-form__field input,
.westa-residents-problem-form__field textarea {
  display: block;
  float: none;
  width: 100%;
  max-width: 100%;
  min-height: 43px;
  margin: 0;
  border: 1px solid #cccccc;
  border-radius: 0;
  background: #ffffff;
  color: var(--ast-global-color-3, #4b4f58);
  font: inherit;
  font-weight: 400;
  line-height: 1.85714285714286;
  padding: 6px 10px;
}

.westa-contact-form__field textarea,
.westa-residents-problem-form__field textarea {
  min-height: 120px;
  resize: vertical;
}

.westa-contact-form__field select {
  appearance: auto;
}

.westa-contact-form__field input:focus,
.westa-contact-form__field select:focus,
.westa-contact-form__field textarea:focus,
.westa-residents-problem-form__field input:focus,
.westa-residents-problem-form__field textarea:focus {
  border-color: var(--ast-global-color-0, #ffc03d);
  box-shadow: 0 0 0 1px var(--ast-global-color-0, #ffc03d);
  outline: none;
}

.westa-required,
.westa-contact-form__error,
.westa-residents-problem-form__error,
.westa-contact-form__noscript-error,
.westa-residents-problem-form__noscript-error {
  color: #d63637;
}

.westa-contact-form__submit-row,
.westa-residents-problem-form__submit-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0 0;
}

.westa-contact-form__submit,
.westa-residents-problem-form__submit {
  display: inline-block;
  min-height: 43px;
  border: 0;
  border-radius: 3px;
  background: var(--ast-global-color-0, #ffc03d);
  color: var(--ast-global-color-8, #000000);
  cursor: pointer;
  font-family: "Open Sans", sans-serif;
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  padding: 15px 25px;
  text-align: center;
  text-decoration: none;
}

.westa-contact-form__submit:hover,
.westa-contact-form__submit:focus,
.westa-residents-problem-form__submit:hover,
.westa-residents-problem-form__submit:focus {
  background: var(--ast-global-color-1, #f8b526);
  color: var(--ast-global-color-8, #000000);
}

.westa-contact-form__honeypot,
.westa-residents-problem-form__honeypot {
  display: none !important;
}

@media only screen and (max-width: 600px) {
  .westa-contact-form__field,
  .westa-residents-problem-form__field {
    padding-right: 1px;
    padding-left: 1px;
  }
}

/* Dynamic public site banner. Kept here because source-compatible pages do not load app.css. */

.westa-site-banner {
  --westa-site-banner-bg: var(--westa-color-brand, #ffc03d);
  --westa-site-banner-fg: var(--westa-color-on-brand, #001321);
  --westa-site-banner-icon-bg: rgb(0 19 33 / 12%);
  --westa-site-banner-border: rgb(0 19 33 / 16%);
  --westa-site-banner-action-bg: rgb(0 19 33 / 10%);
  --westa-site-banner-action-border: rgb(0 19 33 / 18%);

  position: relative;
  box-sizing: border-box;
  width: 100%;
  margin: 0;
  border-bottom: 1px solid var(--westa-site-banner-border);
  background: var(--westa-site-banner-bg);
  color: var(--westa-site-banner-fg);
  box-shadow: 0 10px 30px rgb(0 19 33 / 18%);
  font-family: var(--westa-font-sans, "Open Sans", Arial, sans-serif);
  font-size: var(--westa-font-size-body, 15px);
  line-height: 1.45;
}

.westa-site-banner__inner {
  box-sizing: border-box;
  display: flex;
  width: min(100%, 1200px);
  min-height: 68px;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: 0 auto;
  padding: 12px clamp(18px, 4vw, 32px);
}

.westa-site-banner__icon {
  display: inline-grid;
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 999px;
  background: var(--westa-site-banner-icon-bg);
  font-family: var(--westa-font-heading, Montserrat, Arial, sans-serif);
  font-size: 16px;
  font-weight: var(--westa-font-weight-extrabold, 800);
  line-height: 1;
}

.westa-site-banner__body {
  display: grid;
  flex: 1 1 auto;
  max-width: 760px;
  gap: 2px;
  min-width: 0;
}

.westa-site-banner__title {
  font-family: var(--westa-font-heading, Montserrat, Arial, sans-serif);
  font-size: 15px;
  font-weight: var(--westa-font-weight-extrabold, 800);
  line-height: 1.25;
}

.westa-site-banner__description {
  font-size: 14px;
  font-weight: var(--westa-font-weight-bold, 700);
  line-height: 1.45;
}

.westa-site-banner__actions {
  display: flex;
  flex: 0 0 auto;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.westa-site-banner__action {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--westa-site-banner-action-border);
  border-radius: 999px;
  background: var(--westa-site-banner-action-bg);
  color: inherit;
  font-size: 13px;
  font-weight: var(--westa-font-weight-extrabold, 800);
  line-height: 1;
  padding: 9px 12px;
  text-decoration: none;
  transition:
    background-color 160ms ease,
    border-color 160ms ease,
    transform 160ms ease;
  white-space: nowrap;
}

.westa-site-banner__action:hover,
.westa-site-banner__action:focus {
  color: inherit;
  text-decoration: none;
  transform: translateY(-1px);
}

.westa-site-banner__action:focus-visible {
  outline: 3px solid currentColor;
  outline-offset: 3px;
}

.westa-site-banner--info {
  --westa-site-banner-bg: var(--westa-color-accent, #0f2e6d);
  --westa-site-banner-fg: #ffffff;
  --westa-site-banner-icon-bg: rgb(255 255 255 / 18%);
  --westa-site-banner-border: rgb(0 0 0 / 18%);
  --westa-site-banner-action-bg: rgb(255 255 255 / 12%);
  --westa-site-banner-action-border: rgb(255 255 255 / 28%);
}

.westa-site-banner--warning {
  --westa-site-banner-bg: var(--westa-color-brand, #ffc03d);
  --westa-site-banner-fg: var(--westa-color-on-brand, #001321);
  --westa-site-banner-icon-bg: rgb(0 19 33 / 12%);
  --westa-site-banner-border: rgb(0 19 33 / 16%);
}

.westa-site-banner--danger,
.westa-site-banner--emergency {
  --westa-site-banner-bg: var(--westa-color-danger, #b42318);
  --westa-site-banner-fg: var(--westa-color-on-danger, #ffffff);
  --westa-site-banner-icon-bg: rgb(255 255 255 / 18%);
  --westa-site-banner-border: rgb(0 0 0 / 18%);
  --westa-site-banner-action-bg: rgb(255 255 255 / 12%);
  --westa-site-banner-action-border: rgb(255 255 255 / 28%);
}

.westa-site-banner--success {
  --westa-site-banner-bg: var(--westa-color-success, #008a20);
  --westa-site-banner-fg: #ffffff;
  --westa-site-banner-icon-bg: rgb(255 255 255 / 18%);
  --westa-site-banner-action-bg: rgb(255 255 255 / 12%);
  --westa-site-banner-action-border: rgb(255 255 255 / 28%);
}

.westa-site-banner a:not(.westa-site-banner__action) {
  color: inherit;
  font-weight: var(--westa-font-weight-extrabold, 800);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.westa-site-banner a:not(.westa-site-banner__action):hover,
.westa-site-banner a:not(.westa-site-banner__action):focus {
  color: inherit;
  text-decoration-thickness: 2px;
}

@media (max-width: 760px) {
  .westa-site-banner__inner {
    min-height: 0;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 12px 16px;
  }

  .westa-site-banner__actions {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .westa-site-banner__inner {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
  }

  .westa-site-banner__actions {
    grid-column: 2;
  }
}

@media (prefers-reduced-motion: reduce) {
  .westa-site-banner__action {
    transition: none;
  }

  .westa-site-banner__action:hover,
  .westa-site-banner__action:focus {
    transform: none;
  }
}

/* Source-compatible pages keep the transparent header out of document flow. */
.ast-theme-transparent-header.ast-page-builder-template #main {
  transform: translateY(-60px);
  margin-bottom: -60px;
}

/* Keep source-compatible hero overlay covering the background image. */
.westa-el-section > .westa-el-background-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.westa-el-section {
  position: relative;
}

.westa-el-section > .westa-el-container {
  position: relative;
  z-index: 1;
}

/* Preserve legacy inline CTA layout for button widgets. */
.westa-el-widget-width-auto,
.westa-el-widget-width-initial {
  display: inline-block;
  width: auto;
  max-width: 100%;
}

/* Source-compatible pages do not run the old animation runtime; keep animated content visible. */
.westa-el-invisible {
  visibility: visible;
}

/* Cover column background images with migrated source overlays. */
.westa-el-column > .westa-el-widget-wrap {
  position: relative;
}

.westa-el-column > .westa-el-widget-wrap > .westa-el-background-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.westa-el-column > .westa-el-widget-wrap > :not(.westa-el-background-overlay) {
  position: relative;
  z-index: 1;
}
