/* Op-Eds — quiet cards + readable essay (bb5 polish) */
.oped-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
  margin-top: 2rem;
}

@media (max-width: 760px) {
  .oped-grid { grid-template-columns: 1fr; }
}

.oped-card {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  background: var(--bg-2);
  padding: 1.7rem 1.5rem 1.45rem;
  color: inherit;
  text-decoration: none;
  min-height: 260px;
  border: 1px solid var(--hairline, var(--line));
  border-radius: var(--radius-lg, 18px);
  box-shadow: 0 10px 28px color-mix(in srgb, var(--text) 5%, transparent);
  transition:
    background var(--t, 0.2s ease),
    border-color var(--t, 0.2s ease),
    box-shadow var(--t, 0.2s ease),
    transform var(--t, 0.2s ease);
}

.oped-card:hover,
.oped-card:focus-visible {
  background: var(--bg-2);
  opacity: 1;
  color: inherit;
  border-color: color-mix(in srgb, var(--accent-cool, #3d8fbf) 40%, var(--line));
  box-shadow:
    inset 3px 0 0 var(--accent, #d96a1f),
    0 14px 36px color-mix(in srgb, var(--text) 10%, transparent);
  transform: translateY(-1px);
}

.oped-card:focus-visible {
  outline: 2px solid var(--accent-cool, #3d8fbf);
  outline-offset: 3px;
}

.oped-kicker {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--accent, var(--faint));
}

.oped-card h2 {
  font-size: clamp(1.2rem, 2.4vw, 1.5rem);
  line-height: 1.28;
  letter-spacing: -0.03em;
  margin: 0;
  max-width: none;
}

.oped-quote {
  margin: 0;
  padding: 0.85rem 0 0.85rem 1rem;
  border-left: 2px solid color-mix(in srgb, var(--accent, #d96a1f) 70%, var(--line-strong));
  color: var(--muted);
  font-size: 0.98rem;
  font-style: italic;
  line-height: 1.45;
}

.oped-blurb {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.55;
  flex: 1;
}

.oped-date {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--faint, var(--muted));
  margin-top: 0.5rem;
}

.oped-cta {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent, var(--text));
  margin-top: 0.2rem;
}

.oped-card:hover .oped-cta,
.oped-card:focus-visible .oped-cta {
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 0.22em;
}

.section-label-tag {
  color: #228B22;
  margin-left: 0.35em;
}

/* Essay detail — override global .page-title max-width (16ch) for long titles */
.oped-article-wrap { max-width: 42rem; }

.oped-article-page .page-title,
.oped-article-head .page-title {
  max-width: none;
  margin-bottom: 0.55rem;
  letter-spacing: -0.035em;
  line-height: 1.2;
}

.oped-dates {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.65rem;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 1.65rem;
}

.oped-dates-sep {
  color: var(--faint, var(--muted));
}

.oped-lead-quote {
  margin: 0 0 2.1rem;
  padding: 1rem 0 1rem 1.15rem;
  border-left: 2px solid color-mix(in srgb, var(--accent, #d96a1f) 70%, var(--line-strong));
  color: var(--muted);
  font-size: 1.12rem;
  font-style: italic;
  line-height: 1.45;
}

.oped-body {
  font-size: 1.05rem;
  line-height: 1.72;
  color: var(--text);
}

.oped-body > *:first-child { margin-top: 0; }
.oped-body h1 { display: none; }

.oped-body h2 {
  font-size: 1.22rem;
  letter-spacing: -0.02em;
  margin: 2.25rem 0 0.85rem;
}

.oped-body p { margin: 0 0 1.15rem; color: var(--text); }

.oped-body hr {
  border: 0;
  border-top: 1px solid var(--hairline, var(--line));
  margin: 2rem 0;
}

.oped-body blockquote {
  margin: 1.5rem 0;
  padding: 0.9rem 0 0.9rem 1.15rem;
  border-left: 2px solid color-mix(in srgb, var(--accent, #d96a1f) 70%, var(--line-strong));
  color: var(--muted);
  font-style: italic;
}

.oped-body ul,
.oped-body ol {
  margin: 0 0 1.15rem;
  padding-left: 1.35rem;
}

.oped-body li { margin-bottom: 0.45rem; }
.oped-body li::marker { color: var(--faint); }
.oped-body strong { font-weight: 600; }
.oped-body em { font-style: italic; }

.oped-back { margin-top: 3rem; font-size: 0.9rem; }
.oped-back a { color: var(--muted); }
.oped-back a:hover { color: var(--accent-cool, var(--text)); opacity: 1; }

.section-label a { color: inherit; text-decoration: none; }
.section-label a:hover { color: var(--accent-cool, var(--text)); opacity: 1; }

/* Source files open with an h1 + byline; page chrome already shows both. */
.oped-body h1 + p { display: none; }
.oped-body h1 + p + hr { display: none; }

/* Drag-and-drop reorder on listing */
.oped-card[draggable="true"] {
  cursor: grab;
  touch-action: manipulation;
  user-select: none;
  -webkit-user-select: none;
}

.oped-card.is-dragging {
  opacity: 0.55;
  cursor: grabbing;
  box-shadow: 0 18px 40px color-mix(in srgb, var(--text) 14%, transparent);
  transform: scale(1.01);
}

.oped-card.is-drag-over {
  border-color: color-mix(in srgb, var(--accent-cool, #3d8fbf) 55%, var(--line));
  box-shadow:
    inset 3px 0 0 var(--accent-cool, #3d8fbf),
    0 10px 28px color-mix(in srgb, var(--text) 5%, transparent);
}
