
/* ============================================
   NADPISY
   ============================================ */

h1 {
  font-size: 38px !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;
  margin: 0 0 20px !important;
  color: #000000 !important;
}

h2 {
  font-size: 28px !important;
  font-weight: 700 !important;
  line-height: 1.3 !important;
  margin: 48px 0 16px !important;
  padding-bottom: 8px !important;
  border-bottom: 2px solid #3c4bc2 !important;
  color: #000000 !important;
}

h3 {
  font-size: 22px !important;
  font-weight: 700 !important;
  line-height: 1.35 !important;
  margin: 36px 0 12px !important;
  color: #000000 !important;
}

h4 {
  font-size: 18px !important;
  font-weight: 700 !important;
  line-height: 1.4 !important;
  margin: 28px 0 8px !important;
  color: #3c4bc2 !important;
}

h5,
h6 {
  font-size: 16px !important;
  font-weight: 700 !important;
  line-height: 1.4 !important;
  margin: 20px 0 6px !important;
  color: #777777 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.06em !important;
}


/* ============================================
   ODSTAVCE
   ============================================ */

p {
  font-size: 18px !important;
  line-height: 1.75 !important;
  margin: 0 0 20px !important;
  color: #000000 !important;
}

strong {
  font-weight: 700 !important;
  color: #3c4bc2 !important;
}

em {
  font-style: italic !important;
}


/* ============================================
   CITÁT / PULLQUOTE
   ============================================ */

blockquote {
  border-left: 3px solid #3c4bc2 !important;
  margin: 32px 0 !important;
  padding: 18px 24px !important;
  background: transparent !important;
}

blockquote p {
  font-size: 20px !important;
  font-style: italic !important;
  font-weight: 500 !important;
  color: #3c4bc2 !important;
  line-height: 1.65 !important;
  margin: 0 !important;
}

blockquote cite {
  display: block !important;
  margin-top: 10px !important;
  font-size: 13px !important;
  font-style: normal !important;
  font-weight: 600 !important;
  color: #777777 !important;
  letter-spacing: 0.05em !important;
  text-transform: uppercase !important;
}


/* ============================================
   ODDĚLOVAČ
   ============================================ */

hr {
  border: none !important;
  border-top: 1px solid #E6DFCE !important;
  margin: 40px 0 !important;
}


/* ============================================
   SEZNAMY — třída nutná, Shoptet používá <ul> pro navigaci
   ============================================ */

.ul {
  list-style: none !important;
  margin: 0 0 24px !important;
  padding-left: 0 !important;
}

.ul li {
  position: relative !important;
  padding-left: 20px !important;
  margin-bottom: 10px !important;
  font-size: 18px !important;
  line-height: 1.7 !important;
}

.ul li::before {
  content: "" !important;
  position: absolute !important;
  left: 0 !important;
  top: 11px !important;
  width: 7px !important;
  height: 7px !important;
  border-radius: 50% !important;
  background: #3c4bc2 !important;
}

.ol {
  margin: 0 0 24px !important;
  padding-left: 24px !important;
}

.ol li {
  margin-bottom: 10px !important;
  font-size: 18px !important;
  line-height: 1.7 !important;
  padding-left: 6px !important;
}

.ol li::marker {
  color: #3c4bc2 !important;
  font-weight: 700 !important;
}


/* ============================================
   TABULKY — třída nutná, globální styl může rozbít Shoptet tabulky
   ============================================ */

.table {
  width: 100% !important;
  border-collapse: collapse !important;
  font-size: 15px !important;
  line-height: 1.6 !important;
  margin: 0 0 32px !important;
  border-radius: 10px !important;
  overflow: hidden !important;
}

.table thead th {
  background: #3c4bc2 !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  font-size: 12px !important;
  text-transform: uppercase !important;
  letter-spacing: 0.07em !important;
  padding: 11px 14px !important;
  text-align: left !important;
}

