/* ==========================================================================
   Cliff Edge Coalition landing page (template-cliff-edge.php)
   Loaded only on that template. Builds on the theme's style.css.
   Brand: red #db0044 | dark red #a0073e | grey #f2f2f2 | black #000
   ========================================================================== */

/* ---------- Hero ---------- */
.cliff-edge-page .ce-hero h1 {
  font-size: 80px;
  font-weight: 900;
  letter-spacing: -3px;
  line-height: 1em;
}
.cliff-edge-page .ce-hero .ce-hero-text {
  font-size: 24px;
  line-height: 1.5;
  max-width: 640px;
  margin-bottom: 30px;
}
.cliff-edge-page .ce-hero-buttons .button { margin-right: 10px; }
.cliff-edge-page .ce-hero-image img {
  width: 100%;
  height: auto;
  background: #fff;
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .2);
}
@media print, screen and (max-width: 39.99875em) {
  .cliff-edge-page .ce-hero h1 { font-size: 40px; letter-spacing: -1px; }
  .cliff-edge-page .ce-hero .ce-hero-text { font-size: 18px; }
  .cliff-edge-page .ce-hero-buttons .button { margin-right: 0; }
  .cliff-edge-page .ce-hero .grid-container { padding-bottom: 90px; }
  .cliff-edge-page .ce-about .main-content-container p { font-size: 18px; }
  .cliff-edge-page .ce-stat-number { font-size: 48px; }
}

/* ---------- Shared section headings ---------- */
.cliff-edge-page .section-header { margin-bottom: 30px; }
.cliff-edge-page .ce-about .main-content-container p {
  font-size: 20px;
  line-height: 1.7;
  color: #000;
}

/* ---------- About + stats ---------- */
.cliff-edge-page .ce-about ul { list-style: none; margin-left: 0; }
.cliff-edge-page .ce-about ul li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 12px;
}
.cliff-edge-page .ce-about ul li:before {
  content: "\f00c";
  font: var(--fa-font-solid);
  color: #db0044;
  position: absolute;
  left: 0;
  top: .4em;
  font-size: 16px;
}

.cliff-edge-page .ce-stats {
  display: grid;
  gap: 20px;
}
.cliff-edge-page .ce-stat {
  background: #f2f2f2;
  border-radius: 20px;
  border-left: 6px solid #db0044;
  padding: 30px;
}
.cliff-edge-page .ce-stat-number {
  display: block;
  font-size: 60px;
  font-weight: 900;
  letter-spacing: -2px;
  line-height: 1;
  color: #db0044;
}
.cliff-edge-page .ce-stat-label {
  display: block;
  margin-top: 8px;
  font-size: 18px;
  font-weight: 700;
}

/* ---------- Achievements ---------- */
.cliff-edge-page .ce-wins .grid-container { padding-bottom: 60px; }
.cliff-edge-page .ce-win-card {
  height: 100%;
  background: #fff;
  border-radius: 20px;
  padding: 40px 30px;
  box-shadow: 0 0 8px rgba(0, 0, 0, .1);
  transition: transform .3s ease-in-out, box-shadow .3s ease-in-out;
}
.cliff-edge-page .ce-win-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, .15);
}
.cliff-edge-page .ce-win-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #db0044;
  color: #fff;
  font-size: 22px;
  margin-bottom: 20px;
}
.cliff-edge-page .ce-win-card h3 { font-size: 22px; }
.cliff-edge-page .ce-win-card p { font-size: 16px; line-height: 1.6; margin-bottom: 0; }

/* ---------- Campaign asks (red wave band) ---------- */
.cliff-edge-page .ce-campaign .ce-campaign-intro p { font-size: 20px; }
.cliff-edge-page .ce-ask-card {
  position: relative;
  height: calc(100% - 30px);
  background: #fff;
  border-radius: 20px;
  padding: 50px 30px 30px;
  margin-top: 30px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .2);
  display: flex;
  flex-direction: column;
  align-items: center;
}
.cliff-edge-page .ce-campaign .ce-ask-card h3,
.cliff-edge-page .ce-campaign .ce-ask-card p {
  color: #000;
}
.cliff-edge-page .ce-ask-card h3 { font-size: 24px; }
.cliff-edge-page .ce-ask-card p { font-size: 16px; line-height: 1.6; }
.cliff-edge-page .ce-ask-card .button { margin-top: auto; }
.cliff-edge-page .ce-campaign-cta { margin-top: 50px; }
.cliff-edge-page .ce-ask-number {
  position: absolute;
  top: -30px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #000;
  color: #fff;
  border: 4px solid #fff;
  font-size: 26px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ---------- News ---------- */
.cliff-edge-page .ce-news-grid .cell { display: flex; }
.cliff-edge-page .ce-news-grid article { width: 100%; }
.cliff-edge-page .ce-news-grid .actions-link-inner {
  height: 100%;
  display: flex;
  flex-direction: column;
}
.cliff-edge-page .ce-news-grid .action-loop-lower {
  flex: 1;
  display: flex;
  flex-direction: column;
}
.cliff-edge-page .ce-news-grid .action-loop-lower .button {
  align-self: flex-start;
  margin-top: auto;
}
.cliff-edge-page .ce-news-grid h3 { font-size: 20px; }
.cliff-edge-page .ce-news-grid .post-excerpt p { font-size: 16px; line-height: 1.6; }
.cliff-edge-page .ce-news-empty {
  background: #f2f2f2;
  border-radius: 20px;
  padding: 30px;
  text-align: center;
}

/* ---------- Call to action ---------- */
.cliff-edge-page .ce-cta {
  position: relative;
  overflow: hidden;
}
.cliff-edge-page .ce-cta .grid-container { position: relative; z-index: 2; }
.cliff-edge-page .ce-cta-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
}
.cliff-edge-page .ce-cta-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cliff-edge-page .ce-cta-bg:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #000, #000 40%, transparent);
}
.cliff-edge-page .ce-cta .button { margin-right: 10px; }
