/* Allied Senior Healthcare Solutions — responsive polish layer
 * Loaded after the original compiled page CSS. Desktop styles remain the source of truth.
 */
*,*::before,*::after{box-sizing:border-box}
html{overflow-x:hidden;scroll-behavior:smooth}
/* body{margin:0;overflow-x:hidden;min-width:320px} */
img,svg,video,canvas{max-width:100%}
img{height:auto}
/* button,input,select,textarea{font:inherit} */
textarea{resize:vertical}
#root,.min-h-screen{width:100%;min-width:0}
.as-faq-content > div{
	padding:0 0 16px 0;
}
.as-faq-item button{
	cursor:pointer;
}
/* Prevent long content/URLs from forcing horizontal scrolling. */
main,.flex-1,section,article,header,footer{min-width:0}
h1,h2,h3,h4,h5,h6,p,a,li,span{overflow-wrap:anywhere}

/* WordPress-generated menus should behave like the original navigation. */
.as-mobile-menu .menu-item,.as-mobile-menu li{list-style:none}
.as-mobile-menu ul{margin:0;padding:0;list-style:none}
.as-mobile-menu a{display:block}

/* Tablet: keep the original desktop composition, but give two-column sections room. */
@media (max-width:1023px){
  .mx-auto.max-w-6xl{max-width:100%;}
  main .px-5,.mx-auto.px-5{padding-left:24px;padding-right:24px}
  main .py-16{padding-top:56px;padding-bottom:56px}
  main .pb-20{padding-bottom:64px}
  main .py-20{padding-top:64px;padding-bottom:64px}
  main .gap-10{gap:32px}
  main .gap-12{gap:36px}
  main .text-5xl{font-size:3rem;line-height:1.08}
  main .text-4xl{font-size:2.35rem;line-height:1.1}
}

/* Phones and small tablets. */
@media (max-width:767px){
  header .mx-auto{padding-left:16px!important;padding-right:16px!important}
  header .py-3{padding-top:10px;padding-bottom:10px}
  header img{flex:0 0 auto}
  header .text-base{font-size:.9rem}
  header .tracking-\[0\.18em\]{letter-spacing:.11em}
  .as-mobile-menu{padding-left:16px!important;padding-right:16px!important}

  main .px-5,.mx-auto.px-5{padding-left:16px!important;padding-right:16px!important}
  main .px-6{padding-left:18px!important;padding-right:18px!important}
  main .px-8{padding-left:20px!important;padding-right:20px!important}

  main .py-16{padding-top:44px;padding-bottom:44px}
  main .py-20{padding-top:52px;padding-bottom:52px}
  main .py-24{padding-top:60px;padding-bottom:60px}
  main .pt-16{padding-top:44px}
  main .pb-20{padding-bottom:52px}
  main .pb-16{padding-bottom:44px}

  main .text-5xl{font-size:2.35rem;line-height:1.08;letter-spacing:-.025em}
  main .text-4xl{font-size:2rem;line-height:1.1;letter-spacing:-.02em}
  main .text-3xl{font-size:1.65rem;line-height:1.15}
  main .text-2xl{font-size:1.4rem;line-height:1.2}

  /* Never let grid/flex children create an invisible horizontal scrollbar. */
  main .grid>* ,main .flex>*{min-width:0}
  main .grid-cols-2,main .grid-cols-3,main .grid-cols-4{grid-template-columns:minmax(0,1fr)!important}
  main .lg\:grid-cols-2,main .lg\:grid-cols-3,main .md\:grid-cols-2,main .md\:grid-cols-3{grid-template-columns:minmax(0,1fr)!important}

  main .flex-row{flex-direction:column!important}
  main .md\:flex-row,main .lg\:flex-row{flex-direction:column!important}
  main .items-center{align-items:center}
  main .justify-between{justify-content:space-between}

  /* Buttons become thumb-friendly and don't overflow narrow screens. */
  main a.inline-flex,main button.inline-flex{max-width:100%;white-space:normal;text-align:center}
  main .w-full{width:100%}
  main .sm\:w-auto{width:100%!important}

  /* Cards and image treatments. */
  main .rounded-3xl{border-radius:1.25rem}
  main .rounded-2xl{border-radius:1rem}
  main img{max-width:100%;object-fit:cover}

  /* Hero and content blocks. */
  main section .max-w-4xl,main section .max-w-3xl,main section .max-w-2xl{max-width:100%}
  main .aspect-\[4\/3\]{aspect-ratio:4/3}

  /* Forms: stack everything and keep fields inside viewport. */
  main form .grid{grid-template-columns:minmax(0,1fr)!important}
  main input,main select,main textarea{max-width:100%;min-width:0}
  main textarea{min-height:120px}

  /* FAQ rows and long labels. */
  main h3 button{min-width:0;width:100%;padding-left:0;padding-right:0}

  /* Footer. */
  footer .mx-auto{padding-left:16px!important;padding-right:16px!important}
  footer .grid-cols-2{grid-template-columns:minmax(0,1fr)!important}
  footer .md\:grid-cols-\[1\.4fr_1fr_1fr\]{grid-template-columns:1fr!important}
  footer .sm\:flex-row{flex-direction:column!important;align-items:flex-start!important}
}

