/* 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}

/* ---------- header ---------- */
.wp-site-blocks>header.wp-block-template-part{position:sticky;top:0;z-index:30}
.manto-header{position:relative;isolation:isolate;border-bottom:1px solid var(--wp--preset--color--line)}
/* the blur lives on a background layer: a backdrop-filter on the header itself would trap the
   full-screen mobile menu (position:fixed) inside the header box */
.manto-header::before{content:"";position:absolute;inset:0;z-index:-1;background:color-mix(in srgb,var(--wp--preset--color--paper) 90%,transparent);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}
.manto-header .wp-block-navigation__responsive-container.is-menu-open{background:var(--wp--preset--color--paper);color:var(--wp--preset--color--ink)}
.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]{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{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:2px}
.manto-plain-list a,.manto-footer p a{display:inline-flex;align-items:center;min-height:32px}
.manto-handle{overflow-wrap:normal;word-break:normal}

/* ---------- 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--50);padding-bottom:var(--wp--preset--spacing--60)}
.manto-hero .manto-hero__name{font-size:clamp(1.15rem,1rem + .8vw,1.5rem);line-height:1.25;color:var(--wp--preset--color--gold-text);margin:0;max-width:24em}
.manto-hero .manto-hero__tagline{font-family:var(--wp--preset--font-family--display);font-size:clamp(2.4rem,1.6rem + 3.6vw,4.6rem);line-height:1.04;letter-spacing:-.01em;color:var(--wp--preset--color--ink);max-width:9.7em;margin-top:12px}
.manto-quick{gap:10px!important}
.manto-quick .wp-block-button__link{padding:12px 20px}
.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}

/* ---------- accessibility helpers ---------- */
.screen-reader-text{border:0;clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute!important;width:1px;word-wrap:normal!important}
.screen-reader-text:focus{clip-path:none;height:auto;width:auto;margin:0;padding:12px 16px;background:#fff;color:var(--wp--preset--color--ink);z-index:100;left:8px;top:8px}
.skip-link.screen-reader-text:focus{position:fixed!important}
a:focus-visible,button:focus-visible,summary:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid var(--wp--preset--color--mantle);outline-offset:3px}
.is-style-manto-dark a:focus-visible,.manto-footer a:focus-visible,.manto-prayer a:focus-visible{outline-color:var(--wp--preset--color--yellow)}

/* current page in the menu (aria-current is set by functions.php) */

/* in-page anchors land below the sticky header */
:target,[id]{scroll-margin-top:96px}

/* WhatsApp call to action */
.manto-whatsapp{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:20px 32px}
.manto-whatsapp p{margin:0}

/* small screens */
@media (max-width:600px){
  .manto-section{padding-top:2.5rem;padding-bottom:2.5rem}
  .manto-header .wp-block-site-title{font-size:.95rem}
  .is-style-manto-card{padding:20px}
}

/* ---------- home sections ---------- */
.manto-h-small{font-size:var(--wp--preset--font-size--large)!important}
.manto-times{margin-top:8px;margin-bottom:28px!important}
.manto-times p{margin:0;padding-left:16px;border-left:3px solid var(--wp--preset--color--yellow);color:#E6EEF5!important;line-height:1.5}
.manto-times .wp-block-column:nth-child(2) p{border-left-color:var(--wp--preset--color--sky)}
.manto-times .wp-block-column:nth-child(3) p{border-left-color:var(--wp--preset--color--green)}
.manto-times strong{color:#fff;font-size:1.1rem}
.manto-who--0{border-top-color:var(--wp--preset--color--green)!important}
.manto-who--1{border-top-color:var(--wp--preset--color--yellow)!important}
.manto-who--2{border-top-color:var(--wp--preset--color--sky)!important}
.manto-directions{margin-top:20px}
.manto-directions h3{margin-top:0}
.manto-hero .wp-block-columns{gap:clamp(24px,4vw,56px)}

/* ---------- header on phones and tablets ---------- */
.manto-header .wp-block-site-logo{flex-shrink:0}
.manto-header .wp-block-site-logo img{width:46px;height:auto}
.manto-header .wp-block-site-title{min-width:0;flex:1 1 auto}
.manto-header .manto-give,.manto-header .manto-lang,.manto-header .wp-block-navigation{flex-shrink:0}
.manto-header .wp-block-button__link,.manto-lang{white-space:nowrap}
.manto-header .wp-block-navigation__responsive-container-open,.manto-header .wp-block-navigation__responsive-container-close{min-width:44px;min-height:44px;align-items:center;justify-content:center}
/* the full menu needs ~1080px: below that it opens from the menu button (WordPress' default switch is at 600px) */
@media (max-width:1079px){
  .manto-header .wp-block-navigation__responsive-container-open:not(.always-shown){display:flex!important}
  .manto-header .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open){display:none!important}
}
@media (max-width:600px){
  .manto-header .wp-block-site-logo img{width:40px}
  .manto-header .wp-block-site-title{font-size:.9rem!important;max-width:12em}
  .manto-lang{padding:7px 12px}
}
@media (max-width:360px){
  .manto-header .wp-block-site-title{font-size:.84rem!important}
}

/* language button: short label on small phones (the full name stays in aria-label) */
.manto-lang__short{display:none}
@media (max-width:420px){
  .manto-lang__full{display:none}
  .manto-lang__short{display:inline}
  .manto-lang{padding:0 14px;min-width:44px;height:44px;display:inline-flex;align-items:center;justify-content:center}
  .manto-header .alignwide>.wp-block-group{gap:10px!important}
}

/* open menu (phones and tablets): left-aligned, large touch targets, includes "Give" */
.manto-header .wp-block-navigation__responsive-container:not(.is-menu-open) .manto-nav-give{display:none}
.manto-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content,
.manto-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container{align-items:flex-start!important;justify-content:flex-start}
.manto-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container{gap:4px!important;font-size:1.35rem;width:100%}
.manto-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item{width:100%;border-bottom:1px solid var(--wp--preset--color--line)}
.manto-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content{display:block;width:100%;padding:12px 0;border-bottom:0}
.manto-header .wp-block-navigation__responsive-container.is-menu-open a[aria-current]{color:var(--wp--preset--color--mantle-text)}
