.article-hero {
  margin: 0;
  position: relative;
}

.article-hero img {
  width: 100%;
  max-height: 380px;
  object-fit: cover;
  filter: brightness(45%);
}

.article-bread {
  max-width: 900px;
  margin: 0 auto;
  margin-top: 30px;
}

.article-content img {
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

.article-previous {
  max-width: 900px;
  margin: 100px auto;
}

.article-previous ul {
  padding-left: 20px;
}

.article-bread ol li span[itemprop="name"] {
  display: inline-block;
  max-width: 200px;
  /* ширина подбирается по дизайну */
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  vertical-align: bottom;
}

.article-content {
  max-width: 900px;
  margin: 40px auto 80px auto;
}

.article-content a {
  color: #3e3ceb;
}

.article-content a:hover {
  color: #1311b3;
}

.article-content table {
  border-collapse: collapse;
  margin: 8px 0;
  width: 100%;
  display: block;
  overflow-x: auto;
}

.article-content table td {
  border: 1px solid black;
  padding: 4px 8px;
  min-width: 120px;
}

.article-hero__title {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  font-size: 32px;
  font-weight: 700;
  color: white;
  text-align: center;
  width: 100%;
  max-width: 900px;
  padding: 0 20px;
}

.article-content h1 {
  font-size: 28px;
  text-align: left;
  margin-bottom: 20px;
}

.article-content h2 {
  font-size: 24px;
  text-align: left;
  margin-bottom: 10px;
  margin-top: 20px;
}

.article-content h3 {
  font-size: 20px;
  text-align: left;
  margin-bottom: 8px;
  margin-top: 12px;
}

.article-content h4 {
  font-size: 18px;
  text-align: left;
  margin-bottom: 8px;
  margin-top: 12px;
}

.article-content ol,
.article-content ul {
  margin: 10px 0;
  padding-left: 20px;
}

.article-content p {
  margin: 6px 0;
}

.special-link {
  text-decoration: underline;
}

.special-link:hover {
  color: blue;
}

.article-content-policy {
  max-width: 900px;
  margin: 80px auto;
}

.article-content-policy h2 {
  font-size: 24px;
  text-align: left;
  margin-bottom: 10px;
  margin-top: 20px;
}

.article-content-policy .policy__wrapper {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.article-content-policy h2 {
  margin-bottom: 25px;
}

.article-content-policy .policy__wrapper summary {
  font-size: 18px;
  cursor: pointer;
}

@media all and (max-width: 720px) {
  .article-hero__title {
    font-size: 22px !important;
  }

  .article-bread ol li span[itemprop="name"] {
    max-width: 140px;
    /* ширина подбирается по дизайну */
  }
}

/* FAQ Accordion Styles для Blog Articles - blogfaq */

.blogfaq {
  padding: 80px 0;
  background: #ffffff;
}

.blogfaq .container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 15px;
}

/* Стили для аккордеона */
.blogfaq__wrapper .blogfaq__details {
  background: #ffffff;
  border: 1px solid #e1e5e9;
  border-radius: 12px;
  margin-bottom: 20px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.blogfaq__wrapper .blogfaq__details:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
  transform: translateY(-2px);
}

.blogfaq__wrapper .blogfaq__details[open] {
  border-color: #045c68;
  box-shadow: 0 4px 20px rgba(0, 123, 255, 0.15);
}

/* Стили для заголовка аккордеона (summary) */
.blogfaq__wrapper .blogfaq__details .blogfaq__summary {
  background: linear-gradient(to right, #045c68, #22baac);
  color: white;
  padding: 20px 25px;
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  position: relative;
  transition: all 0.3s ease;
  user-select: none;
}

.blogfaq__wrapper .blogfaq__details .blogfaq__summary a {
  color: #cafffa;
}

.blogfaq__wrapper .blogfaq__details .blogfaq__summary:hover {
  background: linear-gradient(to right, #024f59, #0d998b);
}

.blogfaq__wrapper .blogfaq__details[open] .blogfaq__summary {
  background: linear-gradient(to right, #1092a3, #2dd6c5);
}

/* Удаляем стандартный маркер браузера */
.blogfaq__wrapper .blogfaq__details .blogfaq__summary::-webkit-details-marker {
  display: none;
}

.blogfaq__wrapper .blogfaq__details .blogfaq__summary::marker {
  display: none;
}

/* Кастомная иконка для аккордеона */
.blogfaq__wrapper .blogfaq__details .blogfaq__summary::after {
  content: "+";
  position: absolute;
  right: 25px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 24px;
  font-weight: 300;
  transition: transform 0.3s ease;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
}

.blogfaq__wrapper .blogfaq__details[open] .blogfaq__summary::after {
  content: "−";
  transform: translateY(-50%) rotate(180deg);
  border-color: rgba(255, 255, 255, 0.8);
}

/* Контент аккордеона */
.blogfaq__content {
  padding: 30px 25px;
  background: #ffffff;
  border-top: 1px solid #f0f0f0;
}

/* Стили для ответов */
.blogfaq__content p {
  color: #495057;
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 20px;
}

.blogfaq__content p:last-child {
  margin-bottom: 0;
}

/* Анимация открытия/закрытия */
.blogfaq__wrapper .blogfaq__details .blogfaq__content {
  animation: slideDown 0.3s ease-out;
  transform-origin: top;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Стили для ссылок внутри FAQ */
.blogfaq__content a {
  color: #007bff;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.blogfaq__content a:hover {
  color: #0056b3;
  text-decoration: underline;
}

.blogfaq__summary {
  padding-right: 35px !important;
}

/* Адаптивность для мобильных устройств */
@media (max-width: 768px) {
  .blogfaq {
    padding: 40px 0;
  }

  .blogfaq__wrapper .blogfaq__details .blogfaq__summary {
    padding: 16px 20px;
    font-size: 16px;
  }

  .blogfaq__wrapper .blogfaq__details .blogfaq__summary::after {
    right: 20px;
    font-size: 20px;
    width: 20px;
    height: 20px;
  }

  .blogfaq__content {
    padding: 25px 20px;
  }

  .blogfaq__content p {
    font-size: 15px;
    line-height: 1.6;
  }
}

@media (max-width: 480px) {
  .blogfaq__wrapper .blogfaq__details {
    margin-bottom: 15px;
    border-radius: 8px;
  }

  .blogfaq__wrapper .blogfaq__details .blogfaq__summary {
    padding: 14px 16px;
    font-size: 15px;
  }

  .blogfaq__wrapper .blogfaq__details .blogfaq__summary::after {
    right: 16px;
  }

  .blogfaq__content {
    padding: 20px 16px;
  }

  .blogfaq__content p {
    font-size: 14px;
  }
}

/* Дополнительные эффекты при наведении */
@media (hover: hover) {
  .blogfaq__wrapper .blogfaq__details .blogfaq__summary {
    position: relative;
    overflow: hidden;
  }

  .blogfaq__wrapper .blogfaq__details .blogfaq__summary::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
        transparent,
        rgba(255, 255, 255, 0.1),
        transparent);
    transition: left 0.5s ease;
  }

  .blogfaq__wrapper .blogfaq__details .blogfaq__summary:hover::before {
    left: 100%;
  }
}

/* Фокус для доступности */
.blogfaq__wrapper .blogfaq__details .blogfaq__summary:focus {
  outline: 2px solid #007bff;
  outline-offset: 2px;
}

.blogfaq__wrapper .blogfaq__details .blogfaq__summary:focus-visible {
  outline: 2px solid #007bff;
  outline-offset: 2px;
}

/* Дополнительные стили для улучшения читаемости */
.blogfaq__content p strong {
  color: #2c3e50;
  font-weight: 600;
}

.blogfaq__content em {
  color: #6c757d;
  font-style: italic;
}

/* Улучшенная типографика */
.blogfaq__content {
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}