/* Archive templates: Archives, Histoire, Saga and Les bateaux. */
#default-page.heritage-archive {
    --heritage-ink: #14233f;
    --heritage-muted: #566174;
    --heritage-line: #dce0e5;
    --heritage-paper: #f4f3ef;
    --heritage-accent: #ffce22;
    max-width: 1600px;
    margin: 0 auto;
    padding: 130px clamp(24px, 5vw, 80px) 0;
    color: var(--heritage-ink);
    background: #fff;
    font-size: 16px;
    line-height: 1.65;
}
.heritage-archive [hidden] { display: none !important; }
.heritage-archive a { color: inherit; }
.heritage-archive a:focus-visible,
.heritage-archive summary:focus-visible,
.heritage-archive input:focus-visible,
.heritage-archive button:focus-visible,
.heritage-archive select:focus-visible {
    outline: 3px solid #997400;
    outline-offset: 5px;
}
.heritage-intro { padding: 35px 0 40px; border-top: 2px solid var(--heritage-ink); }
.heritage-eyebrow { font-size: 12px; font-weight: 500; letter-spacing: .15em; text-transform: uppercase; }
.heritage-eyebrow span { margin: 0 12px; color: #8a92a0; }
.heritage-intro h1 { margin: 20px 0; font-size: clamp(44px, 6vw, 86px); font-weight: 300; line-height: 1.08; letter-spacing: -.04em; }
.heritage-lead { max-width: 750px; font-size: clamp(17px, 1.6vw, 21px); color: var(--heritage-muted); }
.heritage-intro .breadcrumbs { padding: 0 !important; margin: 25px 0 0 !important; font-size: 12px; color: var(--heritage-muted); }
.heritage-index { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-bottom: 80px; border-top: 1px solid var(--heritage-line); border-bottom: 1px solid var(--heritage-line); }
.heritage-index a { padding: 24px 20px; font-size: 13px; line-height: 1.5; border-left: 1px solid var(--heritage-line); }
.heritage-index a:first-child { border-left: 0; padding-left: 0; }
.heritage-index a:hover { background: var(--heritage-paper); }
.heritage-index a span { display: block; margin-bottom: 6px; font-size: 20px; font-weight: 500; }
.heritage-index-people { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.heritage-era { display: grid; grid-template-columns: 1fr 2fr; gap: clamp(30px, 5vw, 80px); padding-bottom: 65px; scroll-margin-top: 130px; }
.heritage-era-heading h2 { max-width: 280px; margin-top: 12px; font-size: clamp(25px, 2.8vw, 36px); font-weight: 300; line-height: 1.25; }
.heritage-events { border-left: 1px solid var(--heritage-line); }
.heritage-event { position: relative; display: grid; grid-template-columns: minmax(100px, 1fr) 2fr; gap: 24px; padding: 0 0 38px 30px; }
.heritage-event::before { content: ''; position: absolute; left: -5px; top: 7px; width: 9px; height: 9px; border-radius: 50%; background: var(--heritage-accent); box-shadow: 0 0 0 4px #fff; }
.heritage-event time { font-size: 15px; font-weight: 500; }
.heritage-event h3 { margin-bottom: 8px; font-size: 20px; font-weight: 500; line-height: 1.35; }
.heritage-event p { font-size: 15px; color: var(--heritage-muted); }
.heritage-portrait { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 40px 70px; margin-bottom: 90px; padding-bottom: 70px; border-bottom: 1px solid var(--heritage-line); scroll-margin-top: 130px; }
.heritage-portrait-image { position: relative; align-self: start; background: var(--heritage-paper); }
.heritage-portrait-image img { width: 100%; height: 420px; object-fit: cover; object-position: center top; }
.heritage-portrait-text { align-self: center; }
.heritage-portrait-text h2,
.heritage-portrait-text .heritage-portrait-year { font-size: clamp(30px, 3.2vw, 46px); font-weight: 300; line-height: 1.15; letter-spacing: -.025em; }
.heritage-portrait-text h2 { margin: 14px 0 25px; }
.heritage-portrait-text .heritage-portrait-year { margin: 0 0 14px; }
.heritage-portrait-text > p:not(.heritage-eyebrow):not(.heritage-portrait-year) { margin-top: 18px; color: var(--heritage-muted); }
.heritage-gallery { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.heritage-gallery a { display: block; background: var(--heritage-paper); }
.heritage-gallery img { width: 100%; height: 230px; object-fit: contain; }
.heritage-boat-filters { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) auto; gap: 25px; align-items: end; margin: 0 0 40px; padding: 25px 0; border-top: 1px solid var(--heritage-line); border-bottom: 1px solid var(--heritage-line); }
.heritage-boat-filters label { display: flex; flex-direction: column; gap: 8px; font-size: 12px; font-weight: 500; }
.heritage-boat-filters input,
.heritage-boat-filters select { width: 100%; min-width: 0; min-height: 48px; padding: 12px 14px; border: 1px solid var(--heritage-line); border-radius: 0; background: #fff; color: var(--heritage-ink); font: inherit; font-size: 14px; }
.heritage-boat-filters input::placeholder { color: #647084; opacity: 1; }
.heritage-boat-filters [role="status"] { min-width: 90px; padding: 12px 0; font-size: 13px; color: var(--heritage-muted); }
.heritage-boat-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 45px 30px; align-items: start; padding-bottom: 60px; }
.heritage-boat { min-width: 0; border-bottom: 1px solid var(--heritage-line); scroll-margin-top: 130px; }
.heritage-boat-image { position: relative; background: #060A23; }
.heritage-boat-image img { width: 100%; height: 285px; padding: 20px; object-fit: contain; }
.heritage-boat-year { position: absolute; z-index: 1; top: 15px; left: 15px; padding: 3px 10px; background: #ffce22; font-size: 13px; font-weight: 500; }
.heritage-boat-body { padding: 23px 0 0; }
.heritage-boat h2 { font-size: 24px; font-weight: 500; line-height: 1.2; }
.heritage-boat-type { min-height: 3em; margin: 10px 0 16px; font-size: 13px; color: var(--heritage-muted); }
.heritage-boat-body > p:not(.heritage-boat-type) { font-size: 14px; }
.heritage-boat-specs { margin-top: 20px; }
.heritage-boat-specs summary { min-height: 48px; padding: 12px 0; cursor: pointer; font-size: 13px; font-weight: 500; }
.heritage-boat-specs summary::marker { color: var(--heritage-ink); }
.heritage-boat-specs h3 { margin: 16px 0 8px; font-size: 15px; font-weight: 500; }
.heritage-boat-specs dl { padding: 0 0 20px; font-size: 12px; }
.heritage-boat-specs dl > div { display: grid; grid-template-columns: 1fr 1.2fr; gap: 12px; padding: 9px 0; border-top: 1px solid var(--heritage-line); overflow-wrap: anywhere; }
.heritage-boat-specs dt { color: var(--heritage-muted); }
.heritage-boat-specs dd { margin: 0; }
.heritage-no-results { padding: 25px 0 65px; }
.heritage-editor-content { padding: 0 0 60px; }
.heritage-source { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 15px; padding: 25px 0 40px; border-top: 1px solid var(--heritage-line); color: var(--heritage-muted); font-size: 12px; }
.heritage-source a { text-decoration: underline; text-underline-offset: 4px; }
.heritage-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.heritage-news-archive { padding: 10px 0 60px; }
.heritage-news-search { display: flex; align-items: center; flex-wrap: wrap; gap: 20px 30px; margin-bottom: 40px; padding: 25px 0; border-top: 1px solid var(--heritage-line); border-bottom: 1px solid var(--heritage-line); }
.heritage-news-search-field { flex: 1 1 320px; min-width: 0; }
.heritage-news-search label { display: block; margin-bottom: 8px; font-size: 13px; font-weight: 500; }
.heritage-news-search input[type="search"] { box-sizing: border-box; width: 100%; min-width: 0; min-height: 48px; padding: 12px 14px; border: 1px solid var(--heritage-line); border-radius: 0; background: #fff; color: var(--heritage-ink); font: inherit; font-size: 14px; }
.heritage-news-search input::placeholder { color: var(--heritage-muted); opacity: 1; }
.heritage-news-search-field p { margin-top: 8px; color: var(--heritage-muted); font-size: 12px; }
.heritage-news-search-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 16px; }
.heritage-news-search button { min-height: 48px; padding: 12px 22px; border: 1px solid var(--heritage-ink); border-radius: 0; background: var(--heritage-ink); color: #fff; font: inherit; font-size: 13px; cursor: pointer; }
.heritage-news-search button:hover { background: var(--heritage-paper); color: var(--heritage-ink); }
.heritage-news-search-actions a { font-size: 13px; text-decoration: underline; text-underline-offset: 4px; }
.heritage-news-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 45px 30px; scroll-margin-top: 130px; }
.heritage-news-card { min-width: 0; }
.heritage-news-card > a { display: flex; flex-direction: column; height: 100%; }
.heritage-news-image { display: grid; aspect-ratio: 3 / 2; overflow: hidden; background: var(--heritage-paper); }
.heritage-news-image img { width: 100%; height: 100%; object-fit: cover; }
.heritage-news-placeholder { display: flex; flex-direction: column; align-items: center; justify-content: center; color: var(--heritage-muted); font-size: clamp(26px, 3vw, 42px); font-weight: 300; letter-spacing: .08em; text-transform: uppercase; }
.heritage-news-placeholder span { margin-top: 6px; font-size: 11px; letter-spacing: .24em; }
.heritage-news-body { display: flex; flex: 1; flex-direction: column; align-items: flex-start; padding: 22px 0; }
.heritage-news-body time { display: flex; align-items: center; gap: 9px; color: var(--heritage-muted); font-size: 12px; }
.heritage-news-body time::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--heritage-accent); }
.heritage-news-tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 12px 0 0; padding: 0; list-style: none; }
.heritage-news-tags li { max-width: 100%; padding: 3px 8px; background: var(--heritage-paper); color: var(--heritage-muted); font-size: 11px; line-height: 1.5; overflow-wrap: anywhere; }
.heritage-news-body h2 { margin: 12px 0 24px; font-size: clamp(16px, 1.8vw, 20px); font-weight: 500; line-height: 1.3; overflow-wrap: anywhere; }
.heritage-news-read { display: flex; align-items: center; justify-content: flex-end; gap: 10px; width: 100%; margin-top: auto; padding-bottom: 3px; border-bottom: 1px solid var(--heritage-ink); font-size: 16px; line-height: 1.5; text-transform: uppercase; opacity: 0; transition: opacity .3s ease; }
.heritage-news-read > span { flex: 0 0 24px; width: 24px; height: 24px; background: url('../img/arrow-down-right-16.svg') center / contain no-repeat; }
.heritage-news-card:hover .heritage-news-read,
.heritage-news-card a:focus-visible .heritage-news-read { opacity: 1; }
.heritage-news-pagination { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 20px; margin-top: 45px; }
.heritage-news-pagination a { display: inline-flex; align-items: center; justify-content: center; gap: 24px; min-height: 48px; padding: 12px 22px; border: 1px solid var(--heritage-ink); font-size: 13px; text-align: center; }
.heritage-news-pagination a:hover { background: var(--heritage-paper); }
.heritage-news-pagination a[aria-disabled="true"] { opacity: .6; cursor: progress; }
.heritage-news-status { min-height: 2em; margin-top: 18px; text-align: center; color: var(--heritage-muted); font-size: 13px; }
@media (prefers-reduced-motion: reduce) {
    .heritage-news-read { transition: none; }
}
@media (max-width: 1100px) {
    .heritage-news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .heritage-boat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .heritage-era { grid-template-columns: 1fr 2fr; gap: 30px; }
    .heritage-event { grid-template-columns: 1fr; gap: 8px; }
    .heritage-portrait { gap: 30px; }
    .heritage-portrait-image img { height: 360px; }
    .heritage-gallery img { height: 190px; }
}
@media (max-width: 700px) {
    .heritage-news-grid { grid-template-columns: 1fr; gap: 30px; }
    #default-page.heritage-archive { padding: 105px 22px 0; }
    .heritage-intro { padding: 25px 0 30px; }
    .heritage-index { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-bottom: 45px; }
    .heritage-index a { padding: 18px 12px; border: 0; }
    .heritage-index a:first-child { padding-left: 12px; }
    .heritage-index a:nth-child(n+3) { border-top: 1px solid var(--heritage-line); }
    .heritage-index a span { font-size: 18px; }
    .heritage-index-people { grid-template-columns: 1fr; }
    .heritage-index-people a + a { border-top: 1px solid var(--heritage-line); }
    .heritage-era { grid-template-columns: 1fr; padding-bottom: 35px; }
    .heritage-era-heading h2 { max-width: none; }
    .heritage-events { margin-left: 5px; }
    .heritage-event { padding-left: 22px; padding-bottom: 30px; }
    .heritage-portrait { grid-template-columns: 1fr; margin-bottom: 50px; padding-bottom: 40px; }
    .heritage-portrait-image img { height: auto; max-height: 470px; object-fit: contain; }
    .heritage-gallery { gap: 8px; }
    .heritage-gallery img { height: 110px; }
    .heritage-boat-filters { grid-template-columns: 1fr; gap: 16px; }
    .heritage-boat-filters [role="status"] { padding: 0; }
    .heritage-boat-grid { grid-template-columns: 1fr; gap: 35px; }
    .heritage-boat-image img { height: 290px; }
}
