/*
============================================================
 PARROCCHIA DI SANT'AGABIO - FOGLIO STILE PRINCIPALE
============================================================
 INDICE DEGLI OGGETTI
 01. Variabili e impostazioni generali
 02. Header e barra superiore
 03. Menu di navigazione
 04. Hero
 05. Accessi rapidi
 06. Sezioni e titoli
 07. Card
 08. Benvenuto
 09. Chiesa diocesana
 10. Settimana religiosa
 11. Footer
 12. Bandiere / lingue
 13. Area riservata
 14. Aspetto avanzato
 15. Responsive
============================================================
*/

@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500;1,600;1,700&display=swap");


:root {
  --background: #fbfaf6;
  --background-soft: #f3efe7;
  --white: #ffffff;
  --text: #4a4843;
  --muted: #77736b;
  --heading: #67715f;
  --bronze: #a67c52;
  --bronze-dark: #8d6542;
  --sand: #cfc4b0;
  --border: #ddd5c8;
  --shadow: 0 18px 40px rgba(80, 72, 60, 0.11);
  --title-font: "Cormorant Garamond", Georgia, serif;
  --body-font: "Cormorant Garamond", Georgia, serif;
  --container: 1180px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--background);
  font-family: var(--body-font);
  font-size: 1rem;
  line-height: 1.75;
}

body.menu-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
summary {
  font: inherit;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--heading);
  font-family: var(--title-font);
  font-weight: 700;
  line-height: 1.08;
}

h2 {
  font-size: clamp(2.6rem, 5vw, 4.7rem);
}

p {
  margin-top: 0;
}

.container {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}

.section {
  padding: 105px 0;
}

.section-soft {
  background: var(--background-soft);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.skip-link {
  position: fixed;
  top: -80px;
  left: 20px;
  z-index: 9999;
  padding: 10px 16px;
  color: var(--white);
  background: var(--heading);
}

.skip-link:focus {
  top: 0;
}

.eyebrow {
  margin-bottom: 14px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.eyebrow::after {
  display: block;
  width: 42px;
  height: 1px;
  margin-top: 10px;
  content: "";
  background: currentColor;
}

.eyebrow.dark {
  color: var(--bronze);
}

.section-heading {
  max-width: 780px;
  margin-bottom: 50px;
}

.section-heading > p:last-child {
  margin-top: 17px;
  color: var(--muted);
}

.section-heading-row {
  display: flex;
  max-width: none;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 11px 22px;
  border: 1px solid transparent;
  font-size: 0.88rem;
  font-weight: 700;
  transition: 0.25s ease;
}

.button-primary {
  color: var(--white);
  background: var(--bronze);
  border-color: var(--bronze);
}

.button-primary:hover,
.button-primary:focus {
  background: var(--bronze-dark);
  border-color: var(--bronze-dark);
}

.button-light {
  color: var(--heading);
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(255, 255, 255, 0.9);
}

.button-light:hover,
.button-light:focus {
  background: var(--white);
}

.text-link {
  display: inline-block;
  padding-bottom: 3px;
  color: var(--heading);
  border-bottom: 1px solid var(--bronze);
  font-weight: 700;
}


/* HEADER */


/* ===== OGGETTO: HEADER E BARRA SUPERIORE ===== */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
  background: rgba(251, 250, 246, 0.94);
  border-bottom: 1px solid rgba(221, 213, 200, 0.82);
  backdrop-filter: blur(12px);
}

.header-inner {
  display: flex;
  min-height: 82px;
  align-items: center;
  justify-content: space-between;
  gap: 35px;
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
}

.brand-mark {
  position: relative;
  display: block;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  background: var(--background-soft);
  border: 1px solid var(--border);
  border-radius: 50%;
}

.cross-vertical,
.cross-horizontal {
  position: absolute;
  display: block;
  background: var(--bronze);
}

.cross-vertical {
  top: 10px;
  bottom: 10px;
  left: 50%;
  width: 2px;
  transform: translateX(-50%);
}

.cross-horizontal {
  top: 18px;
  right: 11px;
  left: 11px;
  height: 2px;
}

.brand-copy {
  display: flex;
  flex-direction: column;
}

.brand-copy strong {
  color: var(--heading);
  font-family: var(--title-font);
  font-size: 1.18rem;
  line-height: 1;
}

.brand-copy small {
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}


/* ===== OGGETTO: MENU DI NAVIGAZIONE ===== */
.main-nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

.main-nav > a,
.main-nav summary {
  color: var(--text);
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 600;
  list-style: none;
}

.main-nav summary::-webkit-details-marker {
  display: none;
}

.main-nav > a:hover,
.main-nav summary:hover,
.main-nav > a.active {
  color: var(--bronze);
}

.main-nav details {
  position: relative;
}

.submenu {
  position: absolute;
  top: calc(100% + 17px);
  left: 50%;
  display: grid;
  min-width: 230px;
  padding: 12px;
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  transform: translateX(-50%);
}

.submenu a {
  padding: 9px 10px;
  color: var(--text);
  font-size: 0.82rem;
}

.submenu a:hover {
  color: var(--bronze);
  background: var(--background-soft);
}

.nav-button {
  padding: 9px 16px;
  color: var(--white) !important;
  background: var(--bronze);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 9px;
  background: transparent;
  border: 1px solid var(--border);
}

.menu-toggle span:not(.sr-only) {
  display: block;
  width: 100%;
  height: 2px;
  margin: 4px 0;
  background: var(--heading);
}


/* HERO */


/* ===== OGGETTO: HERO ===== */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  padding-top: 82px;
}

.hero-image {
  position: absolute;
  inset: 82px 0 0;
  background:
    linear-gradient(rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.06)),
    url("../img/hero/chiesa.jpg") center / cover no-repeat;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-panel {
  max-width: 680px;
  padding: 48px 52px;
  background: rgba(251, 250, 246, 0.89);
  border: 1px solid rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow);
  backdrop-filter: blur(8px);
}

.hero-panel .eyebrow {
  color: var(--bronze);
}

.hero h1 {
  margin-bottom: 22px;
  font-size: clamp(4rem, 8vw, 7rem);
  letter-spacing: -0.025em;
}

.hero blockquote {
  margin: 0 0 9px;
  color: var(--text);
  font-family: var(--title-font);
  font-size: clamp(1.35rem, 2.2vw, 1.9rem);
  font-style: italic;
  line-height: 1.4;
}

.verse-reference {
  margin-bottom: 28px;
  color: var(--bronze);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}


/* BENVENUTO */

.split-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  align-items: center;
  gap: 70px;
}

.large-photo {
  margin: 0;
  padding: 12px;
  background: var(--background-soft);
  border: 1px solid var(--border);
}

.large-photo img {
  width: 100%;
  min-height: 560px;
  object-fit: cover;
}

.section-copy .lead {
  color: var(--heading);
  font-size: 1.1rem;
  font-weight: 600;
}

.section-copy p {
  color: var(--muted);
}

.signature {
  margin: 25px 0;
  color: var(--bronze) !important;
  font-family: var(--title-font);
  font-size: 1.25rem;
  font-style: italic;
}


.life-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.life-card {
  position: relative;
  min-height: 450px;
  overflow: hidden;
}

.life-card img {
  width: 100%;
  height: 100%;
  min-height: 450px;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.life-card:hover img {
  transform: scale(1.035);
}

.life-card-overlay,
.places-feature-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    0deg,
    rgba(45, 49, 43, 0.78) 0%,
    rgba(45, 49, 43, 0.13) 68%
  );
}

.life-card-copy {
  position: absolute;
  right: 30px;
  bottom: 28px;
  left: 30px;
  display: flex;
  flex-direction: column;
  color: var(--white);
}

.life-card-copy small,
.places-feature-copy small {
  color: #efe0c8;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.life-card-copy strong,
.places-feature-copy strong {
  margin: 3px 0 7px;
  font-family: var(--title-font);
  font-size: 2.5rem;
  line-height: 1;
}

.life-card-copy em,
.places-feature-copy em {
  max-width: 480px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.88rem;
  font-style: normal;
}


/* SETTIMANA RELIGIOSA */

.weekly-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.55fr);
  align-items: center;
  gap: 80px;
}

.weekly-copy p {
  color: var(--muted);
}

.weekly-cover {
  margin: 0;
  padding: 12px;
  background: var(--background-soft);
  border: 1px solid var(--border);
}

.weekly-cover img {
  width: 100%;
  min-height: 420px;
  object-fit: cover;
}


.places-feature {
  position: relative;
  display: block;
  min-height: 540px;
  overflow: hidden;
}

.places-feature img {
  width: 100%;
  height: 100%;
  min-height: 540px;
  object-fit: cover;
}

.places-feature-copy {
  position: absolute;
  right: 34px;
  bottom: 32px;
  left: 34px;
  display: flex;
  flex-direction: column;
  color: var(--white);
}

.places-feature-copy strong {
  font-size: 3rem;
}

.places-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  margin-top: 16px;
}

.places-list a {
  background: var(--white);
  border: 1px solid var(--border);
}

.places-list img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.places-list span {
  display: flex;
  min-height: 105px;
  flex-direction: column;
  padding: 16px;
}

.places-list strong {
  color: var(--heading);
  font-family: var(--title-font);
  font-size: 1.25rem;
  line-height: 1.1;
}

.places-list small {
  margin-top: 5px;
  color: var(--bronze);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}


.news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 34px;
}

.news-item img {
  width: 100%;
  height: 280px;
  object-fit: cover;
}

.news-item > div {
  padding-top: 18px;
}

.news-item small {
  color: var(--bronze);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.news-item h3 {
  margin: 7px 0 10px;
  font-size: 1.75rem;
}

.news-item p {
  color: var(--muted);
  font-size: 0.9rem;
}


.story-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  align-items: center;
  gap: 75px;
}

.story-layout figure {
  margin: 0;
}

.story-layout img {
  width: 100%;
  min-height: 520px;
  object-fit: cover;
}

.story-layout p {
  color: var(--muted);
}

.story-reverse figure {
  order: 2;
}

.story-reverse > div {
  order: 1;
}


/* FOOTER */


/* ===== OGGETTO: FOOTER ===== */
.site-footer {
  color: var(--text);
  background: var(--white);
  border-top: 4px solid var(--bronze);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.75fr 0.75fr 1.15fr;
  gap: 55px;
  padding-top: 75px;
  padding-bottom: 55px;
}

.footer-brand {
  margin-bottom: 20px;
}

.footer-about p {
  color: var(--muted);
}

.footer-about blockquote {
  margin: 23px 0 0;
  padding-left: 16px;
  color: var(--heading);
  border-left: 2px solid var(--bronze);
  font-family: var(--title-font);
  font-size: 1.05rem;
  font-style: italic;
}

