.single-section__wrapper {
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.single-section .page__breadcrumbs .page__breadcrumbs-categori,
.about .page__breadcrumbs .page__breadcrumbs-categori,
.news-page .news-page__breadcrumbs .news-page__breadcrumbs-categori {
  display: none;
}
.page__breadcrumbs {
  color: var(--black, #171717);
  border-top: 1px solid var(--red, #670c09);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  width: 100%;
  margin-bottom: 20px;
}
.page__breadcrumbs-categori {
  padding-left: 20px;
  position: relative;
}
.page__breadcrumbs-categori::before {
  content: "/";
  position: absolute;
  left: 6px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--red, #670c09);
  font-size: 26px;
  font-weight: 700;
  line-height: 1;
}
.page__breadcrumbs-categori:last-child {
  color: var(--red, #670c09);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 240px;
  display: block;
  opacity: 0.8;
}
.single-hero__list-item {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.single-hero__list-item-img {
  width: 100%;
  min-height: 366px;
  border-radius: 4px;
  overflow: hidden;
  object-fit: cover;
  object-position: center;
  position: relative;
}
.adv-badge {
  position: absolute;
  bottom: 0;
  left: 0;
  display: none;
  gap: 8px;
  padding: 10px 12px 6.326px 12px;
  justify-content: center;
  align-items: center;
  border-radius: 4px;
  background: var(--black_1, #3a3a39);
  color: var(--white, #fff);
  font-size: 16px;
  line-height: 1.5;
  text-transform: uppercase;
}
.single-hero__list-item-title {
  color: var(--black, #171717);
  font-family: "Accuratist", serif;
  font-size: 22px;
  font-weight: 400;
  line-height: 24px; /* 109.091% */
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  max-height: 72px;
}
.single-hero__list-item-text {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 4px 16px;
  color: var(--black, #171717);
  font-size: 12px;
  font-weight: 600;
  line-height: 24px; /* 200% */
}
.single-hero__list-item-text > div {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}
.single-hero__list-item-list {
  display: flex;
  width: fit-content;
  align-items: center;
  justify-content: flex-start;
  padding: 0;
  gap: 16px;
}
.single-hero__list-item-list .burger-menu__social-link {
  display: block;
}
.single-hero__list-item-time {
  display: flex;
  gap: 4px;
  padding-left: 12px;
  position: relative;
}
.single-hero__list-item-time::before {
  content: "/";
  position: absolute;
  left: 2px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--red, #670c09);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
}
.single-hero__list-item-author {
  display: flex;
  align-items: center;
  gap: 4px;
  padding-left: 12px;
  position: relative;
}
.single-hero__list-item-author a {
  color: var(--red, #670c09);
  text-decoration-line: underline;
}
.single-hero__list-item-author::before {
  content: "/";
  position: absolute;
  left: 2px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--red, #670c09);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
}

@media screen and (min-width: 768px) {
  .single-section__wrapper {
    gap: 48px;
  }
  .page__breadcrumbs-categori-title {
    max-width: 440px;
  }
  .single-hero__list-item {
    gap: 20px;
  }
  .single-hero__list-item-img {
    min-height: 420px;
  }
  .single-hero__list-item-title {
    font-size: 36px;
    line-height: 40px; /* 111.111% */
    max-height: 120px;
  }
  .single-hero__list-item-text {
    font-size: 14px;
    font-weight: 600;
    line-height: 24px; /* 171.429% */
    gap: 60px;
    justify-content: flex-start;
  }
  .single-hero__list-item-time {
    gap: 8px;
    padding-left: 13px;
  }
  .single-hero__list-item-time::before {
    left: 0;
  }
  .single-hero__list-item-author {
    gap: 8px;
    padding-left: 20px;
  }
  .single-hero__list-item-author::before {
    left: 6px;
  }
}

@media screen and (min-width: 1280px) {
  .single-section .page__breadcrumbs .page__breadcrumbs-categori,
  .about .page__breadcrumbs .page__breadcrumbs-categori,
  .news-page .news-page__breadcrumbs .news-page__breadcrumbs-categori {
    display: flex;
  }
  .page__breadcrumbs {
    font-family: "Accuratist", sans-serif;
    font-size: 24px;
    line-height: normal;
    text-transform: uppercase;
    padding-top: 40px;
    margin-bottom: 40px;
  }
  .single-section__wrapper {
    display: flex;
    flex-direction: row;
    gap: 32px;
  }
  .page__breadcrumbs-categori {
    padding-left: 30px;
  }
  .page__breadcrumbs-categori::before {
    left: 12px;
  }
  .page__breadcrumbs-categori-title {
    max-width: 1080px;
  }
  .adv-badge {
    display: inline-flex;
  }
  .single-hero__list-item-img {
    min-height: 517px;
  }
  .single-hero__list-item-title {
    font-size: 50px;
    line-height: 56px; /* 112% */
    max-height: 168px;
  }
}

.news-article {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.content-wrapper,
.content-wrapper p,
.content-wrapper ul,
.content-wrapper ol,
.content-wrapper span,
.content-wrapper blockquote {
  color: var(--black, #171717);
  font-size: 16px;
  line-height: 22px; /* 137.5% */
}
.content-wrapper blockquote > p {
  margin-bottom: 4px;
}
.content-wrapper h3 {
  font-size: 18px;
}
.content-wrapper h4,
.content-wrapper h4 strong {
  font-size: 17px;
  font-weight: 400;
}
.content-wrapper figcaption {
  font-size: 12px;
  font-style: normal;
  font-weight: 200;
  line-height: normal;
  text-decoration: none;
  color: var(--black, #171717);
  text-align: left;
  margin-top: -16px;
}
.content-wrapper h1,
.content-wrapper h2,
.content-wrapper h3,
.content-wrapper h4,
.content-wrapper h5,
.content-wrapper h6 {
  color: var(--red, #670c09);
  font-weight: 700;
}
.content-wrapper a {
  color: var(--red, #670c09);
  font-weight: 700;
  text-decoration-line: underline;
}
.content-wrapper span:empty {
  display: block;
  height: 22px;
}
.content-wrapper img {
  width: 100%;
  height: fit-content;
  border-radius: 4px;
  overflow: hidden;
  margin: 0 auto;
  margin-bottom: 8px;
}
p:has(a > img) {
  position: relative;
  cursor: auto;
}
p:has(a > img)::after {
  position: absolute;
  content: "";
  bottom: 12px;
  right: 0;
  width: 56px;
  height: 56px;
  border-radius: 4px;
  background: rgba(256, 256, 256, 0.5);
  background-image: url(../images/zoom-in.svg);
  background-repeat: no-repeat;
  background-position: center center;
  pointer-events: none;
  cursor: pointer;
}
.content-wrapper video {
  width: 100%;
  border-radius: 4px;
  overflow: hidden;
  height: 193px;
  margin-bottom: 24px;
}

@media screen and (min-width: 768px) {
  .content-wrapper {
    gap: 16px;
  }
  .content-wrapper,
  .content-wrapper p,
  .content-wrapper ul,
  .content-wrapper ol,
  .content-wrapper span,
  .content-wrapper blockquote {
    font-size: 17px;
    line-height: 24px; /* 141.176% */
  }
  .content-wrapper blockquote > p {
    margin-bottom: 8px;
  }
  .content-wrapper h3 {
    font-size: 20px;
    line-height: 23px; /* 115% */
  }
  .content-wrapper h4,
  .content-wrapper h4 strong {
    font-size: 17px;
    line-height: 23px; /* 135.294% */
  }
}

@media screen and (min-width: 1280px) {
  .news-article {
    width: calc((100% - 355px) - 32px);
    max-width: 1120px;
    gap: 40px;
    margin-right: auto;
  }
  .content-wrapper {
    gap: 20px;
  }
  .content-wrapper,
  .content-wrapper p,
  .content-wrapper ul,
  .content-wrapper ol,
  .content-wrapper span,
  .content-wrapper blockquote {
    font-size: 18px;
    line-height: 32px; /* 177.778% */
  }
  .content-wrapper blockquote > p {
    margin-bottom: 16px;
  }
  .content-wrapper h3 {
    font-size: 22px;
    line-height: 24px; /* 109.091% */
  }
  .content-wrapper h4,
  .content-wrapper h4 strong {
    font-size: 20px;
    line-height: 22px; /* 110% */
  }
  .content-wrapper span:empty {
    height: 32px;
  }
  .content-wrapper video {
    height: 630px;
    margin-bottom: 64px;
  }
  p:has(a > img)::after {
    bottom: 16px;
  }
}

/* перший цитати тип з кавичками */
.article-section .quotation {
  padding: 64px 16px 24px 16px;
  border-radius: 4px;
  background: var(--black_1, #3a3a39);
  color: var(--white, #f7f4ef);
  font-size: 16px;
  font-weight: 600;
  line-height: 22px; /* 137.5% */
  position: relative;
}
.article-section .quotation::before {
  position: absolute;
  content: "";
  top: 24px;
  left: 16px;
  width: 32.5px;
  height: 25px;
  background-image: url(../images/quote-red.svg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
}
.article-section blockquote {
  padding-left: 20px;
  border-left: 6px solid var(--red, #670c09);
}
.article-section .reference {
  padding: 24px 19px 24px 20px;
  border: 1px solid var(--red_1, #7c2d2a);
  border-radius: 8px;
  margin-top: 13px;
  position: relative;
}
.article-section .reference:before {
  content: "Довідка";
  position: absolute;
  left: 20px;
  top: -15px;
  background: rgb(255, 255, 255);
  padding: 0px 10px;

  color: var(--red, #670c09);
  font-family: "Accuratist", sans-serif;
  font-size: 20px;
  font-weight: 400;
  line-height: 26px; /* 130% */
  text-transform: uppercase;
}
.article-section .s_paragraph {
  text-align: center;
}
.article-section .s_testimonial {
  text-align: center;
}
.article-section .s_testimonial2 {
  text-align: center;
}
.article-section .s_indentation {
  height: 60px;
}
.article-section .circle_img {
  width: 250px;
  height: 250px;
  border-radius: 50px;
  margin: 0 auto;
}
.article-section .circle_img img {
  width: 250px;
  height: 250px;
  border-radius: 150px;
  margin: 0 auto;
  overflow: hidden;
}
@media screen and (min-width: 768px) {
  .article-section .quotation {
    padding: 65px 20px 24px 20px;
    font-size: 17px;
    line-height: 24px; /* 141.176% */
  }
  .article-section blockquote {
    padding-left: 24px;
    border-left: 6px solid var(--red, #670c09);
  }
  .article-section .reference {
    padding: 32px 24px;
  }
  .article-section .reference:before {
    left: 24px;
    font-size: 22px;
    line-height: 26px; /* 118.182% */
  }
}

@media screen and (min-width: 1280px) {
  .article-section .container {
    display: flex;
    flex-direction: row;
    gap: 32px;
  }
  .article-section .quotation {
    padding: 80px 86px 40px 144px;
    min-height: 244px;
    background-image: url(../images/vezha-bg-blue.webp);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center center;
    overflow: hidden;

    font-size: 24px;
    line-height: 28px; /* 116.667% */
  }
  .article-section .quotation::before {
    top: 40px;
    left: 40px;
    width: 65px;
    height: 50px;
  }
  .article-section blockquote {
    padding-left: 32px;
    border-left: 6px solid var(--red, #670c09);
  }
  .article-section .reference {
    padding: 40px 32px;
  }
  .article-section .reference:before {
    left: 32px;
    font-size: 24px;
    line-height: 26px; /* 108.333% */
  }
}

/* bottom-tag */
.bottom-tag__read-more {
  display: flex;
  padding: 24px 16px;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  align-self: stretch;
  display: flex;
  flex-direction: column;
  margin-bottom: 20px;
  border-radius: 4px;
  background: var(--red, #670c09);
}
.bottom-tag__read-more-title {
  color: var(--white, #f7f4ef);
  font-size: 18px;
  font-weight: 600;
  line-height: 24px; /* 133.333% */
}
.bottom-tag__read-more-post {
  color: var(--white, #f7f4ef);
  font-size: 16px;
  line-height: 20px; /* 125% */
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  max-height: 40px;
}
.bottom-tag__tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 16px;
  border-top: 0.5px solid var(--red, #670c09);
}
.bottom__tag-item {
  display: inline-flex;
  padding: 9px;
  align-items: flex-start;
  border-radius: 4px;
  border: 0.5px solid var(--red, #670c09);
  background: #fff;
  color: var(--red, #670c09);
  text-align: center;
  font-size: 10px;
  line-height: 16px; /* 160% */
  text-transform: uppercase;
  transition: var(--transition-dur-and-func);
}
.bottom__tag-item.active {
  color: var(--white, #fff);
  background: var(--red, #670c09);
}
.back-to-top {
  display: none;
}
.bottom-tag__report-error {
  display: none;
}

@media screen and (min-width: 768px) {
  .bottom-tag__read-more {
    padding: 20px 32px;
    gap: 8px;
    margin-bottom: 20px;
  }
  .bottom-tag__read-more-title {
    font-size: 20px;
    line-height: normal;
  }
  .bottom-tag__read-more-post {
    font-size: 17px;
    line-height: 24px; /* 141.176% */
    max-height: 48px;
  }
  .bottom-tag__tag-list {
    padding-top: 20px;
  }
}

@media screen and (min-width: 1280px) {
  .bottom-tag__read-more {
    padding: 39px 32px;
    flex-direction: row;
    gap: 32px;
    margin-bottom: 40px;
  }
  .bottom-tag__read-more-title {
    font-size: 24px;
    line-height: 28px; /* 116.667% */
  }
  .bottom-tag__read-more-post {
    font-size: 18px;
    line-height: 32px; /* 177.778% */
    -webkit-line-clamp: 1;
    max-height: 64px;
  }
  .bottom-tag__tag-list {
    padding-top: 20px;
    padding-bottom: 20px;
  }
  .back-to-top {
    display: flex;
    width: 120px;
    height: 120px;
    position: fixed;
    right: 200px;
    bottom: 240px;
    padding: 48px 36px;
    border-radius: 200px;
    background: var(--red, #670c09);
    color: var(--white, #f7f4ef);
    text-align: center;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.71;
    text-transform: uppercase;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
  }
  .back-to-top.visible {
    opacity: 1;
    visibility: visible;
  }
  .bottom-tag__report-error {
    display: block;
    color: var(--grey, #c3c3c3);
    font-size: 14px;
    line-height: 18px; /* 128.571% */
  }
}

.sl-wrapper.simple-lightbox .sl-close,
.sl-wrapper.simple-lightbox .sl-prev,
.sl-wrapper.simple-lightbox .sl-next,
.sl-wrapper.simple-lightbox .sl-counter {
  color: var(--white, #fff);
}
.sl-wrapper.simple-lightbox .sl-counter {
  top: unset;
  left: unset;
  bottom: 30px;
  right: 30px;
}
.sl-wrapper.simple-lightbox .sl-counter .sl-current {
  color: var(--red, #670c09);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.33;
}
.sl-wrapper.simple-lightbox .sl-counter .sl-total {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.71;
}
.sl-overlay {
  opacity: 0.9 !important;
  background: #000 !important;
}
.single-news__slider {
  padding-bottom: 6px;
  border-bottom: 1px solid var(--red, #670c09);
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
}
.single-news__slider img {
  object-fit: cover;
  object-position: center;
  aspect-ratio: 334/227;
}
.swiper-button-prev:after,
.swiper-rtl .swiper-button-next-single:after,
.swiper-button-next:after,
.swiper-rtl .swiper-button-prev-single:after {
  display: none;
}
.single-news__swiper-btn.swiper-button-next-single,
.single-news__swiper-btn.swiper-button-prev-single {
  color: #fff;
  cursor: pointer;
  position: absolute;
  height: 32px;
  top: 50%;
  z-index: 10;
  transform: translateY(-50%);
  user-select: none;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.71;
  width: fit-content;
  border-radius: 50%;
}
.single-news__btn-arrow {
  border-radius: 50%;
  border: 1px solid var(--red, #670c09);
  width: 32px;
  height: 32px;
  background-image: url(../images/red-arrow.svg);
  background-repeat: no-repeat;
  background-size: 16px 16px;
  background-position: center center;
  background-color: rgba(247, 244, 239, 0.5);
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.3);
}
.single-news__swiper-btn.swiper-button-next-single {
  right: 16px;
}
.single-news__swiper-btn.swiper-button-prev-single {
  left: 16px;
}
.single-news__swiper-btn.swiper-button-prev-single .single-news__btn-arrow {
  transform: rotate(-180deg);
}
.swiper-pagination-single.swiper-pagination-clickable.swiper-pagination-bullets {
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  bottom: 0;
  z-index: 2;
}
.swiper-horizontal
  > .swiper-pagination-bullets.swiper-pagination-single
  .swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  border: 1px solid var(--red, #670c09);
  background: transparent;
  opacity: 0.75;
}
.swiper-horizontal
  > .swiper-pagination-bullets.swiper-pagination-single
  .swiper-pagination-bullet.swiper-pagination-bullet-active {
  border: 1px solid var(--red, #670c09);
  background: var(--red, #670c09);
  opacity: 1;
}
@media screen and (min-width: 1280px) {
  .single-news__slider {
    padding-bottom: 12px;
    border-bottom: 1px solid var(--red, #670c09);
    flex-grow: 1;
    max-width: 1120px;
  }
  .swiper-horizontal
    > .swiper-pagination-bullets.swiper-pagination-single
    .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
  }
}
