/* Scoped improvements for AMTG technical content inside the existing Humpton theme. */
#main-page-content .wp-block-table { overflow-x: auto; margin: 2rem 0; }
#main-page-content .wp-block-table table { width: 100%; border-collapse: collapse; }
#main-page-content .wp-block-table td { padding: .85rem 1rem; border-bottom: 1px solid #8886; vertical-align: top; }
#main-page-content .wp-block-table td:first-child { width: 38%; font-weight: 600; }
#main-page-content .wp-block-buttons { margin: 2rem 0 3rem; }
#main-page-content .wp-block-image img { max-width: 100%; height: auto; }
#main-page-content .wp-block-video video { display: block; width: 100%; max-height: 75vh; }
#main-page-content .amtg-model-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 2rem; margin: 3rem 0; }
#main-page-content .amtg-model-card { min-width: 0; border-bottom: 1px solid #8886; padding-bottom: 1.5rem; }
#main-page-content .amtg-model-card img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: contain; }
#main-page-content .amtg-model-card h3 { margin-top: 1rem; }
#main-page-content .amtg-model-card p { margin-bottom: 0; }
#main-page-content a:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
@media (max-width: 720px) {
  #main-page-content .amtg-model-grid { grid-template-columns: minmax(0,1fr); }
  #main-page-content .wp-block-table td { min-width: 10rem; }
}
