.tests-page .header nav a[aria-current="page"]{text-decoration:underline;text-decoration-color:#ffc500;text-decoration-thickness:3px;text-underline-offset:9px}
.tests-hero{min-height:670px;background:linear-gradient(to bottom,transparent 70%,#fff),url('assets/tests-hero-new.png') center/cover no-repeat}
.breadcrumbs{display:flex;gap:12px;align-items:center;padding-top:42px;color:#42b8f5;font-size:16px}
.breadcrumbs a{font-size:16px;font-weight:400;text-transform:none;color:inherit}
.tests-heading{padding-top:86px}
.tests-heading h1{font-size:60px;margin:12px 0 28px;line-height:1.15;max-width:820px}
.tests-heading>p:last-child{font-size:18px;line-height:1.35;max-width:670px}
.tests-catalog{padding-bottom:115px}
.test-category{margin:0 0 105px}
.test-category:last-child{margin-bottom:0}
.category-label{display:inline-flex;align-items:center;gap:35px;background:#ffc500;color:#06316d;border-radius:30px;padding:12px 22px;font-size:17px;font-weight:700;text-transform:uppercase;cursor:pointer;list-style:none;margin-bottom:45px}
summary::-webkit-details-marker{display:none}
.chevron{width:11px;height:11px;display:inline-block;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(-45deg);flex-shrink:0;margin:0 3px;transition:transform .2s}
details[open]>.category-label .chevron,details[open]>.test-description .chevron,details.test-description[open]>summary .chevron{transform:rotate(45deg)}
.tests-grid{display:grid;grid-template-columns:1fr 1fr;gap:34px 60px;align-items:start}
.test-card{border-radius:28px;overflow:hidden;background:#edf4fd;scroll-margin-top:25px}
.test-photo{position:relative}
.test-photo>img{width:100%;height:auto;aspect-ratio:1.5;object-fit:cover}
.photo-open{position:absolute;right:20px;top:50%;transform:translateY(-50%);border:0;border-radius:50%;width:42px;height:42px;background:#ffffffa8;color:#687477;font-size:38px;line-height:1;box-shadow:0 2px 8px #0001}
.photo-open:hover{background:white;color:#06316d}
.test-description{padding:20px 20px 25px}
.test-description summary{display:flex;align-items:center;justify-content:space-between;gap:15px;list-style:none;cursor:pointer;font-size:19px;font-weight:700;line-height:1.2;text-transform:uppercase}
.test-copy{padding-top:13px;min-height:178px}
.test-copy p{font-size:17px;line-height:1.35;margin-bottom:14px}
.test-copy a{font-size:16px;text-decoration:underline;text-underline-offset:3px;color:#264b70}
.test-copy a:hover{color:#008ed7}
.photo-dialog{width:min(1050px,94vw);max-height:92vh;padding:35px 25px 20px;overflow:auto}
.photo-dialog img{max-height:74vh;width:100%;object-fit:contain}
.photo-dialog p{text-align:center;margin:12px 0 0;font-size:17px}
.photo-close{position:absolute;top:3px;right:14px;border:0;background:white;border-radius:50%;font-size:34px;color:#06316d}
@media(max-width:1100px){
.tests-heading h1{font-size:46px}.tests-hero{min-height:580px}.tests-heading{padding-top:65px}.tests-grid{gap:30px}.test-description summary{font-size:17px}.test-copy p{font-size:16px}
}
@media(max-width:700px){
.tests-hero{min-height:490px;background-position:60% center;background-image:linear-gradient(to bottom,#f0f6ff55 65%,white),linear-gradient(90deg,#f0f6ffed,#f0f6ff55),url('assets/tests-hero-new.png')}
.breadcrumbs{position:static;display:flex;flex-direction:row;box-shadow:none;background:none;padding:25px 0 0;gap:10px;font-size:13px}.breadcrumbs a{font-size:13px;padding:0}
.tests-heading{padding-top:55px}.tests-heading h1{font-size:36px}.tests-heading h1 br{display:none}.tests-heading>p:last-child{font-size:16px}.tests-heading>p:last-child br{display:none}
.tests-grid{grid-template-columns:1fr;gap:25px}.test-category{margin-bottom:55px}.category-label{font-size:13px;gap:20px;padding:11px 16px;margin-bottom:25px}.test-card{border-radius:22px}.test-copy{min-height:0}.test-description{padding:18px}.tests-catalog{padding-bottom:60px}.photo-open{width:35px;height:35px;font-size:30px;right:12px}
}

.tests-heading>p:last-child{font-family:Inter,Arial,sans-serif;font-weight:400}.tests-heading>p:last-child strong{font-weight:600}
.test-copy a{overflow-wrap:anywhere}

#test-wczesny .test-photo>img{
  aspect-ratio:1.4;
  object-fit:cover;
  object-position:center 55%;
}

#test-tygodnie .test-photo{
  aspect-ratio:1.5;
  overflow:hidden;
}
#test-tygodnie .test-photo>img{
  position:absolute;
  width:133.333%;
  max-width:none;
  height:auto;
  aspect-ratio:auto;
  left:50%;
  top:50%;
  transform:translate(-50%,-50%);
}

/* Left-aligned product descriptions. */
.test-copy p,
.test-copy li {
  text-align: left;
  text-align-last: left;
  -webkit-hyphens: auto;
  hyphens: auto;
  hyphenate-limit-chars: 7 3 3;
  overflow-wrap: break-word;
}

@media(max-width:700px){
  .tests-heading > p:not(.eyebrow){
    text-align:justify;
    text-align-last:left;
    -webkit-hyphens:auto;
    hyphens:auto;
    hyphenate-limit-chars:7 3 3;
    overflow-wrap:break-word;
  }
}