.table tbody tr {
  border-bottom: 1px solid #E6DFCE !important;
}

.table tbody tr:last-child {
  border-bottom: none !important;
}

.table tbody tr:nth-child(even) {
  background: #fdfcf8 !important;
}

.table tbody td {
  padding: 10px 14px !important;
  vertical-align: top !important;
}


/* ============================================
   SPECIÁLNÍ BLOKY
   ============================================ */

.ln-perex {
  font-size: 21px !important;
  line-height: 1.65 !important;
  color: #333333 !important;
  margin: 0 0 36px !important;
  padding-bottom: 12px !important;
}

.ln-highlight {
  border-left: 3px solid #f4ed68 !important;
  padding: 14px 20px !important;
  margin: 28px 0 !important;
  font-size: 18px !important;
  line-height: 1.7 !important;
}

.ln-disclaimer {
  font-size: 12px !important;
  color: #777777 !important;
  line-height: 1.65 !important;
  border-top: 1px solid #eeeeee !important;
  padding-top: 14px !important;
  margin: 40px 0 0 !important;
}

.ln-cta-box {
  background: #fdfcf8 !important;
  border-radius: 12px !important;
  padding: 24px 28px !important;
  margin: 48px 0 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 20px !important;
  flex-wrap: wrap !important;
}

.ln-cta-box__text {
  font-size: 17px !important;
  font-weight: 600 !important;
  line-height: 1.5 !important;
  margin: 0 !important;
  color: #000000 !important;
}


/* ============================================
   KARTA AUTORA
   ============================================ */

.lynova-author-card {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  background: #ffffff;
  border: 1px solid #e8e8e8;
  border-radius: 12px;
  padding: 20px 24px;
  margin: 32px 0;
}

.lac-avatar {
  width: 150px;
  height: 150px;
  min-width: 150px;
  border-radius: 50%;
  overflow: hidden;
  background: #f0f0f0;
}

.lac-avatar img {
  width: 100% !important;
  height: 100% !important;
  border-radius: 0 !important;
  margin: 0 !important;
}

.lac-body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}

.lac-label {
  font-size: 12px;
  color: #888888;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.lac-name {
  font-size: 16px;
  font-weight: 600;
  color: #1a1a1a;
  margin: 0;
}

.lac-bio {
  font-size: 14px;
  color: #555555;
  line-height: 1.6;
  margin: 6px 0 0;
}


/* ============================================
   PRODUKTOVÝ BLOK V ČLÁNKU
   ============================================ */

.lynova-product-block {
  display: flex;
  align-items: stretch;
  gap: 0;
  background: #ffffff;
  border: 1px solid #e8e8e8;
  border-radius: 12px;
  margin: 32px 0;
  overflow: hidden;
  max-width: 70%;
}

.lpb-img {
  width: 33.333%;
  min-width: 33.333%;
  background: #f5f5f5;
}

.lpb-img img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
  display: block;
  border-radius: 0 !important;
  margin: 0 !important;
}

.lpb-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
  padding: 24px 28px;
}

.lpb-name {
  font-size: 20px;
  font-weight: 600;
  color: #1a1a1a;
  margin: 0;
}

.lpb-desc {
  font-size: 16px;
  color: #555555;
  line-height: 1.65;
  margin: 0;
}

/* Tlačítko v produktovém bloku — zabrání roztažení přes celou šířku */
.lpb-body .ln-btn {
  align-self: flex-start !important;
  width: auto !important;
}


/* ============================================
   VĚDECKÉ ZDROJE
   ============================================ */

.ln-references {
  margin-bottom: 24px !important;
}

.ln-reference {
  padding: 12px 0;
  border-bottom: 0.5px solid #e0e0e0;
  font-size: 12px !important;
  line-height: 1.65 !important;
}

.ln-reference:last-child {
  border-bottom: none;
}

.ln-reference__title {
  font-weight: 700 !important;
  display: block;
  margin-bottom: 2px !important;
}

