/* TARJETAS Y GRID MODERNOS */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 20px;
  margin-top: 24px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 24px;
}

/* CARDS CON ESTILO DEL PRESENTACIÓN PDF */
.as-card {
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid #e5e7eb;
  padding: 24px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  position: relative;
  overflow: hidden;
}

.as-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
}

.as-card.accent-border::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: #8ac425; /* Verde AS Del Valle */
}

/* CONTROL DE IMÁGENES COMPACTAS */
.as-card-media {
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid #e5e7eb;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
  display: flex;
  flex-direction: column;
}

.img-container-sm {
  width: 100%;
  height: 200px; /* Altura compacta para evitar imágenes gigantes */
  overflow: hidden;
  background-color: #f3f4f6;
}

.img-container-sm img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.as-card-media .card-body {
  padding: 20px;
}

/* BADGES Y PILLS */
.as-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  background: rgba(138, 196, 37, 0.15);
  color: #3b5220;
  margin-bottom: 12px;
}

/* TARJETAS DE DOCUMENTOS TRANSPARENCIA */
.doc-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  background: #ffffff;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  margin-bottom: 12px;
  transition: all 0.2s ease;
}

.doc-card:hover {
  border-color: #8ac425;
  background: #fafcf8;
}

.doc-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: #f0f7e6;
  color: #526e5b;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 14px;
  flex-shrink: 0;
}