/*  DONATE PAGE CSS START  */
/* Template: templates/page-donate.php (Figma: Citizens Union › Donate, node 338:9)
   Root font-size in this theme is 10px, so 1rem = 10px. */

.page-template-page-donate {
  background-color: #FFFFFF;
}

/* ---------- Hero tweaks (shared component-hero.php) ---------- */
.page-template-page-donate #hero {
  padding: 3.4rem 0 3rem;
  background-size: cover;
  background-position: 30% center;
}
/* Figma: photo multiplied onto orange at 28% opacity. An orange layer at 72%
   over the theme's full multiply gives the same result:
   0.72·orange + 0.28·(orange × photo). */
.page-template-page-donate #hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: #F36E31;
  opacity: 0.72;
  pointer-events: none;
}
.page-template-page-donate #hero > * {
  position: relative;
  z-index: 1;
}
.page-template-page-donate #hero-share {
  display: none;
}
.page-template-page-donate #hero h1 {
  margin: 0;
  font-size: 4rem;
  line-height: 120%;
}
/* Hide the empty blurb paragraph (no blurb set on this page) */
.page-template-page-donate #hero-content p:not(:has(span:not(:empty))) {
  display: none;
}

@media (min-width: 1000px) {
  .page-template-page-donate #hero {
    padding: 6rem 0 5.7rem; /* 64px / 53px → 184px tall at 1440 */
    background-size: 104.16% 159.46%; /* Figma image box */
    background-position: 0 65.1%;     /* = top -38.66% */
  }
  .page-template-page-donate #hero h1 {
    width: auto;
    font-size: 5.6rem; /* 56px */
  }
}

/* ---------- Section ---------- */
#donate.bd_donate_section {
  padding: 4rem 1.5rem 6rem;
  color: #00457D;
}

/* ---------- Intro ---------- */
#donate .bd_donate_intro {
  max-width: 96rem; /* 960px */
  margin-bottom: 4rem;
}
#donate .bd_donate_intro p {
  font-size: 2rem; /* 20px */
  font-weight: 400;
  line-height: 140%;
  letter-spacing: 0.04rem; /* 0.4px */
  color: #00457D;
  margin-bottom: 0;
}
#donate .bd_donate_intro p:not(:last-child) {
  margin-bottom: 1.6rem;
}
#donate .bd_donate_intro strong,
#donate .bd_donate_intro b {
  font-weight: 700;
  letter-spacing: inherit;
}

/* ---------- Option cards ---------- */
#donate .bd_donate_option_list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3.2rem; /* 32px */
}
#donate .bd_donate_option_box {
  display: grid;
  grid-template-columns: 1fr;
}
#donate .bd_donate_option_header {
  display: flex;
  flex-direction: column;
  padding: 3rem 2.4rem;
  background-color: #00457D;
  border-radius: 24px 8px 0 0;
}
#donate .bd_donate_option_content {
  display: flex;
  flex-direction: column;
  padding: 3.2rem 2rem;
  background-color: #FFF8EE; /* #FFB653 @ 10% on white */
  border-radius: 0 0 8px 8px;
}

/* Eyebrow */
#donate .bd_donate_eyebrow {
  margin: 0 0 1.4rem;
  font-size: 1.4rem; /* 14px */
  font-weight: 700;
  line-height: 120%;
  letter-spacing: 0.112rem; /* 1.12px */
  text-transform: uppercase;
  color: #FFB653;
}

/* Title */
#donate .bd_donate_option_title {
  margin: 0 0 3.2rem;
  font-size: 2.6rem;
  font-weight: 700;
  line-height: 120%;
  color: #FFFFFF;
  text-wrap: balance;
}

/* Button */
#donate .bd_donate_button_list {
  margin: auto 0 0;
  padding: 0;
  list-style: none;
}
#donate .bd_donate_button_list li {
  margin: 0;
}
#donate .bd_donate_buton {
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.6rem;
  width: 100%;
  padding: 1.6rem 3.2rem; /* 16px 32px */
  border-radius: 100vw;
  background-color: #F36E31;
  color: #FFFFFF;
  font-size: 1.8rem; /* 18px */
  font-weight: 700;
  line-height: 120%;
  text-decoration: none;
  transition: all .3s ease-in-out;
}
#donate .bd_donate_buton_icon {
  flex-shrink: 0;
  transition: transform .3s ease-in-out;
}

/* Right column copy */
#donate .bd_donate_option_content .bd_wyswig p {
  font-size: 1.8rem;
  font-weight: 400;
  line-height: 140%;
  letter-spacing: 0.04rem; /* 0.4px */
  color: #00457D;
  margin-bottom: 0;
}
#donate .bd_donate_option_content .bd_wyswig p:not(:last-child) {
  margin-bottom: 1.7rem;
}
#donate .bd_donate_option_content .bd_wyswig strong,
#donate .bd_donate_option_content .bd_wyswig b {
  font-weight: 500;
  letter-spacing: inherit;
}

