/* About and accreditations page only (approved 17 Nov: r3-about-accredited-cards-a-flipped.html).
   The accreditation cards (style A, colours flipped): the logo on a white panel at the top, a thin line,
   then the words on the pale tile colour. Settings from tokens.css. */
.block-words .ab-h { margin-bottom: var(--space-23); }
.ab-wall { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-14); }
.ab-wall article { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 0 0 var(--space-18); overflow: hidden; border-radius: var(--radius-lg); background: var(--color-tile); border: 1px solid var(--color-line); box-shadow: var(--shadow-tile); }
.ab-wall article > :not(.ab-badge-box) { padding-left: var(--space-16); padding-right: var(--space-16); }
.ab-badge-box { align-self: stretch; height: 184px; display: flex; align-items: center; justify-content: center; background: var(--color-surface); border-bottom: 1px solid var(--color-line); }
.ab-badge { width: 132px; height: 132px; object-fit: contain; }
span.ab-badge { display: grid; place-items: center; align-content: center; gap: var(--space-2); border-radius: var(--radius-round); line-height: 1; text-align: center; }
span.ab-badge b { font-size: var(--font-size-16); letter-spacing: .04em; }
span.ab-badge small { font-size: var(--font-size-2); font-weight: 700; }
/* PLACEHOLDER: the dashed CHAS badge stays until Glencross send the real CHAS logo. Launch check. */
.ab-stand { border: 2px dashed var(--color-placeholder-edge); background: var(--color-tile); color: var(--color-muted); }
.ab-cisrs { display: block; font-weight: 800; font-size: var(--font-size-13); line-height: 1.2; text-align: center; }
.ab-wall h3 { margin: var(--space-15) 0 var(--space-5); font-size: var(--font-size-12); }
.ab-wall p { margin: 0; color: var(--color-muted); font-size: var(--font-size-7); }
.ab-wall .ab-status { margin-top: var(--space-8); color: var(--color-text); font-weight: 700; }
.ab-cols { columns: 2; column-gap: var(--space-gap-wide); }
.ab-cols p { break-inside: avoid; margin: 0 0 var(--space-12); max-width: 64ch; }
@media (max-width: 1100px) { .ab-wall { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 860px) { .ab-cols { columns: 1; } .block-words .ab-h { margin-bottom: var(--space-18); } }
@media (max-width: 539px) { .ab-wall { grid-template-columns: 1fr; } .ab-badge-box { height: 160px; } }
