/* ACTEF · Sociedad e inclusión
   Pegar en Apariencia > Personalizar > CSS adicional.
   Este primer bloque solo cambia la entrada "Sociedad e inclusión". */

@media (min-width: 769px) {
  .post-7688 .inside-article {
    max-width: 900px;
    margin-inline: auto;
    padding: 0 4.5rem 4.5rem;
  }
}

.post-7688 .featured-image {
  margin: 0 -4.5rem 2.5rem;
  overflow: hidden;
}

.post-7688 .featured-image img {
  display: block;
  width: 100%;
  max-height: 440px;
  object-fit: cover;
}

.post-7688 .entry-header {
  max-width: 760px;
  margin: 0 auto 2.5rem;
  padding-bottom: 1.75rem;
  border-bottom: 1px solid #d9ded9;
}

.post-7688 .entry-title {
  color: #214d49;
  font-size: clamp(2.25rem, 5vw, 4.25rem);
  line-height: 1.05;
  letter-spacing: -0.035em;
  margin-bottom: .8rem;
}

.post-7688 .entry-meta {
  color: #64716c;
  font-size: .92rem;
  letter-spacing: .03em;
}

.post-7688 .entry-content {
  color: #29332f;
  font-size: 1.12rem;
  line-height: 1.78;
}

.post-7688 .entry-content > p {
  max-width: 720px;
  margin: 0 auto 1.35rem;
}

.post-7688 .entry-content > p:first-child {
  color: #214d49;
  font-family: Georgia, serif;
  font-size: clamp(1.38rem, 2.6vw, 1.72rem);
  line-height: 1.48;
  margin-bottom: 1.5rem;
}

.post-7688 .entry-content h2 {
  color: #214d49;
  font-size: clamp(1.6rem, 3.5vw, 2.3rem);
  line-height: 1.18;
  margin: 4.4rem auto 1.25rem;
  max-width: 720px;
  scroll-margin-top: 2rem;
}

.post-7688 .entry-content h3 {
  color: #9b3d3d;
  font-size: 1.15rem;
  letter-spacing: .01em;
  line-height: 1.35;
  margin: 2.45rem auto .7rem;
  max-width: 720px;
}

.post-7688 .entry-content h3 + p,
.post-7688 .entry-content h3 + div {
  margin-top: 0;
}

/* Índice: queda claramente separado del texto principal. */
.post-7688 .entry-content > h3:first-of-type,
.post-7688 .entry-content > h3:first-of-type + ul {
  max-width: 720px;
}

.post-7688 .entry-content > h3:first-of-type {
  background: #e8f0eb;
  border-radius: 10px 10px 0 0;
  color: #214d49;
  margin: 2.5rem auto 0;
  padding: 1.15rem 1.4rem .3rem;
}

.post-7688 .entry-content > h3:first-of-type + ul {
  background: #e8f0eb;
  border-radius: 0 0 10px 10px;
  list-style: none;
  margin: 0 auto 3.2rem;
  padding: .1rem 1.4rem 1.2rem;
}

.post-7688 .entry-content > h3:first-of-type + ul li {
  border-top: 1px solid rgba(33, 77, 73, .16);
  margin: 0;
  padding: .6rem 0;
}

.post-7688 .entry-content a {
  color: #8a3434;
  font-weight: 600;
  text-decoration-color: rgba(138, 52, 52, .4);
  text-underline-offset: .16em;
}

.post-7688 .entry-content strong {
  color: #214d49;
}

.post-7688 .entry-content > div {
  max-width: 720px;
  margin: 1.45rem auto;
}

.post-7688 .entry-content > div:has(> h2) {
  background: #f3f6f3;
  border-left: 5px solid #9b3d3d;
  border-radius: 0 10px 10px 0;
  margin-top: 3rem;
  padding: 1.5rem 1.6rem;
}

.post-7688 .entry-content > div:has(> h2) h2 {
  margin: 0 0 .75rem;
}

.post-7688 .entry-content > div:has(> h2) p:last-child {
  margin-bottom: 0;
}

.post-7688 .entry-content > h2:last-of-type {
  border-top: 2px solid #d9ded9;
  margin-top: 5rem;
  padding-top: 2.25rem;
}

@media (max-width: 768px) {
  .post-7688 .inside-article { padding: 0 1.4rem 2.5rem; }
  .post-7688 .featured-image { margin: 0 -1.4rem 1.6rem; }
  .post-7688 .entry-content { font-size: 1.05rem; }
}

.post-7688 .entry-content > ol:first-of-type {
  background: #e8f0eb;
  border-radius: 0 0 10px 10px;
  margin: 0 auto 3rem;
  padding: 1rem 1.6rem 1.4rem 2.8rem;
  max-width: 720px;
  box-sizing: border-box;
}
.post-7688 .entry-content > ol:first-of-type li { padding: .45rem 0; }
.post-7688 .entry-content blockquote {
  max-width: 720px;
  margin: 2rem auto;
  padding: 1.2rem 1.4rem;
  border-left: 4px solid #9b3d3d;
  background: #f8f3ee;
  font-family: Georgia, serif;
  font-size: 1.3rem;
  line-height: 1.55;
}
.post-7688 .entry-content .kt-blocks-info-box-title {
  font-size: 1.3rem;
  margin: 0 0 .8rem;
}
.post-7688 .kt-infobox-textcontent { min-width: 0; overflow-wrap: anywhere; }
@media (max-width: 480px) {
  .post-7688 .kt-blocks-info-box-link-wrap { flex-direction: column !important; padding: 1rem !important; }
  .post-7688 .kt-infobox-textcontent { width: 100%; box-sizing: border-box; }
}

.post-7688 .entry-content > p:first-of-type {
  color: #214d49;
  font-family: Georgia, serif;
  font-size: clamp(1.38rem, 2.6vw, 1.72rem);
  line-height: 1.48;
}
.post-7688 .entry-content > p:has(+ ol:first-of-type) {
  background: #e8f0eb;
  margin: 2rem auto 0;
  padding: 1rem 1.6rem 0;
  border-radius: 10px 10px 0 0;
  font-weight: 700;
  box-sizing: border-box;
}
.post-7688 .actef-provisional { margin: 1rem auto 2.5rem; max-width: 720px; }
.post-7688 .actef-provisional img { width: 100%; height: auto; display: block; border-radius: 8px; }
.post-7688 .actef-provisional figcaption { padding: .7rem 1rem; background: #f8f3ee; color: #694f43; font-size: .85rem; line-height: 1.4; border-bottom: 1px dashed #ad7c64; }

/* Para los próximos artículos: cambia .post-7688 por la clase de su entrada
   o duplica este bloque y sustituye solo ese selector. */

