/* Little Shoes — obsahové bloky, sazba a obsah článku. */

:root {
  --ls-black: #1a1a1a;
  --ls-white: #ffffff;
  --ls-off-white: #f1f1f1;
  --ls-red: #e71929;
  --ls-red-deep: #c4121f;
  --ls-grey-600: #757575;
  --ls-grey-400: #a7a7a7;
  --ls-grey-200: #e5e5e5;

  --ls-green-soft: #d6e2d9;
  --ls-pink-soft: #f4dcdf;
  --ls-yellow-soft: #fdeec3;

  --ls-green: #719d7e;
  --ls-pink: #dc838a;
  --ls-yellow: #fac94d;
  --ls-bullet: var(--ls-accent-solid);

  --ls-accent: var(--ls-green-soft);
  --ls-accent-solid: var(--ls-green);
  --ls-accent-alt: var(--ls-yellow-soft);

  --ls-radius-sm: 4px;
  --ls-radius-md: 8px;
  --ls-radius-pill: 999px;

  --ls-scrim-dark-corner: radial-gradient(125% 125% at 0% 100%,
    rgba(26, 26, 26, 0.9) 0%,
    rgba(26, 26, 26, 0.74) 24%,
    rgba(26, 26, 26, 0.28) 40%,
    rgba(26, 26, 26, 0) 52%);

  --ls-scrim-dark-bottom: linear-gradient(0deg,
    rgba(26, 26, 26, 0.88) 0%,
    rgba(26, 26, 26, 0.62) 26%,
    rgba(26, 26, 26, 0.18) 50%,
    rgba(26, 26, 26, 0) 70%);

  --ls-icon-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h13M13 7l5 5-5 5'/%3E%3C/svg%3E");

  --ls-shadow-cta: 0 1px 1.3px 0 rgba(0, 0, 0, 0.14);
  --ls-shadow-card: 0 8px 24px -8px rgba(16, 16, 16, 0.12);

  --ls-font: "Circular XX", "Circular", "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --ls-ease: cubic-bezier(0.22, 1, 0.36, 1);

  --ls-measure: 58ch;
}

.ls-tip,
.ls-sources,
.ls-numbered,
.ls-signpost,
.ls-author-card,
.ls-faq,
.ls-quote,
.ls-table,
.ls-season {
  font-family: var(--ls-font);
  font-weight: 400;
  color: var(--ls-black);
  margin: 48px 0;
  box-sizing: border-box;
}

.ls-tip *,
.ls-sources *,
.ls-numbered *,
.ls-signpost *,
.ls-author-card *,
.ls-faq *,
.ls-quote *,
.ls-table *,
.ls-season * {
  box-sizing: border-box;
}

.ls-tip__kicker,
.ls-sources__kicker,
.ls-quote__kicker {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.2;
  margin: 0 0 8px;
}

.ls-tip__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ls-black);
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
  transition: text-decoration-color 200ms var(--ls-ease);
}

.ls-tip__link:hover,
.ls-tip > a.ls-tip__link:hover,
.ls-author-card a.ls-author-card__link:hover {
  color: var(--ls-black);
  text-decoration: none;
}

.ls-tip__link::after,
.ls-author-card__link::after {
  content: "";
  width: 16px;
  height: 16px;
  flex: none;
  background: currentColor;
  -webkit-mask: var(--ls-icon-arrow) center / contain no-repeat;
  mask: var(--ls-icon-arrow) center / contain no-repeat;
}

:where(.ls-prose, .category-perex, .news-item-detail, .sectionDescription) {
  font-family: var(--ls-font);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.5;
  color: var(--ls-black);
}

:where(.ls-prose, .category-perex, .news-item-detail, .sectionDescription) p {
  margin: 0 0 16px;
}

:where(.ls-prose, .category-perex, .news-item-detail, .sectionDescription) p.ls-prose__perex {
  font-size: 18px;
  margin-bottom: 24px;
}

:where(.ls-prose, .pageArticleDetail, .category-perex, .news-item-detail, .sectionDescription) h1 {
  margin: 24px 0 24px;
  font-size: 44px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.08;
  text-wrap: pretty;
}

.pageArticleDetail > header[itemprop="headline"] h1,
.news-item-detail h1[itemprop="headline"],
.news-item-detail .text > h1 {
  display: block;
  text-align: left !important;
  max-width: none;
}

