/* =================================================================== */
/* PAGE:      Donations Page                                           */
/* FILE:      donate-women-theme.css                                   */
/* =================================================================== */

/* 1.0 GLOBAL HIDING & RESET
   ========================================================================== */
.hero__title--winter-holiday,
.hero__title--new-year,
.hero__new-year-text-link,
.hero__subtitle-two--new-year,
.donate-section__title--default,
.donate-section__subtitle,
.donate-section__title--winter-holiday,
.donate-section__title--new-year,
.donate-section__winter-image,
.donate-section__new-year-image,
.donate-section__subtitle--new-year,
.donate-section__button--new-year,
.winter-snowflake,
.new-year-fireworks,
.hero__top-fade,
.hero-bg-img__fade-in,
.donate-section-wm {
  display: none;
}

/* Surgical hide for other themes when Women Theme is active */
body.theme-women .donate-section,
body.theme-women .hero [class*="--default"],
body.theme-women .hero [class*="--winter-holiday"],
body.theme-women .hero [class*="--new-year"],
body.theme-women .hero [class*="--giving-tuesday"] {
  display: none !important;
}

body.theme-women .donate-section-wm,
body.theme-women .donate-section__button--women {
  display: flex !important;
}

/* 2.0 SHARED THEME ACCENTS (Colors, Gradients, Charts)
   ========================================================================== */
body.theme-women .c-layered-image__bg {
  background: linear-gradient(
    135deg,
    #fedeff 34.82%,
    #fd85ff 51.96%,
    #bd52bf 69.1%,
    #7d307f 86.23%
  );
}
body.theme-women .carousel-arrow path {
  fill: #813383;
}
body.theme-women .carousel-counter {
  color: #813383;
}
body.theme-women .layered-image__bg {
  border: 1.25px solid #652a5d;
  background: linear-gradient(
    180deg,
    rgba(151, 68, 139, 0.4) 0%,
    rgba(151, 68, 139, 0.2) 100%
  );
}
body.theme-women .annual-impact-pie-chart {
  background: conic-gradient(
    #de89d2 0% 10.7%,
    #bb63ae 10.7% 32.2%,
    #97448b 32.2% 100%
  ) !important;
  transform: rotate(-27deg);
}
body.theme-women .annual-impact-pie-chart-operations {
  background-color: #de89d2;
}
body.theme-women .annual-impact-pie-chart-events {
  background-color: #bb63ae;
}
body.theme-women .annual-impact-pie-chart-projects {
  background-color: #97448b;
}

body.theme-women .donate-section__fade-in,
body.theme-women .donate-section__fade-out {
  background: linear-gradient(
    180deg,
    rgba(101, 42, 93, 0) 0%,
    #652a5d 100%
  ) !important;
}
body.theme-women .donate-section__fade-out {
  transform: rotate(180deg);
}

/* 3.0 HERO SECTION
   ========================================================================== */
body.theme-women .hero {
  display: flex;
  flex-direction: column;
  min-height: unset;
  background-color: #652a5d;
  padding-top: 0;
  padding-bottom: 0;
}

body.theme-women .hero__top-fade {
  display: flex;
  position: absolute;
  z-index: 12;
  width: 100%;
  height: 73px;
  background: linear-gradient(
    180deg,
    rgba(55, 12, 56, 0.65) 25%,
    rgba(55, 12, 56, 0) 100%
  );
  backdrop-filter: blur(0.897009551525116px);
}

body.theme-women h1.hero__title--text {
  margin: 0;
}

body.theme-women .hero__content {
  margin-top: 0;
  padding-top: 6rem;
  height: auto;
}

body.theme-women h2.hero__subtitle {
  margin: 0;
  position: absolute;
  bottom: -65%;
}

/* Hero Background Handling */
body.theme-women .hero__bg-layer {
  position: relative !important;
  top: auto !important;
  left: auto !important;
  width: 100% !important;
  height: auto !important;
  order: 10;
}

body.theme-women .hero__bg-item--women {
  display: block;
  position: relative;
  width: 100%;
  height: auto;
  order: 10;
}

