/* =========================================================
   СТРАНИЦА СТАТЬИ
   ========================================================= */

.article-page {
  padding: 30px 0 90px;
}

.article-content {
  max-width: 920px;
  margin: 0 auto;
}

/* ==========================================================
   BREADCRUMBS
   ========================================================== */

/* ---------- Хлебные крошки ---------- */

.breadcrumbs {
  width: min(100% - 40px, 1400px);
  margin: 0 auto 36px;
  padding: 0;

  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;

  font-family: "Montserrat", sans-serif;
  font-size: 15px;
  line-height: 1.4;
}

.breadcrumbs a {
  position: relative;

  display: inline-flex;
  align-items: center;

  padding: 3px 0;

  color: #c8a27a;
  font-weight: 500;
  text-decoration: none;

  transition: color 0.2s ease;
}

.breadcrumbs a:hover {
  color: #a67c52;
}

.breadcrumbs a::after {
  content: "";

  position: absolute;
  left: 0;
  bottom: 0;

  width: 0;
  height: 1px;

  background: currentColor;

  transition: width 0.2s ease;
}

.breadcrumbs a:hover::after {
  width: 100%;
}

.breadcrumb-separator {
  color: #c9c9c9;
  font-size: 13px;
  line-height: 1;
}

.breadcrumb-current {
  color: #666;
  font-weight: 500;
}

/* =========================================================
   ЗАГОЛОВОК
   ========================================================= */

.article-header {
  text-align: center;
  margin: 45px auto 40px;
}

.article-category {
  display: inline-flex;
  align-items: center;
  padding: 7px 15px;
  margin-bottom: 18px;
  border-radius: 30px;
  background: rgba(185, 140, 97, 0.12);
  color: #B98C61;
  font-family: "Montserrat", sans-serif;
  font-size: 13px;
  font-weight: 600;
}

.article-header h1 {
  max-width: 850px;
  margin: 0 auto 18px;
  color: #343E49;
  font-family: "Montserrat", sans-serif;
  font-size: clamp(32px, 5vw, 52px);
  line-height: 1.12;
  font-weight: 700;
}

.article-meta {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  color: #7b8188;
  font-family: "Open Sans", sans-serif;
  font-size: 14px;
}

.article-meta span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.article-meta i {
  color: #B98C61;
}



/* =========================================================
   ВВОДНЫЙ БЛОК
   ========================================================= */

.article-intro {
  margin-bottom: 38px;
  padding: 30px 34px;
  border-left: 4px solid #B98C61;
  border-radius: 0 14px 14px 0;
  background: #f7f5f2;
}

.article-intro p {
  margin: 0;
  color: #4d555d;
  font-family: "Open Sans", sans-serif;
  font-size: 18px;
  line-height: 1.75;
}

.article-intro p + p {
  margin-top: 14px;
}

/* =========================================================
   СОДЕРЖАНИЕ
   ========================================================= */

.article-toc {
  margin: 0 0 45px;
  padding: 26px 30px;
  border: 1px solid #e7e3de;
  border-radius: 16px;
  background: #fff;
}

.article-toc h2 {
  margin: 0 0 17px;
  color: #343E49;
  font-family: "Montserrat", sans-serif;
  font-size: 21px;
  line-height: 1.3;
}

.article-toc ol {
  margin: 0;
  padding-left: 22px;
}

.article-toc li {
  margin: 8px 0;
  padding-left: 4px;
  color: #5d646b;
  font-family: "Open Sans", sans-serif;
  line-height: 1.55;
}

.article-toc a {
  color: #343E49;
  text-decoration: none;
  transition: color 0.2s ease;
}

.article-toc a:hover {
  color: #B98C61;
}

/* =========================================================
   ТЕКСТ СТАТЬИ
   ========================================================= */

.article-body {
  color: #4c535a;
  font-family: "Open Sans", sans-serif;
  font-size: 17px;
  line-height: 1.8;
}

.article-body section {
  margin-bottom: 45px;
}

.article-body h2 {
  margin: 0 0 18px;
  color: #343E49;
  font-family: "Montserrat", sans-serif;
  font-size: 29px;
  line-height: 1.3;
  font-weight: 700;
}

.article-body h3 {
  margin: 28px 0 12px;
  color: #343E49;
  font-family: "Montserrat", sans-serif;
  font-size: 21px;
  line-height: 1.35;
}

.article-body p {
  margin: 0 0 18px;
}

.article-body p:last-child {
  margin-bottom: 0;
}

.article-body ul,
.article-body ol {
  margin: 20px 0;
  padding-left: 25px;
}

.article-body li {
  margin-bottom: 9px;
  padding-left: 4px;
}

.article-body strong {
  color: #343E49;
}