.pageArticleDetail > header[itemprop="headline"] h1::before,
.news-item-detail h1[itemprop="headline"]::before,
.news-item-detail .text > h1::before {
  content: "";
  display: block;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--ls-red);
  box-shadow: 19.6px 0 0 var(--ls-red), 39.2px 0 0 var(--ls-red);
  margin-bottom: 28px;
}

:where(.ls-prose, .pageArticleDetail, .category-perex, .news-item-detail, .sectionDescription) h2 {
  margin: 64px 0 24px;
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  text-wrap: pretty;
}

:where(.ls-prose, .pageArticleDetail, .category-perex, .news-item-detail, .sectionDescription) h3 {
  margin: 40px 0 16px;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  text-wrap: pretty;
}

:where(.ls-prose, .pageArticleDetail, .category-perex, .news-item-detail, .sectionDescription) h4 {
  margin: 32px 0 8px;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.3;
}

:where(.ls-prose, .category-perex, .news-item-detail, .sectionDescription) > *:first-child:not(h1) {
  margin-top: 0;
}

/* Barvu odkazu je nutné psát: prohlížeč má vlastní modrou a fialovou. */
:where(.ls-prose, .category-perex, .news-item-detail, .sectionDescription) a {
  color: var(--ls-black);
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
  transition: text-decoration-color 200ms var(--ls-ease);
}

:where(.ls-prose, .category-perex, .news-item-detail, .sectionDescription) a:hover {
  text-decoration: none;
}

.ls-prose a[href]:hover:not(.ls-btn):not(.ls-cta__button),
.ls-table a[href]:hover:not(.ls-btn):not(.ls-cta__button),
.category-perex a[href]:hover:not(.ls-btn):not(.ls-cta__button),
.news-item-detail a[href]:hover:not(.ls-btn):not(.ls-cta__button),
.sectionDescription a[href]:hover:not(.ls-btn):not(.ls-cta__button) {
  color: var(--ls-black);
  text-decoration: none;
}

.ls-social {
  display: inline-block;
  vertical-align: middle;
}

.ls-social,
.ls-social[href]:hover {
  text-decoration: none;
}

.ls-social + .ls-social {
  margin-left: 8px;
}

.ls-social img {
  display: block;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  transition: opacity 200ms var(--ls-ease);
}

.ls-social[href]:hover img {
  opacity: .7;
}

:where(.ls-prose, .category-perex, .news-item-detail, .sectionDescription) a:visited {
  color: var(--ls-black);
}

:where(.ls-prose, .category-perex, .news-item-detail, .sectionDescription) em {
  font-style: normal;
  font-weight: 700;
}

@media (max-width: 639px) {
:where(.ls-prose, .pageArticleDetail, .category-perex, .news-item-detail, .sectionDescription) h1 {
    font-size: 32px;
  }

:where(.ls-prose, .pageArticleDetail, .category-perex, .news-item-detail, .sectionDescription) h2 {
    margin-top: 48px;
    font-size: 28px;
  }

:where(.ls-prose, .pageArticleDetail, .category-perex, .news-item-detail, .sectionDescription) h3 {
    margin-top: 28px;
    font-size: 22px;
  }
}

.ls-list,
.ls-list li {
  font-family: var(--ls-font);
  font-size: 16px;
  line-height: 1.5;
  color: var(--ls-black);
}

.ls-list,
.ls-prose ul,
.category-perex ul,
.news-item-detail ul,
.sectionDescription ul,
.ls-prose ol,
.category-perex ol,
.news-item-detail ol,
.sectionDescription ol {
  margin: 24px 0;
  padding: 0;
  list-style: none;
}

.ls-list > li,
.ls-prose ul > li,
.category-perex ul > li,
.news-item-detail ul > li,
.sectionDescription ul > li,
.ls-prose ol > li,
.category-perex ol > li,
.news-item-detail ol > li,
.sectionDescription ol > li {
  position: relative;
  margin: 0;
  padding: 0 0 0 28px;
}

.ls-list > li + li,
.ls-prose ul > li + li,
.category-perex ul > li + li,
.news-item-detail ul > li + li,
.sectionDescription ul > li + li,
.ls-prose ol > li + li,
.category-perex ol > li + li,
.news-item-detail ol > li + li,
.sectionDescription ol > li + li {
  margin-top: 12px;
}

.ls-list:not(.ls-list--num) > li::before,
.ls-prose ul > li::before,
.category-perex ul > li::before,
.news-item-detail ul > li::before,
.sectionDescription ul > li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 9px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ls-bullet);
}

