/*
 * Swiss theme (site config "theme": "swiss"). Loaded after style.css + collection.css.
 * White paper, black ink, Helvetica set large, square corners, black rules, one red.
 * No dark panels, gradients, shadows, pills or letter-spaced uppercase labels.
 */
:root {
  --color-bg: #ffffff;
  --color-bg-elevated: #ffffff;
  --color-bg-card: #ffffff;
  --color-surface: #ffffff;
  --color-border: #000000;
  --color-border-light: #d9d9d9;
  --color-text: #000000;
  --color-text-muted: #333333;
  --color-text-subtle: #555555;
  --color-accent: #e30613;
  --color-accent-hover: #000000;
  --color-accent-muted: transparent;
  --font-heading: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-body: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --shadow-sm: none;
  --shadow-md: none;
  --shadow-lg: none;
}

*, *::before, *::after { border-radius: 0 !important; box-shadow: none !important; text-shadow: none !important;
  text-transform: none !important; letter-spacing: normal !important; font-style: normal !important; }
em, i, cite, .plates-table td em, .plate-species em { font-style: italic !important; }
body { background: #fff; color: #000; font-size: 1.0625rem; line-height: 1.55; }
a { color: #000; text-decoration: underline; text-underline-offset: 2px; text-decoration-thickness: 1px; }
a:hover, a:focus { color: #e30613; }
h1, h2, h3, h4 { font-family: var(--font-heading); font-weight: 700; color: #000; letter-spacing: -0.01em; }
h1 { font-size: clamp(2rem, 4.6vw, 3.4rem); line-height: 1.05; letter-spacing: -0.02em !important; }
h2 { font-size: 1.6rem; line-height: 1.15; }

/* Header: white, 6px black rule under it */
.site-header { background: #fff !important; border-bottom: 6px solid #000 !important; backdrop-filter: none !important; }
.site-logo { color: #000 !important; font-family: var(--font-heading); font-weight: 700; font-size: 1.35rem; letter-spacing: -0.02em; text-decoration: none; }
.site-nav a, .nav-dropdown-trigger { color: #000 !important; font-weight: 500; text-decoration: none; text-transform: none !important; letter-spacing: 0 !important; }
.site-nav a:hover, .nav-dropdown-trigger:hover { color: #e30613 !important; }
.nav-dropdown-menu { background: #fff !important; border: 2px solid #000 !important; }
.nav-dropdown-menu a { color: #000 !important; }
.nav-toggle { color: #000 !important; background: #fff !important; border: 2px solid #000 !important; }

/* Footer: black rule, white */
.site-footer { background: #fff !important; border-top: 6px solid #000 !important; color: #000; }
.site-footer h4 { color: #000 !important; text-transform: none !important; letter-spacing: 0 !important; font-size: 1rem; }
.site-footer a { color: #000 !important; }
.footer-bottom { border-top: 2px solid #000 !important; color: #333; }

/* No eyebrows: kickers read as plain text */
.coll-kicker, .hero-kicker, .kicker, .eyebrow { text-transform: none !important; letter-spacing: 0 !important; color: #000 !important; font-size: 1rem !important; font-weight: 500 !important; }

/* Cards and grids: images on white, 2px rule, no hover zoom */
.card, .coll-topic-row, .coll-maker-card, .famous-item, .coll-aside { background: #fff !important; border: 0 !important; border-top: 2px solid #000 !important; }
.card:hover { transform: none !important; }
.card img, .coll-topic-card img { filter: none !important; transition: none !important; }
.coll-topic-card:hover img { transform: none !important; }
.card-body { padding: 8px 0 12px !important; }
.card-title, .coll-topic-name { color: #000 !important; font-family: var(--font-heading) !important; font-weight: 700; }
.card-date, .coll-topic-count, .coll-topic-summary { color: #333 !important; }
.coll-topic-text { background: #fff !important; position: static !important; padding: 8px 0 !important; }
.coll-stats strong { color: #000 !important; font-family: var(--font-heading); }
.coll-prose a, .coll-prose-p a, .coll-aside a:hover { color: #000 !important; }

/* Buttons and inputs: black */
.button, button, input[type="submit"], .btn { background: #000 !important; color: #fff !important; border: 2px solid #000 !important; text-decoration: none; font-weight: 700; }
.button:hover, .btn:hover { background: #e30613 !important; border-color: #e30613 !important; }
input, select, textarea { background: #fff !important; color: #000 !important; border: 2px solid #000 !important; }

/* Work page */
.work-detail { background: #fff; }
.work-image { background: #f2f2f2; }
.work-meta, .work-archival-title, .zoom-hint, .work-credit, .work-physical { color: #333 !important; }
.breadcrumbs, .breadcrumbs a { color: #000 !important; }
.breadcrumb-current { color: #555 !important; }
.work-subjects li a { background: #fff !important; border: 2px solid #000 !important; color: #000 !important; }
.work-pager-link { border: 2px solid #000 !important; background: #fff !important; }
.famous-callout a { color: #000 !important; border-left: 6px solid #e30613; padding-left: 12px; display: inline-block; }
.lightbox { background: rgba(255, 255, 255, 0.98) !important; }
.lightbox-close { color: #000 !important; background: #fff !important; border: 2px solid #000 !important; }

/* Plate notes */
.plate-notes { max-width: 46rem; margin: 2rem 0; }
.plate-facts { width: 100%; border-collapse: collapse; border-top: 6px solid #000; margin-bottom: 2rem; font-size: 1rem; }
.plate-facts th, .plate-facts td { text-align: left; vertical-align: top; padding: 8px 12px 8px 0; border-bottom: 1px solid #000; }
.plate-facts th { width: 11rem; font-weight: 700; }
.plate-section { border-top: 2px solid #000; padding-top: 1rem; margin-top: 2rem; }
.plate-section h2 { margin-bottom: 0.75rem; }
.plate-section p { margin-bottom: 1rem; max-width: 42rem; }
.plate-species { padding-left: 1.2rem; }
.plate-species li { margin-bottom: 0.4rem; }
.plate-ob blockquote { border-left: 6px solid #000; padding-left: 1.25rem; margin: 0 0 0.75rem; font-size: 1.1rem; }
.plate-cite { font-size: 0.95rem; color: #333; }
.plate-other { margin-top: 1.5rem; font-size: 0.95rem; }
.plate-buy-sizes { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.plate-buy-sizes .button { display: inline-block; padding: 10px 16px; }

/* All-plates index */
.plates-index, .guides-hub, .guide { padding: 2rem 0 4rem; }
.plates-lede, .guide-lede { font-size: 1.2rem; max-width: 46rem; margin: 1rem 0 2rem; }
.plates-table { width: 100%; border-collapse: collapse; border-top: 6px solid #000; font-size: 1rem; }
.plates-table th { text-align: left; padding: 10px 12px 10px 0; border-bottom: 2px solid #000; }
.plates-table td { padding: 7px 12px 7px 0; border-bottom: 1px solid #d9d9d9; vertical-align: top; }
.plates-num { font-weight: 700; white-space: nowrap; }
.plates-roman { font-weight: 400; color: #555; }
@media (max-width: 640px) {
  .plates-table th:nth-child(4), .plates-table td:nth-child(4) { display: none; }
  .plate-facts th { width: 8rem; }
}

/* Guides */
.guide-container { max-width: 52rem; }
.guide-lead { margin: 0 0 2rem; }
.guide-lead img { max-height: 80vh; width: auto; background: #f2f2f2; }
.guide-lead figcaption { font-size: 0.95rem; margin-top: 6px; }
.guide-section { border-top: 2px solid #000; padding-top: 1rem; margin-top: 2rem; }
.guide-section p { margin-bottom: 1rem; }
.guide-section h3 { font-size: 1.15rem; margin: 1.25rem 0 0.4rem; }
.guide-table { margin-top: 1rem; }
.guides-list { list-style: none; padding: 0; border-top: 6px solid #000; }
.guides-list li { border-bottom: 2px solid #000; padding: 1rem 0; }
.guides-list h2 { font-size: 1.5rem; margin-bottom: 0.25rem; }
.guide-others { border-top: 6px solid #000; margin-top: 3rem; padding-top: 1rem; }
