.article-content h2, .article-content h3 { margin-top: 1.2rem; }
.article-content img { max-width: 100%; height: auto; border-radius: 10px; }
.article-content p { line-height: 1.65; }
.article-content ul { padding-left: 1.2rem; }

.article-content a {
  text-decoration: none;
  border-bottom: 1px solid rgba(25, 135, 84, 0.4);
  transition: all 0.2s ease;
}

.article-content a:hover {
  border-bottom: 1px solid #198754;
}


.article-content {
  font-size: 17px;
  line-height: 1.7;
}

.article-content h2 {
  margin-top: 32px;
  margin-bottom: 12px;
  font-weight: 700;
}

.article-content p {
  margin-bottom: 14px;
}

.article-content ul {
  margin-bottom: 16px;
  padding-left: 20px;
}

.article-content li {
  margin-bottom: 6px;
}

.article-content strong {
  font-weight: 600;
}

.article-content a {
  text-decoration: none;
  border-bottom: 1px solid rgba(25, 135, 84, 0.4);
  transition: all 0.2s ease;
}

.article-content a:hover {
  border-bottom: 1px solid #198754;
}


/* Лид под заголовком */
.articles-lead{
  color: #6c757d;
  font-size: 18px;
  line-height: 1.6;
  max-width: 780px;
  margin: 0 0 18px 0;
  padding-left: 12px;
  border-left: 3px solid rgba(25,135,84,.35);
}

/* Ссылка-обертка карточки */
.article-card-link{
  display: block;
  color: inherit;
  text-decoration: none;
}

/* Карточка */
.article-card{
  transition: transform .18s ease, box-shadow .18s ease;
  border-radius: 14px;
  overflow: hidden;
}

/* Hover эффект */
.article-card-link:hover .article-card{
  transform: translateY(-4px);
  box-shadow: 0 10px 28px rgba(0,0,0,.10);
}

/* Обложка + лёгкий zoom картинки на hover */
.article-cover{
  overflow: hidden;
}

.article-cover img{
  transition: transform .25s ease;
}

/* Images */
.article-content img {
    display: block;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    margin: 0px auto 0px !important;
    border-radius: 6px;
}


/* Телефон */
@media (max-width: 767.98px) {
    .article-content img {
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        margin: 0px auto 0px !important;
        border-radius: 6px;
    }
}

.article-card-link:hover .article-cover img{
  transform: scale(1.03);
}

/* Читать статью */
.article-readmore{
  font-size: 13px;
  font-weight: 600;
  color: #198754;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.article-arrow{
  transition: transform .18s ease;
}

.article-card-link:hover .article-arrow{
  transform: translateX(2px);
}
/* =============================== */
.article-content{
  max-width: 100%;
  width: 100%;
  margin: 0 auto;
  font-size: 16px;
  line-height: 1.75;
  color: #343a40;
}

.article-content h1{
  font-size: 34px;
  line-height: 1.25;
  font-weight: 800;
  color: #212529;
  margin-top: 0;
  margin-bottom: 18px;
}

.article-content h2{
  font-size: 24px;
  line-height: 1.35;
  font-weight: 700;
  color: #212529;
  margin-top: 34px;
  margin-bottom: 14px;
}

.article-content p{
  margin-top: 0;
  margin-bottom: 16px;
}

.article-content ul{
  margin: 0 0 18px;
  padding-left: 22px;
}

.article-content li{
  margin-bottom: 8px;
}

.article-content a{
  color: #198754;
  font-weight: 600;
  text-decoration: none;
}

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

.article-content .article-intro-box{
  background: #f8f9fa;
  border: 1px solid rgba(0,0,0,.06);
  border-radius: 14px;
  padding: 18px 20px;
  margin: 20px 0 24px;
}

.article-content .article-intro-box p{
  margin-bottom: 10px;
}

.article-content .article-intro-box ul{
  margin-bottom: 0;
}

