:root {
  --navy: #071827;
  --navy-2: #102865;
  --blue: #1f73e8;
  --red: #e4003f;
  --lavender: #f1ecfb;
  --text: #182238;
  --muted: #667085;
  --line: #dfe5f0;
  --surface: #ffffff;
  --soft: #f7f9ff;
  --site-max-width: 1200px;
  --site-panel-width: 1450px;
  --site-payment-width: 1510px;
  --site-place-width: 1180px;
  --site-header-height: 92px;
  --site-header-padding: 10px clamp(24px, 6vw, 92px);
  --site-horizontal-padding: clamp(20px, 6vw, 86px);
  --site-section-y: 64px;
  --site-card-padding: 26px;
  --site-radius: 8px;
  --site-button-height: 48px;
  --site-hero-compact-height: 430px;
  --site-hero-standard-height: 532px;
  --site-hero-large-height: 650px;
  --site-hero-title-small: clamp(36px, 3.2vw, 46px);
  --site-hero-title-standard: clamp(40px, 3.7vw, 56px);
  --site-hero-title-large: clamp(44px, 4.2vw, 64px);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background: #ffffff;
  color: var(--text);
  font-family: var(--font-body, Montserrat, Arial, sans-serif);
  margin: 0;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-heading, inherit);
}

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

button,
input {
  font: inherit;
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.site-header {
  align-items: center;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr) auto;
  min-height: var(--site-header-height);
  padding: var(--site-header-padding);
  position: sticky;
  top: 0;
  z-index: 20;
}

.brand {
  align-items: center;
  display: flex;
  gap: 12px;
  min-width: 0;
}

.brand img {
  background: #ffffff;
  border-radius: 999px;
  filter: drop-shadow(0 8px 12px rgba(7, 24, 39, 0.18));
  height: 70px;
  object-fit: contain;
  width: 70px;
}

.brand-fallback {
  align-items: center;
  background: #eef2ff;
  border: 1px solid rgba(31, 115, 232, 0.18);
  border-radius: 999px;
  color: var(--blue);
  display: none;
  font-size: 16px;
  font-weight: 900;
  height: 70px;
  justify-items: center;
  width: 70px;
}

.brand span {
  display: grid;
  min-width: 0;
}

.brand strong {
  color: var(--navy-2);
  font-size: 18px;
  font-weight: 900;
  line-height: 1.05;
}

.brand small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.main-nav {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  justify-content: center;
}

.main-nav a {
  color: #26334d;
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  padding: 12px 0;
}

.main-nav a.active {
  border-bottom: 2px solid var(--blue);
  color: var(--blue);
}

.nav-actions {
  display: flex;
  justify-content: flex-end;
}

.donation-link,
.button,
.donation-card button,
.membership-card button,
.donation-custom button {
  align-items: center;
  border: 0;
  cursor: pointer;
  display: inline-flex;
  font-weight: 900;
  justify-content: center;
}

.donation-link {
  background: var(--blue);
  border-radius: var(--button-radius, 20px);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.24);
  color: #ffffff;
  font-size: 14px;
  min-height: var(--site-button-height);
  padding: 0 28px;
  text-transform: uppercase;
}

.notice-stack {
  display: grid;
  gap: 8px;
  left: 50%;
  max-width: min(960px, calc(100vw - 32px));
  position: fixed;
  top: 104px;
  transform: translateX(-50%);
  width: 100%;
  z-index: 30;
}

.notice {
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 16px 44px rgba(17, 35, 67, 0.12);
  font-size: 14px;
  font-weight: 800;
  margin: 0;
  padding: 14px 16px;
}

.notice.error {
  background: #fff1f3;
  border-color: #ffd4dc;
  color: #b4233a;
}

.notice.success {
  background: #ecfdf3;
  border-color: #bbf7d0;
  color: #087443;
}

.notice.info {
  background: #eff6ff;
  border-color: #bfdbfe;
  color: #1d4ed8;
}

.hero {
  --site-current-hero-height: var(--site-hero-standard-height);
  background: var(--navy);
  min-height: var(--site-current-hero-height);
  overflow: hidden;
}

.hero-inner {
  align-items: stretch;
  display: grid;
  grid-template-columns: minmax(390px, 1fr) minmax(410px, 540px) minmax(150px, 0.7fr);
  min-height: var(--site-current-hero-height);
  margin: 0 auto;
  max-width: var(--site-max-width);
}

.hero-copy {
  align-self: center;
  color: #ffffff;
  padding: 22px 18px 22px 52px;
  position: relative;
  z-index: 2;
}

.hero-kicker,
.page-kicker {
  color: #ffccd9;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  margin: 24px 0 14px;
  text-transform: uppercase;
}

