/* =================================================================== */
/* PAGE:      Donations Page                                           */
/* FILE:      donate.css                                               */
/* =================================================================== */

/* * TABLE OF CONTENTS
 * -------------------------------------------------------------------
 * 1.0 HERO SECTION (.hero, .hero__content, h1.hero__title, .hero__button)
 * 2.0 YOUR SUPPORT SECTION
    * 2.1 Content (h2.your-support__heading
    * 2.2 List & Items (.your-support__list, .your-support__item, .your-support__item-text)
 * 3.0 DONATION SECTION
    * 3.1 Blur Transition (.gradient-blur, .gradient-blur__shape--square)
    * 3.2 Main Container (.donation-section,)
    * 3.3 Component Overrides (.donation-section.donation-widget)
 * 5.0 DECORATIVE SHAPES (MODIFIERS)
    * 5.1 "Your Support" Section Shapes
    * 5.2 Gradient Blur Section Shapes
    * 5.4 "Community Voices" Section Shapes
    * 5.5 "Annual Impact" Section Shapes
 * 6.0 ANNUAL IMPACT SECTION
    * 6.1 Layout & Title (.annual-impact-section, .annual-impact__title)
    * 6.2 Content (.annual-impact__text, .annual-impact__button)
    * 6.3 Pie Chart (.annual-impact-pie-chart)
    * 6.4 Legend (.pie-chart-legend, .chart-title)
 * 7.0 THEMES SECTION
 */

/* ====================================================================================
                        1.0 HERO SECTION
====================================================================================  */
main {
  overflow: hidden;
  background-color: #fbfbfc;
}
/* 1.1 .hero */

.hero {
  background-color: #192147;
  display: grid;
  grid-template-columns: 1fr;
  overflow: hidden;
  position: relative;
  margin-bottom: -2px;
}
/* Switches to a grid layout with the image as a background */
@media (min-width: 1400px) {
  .hero {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto auto;
    grid-template-areas:
      "title   title"
      ".       widget"
      "subtitle widget";
  }
  /* Make the hero image act like a background image, sitting beneath all the other elements. */
  .hero__bg-layer {
    grid-column: 1 / -1;
    grid-row: 1 / -1;
    z-index: 0;
  }
  /* Make the title sit above all other elements */
  h1.hero__title--text {
    grid-area: title;
    z-index: 1;
  }
  /* Make the widget occupy the bottom two rows of the right column */
  .hero__widget-container {
    grid-area: widget;
    z-index: 1;
    margin-top: -25rem;
  }

  h2.hero__subtitle {
    grid-area: subtitle;
    z-index: 1;
    align-self: center;
  }
}
/* 1.2 .hero__top-fade */
.hero__top-fade {
  background: linear-gradient(
    180deg,
    rgba(71, 78, 115, 0.65) 25%,
    rgba(71, 78, 115, 0) 100%
  );
  backdrop-filter: blur(0.897009551525116px);
  width: 100%;
  height: 6.083333333333rem;
}
@media (min-width: 768px) {
  .hero__top-fade {
    height: 7.75rem;
  }
}
@media (min-width: 1200px) {
  .hero__top-fade {
    height: 12.5rem;
  }
}
@media (min-width: 1400px) {
  .hero__top-fade {
    height: 8.5rem;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 2;
  }
}
@media (min-width: 1920px) {
  .hero__top-fade {
    height: 13.8rem;
  }
}
/*  1.3 .hero__bg-layer, .hero__bg-item  */
.hero__bg-layer,
.hero__bg-item {
  width: 100%;
  height: 100%;
  z-index: 0;
  margin-top: 7rem;
  /* background-color: #fbfbfc; */
}
@media (min-width: 768px) {
  .hero__bg-layer,
  .hero__bg-item {
    margin-top: 0;
  }
}
@media (min-width: 1400px) {
  .hero__bg-layer {
    margin-top: -2rem;
  }
}
/* 1.4 .hero__bg-item  */
/* .hero__bg-item {
  display: none;
} */

/*  1.5  .hero__bg-item img */

.hero__bg-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* 1.7 .hero__widget-container */
.hero__widget-container {
  position: relative;
  width: 100%;
  max-width: 578px;
  display: block;
}

/* 1.9 h1.hero__title--text */

h1.hero__title--text {
  color: var(--Neutral-Indigo-100);
  text-align: center;
  text-shadow: 0 2.187px 7.655px rgba(0, 0, 0, 0.25);
  font-family: "Barlow", sans-serif;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  letter-spacing: 3.338px;
  margin: -2rem auto 1rem auto;
  width: 282px;
}
@media (min-width: 576px) {
  h1.hero__title--text br {
    display: none;
  }
  h1.hero__title--text {
    width: 100%;
    margin-top: 0.5rem;
  }
}
@media (min-width: 768px) {
  h1.hero__title--text {
    letter-spacing: 4.292px;
    width: 644px;
  }
}

@media (min-width: 1200px) {
  h1.hero__title--text {
    width: 799px;
  }
}
@media (min-width: 1400px) {
  h1.hero__title--text {
    /* grid-area: title;
    order: unset; /* Reset mobile order */
    /* text-align: center; */
    width: 100%;
    margin-top: 6.5rem;
  }
}
@media (min-width: 1920px) {
  h1.hero__title--text {
    width: 1475px;
    margin-top: 12rem;
  }
}

