/* Scoped export cards layout */
.export-cards {
  padding-top: 40px;
  padding-bottom: 80px;
}

.export-cards .cards-row {
  /* use grid to enforce rows and ensure cards keep portrait ratio */
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  justify-items: center; /* center each card cell */
}

/* limit the inner container width for better card grouping */
.export-cards .container {
  max-width: 1180px;
}

/* Scoped to avoid overriding Bootstrap .card globally */
.export-cards .card {
  /* portrait cards: constrain width but allow height to grow */
  width: 100%;
  max-width: 320px; /* slightly larger for more breathing room */
  min-height: 320px; /* enforce portrait orientation baseline */
  border-radius: 24px; /* softened from 50px for a more modern look */
  /* subtle vertical gradient using the theme purple */
  background: linear-gradient(
    180deg,
    rgba(80, 38, 107, 0.04) 0%,
    rgba(255, 255, 255, 0.98) 60%
  );
  border: 1px solid rgba(80, 38, 107, 0.06);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 28px 30px;
  /* refined shadow using purple tints for ambient glow */
  box-shadow: 0 8px 30px rgba(80, 38, 107, 0.08), 0 2px 8px rgba(0, 0, 0, 0.04),
    inset 0 1px 0 rgba(255, 255, 255, 0.6);
  transition: transform 0.36s cubic-bezier(0.2, 0.9, 0.2, 1),
    box-shadow 0.36s ease, filter 0.36s ease;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  position: relative;
  box-sizing: border-box;
  overflow: hidden;
}

.export-cards .card .card-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--rs-title-primary);
  margin-bottom: 8px;
  font-family: var(--rs-ff-title);
  letter-spacing: 0.2px;
}

.export-cards .card p {
  font-size: 15px;
  line-height: 1.75;
  color: rgba(31, 31, 31, 0.72);
  margin: 0;
  font-family: var(--rs-ff-p);
}

/* Hover: lift + stronger purple glow */
.export-cards .card:hover {
  transform: translateY(-18px) scale(1.02);
  box-shadow: 0 40px 80px rgba(80, 38, 107, 0.22),
    0 12px 40px rgba(80, 38, 107, 0.14), 0 0 40px rgba(80, 38, 107, 0.12);
  filter: saturate(1.02);
}

/* Slight inner highlight for 3D effect */
.export-cards .card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50px;
  pointer-events: none;
  box-shadow: inset -6px -6px 20px rgba(255, 255, 255, 0.6),
    inset 6px 6px 20px rgba(0, 0, 0, 0.03);
}

/* Card inner wrapper tweaks */
.export-cards .card .card-inner {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
}

/* small decorative separator under title */
.export-cards .card .divider {
  width: 44px;
  height: 3px;
  background: linear-gradient(
    90deg,
    rgba(80, 38, 107, 0.85),
    rgba(132, 86, 159, 0.6)
  );
  border-radius: 2px;
}

/* focus outline for keyboard users */
.export-cards .card:focus {
  outline: none;
  box-shadow: 0 30px 60px rgba(80, 38, 107, 0.24),
    0 6px 18px rgba(0, 0, 0, 0.06);
  transform: translateY(-12px);
}

/* make sure the cards are accessible on small screens */
@media (max-width: 991px) {
  /* two cards per row */
  .export-cards .cards-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 575px) {
  /* single card per row on small screens */
  .export-cards .cards-row {
    grid-template-columns: 1fr;
  }
  .export-cards .card {
    width: 100%;
    max-width: 100%;
    min-height: auto;
    border-radius: 28px;
    padding: 18px;
  }
  .export-cards {
    padding-top: 24px;
    padding-bottom: 40px;
  }
}

/* utility: center text inside card */
.export-cards .card .card-inner {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* subtle focus state for keyboard users */
.export-cards .card:focus {
  outline: none;
  box-shadow: 0 30px 60px rgba(80, 38, 107, 0.26);
  transform: translateY(-10px);
}

/* Notes list: replace default bullets with a small right-arrow SVG (brand color #50266B) */
.notes-block ul {
  list-style: none;
  padding-left: 0;
  margin: 0;
}
.notes-block li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 12px;
  color: #222;
}
.notes-block li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
  width: 10px;
  height: 10px;
  display: block;
  background-color: #50266b;
  border-radius: 2px;
}
