/* Editorial archive, scoped to the bottom F1 section. No remote media or scripts. */
.f1-history{margin-top:3rem;padding-top:2rem;border-top:1px solid var(--line)}
.f1-history-heading{max-width:55rem;margin-bottom:1.4rem}
.f1-history-heading .eyebrow{color:#ff725e}
.f1-history-heading h2{font-size:clamp(1.65rem,3vw,2.5rem);line-height:1.08;letter-spacing:-.035em}
.f1-history-heading>p:last-child{color:#aaa;line-height:1.6;margin-top:.75rem;max-width:70ch}
.f1-history-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1rem}
.history-season{--history-color:#d3b582;--history-wash:#302719;min-width:0;display:flex;flex-direction:column;overflow:hidden;border:1px solid #303030;border-radius:.85rem;background:#111}
.history-art{position:relative;isolation:isolate;display:flex;flex-direction:column;justify-content:space-between;gap:1rem;min-height:10rem;padding:1.25rem;background:linear-gradient(135deg,var(--history-wash),#111 90%);overflow:hidden;border-bottom:1px solid #ffffff14}
.history-art:before{content:"";position:absolute;z-index:-1;inset:-50% -10%;transform:rotate(-32deg);background:repeating-linear-gradient(90deg,transparent 0 30px,var(--history-color) 31px 32px,transparent 33px 62px);opacity:.12;mask-image:linear-gradient(90deg,transparent,#000)}
.history-art:after{content:"";position:absolute;z-index:-1;width:7rem;height:7rem;right:-1rem;bottom:-1.3rem;transform:rotate(-12deg);opacity:.08;background:repeating-conic-gradient(var(--history-color) 0% 25%,transparent 0% 50%) 0 0/1.5rem 1.5rem}
.history-year{font-size:clamp(3.4rem,5.8vw,6.5rem);font-weight:850;letter-spacing:-.075em;line-height:.9;color:var(--history-color);font-variant-numeric:lining-nums tabular-nums}
.history-moment{font-size:.61rem;font-weight:800;letter-spacing:.07em;line-height:1.5;color:#e4e4e4}
.history-copy{display:flex;flex:1;flex-direction:column;padding:1.15rem}
.history-kicker{font-size:.66rem;font-weight:750;letter-spacing:.04em;color:var(--history-color);margin-bottom:.5rem}
.history-copy h3{font-size:1.24rem;letter-spacing:-.025em;line-height:1.15;margin:0 0 .7rem}
.history-copy>p:not(.history-kicker){font-size:.88rem;color:#b5b5b5;line-height:1.6;margin-bottom:1.2rem}
.history-actions{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:.65rem;margin-top:auto}
.history-actions button{display:inline-flex;align-items:center;gap:.8rem;font-size:.8rem;font-weight:750;min-height:2.75rem;border-color:#494949;background:#1b1b1b}
.history-actions button span{color:var(--history-color)}
.history-actions button:hover{background:#292929;border-color:var(--history-color)}
.history-actions a{font-size:.7rem;color:#aaa;text-underline-offset:.25em;padding:.65rem 0}
.history-actions a:hover{color:#fff}
.history-actions :is(a,button):focus-visible{outline:2px solid var(--history-color);outline-offset:3px}
.history-duel{--history-color:#f6a777;--history-wash:#442419}
.history-duel .history-art{background:linear-gradient(115deg,#3c251b 0 49.5%,#694332 49.6% 50%,#242c39 50.1%)}
.history-dominance{--history-color:#ff8b78;--history-wash:#4b201b}
.history-memory{--history-color:#d2d2ca;--history-wash:#292a28}
.history-memory .history-art:after{background:none;border-right:3px solid #d2d2ca;opacity:.2;transform:rotate(28deg);border-radius:0}
.history-memory .history-art:before{opacity:.035}
.history-ferrari{--history-color:#ff7669;--history-wash:#4a1518}
.history-debut{--history-color:#a2c9ef;--history-wash:#172c43}
.history-victory{--history-color:#f2cf7b;--history-wash:#3d3020}
.history-debut .history-art:after,.history-victory .history-art:after{background:linear-gradient(#fff 0 50%,#d94253 50%);opacity:.18;bottom:1.3rem;right:1.3rem;width:3.4rem;height:2.1rem;transform:rotate(-8deg)}
.history-finale{--history-color:#c1a7f5;--history-wash:#302347}
.f1-history-note{font-size:.78rem;line-height:1.6;color:#999;margin-top:1.25rem;max-width:100ch}
@media(max-width:1150px){.f1-history-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.history-year{font-size:5.5rem}}
@media(max-width:560px){.f1-history{margin-top:2rem;padding-top:1.5rem}.f1-history-grid{grid-template-columns:minmax(0,1fr)}.history-art{min-height:9rem}.history-year{font-size:5rem}.history-copy{padding:1.1rem}}