/* 1.10 h2.hero__subtitle */
h2.hero__subtitle {
  color: var(--Neutral-Indigo-100);
  font-family: var(--font-primary), san-serif;
  text-align: left;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  letter-spacing: 1.5px;
  width: 265px;
  margin: -28rem auto 0 auto;
  z-index: 10;
}
@media (min-width: 576px) {
  h2.hero__subtitle {
    width: 442px;
    margin: -23rem auto 0 auto;
  }
}
@media (min-width: 768px) {
  h2.hero__subtitle {
    width: 640px;
    margin: -31rem auto 0 auto;
  }
}
@media (min-width: 992px) {
  h2.hero__subtitle {
    width: 884px;
  }
}
@media (min-width: 1200px) {
  h2.hero__subtitle {
    width: 1086px;
    margin-bottom: -38rem;
  }
}
@media (min-width: 1400px) {
  h2.hero__subtitle {
    grid-area: subtitle;
    width: 563px;
    margin: 0 auto 14rem auto;
  }
}
@media (min-width: 1621px) {
  h2.hero__subtitle {
    width: 722px;
    margin-bottom: 30rem;
  }
}
@media (min-width: 1920px) {
  h2.hero__subtitle {
    width: 800px;
  }
}
/* 1.11 .hero__actions, .hero__acation--theme */
.hero__actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}
@media (min-width: 1200px) {
  .hero__actions {
    grid-area: actions; /* Moves buttons to the correct row */
    align-items: flex-start; /* Aligns buttons to the left */
    margin-top: 0;
  }
}

/* 1.12 .hero__button */
.hero__button {
  color: #242424;
  font-family: "Barlow Condensed", sans-serif;
  font-style: normal;
  font-weight: 400;
  line-height: 31.059px; /* 124.235% */
  letter-spacing: 0.414px;
  text-transform: uppercase;
  padding: 0.85rem 1.7rem;
  border-radius: 1.1rem;
  background-color: var(--Neutral-Indigo-100);
  text-decoration: none;
  transition:
    background-color 0.2s,
    transform 0.2s;
}

.hero__button:hover {
  background-color: #e0e0e0;
  transform: scale(1.03);
}

@media (min-width: 768px) {
  .hero__button {
    padding: 1rem 2rem;
    border-radius: 1.3rem;
  }
}
@media (min-width: 1200px) {
  .hero__button {
    padding: 1.15rem 2.3rem;
    border-radius: 1.45rem;
  }
}
@media (min-width: 1920px) {
  .hero__button {
    padding: 1.4rem 2.8rem;
    border-radius: 1.8rem;
  }
}
/* TEMP FIX: masks margin collapse between hero and your support section.
   TODO: refactor — replace with overflow:clip on parent or padding-top
   on the following section. Remove .hero__margin-cover from HTML too. */
.hero__margin-cover {
  width: 100%;
  height: 10px;
  background-color: var(--Neutral-Indigo-100);
  position: relative;
  top: 50%;
}
/* ====================================================================================
                        2.0 YOUR SUPPORT SECTION
====================================================================================  */
.your-support {
  display: flex;
  flex-direction: column;
  width: 100%;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 10rem;
}
/* @media (min-width: 576px) {
  .your-support {
    overflow: visible;
  }
} */
.your-support-wrapper {
  display: flex;
  flex-direction: column;
  text-align: left;
  position: relative;
  z-index: 2;
  box-sizing: border-box; /* Note: This can likely be moved to global.css */
}

.your-support-text {
  width: 100%;
  max-width: 24rem;
  margin: 0 auto;
  /* padding: 0 1rem; */
  box-sizing: border-box; /* Note: This can likely be moved to global.css */
}
.page-donate .layered-image__bg {
  border-radius: 6px;
  border: 1.25px solid #38499c;
  background: linear-gradient(
    180deg,
    rgba(40, 52, 112, 0.4) 0%,
    rgba(40, 52, 112, 0.2) 100%
  );
}
@media (min-width: 576px) {
  .your-support-text {
    max-width: 44rem;
  }
}
@media (min-width: 768px) {
  .your-support-text {
    max-width: 56rem;
  }
}
@media (min-width: 1200px) {
  .your-support {
    padding-top: 12rem;
  }
  .your-support-text {
    max-width: 86rem;
  }
}
@media (min-width: 1920px) {
  .your-support {
    padding: 12rem 0;
    width: 125rem;
    margin: 0 auto;
  }
  .your-support-text {
    max-width: 122rem;
  }
}
/* =================================================================== */
/* 3.0 DONATE SECTION (#donate-now)                                    */
/* =================================================================== */

.donate-section {
  position: relative;
  width: 100%;
  min-height: 1600px;
  height: auto;
  padding: 4rem 1rem;
  display: flex;
  flex-direction: column;
  background-color: var(--Navy-Blue-1000);
  overflow: hidden;
}