.ls-list--num,
.ls-prose ol,
.category-perex ol,
.news-item-detail ol,
.sectionDescription ol {
  counter-reset: ls-li;
}

.ls-list--num > li,
.ls-prose ol > li,
.category-perex ol > li,
.news-item-detail ol > li,
.sectionDescription ol > li {
  counter-increment: ls-li;
  padding-left: 32px;
}

.ls-list--num > li::before,
.ls-prose ol > li::before,
.category-perex ol > li::before,
.news-item-detail ol > li::before,
.sectionDescription ol > li::before {
  content: counter(ls-li) ".";
  position: absolute;
  left: 0;
  top: 0;
  font-weight: 700;
  line-height: 1.5;
}

.ls-list ul > li::before,
.ls-prose ul ul > li::before,
.category-perex ul ul > li::before,
.news-item-detail ul ul > li::before,
.sectionDescription ul ul > li::before {
  background: var(--ls-grey-400);
  width: 6px;
  height: 6px;
  top: 10px;
}

.ls-toc ol > li,
.ls-author-card__tags > li,
.ls-signpost > li {
  margin: 0;
  padding: 0;
  max-width: none;
  counter-increment: none;
}

.ls-toc ol > li::before,
.ls-author-card__tags > li::before,
.ls-signpost > li::before {
  content: none;
}

/* ---- Fotka s popiskem ---- */
.ls-figure {
  margin: 48px 0;
  font-family: var(--ls-font);
}

.ls-figure img {
  width: 100%;
  display: block;
  border-radius: var(--ls-radius-md);
  background: var(--ls-off-white);
}

.ls-figure figcaption {
  margin: 8px 0 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--ls-grey-600);
  max-width: var(--ls-measure);
}

.ls-figure--wide img {
  border-radius: var(--ls-radius-md);
}

@media (min-width: 1024px) {
  .ls-figure--wide {
    margin-left: -40px;
    margin-right: -40px;
  }
}

/* ---- Obrázky ---- */
.ls-figure img,
.ls-signpost img,
.ls-tip--media img,
.ls-author-card__photo,
.ls-quote__photo {
  height: auto;
}

.ls-figure img {
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

/* ---- Vložená mapa nebo video ---- */
.ls-embed {
  margin: 48px 0;
  border-radius: var(--ls-radius-md);
  overflow: hidden;
  background: var(--ls-off-white);
}

.ls-embed iframe {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
}

@media (max-width: 639px) {
  .ls-embed iframe {
    aspect-ratio: 4 / 3;
  }
}

.ls-prose img,
.news-item-detail .text img,
.sectionDescription img {
  border-radius: var(--ls-radius-md);
}

/* ---- Tři červené tečky ---- */
.ls-dots {
  display: flex;
  gap: 3.2px;
  margin: 0 0 16px;
}

.ls-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ls-red);
  display: block;
}

.ls-dots--vertical {
  flex-direction: column;
  gap: 4.4px;
  justify-content: center;
  align-items: center;
  margin: 80px auto;
}

/* ---- Pastelový kruh ---- */
.ls-circle {
  position: relative;
  overflow: hidden;
}

.ls-circle::before {
  content: "";
  position: absolute;
  right: -90px;
  bottom: -130px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: var(--ls-accent);
  z-index: 0;
}

.ls-circle > * {
  position: relative;
  z-index: 1;
}

.ls-quote img,
.ls-quote__photo {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  background: var(--ls-grey-200);
}

.ls-quote__kicker {
  color: var(--ls-grey-600);
}

.ls-quote p {
  margin: 0 0 16px;
  font-size: 20px;
  line-height: 1.45;
  letter-spacing: -0.01em;
  color: var(--ls-black);
  max-width: var(--ls-measure);
}

.ls-quote__name {
  display: block;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.35;
}

.ls-quote__role {
  display: block;
  font-size: 14px;
  line-height: 1.4;
  color: var(--ls-grey-600);
}

/* ---- TIP box ---- */
.ls-tip {
  background: var(--ls-accent);
  border-radius: var(--ls-radius-md);
  padding: 32px;
}

.ls-tip__kicker {
  color: var(--ls-black);
}

.ls-tip h3,
.ls-tip h4 {
  margin: 0 0 16px;
  font-family: var(--ls-font);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--ls-black);
}

.ls-tip p {
  margin: 0 0 16px;
  font-size: 16px;
  line-height: 1.5;
  color: var(--ls-black);
  max-width: var(--ls-measure);
}

