/* Styles specific to the production site (beyond the shared design-system CSS in mhl.css). */

.skip-link { position: absolute; left: 12px; top: -48px; z-index: 100; padding: 10px 16px; border-radius: 10px; background: var(--blue); color: var(--on-blue); font-weight: 600; text-decoration: none; }
.skip-link:focus { top: 12px; }

/* demo-only chrome from the design file is never rendered on the real site */
.demo-pill { display: none !important; }

/* links that are anchors instead of buttons */
a.mhl-chip { text-decoration: none; }
.mhl-chip[aria-current="true"] { background: var(--blue); border-color: var(--blue); color: var(--on-blue); }
.mhl-tab { text-decoration: none; }
a.mhl-tab[aria-current="page"] { color: var(--link); }
.mhl-fab { text-decoration: none; }
.mhl-footer__contact a { color: inherit; text-decoration: none; }
.mhl-footer__contact a:hover { text-decoration: underline; }
.pkp__name a { color: inherit; text-decoration: none; }
.pkp__name a:hover { color: var(--link); }
.pkp { position: relative; }
.pkp .stretch::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.pkp .lift { position: relative; z-index: 2; }

/* page titles */
.page-title { display: flex; flex-direction: column; gap: 0; padding-block: 8px 32px; }
.page-title .h-sec { margin-top: 0; }
.page-title .eyebrow { margin-bottom: 10px; }

/* test menu toolbar */
.tests-bar { display: flex; gap: 12px; align-items: center; margin-bottom: 16px; }
.tests-bar .mhl-search { margin: 0; }
.cat-chips { margin-bottom: 20px; }
.results-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; min-height: 44px; }
.results-count { font: 600 17px/22px var(--font-display); }
.results-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.branch-filters { justify-content: space-between; gap: 12px; margin-bottom: 24px; flex-wrap: wrap; }

/* package detail */
.pkd-hero { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 28px; align-items: center; }
.pkd-hero__img img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 20px; box-shadow: var(--shadow-md); display: block; }
.help-band { margin-top: 48px; padding: 24px 28px; border-radius: 20px; background: var(--soft); border: 1px solid var(--hair); display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }

/* maps */
.map-frame { border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-md); border: 1px solid var(--hair); min-height: 360px; background: var(--soft); }
.map-frame iframe { display: block; width: 100%; height: 100%; min-height: 360px; border: 0; }

/* main lab feature card */
.mainlab-card { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); overflow: hidden; }
.mainlab-card__img img { width: 100%; height: 100%; min-height: 300px; object-fit: cover; display: block; }

/* about */
.mark-card { border-radius: 24px; background: #127bc0; padding: 36px 32px; box-shadow: var(--shadow-lg); }
.mark-card img { display: block; width: 100%; height: auto; }
.seals--lg { border-top: 0; padding-top: 0; margin-top: 0; }

/* corporate + contact */
.corp-hero { padding-block: 72px; }
.contact-panel { gap: 12px; }
.contact-cards .val { font: 700 17px/24px var(--font-display); color: var(--ink-strong); }

/* native dialogs reuse the design-system modal */
.mhl-dialog { padding: 0; border: 0; background: transparent; max-width: min(520px, calc(100vw - 32px)); width: 100%; }
.mhl-dialog::backdrop { background: var(--overlay, rgba(10, 25, 45, .5)); }
.mhl-dialog .mhl-modal { width: 100%; max-width: none; }

/* search suggestions */
.mhl-suggest__item { text-decoration: none; color: inherit; }

@media (max-width: 1199px) { .results-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 767px) {
  .results-grid { grid-template-columns: minmax(0, 1fr); }
  .tests-bar { flex-direction: column; align-items: stretch; }
  .pkd-hero { grid-template-columns: 110px minmax(0, 1fr); gap: 16px; }
  .mainlab-card { grid-template-columns: minmax(0, 1fr); }
  .mainlab-card__img img { min-height: 200px; }
  .corp-hero { padding-block: 48px; }
  .corp-hero .doc-links { grid-template-columns: minmax(0, 1fr) !important; }
  .map-frame, .map-frame iframe { min-height: 280px; }
  .mark-card { padding: 24px 20px; }
}
