/* Postershop – vzorový magazínový článek (obsah zůstává editovatelný v Shoptetu) */
body.id-682.type-post .news-item-detail {
  max-width: 980px;
  margin: 0 auto;
  color: #0f0f0f;
  font-family: brandon-grotesque, sans-serif;
}

body.id-682.type-post .news-item-detail > h1,
body.id-682.type-post .ps-article-hero__content h1 {
  max-width: 840px;
  margin: 0;
  color: #33058d;
  font-size: clamp(38px, 5vw, 58px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -.02em;
}

body.id-682.type-post .news-item-detail > time,
body.id-682.type-post .ps-article-hero__content time {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 11px;
  color: #756b88;
  font-size: 14px;
  font-weight: 500;
}

body.id-682.type-post .news-item-detail > time::before,
body.id-682.type-post .ps-article-hero__content time::before {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ff5e03;
  content: '';
}

body.id-682.type-post .ps-article-hero {
  position: relative;
  overflow: hidden;
  margin: 18px 0 42px;
  border-radius: 26px;
  background: #eee8fd;
  box-shadow: 0 16px 38px rgba(51, 5, 141, .12);
}

body.id-682.type-post .ps-article-hero::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 15, 15, 0) 32%, rgba(28, 7, 67, .22) 57%, rgb(0 0 0 / 90%) 100%);
  content: '';
  pointer-events: none;
}

body.id-682.type-post .ps-article-hero img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center 34%;
}

body.id-682.type-post .ps-article-hero__content {
  position: absolute;
  z-index: 1;
  right: 0;
  bottom: 0;
  left: 0;
  padding: clamp(26px, 5vw, 52px);
  color: #fff;
}

body.id-682.type-post .ps-article-hero__content h1 {
  max-width: 800px;
  color: #fff;
  font-size: clamp(34px, 4.4vw, 52px);
  text-shadow: 0 3px 18px rgba(15, 15, 15, .28);
}

body.id-682.type-post .ps-article-hero__content time {
  color: rgba(255, 255, 255, .88);
  text-shadow: 0 2px 10px rgba(15, 15, 15, .3);
}

body.id-682.type-post .ps-article-hero__content time::before {
  background: #ff5e03;
  box-shadow: 0 0 0 4px rgba(255, 94, 3, .2);
}

body.id-682.type-post .news-item-detail > .text {
  max-width: 900px;
}

body.id-682.type-post .news-item-detail > .text > p {
  margin: 0 0 22px;
  color: #312c38;
  font-size: 17px;
  line-height: 1.72;
}

body.id-682.type-post .news-item-detail > .text > p:first-child {
  margin-bottom: 42px;
  padding: 25px 28px;
  border: 1px solid #ded5f2;
  border-left: 5px solid #ff5e03;
  border-radius: 0 18px 18px 0;
  background: #eee8fd;
  color: #33058d;
  font-size: 20px;
  line-height: 1.55;
}

body.id-682.type-post .news-item-detail > .text h2 {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  margin: 48px 0 16px;
  color: #33058d;
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 700 !important;
  line-height: 1.18;
  letter-spacing: -.01em;
}

body.id-682.type-post .news-item-detail > .text h2 > span {
  font-weight: 700 !important;
}

body.id-682.type-post .news-item-detail > .text h2::before {
  width: 12px;
  height: 12px;
  flex: 0 0 12px;
  margin-top: .38em;
  border-radius: 50%;
  background: #ff5e03;
  box-shadow: 0 0 0 6px rgba(255, 94, 3, .1);
  content: '';
}