.page-kicker {
  color: var(--red);
  margin-top: 0;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

.hero-title {
  font-size: var(--site-hero-title-standard);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.32;
  margin: 0 0 24px;
  overflow-wrap: normal;
  word-break: normal;
}

.hero-title > span,
.hero-title-line {
  display: block;
}

.hero-title-part {
  display: inline;
}

.hero-title b {
  color: #ff1f2d;
  font-weight: 900;
}

.hero-subtitle {
  color: #ffffff;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.4;
  margin: 0 0 24px;
}

.hero-height-compact,
.hero-height-compact .hero-inner {
  --site-current-hero-height: var(--site-hero-compact-height);
  min-height: var(--site-current-hero-height);
}

.hero-height-compact .hero-inner {
  min-height: var(--site-current-hero-height);
}

.hero-height-large,
.hero-height-large .hero-inner {
  --site-current-hero-height: var(--site-hero-large-height);
  min-height: var(--site-current-hero-height);
}

.hero-height-large .hero-inner {
  min-height: var(--site-current-hero-height);
}

.hero-title-size-small .hero-title {
  font-size: var(--site-hero-title-small);
}

.hero-title-size-large .hero-title {
  font-size: var(--site-hero-title-large);
}

.hero-align-center .hero-copy {
  text-align: center;
}

.hero-background-image {
  background: var(--navy);
  position: relative;
}

.hero-background-image .hero-inner {
  display: block;
  max-width: none;
  min-height: inherit;
  position: relative;
}

.hero-background-image .hero-photo {
  clip-path: none;
  inset: 0;
  margin: 0;
  position: absolute;
}

.hero-background-image .hero-photo img {
  filter: brightness(0.55);
}

.hero-background-image .hero-copy {
  margin: 0 auto;
  max-width: 1080px;
  padding: clamp(56px, 8vw, 82px) var(--site-horizontal-padding);
}

.hero-floating-card .hero-inner {
  align-items: center;
  grid-template-columns: minmax(360px, 0.88fr) minmax(420px, 1.12fr);
  max-width: var(--site-place-width);
  padding: 42px 24px;
}

.hero-floating-card .hero-copy {
  background: rgba(255, 255, 255, 0.94);
  border-radius: var(--site-radius);
  box-shadow: 0 24px 80px rgba(7, 24, 39, 0.22);
  color: var(--text);
  padding: clamp(30px, 4vw, 46px);
}

.hero-floating-card .hero-subtitle {
  color: #40506c;
}

.hero-floating-card .hero-photo {
  clip-path: none;
  border-radius: var(--site-radius);
  height: min(420px, calc(var(--site-current-hero-height) - 84px));
  min-height: 0;
  margin: 0 0 0 -28px;
  overflow: hidden;
}

.hero-image-left .hero-copy {
  order: 2;
  padding-left: 18px;
  padding-right: 52px;
}

.hero-image-left .hero-photo {
  clip-path: polygon(0 0, 82% 0, 100% 100%, 14% 100%);
  margin-left: 0;
  margin-right: -40px;
  order: 1;
}

.hero-architectural-cut .hero-inner {
  grid-template-columns: minmax(390px, 1fr) minmax(410px, 540px) minmax(150px, 0.7fr);
}

.hero-architectural-cut .hero-copy {
  padding-left: 52px;
}

.hero-architectural-cut .hero-title {
  font-size: var(--site-hero-title-standard);
  line-height: 1.32;
}

.hero-architectural-cut.hero-title-size-small .hero-title {
  font-size: var(--site-hero-title-small);
}

.hero-architectural-cut.hero-title-size-large .hero-title {
  font-size: var(--site-hero-title-large);
}

.hero-architectural-cut .hero-photo {
  clip-path: polygon(12% 0, 83% 0, 100% 100%, 28% 100%);
  margin-left: -58px;
  margin-right: -92px;
}

.hero-mosaic .hero-inner {
  align-items: center;
  grid-template-columns: minmax(390px, 0.95fr) minmax(410px, 1fr);
  gap: 16px;
  padding: 42px 24px;
}

.hero-mosaic .hero-photo,
.hero-mosaic .secondary-photo,
.hero-mosaic .tertiary-photo {
  border-radius: 8px;
  clip-path: none;
  margin: 0;
  min-height: 0;
  overflow: hidden;
}

.hero-mosaic .hero-photo {
  height: min(400px, calc(var(--site-current-hero-height) - 84px));
}

.secondary-photo,
.tertiary-photo {
  display: none;
}

.hero-mosaic .secondary-photo,
.hero-mosaic .tertiary-photo {
  display: block;
  height: 216px;
}

.hero-panoramic .hero-inner {
  display: block;
  max-width: 1120px;
  min-height: inherit;
  padding: 48px 24px 0;
}

.hero-panoramic .hero-copy {
  padding: 0 0 34px;
}

.hero-panoramic .hero-photo {
  border-radius: var(--site-radius) var(--site-radius) 0 0;
  clip-path: none;
  height: 280px;
  min-height: 0;
  margin: 0;
}

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

.button,
.hero-button {
  align-items: center;
  border-radius: 24px;
  display: inline-flex;
  font-size: 13px;
  font-weight: 900;
  justify-content: center;
  min-height: var(--site-button-height);
  padding: 0 42px;
}

.button.primary,
.hero-button {
  background: var(--blue);
  color: #ffffff;
}

.button.secondary {
  background: #ffffff;
  color: var(--navy-2);
}

.hero-photo {
  clip-path: polygon(14% 0, 78% 0, 100% 100%, 42% 100%);
  min-height: var(--site-current-hero-height);
  margin-left: -74px;
  margin-right: -118px;
  overflow: hidden;
  position: relative;
  z-index: 1;
}

.hero-photo img {
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  object-position: center;
  width: 100%;
}

.hero-image-fit-contain .hero-photo img {
  background: var(--navy);
  object-fit: contain;
}

.hero-image-position-left .hero-photo img,
.hero-image-focal-left .hero-photo img {
  object-position: left center;
}

.hero-image-position-right .hero-photo img,
.hero-image-focal-right .hero-photo img {
  object-position: right center;
}

.hero-image-focal-top .hero-photo img {
  object-position: center top;
}

.hero-image-focal-bottom .hero-photo img {
  object-position: center bottom;
}

.hero-image-zoom-light .hero-photo img {
  transform: scale(1.04);
}

.hero-image-zoom-medium .hero-photo img {
  transform: scale(1.08);
}

.hero-fill {
  background: var(--navy);
  height: 100%;
}

.who {
  background: var(--lavender);
  padding: var(--site-section-y) 20px 42px;
  text-align: center;
}

.who h2 {
  color: var(--navy);
  font-size: clamp(34px, 5vw, 46px);
  font-weight: 900;
  line-height: 1.08;
  margin: 0 0 22px;
}

.who p {
  color: #69708f;
  font-size: 15px;
  line-height: 1.72;
  margin: 0 auto;
  max-width: 980px;
}

.section-text {
  background: #ffffff;
  padding: clamp(46px, 8vw, 92px) var(--site-horizontal-padding);
}

.section-text-inner {
  margin: 0 auto;
  max-width: var(--site-panel-width);
}

.section-text h2 {
  color: var(--navy);
  font-size: clamp(32px, 4.6vw, 48px);
  font-weight: 900;
  line-height: 1.1;
  margin: 0 0 24px;
}

.section-text-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr;
}

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

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