.footer-about cite {
  display: block;
  margin-top: 6px;
  color: var(--bronze);
  font-family: var(--body-font);
  font-size: 0.62rem;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-grid h2 {
  margin-bottom: 18px;
  font-family: var(--body-font);
  font-size: 0.75rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.footer-grid > div:not(.footer-about) > a {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 0.86rem;
}

.footer-grid address {
  display: grid;
  gap: 10px;
  font-style: normal;
}

.footer-grid address a {
  color: var(--muted);
  font-size: 0.86rem;
}

.footer-social {
  display: flex;
  gap: 15px;
  margin-top: 18px;
}

.footer-social a {
  color: var(--bronze);
  font-size: 0.8rem;
  font-weight: 700;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 19px;
  padding-bottom: 19px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.72rem;
}

.footer-bottom div {
  display: flex;
  gap: 16px;
}

.back-to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 999;
  width: 44px;
  height: 44px;
  color: var(--white);
  background: var(--bronze);
  border: 0;
  opacity: 0;
  visibility: hidden;
  transition: 0.25s ease;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}


/* RESPONSIVE */

@media (max-width: 1100px) {
  .main-nav {
    gap: 14px;
  }

  .places-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .footer-grid {
    grid-template-columns: 1.3fr 0.8fr 0.8fr;
  }

  .footer-grid > div:last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 900px) {
  .menu-toggle {
    display: block;
  }

  .main-nav {
    position: fixed;
    top: 82px;
    right: 0;
    bottom: 0;
    left: 0;
    display: none;
    overflow-y: auto;
    align-items: stretch;
    flex-direction: column;
    gap: 0;
    padding: 24px;
    background: var(--background);
    border-top: 1px solid var(--border);
  }

  .main-nav.open {
    display: flex;
  }

  .main-nav > a,
  .main-nav summary {
    display: block;
    padding: 13px 0;
    border-bottom: 1px solid var(--border);
    font-size: 0.94rem;
  }

  .main-nav details {
    width: 100%;
  }

  .submenu {
    position: static;
    min-width: 0;
    padding: 0 0 8px 16px;
    background: transparent;
    border: 0;
    box-shadow: none;
    transform: none;
  }

  .submenu a {
    padding: 8px 0;
  }

  .nav-button {
    margin-top: 18px;
    text-align: center;
  }

  .split-layout,
  .weekly-layout,
  .story-layout {
    grid-template-columns: 1fr;
    gap: 45px;
  }

  .story-reverse figure,
  .story-reverse > div {
    order: initial;
  }

  .life-card,
  .life-card img {
    min-height: 390px;
  }

  .news-grid {
    gap: 22px;
  }
}

@media (max-width: 720px) {
  .section {
    padding: 78px 0;
  }

  .container {
    width: min(calc(100% - 28px), var(--container));
  }

  .hero {
    min-height: 820px;
  }

  .hero-panel {
    padding: 36px 28px;
  }

  .hero h1 {
    font-size: clamp(3.8rem, 17vw, 5.5rem);
  }

  .life-grid,
  .news-grid {
    grid-template-columns: 1fr;
  }

  .section-heading-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .places-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .large-photo img,
  .weekly-cover img,
  .story-layout img {
    min-height: 380px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-about,
  .footer-grid > div:last-child {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .header-inner {
    min-height: 74px;
  }

  .brand-copy strong {
    font-size: 1rem;
  }

  .brand-mark {
    width: 40px;
    height: 40px;
    flex-basis: 40px;
  }

  .hero {
    padding-top: 74px;
  }

  .hero-image {
    inset: 74px 0 0;
  }

  .hero-actions {
    display: grid;
  }

  .hero-actions .button {
    width: 100%;
  }

  .life-card,
  .life-card img {
    min-height: 340px;
  }

  .places-feature,
  .places-feature img {
    min-height: 390px;
  }

  .places-list {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-about,
  .footer-grid > div:last-child {
    grid-column: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition: none !important;
  }
}


.page-hero{position:relative;min-height:560px;display:flex;align-items:end;padding-top:82px;background:url("../img/parrocchia/parrocchia-hero.jpg") center/cover no-repeat}
.page-hero:after{position:absolute;inset:82px 0 0;content:"";background:linear-gradient(0deg,rgba(65,67,60,.5),rgba(65,67,60,.05) 65%)}
.page-hero-content{position:relative;z-index:1;width:100%;padding-bottom:65px}
.page-hero-panel{max-width:700px;padding:34px 38px;background:rgba(251,250,246,.91);border:1px solid rgba(255,255,255,.8);box-shadow:var(--shadow)}
.page-hero h1{margin-bottom:12px;font-size:clamp(3.6rem,7vw,6rem)}
.page-hero-panel>p:last-child{margin-bottom:0;color:var(--muted)}
.breadcrumbs{display:flex;gap:8px;margin-bottom:15px;color:var(--bronze);font-size:.7rem;font-weight:700;letter-spacing:.1em;text-transform:uppercase}
.breadcrumbs span{color:var(--muted)}
.parish-grid{display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:70px}
.parish-grid figure{margin:0;padding:12px;background:var(--background-soft);border:1px solid var(--border)}
.parish-grid img{width:100%;min-height:500px;object-fit:cover}
.parish-grid p{color:var(--muted)}
.parish-grid .lead{color:var(--heading);font-size:1.1rem;font-weight:600}
.pillars{background:var(--background-soft);border-block:1px solid var(--border)}
.pillars-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
.pillar{padding:30px;background:var(--white);border:1px solid var(--border)}
.pillar small,.parish-card small{color:var(--bronze);font-size:.64rem;font-weight:700;letter-spacing:.12em;text-transform:uppercase}
.pillar h3{margin:8px 0 12px;font-size:2rem}
.pillar p{color:var(--muted);font-size:.9rem}
.parish-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
.parish-card{display:block;background:var(--background);border:1px solid var(--border)}
.parish-card img{width:100%;height:320px;object-fit:cover}
.parish-card span{display:flex;min-height:175px;flex-direction:column;padding:22px}
.parish-card strong{margin:5px 0 8px;color:var(--heading);font-family:var(--title-font);font-size:1.9rem;line-height:1.05}
.parish-card em{color:var(--muted);font-size:.86rem;font-style:normal}
.history{background:var(--background-soft);border-block:1px solid var(--border)}
.cta-box{display:grid;grid-template-columns:1fr auto;align-items:center;gap:40px;padding:44px 48px;background:var(--background-soft);border-top:3px solid var(--bronze)}
.cta-box p{margin-bottom:0;color:var(--muted)}
@media(max-width:900px){.parish-grid,.pillars-grid,.parish-cards,.cta-box{grid-template-columns:1fr}.parish-grid{gap:45px}}
@media(max-width:480px){.page-hero{min-height:500px;padding-top:74px}.page-hero:after{inset:74px 0 0}.page-hero-panel{padding:28px 24px}.parish-grid img{min-height:350px}}


.priests-hero {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: end;
  padding-top: 82px;
  background:
    linear-gradient(rgba(255,255,255,.08), rgba(255,255,255,.08)),
    url("../img/sacerdoti/sacerdoti-hero.jpg") center / cover no-repeat;
}

.priests-hero::after {
  position: absolute;
  inset: 82px 0 0;
  content: "";
  background: linear-gradient(0deg, rgba(67,68,61,.5), rgba(67,68,61,.04) 65%);
}

.priests-hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
  padding-bottom: 65px;
}

.priests-hero-panel {
  max-width: 700px;
  padding: 34px 38px;
  background: rgba(251,250,246,.92);
  border: 1px solid rgba(255,255,255,.8);
  box-shadow: var(--shadow);
}

.priests-hero h1 {
  margin-bottom: 12px;
  font-size: clamp(3.6rem, 7vw, 6rem);
}

.priests-hero-panel > p:last-child {
  margin-bottom: 0;
  color: var(--muted);
}

.priests-intro {
  max-width: 780px;
}

.priests-intro p {
  color: var(--muted);
}

.priests-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 26px;
  margin-top: 50px;
}

.priest-card {
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--border);
}

.priest-card figure {
  margin: 0;
}

.priest-card img {
  width: 100%;
  height: 390px;
  object-fit: cover;
  object-position: center top;
}

.priest-card-body {
  padding: 27px;
}

.priest-card small {
  color: var(--bronze);
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.priest-card h2 {
  margin: 7px 0 8px;
  font-size: 2.15rem;
}

.priest-role {
  margin-bottom: 18px;
  color: var(--heading);
  font-weight: 700;
}

.priest-card p {
  color: var(--muted);
  font-size: .9rem;
}

.priest-contacts {
  display: grid;
  gap: 8px;
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
}

.priest-contacts a,
.priest-contacts span {
  color: var(--muted);
  font-size: .84rem;
}

.priest-contacts a:hover {
  color: var(--bronze);
}

.priests-service {
  background: var(--background-soft);
  border-block: 1px solid var(--border);
}

.priests-service-grid {
  display: grid;
  grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr);
  align-items: center;
  gap: 70px;
}

.priests-service figure {
  margin: 0;
}

.priests-service img {
  width: 100%;
  min-height: 500px;
  object-fit: cover;
}

.priests-service p {
  color: var(--muted);
}

.priests-availability {
  background: var(--white);
}

.availability-box {
  display: grid;
  grid-template-columns: minmax(0,1fr) auto;
  align-items: center;
  gap: 40px;
  padding: 45px 48px;
  background: var(--background-soft);
  border-top: 3px solid var(--bronze);
}

.availability-box p {
  margin-bottom: 0;
  color: var(--muted);
}

@media (max-width: 950px) {
  .priests-grid {
    grid-template-columns: 1fr;
  }

  .priest-card {
    display: grid;
    grid-template-columns: minmax(260px,.8fr) minmax(0,1.2fr);
  }

  .priest-card img {
    height: 100%;
    min-height: 360px;
  }

  .priests-service-grid {
    grid-template-columns: 1fr;
    gap: 45px;
  }
}

@media (max-width: 700px) {
  .priest-card {
    display: block;
  }

  .priest-card img {
    height: 370px;
  }

  .availability-box {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .priests-hero {
    min-height: 500px;
    padding-top: 74px;
  }

  .priests-hero::after {
    inset: 74px 0 0;
  }

  .priests-hero-panel {
    padding: 28px 24px;
  }
}


.simple-page-nav{display:flex;gap:18px;align-items:center}.simple-page-nav a{font-size:.85rem;font-weight:700}.form-page-hero{padding:170px 0 80px;background:var(--background-soft);border-bottom:1px solid var(--border)}.form-page-hero h1{font-size:clamp(3.2rem,7vw,5.7rem)}.form-page-hero p{max-width:780px;color:var(--muted)}.form-page-grid{display:grid;grid-template-columns:minmax(0,.72fr) minmax(0,1.28fr);gap:60px;align-items:start}.form-intro{position:sticky;top:110px}.form-intro p{color:var(--muted)}.public-form-card{padding:34px;background:var(--white);border:1px solid var(--border);box-shadow:var(--shadow)}.public-form{display:grid;gap:18px}.public-form label{display:grid;gap:7px;color:var(--heading);font-weight:700}.public-form input,.public-form select,.public-form textarea{width:100%;padding:12px;border:1px solid var(--border);background:var(--background);font:inherit}.form-two{display:grid;grid-template-columns:1fr 1fr;gap:18px}.privacy-check{grid-template-columns:auto 1fr!important;align-items:start;font-size:.86rem}.privacy-check input{width:auto;margin-top:4px}.hp-field{position:absolute;left:-10000px}.form-success{padding:25px;background:var(--background-soft);border-left:3px solid var(--bronze)}.gallery-albums{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}.gallery-album{display:grid;grid-template-columns:.9fr 1.1fr;overflow:hidden;background:var(--background-soft);border:1px solid var(--border)}.gallery-album img{width:100%;height:100%;min-height:300px;object-fit:cover}.gallery-album div{padding:28px}.gallery-album small{color:var(--bronze);text-transform:uppercase;letter-spacing:.1em;font-weight:700}.gallery-album h2{margin:8px 0 12px;font-size:2rem}.gallery-album p{color:var(--muted)}@media(max-width:850px){.form-page-grid,.gallery-albums{grid-template-columns:1fr}.form-intro{position:static}.gallery-album{grid-template-columns:1fr}.simple-page-nav{display:none}}@media(max-width:560px){.form-two{grid-template-columns:1fr}.public-form-card{padding:24px}}


/* MENU MOBILE */


body.menu-open {
  overflow: hidden;
  touch-action: none;
}

.menu-toggle {
  position: relative;
  z-index: 1102;
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.menu-toggle span:not(.sr-only) {
  transition:
    transform .22s ease,
    opacity .22s ease;
  transform-origin: center;
}

.menu-toggle.active span:not(.sr-only):nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.menu-toggle.active span:not(.sr-only):nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:not(.sr-only):nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

@media (max-width: 900px) {
  .site-header {
    z-index: 1100;
  }

  .header-inner {
    position: relative;
  }

  .menu-toggle {
    display: block !important;
    flex: 0 0 44px;
  }

  .main-nav {
    position: fixed !important;
    z-index: 1101;
    top: 82px;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex !important;
    overflow-x: hidden;
    overflow-y: auto;
    align-items: stretch;
    flex-direction: column;
    gap: 0;
    padding: 20px 24px 40px;
    background: var(--background);
    border-top: 1px solid var(--border);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateX(100%);
    transition:
      transform .25s ease,
      opacity .2s ease,
      visibility .2s ease;
    -webkit-overflow-scrolling: touch;
  }

  .main-nav.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(0);
  }

  .main-nav > a,
  .main-nav summary {
    width: 100%;
    min-height: 48px;
    display: flex;
    align-items: center;
  }

  .main-nav summary {
    justify-content: space-between;
  }

  .main-nav summary::after {
    content: "+";
    color: var(--bronze);
    font-size: 1.25rem;
    font-weight: 400;
  }

  .main-nav details[open] summary::after {
    content: "−";
  }

  .submenu {
    display: grid;
    width: 100%;
  }
}

@media (max-width: 480px) {
  .main-nav {
    top: 74px;
  }

  .brand-copy {
    max-width: calc(100vw - 125px);
  }

  .brand-copy strong {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
}


/* MENU MOBILE */


body.menu-open {
  overflow: hidden;
  touch-action: auto;
}

@media (max-width: 900px) {
  .site-header {
    overflow: visible;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .header-inner {
    position: static;
  }

  .main-nav {
    position: absolute !important;
    top: 100% !important;
    right: 0 !important;
    bottom: auto !important;
    left: 0 !important;
    width: 100vw;
    height: calc(100dvh - 82px);
    max-height: calc(100dvh - 82px);
    min-height: 0;
    padding: 14px 24px 38px;
    overflow-x: hidden;
    overflow-y: auto !important;
    overscroll-behavior: contain;
    touch-action: pan-y;
    background: var(--background);
  }

  .main-nav > * {
    display: block !important;
    width: 100% !important;
    flex: 0 0 auto !important;
    opacity: 1;
    visibility: visible;
  }

  .main-nav > a,
  .main-nav > details > summary {
    box-sizing: border-box;
    display: flex !important;
    width: 100%;
    min-height: 52px;
    padding: 13px 0;
    align-items: center;
    color: var(--text) !important;
    border-bottom: 1px solid var(--border);
  }

  .main-nav > a.nav-button {
    width: 100% !important;
    min-height: 48px;
    margin-top: 16px;
    padding: 12px 16px;
    justify-content: center;
    color: var(--white) !important;
  }

  .main-nav details {
    position: static !important;
    height: auto !important;
    min-height: 52px;
    overflow: visible !important;
  }

  .main-nav details > summary {
    list-style: none;
  }

  .main-nav details > summary::-webkit-details-marker {
    display: none;
  }

  .main-nav .submenu {
    position: static !important;
    display: none !important;
    width: 100%;
    min-width: 0;
    padding: 4px 0 10px 18px;
    background: transparent;
    border: 0;
    box-shadow: none;
    transform: none !important;
  }

  .main-nav details[open] > .submenu {
    display: grid !important;
  }

  .main-nav .submenu a {
    display: block !important;
    width: 100%;
    padding: 11px 0;
    color: var(--muted);
    border-bottom: 1px solid rgba(221, 213, 200, .55);
  }

  .main-nav .submenu a:last-child {
    border-bottom: 0;
  }
}

@media (max-width: 480px) {
  .main-nav {
    height: calc(100dvh - 74px);
    max-height: calc(100dvh - 74px);
    padding-inline: 20px;
  }
}


.cms-public-page .cms-content{max-width:900px}.cms-content{font-size:1rem;line-height:1.8}.cms-content h2,.cms-content h3{margin-top:1.5em}.cms-content img{max-width:100%;height:auto}.editor-toolbar{display:flex;flex-wrap:wrap;gap:6px;padding:8px;background:var(--background-soft);border:1px solid var(--border);border-bottom:0}.editor-toolbar button{padding:7px 10px;background:var(--white);border:1px solid var(--border);cursor:pointer}.visual-editor{min-height:320px;padding:18px;background:var(--white);border:1px solid var(--border);line-height:1.7}.visual-editor:focus{outline:3px solid var(--bronze);outline-offset:2px}.link-button{padding:0;color:var(--bronze);background:none;border:0;cursor:pointer;font:inherit;text-decoration:underline}


.language-switcher{display:flex;align-items:center;margin-left:8px}.language-switcher select{min-width:66px;padding:8px 26px 8px 10px;border:1px solid var(--border);background:var(--white);color:#000;font:inherit;font-size:.78rem;font-weight:700;cursor:pointer}.language-switcher select:focus{outline:3px solid var(--bronze);outline-offset:2px}@media(max-width:900px){.language-switcher{width:100%;margin:12px 0}.language-switcher select{width:100%;min-height:46px}}


.language-switcher select{
  min-width:96px;
  padding-left:12px;
  font-family:var(--body-font);
}
@media(max-width:900px){
  .language-switcher select{min-width:100%;font-size:.9rem;}
}

.admin-check{display:flex;align-items:flex-start;gap:10px;color:var(--heading);font-weight:700}.admin-check input{width:auto;margin-top:4px}


html,body,button,input,select,textarea,summary,table,th,td,label,small,.main-nav,.site-footer,.admin-body,.admin-shell{
  font-family:var(--body-font) !important;
}
body{font-size:1.08rem;line-height:1.72;}
button,input,select,textarea{font-size:1rem;}
.main-nav,.site-footer,.admin-nav,.admin-topbar{letter-spacing:.01em;}


.upm-home-grid{
  display:grid;
  grid-template-columns:minmax(0,.92fr) minmax(0,1.08fr);
  gap:64px;
  align-items:center;
}
.upm-home-image{
  margin:0;
  padding:12px;
  background:var(--white);
  border:1px solid var(--border);
  box-shadow:var(--shadow);
}
.upm-home-image img{
  display:block;
  width:100%;
  min-height:390px;
  object-fit:cover;
}
.upm-home-copy p:not(.eyebrow){color:var(--muted);font-size:1.05rem;line-height:1.75}
.upm-home-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:25px}
@media(max-width:900px){
  .upm-home-grid{grid-template-columns:1fr;gap:38px}
  .upm-home-image img{min-height:300px}
}
@media(max-width:520px){
  .upm-home-actions{display:grid}
  .upm-home-actions .button{width:100%;justify-content:center}
}


a:not(.btn):not(.button):not(.nav-button):not(.brand):not(.footer-brand):not(.logo-link) {
  color: #8d6542;
  font-weight: 700;
}

a:not(.btn):not(.button):not(.nav-button):not(.brand):not(.footer-brand):not(.logo-link):hover,
a:not(.btn):not(.button):not(.nav-button):not(.brand):not(.footer-brand):not(.logo-link):focus-visible {
  color: #6f4d31;
  text-decoration: underline;
}


.main-nav > a,
.main-nav summary,
.main-nav .submenu a,
.language-switcher a,
.lang-switcher a,
.lang-menu a {
  color: #000000 !important;
  font-weight: 700;
}


.button,
.button *,
.btn,
.btn *,
.nav-button,
.nav-button * {
  color: #ffffff !important;
}


/* FOOTER */

.site-footer {
  color: #000000 !important;
}

.site-footer h2,
.site-footer p,
.site-footer blockquote,
.site-footer cite,
.site-footer address,
.site-footer address span,
.site-footer .footer-bottom,
.site-footer .footer-bottom span,
.site-footer .brand-copy strong,
.site-footer .brand-copy small {
  color: #000000 !important;
}

.site-footer a:not(.button):not(.btn):not(.footer-brand) {
  color: #8d6542 !important;
  font-weight: 700 !important;
}

.site-footer a:not(.button):not(.btn):not(.footer-brand):hover,
.site-footer a:not(.button):not(.btn):not(.footer-brand):focus-visible {
  color: #6f4d31 !important;
  text-decoration: underline;
}


/* FOOTER */

.site-footer .footer-brand,
.site-footer .footer-brand * {
  color: #000000 !important;
}


/* HERO */

.hero-title-with-image{display:flex;align-items:center;justify-content:center;gap:1.5rem;margin-bottom:1rem}
.hero-title-with-image h1{margin:0}
.hero-saint-image{width:clamp(120px,12vw,180px);aspect-ratio:1.45/1;object-fit:cover;object-position:50% 38%;border-radius:18px;border:2px solid rgba(255,255,255,.92);box-shadow:0 10px 28px rgba(0,0,0,.28);flex:0 0 auto}
@media(max-width:767.98px){.hero-title-with-image{flex-direction:column;gap:.9rem}.hero-saint-image{width:130px;border-radius:15px}.hero-title-with-image h1{text-align:center}}


/* HERO */

.hero-title-with-image{
  display:flex !important;
  flex-direction:column !important;
  align-items:center !important;
  justify-content:center !important;
  gap:1rem !important;
  margin-bottom:1rem;
  text-align:center;
}
.hero-title-with-image h1{
  margin:0 !important;
  text-align:center;
}
.hero-saint-image{
  display:block;
  width:clamp(210px,28vw,360px) !important;
  height:auto !important;
  aspect-ratio:1366/536;
  object-fit:cover;
  object-position:center;
  border-radius:20px;
  border:2px solid rgba(255,255,255,.92);
  box-shadow:0 10px 28px rgba(0,0,0,.28);
}
@media(max-width:767.98px){
  .hero-title-with-image{gap:.8rem !important;}
  .hero-saint-image{
    width:min(82vw,310px) !important;
    border-radius:16px;
  }
}


/* HERO */

.hero-title-with-image{
  width:100%;
  max-width:none !important;
  display:flex !important;
  flex-direction:column !important;
  align-items:center !important;
  justify-content:center !important;
  gap:1rem !important;
  text-align:center;
}

.hero-title-with-image .hero-saint-image{
  display:block;
  width:100vw !important;
  max-width:none !important;
  height:clamp(230px,34vw,500px) !important;
  margin-left:calc(50% - 50vw);
  margin-right:calc(50% - 50vw);
  object-fit:cover !important;
  object-position:center center !important;
  border-radius:0 !important;
  border:0 !important;
  box-shadow:none !important;
}

.hero-title-with-image h1{
  width:100%;
  margin:0 auto !important;
  text-align:center !important;
}

@media(max-width:767.98px){
  .hero-title-with-image .hero-saint-image{
    width:100vw !important;
    height:clamp(190px,48vw,300px) !important;
    margin-left:calc(50% - 50vw);
    margin-right:calc(50% - 50vw);
  }
}


/* HERO */

.hero .hero-content,
.hero .hero-panel{
  width:100% !important;
  max-width:none !important;
}

.hero .hero-panel{
  padding-left:0 !important;
  padding-right:0 !important;
}

.hero-title-with-image{
  width:100vw !important;
  max-width:none !important;
  margin-left:calc(50% - 50vw) !important;
  margin-right:calc(50% - 50vw) !important;
}

.hero-title-with-image h1{
  box-sizing:border-box;
  width:100vw !important;
  max-width:none !important;
  margin:0 !important;
  padding:1.25rem 1.5rem 1.4rem !important;
  text-align:center !important;
}

@media(max-width:767.98px){
  .hero-title-with-image h1{
    padding:1rem 1rem 1.15rem !important;
  }
}


/* HERO */

.hero-title-with-image {
  position: relative !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  width: 100vw !important;
  max-width: 100vw !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  box-sizing: border-box;
}

.hero-title-with-image .hero-saint-image {
  position: relative !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  width: 100vw !important;
  max-width: 100vw !important;
  margin: 0 !important;
  display: block;
}

.hero-title-with-image h1 {
  position: relative !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  width: 100vw !important;
  max-width: 100vw !important;
  margin: 0 !important;
  box-sizing: border-box;
  text-align: center !important;
}

html,
body {
  overflow-x: hidden;
}


/* HERO */

.hero,
.hero .hero-content,
.hero .hero-panel,
.hero blockquote,
.hero .hero-verse,
.hero .verse,
.hero .hero-scripture,
.hero cite,
.hero .hero-reference,
.hero .verse-reference {
  text-align: center !important;
}

.hero blockquote,
.hero .hero-verse,
.hero .verse,
.hero .hero-scripture {
  width: 100% !important;
  max-width: none !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

.hero cite,
.hero .hero-reference,
.hero .verse-reference {
  display: block !important;
  width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
}


/* HERO */

.hero .hero-actions,
.hero .hero-buttons,
.hero .hero-cta,
.hero .cta-buttons {
  width: 100% !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  text-align: center !important;
}

.hero .button,
.hero .btn {
  margin-left: auto !important;
  margin-right: auto !important;
}


/* HERO */

.hero .hero-content,
.hero .hero-panel {
  text-align: center !important;
}

.hero .hero-content > a.button,
.hero .hero-content > a.btn,
.hero .hero-panel > a.button,
.hero .hero-panel > a.btn,
.hero blockquote + a.button,
.hero blockquote + a.btn,
.hero cite + a.button,
.hero cite + a.btn,
.hero .hero-reference + a.button,
.hero .hero-reference + a.btn {
  display: table !important;
  width: auto !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

.hero .hero-actions,
.hero .hero-buttons,
.hero .hero-cta,
.hero .cta-buttons {
  width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
}


/* HERO */

.hero{padding:0!important;overflow:hidden}
.hero-wide-image{width:100%;margin:0;padding:0}
.hero-saint-wide{display:block;width:100%;height:clamp(260px,37vw,560px);object-fit:cover;object-position:center center;margin:0}
.hero-centered-content{width:100%;max-width:1180px;margin:0 auto;padding:46px 24px 54px;box-sizing:border-box;text-align:center}
.hero-centered-content .eyebrow{text-align:center!important;margin:0 0 14px}
.hero-centered-content h1{max-width:900px;margin:0 auto 24px!important;text-align:center!important}
.hero-centered-content blockquote{max-width:980px!important;width:auto!important;margin:0 auto 14px!important;text-align:center!important}
.hero-centered-content .verse-reference{display:block;width:100%;margin:0 auto 28px!important;text-align:center!important}
.hero-centered-content .hero-actions{display:flex!important;width:100%!important;justify-content:center!important;align-items:center!important;margin:0 auto!important;text-align:center!important}
.hero-centered-content .hero-actions .button,.hero-centered-content .hero-actions .btn{display:inline-flex!important;width:auto!important;margin:0!important;justify-content:center;align-items:center}
@media(max-width:767.98px){
  .hero-saint-wide{height:clamp(210px,54vw,330px)}
  .hero-centered-content{padding:30px 18px 38px}
  .hero-centered-content h1{margin-bottom:18px!important}
  .hero-centered-content blockquote{margin-bottom:12px!important}
  .hero-centered-content .verse-reference{margin-bottom:22px!important}
}


:root{
  --home-cream:#fbfaf6;
  --home-paper:#ffffff;
  --home-olive:#66705f;
  --home-brown:#b47c43;
  --home-brown-dark:#8d6542;
  --home-blue:#173f70;
  --home-border:#e8e0d4;
}

body{background:var(--home-cream);}

.site-header{
  background:rgba(255,255,255,.98);
  border-bottom:1px solid rgba(141,101,66,.12);
  box-shadow:0 3px 18px rgba(46,40,31,.035);
}

.header-inner{min-height:92px;}

.main-nav>a,
.main-nav summary{
  font-weight:700;
  letter-spacing:.025em;
}


/* HERO */

.hero{
  background:var(--home-cream)!important;
  padding:28px 0 0!important;
  overflow:visible!important;
}

.hero-wide-image{
  width:min(94vw,1480px)!important;
  margin:0 auto!important;
  padding:0!important;
}

.hero-saint-wide{
  display:block;
  width:100%!important;
  height:clamp(300px,34vw,540px)!important;
  object-fit:cover!important;
  object-position:center center!important;
  border-radius:26px!important;
  box-shadow:0 12px 32px rgba(58,45,29,.14)!important;
}

.hero-centered-content{
  width:min(94vw,1160px)!important;
  max-width:1160px!important;
  margin:0 auto!important;
  padding:34px 24px 48px!important;
  box-sizing:border-box;
  text-align:center!important;
}

.hero-centered-content .eyebrow{
  margin:0 0 12px!important;
  color:var(--home-brown-dark)!important;
  font-size:.86rem;
  font-weight:700;
  letter-spacing:.16em;
  text-transform:uppercase;
  text-align:center!important;
}

.hero-centered-content h1{
  max-width:900px!important;
  margin:0 auto 22px!important;
  color:var(--home-olive)!important;
  font-family:"Cormorant Garamond",serif!important;
  font-size:clamp(3.4rem,7vw,7rem)!important;
  font-weight:600!important;
  line-height:.88!important;
  letter-spacing:-.035em;
  text-align:center!important;
}

.hero-centered-content blockquote{
  max-width:980px!important;
  margin:0 auto 12px!important;
  padding:0!important;
  color:#4e4a43!important;
  font-family:"Cormorant Garamond",serif!important;
  font-size:clamp(1.25rem,2.1vw,2rem)!important;
  font-style:italic;
  line-height:1.25!important;
  border:0!important;
  text-align:center!important;
}

.hero-centered-content .verse-reference{
  display:block;
  width:100%;
  margin:0 auto 26px!important;
  color:var(--home-brown)!important;
  font-size:.92rem!important;
  font-weight:700;
  letter-spacing:.22em;
  text-transform:uppercase;
  text-align:center!important;
}

.hero-centered-content .hero-actions{
  display:flex!important;
  width:100%!important;
  justify-content:center!important;
  align-items:center!important;
  margin:0 auto!important;
}

.hero-centered-content .hero-actions .button{
  min-width:235px;
  padding:14px 28px;
  border-radius:9px;
  background:var(--home-brown)!important;
  border:1px solid var(--home-brown)!important;
  color:#fff!important;
  box-shadow:0 7px 18px rgba(180,124,67,.18);
  font-size:1.08rem;
}

.hero-centered-content .hero-actions .button:hover,
.hero-centered-content .hero-actions .button:focus-visible{
  background:var(--home-brown-dark)!important;
  border-color:var(--home-brown-dark)!important;
}


/* ACCESSI RAPIDI */


/* ===== OGGETTO: ACCESSI RAPIDI ===== */
.quick-links{
  padding-top:70px!important;
  background:var(--home-cream);
}

.quick-heading{
  display:grid;
  justify-items:center;
  gap:8px;
  margin-bottom:30px;
  text-align:center;
}

.quick-heading h2{
  margin:0;
  color:#2f2b27!important;
  font-size:clamp(2rem,3vw,2.8rem);
  font-weight:600;
}

.quick-heading span{
  position:relative;
  display:block;
  width:70px;
  height:11px;
}

.quick-heading span::before,
.quick-heading span::after{
  content:"";
  position:absolute;
  top:5px;
  width:27px;
  height:1px;
  background:var(--home-brown);
}

.quick-heading span::before{left:0}
.quick-heading span::after{right:0}

.quick-heading span{
  background:linear-gradient(45deg,transparent 45%,var(--home-brown) 46% 54%,transparent 55%) center/10px 10px no-repeat;
}

.quick-links .quick-card,
.quick-card{
  background:rgba(255,255,255,.96)!important;
  border:1px solid var(--home-border)!important;
  border-radius:22px!important;
  box-shadow:0 10px 28px rgba(68,53,36,.07)!important;
  padding:34px 28px!important;
  text-align:center!important;
}

.quick-card:hover{
  transform:translateY(-4px);
  box-shadow:0 16px 34px rgba(68,53,36,.11)!important;
}

.quick-card h3{
  color:#292622!important;
  font-size:1.8rem;
}

.quick-card p{color:#3f3a34!important;}

.quick-card a:not(.button):not(.btn){
  color:var(--home-brown)!important;
  font-weight:700!important;
}

@media(max-width:900px){
  .header-inner{min-height:78px}
  .hero{padding-top:18px!important}
  .hero-wide-image{width:calc(100vw - 28px)!important}
  .hero-saint-wide{
    height:clamp(230px,54vw,360px)!important;
    border-radius:20px!important;
  }
  .hero-centered-content{
    width:100%!important;
    padding:28px 18px 38px!important;
  }
  .hero-centered-content h1{
    font-size:clamp(3rem,14vw,5rem)!important;
  }
  .hero-centered-content blockquote{
    font-size:clamp(1.2rem,5.2vw,1.55rem)!important;
  }
}

@media(max-width:520px){
  .hero-wide-image{width:calc(100vw - 20px)!important}
  .hero-saint-wide{
    height:230px!important;
    border-radius:16px!important;
  }
  .hero-centered-content h1{
    font-size:clamp(2.8rem,15vw,4.2rem)!important;
  }
  .hero-centered-content .hero-actions .button{
    width:min(100%,270px);
  }
}


:root{
  --design-black:#111111;
  --design-brown:#6f3d16;
  --design-brown-dark:#512a0d;
  --design-cream:#fbf9f4;
  --design-cream-soft:#f5efe5;
  --design-border:#e7dfd3;
}


.info-bar{
  background:var(--design-cream-soft);
  border-bottom:1px solid var(--design-border);
  color:var(--design-black);
  font-size:.92rem;
}
.info-bar-inner{
  min-height:42px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
}
.info-left,.info-right{
  display:flex;
  align-items:center;
  gap:26px;
}
.info-bar a{
  display:inline-flex;
  align-items:center;
  gap:8px;
  color:var(--design-brown)!important;
  font-weight:700;
}


/* HEADER */

.site-header{
  background:rgba(255,255,255,.98)!important;
  border-bottom:1px solid rgba(111,61,22,.10)!important;
  box-shadow:0 3px 16px rgba(60,40,20,.035)!important;
}
.header-inner{
  min-height:96px!important;
}
.brand-copy strong,
.main-nav>a,
.main-nav summary{
  color:var(--design-black)!important;
}
.main-nav>a,
.main-nav summary{
  font-weight:700!important;
}
.main-nav>a.active{
  color:var(--design-brown)!important;
}
.reserved-button{
  display:inline-flex!important;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding:13px 18px!important;
  border-radius:7px!important;
  background:var(--design-brown)!important;
  color:#fff!important;
  white-space:nowrap;
}
.reserved-button:hover{
  background:var(--design-brown-dark)!important;
  color:#fff!important;
}


/* HERO */

.home-hero{
  padding:28px 0 10px!important;
  background:var(--design-cream)!important;
}
.hero-container{
  text-align:center!important;
}
.hero-image-wrapper{
  width:100%!important;
  overflow:hidden!important;
  border-radius:26px!important;
  box-shadow:0 14px 35px rgba(59,38,20,.13)!important;
}
.hero-image{
  display:block!important;
  width:100%!important;
  height:clamp(320px,35vw,545px)!important;
  object-fit:cover!important;
  object-position:center center!important;
}
.hero-content{
  max-width:1100px!important;
  margin:0 auto!important;
  padding:34px 20px 28px!important;
  text-align:center!important;
}
.hero-content h1{
  margin:0!important;
  color:var(--design-black)!important;
  font-family:"Cormorant Garamond",Garamond,Georgia,serif!important;
  font-size:clamp(4rem,7.5vw,7.4rem)!important;
  font-weight:500!important;
  line-height:.82!important;
  letter-spacing:-.045em!important;
  text-align:center!important;
}
.hero-content h1 span{display:block!important;}
.hero-content blockquote{
  margin:28px auto 8px!important;
  padding:0!important;
  border:0!important;
  color:#3f3934!important;
  font-family:"Cormorant Garamond",Garamond,Georgia,serif!important;
  font-size:clamp(1.3rem,2.1vw,2rem)!important;
  font-style:italic!important;
  line-height:1.25!important;
  text-align:center!important;
}
.hero-content .verse-reference{
  display:block!important;
  margin:0 auto 24px!important;
  color:#70401f!important;
  font-size:1.25rem!important;
  font-weight:600!important;
  letter-spacing:.01em!important;
  text-transform:none!important;
  text-align:center!important;
}
.primary-button{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-width:245px!important;
  padding:13px 28px!important;
  border-radius:7px!important;
  background:var(--design-brown)!important;
  border-color:var(--design-brown)!important;
  color:#fff!important;
  font-size:1.25rem!important;
  font-weight:600!important;
  box-shadow:0 7px 18px rgba(111,61,22,.15)!important;
}
.primary-button:hover{
  background:var(--design-brown-dark)!important;
  color:#fff!important;
}


/* ACCESSI RAPIDI */

.quick-links{
  padding:14px 0 80px!important;
  background:var(--design-cream)!important;
}
.quick-section-heading{
  text-align:center!important;
  margin-bottom:28px!important;
}
.quick-section-heading h2{
  margin:0!important;
  color:var(--design-black)!important;
  font-size:clamp(2rem,3.5vw,3rem)!important;
  font-weight:500!important;
}
.heading-decoration{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:7px;
  margin-top:8px;
}
.heading-decoration span{
  width:30px;
  height:1px;
  background:var(--design-brown);
}
.heading-decoration i{
  width:8px;
  height:8px;
  background:var(--design-brown);
  transform:rotate(45deg);
}
.quick-grid{
  max-width:1060px;
  margin:0 auto;
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:24px;
}
.quick-card{
  min-height:290px;
  padding:28px 26px!important;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  background:rgba(255,255,255,.96)!important;
  border:1px solid var(--design-border)!important;
  border-radius:22px!important;
  text-align:center!important;
  box-shadow:0 10px 27px rgba(60,41,25,.065)!important;
  transition:transform .25s ease,box-shadow .25s ease;
}
.quick-card:hover{
  transform:translateY(-5px);
  box-shadow:0 16px 35px rgba(60,41,25,.11)!important;
}
.quick-icon{
  width:76px;
  height:76px;
  margin-bottom:16px;
  display:grid;
  place-items:center;
  border-radius:50%;
  background:#f4eadd;
  color:var(--design-brown);
  font-size:2.2rem;
}
.quick-card h3{
  margin:0 0 9px!important;
  color:var(--design-black)!important;
  font-size:1.75rem!important;
  font-weight:600!important;
}
.quick-card p{
  max-width:280px;
  margin:0 0 18px!important;
  color:var(--design-black)!important;
  font-size:1.03rem!important;
}
.quick-card .text-link{
  display:inline-flex;
  align-items:center;
  gap:10px;
  color:var(--design-brown)!important;
  font-weight:700!important;
}

@media(max-width:900px){
  .info-bar{display:none}
  .header-inner{min-height:78px!important}
  .hero-image-wrapper{border-radius:20px!important}
  .hero-content{padding:30px 10px 26px!important}
  .hero-content h1{font-size:clamp(3.6rem,14vw,5.8rem)!important}
  .quick-grid{grid-template-columns:1fr;max-width:520px}
  .reserved-button{margin-top:12px}
}
@media(max-width:520px){
  .home-hero{padding-top:12px!important}
  .hero-image-wrapper{border-radius:16px!important}
  .hero-content h1{font-size:clamp(3rem,16vw,4.2rem)!important}
  .hero-content blockquote{font-size:1.25rem!important}
  .hero-content .verse-reference{font-size:1.1rem!important}
  .primary-button{width:100%!important;max-width:280px!important}
}


/* HERO */

.hero-content h1{
  color:#111111!important;
  font-family:"Cormorant Garamond",Garamond,Georgia,serif!important;
  font-size:clamp(3.8rem,6.4vw,6.7rem)!important;
  font-weight:600!important;
  line-height:.94!important;
  letter-spacing:-.025em!important;
  text-align:center!important;
  max-width:980px!important;
  margin:0 auto 24px!important;
  overflow:visible!important;
}

.hero-content h1 span{
  display:block!important;
  color:#111111!important;
  line-height:.94!important;
}

@media(max-width:900px){
  .hero-content h1{
    font-size:clamp(3.3rem,12vw,5.4rem)!important;
    line-height:.96!important;
  }
}

@media(max-width:520px){
  .hero-content h1{
    font-size:clamp(2.8rem,14vw,4rem)!important;
    line-height:1!important;
    letter-spacing:-.015em!important;
  }
}


/* HERO */

.home-hero{
  background:var(--design-cream,#fbf9f4)!important;
}

.hero-container{
  display:flex!important;
  flex-direction:column!important;
  align-items:stretch!important;
}

.hero-content{
  order:1!important;
  position:relative!important;
  z-index:auto!important;
  background:transparent!important;
  max-width:1100px!important;
  width:100%!important;
  margin:0 auto!important;
  padding:34px 20px 34px!important;
  text-align:center!important;
}

.hero-image-wrapper{
  order:2!important;
  position:relative!important;
  margin-top:0!important;
}

.hero-content h1,
.hero-content h1 span,
.hero-content blockquote,
.hero-content .verse-reference{
  position:static!important;
  transform:none!important;
  text-shadow:none!important;
}

@media(max-width:520px){
  .hero-content{
    padding:24px 12px 28px!important;
  }
}


/* HERO */

.hero-image-wrapper{
  display:block!important;
  visibility:visible!important;
  opacity:1!important;
  width:100%!important;
  min-height:320px;
  overflow:hidden!important;
  border-radius:26px!important;
  background:#eee7dc;
}

.hero-image{
  display:block!important;
  visibility:visible!important;
  opacity:1!important;
  width:100%!important;
  height:clamp(320px,35vw,545px)!important;
  object-fit:cover!important;
  object-position:center center!important;
}


:root{
  --design-gold:#b58a3b;
  --design-gold-dark:#98712e;
}

.primary-button,
.reserved-button,
.btn-gold,
.button-primary{
  background:var(--design-gold)!important;
  border-color:var(--design-gold)!important;
  color:#fff!important;
}

.primary-button:hover,
.primary-button:focus-visible,
.reserved-button:hover,
.reserved-button:focus-visible,
.btn-gold:hover,
.btn-gold:focus-visible,
.button-primary:hover,
.button-primary:focus-visible{
  background:var(--design-gold-dark)!important;
  border-color:var(--design-gold-dark)!important;
  color:#fff!important;
}

@media(max-width:900px){
  .hero-image-wrapper{min-height:240px}
  .hero-image{height:clamp(240px,55vw,370px)!important}
}
@media(max-width:520px){
  .hero-image-wrapper{min-height:230px}
  .hero-image{height:230px!important}
}


:root{
  --ui-black:#111111;
  --ui-text:#2d2823;
  --ui-gold:#c9952e;
  --ui-gold-dark:#a9751d;
  --ui-gold-soft:#e9c878;
  --ui-cream:#fbf8f2;
  --ui-paper:#ffffff;
  --ui-border:#e9dfd1;
  --ui-icon-bg:#fff9ee;
}

body{
  background:var(--ui-cream)!important;
  color:var(--ui-black)!important;
}


/* HEADER */

.site-header{
  background:#fff!important;
  border-bottom:1px solid rgba(201,149,46,.14)!important;
  box-shadow:0 3px 16px rgba(58,42,18,.035)!important;
}

.header-inner{
  min-height:88px!important;
}

.main-nav>a,
.main-nav summary,
.brand-copy strong{
  color:var(--ui-black)!important;
}

.main-nav>a.active,
.main-nav>a:hover,
.main-nav summary:hover{
  color:var(--ui-gold-dark)!important;
}

.main-nav>a.active::after{
  background:var(--ui-gold)!important;
}


.reserved-button,
.button-primary,
.btn-gold,
.approved-gold-button{
  background:var(--ui-gold)!important;
  border-color:var(--ui-gold)!important;
  color:#fff!important;
}

.reserved-button:hover,
.button-primary:hover,
.btn-gold:hover,
.approved-gold-button:hover,
.approved-gold-button:focus-visible{
  background:var(--ui-gold-dark)!important;
  border-color:var(--ui-gold-dark)!important;
  color:#fff!important;
}


/* HERO */

.approved-home-hero{
  background:var(--ui-cream)!important;
  padding:28px 0 10px!important;
}

.approved-hero-container{
  width:min(calc(100% - 48px),1400px)!important;
  margin:0 auto!important;
  text-align:center!important;
}

.approved-hero-copy{
  max-width:1050px;
  margin:0 auto 30px;
  text-align:center;
}

.approved-hero-copy h1{
  margin:0 auto 20px!important;
  color:var(--ui-black)!important;
  font-family:"Cormorant Garamond",Garamond,Georgia,serif!important;
  font-size:clamp(4rem,6.8vw,7rem)!important;
  font-weight:500!important;
  line-height:.88!important;
  letter-spacing:-.035em!important;
  text-align:center!important;
}

.approved-hero-copy h1 span{
  display:block!important;
}

.approved-hero-copy blockquote{
  max-width:900px!important;
  margin:0 auto 8px!important;
  padding:0!important;
  border:0!important;
  color:#3f3934!important;
  font-family:"Cormorant Garamond",Garamond,Georgia,serif!important;
  font-size:clamp(1.35rem,2vw,1.95rem)!important;
  font-style:italic!important;
  line-height:1.3!important;
  text-align:center!important;
}

.approved-hero-copy .verse-reference{
  margin:0 auto 22px!important;
  color:#7f551d!important;
  font-size:1.28rem!important;
  font-weight:600!important;
  letter-spacing:0!important;
  text-transform:none!important;
  text-align:center!important;
}

.approved-gold-button{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-width:245px!important;
  padding:13px 28px!important;
  border-radius:7px!important;
  font-size:1.25rem!important;
  font-weight:600!important;
  box-shadow:0 8px 20px rgba(201,149,46,.20)!important;
}


.approved-hero-image-wrap{
  width:100%;
  overflow:hidden;
  border-radius:26px;
  background:#eee8df;
  box-shadow:0 14px 34px rgba(61,44,23,.13);
}

.approved-hero-image{
  display:block!important;
  width:100%!important;
  height:auto!important;
  max-height:none!important;
  object-fit:contain!important;
  object-position:center!important;
  border-radius:26px;
}


/* ACCESSI RAPIDI */

.approved-quick-links{
  background:var(--ui-cream)!important;
  padding:6px 0 78px!important;
}

.approved-quick-container{
  width:min(calc(100% - 48px),1100px)!important;
  margin:0 auto!important;
}

.approved-quick-heading{
  width:100%!important;
  margin:0 auto 26px!important;
  text-align:center!important;
}

.approved-quick-heading h2{
  margin:0!important;
  color:var(--ui-black)!important;
  font-family:"Cormorant Garamond",Garamond,Georgia,serif!important;
  font-size:clamp(2.4rem,3.4vw,3.5rem)!important;
  font-weight:500!important;
  text-align:center!important;
}

.approved-heading-mark{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:7px!important;
  width:100%!important;
  margin:7px auto 0!important;
}

.approved-heading-mark span{
  width:30px;
  height:1px;
  background:var(--ui-gold);
}

.approved-heading-mark i{
  width:8px;
  height:8px;
  background:var(--ui-gold);
  transform:rotate(45deg);
}

.approved-quick-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:24px;
  width:100%;
  margin:0 auto;
}

.approved-quick-card{
  min-height:275px;
  padding:28px 26px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  background:rgba(255,255,255,.98);
  border:1px solid var(--ui-border);
  border-radius:20px;
  box-shadow:0 10px 28px rgba(60,45,25,.07);
  text-align:center;
}

.approved-quick-icon{
  width:72px;
  height:72px;
  margin-bottom:14px;
  display:grid;
  place-items:center;
  border-radius:50%;
  background:var(--ui-icon-bg);
  border:1.5px solid var(--ui-gold-soft);
}

.approved-quick-icon svg{
  width:44px;
  height:44px;
  fill:none;
  stroke:var(--ui-gold-dark);
  stroke-width:2.4;
  stroke-linecap:round;
  stroke-linejoin:round;
}

.approved-quick-card h3{
  margin:0 0 8px!important;
  color:var(--ui-black)!important;
  font-family:"Cormorant Garamond",Garamond,Georgia,serif!important;
  font-size:1.75rem!important;
  font-weight:600!important;
}

.approved-quick-card p{
  max-width:280px;
  margin:0 0 16px!important;
  color:var(--ui-text)!important;
  font-size:1.02rem!important;
}

.approved-quick-card a{
  display:inline-flex;
  align-items:center;
  gap:10px;
  color:var(--ui-gold-dark)!important;
  font-weight:700!important;
}


@media(max-width:900px){
  .approved-hero-container,
  .approved-quick-container{
    width:min(calc(100% - 28px),1100px)!important;
  }

  .approved-hero-copy h1{
    font-size:clamp(3.4rem,13vw,5.4rem)!important;
    line-height:.94!important;
  }

  .approved-hero-image-wrap,
  .approved-hero-image{
    border-radius:20px!important;
  }

  .approved-quick-grid{
    grid-template-columns:1fr;
    max-width:520px;
    margin:0 auto;
  }
}

@media(max-width:520px){
  .approved-hero-container,
  .approved-quick-container{
    width:calc(100% - 20px)!important;
  }

  .approved-hero-copy h1{
    font-size:clamp(2.9rem,14vw,4.1rem)!important;
    line-height:.98!important;
  }

  .approved-hero-copy blockquote{
    font-size:1.22rem!important;
  }

  .approved-hero-copy .verse-reference{
    font-size:1.12rem!important;
  }

  .approved-gold-button{
    width:min(100%,280px)!important;
  }

  .approved-hero-image-wrap,
  .approved-hero-image{
    border-radius:16px!important;
  }
}


/* HERO */

.approved-home-hero{
  padding-top:72px!important;
}

@media(max-width:900px){
  .approved-home-hero{
    padding-top:48px!important;
  }
}

@media(max-width:520px){
  .approved-home-hero{
    padding-top:36px!important;
  }
}


:root{
  --black:#111111;
  --text:#111111;
  --gold:#C9952E;
  --gold-dark:#A9751D;
  --gold-light:#E9C878;
  --cream:#FBF8F2;
  --white:#FFFFFF;
  --border:#E9DFD1;
}

body{color:var(--black)!important;background:var(--cream)!important}
h1,h2,h3,h4,h5,h6{color:var(--black)!important}

.site-header{background:var(--white)!important}
.brand,.brand-copy,.brand-copy strong,.brand-text,.brand-text strong{color:var(--black)!important}
.brand h1,.brand h2,.brand strong{color:var(--black)!important}
.brand small,.brand span{color:#555!important}

.main-nav a,.main-nav summary,.navbar a,.nav-link{color:var(--black)!important}
.main-nav a:hover,.main-nav summary:hover,.navbar a:hover,.nav-link:hover,
.main-nav a.active,.nav-link.active{color:var(--gold-dark)!important}
.main-nav a.active::after,.nav-link.active::after{background:var(--gold)!important}

.approved-home-hero,.quick-links,.approved-quick-links{background:var(--cream)!important}
.approved-hero-copy h1,.approved-hero-copy h1 span,.hero-content h1,.hero-content h1 span{color:var(--black)!important}
.approved-hero-copy blockquote,.hero-content blockquote{color:#302C28!important}
.approved-hero-copy .verse-reference,.hero-content .verse-reference{
  color:#8A5B16!important;text-transform:none!important
}


/* ===== OGGETTO: TITOLI DELLE SEZIONI ===== */

/* ===== OGGETTO: BENVENUTO ===== */
.section-title,.section-heading h2,.approved-quick-heading h2,.welcome-content h2,.featured h2{color:var(--black)!important}
.approved-quick-card h3,.quick-card h3{color:var(--black)!important}
.approved-quick-card p,.quick-card p{color:#302C28!important}

.approved-quick-icon{background:#FFF9EE!important;border-color:var(--gold-light)!important}
.approved-quick-icon svg{stroke:var(--gold-dark)!important}
.quick-icon,.quick-icon i,.featured-icon,.featured-icon i,.mass-icon,.mass-icon i,
.parish-icon,.parish-icon i,.luogo-icon,.luogo-icon i{color:var(--gold-dark)!important}

.approved-heading-mark span,.heading-decoration span{background:var(--gold)!important}
.approved-heading-mark i,.heading-decoration i{background:var(--gold)!important}

.approved-gold-button,.primary-button,.btn-gold,.button-primary,.reserved-button{
  background:var(--gold)!important;border-color:var(--gold)!important;color:#fff!important
}
.approved-gold-button:hover,.primary-button:hover,.btn-gold:hover,.button-primary:hover,.reserved-button:hover{
  background:var(--gold-dark)!important;border-color:var(--gold-dark)!important;color:#fff!important
}

main a:not(.approved-gold-button):not(.primary-button):not(.btn-gold):not(.button-primary):not(.reserved-button){
  color:var(--gold-dark);font-weight:700
}


/* ===== OGGETTO: CARD ===== */
.card,.parish-card,.mass-card,.luogo-card,.featured-card{
  background:#fff!important;border-color:var(--border)!important
}
.card h2,.card h3,.parish-card h2,.parish-card h3,.mass-card h2,.mass-card h3,
.luogo-card h2,.luogo-card h3,.featured-card h2,.featured-card h3{color:var(--black)!important}

.welcome-section{background:#fff!important}
.welcome-content h2{color:var(--black)!important}
.welcome-content p{color:#302C28!important}
.section-eyebrow{color:var(--gold-dark)!important}

.site-footer{background:#F3EEE5!important;color:var(--black)!important}
.site-footer h2,.site-footer h3{color:var(--black)!important}
.site-footer p{color:#302C28!important}
.site-footer a{color:var(--gold-dark)!important;font-weight:700}

.menu-toggle span{background:var(--black)!important}

@media(max-width:900px){
  .main-nav{background:#fff!important}
  .main-nav a,.main-nav summary{color:var(--black)!important}
}


.section-title,
.section-heading h2,
.welcome-section h2,
.welcome-content h2,
.diocese-section h2,
.diocesan-section h2,
.chiesa-diocesana h2,
.featured h2,
.news-section h2,
.events-section h2,
.parish-page h1,
.mass-page h1,
.luoghi-section h2 {
    color: #111111 !important;
    font-family: "Cormorant Garamond", Garamond, Georgia, serif !important;
    font-size: clamp(3rem, 4.8vw, 5rem) !important;
    font-weight: 500 !important;
    line-height: 1 !important;
    letter-spacing: -0.025em !important;
}


.welcome-content h2,
.diocese-section .section-title,
.diocesan-section .section-title,
.chiesa-diocesana .section-title {
    font-size: clamp(3.2rem, 5vw, 5.2rem) !important;
}


.section-eyebrow,
.section-subtitle {
    font-size: 1.15rem !important;
}


@media (max-width: 900px) {
    .section-title,
    .section-heading h2,
    .welcome-section h2,
    .welcome-content h2,
    .diocese-section h2,
    .diocesan-section h2,
    .chiesa-diocesana h2,
    .featured h2,
    .news-section h2,
    .events-section h2,
    .parish-page h1,
    .mass-page h1,
    .luoghi-section h2 {
        font-size: clamp(2.7rem, 8vw, 4rem) !important;
    }
}


@media (max-width: 520px) {
    .section-title,
    .section-heading h2,
    .welcome-section h2,
    .welcome-content h2,
    .diocese-section h2,
    .diocesan-section h2,
    .chiesa-diocesana h2,
    .featured h2,
    .news-section h2,
    .events-section h2,
    .parish-page h1,
    .mass-page h1,
    .luoghi-section h2 {
        font-size: clamp(2.4rem, 11vw, 3.3rem) !important;
        line-height: 1.04 !important;
    }
}


.section-title,
.section-heading h2,
.welcome-section h2,
.welcome-content h2,
.diocese-section h2,
.diocesan-section h2,
.chiesa-diocesana h2,
.featured h2,
.news-section h2,
.events-section h2,
.parish-page h1,
.mass-page h1,
.luoghi-section h2 {
    margin-bottom: 30px !important;
}


.section-title + p,
.section-heading h2 + p,
.welcome-content h2 + p,
.diocese-section h2 + p,
.diocesan-section h2 + p,
.chiesa-diocesana h2 + p,
.featured h2 + p,
.news-section h2 + p,
.events-section h2 + p {
    margin-top: 0 !important;
}


.approved-quick-heading h2 {
    margin-bottom: 0 !important;
}

.approved-heading-mark,
.heading-decoration {
    margin-top: 10px !important;
    margin-bottom: 26px !important;
}


@media (max-width: 900px) {
    .section-title,
    .section-heading h2,
    .welcome-section h2,
    .welcome-content h2,
    .diocese-section h2,
    .diocesan-section h2,
    .chiesa-diocesana h2,
    .featured h2,
    .news-section h2,
    .events-section h2,
    .parish-page h1,
    .mass-page h1,
    .luoghi-section h2 {
        margin-bottom: 26px !important;
    }
}


@media (max-width: 520px) {
    .section-title,
    .section-heading h2,
    .welcome-section h2,
    .welcome-content h2,
    .diocese-section h2,
    .diocesan-section h2,
    .chiesa-diocesana h2,
    .featured h2,
    .news-section h2,
    .events-section h2,
    .parish-page h1,
    .mass-page h1,
    .luoghi-section h2 {
        margin-bottom: 22px !important;
    }
}


/* SETTIMANA RELIGIOSA */

.weekly-cover-card{
  overflow:hidden;
  background:#fff!important;
  border:1px solid #E9DFD1!important;
  border-radius:22px!important;
  box-shadow:0 14px 34px rgba(60,45,25,.09)!important;
}

.weekly-cover-card img{
  display:block;
  width:100%!important;
  height:auto!important;
  object-fit:contain!important;
  background:#FBF8F2;
}

.weekly-cover-caption{
  padding:14px 18px 16px;
  color:#8A5B16;
  font-family:"Cormorant Garamond",Garamond,Georgia,serif;
  font-size:1.1rem;
  font-weight:600;
  text-align:center;
}

.weekly-page-hero h1,
.weekly-page-intro h2,
.weekly-document h2,
.weekly-program h2,
.weekly-notices h2,
.weekly-archive h2,
.weekly-admin-note h2{
  color:#111111!important;
}

.weekly-page-hero .eyebrow,
.weekly-page-intro .eyebrow,
.weekly-document .eyebrow,
.weekly-program .eyebrow,
.weekly-notices .eyebrow,
.weekly-archive .eyebrow,
.weekly-admin-note .eyebrow{
  color:#8A5B16!important;
}


/* SETTIMANA RELIGIOSA */

.weekly-showcase{
  padding:34px 0 62px;
  background:#fbf8f2;
}
.weekly-showcase-shell{
  width:min(calc(100% - 36px),1400px);
  margin-inline:auto;
}
.weekly-showcase-hero{
  display:grid;
  grid-template-columns:minmax(0,1.15fr) minmax(430px,.85fr);
  min-height:520px;
  overflow:hidden;
  border:1px solid #eadfce;
  border-radius:24px;
  background:#fffaf1;
  box-shadow:0 15px 38px rgba(59,43,22,.09);
}
.weekly-showcase-image{
  min-height:520px;
  overflow:hidden;
  background:#e8e0d4;
}
.weekly-showcase-image img{
  width:100%;
  height:100%;
  display:block;
  object-fit:cover;
  object-position:center;
}
.weekly-showcase-copy{
  padding:34px 48px;
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:center;
  text-align:center;
}
.weekly-cross{
  width:58px;
  height:58px;
  margin-bottom:12px;
  display:grid;
  place-items:center;
  border:1.5px solid #c9952e;
  border-radius:50%;
  color:#a9751d;
  font-size:2rem;
}
.weekly-parish-name{
  margin:0!important;
  color:#111!important;
  font-size:1.25rem;
  text-transform:uppercase;
  letter-spacing:.08em;
}
.weekly-parish-title{
  margin:-4px 0 0!important;
  color:#111!important;
  font-family:"Cormorant Garamond",Garamond,Georgia,serif;
  font-size:3.2rem;
  line-height:.95;
  text-transform:uppercase;
}
.weekly-city{
  margin:8px 0 20px!important;
  color:#a9751d!important;
  font-size:1.15rem;
  letter-spacing:.18em;
  text-transform:uppercase;
}
.weekly-showcase-copy h1{
  margin:0!important;
  font-family:"Cormorant Garamond",Garamond,Georgia,serif!important;
  font-size:clamp(4rem,5.6vw,6.5rem)!important;
  font-weight:500!important;
  line-height:.78!important;
  letter-spacing:-.035em!important;
  text-align:center!important;
}
.weekly-showcase-copy h1 span,
.weekly-showcase-copy h1 strong{
  display:block;
}
.weekly-showcase-copy h1 span{color:#111!important;font-weight:500}
.weekly-showcase-copy h1 strong{color:#b27d18!important;font-weight:500}
.weekly-ornament{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:9px;
  margin:24px 0 20px;
}
.weekly-ornament span{width:75px;height:1px;background:#c9952e}
.weekly-ornament i{width:10px;height:10px;background:#c9952e;transform:rotate(45deg)}
.weekly-showcase-copy blockquote{
  max-width:560px;
  margin:0 auto 7px!important;
  padding:0!important;
  border:0!important;
  color:#302c28!important;
  font-family:"Cormorant Garamond",Garamond,Georgia,serif!important;
  font-size:1.55rem!important;
  font-style:italic;
  line-height:1.3;
}
.weekly-matteo{
  margin:0!important;
  color:#8a5b16!important;
  font-size:1.05rem;
  font-weight:600;
}
.weekly-topic-grid{
  display:grid;
  grid-template-columns:repeat(5,1fr);
  margin-top:14px;
  overflow:hidden;
  border:1px solid #eadfce;
  border-radius:20px;
  background:#fffaf3;
  box-shadow:0 10px 28px rgba(59,43,22,.055);
}
.weekly-topic{
  position:relative;
  min-height:290px;
  padding:28px 22px 24px;
  text-align:center;
}
.weekly-topic + .weekly-topic:before{
  content:"";
  position:absolute;
  left:0;
  top:28px;
  bottom:28px;
  width:1px;
  background:#d9cdbb;
}
.weekly-topic-icon{
  width:66px;
  height:66px;
  margin:0 auto 14px;
  display:grid;
  place-items:center;
  border:1.5px solid #c9952e;
  border-radius:50%;
  color:#a9751d;
  font-size:2rem;
  font-weight:600;
}
.weekly-topic h2{
  min-height:2.3em;
  margin:0 0 10px!important;
  color:#111!important;
  font-family:"Cormorant Garamond",Garamond,Georgia,serif!important;
  font-size:1.55rem!important;
  font-weight:600!important;
  line-height:1.05!important;
}
.weekly-topic p{
  margin:0!important;
  color:#302c28!important;
  font-size:1rem;
  line-height:1.45;
}
.weekly-showcase-actions{
  display:grid;
  grid-template-columns:auto auto minmax(280px,1fr);
  gap:22px;
  align-items:center;
  padding:24px 4px 0;
}
.weekly-showcase-actions .button{
  min-width:230px;
  justify-content:center;
}
.weekly-update-note{
  margin:0!important;
  padding:16px 20px;
  border:1px solid #eadfce;
  border-radius:10px;
  background:#f4eee4;
  color:#302c28!important;
  line-height:1.4;
}
.main-nav>a.active{
  color:#a9751d!important;
}
.reserved-button{
  display:inline-flex!important;
  align-items:center;
  justify-content:center;
  padding:12px 17px!important;
  border-radius:7px!important;
  background:#c9952e!important;
  color:#fff!important;
  font-weight:700!important;
}
@media(max-width:1100px){
  .weekly-showcase-hero{grid-template-columns:1fr}
  .weekly-showcase-image{min-height:420px}
  .weekly-showcase-image img{height:auto;object-fit:contain}
  .weekly-topic-grid{grid-template-columns:repeat(2,1fr)}
  .weekly-topic + .weekly-topic:before{display:none}
  .weekly-showcase-actions{grid-template-columns:1fr 1fr}
  .weekly-update-note{grid-column:1/-1}
}
@media(max-width:650px){
  .weekly-showcase{padding-top:18px}
  .weekly-showcase-shell{width:calc(100% - 20px)}
  .weekly-showcase-hero{border-radius:16px}
  .weekly-showcase-image{min-height:0}
  .weekly-showcase-copy{padding:28px 18px 32px}
  .weekly-parish-title{font-size:2.45rem}
  .weekly-showcase-copy h1{font-size:clamp(3.2rem,16vw,4.6rem)!important}
  .weekly-topic-grid{grid-template-columns:1fr}
  .weekly-topic{min-height:auto}
  .weekly-showcase-actions{grid-template-columns:1fr}
  .weekly-showcase-actions .button{width:100%}
}


/* HEADER */

body > main,
.site-main,
main.site-main {
    padding-top: 64px !important;
}


/* HERO */

body > main > section:first-child,
.site-main > section:first-child,
main.site-main > section:first-child {
    margin-top: 0 !important;
}


body > main > .approved-home-hero:first-child,
.site-main > .approved-home-hero:first-child {
    padding-top: 28px !important;
}


/* SETTIMANA RELIGIOSA */

body > main > .weekly-showcase:first-child,
.site-main > .weekly-showcase:first-child {
    padding-top: 0 !important;
}


@media (max-width: 900px) {
    body > main,
    .site-main,
    main.site-main {
        padding-top: 48px !important;
    }

    body > main > .approved-home-hero:first-child,
    .site-main > .approved-home-hero:first-child {
        padding-top: 18px !important;
    }
}


@media (max-width: 520px) {
    body > main,
    .site-main,
    main.site-main {
        padding-top: 34px !important;
    }

    body > main > .approved-home-hero:first-child,
    .site-main > .approved-home-hero:first-child {
        padding-top: 12px !important;
    }
}


.chiesa-viva h1,
.chiesa-viva h2,
.chiesa-viva .section-title,
.chiesa-viva-title,
[data-title="una-chiesa-viva"] {
    font-size: clamp(2.5rem, 3.8vw, 4rem) !important;
    line-height: 1.05 !important;
}


.title-chiesa-viva {
    font-family: "Cormorant Garamond", Garamond, Georgia, serif !important;
    font-size: clamp(2.5rem, 3.8vw, 4rem) !important;
    font-weight: 500 !important;
    line-height: 1.05 !important;
    color: #111111 !important;
}

@media (max-width: 900px) {
    .chiesa-viva h1,
    .chiesa-viva h2,
    .chiesa-viva .section-title,
    .chiesa-viva-title,
    .title-chiesa-viva,
    [data-title="una-chiesa-viva"] {
        font-size: clamp(2.3rem, 7vw, 3.4rem) !important;
    }
}

@media (max-width: 520px) {
    .chiesa-viva h1,
    .chiesa-viva h2,
    .chiesa-viva .section-title,
    .chiesa-viva-title,
    .title-chiesa-viva,
    [data-title="una-chiesa-viva"] {
        font-size: clamp(2.1rem, 9vw, 2.8rem) !important;
    }
}


/* VARIABILI */

:root{
  --cms-font-base:18px;
  --cms-font-menu:15px;
  --cms-font-hero:96px;
  --cms-font-section:64px;
  --cms-font-card-title:28px;
  --cms-font-small:15px;

  --cms-color-text:#111111;
  --cms-color-titles:#111111;
  --cms-color-menu:#111111;
  --cms-color-links:#A9751D;
  --cms-color-accent:#C9952E;
  --cms-color-reference:#8A5B16;
  --cms-color-footer-text:#111111;
}


body,
p,
li,
address,
blockquote{
  color:var(--cms-color-text)!important;
}

body{
  font-size:var(--cms-font-base)!important;
}


h1,h2,h3,h4,h5,h6,
.section-title,
.title-chiesa-viva,
.welcome-content h2,
.approved-quick-heading h2,
.weekly-topic h2{
  color:var(--cms-color-titles)!important;
}


/* HERO */

.approved-hero-copy h1,
.approved-hero-copy h1 span,
.hero-content h1,
.hero-content h1 span{
  font-size:var(--cms-font-hero)!important;
}


.section-title,
.section-heading h2,
.welcome-section h2,
.welcome-content h2,
.diocese-section h2,
.diocesan-section h2,
.chiesa-diocesana h2,
.featured h2,
.news-section h2,
.events-section h2,
.luoghi-section h2{
  font-size:var(--cms-font-section)!important;
}


.card h2,.card h3,
.quick-card h3,
.approved-quick-card h3,
.parish-card h2,.parish-card h3,
.mass-card h2,.mass-card h3,
.luogo-card h2,.luogo-card h3,
.featured-card h2,.featured-card h3,
.weekly-topic h2{
  font-size:var(--cms-font-card-title)!important;
}


.main-nav>a,
.main-nav summary,
.submenu a{
  color:var(--cms-color-menu)!important;
  font-size:var(--cms-font-menu)!important;
}


.info-bar,
.section-eyebrow,
.section-subtitle,
.brand-copy small,
.footer-bottom,
.verse-reference{
  font-size:var(--cms-font-small)!important;
}


main a:not(.button):not(.btn):not(.primary-button):not(.approved-gold-button):not(.reserved-button),
.site-footer a:not(.button):not(.btn),
.text-link{
  color:var(--cms-color-links)!important;
}


.button-primary,
.primary-button,
.approved-gold-button,
.reserved-button,
.btn-gold{
  background:var(--cms-color-accent)!important;
  border-color:var(--cms-color-accent)!important;
  color:#fff!important;
}

.quick-icon,
.approved-quick-icon,
.featured-icon,
.mass-icon,
.parish-icon,
.luogo-icon{
  color:var(--cms-color-accent)!important;
}

.approved-quick-icon svg{
  stroke:var(--cms-color-accent)!important;
}

.heading-decoration span,
.heading-decoration i,
.approved-heading-mark span,
.approved-heading-mark i{
  background:var(--cms-color-accent)!important;
}


.verse-reference,
.weekly-matteo{
  color:var(--cms-color-reference)!important;
}


/* FOOTER */

.site-footer,
.site-footer p,
.site-footer address,
.site-footer .footer-bottom{
  color:var(--cms-color-footer-text)!important;
}


.appearance-preview{
  padding:28px;
  border:1px solid #e3d8c9;
  border-radius:16px;
  background:#fbf8f2;
}
.appearance-preview h2{
  margin:0 0 12px;
}
.appearance-preview p{
  margin:0 0 14px;
}
.appearance-control{
  display:grid;
  grid-template-columns:minmax(180px,1fr) minmax(220px,2fr) 90px;
  gap:16px;
  align-items:center;
  margin-bottom:16px;
}
.appearance-control input[type="range"]{
  width:100%;
}
.appearance-color-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:18px;
}
.appearance-color-field{
  display:grid;
  grid-template-columns:56px 1fr;
  gap:12px;
  align-items:center;
}
.appearance-color-field input[type="color"]{
  width:56px;
  height:44px;
  padding:2px;
  border:1px solid #d9cdbd;
  border-radius:8px;
  background:#fff;
}
@media(max-width:760px){
  .appearance-control{
    grid-template-columns:1fr;
  }
  .appearance-color-grid{
    grid-template-columns:1fr;
  }
}


:root{
  --cms-font-family-titles:"Cormorant Garamond", Garamond, Georgia, serif;
  --cms-font-family-body:"Cormorant Garamond", Garamond, Georgia, serif;
}

body,
p,
li,
a,
button,
input,
textarea,
select,
label,
address,
blockquote{
  font-family:var(--cms-font-family-body)!important;
}

h1,h2,h3,h4,h5,h6,
.section-title,
.section-heading h2,
.approved-quick-heading h2,
.welcome-content h2,
.weekly-topic h2,
.title-chiesa-viva,
.brand-copy strong,
.brand-text strong{
  font-family:var(--cms-font-family-titles)!important;
}


.appearance-font-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:18px;
  margin-bottom:28px;
}
.appearance-font-field{
  display:grid;
  gap:8px;
}
.appearance-font-field select{
  width:100%;
  min-height:46px;
  padding:9px 12px;
  border:1px solid #d9cdbd;
  border-radius:8px;
  background:#fff;
}
@media(max-width:760px){
  .appearance-font-grid{
    grid-template-columns:1fr;
  }
}



/* ===== OGGETTO: BANDIERE E LINGUE ===== */
.desktop-language-flags{
  display:flex;
  align-items:center;
  gap:10px;
  margin-left:10px;
  padding-left:14px;
  border-left:1px solid #E9DFD1;
}

.desktop-language-flags a{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:34px;
  height:34px;
  border-radius:50%;
  font-size:1.25rem;
  line-height:1;
  text-decoration:none!important;
  opacity:.72;
  transition:opacity .2s ease, transform .2s ease, background .2s ease;
}

.desktop-language-flags a:hover,
.desktop-language-flags a:focus-visible,
.desktop-language-flags a.active{
  opacity:1;
  transform:translateY(-1px);
  background:#FFF8E9;
}


@media (min-width:901px){
  .language-switcher,
  .lang-switcher,
  .lang-menu{
    display:none!important;
  }
  .desktop-language-flags{
    display:flex!important;
  }
}

@media (max-width:900px){
  .desktop-language-flags{
    display:none!important;
  }
  .language-switcher,
  .lang-switcher,
  .lang-menu{
    display:flex!important;
  }
}


/* ASPETTO AVANZATO */

:root{
--cms-font-family-titles:"Cormorant Garamond",serif;--cms-font-family-body:"Cormorant Garamond",serif;
--cms-font-family-menu:"Cormorant Garamond",serif;--cms-font-family-buttons:"Cormorant Garamond",serif;
--cms-weight-titles:500;--cms-weight-body:400;--cms-weight-menu:700;--cms-weight-buttons:600;
--cms-color-text:#111;--cms-color-titles:#111;--cms-color-subtitles:#302C28;--cms-color-menu:#111;
--cms-color-menu-active:#A9751D;--cms-color-links:#A9751D;--cms-color-button-bg:#C9952E;--cms-color-button-text:#fff;
--cms-color-icons:#A9751D;--cms-color-reference:#8A5B16;--cms-color-page-bg:#FBF8F2;--cms-color-section-bg:#fff;
--cms-color-card-bg:#fff;--cms-color-card-border:#E9DFD1;--cms-color-footer-bg:#F3EEE5;--cms-color-footer-text:#111;
--cms-color-header-bg:#fff;--cms-color-topbar-bg:#F5EFE5;--cms-space-menu-content:64px;--cms-space-title-content:30px;
--cms-space-section:64px;--cms-space-cards:24px;--cms-space-paragraphs:16px}
html,body{background:var(--cms-color-page-bg)!important}
body,p,li,address,blockquote{color:var(--cms-color-text)!important;font-family:var(--cms-font-family-body)!important;font-weight:var(--cms-weight-body)!important}
h1,h2,h3,h4,h5,h6,.section-title{color:var(--cms-color-titles)!important;font-family:var(--cms-font-family-titles)!important;font-weight:var(--cms-weight-titles)!important}
.section-subtitle,.section-eyebrow,.subtitle{color:var(--cms-color-subtitles)!important}
.main-nav>a,.main-nav summary,.submenu a{color:var(--cms-color-menu)!important;font-family:var(--cms-font-family-menu)!important;font-weight:var(--cms-weight-menu)!important}
.main-nav>a.active,.main-nav>a:hover,.main-nav summary:hover{color:var(--cms-color-menu-active)!important}
.site-header{background:var(--cms-color-header-bg)!important}.info-bar,.top-bar{background:var(--cms-color-topbar-bg)!important}
main a:not(.button):not(.btn){color:var(--cms-color-links)!important}
.button,.btn,.primary-button,.approved-gold-button,.reserved-button{font-family:var(--cms-font-family-buttons)!important;font-weight:var(--cms-weight-buttons)!important}
.primary-button,.approved-gold-button,.reserved-button,.btn-gold,.button-primary{background:var(--cms-color-button-bg)!important;border-color:var(--cms-color-button-bg)!important;color:var(--cms-color-button-text)!important}
.quick-icon,.featured-icon,.mass-icon,.parish-icon,.luogo-icon{color:var(--cms-color-icons)!important}
.verse-reference,.weekly-matteo{color:var(--cms-color-reference)!important}
.card,.quick-card,.approved-quick-card,.parish-card,.mass-card,.luogo-card,.featured-card{background:var(--cms-color-card-bg)!important;border-color:var(--cms-color-card-border)!important}
.site-footer{background:var(--cms-color-footer-bg)!important;color:var(--cms-color-footer-text)!important}
body>main,.site-main{padding-top:var(--cms-space-menu-content)!important}
.section-title,.section-heading h2,.welcome-content h2{margin-bottom:var(--cms-space-title-content)!important}
section+section{margin-top:var(--cms-space-section)!important}
.quick-grid,.approved-quick-grid,.cards-grid{gap:var(--cms-space-cards)!important}
p+p{margin-top:var(--cms-space-paragraphs)!important}
.appearance-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.appearance-field{display:grid;gap:6px}
.appearance-field select,.appearance-field input{min-height:42px}.appearance-range{display:grid;grid-template-columns:1fr 2fr 80px;gap:12px;align-items:center;margin:12px 0}
.appearance-colors{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.appearance-colors label{display:grid;grid-template-columns:52px 1fr;gap:10px;align-items:center}
.appearance-colors input{width:52px;height:40px}.appearance-tabs{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:20px}.appearance-tabs button{padding:8px 12px;border-radius:999px;border:1px solid #ddd;background:#fff}.appearance-tabs .active{background:#C9952E;color:#fff}.appearance-pane{display:none}.appearance-pane.active{display:block}
@media(max-width:700px){.appearance-grid,.appearance-colors{grid-template-columns:1fr}.appearance-range{grid-template-columns:1fr}}


/* ===== HOMEPAGE: HEADER DEFINITIVO DESKTOP ===== */
@media (min-width: 901px) {
  .site-header .header-inner,
  .site-header .container {
    display:flex!important;
    align-items:center!important;
    justify-content:space-between!important;
    gap:20px!important;
    flex-wrap:nowrap!important;
  }

  .site-header .brand,
  .site-header .brand-wrap {
    flex:0 0 auto!important;
    min-width:250px!important;
  }

  .site-header .main-nav {
    display:flex!important;
    align-items:center!important;
    justify-content:flex-end!important;
    gap:22px!important;
    flex-wrap:nowrap!important;
    white-space:nowrap!important;
    min-width:0!important;
  }

  .site-header .main-nav > a,
  .site-header .main-nav > details,
  .site-header .main-nav > .reserved-button {
    flex:0 0 auto!important;
    white-space:nowrap!important;
  }

  .site-header .main-nav > a:not(.reserved-button):not(.header-mass-button),
  .site-header .main-nav summary {
    font-size:15px!important;
    line-height:1.1!important;
    padding:10px 0!important;
  }
}

/* ===== HOMEPAGE: BANDIERE DESKTOP SVG ===== */
.home-language-flags{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:14px!important;
  flex:0 0 auto!important;
  margin:0 2px 0 0!important;
  padding:0 0 0 18px!important;
  border-left:1px solid #E8DDCE!important;
}

.home-language-flags a{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:30px!important;
  height:24px!important;
  padding:0!important;
  margin:0!important;
  border:0!important;
  background:transparent!important;
  box-shadow:none!important;
  text-decoration:none!important;
  opacity:.82!important;
  transition:opacity .2s ease, transform .2s ease!important;
}

.home-language-flags a:hover,
.home-language-flags a:focus-visible,
.home-language-flags a.active{
  opacity:1!important;
  transform:translateY(-1px)!important;
}

.home-language-flags svg{
  display:block!important;
  width:28px!important;
  height:19px!important;
  border-radius:1px!important;
  box-shadow:0 0 0 1px rgba(0,0,0,.08)!important;
}

/* ===== HOMEPAGE: PULSANTE AREA RISERVATA ===== */
.site-header .reserved-button{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-height:50px!important;
  padding:0 22px!important;
  border-radius:8px!important;
  background:#D39B25!important;
  border:1px solid #D39B25!important;
  color:#111111!important;
  font-size:15px!important;
  font-weight:600!important;
}

/* ===== HOMEPAGE: PULSANTE ORARI HEADER ===== */
.header-mass-button{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:9px!important;
  min-height:50px!important;
  padding:0 20px!important;
  border-radius:8px!important;
  background:#C38D20!important;
  border:1px solid #C38D20!important;
  color:#111111!important;
  font-size:15px!important;
  font-weight:600!important;
  text-decoration:none!important;
}

.header-mass-icon{
  display:inline-flex!important;
  width:18px!important;
  height:18px!important;
}

.header-mass-icon svg{
  width:18px!important;
  height:18px!important;
  fill:none!important;
  stroke:currentColor!important;
  stroke-width:2!important;
  stroke-linecap:round!important;
  stroke-linejoin:round!important;
}

/* ===== HOMEPAGE: PULSANTE ORARI HERO DEFINITIVO ===== */
.hero-mass-button{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:18px!important;
  min-width:360px!important;
  min-height:86px!important;
  padding:18px 34px!important;
  margin:0 auto!important;
  border:2px solid #F1D783!important;
  border-radius:12px!important;
  background:linear-gradient(135deg,#DEA822 0%,#F0B51D 100%)!important;
  color:#111111!important;
  font-family:"Cormorant Garamond",Garamond,Georgia,serif!important;
  font-size:2rem!important;
  font-weight:600!important;
  line-height:1!important;
  text-decoration:none!important;
  box-shadow:0 8px 18px rgba(74,53,13,.24)!important;
}

.hero-mass-button:hover,
.hero-mass-button:focus-visible{
  background:linear-gradient(135deg,#E5AE24 0%,#F4BD2B 100%)!important;
  color:#111111!important;
  transform:translateY(-2px)!important;
}

.hero-mass-icon{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:38px!important;
  height:38px!important;
  flex:0 0 38px!important;
  color:#111111!important;
}

.hero-mass-icon svg{
  width:38px!important;
  height:38px!important;
  fill:none!important;
  stroke:currentColor!important;
  stroke-width:2.2!important;
  stroke-linecap:round!important;
  stroke-linejoin:round!important;
}

/* Evita che regole dinamiche rendano il testo oro */
.hero-mass-button,
.hero-mass-button span,
.hero-mass-button svg,
.header-mass-button,
.header-mass-button span,
.header-mass-button svg{
  color:#111111!important;
}

/* Mobile */
@media (max-width: 900px) {
  .home-language-flags{
    display:none!important;
  }

  .hero-mass-button{
    min-width:280px!important;
    min-height:70px!important;
    padding:15px 24px!important;
    font-size:1.6rem!important;
  }

  .hero-mass-icon,
  .hero-mass-icon svg{
    width:30px!important;
    height:30px!important;
  }
}


/* ===== HOMEPAGE: POSIZIONE LOGO / DISTACCO DAL MENU ===== */
@media (min-width: 901px) {

  /* L'header usa quasi tutta la larghezza dello schermo:
     il logo si sposta verso sinistra. */
  .site-header .container.header-inner {
    width: min(calc(100% - 40px), 1480px) !important;
    max-width: 1480px !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  /* Mantiene il nome della Parrocchia compatto e crea
     un vero spazio prima dell'inizio del menu. */
  .site-header .brand {
    min-width: 270px !important;
    margin-right: 34px !important;
    flex-shrink: 0 !important;
  }

  .site-header .brand-copy strong {
    white-space: nowrap !important;
  }

  .site-header .main-nav {
    margin-left: 0 !important;
    flex: 1 1 auto !important;
  }
}

/* Desktop medio: mantiene tutto su una riga anche intorno a 1200–1300 px */
@media (min-width: 901px) and (max-width: 1300px) {

  .site-header .container.header-inner {
    width: calc(100% - 32px) !important;
  }

  .site-header .brand {
    min-width: 250px !important;
    margin-right: 24px !important;
  }

  .site-header .main-nav {
    gap: 14px !important;
  }

  .site-header .main-nav > a:not(.reserved-button):not(.header-mass-button),
  .site-header .main-nav summary {
    font-size: 13px !important;
  }

  .site-header .reserved-button {
    padding-left: 16px !important;
    padding-right: 16px !important;
    font-size: 13px !important;
  }

  .home-language-flags {
    gap: 9px !important;
    padding-left: 12px !important;
  }

  .home-language-flags a {
    width: 27px !important;
  }

  .home-language-flags svg {
    width: 25px !important;
    height: 17px !important;
  }

  .header-mass-button {
    padding-left: 14px !important;
    padding-right: 14px !important;
    font-size: 13px !important;
  }
}


/* ===== OGGETTO: GRECA INFERIORE ACCESSI RAPIDI ===== */
.quick-bottom-greek{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:8px!important;
  width:100%!important;
  margin:32px auto 0!important;
}

.quick-bottom-greek span{
  display:block!important;
  width:38px!important;
  height:1px!important;
  background:#C9952E!important;
}

.quick-bottom-greek i{
  display:block!important;
  width:9px!important;
  height:9px!important;
  background:#C9952E!important;
  transform:rotate(45deg)!important;
}

@media(max-width:520px){
  .quick-bottom-greek{
    margin-top:26px!important;
  }

  .quick-bottom-greek span{
    width:30px!important;
  }

  .quick-bottom-greek i{
    width:8px!important;
    height:8px!important;
  }
}




/* ===== OGGETTO: DISTACCO ACCESSI RAPIDI -> BENVENUTO ===== */
/* Desktop: 30px reali tra la greca inferiore e il contenuto del Benvenuto. */
@media (min-width: 901px) {
  .approved-quick-links{
    padding-bottom:0!important;
  }

  .approved-quick-links + .welcome.section{
    margin-top:0!important;
    padding-top:30px!important;
  }
}

/* Tablet e smartphone: manteniamo un piccolo respiro. */
@media (max-width: 900px) {
  .approved-quick-links{
    padding-bottom:18px!important;
  }

  .approved-quick-links + .welcome.section{
    margin-top:0!important;
    padding-top:24px!important;
  }
}

@media (max-width: 520px) {
  .approved-quick-links{
    padding-bottom:14px!important;
  }

  .approved-quick-links + .welcome.section{
    padding-top:20px!important;
  }
}


/* ===== OGGETTO: IMMAGINE SEZIONE BENVENUTO ===== */
.welcome.section .large-photo{
  overflow:hidden!important;
  border-radius:18px!important;
  padding:10px!important;
}

.welcome.section .large-photo img{
  display:block!important;
  width:100%!important;
  height:560px!important;
  min-height:0!important;
  object-fit:cover!important;
  object-position:center 18%!important;
  border-radius:12px!important;
}

@media (max-width:900px){
  .welcome.section .large-photo img{
    height:520px!important;
  }
}

@media (max-width:520px){
  .welcome.section .large-photo img{
    height:430px!important;
  }
}


/* ===== OGGETTO: TESTI SEZIONE BENVENUTO ===== */
.welcome.section .eyebrow,
.welcome.section .kicker,
.welcome.section .welcome-kicker,
.welcome.section .section-kicker{
  font-size:1.28rem!important;
  line-height:1.2!important;
  letter-spacing:.06em!important;
  text-transform:none!important;
  font-variant:normal!important;
  color:#C8A44D!important;
  font-weight:700!important;
}

.welcome.section h2{
  font-size:clamp(2.15rem,3.15vw,3.25rem)!important;
  line-height:1.04!important;
  margin-bottom:22px!important;
}

.welcome.section .welcome-priest-text{
  margin:0!important;
  font-size:1.08rem!important;
  line-height:1.78!important;
  max-width:680px!important;
}

.welcome.section .welcome-priest-signature{
  margin:24px 0 0!important;
  font-size:1.12rem!important;
  line-height:1.3!important;
  font-style:italic!important;
  font-weight:600!important;
  color:#A9751D!important;
}

@media(max-width:900px){
  .welcome.section h2{
    font-size:clamp(2rem,6vw,2.8rem)!important;
  }

  .welcome.section .welcome-priest-text{
    font-size:1.02rem!important;
    line-height:1.72!important;
  }
}

@media(max-width:520px){
  .welcome.section .eyebrow,
  .welcome.section .kicker,
  .welcome.section .welcome-kicker,
  .welcome.section .section-kicker{
    font-size:1.05rem!important;
  }

  .welcome.section h2{
    font-size:2.1rem!important;
  }
}

/* ===== OGGETTO: DISTACCO BENVENUTI -> SEZIONE SUCCESSIVA ===== */
/* 70px reali tra la greca finale di Benvenuti e la sezione seguente. */
@media (min-width: 901px) {
  .welcome.section {
    padding-bottom: 0 !important;
  }

  .welcome.section .welcome-bottom-greek {
    margin-bottom: 0 !important;
  }

  .welcome.section + .life.section {
    margin-top: 0 !important;
    padding-top: 70px !important;
  }
}


/* ===== OGGETTO: SEZIONE LA VITA DELLA COMUNITÀ ===== */
/* Sfondo uniforme con la sezione Benvenuti. */
.life.section.section-soft{
  background:var(--background)!important;
  border-top:0!important;
  border-bottom:0!important;
}

/* "La vita della comunità" uguale a "Benvenuti". */
.life.section .section-heading .eyebrow{
  font-size:1.28rem!important;
  line-height:1.2!important;
  letter-spacing:.06em!important;
  text-transform:none!important;
  font-variant:normal!important;
  color:#C8A44D!important;
  font-weight:700!important;
}

/* Titolo della stessa grandezza del titolo della sezione Benvenuti. */
.life.section .section-heading h2{
  font-size:clamp(2.15rem,3.15vw,3.25rem)!important;
  line-height:1.04!important;
}

@media(max-width:900px){
  .life.section .section-heading h2{
    font-size:clamp(2rem,6vw,2.8rem)!important;
  }
}

@media(max-width:520px){
  .life.section .section-heading .eyebrow{
    font-size:1.05rem!important;
  }

  .life.section .section-heading h2{
    font-size:2.1rem!important;
  }
}


/* ===== OGGETTO: LOGO PARROCCHIA NEL MENU E NEL FOOTER ===== */
.parish-logo{
  display:block!important;
  object-fit:contain!important;
  object-position:center!important;
  flex:0 0 auto!important;
}

/* Logo del menu: leggermente più grande del simbolo precedente. */
.site-header .parish-logo-header{
  width:60px!important;
  height:60px!important;
}

/* Il testo resta ben allineato al centro del logo. */
.site-header .brand{
  align-items:center!important;
  gap:14px!important;
}

/* Logo del footer: più evidente rispetto a quello del menu. */
.site-footer .parish-logo-footer{
  width:78px!important;
  height:78px!important;
}

.site-footer .footer-brand{
  align-items:center!important;
  gap:16px!important;
}

@media (max-width:1300px) and (min-width:901px){
  .site-header .parish-logo-header{
    width:56px!important;
    height:56px!important;
  }

  .site-header .brand{
    gap:11px!important;
  }
}

@media (max-width:900px){
  .site-header .parish-logo-header{
    width:54px!important;
    height:54px!important;
  }

  .site-footer .parish-logo-footer{
    width:70px!important;
    height:70px!important;
  }
}

@media (max-width:520px){
  .site-header .parish-logo-header{
    width:50px!important;
    height:50px!important;
  }

  .site-footer .parish-logo-footer{
    width:66px!important;
    height:66px!important;
  }
}


/* ===== HOMEPAGE: VITA DELLA COMUNITA — GRIGLIA 2x2 RETTANGOLARE ===== */
/*
 * Unica regola sorgente per i quattro riquadri della vita della comunità.
 * Desktop/tablet: 2 colonne x 2 righe, ogni riquadro è rettangolare.
 * Smartphone: una sola colonna, quattro riquadri uno sotto l'altro.
 * Nessuna ombra, velatura o testo sovrapposto.
 */
.life.section .life-grid.life-grid-2x2{
  width:min(100%,1040px)!important;
  margin:0 auto!important;
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  grid-auto-rows:auto!important;
  gap:10px!important;
  padding:0!important;
  background:transparent!important;
}
.life.section .life-grid.life-grid-2x2 > .life-card{
  position:relative!important;
  display:block!important;
  width:100%!important;
  max-width:none!important;
  height:auto!important;
  min-width:0!important;
  min-height:0!important;
  aspect-ratio:16 / 10!important;
  margin:0!important;
  padding:0!important;
  grid-column:auto!important;
  grid-row:auto!important;
  grid-area:auto!important;
  align-self:stretch!important;
  justify-self:stretch!important;
  overflow:hidden!important;
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
  background:transparent!important;
}
.life.section .life-grid.life-grid-2x2 > .life-card::before,
.life.section .life-grid.life-grid-2x2 > .life-card::after,
.life.section .life-grid.life-grid-2x2 > .life-card .life-card-overlay,
.life.section .life-grid.life-grid-2x2 > .life-card .life-card-copy{
  content:none!important;
  display:none!important;
}
.life.section .life-grid.life-grid-2x2 > .life-card img{
  display:block!important;
  width:100%!important;
  height:100%!important;
  min-height:0!important;
  max-width:none!important;
  aspect-ratio:auto!important;
  object-fit:cover!important;
  object-position:center center!important;
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
  filter:none!important;
  opacity:1!important;
  transform:none!important;
  transition:none!important;
}
.life.section .life-grid.life-grid-2x2 > .life-card:hover img,
.life.section .life-grid.life-grid-2x2 > .life-card:focus img,
.life.section .life-grid.life-grid-2x2 > .life-card:focus-visible img{
  transform:none!important;
  filter:none!important;
  opacity:1!important;
}
@media(max-width:720px){
  .life.section .life-grid.life-grid-2x2{
    width:100%!important;
    grid-template-columns:1fr!important;
    gap:8px!important;
  }
  .life.section .life-grid.life-grid-2x2 > .life-card{
    aspect-ratio:16 / 10!important;
  }
}

/* ===== HOMEPAGE: VITA LITURGICA COME BENVENUTI ===== */
.weekly.section .weekly-eyebrow{
  font-size:1.28rem!important;
  line-height:1.2!important;
  letter-spacing:.06em!important;
  text-transform:none!important;
  font-variant:normal!important;
  font-weight:700!important;
  color:#C8A44D!important;
}

@media(max-width:520px){
  .weekly.section .weekly-eyebrow{
    font-size:1.05rem!important;
  }
}


/* ===== HOMEPAGE: SFONDO UPM UGUALE ALLA HOMEPAGE ===== */
.upm-home.section-soft{
  background:var(--background)!important;
  border-top-color:transparent!important;
  border-bottom-color:transparent!important;
}

/* ===== HOMEPAGE: VIDEO LOCANDINE MP4 ===== */
.video-posters.section{
  background:var(--home-cream)!important;
  padding-top:72px!important;
  padding-bottom:72px!important;
}

.video-posters-heading{
  max-width:780px;
  margin:0 auto 34px;
  text-align:center;
}

.video-posters-eyebrow{
  color:#C8A44D!important;
  font-size:1.28rem!important;
  font-weight:700!important;
  line-height:1.2!important;
  letter-spacing:.06em!important;
  text-transform:none!important;
}

.video-posters-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:26px;
}

.video-poster-card{
  overflow:hidden;
  border:1px solid rgba(201,149,46,.25);
  border-radius:22px;
  background:#fff;
  box-shadow:0 12px 32px rgba(0,0,0,.08);
}

.video-poster-card video{
  display:block;
  width:100%;
  aspect-ratio:9/16;
  max-height:620px;
  object-fit:cover;
  background:#111;
}

.video-poster-copy{
  padding:20px 22px 24px;
}

.video-poster-date{
  margin:0 0 6px;
  color:#A9751D;
  font-weight:700;
  font-size:.92rem;
}

.video-poster-copy h3{
  margin:0;
  color:#111;
  font-family:var(--title);
  font-size:1.55rem;
  line-height:1.15;
}

.video-posters-empty{
  grid-column:1/-1;
  max-width:760px;
  margin:0 auto;
  padding:34px 28px;
  text-align:center;
  border:1px solid rgba(201,149,46,.30);
  border-radius:22px;
  background:#FCFAF5;
}

.video-posters-play{
  display:grid;
  place-items:center;
  width:58px;
  height:58px;
  margin:0 auto 16px;
  padding-left:4px;
  border:2px solid #C9952E;
  border-radius:50%;
  color:#C9952E;
  font-size:1.25rem;
}

.video-posters-empty h3{
  margin:0 0 8px;
  color:#111;
  font-family:var(--title);
  font-size:1.7rem;
}

.video-posters-empty p{
  margin:0;
}

@media(max-width:900px){
  .video-posters.section{
    padding-top:58px!important;
    padding-bottom:58px!important;
  }
  .video-posters-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}

@media(max-width:620px){
  .video-posters.section{
    padding-top:46px!important;
    padding-bottom:46px!important;
  }
  .video-posters-eyebrow{
    font-size:1.05rem!important;
  }
  .video-posters-grid{
    grid-template-columns:1fr;
  }
  .video-posters-empty{
    padding:28px 20px;
  }
}


/* ===== HOMEPAGE: EVENTI IN PARROCCHIA ===== */
.parish-events.section{
  position:relative;
  overflow:hidden;
  background:var(--home-cream)!important;
}

.parish-events.section::before,
.parish-events.section::after{
  content:none!important;
  display:none!important;
}

.parish-events-heading{
  position:relative;
  z-index:1;
  margin-bottom:28px;
}

.parish-events-heading h2{
  margin-bottom:12px;
}

.parish-events-intro{
  max-width:680px;
  margin:0 auto;
  font-size:1.05rem;
}

.parish-events-shell{
  position:relative;
  z-index:1;
  max-width:980px;
  margin:0 auto;
  padding:34px 38px 38px;
  border:1px solid rgba(201,149,46,.28);
  border-radius:28px;
  background:rgba(255,255,255,.58);
  box-shadow:0 18px 50px rgba(35,30,20,.07);
  backdrop-filter:blur(3px);
}

.parish-events-topline{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:9px;
  margin:0 auto 24px;
}

.parish-events-topline span{
  width:46px;
  height:1px;
  background:#C9952E;
}

.parish-events-topline i{
  width:9px;
  height:9px;
  background:#C9952E;
  transform:rotate(45deg);
}

.parish-events-kinds{
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:12px;
  margin-bottom:26px;
}

.parish-events-kinds span{
  display:inline-flex;
  align-items:center;
  gap:7px;
  padding:8px 14px;
  border:1px solid rgba(201,149,46,.26);
  border-radius:999px;
  background:#fff;
  color:#29251f;
  font-size:.93rem;
  font-weight:700;
  box-shadow:0 5px 16px rgba(0,0,0,.035);
}

.parish-events-kinds b{
  color:#C9952E;
  font-size:.75rem;
}

.parish-events-empty{
  max-width:720px;
  padding:38px 34px;
  border:0;
  background:linear-gradient(145deg,#fff 0%,#FCF8EF 100%);
  box-shadow:inset 0 0 0 1px rgba(201,149,46,.20),0 12px 30px rgba(0,0,0,.045);
}

.parish-events-empty .video-posters-play{
  width:66px;
  height:66px;
  margin-bottom:18px;
  background:#fff;
  box-shadow:0 8px 20px rgba(201,149,46,.14);
}

.parish-events-label{
  margin:0 0 8px!important;
  color:#A9751D;
  font-size:.82rem;
  font-weight:800;
  letter-spacing:.14em;
  text-transform:uppercase;
}

.parish-events-empty h3{
  max-width:600px;
  margin:0 auto 12px;
  font-size:1.85rem;
  line-height:1.14;
}

.parish-events-empty > p:last-child{
  max-width:610px;
  margin:0 auto;
}

.parish-events-actions{
  display:flex;
  justify-content:center;
  margin-top:26px;
}

.parish-events-actions .button{
  min-width:210px;
}

@media(max-width:700px){
  .parish-events-shell{
    padding:28px 18px 30px;
    border-radius:22px;
  }

  .parish-events-kinds{
    gap:8px;
  }

  .parish-events-kinds span{
    padding:7px 11px;
    font-size:.86rem;
  }

  .parish-events-empty{
    padding:30px 20px;
  }

  .parish-events-empty h3{
    font-size:1.55rem;
  }
}

/* Riduce il distacco tra la greca sotto la Settimana religiosa e la sezione Eventi in Parrocchia. */
.weekly.section{
  padding-bottom:10px!important;
}

.weekly.section + .parish-events.section{
  padding-top:14px!important;
}

@media(max-width:900px){
  .weekly.section{
    padding-bottom:8px!important;
  }

  .weekly.section + .parish-events.section{
    padding-top:12px!important;
  }
}


/* ===== HOMEPAGE: PRIMO VIDEO EVENTO PARROCCHIALE ===== */
.parish-events-grid{
  display:flex!important;
  justify-content:center!important;
  grid-template-columns:none!important;
}

.parish-event-video-card{
  width:min(100%,360px);
  margin:0 auto;
  border-color:rgba(201,149,46,.34);
  box-shadow:0 18px 42px rgba(35,30,20,.11);
}

.parish-event-video-wrap{
  background:#111;
}

.parish-event-video-card video{
  display:block;
  width:100%;
  height:auto;
  aspect-ratio:9/16;
  max-height:none;
  object-fit:contain;
  background:#000;
}

/* Mantiene il video intero e senza deformazioni anche in modalità schermo intero. */
.parish-event-video-card video:fullscreen{
  width:100vw!important;
  height:100vh!important;
  max-width:none!important;
  max-height:none!important;
  aspect-ratio:auto!important;
  object-fit:contain!important;
  background:#000!important;
}

.parish-event-video-card video:-webkit-full-screen{
  width:100vw!important;
  height:100vh!important;
  max-width:none!important;
  max-height:none!important;
  aspect-ratio:auto!important;
  object-fit:contain!important;
  background:#000!important;
}

.parish-event-video-copy{
  text-align:left;
  padding:22px 24px 26px;
}

.parish-event-video-copy h3{
  margin-bottom:10px;
}

.parish-event-video-copy > p:last-child{
  margin:0;
  color:#5d574e;
  line-height:1.65;
}

@media(max-width:620px){
  .parish-event-video-card{
    width:min(100%,340px);
  }

  .parish-event-video-copy{
    padding:18px 18px 22px;
  }
}


/* ===== HOMEPAGE: EVENTI - GALLERIA DINAMICA JPG / MP4 ===== */
/* La sezione non ha altezza fissa: cresce automaticamente con il numero di card. */
.parish-events-shell{
  height:auto!important;
  min-height:0!important;
}

/* Griglia fluida: aggiungendo card vengono create automaticamente nuove colonne/righe. */
.parish-events-grid{
  display:grid!important;
  grid-template-columns:repeat(auto-fit,minmax(min(100%,250px),1fr))!important;
  align-items:start!important;
  gap:26px!important;
  width:100%!important;
  height:auto!important;
}

/* Con un solo elemento evitiamo che diventi eccessivamente largo su desktop. */
.parish-events-grid > .parish-event-card:only-child{
  width:min(100%,360px)!important;
  justify-self:center!important;
}

.parish-event-card{
  min-width:0;
  overflow:hidden;
  border:1px solid rgba(201,149,46,.30);
  border-radius:22px;
  background:#fff;
  box-shadow:0 14px 34px rgba(35,30,20,.08);
}

/* Contenitore comune per immagini e video: conserva le proporzioni del file senza ritagliarlo. */
.parish-event-media{
  display:flex;
  align-items:center;
  justify-content:center;
  width:100%;
  background:#111;
  overflow:hidden;
}

.parish-event-media img,
.parish-event-media video{
  display:block;
  width:100%;
  height:auto;
  max-height:620px;
  object-fit:contain!important;
  background:#000;
}

/* Le locandine immagine sono interamente visibili e cliccabili. */
.parish-event-card-image .parish-event-media{
  background:#f5f1e8;
}

.parish-event-card-image .parish-event-media img{
  background:#f5f1e8;
}

/* I video verticali mantengono il formato 9:16 nella card. */
.parish-event-card-video .parish-event-media video{
  aspect-ratio:9/16;
}

/* Fullscreen: nessuna deformazione o ritaglio. */
.parish-event-card video:fullscreen,
.parish-event-card video:-webkit-full-screen{
  width:100vw!important;
  height:100vh!important;
  max-width:none!important;
  max-height:none!important;
  aspect-ratio:auto!important;
  object-fit:contain!important;
  background:#000!important;
}

.parish-event-copy{
  padding:20px 22px 24px;
  text-align:left;
}

.parish-event-meta{
  margin:0 0 6px;
  color:#A9751D;
  font-size:.9rem;
  font-weight:700;
}

.parish-event-copy h3{
  margin:0 0 9px;
  color:#111;
  font-family:var(--title);
  font-size:1.5rem;
  line-height:1.15;
}

.parish-event-copy > p:last-child{
  margin:0;
  color:#5d574e;
  line-height:1.6;
}

@media(max-width:900px){
  .parish-events-grid{
    grid-template-columns:repeat(auto-fit,minmax(min(100%,230px),1fr))!important;
    gap:20px!important;
  }
}

@media(max-width:620px){
  .parish-events-grid{
    grid-template-columns:1fr!important;
    gap:18px!important;
  }

  .parish-events-grid > .parish-event-card,
  .parish-events-grid > .parish-event-card:only-child{
    width:min(100%,360px)!important;
    justify-self:center!important;
  }

  .parish-event-copy{
    padding:18px 18px 21px;
  }
}


/* ===== HOMEPAGE: CARD UPM ARROTONDATA E PULSANTI VISIBILI ===== */
.upm-home .upm-home-grid{
  background:#FFFFFF!important;
  border:1px solid rgba(200,164,77,.28)!important;
  border-radius:28px!important;
  padding:30px!important;
  box-shadow:0 14px 34px rgba(31,31,31,.08)!important;
}

.upm-home .upm-home-image{
  border-radius:22px!important;
  overflow:hidden!important;
  background:#f5eee4!important;
  border:1px solid rgba(200,164,77,.22)!important;
  box-shadow:none!important;
}

.upm-home .upm-home-image img{
  width:100%!important;
  height:auto!important;
  min-height:0!important;
  aspect-ratio:4 / 3!important;
  object-fit:contain!important;
  object-position:center!important;
  border-radius:16px!important;
}

.upm-home .upm-home-copy h2{
  font-size:clamp(1.8rem,3vw,2.65rem)!important;
  line-height:1.08!important;
}

.upm-home .upm-home-actions .button-light{
  color:#171717!important;
  background:#FFFFFF!important;
  border:1.5px solid #C8A44D!important;
  box-shadow:0 5px 14px rgba(31,31,31,.08)!important;
}

.upm-home .upm-home-actions .button-light:hover,
.upm-home .upm-home-actions .button-light:focus{
  color:#111111!important;
  background:#F8F1E5!important;
  border-color:#A9751D!important;
}

@media(max-width:900px){
  .upm-home .upm-home-grid{
    padding:22px!important;
    border-radius:22px!important;
  }
}

@media(max-width:520px){
  .upm-home .upm-home-grid{
    padding:16px!important;
    border-radius:18px!important;
  }
  .upm-home .upm-home-copy h2{
    font-size:1.75rem!important;
  }
}


/* ===== SEPARATORI HOMEPAGE: GRECA ORO - ROMBO - ORO ===== */
.homepage-section-greek{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:9px!important;
  width:100%!important;
  margin:0 auto!important;
  padding:8px 0!important;
  background:var(--background)!important;
}
.homepage-section-greek span{
  display:block!important;
  width:44px!important;
  height:1px!important;
  background:#C9952E!important;
}
.homepage-section-greek i{
  display:block!important;
  width:9px!important;
  height:9px!important;
  background:#C9952E!important;
  transform:rotate(45deg)!important;
}
@media(max-width:720px){
  .homepage-section-greek{padding:6px 0!important;}
  .homepage-section-greek span{width:34px!important;}
  .homepage-section-greek i{width:8px!important;height:8px!important;}
}

/* ===== PULSANTI DEL SITO: ANGOLI ARROTONDATI ===== */
.button,
.btn,
.btn-gold,
.primary-button,
.approved-gold-button,
.reserved-button,
a.button,
a.btn,
input[type="submit"],
input[type="button"],
input[type="reset"]{
  border-radius:999px!important;
}

button{
  border-radius:14px!important;
}

button.button,
button.btn,
button.btn-gold,
button.primary-button,
button.approved-gold-button,
button.reserved-button{
  border-radius:999px!important;
}

/* EVENTI IN PARROCCHIA: rimuove la linea decorativa sotto l'etichetta "In evidenza" */
.parish-events .eyebrow::after{
  display:none!important;
  content:none!important;
}

/* ===== PAGINA CHIESA PARROCCHIALE: CONTENUTO STORICO COMPLETO ===== */
.church-page-complete{background:var(--background)}
.church-complete-hero{padding-top:70px;padding-bottom:70px}
.church-complete-hero-grid{display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);gap:52px;align-items:center;margin-top:28px}
.church-complete-copy h1{font-size:clamp(2.8rem,5vw,5.2rem);line-height:.96;margin:.15em 0 .35em}
.church-complete-copy .lead{font-size:1.28rem;line-height:1.7}
.church-real-photo,.church-photo-grid figure,.church-fresco-list figure,.church-single-photo figure,.relic-photo{margin:0;background:#fff;border:1px solid rgba(201,149,46,.28);border-radius:24px;overflow:hidden;box-shadow:0 16px 36px rgba(27,22,16,.08)}
.church-real-photo img{width:100%;display:block;aspect-ratio:4/5;object-fit:cover;object-position:center}
.church-page-complete figcaption{padding:12px 16px;text-align:center;font-size:.92rem;color:#665b4b;background:#fffaf1}
.church-article{max-width:1050px;margin:0 auto}
.church-article>p{font-size:1.08rem;line-height:1.86;margin:0 0 1.25em}
.church-article h2{font-size:clamp(2rem,3.5vw,3.3rem);margin:1.15em 0 .5em}
.church-photo-grid{display:grid;gap:24px;margin:36px 0 46px}
.church-photo-grid.two{grid-template-columns:repeat(2,minmax(0,1fr))}
.church-photo-grid.three{grid-template-columns:repeat(3,minmax(0,1fr))}
.church-photo-grid img{width:100%;height:390px;display:block;object-fit:contain;background:#f7f1e7}
.church-photo-grid.three img{height:360px}
.church-single-photo{max-width:430px;margin:38px auto}
.church-single-photo img{width:100%;display:block;height:auto}
.church-frescoes{background:#fffaf1}
.church-fresco-list{display:grid;gap:28px;margin-top:38px}
.church-fresco-list figure{max-width:1000px;margin-inline:auto;width:100%}
.church-fresco-list img{width:100%;height:auto;display:block;object-fit:contain;background:#f3eee6}
.church-photo-grid.documents{max-width:760px;margin-inline:auto}
.church-photo-grid.documents img{height:520px}
.church-relic-grid{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:46px;align-items:start}
.relic-photo{position:sticky;top:120px}
.relic-photo img{width:100%;height:auto;display:block}
.church-section-greek{margin:0 auto!important}
@media(max-width:900px){.church-complete-hero-grid,.church-relic-grid{grid-template-columns:1fr}.church-real-photo{max-width:650px;margin-inline:auto}.relic-photo{position:static;max-width:430px;margin-inline:auto}.church-photo-grid.three{grid-template-columns:1fr 1fr}}
@media(max-width:620px){.church-complete-hero{padding-top:40px;padding-bottom:45px}.church-photo-grid.two,.church-photo-grid.three{grid-template-columns:1fr}.church-photo-grid img,.church-photo-grid.three img{height:auto;max-height:520px}.church-photo-grid.documents img{height:auto}.church-article>p{font-size:1rem}}


/* ===== PAGINE STORICHE RECUPERATE DAL VECCHIO SITO ===== */
.legacy-page{background:var(--background,#fbfaf6)}
.legacy-hero{padding-top:72px!important;padding-bottom:52px!important;text-align:center}
.legacy-hero .breadcrumbs{justify-content:center;margin-bottom:22px}
.legacy-hero h1{font-size:clamp(2.8rem,6vw,5rem);margin:.15em 0}
.legacy-hero> .container>p:last-child{max-width:780px;margin:0 auto;font-size:1.1rem}
.legacy-content{max-width:1080px}
.legacy-content h2{margin-top:42px;margin-bottom:14px}
.legacy-content .lead{font-size:1.24rem}
.legacy-two-col{display:grid;grid-template-columns:minmax(280px,.9fr) 1.1fr;gap:42px;align-items:center;margin:10px 0 54px}
.legacy-two-col.reverse{grid-template-columns:1.1fr minmax(280px,.9fr)}
.legacy-photo{margin:0}
.legacy-photo img{width:100%;height:auto;display:block;border-radius:24px;box-shadow:0 16px 38px rgba(30,24,17,.10)}
.legacy-photo figcaption{text-align:center;font-style:italic;margin-top:10px;color:#765a26}
.legacy-card-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;margin:28px 0}
.legacy-card{background:#fff;border:1px solid rgba(201,149,46,.28);border-radius:22px;padding:28px;box-shadow:0 10px 30px rgba(0,0,0,.05)}
.legacy-card small{color:#a9751d;font-weight:700;letter-spacing:.08em;text-transform:uppercase}
.legacy-card h2,.legacy-card h3{margin:8px 0 12px}
.legacy-hours{display:grid;gap:10px;margin:24px 0 38px}
.legacy-hours>div{display:flex;justify-content:space-between;gap:20px;padding:16px 20px;background:#fff;border:1px solid rgba(201,149,46,.25);border-radius:16px}
@media(max-width:800px){.legacy-two-col,.legacy-two-col.reverse{grid-template-columns:1fr}.legacy-card-grid{grid-template-columns:1fr}.legacy-hours>div{flex-direction:column;gap:4px}}

/* ===== PAGINE STORICHE: GRUPPI E ASSOCIAZIONI ===== */
.heritage-hero{padding:86px 0 70px;background:var(--background-soft);border-bottom:1px solid var(--border)}
.heritage-hero .container{max-width:980px;text-align:center}.heritage-hero h1{margin:.25rem 0 1rem;font-size:clamp(2.8rem,7vw,5.6rem)}
.heritage-hero p:last-child{max-width:760px;margin:0 auto;font-size:1.12rem;line-height:1.8}.heritage-hero .breadcrumbs{justify-content:center;margin-bottom:24px}
.heritage-intro-grid{display:grid;grid-template-columns:minmax(260px,420px) 1fr;gap:58px;align-items:center}.heritage-main-image{margin:0;border-radius:28px;overflow:hidden;background:#fff;box-shadow:0 18px 50px rgba(0,0,0,.08);padding:22px}.heritage-main-image img{display:block;width:100%;height:auto;max-height:460px;object-fit:contain;border-radius:18px}
.heritage-section{padding-top:70px;padding-bottom:70px}.heritage-section:nth-of-type(even){background:var(--background-soft)}.heritage-section .container{max-width:980px}.heritage-section h2{font-size:clamp(2.1rem,4vw,3.35rem);margin-bottom:22px}.heritage-section p{font-size:1.06rem;line-height:1.85}.heritage-list{margin:24px 0 0;padding-left:22px}.heritage-list li{margin:10px 0;line-height:1.7}.heritage-split{display:grid;grid-template-columns:1.25fr .75fr;gap:48px;align-items:center}.heritage-split figure{margin:0}.heritage-split img{width:100%;height:auto;border-radius:24px}.heritage-contact{padding-top:55px}.heritage-contact-box{display:flex;align-items:center;justify-content:space-between;gap:30px;padding:34px;border:1px solid rgba(201,149,46,.38);border-radius:28px;background:#fff;box-shadow:0 16px 40px rgba(0,0,0,.05)}.heritage-actions{display:flex;gap:12px;flex-wrap:wrap}.heritage-actions .button{border-radius:999px!important}
@media(max-width:820px){.heritage-intro-grid,.heritage-split{grid-template-columns:1fr}.heritage-main-image{max-width:520px;margin:0 auto}.heritage-contact-box{flex-direction:column;align-items:flex-start}.heritage-hero{padding:64px 0 50px}}

/* ===== ARCHIVIO NEWS STORICO ===== */
.archive-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px}.archive-card{background:#fff;border:1px solid rgba(200,164,77,.24);border-radius:24px;overflow:hidden;box-shadow:0 12px 28px rgba(31,31,31,.07);display:flex;flex-direction:column}.archive-card>img{width:100%;aspect-ratio:16/10;object-fit:contain;background:#fbfaf6;padding:16px}.archive-card>div{padding:24px;display:flex;flex-direction:column;align-items:flex-start;gap:12px;flex:1}.archive-card small,.archive-hero .eyebrow{color:#C8A44D;font-weight:700}.archive-card h3{margin:0;font-size:1.75rem}.archive-card p{margin:0 0 8px}.archive-hero{padding:70px 0 40px;background:var(--background)}.archive-hero h1{font-size:clamp(2.7rem,6vw,5rem);margin:.15em 0}.archive-article{display:grid;grid-template-columns:minmax(280px,.8fr) minmax(0,1.2fr);gap:44px;align-items:start}.archive-article figure{margin:0;background:#fff;border:1px solid rgba(200,164,77,.24);border-radius:24px;padding:18px}.archive-article img{width:100%;height:auto;max-height:650px;object-fit:contain;border-radius:16px}.archive-article-copy{font-size:1.12rem;line-height:1.75}.archive-article-copy p:first-child{font-size:1.25rem}.archive-article-copy .button{margin-top:16px}.button,.nav-button,.reserved-button,.header-mass-button,.button-primary,.button-light{border-radius:999px!important}@media(max-width:900px){.archive-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.archive-article{grid-template-columns:1fr}}@media(max-width:620px){.archive-grid{grid-template-columns:1fr}.archive-card h3{font-size:1.55rem}.archive-hero{padding:48px 0 26px}}


/* ===== HOMEPAGE: LITURGIA DEL GIORNO ===== */
.daily-liturgy.section{
  background:var(--background,#fbfaf6)!important;
  padding-top:58px!important;
  padding-bottom:26px!important;
}
.daily-liturgy-heading{
  text-align:center;
  max-width:820px;
  margin:0 auto 34px;
}
.daily-liturgy-heading .eyebrow{
  color:#C8A44D!important;
  font-size:1.28rem!important;
  line-height:1.2!important;
  letter-spacing:.06em!important;
  text-transform:none!important;
  font-weight:700!important;
}
.daily-liturgy-heading h2{
  color:#111!important;
  margin:.2em 0 .25em;
}
.daily-liturgy-heading>p:last-child{
  max-width:650px;
  margin:0 auto;
}
.daily-liturgy-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:24px;
  align-items:stretch;
}
.daily-liturgy-card{
  background:#fff!important;
  border:1px solid rgba(200,164,77,.28)!important;
  border-radius:26px!important;
  padding:30px 26px!important;
  box-shadow:0 12px 30px rgba(31,31,31,.07)!important;
  text-align:center;
  display:flex;
  flex-direction:column;
  align-items:center;
}
.daily-liturgy-card-featured{
  border-color:rgba(200,164,77,.55)!important;
}
.daily-liturgy-icon{
  width:74px;
  height:74px;
  border-radius:50%;
  display:grid;
  place-items:center;
  margin:0 auto 18px;
  border:1px solid rgba(200,164,77,.42);
  background:#fffaf1;
  color:#B58424;
  font-size:2rem;
  line-height:1;
}
.daily-liturgy-card h3{
  color:#111!important;
  font-size:clamp(1.55rem,2.4vw,2rem);
  margin:0 0 12px;
}
.daily-liturgy-card p{
  margin:0 auto 24px;
  line-height:1.7;
  flex:1;
}
.daily-liturgy-card .button{
  width:auto;
  max-width:100%;
  border-radius:999px!important;
  justify-content:center;
}
.daily-liturgy-card .button-light{
  color:#171717!important;
  background:#fff!important;
  border:1.5px solid #C8A44D!important;
}
.daily-liturgy-card .button-light:hover,
.daily-liturgy-card .button-light:focus{
  background:#F8F1E5!important;
  color:#111!important;
}
.daily-liturgy-bottom-greek{
  margin-top:38px!important;
  margin-bottom:0!important;
}
@media(max-width:900px){
  .daily-liturgy-grid{grid-template-columns:1fr 1fr}
  .daily-liturgy-card:last-child{grid-column:1/-1;max-width:620px;width:100%;margin-inline:auto}
}
@media(max-width:620px){
  .daily-liturgy.section{padding-top:42px!important;padding-bottom:20px!important}
  .daily-liturgy-grid{grid-template-columns:1fr;gap:18px}
  .daily-liturgy-card:last-child{grid-column:auto;max-width:none}
  .daily-liturgy-card{padding:25px 20px!important;border-radius:22px!important}
  .daily-liturgy-icon{width:66px;height:66px;font-size:1.75rem}
}

/* ===== HOMEPAGE: GRIGLIA LITURGIA COMPLETA 6 CARD ===== */
.daily-liturgy-grid{
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
}
@media(max-width:900px){
  .daily-liturgy-grid{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
  .daily-liturgy-card:last-child{
    grid-column:auto!important;
    max-width:none!important;
  }
}
@media(max-width:620px){
  .daily-liturgy-grid{
    grid-template-columns:1fr!important;
  }
}


/* ===== HOMEPAGE: DATA DINAMICA PRIMA DELLA LITURGIA ===== */
.daily-date-heading{
  text-align:center;
  margin:0 auto 28px;
}
.daily-date-heading h2{
  margin:0;
  color:#111!important;
  font-size:clamp(2rem,4vw,3.15rem)!important;
  line-height:1.08!important;
  font-weight:700!important;
}
.daily-date-heading h2::after{
  content:"";
  display:block;
  width:58px;
  height:2px;
  margin:16px auto 0;
  background:#C8A44D;
  border-radius:999px;
}
@media(max-width:620px){
  .daily-date-heading{
    margin-bottom:22px;
  }
  .daily-date-heading h2{
    font-size:clamp(1.75rem,8vw,2.35rem)!important;
  }
}


/* ===== HOMEPAGE: LITURGIA STORICA - ASSET ORIGINALI E CORREZIONI 14-08-2026 ===== */
.daily-date-heading{
  margin:0 auto 24px!important;
}
.daily-date-heading h2{
  font-size:clamp(3rem,6.2vw,5.1rem)!important;
  line-height:1!important;
  letter-spacing:-.025em!important;
}
.daily-date-heading h2::after{
  width:72px!important;
  margin-top:18px!important;
}
.daily-liturgy-heading{
  margin:0 auto 34px!important;
}
.daily-liturgy-heading .eyebrow::after{
  display:none!important;
  content:none!important;
}
.daily-liturgy-heading h2{
  font-size:clamp(2.5rem,5vw,4.25rem)!important;
  line-height:1.04!important;
  margin:.25em 0 .28em!important;
}
.daily-liturgy-grid{
  align-items:stretch!important;
}
.daily-liturgy-card{
  padding:0 0 28px!important;
  overflow:hidden!important;
}
.daily-liturgy-media{
  width:100%;
  height:215px;
  margin:0 0 24px!important;
  padding:0!important;
  overflow:hidden;
  background:#f8f2e8;
  border-bottom:1px solid rgba(200,164,77,.22);
}
.daily-liturgy-media img{
  display:block;
  width:100%;
  height:100%;
  object-fit:contain;
  object-position:center;
}
.daily-liturgy-media-portrait{
  background:#fffaf1;
}
.daily-liturgy-card>h3,
.daily-liturgy-card>p,
.daily-liturgy-card>.button{
  margin-left:26px!important;
  margin-right:26px!important;
}
.daily-liturgy-card>p{
  flex:1;
}
.daily-liturgy-card>.button{
  align-self:center;
}
.daily-saint-card{
  padding:22px!important;
  justify-content:center;
}
.daily-saint-widget{
  width:100%;
  min-height:100%;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  color:#171717;
  line-height:1.45;
  overflow:hidden;
}
.daily-saint-widget table{
  width:100%!important;
  max-width:100%!important;
  margin:0 auto!important;
  border-collapse:collapse!important;
}
.daily-saint-widget td,
.daily-saint-widget th{
  max-width:100%!important;
  padding:4px!important;
  font-family:inherit!important;
}
.daily-saint-widget img{
  max-width:100%!important;
  height:auto!important;
  border-radius:18px;
}
.daily-saint-widget a{
  color:#8a6419!important;
  font-weight:700;
}
@media(max-width:900px){
  .daily-liturgy-media{height:230px}
}
@media(max-width:620px){
  .daily-date-heading h2{
    font-size:clamp(2.55rem,12vw,3.7rem)!important;
  }
  .daily-liturgy-heading h2{
    font-size:clamp(2.2rem,10vw,3.1rem)!important;
  }
  .daily-liturgy-media{height:220px}
  .daily-liturgy-card>h3,
  .daily-liturgy-card>p,
  .daily-liturgy-card>.button{
    margin-left:20px!important;
    margin-right:20px!important;
  }
}


/* ===== HOMEPAGE: SANTO DEL GIORNO - WIDGET SANTODELGIORNO.IT ===== */
.daily-saint-card{
  justify-content:flex-start!important;
}
.santo-del-giorno-widget{
  width:100%;
  display:flex;
  justify-content:center;
}
.santo-del-giorno-box{
  width:100%;
  max-width:100%;
  box-sizing:border-box;
  margin:0;
  padding:18px;
  overflow:hidden;
  text-align:left;
  border:1px solid rgba(200,164,77,.38);
  border-radius:20px;
  background:#fffaf1;
}
.santo-del-giorno-title{
  margin:0 0 6px!important;
  text-align:center!important;
}
.santo-del-giorno-title a{
  color:#111!important;
  font-family:inherit;
  font-size:1.35rem!important;
  font-weight:700!important;
  text-decoration:none!important;
}
.santo-del-giorno-title a:hover,
.santo-del-giorno-title a:focus{
  color:#A9751D!important;
  text-decoration:underline!important;
}
.santo-del-giorno-date{
  margin:0 0 12px!important;
  padding:0!important;
  text-align:center!important;
  color:#9A7426!important;
  font-size:1rem!important;
  font-weight:600!important;
}
.santo-del-giorno-box #Immagine{
  float:none!important;
  display:block!important;
  width:auto!important;
  max-width:100%!important;
  height:auto!important;
  max-height:190px!important;
  margin:0 auto 14px!important;
  border-radius:14px!important;
  object-fit:contain!important;
}
.santo-del-giorno-box #SantoDelGiorno{
  clear:both!important;
  margin:0!important;
  padding:0!important;
  color:#222!important;
  font-size:1rem!important;
  line-height:1.55!important;
  text-align:center!important;
}
.santo-del-giorno-box #SantoDelGiorno i{
  display:block!important;
  margin-top:4px!important;
}
.santo-del-giorno-credit{
  margin-top:12px!important;
  text-align:center!important;
}
.santo-del-giorno-credit a{
  color:#9A7426!important;
  font-size:.9rem!important;
}
@media(max-width:620px){
  .santo-del-giorno-box{
    padding:14px;
    border-radius:16px;
  }
  .santo-del-giorno-title a{
    font-size:1.2rem!important;
  }
  .santo-del-giorno-box #Immagine{
    max-height:165px!important;
  }
}


/* ============================================================
   AREA RISERVATA — RESTYLING 2026
   Identità: nero, oro, avorio
   ============================================================ */
:root{
  --admin-black:#151515;
  --admin-black-soft:#22211f;
  --admin-gold:#c8a44d;
  --admin-gold-dark:#a77f28;
  --admin-ivory:#fbfaf6;
  --admin-ivory-deep:#f3efe6;
  --admin-line:#e5dcc8;
  --admin-copy:#55514a;
  --admin-shadow:0 18px 48px rgba(22,20,16,.10);
  --admin-shadow-soft:0 10px 28px rgba(22,20,16,.07);
}

.admin-body{
  min-height:100vh;
  margin:0;
  color:var(--admin-copy);
  background:
    radial-gradient(circle at 100% 0,rgba(200,164,77,.08),transparent 30rem),
    var(--admin-ivory);
}
.admin-shell{
  display:grid;
  grid-template-columns:286px minmax(0,1fr);
  min-height:100vh;
}
.admin-sidebar{
  position:sticky;
  top:0;
  z-index:100;
  height:100vh;
  overflow-y:auto;
  padding:26px 20px 24px;
  color:#fff;
  background:
    linear-gradient(180deg,rgba(200,164,77,.08),transparent 230px),
    var(--admin-black);
  border-right:1px solid rgba(200,164,77,.34);
  box-shadow:8px 0 30px rgba(0,0,0,.08);
}
.admin-sidebar .brand{
  display:flex;
  align-items:center;
  gap:13px;
  min-height:auto;
  padding:4px 5px 22px;
  color:#fff;
  border-bottom:1px solid rgba(255,255,255,.10);
}
.admin-sidebar .brand img,
.admin-sidebar .parish-logo{
  width:54px;
  height:54px;
  flex:0 0 54px;
  padding:3px;
  object-fit:contain;
  background:#fff;
  border:1px solid rgba(200,164,77,.45);
  border-radius:50%;
}
.admin-sidebar .brand-mark{
  position:relative;
  display:block;
  width:50px;
  height:50px;
  flex:0 0 50px;
  border:1px solid rgba(200,164,77,.6);
  border-radius:50%;
  background:rgba(255,255,255,.04);
}
.admin-sidebar .brand-mark .cross-vertical,
.admin-sidebar .brand-mark .cross-horizontal{
  position:absolute;
  display:block;
  background:var(--admin-gold);
  border-radius:999px;
}
.admin-sidebar .brand-mark .cross-vertical{width:2px;height:25px;left:24px;top:12px}
.admin-sidebar .brand-mark .cross-horizontal{width:17px;height:2px;left:16px;top:20px}
.admin-sidebar .brand-copy{
  display:grid;
  gap:1px;
  min-width:0;
  line-height:1.15;
}
.admin-sidebar .brand-copy strong{color:#fff;font-size:1.12rem;font-weight:700}
.admin-sidebar .brand-copy small{color:var(--admin-gold);font-size:.78rem;letter-spacing:.04em}
.admin-user-box{
  position:relative;
  display:grid;
  gap:2px;
  margin:22px 0 18px;
  padding:16px 16px 16px 18px;
  overflow:hidden;
  background:rgba(255,255,255,.055);
  border:1px solid rgba(255,255,255,.09);
  border-radius:18px;
}
.admin-user-box::before{
  position:absolute;inset:0 auto 0 0;width:3px;content:"";background:var(--admin-gold)
}
.admin-user-box small{
  color:#bfb8aa;font-size:.72rem;letter-spacing:.08em;text-transform:uppercase
}
.admin-user-box strong{color:#fff;font-size:1.02rem}

.admin-nav{display:grid;gap:5px}
.admin-nav a{
  position:relative;
  display:flex;
  align-items:center;
  min-height:46px;
  padding:10px 14px 10px 17px;
  color:#d8d4cc;
  font-size:.94rem;
  font-weight:600;
  line-height:1.25;
  border:1px solid transparent;
  border-radius:14px;
  transition:background .18s ease,color .18s ease,border-color .18s ease,transform .18s ease;
}
.admin-nav a::before{
  width:6px;height:6px;margin-right:11px;flex:0 0 6px;content:"";
  background:#77736d;border-radius:50%;
  transition:background .18s ease,box-shadow .18s ease;
}
.admin-nav a:hover{
  color:#fff;background:rgba(255,255,255,.055);
  border-color:rgba(255,255,255,.06);transform:translateX(2px)
}
.admin-nav a:hover::before{background:var(--admin-gold)}
.admin-nav a.active{
  color:#171510;
  background:linear-gradient(135deg,#d6b862,var(--admin-gold));
  border-color:rgba(255,255,255,.16);
  box-shadow:0 9px 22px rgba(200,164,77,.17);
}
.admin-nav a.active::before{background:#171510;box-shadow:0 0 0 3px rgba(21,21,21,.10)}

.admin-main{min-width:0;background:transparent}
.admin-topbar{
  position:sticky;
  top:0;
  z-index:80;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  min-height:86px;
  padding:16px clamp(22px,3.3vw,52px);
  background:rgba(251,250,246,.94);
  border-bottom:1px solid var(--admin-line);
  box-shadow:0 5px 18px rgba(39,34,26,.035);
  backdrop-filter:blur(14px);
}
.admin-topbar h1{
  margin:0;color:var(--admin-black);
  font-size:clamp(2rem,3.2vw,3.1rem);line-height:1
}
.admin-topbar .button{min-height:42px;padding:9px 18px}
.admin-mobile-toggle{display:none !important}
.admin-content{
  width:min(100%,1500px);
  margin:0 auto;
  padding:clamp(26px,3.3vw,52px);
}

/* Dashboard */
.admin-grid{
  display:grid;grid-template-columns:repeat(4,minmax(0,1fr));
  gap:20px;margin-bottom:28px
}
.admin-stat{
  position:relative;min-height:154px;overflow:hidden;
  padding:24px 25px 22px;background:#fff;
  border:1px solid var(--admin-line);border-radius:22px;
  box-shadow:var(--admin-shadow-soft)
}
.admin-stat::before{
  position:absolute;inset:0 0 auto;height:4px;content:"";
  background:linear-gradient(90deg,var(--admin-gold),#ead79f)
}
.admin-stat::after{
  position:absolute;width:84px;height:84px;right:-32px;bottom:-37px;
  content:"";background:rgba(200,164,77,.09);border-radius:50%
}
.admin-stat small{
  display:block;margin-bottom:9px;color:#7a7367;font-size:.76rem;
  font-weight:700;letter-spacing:.08em;text-transform:uppercase
}
.admin-stat strong{
  display:block;color:var(--admin-black);font-family:var(--title-font);
  font-size:3.25rem;line-height:.95
}
.admin-stat span{display:block;margin-top:8px;color:#8b857c;font-size:.82rem}

.admin-panel{
  margin-top:26px;
  padding:clamp(24px,2.8vw,38px);
  background:#fff;
  border:1px solid var(--admin-line);
  border-radius:24px;
  box-shadow:var(--admin-shadow-soft)
}
.admin-panel > h2{
  position:relative;margin:0 0 26px;padding-bottom:14px;
  color:var(--admin-black);font-size:clamp(1.85rem,3vw,2.55rem)
}
.admin-panel > h2::after{
  position:absolute;left:0;bottom:0;width:52px;height:2px;content:"";
  background:var(--admin-gold);border-radius:999px
}
.admin-actions-grid{
  display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px
}
.admin-action-card{
  position:relative;display:flex;min-height:220px;flex-direction:column;
  padding:26px;overflow:hidden;
  background:linear-gradient(145deg,#fff 0%,#fff 58%,#faf6ec 100%);
  border:1px solid var(--admin-line);border-radius:20px;
  transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease
}
.admin-action-card::after{
  position:absolute;right:-25px;top:-25px;width:88px;height:88px;content:"";
  background:rgba(200,164,77,.09);border-radius:50%
}
.admin-action-card:hover{
  transform:translateY(-3px);border-color:rgba(200,164,77,.55);
  box-shadow:var(--admin-shadow-soft)
}
.admin-action-card small{
  color:var(--admin-gold-dark);font-size:.72rem;font-weight:700;
  letter-spacing:.09em;text-transform:uppercase
}
.admin-action-card h3{
  margin:8px 0 12px;color:var(--admin-black);font-size:1.85rem
}
.admin-action-card p{
  margin:0 0 20px;color:#6f6960;font-size:.94rem;line-height:1.65
}
.admin-action-card .text-link{
  display:inline-flex;align-items:center;gap:8px;margin-top:auto;
  color:var(--admin-black);font-weight:700
}
.admin-action-card .text-link::after{
  content:"→";color:var(--admin-gold-dark);font-size:1.1em;transition:transform .15s ease
}
.admin-action-card .text-link:hover::after{transform:translateX(3px)}

/* Pulsanti */
.admin-body .button,
.admin-login-page .button{
  border-radius:999px !important;font-weight:700;letter-spacing:.01em
}
.admin-body .button-primary,
.admin-login-page .button-primary{
  color:#171510 !important;
  background:linear-gradient(135deg,#d7b95f,var(--admin-gold)) !important;
  border:1px solid var(--admin-gold) !important;
  box-shadow:0 8px 20px rgba(200,164,77,.16)
}
.admin-body .button-primary:hover,
.admin-login-page .button-primary:hover{
  color:#171510 !important;
  background:linear-gradient(135deg,#e1c775,#caa64f) !important;
  transform:translateY(-1px)
}
.admin-body .button-light,
.admin-login-page .button-light{
  color:var(--admin-black) !important;background:#fff !important;
  border:1px solid #d9cfba !important
}
.admin-body .button-light:hover,
.admin-login-page .button-light:hover{
  color:var(--admin-black) !important;border-color:var(--admin-gold) !important;
  background:#fffaf0 !important
}

/* Form */
.admin-form{display:grid;gap:20px}
.admin-form-grid{
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px
}
.admin-field{display:grid;gap:7px}
.admin-field label{color:var(--admin-black);font-size:.9rem;font-weight:700}
.admin-field input,
.admin-field select,
.admin-field textarea{
  width:100%;min-height:50px;padding:12px 14px;color:#2a2825;background:#fff;
  border:1px solid #d8d0c2;border-radius:13px;outline:none;font:inherit;
  line-height:1.45;
  transition:border-color .16s ease,box-shadow .16s ease,background .16s ease
}
.admin-field textarea{min-height:150px;resize:vertical}
.admin-field input:focus,
.admin-field select:focus,
.admin-field textarea:focus{
  border-color:var(--admin-gold);
  box-shadow:0 0 0 4px rgba(200,164,77,.13);
  background:#fffefa
}
.admin-field input[type="file"]{padding:9px;background:#faf8f3}
.admin-field small,.admin-help{color:#817a70;font-size:.82rem;line-height:1.5}
.admin-check,.privacy-check{
  display:flex !important;align-items:flex-start !important;gap:10px !important;
  color:#383530 !important;font-weight:600 !important
}
.admin-check input,.privacy-check input{
  width:auto !important;min-height:auto !important;margin-top:5px !important;
  accent-color:var(--admin-gold-dark)
}

/* Tabelle */
.admin-table-wrap{
  width:100%;overflow:auto;border:1px solid var(--admin-line);
  border-radius:18px;background:#fff
}
.admin-table{
  width:100%;min-width:720px;border-collapse:collapse;color:#4d4942
}
.admin-table th{
  padding:14px 16px;color:#fff;background:var(--admin-black-soft);
  font-size:.76rem;font-weight:700;letter-spacing:.06em;
  text-align:left;text-transform:uppercase
}
.admin-table td{
  padding:15px 16px;border-bottom:1px solid #eee7da;vertical-align:middle
}
.admin-table tbody tr:last-child td{border-bottom:0}
.admin-table tbody tr:hover{background:#fcfaf5}
.admin-status{
  display:inline-flex;align-items:center;min-height:28px;padding:4px 10px;
  color:#5b4613;background:#f7ecd0;border:1px solid #ead59c;
  border-radius:999px;font-size:.78rem;font-weight:700
}

/* Messaggi */
.admin-login-note{
  margin:18px 0;padding:13px 15px;color:#5f501d;background:#fff7df;
  border:1px solid #ead69c;border-left:4px solid var(--admin-gold);
  border-radius:12px;line-height:1.5
}

/* Editor / Aspetto */
.editor-toolbar{
  display:flex;flex-wrap:wrap;gap:7px;margin-bottom:10px;padding:10px;
  background:#f6f2e9;border:1px solid var(--admin-line);border-radius:14px
}
.editor-toolbar button{
  min-height:36px;padding:6px 11px;color:#292622;background:#fff;
  border:1px solid #d9d0c0;border-radius:10px;cursor:pointer
}
.editor-toolbar button:hover{border-color:var(--admin-gold)}
.visual-editor{
  min-height:260px;padding:18px;color:#2e2b27;background:#fff;
  border:1px solid #d8d0c2;border-radius:14px;outline:none
}
.visual-editor:focus{
  border-color:var(--admin-gold);box-shadow:0 0 0 4px rgba(200,164,77,.13)
}
.appearance-tabs{display:flex;flex-wrap:wrap;gap:9px;margin-bottom:22px}
.appearance-tabs button{
  min-height:42px;padding:8px 15px;color:#34312d;background:#fff;
  border:1px solid #d9d0c0;border-radius:999px;cursor:pointer
}
.appearance-tabs button.active{
  color:#171510;background:#e6cf8a;border-color:var(--admin-gold)
}
.appearance-pane{display:none}
.appearance-pane.active{display:block}
.appearance-grid{
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px
}
.appearance-field{display:grid;gap:7px}
.appearance-colors{
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px
}
.appearance-range{width:100%}

/* Login / installazione */
.admin-login-page{
  display:grid;grid-template-columns:minmax(380px,.92fr) minmax(520px,1.08fr);
  min-height:100vh;background:var(--admin-ivory)
}
.admin-login-image{
  position:relative;min-height:100vh;
  background:
    linear-gradient(180deg,rgba(12,12,12,.16),rgba(12,12,12,.56)),
    url("../img/luoghi/chiesa-parrocchiale/facciata-oggi.jpg") center/cover no-repeat
}
.admin-login-image::before{
  position:absolute;inset:0;content:"";
  background:
    linear-gradient(135deg,rgba(200,164,77,.12),transparent 42%),
    linear-gradient(0deg,rgba(0,0,0,.25),transparent 45%)
}
.admin-login-image::after{
  position:absolute;
  left:clamp(28px,5vw,72px);right:clamp(28px,5vw,72px);
  bottom:clamp(35px,6vw,80px);
  padding-top:16px;color:#fff;
  content:"Parrocchia di Sant'Agabio · Novara";
  font-family:var(--title-font);
  font-size:clamp(1.8rem,3.2vw,3.2rem);
  font-weight:700;line-height:1.05;
  border-top:2px solid var(--admin-gold);
  text-shadow:0 2px 20px rgba(0,0,0,.35)
}
.admin-login-panel{
  display:grid;place-items:center;padding:clamp(28px,6vw,78px);
  background:
    radial-gradient(circle at 100% 0,rgba(200,164,77,.10),transparent 28rem),
    var(--admin-ivory)
}
.admin-login-card{
  width:min(100%,570px);padding:clamp(30px,4vw,48px);
  background:#fff;border:1px solid var(--admin-line);
  border-radius:28px;box-shadow:var(--admin-shadow)
}
.admin-login-card > .brand{
  display:flex;align-items:center;gap:13px;margin-bottom:34px;padding-bottom:22px;
  border-bottom:1px solid #ece5d7
}
.admin-login-card > .brand img,
.admin-login-card .parish-logo{
  width:60px;height:60px;flex:0 0 60px;padding:3px;object-fit:contain;
  background:#fff;border:1px solid rgba(200,164,77,.45);border-radius:50%
}
.admin-login-card .brand-mark{
  position:relative;display:block;width:56px;height:56px;flex:0 0 56px;
  background:var(--admin-black);border:1px solid var(--admin-gold);border-radius:50%
}
.admin-login-card .brand-mark .cross-vertical,
.admin-login-card .brand-mark .cross-horizontal{
  position:absolute;display:block;background:var(--admin-gold);border-radius:999px
}
.admin-login-card .brand-mark .cross-vertical{width:2px;height:28px;left:27px;top:14px}
.admin-login-card .brand-mark .cross-horizontal{width:19px;height:2px;left:19px;top:23px}
.admin-login-card .brand-copy{display:grid;line-height:1.15}
.admin-login-card .brand-copy strong{color:var(--admin-black);font-size:1.14rem}
.admin-login-card .brand-copy small{
  margin-top:3px;color:var(--admin-gold-dark);font-size:.8rem
}
.admin-login-card h1{
  margin:0 0 12px;color:var(--admin-black);font-size:clamp(2.7rem,5vw,4rem)
}
.admin-login-card > p:not(.admin-login-note){color:#706a62;line-height:1.65}
.admin-login-card .admin-form{margin-top:28px}
.admin-login-card .admin-form .button{
  width:100%;justify-content:center;margin-top:4px
}

/* Link secondari nell'amministrazione */
.admin-content a:not(.button):not(.admin-nav a),
.admin-login-card a:not(.button):not(.brand){
  text-decoration-thickness:1px;
  text-underline-offset:3px;
}
.link-button{
  display:inline-flex;align-items:center;min-height:38px;padding:6px 12px;
  color:#2c2925;background:#fff;border:1px solid #d8cfbf;
  border-radius:999px;font-weight:700
}
.link-button:hover{border-color:var(--admin-gold);background:#fffaf0}

/* Responsive */
@media(max-width:1180px){
  .admin-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .admin-actions-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:920px){
  .admin-shell{display:block}
  .admin-sidebar{
    position:fixed;top:0;bottom:0;left:0;width:min(86vw,310px);
    height:100dvh;transform:translateX(-105%);
    transition:transform .22s ease;
    box-shadow:18px 0 45px rgba(0,0,0,.22)
  }
  .admin-sidebar.open{transform:translateX(0)}
  .admin-mobile-toggle{display:inline-flex !important}
  .admin-topbar{min-height:76px;padding-inline:20px}
  .admin-topbar h1{font-size:clamp(1.75rem,6vw,2.4rem)}
  .admin-content{padding:24px 20px 40px}
  .admin-login-page{grid-template-columns:1fr}
  .admin-login-image{min-height:260px;max-height:34vh}
  .admin-login-image::after{left:24px;right:24px;bottom:28px}
  .admin-login-panel{padding:28px 20px 46px}
}
@media(max-width:720px){
  .admin-grid,.admin-actions-grid,.admin-form-grid,
  .appearance-grid,.appearance-colors{grid-template-columns:1fr}
  .admin-stat{min-height:132px}
  .admin-panel{padding:22px 18px;border-radius:20px}
  .admin-action-card{min-height:190px;padding:22px}
  .admin-topbar{
    display:grid;grid-template-columns:auto 1fr auto;gap:10px
  }
  .admin-topbar h1{
    overflow:hidden;text-overflow:ellipsis;white-space:nowrap
  }
  .admin-topbar .button{padding-inline:13px}
}
@media(max-width:480px){
  .admin-content{padding-inline:14px}
  .admin-topbar{padding-inline:14px}
  .admin-login-panel{padding-inline:14px}
  .admin-login-card{padding:26px 20px;border-radius:22px}
  .admin-login-image{min-height:220px}
  .admin-login-image::after{font-size:1.7rem}
  .admin-table{min-width:620px}
}



/* ============================================================
   CONTROLLO FINALE PULSANTI — 15/08/2026
   Corregge conflitti di colore ereditati dalle vecchie regole.
   ============================================================ */

:root{
  --final-button-gold:#C9952E;
  --final-button-gold-hover:#A9751D;
  --final-button-dark:#151515;
  --final-button-light:#FFFFFF;
  --final-button-ivory:#FFF9EE;
}

/* Stato comune: nessun pulsante può diventare trasparente/invisibile */
a.button,
button.button,
a.btn,
button.btn,
.primary-button,
.approved-gold-button,
.reserved-button,
.nav-button,
.header-mass-button,
.hero-mass-button,
.btn-gold,
.link-button{
  opacity:1 !important;
  visibility:visible !important;
  text-decoration:none !important;
  text-indent:0 !important;
  -webkit-text-fill-color:currentColor !important;
}

/* PRIMARY — oro con testo scuro ad alto contrasto */
.button-primary,
a.button-primary,
button.button-primary,
.primary-button,
.approved-gold-button,
.btn-gold,
.reserved-button{
  color:var(--final-button-dark) !important;
  background:var(--final-button-gold) !important;
  border-color:var(--final-button-gold) !important;
  box-shadow:0 7px 18px rgba(169,117,29,.16);
}

.button-primary *,
.primary-button *,
.approved-gold-button *,
.btn-gold *,
.reserved-button *{
  color:inherit !important;
  -webkit-text-fill-color:currentColor !important;
}

.button-primary:hover,
.button-primary:focus-visible,
.primary-button:hover,
.primary-button:focus-visible,
.approved-gold-button:hover,
.approved-gold-button:focus-visible,
.btn-gold:hover,
.btn-gold:focus-visible,
.reserved-button:hover,
.reserved-button:focus-visible{
  color:#111 !important;
  background:#D7AC43 !important;
  border-color:#A9751D !important;
}

/* SECONDARY/LIGHT — la correzione principale:
   testo scuro sempre visibile sul fondo chiaro */
.button-light,
a.button-light,
button.button-light{
  color:var(--final-button-dark) !important;
  background:var(--final-button-light) !important;
  border:1.5px solid var(--final-button-gold) !important;
  box-shadow:none !important;
}

.button-light *,
a.button-light *,
button.button-light *{
  color:var(--final-button-dark) !important;
  -webkit-text-fill-color:var(--final-button-dark) !important;
}

.button-light:hover,
.button-light:focus-visible,
a.button-light:hover,
a.button-light:focus-visible,
button.button-light:hover,
button.button-light:focus-visible{
  color:#111 !important;
  background:var(--final-button-ivory) !important;
  border-color:var(--final-button-gold-hover) !important;
}

/* Header */
.site-header .reserved-button{
  color:#111 !important;
  background:var(--final-button-gold) !important;
  border-color:var(--final-button-gold) !important;
}
.site-header .reserved-button *{
  color:#111 !important;
}

.nav-button:not(.header-mass-button){
  color:#111 !important;
  background:var(--final-button-gold) !important;
  border:1px solid var(--final-button-gold) !important;
}
.nav-button:not(.header-mass-button) *{
  color:#111 !important;
}

.header-mass-button,
.header-mass-button *,
.hero-mass-button,
.hero-mass-button *{
  color:#111 !important;
  -webkit-text-fill-color:#111 !important;
}

/* Area riservata */
.admin-body .button-primary,
.admin-login-page .button-primary{
  color:#111 !important;
  background:var(--final-button-gold) !important;
  border-color:var(--final-button-gold) !important;
}
.admin-body .button-primary *,
.admin-login-page .button-primary *{
  color:#111 !important;
}

.admin-body .button-light,
.admin-login-page .button-light{
  color:#171717 !important;
  background:#fff !important;
  border:1.5px solid var(--final-button-gold) !important;
}
.admin-body .button-light *,
.admin-login-page .button-light *{
  color:#171717 !important;
}

.admin-body .link-button{
  color:#171717 !important;
  background:#fff !important;
  border:1px solid #D8CFBF !important;
}
.admin-body .link-button:hover,
.admin-body .link-button:focus-visible{
  color:#111 !important;
  background:var(--final-button-ivory) !important;
  border-color:var(--final-button-gold) !important;
}

/* Toolbar editor e schede Aspetto: pulsanti sempre leggibili */
.admin-body .editor-toolbar button,
.admin-body .appearance-tabs button{
  color:#222 !important;
  background:#fff !important;
  border-color:#D8CFBF !important;
  opacity:1 !important;
  visibility:visible !important;
  -webkit-text-fill-color:#222 !important;
}
.admin-body .editor-toolbar button:hover,
.admin-body .editor-toolbar button:focus-visible,
.admin-body .appearance-tabs button:hover,
.admin-body .appearance-tabs button:focus-visible{
  color:#111 !important;
  background:var(--final-button-ivory) !important;
  border-color:var(--final-button-gold) !important;
}
.admin-body .appearance-tabs button.active{
  color:#111 !important;
  background:var(--final-button-gold) !important;
  border-color:var(--final-button-gold) !important;
}

/* Focus accessibile e chiaramente visibile */
a.button:focus-visible,
button.button:focus-visible,
a.btn:focus-visible,
button.btn:focus-visible,
.primary-button:focus-visible,
.approved-gold-button:focus-visible,
.reserved-button:focus-visible,
.nav-button:focus-visible,
.header-mass-button:focus-visible,
.hero-mass-button:focus-visible,
.btn-gold:focus-visible,
.link-button:focus-visible{
  outline:3px solid rgba(169,117,29,.38) !important;
  outline-offset:3px !important;
}

/* Mobile: evita testo tagliato nei pulsanti */
@media(max-width:620px){
  .button,
  .btn,
  .button-primary,
  .button-light,
  .primary-button,
  .approved-gold-button,
  .reserved-button,
  .btn-gold{
    max-width:100%;
    white-space:normal !important;
    text-align:center;
    line-height:1.25;
  }
}


/* ============================================================
   AREA RISERVATA — SINCRONIZZAZIONE MULTILINGUA
   ============================================================ */
.sync-hero-panel{overflow:hidden;background:linear-gradient(135deg,#fff 0%,#fff 62%,#fbf5e7 100%)}
.sync-hero{display:flex;align-items:center;gap:24px}
.sync-hero-icon{display:grid;place-items:center;width:82px;height:82px;flex:0 0 82px;color:#171510;background:#c8a44d;border-radius:50%;font-size:2.2rem;font-weight:700;box-shadow:0 14px 30px rgba(200,164,77,.24)}
.sync-kicker{margin:0 0 6px;color:#a77f28;font-size:.78rem;font-weight:800;letter-spacing:.11em;text-transform:uppercase}
.sync-hero h2{margin:0 0 8px!important;padding:0!important;border:0!important}
.sync-hero h2::after{display:none!important}
.sync-hero p:last-child{max-width:850px;margin:0;line-height:1.65}
.sync-status-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
.sync-stat strong.sync-api-state,.sync-stat strong.sync-date-value{font-size:2rem;line-height:1.1}
.sync-api-state.is-ready{color:#2f6b42}
.sync-api-state.is-missing{color:#9c6a17}
.sync-flow{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-bottom:24px}
.sync-flow>div{display:grid;grid-template-columns:42px 1fr;gap:2px 12px;align-items:center;padding:18px;background:#fbfaf6;border:1px solid #e5dcc8;border-radius:18px}
.sync-flow span{grid-row:1/3;display:grid;place-items:center;width:42px;height:42px;color:#171510;background:#ead79f;border-radius:50%;font-weight:800}
.sync-flow strong{color:#171510}
.sync-flow small{color:#746d62;line-height:1.4}
.sync-warning{margin:22px 0;padding:18px 20px;background:#fff7df;border:1px solid #ead69c;border-left:4px solid #c8a44d;border-radius:14px}
.sync-warning strong{color:#4e4016}
.sync-warning p{margin:6px 0 14px;line-height:1.55}
.sync-action-form{display:flex;align-items:center;gap:18px;flex-wrap:wrap}
.sync-main-button{min-width:240px;min-height:52px;font-size:1.02rem}
.sync-main-button:disabled{cursor:not-allowed;opacity:.52!important;filter:grayscale(.15)}
.sync-action-form .admin-help{max-width:680px;margin:0}
.sync-scope-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.sync-scope-grid article{padding:20px;background:#fbfaf6;border:1px solid #e5dcc8;border-radius:18px}
.sync-scope-grid strong{color:#171510;font-size:1.05rem}
.sync-scope-grid p{margin:6px 0 0;line-height:1.55}
.sync-note{margin:20px 0 0;padding:15px 17px;background:#f7f2e7;border-radius:13px}
@media(max-width:1180px){.sync-status-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.sync-hero{align-items:flex-start}.sync-hero-icon{width:62px;height:62px;flex-basis:62px;font-size:1.75rem}.sync-flow,.sync-scope-grid{grid-template-columns:1fr}.sync-action-form{display:grid}.sync-main-button{width:100%}}
@media(max-width:520px){.sync-hero{display:grid}.sync-status-grid{grid-template-columns:1fr}}


/* ============================================================
   SETTIMANA RELIGIOSA — UPLOAD/PUBBLICAZIONE DINAMICA
   ============================================================ */
.weekly-upload-status{
  padding:12px 15px;
  color:#5d4b20;
  background:#fff8e8;
  border:1px solid rgba(200,164,77,.38);
  border-radius:14px;
  line-height:1.5;
}
.weekly-live-document{
  margin:34px 0 0;
  padding:clamp(22px,3vw,36px);
  background:#fff;
  border:1px solid rgba(200,164,77,.30);
  border-radius:26px;
  box-shadow:0 14px 36px rgba(25,22,17,.07);
}
.weekly-live-document[hidden]{display:none!important}
.weekly-live-heading{text-align:center;margin-bottom:22px}
.weekly-live-heading h2{margin:.1em 0 .15em;color:#151515}
.weekly-live-heading>p:last-child{margin:0;color:#8a6b28;font-weight:700;text-transform:capitalize}
.weekly-live-text{
  max-height:520px;
  overflow:auto;
  margin:0 0 24px;
  padding:20px;
  color:#34312c;
  background:#fbfaf6;
  border:1px solid #ece4d5;
  border-radius:18px;
  line-height:1.75;
  white-space:normal;
}
.weekly-live-text[hidden]{display:none!important}
.weekly-pdf-viewer{
  overflow:hidden;
  width:100%;
  min-height:720px;
  background:#eeeae1;
  border:1px solid #e2d8c5;
  border-radius:20px;
}
.weekly-pdf-viewer iframe{
  display:block;
  width:100%;
  height:78vh;
  min-height:720px;
  border:0;
  background:#fff;
}
.weekly-archive-item span{color:#777168;font-size:.94rem}
@media(max-width:720px){
  .weekly-live-document{padding:18px 14px;border-radius:20px}
  .weekly-pdf-viewer{min-height:520px;border-radius:15px}
  .weekly-pdf-viewer iframe{height:68vh;min-height:520px}
}


/* ===== HOMEPAGE: SANTUARI MARIANI IN DIRETTA ===== */
.live-shrines {
  padding-top: 1.5rem;
}
.live-shrines-intro {
  max-width: 980px;
  margin: 0 auto 2.5rem;
  padding: 1.8rem 2rem;
  text-align: center;
  background: rgba(255, 255, 255, 0.56);
  border: 1px solid rgba(112, 94, 76, 0.18);
  border-radius: 28px;
  box-shadow: 0 16px 34px rgba(79, 61, 45, 0.08);
}
.live-shrines-intro h2 {
  margin: 0 0 0.9rem;
  color: #c75a57;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2.2rem, 4vw, 4rem);
  font-style: italic;
  line-height: 1.08;
}
.live-shrines-intro p {
  margin: 0;
  color: #7a5326;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.3rem, 2vw, 2.1rem);
  font-style: italic;
  font-weight: 700;
  line-height: 1.35;
}
.live-shrines-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 2rem;
  align-items: stretch;
}
.live-shrine-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1.5rem 1.35rem 1.6rem;
  background: rgba(255, 255, 255, 0.34);
  border: 1px solid rgba(112, 94, 76, 0.18);
  border-radius: 22px;
  box-shadow: 0 14px 28px rgba(79, 61, 45, 0.07);
}
.live-shrine-media {
  width: 100%;
  margin: 0 0 1.15rem;
}
.live-shrine-media img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
  border-radius: 10px;
}
.live-shrine-card h3 {
  margin: 0 0 0.6rem;
  color: #72461d;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.8rem, 2vw, 2.3rem);
  font-style: italic;
  line-height: 1.05;
}
.live-shrine-card p {
  margin: 0 0 1.5rem;
  color: rgba(114, 70, 29, 0.86);
  font-family: "Cormorant Garamond", serif;
  font-size: 1.2rem;
  line-height: 1.15;
  flex-grow: 1;
}
.live-shrine-button {
  min-width: 180px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.95rem 1.5rem;
  border-radius: 999px;
  border: 2px solid rgba(151, 116, 79, 0.95);
  background: rgba(255, 255, 255, 0.82);
  color: #7c5a33;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.35rem;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;
}
.live-shrine-button:hover,
.live-shrine-button:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(79, 61, 45, 0.14);
  background: #fff;
}
.live-shrines-bottom-greek {
  margin-top: 2rem;
}

@media (max-width: 1100px) {
  .live-shrines-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .live-shrines-intro {
    padding: 1.4rem 1.1rem;
    margin-bottom: 1.7rem;
    border-radius: 20px;
  }
  .live-shrines-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  .live-shrine-card {
    padding: 1.15rem 1rem 1.3rem;
  }
  .live-shrine-button {
    min-width: 100%;
  }
}


/* ============================================================
   SETTIMANA RELIGIOSA - CONTENUTO PDF CONVERTITO IN HTML5
   ============================================================ */
.weekly-live-text{
  max-height:none;
  overflow:visible;
  padding:clamp(18px,3vw,34px);
}
.weekly-converted-page{
  max-width:980px;
  margin:0 auto 28px;
  padding:clamp(20px,3vw,34px);
  background:#fff;
  border:1px solid rgba(200,164,77,.25);
  border-radius:20px;
  box-shadow:0 10px 28px rgba(25,22,17,.05);
}
.weekly-converted-page:last-child{margin-bottom:0}
.weekly-converted-page-number{
  margin:0 0 16px;
  color:#967429;
  font-size:.82rem;
  font-weight:700;
  letter-spacing:.08em;
  text-transform:uppercase;
}
.weekly-converted-page p{
  margin:0 0 1em;
  color:#39352f;
  line-height:1.75;
}
.weekly-converted-heading,
.weekly-converted-day{
  margin:1.35em 0 .65em;
  color:#1f3a5f;
  font-family:"Cormorant Garamond",serif;
  line-height:1.15;
}
.weekly-converted-heading:first-child,
.weekly-converted-day:first-child{margin-top:0}
.weekly-converted-day{
  padding-bottom:.45rem;
  border-bottom:2px solid rgba(200,164,77,.48);
  font-size:clamp(1.7rem,3vw,2.35rem);
  text-transform:capitalize;
}
.weekly-converted-heading{font-size:clamp(1.5rem,2.5vw,2rem)}
.weekly-converted-event{
  display:grid;
  grid-template-columns:minmax(70px,90px) 1fr;
  gap:14px;
  align-items:start;
  margin:9px 0;
  padding:12px 14px;
  background:#fbfaf6;
  border-left:4px solid #c8a44d;
  border-radius:10px;
}
.weekly-converted-event time{
  color:#1f3a5f;
  font-weight:800;
  font-variant-numeric:tabular-nums;
}
.weekly-converted-event span{line-height:1.5}
.weekly-converted-list{
  margin:.7rem 0 1.15rem;
  padding-left:1.35rem;
}
.weekly-converted-list li{margin:.35rem 0;line-height:1.6}
.weekly-empty-state{
  max-width:760px;
  margin:0 auto;
  padding:28px;
  text-align:center;
  background:#fff;
  border:1px dashed rgba(200,164,77,.55);
  border-radius:18px;
}
.weekly-empty-state h3{margin:0 0 .5rem;color:#1f3a5f}
.weekly-empty-state p{margin:0;color:#625d55;line-height:1.65}
.weekly-pdf-details{
  margin-top:22px;
  border-top:1px solid #ece4d5;
  padding-top:18px;
}
.weekly-pdf-details[hidden]{display:none!important}
.weekly-pdf-details summary{
  cursor:pointer;
  color:#7d6226;
  font-weight:700;
  text-align:center;
}
.weekly-pdf-details[open] summary{margin-bottom:16px}
.weekly-upload-status[data-state="ok"]{background:#eef8ee;border-color:#b8dab8;color:#315b31}
.weekly-upload-status[data-state="warning"]{background:#fff4e5;border-color:#e4c487;color:#704f16}
#weeklyConvertedText{
  min-height:320px;
  font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,"Liberation Mono",monospace;
  line-height:1.45;
  white-space:pre-wrap;
}
@media(max-width:720px){
  .weekly-live-text{padding:12px}
  .weekly-converted-page{padding:18px 15px;border-radius:15px}
  .weekly-converted-event{grid-template-columns:64px 1fr;gap:10px;padding:10px}
}

/* ============================================================
   SETTIMANA RELIGIOSA — IMPAGINAZIONE EDITORIALE AUTOMATICA
   Il testo estratto dal PDF viene trasformato in una vera pagina
   del sito: giorni, orari, avvisi e paragrafi non sono testo grezzo.
   ============================================================ */
.weekly-live-text{
  padding:clamp(16px,2.5vw,30px);
  background:linear-gradient(180deg,#fbfaf6 0%,#f7f2e7 100%);
  border:1px solid rgba(200,164,77,.24);
}
.weekly-edition-layout{
  width:min(100%,980px);
  margin:0 auto;
  display:grid;
  gap:22px;
}
.weekly-editorial-intro{
  position:relative;
  padding:clamp(22px,4vw,40px) clamp(18px,4vw,46px);
  text-align:center;
  background:#fff;
  border:1px solid rgba(200,164,77,.30);
  border-radius:22px;
  box-shadow:0 12px 30px rgba(31,58,95,.06);
}
.weekly-editorial-intro::after{
  content:"";
  display:block;
  width:76px;
  height:3px;
  margin:24px auto 0;
  background:#c8a44d;
  border-radius:999px;
}
.weekly-editorial-intro .weekly-editorial-text{
  max-width:780px;
  margin:0 auto 1rem;
  color:#49443c;
  font-family:"Cormorant Garamond",serif;
  font-size:clamp(1.18rem,2vw,1.45rem);
  line-height:1.72;
}
.weekly-editorial-intro .weekly-editorial-text:last-child{margin-bottom:0}
.weekly-editorial-lead{
  margin:.1rem 0 1.2rem;
  color:#8a6b28;
  font-family:"Cormorant Garamond",serif;
  font-size:clamp(1.25rem,2.3vw,1.7rem);
  font-weight:700;
  font-style:italic;
  line-height:1.45;
}
.weekly-day-card{
  overflow:hidden;
  background:#fff;
  border:1px solid rgba(31,58,95,.12);
  border-radius:22px;
  box-shadow:0 14px 34px rgba(25,22,17,.07);
}
.weekly-day-header{
  display:flex;
  align-items:center;
  gap:14px;
  padding:18px clamp(18px,3vw,28px);
  background:linear-gradient(135deg,#1f3a5f 0%,#294e7d 100%);
  border-bottom:3px solid #c8a44d;
}
.weekly-day-marker{
  flex:0 0 40px;
  width:40px;
  height:40px;
  display:grid;
  place-items:center;
  color:#1f3a5f;
  background:#e4c66f;
  border:3px solid rgba(255,255,255,.72);
  border-radius:50%;
  font-size:1rem;
  box-shadow:0 4px 12px rgba(0,0,0,.12);
}
.weekly-day-header h3{
  margin:0;
  color:#fff;
  font-family:"Cormorant Garamond",serif;
  font-size:clamp(1.65rem,3vw,2.35rem);
  font-weight:700;
  line-height:1.12;
  text-transform:none;
}
.weekly-day-body{
  padding:10px clamp(16px,3vw,28px) 20px;
}
.weekly-schedule-row{
  display:grid;
  grid-template-columns:86px 1fr;
  gap:16px;
  align-items:start;
  padding:15px 2px;
  border-bottom:1px solid #ece6da;
}
.weekly-schedule-row:last-child{border-bottom:0}
.weekly-schedule-row time{
  display:inline-flex;
  justify-content:center;
  min-width:74px;
  padding:7px 10px;
  color:#1f3a5f;
  background:#f4e7bd;
  border:1px solid rgba(200,164,77,.46);
  border-radius:999px;
  font-weight:800;
  font-variant-numeric:tabular-nums;
  line-height:1.1;
}
.weekly-schedule-copy{
  padding-top:4px;
  color:#37332d;
  font-size:1.02rem;
  line-height:1.58;
}
.weekly-day-body .weekly-editorial-text,
.weekly-editorial-body .weekly-editorial-text{
  margin:.85rem 0;
  color:#403b34;
  line-height:1.72;
}
.weekly-editorial-card{
  padding:clamp(20px,3vw,30px);
  background:#fff;
  border:1px solid rgba(200,164,77,.30);
  border-radius:22px;
  box-shadow:0 12px 30px rgba(25,22,17,.055);
}
.weekly-editorial-heading{
  display:flex;
  align-items:center;
  gap:12px;
  margin:0 0 16px;
  padding-bottom:12px;
  border-bottom:1px solid #e8dfce;
}
.weekly-editorial-heading>span{
  width:9px;
  height:34px;
  flex:0 0 9px;
  background:#c8a44d;
  border-radius:999px;
}
.weekly-editorial-heading h3{
  margin:0;
  color:#1f3a5f;
  font-family:"Cormorant Garamond",serif;
  font-size:clamp(1.55rem,2.7vw,2.1rem);
  line-height:1.15;
}
.weekly-editorial-list{
  margin:12px 0 4px;
  padding:0;
  list-style:none;
}
.weekly-editorial-list li{
  position:relative;
  margin:0;
  padding:10px 0 10px 26px;
  color:#403b34;
  line-height:1.6;
  border-bottom:1px solid #f0eadf;
}
.weekly-editorial-list li:last-child{border-bottom:0}
.weekly-editorial-list li::before{
  content:"◆";
  position:absolute;
  left:2px;
  top:11px;
  color:#c8a44d;
  font-size:.72rem;
}
.weekly-editorial-body>.weekly-editorial-lead:first-child{margin-top:0}
.weekly-editorial-body>.weekly-editorial-text:last-child,
.weekly-day-body>.weekly-editorial-text:last-child{margin-bottom:0}

@media(max-width:720px){
  .weekly-edition-layout{gap:16px}
  .weekly-day-card,.weekly-editorial-card,.weekly-editorial-intro{border-radius:17px}
  .weekly-day-header{padding:15px 16px;gap:11px}
  .weekly-day-marker{width:34px;height:34px;flex-basis:34px}
  .weekly-day-body{padding:7px 14px 15px}
  .weekly-schedule-row{grid-template-columns:68px 1fr;gap:10px;padding:12px 0}
  .weekly-schedule-row time{min-width:62px;padding:6px 7px;font-size:.92rem}
  .weekly-schedule-copy{font-size:.98rem}
  .weekly-editorial-card{padding:18px 15px}
}


/* ===== SETTIMANA RELIGIOSA: TABELLA FEDELE AL PDF ===== */
.weekly-live-text{
  padding:clamp(14px,2vw,26px);
  background:linear-gradient(180deg,#fbfaf6 0%,#f7f2e7 100%);
}
.weekly-pdf-layout{
  width:min(100%,1120px);
  margin:0 auto;
  display:grid;
  gap:26px;
}
.weekly-pdf-page{
  background:#fff;
  border:1px solid rgba(31,58,95,.14);
  border-radius:18px;
  box-shadow:0 14px 34px rgba(25,22,17,.07);
  overflow:hidden;
}
.weekly-pdf-page-label{
  margin:0;
  padding:10px 16px;
  color:#7d6226;
  background:#fbf5e6;
  border-bottom:1px solid #eadcb8;
  font-size:.82rem;
  font-weight:800;
  letter-spacing:.08em;
  text-transform:uppercase;
}
.weekly-pdf-table-scroll{
  width:100%;
  overflow-x:auto;
  -webkit-overflow-scrolling:touch;
}
.weekly-pdf-table{
  width:100%;
  min-width:760px;
  border-collapse:collapse;
  table-layout:auto;
  color:#332f2a;
  background:#fff;
  font-size:clamp(.92rem,1.35vw,1.02rem);
  line-height:1.42;
}
.weekly-pdf-table th,
.weekly-pdf-table td{
  padding:12px 14px;
  border:1px solid #d9d0bf;
  vertical-align:top;
  text-align:left;
}
.weekly-pdf-table tr:first-child > *{border-top:0}
.weekly-pdf-table tr > *:first-child{border-left:0}
.weekly-pdf-table tr > *:last-child{border-right:0}
.weekly-pdf-table tr:last-child > *{border-bottom:0}
.weekly-pdf-day-row th{
  padding:13px 16px;
  color:#fff;
  background:linear-gradient(135deg,#1f3a5f 0%,#294e7d 100%);
  border-color:#1f3a5f;
  border-bottom:3px solid #c8a44d;
  font-family:"Cormorant Garamond",serif;
  font-size:clamp(1.3rem,2vw,1.7rem);
  font-weight:700;
  text-transform:capitalize;
  letter-spacing:.01em;
}
.weekly-pdf-day-data-row td{
  color:#fff!important;
  background:linear-gradient(135deg,#1f3a5f 0%,#294e7d 100%)!important;
  border-color:rgba(255,255,255,.24);
  border-bottom:3px solid #c8a44d;
  font-family:"Cormorant Garamond",serif;
  font-size:clamp(1.08rem,1.65vw,1.3rem);
  font-weight:700;
}
.weekly-pdf-day-data-row .weekly-pdf-time-cell time{
  color:#1f3a5f;
}
.weekly-pdf-section-row th{
  padding:11px 14px;
  color:#1f3a5f;
  background:#f4e7bd;
  border-color:#d6bd73;
  font-family:"Cormorant Garamond",serif;
  font-size:clamp(1.12rem,1.8vw,1.35rem);
  font-weight:700;
}
.weekly-pdf-data-row:nth-of-type(even) td{
  background:#fdfbf6;
}
.weekly-pdf-cell:first-child,
.weekly-pdf-date-cell{
  color:#1f3a5f;
  font-weight:700;
}
.weekly-pdf-time-cell{
  width:92px;
  min-width:84px;
  white-space:nowrap;
  text-align:center!important;
  color:#1f3a5f;
  background:#fff9e9!important;
  font-weight:800;
  font-variant-numeric:tabular-nums;
}
.weekly-pdf-time-cell time{
  display:inline-block;
  padding:4px 8px;
  border:1px solid rgba(200,164,77,.55);
  border-radius:999px;
  background:#f6e8b9;
  line-height:1.05;
}
.weekly-pdf-copy-cell{
  line-height:1.52;
}
.weekly-pdf-note-row td{
  padding:11px 14px;
  color:#4a443a;
  background:#fff;
  font-style:normal;
}
.weekly-pdf-table strong{color:#1f3a5f}

@media(max-width:720px){
  .weekly-live-text{padding:10px}
  .weekly-pdf-layout{gap:16px}
  .weekly-pdf-page{border-radius:14px}
  .weekly-pdf-table{min-width:680px;font-size:.92rem}
  .weekly-pdf-table th,.weekly-pdf-table td{padding:10px 11px}
  .weekly-pdf-day-row th{font-size:1.25rem}
}


/* ===== SETTIMANA RELIGIOSA 2026: TABELLA LITURGICA DEFINITIVA A 7 COLONNE ===== */
.weekly-liturgical-sheet{
  width:min(100%,1480px);
  margin:0 auto;
  background:#fffdf8;
  border:1px solid rgba(31,58,95,.16);
  border-radius:24px;
  box-shadow:0 18px 46px rgba(31,42,55,.10);
  overflow:hidden;
}
.weekly-liturgical-title{
  position:relative;
  padding:clamp(24px,3vw,42px) clamp(18px,3vw,38px) clamp(20px,2.4vw,32px);
  text-align:center;
  background:linear-gradient(180deg,#fffdf8 0%,#f8f1df 100%);
  border-bottom:1px solid #dfcf9e;
}
.weekly-liturgical-kicker{
  margin:0 0 8px;
  color:#8c6b27;
  font-size:.78rem;
  font-weight:800;
  letter-spacing:.14em;
  text-transform:uppercase;
}
.weekly-liturgical-title h3{
  margin:0;
  color:#1f3a5f;
  font-family:"Cormorant Garamond",serif;
  font-size:clamp(1.9rem,3.4vw,3.35rem);
  font-weight:700;
  line-height:1.04;
  letter-spacing:.015em;
}
.weekly-liturgical-range{
  margin:10px 0 0;
  color:#5b5143;
  font-family:"Cormorant Garamond",serif;
  font-size:clamp(1.15rem,1.8vw,1.45rem);
  font-weight:600;
}
.weekly-liturgical-ornament{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:9px;
  width:min(260px,70%);
  margin:17px auto 0;
}
.weekly-liturgical-ornament span{height:1px;flex:1;background:linear-gradient(90deg,transparent,#c8a44d)}
.weekly-liturgical-ornament span:last-child{background:linear-gradient(90deg,#c8a44d,transparent)}
.weekly-liturgical-ornament i{width:8px;height:8px;display:block;background:#c8a44d;transform:rotate(45deg)}
.weekly-liturgical-table-scroll{
  width:100%;
  overflow-x:auto;
  -webkit-overflow-scrolling:touch;
  scrollbar-color:#c8a44d #f4ecdb;
}
.weekly-liturgical-table{
  width:100%;
  min-width:1380px;
  border-collapse:separate;
  border-spacing:0;
  table-layout:fixed;
  color:#35322d;
  background:#fff;
  font-size:.93rem;
  line-height:1.42;
}
.weekly-liturgical-table col.weekly-col-day{width:14.5%}
.weekly-liturgical-table col.weekly-col-saint{width:17%}
.weekly-liturgical-table col.weekly-col-readings{width:19%}
.weekly-liturgical-table col.weekly-col-times{width:10%}
.weekly-liturgical-table col.weekly-col-place{width:14%}
.weekly-liturgical-table col.weekly-col-deceased{width:15%}
.weekly-liturgical-table col.weekly-col-prayer{width:10.5%}
.weekly-liturgical-table thead th{
  position:sticky;
  top:0;
  z-index:2;
  padding:14px 11px;
  color:#fff;
  background:#1f3a5f;
  border-right:1px solid rgba(255,255,255,.20);
  border-bottom:4px solid #c8a44d;
  font-size:.78rem;
  font-weight:800;
  letter-spacing:.035em;
  line-height:1.25;
  text-align:center;
  text-transform:uppercase;
  vertical-align:middle;
}
.weekly-liturgical-table thead th:last-child{border-right:0}
.weekly-liturgical-table tbody td{
  padding:15px 13px;
  border-right:1px solid #e4dccb;
  border-bottom:1px solid #e4dccb;
  vertical-align:top;
  background:#fff;
  overflow-wrap:anywhere;
}
.weekly-liturgical-table tbody td:last-child{border-right:0}
.weekly-liturgical-table tbody tr:nth-child(even) td{background:#fcfaf5}
.weekly-liturgical-day-start td{border-top:2px solid #c8a44d}
.weekly-liturgical-day-start:first-child td{border-top:0}
.weekly-liturgical-continuation .weekly-col-1{background:#f8f5ed!important}
.weekly-col-1{text-align:center}
.weekly-day-name{
  display:block;
  color:#1f3a5f;
  font-family:"Cormorant Garamond",serif;
  font-size:1.18rem;
  font-weight:700;
  line-height:1.08;
  text-transform:uppercase;
}
.weekly-day-date{
  display:block;
  margin-top:4px;
  color:#6e6250;
  font-size:.82rem;
  font-weight:700;
}
.weekly-liturgical-badge{
  display:inline-flex;
  align-items:center;
  gap:6px;
  margin-top:9px;
  padding:4px 8px;
  border:1px solid #d9d0bf;
  border-radius:999px;
  background:#fff;
  color:#4b453b;
  font-size:.72rem;
  font-weight:800;
  line-height:1;
}
.weekly-liturgical-badge i{
  width:10px;
  height:10px;
  display:block;
  border-radius:50%;
  box-shadow:0 0 0 1px rgba(0,0,0,.12);
}
.weekly-liturgical-badge.is-green i{background:#2f7d4a}
.weekly-liturgical-badge.is-white i{background:#fff;border:1px solid #b9ad98}
.weekly-liturgical-badge.is-red i{background:#b23b3b}
.weekly-liturgical-badge.is-violet i{background:#704a91}
.weekly-liturgical-badge.is-rose i{background:#d98ea0}
.weekly-col-2{font-weight:650;color:#493d2f}
.weekly-col-3{color:#51483d;font-style:italic}
.weekly-col-4{text-align:center;font-variant-numeric:tabular-nums}
.weekly-mass-time{
  display:inline-block;
  margin:1px 2px 4px;
  padding:5px 9px;
  border:1px solid rgba(200,164,77,.55);
  border-radius:999px;
  background:#fff5d8;
  color:#1f3a5f;
  font-weight:800;
  font-style:normal;
  white-space:nowrap;
}
.weekly-col-5{color:#1f3a5f;font-weight:650}
.weekly-col-6{background-image:linear-gradient(180deg,rgba(200,164,77,.045),rgba(200,164,77,.045));font-weight:600}
.weekly-col-7{color:#5a4863}
.weekly-liturgical-note-row td{
  padding:12px 16px!important;
  color:#5f5138;
  background:#fff8e7!important;
  border-bottom:1px solid #e0ce96!important;
  font-style:italic;
  text-align:center;
}
.weekly-empty-cell{opacity:0}
.weekly-liturgical-footnote{
  margin:0;
  padding:11px 18px 13px;
  color:#75684f;
  background:#faf5e9;
  border-top:1px solid #e6dcc2;
  font-size:.78rem;
  text-align:center;
}
.weekly-column-schema{
  display:grid;
  grid-template-columns:repeat(7,minmax(120px,1fr));
  gap:6px;
  margin-top:10px;
  overflow-x:auto;
}
.weekly-column-schema span{
  min-width:120px;
  padding:8px 9px;
  border:1px solid rgba(31,58,95,.16);
  border-radius:9px;
  background:#f8f5ed;
  color:#1f3a5f;
  font-size:.72rem;
  font-weight:700;
  text-align:center;
}
@media(max-width:900px){
  .weekly-liturgical-sheet{border-radius:17px}
  .weekly-liturgical-table{min-width:1240px;font-size:.88rem}
  .weekly-liturgical-table thead th{padding:12px 9px;font-size:.72rem}
  .weekly-liturgical-table tbody td{padding:12px 10px}
}
@media(max-width:560px){
  .weekly-live-text{padding:8px}
  .weekly-liturgical-title{padding:22px 14px 18px}
  .weekly-liturgical-title h3{font-size:1.72rem}
  .weekly-liturgical-range{font-size:1.08rem}
  .weekly-liturgical-table{min-width:1180px}
}

/* ===== GESTIONE PAGINE ITALIANE ===== */
.page-manager-intro h2,
.managed-page-head h2,
.managed-section-heading h2{margin:0 0 8px}
.page-manager-toolbar{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:20px}
.page-manager-toolbar input{width:min(420px,100%);min-height:44px;padding:9px 13px;border:1px solid #d9cdbd;border-radius:10px;background:#fff}
.page-manager-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.page-manager-card{display:flex;flex-direction:column;min-height:220px;padding:20px;border:1px solid #e3d8c9;border-radius:16px;background:#fff;box-shadow:0 10px 28px rgba(31,42,55,.05)}
.page-manager-card small{color:#8a6a2a;font-weight:700;overflow-wrap:anywhere}
.page-manager-card h3{margin:8px 0 10px;font-size:1.25rem}
.page-manager-card p{margin:0 0 18px;flex:1}
.page-manager-actions{display:flex;gap:9px;flex-wrap:wrap}
.managed-page-head{display:flex;align-items:flex-start;justify-content:space-between;gap:24px}
.managed-page-head-actions{display:flex;gap:10px;flex-wrap:wrap;justify-content:flex-end}
.managed-page-tabs{position:sticky;top:0;z-index:6;display:flex;gap:8px;flex-wrap:wrap;margin:0 0 20px;padding:10px;border:1px solid #e3d8c9;border-radius:14px;background:rgba(251,248,242,.96);backdrop-filter:blur(10px)}
.managed-page-tabs a{padding:8px 12px;border-radius:999px;background:#fff;border:1px solid #e3d8c9;color:#1f3a5f!important;text-decoration:none!important;font-weight:700}
.managed-section-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:12px}
.managed-section-heading>p{margin:0;padding:7px 10px;border-radius:999px;background:#f5efe5;color:#6f5a36;font-size:.86rem;font-weight:700}
.managed-editor-group{margin:18px 0;border:1px solid #e3d8c9;border-radius:14px;background:#fff;overflow:hidden}
.managed-editor-group summary{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 16px;cursor:pointer;background:#f8f3ea;color:#1f3a5f;font-weight:800}
.managed-editor-group summary span{display:inline-flex;align-items:center;justify-content:center;min-width:30px;height:30px;padding:0 8px;border-radius:999px;background:#fff;color:#8a6a2a;border:1px solid #e4d7bf}
.managed-text-list{display:grid;gap:12px;padding:16px}
.managed-text-item{display:grid;gap:7px;padding:12px;border:1px solid #ede4d6;border-radius:12px;background:#fffdf9}
.managed-text-meta{color:#776a56;font-size:.78rem;letter-spacing:.04em}
.managed-text-item textarea{width:100%;min-height:70px;padding:10px 12px;border:1px solid #d7cbbb;border-radius:9px;background:#fff;resize:vertical;line-height:1.45}
.managed-image-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;padding:16px}
.managed-image-item{display:grid;gap:12px;padding:14px;border:1px solid #e8dece;border-radius:14px;background:#fffdf9}
.managed-image-preview{display:flex;align-items:center;justify-content:center;min-height:190px;border-radius:11px;background:#eee8de;overflow:hidden}
.managed-image-preview img{width:100%;height:220px;display:block;object-fit:contain;background:#f8f5ef}
.managed-save-bar{position:sticky;bottom:12px;z-index:5;display:flex;gap:10px;flex-wrap:wrap;justify-content:flex-end;margin-top:18px;padding:12px;border:1px solid #e3d8c9;border-radius:14px;background:rgba(255,255,255,.96);box-shadow:0 12px 30px rgba(31,42,55,.10);backdrop-filter:blur(10px)}
.managed-reset-form{margin-top:14px}
.managed-greek-color{margin:16px 0}
.managed-greek-color label{display:inline-flex;align-items:center;gap:12px;font-weight:700}
.managed-greek-color input{width:58px;height:42px;border:1px solid #d9cdbd;border-radius:8px;background:#fff}
.managed-section-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.managed-section-list label{display:grid;grid-template-columns:auto 1fr;gap:10px;align-items:start;padding:12px;border:1px solid #e5dacb;border-radius:12px;background:#fff}
.managed-section-list label>span{display:grid;gap:3px}
.managed-section-list strong{color:#1f3a5f;font-size:.82rem}
.managed-appearance-tabs{margin-top:14px}

/* Greca inserita dalla gestione della singola pagina. */
.managed-page-greek{display:flex;align-items:center;justify-content:center;gap:10px;width:min(360px,70%);margin:clamp(24px,4vw,54px) auto;color:var(--managed-greek-color,#C8A44D)}
.managed-page-greek span{height:2px;flex:1;background:linear-gradient(90deg,transparent,var(--managed-greek-color,#C8A44D))}
.managed-page-greek span:last-child{background:linear-gradient(90deg,var(--managed-greek-color,#C8A44D),transparent)}
.managed-page-greek i{width:10px;height:10px;display:block;background:var(--managed-greek-color,#C8A44D);transform:rotate(45deg);box-shadow:0 0 0 3px rgba(200,164,77,.09)}

@media(max-width:1050px){
  .page-manager-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:760px){
  .page-manager-toolbar,.managed-page-head,.managed-section-heading{display:grid;grid-template-columns:1fr}
  .page-manager-toolbar input{width:100%}
  .page-manager-grid,.managed-image-grid,.managed-section-list{grid-template-columns:1fr}
  .managed-page-head-actions{justify-content:flex-start}
  .managed-save-bar{justify-content:stretch}
  .managed-save-bar .button{flex:1;text-align:center}
}


/* ===== AREA RISERVATA: HOMEPAGE IN EVIDENZA ===== */
.page-manager-home-card{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:22px;margin:0 0 24px;padding:24px;border:2px solid #c8a44d;border-radius:20px;background:linear-gradient(135deg,#fff,#fbf6e9);box-shadow:0 14px 34px rgba(31,42,55,.08)}
.page-manager-home-icon{display:grid;place-items:center;width:64px;height:64px;border-radius:50%;background:#1f3a5f;color:#fff;font-size:2rem;line-height:1}
.page-manager-home-copy small{color:#8a6a2a;font-weight:700}.page-manager-home-copy h3{margin:4px 0 8px;font-size:1.8rem}.page-manager-home-copy p{margin:0;max-width:760px}
.page-manager-home-card .page-manager-actions{justify-content:flex-end}
@media(max-width:900px){.page-manager-home-card{grid-template-columns:auto 1fr}.page-manager-home-card .page-manager-actions{grid-column:1/-1;justify-content:flex-start}}
@media(max-width:560px){.page-manager-home-card{grid-template-columns:1fr}.page-manager-home-icon{width:54px;height:54px}.page-manager-home-card .page-manager-actions{grid-column:auto}}


/* ===== AREA RISERVATA: GESTIONE VIDEO HOMEPAGE ===== */
.admin-video-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}
.admin-video-heading h2 {
  margin-top: .15rem;
  margin-bottom: .55rem;
}
.admin-video-form-actions,
.admin-video-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .75rem;
}
.admin-video-actions form {
  margin: 0;
}
.admin-video-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}
.admin-video-card {
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--appearance-color-card-border, #e9dfd1);
  border-radius: 22px;
  box-shadow: 0 14px 32px rgba(33, 28, 22, .07);
}
.admin-video-preview {
  background: #111;
  aspect-ratio: 16 / 9;
}
.admin-video-preview video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}
.admin-video-copy {
  padding: 1.25rem;
}
.admin-video-copy .parish-event-meta {
  margin-top: 0;
}
.admin-video-copy h3 {
  margin: .35rem 0 .65rem;
}
@media (max-width: 900px) {
  .admin-video-grid { grid-template-columns: 1fr; }
  .admin-video-heading { flex-direction: column; }
}

/* ===== SETTIMANA RELIGIOSA: PDF PUBBLICATO COME IMMAGINE ===== */
.weekly-image-publication{
  background:var(--background,#fbfaf6)!important;
  padding-top:72px;
  padding-bottom:72px;
}
.weekly-image-publication-shell{
  max-width:1240px;
}
.weekly-image-publication-heading{
  max-width:900px;
  margin:0 auto 34px;
  text-align:center;
}
.weekly-image-publication-heading h1{
  margin:.12em 0 .2em;
  font-size:clamp(2.8rem,6vw,5.3rem);
  color:var(--heading,#1f3a5f);
}
.weekly-image-publication-heading>p:last-of-type{
  max-width:760px;
  margin:0 auto;
  color:var(--muted,#6e675e);
  font-size:1.08rem;
}
.weekly-image-greek{
  margin-top:26px;
}
.weekly-published-pages{
  display:grid;
  gap:28px;
  justify-items:center;
}
.weekly-published-page{
  width:min(100%,1120px);
  margin:0;
  padding:0;
  background:var(--background,#fbfaf6);
  border:1px solid rgba(200,164,77,.28);
  border-radius:20px;
  overflow:hidden;
  box-shadow:0 16px 46px rgba(31,58,95,.08);
}
.weekly-published-page img{
  display:block;
  width:100%;
  height:auto;
  margin:0;
  background:var(--background,#fbfaf6);
}
.weekly-image-actions{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  justify-content:center;
  gap:18px 26px;
  margin-top:32px;
  text-align:center;
}
.weekly-image-actions .weekly-update-note{
  margin:0;
  color:var(--muted,#6e675e);
  font-size:.98rem;
}
.weekly-archive{
  background:var(--background-soft,#f3efe7);
}

/* Anteprima in Area riservata */
.admin-body .weekly-image-preview{
  margin:8px 0 22px;
  padding:20px;
  background:#fbfaf6;
  border:1px solid #e5dcc8;
  border-radius:18px;
}
.admin-body .weekly-image-preview>strong{
  display:block;
  margin-bottom:14px;
  color:#1f3a5f;
}
.admin-body .weekly-preview-pages{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
  gap:16px;
}
.admin-body .weekly-preview-pages img{
  width:100%;
  height:auto;
  display:block;
  background:#fbfaf6;
  border:1px solid #ddd3bf;
  border-radius:12px;
  box-shadow:0 8px 24px rgba(31,58,95,.08);
}

@media(max-width:700px){
  .weekly-image-publication{padding-top:48px;padding-bottom:52px}
  .weekly-published-page{border-radius:12px}
  .weekly-image-actions{flex-direction:column}
  .weekly-image-actions .button{width:100%}
}


/* ===== RIMUOVE LA RIGA DECORATIVA NELL'ANGOLO DEGLI HERO ===== */
/* La greca/linea decorativa resta disponibile nelle sezioni interne; viene
   nascosta soltanto nel primo blocco (testata) di ogni pagina pubblica. */
main > section:first-child .eyebrow::after {
  display: none !important;
  content: none !important;
}


/* ===== PULSANTI ESTERNI GESTITI PAGINA PER PAGINA ===== */
.managed-external-links{padding:18px 0 30px;background:transparent}
.managed-external-links-inner{display:flex;align-items:center;justify-content:center;gap:14px;flex-wrap:wrap}
.managed-external-links .button{min-width:180px;max-width:100%;text-align:center;justify-content:center}
@media(max-width:620px){.managed-external-links{padding:14px 0 24px}.managed-external-links-inner{display:grid;grid-template-columns:1fr}.managed-external-links .button{width:100%;min-width:0}}

/* ===== ADMIN: GESTIONE PULSANTI E LINK ESTERNI ===== */
.managed-link-list{display:grid;gap:16px;margin-top:18px}
.managed-link-row{padding:18px;border:1px solid #e3d8c9;border-radius:16px;background:#fff;box-shadow:0 8px 24px rgba(31,42,55,.04)}
.managed-link-row-head{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:14px;color:#1f3a5f}
.managed-link-row-head .button{min-height:36px;padding:6px 14px}
.managed-link-grid{display:grid;grid-template-columns:1.1fr 1.7fr .8fr 1.2fr;gap:14px;align-items:end}
.managed-link-grid .admin-field{margin:0}
.managed-link-check{grid-column:1/-1;display:flex;align-items:center;gap:10px;padding:8px 2px;font-weight:700;color:#3f4650}
.managed-link-check input[type=checkbox]{width:18px;height:18px}
.managed-link-actions{justify-content:flex-start;flex-wrap:wrap}
@media(max-width:1100px){.managed-link-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.managed-link-url{grid-column:1/-1}}
@media(max-width:700px){.managed-link-grid{grid-template-columns:1fr}.managed-link-url{grid-column:auto}.managed-link-row-head{align-items:flex-start;flex-direction:column}.managed-link-row-head .button{width:100%}}

/* ===== GESTIONE PAGINE: IMMAGINI AGGIUNTIVE ===== */
.managed-added-media{padding:clamp(20px,3vw,42px) 0;background:transparent}
.managed-added-media-inner{display:grid;gap:clamp(18px,3vw,34px)}
.managed-added-figure{width:min(var(--managed-added-image-width,100%),100%);margin:0;overflow:hidden}
.managed-added-figure.align-left{justify-self:start}
.managed-added-figure.align-center{justify-self:center}
.managed-added-figure.align-right{justify-self:end}
.managed-added-figure img{display:block;width:100%;height:auto;max-width:100%;object-fit:contain;background:transparent}
.managed-added-figure.style-rounded img{border-radius:20px}
.managed-added-figure.style-card{padding:12px;border:1px solid var(--cms-color-card-border,#e9dfd1);border-radius:22px;background:var(--cms-color-card-bg,#fff);box-shadow:0 16px 38px rgba(43,35,25,.08)}
.managed-added-figure.style-card img{border-radius:14px}
.managed-added-figure figcaption{margin-top:10px;padding:0 6px;text-align:center;color:var(--cms-color-subtitles,#302c28);font-family:var(--cms-font-family-body,"Cormorant Garamond",serif);font-size:clamp(.95rem,1.6vw,1.08rem);line-height:1.45}
.managed-added-gallery-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:var(--cms-space-cards,24px);align-items:start}
.managed-added-gallery-grid .managed-added-figure{width:100%;justify-self:stretch}
@media(max-width:900px){.managed-added-gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.managed-added-figure{width:min(var(--managed-added-image-width,100%),100%)}}
@media(max-width:620px){.managed-added-gallery-grid{grid-template-columns:1fr}.managed-added-figure{width:100%!important}.managed-added-media{padding:18px 0}}

/* Editor immagini aggiuntive nell'Area riservata */
.managed-added-image-list{display:grid;gap:18px;margin-top:18px}
.managed-added-image-row{padding:18px;border:1px solid #e3d8c9;border-radius:18px;background:#fff;box-shadow:0 8px 24px rgba(31,42,55,.04)}
.managed-added-image-editor{display:grid;grid-template-columns:minmax(210px,300px) 1fr;gap:20px;align-items:start}
.managed-added-image-preview{min-height:210px}
.managed-added-image-preview img{width:100%;height:250px;object-fit:contain;background:#f8f5ef}
.managed-added-image-fields{display:grid;gap:12px}
.managed-added-image-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.managed-added-image-options .admin-field{margin:0}
@media(max-width:1050px){.managed-added-image-editor{grid-template-columns:1fr}.managed-added-image-preview{max-width:420px}.managed-added-image-options{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:680px){.managed-added-image-options{grid-template-columns:1fr}.managed-added-image-row{padding:14px}.managed-added-image-preview{max-width:none}}

/* ======================================================================
   AREA RISERVATA V2 — ricostruzione 2026-08-15
   Classi isolate admin2-* per non interferire con il sito pubblico.
   ====================================================================== */
.admin2-body{margin:0;background:#f4f1eb;color:#1b1a18;font-family:"Open Sans",Arial,sans-serif;min-height:100vh}
.admin2-body *{box-sizing:border-box}
.admin2-shell{min-height:100vh;display:grid;grid-template-columns:285px minmax(0,1fr)}
.admin2-sidebar{position:sticky;top:0;height:100vh;overflow:auto;background:#f7f4ee;color:#2d2923;padding:24px 18px;z-index:50;border-right:1px solid #ddd4c8;box-shadow:6px 0 22px rgba(49,41,31,.05)}
.admin2-brand{display:flex;align-items:center;gap:13px;color:#2d2923;text-decoration:none;padding:4px 6px 22px;border-bottom:1px solid #ddd4c8}
.admin2-brand img{width:52px;height:52px;object-fit:contain;background:#fff;border-radius:50%;padding:4px}
.admin2-brand span{display:grid;gap:2px}.admin2-brand strong{font-family:"Cormorant Garamond",Georgia,serif;font-size:25px;font-weight:600;line-height:1;color:#2d2923}.admin2-brand small{font-size:12px;text-transform:uppercase;letter-spacing:.12em;color:#8b6725}
.admin2-user{margin:20px 5px;padding:14px 15px;border:1px solid #ded5c9;border-radius:14px;background:#fff;display:grid;gap:4px;color:#2d2923}.admin2-user span{font-size:11px;text-transform:uppercase;letter-spacing:.12em;color:#8b6725}.admin2-user strong{font-size:14px;font-weight:600;color:#2d2923}
.admin2-nav{display:grid;gap:4px}.admin2-nav-group{display:grid;gap:3px;margin:4px 0 14px}.admin2-nav-group>p{margin:0 8px 7px;color:#8f928b;text-transform:uppercase;font-size:10px;letter-spacing:.15em;font-weight:700}.admin2-nav a{color:#d9dbd5;text-decoration:none;padding:10px 12px;border-radius:10px;font-size:13px;line-height:1.2;transition:.15s ease}.admin2-nav a:hover{background:rgba(255,255,255,.07);color:#fff}.admin2-nav a.active{background:#c8a44d;color:#171816;font-weight:700}.admin2-nav-bottom{border-top:1px solid rgba(255,255,255,.1);padding-top:12px}
.admin2-main{min-width:0}.admin2-topbar{min-height:96px;background:#fff;border-bottom:1px solid #e8e1d7;display:flex;align-items:center;gap:20px;padding:18px clamp(22px,3vw,46px);position:sticky;top:0;z-index:30}.admin2-title-wrap{min-width:0;flex:1}.admin2-title-wrap h1{margin:0;font-family:"Cormorant Garamond",Georgia,serif;font-size:clamp(28px,3vw,42px);font-weight:500;line-height:1}.admin2-title-wrap p{margin:5px 0 0;font-size:13px;color:#6b675f;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.admin2-menu-button{display:none;border:1px solid #d8d0c4;background:#fff;border-radius:10px;padding:9px 12px;font-weight:700}
.admin2-content{padding:32px clamp(20px,3vw,46px) 70px;max-width:1700px;margin:0 auto}.admin2-content>.admin2-alert:first-child{margin-top:0}
.admin2-alert{padding:13px 16px;border-radius:12px;margin:0 0 18px;border:1px solid;font-size:14px}.admin2-alert-success{background:#f1f8f0;border-color:#bfdbbd;color:#244d22}.admin2-alert-error{background:#fff2f1;border-color:#e8c3bf;color:#7c241b}.admin2-alert-info{background:#f3f6f8;border-color:#ccd8df;color:#314958}
.admin2-hero-card{background:linear-gradient(135deg,#fff 0%,#fbf6ec 100%);border:1px solid #e5d9c8;border-radius:24px;padding:clamp(26px,4vw,48px);display:flex;align-items:flex-end;justify-content:space-between;gap:32px;box-shadow:0 16px 45px rgba(58,42,20,.06)}.admin2-hero-card h2{font-family:"Cormorant Garamond",Georgia,serif;font-size:clamp(34px,4vw,57px);line-height:.98;font-weight:500;max-width:900px;margin:8px 0 14px}.admin2-hero-card p:not(.admin2-kicker){max-width:850px;color:#605a52;line-height:1.65;margin:0}.admin2-kicker{margin:0!important;color:#9a6d20!important;font-size:11px!important;font-family:"Open Sans",Arial,sans-serif!important;font-weight:700!important;letter-spacing:.16em!important;text-transform:uppercase!important}
.admin2-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:18px 0 34px}.admin2-stats article{background:#fff;border:1px solid #e7e0d6;border-radius:16px;padding:18px 20px;display:flex;align-items:baseline;justify-content:space-between;gap:10px}.admin2-stats strong{font-family:"Cormorant Garamond",Georgia,serif;font-size:36px;font-weight:500}.admin2-stats span{font-size:12px;color:#716b63;text-align:right}
.admin2-section{margin:38px 0}.admin2-section-head{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:18px}.admin2-section-head h2{font-family:"Cormorant Garamond",Georgia,serif;font-size:34px;line-height:1.05;font-weight:500;margin:6px 0 5px}.admin2-section-head p:not(.admin2-kicker){color:#706960;font-size:14px;line-height:1.55;margin:0;max-width:850px}
.admin2-card-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.admin2-card-grid-editor{grid-template-columns:repeat(4,minmax(0,1fr))}.admin2-action-card{background:#fff;border:1px solid #e5ded4;border-radius:18px;padding:23px;min-height:210px;display:flex;flex-direction:column}.admin2-action-card>span{width:34px;height:34px;border-radius:50%;display:grid;place-items:center;background:#f7f1e6;color:#97681c;font-size:11px;font-weight:800}.admin2-action-card h3{font-family:"Cormorant Garamond",Georgia,serif;font-size:28px;font-weight:500;margin:18px 0 8px}.admin2-action-card p{margin:0 0 18px;color:#69635b;font-size:13px;line-height:1.55}.admin2-action-card>a{margin-top:auto;color:#8d6118;font-size:13px;font-weight:700;text-decoration:none}.admin2-action-card-featured{border-color:#d3b16f;background:#fffaf0}
.admin2-note-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.admin2-note-grid article{border-left:3px solid #c8a44d;background:#fff;padding:18px 20px}.admin2-note-grid strong{font-size:14px}.admin2-note-grid p{color:#6f6961;font-size:13px;line-height:1.55;margin:6px 0 0}
.admin2-panel{background:#fff;border:1px solid #e4ddd3;border-radius:18px;padding:24px;margin-bottom:18px;box-shadow:0 8px 25px rgba(51,40,24,.035)}
.admin2-page-picker{display:grid;grid-template-columns:auto minmax(240px,1fr) auto auto;align-items:end;gap:10px;background:#fff;border:1px solid #e4ddd3;border-radius:16px;padding:14px 16px;margin-bottom:12px}.admin2-page-picker label{font-size:12px;font-weight:700;align-self:center}.admin2-page-picker select{width:100%;border:1px solid #d8d0c5;border-radius:10px;padding:10px 12px;background:#fff;font-size:14px;min-height:42px}
.admin2-editor-tabs{display:flex;gap:5px;overflow:auto;background:#ece7df;border-radius:14px;padding:5px;margin-bottom:20px}.admin2-editor-tabs a{white-space:nowrap;text-decoration:none;color:#4f4a43;padding:10px 15px;border-radius:10px;font-size:12px;font-weight:700}.admin2-editor-tabs a.active{background:#fff;color:#8d6118;box-shadow:0 2px 8px rgba(42,34,23,.08)}
.admin2-search{border:1px solid #d9d1c6;border-radius:11px;padding:10px 13px;min-width:240px;background:#fff;font:inherit;font-size:13px}.admin2-page-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}.admin2-page-card{background:#fff;border:1px solid #e4ddd3;border-radius:17px;padding:20px;min-height:205px;display:flex;flex-direction:column}.admin2-page-card.is-home{border:1px solid #cdaa62;background:linear-gradient(145deg,#fff,#fff9ee)}.admin2-page-card-head{display:flex;justify-content:space-between;align-items:center}.admin2-page-card-head>span{font-size:10px;text-transform:uppercase;letter-spacing:.14em;color:#996c21;font-weight:800}.admin2-dot{width:9px;height:9px;background:#c8a44d;border-radius:50%}.admin2-page-card h2{font-family:"Cormorant Garamond",Georgia,serif;font-size:27px;font-weight:500;line-height:1.05;margin:16px 0 8px}.admin2-page-card code{font-size:10px;color:#77716a;word-break:break-all}.admin2-mini-stats{display:flex;gap:8px;flex-wrap:wrap;margin:14px 0}.admin2-mini-stats span{font-size:10px;background:#f4f1eb;border-radius:999px;padding:5px 8px;color:#625d56}.admin2-mini-stats b{color:#8e621a}.admin2-card-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-top:auto}
.admin2-editor-form{display:block}.admin2-text-list,.admin2-image-list{display:grid;gap:12px}.admin2-text-row{background:#fff;border:1px solid #e1d9ce;border-radius:15px;padding:17px}.admin2-text-row.is-changed,.admin2-image-row.is-changed{border-color:#c7a75f;box-shadow:inset 3px 0 #c8a44d}.admin2-text-row header,.admin2-image-controls header{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;margin-bottom:10px}.admin2-text-row header>div{display:flex;align-items:center;gap:8px;min-width:0}.admin2-index{width:27px;height:27px;flex:none;border-radius:50%;display:grid;place-items:center;background:#f2ece2;color:#8e6118;font-size:10px;font-weight:800}.admin2-text-row header strong{font-size:10px;letter-spacing:.12em;color:#605b55}.admin2-text-row header small{font-size:11px;color:#8a847d;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.admin2-text-row textarea{width:100%;border:1px solid #d7cec2;border-radius:11px;padding:12px 14px;font:15px/1.5 "Open Sans",Arial,sans-serif;resize:vertical;background:#fff}.admin2-text-row details,.admin2-image-row details{margin-top:9px}.admin2-text-row summary,.admin2-image-row summary{cursor:pointer;color:#80632d;font-size:11px}.admin2-detail-grid{display:grid;grid-template-columns:2fr 1fr;gap:12px;margin-top:10px}.admin2-detail-grid pre{white-space:pre-wrap;word-break:break-word;font-size:11px;background:#f6f3ee;padding:10px;border-radius:9px;margin:5px 0 0;max-height:180px;overflow:auto}.admin2-detail-grid code{display:block;word-break:break-all;font-size:10px;background:#f6f3ee;padding:10px;border-radius:9px;margin-top:5px}
.admin2-badge{display:inline-flex;padding:5px 8px;border-radius:999px;font-size:9px;text-transform:uppercase;letter-spacing:.08em;font-weight:800;background:#ece8e1;color:#625c55}.admin2-badge-pubblicato,.admin2-badge-success{background:#edf7ea;color:#2c652a}.admin2-badge-bozza{background:#f5f0e7;color:#735c35}.admin2-badge-archivio{background:#efefef;color:#666}
.admin2-sticky-save{position:sticky;bottom:14px;z-index:20;margin:18px 0;background:rgba(26,27,25,.96);color:#fff;border-radius:16px;padding:13px 15px;display:flex;align-items:center;justify-content:space-between;gap:18px;box-shadow:0 12px 30px rgba(0,0,0,.2);backdrop-filter:blur(8px)}.admin2-sticky-save>div:first-child{display:grid;gap:2px}.admin2-sticky-save strong{font-size:13px}.admin2-sticky-save span{font-size:10px;color:#bdbfb9}.admin2-danger-zone{display:flex;align-items:center;justify-content:space-between;gap:22px;border:1px dashed #d9b6aa;background:#fff9f7;border-radius:16px;padding:20px;margin-top:22px}.admin2-danger-zone h2{font:500 25px/1 "Cormorant Garamond",Georgia,serif;margin:0 0 6px}.admin2-danger-zone p{font-size:12px;color:#745e58;margin:0}
.admin2-image-row{background:#fff;border:1px solid #e1d9ce;border-radius:17px;overflow:hidden;display:grid;grid-template-columns:260px minmax(0,1fr)}.admin2-image-preview-wrap{position:relative;background:#eee9e1;min-height:240px;display:grid;place-items:center;padding:18px}.admin2-image-preview-wrap img{width:100%;height:220px;object-fit:contain;display:block}.admin2-image-preview-wrap .admin2-index{position:absolute;left:12px;top:12px;background:#1b1c19;color:#fff}.admin2-no-image{font-size:12px;color:#777}.admin2-image-controls{padding:20px}.admin2-image-controls h3{font:500 26px/1 "Cormorant Garamond",Georgia,serif;margin:0 0 5px}.admin2-image-controls header code{display:block;font-size:9px;color:#79736b;max-width:680px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.admin2-form-grid{display:grid;gap:12px;margin:12px 0}.admin2-form-grid-2{grid-template-columns:repeat(2,minmax(0,1fr))}.admin2-form-grid-3{grid-template-columns:repeat(3,minmax(0,1fr))}.admin2-form-grid-4{grid-template-columns:repeat(4,minmax(0,1fr))}.admin2-form-stack{display:grid;gap:12px}.admin2-field{display:grid;gap:6px;min-width:0}.admin2-field>span{font-size:11px;font-weight:700;color:#4c4842}.admin2-field input:not([type=checkbox]):not([type=radio]),.admin2-field select,.admin2-field textarea{width:100%;border:1px solid #d8d0c5;border-radius:10px;background:#fff;padding:10px 11px;font:13px "Open Sans",Arial,sans-serif;min-height:41px}.admin2-field textarea{line-height:1.5;resize:vertical}.admin2-field small{font-size:9px;color:#807a72;line-height:1.4}.admin2-check-field>label{border:1px solid #e0d9d0;border-radius:10px;min-height:41px;padding:10px 11px;font-size:12px;background:#faf8f5}.admin2-color-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.admin2-color-field{display:grid;grid-template-columns:1fr auto;gap:8px;align-items:center;border:1px solid #e2dace;border-radius:12px;padding:11px}.admin2-color-field span{font-size:11px;font-weight:700}.admin2-color-field input[type=color]{width:45px;height:35px;border:0;background:transparent}.admin2-color-field code{grid-column:1/-1;font-size:9px;color:#777}
.admin2-builder-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.admin2-builder-card{margin:0}.admin2-builder-card h2{font:500 30px/1 "Cormorant Garamond",Georgia,serif;margin:7px 0 18px}.admin2-block-list{display:grid;gap:8px}.admin2-block-row{display:grid;grid-template-columns:36px minmax(0,1fr) 80px auto;gap:12px;align-items:center;border:1px solid #e4ddd4;border-radius:13px;padding:10px 12px}.admin2-block-number{width:32px;height:32px;border-radius:50%;display:grid;place-items:center;background:#f0eadf;color:#8e621c;font-weight:800;font-size:11px}.admin2-block-summary span{font-size:9px;text-transform:uppercase;letter-spacing:.12em;color:#9b6d21;font-weight:800}.admin2-block-summary h3{font:500 20px/1.1 "Cormorant Garamond",Georgia,serif;margin:3px 0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.admin2-block-summary small{font-size:9px;color:#7d776f}.admin2-block-thumb{width:70px;height:50px;object-fit:cover;border-radius:7px}.admin2-inline-actions form{display:flex;gap:5px}.admin2-icon-button{border:1px solid #d7cfc4;background:#fff;border-radius:8px;padding:7px 9px;font-size:10px;cursor:pointer}.admin2-icon-button.danger{color:#9b382b;border-color:#e3c2bb}.admin2-empty{text-align:center;padding:34px;border:1px dashed #d6cec2;border-radius:13px;color:#716b64}.admin2-empty strong{font:500 25px "Cormorant Garamond",Georgia,serif}.admin2-empty p{font-size:12px;margin:5px 0 0}.admin2-table-wrap{overflow:auto}.admin2-table{width:100%;border-collapse:collapse;font-size:12px}.admin2-table th{text-align:left;font-size:9px;text-transform:uppercase;letter-spacing:.1em;color:#777;padding:10px;border-bottom:1px solid #ddd}.admin2-table td{padding:11px 10px;border-bottom:1px solid #eee9e2;vertical-align:middle}

/* Compatibilità con i moduli amministrativi precedenti che restano attivi. */
.admin2-content .admin-panel{background:#fff;border:1px solid #e4ddd3;border-radius:18px;padding:24px;margin-bottom:18px;box-shadow:0 8px 25px rgba(51,40,24,.035)}
.admin2-content .admin-form{display:grid;gap:14px}.admin2-content .admin-field{display:grid;gap:6px}.admin2-content .admin-field label{font-size:12px;font-weight:700}.admin2-content .admin-field input,.admin2-content .admin-field select,.admin2-content .admin-field textarea{width:100%;padding:10px 12px;border:1px solid #d8d0c5;border-radius:10px;font:13px "Open Sans",Arial,sans-serif}.admin2-content .admin-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.admin2-content .admin-table-wrap{overflow:auto}.admin2-content .admin-table{width:100%;border-collapse:collapse;font-size:12px}.admin2-content .admin-table td,.admin2-content .admin-table th{padding:10px;border-bottom:1px solid #eee7df;text-align:left;vertical-align:top}.admin2-content h2{font-family:"Cormorant Garamond",Georgia,serif;font-weight:500}

/* ======================================================================
   ELEMENTI DINAMICI DEL SITO PUBBLICO — Editor v2
   ====================================================================== */
.site-editor-zone{width:100%;position:relative;z-index:1}.site-editor-zone:empty{display:none}
.site-editor-greek{--editor-greek-color:#c8a44d;--editor-greek-width:70%;width:var(--editor-greek-width);max-width:940px;margin:34px auto;display:flex;align-items:center;justify-content:center;gap:12px;color:var(--editor-greek-color)}.site-editor-greek span{height:1px;background:currentColor;flex:1;opacity:.8}.site-editor-greek i{font:normal 18px/1 Georgia,serif;min-width:20px;text-align:center}.site-editor-greek.greek-simple{gap:0}.site-editor-greek.greek-simple i{display:none}.site-editor-greek.greek-classic i{transform:rotate(0deg)}
.site-editor-added-image{--editor-image-width:100%;--editor-image-max-width:none;width:min(var(--editor-image-width),100%);max-width:var(--editor-image-max-width);margin:30px auto;text-align:center}.site-editor-added-image.align-left{margin-left:max(0px,calc((100% - min(var(--editor-image-width),100%))/2));margin-right:auto}.site-editor-added-image.align-right{margin-right:max(0px,calc((100% - min(var(--editor-image-width),100%))/2));margin-left:auto}.site-editor-added-image img{display:block;width:100%;height:auto;margin:0 auto}.site-editor-added-image.style-rounded img{border-radius:20px}.site-editor-added-image.style-card{background:#fff;border:1px solid #eadfce;border-radius:22px;padding:10px;box-shadow:0 14px 34px rgba(44,33,18,.1)}.site-editor-added-image.style-card img{border-radius:14px}.site-editor-added-image figcaption{font-size:.85em;color:#6e655b;margin-top:9px;line-height:1.4}
.site-editor-button-wrap{display:flex;justify-content:center;gap:10px;margin:26px auto;padding:0 20px}.site-editor-button-outline{background:transparent!important;color:var(--cms-color-links,#a9751d)!important;border:1px solid currentColor!important}
.site-editor-text-block{max-width:1120px;margin:26px auto;padding:0 24px;line-height:1.65}.site-editor-text-block.align-center{text-align:center}.site-editor-text-block.align-right{text-align:right}.site-editor-text-block.style-note,.site-editor-text-block.style-highlight{padding:22px 26px;border-radius:18px;background:#fff;border:1px solid #eadfce}.site-editor-text-block.style-note{border-left:4px solid #c8a44d}.site-editor-text-block.style-highlight{background:#faf4e8;border-color:#dcc28b}

@media(max-width:1200px){.admin2-card-grid-editor{grid-template-columns:repeat(2,minmax(0,1fr))}.admin2-card-grid,.admin2-page-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.admin2-form-grid-4{grid-template-columns:repeat(2,minmax(0,1fr))}.admin2-image-row{grid-template-columns:220px minmax(0,1fr)}}
@media(max-width:900px){.admin2-shell{grid-template-columns:1fr}.admin2-sidebar{position:fixed;left:0;top:0;width:min(86vw,310px);transform:translateX(-105%);transition:transform .2s ease;box-shadow:12px 0 40px rgba(0,0,0,.25)}.admin2-sidebar.open{transform:translateX(0)}.admin2-menu-button{display:inline-block}.admin2-topbar{min-height:78px;padding:14px 18px}.admin2-topbar>.button{display:none}.admin2-content{padding:20px 14px 60px}.admin2-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.admin2-card-grid,.admin2-page-grid,.admin2-builder-grid,.admin2-note-grid{grid-template-columns:1fr}.admin2-page-picker{grid-template-columns:1fr 1fr}.admin2-page-picker label,.admin2-page-picker select{grid-column:1/-1}.admin2-form-grid-3,.admin2-color-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.admin2-image-row{grid-template-columns:1fr}.admin2-image-preview-wrap{min-height:180px}.admin2-image-preview-wrap img{height:180px}.admin2-sticky-save{bottom:8px}}
@media(max-width:620px){.admin2-hero-card{display:block}.admin2-hero-card>.button{margin-top:20px}.admin2-stats{grid-template-columns:1fr 1fr}.admin2-card-grid-editor,.admin2-form-grid-2,.admin2-form-grid-3,.admin2-form-grid-4,.admin2-color-grid{grid-template-columns:1fr}.admin2-page-picker{grid-template-columns:1fr}.admin2-page-picker>*{grid-column:1!important}.admin2-editor-tabs{margin-left:-4px;margin-right:-4px}.admin2-section-head{display:block}.admin2-section-head .admin2-search{width:100%;min-width:0;margin-top:12px}.admin2-text-row header>div{align-items:flex-start;flex-wrap:wrap}.admin2-detail-grid{grid-template-columns:1fr}.admin2-sticky-save{align-items:stretch;flex-direction:column}.admin2-sticky-save .button{width:100%}.admin2-danger-zone{align-items:stretch;flex-direction:column}.admin2-block-row{grid-template-columns:32px minmax(0,1fr)}.admin2-block-thumb{display:none}.admin2-inline-actions{grid-column:1/-1}.admin2-inline-actions form{justify-content:flex-end}.admin2-content .admin-form-grid{grid-template-columns:1fr}}

/* Login / installazione Area riservata v2 */
.admin2-auth-body{margin:0;min-height:100vh;background:#f3efe8;color:#1c1b18;font-family:"Open Sans",Arial,sans-serif}.admin2-auth-body *{box-sizing:border-box}.admin2-auth-shell{min-height:100vh;display:grid;grid-template-columns:minmax(360px,45%) minmax(0,1fr)}.admin2-auth-art{position:relative;display:flex;align-items:flex-end;padding:clamp(36px,6vw,80px);background:linear-gradient(180deg,rgba(22,22,19,.1),rgba(22,22,19,.75)),url('../img/parrocchia/parrocchia-hero.jpg') center/cover no-repeat;color:#fff}.admin2-auth-art>div{max-width:650px}.admin2-auth-art p{font-size:11px;text-transform:uppercase;letter-spacing:.18em;color:#e4c478;margin:0 0 10px}.admin2-auth-art h1{font:500 clamp(48px,7vw,92px)/.9 "Cormorant Garamond",Georgia,serif;margin:0 0 18px}.admin2-auth-art span{font:400 20px/1.45 "Cormorant Garamond",Georgia,serif;opacity:.92}.admin2-auth-panel{display:grid;place-items:center;padding:40px 28px}.admin2-auth-card{width:min(520px,100%);background:#fff;border:1px solid #e6ddd0;border-radius:24px;padding:clamp(28px,4vw,48px);box-shadow:0 20px 60px rgba(43,32,17,.08)}.admin2-auth-brand{display:flex;align-items:center;gap:12px;text-decoration:none;color:#191814;margin-bottom:40px}.admin2-auth-brand img{width:54px;height:54px;object-fit:contain;border-radius:50%;background:#fff}.admin2-auth-brand span{display:grid}.admin2-auth-brand strong{font:600 24px/1 "Cormorant Garamond",Georgia,serif}.admin2-auth-brand small{font-size:10px;text-transform:uppercase;letter-spacing:.14em;color:#9a6c20}.admin2-auth-card h2{font:500 46px/1 "Cormorant Garamond",Georgia,serif;margin:7px 0 10px}.admin2-auth-intro{font-size:13px;color:#6e675f;line-height:1.6;margin:0 0 24px}.admin2-auth-foot{font-size:10px;color:#7c756d;margin:24px 0 0}.admin2-auth-foot a{color:#8e621a}
.admin2-health{display:inline-flex;padding:8px 12px;border-radius:999px;font-size:10px;font-weight:800;letter-spacing:.08em}.admin2-health.ok{background:#eaf6e8;color:#2d6b2b}.admin2-health.bad{background:#fff0ed;color:#8b3024}.admin2-check-list{display:grid;gap:8px}.admin2-check-list article{display:grid;grid-template-columns:34px 1fr;gap:12px;align-items:flex-start;padding:13px 15px;border:1px solid #e6dfd6;border-radius:12px}.admin2-check-list article>span{width:30px;height:30px;border-radius:50%;display:grid;place-items:center;font-weight:800}.admin2-check-list article.ok>span{background:#ebf6e8;color:#2c6c29}.admin2-check-list article.bad>span{background:#fff0ed;color:#963629}.admin2-check-list strong{font-size:12px}.admin2-check-list p{font-size:10px;color:#716b64;line-height:1.45;margin:3px 0 0}
@media(max-width:850px){.admin2-auth-shell{grid-template-columns:1fr}.admin2-auth-art{min-height:260px;padding:34px}.admin2-auth-art h1{font-size:56px}.admin2-auth-panel{padding:22px 14px 40px}.admin2-auth-card{margin-top:-42px;position:relative;z-index:2}}

/* ===== AREA RISERVATA V2: utenti e ruoli ===== */
.admin2-role-list{display:grid;gap:10px;margin-top:18px}.admin2-role-list p{margin:0;padding:14px 16px;border:1px solid #e8e0d6;border-radius:12px;background:#fcfaf7;display:grid;gap:4px}.admin2-role-list strong{font-size:12px;color:#8f6117}.admin2-role-list span{font-size:11px;color:#68625b;line-height:1.5}.admin2-user-list{display:grid;gap:10px}.admin2-user-row{display:grid;grid-template-columns:50px minmax(220px,1fr) minmax(250px,auto);gap:14px;align-items:center;padding:14px;border:1px solid #e6ded3;border-radius:14px;background:#fff}.admin2-user-row.is-disabled{opacity:.62;background:#f7f4ef}.admin2-user-avatar{width:46px;height:46px;border-radius:50%;display:grid;place-items:center;background:#f4ead6;color:#98691d;font:600 23px/1 "Cormorant Garamond",Georgia,serif}.admin2-user-meta{display:grid;gap:2px;min-width:0}.admin2-user-meta strong{font-size:13px}.admin2-user-meta span{font-size:11px;color:#5f5a54;overflow:hidden;text-overflow:ellipsis}.admin2-user-meta small{font-size:9px;color:#8a837a}.admin2-user-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:8px}.admin2-user-actions details{position:relative}.admin2-user-actions summary{cursor:pointer;border:1px solid #d8d0c5;border-radius:9px;padding:8px 11px;font-size:10px;font-weight:700;list-style:none;background:#fff}.admin2-user-actions details[open]{min-width:260px}.admin2-user-actions details[open] summary{margin-bottom:8px}.admin2-form-stack.compact{display:grid;gap:7px;padding:10px;border:1px solid #ece4da;border-radius:10px;background:#faf8f4;margin-bottom:7px}.admin2-form-stack.compact input,.admin2-form-stack.compact select{padding:8px 10px;border:1px solid #d8d0c5;border-radius:8px;font-size:11px}.admin2-form-stack.compact .button{width:100%}
@media(max-width:850px){.admin2-user-row{grid-template-columns:46px minmax(0,1fr)}.admin2-user-actions{grid-column:1/-1;justify-content:flex-start;padding-left:60px}}
@media(max-width:560px){.admin2-user-row{grid-template-columns:1fr}.admin2-user-avatar{display:none}.admin2-user-actions{padding-left:0}.admin2-user-actions details,.admin2-user-actions details[open]{width:100%;min-width:0}.admin2-user-actions summary{width:100%;text-align:center}}

/* ===== AREA RISERVATA V2: moduli contenuto ===== */
.admin2-actions,.admin2-row-actions{display:flex;flex-wrap:wrap;align-items:center;gap:8px}.admin2-row-actions form{margin:0}.admin2-row-actions .button{white-space:nowrap}.admin2-option-list{display:grid;gap:8px;padding:14px 16px;border:1px solid #e6ded3;border-radius:12px;background:#fbf9f6}.admin2-option-list label{display:flex;align-items:flex-start;gap:9px;font-size:11px;line-height:1.45;color:#514d47}.admin2-option-list input{margin-top:2px}.admin2-upload-strip{grid-template-columns:minmax(0,1fr) auto;align-items:end;padding:16px;margin:0 0 20px;border:1px solid #e5ddd2;border-radius:14px;background:#fbf9f5}.admin2-gallery-admin-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.admin2-gallery-admin-card{display:grid;gap:10px;padding:10px;border:1px solid #e4ddd3;border-radius:16px;background:#fff;box-shadow:0 8px 24px rgba(43,32,18,.04)}.admin2-gallery-admin-card>img{display:block;width:100%;height:210px;object-fit:cover;border-radius:11px;background:#f1eee9}.admin2-gallery-admin-card>form:last-child{display:flex;justify-content:flex-end}.admin2-search{min-width:240px;max-width:360px;padding:9px 12px;border:1px solid #d9d1c7;border-radius:10px;background:#fff;font:12px "Open Sans",Arial,sans-serif}.admin2-table small{color:#817b73;line-height:1.45}.admin2-table a:not(.button){color:#8d621c;text-decoration:underline;text-underline-offset:2px}
@media(max-width:1100px){.admin2-gallery-admin-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:720px){.admin2-gallery-admin-grid{grid-template-columns:1fr}.admin2-upload-strip{grid-template-columns:1fr}.admin2-upload-strip .button{width:100%}.admin2-row-actions{min-width:150px}}

/* ===== AREA RISERVATA V2: richieste ===== */
.admin2-filter-bar{display:flex;flex-wrap:wrap;align-items:end;gap:10px;margin:0 0 20px;padding:14px;border:1px solid #e5ded4;border-radius:13px;background:#faf8f4}.admin2-filter-bar .admin2-field{min-width:180px}.admin2-request-list{display:grid;gap:12px}.admin2-request-card{border:1px solid #e5ddd2;border-radius:15px;padding:16px;background:#fff}.admin2-request-card>header{display:flex;align-items:flex-start;justify-content:space-between;gap:15px}.admin2-request-card header span{font-size:9px;text-transform:uppercase;letter-spacing:.1em;color:#97691d;font-weight:800}.admin2-request-card h3{font:500 25px/1.05 "Cormorant Garamond",Georgia,serif;margin:4px 0}.admin2-request-card header small{font-size:9px;color:#857e76}.admin2-request-contact{display:flex;flex-wrap:wrap;gap:8px 16px;margin:12px 0;font-size:11px}.admin2-request-contact a{color:#875f1c}.admin2-request-card details{margin:12px 0;border-top:1px solid #eee8e0;border-bottom:1px solid #eee8e0;padding:10px 0}.admin2-request-card summary{cursor:pointer;font-size:10px;font-weight:800;color:#625b53}.admin2-request-card dl{display:grid;grid-template-columns:minmax(120px,220px) minmax(0,1fr);gap:6px 16px;font-size:10px;margin:12px 0 0}.admin2-request-card dt{font-weight:800}.admin2-request-card dd{margin:0;white-space:pre-wrap;overflow-wrap:anywhere}.admin2-request-status{display:flex;justify-content:flex-end;gap:8px}.admin2-request-status select{border:1px solid #d8d0c5;border-radius:9px;padding:8px 10px;background:#fff;font-size:11px}
@media(max-width:650px){.admin2-filter-bar{display:grid;grid-template-columns:1fr}.admin2-filter-bar>*{width:100%}.admin2-request-card dl{grid-template-columns:1fr}.admin2-request-status{display:grid;grid-template-columns:1fr}.admin2-request-status .button{width:100%}}
.admin2-edit-block-panel{border-color:#d9c49a!important;box-shadow:0 14px 38px rgba(140,95,22,.08)!important}.admin2-edit-image-current{display:flex;justify-content:center;padding:12px;border:1px dashed #ddcfb8;border-radius:12px;background:#faf7f1}.admin2-edit-image-current img{display:block;max-width:min(100%,520px);max-height:300px;object-fit:contain;border-radius:10px}.admin2-inline-actions{display:flex;align-items:center;justify-content:flex-end;gap:6px}.admin2-inline-actions>a.admin2-icon-button{text-decoration:none;color:#4f4942;display:inline-flex;align-items:center}

/* Editor HTML v3 — galleria di immagini aggiunte */
.site-editor-gallery{
  width:min(100%,1200px);
  margin:24px auto;
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(min(240px,100%),1fr));
  gap:var(--cms-space-cards,24px);
  align-items:start;
}
.site-editor-gallery .site-editor-added-image{
  width:100%!important;
  max-width:none!important;
  margin:0!important;
}
.site-editor-gallery .site-editor-added-image img{width:100%;height:auto;display:block}
@media (max-width:640px){.site-editor-gallery{grid-template-columns:1fr}}

/* ==========================================================
   HOMEPAGE — MOSAICO HERO PULITO 2026-08-16
   Nessuna fascia e nessuna scritta sovrapposta all'immagine
   immediatamente sotto il testo introduttivo della Homepage.
   Le regole difensive nascondono anche eventuale vecchio markup
   rimasto nella cache del browser.
   ========================================================== */
.approved-home-hero .approved-hero-clean,
.approved-home-hero .approved-hero-feature{
  position:relative!important;
  display:block!important;
  color:inherit!important;
  text-decoration:none!important;
  background:transparent!important;
}
.approved-home-hero .approved-hero-feature-band,
.approved-home-hero .approved-hero-feature-copy,
.approved-home-hero .places-feature-overlay,
.approved-home-hero .places-feature-copy{
  display:none!important;
  visibility:hidden!important;
  opacity:0!important;
  height:0!important;
  overflow:hidden!important;
  pointer-events:none!important;
}
.approved-home-hero .approved-hero-feature::before,
.approved-home-hero .approved-hero-feature::after,
.approved-home-hero .approved-hero-clean::before,
.approved-home-hero .approved-hero-clean::after{
  content:none!important;
  display:none!important;
}
.approved-home-hero .approved-hero-image{
  position:relative!important;
  z-index:0!important;
  transform:none!important;
  filter:none!important;
}


/* ===== AREA RISERVATA V3: EDITOR DIMENSIONI CARD ===== */
.admin2-card-size-list{display:grid;gap:18px}
.admin2-card-size-row{background:#fff;border:1px solid #e4ddd3;border-radius:18px;padding:22px;box-shadow:0 8px 25px rgba(51,40,24,.035)}
.admin2-card-size-row.is-changed{border-color:#cfb26f;box-shadow:0 10px 28px rgba(151,104,28,.08)}
.admin2-card-size-identification{display:grid;grid-template-columns:150px minmax(0,1fr) auto;gap:18px;align-items:center;margin-bottom:20px;padding-bottom:18px;border-bottom:1px solid #eee7dd}
.admin2-card-size-identification h3{margin:5px 0 7px;font-family:"Cormorant Garamond",Georgia,serif;font-size:28px;font-weight:500;line-height:1.05}
.admin2-card-size-identification code{display:inline-block;max-width:100%;overflow-wrap:anywhere;color:#6f685f;font-size:11px}
.admin2-card-size-preview{width:150px;height:105px;border-radius:13px;overflow:hidden;background:#f5f1ea;border:1px solid #e3dbcf;display:grid;place-items:center;color:#a07833;font-weight:800;letter-spacing:.13em;font-size:12px}
.admin2-card-size-preview img{width:100%;height:100%;object-fit:cover;display:block}
.admin2-card-size-preview-empty{background:linear-gradient(135deg,#fbf7ef,#f1eadf)}
@media(max-width:760px){.admin2-card-size-identification{grid-template-columns:100px minmax(0,1fr)}.admin2-card-size-preview{width:100px;height:80px}.admin2-card-size-identification>.admin2-badge{grid-column:1/-1;justify-self:start}}
@media(max-width:520px){.admin2-card-size-identification{grid-template-columns:1fr}.admin2-card-size-preview{width:100%;height:150px}}


/* ===== EDITOR V3 — DIMENSIONI CARD SCRITTE NELL'HTML ===== */
[data-sag-card-config] img{
  height:var(--sag-card-image-height,auto)!important;
  object-fit:var(--sag-card-image-fit,initial)!important;
}

/* ==========================================================
   AREA RISERVATA V3.1 — CARATTERI PER SINGOLA SEZIONE
   ========================================================== */
.admin2-section-font-intro .admin2-section-head{align-items:flex-start;gap:24px}
.admin2-section-font-list{display:grid;gap:18px}
.admin2-section-font-card{padding:0;overflow:hidden}
.admin2-section-font-card>summary{list-style:none;display:grid;grid-template-columns:48px minmax(0,1fr) auto;gap:14px;align-items:center;padding:18px 20px;cursor:pointer;background:#fff}
.admin2-section-font-card>summary::-webkit-details-marker{display:none}
.admin2-section-font-card>summary::after{content:"＋";grid-column:3;color:var(--primary,#1F3A5F);font-size:1.2rem;font-weight:700;margin-left:8px}
.admin2-section-font-card[open]>summary::after{content:"−"}
.admin2-section-font-card>summary .admin2-badge{grid-column:3;grid-row:1;margin-right:34px}
.admin2-section-font-number{width:42px;height:42px;border-radius:50%;display:grid;place-items:center;background:rgba(200,164,77,.14);color:var(--primary,#1F3A5F);font-weight:800}
.admin2-section-font-summary-text{min-width:0;display:grid;gap:3px}
.admin2-section-font-summary-text strong{font-size:1.05rem;color:var(--primary,#1F3A5F);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.admin2-section-font-summary-text small{color:#6f7480;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.admin2-section-font-body{padding:8px 20px 22px;border-top:1px solid rgba(31,58,95,.10)}
.admin2-section-head-compact{margin-top:18px;margin-bottom:12px}
.admin2-section-head-compact h3{margin:.1rem 0 .15rem;font-size:1.2rem}
.admin2-section-font-actions{justify-content:flex-end;margin-top:18px;padding-top:16px;border-top:1px solid rgba(31,58,95,.10)}
@media (max-width:760px){
  .admin2-section-font-card>summary{grid-template-columns:42px minmax(0,1fr);padding:15px}
  .admin2-section-font-card>summary .admin2-badge{grid-column:2;grid-row:2;margin:4px 0 0;justify-self:start}
  .admin2-section-font-card>summary::after{grid-column:1;grid-row:2;margin:0;text-align:center}
  .admin2-section-font-body{padding:6px 15px 18px}
}

/* ==========================================================
   AREA RISERVATA V4 — MODIFICA PULSANTI ESISTENTI
   ========================================================== */
.admin2-button-editor-list{display:grid;gap:18px}
.admin2-existing-button-card{border-left:4px solid rgba(200,164,77,.65)}
.admin2-existing-button-card .admin2-section-head{margin-bottom:16px}
.admin2-existing-button-card .admin2-section-head h2{margin-top:4px}
.admin2-code-line{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace!important;font-size:11px!important;overflow-wrap:anywhere;color:#6c665e!important;background:#f8f5f0;border:1px solid #e9e1d6;border-radius:9px;padding:8px 10px;margin-top:8px!important}
.admin2-button-advanced{margin:4px 0 18px;border:1px solid #e5ddd2;border-radius:13px;background:#fbf9f5;overflow:hidden}
.admin2-button-advanced>summary{cursor:pointer;padding:13px 15px;font-size:12px;font-weight:800;color:#71552a;list-style:none}
.admin2-button-advanced>summary::-webkit-details-marker{display:none}
.admin2-button-advanced>summary::after{content:"＋";float:right}.admin2-button-advanced[open]>summary::after{content:"−"}
.admin2-button-advanced-body{padding:4px 15px 15px;border-top:1px solid #ebe4da}


/* ==========================================================
   AREA RISERVATA V5 — EDITOR LIBERO HTML/CSS
   ========================================================== */
.admin2-free-editor-intro{border-left:5px solid #C8A44D}
.admin2-source-panel{padding:18px!important}
.admin2-code-editor-field{display:block!important}
.admin2-code-editor-field>span{display:block;margin-bottom:10px;font-weight:800;color:#3f3528}
.admin2-code-editor{
  width:100%!important;
  min-height:68vh!important;
  resize:vertical!important;
  padding:18px!important;
  border:1px solid #cfc7bc!important;
  border-radius:12px!important;
  background:#151515!important;
  color:#f3f1ea!important;
  caret-color:#fff!important;
  font:13px/1.55 ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace!important;
  tab-size:2!important;
  white-space:pre!important;
  overflow:auto!important;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.03)!important;
}
.admin2-code-editor:focus{outline:3px solid rgba(200,164,77,.28)!important;border-color:#C8A44D!important}
.admin2-code-editor-css{min-height:72vh!important}
.admin2-source-stats{margin-top:18px!important}
.admin2-sticky-source-save{z-index:30}
@media(max-width:760px){
  .admin2-source-panel{padding:10px!important}
  .admin2-code-editor{min-height:58vh!important;font-size:12px!important;padding:12px!important}
}


/* ==========================================================
   MOSAICO DI SANT'AGABIO SOTTO I TITOLI DELLE PAGINE
   VERSIONE ROBUSTA — elemento HTML reale, non pseudo-elemento
   Homepage IT / EN / FR escluse volutamente
   ========================================================== */
.sag-title-mosaic{
  display:block !important;
  width:min(100%, 860px) !important;
  height:clamp(170px, 22vw, 230px) !important;
  margin:22px auto 0 !important;
  background-image:url("../img/home/sant-agabio-strip.webp") !important;
  background-size:cover !important;
  background-position:center 35% !important;
  background-repeat:no-repeat !important;
  border-radius:20px !important;
  box-shadow:0 10px 26px rgba(58,45,29,.12) !important;
  overflow:hidden !important;
  flex:none !important;
}

/* Evita che stili particolari degli hero comprimano o nascondano la striscia. */
main .sag-title-mosaic{
  min-height:170px !important;
  max-width:860px !important;
  opacity:1 !important;
  visibility:visible !important;
  position:relative !important;
  z-index:1 !important;
}

@media(max-width:767.98px){
  .sag-title-mosaic,
  main .sag-title-mosaic{
    width:min(100%, 680px) !important;
    height:150px !important;
    min-height:150px !important;
    margin-top:18px !important;
    border-radius:16px !important;
  }
}


/* ============================================================
   AREA RISERVATA — MENU CHIARI
   Sidebar e navigazione su fondo avorio, senza blu.
   ============================================================ */
.admin2-sidebar{
  background:#f7f4ee!important;
  color:#2d2923!important;
  border-right:1px solid #ddd4c8!important;
  box-shadow:6px 0 22px rgba(49,41,31,.05)!important;
}
.admin2-sidebar .admin2-brand{
  color:#2d2923!important;
  border-bottom-color:#ddd4c8!important;
}
.admin2-sidebar .admin2-brand strong{color:#2d2923!important}
.admin2-sidebar .admin2-brand small{color:#8b6725!important}
.admin2-sidebar .admin2-user{
  background:#fff!important;
  color:#2d2923!important;
  border-color:#ded5c9!important;
}
.admin2-sidebar .admin2-user span{color:#8b6725!important;opacity:1!important}
.admin2-sidebar .admin2-user strong{color:#2d2923!important}
.admin2-nav-group>p{color:#81796f!important;opacity:1!important}
.admin2-nav a{
  color:#403a33!important;
  background:transparent!important;
  border:1px solid transparent!important;
}
.admin2-nav a:hover{
  color:#231f1a!important;
  background:#efe9df!important;
  border-color:#e2d8ca!important;
}
.admin2-nav a.active{
  color:#2b251d!important;
  background:#ead9ad!important;
  border-color:#d8bd78!important;
  font-weight:800!important;
}
.admin2-nav-bottom{
  border-top-color:#ddd4c8!important;
}
.admin2-editor-tabs a.active{
  color:#2b251d!important;
  background:#ead9ad!important;
  border-color:#d8bd78!important;
}


/* ============================================================
   ISCRIZIONI EVENTI — CTA inserita dall'Area riservata
   ============================================================ */
.sag-event-registration-cta{
  padding-top:18px!important;
}
.sag-event-registration-box{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:28px;
  padding:clamp(28px,4vw,42px);
  background:#f6f1e5;
  border:1px solid rgba(31,58,95,.10);
  border-radius:24px;
}
.sag-event-registration-box h2{
  margin:7px 0 10px!important;
  color:#1f3a5f!important;
  font-size:clamp(1.8rem,3.5vw,2.7rem)!important;
  line-height:1.15!important;
}
.sag-event-registration-box p{
  margin:0 0 .7rem!important;
  line-height:1.7;
}
.sag-event-registration-box .sag-event-meta{
  color:#6f6759;
  font-weight:700;
}
.sag-event-registration-box .eyebrow::before,
.sag-event-registration-box .eyebrow::after{
  content:none!important;
  display:none!important;
}
.sag-event-registration-box .button{
  flex:0 0 auto;
}
@media(max-width:760px){
  .sag-event-registration-box{
    flex-direction:column;
    align-items:flex-start;
  }
}


/* ============================================================
   AVVISO MODULI DI RICHIESTA
   ============================================================ */
.request-warning{
  margin-top:22px;
  padding:18px 20px;
  background:#f6f1e5;
  border:1px solid rgba(139,103,37,.24);
  border-radius:16px;
  color:#403a33;
  font-size:.94rem;
  line-height:1.65;
}
.request-warning strong{
  color:#6d4d18;
}
.request-warning>strong{
  display:block;
  margin-bottom:6px;
  font-size:1rem;
}
.request-warning p{
  margin:0!important;
}


/* ============================================================
   HOMEPAGE — PREGA E ASCOLTA
   Rosario + Radio Maria
   ============================================================ */
.pray-listen.section{
  padding-top:clamp(54px,7vw,84px)!important;
  padding-bottom:clamp(54px,7vw,84px)!important;
}
.pray-listen-heading{
  max-width:760px;
  margin:0 auto 34px;
  text-align:center;
}
.pray-listen-heading .eyebrow::before,
.pray-listen-heading .eyebrow::after{
  content:none!important;
  display:none!important;
}
.pray-listen-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:26px;
  max-width:1040px;
  margin:0 auto;
}
.pray-listen-card{
  display:grid;
  grid-template-columns:minmax(190px,42%) minmax(0,1fr);
  min-height:360px;
  background:#fff;
  border:1px solid rgba(200,164,77,.30);
  border-radius:26px;
  overflow:hidden;
  box-shadow:0 12px 30px rgba(58,45,29,.07);
}
.pray-listen-media,
.pray-listen-radio-media{
  min-height:100%;
  margin:0;
  display:flex;
  align-items:center;
  justify-content:center;
  background:#fbf7ef;
}
.pray-listen-media img{
  width:100%;
  height:100%;
  min-height:360px;
  object-fit:contain;
  object-position:center;
  display:block;
}
.pray-listen-radio-media{
  background:linear-gradient(145deg,#f7f1e4,#eee4cf);
}
.pray-listen-radio-icon{
  width:132px;
  height:132px;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  background:#fff;
  border:1px solid rgba(200,164,77,.45);
  box-shadow:0 12px 30px rgba(58,45,29,.10);
  color:#1f3a5f;
  font-size:4rem;
}
.pray-listen-body{
  padding:32px 30px;
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  justify-content:center;
}
.pray-listen-kicker{
  margin:0 0 8px!important;
  color:#8a6b27;
  font-size:.82rem;
  font-weight:700;
  letter-spacing:.09em;
  text-transform:uppercase;
}
.pray-listen-card h3{
  margin:0 0 12px!important;
  color:#1f3a5f!important;
  font-size:clamp(1.8rem,3vw,2.35rem)!important;
  line-height:1.1!important;
}
.pray-listen-card .pray-listen-body>p:not(.pray-listen-kicker){
  margin:0 0 22px!important;
  line-height:1.7;
}
.pray-listen-card .button{
  border-radius:999px!important;
}
.external-site-note{
  display:block;
  margin-top:11px;
  color:#71695d;
  font-size:.78rem;
}

/* La griglia Liturgia del giorno contiene ora cinque card.
   Su desktop le ultime due vengono centrate. */
@media(min-width:901px){
  .daily-liturgy-grid{
    grid-template-columns:repeat(6,minmax(0,1fr))!important;
  }
  .daily-liturgy-grid>.daily-liturgy-card{
    grid-column:span 2;
  }
  .daily-liturgy-grid>.daily-liturgy-card:nth-child(4){
    grid-column:2 / span 2;
  }
  .daily-liturgy-grid>.daily-liturgy-card:nth-child(5){
    grid-column:4 / span 2;
  }
}
@media(max-width:900px) and (min-width:621px){
  .daily-liturgy-grid{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
  .daily-liturgy-grid>.daily-liturgy-card{
    grid-column:auto!important;
  }
  .daily-liturgy-grid>.daily-liturgy-card:nth-child(5){
    grid-column:1 / -1!important;
    width:min(100%,620px)!important;
    margin-inline:auto!important;
  }
  .pray-listen-card{
    grid-template-columns:1fr;
  }
  .pray-listen-media,
  .pray-listen-radio-media{
    min-height:250px;
  }
  .pray-listen-media img{
    min-height:250px;
    max-height:320px;
  }
}
@media(max-width:700px){
  .pray-listen-grid{
    grid-template-columns:1fr;
  }
}
@media(max-width:620px){
  .daily-liturgy-grid>.daily-liturgy-card:nth-child(5){
    grid-column:auto!important;
    width:100%!important;
  }
  .pray-listen-card{
    grid-template-columns:1fr;
    min-height:0;
    border-radius:22px;
  }
  .pray-listen-media,
  .pray-listen-radio-media{
    min-height:230px;
  }
  .pray-listen-media img{
    height:auto;
    min-height:230px;
    max-height:300px;
    object-fit:contain;
  }
  .pray-listen-radio-icon{
    width:112px;
    height:112px;
    font-size:3.35rem;
  }
  .pray-listen-body{
    padding:26px 22px 28px;
  }
}

/* ============================================================
   SPAZI VERTICALI TRA LE SEZIONI — RIDOTTI GLOBALMENTE
   19/08/2026
   ============================================================ */

/* Pagine pubbliche:
   poco spazio tra una sezione principale e la successiva.
   La prima sezione (hero/testata) mantiene la propria impostazione. */
main#contenuto > section:not(:first-child){
  padding-top:24px !important;
  padding-bottom:24px !important;
  margin-top:0 !important;
  margin-bottom:0 !important;
}

/* Elimina eventuali distacchi aggiuntivi fra sezioni consecutive. */
main#contenuto > section + section{
  margin-top:0 !important;
}

/* Tablet */
@media (max-width:900px){
  main#contenuto > section:not(:first-child){
    padding-top:20px !important;
    padding-bottom:20px !important;
  }
}

/* Smartphone */
@media (max-width:620px){
  main#contenuto > section:not(:first-child){
    padding-top:16px !important;
    padding-bottom:16px !important;
  }
}


/* ============================================================
   HOMEPAGE — CORREZIONE SPAZI HERO
   19/08/2026
   La vecchia regola min-height:92vh lasciava enormi aree vuote.
   ============================================================ */
.hero{
  min-height:0 !important;
  height:auto !important;
}

/* Mantiene la composizione attuale ma senza vuoti inutili. */
.hero-centered-content{
  padding-top:24px !important;
  padding-bottom:24px !important;
}

@media(max-width:900px){
  .hero{
    min-height:0 !important;
    height:auto !important;
  }
  .hero-centered-content{
    padding-top:18px !important;
    padding-bottom:18px !important;
  }
}

@media(max-width:620px){
  .hero-centered-content{
    padding-top:14px !important;
    padding-bottom:14px !important;
  }
}


/* ============================================================
   HOMEPAGE — TITOLO NERO + PULSANTE ORO CHIARO
   19/08/2026
   ============================================================ */
.hero-centered-content h1{
  color:#111111 !important;
}

.hero-centered-content .hero-actions .button{
  background:#e7c76f !important;
  border-color:#e7c76f !important;
  color:#111111 !important;
  box-shadow:0 7px 18px rgba(176,135,35,.16) !important;
}

.hero-centered-content .hero-actions .button:hover,
.hero-centered-content .hero-actions .button:focus-visible{
  background:#d9b85b !important;
  border-color:#d9b85b !important;
  color:#111111 !important;
}


/* ============================================================
   BARRA PRINCIPALE — LENTE CERCA NEL SITO
   19/08/2026
   ============================================================ */
.main-nav .nav-search-button{
  width:38px;
  height:38px;
  min-width:38px;
  padding:0 !important;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:50%;
  color:#1f1f1f !important;
  background:transparent;
  border:1px solid rgba(31,31,31,.14);
  text-decoration:none !important;
  line-height:1;
  flex:0 0 auto;
}
.main-nav .nav-search-button i{
  font-size:1.05rem;
  line-height:1;
}
.main-nav .nav-search-button:hover,
.main-nav .nav-search-button:focus-visible{
  color:#111 !important;
  background:#f1e4bd;
  border-color:#d5b45e;
  outline:none;
}

@media(max-width:1100px){
  .main-nav .nav-search-button{
    width:100%;
    height:42px;
    border-radius:12px;
    justify-content:flex-start;
    padding:0 14px !important;
  }
  .main-nav .nav-search-button .sr-only{
    position:static !important;
    width:auto !important;
    height:auto !important;
    margin-left:9px !important;
    padding:0 !important;
    overflow:visible !important;
    clip:auto !important;
    white-space:normal !important;
  }
}


/* ============================================================
   HOMEPAGE DESKTOP — PULSANTE "CERCA NEL SITO"
   19/08/2026
   ============================================================ */
@media (min-width:1101px){
  .main-nav .home-search-button{
    width:auto !important;
    min-width:0 !important;
    height:38px !important;
    padding:0 15px !important;
    gap:8px;
    border-radius:10px !important;
    justify-content:center !important;
    background:#f7f4ee !important;
    border:1px solid rgba(31,31,31,.14) !important;
    color:#1f1f1f !important;
    font-weight:600;
    white-space:nowrap;
  }

  .main-nav .home-search-button .sr-only{
    position:static !important;
    width:auto !important;
    height:auto !important;
    margin:0 !important;
    padding:0 !important;
    overflow:visible !important;
    clip:auto !important;
    clip-path:none !important;
    white-space:nowrap !important;
  }

  .main-nav .home-search-button:hover,
  .main-nav .home-search-button:focus-visible{
    background:#f1e4bd !important;
    border-color:#d5b45e !important;
    color:#111 !important;
  }
}


/* ============================================================
   TUTTE LE PAGINE DESKTOP — PULSANTE "CERCA NEL SITO"
   19/08/2026
   ============================================================ */
@media (min-width:1101px){
  .main-nav .nav-search-button{
    width:auto !important;
    min-width:0 !important;
    height:38px !important;
    padding:0 15px !important;
    gap:8px !important;
    border-radius:10px !important;
    justify-content:center !important;
    background:#f7f4ee !important;
    border:1px solid rgba(31,31,31,.14) !important;
    color:#1f1f1f !important;
    font-weight:600 !important;
    white-space:nowrap !important;
  }

  .main-nav .nav-search-button .sr-only{
    position:static !important;
    width:auto !important;
    height:auto !important;
    margin:0 !important;
    padding:0 !important;
    overflow:visible !important;
    clip:auto !important;
    clip-path:none !important;
    white-space:nowrap !important;
  }

  .main-nav .nav-search-button:hover,
  .main-nav .nav-search-button:focus-visible{
    background:#f1e4bd !important;
    border-color:#d5b45e !important;
    color:#111 !important;
  }
}


/* ============================================================
   CERCA NEL SITO — PULSANTE DESKTOP DEFINITIVO
   19/08/2026
   ============================================================ */
.site-header .main-nav > a.nav-search-button{
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  gap:7px !important;
  width:auto !important;
  min-width:max-content !important;
  height:42px !important;
  min-height:42px !important;
  padding:0 13px !important;
  margin:0 !important;
  border:1px solid rgba(31,31,31,.16) !important;
  border-radius:9px !important;
  background:#f7f4ee !important;
  color:#111111 !important;
  font-size:13px !important;
  font-weight:600 !important;
  line-height:1 !important;
  text-decoration:none !important;
  white-space:nowrap !important;
  flex:0 0 auto !important;
  opacity:1 !important;
  visibility:visible !important;
}

.site-header .main-nav > a.nav-search-button .nav-search-text{
  display:inline !important;
  position:static !important;
  width:auto !important;
  height:auto !important;
  overflow:visible !important;
  clip:auto !important;
  white-space:nowrap !important;
  color:inherit !important;
}

.site-header .main-nav > a.nav-search-button i{
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  font-size:.95rem !important;
  line-height:1 !important;
}

.site-header .main-nav > a.nav-search-button:hover,
.site-header .main-nav > a.nav-search-button:focus-visible{
  background:#f1e4bd !important;
  border-color:#d5b45e !important;
  color:#111111 !important;
}

/* Nei desktop normali riduciamo solo il necessario per far stare
   Cerca nel sito, Area riservata, lingue e Orari Messe sulla stessa riga. */
@media (min-width:901px) and (max-width:1500px){
  .site-header .container.header-inner{
    width:calc(100% - 20px) !important;
    max-width:none !important;
    gap:10px !important;
  }

  .site-header .brand{
    min-width:210px !important;
    margin-right:8px !important;
  }

  .site-header .parish-logo-header{
    width:48px !important;
    height:48px !important;
  }

  .site-header .brand-copy strong{
    font-size:15px !important;
  }

  .site-header .brand-copy small{
    font-size:11px !important;
  }

  .site-header .main-nav{
    gap:9px !important;
  }

  .site-header .main-nav > a:not(.reserved-button):not(.header-mass-button):not(.nav-search-button),
  .site-header .main-nav summary{
    font-size:12px !important;
    padding-left:0 !important;
    padding-right:0 !important;
  }

  .site-header .main-nav > a.nav-search-button{
    height:40px !important;
    min-height:40px !important;
    padding:0 10px !important;
    font-size:12px !important;
  }

  .site-header .reserved-button,
  .site-header .header-mass-button{
    min-height:40px !important;
    padding-left:11px !important;
    padding-right:11px !important;
    font-size:12px !important;
  }

  .home-language-flags{
    gap:6px !important;
    padding-left:8px !important;
  }

  .home-language-flags a{
    width:24px !important;
    height:20px !important;
  }

  .home-language-flags svg{
    width:23px !important;
    height:15px !important;
  }
}

/* Mobile/tablet: rimane una voce larga e chiaramente leggibile. */
@media (max-width:900px){
  .site-header .main-nav > a.nav-search-button{
    width:100% !important;
    min-width:0 !important;
    min-height:52px !important;
    height:auto !important;
    justify-content:flex-start !important;
    padding:13px 0 !important;
    border:0 !important;
    border-bottom:1px solid var(--border) !important;
    border-radius:0 !important;
    background:transparent !important;
    font-size:inherit !important;
  }
}


/* ===== INFORMAZIONE E CHIESA 2026 ===== */
.church-news-home{
  background:#fff;
}
.church-news-home-card{
  display:grid;
  grid-template-columns:auto minmax(0,1fr) auto;
  align-items:center;
  gap:clamp(24px,4vw,46px);
  padding:clamp(28px,5vw,52px);
  border:1px solid rgba(200,164,77,.34);
  border-radius:28px;
  background:linear-gradient(135deg,#fff 0%,#fbf7ef 100%);
  box-shadow:0 16px 38px rgba(31,31,31,.07);
}
.church-news-home-icon{
  display:grid;
  place-items:center;
  width:96px;
  height:96px;
  flex:0 0 96px;
  border:1px solid rgba(200,164,77,.58);
  border-radius:50%;
  color:#9b6f1b;
  background:#fff;
  box-shadow:0 10px 24px rgba(31,31,31,.06);
}
.church-news-home-icon i{
  font-size:2.7rem;
  line-height:1;
}
.church-news-home-copy h2{
  margin:0 0 14px;
  font-size:clamp(2.1rem,4vw,3.6rem);
}
.church-news-home-copy > p:last-of-type{
  max-width:760px;
  margin-bottom:18px;
  color:#625d55;
  font-size:1.08rem;
  line-height:1.7;
}
.church-news-home-tags{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}
.church-news-home-tags span{
  display:inline-flex;
  align-items:center;
  min-height:30px;
  padding:4px 11px;
  border:1px solid rgba(200,164,77,.30);
  border-radius:999px;
  color:#6e5a30;
  background:#fff;
  font-size:.86rem;
  font-weight:700;
}
.church-news-home-action .button{
  white-space:nowrap;
  gap:9px;
}

.informazione-chiesa-page .church-news-hero{
  padding:clamp(54px,7vw,88px) 0;
  color:#2f2f2f;
  background:#f1f1ef;
}
.informazione-chiesa-page .church-news-hero .breadcrumbs{
  justify-content:center;
  margin-bottom:22px;
}
.informazione-chiesa-page .church-news-hero .breadcrumbs,
.informazione-chiesa-page .church-news-hero .breadcrumbs a,
.informazione-chiesa-page .church-news-hero .eyebrow,
.informazione-chiesa-page .church-news-hero h1,
.informazione-chiesa-page .church-news-hero p{
  color:#2f2f2f!important;
}
.informazione-chiesa-page .church-news-hero .eyebrow{
  color:#a9751d!important;
}
.informazione-chiesa-page .church-news-hero-inner{
  max-width:900px;
  margin:0 auto;
  text-align:center;
}
.informazione-chiesa-page .church-news-hero h1{
  margin:8px 0 16px;
  font-size:clamp(2.7rem,6vw,4.8rem);
  line-height:1.03;
}
.informazione-chiesa-page .church-news-hero .hero-copy{
  max-width:820px;
  margin:0 auto;
  font-size:clamp(1rem,1.8vw,1.2rem);
  line-height:1.75;
}
.informazione-chiesa-page main .eyebrow::before,
.informazione-chiesa-page main .eyebrow::after{
  content:none!important;
  display:none!important;
}
.church-news-intro{
  max-width:900px;
  margin:0 auto;
  text-align:center;
}
.church-news-intro h2{
  margin:8px 0 18px;
  font-size:clamp(2rem,4vw,3.2rem);
}
.church-news-intro p{
  margin:0 auto;
  line-height:1.8;
}
.church-news-category{
  padding-top:84px;
  padding-bottom:84px;
}
.church-news-category:nth-of-type(even){
  background:#f8f6f0;
  border-top:1px solid rgba(200,164,77,.16);
  border-bottom:1px solid rgba(200,164,77,.16);
}
.church-news-category-heading{
  max-width:780px;
  margin-bottom:34px;
}
.church-news-category-heading h2{
  margin:6px 0 12px;
  font-size:clamp(2rem,4vw,3rem);
}
.church-news-category-heading p:last-child{
  margin:0;
  color:#6a655d;
}
.church-news-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:22px;
}
.church-source-card{
  position:relative;
  display:flex;
  min-height:100%;
  flex-direction:column;
  padding:26px;
  overflow:hidden;
  border:1px solid rgba(31,58,95,.12);
  border-radius:22px;
  background:#fff;
  box-shadow:0 10px 24px rgba(31,31,31,.045);
  transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease;
}
.church-source-card:hover,
.church-source-card:focus-within{
  transform:translateY(-3px);
  border-color:rgba(200,164,77,.55);
  box-shadow:0 16px 34px rgba(31,31,31,.08);
}
.church-source-card.is-featured{
  border-color:rgba(200,164,77,.62);
  background:linear-gradient(145deg,#fff 0%,#fbf5e8 100%);
}
.church-source-badge{
  display:inline-flex;
  align-items:center;
  width:fit-content;
  margin-bottom:16px;
  padding:5px 10px;
  border-radius:999px;
  color:#77591e;
  background:#f5ead2;
  font-size:.77rem;
  font-weight:700;
  letter-spacing:.03em;
}
.church-source-icon{
  display:grid;
  place-items:center;
  width:66px;
  height:66px;
  margin-bottom:18px;
  border:1px solid rgba(200,164,77,.38);
  border-radius:50%;
  color:#9b6f1b;
  background:#fbf8f1;
}
.church-source-icon i{
  font-size:1.8rem;
  line-height:1;
}
.church-source-card h3{
  margin:0 0 10px;
  color:#363c34;
  font-size:1.65rem;
  line-height:1.15;
}
.church-source-card p{
  margin:0 0 22px;
  color:#625d55;
  line-height:1.7;
}
.church-source-card .text-link{
  display:inline-flex;
  align-items:center;
  gap:8px;
  width:fit-content;
  margin-top:auto;
  color:#8a651e;
  font-weight:700;
}
.church-source-card .text-link::after{
  content:'↗';
  font-size:.95em;
}
.church-news-note{
  padding-top:58px;
  padding-bottom:70px;
}
.church-news-note-box{
  display:flex;
  align-items:flex-start;
  gap:18px;
  padding:24px 26px;
  border:1px solid rgba(200,164,77,.28);
  border-radius:20px;
  background:#fff;
}
.church-news-note-box i{
  margin-top:3px;
  color:#9b6f1b;
  font-size:1.35rem;
}
.church-news-note-box p{
  margin:0;
  color:#625d55;
  line-height:1.7;
}

@media(max-width:980px){
  .church-news-home-card{
    grid-template-columns:auto minmax(0,1fr);
  }
  .church-news-home-action{
    grid-column:2;
  }
  .church-news-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}
@media(max-width:680px){
  .church-news-home-card{
    grid-template-columns:1fr;
    text-align:center;
  }
  .church-news-home-icon{
    margin:0 auto;
  }
  .church-news-home-tags{
    justify-content:center;
  }
  .church-news-home-action{
    grid-column:auto;
  }
  .church-news-home-action .button{
    justify-content:center;
    width:100%;
  }
  .church-news-grid{
    grid-template-columns:1fr;
  }
  .church-news-category{
    padding-top:66px;
    padding-bottom:66px;
  }
  .church-news-note-box{
    padding:20px;
  }
}


/* ===== SAG: SOLO TITOLO PAGINE UNIFICATO — 2026-08-19 ===== */
/* Mantiene intatti hero, sfondi, pannelli, card, immagini e layout specifici di ogni pagina. */
body.sag-title-standardized .sag-unified-title-block{
  max-width:920px;
  margin-left:auto;
  margin-right:auto;
  text-align:center;
}
body.sag-title-standardized .sag-unified-title-hero .breadcrumbs{
  justify-content:center;
  text-align:center;
  margin-left:auto;
  margin-right:auto;
  margin-bottom:24px;
}
body.sag-title-standardized .sag-unified-title-block .eyebrow{
  display:block;
  width:100%;
  margin-left:auto;
  margin-right:auto;
  text-align:center;
}
body.sag-title-standardized .sag-unified-title-block .eyebrow::before,
body.sag-title-standardized .sag-unified-title-block .eyebrow::after{
  content:none!important;
  display:none!important;
}
body.sag-title-standardized .sag-unified-page-title{
  max-width:1000px;
  margin:8px auto 18px;
  font-size:clamp(2.65rem,5.2vw,4.65rem);
  line-height:1.03;
  letter-spacing:-.02em;
  text-align:center;
}
body.sag-title-standardized .sag-unified-title-block .sag-title-mosaic{
  margin-left:auto;
  margin-right:auto;
}
body.sag-title-standardized .sag-unified-title-block > p:not(.eyebrow),
body.sag-title-standardized .sag-unified-title-block .lead,
body.sag-title-standardized .sag-unified-title-block .hero-copy{
  max-width:920px;
  margin-left:auto;
  margin-right:auto;
  text-align:center;
  line-height:1.75;
}
@media (max-width:768px){
  body.sag-title-standardized .sag-unified-page-title{
    font-size:clamp(2.25rem,10vw,3.35rem);
    line-height:1.06;
  }
}
/* ===== FINE SAG: SOLO TITOLO PAGINE UNIFICATO ===== */

/* ===== MENU TABLET/SMARTPHONE: SELETTORE LINGUE VISIBILE ===== */
@media (max-width: 900px) {
  .site-header .main-nav > .home-language-flags {
    display: flex !important;
    width: 100% !important;
    min-height: 58px !important;
    margin: 0 !important;
    padding: 12px 0 !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 14px !important;
    flex: 0 0 auto !important;
    border-left: 0 !important;
    border-bottom: 1px solid var(--border) !important;
  }

  .site-header .main-nav > .home-language-flags a {
    display: inline-flex !important;
    width: 40px !important;
    height: 32px !important;
    padding: 5px !important;
    align-items: center !important;
    justify-content: center !important;
    flex: 0 0 40px !important;
    border: 1px solid rgba(31,58,95,.12) !important;
    border-radius: 8px !important;
    background: #fff !important;
    opacity: .82 !important;
    box-shadow: none !important;
  }

  .site-header .main-nav > .home-language-flags a:hover,
  .site-header .main-nav > .home-language-flags a:focus-visible,
  .site-header .main-nav > .home-language-flags a.active {
    opacity: 1 !important;
    transform: none !important;
    border-color: rgba(200,164,77,.58) !important;
    background: #FFF8E9 !important;
  }

  .site-header .main-nav > .home-language-flags svg {
    display: block !important;
    width: 30px !important;
    height: 20px !important;
    border-radius: 2px !important;
  }
}

@media (max-width: 480px) {
  .site-header .main-nav > .home-language-flags {
    min-height: 56px !important;
    gap: 12px !important;
  }
}

/* ===== SELETTORE MULTILINGUA A 5 LINGUE: IT / EN / FR / ES / DE ===== */
@media (min-width: 901px) {
  .site-header .main-nav > .home-language-flags {
    gap: 7px !important;
    padding-left: 10px !important;
  }
  .site-header .main-nav > .home-language-flags a {
    width: 25px !important;
    min-width: 25px !important;
  }
  .site-header .main-nav > .home-language-flags svg {
    width: 24px !important;
    height: 16px !important;
  }
}

@media (max-width: 900px) {
  .site-header .main-nav > .home-language-flags {
    gap: 8px !important;
    flex-wrap: nowrap !important;
  }
  .site-header .main-nav > .home-language-flags a {
    width: 38px !important;
    height: 32px !important;
    flex: 0 0 38px !important;
  }
}

@media (max-width: 360px) {
  .site-header .main-nav > .home-language-flags {
    gap: 5px !important;
  }
  .site-header .main-nav > .home-language-flags a {
    width: 36px !important;
    flex-basis: 36px !important;
  }
}