.ls-tip p:last-of-type {
  margin-bottom: 0;
}

.ls-tip__link {
  margin-top: 16px;
}

.ls-tip--media {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 240px;
  gap: 32px;
  align-items: center;
}

.ls-tip--media img {
  width: 240px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: var(--ls-radius-md);
  display: block;
  align-self: stretch;
  height: 100%;
}

@media (max-width: 719px) {
  .ls-tip--media {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }

  .ls-tip--media img {
    width: 100%;
    aspect-ratio: 16 / 9;
    height: auto;
    order: -1;
  }
}

/* ---- Shrnutí článku ---- */
.ls-summary {
  margin: 48px 0;
  background: var(--ls-white);
  border: 1px solid var(--ls-grey-200);
  border-top: 3px solid var(--ls-red);
  border-radius: var(--ls-radius-md);
  padding: 32px 40px 40px;
}

.ls-summary__kicker {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.2;
  color: var(--ls-grey-600);
  margin: 0 0 16px;
}

.ls-summary ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.ls-summary ul > li {
  position: relative;
  margin: 0;
  padding: 0 0 0 28px;
  font-size: 16px;
  line-height: 1.5;
  color: var(--ls-grey-600);
  max-width: var(--ls-measure);
}

.ls-summary ul > li + li {
  margin-top: 16px;
}

.ls-summary ul > li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 9px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ls-bullet);
}

.ls-summary ul > li b,
.ls-summary ul > li strong {
  color: var(--ls-black);
  font-weight: 700;
}

@media (max-width: 639px) {
  .ls-summary {
    padding: 24px 20px 28px;
  }
}

/* ---- Doložení věrohodnosti ---- */
.ls-sources__kicker {
  color: var(--ls-grey-600);
}

.ls-sources h3,
.ls-sources h4 {
  margin: 0 0 16px;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.ls-sources ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.ls-sources ul > li {
  position: relative;
  margin: 0;
  padding: 0 0 0 24px;
  font-size: 16px;
  line-height: 1.5;
  color: var(--ls-grey-600);
  max-width: var(--ls-measure);
}

.ls-sources ul > li + li {
  margin-top: 16px;
}

.ls-sources ul > li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 10px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ls-black);
}

/* ---- Medailonek autora ---- */
.ls-author-card {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
  background: var(--ls-white);
  border: 1px solid var(--ls-grey-200);
  border-radius: var(--ls-radius-md);
  padding: 32px;
}

.ls-author-card__photo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 20%;
  display: block;
  background: var(--ls-off-white);
}

.ls-author-card__content {
  min-width: 0;
}

.ls-author-card__name {
  display: block;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin: 0;
}

.ls-author-card__role {
  margin: 4px 0 16px;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.4;
  color: var(--ls-grey-600);
}

.ls-author-card__description {
  margin: 0 0 16px;
  font-size: 16px;
  line-height: 1.5;
  color: var(--ls-grey-600);
  max-width: var(--ls-measure);
}

.ls-author-card__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ls-black);
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
}

.ls-author-card__link:hover {
  color: var(--ls-black);
  text-decoration: none;
}

/* ---- FAQ ---- */
.ls-faq details {
  margin: 0;
}

.ls-faq details + details {
  margin-top: 32px;
}

.ls-faq summary {
  position: relative;
  padding-right: 36px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.35;
  cursor: pointer;
  list-style: none;
}

.ls-faq summary::-webkit-details-marker {
  display: none;
}

.ls-faq summary::after {
  content: "";
  position: absolute;
  right: 0;
  top: 0.1em;
  width: 20px;
  height: 20px;
  background:
    linear-gradient(var(--ls-red), var(--ls-red)) center / 15px 2.2px no-repeat,
    linear-gradient(var(--ls-red), var(--ls-red)) center / 2.2px 15px no-repeat;
  transition: transform 200ms var(--ls-ease);
}

.ls-faq details[open] summary::after {
  transform: rotate(45deg);
}

.ls-faq details > *:not(summary) {
  margin: 8px 0 0;
  font-size: 16px;
  line-height: 1.55;
  color: var(--ls-grey-600);
  max-width: var(--ls-measure);
}

.ls-faq details > *:not(summary) > p {
  margin: 0;
  font-size: inherit;
  line-height: inherit;
  color: inherit;
  max-width: none;
}

