/* ===== PROMO SECTION STYLING ===== */
:root {
  /* Color variables */
  --ive-promo-primary: #4a6bff;
  --ive-promo-secondary: #ff7e5f;
  --ive-promo-accent: #3ddc97;
  --ive-promo-light: #f8f9fa;
  --ive-promo-dark: #343a40;
  --ive-promo-text: #2d3748;
  --ive-promo-text-light: #718096;
  --ive-promo-white: #ffffff;
  --ive-promo-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  --ive-promo-border-radius: 8px;
  --ive-promo-transition: all 0.3s ease;
}

.ive-promo-section {
  font-family: 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  padding: 2rem 0;
  background-color: var(--ive-promo-light);
  color: var(--ive-promo-text);
  line-height: 1.6;
  width: 100%;
  box-sizing: border-box;
}

.ive-promo-title {
  font-size: clamp(1.5rem, 2vw, 2rem);
  font-weight: 700;
  color: var(--ive-promo-primary);
  text-align: center;
  margin: 0 auto 2rem auto;
  padding-bottom: 0.5rem;
  border-bottom: 3px solid var(--ive-promo-accent);
  display: inline-block;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
}

.ive-promo-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
  box-sizing: border-box;
}

.ive-promo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 2rem;
  width: 100%;
}

.ive-promo-grid.ive-promo-single {
  display: flex;
  justify-content: center;
}

.ive-promo-card {
  background: var(--ive-promo-white);
  border-radius: var(--ive-promo-border-radius);
  overflow: hidden;
  box-shadow: var(--ive-promo-shadow);
  transition: var(--ive-promo-transition);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.ive-promo-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.ive-promo-image-container {
  height: 200px;
  overflow: hidden;
  position: relative;
}

.ive-promo-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--ive-promo-transition);
}

.ive-promo-card:hover .ive-promo-image {
  transform: scale(1.05);
}

.ive-promo-content {
  padding: 1.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.ive-promo-card-title {
  font-size: clamp(1.1rem, 1.2vw, 1.3rem);
  font-weight: 600;
  color: var(--ive-promo-primary);
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.ive-promo-card-desc {
  font-size: clamp(0.9rem, 1vw, 1rem);
  color: var(--ive-promo-text-light);
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.ive-promo-actions {
  margin-top: auto;
}

.ive-promo-btn-detail {
  display: inline-block;
  background-color: var(--ive-promo-primary);
  color: var(--ive-promo-white);
  padding: 0.6rem 1.2rem;
  border-radius: var(--ive-promo-border-radius);
  text-decoration: none;
  font-weight: 500;
  transition: var(--ive-promo-transition);
  text-align: center;
}

.ive-promo-btn-detail:hover {
  background-color: var(--ive-promo-secondary);
}

.ive-promo-btn-more-container {
  text-align: center;
  margin-top: 1.5rem;
}

.ive-promo-btn-more {
  display: inline-block;
  background-color: var(--ive-promo-accent);
  color: var(--ive-promo-white);
  padding: 0.8rem 1.5rem;
  border-radius: var(--ive-promo-border-radius);
  text-decoration: none;
  font-weight: 600;
  transition: var(--ive-promo-transition);
}

.ive-promo-btn-more:hover {
  background-color: var(--ive-promo-secondary);
  transform: translateY(-2px);
}

.ive-promo-empty {
  text-align: center;
  padding: 2rem;
  background-color: var(--ive-promo-white);
  border-radius: var(--ive-promo-border-radius);
  box-shadow: var(--ive-promo-shadow);
  max-width: 600px;
  margin: 0 auto;
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .ive-promo-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .ive-promo-grid {
    grid-template-columns: 1fr;
  }
  
  .ive-promo-image-container {
    height: 250px;
  }
}