﻿/* === E-cigarety.cz – Tabulka v blogu === */


.ec-table-wrap {
  margin: 28px 0;
  font-family: 'Roboto', -apple-system, "Segoe UI", Arial, sans-serif;
  box-sizing: border-box;
}
.ec-table-wrap *,
.ec-table-wrap *::before,
.ec-table-wrap *::after { box-sizing: border-box; }


.ec-table-caption {
  font-family: 'Exo 2', 'Roboto', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #3a3845;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin: 0 0 10px;
}


.ec-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 8px;
  overflow: hidden;
  font-size: 14.5px;
  line-height: 1.55;
  color: #292929;
}


.ec-table thead th {
  background: #42404f;
  color: #ffffff;
  font-family: 'Exo 2', 'Roboto', sans-serif;
  font-size: 13.5px;
  font-weight: 600;
  text-align: left;
  letter-spacing: 0.3px;
  padding: 14px 18px;
  border-bottom: 2px solid #c00300;
  vertical-align: middle;
}
.ec-table thead th:not(:last-child) {
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}


.ec-table tbody td {
  padding: 13px 18px;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  vertical-align: top;
}
.ec-table tbody td:not(:last-child) {
  border-right: 1px solid rgba(0, 0, 0, 0.04);
}
.ec-table tbody tr:first-child td {
  border-top: 0;
}


.ec-table tbody tr:nth-child(even) td {
  background: #f8f8f8;
}
.ec-table tbody tr:hover td {
  background: rgba(192, 3, 0, 0.04);
}


.ec-table tbody td:first-child {
  font-weight: 600;
  color: #3a3845;
}


.ec-table tbody td strong {
  color: #c00300;
  font-weight: 600;
}


/* Pozitivní / negativní hodnoty */
.ec-table .ec-yes,
.ec-table .ec-no {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 500;
}
.ec-table .ec-yes { color: #2d7a3e; }
.ec-table .ec-no { color: #ba0010; }
.ec-table .ec-yes::before {
  content: "";
  width: 14px;
  height: 14px;
  background: #2d7a3e;
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
}
.ec-table .ec-no::before {
  content: "";
  width: 14px;
  height: 14px;
  background: #ba0010;
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
}


/* === Porovnávací varianta s vyznačeným sloupcem === */
.ec-table--compare thead th.ec-table__highlight {
  background: #c00300;
  position: relative;
  padding-top: 32px;
}
.ec-table--compare thead th.ec-table__highlight::after {
  content: "DOPORUČUJEME";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  background: #ba0010;
  color: #ffffff;
  font-family: 'Exo 2', 'Roboto', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-align: center;
  padding: 6px 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}


.ec-table--compare thead th:not(.ec-table__highlight) {
  padding-top: 32px;
}


.ec-table--compare tbody td.ec-table__highlight {
  background: rgba(192, 3, 0, 0.05);
  font-weight: 500;
}
.ec-table--compare tbody tr:nth-child(even) td.ec-table__highlight {
  background: rgba(192, 3, 0, 0.08);
}


/* === Mobilní zobrazení – tabulka zůstává tabulkou === */
@media (max-width: 640px) {
  .ec-table-caption {
    font-size: 13px;
    margin-bottom: 8px;
  }


  .ec-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: 8px;
  }


  .ec-table {
    font-size: 13.5px;
    min-width: 520px;
  }


  .ec-table thead th {
    font-size: 12.5px;
    padding: 11px 12px;
    letter-spacing: 0.2px;
  }


  .ec-table tbody td {
    padding: 10px 12px;
    font-size: 13px;
    line-height: 1.5;
  }


  .ec-table tbody tr:hover td {
    background: rgba(192, 3, 0, 0.04);
  }


  .ec-table .ec-yes::before,
  .ec-table .ec-no::before {
    width: 11px;
    height: 11px;
  }


  /* Porovnávací varianta – štítek menší, ale viditelný */
  .ec-table--compare thead th.ec-table__highlight {
    padding-top: 28px;
  }
  .ec-table--compare thead th:not(.ec-table__highlight) {
    padding-top: 28px;
  }
  .ec-table--compare thead th.ec-table__highlight::after {
    font-size: 9.5px;
    letter-spacing: 0.6px;
    padding: 5px 6px;
  }
}


























/* === E-cigarety.cz – Obrázek v blogu === */


.ec-figure {
  margin: 28px 0;
  font-family: 'Roboto', -apple-system, "Segoe UI", Arial, sans-serif;
  box-sizing: border-box;
}
.ec-figure *,
.ec-figure *::before,
.ec-figure *::after { box-sizing: border-box; }


.ec-figure__media {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 8px;
  background: #f5f5f5;
  border: 1px solid rgba(0, 0, 0, 0.06);
}


.ec-figure__media img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform 0.5s ease;
}


