/* uradress.by — clean article/news template v2
   Подключать после /css/style.css только в шаблоне новости/статьи. */

body.page-article{
  background:#eef6ff;
}

.article-main{
  background:linear-gradient(180deg,#f4f9ff 0%,#eef6ff 100%);
}

section.content.content--article{
  background:transparent;
  padding:42px 20px 64px;
}

.content--article .article-shell{
  width:100%;
  max-width:1060px;
  margin:0 auto;
}

/* Breadcrumbs: одна строка, мягкий горизонтальный скролл на мобильных */
.content--article #breadcrumbs{
  width:100%;
  max-width:none;
  display:flex;
  flex-wrap:nowrap;
  align-items:center;
  gap:0;
  margin:0 0 24px;
  padding:0 0 4px;
  overflow-x:auto;
  overflow-y:hidden;
  -webkit-overflow-scrolling:touch;
  scrollbar-width:none;
  color:#8fa0b3;
  font-size:.92rem;
  line-height:1.35;
}

.content--article #breadcrumbs::-webkit-scrollbar{
  display:none;
}

.content--article #breadcrumbs li{
  flex:0 0 auto;
  padding:0 5px;
  color:#a7b4c3;
  white-space:nowrap;
}

.content--article #breadcrumbs li:first-child{
  padding-left:0;
}

.content--article #breadcrumbs a{
  color:#7c8fa4;
  text-decoration:none;
  border:0;
}

.content--article #breadcrumbs a span{
  border-bottom:1px solid rgba(124,143,164,.35);
}

.content--article #breadcrumbs a:hover{
  color:#096ec0;
}

.news-article{
  overflow:hidden;
  background:#fff;
  border:1px solid #dfeaf5;
  border-radius:18px;
  box-shadow:0 18px 45px rgba(16,58,98,.08);
}

/* Важно: общий style.css оформляет любые <header> и <footer> на странице.
   Эти сбросы не дают стилям шапки/подвала сайта влиять на header/footer внутри статьи. */
.page-article .news-article > header.news-article__header,
.page-article .news-article > .news-article__header{
  position:relative;
  display:block;
  flex-flow:initial;
  z-index:auto;
  box-shadow:none;
}

.page-article .news-article > footer.news-article__footer,
.page-article .news-article > .news-article__footer{
  display:block;
  flex-flow:initial;
  align-items:initial;
  background:transparent;
  color:inherit;
  box-shadow:none;
}

.news-article__header{
  padding:52px 64px 34px;
  background:#fff;
  border-top:5px solid #096ec0;
}

.news-article__tag{
  display:inline-flex;
  align-items:center;
  max-width:100%;
  margin:0 0 18px;
  padding:7px 12px;
  border-radius:999px;
  background:#edf6ff;
  color:#096ec0;
  font-size:.9rem;
  font-weight:500;
  line-height:1.2;
}

.news-article__header h1{
  max-width:880px;
  margin:0;
  padding:0;
  color:#202833;
  font-family:"Rubik",sans-serif;
  font-size:clamp(2.15rem,4vw,3.15rem);
  font-weight:700;
  line-height:1.12;
  letter-spacing:-.035em;
  text-transform:none;
}

.news-article__lead{
  max-width:780px;
  margin:22px 0 0;
  padding:0;
  color:#566574;
  font-size:1.12rem;
  font-weight:300;
  line-height:1.72;
}

.news-article__meta{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:10px;
  margin-top:24px;
  color:#7a8794;
  font-size:.95rem;
  line-height:1.3;
}

.news-article__meta-item{
  display:inline-flex;
  align-items:center;
  gap:8px;
}

.news-article__author-mark{
  width:22px;
  height:22px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:50%;
  background:#096ec0;
  color:#fff;
  font-size:.78rem;
  font-weight:700;
  line-height:1;
  text-transform:uppercase;
}

.news-article__meta-divider{
  width:4px;
  height:4px;
  border-radius:50%;
  background:#b8c4d0;
}

.news-article__cover{
  margin:0;
  padding:0 64px 0;
  background:#fff;
}

.news-article__cover img{
  display:block;
  width:100%;
  height:auto;
  aspect-ratio:16/9;
  object-fit:cover;
  border-radius:16px;
  box-shadow:0 14px 36px rgba(21,49,78,.12);
}

.news-article__content{
  max-width:780px;
  margin:0 auto;
  padding:42px 0 18px;
  color:#2f3b48;
  font-size:1.08rem;
  font-weight:300;
  line-height:1.78;
}

