.ebookpdf {
  padding: 20px 20px;
   font-family: 'Open Sans', Arial, sans-serif;
  color: #111;
}

.ebookpdf a {
  text-decoration: none;
}

.ebookpdf-container {
  max-width: 1200px;
  margin: 0 auto;
}

.ebookpdf-layout {
  display: flex;
  gap: 80px;
  align-items: center;
  flex-wrap: wrap;
}

.ebookpdf-text {
  flex: 1;
  min-width: 300px;
}

.ebookpdf-text h1 {
  font-size: 38px;
  line-height: 1.15;
  margin-bottom: 24px;
  font-weight: 600;
  color: #444;
}

.ebookpdf-lead {
  font-size: 20px;
  line-height: 1.5;
  margin-bottom: 35px;
  color: #374151;
}

.ebookpdf-proof {
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 35px;
  color: #374151;
  padding-left: 18px;
  border-left: 4px solid #ef4444;
  font-weight: 400;
}

.ebookpdf-list {
  margin-bottom: 40px;
}

.ebookpdf-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 14px;
  font-size: 18px;
  line-height: 1.6;
}

.ebookpdf-item::before {
  content: "\2713";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  background: #16a34a;
  color: white;
  border-radius: 50%;
  margin-right: 12px;
  margin-top: 4px;
  font-size: 14px;
  flex-shrink: 0;
}