.ec-figure__media--zoomable {
  cursor: zoom-in;
}
.ec-figure__media--zoomable:hover img {
  transform: scale(1.03);
}


.ec-figure__caption {
  display: block;
  margin-top: 10px;
  padding-left: 14px;
  border-left: 3px solid #5b5878;
  font-size: 13.5px;
  line-height: 1.55;
  color: #5a5a5a;
  font-style: italic;
}
.ec-figure__caption strong {
  color: #3a3845;
  font-weight: 600;
  font-style: normal;
}


/* === Modifikátor: Hero / na celou šířku === */
.ec-figure--full {
  margin: 32px 0;
}
.ec-figure--full .ec-figure__media {
  border-radius: 10px;
}
.ec-figure--full .ec-figure__caption {
  text-align: center;
  border-left: 0;
  padding-left: 0;
  margin-top: 12px;
  font-size: 13px;
}


/* === Modifikátor: Vedle textu (obteče) === */
.ec-figure--side {
  float: right;
  width: 42%;
  max-width: 360px;
  margin: 6px 0 18px 24px;
}
.ec-figure--side.ec-figure--left {
  float: left;
  margin: 6px 24px 18px 0;
}
.ec-figure--side .ec-figure__media {
  border-radius: 6px;
}
.ec-figure--side .ec-figure__caption {
  font-size: 12.5px;
  margin-top: 8px;
  padding-left: 10px;
  border-left-width: 2px;
}


/* Clearfix pro odstavec za obtékaným obrázkem */
.ec-figure-clear::after {
  content: "";
  display: table;
  clear: both;
}


/* === Responsivita === */
@media (max-width: 640px) {
  .ec-figure {
    margin: 22px 0;
  }
  .ec-figure__caption {
    font-size: 12.5px;
    padding-left: 12px;
    margin-top: 8px;
  }
  .ec-figure--full {
    margin: 24px 0;
  }
  .ec-figure--full .ec-figure__caption {
    font-size: 12px;
  }


  /* Na mobilu se obtékaný obrázek roztáhne na plnou šířku */
  .ec-figure--side,
  .ec-figure--side.ec-figure--left {
    float: none;
    width: 100%;
    max-width: 100%;
    margin: 22px 0;
  }
  .ec-figure--side .ec-figure__caption {
    font-size: 12.5px;
  }
}
















/* === E-cigarety.cz – Info rámeček (blog) === */


.ec-callout {
  position: relative;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: #f5f5f5;
  border: 1px solid rgba(58, 56, 69, 0.12);
  border-left: 4px solid #42404f;
  border-radius: 8px;
  padding: 20px 24px;
  margin: 28px 0;
  font-family: 'Roboto', -apple-system, "Segoe UI", Arial, sans-serif;
  color: #292929;
  box-sizing: border-box;
}
.ec-callout *,
.ec-callout *::before,
.ec-callout *::after { box-sizing: border-box; }


.ec-callout__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: #42404f;
  color: #ffffff;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 1px;
  overflow: hidden;
}
.ec-callout__icon img {
  width: 24px;
  height: 24px;
  object-fit: contain;
  display: block;
  filter: brightness(0) invert(1);
}


.ec-callout__body {
  flex: 1;
  min-width: 0;
}