.article-content .article-disclaimer{
  font-size: 13px;
  color: #6c757d;
  margin-top: 24px;
}

@media (max-width: 767.98px){
  .article-content{
    font-size: 15px;
    line-height: 1.7;
  }

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

  .article-content h2{
    font-size: 21px;
    margin-top: 28px;
  }

  .article-content .article-intro-box{
    padding: 16px;
    border-radius: 12px;
  }
}



/* ===== СТИЛИ ДЛЯ БОГАТОЙ СТАТЬИ ===== */
/* Обертка статьи */
/* .article-content {
    max-width: 100%;
    width: 100%;
    margin: 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
    font-size: 1.05rem;
    line-height: 1.7;
    color: #1e2a3e;
    background: #ffffff;
} */

/* ===== ЗАГОЛОВКИ ===== */
/* .article-content h1 {
    font-size: 2.4rem;
    font-weight: 800;
    background: linear-gradient(135deg, #198754 0%, #20c997 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-top: 0;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 3px solid rgba(25, 135, 84, 0.25);
    display: inline-block;
    letter-spacing: -0.02em;
} */

/* .article-content h2 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    padding-left: 1rem;
    border-left: 5px solid #198754;
    color: #145c3d;
    letter-spacing: -0.01em;
} */

/* ===== ПАРАГРАФЫ ===== */
/* .article-content p {
    margin-bottom: 1.25rem;
    color: #2c3e4e;
} */

/* ===== ВЫДЕЛЕНИЯ ===== */
/* .article-content strong {
    color: #198754;
    font-weight: 700;
}

.article-content em {
    font-style: italic;
    background: rgba(25, 135, 84, 0.08);
    padding: 0.1rem 0.35rem;
    border-radius: 6px;
    color: #146c43;
} */

/* ===== ЦИТАТЫ ===== */
/* .article-content blockquote {
    background: linear-gradient(135deg, #f0fdf4 0%, #e6f9f0 100%);
    border-left: 6px solid #198754;
    padding: 1.2rem 2rem;
    margin: 2rem 0;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.article-content blockquote p {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 500;
    color: #145c3d;
} */

/* ===== СПИСКИ ===== */
/* .article-content ul, 
.article-content ol {
    margin: 1.25rem 0;
    padding-left: 1.8rem;
}

.article-content li {
    margin-bottom: 0.6rem;
    padding-left: 0.3rem;
}

.article-content ul li::marker {
    color: #20c997;
    font-size: 1.2em;
}

.article-content ol li::marker {
    color: #198754;
    font-weight: bold;
} */

/* ===== ССЫЛКИ ===== */
/* .article-content a {
    color: #198754;
    text-decoration: none;
    font-weight: 600;
    border-bottom: 2px solid rgba(25, 135, 84, 0.25);
    transition: all 0.2s ease;
}

.article-content a:hover {
    color: #146c43;
    border-bottom-color: #146c43;
} */

/* ===== HR ===== */
/* .article-content hr {
    margin: 2rem 0;
    border: none;
    height: 2px;
    background: linear-gradient(90deg, rgba(25,135,84,0.1), #198754, rgba(25,135,84,0.1));
    border-radius: 2px;
} */

/* ===== INTRO BOX ===== */
/* .article-content .article-intro-box {
    background: #f8fdf9;
    border: 1px solid rgba(25, 135, 84, 0.15);
    border-radius: 14px;
    padding: 18px 20px;
    margin: 20px 0;
} */

/* ===== DISCLAIMER ===== */
/* .article-content .article-disclaimer {
    font-size: 0.8rem;
    color: #6c757d;
    display: block;
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid #e9ecef;
} */

/* ===== АДАПТИВ ===== */
/* @media (max-width: 640px) {
    .article-content {
        font-size: 1rem;
    }
    
    .article-content h1 {
        font-size: 1.8rem;
    }
    
    .article-content h2 {
        font-size: 1.5rem;
    }
    
    .article-content blockquote {
        padding: 1rem 1.2rem;
    }
} */
