/* ── Font display swap (ensures Special Elite loads on mobile) ─────────────── */
@font-face {
  font-family: 'Special Elite';
  font-display: swap;
}
@font-face {
  font-family: 'Courier Prime';
  font-display: swap;
}
@font-face {
  font-family: 'Oswald';
  font-display: swap;
}

/* ── Reset & Variables ─────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --paper:        #f5f0e8;
  --paper-dark:   #ede6d3;
  --paper-lines:  rgba(0,0,0,0.05);
  --ink:          #1a1410;
  --ink-faded:    #5a4f45;
  --red:          #c0392b;
  --red-dark:     #922b21;
  --bureau-blue:  #1a3a5c;
  --bureau-gold:  #8a6c2a;
  --coffee:       rgba(101,67,33,0.13);
  --max-width:    1060px;
}

body {
  background: #2a2520;
  color: var(--ink);
  font-family: 'Courier Prime', monospace;
  font-weight: 400;
  line-height: 1.6;
  min-height: 100vh;
}

/* ── Paper texture mixin ───────────────────────────────────────────────────── */
.paper-texture {
  background-image: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 31px,
    var(--paper-lines) 31px,
    var(--paper-lines) 32px
  );
}

/* ── Big watermark seal behind card ────────────────────────────────────────── */
.seal-watermark {
  position: absolute;
  left: 50%;
  top: 45%;
  transform: translate(-50%, -50%);
  width: 320px;
  height: 320px;
  object-fit: contain;
  opacity: 0.07;
  pointer-events: none;
  z-index: 2;
}

/* ── Header ────────────────────────────────────────────────────────────────── */
.site-header {
  background: var(--paper);
  border-bottom: 4px double var(--ink);
  padding: 16px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 100%;
  position: relative;
}

.bureau-logo {
  display: flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
  flex-shrink: 0;
}

.bureau-seal {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
}

.seal-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}


.bureau-logo-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.bureau-acronym {
  font-family: 'Oswald', sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: 6px;
  color: var(--bureau-blue);
  line-height: 1;
}

.bureau-full {
  font-family: 'Oswald', sans-serif;
  font-size: 0.65rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--ink);
  font-weight: 600;
}

.bureau-est {
  font-size: 0.6rem;
  letter-spacing: 1.5px;
  color: var(--ink-faded);
  font-style: italic;
}

/* ── Bureau Hours ──────────────────────────────────────────────────────────── */
.bureau-hours {
  display: flex;
  flex-direction: column;
  gap: 2px;
  text-align: center;
  flex: 1;
  padding: 0 24px;
}

.bureau-hours p {
  font-family: 'Courier Prime', monospace;
  font-size: 0.58rem;
  letter-spacing: 0.05em;
  color: var(--ink-faded);
  line-height: 1.5;
  margin: 0;
}

.bureau-hours p:first-child {
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

@media (max-width: 768px) {
  .bureau-hours { display: none; }
}

/* ── Nav ───────────────────────────────────────────────────────────────────── */
.site-nav {
  display: flex;
  gap: 24px;
  align-items: center;
}

.site-nav a {
  color: var(--ink-faded);
  text-decoration: none;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-family: 'Oswald', sans-serif;
  font-weight: 400;
  transition: color 0.2s;
}

.site-nav a:hover { color: var(--bureau-blue); }

.site-nav .nav-subscribe {
  color: white;
  background: var(--red);
  padding: 6px 16px;
  font-weight: 600;
  letter-spacing: 2px;
  font-size: 0.65rem;
  border-bottom: 3px solid var(--red-dark);
  transition: all 0.1s;
}

.site-nav .nav-subscribe:hover {
  background: var(--red-dark);
  color: white;
}

/* ── Homepage Hero ─────────────────────────────────────────────────────────── */
.home-hero {
  max-width: var(--max-width);
  margin: 0 auto;
  background: var(--paper);
  display: grid;
  grid-template-columns: 1fr 380px;
  position: relative;
  box-shadow: 6px 6px 0 #0a0806, 12px 12px 0 rgba(0,0,0,0.3);
  margin-top: 32px;
  margin-bottom: 32px;
  overflow: visible;
  background-image: repeating-linear-gradient(
    0deg, transparent, transparent 31px,
    var(--paper-lines) 31px, var(--paper-lines) 32px
  );
}

/* Coffee ring on hero */
.home-hero::after {
  content: '';
  position: absolute;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  border: 16px solid var(--coffee);
  top: 24px;
  right: 100px;
  pointer-events: none;
  transform: rotate(-8deg);
  box-shadow: inset 0 0 16px var(--coffee);
}

/* Unverified stamp */
.home-hero::before {
  content: 'UNVERIFIED';
  position: absolute;
  top: 32px;
  left: 24px;
  transform: rotate(-15deg);
  border: 4px solid rgba(139,26,26,0.22);
  padding: 6px 14px;
  color: rgba(139,26,26,0.22);
  font-family: 'Oswald', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 4px;
  pointer-events: none;
  z-index: 4;
  line-height: 1;
}

.case-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0 14px;
  font-family: 'Oswald', sans-serif;
  font-size: 0.7rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--ink-faded);
}

