/* Banner */
.accion-social-banner-wrapper {
    width: 100%;
    background-color: var(--navy-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.accion-social-banner-img {
    width: 100%;
    height: auto;
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    overflow: hidden;
}

/* Foto principal */
.accion-social-foto-principal {
    width: 100%;
    height: 400px;
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    border-radius: 10px !important;
    overflow: hidden;
}

@media (max-width: 991px) {
    .accion-social-foto-principal { height: 320px; }
    .accion-social-banner-img { height: 150px; }
}

@media (max-width: 767px) {
    .accion-social-foto-principal { height: 260px; }
}

@media (max-width: 576px) {
    .accion-social-foto-principal { height: 210px; }
    .accion-social-banner-img { height: 110px; }
    
}

@media (max-width: 480px) {
    .accion-social-foto-principal { height: 180px; }
    .img-campana-medica {height: 200px !important;}
}



#ayudaCarousel {
    position: relative;
    z-index: 1;
}

.videos-ayuda-humanitaria {
    position: relative;
    z-index: 5;
}

.videos-ayuda-humanitaria .ratio iframe {
    cursor: auto !important;
}

/* ── Variables ──────────────────────────────── */
:root {
  --cm-rojo:   #c0392b;
  --cm-rojo-d: #96281b;
  --cm-azul:   #1a3a5c;
  --cm-gris:   #f4f6f9;
  --cm-texto:  #555;
}

/* ── Imágenes de campaña ────────────────────── */
.img-campana-medica {
  object-fit: cover;
  border-radius: 12px;
  height: 200px;
  width: 100%;
  transition: transform .4s ease, box-shadow .4s ease;
}
.img-campana-medica:hover {
  transform: scale(1.02);
  box-shadow: 0 16px 40px rgba(0,0,0,.18) !important;
}


.cm-ods-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #e8f4e8;
  border: 1px solid #a8d5a8;
  border-radius: 50px;
  padding: 8px 18px;
  font-size: .82rem;
  font-weight: 600;
  color: #1e6b1e;
  margin-bottom: 20px;
}

/* ── Separador de sección ───────────────────── */
.cm-section-label {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: 3.5px;
  text-transform: uppercase;
  color: var(--cm-rojo);
  display: block;
  margin-bottom: 8px;
}

/* ── Cards de especialidades ────────────────── */
.cm-esp-card {
  background: #fff;
  border-radius: 12px;
  padding: 16px 14px;
  text-align: center;
  border: 1.5px solid #f0f0f0;
  transition: border-color .3s, transform .3s, box-shadow .3s;
  height: 100%;
}
.cm-esp-card:hover {
  border-color: #fcc;
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(192,57,43,.12);
}
.cm-esp-icon {
  width: 46px; height: 46px;
  background: #fff0f0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 10px;
  font-size: 1.1rem;
  color: var(--cm-rojo);
}
.cm-esp-card span {
  font-size: .83rem;
  font-weight: 600;
  color: var(--cm-azul);
  line-height: 1.3;
}

/* ── Card de donaciones ─────────────────────── */
.cm-donacion-card {
  background: linear-gradient(135deg, var(--cm-rojo) 0%, var(--cm-rojo-d) 100%);
  border-radius: 16px;
  padding: 36px 32px;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.cm-donacion-card::after {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 200px; height: 200px;
  border-radius: 50%;
  background: rgba(255,255,255,.07);
  pointer-events: none;
}
.cm-donacion-card h5 { font-family: Georgia, serif; font-size: 1.3rem; }
.cm-donacion-card p  { color: rgba(255,255,255,.80); font-size: .95rem; line-height: 1.7; }

/* ── Proceso / pasos ────────────────────────── */
.cm-paso {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  margin-bottom: 24px;
}
.cm-paso:last-child { margin-bottom: 0; }
.cm-paso-num {
  width: 40px; height: 40px;
  min-width: 40px;
  background: var(--cm-rojo);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: .95rem;
  box-shadow: 0 4px 12px rgba(192,57,43,.30);
}
.cm-paso-texto h6 {
  font-weight: 700;
  color: var(--cm-azul);
  margin-bottom: 4px;
  font-size: .95rem;
}
.cm-paso-texto p {
  font-size: .88rem;
  color: var(--cm-texto);
  line-height: 1.6;
  margin: 0;
}

