/* Ako prebieha testovanie: 7-step process box. Hero, benefits and CTA come from p-home.css. */
.ap-process { margin-bottom: 80px; position: relative; z-index: 9; }
.ap-box {
  max-width: 1440px; margin: 0 auto; padding: 40px; border: 3px solid #FCDCEC; border-radius: 63px;
  background: linear-gradient(180deg, #fff 0%, #FCDAEB 100%);
}
.ap-box h2 { margin: 0 0 40px; text-align: center; font-size: 36px; font-weight: 700; line-height: 49px; color: var(--ink); }
.ap-steps { list-style: none; max-width: 1080px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 25px; }
.ap-steps li { position: relative; display: flex; flex-direction: column; gap: 8px; }
.ap-steps li:not(:nth-child(4n))::after {
  content: ""; position: absolute; top: 25px; right: -70px; width: 120px; height: 20px;
  background: url("../uploads/2026/06/step.png") left center / contain no-repeat;
}
.ap-steps li:last-child::after { display: none; }
.ap-steps img { width: 70px; height: 70px; object-fit: contain; margin: 0 auto; }
.ap-steps h3 { margin: 0; min-height: 50px; font-size: 18px; font-weight: 500; line-height: 25px; color: var(--pink); }
.ap-steps p { margin: 0; font-size: 14px; line-height: 18px; color: var(--ink); }
.ap-steps a { color: inherit; }
.ap-steps a:hover { color: var(--pink); }
.page-ako-prebieha-testovanie .hp-cta { padding: 0 10px; }

@media (max-width: 1024px) {
  .ap-process { padding: 0 20px; }
  .ap-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ap-steps li::after { display: none; }
  .page-ako-prebieha-testovanie .hp-cta { padding: 0 20px; }
}
@media (max-width: 767px) {
  .ap-process { margin: 40px 0 20px; padding: 0; }
  .ap-box { padding: 40px 20px 20px; border: 0; border-radius: 0; }
  .ap-box h2 { font-size: 20px; line-height: 27px; margin-bottom: 40px; }
  .ap-steps { grid-template-columns: 1fr; gap: 0; margin-bottom: 0; }
  .ap-steps li { display: grid; grid-template-columns: 20% 78%; column-gap: 5px; row-gap: 8px; align-items: center; padding-bottom: 20px; }
  .ap-steps img { width: 70px; height: 70px; margin: 0; }
  .ap-steps h3 { min-height: 0; font-size: 16px; line-height: 22px; }
  .ap-steps p { grid-column: 1 / -1; }
}
