/* America: Unmuted - news v2 (owner 2026-11-04): zigzag home cards, story pictures + credits, desk chips,
   thumbs up/down + share bar, comments. Builds on site.css + news.css tokens. */

/* ---------- zigzag front ---------- */
.zigs { margin: 8px 0 12px; }
.zig { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); gap: 44px; align-items: center; padding: 40px 0;
  border-bottom: 1px solid var(--line); }
.zig:first-of-type { padding-top: 22px; }
.zig--flip .zig__fig { order: 2; }
.zig__fig { display: block; position: relative; }
.zig__fig figure { margin: 0; position: relative; aspect-ratio: 3 / 2; overflow: hidden; border-radius: 6px; background: #0f1d36;
  box-shadow: 0 24px 50px -24px rgba(0, 0, 0, 0.9); }
.zig__fig figure::after { content: ""; position: absolute; inset: 0; border-radius: 6px; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08); pointer-events: none; }
.zig__fig::before { content: ""; position: absolute; z-index: 1; top: 0; bottom: 0; width: 6px; background: var(--red); border-radius: 6px 0 0 6px; left: 0; }
.zig--flip .zig__fig::before { left: auto; right: 0; border-radius: 0 6px 6px 0; }
.zig__img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; transition: transform 0.6s var(--ease); }
.zig__img--video { object-position: 50% 0; transform: scale(1.12); transform-origin: top; } /* hide the thumbnail's burned-in caption */
.zig:hover .zig__img { transform: scale(1.03); }
.zig:hover .zig__img--video { transform: scale(1.15); }
.zig__h { margin: 0 0 14px; font: 400 clamp(2rem, 1.2rem + 2vw, 3.1rem)/0.98 var(--font-display); letter-spacing: 0.005em; text-transform: uppercase;
  color: var(--white); overflow-wrap: break-word; }