.donation-wrapper {
  grid-area: widget;
  z-index: 1;
  width: 25rem;
}
.donate-section__bg {
  width: 100%;
  height: 100%;
  z-index: 0;
  margin-top: -6rem;
}
@media (min-width: 768px) {
  .donation-wrapper {
    width: 58rem;
  }
}
@media (min-width: 1400px) {
  .donate-section__bg {
    grid-column: 1 / -1;
    grid-row: 1 / -1;
    z-index: 0;
  }
}
.donate-section__bg img {
  width: auto;
  height: 100%;
  display: block;
  justify-self: right;
  margin-right: -1rem;
}
.donate-section__content {
  position: relative;
  z-index: 1;
}
.donate-section__fade-in {
  position: relative;
  width: 100%;
  height: 20rem;
  background: linear-gradient(180deg, rgba(25, 33, 71, 0) 0%, #192147 100%);
  margin-bottom: -1px;
}
.donate-section__fade-out {
  position: relative;
  width: 100%;
  height: 20rem;
  background: linear-gradient(360deg, rgba(25, 33, 71, 0) 0%, #192147 100%);
  margin-top: -1px;
}

.donate-section__content {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

@media (min-width: 768px) {
  .donate-section__content {
    margin: 0;
  }
}
@media (min-width: 1400px) {
  .donate-section__content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto auto;
    grid-template-areas:
      "title   title"
      "widget  ."
      "widget  timer ";
  }
}
h2.donate-section__title {
  max-width: 234px;
  font-family: var(--font-primary), sans-serif;
  font-weight: 700;
  line-height: 1.2;
  margin: -4rem auto 0 auto;
  color: var(--Neutral-Indigo-100);
  margin-top: -4rem;
}
@media (min-width: 576px) {
  h2.donate-section__title {
    max-width: 420px;
  }
}
@media (min-width: 768px) {
  h2.donate-section__title {
    max-width: 564px;
  }
}
@media (min-width: 992px) {
  h2.donate-section__title {
    max-width: 877px;
  }
}
@media (min-width: 1200px) {
  h2.donate-section__title {
    max-width: 1049px;
    text-wrap: wrap;
  }
}
@media (min-width: 1400px) {
  h2.donate-section__title {
    grid-area: title;
    z-index: 10;
    max-width: 1310px;
    text-wrap: wrap;
    margin-top: -4rem;
  }
}
@media (min-width: 1621px) {
  h2.donate-section__title {
    max-width: 1515px;
    text-wrap: wrap;
  }
}
@media (min-width: 1920px) {
  h2.donate-section__title {
    max-width: 1661px;
  }
}
.donate-section__event-wrapper {
  display: flex;
  flex-direction: column;
  gap: 30px;
}
@media (min-width: 1400px) {
  .donate-section__event-wrapper {
    grid-area: timer;
  }
}
.donate-section__button {
  position: relative;
  z-index: 0;
  width: 207px;
  margin: 0 auto;
  color: var(--Neutral-Indigo-100);
  text-align: center;
  font-family: Grift;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  letter-spacing: 1.367px;
  text-decoration-line: underline;
  text-decoration-style: solid;
  text-decoration-skip-ink: auto;
  text-decoration-thickness: auto;
  text-underline-offset: auto;
  text-underline-position: from-font;
  display: block;
}
@media (min-width: 768px) {
  .donate-section__button {
    width: 250px;
  }
}
@media (min-width: 1200px) {
  .donate-section__button {
    width: 300px;
  }
}
@media (min-width: 1621px) {
  .donate-section__button {
    width: 325px;
  }
}
.donate-section__timer {
  width: 65%;
  height: auto;
  margin: 0 auto;
  border-radius: 5px;
  border: 2.191px solid #ecedf1;
  background: rgba(251, 251, 252, 0.1);
  backdrop-filter: blur(10.955px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 125px;
}
@media (min-width: 576px) {
  .donate-section__timer {
    flex-direction: row;
    max-width: 347px;
    gap: 1.5rem;
    padding: 0 1rem;
  }
}
@media (min-width: 768px) {
  .donate-section__timer {
    margin: 2rem auto;
    max-width: 475px;
    gap: 3rem;
  }
}
@media (min-width: 1200px) {
  .donate-section__timer {
    max-width: 484.193px;
  }
}
.timer-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1rem;
  min-width: 80px;
}
.timer-value {
  font-family: "Barlow", sans-serif;
  font-weight: 800;
  line-height: 1;
  color: #fff;
}
.timer-label {
  font-family: var(--font-primary), sans-serif;
  text-transform: uppercase;
  margin-top: 0.5rem;
  color: #fff;
}

.donate-color-bar {
  display: flex;
  max-width: 280px;
  min-width: 0;
  height: 0.6rem;
  padding: 0;
  margin: 0 auto;
}
@media (min-width: 1200px) {
  .donate-color-bar {
    max-width: 500px;
    height: 0.85rem;
  }
}

h2.your-support__heading {
  color: var(--Navy-Blue-1000);
  text-align: center;
  font-family: var(--font-primary), sans-serif;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  letter-spacing: 1.25px;
  box-sizing: border-box;
  margin: 1rem auto;
  width: 280px;
}

@media (min-width: 768px) {
  h2.your-support__heading {
    width: 657px;
  }
}
@media (min-width: 1200px) {
  h2.your-support__heading {
    width: 63.9rem;
  }
}
@media (min-width: 1621px) {
  h2.your-support__heading {
    width: 69.5rem;
  }
}
@media (min-width: 1920px) {
  h2.your-support__heading {
    width: 122rem;
  }
}
.layered-image {
  --element-size: 270px;
  margin: 5rem auto;
}

.layered-image__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
@media (min-width: 1200px) {
  .layered-image {
    --element-size: 435px;
  }
}
@media (min-width: 1920px) {
  .layered-image {
    --element-size: 442px;
  }
}

.your-support__list {
  margin-block-start: 0;
  margin-block-end: 0;
  padding-inline-start: 0;
  list-style-type: none;
  padding: 0;
  width: 195px;
  margin: 5rem auto;
  display: flex;
  flex-direction: column;
}
.your-support-text ul li:first-of-type p{
  text-wrap: wrap;
}
@media (min-width: 768px) {
  .your-support__list {
    width: 330px;
  }
  .your-support__item:nth-of-type(3) .your-support__item-text{
    text-wrap: wrap;
  }
}
@media (min-width: 1200px) {
  .your-support__list {
    display: flex;
    flex-direction: column; /* Stack rows vertically */
    width: 100%;
    gap: 8.33rem;
  }
  .your-support__item {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 8rem;
    width: 100%;
    grid-template-areas: "col-a col-b";
  }
  .your-support__item-text {
    grid-area: col-a;
    text-align: left;
    width: 500px;
    line-height: 1.4;
  }
  .your-support__item .layered-image {
    grid-area: col-b;
    justify-self: center;
  }
  /* flip the order for every other card */
  .your-support__item:nth-child(odd) .your-support__item-text {
    grid-area: col-b;
  }
  .your-support__item:nth-child(odd) .layered-image {
    grid-area: col-a;
  }
}
@media (min-width: 1920px) {
  .your-support__item {
    width: 115.833rem;
  }
  .layered-image {
    --element-size: 36rem;
  }
}

.your-support__item-text {
  color: var(--Navy-Blue-1000);
  font-family: var(--font-primary), sans-serif;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
  letter-spacing: 0.85px;
  width: 100%;
  margin: 0 auto;
}
@media (min-width: 1200px) {
  .your-support__item-text {
    text-align: left;
    width: auto;
  }
}
@media (min-width: 1920px) {
  .your-support__item-text {
    width: 680px;
  }
}

/* ====================================================================================
  For the COMMUNITY VOICES SECTION See the separate file community-voices-carousel.css
======================================================================================= */

/* ====================================================================================
                        5.0 DECORATIVE SHAPES (MODIFIERS)
==================================================================================== */
/*
 * Base styles (.deco-shape) are in global.css.
 * These rules override 'display: none' at specific breakpoints
 * and apply unique positions & sizes for each shape in each section.

/* ----------------------------------
   5.1 "Your Support" Section Shapes
---------------------------------- */
.deco-shape--support-hex {
  display: block;
  mask-image: url(/assets/images/donate/shapes/Hex.svg);
  background-color: #5f3c9b;
  opacity: 20%;
  width: 193.307px;
  height: 194.738px;
  top: 2%;
  right: -81px;
  width: 200px;
  transform: rotate(6deg);
}

.deco-shape--support-circle {
  display: block;
  mask-image: url(/assets/images/donate/shapes/Circle.svg);
  background-color: #306852;
  opacity: 20%;
  top: 66%;
  right: -32%;
  width: 264px;
  height: 264px;
}

.deco-shape--support-triangle {
  display: block;
  mask-image: url(/assets/images/donate/shapes/Triangle.svg);
  background-color: var(--Cantelope-400);
  opacity: 20%;
  width: 400px;
  height: 400px;
  top: 20%;
  left: -40%;
}
/* The square at mobile size is actually contained in 5.2 Gradient Blur Section */
@media (min-width: 576px) {
  .deco-shape--support-hex {
    display: block;
    top: 29%;
    right: -170px;
    height: 348px;
    width: 351px;
    transform: rotate(6deg);
  }
  .deco-shape--support-square {
    display: block;
    mask-image: url(/assets/images/donate/shapes/Square.svg);
    background-color: #38499c;
    opacity: 20%;
    top: -6.5%;
    left: -79px;
    width: 255.15px;
    height: 255.15px;
    transform: rotate(0deg);
  }
  .deco-shape--support-triangle {
    display: block;
    top: 73%;
    left: -21%;
    width: 425px;
    height: 455px;
  }
}
@media (min-width: 768px) {
  .deco-shape--support-hex {
    top: 45%;
    right: -250px;
    height: 475px;
    width: 475px;
    transform: rotate(9deg);
  }

  .deco-shape--support-square {
    top: -7%;
    left: -172px;
    height: 450px;
    width: 450px;
    transform: rotate(-10deg);
  }
}
@media (min-width: 992px) {
  .deco-shape--support-hex {
    display: block;
    top: 63%;
    right: -260px;
    width: 599.854px;
    height: 604.298px;
    transform: rotate(10deg);
  }
  .deco-shape--support-square {
    display: block;
    top: -12%;
    left: -181px;
    width: 621.396px;
    height: 629.98px;
    transform: rotate(-10deg);
  }
  .deco-shape--support-triangle {
    display: none;
  }
}
@media (min-width: 1200px) {
  .deco-shape--support-square {
    display: block;
    top: -59%;
    left: -30%;
    width: 751.062px;
    height: 761.438px;
    transform: rotate(-10deg);
  }
  .deco-shape--support-hex {
    display: none;
  }
}
@media (min-width: 1400px) {
  .deco-shape--support-square {
    display: block;
    top: -30%;
    left: -15%;
    width: 619.152px;
    height: 619.152px;
    transform: rotate(0deg);
  }
}
@media (min-width: 1920px) {
  .deco-shape--support-square {
    display: block;
    top: -25%;
    left: -251.3px;
    width: 849.123px;
    height: 849.123px;
    transform: rotate(-10deg);
  }
}
/* ----------------------------------
   5.2 Donate Section Shapes
---------------------------------- */
.deco-shape--donate-square {
  display: block;
  mask-image: url(/assets/images/donate/shapes/Square.svg);
  background-color: #38499c;
  opacity: 20%;
  width: 200.248px;
  height: 203.015px;
  top: 0%;
  left: -26%;
}
@media (min-width: 576px) {
  .deco-shape--donate-square {
    display: none;
  }
}

/* ----------------------------------
   5.4 "Community Voices" Section Shapes
---------------------------------- */

.deco-shape--voices-square {
  display: none;
  mask-image: url(/assets/images/donate/shapes/Square.svg);
  background-color: #38499c;
  opacity: 20%;
  width: 275px;
  height: 275px;
  top: 49%;
  left: -42%;
}
.deco-shape--voices-circle {
  display: none;
  mask-image: url(/assets/images/donate/shapes/Circle.svg);
  background-color: #306852;
  opacity: 20%;
  top: 3%;
  right: -34%;
  height: 264px;
  width: 264px;
}
.deco-shape--voices-triangle {
  display: block;
  mask-image: url(/assets/images/donate/shapes/Triangle.svg);
  height: 250px;
  width: 250px;
  top: 28%;
  left: -37%;
  background-color: var(--Cantelope-400);
  filter: brightness(1);
  opacity: 25%;
  transform: rotate(0deg);
  z-index: 0;
}
@media (min-width: 576px) {
  .deco-shape--voices-circle {
    display: none;
  }
  .deco-shape--voices-triangle {
    height: 375px;
    width: 375px;
    top: 15%;
    left: -75%;
  }
}
@media (min-width: 768px) {
  .deco-shape--voices-hex {
    display: none;
  }
  .deco-shape--voices-square {
    display: none;
  }
  .deco-shape--voices-circle {
    display: none;
    top: 2%;
    right: -37%;
    width: 264px;
  }
  .deco-shape--voices-triangle {
    height: 507px;
    width: 507px;
    top: 6%;
    left: -39%;
  }
}
@media (min-width: 992px) {
  .deco-shape--voices-hex {
    display: none;
  }
  .deco-shape--voices-square {
    display: none;
    /* width: 621.396px;
    height: 629.98px;
    top: -4%;
    left: -19%; */
  }
  .deco-shape--voices-circle {
    display: none;
  }
  .deco-shape--voices-triangle {
    display: block;
    height: 950px;
    width: 945px;
    top: -43%;
    left: -53%;
  }
}
@media (min-width: 1200px) {
  .deco-shape--voices-hex {
    display: none;
  }
  .deco-shape--voices-square {
    display: none;
  }
  .deco-shape--voices-circle {
    display: none;
  }
  .deco-shape--voices-triangle {
    display: block;
  }
}
@media (min-width: 1400px) {
  .deco-shape--voices-hex {
    display: none;
  }
  .deco-shape--voices-square {
    display: none;
  }
  .deco-shape--voices-circle {
    display: none;
  }
  .deco-shape--voices-triangle {
    display: block;
    width: 901.463px;
    height: 982.798px;
    top: -45%;
    left: -46%;
    opacity: 38%;
  }
}
@media (min-width: 1920px) {
  .deco-shape--voices-hex {
    display: none;
  }
  .deco-shape--voices-square {
    display: none;
  }
  .deco-shape--voices-circle {
    display: none;
  }
  .deco-shape--voices-triangle {
    display: block;
    width: 1990.292px;
    height: 1697.837px;
    top: -46%;
    left: -94%;
    opacity: 30%;
  }
}
/* ----------------------------------
   5.5 "Annual Impact" Section Shapes
---------------------------------- */
/* .deco-shape--impact-hex {
  display: block;
  top: 8%;
  left: 69%;
  width: 195px;
  height: 195px;
  mask-image: url(/assets/images/donate/shapes/Hex.svg);
  background-color: #5f3c9b;
  opacity: 20%;
  transform: rotate(6deg);
} */
/* .deco-shape--impact-triangle {
  display: block;
  top: 52%;
  left: -17%;
  width: 206.16px;
  height: 224.761px;
  mask-image: url(/assets/images/donate/shapes/Triangle.svg);
  background-color: var(--Cantelope-400);
  opacity: 60%;
  transform: rotate(0deg);
} */
.deco-shape--impact-circle {
  display: block;
  mask-image: url(/assets/images/donate/shapes/Circle.svg);
  background-color: #306852;
  opacity: 20%;
  width: 264px;
  height: 264px;
  bottom: -19%;
  right: -52%;
}
@media (min-width: 576px) {
  .deco-shape--impact-hex {
    display: none;
  }
  .deco-shape--impact-triangle {
    display: none;
  }
  .deco-shape--impact-square {
    display: none;
    /* mask-image: url(/assets/images/donate/shapes/Square.svg);
    background-color: #38499c;
    opacity: 20%;
    width: 455px;
    height: 455px;
    top: 71%;
    left: -34%; */
  }
  .deco-shape--impact-circle {
    width: 475px;
    height: 475px;
    bottom: -33%;
    right: -96%;
  }
}
@media (min-width: 768px) {
  .deco-shape--impact-hex {
    display: none;
    /* TODO: Add top, left, width, etc. */
  }
  .deco-shape--impact-square {
    display: none;
    /* TODO: Add top, left, width, etc. */
  }
  .deco-shape--impact-circle {
    display: block;
    width: 650px;
    height: 650px;
    bottom: -49%;
    right: -68%;
  }
  .deco-shape--impact-triangle {
    display: none;
    /* TODO: Add top, left, width, etc. */
  }
}
@media (min-width: 992px) {
  .deco-shape--impact-hex {
    display: none;
  }
  .deco-shape--impact-square {
    display: none;
  }
  .deco-shape--impact-circle {
    display: block;
    width: 819px;
    height: 819px;
    bottom: -130%;
    right: -44%;
  }
  .deco-shape--impact-triangle {
    display: none;
  }
}
@media (min-width: 1200px) {
  .deco-shape--impact-hex {
    display: none;
  }
  .deco-shape--impact-square {
    display: none;
  }
  .deco-shape--impact-circle {
    display: block;
    mask-image: url(/assets/images/donate/shapes/Circle.svg);
    background-color: #306852;
    opacity: 20%;
    width: 990.172px;
    height: 990.172px;
    bottom: -159%;
    right: -45%;
  }
  .deco-shape--impact-triangle {
    display: none;
  }
}
@media (min-width: 1400px) {
  .deco-shape--impact-hex {
    display: none;
  }
  .deco-shape--impact-square {
    display: none;
  }
  .deco-shape--impact-circle {
    display: block;
  }
  .deco-shape--impact-triangle {
    display: none;
  }
}
@media (min-width: 1920px) {
  .deco-shape--impact-hex {
    display: none;
  }
  .deco-shape--impact-square {
    display: none;
  }
  .deco-shape--impact-circle {
    display: block;
    width: 1583px;
    height: 1583px;
    bottom: -141%;
    right: -46%;
  }
  .deco-shape--impact-triangle {
    display: none;
  }
}
/* ==========================================================================
                        6.0 ANNUAL IMPACT SECTION
==========================================================================  */
.annual-impact-section {
  width: 280px;
  display: flex;
  flex-direction: column;
  position: relative;
  margin: 6rem auto 0 auto;
}
@media (min-width: 576px) {
  .annual-impact-section {
    width: 333px;
  }
}
@media (min-width: 768px) {
  .annual-impact-section {
    width: 491px;
  }
}
@media (min-width: 992px) {
  .annual-impact-section {
    margin: 18rem auto 8rem auto;
    width: 825px;
  }
}
@media (min-width: 1200px) {
  .annual-impact-section {
    margin-top: 18rem;
    margin-bottom: 12rem;
    width: 1020px;
  }
}
@media (min-width: 1400px) {
  .annual-impact-section {
    margin-top: 18rem;
    width: 1200px;
  }
}
@media (min-width: 1920px) {
  .annual-impact-section {
    margin-top: 18rem;
    width: 1620px;
  }
}
/* 6.1 Layout & Title */

.impact-color-bar {
  display: flex;
  width: 260px;
  height: 0.5rem;
  padding: 0;
  margin: 0 auto;
}
@media (min-width: 768px) {
  .impact-color-bar {
    width: 250px;
  }
}
@media (min-width: 1200px) {
  .impact-color-bar {
    width: 300px;
  }
}
@media (min-width: 1920px) {
  .impact-color-bar {
    width: 660px;
  }
}
.impact-color-bar .blue,
.impact-color-bar .green,
.impact-color-bar .purple,
.impact-color-bar .yellow {
  width: 25%;
}

.annual-impact-section .annual-impact__title {
  color: var(--Navy-Blue-1000);
  text-align: center;
  font-family: var(--font-primary), sans-serif;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  letter-spacing: 1.25px;
  margin-top: 2rem;
}
@media (min-width: 768px) {
  .annual-impact-section .annual-impact__title {
    margin-top: 2rem;
  }
}

.annual-impact-content-wrapper {
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  width: 100%;
}
@media (min-width: 992px) {
  .annual-impact-content-wrapper {
    /* flex-direction: row; */
    height: 700px;
    width: 538px;
    margin: 0 auto;
  }
}
@media (min-width: 1200px) {
  .annual-impact-content-wrapper {
    width: 648px;
  }
}
@media (min-width: 1400px) {
  .annual-impact-content-wrapper {
    flex-direction: row;
    width: 1178px;
    margin-top: 4rem;
  }
}
@media (min-width: 1920px) {
  .annual-impact-content-wrapper {
    margin-top: 20rem;
    height: 750px;
    width: 1620px;
  }
}
/* 6.2 Typography */
.annual-impact-content-text-wrapper {
  width: 100%;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .annual-impact-content-text-wrapper {
    width: 325px;
    margin-bottom: 5rem;
  }
}
@media (min-width: 1200px) {
  .annual-impact-content-text-wrapper {
    width: 488px;
    margin: 0 auto;
  }
}
@media (min-width: 1920px) {
  .annual-impact-content-text-wrapper {
    width: 716px;
  }
}
.annual-impact__text {
  width: 100%;
  color: var(--Navy-Blue-1000);
  font-family: var(--font-primary), sans-serif;
  font-style: normal;
  font-weight: 500;
  line-height: 20px;
  letter-spacing: 0.7px;
  margin: 3rem auto 0 auto;
}
@media (min-width: 576px) {
  .annual-impact__text {
    width: 22rem;
  }
}
@media (min-width: 768px) {
  .annual-impact__text {
    width: 27.1rem;
    line-height: 26px; /* 144.444% */
    letter-spacing: 0.9px;
  }
}
@media (min-width: 992px) {
  .annual-impact__text {
    margin-top: 3rem;
  }
}
@media (min-width: 1200px) {
  .annual-impact__text {
    width: 40.5rem;
    line-height: 28px; /* 127.273% */
    letter-spacing: 1.1px;
  }
}
@media (min-width: 1400px) {
  .annual-impact__text {
    width: 40.3rem;
    margin: 0;
  }
}
@media (min-width: 1920px) {
  .annual-impact__text {
    width: 52rem;
    line-height: 35px; /* 145.833% */
    letter-spacing: 1.2px;
  }
}

.annual-impact__button {
  /* Layout Styles */
  display: flex;
  height: 45px;
  min-height: 44px;
  max-height: 85px;
  max-width: 267px;
  padding: 0 8px;
  justify-content: center;
  align-items: center;
  margin: 3rem auto;

  /* Border Styles */
  border-radius: 6px;
  border: 1.25px solid var(--Navy-Blue-1000);

  /* Font Styles */
  color: var(--Navy-Blue-1000);
  font-family: "Barlow Condensed";
  font-style: normal;
  font-weight: 400;
  line-height: 23.528px;
  letter-spacing: 0.733px;
  text-transform: uppercase;
  text-decoration: none;
  transition:
    background-color 0.2s,
    color 0.2s;
}
.annual-impact__button:hover {
  background-color: var(--Navy-Blue-1000);
  color: var(--Neutral-Indigo-100);
}
@media (min-width: 768px) {
  .annual-impact__button {
    font-style: normal;
    line-height: 26.528px;
    max-width: 390px;
  }
}
@media (min-width: 1200px) {
  .annual-impact__button {
    line-height: 26.528px;
    margin: 4rem 6rem 4rem 0;
  }
}
@media (min-width: 1400px) {
  .annual-impact__button {
    margin: 4rem 0;
    max-width: 425px;
  }
}
@media (min-width: 1920px) {
  .annual-impact__button {
    width: fit-content;
    padding: 1.75rem 1.25rem;
  }
}
/* 6.3 Pie Chart */
.annual-impact-content-graphic-wrapper {
  width: 100%;
  height: 450px;
  z-index: 2;
  margin: 0 auto;
  position: relative;
}
@media (min-width: 576px) {
  .annual-impact-content-graphic-wrapper {
    width: 335px;
  }
}
@media (min-width: 768px) {
  .annual-impact-content-graphic-wrapper {
    width: 491px;
    margin-top: 2rem;
  }
}
@media (min-width: 992px) {
  .annual-impact-content-graphic-wrapper {
    height: 700px;
    width: 458px;
    /* margin: 0; */
  }
}
@media (min-width: 1200px) {
  .annual-impact-content-graphic-wrapper {
    width: 648px;
    margin-top: 4rem;
  }
}
@media (min-width: 1400px) {
  .annual-impact-content-graphic-wrapper {
    width: 595px;
  }
}
@media (min-width: 1920px) {
  .annual-impact-content-graphic-wrapper {
    width: 815px;
  }
}

.annual-impact-pie-chart {
  width: 210px;
  height: 210px;
  border-radius: 50%;
  margin: 0 auto;
  background: conic-gradient(
    /* Slice 1. 10.7% Administration */ #ccd0e6 0% 10.7%,
    /* Slice 2. 21.4% Fundraising (10.7 + 21.4 = 32.1%) */ #adb4d6 10.7% 32.1%,
    /* Slice 3. 67.9% Programs (32.1 + 67.9 = 100%) */ #8f99c8 32.1% 100%
  );
  transform: rotate(-26deg);
}
/* @media (min-width: 576px) {
  .annual-impact-pie-chart {
    position: absolute;
    top: 10%;
    left: 0%;
  }
} */
@media (min-width: 768px) {
  .annual-impact-pie-chart {
    width: 306.992px;
    height: 306.992px;
    position: absolute;
    top: -10%;
    left: -0;
  }
}
@media (min-width: 992px) {
  .annual-impact-pie-chart {
    width: 306.992px;
    height: 306.992px;
    top: 0%;
    right: 21%;
  }
}
@media (min-width: 1200px) {
  .annual-impact-pie-chart {
    width: 341.102px;
    height: 341.102px;
    top: 0%;
    right: 30%;
  }
}
/* @media (min-width: 1400px) {
  .annual-impact-pie-chart {
    width: 421.113px;
    height: 421.113px;
    top: 10%;
  }
} */
@media (min-width: 1920px) {
  .annual-impact-pie-chart {
    width: 584.88px;
    height: 584.88px;
    left: 0%;
  }
}

/* 6.4 Legend */
.pie-chart-legend {
  list-style: none;
  display: flex;
  flex-direction: column; /* Stacks the buttons vertically */
  align-items: center; /* Centers the buttons horizontally */
  width: 100%; /* Ensures the container spans the full width */
  padding: 0; /* Resets default list padding */
  gap: 1.5rem;
}
.pie-chart-legend span {
  font-weight: 700;
}

.pie-chart-legend li {
  border-radius: 0.67rem;
  padding: 0.5rem 1.5rem;
  box-sizing: border-box;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.45rem;
  /* Font Styles */
  color: var(--font-color-body);
  font-family: "Barlow Condensed";
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  letter-spacing: 0.002rem;
  text-transform: uppercase;
  width: 200px;
  height: 29px;
}
@media (min-width: 768px) {
  .pie-chart-legend li {
    width: 215px;
    border-radius: 1.925rem;
  }
}
@media (min-width: 1200px) {
  .pie-chart-legend li {
    width: 279px;
    height: 41px;
  }
}
@media (min-width: 1920px) {
  .pie-chart-legend li {
    border-radius: 3.7rem;
    padding: 2rem;
    height: 55px;
  }
}

/* * NOTE: This absolute positioning is very fragile.
 * A future refactor could use CSS Grid to make this
 * layout responsive without breakpoint-specific nudging.
 */
.annual-impact-pie-chart-programs {
  background-color: #8f99c8;
}
/* @media (min-width: 576px) {
  .annual-impact-pie-chart-programs {
    position: absolute;
    top: 42%;
    right: -7%;
  }
} */
@media (min-width: 768px) {
  .annual-impact-pie-chart-programs {
    position: absolute;
    top: 42%;
    right: -4%;
  }
}
@media (min-width: 992px) {
  .annual-impact-pie-chart-programs {
    top: 74%;
    right: -20%;
  }
}
@media (min-width: 1200px) {
  .annual-impact-pie-chart-programs {
    top: 79%;
    right: -4%;
  }
}
@media (min-width: 1920px) {
  .annual-impact-pie-chart-programs {
    top: 70%;
    right: 22%;
  }
}
@media (min-width: 1400px) {
  .annual-impact-pie-chart-programs {
    top: 36%;
    right: -9%;
  }
}
@media (min-width: 1920px) {
  .annual-impact-pie-chart-programs {
    top: 53%;
    right: -6%;
  }
}
.annual-impact-pie-chart-fundraising {
  background-color: #adb4d6;
}
/* @media (min-width: 576px) {
  .annual-impact-pie-chart-fundraising {
    position: absolute;
    top: 17%;
    right: -6%;
  }
} */
@media (min-width: 768px) {
  .annual-impact-pie-chart-fundraising {
    position: absolute;
    top: 5%;
    right: -6%;
  }
}
@media (min-width: 992px) {
  .annual-impact-pie-chart-fundraising {
    top: 61px;
    right: -20%;
  }
}
@media (min-width: 1200px) {
  .annual-impact-pie-chart-fundraising {
    top: 18%;
    right: -3%;
  }
}
@media (min-width: 1400px) {
  .annual-impact-pie-chart-fundraising {
    top: 8%;
    right: -9%;
  }
}
@media (min-width: 1920px) {
  .annual-impact-pie-chart-fundraising {
    top: 11%;
    right: -2%;
  }
}
.annual-impact-pie-chart-administration {
  background-color: #ccd0e6;
}
/* @media (min-width: 576px) {
  .annual-impact-pie-chart-administration {
    position: absolute;
    top: 0%;
    right: 14%;
  }
} */
@media (min-width: 768px) {
  .annual-impact-pie-chart-administration {
    position: absolute;
    top: -20%;
    right: 32%;
  }
}
@media (min-width: 992px) {
  .annual-impact-pie-chart-administration {
    top: -16%;
    right: 20%;
  }
}
@media (min-width: 1200px) {
  .annual-impact-pie-chart-administration {
    top: -20%;
    right: 28%;
  }
}
@media (min-width: 1400px) {
  .annual-impact-pie-chart-administration {
    top: -9%;
    right: 25%;
  }
}
@media (min-width: 1920px) {
  .annual-impact-pie-chart-administration {
    top: -11%;
    right: 36%;
  }
}

.chart-title {
  width: 18rem;
  color: var(--Navy-Blue-1000);
  font-family: var(--font-primary), sans-serif;
  text-align: center;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  letter-spacing: 0.05313rem;
  margin: 1.5rem auto;
}
@media (min-width: 576px) {
  .chart-title {
    width: 18.375rem;
  }
}
@media (min-width: 768px) {
  .chart-title {
    width: 20.775rem;
    position: absolute;
    top: 60%;
    left: 6%;
  }
}
@media (min-width: 992px) {
  .chart-title {
    top: 110%;
    left: 15%;
  }
}
@media (min-width: 1200px) {
  .chart-title {
    width: 25.775rem;
    left: 13%;
  }
}
@media (min-width: 1400px) {
  .chart-title {
    top: 50%;
    left: 10%;
  }
}
@media (min-width: 1621px) {
  .chart-title {
    width: 27.775rem;
  }
}
@media (min-width: 1920px) {
  .chart-title {
    width: 28.3rem;
    top: 85%;
    left: 15%;
  }
}

@media (min-width: 1200px) {
  .annual-impact__text {
    width: 40.3rem;
    margin-top: 5rem;
  }
}
@media (min-width: 1920px) {
  .annual-impact__text {
    width: 58.3rem;
  }
}
/* Quick fix for the margin-collapse on this page's footer */
.page-donate .halftone-wrapper {
  margin-top: -1px;
}