.case-badge-number { color: var(--bureau-blue); font-weight: 600; }

.case-badge-status {
  color: var(--red);
  font-weight: 700;
  font-size: 0.65rem;
  animation: blink-status 3s ease-in-out infinite;
}

@keyframes blink-status {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

/* Left: photo */
.hero-left {
  padding: 28px 28px 28px 32px;
  border-right: 2px solid rgba(0,0,0,0.1);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.hero-photo-link { display: block; text-decoration: none; }

.hero-photo {
  width: 100%;
  aspect-ratio: 4/3;
  background-size: cover;
  background-position: center;
  background-color: #1a1410;
  border: 2px solid var(--ink);
  transition: opacity 0.2s;
  filter: sepia(15%) contrast(1.05);
}

.hero-photo-link:hover .hero-photo { opacity: 0.88; }

.hero-photo-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
  background: #2a2520;
}

.hero-photo-caption {
  font-size: 0.65rem;
  color: var(--ink-faded);
  text-align: center;
  margin-top: 6px;
  font-style: italic;
  letter-spacing: 1px;
}

/* Right: assertion + actions */
.hero-right {
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.classifier-block {
  border-bottom: 1px solid rgba(0,0,0,0.12);
  padding-bottom: 12px;
}

.classifier-label {
  font-size: 0.6rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--ink-faded);
  margin-bottom: 2px;
}

.classifier-name {
  font-family: 'Oswald', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--bureau-blue);
  letter-spacing: 1px;
}

.classifier-title {
  font-size: 0.6rem;
  color: var(--ink-faded);
  font-style: italic;
  letter-spacing: 1px;
}

.hero-assertion-link { text-decoration: none; }

.hero-assertion {
  font-family: 'Special Elite', serif;
  font-size: 1.25rem;
  line-height: 1.4;
  color: var(--ink);
  transition: color 0.2s;
}

.hero-assertion-link:hover .hero-assertion { color: var(--bureau-blue); }

/* ── Verify Button ─────────────────────────────────────────────────────────── */
.verify-btn {
  display: block;
  background: var(--red);
  color: white;
  border: none;
  padding: 16px 20px;
  font-family: 'Oswald', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  border-bottom: 4px solid var(--red-dark);
  transition: all 0.1s;
  line-height: 1.2;
}

.verify-btn:hover {
  background: var(--red-dark);
  transform: translateY(2px);
  border-bottom-width: 2px;
}

.verify-sub {
  display: block;
  font-size: 0.6rem;
  letter-spacing: 1.5px;
  font-weight: 400;
  margin-top: 4px;
  opacity: 0.8;
  text-transform: uppercase;
}

/* ── Seriously block ───────────────────────────────────────────────────────── */
.seriously-block {
  border-left: 3px solid var(--bureau-blue);
  padding: 10px 14px;
  background: rgba(26,58,92,0.06);
}

.seriously-text {
  font-size: 0.78rem;
  line-height: 1.6;
  color: var(--ink-faded);
  font-style: italic;
}

/* ── Shuffle Button ────────────────────────────────────────────────────────── */
.shuffle-btn {
  display: block;
  width: 100%;
  background: transparent;
  color: var(--bureau-blue);
  border: 2px solid var(--bureau-blue);
  padding: 10px;
  font-family: 'Oswald', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  transition: all 0.15s;
}

.shuffle-btn:hover {
  background: var(--bureau-blue);
  color: white;
}

.shuffle-icon { margin-right: 6px; }