@media (max-width:380px){
  header .gap-3{gap:8px}
  header img{width:38px!important;height:38px!important}
  header .text-base{font-size:.82rem}
  main .text-5xl{font-size:2rem}
  main .text-4xl{font-size:1.75rem}
  main .text-3xl{font-size:1.5rem}
}


/* Exact footer layout + responsive behavior for the supplied footer component. */
footer.as-footer-e1{background-color:color-mix(in oklab,var(--secondary) 60%,transparent);border-top:1px solid var(--border);color:var(--foreground)}
footer.as-footer-e1 .as-footer-e2{width:100%;max-width:72rem;margin-left:auto;margin-right:auto}
footer.as-footer-e1 .as-footer-e3,footer.as-footer-e1 .as-footer-e10,footer.as-footer-e1 .as-footer-e16{min-width:0}
footer.as-footer-e1 .as-footer-e5{object-fit:contain}
footer.as-footer-e1 .as-footer-e14{display:inline-block}
footer.as-footer-e1 .as-footer-e20{width:max-content;max-width:100%}
@media (max-width:767px){
  footer.as-footer-e1 .as-footer-e2{grid-template-columns:minmax(0,1fr)!important;gap:32px;padding:40px 16px!important}
  footer.as-footer-e1 .as-footer-e4{align-items:center}
  footer.as-footer-e1 .as-footer-e7{font-size:.95rem;line-height:1.2}
  footer.as-footer-e1 .as-footer-e8{font-size:9px;line-height:1.45;letter-spacing:.12em}
  footer.as-footer-e1 .as-footer-e9{max-width:100%;margin-top:16px}
  footer.as-footer-e1 .as-footer-e12{margin-top:14px}
  footer.as-footer-e1 .as-footer-e20{margin-top:18px}
  footer.as-footer-e1 .as-footer-e22{padding:20px 16px!important;align-items:flex-start!important}
  footer.as-footer-e1 .as-footer-e23,footer.as-footer-e1 .as-footer-e24{margin:0}
}
@media (max-width:380px){
  footer.as-footer-e1 .as-footer-e5{width:48px!important;height:48px!important}
  footer.as-footer-e1 .as-footer-e7{font-size:.88rem}
  footer.as-footer-e1 .as-footer-e8{font-size:8px;letter-spacing:.1em}
}

@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}
}

