/* Donation Hero Banner Container (Relatively positioned wrapper) */
.donation-hero-banner {
  position: relative;
  width: 100%;
  max-width: 1860px;
  height: 350px;
  margin: 0 auto; /* ממרכז את הבאנר במסך ללא absolute */
  padding: 0;
}

/* Masking & Clipping Area */
.donation-banner-clipper {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 10px;
  overflow: hidden;
}

/* Base Fallback Background Layer */
.donation-banner-base {
  position: absolute;
  inset: 0;
  background-color: #C4C4C4;
}

/* Campaign Visual Image Elements */
.donation-hero-image {
  position: absolute;
  width: 1992px;
  height: auto;
  left: 0;
  top: 0;
  object-fit: cover;
  pointer-events: none;
}

/* Rotated Brand Color Gradient Overlay */
.donation-brand-gradient {
  position: absolute;
  width: 100%;
  height: 100%;
  left: 100%;
  top: 0;
  background: linear-gradient(178.9deg, #140A61 -14.99%, rgba(20, 10, 97, 0) 96.67%);
  transform: rotate(90deg);
  transform-origin: top left;
  pointer-events: none;
}

/* Dark Contrast Overlay */
.donation-dark-overlay {
  position: absolute;
  inset: 0;
  background-color: #1E0303;
  opacity: 0.3;
  border-radius: 8px;
  pointer-events: none;
}

/* Campaign Title Text */
.donation-campaign-title {
  position: absolute;
  width: 177px;
  height: 68px;
  right: 115px; /* ממוקם מימין לכיסוי המרחק של 1568px משמאל ב-RTL */
  top: 141px;

  font-family: 'Assistant', sans-serif;
  font-style: normal;
  font-weight: 700;
  font-size: 34px;
  line-height: 34px;

  display: flex;
  align-items: center;
  text-align: right;
  color: #FFFFFF;
  z-index: 2;
}


/* Donation Breadcrumbs Container */
.donation-breadcrumbs {
  width: 100%;
  max-width: 1860px;
  margin: 25px auto 0; /* רווח נקי מהבאנר ללא absolute */
  padding: 0 135px; /* מרווח משמאל/ימין בהתאם ל-right: 135px ב-Figma */
}

/* Flexbox Auto Layout List */
.donation-breadcrumbs-list {
  display: flex;
  flex-direction: row;
  justify-content: flex-start; /* מתחיל מימין ב-RTL */
  align-items: center;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 0;
}

/* Individual Breadcrumb Item & Separator Base Styles */
.donation-breadcrumb-item,
.donation-breadcrumb-separator {
  height: 16px;
  font-family: 'Assistant', sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 14px;
  line-height: 16px;
  display: flex;
  align-items: center;
  text-align: right;
  flex: none;
}

/* Links (ראשי וכד') */
.donation-breadcrumb-link {
  color: #000072;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.donation-breadcrumb-link:hover {
  text-decoration: underline;
}

/* Separator Symbol (<) */
.donation-breadcrumb-separator {
  color: #000072;
  user-select: none;
}

/* Current Page (תרומה) */
.donation-breadcrumb-current {
  color: #9D9D9D;
}

/* Hidden Elements according to Figma spec (display: none) */
.donation-breadcrumb-hidden {
  display: none !important;
}


/* Donation Intro Section Container (Auto layout Column) */
.donation-intro-section {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 0;
  gap: 0;
  width: 100%;
  max-width: 1027px;
  margin: 120px auto 0; /* מרווח עליון נקי ומרכוז בעמוד ללא absolute */
  text-align: center;
}

/* Section Main Heading */
.donation-intro-heading {
  width: 100%;
  max-width: 631px;

  font-family: 'Assistant', sans-serif;
  font-style: normal;
  font-weight: 700;
  font-size: 34px;
  line-height: 132.5%; /* 45px */
  text-align: center;

  color: #000072;
  margin: 0;
}

/* Section Description Paragraph */
.donation-intro-description {
  width: 100%;
  max-width: 1027px;

  font-family: 'Assistant', sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 24px;
  line-height: 34px; /* 142% */
  text-align: center;

  color: #000072;
  opacity: 0.8;
}

/* Donation Section Grid Container */
.donation-cards-section {
  width: 100%;
  max-width: 1678px;
  margin: 120px auto;
  padding: 0 20px;
}

/* Responsive 3-Column Layout */
.donation-cards-grid {
  display: flex;
  flex-direction: row-reverse; /* שומר על סדר הכרטיסים מימין לשמאל */
  justify-content: center;
  align-items: stretch;
  gap: 48px;
  flex-wrap: wrap;
}

/* Individual Donation Card Structure */
.donation-card {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  padding: 40px;
  gap: 20px;

  width: 514px;
  min-height: 819px;

  background: #FFFFFF;
  border: 1px solid rgba(24, 48, 255, 0.2);
  border-radius: 10px;
}

/* Top Media/Picture Area */
.donation-card-media {
  position: relative;
  width: 434px;
  height: 300px;
  border-radius: 10px;
  overflow: hidden;
  flex: none;
}

.donation-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Content Area */
.donation-card-content {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-end;
  padding: 0;
  gap: 20px;
  width: 434px;
  flex: 1;
}

/* Card Header (Icon & Flag Container) */
.donation-card-header {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
  padding: 0;
  width: 434px;
  height: 60px;
  flex: none;
}

.donation-card-icon-wrapper {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
}

.donation-card-icon {
  width: 60px;
  height: 60px;
  object-fit: contain;
}

/* Card Body Text */
.donation-card-body {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  padding: 0;
  gap: 0;
  width: 434px;
  flex: 1;
}

/* Title */
.donation-card-title {
  width: 100%;
  font-family: 'Assistant', sans-serif;
  font-style: normal;
  font-weight: 600;
  font-size: 26px;
  line-height: 135%;
  text-align: right;
  color: #000072;
  margin: 0;
}

.donation-card-subtitle {
  width: 100%;
  font-family: 'Assistant', sans-serif;
  font-style: normal;
  font-weight: 700;
  font-size: 20px;
  line-height: 135%;
  text-align: right;
  color: #000072;
  margin: 0;
}
/* Text Paragraph */
.donation-card-text {
  width: 100%;
  font-family: 'Assistant', sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 20px;
  line-height: 28px;
  text-align: right;
  color: #000072;
  opacity: 0.8;
  margin: 8px auto;
}


/* ==========================================================
   Donation Form – per Figma (desktop 1638 / content 1325)
   ========================================================== */

.donation-form-wrapper {
  --df-navy: #000072;
  --df-line: rgba(20, 10, 97, 0.3);
  --df-muted: rgba(20, 10, 97, 0.3);
  --df-blue: #337DFF;
  --df-blue-hover: #1830FF;
  --df-error: #F56162;

  box-sizing: border-box;
  width: 100%;
  max-width: 1638px;
  margin: 60px auto;
  padding: 50px 40px;
  background: #F3F5FF;
  border-radius: 10px;
  font-family: 'Assistant', sans-serif;
  color: var(--df-navy);
}

.donation-form-wrapper *,
.donation-form-wrapper *::before,
.donation-form-wrapper *::after {
  box-sizing: border-box;
}

.donation-form-container {
  width: 100%;
  max-width: 1325px;
  margin: 0 auto;
}

/* Title – desktop tittle 34 / 132.5% */
.donation-form-title {
  margin: 0 0 40px;
  font-weight: 700;
  font-size: 34px;
  line-height: 132.5%;
  text-align: right;
  color: var(--df-navy);
}

/* Form column – gap 40 between blocks */
.donation-form {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 40px;
  margin: 0;
}

/* Rows (company / login) – text + pill button */
.donation-form-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 20px;
}

