/* fcc.cc /feeds/ — Archetype E utility-form styling
   Pairs with the shared fcc-archetypes.css .utility-* primitives.
   Page-local extras only. */

.fcc-sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* Feed cards inside the .utility-form panel.
   Each card is a paper-bg row with title + description + URL + action
   buttons. Borders match the .field .input rule tone. */
.feed-card {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: start;
  gap: 16px 22px;
  padding: 16px 0;
  border-bottom: 1px solid var(--rule);
}
.feed-card:last-of-type { border-bottom: 0; }
.feed-card-body { min-width: 0; }
.feed-card h4 {
  margin: 0 0 4px;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 800;
  font-size: 19px;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.feed-card p {
  margin: 0 0 6px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--ink-2);
}
.feed-url {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.02em;
  color: var(--ink-3);
  word-break: break-all;
  background: var(--paper);
  border: 1px solid var(--rule);
  padding: 6px 10px;
  display: inline-block;
}
.feed-card .feed-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: stretch;
  min-width: 9.5rem;
}
.feed-card .feed-actions .btn-submit,
.feed-card .feed-actions .btn-cancel {
  text-align: center;
  text-decoration: none;
  display: inline-block;
}

/* Field-actions row buttons style as anchors here — the design's
   .btn-submit / .btn-cancel rules use block-level rules so this just
   keeps the layout consistent. */
.utility-form .field-actions .btn-submit,
.utility-form .field-actions .btn-cancel {
  text-decoration: none;
}

/* Hover affordance — matches the design's subtle brightness shift */
.btn-submit:hover  { filter: brightness(1.08); cursor: pointer; }
.btn-cancel:hover  { color: var(--ink); border-color: var(--ink-3); cursor: pointer; }

/* Mono autosave stamp mirrors the tickets page */
.autosave-stamp {
  margin-left: auto;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-3);
}

/* Aside blurb — same tone as tickets */
.utility-aside .aside-blurb {
  margin: 0;
  font-family: var(--serif);
  font-style: italic;
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink-2);
}
.utility-aside .aside-blurb a { color: var(--accent); }
.utility-aside .aside-blurb code {
  font-family: var(--mono);
  font-style: normal;
  font-size: 11.5px;
  background: var(--paper);
  border: 1px solid var(--rule);
  padding: 1px 5px;
}

/* Responsive: collapse the 2-col body + stack action buttons */
@media (max-width: 920px) {
  .utility-body { grid-template-columns: 1fr; gap: 32px; }
  .utility-form { padding: 24px 22px; }
}
@media (max-width: 560px) {
  .feed-card { grid-template-columns: 1fr; }
  .feed-card .feed-actions { flex-direction: row; min-width: 0; }
  .feed-card .feed-actions .btn-submit,
  .feed-card .feed-actions .btn-cancel { flex: 1; }
}