body.theme-women .hero__bg-item--women picture,
body.theme-women .hero__bg-item--women img {
  display: block;
  width: 100% !important;
  height: auto !important;
}
@media (min-width: 1400px) {
  body.theme-women .hero__bg-item--women picture,
  body.theme-women .hero__bg-item--women img {
    background-color: var(--Neutral-Indigo-100);
  }
}
/* Hero Responsive Breakpoints */
@media (min-width: 576px) {
  body.theme-women h2.hero__subtitle {
    bottom: -50%;
    width: 557px;
  }
}
@media (min-width: 768px) {
  body.theme-women .hero__top-fade {
    height: 94px;
  }
  body.theme-women h2.hero__subtitle {
    bottom: -66%;
    width: 556px;
  }
}
@media (min-width: 992px) {
  body.theme-women .hero__top-fade {
    height: 102px;
  }
  body.theme-women h2.hero__subtitle {
    bottom: -82%;
    width: 655px;
  }
}
@media (min-width: 1200px) {
  body.theme-women h2.hero__subtitle {
    width: 1089px;
    bottom: -102%;
  }
}
@media (min-width: 1400px) {
  body.theme-women .hero {
    display: grid !important;
    min-height: 1500px;
    grid-template-columns: auto auto auto 1fr;
    grid-template-areas: "title title" ". widget" "subtitle ." ". .";
    align-items: start;
  }
  body.theme-women .hero__bg-layer {
    grid-area: 1 / 1 / -1 / -1 !important;
    position: absolute !important;
    top: 0 !important;
    width: 100% !important;
    height: 100% !important;
    z-index: 1 !important;
  }
  body.theme-women .hero__bg-item--women,
  body.theme-women .hero__bg-item--women img {
    height: 100% !important;
    object-fit: cover !important;
    position: absolute !important;
    top: 0;
    left: 0;
  }
  body.theme-women .hero__top-fade {
    grid-area: 1 / 1 / 2 / -1;
    position: absolute;
    top: 0;
  }
  body.theme-women .hero__content {
    grid-area: 1 / 1 / -1 / -1;
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    grid-template-areas: "title title" ". widget" "subtitle .";
    z-index: 2;
    pointer-events: none;
    padding-top: 8rem;
  }
  body.theme-women h1.hero__title--text {
    grid-area: title;
    justify-self: center;
    pointer-events: auto;
  }
  body.theme-women .hero__widget-container {
    grid-area: widget;
    justify-self: center;
    pointer-events: auto;
  }
  body.theme-women h2.hero__subtitle {
    grid-area: subtitle;
    position: static !important;
    margin-top: 2rem;
    margin-left: 6rem;
    width: 563px;
    pointer-events: auto;
  }
  body.theme-women .donation-wrapper--floating {
    top: 21rem;
  }
}
@media (min-width: 1920px) {
  body.theme-women .hero {
    min-height: 1800px;
  }
  body.theme-women h1.hero__title--text {
    width: 1713px;
  }
  body.theme-women h2.hero__subtitle {
    width: 759px;
  }
}

/* 4.0 DONATE SECTION (WM)
   ========================================================================== */
.donate-section-wm {
  background-color: #652a5d;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 4rem 0;
  overflow: hidden;
  position: relative;
}

.donate-section-wm__content {
  display: contents;
}

.donate-section-wm__title {
  order: 1;
  color: var(--Neutral-Indigo-100);
  font-family: "Grift", sans-serif !important;
  font-size: 2.27833rem !important;
  font-weight: 700;
  letter-spacing: 1.367px;
  margin-bottom: 6rem;
  max-width: 232px;
}

.donate-section-wm__widget-container {
  order: 2;
  width: 100%;
}

.donate-section-wm__bg-image-wrapper {
  order: 3;
  width: 100%;
  margin-top: 2rem;
  display: block;
}
.donate-section-wm__image {
  width: 100%;
  height: auto;
  display: block;
}

/* Buttons & Invitationals */
.donate-section-wm__button,
body.theme-women .donate-section__button--women {
  color: var(--Neutral-Indigo-100);
  font-family: "Grift", sans-serif !important;
  font-size: 2.27833rem !important;
  font-weight: 700;
  text-decoration: underline;
  text-align: center;
  letter-spacing: 1.367px;
  order: 4;
  width: 207px;
  display: inline-block;
}

