.history-pages{--paper:#f7eedb;--ink:#183a54;--accent:#a5423e;max-width:1200px;margin:0 auto 4rem;color:var(--ink)}
.history-masthead{position:relative;overflow:hidden;text-align:center;margin:1rem 0 1.7rem;padding:2.7rem 1.4rem 3.1rem;border:1px solid #dcccae;border-radius:24px;background:radial-gradient(circle at 75% 15%,#fff5d6,transparent 35%),repeating-linear-gradient(0deg,transparent 0 33px,#d9d0bc4d 34px),var(--paper);box-shadow:0 14px 30px #25465c17}
.history-masthead::after{content:none;display:none}
.history-overline{margin:0 0 .7rem;font:700 .75rem/1.4 sans-serif;letter-spacing:.19em;color:#a35443}
.history-masthead h1{font:800 clamp(2.4rem,6vw,5rem)/.99 Georgia,serif;letter-spacing:-.035em;margin:.2rem 0 1rem}.history-masthead h1 em{font-weight:400;color:#b95347}
.history-masthead>p:last-child{max-width:620px;margin:auto;font:1.1rem/1.55 Georgia,serif}
.history-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1.6rem}.history-cover{display:block;overflow:hidden;border-radius:18px;text-decoration:none;color:var(--ink);background:#f5ebd8;box-shadow:0 11px 24px #14324d26;border:1px solid #dfcfae;transition:transform .2s,box-shadow .2s}.history-cover:hover,.history-cover:focus-visible{transform:translateY(-5px);box-shadow:0 18px 30px #14324d35}.history-cover img{display:block;width:100%;height:auto;aspect-ratio:3/2;object-fit:cover}.history-cover-bottom{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:1.1rem 1.3rem 1.2rem}.history-cover-bottom>span{display:grid;gap:.15rem}.history-cover-bottom small{text-transform:uppercase;font-size:.71rem;font-weight:800;letter-spacing:.11em;color:#a05043}.history-cover-bottom strong{font:700 clamp(1.3rem,2.5vw,1.85rem)/1.1 Georgia,serif}.history-cover-bottom>span>span{font-size:.86rem}.history-cover-bottom b{display:grid;place-items:center;flex:none;width:38px;height:38px;border-radius:50%;color:white;background:#ba5b46;font-size:1.4rem}
.history-art-note{text-align:center;font-size:.84rem;color:#627380;margin:1.7rem auto 0;max-width:760px}
.history-detail{--accent:#af444a}.history-ferries{--accent:#876100}.history-meridionale{--accent:#923c35}.history-moby{--accent:#145ba7}
.history-back{display:inline-block;margin:.4rem 0 1rem;color:#124d73;font-weight:750;text-decoration:none}.history-back:hover{text-decoration:underline}.history-detail-header{text-align:center;border-top:4px double #beaf92;padding:1.5rem .7rem 1rem}.history-detail-header h1{font:700 clamp(2.2rem,5vw,4.2rem)/1.05 Georgia,serif;margin:.2rem 0 .45rem;color:#273e4b}.history-detail-header>p:last-child{color:var(--accent);font:italic 1.3rem Georgia,serif;margin:0}
.history-first-page{margin:0 auto;max-width:1020px;background:#eee1c4;padding:clamp(6px,1vw,12px);box-shadow:0 17px 33px #142e4536;transform:rotate(-.4deg)}.history-first-page img{display:block;width:100%;height:auto;border-radius:5px}.history-first-page figcaption{text-align:center;font:italic .85rem/1.5 Georgia,serif;padding:.7rem .4rem .25rem;color:#644f40}
.history-story{max-width:900px;margin:2rem auto;padding:clamp(1.3rem,4vw,3.5rem);background:radial-gradient(circle at 100% 0,#fff6db,transparent 40%),var(--paper);border:1px solid #dccbad;box-shadow:0 12px 28px #14324d18;border-radius:8px}.history-story-heading{display:flex;align-items:center;gap:1rem;border-bottom:2px solid #cdbb98;padding-bottom:1rem}.history-story-heading>span{font-size:2.6rem}.history-story-heading p{margin:0;color:var(--accent);font-size:.75rem;font-weight:800;letter-spacing:.13em}.history-story-heading h2{margin:.2rem 0 0;font:700 clamp(2rem,4vw,3.2rem)/1 Georgia,serif}.history-lead{font:1.23rem/1.65 Georgia,serif}.history-context{background:#fff8e9;border-left:4px solid var(--accent);padding:1rem 1.2rem;line-height:1.6}.history-timeline-title{font:700 2rem Georgia,serif;margin:2.3rem 0 1rem}.history-timeline{padding:0;margin:0;list-style:none;border-left:2px dashed #c5ac86}.history-timeline li{position:relative;display:grid;grid-template-columns:120px 1fr;gap:1rem;padding:0 0 1.7rem 1.3rem}.history-timeline li:before{content:'';position:absolute;left:-7px;top:.4rem;width:12px;height:12px;border-radius:50%;background:var(--accent)}.history-timeline time{font:700 1.25rem Georgia,serif;color:var(--accent)}.history-timeline h3{font:700 1.25rem Georgia,serif;margin:0 0 .2rem}.history-timeline p{line-height:1.55;margin:0}.history-sources{border-top:1px solid #cdbb98;margin-top:1rem;padding-top:1.2rem}.history-sources h2{font:700 1.45rem Georgia,serif}.history-sources ul{padding-left:1.3rem}.history-sources li{margin:.6rem 0}.history-sources a{color:#095987}
.history-next{text-align:center;max-width:900px;margin:2rem auto}.history-next h2{font:700 1.7rem Georgia,serif}.history-next>div{display:flex;flex-wrap:wrap;justify-content:center;gap:.65rem}.history-next a{border-radius:99px;background:#fff3d7;padding:.7rem 1.2rem;color:#123f5f;text-decoration:none;font-weight:700;border:1px solid #d7c7a5}.history-next a:hover{background:#fce4a8}
@media(max-width:680px){.history-grid{grid-template-columns:1fr;gap:1.1rem}.history-masthead{padding:2rem 1.1rem}.history-cover-bottom{padding:.85rem 1rem}.history-story{margin:1.6rem 0;padding:1.15rem}.history-timeline li{grid-template-columns:1fr;gap:.2rem;padding-bottom:1.4rem}.history-first-page{transform:none}.history-detail-header{padding-top:1.2rem}}
