/* 2026-06-10: Cache-bust frontend hero CSS v2 */
/* Manifest Life Church public CMS frontend backbone */
.mlc-public-page-shell{width:min(1180px,calc(100% - 28px));margin:0 auto 3rem;display:flex;flex-direction:column;gap:1.5rem}.mlc-public-hero{position:relative;overflow:hidden;display:grid;grid-template-columns:minmax(0,1fr) minmax(260px,360px);gap:1.5rem;align-items:stretch;padding:clamp(2rem,5vw,4.5rem);border-radius:2.2rem;color:#fff;background:linear-gradient(135deg,#0f172a 0%,#1d4ed8 42%,#14b8a6 100%);box-shadow:0 28px 80px rgba(15,23,42,.22)}.mlc-public-hero-bg{position:absolute;inset:0;background:radial-gradient(circle at 15% 20%,rgba(255,255,255,.28),transparent 24%),radial-gradient(circle at 85% 10%,rgba(253,186,116,.22),transparent 22%),radial-gradient(circle at 75% 85%,rgba(74,222,128,.20),transparent 28%);pointer-events:none}.mlc-public-hero-copy,.mlc-public-hero-card{position:relative;z-index:1}.mlc-public-eyebrow,.mlc-public-kicker{display:inline-flex;align-items:center;gap:.45rem;font-weight:800;text-transform:uppercase;letter-spacing:.08em;font-size:.78rem}.mlc-public-hero h1{font-size:clamp(2.3rem,6vw,5.2rem);line-height:.96;font-weight:900;margin:.7rem 0 1rem;max-width:850px}.mlc-public-hero p{font-size:clamp(1rem,2.3vw,1.25rem);opacity:.92;max-width:760px}.mlc-public-hero-actions{display:flex;flex-wrap:wrap;gap:.8rem;margin-top:1.35rem}.mlc-public-hero-card{align-self:end;padding:1.4rem;border:1px solid rgba(255,255,255,.22);border-radius:1.6rem;background:rgba(255,255,255,.16);backdrop-filter:blur(14px);box-shadow:0 18px 48px rgba(2,6,23,.18)}.mlc-public-hero-card i{font-size:2rem;color:#fde68a}.mlc-public-hero-card strong{display:block;font-size:1.15rem;margin:.4rem 0}.mlc-public-countdown{font-weight:800;margin-top:.7rem;color:#fff}.mlc-public-ticker{width:min(1180px,calc(100% - 28px));margin:1rem auto;display:grid;grid-template-columns:auto 1fr;gap:.8rem;align-items:center;padding:.65rem;border-radius:999px;background:rgba(255,255,255,.9);border:1px solid rgba(15,23,42,.08);box-shadow:0 14px 34px rgba(15,23,42,.08);overflow:hidden}.mlc-public-ticker-label{display:inline-flex;align-items:center;gap:.4rem;padding:.55rem .8rem;border-radius:999px;background:linear-gradient(135deg,#f97316,#16a34a);color:#fff;font-weight:800}.mlc-public-ticker-track{display:flex;gap:1rem;overflow:auto;scrollbar-width:none}.mlc-public-ticker-track a{display:inline-flex;align-items:center;gap:.55rem;white-space:nowrap;color:#0f172a;text-decoration:none}.mlc-public-service-strip,.mlc-public-branch-grid,.mlc-intake-metrics,.mlc-intake-card-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:1rem}.mlc-public-service-strip article,.mlc-public-branch-card,.mlc-public-content-card,.mlc-public-form-card,.mlc-intake-admin-card,.mlc-public-empty,.mlc-public-admin-filter{border:1px solid rgba(15,23,42,.08);border-radius:1.5rem;background:rgba(255,255,255,.92);box-shadow:0 18px 45px rgba(15,23,42,.08)}.mlc-public-service-strip article{padding:1.2rem;display:grid;gap:.25rem}.mlc-public-service-strip i,.mlc-public-branch-card>span,.mlc-public-icon{width:3rem;height:3rem;border-radius:1rem;display:inline-grid;place-items:center;background:linear-gradient(135deg,rgba(37,99,235,.14),rgba(20,184,166,.16));color:#2563eb;font-size:1.35rem}.mlc-public-service-strip span,.mlc-public-service-strip em{color:#64748b;font-style:normal}.mlc-public-service-strip strong{font-size:1.2rem}.mlc-public-content-card{padding:clamp(1.2rem,3vw,2rem);line-height:1.7}.mlc-public-content-card img{max-width:100%;height:auto;border-radius:1rem}.mlc-public-content-card h1,.mlc-public-content-card h2,.mlc-public-content-card h3{font-weight:900;color:#0f172a}.mlc-public-form-card{padding:clamp(1.2rem,3vw,2rem)}.mlc-public-form-heading{display:flex;gap:1rem;align-items:flex-start;margin-bottom:1.25rem}.mlc-public-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}.mlc-public-form-grid .form-floating:nth-last-child(-n+3),.mlc-public-form-grid textarea,.mlc-public-form-grid .form-check,.mlc-public-form-grid .mlc-public-form-actions{grid-column:1/-1}.mlc-public-form-grid .form-control,.mlc-public-form-grid .form-select,.mlc-public-admin-filter .form-control,.mlc-public-admin-filter .form-select{border-radius:1rem;border-color:rgba(15,23,42,.12)}.mlc-public-form-actions{display:flex;justify-content:flex-end}.mlc-public-branch-card{padding:1.2rem;display:flex;flex-direction:column;gap:.45rem}.mlc-public-branch-card h3{font-size:1.15rem;font-weight:900;margin:.2rem 0}.mlc-public-branch-card p{margin:0;color:#64748b}.mlc-public-share{display:flex;align-items:center;flex-wrap:wrap;gap:.65rem;justify-content:flex-end}.mlc-public-share span,.mlc-public-share a{display:inline-flex;align-items:center;justify-content:center;gap:.45rem;height:2.55rem;padding:0 .85rem;border-radius:999px;background:#fff;border:1px solid rgba(15,23,42,.08);box-shadow:0 12px 28px rgba(15,23,42,.07);color:#0f172a;text-decoration:none}.frontend-public-branch-switcher .btn{border-radius:999px;background:rgba(255,255,255,.92);font-weight:800}.mlc-public-search-modal .modal-content{border:0;border-radius:1.7rem;box-shadow:0 25px 80px rgba(15,23,42,.28)}.mlc-public-search-results{display:grid;gap:.75rem}.mlc-public-search-result{display:block;padding:1rem;border:1px solid rgba(15,23,42,.08);border-radius:1.1rem;text-decoration:none;color:#0f172a;background:#fff}.mlc-public-search-result strong{display:block}.mlc-public-search-result span{display:block;color:#64748b;font-size:.95rem}.mlc-public-empty{padding:2rem;display:grid;place-items:center;text-align:center;gap:.6rem;color:#64748b}.mlc-public-empty i{font-size:2.4rem;color:#2563eb}.mlc-public-accessibility{position:fixed;right:1rem;bottom:1rem;z-index:1040;display:flex;flex-direction:column;gap:.4rem}.mlc-public-accessibility button{width:2.85rem;height:2.85rem;border:0;border-radius:1rem;background:#0f172a;color:#fff;box-shadow:0 15px 35px rgba(15,23,42,.24)}.mlc-admin-public-intakes{width:min(1180px,100%);margin:0 auto}.mlc-intake-metrics article{padding:1.1rem;border-radius:1.4rem;background:linear-gradient(135deg,rgba(37,99,235,.12),rgba(20,184,166,.12));border:1px solid rgba(37,99,235,.12)}.mlc-intake-metrics i{font-size:1.5rem;color:#2563eb}.mlc-intake-metrics span{display:block;color:#64748b}.mlc-intake-metrics strong{font-size:1.8rem}.mlc-public-admin-filter{padding:1rem;display:grid;grid-template-columns:2fr 1fr 1fr auto;gap:.85rem;align-items:end}.mlc-intake-admin-card{padding:1.2rem}.mlc-intake-card-top,.mlc-intake-contact-row{display:flex;align-items:center;justify-content:space-between;gap:.7rem;flex-wrap:wrap}.mlc-intake-card-top span:not(.badge),.mlc-intake-contact-row span{color:#64748b;font-size:.9rem}.mlc-intake-contact-row span{display:inline-flex;align-items:center;gap:.35rem;padding:.38rem .65rem;border-radius:999px;background:#f8fafc}.mlc-intake-update-form{display:grid;gap:.75rem}.mlc-public-high-contrast{filter:contrast(1.18) saturate(1.08)}body.mlc-public-font-lg{font-size:108%}body.mlc-public-font-xl{font-size:116%}@media(max-width:900px){.mlc-public-hero{grid-template-columns:1fr;padding:1.5rem;border-radius:1.6rem}.mlc-public-hero-card{align-self:stretch}.mlc-public-ticker{grid-template-columns:1fr;border-radius:1.35rem}.mlc-public-form-grid,.mlc-public-admin-filter{grid-template-columns:1fr}.mlc-public-share{justify-content:flex-start}.mlc-public-accessibility{right:.7rem;bottom:.7rem}.mlc-public-page-shell{width:min(100% - 18px,1180px)}}

/* 2026-06-10: Premium frontend page hero refinement v4 */
.mlc-frontend-template .mlc-public-page-shell{width:min(1180px,calc(100% - 32px));gap:clamp(1.1rem,2vw,1.6rem)}
.mlc-frontend-template .mlc-public-page-shell>.mlc-public-hero{--mlc-page-hero-primary:var(--fd-primary,var(--fm-primary,#1d4ed8));--mlc-page-hero-accent:var(--fd-accent,var(--fm-accent,#14b8a6));isolation:isolate;position:relative;overflow:hidden;display:grid;grid-template-columns:minmax(0,1.36fr) minmax(250px,.64fr);align-items:stretch;gap:clamp(1rem,2.2vw,1.45rem);padding:clamp(1.2rem,3.5vw,2.35rem)!important;border-radius:clamp(1.35rem,3vw,2.25rem)!important;color:#0f172a!important;background:radial-gradient(circle at 12% 16%,rgba(255,255,255,.34),transparent 25%),radial-gradient(circle at 88% 8%,rgba(125,211,252,.24),transparent 30%),radial-gradient(circle at 82% 88%,rgba(45,212,191,.22),transparent 32%),linear-gradient(135deg,rgba(12,23,52,.98) 0%,rgba(29,78,216,.95) 48%,rgba(13,148,136,.9) 100%)!important;border:1px solid rgba(255,255,255,.18)!important;box-shadow:0 30px 90px rgba(15,23,42,.20)!important}
.mlc-frontend-template .mlc-public-page-shell>.mlc-public-hero:before,.mlc-frontend-template .mlc-public-page-shell>.mlc-public-hero:after{content:"";position:absolute;z-index:0;pointer-events:none;border-radius:999px}.mlc-frontend-template .mlc-public-page-shell>.mlc-public-hero:before{width:22rem;height:22rem;right:-8rem;top:-10rem;background:radial-gradient(circle,rgba(255,255,255,.28),rgba(255,255,255,0) 68%)}.mlc-frontend-template .mlc-public-page-shell>.mlc-public-hero:after{width:17rem;height:17rem;left:-7rem;bottom:-8rem;background:radial-gradient(circle,rgba(251,191,36,.24),rgba(251,191,36,0) 70%)}
.mlc-frontend-template .mlc-public-page-shell>.mlc-public-hero .mlc-public-hero-bg{z-index:0;opacity:1;background:linear-gradient(120deg,rgba(255,255,255,.14),rgba(255,255,255,0) 42%),repeating-linear-gradient(135deg,rgba(255,255,255,.055) 0 1px,transparent 1px 18px)!important}.mlc-frontend-template .mlc-public-page-shell>.mlc-public-hero .mlc-public-hero-copy,.mlc-frontend-template .mlc-public-page-shell>.mlc-public-hero .mlc-public-hero-card{position:relative;z-index:1;min-width:0;border-radius:clamp(1.1rem,2.5vw,1.65rem)!important;box-shadow:0 18px 54px rgba(2,6,23,.18)!important;backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px)}
.mlc-frontend-template .mlc-public-page-shell>.mlc-public-hero .mlc-public-hero-copy{display:flex;flex-direction:column;justify-content:center;gap:.05rem;padding:clamp(1.65rem,5vw,3.15rem)!important;color:#0f172a!important;background:linear-gradient(180deg,rgba(255,255,255,.98),rgba(248,250,252,.94))!important;border:1px solid rgba(255,255,255,.72)!important;border-left:7px solid var(--mlc-page-hero-accent)!important}.mlc-frontend-template .mlc-public-page-shell>.mlc-public-hero .mlc-public-eyebrow{align-self:flex-start;max-width:100%;display:inline-flex;align-items:center;gap:.55rem;padding:.62rem .9rem!important;margin:0 0 .95rem!important;border-radius:999px!important;color:#075985!important;background:linear-gradient(135deg,rgba(219,234,254,.92),rgba(204,251,241,.88))!important;border:1px solid rgba(14,165,233,.22)!important;box-shadow:0 10px 28px rgba(14,165,233,.12)!important;font-size:clamp(.68rem,1.55vw,.82rem)!important;font-weight:900!important;line-height:1.28;letter-spacing:.07em;text-transform:uppercase;overflow-wrap:anywhere;word-break:normal}.mlc-frontend-template .mlc-public-page-shell>.mlc-public-hero .mlc-public-eyebrow i{flex:0 0 auto;width:1.65rem;height:1.65rem;display:inline-grid;place-items:center;border-radius:999px;color:#fff!important;background:linear-gradient(135deg,var(--mlc-page-hero-primary),var(--mlc-page-hero-accent));font-size:.95rem!important}
.mlc-frontend-template .mlc-public-page-shell>.mlc-public-hero h1{max-width:860px;margin:0 0 .9rem!important;color:#08111f!important;font-size:clamp(2.05rem,5.8vw,4.05rem)!important;line-height:1.03!important;font-weight:950!important;letter-spacing:-.05em;overflow-wrap:break-word}.mlc-frontend-template .mlc-public-page-shell>.mlc-public-hero p{max-width:780px;margin:0!important;color:#334155!important;opacity:1!important;font-size:clamp(1.03rem,2.25vw,1.24rem)!important;line-height:1.78!important;font-weight:500;overflow-wrap:break-word}.mlc-frontend-template .mlc-public-page-shell>.mlc-public-hero .mlc-public-hero-actions{display:flex;flex-wrap:wrap;gap:.78rem;margin-top:1.45rem!important}.mlc-frontend-template .mlc-public-page-shell>.mlc-public-hero .mlc-public-hero-actions .btn{min-height:2.95rem;display:inline-flex;align-items:center;justify-content:center;border-radius:999px!important;font-weight:850;letter-spacing:-.01em;box-shadow:0 14px 30px rgba(37,99,235,.16)}.mlc-frontend-template .mlc-public-page-shell>.mlc-public-hero .mlc-public-hero-actions .btn-light{color:#fff!important;background:linear-gradient(135deg,var(--mlc-page-hero-primary),var(--mlc-page-hero-accent))!important;border-color:transparent!important}.mlc-frontend-template .mlc-public-page-shell>.mlc-public-hero .mlc-public-hero-actions .btn-outline-light{color:#1d4ed8!important;background:#fff!important;border-color:rgba(37,99,235,.24)!important}
.mlc-frontend-template .mlc-public-page-shell>.mlc-public-hero .mlc-public-hero-card{align-self:stretch;display:flex;flex-direction:column;justify-content:flex-end;gap:.35rem;padding:clamp(1.25rem,3vw,1.75rem)!important;color:#fff!important;background:linear-gradient(145deg,rgba(8,17,31,.82),rgba(30,64,175,.64)),rgba(15,23,42,.72)!important;border:1px solid rgba(255,255,255,.20)!important}.mlc-frontend-template .mlc-public-page-shell>.mlc-public-hero .mlc-public-hero-card i{width:3.15rem;height:3.15rem;display:inline-grid;place-items:center;border-radius:1.05rem;margin-bottom:.5rem;color:#fbbf24!important;background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.12);font-size:1.55rem!important}.mlc-frontend-template .mlc-public-page-shell>.mlc-public-hero .mlc-public-hero-card strong{display:block;color:#fff!important;font-size:1.12rem;line-height:1.25;font-weight:900}.mlc-frontend-template .mlc-public-page-shell>.mlc-public-hero .mlc-public-hero-card span{color:rgba(226,232,240,.92)!important;line-height:1.58}.mlc-frontend-template .mlc-public-page-shell>.mlc-public-hero .mlc-public-countdown{color:#fef3c7!important;font-weight:900}
@media(max-width:900px){.mlc-frontend-template .mlc-public-page-shell{width:min(100% - 20px,1180px);gap:1rem}.mlc-frontend-template .mlc-public-page-shell>.mlc-public-hero{grid-template-columns:1fr;padding:clamp(.85rem,3vw,1.05rem)!important;border-radius:1.35rem!important;gap:.85rem}.mlc-frontend-template .mlc-public-page-shell>.mlc-public-hero .mlc-public-hero-copy{padding:clamp(1.35rem,6vw,2rem)!important;border-left-width:5px!important;border-radius:1.1rem!important}.mlc-frontend-template .mlc-public-page-shell>.mlc-public-hero h1{font-size:clamp(1.9rem,8.8vw,2.8rem)!important;line-height:1.08!important;letter-spacing:-.04em;margin-bottom:.75rem!important}.mlc-frontend-template .mlc-public-page-shell>.mlc-public-hero p{font-size:1.02rem!important;line-height:1.7!important}.mlc-frontend-template .mlc-public-page-shell>.mlc-public-hero .mlc-public-hero-actions .btn{width:100%;justify-content:center}.mlc-frontend-template .mlc-public-page-shell>.mlc-public-hero .mlc-public-hero-card{padding:1.15rem!important;border-radius:1.1rem!important}}
@media(max-width:420px){.mlc-frontend-template .mlc-public-page-shell{width:min(100% - 16px,1180px)}.mlc-frontend-template .mlc-public-page-shell>.mlc-public-hero{padding:.7rem!important}.mlc-frontend-template .mlc-public-page-shell>.mlc-public-hero .mlc-public-hero-copy{padding:1.15rem!important}.mlc-frontend-template .mlc-public-page-shell>.mlc-public-hero .mlc-public-eyebrow{font-size:.62rem!important;letter-spacing:.045em;padding:.52rem .65rem!important}}

/* Visual Page Studio Phase 3: structured public presentation media. */
[data-ve-region-background="image"] {
    position: relative;
    isolation: isolate;
    background-image: linear-gradient(135deg, rgba(7, 18, 38, .78), rgba(19, 92, 77, .62)), var(--ve-region-background-image) !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    background-size: cover !important;
    overflow: hidden;
}
[data-ve-region-background="video"] {
    position: relative;
    isolation: isolate;
    overflow: hidden;
}
[data-ve-region-background] > :not(.ve-region-background-video) {
    position: relative;
    z-index: 1;
}
.ve-region-background-video {
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
    filter: brightness(.56) saturate(.9);
}
.ve-public-insertion-slot:empty { display: none; }
@media (prefers-reduced-motion: reduce) {
    .ve-region-background-video { display: none; }
}

/* Visual Page Studio Phase 3: shared public template components. */
.ve-public-announcement{position:relative;z-index:1035;display:flex;align-items:center;justify-content:center;gap:.6rem;padding:.55rem 1rem;background:linear-gradient(135deg,#172554,#075985);color:#fff;font-weight:800;text-align:center}.ve-public-footer-contact{max-width:100%}.ve-public-footer-contact span{display:inline-flex;align-items:center;overflow-wrap:anywhere}.ve-public-insertion-slot:not(:has(> *)){display:none}@media(max-width:600px){.ve-public-announcement{font-size:.82rem;padding:.48rem .75rem}.ve-public-footer-contact{width:100%}}

/* Dynamic Home Next Services powered by Events module */
.mlc-home-next-services {
    position: relative;
    overflow: hidden;
    margin: clamp(2rem, 5vw, 4.75rem) auto;
    padding: clamp(1.25rem, 4vw, 2.25rem);
    border-radius: clamp(1.5rem, 4vw, 2.75rem);
    background:
        radial-gradient(circle at 0% 0%, rgba(33,168,223,.22), transparent 34%),
        radial-gradient(circle at 100% 10%, rgba(243,112,33,.20), transparent 32%),
        linear-gradient(135deg, rgba(255,255,255,.96), rgba(244,248,255,.94));
    border: 1px solid rgba(13, 27, 52, .08);
    box-shadow: 0 30px 90px rgba(15, 23, 42, .10);
}
.mlc-home-next-services-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(15, 23, 42, .045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(15, 23, 42, .045) 1px, transparent 1px);
    background-size: 42px 42px;
    mask-image: linear-gradient(180deg, rgba(0,0,0,.55), transparent 72%);
}
.mlc-home-next-services-inner {
    position: relative;
    z-index: 1;
}
.mlc-home-next-services-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 1.5rem;
    align-items: end;
    margin-bottom: clamp(1.5rem, 4vw, 2.5rem);
}
.mlc-home-next-services-kicker {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    margin-bottom: .8rem;
    padding: .5rem .8rem;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(33,168,223,.16), rgba(31,122,54,.12));
    color: #045174;
    font-size: .78rem;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
    border: 1px solid rgba(33,168,223,.22);
}
.mlc-home-next-services-head h2 {
    margin: 0;
    max-width: 780px;
    color: #07142d;
    font-size: clamp(2rem, 5vw, 4rem);
    line-height: .98;
    letter-spacing: -.05em;
    font-weight: 950;
}
.mlc-home-next-services-head p {
    max-width: 740px;
    margin: .95rem 0 0;
    color: #586a8a;
    font-size: clamp(.98rem, 2vw, 1.12rem);
    line-height: 1.8;
}
.mlc-home-next-services-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(92px, 1fr));
    gap: .8rem;
}
.mlc-home-next-services-stats span {
    display: grid;
    gap: .08rem;
    min-width: 94px;
    padding: .85rem .9rem;
    border-radius: 1.15rem;
    background: rgba(255,255,255,.74);
    border: 1px solid rgba(13, 27, 52, .08);
    box-shadow: 0 16px 40px rgba(15, 23, 42, .08);
    color: #61708a;
    font-size: .74rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .05em;
}
.mlc-home-next-services-stats strong {
    color: #07142d;
    font-size: 1.5rem;
    line-height: 1;
    font-weight: 950;
    letter-spacing: -.04em;
}
.mlc-home-next-services-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(1rem, 2.3vw, 1.65rem);
}
.mlc-home-service-card {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-height: 100%;
    border-radius: 2rem;
    background: rgba(255,255,255,.88);
    border: 1px solid rgba(15, 23, 42, .08);
    box-shadow: 0 24px 70px rgba(15, 23, 42, .12);
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.mlc-home-service-card::after {
    content: "";
    position: absolute;
    right: -70px;
    bottom: -70px;
    width: 170px;
    height: 170px;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(33,168,223,.16), rgba(243,112,33,.13));
    pointer-events: none;
}
.mlc-home-service-card:hover {
    transform: translateY(-8px);
    border-color: rgba(33,168,223,.35);
    box-shadow: 0 34px 90px rgba(15, 23, 42, .18);
}
.mlc-home-service-poster-wrap {
    position: relative;
    overflow: hidden;
    margin: .85rem .85rem 0;
    min-height: 260px;
    border-radius: 1.45rem;
    background: #0b1224;
}
.mlc-home-service-poster-link,
.mlc-home-service-poster-link img {
    display: block;
    width: 100%;
    height: 100%;
}
.mlc-home-service-poster-link img {
    position: absolute;
    inset: 0;
    object-fit: cover;
    transform: scale(1.02);
    transition: transform .45s ease;
}
.mlc-home-service-card:hover .mlc-home-service-poster-link img {
    transform: scale(1.08);
}
.mlc-home-service-poster-link::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(5,10,24,.08), rgba(5,10,24,.74));
}
.mlc-home-service-poster-shine {
    position: absolute;
    inset: -80px auto auto -80px;
    width: 180px;
    height: 180px;
    border-radius: 999px;
    background: rgba(255,255,255,.20);
    filter: blur(8px);
    pointer-events: none;
}
.mlc-home-service-top-badges {
    position: absolute;
    top: .75rem;
    left: .75rem;
    right: .75rem;
    z-index: 3;
    display: flex;
    flex-wrap: wrap;
    gap: .45rem;
    justify-content: space-between;
}
.mlc-home-service-top-badges span {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    padding: .42rem .65rem;
    border-radius: 999px;
    background: rgba(255,255,255,.92);
    color: #07142d;
    font-size: .72rem;
    font-weight: 900;
    box-shadow: 0 10px 28px rgba(0,0,0,.14);
}
.mlc-home-service-top-badges .is-open {
    color: #076039;
    background: rgba(220, 252, 231, .95);
}
.mlc-home-service-top-badges .is-closed {
    color: #8a2b0b;
    background: rgba(255, 237, 213, .95);
}
.mlc-home-service-countdown {
    position: absolute;
    left: .75rem;
    right: .75rem;
    bottom: .75rem;
    z-index: 3;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: .45rem;
    padding: .55rem;
    border-radius: 1.2rem;
    background: rgba(5, 10, 24, .76);
    border: 1px solid rgba(255,255,255,.18);
    backdrop-filter: blur(14px);
    box-shadow: 0 16px 50px rgba(0,0,0,.28);
}
.mlc-home-service-countdown div {
    display: grid;
    place-items: center;
    padding: .45rem .25rem;
    border-radius: .85rem;
    background: linear-gradient(180deg, rgba(255,255,255,.16), rgba(255,255,255,.06));
    color: #fff;
}
.mlc-home-service-countdown strong {
    font-size: clamp(1.05rem, 2.4vw, 1.55rem);
    font-weight: 950;
    line-height: 1;
    letter-spacing: -.04em;
    font-variant-numeric: tabular-nums;
}
.mlc-home-service-countdown span {
    margin-top: .2rem;
    font-size: .58rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    opacity: .78;
}
.mlc-home-service-body {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: .95rem;
    flex: 1;
    padding: 1rem 1.1rem 1.15rem;
}
.mlc-home-service-mini-meta {
    display: flex;
    flex-wrap: wrap;
    gap: .45rem;
}
.mlc-home-service-mini-meta span,
.mlc-home-service-info-grid span,
.mlc-home-service-feature-row span {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    min-width: 0;
    border-radius: 999px;
    color: #51617c;
    font-size: .76rem;
    font-weight: 800;
}
.mlc-home-service-mini-meta span {
    padding: .42rem .6rem;
    background: #f2f6ff;
}
.mlc-home-service-body h3 {
    margin: 0;
    color: #07142d;
    font-size: clamp(1.22rem, 2.5vw, 1.6rem);
    line-height: 1.1;
    letter-spacing: -.035em;
    font-weight: 950;
}
.mlc-home-service-body p {
    margin: -.25rem 0 0;
    color: #5d6c86;
    line-height: 1.68;
    font-size: .95rem;
}
.mlc-home-service-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .55rem;
}
.mlc-home-service-info-grid span {
    align-items: flex-start;
    padding: .7rem .72rem;
    border-radius: 1rem;
    background: #f8fafc;
    border: 1px solid rgba(15,23,42,.06);
    line-height: 1.35;
}
.mlc-home-service-info-grid i {
    color: var(--mlc-brand-orange, #f37021);
    margin-top: .08rem;
}
.mlc-home-service-speakers {
    display: flex;
    align-items: center;
    gap: .75rem;
    padding: .78rem;
    border-radius: 1.1rem;
    background: linear-gradient(135deg, rgba(33,168,223,.10), rgba(31,122,54,.09));
    border: 1px solid rgba(33,168,223,.14);
}
.mlc-home-service-speaker-stack {
    display: flex;
    align-items: center;
    min-width: max-content;
}
.mlc-home-service-speaker-stack span {
    display: inline-grid;
    place-items: center;
    width: 42px;
    height: 42px;
    margin-left: -10px;
    overflow: hidden;
    border-radius: 999px;
    background: #fff;
    border: 3px solid #fff;
    color: #0f172a;
    box-shadow: 0 10px 24px rgba(15,23,42,.12);
}
.mlc-home-service-speaker-stack span:first-child {
    margin-left: 0;
}
.mlc-home-service-speaker-stack img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.mlc-home-service-more-speakers {
    font-weight: 950;
    font-size: .78rem;
    background: #07142d !important;
    color: #fff !important;
}
.mlc-home-service-speakers strong,
.mlc-home-service-speakers small {
    display: block;
}
.mlc-home-service-speakers strong {
    color: #07142d;
    font-size: .9rem;
    line-height: 1.2;
}
.mlc-home-service-speakers small {
    margin-top: .15rem;
    color: #5d6c86;
    font-weight: 700;
}
.mlc-home-service-feature-row {
    display: flex;
    flex-wrap: wrap;
    gap: .45rem;
}
.mlc-home-service-feature-row span {
    padding: .45rem .62rem;
    background: rgba(243,112,33,.08);
    color: #7a350e;
}
.mlc-home-service-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .55rem;
    margin-top: auto;
}
.mlc-home-service-actions a,
.mlc-home-next-services-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .45rem;
    min-height: 42px;
    padding: .65rem .9rem;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 900;
    font-size: .84rem;
    color: #07142d;
    background: #fff;
    border: 1px solid rgba(15,23,42,.12);
    box-shadow: 0 12px 30px rgba(15,23,42,.08);
    transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease;
}
.mlc-home-service-actions a:hover,
.mlc-home-next-services-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 40px rgba(15,23,42,.14);
}
.mlc-home-service-actions a.is-primary,
.mlc-home-next-services-button {
    color: #fff;
    border-color: transparent;
    background: linear-gradient(135deg, var(--mlc-brand-orange, #f37021), var(--mlc-brand-green, #1f7a36));
}
.mlc-home-service-actions a.is-ghost {
    background: rgba(255,255,255,.55);
}
.mlc-home-next-services-footer {
    display: flex;
    justify-content: center;
    margin-top: clamp(1.25rem, 3vw, 2rem);
}
.mlc-home-next-services-empty {
    display: grid;
    place-items: center;
    gap: .85rem;
    max-width: 680px;
    margin: 0 auto;
    padding: clamp(1.5rem, 5vw, 3rem);
    border-radius: 2rem;
    text-align: center;
    background: rgba(255,255,255,.78);
    border: 1px dashed rgba(15,23,42,.16);
}
.mlc-home-next-services-empty i {
    display: grid;
    place-items: center;
    width: 74px;
    height: 74px;
    border-radius: 1.4rem;
    color: #fff;
    font-size: 2rem;
    background: linear-gradient(135deg, var(--mlc-brand-blue, #21a8df), var(--mlc-brand-orange, #f37021));
}
.mlc-home-next-services-empty h3 {
    margin: 0;
    color: #07142d;
    font-weight: 950;
}
.mlc-home-next-services-empty p {
    margin: 0;
    color: #5d6c86;
}
@media (max-width: 1199px) {
    .mlc-home-next-services-head {
        grid-template-columns: 1fr;
    }
    .mlc-home-next-services-stats {
        max-width: 560px;
    }
    .mlc-home-next-services-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (max-width: 767px) {
    .mlc-home-next-services {
        margin-left: .25rem;
        margin-right: .25rem;
        border-radius: 1.6rem;
        padding: 1rem;
    }
    .mlc-home-next-services-stats {
        grid-template-columns: 1fr 1fr 1fr;
        gap: .5rem;
    }
    .mlc-home-next-services-stats span {
        min-width: 0;
        padding: .68rem .55rem;
        font-size: .62rem;
    }
    .mlc-home-next-services-stats strong {
        font-size: 1.25rem;
    }
    .mlc-home-next-services-grid {
        grid-template-columns: 1fr;
    }
    .mlc-home-service-card {
        border-radius: 1.5rem;
    }
    .mlc-home-service-poster-wrap {
        min-height: 235px;
        border-radius: 1.1rem;
        margin: .7rem .7rem 0;
    }
    .mlc-home-service-countdown {
        gap: .3rem;
        padding: .45rem;
    }
    .mlc-home-service-countdown strong {
        font-size: 1.05rem;
    }
    .mlc-home-service-countdown span {
        font-size: .5rem;
    }
    .mlc-home-service-info-grid {
        grid-template-columns: 1fr;
    }
    .mlc-home-service-actions a,
    .mlc-home-next-services-button {
        width: 100%;
    }
}

/* Live service state for homepage event/service cards */
.events-event-expired {
    display: none !important;
}
.mlc-home-service-countdown.events-live-indicator {
    display: flex !important;
    grid-template-columns: 1fr !important;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: .25rem;
    background: linear-gradient(135deg, rgba(220, 38, 38, .96), rgba(249, 115, 22, .96));
    color: #fff;
    border: 1px solid rgba(255, 255, 255, .25);
    box-shadow: 0 18px 38px rgba(220, 38, 38, .35);
}
.mlc-home-service-countdown.events-live-indicator span,
.mlc-home-service-countdown.events-live-indicator strong,
.mlc-home-service-countdown.events-live-indicator small {
    color: #fff;
}
.mlc-home-service-countdown.events-live-indicator span {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    font-size: .72rem;
    font-weight: 950;
    letter-spacing: .08em;
    text-transform: uppercase;
}
.mlc-home-service-countdown.events-live-indicator strong {
    font-size: .95rem;
    line-height: 1.25;
}
.mlc-home-service-countdown.events-live-indicator small {
    font-size: .74rem;
    opacity: .9;
    font-weight: 800;
}
.mlc-home-service-countdown.events-live-indicator.is-ended {
    background: linear-gradient(135deg, rgba(71, 85, 105, .95), rgba(100, 116, 139, .95));
}
.mlc-home-service-top-badges .is-live-event {
    background: #fee2e2 !important;
    color: #991b1b !important;
    border-color: rgba(220, 38, 38, .35) !important;
}
.mlc-home-service-top-badges .is-live-event i {
    color: #dc2626;
}

/* Prominent frontend member registration CTA */
.mlc-member-registration-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    min-height: 2.65rem;
    padding: .65rem 1rem;
    border-radius: 999px;
    color: #fff !important;
    text-decoration: none !important;
    font-weight: 950;
    letter-spacing: -.01em;
    background: linear-gradient(135deg, #f59e0b, #ef4444 46%, #7c3aed);
    box-shadow: 0 18px 36px rgba(239, 68, 68, .22);
    border: 1px solid rgba(255, 255, 255, .18);
    white-space: nowrap;
}
.mlc-member-registration-cta:hover,
.mlc-member-registration-cta:focus {
    color: #fff !important;
    transform: translateY(-1px);
    box-shadow: 0 22px 44px rgba(124, 58, 237, .25);
}

.mlc-member-registration-cta.mlc-member-dashboard-cta {
    background: linear-gradient(135deg, #0f172a, #2563eb 56%, #06b6d4);
    box-shadow: 0 18px 36px rgba(37, 99, 235, .22);
}
.mlc-member-registration-sidebar.mlc-member-dashboard-cta {
    background: linear-gradient(135deg, #111827, #1d4ed8 54%, #06b6d4) !important;
    box-shadow: 0 18px 40px rgba(29, 78, 216, .22) !important;
}
.mlc-member-registration-sidebar {
    display: flex !important;
    flex-direction: column;
    align-items: flex-start !important;
    justify-content: center;
    gap: .25rem;
    min-height: 4rem;
    border: 0 !important;
    border-radius: 1.15rem !important;
    color: #fff !important;
    background: linear-gradient(135deg, #0f172a, #2563eb 58%, #f59e0b) !important;
    box-shadow: 0 18px 40px rgba(37, 99, 235, .22) !important;
    text-decoration: none !important;
    font-weight: 950 !important;
    white-space: normal !important;
}
.mlc-member-registration-sidebar small {
    display: block;
    color: rgba(255, 255, 255, .78);
    font-size: .78rem;
    line-height: 1.35;
    font-weight: 750;
}
@media (max-width: 767.98px) {
    .mlc-member-registration-cta {
        min-height: 2.45rem;
        padding: .55rem .72rem;
        font-size: .78rem;
        box-shadow: 0 12px 26px rgba(239, 68, 68, .22);
    }
    .mlc-member-registration-cta span {
        max-width: 5.2rem;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    .frontend-default-right,
    .modern-topbar-right,
    .emanu-header-actions {
        gap: .45rem !important;
    }
}
@media (max-width: 420px) {
    .mlc-member-registration-cta {
        width: 2.45rem;
        padding: 0;
        border-radius: .9rem;
    }
    .mlc-member-registration-cta span { display: none; }
}