.news-article__content > *:first-child{
  margin-top:0;
}

.news-article__content > *:last-child{
  margin-bottom:0;
}

.news-article__content p{
  margin:0 0 1.15em;
  padding:0;
}

.news-article__content strong,
.news-article__content b{
  color:#202833;
  font-weight:600;
}

.news-article__content h2,
.news-article__content h3,
.news-article__content h4{
  margin:1.75em 0 .7em;
  padding:0;
  color:#202833;
  font-family:"Rubik",sans-serif;
  font-weight:650;
  line-height:1.22;
  text-transform:none;
}

.news-article__content h2{
  font-size:clamp(1.55rem,2.6vw,2.05rem);
  letter-spacing:-.02em;
}

.news-article__content h3{
  font-size:1.36rem;
}

.news-article__content h4{
  font-size:1.18rem;
}

.news-article__content ul,
.news-article__content ol{
  margin:0 0 1.35em;
  padding:0 0 0 1.25em;
}

.news-article__content ul{
  list-style:none;
  padding-left:0;
}

.news-article__content li{
  position:relative;
  margin:0 0 .72em;
  padding-left:1.45em;
}

.news-article__content li:last-child{
  margin-bottom:0;
}

.news-article__content ul > li::before{
  content:"";
  position:absolute;
  left:.15em;
  top:.72em;
  width:7px;
  height:7px;
  border-radius:50%;
  background:#096ec0;
}

.news-article__content ol{
  list-style:decimal;
  padding-left:1.35em;
}

.news-article__content ol > li{
  padding-left:.35em;
}

.news-article__content ol > li::before{
  content:none;
}

.news-article__content li p{
  margin:0;
  padding:0;
}

.news-article__content a{
  color:#096ec0;
  text-decoration:none;
  border-bottom:1px solid rgba(9,110,192,.32);
  font-weight:400;
  transition:color .2s ease,border-color .2s ease;
}

.news-article__content a:hover{
  color:#c4511e;
  border-color:rgba(196,81,30,.45);
}

.news-article__content blockquote{
  margin:1.8em 0;
  padding:20px 24px;
  border-left:4px solid #096ec0;
  border-radius:0 14px 14px 0;
  background:#f3f8fe;
  color:#2f3b48;
}

.news-article__content img{
  display:block;
  max-width:100%;
  height:auto;
  margin:1.8em auto;
  padding:0;
  border-radius:14px;
}

.news-article__content table{
  display:block;
  width:100%;
  max-width:100%;
  min-width:640px;
  margin:1.8em 0;
  overflow-x:auto;
  -webkit-overflow-scrolling:touch;
  border-collapse:collapse;
  border-spacing:0;
  background:#fff;
  border:1px solid #dbe6f1;
  border-radius:12px;
}

.news-article__content tbody{
  display:table;
  width:100%;
}

.news-article__content tr,
.news-article__content td,
.news-article__content th{
  border:1px solid #dbe6f1;
}

.news-article__content th,
.news-article__content td{
  padding:13px 15px;
  text-align:left;
  vertical-align:top;
  color:#2f3b48;
  line-height:1.55;
  background:#fff;
}

.news-article__content th,
.news-article__content tr:first-child td{
  background:#f0f7ff;
  color:#202833;
  font-weight:600;
}

.news-article__footer{
  max-width:780px;
  margin:0 auto;
  padding:20px 0 54px;
  text-align:left;
}

.article-back{
  display:inline-flex;
  align-items:center;
  justify-content:flex-start;
  width:auto;
  max-width:100%;
  min-height:42px;
  padding:10px 16px;
  border:1px solid #d7e5f2;
  border-radius:999px;
  background:#fff;
  color:#096ec0;
  font-size:.96rem;
  font-weight:500;
  line-height:1.2;
  text-align:left;
  white-space:normal;
  text-decoration:none;
  transition:background .2s ease,border-color .2s ease,color .2s ease,box-shadow .2s ease;
}

.article-back:hover{
  background:#f3f9ff;
  border-color:#bcd5eb;
  color:#075fa7;
  box-shadow:0 6px 18px rgba(9,110,192,.08);
}

@media (max-width:1000px){
  section.content.content--article{
    padding:26px 16px 46px;
  }

  .news-article__header{
    padding:38px 40px 28px;
  }

  .news-article__cover{
    padding:0 40px;
  }

  .news-article__content,
  .news-article__footer{
    max-width:none;
    margin-left:40px;
    margin-right:40px;
  }
}

