<style>
  /* CIDE HOME-4 — Page Stylesheet    Depends on: cide-hero-source-of-truth.css    Last updated: 2026-03-20 14:56    ============================================================ */


/* ------------------------------------------------------------
   IMPACT STORIES HEADER

   Sitefinity structure:
   Content block > <a class="cide-impact-nav" href="...">Back to Impact Stories</a>
   ------------------------------------------------------------ */

.cide-impact-nav {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #244C5A;
  text-decoration: none;
  background: none;
  padding: 0;
  border: 0;
  transition: color 0.15s ease;
}

.cide-impact-nav::after {
  content: "";
  display: inline-block;
  width: 16px;
  height: 16px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23244C5A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 8L22 12L18 16'/%3E%3Cpath d='M2 12H22'/%3E%3C/svg%3E")
    center / contain no-repeat;
  transition: transform 0.15s ease;
}

.cide-impact-nav,
.cide-impact-nav:hover,
.cide-impact-nav:visited,
.cide-impact-nav:focus {
  text-decoration: none;
}

.cide-impact-nav:hover,
.cide-impact-nav:focus-visible {
  color: #28939D;
}

.cide-impact-nav:hover::after,
.cide-impact-nav:focus-visible::after {
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2328939D' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 8L22 12L18 16'/%3E%3Cpath d='M2 12H22'/%3E%3C/svg%3E")
    center / contain no-repeat;
}

.cide-impact-nav:focus-visible {
  outline: var(--focus-outline);
  outline-offset: var(--focus-outline-offset);
  border-radius: 0.5px;
}


/* ------------------------------------------------------------
   SHARED GOLD CTA BUTTON
   Replaces: .cide-impact-cta and .cide-featured-cta

   Usage:
   <a href="..." class="cide-gold-cta">Read More</a>
   ------------------------------------------------------------ */

.cide-gold-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.25rem;
  padding: 0.55rem 1rem;
  border-radius: 3px;
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 0.02em;
  background: var(--cu-gold);
  color: #000;
  border: 1px solid rgba(0, 0, 0, 0.08);
  transition: background 0.15s ease, border-color 0.15s ease;
}

.cide-gold-cta::after {
  content: "";
  width: 18px;
  height: 18px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 8L22 12L18 16'/%3E%3Cpath d='M2 12H22'/%3E%3C/svg%3E")
    center / contain no-repeat;
}

.cide-gold-cta:hover,
.cide-gold-cta:focus-visible {
  background-color: #C3A65B;
  border-color: #c8b072;
}

.cide-gold-cta:focus-visible {
  outline: var(--focus-outline);
  outline-offset: var(--focus-outline-offset);
  border-radius: 0.5px;
}

.cide-gold-cta,
.cide-gold-cta:hover,
.cide-gold-cta:visited,
.cide-gold-cta:focus {
  color: #000;
  text-decoration: none;
}


/* ------------------------------------------------------------
   IMPACT CARDS GRID

   Sitefinity structure:
   Content block > <div class="cide-stories-grid">
     <div class="cide-impact-card">
       <img src="..." alt="..." />
       <div class="cide-impact-card-content">
         <h3>Title</h3>
         <p>Description</p>
         <a href="..." class="cide-gold-cta">Read More</a>
       </div>
     </div>
   </div>
   ------------------------------------------------------------ */

.cide-stories-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  padding: 1rem 0;
}

@media (max-width: 900px) {
  .cide-stories-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 576px) {
  .cide-stories-grid { grid-template-columns: 1fr; }
}

.cide-impact-card {
  background: #fff;
  border-radius: 3px;
  border: 1px solid var(--border-interactive);
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}

.cide-impact-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(to right, var(--cu-gold), #e5d5a8);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.cide-impact-card:hover::after {
  opacity: 1;
}

.cide-impact-card:hover {
  border-color: var(--cu-gold);
  box-shadow: 0 4px 12px rgba(207, 184, 124, 0.2);
}

.cide-impact-card img {
  width: 100%;
  display: block;
  height: 250px;
  object-fit: cover;
}

.cide-impact-card-content {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.cide-impact-card-content .cide-gold-cta {
  margin-top: auto;
}


/* ------------------------------------------------------------
   FEATURED STORY CARD

   Sitefinity structure:
   Bootstrap row > col-lg-5 (image) + col-lg-7 (content)
     Col 1: <div class="cide-featured-media"><img ... /></div>
     Col 2: <div class="cide-featured-story">
               <h3>Title</h3>
               <div class="cide-featured-tags">
                 <span class="cide-tag">Tag</span>
               </div>
               <p>Description</p>
               <a href="..." class="cide-gold-cta">Read More</a>
             </div>
   ------------------------------------------------------------ */

.cide-featured-story {
  background: #fff;
  border-radius: 6px;
  border: 1px solid var(--border-interactive);
  border-left: 6px solid var(--cu-gold);
  box-shadow: none;
  padding: 1.25rem;
}

.cide-featured-media {
  height: 100%;
  overflow: hidden;
}

.cide-featured-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  border-radius: 3px;
}

/* "FEATURED STORY" pill above title */
.cide-featured-story h3::before {
  content: "FEATURED STORY";
  display: block;
  width: fit-content;
  margin: 0 0 0.6rem 0;
  padding: 0.3rem 0.5rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #8D7334;
  background: rgba(207, 184, 124, 0.25);
}

.cide-featured-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0.4rem 0 0.75rem 0;
}

.cide-featured-tags .cide-tag {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.6rem;
  font-size: 0.72rem;
  font-weight: 600;
  line-height: 1.2;
  border-radius: 999px;
  background: #f3f4f6;
  color: #374151;
  border: 1px solid rgba(0, 0, 0, 0.08);
}
</style>
