﻿/* === UI KIT BLOG === */


/* === Podtržení odkazů v textu článku  === */ 




/* Detail článku (blog/novinky) – nejčastější obal */
.news-item-detail a,
.article-detail a,
.article-content a,
.page-content a,
.news-item-detail .user-content a,
.article-detail    .user-content a,
.article-content   .user-content a,
.page-content      .user-content a {
  text-decoration: underline !important;
  text-underline-offset: 0.12em;
}




/* Výjimka pro tlačítka  */




/* default: bez podtržení */
.news-item-detail ul.subcategories.seo-subcategories.with-image a,
.article-detail    ul.subcategories.seo-subcategories.with-image a,
.article-content   ul.subcategories.seo-subcategories.with-image a,
.page-content      ul.subcategories.seo-subcategories.with-image a {
  text-decoration: none !important;
}




/* hover/focus: podtrhnout */
.news-item-detail ul.subcategories.seo-subcategories.with-image a:hover,
.news-item-detail ul.subcategories.seo-subcategories.with-image a:focus,
.article-detail    ul.subcategories.seo-subcategories.with-image a:hover,
.article-detail    ul.subcategories.seo-subcategories.with-image a:focus,
.article-content   ul.subcategories.seo-subcategories.with-image a:hover,
.article-content   ul.subcategories.seo-subcategories.with-image a:focus,
.page-content      ul.subcategories.seo-subcategories.with-image a:hover,
.page-content      ul.subcategories.seo-subcategories.with-image a:focus {
  text-decoration: underline !important;
  text-underline-offset: 0.12em;
}
/* === Rámeček pro TIPY  === */ 
.tip-box{
  display:flex;
  align-items:baseline;
  gap:6px;
  padding:14px 16px;
  margin:16px 0;
  background:#f3e9e1;
  border:1px solid #b8af9f;
  border-radius:0;
  color:#000;
  font-family: Helvetica, Arial, sans-serif;
  font-size: inherit;     /* KLÍČ: žádné zmenšení */
  line-height:1.45;
}




.tip-box__icon{
  flex:0 0 auto;
  line-height:1;
  font-size:1.2em;        /* drží proporci vůči textu */
  color:#9e8644;
}




.tip-box__text{ margin:0; }




.tip-box__label{ font-weight:700; }




.tip-box__text a{
  color:#aa8131;
  font-weight:700;
  text-decoration:underline;
  text-underline-offset:2px;
}




.tip-box__text a:hover{ color:#9e8644; }




.tip-box__text a:focus-visible{
  outline:2px solid #9e8644;
  outline-offset:2px;
}
/* === Jednoduché odrážky  === */ 


.pk-bullets--dot{
  --bullet-color:#b8af9f;




  list-style:none !important;
  margin:0 0 12px;
  padding:0 0 0 28px;




  font-family:inherit !important;  /* nedovolí změnu fontu */
  font-size:inherit;
  line-height:1.8;
  color:inherit;
}




.pk-bullets--dot > li{
  display:flex !important;          /* vynutí flex i když to šablona přepíše */
  align-items:flex-start !important;
  gap:14px;




  margin:0 0 12px;
  padding:0;




  font-family:inherit !important;   /* pojistka i na položkách */
  font-size:inherit !important;
  line-height:inherit !important;
  color:inherit;




  min-width:0;                      /* správné zalamování ve flexu */
}




.pk-bullets--dot > li:last-child{ margin-bottom:0; }




.pk-bullets--dot > li::before{
  content:"";
  width:6px;
  height:6px;
  background:var(--bullet-color);
  border-radius:0;
  flex:0 0 6px;
  margin-top:0.55em;
}




/* textový wrapper – fix na rozpad při <strong> */
.pk-bullets--dot > li > .pk-bullets__text{
  flex:1;
  min-width:0;
  overflow-wrap:anywhere;
}




/* strong nesmí měnit velikost/řádkování ani display */
.pk-bullets--dot strong{
  display:inline;
  font-family:inherit;
  font-size:inherit;
  line-height:inherit;
  font-weight:800;
  color:inherit;
}




/* === Obrázek + text blok === */ 


.pk-split{
  --line:#b8af9f;
  --border:#e6e0d6;
  --bg:#ffffff;
  --txt:#111111;
  --muted:#2f2f2f;




  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr);
  gap:28px;
  align-items:center;
  margin:26px 0;




  font-family:inherit;
  font-size:inherit;   /* KLÍČ: žádná změna velikosti */
  color:inherit;
}




/* media box – hranatý */
.pk-split__media{
  background:var(--bg);
  border:1px solid var(--border);
  border-radius:0;
  overflow:hidden;
  box-shadow:none;




  align-self:center; /* zarovnání obrázku na střed vůči bloku textu */
}




