/* ==========================================================================
   Amsterdam Vespa Club — archief (2000–2005)
   Bouwt voort op style.css (kleuren, lettertypes, header en footer).
   ========================================================================== */

.archive main { background: var(--paper); }

/* ---------- Header: "Archief" actief ---------- */
.main-nav a[aria-current] { text-decoration: underline; text-decoration-color: var(--orange); text-decoration-thickness: 2px; text-underline-offset: 5px; }

/* ---------- Archief-tabs ---------- */
.archive-tabs { background: var(--orange); border-bottom: 1px solid var(--ink); display: flex; gap: 28px; overflow-x: auto; padding: 0 3.2vw; scrollbar-width: none; }
.archive-tabs::-webkit-scrollbar { display: none; }
.archive-tabs a { flex: none; font-size: 11px; font-weight: 600; letter-spacing: .12em; padding: 16px 0 14px; text-transform: uppercase; border-bottom: 2px solid transparent; }
.archive-tabs a:hover { border-bottom-color: var(--ink); }
.archive-tabs a[aria-current] { border-bottom-color: var(--ink); }

/* ---------- Paginakop ---------- */
.page-hero { background: var(--ink); color: var(--paper); padding: 100px 7vw 80px; }
.page-hero .eyebrow { color: var(--orange); }
.page-title { font-family: var(--font-display); font-size: clamp(56px, 8.5vw, 132px); font-weight: 800; letter-spacing: -.04em; line-height: .88; max-width: 14ch; text-transform: uppercase; }
.page-intro { font-size: 17px; line-height: 1.65; margin-top: 32px; max-width: 640px; }
.page-intro a { border-bottom: 1px solid var(--orange); color: var(--orange); }
.meta-list { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin: 36px 0 0; padding: 0; }
.meta-list li { border: 1px solid rgba(244,240,232,.45); font-size: 10px; letter-spacing: .16em; padding: 9px 13px; text-transform: uppercase; }

/* ---------- Secties ---------- */
.archive-section { margin: 0 auto; max-width: 1400px; padding: 72px 7vw 0; }
.archive-section:last-child { padding-bottom: 110px; }
.section-title { font-family: var(--font-display); font-size: clamp(40px, 4.5vw, 64px); font-weight: 800; letter-spacing: -.03em; line-height: .9; margin-bottom: 32px; text-transform: uppercase; }
.muted { color: rgba(16,16,15,.55); font-size: .85em; }

/* Originele tekst van de oude site */
.old-text { border-left: 4px solid var(--orange); max-width: 780px; padding: 4px 0 4px 26px; }
.old-text p { font-size: 17px; line-height: 1.75; }
.old-text p + p { margin-top: 1em; }
.old-text .old-text-label { color: rgba(16,16,15,.55); font-size: 10px; font-weight: 600; letter-spacing: .18em; margin-bottom: 14px; text-transform: uppercase; }
.prose h3 { font-family: var(--font-display); font-size: 28px; font-weight: 700; letter-spacing: -.01em; line-height: 1.05; margin: 2em 0 .5em; text-transform: uppercase; }
.prose h3:first-of-type { margin-top: .4em; }
.prose a, .link-list a, .model-list a { border-bottom: 1px solid var(--orange); }
.prose a:hover, .link-list a:hover, .model-list a:hover { background: var(--orange); }
.link-list { font-size: 16px; line-height: 1.7; padding-left: 20px; }

/* ---------- Overzicht: sectiekaarten ---------- */
.section-grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.section-card { background: var(--orange); border: 1px solid var(--ink); display: flex; flex-direction: column; gap: 10px; min-height: 190px; padding: 26px 24px; transition: background .2s, color .2s; }
.section-card h3 { font-family: var(--font-display); font-size: 34px; font-weight: 800; letter-spacing: -.02em; line-height: .95; text-transform: uppercase; }
.section-card p { font-size: 14px; line-height: 1.55; }
.section-card span { font-size: 20px; margin-top: auto; }
.section-card:hover { background: var(--ink); color: var(--paper); }

