#module-aio_ebook-page .page-header { text-align: center; }

.aio-ebook {
  --ae-red: #dd3333;
  --ae-green: #339c40;
  --ae-green-dark: #2b8436;
  --ae-ink: #222;
  --ae-muted: #777;
  --ae-line: #d6d6d6;
  color: var(--ae-ink);
}

.aio-ebook__intro {
  max-width: 1200px;
  margin: 0 auto 2.5rem;
  text-align: center;
  font-size: 1.05rem;
  line-height: 1.6;
}

.aio-ebook__hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 2.5rem;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto 4rem;
}
.aio-ebook__cover img { display: block; width: 100%; max-width: 640px; height: auto; margin-left: auto; }

.aio-ebook__title {
  margin: 0 0 .4rem;
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: 2.2rem;
  line-height: 1.15;
  color: var(--ae-red);
}
.aio-ebook__sub { margin: 0 0 1.5rem; font-size: 1.05rem; }

/* Téma dáva všetkým h2-h6 text-align:center a padding 20px 0 !important. */
.aio-ebook .aio-ebook__title { text-align: left; padding: 0 !important; line-height: 1.15 !important; }
.aio-ebook .aio-ebook__h2 { padding: 0 !important; }
.aio-ebook .aio-ebook__feature h3 { padding: 0 !important; }
.aio-ebook__nw { white-space: nowrap; }

.aio-ebook__row { display: flex; gap: .6rem; max-width: 520px; }
.aio-ebook__input, .aio-ebook__btn { font-family: inherit; }
.aio-ebook__input {
  flex: 1 1 auto;
  min-width: 0;
  height: 48px;
  padding: 0 1rem;
  border: 1px solid var(--ae-line);
  border-radius: 2px;
  font-size: 1rem;
  color: var(--ae-ink);
  background: #fff;
}
.aio-ebook__input:focus { outline: 2px solid var(--ae-green); outline-offset: -1px; border-color: var(--ae-green); }
.aio-ebook__input.is-invalid { border-color: var(--ae-red); }

.aio-ebook__btn {
  flex: 0 0 auto;
  height: 48px;
  padding: 0 1.6rem;
  border: 0;
  border-radius: 24px;
  background: var(--ae-green);
  color: #fff;
  font-size: 1.05rem;
  font-weight: 700;
  cursor: pointer;
  transition: background .15s ease;
}
.aio-ebook__btn:hover, .aio-ebook__btn:focus-visible { background: var(--ae-green-dark); }
.aio-ebook__btn[disabled] { opacity: .65; cursor: default; }

.aio-ebook__consent {
  display: flex;
  gap: .6rem;
  align-items: flex-start;
  max-width: 560px;
  margin: 1.1rem 0 0;
  font-weight: 400;
  font-size: .95rem;
  line-height: 1.5;
  cursor: pointer;
}
.aio-ebook__consent input { flex: 0 0 auto; width: 18px; height: 18px; margin: .15rem 0 0; accent-color: var(--ae-green); }
.aio-ebook__consent a { color: var(--ae-red); }
.aio-ebook__consent.is-invalid span { color: var(--ae-red); }

.aio-ebook__note { margin: .6rem 0 0 1.75rem; font-size: .9rem; color: var(--ae-muted); }

.aio-ebook__msg { margin: 1rem 0 0; color: var(--ae-red); font-weight: 600; }

.aio-ebook__thanks { max-width: 520px; padding: 1.2rem 1.4rem; border-left: 4px solid var(--ae-green); background: #f3f9f4; }
.aio-ebook__thanks:focus { outline: none; }
.aio-ebook__thanks p { margin: 0; line-height: 1.55; }
.aio-ebook__thanks-title { margin-bottom: .4rem !important; font-family: 'Oswald', sans-serif; font-size: 1.5rem; font-weight: 700; color: var(--ae-green-dark); }

.aio-ebook [hidden] { display: none !important; }

.aio-ebook__sr, .aio-ebook__hp {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.aio-ebook__hp { left: -9999px; }

.aio-ebook__h2 {
  margin: 0 0 2.5rem;
  text-align: center;
  font-family: 'Oswald', sans-serif;
  font-weight: 400;
  font-size: 1.8rem;
  color: var(--ae-red);
}

.aio-ebook__features {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 2rem;
  margin: 0 0 2rem;
  text-align: center;
}
.aio-ebook__feature img { display: block; width: 92px; height: 92px; margin: 0 auto 1rem; }
.aio-ebook__feature h3 {
  margin: 0 0 .6rem;
  font-family: 'Oswald', sans-serif;
  font-weight: 400;
  font-size: 1.4rem;
  color: var(--ae-red);
}
.aio-ebook__feature p { margin: 0; font-size: 1rem; line-height: 1.55; }

@media (max-width: 991.98px) {
  .aio-ebook__hero { grid-template-columns: 1fr; gap: 1.5rem; }
  .aio-ebook__cover img { max-width: 440px; margin: 0 auto; }
  .aio-ebook__features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 575.98px) {
  .aio-ebook__intro { font-size: 1rem; text-align: left; }
  .aio-ebook__title { font-size: 1.8rem; }
  .aio-ebook__row { flex-direction: column; }
  .aio-ebook__btn { width: 100%; }
  .aio-ebook__features { grid-template-columns: 1fr; }
}
