/* Photographic additions scoped to Historia; originals remain uncropped. */
.history-editorial .history-added-photo { position:relative; isolation:isolate; padding:10px; background:#fffdf5; color:#082c23; box-shadow:0 20px 45px #082c2326; }
.history-added-photo::before { content:""; position:absolute; inset:12px -12px -12px 12px; border:2px solid #8fa660; z-index:-1; pointer-events:none; }
.history-editorial .history-added-photo img { height:auto; width:100%; object-fit:contain; }
.history-added-photo a { display:block; }
.history-editorial .history-added-photo figcaption { padding:13px 4px 5px; border:0; line-height:1.5; }
.history-notes #capitulo-internacional,.history-notes #capitulo-igualdad { grid-column:1 / -1; }
.history-notes #capitulo-internacional { padding-block:42px 70px; }
#capitulo-internacional .history-new-gallery { grid-template-columns:1fr 1fr; gap:clamp(30px,6vw,85px); max-width:1050px; margin:38px auto 0; padding-inline:12px; }
#capitulo-internacional .history-added-photo:nth-child(n) { grid-column:auto; margin:0; transform:rotate(-1.4deg); }
#capitulo-internacional .history-added-photo:nth-child(2) { margin-top:95px; transform:rotate(1.5deg); }
#capitulo-forlan .history-new-gallery,#capitulo-recuerdo .history-new-gallery { display:block; margin:30px 12px 20px 0; }
#capitulo-forlan .history-added-photo { transform:rotate(-1deg); }
#capitulo-recuerdo .history-added-photo { max-width:420px; margin-inline:auto; transform:rotate(1deg); }
#capitulo-igualdad .history-new-gallery { display:block; max-width:1100px; margin:32px auto 25px; }
#capitulo-igualdad .history-added-photo::before { border-color:#653b80; }
#capitulo-juvenil .history-added-photo { margin-top:30px; }
@media(max-width:760px) {
 .history-editorial .history-added-photo { padding:6px; }
 .history-added-photo::before { inset:7px -7px -7px 7px; }
 #capitulo-internacional .history-new-gallery { grid-template-columns:1fr; gap:34px; padding:0 6px; }
 #capitulo-internacional .history-added-photo:nth-child(2) { margin-top:0; }
 #capitulo-juvenil .history-added-photo:nth-child(n) { grid-column:1 / -1; }
 #capitulo-igualdad .history-new-gallery { margin-right:7px; }
}

.history-notes #capitulo-valores { grid-column:1 / -1; display:grid; grid-template-columns:1fr 1fr; gap:clamp(28px,6vw,80px); align-items:center; padding-block:55px; }
#capitulo-valores .history-new-gallery { display:block; margin:0 12px 0 0; }
#capitulo-valores .history-added-photo { max-width:500px; margin:auto; transform:rotate(-1deg); }
@media(max-width:760px){.history-notes #capitulo-valores{grid-template-columns:1fr;} #capitulo-valores .history-new-gallery{margin:0 7px 0 0;}}