/* ── Post / Record page ────────────────────────────────────────────────────── */
.post-container {
  max-width: var(--max-width);
  margin: 32px auto;
  background: var(--paper);
  box-shadow: 6px 6px 0 #0a0806, 12px 12px 0 rgba(0,0,0,0.3);
  position: relative;
  background-image: repeating-linear-gradient(
    0deg, transparent, transparent 31px,
    var(--paper-lines) 31px, var(--paper-lines) 32px
  );
}

/* Coffee ring on post */
.post-container::after {
  content: '';
  position: absolute;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 14px solid var(--coffee);
  top: 60px;
  right: 60px;
  pointer-events: none;
  transform: rotate(-5deg);
  box-shadow: inset 0 0 12px var(--coffee);
}

/* Stamp */
.post-container::before {
  content: 'UNVERIFIED';
  position: absolute;
  top: 80px;
  left: 20px;
  transform: rotate(-18deg);
  border: 4px solid rgba(139,26,26,0.2);
  padding: 5px 12px;
  color: rgba(139,26,26,0.2);
  font-family: 'Oswald', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 4px;
  pointer-events: none;
  z-index: 4;
  line-height: 1;
}

.case-bar {
  background: var(--bureau-blue);
  color: white;
  padding: 8px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: 'Oswald', sans-serif;
  font-size: 0.7rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  position: relative;
  z-index: 5;
}

.case-number { font-size: 0.85rem; font-weight: 700; letter-spacing: 3px; }

.case-status {
  background: var(--red);
  padding: 3px 10px;
  font-weight: 700;
  letter-spacing: 2px;
  font-size: 0.65rem;
  animation: blink-status 3s ease-in-out infinite;
}

.post-record {
  display: grid;
  grid-template-columns: 1fr 380px;
  position: relative;
  z-index: 3;
}

/* Photo side */
.post-photo-side {
  padding: 28px 28px 28px 32px;
  border-right: 2px solid rgba(0,0,0,0.1);
  position: relative;
  overflow: hidden;
}

.post-photo-label {
  font-size: 0.6rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--ink-faded);
  margin-bottom: 8px;
}

.post-photo-frame {
  border: 2px solid var(--ink);
  background: #1a1410;
  aspect-ratio: 4/3;
  overflow: hidden;
}

.post-photo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: sepia(15%) contrast(1.05);
}

.post-photo-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
}

.post-photo-caption {
  font-size: 0.6rem;
  color: var(--ink-faded);
  text-align: center;
  margin-top: 6px;
  font-style: italic;
  letter-spacing: 1px;
}

.post-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 20px;
}

.post-field {
  border-bottom: 1px solid rgba(0,0,0,0.15);
  padding-bottom: 4px;
}

.post-field-label {
  font-size: 0.55rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--ink-faded);
  display: block;
  margin-bottom: 2px;
}

.post-field-value {
  font-family: 'Courier Prime', monospace;
  font-size: 0.78rem;
  color: var(--ink);
}

.post-field-pending { color: var(--red); font-weight: 700; }

/* Action side */
.post-action-side {
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.post-classifier {
  border-bottom: 1px solid rgba(0,0,0,0.12);
  padding-bottom: 12px;
}

.post-classifier-label {
  font-size: 0.6rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--ink-faded);
}

.post-classifier-name {
  font-family: 'Oswald', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--bureau-blue);
  letter-spacing: 1px;
}

.post-classifier-title {
  font-size: 0.6rem;
  color: var(--ink-faded);
  font-style: italic;
}

.post-assertion-block {
  border: 2px solid rgba(0,0,0,0.15);
  padding: 14px;
  background: rgba(255,255,255,0.3);
  position: relative;
}

.post-assertion-kicker {
  font-size: 0.55rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--ink-faded);
  margin-bottom: 8px;
}

.post-assertion {
  font-family: 'Special Elite', serif;
  font-size: 1.15rem;
  line-height: 1.4;
  color: var(--ink);
  font-weight: 400;
}

.post-assertion-sub {
  font-size: 0.8rem;
  color: var(--ink-faded);
  margin-top: 8px;
  font-style: italic;
}

.post-confidence { margin-top: 12px; }

.post-confidence-label {
  font-size: 0.55rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--ink-faded);
}

.post-confidence-bar {
  height: 5px;
  background: rgba(0,0,0,0.1);
  margin: 4px 0;
}

