/* Approved light Ministries page; all layout rules are scoped to this view. */
.mi-page{--mi-navy:var(--brand-navy,#002c3e);--mi-red:var(--brand-red,#b0001b);--mi-gold:var(--rl-gold);--mi-copy:#505b63;background:#fff;color:var(--mi-navy);font-family:'Ubuntu',sans-serif}
.mi-page *, .mi-page button{box-sizing:border-box;font-family:'Ubuntu',sans-serif}
.mi-page h1,.mi-page h2,.mi-page h3,.mi-page p{margin-top:0}
.mi-page a{text-decoration:none}
.mi-container{max-width:1240px;width:calc(100% - 64px);margin-inline:auto}
.mi-eyebrow{display:flex;align-items:center;gap:14px;margin-bottom:24px;color:var(--mi-navy);font-size:12px;line-height:1.5;font-weight:700;letter-spacing:.12em;text-transform:uppercase}
.mi-eyebrow:before{content:'';width:46px;height:2px;background:var(--mi-gold);flex:none}
.mi-page h2 span{color:var(--mi-red)}
.mi-actions{display:flex;align-items:center;flex-wrap:wrap;gap:16px}
.mi-families{padding-top:80px;padding-bottom:84px;scroll-margin-top:110px}
.mi-section-intro{max-width:880px;text-align:center;margin:0 auto 44px}
.mi-section-intro .mi-eyebrow{justify-content:center;margin-bottom:16px}
.mi-section-intro h2{font-size:clamp(32px,3.5vw,48px);line-height:1.15;letter-spacing:-.035em;font-weight:700;margin-bottom:20px}
.mi-section-intro>p:last-child{max-width:800px;margin:0 auto;font-size:18px;line-height:1.65;color:var(--mi-copy)}
.mi-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:32px}
.mi-card{border-radius:14px;box-shadow:0 4px 22px #002c3e0a;border:1px solid #edf0f2;background:#fff;overflow:hidden;display:flex;flex-direction:column;min-width:0;align-self:stretch}
.mi-card-photo{position:relative;flex:none;aspect-ratio:16/9;background:#e9f0f3}
.mi-card-photo>img{width:100%;height:100%;object-fit:cover;display:block}
.mi-photo-note{position:absolute;inset:auto 10px 10px auto;background:#ffffffed;border-radius:4px;color:#294a59;padding:5px 8px;font-size:11px;line-height:1.4;max-width:90%;font-weight:500}
.mi-card-body{position:relative;padding:42px 28px 24px;display:flex;flex-direction:column;flex:1}
.mi-card-icon{position:absolute;left:27px;top:-37px;width:72px;height:72px;border:4px solid #fff;border-radius:50%;display:flex;align-items:center;justify-content:center;box-shadow:0 2px 4px #002c3e0a}
.mi-card-icon img{width:34px;height:34px}
.mi-icon-red{background:#b0001b}
.mi-icon-gold{background:var(--rl-gold)}
.mi-icon-navy{background:#003746}
.mi-icon-blue{background:#4cb5d3}
.mi-card h3{font-size:23px;line-height:1.3;font-weight:700;letter-spacing:-.02em;margin-bottom:14px}
.mi-card-description{font-size:16px;line-height:1.7;color:var(--mi-copy);margin-bottom:20px;min-height:108px}
.mi-volunteer-wrap{padding-bottom:36px;scroll-margin-top:110px}
.mi-volunteer-panel{background:#f4f7f9;border:1px solid #eff3f5;border-radius:20px;box-shadow:0 3px 18px #002c3e03;display:grid;grid-template-columns:1.13fr 1fr;gap:64px;padding:48px;align-items:center}
.mi-volunteer-copy .mi-eyebrow{margin-bottom:20px}
.mi-volunteer-copy h2{font-size:clamp(32px,3.3vw,46px);line-height:1.12;letter-spacing:-.03em;margin-bottom:22px;font-weight:700}
.mi-volunteer-intro{font-size:17px;line-height:1.65;color:var(--mi-copy);margin-bottom:28px}
.mi-team-examples{display:flex;flex-direction:column;gap:20px;margin:0 0 20px;padding:0;list-style:none}
.mi-team-examples li{display:grid;grid-template-columns:40px minmax(0,1fr);gap:18px;align-items:start}
.mi-team-icon{width:40px;height:40px;border-radius:10px;display:flex;align-items:center;justify-content:center;flex:none}
.mi-team-icon img{width:27px;height:27px}
.mi-team-examples a{font-size:17px;line-height:1.4;color:var(--mi-navy);font-weight:700;display:inline-block}
.mi-team-examples a:hover{text-decoration:underline;text-underline-offset:3px}
.mi-team-subtitle{display:block;font-size:13px;font-weight:500;color:#526b78;line-height:1.5;margin-top:2px}
.mi-team-examples p{font-size:15px;line-height:1.5;color:var(--mi-copy);margin:4px 0 0}
.mi-all-teams{display:inline-flex;min-height:36px;align-items:center;color:var(--mi-red);font-size:14px;font-weight:500;gap:8px;margin-bottom:18px}
.mi-all-teams:hover{text-decoration:underline;text-underline-offset:4px}
.mi-volunteer-photo{height:100%;min-height:560px;max-height:680px;align-self:stretch;border-radius:18px;overflow:hidden;box-shadow:0 5px 18px #002c3e09}
.mi-volunteer-photo img{width:100%;height:100%;object-fit:cover;object-position:48% center;display:block}
.mi-invitation{position:relative;isolation:isolate;overflow:hidden;background:#f5f9fb;padding:84px 24px 80px;text-align:center;margin:0;border:0}
.mi-invitation:before,.mi-invitation:after{content:'';position:absolute;z-index:-1;width:340px;height:340px;border:40px solid #e8f1f5;border-radius:50%;left:-240px;bottom:-145px;box-shadow:0 0 0 36px #edf4f7;pointer-events:none}
.mi-invitation:after{left:auto;right:-240px}
.mi-invitation .mi-eyebrow{justify-content:center;margin-bottom:20px}
.mi-invitation h2{font-size:clamp(32px,3.5vw,48px);font-weight:700;line-height:1.15;letter-spacing:-.03em;margin-bottom:18px}
.mi-invitation p:not(.mi-eyebrow){max-width:750px;font-size:17px;line-height:1.65;color:#355565;margin:0 auto 26px}
.mi-page a:not([class*="rl-"]):focus-visible{outline:3px solid #2563eb;outline-offset:4px;border-radius:4px}
@media(max-width:1100px){.mi-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:28px}.mi-volunteer-panel{padding:36px;gap:36px;grid-template-columns:1.1fr 1fr}.mi-volunteer-copy h2{font-size:37px}.mi-volunteer-intro{font-size:16px}.mi-volunteer-photo{min-height:600px}.mi-card-description{min-height:0}}

@media(max-width:850px){.mi-volunteer-panel{grid-template-columns:1fr;gap:32px;padding:36px}.mi-volunteer-photo{min-height:0;height:380px}.mi-volunteer-photo img{object-position:center 45%}.mi-section-intro h2{font-size:38px}.mi-card h3{font-size:22px}}
@media(max-width:700px){.mi-container{width:calc(100% - 40px)}.mi-eyebrow{font-size:10px;letter-spacing:.11em;margin-bottom:20px;gap:12px}.mi-eyebrow:before{width:36px}.mi-actions{gap:12px}.mi-families{padding-top:52px;padding-bottom:52px;scroll-margin-top:90px}.mi-section-intro{margin-bottom:32px}.mi-section-intro h2{font-size:32px;margin-bottom:17px}.mi-section-intro>p:last-child{font-size:16px}.mi-grid{grid-template-columns:1fr;gap:28px}.mi-card-body{padding:40px 24px 22px}.mi-card-icon{left:23px;width:68px;height:68px;top:-35px}.mi-card h3{font-size:23px}.mi-card-description{font-size:16px;min-height:0;margin-bottom:12px}.mi-volunteer-wrap{padding-bottom:28px;scroll-margin-top:90px}.mi-volunteer-panel{padding:28px 24px;border-radius:16px;gap:28px}.mi-volunteer-copy h2{font-size:32px}.mi-volunteer-copy h2 br{display:none}.mi-volunteer-copy h2 span{display:block}.mi-volunteer-intro{font-size:16px}.mi-team-examples{gap:22px}.mi-team-examples li{gap:13px}.mi-team-examples a{font-size:16px;min-height:24px}.mi-team-examples p{font-size:15px}.mi-all-teams{font-size:14px;min-height:44px;margin-bottom:16px}.mi-volunteer-panel .mi-actions{align-items:stretch}.mi-volunteer-photo{height:320px;border-radius:12px}.mi-volunteer-photo img{object-position:46% center}.mi-invitation{padding:58px 0 56px}.mi-invitation h2{font-size:32px}.mi-invitation p:not(.mi-eyebrow){font-size:16px}.mi-invitation:before{left:-285px;bottom:-200px}.mi-invitation:after{right:-285px;bottom:-200px}}
@media(max-width:380px){.mi-card-body{padding-inline:22px}.mi-volunteer-panel{padding-inline:20px}}
@media(prefers-reduced-motion:reduce){.mi-page *{transition:none!important;scroll-behavior:auto!important}}
.mi-sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}

@media(min-width:1101px){.mi-card h3{font-size:24px}.mi-card-description{font-size:17px;line-height:1.65}}
/* Keep intrinsic photograph dimensions from changing the shared image-frame height. */
.mi-card-photo>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.mi-icon-green{background:#187c45}.mi-icon-purple{background:#7840bf}.mi-icon-pink{background:#d90046}.mi-icon-orange{background:#dc6500}
.mi-card-subtitle{font-size:14px;line-height:1.5;font-weight:500;color:#5a6c75;margin:-5px 0 14px}
.mi-card-link{display:inline-flex;align-items:center;min-height:44px;gap:7px;font-size:15px;font-weight:700;color:var(--mi-red);margin-top:auto;width:fit-content}
.mi-card-link:hover{text-decoration:underline;text-underline-offset:4px}
@media(min-width:1101px){.mi-grid>.mi-card:last-child:nth-child(3n+1){grid-column:2}}
@media(min-width:701px) and (max-width:1100px){.mi-grid>.mi-card:last-child:nth-child(2n+1){grid-column:1/-1;width:calc((100% - 28px)/2);justify-self:center}}

/* Shared dialog shell; existing global pyv form fields and rl-btn controls. */
#interest-dialog { max-height:90dvh; max-width:560px; width:calc(100% - 32px); overflow:auto; }
#interest-dialog .dialog-inner-box { padding:32px; }
body main#main-content #interest-dialog-title { font-size:var(--type-subsection-size)!important; line-height:1.25!important; padding-right:36px; margin:0; }
#interest-dialog .pyv-form-input,#interest-dialog .pyv-form-select { font-size:var(--type-body-size); }
#interest-dialog #vol-email-preview { max-width:100%; }
@media(max-width:550px) { #interest-dialog .dialog-inner-box { padding:24px; } #interest-dialog .pyv-form-2col { grid-template-columns:1fr; } }
