

/*Impact Page */
.csc-impact-page .container {
  max-width: 1519px !important;
  padding-inline: 15px !important;
}
/* ===================== Make a Difference ===================== */
.split-content-image {
  border-radius: 16px;
  object-fit: cover;
  height: auto;
}
@media (min-width: 768px) {
  /* On tablet/desktop the image fills the full height of the text column */
  .split-image-col {
    position: relative;
    min-height: 320px;
  }
  .split-image-col .split-content-image {
    position: absolute;
    top: 0;
    left: 15px; /* matches Bootstrap column padding */
    width: calc(100% - 30px) !important;
    height: 100%;
    object-fit: cover;
  }
}

.make-difference-title {
  font-size: clamp(24px, 3vw, 40px);
  color: #7915a2;
  font-weight: bolder;
  margin-bottom: 1rem;
}
.make-difference-content {
  color: #212529 ;
  font-size: 16px;
  line-height: 28px;
  margin-bottom: 1.5rem;
}

.every-dollar-section {
  border: 1px solid #e5e7eb;
  padding: 16px;
  border-radius: 10px;
  box-shadow: 0 1px 4px 0 rgba(12, 12, 13, 0.1);
  display: flex;
  align-items: center;
  gap: 20px;
}
.every-dollar-section .cents-img-container {
  flex: 0 0 auto;
}
.every-dollar-section .cents-img-container img {
  max-width: 90px;
  height: auto;
}
.every-dollar-section .cents-content h6 {
  font-size: 22px;
  font-weight: bold;
  color: #7915a2;
}
.every-dollar-section .cents-content p {
  font-weight: bold;
  color: #212529;
  font-size: 18px;
}

@media (max-width: 575.98px) {
  .every-dollar-section {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }
  .every-dollar-section .cents-content h6 {
    font-size: 19px;
  }
  .every-dollar-section .cents-content p {
    font-size: 16px;
  }
  .make-difference-content {
    font-size: 15px;
    line-height: 26px;
  }
}

/* ===================== Video player ===================== */
.player {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: 14px;
  overflow: hidden;
}
.player video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.center-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 72px;
  height: 72px;
  border: 0;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  cursor: pointer;
  display: grid;
  place-items: center;
  backdrop-filter: blur(4px);
  transition: opacity 0.25s, transform 0.2s, background 0.2s;
}
.center-btn:hover {
  background: #7915a2;
  transform: translate(-50%, -50%) scale(1.08);
}
.center-btn svg {
  width: 34px;
  height: 34px;
  fill: currentColor;
}
.player.playing .center-btn {
  opacity: 0;
  pointer-events: none;
}
.player.playing:hover .center-btn {
  opacity: 1;
  pointer-events: auto;
}

.controls {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 28px 14px 10px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.75));
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: #fff;
  transition: opacity 0.25s;
}
.player.playing:not(:hover) .controls {
  opacity: 0;
}

/* Touch devices have no hover: keep controls usable */
@media (hover: none) {
  .player.playing:not(:hover) .controls {
    opacity: 1;
  }
  .player.playing .center-btn {
    opacity: 0;
    pointer-events: none;
  }
}

.icon-btn {
  background: none;
  border: 0;
  color: #fff;
  cursor: pointer;
  padding: 4px;
  display: grid;
  place-items: center;
}
.icon-btn svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}
.time {
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}

input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  height: 5px;
  border-radius: 3px;
  background: linear-gradient(to right, #7915a2 0%, rgba(255, 255, 255, 0.35) 0%);
  cursor: pointer;
  outline: none;
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: #fff;
}
input[type="range"]::-moz-range-thumb {
  width: 13px;
  height: 13px;
  border: 0;
  border-radius: 50%;
  background: #fff;
}
#seek {
  width: 100%;
}
#volume {
  width: 80px;
  background: linear-gradient(to right, #7915a2 100%, rgba(255, 255, 255, 0.35) 100%);
}

@media (max-width: 575.98px) {
  .player {
    border-radius: 10px;
  }
  .center-btn {
    width: 52px;
    height: 52px;
  }
  .center-btn svg {
    width: 24px;
    height: 24px;
  }
  .controls {
    padding: 20px 10px 6px;
  }
  .icon-btn svg {
    width: 20px;
    height: 20px;
  }
  #volume {
    width: 56px;
  }
  .time {
    font-size: 12px;
  }
}

/* ===================== Empty state (unused helper) ===================== */
.empty {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  gap: 12px;
  text-align: center;
  color: #cfd2d8;
  font-size: 15px;
  padding: 16px;
}
.empty label {
  background: #7915a2;
  color: #fff;
  padding: 9px 18px;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 600;
}
.empty input {
  display: none;
}
.player.loaded .empty {
  display: none;
}

