/* DRONOVNET — локальные стили раздела /articles/. Не влияет на остальные страницы сайта. */

body.articles-index .inner-main{
  width:min(100% - 40px,1500px);
  margin:0 auto;
  padding:34px 0 90px;
}

body.articles-index .content-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:18px;
  margin-top:28px;
  align-items:stretch;
}

body.articles-index .content-card{
  display:flex;
  flex-direction:column;
  min-width:0;
  min-height:245px;
  padding:30px;
  border:1px solid rgba(23,42,58,.12);
  border-radius:20px;
  background:#fff;
  color:#172a3a;
  text-decoration:none;
  box-shadow:0 7px 26px rgba(23,42,58,.045);
  transition:border-color .18s ease,box-shadow .18s ease,transform .18s ease;
}

body.articles-index .content-card:hover{
  transform:translateY(-2px);
  border-color:rgba(22,133,154,.45);
  box-shadow:0 18px 55px rgba(23,42,58,.09);
}

body.articles-index .content-card .number{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  align-self:flex-start;
  min-width:44px;
  height:32px;
  padding:0 11px;
  margin-bottom:22px;
  border-radius:999px;
  background:#e9f2f4;
  color:#0d6678;
  font-size:12px;
  font-weight:900;
  letter-spacing:.08em;
}

body.articles-index .content-card h2{
  margin:0 0 12px;
  font-size:clamp(21px,2vw,28px);
  line-height:1.15;
  letter-spacing:-.035em;
  color:#172a3a;
}

body.articles-index .content-card p{
  margin:0 0 24px;
  color:#60717c;
  font-size:15px;
  line-height:1.65;
}

body.articles-index .content-card .card-link{
  margin-top:auto;
  color:#0d6678;
  font-weight:800;
  font-size:14px;
}

/* Страницы отдельных статей */
body.article-detail .article-page{
  box-sizing:border-box;
}

body.article-detail .article-page > h1{
  margin-top:18px;
}

body.article-detail .article-body{
  display:block;
}

body.article-detail .article-body p,
body.article-detail .article-body li{
  line-height:1.7;
}

body.article-detail .link-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:14px;
  margin:24px 0;
}

body.article-detail .link-card{
  display:block;
  min-width:0;
  padding:20px 22px;
  border:1px solid rgba(23,42,58,.12);
  border-radius:16px;
  background:#f7fafb;
  color:#172a3a;
  text-decoration:none;
}

body.article-detail .link-card:hover{
  border-color:rgba(22,133,154,.45);
}

body.article-detail .faq-list{
  display:grid;
  gap:12px;
  margin:20px 0 0;
}

body.article-detail .faq-list details{
  padding:18px 20px;
  border:1px solid rgba(23,42,58,.12);
  border-radius:14px;
  background:#f7fafb;
}

body.article-detail .faq-list summary{
  cursor:pointer;
  font-weight:800;
}

body.article-detail .faq-list details p{
  margin-bottom:0;
}

body.article-detail .section-actions{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:28px;
}

@media(max-width:900px){
  body.articles-index .content-grid{
    grid-template-columns:1fr;
  }
}

@media(max-width:620px){
  body.articles-index .inner-main{
    width:100%;
    padding:12px 12px 56px;
  }

  body.articles-index .inner-hero{
    width:100%;
    box-sizing:border-box;
  }

  body.articles-index .content-grid{
    gap:12px;
    margin-top:16px;
  }

  body.articles-index .content-card{
    min-height:0;
    padding:22px 20px;
    border-radius:16px;
  }

  body.articles-index .content-card .number{
    margin-bottom:15px;
  }

  body.article-detail .link-grid{
    grid-template-columns:1fr;
  }
}
