/* ============================================================
   Take Action Page
   ============================================================ */

.ta-page {
  background: var(--cream);
}


/* HERO */
.ta-hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.ta-hero-bg {
  position: absolute;
  inset: 0;
}

.ta-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
}

.ta-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(11, 10, 8, .15) 0%,
    rgba(11, 10, 8, .2) 40%,
    rgba(11, 10, 8, .65) 70%,
    rgba(11, 10, 8, .95) 100%
  );
}

.ta-hero-inner {
  position: relative;
  z-index: 2;
  max-width: var(--wide);
  margin: 0 auto;
  padding: 0 max(2rem, 5vw) 5rem;
}

.ta-hero-eyebrow {
  font-size: var(--label-size);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: rgba(255, 255, 255, .6);
  margin-bottom: .8rem;
}

.ta-hero-heading {
  font-family: var(--display);
  font-size: clamp(2.4rem, 5.5vw, 3.8rem);
  font-weight: 700;
  line-height: 1.06;
  color: #fff;
  max-width: 640px;
  margin-bottom: 1.2rem;
  letter-spacing:-.03em;
  text-wrap: balance;
}

.ta-hero-sub {
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  line-height: 1.7;
  color: rgba(255, 255, 255, .7);
  max-width: 520px;
  margin-bottom: 2.2rem;
}

.ta-hero-btns {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}


/* BUTTONS */
.ta-btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--font);
  font-size: .85rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 100px;
  padding: .75rem 1.6rem;
  transition: all .25s var(--ease);
  cursor: pointer;
}

.ta-btn--white {
  background: #fff;
  color: var(--text-1);
}

.ta-btn--white:hover {
  background: var(--warm);
  color: var(--text-1);
  transform: translateY(-1px);
}

.ta-btn--outline {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .3);
}

.ta-btn--outline:hover {
  background: rgba(255, 255, 255, .1);
  color: #fff;
  border-color: rgba(255, 255, 255, .5);
}

.ta-btn--danger {
  background: var(--danger);
  color: #fff;
  border: none;
}

.ta-btn--danger:hover {
  background: #b53429;
  color: #fff;
  transform: translateY(-1px);
}


/* SECTION HEADING */
.ta-section-heading {
  font-size: var(--h2-size);
  font-weight: 800;
  color: var(--text-1);
  margin-bottom: .5rem;
}


/* THE CRISIS */
.ta-crisis {
  padding: 5rem 0 4rem;
}

.ta-crisis-inner {
  max-width: var(--wide);
  margin: 0 auto;
  padding: 0 max(2rem, 5vw);
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 4rem;
  align-items: start;
}

.ta-crisis-heading {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--text-1);
  margin-bottom: 1.5rem;
}

.ta-crisis-text p {
  font-size: 1rem;
  line-height: 1.85;
  color: var(--text-2);
  margin-bottom: 1.4rem;
}

.ta-crisis-text a {
  color: var(--forest);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid var(--forest);
}

.ta-crisis-text a:hover {
  color: var(--forest-hover);
}

.ta-crisis-stats {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  position: sticky;
  top: calc(var(--nav-h) + 2rem);
}

.ta-stat {
  background: var(--warm);
  border-radius: var(--radius-lg);
  padding: 1.6rem 1.8rem;
}

.ta-stat-num {
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  font-weight: 800;
  color: var(--danger);
  line-height: 1;
  margin-bottom: .35rem;
}

.ta-stat-label {
  font-size: .78rem;
  color: var(--text-3);
  line-height: 1.4;
}


/* PHOTO BREAK */
.ta-photo-break {
  position: relative;
  width: 100%;
  height: 50vh;
  min-height: 320px;
  overflow: hidden;
}

.ta-photo-break img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}

.ta-photo-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem max(2rem, 5vw);
  background: linear-gradient(to top, rgba(0,0,0,.6), transparent);
  font-size: .75rem;
  color: rgba(255, 255, 255, .7);
  letter-spacing: .02em;
}


/* THREATS */
.ta-threats {
  padding: 5rem 0;
  background: var(--deep);
}

.ta-threats-inner {
  max-width: var(--wide);
  margin: 0 auto;
  padding: 0 max(2rem, 5vw);
}

.ta-threats .ta-section-heading {
  color: #fff;
  margin-bottom: 2.5rem;
}

.ta-threat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.ta-threat-card {
  background: rgba(255, 255, 255, .04);
  border-radius: var(--radius-lg);
  padding: 2rem 1.6rem;
  border: 1px solid rgba(255, 255, 255, .08);
  border-top: 3px solid var(--danger);
}

.ta-threat-num {
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .1em;
  color: var(--danger);
  margin-bottom: 1rem;
}

.ta-threat-title {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: .6rem;
}

.ta-threat-desc {
  font-size: .85rem;
  color: rgba(255, 255, 255, .5);
  line-height: 1.7;
}

