.wll-single-post {
  padding: 50px 0;
  background: #fff;
}

.wll-single-post__article {
  width: 92%;
  max-width: 1180px;
  margin: 0 auto;
}

.wll-single-post__header {
  margin: 0 0 16px;
  text-align: left;
}

.wll-single-post__title.t-heading {
  margin: 0 0 10px;
  padding: 0 0 10px;
  line-height: 1;
  text-align: left;
}

.wll-single-post__date {
  display: block;
  color: #666;
  font-size: 14px;
  font-weight: 500;
}

.wll-single-post__media {
  margin: 0 0 24px;
}

.wll-single-post__image,
.wll-single-post__content img {
  display: block;
  max-width: 100%;
  height: auto;
}

.wll-single-post__image {
  width: 100%;
  aspect-ratio: 9/6;
  object-fit: cover;
  border-radius: 6px;
  object-position: center center;
}

.wll-single-post__layout {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr);
  gap: 48px 32px;
  align-items: start;
}

.wll-single-post__main {
  min-width: 0;
}

.wll-single-post__content {
  min-width: 0;
  color: #202020;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.6;
}

.wll-single-post__content .tldr-zielony {
  background-color: #f0f4f8;
  border-left: 4px solid #4a8318;
  padding: 15px;
  margin: 10px 0 20px;
  border-radius: 4px;
  display: block;
  background-color: #f0f7ec;
  border-left-color: #4a8318;
}

.wll-single-post__content > :first-child {
  margin-top: 0;
}

.wll-single-post__content > :last-child {
  margin-bottom: 0;
}

.wll-single-post__content p,
.wll-single-post__content ul,
.wll-single-post__content ol,
.wll-single-post__content figure,
.wll-single-post__content blockquote {
  font-weight: 300;
  margin-top: 0;
}

.wll-single-post__content ol {
  list-style: decimal;
  padding-left: 20px;
  margin-bottom: 16px;
}

.wll-single-post__content ul {
  list-style: disc outside url("data:image/svg+xml,%3Csvg width='8' height='8' viewBox='0 0 8 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='4' cy='4' r='4' fill='%23C77966'/%3E%3C/svg%3E");
  padding: 0 0 0 1.4em;
  margin: 10px 0 15px;
  line-height: 26px;
}

.wll-single-post__content ul > li {
  padding: 0 0 9px 5px;
}

.wll-single-post__content h2,
.wll-single-post__content h3,
.wll-single-post__content h4 {
  margin: 20px 0 10px;
  padding-bottom: 0;
  line-height: 1.25;
}

.wll-single-post__content p:has(+ :is(h2, h3, h4)) {
  padding-bottom: 0;
}

.wll-single-post__content p:has(+ :is(ul, ol)) {
  padding-bottom: 8px;
}

.wll-single-post__content a {
  color: #648c72;
  text-decoration: none;
}

.wll-single-post__content a:hover,
.wll-single-post__content a:focus-visible {
  text-decoration: none;
}

.wll-latest-posts {
  position: sticky;
  top: 56px;
}

.wll-latest-posts__title {
  margin: 0 0 15px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 24px;
  line-height: 1;
}

.wll-latest-posts__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.wll-latest-posts__list li:not(:last-child) {
  border-bottom: 1px solid #e0e0e0;
}

.wll-latest-posts__item {
  padding: 15px 0;
}

.wll-latest-posts__link {
  display: flex;
  gap: 16px;
  font-family: "Playfair Display", Georgia, serif;
  align-items: center;
  color: #202020;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  transition: color 0.3s ease;
}

.wll-latest-posts__thumbnail {
  width: 100px;
  height: 64px;
  flex-shrink: 0;
  object-fit: cover;
  border-radius: 4px;
}

.wll-latest-posts__link:hover,
.wll-latest-posts__link:focus-visible {
  color: #486c28;
  text-decoration: none;
}

@media (max-width: 980px) {
  .wll-single-post {
    padding: 40px 0 60px;
  }

  .wll-single-post__layout {
    grid-template-columns: 1fr;
    gap: 52px;
  }

  .wll-latest-posts {
    position: static;
  }
}

@media (max-width: 600px) {
  .wll-single-post {
    padding: 36px 0 50px;
  }

  .wll-single-post__content {
    font-size: 16px;
  }

  .wll-single-post__article {
    width: 90%;
  }
}