.article-body a {
  color: #B98C61;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

/* =========================================================
   ИНФОРМАЦИОННЫЙ БЛОК
   ========================================================= */

.article-note {
  display: flex;
  gap: 17px;
  margin: 28px 0;
  padding: 22px 24px;
  border-radius: 14px;
  background: #f7f5f2;
}

.article-note-icon {
  flex: 0 0 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(185, 140, 97, 0.15);
  color: #B98C61;
  font-size: 17px;
}

.article-note strong {
  display: block;
  margin-bottom: 5px;
  color: #343E49;
  font-family: "Montserrat", sans-serif;
  font-size: 16px;
}

.article-note p {
  margin: 0;
  color: #5d646b;
  font-size: 15px;
  line-height: 1.65;
}

/* =========================================================
   CTA
   ========================================================= */

.article-cta {
  margin: 55px 0 70px;
  padding: 48px 50px;
  border-radius: 22px;
  background: #343E49;
  overflow: hidden;
}

.article-cta-content {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.article-cta-label {
  display: block;
  margin-bottom: 12px;
  color: #B98C61;
  font-family: "Montserrat", sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.article-cta h2 {
  margin: 0 0 14px;
  color: #fff;
  font-family: "Montserrat", sans-serif;
  font-size: 30px;
  line-height: 1.3;
}

.article-cta p {
  max-width: 600px;
  margin: 0 auto 26px;
  color: rgba(255, 255, 255, 0.78);
  font-family: "Open Sans", sans-serif;
  font-size: 16px;
  line-height: 1.65;
}

/* =========================================================
   СВЯЗАННЫЕ СТАТЬИ
   ========================================================= */

.related-articles {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 15px;
}

.section-heading {
  margin-bottom: 28px;
  text-align: center;
}

.section-kicker {
  display: block;
  margin-bottom: 8px;
  color: #B98C61;
  font-family: "Montserrat", sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section-heading h2 {
  margin: 0;
  color: #343E49;
  font-family: "Montserrat", sans-serif;
  font-size: 34px;
  line-height: 1.25;
}

.related-articles .articles-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.related-articles .article-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  border: 1px solid #e8e4df;
  border-radius: 18px;
  background: #fff;
  overflow: hidden;
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.related-articles .article-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 35px rgba(52, 62, 73, 0.1);
}

.related-articles .article-card-image {
  height: 190px;
  overflow: hidden;
}

.related-articles .article-card-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.related-articles .article-card:hover .article-card-image img {
  transform: scale(1.04);
}

.related-articles .article-card-content {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 22px;
}

.related-articles .article-card-category {
  margin-bottom: 9px;
  color: #B98C61;
  font-family: "Montserrat", sans-serif;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.related-articles .article-card h3 {
  margin: 0 0 11px;
  color: #343E49;
  font-family: "Montserrat", sans-serif;
  font-size: 19px;
  line-height: 1.35;
}

.related-articles .article-card p {
  margin: 0;
  color: #6a7076;
  font-family: "Open Sans", sans-serif;
  font-size: 14px;
  line-height: 1.6;
}

.related-articles .article-card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 20px;
  color: #B98C61;
  font-family: "Montserrat", sans-serif;
  font-size: 13px;
  font-weight: 600;
}

.related-articles-more {
  display: flex;
  justify-content: center;
  margin-top: 32px;
}

/* =========================================================
   АДАПТИВ
   ========================================================= */

@media (max-width: 900px) {
  .article-page {
    padding-bottom: 65px;
  }

  .article-content {
    max-width: 100%;
  }

  .related-articles .articles-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .article-page {
    padding: 20px 0 50px;
  }

  .article-header {
    margin: 30px auto 30px;
  }

  .article-header h1 {
    font-size: 31px;
  }

  .article-meta {
    flex-direction: column;
    gap: 8px;
  }

  .article-intro {
    padding: 22px 20px;
  }

  .article-intro p {
    font-size: 16px;
    line-height: 1.65;
  }

  .article-toc {
    padding: 22px 20px;
    margin-bottom: 35px;
  }

  .article-body {
    font-size: 16px;
    line-height: 1.7;
  }

  .article-body section {
    margin-bottom: 38px;
  }

  .article-body h2 {
    font-size: 25px;
  }

  .article-note {
    padding: 18px;
  }

  .article-cta {
    margin: 45px 0 50px;
    padding: 35px 22px;
    border-radius: 18px;
  }

  .article-cta h2 {
    font-size: 25px;
  }

  .related-articles .articles-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .related-articles .article-card-image {
    height: 210px;
  }

  .section-heading h2 {
    font-size: 29px;
  }
}

@media (max-width: 480px) {
  .article-header h1 {
    font-size: 28px;
  }

  .article-category {
    margin-bottom: 14px;
  }

  .article-intro {
    border-left-width: 3px;
  }

  .article-body h2 {
    font-size: 23px;
  }

  .article-note {
    flex-direction: column;
    gap: 12px;
  }

  .article-cta {
    padding: 30px 18px;
  }

  .article-cta h2 {
    font-size: 23px;
  }
}

.articles-cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 25px;
  border-radius: 35px;
  background: #B98C61;
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition:
    background-color 0.2s ease,
    transform 0.2s ease;
}

.articles-cta-button:hover {
  background: #A87C53;
  transform: translateY(-1px);
}