/* Legal name / EIN */
#donate .bd_donate_details_list {
  display: grid;
  gap: 1.5rem;
  margin: 4.8rem 0 0.2rem;
}
#donate .bd_donate_details_list > div {
  display: grid;
  grid-template-columns: 13.8rem 1fr; /* label column 138px */
}
#donate .bd_donate_details_list dt,
#donate .bd_donate_details_list dd {
  margin: 0;
  font-size: 1.8rem; /* 18px */
  line-height: 140%;
  letter-spacing: 0.072rem; /* 0.72px */
  color: #00457D;
}
#donate .bd_donate_details_list dt {
  font-weight: 500;
}
#donate .bd_donate_details_list dd {
  font-weight: 400;
}

/* Disclaimer */
#donate .bd_donate_option_content .bd_donate_note {
  margin-top: 4.1rem;
}
#donate .bd_donate_option_content .bd_donate_note.bd_wyswig p {
  font-size: 1.6rem; /* 16px */
  font-style: italic;
  letter-spacing: 0.032rem; /* 0.32px */
}

@media (min-width: 770px) {
  #donate.bd_donate_section {
    padding: 6.2rem 1.5rem 10rem; /* 64px top; 100 + main pb 20 = 120px to footer */
  }
  #donate .bd_donate_intro {
    margin-bottom: 7.2rem; /* 72px */
  }
  #donate .bd_donate_option_header {
    padding: 4rem 3.2rem;
  }
/*   #donate .bd_donate_option_content {
    padding: 3.9rem 3.2rem 4rem;
  } */
  #donate .bd_donate_option_title {
    font-size: 3.6rem; /* 36px */
  }
  #donate .bd_donate_option_content {
	padding-top: 3.9rem;
	padding-bottom: 4rem;
    padding-inline: 4rem 5.6rem; /* 40px / 56px */
  }
  #donate .bd_donate_option_content .bd_wyswig p {
    font-size: 1.9rem; /* 20px */
  }
}

@media (min-width: 1000px) {
  /* Figma: 498px | 642px inside a 1140px row */
  #donate .bd_donate_option_box {
    grid-template-columns: 498fr 642fr;
  }
  #donate .bd_donate_option_header {
    border-radius: 24px 0 0 8px;
  }
  #donate .bd_donate_option_content {
    border-radius: 0 8px 8px 0;
  }
  #donate .bd_donate_option_title {
    margin-bottom: 4rem;
  }
}

@media (hover: hover) {
  #donate .bd_donate_buton:hover {
    background-color: #FFFFFF;
    color: #F36E31;
  }
  #donate .bd_donate_buton:hover .bd_donate_buton_icon {
    transform: translateX(5px);
  }
}

@media (max-width: 991px) {
	#donate .bd_donate_option_title {
		margin-bottom: 0;
	}
	
	#donate .bd_donate_option_content {
		padding-inline: 3.2rem;
	}
	
	#donate .bd_donate_button_list {
		margin-top: 4.5rem;
	}
}

@media (max-width: 769px) {
	.page-template-page-donate #hero #hero-content {
		padding-top: 0 !important;
		padding-right: calc(var(--bs-gutter-x) * 0.5) !important;
		padding-left: calc(var(--bs-gutter-x) * 0.5) !important;
	}
	
	#donate .bd_donate_option_content {
		padding-inline: 2rem;
	}
	
	#donate .bd_donate_eyebrow {
        line-height: 140%;
    }
	
	#donate .bd_donate_option_content .bd_wyswig p:not(:last-child) {
		margin-bottom: 1.4rem;
	}
    
    #donate .bd_donate_details_list,
    #donate .bd_donate_option_content .bd_donate_note {
        margin-top: 2.5rem;
    }
    
    #donate .bd_donate_button_list {
        margin-top: 3.5rem;
    }
    
    #donate .bd_donate_buton {
        gap: 1rem;
		font-size: 1.5rem;
        padding: 1.6rem 1.8rem;
    }
    
    #donate .bd_donate_buton_icon {
        width: 1.6rem;
        height: auto;
    }
    
    #donate .bd_donate_details_list > div {
        grid-template-columns: 11rem 1fr;
    }
    
    #donate .bd_donate_details_list dt, #donate .bd_donate_details_list dd {
        font-size: 1.6rem;
    }
    
    #donate .bd_donate_details_list dd br {
        display: none;
    }
}

/*  DONATE PAGE CSS END  */
