.elementor-1044 .elementor-element.elementor-element-347dacb{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;}/* Start custom CSS */.ampa-page {
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.ampa-page .text-large {
  font-size: 18px;
  line-height: 1.8;
  color: #121212;
  margin-bottom: 0;
}

.ampa-page h2 {
  font-family: 'Josefin Sans', sans-serif;
  color: #17345A;
  text-align: center;
  margin-bottom: 0;
}

/* Junta directiva */
.ampa-team-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 32px;
}

.ampa-member {
  text-align: center;
  width: 140px;
}

.ampa-photo {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 12px;
  border: 3px solid #D1143E;
}

.ampa-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ampa-name {
  font-family: 'Josefin Sans', sans-serif;
  font-size: 14px;
  color: #17345A;
  margin-bottom: 4px;
}

.ampa-role {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #D1143E;
}

.ampa-divider {
  border: none;
  border-top: 2px solid #e2e7ef;
  margin: 8px 0;
}

/* Bloques */
.ampa-block {
  padding: 36px 40px;
  border-radius: 0 20px 0 20px;
  border-left: 5px solid #D1143E;
}

.ampa-block h3 {
  font-family: 'Josefin Sans', sans-serif;
  font-size: 22px;
  color: #D1143E;
  margin-bottom: 12px;
}

.ampa-block--cream {
  background-color: #F9F5F2;
}

.ampa-block--white {
  background-color: #ffffff;
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
  border-left-color: #17345A;
}

.ampa-block--white h3 {
  color: #17345A;
}

/* Bloque contacto */
.ampa-block--contact {
  text-align: center;
  border-left: none;
  border-radius: 0 20px 0 20px;
  background-color: #D1143E;
  box-shadow: 0 16px 48px rgba(209,20,62,0.35), 0 6px 20px rgba(0,0,0,0.10);
  padding: 56px 40px;
}

.ampa-block--contact h3 {
  color: #ffffff;
  font-size: 28px;
}

.ampa-block--contact p {
  color: rgba(255,255,255,0.9);
}

.ampa-email {
  font-size: 24px;
  font-weight: 700;
  color: #ffffff;
  margin: 12px 0 24px;
}

.ampa-social {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.ampa-social-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: #17345A;
  color: #ffffff;
  padding: 14px 28px;
  border-radius: 0 20px 0 20px;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  transition: background .3s, color .3s, transform .2s;
}

.ampa-social-btn:hover {
  background-color: #ffffff;
  color: #17345A;
  transform: translateY(-2px);
}

.ampa-social-note {
  font-size: 14px;
  color: rgba(255,255,255,0.75);
  margin-bottom: 0;
}

/* Grid actividades */
.services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 32px;
}

/* Responsive */
@media (max-width: 600px) {
  .ampa-page           { padding: 24px 16px; }
  .ampa-block          { padding: 24px 20px; }
  .ampa-block--contact { padding: 40px 24px; }
  .services-grid       { grid-template-columns: 1fr; }
  .ampa-social         { flex-direction: column; align-items: center; }
  .ampa-social-btn     { width: 100%; justify-content: center; }
}/* End custom CSS */