

/* Start:/local/templates/main/components/bitrix/news/blog/style.css?1768388967402*/
.news-sort {
    padding: 11px 12px;
    background-color: #EDF1F7;
    font-size: 13px;
    color: #1B4D9A;
    font-weight: 500;
    border-radius: 900px;

    transition: all .3s ease-in-out;
}

.news-sort.active {
    background-color: #A4B8D7;
    color: #FFFFFF;
}

.news-sort:hover {
    text-decoration: underline;
}

.blog__line {
    height: 0;
    opacity: 1;
    border: 1px solid #EDF1F7
}
/* End */


/* Start:/local/templates/main/components/bitrix/news/blog/bitrix/news.detail/.default/style.css?17757146765763*/
.cos-h1{
	display:none
}

.blog-item-header {
  margin-bottom: 80px;
  box-shadow: 0px 17px 34px 0px rgba(2, 37, 78, 0.08);
}

.blog-item-content {
    margin-bottom: 80px;
}

.heroBlogItem{
  position: relative;
  background: #fff;
  min-height: 690px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

/* MEDIA: desktop справа и не ограничена контейнером */
.heroBlogItem__media{
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;

  width: 56vw;          /* тянется до правого края */
  min-width: 690px;
}

.heroBlogItem__media img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left center;
  display: block;
}

/* TEXT */
.heroBlogItem__container{
  position: relative;
  z-index: 2;
}

.heroBlogItem__content{
  width: min(520px, 38%);
  padding: 64px 0;
  line-height: 51px;
  font-size: 44px;
  font-weight: 600;
  color: #02254E;
}

.heroBlogItem__content p {
  font-size: 18px;
  line-height: 25px;
  color: #02254EB2;
  margin-bottom: 64px;
}

.heroBlogItem__line{
  margin: 10px 0 10px;
  border: 0;
  height: 2px;
  background: #b8b9ba;
}

.date-reading-time {
    display: flex;
    gap: 10px;
}

.blog-item-reading-time, .blog-item-date {
  width: fit-content;
  padding: 8.5px 12px;
  border-radius: 90px;
  color: #02254E;
  line-height: 21px;
  font-weight: 500;
  font-size: 17px;
  background-color: #EDF1F7;
}

.blog-item-reading-time img, .blog-item-date img {
  margin-right: 10px;
}

.blog-img-top-container {
  position: relative;
}

.blog-date-badge {
  position: absolute;
  bottom: 16px;
  right: 16px;
  border-radius: 90px;
  background-color: #EDF1F7;
  color: #02254E;
  padding: 4px 8px;
  font-size: 14px;
  font-weight: 500;
}

.blog-img-top-container .card-img-top {
  height: 192px;
  object-fit: cover;
}

.another-news-container .card {
  border-radius: 16px;
  overflow: hidden;
  height: 370px;
  box-shadow: 0px 17px 34px 0px rgba(2, 37, 78, 0.08);
  transition: all .3s ease-in-out;
}

.another-news-container {
    position: sticky;
    top: 0;
}

.another-news-container .card:hover {
  transform: scale(1.04);
}

.another-news-container .card .card-body{
  padding: 16px 32px;
  height: 178px;
  display: flex;
  flex-direction: column;
}

.blog-card-main-info {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.news-reading-time {
  margin-top: auto;
  width: fit-content;
  padding: 4.5px 8px;
  border-radius: 90px;
  color: #02254E;
  line-height: 17px;
  font-weight: 500;
  font-size: 14px;
  background-color: #EDF1F7;
}

.news-reading-time img {
  margin-right: 10px;
}

.blog-card-main-info hr {
  margin: 0;
}

.blog-card-main-info .news-info {
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2; /* Ограничение в 2 строки */
  -webkit-box-orient: vertical;
  font-size: 14px;
  line-height: 19px;
  color: #02254EB2;
}

.blog-card-main-info .news-title {
  color: #02254E;
  font-weight: 600;
  font-size: 16px;
  line-height: 22px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2; /* Ограничение в 2 строки */
  -webkit-box-orient: vertical;
}

.news-tab-btn {
    color: #02254E66 !important;
    border: 0 !important;
    text-decoration: none !important;
}

.news-tab-btn.active {
    color: #02254E !important;
    text-decoration: underline !important;
}

.news-tab-btn:hover {
    text-decoration: none !important;
    color: #02254E !important;
}

.news-tab-btn:focus {
    text-decoration: underline !important;
}

.blog-item-text {
  font-size: 17px;
  color: #02254E66;
}

/* ---------- MOBILE: как на скрине ---------- */
@media (max-width: 992px){
  .heroBlogItem{
    min-height: auto;
    overflow: visible;
    display: block; /* чтобы не резать тени/скругления, если будут */
  }

  /* media становится обычным блоком сверху */
  .heroBlogItem__media{
    position: relative !important;
    width: 100%;
    min-width: 0;
    height: 320px;     /* подгони под дизайн */
  }

  /* белый блок с текстом снизу */
  .heroBlogItem__container{
    background: #fff;
  }

  .heroBlogItem__content{
    width: 100%;
    padding-top: 48px !important;
    padding-bottom: 48px !important;
    font-size: 20px;      /* т.к. padding уже у container на мобилке */
  }

  .heroBlogItem__content span {
    width: 70%;
    line-height: 27px;
    font-size: 20px;
    font-weight: 600;
    display: block;
  }

  .heroBlogItem__content p {
    font-size: 13px;
    color: #02254EB2;
    margin-bottom: 32px;
  }

  .blog-item-header {
    margin-bottom: 48px;
  }

   .blog-img-top-container .card-img-top {
    height: 163px;
    object-fit: cover;
  }

  .another-news-container .card {
    height: 340px;
  }

  .another-news-container .card .card-body{
    padding: 16px;
    height: 177px;
  }

  .blog-date-badge {
    font-size: 12px;
    bottom: 10px;
    right: 10px;
  }

  .blog-card-main-info .news-info {
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3; /* Ограничение в 2 строки */
    -webkit-box-orient: vertical;
    font-size: 12px;
    line-height: 16px;
  }

  .blog-card-main-info .news-title {
    font-size: 13px;
    line-height: 18px;
  }

  .news-reading-time {
    padding: 4px 8px;
    font-size: 12px;
  }

  .blog-item-content {
        margin-bottom: 48px;
  }

  .blog-item-text {
    font-size: 13px;
  }

  .blog-item-reading-time img, .blog-item-date img {
    height: 17px;
    width: 17px;
  }

  .blog-item-reading-time, .blog-item-date {
    padding: 11.5px 12px;
    line-height: 17px;
    font-size: 12px;
  }
}

/* End */
/* /local/templates/main/components/bitrix/news/blog/style.css?1768388967402 */
/* /local/templates/main/components/bitrix/news/blog/bitrix/news.detail/.default/style.css?17757146765763 */
