/* =========================================================
   KAJAKARSHOP – stránka "Testujeme a radíme"
   ---------------------------------------------------------
   OBSAH:
   00. NASTAVENÍ ŠABLONY (skrytí prvků Shoptetu)
   01. ZÁKLAD SEKCE
   02. HERO (nadpis + text + úvodní foto)
   03. TLAČÍTKA (.ks-btn)
   04. KARTY (.ks-card) – opakovatelný blok
   05. CTA PRUH (.ks-cta)
   ---------------------------------------------------------
   BREAKPOINTY:
   nad 1200 px .... plná verze
   992–1200 px .... karty stále 4 vedle sebe, menší písmo
   pod 992 px ..... hero pod sebe, karty pod sebe
   pod 768 px ..... mobilní verze dle Figmy
   ========================================================= */


/* =========================================================
   00. NASTAVENÍ ŠABLONY
   ========================================================= */

body.template-11 .dkLabVisitedProductsBox{
  display:none;
}

.content-inner header h1{
  display:none;
}

.content-inner{
  max-width:100%!important;
}


/* =========================================================
   01. ZÁKLAD SEKCE
   ========================================================= */

.kajakar-guide{
  width:100%;
  background:#fff;
  color:#111;
}

.kajakar-guide *{
  box-sizing:border-box;
}

.kajakar-guide__inner{
  width:100%;
  max-width:100%;
  margin:0;
  padding:32px 0px 0px;
}

.kajakar-guide img{
  display:block;
  width:100%!important;
  height:auto;
}

.kajakar-guide h1,
.kajakar-guide h2,
.kajakar-guide h3,
.kajakar-guide p{
  margin:0;
}


/* =========================================================
   02. HERO
   ========================================================= */

.ks-hero{
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:34px;
  align-items:center;
  margin-bottom:34px;
}

.ks-hero__text h1{
  font-size:29px;
  line-height:1.15;
  font-weight:700;
  letter-spacing:-0.02em;
  margin-bottom:18px;
}

.ks-hero__text p{
  font-size:15px;
  line-height:1.75;
  font-weight:400;
  color:#222;
}

.ks-hero__text p strong{
  font-weight:700;
}

/* kratší verze textu – zobrazí se až na mobilu */
.ks-hero__text--mobile{
  display:none;
}

.ks-hero__image{
  border-radius:28px;
  overflow:hidden;
  background:#d9d9d9;
}

.ks-hero__image img{
  object-fit:cover;
}


/* =========================================================
   03. TLAČÍTKA
   ========================================================= */

.ks-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:120px;
  height:54px;
  padding:0 22px;
  background:#10a1ef;
  color:#fff;
  text-decoration:none!important;
  font-size:15px;
  line-height:1;
  font-weight:700;
  letter-spacing:0.02em;
  text-transform:uppercase;
  transition:background .2s ease;
}

.ks-btn:hover{
  background:#0b95df;
  color:#fff;
}

/* bílá varianta – používá se v modrém CTA pruhu */
.ks-btn--white{
  background:#fff;
  color:#10a1ef;
  min-width:170px;
  flex:0 0 auto;
}

.ks-btn--white:hover{
  background:#eaf6fe;
  color:#10a1ef;
}


/* =========================================================
   04. KARTY
   Počet sloupců se řídí hodnotou repeat(4, …) níže.
   Přidáte-li 5. kartu, přeteče automaticky do dalšího řádku.
   ========================================================= */

.ks-cards__grid{
  display:grid;
  grid-template-columns:repeat(4, minmax(0, 1fr));
  gap:14px;
  margin-bottom:26px;
}

.ks-card{
  background:#f7f7f7;
  border-radius:20px;
  padding:26px 18px 26px;
  text-align:center;
  display:flex;
  flex-direction:column;
  align-items:center;
}

.ks-card h3{
  font-size:20px;
  line-height:1.35;
  font-weight:700;
  margin-bottom:12px;
}

.ks-card p{
  font-size:14px;
  line-height:1.7;
  font-weight:400;
  color:#2f2f2f;
  margin-bottom:22px;
}