body.id-682.type-post .news-item-detail > .text a {
  color: #33058d;
  font-weight: 600;
  text-decoration-color: #937cf7;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

body.id-682.type-post .news-item-detail > .text a:hover,
body.id-682.type-post .news-item-detail > .text a:focus-visible {
  color: #ff5e03;
  text-decoration-color: currentColor;
}

body.id-682.type-post .news-item-detail > .text > p:has(img) {
  overflow: hidden;
  margin: 34px 0 48px;
  border-radius: 24px;
  background: #eee8fd;
  box-shadow: 0 14px 34px rgba(51, 5, 141, .1);
}

body.id-682.type-post .news-item-detail > .text > p:has(img) a {
  display: block;
}

body.id-682.type-post .news-item-detail > .text img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 24px;
  transition: transform 280ms ease;
}

body.id-682.type-post .news-item-detail > .text p:has(img) a:hover img {
  transform: scale(1.015);
}

body.id-682.type-post .news-item-detail > .text ul {
  margin: 24px 0 42px;
  padding: 24px 28px 24px 50px;
  border: 1px solid #ded5f2;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(51, 5, 141, .06);
}

body.id-682.type-post .news-item-detail > .text li {
  padding-left: 5px;
  color: #312c38;
  font-size: 16px;
  line-height: 1.62;
}

body.id-682.type-post .news-item-detail > .text li + li {
  margin-top: 14px;
}

body.id-682.type-post .news-item-detail > .text li::marker {
  color: #ff5e03;
  font-size: 1.15em;
}

body.id-682.type-post .news-item-detail > .text h2:last-of-type {
  margin: 54px 0 0;
  padding: 30px 32px 10px;
  border-radius: 22px 22px 0 0;
  background: #e6defc;
  color: #33078d;
}

body.id-682.type-post .news-item-detail > .text h2:last-of-type + p {
  margin: 0;
  padding: 4px 32px 32px;
  border-radius: 0 0 22px 22px;
  background: #e6defc;
  color: #33078d;
}

body.id-682.type-post .news-item-detail > .text h2:last-of-type + p a {
  color: #ff5e04;
  text-decoration-color: currentColor;
}

body.id-682.type-post .news-item-detail .next-prev {
  margin-top: 42px;
  text-align: left;
}

body.id-682.type-post .news-item-detail .next-prev .btn {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 13px 25px;
  border: 0;
  border-radius: 999px;
  background: #ff5e03;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  transition: background-color 180ms ease, transform 180ms ease;
}

body.id-682.type-post .news-item-detail .next-prev .btn:hover {
  background: #33058d;
  color: #fff;
  transform: translateY(-2px);
}

@media (max-width: 767px) {
  body.id-682.type-post .news-item-detail > h1 {
    margin-top: 8px;
    font-size: 36px;
  }

  body.id-682.type-post .news-item-detail > .text > p {
    font-size: 16px;
    line-height: 1.65;
  }

  body.id-682.type-post .news-item-detail > .text > p:first-child {
    padding: 20px;
    font-size: 18px;
  }

  body.id-682.type-post .ps-article-hero {
    margin: 0 -15px 32px;
    border-radius: 0;
  }

  body.id-682.type-post .ps-article-hero img {
    aspect-ratio: 4 / 3;
  }

  body.id-682.type-post .ps-article-hero__content {
    padding: 22px 20px;
  }

  body.id-682.type-post .ps-article-hero__content h1 {
    font-size: clamp(29px, 9vw, 39px);
    line-height: 1.08;
  }

  body.id-682.type-post .news-item-detail > .text h2 {
    margin-top: 38px;
    font-size: 27px;
  }

  body.id-682.type-post .news-item-detail > .text > p:has(img) {
    margin: 28px -15px 38px;
    border-radius: 0;
    background: none;
    box-shadow: none;
  }

  body.id-682.type-post .news-item-detail > .text img {
    border-radius: 0;
  }

  body.id-682.type-post .news-item-detail > .text ul {
    padding: 20px 18px 20px 38px;
  }

  body.id-682.type-post .news-item-detail > .text h2:last-of-type {
    padding: 24px 22px 8px;
  }

  body.id-682.type-post .news-item-detail > .text h2:last-of-type + p {
    padding: 4px 22px 26px;
  }
}