.donation-login-row {
  gap: 10px;
}

.donation-company-label {
  font-weight: 700;
  font-size: 20px;
  line-height: 28px;
  color: var(--df-navy);
  opacity: 0.8;
}

.donation-login-text {
  font-weight: 700;
  font-size: 20px;
  line-height: 28px;
  color: var(--df-navy);
}

/* Fieldset reset */
.donation-form-group {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.donation-form-group > legend {
  float: right; /* lets the legend take part in the flex gap */
  width: 100%;
  padding: 0;
}

/* Group titles – desktop text bold 20/28, 80% */
.donation-group-title {
  display: block;
  margin: 0;
  font-weight: 700;
  font-size: 20px;
  line-height: 28px;
  text-align: right;
  color: var(--df-navy);
  opacity: 0.8;
}

/* Figma: the subtitle is part of the same bold text block */
.donation-group-subtitle {
  font-weight: 700;
  font-size: 20px;
  line-height: 28px;
}

/* "פרטים אישיים" has no opacity in Figma */
.donation-form-group:has(.donation-fields-grid) > .donation-group-title {
  opacity: 1;
}

/* Divider – 1px rgba(20,10,97,.3) */
.donation-divider {
  width: 100%;
  height: 0;
  margin: 0;
  border: 0;
  border-top: 1px solid var(--df-line);
}

/* Pill CTA – 200×50, #337DFF, 600 18/24 (works for <a> and <button>) */
.donation-btn-primary,
.donation-btn-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 200px;
  height: 50px;
  padding: 0 20px;
  border: 0;
  border-radius: 1000px;
  background: var(--df-blue);
  color: #FFFFFF;
  font-family: inherit;
  font-weight: 600;
  font-size: 18px;
  line-height: 24px;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.donation-btn-primary:hover,
.donation-btn-submit:hover,
.donation-btn-primary:focus-visible,
.donation-btn-submit:focus-visible {
  background: var(--df-blue-hover);
  color: #FFFFFF;
  text-decoration: none;
}

.donation-btn-primary:focus-visible,
.donation-btn-submit:focus-visible {
  outline: 3px solid var(--df-navy);
  outline-offset: 3px;
}

.donation-btn-submit:disabled {
  opacity: 0.7;
  cursor: progress;
}

/* Visually hidden native inputs (keyboard & screen-reader accessible) */
.donation-checkbox-input,
.donation-radio-input {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
  opacity: 0;
}

/* ---------- Targets (checkboxes) – gap 20, box 22 ---------- */
.donation-checkbox-group {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
}

.donation-checkbox-label {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}

.donation-checkbox-text {
  font-weight: 400;
  font-size: 20px;
  line-height: 28px;
  color: var(--df-navy);
  opacity: 0.8;
}

.donation-checkbox-custom {
  position: relative;
  flex: none;
  width: 22px;
  height: 22px;
  border: 2px solid var(--df-navy);
  background: transparent;
  transition: background-color 0.15s ease;
}

.donation-checkbox-input:checked + .donation-checkbox-custom {
  border-width: 1px;
  background: var(--df-navy);
}

.donation-checkbox-input:checked + .donation-checkbox-custom::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 7px;
  width: 6px;
  height: 11px;
  border: solid #FFFFFF;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.donation-checkbox-input:focus-visible + .donation-checkbox-custom {
  outline: 3px solid var(--df-blue);
  outline-offset: 2px;
}

