/* Fallback sized like Mulish, so text doesn't reflow when the web font arrives. */
@font-face{font-family:"Mulish Fallback";src:local("Arial"),local("Helvetica");size-adjust:103.2%}

/* Manto · theme styles that theme.json can't express.
   Block styles registered in functions.php are prefixed .is-style-*. */

:root{--manto-radius-lg:28px;--manto-radius-md:20px}
h1,h2,h3{text-wrap:balance}
:where(body){-webkit-font-smoothing:antialiased}
:focus-visible{outline:3px solid var(--wp--preset--color--mantle);outline-offset:3px;border-radius:4px}
html{scroll-behavior:smooth;scrollbar-gutter:stable}   /* reserve the scrollbar so the width doesn't jump when the page grows */
[hidden]{display:none!important}
.wp-site-blocks{overflow-x:clip}

/* ---------- header ---------- */
.wp-site-blocks>header.wp-block-template-part{position:sticky;top:0;z-index:30}
.manto-header{background:color-mix(in srgb,var(--wp--preset--color--paper) 90%,transparent);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border-bottom:1px solid var(--wp--preset--color--line)}
.admin-bar .wp-site-blocks>header.wp-block-template-part{top:32px}
@media (max-width:782px){.admin-bar .wp-site-blocks>header.wp-block-template-part{top:46px}}
@media (max-width:600px){.admin-bar .wp-site-blocks>header.wp-block-template-part{top:0}}
.manto-header .wp-block-site-title{max-width:12.5em}   /* em, not ch: ch changes with the fallback font and made the title jump from 3 to 2 lines */
.manto-header .wp-block-site-title a{text-decoration:none}
.manto-header .wp-block-navigation a{text-decoration:none;padding:6px 0;border-bottom:2px solid transparent}
.manto-header .wp-block-navigation .current-menu-item>a,.manto-header .wp-block-navigation a[aria-current="page"]{color:var(--wp--preset--color--ink);border-bottom-color:var(--wp--preset--color--gold)}
.manto-header .wp-block-navigation__responsive-container.is-menu-open{padding:24px 20px}
.manto-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container{gap:4px;font-size:1.1rem}
.manto-lang{display:inline-block;background:var(--wp--preset--color--white);border:1px solid var(--wp--preset--color--line);border-radius:99px;padding:7px 14px;font-size:.88rem;font-weight:700;color:var(--wp--preset--color--ink);text-decoration:none;white-space:nowrap}
.manto-lang:hover{border-color:var(--wp--preset--color--sky);color:var(--wp--preset--color--ink)}
.manto-header .wp-block-button__link{padding:9px 18px;font-size:.92rem}
@media (max-width:600px){.manto-header .manto-give{display:none}}

