/* ═══════════════════════════════════════════════════════════
   index.css — page-specific styles for index.html
   Shared structural styles live in style.css
   ═══════════════════════════════════════════════════════════ */

/* Scroll container needs overflow:auto for sticky elements */
.regular-container1 {
  overflow: auto;
}

/* ── Dark photo section — index-specific layout ── */
.regular-rinnovo {
  align-items: center;
  justify-content: space-between;
  padding-bottom: 0 !important;
  min-height: 434px;
}

/* Inner content column width */
.regular-container4 {
  max-width: 650px;
}

/* ── Donation bar ── */
.regular-button-wrapper {
  align-self: stretch;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding: 25px 60px;
  align-items: center;
  justify-content: flex-start;
  gap: 32px;
}

/* Description text in donation bar */
.dona-description {
  color: rgba(255, 255, 255, 0.8);
  width: 326px;
  flex-shrink: 0;
  line-height: 20px;
}

/* Amount buttons row */
.dona-amounts {
  display: flex;
  gap: 16px;
  flex: 1 0 0;
  min-width: 0;
  align-items: center;
}

/* Single amount button */
.dona-btn {
  font-family: 'Albert Sans', sans-serif;
  font-size: 36px;
  font-weight: 700;
  line-height: 2rem;
  border: none;
  border-radius: 8px;
  padding: 20px;
  flex: 1 0 0;
  cursor: pointer;
  text-align: center;
  transition: background 0.2s, color 0.2s;
  background: rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.6);
}

.dona-btn.active {
  background: #009736;
  color: white;
}

/* "Dona ora" CTA link */
.dona-link {
  color: white;
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  text-decoration: none;
  flex-shrink: 0;
}

/* ── Responsive ── */

@media (max-width: 479px) {
  .regular-rinnovo {
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;
    min-height: unset !important;
    padding-top: 50px !important;
    padding-left: 32px !important;
    padding-right: 32px !important;
    padding-bottom: 50px !important;
    gap: 32px !important;
    background-position: center center !important;
  }

  .regular-container4 {
    max-width: 300px;
  }

  .regular-image2 {
    width: 50px !important;
    height: 5px !important;
    border-radius: 2px !important;
  }

  .regular-button-wrapper {
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;
    padding: 32px !important;
    gap: 32px !important;
    border-top: none !important;
  }

  .dona-description {
    width: 100% !important;
  }

  .dona-amounts {
    flex-direction: column !important;
    width: 100% !important;
    flex: none !important;
    min-width: 0 !important;
  }

  .dona-btn {
    flex: none !important;
    width: 100% !important;
    height: auto !important;
    padding: 20px !important;
    font-size: 24px !important;
  }
}
