/* Aké ochorenia test zisťuje (prefix ao-). Values from the original Elementor page 8340 + wp-custom.css. */

/* ---------- Hero ---------- */
.ao-hero-in { max-width: 1260px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; align-items: center; }
.ao-hero-text { padding: 70px 0 85px; }
.ao-hero h1 { margin: 0; font-size: 36px; font-weight: 700; line-height: 50px; color: var(--pink); }
.ao-lead { margin: 32px 0 0; font-size: 18px; font-weight: 300; line-height: 24px; color: #000; }
.ao-hero-media { position: relative; align-self: stretch; }
.ao-hero-media img { width: 100%; height: 410px; object-fit: contain; object-position: center right; }
.ao-badge { position: absolute; z-index: 1; margin: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; color: #fff; }
.ao-badge-acc { left: -4%; top: 6%; width: 192px; height: 192px; background: url("../uploads/2026/03/Star-6.svg") center / cover no-repeat; }
.ao-badge-acc strong { font-size: 52px; font-weight: 700; line-height: 1.2; }
.ao-badge-acc span { font-size: 23px; line-height: 23px; }
.ao-badge-ins { left: 3%; top: 40%; width: 168px; height: 168px; padding: 10px; background: url("../uploads/2026/03/Star-61.svg") center / contain no-repeat; font-size: 20px; font-weight: 700; line-height: 27px; }

/* ---------- Chromosomal box ---------- */
.ao-chrom { position: relative; z-index: 9; padding: 0 20px; margin-bottom: 80px; }
.ao-chrom-box { max-width: 1400px; margin: 0 auto; padding: 40px; border: 3px solid #FCDCEC; border-radius: 63px; background: linear-gradient(180deg, #fff 0%, #FCDAEB 100%); }
.ao-chrom h2 { margin: 0 0 40px; text-align: center; font-size: 36px; font-weight: 700; line-height: 49px; color: var(--ink); }
.ao-tri { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 35px; }
.ao-tri-card { display: flex; flex-direction: column; gap: 8px; padding: 40px; border-radius: 24px; background: #fff; box-shadow: 0 15px 30px rgba(237, 6, 119, .10); }
.ao-tri-head { display: flex; align-items: flex-start; }
.ao-tri-head img { width: 70px; height: 70px; flex: none; margin: 0 13px 0 0; object-fit: cover; }
.ao-tri-card h3 { margin: 0; font-size: 24px; font-weight: 700; line-height: 33px; color: var(--pink); }
.ao-tri-card p { margin: 0; font-size: 18px; font-weight: 300; line-height: 26px; color: var(--ink); }
.ao-more-title { margin: 0 0 15px; text-align: center; font-size: 24px; font-weight: 700; line-height: 33px; color: var(--ink); }
.ao-more-sub { margin: 0; padding-bottom: 20px; text-align: center; font-size: 16px; font-weight: 700; line-height: 22px; color: var(--ink); }
.ao-more { list-style: none; max-width: 730px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; grid-auto-flow: column; grid-template-rows: repeat(3, auto); gap: 20px 70px; }
.ao-more li { position: relative; min-height: 30px; padding-left: 42px; display: flex; align-items: center; font-size: 16px; line-height: 22px; color: #000; }
.ao-more li::before {
  content: ""; position: absolute; left: 0; top: 50%; width: 30px; height: 30px; transform: translateY(-50%);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30' viewBox='0 0 30 30'%3E%3Ccircle cx='15' cy='15' r='15' fill='white'/%3E%3Cpath d='M9 15.5L13.5 20L20.5 10' stroke='%23ED0677' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* ---------- Info cards (icon + title + text) ---------- */
.ao-sec { position: relative; z-index: 9; padding: 0 20px; margin-bottom: 55px; }
.ao-wrap { max-width: 1260px; margin: 0 auto; }
.ao-sec-title { margin: 0 0 25px; font-size: 24px; font-weight: 700; line-height: 33px; color: var(--ink); }
.ao-info { display: grid; grid-template-columns: 142px 1fr; align-items: center; margin-bottom: 25px; padding: 24px 40px 24px 0; border-radius: 24px; background: #fff; box-shadow: 0 15px 30px rgba(237, 6, 119, .10); }
.ao-info-icon { width: 70px; height: 70px; justify-self: center; object-fit: contain; margin-left: 8px; }
.ao-info-body h2, .ao-info-body h3 { margin: 0 0 8px; font-size: 24px; font-weight: 700; line-height: 34px; color: var(--pink); }
.ao-info-body p { margin: 0; font-size: 18px; font-weight: 300; line-height: 26px; color: var(--ink); }
.ao-info-body a { color: var(--pink); }
.ao-info-body a:hover { text-decoration: underline; }
.ao-expert .ao-info { margin-bottom: 55px; }
.ao-expert .ao-wrap > .ao-info { margin-bottom: 20px; }
#odborne { scroll-margin-top: 110px; }
/* Expert information: native accordion right under the intro card (client feedback 16. 11. 2026). */
.ao-exp { margin-bottom: 55px; }
.ao-exp[open] { margin-bottom: 0; }
.ao-exp > summary {
  list-style: none; display: inline-flex; align-items: center; gap: 12px; margin-left: 142px; padding: 10px 22px; border: 2px solid var(--pink); border-radius: 10px;
  font-size: 16px; font-weight: 700; line-height: 24px; color: var(--pink); background: #fff; cursor: pointer; transition: background .2s, color .2s;
}
.ao-exp > summary::-webkit-details-marker { display: none; }
.ao-exp > summary::after { content: ""; width: 8px; height: 8px; margin-top: -4px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); }
.ao-exp[open] > summary::after { margin-top: 4px; transform: rotate(-135deg); }
.ao-exp > summary:hover, .ao-exp > summary:focus-visible { background: var(--pink); color: #fff; }
.ao-exp-opened, .ao-exp[open] .ao-exp-closed { display: none; }
.ao-exp[open] .ao-exp-opened { display: inline; }
.ao-exp-body { padding-top: 35px; }

/* ---------- Recessive carrier ratio ---------- */
.ao-ratio { position: relative; z-index: 9; max-width: 1260px; margin: 25px auto 95px; padding: 0 20px; text-align: center; }
.ao-ratio h2 { margin: 0 0 25px; font-size: 24px; font-weight: 700; line-height: 33px; color: var(--ink); }
.ao-ratio-sub { margin: 0 0 30px; font-size: 16px; font-weight: 700; line-height: 22px; color: var(--ink); }
.ao-ratio ul { list-style: none; max-width: 620px; margin: 0 auto; display: grid; gap: 15px; text-align: left; }
.ao-ratio li { padding: 10px 20px; border: 1px solid #FFDBEC; border-radius: 24px; font-size: 16px; line-height: 22px; color: #000; background: linear-gradient(90deg, #FEECF4 0%, #fff 25%); }
.ao-ratio li.is-mid { background: linear-gradient(90deg, #FEECF4 0%, #fff 50%); }

/* ---------- Disease lists ---------- */
.ao-lists { padding: 0 20px; margin: 45px 0 60px; }
.ao-lists h2 { margin: 0 0 20px; padding: 0 20px; text-align: center; font-size: 24px; font-weight: 700; line-height: 33px; color: var(--ink); }
.ao-lists-box { max-width: 1400px; margin: 0 auto; padding: 60px; border: 3px solid #D9E0FD; border-radius: 60px; background: linear-gradient(180deg, #fff 0%, #D7DFFD 100%); }
.ao-lists-in { padding: 24px; border-radius: 24px; background: #fff; }
.ao-lists-grid { list-style: none; max-width: 1070px; margin: 0 auto; padding: 0 20px; display: grid; grid-template-columns: 1fr 1fr; gap: 25px 20px; }
.ao-pdf {
  position: relative; display: block; padding: 13px 52px 13px 13px; border: 1px solid #D7DFFD; border-radius: 8px;
  font-size: 18px; line-height: 26px; color: var(--ink); background: #fff; transition: border-color .2s;
}
.ao-pdf strong { font-weight: 700; }
a.ao-pdf::after { content: ""; position: absolute; right: 10px; top: 0; bottom: 0; margin: auto; width: 32px; height: 32px; background: url("../uploads/2026/06/pdf.svg") center / 32px no-repeat; }
a.ao-pdf:hover { border-color: var(--blue); color: var(--ink); }
.ao-pdf.is-pending { color: var(--muted); }
.ao-pdf.is-pending strong { color: var(--ink); }
.ao-lists-note { max-width: 1070px; margin: 20px auto 0; padding: 0 20px; font-size: 14px; line-height: 20px; color: var(--muted); }

/* ---------- CTA cards ---------- */
.ao-cta { padding: 0 20px; margin-bottom: 80px; }
.ao-cta-in { max-width: 1400px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 35px; }
.ao-cta-card {
  display: grid; grid-template-columns: 117px 1fr; grid-template-rows: auto auto; column-gap: 28px; align-content: center;
  min-height: 197px; padding: 24px 40px; border-radius: 40px; background: rgba(215, 223, 253, .5);
}
.ao-cta-card.is-pink { background: rgba(237, 6, 119, .1); }
.ao-cta-card img { grid-row: 1 / 3; align-self: center; width: 117px; height: 117px; }
.ao-cta-card h2 { min-height: 75px; margin: 0; font-size: 18px; font-weight: 700; line-height: 28px; color: var(--blue); }
.ao-cta-btn {
  justify-self: start; margin-top: 16px; display: inline-block; white-space: nowrap; padding: 12px 24px; border-radius: 10px;
  background: var(--pink); color: #fff; font-size: 16px; font-weight: 700; line-height: 29px; transition: background .2s;
}
.ao-cta-btn:hover, .ao-cta-btn:focus-visible { background: var(--pink-hover); color: #fff; }

/* ---------- Tablet ---------- */
@media (max-width: 1024px) {
  .ao-hero { margin-top: 40px; padding: 0 20px; }
  .ao-hero h1 { font-size: 24px; line-height: 32px; }
  .ao-hero-media img { object-fit: cover; object-position: top left; }
  .ao-badge-acc { width: 110px; height: 110px; }
  .ao-badge-acc strong { font-size: 26px; }
  .ao-badge-acc span { font-size: 14px; line-height: 16px; }
  .ao-badge-ins { width: 100px; height: 100px; font-size: 12px; line-height: 16px; }
  .ao-tri { grid-template-columns: 1fr; }
  .ao-cta-in { grid-template-columns: 1fr; }
}

/* ---------- Mobile ---------- */
@media (max-width: 767px) {
  .ao-hero-in { grid-template-columns: 1fr; gap: 20px; }
  .ao-hero-text { padding: 0; }
  .ao-hero h1 { margin-bottom: 8px; }
  .ao-hero-media { border-radius: 24px; overflow: hidden; background: linear-gradient(180deg, #fff 0%, #FCDAEB 100%); }
  .ao-hero-media img { height: 320px; object-fit: cover; object-position: center right; }
  .ao-badge-acc { left: 0; top: 15%; width: 151px; height: 151px; background: url("../uploads/2026/03/Star-6.svg") center / contain no-repeat; }
  .ao-badge-acc strong { font-size: 40px; }
  .ao-badge-acc span { font-size: 20px; line-height: 23px; }
  .ao-badge-ins { left: 58%; top: 50%; width: 130px; height: 130px; font-size: 16px; line-height: 21px; }

  .ao-chrom { margin: 40px 0 40px; }
  .ao-chrom-box { padding: 30px 10px 20px; border: 0; border-radius: 24px; }
  .ao-chrom h2 { margin-bottom: 40px; font-size: 24px; line-height: 33px; }
  .ao-tri { gap: 20px; margin-bottom: 20px; }
  .ao-tri-card { gap: 5px; padding: 20px 0; }
  .ao-tri-head { padding: 0 20px 10px; align-items: center; }
  .ao-tri-head img { width: 70px; margin-right: 20px; }
  .ao-tri-card h3 { font-size: 16px; line-height: 33px; }
  .ao-tri-card p { padding: 0 20px; }
  .ao-more-title, .ao-more-sub { padding-left: 20px; padding-right: 20px; }
  .ao-more { grid-template-columns: 1fr; grid-auto-flow: row; grid-template-rows: none; gap: 20px; padding: 0 20px 20px; }

  .ao-sec { margin-bottom: 40px; }
  .ao-sec-title { font-size: 24px; }
  .ao-info, .ao-expert .ao-info { grid-template-columns: 1fr; align-items: start; margin-bottom: 40px; padding: 0 20px 20px; }
  .ao-expert .ao-wrap > .ao-info { margin-bottom: 16px; }
  .ao-exp { margin-bottom: 40px; }
  .ao-exp > summary { margin-left: 0; }
  .ao-exp-body { padding-top: 24px; }
  .ao-info-icon { justify-self: start; margin: 0 0 20px 20px; }
  .ao-info-body h2, .ao-info-body h3 { font-size: 24px; line-height: 34px; }
  .ao-small .ao-info-body h3 { font-size: 16px; line-height: 22px; }

  .ao-ratio { margin: 20px 0 40px; }
  .ao-ratio-sub { margin-bottom: 20px; }
  .ao-ratio ul { gap: 20px; }
  .ao-ratio li { min-height: 66px; display: flex; align-items: center; padding: 10px 20px; }

  .ao-lists { padding: 0; margin: 0 0 20px; }
  .ao-lists-box { padding: 24px; border: 0; border-radius: 0; }
  .ao-lists-in { padding: 0; background: transparent; }
  .ao-lists-grid { grid-template-columns: 1fr; gap: 20px; padding: 0; }
  .ao-pdf { min-height: 52px; padding: 13px 40px 13px 13px; font-size: 14px; line-height: 28px; }
  .ao-lists-note { padding: 0; }

  .ao-cta { margin-bottom: 20px; }
  .ao-cta-in { gap: 35px; }
  .ao-cta-card { grid-template-columns: 25% 75%; grid-template-rows: auto auto; column-gap: 0; min-height: 150px; padding: 24px; }
  .ao-cta-card img { grid-row: 1; width: 64px; height: 64px; justify-self: center; }
  .ao-cta-card h2 { grid-column: 2; min-height: 0; align-self: center; padding-left: 20px; font-size: 20px; }
  .ao-cta-btn { grid-column: 1 / -1; margin-top: 10px; }
}
.ao-lists-note a { color: var(--blue); text-decoration: underline; }
