/* Small functional repairs; original archived theme remains authoritative. */
img { max-width: 100%; height: auto; }
.bap-layout { grid-template-columns: minmax(0, 1fr) 320px; }
.bap-content { min-width: 0; }
.bap-single-thumb img { width: 100%; }
.bap-single-content { overflow-wrap: anywhere; }
.bap-single-content table { display: block; max-width: 100%; overflow-x: auto; }
main table th { color: #1b2a4c; }
.hero-slider .slides { transition: transform .35s ease; }
.pagination:empty, .nav-links:empty { display: none; }
@media (max-width: 768px) {
  .main-navigation.toggled { flex-basis: 100%; order: 5; }
  .bap-single-content table { font-size: .9rem; }
}
@media (max-width: 900px) {
  .bap-layout { grid-template-columns: minmax(0, 1fr); }
  .bap-outer { padding: 28px 24px; }
  .bap-single-card h1 { font-size: 1.8rem; line-height: 1.3; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-slider .slides { transition: none; }
}