@media (max-width:767px){
  section.content.content--article{
    padding:18px 10px 34px;
  }

  .content--article #breadcrumbs{
    margin-bottom:14px;
    font-size:.82rem;
  }

  .news-article{
    border-radius:14px;
  }

  .news-article__header{
    padding:24px 18px 20px;
    border-top-width:4px;
  }

  .news-article__tag{
    margin-bottom:14px;
    font-size:.82rem;
  }

  .news-article__header h1{
    font-size:1.68rem;
    line-height:1.16;
    letter-spacing:-.025em;
  }

  .news-article__lead{
    margin-top:16px;
    font-size:1rem;
    line-height:1.65;
  }

  .news-article__meta{
    margin-top:18px;
    font-size:.86rem;
  }

  .news-article__cover{
    padding:0;
  }

  .news-article__cover img{
    border-radius:0;
    box-shadow:none;
  }

  .news-article__content{
    margin:0;
    padding:28px 18px 10px;
    font-size:1rem;
    line-height:1.72;
  }

  .news-article__content h2{
    margin-top:1.55em;
    font-size:1.42rem;
  }

  .news-article__content h3{
    font-size:1.22rem;
  }

  .news-article__content li{
    padding-left:1.25em;
  }

  .news-article__content table{
    min-width:560px;
  }

  .news-article__footer{
    margin:0;
    padding:18px 18px 34px;
  }

  .article-back{
    width:auto;
    justify-content:flex-start;
  }
}

@media (max-width:390px){
  .news-article__header h1{
    font-size:1.52rem;
  }

  .news-article__lead,
  .news-article__content{
    font-size:.96rem;
  }
}

/* v5 — только внешний воздух статьи.
   Шапку сайта, бургер и меню здесь не трогаем: они остаются под контролем основного style.css. */
@media (max-width:1000px){
  section.content.content--article{
    padding:24px 16px 46px;
  }
}

@media (max-width:767px){
  section.content.content--article{
    padding:20px 16px 36px;
  }
}

@media (max-width:390px){
  section.content.content--article{
    padding-left:14px;
    padding-right:14px;
  }
}

/* =========================================================
   News index / useful information list page
   Классы специально отделены от старых .all-news/.news-list-one.
   Подключать этот же /css/article.css после /css/style.css.
   ========================================================= */

body.page-news-list{
  background:#eef6ff;
}

.news-index-main{
  background:linear-gradient(180deg,#f4f9ff 0%,#eef6ff 100%);
}

section.content.news-index{
  background:transparent;
  padding:42px 20px 64px;
}

.news-index__shell{
  width:100%;
  max-width:1120px;
  margin:0 auto;
}

/* Те же хлебные крошки, что на странице статьи */
.news-index #breadcrumbs{
  width:100%;
  max-width:none;
  display:flex;
  flex-wrap:nowrap;
  align-items:center;
  gap:0;
  margin:0 0 24px;
  padding:0 0 4px;
  overflow-x:auto;
  overflow-y:hidden;
  -webkit-overflow-scrolling:touch;
  scrollbar-width:none;
  color:#8fa0b3;
  font-size:.92rem;
  line-height:1.35;
}

.news-index #breadcrumbs::-webkit-scrollbar{
  display:none;
}

.news-index #breadcrumbs li{
  flex:0 0 auto;
  padding:0 5px;
  color:#a7b4c3;
  white-space:nowrap;
}

.news-index #breadcrumbs li:first-child{
  padding-left:0;
}

.news-index #breadcrumbs a{
  color:#7c8fa4;
  text-decoration:none;
  border:0;
}

.news-index #breadcrumbs a span{
  border-bottom:1px solid rgba(124,143,164,.35);
}

.news-index #breadcrumbs a:hover{
  color:#096ec0;
}

.news-index__head{
  margin:0 0 24px;
  padding:42px 52px 38px;
  background:#fff;
  border:1px solid #dfeaf5;
  border-top:5px solid #096ec0;
  border-radius:18px;
  box-shadow:0 14px 38px rgba(16,58,98,.07);
}

.news-index__head h1{
  max-width:860px;
  margin:0;
  padding:0;
  color:#202833;
  font-family:"Rubik",sans-serif;
  font-size:clamp(2.05rem,4vw,3rem);
  font-weight:700;
  line-height:1.12;
  letter-spacing:-.035em;
  text-transform:none;
}

.news-index__lead{
  max-width:780px;
  margin:18px 0 0;
  padding:0;
  color:#566574;
  font-size:1.08rem;
  font-weight:300;
  line-height:1.7;
}

