:root {
  --bg: #f5f1e8;
  --bg-soft: #ece4d5;
  --bg-panel: #fffdf8;
  --ink: #1f1c18;
  --muted: #5f5649;
  --brand: #2f9fd2;
  --brand-strong: #006ea8;
  --accent: #b68a44;
  --line: #d8cfbd;
  --shadow: 0 16px 38px rgba(57, 117, 147, 0.12);
  --sidebar-width: 290px;
  --sidebar-width-collapsed: 86px;
  --app-topbar-height: 108px;
  --ui-hover-bg: #238fc2;
  --ui-hover-bg-soft: #72c4e5;
  --ui-hover-border: #006ea8;
  --ui-hover-text: #ffffff;
  --ui-hover-shadow: 0 10px 22px rgba(0, 110, 168, 0.28);
  --layout-unified-width: 1720px;
  --topbar-surface:
    linear-gradient(130deg, #f9f3e6, #ede3d0 56%, #e7dbc3),
    radial-gradient(circle at 14% 22%, rgba(182, 138, 68, 0.16), transparent 46%);
  --topbar-line: rgba(107, 86, 55, 0.24);
  --topbar-ink: #0b5f91;
  --shell-surface:
    linear-gradient(180deg, rgba(255, 253, 248, 0.97), rgba(245, 241, 232, 0.96)),
    radial-gradient(circle at 20% 10%, rgba(182, 138, 68, 0.18), transparent 40%);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", "Segoe UI", sans-serif;
  line-height: 1.6;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 10%, rgba(182, 138, 68, 0.18) 0, transparent 36%),
    radial-gradient(circle at 90% 4%, rgba(40, 123, 164, 0.15) 0, transparent 35%),
    var(--bg);
}

/* Global text alignment for readable content across the site. */
main :where(p, li) {
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
}

body.has-sidebar {
  padding-left: var(--sidebar-width);
  padding-top: var(--app-topbar-height);
}

body.has-sidebar .site-header {
  display: none;
}

body.has-sidebar .contact-neo-shell {
  padding-left: clamp(0.45rem, 1.1vw, 0.95rem);
}

a {
  color: inherit;
}

img {
  display: block;
  width: 100%;
  height: auto;
}

.container {
  width: min(var(--layout-unified-width), calc(100% - 2rem));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(40, 123, 164, 0.16);
  background: #f5f1e8;
  backdrop-filter: none;
}

.app-sidebar {
  position: fixed;
  top: var(--app-topbar-height);
  left: 0;
  bottom: 0;
  z-index: 80;
  width: var(--sidebar-width);
  border-right: 1px solid rgba(40, 123, 164, 0.2);
  background: var(--shell-surface);
  box-shadow: 12px 0 24px rgba(57, 117, 147, 0.08);
  overflow-y: auto;
}

.app-topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 85;
  height: var(--app-topbar-height);
  display: grid;
  grid-template-columns: var(--sidebar-width) minmax(0, 1fr);
  background: #f3ecdc;
}

.app-topbar-left {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(0.2rem, 0.85vw, 0.6rem);
  padding: 0.2rem 0.3rem;
  border-right: 1px solid var(--topbar-line);
  border-bottom: 1px solid var(--topbar-line);
  background: var(--topbar-surface);
}

.app-topbar-logo-box {
  display: flex;
  align-items: center;
  justify-content: center;
  width: clamp(72px, 5.6vw, 106px);
  height: calc(var(--app-topbar-height) - 16px);
}

.app-topbar-logo {
  display: block;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  object-position: center center;
  margin-inline: auto;
  filter: drop-shadow(0 4px 10px rgba(37, 124, 167, 0.15));
}

.app-topbar-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 0.35rem clamp(1.35rem, 2.8vw, 2.6rem) 0.35rem 0.75rem;
  border-bottom: 1px solid var(--topbar-line);
  background: var(--topbar-surface);
}

.app-topbar-curate-wrap {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.app-topbar-curate-name {
  font-size: 0.93rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--topbar-ink);
  white-space: nowrap;
  text-shadow: 0 1px 0 rgba(255, 252, 246, 0.65);
}

.app-topbar-curate {
  margin: 0;
  width: clamp(84px, 7.8vw, 108px);
  aspect-ratio: 600 / 581;
  border-radius: 0.85rem;
  overflow: hidden;
  border: 1px solid rgba(40, 123, 164, 0.24);
  box-shadow: 0 8px 18px rgba(37, 124, 167, 0.18);
  background: #ffffff;
}

.app-topbar-curate img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.sidebar-inner {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.64rem;
  padding: 0.96rem 0.52rem 0.9rem;
}

.sidebar-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
}

.sidebar-brand-logo {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  min-height: 94px;
  padding: 0.2rem 0.22rem 0.3rem;
  overflow: visible;
}

body.has-sidebar .sidebar-brand-logo {
  display: none;
}

body.has-sidebar .sidebar-inner {
  padding-top: 0.9rem;
}

.sidebar-logo {
  width: auto;
  max-width: min(182px, 100%);
  max-height: 84px;
  height: auto;
  object-fit: contain;
  margin-inline: auto;
  filter: drop-shadow(0 4px 10px rgba(37, 124, 167, 0.15));
}

@media (max-width: 1024px) {
  .sidebar-brand-logo {
    min-height: 168px;
  }

  .sidebar-logo {
    max-width: min(244px, 100%);
    max-height: 212px;
  }
}

@media (max-width: 480px) {
  .sidebar-brand-logo {
    min-height: 148px;
  }

  .sidebar-logo {
    max-width: min(214px, 100%);
    max-height: 174px;
  }
}

.sidebar-tagline {
  margin: 1.08rem 0 0.32rem;
  padding-inline: 0.22rem;
  color: #5f5649;
  font-size: 0.84rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 900;
  text-align: left;
}

.sidebar-section-title {
  margin: 0.62rem 0.26rem 0.12rem;
  color: rgba(40, 123, 164, 0.68);
  font-size: 0.66rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  font-weight: 800;
}

.sidebar-nav {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 0.46rem;
  min-height: 0;
}

.sidebar-nav a {
  text-decoration: none;
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 0.68rem;
  width: 100%;
  min-height: clamp(42px, 4.7vh, 52px);
  border: 1px solid rgba(40, 123, 164, 0.16);
  border-radius: 0.86rem;
  background: linear-gradient(180deg, rgba(255, 254, 250, 0.98), rgba(247, 243, 234, 0.92));
  padding: 0.52rem 0.72rem 0.52rem 0.78rem;
  font-size: clamp(0.97rem, 0.22vw + 0.92rem, 1.04rem);
  font-weight: 700;
  line-height: 1.2;
  color: #2e2b26;
  position: relative;
  box-shadow: 0 3px 8px rgba(55, 118, 149, 0.06);
  transition:
    background-color 0.18s ease,
    border-color 0.18s ease,
    color 0.18s ease,
    box-shadow 0.18s ease,
    transform 0.18s ease;
}

.sidebar-nav a::before {
  content: "";
  position: absolute;
  left: 0.34rem;
  top: 0.42rem;
  bottom: 0.42rem;
  width: 0.18rem;
  border-radius: 999px;
  background: rgba(40, 123, 164, 0.08);
  transition: background-color 0.18s ease;
}

.sidebar-nav a .sidebar-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 1.52rem;
  width: 1.52rem;
  height: 1.52rem;
  border-radius: 999px;
  font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1;
  background: rgba(40, 123, 164, 0.12);
  border: 1px solid rgba(40, 123, 164, 0.12);
  color: #297aa3;
  transition:
    color 0.18s ease,
    background-color 0.18s ease,
    border-color 0.18s ease;
}

.sidebar-nav a .sidebar-link-label {
  display: block;
  flex: 1 1 auto;
  min-width: 0;
}

.sidebar-nav a:hover,
.sidebar-nav a:focus-visible {
  background: linear-gradient(180deg, rgba(239, 244, 247, 0.95), rgba(231, 240, 244, 0.92));
  border-color: rgba(40, 123, 164, 0.32);
  color: #247ca8;
  box-shadow: 0 7px 16px rgba(41, 122, 163, 0.12);
  transform: translateY(-1px);
}

.sidebar-nav a:hover::before,
.sidebar-nav a:focus-visible::before {
  background: rgba(40, 123, 164, 0.4);
}

.sidebar-nav a:hover .sidebar-icon,
.sidebar-nav a:focus-visible .sidebar-icon {
  color: #227daa;
  background: rgba(40, 123, 164, 0.18);
  border-color: rgba(40, 123, 164, 0.24);
}

.sidebar-nav a.is-active {
  background: linear-gradient(145deg, #e7fbff 0%, #d9f2f7 100%);
  border-color: rgba(50, 145, 168, 0.62);
  color: #143d42;
  box-shadow: 0 12px 24px rgba(37, 110, 128, 0.18);
  outline: 2px solid rgba(113, 188, 205, 0.32);
  outline-offset: 1px;
}

.sidebar-nav a.is-active::before {
  background: rgba(42, 130, 150, 0.64);
}

.sidebar-nav a.is-active .sidebar-icon {
  color: #0e636f;
  background: rgba(255, 255, 255, 0.82);
  border-color: rgba(50, 145, 168, 0.36);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.36);
}

.sidebar-nav a.is-active .sidebar-link-label {
  font-weight: 700;
}

.sidebar-nav a[data-sidebar-today-alert].has-today-events {
  border-color: rgba(21, 112, 157, 0.24);
  background: linear-gradient(180deg, rgba(255, 255, 252, 0.94), rgba(248, 246, 238, 0.9));
}

.sidebar-nav a[data-sidebar-today-alert].has-today-events .sidebar-icon {
  color: #1880b4;
  background: rgba(21, 112, 157, 0.16);
  border-color: rgba(21, 112, 157, 0.42);
}

.sidebar-nav a[data-sidebar-today-alert].is-active.has-today-events {
  background: linear-gradient(145deg, #e7fbff 0%, #d9f2f7 100%);
  border-color: rgba(50, 145, 168, 0.62);
  color: #143d42;
}

.sidebar-nav a[data-sidebar-today-alert].is-active.has-today-events .sidebar-icon {
  color: #0e636f;
  background: rgba(255, 255, 255, 0.82);
  border-color: rgba(50, 145, 168, 0.36);
}

.sidebar-nav a[data-sidebar-today-alert].is-blinking {
  animation: sidebar-today-alert-blink 0.95s ease-in-out infinite;
}

.sidebar-nav a[data-sidebar-today-alert].is-blinking .sidebar-icon {
  animation: sidebar-today-alert-blink 0.95s ease-in-out infinite;
}

.sidebar-nav a[data-sidebar-today-alert].is-js-blink-on {
  opacity: 1;
  filter: brightness(1.18) saturate(1.18);
  border-color: rgba(34, 153, 213, 0.96);
  box-shadow:
    0 0 0 2px rgba(34, 153, 213, 0.2),
    0 11px 18px rgba(27, 127, 177, 0.28);
}

.sidebar-nav a[data-sidebar-today-alert].is-js-blink-on .sidebar-icon {
  color: #1880b4;
  background: rgba(34, 153, 213, 0.22);
  border-color: rgba(34, 153, 213, 0.58);
}

@keyframes sidebar-today-alert-blink {
  0%,
  100% {
    opacity: 0.84;
    filter: brightness(0.96) saturate(0.94);
    border-color: rgba(21, 112, 157, 0.46);
    box-shadow: 0 3px 8px rgba(55, 118, 149, 0.08);
  }

  50% {
    opacity: 1;
    filter: brightness(1.18) saturate(1.18);
    border-color: rgba(34, 153, 213, 0.96);
    box-shadow:
      0 0 0 2px rgba(34, 153, 213, 0.2),
      0 11px 18px rgba(27, 127, 177, 0.28);
  }
}

@media (prefers-reduced-motion: reduce) {
  .sidebar-nav a[data-sidebar-today-alert].is-blinking,
  .sidebar-nav a[data-sidebar-today-alert].is-blinking .sidebar-icon {
    animation: none;
  }
}

.sidebar-contact {
  width: 100%;
  margin-top: auto;
}

.sidebar-toggle {
  position: fixed;
  top: 0.65rem;
  left: 0.65rem;
  z-index: 95;
  display: none;
  align-items: center;
  gap: 0.55rem;
  border: 1px solid rgba(40, 123, 164, 0.35);
  border-radius: 0.7rem;
  background: var(--bg-panel);
  color: var(--brand-strong);
  font: inherit;
  font-weight: 700;
  padding: 0.45rem 0.65rem;
  box-shadow: var(--shadow);
  transition:
    background-color 0.18s ease,
    border-color 0.18s ease,
    color 0.18s ease,
    box-shadow 0.18s ease;
}

.sidebar-close {
  display: none;
  border: 1px solid rgba(40, 123, 164, 0.3);
  border-radius: 0.62rem;
  background: #fffaf0;
  color: var(--brand-strong);
  font: inherit;
  font-weight: 700;
  padding: 0.42rem 0.62rem;
  width: fit-content;
  cursor: pointer;
  transition:
    background-color 0.18s ease,
    border-color 0.18s ease,
    color 0.18s ease,
    box-shadow 0.18s ease;
}

.sidebar-backdrop {
  position: fixed;
  inset: 0;
  z-index: 79;
  background: rgba(57, 117, 147, 0.4);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.nav-wrap {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-cross {
  display: grid;
  place-items: center;
  width: 2.2rem;
  aspect-ratio: 1;
  border-radius: 50%;
  background: linear-gradient(140deg, var(--brand), var(--brand-strong));
  color: #f5f1e8;
  box-shadow: var(--shadow);
}

.brand-text {
  display: grid;
  gap: 0.08rem;
}

.brand-text strong {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.35rem;
  line-height: 1;
}

.brand-text small {
  color: var(--muted);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.menu-toggle {
  display: none;
  margin-left: auto;
  border: 1px solid rgba(40, 123, 164, 0.35);
  border-radius: 0.7rem;
  background: var(--bg-panel);
  color: var(--brand-strong);
  font: inherit;
  font-weight: 700;
  padding: 0.45rem 0.65rem;
  align-items: center;
  gap: 0.5rem;
  transition:
    background-color 0.18s ease,
    border-color 0.18s ease,
    color 0.18s ease,
    box-shadow 0.18s ease;
}

.menu-bars {
  width: 1.1rem;
  height: 0.78rem;
  background:
    linear-gradient(var(--brand-strong), var(--brand-strong)) 0 0 / 100% 2px,
    linear-gradient(var(--brand-strong), var(--brand-strong)) 0 50% / 100% 2px,
    linear-gradient(var(--brand-strong), var(--brand-strong)) 0 100% / 100% 2px;
  background-repeat: no-repeat;
}

.sidebar-toggle:hover,
.sidebar-toggle:focus-visible,
.menu-toggle:hover,
.menu-toggle:focus-visible,
.sidebar-close:hover,
.sidebar-close:focus-visible {
  background: linear-gradient(145deg, var(--ui-hover-bg-soft), var(--ui-hover-bg));
  border-color: var(--ui-hover-border);
  color: var(--ui-hover-text);
  box-shadow: var(--ui-hover-shadow);
}

.sidebar-toggle:hover .menu-bars,
.sidebar-toggle:focus-visible .menu-bars,
.menu-toggle:hover .menu-bars,
.menu-toggle:focus-visible .menu-bars {
  background:
    linear-gradient(var(--ui-hover-text), var(--ui-hover-text)) 0 0 / 100% 2px,
    linear-gradient(var(--ui-hover-text), var(--ui-hover-text)) 0 50% / 100% 2px,
    linear-gradient(var(--ui-hover-text), var(--ui-hover-text)) 0 100% / 100% 2px;
  background-repeat: no-repeat;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
  flex: 1;
}

.nav-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.38rem;
}

.nav-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  padding: 0.4rem 0.65rem;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 600;
  color: #2f2c27;
  border: 1px solid transparent;
  transition:
    background-color 0.18s ease,
    border-color 0.18s ease,
    color 0.18s ease,
    box-shadow 0.18s ease,
    transform 0.18s ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  background: linear-gradient(145deg, var(--ui-hover-bg-soft), var(--ui-hover-bg));
  border-color: var(--ui-hover-border);
  color: var(--ui-hover-text);
  box-shadow: var(--ui-hover-shadow);
  transform: translateY(-1px);
}

.nav-links a.is-active {
  background: rgba(40, 123, 164, 0.12);
  border-color: rgba(40, 123, 164, 0.34);
  color: var(--brand);
}

.nav-cta {
  white-space: nowrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  border-radius: 999px;
  border: 1px solid transparent;
  padding: 0.62rem 1rem;
  background: linear-gradient(140deg, var(--brand), var(--brand-strong));
  color: #fcfaf5;
  text-decoration: none;
  font-weight: 700;
  cursor: pointer;
  font: inherit;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    filter 0.18s ease,
    border-color 0.18s ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(44, 121, 160, 0.3);
  filter: brightness(1.12) saturate(1.08);
}

.btn:active {
  transform: translateY(0);
}

.btn-outline {
  background: transparent;
  color: var(--brand-strong);
  border-color: rgba(40, 123, 164, 0.42);
}

.btn-soft {
  background: linear-gradient(140deg, #f7f0e0, #efe2c8);
  color: #2d2b28;
  border-color: rgba(182, 138, 68, 0.55);
}

.hero {
  position: relative;
  overflow: clip;
  padding: 3.9rem 0 3.1rem;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, transparent 49%, rgba(40, 123, 164, 0.04) 50%, transparent 51%),
    linear-gradient(0deg, transparent 49%, rgba(40, 123, 164, 0.04) 50%, transparent 51%);
  background-size: 4.8rem 4.8rem;
  mask-image: radial-gradient(circle at 20% 15%, #000, transparent 64%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1rem;
  align-items: stretch;
}

.hero-copy {
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: rgba(255, 253, 248, 0.86);
  box-shadow: 0 9px 24px rgba(39, 37, 34, 0.08);
  padding: 1.2rem;
}

.kicker {
  margin: 0;
  color: var(--brand);
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 800;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  line-height: 1.1;
}

h1 {
  margin-top: 0.4rem;
  font-size: clamp(2rem, 5vw, 3.4rem);
}

h2 {
  font-size: clamp(1.7rem, 3.4vw, 2.55rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.1rem;
}

.hero-panel {
  border: 1px solid var(--line);
  border-radius: 1rem;
  padding: 1.2rem;
  background: linear-gradient(158deg, #287ba4, #257ca7);
  color: #f4f1e7;
  box-shadow: var(--shadow);
}

.hero-panel ul {
  margin: 1rem 0 0;
  padding-left: 1.1rem;
}

.page-hero {
  padding: 2rem 0 1.2rem;
}

.page-hero .inner {
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: linear-gradient(145deg, rgba(255, 253, 248, 0.9), rgba(245, 237, 221, 0.92));
  box-shadow: 0 10px 24px rgba(39, 37, 34, 0.08);
  padding: 1.1rem;
}

.page-hero h1 {
  font-size: clamp(1.95rem, 4vw, 3rem);
}

.breadcrumbs {
  margin: 0.45rem 0 0;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 500;
}

.section {
  padding: 2.8rem 0;
}

.section-alt {
  background:
    linear-gradient(rgba(236, 228, 213, 0.92), rgba(236, 228, 213, 0.92)),
    radial-gradient(circle at 82% 16%, rgba(40, 123, 164, 0.12), transparent 48%);
  border-block: 1px solid rgba(40, 123, 164, 0.1);
}

.section-head {
  margin-bottom: 1rem;
}

.section-head h2 {
  margin-top: 0.35rem;
}

.grid {
  display: grid;
  gap: 1rem;
}

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

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

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

.card {
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: var(--bg-panel);
  box-shadow: 0 8px 20px rgba(52, 49, 43, 0.07);
  padding: 1.05rem;
}

.card h3 {
  font-size: 1.52rem;
  margin-bottom: 0.45rem;
}

.card h4 {
  font-size: 1.24rem;
  margin-bottom: 0.45rem;
}

.card p {
  margin: 0.4rem 0 0;
}

.card ul,
.card ol {
  margin: 0.1rem 0 0;
  padding-left: 1.1rem;
}

.card li {
  margin: 0.3rem 0;
}

.small {
  font-size: 0.9rem;
}

.muted {
  color: var(--muted);
}

.notice {
  margin-top: 0.7rem;
  border-left: 4px solid var(--accent);
  border-radius: 0.55rem;
  background: rgba(254, 252, 248, 0.82);
  padding: 0.6rem 0.85rem;
}

.confirmation-guide {
  display: grid;
  gap: 0.9rem;
}

.confirmation-divider {
  height: 1px;
  background: rgba(40, 123, 164, 0.24);
}

.section-mini-title {
  margin: 0.2rem 0 0;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--brand-strong);
}

.urgent-note {
  border-left-color: #a3311f;
  background: rgba(255, 239, 232, 0.9);
  color: #5d2318;
}

.inline-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.inline-list li {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  padding: 0.35rem 0.7rem;
  font-size: 0.88rem;
}

.data-list {
  margin: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.7rem;
}

.data-list div {
  border-bottom: 1px dashed var(--line);
  padding-bottom: 0.5rem;
}

.data-list dt {
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.11em;
  font-size: 0.74rem;
  font-weight: 700;
}

.data-list dd {
  margin: 0.15rem 0 0;
  font-weight: 600;
}

.contact-wide-card {
  margin-bottom: 1rem;
}

.contact-map-card {
  margin-top: 0.25rem;
}

.contact-wide-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.contact-wide-list div {
  border: 1px solid rgba(40, 123, 164, 0.14);
  border-radius: 0.75rem;
  background: rgba(255, 255, 255, 0.66);
  padding: 0.58rem 0.68rem;
}

.cure-contact-section {
  border-top: 1px solid rgba(182, 138, 68, 0.24);
  border-bottom: 1px solid rgba(182, 138, 68, 0.24);
  background:
    radial-gradient(circle at 8% 10%, rgba(182, 138, 68, 0.18), transparent 34%),
    radial-gradient(circle at 92% 4%, rgba(40, 123, 164, 0.16), transparent 32%),
    linear-gradient(180deg, #f7f1e4 0%, #efe6d3 100%);
}

.cure-contact-card {
  border: 1px solid rgba(145, 109, 49, 0.38);
  background:
    linear-gradient(152deg, rgba(255, 252, 245, 0.97), rgba(248, 239, 221, 0.95));
  box-shadow: 0 16px 30px rgba(93, 69, 36, 0.15);
}

.cure-contact-card h2 {
  margin: 0.3rem 0 0.5rem;
  font-size: clamp(1.7rem, 3.2vw, 2.45rem);
}

.cure-contact-intro {
  margin: 0;
  font-size: 1.02rem;
  color: #3a332a;
}

.cure-contact-form {
  margin-top: 0.85rem;
}

.cure-contact-form input,
.cure-contact-form select,
.cure-contact-form textarea {
  background: rgba(255, 252, 246, 0.92);
  border-color: rgba(145, 109, 49, 0.42);
}

.contact-neo-main {
  background:
    radial-gradient(circle at 10% 6%, rgba(40, 123, 164, 0.14), transparent 34%),
    radial-gradient(circle at 92% 3%, rgba(182, 138, 68, 0.12), transparent 35%),
    var(--bg);
}

.contact-neo-section {
  padding-top: 1.05rem;
}

.contact-neo-shell {
  width: min(1540px, 100%);
  display: grid;
  gap: 0.8rem;
}

.contact-neo-top {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
  align-items: stretch;
}

.contact-neo-title {
  border-radius: 0.9rem;
  border: 1px solid rgba(52, 119, 152, 0.45);
  background:
    linear-gradient(160deg, rgba(14, 29, 33, 0.97), rgba(14, 42, 49, 0.93));
  color: #f8f2e4;
  padding: 0.88rem;
  min-height: clamp(340px, 32vw, 430px);
}

.contact-neo-kicker {
  margin: 0;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: rgba(233, 215, 177, 0.95);
}

.contact-neo-title h1 {
  margin: 0.22rem 0 0.55rem;
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 0.95;
  color: #fff4dc;
}

.contact-neo-data {
  margin: 0;
  display: grid;
  gap: 0.55rem;
}

.contact-neo-data div {
  border-bottom: 1px dashed rgba(234, 219, 186, 0.28);
  padding-bottom: 0.42rem;
}

.contact-neo-data div:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.contact-neo-data dt {
  color: rgba(232, 214, 182, 0.9);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.contact-neo-data dd {
  margin: 0.14rem 0 0;
  color: #fff7ea;
  font-weight: 600;
}

.contact-neo-photo {
  border-radius: 0.9rem;
  border: 1px solid rgba(40, 123, 164, 0.26);
  min-height: clamp(340px, 32vw, 430px);
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 18% 20%, rgba(255, 244, 220, 0.9), transparent 30%),
    radial-gradient(circle at 82% 78%, rgba(171, 134, 79, 0.2), transparent 28%),
    linear-gradient(145deg, rgba(252, 249, 241, 0.98), rgba(238, 231, 214, 0.96));
}

.contact-neo-photo::before {
  content: "";
  width: min(72%, 345px);
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  background:
    linear-gradient(135deg, rgba(14, 28, 34, 0.16), rgba(157, 68, 64, 0.1)),
    url("images/photo%20paroisses%202026/05.png");
  background-size: cover;
  background-position: center 34%;
  border: 10px solid rgba(255, 251, 243, 0.95);
  box-shadow:
    0 18px 34px rgba(57, 117, 147, 0.18),
    0 0 0 1px rgba(40, 123, 164, 0.16);
}

.contact-neo-photo::after {
  content: "";
  position: absolute;
  inset: 50% auto auto 50%;
  width: min(78%, 372px);
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  border: 1px dashed rgba(40, 123, 164, 0.26);
  pointer-events: none;
}

.contact-neo-mid {
  display: grid;
  grid-template-columns: minmax(170px, 0.35fr) minmax(0, 1fr);
  gap: 0.7rem;
}

.contact-neo-mid-title {
  border-radius: 0.85rem;
  border: 1px solid rgba(182, 138, 68, 0.36);
  background: linear-gradient(160deg, #f6efe0, #efe4cc);
  display: grid;
  place-items: center;
  min-height: 140px;
}

.contact-neo-mid-title h2 {
  margin: 0;
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  line-height: 1.05;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: #1f2a32;
  text-align: center;
}

.contact-neo-newsletter {
  border-radius: 0.85rem;
  border: 1px solid rgba(24, 39, 42, 0.45);
  background: linear-gradient(150deg, #1b252d, #222d37);
  color: #f8f2e5;
  padding: 0.82rem;
}

.contact-neo-newsletter-wide {
  margin-top: 0;
}

.contact-neo-newsletter h3 {
  margin: 0;
  color: #fbeed5;
}

.contact-neo-newsletter p {
  margin: 0.35rem 0 0.5rem;
  color: rgba(247, 239, 225, 0.92);
}

.contact-neo-form {
  margin: 0;
  display: grid;
  gap: 0.35rem;
}

.contact-neo-form label {
  font-size: 0.82rem;
  font-weight: 700;
  color: rgba(247, 239, 225, 0.95);
}

.contact-neo-form-line {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.4rem;
}

.contact-neo-form-line input {
  min-height: 40px;
  border-radius: 0.68rem;
  border: 1px solid rgba(224, 210, 181, 0.35);
  background: rgba(250, 246, 238, 0.95);
  color: #2c2a27;
  padding: 0.44rem 0.65rem;
}

.contact-neo-form-line .btn {
  min-height: 40px;
}

.contact-neo-map {
  border-radius: 0.9rem;
  border: 1px solid rgba(40, 123, 164, 0.25);
  background: rgba(255, 253, 248, 0.92);
  padding: 0.7rem;
}

.contact-neo-map-shell {
  display: grid;
  gap: 0.68rem;
}

.contact-neo-map-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.contact-neo-map-hint {
  margin: 0;
  color: #2a556b;
  font-size: 0.9rem;
}

.contact-neo-map-canvas {
  min-height: 360px;
  height: clamp(360px, 44vw, 460px);
  border-radius: 0.72rem;
  overflow: hidden;
  border: 1px solid rgba(40, 123, 164, 0.2);
  background:
    radial-gradient(circle at 16% 18%, rgba(93, 159, 192, 0.12), transparent 28%),
    linear-gradient(160deg, rgba(247, 243, 234, 0.98), rgba(236, 228, 212, 0.98));
  isolation: isolate;
}

.contact-neo-map-canvas.is-fallback {
  display: grid;
  place-items: center;
  padding: 1rem;
  color: #214456;
  text-align: center;
  font-weight: 600;
}

.contact-neo-map-canvas .leaflet-control-zoom a {
  color: #397593;
}

.contact-neo-map-canvas .leaflet-popup-content {
  margin: 0.7rem 0.85rem;
  color: #264d60;
  font-size: 0.92rem;
}

.contact-neo-map-canvas .leaflet-popup-content strong {
  display: block;
  margin-bottom: 0.18rem;
  color: #0f3144;
}

.contact-neo-map .map-frame {
  min-height: 265px;
  border-radius: 0.72rem;
}

.contact-neo-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.7rem;
}

.contact-neo-mini {
  border-radius: 0.84rem;
  border: 1px solid rgba(40, 123, 164, 0.22);
  background: rgba(255, 255, 255, 0.92);
  padding: 0.75rem;
}

.contact-neo-mini-kicker {
  margin: 0;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brand-strong);
  font-weight: 800;
}

.contact-neo-mini p {
  margin: 0.34rem 0 0;
}

.contact-neo-lower {
  width: min(1540px, 100%);
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  gap: 0.8rem;
}

.contact-neo-links-card h3 {
  margin-top: 0;
}

.contact-neo-links-card ul {
  margin: 0;
  padding-left: 1.1rem;
  display: grid;
  gap: 0.3rem;
}

.contact-neo-links-card .hero-actions {
  margin-top: 0.8rem;
}

@media (max-width: 1100px) {
  .contact-neo-top {
    grid-template-columns: 1fr;
  }

  .contact-neo-mid {
    grid-template-columns: 1fr;
  }

  .contact-neo-mid-title {
    min-height: 0;
    padding: 0.8rem;
  }

  .contact-neo-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-neo-lower {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .contact-neo-title,
  .contact-neo-newsletter,
  .contact-neo-map,
  .contact-neo-mini,
  .contact-neo-links-card,
  .cure-contact-card {
    border-radius: 0.72rem;
  }

  .contact-neo-photo {
    min-height: 260px;
  }

  .contact-neo-photo::before {
    width: min(76vw, 280px);
    border-width: 8px;
  }

  .contact-neo-photo::after {
    width: min(82vw, 300px);
  }

  .contact-neo-form-line {
    grid-template-columns: 1fr;
  }

  .contact-neo-map-toolbar {
    align-items: flex-start;
  }

  .contact-neo-map-canvas {
    min-height: 300px;
    height: clamp(300px, 68vw, 380px);
  }

  .contact-neo-cards {
    grid-template-columns: 1fr;
  }
}

.contact-redesign-shell {
  gap: 1rem;
}

.contact-redesign-hero {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(40, 123, 164, 0.22);
  border-radius: 1.45rem;
  padding: clamp(0.9rem, 1.7vw, 1.15rem);
  background:
    radial-gradient(circle at 8% 14%, rgba(255, 233, 194, 0.42), transparent 28%),
    radial-gradient(circle at 92% 12%, rgba(18, 66, 71, 0.2), transparent 26%),
    linear-gradient(135deg, rgba(255, 252, 246, 0.98), rgba(239, 234, 222, 0.96));
  box-shadow: 0 18px 40px rgba(33, 67, 84, 0.1);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 500px);
  gap: clamp(0.85rem, 1.5vw, 1.15rem);
  align-items: start;
}

.contact-redesign-hero::before {
  content: "";
  position: absolute;
  inset: auto auto -18% -8%;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(18, 66, 71, 0.12), rgba(18, 66, 71, 0));
  pointer-events: none;
}

.contact-redesign-copy {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 0.9rem;
}

.contact-redesign-copy.is-coordinates {
  align-content: center;
  gap: 0.85rem;
  padding-block: 0.4rem;
}

.contact-redesign-kicker {
  margin: 0;
  color: #a06418;
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 800;
}

.contact-redesign-copy h1 {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2.8rem, 5.6vw, 4.8rem);
  line-height: 0.9;
  letter-spacing: -0.02em;
  color: #163540;
  max-width: 10ch;
}

.contact-redesign-copy.is-coordinates h1 {
  max-width: none;
  font-size: clamp(2.35rem, 4vw, 3.5rem);
  line-height: 0.95;
}

.contact-redesign-lead {
  margin: 0;
  max-width: 58ch;
  font-size: 1.02rem;
  line-height: 1.65;
  color: #435149;
}

.contact-redesign-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.contact-redesign-actions .btn {
  min-height: 2.85rem;
  padding-inline: 1rem;
}

.contact-redesign-coords {
  display: grid;
  gap: 0.7rem;
  max-width: 33rem;
}

.contact-redesign-coord-item {
  display: grid;
  gap: 0.3rem;
  padding: 0.78rem 0.95rem;
  border-radius: 1rem;
  border: 1px solid rgba(40, 123, 164, 0.14);
  background: rgba(255, 255, 255, 0.74);
  box-shadow: 0 10px 24px rgba(57, 117, 147, 0.06);
}

.contact-redesign-coord-label {
  color: #9a6521;
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 800;
}

.contact-redesign-coord-value {
  margin: 0;
  color: #163540;
  font-size: 1.04rem;
  line-height: 1.45;
  font-weight: 700;
  word-break: break-word;
}

.contact-redesign-coord-link {
  color: inherit;
  text-decoration: none;
}

.contact-redesign-coord-link:hover,
.contact-redesign-coord-link:focus-visible {
  color: #1b7fb1;
  text-decoration: underline;
  text-underline-offset: 0.14em;
}

.contact-redesign-media {
  position: relative;
  min-height: 0;
  padding: 0;
  display: grid;
  align-items: center;
  justify-items: end;
  align-self: center;
}

.contact-redesign-photo-main {
  margin: 0;
  position: relative;
  overflow: hidden;
  box-shadow: 0 22px 38px rgba(57, 117, 147, 0.16);
}

.contact-redesign-photo-main {
  z-index: 2;
  width: min(100%, 500px);
  aspect-ratio: 5 / 4;
  border-radius: 44% 44% 1.25rem 1.25rem / 20% 20% 1.25rem 1.25rem;
  border: 10px solid rgba(255, 250, 241, 0.95);
}

.contact-redesign-photo-main img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.contact-redesign-photo-main img {
  object-position: center 40%;
}

.contact-redesign-details {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
}

.contact-redesign-detail-card {
  min-height: 100%;
  border: 1px solid rgba(40, 123, 164, 0.18);
  border-radius: 1.2rem;
  padding: 1rem;
  background:
    radial-gradient(circle at 100% 0, rgba(231, 197, 134, 0.12), transparent 32%),
    linear-gradient(155deg, rgba(255, 255, 252, 0.98), rgba(244, 239, 228, 0.96));
  box-shadow: 0 14px 30px rgba(57, 117, 147, 0.08);
  display: grid;
  gap: 0.48rem;
  align-content: start;
}

.contact-redesign-detail-kicker {
  margin: 0;
  color: #8a6327;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.contact-redesign-detail-card h2 {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.55rem, 2.3vw, 2rem);
  line-height: 0.98;
  color: #163540;
}

.contact-redesign-detail-card p {
  margin: 0;
  color: #285166;
  line-height: 1.6;
}

.contact-redesign-detail-note {
  color: #65736d;
  font-size: 0.88rem;
  line-height: 1.45;
}

.contact-redesign-detail-link,
.contact-redesign-strong-link {
  color: #1880b4;
  font-weight: 800;
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 0.18em;
}

.contact-redesign-detail-link:hover,
.contact-redesign-detail-link:focus-visible,
.contact-redesign-strong-link:hover,
.contact-redesign-strong-link:focus-visible {
  color: #1880b4;
}

.contact-redesign-map-panel {
  border: 1px solid rgba(40, 123, 164, 0.2);
  border-radius: 1.45rem;
  padding: clamp(1rem, 2vw, 1.25rem);
  background:
    radial-gradient(circle at 10% 8%, rgba(255, 236, 200, 0.22), transparent 24%),
    linear-gradient(155deg, rgba(255, 253, 248, 0.98), rgba(240, 235, 225, 0.96));
  box-shadow: 0 18px 40px rgba(33, 67, 84, 0.08);
  display: grid;
  gap: 0.9rem;
}

.contact-redesign-map-head {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1rem;
  flex-wrap: wrap;
}

.contact-redesign-map-copy {
  max-width: 66ch;
}

.contact-redesign-panel-kicker {
  margin: 0;
  color: #8a6327;
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 800;
}

.contact-redesign-map-copy h2 {
  margin: 0.18rem 0 0.32rem;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 0.95;
  color: #173941;
}

.contact-redesign-map-copy p {
  margin: 0;
  color: #4b5a53;
  line-height: 1.6;
}

.contact-redesign-map-actions {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.contact-redesign-map-actions .btn {
  min-height: 2.85rem;
}

.contact-redesign-map-frame {
  overflow: hidden;
  border-radius: 1.1rem;
  border: 1px solid rgba(40, 123, 164, 0.16);
  background: rgba(247, 243, 235, 0.92);
  padding: 0.5rem;
}

.contact-redesign-map-frame .contact-neo-map-canvas {
  min-height: clamp(360px, 46vw, 540px);
  height: clamp(360px, 46vw, 540px);
  border-radius: 0.9rem;
  border-color: rgba(40, 123, 164, 0.14);
  background: #e8dfd1;
}

.contact-redesign-map-frame .map-frame {
  min-height: clamp(360px, 46vw, 540px);
  height: clamp(360px, 46vw, 540px);
}

@media (max-width: 1180px) {
  .contact-redesign-hero {
    grid-template-columns: 1fr;
    align-items: center;
  }

  .contact-redesign-copy h1 {
    max-width: 12ch;
  }

  .contact-redesign-copy.is-coordinates h1 {
    max-width: none;
  }

  .contact-redesign-media {
    min-height: 0;
    justify-items: center;
    padding: 0.2rem 0 0;
  }

  .contact-redesign-details {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .contact-redesign-hero,
  .contact-redesign-map-panel,
  .contact-redesign-detail-card {
    border-radius: 1rem;
  }

  .contact-redesign-copy h1 {
    max-width: none;
    font-size: clamp(2.35rem, 12vw, 3.5rem);
  }

  .contact-redesign-coord-item {
    padding: 0.82rem 0.9rem;
  }

  .contact-redesign-lead {
    font-size: 0.97rem;
  }

  .contact-redesign-actions,
  .contact-redesign-map-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .contact-redesign-actions .btn,
  .contact-redesign-map-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .contact-redesign-media {
    min-height: 0;
    padding: 0;
  }

  .contact-redesign-photo-main {
    width: min(100%, 380px);
    aspect-ratio: 4 / 5;
    border-width: 8px;
  }

  .contact-redesign-map-head {
    align-items: start;
  }

  .contact-redesign-map-frame {
    padding: 0.4rem;
  }

  .contact-redesign-map-frame .contact-neo-map-canvas,
  .contact-redesign-map-frame .map-frame {
    min-height: 320px;
    height: clamp(320px, 82vw, 420px);
  }
}

.signalement-trust-section {
  background:
    radial-gradient(circle at 10% 6%, rgba(40, 123, 164, 0.16), transparent 36%),
    linear-gradient(180deg, rgba(243, 248, 250, 0.9), rgba(233, 240, 244, 0.92));
}

.signalement-trust-card {
  border: 1px solid rgba(40, 123, 164, 0.34);
  background:
    linear-gradient(155deg, rgba(255, 255, 252, 0.98), rgba(239, 244, 247, 0.94));
  box-shadow: 0 14px 30px rgba(40, 123, 164, 0.12);
}

.signalement-trust-card h2 {
  margin: 0.3rem 0 0.6rem;
}

.signalement-trust-grid {
  margin-top: 0.7rem;
}

.signalement-mini-card {
  background: rgba(255, 255, 255, 0.78);
  border-color: rgba(40, 123, 164, 0.22);
}

.signalement-bible-card {
  background:
    linear-gradient(150deg, rgba(255, 251, 241, 0.95), rgba(247, 238, 220, 0.9));
  border-color: rgba(182, 138, 68, 0.4);
}

.signalement-bible-card .scripture-quote + .scripture-quote {
  margin-top: 0.55rem;
}

.signalement-urgent-note {
  margin-top: 0.85rem;
  border-left-color: #8f2e23;
  background: rgba(255, 238, 230, 0.9);
  color: #5e2219;
}

.signalement-form-section {
  background:
    radial-gradient(circle at 92% 0, rgba(182, 138, 68, 0.16), transparent 34%),
    linear-gradient(180deg, rgba(249, 244, 233, 0.94), rgba(245, 236, 219, 0.9));
}

.signalement-form-card {
  border: 1px solid rgba(182, 138, 68, 0.4);
  background:
    linear-gradient(160deg, rgba(255, 254, 250, 0.96), rgba(251, 245, 232, 0.92));
  box-shadow: 0 12px 25px rgba(93, 69, 36, 0.12);
}

.detail-list {
  margin: 0;
  display: grid;
  gap: 0.8rem;
}

.detail-list div {
  border-bottom: 1px dashed var(--line);
  padding-bottom: 0.55rem;
}

.detail-list div:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.detail-list dt {
  color: var(--brand);
  font-weight: 800;
}

.detail-list dd {
  margin: 0.18rem 0 0;
}

.vie-section {
  padding-top: 1.2rem;
}

.vie-container {
  width: min(var(--layout-unified-width), calc(100% - 2rem));
}

.vie-admin-message {
  margin-bottom: 0.9rem;
  border-color: rgba(40, 123, 164, 0.34);
  border-radius: 1.18rem 0.95rem 1.18rem 0.95rem;
  background:
    radial-gradient(circle at 92% 8%, rgba(182, 138, 68, 0.17), transparent 36%),
    linear-gradient(155deg, rgba(242, 247, 250, 0.96), rgba(226, 237, 243, 0.92));
}

.vie-admin-message h2 {
  margin: 0 0 0.25rem;
}

.vie-admin-message p {
  margin: 0;
  color: #397593;
}

.vie-intro-card {
  border-color: rgba(40, 123, 164, 0.3);
  border-radius: 1.35rem 0.95rem 1.4rem 1rem;
  background:
    radial-gradient(circle at 95% 5%, rgba(40, 123, 164, 0.17), transparent 34%),
    radial-gradient(circle at 8% 90%, rgba(182, 138, 68, 0.14), transparent 38%),
    linear-gradient(155deg, rgba(255, 254, 249, 0.97), rgba(244, 237, 223, 0.94));
}

.vie-intro-card h2 {
  margin: 0.2rem 0 0.45rem;
}

.vie-directory-card {
  margin-top: 0.9rem;
  border-color: rgba(40, 123, 164, 0.28);
  background:
    linear-gradient(158deg, rgba(255, 254, 249, 0.97), rgba(239, 245, 248, 0.92));
}

.vie-directory-card h2 {
  margin: 0.1rem 0 0.38rem;
}

.vie-directory-list {
  list-style: none;
  margin: 0.7rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.62rem;
}

.vie-directory-list li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.8rem;
  border: 1px solid rgba(40, 123, 164, 0.18);
  border-radius: 0.9rem;
  padding: 0.72rem 0.78rem;
  background: rgba(255, 255, 255, 0.82);
}

.vie-directory-list h3 {
  margin: 0;
  font-size: 1.1rem;
  color: var(--brand-strong);
}

.vie-directory-list p {
  margin: 0.18rem 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.vie-directory-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.45rem;
}

.vie-subnav {
  margin-top: 0.7rem;
  gap: 0.5rem;
}

.subnav.vie-subnav a {
  border: 1px solid rgba(40, 123, 164, 0.24);
  background: linear-gradient(
    180deg,
    rgba(250, 247, 239, 0.96),
    rgba(242, 235, 221, 0.92)
  );
  color: #397593;
  transition:
    border-color 0.18s ease,
    background 0.18s ease,
    color 0.18s ease,
    box-shadow 0.18s ease,
    transform 0.18s ease;
}

.subnav.vie-subnav a:hover,
.subnav.vie-subnav a:focus-visible {
  border-color: var(--ui-hover-border);
  background: linear-gradient(145deg, var(--ui-hover-bg-soft), var(--ui-hover-bg));
  color: var(--ui-hover-text);
  box-shadow: var(--ui-hover-shadow);
  transform: translateY(-1px);
}

.subnav.vie-subnav a.is-active {
  border-color: rgba(40, 123, 164, 0.52);
  background: linear-gradient(
    180deg,
    rgba(219, 233, 240, 0.98),
    rgba(206, 223, 232, 0.95)
  );
  color: #247ca8;
  font-weight: 700;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.5);
}

.vie-list {
  margin-top: 0.9rem;
  display: grid;
  gap: 0.85rem;
}

.vie-item {
  --vie-accent: #327495;
  --vie-bg-a: rgba(245, 250, 252, 0.96);
  --vie-bg-b: rgba(231, 241, 246, 0.92);
  position: relative;
  overflow: hidden;
  border-color: rgba(40, 123, 164, 0.24);
  border-radius: 1.08rem;
  background: linear-gradient(158deg, var(--vie-bg-a), var(--vie-bg-b));
}

.vie-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: linear-gradient(90deg, var(--vie-accent), transparent 85%);
}

.vie-item:nth-child(1) {
  --vie-accent: #247ca8;
  --vie-bg-a: rgba(244, 249, 252, 0.97);
  --vie-bg-b: rgba(230, 241, 246, 0.93);
  border-radius: 1.2rem 0.95rem 1.35rem 0.95rem;
}

.vie-item:nth-child(2) {
  --vie-accent: #b4833d;
  --vie-bg-a: rgba(255, 252, 243, 0.97);
  --vie-bg-b: rgba(250, 239, 220, 0.93);
  border-radius: 0.95rem 1.25rem 0.95rem 1.3rem;
}

.vie-item:nth-child(3) {
  --vie-accent: #3b6d87;
  --vie-bg-a: rgba(243, 249, 253, 0.97);
  --vie-bg-b: rgba(228, 240, 248, 0.92);
  border-radius: 1.35rem 0.95rem 1.05rem 1.25rem;
}

.vie-item:nth-child(4) {
  --vie-accent: #8a5a9f;
  --vie-bg-a: rgba(249, 244, 253, 0.97);
  --vie-bg-b: rgba(240, 232, 248, 0.92);
  border-radius: 1.1rem 1.3rem 1rem 0.95rem;
}

.vie-item:nth-child(5) {
  --vie-accent: #8c6a37;
  --vie-bg-a: rgba(252, 248, 240, 0.97);
  --vie-bg-b: rgba(245, 236, 219, 0.92);
  border-radius: 0.95rem 1.2rem 1.3rem 1rem;
}

.vie-item:nth-child(6) {
  --vie-accent: #438aae;
  --vie-bg-a: rgba(243, 249, 252, 0.97);
  --vie-bg-b: rgba(227, 239, 245, 0.92);
  border-radius: 1.25rem 1rem 0.95rem 1.35rem;
}

.vie-item:nth-child(7) {
  --vie-accent: #6d5d95;
  --vie-bg-a: rgba(246, 245, 252, 0.97);
  --vie-bg-b: rgba(234, 232, 246, 0.92);
  border-radius: 1.35rem 0.95rem 1.2rem 1.05rem;
}

.vie-item-head {
  margin-bottom: 0.62rem;
  display: grid;
  gap: 0.2rem;
}

.vie-item-head h3 {
  margin: 0;
}

.vie-item-head p {
  margin: 0;
  color: var(--muted);
}

.vie-meta-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.58rem;
}

.vie-meta-card {
  border: 1px solid rgba(40, 123, 164, 0.14);
  border-left: 4px solid var(--vie-accent, #247ca8);
  border-radius: 0.7rem;
  background: rgba(255, 255, 255, 0.82);
  padding: 0.52rem 0.62rem;
}

.vie-meta-card:nth-child(1) {
  border-radius: 0.9rem 0.7rem 0.85rem 0.75rem;
}

.vie-meta-card:nth-child(2) {
  border-radius: 0.72rem 0.92rem 0.75rem 0.9rem;
}

.vie-meta-card:nth-child(3) {
  border-radius: 0.86rem 0.78rem 0.92rem 0.74rem;
}

.vie-meta-label {
  margin: 0;
  color: var(--brand);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.73rem;
  font-weight: 800;
}

.vie-meta-value {
  margin: 0.18rem 0 0;
  font-weight: 600;
}

.vie-meta-single {
  border: 1px solid rgba(40, 123, 164, 0.2);
  border-left: 4px solid var(--vie-accent, #247ca8);
  border-radius: 0.9rem;
  background: rgba(255, 255, 255, 0.86);
  padding: 0.7rem 0.8rem;
  overflow-wrap: anywhere;
}

.vie-meta-single p {
  margin: 0;
  line-height: 1.45;
}

.vie-meta-single p + p {
  margin-top: 0.48rem;
  padding-top: 0.48rem;
  border-top: 1px solid rgba(40, 123, 164, 0.11);
}

.vie-meta-inline-label {
  color: var(--brand);
  font-weight: 800;
}

.vie-inline-contact {
  color: #1c7fb0;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 0.12em;
}

.vie-inline-contact:hover,
.vie-inline-contact:focus-visible {
  color: #1880b4;
}

.vie-actions {
  margin-top: 0.72rem;
  display: flex;
  justify-content: flex-end;
}

.vie-actions .btn-soft {
  border-color: var(--vie-accent);
  background: rgba(255, 255, 255, 0.84);
  color: #397593;
}

.vie-form-section {
  background:
    radial-gradient(circle at 8% 0, rgba(40, 123, 164, 0.15), transparent 35%),
    linear-gradient(180deg, rgba(245, 241, 232, 0.92), rgba(237, 228, 210, 0.9));
}

.vie-form-card {
  border-color: rgba(182, 138, 68, 0.42);
  border-radius: 1.45rem 1rem 1.35rem 0.95rem;
  background:
    radial-gradient(circle at 93% 5%, rgba(182, 138, 68, 0.18), transparent 35%),
    radial-gradient(circle at 6% 96%, rgba(40, 123, 164, 0.12), transparent 36%),
    linear-gradient(160deg, rgba(255, 253, 246, 0.97), rgba(247, 239, 222, 0.93));
}

.vie-form-card h2 {
  margin: 0.25rem 0 0.45rem;
}

.vie-selected-state {
  margin-top: 0.25rem;
  font-weight: 700;
  color: var(--brand-strong);
}

.vie-category-intro-card {
  border-color: rgba(40, 123, 164, 0.28);
  border-radius: 1.35rem 1rem 1.25rem 0.95rem;
  background:
    radial-gradient(circle at 94% 8%, rgba(40, 123, 164, 0.15), transparent 34%),
    linear-gradient(156deg, rgba(255, 254, 249, 0.97), rgba(244, 237, 223, 0.93));
}

.vie-category-intro-card .vie-subnav {
  margin-top: 0;
  margin-bottom: 0.78rem;
}

.vie-category-intro-card h2 {
  margin: 0.25rem 0 0.35rem;
}

.vie-category-head {
  display: grid;
  grid-template-columns: 1fr;
  align-items: start;
  gap: 0.95rem;
  margin-bottom: 0.62rem;
}

.vie-category-head.has-cover {
  grid-template-columns: minmax(0, 1.42fr) minmax(220px, 290px);
}

.vie-category-head.has-cover .vie-category-head-copy {
  border-right: 1px solid rgba(40, 123, 164, 0.2);
  padding-right: 0.9rem;
}

.vie-category-head-copy p {
  margin: 0.35rem 0 0;
}

.vie-category-inline-info {
  margin-top: 0.9rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(40, 123, 164, 0.16);
}

.vie-category-inline-info h3 {
  margin: 0 0 0.45rem;
}

.vie-category-cover {
  margin: 0;
  width: min(100%, 290px);
  aspect-ratio: 5 / 4;
  border: 1px solid rgba(40, 123, 164, 0.24);
  border-radius: 0.7rem;
  overflow: hidden;
  background: linear-gradient(170deg, #faf6eb, #f0e6d1);
  box-shadow: 0 11px 20px rgba(57, 117, 147, 0.12);
  justify-self: end;
  align-self: start;
  padding: 0.45rem;
}

.vie-category-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0.45rem;
}

@media (max-width: 780px) {
  .vie-category-head.has-cover {
    grid-template-columns: 1fr;
    gap: 0.55rem;
  }

  .vie-category-head.has-cover .vie-category-head-copy {
    border-right: 0;
    padding-right: 0;
    padding-bottom: 0.6rem;
    border-bottom: 1px solid rgba(40, 123, 164, 0.16);
  }

  .vie-category-cover {
    justify-self: start;
    width: min(100%, 300px);
    aspect-ratio: 4 / 3;
  }
}

.vie-category-detail-card {
  margin-top: 0.9rem;
  border-color: rgba(67, 138, 174, 0.36);
  border-radius: 1rem 1.35rem 1.2rem 1rem;
  background:
    radial-gradient(circle at 92% 94%, rgba(40, 123, 164, 0.14), transparent 37%),
    linear-gradient(160deg, rgba(246, 250, 252, 0.97), rgba(232, 240, 244, 0.92));
}

.vie-category-actions {
  margin-top: 0.95rem;
}

.vie-category-symbolic-inline {
  margin-top: 0.95rem;
  border: 1px solid rgba(182, 138, 68, 0.34);
  border-radius: 1rem 1.25rem 1rem 1.2rem;
  padding: 0.88rem 0.95rem;
  background:
    radial-gradient(circle at 8% 8%, rgba(182, 138, 68, 0.15), transparent 38%),
    radial-gradient(circle at 92% 92%, rgba(40, 123, 164, 0.12), transparent 38%),
    linear-gradient(158deg, rgba(255, 252, 244, 0.94), rgba(245, 238, 221, 0.9));
}

.vie-category-symbolic-inline h3 {
  margin: 0.22rem 0 0.45rem;
}

.vie-symbolic-title {
  margin: 0.88rem 0 0.2rem;
  color: var(--brand);
  text-transform: uppercase;
  letter-spacing: 0.075em;
  font-size: 0.76rem;
  font-weight: 800;
}

.vie-symbolic-text {
  margin: 0;
}

.table-wrap {
  overflow-x: auto;
}

.horaires-wide-container {
  width: min(var(--layout-unified-width), calc(100% - 2rem));
}

.section-horaires-main {
  padding: 1.15rem 0 1.65rem;
}

.page-hero-horaires-liturgy .inner {
  position: relative;
  overflow: hidden;
  border-color: rgba(40, 123, 164, 0.3);
  background:
    radial-gradient(circle at 10% 8%, rgba(182, 138, 68, 0.22), transparent 35%),
    radial-gradient(circle at 86% 18%, rgba(42, 123, 164, 0.16), transparent 36%),
    linear-gradient(150deg, rgba(255, 255, 252, 0.98), rgba(241, 236, 220, 0.95));
}

.page-hero-horaires-liturgy .inner::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 6px;
  background: linear-gradient(90deg, rgba(182, 138, 68, 0.9), rgba(40, 123, 164, 0.8));
}

.section-horaires-liturgy {
  padding-top: 0.9rem;
}

.horaires-liturgy-shell {
  --fun-gold: rgba(182, 138, 68, 0.85);
  --fun-green: rgba(40, 123, 164, 0.85);
  position: relative;
  overflow: hidden;
  border-radius: 1.45rem;
  border-color: rgba(40, 123, 164, 0.3);
  background:
    radial-gradient(circle at 4% 2%, rgba(182, 138, 68, 0.2), transparent 28%),
    radial-gradient(circle at 98% 94%, rgba(40, 123, 164, 0.16), transparent 35%),
    linear-gradient(154deg, rgba(255, 255, 252, 0.98), rgba(245, 238, 222, 0.95));
  box-shadow: 0 18px 36px rgba(57, 117, 147, 0.12);
}

.horaires-liturgy-shell::before {
  content: "";
  position: absolute;
  inset: 1rem auto 1rem 1rem;
  width: 4px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--fun-gold), var(--fun-green));
}

.horaires-liturgy-head {
  position: relative;
  z-index: 1;
  margin: 0 0 1.05rem;
  padding-left: 1rem;
}

.horaires-liturgy-head h2 {
  margin: 0.15rem 0 0.3rem;
  font-size: clamp(1.55rem, 2.45vw, 2.2rem);
}

.horaires-liturgy-head p {
  margin: 0;
  max-width: 78ch;
  text-align: left;
  color: #1f3f4f;
}

.horaires-liturgy-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr 1.2fr;
  gap: 0.95rem;
}

.horaires-liturgy-card {
  position: relative;
  border: 1px solid rgba(40, 123, 164, 0.26);
  border-radius: 1rem;
  padding: 0.95rem 1rem;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.96), rgba(250, 246, 236, 0.92));
  box-shadow: 0 10px 22px rgba(57, 117, 147, 0.08);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.horaires-liturgy-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(57, 117, 147, 0.13);
  border-color: rgba(40, 123, 164, 0.4);
}

.horaires-liturgy-card.is-messe {
  background:
    radial-gradient(circle at 8% 8%, rgba(182, 138, 68, 0.24), transparent 39%),
    linear-gradient(160deg, rgba(255, 253, 246, 0.97), rgba(247, 239, 223, 0.94));
}

.horaires-liturgy-card.is-adoration {
  background:
    radial-gradient(circle at 90% 10%, rgba(40, 123, 164, 0.18), transparent 42%),
    linear-gradient(160deg, rgba(249, 252, 254, 0.98), rgba(233, 240, 244, 0.92));
}

.horaires-liturgy-card.is-prayer {
  background:
    radial-gradient(circle at 8% 92%, rgba(182, 138, 68, 0.16), transparent 35%),
    linear-gradient(160deg, rgba(255, 253, 248, 0.98), rgba(242, 236, 221, 0.94));
}

.horaires-liturgy-label {
  margin: 0;
  font-size: 0.77rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  font-weight: 800;
  color: #1d7eaf;
  text-align: left;
}

.horaires-liturgy-card h3 {
  margin: 0.26rem 0 0.18rem;
  font-size: clamp(1.24rem, 1.95vw, 1.65rem);
  line-height: 1.18;
}

.horaires-liturgy-place {
  margin: 0;
  text-align: left;
  color: #2f789d;
  font-weight: 700;
}

.horaires-liturgy-note {
  margin: 0.35rem 0 0;
  text-align: left;
  color: #23485a;
}

.horaires-liturgy-times {
  margin-top: 0.55rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.horaires-liturgy-times span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.26rem 0.74rem;
  border-radius: 999px;
  border: 1px solid rgba(40, 123, 164, 0.35);
  background: rgba(255, 255, 255, 0.85);
  color: #257ca7;
  font-weight: 700;
  font-size: 0.92rem;
}

.horaires-liturgy-list {
  margin: 0.55rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.55rem;
}

.horaires-liturgy-list li {
  margin: 0;
  padding: 0.58rem 0.65rem;
  border: 1px solid rgba(40, 123, 164, 0.2);
  border-radius: 0.8rem;
  background: rgba(255, 255, 255, 0.78);
  text-align: left;
}

.horaires-liturgy-list strong {
  display: block;
  color: #227daa;
}

.horaires-liturgy-list span {
  display: block;
  margin-top: 0.16rem;
  color: #204354;
}

.horaires-liturgy-list-entries li .horaires-liturgy-place {
  margin-top: 0.22rem;
  font-size: 0.95rem;
}

.horaires-liturgy-list-entries li .horaires-liturgy-note {
  margin-top: 0.24rem;
  font-size: 0.93rem;
  line-height: 1.42;
}

.horaires-liturgy-list .horaires-liturgy-empty {
  border-style: dashed;
  color: #2e5f77;
  font-style: italic;
}

/* Horaires page: clarity-first override (readability above decoration). */
.section-horaires-liturgy :where(p, li, span, strong, h2, h3) {
  text-align: left;
  text-justify: auto;
  hyphens: none;
}

.section-horaires-liturgy .horaires-liturgy-shell {
  border: 1px solid #c7baa1;
  background: #fffdf8;
  box-shadow: 0 10px 22px rgba(55, 118, 149, 0.09);
  border-radius: 1.15rem;
}

.section-horaires-liturgy .horaires-liturgy-shell::before {
  display: none;
}

.section-horaires-liturgy .horaires-liturgy-head {
  padding-left: 0;
  border-bottom: 1px solid #d8cfbd;
  padding-bottom: 0.72rem;
  margin-bottom: 0.9rem;
}

.section-horaires-liturgy .horaires-liturgy-head h2 {
  margin: 0.12rem 0 0.25rem;
  font-size: clamp(1.58rem, 2.45vw, 2.1rem);
  color: #30789c;
}

.section-horaires-liturgy .horaires-liturgy-head p {
  color: #397593;
  font-size: 1rem;
}

.section-horaires-liturgy .horaires-liturgy-grid {
  gap: 0.8rem;
}

.section-horaires-liturgy .horaires-liturgy-card {
  border: 1px solid #c9ccb9;
  border-left: 5px solid #217dab;
  border-radius: 0.9rem;
  background: #ffffff;
  box-shadow: 0 6px 14px rgba(55, 118, 149, 0.07);
  padding: 0.9rem 0.95rem;
  transition: none;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.section-horaires-liturgy .horaires-liturgy-card:hover {
  transform: none;
  border-color: #aeb6a8;
  box-shadow: 0 8px 16px rgba(55, 118, 149, 0.08);
}

.section-horaires-liturgy .horaires-liturgy-card.is-messe,
.section-horaires-liturgy .horaires-liturgy-card.is-adoration,
.section-horaires-liturgy .horaires-liturgy-card.is-prayer {
  background: #ffffff;
}

.section-horaires-liturgy .horaires-liturgy-card.is-messe {
  border-left-color: #b68a44;
}

.section-horaires-liturgy .horaires-liturgy-card.is-adoration {
  border-left-color: #217dab;
}

.section-horaires-liturgy .horaires-liturgy-card.is-prayer {
  border-left-color: #3d7d9d;
}

.section-horaires-liturgy .horaires-liturgy-label {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  color: #217dab;
}

.section-horaires-liturgy .horaires-liturgy-card h3 {
  margin: 0.24rem 0 0.2rem;
  font-size: clamp(1.32rem, 2.05vw, 1.74rem);
  color: #397593;
}

.section-horaires-liturgy .horaires-liturgy-place {
  color: #397593;
  font-size: 1.02rem;
}

.section-horaires-liturgy .horaires-liturgy-note {
  margin-top: 0.26rem;
  color: #254c60;
}

.section-horaires-liturgy .horaires-liturgy-times span {
  border: 1px solid #69a6c4;
  background: #f4f8fa;
  color: #277ba5;
  font-weight: 800;
  font-size: 0.96rem;
  min-height: 2.05rem;
}

.section-horaires-liturgy .horaires-liturgy-list li {
  border: 1px solid #c6dae4;
  background: #fafbfc;
  width: 100%;
  margin-inline: 0;
}

.section-horaires-liturgy .horaires-liturgy-list {
  width: 100% !important;
  margin: 0.55rem 0 0 !important;
  padding-left: 0 !important;
  list-style: none !important;
  justify-items: stretch !important;
}

.section-horaires-liturgy .horaires-liturgy-list-entries {
  display: grid !important;
  gap: 0.55rem !important;
}

.section-horaires-liturgy .horaires-liturgy-label {
  margin-left: 0 !important;
  padding-left: 0 !important;
}

.section-horaires-liturgy .horaires-liturgy-list strong {
  font-size: 1.01rem;
  color: #32779a;
}

.section-horaires-liturgy .horaires-liturgy-list span {
  margin-top: 0.2rem;
  color: #1f3e4e;
  font-size: 0.98rem;
}

.horaires-table-wrap {
  margin-top: 1rem;
}

.horaires-table-wrap .table {
  min-width: 1140px;
  border-color: #adcad9;
  background: #f5f8fa;
}

.horaires-table-wrap .table th {
  background: #dae7ee;
  color: #367696;
  border-bottom-color: #adcad9;
}

.horaires-table-wrap .table td {
  border-bottom-color: #cedfe8;
}

.horaires-table-wrap .table tbody tr:nth-child(even) td {
  background: #edf4f7;
}

.horaires-flow-shell {
  margin-top: 0.55rem;
  border-color: rgba(40, 123, 164, 0.24);
  background:
    radial-gradient(circle at 9% 8%, rgba(40, 123, 164, 0.13), transparent 34%),
    radial-gradient(circle at 94% 90%, rgba(182, 138, 68, 0.14), transparent 32%),
    linear-gradient(160deg, rgba(255, 254, 249, 0.97), rgba(245, 238, 224, 0.93));
  padding: 0.66rem;
  overflow: hidden;
}

.horaires-events-shell {
  border-color: rgba(182, 138, 68, 0.35);
  background:
    radial-gradient(circle at 8% 10%, rgba(182, 138, 68, 0.12), transparent 36%),
    radial-gradient(circle at 92% 88%, rgba(40, 123, 164, 0.1), transparent 34%),
    linear-gradient(158deg, rgba(255, 252, 244, 0.97), rgba(247, 239, 223, 0.93));
}

.horaires-flow-shell h2 {
  margin: 0.08rem 0 0.12rem;
  font-size: clamp(1.22rem, 2vw, 1.68rem);
}

.horaires-flow-shell > .small.muted {
  font-size: 0.88rem;
  margin-top: 0.12rem;
}

.horaires-flow-track {
  position: relative;
  margin-top: 0.42rem;
  display: grid;
  gap: 0.42rem;
}

.horaires-flow-track::before {
  content: "";
  position: absolute;
  top: 0.36rem;
  bottom: 0.36rem;
  left: 45px;
  width: 2px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(40, 123, 164, 0.2), rgba(182, 138, 68, 0.28));
  pointer-events: none;
}

.horaires-flow-item {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  align-items: center;
  gap: 0.48rem;
  padding: 0.38rem 0.46rem;
  border: 1px solid rgba(40, 123, 164, 0.2);
  border-radius: 0.72rem;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.95), rgba(252, 248, 240, 0.92));
  box-shadow: 0 4px 10px rgba(31, 28, 24, 0.065);
}

.horaires-flow-item.is-left {
  margin: 0;
}

.horaires-flow-item.is-right {
  margin: 0;
}

.horaires-flow-item.is-center {
  margin: 0;
}

.horaires-flow-item.is-left::after,
.horaires-flow-item.is-right::after {
  display: none;
}

.horaires-flow-content h3 {
  margin: 0 0 0.03rem;
  font-size: clamp(0.98rem, 1.35vw, 1.16rem);
  color: var(--brand-strong);
  line-height: 1.18;
}

.horaires-flow-content p {
  margin: 0.01rem 0 0;
  font-size: 0.88rem;
  line-height: 1.24;
}

.horaires-date-highlight {
  display: inline-block;
  padding: 0.02rem 0.34rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.horaires-date-highlight.is-tone-1 {
  background: rgba(40, 123, 164, 0.12);
  border-color: rgba(40, 123, 164, 0.26);
  color: #257ca7;
}

.horaires-date-highlight.is-tone-2 {
  background: rgba(182, 138, 68, 0.18);
  border-color: rgba(182, 138, 68, 0.34);
  color: #5f4520;
}

.horaires-date-highlight.is-tone-3 {
  background: rgba(112, 132, 150, 0.15);
  border-color: rgba(112, 132, 150, 0.34);
  color: #2b4050;
}

.horaires-date-highlight.is-tone-4 {
  background: rgba(68, 139, 174, 0.16);
  border-color: rgba(68, 139, 174, 0.34);
  color: #397593;
}

.horaires-flow-step {
  margin: 0;
  color: var(--brand);
  font-size: 0.57rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 800;
}

.horaires-watch {
  position: relative;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  margin-inline: auto;
}

.horaires-watch::before,
.horaires-watch::after {
  display: none;
}

.horaires-watch-core {
  position: relative;
  width: 58px;
  height: 58px;
  border-radius: 999px;
  border: 2px solid #b8c0c8;
  background:
    radial-gradient(circle at 30% 26%, #ffffff 0%, #f2f5f8 56%, #e2e7ec 100%);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.68),
    inset 0 -8px 12px rgba(43, 52, 61, 0.16),
    0 7px 12px rgba(22, 28, 34, 0.16);
  overflow: visible;
  z-index: 1;
}

.horaires-watch-core::before {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: 999px;
  background:
    radial-gradient(circle at center, rgba(255, 255, 255, 0.96) 0 63%, transparent 64%),
    repeating-conic-gradient(from -90deg, rgba(24, 33, 42, 0.82) 0 2.1deg, transparent 2.1deg 30deg),
    repeating-conic-gradient(from -90deg, rgba(24, 33, 42, 0.48) 0 0.9deg, transparent 0.9deg 6deg),
    radial-gradient(circle at 30% 22%, #ffffff 0%, #f2f5f8 65%, #e3e8ed 100%);
  pointer-events: none;
}

.horaires-watch-core::after {
  content: "";
  position: absolute;
  right: -4px;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(180deg, #9ea7af, #6d757d);
  box-shadow: 0 0 0 1px rgba(49, 57, 64, 0.46);
  pointer-events: none;
}

.horaires-watch-dial {
  position: absolute;
  inset: 3px;
  border-radius: 999px;
  z-index: 1;
}

.horaires-watch-hand {
  position: absolute;
  left: 50%;
  top: 50%;
  transform-origin: 50% 100%;
  border-radius: 999px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.horaires-watch-hand.is-hour {
  width: 3px;
  height: 13px;
  background: #1b242d;
  transform: translate(-50%, -100%) rotate(var(--watch-hour-angle, 305deg));
}

.horaires-watch-hand.is-minute {
  width: 2px;
  height: 18px;
  background: #27333f;
  transform: translate(-50%, -100%) rotate(var(--watch-minute-angle, 60deg));
}

.horaires-watch-hand.is-second {
  width: 1px;
  height: 20px;
  background: #952c24;
  transform: translate(-50%, -100%) rotate(0deg);
  animation: horaires-watch-second-sweep 12s linear infinite;
}

.horaires-watch-pin {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 5px;
  height: 5px;
  transform: translate(-50%, -50%);
  border-radius: 999px;
  background: radial-gradient(circle at 30% 30%, #d4dae0, #73808d);
  border: 1px solid rgba(31, 40, 49, 0.4);
}

.horaires-watch-time {
  margin: 0;
  position: absolute;
  left: 50%;
  bottom: 7px;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.02em;
  min-height: 0.9em;
  padding: 0.03rem 0.24rem;
  border-radius: 0.45rem;
  border: 1px solid #bcc5cd;
  background: rgba(255, 255, 255, 0.94);
  font-size: 0.72rem;
  line-height: 1.05;
  letter-spacing: 0.02em;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  color: #1f2831;
  box-shadow: 0 2px 5px rgba(38, 46, 56, 0.14);
  z-index: 3;
}

.horaires-watch-digit {
  display: inline-block;
  min-width: 0.42ch;
  animation:
    horaires-watch-digit-drift 2.2s ease-in-out infinite,
    horaires-watch-digit-blink 1.7s ease-in-out infinite;
  animation-delay: calc(var(--digit-index, 0) * 0.12s);
}

.horaires-watch-digit:not(.is-number) {
  min-width: 0.3ch;
  opacity: 0.92;
}

@keyframes horaires-watch-second-sweep {
  from {
    transform: translate(-50%, -100%) rotate(0deg);
  }
  to {
    transform: translate(-50%, -100%) rotate(360deg);
  }
}

@keyframes horaires-watch-digit-drift {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-1px);
  }
}

@keyframes horaires-watch-digit-blink {
  0%,
  45%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.38;
  }
  58% {
    opacity: 0.96;
  }
}

@media (prefers-reduced-motion: reduce) {
  .horaires-watch-hand.is-second,
  .horaires-watch-digit {
    animation: none;
  }
}

.horaires-watch-label {
  margin: 0;
  position: absolute;
  top: 4px;
  left: 50%;
  transform: translateX(-50%);
  padding: 0.01rem 0.14rem;
  border-radius: 999px;
  border: 1px solid rgba(188, 197, 205, 0.7);
  background: rgba(255, 255, 255, 0.82);
  font-size: 0.34rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #4b5762;
  font-weight: 700;
  z-index: 2;
}

.horaires-events-shell .horaires-flow-track {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.44rem;
}

.horaires-events-shell .horaires-flow-track::before {
  display: none;
}

.horaires-events-shell .horaires-flow-content p.small {
  display: none;
}

@media (max-width: 1360px) {
  .horaires-liturgy-grid {
    grid-template-columns: 1fr 1fr;
  }

  .horaires-liturgy-card.is-prayer {
    grid-column: 1 / -1;
  }

  .horaires-events-shell .horaires-flow-track {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 1024px) {
  .contact-direct-grid {
    grid-template-columns: 1fr;
  }

  .bapteme-quick-layout {
    grid-template-columns: 1fr;
  }

  .bapteme-essentials-layout {
    grid-template-columns: 1fr;
  }

  .bapteme-contact-grid {
    grid-template-columns: 1fr;
  }

  .horaires-liturgy-grid {
    grid-template-columns: 1fr;
  }

  .horaires-liturgy-card.is-prayer {
    grid-column: auto;
  }

  .horaires-liturgy-shell::before {
    display: none;
  }

  .horaires-liturgy-head {
    padding-left: 0;
  }

  .horaires-flow-item.is-left,
  .horaires-flow-item.is-right,
  .horaires-flow-item.is-center {
    margin-inline: 0;
  }

  .horaires-flow-track::before {
    left: 45px;
  }

  .horaires-flow-item {
    grid-template-columns: 74px 1fr;
  }

  .horaires-flow-item.is-left::after,
  .horaires-flow-item.is-right::after {
    display: none;
  }

  .horaires-watch {
    width: 56px;
    height: 56px;
  }

  .horaires-watch-core {
    width: 56px;
    height: 56px;
    border-radius: 999px;
  }

  .horaires-watch-time {
    font-size: 0.68rem;
  }

  .horaires-events-shell .horaires-flow-track {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-horaires-edit-columns {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .horaires-events-shell .horaires-flow-track {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .horaires-flow-shell {
    padding: 0.82rem;
  }

  .horaires-flow-track::before {
    display: none;
  }

  .horaires-flow-item {
    grid-template-columns: 1fr;
    gap: 0.36rem;
    border-radius: 1rem;
  }

  .horaires-watch {
    margin-inline: 0 auto;
    width: 52px;
    height: 52px;
  }

  .horaires-watch-core {
    width: 52px;
    height: 52px;
  }

  .horaires-watch-time {
    font-size: 0.62rem;
  }
}

.obseques-wide-container {
  width: min(var(--layout-unified-width), calc(100% - 2rem));
}

.obseques-form-card .form-grid.cols-2 {
  grid-template-columns: 1fr;
}

.sacrement-wide-container {
  width: min(var(--layout-unified-width), calc(100% - 2rem));
}

.sacrement-stack {
  display: grid;
  gap: 1rem;
}

.sacrement-subnav-section {
  padding-top: 0.55rem;
  padding-bottom: 0.22rem;
}

.section-bapteme-meaning {
  padding-top: 0.3rem;
  padding-bottom: 0.9rem;
}

.page-hero + .sacrement-subnav-section {
  padding-top: 0.32rem;
}

.section-sacrement-details {
  padding-top: 0.95rem;
  padding-bottom: 1.35rem;
}

.section-bapteme-meaning .section-head {
  margin-bottom: 0.45rem;
}

.section-bapteme-meaning .section-head h2 {
  margin-top: 0.16rem;
}

.sacrement-intro-card {
  border-color: rgba(40, 123, 164, 0.34);
  border-radius: 1.25rem;
  background:
    radial-gradient(circle at 93% 7%, rgba(40, 123, 164, 0.15), transparent 34%),
    radial-gradient(circle at 8% 92%, rgba(182, 138, 68, 0.16), transparent 40%),
    linear-gradient(160deg, rgba(255, 253, 247, 0.98), rgba(246, 239, 225, 0.94));
}

.sacrement-intro-card h2 {
  margin: 0.2rem 0 0.45rem;
}

.sacrement-essentials-card {
  border-color: rgba(182, 138, 68, 0.36);
  background:
    linear-gradient(155deg, rgba(255, 252, 244, 0.97), rgba(247, 239, 222, 0.93));
  padding: 0.9rem 0.95rem;
}

.sacrement-essentials-card.confirmation-guide {
  gap: 0.42rem;
}

.sacrement-essentials-card h3 {
  margin-bottom: 0.08rem;
}

.sacrement-essentials-card h4 {
  margin-bottom: 0.12rem;
}

.sacrement-essentials-card p {
  margin-top: 0.16rem;
  line-height: 1.44;
}

.sacrement-essentials-card ul,
.sacrement-essentials-card ol {
  margin-top: 0.08rem;
  padding-left: 1.05rem;
}

.sacrement-essentials-card li {
  margin: 0.16rem 0;
  line-height: 1.36;
}

.sacrement-essentials-card .confirmation-divider {
  margin: 0.06rem 0 0.1rem;
}

.sacrement-page .sacrement-subnav-section {
  padding-top: 0.32rem !important;
  padding-bottom: 0.32rem !important;
}

.sacrement-page .section-bapteme-meaning {
  padding-top: 0.46rem !important;
  padding-bottom: 0.62rem !important;
}

.sacrement-page .section-sacrement-details {
  padding-top: 0.62rem !important;
  padding-bottom: 1.05rem !important;
}

.sacrement-page .section-bapteme-meaning .section-head {
  margin-bottom: 0.28rem !important;
  margin-left: 1.05rem;
  margin-right: auto;
}

.sacrement-page .section-bapteme-meaning .section-head h2 {
  margin-top: 0.1rem !important;
}

.sacrement-page .section-sacrement-details .sacrement-essentials-card {
  padding: 0.78rem 0.86rem !important;
}

.sacrement-page .section-sacrement-details .sacrement-essentials-card.confirmation-guide {
  gap: 0.24rem !important;
}

.sacrement-page .section-sacrement-details .sacrement-essentials-card h3 {
  margin: 0 0 0.04rem !important;
}

.sacrement-page .section-sacrement-details .sacrement-essentials-card h4 {
  margin: 0 0 0.04rem !important;
}

.sacrement-page .section-sacrement-details .sacrement-essentials-card p {
  margin: 0.05rem 0 0 !important;
  line-height: 1.33 !important;
}

.sacrement-page .section-sacrement-details .sacrement-essentials-card ul,
.sacrement-page .section-sacrement-details .sacrement-essentials-card ol {
  margin: 0.04rem 0 0 !important;
  padding-left: 1.02rem !important;
}

.sacrement-page .section-sacrement-details .sacrement-essentials-card li {
  margin: 0.09rem 0 !important;
  line-height: 1.3 !important;
}

.sacrement-page .section-sacrement-details .sacrement-essentials-card .confirmation-divider {
  margin: 0 !important;
}

.sacrement-page .section-sacrement-details .bapteme-essentials-layout {
  align-items: stretch !important;
}

.sacrement-page .section-sacrement-details .bapteme-essentials-layout > .card {
  height: 100%;
}

.sacrement-page .section-sacrement-details .bapteme-contact-side {
  height: 100% !important;
  display: flex;
  flex-direction: column;
}

.sacrement-page .sacrement-wide-container {
  padding-inline: 1.05rem;
}

.sacrements-page .sacrements-head {
  max-width: 92ch;
  padding-left: 1.05rem;
}

.sacrements-page .sacrements-head p {
  margin-right: auto;
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
}

@media (max-width: 768px) {
  .sacrements-page .sacrements-head {
    padding-left: 0.45rem;
  }
}

.sacrements-page main :where(p, li) {
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
}

.sacrements-page .page-hero + .section {
  padding-top: 0.46rem;
}

@media (max-width: 768px) {
  .sacrements-page .page-hero + .section {
    padding-top: 0.36rem;
  }
}

@media (max-width: 768px) {
  .sacrement-page .sacrement-wide-container {
    padding-inline: 0.45rem;
  }

  .sacrement-page .section-bapteme-meaning .section-head {
    margin-left: 1.05rem;
  }
}

.obseques-page main :where(p, li) {
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
}

.obseques-page .section-bapteme-meaning .section-head,
.obseques-page .section-bapteme-meaning .bapteme-meaning-single {
  margin-left: 1.05rem;
  margin-right: auto;
}

.obseques-page .section-sacrement-details .obseques-contact-only {
  max-width: 700px;
  margin-left: 1.05rem;
  margin-right: auto;
}

.obseques-page .section-sacrement-details .bapteme-contact-highlight {
  padding: 0.72rem 0.76rem;
}

.obseques-page .section-sacrement-details .bapteme-contact-grid {
  margin-top: 0.48rem;
  gap: 0.42rem;
}

.obseques-page .section-sacrement-details .bapteme-contact-item {
  padding: 0.56rem 0.64rem;
}

@media (max-width: 768px) {
  .obseques-page .section-bapteme-meaning .section-head,
  .obseques-page .section-bapteme-meaning .bapteme-meaning-single,
  .obseques-page .section-sacrement-details .obseques-contact-only {
    margin-left: 0.45rem;
  }

  .obseques-page .section-sacrement-details .obseques-contact-only {
    max-width: none;
  }
}

.sacrement-form-card {
  border-color: rgba(40, 123, 164, 0.32);
  background:
    linear-gradient(160deg, rgba(245, 249, 251, 0.97), rgba(231, 240, 244, 0.93));
}

.sacrement-form-card .form-grid.cols-2 {
  grid-template-columns: 1fr;
}

.contact-direct-card {
  border-color: rgba(40, 123, 164, 0.4);
  border-left: 6px solid rgba(182, 138, 68, 0.86);
  background:
    radial-gradient(circle at 95% 10%, rgba(40, 123, 164, 0.16), transparent 35%),
    linear-gradient(158deg, rgba(255, 253, 247, 0.99), rgba(243, 236, 218, 0.96));
}

.contact-direct-card h3 {
  margin: 0.12rem 0 0.38rem;
}

.contact-direct-card p {
  margin: 0.32rem 0 0;
  text-align: left;
}

.contact-direct-card-strong {
  border-width: 2px;
  border-color: rgba(182, 138, 68, 0.7);
  border-left-width: 6px;
  border-left-color: rgba(40, 123, 164, 0.94);
  border-radius: 1rem;
  background:
    radial-gradient(circle at 8% 8%, rgba(182, 138, 68, 0.2), transparent 35%),
    linear-gradient(160deg, rgba(255, 254, 249, 0.99), rgba(246, 240, 226, 0.97));
  box-shadow: 0 15px 28px rgba(57, 117, 147, 0.14);
  padding: 1.18rem 1.18rem 1.05rem;
}

.contact-direct-card-strong h3 {
  margin: 0.08rem 0 0.3rem;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  color: #257ca7;
}

.contact-direct-card-strong .kicker {
  font-size: 0.81rem;
  letter-spacing: 0.12em;
  color: #257ca7;
}

.contact-direct-lead {
  margin: 0.06rem 0 0;
  font-size: 1.03rem;
  line-height: 1.42;
  color: #397593;
  text-align: left;
  max-width: 72ch;
  border: 1px solid rgba(40, 123, 164, 0.2);
  border-left: 4px solid rgba(182, 138, 68, 0.86);
  border-radius: 0.7rem;
  background: rgba(255, 255, 255, 0.82);
  padding: 0.52rem 0.7rem;
}

.contact-direct-grid {
  margin-top: 0.78rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.72rem;
}

.contact-direct-item {
  border: 1px solid rgba(40, 123, 164, 0.3);
  border-radius: 0.82rem;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 6px 14px rgba(57, 117, 147, 0.08);
  padding: 0.68rem 0.78rem;
}

.contact-direct-item span {
  display: block;
  margin: 0;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #287ba4;
  font-weight: 800;
  text-align: left;
}

.contact-direct-item a,
.contact-direct-item strong {
  display: block;
  margin-top: 0.22rem;
  color: #2d799f;
  font-size: 1.12rem;
  line-height: 1.3;
  font-weight: 800;
  text-align: left;
}

.contact-direct-item a {
  text-decoration-thickness: 2px;
  text-underline-offset: 2px;
}

.contact-direct-item-phone a {
  font-size: 1.36rem;
  letter-spacing: 0.01em;
}

.contact-direct-item-email a {
  font-size: 1.14rem;
  word-break: break-word;
}

.contact-direct-item-procedure {
  grid-column: 1 / -1;
  border-style: dashed;
  border-color: rgba(182, 138, 68, 0.7);
  background: rgba(255, 249, 236, 0.96);
}

.contact-direct-item-procedure strong {
  font-size: 1.04rem;
  color: #397593;
}

.bapteme-contact-highlight {
  border: 2px solid rgba(182, 138, 68, 0.55);
  border-radius: 1.05rem;
  background:
    radial-gradient(circle at 8% 8%, rgba(182, 138, 68, 0.2), transparent 34%),
    radial-gradient(circle at 92% 90%, rgba(40, 123, 164, 0.12), transparent 35%),
    linear-gradient(155deg, rgba(255, 253, 246, 0.98), rgba(246, 239, 221, 0.95));
  box-shadow: 0 14px 28px rgba(57, 117, 147, 0.12);
}

.bapteme-essentials-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.92fr);
  gap: 1rem;
  align-items: start;
}

.bapteme-contact-side {
  height: fit-content;
}

.bapteme-contact-side .bapteme-contact-grid {
  grid-template-columns: 1fr;
  gap: 0.52rem;
}

.bapteme-contact-side .bapteme-contact-item strong {
  font-size: 1.06rem;
}

.obseques-contact-only {
  grid-template-columns: minmax(0, 1fr);
}

.bapteme-contact-highlight h3 {
  margin: 0.16rem 0 0.22rem;
  font-size: clamp(1.55rem, 2.6vw, 2.2rem);
  color: #277ba5;
}

.bapteme-contact-intro {
  margin: 0;
  color: #1f3f4f;
  font-weight: 600;
  text-align: left;
}

.bapteme-contact-grid {
  margin-top: 0.75rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.6rem;
}

.bapteme-contact-item {
  border: 1px solid rgba(40, 123, 164, 0.26);
  border-radius: 0.8rem;
  background: rgba(255, 255, 255, 0.82);
  padding: 0.62rem 0.72rem;
}

.bapteme-contact-item span {
  display: block;
  margin: 0;
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #326782;
  font-weight: 800;
  text-align: left;
}

.bapteme-contact-item strong {
  display: block;
  margin-top: 0.18rem;
  color: #367696;
  font-size: 1.02rem;
  text-align: left;
}

.table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid var(--line);
  border-radius: 0.7rem;
  overflow: hidden;
  background: var(--bg-panel);
}

.table th,
.table td {
  text-align: left;
  padding: 0.72rem 0.82rem;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.table th {
  background: #efe6d6;
  font-size: 0.84rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.table tr:last-child td {
  border-bottom: none;
}

.map-frame {
  width: 100%;
  height: 340px;
  border: 0;
  border-radius: 0.9rem;
}

.form-grid {
  display: grid;
  gap: 0.75rem;
}

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

.field {
  display: grid;
  gap: 0.25rem;
}

.field label {
  font-size: 0.86rem;
  font-weight: 700;
  color: #36322c;
}

.field input,
.field select,
.field textarea {
  font: inherit;
  border: 1px solid #c8beac;
  border-radius: 0.65rem;
  background: #fffcf5;
  padding: 0.62rem 0.7rem;
  width: 100%;
  max-width: 100%;
}

.field select {
  -webkit-appearance: none;
  appearance: none;
  padding-right: 2.25rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1.4 1.6 6 6.2l4.6-4.6' fill='none' stroke='%23332f28' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: 0.78rem;
  background-position: right 0.78rem center;
  overflow: hidden;
  text-overflow: ellipsis;
}

.field select::-ms-expand {
  display: none;
}

.field textarea {
  min-height: 120px;
  resize: vertical;
}

.form-note {
  margin-top: 0.72rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.form-result {
  margin-top: 0.7rem;
  font-weight: 600;
  color: var(--brand-strong);
}

.required-note {
  margin: 0;
  font-size: 0.88rem;
  color: var(--muted);
}

.bapteme-quick-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(290px, 0.85fr);
  gap: 1rem;
  align-items: start;
}

.bapteme-quick-card {
  border-color: rgba(182, 138, 68, 0.5);
  background:
    linear-gradient(158deg, rgba(255, 248, 236, 0.98), rgba(255, 238, 216, 0.94));
}

.bapteme-quick-card h3 {
  margin: 0.1rem 0 0.38rem;
}

.bapteme-quick-list {
  margin: 0;
  padding-left: 1.05rem;
  display: grid;
  gap: 0.48rem;
}

.bapteme-quick-list li {
  margin: 0;
  text-align: left;
}

.bapteme-verse-card {
  border-color: rgba(40, 123, 164, 0.34);
  background:
    radial-gradient(circle at 90% 10%, rgba(40, 123, 164, 0.14), transparent 38%),
    linear-gradient(160deg, rgba(248, 251, 252, 0.97), rgba(233, 241, 245, 0.93));
}

.scripture-quote-spotlight {
  margin-top: 0.55rem;
  border-left-color: rgba(40, 123, 164, 0.68);
  background: rgba(255, 255, 255, 0.9);
}

.scripture-quote-spotlight p {
  font-size: 1.24rem;
}

.bapteme-details-fold {
  margin-top: 0.85rem;
  border: 1px solid rgba(40, 123, 164, 0.26);
  background:
    linear-gradient(155deg, rgba(255, 253, 247, 0.95), rgba(246, 239, 224, 0.92));
}

.bapteme-details-fold summary {
  cursor: pointer;
  list-style: none;
  font-weight: 800;
  color: #287ba4;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  text-align: left;
}

.bapteme-details-fold summary::-webkit-details-marker {
  display: none;
}

.bapteme-details-fold summary::after {
  content: "+";
  width: 1.4rem;
  height: 1.4rem;
  border-radius: 999px;
  border: 1px solid rgba(40, 123, 164, 0.35);
  display: inline-grid;
  place-items: center;
  color: #287ba4;
  background: rgba(255, 255, 255, 0.8);
  flex-shrink: 0;
}

.bapteme-details-fold[open] summary::after {
  content: "-";
}

.bapteme-details-content {
  margin-top: 0.72rem;
  display: grid;
  gap: 0.58rem;
}

.bapteme-details-content p {
  margin: 0;
  text-align: left;
}

.bapteme-meaning {
  display: grid;
  gap: 0.46rem;
}

.bapteme-meaning-single {
  border-color: rgba(182, 138, 68, 0.55);
  background:
    linear-gradient(158deg, rgba(255, 247, 237, 0.98), rgba(255, 238, 217, 0.94));
  box-shadow: 0 14px 30px rgba(89, 61, 30, 0.14);
}

.bapteme-meaning-single h3 {
  margin: 0.08rem 0 0.2rem;
}

.bapteme-meaning-single p {
  margin: 0;
  line-height: 1.44;
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
}

.poetic-lead {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.36rem;
  line-height: 1.34;
  color: #5b3f1f;
}

.bapteme-meaning-single .scripture-quote {
  border-left-color: rgba(182, 138, 68, 0.72);
  background: rgba(255, 252, 246, 0.88);
}

.bapteme-meaning-enfant {
  border-color: rgba(182, 138, 68, 0.38);
  background:
    linear-gradient(158deg, rgba(255, 251, 243, 0.95), rgba(250, 241, 223, 0.9));
}

.bapteme-meaning-adulte {
  border-color: rgba(40, 123, 164, 0.3);
  background:
    linear-gradient(158deg, rgba(243, 248, 251, 0.96), rgba(231, 241, 246, 0.91));
}

.scripture-quote {
  margin: 0;
  border-left: 4px solid rgba(40, 123, 164, 0.45);
  background: rgba(255, 255, 255, 0.7);
  border-radius: 0.65rem;
  padding: 0.72rem 0.82rem;
}

.scripture-quote p {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.18rem;
  line-height: 1.25;
}

.scripture-quote cite {
  margin-top: 0.3rem;
  display: block;
  font-style: normal;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 700;
}

.field input[type="file"] {
  border-style: dashed;
  background: #fffaf0;
}

.field input[type="checkbox"] {
  width: auto;
  accent-color: var(--brand);
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  align-items: center;
}

.admin-note {
  margin-top: 0.85rem;
}

.admin-edit-table .admin-input {
  width: 100%;
  border: 1px solid #c8beac;
  border-radius: 0.58rem;
  background: #fffcf5;
  padding: 0.5rem 0.58rem;
  font: inherit;
}

.admin-edit-table td {
  min-width: 160px;
}

.cure-page-wide,
.cure-admin-wide {
  width: min(var(--layout-unified-width), calc(100% - 2rem));
}

[data-cure-admin-panel] .card {
  border-color: rgba(40, 123, 164, 0.24);
  box-shadow: 0 14px 30px rgba(56, 117, 148, 0.1);
}

#gestion-vie-paroissiale {
  background:
    radial-gradient(circle at 93% 6%, rgba(40, 123, 164, 0.1), transparent 36%),
    linear-gradient(158deg, rgba(255, 255, 252, 0.98), rgba(245, 239, 228, 0.95));
}

.admin-horaires-inline-editor {
  margin-top: 0.85rem;
  scroll-margin-top: 92px;
}

.admin-horaires-editor-actions {
  margin-top: 0.25rem;
}

.admin-horaires-edit-form {
  padding: 0 1rem 1rem;
}

.admin-horaires-sheet {
  position: relative;
  inset: auto;
  z-index: auto;
  display: block;
  margin-top: 0.85rem;
  padding: 0;
  scroll-margin-top: 92px;
}

.admin-horaires-sheet[hidden] {
  display: none !important;
}

.admin-horaires-backdrop {
  display: none;
}

.admin-horaires-panel {
  position: relative;
  width: min(1560px, calc(100vw - 0.6rem));
  max-width: 100%;
  max-height: none;
  margin: 0 auto;
  border: 1px solid rgba(40, 123, 164, 0.24);
  border-radius: 1rem;
  background: linear-gradient(160deg, rgba(255, 254, 251, 0.99), rgba(246, 239, 227, 0.96));
  box-shadow: 0 18px 34px rgba(57, 117, 147, 0.12);
  padding: 1rem;
  overflow: visible;
}

.admin-horaires-panel .admin-horaires-edit-form {
  padding: 0;
  gap: 0.95rem;
}

.admin-horaires-edit-columns {
  margin-top: 0.5rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.9rem;
}

.admin-horaires-edit-card {
  margin: 0;
  border: 1px solid rgba(40, 123, 164, 0.22);
  border-radius: 0.9rem;
  background: rgba(255, 255, 255, 0.88);
  padding: 0.78rem;
}

.admin-horaires-card-head {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.6rem;
  align-items: center;
}

.admin-horaires-card-title-input {
  width: 100%;
  border: 1px solid rgba(40, 123, 164, 0.26);
  border-radius: 0.6rem;
  background: rgba(255, 255, 255, 0.92);
  padding: 0.52rem 0.65rem;
  font: inherit;
  font-weight: 700;
}

.admin-horaires-table-head {
  margin-top: 0.62rem;
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1.2fr auto;
  gap: 0.46rem;
  padding: 0 0.1rem;
}

.admin-horaires-table-head span {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #3c7b9b;
}

.admin-horaires-table-head span:last-child {
  text-align: center;
}

.admin-horaires-edit-list {
  margin-top: 0.55rem;
}

.admin-horaires-row-line {
  position: relative;
}

.admin-horaires-row-line .admin-horaires-row-input,
.admin-horaires-row-line .admin-horaires-row-textarea {
  display: block;
  width: 100%;
  border: 2px dashed rgba(40, 123, 164, 0.3);
  border-radius: 0.62rem;
  background: rgba(255, 252, 246, 0.96);
  box-shadow: 0 6px 16px rgba(40, 123, 164, 0.06);
  padding: 0.34rem 0.52rem;
  font: inherit;
  line-height: inherit;
  color: #397593;
  transition:
    border-color 0.18s ease,
    box-shadow 0.18s ease,
    background-color 0.18s ease,
    transform 0.18s ease;
}

.admin-horaires-row-line .admin-horaires-row-textarea {
  display: block;
  min-height: 2.7rem;
  resize: none;
  overflow: hidden;
}

.admin-horaires-row-line .admin-horaires-row-input::placeholder,
.admin-horaires-row-line .admin-horaires-row-textarea::placeholder {
  color: #4f96ba;
}

.admin-horaires-row-line .admin-horaires-row-input:hover,
.admin-horaires-row-line .admin-horaires-row-textarea:hover,
.admin-horaires-row-line .admin-horaires-row-input:focus,
.admin-horaires-row-line .admin-horaires-row-textarea:focus {
  outline: none;
  border-color: rgba(40, 123, 164, 0.58);
  background: #ffffff;
  box-shadow:
    0 0 0 3px rgba(40, 123, 164, 0.12),
    0 10px 18px rgba(40, 123, 164, 0.1);
  transform: translateY(-1px);
}

.admin-horaires-card-foot {
  margin-top: 0.72rem;
  display: flex;
  justify-content: flex-end;
}

.admin-horaires-row-tools {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.28rem;
  margin-top: 0.52rem;
  padding-top: 0.52rem;
  border-top: 1px dashed rgba(40, 123, 164, 0.18);
}

.admin-horaires-mini-btn {
  min-width: 2.2rem;
  height: 2.2rem;
  border-radius: 0.68rem;
  border: 1px solid rgba(40, 123, 164, 0.4);
  background: linear-gradient(180deg, rgba(255, 252, 245, 0.98), rgba(242, 235, 220, 0.96));
  color: #287ba4;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 8px 16px rgba(40, 123, 164, 0.1);
  transition:
    border-color 0.18s ease,
    box-shadow 0.18s ease,
    background-color 0.18s ease,
    transform 0.18s ease;
}

.admin-horaires-mini-btn:hover,
.admin-horaires-mini-btn:focus {
  outline: none;
  border-color: rgba(40, 123, 164, 0.62);
  background: linear-gradient(180deg, #ffffff, rgba(244, 239, 227, 0.98));
  box-shadow:
    0 0 0 3px rgba(40, 123, 164, 0.12),
    0 10px 18px rgba(40, 123, 164, 0.12);
  transform: translateY(-1px);
}

.admin-horaires-mini-btn.is-danger {
  border-color: rgba(170, 63, 50, 0.42);
  background: linear-gradient(180deg, rgba(255, 245, 242, 0.98), rgba(252, 226, 221, 0.96));
  color: #9e3427;
}

.admin-horaires-mini-btn[disabled] {
  opacity: 0.52;
  cursor: not-allowed;
  box-shadow: none;
  transform: none;
}

.admin-horaires-add-line {
  white-space: nowrap;
}

@media (max-width: 1180px) {
  .admin-horaires-panel {
    width: min(1480px, calc(100vw - 0.8rem));
  }
}

@media (max-width: 680px) {
  .admin-horaires-add-line {
    width: 100%;
    justify-content: center;
  }

  .admin-horaires-card-foot {
    justify-content: center;
  }
}

.admin-events-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.9rem;
  flex-wrap: wrap;
}

.admin-events-head h3 {
  margin: 0;
}

.admin-events-head-copy {
  min-width: min(620px, 100%);
  flex: 1 1 620px;
}

.admin-events-head-copy .form-note {
  margin-top: 0.28rem;
}

.admin-events-layout {
  margin-top: 0.72rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.8rem;
}

.admin-events-calendar-shell {
  margin: 0;
}

.admin-events-month-heading {
  margin: 0;
  font-size: 1.22rem;
}

.admin-day-panel {
  border-color: rgba(40, 123, 164, 0.28);
  background:
    radial-gradient(circle at 94% 6%, rgba(40, 123, 164, 0.08), transparent 38%),
    linear-gradient(160deg, rgba(255, 254, 250, 0.98), rgba(243, 237, 225, 0.94));
}

.admin-day-panel-head h4 {
  margin: 0;
}

.admin-day-events-list {
  margin-top: 0.52rem;
  display: grid;
  gap: 0.62rem;
}

.admin-day-event-card {
  border: 1px solid rgba(40, 123, 164, 0.2);
  border-radius: 0.78rem;
  background: rgba(255, 255, 255, 0.9);
  padding: 0.72rem;
}

.admin-day-empty {
  border: 1px dashed rgba(40, 123, 164, 0.28);
  border-radius: 0.72rem;
  background: rgba(248, 244, 236, 0.75);
  color: var(--muted);
  padding: 0.76rem;
}

.admin-toast-card {
  position: fixed;
  top: calc(var(--app-topbar-height) + 1.35rem);
  right: clamp(1.1rem, 2.6vw, 2rem);
  z-index: 1200;
  width: min(250px, calc(100vw - 1rem));
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.admin-toast {
  margin: 0;
  border-left: 4px solid transparent;
  border-radius: 0.72rem;
  padding: 0.46rem 0.72rem;
  font-size: 0.88rem;
  line-height: 1.35;
  box-shadow: 0 10px 22px rgba(57, 117, 147, 0.12);
}

.admin-toast-success {
  border-left-color: #247ca8;
  background: rgba(235, 246, 251, 0.9);
  color: #2e799e;
}

.admin-toast-error {
  border-left-color: #9e3c2b;
  background: rgba(255, 239, 236, 0.92);
  color: #6d281d;
}

.admin-day-create-card {
  border: 1px solid rgba(40, 123, 164, 0.22);
  border-radius: 0.78rem;
  background: rgba(255, 255, 255, 0.9);
  padding: 0.58rem 0.66rem;
}

.admin-day-create-card summary {
  cursor: pointer;
  list-style: none;
  font-weight: 700;
  color: var(--brand-strong);
}

.admin-day-create-card summary::-webkit-details-marker {
  display: none;
}

.admin-day-create-card > form {
  margin-top: 0.62rem;
}

.admin-day-existing h5 {
  margin: 0.1rem 0 0.45rem;
  font-size: 1rem;
}

.admin-day-event-compact .admin-event-heading {
  position: static;
  padding-right: 0;
  margin-bottom: 0.34rem;
  align-items: center;
}

.admin-day-event-compact h6 {
  margin: 0;
  font-family: "Manrope", "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.3;
}

.admin-day-event-compact .admin-event-remove {
  position: static;
  top: auto;
  right: auto;
  padding: 0.38rem 0.72rem;
  font-size: 0.8rem;
}

.admin-day-meta,
.admin-day-note {
  margin: 0.18rem 0 0;
  font-size: 0.9rem;
}

.admin-day-meta {
  color: #31647e;
  font-weight: 600;
}

.admin-day-note {
  color: var(--muted);
}

body.admin-sheet-open {
  overflow: hidden;
}

.admin-events-sheet {
  position: relative;
  inset: auto;
  z-index: auto;
  display: block;
  margin-top: 0.85rem;
  padding: 0;
  scroll-margin-top: 92px;
}

.admin-events-sheet[hidden] {
  display: none !important;
}

.admin-events-backdrop {
  display: none;
}

.admin-events-panel {
  position: relative;
  width: min(1840px, calc(100vw - 1rem));
  max-width: 100%;
  max-height: none;
  margin: 0 auto;
  border: 1px solid rgba(40, 123, 164, 0.24);
  border-radius: 1rem;
  background:
    linear-gradient(160deg, rgba(255, 254, 251, 0.99), rgba(246, 239, 227, 0.96));
  box-shadow: 0 18px 34px rgba(57, 117, 147, 0.12);
  padding: 1rem;
  overflow: visible;
}

.admin-events-modal-header {
  margin-bottom: 0.42rem;
}

.admin-events-modal-header h4 {
  margin: 0;
}

.admin-events-panel .admin-events-card {
  padding: 0;
}

.admin-events-panel .evenements-calendar-card {
  --events-calendar-day-height: clamp(70px, 9.2vh, 104px);
}

.admin-page-editor-sheet {
  position: relative;
  inset: auto;
  z-index: auto;
  display: block;
  margin-top: 0.85rem;
  padding: 0;
  scroll-margin-top: 92px;
}

.admin-page-editor-sheet[hidden] {
  display: none !important;
}

.admin-page-editor-backdrop {
  display: none;
}

.admin-page-editor-panel {
  position: relative;
  width: min(900px, 100%);
  max-width: 100%;
  max-height: none;
  margin: 0 auto;
  border: 1px solid rgba(40, 123, 164, 0.24);
  border-radius: 1rem;
  background: linear-gradient(160deg, rgba(255, 254, 251, 0.99), rgba(246, 239, 227, 0.96));
  box-shadow: 0 18px 34px rgba(57, 117, 147, 0.12);
  padding: 1rem;
  overflow: visible;
}

.admin-page-editor-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  margin-bottom: 0.62rem;
}

.admin-page-editor-header h4 {
  margin: 0;
}

.admin-page-editor-fields {
  display: grid;
  gap: 0.7rem;
}

/* Reduce line spacing in cure-editor textareas across all editable sections. */
.admin-page-editor-fields textarea {
  line-height: 1.22 !important;
}

.admin-page-editor-panel.is-home-editor {
  width: min(1880px, calc(100vw - 0.35rem));
  max-height: none;
}

.admin-page-editor-panel.is-horaires-editor {
  width: min(1260px, 100%);
  max-height: none;
}

.admin-page-editor-panel.is-sacrements-editor {
  width: min(1620px, calc(100vw - 0.5rem));
  max-height: none;
}

.admin-page-editor-panel.is-obseques-editor {
  width: min(1480px, calc(100vw - 1rem));
  max-height: none;
}

.admin-page-editor-panel.is-vie-editor {
  width: min(1500px, calc(100vw - 1rem));
  max-height: none;
}

.admin-page-editor-panel.is-location-editor {
  width: min(1660px, calc(100vw - 0.6rem));
  max-height: none;
}

.admin-page-editor-panel.is-dons-editor {
  width: min(1680px, calc(100vw - 0.6rem));
  max-height: none;
}

.admin-page-editor-panel.is-eventday-editor {
  width: min(1760px, calc(100vw - 0.6rem));
  max-height: none;
}

.admin-page-editor-panel.is-actualites-editor {
  width: min(1880px, calc(100vw - 0.45rem));
  max-height: none;
}

.admin-home-inline-shell {
  margin-top: 0.85rem;
  padding: 1rem;
  border: 1px solid rgba(40, 123, 164, 0.18);
  border-radius: 1rem;
  background: linear-gradient(160deg, rgba(255, 254, 251, 0.98), rgba(246, 239, 227, 0.96));
  box-shadow: 0 18px 34px rgba(57, 117, 147, 0.12);
}

.admin-home-inline-form .admin-page-editor-fields {
  gap: 0;
}

.admin-sacrements-editor-preview {
  display: grid;
  gap: 0.9rem;
}

.admin-sacrements-main-card,
.admin-sacrements-contact-card {
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: linear-gradient(160deg, rgba(255, 253, 248, 0.95), rgba(248, 243, 232, 0.95));
  box-shadow: 0 10px 20px rgba(34, 41, 34, 0.09);
  padding: 0.85rem 0.95rem;
}

.admin-sacrements-main-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.72rem;
}

.admin-sacrements-main-full {
  grid-column: 1 / -1;
}

.admin-sacrements-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
}

.admin-sacrements-contact-card h5 {
  margin: 0 0 0.55rem;
  font-size: 1.35rem;
  color: #237ca9;
}

.admin-sacrements-field {
  margin-top: 0.55rem;
}

.admin-sacrements-field label {
  display: block;
  margin-bottom: 0.24rem;
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: #2c5a71;
}

.admin-sacrements-field input,
.admin-sacrements-field textarea {
  width: 100%;
  border: 1px solid rgba(40, 123, 164, 0.24);
  border-radius: 0.62rem;
  background: rgba(255, 255, 255, 0.92);
  color: #142832;
  font: inherit;
  padding: 0.52rem 0.66rem;
}

.admin-sacrements-field textarea {
  resize: vertical;
  min-height: 4.4rem;
  line-height: 1.45;
}

.admin-sacrements-editor-preview--exact {
  display: grid;
  gap: 0.8rem;
}

.admin-sacrements-tab-panel[hidden] {
  display: none !important;
}

.admin-sacrements-editor-preview--exact .page-hero,
.admin-sacrements-editor-preview--exact .section-sacrement-details,
.admin-sacrements-editor-preview--exact .sacrement-subnav-section {
  margin: 0;
}

.admin-sacrements-editor-preview--exact .subnav a {
  cursor: pointer;
}

.admin-sacrements-exact-input,
.admin-sacrements-exact-textarea {
  width: 100%;
  border: 1px solid rgba(40, 123, 164, 0.22);
  border-radius: 0.78rem;
  background: rgba(255, 255, 255, 0.9);
  color: inherit;
  font: inherit;
  line-height: inherit;
  box-sizing: border-box;
  transition:
    border-color 0.18s ease,
    box-shadow 0.18s ease,
    background-color 0.18s ease;
}

.admin-sacrements-exact-input:focus,
.admin-sacrements-exact-textarea:focus {
  outline: none;
  border-color: rgba(40, 123, 164, 0.48);
  box-shadow: 0 0 0 3px rgba(40, 123, 164, 0.12);
  background: rgba(255, 255, 255, 0.98);
}

.admin-sacrements-exact-input.is-hero {
  border: none;
  border-bottom: 1px solid rgba(40, 123, 164, 0.18);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  padding: 0;
}

.admin-sacrements-exact-input.is-contact-name {
  border: none;
  border-bottom: 1px solid rgba(40, 123, 164, 0.14);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  padding: 0 0 0.12rem;
}

.admin-sacrements-exact-input.is-contact-item {
  border: none;
  background: transparent;
  box-shadow: none;
  padding: 0;
}

.admin-sacrements-exact-input.is-section-title {
  border: none;
  border-bottom: 1px solid rgba(40, 123, 164, 0.14);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  padding: 0 0 0.08rem;
  font: inherit;
  color: inherit;
}

.admin-sacrements-exact-input.is-hero:focus,
.admin-sacrements-exact-input.is-contact-name:focus,
.admin-sacrements-exact-input.is-contact-item:focus,
.admin-sacrements-exact-input.is-section-title:focus {
  border-color: rgba(40, 123, 164, 0.38);
  box-shadow: none;
}

.admin-sacrements-exact-textarea {
  padding: 0.68rem 0.78rem;
  resize: none;
  overflow: hidden;
}

.admin-sacrements-exact-textarea.is-lead {
  min-height: 7rem;
}

.admin-sacrements-exact-textarea.is-contact-intro {
  min-height: 5.5rem;
  margin-top: 0.2rem;
}

.admin-sacrements-exact-textarea.is-list-source {
  display: none;
}

.admin-sacrements-list-editor {
  margin-top: 0.25rem;
}

.admin-sacrements-editable-list {
  margin: 0.2rem 0 0;
  padding-left: 1.4rem;
}

.admin-sacrements-editable-item + .admin-sacrements-editable-item {
  margin-top: 0.6rem;
}

.admin-sacrements-editable-row {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.admin-sacrements-exact-input.is-list-item {
  flex: 1 1 auto;
  min-width: 0;
  padding: 0.68rem 0.78rem;
}

.admin-sacrements-list-actions {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  flex-shrink: 0;
}

.admin-sacrements-list-action,
.admin-sacrements-list-add {
  border: 1px solid rgba(40, 123, 164, 0.24);
  border-radius: 999px;
  background: rgba(255, 252, 246, 0.96);
  color: #257ca7;
  font: inherit;
  line-height: 1;
  cursor: pointer;
  transition:
    border-color 0.18s ease,
    box-shadow 0.18s ease,
    background-color 0.18s ease,
    color 0.18s ease,
    transform 0.18s ease;
}

.admin-sacrements-list-action {
  min-width: 2rem;
  min-height: 2rem;
  padding: 0.32rem 0.5rem;
}

.admin-sacrements-list-add {
  margin-top: 0.6rem;
  padding: 0.5rem 0.95rem;
  line-height: 1.2;
}

.admin-sacrements-list-action:hover,
.admin-sacrements-list-action:focus,
.admin-sacrements-list-add:hover,
.admin-sacrements-list-add:focus {
  outline: none;
  border-color: rgba(40, 123, 164, 0.42);
  background: rgba(255, 255, 255, 1);
  box-shadow: 0 0 0 3px rgba(40, 123, 164, 0.12);
  transform: translateY(-1px);
}

.admin-sacrements-list-action.is-danger {
  color: #9b3f35;
}

.admin-sacrements-list-action[disabled] {
  opacity: 0.38;
  cursor: default;
  box-shadow: none;
  transform: none;
}

@media (max-width: 760px) {
  .admin-sacrements-editable-row {
    align-items: stretch;
    flex-direction: column;
  }

  .admin-sacrements-list-actions {
    justify-content: flex-end;
  }
}

.admin-sacrements-editor-preview--exact .bapteme-contact-item strong {
  display: block;
}

.admin-sacrements-editor-preview--exact .bapteme-contact-item strong .admin-sacrements-exact-input {
  font-weight: 800;
}

.admin-obseques-editor-preview {
  display: grid;
  gap: 0.9rem;
}

.admin-obseques-main-card,
.admin-obseques-contact-card {
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: linear-gradient(160deg, rgba(255, 253, 248, 0.95), rgba(248, 243, 232, 0.95));
  box-shadow: 0 10px 20px rgba(34, 41, 34, 0.09);
  padding: 0.85rem 0.95rem;
}

.admin-obseques-field {
  margin-top: 0.55rem;
}

.admin-obseques-field label {
  display: block;
  margin-bottom: 0.24rem;
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: #2c5a71;
}

.admin-obseques-field input,
.admin-obseques-field textarea {
  width: 100%;
  border: 1px solid rgba(40, 123, 164, 0.24);
  border-radius: 0.62rem;
  background: rgba(255, 255, 255, 0.92);
  color: #142832;
  font: inherit;
  padding: 0.52rem 0.66rem;
}

.admin-obseques-field textarea {
  resize: vertical;
  min-height: 4.6rem;
  line-height: 1.45;
}

.admin-vie-editor-preview {
  display: grid;
  gap: 0.9rem;
}

.admin-vie-editor-preview--exact {
  display: block;
}

.admin-vie-main-card,
.admin-vie-group-card {
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: linear-gradient(160deg, rgba(255, 253, 248, 0.95), rgba(248, 243, 232, 0.95));
  box-shadow: 0 10px 20px rgba(34, 41, 34, 0.09);
  padding: 0.85rem 0.95rem;
}

.admin-vie-groups-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
}

.admin-vie-group-card h5 {
  margin: 0 0 0.55rem;
  font-size: 1.25rem;
  color: #237ca9;
}

.admin-vie-field {
  margin-top: 0.55rem;
}

.admin-vie-field label {
  display: block;
  margin-bottom: 0.24rem;
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: #2c5a71;
}

.admin-vie-field input,
.admin-vie-field textarea {
  width: 100%;
  border: 1px solid rgba(40, 123, 164, 0.24);
  border-radius: 0.62rem;
  background: rgba(255, 255, 255, 0.92);
  color: #142832;
  font: inherit;
  padding: 0.52rem 0.66rem;
}

.admin-vie-field textarea {
  resize: vertical;
  min-height: 4.8rem;
  line-height: 1.45;
}

.admin-vie-editor-preview--exact .vie-container {
  width: min(var(--layout-unified-width), calc(100% - 0.4rem));
  margin-inline: auto;
}

.admin-vie-editor-control {
  width: 100%;
  box-sizing: border-box;
  font: inherit;
}

.admin-vie-editor-preview--exact .admin-vie-editor-control--hero,
.admin-vie-editor-preview--exact .admin-vie-editor-control--section {
  border: 0;
  border-radius: 0.42rem;
  background: transparent;
  box-shadow: none;
  padding: 0;
  min-height: 0;
  color: inherit;
}

.admin-vie-editor-preview--exact .admin-vie-editor-control--hero:focus,
.admin-vie-editor-preview--exact .admin-vie-editor-control--section:focus {
  outline: none;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 0 0 2px rgba(40, 123, 164, 0.14);
}

.admin-vie-main-card--exact {
  margin: 0;
  border-color: rgba(40, 123, 164, 0.3);
  border-radius: 1.35rem 0.95rem 1.4rem 1rem;
  background:
    radial-gradient(circle at 95% 5%, rgba(40, 123, 164, 0.17), transparent 34%),
    radial-gradient(circle at 8% 90%, rgba(182, 138, 68, 0.14), transparent 38%),
    linear-gradient(155deg, rgba(255, 254, 249, 0.97), rgba(244, 237, 223, 0.94));
  box-shadow: 0 8px 20px rgba(52, 49, 43, 0.07);
  padding: 1.05rem;
}

.admin-vie-subnav-editor {
  align-items: center;
}

.admin-vie-subnav-item {
  display: inline-flex;
}

.admin-vie-chip-control {
  width: clamp(140px, 16vw, 240px);
  max-width: 100%;
  border: 1px solid rgba(40, 123, 164, 0.24);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(250, 247, 239, 0.96), rgba(242, 235, 221, 0.92));
  padding: 0.35rem 0.65rem;
  font: inherit;
  font-size: 0.87rem;
  font-weight: 600;
  color: #397593;
  transition:
    border-color 0.18s ease,
    background 0.18s ease,
    color 0.18s ease,
    box-shadow 0.18s ease,
    transform 0.18s ease;
}

.admin-vie-chip-control:hover,
.admin-vie-chip-control:focus {
  outline: none;
  border-color: var(--ui-hover-border);
  background: linear-gradient(145deg, var(--ui-hover-bg-soft), var(--ui-hover-bg));
  color: var(--ui-hover-text);
  box-shadow: var(--ui-hover-shadow);
  transform: translateY(-1px);
}

.admin-vie-subnav-item.is-active .admin-vie-chip-control {
  border-color: rgba(40, 123, 164, 0.52);
  background: linear-gradient(180deg, rgba(219, 233, 240, 0.98), rgba(206, 223, 232, 0.95));
  color: #247ca8;
  font-weight: 700;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.5);
}

.admin-vie-detail-panels {
  margin-top: 0.95rem;
}

.admin-vie-detail-panel[hidden] {
  display: none !important;
}

.admin-vie-category-card {
  margin: 0;
}

.admin-vie-detail-control {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid rgba(40, 123, 164, 0.22);
  border-radius: 0.78rem;
  background: rgba(255, 255, 255, 0.9);
  color: inherit;
  font: inherit;
  line-height: 1.55;
  padding: 0.68rem 0.78rem;
  resize: none;
  overflow: hidden;
  transition:
    border-color 0.18s ease,
    box-shadow 0.18s ease,
    background-color 0.18s ease;
}

.admin-vie-detail-control:focus {
  outline: none;
  border-color: rgba(40, 123, 164, 0.42);
  box-shadow: 0 0 0 3px rgba(40, 123, 164, 0.12);
  background: rgba(255, 255, 255, 0.98);
}

.admin-vie-detail-control.is-description {
  min-height: 5.9rem;
  margin-top: 0.25rem;
}

.admin-vie-inline-field {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: 0.55rem;
}

.admin-vie-inline-field + .admin-vie-inline-field {
  margin-top: 0.65rem;
  padding-top: 0.65rem;
  border-top: 1px solid rgba(40, 123, 164, 0.12);
}

.admin-vie-inline-field .vie-meta-inline-label {
  margin-top: 0.72rem;
}

.admin-vie-detail-control.is-inline {
  min-height: 3.4rem;
}

.admin-vie-detail-control.is-participation {
  min-height: 4.8rem;
}

.admin-vie-groups-grid--details {
  margin-top: 0.95rem;
}

.admin-vie-field input:focus,
.admin-vie-field textarea:focus {
  outline: none;
  border-color: rgba(40, 123, 164, 0.34);
  box-shadow: 0 0 0 3px rgba(40, 123, 164, 0.12);
  background: #fff;
}

.admin-vie-field textarea {
  resize: none;
  overflow: hidden;
}

@media (max-width: 760px) {
  .admin-vie-chip-control {
    width: 100%;
    min-width: 0;
  }

  .admin-vie-subnav-item {
    display: flex;
    width: 100%;
  }

  .admin-vie-inline-field {
    grid-template-columns: 1fr;
    gap: 0.28rem;
  }

  .admin-vie-inline-field .vie-meta-inline-label {
    margin-top: 0;
  }
}

.admin-location-editor-preview {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

.admin-location-main-card,
.admin-location-contact-card {
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: linear-gradient(160deg, rgba(255, 253, 248, 0.95), rgba(248, 243, 232, 0.95));
  box-shadow: 0 10px 20px rgba(34, 41, 34, 0.09);
  padding: 0.85rem 0.95rem;
}

.admin-location-field {
  margin-top: 0.55rem;
}

.admin-location-field label {
  display: block;
  margin-bottom: 0.24rem;
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: #2c5a71;
}

.admin-location-field input,
.admin-location-field textarea {
  width: 100%;
  border: 1px solid rgba(40, 123, 164, 0.24);
  border-radius: 0.62rem;
  background: rgba(255, 255, 255, 0.92);
  color: #142832;
  font: inherit;
  padding: 0.52rem 0.66rem;
}

.admin-location-field textarea {
  resize: vertical;
  min-height: 5.1rem;
  line-height: 1.45;
}

.admin-location-editor-preview--exact {
  display: block;
}

.admin-location-editor-preview--exact .container {
  width: min(var(--layout-unified-width), calc(100% - 0.4rem));
}

.admin-location-editor-control {
  width: 100%;
  box-sizing: border-box;
  font: inherit;
}

.admin-location-editor-preview--exact .admin-location-editor-control--hero,
.admin-location-editor-preview--exact .admin-location-editor-control--section,
.admin-location-editor-preview--exact .admin-location-editor-control--equipment-title,
.admin-location-editor-preview--exact .admin-location-editor-control--contact-name,
.admin-location-editor-preview--exact .admin-location-editor-control--contact-strong {
  border: 1px dashed rgba(255, 255, 255, 0.34);
  border-radius: 0.52rem;
  background: rgba(255, 255, 255, 0.18);
  box-shadow: none;
  padding: 0.12rem 0.38rem;
  min-height: 0;
  color: inherit;
}

.admin-location-editor-preview--exact .admin-location-editor-control--hero:hover,
.admin-location-editor-preview--exact .admin-location-editor-control--section:hover,
.admin-location-editor-preview--exact .admin-location-editor-control--equipment-title:hover,
.admin-location-editor-preview--exact .admin-location-editor-control--contact-name:hover,
.admin-location-editor-preview--exact .admin-location-editor-control--contact-strong:hover,
.admin-location-editor-preview--exact .admin-location-editor-control--hero:focus,
.admin-location-editor-preview--exact .admin-location-editor-control--section:focus,
.admin-location-editor-preview--exact .admin-location-editor-control--equipment-title:focus,
.admin-location-editor-preview--exact .admin-location-editor-control--contact-name:focus,
.admin-location-editor-preview--exact .admin-location-editor-control--contact-strong:focus {
  outline: none;
  border-color: rgba(255, 255, 255, 0.62);
  background: rgba(255, 255, 255, 0.28);
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.16);
}

.admin-location-editor-preview--exact .admin-location-editor-control--hero {
  font-size: inherit;
  font-weight: inherit;
}

.admin-location-editor-preview--exact .admin-location-editor-control--section {
  font-size: inherit;
  font-weight: inherit;
  color: #257ca7;
}

.admin-location-editor-preview--exact .admin-location-editor-control--equipment-title {
  font-size: inherit;
  font-weight: inherit;
  color: inherit;
}

.admin-location-editor-preview--exact .location-ui-contact-card h3 {
  margin: 0;
}

.admin-location-editor-preview--exact .admin-location-editor-control--contact-name {
  font-size: inherit;
  font-weight: inherit;
  color: #257ca7;
}

.admin-location-editor-preview--exact .admin-location-editor-control--contact-strong {
  color: #2a7aa2;
  text-decoration: underline;
  text-underline-offset: 0.14em;
  font-weight: 800;
  word-break: break-word;
}

.admin-location-editor-preview--exact .location-ui-main-grid > article {
  height: 100%;
}

.admin-location-list-source {
  display: none;
}

.admin-location-list-editor {
  margin-top: 0.32rem;
}

.admin-location-editable-list {
  margin: 0;
  padding-left: 1.1rem;
}

.admin-location-editable-item + .admin-location-editable-item {
  margin-top: 0.38rem;
}

.admin-location-editable-row {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.admin-location-editor-control--list-item {
  flex: 1 1 auto;
  min-width: 0;
  border: 2px dashed rgba(40, 123, 164, 0.42);
  border-radius: 0.68rem;
  background: rgba(255, 252, 245, 0.94);
  color: #397593;
  padding: 0.48rem 0.68rem;
  font-size: 0.97rem;
  line-height: 1.35;
  box-shadow: 0 6px 16px rgba(40, 123, 164, 0.08);
  transition:
    border-color 0.18s ease,
    box-shadow 0.18s ease,
    background-color 0.18s ease,
    transform 0.18s ease;
}

.admin-location-editor-control--list-item:hover {
  border-color: rgba(40, 123, 164, 0.62);
  background: #fffdfa;
  box-shadow: 0 10px 18px rgba(40, 123, 164, 0.12);
}

.admin-location-editor-control--list-item:focus {
  outline: none;
  border-color: #1d7eaf;
  box-shadow:
    0 0 0 3px rgba(40, 123, 164, 0.16),
    0 10px 18px rgba(40, 123, 164, 0.12);
  background: #ffffff;
  transform: translateY(-1px);
}

.admin-location-list-actions {
  display: inline-flex;
  align-items: center;
  gap: 0.22rem;
  flex-shrink: 0;
}

.admin-location-list-action,
.admin-location-list-add {
  border: 1px solid rgba(40, 123, 164, 0.34);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 252, 245, 0.98), rgba(242, 235, 220, 0.96));
  color: #287ba4;
  font: inherit;
  line-height: 1;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 8px 16px rgba(40, 123, 164, 0.1);
  transition:
    border-color 0.18s ease,
    box-shadow 0.18s ease,
    background-color 0.18s ease,
    transform 0.18s ease;
}

.admin-location-list-action {
  min-width: 2.1rem;
  min-height: 2.1rem;
  padding: 0.24rem 0.42rem;
  font-size: 1rem;
}

.admin-location-list-add {
  margin-top: 0.45rem;
  padding: 0.48rem 0.9rem;
  line-height: 1.2;
  font-size: 0.92rem;
}

.admin-location-list-action:hover,
.admin-location-list-action:focus,
.admin-location-list-add:hover,
.admin-location-list-add:focus {
  outline: none;
  border-color: rgba(40, 123, 164, 0.58);
  background: linear-gradient(180deg, #ffffff, rgba(244, 239, 227, 0.98));
  box-shadow:
    0 0 0 3px rgba(40, 123, 164, 0.12),
    0 10px 18px rgba(40, 123, 164, 0.12);
  transform: translateY(-1px);
}

.admin-location-list-action.is-danger {
  border-color: rgba(170, 63, 50, 0.4);
  background: linear-gradient(180deg, rgba(255, 245, 242, 0.98), rgba(252, 226, 221, 0.96));
  color: #9e3427;
}

.admin-location-list-action[disabled] {
  opacity: 0.52;
  cursor: default;
  box-shadow: none;
  transform: none;
}

.admin-location-editor-preview--exact .location-ui-card h3 {
  margin: 0.5rem 0 0.12rem;
}

.admin-location-editor-preview--exact .location-ui-card ul {
  margin-top: 0.18rem;
  padding-left: 0.92rem;
}

.admin-location-editor-preview--exact .location-ui-card li + li {
  margin-top: 0.16rem;
}

@media (max-width: 760px) {
  .admin-location-editable-row {
    align-items: stretch;
    flex-direction: column;
  }

  .admin-location-list-actions {
    justify-content: flex-end;
  }
}

.admin-dons-editor-preview {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

.admin-dons-main-card,
.admin-dons-message-card {
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: linear-gradient(160deg, rgba(255, 253, 248, 0.95), rgba(248, 243, 232, 0.95));
  box-shadow: 0 10px 20px rgba(34, 41, 34, 0.09);
  padding: 0.85rem 0.95rem;
}

.admin-dons-field {
  margin-top: 0.55rem;
}

.admin-dons-field label {
  display: block;
  margin-bottom: 0.24rem;
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: #2c5a71;
}

.admin-dons-field input,
.admin-dons-field textarea {
  width: 100%;
  border: 1px solid rgba(40, 123, 164, 0.24);
  border-radius: 0.62rem;
  background: rgba(255, 255, 255, 0.92);
  color: #142832;
  font: inherit;
  padding: 0.52rem 0.66rem;
}

.admin-dons-field textarea {
  resize: vertical;
  min-height: 5rem;
  line-height: 1.22;
}

.admin-dons-field.is-message textarea {
  min-height: 9.2rem;
}

.admin-dons-field-hint {
  margin: 0.26rem 0 0;
  color: #5b6c65;
  font-size: 0.82rem;
}

.admin-dons-editor-preview.admin-dons-editor-preview--exact {
  display: block;
}

.admin-dons-editor-preview--exact .dons-neo-section {
  padding-block: clamp(1rem, 2vw, 1.45rem);
}

.admin-dons-editor-preview--exact .dons-neo-container {
  width: min(1540px, 100%);
}

.admin-dons-editor-preview--exact .dons-neo-card {
  margin-inline: auto;
}

.admin-dons-editor-preview--exact .dons-neo-learn {
  cursor: default;
}

.admin-dons-editor-preview--exact .admin-dons-hidden-fields,
.admin-dons-editor-preview--exact .admin-dons-hidden-control {
  display: none !important;
}

.admin-dons-editor-preview--exact [contenteditable="true"] {
  outline: none;
  cursor: text;
  border: 2px dashed rgba(188, 145, 68, 0.52);
  border-radius: 0.9rem;
  background: rgba(255, 251, 243, 0.96);
  box-shadow: 0 8px 18px rgba(181, 145, 82, 0.08);
  transition:
    background-color 0.18s ease,
    box-shadow 0.18s ease,
    border-color 0.18s ease,
    transform 0.18s ease;
}

.admin-dons-editor-preview--exact [contenteditable="true"]:hover {
  background: #fffdfa;
  border-color: rgba(188, 145, 68, 0.72);
  box-shadow: 0 12px 20px rgba(181, 145, 82, 0.1);
}

.admin-dons-editor-preview--exact [contenteditable="true"]:focus {
  background: #ffffff;
  border-color: rgba(160, 116, 43, 0.9);
  box-shadow:
    0 0 0 3px rgba(188, 145, 68, 0.18),
    0 12px 20px rgba(181, 145, 82, 0.1);
  transform: translateY(-1px);
}

.admin-dons-editor-preview--exact .dons-neo-copy h1[contenteditable="true"],
.admin-dons-editor-preview--exact .dons-neo-copy p[contenteditable="true"],
.admin-dons-editor-preview--exact .dons-neo-feature .dons-neo-label[contenteditable="true"],
.admin-dons-editor-preview--exact .dons-neo-feature h2[contenteditable="true"],
.admin-dons-editor-preview--exact .dons-neo-project-copy span[contenteditable="true"],
.admin-dons-editor-preview--exact .dons-neo-project-copy strong[contenteditable="true"],
.admin-dons-editor-preview--exact .dons-neo-note h3[contenteditable="true"],
.admin-dons-editor-preview--exact .dons-neo-signature[contenteditable="true"] {
  padding: 0.2em 0.34em;
  margin-inline: -0.34em;
}

.admin-dons-editor-preview--exact .dons-neo-copy h1[contenteditable="true"],
.admin-dons-editor-preview--exact .dons-neo-copy p[contenteditable="true"] {
  border-color: rgba(214, 185, 132, 0.68);
  background: rgba(18, 29, 36, 0.58);
  box-shadow:
    0 8px 18px rgba(6, 16, 22, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.admin-dons-editor-preview--exact .dons-neo-copy h1[contenteditable="true"]:hover,
.admin-dons-editor-preview--exact .dons-neo-copy h1[contenteditable="true"]:focus,
.admin-dons-editor-preview--exact .dons-neo-copy p[contenteditable="true"]:hover,
.admin-dons-editor-preview--exact .dons-neo-copy p[contenteditable="true"]:focus {
  border-color: rgba(226, 196, 142, 0.86);
  background: rgba(18, 29, 36, 0.76);
  box-shadow:
    0 0 0 3px rgba(214, 185, 132, 0.16),
    0 12px 22px rgba(6, 16, 22, 0.24);
}

.admin-dons-editor-preview--exact .dons-neo-project-copy span[contenteditable="true"],
.admin-dons-editor-preview--exact .dons-neo-project-copy strong[contenteditable="true"] {
  display: inline-block;
}

.admin-dons-editor-preview--exact .admin-dons-richtext {
  min-height: 10.5rem;
  padding: 0.5rem 0.6rem;
  margin-inline: -0.45rem;
  border: 2px dashed rgba(188, 145, 68, 0.52);
  background: rgba(255, 251, 243, 0.96);
  box-shadow: 0 8px 18px rgba(181, 145, 82, 0.08);
}

.admin-dons-editor-preview--exact .admin-dons-richtext:hover,
.admin-dons-editor-preview--exact .admin-dons-richtext:focus {
  border-color: rgba(188, 145, 68, 0.82);
  background: #fffdfa;
  box-shadow:
    0 0 0 3px rgba(188, 145, 68, 0.14),
    0 12px 20px rgba(181, 145, 82, 0.1);
}

.admin-dons-editor-preview--exact .admin-dons-richtext:empty::before {
  content: " ";
}

.admin-eventday-editor-preview {
  display: grid;
  gap: 0.9rem;
}

.admin-eventday-shell {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(300px, 0.92fr);
  gap: 0.9rem;
  border: 1px solid rgba(40, 123, 164, 0.36);
  border-radius: 1rem;
  padding: 0.95rem;
  background:
    radial-gradient(circle at 84% 16%, rgba(182, 138, 68, 0.2), transparent 38%),
    linear-gradient(120deg, #0f2a3f 0%, #113f53 56%, #267298 100%);
  box-shadow: 0 16px 28px rgba(57, 117, 147, 0.23);
}

.admin-eventday-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.24) 1px, transparent 1px);
  background-size: 17px 17px;
  opacity: 0.1;
  pointer-events: none;
}

.admin-eventday-left,
.admin-eventday-right {
  position: relative;
  z-index: 1;
}

.admin-eventday-left .admin-home-editor-section-title {
  color: rgba(244, 231, 202, 0.95);
}

.admin-eventday-field {
  margin-top: 0.55rem;
}

.admin-eventday-field label {
  display: block;
  margin-bottom: 0.24rem;
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: rgba(246, 241, 227, 0.96);
}

.admin-eventday-field input,
.admin-eventday-field textarea {
  width: 100%;
  border: 1px solid rgba(244, 227, 194, 0.35);
  border-radius: 0.62rem;
  background: rgba(8, 29, 42, 0.6);
  color: #f8ecd3;
  font: inherit;
  padding: 0.52rem 0.66rem;
}

.admin-eventday-field textarea {
  resize: vertical;
  min-height: 4.2rem;
  line-height: 1.42;
}

.admin-eventday-field input::placeholder,
.admin-eventday-field textarea::placeholder {
  color: rgba(248, 236, 211, 0.64);
}

.admin-eventday-meta-grid {
  margin-top: 0.5rem;
  display: grid;
  gap: 0.56rem;
}

.admin-page-editor-panel.is-eventday-editor .admin-eventday-images-grid {
  display: none !important;
}

.admin-eventday-images-grid {
  margin-top: 0.38rem;
  display: grid;
  gap: 0.38rem;
}

.admin-eventday-thumbs {
  margin-top: 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.admin-eventday-thumb {
  appearance: none;
  -webkit-appearance: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  width: 3.45rem;
  height: 3.45rem;
  border-radius: 50%;
  border: 2px solid rgba(251, 240, 217, 0.42);
  background-color: transparent;
  background-image: var(--thumb);
  background-size: cover;
  background-position: center;
  box-shadow: 0 8px 16px rgba(57, 117, 147, 0.3);
  opacity: 0.86;
  transform: scale(0.93);
  transition: transform 200ms ease, opacity 200ms ease, border-color 200ms ease;
}

.admin-eventday-thumb.is-active {
  opacity: 1;
  transform: scale(1);
  border-color: rgba(255, 240, 198, 0.9);
}

.admin-eventday-thumb:focus-visible {
  outline: 2px solid rgba(255, 240, 198, 0.9);
  outline-offset: 2px;
}

.admin-eventday-thumbs-line {
  margin-top: 0.44rem;
  width: 10.8rem;
  height: 0.16rem;
  border-radius: 999px;
  background: rgba(249, 236, 207, 0.24);
  overflow: hidden;
}

.admin-eventday-thumbs-line span {
  display: block;
  width: 46%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #e7d2a4, #fff3d8);
}

.admin-eventday-image-tools {
  margin-top: 0.55rem;
  display: grid;
  gap: 0.36rem;
}

.admin-eventday-image-hint {
  margin: 0;
  font-size: 0.82rem;
  color: rgba(244, 231, 202, 0.86);
}

.admin-eventday-image-target {
  margin: 0;
  font-size: 0.86rem;
  font-weight: 700;
  color: rgba(252, 243, 221, 0.96);
}

.admin-eventday-image-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.admin-eventday-image-actions .btn {
  min-width: 7.25rem;
}

.admin-eventday-image-actions .btn.btn-soft {
  background: linear-gradient(140deg, rgba(255, 248, 232, 0.97), rgba(246, 233, 204, 0.95));
  color: #2d799f;
  border-color: rgba(244, 223, 179, 0.88);
}

.admin-eventday-image-actions .btn.btn-soft:hover,
.admin-eventday-image-actions .btn.btn-soft:focus-visible {
  box-shadow: 0 12px 22px rgba(5, 18, 22, 0.26);
}

.admin-eventday-image-result {
  margin: 0;
  min-height: 1.2rem;
  font-size: 0.82rem;
  color: rgba(248, 236, 211, 0.85);
}

.admin-eventday-image-result.is-success {
  color: #d7ecf6;
}

.admin-eventday-image-result.is-error {
  color: #ffd5cc;
}

.admin-eventday-right {
  display: grid;
  align-items: center;
  justify-items: end;
}

.admin-eventday-main-circle {
  width: min(430px, 100%);
  aspect-ratio: 1 / 1;
  margin-left: auto;
  border-radius: 50%;
  border: 1px solid rgba(242, 226, 195, 0.45);
  background:
    linear-gradient(140deg, rgba(5, 17, 25, 0.3), rgba(8, 19, 30, 0.15)),
    var(--eventday-main-image);
  background-size: cover;
  background-position: center;
  box-shadow: 0 18px 34px rgba(57, 117, 147, 0.38);
}

.admin-eventday-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

.admin-eventday-panel {
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: linear-gradient(160deg, rgba(255, 253, 248, 0.95), rgba(248, 243, 232, 0.95));
  box-shadow: 0 10px 20px rgba(34, 41, 34, 0.09);
  padding: 0.9rem 0.95rem;
}

.admin-eventday-panel .admin-home-editor-section-title {
  margin-bottom: 0.5rem;
}

.admin-eventday-panel .admin-eventday-field label {
  color: #2c5a71;
}

.admin-eventday-panel .admin-eventday-field input,
.admin-eventday-panel .admin-eventday-field textarea {
  border: 1px solid rgba(40, 123, 164, 0.24);
  background: rgba(255, 255, 255, 0.92);
  color: #142832;
}

.admin-eventday-panel .admin-eventday-field input::placeholder,
.admin-eventday-panel .admin-eventday-field textarea::placeholder {
  color: rgba(20, 40, 50, 0.52);
}

.admin-eventday-timeline {
  display: grid;
  gap: 0.58rem;
}

.admin-eventday-timeline-row {
  border-left: 2px solid rgba(40, 123, 164, 0.26);
  padding-left: 0.7rem;
}

.admin-actualites-editor {
  display: grid;
  gap: 1rem;
}

.admin-actualites-intro-card,
.admin-actualites-card {
  border: 1px solid rgba(40, 123, 164, 0.22);
  border-radius: 1rem;
  background:
    linear-gradient(135deg, rgba(255, 253, 248, 0.98), rgba(248, 243, 232, 0.97)),
    linear-gradient(90deg, rgba(40, 123, 164, 0.08), transparent);
  box-shadow: 0 14px 34px rgba(57, 117, 147, 0.1);
  padding: clamp(0.9rem, 1.6vw, 1.25rem);
}

.admin-actualites-intro-card {
  display: grid;
  gap: 0.65rem;
  padding-block: clamp(0.65rem, 1.1vw, 0.9rem);
}

.admin-actualites-intro-card .admin-actualites-form-grid {
  grid-template-columns: minmax(260px, 640px);
}

.admin-actualites-add-card {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  border: 0;
  border-radius: 0;
  background: transparent;
  padding: 0.65rem 0 0.2rem;
  box-shadow: none;
}

.admin-actualites-add-main {
  min-height: 2.7rem;
  padding-inline: 1.25rem;
  white-space: nowrap;
}

.admin-actualites-intro-card h5,
.admin-actualites-card-header h5 {
  margin: 0.08rem 0 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2rem, 3.5vw, 3rem);
  line-height: 0.98;
}

.admin-actualites-intro-card p,
.admin-actualites-card-header p,
.admin-actualites-images-heading p {
  margin: 0.36rem 0 0;
  color: #4d5c54;
  text-align: left;
}

.admin-actualites-card-header {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  align-items: end;
  margin-bottom: 0.85rem;
}

.admin-actualites-manager-actions,
.admin-actualites-card-tools {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

.admin-actualites-card-tools {
  margin: 0 0 0.85rem;
  padding: 0.62rem;
  border: 1px solid rgba(40, 123, 164, 0.16);
  border-radius: 0.82rem;
  background: rgba(255, 253, 248, 0.78);
}

.admin-actualites-add-after,
.admin-actualites-delete {
  min-height: 2.25rem;
}

.admin-actualites-delete {
  border-color: rgba(133, 53, 38, 0.42);
  color: #8a2f21;
}

.admin-actualites-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.72rem;
}

.admin-actualites-field.is-wide {
  grid-column: 1 / -1;
}

.admin-actualites-field label {
  display: block;
  margin-bottom: 0.24rem;
  color: #397593;
  font-size: 0.9rem;
  font-weight: 900;
}

.admin-actualites-field input,
.admin-actualites-field textarea {
  width: 100%;
  border: 1px solid rgba(40, 123, 164, 0.24);
  border-radius: 0.7rem;
  background: rgba(255, 255, 255, 0.94);
  color: #142832;
  font: inherit;
  padding: 0.72rem 0.78rem;
}

.admin-actualites-field textarea {
  min-height: 9rem;
  resize: vertical;
  line-height: 1.45;
}

.admin-actualites-info-panel {
  margin-top: 0.86rem;
  border: 1px solid rgba(40, 123, 164, 0.16);
  border-radius: 0.78rem;
  background: rgba(255, 255, 255, 0.58);
  padding: 0.72rem;
}

.admin-actualites-info-heading {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.75rem;
  margin-bottom: 0.72rem;
}

.admin-actualites-info-heading h6 {
  margin: 0;
  color: #2f789d;
  font-size: 0.98rem;
}

.admin-actualites-info-list {
  display: grid;
  gap: 0.52rem;
}

.admin-actualites-info-row {
  display: grid;
  grid-template-columns: minmax(130px, 0.75fr) 1.7rem minmax(180px, 1.25fr) auto;
  gap: 0.62rem;
  align-items: center;
}

.admin-actualites-info-row {
  border-top: 1px solid rgba(40, 123, 164, 0.13);
  padding-top: 0.52rem;
}

.admin-actualites-info-row:first-child {
  border-top: 0;
  padding-top: 0;
}

.admin-actualites-info-row input {
  width: 100%;
  border: 1px solid rgba(40, 123, 164, 0.24);
  border-radius: 0.7rem;
  background: rgba(255, 255, 255, 0.94);
  color: #142832;
  font: inherit;
  padding: 0.68rem 0.78rem;
}

.admin-actualites-info-row [data-admin-actualites-info-label] {
  font-weight: 900;
}

.admin-actualites-info-arrow {
  color: #6f8379;
  font-size: 1rem;
  font-weight: 900;
  text-align: center;
}

.admin-actualites-info-remove {
  width: 1.9rem;
  height: 1.9rem;
  border: 1px solid rgba(131, 57, 44, 0.34);
  border-radius: 999px;
  background: rgba(255, 247, 244, 0.96);
  color: #8b3325;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.admin-actualites-info-add {
  white-space: nowrap;
}

.admin-actualites-images-panel {
  margin-top: 0.95rem;
  border-top: 1px solid rgba(40, 123, 164, 0.16);
  padding-top: 0.85rem;
}

.admin-actualites-images-heading {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: end;
  margin-bottom: 0.72rem;
}

.admin-actualites-images-heading h6 {
  margin: 0;
  color: #2f789d;
  font-size: 1rem;
}

.admin-actualites-images-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.42rem;
}

.admin-actualites-image-add {
  margin-top: 0.72rem;
}

.admin-actualites-image-slot {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr) auto;
  gap: 0.62rem;
  align-items: center;
  border: 1px solid rgba(40, 123, 164, 0.18);
  border-radius: 0.78rem;
  background: rgba(255, 255, 255, 0.76);
  padding: 0.48rem 0.56rem;
}

.admin-actualites-image-slot[hidden] {
  display: none !important;
}

.admin-actualites-image-preview {
  display: grid;
  width: 96px;
  min-height: 68px;
  place-items: center;
  overflow: hidden;
  border-radius: 0.58rem;
  border: 1px solid rgba(57, 117, 147, 0.2);
  background: #eee7d8;
}

.admin-actualites-image-preview img {
  width: 100%;
  height: 68px;
  object-fit: cover;
}

.admin-actualites-image-preview img[hidden] {
  display: none;
}

.admin-actualites-image-empty {
  display: grid;
  min-height: 68px;
  place-items: center;
  padding: 0.42rem;
  color: #326680;
  font-size: 0.78rem;
  font-weight: 850;
  line-height: 1.15;
  text-align: center;
}

.admin-actualites-image-copy {
  display: grid;
  gap: 0.08rem;
}

.admin-actualites-image-copy strong {
  color: #337799;
}

.admin-actualites-image-copy span {
  color: #66746e;
  font-size: 0.78rem;
}

.admin-actualites-image-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.34rem;
}

.admin-actualites-image-actions .btn {
  min-height: 2.26rem;
  padding: 0.44rem 0.68rem;
  font-size: 0.86rem;
}

.admin-actualites-image-result {
  grid-column: 2 / -1;
  margin: 0;
  min-height: 1.1rem;
  font-size: 0.84rem;
  font-weight: 800;
}

.admin-actualites-image-result.is-success {
  color: #227daa;
}

.admin-actualites-image-result.is-error {
  color: #9e2f20;
}

@media (max-width: 980px) {
  .admin-sacrements-main-grid,
  .admin-sacrements-grid,
  .admin-vie-groups-grid,
  .admin-location-editor-preview,
  .admin-dons-editor-preview,
  .admin-eventday-grid {
    grid-template-columns: 1fr;
  }

  .admin-eventday-shell {
    grid-template-columns: 1fr;
  }

  .admin-eventday-right {
    justify-items: center;
  }

  .admin-eventday-main-circle {
    width: min(340px, 100%);
    margin: 0 auto;
  }

  .admin-actualites-intro-card,
  .admin-actualites-card-header,
  .admin-actualites-form-grid {
    grid-template-columns: 1fr;
  }

  .admin-actualites-info-row {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .admin-actualites-info-row [data-admin-actualites-info-value] {
    grid-column: 1 / -1;
  }

  .admin-actualites-info-arrow {
    display: none;
  }

  .admin-actualites-info-heading {
    display: grid;
  }

  .admin-actualites-add-card {
    align-items: center;
  }

  .admin-actualites-add-main {
    width: 100%;
  }

  .admin-actualites-image-slot {
    grid-template-columns: 74px minmax(0, 1fr);
  }

  .admin-actualites-image-preview {
    width: 74px;
    min-height: 58px;
  }

  .admin-actualites-image-preview img,
  .admin-actualites-image-empty {
    height: 58px;
    min-height: 58px;
  }

  .admin-actualites-image-actions {
    grid-column: 1 / -1;
    justify-content: flex-start;
  }

  .admin-actualites-images-heading {
    display: grid;
  }
}

.admin-home-editor-sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.admin-home-editor-preview {
  display: grid;
  gap: 1rem;
}

.admin-home-editor-section-title {
  margin: 0 0 0.7rem;
  font-family: "Manrope", "Segoe UI", sans-serif;
  font-size: 0.95rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #247ca8;
}

.admin-home-editor-home-card,
.admin-home-editor-monthly-card {
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: linear-gradient(160deg, rgba(255, 253, 248, 0.95), rgba(248, 243, 232, 0.95));
  box-shadow: 0 10px 20px rgba(34, 41, 34, 0.09);
  padding: 1rem 1.05rem;
}

.admin-home-editor-monthly-card {
  display: flex;
  flex-direction: column;
  height: var(--home-word-fixed-block-height, auto);
  overflow: hidden;
}

.admin-home-editor-home-card .home-intro-copy {
  min-width: 0;
}

.admin-home-editor-home-card .kicker,
.admin-home-editor-monthly-card .kicker {
  margin: 0;
}

.admin-home-editor-field {
  margin-top: 0.62rem;
}

.admin-home-editor-field-label {
  display: block;
  margin: 0 0 0.26rem;
  font-size: 0.83rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #2c5a71;
}

.admin-home-editor-field input,
.admin-home-editor-field textarea {
  width: 100%;
  border: 1px solid rgba(40, 123, 164, 0.24);
  border-radius: 0.62rem;
  background: rgba(255, 255, 255, 0.92);
  color: #142832;
  font: inherit;
  padding: 0.56rem 0.72rem;
}

.admin-home-editor-field textarea {
  resize: vertical;
  line-height: 1.5;
  min-height: 6.2rem;
}

.admin-home-editor-title input,
.admin-home-editor-monthly-title input {
  margin-top: 0.15rem;
  border: 0;
  border-radius: 0;
  padding: 0;
  background: transparent;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 700;
  color: #111217;
  line-height: 1.06;
  box-shadow: none;
}

.admin-home-editor-title input {
  font-size: clamp(1.86rem, 3.35vw, 3.02rem);
}

.admin-home-editor-monthly-title input {
  font-size: clamp(1.42rem, 2.3vw, 1.95rem);
  white-space: nowrap;
}

.admin-home-editor-inline {
  margin-top: 0.18rem;
  display: inline-flex;
  min-width: 340px;
  width: min(100%, 620px);
  vertical-align: middle;
}

.admin-home-editor-inline input {
  border: 1px solid rgba(40, 123, 164, 0.22);
  border-radius: 0.55rem;
  background: rgba(255, 255, 255, 0.88);
  font-weight: 700;
  padding: 0.18rem 0.42rem;
  min-height: 2rem;
}

.admin-home-editor-home-card .home-annual-note {
  margin-top: 0.7rem;
  border: 1px solid rgba(40, 123, 164, 0.25);
  border-radius: 0.55rem;
  background: rgba(252, 248, 239, 0.96);
  padding: 0.5rem 0.8rem;
}

.admin-home-editor-home-card .home-annual-note p {
  margin: 0.32rem 0 0;
}

.admin-home-editor-home-card .home-annual-note p:first-child {
  margin-top: 0;
}

.admin-home-editor-monthly-card .monthly-wire-top-copy {
  padding-bottom: 0.5rem;
}

.admin-home-editor-monthly-card .monthly-wire-card-l-inner {
  display: flex;
  flex: 1 1 auto;
  min-height: 0;
  flex-direction: column;
}

.admin-home-editor-monthly-card .monthly-wire-text-flow {
  display: flex;
  flex: 1 1 auto;
  min-height: 0;
  flex-direction: column;
}

.admin-home-editor-monthly-card .monthly-wire-text-flow textarea[name="home_word_body"] {
  flex: 1 1 auto;
  min-height: 0;
  height: auto;
  overflow-y: auto;
  resize: none;
  scrollbar-gutter: stable;
  scrollbar-width: thin;
  scrollbar-color: rgba(40, 123, 164, 0.52) rgba(40, 123, 164, 0.12);
}

.admin-home-editor-monthly-card .monthly-wire-text-flow textarea[name="home_word_body"]::-webkit-scrollbar {
  width: 0.78rem;
}

.admin-home-editor-monthly-card .monthly-wire-text-flow textarea[name="home_word_body"]::-webkit-scrollbar-track {
  background: rgba(40, 123, 164, 0.1);
  border-radius: 999px;
}

.admin-home-editor-monthly-card .monthly-wire-text-flow textarea[name="home_word_body"]::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, rgba(40, 123, 164, 0.72), rgba(132, 100, 39, 0.72));
  border: 0.16rem solid transparent;
  border-radius: 999px;
  background-clip: padding-box;
}

.admin-home-editor-monthly-card .monthly-wire-text p {
  margin: 0.45rem 0 0;
  text-align: justify;
}

.admin-home-editor-monthly-card .monthly-wire-signature {
  margin-top: 0.72rem;
  padding-top: 0.6rem;
  border-top: 1px solid rgba(40, 123, 164, 0.2);
  font-weight: 700;
  color: #287ba4;
}

.admin-page-editor-panel.is-home-editor .admin-page-editor-fields {
  gap: 0;
}

.admin-home-editor-homepage.admin-home-editor-preview {
  display: block;
  background:
    radial-gradient(circle at 10% 8%, rgba(182, 138, 68, 0.12), transparent 34%),
    radial-gradient(circle at 86% 6%, rgba(40, 123, 164, 0.15), transparent 36%),
    #ece6d9;
  border-radius: 1.12rem;
  overflow: hidden;
}

.admin-home-editor-homepage :where(p, li) {
  text-align: left;
  text-justify: auto;
  hyphens: none;
}

.admin-home-editor-homepage .home-cine-main {
  padding: clamp(0.6rem, 1.8vw, 1.2rem) 0 2.25rem;
}

.admin-home-editor-homepage .home-cine-hero {
  position: relative;
  width: min(var(--layout-unified-width), calc(100% - clamp(1.2rem, 2.5vw, 2.4rem)));
  margin-inline: auto;
  border-radius: 1.35rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.36);
  box-shadow: 0 26px 42px rgba(57, 117, 147, 0.24);
}

.admin-home-editor-homepage .home-cine-hero-media {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(9, 25, 31, 0.55), rgba(17, 50, 63, 0.26)),
    url("photos-paroisse/01/05.png") center 38% / cover no-repeat;
  transform: scale(1.02);
}

.admin-home-editor-homepage .home-cine-hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(7, 16, 20, 0.62) 0, rgba(7, 16, 20, 0.14) 46%, rgba(7, 16, 20, 0.18) 100%),
    radial-gradient(circle at 50% 16%, rgba(255, 255, 255, 0.16), transparent 44%);
}

.admin-home-editor-homepage .home-cine-hero-inner {
  position: relative;
  z-index: 1;
  min-height: clamp(540px, 72vh, 760px);
  padding: clamp(1rem, 2.2vw, 1.6rem);
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: clamp(0.8rem, 1.8vw, 1.3rem);
}

.admin-home-editor-homepage .home-cine-hero-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.admin-home-editor-homepage .home-cine-brand {
  margin: 0;
  color: #def1fa;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  border-bottom: 2px solid rgba(214, 179, 106, 0.86);
  padding-bottom: 0.18rem;
}

.admin-home-editor-homepage .home-cine-hero-copy {
  align-self: end;
  max-width: min(980px, 100%);
}

.admin-home-editor-homepage .home-cine-hero-copy h1 {
  margin: 0;
  font-size: clamp(2.3rem, 7vw, 5.5rem);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: rgba(255, 255, 255, 0.16);
  -webkit-text-stroke: 2px rgba(255, 255, 255, 0.86);
  line-height: 0.94;
  text-wrap: balance;
}

.admin-home-editor-homepage .home-cine-hero-copy p {
  margin: 0.72rem 0 0;
  max-width: 68ch;
  color: rgba(245, 249, 251, 0.95);
  font-size: clamp(1rem, 1.55vw, 1.18rem);
  line-height: 1.72;
  text-shadow: 0 2px 12px rgba(8, 20, 25, 0.48);
}

.admin-home-editor-homepage .home-cine-hero-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(220px, 380px));
  justify-content: space-between;
  width: min(100%, 1450px);
  margin-inline: auto;
  gap: clamp(1rem, 2.4vw, 1.6rem);
  margin-top: 0.3rem;
}

.admin-home-editor-homepage .home-cine-hero-card {
  margin: 0;
  width: clamp(220px, 24vw, 360px);
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.66);
  box-shadow:
    0 13px 24px rgba(8, 19, 24, 0.34),
    inset 0 0 0 1px rgba(255, 255, 255, 0.22);
  justify-self: center;
}

.admin-home-editor-homepage .home-cine-hero-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  transform: scale(1.04);
}

.admin-home-editor-homepage .home-cine-info,
.admin-home-editor-homepage .home-cine-monthly {
  width: min(var(--layout-unified-width), calc(100% - clamp(1.2rem, 2.5vw, 2.4rem)));
  margin-inline: auto;
  padding-top: 0.98rem;
}

.admin-home-editor-homepage .home-cine-info.section {
  padding-top: clamp(0.7rem, 1.6vw, 1rem);
  padding-bottom: clamp(0.3rem, 0.9vw, 0.6rem);
}

.admin-home-editor-homepage .home-cine-monthly.section {
  padding-top: clamp(0.3rem, 0.9vw, 0.6rem);
  padding-bottom: clamp(1rem, 2vw, 1.5rem);
}

.admin-home-editor-homepage .home-cine-info-grid,
.admin-home-editor-homepage .home-cine-monthly-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.95rem;
  align-items: stretch;
}

.admin-home-editor-homepage .home-cine-monthly-grid > * {
  min-height: 0;
}

.admin-home-editor-homepage .home-cine-monthly-grid .home-cine-panel {
  height: 100%;
}

.admin-home-editor-homepage .home-cine-monthly-grid .home-cine-media {
  min-height: 0;
}

.admin-home-editor-homepage .home-cine-word {
  min-height: var(--home-cine-word-fixed-height, var(--home-word-fixed-block-height, 0px));
  max-height: var(--home-cine-word-fixed-height, var(--home-word-fixed-block-height, none));
  min-width: 0;
}

.admin-home-editor-homepage .home-cine-word-scroll {
  max-height: 100%;
  overflow-y: scroll;
}

body.home-light.home-cine .home-cine-monthly-grid {
  align-items: stretch;
}

body.home-light.home-cine .home-cine-monthly-grid > * {
  min-height: 0;
}

body.home-light.home-cine .home-cine-monthly-grid .home-cine-panel {
  height: 100%;
}

body.home-light.home-cine .home-cine-monthly-grid .home-cine-media {
  min-height: 0;
}

body.home-light.home-cine .home-cine-word {
  min-height: var(--home-cine-word-fixed-height, var(--home-word-fixed-block-height, 0px));
  max-height: var(--home-cine-word-fixed-height, var(--home-word-fixed-block-height, none));
  min-width: 0;
}

body.home-light.home-cine .home-cine-word-scroll {
  max-height: 100%;
  overflow-y: scroll;
}

.admin-home-editor-monthly-card {
  min-height: var(--home-word-fixed-block-height, 0px);
  max-height: var(--home-word-fixed-block-height, none);
}

.admin-home-editor-monthly-card .monthly-wire-text-flow {
  max-height: 100%;
}

.admin-home-editor-monthly-card .monthly-wire-text-flow textarea[name="home_word_body"] {
  overflow-y: scroll;
}

@supports (scrollbar-gutter: stable both-edges) {
  .admin-home-editor-homepage .home-cine-word-scroll,
  body.home-light.home-cine .home-cine-word-scroll,
  .admin-home-editor-monthly-card .monthly-wire-text-flow textarea[name="home_word_body"] {
    scrollbar-gutter: stable both-edges;
  }
}

@media (max-width: 1100px) {
  .admin-home-editor-homepage .home-cine-word,
  body.home-light.home-cine .home-cine-word,
  .admin-home-editor-monthly-card {
    min-width: 0;
  }

  .admin-home-editor-homepage .home-cine-word-scroll,
  body.home-light.home-cine .home-cine-word-scroll,
  .admin-home-editor-monthly-card .monthly-wire-text-flow,
  .admin-home-editor-monthly-card .monthly-wire-text-flow textarea[name="home_word_body"] {
    min-height: 0;
  }
}

.admin-home-editor-homepage .home-cine-info-grid {
  align-items: stretch;
}

.admin-home-editor-homepage .home-cine-monthly-grid {
  align-items: stretch;
}

.admin-home-editor-homepage .home-cine-info-grid .home-cine-panel {
  height: 100%;
}

.admin-home-editor-homepage .home-cine-panel {
  border: 1px solid rgba(40, 123, 164, 0.26);
  border-radius: 1.08rem;
  padding: clamp(0.88rem, 1.85vw, 1.22rem);
  background:
    radial-gradient(circle at 91% 8%, rgba(182, 138, 68, 0.14), transparent 40%),
    linear-gradient(160deg, rgba(255, 253, 248, 0.98), rgba(245, 239, 225, 0.95));
  box-shadow: 0 12px 22px rgba(57, 117, 147, 0.1);
}

.admin-home-editor-homepage .home-cine-panel .kicker {
  margin: 0;
}

.admin-home-editor-homepage .home-cine-panel h2,
.admin-home-editor-homepage .home-cine-panel h3 {
  margin: 0.22rem 0 0.65rem;
  line-height: 1.08;
}

.admin-home-editor-homepage .home-cine-panel p {
  margin: 0.52rem 0 0;
  line-height: 1.65;
  color: #142832;
}

.admin-home-editor-homepage .home-cine-permanence {
  border-left: 6px solid rgba(40, 123, 164, 0.94);
}

.admin-home-editor-homepage .home-cine-permanence-line strong {
  color: #217dab;
}

.admin-home-editor-homepage .home-cine-word {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: var(--home-cine-word-fixed-height, clamp(28rem, 58vh, 44rem));
  max-height: var(--home-cine-word-fixed-height, clamp(28rem, 58vh, 44rem));
  height: var(--home-cine-word-fixed-height, clamp(28rem, 58vh, 44rem));
  overflow: hidden;
}

.admin-home-editor-homepage .home-cine-word-scroll {
  flex: 1 1 auto;
  min-height: 0;
  max-height: 100%;
  overflow-x: hidden;
  overflow-y: scroll;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
  scrollbar-width: thin;
  scrollbar-color: rgba(40, 123, 164, 0.52) rgba(40, 123, 164, 0.12);
  padding-right: 0.4rem;
}

.admin-home-editor-homepage .home-cine-word-scroll::-webkit-scrollbar {
  width: 0.78rem;
}

.admin-home-editor-homepage .home-cine-word-scroll::-webkit-scrollbar-track {
  background: rgba(40, 123, 164, 0.1);
  border-radius: 999px;
}

.admin-home-editor-homepage .home-cine-word-scroll::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, rgba(40, 123, 164, 0.72), rgba(132, 100, 39, 0.72));
  border: 0.16rem solid transparent;
  border-radius: 999px;
  background-clip: padding-box;
}

.admin-home-editor-homepage .home-cine-signature {
  margin-top: 0.82rem;
  padding-top: 0.64rem;
  border-top: 1px solid rgba(40, 123, 164, 0.22);
  font-weight: 700;
  color: #257ca7;
}

.admin-home-editor-homepage .home-cine-saint {
  margin: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.admin-home-editor-homepage .home-cine-saint img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 0.96rem;
}

.admin-home-editor-homepage .home-cine-saint figcaption {
  margin: 0;
  padding: 0.55rem 0 0;
  text-align: center;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #32779a;
}

.admin-home-editor-homepage .admin-home-editor-hidden-fields,
.admin-home-editor-homepage .admin-home-editor-hidden-control {
  display: none !important;
}

.admin-home-editor-homepage [contenteditable="true"] {
  outline: none;
  cursor: text;
}

.admin-home-editor-homepage :is(h1, h2, p, strong, span)[contenteditable="true"] {
  padding: 0.18rem 0.35rem;
  border: 1px dashed rgba(40, 123, 164, 0.34);
  border-radius: 0.42rem;
  background: rgba(255, 255, 255, 0.24);
  transition: background 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.admin-home-editor-homepage :is(strong, span)[contenteditable="true"] {
  display: inline-block;
  min-width: 10ch;
}

.admin-home-editor-homepage :is(h1, h2, p, strong, span)[contenteditable="true"]:hover,
.admin-home-editor-homepage :is(h1, h2, p, strong, span)[contenteditable="true"]:focus {
  background: rgba(255, 255, 255, 0.38);
  border-color: rgba(40, 123, 164, 0.58);
  box-shadow: 0 0 0 2px rgba(40, 123, 164, 0.22);
}

.admin-home-editor-homepage .home-cine-word h2[contenteditable="true"],
.admin-home-editor-homepage .home-cine-word-scroll p[contenteditable="true"],
.admin-home-editor-homepage .home-cine-word-scroll strong[contenteditable="true"],
.admin-home-editor-homepage .home-cine-signature[contenteditable="true"] {
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.admin-home-editor-homepage .home-cine-word h2[contenteditable="true"]:hover,
.admin-home-editor-homepage .home-cine-word h2[contenteditable="true"]:focus,
.admin-home-editor-homepage .home-cine-word-scroll p[contenteditable="true"]:hover,
.admin-home-editor-homepage .home-cine-word-scroll p[contenteditable="true"]:focus,
.admin-home-editor-homepage .home-cine-word-scroll strong[contenteditable="true"]:hover,
.admin-home-editor-homepage .home-cine-word-scroll strong[contenteditable="true"]:focus,
.admin-home-editor-homepage .home-cine-signature[contenteditable="true"]:hover,
.admin-home-editor-homepage .home-cine-signature[contenteditable="true"]:focus {
  background: transparent !important;
  border-color: transparent !important;
  box-shadow: none !important;
}

.admin-home-editor-homepage .home-cine-word-scroll strong[contenteditable="true"] {
  display: inline !important;
  min-width: 0 !important;
}

.admin-home-editor-homepage .home-cine-hero-copy :is(h1, p)[contenteditable="true"] {
  background: rgba(8, 33, 43, 0.2);
  border-color: rgba(245, 227, 190, 0.44);
}

.admin-home-editor-homepage .home-cine-hero-copy :is(h1, p)[contenteditable="true"]:hover,
.admin-home-editor-homepage .home-cine-hero-copy :is(h1, p)[contenteditable="true"]:focus {
  background: rgba(8, 33, 43, 0.34);
  border-color: rgba(245, 227, 190, 0.72);
  box-shadow: 0 0 0 2px rgba(245, 227, 190, 0.34);
}

.admin-home-editor-homepage .admin-home-editor-richtext {
  display: block;
  min-height: 9rem;
  padding: 0.7rem 0.85rem;
  border: 1px dashed rgba(40, 123, 164, 0.34);
  border-radius: 0.7rem;
  background: rgba(255, 255, 255, 0.26);
  transition: background 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.admin-home-editor-homepage .admin-home-editor-richtext:hover,
.admin-home-editor-homepage .admin-home-editor-richtext:focus {
  background: rgba(255, 255, 255, 0.38);
  border-color: rgba(40, 123, 164, 0.58);
}

.admin-home-editor-homepage .admin-home-editor-richtext:focus {
  box-shadow: 0 0 0 2px rgba(40, 123, 164, 0.24);
}

.admin-home-editor-homepage .admin-home-editor-heading,
.admin-home-editor-homepage .admin-home-editor-subheading {
  margin: 0;
}

.admin-home-editor-homepage .admin-home-editor-copy {
  margin-top: 0.72rem;
}

.admin-home-editor-homepage .admin-home-editor-copy--hero {
  max-width: 68ch;
}

.admin-home-editor-homepage .admin-home-editor-copy--panel,
.admin-home-editor-homepage .admin-home-editor-copy--word {
  margin-top: 0.6rem;
}

.admin-home-editor-homepage .admin-home-editor-copy--word {
  min-height: 0;
}

.admin-home-editor-homepage .admin-home-editor-control,
.admin-home-editor-homepage .admin-home-editor-inline-control {
  width: 100%;
  box-sizing: border-box;
  font: inherit;
}

.admin-home-editor-homepage .admin-home-editor-control:focus,
.admin-home-editor-homepage .admin-home-editor-inline-control:focus {
  outline: none;
  box-shadow:
    0 0 0 2px rgba(40, 123, 164, 0.22),
    0 8px 18px rgba(57, 117, 147, 0.08);
}

.admin-home-editor-homepage textarea.admin-home-editor-control {
  resize: none;
  overflow: hidden;
}

.admin-home-editor-homepage .admin-home-editor-control {
  border: 1px solid rgba(40, 123, 164, 0.24);
  border-radius: 0.88rem;
  background: rgba(255, 255, 255, 0.94);
  color: #142832;
  padding: 0.72rem 0.9rem;
  box-shadow: 0 8px 18px rgba(57, 117, 147, 0.08);
}

.admin-home-editor-homepage .admin-home-editor-control--title {
  border: 0;
  border-radius: 0;
  padding: 0;
  background: transparent;
  box-shadow: none;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2.3rem, 7vw, 5.5rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: rgba(255, 255, 255, 0.16);
  -webkit-text-stroke: 2px rgba(255, 255, 255, 0.86);
  line-height: 0.94;
}

.admin-home-editor-homepage .admin-home-editor-control--title:hover,
.admin-home-editor-homepage .admin-home-editor-control--title:focus {
  background: rgba(8, 33, 43, 0.16);
  border-radius: 0.42rem;
  box-shadow: 0 0 0 2px rgba(245, 227, 190, 0.42);
}

.admin-home-editor-homepage .admin-home-editor-control--title::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.admin-home-editor-homepage .admin-home-editor-control--hero-copy {
  color: rgba(245, 249, 251, 0.95);
  background: rgba(8, 33, 43, 0.24);
  border-color: rgba(245, 227, 190, 0.28);
  font-size: clamp(1rem, 1.55vw, 1.18rem);
  line-height: 1.72 !important;
  min-height: 7.8rem;
  box-shadow: 0 2px 12px rgba(8, 20, 25, 0.18);
  text-shadow: 0 2px 12px rgba(8, 20, 25, 0.48);
}

.admin-home-editor-homepage .admin-home-editor-control--hero-copy::placeholder {
  color: rgba(245, 249, 251, 0.76);
}

.admin-home-editor-homepage .admin-home-editor-control--monthly-title {
  border: 0;
  border-radius: 0;
  padding: 0;
  background: transparent;
  box-shadow: none;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.9rem, 2.8vw, 2.6rem);
  font-weight: 700;
  line-height: 1.08;
  color: #101416;
}

.admin-home-editor-homepage .admin-home-editor-control--monthly-title:hover,
.admin-home-editor-homepage .admin-home-editor-control--monthly-title:focus {
  background: rgba(255, 255, 255, 0.72);
  border-radius: 0.38rem;
  box-shadow: 0 0 0 2px rgba(40, 123, 164, 0.16);
}

.admin-home-editor-homepage .admin-home-editor-control--panel-copy,
.admin-home-editor-homepage .admin-home-editor-control--word-body {
  line-height: 1.6 !important;
  resize: vertical;
}

.admin-home-editor-homepage .admin-home-editor-control--word-body {
  min-height: clamp(18rem, 34vh, 24rem);
  overflow-y: auto;
  resize: none;
  font-size: 1.02rem;
}

.admin-home-editor-homepage .admin-home-editor-inline {
  display: inline-flex;
  margin-top: 0;
  min-width: 240px;
  width: min(100%, 640px);
  vertical-align: middle;
}

.admin-home-editor-homepage .admin-home-editor-inline--lead,
.admin-home-editor-homepage .admin-home-editor-inline--signature {
  display: flex;
  width: 100%;
}

.admin-home-editor-homepage .admin-home-editor-inline-control {
  border: 1px solid rgba(40, 123, 164, 0.22);
  border-radius: 0.65rem;
  background: rgba(255, 255, 255, 0.88);
  color: #142832;
  font-weight: 700;
  padding: 0.34rem 0.5rem;
  min-height: 2.2rem;
}

.admin-home-editor-homepage .admin-home-editor-word-intro {
  margin: 0.52rem 0 0;
}

.admin-home-editor-homepage .admin-home-editor-word-intro .admin-home-editor-inline-control,
.admin-home-editor-homepage .home-cine-signature .admin-home-editor-inline-control {
  font-weight: 800;
}

@media (max-width: 1100px) {
  .admin-home-editor-homepage .home-cine-info-grid,
  .admin-home-editor-homepage .home-cine-monthly-grid {
    grid-template-columns: 1fr;
  }

}

@media (max-width: 900px) {
  .admin-home-editor-homepage .home-cine-hero-inner {
    min-height: 510px;
  }

  .admin-home-editor-homepage .home-cine-hero-copy h1 {
    -webkit-text-stroke: 1.4px rgba(255, 255, 255, 0.84);
    letter-spacing: 0.02em;
  }

  .admin-home-editor-homepage .home-cine-hero-cards {
    grid-template-columns: 1fr;
    justify-content: center;
  }

  .admin-home-editor-homepage .home-cine-hero-card {
    width: clamp(210px, 58vw, 320px);
  }
}

@media (max-width: 640px) {
  .admin-home-editor-homepage .home-cine-hero,
  .admin-home-editor-homepage .home-cine-info,
  .admin-home-editor-homepage .home-cine-monthly {
    width: calc(100% - 1rem);
  }

  .admin-home-editor-homepage .home-cine-hero-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.6rem;
  }

  .admin-home-editor-homepage .home-cine-brand {
    font-size: 0.9rem;
  }

  .admin-home-editor-homepage .home-cine-panel p {
    font-size: 0.95rem;
  }

  .admin-home-editor-homepage .admin-home-editor-inline,
  .admin-home-editor-homepage .admin-home-editor-inline--lead,
  .admin-home-editor-homepage .admin-home-editor-inline--signature {
    width: 100%;
    min-width: 0;
  }
}

.admin-horaires-editor-preview {
  display: grid;
  gap: 0.95rem;
}

.admin-horaires-editor-preview--exact {
  display: block;
}

.admin-horaires-editor-preview .horaires-wide-container {
  width: min(var(--layout-unified-width), calc(100% - 0.4rem));
  margin-inline: auto;
}

.admin-horaires-editor-preview .admin-horaires-editor-control {
  display: block;
  width: 100%;
  border: 1px solid rgba(40, 123, 164, 0.24);
  border-radius: 0.62rem;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: none;
  color: inherit;
  font: inherit;
  line-height: inherit;
  min-height: 2.14rem;
  padding: 0.36rem 0.58rem;
  transition: border-color 140ms ease, box-shadow 140ms ease, background-color 140ms ease;
}

.admin-horaires-editor-preview .admin-horaires-editor-control:focus {
  border-color: #1d7eaf;
  box-shadow: 0 0 0 3px rgba(40, 123, 164, 0.14);
  background: #fff;
  outline: none;
}

.admin-horaires-editor-preview textarea.admin-horaires-editor-control {
  resize: vertical;
  min-height: 5rem;
  line-height: 1.45;
}

.admin-horaires-editor-preview .admin-horaires-editor-control.is-title {
  min-height: 0;
  padding: 0.08rem 0.34rem;
  border: 1px dashed rgba(40, 123, 164, 0.32);
  border-radius: 0.52rem;
  background: rgba(255, 255, 255, 0.7);
  box-shadow: none;
  color: #397593;
  font-size: inherit;
  font-weight: inherit;
}

.admin-horaires-editor-preview .admin-horaires-editor-control.is-title:hover,
.admin-horaires-editor-preview .admin-horaires-editor-control.is-title:focus {
  border-color: rgba(40, 123, 164, 0.56);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 0 0 3px rgba(40, 123, 164, 0.14);
}

.admin-horaires-editor-preview .admin-horaires-editor-control.is-label {
  min-height: 0;
  padding: 0.1rem 0.34rem;
  border: 1px dashed rgba(40, 123, 164, 0.3);
  border-radius: 0.48rem;
  background: rgba(255, 255, 255, 0.62);
  box-shadow: none;
  color: #217dab;
  font-size: inherit;
  font-weight: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
}

.admin-horaires-editor-preview .admin-horaires-editor-control.is-label:hover,
.admin-horaires-editor-preview .admin-horaires-editor-control.is-label:focus {
  border-color: rgba(40, 123, 164, 0.56);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 0 0 2px rgba(40, 123, 164, 0.14);
}

.admin-horaires-editor-preview .admin-horaires-editor-control.is-subtitle,
.admin-horaires-editor-preview .admin-horaires-editor-control.is-card-title {
  min-height: 2.45rem;
  padding: 0.28rem 0.42rem;
}

.admin-horaires-editor-preview .horaires-liturgy-times .admin-horaires-editor-control.is-chip {
  border: 1px dashed rgba(40, 123, 164, 0.26);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.58);
  box-shadow: none;
  text-align: center;
  font-weight: 700;
  min-height: 0;
  padding: 0.14rem 0.48rem;
}

.admin-horaires-editor-preview .horaires-liturgy-times .admin-horaires-editor-control.is-chip:hover,
.admin-horaires-editor-preview .horaires-liturgy-times .admin-horaires-editor-control.is-chip:focus {
  border-color: rgba(40, 123, 164, 0.5);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 0 0 2px rgba(40, 123, 164, 0.14);
}

.admin-horaires-editor-preview .horaires-liturgy-list .admin-horaires-editor-control.is-list-inline {
  border: 1px dashed rgba(40, 123, 164, 0.26);
  border-radius: 0.42rem;
  background: rgba(255, 255, 255, 0.58);
  box-shadow: none;
  min-height: 0;
  padding: 0.12rem 0.34rem;
}

.admin-horaires-editor-preview .horaires-liturgy-list .admin-horaires-editor-control.is-list-inline:hover,
.admin-horaires-editor-preview .horaires-liturgy-list .admin-horaires-editor-control.is-list-inline:focus {
  border-color: rgba(40, 123, 164, 0.52);
  box-shadow: 0 0 0 2px rgba(40, 123, 164, 0.14);
  background: rgba(255, 255, 255, 0.88);
}

.admin-horaires-editor-preview .admin-horaires-exact-card {
  height: 100%;
}

.admin-sheet {
  position: relative;
  inset: auto;
  z-index: auto;
  display: block;
  margin-top: 1rem;
  padding: 0;
  scroll-margin-top: 92px;
}

.admin-sheet[hidden] {
  display: none !important;
}

.admin-sheet-backdrop {
  display: none;
}

.admin-sheet-panel {
  position: relative;
  width: min(920px, calc(100vw - 1rem));
  max-width: 100%;
  max-height: none;
  margin: 0 auto;
  border: 1px solid rgba(40, 123, 164, 0.24);
  border-radius: 1rem;
  background:
    linear-gradient(160deg, rgba(255, 254, 251, 0.99), rgba(246, 239, 227, 0.96));
  box-shadow: 0 18px 34px rgba(57, 117, 147, 0.12);
  padding: 1rem;
  overflow: visible;
}

.admin-sheet-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  margin-bottom: 0.62rem;
}

.admin-sheet-header h4 {
  margin: 0;
}

.admin-sheet-close {
  border: 1px solid rgba(148, 56, 44, 0.55);
  border-radius: 999px;
  width: 2rem;
  height: 2rem;
  background: #ebcabf;
  color: #672016;
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
}

.admin-sheet-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.68rem;
}

.admin-sheet-actions .btn {
  min-height: 40px;
}

.admin-sheet-actions .btn.is-active {
  background: linear-gradient(145deg, #25688a, #257ca7);
  color: #fff;
}

.admin-sheet-actions .btn.btn-outline.is-active {
  border-color: rgba(37, 124, 167, 0.7);
  background: rgba(40, 123, 164, 0.14);
  color: #257ca7;
}

.admin-sheet-section {
  border-top: 1px solid rgba(40, 123, 164, 0.15);
  padding-top: 0.72rem;
}

.admin-cure-login-page {
  background:
    radial-gradient(circle at 14% 8%, rgba(182, 138, 68, 0.25), transparent 40%),
    radial-gradient(circle at 88% 16%, rgba(40, 123, 164, 0.2), transparent 43%),
    linear-gradient(180deg, #f8f3e8 0%, #eee4d2 45%, #e4d8bf 100%);
}

.admin-cure-login-page main :where(p, li) {
  text-align: left;
  text-justify: auto;
  hyphens: none;
}

.admin-cure-login-page .site-header {
  border-bottom: 1px solid rgba(40, 123, 164, 0.16);
  background: var(--topbar-surface);
}

.admin-cure-login-page .site-header .brand-cross {
  color: var(--brand);
}

.admin-cure-login-page .site-header .brand-text strong,
.admin-cure-login-page .site-header .brand-text small {
  color: var(--ink);
}

.admin-cure-login-page .site-header .menu-toggle,
.admin-cure-login-page .site-header .nav-links a {
  color: var(--ink);
}

.admin-cure-login-page .site-header .nav-links a.is-active,
.admin-cure-login-page .site-header .nav-links a:hover,
.admin-cure-login-page .site-header .nav-links a:focus-visible {
  background: rgba(40, 123, 164, 0.12);
  border-color: rgba(40, 123, 164, 0.24);
  color: var(--brand-strong);
}

.admin-cure-login-page .page-hero-cure-admin {
  display: none;
}

.admin-cure-login-page .section {
  position: relative;
  min-height: calc(100vh - 86px);
  padding: clamp(1.2rem, 2.4vw, 2rem) 0 clamp(1.8rem, 4vw, 3.2rem);
  display: grid;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
}

.admin-cure-login-page .section::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -3;
  background:
    radial-gradient(circle at 20% 18%, rgba(255, 255, 255, 0.42) 0 1px, transparent 1.1px) 0 0 / 52px 52px,
    radial-gradient(circle at 74% 32%, rgba(255, 255, 255, 0.26) 0 0.9px, transparent 1px) 0 0 / 38px 38px,
    linear-gradient(160deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0));
  pointer-events: none;
}

.admin-cure-login-page .section::after {
  content: "";
  position: absolute;
  left: -8%;
  right: -8%;
  bottom: -20%;
  height: clamp(220px, 40vh, 420px);
  z-index: -2;
  background:
    radial-gradient(90% 140% at 10% 100%, rgba(40, 123, 164, 0.2) 0 55%, transparent 57%),
    radial-gradient(92% 150% at 50% 100%, rgba(182, 138, 68, 0.22) 0 56%, transparent 58%),
    radial-gradient(88% 140% at 92% 100%, rgba(40, 123, 164, 0.16) 0 54%, transparent 56%);
  pointer-events: none;
}

.admin-cure-login-page .section .container.cure-page-wide {
  width: min(1460px, calc(100% - 2rem));
  position: relative;
  z-index: 1;
}

.admin-cure-login-layout {
  display: grid;
  grid-template-columns: minmax(460px, 940px);
  justify-content: center;
  justify-items: stretch;
  align-items: start;
  gap: clamp(1rem, 2.6vw, 1.8rem);
}

.admin-cure-login-showcase {
  color: #397593;
  text-align: center;
}

.admin-cure-login-showcase .kicker {
  color: #337799;
}

.admin-cure-login-showcase h2 {
  margin: 0.15rem 0 0.7rem;
  font-size: clamp(2rem, 4.5vw, 4rem);
  line-height: 0.98;
  letter-spacing: 0.01em;
  color: #257ca7;
}

.admin-cure-login-showcase p {
  margin: 0;
  max-width: 38ch;
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  color: #30637c;
  margin-inline: auto;
}

.admin-cure-login-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 1.5rem;
  padding: clamp(1.9rem, 3.8vw, 3rem) clamp(1.55rem, 3vw, 2.45rem);
  min-height: clamp(560px, 68vh, 720px);
  background: linear-gradient(
    138deg,
    rgba(255, 255, 255, 0.18) 0%,
    rgba(255, 255, 255, 0.09) 48%,
    rgba(255, 255, 255, 0.04) 100%
  );
  box-shadow:
    0 30px 68px rgba(57, 117, 147, 0.24),
    0 12px 28px rgba(255, 255, 255, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.72),
    inset 0 -1px 0 rgba(255, 255, 255, 0.24);
  color: #397593;
  backdrop-filter: blur(24px) saturate(175%);
  -webkit-backdrop-filter: blur(24px) saturate(175%);
  width: min(100%, 940px);
  margin-inline: auto;
}

.admin-cure-login-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  z-index: 0;
  background:
    linear-gradient(
      126deg,
      rgba(255, 255, 255, 0.56) 0%,
      rgba(255, 255, 255, 0.18) 36%,
      rgba(255, 255, 255, 0) 68%
    ),
    radial-gradient(circle at 92% 8%, rgba(255, 255, 255, 0.32), transparent 36%);
  opacity: 0.9;
}

.admin-cure-login-card::after {
  content: "";
  position: absolute;
  left: -12%;
  right: -12%;
  bottom: -44%;
  height: 60%;
  z-index: 0;
  background: radial-gradient(80% 120% at 50% 0%, rgba(255, 255, 255, 0.15), transparent 70%);
  pointer-events: none;
}

.admin-cure-login-card > * {
  position: relative;
  z-index: 1;
}

.admin-cure-login-tag {
  margin: 0;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.8rem;
  color: #346b86;
}

.admin-cure-login-card h3 {
  margin: 0.18rem 0 0.3rem;
  font-size: clamp(2.35rem, 4.2vw, 3.2rem);
  line-height: 1;
  color: #297aa3;
}

.admin-cure-login-intro {
  margin: 0 0 0.68rem;
  font-size: 0.95rem;
  color: #224759;
}

.admin-cure-login-form {
  gap: 0.92rem;
}

.admin-cure-login-field {
  gap: 0.18rem;
}

.admin-cure-login-field label {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #397593;
}

.admin-cure-input-wrap {
  position: relative;
}

.admin-cure-input-wrap input {
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.2);
  color: #397593;
  padding: 0.82rem 2.6rem 0.82rem 0.95rem;
  backdrop-filter: blur(10px) saturate(150%);
  -webkit-backdrop-filter: blur(10px) saturate(150%);
}

.admin-cure-input-wrap input[data-cure-password-input] {
  padding-right: 5.9rem;
}

.admin-cure-input-wrap input::placeholder {
  color: #30627b;
}

.admin-cure-input-wrap input:focus {
  outline: 0;
  border-color: rgba(40, 123, 164, 0.52);
  box-shadow: 0 0 0 3px rgba(40, 123, 164, 0.18);
}

.admin-cure-input-icon {
  position: absolute;
  right: 0.8rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.02rem;
  color: #326782;
  pointer-events: none;
}

.admin-cure-password-toggle {
  position: absolute;
  right: 0.5rem;
  top: 50%;
  transform: translateY(-50%);
  min-width: 2.55rem;
  min-height: 1.95rem;
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
  color: transparent;
  font: inherit;
  font-size: 0;
  font-weight: 700;
  cursor: pointer;
  padding: 0.1rem 0.45rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  backdrop-filter: blur(7px) saturate(150%);
  -webkit-backdrop-filter: blur(7px) saturate(150%);
}

.admin-cure-password-toggle::before {
  content: "";
  width: 1.08rem;
  height: 1.08rem;
  display: block;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23163a67' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 12s3.7-6.5 10-6.5c2.1 0 4 .7 5.6 1.8'/%3E%3Cpath d='M22 12s-3.7 6.5-10 6.5c-2.1 0-4-.7-5.6-1.8'/%3E%3Cpath d='M9.9 9.9a3 3 0 0 1 4.2 4.2'/%3E%3Cpath d='M3 3l18 18'/%3E%3C/svg%3E");
}

.admin-cure-password-toggle[aria-pressed="true"]::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23163a67' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 12s3.7-6.5 10-6.5 10 6.5 10 6.5-3.7 6.5-10 6.5S2 12 2 12z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E");
}

.admin-cure-password-toggle:hover,
.admin-cure-password-toggle:focus-visible {
  border-color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.48);
  color: transparent;
}

.admin-cure-login-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  margin-top: 0.06rem;
  font-size: 0.85rem;
}

.admin-cure-login-remember {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: #397593;
}

.admin-cure-login-remember input[type="checkbox"] {
  accent-color: var(--brand);
}

.admin-cure-login-meta a,
.admin-cure-login-help a {
  color: #2e799e;
}

.admin-cure-login-meta a:hover,
.admin-cure-login-meta a:focus-visible,
.admin-cure-login-help a:hover,
.admin-cure-login-help a:focus-visible {
  color: #257ca7;
}

.admin-cure-login-actions {
  margin-top: 0.36rem;
}

.admin-cure-login-submit {
  width: 100%;
  min-height: 2.95rem;
  justify-content: center;
  border: 1px solid rgba(37, 124, 167, 0.34);
  border-radius: 999px;
  font-weight: 800;
  letter-spacing: 0.01em;
  color: #f7f3e8;
  background: linear-gradient(145deg, #25688a, #257ca7);
}

.admin-cure-login-submit:hover,
.admin-cure-login-submit:focus-visible {
  color: #fffdf7;
  border-color: rgba(37, 124, 167, 0.56);
  background: linear-gradient(145deg, #2b7aa1, #227daa);
}

.admin-cure-login-help {
  margin: 1rem 0 0;
  text-align: center;
  font-size: 0.9rem;
  color: #2e5f78;
}

.admin-cure-forgot-box {
  margin-top: 0.72rem;
  border: 1px dashed rgba(255, 255, 255, 0.54);
  border-radius: 0.9rem;
  background: rgba(255, 255, 255, 0.18);
  padding: 0.72rem;
}

.admin-cure-forgot-title {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 800;
  color: #347798;
}

.admin-cure-forgot-text {
  margin: 0.22rem 0 0.52rem;
  font-size: 0.88rem;
  color: #2e5f78;
}

.admin-cure-forgot-form {
  display: grid;
  gap: 0.46rem;
}

.admin-cure-forgot-form .field {
  gap: 0.18rem;
}

.admin-cure-forgot-form .field label {
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.admin-cure-forgot-form .field input {
  border: 1px solid rgba(37, 124, 167, 0.24);
  border-radius: 0.65rem;
  background: rgba(255, 255, 255, 0.76);
  padding: 0.56rem 0.62rem;
}

.admin-cure-forgot-success {
  margin: 0.54rem 0 0;
  border-left: 4px solid rgba(32, 123, 169, 0.86);
  background: rgba(232, 244, 250, 0.82);
  border-radius: 0.58rem;
  padding: 0.44rem 0.56rem;
  color: #2e799e;
  font-size: 0.86rem;
  font-weight: 700;
}

.admin-cure-local-reset-link a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 0.14em;
}

.admin-cure-login-page .admin-toast-card {
  position: absolute;
  top: 1.45rem;
  right: calc(50% - 215px + 2.1rem);
  width: min(220px, calc(100vw - 2rem));
}

.admin-cure-login-page .admin-toast {
  border-radius: 0.78rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(9px);
  -webkit-backdrop-filter: blur(9px);
  padding: 0.4rem 0.66rem;
  font-size: 0.84rem;
}

.admin-cure-login-page .admin-toast-success {
  border-left-color: rgba(32, 123, 169, 0.86);
  background: rgba(232, 244, 250, 0.86);
  color: #2e799e;
}

.admin-cure-login-page .admin-toast-error {
  border-left-color: rgba(160, 59, 44, 0.86);
  background: rgba(255, 239, 236, 0.88);
  color: #6d281d;
}

.admin-cure-page .page-hero-cure-admin {
  padding: 1.25rem 0 1.05rem;
}

.admin-cure-page .page-hero-cure-admin {
  padding: 1.25rem 0 1.05rem;
}

.admin-cure-page .page-hero-cure-admin .inner.cure-admin-hero-shell {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(32, 125, 172, 0.28);
  border-radius: 1.35rem;
  padding: 1.2rem 1.25rem 1.15rem;
  background:
    radial-gradient(circle at 8% 10%, rgba(182, 138, 68, 0.18), transparent 38%),
    radial-gradient(circle at 90% 8%, rgba(40, 123, 164, 0.12), transparent 34%),
    linear-gradient(145deg, rgba(255, 253, 248, 0.98), rgba(244, 236, 221, 0.95));
  box-shadow:
    0 16px 38px rgba(57, 117, 147, 0.17),
    inset 0 1px 0 rgba(255, 255, 255, 0.55);
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  gap: 1.15rem;
}

.cure-admin-hero-shell {
  display: grid;
}

.cure-admin-hero-copy {
  min-width: 0;
}

.cure-admin-hero-copy h1 {
  margin-top: 0.35rem;
  max-width: 22ch;
  font-size: clamp(2rem, 3.9vw, 3.35rem);
  letter-spacing: 0.01em;
}

.cure-admin-hero-copy .breadcrumbs {
  margin-top: 0.42rem;
}

.cure-admin-hero-copy .small.muted {
  margin-top: 0.6rem;
  color: #4d554f;
}

.cure-admin-visual {
  position: relative;
  min-height: 292px;
  border: 1px solid rgba(40, 123, 164, 0.24);
  border-radius: 1.15rem;
  background:
    radial-gradient(circle at 12% 18%, rgba(182, 138, 68, 0.16), transparent 44%),
    radial-gradient(circle at 85% 12%, rgba(40, 123, 164, 0.16), transparent 42%),
    linear-gradient(162deg, rgba(234, 241, 245, 0.86), rgba(220, 233, 239, 0.82));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.68),
    0 14px 26px rgba(57, 117, 147, 0.14);
  display: grid;
  place-items: center;
  padding: 0.62rem;
  overflow: hidden;
}

.cure-admin-visual::before {
  content: "";
  position: absolute;
  right: -16%;
  bottom: -28%;
  width: 70%;
  aspect-ratio: 1 / 1;
  border-radius: 48% 52% 58% 42% / 45% 44% 56% 55%;
  background: linear-gradient(145deg, rgba(182, 138, 68, 0.2), rgba(182, 138, 68, 0.08));
  filter: blur(0.4px);
  pointer-events: none;
}

.cure-admin-illustration {
  position: relative;
  z-index: 1;
  margin: 0;
  width: min(100%, 540px);
  filter: drop-shadow(0 18px 28px rgba(37, 124, 167, 0.22));
  animation: cureIllustrationDrift 8s ease-in-out infinite;
}

.cure-admin-illustration img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 0.95rem;
}

.cure-hero-actions {
  margin-top: 0.82rem;
  display: block;
}

.cure-hero-actions form {
  margin: 0;
}

.cure-command-bar {
  display: flex;
  align-items: center;
  gap: 0.62rem;
  flex-wrap: nowrap;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-overflow-scrolling: touch;
}

.cure-command-bar::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

.cure-command-bar form,
.cure-command-bar .btn {
  flex: 0 0 auto;
}

.cure-command-bar .btn {
  min-height: 2.58rem;
  border: 1px solid rgba(57, 117, 147, 0.28);
  border-radius: 999px;
  background: linear-gradient(145deg, rgba(255, 253, 248, 0.98), rgba(241, 235, 223, 0.96));
  color: #244a5d;
  white-space: nowrap;
  padding-inline: 1rem;
  box-shadow: none;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease, background 0.22s ease;
}

.cure-command-bar .btn:hover,
.cure-command-bar .btn:focus-visible {
  border-color: rgba(40, 123, 164, 0.46);
  background: linear-gradient(145deg, #ffffff, rgba(242, 238, 229, 0.98));
  color: #367696;
  transform: translateY(-1px);
  box-shadow: none;
}

.cure-command-bar .btn.btn-outline,
.cure-command-bar .btn.btn-soft {
  border-color: rgba(57, 117, 147, 0.28);
  background: linear-gradient(145deg, rgba(255, 253, 248, 0.98), rgba(241, 235, 223, 0.96));
  color: #244a5d;
}

.cure-command-bar .btn.btn-outline:hover,
.cure-command-bar .btn.btn-outline:focus-visible,
.cure-command-bar .btn.btn-soft:hover,
.cure-command-bar .btn.btn-soft:focus-visible {
  border-color: rgba(40, 123, 164, 0.46);
  background: linear-gradient(145deg, #ffffff, rgba(242, 238, 229, 0.98));
  color: #367696;
}

.cure-command-bar .btn.cure-logout-btn,
.cure-command-bar .btn.btn-outline.cure-logout-btn {
  border-color: rgba(168, 78, 69, 0.7);
  background: linear-gradient(145deg, #c96a5f, #af4b42);
  color: #fff8f6;
  box-shadow: none;
}

.cure-command-bar .btn.cure-logout-btn:hover,
.cure-command-bar .btn.cure-logout-btn:focus-visible,
.cure-command-bar .btn.btn-outline.cure-logout-btn:hover,
.cure-command-bar .btn.btn-outline.cure-logout-btn:focus-visible {
  border-color: rgba(145, 60, 51, 0.8);
  background: linear-gradient(145deg, #bc5b51, #a1433a);
  color: #ffffff;
  box-shadow: none;
}

.admin-cure-page .admin-cure-main.admin-cure-main--compact {
  padding-top: 0;
  padding-bottom: 0;
}

@keyframes cureIllustrationDrift {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-7px);
  }
}

@media (max-width: 1160px) {
  .admin-cure-login-layout {
    grid-template-columns: 1fr;
    max-width: 760px;
    margin-inline: auto;
  }

  .admin-cure-login-showcase {
    text-align: center;
  }

  .admin-cure-login-showcase p {
    margin-inline: auto;
  }

  .admin-cure-page .page-hero-cure-admin .inner.cure-admin-hero-shell {
    grid-template-columns: 1fr;
  }

  .cure-admin-visual {
    min-height: 250px;
  }
}

@media (max-width: 760px) {
  .admin-cure-login-page .section {
    min-height: calc(100dvh - 70px);
    padding-top: 0.95rem;
  }

  .admin-cure-login-page .section .container.cure-page-wide {
    width: calc(100% - 1rem);
  }

  .admin-cure-login-card {
    min-height: auto;
    padding: 1.05rem;
  }

  .admin-cure-login-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;
  }

  .cure-command-bar {
    padding: 0;
  }

  .cure-command-bar .btn {
    min-height: 2.45rem;
    padding-inline: 0.85rem;
  }

  .cure-admin-visual {
    min-height: 208px;
    padding: 0.45rem;
  }
}

.admin-cure-login-page {
  background: #04070d;
}

.admin-cure-login-page .site-header {
  display: none;
}

.admin-cure-login-page .site-header .brand-cross,
.admin-cure-login-page .site-header .brand-text strong,
.admin-cure-login-page .site-header .brand-text small,
.admin-cure-login-page .site-header .menu-toggle,
.admin-cure-login-page .site-header .nav-links a {
  color: #f5f2ea;
}

.admin-cure-login-page .site-header .nav-links a.is-active,
.admin-cure-login-page .site-header .nav-links a:hover,
.admin-cure-login-page .site-header .nav-links a:focus-visible {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
  color: #ffffff;
}

.admin-cure-login-page .admin-cure-login-main {
  background: #04070d;
}

.admin-cure-login-page .section {
  min-height: 100vh;
  padding: clamp(1rem, 2vw, 1.4rem) 0;
  align-items: center;
  background:
    linear-gradient(180deg, rgba(255, 244, 225, 0.06), rgba(8, 14, 25, 0.12)),
    linear-gradient(135deg, rgba(6, 11, 21, 0.06), rgba(4, 8, 16, 0.24)),
    url("images/photo%20paroisses%202026/03.png") center center / cover no-repeat;
}

.admin-cure-login-page .section::before {
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(circle at 18% 18%, rgba(255, 190, 138, 0.16), transparent 30%),
    radial-gradient(circle at 82% 30%, rgba(132, 166, 228, 0.12), transparent 28%),
    linear-gradient(180deg, rgba(4, 8, 16, 0.04), rgba(4, 8, 16, 0.22));
}

.admin-cure-login-page .section::after {
  left: 0;
  right: 0;
  bottom: 0;
  height: 42%;
  z-index: -1;
  background: linear-gradient(180deg, rgba(4, 8, 16, 0), rgba(2, 5, 10, 0.28));
}

.admin-cure-login-page .section .container.cure-page-wide {
  width: min(1180px, calc(100% - 2rem));
}

.admin-cure-login-layout {
  grid-template-columns: minmax(320px, 430px);
  min-height: min(760px, calc(100vh - 150px));
  justify-content: center;
  align-items: center;
}

.admin-cure-login-card {
  width: min(100%, 430px);
  min-height: auto;
  padding: 1.15rem 1.65rem 1.4rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 1.1rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.1)),
    linear-gradient(180deg, rgba(10, 14, 22, 0.16), rgba(10, 14, 22, 0.1));
  box-shadow:
    0 14px 26px rgba(0, 0, 0, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
  color: #f7f8fb;
  backdrop-filter: blur(3px) saturate(110%);
  -webkit-backdrop-filter: blur(3px) saturate(110%);
}

.admin-cure-login-card::before {
  content: "";
  position: absolute;
  inset: 0;
  display: block;
  border-radius: inherit;
  pointer-events: none;
  z-index: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.06));
}

.admin-cure-login-card::after {
  display: none;
}

.admin-cure-login-window {
  display: flex;
  align-items: center;
  gap: 0.52rem;
  margin-bottom: 0.55rem;
}

.admin-cure-login-window span {
  width: 0.9rem;
  height: 0.9rem;
  border-radius: 50%;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.admin-cure-login-window span:nth-child(1) {
  background: #ff5f57;
}

.admin-cure-login-window span:nth-child(2) {
  background: #febc2e;
}

.admin-cure-login-window span:nth-child(3) {
  background: #2295ce;
}

.admin-cure-login-tag {
  color: rgba(255, 255, 255, 0.94);
  letter-spacing: 0.08em;
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  font-weight: 800;
  text-align: left;
  margin: 0 0 0.9rem;
  text-transform: uppercase;
}

.admin-cure-login-card h3 {
  margin: 0.12rem 0 0.52rem;
  text-align: center;
  color: #ffffff;
  font-family: "Manrope", "Segoe UI", sans-serif;
  font-size: clamp(2.1rem, 3vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}

.admin-cure-login-intro {
  margin: 0 0 1.05rem;
  text-align: left;
  color: rgba(232, 237, 246, 0.8);
  font-size: 0.9rem;
  line-height: 1.45;
}

.admin-cure-login-form {
  gap: 0.95rem;
}

.admin-cure-login-field {
  gap: 0.42rem;
}

.admin-cure-field-label {
  color: rgba(236, 241, 250, 0.8);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 800;
}

.admin-cure-input-field {
  position: relative;
  margin: 0;
  padding-top: 0.1rem;
}

.admin-cure-input-wrap input {
  border: 0;
  border-bottom: 2px solid rgba(255, 255, 255, 0.72);
  border-radius: 0;
  background: transparent;
  color: #ffffff;
  padding: 0.9rem 0 0.45rem;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.admin-cure-input-wrap input[data-cure-password-input] {
  padding-right: 3rem;
}

.admin-cure-input-wrap input::placeholder {
  color: rgba(236, 241, 250, 0.72);
  opacity: 1;
}

.admin-cure-input-wrap input:focus {
  border-color: #ffffff;
  box-shadow: none;
}

.admin-cure-input-icon {
  display: none;
}

.admin-cure-password-toggle {
  right: 0;
  min-width: 2rem;
  min-height: 2rem;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.admin-cure-password-toggle::before {
  width: 1rem;
  height: 1rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 12s3.7-6.5 10-6.5c2.1 0 4 .7 5.6 1.8'/%3E%3Cpath d='M22 12s-3.7 6.5-10 6.5c-2.1 0-4-.7-5.6-1.8'/%3E%3Cpath d='M9.9 9.9a3 3 0 0 1 4.2 4.2'/%3E%3Cpath d='M3 3l18 18'/%3E%3C/svg%3E");
}

.admin-cure-password-toggle[aria-pressed="true"]::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 12s3.7-6.5 10-6.5 10 6.5 10 6.5-3.7 6.5-10 6.5S2 12 2 12z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E");
}

.admin-cure-password-toggle:hover,
.admin-cure-password-toggle:focus-visible {
  background: transparent;
  border: 0;
}

.admin-cure-login-meta {
  margin-top: 0.2rem;
  color: rgba(240, 243, 250, 0.84);
}

.admin-cure-login-remember {
  color: rgba(240, 243, 250, 0.84);
}

.admin-cure-login-remember input[type="checkbox"] {
  accent-color: #ffffff;
}

.admin-cure-login-meta a,
.admin-cure-login-help a {
  color: #ffffff;
  text-decoration: none;
}

.admin-cure-login-meta a:hover,
.admin-cure-login-meta a:focus-visible,
.admin-cure-login-help a:hover,
.admin-cure-login-help a:focus-visible {
  color: #f6d49a;
}

.admin-cure-login-actions {
  margin-top: 0.45rem;
}

.admin-cure-login-submit {
  min-height: 3rem;
  border: 0;
  border-radius: 0.56rem;
  background: #ffffff;
  color: #101725;
  box-shadow: 0 16px 28px rgba(0, 0, 0, 0.22);
}

.admin-cure-login-submit:hover,
.admin-cure-login-submit:focus-visible {
  background: #ffffff;
  color: #101725;
  transform: translateY(-1px);
}

.admin-cure-forgot-box {
  margin-top: 0.95rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 0.95rem;
  background: rgba(255, 255, 255, 0.06);
  padding: 0.9rem;
}

.admin-cure-forgot-title {
  color: #ffffff;
}

.admin-cure-forgot-text,
.admin-cure-forgot-form .field label {
  color: rgba(234, 238, 245, 0.78);
}

.admin-cure-forgot-form .field input {
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 0.7rem;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

.admin-cure-forgot-form .field input::placeholder {
  color: rgba(234, 238, 245, 0.68);
}

.admin-cure-forgot-form .btn {
  min-height: 2.7rem;
  border-radius: 0.7rem;
}

.admin-cure-forgot-success {
  border-left-color: rgba(246, 212, 154, 0.94);
  background: rgba(246, 212, 154, 0.14);
  color: #fff2d8;
}

.admin-cure-login-help {
  margin: 0.8rem 0 0;
  color: rgba(232, 237, 246, 0.72);
  text-align: left;
}

.admin-cure-login-page .admin-toast-success {
  background: rgba(46, 121, 159, 0.28);
  color: #edf8fd;
}

.admin-cure-login-page .admin-toast-error {
  background: rgba(155, 54, 52, 0.28);
  color: #fff1ee;
}

@media (max-width: 640px) {
  .admin-toast-card {
    top: auto;
    right: 0.5rem;
    bottom: 0.65rem;
    left: 0.5rem;
    width: auto;
  }

  .admin-cure-login-page .admin-toast-card {
    top: 0.55rem;
    right: 0.55rem;
    bottom: auto;
    left: 0.55rem;
    width: auto;
  }
}

.admin-cure-login-page .site-footer {
  display: none;
}

.admin-cure-login-page .site-footer p,
.admin-cure-login-page .site-footer a {
  color: rgba(240, 243, 250, 0.74);
}

@media (max-width: 760px) {
  .admin-cure-login-page .section {
    min-height: 100dvh;
    padding: 0.85rem 0 1.2rem;
    background-position: center top;
  }

  .admin-cure-login-page .section .container.cure-page-wide {
    width: calc(100% - 1rem);
  }

  .admin-cure-login-layout {
    min-height: auto;
  }

  .admin-cure-login-card {
    padding: 1rem 1rem 1.15rem;
    border-radius: 1rem;
  }

  .admin-cure-login-card h3 {
    font-size: 1.9rem;
  }

  .admin-cure-login-intro {
    font-size: 0.88rem;
  }

  .admin-cure-login-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.45rem;
  }

}

.admin-events-grid {
  margin-top: 0.85rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.72rem;
}

.admin-event-row {
  background: rgba(255, 253, 248, 0.96);
  border: 1px solid rgba(186, 174, 151, 0.5);
  box-shadow: none;
  padding: 0.8rem;
}

.admin-event-row h4 {
  margin: 0;
  font-size: 1.16rem;
}

.admin-event-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.6rem;
  margin-bottom: 0.5rem;
}

.admin-day-event-card .admin-event-heading {
  position: static;
  padding-right: 0;
  margin-bottom: 0.66rem;
}

.admin-day-event-card .admin-event-remove {
  position: static;
  top: auto;
  right: auto;
  border: 1px solid rgba(128, 40, 28, 0.68);
  border-radius: 999px;
  background: #e6b9b1;
  color: #672016;
  font: inherit;
  font-weight: 700;
  font-size: 0.84rem;
  line-height: 1;
  padding: 0.46rem 0.84rem;
  cursor: pointer;
  transition:
    background-color 0.18s ease,
    color 0.18s ease,
    border-color 0.18s ease;
}

.admin-day-event-card .admin-event-remove:hover,
.admin-day-event-card .admin-event-remove:focus-visible {
  background: #d89388;
  color: #4f170f;
  border-color: rgba(114, 31, 20, 0.8);
}

.admin-day-event-card .admin-event-remove:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.admin-day-event-card .form-actions {
  margin-top: 0.62rem;
}

.admin-day-event-card .form-actions .btn.btn-soft {
  padding: 0.46rem 0.84rem;
  font-size: 0.84rem;
  line-height: 1;
}

.admin-event-row .form-grid.cols-2 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.58rem 0.62rem;
}

.admin-event-row .field:nth-child(1),
.admin-event-row .field:nth-child(2) {
  grid-column: span 2;
}

.admin-event-row .field:nth-child(3),
.admin-event-row .field:nth-child(4) {
  grid-column: span 2;
}

.admin-event-row .field label {
  margin-bottom: 0.22rem;
  font-size: 0.82rem;
  letter-spacing: 0.01em;
}

.admin-event-row .field input,
.admin-event-row .field textarea {
  border-radius: 0.62rem;
  background: #fffdfa;
}

.admin-event-row .field textarea {
  min-height: 88px;
}

.admin-full {
  grid-column: 1 / -1;
}

.admin-actions {
  margin-top: 0.2rem;
}

.section-head-inline {
  margin: 0 0 0.55rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
}

.section-head-inline h3 {
  margin: 0;
}

.cure-requests-card {
  border-color: rgba(40, 123, 164, 0.22);
  background:
    linear-gradient(160deg, rgba(255, 254, 250, 0.96), rgba(246, 240, 229, 0.92));
}

.cure-requests-card .table th,
.cure-requests-card .table td {
  white-space: normal;
}

.request-file-link {
  color: var(--brand-strong);
  text-decoration: underline;
  text-underline-offset: 2px;
  font-weight: 700;
}

.request-file-link:hover,
.request-file-link:focus-visible {
  color: #227daa;
}

.request-file-note {
  color: var(--muted);
  font-size: 0.78rem;
}

.upload-grid {
  display: grid;
  gap: 1rem;
}

.location-request-container {
  width: min(var(--layout-unified-width), calc(100% - 2rem));
}

.location-request-card {
  border: 1px solid rgba(40, 123, 164, 0.34);
  background:
    radial-gradient(circle at 92% 4%, rgba(40, 123, 164, 0.12), transparent 34%),
    linear-gradient(155deg, rgba(237, 244, 247, 0.96), rgba(224, 235, 241, 0.93));
  box-shadow: 0 14px 28px rgba(56, 117, 148, 0.11);
}

.location-request-card h3 {
  color: var(--brand-strong);
}

.location-request-card .required-note {
  color: #1d3c4c;
  font-weight: 600;
}

.location-request-card .field input,
.location-request-card .field select,
.location-request-card .field textarea {
  background: rgba(255, 255, 255, 0.84);
  border-color: rgba(40, 123, 164, 0.26);
}

.location-ui-hero {
  padding: 0.95rem 0 0.48rem;
}

.location-ui-hero .location-ui-hero-inner {
  border: 1px solid rgba(40, 123, 164, 0.2);
  border-radius: 1.15rem;
  overflow: clip;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.82rem;
  padding: clamp(0.72rem, 1.35vw, 1.05rem);
  background:
    radial-gradient(circle at 92% 8%, rgba(40, 123, 164, 0.09), transparent 34%),
    linear-gradient(152deg, rgba(255, 253, 248, 0.97), rgba(246, 239, 225, 0.93));
  box-shadow: 0 12px 28px rgba(57, 117, 147, 0.09);
}

.location-ui-copy {
  padding: 0.2rem 0.1rem 0;
  color: var(--ink);
  display: flex;
  flex-direction: column;
  gap: 0.52rem;
}

.location-ui-copy .kicker {
  color: var(--brand);
}

.location-ui-copy h1 {
  margin: 0.18rem 0 0;
  color: var(--ink);
  font-size: clamp(1.72rem, 3.05vw, 2.34rem);
  max-width: none;
  white-space: nowrap;
}

.location-ui-lead {
  margin: 0.08rem 0 0;
  color: #2b576d;
  max-width: 62ch;
}

.location-ui-room-pills {
  margin-top: 0.22rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.48rem;
}

.location-ui-room-pills span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  border: 1px solid rgba(40, 123, 164, 0.24);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(243, 236, 222, 0.9));
  color: #337799;
  font-size: 0.84rem;
  font-weight: 700;
  padding: 0.1rem 0.68rem;
}

.location-ui-pricing-card {
  margin-top: clamp(0.95rem, 2vw, 1.4rem);
  padding: 0.92rem;
}

.location-ui-pricing-card .table {
  margin-top: 0.32rem;
}

.location-ui-pricing-card .table th,
.location-ui-pricing-card .table td {
  padding: 0.56rem 0.62rem;
}

.location-ui-actions {
  margin-top: 0.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.location-ui-actions .btn {
  box-shadow: 0 10px 20px rgba(4, 13, 24, 0.28);
}

.location-ui-phone-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0.1rem 0;
  color: #257ca7;
  font-weight: 800;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.2em;
}

.location-ui-phone-link:hover,
.location-ui-phone-link:focus-visible {
  color: #237ca9;
}

.location-ui-actions .btn-outline {
  color: var(--brand-strong);
  border-color: rgba(40, 123, 164, 0.34);
  background: rgba(255, 255, 255, 0.78);
}

.location-ui-actions .btn-outline:hover,
.location-ui-actions .btn-outline:focus-visible {
  border-color: rgba(40, 123, 164, 0.52);
  background: rgba(40, 123, 164, 0.1);
}

.location-ui-hero-media {
  margin: 0;
  min-height: 0;
  border: 1px solid rgba(40, 123, 164, 0.2);
  border-radius: 0.98rem;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, rgba(19, 34, 49, 0.96), rgba(26, 45, 63, 0.94));
}

.location-ui-carousel-track {
  display: flex;
  height: 100%;
  min-height: 100%;
  transition: transform 0.42s ease;
  will-change: transform;
  animation: none;
}

.location-ui-carousel.is-js .location-ui-carousel-track {
  animation: none;
}

.location-ui-slide {
  position: relative;
  margin: 0;
  min-width: 100%;
  min-height: 100%;
}

.location-ui-slide img {
  width: 100%;
  height: 100%;
  min-height: 100%;
  display: block;
  max-height: none;
  object-fit: cover;
  filter: saturate(1.08) contrast(1.04);
}

.location-ui-slide-caption {
  position: absolute;
  left: 0.68rem;
  right: 0.68rem;
  bottom: 0.68rem;
  display: grid;
  gap: 0.1rem;
  padding: 0.48rem 0.56rem;
  border-radius: 0.64rem;
  background: linear-gradient(165deg, rgba(11, 21, 28, 0.78), rgba(11, 21, 28, 0.56));
  color: #f8f2e4;
  box-shadow: 0 10px 22px rgba(9, 16, 23, 0.28);
}

.location-ui-slide-caption strong {
  font-size: 0.92rem;
  letter-spacing: 0.02em;
}

.location-ui-slide-caption span {
  font-size: 0.8rem;
  color: rgba(244, 236, 222, 0.92);
}

.location-ui-carousel-btn {
  position: absolute;
  top: 50%;
  z-index: 2;
  transform: translateY(-50%);
  width: 2.05rem;
  height: 2.05rem;
  border: 1px solid rgba(255, 255, 255, 0.48);
  border-radius: 999px;
  background: rgba(7, 14, 21, 0.54);
  color: #fff;
  display: none;
  place-items: center;
  cursor: pointer;
  font-size: 1.12rem;
  line-height: 1;
  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease;
}

.location-ui-carousel-btn.is-prev {
  left: 0.52rem;
}

.location-ui-carousel-btn.is-next {
  right: 0.52rem;
}

.location-ui-carousel-btn:hover,
.location-ui-carousel-btn:focus-visible {
  background: rgba(8, 18, 27, 0.78);
  border-color: rgba(255, 255, 255, 0.72);
  transform: translateY(-50%) scale(1.03);
}

.location-ui-carousel-btn:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.85);
  outline-offset: 1px;
}

.location-ui-carousel-btn[hidden] {
  display: none !important;
}

.location-ui-carousel.is-js .location-ui-carousel-btn {
  display: grid;
}

.location-ui-carousel-dots {
  position: absolute;
  left: 50%;
  bottom: 0.55rem;
  z-index: 2;
  transform: translateX(-50%);
  display: none;
  gap: 0.36rem;
}

.location-ui-carousel.is-js .location-ui-carousel-dots {
  display: flex;
}

.location-ui-carousel-dots button {
  width: 0.52rem;
  height: 0.52rem;
  border-radius: 999px;
  border: 0;
  background: rgba(255, 255, 255, 0.5);
  padding: 0;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}

.location-ui-carousel-dots button:hover,
.location-ui-carousel-dots button:focus-visible {
  background: rgba(255, 255, 255, 0.8);
  transform: scale(1.12);
}

.location-ui-carousel-dots button.is-active {
  background: rgba(255, 255, 255, 0.98);
  transform: scale(1.2);
}

/* Split infinite carousels: left Salle B, right Salle A. */
.location-ui-hero-media.location-ui-carousel {
  --room-card-width: clamp(118px, 10.5vw, 158px);
  --room-card-gap: clamp(0.4rem, 0.7vw, 0.62rem);
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.72rem;
  align-items: stretch;
  padding: 0;
}

.location-ui-room-rail {
  position: relative;
  border: 1px solid rgba(40, 123, 164, 0.2);
  border-radius: 1.08rem;
  overflow: hidden;
  padding: 0.68rem 0.7rem 2.72rem;
  background:
    radial-gradient(circle at 12% 20%, rgba(112, 163, 219, 0.24), transparent 28%),
    radial-gradient(circle at 88% 84%, rgba(31, 84, 118, 0.24), transparent 36%),
    linear-gradient(160deg, #132435, #193049 54%, #15283b);
  box-shadow:
    inset 0 0 0 1px rgba(189, 211, 234, 0.14),
    0 14px 28px rgba(11, 21, 32, 0.18);
  isolation: isolate;
}

.location-ui-room-rail.is-salle-a {
  order: 1;
}

.location-ui-room-rail.is-salle-b {
  order: 2;
}

.location-ui-room-rail::before,
.location-ui-room-rail::after {
  content: "";
  position: absolute;
  top: 2.15rem;
  bottom: 0.95rem;
  width: 52px;
  z-index: 5;
  pointer-events: none;
}

.location-ui-room-rail::before {
  left: 0;
  background: linear-gradient(90deg, rgba(18, 32, 46, 0.9), rgba(18, 32, 46, 0));
}

.location-ui-room-rail::after {
  right: 0;
  background: linear-gradient(270deg, rgba(18, 32, 46, 0.9), rgba(18, 32, 46, 0));
}

.location-ui-room-label {
  margin: 0 0 0.54rem;
  color: #edf5ff;
  font-size: 0.82rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  font-weight: 800;
  position: relative;
  z-index: 6;
}

.location-ui-room-rail .location-ui-carousel-track {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--room-card-gap);
  width: 100%;
  min-height: 0;
  height: auto;
  transition: none;
  padding-inline: 0;
}

.location-ui-room-rail .location-ui-slide {
  min-width: 0;
  min-height: 0;
  margin: 0;
  width: 100%;
  border-radius: 0.95rem;
  overflow: hidden;
  border: 1px solid rgba(202, 219, 238, 0.32);
  background: #0d1b28;
  box-shadow: 0 10px 20px rgba(8, 15, 24, 0.28);
}

.location-ui-room-rail .location-ui-slide img {
  min-height: 0;
  height: auto;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  filter: saturate(1.08) contrast(1.04);
}

.location-ui-room-rail.is-js {
  --location-room-height: clamp(240px, 23vw, 312px);
  --location-room-offset: clamp(118px, 16vw, 188px);
  --location-room-side-scale: 0.78;
  perspective: 1900px;
}

.location-ui-room-rail.is-js .location-ui-carousel-btn {
  display: grid;
  top: calc(50% + 0.8rem);
  z-index: 9;
  width: 2.45rem;
  height: 2.45rem;
  background: rgba(8, 18, 27, 0.72);
  border-color: rgba(255, 255, 255, 0.64);
  box-shadow: 0 14px 28px rgba(6, 13, 20, 0.28);
}

.location-ui-room-rail.is-js .location-ui-carousel-btn.is-prev {
  left: 0.68rem;
}

.location-ui-room-rail.is-js .location-ui-carousel-btn.is-next {
  right: 0.68rem;
}

.location-ui-room-rail.is-js .location-ui-carousel-btn span {
  display: inline-block;
  font-size: 1.42rem;
  line-height: 1;
  transform: translateY(-1px);
}

.location-ui-room-rail.is-js .location-ui-carousel-track {
  display: block;
  position: relative;
  width: 100%;
  height: var(--location-room-height);
  min-height: 0;
  overflow: visible;
  transform-style: preserve-3d;
}

.location-ui-room-rail.is-js .location-ui-slide {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(56%, 360px);
  height: 88%;
  min-width: 0;
  min-height: 0;
  margin: 0;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -50%) scale(0.68) rotateY(0deg);
  filter: blur(2.8px) saturate(0.82) brightness(0.86);
  transition:
    transform 0.72s cubic-bezier(0.19, 0.9, 0.24, 1),
    opacity 0.42s ease,
    filter 0.42s ease,
    box-shadow 0.42s ease;
  transform-style: preserve-3d;
  backface-visibility: hidden;
  box-shadow:
    0 18px 36px rgba(6, 13, 20, 0.3),
    0 0 0 1px rgba(255, 255, 255, 0.08);
}

.location-ui-room-rail.is-js .location-ui-slide img {
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  filter: saturate(1.04) contrast(1.02);
}

.location-ui-room-rail.is-js .location-ui-slide.is-active {
  z-index: 4;
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, -50%) scale(1) translateZ(0) rotateY(0deg);
  filter: none;
  box-shadow:
    0 26px 48px rgba(7, 14, 21, 0.34),
    0 0 0 1px rgba(255, 255, 255, 0.18);
}

.location-ui-room-rail.is-js .location-ui-slide.is-prev {
  z-index: 3;
  opacity: 0.72;
  transform: translate(calc(-50% - var(--location-room-offset)), -50%) rotateY(42deg)
    scale(var(--location-room-side-scale));
  filter: blur(1.4px) saturate(0.88) brightness(0.9);
}

.location-ui-room-rail.is-js .location-ui-slide.is-next {
  z-index: 3;
  opacity: 0.72;
  transform: translate(calc(-50% + var(--location-room-offset)), -50%) rotateY(-42deg)
    scale(var(--location-room-side-scale));
  filter: blur(1.4px) saturate(0.88) brightness(0.9);
}

.location-ui-room-rail.is-js .location-ui-slide.is-hidden {
  z-index: 1;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.56);
}

.location-ui-slide-meta {
  position: absolute;
  right: 0.72rem;
  bottom: 0.72rem;
  z-index: 2;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.28s ease, transform 0.28s ease;
}

.location-ui-slide-index {
  display: inline-flex;
  align-items: center;
  min-height: 2.1rem;
  padding: 0.22rem 0.82rem;
  border-radius: 0.9rem;
  background: rgba(255, 255, 255, 0.96);
  color: #151d23;
  font-size: 0.78rem;
  font-weight: 800;
  box-shadow: 0 10px 24px rgba(10, 18, 28, 0.18);
}

.location-ui-room-rail.is-js .location-ui-slide.is-active .location-ui-slide-meta {
  opacity: 1;
  transform: translateY(0);
}

.location-ui-room-rail.is-js .location-ui-carousel-dots {
  display: flex;
  left: 50%;
  right: auto;
  bottom: 0.4rem;
  z-index: 8;
  transform: translateX(-50%);
  gap: 0.16rem;
  justify-content: center;
}

.location-ui-room-rail.is-js .location-ui-carousel-dots button {
  width: 1.05rem;
  height: 1.05rem;
  display: grid;
  place-items: center;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.location-ui-room-rail.is-js .location-ui-carousel-dots button:hover,
.location-ui-room-rail.is-js .location-ui-carousel-dots button:focus-visible {
  background: transparent;
  box-shadow: none;
  transform: none;
}

.location-ui-room-rail.is-js .location-ui-carousel-dots button.is-active {
  width: 1.05rem;
  border-radius: 0;
  background: transparent;
  transform: none;
}

.location-ui-room-rail.is-js .location-ui-carousel-dots button::before {
  content: "★";
  color: rgba(255, 255, 255, 0.36);
  font-size: 0.92rem;
  line-height: 1;
  transition: transform 0.2s ease, color 0.2s ease, text-shadow 0.2s ease;
}

.location-ui-room-rail.is-js .location-ui-carousel-dots button:hover::before,
.location-ui-room-rail.is-js .location-ui-carousel-dots button:focus-visible::before {
  color: rgba(255, 241, 208, 0.78);
  transform: scale(1.08);
}

.location-ui-room-rail.is-js .location-ui-carousel-dots button.is-active::before {
  color: #f5dba1;
  text-shadow: 0 0 10px rgba(245, 219, 161, 0.38);
  transform: scale(1.08);
}

.location-ui-carousel-dots[hidden] {
  display: none !important;
}


.location-ui-strip {
  padding: 0.55rem 0 1.35rem;
}

.location-ui-strip-grid {
  border: 1px solid rgba(40, 123, 164, 0.16);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 12px 26px rgba(57, 117, 147, 0.08);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.location-ui-strip-card {
  padding: 0.95rem 1rem;
}

.location-ui-strip-card + .location-ui-strip-card {
  border-left: 1px solid rgba(40, 123, 164, 0.15);
}

.location-ui-strip-value {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.45rem, 2.2vw, 1.95rem);
  font-weight: 700;
  color: #0f3144;
}

.location-ui-strip-label {
  margin: 0.1rem 0 0;
  color: #3d4e58;
  font-size: 0.94rem;
}

.location-ui-main {
  padding-top: 0.45rem;
}

.location-ui-main-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
}

.location-ui-main-grid > article {
  height: 100%;
}

.location-ui-main-grid .location-ui-contact-card.bapteme-contact-side {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.location-ui-contact-name {
  margin: 0;
  font-size: 1.08rem;
  font-weight: 700;
  color: #257ca7;
}

.location-ui-actions-contact {
  margin-top: 0.5rem;
}

.location-ui-card {
  border: 1px solid rgba(40, 123, 164, 0.22);
  border-radius: 1rem;
  background:
    linear-gradient(150deg, rgba(255, 254, 251, 0.98), rgba(245, 239, 227, 0.9));
  box-shadow: 0 12px 26px rgba(57, 117, 147, 0.09);
  padding: 1.06rem;
}

.location-ui-card h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-top: 0.25rem;
}

.location-ui-card h3 {
  font-size: 1.18rem;
  margin: 0.75rem 0 0.2rem;
  color: #257ca7;
}

.location-ui-card ul {
  margin: 0.25rem 0 0;
  padding-left: 1.05rem;
}

.location-ui-card li + li {
  margin-top: 0.27rem;
}

.location-ui-card-dark {
  position: relative;
  color: #367696;
  border-color: rgba(40, 123, 164, 0.24);
  background:
    radial-gradient(circle at 8% 14%, rgba(40, 123, 164, 0.12), transparent 36%),
    radial-gradient(circle at 92% 84%, rgba(182, 138, 68, 0.14), transparent 42%),
    linear-gradient(156deg, rgba(254, 252, 246, 0.98), rgba(241, 235, 221, 0.94));
}

.location-ui-card-dark::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 5px;
  border-radius: 1rem 1rem 0 0;
  background: linear-gradient(90deg, rgba(40, 123, 164, 0.75), rgba(165, 124, 63, 0.45));
}

.location-ui-card-dark .kicker,
.location-ui-card-dark h2,
.location-ui-card-dark h3 {
  color: #2b7aa1;
}

.location-ui-card-dark li {
  color: #397593;
}

.location-ui-card .table {
  margin-top: 0.45rem;
}

.location-ui-contact-line {
  margin: 0.62rem 0 0;
  font-size: 0.93rem;
}

.location-ui-contact-line a {
  color: var(--brand-strong);
  font-weight: 700;
}

.location-ui-contact-line a:hover,
.location-ui-contact-line a:focus-visible {
  color: #257ca7;
}

.location-ui-contact-strong-link {
  color: #2a7aa2;
  text-decoration: underline;
  text-underline-offset: 0.14em;
  font-weight: 800;
  word-break: break-word;
}

.location-ui-contact-strong-link:hover,
.location-ui-contact-strong-link:focus-visible {
  color: #277ba5;
}

@media (max-width: 1080px) {
  .location-ui-hero .location-ui-hero-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.72rem;
    padding: 0.72rem;
  }

  .location-ui-hero-media {
    min-height: 0;
  }

  .location-ui-hero-media.location-ui-carousel {
    --room-card-width: clamp(132px, 40vw, 176px);
    --room-card-gap: 0.5rem;
    grid-template-columns: minmax(0, 1fr);
    gap: 0.62rem;
  }

  .location-ui-room-rail {
    padding: 0.56rem 0.56rem 2.38rem;
  }

  .location-ui-room-rail::before,
  .location-ui-room-rail::after {
    top: 2rem;
    width: 36px;
  }

  .location-ui-room-label {
    font-size: 0.74rem;
  }

  .location-ui-room-rail.is-js {
    --location-room-height: clamp(214px, 50vw, 286px);
    --location-room-offset: clamp(96px, 20vw, 148px);
    padding-bottom: 2.32rem;
  }

  .location-ui-room-rail.is-js .location-ui-slide {
    width: min(60%, 330px);
  }

  .location-ui-room-rail.is-js .location-ui-carousel-btn {
    top: calc(50% + 0.7rem);
    width: 2.28rem;
    height: 2.28rem;
  }

  .location-ui-strip-grid,
  .location-ui-main-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .location-ui-strip-card + .location-ui-strip-card {
    border-left: 0;
    border-top: 1px solid rgba(40, 123, 164, 0.15);
  }
}

@media (max-width: 760px) {
  .location-ui-copy h1 {
    white-space: normal;
  }

  .location-ui-room-rail.is-js {
    --location-room-height: clamp(194px, 66vw, 252px);
    --location-room-offset: clamp(72px, 18vw, 110px);
  }

  .location-ui-room-rail.is-js .location-ui-carousel-dots {
    left: 50%;
    bottom: 0.34rem;
    transform: translateX(-50%);
  }

  .location-ui-room-rail.is-js .location-ui-carousel-btn {
    top: calc(50% + 0.55rem);
    width: 2.12rem;
    height: 2.12rem;
  }

  .location-ui-room-rail.is-js .location-ui-carousel-btn.is-prev {
    left: 0.45rem;
  }

  .location-ui-room-rail.is-js .location-ui-carousel-btn.is-next {
    right: 0.45rem;
  }

  .location-ui-room-rail.is-js .location-ui-carousel-btn span {
    font-size: 1.25rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .location-ui-carousel-track {
    animation: none !important;
  }

  .location-ui-room-rail.is-js .location-ui-slide {
    transition: none !important;
  }
}

.time-range {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 0.55rem;
}

.time-range span {
  font-weight: 800;
  color: var(--brand-strong);
  padding-inline: 0.2rem;
}

.bapteme-switcher {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.bapteme-switch-btn {
  border: 1px solid rgba(40, 123, 164, 0.32);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  color: #2f2c27;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 700;
  padding: 0.5rem 0.9rem;
  cursor: pointer;
  transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.bapteme-switch-btn:hover,
.bapteme-switch-btn:focus-visible {
  border-color: rgba(40, 123, 164, 0.5);
  background: rgba(40, 123, 164, 0.08);
  color: var(--brand-strong);
}

.bapteme-switch-btn.is-active {
  border-color: rgba(40, 123, 164, 0.64);
  background: linear-gradient(145deg, rgba(40, 123, 164, 0.14), rgba(40, 123, 164, 0.1));
  color: var(--brand-strong);
}

.bapteme-panel {
  margin-top: 0.2rem;
  border: 1px solid rgba(40, 123, 164, 0.16);
  border-radius: 0.95rem;
  background: rgba(255, 252, 245, 0.85);
  padding: 0.85rem;
  display: grid;
  gap: 0.75rem;
}

.bapteme-panel[hidden] {
  display: none !important;
}

.bapteme-panel-enfant {
  border-color: rgba(182, 138, 68, 0.35);
  background:
    linear-gradient(155deg, rgba(255, 250, 239, 0.95), rgba(253, 244, 225, 0.88));
}

.bapteme-panel-adulte {
  border-color: rgba(40, 123, 164, 0.32);
  background:
    linear-gradient(155deg, rgba(240, 246, 249, 0.96), rgba(228, 239, 244, 0.9));
}

.panel-kicker {
  margin: 0;
  color: var(--brand);
  font-size: 0.74rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 800;
}

.panel-intro {
  margin: 0;
  color: #36322c;
  font-size: 0.93rem;
}

.relation-block {
  border: 1px solid rgba(40, 123, 164, 0.2);
  border-radius: 0.85rem;
  background: rgba(255, 255, 255, 0.68);
  padding: 0.72rem;
  display: grid;
  gap: 0.7rem;
}

.relation-title {
  margin: 0;
  color: var(--brand);
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 800;
}

.relation-block-parents {
  border-color: rgba(182, 138, 68, 0.45);
  background: rgba(255, 248, 236, 0.78);
}

.relation-block-parrains {
  border-color: rgba(40, 123, 164, 0.32);
  background: rgba(240, 246, 249, 0.82);
}

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

.payment-card {
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: var(--bg-panel);
  box-shadow: 0 8px 20px rgba(52, 49, 43, 0.07);
  padding: 1rem;
}

.payment-card h4 {
  margin: 0 0 0.45rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  border: 1px solid rgba(40, 123, 164, 0.25);
  background: rgba(40, 123, 164, 0.08);
  color: var(--brand-strong);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.single-don-wrap {
  width: min(1540px, 100%);
}

.single-don-card h4 {
  margin-top: 1rem;
}

.official-don-box {
  margin: 1rem 0;
  border: 2px solid #257ca7;
  border-radius: 0.95rem;
  padding: 1rem;
  background:
    linear-gradient(160deg, #dbe9f0 0%, #edf4f8 54%, #f7f2e4 100%);
  box-shadow: 0 12px 24px rgba(37, 124, 167, 0.14);
}

.official-don-kicker {
  margin: 0;
  color: #257ca7;
  font-size: 0.76rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  font-weight: 800;
}

.official-don-box h4 {
  margin: 0.35rem 0 0.35rem;
}

.dons-immersive-section {
  padding-top: 1.1rem;
}

.dons-museum-grid {
  width: min(1540px, 100%);
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 1.1rem;
  align-items: start;
}

.dons-museum-side {
  position: sticky;
  top: calc(var(--topbar-height) + 1rem);
  border: 1px solid rgba(20, 63, 73, 0.25);
  border-radius: 1.2rem;
  background: linear-gradient(170deg, #f8f9fc 0%, #f8f3e7 55%, #f2ebda 100%);
  box-shadow: 0 16px 28px rgba(13, 33, 44, 0.15);
  padding: 0.95rem;
  display: grid;
  gap: 0.85rem;
}

.dons-side-window {
  display: flex;
  gap: 0.35rem;
  padding: 0.2rem 0.3rem 0.15rem;
}

.dons-side-window span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: linear-gradient(135deg, #6bbae2, #228bbf);
  box-shadow: 0 3px 8px rgba(24, 128, 180, 0.25);
}

.dons-side-window span:last-child {
  background: linear-gradient(135deg, #f8bb6f, #e28a47);
  box-shadow: 0 3px 8px rgba(140, 80, 18, 0.24);
}

.dons-side-badge {
  width: 78px;
  height: 78px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  justify-self: center;
  margin: 0.18rem 0;
  background: radial-gradient(circle at 35% 30%, #203f63, #0f2237 66%, #0a1a2d 100%);
  border: 3px solid rgba(220, 183, 119, 0.78);
  box-shadow: 0 10px 18px rgba(11, 28, 44, 0.28);
}

.dons-side-badge span {
  color: #f3deba;
  font-size: 1.9rem;
  line-height: 1;
}

.dons-side-card {
  border: 1px solid rgba(36, 124, 168, 0.2);
  border-radius: 0.95rem;
  padding: 0.85rem;
  background: rgba(255, 255, 255, 0.9);
}

.dons-side-kicker {
  margin: 0;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 800;
  color: #1d7eaf;
}

.dons-side-card h3 {
  margin: 0.35rem 0 0.12rem;
  font-size: 2rem;
  line-height: 1;
}

.dons-side-card p {
  margin: 0.2rem 0 0;
  color: #39342e;
  font-size: 1.02rem;
}

.dons-museum-main {
  display: grid;
  gap: 0;
  align-items: start;
  position: relative;
}

.dons-hero {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(213, 178, 112, 0.5);
  border-radius: 1.3rem;
  background:
    linear-gradient(120deg, rgba(13, 45, 58, 0.97) 0%, rgba(39, 123, 165, 0.9) 45%, rgba(178, 142, 79, 0.55) 100%),
    url("images/history/sathonay-camp-boulevard-castellane.jpg");
  background-size: cover;
  background-position: center;
  min-height: 420px;
  box-shadow: 0 16px 28px rgba(18, 35, 45, 0.22);
}

.dons-hero::before,
.dons-hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.dons-hero::before {
  width: 320px;
  height: 320px;
  left: -170px;
  top: -120px;
  background: rgba(129, 180, 206, 0.28);
  border: 1px solid rgba(216, 194, 152, 0.42);
}

.dons-hero::after {
  width: 210px;
  height: 210px;
  right: -78px;
  bottom: -72px;
  background: rgba(196, 150, 78, 0.35);
  border: 1px solid rgba(230, 208, 165, 0.4);
}

.dons-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, rgba(8, 26, 35, 0.7), rgba(8, 21, 31, 0.3));
}

.dons-hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  align-content: start;
  gap: 0.6rem;
  padding: 1.15rem 1.25rem;
  color: #fff7e6;
  max-width: 58ch;
}

.dons-hero-top {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.dons-hero h2 {
  margin: 0;
  color: #fff4dc;
  font-size: clamp(2.05rem, 4.2vw, 3.2rem);
  line-height: 1.04;
  text-wrap: balance;
}

.dons-hero-subtitle {
  margin: 0;
  color: rgba(249, 240, 223, 0.95);
  font-size: 1.04rem;
  line-height: 1.5;
}

.dons-float {
  margin: -3.2rem 1.35rem 0;
  position: relative;
  z-index: 2;
  border: 1px solid rgba(35, 124, 169, 0.23);
  border-radius: 1.1rem;
  background: linear-gradient(170deg, rgba(255, 255, 255, 0.97), rgba(246, 240, 225, 0.95));
  box-shadow: 0 16px 28px rgba(18, 31, 42, 0.16);
  padding: 1rem;
  display: grid;
  gap: 0.9rem;
}

.dons-letter-card {
  border: 1px solid rgba(182, 138, 68, 0.35);
  border-left: 4px solid rgba(161, 100, 33, 0.8);
  border-radius: 1rem;
  background: linear-gradient(168deg, rgba(255, 253, 248, 0.98), rgba(247, 238, 220, 0.95));
  padding: 1rem;
}

.dons-letter-card h3 {
  margin-bottom: 0.55rem;
}

.dons-letter-card p {
  margin: 0.58rem 0 0;
  text-align: justify;
}

.dons-signature {
  font-style: italic;
  text-align: right;
  color: #5c4526;
  font-weight: 700;
}

.dons-projects {
  border: 1px solid rgba(182, 138, 68, 0.32);
  border-radius: 1rem;
  padding: 1rem;
  background: linear-gradient(160deg, rgba(255, 255, 252, 0.98), rgba(247, 241, 229, 0.95));
}

.dons-projects h3 {
  margin-bottom: 0.7rem;
}

.dons-project-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.dons-project-card {
  border: 1px solid rgba(40, 123, 164, 0.18);
  border-radius: 0.9rem;
  background: rgba(255, 255, 255, 0.9);
  padding: 0.8rem;
}

.dons-project-card h4 {
  margin: 0 0 0.35rem;
  color: #8b4d15;
}

.dons-project-card p {
  margin: 0.35rem 0 0;
}

.dons-estimation {
  font-weight: 800;
  color: #287ba4;
}

.dons-impact {
  border-radius: 1rem;
  border: 1px solid rgba(140, 80, 24, 0.46);
  background: linear-gradient(155deg, #9b5319, #8b4314);
  color: #fff5e2;
  text-align: center;
  box-shadow: 0 16px 28px rgba(74, 38, 14, 0.24);
}

.dons-impact-kicker {
  margin: 0;
  font-size: 1.02rem;
  font-weight: 800;
  color: rgba(255, 237, 204, 0.96);
}

.dons-impact h3 {
  margin: 0.5rem 0 0;
  color: #fffaf0;
  font-size: clamp(2rem, 3.8vw, 2.65rem);
}

.dons-impact p {
  margin: 0.48rem 0 0;
  color: rgba(255, 241, 217, 0.95);
  text-align: center;
}

.dons-impact .btn {
  margin-top: 0.8rem;
  border: 1px solid rgba(255, 234, 196, 0.68);
  background: rgba(255, 247, 232, 0.97);
  color: #804012;
}

.dons-copy-shell {
  padding-top: 1rem;
}

.dons-copy-ui {
  width: min(1540px, 100%);
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 1.1rem;
  align-items: start;
}

.dons-copy-sidebar {
  border-radius: 1.2rem;
  border: 1px solid rgba(17, 58, 72, 0.24);
  background: linear-gradient(170deg, #fbfdff 0%, #f5f8ff 54%, #f5efe2 100%);
  box-shadow: 0 14px 24px rgba(10, 29, 43, 0.16);
  padding: 0.95rem;
  display: grid;
  gap: 0.8rem;
  position: sticky;
  top: calc(var(--topbar-height) + 1rem);
}

.dons-copy-dots {
  display: flex;
  gap: 0.4rem;
}

.dons-copy-dots span {
  width: 11px;
  height: 11px;
  border-radius: 999px;
  background: linear-gradient(140deg, #6cc1eb, #1d89bf);
}

.dons-copy-dots span:last-child {
  background: linear-gradient(140deg, #fac079, #e18a46);
}

.dons-copy-orb {
  width: 84px;
  height: 84px;
  justify-self: center;
  border-radius: 999px;
  border: 3px solid rgba(223, 186, 121, 0.78);
  box-shadow: 0 10px 18px rgba(10, 29, 43, 0.24);
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 30% 30%, #254768, #0e2035);
}

.dons-copy-orb span {
  font-size: 2rem;
  color: #f6dfb6;
}

.dons-copy-panel {
  border: 1px solid rgba(37, 124, 167, 0.2);
  border-radius: 0.95rem;
  background: #ffffffe8;
  padding: 0.82rem;
}

.dons-copy-kicker {
  margin: 0;
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 800;
  color: #1980b3;
}

.dons-copy-panel h2 {
  margin: 0.3rem 0 0.14rem;
  font-size: 2rem;
  line-height: 1;
}

.dons-copy-panel p {
  margin: 0.2rem 0 0;
  color: #3b362f;
}

.dons-copy-btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 50px;
  padding: 0.68rem 1.1rem;
  border-radius: 999px;
  border: 1px solid rgba(31, 126, 173, 0.42);
  background: linear-gradient(135deg, #1880b4, #1f7ead);
  color: #eff5f8;
  text-decoration: none;
  font-weight: 700;
}

.dons-copy-stage {
  display: grid;
  gap: 0;
}

.dons-copy-nav {
  border: 1px solid rgba(17, 58, 72, 0.24);
  border-radius: 1.1rem 1.1rem 0 0;
  border-bottom: 0;
  background: #f8fbff;
  padding: 0.72rem 0.95rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.8rem;
}

.dons-copy-brand {
  margin: 0;
  color: #11273f;
  font-weight: 700;
}

.dons-copy-nav nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.dons-copy-nav a {
  text-decoration: none;
  color: #1d2f48;
  font-size: 0.85rem;
  border: 1px solid rgba(28, 53, 78, 0.22);
  border-radius: 999px;
  padding: 0.22rem 0.58rem;
}

.dons-copy-hero {
  border: 1px solid rgba(20, 57, 76, 0.35);
  border-radius: 0 0 1.2rem 1.2rem;
  min-height: 420px;
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(125deg, rgba(8, 19, 51, 0.95), rgba(15, 45, 84, 0.78)),
    url("images/history/histoire-camp-sathonaycamp.jpeg");
  background-position: center;
  background-size: cover;
  box-shadow: 0 18px 28px rgba(9, 25, 47, 0.25);
}

.dons-copy-hero::after {
  content: "";
  position: absolute;
  right: -70px;
  bottom: -90px;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(255, 118, 75, 0.84), rgba(255, 89, 66, 0.65));
}

.dons-copy-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, rgba(7, 17, 37, 0.68), rgba(8, 20, 38, 0.2));
}

.dons-copy-hero-content {
  position: relative;
  z-index: 1;
  padding: 1.35rem;
  max-width: 56ch;
  color: #fef3db;
}

.dons-copy-top {
  margin: 0;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 800;
}

.dons-copy-hero h1 {
  margin: 0.4rem 0 0.45rem;
  color: #fff4df;
  font-size: clamp(2rem, 4.5vw, 3.1rem);
  line-height: 1.04;
}

.dons-copy-hero p {
  margin: 0;
  font-size: 1.06rem;
  line-height: 1.5;
}

.dons-copy-floating {
  margin: -2.2rem 1.25rem 0;
  position: relative;
  z-index: 3;
  border: 1px solid rgba(21, 66, 82, 0.3);
  border-radius: 1rem;
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.96), rgba(246, 241, 231, 0.95));
  box-shadow: 0 16px 24px rgba(10, 28, 42, 0.2);
  padding: 0.85rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 170px minmax(0, 1fr);
  gap: 0.7rem;
  align-items: stretch;
}

.dons-copy-project {
  border: 1px solid rgba(38, 123, 166, 0.18);
  border-radius: 0.85rem;
  background: rgba(255, 255, 255, 0.88);
  padding: 0.75rem;
}

.dons-copy-project h3 {
  margin: 0 0 0.32rem;
  color: #924f16;
}

.dons-copy-project p {
  margin: 0.35rem 0 0;
  color: #3d352e;
}

.dons-copy-estimation {
  font-weight: 800;
  color: #1980b3;
}

.dons-copy-total {
  border-radius: 0.95rem;
  background: radial-gradient(circle at 35% 30%, #182a47, #0d1930 70%);
  border: 1px solid rgba(19, 37, 66, 0.5);
  color: #f8e8c2;
  display: grid;
  place-content: center;
  text-align: center;
  padding: 0.7rem;
  box-shadow: 0 12px 18px rgba(10, 24, 42, 0.3);
}

.dons-copy-total span {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
}

.dons-copy-total strong {
  margin-top: 0.3rem;
  font-size: 1.5rem;
  line-height: 1.1;
}

.dons-copy-letter {
  margin-top: 0.9rem;
  border: 1px solid rgba(174, 133, 69, 0.42);
  border-left: 4px solid rgba(150, 90, 30, 0.8);
  border-radius: 1rem;
  background: linear-gradient(165deg, rgba(255, 254, 251, 0.98), rgba(247, 238, 221, 0.96));
  padding: 0.95rem 1.05rem;
}

.dons-copy-letter h3 {
  margin: 0 0 0.45rem;
}

.dons-copy-letter p {
  margin: 0.5rem 0 0;
  text-align: justify;
}

.dons-copy-signature {
  font-style: italic;
  text-align: right;
  color: #5b4526;
  font-weight: 700;
}

.dons-copy-impact {
  margin-top: 0.8rem;
  border-radius: 1rem;
  border: 1px solid rgba(136, 77, 22, 0.45);
  background: linear-gradient(160deg, #9b541c, #7d3e12);
  box-shadow: 0 14px 22px rgba(72, 37, 14, 0.23);
  text-align: center;
  padding: 1rem;
}

.dons-copy-impact p {
  margin: 0;
  color: #ffeccc;
  font-weight: 700;
}

.dons-copy-impact h3 {
  margin: 0.35rem 0 0.7rem;
  color: #fff8ea;
  font-size: clamp(1.8rem, 4.2vw, 2.5rem);
}

.dons-reference {
  padding-top: 1rem;
}

.dons-reference-shell {
  width: min(1540px, 100%);
  display: grid;
  gap: 1rem;
}

.dons-reference-topbar {
  border: 1px solid rgba(22, 62, 80, 0.24);
  border-radius: 1rem;
  background: linear-gradient(170deg, #f9fbff 0%, #f4f6ff 45%, #f7f1e5 100%);
  padding: 0.72rem 0.95rem;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.85rem;
}

.dons-reference-signals {
  display: flex;
  gap: 0.35rem;
}

.dons-reference-signals span {
  width: 11px;
  height: 11px;
  border-radius: 999px;
  background: linear-gradient(140deg, #67beea, #1fa0e0);
}

.dons-reference-signals span:last-child {
  background: linear-gradient(140deg, #f9bc72, #df8445);
}

.dons-reference-brand {
  margin: 0;
  font-weight: 700;
  color: #16243a;
}

.dons-reference-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.36rem;
}

.dons-reference-links a {
  text-decoration: none;
  border: 1px solid rgba(27, 52, 78, 0.22);
  border-radius: 999px;
  padding: 0.22rem 0.58rem;
  color: #1d2c43;
  font-size: 0.84rem;
}

.dons-reference-layout {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
}

.dons-reference-side {
  border: 1px solid rgba(20, 58, 78, 0.24);
  border-radius: 1.1rem;
  background: linear-gradient(170deg, #fcfdff 0%, #f8f9ff 48%, #f4eee2 100%);
  box-shadow: 0 14px 24px rgba(10, 27, 41, 0.14);
  padding: 0.9rem;
  display: grid;
  gap: 0.75rem;
  position: sticky;
  top: calc(var(--topbar-height) + 1rem);
}

.dons-reference-side-card {
  border: 1px solid rgba(34, 125, 170, 0.2);
  border-radius: 0.95rem;
  background: rgba(255, 255, 255, 0.9);
  padding: 0.8rem;
}

.dons-reference-side-card--mini {
  min-height: 54px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.45rem;
  background: linear-gradient(145deg, #122954, #0f1d3f);
  border-color: rgba(19, 45, 88, 0.48);
}

.dons-reference-side-card--mini span {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: rgba(247, 226, 189, 0.78);
}

.dons-reference-emblem {
  width: 84px;
  height: 84px;
  justify-self: center;
  border-radius: 999px;
  display: grid;
  place-items: center;
  border: 3px solid rgba(227, 188, 123, 0.8);
  box-shadow: 0 10px 16px rgba(10, 24, 39, 0.24);
  background: radial-gradient(circle at 30% 30%, #1f4064, #0d1d35 70%);
}

.dons-reference-emblem span {
  color: #f5dfb7;
  font-size: 2rem;
}

.dons-reference-kicker {
  margin: 0;
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #247ca8;
  font-weight: 800;
}

.dons-reference-side-card h2 {
  margin: 0.32rem 0 0.1rem;
  font-size: 2rem;
  line-height: 1;
}

.dons-reference-side-card p {
  margin: 0.2rem 0 0;
  color: #3a362f;
}

.dons-reference-stage {
  display: grid;
  gap: 0;
}

.dons-reference-hero {
  border: 1px solid rgba(22, 57, 79, 0.38);
  border-radius: 1.2rem;
  min-height: 470px;
  overflow: hidden;
  position: relative;
  background:
    linear-gradient(130deg, rgba(8, 22, 53, 0.95), rgba(9, 33, 67, 0.76)),
    url("images/history/histoire-camp-sathonaycamp.jpeg");
  background-size: cover;
  background-position: center;
  box-shadow: 0 18px 30px rgba(9, 23, 44, 0.24);
}

.dons-reference-hero::before,
.dons-reference-hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
}

.dons-reference-hero::before {
  width: 220px;
  height: 220px;
  left: -110px;
  top: -80px;
  background: rgba(116, 173, 201, 0.3);
}

.dons-reference-hero::after {
  width: 260px;
  height: 260px;
  right: -80px;
  bottom: -90px;
  background: rgba(255, 88, 70, 0.52);
}

.dons-reference-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, rgba(7, 15, 33, 0.62), rgba(9, 20, 40, 0.22));
}

.dons-reference-hero-copy {
  position: absolute;
  z-index: 2;
  color: #fff4dd;
  max-width: 43ch;
}

.dons-reference-hero-copy--left {
  left: 1.2rem;
  bottom: 1.45rem;
}

.dons-reference-hero-copy--right {
  right: 1.15rem;
  bottom: 1.4rem;
  text-align: right;
  max-width: 30ch;
}

.dons-reference-eyebrow {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.09em;
}

.dons-reference-hero h1 {
  margin: 0.4rem 0 0.5rem;
  color: #fff4db;
  font-size: clamp(2rem, 4.5vw, 3.15rem);
  line-height: 1.04;
}

.dons-reference-hero h3 {
  margin: 0 0 0.18rem;
  color: #ffefcf;
  font-size: clamp(1.4rem, 2.3vw, 1.9rem);
}

.dons-reference-hero p {
  margin: 0.25rem 0 0;
  font-size: 1.02rem;
  line-height: 1.45;
}

.dons-reference-float {
  margin: -2.2rem 1.2rem 0;
  position: relative;
  z-index: 3;
  border: 1px solid rgba(20, 61, 77, 0.28);
  border-radius: 1rem;
  background: linear-gradient(166deg, rgba(255, 255, 255, 0.96), rgba(246, 240, 227, 0.95));
  box-shadow: 0 15px 22px rgba(8, 26, 43, 0.18);
  padding: 0.84rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 170px minmax(0, 1fr);
  gap: 0.7rem;
}

.dons-reference-projet {
  border: 1px solid rgba(40, 123, 164, 0.2);
  border-radius: 0.9rem;
  background: #ffffffe8;
  padding: 0.75rem;
}

.dons-reference-projet h3 {
  margin: 0 0 0.32rem;
  color: #965115;
}

.dons-reference-projet p {
  margin: 0.32rem 0 0;
  color: #3f372f;
}

.dons-reference-estimation {
  font-weight: 800;
  color: #1980b3;
}

.dons-reference-total {
  border-radius: 0.95rem;
  background: radial-gradient(circle at 35% 30%, #1a2d4c, #0d1a32 70%);
  border: 1px solid rgba(24, 46, 81, 0.5);
  box-shadow: 0 10px 16px rgba(8, 19, 35, 0.3);
  color: #fae8c6;
  text-align: center;
  display: grid;
  place-content: center;
  padding: 0.7rem;
}

.dons-reference-total span {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.dons-reference-total strong {
  margin-top: 0.26rem;
  font-size: 1.48rem;
  line-height: 1.1;
}

.dons-reference-letter {
  margin-top: 0.9rem;
  border: 1px solid rgba(174, 135, 73, 0.4);
  border-left: 4px solid rgba(153, 92, 30, 0.82);
  border-radius: 1rem;
  background: linear-gradient(165deg, rgba(255, 254, 250, 0.98), rgba(247, 239, 224, 0.96));
  padding: 0.95rem 1.05rem;
}

.dons-reference-letter h3 {
  margin: 0 0 0.4rem;
}

.dons-reference-letter p {
  margin: 0.52rem 0 0;
  text-align: justify;
}

.dons-reference-signature {
  font-style: italic;
  text-align: right;
  color: #594426;
  font-weight: 700;
}

.dons-reference-impact {
  margin-top: 0.8rem;
  border: 1px solid rgba(139, 80, 25, 0.45);
  border-radius: 1rem;
  background: linear-gradient(160deg, #985117, #7b3e12);
  box-shadow: 0 13px 20px rgba(76, 38, 14, 0.22);
  text-align: center;
  padding: 1rem;
}

.dons-reference-impact p {
  margin: 0;
  color: #ffeac4;
  font-weight: 700;
}

.dons-reference-impact h3 {
  margin: 0.35rem 0 0.72rem;
  color: #fff8e8;
  font-size: clamp(1.8rem, 4vw, 2.4rem);
}

.dons-reference-dark-btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 50px;
  padding: 0.7rem 1.1rem;
  border-radius: 999px;
  border: 1px solid rgba(28, 127, 176, 0.45);
  background: linear-gradient(135deg, #1880b4, #1c7fb0);
  color: #eff5f8;
  text-decoration: none;
  font-weight: 700;
}

.dons-neo-main {
  background:
    radial-gradient(circle at 10% 10%, rgba(182, 138, 68, 0.16) 0, transparent 34%),
    radial-gradient(circle at 88% 6%, rgba(40, 123, 164, 0.14) 0, transparent 36%),
    var(--bg);
}

.dons-neo-section {
  padding-top: 1.2rem;
}

.dons-neo-container {
  width: min(1540px, 100%);
}

.dons-neo-card {
  border: 1px solid rgba(40, 123, 164, 0.22);
  border-radius: 1.1rem;
  background: linear-gradient(160deg, rgba(255, 253, 248, 0.98), rgba(246, 239, 225, 0.95));
  box-shadow: 0 20px 36px rgba(57, 117, 147, 0.15);
  padding: 1.05rem;
}

.dons-neo-head {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 0.9rem;
  margin-bottom: 0.95rem;
}

.dons-neo-site {
  margin: 0;
  font-size: 0.74rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--brand-strong);
  font-weight: 700;
}

.dons-neo-menu {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.dons-neo-menu a {
  text-decoration: none;
  color: #4f473d;
  font-size: 0.78rem;
  padding: 0.28rem 0.58rem;
  border-radius: 999px;
  border: 1px solid transparent;
}

.dons-neo-menu a:hover,
.dons-neo-menu a:focus-visible {
  border-color: rgba(40, 123, 164, 0.34);
  background: rgba(40, 123, 164, 0.08);
}

.dons-neo-menu .dons-neo-sign {
  color: #f8f4ea;
  border-color: rgba(37, 124, 167, 0.58);
  background: linear-gradient(135deg, #25688a, #257ca7);
  font-weight: 700;
}

.dons-neo-hero {
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background:
    radial-gradient(circle at 12% 20%, rgba(40, 123, 164, 0.28), transparent 40%),
    radial-gradient(circle at 88% 12%, rgba(182, 138, 68, 0.24), transparent 36%),
    linear-gradient(135deg, #1b262d, #233440 52%, #1b262d);
  padding: 1rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 290px;
  gap: 1rem;
  align-items: center;
  box-shadow: 0 18px 38px rgba(10, 19, 24, 0.35);
}

.dons-neo-copy h1 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.3rem);
  line-height: 1;
  letter-spacing: 0.02em;
  color: #fffaf0;
  font-weight: 500;
}

.dons-neo-copy p {
  margin: 0.7rem 0 0;
  color: rgba(247, 240, 225, 0.92);
  max-width: 50ch;
  text-align: justify;
}

.dons-neo-learn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.9rem;
  min-height: 56px;
  padding: 0.78rem 1.6rem;
  border-radius: 999px;
  border: 1px solid rgba(214, 185, 132, 0.6);
  background: linear-gradient(135deg, #286989, #257ca7);
  color: #fff6e3;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 700;
  box-shadow: 0 12px 24px rgba(6, 20, 24, 0.32);
}

.dons-neo-orb {
  justify-self: center;
  width: 230px;
  height: 230px;
  border-radius: 50%;
  position: relative;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 30% 30%, #caa56b 0%, #8e6d33 34%, #367594 72%, #287ba4 100%);
  box-shadow: 0 18px 28px rgba(57, 117, 147, 0.3);
  border: 3px solid rgba(225, 199, 149, 0.74);
}

.dons-neo-orb-ring {
  position: absolute;
  inset: -14px;
  border-radius: 50%;
  border: 1px dashed rgba(221, 194, 143, 0.78);
}

.dons-neo-orb img {
  width: 208px;
  height: 208px;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid rgba(255, 244, 219, 0.9);
  filter: drop-shadow(0 10px 14px rgba(37, 124, 167, 0.28));
}

.dons-neo-bottom {
  margin-top: 0.95rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.72rem;
}

.dons-neo-feature {
  border: 1px solid rgba(40, 123, 164, 0.2);
  border-radius: 0.9rem;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.96), rgba(248, 243, 232, 0.94));
  padding: 0.78rem;
}

.dons-neo-label {
  margin: 0;
  font-size: 0.69rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand-strong);
  font-weight: 800;
}

.dons-neo-feature h2 {
  margin: 0.32rem 0 0.25rem;
  color: #2c79a0;
  font-size: 1.24rem;
}

.dons-neo-feature p {
  margin: 0.26rem 0 0;
  color: #534b40;
}

.dons-neo-intention-text {
  margin: 0.52rem 0 0;
  max-width: 55ch;
  font-size: 0.88rem;
  line-height: 1.45;
  color: rgba(246, 239, 224, 0.9);
  text-align: left;
  hyphens: none;
}

.dons-neo-note {
  margin-top: 0.85rem;
  border: 1px solid rgba(40, 123, 164, 0.24);
  border-radius: 0.9rem;
  background: rgba(255, 251, 244, 0.92);
  padding: 0.8rem;
}

.dons-neo-note h3 {
  margin: 0;
  color: #287ba4;
}

.dons-neo-note-copy {
  margin-top: 0.42rem;
  display: grid;
  gap: 0.36rem;
}

.dons-neo-note p {
  margin: 0;
  color: #554c40;
  text-align: justify;
  line-height: 1.5;
}

.dons-neo-signature {
  margin-top: 0.48rem;
  font-style: italic;
  text-align: right;
  font-weight: 700;
  color: #4f3c23;
}

@media (max-width: 1100px) {
  .dons-neo-hero {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .dons-neo-copy p {
    margin-left: auto;
    margin-right: auto;
  }

  .dons-neo-bottom {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .dons-neo-card {
    padding: 0.78rem;
  }

  .dons-neo-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .dons-neo-menu {
    width: 100%;
    justify-content: flex-start;
  }

  .dons-neo-copy h1 {
    font-size: clamp(1.5rem, 10vw, 2.2rem);
  }

  .dons-neo-orb {
    width: 180px;
    height: 180px;
  }

  .dons-neo-orb img {
    width: 160px;
    height: 160px;
  }

  .dons-neo-bottom {
    grid-template-columns: 1fr;
  }
}

.subnav {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.subnav a {
  text-decoration: none;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.75);
  padding: 0.35rem 0.65rem;
  font-size: 0.87rem;
  font-weight: 600;
  color: #2f2c27;
  transition:
    background-color 0.18s ease,
    border-color 0.18s ease,
    color 0.18s ease,
    box-shadow 0.18s ease,
    transform 0.18s ease;
}

.subnav a:hover,
.subnav a:focus-visible {
  background: linear-gradient(145deg, var(--ui-hover-bg-soft), var(--ui-hover-bg));
  border-color: var(--ui-hover-border);
  color: var(--ui-hover-text);
  box-shadow: var(--ui-hover-shadow);
  transform: translateY(-1px);
}

.subnav a.is-active {
  border-color: rgba(40, 123, 164, 0.5);
  background: rgba(40, 123, 164, 0.1);
  color: var(--brand);
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.9rem;
}

.filters button {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  padding: 0.4rem 0.68rem;
  font: inherit;
  font-size: 0.88rem;
  font-weight: 700;
  color: #342f28;
  cursor: pointer;
  transition:
    background-color 0.18s ease,
    border-color 0.18s ease,
    color 0.18s ease,
    box-shadow 0.18s ease,
    transform 0.18s ease;
}

.filters button:hover,
.filters button:focus-visible {
  background: linear-gradient(145deg, var(--ui-hover-bg-soft), var(--ui-hover-bg));
  border-color: var(--ui-hover-border);
  color: var(--ui-hover-text);
  box-shadow: var(--ui-hover-shadow);
  transform: translateY(-1px);
}

.filters button.is-active {
  border-color: rgba(40, 123, 164, 0.5);
  background: rgba(40, 123, 164, 0.13);
  color: var(--brand);
}

.event-grid {
  display: grid;
  gap: 0.8rem;
}

.event-item {
  border: 1px solid var(--line);
  border-radius: 0.8rem;
  background: var(--bg-panel);
  padding: 0.85rem;
}

.event-item-actions {
  margin-top: 0.72rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.event-item[data-hidden="true"] {
  display: none;
}

.event-meta {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.event-registration-card {
  border: 1px solid rgba(40, 123, 164, 0.35);
  background:
    radial-gradient(circle at 94% 3%, rgba(40, 123, 164, 0.13), transparent 35%),
    linear-gradient(160deg, rgba(237, 244, 247, 0.97), rgba(224, 235, 241, 0.94));
}

.event-registration-state {
  margin-top: 0.1rem;
  font-weight: 600;
  color: #397593;
}

.container-evenements-wide {
  width: min(var(--layout-unified-width), calc(100% - 2rem));
}

.page-hero-evenements {
  padding: 1.25rem 0 0.65rem;
}

.page-hero-evenements .inner {
  width: min(var(--layout-unified-width), 100%);
  margin-inline: auto;
}

.page-hero-evenements-neo {
  padding: 1rem 0 0.95rem;
}

.page-hero-evenements-neo .events-neo-shell {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 0.85rem;
  border: 1px solid rgba(40, 123, 164, 0.28);
  border-radius: 1rem;
  background:
    radial-gradient(circle at 94% 8%, rgba(182, 138, 68, 0.26), transparent 33%),
    linear-gradient(135deg, #112833, #153f4f 42%, #21698d);
  box-shadow: 0 18px 34px rgba(57, 117, 147, 0.22);
  padding: 1rem;
}

.page-hero-evenements-neo .events-neo-shell::after {
  content: "";
  position: absolute;
  right: -160px;
  bottom: -220px;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.16) 0, rgba(255, 255, 255, 0.05) 45%, transparent 70%);
  pointer-events: none;
}

.events-neo-copy {
  position: relative;
  z-index: 1;
}

.events-neo-copy .kicker {
  color: rgba(247, 233, 202, 0.95);
}

.events-neo-copy h1 {
  margin: 0.24rem 0 0.3rem;
  color: #fff7e6;
  font-size: clamp(2.05rem, 4vw, 3.1rem);
}

.events-neo-lead {
  margin: 0;
  color: rgba(243, 240, 232, 0.95);
  font-size: clamp(1rem, 1.3vw, 1.13rem);
  line-height: 1.48;
  max-width: 70ch;
  text-align: left;
}

.events-neo-actions {
  margin-top: 0.78rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.56rem;
}

.events-neo-actions .btn {
  border-color: rgba(244, 229, 197, 0.34);
}

.events-neo-actions .btn.btn-outline {
  background: rgba(255, 255, 255, 0.1);
  color: #f8ecd3;
  border-color: rgba(244, 229, 197, 0.56);
}

.events-neo-actions .btn.btn-outline:hover,
.events-neo-actions .btn.btn-outline:focus-visible {
  background: linear-gradient(140deg, #f8f0df, #efe0bf);
  color: #237ca9;
  border-color: rgba(182, 138, 68, 0.72);
}

.events-neo-copy .breadcrumbs {
  margin-top: 0.8rem;
  color: rgba(250, 243, 231, 0.92);
}

.events-neo-copy .breadcrumbs a {
  color: rgba(250, 243, 231, 0.98);
}

.events-neo-visual {
  position: relative;
  z-index: 1;
  display: grid;
  align-content: center;
  gap: 0.7rem;
}

.events-neo-card {
  border: 1px solid rgba(247, 236, 212, 0.38);
  border-radius: 0.9rem;
  padding: 0.8rem 0.84rem;
  background: rgba(255, 252, 246, 0.93);
  color: #397593;
  box-shadow: 0 10px 22px rgba(57, 117, 147, 0.18);
}

.events-neo-card .kicker {
  margin: 0;
}

.events-neo-card h3,
.events-neo-card h4 {
  margin: 0.2rem 0 0.16rem;
  font-family: "Cormorant Garamond", Georgia, serif;
  color: #347798;
}

.events-neo-card h3 {
  font-size: clamp(1.7rem, 2.8vw, 2.2rem);
}

.events-neo-card h4 {
  font-size: clamp(1.35rem, 2.1vw, 1.8rem);
}

.events-neo-card p {
  margin: 0;
  text-align: left;
}

.events-neo-card.is-main {
  min-height: 188px;
  display: grid;
  align-content: end;
  background:
    linear-gradient(150deg, rgba(255, 251, 240, 0.98), rgba(248, 239, 218, 0.95)),
    url("images/photo%20paroisses%202026/02.jpg");
  background-size: cover;
  background-position: center;
}

.events-neo-card.is-floating {
  width: min(360px, 96%);
  justify-self: end;
}

@media (max-width: 1180px) {
  .page-hero-evenements-neo .events-neo-shell {
    grid-template-columns: 1fr;
  }

  .events-neo-visual {
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
  }

  .events-neo-card.is-floating {
    width: 100%;
    justify-self: auto;
  }
}

@media (max-width: 820px) {
  .events-neo-visual {
    grid-template-columns: 1fr;
  }

  .events-neo-actions .btn {
    width: 100%;
    justify-content: center;
  }
}

.calendrier-showcase-section {
  padding: 0.4rem 0 0.85rem;
}

.calendrier-showcase-shell {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 0.95rem;
  border-color: rgba(40, 123, 164, 0.34);
  background:
    radial-gradient(circle at 90% 10%, rgba(182, 138, 68, 0.28), transparent 34%),
    linear-gradient(140deg, #102934, #287ba4 58%, #2e799e);
  color: #f8f2e6;
  box-shadow: 0 18px 32px rgba(57, 117, 147, 0.24);
}

.calendrier-showcase-shell::after {
  content: "";
  position: absolute;
  right: -180px;
  bottom: -200px;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 247, 230, 0.3) 0, rgba(255, 247, 230, 0.08) 52%, transparent 72%);
  pointer-events: none;
}

.calendrier-showcase-copy {
  position: relative;
  z-index: 1;
}

.calendrier-showcase-copy .kicker {
  color: rgba(248, 230, 194, 0.96);
}

.calendrier-showcase-copy h2 {
  margin: 0.25rem 0 0.2rem;
  color: #fff7e7;
  font-size: clamp(2rem, 4vw, 2.9rem);
}

.calendrier-showcase-copy p {
  margin: 0.3rem 0 0;
  color: rgba(247, 241, 230, 0.94);
}

.calendrier-showcase-subtitle {
  font-weight: 700;
  letter-spacing: 0.01em;
}

.calendrier-showcase-meta {
  margin-top: 0.72rem;
  display: grid;
  gap: 0.36rem;
}

.calendrier-showcase-meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  width: fit-content;
  max-width: 100%;
  padding: 0.26rem 0.65rem;
  border: 1px solid rgba(248, 230, 194, 0.34);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.09);
  color: #fff4dd;
  text-align: left;
}

.calendrier-showcase-meta strong {
  color: #ffe2a9;
}

.calendrier-showcase-copy .hero-actions {
  margin-top: 0.9rem;
}

.calendrier-showcase-copy .btn {
  border-color: rgba(243, 226, 196, 0.35);
}

.calendrier-showcase-copy .btn.btn-outline {
  color: #f7e8cb;
  border-color: rgba(243, 226, 196, 0.54);
  background: rgba(255, 255, 255, 0.08);
}

.calendrier-showcase-copy .btn.btn-outline:hover,
.calendrier-showcase-copy .btn.btn-outline:focus-visible {
  color: #247ca8;
  background: linear-gradient(140deg, #f8f0df, #efe0bf);
  border-color: rgba(182, 138, 68, 0.68);
}

.calendrier-showcase-visual {
  position: relative;
  z-index: 1;
  display: grid;
  align-content: center;
  gap: 0.72rem;
}

.calendrier-visual-card {
  border: 1px solid rgba(243, 226, 196, 0.4);
  border-radius: 0.9rem;
  padding: 0.8rem 0.84rem;
  background: rgba(255, 252, 246, 0.92);
  color: #387594;
}

.calendrier-visual-card .kicker {
  margin: 0;
}

.calendrier-visual-card h3 {
  margin: 0.22rem 0 0.18rem;
  color: #2d799f;
  font-size: clamp(1.35rem, 2.3vw, 1.92rem);
}

.calendrier-visual-card p {
  margin: 0;
  text-align: left;
}

.calendrier-visual-main {
  background:
    linear-gradient(150deg, rgba(255, 251, 240, 0.96), rgba(248, 238, 215, 0.94)),
    url("images/photo%20paroisses%202026/03.png");
  background-size: cover;
  background-position: center;
  min-height: 210px;
  display: grid;
  align-content: end;
}

.calendrier-visual-note {
  width: min(330px, 92%);
  justify-self: end;
  box-shadow: 0 12px 24px rgba(57, 117, 147, 0.22);
}

.calendrier-annie-card {
  margin-top: 0.75rem;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.8fr);
  gap: 0.72rem;
  border-color: rgba(40, 123, 164, 0.3);
  background:
    radial-gradient(circle at 92% 8%, rgba(40, 123, 164, 0.13), transparent 34%),
    linear-gradient(160deg, rgba(255, 254, 251, 0.97), rgba(246, 239, 226, 0.95));
}

.calendrier-annie-card h3 {
  margin: 0.2rem 0 0.24rem;
}

.calendrier-annie-card p {
  margin: 0;
  text-align: left;
}

.calendrier-annie-data {
  margin: 0;
  gap: 0.55rem;
}

.calendrier-annie-data div {
  border: 1px solid rgba(40, 123, 164, 0.22);
  border-radius: 0.72rem;
  background: rgba(255, 255, 255, 0.84);
  padding: 0.52rem 0.62rem;
}

.calendrier-annie-data dt {
  color: #2e799e;
}

.calendrier-annie-data dd {
  margin-top: 0.2rem;
  font-weight: 700;
}

.calendrier-annie-data a {
  color: #227daa;
  text-decoration: underline;
  text-underline-offset: 0.15rem;
}

/* Event of the day: alternate layout (editorial + program column). */
body.eventday-page .eventday-main-section {
  padding: 0.65rem 0 1.15rem;
}

body.eventday-page .eventday-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 0.78rem;
  align-items: start;
}

body.eventday-page .eventday-feature-card {
  border-color: rgba(40, 123, 164, 0.28);
  background: linear-gradient(160deg, rgba(255, 254, 250, 0.98), rgba(247, 240, 227, 0.95));
  box-shadow: 0 12px 24px rgba(55, 118, 149, 0.11);
}

body.eventday-page .eventday-feature-card h2 {
  margin: 0.24rem 0 0.2rem;
  font-size: clamp(1.95rem, 3.2vw, 2.65rem);
}

body.eventday-page .eventday-feature-card p {
  margin: 0.2rem 0 0;
  text-align: left;
}

body.eventday-page .eventday-feature-lead {
  color: #31789b;
  font-weight: 700;
}

body.eventday-page .eventday-facts {
  margin: 0.76rem 0 0;
  display: grid;
  gap: 0.46rem;
}

body.eventday-page .eventday-facts div {
  border: 1px solid rgba(40, 123, 164, 0.22);
  border-radius: 0.72rem;
  background: rgba(255, 255, 255, 0.86);
  padding: 0.44rem 0.58rem;
}

body.eventday-page .eventday-facts dt {
  margin: 0;
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  font-weight: 800;
  color: #2e799e;
}

body.eventday-page .eventday-facts dd {
  margin: 0.16rem 0 0;
  font-weight: 700;
}

body.eventday-page .eventday-actions {
  margin-top: 0.78rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

body.eventday-page .eventday-program-card {
  border-color: rgba(40, 123, 164, 0.26);
  background:
    radial-gradient(circle at 88% 10%, rgba(40, 123, 164, 0.14), transparent 40%),
    linear-gradient(160deg, rgba(255, 255, 253, 0.97), rgba(244, 238, 225, 0.95));
}

body.eventday-page .eventday-program-card h3 {
  margin: 0.22rem 0 0.3rem;
}

body.eventday-page .eventday-program-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.5rem;
}

body.eventday-page .eventday-program-list li {
  border-left: 3px solid rgba(40, 123, 164, 0.5);
  border: 1px solid rgba(40, 123, 164, 0.2);
  border-left-width: 3px;
  border-radius: 0.68rem;
  background: rgba(255, 255, 255, 0.85);
  padding: 0.48rem 0.58rem;
}

body.eventday-page .eventday-program-list strong,
body.eventday-page .eventday-program-list span {
  display: block;
  text-align: left;
}

body.eventday-page .eventday-program-list span {
  margin-top: 0.14rem;
  color: #214455;
}

body.eventday-page .eventday-contact-card {
  grid-column: 1;
  border-color: rgba(40, 123, 164, 0.24);
  background: rgba(255, 255, 255, 0.94);
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 0.7rem;
}

body.eventday-page .eventday-contact-card h3 {
  margin: 0.2rem 0 0.22rem;
}

body.eventday-page .eventday-contact-card p {
  margin: 0;
  text-align: left;
}

body.eventday-page .eventday-contact-data {
  margin: 0;
  gap: 0.5rem;
}

body.eventday-page .eventday-contact-data div {
  border: 1px solid rgba(40, 123, 164, 0.2);
  border-radius: 0.72rem;
  background: rgba(252, 252, 252, 0.95);
  padding: 0.48rem 0.62rem;
}

body.eventday-page .eventday-contact-data a {
  text-decoration: underline;
  text-underline-offset: 0.15rem;
}

/* Event day redesign: inspired by modern events landing UI */
body.eventday-page .eventday-neo-hero {
  padding: 1rem 0 0.85rem;
}

body.eventday-page .eventday-neo-shell {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(300px, 0.88fr);
  gap: 0.82rem;
  border: 1px solid rgba(40, 123, 164, 0.34);
  border-radius: 1rem;
  background:
    radial-gradient(circle at 93% 10%, rgba(182, 138, 68, 0.26), transparent 35%),
    linear-gradient(135deg, #102938, #154050 44%, #206b90);
  box-shadow: 0 18px 34px rgba(57, 117, 147, 0.24);
  padding: 1rem;
}

body.eventday-page .eventday-neo-shell::after {
  content: "";
  position: absolute;
  right: -180px;
  bottom: -220px;
  width: 540px;
  height: 540px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.16) 0, rgba(255, 255, 255, 0.04) 52%, transparent 72%);
  pointer-events: none;
  animation: eventday-circle-drift 12s ease-in-out infinite alternate;
}

body.eventday-page .eventday-neo-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.22) 1px, transparent 1px);
  background-size: 18px 18px;
  opacity: 0.12;
  transform: translate3d(0, 0, 0);
  pointer-events: none;
  animation: eventday-dot-pan 20s linear infinite;
}

body.eventday-page .eventday-neo-copy {
  position: relative;
  z-index: 1;
}

body.eventday-page .eventday-neo-copy .kicker {
  color: rgba(248, 230, 195, 0.96);
}

body.eventday-page .eventday-neo-copy h1 {
  margin: 0.22rem 0 0.28rem;
  color: #fff7e6;
  font-size: clamp(2.05rem, 4.2vw, 3.15rem);
}

body.eventday-page .eventday-neo-lead {
  margin: 0;
  color: rgba(247, 243, 235, 0.95);
  font-size: clamp(1.02rem, 1.4vw, 1.16rem);
  line-height: 1.48;
  text-align: left;
  max-width: 68ch;
}

body.eventday-page .eventday-neo-text {
  margin: 0.5rem 0 0;
  color: rgba(241, 240, 232, 0.93);
  text-align: left;
}

body.eventday-page .eventday-neo-pills {
  margin-top: 0.72rem;
  display: grid;
  gap: 0.4rem;
}

body.eventday-page .eventday-neo-pills span {
  display: inline-flex;
  align-items: center;
  gap: 0.26rem;
  width: fit-content;
  max-width: 100%;
  padding: 0.27rem 0.66rem;
  border: 1px solid rgba(245, 228, 195, 0.34);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: #f8f1df;
  text-align: left;
}

body.eventday-page .eventday-neo-pills strong {
  color: #f9e2af;
}

body.eventday-page .eventday-neo-actions {
  margin-top: 0.82rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.56rem;
}

body.eventday-page .eventday-neo-actions .btn {
  border-color: rgba(243, 225, 193, 0.36);
}

body.eventday-page .eventday-neo-actions .btn.btn-outline {
  background: rgba(255, 255, 255, 0.1);
  color: #f8ecd1;
  border-color: rgba(243, 225, 193, 0.56);
}

body.eventday-page .eventday-neo-actions .btn.btn-outline:hover,
body.eventday-page .eventday-neo-actions .btn.btn-outline:focus-visible {
  color: #277ba5;
  background: linear-gradient(145deg, #f8f0df, #efe0bf);
  border-color: rgba(182, 138, 68, 0.7);
}

body.eventday-page .eventday-neo-copy .breadcrumbs {
  margin-top: 0.78rem;
  color: rgba(250, 243, 230, 0.94);
}

body.eventday-page .eventday-neo-copy .breadcrumbs a {
  color: rgba(250, 243, 230, 0.98);
}

body.eventday-page .eventday-neo-stack {
  position: relative;
  z-index: 1;
  display: grid;
  align-content: center;
  gap: 0.72rem;
}

body.eventday-page .eventday-neo-card {
  border: 1px solid rgba(245, 232, 205, 0.4);
  border-radius: 0.9rem;
  background: rgba(255, 252, 246, 0.94);
  color: #347798;
  padding: 0.8rem 0.85rem;
  box-shadow: 0 11px 24px rgba(57, 117, 147, 0.2);
}

body.eventday-page .eventday-neo-card .kicker {
  margin: 0;
}

body.eventday-page .eventday-neo-card h2,
body.eventday-page .eventday-neo-card h3 {
  margin: 0.22rem 0 0.18rem;
  color: #2f789d;
}

body.eventday-page .eventday-neo-card h2 {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
}

body.eventday-page .eventday-neo-card h3 {
  font-size: clamp(1.3rem, 2.1vw, 1.7rem);
}

body.eventday-page .eventday-neo-card p {
  margin: 0;
  text-align: left;
}

body.eventday-page .eventday-neo-card p + p {
  margin-top: 0.24rem;
}

body.eventday-page .eventday-neo-card.is-main {
  min-height: 198px;
  display: grid;
  align-content: end;
  background:
    linear-gradient(150deg, rgba(255, 251, 242, 0.97), rgba(248, 239, 219, 0.95)),
    url("images/photo%20paroisses%202026/02.jpg");
  background-size: cover;
  background-position: center;
}

body.eventday-page .eventday-neo-card.is-float {
  width: min(350px, 96%);
  justify-self: end;
  animation: eventday-float-card 4.8s ease-in-out infinite;
}

body.eventday-page .eventday-neo-card.is-float a {
  color: #227daa;
  text-decoration: underline;
  text-underline-offset: 0.14rem;
  font-weight: 700;
}

body.eventday-page .eventday-neo-sections {
  padding: 0.1rem 0 1.2rem;
}

body.eventday-page .eventday-neo-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.72rem;
}

body.eventday-page .eventday-neo-panel {
  border-color: rgba(40, 123, 164, 0.24);
  background:
    radial-gradient(circle at 94% 6%, rgba(40, 123, 164, 0.1), transparent 34%),
    linear-gradient(160deg, rgba(255, 255, 253, 0.97), rgba(245, 239, 226, 0.95));
}

body.eventday-page .eventday-neo-panel h3 {
  margin: 0.22rem 0 0.32rem;
}

body.eventday-page .eventday-neo-timeline {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.5rem;
}

body.eventday-page .eventday-neo-timeline li {
  border: 1px solid rgba(40, 123, 164, 0.2);
  border-left: 3px solid rgba(40, 123, 164, 0.52);
  border-radius: 0.7rem;
  background: rgba(255, 255, 255, 0.84);
  padding: 0.5rem 0.62rem;
}

body.eventday-page .eventday-neo-timeline strong,
body.eventday-page .eventday-neo-timeline span {
  display: block;
  text-align: left;
}

body.eventday-page .eventday-neo-timeline span {
  margin-top: 0.14rem;
  color: #31647d;
}

body.eventday-page .eventday-neo-facts {
  margin: 0;
  display: grid;
  gap: 0.48rem;
}

body.eventday-page .eventday-neo-facts div {
  border: 1px solid rgba(40, 123, 164, 0.2);
  border-radius: 0.7rem;
  background: rgba(255, 255, 255, 0.84);
  padding: 0.48rem 0.62rem;
}

body.eventday-page .eventday-neo-facts dt {
  margin: 0;
  font-size: 0.73rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  font-weight: 800;
  color: #2e799e;
}

body.eventday-page .eventday-neo-facts dd {
  margin: 0.16rem 0 0;
  font-weight: 700;
}

body.eventday-page .eventday-neo-facts a {
  color: #247ca8;
  text-decoration: underline;
  text-underline-offset: 0.14rem;
}

/* Event day forced redesign: close to modern events hero layout. */
body.eventday-page .eventday-force-hero {
  padding: 1rem 0 0.9rem;
}

body.eventday-page .eventday-force-shell {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.95fr);
  gap: 0.84rem;
  border: 1px solid rgba(40, 123, 164, 0.34);
  border-radius: 1rem;
  padding: 1rem;
  background:
    radial-gradient(circle at 88% 8%, rgba(182, 138, 68, 0.26), transparent 34%),
    linear-gradient(135deg, #10253a, #153d4d 46%, #277ba5);
  box-shadow: 0 20px 36px rgba(57, 117, 147, 0.24);
}

body.eventday-page .eventday-force-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.24) 1px, transparent 1px);
  background-size: 16px 16px;
  opacity: 0.11;
  animation: eventday-force-dot-pan 18s linear infinite;
  pointer-events: none;
}

body.eventday-page .eventday-force-shell::after {
  content: "";
  position: absolute;
  right: -170px;
  bottom: -220px;
  width: 540px;
  height: 540px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0, rgba(255, 255, 255, 0.05) 56%, transparent 72%);
  animation: eventday-force-circle 10s ease-in-out infinite alternate;
  pointer-events: none;
}

body.eventday-page .eventday-force-copy {
  position: relative;
  z-index: 1;
}

body.eventday-page .eventday-force-copy .kicker {
  color: rgba(248, 231, 198, 0.95);
}

body.eventday-page .eventday-force-copy h1 {
  margin: 0.2rem 0 0.3rem;
  color: #fff7e8;
  font-size: clamp(2.1rem, 4.4vw, 3.25rem);
}

body.eventday-page .eventday-force-lead {
  margin: 0;
  color: rgba(246, 242, 234, 0.96);
  font-size: clamp(1rem, 1.35vw, 1.18rem);
  line-height: 1.46;
  text-align: left;
  max-width: 66ch;
}

body.eventday-page .eventday-force-text {
  margin: 0.5rem 0 0;
  color: rgba(239, 240, 232, 0.93);
  text-align: left;
}

body.eventday-page .eventday-force-actions {
  margin-top: 0.78rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.56rem;
}

body.eventday-page .eventday-force-actions .btn {
  border-color: rgba(243, 226, 194, 0.36);
}

body.eventday-page .eventday-force-actions .btn.btn-outline {
  background: rgba(255, 255, 255, 0.1);
  color: #f8ecd1;
  border-color: rgba(243, 226, 194, 0.58);
}

body.eventday-page .eventday-force-actions .btn.btn-outline:hover,
body.eventday-page .eventday-force-actions .btn.btn-outline:focus-visible {
  color: #277ba5;
  background: linear-gradient(145deg, #f9f0de, #efe0bf);
}

body.eventday-page .eventday-force-copy .breadcrumbs {
  margin-top: 0.76rem;
  color: rgba(250, 243, 230, 0.94);
}

body.eventday-page .eventday-force-copy .breadcrumbs a {
  color: rgba(250, 243, 230, 0.98);
}

body.eventday-page .eventday-force-visual {
  position: relative;
  z-index: 1;
  min-height: 350px;
}

body.eventday-page .eventday-force-card {
  border: 1px solid rgba(245, 232, 205, 0.4);
  border-radius: 0.9rem;
  background: rgba(255, 252, 246, 0.94);
  color: #347798;
  box-shadow: 0 12px 25px rgba(57, 117, 147, 0.2);
}

body.eventday-page .eventday-force-card p {
  margin: 0;
  text-align: left;
}

body.eventday-page .eventday-force-card-main {
  position: relative;
  width: min(430px, 100%);
  min-height: 260px;
  margin-left: auto;
  padding: 0.82rem 0.9rem;
  display: grid;
  align-content: end;
  background:
    linear-gradient(150deg, rgba(255, 251, 242, 0.97), rgba(248, 239, 219, 0.95)),
    url("images/photo%20paroisses%202026/02.jpg");
  background-size: cover;
  background-position: center;
}

body.eventday-page .eventday-force-card-main h2 {
  margin: 0.2rem 0 0.14rem;
  font-size: clamp(1.45rem, 2.5vw, 2rem);
  color: #2f789d;
}

body.eventday-page .eventday-force-card-overlay {
  position: absolute;
  left: 0;
  bottom: 54px;
  width: min(320px, 88%);
  padding: 0.64rem 0.7rem;
  animation: eventday-force-card-float 5.2s ease-in-out infinite;
}

body.eventday-page .eventday-force-card-overlay h3 {
  margin: 0 0 0.42rem;
  font-size: 1.05rem;
}

body.eventday-page .eventday-force-card-overlay ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.32rem;
}

body.eventday-page .eventday-force-card-overlay li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.45rem;
  font-size: 0.88rem;
}

body.eventday-page .eventday-force-card-overlay li span:first-child {
  font-weight: 800;
  color: #2a7aa2;
}

body.eventday-page .eventday-force-card-mini {
  position: absolute;
  right: 0;
  bottom: 0;
  width: min(255px, 70%);
  padding: 0.58rem 0.66rem;
}

body.eventday-page .eventday-force-card-mini h3 {
  margin: 0.2rem 0 0.18rem;
  font-size: 1.28rem;
}

body.eventday-page .eventday-force-card-mini a {
  color: #247ca8;
  text-decoration: underline;
  text-underline-offset: 0.14rem;
  font-weight: 700;
}

body.eventday-page .eventday-force-content {
  padding: 0.2rem 0 1.2rem;
}

body.eventday-page .eventday-force-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.74rem;
}

body.eventday-page .eventday-force-panel {
  border-color: rgba(40, 123, 164, 0.24);
  background:
    radial-gradient(circle at 94% 6%, rgba(40, 123, 164, 0.1), transparent 34%),
    linear-gradient(160deg, rgba(255, 255, 253, 0.97), rgba(245, 239, 226, 0.95));
}

body.eventday-page .eventday-force-panel h3 {
  margin: 0.2rem 0 0.34rem;
}

body.eventday-page .eventday-force-timeline {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.5rem;
}

body.eventday-page .eventday-force-timeline li {
  border: 1px solid rgba(40, 123, 164, 0.2);
  border-left: 3px solid rgba(40, 123, 164, 0.52);
  border-radius: 0.7rem;
  background: rgba(255, 255, 255, 0.84);
  padding: 0.5rem 0.62rem;
}

body.eventday-page .eventday-force-timeline strong,
body.eventday-page .eventday-force-timeline span {
  display: block;
  text-align: left;
}

body.eventday-page .eventday-force-timeline span {
  margin-top: 0.14rem;
  color: #31647d;
}

body.eventday-page .eventday-force-facts {
  margin: 0;
  display: grid;
  gap: 0.5rem;
}

body.eventday-page .eventday-force-facts div {
  border: 1px solid rgba(40, 123, 164, 0.2);
  border-radius: 0.7rem;
  background: rgba(255, 255, 255, 0.84);
  padding: 0.48rem 0.62rem;
}

body.eventday-page .eventday-force-facts dt {
  margin: 0;
  font-size: 0.73rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  font-weight: 800;
  color: #2e799e;
}

body.eventday-page .eventday-force-facts dd {
  margin: 0.16rem 0 0;
  font-weight: 700;
}

body.eventday-page .eventday-force-facts a {
  color: #247ca8;
  text-decoration: underline;
  text-underline-offset: 0.14rem;
}

@keyframes eventday-force-circle {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  100% {
    transform: translate3d(-44px, -16px, 0) scale(1.1);
  }
}

@keyframes eventday-force-dot-pan {
  0% {
    background-position: 0 0;
  }
  100% {
    background-position: 180px 80px;
  }
}

@keyframes eventday-force-card-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

@media (max-width: 1180px) {
  body.eventday-page .eventday-force-shell {
    grid-template-columns: 1fr;
  }

  body.eventday-page .eventday-force-visual {
    min-height: 320px;
  }

  body.eventday-page .eventday-force-card-main {
    margin-left: 0;
  }

  body.eventday-page .eventday-force-card-overlay {
    left: auto;
    right: 0;
  }

  body.eventday-page .eventday-force-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  body.eventday-page .eventday-force-shell {
    padding: 0.82rem;
    border-radius: 0.84rem;
  }

  body.eventday-page .eventday-force-copy h1 {
    font-size: clamp(1.76rem, 9vw, 2.35rem);
  }

  body.eventday-page .eventday-force-actions .btn {
    width: 100%;
    justify-content: center;
  }

  body.eventday-page .eventday-force-card-main,
  body.eventday-page .eventday-force-card-overlay,
  body.eventday-page .eventday-force-card-mini {
    position: static;
    width: 100%;
  }

  body.eventday-page .eventday-force-visual {
    display: grid;
    gap: 0.55rem;
    min-height: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.eventday-page .eventday-force-shell::before,
  body.eventday-page .eventday-force-shell::after,
  body.eventday-page .eventday-force-card-overlay {
    animation: none;
  }
}

@keyframes eventday-circle-drift {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
    opacity: 0.95;
  }
  50% {
    transform: translate3d(-24px, -18px, 0) scale(1.08);
    opacity: 1;
  }
  100% {
    transform: translate3d(-48px, -8px, 0) scale(1.02);
    opacity: 0.9;
  }
}

@keyframes eventday-dot-pan {
  0% {
    background-position: 0 0;
  }
  100% {
    background-position: 180px 90px;
  }
}

@keyframes eventday-float-card {
  0%,
  100% {
    transform: translateY(0);
    box-shadow: 0 11px 24px rgba(57, 117, 147, 0.2);
  }
  50% {
    transform: translateY(-8px);
    box-shadow: 0 16px 30px rgba(57, 117, 147, 0.24);
  }
}

@media (max-width: 1180px) {
  body.eventday-page .eventday-neo-shell {
    grid-template-columns: 1fr;
  }

  body.eventday-page .eventday-neo-stack {
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
  }

  body.eventday-page .eventday-neo-card.is-float {
    width: 100%;
    justify-self: auto;
  }

  body.eventday-page .eventday-neo-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  body.eventday-page .eventday-neo-shell {
    padding: 0.82rem;
    border-radius: 0.84rem;
  }

  body.eventday-page .eventday-neo-copy h1 {
    font-size: clamp(1.75rem, 9vw, 2.35rem);
  }

  body.eventday-page .eventday-neo-stack {
    grid-template-columns: 1fr;
  }

  body.eventday-page .eventday-neo-pills span {
    width: 100%;
    border-radius: 0.72rem;
  }

  body.eventday-page .eventday-neo-actions .btn {
    width: 100%;
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.eventday-page .eventday-neo-shell::after,
  body.eventday-page .eventday-neo-shell::before,
  body.eventday-page .eventday-neo-card.is-float {
    animation: none;
  }
}

@media (max-width: 1120px) {
  body.eventday-page .eventday-layout {
    grid-template-columns: 1fr;
  }

  body.eventday-page .eventday-contact-card {
    grid-column: auto;
  }
}

@media (max-width: 980px) {
  body.eventday-page .eventday-contact-card {
    grid-template-columns: 1fr;
  }

  body.eventday-page .eventday-actions .btn {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 1240px) {
  .calendrier-showcase-shell {
    grid-template-columns: 1fr;
  }

  .calendrier-showcase-visual {
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
  }

  .calendrier-visual-note {
    width: 100%;
    justify-self: auto;
  }

  .calendrier-annie-card {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .calendrier-showcase-copy h2 {
    font-size: clamp(1.68rem, 8vw, 2.2rem);
  }

  .calendrier-showcase-meta span {
    width: 100%;
    border-radius: 0.72rem;
  }

  .calendrier-showcase-visual {
    grid-template-columns: 1fr;
  }

  .calendrier-visual-main {
    min-height: 190px;
  }
}

.section-evenements-main {
  padding: 0.9rem 0 1.8rem;
}

.section-evenements-main .evenements-head-align,
.section-evenements-main .evenements-calendar-card,
.section-evenements-main .filters,
.section-evenements-main .event-grid {
  width: min(var(--layout-unified-width), 100%);
  margin-inline: auto;
}

.section-evenements-main .section-head {
  margin-bottom: 0.55rem;
}

.section-evenements-main .evenements-head-align .kicker {
  margin-left: 0.95rem;
}

.evenements-calendar-card {
  --events-calendar-day-height: clamp(68px, 9vh, 96px);
  --calendar-hover-bg: #34799c;
  --calendar-hover-bg-soft: #4790b5;
  --calendar-hover-border: #3a7b9c;
  --calendar-hover-shadow: 0 10px 20px rgba(37, 124, 167, 0.22);
  --calendar-hover-outline: rgba(182, 138, 68, 0.35);
  margin-bottom: 1rem;
  border-color: rgba(40, 123, 164, 0.28);
  background:
    radial-gradient(circle at 94% 6%, rgba(40, 123, 164, 0.12), transparent 36%),
    linear-gradient(160deg, rgba(255, 254, 250, 0.98), rgba(243, 237, 225, 0.94));
}

.evenements-calendar-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
}

.evenements-calendar-toolbar h3 {
  margin: 0;
}

.evenements-calendar-title {
  margin: 0;
  min-width: 180px;
  text-align: center;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--brand-strong);
  text-transform: capitalize;
}

.evenements-calendar-nav {
  display: inline-flex;
  align-items: center;
  gap: 0.38rem;
}

.evenements-calendar-nav button,
.evenements-calendar-nav a {
  width: 2rem;
  height: 2rem;
  border: 1px solid rgba(40, 123, 164, 0.4);
  border-radius: 0.65rem;
  background: rgba(255, 255, 255, 0.86);
  color: var(--brand-strong);
  font: inherit;
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1;
  padding: 0;
  display: inline-grid;
  place-items: center;
  text-decoration: none;
  cursor: pointer;
  transition:
    background-color 0.18s ease,
    border-color 0.18s ease,
    color 0.18s ease,
    box-shadow 0.18s ease,
    transform 0.18s ease;
}

.evenements-calendar-nav button:hover,
.evenements-calendar-nav button:focus-visible,
.evenements-calendar-nav a:hover,
.evenements-calendar-nav a:focus-visible {
  background: linear-gradient(145deg, var(--calendar-hover-bg-soft), var(--calendar-hover-bg));
  border-color: var(--calendar-hover-border);
  color: #ffffff;
  box-shadow: var(--calendar-hover-shadow);
  outline: 1px solid var(--calendar-hover-outline);
  outline-offset: 1px;
  transform: translateY(-2px);
}

.evenements-calendar-nav button:active,
.evenements-calendar-nav a:active {
  transform: translateY(0);
  background: #2f6e8d;
  box-shadow: 0 5px 10px rgba(37, 124, 167, 0.2);
}

.evenements-calendar-weekdays {
  margin-top: 0.55rem;
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0.4rem;
}

.evenements-calendar-scroll {
  margin-top: 0.2rem;
  overflow-x: hidden;
  padding-bottom: 0.15rem;
  width: 100%;
}

.evenements-calendar-scroll .evenements-calendar-weekdays,
.evenements-calendar-scroll .evenements-calendar-grid {
  min-width: 0;
  width: 100%;
}

.evenements-calendar-weekdays span {
  border-radius: 0.58rem;
  border: 1px solid rgba(40, 123, 164, 0.2);
  background: rgba(40, 123, 164, 0.08);
  color: #2e5f77;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
  padding: 0.4rem 0.2rem;
}

.evenements-calendar-grid {
  margin-top: 0.3rem;
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  grid-template-rows: repeat(6, var(--events-calendar-day-height));
  gap: 0.4rem;
}

.evenements-calendar-day {
  min-height: 0;
  height: var(--events-calendar-day-height);
  border: 1px solid rgba(40, 123, 164, 0.22);
  border-radius: 0.75rem;
  background: rgba(255, 255, 255, 0.82);
  padding: 0.42rem 0.45rem;
  display: grid;
  align-content: start;
  gap: 0.22rem;
  text-align: left;
  text-decoration: none;
  font: inherit;
  color: inherit;
  cursor: pointer;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    background-color 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease;
}

.evenements-calendar-day:not(.is-empty):hover,
.evenements-calendar-day:not(.is-empty):focus-visible {
  border-color: var(--calendar-hover-border);
  background: linear-gradient(145deg, var(--calendar-hover-bg-soft), var(--calendar-hover-bg));
  color: #ffffff;
  box-shadow: var(--calendar-hover-shadow);
  outline: 1px solid var(--calendar-hover-outline);
  outline-offset: 1px;
  transform: translateY(-2px);
}

.evenements-calendar-day:not(.is-empty):active {
  transform: translateY(0);
  background: #2f6e8d;
  border-color: #347798;
  box-shadow: 0 5px 10px rgba(37, 124, 167, 0.2);
}

.evenements-calendar-day.is-has-event {
  border-color: rgba(40, 123, 164, 0.52);
  box-shadow: inset 0 0 0 1px rgba(40, 123, 164, 0.14);
}

.evenements-calendar-day.is-selected {
  border-color: #377899;
  background:
    radial-gradient(circle at 85% 15%, rgba(255, 255, 255, 0.22), transparent 34%),
    linear-gradient(145deg, #579cbe, #377ea1);
  color: #ffffff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.24), 0 0 0 2px rgba(182, 138, 68, 0.28);
}

.evenements-calendar-day.is-selected:hover,
.evenements-calendar-day.is-selected:focus-visible {
  border-color: #306a87;
  background:
    radial-gradient(circle at 85% 15%, rgba(255, 255, 255, 0.2), transparent 34%),
    linear-gradient(145deg, #4e96ba, #34799b);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.3), 0 0 0 2px rgba(182, 138, 68, 0.35), 0 10px 20px rgba(37, 124, 167, 0.22);
}

.evenements-calendar-day.is-empty {
  border-style: dashed;
  border-color: rgba(40, 123, 164, 0.14);
  background: rgba(248, 244, 236, 0.65);
  cursor: default;
}

.evenements-calendar-day.is-today {
  border-color: rgba(182, 138, 68, 0.95);
  background:
    radial-gradient(circle at 88% 10%, rgba(182, 138, 68, 0.3), transparent 36%),
    rgba(255, 252, 241, 0.97);
  box-shadow: inset 0 0 0 1px rgba(182, 138, 68, 0.34), 0 0 0 2px rgba(182, 138, 68, 0.18);
}

.evenements-calendar-day.is-today .evenements-calendar-day-number {
  display: inline-grid;
  place-items: center;
  width: 1.6rem;
  height: 1.6rem;
  border-radius: 999px;
  color: #fff;
  background: #b68a44;
}

.evenements-calendar-day-number {
  font-size: 0.82rem;
  font-weight: 800;
  color: #397593;
}

.evenements-calendar-day.is-selected .evenements-calendar-day-number {
  color: #ffffff;
}

.evenements-calendar-day:not(.is-empty):hover .evenements-calendar-day-number,
.evenements-calendar-day:not(.is-empty):focus-visible .evenements-calendar-day-number {
  color: #ffffff;
}

.evenements-calendar-chip {
  display: block;
  border-radius: 0.5rem;
  padding: 0.16rem 0.35rem;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.2;
  color: #2d799f;
  background: rgba(40, 123, 164, 0.14);
  border: 1px solid rgba(40, 123, 164, 0.24);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.evenements-calendar-day:not(.is-empty):hover .evenements-calendar-chip,
.evenements-calendar-day:not(.is-empty):focus-visible .evenements-calendar-chip {
  color: #1f7ead;
  background: rgba(255, 255, 255, 0.95);
  border-color: rgba(255, 255, 255, 1);
}

.evenements-calendar-day.is-selected .evenements-calendar-chip {
  color: #1f7ead;
  background: rgba(255, 255, 255, 0.95);
  border-color: rgba(255, 255, 255, 1);
}

.evenements-calendar-chip.is-more {
  color: #6b4c22;
  background: rgba(182, 138, 68, 0.18);
  border-color: rgba(182, 138, 68, 0.42);
}

.evenements-calendar-focus {
  margin-top: 0.45rem;
  border: 1px solid rgba(40, 123, 164, 0.24);
  border-radius: 0.82rem;
  background: rgba(255, 255, 255, 0.82);
  padding: 0.46rem 0.62rem;
}

.evenements-calendar-focus-title {
  margin: 0 0 0.35rem;
  font-size: 0.96rem;
  font-weight: 800;
  color: #397593;
}

.evenements-calendar-focus-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.5rem;
}

.evenements-calendar-focus-item {
  border: 1px solid rgba(40, 123, 164, 0.2);
  border-radius: 0.7rem;
  background: rgba(247, 250, 252, 0.92);
  padding: 0.45rem 0.55rem;
  display: grid;
  gap: 0.2rem;
}

.evenements-calendar-focus-link {
  border: 0;
  background: transparent;
  padding: 0;
  margin: 0;
  text-align: left;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--brand-strong);
  text-decoration: underline;
  text-underline-offset: 0.16rem;
  cursor: pointer;
}

.evenements-calendar-focus-link:hover,
.evenements-calendar-focus-link:focus-visible {
  color: #1880b4;
}

.evenements-calendar-focus-meta,
.evenements-calendar-focus-note {
  margin: 0;
  font-size: 0.82rem;
  color: #3a3c37;
}

.event-item.is-calendar-target {
  border-color: rgba(40, 123, 164, 0.64);
  box-shadow: 0 0 0 2px rgba(40, 123, 164, 0.13);
}

body.event-sheet-open {
  overflow: hidden;
}

.event-sheet {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 0.9rem;
}

.event-sheet[hidden] {
  display: none !important;
}

.event-sheet-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(57, 117, 147, 0.5);
  backdrop-filter: blur(2px);
}

.event-sheet-panel {
  position: relative;
  z-index: 1;
  width: min(920px, calc(100vw - 1.6rem));
  max-height: calc(100dvh - 1.6rem);
  overflow: auto;
  border: 1px solid rgba(40, 123, 164, 0.38);
  border-radius: 1rem;
  background:
    radial-gradient(circle at 95% 3%, rgba(40, 123, 164, 0.14), transparent 35%),
    linear-gradient(160deg, rgba(253, 250, 242, 0.98), rgba(244, 237, 223, 0.96));
  box-shadow: 0 24px 48px rgba(57, 117, 147, 0.33);
}

.event-sheet-panel:focus-visible {
  outline: 2px solid rgba(40, 123, 164, 0.6);
  outline-offset: 2px;
}

.event-sheet-panel.is-maximized {
  width: min(1220px, calc(100vw - 0.9rem));
  max-height: calc(100dvh - 0.9rem);
}

.event-sheet-panel.is-minimized {
  width: min(520px, calc(100vw - 1rem));
  max-height: none;
  margin-top: auto;
  align-self: end;
}

.event-sheet-panel.is-minimized .event-sheet-body {
  display: none;
}

.event-sheet-header {
  border-bottom: 1px solid rgba(40, 123, 164, 0.2);
  padding: 0.95rem 0.9rem 0.85rem;
  display: grid;
  gap: 0.65rem;
  position: relative;
}

.event-sheet-heading {
  padding-right: 8rem;
}

.event-sheet-heading h2 {
  margin: 0;
  font-family: "Cormorant Garamond", "Times New Roman", serif;
  font-size: clamp(1.35rem, 2.6vw, 1.95rem);
  font-weight: 600;
  letter-spacing: 0.005em;
}

.event-sheet-controls {
  position: absolute;
  top: 0.62rem;
  right: 0.62rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.event-sheet-control-btn {
  width: 1.58rem;
  height: 1.58rem;
  border: 1px solid transparent;
  border-radius: 999px;
  background: #e9e9e9;
  color: rgba(0, 0, 0, 0.62);
  font: inherit;
  font-size: 0.98rem;
  font-weight: 800;
  line-height: 1;
  padding: 0;
  display: inline-grid;
  place-items: center;
  cursor: pointer;
}

.event-sheet-control-btn:hover,
.event-sheet-control-btn:focus-visible {
  filter: brightness(0.95);
  box-shadow: 0 0 0 2px rgba(40, 123, 164, 0.14);
}

.event-sheet-control-btn.is-close {
  background: #ff5f57;
  border-color: #df4d46;
}

.event-sheet-control-btn.is-minimize {
  background: #febc2e;
  border-color: #d49a24;
}

.event-sheet-control-btn.is-maximize {
  background: #2295ce;
  border-color: #249dd9;
}

.event-sheet-control-btn.is-close:hover,
.event-sheet-control-btn.is-close:focus-visible {
  background: #ef524b;
}

.event-sheet-body {
  padding: 0.82rem 0.9rem 1rem;
  display: grid;
  gap: 0.72rem;
}

.event-sheet-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.62rem;
}

.event-sheet-item {
  border: 1px solid rgba(40, 123, 164, 0.22);
  border-radius: 0.82rem;
  background: rgba(255, 255, 255, 0.84);
  padding: 0.62rem 0.68rem;
  display: grid;
  gap: 0.34rem;
}

.event-sheet-item h3 {
  margin: 0;
  font-size: 1.03rem;
  color: #397593;
}

.event-sheet-item p {
  margin: 0;
}

body.home-light {
  background:
    radial-gradient(circle at 12% 10%, rgba(182, 138, 68, 0.16) 0, transparent 34%),
    radial-gradient(circle at 88% 6%, rgba(40, 123, 164, 0.13) 0, transparent 33%),
    #f5f1e8;
}

body.home-light .home-main {
  padding: 0.45rem 0 2rem;
}

/* Make intro and events blocks as wide as the carousel band. */
body.home-light .home-hero-light > .container,
body.home-light .section-alt > .container {
  width: 100%;
  max-width: none;
  margin-inline: auto;
  padding-inline: clamp(0.7rem, 1.4vw, 1rem);
}

body.home-light .home-hero-light {
  padding-bottom: 0.6rem;
}

body.home-light .monthly-wire-layout {
  width: min(100%, var(--layout-unified-width));
  margin-inline: auto;
  display: grid;
  gap: 0.72rem;
}

body.home-light .monthly-wire-top {
  margin: 0 0 0.55rem;
}

body.home-light .monthly-wire-top-copy {
  border: 0;
  border-bottom: 0;
  border-radius: 0;
  background: transparent;
  padding: 0 0 0.55rem;
}

body.home-light .monthly-wire-title-line {
  display: block;
}

body.home-light .monthly-wire-logo {
  width: clamp(54px, 7vw, 74px);
  height: auto;
  flex-shrink: 0;
  object-fit: contain;
}

body.home-light .monthly-wire-top-copy .kicker {
  margin: 0;
  white-space: nowrap;
}

body.home-light .monthly-wire-top-copy h2 {
  margin: 0.15rem 0 0;
  font-size: clamp(1.32rem, 2.15vw, 1.82rem);
  line-height: 1.1;
  white-space: nowrap !important;
}

body.home-light .monthly-wire-sub,
body.home-light .home-annual-note {
  border: 1px solid rgba(40, 123, 164, 0.25);
  border-radius: 0.55rem;
  background: rgba(252, 248, 239, 0.96);
  padding: 0.48rem 0.8rem;
}

body.home-light .monthly-wire-sub p,
body.home-light .home-annual-note p {
  margin: 0;
  font-size: 0.96rem;
  color: #1e3d4c;
}

body.home-light .home-annual-note {
  margin-top: 0.82rem;
}

body.home-light .home-important-note {
  position: relative;
  margin: 0;
  width: 100%;
  max-width: none;
  justify-self: stretch;
  align-self: start;
  transform: none;
  border: 1px solid rgba(40, 123, 164, 0.24);
  border-radius: 0.92rem;
  background:
    linear-gradient(165deg, rgba(255, 253, 248, 0.97), rgba(243, 236, 223, 0.96)),
    radial-gradient(circle at 12% 16%, rgba(182, 138, 68, 0.16), transparent 45%);
  box-shadow: 0 10px 22px rgba(57, 117, 147, 0.11);
  padding: 0.84rem 0.9rem 0.8rem;
}

body.home-light .home-important-note::before {
  content: "";
  position: absolute;
  left: 0.72rem;
  right: 0.72rem;
  top: 0.38rem;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, #217dab 0%, #257096 55%, #b68a44 100%);
}

body.home-light .home-intro-copy .home-important-note-title {
  margin: 0;
  padding-top: 0.18rem;
  color: #1c7fb0;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.81rem;
  font-weight: 800;
  text-align: left;
  text-justify: auto;
  hyphens: none;
}

body.home-light .home-intro-copy .home-important-note-line {
  margin: 0;
  font-size: 0.98rem;
  color: #397593;
  font-weight: 560;
  line-height: 1.46;
  text-align: left;
  text-justify: auto;
  hyphens: none;
}

body.home-light .home-intro-copy .home-important-note-line + .home-important-note-line {
  margin-top: 0.42rem;
}

body.home-light .monthly-wire-card {
  border-radius: 1.9rem 1.15rem 1.9rem 1.15rem;
  border: 1px solid rgba(40, 123, 164, 0.27);
  background:
    linear-gradient(155deg, rgba(255, 253, 248, 0.97), rgba(245, 239, 227, 0.95));
  padding: 1.2rem 1.25rem 1.1rem;
}

body.home-light .monthly-wire-l-wrap {
  --wire-gap: 0.18rem;
  --wire-cut-w-safe: min(var(--wire-cut-w-user, 620px), 46vw);
  --wire-cut-w: clamp(460px, var(--wire-cut-w-safe), 700px);
  --wire-cut-h: var(--wire-cut-h-user, clamp(520px, 44vw, 700px));
  --wire-text-size: var(--wire-text-size-user, 1rem);
  --wire-notch-radius: 16px;
  --wire-notch-w: calc(var(--wire-cut-w) + var(--wire-gap));
  --wire-notch-h: calc(var(--wire-cut-h) + var(--wire-gap));

  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, var(--wire-cut-w));
  grid-template-areas: "word slider";
  gap: var(--wire-gap);
  align-items: start;
}

body.home-light .monthly-wire-card-l {
  grid-area: word;
  position: relative;
  border: 0;
  background: transparent;
  box-shadow: none;
  padding: 0;
  width: 100%;
  max-width: none;
  min-width: 0;
  overflow: hidden;
  border-radius: 1.25rem;
}

body.home-light .monthly-wire-card-l::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 1.25rem;
  border: 1px solid rgba(40, 123, 164, 0.27);
  background:
    linear-gradient(155deg, rgba(255, 253, 248, 0.97), rgba(245, 239, 227, 0.95));
  box-shadow: 0 12px 24px rgba(34, 41, 34, 0.09);
}

body.home-light .monthly-wire-card-l-inner {
  position: relative;
  z-index: 1;
  display: block;
  padding: 1.2rem 1.25rem 1.1rem;
}

body.home-light .monthly-wire-card-l-inner::before {
  display: none;
}

body.home-light .monthly-wire-text-flow {
  min-width: 0;
}

body.home-light .monthly-wire-slider {
  grid-area: slider;
  align-self: stretch;
  width: 100%;
  border: 0;
  border-radius: 0;
  background: transparent;
  padding: 0;
  box-shadow: none;
}

body.home-light .monthly-wire-slider-outside {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 0.95rem;
  align-content: start;
  min-height: 0;
  height: auto;
  margin-left: 0;
  width: 100%;
}

body.home-light .monthly-wire-slider .kicker {
  margin: 0.1rem 0 0.36rem;
}

body.home-light .monthly-wire-slider .home-slider-mini {
  height: var(--wire-cut-h);
  min-height: var(--wire-cut-h);
  border-radius: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

body.home-light .saint-laurent-card {
  border: 1px solid rgba(40, 123, 164, 0.24);
  border-radius: 0.95rem;
  background: linear-gradient(160deg, rgba(255, 253, 248, 0.96), rgba(245, 241, 232, 0.95));
  box-shadow: 0 12px 24px rgba(34, 41, 34, 0.12);
  overflow: hidden;
}

body.home-light .saint-laurent-card-inline {
  width: 100%;
  margin: 0;
}

body.home-light .monthly-wire-text {
  color: #1f1c18;
}

body.home-light .monthly-wire-text p {
  margin: 0.4rem 0 0;
  line-height: 1.54;
  font-size: var(--wire-text-size);
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
}

body.home-light .monthly-wire-signature {
  margin-top: 0.72rem;
  padding-top: 0.6rem;
  border-top: 1px solid rgba(40, 123, 164, 0.2);
  font-weight: 700;
  color: #287ba4;
}

body.home-light .monthly-wire-tuner {
  border-radius: 0.95rem;
  border: 1px dashed rgba(40, 123, 164, 0.34);
  background: rgba(255, 251, 243, 0.92);
  padding: 0.85rem 1rem;
}

body.home-light .monthly-wire-tuner h3 {
  margin: 0;
}

body.home-light .monthly-wire-tuner .form-note {
  margin-top: 0.35rem;
}

body.home-light .monthly-wire-tuner-grid {
  margin-top: 0.65rem;
  display: grid;
  gap: 0.55rem;
}

body.home-light .monthly-wire-tuner-row {
  display: grid;
  grid-template-columns: minmax(180px, 220px) minmax(0, 1fr) 88px;
  align-items: center;
  gap: 0.58rem;
}

body.home-light .monthly-wire-tuner-row label {
  font-weight: 700;
  color: #397593;
  font-size: 0.9rem;
}

body.home-light .monthly-wire-tuner-row input[type="number"] {
  width: 100%;
}

body.home-light .home-hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  align-items: stretch;
}

body.home-light .home-hero-topbar {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 72px;
  margin-top: -0.52rem;
  padding: 0.36rem 1rem 0.36rem 0.78rem;
  border: 1px solid rgba(40, 123, 164, 0.24);
  border-left: 1px solid rgba(40, 123, 164, 0.24);
  border-radius: 0.95rem;
  background:
    linear-gradient(180deg, #fffdf8, #f5f1e8),
    radial-gradient(circle at 12% 50%, rgba(189, 156, 97, 0.16), transparent 44%);
  box-shadow: 0 7px 18px rgba(21, 42, 53, 0.08);
}

body.has-sidebar.home-light .home-hero-topbar {
  margin-left: -1.35rem;
  width: calc(100% + 1.35rem);
}

body.home-light .home-hero-topbar::before {
  display: none;
}

body.home-light .home-hero-topbar-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.72rem;
  text-decoration: none;
  color: #397593;
}

body.home-light .home-hero-topbar-logo {
  width: clamp(56px, 6.2vw, 92px);
  height: auto;
  object-fit: contain;
}

body.home-light .home-hero-topbar-name {
  font-size: clamp(0.92rem, 1.5vw, 1.12rem);
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #247ca8;
}

body.home-light .home-intro-card,
body.home-light .home-slider-card {
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: linear-gradient(160deg, rgba(255, 253, 248, 0.95), rgba(248, 243, 232, 0.95));
  box-shadow: 0 12px 24px rgba(34, 41, 34, 0.09);
  padding: 1.1rem;
}

body.home-light .home-intro-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1rem 1.15rem;
  align-items: stretch;
}

body.home-light .home-intro-copy {
  min-width: 0;
}

body.home-light .home-intro-copy > .kicker {
  font-size: clamp(0.98rem, 1.5vw, 1.24rem);
  letter-spacing: 0.17em;
}

body.home-light .home-intro-card h1 {
  margin-top: 0.4rem;
  font-size: clamp(1.3rem, 2.45vw, 2rem);
  line-height: 1.12;
}

body.home-light .home-intro-card p {
  margin: 0.72rem 0 0;
}

body.home-light .home-intro-lead {
  margin-top: 0.72rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 430px);
  gap: 0.9rem 1rem;
  align-items: start;
}

body.home-light .home-intro-text p {
  margin: 0;
  line-height: 1.72;
  text-wrap: pretty;
}

body.home-light .home-intro-text p + p {
  margin-top: 0.7rem;
}

body.home-light .home-intro-text {
  max-width: min(72ch, 100%);
}

body.home-light .home-intro-priest-panel {
  display: flex;
  justify-content: flex-end;
  align-items: stretch;
}

body.home-light .home-intro-priest-figure {
  margin: 0;
  width: 100%;
  border: 1px solid rgba(40, 123, 164, 0.24);
  border-radius: 1rem;
  overflow: hidden;
  background:
    linear-gradient(170deg, rgba(255, 253, 248, 0.96), rgba(242, 234, 217, 0.92));
  box-shadow: 0 14px 26px rgba(57, 117, 147, 0.14);
}

body.home-light .home-intro-priest-figure img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center 16%;
}

body.home-light .home-intro-priest-figure figcaption {
  margin: 0;
  padding: 0.5rem 0.65rem;
  text-align: center;
  font-size: 0.82rem;
  letter-spacing: 0.045em;
  text-transform: uppercase;
  font-weight: 800;
  color: #f8f3ea;
  background: linear-gradient(135deg, rgba(37, 124, 167, 0.95), rgba(40, 103, 134, 0.95));
}

body.home-light .home-slider-band-section {
  padding: 0.15rem clamp(0.55rem, 1.4vw, 1rem) 1.35rem;
}

body.home-light .home-slider-band-shell {
  width: min(100%, var(--layout-unified-width));
  margin-inline: auto;
  border-top: 1px solid rgba(40, 123, 164, 0.16);
  border-bottom: 1px solid rgba(40, 123, 164, 0.16);
  border-radius: 0.92rem;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 253, 248, 0.86), rgba(240, 233, 219, 0.9));
  box-shadow: 0 8px 20px rgba(57, 117, 147, 0.07);
}

/* Horizontal carousel layout with fixed responsive heights. */
body.home-light .home-slider {
  position: relative;
  width: 100%;
  border-radius: 0;
  overflow: hidden;
  height: 500px;
  background: #e7dfcd;
  touch-action: pan-y;
}

body.home-light .home-slider-loading {
  margin: 0;
  display: grid;
  place-items: center;
  height: 100%;
  color: #3f4a43;
  font-weight: 700;
}

body.home-light .home-slider-track {
  display: flex;
  height: 100%;
  transform: translateX(0);
  transition: transform 0.45s ease;
  will-change: transform;
}

body.home-light .home-slide {
  flex: 0 0 100%;
  margin: 0;
  height: 100%;
}

body.home-light .home-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

body.home-light .home-slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 2.2rem;
  height: 2.2rem;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 999px;
  background: rgba(37, 124, 167, 0.66);
  color: #f8f4eb;
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
}

body.home-light .home-slider-btn.is-prev {
  left: 0.6rem;
}

body.home-light .home-slider-btn.is-next {
  right: 0.6rem;
}

body.home-light .home-slider-dots {
  position: absolute;
  left: 50%;
  bottom: 0.58rem;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 0.42rem;
  padding: 0.18rem 0.32rem;
  border-radius: 999px;
  background: rgba(255, 253, 247, 0.74);
  border: 1px solid rgba(40, 123, 164, 0.16);
  z-index: 2;
}

body.home-light .home-slider-dots button {
  width: 1.5rem;
  height: 1.5rem;
  border: 0;
  background: transparent;
  padding: 0;
  display: grid;
  place-items: center;
  overflow: visible;
  transition: transform 0.2s ease;
  cursor: pointer;
}

body.home-light .home-slider-dots button::before {
  content: "\2606";
  display: block;
  font-size: 1.22rem;
  line-height: 1.1;
  color: rgba(40, 123, 164, 0.42);
  transition:
    color 0.22s ease,
    transform 0.22s ease,
    text-shadow 0.22s ease;
}

body.home-light .home-slider-dots button:hover {
  transform: translateY(-1px);
}

body.home-light .home-slider-dots button:focus-visible {
  outline: 2px solid rgba(40, 123, 164, 0.45);
  outline-offset: 2px;
}

body.home-light .home-slider-dots button.is-active {
  transform: translateY(-1px) scale(1.03);
}

body.home-light .home-slider-dots button.is-active::before {
  content: "\2605";
  color: #1880b4;
  text-shadow: 0 0 8px rgba(24, 128, 180, 0.2);
}

body.home-light .home-slider.home-slider-flat {
  display: flex;
  flex-direction: column;
  overflow: hidden !important;
}

body.home-light .home-slider.home-slider-flat .home-slider-track {
  flex: 1 1 auto;
  min-height: 0;
}

body.home-light .home-slider.home-slider-flat .home-slider-dots {
  position: static;
  left: auto;
  bottom: auto;
  transform: none;
  margin: 0.45rem auto 0;
}

body.home-light .home-slider.home-slider-flat .home-slider-btn {
  top: 46%;
}

/* 3D carousel mode for homepage parish photos. */
body.home-light .home-slider-3d {
  --home3d-offset: clamp(96px, 19vw, 160px);
  --home3d-side-scale: 0.86;
  --home3d-side-blur: 1.3px;
  perspective: 1200px;
  background: transparent;
}

body.home-light .home-slider-3d .home-slider-track {
  display: block;
  position: relative;
  height: 100%;
  transform: none !important;
  transition: none;
  transform-style: preserve-3d;
}

body.home-light .home-slider-3d .home-slide {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(96%, 780px);
  height: 86%;
  margin: 0;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -50%) scale(0.74);
  filter: blur(2.4px) saturate(0.86);
  transition:
    transform 0.52s cubic-bezier(0.22, 0.61, 0.36, 1),
    opacity 0.34s ease,
    filter 0.34s ease;
}

body.home-light .home-slider-3d .home-slide img {
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.84);
  box-shadow:
    0 8px 20px rgba(55, 118, 149, 0.3),
    0 0 0 1px rgba(40, 123, 164, 0.16) inset;
}

body.home-light .home-slider-3d .home-slide.is-active {
  z-index: 4;
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, -50%) scale(1) translateZ(0);
  filter: none;
}

body.home-light .home-slider-3d .home-slide.is-prev {
  z-index: 3;
  opacity: 0.7;
  transform: translate(calc(-50% - var(--home3d-offset)), -50%) rotateY(23deg) scale(var(--home3d-side-scale));
  filter: blur(var(--home3d-side-blur)) saturate(0.92);
}

body.home-light .home-slider-3d .home-slide.is-next {
  z-index: 3;
  opacity: 0.7;
  transform: translate(calc(-50% + var(--home3d-offset)), -50%) rotateY(-23deg) scale(var(--home3d-side-scale));
  filter: blur(var(--home3d-side-blur)) saturate(0.92);
}

body.home-light .home-slider-3d .home-slide.is-hidden {
  z-index: 1;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.64);
}

body.home-light .home-slider-3d .home-slider-btn {
  background: rgba(40, 123, 164, 0.78);
  border-color: rgba(255, 255, 255, 0.75);
  width: 2.35rem;
  height: 2.35rem;
}

body.home-light .home-slider-3d .home-slider-btn.is-prev {
  left: 0.45rem;
}

body.home-light .home-slider-3d .home-slider-btn.is-next {
  right: 0.45rem;
}

body.home-light .home-slider-3d .home-slider-dots {
  bottom: 0.06rem;
  gap: 0.48rem;
  padding: 0.2rem 0.34rem;
  border-radius: 999px;
  background: transparent;
  border: 0;
  backdrop-filter: none;
  box-shadow: none;
}

body.home-light .home-slider-3d .home-slider-dots button {
  width: 1.68rem;
  height: 1.68rem;
  border: 0;
  background: transparent;
  padding: 0;
  display: grid;
  place-items: center;
  overflow: visible;
  transition: transform 0.2s ease;
}

body.home-light .home-slider-3d .home-slider-dots button::before {
  content: "\2606";
  display: block;
  font-size: 1.3rem;
  line-height: 1.16;
  color: rgba(40, 123, 164, 0.38);
  transition:
    color 0.24s ease,
    transform 0.24s ease,
    text-shadow 0.24s ease;
}

body.home-light .home-slider-3d .home-slider-dots button:hover {
  transform: translateY(-1px);
}

body.home-light .home-slider-3d .home-slider-dots button:focus-visible {
  outline: 2px solid rgba(40, 123, 164, 0.45);
  outline-offset: 2px;
}

body.home-light .home-slider-3d .home-slider-dots button.is-active {
  transform: translateY(-1px) scale(1.04);
}

body.home-light .home-slider-3d .home-slider-dots button.is-active::before {
  content: "\2605";
  color: #1880b4;
  text-shadow: 0 0 8px rgba(24, 128, 180, 0.24);
}

body.home-light .saint-laurent-card img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

@media (max-width: 1500px) {
  body.home-light .monthly-wire-top-copy h2 {
    white-space: normal !important;
  }
}

@media (max-width: 1360px) {
  body.home-light .monthly-wire-l-wrap {
    grid-template-columns: 1fr;
    grid-template-areas:
      "word"
      "slider";
    --wire-cut-w: 100%;
    --wire-cut-h: auto;
    --wire-notch-w: 0px;
    --wire-notch-h: 0px;
  }

  body.home-light .monthly-wire-card-l {
    width: 100%;
    margin-right: 0;
    clip-path: none;
    border-radius: 1.25rem;
  }

  body.home-light .monthly-wire-card-l::before {
    clip-path: none;
    border-radius: 1.25rem;
  }

  body.home-light .monthly-wire-slider-outside {
    width: 100%;
    margin-left: 0;
    min-height: 0;
    height: auto;
  }

  body.home-light .monthly-wire-slider-outside .home-slider-mini {
    height: clamp(240px, 34vw, 320px);
    min-height: clamp(240px, 34vw, 320px);
    border-radius: 0.72rem;
  }
}

@media (max-width: 1150px) {
  body.home-light .home-hero-grid {
    grid-template-columns: 1fr;
  }

  body.home-light .home-intro-lead {
    grid-template-columns: 1fr;
  }

  body.home-light .home-important-note {
    max-width: none;
    justify-self: stretch;
    transform: none;
  }
}

@media (max-width: 900px) {
  body.home-light .monthly-wire-slider-outside {
    gap: 0.72rem;
  }

  body.home-light .saint-laurent-card-inline {
    width: min(390px, 100%);
    margin-inline: auto;
  }

  body.home-light .home-slider-band-section {
    padding-bottom: 1rem;
  }

  body.home-light .home-slider {
    height: 300px;
  }

  body.home-light .home-slider-3d {
    --home3d-offset: clamp(76px, 14vw, 120px);
  }

  body.home-light .home-slider-3d .home-slide {
    left: 50%;
    width: min(96%, 540px);
    height: 82%;
  }

  body.home-light .home-intro-card {
    grid-template-columns: 1fr;
  }

  body.home-light .home-hero-topbar {
    min-height: 62px;
    margin-left: 0;
    width: 100%;
    padding: 0.35rem 0.8rem;
    border-left: 1px solid rgba(40, 123, 164, 0.24);
    border-radius: 0.9rem;
  }

  body.home-light .home-hero-topbar::before {
    display: none;
  }

  body.home-light .home-hero-topbar-logo {
    width: clamp(44px, 13vw, 66px);
  }

  body.home-light .home-hero-topbar-name {
    letter-spacing: 0.11em;
    font-size: 0.9rem;
  }

  body.home-light .home-intro-priest-panel {
    justify-content: center;
  }

  body.home-light .home-intro-priest-figure {
    width: min(235px, 100%);
  }

  body.home-light .monthly-wire-top {
    grid-template-columns: 1fr;
  }

  body.home-light .monthly-wire-top-copy h2 {
    font-size: clamp(1.18rem, 3.25vw, 1.62rem);
    white-space: normal !important;
  }

  body.home-light .monthly-wire-l-wrap {
    grid-template-columns: 1fr;
    grid-template-areas:
      "word"
      "slider";
    --wire-cut-w: 100%;
    --wire-cut-h: auto;
    --wire-notch-w: 0px;
    --wire-notch-h: 0px;
  }

  body.home-light .monthly-wire-card-l {
    width: min(88%, 980px);
    margin-right: auto;
    clip-path: none;
    border-radius: 1.25rem;
  }

  body.home-light .monthly-wire-card-l::before {
    clip-path: none;
    border-radius: 1.25rem;
  }

  body.home-light .monthly-wire-card-l-inner {
    display: block;
    padding: 1.1rem 1.05rem;
  }

  body.home-light .monthly-wire-card-l-inner::before {
    display: none;
  }

  body.home-light .monthly-wire-slider-outside .home-slider-mini {
    height: 212px;
    min-height: 212px;
    border-radius: 0.72rem;
  }

  body.home-light .monthly-wire-slider-outside {
    height: auto;
    margin-left: 0;
    width: 100%;
    min-height: 0;
  }

  body.home-light .monthly-wire-tuner-row {
    grid-template-columns: 1fr;
    gap: 0.4rem;
  }
}

body.home-wireframe {
  color: #e9eff7;
  background:
    linear-gradient(180deg, #3b4652 0%, #323d48 48%, #2d3741 100%);
}

body.home-wireframe .wireframe-home {
  padding: 1rem 0 2rem;
}

body.home-wireframe .wireframe-stage {
  padding-bottom: 0.8rem;
}

body.home-wireframe .wireframe-shell {
  border: 1px solid rgba(200, 211, 225, 0.18);
  border-radius: 1rem;
  background: linear-gradient(145deg, #37424e 0%, #303b46 100%);
  overflow: hidden;
  position: relative;
  box-shadow: 0 20px 34px rgba(8, 12, 17, 0.3);
}

body.home-wireframe .wireframe-shell::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
  background: rgba(198, 208, 220, 0.17);
  transform: translateX(-0.5px);
  pointer-events: none;
}

body.home-wireframe .wireframe-topnav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 0.9rem 1rem 0.45rem;
  border-bottom: 1px solid rgba(198, 208, 220, 0.1);
}

body.home-wireframe .wireframe-topnav a {
  text-decoration: none;
  color: rgba(235, 241, 249, 0.78);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.03em;
}

body.home-wireframe .wireframe-topnav a:hover,
body.home-wireframe .wireframe-topnav a:focus-visible {
  color: #ffffff;
}

body.home-wireframe .wireframe-hero {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.4rem;
  padding: 1.6rem 1.3rem 1.4rem;
}

body.home-wireframe .wireframe-copy {
  max-width: 520px;
}

body.home-wireframe .wireframe-mini {
  margin: 0;
  color: rgba(225, 234, 245, 0.76);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

body.home-wireframe .wireframe-copy h1 {
  margin-top: 0.45rem;
  font-family: "Manrope", "Segoe UI", sans-serif;
  font-size: clamp(1.95rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.12;
  color: #f4f7fb;
}

body.home-wireframe .wireframe-copy p {
  margin: 0.8rem 0 0;
  color: rgba(231, 238, 247, 0.88);
  font-size: 0.96rem;
  max-width: 60ch;
}

body.home-wireframe .wireframe-actions {
  margin-top: 1.2rem;
}

body.home-wireframe .wireframe-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 124px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: #ffffff;
  color: #29323b;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0.58rem 1.05rem;
}

body.home-wireframe .wireframe-side {
  align-self: center;
  max-width: 460px;
  color: rgba(231, 239, 249, 0.92);
}

body.home-wireframe .wireframe-counter {
  margin: 0;
  font-size: 0.74rem;
  letter-spacing: 0.1em;
  color: rgba(221, 231, 243, 0.7);
}

body.home-wireframe .wireframe-side p {
  margin: 0.9rem 0 0;
}

body.home-wireframe .wireframe-ref {
  margin-top: 0.32rem;
  color: rgba(228, 236, 246, 0.72);
  font-size: 0.83rem;
}

body.home-wireframe .wireframe-placeholder {
  margin-top: 1.15rem;
  border: 1px solid rgba(205, 214, 226, 0.36);
  border-radius: 0.5rem;
  background: #afb9c4;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

body.home-wireframe .wireframe-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

body.home-wireframe .wireframe-cards {
  padding: 0.9rem 0 1.2rem;
}

body.home-wireframe .wireframe-card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
}

body.home-wireframe .wireframe-card-grid .event-item {
  border: 1px solid rgba(196, 207, 220, 0.2);
  border-radius: 0.2rem;
  background: rgba(160, 171, 184, 0.18);
  box-shadow: none;
  padding: 0;
  color: #eff4fb;
  overflow: hidden;
  min-height: 100%;
}

body.home-wireframe .wireframe-thumb {
  aspect-ratio: 16 / 9;
  background: #c0c8d2;
  border-bottom: 1px solid rgba(198, 208, 220, 0.18);
}

body.home-wireframe .wireframe-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

body.home-wireframe .wireframe-card-grid h3 {
  margin: 0.75rem 0 0;
  padding: 0 0.75rem;
  font-family: "Manrope", "Segoe UI", sans-serif;
  font-size: 1.05rem;
  line-height: 1.2;
  font-weight: 700;
}

body.home-wireframe .wireframe-card-grid .event-meta {
  margin-top: 0.52rem;
  padding: 0 0.75rem;
  font-size: 0.8rem;
  color: rgba(227, 236, 246, 0.72);
}

body.home-wireframe .wireframe-card-grid p {
  margin: 0.5rem 0 0;
  padding: 0 0.75rem 0.75rem;
  font-size: 0.87rem;
  color: rgba(237, 243, 251, 0.9);
}

body.home-wireframe .wireframe-card-grid a {
  display: inline-block;
  margin: 0 0.75rem 0.8rem;
  font-size: 0.79rem;
  font-weight: 700;
  color: #e8f2ff;
  text-decoration: none;
  border-bottom: 1px solid rgba(232, 242, 255, 0.42);
}

body.home-wireframe .wireframe-update {
  color: rgba(232, 239, 248, 0.76);
}

body.home-wireframe .site-footer {
  background: #2f3842;
  border-top-color: rgba(195, 205, 218, 0.2);
}

body.home-wireframe .footer-wrap p,
body.home-wireframe .footer-links a {
  color: #d9e4f2;
}

@media (max-width: 1200px) {
  body.home-wireframe .wireframe-shell::before {
    display: none;
  }

  body.home-wireframe .wireframe-hero {
    grid-template-columns: 1fr;
    padding-top: 1.2rem;
  }

  body.home-wireframe .wireframe-side {
    max-width: none;
  }

  body.home-wireframe .wireframe-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  body.home-wireframe .wireframe-topnav {
    justify-content: flex-start;
  }

  body.home-wireframe .wireframe-card-grid {
    grid-template-columns: 1fr;
  }
}

.timeline {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.72rem;
}

.timeline li {
  border-left: 3px solid var(--accent);
  padding-left: 0.72rem;
}

.history-visual-section {
  padding-top: 0.8rem;
  padding-bottom: 1.5rem;
}

.history-museum-hero-section {
  padding-top: 1.25rem;
  padding-bottom: 1.1rem;
  background:
    radial-gradient(circle at 12% 20%, rgba(40, 123, 164, 0.28), transparent 40%),
    radial-gradient(circle at 88% 12%, rgba(182, 138, 68, 0.24), transparent 36%),
    linear-gradient(135deg, #1b262d, #233440 52%, #1b262d);
  border-block: 1px solid rgba(255, 255, 255, 0.1);
}

.history-museum-hero-shell {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 1.2rem;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 1.4rem;
  padding: 1.2rem;
  background:
    linear-gradient(130deg, rgba(17, 28, 34, 0.72), rgba(24, 39, 47, 0.64)),
    linear-gradient(160deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
  box-shadow: 0 18px 38px rgba(10, 19, 24, 0.35);
}

.history-museum-hero-content {
  color: #f4efe5;
}

.history-museum-hero-badge {
  display: inline-flex;
  align-items: center;
  margin: 0;
  border: 1px solid rgba(214, 183, 126, 0.62);
  border-radius: 999px;
  padding: 0.3rem 0.72rem;
  background: rgba(214, 183, 126, 0.16);
  color: #f4ddb0;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.history-museum-hero-content h2 {
  margin: 0.62rem 0 0;
  color: #fffaf0;
  font-size: clamp(2rem, 4.1vw, 3rem);
  line-height: 1.05;
}

.history-museum-hero-content p {
  margin: 0.74rem 0 0;
  max-width: 60ch;
  color: rgba(247, 240, 225, 0.92);
}

.history-museum-hero-actions {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.62rem;
}

.history-museum-hero-actions .btn-soft {
  background: rgba(250, 242, 227, 0.9);
}

.history-museum-hero-orb {
  margin: 0;
  justify-self: center;
  width: min(100%, 360px);
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  padding: 0.42rem;
  border: 1px dashed rgba(214, 183, 126, 0.6);
  background:
    radial-gradient(circle at 30% 18%, rgba(214, 183, 126, 0.25), rgba(13, 28, 35, 0.78));
  box-shadow: 0 18px 32px rgba(9, 21, 27, 0.4);
}

.history-museum-hero-orb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid rgba(255, 248, 234, 0.7);
}

.history-museum-facts-section {
  padding-top: 0.85rem;
  padding-bottom: 1.2rem;
}

.history-collection-section {
  padding-top: 1.15rem;
  padding-bottom: 1.1rem;
}

.history-collection-grid {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 1rem;
  align-items: start;
}

.history-collection-side {
  display: grid;
  gap: 0.95rem;
  align-content: start;
}

.history-collection-text {
  border-color: rgba(182, 138, 68, 0.34);
  background:
    linear-gradient(160deg, rgba(255, 253, 247, 0.98), rgba(247, 240, 225, 0.94));
}

.history-collection-text h2 {
  margin-top: 0.25rem;
}

.history-collection-text p {
  margin: 0.62rem 0 0;
  text-align: justify;
}

.history-collection-visual {
  position: relative;
  min-height: 380px;
  padding-top: 0.25rem;
}

.history-collection-quiz {
  margin: 0;
}

.history-stacked-photo {
  margin: 0;
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid rgba(40, 123, 164, 0.24);
  background: #ffffff;
  box-shadow: 0 14px 26px rgba(26, 32, 36, 0.18);
}

.history-stacked-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.history-stacked-photo-main {
  position: relative;
  width: min(100%, 430px);
  aspect-ratio: 4 / 3;
}

.history-year-badge {
  position: absolute;
  top: 0.58rem;
  left: 0.58rem;
  z-index: 2;
  border-radius: 0.62rem;
  border: 1px solid rgba(163, 203, 223, 0.7);
  background: rgba(29, 126, 175, 0.84);
  color: #f4fbff;
  padding: 0.38rem 0.56rem;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.history-year-badge.is-modern {
  left: auto;
  right: 0.58rem;
  background: rgba(29, 126, 175, 0.78);
  border-color: rgba(163, 203, 223, 0.7);
  color: #e9f4f9;
}

.history-stacked-photo-sub {
  position: absolute;
  right: 0;
  bottom: 0;
  width: min(65%, 280px);
  aspect-ratio: 10 / 13;
}

.history-game-section {
  padding-top: 1.3rem;
  padding-bottom: 1.8rem;
  background:
    radial-gradient(circle at 10% 0, rgba(40, 123, 164, 0.12), transparent 30%),
    radial-gradient(circle at 92% 6%, rgba(182, 138, 68, 0.16), transparent 32%),
    linear-gradient(180deg, rgba(248, 243, 233, 0.9), rgba(242, 234, 218, 0.9));
  border-block: 1px solid rgba(40, 123, 164, 0.1);
}

.history-quiz-stage {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  border-color: rgba(208, 164, 90, 0.42);
  background:
    radial-gradient(circle at 18% 14%, rgba(47, 116, 151, 0.5) 0, rgba(18, 50, 63, 0.95) 46%, rgba(13, 37, 48, 0.98) 100%);
  box-shadow: 0 18px 34px rgba(10, 27, 36, 0.26);
}

.history-quiz-stage::before {
  content: "";
  position: absolute;
  top: -138px;
  left: -118px;
  width: 390px;
  height: 390px;
  border-radius: 50%;
  border: 1px solid rgba(230, 202, 147, 0.28);
  background:
    radial-gradient(circle at 34% 30%, rgba(45, 122, 161, 0.55), rgba(15, 42, 54, 0.86));
  opacity: 0.55;
  pointer-events: none;
  z-index: -1;
}

.history-quiz-stage::after {
  content: "";
  position: absolute;
  right: -78px;
  top: 56px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 35%, rgba(209, 165, 93, 0.44), rgba(189, 136, 61, 0.78));
  border: 1px solid rgba(234, 207, 152, 0.35);
  opacity: 0.74;
  pointer-events: none;
  z-index: -1;
}

.history-quiz-stage > * {
  position: relative;
  z-index: 1;
}

.history-quiz-stage-top {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 1rem;
  align-items: start;
}

.history-quiz-heading h3 {
  margin: 0;
  color: #fff5de;
  font-size: clamp(2rem, 3.2vw, 2.55rem);
  line-height: 1.02;
  text-shadow: 0 2px 14px rgba(10, 26, 34, 0.22);
}

.history-quiz-intro {
  margin: 0.64rem 0 0;
  max-width: 55ch;
  color: rgba(247, 238, 222, 0.9);
}

.history-game-toolbar {
  display: grid;
  gap: 0.72rem;
  justify-items: end;
  align-content: start;
}

.history-quiz-stage .history-game-meta,
.history-quiz-stage .history-game-actions,
.history-game-toolbar .history-game-meta,
.history-game-toolbar .history-game-actions {
  margin-top: 0;
}

.history-game-meta {
  margin-top: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.52rem;
  justify-content: flex-end;
}

.history-game-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border: 1px solid rgba(222, 193, 136, 0.62);
  border-radius: 999px;
  padding: 0.34rem 0.78rem;
  background: rgba(251, 244, 230, 0.94);
  color: #387594;
  font-size: 0.86rem;
  font-weight: 800;
}

.history-game-actions {
  margin-top: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  align-items: center;
  justify-content: flex-end;
}

.history-story-section {
  padding-top: 1.35rem;
  padding-bottom: 1.1rem;
}

.history-story-main {
  border-color: rgba(182, 138, 68, 0.34);
  background:
    linear-gradient(160deg, rgba(255, 253, 247, 0.97), rgba(248, 241, 226, 0.93));
}

.history-story-main h2 {
  margin-top: 0.25rem;
}

.history-story-main p {
  margin: 0.62rem 0 0;
}

.history-game-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 1rem;
  align-items: start;
}

.history-game-card {
  border-color: rgba(40, 123, 164, 0.28);
  background:
    linear-gradient(160deg, rgba(255, 254, 250, 0.98), rgba(247, 240, 225, 0.94));
}

.history-game-card h2 {
  margin-bottom: 0.35rem;
}

.history-game-board {
  margin-top: 0.26rem;
  border: 1px solid rgba(208, 164, 90, 0.45);
  border-radius: 1.08rem;
  background:
    linear-gradient(160deg, rgba(255, 252, 246, 0.98), rgba(247, 237, 216, 0.93));
  padding: 0.95rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.45),
    0 12px 24px rgba(57, 117, 147, 0.08);
}

.history-game-board[hidden] {
  display: none !important;
}

.history-game-board.is-active {
  border-color: rgba(181, 135, 59, 0.7);
  background:
    radial-gradient(circle at 96% 6%, rgba(182, 138, 68, 0.24), transparent 48%),
    linear-gradient(160deg, rgba(255, 252, 246, 0.99), rgba(249, 238, 215, 0.95));
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.55),
    0 14px 25px rgba(32, 65, 82, 0.1);
}

.history-game-board-main {
  display: grid;
  gap: 0.58rem;
  align-content: start;
}

.history-game-question {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.52rem, 2.55vw, 1.95rem);
  line-height: 1.14;
  color: #1f2528;
}

.history-game-question:empty {
  display: none;
}

.history-game-launch-btn {
  font-family: "Manrope", "Segoe UI", sans-serif;
  font-size: 1rem;
  width: auto;
  min-height: 52px;
  border-radius: 0.82rem;
  padding: 0.76rem 1.08rem;
}

.history-game-options {
  margin-top: 0.44rem;
  display: grid;
  gap: 0.5rem;
}

.history-game-option {
  width: 100%;
  text-align: left;
  border: 1px solid rgba(41, 122, 163, 0.34);
  border-radius: 0.86rem;
  background: rgba(254, 253, 249, 0.95);
  color: #2e2a25;
  font: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.63rem 0.8rem;
  cursor: pointer;
  transition:
    background-color 0.18s ease,
    border-color 0.18s ease,
    color 0.18s ease,
    transform 0.18s ease;
}

.history-game-option:hover,
.history-game-option:focus-visible {
  border-color: rgba(37, 124, 167, 0.68);
  background: rgba(40, 123, 164, 0.1);
  color: var(--brand);
  transform: translateY(-1px);
}

.history-game-option.is-correct {
  border-color: rgba(26, 127, 178, 0.64);
  background: rgba(30, 113, 154, 0.2);
  color: #207dac;
}

.history-game-option.is-wrong {
  border-color: rgba(157, 60, 46, 0.58);
  background: rgba(255, 232, 220, 0.95);
  color: #6b2319;
}

.history-game-option:disabled {
  cursor: default;
}

.history-game-feedback {
  min-height: 1.3em;
  margin: 0.45rem 0 0;
  color: #287ba4;
  font-weight: 700;
}

.history-answer-panel {
  margin-top: 0.52rem;
  max-width: 430px;
  border: 1px solid rgba(181, 136, 61, 0.52);
  border-radius: 0.82rem;
  background: rgba(255, 249, 235, 0.96);
  padding: 0.62rem 0.72rem;
  box-shadow: 0 8px 16px rgba(57, 117, 147, 0.08);
}

.history-answer-panel[hidden] {
  display: none !important;
}

.history-answer-panel-title {
  margin: 0;
  font-size: 1rem;
  font-weight: 800;
  color: #337799;
}

.history-answer-panel-text {
  margin: 0.2rem 0 0;
  color: #3f372d;
  font-size: 0.93rem;
}

.history-answer-panel-actions {
  margin-top: 0.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.history-answer-panel-actions .btn {
  min-height: 42px;
  padding: 0.52rem 0.84rem;
  border-radius: 999px;
}

.history-answer-panel.is-correct {
  border-color: rgba(30, 110, 150, 0.58);
  background: rgba(233, 243, 248, 0.96);
}

.history-answer-panel.is-wrong {
  border-color: rgba(157, 60, 46, 0.56);
  background: rgba(255, 237, 228, 0.96);
}

.history-game-actions .history-game-launch-btn {
  border-radius: 999px;
  min-width: 190px;
}

.history-game-actions .btn-soft {
  margin: 0;
  border-color: rgba(204, 157, 78, 0.7);
  background: rgba(255, 248, 235, 0.96);
  color: #337799;
}

.history-game-actions .btn-soft:hover,
.history-game-actions .btn-soft:focus-visible {
  background: rgba(247, 235, 208, 0.98);
  border-color: rgba(176, 128, 51, 0.85);
  color: #30789c;
}

.history-game-side {
  display: grid;
  gap: 1rem;
}

.history-mini-card {
  border-color: rgba(182, 138, 68, 0.35);
  background:
    linear-gradient(160deg, rgba(255, 252, 243, 0.97), rgba(247, 238, 218, 0.93));
}

.history-visual-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.history-photo-card {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 0.95rem;
  overflow: hidden;
  background: var(--bg-panel);
  box-shadow: 0 10px 22px rgba(31, 28, 24, 0.08);
}

.history-photo-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.history-photo-card figcaption {
  padding: 0.56rem 0.68rem 0.65rem;
  font-size: 0.87rem;
  color: #3f382f;
}

.history-photo-card-small img {
  aspect-ratio: 16 / 10;
  max-height: 250px;
}

.history-text-section {
  padding-top: 2.2rem;
}

.history-text-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.history-story-card {
  border-color: rgba(40, 123, 164, 0.24);
  background:
    linear-gradient(160deg, rgba(255, 254, 249, 0.98), rgba(246, 238, 223, 0.93));
}

.history-story-card h3 {
  color: var(--brand-strong);
}

.history-quote-card {
  border-color: rgba(182, 138, 68, 0.45);
  background:
    radial-gradient(circle at 85% 8%, rgba(182, 138, 68, 0.2), transparent 40%),
    linear-gradient(155deg, rgba(255, 252, 246, 0.98), rgba(247, 238, 221, 0.94));
}

.history-quote-card h3 {
  color: #5d4422;
}

.history-quote-compact {
  margin-top: 1rem;
}

.timeline-card {
  border-color: rgba(40, 123, 164, 0.24);
  background:
    linear-gradient(160deg, rgba(240, 245, 248, 0.96), rgba(231, 240, 244, 0.92));
}

.history-conclusion-card {
  border-color: rgba(182, 138, 68, 0.4);
  background:
    radial-gradient(circle at 88% 10%, rgba(182, 138, 68, 0.2), transparent 40%),
    linear-gradient(160deg, rgba(255, 251, 241, 0.96), rgba(249, 241, 225, 0.92));
}

.shape-arch {
  border-radius: 1rem 1rem 2rem 2rem / 2.2rem 2.2rem 1rem 1rem;
}

.shape-wave {
  border-radius: 1.2rem 0.95rem 1.9rem 0.95rem / 1.05rem 1.9rem 1.2rem 2rem;
}

.shape-medallion {
  border-radius: 38% 62% 54% 46% / 38% 34% 66% 62%;
}

.shape-scroll {
  border-radius: 1rem 2.2rem 1rem 2.2rem / 2rem 1rem 2rem 1rem;
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
}

.photo-grid figure {
  margin: 0;
  border-radius: 0.85rem;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--bg-panel);
}

.photo-grid img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.old-photo {
  filter: grayscale(1) contrast(1.05) sepia(0.35);
}

.photo-grid figcaption {
  padding: 0.56rem 0.7rem;
  font-size: 0.86rem;
}

.cta-band {
  padding: 2rem 0 2.6rem;
}

.cta-grid {
  border-radius: 1rem;
  border: 1px solid var(--line);
  background: linear-gradient(150deg, #287ba4, #257ca7);
  color: #f5f1e8;
  box-shadow: var(--shadow);
  padding: 1.05rem;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  align-items: center;
}

.cta-grid h2 {
  font-size: clamp(1.7rem, 3vw, 2.35rem);
}

.site-footer {
  border-top: 1px solid rgba(40, 123, 164, 0.2);
  background: #eee4d3;
}

.site-footer .container {
  width: calc(100% - 1rem);
  max-width: none;
}

.footer-wrap {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 1.5rem;
  padding: 1rem 0;
  font-size: 0.92rem;
}

.footer-wrap p {
  margin: 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.footer-links a {
  text-decoration: none;
  color: var(--brand-strong);
  font-weight: 700;
}

.admin-suite {
  display: grid;
  gap: 1rem;
}

.admin-suite-content {
  display: grid;
  gap: 1rem;
}

.admin-suite-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.6rem;
}

.admin-suite-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.9rem;
}

.admin-stat-grid {
  margin-top: 0.8rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.7rem;
}

.admin-stat-card {
  border: 1px solid rgba(40, 123, 164, 0.24);
  border-radius: 0.82rem;
  padding: 0.8rem;
  background: linear-gradient(145deg, rgba(255, 253, 248, 0.9), rgba(242, 236, 225, 0.9));
}

.admin-stat-card span {
  display: block;
  color: var(--muted);
  font-size: 0.84rem;
}

.admin-stat-card strong {
  display: block;
  font-size: 1.5rem;
  color: var(--brand-strong);
}

.admin-mini-table td,
.admin-mini-table th {
  font-size: 0.9rem;
}

.admin-actions-inline {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.admin-actions-inline .btn {
  padding: 0.32rem 0.58rem;
  font-size: 0.82rem;
}

.admin-checkbox-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
}

.admin-checkbox-line label {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.mobile-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 35;
  display: none;
  gap: 0.55rem;
  padding: 0.55rem 0.8rem;
  border-top: 1px solid rgba(40, 123, 164, 0.2);
  background: rgba(245, 241, 232, 0.96);
  backdrop-filter: blur(8px);
}

.mobile-cta .btn {
  flex: 1;
}

@media (max-width: 1100px) {
  .hero-grid,
  .grid-4,
  .grid-3,
  .grid-2,
  .payment-grid,
  .photo-grid,
  .cta-grid {
    grid-template-columns: 1fr;
  }

  .form-grid.cols-2 {
    grid-template-columns: 1fr;
  }

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

  .history-game-layout,
  .history-text-grid {
    grid-template-columns: 1fr;
  }

  .dons-museum-grid {
    grid-template-columns: 1fr;
  }

  .dons-museum-side {
    position: static;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: start;
  }

  .dons-side-window,
  .dons-side-badge {
    grid-column: 1 / -1;
    justify-self: center;
  }

  .dons-project-grid {
    grid-template-columns: 1fr;
  }

  .dons-copy-ui {
    grid-template-columns: 1fr;
  }

  .dons-copy-sidebar {
    position: static;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: start;
  }

  .dons-copy-dots,
  .dons-copy-orb {
    grid-column: 1 / -1;
    justify-self: center;
  }

  .dons-copy-floating {
    grid-template-columns: 1fr;
    margin: -1.6rem 0.7rem 0;
  }

  .dons-reference-layout {
    grid-template-columns: 1fr;
  }

  .dons-reference-side {
    position: static;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: start;
  }

  .dons-reference-side-card--mini,
  .dons-reference-emblem,
  .dons-reference-dark-btn {
    grid-column: 1 / -1;
    justify-self: center;
    width: min(320px, 100%);
  }

  .dons-reference-float {
    grid-template-columns: 1fr;
    margin: -1.65rem 0.72rem 0;
  }

  .history-collection-grid {
    grid-template-columns: 1fr;
  }

  .history-collection-side {
    gap: 0.75rem;
  }

  .history-collection-visual {
    min-height: 0;
    display: grid;
    gap: 0.75rem;
    padding-top: 0;
  }

  .history-stacked-photo-main {
    width: 100%;
    max-width: none;
  }

  .history-stacked-photo-sub {
    position: static;
    width: min(70%, 320px);
    justify-self: end;
  }

  .history-museum-hero-shell {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .history-museum-hero-content p {
    margin-left: auto;
    margin-right: auto;
  }

  .history-museum-hero-actions {
    justify-content: center;
  }

  .history-quiz-stage-top {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .history-game-toolbar {
    justify-items: start;
  }

  .history-game-meta,
  .history-game-actions {
    justify-content: flex-start;
  }

  .history-game-board {
    grid-template-columns: 1fr;
  }

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

  .history-photo-card-small img {
    max-height: 210px;
  }
}

@media (max-width: 1320px) {
  body.has-sidebar {
    padding-left: var(--sidebar-width-collapsed);
  }

  .app-topbar {
    grid-template-columns: var(--sidebar-width-collapsed) minmax(0, 1fr);
  }

  .app-topbar-left {
    padding-inline: 0.08rem;
    gap: 0.16rem;
  }

  .app-topbar-logo-box {
    width: clamp(34px, 3vw, 39px);
    height: 54px;
  }

  .app-sidebar {
    width: var(--sidebar-width-collapsed);
  }

  .sidebar-tagline,
  .sidebar-section-title,
  .sidebar-nav a .sidebar-link-label {
    display: none;
  }

  body.has-sidebar .sidebar-brand-logo {
    display: none;
  }

  body.has-sidebar .sidebar-inner {
    padding-top: 0.82rem;
    gap: 0.58rem;
    align-items: center;
  }

  body.has-sidebar .sidebar-nav {
    margin-top: 0;
    width: 100%;
    gap: 0.52rem;
  }

  .sidebar-nav a {
    justify-content: center;
    min-height: 46px;
    padding: 0.44rem;
    border-radius: 0.66rem;
  }

  .sidebar-nav a::before {
    display: none;
  }

  .sidebar-nav a .sidebar-icon {
    flex: 0 0 1.24rem;
    width: 1.24rem;
    height: 1.24rem;
    font-size: 1rem;
  }
}

@media (max-width: 1024px) {
  body.has-sidebar {
    padding-left: var(--sidebar-width-collapsed);
    padding-top: 0;
  }

  .app-topbar {
    display: none;
  }

  .sidebar-toggle,
  .sidebar-close,
  .sidebar-backdrop {
    display: none !important;
  }

  .app-sidebar {
    top: 0;
    bottom: 0;
    height: 100dvh;
    width: var(--sidebar-width-collapsed);
    transform: none;
    transition: none;
  }

  body.sidebar-open {
    overflow: auto;
  }

  body.sidebar-open .sidebar-backdrop {
    opacity: 0;
    pointer-events: none;
  }
}

@media (max-width: 560px) {
  body.has-sidebar {
    padding-left: 74px;
  }

  .app-sidebar {
    width: 74px;
  }

  .sidebar-nav a {
    min-height: 43px;
    border-radius: 0.62rem;
  }

  .sidebar-nav a .sidebar-icon {
    font-size: 0.94rem;
  }
}

@media (max-width: 960px) {
  body.nav-open {
    overflow: hidden;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 0.45rem);
    left: 0;
    right: 0;
    z-index: 60;
    border: 1px solid var(--line);
    border-radius: 0.85rem;
    background: var(--bg-panel);
    box-shadow: var(--shadow);
    padding: 0.9rem;
    display: grid;
    gap: 0.8rem;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 0.18s ease, transform 0.18s ease;
  }

  body.nav-open .site-nav {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-links {
    flex-direction: column;
    align-items: stretch;
  }

  .nav-links a {
    width: 100%;
    justify-content: flex-start;
    border-radius: 0.62rem;
  }

  .nav-cta {
    width: 100%;
  }

  .mobile-cta {
    display: flex;
  }

  .footer-wrap {
    flex-direction: column;
    align-items: flex-start;
    padding-bottom: 4.5rem;
  }

  .admin-suite-toolbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .admin-stat-grid {
    grid-template-columns: 1fr;
  }

  .history-game-board {
    padding: 0.72rem;
  }
}

@media (max-width: 700px) {
  .cure-page-wide,
  .cure-admin-wide {
    width: calc(100% - 0.8rem);
  }

  .admin-events-head {
    flex-direction: column;
    align-items: stretch;
  }

  .admin-events-head-copy {
    min-width: 0;
    flex: 1 1 auto;
  }

  .admin-event-row .form-grid.cols-2 {
    grid-template-columns: 1fr;
  }

  .admin-event-row .field:nth-child(1),
  .admin-event-row .field:nth-child(2),
  .admin-event-row .field:nth-child(3),
  .admin-event-row .field:nth-child(4) {
    grid-column: auto;
  }

  .admin-day-event-card .admin-event-heading {
    padding-right: 0;
  }

  .admin-day-event-card .admin-event-remove {
    top: auto;
    right: auto;
  }

  .vie-container {
    width: calc(100% - 0.8rem);
  }

  .history-museum-hero-shell {
    padding: 0.95rem;
    border-radius: 1.1rem;
  }

  .history-museum-hero-badge {
    font-size: 0.7rem;
  }

  .history-quiz-stage-top {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .dons-museum-side {
    grid-template-columns: 1fr;
  }

  .dons-hero {
    min-height: 300px;
  }

  .dons-hero-content {
    padding: 0.95rem;
  }

  .dons-hero h2 {
    font-size: clamp(1.65rem, 9vw, 2.1rem);
  }

  .dons-float {
    margin: -2.1rem 0 0;
    border-radius: 0.95rem;
  }

  .dons-copy-sidebar {
    grid-template-columns: 1fr;
  }

  .dons-copy-nav {
    display: grid;
    gap: 0.5rem;
  }

  .dons-copy-nav nav {
    justify-content: flex-start;
  }

  .dons-copy-hero {
    min-height: 320px;
  }

  .dons-copy-hero-content {
    padding: 1rem;
  }

  .dons-copy-hero h1 {
    font-size: clamp(1.75rem, 8vw, 2.2rem);
  }

  .dons-reference-topbar {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .dons-reference-links {
    justify-content: flex-start;
  }

  .dons-reference-side {
    grid-template-columns: 1fr;
  }

  .dons-reference-hero {
    min-height: 330px;
  }

  .dons-reference-hero-copy--left,
  .dons-reference-hero-copy--right {
    position: static;
    text-align: left;
    max-width: none;
    padding: 1rem 1rem 0;
  }

  .dons-reference-hero-copy--right {
    padding-top: 0.15rem;
    padding-bottom: 0.95rem;
  }

  .dons-reference-float {
    margin: -1.2rem 0 0;
  }

  .history-quiz-stage::before {
    width: 290px;
    height: 290px;
    left: -120px;
    top: -96px;
    opacity: 0.42;
  }

  .history-quiz-stage::after {
    width: 158px;
    height: 158px;
    right: -48px;
    top: 38px;
    opacity: 0.6;
  }

  .history-quiz-heading h3 {
    font-size: clamp(1.65rem, 8vw, 2.05rem);
  }

  .history-game-toolbar {
    justify-items: stretch;
  }

  .history-game-meta,
  .history-game-actions {
    justify-content: flex-start;
  }

  .history-stacked-photo-sub {
    width: 100%;
    justify-self: stretch;
  }

  .history-game-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .history-answer-panel {
    max-width: none;
  }

  .vie-directory-list li {
    grid-template-columns: 1fr;
    align-items: flex-start;
  }

  .vie-directory-actions {
    justify-content: flex-start;
    width: 100%;
  }

  .vie-meta-grid {
    grid-template-columns: 1fr;
  }

  .vie-actions {
    justify-content: stretch;
  }

  .vie-actions .btn {
    width: 100%;
  }

  .container-evenements-wide {
    width: calc(100% - 0.8rem);
  }

  .page-hero-evenements {
    padding: 0.9rem 0 0.45rem;
  }

  .page-hero-evenements-neo .events-neo-shell {
    padding: 0.78rem;
    border-radius: 0.82rem;
  }

  .events-neo-copy h1 {
    font-size: clamp(1.72rem, 9vw, 2.35rem);
  }

  .events-neo-lead {
    font-size: 0.97rem;
  }

  .calendrier-showcase-section {
    padding: 0.25rem 0 0.55rem;
  }

  .calendrier-showcase-shell {
    gap: 0.72rem;
  }

  .calendrier-showcase-copy .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .section-evenements-main {
    padding: 0.55rem 0 1.2rem;
  }

  .section-evenements-main .evenements-head-align .kicker {
    margin-left: 0.72rem;
  }

  .evenements-calendar-toolbar {
    align-items: stretch;
  }

  .evenements-calendar-nav {
    justify-content: space-between;
    width: 100%;
  }

  .evenements-calendar-title {
    min-width: 0;
    flex: 1;
  }

  .evenements-calendar-card {
    --events-calendar-day-height: 54px;
  }

  .evenements-calendar-chip {
    font-size: 0.68rem;
  }

  .event-sheet {
    padding: 0.5rem;
    align-items: end;
  }

  .event-sheet-panel,
  .event-sheet-panel.is-maximized {
    width: calc(100vw - 0.6rem);
    max-height: calc(100dvh - 0.6rem);
    border-radius: 0.78rem;
  }

  .event-sheet-panel.is-minimized {
    width: calc(100vw - 0.6rem);
  }

  .event-sheet-heading {
    padding-right: 8.4rem;
  }

  .event-sheet-control-btn {
    width: 1.68rem;
    height: 1.68rem;
    font-size: 1.04rem;
  }

  .history-visual-row {
    grid-template-columns: 1fr;
  }

  .history-photo-card-small img {
    aspect-ratio: 4 / 3;
    max-height: 250px;
  }

  .shape-medallion {
    border-radius: 1rem;
  }

  .time-range {
    grid-template-columns: 1fr;
    gap: 0.4rem;
  }

  .time-range span {
    display: none;
  }
}

@media print {
  .app-topbar,
  .app-sidebar,
  .sidebar-toggle,
  .sidebar-backdrop {
    display: none !important;
  }

  .site-header,
  .mobile-cta,
  .site-footer,
  .event-sheet,
  .hero-actions,
  .filters,
  .menu-toggle {
    display: none !important;
  }

  body {
    background: #fff;
  }

  .section,
  .hero,
  .page-hero,
  .cta-band {
    padding: 0.5rem 0;
  }

  .card,
  .hero-copy,
  .hero-panel,
  .page-hero .inner {
    box-shadow: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Event day v2: layout inspired by modern events UI with parish colors. */
body.eventday-page .eventday-v2-hero {
  padding: 1.05rem 0 0.88rem;
}

body.eventday-page .eventday-v2-shell {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(350px, 0.96fr);
  gap: 0.95rem;
  border: 1px solid rgba(40, 123, 164, 0.34);
  border-radius: 1.05rem;
  padding: 1.05rem;
  background:
    radial-gradient(circle at 88% 12%, rgba(182, 138, 68, 0.22), transparent 38%),
    linear-gradient(120deg, #0f2a3f 0%, #113f53 56%, #267298 100%);
  box-shadow: 0 22px 38px rgba(57, 117, 147, 0.26);
}

body.eventday-page .eventday-v2-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.26) 1px, transparent 1px);
  background-size: 17px 17px;
  opacity: 0.11;
  animation: eventday-v2-dot-pan 19s linear infinite;
  pointer-events: none;
}

body.eventday-page .eventday-v2-shell::after {
  content: "";
  position: absolute;
  width: 540px;
  height: 540px;
  right: -190px;
  bottom: -230px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0, rgba(255, 255, 255, 0.06) 56%, transparent 72%);
  animation: eventday-v2-right-glow 11s ease-in-out infinite alternate;
  pointer-events: none;
}

body.eventday-page .eventday-v2-left-orb {
  position: absolute;
  width: 520px;
  height: 520px;
  left: -320px;
  top: -120px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 35%, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.02) 64%, transparent 74%),
    repeating-radial-gradient(circle, rgba(233, 203, 151, 0.22) 0 2px, transparent 2px 16px);
  opacity: 0.52;
  pointer-events: none;
}

body.eventday-page .eventday-v2-copy,
body.eventday-page .eventday-v2-visual {
  position: relative;
  z-index: 1;
}

body.eventday-page .eventday-v2-copy .kicker {
  color: rgba(244, 231, 202, 0.96);
}

body.eventday-page .eventday-v2-copy h1 {
  margin: 0.2rem 0 0.34rem;
  color: #fff7e8;
  font-size: clamp(2.25rem, 4.8vw, 3.58rem);
  line-height: 1.02;
  text-transform: uppercase;
  max-width: 11ch;
}

body.eventday-page .eventday-v2-lead {
  margin: 0;
  color: rgba(247, 243, 234, 0.96);
  font-size: clamp(1.02rem, 1.34vw, 1.2rem);
  line-height: 1.44;
  max-width: 62ch;
  text-align: left;
}

body.eventday-page .eventday-v2-text {
  margin: 0.52rem 0 0;
  color: rgba(239, 240, 232, 0.94);
  text-align: left;
  max-width: 66ch;
}

body.eventday-page .eventday-v2-meta {
  margin: 0.74rem 0 0;
  display: grid;
  gap: 0;
  max-width: 33rem;
  border: 1px solid rgba(236, 220, 188, 0.48);
  border-radius: 1rem;
  background: rgba(9, 39, 58, 0.35);
  overflow: hidden;
}

body.eventday-page .eventday-v2-meta span {
  display: flex;
  align-items: center;
  gap: 0.34rem;
  width: 100%;
  border: 0;
  border-bottom: 1px solid rgba(236, 220, 188, 0.28);
  border-radius: 0;
  background: transparent;
  color: #f8ecd3;
  padding: 0.38rem 0.62rem;
  font-weight: 600;
}

body.eventday-page .eventday-v2-meta span:last-child {
  border-bottom: 0;
}

body.eventday-page .eventday-v2-meta strong {
  color: #ffe7b5;
  font-weight: 800;
  min-width: 5.3rem;
}

body.eventday-page .eventday-v2-thumbs {
  margin-top: 0.86rem;
  display: flex;
  align-items: center;
  gap: 0.54rem;
}

body.eventday-page .eventday-v2-thumb {
  appearance: none;
  -webkit-appearance: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  width: 3.7rem;
  height: 3.7rem;
  border-radius: 50%;
  border: 2px solid rgba(251, 240, 217, 0.38);
  background-color: transparent;
  background-image: var(--thumb);
  background-size: cover;
  background-position: center;
  box-shadow: 0 8px 16px rgba(57, 117, 147, 0.3);
  opacity: 0.84;
  transform: scale(0.92);
  transition: transform 240ms ease, opacity 240ms ease;
}

body.eventday-page .eventday-v2-thumb.is-active {
  opacity: 1;
  transform: scale(1);
  border-color: rgba(255, 240, 198, 0.82);
}

body.eventday-page .eventday-v2-thumb:focus-visible {
  outline: 2px solid rgba(255, 240, 198, 0.92);
  outline-offset: 2px;
}

body.eventday-page .eventday-v2-thumbs-line {
  margin-top: 0.46rem;
  width: 11rem;
  height: 0.16rem;
  border-radius: 999px;
  background: rgba(249, 236, 207, 0.2);
  overflow: hidden;
}

body.eventday-page .eventday-v2-thumbs-line span {
  display: block;
  width: 48%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #e7d2a4, #fff3d8);
}

body.eventday-page .eventday-v2-actions {
  margin-top: 0.8rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.56rem;
}

body.eventday-page .eventday-v2-actions .btn {
  border-color: rgba(244, 227, 194, 0.4);
}

body.eventday-page .eventday-v2-actions .btn.btn-outline {
  background: rgba(255, 255, 255, 0.08);
  color: #f7ebcf;
  border-color: rgba(245, 225, 184, 0.6);
}

body.eventday-page .eventday-v2-actions .btn.btn-outline:hover,
body.eventday-page .eventday-v2-actions .btn.btn-outline:focus-visible {
  color: #297aa3;
  background: linear-gradient(145deg, #f8f0de, #f0e0bf);
}

body.eventday-page .eventday-v2-copy .breadcrumbs {
  margin-top: 0.72rem;
  color: rgba(249, 241, 227, 0.95);
}

body.eventday-page .eventday-v2-copy .breadcrumbs a {
  color: rgba(249, 241, 227, 1);
}

body.eventday-page .eventday-v2-visual {
  min-height: 500px;
}

body.eventday-page .eventday-v2-main-circle {
  position: relative;
  width: min(520px, 100%);
  aspect-ratio: 1 / 1;
  margin-left: auto;
  border-radius: 50%;
  border: 1px solid rgba(242, 226, 195, 0.42);
  background:
    linear-gradient(140deg, rgba(5, 17, 25, 0.3), rgba(8, 19, 30, 0.15)),
    var(--eventday-main-image, url("images/photo%20paroisses%202026/03.png"));
  background-size: cover;
  background-position: center;
  box-shadow: 0 22px 40px rgba(57, 117, 147, 0.38);
  animation: eventday-v2-main-drift 9.6s ease-in-out infinite alternate;
}

body.eventday-page .eventday-v2-main-circle::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid rgba(245, 227, 191, 0.24);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

body.eventday-page .eventday-v2-overlay-list {
  position: absolute;
  top: 15%;
  right: -0.4rem;
  margin: 0;
  padding: 0;
  list-style: none;
  width: min(15rem, 62%);
  display: grid;
  gap: 0.52rem;
}

body.eventday-page .eventday-v2-overlay-list li {
  border: 1px solid rgba(235, 216, 178, 0.38);
  border-radius: 0.82rem;
  background: rgba(7, 26, 37, 0.68);
  backdrop-filter: blur(4px);
  padding: 0.54rem 0.62rem;
  display: grid;
  gap: 0.2rem;
}

body.eventday-page .eventday-v2-overlay-list strong {
  color: #fff3d9;
  font-size: 0.9rem;
  letter-spacing: 0.03em;
}

body.eventday-page .eventday-v2-overlay-list a {
  color: rgba(213, 233, 243, 0.94);
  font-size: 0.77rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-decoration: none;
}

body.eventday-page .eventday-v2-overlay-list a:hover,
body.eventday-page .eventday-v2-overlay-list a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 0.16rem;
}

body.eventday-page .eventday-v2-contact {
  position: absolute;
  right: 0;
  bottom: 7%;
  width: min(17rem, 74%);
  border: 1px solid rgba(240, 222, 188, 0.46);
  border-radius: 0.92rem;
  background: rgba(255, 250, 241, 0.94);
  color: #31789b;
  padding: 0.7rem 0.78rem;
  box-shadow: 0 14px 26px rgba(57, 117, 147, 0.24);
}

body.eventday-page .eventday-v2-contact .kicker {
  color: #306a87;
}

body.eventday-page .eventday-v2-contact h2 {
  margin: 0.2rem 0 0.18rem;
  font-size: clamp(1.34rem, 1.95vw, 1.8rem);
}

body.eventday-page .eventday-v2-contact p {
  margin: 0.12rem 0 0;
}

body.eventday-page .eventday-v2-contact a {
  color: #227daa;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.14rem;
}

body.eventday-page .eventday-v2-bottom-circle {
  position: absolute;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  left: 1.2rem;
  bottom: -125px;
  border: 1px solid rgba(243, 229, 199, 0.34);
  background:
    linear-gradient(150deg, rgba(8, 24, 34, 0.28), rgba(43, 122, 161, 0.14)),
    url("images/photo%20paroisses%202026/04.png");
  background-size: cover;
  background-position: center;
  opacity: 0.56;
  animation: eventday-v2-bottom-drift 12s ease-in-out infinite alternate;
}

body.eventday-page .eventday-v2-details {
  padding: 0.12rem 0 1.16rem;
}

body.eventday-page .eventday-v2-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.78rem;
}

body.eventday-page .eventday-v2-panel {
  border-color: rgba(40, 123, 164, 0.24);
  background:
    radial-gradient(circle at 94% 6%, rgba(40, 123, 164, 0.1), transparent 34%),
    linear-gradient(160deg, rgba(255, 255, 253, 0.97), rgba(245, 239, 226, 0.95));
}

body.eventday-page .eventday-v2-panel h3 {
  margin: 0.2rem 0 0.35rem;
}

body.eventday-page .eventday-v2-timeline {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.3rem;
}

body.eventday-page .eventday-v2-timeline li {
  position: relative;
  border: 0;
  border-radius: 0;
  background: transparent;
  padding: 0.36rem 0 0.58rem 0.72rem;
}

body.eventday-page .eventday-v2-timeline li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.34rem;
  width: 3px;
  height: calc(100% - 0.86rem);
  border-radius: 999px;
  background: rgba(40, 123, 164, 0.56);
}

body.eventday-page .eventday-v2-timeline li::after {
  content: "";
  display: block;
  margin-top: 0.42rem;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    rgba(40, 123, 164, 0.72) 0%,
    rgba(182, 138, 68, 0.56) 58%,
    rgba(40, 123, 164, 0.12) 100%
  );
}

body.eventday-page .eventday-v2-timeline strong,
body.eventday-page .eventday-v2-timeline span {
  display: block;
  text-align: left;
}

body.eventday-page .eventday-v2-timeline span {
  margin-top: 0.14rem;
  color: #31647d;
}

body.eventday-page .eventday-v2-facts {
  margin: 0;
  display: grid;
  gap: 0.5rem;
}

body.eventday-page .eventday-v2-facts div {
  border: 1px solid rgba(40, 123, 164, 0.2);
  border-radius: 0.72rem;
  background: rgba(255, 255, 255, 0.84);
  padding: 0.48rem 0.62rem;
}

body.eventday-page .eventday-v2-facts dt {
  margin: 0;
  font-size: 0.73rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  font-weight: 800;
  color: #2e799e;
}

body.eventday-page .eventday-v2-facts dd {
  margin: 0.16rem 0 0;
  font-weight: 700;
}

body.eventday-page .eventday-v2-facts a {
  color: #227daa;
  text-decoration: underline;
  text-underline-offset: 0.14rem;
}

@keyframes eventday-v2-main-drift {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  100% {
    transform: translate3d(-12px, 8px, 0) scale(1.03);
  }
}

@keyframes eventday-v2-bottom-drift {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  100% {
    transform: translate3d(16px, -8px, 0) scale(1.04);
  }
}

@keyframes eventday-v2-right-glow {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  100% {
    transform: translate3d(-34px, -14px, 0) scale(1.08);
  }
}

@keyframes eventday-v2-dot-pan {
  0% {
    background-position: 0 0;
  }
  100% {
    background-position: 180px 84px;
  }
}

@media (max-width: 1260px) {
  body.eventday-page .eventday-v2-shell {
    grid-template-columns: 1fr;
  }

  body.eventday-page .eventday-v2-visual {
    min-height: 430px;
  }

  body.eventday-page .eventday-v2-main-circle {
    margin-inline: auto 0;
    width: min(470px, 100%);
  }

  body.eventday-page .eventday-v2-overlay-list {
    right: 0;
  }

  body.eventday-page .eventday-v2-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 940px) {
  body.eventday-page .eventday-v2-shell {
    padding: 0.84rem;
    border-radius: 0.86rem;
  }

  body.eventday-page .eventday-v2-copy h1 {
    max-width: none;
    font-size: clamp(1.9rem, 9vw, 2.7rem);
  }

  body.eventday-page .eventday-v2-thumb {
    width: 3.2rem;
    height: 3.2rem;
  }

  body.eventday-page .eventday-v2-actions .btn {
    width: 100%;
    justify-content: center;
  }

  body.eventday-page .eventday-v2-main-circle {
    width: min(420px, 100%);
  }

  body.eventday-page .eventday-v2-contact {
    width: min(16rem, 86%);
  }
}

@media (max-width: 680px) {
  body.eventday-page .eventday-v2-left-orb,
  body.eventday-page .eventday-v2-bottom-circle {
    display: none;
  }

  body.eventday-page .eventday-v2-visual {
    min-height: 0;
    display: grid;
    gap: 0.58rem;
  }

  body.eventday-page .eventday-v2-main-circle,
  body.eventday-page .eventday-v2-contact {
    position: static;
    width: 100%;
    max-width: none;
  }

  body.eventday-page .eventday-v2-main-circle {
    aspect-ratio: 1 / 1;
  }

  body.eventday-page .eventday-v2-overlay-list {
    position: static;
    width: 100%;
    margin: 0.54rem 0 0;
  }

  body.eventday-page .eventday-v2-meta span {
    width: 100%;
    border-radius: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.eventday-page .eventday-v2-shell::before,
  body.eventday-page .eventday-v2-shell::after,
  body.eventday-page .eventday-v2-main-circle,
  body.eventday-page .eventday-v2-bottom-circle {
    animation: none;
  }
}

/* Actualites: editorial parish newspaper layout. */
body.actualites-page main {
  background:
    linear-gradient(90deg, rgba(36, 124, 168, 0.08), transparent 18%, transparent 82%, rgba(33, 79, 124, 0.07)),
    linear-gradient(180deg, rgba(246, 239, 224, 0.96), rgba(252, 250, 245, 0.98));
}

body.actualites-page .actualites-hero-section {
  padding: 1.05rem 0 0.85rem;
}

body.actualites-page .actualites-masthead {
  border-top: 4px double rgba(41, 37, 32, 0.78);
  border-bottom: 4px double rgba(41, 37, 32, 0.78);
  padding: 0.58rem 0 0.72rem;
  text-align: center;
}

body.actualites-page .actualites-edition-row {
  display: flex;
  justify-content: space-between;
  gap: 0.8rem;
  color: #356d89;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

body.actualites-page .actualites-masthead h1 {
  margin: 0.24rem 0 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(3rem, 8.4vw, 6.2rem);
  line-height: 0.88;
  text-transform: uppercase;
  letter-spacing: 0;
  color: #1f1d1a;
}

body.actualites-page .actualites-masthead p {
  width: min(760px, 100%);
  margin: 0.44rem auto 0;
  color: #336984;
  font-weight: 700;
  text-align: center;
}

body.actualites-page .actualites-front-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(300px, 0.96fr);
  gap: 1rem;
  padding-top: 1rem;
  border-bottom: 1px solid rgba(41, 37, 32, 0.32);
}

body.actualites-page .actualites-lead-story {
  padding: 0 1rem 1rem 0;
  border-right: 1px solid rgba(41, 37, 32, 0.32);
}

body.actualites-page .actualites-lead-story h2,
body.actualites-page .actualites-note-block h2,
body.actualites-page .actualites-section-heading h2 {
  margin: 0.18rem 0 0.42rem;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2.25rem, 5.8vw, 4.35rem);
  line-height: 0.98;
  color: #1f1d1a;
}

body.actualites-page .actualites-lead-story > h2 {
  margin-bottom: clamp(2.6rem, 4vw, 3.4rem);
}

body.actualites-page .actualites-lead-story > .actualites-story-text {
  margin-top: 0;
}

body.actualites-page .actualites-lead-text {
  color: #2f789d;
  font-size: clamp(1.08rem, 1.8vw, 1.24rem);
  font-weight: 800;
}

body.actualites-page .actualites-story-text {
  margin-top: 0.62rem;
  color: #28231d;
  font-size: clamp(0.98rem, 1.15vw, 1.08rem);
  line-height: 1.58;
}

body.actualites-page .actualites-story-text p {
  margin: 0;
}

body.actualites-page .actualites-story-text p + p {
  margin-top: 0.9rem;
}

body.actualites-page .actualites-lead-story p,
body.actualites-page .actualites-photo-report p,
body.actualites-page .actualites-note-block p,
body.actualites-page .actualites-card p,
body.actualites-page .actualites-empty-state p {
  text-align: left;
}

body.actualites-page .actualites-fact-strip {
  margin: 0.85rem 0 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(145px, 1fr));
  border: 1px solid rgba(40, 123, 164, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.62);
  overflow: hidden;
}

body.actualites-page .actualites-fact-strip div {
  padding: 0.58rem 0.64rem;
  border-right: 1px solid rgba(40, 123, 164, 0.18);
  border-bottom: 1px solid rgba(40, 123, 164, 0.12);
}

body.actualites-page .actualites-fact-strip div:last-child {
  border-right: 0;
  border-bottom: 0;
}

body.actualites-page .actualites-fact-strip dt {
  margin: 0;
  color: #2f6885;
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

body.actualites-page .actualites-fact-strip dd,
body.actualites-page .actualites-fact-strip dd a {
  margin: 0.12rem 0 0;
  color: #202520;
  font-weight: 800;
  overflow-wrap: anywhere;
}

body.actualites-page .actualites-fact-strip dd a,
body.actualites-page .actualites-card-facts dd a {
  color: #1f7ead;
  text-decoration: underline;
  text-underline-offset: 0.14rem;
}

body.actualites-page .actualites-photo-report {
  display: grid;
  align-content: start;
  gap: 0.58rem;
  padding-bottom: 1rem;
}

body.actualites-page .actualites-main-photo,
body.actualites-page .actualites-card-image {
  border: 1px solid rgba(41, 37, 32, 0.34);
  border-radius: 8px;
  background-image:
    linear-gradient(180deg, rgba(7, 18, 24, 0.08), rgba(7, 18, 24, 0.18)),
    var(--actualites-image);
  background-size: cover;
  background-position: center;
}

body.actualites-page .actualites-main-photo {
  min-height: 360px;
}

body.actualites-page .actualites-gallery {
  display: grid;
  gap: 0.42rem;
  position: relative;
}

body.actualites-page .actualites-gallery-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 100%;
  gap: 0.72rem;
  overflow-x: hidden;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding-bottom: 0;
}

body.actualites-page .actualites-gallery-track::-webkit-scrollbar {
  display: none;
}

body.actualites-page .actualites-gallery-frame {
  margin: 0;
  scroll-snap-align: center;
  border: 1px solid rgba(41, 37, 32, 0.34);
  border-radius: 8px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.64);
}

body.actualites-page .actualites-gallery-frame img {
  width: 100%;
  height: clamp(320px, 36vw, 520px);
  object-fit: cover;
}

body.actualites-page .actualites-gallery.is-lead .actualites-gallery-frame img {
  height: clamp(420px, 48vw, 680px);
}

body.actualites-page .actualites-gallery-nav {
  position: absolute;
  z-index: 2;
  top: 50%;
  display: inline-grid;
  width: 3.15rem;
  height: 3.15rem;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 50%;
  background: rgba(57, 117, 147, 0.74);
  color: #ffffff;
  box-shadow: 0 16px 32px rgba(57, 117, 147, 0.26);
  cursor: pointer;
  font-family: inherit;
  font-size: 2.05rem;
  font-weight: 700;
  line-height: 1;
  transform: translateY(-50%);
  transition:
    background 0.18s ease,
    border-color 0.18s ease,
    opacity 0.18s ease,
    transform 0.18s ease;
}

body.actualites-page .actualites-gallery-nav:hover,
body.actualites-page .actualites-gallery-nav:focus-visible {
  background: rgba(29, 126, 175, 0.92);
  border-color: rgba(242, 224, 176, 0.95);
  outline: none;
  transform: translateY(-50%) scale(1.04);
}

body.actualites-page .actualites-gallery-nav:disabled {
  opacity: 0.38;
  cursor: default;
  transform: translateY(-50%);
}

body.actualites-page .actualites-gallery-nav.is-prev {
  left: 0.72rem;
}

body.actualites-page .actualites-gallery-nav.is-next {
  right: 0.72rem;
}

body.actualites-page .actualites-gallery-hint {
  margin: 0;
  color: #356d89;
  font-size: 0.82rem;
  font-weight: 850;
  text-align: center;
}

body.actualites-page .actualites-notes-section,
body.actualites-page .actualites-feed-section {
  padding-top: 0.65rem;
}

body.actualites-page .actualites-notes-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: 0.8rem;
}

body.actualites-page .actualites-note-block,
body.actualites-page .actualites-empty-state {
  border: 1px solid rgba(40, 123, 164, 0.22);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.84), rgba(248, 242, 230, 0.92)),
    linear-gradient(90deg, rgba(51, 110, 139, 0.08), transparent);
  padding: 0.9rem;
}

body.actualites-page .actualites-note-block.is-contact {
  border-color: rgba(180, 139, 70, 0.44);
}

body.actualites-page .actualites-mail-link {
  display: inline-flex;
  max-width: 100%;
  color: #1f7ead;
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 0.14rem;
  overflow-wrap: anywhere;
}

body.actualites-page .actualites-contact-box {
  margin-top: 0.78rem;
  display: grid;
  gap: 0.2rem;
  border-left: 4px solid rgba(40, 123, 164, 0.82);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.66);
  padding: 0.62rem 0.72rem;
}

body.actualites-page .actualites-contact-title {
  margin: 0;
  color: #336882;
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

body.actualites-page .actualites-contact-box a,
body.actualites-page .actualites-contact-box span {
  color: #2f789d;
  font-weight: 850;
  overflow-wrap: anywhere;
}

body.actualites-page .actualites-section-heading {
  margin-bottom: 0.72rem;
  border-top: 2px solid rgba(41, 37, 32, 0.74);
  border-bottom: 1px solid rgba(41, 37, 32, 0.28);
  padding: 0.58rem 0;
}

body.actualites-page .actualites-section-heading h2 {
  margin-bottom: 0;
  font-size: clamp(2.1rem, 4.8vw, 3.6rem);
}

body.actualites-page .actualites-feed-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
}

body.actualites-page .actualites-articles-grid {
  grid-template-columns: 1fr;
}

body.actualites-page .actualites-card {
  display: grid;
  grid-template-rows: auto 1fr;
  border: 1px solid rgba(41, 37, 32, 0.24);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  overflow: hidden;
}

body.actualites-page .actualites-card-image {
  min-height: 156px;
  border: 0;
  border-radius: 0;
  background-image:
    linear-gradient(180deg, rgba(8, 19, 23, 0.06), rgba(8, 19, 23, 0.16)),
    var(--actualites-card-image);
}

body.actualites-page .actualites-card-body {
  padding: 0.74rem;
}

body.actualites-page .actualites-article-card {
  grid-template-columns: minmax(360px, 0.92fr) minmax(0, 1.08fr);
  grid-template-rows: auto;
  align-items: stretch;
}

body.actualites-page .actualites-card-media {
  min-width: 0;
  padding: 0.78rem;
  background:
    linear-gradient(135deg, rgba(57, 117, 147, 0.09), transparent),
    rgba(246, 240, 228, 0.78);
}

body.actualites-page .actualites-article-card .actualites-gallery-track {
  grid-auto-columns: 100%;
}

body.actualites-page .actualites-article-card .actualites-gallery-frame img {
  height: clamp(340px, 34vw, 540px);
}

body.actualites-page .actualites-card-category {
  margin: 0 0 0.18rem;
  color: #367391;
  font-size: 0.74rem;
  font-weight: 900;
  text-transform: uppercase;
}

body.actualites-page .actualites-card h3 {
  margin: 0 0 clamp(1.65rem, 2.4vw, 2.25rem);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.45rem, 2vw, 1.86rem);
  line-height: 1.02;
  color: #211e1a;
}

body.actualites-page .actualites-card-body > .actualites-story-text {
  margin-top: 0;
}

body.actualites-page .actualites-card-meta {
  margin: 0.34rem 0 0;
  color: #1f7ead;
  font-weight: 800;
}

body.actualites-page .actualites-card-facts {
  margin: 0.74rem 0 0;
  display: grid;
  gap: 0.28rem;
  border-top: 1px solid rgba(40, 123, 164, 0.18);
  padding-top: 0.58rem;
}

body.actualites-page .actualites-card-facts div {
  display: grid;
  grid-template-columns: minmax(84px, 0.34fr) minmax(0, 1fr);
  gap: 0.4rem;
  border-top: 1px solid rgba(40, 123, 164, 0.12);
  padding-top: 0.34rem;
}

body.actualites-page .actualites-card-facts div:first-child {
  border-top: 0;
  padding-top: 0;
}

body.actualites-page .actualites-card-facts dt,
body.actualites-page .actualites-card-facts dd {
  margin: 0;
}

body.actualites-page .actualites-card-facts dt {
  color: #367391;
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

body.actualites-page .actualites-card-facts dd,
body.actualites-page .actualites-card-facts dd a {
  color: #25211c;
  font-weight: 760;
  overflow-wrap: anywhere;
}

@media (max-width: 1060px) {
  body.actualites-page .actualites-front-grid,
  body.actualites-page .actualites-notes-grid {
    grid-template-columns: 1fr;
  }

  body.actualites-page .actualites-lead-story {
    padding-right: 0;
    border-right: 0;
    border-bottom: 1px solid rgba(41, 37, 32, 0.28);
  }

  body.actualites-page .actualites-feed-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.actualites-page .actualites-articles-grid,
  body.actualites-page .actualites-article-card {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  body.actualites-page .actualites-hero-section {
    padding: 0.82rem 0 0.52rem;
  }

  body.actualites-page .actualites-edition-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.14rem;
    text-align: center;
    font-size: 0.72rem;
  }

  body.actualites-page .actualites-masthead h1 {
    font-size: clamp(2.4rem, 16vw, 3.9rem);
  }

  body.actualites-page .actualites-lead-story h2 {
    font-size: clamp(2.1rem, 12vw, 3.1rem);
  }

  body.actualites-page .actualites-fact-strip {
    grid-template-columns: 1fr;
  }

  body.actualites-page .actualites-fact-strip div,
  body.actualites-page .actualites-fact-strip div:last-child {
    border-right: 0;
    border-bottom: 1px solid rgba(40, 123, 164, 0.18);
  }

  body.actualites-page .actualites-fact-strip div:last-child {
    border-bottom: 0;
  }

  body.actualites-page .actualites-main-photo {
    min-height: 230px;
  }

  body.actualites-page .actualites-gallery-track {
    grid-auto-columns: 100%;
  }

  body.actualites-page .actualites-gallery-nav {
    width: 2.64rem;
    height: 2.64rem;
    font-size: 1.72rem;
  }

  body.actualites-page .actualites-gallery-nav.is-prev {
    left: 0.46rem;
  }

  body.actualites-page .actualites-gallery-nav.is-next {
    right: 0.46rem;
  }

  body.actualites-page .actualites-gallery-frame img,
  body.actualites-page .actualites-article-card .actualites-gallery-frame img {
    height: clamp(260px, 72vw, 380px);
  }

  body.actualites-page .actualites-gallery.is-lead .actualites-gallery-frame img {
    height: clamp(300px, 82vw, 460px);
  }

  body.actualites-page .actualites-feed-grid {
    grid-template-columns: 1fr;
  }
}

/* Home cinematic refresh inspired by layered hero + cards. */
body.home-light.home-cine {
  background:
    radial-gradient(circle at 10% 8%, rgba(182, 138, 68, 0.12), transparent 34%),
    radial-gradient(circle at 86% 6%, rgba(40, 123, 164, 0.15), transparent 36%),
    #ece6d9;
}

body.home-light.home-cine .home-cine-main :where(p, li) {
  text-align: left;
  text-justify: auto;
  hyphens: none;
}

body.home-light.home-cine .home-cine-main {
  padding: clamp(0.6rem, 1.8vw, 1.2rem) 0 2.25rem;
}

body.home-light.home-cine .home-cine-hero {
  position: relative;
  width: min(var(--layout-unified-width), calc(100% - clamp(1.2rem, 2.5vw, 2.4rem)));
  margin-inline: auto;
  border-radius: 1.35rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.36);
  box-shadow: 0 26px 42px rgba(57, 117, 147, 0.24);
}

body.home-light.home-cine .home-cine-hero-media {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(9, 25, 31, 0.55), rgba(17, 50, 63, 0.26)),
    url("photos-paroisse/01/05.png") center 38% / cover no-repeat;
  transform: scale(1.02);
}

body.home-light.home-cine .home-cine-hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(7, 16, 20, 0.62) 0, rgba(7, 16, 20, 0.14) 46%, rgba(7, 16, 20, 0.18) 100%),
    radial-gradient(circle at 50% 16%, rgba(255, 255, 255, 0.16), transparent 44%);
}

body.home-light.home-cine .home-cine-hero-inner {
  position: relative;
  z-index: 1;
  min-height: clamp(540px, 72vh, 760px);
  padding: clamp(1rem, 2.2vw, 1.6rem);
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: clamp(0.8rem, 1.8vw, 1.3rem);
}

body.home-light.home-cine .home-cine-hero-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

body.home-light.home-cine .home-cine-brand {
  margin: 0;
  color: #def1fa;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  border-bottom: 2px solid rgba(214, 179, 106, 0.86);
  padding-bottom: 0.18rem;
}

body.home-light.home-cine .home-cine-hero-nav {
  display: inline-flex;
  gap: 0.62rem;
  align-items: center;
}

body.home-light.home-cine .home-cine-hero-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(245, 227, 190, 0.55);
  border-radius: 999px;
  padding: 0.34rem 0.76rem;
  color: rgba(255, 247, 230, 0.96);
  text-decoration: none;
  background: rgba(8, 33, 43, 0.35);
  font-size: 0.9rem;
  font-weight: 700;
}

body.home-light.home-cine .home-cine-hero-copy {
  align-self: end;
  max-width: min(980px, 100%);
}

body.home-light.home-cine .home-cine-hero-copy h1 {
  margin: 0;
  font-size: clamp(2.3rem, 7vw, 5.5rem);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: rgba(255, 255, 255, 0.16);
  -webkit-text-stroke: 2px rgba(255, 255, 255, 0.86);
  line-height: 0.94;
  text-wrap: balance;
}

body.home-light.home-cine .home-cine-hero-copy p {
  margin: 0.72rem 0 0;
  max-width: 68ch;
  color: rgba(245, 249, 251, 0.95);
  font-size: clamp(1rem, 1.55vw, 1.18rem);
  line-height: 1.72;
  text-shadow: 0 2px 12px rgba(8, 20, 25, 0.48);
}

body.home-light.home-cine .home-cine-hero-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(220px, 380px));
  justify-content: space-between;
  width: min(100%, 1450px);
  margin-inline: auto;
  gap: clamp(1rem, 2.4vw, 1.6rem);
  margin-top: 0.3rem;
}

body.home-light.home-cine .home-cine-hero-card {
  margin: 0;
  width: clamp(220px, 24vw, 360px);
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.66);
  box-shadow:
    0 13px 24px rgba(8, 19, 24, 0.34),
    inset 0 0 0 1px rgba(255, 255, 255, 0.22);
  justify-self: center;
}

body.home-light.home-cine .home-cine-hero-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  transform: scale(1.04);
}

body.home-light.home-cine .home-cine-info,
body.home-light.home-cine .home-cine-monthly {
  width: min(var(--layout-unified-width), calc(100% - clamp(1.2rem, 2.5vw, 2.4rem)));
  margin-inline: auto;
  padding-top: 0.98rem;
}

body.home-light.home-cine .home-cine-info.section {
  padding-top: clamp(0.7rem, 1.6vw, 1rem);
  padding-bottom: clamp(0.3rem, 0.9vw, 0.6rem);
}

body.home-light.home-cine .home-cine-monthly.section {
  padding-top: clamp(0.3rem, 0.9vw, 0.6rem);
  padding-bottom: clamp(1rem, 2vw, 1.5rem);
}

body.home-light.home-cine .home-cine-info-grid,
body.home-light.home-cine .home-cine-monthly-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.95rem;
  align-items: stretch;
}

body.home-light.home-cine .home-cine-info-grid {
  align-items: stretch;
}

body.home-light.home-cine .home-cine-monthly-grid > * {
  min-height: 0;
}

body.home-light.home-cine .home-cine-info-grid .home-cine-panel {
  height: 100%;
}

body.home-light.home-cine .home-cine-monthly-grid .home-cine-panel {
  height: 100%;
}

body.home-light.home-cine .home-cine-monthly-grid .home-cine-media {
  min-height: 0;
}

body.home-light.home-cine .home-cine-panel {
  border: 1px solid rgba(40, 123, 164, 0.26);
  border-radius: 1.08rem;
  padding: clamp(0.88rem, 1.85vw, 1.22rem);
  background:
    radial-gradient(circle at 91% 8%, rgba(182, 138, 68, 0.14), transparent 40%),
    linear-gradient(160deg, rgba(255, 253, 248, 0.98), rgba(245, 239, 225, 0.95));
  box-shadow: 0 12px 22px rgba(57, 117, 147, 0.1);
}

body.home-light.home-cine .home-cine-panel .kicker {
  margin: 0;
}

body.home-light.home-cine .home-cine-panel h2,
body.home-light.home-cine .home-cine-panel h3 {
  margin: 0.22rem 0 0.65rem;
  line-height: 1.08;
}

body.home-light.home-cine .home-cine-panel p {
  margin: 0.52rem 0 0;
  line-height: 1.65;
  color: #142832;
}

body.home-light.home-cine .home-cine-permanence {
  border-left: 6px solid rgba(40, 123, 164, 0.94);
}

body.home-light.home-cine .home-cine-permanence-line strong {
  color: #217dab;
}

body.home-light.home-cine .home-cine-word {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: var(--home-cine-word-fixed-height, clamp(28rem, 58vh, 44rem));
  max-height: var(--home-cine-word-fixed-height, clamp(28rem, 58vh, 44rem));
  height: var(--home-cine-word-fixed-height, clamp(28rem, 58vh, 44rem));
  overflow: hidden;
}

body.home-light.home-cine .home-cine-word-scroll {
  flex: 1 1 auto;
  min-height: 0;
  max-height: 100%;
  overflow-x: hidden;
  overflow-y: scroll;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
  scrollbar-width: thin;
  scrollbar-color: rgba(40, 123, 164, 0.52) rgba(40, 123, 164, 0.12);
  padding-right: 0.4rem;
}

body.home-light.home-cine .home-cine-word-scroll::-webkit-scrollbar {
  width: 0.78rem;
}

body.home-light.home-cine .home-cine-word-scroll::-webkit-scrollbar-track {
  background: rgba(40, 123, 164, 0.1);
  border-radius: 999px;
}

body.home-light.home-cine .home-cine-word-scroll::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, rgba(40, 123, 164, 0.72), rgba(132, 100, 39, 0.72));
  border: 0.16rem solid transparent;
  border-radius: 999px;
  background-clip: padding-box;
}

body.home-light.home-cine .home-cine-signature {
  margin-top: 0.82rem;
  padding-top: 0.64rem;
  border-top: 1px solid rgba(40, 123, 164, 0.22);
  font-weight: 700;
  color: #257ca7;
}

body.home-light.home-cine .home-cine-media .home-slider {
  margin-top: 0.2rem;
  border-radius: 0.96rem;
  border: 1px solid rgba(40, 123, 164, 0.24);
  box-shadow: 0 12px 22px rgba(57, 117, 147, 0.16);
  overflow: hidden;
  height: clamp(260px, 28vw, 365px);
}

body.home-light.home-cine .home-cine-media .home-slider-track {
  height: 100%;
}

body.home-light.home-cine .home-cine-media .home-slide {
  height: 100%;
}

body.home-light.home-cine .home-cine-media .home-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

body.home-light.home-cine .home-cine-media .home-slider-btn {
  width: 2.05rem;
  height: 2.05rem;
  font-size: 1rem;
}

body.home-light.home-cine .home-cine-media .home-slider.home-slider-flat .home-slider-dots {
  position: absolute;
  left: 50%;
  bottom: 0.58rem;
  transform: translateX(-50%);
  margin: 0;
}

body.home-light.home-cine .home-cine-saint {
  margin: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

body.home-light.home-cine .home-cine-saint img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 0.96rem;
}

body.home-light.home-cine .home-cine-saint figcaption {
  margin: 0;
  padding: 0.55rem 0 0;
  text-align: center;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #32779a;
}

@media (max-width: 1100px) {
  body.home-light.home-cine .home-cine-info-grid,
  body.home-light.home-cine .home-cine-monthly-grid {
    grid-template-columns: 1fr;
  }

}

@media (max-width: 900px) {
  body.home-light.home-cine .home-cine-hero-inner {
    min-height: 510px;
  }

  body.home-light.home-cine .home-cine-hero-copy h1 {
    -webkit-text-stroke: 1.4px rgba(255, 255, 255, 0.84);
    letter-spacing: 0.02em;
  }

  body.home-light.home-cine .home-cine-hero-cards {
    grid-template-columns: 1fr;
    justify-content: center;
  }

  body.home-light.home-cine .home-cine-hero-card {
    width: clamp(210px, 58vw, 320px);
  }
}

@media (max-width: 640px) {
  body.home-light.home-cine .home-cine-hero,
  body.home-light.home-cine .home-cine-info,
  body.home-light.home-cine .home-cine-monthly {
    width: calc(100% - 1rem);
  }

  body.home-light.home-cine .home-cine-hero-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.6rem;
  }

  body.home-light.home-cine .home-cine-brand {
    font-size: 0.9rem;
  }

  body.home-light.home-cine .home-cine-hero-nav a {
    font-size: 0.84rem;
    padding: 0.3rem 0.62rem;
  }

  body.home-light.home-cine .home-cine-hero-copy p,
  body.home-light.home-cine .home-cine-panel p {
    font-size: 0.95rem;
  }

  body.home-light.home-cine .home-cine-media .home-slider {
    height: 230px;
  }
}

/* Home page refresh: clean layout for text + images + parish info. */
body.home-light .home-main.home-refresh {
  padding: clamp(0.8rem, 1.8vw, 1.25rem) 0 2.4rem;
}

body.home-light .home-main.home-refresh :where(p, li) {
  text-align: left;
  text-justify: auto;
  hyphens: none;
}

body.home-light .home-hero-light,
body.home-light .home-word-section {
  padding: 0;
}

body.home-light .home-word-section.section-alt {
  background: transparent;
  border: 0;
}

body.home-light .home-hero-light > .container,
body.home-light .home-word-section > .container {
  width: min(var(--layout-unified-width), calc(100% - clamp(1.2rem, 2.4vw, 2.2rem)));
  max-width: var(--layout-unified-width);
  padding-inline: 0;
}

body.home-light .home-hero-grid {
  display: block;
}

body.home-light .home-intro-card {
  border: 1px solid rgba(40, 123, 164, 0.24);
  border-radius: 1.15rem;
  background:
    radial-gradient(circle at 95% 8%, rgba(182, 138, 68, 0.18), transparent 38%),
    linear-gradient(162deg, rgba(255, 253, 248, 0.98), rgba(246, 239, 224, 0.95));
  box-shadow: 0 16px 30px rgba(57, 117, 147, 0.12);
  padding: clamp(1rem, 1.9vw, 1.55rem);
}

body.home-light .home-intro-copy > .kicker {
  margin: 0;
  color: #1880b4;
  letter-spacing: 0.18em;
  font-size: clamp(1rem, 1.55vw, 1.25rem);
}

body.home-light .home-intro-card h1 {
  margin: 0.35rem 0 0;
  font-size: clamp(2.05rem, 4vw, 3.25rem);
  line-height: 1.02;
}

body.home-light .home-intro-lead {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.9fr);
  gap: 1rem;
  align-items: start;
}

body.home-light .home-intro-text p {
  margin: 0;
  color: #132731;
  line-height: 1.76;
  font-size: clamp(1rem, 1.35vw, 1.12rem);
}

body.home-light .home-intro-text p + p {
  margin-top: 0.75rem;
}

body.home-light .home-important-note {
  margin: 0;
  border: 1px solid rgba(40, 123, 164, 0.3);
  border-left: 5px solid #217dab;
  border-radius: 0.95rem;
  background:
    radial-gradient(circle at 88% 14%, rgba(182, 138, 68, 0.14), transparent 44%),
    linear-gradient(160deg, rgba(251, 254, 255, 0.98), rgba(232, 242, 247, 0.93));
  box-shadow: 0 11px 22px rgba(46, 121, 158, 0.14);
  padding: 0.95rem 1rem 0.9rem;
}

body.home-light .home-important-note::before {
  display: none;
}

body.home-light .home-intro-copy .home-important-note-title {
  margin: 0;
  color: #247ca8;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  font-size: 0.86rem;
  font-weight: 800;
}

body.home-light .home-intro-copy .home-important-note-line {
  margin: 0.55rem 0 0;
  color: #397593;
  font-size: 0.99rem;
  line-height: 1.45;
}

body.home-light .home-annual-note {
  margin-top: 1rem;
  border: 1px solid rgba(40, 123, 164, 0.24);
  border-radius: 0.95rem;
  background:
    radial-gradient(circle at 7% 7%, rgba(182, 138, 68, 0.14), transparent 36%),
    linear-gradient(162deg, rgba(255, 254, 250, 0.97), rgba(247, 241, 228, 0.94));
  box-shadow: 0 8px 18px rgba(35, 72, 90, 0.08);
  padding: 0.9rem 1rem;
  display: grid;
  gap: 0.5rem;
}

body.home-light .home-annual-note-title {
  margin: 0 0 0.1rem;
  color: #2d799f;
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

body.home-light .home-annual-note p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.5;
  color: #2a322c;
}

body.home-light .home-word-section {
  margin-top: 1.1rem;
}

body.home-light .monthly-wire-layout {
  width: 100%;
  gap: 0.9rem;
}

body.home-light .monthly-wire-l-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1.33fr) minmax(320px, 0.92fr);
  gap: 1rem;
  align-items: start;
  --wire-text-size: 1.03rem;
}

body.home-light .monthly-wire-card-l {
  border: 1px solid rgba(40, 123, 164, 0.24);
  border-radius: 1.15rem;
  background:
    radial-gradient(circle at 96% 10%, rgba(182, 138, 68, 0.13), transparent 42%),
    linear-gradient(162deg, rgba(255, 253, 248, 0.98), rgba(245, 240, 229, 0.94));
  box-shadow: 0 14px 26px rgba(35, 72, 90, 0.1);
  overflow: hidden;
}

body.home-light .monthly-wire-card-l::before {
  display: none;
}

body.home-light .monthly-wire-card-l-inner {
  padding: clamp(1rem, 1.9vw, 1.4rem);
}

body.home-light .monthly-wire-top-inside {
  margin: 0 0 0.8rem;
  padding: 0 0 0.8rem;
  border-bottom: 1px solid rgba(40, 123, 164, 0.22);
}

body.home-light .monthly-wire-top-copy {
  padding: 0;
  border: 0;
  background: transparent;
}

body.home-light .monthly-wire-title-line .kicker {
  margin: 0;
}

body.home-light .monthly-wire-title-line h2 {
  margin: 0.2rem 0 0;
  font-size: clamp(2rem, 3.6vw, 2.9rem);
  line-height: 1.02;
  text-wrap: balance;
}

body.home-light .monthly-wire-text p {
  margin: 0.62rem 0 0;
  line-height: 1.74;
  color: #2b2d27;
  font-size: var(--wire-text-size);
}

body.home-light .monthly-wire-signature {
  margin-top: 0.9rem;
  padding-top: 0.7rem;
  border-top: 1px solid rgba(40, 123, 164, 0.2);
  color: #287ba4;
}

body.home-light .monthly-wire-slider-outside {
  display: grid;
  gap: 0.8rem;
  align-content: start;
}

body.home-light .home-media-head {
  border: 1px solid rgba(40, 123, 164, 0.2);
  border-radius: 0.9rem;
  background:
    radial-gradient(circle at 10% 10%, rgba(182, 138, 68, 0.15), transparent 36%),
    linear-gradient(150deg, rgba(255, 252, 246, 0.98), rgba(247, 239, 221, 0.94));
  padding: 0.72rem 0.86rem;
}

body.home-light .home-media-head .kicker {
  margin: 0;
}

body.home-light .home-media-head h3 {
  margin: 0.2rem 0 0;
  color: #357697;
  font-size: clamp(1.14rem, 1.8vw, 1.5rem);
}

body.home-light .monthly-wire-slider-outside .home-slider-mini {
  height: clamp(270px, 31vw, 390px);
  min-height: clamp(270px, 31vw, 390px);
  border-radius: 1rem;
  border: 1px solid rgba(40, 123, 164, 0.24);
  background: #e6deca;
  box-shadow: 0 12px 24px rgba(57, 117, 147, 0.12);
  overflow: hidden;
}

body.home-light .monthly-wire-slider-outside .home-slider-mini .home-slider-track {
  height: 100%;
}

body.home-light .monthly-wire-slider-outside .home-slider-mini .home-slide img {
  object-fit: cover;
}

body.home-light .monthly-wire-slider-outside .home-slider-btn {
  width: 2.05rem;
  height: 2.05rem;
  font-size: 1.06rem;
}

body.home-light .saint-laurent-card-inline {
  margin: 0;
  border: 1px solid rgba(40, 123, 164, 0.26);
  border-radius: 1rem;
  overflow: hidden;
  background: #f8f3e7;
  box-shadow: 0 12px 24px rgba(57, 117, 147, 0.12);
}

body.home-light .saint-laurent-card-inline img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

body.home-light .saint-laurent-card-inline figcaption {
  margin: 0;
  padding: 0.56rem 0.7rem;
  border-top: 1px solid rgba(40, 123, 164, 0.2);
  color: #347798;
  font-size: 0.86rem;
  font-weight: 700;
  text-align: center;
  letter-spacing: 0.04em;
  background: linear-gradient(180deg, #fffdf8, #f5eedf);
}

@media (max-width: 1260px) {
  body.home-light .monthly-wire-l-wrap {
    grid-template-columns: 1fr;
  }

  body.home-light .monthly-wire-slider-outside {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }

  body.home-light .home-media-head {
    grid-column: 1 / -1;
  }

  body.home-light .monthly-wire-slider-outside .home-slider-mini {
    height: clamp(250px, 36vw, 320px);
    min-height: clamp(250px, 36vw, 320px);
  }
}

@media (max-width: 980px) {
  body.home-light .home-intro-card {
    padding: 0.95rem;
  }

  body.home-light .home-intro-lead {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }

  body.home-light .monthly-wire-card-l-inner {
    padding: 0.95rem;
  }

  body.home-light .monthly-wire-title-line h2 {
    font-size: clamp(1.68rem, 7.1vw, 2.35rem);
  }

  body.home-light .monthly-wire-slider-outside {
    grid-template-columns: 1fr;
  }

  body.home-light .monthly-wire-slider-outside .home-slider-mini {
    height: clamp(225px, 52vw, 320px);
    min-height: clamp(225px, 52vw, 320px);
  }

  body.home-light .saint-laurent-card-inline {
    max-width: min(420px, 100%);
    justify-self: center;
  }
}

@media (max-width: 620px) {
  body.home-light .home-main.home-refresh {
    padding-top: 0.65rem;
  }

  body.home-light .home-intro-card h1 {
    font-size: clamp(1.65rem, 9.2vw, 2.18rem);
    line-height: 1.08;
  }

  body.home-light .home-intro-copy > .kicker {
    font-size: 0.92rem;
    letter-spacing: 0.14em;
  }

  body.home-light .home-intro-text p {
    font-size: 0.98rem;
  }

  body.home-light .home-annual-note p,
  body.home-light .home-intro-copy .home-important-note-line {
    font-size: 0.95rem;
  }

  body.home-light .monthly-wire-slider-outside .home-slider-btn {
    width: 1.9rem;
    height: 1.9rem;
  }
}

/* Mobile refit: keep the content full-width and turn the desktop sidebar into an off-canvas menu. */
@media (max-width: 1024px) {
  body.has-sidebar {
    padding-left: 0;
    padding-top: 0;
    padding-bottom: env(safe-area-inset-bottom);
    overflow-x: hidden;
  }

  body.has-sidebar .site-header {
    position: sticky;
    top: 0;
    z-index: 90;
    display: block;
    border-bottom: 1px solid rgba(40, 123, 164, 0.16);
    background: rgba(248, 244, 236, 0.96);
    backdrop-filter: blur(14px);
    box-shadow: 0 8px 22px rgba(57, 117, 147, 0.08);
  }

  body.has-sidebar .nav-wrap {
    width: calc(100% - 1rem);
    min-height: 62px;
    padding: 0.48rem 0;
  }

  body.has-sidebar .brand {
    max-width: calc(100% - 4.2rem);
    gap: 0.52rem;
    min-height: 62px;
  }

  body.has-sidebar .brand-cross,
  body.has-sidebar .brand-text {
    display: none;
  }

  body.has-sidebar .brand::before,
  body.has-sidebar .brand::after {
    content: "";
    display: block;
    flex: 0 0 auto;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
  }

  body.has-sidebar .brand::before {
    width: 74px;
    height: 54px;
    background-image: url("images/logo3.png");
  }

  body.has-sidebar .brand::after {
    width: 82px;
    height: 54px;
    background-image: url("images/logo-diocese-lyon.png");
  }

  body.has-sidebar .site-header .site-nav,
  body.has-sidebar .site-header .menu-toggle,
  body.has-sidebar .app-topbar {
    display: none !important;
  }

  body.has-sidebar .sidebar-toggle {
    position: fixed;
    top: calc(env(safe-area-inset-top) + 0.58rem);
    left: auto;
    right: 0.72rem;
    z-index: 135;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    margin: 0;
    border: 1px solid rgba(40, 123, 164, 0.24);
    border-radius: 999px;
    background: rgba(255, 253, 248, 0.96);
    color: var(--brand-strong);
    box-shadow: 0 12px 24px rgba(57, 117, 147, 0.14);
    font-size: 0;
    padding: 0;
  }

  body.has-sidebar .sidebar-toggle > span:first-child {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }

  body.has-sidebar .sidebar-toggle .menu-bars {
    width: 1.28rem;
    height: 0.9rem;
  }

  body.sidebar-open .sidebar-toggle {
    background: linear-gradient(145deg, var(--brand), var(--brand-strong));
    border-color: rgba(37, 124, 167, 0.72);
    color: #fffdf8;
  }

  body.sidebar-open .sidebar-toggle .menu-bars {
    background:
      linear-gradient(#fffdf8, #fffdf8) 0 0 / 100% 2px,
      linear-gradient(#fffdf8, #fffdf8) 0 50% / 100% 2px,
      linear-gradient(#fffdf8, #fffdf8) 0 100% / 100% 2px;
    background-repeat: no-repeat;
  }

  body.has-sidebar .app-sidebar {
    top: 0;
    bottom: 0;
    z-index: 130;
    width: min(86vw, 360px);
    height: 100dvh;
    border-right: 1px solid rgba(40, 123, 164, 0.22);
    transform: translateX(-108%);
    transition: transform 0.28s ease;
    box-shadow: 18px 0 34px rgba(57, 117, 147, 0.2);
  }

  body.sidebar-open .app-sidebar {
    transform: translateX(0);
  }

  body.has-sidebar .sidebar-backdrop {
    z-index: 125;
    display: block !important;
    background: rgba(57, 117, 147, 0.46);
  }

  body.sidebar-open {
    overflow: hidden;
  }

  body.sidebar-open .sidebar-backdrop {
    opacity: 1;
    pointer-events: auto;
  }

  body.has-sidebar .sidebar-inner {
    align-items: stretch;
    gap: 0.56rem;
    padding: calc(env(safe-area-inset-top) + 0.9rem) 0.78rem calc(env(safe-area-inset-bottom) + 1rem);
  }

  body.has-sidebar .sidebar-close {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    align-self: flex-end;
    min-height: 42px;
    padding: 0 0.85rem;
    border-radius: 999px;
    font-size: 0.86rem;
  }

  body.has-sidebar .sidebar-tagline,
  body.has-sidebar .sidebar-section-title,
  body.has-sidebar .sidebar-nav a .sidebar-link-label {
    display: block;
  }

  body.has-sidebar .sidebar-tagline {
    margin-top: 0.1rem;
    padding-inline: 0.28rem;
  }

  body.has-sidebar .sidebar-nav {
    width: 100%;
    gap: 0.46rem;
  }

  body.has-sidebar .sidebar-nav a {
    justify-content: flex-start;
    min-height: 48px;
    border-radius: 0.82rem;
    padding: 0.58rem 0.72rem 0.58rem 0.8rem;
  }

  body.has-sidebar .sidebar-nav a::before {
    display: block;
  }

  body.has-sidebar .sidebar-nav a .sidebar-icon {
    flex-basis: 1.5rem;
    width: 1.5rem;
    height: 1.5rem;
    font-size: 0.9rem;
  }

  body.has-sidebar main :where(p, li) {
    text-align: left;
    text-justify: auto;
    hyphens: none;
  }

  body.has-sidebar .history-collection-visual {
    min-height: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.8rem;
    padding-top: 0;
  }

  body.has-sidebar .history-stacked-photo-main,
  body.has-sidebar .history-stacked-photo-sub {
    position: relative;
    inset: auto;
    width: 100%;
    max-width: none;
    justify-self: stretch;
  }

  body.has-sidebar .history-stacked-photo-sub {
    aspect-ratio: 4 / 3;
  }

  body.has-sidebar .history-year-badge {
    top: 0.72rem;
    left: 0.72rem;
    right: auto;
    max-width: calc(100% - 1.44rem);
    padding: 0.36rem 0.54rem;
    font-size: clamp(0.78rem, 3.4vw, 0.92rem);
    line-height: 1.15;
  }

  body.has-sidebar .history-year-badge.is-modern {
    left: 0.72rem;
    right: auto;
  }

  body.has-sidebar .mobile-cta {
    display: none !important;
  }
}

@media (max-width: 720px) {
  .container,
  .horaires-wide-container,
  .obseques-wide-container,
  .location-request-container,
  .container-evenements-wide {
    width: calc(100% - 0.9rem);
  }

  .page-hero {
    padding: 0.78rem 0 0.45rem;
  }

  .page-hero .inner,
  .card {
    border-radius: 0.9rem;
  }

  .section {
    padding: 1.25rem 0;
  }

  body.home-light.home-cine .home-cine-main {
    padding-top: 0.65rem;
  }

  body.home-light.home-cine .home-cine-hero {
    width: calc(100% - 0.9rem);
    border-radius: 1.05rem;
  }

  body.home-light.home-cine .home-cine-hero-inner {
    min-height: clamp(610px, 142vw, 720px);
    padding: 0.95rem;
  }

  body.home-light.home-cine .home-cine-hero-copy {
    align-self: center;
  }

  body.home-light.home-cine .home-cine-hero-copy h1 {
    font-size: clamp(2rem, 10.6vw, 3rem);
    line-height: 0.98;
    color: #fffdf8;
    -webkit-text-stroke: 0;
    text-transform: none;
    letter-spacing: 0;
    text-shadow: 0 3px 18px rgba(4, 13, 18, 0.58);
  }

  body.home-light.home-cine .home-cine-hero-cards {
    display: flex;
    grid-template-columns: none;
    justify-content: space-between;
    align-items: center;
    gap: 0.85rem;
    width: 100%;
    margin-top: 0.2rem;
    padding-inline: 0.15rem;
  }

  body.home-light.home-cine .home-cine-hero-card {
    width: clamp(92px, 28vw, 124px);
    border-width: 1px;
    box-shadow:
      0 10px 20px rgba(8, 19, 24, 0.34),
      inset 0 0 0 1px rgba(255, 255, 255, 0.22);
  }

  body.home-light.home-cine .home-cine-info,
  body.home-light.home-cine .home-cine-monthly {
    width: calc(100% - 0.9rem);
  }

  body.home-light.home-cine .home-cine-word {
    height: auto;
    min-height: 0;
    max-height: none;
  }

  body.home-light.home-cine .home-cine-word-scroll {
    max-height: none;
    overflow: visible;
    padding-right: 0;
  }

  .location-ui-hero {
    padding: 0.74rem 0 0.35rem;
  }

  .location-ui-hero .location-ui-hero-inner {
    border-radius: 1.05rem;
    padding: 0.9rem;
    gap: 0.78rem;
  }

  .location-ui-copy {
    gap: 0.4rem;
  }

  .location-ui-copy .kicker {
    font-size: 0.78rem;
    letter-spacing: 0.16em;
  }

  .location-ui-copy h1 {
    font-size: clamp(2rem, 11vw, 2.78rem);
    line-height: 1.02;
    white-space: normal;
  }

  .location-ui-hero-media.location-ui-carousel {
    gap: 0.72rem;
  }

  .location-ui-room-rail {
    border-radius: 0.95rem;
    padding: 0.62rem 0.55rem 2.32rem;
  }

  .location-ui-room-label {
    font-size: 0.74rem;
    letter-spacing: 0.1em;
  }

  .location-ui-room-rail.is-js {
    --location-room-height: clamp(235px, 76vw, 318px);
    --location-room-offset: clamp(70px, 22vw, 106px);
  }

  .location-ui-room-rail.is-js .location-ui-slide {
    width: min(62%, 258px);
  }

  .location-ui-room-rail.is-js .location-ui-carousel-btn {
    width: 2rem;
    height: 2rem;
  }

  .location-ui-main-grid {
    grid-template-columns: 1fr;
  }

  .sacrement-page .sacrement-wide-container {
    width: calc(100% - 0.9rem);
    padding-inline: 0 !important;
  }

  .sacrement-page .page-hero .inner {
    padding: 1rem;
  }

  .sacrement-page .page-hero h1 {
    font-size: clamp(2.15rem, 12vw, 2.85rem);
    line-height: 1.02;
  }

  .sacrement-page .sacrement-subnav-section {
    padding: 0.45rem 0 0.68rem !important;
  }

  .sacrement-page .subnav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.55rem;
    align-items: stretch;
    overflow: visible;
    padding: 0;
  }

  .sacrement-page .subnav li {
    display: flex;
    justify-self: stretch;
    min-width: 0;
    width: 100%;
  }

  .sacrement-page .subnav a {
    display: flex;
    min-width: 0;
  }

  .sacrement-page .subnav a {
    width: 100%;
    min-height: 52px;
    justify-content: center;
    align-items: center;
    border-radius: 0.95rem;
    padding: 0.52rem 0.62rem;
    text-align: center;
    line-height: 1.12;
    white-space: normal;
  }

  .vie-category-intro-card .vie-subnav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.58rem;
    margin-bottom: 1rem;
  }

  .vie-category-intro-card .vie-subnav a {
    width: 100%;
    min-height: 58px;
    justify-content: center;
    border-radius: 0.95rem;
    padding: 0.6rem 0.68rem;
    text-align: center;
    line-height: 1.14;
    white-space: normal;
    font-size: clamp(0.92rem, 4.5vw, 1.04rem);
  }

  .vie-category-intro-card .vie-subnav a.is-active {
    box-shadow:
      inset 0 0 0 1px rgba(255, 255, 255, 0.62),
      0 8px 18px rgba(40, 123, 164, 0.12);
  }

  .sacrement-page .section-sacrement-details {
    padding-top: 0.45rem !important;
    padding-bottom: 1rem !important;
  }

  .sacrement-page .section-sacrement-details .bapteme-essentials-layout {
    display: grid;
    grid-template-columns: 1fr !important;
    gap: 0.85rem;
    align-items: start !important;
  }

  .sacrement-page .section-sacrement-details .bapteme-essentials-layout > .card,
  .sacrement-page .section-sacrement-details .bapteme-contact-side {
    height: auto !important;
    min-width: 0;
  }

  .sacrement-page .section-sacrement-details .bapteme-contact-side {
    order: 2;
    padding: 0.95rem;
  }

  .sacrement-page .section-sacrement-details .sacrement-essentials-card {
    order: 1;
    padding: 0.95rem !important;
  }

  .sacrement-page .section-sacrement-details .bapteme-contact-grid {
    grid-template-columns: 1fr !important;
    gap: 0.58rem;
  }

  .sacrement-page .section-sacrement-details .bapteme-contact-highlight h3 {
    font-size: clamp(1.72rem, 8vw, 2.28rem);
    line-height: 1.05;
  }

  .sacrement-page .section-sacrement-details .bapteme-contact-item strong {
    font-size: 1rem;
    overflow-wrap: anywhere;
  }

  .page-hero-evenements-neo .events-neo-shell {
    border-radius: 0.95rem;
    padding: 0.95rem;
  }

  .events-neo-copy h1 {
    font-size: clamp(2rem, 10vw, 2.75rem);
    line-height: 1.02;
  }

  .evenements-calendar-card {
    --events-calendar-day-height: 58px;
    padding: 0.86rem;
    border-radius: 1rem;
  }

  .evenements-calendar-weekdays,
  .evenements-calendar-grid {
    gap: 0.24rem;
  }

  .evenements-calendar-weekdays span {
    padding: 0.34rem 0.1rem;
    border-radius: 0.5rem;
    font-size: 0.69rem;
    letter-spacing: 0.06em;
  }

  .evenements-calendar-day {
    border-radius: 0.62rem;
    padding: 0.34rem 0.28rem;
  }

  .evenements-calendar-day-number {
    font-size: 0.86rem;
  }

  .evenements-calendar-day.is-today .evenements-calendar-day-number {
    width: 1.45rem;
    height: 1.45rem;
  }

  .evenements-calendar-chip {
    width: 78%;
    max-width: 2rem;
    height: 0.24rem;
    overflow: hidden;
    padding: 0;
    border-radius: 999px;
    color: transparent;
    font-size: 0;
  }

  .evenements-calendar-chip.is-more {
    width: 50%;
  }
}

.mobile-cta {
  display: none !important;
}