.pk-split__media img{
  display:block;
  width:100%;
  height:auto;
}




/* obsah – typografie dědí z webu */
.pk-split__content{
  font-family:inherit;
  font-size:inherit;   /* KLÍČ: typografie jako zbytek webu */
  color:var(--muted);
}




/* nadpisy – jedna definice (bez duplicity), validní padding */
.pk-split__content h2,
.pk-split__content h3{
  margin:0 0 12px;
  color:var(--txt);
  font-weight:800;
  letter-spacing:.03em;
  text-transform:uppercase;




  padding-bottom:2px;                 /* místo -3px */
  border-bottom:7px solid var(--line);
}




/* odstavce */
.pk-split__content p{
  margin:0 0 12px;
  color:inherit;
  line-height:1.8;
  font-size:inherit;                  /* nic nefiksovat */
}




.pk-split__content p:last-child{ margin-bottom:0; }
.pk-split__content strong{ color:var(--txt); }




/* DŮLEŽITÉ: sjednocení typografie i pro seznamy (aby nebyly menší než text) */
.pk-split__content ul,
.pk-split__content ol,
.pk-split__content li{
  font-size:inherit;
  line-height:1.8;
  color:inherit;
}




/* střídání stran */
.pk-split.is-reverse .pk-split__media{ order:2; }
.pk-split.is-reverse .pk-split__content{ order:1; }




/* mobile */
@media(max-width:900px){
  .pk-split{ grid-template-columns:1fr; gap:16px; }
  .pk-split.is-reverse .pk-split__media,
  .pk-split.is-reverse .pk-split__content{ order:unset; }




  .pk-split__content h2{ font-size:22px; } /* volitelné */
}






/* === Tabulka === */ 


.ercolani-table{
  width:100%;
  table-layout:fixed;
  border-collapse:collapse;
  background:#fff;


  border:1px solid rgba(0,0,0,.12);
  border-radius:0;
  box-shadow:0 10px 26px rgba(0,0,0,.06);
  font-family:system-ui,-apple-system,Segoe UI,Roboto,Inter,Arial,sans-serif;
  color:rgba(0,0,0,.82);
}


/* ===== Integrovaný nadpis (1. řádek thead) – vycentrovaný, velmi jemné podbarvení ===== */
.ercolani-table thead .ercolani-table__title-row th{
  text-align:center;
  padding:12px 14px;
  font-weight:700;
  font-size:13.5px;
  color:rgba(0,0,0,.78);


  background:rgba(243,233,225,.35);
  border-bottom:1px solid rgba(0,0,0,.12);


  text-transform:none;
  letter-spacing:.01em;
}


.ercolani-table thead .ercolani-table__title-row th::before{
  content:none;
}


/* ===== Záhlaví sloupců ===== */
.ercolani-table thead tr:not(.ercolani-table__title-row) th{
  background:#f3e9e1;
  color:rgba(0,0,0,.68);
  font-weight:700;
  font-size:12px;
  letter-spacing:.06em;
  text-transform:uppercase;


  padding:12px 14px;
  border-bottom:1px solid rgba(0,0,0,.12);
}


/* ===== Buňky (zabrání přetékání do jiného sloupce) ===== */
.ercolani-table th,
.ercolani-table td{
  padding:12px 14px;
  font-size:13.5px;
  line-height:1.5;
  vertical-align:top;


  border-bottom:1px solid rgba(0,0,0,.10);


  /* ✅ pojistky proti přetékání */
  overflow:hidden;            /* nic nepřeleze do vedlejší buňky */
  overflow-wrap:anywhere;     /* zalomí i dlouhé řetězce */
  word-break:break-word;      /* fallback pro starší prohlížeče */
  hyphens:auto;               /* hezčí dělení slov, když to prohlížeč umí */
}


/* ===== Svislé dělící čáry (vynucené) ===== */
.ercolani-table th:first-child,
.ercolani-table td:first-child{
  border-right:1px solid rgba(0,0,0,.10);
}


.ercolani-table th:nth-child(2),
.ercolani-table td:nth-child(2){
  border-right:1px solid rgba(0,0,0,.10);
}


/* ===== Řádkové záhlaví ===== */
.ercolani-table tbody th[scope="row"]{
  font-weight:700;
  color:rgba(0,0,0,.78);
  white-space:nowrap; /* desktop OK */
}


/* Poslední řádek bez spodní linky */
.ercolani-table tbody tr:last-child th,
.ercolani-table tbody tr:last-child td{
  border-bottom:none;
}