/* Lede that replaced the four threat cards when they moved to /issues/ (2026-08-13) */
.ta-threats-lede {
  max-width: 68ch;
  margin: 0 auto 2.25rem;
  text-align: center;
  font-size: 1.05rem;
  line-height: 1.65;
}

.ta-threats-cta {
  text-align: center;
  display: flex;
  flex-wrap: wrap;
  gap: .85rem;
  justify-content: center;
}


/* ACTION CARDS */
.ta-actions {
  padding: 5rem 0;
}

.ta-actions-inner {
  max-width: var(--wide);
  margin: 0 auto;
  padding: 0 max(2rem, 5vw);
}

.ta-actions-header {
  max-width: 520px;
  margin-bottom: 2.5rem;
}

.ta-actions-sub {
  font-size: 1rem;
  color: var(--text-3);
  line-height: 1.7;
  margin-top: .5rem;
}

.ta-action-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.ta-action-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-decoration: none;
  border: 1px solid rgba(0, 0, 0, .06);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}

.ta-action-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, .08);
}

.ta-action-card-content {
  padding: 2.2rem 2rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

/* Featured card with background image */
.ta-action-card--featured {
  grid-column: span 2;
  min-height: 320px;
  border: none;
}

.ta-action-card--featured .ta-action-card-bg {
  position: absolute;
  inset: 0;
}

.ta-action-card--featured .ta-action-card-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease);
}

.ta-action-card--featured:hover .ta-action-card-bg img {
  transform: scale(1.03);
}

.ta-action-card--featured .ta-action-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(11, 10, 8, .85) 0%,
    rgba(11, 10, 8, .6) 50%,
    rgba(11, 10, 8, .3) 100%
  );
}

.ta-action-card--featured .ta-action-card-content {
  position: relative;
  z-index: 2;
  justify-content: flex-end;
}

.ta-action-card--featured .ta-action-num {
  color: rgba(255, 255, 255, .4);
}

.ta-action-card--featured .ta-action-title {
  color: #fff;
  font-size: 1.4rem;
}

.ta-action-card--featured .ta-action-desc {
  color: rgba(255, 255, 255, .6);
  max-width: 400px;
}

.ta-action-card--featured .ta-action-link {
  color: #fff;
  background: var(--danger);
  padding: .5rem 1.4rem;
  border-radius: 100px;
  align-self: flex-start;
}

.ta-action-card--featured:hover .ta-action-link {
  background: #b53429;
}

.ta-action-num {
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .1em;
  color: var(--text-4);
  margin-bottom: .8rem;
}

.ta-action-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-1);
  margin-bottom: .5rem;
}

.ta-action-desc {
  font-size: .88rem;
  color: var(--text-3);
  line-height: 1.7;
  margin-bottom: auto;
  padding-bottom: 1.2rem;
}

.ta-action-link {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .82rem;
  font-weight: 600;
  color: var(--forest);
  transition: gap .2s var(--ease);
}

.ta-action-card:hover .ta-action-link {
  gap: .65rem;
}


/* PHOTO CTA */
.ta-photo-cta {
  position: relative;
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.ta-photo-cta-bg {
  position: absolute;
  inset: 0;
}

.ta-photo-cta-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 60%;
}

.ta-photo-cta-overlay {
  position: absolute;
  inset: 0;
  background: rgba(11, 10, 8, .65);
}

.ta-photo-cta-inner {
  position: relative;
  z-index: 2;
  max-width: 640px;
  text-align: center;
  padding: 5rem 2rem;
}

.ta-photo-cta-heading {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 1.2rem;
}

.ta-photo-cta-text {
  font-size: .95rem;
  color: rgba(255, 255, 255, .6);
  line-height: 1.75;
  margin-bottom: 2rem;
}

.ta-photo-cta-btns {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}


/* RESPONSIVE */
@media (max-width: 1100px) {
  .ta-threat-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  .ta-crisis-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .ta-crisis-stats {
    flex-direction: row;
    position: static;
  }

  .ta-stat {
    flex: 1;
  }

  .ta-action-grid {
    grid-template-columns: 1fr;
  }

  .ta-action-card--featured {
    grid-column: span 1;
  }
}

@media (max-width: 600px) {
  .ta-hero {
    min-height: 75vh;
  }

  .ta-hero-inner {
    padding-bottom: 3rem;
  }

  .ta-hero-btns {
    flex-direction: column;
  }

  .ta-btn {
    justify-content: center;
  }

  .ta-crisis-stats {
    flex-direction: column;
  }

  .ta-threat-grid {
    grid-template-columns: 1fr;
  }

  .ta-photo-break {
    height: 35vh;
    min-height: 240px;
  }

  .ta-photo-cta {
    min-height: 50vh;
  }

  .ta-photo-cta-btns {
    flex-direction: column;
  }
}
