.article-page {
  width: 100%;
  max-width: 718px;
  margin: 0 auto;
}

.article-breadcrumbs {
  margin: 12px 0 16px;
}

.article-breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.article-breadcrumbs li {
  font-size: 12px;
  font-weight: 700;
  line-height: 1.5;
  color: #0e1b4266;
}

.article-breadcrumbs li + li::before {
  content: "/";
  margin: 0 8px;
}

.article-breadcrumbs a:hover {
  text-decoration: underline;
}

.block-title {
  background-color: #0e1b42;
  color: #ffffff;
}

.article-content img {
  max-width: 718px;
  height: auto;
  display: block;
  margin: 16px 0;
}

.article-content h1 {
  font-size: 36px;
  margin: 24px 0;
}

.article-content h2 {
  font-size: 32px;
  margin: 24px 0;
}

.article-content p {
  font-size: 14px;
  line-height: 1.75;
}

.article-content .intro {
  font-size: 24px;
}

.article-content .body iframe {
  display: block;
  width: 100% !important;
  max-width: 100% !important;
  border: 0;
}

.article-content .body blockquote.instagram-media,
.article-content .body blockquote.twitter-tweet,
.article-content .body .fb-post,
.article-content .body .fb-video {
  max-width: 100% !important;
  min-width: 0 !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

.article-content .date {
  display: flex;
  align-items: center;
  font-size: 24px;
  color: #0e1b4266;
  margin: 24px 0;
}

.article-content .date::after {
  content: "";
  flex: 1;
  height: 1px;
  background: #0e1b4266;
  margin-left: 16px;
}

.article-tags {
  display: flex;
  justify-content: flex-end;
  margin: 24px 0;
}

.article-tags .tag-chips {
  flex-wrap: nowrap;
  white-space: nowrap;
  overflow-x: auto;
}

.tag-chips li {
  flex: 0 0 auto;
}

.tag-chips a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 96px;
  height: 25px;
  color: #ffffff;
  font-size: 10px;
  font-weight: 800;
  line-height: 1;
  overflow: hidden;
}

.tag-chips li:nth-child(3n + 1) a {
  background: #00abf5;
}

.tag-chips li:nth-child(3n + 2) a {
  background: #f4a41c;
}

.tag-chips li:nth-child(3n) a {
  background: #ff461c;
}

.article-share {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin: 64px 0;
}

.article-share .icon {
  width: 32px;
  height: 32px;
  --fill-0: #0e1b4266;
}

.article-share .icon .icon-cutout {
  fill: #ffffff;
}

.related-articles {
  margin-top: 32px;
  margin-bottom: 32px;
}

.related-articles h2 {
  margin: 0 0 24px;
  text-align: center;
  font-size: 24px;
  font-weight: 600;
  color: #0e1b4266;
}

.related-articles-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.related-articles-list > hr {
  width: 100%;
  margin: 12px 0;
  margin-inline: 0;
  border: 0;
  border-top: 1px solid #0e1b4266;
}

.related-article-item {
  display: grid;
  grid-template-columns: 194px 1fr;
  gap: 24px;
  align-items: start;
}

.related-article-image {
  display: block;
  width: 194px;
}

.related-article-image img {
  width: 194px;
  max-width: 100%;
  height: 133px;
  display: block;
  object-fit: cover;
  border-radius: 5px;
}

.related-article-date {
  margin: 10px 0 0;
  text-align: left;
  font-size: 16px;
  color: #0e1b4266;
}

.related-article-title {
  margin: 0 0 12px;
  font-size: 28px;
  line-height: 1.3;
}

.tag-chips {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.related-article-tags {
  flex-wrap: wrap;
  gap: 8px 12px;
}

.back-to-top {
  position: fixed;
  right: var(--back-to-top-right, 24px);
  bottom: 24px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #0e1b42;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.back-to-top__icon {
  position: relative;
  display: block;
  width: 48px;
  height: 48px;
  background: #ffffff;
  border: 1px solid #d9deea;
  box-shadow: 0 3px 8px rgba(14, 27, 66, 0.18);
}

.back-to-top__icon::before,
.back-to-top__icon::after {
  content: "";
  position: absolute;
  top: 24px;
  width: 14px;
  height: 2px;
  background: #0e1b42;
}

.back-to-top__icon::before {
  left: 12px;
  transform: rotate(-45deg);
}

.back-to-top__icon::after {
  right: 12px;
  transform: rotate(45deg);
}

.back-to-top__label {
  font-size: 24px;
  line-height: 1;
}

@media (min-width: 768px) and (max-width: 1023px) {
  .article-page {
    max-width: 560px;
  }

  .article-content img {
    max-width: 560px;
  }

  .article-content h2 {
    font-size: 24px;
  }
}

@media (min-width: 575px) and (max-width: 767px) {
  .article-page {
    max-width: 426px;
  }

  .article-content img {
    max-width: 426px;
  }

  .related-article-title {
    font-size: 20px;
  }

  .article-content h2 {
    font-size: 24px;
  }

  .back-to-top {
    bottom: 20px;
  }
}

@media (max-width: 574px) {
  .article-page {
    max-width: 300px;
  }

  .article-content img {
    max-width: 300px;
  }

  .article-content h1 {
    font-size: 24px;
  }

  .article-content h2 {
    font-size: 20px;
  }

  .article-content .intro {
    font-size: 18px;
  }

  .article-content .date {
    font-size: 16px;
  }

  .article-tags {
    justify-content: center;
  }

  .related-article-item {
    grid-template-columns: 139px 1fr;
    gap: 12px;
  }

  .related-article-image {
    width: 139px;
  }

  .related-article-image img {
    width: 139px;
    height: 110px;
  }

  .related-article-date {
    font-size: 12px;
  }

  .related-article-title {
    font-size: 16px;
  }

  .tag-chips a {
    width: 70px;
  }

  .related-article-tags {
    flex-wrap: wrap;
    gap: 6px 8px;
  }

  .back-to-top {
    bottom: 16px;
  }

  .back-to-top__label {
    font-size: 18px;
  }
}

@media (max-width: 767px) {
  .article-breadcrumbs {
    margin: 8px 0 12px;
  }
}
