/* Local QA candidate: observed Arabic tablet readability. Not a mobile approval. */
/* Keep the photographic covers and 3D motion; protect explanatory copy only. */
.cards.association .card-caption {
  position: relative;
  background: #0a0a0b;
  padding-block: 8px 10px;
  font-size: 14px;
  line-height: 1.8;
}
.cards.association .card-caption small {
  color: #bec5ce;
  font-size: 14px;
  line-height: 1.85;
}
html[lang="ar"] .cards.association .card-caption,
html[lang="ar"] .cards.association .card-caption small {
  letter-spacing: 0;
  line-height: 1.9;
}
.association-story-link { background: #0a0a0b; }
/* Preserve SPA heading focus for assistive technology. Keep a clear keyboard ring. */
.gallery-heading > div { min-width: 0; }
#gallery-title { display: inline-block; max-width: 100%; }
#gallery-title:focus {
  outline: 2px solid #e5bc86;
  outline-offset: 6px;
  border-radius: 2px;
}
/* Old browsers retain the explicit focus fallback rather than losing all cues. */
@supports selector(:focus-visible) {
  #gallery-title:focus:not(:focus-visible) { outline: none; }
  #gallery-title:focus-visible {
    outline: 2px solid #e5bc86;
    outline-offset: 6px;
  }
}
@media (max-width: 540px) {
  .cards.association .card-caption { font-size: 16px; }
  .cards.association .card-caption small { font-size: 14px; }
}
