/* ISC2Certs theme overrides (website 13 only: loaded by the shared layout via tenant_asset('css/theme.css')).
   Layout fixes for the CertsClub-based pages, same approach as CertsTree's theme.css. 2026-11-17. */

/* Vendor page exam grid: let long exam names ellipsize instead of widening the grid (no horizontal scroll). */
html body .cc-vp-exam-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
html body .cc-vp-exam-card { min-width: 0; }
@media (max-width: 767px) { html body .cc-vp-exam-grid { grid-template-columns: minmax(0, 1fr); } }
/* The exam name is an inline span, so its nowrap + ellipsis rules never clipped it; make it a block. */
html body .cc-vp-exam-name { display: block; }

/* Contact page: the container has no side padding, so the Bootstrap row's -15px margins overflowed the viewport. */
html body .contact-us-page > .row { margin-left: 0; margin-right: 0; }

/* Cart header: the global style.css makes .cart-header a flex row, which squeezes the subtitle into a narrow
   column beside "Shopping Cart" on phones. Stack them below 768px; desktop layout unchanged. */
@media (max-width: 767px) { html body .cart-header { flex-direction: column; align-items: flex-start; } }