.ln-reference__links {
  display: flex;
  gap: 8px;
  margin-top: 6px !important;
  flex-wrap: wrap;
}


/* ============================================
   HODNOTY — grid 2×2
   ============================================ */

.ln-values {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}

.ln-value-card {
  background: #fdfcf8;
  border-radius: 12px;
  padding: 22px 24px;
  border: 1px solid #E6DFCE;
}

.ln-value-card__num {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #3c4bc2;
  margin-bottom: 8px;
}

.ln-value-card__title {
  font-size: 17px;
  font-weight: 700;
  margin: 0 0 8px;
  color: #000000;
}

.ln-value-card__text {
  font-size: 15px;
  line-height: 1.65;
  color: #444444;
  margin: 0;
}


/* ============================================
   GENERICKÝ 2-SLOUPCOVÝ GRID
   Použití: tým, dvojice karet, certifikáty atd.
   ============================================ */

.ln-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}

/* Karta autora uvnitř ln-grid-2 — zruší vlastní margin */
.ln-grid-2 .lynova-author-card {
  margin: 0;
}


/* ============================================
   EDITORIÁLNÍ SEZNAM — seznam s ikonou ✓
   ============================================ */

.ln-editorial-list {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
}

.ln-editorial-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px 0;
  border-bottom: 1px solid #eeeeee;
}

.ln-editorial-list li:last-child {
  border-bottom: none;
}

.ln-editorial-list__icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  background: #3c4bc2;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  margin-top: 2px;
}

.ln-editorial-list__content strong {
  display: block;
  font-size: 16px;
  font-weight: 700;
  color: #000000;
  margin-bottom: 3px;
}

.ln-editorial-list__content span {
  font-size: 15px;
  line-height: 1.65;
  color: #444444;
}


/* ============================================================
   VLAJKOVÉ STUDIE (featured-studies)
   4 karty na desktopu, 2×2 na tabletu, 1 sloupec na mobilu
   ============================================================ */

.ln-featured-studies {
  padding: 48px 0;
}

.ln-featured-studies__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.ln-study-card {
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.07);
  padding: 28px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: box-shadow 0.2s ease;
}

.ln-study-card:hover {
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.12);
}

.ln-study-card__title {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
  color: #000000;
  margin: 0;
}

.ln-study-card__meta {
  font-size: 13px;
  color: #6b7280;
  line-height: 1.4;
  margin: 0;
}

.ln-study-card__excerpt {
  font-size: 14px;
  line-height: 1.6;
  color: #374151;
  margin: 0;
  flex-grow: 1;
}


/* ============================================
   RESPONZIVITA
   ============================================ */

@media (max-width: 600px) {

  h1 {
    font-size: 28px !important;
  }

  h2 {
    font-size: 22px !important;
    margin-top: 36px !important;
  }

  h3 {
    font-size: 19px !important;
  }

  blockquote p {
    font-size: 18px !important;
  }

  .ln-perex {
    font-size: 18px !important;
  }

  .table {
    font-size: 13px !important;
  }

  .ln-cta-box {
    flex-direction: column !important;
    align-items: flex-start !important;
  }

  .lynova-author-card {
    flex-wrap: wrap !important;
    gap: 12px !important;
    padding: 16px !important;
  }

  .lac-avatar {
    width: 52px !important;
    height: 52px !important;
    min-width: 52px !important;
  }

  .lynova-product-block {
    flex-direction: column !important;
    max-width: 100% !important;
  }

  .lpb-img {
    width: 100% !important;
    min-width: unset !important;
    height: 200px !important;
  }

  .lpb-body {
    padding: 18px 20px !important;
  }

  .ln-values,
  .ln-grid-2 {
    grid-template-columns: 1fr !important;
  }

}

@media (max-width: 1024px) {

  .ln-featured-studies__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

}

@media (max-width: 480px) {

  .ln-featured-studies__grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .ln-study-card {
    padding: 22px 20px 20px;
  }

}
