/* Content Card Grid Styles */
.content-card-section {
  padding: 100px 5vw;
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: transparent; /* Inherits body bg */
}

.content-card-header {
  text-align: center;
  max-width: 800px;
  margin-bottom: 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.content-card-subtitle {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(
    --c-accent,
    #5e6ad2
  ); /* Fallback to a purple/blue if var missing */
  margin-bottom: 10px;
}

.content-card-title {
  font-size: 48px;
  font-weight: 700;
  line-height: 1.1;
  color: #fff;
  margin: 0;
}

/* Gradient text effect for title part if needed, sticking to white for now based on image except for potential specific highlights */

.content-card-desc {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
  max-width: 650px;
}

.content-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  padding: 12px 24px;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 10px;
}

.content-card-cta:hover {
  background: #fff;
  color: #000;
}

/* GRID LAYOUT */
.content-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  width: 100%;
  max-width: 1400px;
}

.content-card-item {
  display: flex;
  flex-direction: column;
  gap: 20px;
  text-align: left;
}

.cc-item-title {
  font-size: 18px;
  font-weight: 600;
  color: #fff;
  margin: 0;
}

.cc-item-image-box {
  width: 100%;
  aspect-ratio: 16/10; /* Roughly matches the landscape cards */
  background: #fff; /* Light background as seen in image */
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  /* Optional: varying border color or shadow */
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.cc-item-img {
  width: 100%;
  height: 100%;
  object-fit: contain; /* Changed from cover to contain to prevent cutting */
  transition: transform 0.5s ease;
}

.cc-item-image-box:hover .cc-item-img {
  transform: scale(1.03);
}

.cc-item-desc {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.5;
  margin: 0;
}

/* Responsive */
@media (max-width: 1024px) {
  .content-card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .content-card-grid {
    grid-template-columns: 1fr;
  }
  .content-card-title {
    font-size: 32px;
  }
}
