/* Page-specific refinements for /darowizny. Loaded after styles.css. */

.donation-page {
  width: 100%;
  overflow-x: hidden;
}

.donation-topbar {
  width: 100%;
  min-height: 82px;
  margin: 0;
  padding: 0 max(24px, calc((100vw - 1240px) / 2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  border: 0;
  border-bottom: 1px solid #e5e7eb;
  border-radius: 0;
  background: #ffffff;
  box-shadow: none;
  backdrop-filter: none;
}

.donation-brand img {
  width: 154px;
  display: block;
}

.donation-nav {
  display: flex;
  align-items: center;
  gap: 38px;
}

.donation-nav a {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: #0f172a;
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
}

.donation-nav a:hover {
  background: transparent;
  color: #050505;
}

.donation-nav a.is-active {
  color: #6f8f00;
  text-decoration: underline;
  text-decoration-color: #d1fe00;
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
}

.donation-admin-link {
  min-height: 42px;
  padding: 0 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #06111f;
  color: #ffffff;
  font-size: 13px;
  font-weight: 900;
  line-height: 1;
  text-decoration: none;
  box-shadow: none;
}

.donation-hero {
  width: min(1240px, calc(100% - 48px));
  min-height: auto;
  margin: 0 auto;
  padding: 72px 0 40px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.75fr);
  gap: 56px;
  align-items: center;
  overflow: visible;
}

.donation-hero-copy {
  min-width: 0;
  max-width: 680px;
  padding: 0;
}

.donation-hero h1 {
  max-width: 680px;
  margin-bottom: 28px;
  color: #050505;
  font-size: 60px;
  line-height: 0.98;
  letter-spacing: -0.045em;
  font-weight: 950;
}

.donation-hero .donation-lead {
  max-width: 620px;
  font-size: 18px;
  line-height: 1.6;
  font-weight: 760;
  color: #0f172a;
}

.donation-hero-copy > p:not(.donation-eyebrow):not(.donation-lead):not(.donation-formal-note) {
  max-width: 620px;
  font-size: 17px;
  line-height: 1.7;
  color: #475569;
}

.donation-formal-note {
  max-width: 620px;
  margin-top: 34px;
  padding: 24px;
  border: 1px solid #e5e7eb;
  border-radius: 22px;
  background: #ffffff;
  box-shadow: 0 14px 38px rgba(15, 23, 42, 0.06);
}

.donation-formal-note::before {
  display: none;
}

.donation-hero-actions {
  margin-top: 32px;
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}

.donation-hero-actions .donation-cta {
  min-height: 52px;
  padding: 0 24px;
  border-radius: 999px;
  background: #d1fe00;
  color: #050505;
  font-weight: 950;
  text-decoration: none;
  box-shadow: 0 14px 34px rgba(var(--rtf-accent-rgb), 0.24);
}

.donation-secondary-link {
  color: #64748b;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}

.donation-hero-side {
  min-width: 0;
  display: grid;
}

.donation-hero-side .donation-support-card {
  position: static;
  width: 100%;
  max-width: 440px;
  justify-self: end;
  padding: 30px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 30px;
  background: #ffffff;
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.12);
}

.donation-hero-side .donation-support-card h2 {
  font-size: 32px;
  line-height: 1.05;
  letter-spacing: -0.03em;
  font-weight: 950;
}

.donation-hero-side .donation-support-card p {
  color: #475569;
  font-size: 16px;
  line-height: 1.55;
}

.donation-hero-side .donation-stripe-wrapper {
  width: 100%;
  max-width: 100%;
  margin-top: 22px;
  overflow: hidden;
}

.donation-hero-banner {
  width: min(1240px, calc(100% - 48px));
  margin: 0 auto 56px;
}

.donation-hero-banner-media {
  width: 100%;
  min-height: 420px;
  aspect-ratio: 16 / 7;
  position: relative;
  overflow: hidden;
  border-radius: 34px;
  background: url("https://fisemontpellier.com/wp-content/uploads/COVER-FISEMONTPELLIER.COdM_.jpg") center center / cover no-repeat;
  box-shadow: 0 26px 80px rgba(15, 23, 42, 0.16);
}

.donation-hero-banner-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(6, 17, 31, 0.22), rgba(6, 17, 31, 0.02) 45%, rgba(6, 17, 31, 0.2));
  pointer-events: none;
}

.donation-hero-banner-media span {
  position: absolute;
  top: 28px;
  left: 28px;
  z-index: 1;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(6, 17, 31, 0.75);
  color: #ffffff;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.donation-hero-media {
  display: none;
}

.donation-info-grid {
  width: min(1240px, calc(100% - 40px));
  margin: 0 auto;
  padding: 48px 0 64px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
}

.donation-info-grid .donation-info-section {
  width: auto;
  min-height: 300px;
  margin: 0;
  padding: 36px 38px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 28px;
  background: #ffffff;
  box-shadow: 0 20px 60px rgba(15, 23, 42, 0.08);
}

.donation-info-copy {
  padding: 0;
}

.donation-info-copy h2 {
  margin: 0 0 16px;
  color: #0f172a;
  font-size: clamp(2rem, 2.8vw, 2.25rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  font-weight: 900;
}

.donation-info-copy p {
  color: #475569;
  font-size: 1rem;
  line-height: 1.65;
}

.donation-footer-brand {
  background: transparent;
}

.donation-footer-brand img,
.donation-footer img {
  width: auto !important;
  max-width: 92px !important;
  max-height: 50px !important;
  display: block;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

@media (max-width: 1320px) {
  .donation-hero h1 {
    font-size: 54px;
  }
}

@media (max-width: 980px) {
  .donation-topbar {
    width: min(100% - 24px, 720px);
    min-height: auto;
    margin: 12px auto 0;
    padding: 16px 18px;
    flex-wrap: wrap;
    border: 1px solid #e5e7eb;
    border-radius: 22px;
  }

  .donation-nav {
    width: 100%;
    justify-content: space-between;
    gap: 12px;
  }

  .donation-admin-link {
    display: none;
  }

  .donation-hero {
    width: min(100% - 36px, 720px);
    grid-template-columns: 1fr;
    padding: 42px 0 32px;
    gap: 32px;
  }

  .donation-hero h1 {
    max-width: none;
    font-size: 42px;
    line-height: 1.02;
  }

  .donation-hero-copy {
    max-width: none;
  }

  .donation-hero-side .donation-support-card {
    max-width: none;
    justify-self: stretch;
    padding: 22px;
    border-radius: 24px;
  }

  .donation-hero-banner {
    width: min(100% - 36px, 720px);
    margin-bottom: 42px;
  }

  .donation-hero-banner-media {
    min-height: 260px;
    aspect-ratio: 16 / 10;
    border-radius: 24px;
  }

  .donation-info-grid {
    width: min(100% - 24px, 720px);
    padding: 32px 0 48px;
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .donation-info-grid .donation-info-section {
    min-height: 0;
    padding: 24px;
    border-radius: 22px;
  }
}

@media (max-width: 560px) {
  .donation-brand img {
    width: 132px;
  }

  .donation-nav a {
    font-size: 13px;
  }

  .donation-hero {
    width: min(100% - 32px, 430px);
  }

  .donation-hero h1 {
    font-size: 38px;
  }

  .donation-hero-banner {
    width: min(100% - 32px, 430px);
  }
}