.ec-callout__title {
  display: block;
  font-family: 'Exo 2', 'Roboto', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: #42404f;
  line-height: 1.3;
  letter-spacing: 0.2px;
  margin: 0 0 6px;
}


.ec-callout__text {
  font-size: 14.5px;
  line-height: 1.65;
  color: #434343;
  margin: 0;
}
.ec-callout__text + .ec-callout__text {
  margin-top: 8px;
}
.ec-callout__text strong {
  color: #3a3845;
  font-weight: 600;
}


.ec-callout ul,
.ec-callout ol {
  margin: 6px 0 0;
  padding-left: 20px;
}
.ec-callout li {
  font-size: 14.5px;
  line-height: 1.6;
  color: #434343;
  margin-bottom: 4px;
}
.ec-callout li::marker {
  color: #42404f;
}


/* === Modifikátor: Tip (sytá fialová – doporučení) === */
.ec-callout--tip {
  background: #ebe9f2;
  border-color: rgba(91, 88, 120, 0.28);
  border-left-color: #5b5878;
}
.ec-callout--tip .ec-callout__icon {
  background: #5b5878;
}
.ec-callout--tip .ec-callout__title {
  color: #4a476a;
}
.ec-callout--tip .ec-callout__text {
  color: #3d3a55;
}
.ec-callout--tip .ec-callout__text strong {
  color: #4a476a;
  font-weight: 600;
}
.ec-callout--tip li {
  color: #3d3a55;
}
.ec-callout--tip li::marker {
  color: #5b5878;
}


/* === Modifikátor: Warning (značková červená – bezpečnostní upozornění) === */
.ec-callout--warning {
  background: #fdecec;
  border-color: rgba(192, 3, 0, 0.22);
  border-left-color: #c00300;
}
.ec-callout--warning .ec-callout__icon {
  background: #c00300;
}
.ec-callout--warning .ec-callout__title {
  color: #c00300;
}
.ec-callout--warning .ec-callout__text strong {
  color: #ba0010;
}
.ec-callout--warning li::marker {
  color: #c00300;
}


/* === Responsivita === */
@media (max-width: 640px) {
  .ec-callout {
    padding: 16px 16px;
    gap: 12px;
    margin: 22px 0;
    border-left-width: 3px;
  }
  .ec-callout__icon {
    width: 38px;
    height: 38px;
  }
  .ec-callout__icon img {
    width: 20px;
    height: 20px;
  }
  .ec-callout__title {
    font-size: 14px;
    margin-bottom: 4px;
  }
  .ec-callout__text,
  .ec-callout li {
    font-size: 13.5px;
    line-height: 1.55;
  }
}


@media (max-width: 480px) {
  .ec-callout {
    padding: 14px 14px;
    border-radius: 6px;
  }
  .ec-callout__icon {
    width: 34px;
    height: 34px;
  }
  .ec-callout__icon img {
    width: 18px;
    height: 18px;
  }
  .ec-callout__title { font-size: 13.5px; }
}






























/* === E-cigarety.cz – Výčet (blog) === */


.ec-list {
  list-style: none;
  padding: 0;
  margin: 24px 0;
  font-family: 'Roboto', -apple-system, "Segoe UI", Arial, sans-serif;
  color: #292929;
  box-sizing: border-box;
}
.ec-list *,
.ec-list *::before,
.ec-list *::after { box-sizing: border-box; }


.ec-list__item {
  position: relative;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 12px 16px;
  background: #f5f5f5;
  border-left: 3px solid #42404f;
  border-radius: 6px;
  margin-bottom: 8px;
  transition: background 0.2s ease, transform 0.15s ease;
}
.ec-list__item:last-child {
  margin-bottom: 0;
}
.ec-list__item:hover {
  background: #ececec;
  transform: translateX(2px);
}


.ec-list__marker {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  background: #42404f;
  color: #ffffff;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 2px;
  font-family: 'Exo 2', 'Roboto', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
  overflow: hidden;
}
.ec-list__marker svg,
.ec-list__marker img {
  width: 11px;
  height: 11px;
  display: block;
}
.ec-list__marker img {
  object-fit: contain;
  filter: brightness(0) invert(1);
}