.post-confidence-fill {
  height: 100%;
  background: var(--bureau-blue);
  width: 0;
  transition: width 4s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.post-confidence-pct {
  font-family: 'Oswald', sans-serif;
  font-size: 0.75rem;
  color: var(--bureau-blue);
  font-weight: 700;
}

/* Post content */
.post-content {
  padding: 32px;
  border-top: 2px solid rgba(0,0,0,0.1);
  font-size: 0.95rem;
  line-height: 1.8;
  position: relative;
  z-index: 3;
}

/* Comments */
/* ── Overdue Documents sidebar section ─────────────────────────────────────── */
.overdue-docs {
  border: 1px solid rgba(0,0,0,0.12);
  background: rgba(0,0,0,0.02);
}

.overdue-docs-header {
  padding: 8px 12px 6px;
  border-bottom: 1px solid rgba(0,0,0,0.1);
  background: rgba(0,0,0,0.04);
}

.overdue-docs-label {
  display: block;
  font-family: 'Oswald', sans-serif;
  font-size: 0.55rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--ink-faded);
  font-weight: 600;
}

.overdue-docs-sub {
  display: block;
  font-family: 'Courier Prime', monospace;
  font-size: 0.55rem;
  color: var(--ink-faded);
  opacity: 0.7;
  margin-top: 2px;
  font-style: italic;
}

.overdue-docs-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.overdue-docs-item {
  display: flex;
  flex-direction: column;
  gap: 1px;
  padding: 7px 12px;
  border-bottom: 1px solid rgba(0,0,0,0.07);
}

.overdue-docs-item:last-child { border-bottom: none; }

.overdue-due {
  font-family: 'Courier Prime', monospace;
  font-size: 0.55rem;
  letter-spacing: 0.5px;
  color: var(--red);
  opacity: 0.7;
  text-transform: uppercase;
}

.overdue-title {
  font-family: 'Courier Prime', monospace;
  font-size: 0.68rem;
  color: var(--ink-faded);
  text-decoration: none;
  line-height: 1.3;
}

.overdue-title:hover {
  color: var(--bureau-blue);
  text-decoration: underline;
}

.overdue-docs-loading {
  font-family: 'Courier Prime', monospace;
  font-size: 0.65rem;
  color: var(--ink-faded);
  padding: 10px 12px;
  font-style: italic;
  opacity: 0.6;
}

/* ── eBay footnote ──────────────────────────────────────────────────────────── */
.ebay-footnote {
  padding: 10px 32px;
  border-top: 1px solid rgba(0,0,0,0.08);
  text-align: right;
}

.ebay-footnote-link {
  font-family: 'Courier Prime', monospace;
  font-size: 0.65rem;
  color: var(--ink-faded);
  text-decoration: none;
  letter-spacing: 0.3px;
  opacity: 0.6;
  transition: opacity 0.15s;
}

.ebay-footnote-link:hover { opacity: 1; color: var(--bureau-blue); }

.post-comments {
  padding: 32px;
  border-top: 2px solid rgba(0,0,0,0.1);
  position: relative;
  z-index: 3;
}

.comments-header {
  margin-bottom: 24px;
}

.comments-label {
  font-family: 'Oswald', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--bureau-blue);
  display: block;
  margin-bottom: 4px;
}

.comments-sub {
  font-size: 0.7rem;
  color: var(--ink-faded);
  font-style: italic;
  letter-spacing: 1px;
}

/* Post footer */
.post-footer {
  background: var(--paper-dark);
  border-top: 2px solid rgba(0,0,0,0.1);
  padding: 12px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 3;
}

.post-back {
  font-family: 'Oswald', sans-serif;
  font-size: 0.75rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--bureau-blue);
  text-decoration: none;
}

.post-back:hover { text-decoration: underline; }

.post-footer-stamp {
  font-size: 0.6rem;
  letter-spacing: 2px;
  color: var(--ink-faded);
  text-transform: uppercase;
}

/* ── Site Footer ───────────────────────────────────────────────────────────── */
.site-footer {
  background: var(--paper-dark);
  border-top: 4px double var(--ink);
  padding: 24px 40px;
  text-align: center;
  max-width: 100%;
}

.footer-seal {
  font-size: 2rem;
  margin-bottom: 12px;
  opacity: 0.4;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 28px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.footer-links a {
  font-family: 'Oswald', sans-serif;
  font-size: 0.7rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--bureau-blue);
  text-decoration: none;
}

.footer-links a:hover { text-decoration: underline; }