/* ---- Citace odborníka ---- */
.ls-quote {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
  background: var(--ls-white);
  border: 1px solid var(--ls-grey-200);
  border-radius: var(--ls-radius-md);
  padding: 40px;
}

/* ---- Tabulka ---- */
.ls-table {
  overflow-x: auto;
  border-radius: var(--ls-radius-md);
  border: 1px solid var(--ls-grey-200);
}

.ls-table table {
  width: 100%;
  border-collapse: collapse;
  font-size: 16px;
}

.ls-table th,
.ls-table td {
  min-width: 140px;
  text-align: left;
  vertical-align: top;
}

.ls-table thead th {
  padding: 16px 20px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ls-black);
  background: var(--ls-white);
  border-bottom: 2px solid var(--ls-black);
}

.ls-table td {
  padding: 16px 20px;
  line-height: 1.5;
  color: var(--ls-black);
}

.ls-table tbody td {
  background: var(--ls-white);
}

.ls-table tbody tr + tr td {
  border-top: 1px solid var(--ls-grey-200);
}

.ls-table tbody:has(tr:nth-child(4)) tr + tr td {
  border-top: 0;
}

.ls-table tbody:has(tr:nth-child(4)) tr:nth-child(even) td {
  background: var(--ls-off-white);
}

.ls-table tbody:has(tr:nth-child(4)) tr:nth-child(even) td:first-child {
  background: var(--ls-off-white);
}

.ls-table td:first-child,
.ls-table th:first-child {
  position: sticky;
  left: 0;
  min-width: 180px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ls-black);
}

.ls-table thead th:first-child {
  color: var(--ls-black);
}

.ls-table td:first-child::after,
.ls-table th:first-child::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 1px;
  background: var(--ls-grey-200);
}

.ls-table td.ls-num {
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.ls-table--pairs td:first-child,
.ls-table--pairs th:first-child {
  width: 34%;
}

@media (max-width: 639px) {
  .ls-table--pairs {
    overflow: visible;
    border: 0;
    border-radius: 0;
  }

  .ls-table--pairs table,
  .ls-table--pairs tbody,
  .ls-table--pairs tr,
  .ls-table--pairs td {
    display: block;
    width: 100%;
  }

  .ls-table--pairs thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }

  .ls-table--pairs tr {
    border: 1px solid var(--ls-grey-200);
    border-radius: var(--ls-radius-md);
    overflow: hidden;
    padding: 0;
  }

  .ls-table--pairs tr + tr {
    margin-top: 16px;
  }

  .ls-table--pairs td {
    position: static;
    min-width: 0;
    padding: 16px 20px;
  }

  .ls-table--pairs td::after {
    display: none;
  }

  .ls-table--pairs tbody tr td:first-child,
  .ls-table--pairs tbody tr:nth-child(even) td:first-child {
    background: var(--ls-off-white);
    padding-bottom: 12px;
  }

  .ls-table--pairs tbody tr td:last-child,
  .ls-table--pairs tbody tr:nth-child(even) td:last-child {
    background: var(--ls-white);
  }
}

/* ---- Sezónní blok ---- */
.ls-season {
  background: var(--ls-accent-alt);
  border-radius: var(--ls-radius-md);
  padding: 40px;
}

.ls-season--pink {
  background: var(--ls-pink-soft);
}

.ls-season--photo {
  position: relative;
  overflow: hidden;
  padding: 0;
  min-height: 360px;
  display: flex;
  align-items: flex-end;
  background: var(--ls-black);
}

.ls-season--photo > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ls-season--photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--ls-scrim-dark-corner);
}

.ls-season--photo.ls-season--scrim-bottom::after {
  background: var(--ls-scrim-dark-bottom);
}

.ls-season--photo > div {
  position: relative;
  z-index: 1;
  padding: 32px;
}

.ls-season--photo > div h3,
.ls-season--photo > div p,
.ls-season--photo > div .ls-season__cta {
  color: var(--ls-white);
}

.ls-season--ochre {
  background: var(--ls-yellow-soft);
}

.ls-season h3,
.ls-season h4 {
  margin: 0 0 16px;
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--ls-black);
  max-width: 20ch;
}

.ls-season p {
  margin: 0 0 24px;
  font-size: 16px;
  line-height: 1.5;
  color: var(--ls-black);
  max-width: var(--ls-measure);
}

.ls-season__cta[href] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  padding: 0 24px;
  border-radius: var(--ls-radius-pill);
  background: var(--ls-red);
  color: var(--ls-white);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1;
  text-decoration: none;
  box-shadow: var(--ls-shadow-cta);
  transition: background 200ms var(--ls-ease);
}

