/* Keep the main action reachable and aligned when card text wraps. */
.service-grid .service-card {
  justify-content: flex-start;
}

.service-grid .service-card h3 {
  margin-bottom: 18px;
  overflow-wrap: anywhere;
}

.service-grid .service-card .more {
  margin-top: auto;
}

/* Native disclosure keeps long descriptions available by touch and keyboard. */
.service-card .service-detail {
  width: 100%;
  margin: 0 0 16px;
  color: #303b5a;
  text-align: left;
}

.service-card .service-detail summary {
  display: flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 12px;
  color: #20398f;
  cursor: pointer;
  list-style: none;
}

.service-card .service-detail summary::-webkit-details-marker {
  display: none;
}

.service-card .service-detail summary::after {
  content: '+';
  font-size: 20px;
}

.service-card .service-detail[open] summary::after {
  content: '−';
}

.service-card .service-detail summary:focus-visible {
  outline: 3px solid #2d448b;
  outline-offset: 4px;
  border-radius: 8px;
}

.service-card .service-description {
  margin: 0;
  padding: 12px;
  border-radius: 10px;
  background: #f2f4fd;
  font-size: 15px;
  line-height: 1.65;
  overflow-wrap: anywhere;
  white-space: pre-line;
}