.ebookpdf .ebookpdf-button,
.ebookpdf .ebookpdf-button:visited,
.ebookpdf .ebookpdf-button:hover,
.ebookpdf .ebookpdf-button:active {
  display: inline-block;
  background: linear-gradient(135deg,#ef4444,#dc2626);
  color: #ffffff !important;
  padding: 18px 34px;
  font-size: 18px;
  font-weight: 800;
  border-radius: 10px;
  text-decoration: none !important;
  box-shadow: 0 20px 45px rgba(220,38,38,0.35);
}

.ebookpdf-button:hover {
  filter: brightness(1.12);
}


.ebookpdf-image {
  flex: 1;
  min-width: 320px;
  text-align: center;
}

.ebookpdf-image img {
  max-width: 340px;
  width: 100%;
}

.ebookpdf-content{
  display:flex;
  gap:40px;
  flex-wrap:wrap;
  margin-top:50px;
}

.ebookpdf-box{
  flex:1;
  min-width:250px;
  background:#ffffff;
  padding:32px;
  border-radius:18px;
  border:1px solid #e5e7eb;
  box-shadow:0 10px 30px rgba(0,0,0,0.04);
}

.ebookpdf-box-title{
  font-size:26px;
  font-weight:700;
  margin-bottom:20px;
  color: #444;
}

.ebookpdf-box-list{
  list-style:none;
  padding:0;
  margin:0;
}

.ebookpdf-box-list li{
  display:flex;
  align-items:flex-start;
  font-size:18px;
  line-height:1.6;
  margin-bottom:14px;
}
.ebookpdf-box-list li::before{
  content:"\2713";
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:22px;
  height:22px;
  background:#16a34a;
  color:white;
  border-radius:50%;
  margin-right:12px;
  margin-top:3px;
  font-size:14px;
  flex-shrink:0;
}
/* sekce */

.ebookpdf-reasons-section{
margin-top:80px;
max-width:1100px;
margin-left:auto;
margin-right:auto;
}

/* nadpis sekce */

.ebookpdf-section-title{
font-size:32px;
font-weight:700;
text-align:center;
margin-bottom:40px;
}

/* grid */

.ebookpdf-reasons{
display:grid;
grid-template-columns: repeat(3, 1fr);
gap:28px;
}

/* box */

.ebookpdf-reason-box{
border-radius:16px;
padding:28px;
border:1px solid #e5e7eb;
box-shadow:0 10px 30px rgba(0,0,0,0.04);
transition:all 0.25s ease;
}

/* barvy */

.ebookpdf-reason-box:nth-child(1){
background:#f0fdf4;
}

.ebookpdf-reason-box:nth-child(2){
background:#f0f9ff;
}

.ebookpdf-reason-box:nth-child(3){
background:#fef2f2;
}

.ebookpdf-reason-box:nth-child(4){
background:#fefce8;
}

.ebookpdf-reason-box:nth-child(5){
background:#f5f3ff;
}

.ebookpdf-reason-box:nth-child(6){
background:#ecfeff;
}

/* hover efekt */

.ebookpdf-reason-box:hover{
box-shadow:0 18px 40px rgba(0,0,0,0.08);
border-color:#d1d5db;
}

/* nadpis boxu */

.ebookpdf-reason-title{
font-size:20px;
font-weight:700;
margin-bottom:8px;
color:#111827;
}

/* text boxu */

.ebookpdf-reason-text{
font-size:16px;
line-height:1.6;
color:#4b5563;
margin:0;
}

/* tablet */

@media (max-width:900px){

.ebookpdf-reasons{
grid-template-columns: repeat(2, 1fr);
}

}

/* mobil */

@media (max-width:520px){

.ebookpdf-reasons{
grid-template-columns: 1fr;
}

.ebookpdf-section-title{
font-size:26px;
}

}
/* CTA blok */

.ebookpdf-cta{
text-align:center;
margin-top:50px;
}

/* text nad tlačítkem */

.ebookpdf-cta-text{
font-size:22px;
font-weight: 600;
margin-bottom:18px;
color:#374151;
}

/* tlačítko */

.ebookpdf-cta a.ebookpdf-button,
.ebookpdf-cta a.ebookpdf-button:link,
.ebookpdf-cta a.ebookpdf-button:visited,
.ebookpdf-cta a.ebookpdf-button:hover,
.ebookpdf-cta a.ebookpdf-button:active{
display:inline-block;
background: linear-gradient(135deg,#ef4444,#dc2626);
color:#ffffff !important;
padding:18px 34px;
font-size:18px;
font-weight:800;
border-radius:10px;
text-decoration:none !important;
box-shadow:0 20px 45px rgba(220,38,38,0.35);
transition:filter 0.2s ease;
}

.ebookpdf-cta a.ebookpdf-button:hover{
filter:brightness(1.12);
color:#ffffff !important;
text-decoration:none !important;
}
.ebookpdf-preview {
  margin-top: 80px;
}

/* layout */

.ebookpdf-preview-layout {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px; 
  flex-wrap: wrap;
  max-width: 790px; 
  margin: 0 auto; 
}




/* obrázek */
.ebookpdf-preview-image {
  flex: 1;
  min-width: 180px;
  text-align: center;
}

.ebookpdf-preview-image img {
  max-width: 180px;
  width: 100%;
}

/* obsah */
.ebookpdf-preview-content {
  flex: 1;
  min-width: 280px;
}

/* nadpis – reuse tvého stylu, jen spacing */
.ebookpdf-preview-content .ebookpdf-section-title {
  text-align: left;
  margin-bottom: 15px;
}

/* text */
.ebookpdf-preview-content p {
  font-size: 18px;
  color: #4b5563;
  margin-bottom: 25px;
}

/* tlačítko – zarovnání */
.ebookpdf-preview-content .ebookpdf-button,
.ebookpdf-preview-content .ebookpdf-button:visited,
.ebookpdf-preview-content .ebookpdf-button:hover,
.ebookpdf-preview-content .ebookpdf-button:active {
  display: inline-block;
  background: linear-gradient(135deg,#374151,#1f2937);
  color: #ffffff !important;
  padding: 18px 34px;
  font-size: 18px;
  font-weight: 800;
  border-radius: 10px;
  text-decoration: none !important;
  box-shadow: 0 15px 35px rgba(0,0,0,0.25);
  transition: all 0.2s ease;
}

.ebookpdf-preview-content .ebookpdf-button:hover {
  filter: brightness(1.3);
}
.ebookpdf-preview-content .ebookpdf-button {
  position: relative;
  overflow: hidden;
}

.ebookpdf-preview-content .ebookpdf-button::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 10px;
  background: linear-gradient(180deg, rgba(255,255,255,0.15), transparent);
  pointer-events: none;
}

.ebookpdf-preview-content .small {
  font-size: 14px;
  color: #6b7280;
  margin-top: 14px;
  letter-spacing: 0.2px;
}

/* mobil */
@media (max-width: 700px) {

  .ebookpdf-preview-layout {
    flex-direction: column;
    text-align: center;
  }

  .ebookpdf-preview-content .ebookpdf-section-title {
    text-align: center;
  }

}

.ebookpdf-video-wrapper {
  position: relative;
  width: 100%;
  height: 420px; /* KLÍČOVÉ – fixní výška */
  overflow: hidden;
  border-radius: 12px;
  background: #000;
}

.ebookpdf-video-wrapper iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 177.78%; /* dopočteno pro vertical video */
  height: 100%;
  transform: translate(-50%, -50%);
  border: 0;
}
.ebookpdf-title {
  font-size: 38px;
  line-height: 1.15;
  margin-bottom: 24px;
  font-weight: 600;
  color: #444;
}
@media (max-width: 400px) {
  .ebookpdf .ebookpdf-button,
  .ebookpdf .ebookpdf-button:visited,
  .ebookpdf .ebookpdf-button:hover,
  .ebookpdf .ebookpdf-button:active {
    display: inline-block;
    background: linear-gradient(135deg,#ef4444,#dc2626);
    color: #ffffff !important;
    padding: 15px 23px;
    font-size: 18px;
    font-weight: 800;
    border-radius: 10px;
    text-decoration: none !important;
    box-shadow: 0 20px 45px rgba(220,38,38,0.35);
  }
}
/* WRAPPER PRO 2 NABÍDKY */
.nabidka-wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 30px 15px;
}

/* JEDNA NABÍDKA */
.nabidka {
  background: linear-gradient(90deg, #fff7ed, #ffffff);
  border-radius: 12px;
  padding: 30px;

}

/* VNITŘNÍ LAYOUT */
.nabidka-layout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

/* TEXT */
.nabidka-text h1 {
  font-size: 28px;
  font-weight: 600;
  margin-bottom: 10px;
  letter-spacing: -0.3px;
}


.nabidka .nabidka-lead {
  color: #4b5563;
  margin-bottom: 20px;
  font-size: 14px;
  line-height: 1.6;
}

/* LIST */
.nabidka-item {
  margin-bottom: 20px;
  font-size: 16px;
  font-weight: 600;
  color: #374151;
  display: flex;
  align-items: center;
}

.nabidka-item::before {
  content: "\2713";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  background: #16a34a;
  color: white;
  border-radius: 50%;
  margin-right: 12px;
  font-size: 14px;
  flex-shrink: 0;
}

/* BUTTON */

.nabidka .nabidka-button,
.nabidka .nabidka-button:visited,
.nabidka .nabidka-button:hover,
.nabidka .nabidka-button:active {
  display: inline-block;
  background: linear-gradient(135deg,#ef4444,#dc2626);
  color: #ffffff !important;
  padding: 12px 22px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 10px;
  text-decoration: none !important;
  box-shadow: 0 20px 45px rgba(220,38,38,0.35);
}

.nabidka .nabidka-button:hover {
  filter: brightness(1.12);
}




/* IMAGE */
.nabidka-image img {
  max-width: 182px;
}
.nabidka-image2 img {
  max-width: 182px;
  transform: rotate(-8deg);
}


/* RESPONSIVE */
@media (max-width: 900px) {
  .nabidka-wrapper {
    grid-template-columns: 1fr;
  }

  .nabidka-layout {
    flex-direction: column;
    text-align: center;
  }

  .nabidka-image img {
    transform: none;
  }
}
@media (max-width: 600px) {

  .nabidka-layout {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .nabidka-text {
    width: 100%;
  }

  .nabidka-item {
    justify-content: center;
  }

  .nabidka-button {
    width: 100%;
    max-width: 160px;
  }

  .nabidka-image {
    margin-top: 20px;
  }

  .nabidka-image img {
    max-width: 200px;
    transform: none;
  }
}
@media (max-width: 800px) {
  .nabidka {
    background: linear-gradient(180deg, #fff7ed, #ffffff);
    padding: 20px;
  }
}
.nabidka-image a,
.nabidka-image2 a {
  display: block;
}

.nabidka-image img,
.nabidka-image2 img {
  transition: filter 0.2s ease;
}

.nabidka-image a:hover img,
.nabidka-image2 a:hover img {
  filter: brightness(1.06);
}