/* MTA-GIVING-EXPERIENCE-R1-001: ManyTek Workforce Opportunity Fund page (give.html only).
   Built on the site's own tokens (style.css): navy --title-color, gold --theme-color, accessible gold
   --theme-color-text (#86691A, AA on white), smoke --smoke-color, Instrument Sans. No new imagery. */

.give-hero {
  background: var(--title-color);
  color: #fff;
  padding: 72px 0 80px;
  position: relative;
  overflow: hidden;
}
/* One restrained brand shape: a thin gold rule, no decorative technology imagery. */
.give-hero::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 6px;
  background: var(--theme-color);
}
.give-hero-inner {
  max-width: 860px;
}
.give-kicker {
  display: inline-block;
  color: var(--theme-color);
  border: 1px solid rgba(196, 153, 38, 0.55);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 14px;
  margin: 0 0 18px;
}
.give-fund-name {
  color: rgba(255, 255, 255, 0.86);
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 12px;
}
.give-hero-title {
  color: #fff;
  font-size: 58px;
  line-height: 1.1;
  margin: 0 0 22px;
}
.give-hero-title span {
  display: block;
  color: var(--theme-color);
}
.give-hero-text {
  color: rgba(255, 255, 255, 0.86);
  font-size: 19px;
  line-height: 1.6;
  max-width: 720px;
  margin: 0 0 32px;
}
.give-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
.give-hero-note,
.give-final-note {
  color: rgba(255, 255, 255, 0.8);
  font-size: 15px;
  line-height: 1.6;
  max-width: 720px;
  margin: 26px 0 0;
}

/* Buttons: the theme's th-btn, recoloured for the navy bands. */
.th-btn.give-btn-partner {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.7);
  color: #fff;
}
.th-btn.give-btn-partner::after {
  background-color: #fff;
}
.th-btn.give-btn-partner::before {
  background: var(--theme-color);
}
.th-btn.give-btn-partner:hover {
  color: var(--title-color);
  border-color: var(--theme-color);
}
.th-btn.give-btn-partner:hover::after {
  background-color: var(--title-color);
}
.give-hero .th-btn:focus-visible,
.give-final .th-btn:focus-visible,
.give-section-navy a:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 3px;
}

/* Sections */
.give-section {
  padding: 96px 0;
}
.give-section-smoke {
  background: var(--smoke-color);
}
.give-section-navy {
  background: var(--title-color);
}
.give-section-navy .sec-title {
  color: #fff;
}
.give-section-navy .sub-title {
  color: var(--theme-color);
}
.give-on-navy {
  color: rgba(255, 255, 255, 0.86);
  font-size: 17px;
  line-height: 1.65;
}
.give-lead {
  color: var(--title-color);
  font-size: 20px;
  line-height: 1.55;
  font-weight: 500;
}
.give-checks {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
}
.give-checks li {
  position: relative;
  padding: 0 0 14px 30px;
  color: var(--title-color);
  font-weight: 500;
}
.give-checks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 14px;
  height: 8px;
  border-left: 3px solid var(--theme-color-text);
  border-bottom: 3px solid var(--theme-color-text);
  transform: rotate(-45deg);
}