/* Timer Styles */
.donate-section-wm__timer {
  order: 5;
  width: 120px;
  margin: 2rem 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;
}
.donate-section-wm__timer-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1rem;
  min-width: 80px;
}
.donate-section-wm__timer-value {
  font-family: "Barlow", sans-serif;
  font-weight: 800;
  font-size: 6.2rem !important;
  line-height: 1;
  color: #fff;
}
.donate-section-wm__timer-label {
  font-family: "Grift", sans-serif;
  font-size: 1.2rem !important;
  text-transform: uppercase;
  margin-top: 0.5rem;
  color: #fff;
}

.donate-section-wm__invitational {
  grid-area: invitational;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  order: 4;
}

/* Donate Section Responsive Breakpoints */
@media (min-width: 576px) {
  .donate-section-wm__title {
    max-width: 502px;
  }
  .donate-section-wm__button,
  body.theme-women .donate-section__button--women {
    width: 349px;
    margin-top: -6rem;
  }
  .donate-section-wm__timer {
    flex-direction: row;
    width: 347px;
    gap: 1.5rem;
    padding: 0 1rem;
    margin-top: 2rem;
  }
}

@media (min-width: 768px) {
  .donate-section-wm__title {
    font-size: 2.93rem !important;
    max-width: 633px;
  }
  .donate-section-wm__button {
    font-size: 2.93rem !important;
    width: 458px;
    margin-top: -6rem;
  }
  .donate-section-wm__timer {
    width: 475px;
    gap: 3rem;
  }
  .donate-section-wm__timer-value {
    font-size: 7.25rem !important;
  }
  .donate-section-wm__timer-label {
    font-size: 1.65rem !important;
  }
}

@media (min-width: 992px) {
  .donate-section-wm__title {
    max-width: 866px;
  }
  .donate-section-wm__button {
    margin-top: -9rem;
  }
}

@media (min-width: 1200px) {
  body.theme-women .donate-section-wm {
    display: grid !important;
    grid-template-areas: "title" "widget" "invitational";
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    align-items: start;
    justify-items: center;
    min-height: 1600px;
  }
  .donate-section-wm__content {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    pointer-events: none;
  }
  .donate-section-wm__bg-image-wrapper {
    position: absolute;
    top: 15%;
    right: 0;
    z-index: 1;
    margin: 0;
  }
  .donate-section-wm__image {
    object-fit: contain;
    object-position: right bottom;
  }
  .donate-section-wm__title,
  .donate-section-wm__widget-container,
  .donate-section-wm__button,
  .donate-section-wm__timer {
    pointer-events: auto;
    max-width: 1049px;
    text-align: left;
    margin-left: 0;
    order: unset;
  }
  .donate-section-wm__title {
    grid-area: title;
    margin: 0 auto -12rem auto;
    font-size: 3.580833rem !important;
    letter-spacing: 2.149px;
    max-width: 1040px;
  }
  .donate-section-wm__widget-container {
    grid-area: widget;
    z-index: 10;
    margin-left: 3%;
  }
  .donate-section-wm__widget-container .donation-widget {
    margin: 8rem 0 0 -5rem;
  }
  .donate-section__button--women {
    z-index: 10;
    margin-top: -20rem;
  }
  .donate-section-wm__button,
  body.theme-women .donate-section__button--women {
    display: block;
    margin: -23rem auto 2rem auto;
    text-align: center;
  }
  .donate-section-wm__timer {
    width: 484.193px;
    z-index: 10;
  }
  .donate-section-wm__timer-value {
    font-size: 8.25rem !important;
  }
  .donate-section-wm__timer-label {
    font-size: 1.85rem !important;
  }

  .donate-section-wm__invitational {
    display: flex !important;
    pointer-events: auto;
    margin-top: -5rem;
  }
}