.footer-case-note {
  font-size: 0.65rem;
  color: var(--ink-faded);
  font-style: italic;
  line-height: 1.6;
  max-width: 680px;
  margin: 0 auto;
  letter-spacing: 0.5px;
}

/* ── Page (about etc) ──────────────────────────────────────────────────────── */
.page-container {
  max-width: 720px;
  margin: 40px auto;
  background: var(--paper);
  padding: 48px;
  box-shadow: 6px 6px 0 #0a0806;
  background-image: repeating-linear-gradient(
    0deg, transparent, transparent 31px,
    var(--paper-lines) 31px, var(--paper-lines) 32px
  );
}

.page-container h1 {
  font-family: 'Oswald', sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--bureau-blue);
  border-bottom: 3px double var(--ink);
  padding-bottom: 16px;
  margin-bottom: 24px;
}

.page-container h2 {
  font-family: 'Oswald', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--ink);
  margin: 28px 0 10px;
}

.page-container p {
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--ink);
  margin-bottom: 16px;
}

/* ── Mobile ────────────────────────────────────────────────────────────────── */
@media (max-width: 700px) {
  .site-header {
    flex-direction: column;
    gap: 16px;
    padding: 16px 20px;
    text-align: center;
  }

  .site-nav { flex-wrap: wrap; justify-content: center; gap: 12px; }

  .home-hero,
  .post-record {
    grid-template-columns: 1fr;
  }

  .hero-left,
  .post-photo-side {
    border-right: none;
    border-bottom: 2px solid rgba(0,0,0,0.1);
    padding: 20px;
  }

  .hero-right,
  .post-action-side { padding: 20px; }

  .home-hero::after,
  .post-container::after { display: none; }

  .case-bar {
    flex-direction: column;
    gap: 4px;
    text-align: center;
    padding: 8px 16px;
  }

  .page-container { padding: 24px 20px; margin: 20px; }
}

/* ── Ghost Card Width Classes (required) ───────────────────────────────────── */
.kg-width-wide {
  margin-left: -10%;
  margin-right: -10%;
}

.kg-width-full {
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

/* ── Ghost Content Cards ───────────────────────────────────────────────────── */
.kg-image { max-width: 100%; height: auto; }
.kg-image-card { margin: 1.5em 0; }
.kg-image-card img { max-width: 100%; }
.kg-gallery-container { display: flex; flex-direction: column; }
.kg-gallery-row { display: flex; flex-direction: row; justify-content: center; }
.kg-gallery-image img { display: block; width: 100%; height: 100%; object-fit: cover; }
.kg-bookmark-card { width: 100%; }
.kg-callout-card { display: flex; padding: 1.2em; border-radius: 3px; background: rgba(26,58,92,0.08); margin: 1.5em 0; border-left: 4px solid var(--bureau-blue); }
.kg-callout-emoji { padding-right: 0.8em; font-size: 1.2em; }
.kg-toggle-card { border: 1px solid rgba(0,0,0,0.15); padding: 1em; margin: 1.5em 0; }
.kg-button-card { text-align: center; margin: 1.5em 0; }
.kg-button-card a { display: inline-block; background: var(--red); color: white; padding: 10px 24px; font-family: 'Oswald', sans-serif; letter-spacing: 2px; text-transform: uppercase; text-decoration: none; font-size: 0.85rem; border-bottom: 3px solid var(--red-dark); }
.kg-divider { border: none; border-top: 2px solid rgba(0,0,0,0.1); margin: 2em 0; }
.kg-video-card { margin: 1.5em 0; }
.kg-video-card video { width: 100%; }
.kg-audio-card { margin: 1.5em 0; }
.kg-file-card { margin: 1.5em 0; }

/* ── Peter J. Fitzsimmons ──────────────────────────────────────────────────── */
.post-classifier {
  display: flex;
  align-items: center;
  gap: 14px;
  border-bottom: 1px solid rgba(0,0,0,0.12);
  padding-bottom: 14px;
}

.classifier-block {
  display: flex;
  align-items: center;
  gap: 14px;
  border-bottom: 1px solid rgba(0,0,0,0.12);
  padding-bottom: 12px;
}

.post-classifier-photo {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  filter: grayscale(100%) contrast(1.1);
  border: 3px solid var(--bureau-blue);
  flex-shrink: 0;
  box-shadow: 2px 2px 0 rgba(0,0,0,0.2);
}

/* ── Lightbox ──────────────────────────────────────────────────────────────── */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  align-items: center;
  justify-content: center;
}