/* Pixel-matched desktop footer dimensions from the supplied reference screenshot. */
@media (min-width:768px){
  footer.as-footer-e1{
    background:#f5f2e9!important;
    border-top:1px solid #e6dfcf!important;
  }
  footer.as-footer-e1 .as-footer-e2{
    width:100%!important;
    max-width:72rem!important;
    margin-left:auto!important;
    margin-right:auto!important;
    padding:56px 20px!important;
    gap:40px!important;
    grid-template-columns:1.4fr 1fr 1fr!important;
/*     grid-template-rows:260px!important; */
  }
  footer.as-footer-e1 .as-footer-e4{gap:12px!important;align-items:center!important}
  footer.as-footer-e1 .as-footer-e5{width:56px!important;height:56px!important;flex:0 0 56px!important}
  footer.as-footer-e1 .as-footer-e9{margin-top:20px!important;max-width:24rem!important}
  footer.as-footer-e1 .as-footer-e12{margin-top:16px!important}
  footer.as-footer-e1 .as-footer-e20{margin-top:20px!important}
  footer.as-footer-e1 .as-footer-e21{border-top:1px solid #e6dfcf!important}
  footer.as-footer-e1 .as-footer-e22{
    width:100%!important;
    max-width:72rem!important;
    min-height:64px!important;
    margin-left:auto!important;
    margin-right:auto!important;
    padding:24px 20px!important;
  }
}

@media (max-width:767px){
  footer.as-footer-e1{background:#f5f2e9!important;border-top:1px solid #e6dfcf!important}
  footer.as-footer-e1 .as-footer-e21{border-top:1px solid #e6dfcf!important}
}

.text-\[7px\]{
    font-size: 7px;
}
.mx-auto{
	margin:0 auto;
}
/* FINAL: exact reference footer. Keep this block last so no global responsive rules can alter it. */
footer.as-footer-e1{display:block!important;width:100%!important;margin:0!important;padding:0!important;background:#f5f2e9!important;color:#17130c!important;border-top:1px solid #e6dfcf!important;font-family:Manrope,ui-sans-serif,system-ui,-apple-system,sans-serif!important;font-size:16px!important;line-height:24px!important;}
footer.as-footer-e1,footer.as-footer-e1 *{box-sizing:border-box!important;}
footer.as-footer-e1 .as-footer-e2{display:grid!important;width:100%!important;max-width:1152px!important;height:372px!important;min-height:372px!important;margin:0 auto!important;padding:56px 20px!important;gap:40px!important;grid-template-columns: 1.4fr 1fr 1fr !important;/*grid-template-rows:260px!important;*/align-items:start!important;}
footer.as-footer-e1 .as-footer-e3,footer.as-footer-e1 .as-footer-e10,footer.as-footer-e1 .as-footer-e16{min-width:0!important;margin:0!important;padding:0!important;}
footer.as-footer-e1 .as-footer-e4{display:flex!important;align-items:center!important;gap:12px!important;margin:0!important;padding:0!important;}
footer.as-footer-e1 .as-footer-e5{display:block!important;width:56px!important;height:56px!important;min-width:56px!important;max-width:56px!important;min-height:56px!important;max-height:56px!important;flex:0 0 56px!important;border-radius:9999px!important;object-fit:contain!important;margin:0!important;padding:0!important;}
footer.as-footer-e1 .as-footer-e6{display:flex!important;flex-direction:column!important;line-height:1.25!important;margin:0!important;padding:0!important;}
footer.as-footer-e1 .as-footer-e7{display:block!important;margin:0!important;padding:0!important;font-family:Manrope,ui-sans-serif,system-ui,-apple-system,sans-serif!important;font-size:16px!important;line-height:20px!important;font-weight:800!important;letter-spacing:-.025em!important;color:#17130c!important;}
footer.as-footer-e1 .as-footer-e8{display:block!important;margin:0!important;padding:0!important;font-family:Manrope,ui-sans-serif,system-ui,-apple-system,sans-serif!important;font-size:11px!important;line-height:16.5px!important;font-weight:600!important;letter-spacing:.18em!important;text-transform:uppercase!important;color:#6e6553!important;max-width:290px!important;}
footer.as-footer-e1 .as-footer-e9{display:block!important;margin:20px 0 0!important;padding:0!important;max-width:384px!important;font-size:14px!important;line-height:22.75px!important;font-weight:400!important;color:#6e6553!important;}
footer.as-footer-e1 .as-footer-e10 h3,footer.as-footer-e1 .as-footer-e16 h3{display:block!important;margin:0!important;padding:0!important;font-size:12px!important;line-height:16px!important;font-weight:600!important;letter-spacing:.16em!important;text-transform:uppercase!important;color:#6e6553!important;}
footer.as-footer-e1 .as-footer-e12{display:flex!important;flex-direction:column!important;gap:10px!important;margin:16px 0 0!important;padding:0!important;list-style:none!important;}
footer.as-footer-e1 .as-footer-e13,footer.as-footer-e1 .as-footer-e15{display:list-item!important;margin:0!important;padding:0!important;list-style:none!important;line-height:1.5!important;}
footer.as-footer-e1 .as-footer-e14{display:inline!important;margin:0!important;padding:0!important;font-size:14px!important;line-height:21px!important;font-weight:500!important;color:rgba(23,19,12,.8)!important;text-decoration:none!important;}
footer.as-footer-e1 .as-footer-e14:hover{color:#17130c!important;}
footer.as-footer-e1 .as-footer-e18{display:block!important;margin:16px 0 0!important;padding:0!important;font-size:14px!important;line-height:22.75px!important;font-weight:400!important;color:rgba(23,19,12,.8)!important;}
footer.as-footer-e1 .as-footer-e19{display:inline!important;}
footer.as-footer-e1 .as-footer-e20{display:inline-flex!important;align-items:center!important;justify-content:center!important;width:max-content!important;height:36px!important;margin:20px 0 0!important;padding:8px 16px!important;border-radius:12px!important;background:#c9a227!important;color:#17130c!important;font-size:14px!important;line-height:20px!important;font-weight:600!important;text-decoration:none!important;box-shadow:rgba(110,90,40,.05) 0 4px 5px,rgba(110,90,40,.04) 0 4px 10px,rgba(110,90,40,.05) 0 10px 20px!important;}
footer.as-footer-e1 .as-footer-e21{display:block!important;width:100%!important;height:64px!important;min-height:64px!important;margin:0!important;padding:0!important;border-top:1px solid #e6dfcf!important;}
footer.as-footer-e1 .as-footer-e22{display:flex!important;width:100%!important;max-width:1152px!important;height:64px!important;min-height:64px!important;margin:0 auto!important;padding:24px 20px!important;flex-direction:row!important;align-items:center!important;justify-content:space-between!important;gap:8px!important;}
footer.as-footer-e1 .as-footer-e23,footer.as-footer-e1 .as-footer-e24{display:block!important;margin:0!important;padding:0!important;font-size:12px!important;line-height:16px!important;font-weight:400!important;color:#6e6553!important;}
@media(max-width:767px){
 footer.as-footer-e1 .as-footer-e2{height:auto!important;min-height:0!important;grid-template-columns:minmax(0,1fr)!important;/*grid-template-rows:auto!important;*/gap:32px!important;padding:40px 16px!important;}
 footer.as-footer-e1 .as-footer-e7{font-size:15px!important;line-height:19px!important;}
 footer.as-footer-e1 .as-footer-e8{font-size:10px!important;line-height:14px!important;max-width:260px!important;}
 footer.as-footer-e1 .as-footer-e9{max-width:none!important;margin-top:16px!important;}
 footer.as-footer-e1 .as-footer-e21{height:auto!important;min-height:0!important;}
 footer.as-footer-e1 .as-footer-e22{height:auto!important;min-height:64px!important;padding:20px 16px!important;flex-direction:column!important;align-items:flex-start!important;justify-content:center!important;}
}

/* FAQ accordion */
.as-faq-trigger[aria-expanded="true"] .as-faq-icon{transform:rotate(180deg);}
.as-faq-icon{transition:transform 280ms ease;}
.as-faq-answer > :first-child{margin-top:0;}
.as-faq-answer > :last-child{margin-bottom:0;}