.section-text p {
  color: #4f5d7a;
  font-size: 16px;
  line-height: 1.72;
  margin: 0;
}

.section-text-image .section-text-inner {
  align-items: center;
  display: grid;
  gap: clamp(28px, 5vw, 64px);
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.section-text-image-left .section-text-image-media {
  order: -1;
}

.section-text-image-media img,
.section-text-image-empty {
  aspect-ratio: 4 / 3;
  border-radius: 24px;
  display: block;
  object-fit: cover;
  width: 100%;
}

.section-text-image-empty {
  background: color-mix(in srgb, var(--blue) 14%, #ffffff);
}

@media (max-width: 680px) {
  .section-text-image .section-text-inner {
    grid-template-columns: 1fr;
  }

  .section-text-image-left .section-text-image-media {
    order: 0;
  }
}

.section-text .button {
  margin-top: 26px;
}

.page-shell {
  background: linear-gradient(180deg, #ffffff 0%, #f7f9ff 50%, #ffffff 100%);
  padding: clamp(32px, 5vw, 72px) clamp(18px, 4vw, 58px);
}

.donation-page,
.membership-page {
  padding-left: clamp(18px, 4vw, 58px);
  padding-right: clamp(18px, 4vw, 58px);
}

.donation-hero,
.membership-hero {
  background: #ffffff;
  border: 1px solid #e1e7f3;
  border-radius: 20px;
  box-shadow: 0 26px 70px rgba(16, 40, 101, 0.08);
  display: grid;
  gap: clamp(36px, 4.2vw, 68px);
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.38fr);
  margin: 0 auto 36px;
  max-width: var(--site-payment-width);
  padding: clamp(40px, 4.2vw, 64px);
  width: 100%;
}

.membership-hero {
  background: radial-gradient(circle at 78% 18%, rgba(31, 115, 232, 0.18), transparent 32%),
    linear-gradient(135deg, #ffffff 0%, #f4f8ff 44%, #eaf1ff 100%);
}

.donation-hero h1,
.membership-hero h1,
.simple-panel h1 {
  color: var(--navy);
  font-size: clamp(46px, 4.4vw, 76px);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 0.98;
  margin: 0 0 28px;
  max-width: 900px;
}

.donation-hero p:not(.page-kicker),
.membership-hero p:not(.page-kicker) {
  color: #4f5d7a;
  font-size: 19px;
  line-height: 1.65;
  max-width: 860px;
}

.hero-card,
.donation-hero-card,
.membership-hero-card {
  align-self: center;
  background: linear-gradient(135deg, var(--navy) 0%, #132f52 100%);
  border-radius: 20px;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-height: 310px;
  overflow: hidden;
  padding: 36px 34px;
  position: relative;
}

.hero-card.dark::after,
.membership-hero-card::after {
  background: linear-gradient(135deg, rgba(31, 115, 232, 0.8), rgba(228, 0, 63, 0.66));
  border-radius: 999px;
  content: "";
  height: 180px;
  position: absolute;
  right: -70px;
  top: -70px;
  width: 180px;
}

.hero-card span,
.hero-card p,
.hero-card strong,
.donation-hero-card span,
.donation-hero-card p,
.donation-hero-card strong,
.membership-hero-card span,
.membership-hero-card p,
.membership-hero-card strong {
  position: relative;
  z-index: 1;
}

.hero-card span,
.donation-hero-card span,
.membership-hero-card span {
  color: #d7e4ff;
  font-weight: 800;
  margin-bottom: 48px;
}

.hero-card strong,
.donation-hero-card strong,
.membership-hero-card strong {
  font-size: clamp(34px, 3vw, 44px);
  font-weight: 900;
  line-height: 1.04;
  margin-bottom: auto;
}

.hero-card p,
.donation-hero-card p,
.membership-hero-card p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 18px;
  line-height: 1.55;
  margin-top: 48px;
}

.donation-panel,
.membership-panel,
.simple-panel {
  background: #ffffff;
  border: 1px solid #e1e7f3;
  border-radius: 16px;
  box-shadow: 0 20px 54px rgba(16, 40, 101, 0.05);
  margin: 0 auto 34px;
  max-width: var(--site-payment-width);
  padding: clamp(30px, 3.4vw, 40px);
  width: 100%;
}

.payment-heading,
.donation-heading,
.membership-heading {
  align-items: end;
  display: grid;
  gap: clamp(28px, 4vw, 64px);
  grid-template-columns: minmax(260px, 0.42fr) minmax(0, 0.58fr);
  margin-bottom: 30px;
}

.payment-heading h2,
.donation-heading h2,
.membership-heading h2 {
  color: var(--navy);
  font-size: clamp(38px, 3.6vw, 58px);
  font-weight: 900;
  line-height: 1.04;
  margin: 0;
}

.payment-heading p,
.donation-heading p,
.membership-heading p {
  color: #61708f;
  font-size: 17px;
  line-height: 1.7;
  margin: 0;
}

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

.contact-grid article {
  background: #f7f9fe;
  border: 1px solid #e7ebf5;
  border-radius: var(--site-radius);
  display: grid;
  gap: 8px;
  padding: 18px;
}

.stripe-notice,
.empty-public {
  background: #f4f7ff;
  border: 1px solid #dfe7f6;
  border-radius: var(--site-radius);
  color: #36506f;
  font-weight: 800;
  line-height: 1.55;
  margin: 0 0 18px;
  padding: 14px 16px;
}

.donation-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.donation-card,
.membership-card {
  background: #ffffff;
  border: 1px solid #dde5f2;
  border-radius: var(--site-radius);
  color: var(--text);
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 166px;
  padding: 18px;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.donation-card:hover,
.membership-card:hover {
  border-color: var(--blue);
  box-shadow: none;
  outline: 3px solid rgba(29, 111, 232, 0.16);
  transform: none;
}

.donation-card strong,
.membership-card strong {
  color: var(--navy);
  font-size: 30px;
  font-weight: 900;
  line-height: 1;
}

.membership-card strong small {
  color: #6a7893;
  font-size: 15px;
  font-weight: 800;
}

.donation-card p,
.membership-card p {
  color: #667085;
  font-size: 15px;
  line-height: 1.55;
  margin: 0;
}

.donation-card button,
.membership-card button {
  background: var(--blue);
  border-radius: 999px;
  color: #ffffff;
  margin-top: auto;
  min-height: 42px;
  padding: 0 16px;
}

.donation-custom {
  align-items: center;
  background: #f4f7ff;
  border: 1px solid #dfe7f6;
  border-radius: 16px;
  color: var(--navy);
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 1fr);
  margin-top: 20px;
  padding: 24px;
}

.membership-custom {
  background: #f6f8ff;
  border-color: #d9e4ff;
}

.donation-custom h3 {
  font-size: 24px;
  line-height: 1.16;
  margin: 0 0 10px;
}

.donation-custom p {
  color: #61708f;
  line-height: 1.6;
  margin: 0;
}

.donation-custom label {
  display: grid;
  font-weight: 900;
  gap: 10px;
}

.donation-custom span {
  display: flex;
  gap: 10px;
}

.donation-custom input {
  background: #ffffff;
  border: 1px solid #cfd9ea;
  border-radius: 999px;
  flex: 1;
  min-height: 50px;
  min-width: 0;
  padding: 0 18px;
}

.donation-custom button {
  background: var(--navy);
  border-radius: 999px;
  color: #ffffff;
  min-height: 50px;
  padding: 0 22px;
}

@media (min-width: 1500px) {
  .donation-page,
  .membership-page {
    padding-left: 0;
    padding-right: 0;
  }

  .donation-page .donation-hero,
  .membership-page .membership-hero,
  .donation-page .donation-panel,
  .membership-page .membership-panel {
    max-width: var(--site-payment-width);
    width: min(var(--site-payment-width), calc(100vw - 452px));
  }
}

@media (min-width: 981px) {
  .donation-page .donation-hero,
  .membership-page .membership-hero {
    align-items: center;
    gap: 62px;
    grid-template-columns: minmax(0, 1fr) minmax(340px, 388px);
    padding: 54px 66px;
  }

  .donation-page .donation-hero h1,
  .membership-page .membership-hero h1 {
    font-size: clamp(46px, 3.45vw, 64px);
    line-height: 1.02;
    max-width: 920px;
  }

  .donation-page .donation-hero p:not(.page-kicker),
  .membership-page .membership-hero p:not(.page-kicker) {
    font-size: 16px;
    max-width: 760px;
  }

  .donation-page .hero-card,
  .membership-page .hero-card,
  .donation-page .donation-hero-card,
  .membership-page .membership-hero-card {
    min-height: 334px;
    max-width: 388px;
    padding: 30px;
    width: 100%;
  }

  .donation-page .hero-card span,
  .membership-page .hero-card span,
  .donation-page .donation-hero-card span,
  .membership-page .membership-hero-card span {
    margin-bottom: 38px;
  }

  .donation-page .hero-card strong,
  .membership-page .hero-card strong,
  .donation-page .donation-hero-card strong,
  .membership-page .membership-hero-card strong {
    font-size: clamp(28px, 2vw, 34px);
  }

  .donation-page .hero-card p,
  .membership-page .hero-card p,
  .donation-page .donation-hero-card p,
  .membership-page .membership-hero-card p {
    color: rgba(255, 255, 255, 0.82);
    font-size: 16px;
    margin-top: 38px;
  }

  .donation-page .donation-panel,
  .membership-page .membership-panel {
    padding: 40px 42px;
  }
}

.membership-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.membership-card {
  --tier: var(--blue);
  border-radius: 16px;
  min-height: 285px;
  position: relative;
}

.membership-card::before {
  background: var(--tier);
  border-radius: 999px;
  content: "";
  height: 8px;
  left: 24px;
  position: absolute;
  right: 24px;
  top: 0;
  transform: translateY(-1px);
}

.membership-card.bronze {
  --tier: #b56b35;
}

.membership-card.silver {
  --tier: #8a97ad;
}

.membership-card.gold {
  --tier: #e0a411;
}

.membership-card.platinum {
  --tier: #65758f;
}

.membership-card.diamond {
  --tier: #0aa4c8;
}

.membership-icon {
  align-items: center;
  background: linear-gradient(145deg, color-mix(in srgb, var(--tier) 18%, #ffffff), #ffffff);
  border: 1px solid color-mix(in srgb, var(--tier) 30%, #dfe7f6);
  border-radius: 16px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 14px 32px color-mix(in srgb, var(--tier) 18%, transparent);
  color: var(--tier);
  display: inline-flex;
  height: 58px;
  justify-content: center;
  margin-bottom: 2px;
  width: 58px;
}

.membership-icon svg {
  fill: none;
  height: 34px;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.6;
  width: 34px;
}

.membership-icon img {
  display: block;
  height: 38px;
  object-fit: contain;
  width: 38px;
}

.membership-icon .fallback-icon {
  display: none;
  height: 34px;
  width: 34px;
}

.membership-card.gold .membership-icon {
  background: linear-gradient(145deg, #fff8dd, #ffffff);
}

.membership-card.diamond .membership-icon {
  background: linear-gradient(145deg, #e8fbff, #ffffff);
}

.membership-tier {
  color: var(--navy);
  font-size: 17px;
  font-weight: 900;
}

.membership-card button {
  background: var(--tier);
}

.membership-note {
  background: #eef5ff;
  border: 1px solid #d8e8ff;
  border-radius: var(--site-radius);
  color: #36506f;
  font-weight: 700;
  line-height: 1.6;
  margin: 22px 0 0;
  padding: 16px 18px;
}

.about-page {
  background: #ffffff;
}

.about-intro {
  padding: 70px 20px 120px;
  text-align: center;
}

.about-intro h1 {
  color: var(--navy);
  font-size: clamp(32px, 4.8vw, 56px);
  font-weight: 900;
  line-height: 1.05;
  margin: 0 0 24px;
}

.about-intro p {
  color: #606b9a;
  font-size: 16px;
  line-height: 1.72;
  margin: 0 auto;
  max-width: 940px;
}

.about-main {
  margin: 0 auto;
  max-width: 1110px;
  padding: 0 24px 72px;
}

.about-main h2 {
  color: var(--navy);
  font-size: clamp(34px, 5vw, 48px);
  font-weight: 900;
  line-height: 1.1;
  margin: 0 0 44px;
}

.mission-vision {
  display: grid;
  gap: 80px;
  grid-template-columns: 1fr 1fr;
  margin-bottom: 72px;
}

.mission-vision h3 {
  color: var(--navy);
  font-size: 23px;
  font-weight: 900;
  margin: 0 0 12px;
}

.mission-vision p {
  color: #3f4250;
  font-size: 16px;
  line-height: 1.6;
  margin: 0;
}

.about-wide-image {
  border-radius: var(--site-radius);
  height: 300px;
  overflow: hidden;
}

.about-wide-image img {
  height: 100%;
  object-fit: cover;
  object-position: center;
  width: 100%;
}

.place {
  background: var(--navy);
  color: #ffffff;
  padding: 72px var(--site-horizontal-padding);
}

.place-inner {
  align-items: center;
  display: grid;
  gap: 64px;
  grid-template-columns: minmax(280px, 0.75fr) minmax(420px, 1.05fr);
  margin: 0 auto;
  max-width: var(--site-place-width);
}

.place h2 {
  font-size: 44px;
  font-weight: 900;
  line-height: 1.08;
  margin: 0 0 18px;
}

.place-lead {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.55;
  margin: 0 0 54px;
  max-width: 470px;
}

.place strong {
  display: block;
  font-size: 16px;
  margin-bottom: 16px;
}

.place address {
  font-style: normal;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.55;
}

.map-frame {
  background: #d9e3f2;
  border: 0;
  height: 345px;
  width: 100%;
}

.simple-panel {
  display: grid;
  gap: 16px;
}

.site-footer {
  align-items: center;
  background: var(--navy);
  color: #ffffff;
  display: flex;
  gap: 24px;
  justify-content: space-between;
  padding: 28px clamp(20px, 6vw, 86px);
}

.site-footer strong {
  font-size: 16px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  justify-content: flex-end;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.86);
  font-weight: 700;
}

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

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

@media (max-width: 980px) {
  .site-header {
    gap: 10px 14px;
    grid-template-columns: auto minmax(0, 1fr);
    min-height: 0;
    padding: 10px 18px 12px;
  }

  .main-nav {
    -webkit-overflow-scrolling: touch;
    gap: 18px;
    grid-column: 1 / 3;
    grid-row: 2;
    justify-content: flex-start;
    overflow-x: auto;
    padding: 2px 2px 0;
    scrollbar-width: none;
    white-space: nowrap;
  }

  .main-nav::-webkit-scrollbar {
    display: none;
  }

  .main-nav a {
    flex: 0 0 auto;
    font-size: 14px;
    padding: 10px 0;
  }

  .nav-actions {
    align-self: center;
    grid-column: 2;
    grid-row: 1;
  }

  .donation-link {
    font-size: 13px;
    min-height: 42px;
    padding: 0 20px;
  }

  .brand img,
  .brand-fallback {
    height: 56px;
    width: 56px;
  }

  .hero {
    background: var(--navy);
  }

  .hero-inner {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
  }

  .hero,
  .hero-inner,
  .hero-height-compact,
  .hero-height-compact .hero-inner,
  .hero-height-large,
  .hero-height-large .hero-inner {
    height: auto;
    min-height: auto;
  }

  .hero-photo {
    clip-path: none;
    height: min(58vw, 300px);
    min-height: 0;
    margin: 0;
    order: -1;
    width: 100%;
  }

  .hero-architectural-cut .hero-photo,
  .hero-architectural-cut .hero-copy {
    clip-path: none;
    margin: 0;
    padding-left: 24px;
  }

  .hero-fill {
    display: none;
  }

  .hero-copy {
    padding: 34px 24px 38px;
    width: 100%;
  }

  .hero-title,
  .hero h1 {
    font-size: clamp(34px, 8.5vw, 46px);
    line-height: 1.04;
    max-width: 100%;
  }

  .hero-subtitle {
    font-size: 16px;
    max-width: 100%;
  }

  .hero-actions {
    gap: 10px;
  }

  .donation-hero,
  .membership-hero,
  .payment-heading,
  .donation-heading,
  .membership-heading,
  .donation-custom,
  .contact-grid,
  .section-text-two .section-text-grid,
  .section-text-three .section-text-grid,
  .mission-vision,
  .place-inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .site-header {
    padding: 8px 14px 10px;
  }

  .brand img,
  .brand-fallback {
    height: 50px;
    width: 50px;
  }

  .nav-actions {
    justify-content: flex-end;
  }

  .donation-link {
    border-radius: 16px;
    font-size: 12px;
    min-height: 38px;
    padding: 0 16px;
  }

  .main-nav {
    gap: 16px;
    margin: 0 -2px;
  }

  .main-nav a {
    font-size: 13px;
    padding: 9px 0;
  }

  .hero-photo {
    height: min(62vw, 240px);
  }

  .hero-copy {
    padding: 28px 20px 32px;
  }

  .hero-title,
  .hero h1 {
    font-size: clamp(32px, 10vw, 40px);
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-button {
    width: 100%;
  }

  .who h2,
  .about-intro h1 {
    font-size: 34px;
  }

  .donation-grid,
  .membership-grid {
    grid-template-columns: 1fr;
  }

  .donation-hero,
  .membership-hero,
  .donation-panel,
  .membership-panel {
    border-radius: 14px;
    padding: 26px;
  }

  .donation-hero h1,
  .membership-hero h1 {
    font-size: 42px;
  }

  .hero-card,
  .donation-hero-card,
  .membership-hero-card {
    min-height: 220px;
    padding: 28px;
  }

  .hero-card span,
  .donation-hero-card span,
  .membership-hero-card span {
    margin-bottom: 24px;
  }

  .hero-card p,
  .donation-hero-card p,
  .membership-hero-card p {
    margin-top: 24px;
  }

  .donation-card,
  .membership-card {
    min-height: 0;
  }

  .donation-custom span,
  .site-footer {
    flex-direction: column;
  }

  .footer-links {
    justify-content: center;
  }
}

/* Banner block (site editor): texts, photos and buttons belong to the block. */

.banner {
  --banner-fg: #ffffff;
  --banner-bg: var(--navy);
  --banner-muted: rgba(255, 255, 255, 0.86);
  --banner-min-height: 480px;
  background: var(--banner-bg);
  color: var(--banner-fg);
  overflow: hidden;
  position: relative;
}

.banner-bg-primary {
  --banner-bg: var(--blue);
}

.banner-bg-light {
  --banner-bg: color-mix(in srgb, var(--blue) 9%, #ffffff);
  --banner-fg: var(--text);
  --banner-muted: color-mix(in srgb, var(--text) 78%, #ffffff);
}

.banner-bg-white {
  --banner-bg: var(--surface);
  --banner-fg: var(--text);
  --banner-muted: color-mix(in srgb, var(--text) 78%, #ffffff);
}

.banner-h-compact {
  --banner-min-height: 360px;
}

.banner-h-tall {
  --banner-min-height: 620px;
}

.banner-inner {
  align-items: center;
  display: grid;
  gap: clamp(28px, 5vw, 72px);
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  margin: 0 auto;
  max-width: var(--site-panel-width);
  min-height: var(--banner-min-height);
  padding: clamp(44px, 6vw, 88px) var(--site-horizontal-padding);
  position: relative;
  z-index: 1;
}

.banner-photo-left .banner-media,
.banner-photo-left .banner-gallery {
  order: -1;
}

.banner-centered .banner-inner,
.banner-photo-background .banner-inner {
  grid-template-columns: minmax(0, 760px);
  justify-content: start;
}

.banner-align-center .banner-inner {
  justify-content: center;
  text-align: center;
}

.banner-align-center .banner-actions {
  justify-content: center;
}

.banner-copy {
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-width: 0;
}

.banner-eyebrow {
  color: var(--banner-muted);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  margin: 0;
  text-transform: uppercase;
}

.banner-title {
  color: var(--banner-fg);
  font-size: clamp(34px, 4.4vw, 62px);
  font-weight: 900;
  line-height: 1.06;
  margin: 0;
  overflow-wrap: break-word;
}

.banner-highlight {
  color: var(--red);
}

.banner-text {
  color: var(--banner-muted);
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.6;
  margin: 0;
  max-width: 620px;
}

.banner-align-center .banner-text {
  margin: 0 auto;
}

.banner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 10px;
}

.banner-button {
  align-items: center;
  border: 2px solid transparent;
  border-radius: var(--button-radius, 24px);
  display: inline-flex;
  font-size: 15px;
  font-weight: 800;
  justify-content: center;
  min-height: 52px;
  padding: 0 30px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.banner-button:hover {
  box-shadow: 0 10px 22px rgba(7, 24, 39, 0.22);
  transform: translateY(-1px);
}

.banner-button-primary {
  background: var(--red);
  color: #ffffff;
}

.banner-button-secondary {
  border-color: currentColor;
  color: var(--banner-fg);
}

.banner-image {
  display: block;
  height: 100%;
  object-fit: cover;
  object-position: center;
  width: 100%;
}

.banner-focal-top .banner-image {
  object-position: center top;
}

.banner-focal-bottom .banner-image {
  object-position: center bottom;
}

.banner-media {
  aspect-ratio: 4 / 3;
  border-radius: 24px;
  box-shadow: 0 24px 50px rgba(7, 24, 39, 0.22);
  max-height: calc(var(--banner-min-height) - 60px);
  overflow: hidden;
  width: 100%;
}

.banner-gallery {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: repeat(2, minmax(0, 1fr));
  height: min(460px, calc(var(--banner-min-height) - 60px));
}

.banner-gallery .banner-image {
  border-radius: 20px;
}

.banner-gallery-item-1 {
  grid-row: span 2;
}

.banner-gallery-2 .banner-gallery-item-2 {
  grid-row: span 2;
}

.banner-photo-background {
  --banner-fg: #ffffff;
  --banner-muted: rgba(255, 255, 255, 0.9);
  background: #071827;
}

.banner-backdrop {
  inset: 0;
  position: absolute;
}

.banner-backdrop::after {
  background: linear-gradient(90deg, rgba(7, 24, 39, var(--banner-overlay)) 0%, rgba(7, 24, 39, calc(var(--banner-overlay) * 0.55)) 100%);
  content: "";
  inset: 0;
  position: absolute;
}

.banner-align-center .banner-backdrop::after {
  background: rgba(7, 24, 39, var(--banner-overlay));
}

.banner-overlay-light {
  --banner-overlay: 0.35;
}

.banner-overlay-medium {
  --banner-overlay: 0.55;
}

.banner-overlay-strong {
  --banner-overlay: 0.75;
}

@media (max-width: 760px) {
  .banner-inner {
    gap: 28px;
    grid-template-columns: minmax(0, 1fr);
    min-height: 0;
    padding: 40px 20px 44px;
  }

  .banner-photo-background .banner-inner,
  .banner-centered .banner-inner {
    min-height: calc(var(--banner-min-height) * 0.8);
  }

  .banner-photo-left .banner-media,
  .banner-photo-left .banner-gallery {
    order: 0;
  }

  .banner-media {
    max-height: none;
  }

  .banner-gallery {
    height: 280px;
  }

  .banner-actions {
    flex-direction: column;
  }

  .banner-button {
    width: 100%;
  }
}

/* Pages whose content sits in a centred frame: show the banner as a rounded card. */
.page-shell .banner {
  border-radius: 24px;
}

/* Campaign donation form (site editor "Formulaire de campagne"). */

.campaign-block {
  background: color-mix(in srgb, var(--blue) 7%, #ffffff);
  padding: clamp(40px, 6vw, 80px) var(--site-horizontal-padding);
}

.campaign-inner {
  margin: 0 auto;
  max-width: 600px;
}

.campaign-card {
  background: #ffffff;
  border-radius: 24px;
  border-top: 6px solid var(--red);
  box-shadow: 0 2px 4px rgba(7, 24, 39, 0.05), 0 22px 48px rgba(7, 24, 39, 0.12);
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: clamp(24px, 4vw, 36px);
}

.campaign-title {
  color: var(--navy);
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 900;
  line-height: 1.15;
  margin: 0;
}

.campaign-text {
  color: #4f5d7a;
  font-size: 16px;
  line-height: 1.6;
  margin: 0;
}

.campaign-progress {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.campaign-figures {
  align-items: baseline;
  display: flex;
  flex-wrap: wrap;
  gap: 4px 10px;
}

.campaign-figures strong {
  color: var(--red);
  font-size: 30px;
  font-weight: 900;
}

.campaign-figures span,
.campaign-progress p {
  color: #4f5d7a;
  font-size: 14px;
  margin: 0;
}

.campaign-bar {
  background: color-mix(in srgb, var(--red) 14%, #ffffff);
  border-radius: 999px;
  height: 12px;
  overflow: hidden;
}

.campaign-bar span {
  background: var(--red);
  border-radius: 999px;
  display: block;
  height: 100%;
  min-width: 6px;
}

.campaign-options {
  border: 0;
  margin: 0;
  padding: 0;
}

.campaign-options legend {
  color: var(--navy);
  font-size: 14px;
  font-weight: 800;
  margin-bottom: 10px;
  padding: 0;
}

.campaign-chips {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
}

.campaign-chip {
  align-items: center;
  border: 2px solid var(--line);
  border-radius: 16px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 2px;
  justify-content: center;
  min-height: 60px;
  padding: 10px;
  position: relative;
  text-align: center;
}

.campaign-chip input {
  inset: 0;
  opacity: 0;
  position: absolute;
}

.campaign-chip-amount {
  color: var(--navy);
  font-size: 19px;
  font-weight: 900;
}

.campaign-chip-note {
  color: #4f5d7a;
  font-size: 12px;
  line-height: 1.3;
}

.campaign-chip:has(input:checked) {
  background: color-mix(in srgb, var(--red) 8%, #ffffff);
  border-color: var(--red);
}

.campaign-chip:has(input:focus-visible) {
  outline: 3px solid color-mix(in srgb, var(--red) 45%, #ffffff);
  outline-offset: 2px;
}

.campaign-custom {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.campaign-custom > span:first-child {
  color: var(--navy);
  font-size: 14px;
  font-weight: 800;
}

.campaign-custom-field {
  align-items: center;
  border: 2px solid var(--line);
  border-radius: 16px;
  display: flex;
  gap: 8px;
  padding: 0 16px;
}

.campaign-custom-field:focus-within {
  border-color: var(--red);
}

.campaign-custom-field input {
  border: 0;
  flex: 1;
  font-size: 17px;
  min-height: 50px;
  min-width: 0;
  outline: none;
}

.campaign-tax {
  background: color-mix(in srgb, var(--blue) 8%, #ffffff);
  border-radius: 14px;
  color: var(--navy);
  font-size: 14px;
  line-height: 1.5;
  margin: 0;
  padding: 12px 14px;
}

.campaign-closed {
  background: #fff4e5;
  border-radius: 14px;
  color: #6b4a0c;
  font-size: 14px;
  line-height: 1.5;
  margin: 0;
  padding: 12px 14px;
}

.campaign-submit {
  background: var(--red);
  border: 0;
  border-radius: var(--button-radius, 24px);
  color: #ffffff;
  cursor: pointer;
  font-size: 17px;
  font-weight: 900;
  min-height: 58px;
}

.campaign-secure {
  color: #667085;
  font-size: 13px;
  margin: 0;
  text-align: center;
}

/* ------------------------------------------------------------------ */
/* FAQ, gallery and events blocks                                      */

.faq-block,
.gallery-block,
.events-block {
  background: #ffffff;
  padding: clamp(46px, 8vw, 92px) var(--site-horizontal-padding);
}

.block-inner {
  margin: 0 auto;
  max-width: var(--site-max-width);
}

.faq-block .block-inner {
  max-width: 860px;
}

.faq-block h2,
.gallery-block h2,
.events-block h2 {
  color: var(--navy);
  font-size: clamp(30px, 4.4vw, 44px);
  font-weight: 900;
  line-height: 1.1;
  margin: 0 0 14px;
}

.block-intro {
  color: #4f5d7a;
  font-size: 16px;
  line-height: 1.7;
  margin: 0 0 28px;
  max-width: 760px;
}

.block-empty,
.events-empty {
  background: var(--soft);
  border: 1px dashed var(--line);
  border-radius: var(--site-radius);
  color: var(--muted);
  margin: 12px 0 0;
  padding: 22px;
  text-align: center;
}

/* FAQ */
.faq-list {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.faq-item {
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 14px;
}

.faq-item summary {
  align-items: center;
  color: var(--navy);
  cursor: pointer;
  display: flex;
  font-size: 17px;
  font-weight: 700;
  gap: 16px;
  justify-content: space-between;
  list-style: none;
  padding: 18px 22px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  color: var(--blue);
  content: "+";
  flex: none;
  font-size: 24px;
  font-weight: 500;
  line-height: 1;
  transition: transform 0.2s ease;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item summary:focus-visible {
  border-radius: 14px;
  outline: 3px solid color-mix(in srgb, var(--blue) 45%, transparent);
}

.faq-answer {
  color: #4f5d7a;
  font-size: 16px;
  line-height: 1.7;
  padding: 0 22px 20px;
}

.faq-item-open {
  padding: 20px 22px 4px;
}

.faq-item-open h3 {
  color: var(--navy);
  font-size: 17px;
  margin: 0 0 8px;
}

.faq-item-open .faq-answer {
  padding: 0 0 16px;
}

/* Gallery */
.gallery-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 24px;
}

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

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

.gallery-item {
  margin: 0;
}

.gallery-item a {
  border-radius: 16px;
  display: block;
  overflow: hidden;
}

.gallery-item img {
  aspect-ratio: 4 / 3;
  display: block;
  object-fit: cover;
  transition: transform 0.3s ease;
  width: 100%;
}

.gallery-square .gallery-item img {
  aspect-ratio: 1;
}

.gallery-portrait .gallery-item img {
  aspect-ratio: 3 / 4;
}

.gallery-original .gallery-item img {
  aspect-ratio: auto;
  height: auto;
}

.gallery-original {
  align-items: start;
}

.gallery-item a:hover img {
  transform: scale(1.04);
}

.gallery-item a:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
}

.gallery-item figcaption {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
  margin-top: 8px;
}

@media (max-width: 900px) {
  .gallery-columns-3,
  .gallery-columns-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .gallery-grid {
    gap: 10px;
  }

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

/* Lightbox */
.lightbox {
  background: rgba(7, 12, 24, 0.94);
  border: 0;
  height: 100%;
  max-height: none;
  max-width: none;
  padding: 0;
  width: 100%;
}

.lightbox[open] {
  align-items: center;
  display: flex;
  justify-content: center;
}

.lightbox::backdrop {
  background: transparent;
}

.lightbox figure {
  margin: 0;
  max-width: min(1200px, 86vw);
  text-align: center;
}

.lightbox img {
  display: block;
  max-height: 80vh;
  max-width: 100%;
  object-fit: contain;
}

.lightbox figcaption {
  color: #e6e9f2;
  font-size: 15px;
  margin-top: 12px;
}

.lightbox button {
  background: rgba(255, 255, 255, 0.12);
  border: 0;
  border-radius: 999px;
  color: #ffffff;
  cursor: pointer;
  font-size: 30px;
  height: 48px;
  line-height: 1;
  width: 48px;
}

.lightbox button:hover,
.lightbox button:focus-visible {
  background: rgba(255, 255, 255, 0.26);
}

.lightbox-close {
  position: absolute;
  right: 18px;
  top: 18px;
}

.lightbox-prev,
.lightbox-next {
  margin: 0 12px;
}

.lightbox.single .lightbox-prev,
.lightbox.single .lightbox-next {
  visibility: hidden;
}

@media (max-width: 640px) {
  .lightbox-prev,
  .lightbox-next {
    bottom: 18px;
    position: absolute;
  }

  .lightbox-prev {
    left: 18px;
  }

  .lightbox-next {
    right: 18px;
  }
}

/* Events */
.events-list {
  display: grid;
  gap: 16px;
  margin-top: 24px;
}

.event-card {
  align-items: start;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 18px;
  display: grid;
  gap: 22px;
  grid-template-columns: auto minmax(0, 1fr);
  padding: 22px;
}

.event-card.has-image {
  grid-template-columns: auto minmax(0, 1fr) minmax(160px, 260px);
}

.event-card:not(:has(.event-date)) {
  grid-template-columns: minmax(0, 1fr);
}

.event-card.has-image:not(:has(.event-date)) {
  grid-template-columns: minmax(0, 1fr) minmax(160px, 260px);
}

.event-date {
  align-items: center;
  background: var(--blue);
  border-radius: 14px;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 76px;
  padding: 12px 10px;
}

.event-day {
  font-size: 30px;
  font-weight: 800;
  line-height: 1;
}

.event-month {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-top: 4px;
  text-transform: uppercase;
}

.event-body h3 {
  color: var(--navy);
  font-size: 21px;
  line-height: 1.25;
  margin: 2px 0 8px;
}

.event-meta {
  color: var(--blue);
  display: flex;
  flex-wrap: wrap;
  font-size: 14px;
  font-weight: 700;
  gap: 4px 14px;
  margin: 0 0 10px;
}

.event-meta span:first-child::first-letter {
  text-transform: uppercase;
}

.event-text {
  color: #4f5d7a;
  font-size: 15px;
  line-height: 1.65;
}

.event-body .button {
  margin-top: 14px;
}

.event-image img {
  aspect-ratio: 4 / 3;
  border-radius: 12px;
  display: block;
  object-fit: cover;
  width: 100%;
}

@media (max-width: 720px) {
  .event-card,
  .event-card.has-image,
  .event-card.has-image:not(:has(.event-date)) {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .event-image {
    grid-column: 1 / -1;
    order: -1;
  }

  .event-card:not(:has(.event-date)) .event-image {
    grid-column: 1;
  }
}

/* Two white content blocks in a row: no double spacing between them. */
:is(.faq-block, .gallery-block, .events-block, .section-text) + :is(.faq-block, .gallery-block, .events-block) {
  padding-top: 0;
}

.event-body .button {
  padding: 0 26px;
  text-align: center;
}

/* Button block */
.buttons-block {
  padding: clamp(42px, 7vw, 76px) var(--site-horizontal-padding);
}

.buttons-white {
  background: #ffffff;
}

.buttons-light {
  background: var(--lavender);
}

.buttons-primary {
  background: var(--blue);
  color: #ffffff;
}

.buttons-dark {
  background: var(--navy);
  color: #ffffff;
}

.buttons-center {
  text-align: center;
}

.buttons-block .block-inner {
  max-width: 900px;
}

.buttons-left .block-inner {
  margin-left: 0;
}

.buttons-block h2 {
  color: var(--navy);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 900;
  line-height: 1.12;
  margin: 0 0 12px;
}

.buttons-center .block-intro {
  margin-left: auto;
  margin-right: auto;
}

.buttons-primary h2,
.buttons-dark h2,
.buttons-primary .block-intro,
.buttons-dark .block-intro {
  color: #ffffff;
}

.buttons-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.buttons-center .buttons-row {
  justify-content: center;
}

.buttons-block .button {
  border-radius: var(--button-radius, 24px);
}

.buttons-block .button.secondary {
  box-shadow: inset 0 0 0 2px var(--blue);
}

.buttons-primary .button.primary {
  background: #ffffff;
  color: var(--blue);
}

.buttons-primary .button.secondary,
.buttons-dark .button.secondary {
  background: transparent;
  box-shadow: inset 0 0 0 2px #ffffff;
  color: #ffffff;
}
