/* Start custom CSS for html, class: .elementor-element-e029649 *//* ============================================
   ZERO POSTING — IPSIA Psicólogos Madrid
   CSS personalizado de la página
   Dónde pegarlo en Elementor:
   Icono ⚙️ (abajo izquierda) → CSS personalizado
   ============================================ */

/* --- Variables de color IPSIA --- */
.zp-wrap {
  --azul:       #1a5276;
  --azul-med:   #2471a3;
  --azul-claro: #d6eaf8;
  --azul-pale:  #eaf4fb;
  --blanco:     #ffffff;
  --gris:       #2c3e50;
  --gris-sub:   #5d6d7e;
  --gris-borde: #d5e8f3;
  --sombra:     0 2px 12px rgba(26,82,118,.10);
  max-width: 820px;
  margin: 0 auto;
  font-size: 17px;
  line-height: 1.8;
  color: var(--gris);
}

/* --- Hero --- */
.zp-hero {
  background: linear-gradient(135deg, #1a5276 0%, #2471a3 100%);
  border-radius: 8px;
  padding: 2.8rem 2.2rem 2.2rem;
  color: #fff;
  margin-bottom: 2rem;
}
.zp-cat {
  display: inline-block;
  background: rgba(255,255,255,.18);
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 20px;
  padding: .2rem .85rem;
  font-size: .7rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #d6eaf8;
}
.zp-hero h1 {
  font-size: clamp(1.7rem, 4vw, 2.5rem) !important;
  font-weight: 900 !important;
  line-height: 1.2 !important;
  color: #fff !important;
  margin-bottom: .8rem !important;
  border: none !important;
  padding: 0 !important;
}
.zp-hero-sub {
  font-size: 1rem;
  color: rgba(255,255,255,.85);
  line-height: 1.6;
}
.zp-authors {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  margin-top: 1.4rem;
}
.zp-author {
  display: flex;
  align-items: center;
  gap: .45rem;
  background: rgba(255,255,255,.12);
  border-radius: 30px;
  padding: .25rem .8rem .25rem .35rem;
}
.zp-av {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: rgba(255,255,255,.25);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: .7rem; color: #fff;
  flex-shrink: 0;
}
.zp-author-txt { font-size: .75rem; color: rgba(255,255,255,.9); line-height: 1.3; }
.zp-author-txt strong { display: block; font-weight: 700; }

/* --- Índice --- */
.zp-toc {
  background: #eaf4fb;
  border-left: 4px solid #2471a3;
  border-radius: 0 6px 6px 0;
  padding: 1.1rem 1.4rem;
  margin-bottom: 2rem;
}
.zp-toc-title {
  font-weight: 800; font-size: .75rem;
  text-transform: uppercase; letter-spacing: .1em;
  color: #1a5276; margin-bottom: .6rem;
}
.zp-toc ol { padding-left: 1.2rem; }
.zp-toc li { margin-bottom: .25rem; }
.zp-toc a { color: #2471a3; font-size: .9rem; font-weight: 600; text-decoration: none; }
.zp-toc a:hover { text-decoration: underline; }

/* --- Lede --- */
.zp-lede {
  font-size: 1.08rem;
  color: #5d6d7e;
  font-style: italic;
  border-left: 3px solid #d6eaf8;
  padding-left: 1.1rem;
  margin-bottom: 2rem;
  line-height: 1.7;
}

/* --- Headings --- */
.zp-wrap h2 {
  font-size: 1.45rem !important;
  font-weight: 900 !important;
  color: #1a5276 !important;
  margin: 2.5rem 0 .9rem !important;
  padding-bottom: .45rem !important;
  border-bottom: 2px solid #d6eaf8 !important;
  line-height: 1.3 !important;
}
.zp-wrap p { margin-bottom: 1.1rem; }

/* --- Stats --- */
.zp-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: .9rem;
  margin: 1.6rem 0;
}
.zp-stat {
  background: #fff;
  border: 1px solid #d5e8f3;
  border-radius: 6px;
  padding: 1.1rem;
  text-align: center;
  box-shadow: 0 2px 10px rgba(26,82,118,.08);
}
.zp-num {
  display: block;
  font-size: 2rem;
  font-weight: 900;
  color: #1a5276;
  line-height: 1;
  margin-bottom: .3rem;
}
.zp-label { font-size: .72rem; color: #5d6d7e; line-height: 1.4; }

/* --- Voice blocks --- */
.zp-voice {
  border-radius: 6px;
  overflow: hidden;
  margin: 1.6rem 0;
  box-shadow: 0 2px 10px rgba(26,82,118,.08);
}
.zp-voice-hd {
  padding: .7rem 1.1rem;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #fff;
}
.zp-voice-bd {
  padding: 1.1rem 1.3rem;
  font-size: .95rem;
  line-height: 1.75;
  border: 1px solid;
  border-top: none;
  border-radius: 0 0 6px 6px;
}
.zp-voice-bd p:last-child { margin-bottom: 0; }

.zp-mp .zp-voice-hd { background: #1a5276; }
.zp-mp .zp-voice-bd { background: #eaf4fb; border-color: #1a5276; }

.zp-mf .zp-voice-hd { background: #2471a3; }
.zp-mf .zp-voice-bd { background: #edf5fb; border-color: #2471a3; }

.zp-evo .zp-voice-hd { background: #1a7a6e; }
.zp-evo .zp-voice-bd { background: #edf7f5; border-color: #1a7a6e; }

.zp-pp .zp-voice-hd { background: #2e4057; }
.zp-pp .zp-voice-bd { background: #f0f2f5; border-color: #2e4057; }

/* --- Pull quote --- */
.zp-quote {
  background: #1a5276;
  color: #fff;
  border-radius: 6px;
  padding: 1.8rem 1.8rem 1.4rem 2.2rem;
  margin: 1.8rem 0;
  font-style: italic;
  font-size: 1.12rem;
  line-height: 1.55;
  position: relative;
}
.zp-quote::before {
  content: '\201C';
  position: absolute;
  top: .1rem; left: .7rem;
  font-size: 4.5rem;
  color: rgba(255,255,255,.18);
  line-height: 1;
}
.zp-quote-attr {
  display: block;
  margin-top: .8rem;
  font-style: normal;
  font-size: .68rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: #d6eaf8;
}

/* --- Info box --- */
.zp-infobox {
  background: #d6eaf8;
  border-left: 4px solid #2471a3;
  border-radius: 0 6px 6px 0;
  padding: 1.1rem 1.3rem;
  margin: 1.6rem 0;
  font-size: .93rem;
}
.zp-infobox strong {
  display: block;
  color: #1a5276;
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-bottom: .4rem;
}

/* --- CTA --- */
.zp-cta {
  background: linear-gradient(135deg, #1a5276 0%, #2471a3 100%);
  border-radius: 8px;
  padding: 2rem;
  text-align: center;
  margin: 2.5rem 0 1rem;
  color: #fff;
}
.zp-cta h3 {
  color: #fff !important;
  font-size: 1.2rem !important;
  margin-bottom: .6rem !important;
  border: none !important;
  padding: 0 !important;
}
.zp-cta p { color: rgba(255,255,255,.85); font-size: .93rem; margin-bottom: 1.1rem; }
.zp-btn {
  display: inline-block;
  background: #fff;
  color: #1a5276 !important;
  font-weight: 800;
  font-size: .88rem;
  padding: .7rem 1.8rem;
  border-radius: 30px;
  text-decoration: none !important;
  box-shadow: 0 3px 12px rgba(0,0,0,.2);
  transition: transform .15s;
}
.zp-btn:hover { transform: translateY(-2px); }

/* --- Tags --- */
.zp-tags {
  margin-top: 2rem;
  padding-top: .9rem;
  border-top: 1px solid #d5e8f3;
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  align-items: center;
}
.zp-tag-label {
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  font-weight: 700;
  color: #5d6d7e;
}
.zp-tag {
  background: #eaf4fb;
  color: #2471a3 !important;
  border: 1px solid #d5e8f3;
  border-radius: 20px;
  padding: .18rem .7rem;
  font-size: .75rem;
  font-weight: 600;
  text-decoration: none !important;
}
.zp-tag:hover { background: #d6eaf8; }

/* --- Responsive --- */
@media (max-width: 600px) {
  .zp-hero { padding: 1.8rem 1.1rem 1.5rem; }
  .zp-wrap h2 { font-size: 1.2rem !important; }
  .zp-quote { font-size: 1rem; padding: 1.4rem 1.1rem 1.1rem 1.6rem; }
  .zp-stats { grid-template-columns: 1fr 1fr; }
}/* End custom CSS */