.news-index__text{
  max-width:860px;
  margin:0 0 24px;
  padding:24px 28px;
  background:#fff;
  border:1px solid #dfeaf5;
  border-radius:16px;
  color:#2f3b48;
  font-size:1.03rem;
  font-weight:300;
  line-height:1.7;
  box-shadow:0 10px 28px rgba(16,58,98,.05);
}

.news-index__text:empty{
  display:none;
}

.news-index__text p{
  margin:0 0 1em;
  padding:0;
}

.news-index__text p:last-child{
  margin-bottom:0;
}

.news-index__text a{
  color:#096ec0;
  text-decoration:none;
  border-bottom:1px solid rgba(9,110,192,.32);
  font-weight:400;
}

.news-index__text a:hover{
  color:#c4511e;
  border-color:rgba(196,81,30,.45);
}

.news-index__list{
  margin:0;
  padding:0;
}

.news-index__grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:22px;
  margin:0;
  padding:0;
  list-style:none;
}

.news-index-card{
  min-width:0;
  margin:0;
  padding:0;
  list-style:none;
}

.news-index-card__link{
  display:flex;
  flex-direction:column;
  height:100%;
  overflow:hidden;
  background:#fff;
  border:1px solid #dfeaf5;
  border-radius:18px;
  color:inherit;
  text-decoration:none;
  box-shadow:0 12px 34px rgba(16,58,98,.07);
  transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease;
}

.news-index-card__link:hover{
  transform:translateY(-2px);
  border-color:#bfd7ee;
  box-shadow:0 18px 44px rgba(16,58,98,.1);
}

.news-index-card__media{
  position:relative;
  margin:0;
  overflow:hidden;
  background:#eaf3fb;
}

.news-index-card__media img{
  display:block;
  width:100%;
  height:auto;
  aspect-ratio:16/10;
  object-fit:cover;
  transition:transform .35s ease;
}

.news-index-card__link:hover .news-index-card__media img{
  transform:scale(1.025);
}

.news-index-card__body{
  display:flex;
  flex-direction:column;
  flex:1 1 auto;
  padding:24px 24px 22px;
}

.news-index-card__date{
  display:block;
  margin:0 0 10px;
  color:#7a8794;
  font-size:.9rem;
  font-weight:400;
  line-height:1.2;
}

.news-index-card__title{
  margin:0;
  padding:0;
  color:#202833;
  font-family:"Rubik",sans-serif;
  font-size:1.26rem;
  font-weight:650;
  line-height:1.25;
  letter-spacing:-.015em;
  text-transform:none;
}

.news-index-card__intro{
  margin:12px 0 0;
  padding:0;
  color:#566574;
  font-size:.98rem;
  font-weight:300;
  line-height:1.62;
}

.news-index-card__more{
  display:inline-flex;
  align-items:center;
  align-self:flex-start;
  margin-top:auto;
  padding-top:18px;
  color:#096ec0;
  font-size:.96rem;
  font-weight:500;
  line-height:1.2;
}

.news-index-card__more::after{
  content:"→";
  margin-left:8px;
  transition:transform .2s ease;
}

.news-index-card__link:hover .news-index-card__more::after{
  transform:translateX(3px);
}

@media (max-width:1000px){
  section.content.news-index{
    padding:26px 16px 46px;
  }

  .news-index__head{
    padding:36px 40px 32px;
  }
}

@media (max-width:767px){
  section.content.news-index{
    padding:18px 10px 34px;
  }

  .news-index #breadcrumbs{
    margin-bottom:14px;
    font-size:.82rem;
  }

  .news-index__head{
    margin-bottom:18px;
    padding:24px 18px 22px;
    border-top-width:4px;
    border-radius:14px;
  }

  .news-index__head h1{
    font-size:1.8rem;
    line-height:1.15;
    letter-spacing:-.025em;
  }

  .news-index__lead{
    margin-top:14px;
    font-size:1rem;
    line-height:1.62;
  }

  .news-index__text{
    margin-bottom:18px;
    padding:20px 18px;
    border-radius:14px;
    font-size:1rem;
  }

  .news-index__grid{
    grid-template-columns:1fr;
    gap:16px;
  }

  .news-index-card__link{
    border-radius:14px;
  }

  .news-index-card__body{
    padding:20px 18px 18px;
  }

  .news-index-card__title{
    font-size:1.16rem;
  }
}

@media (max-width:390px){
  .news-index__head h1{
    font-size:1.62rem;
  }
}
