/* Časté otázky (prefix fq-). Values from the original Elementor page + wp-custom.css (#otazky #akordeon). */

/* ---------- Hero (badges only, no photo) ---------- */
.fq-hero-in { max-width: 1260px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; align-items: center; }
.fq-hero-text { padding: 70px 0 85px; }
.fq-hero h1 { margin: 0; font-size: 36px; font-weight: 700; line-height: 50px; color: var(--pink); }
.fq-lead { max-width: 600px; margin: 32px 0 0; font-size: 18px; font-weight: 300; line-height: 24px; color: #000; }
.fq-hero-media { position: relative; align-self: stretch; min-height: 400px; }
.fq-badge { position: absolute; z-index: 1; margin: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; color: #fff; }
.fq-badge-acc { left: 20%; top: 8%; width: 192px; height: 192px; background: url("../uploads/2026/03/Star-6.svg") center / cover no-repeat; }
.fq-badge-acc strong { font-size: 52px; font-weight: 700; line-height: 1.2; }
.fq-badge-acc span { font-size: 23px; line-height: 23px; }
.fq-badge-ins { left: 30%; top: 44%; 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; }

/* ---------- Accordion ---------- */
.fq-list { position: relative; max-width: 1440px; margin: 0 auto 80px; padding: 0 20px; display: grid; gap: 20px; }
.fq-item { border: 2px solid #D7DFFD; border-radius: 24px; background: #fff; box-shadow: 0 15px 30px rgba(0, 102, 179, .10); }
.fq-item summary {
  position: relative; list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 24px 35px 24px 110px; border-radius: 22px;
}
.fq-item summary::-webkit-details-marker { display: none; }
.fq-item summary::before { content: ""; position: absolute; left: 25px; top: 50%; width: 64px; height: 64px; transform: translateY(-50%); background: url("../uploads/2026/06/question.svg") center / contain no-repeat; }
.fq-item summary::after {
  content: ""; flex: none; width: 30px; height: 16px; transition: transform .2s;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='51' height='27' viewBox='0 0 51 27' fill='none'%3E%3Cpath d='M1.18 1.18L25.18 25.18L49.18 1.18' stroke='%230066B3' stroke-width='2.36' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}
.fq-item[open] summary::after { transform: rotate(180deg); }
.fq-item summary h2 { margin: 0; font-size: 24px; font-weight: 700; line-height: 33px; color: var(--blue); }
.fq-item summary:hover h2 { color: var(--blue); }
.fq-answer { padding: 0 78px 26px 110px; font-size: 18px; font-weight: 300; line-height: 26px; color: var(--ink); }
.fq-answer p { margin: 0 0 12px; }
.fq-answer p:last-child, .fq-answer ul:last-child { margin-bottom: 0; }
.fq-answer ul { margin: 0 0 12px; padding-left: 1.2em; }
.fq-answer li { margin-bottom: 4px; }
.fq-answer a { color: var(--pink); }
.fq-answer a:hover { text-decoration: underline; }

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

/* ---------- Tablet ---------- */
@media (max-width: 1024px) {
  .fq-hero { margin: 40px 0; padding: 0 20px; }
  .fq-hero h1 { font-size: 24px; line-height: 32px; }
  .fq-hero-media { min-height: 260px; }
  .fq-badge-acc { width: 117px; height: 117px; background-size: contain; }
  .fq-badge-acc strong { font-size: 26px; }
  .fq-badge-acc span { font-size: 12px; line-height: 14px; }
  .fq-badge-ins { width: 117px; height: 117px; font-size: 16px; line-height: 24px; }
  .fq-cta { padding: 0 20px; }
  .fq-cta-in { grid-template-columns: 1fr; }
  .fq-cta-card { grid-template-columns: 25% 75%; min-height: 150px; }
  .fq-cta-card img { width: 64px; height: 64px; }
  .fq-cta-card h2 { padding-left: 20px; }
  .fq-cta-btn { grid-column: 1 / -1; margin-top: 10px; }
}

/* ---------- Mobile ---------- */
@media (max-width: 767px) {
  .fq-hero { margin-bottom: 40px; }
  .fq-hero-in { grid-template-columns: 1fr; gap: 20px; }
  .fq-hero-text { padding: 0; }
  .fq-hero h1 { margin-bottom: 8px; }
  .fq-hero-media { min-height: 190px; border-radius: 24px; background: linear-gradient(180deg, #fff 0%, #FCDAEB 100%); }
  .fq-badge-acc { left: 10%; top: 17%; width: 151px; height: 151px; background: url("../uploads/2026/03/Star-6.svg") center / contain no-repeat; }
  .fq-badge-acc strong { font-size: 40px; }
  .fq-badge-acc span { font-size: 20px; line-height: 23px; }
  .fq-badge-ins { left: 51%; top: 25%; width: 130px; height: 130px; font-size: 16px; line-height: 21px; }

  .fq-list { margin-bottom: 40px; gap: 10px; }
  .fq-item summary { gap: 30px; padding: 15px 12px 15px 72px; }
  .fq-item summary::before { left: 12px; width: 44px; height: 44px; }
  .fq-item summary::after { width: 28px; height: 15px; }
  .fq-item summary h2 { font-size: 16px; line-height: 33px; }
  .fq-answer { padding: 0 16px 20px 72px; font-size: 16px; line-height: 24px; }

  .fq-cta { margin-bottom: 20px; }
  .fq-cta-card { min-height: 180px; padding: 24px; }
  .fq-cta-card img { grid-row: 1; justify-self: center; }
  .fq-cta-card h2 { grid-column: 2; align-self: center; font-size: 20px; }
}