/* Mobil */
@media (max-width:520px){
  .ercolani-table thead .ercolani-table__title-row th{
    padding:10px 12px;
  }


  .ercolani-table thead tr:not(.ercolani-table__title-row) th{
    padding:10px 12px;
    font-size:11px;           /* ✅ pomůže, aby se záhlaví vešlo */
  }


  .ercolani-table th,
  .ercolani-table td{
    padding:10px 12px;
    font-size:13px;
  }


  /* ✅ klíčové: první sloupec se může zalomit, jinak rozbije šířky */
  .ercolani-table tbody th[scope="row"]{
    white-space:normal;
  }
}






/* === CTA button === */ 


.cta-button{
  background: #aa8131;
  color: #000;
  border: 0;
  border-radius: 0;
  height: 40px;
  padding: 0 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;




  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
  font-weight: 400;
  text-transform: uppercase;
  line-height: 1;
  letter-spacing: 0;




  cursor: pointer;
  transition: background-color .2s ease, color .2s ease;
}




.cta-button:hover{
  background: #000;
  color: #aa8131;
}




.cta-button:focus-visible{
  outline: 2px solid #aa8131;
  outline-offset: 2px;
}








/* === Blok s recenzí produktu  === */ 


.rv-wrap,
.rv-wrap *{
  box-sizing:border-box;
}




.rv-wrap{
  padding:40px 0;
}




/* karta/blok */
.rv-inner{
  max-width:1200px;
  margin:0 auto;
  padding:40px 48px;
  background:#fbf7f5;
  border:1px solid #e0e0e0;




  display:grid;
  grid-template-columns: 220px minmax(0, 1fr); /* pravý blok se roztáhne */
  gap:24px;
  align-items:center;
}




/* Typografie dle zadání */
.rv-content{
  font-family: Helvetica, Arial, sans-serif;
  font-size:14px;
  line-height:1.6;
  color:inherit;
  width:100%;
}




.rv-content h3,
.rv-content p,
.rv-content blockquote{
  margin:0;
}




/* Nadpis */
.rv-title{
  font-family: Helvetica, Arial, sans-serif;
  font-size:18px;
  font-weight:700;
  line-height:1.25;
  margin:0 0 14px;
  color:inherit;
}




/* Hvězdičky */
.rv-stars{
  margin:0 0 12px;
  color:#7c6e3c;
  font-size:24px;
  line-height:1;
  letter-spacing:2px;
}




/* Citace */
.rv-quote{
  margin:0 !important; /* reset proti globálním stylům */
}




.rv-quote p{
  font-family: Helvetica, Arial, sans-serif;
  font-size:14px;
  line-height:1.75;
  font-style:italic;
  color:inherit;




  max-width:none;     /* DŮLEŽITÉ: ať se to neláme zbytečně brzy */
  width:100%;
}




/* Autor (bez ikony/kolečka) */
.rv-author{
  margin:12px 0 18px !important; /* 12px mezera mezi citací a autorem */
}




.rv-author__name{
  font-weight:700;
  line-height:1.2;
  color:inherit;
}




.rv-author__meta{
  margin-top:2px;
  opacity:.75;
  line-height:1.2;
}




/* Vlevo: bílé kolečko */
.rv-media{
  display:flex;
  justify-content:center;
  align-items:center;
}




.rv-photo{
  width:190px;
  height:190px;
  border-radius:9999px;
  background:#fff;
  border:1px solid #e0e0e0;
  overflow:hidden;
  display:flex;
  align-items:center;
  justify-content:center;
}




/* Fotka uvnitř kolečka */
.rv-img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}




/* CTA */
.rv-cta{
  margin-top:6px;
}




/* Responsive */
@media (max-width: 999px){
  .rv-inner{
    grid-template-columns:1fr;
    padding:28px 20px;
    gap:16px;
  }




  .rv-media{
    justify-content:flex-start;
  }




  .rv-photo{
    width:150px;
    height:150px;
  }
}












/* === Nadpisy v článku mimo bloky s obrázkem  === */ 


.blog-heading{
/* 1) natvrdo nastavíme font (ne přes inherit) */
font-family: "Open Sans", sans-serif;


color: #111111;
font-weight: 800;
letter-spacing: .03em;
text-transform: uppercase;


margin: 26px 0 12px;
padding-bottom: 2px;
border-bottom: 7px solid #b8af9f;
line-height: 1.2;
}


/* velikosti dle webu */
.blog-heading--h2{ font-size: 24px; }
.blog-heading--h3{ font-size: 20px; }


/* mobile (volitelné – pokud chcete zachovat stejné velikosti, klidně smažte) */
@media (max-width: 900px){
.blog-heading--h2{ font-size: 22px; }
.blog-heading--h3{ font-size: 19px; }
}