/* ---------- jgive – bold link + chevron ---------- */
.donation-jgive-row {
  min-height: 50px;
}

.donation-jgive-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-weight: 700;
  font-size: 20px;
  line-height: 28px;
  color: var(--df-navy);
  opacity: 0.8;
  text-decoration: none;
}

.donation-jgive-link:hover,
.donation-jgive-link:focus-visible {
  opacity: 1;
  text-decoration: underline;
  color: var(--df-navy);
}

.donation-jgive-link:focus-visible {
  outline: 3px solid var(--df-blue);
  outline-offset: 3px;
}

.donation-jgive-icon {
  flex: none;
  width: 24px;
  height: 24px;
}

/* ---------- Type & amount ---------- */
.donation-type-amount-group {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.donation-frequency-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 880px;
}

/* Frequency buttons – 216×56, border 1px / active 2px */
.donation-frequency-options {
  display: flex;
  flex-direction: row;
  gap: 20px;
  margin: 0;
}

.donation-freq-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  width: 216px;
  height: 56px;
  padding: 8px;
  border: 1px solid var(--df-line);
  border-radius: 4px;
  background: transparent;
  font-weight: 400;
  font-size: 20px;
  line-height: 28px;
  color: var(--df-navy);
  text-align: center;
  cursor: pointer;
  transition: border-color 0.2s ease;
}

.donation-freq-btn.active,
.donation-freq-btn:has(input:checked) {
  border: 2px solid var(--df-navy);
}

.donation-freq-icon {
  flex: none;
  width: 40px;
  height: 40px;
  object-fit: contain;
}

/* Amount buttons – 100×56, text 400 20/28 (weight stays 400 when active) */
.donation-amounts-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.donation-amounts-list {
  display: flex;
  flex-direction: row;
  gap: 20px;
  overflow-x: auto;
  padding: 2px; /* keeps the 2px active border / focus ring from being clipped */
}

.donation-amounts-list[hidden] {
  display: none;
}

.donation-amount-btn {
  position: relative;
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 100px;
  height: 56px;
  padding: 8px 12px;
  border: 1px solid var(--df-line);
  border-radius: 4px;
  background: transparent;
  font-weight: 400;
  font-size: 20px;
  line-height: 28px;
  color: var(--df-navy);
  text-align: center;
  cursor: pointer;
  transition: border-color 0.2s ease;
}

.donation-amount-btn.active,
.donation-amount-btn:has(input:checked) {
  border: 2px solid var(--df-navy);
  font-weight: 400;
}

.donation-custom-amount-input.donation-input {
  width: 220px;
  margin-top: 0;
  padding-top: 14px;
}

/* ---------- Personal details – floating label inside the box ---------- */
.donation-fields-grid {
  display: grid;
  grid-template-columns: repeat(3, 260px);
  gap: 20px;
  max-width: 820px;
}

.donation-field-wrapper {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0;
  min-width: 0;
}

.donation-field-wrapper.full-width {
  grid-column: 1 / -1;
}

.donation-field-label {
  position: absolute;
  top: 5px;
  right: 13px;
  left: 13px;
  z-index: 1;
  font-weight: 400;
  font-size: 14px;
  line-height: 22px;
  color: var(--df-muted);
  text-align: right;
  pointer-events: none;
}

.donation-input {
  width: 100%;
  height: 56px;
  margin: 0;
  padding: 24px 12px 4px;
  border: 1px solid var(--df-line);
  border-radius: 4px;
  background: transparent;
  font-family: inherit;
  font-weight: 400;
  font-size: 20px;
  line-height: 28px;
  color: var(--df-navy);
  text-align: right;
  box-shadow: none;
  -webkit-appearance: none;
  appearance: none;
}

.donation-input::placeholder {
  color: var(--df-muted);
  opacity: 1;
}

