/* 1. Module Header (The text above the cards) */
.module-header-container {
  margin-bottom: 12px; 
  padding: 0 10px;
}

.module-main-title {
  font-family: 'Domine', serif;
  color: #1D2350;
  font-size: 24px;
  margin: 0;
  font-weight: 700;
}

/* 2. The Card (Background + Height + Shadow) */
.card-content {
  background-color: #FFFFFF !important; /* THE BACKGROUND */
  border: 1px solid #EAEAEA;
  border-radius: 8px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  
  /* Compact & Minimized */
  min-height: 220px; 
  height: auto;
  margin: 10px; 
  
  box-shadow: 0 4px 12px rgba(0,0,0,0.08); 
  box-sizing: border-box;
  transition: transform 0.2s ease;
}

/* 3. High-Contrast Typography */
.card-text-area {
  flex-grow: 1;
}

.card-title {
  font-family: 'Domine', serif;
  color: #1D2350;
  font-size: 21px; /* Header size */
  font-weight: 700;
  margin: 0 0 8px 0;
  line-height: 1.1;
}

.card-desc {
  font-family: 'Lexend', sans-serif;
  color: #4A4A4A;
  font-size: 13px;
  line-height: 1.5;
  margin: 0;
  font-weight: 300;
}

/* 4. Sleek Button */
.card-button-area {
  margin-top: auto;
  padding-top: 10px;
}

.card-content a.hs-button {
  display: block !important;
  width: 100% !important;
  background-color: #1D2350 !important;
  color: #FFFFFF !important;
  padding: 10px 0 !important;
  border-radius: 4px !important;
  text-align: center !important;
  font-family: 'Lexend', sans-serif !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  text-decoration: none !important;
  line-height: 1 !