/* Redentore Cloud 231. Screen chrome only: document canvases, PDF and print remain owned by their editors. */
@media screen {
 html:root {--rd-cloud231-radius:24px;--rd-cloud231-gap:24px;--rd-cloud231-line:color-mix(in srgb,var(--text,#203c42) 10%,transparent);--rd-cloud231-shadow:0 3px 8px #102b3410,0 16px 40px -22px #102b3428;--rd-cloud231-float:0 18px 60px -22px #102b3450}
 html:root body {--portal-cloud-card-shadow:var(--rd-cloud231-shadow);--portal-cloud-control-shadow:none;--app-cloud-card-shadow:var(--rd-cloud231-shadow);--app-cloud-panel-shadow:var(--rd-cloud231-float);--app-cloud-control-shadow:none}
 html:root body .site-header {border-bottom:1px solid var(--rd-cloud231-line)!important;box-shadow:0 1px 12px #132b3307!important;background:var(--header-bg,var(--surface,#fff))!important}
 html:root body .site-header .nav-inner {min-height:68px!important;padding-top:8px!important;padding-bottom:8px!important;gap:16px!important}
 html:root body .site-header .header-actions {gap:6px!important;align-items:center}
 html:root body .site-header .brand-title {font-size:clamp(16px,1.8vw,21px)!important;letter-spacing:-.025em}
 html:root body .site-header .parish-logo {width:40px!important;height:40px!important;flex-basis:40px!important;box-shadow:none!important}
 html:root body .site-header .parish-logo-img {object-fit:contain!important}
 html:root body :is(.hero-intro,.pastor-carousel,.home-desktop-surface,.community-feature,.participation-card,.home-group-card,.content-card,.album-cloud-shell,.aw-workflow,.admin-card,.my-space-card) {box-shadow:var(--rd-cloud231-shadow)!important;border-color:var(--rd-cloud231-line)!important;border-radius:var(--rd-cloud231-radius)!important}
 html:root body :is(.practical-panel,.practical-toggle) {box-shadow:none!important;border-color:var(--rd-cloud231-line)!important;border-radius:16px!important}
 html:root body :is(.button,.public-share-trigger,.public-share-copy,.social-toggle,.round-arrow) {box-shadow:none!important}
 html:root body :is(.button.secondary,.button.quiet,.text-link) {box-shadow:none!important}
 html:root body :is(.section-heading,.card-copy,.pastor-copy) :is(h2,h3) {letter-spacing:-.025em;line-height:1.17}
 html:root body .hero-intro {padding:clamp(24px,2.4vw,32px)!important}
 html:root body .home-hero-title {font-size:var(--hr-title-desktop,clamp(30px,2.8vw,40px))!important;line-height:1.1!important;letter-spacing:-.04em!important}
 html:root body .home-hero-actions {gap:12px!important}
 html:root body .home-hero-actions .button {min-height:48px!important;max-width:100%;white-space:normal}
 html:root body .home-hero-actions .button small {white-space:normal!important;overflow:visible!important;text-overflow:clip!important}
 html:root body .sunday-card {box-shadow:0 8px 30px #142c3420!important;border:1px solid var(--rd-cloud231-line)!important;border-radius:22px!important}
 html:root body .pastor-description.cloud-collapsible:not(.cloud-expanded) {max-height:none!important;overflow:visible!important;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:4;overflow:hidden!important}
 html:root body .pastor-description.cloud-expanded {max-height:none!important;overflow:visible!important;display:block!important}
 html:root body .pastor-readmore {box-shadow:none!important;min-height:44px}
 html:root body .pastor-copy {min-width:0}
 html:root body :is(.aw-heading,.section-heading) {gap:16px}
 html:root body .aw-workflow .aw-actions {display:flex;flex-wrap:wrap;gap:8px}
 html:root body :is(.aw-workflow,.my-space) :is(.button.secondary,.button.quiet) {border-color:var(--rd-cloud231-line)!important}
 html:root body :is(.aw-step,.aw-launch-card) {box-shadow:none!important;border-color:var(--rd-cloud231-line)!important;border-radius:18px!important}
 html:root body :is(.social-dialog,.homily-dialog,.podcast-dialog,.privacy-dialog) {border-radius:26px!important;box-shadow:var(--rd-cloud231-float)!important;border-color:var(--rd-cloud231-line)!important}
 html:root body :is(button,a,input,select,textarea,summary):focus-visible {outline:3px solid var(--primary,var(--accent,#367f91))!important;outline-offset:3px!important}
 html:root body button:disabled {opacity:.45!important;cursor:not-allowed!important;filter:saturate(.45)}
 html:root body [data-reveal] {opacity:1!important;visibility:visible!important;transform:none!important}
 @supports(backdrop-filter:blur(12px)) {
  html:root body .site-header {background:color-mix(in srgb,var(--header-bg,var(--surface,#fff)) 87%,transparent)!important;backdrop-filter:blur(18px) saturate(1.15);-webkit-backdrop-filter:blur(18px) saturate(1.15)}
 }
 @media(min-width:1100px){
  html:root body .hero-visual {min-height:440px!important}
  html:root body .sunday-card {padding:24px!important}
  html:root body .pastor-copy {padding:8px 0!important}
 }
 @media(max-width:760px){
  html:root {--rd-cloud231-radius:22px;--rd-cloud231-gap:16px}
  html:root body .site-header .nav-inner {min-height:62px!important;padding-left:max(16px,env(safe-area-inset-left))!important;padding-right:max(16px,env(safe-area-inset-right))!important;gap:8px!important}
  html:root body .site-header .brand-copy small {font-size:9px!important;letter-spacing:.12em}
  html:root body .site-header .brand-title {font-size:15px!important;line-height:1.15!important}
  html:root body .site-header .brand {gap:8px!important;min-width:0}
  html:root body .site-header .parish-logo {width:32px!important;height:32px!important;flex-basis:32px!important}
  html:root body .site-header .header-actions {gap:2px!important;flex-shrink:0}
  html:root body .hero-intro {padding:24px!important;min-height:0!important}
  html:root body .hero-visual {min-height:0!important}
  html:root body .sunday-card {padding:20px!important;margin:12px!important;max-width:calc(100% - 24px)!important}
  html:root body .home-hero-actions {display:grid!important;grid-template-columns:1fr!important}
  html:root body .home-hero-actions .button {width:100%!important}
  html:root body .pastor-description.cloud-collapsible:not(.cloud-expanded) {-webkit-line-clamp:3}
  html:root body :is(.pastor-copy,.card-copy) {padding:20px!important}
  html:root body :is(.social-dialog,.homily-dialog,.podcast-dialog,.privacy-dialog) {width:calc(100% - 24px)!important;max-width:calc(100% - 24px)!important;max-height:calc(100dvh - 24px)!important;margin:auto!important}
  html:root body .aw-workflow .aw-heading {align-items:flex-start}
 }
 @media(prefers-reduced-transparency:reduce){html:root body .site-header {backdrop-filter:none!important;background:var(--header-bg,var(--surface,#fff))!important}}
}

@media screen and (max-width:760px){html:root body .site-header .brand {flex:1!important}html:root body .site-header .brand-copy {min-width:0!important}html:root body .site-header .brand-title {display:block!important;white-space:normal!important;overflow-wrap:anywhere!important}html:root body .site-header .brand-copy small {white-space:normal!important}}

@layer redentore-cloud {
/* Redentore Cloud 231. Screen chrome only: document canvases, PDF and print remain owned by their editors. */
@media screen {
 html:root {--rd-cloud231-radius:24px;--rd-cloud231-gap:24px;--rd-cloud231-line:color-mix(in srgb,var(--text,#203c42) 10%,transparent);--rd-cloud231-shadow:0 3px 8px #102b3410,0 16px 40px -22px #102b3428;--rd-cloud231-float:0 18px 60px -22px #102b3450}
 html:root body {--portal-cloud-card-shadow:var(--rd-cloud231-shadow);--portal-cloud-control-shadow:none;--app-cloud-card-shadow:var(--rd-cloud231-shadow);--app-cloud-panel-shadow:var(--rd-cloud231-float);--app-cloud-control-shadow:none}
 html:root body .site-header {border-bottom:1px solid var(--rd-cloud231-line)!important;box-shadow:0 1px 12px #132b3307!important;background:var(--header-bg,var(--surface,#fff))!important}
 html:root body .site-header .nav-inner {min-height:68px!important;padding-top:8px!important;padding-bottom:8px!important;gap:16px!important}
 html:root body .site-header .header-actions {gap:6px!important;align-items:center}
 html:root body .site-header .brand-title {font-size:clamp(16px,1.8vw,21px)!important;letter-spacing:-.025em}
 html:root body .site-header .parish-logo {width:40px!important;height:40px!important;flex-basis:40px!important;box-shadow:none!important}
 html:root body .site-header .parish-logo-img {object-fit:contain!important}
 html:root body :is(.hero-intro,.pastor-carousel,.home-desktop-surface,.community-feature,.participation-card,.home-group-card,.content-card,.album-cloud-shell,.aw-workflow,.admin-card,.my-space-card) {box-shadow:var(--rd-cloud231-shadow)!important;border-color:var(--rd-cloud231-line)!important;border-radius:var(--rd-cloud231-radius)!important}
 html:root body :is(.practical-panel,.practical-toggle) {box-shadow:none!important;border-color:var(--rd-cloud231-line)!important;border-radius:16px!important}
 html:root body :is(.button,.public-share-trigger,.public-share-copy,.social-toggle,.round-arrow) {box-shadow:none!important}
 html:root body :is(.button.secondary,.button.quiet,.text-link) {box-shadow:none!important}
 html:root body :is(.section-heading,.card-copy,.pastor-copy) :is(h2,h3) {letter-spacing:-.025em;line-height:1.17}
 html:root body .hero-intro {padding:clamp(24px,2.4vw,32px)!important}
 html:root body .home-hero-title {font-size:var(--hr-title-desktop,clamp(30px,2.8vw,40px))!important;line-height:1.1!important;letter-spacing:-.04em!important}
 html:root body .home-hero-actions {gap:12px!important}
 html:root body .home-hero-actions .button {min-height:48px!important;max-width:100%;white-space:normal}
 html:root body .home-hero-actions .button small {white-space:normal!important;overflow:visible!important;text-overflow:clip!important}
 html:root body .sunday-card {box-shadow:0 8px 30px #142c3420!important;border:1px solid var(--rd-cloud231-line)!important;border-radius:22px!important}
 html:root body .pastor-description.cloud-collapsible:not(.cloud-expanded) {max-height:none!important;overflow:visible!important;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:4;overflow:hidden!important}
 html:root body .pastor-description.cloud-expanded {max-height:none!important;overflow:visible!important;display:block!important}
 html:root body .pastor-readmore {box-shadow:none!important;min-height:44px}
 html:root body .pastor-copy {min-width:0}
 html:root body :is(.aw-heading,.section-heading) {gap:16px}
 html:root body .aw-workflow .aw-actions {display:flex;flex-wrap:wrap;gap:8px}
 html:root body :is(.aw-workflow,.my-space) :is(.button.secondary,.button.quiet) {border-color:var(--rd-cloud231-line)!important}
 html:root body :is(.aw-step,.aw-launch-card) {box-shadow:none!important;border-color:var(--rd-cloud231-line)!important;border-radius:18px!important}
 html:root body :is(.social-dialog,.homily-dialog,.podcast-dialog,.privacy-dialog) {border-radius:26px!important;box-shadow:var(--rd-cloud231-float)!important;border-color:var(--rd-cloud231-line)!important}
 html:root body :is(button,a,input,select,textarea,summary):focus-visible {outline:3px solid var(--primary,var(--accent,#367f91))!important;outline-offset:3px!important}
 html:root body button:disabled {opacity:.45!important;cursor:not-allowed!important;filter:saturate(.45)}
 html:root body [data-reveal] {opacity:1!important;visibility:visible!important;transform:none!important}
 @supports(backdrop-filter:blur(12px)) {
  html:root body .site-header {background:color-mix(in srgb,var(--header-bg,var(--surface,#fff)) 87%,transparent)!important;backdrop-filter:blur(18px) saturate(1.15);-webkit-backdrop-filter:blur(18px) saturate(1.15)}
 }
 @media(min-width:1100px){
  html:root body .hero-visual {min-height:440px!important}
  html:root body .sunday-card {padding:24px!important}
  html:root body .pastor-copy {padding:8px 0!important}
 }
 @media(max-width:760px){
  html:root {--rd-cloud231-radius:22px;--rd-cloud231-gap:16px}
  html:root body .site-header .nav-inner {min-height:62px!important;padding-left:max(16px,env(safe-area-inset-left))!important;padding-right:max(16px,env(safe-area-inset-right))!important;gap:8px!important}
  html:root body .site-header .brand-copy small {font-size:9px!important;letter-spacing:.12em}
  html:root body .site-header .brand-title {font-size:15px!important;line-height:1.15!important}
  html:root body .site-header .brand {gap:8px!important;min-width:0}
  html:root body .site-header .parish-logo {width:32px!important;height:32px!important;flex-basis:32px!important}
  html:root body .site-header .header-actions {gap:2px!important;flex-shrink:0}
  html:root body .hero-intro {padding:24px!important;min-height:0!important}
  html:root body .hero-visual {min-height:0!important}
  html:root body .sunday-card {padding:20px!important;margin:12px!important;max-width:calc(100% - 24px)!important}
  html:root body .home-hero-actions {display:grid!important;grid-template-columns:1fr!important}
  html:root body .home-hero-actions .button {width:100%!important}
  html:root body .pastor-description.cloud-collapsible:not(.cloud-expanded) {-webkit-line-clamp:3}
  html:root body :is(.pastor-copy,.card-copy) {padding:20px!important}
  html:root body :is(.social-dialog,.homily-dialog,.podcast-dialog,.privacy-dialog) {width:calc(100% - 24px)!important;max-width:calc(100% - 24px)!important;max-height:calc(100dvh - 24px)!important;margin:auto!important}
  html:root body .aw-workflow .aw-heading {align-items:flex-start}
 }
 @media(prefers-reduced-transparency:reduce){html:root body .site-header {backdrop-filter:none!important;background:var(--header-bg,var(--surface,#fff))!important}}
}

@media screen and (max-width:760px){html:root body .site-header .brand {flex:1!important}html:root body .site-header .brand-copy {min-width:0!important}html:root body .site-header .brand-title {display:block!important;white-space:normal!important;overflow-wrap:anywhere!important}html:root body .site-header .brand-copy small {white-space:normal!important}}

}
@layer redentore-cloud { @media screen and (max-width:760px){
 html:root body .site-header .nav-inner{display:flex!important;flex-wrap:nowrap!important}
 html:root body .home-hero-section .hero-intro .home-hero-title{font-size:var(--hr-title-mobile,28px)!important;line-height:1.12!important;margin:20px 0 12px!important}
 html:root body .home-hero-section .home-hero-text{margin:0 0 20px!important}
 html:root body .home-hero-section .home-hero-text p{font-size:var(--hr-reflection-mobile,16px)!important;line-height:1.5!important}
 }
 @media screen {
 html:root body .practical-triggers>button{box-shadow:none!important;border:1px solid var(--rd-cloud231-line)!important}
 html:root body .site-header .header-actions>:is(button,a){background:transparent!important;background-image:none!important}
 }
}
@layer redentore-cloud {@media screen and (max-width:760px){
 html:root body .site-header .nav-inner{flex-direction:row!important}
 html:root body .site-header .header-actions{width:auto!important;min-width:0!important;flex:0 0 auto!important}
 html:root body .site-header .brand{width:auto!important;max-width:calc(100% - 184px)!important}
}}
@layer redentore-cloud {@media screen {
 html:root body .cloud-brand-short{display:none!important}
 html:root body .pastor-scroll-hint{display:none!important}
}@media screen and (max-width:760px){
 html:root body .site-header .brand-copy .brand-title{display:none!important}
 html:root body .site-header .brand-copy .cloud-brand-short{display:block!important;font-size:14px!important;line-height:1.2!important;font-weight:700!important;white-space:nowrap!important}
}}
@layer redentore-cloud {@media screen {html:root body .pastor-description.cloud-collapsible+small{display:none!important}}}

@layer redentore-cloud {@media screen {html:root body .home-hero-section{box-shadow:none!important;border:0!important;background:transparent!important}html:root body .hero-intro{background:var(--home-card-active-bg,var(--surface,#fff))!important}}}
@layer redentore-cloud {@media screen{
 html:root body :is(.ms-card,.ms-hero,.admin-card,.settings-card,.workspace-bar,.avvisi-workflow-guide){box-shadow:var(--rd-cloud231-shadow)!important;border-color:var(--rd-cloud231-line)!important;border-radius:22px!important}
 html:root body .ms-card{padding:22px!important;min-height:120px!important}
 html:root body .ms-card .ms-icon{border-radius:18px!important;box-shadow:none!important}
 html:root body .ms-grid{gap:18px!important}
 html:root body :is(.portal-search-types,.view-tabs){gap:6px!important;border-radius:18px!important}
 html:root body :is(.workspace-bar,.admin-header,.avvisi-header){box-shadow:0 1px 12px #102b3308!important}
 }@media screen and (max-width:760px){
 html:root body .ms-grid{grid-template-columns:1fr!important;gap:14px!important}
 html:root body .ms-card{min-height:88px!important;padding:18px!important}
 html:root body :is(.social-dialog,.privacy-dialog){position:fixed!important;inset:auto 0 0!important;margin:0 auto!important;width:100%!important;max-width:100%!important;max-height:90dvh!important;border-radius:24px 24px 0 0!important;padding-bottom:max(20px,env(safe-area-inset-bottom))!important}
 html:root body .homily-dialog{position:fixed!important;inset:0!important;margin:0!important;width:100%!important;max-width:100%!important;height:100dvh!important;max-height:100dvh!important;border-radius:0!important}
}}

@layer redentore-cloud {@media screen and (max-width:760px){html:root body .site-header .nav-inner.wrap{width:100%!important;max-width:none!important;box-sizing:border-box!important}}@media screen and (max-width:380px){html:root body .site-header .brand{max-width:calc(100% - 144px)!important}html:root body .site-header .parish-logo{width:28px!important;height:28px!important;flex-basis:28px!important}html:root body .site-header .brand-copy .cloud-brand-short{font-size:13px!important}}}

@layer redentore-cloud {@media screen {html:root body .pastor-readmore:not([hidden]){display:inline-flex!important;align-items:center!important;min-height:44px!important}html:root body .pastor-description.cloud-expanded{height:auto!important}}}
/* 236: every shortcut is directly visible, with an equal-width second row on phones. */
@layer redentore-cloud {@media screen {
 html:root body .site-header .nav-inner{display:flex!important;flex-wrap:wrap!important}
 html:root body .site-header .brand{order:0!important;margin-right:auto!important}
 html:root body .site-header .header-quick-tools{order:1;display:flex;align-items:center;gap:6px;flex:none}
 html:root body .site-header .header-actions{order:2!important;width:auto!important;flex:0 0 auto!important;margin:0!important}
 html:root body .site-header .header-quick-tools>:is(button,a){display:inline-flex!important;align-items:center!important;justify-content:center!important;position:relative;box-sizing:border-box!important;width:44px!important;min-width:44px!important;height:44px!important;min-height:44px!important;padding:10px!important;flex:none!important;border-color:transparent!important;border-radius:14px!important;box-shadow:none!important;background:transparent!important;color:inherit!important;text-decoration:none!important}
 html:root body .site-header .header-quick-tools svg{width:20px!important;height:20px!important;flex:none!important}
 html:root body .site-header .header-quick-tools .socials-toggle-label{display:none!important}
 }@media screen and (max-width:760px){
 html:root body .site-header .nav-inner{row-gap:4px!important}
 html:root body .site-header .brand{max-width:calc(100% - 144px)!important;flex:1 1 0!important}
 html:root body .site-header .header-actions{flex:0 0 auto!important;gap:2px!important}
 html:root body .site-header .header-quick-tools{order:3!important;display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px!important;flex:1 0 100%!important;width:100%!important;min-width:0!important}
 html:root body .site-header .header-quick-tools>:is(button,a){width:100%!important;min-width:0!important;height:50px!important;padding:4px!important;gap:3px!important;flex-direction:column!important;font-size:11px!important;line-height:1.1!important}
 html:root body .site-header .header-quick-tools>[data-quick-label]::after{content:attr(data-quick-label);display:block;font:600 11px/1.1 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;white-space:nowrap}
 html:root body .site-header .header-quick-tools .visitor-badge{top:0!important;right:calc(50% - 24px)!important}
 }}

/* One shared document entry point, equal prominence on all viewports. */
@media(min-width:900px){.aw-launch-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}}
.aw-document-step .launch-actions{display:flex;flex-wrap:wrap;gap:10px}.aw-document-step .launch-actions>button{white-space:normal;min-height:44px;max-width:100%}

/* Imported-document title and inclusive period. */
.awi-original-dialog [data-period-fields]{display:grid!important;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr) minmax(0,1fr);gap:16px!important;min-width:0;max-width:100%;}
.awi-original-dialog [data-period-fields]>label{display:flex;flex-direction:column;gap:8px;min-width:0;max-width:100%;}
.awi-original-dialog [data-period-fields] input{box-sizing:border-box;display:block;width:100%;min-width:0;max-width:100%;margin:0;min-height:48px;}
.awi-original-dialog [data-period-fields] input[type=date]{appearance:none;-webkit-appearance:none;}
.awi-original-dialog .awi-steps{color:var(--text,#21464c);opacity:1;}
@media(max-width:700px){.awi-original-dialog [data-period-fields]{grid-template-columns:minmax(0,1fr);}}

/* Appuntamenti, nella finestra della home e nell’anteprima di redazione */
.practical-menu .parish-event-list{display:grid;gap:.7rem;margin:.8rem 0 0}
.practical-menu article.parish-event-card,.event-appearance .parish-event-card{
 --event-paper:#fff;--event-ink:#183238;--event-muted:#3c565a;--event-accent:#27786b;--event-tint:var(--event-accent);
 display:grid;grid-template-columns:minmax(0,1fr);align-items:start;gap:.8rem;position:relative;
 box-sizing:border-box;min-width:0;margin:0;padding:clamp(.78rem,2.5vw,1.1rem);color:var(--event-ink);
 border:1px solid color-mix(in srgb,var(--event-tint) 25%,var(--event-paper));border-radius:16px;
 background:var(--event-paper);background:color-mix(in srgb,var(--event-tint) 8%,var(--event-paper));text-align:left
}
:is([data-theme=dark],.theme-dark,.dark) :is(.practical-menu,.event-appearance) article.parish-event-card,
.practical-menu[data-theme=dark] article.parish-event-card{--event-paper:#17272d;--event-ink:#f8fbfc;--event-muted:#d3e2e4;--event-accent:#74ccbb}
:is(.practical-menu,.event-appearance) article.parish-event-card[data-featured=true]{border-inline-start:4px solid var(--event-tint);background:color-mix(in srgb,var(--event-tint) 17%,var(--event-paper))}
.practical-menu .parish-event-card:has(>.parish-event-photo:not([hidden])){grid-template-columns:clamp(64px,19%,100px) minmax(0,1fr)}
.practical-menu .parish-event-card>.parish-event-photo{display:block;width:100%;height:auto;aspect-ratio:5/6;object-fit:contain;object-position:center;border-radius:9px;background:color-mix(in srgb,var(--event-tint) 11%,var(--event-paper))}
.practical-menu .parish-event-photo[hidden],.event-appearance [hidden]{display:none!important}
.practical-menu .parish-event-copy,.event-appearance .parish-event-copy{min-width:0;display:flex;flex-direction:column;align-items:flex-start;gap:.26rem;overflow-wrap:anywhere}
.practical-menu .parish-event-card:has(.appointment-manage) .parish-event-copy{padding-inline-end:1.8rem}
:is(.practical-menu,.event-appearance) .parish-event-copy .parish-event-feature{font:700 .72rem/1.2 system-ui;letter-spacing:.035em;color:var(--event-ink);border:1px solid currentColor;border-radius:99px;padding:.18rem .52rem;margin:0 0 .2rem}
.practical-menu .parish-event-copy time.parish-event-date{font:650 .82rem/1.4 system-ui;color:var(--event-muted);margin:0}
.practical-menu .parish-event-copy .parish-event-hour{font:700 .88rem/1.25 system-ui;font-variant-numeric:tabular-nums;letter-spacing:.018em;color:var(--event-ink)}
:is(.practical-menu,.event-appearance) .parish-event-copy strong.parish-event-title{font:720 clamp(1.08rem,2.4vw,1.25rem)/1.2 system-ui;letter-spacing:-.02em;color:var(--event-ink);margin:.16rem 0 0}
.practical-menu .parish-event-card .parish-event-place,.practical-menu .parish-event-card p{font-size:.88rem;line-height:1.45;color:var(--event-muted);margin:0}
.practical-menu .parish-event-detail{font-weight:650;font-size:.85rem;padding:.4rem 0;color:var(--event-ink);text-decoration:underline;text-underline-offset:3px}
.practical-menu .parish-event-card>.appointment-management-slot{position:absolute;inset-block-start:.5rem;inset-inline-end:.5rem}
.practical-menu .practical-panel[data-panel-source=events]>.practical-more{display:inline-flex;align-items:center;min-height:42px}
dialog.practical-overlay-host:has([data-panel-source=events]){width:min(31rem,calc(100vw - 24px));max-width:calc(100vw - 24px);box-sizing:border-box}
@media(max-width:600px){dialog.practical-overlay-host:has([data-panel-source=events]){left:0!important;right:0!important;margin-inline:auto!important;width:calc(100vw - 1.25rem);max-width:calc(100vw - 1.25rem)}}
.event-appearance{display:grid;gap:.7rem;min-width:0;margin:.4rem 0;padding:1rem;border:1px solid #8887;border-radius:14px}.event-appearance label{display:grid;gap:.3rem}.event-appearance label:has([type=checkbox]){display:flex;align-items:center}.event-appearance input[type=color]{width:100%;height:42px}.event-appearance legend{font-weight:650}
.procession-studio .ps-trace-bar{display:flex;align-items:center;gap:.5rem;flex-wrap:wrap;padding:.6rem;border-radius:12px;background:#e6f1ec;color:#193931}
.procession-studio .ps-trace-bar[hidden]{display:none!important}.ps-trace-bar span{flex:1;min-width:9em;font-weight:600}.procession-studio .ps-preview-bar button[aria-pressed=true]{box-shadow:inset 0 0 0 2px currentColor}
.procession-studio .ps-empty{pointer-events:none}.procession-studio .ps-map-frame:has(.ps-placing){outline:3px solid var(--ps-accent);outline-offset:2px}

/* Rounded artwork and compact event sharing */
.practical-menu article.parish-event-card{padding:18px;gap:16px;border-radius:20px;box-shadow:0 5px 18px #18323808}
.practical-menu .parish-event-card:has(>.parish-event-artwork){grid-template-columns:clamp(78px,24%,112px) minmax(0,1fr)}
.practical-menu .parish-event-artwork{display:block!important;align-self:start;overflow:hidden;border-radius:14px!important;line-height:0;box-shadow:0 4px 12px #102e3420;isolation:isolate;clip-path:inset(0 round 14px)}
.practical-menu .parish-event-artwork>.parish-event-photo{display:block;width:100%;height:auto!important;aspect-ratio:auto;object-fit:cover;border-radius:14px!important;margin:0}
.practical-menu .parish-event-artwork:has(img[hidden]){display:none!important}
.practical-menu .parish-event-copy{gap:6px}
.practical-menu .parish-event-copy time.parish-event-date{font-size:.78rem;line-height:1.45;font-weight:600}
.practical-menu .parish-event-copy .parish-event-hour{display:inline-block;font-size:.9rem;line-height:1.25;letter-spacing:.03em}
.practical-menu .parish-event-copy strong.parish-event-title{font-size:1.2rem;line-height:1.2;margin:2px 0}
.practical-menu .parish-event-copy .parish-event-detail{font-size:.82rem;min-height:32px;box-sizing:border-box}
.practical-menu .event-share{width:100%;margin-top:3px;padding-top:10px;border-top:1px solid color-mix(in srgb,var(--event-tint) 18%,transparent)}
.practical-menu .event-share-actions{display:flex;flex-wrap:wrap;gap:6px;align-items:center}
.practical-menu .event-share-actions .event-share-button{display:inline-flex!important;align-items:center;justify-content:center;box-sizing:border-box;flex:0 0 36px;width:36px;min-width:36px;height:36px;min-height:36px;margin:0;padding:8px;border:1px solid color-mix(in srgb,var(--event-ink) 13%,transparent);border-radius:11px;background:color-mix(in srgb,var(--event-paper) 82%,transparent);color:var(--event-ink);box-shadow:none;text-decoration:none;cursor:pointer;transition:background .15s,transform .15s}
.practical-menu .event-share-button svg{display:block;width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.practical-menu .event-share-button:hover{background:color-mix(in srgb,var(--event-tint) 18%,var(--event-paper));transform:translateY(-1px)}
.practical-menu .event-share-button:focus-visible{outline:2px solid var(--event-ink);outline-offset:3px}
.practical-menu .event-share-status{display:block;font-size:.76rem;line-height:1.35;margin-top:4px}
.practical-menu .event-share-status:empty{display:none}
dialog.practical-overlay-host:has([data-panel-source=events]){width:min(520px,calc(100vw - 24px))!important;max-height:calc(100dvh - 100px);overflow:auto}
@media(max-width:600px){dialog.practical-overlay-host:has([data-panel-source=events]){width:calc(100vw - 20px)!important;max-height:calc(100dvh - 110px)}.practical-menu article.parish-event-card{padding:14px;gap:12px}.practical-menu .parish-event-copy strong.parish-event-title{font-size:1.12rem}.practical-menu .event-share-actions{gap:5px}}
@media(prefers-reduced-motion:reduce){.practical-menu .event-share-button{transition:none}}

html body .practical-menu article.parish-event-card{display:grid!important;grid-template-columns:minmax(0,1fr)!important}html body .practical-menu article.parish-event-card:has(>.parish-event-artwork){grid-template-columns:clamp(78px,24%,112px) minmax(0,1fr)!important}html body .practical-menu .parish-event-artwork{max-width:112px!important;min-width:0!important;width:100%!important}html body .practical-menu .parish-event-photo{max-width:112px!important}html body dialog.practical-overlay-host:has([data-panel-source=events]){width:min(520px,calc(100vw - 24px))!important;max-width:calc(100vw - 24px)!important}

/* Compact agenda. Essential layout uses classes for cross-browser consistency. */
html body .practical-menu article.parish-event-card.has-artwork{grid-template-columns:64px minmax(0,1fr)!important}
html body .practical-menu .parish-event-artwork{width:64px!important;max-width:64px!important;border-radius:10px!important;clip-path:inset(0 round 10px)}
html body .practical-menu .parish-event-artwork>.parish-event-photo{width:64px!important;max-width:64px!important;height:88px!important;object-fit:cover;border-radius:10px!important}
html body .practical-menu article.parish-event-card{padding:12px!important;gap:12px!important;border-radius:16px}
html body .practical-menu .parish-event-copy{gap:4px}
.practical-menu .event-page{display:grid;gap:9px}.practical-menu .event-page[hidden]{display:none!important}
.practical-menu .event-description{font-size:.83rem;line-height:1.4;margin:2px 0}
.practical-menu .event-description summary,.practical-menu .event-share-disclosure>summary{cursor:pointer;font-size:.8rem;font-weight:650}
.practical-menu .event-description p{padding-top:6px}
.practical-menu .event-share-disclosure{width:100%;margin-top:3px}
.practical-menu .event-share-disclosure>summary{display:flex;align-items:center;gap:6px;min-height:32px;list-style:none}
.practical-menu .event-share-disclosure>summary::-webkit-details-marker{display:none}
.practical-menu .event-share-disclosure>summary>svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.7}
.practical-menu .event-pagination{position:sticky;bottom:0;z-index:3;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px;background:var(--pm-light-background,#edf5f4);color:var(--pm-light-color,#20382f);border:1px solid #7893;border-radius:14px;box-shadow:0 -6px 16px #19373d08}
.practical-menu[data-theme=dark] .event-pagination{background:var(--pm-dark-background,#17272d);color:var(--pm-dark-color,#edf5f4)}
.practical-menu .event-pagination button{width:40px;min-height:40px;border-radius:11px;border:1px solid #7895;background:transparent;color:inherit;cursor:pointer}
.practical-menu .event-pagination button:disabled{opacity:.35;cursor:default}
.practical-menu .event-pagination [role=status]{font-size:.85rem;font-variant-numeric:tabular-nums;font-weight:650}
html body dialog.practical-overlay-host:has([data-panel-source=events]){max-height:min(720px,calc(100dvh - 110px))!important}
html body .practical-menu [data-panel-source=events]>.practical-panel-header{position:sticky;top:0;z-index:4;background:inherit}
@media(max-width:600px){html body dialog.practical-overlay-host:has([data-panel-source=events]){left:10px!important;right:10px!important;width:calc(100vw - 20px)!important;margin-inline:0!important;max-height:calc(100dvh - 100px)!important}html body .practical-menu .parish-event-copy strong.parish-event-title{font-size:1rem!important}}

html body .practical-menu .event-card-actions{display:grid;grid-template-columns:max-content minmax(0,1fr);align-items:start;gap:8px;width:100%;margin-top:2px}
html body .practical-menu .event-card-actions>.parish-event-detail{display:inline-flex;align-items:center;gap:4px;min-height:32px;margin:0;padding:0}
html body .practical-menu .event-card-actions>.event-share-disclosure{width:auto;min-width:0;margin:0;justify-self:end}
html body .practical-menu .event-card-actions>.event-share-disclosure>summary{justify-content:flex-end;white-space:nowrap;min-height:32px;margin:0}
html body .practical-menu .event-card-actions .event-share{box-sizing:border-box}

/* Equal controls in the event card */
html body .practical-menu .event-card-actions{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
html body .practical-menu .event-card-actions>.event-share-disclosure{width:100%;justify-self:stretch}
html body .practical-menu .event-card-actions>.parish-event-detail,
html body .practical-menu .event-card-actions>.event-share-disclosure>summary{
 display:flex!important;align-items:center;justify-content:center!important;gap:6px;
 box-sizing:border-box;width:100%;height:36px;min-height:36px;
 margin:0!important;padding:0 9px!important;border:1px solid color-mix(in srgb,var(--event-ink) 22%,transparent);
 border-radius:10px;background:color-mix(in srgb,var(--event-paper) 85%,transparent);color:var(--event-ink);
 font-family:inherit!important;font-size:.8rem!important;font-weight:650!important;line-height:1!important;
 letter-spacing:0!important;text-decoration:none!important;white-space:nowrap
}
html body .practical-menu .event-card-actions>.parish-event-detail:hover,
html body .practical-menu .event-card-actions>.event-share-disclosure>summary:hover{background:color-mix(in srgb,var(--event-tint) 12%,var(--event-paper))}
html body .appointment-count{
 display:inline-flex!important;align-items:center!important;justify-content:center!important;
 box-sizing:border-box!important;position:static!important;flex:0 0 auto!important;
 min-width:22px!important;width:auto!important;height:22px!important;min-height:22px!important;
 padding:0 6px!important;margin:0 0 0 5px!important;border:0!important;border-radius:999px!important;
 background:#a1263b!important;color:#fff!important;opacity:1!important;
 font:700 12px/1 system-ui,sans-serif!important;letter-spacing:0!important;text-shadow:none!important;
 vertical-align:middle!important;transform:none!important;box-shadow:none!important;
 font-variant-numeric:tabular-nums
}
/* The imported parish mark is an identity image, with a bounded display size. */
html body .avvisi-web-figure:has(>img[alt="Logo della Parrocchia SS. Redentore"]){
 width:88px!important;max-width:88px!important;margin:16px auto!important;padding:0!important;background:transparent!important
}
html body .avvisi-web-figure>img[alt="Logo della Parrocchia SS. Redentore"]{
 display:block!important;width:88px!important;max-width:88px!important;height:88px!important;max-height:88px!important;
 object-fit:contain!important;margin:0 auto!important;border-radius:12px
}
html body .avvisi-web-module:has(>.avvisi-web-figure>img[alt="Logo della Parrocchia SS. Redentore"]){padding-block:8px!important}

html:root body .practical-menu .practical-triggers button[data-practical-source=events] span.appointment-count,
html:root body .site-header span.appointment-count,
html:root body [data-link=calendar] span.appointment-count{
 color:#fff!important;-webkit-text-fill-color:#fff!important;background:#a1263b!important
}

html body .avvisi-web-liturgical-header.has-parish-mark{position:relative;padding-inline-end:132px!important;min-height:124px;box-sizing:border-box}
html body .avvisi-web-liturgical-header>.avvisi-header-mark{position:absolute;inset-inline-end:22px;top:50%;transform:translateY(-50%);display:block;width:88px!important;height:88px!important;object-fit:contain;background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important}
@media(max-width:600px){html body .avvisi-web-liturgical-header.has-parish-mark{padding-inline-end:96px!important;min-height:108px}html body .avvisi-web-liturgical-header>.avvisi-header-mark{width:64px!important;height:64px!important;inset-inline-end:16px}}


/* The text sets the row height. The image fills that row without pushing the footer down. */
html body .practical-menu article.parish-event-card.has-artwork {
  grid-template-columns: clamp(72px, 26%, 108px) minmax(0, 1fr) !important;
}
html body .practical-menu .parish-event-card > .parish-event-artwork {
  position: relative;
  align-self: stretch;
  width: 100% !important;
  max-width: none !important;
  grid-column: 1;
  grid-row: 1;
}
html body .practical-menu .parish-event-artwork > img.parish-event-photo {
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none;
  object-fit: cover;
}
html body .practical-menu article.parish-event-card > .parish-event-copy {
  grid-column: 1 / -1;
  grid-row: 1;
  min-width: 0;
  align-self: start;
}
html body .practical-menu article.parish-event-card.has-artwork > .parish-event-copy { grid-column: 2; }
html body .practical-menu article.parish-event-card:has(> .parish-event-artwork img[hidden]) {
  grid-template-columns: minmax(0, 1fr) !important;
}
html body .practical-menu article.parish-event-card:has(> .parish-event-artwork img[hidden]) > .parish-event-copy { grid-column: 1; }
html body .practical-menu article.parish-event-card > .event-card-actions { grid-column: 1 / -1; margin: 0; }
html body .practical-menu .parish-event-copy > :last-child { margin-bottom: 0; }
