/*
Theme Name: CardRabbit Archive
Theme URI: https://cardrabbit.com/
Author: CardRabbit
Description: An archival business-card gallery and editorial theme built from the CardRabbit Stitch direction.
Version: 1.0.1
Requires at least: 6.5
Requires PHP: 8.1
Text Domain: cardrabbit-archive
Tags: portfolio, blog, grid-layout, custom-logo, featured-images, translation-ready
*/

:root {
  --cr-blue: #2271b1;
  --cr-blue-dark: #15598f;
  --cr-blue-soft: #e9f4ff;
  --cr-ink: #15171c;
  --cr-muted: #626875;
  --cr-line: #dfe3e8;
  --cr-line-dark: #cbd2da;
  --cr-surface: #ffffff;
  --cr-surface-soft: #f7f9fb;
  --cr-surface-grid: #fafbfd;
  --cr-focus: #075ea8;
  --cr-danger: #a12525;
  --cr-radius: 0;
  --cr-shadow: none;
  --cr-container: 1280px;
  --cr-gutter: clamp(16px, 2.5vw, 32px);
  --cr-sans: "Hanken Grotesk", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --cr-mono: "JetBrains Mono", "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  color: var(--cr-ink);
  background: var(--cr-surface);
  font-family: var(--cr-sans);
  font-size: 16px;
  line-height: 1.58;
  text-rendering: optimizeLegibility;
}
body.menu-open { overflow: hidden; }
img { max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { color: var(--cr-blue); }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
::selection { color: #fff; background: var(--cr-blue); }

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.screen-reader-text:focus {
  position: fixed;
  z-index: 100000;
  top: 12px;
  left: 12px;
  width: auto;
  height: auto;
  padding: 10px 14px;
  margin: 0;
  clip: auto;
  color: #fff;
  background: var(--cr-blue);
}

.cr-container { width: min(100% - (var(--cr-gutter) * 2), var(--cr-container)); margin-inline: auto; }
.cr-main { min-height: calc(100vh - 174px); }

/* Header: source-of-truth gallery header used site-wide. */
.cr-site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  color: #fff;
  background: var(--cr-blue);
  border-bottom: 1px solid rgba(3, 30, 52, 0.28);
}
.cr-header-inner {
  display: flex;
  min-height: 54px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.cr-brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 8px;
  color: #fff;
  font-size: clamp(20px, 2vw, 24px);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1;
  text-decoration: none;
}
.cr-brand:hover { color: #fff; opacity: .92; }
.cr-brand-mark { display: grid; grid-template-columns: repeat(2, 5px); grid-template-rows: repeat(2, 5px); gap: 2px; }
.cr-brand-mark span { width: 5px; height: 5px; border: 1px solid currentColor; }
.cr-brand-mark span:nth-child(2), .cr-brand-mark span:nth-child(3) { background: currentColor; }
.cr-brand .custom-logo-link { display: inline-flex; align-items: center; }
.cr-brand .custom-logo { display: block; max-width: 172px; max-height: 32px; width: auto; height: auto; }

.cr-primary-nav { margin-inline: auto; }
.cr-menu, .cr-footer-menu {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 28px);
  padding: 0;
  margin: 0;
  list-style: none;
}
.cr-menu a {
  display: block;
  padding: 18px 0 14px;
  color: rgba(255, 255, 255, .92);
  border-bottom: 2px solid transparent;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}
.cr-menu .current-menu-item > a,
.cr-menu .current_page_item > a,
.cr-menu a:hover,
.cr-menu a:focus-visible { color: #fff; border-bottom-color: #fff; }
.cr-header-action {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 6px 12px;
  color: #fff;
  border: 1px solid rgba(255,255,255,.66);
  background: transparent;
  font-family: var(--cr-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .09em;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
}
.cr-header-action:hover, .cr-header-action:focus-visible { color: #fff; background: rgba(255,255,255,.12); }
.cr-menu-toggle {
  display: none;
  width: 38px;
  height: 34px;
  place-items: center;
  padding: 0;
  color: #fff;
  border: 1px solid rgba(255,255,255,.6);
  background: transparent;
}
.cr-menu-toggle svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; }

/* Gallery archive. */
.cr-gallery { padding-block: clamp(28px, 4vw, 48px) 44px; }
.cr-gallery-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 22px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--cr-line);
}
.cr-eyebrow, .cr-meta-label, .cr-card-id, .cr-card-term, .cr-card-date, .cr-control-label, .cr-page-kicker, .cr-stat-key, .cr-widget-title, .cr-footer-menu, .cr-attribution-label {
  font-family: var(--cr-mono);
  font-size: 10px;
  letter-spacing: .075em;
  line-height: 1.25;
  text-transform: uppercase;
}
.cr-gallery-heading h1, .cr-entry-title, .cr-page-title {
  margin: 0;
  color: var(--cr-ink);
  font-size: clamp(34px, 4.2vw, 52px);
  font-weight: 700;
  letter-spacing: -.048em;
  line-height: 1.06;
}
.cr-gallery-description { max-width: 680px; margin: 9px 0 0; color: var(--cr-muted); font-size: 15px; }
.cr-gallery-controls { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.cr-control {
  position: relative;
  display: inline-flex;
  min-height: 29px;
  align-items: center;
  gap: 6px;
  padding: 0 9px;
  color: var(--cr-muted);
  border: 1px solid var(--cr-line);
  background: var(--cr-surface-soft);
  font-family: var(--cr-mono);
  font-size: 10px;
  letter-spacing: .06em;
  line-height: 1;
  text-transform: uppercase;
}
.cr-control:hover { color: var(--cr-blue); border-color: var(--cr-blue); }
.cr-control svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.cr-control select { appearance: none; max-width: 170px; padding: 0 15px 0 0; color: currentColor; border: 0; outline: 0; background: transparent; font: inherit; letter-spacing: inherit; text-transform: inherit; cursor: pointer; }
.cr-control::after { content: ""; position: absolute; right: 8px; width: 5px; height: 5px; border-right: 1px solid currentColor; border-bottom: 1px solid currentColor; transform: translateY(-2px) rotate(45deg); pointer-events: none; }
.cr-control--button::after { content: none; }

.cr-gallery-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.cr-specimen-card {
  position: relative;
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--cr-line);
  transition: border-color .18s ease, transform .18s ease;
}
.cr-specimen-card:hover { border-color: rgba(34,113,177,.8); }
.cr-card-strip { display: flex; min-height: 23px; align-items: center; justify-content: space-between; gap: 8px; padding: 4px 7px; border-bottom: 1px solid var(--cr-line); background: var(--cr-surface-soft); }
.cr-card-id { color: var(--cr-muted); white-space: nowrap; }
.cr-bookmark {
  display: grid;
  width: 18px;
  height: 18px;
  place-items: center;
  padding: 0;
  color: var(--cr-muted);
  border: 0;
  background: transparent;
}
.cr-bookmark:hover, .cr-bookmark[aria-pressed="true"] { color: var(--cr-blue); }
.cr-bookmark svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.cr-bookmark[aria-pressed="true"] svg { fill: currentColor; }
.cr-card-media { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; border-bottom: 1px solid var(--cr-line); background: #edf0f3; text-decoration: none; }
.cr-card-media img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.cr-specimen-card:hover .cr-card-media img { transform: scale(1.035); }
.cr-card-fallback {
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
  color: var(--cr-muted);
  background-color: #f1f4f7;
  background-image: linear-gradient(45deg, rgba(34,113,177,.06) 25%, transparent 25%), linear-gradient(-45deg, rgba(34,113,177,.06) 25%, transparent 25%), linear-gradient(45deg, transparent 75%, rgba(34,113,177,.06) 75%), linear-gradient(-45deg, transparent 75%, rgba(34,113,177,.06) 75%);
  background-position: 0 0, 0 10px, 10px -10px, -10px 0;
  background-size: 20px 20px;
  font-family: var(--cr-mono);
  font-size: 10px;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.cr-card-body { display: flex; min-height: 89px; flex: 1; flex-direction: column; padding: 12px 10px 9px; }
.cr-card-title { margin: 0 0 12px; font-size: 15px; font-weight: 700; letter-spacing: -.016em; line-height: 1.23; }
.cr-card-title a { color: var(--cr-ink); text-decoration: none; }
.cr-card-title a:hover { color: var(--cr-blue); }
.cr-card-meta { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 9px; border-top: 1px solid var(--cr-line); }
.cr-card-term { max-width: 75%; overflow: hidden; color: var(--cr-blue); text-overflow: ellipsis; white-space: nowrap; }
.cr-card-date { flex: 0 0 auto; color: var(--cr-muted); }
.cr-ad-card { justify-content: center; min-height: 100%; background: #f7fbff; border-color: #cbdff0; text-align: center; }
.cr-ad-card .cr-card-strip { color: var(--cr-blue); background: #edf7ff; border-color: #cbdff0; }
.cr-ad-card-content { display: grid; min-height: 244px; place-content: center; padding: 26px; }
.cr-ad-icon { width: 40px; height: 40px; margin: 0 auto 10px; color: var(--cr-blue); }
.cr-ad-icon svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.55; }
.cr-ad-title { margin: 0 0 5px; font-size: 18px; font-weight: 600; line-height: 1.25; }
.cr-ad-copy { max-width: 270px; margin: 0 0 14px; color: var(--cr-muted); font-size: 13px; }
.cr-ad-link { display: inline-flex; min-height: 29px; align-items: center; justify-content: center; padding: 6px 16px; color: #fff; background: var(--cr-blue); font-size: 12px; font-weight: 700; text-decoration: none; }
.cr-ad-link:hover { color: #fff; background: var(--cr-blue-dark); }
.cr-pagination { display: flex; justify-content: center; margin-top: 28px; padding-top: 16px; border-top: 1px solid var(--cr-line); }
.cr-pagination .nav-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.cr-pagination a, .cr-pagination span {
  display: inline-flex;
  min-width: 32px;
  min-height: 30px;
  align-items: center;
  justify-content: center;
  padding: 4px 9px;
  color: var(--cr-ink);
  border: 1px solid var(--cr-line);
  background: #fff;
  font-family: var(--cr-mono);
  font-size: 10px;
  letter-spacing: .07em;
  text-decoration: none;
  text-transform: uppercase;
}
.cr-pagination a:hover, .cr-pagination .current { color: var(--cr-blue); border-color: var(--cr-blue); }
.cr-empty { padding: 32px; border: 1px solid var(--cr-line); background: var(--cr-surface-soft); }

/* Single specimen. */
.cr-specimen-hero { position: relative; overflow: hidden; min-height: clamp(310px, 33vw, 520px); border-bottom: 1px solid var(--cr-line); background-color: var(--cr-surface-grid); background-image: linear-gradient(to right, rgba(34,113,177,.065) 1px, transparent 1px), linear-gradient(to bottom, rgba(34,113,177,.065) 1px, transparent 1px); background-size: 20px 20px; }
.cr-specimen-hero-inner { position: relative; display: grid; min-height: inherit; place-items: center; padding: 28px var(--cr-gutter); }
.cr-hero-image { display: block; width: min(720px, 78vw); max-height: min(440px, 50vw); object-fit: contain; filter: none; }
.cr-hero-fallback { display: grid; width: min(720px, 78vw); min-height: 250px; place-items: center; color: var(--cr-muted); border: 1px solid var(--cr-line-dark); background: rgba(255,255,255,.76); font-family: var(--cr-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.cr-hero-label { position: absolute; left: max(var(--cr-gutter), calc((100% - var(--cr-container)) / 2 + var(--cr-gutter))); bottom: 28px; width: min(270px, calc(100vw - var(--cr-gutter) * 2)); padding: 13px 14px; border: 1px solid #c6ddef; background: rgba(255,255,255,.94); }
.cr-hero-label .cr-eyebrow { display: block; margin-bottom: 5px; color: var(--cr-blue); }
.cr-hero-label strong { display: block; font-size: 20px; letter-spacing: -.035em; line-height: 1.14; }
.cr-single-layout { display: grid; grid-template-columns: minmax(0, 8fr) minmax(280px, 4fr); gap: clamp(30px, 4vw, 56px); padding-block: clamp(30px, 4vw, 52px) 56px; }
.cr-single-header { margin-bottom: 24px; padding-bottom: 20px; border-bottom: 1px solid var(--cr-line); }
.cr-page-kicker { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 10px; color: var(--cr-muted); }
.cr-page-kicker .cr-category-badge { padding: 4px 6px; color: var(--cr-blue); background: var(--cr-blue-soft); }
.cr-entry-title { font-size: clamp(34px, 4.4vw, 58px); }
.cr-entry-content { color: #2f3540; font-size: 16px; line-height: 1.7; }
.cr-entry-content > *:first-child { margin-top: 0; }
.cr-entry-content > *:last-child { margin-bottom: 0; }
.cr-entry-content p, .cr-entry-content ul, .cr-entry-content ol { margin: 0 0 1.35em; }
.cr-entry-content h2, .cr-entry-content h3, .cr-entry-content h4 { margin: 1.7em 0 .55em; color: var(--cr-ink); line-height: 1.18; }
.cr-entry-content h2 { font-size: clamp(25px, 3.1vw, 36px); letter-spacing: -.035em; }
.cr-entry-content h3 { font-size: 22px; letter-spacing: -.025em; }
.cr-entry-content a { color: var(--cr-blue); }
.cr-entry-content blockquote { margin: 1.7em 0; padding: 15px 17px; border-left: 4px solid var(--cr-blue); background: #f3f8fc; color: var(--cr-ink); font-size: 17px; font-style: italic; }
.cr-entry-content blockquote > *:last-child { margin-bottom: 0; }
.cr-entry-content img { border: 1px solid var(--cr-line); }
.cr-entry-content figure { max-width: 100%; margin: 1.6em 0; }
.cr-entry-content figcaption { padding: 7px 9px; color: var(--cr-blue); border: 1px solid var(--cr-line); border-top: 0; font-family: var(--cr-mono); font-size: 10px; letter-spacing: .065em; text-transform: uppercase; }
.cr-entry-content .wp-block-gallery { gap: 12px; }
.cr-entry-content .wp-block-image { margin-top: 1.6em; margin-bottom: 1.6em; }
.cr-entry-content .wp-block-image img { display: block; }
.cr-entry-content .wp-block-image figcaption { color: var(--cr-blue); font-family: var(--cr-mono); font-size: 10px; letter-spacing: .065em; text-transform: uppercase; }
.cr-entry-content pre, .cr-entry-content code { font-family: var(--cr-mono); }
.cr-entry-content pre { overflow: auto; padding: 16px; color: #dce6ee; background: #151b20; }
.cr-attribution { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 34px; padding-top: 22px; border-top: 1px solid var(--cr-line); }
.cr-attribution-label { display: block; margin-bottom: 4px; color: var(--cr-muted); font-size: 9px; }
.cr-attribution-value { display: block; color: var(--cr-ink); font-size: 14px; font-weight: 700; line-height: 1.3; }

.cr-sidebar { display: grid; align-content: start; gap: 26px; }
.cr-sidebar-panel, .widget { padding: 14px; border: 1px solid var(--cr-line); background: #fff; }
.cr-sidebar-panel--soft { background: #f7fbff; border-color: #c7dff2; }
.cr-widget-title, .widget-title { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 0 0 15px; color: var(--cr-blue); font-size: 11px; font-weight: 500; }
.cr-related-list { display: grid; gap: 12px; }
.cr-related-item { display: grid; grid-template-columns: 54px minmax(0, 1fr); gap: 10px; align-items: center; color: var(--cr-ink); text-decoration: none; }
.cr-related-image { display: block; width: 54px; aspect-ratio: 1; overflow: hidden; border: 1px solid var(--cr-line); background: var(--cr-surface-soft); }
.cr-related-image img { display: block; width: 100%; height: 100%; object-fit: cover; }
.cr-related-image--fallback { display: grid; place-items: center; color: var(--cr-muted); font-family: var(--cr-mono); font-size: 9px; }
.cr-related-meta { display: block; margin-bottom: 2px; color: var(--cr-muted); font-family: var(--cr-mono); font-size: 9px; letter-spacing: .06em; text-transform: uppercase; }
.cr-related-title { display: block; font-size: 14px; font-weight: 600; line-height: 1.2; }
.cr-sidebar-link { display: flex; min-height: 30px; align-items: center; justify-content: center; margin-top: 16px; padding: 6px 10px; color: var(--cr-blue); border: 1px solid var(--cr-blue); font-family: var(--cr-mono); font-size: 10px; letter-spacing: .08em; line-height: 1; text-align: center; text-decoration: none; text-transform: uppercase; }
.cr-sidebar-link:hover { color: #fff; background: var(--cr-blue); }
.cr-stat-list { display: grid; gap: 9px; margin: 0; }
.cr-stat-row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding-bottom: 7px; border-bottom: 1px solid var(--cr-line); }
.cr-stat-row:last-child { padding-bottom: 0; border-bottom: 0; }
.cr-stat-key { color: var(--cr-muted); }
.cr-stat-value { color: var(--cr-ink); font-family: var(--cr-mono); font-size: 12px; font-weight: 700; text-align: right; }
.cr-newsletter-title { margin: 0 0 7px; font-size: 20px; line-height: 1.2; letter-spacing: -.03em; }
.cr-newsletter-copy { margin: 0 0 14px; color: #3f5263; font-size: 13px; }
.cr-newsletter-form { display: flex; }
.cr-newsletter-form input { min-width: 0; flex: 1; height: 36px; padding: 0 10px; color: var(--cr-ink); border: 1px solid var(--cr-line); background: #fff; outline: none; }
.cr-newsletter-form input:focus { border-color: var(--cr-blue); box-shadow: 0 0 0 2px rgba(34,113,177,.14); }
.cr-newsletter-form button { display: grid; width: 43px; height: 36px; place-items: center; color: #fff; border: 1px solid var(--cr-blue); background: var(--cr-blue); }
.cr-newsletter-form button:hover { background: var(--cr-blue-dark); }
.cr-newsletter-form svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.8; }

/* Generic pages and WordPress content. */
.cr-page { padding-block: 44px 62px; }
.cr-page--narrow { width: min(100% - (var(--cr-gutter) * 2), 860px); margin-inline: auto; }
.cr-page-title { margin-bottom: 20px; }
.cr-archive-header { margin-bottom: 25px; padding-bottom: 18px; border-bottom: 1px solid var(--cr-line); }
.cr-archive-header .cr-page-title { margin-bottom: 8px; }
.cr-post-navigation { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 36px; padding-top: 18px; border-top: 1px solid var(--cr-line); }
.cr-post-navigation a { display: block; padding: 12px; border: 1px solid var(--cr-line); text-decoration: none; }
.cr-post-navigation a:hover { border-color: var(--cr-blue); }
.cr-comments { margin-top: 42px; padding-top: 24px; border-top: 1px solid var(--cr-line); }
.cr-comments .comment-list { padding: 0; list-style: none; }
.cr-comments .comment-body { margin-bottom: 16px; padding: 14px; border: 1px solid var(--cr-line); }
.cr-comments textarea, .cr-comments input[type="text"], .cr-comments input[type="email"], .cr-comments input[type="url"] { width: 100%; padding: 9px; border: 1px solid var(--cr-line-dark); }
.cr-comments .submit { padding: 9px 14px; color: #fff; border: 0; background: var(--cr-blue); }

/* Footer. */
.cr-site-footer { margin-top: auto; border-top: 1px solid var(--cr-line); background: var(--cr-surface-soft); }
.cr-footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 72px; }
.cr-footer-copy, .cr-footer-menu a { color: var(--cr-muted); font-family: var(--cr-mono); font-size: 10px; letter-spacing: .06em; line-height: 1.35; text-decoration: none; text-transform: none; }
.cr-footer-menu { gap: 16px; }
.cr-footer-menu a:hover { color: var(--cr-blue); }

/* WP alignment classes. */
.alignleft { float: left; margin: 0 1.5em 1em 0; }
.alignright { float: right; margin: 0 0 1em 1.5em; }
.aligncenter { display: block; margin-right: auto; margin-left: auto; }
.wp-caption { max-width: 100%; }
.wp-caption-text { margin: .4em 0; color: var(--cr-muted); font-size: 13px; }
.sticky { outline: 2px solid var(--cr-blue-soft); outline-offset: 4px; }
.gallery-caption, .bypostauthor { display: block; }

@media (max-width: 820px) {
  .cr-primary-nav { display: none; }
  .cr-menu-toggle { display: grid; }
  .cr-header-action { margin-left: auto; }
  .cr-site-header.is-open .cr-primary-nav { display: block; position: absolute; top: 100%; right: 0; left: 0; padding: 8px var(--cr-gutter) 14px; border-bottom: 1px solid rgba(0,0,0,.22); background: var(--cr-blue); }
  .cr-site-header.is-open .cr-menu { display: grid; gap: 0; }
  .cr-site-header.is-open .cr-menu a { padding: 11px 0; }
  .cr-gallery-heading { align-items: start; flex-direction: column; }
  .cr-gallery-controls { justify-content: flex-start; }
  .cr-gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cr-single-layout { grid-template-columns: 1fr; }
  .cr-sidebar { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cr-sidebar-panel--newsletter { grid-column: 1 / -1; }
}

@media (max-width: 560px) {
  .cr-header-inner { min-height: 50px; gap: 10px; }
  .cr-brand { font-size: 21px; }
  .cr-header-action { display: none; }
  .cr-gallery { padding-top: 24px; }
  .cr-gallery-heading h1, .cr-page-title { font-size: 36px; }
  .cr-gallery-grid { grid-template-columns: 1fr; gap: 12px; }
  .cr-card-body { min-height: 81px; }
  .cr-specimen-hero { min-height: 290px; }
  .cr-hero-image, .cr-hero-fallback { width: 92vw; max-height: 260px; }
  .cr-hero-label { bottom: 15px; }
  .cr-single-layout { padding-top: 30px; }
  .cr-entry-title { font-size: 36px; }
  .cr-attribution { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cr-sidebar { grid-template-columns: 1fr; }
  .cr-sidebar-panel--newsletter { grid-column: auto; }
  .cr-footer-inner { align-items: flex-start; flex-direction: column; justify-content: center; padding-block: 16px; }
  .cr-footer-menu { flex-wrap: wrap; gap: 9px 15px; }
  .alignleft, .alignright { float: none; margin-right: 0; margin-left: 0; }
}