.ls-season__cta[href]:hover {
  background: var(--ls-red-deep);
  color: var(--ls-white);
  text-decoration: none;
}

@media (max-width: 639px) {
  .ls-tip,
  .ls-quote,
  .ls-author-card,
  .ls-season {
    padding: 20px;
  }

  .ls-author-card,
  .ls-quote {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }

  .ls-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }

  .ls-table tr {
    display: block;
    border-top: 1px solid var(--ls-grey-200);
    padding: 16px 0;
  }

  .ls-table td {
    display: block;
    border: 0;
    padding: 0 0 8px;
  }

  .ls-table td:first-child {
    width: auto;
  }

  .ls-table td:last-child {
    padding-bottom: 0;
  }
}

/* ---- Číslované tipy ---- */
.ls-numbered {
  counter-reset: ls-num;
}

.ls-numbered > ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

.ls-numbered > ol > li {
  counter-increment: ls-num;
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 24px;
  margin: 0;
  padding: 0;
}

.ls-numbered > ol > li + li {
  margin-top: 48px;
}

.ls-numbered > ol > li::before {
  content: counter(ls-num, decimal-leading-zero);
  position: static;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--ls-accent);
  color: var(--ls-black);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
}

.ls-numbered h3,
.ls-numbered h4 {
  margin: 0 0 8px;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--ls-black);
}

.ls-numbered p {
  margin: 0 0 16px;
  font-size: 16px;
  line-height: 1.5;
  color: var(--ls-grey-600);
  max-width: var(--ls-measure);
}

.ls-numbered p:last-child {
  margin-bottom: 0;
}

@media (max-width: 639px) {
  .ls-numbered > ol > li {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
  }

  .ls-numbered > ol > li + li {
    margin-top: 32px;
  }
}

/* ---- Rozcestník ---- */
.ls-signpost {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.ls-signpost > a {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 24px;
  background: var(--ls-white);
  border: 1px solid var(--ls-grey-200);
  border-radius: var(--ls-radius-md);
  text-decoration: none;
  color: var(--ls-black);
  transition: background 200ms var(--ls-ease);
}

.ls-signpost > a:hover {
  background: var(--ls-off-white);
}

.ls-signpost > a:hover {
  text-decoration: none;
}

.ls-signpost > a:hover .ls-signpost__more {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.ls-signpost--photo > a {
  padding: 0;
  overflow: hidden;
}

.ls-signpost--photo > a > :not(img) {
  margin-left: 24px;
  margin-right: 24px;
}

.ls-signpost--photo > a > :nth-child(2) {
  margin-top: 20px;
}

.ls-signpost--photo > a > :last-child {
  margin-bottom: 24px;
}

.ls-signpost--photo img {
  margin: 0;
  border-radius: 0;
  aspect-ratio: 4 / 3;
  transition: transform 360ms var(--ls-ease);
}

.ls-signpost--photo > a:hover img {
  transform: scale(1.03);
}

.ls-signpost img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--ls-radius-md);
  display: block;
  margin-bottom: 8px;
  background: var(--ls-off-white);
}

.ls-signpost__badge {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--ls-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
  flex: none;
}

.ls-signpost__badge img {
  width: 24px;
  height: 24px;
  display: block;
  border-radius: var(--ls-radius-md);
  aspect-ratio: auto;
  background: none;
  margin: 0;
}

.ls-signpost__title {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.25;
}

.ls-signpost p {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--ls-grey-600);
}

.ls-signpost__more {
  margin-top: auto;
  padding-top: 8px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.ls-signpost__more::after {
  content: "";
  width: 16px;
  height: 16px;
  flex: none;
  background: currentColor;
  -webkit-mask: var(--ls-icon-arrow) center / contain no-repeat;
  mask: var(--ls-icon-arrow) center / contain no-repeat;
}

/* ---- Samostatné tlačítko v textu ---- */
.ls-btn[href] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  margin: 8px 0;
  padding: 0 24px;
  border-radius: var(--ls-radius-pill);
  background: var(--ls-black);
  color: var(--ls-white);
  font-family: var(--ls-font);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1;
  text-decoration: none;
  box-shadow: var(--ls-shadow-cta);
  transition: background 200ms var(--ls-ease);
}

.ls-btn--primary[href] {
  background: var(--ls-red);
}

