:root {
    --card-bg: #181F3A;
    --white: #FFF;
    --button-bg: #F9FAFB;
    --button-border: #E5E7EB;
    --button-text: #4A5565;
  }
.hero {
    padding-left: 41px;
    padding-right: 38px;
    padding-top: 138px;
    padding-bottom: 128px;
    background-size: 99.9% 94%;
    margin-top: -108px;
  }

  .hero__inner{
      display: flex;
      gap: 32px;
      max-width: 1435px;
      margin: 0 auto;
      position: relative;
  }
  
  .hero__portrait{
    position: relative;
    box-shadow: -44px -23px 233px rgba(255, 255, 255, 0.12);
    border-radius: 21px;
  }
  
  .hero__portrait img {
    border-radius: 20px;
    background: url(<path-to-image>) lightgray 50% / cover no-repeat;
    box-shadow: 0 0 160.7px 1px rgba(255, 240, 218, 0.20);
  }
  .hero__content{
      padding-top: 70px;
  }


  .donation {
    position: relative;
    z-index: 10;
    padding-bottom: 76px;
    max-width: 1435px;
    width: 100%;
    margin: -50px auto 0;
  }
  
  .donation__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    justify-content: center;

  }

  /* Donation success/cancel notice */
  .donation__notice{
    max-width: 700.5px;
    width: 100%;
    margin: 0 auto 32px;
    padding: 14px 18px;
    border-radius: 12px;
    font-family: Montserrat, system-ui, sans-serif;
    font-size: 16px;
    line-height: 1.5;
    border: 1px solid rgba(229, 231, 235, 0.25);
    background: rgba(249, 250, 251, 0.06);
    color: #F9FAFB;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.02);
    text-align: center;
  }

  .donation__notice--success{
    background: rgba(34, 197, 94, 0.15);
    border-color: rgba(74, 222, 128, 0.30);
    color: #4ade80;
  }

  .donation__notice--cancel{
    background: rgba(248, 113, 113, 0.12);
    border-color: rgba(248, 113, 113, 0.30);
    color: #f87171;
  }
  
  /* CARD */
  
  .card {
    display: flex;
    max-width: 700.5px;
    width: 100%;
    height: 510px;
    padding: 40px;
    flex-direction: column;
    align-items: flex-start;
    border-radius: 24px;
    background: #181F3A;
    box-shadow: 0 0 48.365px -17.451px rgba(255, 255, 255, 0.20) inset;
    justify-content: end;
  }
  
  .card--center {
    align-items: center;
    text-align: center;
  }
  
  /* TITLES */
  
  .card__title {
    color: #FFF;
    font-size: 36px;
    line-height: 150%;
    margin: 0;
  }

 .second .card__title{

 
font-family: Montserrat;
font-size: 36px;
font-style: normal;
font-weight: 600;
line-height: 54px;
  }
  
  .card__title--medium {
    font-weight: 500;
  }
  
  /* TEXT */
  
  .card__text {
    font-family: Montserrat;
    color: #FFF;
    font-size: 24px;
    font-weight: 500;
    line-height: 150%;
    margin: 0;
    max-width: 620px;
    margin-top: 12px;
  }


  
  .card__text--small {
    color: #FFF;
    font-size: 24px;
    font-weight: 500;
    line-height: 150%;
    margin: 0;
  }
  
  /* AMOUNTS */
  
  .amounts {
    margin-top: 63.34px;
    display: flex;
    flex-wrap: wrap;
    max-width: 400px;
    gap: 24px 32px;
    justify-content: center;
    justify-items: center;  

  }
  
  .amount {
    color: #FFF;
    font-size: 16px;
    font-weight: 500;
    line-height: 150%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
   
    cursor: pointer;
    transition: all 0.18s ease-out;
  }

  .amount:hover {
    /* transform: translateY(-1px); */
  }

  .amount input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    width: 16px;
    height: 16px;
    border-radius: 4px;
    border: 1.5px solid #E5E7EB;
    background: transparent;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    cursor: pointer;
    flex-shrink: 0;
    transition: all 0.16s ease-out;
  }

  .amount input[type="checkbox"]::after {
    content: "";
    width: 100%;
    height: 100%;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 70% 70%;
    transition: all 0.16s ease-out;
  }

  .amount input[type="checkbox"]:checked {
    border-color: #FFFFFF;
    background-color: transparent;
  }

  .amount input[type="checkbox"]:checked::after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 36 36'%3E%3Cpath fill='%23FFFFFF' d='M34.459 1.375a2.999 2.999 0 0 0-4.149.884L13.5 28.17l-8.198-7.58a2.999 2.999 0 1 0-4.073 4.405l10.764 9.952s.309.266.452.359a2.999 2.999 0 0 0 4.15-.884L35.343 5.524a2.999 2.999 0 0 0-.884-4.149z'/%3E%3C/svg%3E");
  }

  .amount input[type="checkbox"]:focus-visible {
    outline: 2px solid #f97316;
    outline-offset: 3px;
  }
  
  .amount__custom-input {
    width: 100%;
  }

  .amount__custom-field{
    width: 100%;
    padding: 13px 0px 9px 14px;
    border-radius: 12px;
    border: 1px solid rgba(249, 250, 251, 0.50);
    background-color: transparent;
    color: #e5e7eb;
    font-family: Montserrat, sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 150%;
    margin-top: 31px;
    cursor: pointer;
    box-shadow: 0 1px 0.5px 0.05px rgba(29, 41, 61, 0.02);
  }
  /* SELECT */
  
  .select{
    width: 100%;
    padding: 13px 0px 9px 14px;
    border-radius: 12px;
    border: 1px solid rgba(249, 250, 251, 0.50);
    background-color: transparent;
    color: #e5e7eb;
    font-family: Montserrat, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 150%;
    margin-top: 31px;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    position: relative;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='11' height='6' viewBox='0 0 11 6' fill='none'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M4.86193 5.80474C5.12228 6.06509 5.54439 6.06509 5.80474 5.80474L10.4714 1.13807C10.7318 0.877722 10.7318 0.455611 10.4714 0.195262C10.2111 -0.0650878 9.78895 -0.0650878 9.5286 0.195262L5.33333 4.39052L1.13807 0.195262C0.877722 -0.0650878 0.455612 -0.0650878 0.195262 0.195262C-0.0650874 0.455611 -0.0650874 0.877722 0.195262 1.13807L4.86193 5.80474Z' fill='%23D4D4D8'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: calc(100% - 15px) 50%;
    background-size: 11px 6px;

    box-shadow: 0 1px 0.5px 0.05px rgba(29, 41, 61, 0.02);
  }

  .select:hover {
    border-color: #e5e7eb;
    box-shadow:
      0 0 0 1px rgba(15, 23, 42, 1),
      0 24px 70px rgba(15, 23, 42, 1);
    transform: translateY(-1px);
  }

  .select:focus-visible {
    outline: 1px solid rgba(148, 163, 184, 0.8);
    outline-offset: 0px;
    border-color: rgba(148, 163, 184, 0.8);
  }
  

  .select option {
    background-color: #050816;
    color: #f9fafb;
  }
  
  .select option:hover,
  .select option:checked {
    background-color: #1f2937;
    color: #f9fafb;
  }

  /* BUTTON */
  
  .btn {
    display: flex;
    padding: 14px 24px;
    justify-content: center;
    align-items: center;
    gap: 6px;
    align-self: stretch;
    border-radius: 12px;
    border: 1px solid #E5E7EB;
    background: #F9FAFB;
    box-shadow: 0 1px 0.5px 0.05px rgba(29, 41, 61, 0.02);
    color: #4A5565;
    font-family: Montserrat;
    font-size: 16px;
    font-weight: 500;
    line-height: 150%;
    cursor: pointer;
    margin-top:32px;
    text-decoration: none;
  }
  
  .card--center .btn{
    margin-top: auto;
  }

  @media (max-width: 1470px) {
    .donation{
        padding-left: 20px;
        padding-right: 20px;
    }
  }
  
  @media (max-width: 1024px) {

    .donation{
        margin-top: 16px;
        padding-bottom: 70px;
    }

    .donation__grid {
        display: flex;
        flex-direction: column;
        gap: 48px;
        align-items: center;
    }
      .hero{
          padding: 0;
          background-image: unset;
          position: relative;
          top: -34px;
      }
      .hero.active{
          top: 22px;
      }
     
      .breadcrumb{
          display: none;
      }
  
      .hero__content{
          position: absolute;
          z-index: 10;
          bottom: 25px;
          padding: 0 20px;
          left: 0;
          right: 0;
          max-width: 500px;
          width: 100%;
          margin: 0 auto;
      }
  
      .hero__portrait{
          margin: 0 auto;
          width: 100%;
          height: 724px;
      }
  
      .hero__portrait::after {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 100%;
        border-radius: 0 0 20px 20px;
        background: rgb(0 0 0 / 25%);
      }
  
      .hero__portrait img{
          width: 100%;
          height: 100%;
          object-fit: contain;
          border: unset;
          box-shadow: unset;
          background: unset;
      }
  
      .hero__title{
          text-align: start;
          background:linear-gradient(0deg, #B08420 8.17%, #FFF2DB 37.02%, #FBF5D1 45.67%, #EDD094 56.25%, #EAC885 65.38%, #BD9A4B 75.48%);
          background-clip: text;
          -webkit-background-clip: text;
          -webkit-text-fill-color: transparent;   
          font-weight: 700;
          margin-right: -10px;
      }
      .hero__lead{
          max-width: 500px;
          margin: 0;
          
          text-align: start;
          margin-top: 4px;
      }

      .card{
        padding: 24px 16px;
        height: 359px;

        border-radius: 20px;
        border: 2.493px solid rgba(202, 202, 202, 0.10);
        position: relative;
        overflow: hidden;
      }

      .card::after {
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        bottom: 0;
        height: 40px;
        background: linear-gradient(to top, rgb(255 255 255 / 12%), #00000000);
        pointer-events: none;
      }

      .card.second{
        order:-1;
      }

      .card.last{
        display: none;
      }

      .second .card__title{
        font-size: 24px;
        font-weight: 600;
        line-height: 150%;
      }

      .card__text{
        font-size: 20px;
        font-weight: 400;
        line-height: 150%;
      }

      .btn{
        padding: 10px 16px;
        font-size: 14px;
        font-weight: 500;
        line-height: 20px;
        border-radius: 12px;

        border: 1px solid #E5E7EB;
        background: #F9FAFB;
      }

      .card__title{
        font-size: 24px;
        font-weight: 600;
        line-height: 150%;
      }

      .amounts{
        margin-top: 49px;
        max-width: 300px;
      }

      .card--center .btn {
        margin-top: 49px;
    }

    .select, .amount__custom-field{
        padding: 10px 40px 10px 12px;
        color: #D4D4D8;
        font-family: Montserrat;
        font-size: 14px;
        font-style: normal;
        font-weight: 400;
        line-height: 20px;
    }

    .amount {
        font-size: 14px;
    }
    .site-header.active .site-header__inner {
        padding-top: 110px;
    }
  }
  

  @media (max-width: 520px) {
    .hero__portrait img {
        object-fit: cover;
    }
    .hero__content{
        margin: 0;
    }
}

/* Donation method modal */
.donation-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  visibility: hidden;
  opacity: 0;
  transition: visibility 0.2s ease, opacity 0.2s ease;
}

.donation-modal.is-open {
  visibility: visible;
  opacity: 1;
}

.donation-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  cursor: pointer;
}

.donation-modal__box {
  position: relative;
  width: 100%;
  max-width: 420px;
  padding: 32px 24px;
  background: var(--card-bg, #181F3A);
  border-radius: 24px;
  box-shadow: 0 0 48px rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.donation-modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  padding: 0;
  border: none;
  background: transparent;
  color: #D4D4D8;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  border-radius: 8px;
  transition: color 0.15s ease, background 0.15s ease;
}

.donation-modal__close:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.donation-modal__title {
  margin: 0 0 8px;
  color: #FFF;
  font-size: 22px;
  font-weight: 600;
  line-height: 1.3;
}

.donation-modal__title--success{
  color: #4ade80;
}

.donation-modal__title--cancel{
  color: #f87171;
}

.donation-modal__text {
  margin: 0 0 24px;
  color: #D4D4D8;
  font-size: 16px;
  line-height: 1.5;
}

.donation-modal__actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.donation-modal__btn {
  margin-top: 0;
  width: 100%;
}

.donation-modal__btn--paypal {
  background: #0070ba;
  border-color: #0070ba;
  color: #fff;
}

.donation-modal__btn--paypal:hover {
  background: #005ea6;
  border-color: #005ea6;
  color: #fff;
}