/* ---------- ribbon (the one animated moment) ---------- */
.is-style-ribbon-hero,.is-style-ribbon-corner{position:relative;overflow:hidden;background-repeat:no-repeat;background-size:cover}
.is-style-ribbon-hero{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 900' preserveAspectRatio='xMidYMid slice' fill='none' stroke-linecap='round'%3E%3Cpath d='M-80 980 C 260 860 420 640 700 600 S 1150 520 1260 260 S 1420 -40 1560 -60' stroke='%2367AC76' stroke-width='70' opacity='.85'/%3E%3Cpath d='M-40 1040 C 320 900 470 720 760 670 S 1220 560 1330 300 S 1480 0 1600 -20' stroke='%23F2DD78' stroke-width='58'/%3E%3Cpath d='M20 1100 C 380 960 540 790 820 740 S 1290 610 1400 350 S 1540 60 1660 40' stroke='%237EC4E4' stroke-width='64' opacity='.9'/%3E%3Cpath d='M120 1140 C 470 1010 620 850 900 800 S 1360 660 1470 400' stroke='%23C49A45' stroke-width='6'/%3E%3C/svg%3E");background-position:center}
.is-style-ribbon-corner{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 560' preserveAspectRatio='xMaxYMid slice' fill='none' stroke-linecap='round'%3E%3Cpath d='M760 700 C 1000 620 1080 470 1180 330 S 1380 60 1540 -30' stroke='%2367AC76' stroke-width='48' opacity='.85'/%3E%3Cpath d='M830 730 C 1060 650 1150 500 1250 360 S 1440 90 1600 0' stroke='%23F2DD78' stroke-width='40'/%3E%3Cpath d='M900 760 C 1120 680 1220 530 1320 390 S 1500 120 1660 30' stroke='%237EC4E4' stroke-width='44' opacity='.9'/%3E%3C/svg%3E");background-position:right center}
.is-style-ribbon-hero.has-ribbon-svg,.is-style-ribbon-corner.has-ribbon-svg{background-image:none}
.manto-ribbon{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;z-index:0}
/* the ribbon sits inside constrained layouts, which cap every direct child at 1180px and center it */
.is-layout-constrained>.manto-ribbon{max-width:none!important;margin:0!important}
.manto-ribbon path{fill:none;stroke-linecap:round;stroke-dasharray:2400;stroke-dashoffset:2400;animation:manto-draw 2.4s cubic-bezier(.6,.05,.25,1) forwards}
.manto-ribbon path:nth-child(2){animation-delay:.18s}.manto-ribbon path:nth-child(3){animation-delay:.36s}.manto-ribbon path:nth-child(4){animation-delay:.54s}
@keyframes manto-draw{to{stroke-dashoffset:0}}
.is-style-ribbon-hero>*:not(.manto-ribbon),.is-style-ribbon-corner>*:not(.manto-ribbon){position:relative;z-index:1}
.is-style-ribbon-hero{min-height:calc(100svh - 77px);display:flex;flex-direction:column;justify-content:center}
@media (prefers-reduced-motion:reduce){.manto-ribbon path{animation:none;stroke-dashoffset:0}html{scroll-behavior:auto}}

/* ---------- group styles ---------- */
.is-style-manto-card{background:var(--wp--preset--color--white);border:1px solid var(--wp--preset--color--line);border-radius:var(--manto-radius-lg);padding:clamp(24px,3vw,32px)}
.is-style-manto-soft{background:var(--wp--preset--color--paper);border-radius:40px;padding:clamp(28px,5vw,64px)}
.is-style-manto-strand{border-radius:999px;padding:30px 40px}
.is-style-manto-strand h3{margin:0}
.is-style-manto-dark{background:var(--wp--preset--color--ink);color:var(--wp--preset--color--white)}
.is-style-manto-dark :where(h1,h2,h3,h4){color:var(--wp--preset--color--white)}
.is-style-manto-dark :where(p){color:#C9DCEB}
.is-style-manto-dark a:where(:not(.wp-element-button)){color:var(--wp--preset--color--yellow)}
@media (max-width:781px){.is-style-manto-strand{border-radius:32px;padding:26px}}

/* the three strands step to the right, like the ribbon */
.manto-strands>.is-style-manto-strand:nth-child(2){margin-left:6%!important}
.manto-strands>.is-style-manto-strand:nth-child(3){margin-left:12%!important}
@media (max-width:781px){.manto-strands>.is-style-manto-strand{margin-left:0!important}}

/* ---------- images ---------- */
.is-style-manto-arch img{border-radius:240px 240px 24px 24px!important;aspect-ratio:3/4;object-fit:cover;width:100%}
.is-style-manto-arch{position:relative}
.is-style-manto-arch::after{content:"";position:absolute;inset:auto -18px -18px auto;width:55%;height:55%;border:2px solid var(--wp--preset--color--gold);border-radius:0 0 24px 0;z-index:-1}

/* ---------- text styles ---------- */
.is-style-manto-lead{font-size:var(--wp--preset--font-size--lead);color:var(--wp--preset--color--ink-soft);max-width:34.8em}
.is-style-manto-dark .is-style-manto-lead{color:#C9DCEB}
.is-style-manto-tag{display:inline-block;font-size:.85rem!important;font-weight:700;color:var(--wp--preset--color--gold-text);background:var(--wp--preset--color--gold-tint);padding:3px 12px;border-radius:99px;width:fit-content}
.is-style-manto-number{display:grid;place-items:center;width:48px;height:48px;border-radius:50%;background:var(--wp--preset--color--sky);font-family:var(--wp--preset--font-family--display);font-size:1.5rem!important;line-height:1;margin:0!important}
.manto-steps>.wp-block-column:nth-child(2) .is-style-manto-number{background:var(--wp--preset--color--yellow)}
.manto-steps>.wp-block-column:nth-child(3) .is-style-manto-number{background:#BFE0B5}

/* ---------- lists ---------- */
.is-style-manto-checks{list-style:none;padding-left:0;display:grid;gap:14px}
.is-style-manto-checks li{display:flex;gap:14px}
.is-style-manto-checks li::before{content:"";flex:none;width:22px;height:22px;margin-top:3px;border-radius:50%;background:var(--wp--preset--color--green);-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 0a12 12 0 1 0 0 24 12 12 0 0 0 0-24Zm-1.6 17.2-5-5 1.8-1.8 3.2 3.2 7-7 1.8 1.8-8.8 8.8Z'/%3E%3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 0a12 12 0 1 0 0 24 12 12 0 0 0 0-24Zm-1.6 17.2-5-5 1.8-1.8 3.2 3.2 7-7 1.8 1.8-8.8 8.8Z'/%3E%3C/svg%3E") center/contain no-repeat}

/* ---------- FAQ ---------- */
.is-style-manto-faq{background:var(--wp--preset--color--white);border:1px solid var(--wp--preset--color--line);border-radius:18px;padding:0 24px;max-width:820px}
.is-style-manto-faq summary{cursor:pointer;list-style:none;display:flex;justify-content:space-between;gap:16px;padding:20px 0;font-weight:700;font-size:1.05rem}
.is-style-manto-faq summary::-webkit-details-marker{display:none}
.is-style-manto-faq summary::after{content:"+";font-family:var(--wp--preset--font-family--display);font-size:1.6rem;line-height:1;color:var(--wp--preset--color--mantle-text);transition:transform .2s}
.is-style-manto-faq[open] summary::after{transform:rotate(45deg)}
.is-style-manto-faq>:not(summary){color:var(--wp--preset--color--ink-soft);margin-top:0;padding-bottom:22px}

/* ---------- buttons ---------- */
.wp-block-button.is-style-manto-ghost .wp-block-button__link{background:var(--wp--preset--color--white);color:var(--wp--preset--color--ink);box-shadow:inset 0 0 0 1px var(--wp--preset--color--line)}
.wp-block-button.is-style-manto-ghost .wp-block-button__link:hover{box-shadow:inset 0 0 0 1px var(--wp--preset--color--sky)}
.wp-block-button.is-style-manto-light .wp-block-button__link{background:var(--wp--preset--color--white);color:var(--wp--preset--color--ink)}
.wp-block-button.is-style-manto-light .wp-block-button__link:hover{background:var(--wp--preset--color--yellow)}

/* ---------- rosary band (cover) ---------- */
.manto-prayer{min-height:520px}
.manto-prayer .wp-block-cover__inner-container{color:#fff}
.manto-prayer p{color:#DDE8F5;max-width:25.2em}
@media (max-width:781px){.manto-prayer .wp-block-cover__background{background:rgba(23,58,99,.86)!important}}

/* ---------- maps ---------- */
.manto-map iframe{display:block;border:0;width:100%;height:340px;border-radius:var(--manto-radius-lg);background:var(--wp--preset--color--line)}

/* ---------- team ---------- */
.manto-member{padding:0!important;overflow:hidden;display:flex;flex-direction:column}
.manto-member .wp-block-image{margin:0}
.manto-member .wp-block-image img{border-radius:0!important;aspect-ratio:616/600;object-fit:cover;object-position:center 20%;width:100%}
.manto-member>.wp-block-group{padding:24px 26px 28px}
.manto-member p:not(.is-style-manto-tag){color:var(--wp--preset--color--ink-soft);font-size:.98rem}

/* ---------- footer ---------- */
.manto-footer{background:var(--wp--preset--color--ink-deep);color:#C9DCEB}
.manto-footer :where(h2,h3,h4){color:#fff}
.manto-footer a{color:#fff;font-weight:400}
.manto-footer a:hover{color:var(--wp--preset--color--yellow)}
.manto-footer .wp-block-site-logo img{background:#fff;border-radius:50%;padding:6px}
.manto-footer .wp-block-social-links .wp-social-link{background:rgba(255,255,255,.1)!important;color:#fff!important}
.manto-footer-bottom{border-top:1px solid rgba(255,255,255,.12);font-size:.88rem;color:#8FA9C4}
.manto-footer-bottom a{font-weight:700}

/* ---------- breadcrumbs-ish back link on single events ---------- */
.manto-back a{font-weight:700}
.manto-plain-list{list-style:none;display:grid;gap:6px}

/* ---------- section rhythm (patterns use these classes) ---------- */
.manto-section{padding-top:var(--wp--preset--spacing--70);padding-bottom:var(--wp--preset--spacing--70)}
.manto-hero{padding-top:var(--wp--preset--spacing--60);padding-bottom:var(--wp--preset--spacing--70)}
.manto-hero h1{font-size:var(--wp--preset--font-size--hero);line-height:1.02;letter-spacing:-.01em;max-width:9.7em}
.manto-who{border-top:2px solid var(--wp--preset--color--line);padding-top:14px}
.manto-who p{font-size:.98rem;color:var(--wp--preset--color--ink-soft);margin-top:4px}
.manto-who strong{color:var(--wp--preset--color--ink)}
.manto-wide-photo img{border-radius:var(--manto-radius-lg)!important;width:100%;aspect-ratio:16/8;object-fit:cover;object-position:center 62%}
@media (max-width:781px){.manto-wide-photo img{aspect-ratio:4/3}}
.manto-big-time{font-weight:300;font-size:3rem;line-height:1.1;margin-top:8px!important}
.manto-way-main{border:2px solid var(--wp--preset--color--gold)!important;box-shadow:var(--wp--preset--shadow--lift)}
.manto-way{background:var(--wp--preset--color--paper)!important}
.manto-small{font-size:.9rem;color:var(--wp--preset--color--ink-soft)}
.manto-info h3{font-size:1.35rem}
.manto-info p{color:var(--wp--preset--color--ink-soft)}

/* ---------- narrow text inside 1180px sections stays left-aligned with the section ---------- */
.is-layout-constrained>.is-style-manto-lead,
.is-layout-constrained>.is-style-manto-faq,
.manto-prayer .wp-block-cover__inner-container>p{margin-left:max(0px,calc((100% - 1180px) / 2))!important;margin-right:auto!important}

/* TranslatePress floating switcher: the header already has the language button */
.trp-floating-switcher{display:none!important}