.ec-list__content {
  flex: 1;
  min-width: 0;
  font-size: 15px;
  line-height: 1.65;
  color: #292929;
  padding-top: 1px;
}
.ec-list__content strong {
  color: #42404f;
  font-weight: 600;
}


.ec-list__title {
  display: block;
  font-family: 'Exo 2', 'Roboto', sans-serif;
  font-size: 15.5px;
  font-weight: 600;
  color: #3a3845;
  line-height: 1.3;
  margin-bottom: 3px;
}
.ec-list__desc {
  display: block;
  font-size: 14px;
  line-height: 1.6;
  color: #5a5a5a;
}


/* === Modifikátor: Číslovaný výčet (postupy, kroky) === */
.ec-list--numbered {
  counter-reset: ec-step;
}
.ec-list--numbered .ec-list__item {
  counter-increment: ec-step;
}
.ec-list--numbered .ec-list__marker::before {
  content: counter(ec-step);
}


/* === Modifikátor: Checklist (výhody, splnění – fialová) === */
.ec-list--check .ec-list__item {
  background: #f5f4f7;
  border-left-color: #5b5878;
}
.ec-list--check .ec-list__item:hover {
  background: #ecebef;
}
.ec-list--check .ec-list__marker {
  background: #5b5878;
}


/* === Pro / proti (dva sloupce) === */
.ec-list-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin: 24px 0;
  font-family: 'Roboto', -apple-system, "Segoe UI", Arial, sans-serif;
  box-sizing: border-box;
}


.ec-list-pair__col {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 8px;
  padding: 18px 20px;
  box-sizing: border-box;
}
.ec-list-pair__col--pro {
  border-top: 3px solid #5b5878;
}
.ec-list-pair__col--con {
  border-top: 3px solid #c00300;
}


.ec-list-pair__title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Exo 2', 'Roboto', sans-serif;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin: 0 0 14px;
}
.ec-list-pair__col--pro .ec-list-pair__title { color: #4a476a; }
.ec-list-pair__col--con .ec-list-pair__title { color: #c00300; }


.ec-list-pair__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  background: currentColor;
  border-radius: 50%;
  flex-shrink: 0;
  overflow: hidden;
}
.ec-list-pair__icon svg,
.ec-list-pair__icon img {
  width: 9px;
  height: 9px;
  color: #ffffff;
  display: block;
}
.ec-list-pair__icon img {
  object-fit: contain;
  filter: brightness(0) invert(1);
}


.ec-list-pair ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.ec-list-pair li {
  position: relative;
  padding-left: 22px;
  font-size: 14.5px;
  line-height: 1.6;
  color: #434343;
  margin-bottom: 8px;
}
.ec-list-pair li:last-child {
  margin-bottom: 0;
}
.ec-list-pair li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.ec-list-pair__col--pro li::before { background: #5b5878; }
.ec-list-pair__col--con li::before { background: #c00300; }


/* === Responsivita === */
@media (max-width: 640px) {
  .ec-list { margin: 18px 0; }
  .ec-list__item {
    padding: 10px 14px;
    gap: 12px;
  }
  .ec-list__marker {
    width: 19px;
    height: 19px;
    font-size: 11px;
  }
  .ec-list__marker svg,
  .ec-list__marker img {
    width: 10px;
    height: 10px;
  }
  .ec-list__content {
    font-size: 14px;
    line-height: 1.55;
  }
  .ec-list__title { font-size: 14.5px; }
  .ec-list__desc { font-size: 13px; }


  .ec-list-pair {
    grid-template-columns: 1fr;
    gap: 10px;
    margin: 18px 0;
  }
  .ec-list-pair__col {
    padding: 14px 16px;
  }
  .ec-list-pair__title {
    font-size: 13px;
    margin-bottom: 10px;
  }
  .ec-list-pair__icon {
    width: 16px;
    height: 16px;
  }
  .ec-list-pair__icon svg,
  .ec-list-pair__icon img {
    width: 8px;
    height: 8px;
  }
  .ec-list-pair li {
    font-size: 13.5px;
  }
}