/* @media (min-width: 1400px) {
  body.theme-women .donation-widget {
    margin: 2rem 0 0 6rem;
  }
  .donate-section-wm__content {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    grid-template-areas: "text text" "widget link" "widget timer";
    column-gap: 2rem;
    row-gap: 1rem;
    max-width: 1350px;
    margin: 0 auto;
  }
  .donate-section-wm__title {
    grid-area: text;
    max-width: 1240px;
    width: 1240px;
    margin: 4rem auto 12rem auto;
  }
  .donate-section-wm__widget-container {
    grid-area: widget;
  }
  .donate-section-wm__button {
    grid-area: link;
    justify-self: start;
    margin-top: 65rem;
  }
  .donate-section-wm__timer {
    grid-area: timer;
    justify-self: center;
    margin-left: 8rem;
    margin-top: 0;
    align-self: center;
  }
} */
@media (min-width: 1400px) {
  /* 1. Grid Setup */
  .donate-section-wm__content {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "text text"
      "widget invitational";
    column-gap: 4rem;
    max-width: 1350px;
    margin: 0 auto;
    align-items: start;
  }

  /* 2. Headline */
  .donate-section-wm__title {
    grid-area: text;
    text-align: center;
    margin: 4rem 0 8rem 0; /* Increased bottom margin to push content down */
    width: 100%;
    max-width: 100%;
  }

  /* 3. The Donation Widget (Left Side) */
  .donate-section-wm__widget-container {
    grid-area: widget;
    justify-self: end;
    margin-top: 0; /* Reset any previous top margins */
    width: 48.1667rem;
    margin-left: 0;
  }

  /* 4. The Invitational (Right Side - Link & Timer) */
  .donate-section-wm__invitational {
    grid-area: invitational;
    display: flex !important;
    flex-direction: column !important; /* Forces the stack: Link then Timer */
    align-items: center; /* Centers them relative to each other */
    /* justify-self: start; */
    margin-top: 76rem; /* Adjust this to move the whole stack down */
    gap: 2rem;
  }

  /* 5. Reseting the "Reverse" order and mobile margins */
  .donate-section-wm__button,
  body.theme-women .donate-section__button--women {
    order: 0 !important; /* Neutralizes the mobile 'order: 4' */
    margin: 0 !important;
    width: auto;
    font-size: 2.5rem !important;
    display: block;
  }

  .donate-section-wm__timer {
    order: 1 !important; /* Neutralizes the mobile 'order: 5' */
    margin: 0 !important;
    width: 480px; /* Matching timer box size from mockup */
  }

  /* 6. Widget Specific Reset */
  body.theme-women .donation-widget {
    margin: 0 !important; /* Removes the 6rem margin that was pushing it left/top */
  }
}
@media (min-width: 1920px) {
  body.theme-women .hero__widget-container {
    min-width: 57.91667rem;
    width: 57.91667rem;
    max-width: 57.91667rem;
    margin-top: 7rem;
    margin: 7rem auto 0 auto;
  }
  body.theme-women .donation-wrapper--floating {
    top: 21rem;
    min-width: 57.91667rem;
    width: 57.91667rem;
    max-width: 57.91667rem;
  }
  .donate-section-wm__content,
  .donate-section-wm__title {
    max-width: 1661px;
  }
  .donate-section-wm__title {
    font-size: 3.90667rem !important;
    margin: 4rem auto 0 auto;
  }
  .donate-section-wm__widget-container {
    width: 57.91667rem;
    align-self: end;
    justify-self: start;
  }
  .donate-section-wm__invitational {
    margin-top: 85rem;
  }
  .donate-section-wm__button {
    margin-top: 70rem;
    font-size: 3.90667rem !important;
    width: 550px;
  }
  .donate-section-wm__timer {
    margin: 0;
    align-self: end;
    justify-self: center;
    width: 675px;
    justify-content: space-evenly;
  }
  .donate-section-wm__timer-value {
    font-size: 10.35rem !important;
  }
  .donate-section-wm__timer-label {
    font-size: 2.35rem !important;
  }
}

/* Make the footer magenta */

body.theme-women .footer {
  background-color: #652a5d;
}
/* Update the blue-blur to match the magenta theme */
body.theme-women .footer .blue-blur {
  background-color: #652a5d;
}
body.theme-women .footer .white-blur {
  opacity: 0.5;
}
