/* Marcou Casou 0.8.4 – full hero composition variants. 10 genuine top-banner arrangements across 100 template ids. */
.wedding[class*="mc-template-"] .wedhero{position:relative!important;display:flex!important;box-sizing:border-box!important;padding:clamp(28px,5vw,84px)!important;background-size:cover!important;background-repeat:no-repeat!important;isolation:isolate;min-height:clamp(470px,60vw,720px)!important}
.wedding[class*="mc-template-"] .wedhero::before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(26,15,22,.65),rgba(26,15,22,.04));z-index:0;pointer-events:none}
.wedding[class*="mc-template-"] .wedhero-content{z-index:1!important;position:relative!important;float:none!important;max-width:min(760px,100%)!important;width:auto!important;min-width:0!important;display:flex!important;flex-direction:column!important;gap:clamp(10px,1.2vw,22px)!important;align-items:flex-start!important;justify-content:center!important;transform:none!important;inset:auto!important;padding:clamp(14px,2vw,36px)!important;margin:0!important;color:#fff!important}
.wedding[class*="mc-template-"] .wedhero-content h1{display:flex!important;flex-wrap:wrap!important;gap:clamp(4px,1vw,18px)!important;align-items:center!important;justify-content:inherit!important;margin:0!important;line-height:1.07!important;font-size:clamp(36px,5.4vw,86px)!important;color:inherit!important;text-shadow:0 2px 15px #20131c8a!important}
.wedding[class*="mc-template-"] .wedhero-content .mc-name-join{color:var(--mc-primary,var(--couple-accent,#a66d95))!important;filter:brightness(1.55);font-size:.66em!important;text-shadow:0 2px 8px #0006!important}
.wedding[class*="mc-template-"] .wedhero-content :is(.eyebrow,p){color:inherit!important;text-shadow:0 1px 7px #0008!important}
.wedding[class*="mc-template-"] .wedhero-content .btn{align-self:flex-start!important}

:is(.wedding.mc-template-1,.wedding.mc-template-11,.wedding.mc-template-21,.wedding.mc-template-31,.wedding.mc-template-41,.wedding.mc-template-51,.wedding.mc-template-61,.wedding.mc-template-71,.wedding.mc-template-81,.wedding.mc-template-91) .wedhero{align-items:center!important;justify-content:flex-start!important;background-position:center 35%!important}
:is(.wedding.mc-template-1,.wedding.mc-template-11,.wedding.mc-template-21,.wedding.mc-template-31,.wedding.mc-template-41,.wedding.mc-template-51,.wedding.mc-template-61,.wedding.mc-template-71,.wedding.mc-template-81,.wedding.mc-template-91) .wedhero-content{text-align:left!important}
:is(.wedding.mc-template-2,.wedding.mc-template-12,.wedding.mc-template-22,.wedding.mc-template-32,.wedding.mc-template-42,.wedding.mc-template-52,.wedding.mc-template-62,.wedding.mc-template-72,.wedding.mc-template-82,.wedding.mc-template-92) .wedhero{align-items:center!important;justify-content:center!important;background-position:center center!important}
:is(.wedding.mc-template-2,.wedding.mc-template-12,.wedding.mc-template-22,.wedding.mc-template-32,.wedding.mc-template-42,.wedding.mc-template-52,.wedding.mc-template-62,.wedding.mc-template-72,.wedding.mc-template-82,.wedding.mc-template-92) .wedhero::before{background:linear-gradient(90deg,#180e19aa,#180e1977)!important}
:is(.wedding.mc-template-2,.wedding.mc-template-12,.wedding.mc-template-22,.wedding.mc-template-32,.wedding.mc-template-42,.wedding.mc-template-52,.wedding.mc-template-62,.wedding.mc-template-72,.wedding.mc-template-82,.wedding.mc-template-92) .wedhero-content{align-items:center!important;text-align:center!important}
:is(.wedding.mc-template-2,.wedding.mc-template-12,.wedding.mc-template-22,.wedding.mc-template-32,.wedding.mc-template-42,.wedding.mc-template-52,.wedding.mc-template-62,.wedding.mc-template-72,.wedding.mc-template-82,.wedding.mc-template-92) .wedhero-content h1{justify-content:center!important;font-style:italic!important}
:is(.wedding.mc-template-2,.wedding.mc-template-12,.wedding.mc-template-22,.wedding.mc-template-32,.wedding.mc-template-42,.wedding.mc-template-52,.wedding.mc-template-62,.wedding.mc-template-72,.wedding.mc-template-82,.wedding.mc-template-92) .wedhero-content .btn{align-self:center!important}
:is(.wedding.mc-template-3,.wedding.mc-template-13,.wedding.mc-template-23,.wedding.mc-template-33,.wedding.mc-template-43,.wedding.mc-template-53,.wedding.mc-template-63,.wedding.mc-template-73,.wedding.mc-template-83,.wedding.mc-template-93) .wedhero{align-items:center!important;justify-content:flex-end!important;background-position:25% center!important}
:is(.wedding.mc-template-3,.wedding.mc-template-13,.wedding.mc-template-23,.wedding.mc-template-33,.wedding.mc-template-43,.wedding.mc-template-53,.wedding.mc-template-63,.wedding.mc-template-73,.wedding.mc-template-83,.wedding.mc-template-93) .wedhero::before{background:linear-gradient(270deg,#1f1322d9,transparent 85%)!important}
:is(.wedding.mc-template-3,.wedding.mc-template-13,.wedding.mc-template-23,.wedding.mc-template-33,.wedding.mc-template-43,.wedding.mc-template-53,.wedding.mc-template-63,.wedding.mc-template-73,.wedding.mc-template-83,.wedding.mc-template-93) .wedhero-content{align-items:flex-end!important;text-align:right!important}
:is(.wedding.mc-template-3,.wedding.mc-template-13,.wedding.mc-template-23,.wedding.mc-template-33,.wedding.mc-template-43,.wedding.mc-template-53,.wedding.mc-template-63,.wedding.mc-template-73,.wedding.mc-template-83,.wedding.mc-template-93) .wedhero-content h1{justify-content:flex-end!important}
:is(.wedding.mc-template-3,.wedding.mc-template-13,.wedding.mc-template-23,.wedding.mc-template-33,.wedding.mc-template-43,.wedding.mc-template-53,.wedding.mc-template-63,.wedding.mc-template-73,.wedding.mc-template-83,.wedding.mc-template-93) .wedhero-content .btn{align-self:flex-end!important}
:is(.wedding.mc-template-4,.wedding.mc-template-14,.wedding.mc-template-24,.wedding.mc-template-34,.wedding.mc-template-44,.wedding.mc-template-54,.wedding.mc-template-64,.wedding.mc-template-74,.wedding.mc-template-84,.wedding.mc-template-94) .wedhero{align-items:flex-end!important;justify-content:flex-start!important;background-position:center 24%!important}
:is(.wedding.mc-template-4,.wedding.mc-template-14,.wedding.mc-template-24,.wedding.mc-template-34,.wedding.mc-template-44,.wedding.mc-template-54,.wedding.mc-template-64,.wedding.mc-template-74,.wedding.mc-template-84,.wedding.mc-template-94) .wedhero::before{background:linear-gradient(0deg,#180c17de,transparent 75%)!important}
:is(.wedding.mc-template-4,.wedding.mc-template-14,.wedding.mc-template-24,.wedding.mc-template-34,.wedding.mc-template-44,.wedding.mc-template-54,.wedding.mc-template-64,.wedding.mc-template-74,.wedding.mc-template-84,.wedding.mc-template-94) .wedhero-content{max-width:900px!important;padding:24px 0!important}
:is(.wedding.mc-template-4,.wedding.mc-template-14,.wedding.mc-template-24,.wedding.mc-template-34,.wedding.mc-template-44,.wedding.mc-template-54,.wedding.mc-template-64,.wedding.mc-template-74,.wedding.mc-template-84,.wedding.mc-template-94) .wedhero-content h1{font-family:Georgia,serif!important;font-style:italic!important}
:is(.wedding.mc-template-5,.wedding.mc-template-15,.wedding.mc-template-25,.wedding.mc-template-35,.wedding.mc-template-45,.wedding.mc-template-55,.wedding.mc-template-65,.wedding.mc-template-75,.wedding.mc-template-85,.wedding.mc-template-95) .wedhero{align-items:center!important;justify-content:center!important;background-position:center!important}
:is(.wedding.mc-template-5,.wedding.mc-template-15,.wedding.mc-template-25,.wedding.mc-template-35,.wedding.mc-template-45,.wedding.mc-template-55,.wedding.mc-template-65,.wedding.mc-template-75,.wedding.mc-template-85,.wedding.mc-template-95) .wedhero::before{background:#251c2370!important}
:is(.wedding.mc-template-5,.wedding.mc-template-15,.wedding.mc-template-25,.wedding.mc-template-35,.wedding.mc-template-45,.wedding.mc-template-55,.wedding.mc-template-65,.wedding.mc-template-75,.wedding.mc-template-85,.wedding.mc-template-95) .wedhero-content{background:#fff9f3ee!important;border:1px solid #ffffff99!important;box-shadow:0 18px 55px #0003!important;border-radius:3px!important;align-items:center!important;text-align:center!important;color:#553b47!important;padding:clamp(25px,5vw,62px)!important}
:is(.wedding.mc-template-5,.wedding.mc-template-15,.wedding.mc-template-25,.wedding.mc-template-35,.wedding.mc-template-45,.wedding.mc-template-55,.wedding.mc-template-65,.wedding.mc-template-75,.wedding.mc-template-85,.wedding.mc-template-95) .wedhero-content h1{justify-content:center!important;color:#553b47!important;text-shadow:none!important}
:is(.wedding.mc-template-5,.wedding.mc-template-15,.wedding.mc-template-25,.wedding.mc-template-35,.wedding.mc-template-45,.wedding.mc-template-55,.wedding.mc-template-65,.wedding.mc-template-75,.wedding.mc-template-85,.wedding.mc-template-95) .wedhero-content :is(.eyebrow,p){color:#553b47!important;text-shadow:none!important}
:is(.wedding.mc-template-5,.wedding.mc-template-15,.wedding.mc-template-25,.wedding.mc-template-35,.wedding.mc-template-45,.wedding.mc-template-55,.wedding.mc-template-65,.wedding.mc-template-75,.wedding.mc-template-85,.wedding.mc-template-95) .wedhero-content .btn{align-self:center!important}
:is(.wedding.mc-template-6,.wedding.mc-template-16,.wedding.mc-template-26,.wedding.mc-template-36,.wedding.mc-template-46,.wedding.mc-template-56,.wedding.mc-template-66,.wedding.mc-template-76,.wedding.mc-template-86,.wedding.mc-template-96) .wedhero{align-items:center!important;justify-content:flex-start!important;background-position:70% center!important}
:is(.wedding.mc-template-6,.wedding.mc-template-16,.wedding.mc-template-26,.wedding.mc-template-36,.wedding.mc-template-46,.wedding.mc-template-56,.wedding.mc-template-66,.wedding.mc-template-76,.wedding.mc-template-86,.wedding.mc-template-96) .wedhero::before{background:linear-gradient(90deg,#24131dc7,transparent 75%)!important}
:is(.wedding.mc-template-6,.wedding.mc-template-16,.wedding.mc-template-26,.wedding.mc-template-36,.wedding.mc-template-46,.wedding.mc-template-56,.wedding.mc-template-66,.wedding.mc-template-76,.wedding.mc-template-86,.wedding.mc-template-96) .wedhero-content{border-left:5px solid var(--mc-primary,#a66d95)!important;max-width:550px!important;align-items:flex-start!important;text-align:left!important}
:is(.wedding.mc-template-6,.wedding.mc-template-16,.wedding.mc-template-26,.wedding.mc-template-36,.wedding.mc-template-46,.wedding.mc-template-56,.wedding.mc-template-66,.wedding.mc-template-76,.wedding.mc-template-86,.wedding.mc-template-96) .wedhero-content h1{flex-direction:column!important;align-items:flex-start!important;font-size:clamp(43px,6vw,92px)!important}
:is(.wedding.mc-template-7,.wedding.mc-template-17,.wedding.mc-template-27,.wedding.mc-template-37,.wedding.mc-template-47,.wedding.mc-template-57,.wedding.mc-template-67,.wedding.mc-template-77,.wedding.mc-template-87,.wedding.mc-template-97) .wedhero{align-items:center!important;justify-content:flex-end!important;background-position:20% center!important}
:is(.wedding.mc-template-7,.wedding.mc-template-17,.wedding.mc-template-27,.wedding.mc-template-37,.wedding.mc-template-47,.wedding.mc-template-57,.wedding.mc-template-67,.wedding.mc-template-77,.wedding.mc-template-87,.wedding.mc-template-97) .wedhero-content{border:2px solid #fff9!important;background:#1c141866!important;backdrop-filter:blur(8px);max-width:560px!important;text-align:center!important;align-items:center!important}
:is(.wedding.mc-template-7,.wedding.mc-template-17,.wedding.mc-template-27,.wedding.mc-template-37,.wedding.mc-template-47,.wedding.mc-template-57,.wedding.mc-template-67,.wedding.mc-template-77,.wedding.mc-template-87,.wedding.mc-template-97) .wedhero-content h1{justify-content:center!important;letter-spacing:.055em!important;font-size:clamp(35px,4.5vw,68px)!important}
:is(.wedding.mc-template-7,.wedding.mc-template-17,.wedding.mc-template-27,.wedding.mc-template-37,.wedding.mc-template-47,.wedding.mc-template-57,.wedding.mc-template-67,.wedding.mc-template-77,.wedding.mc-template-87,.wedding.mc-template-97) .wedhero-content .btn{align-self:center!important}
:is(.wedding.mc-template-8,.wedding.mc-template-18,.wedding.mc-template-28,.wedding.mc-template-38,.wedding.mc-template-48,.wedding.mc-template-58,.wedding.mc-template-68,.wedding.mc-template-78,.wedding.mc-template-88,.wedding.mc-template-98) .wedhero{align-items:flex-end!important;justify-content:center!important;background-position:center 24%!important}
:is(.wedding.mc-template-8,.wedding.mc-template-18,.wedding.mc-template-28,.wedding.mc-template-38,.wedding.mc-template-48,.wedding.mc-template-58,.wedding.mc-template-68,.wedding.mc-template-78,.wedding.mc-template-88,.wedding.mc-template-98) .wedhero::before{background:linear-gradient(0deg,#1e1722df,transparent 77%)!important}
:is(.wedding.mc-template-8,.wedding.mc-template-18,.wedding.mc-template-28,.wedding.mc-template-38,.wedding.mc-template-48,.wedding.mc-template-58,.wedding.mc-template-68,.wedding.mc-template-78,.wedding.mc-template-88,.wedding.mc-template-98) .wedhero-content{max-width:1100px!important;text-align:center!important;align-items:center!important;padding-bottom:clamp(30px,6vw,90px)!important}
:is(.wedding.mc-template-8,.wedding.mc-template-18,.wedding.mc-template-28,.wedding.mc-template-38,.wedding.mc-template-48,.wedding.mc-template-58,.wedding.mc-template-68,.wedding.mc-template-78,.wedding.mc-template-88,.wedding.mc-template-98) .wedhero-content h1{flex-direction:column!important;justify-content:center!important;text-transform:uppercase!important;letter-spacing:.06em!important;font-size:clamp(30px,5vw,78px)!important}
:is(.wedding.mc-template-8,.wedding.mc-template-18,.wedding.mc-template-28,.wedding.mc-template-38,.wedding.mc-template-48,.wedding.mc-template-58,.wedding.mc-template-68,.wedding.mc-template-78,.wedding.mc-template-88,.wedding.mc-template-98) .wedhero-content .btn{align-self:center!important}
:is(.wedding.mc-template-9,.wedding.mc-template-19,.wedding.mc-template-29,.wedding.mc-template-39,.wedding.mc-template-49,.wedding.mc-template-59,.wedding.mc-template-69,.wedding.mc-template-79,.wedding.mc-template-89,.wedding.mc-template-99) .wedhero{align-items:flex-start!important;justify-content:center!important;background-position:center 58%!important}
:is(.wedding.mc-template-9,.wedding.mc-template-19,.wedding.mc-template-29,.wedding.mc-template-39,.wedding.mc-template-49,.wedding.mc-template-59,.wedding.mc-template-69,.wedding.mc-template-79,.wedding.mc-template-89,.wedding.mc-template-99) .wedhero::before{background:linear-gradient(180deg,#1c121ad4,transparent 70%)!important}
:is(.wedding.mc-template-9,.wedding.mc-template-19,.wedding.mc-template-29,.wedding.mc-template-39,.wedding.mc-template-49,.wedding.mc-template-59,.wedding.mc-template-69,.wedding.mc-template-79,.wedding.mc-template-89,.wedding.mc-template-99) .wedhero-content{align-items:center!important;text-align:center!important}
:is(.wedding.mc-template-9,.wedding.mc-template-19,.wedding.mc-template-29,.wedding.mc-template-39,.wedding.mc-template-49,.wedding.mc-template-59,.wedding.mc-template-69,.wedding.mc-template-79,.wedding.mc-template-89,.wedding.mc-template-99) .wedhero-content h1{justify-content:center!important;font-weight:400!important;letter-spacing:.04em!important}
:is(.wedding.mc-template-9,.wedding.mc-template-19,.wedding.mc-template-29,.wedding.mc-template-39,.wedding.mc-template-49,.wedding.mc-template-59,.wedding.mc-template-69,.wedding.mc-template-79,.wedding.mc-template-89,.wedding.mc-template-99) .wedhero-content .btn{align-self:center!important}
:is(.wedding.mc-template-10,.wedding.mc-template-20,.wedding.mc-template-30,.wedding.mc-template-40,.wedding.mc-template-50,.wedding.mc-template-60,.wedding.mc-template-70,.wedding.mc-template-80,.wedding.mc-template-90,.wedding.mc-template-100) .wedhero{align-items:flex-end!important;justify-content:flex-end!important;background-position:center 30%!important}
:is(.wedding.mc-template-10,.wedding.mc-template-20,.wedding.mc-template-30,.wedding.mc-template-40,.wedding.mc-template-50,.wedding.mc-template-60,.wedding.mc-template-70,.wedding.mc-template-80,.wedding.mc-template-90,.wedding.mc-template-100) .wedhero::before{background:linear-gradient(0deg,#17121bc9,transparent 72%)!important}
:is(.wedding.mc-template-10,.wedding.mc-template-20,.wedding.mc-template-30,.wedding.mc-template-40,.wedding.mc-template-50,.wedding.mc-template-60,.wedding.mc-template-70,.wedding.mc-template-80,.wedding.mc-template-90,.wedding.mc-template-100) .wedhero-content{max-width:750px!important;align-items:flex-end!important;text-align:right!important}
:is(.wedding.mc-template-10,.wedding.mc-template-20,.wedding.mc-template-30,.wedding.mc-template-40,.wedding.mc-template-50,.wedding.mc-template-60,.wedding.mc-template-70,.wedding.mc-template-80,.wedding.mc-template-90,.wedding.mc-template-100) .wedhero-content h1{justify-content:flex-end!important;font-style:italic!important}
:is(.wedding.mc-template-10,.wedding.mc-template-20,.wedding.mc-template-30,.wedding.mc-template-40,.wedding.mc-template-50,.wedding.mc-template-60,.wedding.mc-template-70,.wedding.mc-template-80,.wedding.mc-template-90,.wedding.mc-template-100) .wedhero-content .btn{align-self:flex-end!important}

/* Mobile: maintain distinct placement while keeping text legible */
@media(max-width:650px){
.wedding[class*="mc-template-"] .wedhero{min-height:520px!important;padding:16px!important}
.wedding[class*="mc-template-"] .wedhero-content{max-width:100%!important;width:100%!important;padding:18px!important}
.wedding[class*="mc-template-"] .wedhero-content h1{font-size:clamp(30px,9vw,48px)!important;overflow-wrap:anywhere!important}
.wedding[class*="mc-template-"] .wedhero-content .mc-name-part{max-width:100%!important;overflow-wrap:anywhere!important}
}
