/* /ime/for-agencies/ v2: section rhythm, the two reusable statements, and branch-only hold marks. */
.t2 #agencies .ag-h { margin-top: var(--space-5); }
.t2 #agencies .ag-cols { margin-top: var(--space-4); }
@media (min-width: 820px) {
  .t2 #agencies .ag-cols { grid-template-rows: auto auto; row-gap: 0; }
  .t2 #agencies .ag-cols > div { display: grid; grid-row: span 2; grid-template-rows: subgrid; align-content: start; }
}
.t2 #agencies h3 { margin-top: var(--space-3); font-size: 1.25rem; }
.t2 #agencies .ag-btns { display: flex; gap: var(--space-2); flex-wrap: wrap; margin-top: var(--space-3); }
.t2 #agencies .ag-final { margin-top: var(--space-5); }
.t2 #agencies .ag-docs li { margin: var(--space-1) 0; }

.reuse-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-3); margin-top: var(--space-3); }
.reuse { margin: 0; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-tile); padding: var(--space-3); display: flex; flex-direction: column; gap: var(--space-2); }
.reuse figcaption { display: flex; flex-direction: column; gap: 4px; }
.reuse-title { font-weight: 600; color: var(--ink); }
.reuse-label { font-size: 0.875rem; color: var(--ink-mute); }
.reuse blockquote { margin: 0; padding: var(--space-2); background: var(--ground-warm); border-left: 3px solid var(--accent); border-radius: 8px; }
.reuse blockquote p { margin: 0; max-width: none; }
.reuse .ph { background: var(--warm); border-radius: 4px; padding: 0 3px; }
.reuse-copy { align-self: flex-start; margin-top: auto; }   /* both Copy buttons sit on the cards' bottom line */
.reuse blockquote { flex: 1 0 auto; }
.reuse-copy[hidden] { display: none; }
@media (max-width: 760px) { .reuse-grid { grid-template-columns: 1fr; } }

/* Hold marks show on review branches only; tools/check-holds.py fails a release while any remain. */
.hold { outline: 2px dashed #B4372E; outline-offset: 12px; margin-top: var(--space-5); position: relative; }
.hold::before { content: "HOLD " attr(data-hold) ": " attr(data-hold-note); display: block; font: 600 0.8125rem/1.4 var(--font-body); color: #B4372E; margin-bottom: var(--space-1); }
.hold > .ag-h:first-child, .hold > h2:first-of-type { margin-top: var(--space-2); }
.reuse.hold { margin-top: 0; outline-offset: 6px; }
.reuse.hold::before { margin-bottom: 0; }