/* ---------- Ritten ---------- */
.year-group { padding-top: 64px; }
.year-title { color: var(--orange); font-family: var(--font-display); font-size: clamp(80px, 11vw, 170px); font-weight: 800; letter-spacing: -.05em; line-height: .8; margin-bottom: 28px; -webkit-text-stroke: 1px var(--ink); }
.ride-grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
.ride-card { background: white; border: 1px solid var(--ink); display: flex; flex-direction: column; transition: transform .2s; }
.ride-card:hover { transform: translateY(-3px); }
.ride-card-img { aspect-ratio: 4/3; background: var(--ink); overflow: hidden; }
.ride-card-img img { filter: grayscale(1) contrast(1.05); height: 100%; object-fit: cover; transition: filter .3s, transform .5s; width: 100%; }
.ride-card:hover .ride-card-img img { filter: none; transform: scale(1.04); }
.ride-card-body { padding: 18px 18px 20px; }
.ride-card-kicker { color: rgba(16,16,15,.6); font-size: 10px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.ride-card h3 { font-family: var(--font-display); font-size: 30px; font-weight: 800; letter-spacing: -.02em; line-height: .95; margin: 8px 0 10px; text-transform: uppercase; }
.ride-card-meta { font-size: 13px; }

/* Foto's en video's */
.photo-grid-archive { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); }
.photo-item a { aspect-ratio: 4/3; background: var(--ink); display: block; overflow: hidden; }
.photo-item img { height: 100%; object-fit: cover; transition: transform .4s ease, opacity .2s; width: 100%; }
.photo-item a:hover img { transform: scale(1.04); }
.photo-item figcaption, .video-item figcaption { font-size: 12px; line-height: 1.4; margin-top: 8px; }
.video-grid { display: grid; gap: 22px; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.video-item video { aspect-ratio: 4/3; background: var(--ink); display: block; height: auto; width: 100%; }

/* Vorige / volgende */
.pager { align-items: stretch; border-top: 1px solid var(--ink); display: grid; gap: 18px; grid-template-columns: 1fr auto 1fr; padding-top: 28px; }
.pager a { font-family: var(--font-display); font-size: 24px; font-weight: 700; line-height: 1; text-transform: uppercase; }
.pager a span { display: block; font-family: var(--font-body); font-size: 10px; font-weight: 600; letter-spacing: .16em; margin-bottom: 8px; }
.pager a:hover { color: var(--orange); }
.pager-next { text-align: right; }
.pager-all { align-self: center; border: 1px solid var(--ink); font-size: 14px !important; letter-spacing: .08em; padding: 14px 18px; }
.pager-all:hover { background: var(--ink); color: white !important; }

/* ---------- Leden & scooters ---------- */
.member-grid, .scooter-grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.member-card, .scooter-card { background: white; border: 1px solid var(--ink); display: flex; flex-direction: column; padding-bottom: 18px; }
.member-photo, .scooter-photo { aspect-ratio: 1; background: var(--ink); margin-bottom: 16px; overflow: hidden; }
.member-photo img, .scooter-photo img { height: 100%; object-fit: cover; width: 100%; }
.member-photo img { filter: grayscale(1) contrast(1.1); }
.member-initial { align-items: center; color: var(--orange); display: flex; font-family: var(--font-display); font-size: 120px; font-weight: 800; height: 100%; justify-content: center; }
.member-card h3, .scooter-card h3 { font-family: var(--font-display); font-size: 26px; font-weight: 800; letter-spacing: -.01em; line-height: 1; padding: 0 16px; text-transform: uppercase; }
.member-nick { font-size: 13px; font-style: italic; padding: 4px 16px 0; }
.member-scoots, .scooter-owner { font-size: 13px; line-height: 1.5; padding: 10px 16px 0; }
.member-remark { color: rgba(16,16,15,.6); font-size: 12px; line-height: 1.45; padding: 8px 16px 0; }
.card-link { font-size: 11px; font-weight: 600; letter-spacing: .1em; margin: 12px 16px 0; text-transform: uppercase; }
.card-link:hover { color: var(--orange); }

/* ---------- Naslag ---------- */
.two-col { display: grid; gap: 6vw; grid-template-columns: 1fr 1fr; }
.model-list { columns: 1; font-size: 16px; line-height: 1.6; list-style: none; padding: 0; }
.model-list li { border-bottom: 1px solid rgba(16,16,15,.15); padding: 10px 0; }

/* ---------- Fotoviewer ---------- */
.lightbox { background: rgba(10,10,9,.96); border: 0; color: white; height: 100%; margin: 0; max-height: none; max-width: none; padding: 0; width: 100%; }
.lightbox::backdrop { background: rgba(10,10,9,.96); }
.lightbox-figure { align-items: center; display: flex; flex-direction: column; height: 100%; justify-content: center; margin: 0; padding: 60px 80px 40px; }
.lightbox-figure img { max-height: calc(100% - 50px); max-width: 100%; object-fit: contain; }
.lightbox-figure figcaption { font-size: 14px; margin-top: 16px; min-height: 1.4em; text-align: center; }
.lightbox-count { font-family: var(--font-display); font-size: 14px; left: 24px; letter-spacing: .1em; position: absolute; top: 20px; }
.lightbox button { align-items: center; background: transparent; border: 1px solid rgba(255,255,255,.5); color: white; cursor: pointer; display: flex; height: 46px; justify-content: center; position: absolute; width: 46px; }
.lightbox button:hover { background: white; color: black; }
.lightbox svg { fill: none; height: 18px; stroke: currentColor; stroke-width: 1.5; width: 18px; }
.lightbox-close { right: 20px; top: 14px; }
.lightbox-prev { left: 20px; top: 50%; }
.lightbox-next { right: 20px; top: 50%; }

/* ---------- Mobiel ---------- */
@media (max-width: 800px) {
  .archive-tabs { gap: 22px; padding: 0 20px; }
  .page-hero { padding: 64px 24px 56px; }
  .archive-section { padding: 56px 24px 0; }
  .archive-section:last-child { padding-bottom: 80px; }
  .photo-grid-archive { gap: 8px; grid-template-columns: repeat(2, 1fr); }
  .member-grid, .scooter-grid { gap: 10px; grid-template-columns: repeat(2, 1fr); }
  .member-card h3, .scooter-card h3 { font-size: 20px; padding: 0 12px; }
  .member-nick, .member-scoots, .member-remark, .scooter-owner { padding-inline: 12px; }
  .card-link { margin-inline: 12px; }
  .two-col { grid-template-columns: 1fr; }
  .pager { grid-template-columns: 1fr 1fr; }
  .pager-all { grid-column: 1 / -1; grid-row: 2; justify-self: center; }
  .pager a { font-size: 18px; }
  .lightbox-figure { padding: 60px 12px 90px; }
  .lightbox-prev, .lightbox-next { bottom: 24px; top: auto; }
  .lightbox-prev { left: calc(50% - 56px); }
  .lightbox-next { right: calc(50% - 56px); }
}