.zig--top .zig__h { font-size: clamp(2.5rem, 1.3rem + 3vw, 4.1rem); }
.zig__h a:hover { color: #ffd9dc; }
.zig__pv { margin: 0 0 14px; font-size: 1.08rem; line-height: 1.55; color: #d5dbe6; }
.zig__more { font: 700 0.98rem/1 var(--font-body); letter-spacing: 0.01em; color: var(--red-hot);
  white-space: nowrap; border-bottom: 2px solid currentColor; padding-bottom: 2px; }
.zig__more:hover { color: var(--white); }
.zig .meta { margin: 0 0 14px; }
.zigs__more { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; padding: 34px 0 6px; }

.desk-chip { display: inline-block; font: 400 11px/1 var(--font-label); letter-spacing: 0.12em; text-transform: uppercase;
  padding: 4px 7px 3px; border-radius: 2px; color: var(--muted); box-shadow: inset 0 0 0 1px var(--line); }
.desk-chip:hover { color: var(--white); box-shadow: inset 0 0 0 1px var(--white); }

/* ---------- story picture ---------- */
.story__fig { margin: 0 0 22px; }
.story__img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; object-position: 50% 25%; border-radius: 6px; background: #0f1d36; }
.story__img--video { aspect-ratio: 16 / 9; object-position: 50% 0; }
.credit { margin-top: 8px; font-size: 12px; color: var(--muted); }
.credit a { text-decoration: underline; }
.story__by a b { text-decoration: underline; text-decoration-color: var(--red); text-underline-offset: 3px; }

/* ---------- vote + share bar ---------- */
.eng { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.story .eng { margin: 26px 0 18px; padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.eng__vote, .eng__c, .share__btn { display: inline-flex; align-items: center; gap: 7px; min-height: 38px; padding: 0 13px; border-radius: 999px;
  border: 1px solid var(--line); background: rgba(255, 255, 255, 0.04); color: var(--text); font: 600 14px/1 var(--font-body); cursor: pointer;
  transition: background 0.15s, border-color 0.15s, color 0.15s, transform 0.15s; }
.eng svg { width: 17px; height: 17px; fill: currentColor; flex: none; }
.eng__vote:hover, .eng__c:hover, .share__btn:hover { border-color: rgba(255, 255, 255, 0.45); color: var(--white); }
.eng__vote:active { transform: scale(0.94); }
.eng__vote--up[aria-pressed="true"] { background: #1f8a4c; border-color: #1f8a4c; color: var(--white); }
.eng__vote--down[aria-pressed="true"] { background: var(--red); border-color: var(--red); color: var(--white); }
.eng.is-busy .eng__vote { pointer-events: none; opacity: 0.75; }
.eng__vote:focus-visible, .eng__c:focus-visible, .share__btn:focus-visible, .share__menu > *:focus-visible { outline: 2px solid var(--white); outline-offset: 2px; }
.share { position: relative; margin-left: auto; }
.share__menu { position: absolute; z-index: 20; right: 0; bottom: calc(100% + 8px); min-width: 190px; display: grid; padding: 6px;
  background: #0f2240; border: 1px solid var(--line); border-radius: 8px; box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6); }
.share__menu[hidden] { display: none; }
.share__menu > * { display: block; width: 100%; text-align: left; padding: 10px 12px; border: 0; border-radius: 5px; background: none;
  color: var(--text); font: 500 14px/1.2 var(--font-body); cursor: pointer; }
.share__menu > *:hover { background: rgba(214, 32, 44, 0.3); color: var(--white); }

/* ---------- comments ---------- */
.cmts { margin-top: 40px; }
.cmts__n { color: var(--white); }
.cmts__form { display: grid; gap: 10px; margin-bottom: 26px; }
.cmts__form input, .cmts__form textarea { width: 100%; font: 1rem/1.45 var(--font-body); color: var(--text); background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line); border-radius: 6px; padding: 12px 14px; resize: vertical; }
.cmts__form input { max-width: 320px; }
.cmts__form input:focus, .cmts__form textarea:focus { outline: 2px solid var(--red); outline-offset: 0; border-color: transparent; }
.cmts__row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; }
.cmts__fine { margin: 0; font-size: 13px; color: var(--muted); }
.cmts__fine a { text-decoration: underline; }
.cmts__status { margin: 0; min-height: 1.2em; font-size: 14px; }
.cmts__status[data-kind="ok"] { color: #7ee0a5; }
.cmts__status[data-kind="error"] { color: #ff9aa0; }
.cmts__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.cmt { padding: 14px 0; border-bottom: 1px solid var(--line); }
.cmt--pending { padding: 14px 14px; border: 1px dashed rgba(255, 210, 122, 0.5); border-radius: 6px; }
.cmt--empty { color: var(--muted); }
.cmt__head { display: flex; flex-wrap: wrap; gap: 4px 12px; margin: 0 0 6px; font-size: 14px; }
.cmt__name { color: var(--white); }
.cmt__when { color: var(--muted); }
.cmt--pending .cmt__when { color: #ffd27a; }
.cmt__body { margin: 0; white-space: pre-line; overflow-wrap: anywhere; color: #dde3ee; }
.cmt__report { margin-top: 6px; padding: 0; border: 0; background: none; color: var(--muted); font-size: 12px; cursor: pointer; text-decoration: underline; }
.cmt__report:hover { color: var(--white); }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .zig { grid-template-columns: minmax(0, 1fr); gap: 18px; padding: 28px 0; }
  .zig--flip .zig__fig { order: 0; }
  .zig--flip .zig__fig::before { left: 0; right: auto; border-radius: 6px 0 0 6px; }
  .zig__h, .zig--top .zig__h { font-size: clamp(2rem, 1.2rem + 4vw, 2.8rem); }
}
@media (max-width: 520px) {
  .share { margin-left: 0; }
  .share__menu { right: auto; left: 0; }
  .eng__vote, .eng__c, .share__btn { padding: 0 11px; }
}
@media (prefers-reduced-motion: reduce) {
  .zig__img, .eng__vote, .eng__c, .share__btn { transition: none; }
  .zig:hover .zig__img { transform: none; }
  .zig:hover .zig__img--video { transform: scale(1.12); }
}
