/*
 * Styles for Sava Partners front‑end cards.
 * Based on the approved mauve/beige card layout.
 */
:root {
  --mauve: #894b6b;
  --beige: #f3eadc;
  --card-border: #e5e5e5;
  --text-color: #4a3b3b;
  --link-color: #7c4a67;
}

/* Ensure base styles do not leak */
.section-wrapper {
  max-width: 1100px;
  margin: 60px auto;
  padding: 40px 20px;
  background: var(--beige);
  border: 1px solid #e0d4c7;
  border-radius: 14px;
  box-sizing: border-box;
}

.card-wrapper {
  position: relative;
  margin: 0 auto 40px;
  width: 100%;
  max-width: 1100px;
  background: var(--beige);
  border-radius: 18px;
  overflow: visible;
  padding-top: 18px;
}

.card-topbar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 14px;
  background: var(--mauve);
  border-radius: 18px 18px 0 0;
  z-index: 2;
}

.card {
  background: #fff;
  border: 1px solid var(--card-border);
  border-top: none;
  border-radius: 0 0 18px 18px;
  margin: -1px 0 0 0;
  padding: 28px;
  width: 100%;
  box-sizing: border-box;
  z-index: 3;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.card-title {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 24px;
  font-weight: 700;
  margin: 0 0 26px 0;
  color: var(--text-color);
}

.icon-box {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: #fff;
  border: 2px solid #e8ddd7;
  display: flex;
  justify-content: center;
  align-items: center;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 4px 0;
  font-size: 15px;
  color: var(--text-color);
}

a {
  color: var(--link-color);
  text-decoration: none;
  font-weight: 600;
}

.sava-training-video {
  width: 100%;
  border-radius: 25px;
  overflow: hidden;
}

.sava-training-video iframe,
.sava-training-video video {
  display: block;
  width: 100% !important;
  max-width: 100%;
  border: 0;
  border-radius: 25px;
}

.sava-training-video iframe {
  aspect-ratio: 16 / 9;
  height: auto;
}

/* Responsive tweaks */
@media (max-width: 768px) {
  .section-wrapper {
    padding: 24px 16px;
  }

  .card-topbar {
    height: 12px;
  }

  .card {
    padding: 22px;
  }

  .card-title {
    font-size: 20px;
  }
}