.donation-input:focus {
  outline: none;
  border-color: var(--df-navy);
}

.donation-input:focus-visible {
  box-shadow: 0 0 0 2px var(--df-blue);
}

/* LTR values (email / phone) still aligned to the right like the design */
.donation-input[type="email"],
.donation-input[type="tel"] {
  direction: ltr;
  text-align: right;
}

/* ---------- Payment – gap 80, radio 20 ---------- */
.donation-payment-options {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 80px;
}

.donation-radio-label {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}

.donation-radio-text {
  font-weight: 400;
  font-size: 20px;
  line-height: 28px;
  color: var(--df-navy);
  opacity: 0.8;
}

.donation-radio-custom {
  position: relative;
  flex: none;
  width: 20px;
  height: 20px;
  border: 2px solid var(--df-navy);
  border-radius: 50%;
  background: #FFFFFF;
}

.donation-radio-input:checked + .donation-radio-custom::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--df-navy);
  transform: translate(-50%, -50%);
}

.donation-radio-input:focus-visible + .donation-radio-custom {
  outline: 3px solid var(--df-blue);
  outline-offset: 2px;
}

.donation-payment-icon {
  width: 48px;
  height: 26px;
  object-fit: contain;
}

.donation-submit-wrapper {
  margin-top: 20px;
}

/* ---------- Legal – desktop small bold 16/22, 80% ---------- */
.donation-legal-notice {
  max-width: 1245px;
  margin: 0;
  font-weight: 700;
  font-size: 16px;
  line-height: 22px;
  text-align: right;
  color: var(--df-navy);
  opacity: 0.8;
}

/* Testimonials Outer Section Background */
.testimonials-section {
  width: 100%;
  background: #F3F5FF;
  padding: 40px 20px 40px;
  margin-top: 60px;
}

/* Header Text Container */
.testimonials-header {
  max-width: 800px;
  margin: 0 auto 50px;
  text-align: center;
}

.testimonials-title {
  font-family: 'Assistant', sans-serif;
  font-weight: 700;
  font-size: 34px;
  line-height: 44px;
  color: #337DFF;
  margin-bottom: 10px;
}

.testimonials-subtitle {
  font-family: 'Assistant', sans-serif;
  font-weight: 400;
  font-size: 20px;
  line-height: 133.5%;
  color: #000072;
}

/* Swiper Outer Container */
.testimonials-slider {
  max-width: 1600px;
  margin: 0 auto;
  padding: 10px 5px 60px;
  position: relative;
}

/* Individual Card (Slide) */
.testimonial-card {
  box-sizing: border-box;
  width: 380px;
  height: 450px;
  background: #FFFFFF;
  border: 1px solid rgba(24, 48, 255, 0.2);
  border-radius: 10px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  height: auto !important;
}

/* Video Thumbnail Container */
.testimonial-video-box {
  position: relative;
  width: 100%;
  max-width: 320px;
  aspect-ratio: 320 / 265; /* שומר על יחס הגובה-רוחב המדויק מ-Figma */
  border-radius: 10px;
  overflow: hidden;
  background-color: #F0F0F0;
  flex: none;
}

.testimonial-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Dark Blue Image Overlay */
.testimonial-overlay {
  position: absolute;
  inset: 0;
  background: #000072;
  opacity: 0.4;
  pointer-events: none;
}

/* Play Button Component */
.testimonial-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.8);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, background-color 0.2s ease;
  z-index: 2;
}

.testimonial-play-btn:hover {
  transform: translate(-50%, -50%) scale(1.1);
  background: #FFFFFF;
}

/* Play Triangle Icon */
.testimonial-play-icon {
  width: 0;
  height: 0;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 16px solid #337DFF;
  margin-left: 4px; /* Center-adjust triangle visual balance */
}

/* Testimonial Quote Text */
.testimonial-quote {
  width: 100%;
  font-family: 'Assistant', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 22px;
  text-align: right;
  color: #000072;
  opacity: 0.8;
  margin: 30px 0 0;
  flex: 1;
}

/* Bold Author Line - Always baseline aligned at the bottom */
.testimonial-author {
  width: 100%;
  font-family: 'Assistant', sans-serif;
  font-weight: 700;
  font-size: 16px;
  line-height: 22px;
  text-align: right;
  color: #000072;
  margin-top: auto;
}

.testimonial-quote strong {
  display: block;
  margin-top: 6px;
  font-weight: 700;
  opacity: 1;
}

/* Swiper Arrows Navigation Styling */
.testimonials-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin-top: 30px;
}

.testimonials-arrow {
  width: 38.8px;
  height: 38.8px;
  background-color: #000072;
  border: 1px solid #FFFFFF;
  border-radius: 50%;
  cursor: pointer;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.2s;
}

.testimonials-arrow:hover {
  opacity: 0.85;
}


/* Matching Banner Outer Wrapper */
.matching-banner-wrapper {
  width: 100%;
  max-width: 1650px;
  margin: 120px auto;
  padding: 0 20px;
}