.ls-btn[href]:hover {
  background: #333;
  color: var(--ls-white);
  text-decoration: none;
}

.ls-btn--primary[href]:hover {
  background: var(--ls-red-deep);
}

/* ---- CTA — most do katalogu ---- */
.ls-cta {
  background: var(--ls-black);
  border-radius: var(--ls-radius-md);
  padding: 40px;
  margin: 48px 0;
  font-family: var(--ls-font);
  font-weight: 400;
}

.ls-cta.ls-cta h3 {
  margin: 0 0 12px;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--ls-white);
  max-width: 22ch;
}

.ls-cta p {
  margin: 0 0 24px;
  font-size: 16px;
  line-height: 1.5;
  color: var(--ls-grey-400);
  max-width: var(--ls-measure);
}

.ls-cta__button[href] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  padding: 0 24px;
  border-radius: var(--ls-radius-pill);
  background: var(--ls-red);
  color: var(--ls-white);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1;
  text-decoration: none;
  box-shadow: var(--ls-shadow-cta);
  transition: background 200ms var(--ls-ease);
}

.ls-cta__button[href]:hover {
  background: var(--ls-red-deep);
  color: var(--ls-white);
  text-decoration: none;
}

@media (max-width: 639px) {
  .ls-cta {
    padding: 24px 20px;
  }

  .ls-cta.ls-cta h3 {
    font-size: 24px;
  }

  .ls-cta__button {
    display: flex;
    width: 100%;
  }
}

/* ---- Obsah článku (styly k blog-toc.js) ---- */
:root {
  --ls-toc-w: 300px;
  --ls-toc-gap: 40px;
  --ls-toc-top: 24px;
  --ls-toc-sticky: 24px;
  --ls-toc-wide: 1180px;
  --ls-toc-fab-top: 120px;

  --ls-toc-z: 2147483000;
}

.ls-toc-anchor {
  display: none;
}

html[data-ls-mode="mobile"] .ls-toc-anchor {
  display: block;
  margin: 32px 0;
}

html[data-ls-mode="mobile"] .ls-toc-anchor .ls-toc {
  max-height: none;
  overflow: visible;
}

@media (min-width: 1024px) {
  .news-item-detail.ls-has-toc {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, var(--ls-toc-w));
    column-gap: var(--ls-toc-gap);
    align-items: start;
  }

  .ls-toc-aside {
    position: sticky;
    top: var(--ls-toc-sticky);
    align-self: start;
  }
}


.ls-toc-main {
  min-width: 0;
}

.news-item-detail .text h2[id],
.news-item-detail .text h3[id] {
  scroll-margin-top: var(--ls-toc-top);
}

.ls-toc {
  background: var(--ls-accent);
  border-radius: var(--ls-radius-md);
  padding: 24px;
  font-family: var(--ls-font);
  font-weight: 400;
  font-size: 14px;
  line-height: 1.35;
  color: var(--ls-black);
  max-height: calc(100vh - var(--ls-toc-sticky) - 24px);
  overflow: auto;
  overscroll-behavior: contain;
}

.ls-toc__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 16px;
}

.ls-toc__title {
  margin: 0;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.01em;
  line-height: 1.25;
  flex: 1;
}

.ls-toc__close {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 4px;
  line-height: 1;
  color: var(--ls-black);
  border-radius: var(--ls-radius-sm);
  flex: none;
}

.ls-toc__close:hover {
  color: var(--ls-black);
  background: rgba(0, 0, 0, 0.06);
}

.ls-toc__close svg {
  stroke: var(--ls-black);
}

html[data-ls-mode="mobile"] .ls-toc-sheet .ls-toc__close {
  display: inline-flex;
}

.ls-toc ol {
  list-style: none;
  margin: 0;
  padding: 0;
}

.ls-toc li {
  margin: 0;
}

.ls-toc li + li {
  margin-top: 2px;
}

.ls-toc a {
  display: block;
  text-decoration: none;
  color: var(--ls-black);
  padding: 4px 10px;
  border-radius: var(--ls-radius-sm);
  transition: background 150ms var(--ls-ease);
}

.ls-toc a:hover {
  background: rgba(255, 255, 255, 0.6);
}

.ls-toc ol ol {
  padding-left: 20px;
  margin: 2px 0 6px;
}

@supports selector(:has(*)) {
  .ls-toc ol ol {
    display: none;
  }

  .ls-toc > .ls-toc__nav > ol > li:has(.is-active) > ol {
    display: block;
  }

  .ls-toc__nav:not(:has(.is-active)) > ol > li:first-child > ol {
    display: block;
  }
}

