/* Shared layouts for phones, tablets and desktop screens. */
html{-webkit-text-size-adjust:100%;text-size-adjust:100%;scroll-padding-top:96px}
img,iframe,video{max-width:100%}
.intro-grid,.life-grid,.contact-grid,.bulletin-grid,.direction-grid,.parish-values,.colour-list{min-width:0}
.intro-grid>*,.life-grid>*,.contact-grid>*,.bulletin-grid>*,.direction-grid>*,.parish-values>*,.colour-list>*,.priest-grid>*,.parish-logo-grid>*,.assembly-layout>*{min-width:0}
.bulletin-grid{grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr);align-items:start}
.intro-grid{grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr)}
.bulletin-head>*{min-width:0}.bulletin-head>div:first-child{flex:0 1 38%}.bulletin-head>div:last-child{flex:1 1 62%}
.bulletin-kicker{flex-wrap:wrap}.date-badge{display:inline-block;white-space:normal;max-width:100%}
h1,h2,h3,h4,p,li,dd,blockquote,.brand,.contact-line a{overflow-wrap:anywhere}
h1,h2,h3{line-height:1.18}html[lang="ta"] h1,html[lang="ta"] h2,html[lang="ta"] h3{line-height:1.35}
.lang-switch button{min-width:44px;min-height:44px;height:auto}.lang-switch{flex-shrink:0}
.btn{white-space:normal;text-align:center;max-width:100%}
.menu{min-width:48px;min-height:48px;flex-shrink:0;border-radius:10px;cursor:pointer}
.menu:hover,.menu:focus-visible{background:var(--cream)}
a:focus-visible,button:focus-visible,summary:focus-visible,[tabindex="0"]:focus-visible{outline:3px solid var(--gold);outline-offset:4px}
.week-tabs{flex-wrap:wrap;overflow:visible;position:relative}.week-tabs button{min-height:46px}
.current-week-label{white-space:normal;text-align:center}
.dated-row{grid-template-columns:104px minmax(0,1fr)}
.contact-line{min-width:0}.contact-line a{display:inline-flex;align-items:center;min-height:44px}
.table-scroll{max-width:100%;min-width:0;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch}
.registration-head>*{min-width:0}.registration-frame{max-width:100%}
.navlinks a{min-height:44px;display:flex;align-items:center}
@media(max-width:1180px){
 nav{position:relative;gap:1rem;min-height:78px;height:auto;padding-block:8px}
 .menu{display:block}.navlinks{display:none;position:absolute;top:100%;left:0;right:0;background:#fff;padding:12px;flex-direction:column;align-items:stretch;gap:4px;border:1px solid var(--line);border-radius:0 0 16px 16px;box-shadow:var(--shadow);max-height:calc(100dvh - 90px);overflow-y:auto}
 .navlinks.open{display:flex}.navlinks a{font-size:1rem;padding:10px 14px;border-radius:10px}.navlinks a:hover{background:var(--cream)}.navlinks .visit{justify-content:center}
}
@media(min-width:781px) and (max-width:1000px){
 .intro-grid,.life-grid,.contact-grid{gap:2rem}.bulletin-head{display:block}.bulletin-head p{margin-top:1rem}.bulletin-card{padding:1.3rem}.dated-row{grid-template-columns:1fr;gap:.2rem}
 .schedule-head{align-items:start}.schedule-note{max-width:360px}
}
@media(max-width:780px){
 .intro-grid,.life-grid,.contact-grid,.bulletin-grid{grid-template-columns:minmax(0,1fr);gap:1.25rem}
 .direction-grid,.parish-values,.priest-grid,.parish-logo-grid,.assembly-layout,.colour-list{grid-template-columns:minmax(0,1fr)}
 section{padding-block:clamp(44px,8vw,64px)}.shell{width:calc(100% - 32px)}
 h2{font-size:clamp(1.9rem,6vw,2.8rem)}.bulletin-head h2{max-width:none}.bulletin-head{margin-bottom:1.5rem}
 .bulletin-card,.direction-card,.registration-head{padding:1.25rem}.bulletin-card.wide{grid-row:auto}
 .bulletin-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.65rem}.bulletin-actions .btn{width:100%;padding-inline:.7rem}
 .hero{min-height:540px;min-height:min(680px,calc(100svh - 130px))}.hero-content{padding:5rem 0 3rem;width:calc(100% - 32px);max-width:710px}
 h1{font-size:clamp(2.3rem,8vw,3.8rem)}.hero p{font-size:1.05rem;line-height:1.65}
 .mass-card{padding:1.3rem}.facts{grid-template-columns:repeat(2,minmax(0,1fr))}
 .assembly-card h3{font-size:1.5rem}.spirit-details{padding:1rem}.spirit-details blockquote{font-size:1rem;overflow-wrap:anywhere}
 .source{text-align:left}.map-card iframe{min-height:300px}
}
@media(max-width:560px){
 .lang-switch button{min-width:44px;min-height:44px}.topbar{padding-block:5px}
 .live-logo{width:88px;height:44px;background-size:88px auto;background-position:center -22px}.brand{gap:.55rem;flex:1}.brand>span:last-child{min-width:0}.brand strong{font-size:.9rem}.brand small{font-size:.6rem;letter-spacing:.04em}
 .hero-content{padding-top:3rem}.actions{flex-direction:column;align-items:stretch}.actions .btn{width:100%}
 .bulletin-actions{grid-template-columns:minmax(0,1fr)}.bulletin-card{padding:1.1rem;border-radius:18px}
 .bulletin-kicker h3{font-size:1.4rem}.dated-row{grid-template-columns:minmax(0,1fr);gap:.2rem;padding-block:.85rem}.dated-row strong{font-size:1rem}.dated-row span,.notice-list li{font-size:.95rem}
 .week-tabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.6rem;padding-bottom:.5rem}.week-tabs button{white-space:normal;flex-direction:column;justify-content:center;gap:.35rem;padding:.7rem .45rem;min-width:0}.current-week-label{font-size:.72rem}
 .time{grid-template-columns:minmax(0,1fr);gap:.15rem}.priest-preview{grid-template-columns:64px minmax(0,1fr);gap:.8rem}.priest-preview img{width:64px}.priest-preview h3{font-size:1.15rem}
 .table-scroll{overflow:visible}.table-scroll table{display:block;min-width:0!important;width:100%;margin-top:.75rem}.table-scroll caption{display:block}.table-scroll thead{position:absolute;width:1px;height:1px;clip-path:inset(50%);overflow:hidden}
 .table-scroll tbody{display:grid;gap:.75rem}.table-scroll tr{display:grid;grid-template-columns:minmax(0,1fr) auto;border:1px solid var(--line);border-radius:12px;padding:.75rem;gap:.4rem .7rem}
 .table-scroll .assembly-programme td{display:block;min-width:0!important;padding:0;border:0;overflow-wrap:anywhere}.table-scroll .assembly-programme td:first-child{grid-column:1/-1;white-space:normal;color:#76551f;font-size:.9rem}.table-scroll .assembly-programme td:last-child{font-size:.85rem;color:var(--muted);text-align:right}
 .registration-head .btn{width:100%}.registration-frame{height:1200px}.parish-jump{display:grid;grid-template-columns:minmax(0,1fr)}.parish-jump a{min-height:44px;text-align:center}
 .welcome-card h3{font-size:1.7rem}.contact-card,.welcome-card{padding:1.25rem}.footer-inner{gap:1rem}
}
@media(max-width:360px){.shell{width:calc(100% - 24px)}.brand strong{font-size:.82rem}.brand small{font-size:.55rem}.live-logo{width:72px;background-size:72px auto;background-position:center -16px}.facts{grid-template-columns:minmax(0,1fr)}h1{font-size:2.3rem}}
@media(max-height:560px) and (max-width:1180px){
 .hero{min-height:360px}.hero-content{padding-block:2.5rem}.navlinks{max-height:calc(100dvh - 96px)}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
