/* Atlantis Formulations — approved responsive updates 1, 3, 4 and 5 only. */

/* Keep product search and filters fully below the sticky contact/header stack. */
.product-toolbar,
.product-toolbar.is-compact {
  top: 124px;
}

@media (min-width: 721px) and (max-width: 900px) {
  .product-toolbar,
  .product-toolbar.is-compact {
    top: 128px;
  }
}

@media (max-width: 720px) {
  .product-toolbar,
  .product-toolbar.is-compact {
    top: 112px;
  }
}

/* Keep the full medical-specialty line visible in homepage latest-product cards. */
.latest-copy {
  min-height: 0;
  padding-bottom: 16px;
}

.latest-card h3 {
  margin-top: 16px;
  margin-bottom: 6px;
}

.latest-card b {
  flex: 0 0 auto;
  display: block;
  margin-top: auto;
  padding-top: 10px;
  line-height: 1.35;
}

@media (max-width: 720px) {
  .latest-copy {
    padding-bottom: 13px;
  }

  .latest-card h3 {
    margin-top: 11px;
    margin-bottom: 5px;
  }

  .latest-card b {
    padding-top: 8px;
  }
}

/* Keep tablet product filters readable without hiding any controls. */
@media (min-width: 721px) and (max-width: 900px) {
  .product-toolbar,
  .product-toolbar.is-compact {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .product-toolbar .search-box,
  .product-toolbar.is-compact .search-box {
    grid-column: 1 / -1;
  }
}

/* Show current vacancies before the long application form. */
.career-board > aside {
  order: -1;
}

@media (min-width: 1051px) {
  .career-board {
    grid-template-columns: 0.9fr 1.1fr;
  }
}

/* Keep the Operations partnership action visually consistent with other CTAs. */
.partner-section > a {
  border-radius: 10px;
}

/* Prevent narrow-screen clipping and keep floating controls clear of footer links. */
@media (max-width: 720px) {
  .franchise-benefits {
    grid-template-columns: 1fr;
  }

  .site-footer .footer-bottom {
    padding: 22px 0 64px;
  }
}