/* Support areas: text only, no counts or amounts. */
.give-areas {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.give-areas li {
  background: #fff;
  border-top: 3px solid var(--theme-color);
  padding: 28px;
}
.give-areas h3 {
  font-size: 20px;
  margin: 0 0 8px;
}
.give-areas p {
  margin: 0;
}

/* Ways to give */
.give-ways {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.give-way {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--th-border-color);
  padding: 32px 28px;
  background: #fff;
}
.give-way:first-child {
  border-color: var(--theme-color);
  box-shadow: 0 0 0 1px var(--theme-color);
}
.give-way-tag {
  color: var(--theme-color-text);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.give-way h3 {
  font-size: 24px;
  margin: 0 0 12px;
}
.give-way > p {
  margin: 0 0 22px;
}
.give-way .th-btn {
  margin-top: auto;
  justify-content: center;
}
.th-btn.give-way-btn-line {
  background: transparent;
  border: 1px solid var(--title-color);
  color: var(--title-color);
}
.th-btn.give-way-btn-line::after {
  background-color: var(--title-color);
}
.th-btn.give-way-btn-line:hover {
  color: #fff;
}
.th-btn.give-way-btn-line:hover::after {
  background-color: #fff;
}
.give-way-fine {
  font-size: 14px;
  margin: 14px 0 0 !important;
}
.give-consent {
  max-width: 860px;
  margin: 32px auto 0;
  text-align: center;
  font-size: 15px;
}

/* Responsible impact */
.give-list-intro {
  font-weight: 600;
  margin-bottom: 14px;
}
.give-impact {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 24px;
}
.give-impact li {
  color: #fff;
  border-left: 3px solid var(--theme-color);
  padding: 10px 0 10px 16px;
  font-weight: 500;
}

/* Learner voice */
.give-voice {
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
}
.give-voice blockquote {
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
}
.give-voice blockquote > p:first-child {
  font-family: var(--title-font);
  color: var(--title-color);
  font-size: 28px;
  line-height: 1.4;
  font-weight: 500;
  margin: 0 0 18px;
}
.give-voice-cite {
  color: var(--theme-color-text);
  font-weight: 700;
  margin: 0;
}
.give-voice-source {
  margin: 10px 0 0;
}
.give-voice-fine {
  font-size: 14px;
  margin: 12px auto 0;
  max-width: 640px;
}

/* Trust panel */
.give-trust {
  margin: 0;
  background: #fff;
  border: 1px solid var(--th-border-color);
}
.give-trust > div {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  gap: 16px;
  padding: 18px 24px;
  border-bottom: 1px solid var(--th-border-color);
}
.give-trust > div:last-child {
  border-bottom: 0;
}
.give-trust dt {
  color: var(--title-color);
  font-weight: 700;
}
.give-trust dd {
  margin: 0;
  overflow-wrap: anywhere;
}
.give-link {
  color: var(--theme-color-text);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.give-link:hover {
  color: var(--title-color);
}
.give-link:focus-visible,
.give-faq summary:focus-visible {
  outline: 3px solid var(--title-color);
  outline-offset: 3px;
}

/* FAQ: native details/summary, keyboard operable without script. */
.give-faq {
  max-width: 860px;
  margin: 0 auto;
}
.give-faq details {
  border-bottom: 1px solid var(--th-border-color);
}
.give-faq summary {
  cursor: pointer;
  list-style: none;
  position: relative;
  padding: 20px 40px 20px 0;
  color: var(--title-color);
  font-weight: 600;
  font-size: 18px;
}
.give-faq summary::-webkit-details-marker {
  display: none;
}
.give-faq summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 16px;
  font-size: 24px;
  color: var(--theme-color-text);
}
.give-faq details[open] summary::after {
  content: "\2212";
}
.give-faq details p {
  margin: 0 0 20px;
}

/* Final call to action */
.give-final {
  background: var(--title-color);
  padding: 90px 0;
  text-align: center;
}
.give-final-title {
  color: #fff;
  font-size: 44px;
  max-width: 820px;
  margin: 0 auto 30px;
}
.give-final .give-actions {
  justify-content: center;
}
.give-final-note {
  margin: 26px auto 0;
}

@media (max-width: 1199px) {
  .give-areas,
  .give-ways {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 767px) {
  .give-hero {
    padding: 40px 0 52px;
  }
  .give-hero-title {
    font-size: 36px;
  }
  .give-hero-text {
    font-size: 17px;
    margin-bottom: 24px;
  }
  .give-actions .th-btn {
    width: 100%;
    justify-content: center;
  }
  .give-section,
  .give-final {
    padding: 64px 0;
  }
  .give-areas,
  .give-ways,
  .give-impact {
    grid-template-columns: minmax(0, 1fr);
  }
  .give-trust > div {
    grid-template-columns: minmax(0, 1fr);
    gap: 4px;
  }
  .give-voice blockquote > p:first-child {
    font-size: 22px;
  }
  .give-final-title {
    font-size: 30px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .give-faq summary::after,
  .give-hero .th-btn,
  .give-way .th-btn,
  .give-final .th-btn {
    transition: none !important;
    animation: none !important;
  }
}

/* ---- Support page corrections (support.html also loads this file) ---- */
/* Sponsorship levels are by enquiry: the price slot carries text, so it is smaller than the former dollar figures. */
.support-tier-price {
  font-size: 24px;
}
a.support-cohort-tier {
  display: block;
  text-decoration: none;
}
a.support-cohort-tier strong {
  font-size: 22px;
  color: var(--theme-color-text);
}
a.support-cohort-tier:focus-visible,
.support-tier a.th-btn:focus-visible {
  outline: 3px solid var(--title-color);
  outline-offset: 3px;
}
.support-cohort-consent {
  max-width: 860px;
  margin: 28px auto 0;
  text-align: center;
  font-size: 15px;
}
.support-commit p {
  color: rgba(255, 255, 255, 0.86);
  margin-bottom: 24px;
}
.support-commit .th-btn:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 3px;
}
.support-use-list {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
}
.support-use-list li {
  position: relative;
  padding: 8px 0 8px 18px;
  border-bottom: 1px solid var(--th-border-color);
  color: var(--title-color);
  font-weight: 500;
}
.support-use-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 8px;
  height: 8px;
  margin-top: -4px;
  background: var(--theme-color);
}
@media (prefers-reduced-motion: reduce) {
  a.support-cohort-tier,
  a.support-cohort-tier:hover {
    transition: none !important;
    transform: none !important;
  }
}

/* Contrast (axe, WCAG 1.4.3): the theme's gold (#C49926) is below 4.5:1 on white and smoke, so small gold text on
   light backgrounds uses the site's accessible gold (--theme-color-text, #86691A: 5.19:1 on white, 4.72:1 on smoke).
   Gold stays on navy, where it passes (6.9:1). Scoped to give.html and support.html, which load this file. */
.give-section:not(.give-section-navy) .sub-title,
.support-ways-area .sub-title,
.support-way-tag,
.support-way-link,
.support-flow-area .sub-title,
.support-steward-area .sub-title,
.support-levels-area > .container > .title-area .sub-title,
.support-cohort-head .sub-title,
.support-partner-area .sub-title,
.support-volunteer-area .sub-title,
.support-tier:not(.is-featured) .support-tier-name,
.support-inline-link {
  color: var(--theme-color-text);
}

/* Support "What your support funds" cards: the white title sat below each photo on the cream section background
   (1.1:1), visible only on hover. It now rests on the photo, on a navy band (white on navy passes). */
.campus-card.style2 .box-title-wrap {
  bottom: 0;
}
.campus-card.style2 .box-title-wrap .box-title {
  margin: 0;
  padding: 14px 16px;
  background: rgba(4, 21, 46, 0.85);
}

/* Support news cards: white on the gold date badge is 2.6:1. Navy on gold (6.7:1), as .blog-card dates already use. */
.blog-area-2 .blog-grid .blog-date .blog-date-title,
.blog-area-2 .blog-grid .blog-date .blog-date-text {
  color: var(--title-color);
}