/* Banner Inner Card Container */
.matching-banner-container {
  box-sizing: border-box;
  width: 100%;
  min-height: 341px;
  background: #000072;
  border-radius: 10px;
  padding: 40px 50px;
  display: flex;
  flex-direction: row; /* RTL Layout: Graphic on Right, Text on Left */
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

/* Right Visual Element / Image */
.matching-banner-graphic {
  width: 294px;
  height: 245px;
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.matching-graphic-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Main Content Column */
.matching-banner-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: right;
  flex: 1;
  max-width: 800px;
  gap: 8px;
}

/* Logos Header Line */
.matching-logos-group {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.matching-logos-label {
  font-family: 'Assistant', sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 24px;
  line-height: 34px;
  color: #FFFFFF;
}

.matching-logos-list {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.matching-logo-img {
  max-height: 40px;
  object-fit: contain;
  /* filter: brightness(0) invert(1); */ /* הופך לוגואים לבנים או שומר על בהירות מתאימה במידת הצורך */
}

/* Big Headline */
.matching-banner-title {
  font-family: 'Assistant', sans-serif;
  font-style: normal;
  font-weight: 700;
  font-size: 60px;
  line-height: 132.5%;
  color: #FFB157;
  margin: 0;
  letter-spacing: 0.02em;
}

/* Description Text */
.matching-banner-description {
  max-width: 550px;
  font-family: 'Assistant', sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 24px;
  line-height: 34px;
  color: #FFFFFF;
  margin: 0;
}

/* CTA Arrow Button & Link */
.matching-cta-link {
  display: inline-flex;
  flex-direction: row-reverse;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  margin-top: 10px;
  transition: opacity 0.2s ease;
}

.matching-cta-link:hover {
  opacity: 0.85;
}

.matching-cta-text {
  font-family: 'Assistant', sans-serif;
  font-style: normal;
  font-weight: 700;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: 0.1em;
  color: #FFB157;
}

/* Round Arrow Icon */
.matching-cta-arrow {
  width: 40px;
  height: 40px;
  background-color: #FFB157;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  flex: none;
}

/* Arrow Vector Symbol Inside Circle */
.matching-cta-arrow::after {
  content: '';
  width: 8px;
  height: 8px;
  border-left: 2px solid #FFFFFF;
  border-bottom: 2px solid #FFFFFF;
  transform: rotate(45deg);
  margin-left: 2px;
}


/* =========================================================
   RESPONSIVE MEDIA QUERIES
   הדבק את הקוד הזה בסוף קובץ ה-CSS הקיים (אחרי כל הכללים)
   ========================================================= */

/* ---------- Large Desktop (≤1900px) ---------- */
@media (max-width: 1900px) {
  .donation-hero-banner {
    box-sizing: border-box;
    padding: 0 20px;
  }

  .donation-form-wrapper {
    box-sizing: border-box;
    width: calc(100% - 40px);
  }
}

/* ---------- Laptop (≤1440px) ---------- */
@media (max-width: 1440px) {
  .donation-hero-banner {
    height: 320px;
  }

  .donation-campaign-title {
    right: 80px;
  }

  .donation-breadcrumbs {
    box-sizing: border-box;
    padding: 0 80px;
  }

  .donation-intro-section,
  .donation-cards-section {
    margin-top: 100px;
  }

  .donation-cards-grid {
    gap: 32px;
  }

  .donation-card {
    width: calc((100% - 64px) / 3);
    min-width: 340px;
    padding: 30px;
  }

  .donation-card-media,
  .donation-card-content,
  .donation-card-header,
  .donation-card-body {
    width: 100%;
  }

  .donation-card-media {
    height: auto;
    aspect-ratio: 434 / 300;
  }

  .matching-banner-title {
    font-size: 50px;
  }
}

/* ---------- Small Laptop / Large Tablet (≤1200px) ---------- */
@media (max-width: 1200px) {
  .donation-hero-banner {
    height: 300px;
  }

  .donation-brand-gradient {
    transform: none;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(270deg, #140A61 -15%, rgba(20, 10, 97, 0) 97%);
  }

  .donation-campaign-title {
    right: 60px;
    width: auto;
    max-width: 60%;
  }

  .donation-breadcrumbs {
    padding: 0 40px;
  }

  .donation-card {
    width: calc((100% - 32px) / 2);
    min-width: 0;
    min-height: auto;
  }

  .donation-intro-heading,
  .donation-form-title,
  .testimonials-title {
    font-size: 30px;
    line-height: 1.3;
  }

  .donation-intro-description {
    font-size: 22px;
    line-height: 32px;
  }

  .donation-intro-section {
    box-sizing: border-box;
    padding: 0 40px;
  }

  .matching-banner-container {
    padding: 40px;
  }

  .matching-banner-title {
    font-size: 44px;
  }

  .matching-banner-description,
  .matching-logos-label {
    font-size: 20px;
    line-height: 30px;
  }
}

/* ---------- Tablet (≤992px) ---------- */
@media (max-width: 992px) {
  .donation-hero-banner {
    height: 280px;
  }

  .donation-hero-image {
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
  }

  .donation-campaign-title {
    right: 40px;
    top: 50%;
    transform: translateY(-50%);
    height: auto;
    font-size: 30px;
    line-height: 1.2;
  }

  .donation-intro-section,
  .donation-cards-section {
    margin-top: 80px;
  }

  .donation-cards-section {
    margin-bottom: 80px;
  }

  .donation-card-title {
    font-size: 24px;
  }

  .donation-card-text {
    font-size: 18px;
    line-height: 26px;
  }

  /* Form */
  .donation-form-wrapper {
    padding: 50px 30px;
  }

  .donation-form-row {
    flex-wrap: wrap;
  }

  .donation-fields-grid {
    grid-template-columns: repeat(2, 1fr);
    max-width: 100%;
  }

  .donation-field-wrapper.full-width {
    grid-column: 1 / -1;
  }

  .donation-payment-options {
    gap: 40px;
    flex-wrap: wrap;
  }

  /* Testimonials */
  .testimonials-header {
    margin-bottom: 40px;
  }

  /* Matching banner */
  .matching-banner-wrapper {
    box-sizing: border-box;
    margin: 80px auto;
  }

  .matching-banner-container {
    flex-direction: column;
    text-align: right;
  }

  .matching-banner-content {
    max-width: 100%;
    width: 100%;
  }

  .matching-banner-graphic {
    width: 240px;
    height: 200px;
  }
}

/* ---------- Mobile Landscape / Small Tablet (≤768px) ---------- */
@media (max-width: 768px) {
  .donation-hero-banner {
    height: 240px;
    padding: 0 16px;
  }

  .donation-campaign-title {
    right: 24px;
    max-width: calc(100% - 48px);
    font-size: 26px;
  }

  .donation-breadcrumbs {
    padding: 0 20px;
    margin-top: 20px;
  }

  .donation-breadcrumbs-list {
    flex-wrap: wrap;
  }

  .donation-intro-section {
    padding: 0 20px;
    margin-top: 60px;
  }

  .donation-intro-heading,
  .donation-form-title,
  .testimonials-title {
    font-size: 26px;
  }

  .donation-intro-description {
    font-size: 18px;
    line-height: 28px;
  }

  /* Cards: single column */
  .donation-cards-section {
    box-sizing: border-box;
    margin: 60px auto;
  }

  .donation-cards-grid {
    gap: 24px;
  }

  .donation-card {
    width: 100%;
    max-width: 514px;
    padding: 24px;
  }

  .donation-card-icon-wrapper,
  .donation-card-icon {
    width: 50px;
    height: 50px;
  }

  .donation-card-header {
    height: 50px;
  }

  /* Form */
  .donation-form-wrapper {
    width: calc(100% - 32px);
    margin: 40px auto;
    padding: 40px 20px;
  }

  .donation-form-title {
    margin-bottom: 30px;
  }

  .donation-form {
    gap: 30px;
  }

  .donation-frequency-options {
    flex-wrap: wrap;
    gap: 12px;
  }

  .donation-freq-btn {
    flex: 1 1 160px;
    width: auto;
    font-size: 18px;
  }

  .donation-amounts-list {
    gap: 12px;
  }

  .donation-amount-btn {
    flex: none;
    width: 90px;
    font-size: 18px;
  }

  .donation-checkbox-label,
  .donation-radio-label,
  .donation-input {
    font-size: 18px;
  }

  .donation-payment-options {
    gap: 24px;
  }

  /* Testimonials */
  .testimonials-section {
    box-sizing: border-box;
    padding: 40px 16px;
    margin-top: 40px;
  }

  .testimonials-subtitle {
    font-size: 18px;
  }

  .testimonials-slider .swiper-wrapper {
    display: flex;
    align-items: stretch;
  }

  .testimonials-slider .swiper-slide {
    height: auto;
  }

  .testimonial-card {
    box-sizing: border-box;
    width: 100%;
    max-width: 380px;
    height: 100%;
    min-height: 450px;
    background: #FFFFFF;
    border: 1px solid rgba(24, 48, 255, 0.2);
    border-radius: 10px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    height: auto !important;    
  }

  .testimonial-video-box {
    position: relative;
    width: 100%;
    max-width: 320px;
    aspect-ratio: 320 / 265;
    border-radius: 10px;
    overflow: hidden;
    background-color: #F0F0F0;
    flex: none;
  }

  .testimonial-quote {
    margin-top: 20px;
  }

  /* Matching banner */
  .matching-banner-wrapper {
    margin: 60px auto;
    padding: 0 16px;
  }

  .matching-banner-container {
    padding: 30px 24px;
    gap: 24px;
  }

  .matching-banner-graphic {
    width: 200px;
    height: 166px;
  }

  .matching-banner-title {
    font-size: 36px;
  }

  .matching-banner-description,
  .matching-logos-label {
    font-size: 18px;
    line-height: 28px;
  }

  .matching-logo-img {
    max-height: 32px;
  }
}

/* ---------- Mobile (≤480px) ---------- */
@media (max-width: 480px) {
  .donation-hero-banner {
    height: 200px;
  }

  .donation-campaign-title {
    right: 20px;
    font-size: 24px;
  }

  .donation-intro-heading,
  .donation-form-title,
  .testimonials-title {
    font-size: 24px;
  }

  .donation-intro-description {
    font-size: 16px;
    line-height: 24px;
  }

  .donation-card {
    padding: 20px;
    gap: 16px;
  }

  .donation-card-content {
    gap: 16px;
  }

  .donation-card-title {
    font-size: 22px;
  }

  .donation-card-text {
    font-size: 16px;
    line-height: 24px;
  }

  /* Form */
  .donation-form-wrapper {
    padding: 30px 16px;
  }

  .donation-fields-grid {
    grid-template-columns: 1fr;
  }

  .donation-freq-btn {
    flex: 1 1 100%;
  }

  .donation-payment-options {
    flex-direction: column;
    gap: 16px;
  }

  .donation-btn-primary,
  .donation-btn-submit {
    width: 100%;
  }

  .donation-legal-notice {
    font-size: 14px;
    line-height: 20px;
  }

  /* Testimonials */
  .testimonial-card {
    padding: 20px;
    min-height: 0;
  }

  /* Matching banner */
  .matching-banner-container {
    padding: 24px 16px;
  }

  .matching-banner-graphic {
    width: 160px;
    height: 133px;
  }

  .matching-banner-title {
    font-size: 30px;
  }

  .matching-banner-description,
  .matching-logos-label {
    font-size: 16px;
    line-height: 24px;
  }

  .matching-logos-list {
    gap: 12px;
  }
}


/* ==========================================================
   Donation – Video modal
   ========================================================== */

html.video-modal-open {
	overflow: hidden; /* lock page scroll while open */
}

.video-modal {
	width: min(960px, calc(100vw - 32px));
	max-width: none;
	max-height: calc(100vh - 32px);
	padding: 0;
	border: 0;
	background: transparent;
	color: #fff;
	overflow: visible;
}

.video-modal::backdrop {
	background: rgba(0, 0, 0, 0.8);
}

.video-modal__inner {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.video-modal__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
}

.video-modal__title {
	margin: 0;
	font-size: 1rem;
	font-weight: 600;
	line-height: 1.4;
	color: #fff;
}

.video-modal__close {
	flex-shrink: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;  /* WCAG 2.5.5 touch target */
	height: 44px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.15);
	color: #fff;
	cursor: pointer;
	transition: background-color 0.2s ease;
}

.video-modal__close:hover {
	background: rgba(255, 255, 255, 0.3);
}

.video-modal__close:focus-visible {
	outline: 3px solid #fff;
	outline-offset: 3px;
}

.video-modal__player {
	position: relative;
	width: 100%;
	aspect-ratio: 16 / 9;
	max-height: calc(100vh - 120px);
	background: #000;
	border-radius: 12px;
	overflow: hidden;
}

.video-modal__player iframe,
.video-modal__player video {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
	object-fit: contain;
}

/* Open animation – skipped for users who prefer reduced motion */
@media (prefers-reduced-motion: no-preference) {
	.video-modal[open] {
		animation: video-modal-in 0.2s ease-out;
	}

	.video-modal[open]::backdrop {
		animation: video-modal-fade 0.2s ease-out;
	}
}

@keyframes video-modal-in {
	from { opacity: 0; transform: scale(0.96); }
	to   { opacity: 1; transform: scale(1); }
}

@keyframes video-modal-fade {
	from { opacity: 0; }
	to   { opacity: 1; }
}

/* Play button focus (the trigger inside the testimonial card) */
.testimonial-play-btn:focus-visible {
	outline: 3px solid #fff;
	outline-offset: 4px;
}

/* ==========================================================
   Campaign card button → "להמשך תרומה" (scrolls to #donate)
   Scoped to .donation-card only (Figma: text + orange arrow circle)
   ========================================================== */
.donation-card .donation-card-footer {
  display: flex;
  justify-content: flex-start;
  width: 100%;
  margin-top: auto;
}

.donation-card .donation-card-btn {
  display: inline-flex;
  flex-direction: row-reverse;
  align-items: center;
  gap: 10px;
  height: 40px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
  color: #FFB157;
  font-family: 'Assistant', sans-serif;
  font-style: normal;
  font-weight: 600;
  font-size: 18px;
  line-height: 24px;
  text-align: right;
  text-decoration: none;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
}

.donation-card .donation-card-btn-text {
  flex: none;
}

.donation-card .donation-card-btn-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #FFB157;
  transition: background-color .2s ease, transform .2s ease;
}

.donation-card .donation-card-btn-arrow svg {
  display: block;
  width: 8px;
  height: 12px;
}

.donation-card .donation-card-btn:hover,
.donation-card .donation-card-btn:focus-visible {
  color: #F58220;
  background: none;
  text-decoration: none;
}

.donation-card .donation-card-btn:hover .donation-card-btn-arrow,
.donation-card .donation-card-btn:focus-visible .donation-card-btn-arrow {
  background: #F58220;
  transform: translateX(-3px);
}

.donation-card .donation-card-btn:focus-visible {
  outline: 3px solid #000072;
  outline-offset: 4px;
  border-radius: 4px;
}

@media (prefers-reduced-motion: reduce) {
  .donation-card .donation-card-btn-arrow {
    transition: none;
  }
  .donation-card .donation-card-btn:hover .donation-card-btn-arrow,
  .donation-card .donation-card-btn:focus-visible .donation-card-btn-arrow {
    transform: none;
  }
}

#donate {
  scroll-margin-top: 120px;
}


/* ==========================================================
   MOBILE (≤767px) – per Figma "mobile" frame (375px)
   Hero / Intro / Campaign cards.
   Must stay LAST in the file: it overrides the generic
   ≤768 / ≤480 rules above for these sections.
   767px = the theme's mobile breakpoint (responsive.css).
   ========================================================== */
@media (max-width: 767px) {

  /* ---------- Hero – 345×440, radius 10, 15px side margins ---------- */
  .donation-hero-banner {
    box-sizing: border-box;
    height: 440px;
    padding: 0 15px;
  }

  .donation-banner-clipper {
    border-radius: 10px;
  }

  .donation-hero-image {
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    object-fit: cover;
  }

  .donation-dark-overlay {
    border-radius: 10px;
  }

  /* Figma "Rectangle 717": navy wash on the right side only, behind the title */
  .donation-brand-gradient {
    inset: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transform: none;
    background: linear-gradient(270deg, rgba(20, 10, 97, 0.5) 0, rgba(20, 10, 97, 0) 140px);
    opacity: 0.8;
  }

  /* mobile_title 700 30/39, white – top-right, 62px from the top */
  .donation-campaign-title {
    top: 62px;
    right: 30px;
    left: auto;
    width: auto;
    max-width: 220px;
    height: auto;
    margin: 0;
    transform: none;
    font-size: 30px;
    line-height: 39px;
  }

  /* ---------- Breadcrumbs – not in the mobile design ---------- */
  .donation-breadcrumbs {
    display: none;
  }

  /* ---------- Intro – 60px under the hero, 300px column, right aligned ---------- */
  .donation-intro-section {
    box-sizing: border-box;
    align-items: stretch;
    gap: 15px;
    margin: 60px auto 0;
    padding: 0 37px;
    text-align: right;
  }

  .donation-intro-heading {
    max-width: none;
    font-size: 30px;
    line-height: 39px;
    text-align: right;
  }

  /* mobile sub 400 20/26 – full color in the design (no 80% opacity) */
  .donation-intro-description {
    max-width: none;
    margin: 0;
    font-size: 20px;
    line-height: 26px;
    text-align: right;
    opacity: 1;
  }

  /* ---------- Cards – 345px wide, 30px apart, 40px under the intro ---------- */
  .donation-cards-section {
    box-sizing: border-box;
    margin: 40px auto 60px;
    padding: 0 15px;
  }

  .donation-cards-grid {
    flex-direction: column;
    align-items: center;
    gap: 30px;
  }

  /* Picture inset 20px; text inset 30px (20 card + 10 content) */
  .donation-card {
    width: 100%;
    max-width: 514px;
    min-width: 0;
    min-height: 0;
    padding: 20px 20px 40px;
    gap: 20px;
  }

  .donation-card-media {
    width: 100%;
    height: auto;
    aspect-ratio: 305 / 200;
    border-radius: 10px;
  }

  .donation-card-content {
    width: 100%;
    padding: 0 10px;
    gap: 0;
  }

  /* Icon 60×60 on the right, 12px above the title */
  .donation-card-header {
    width: 100%;
    height: 60px;
    margin: 0 0 12px;
  }

  .donation-card-icon-wrapper,
  .donation-card-icon {
    width: 60px;
    height: 60px;
  }

  .donation-card-body {
    width: 100%;
    gap: 15px;
    flex: none;
  }

  /* mobile_small_title 600 22/26 */
  .donation-card-title {
    font-size: 22px;
    line-height: 26px;
  }

  .donation-card-subtitle {
    font-size: 18px;
    line-height: 24px;
  }

  /* mobile_text 400 18/24, 80% */
  .donation-card-text {
    margin: 0;
    font-size: 18px;
    line-height: 24px;
  }

  /* CTA – 15px under the text, 700 16px, letter-spacing .1em */
  .donation-card .donation-card-footer {
    margin-top: 15px;
  }

  .donation-card .donation-card-btn {
    font-weight: 700;
    font-size: 16px;
    line-height: 24px;
    letter-spacing: 0.1em;
  }

  /* Anchor jump clears the 90px mobile header */
  #donate {
    scroll-margin-top: 100px;
  }
}