/* drží tlačítka zarovnaná na spodní hraně i při různě dlouhých textech */
.ks-card .ks-btn{
  margin-top:auto;
}


/* =========================================================
   05. CTA PRUH
   ========================================================= */

.ks-cta{
  background:#10a1ef;
  border-radius:22px;
  padding:24px 30px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
  margin-bottom:26px;
}

.ks-cta__text{
  color:#fff;
}

.ks-cta__title{
  display:flex;
  align-items:center;
  gap:10px;
  font-size:19px;
  line-height:1.3;
  font-weight:700;
  margin-bottom:8px;
}

.ks-cta__title svg{
  flex:0 0 auto;
  width:20px;
  height:20px;
}

.ks-cta__text p{
  font-size:14px;
  line-height:1.6;
  color:#fff;
}


/* =========================================================
   RESPONZIVITA – 992 až 1200 px
   Karty zůstávají 4 vedle sebe, jen se zmenší obsah.
   ========================================================= */

@media (max-width:1200px){

  /* --- karty --- */
  .ks-card{
    padding:24px 14px;
  }

  .ks-card h3{
    font-size:16px;
  }

  .ks-card p{
    font-size:13px;
    line-height:1.65;
  }

  /* --- tlačítka --- */
  .ks-btn{
    min-width:104px;
    padding:0 16px;
    font-size:14px;
  }
}


/* =========================================================
   RESPONZIVITA – pod 992 px
   Hero i karty se skládají pod sebe.
   ========================================================= */

@media (max-width:992px){

  /* --- hero --- */
  .ks-hero{
    grid-template-columns:1fr;
    gap:22px;
  }

  .ks-hero__image{
    order:-1;               /* foto nad textem */
  }

  .ks-hero__text{
    text-align:center;
    max-width:760px;
    margin:0 auto;
  }

  /* --- karty --- */
  .ks-cards__grid{
    grid-template-columns:1fr;
  }

  .ks-card{
    padding:26px 18px;
  }

  .ks-card h3{
    font-size:18px;
  }

  .ks-card p{
    font-size:15px;
    line-height:1.75;
  }

  /* --- tlačítka --- */
  .ks-btn{
    min-width:120px;
    padding:0 22px;
    font-size:15px;
  }
}


/* =========================================================
   RESPONZIVITA – pod 768 px (mobil dle Figmy)
   ========================================================= */

@media (max-width:768px){

  /* --- základ --- */
  .kajakar-guide__inner{
    padding:18px 8px 0px;
  }

  /* --- hero --- */
  .ks-hero{
    gap:18px;
    margin-bottom:26px;
  }

  .ks-hero__image{
    border-radius:24px;
  }

  .ks-hero__image img{
    aspect-ratio:1.66 / 1;
  }

  .ks-hero__text{
    padding:0 8px;
  }

  .ks-hero__text h1{
    font-size:30px;
    line-height:1.16;
    margin-bottom:16px;
  }

  .ks-hero__text p{
    font-size:15px;
    line-height:1.8;
  }

  /* na mobilu se zobrazí kratší verze úvodního textu */
  .ks-hero__text--desktop{
    display:none;
  }

  .ks-hero__text--mobile{
    display:block;
  }

  /* --- karty --- */
  .ks-card{
    border-radius:22px;
    padding:22px 16px;
  }

  .ks-card h3{
    font-size:18px;
    line-height:1.4;
    margin-bottom:16px;
  }

  /* dle Figmy jsou na mobilu v kartách i v CTA jen nadpisy + tlačítko */
  .ks-card p,
  .ks-cta__text p{
    display:none;
  }

  /* --- CTA --- */
  .ks-cta{
    flex-direction:column;
    text-align:center;
    padding:22px 18px;
    gap:18px;
    border-radius:22px;
  }

  .ks-cta__title{
    justify-content:center;
    font-size:18px;
  }

  .ks-btn--white{
    width:100%;
    max-width:280px;
  }
}