.lightbox.active {
  display: flex;
}

.lightbox-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 8, 6, 0.92);
}

.lightbox-content {
  position: relative;
  z-index: 1001;
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.lightbox-content img {
  max-width: 90vw;
  max-height: 82vh;
  object-fit: contain;
  border: 3px solid var(--paper);
  box-shadow: 0 0 60px rgba(0,0,0,0.8);
  filter: sepia(10%) contrast(1.05);
}

.lightbox-caption {
  font-family: 'Courier Prime', monospace;
  font-size: 0.7rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(245,240,232,0.5);
  cursor: pointer;
}

/* ── Verified state ────────────────────────────────────────────────────────── */
.case-bar-verified {
  background: #1a5c2a;
}

.case-status-verified {
  background: #27ae60;
  padding: 3px 10px;
  font-weight: 700;
  letter-spacing: 2px;
  font-size: 0.65rem;
}

.post-field-verified {
  color: #1a5c2a;
  font-weight: 700;
}

.verified-answer {
  margin-top: 14px;
  border: 2px solid #27ae60;
  padding: 12px 14px;
  background: rgba(39,174,96,0.06);
}

.verified-answer-label {
  font-size: 0.6rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #1a5c2a;
  font-weight: 700;
  margin-bottom: 6px;
}

.verified-answer-text {
  font-family: 'Special Elite', serif;
  font-size: 1rem;
  color: #1a1410;
  line-height: 1.4;
}

.verify-btn-done {
  background: #27ae60;
  border-bottom-color: #1a5c2a;
}

.verify-btn-done:hover {
  background: #1a5c2a;
}

/* ── Photo stamps ──────────────────────────────────────────────────────────── */
.post-photo-frame { position: relative; overflow: hidden; }

/* "DO NOT STAMP" watermark — always on the photo, stamp hits it when verified */
.do-not-stamp-watermark {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%) rotate(-8deg);
  font-family: 'Oswald', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: rgba(0,0,0,0.12);
  white-space: nowrap;
  pointer-events: none;
  z-index: 5;
  border: 2px solid rgba(0,0,0,0.1);
  padding: 3px 10px;
}

/* Base stamp */
.photo-stamp {
  position: absolute;
  top: 20px;
  left: 10px;
  padding: 6px 14px 8px;
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  border-width: 4px;
  border-style: solid;
  transform: rotate(-12deg);
  pointer-events: none;
  z-index: 10;
  line-height: 1;
}

.photo-stamp-unverified {
  font-size: 1rem;
  color: rgba(139,26,26,0.35);
  border-color: rgba(139,26,26,0.35);
}

/* Verified stamp — bigger, overlaps the DO NOT STAMP watermark */
.photo-stamp-verified {
  top: 30px;
  left: 8px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  color: rgba(26,92,42,0.75);
  border-color: rgba(26,92,42,0.75);
  background: rgba(255,255,255,0.08);
}

.stamp-word {
  font-size: 1.1rem;
  letter-spacing: 5px;
  display: block;
}

.stamp-date {
  font-size: 0.55rem;
  letter-spacing: 2px;
  display: block;
  opacity: 0.85;
}

/* Handwritten-style signature using cursive fallback */
.stamp-sig {
  display: block;
  font-family: 'Special Elite', cursive;
  font-size: 0.75rem;
  letter-spacing: 1px;
  font-weight: 400;
  text-transform: none;
  border-top: 1px solid rgba(26,92,42,0.4);
  margin-top: 3px;
  padding-top: 3px;
  font-style: italic;
}


.seriously-block-verified {
  border-left-color: #27ae60;
  background: rgba(39,174,96,0.06);
}

/* ── Ghost Gallery Cards ───────────────────────────────────────────────────── */
.kg-gallery-card {
  margin: 2em 0;
}

.kg-gallery-container {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.kg-gallery-row {
  display: flex;
  flex-direction: row;
  gap: 6px;
  justify-content: center;
}

.kg-gallery-image {
  flex: 1;
  min-width: 0;
}

.kg-gallery-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 1px solid rgba(0,0,0,0.1);
  filter: sepia(10%) contrast(1.05);
  cursor: zoom-in;
  transition: opacity 0.2s;
}

.kg-gallery-image img:hover {
  opacity: 0.88;
}

/* ── Gallery image lightbox cursor ────────────────────────────────────────── */
.kg-gallery-image img {
  cursor: zoom-in;
}