/* ===================== Program funds ===================== */
.program-fund-section {
  width: 100%;
  padding-block: 3rem;
  background-color: #26044d;
}
.program-fund-content h6 {
  font-weight: bold;
  color: #fff;
  font-size: clamp(26px, 4vw, 36px);
}
.program-fund-content p {
  font-weight: 300;
  color: #efefef;
  font-size: clamp(16px, 2vw, 20px);
}
.program-fund-hints-container {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.program-fund-hint {
  display: flex;
  align-items: center;
  gap: 10px;
}
.program-fund-hint p {
  color: #fff;
  margin: 0;
}
.we-fund-clr,
.admin-clr,
.govt-clr {
  flex: 0 0 18px;
  height: 18px;
  width: 18px;
  border-radius: 50%;
}
.we-fund-clr {
  background-color: #26044d;
  border: 2px solid #fff;
}
.admin-clr {
  background-color: #36aae3;
}
.govt-clr {
  background-color: #45ad45;
}

@media (max-width: 767.98px) {
  .program-fund-section {
    padding-block: 2rem;
  }
}

/* ===================== Results in focus ===================== */
.results {
  background: #f1f4fe;
  padding-block: 3rem;
  text-align: center;
}
.results__title {
  margin: 0 0 9px;
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  line-height: 1.2;
  color: #442a66;
  text-align: center !important;
}
.results__subtitle {
  max-width: 807px;
  margin: 0 auto 42px;
  padding: 0 16px;
  font-size: clamp(16px, 2vw, 18px);
  font-weight: 400;
  line-height: 1.7;
  color: #212529;
  text-wrap: balance;
}
.results__grid {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  width: 100%;
  max-width: 1130px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 26px 22px;
}

.focus-card {
  box-sizing: border-box;
  width: 362px;
  max-width: 100%;
  min-height: 288px;
  padding: 28px 24px;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  text-align: left;
  color: #fff;
}
.focus-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.focus-card__icon {
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
}
.focus-card__icon i {
  font-size: 21px;
  height: 21px;
  width: auto;
}
.focus-card__invested {
  font-size: 16px;
  font-weight: 700;
  line-height: 32px;
  white-space: nowrap;
}
.focus-card__body {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.focus-card__name {
  margin: 0;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.5;
}
.focus-card__stat {
  margin: 0;
  font-size: 50px;
  font-weight: 700;
  line-height: normal;
}
.focus-card__text {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  line-height: normal;
}

/* Card colors */
.focus-card--blue { background: #36aae3; }
.focus-card--blue .focus-card__icon { background: #57c6fd; }
.focus-card--purple { background: #3f0773; }
.focus-card--purple .focus-card__icon { background: #590f9d; }
.focus-card--red { background: #ef3232; }
.focus-card--red .focus-card__icon { background: #ff6e6e; }
.focus-card--yellow { background: #ffc339; color: #2c2c2c; }
.focus-card--yellow .focus-card__icon { background: #ffdb87; }
.focus-card--green { background: #45ad45; }
.focus-card--green .focus-card__icon { background: #66c366; }

@media (max-width: 767.98px) {
  .results {
    padding-block: 2rem;
  }
  .results__subtitle {
    margin-bottom: 28px;
  }
  .results__grid {
    gap: 16px;
  }
  .focus-card {
    width: 100%;
    min-height: auto;
    padding: 20px;
    gap: 16px;
  }
  .focus-card__stat {
    font-size: 40px;
  }
}

/* ===================== CSC Funding ===================== */
.csc-funding__inner {
  padding: 3rem 15px;
}
.csc-funding__title {
  margin: 0 0 44px;
  font-size: clamp(26px, 3.5vw, 40px);
  font-weight: 800;
  line-height: 1.3;
  color: #7915a2;
}

.fund-card {
  position: relative;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 20px;
  box-shadow: 0 10px 30px -4px rgba(0, 0, 0, 0.04);
}
.fund-card__media {
  height: 260px;
  border-radius: 19px 19px 0 0;
  overflow: hidden;
  background: #000;
}
.fund-card__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Share button overlaps the bottom edge of the image */
.fund-card__share {
  position: absolute;
  top: 235px;
  right: 16px;
  width: 50px;
  height: 50px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background-color: #fff;
  cursor: pointer;
  display: grid;
  place-items: center;
}
.fund-card__share i {
  width: 21px;
  height: 21px;
  font-size: 21px;
}

.fund-card__body {
  box-sizing: border-box;
  flex: 1;
  min-height: 170px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px;
}
.fund-card__title {
  margin: 0;
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 600;
  line-height: 1.5;
  color: #000;
}
.fund-card__year {
  text-decoration: underline;
  text-decoration-skip-ink: none;
  text-underline-position: from-font;
}

.fund-card__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 16px;
  border-radius: 30px;
  background: #7915a2;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  line-height: normal;
  letter-spacing: 1.36px;
  text-decoration: none !important;
  white-space: nowrap;
  backdrop-filter: blur(3px);
}
.fund-card__btn i {
  width: 20px;
  font-size: 20px;
  height: 20px;
}
.fund-card__btn:hover {
  color: #fff !important;
}

@media (max-width: 575.98px) {
  .csc-funding__inner {
    padding: 2rem 15px;
  }
  .csc-funding__title {
    margin-bottom: 24px;
  }
  .fund-card__media {
    height: 200px;
  }
  .fund-card__share {
    top: 175px; /* media height (200) - 25 */
  }
  .fund-card__body {
    min-height: 0;
    gap: 20px;
  }
  .fund-card__btn {
    white-space: normal; /* allow wrapping on very narrow screens */
    letter-spacing: 0.5px;
    font-size: 15px;
  }
}
/* WordPress video player responsive layout */
.csc-impact-page .player video {display:block;width:100%;height:auto;max-height:720px;background:#000;border-radius:16px;}


/* ==========================================
   CSC IMPACT PAGE - COLOR OVERRIDES
   ========================================== */

/* Make a Difference */
.make-difference-title {
    color: #7915a2 !important;
}

.make-difference-content {
    color: #212529 !important;
}

.every-dollar-section .cents-content h6 {
    color: #7915a2 !important;
}

.every-dollar-section .cents-content p {
    color: #212529 !important;
}

/* Video Player */
.player {
    background: #000 !important;
}

.center-btn {
    background: rgba(0, 0, 0, 0.55) !important;
    color: #fff !important;
}

.center-btn:hover {
    background: #7915a2 !important;
}

.center-btn svg,
.icon-btn svg {
    fill: currentColor !important;
}

.controls {
    background: linear-gradient(
        transparent,
        rgba(0, 0, 0, 0.75)
    ) !important;
    color: #fff !important;
}

.icon-btn {
    background: none !important;
    color: #fff !important;
}

input[type="range"] {
    background: linear-gradient(
        to right,
        #7915a2 0%,
        rgba(255, 255, 255, 0.35) 0%
    ) !important;
}

input[type="range"]::-webkit-slider-thumb,
input[type="range"]::-moz-range-thumb {
    background: #fff !important;
}

#volume {
    background: linear-gradient(
        to right,
        #7915a2 100%,
        rgba(255, 255, 255, 0.35) 100%
    ) !important;
}

.empty {
    color: #cfd2d8 !important;
}

.empty label {
    background: #7915a2 !important;
    color: #fff !important;
}

/* Program Funds */
.program-fund-section {
    background-color: #26044d !important;
}

.program-fund-content h6 {
    color: #fff !important;
}

.program-fund-content p {
    color: #efefef !important;
}

.program-fund-hint p {
    color: #fff !important;
}

.we-fund-clr {
    background-color: #26044d !important;
    border-color: #fff !important;
}

.admin-clr {
    background-color: #36aae3 !important;
}

.govt-clr {
    background-color: #45ad45 !important;
}

/* Results in Focus */
.results {
    background: #f1f4fe !important;
}

.results__title {
    color: #442a66 !important;
}

.results__subtitle {
    color: #212529 !important;
}

.focus-card {
    color: #fff !important;
}

/* Blue Card */
.focus-card--blue {
    background: #36aae3 !important;
}

.focus-card--blue .focus-card__icon {
    background: #57c6fd !important;
}

/* Purple Card */
.focus-card--purple {
    background: #3f0773 !important;
}

.focus-card--purple .focus-card__icon {
    background: #590f9d !important;
}

/* Red Card */
.focus-card--red {
    background: #ef3232 !important;
}

.focus-card--red .focus-card__icon {
    background: #ff6e6e !important;
}

/* Yellow Card */
.focus-card--yellow {
    background: #ffc339 !important;
    color: #2c2c2c !important;
}

.focus-card--yellow .focus-card__icon {
    background: #ffdb87 !important;
}

/* Green Card */
.focus-card--green {
    background: #45ad45 !important;
}

.focus-card--green .focus-card__icon {
    background: #66c366 !important;
}

/* Ensure card text inherits correct color */
.focus-card__invested,
.focus-card__name,
.focus-card__stat,
.focus-card__text {
    color: inherit !important;
}

/* CSC Funding */
.csc-funding__title {
    color: #7915a2 !important;
}

.fund-card {
    background: #fff !important;
    border-color: #e5e7eb !important;
}

.fund-card__media {
    background: #000 !important;
}

.fund-card__share {
    background-color: #fff !important;
}

.fund-card__title {
    color: #000 !important;
}

.fund-card__btn,
.fund-card__btn:visited {
    background: #7915a2 !important;
    color: #fff !important;
}

.fund-card__btn:hover,
.fund-card__btn:focus {
    background: #7915a2 !important;
    color: #fff !important;
}

/* WordPress video */
.csc-impact-page .player video {
    background: #000 !important;
}
