.egr-card {
    background: #ffffff;
    overflow: hidden;
    transition: transform 0.2s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
  }
  
  .egr-card__image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
  }
  
  /* Full height image option */
  .egr-cards--image-full .egr-card__image {
    display: flex;
    justify-content: center;
    padding-top: 1.5rem;
  }
  
  .egr-cards--image-full .egr-card__image img {
    height: auto;
    max-height: none;
    max-width: 290px;
    width: 100%;
  }
  
  .egr-card__content {
    padding: 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
  }
  
  .egr-card__title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #2c3e50;
    margin: 0 0 1rem 0 !important; /* Added !important to override [class*="egr-"] reset */
  }
  
  .egr-card__title:after {
    content: " ";
    display: block;
    width: 30px;
    height: 4px;
    background-color: #00c24e;
    margin-top: 20px;
  }
  
  .egr-card__description {
    color: #495057; /* Changed from #666 to meet WCAG AA contrast (4.58:1) */
    line-height: 1.5;
    margin-bottom: 1.5rem;
    flex: 1;
  }
  
  .egr-card__link {
    margin-top: auto;
  }
  
  .egr-card__button,
  a.egr-card__button {
    display: inline-block;
    background-color: #18453B !important;
    color: #ffffff !important;
    padding: 0.75rem 1.5rem;
    text-decoration: none !important;
    font-weight: 600;
    text-align: center;
    border-radius: 0;
    border: none;
    text-transform: uppercase;
    font-size: 0.875rem;
    letter-spacing: 0.05em;
    transition: all 0.2s ease;
    cursor: pointer;
  }
  
  .egr-card__button:hover,
  a.egr-card__button:hover,
  .egr-card__button:focus,
  a.egr-card__button:focus {
    background-color: #0f2a26 !important;
    text-decoration: none !important;
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  }

/* Accessibility - Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  .egr-card {
    transition: none;
  }
  
  .egr-card__button,
  a.egr-card__button {
    transition: none;
  }
  
  .egr-card__button:hover,
  a.egr-card__button:hover,
  .egr-card__button:focus,
  a.egr-card__button:focus {
    transform: none;
  }
}