/* Prayer width controls. Site width inherits theme shell and fills it. */
.imai-prayer-widget.imai-prayer-width-site{width:calc(100% - 32px)!important;max-width:var(--imai-page-width, 1440px)!important;box-sizing:border-box;margin-inline:auto!important}
.imai-prayer-widget.imai-prayer-width-full{width:100%!important;max-width:none!important;margin-inline:0!important;border-radius:0!important;box-sizing:border-box}
.imai-prayer-widget.imai-prayer-width-wide{width:90%!important;max-width:none!important;margin-inline:auto!important;box-sizing:border-box}
.imai-prayer-widget.imai-prayer-width-center{width:calc(100% - 32px)!important;max-width:980px!important;margin-inline:auto!important;box-sizing:border-box}
.imai-prayer-widget.imai-prayer-width-compact{width:calc(100% - 32px)!important;max-width:650px!important;margin-inline:auto!important;box-sizing:border-box}
@media(max-width:700px){.imai-prayer-widget{width:calc(100% - 24px)!important;max-width:100%!important;padding:14px!important;box-sizing:border-box}.imai-prayer-widget.imai-prayer-width-full{width:100%!important}.imai-prayer-widget.imai-prayer-mobile-stack .imai-prayer-hero{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:14px!important}.imai-prayer-widget.imai-prayer-mobile-stack .imai-prayer-hero>*{width:100%!important;max-width:100%!important;box-sizing:border-box}}

/* Follow the same width and gutter as the global site shell, including mobile. */
body:is(.imai-page-width-full,.imai-page-width-wide,.imai-page-width-medium) .imai-prayer-widget.imai-prayer-width-site.shell {
 width:calc(100% - 2 * var(--imai-layout-gutter, 16px))!important;
 max-width:var(--imai-layout-max, 1480px)!important;
 margin-inline:auto!important; min-width:0; box-sizing:border-box;
}
/* The modern homepage has additional inner padding; align the prayer card with its content. */
body.home.imai-template-modern .imai-prayer-widget.imai-prayer-width-site.shell {
 width:calc(100% - 2 * var(--imai-layout-gutter, 16px) - 2 * clamp(14px,2.5vw,38px))!important;
 max-width:calc(var(--imai-page-width,1480px) - 2 * clamp(14px,2.5vw,38px))!important;
}
