/* Efemérides y cronología familiar: estilos que conservan la paleta institucional. */
.history-date-form{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px}
.history-date-form input{width:100%}
.calendar-historical{border-left-color:var(--leaf);background:#EAF4EE;color:#275B3E}
.historical-timeline{display:grid;gap:17px;padding:5px 0 22px;position:relative}
.history-card{display:grid;grid-template-columns:minmax(100px,205px) 1fr;gap:22px;background:#FFFDF9;border:1px solid var(--line);border-radius:14px;padding:22px}
.history-year{font:700 clamp(1rem,2.5vw,1.36rem) Georgia,serif;color:var(--wine);overflow-wrap:anywhere;align-self:start}
.history-card-body{min-width:0}
.history-card-body h2{font:700 clamp(1.15rem,2.4vw,1.5rem) Georgia,serif;line-height:1.3;margin:3px 0 10px}
.history-card-body h2 a{color:var(--brown);text-decoration:none}
.history-card-body h2 a:hover,.history-card-body h2 a:focus-visible{text-decoration:underline}
.history-card-body p{font-size:.9rem;color:var(--muted);margin:7px 0}
.history-type{text-transform:uppercase;letter-spacing:.055em;font-weight:750;font-size:.73rem!important;color:var(--leaf)!important}
.history-place{font-weight:700}
.history-source{border-top:1px solid var(--line);padding-top:10px}
.history-more{font-weight:750;display:inline-block;margin-top:9px}
.history-filter{display:flex;align-items:center;gap:12px;flex-wrap:wrap;background:#FFFDF9;border:1px solid var(--line);padding:17px 20px;border-radius:13px;margin-bottom:25px}
.history-filter select{min-width:180px;max-width:100%}
.history-filter button{cursor:pointer}
.history-square{background:#EAF4EE}
.history-linked{margin:35px 0 0}
.history-linked h2{font-family:Georgia,serif}
@media(max-width:800px){.history-date-form{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:640px){.history-card{grid-template-columns:1fr;gap:8px;padding:17px}.history-year{font-size:1.18rem}.history-date-form{grid-template-columns:1fr 1fr}.history-filter{align-items:stretch}.history-filter select{width:100%}.history-filter label{width:100%}.history-filter button{width:100%}}