.ls-toc ol ol > li > a {
  color: var(--ls-black);
}

.ls-toc a.is-active,
.ls-toc ol ol > li > a.is-active {
  color: var(--ls-black);
}

.ls-toc a.is-active {
  background: var(--ls-white);
  font-weight: 700;
}

.ls-toc-fab {
  position: fixed;
  right: 16px;
  top: var(--ls-toc-fab-top);
  z-index: var(--ls-toc-z);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 0;
  background: var(--ls-black);
  color: var(--ls-white);
  cursor: pointer;
  box-shadow: var(--ls-shadow-card);
  display: none;
  align-items: center;
  justify-content: center;
}

.ls-toc-fab svg {
  width: 24px;
  height: 24px;
}

.ls-toc-backdrop {
  position: fixed;
  inset: 0;
  z-index: var(--ls-toc-z);
  background: rgba(0, 0, 0, 0.45);
  opacity: 0;
  visibility: hidden;
  transition: opacity 200ms var(--ls-ease);
}

.ls-toc-sheet {
  position: fixed;
  top: var(--ls-toc-fab-top);
  right: 0;
  z-index: calc(var(--ls-toc-z) + 1);
  width: min(88vw, 340px);
  max-height: calc(100vh - var(--ls-toc-fab-top) - 16px);
  overflow: auto;
  background: var(--ls-white);
  border-radius: var(--ls-radius-md) 0 0 var(--ls-radius-md);
  padding: 16px 24px 32px;
  transform: translateX(100%);
  transition: transform 250ms var(--ls-ease);
  box-shadow: var(--ls-shadow-card);
}

.ls-toc-sheet .ls-toc {
  background: none;
  border-radius: var(--ls-radius-md);
  padding: 8px 0 0;
  max-height: none;
  font-size: 16px;
}

.ls-toc-sheet .ls-toc__title {
  font-size: 24px;
}

.ls-toc-sheet .ls-toc a {
  padding-top: 8px;
  padding-bottom: 8px;
}

body.ls-toc-open .ls-toc-backdrop {
  opacity: 1;
  visibility: visible;
}

body.ls-toc-open .ls-toc-sheet {
  transform: translateX(0);
}

body.ls-toc-open [id*="heureka" i],
body.ls-toc-open [class*="heureka" i],
body.ls-toc-open iframe[src*="heureka" i],
body.ls-toc-open [id*="overeno" i],
body.ls-toc-open [class*="overeno" i] {
  visibility: hidden;
}

body.ls-toc-open {
  overflow: hidden;
}

html[data-ls-mode="mobile"] .ls-toc-fab.is-visible {
  display: flex;
}

body.ls-toc-open .ls-toc-fab {
  display: none;
}

.ls-toc-top {
  position: fixed;
  left: 16px;
  bottom: 16px;
  z-index: calc(var(--ls-toc-z) - 1);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 0;
  background: rgba(0, 0, 0, 0.62);
  color: var(--ls-white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 200ms var(--ls-ease), visibility 200ms var(--ls-ease);
}

.ls-toc-top svg {
  width: 22px;
  height: 22px;
}

.ls-toc-top.is-visible {
  opacity: 1;
  visibility: visible;
}

.ls-toc-top:hover {
  background: rgba(0, 0, 0, 0.8);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto !important;
  }

  .ls-toc-sheet,
  .ls-toc-backdrop,
  .ls-faq summary::after,
  .ls-season__cta {
    transition: none;
  }
}

/* ---- Fokus pro klávesnici ---- */
.ls-tip__link:focus-visible,
.ls-author-card__link:focus-visible,
.ls-signpost > a:focus-visible,
.ls-season__cta:focus-visible,
.ls-cta__button:focus-visible,
.ls-btn:focus-visible,
.ls-faq summary:focus-visible,
.ls-toc a:focus-visible,
.ls-summary a:focus-visible,
.ls-prose a:focus-visible,
.pageArticleDetail a:focus-visible,
.category-perex a:focus-visible,
.news-item-detail a:focus-visible {
  outline: 2px solid var(--ls-black);
  outline-offset: 3px;
  border-radius: var(--ls-radius-sm);
}

.ls-cta__button:focus-visible,
.ls-season--photo .ls-season__cta:focus-visible {
  outline-color: var(--ls-white);
}