

/* Start:/local/templates/main/components/bitrix/news.detail/blog/style.css?178049457811795*/
.blog-detail {
}
.summary {
  margin-bottom: 40px;
}
.summary ul {
  background-color: #ece9e2;
  padding: 25px;
  list-style: none;
  border-radius: 15px;
  margin-bottom: 0;
}
@media (min-width: 601px) {
  .summary__button {
    background-color: transparent;
    border: none;
    color: #201f1c;
    display: flex;
    gap: 5px;
    align-items: center;
    outline: none !important;
  }
  .summary__button svg {
    width: 20px;
    height: 20px;
    transition: all 0.3s ease;
  }
  .summary__button.active svg {
    transform: rotate(180deg);
  }
  .summary
    ul
    .summary__list-item:not(
      .summary__list-item:nth-child(1),
      .summary__list-item:nth-child(2),
      .summary__list-item:nth-child(3)
    ) {
    max-height: 0;
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
    margin: 0;
    transition: all 0.3s ease;
  }
  .summary
    ul.open
    .summary__list-item:not(
      .summary__list-item:nth-child(1),
      .summary__list-item:nth-child(2),
      .summary__list-item:nth-child(3)
    ) {
    max-height: 250px;
    opacity: 1;
    pointer-events: all;
    visibility: visible;
    margin: 0 0 20px;
    transition: all 0.3s ease;
  }
}
.summary a {
  font-family: "Graphik Compact", sans-serif;
  font-size: 18px;
  line-height: 120%;
  color: #201f1c;
  transition: all 0.3s ease;
}
.blog-sidebar {
  position: sticky;
  top: 110px;
}
.blog-sidebar.sticky ul li {
  transition:
    opacity 0.2s ease-in-out,
    visibility 0.2s ease-in-out,
    max-height 0.2s ease-in-out;
  margin: 0 0 20px;
}
.blog-sidebar:not(.sticky) ul li {
  margin: 0 0 20px;
}
.blog-sidebar::-webkit-scrollbar {
  display: none;
}
.summary a.active,
.summary a:hover {
  color: #545a94;
}

.blog-detail-header {
  position: relative;
  min-height: 550px;
  background-position: 50% 50%;
  background-repeat: no-repeat;
  background-size: cover;
  margin-bottom: 30px;
}

.blog-detail-header:after {
  content: "";
  position: absolute;
  display: block;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  left: 0;
  top: 0;
}
.blog-detail-header-content {
  padding: 192px 24px 24px 24px;
  position: relative;
  z-index: 4;
}

.blog-detail-title {
  font-size: 40px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 26px;
}
.blog-detail__box,
.blog-detail__button {
  display: none;
}

@media (max-width: 667px) {
  .blog-detail-title {
    font-size: 22px;
  }
}

@media (max-width: 600px) {
  .summary {
    position: fixed;
    inset: 0;
    z-index: 999;
    margin-bottom: 0;
    max-height: 100vh;
    overflow-y: auto;
    display: none;
  }
  .summary.open {
    display: block;
  }
  .summary.open ul {
    height: 100%;
  }
  .blog-detail__box {
    margin-bottom: 30px;
    display: block;
    width: 100%;
    position: sticky;
    top: 85px;
  }
  .blog-detail__button {
    display: block;
    width: 100%;
    text-align: center;
    opacity: 1;
    pointer-events: auto;
    transition: opacity 0.2s;
  }
  .blog-detail__button.hidden {
    opacity: 0;
    pointer-events: none;
  }
  .summary a {
    font-size: 16px;
  }
  .summary button {
    display: none;
  }
  .blog-sidebar {
    position: static;
    max-height: unset;
    overflow: auto;
  }
}

.blog-detail .category-tag {
  display: inline-block;
  border: 1px solid #fff;
  border-radius: 3px;
  padding: 5px 20px;
  color: #fff;
  font-size: 12px;
  text-transform: uppercase;
  z-index: 5;
  margin-bottom: 25px;
  margin-right: 10px;
}

.blog-detail .blog-info {
  display: flex;
  align-items: center;
  opacity: 0.7;
  font-size: 12px;
  color: #fff;
  margin-bottom: 67px;
}
.blog-detail .blog-info > div {
  display: inline-flex;
  align-items: center;
}
.blog-detail .blog-info > div span {
  margin-left: 10px;
}
.blog-detail .blog-info .date {
  margin-right: 36px;
}

.blog-detail-autor {
  display: flex;
  align-items: center;
}
.blog-detail-autor-image {
  flex: none;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  margin-right: 15px;
}
.blog-detail-autor-info {
  color: #fff;
  font-size: 12px;
}
.blog-detail-autor-info .autor-text {
  margin-bottom: 5px;
}
.blog-detail-autor-info .autor-title span {
  font-size: 16px;
  margin-bottom: 5px;
  text-transform: uppercase;
  font-weight: 700;
  color: #fff;
  display: block;
}
.blog-detail-autor-info .autor-position {
  opacity: 0.7;
  font-style: italic;
}

.page_title,
section.breadcrumb {
  display: none !important;
}

.blog-breadcrumb {
  position: absolute;
  top: 24px;
  left: 24px;
  width: calc(100% - 48px);
}
.blog-breadcrumb a {
  color: #fff;
  opacity: 0.7;
}
.blog-breadcrumb span {
  color: #fff;
}

.blog-detail-body {
  margin-bottom: 60px;
}

.blog-detail-content {
  font-size: 16px;
  margin-bottom: 60px;
}
.blog-detail-content p {
  font-size: 16px;
  margin-bottom: 30px;
}
.blog-detail-content img {
  display: block;
  margin-bottom: 30px;
}

.blog-detail .blog-subscribe {
  display: block;
  padding-left: 20px;
  border-left: 1px solid #efefef;
}
.blog-detail .blog-subscribe .title {
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  color: #4a4a4a;
  margin-bottom: 30px;
  position: relative;
}
.blog-detail .blog-subscribe .title:before {
  content: "";
  display: block;
  position: absolute;
  width: 3px;
  height: 36px;
  background: #f50057;
  left: -20px;
  top: -8px;
}
.blog-detail .blog-subscribe .description {
  font-size: 16px;
  color: #4a4a4a;
  margin-bottom: 30px;
}
.blog-detail .blog-subscribe .main-btn {
  width: 100%;
  text-align: center;
}

.blog-subscribe-form input[type="email"] {
  height: 50px;
  padding: 0 24px;
  border: 1px solid #dfdfdf;
  outline: none;
  border-radius: 3px;
  font-size: 14px;
  color: #4a4a4a;
  width: 100%;
  margin-bottom: 24px;
}

.blog-subscribe-form .success {
  display: none;
  font-size: 16px;
  color: #4a4a4a;
  font-weight: 700;
}
.blog-subscribe-form.sended .success {
  display: block;
}
.blog-subscribe-form.sended .main-btn,
.blog-subscribe-form.sended input[type="email"] {
  display: none;
}
.blog-subscribe-form.error input[type="email"] {
  border-color: red;
}

.side-banner {
  position: relative;
  padding: 24px;
  background-size: cover;
  background-position: 50% 50%;
  background-repeat: no-repeat;
  min-height: 400px;
  margin-bottom: 40px;
}
.side-banner .type {
  font-size: 12px;
  color: #fff;
  opacity: 0.8;
  text-transform: uppercase;
  font-weight: 600;
}
.side-banner .title {
  font-size: 24px;
  color: #fff;
  font-weight: 700;
  margin: 140px 0 35px;
}
.side-banner .link {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.side-banner .more {
  font-weight: 300;
}

.blog-share {
  margin: 30px 0;
}
.blog-share p {
  margin-bottom: 25px;
  font-weight: 700;
}

.blog-another-material {
  background: #efefef;
  padding: 95px 0;
  position: relative;
  overflow-x: hidden;
}
.blog-another-material h2 {
  font-size: 32px;
  font-weight: 700px;
  margin-bottom: 65px;
}
.blog-another-material:after {
  content: "";
  display: block;
  width: 100vw;
  height: 100%;
  top: 0;
  left: 0;
  /*transform: translateX(-50%);*/
  position: absolute;
  background: #efefef;
  z-index: -1;
  pointer-events: none;
}

.blog-detalil-other-links {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 30px 0;
}

.blog-detalil-other-links .prev-blog,
.blog-detalil-other-links .next-blog {
  position: relative;
  display: flex;
  align-items: center;
}
.blog-detalil-other-links .prev-blog {
  order: 1;
}
.blog-detalil-other-links .prev-blog:before {
  content: "";
  display: inline-block;
  width: 40px;
  height: 40px;
  background: url("/bitrix/templates/stonecity_copy/images_new/arr_left.svg")
    no-repeat 50% 50%;
  border-radius: 50%;
  margin-right: 15px;
}
.blog-detalil-other-links .next-blog {
  order: 3;
}

.blog-detalil-other-links .next-blog:after {
  content: "";
  display: inline-block;
  width: 40px;
  height: 40px;
  background: url("/bitrix/templates/stonecity_copy/images_new/arr_right.svg")
    no-repeat 50% 50%;
  border-radius: 50%;
  margin-left: 15px;
}

.blog-detalil-other-links .all-blog {
  order: 2;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 1024px) {
  .blog-detail-body.row {
    margin: 0;
  }
}

@media (max-width: 667px) {
  .blog-detalil-other-links {
    flex-wrap: wrap;
  }

  .blog-detalil-other-links .all-blog {
    order: 10;
    flex-grow: 1;
    margin-top: 30px;
    width: 100%;
    text-align: center;
  }
}
.blog-detail-autor-wrapper .autor-text {
  color: #fff;
  font-size: 12px;
  margin-bottom: 5px;
}
.blog-detail-autor-wrapper .blog-detail-autor {
  margin-bottom: 5px;
}
.blog-detail-autor-wrapper .blog-detail-autor:last-child {
  margin-bottom: 0;
}
ul.ulkvadr {
  list-style-type: square;
}
blockquote {
  padding-left: 90px;
  padding-top: 25px;
  padding-bottom: 25px;
  background-color: #f9f9f9;
  background-image: url("/images/quote.svg");
  background-repeat: no-repeat;
  background-position: 20px 15px;
  margin-top: 35px;
  margin-bottom: 35px;
  line-height: 1.8;
}
@media (max-width: 500px) {
  blockquote {
    padding-left: 70px;
    background-position: 15px 15px;
  }
}

/* === Карточка курса === */
.course-card {
  position: relative;
  width: 100%;
  max-width: 600px;
  background-color: #ffffff;
  border: 1px solid #dc582a;
  border-radius: 20px;
  padding: 24px;
  font-family: Arial, sans-serif;
  color: #000000;
  box-sizing: border-box;
  margin: 20px auto;
}

/* Круглый блок со скидкой */
.discount-badge {
  position: absolute;
  top: -15px;
  right: -15px;
  width: 110px;
  height: 110px;
  background-color: #DC582A;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  padding: 10px;
}

.discount-percent {
  font-size: 28px;
  font-weight: bold;
  line-height: 1;
  margin-bottom: 4px;
}

.discount-label {
  font-size: 12px;
  font-weight: normal;
  line-height: 1.2;
}

.discount-payment {
  font-size: 10px;
  font-weight: normal;
  line-height: 1.2;
  margin-top: 2px;
}

/* Заголовок */
.course-title {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 16px;
  line-height: 1.3;
  text-align: left;
  padding-right: 70px; /* Чтобы текст не залезал под скидку */
}

/* Тип программы - ЧЁРНЫЙ цвет */
.program-type {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 16px;
  color: #000000;
  display: block;
  width: fit-content;
  background-color: #AF1685;
  color: white;
  padding: 6px;
  border-radius: 8px;
}

/* Описание курса */
.course-description {
  font-size: 16px;
  line-height: 1.5;
  margin-bottom: 24px;
}

/* Кнопка */
.btn-course {
  display: inline-block;
  background-color: #C5003E;
  color: #fff;
  text-decoration: none;
  padding: 14px 28px;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 600;
  text-align: center;
  transition: background-color 0.3s ease;
  border: none;
  cursor: pointer;
}

.btn-course:hover {
  background-color: #9e0031;
}

/* Адаптив для мобильных */
@media (max-width: 550px) {
  .course-card {
    padding: 20px;
  }
  .discount-badge {
    width: 85px;
    height: 85px;
    right: -30px;
    top: -30px;
  }
  .discount-percent {
    font-size: 22px;
  }
  .discount-label {
    font-size: 10px;
  }
  .discount-payment {
    font-size: 8px;
  }
  .course-title {
    font-size: 20px;
    padding-right: 0px;
  }
  .program-type {
    font-size: 16px;
    max-width: 230px;
  }
  .btn-course {
    padding: 12px 24px;
    font-size: 14px;
  }
}
/* === Карточка курса === */

/* End */


/* Start:/local/templates/main/components/bitrix/news.list/blog_list_min/style.css?17368576992976*/
.blog-list{
	display: grid;
	grid-template-rows: auto;
	grid-template-columns: 1fr 1fr 1fr;
	grid-gap: 30px;
}


@media (max-width: 990px) {
	.blog-list{
		/* grid-gap: 15px; */
	}
	.blog-list{
		grid-template-rows: auto auto;
		grid-template-columns: 1fr 1fr;
	}
	.blog-list .title{
		max-height: 77px;
		overflow: hidden;
	}
}

@media (max-width: 662px) {
	.blog-list{
		display: block;
	}
	
	.blog-list .blog-item{
		margin-bottom: 30px;
	}
}


.blog-list .blog-item{
	display: flex;
    flex-direction: column;
	position: relative;
	border: 1px solid #DFDFDF;
	background: #fff;
}


.blog-list .blog-item.alt_view{
	height: 220px;
}

.blog-list .blog-item.big{
	height: 470px;
    grid-column-start: 1;
    grid-column-end: 3;
    grid-row-start: 1;
    grid-row-end: 3;
}


@media (max-width: 662px) {
	.blog-list .blog-item.alt_view{
		height: 250px;
	}
	.blog-list .blog-item.big{
		height: 250px;
	}
	
}

.blog-list .blog-item .group{
	padding: 24px;
	flex-grow: 1;
    display: flex;
    flex-direction: column;
}
.blog-list .detail-link{
	position: absolute;
	display: block;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	z-index: 10 !important;
}
.blog-list .category-tag{
	position: absolute;
	top: 24px;
	left: 24px;
	border: 1px solid #fff;
	border-radius: 3px;
	padding: 5px 20px;
	color: #fff;
	font-size: 12px;
	text-transform: uppercase;
	z-index: 5;
}
.blog-list .image:after{
	content: '';
	display: block;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	position: absolute;
	background: rgba(0,0,0,0.3);
}
.blog-list .image{
	position: relative;
}
.blog-list .title{
	font-size: 18px;
	font-weight: 700;
	color: #4A4A4A;
	margin-bottom: 40px;
	flex-grow: 1;
}
.blog-list .blog-info{
	display: flex;
	align-items: center;
	opacity: 0.7;
	font-size: 12px;
	color: #A7A7A7;
}
.blog-list .blog-info>div{
	display: inline-flex;
	align-items: center;
}
.blog-list .blog-info > div span{
	margin-left: 10px;
}
.blog-list .blog-info .date{
	margin-right: 36px;
}

.blog-list .blog-item.alt_view .blog-info{
	color: #fff;
}	
.blog-list .blog-item.alt_view .blog-info svg path{
	fill: #fff !important;
}	
.blog-list .blog-item.alt_view .title{
	color: #fff;
	margin-bottom: 24px;
}


.blog-list .blog-item.alt_view {

}
.blog-list .blog-item.alt_view .group{
	position: absolute;
	left: 0;
	bottom: 0;
}
.blog-list .blog-item.alt_view {
	background-repeat: no-repeat;
	background-position: 50% 50%;
	background-size: cover;
}
.blog-list .blog-item.alt_view:after{
	content: '';
	display: block;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	position: absolute;
	background: rgba(0,0,0,0.3);
}
.blog-list .blog-item.alt_view>*{
	z-index: 5;
}

.page_title .title_container{
	text-align: center;
	justify-content: center;
}

@media (max-width: 720px){
	.content_wrapper {
		margin-top: 0px !important;
	}
	.page_title .title_container{
		min-height: auto;
		text-align: left;
		justify-content: flex-start;
	}
	.page_title{
		min-height: auto !important;
	}

}
/* End */
/* /local/templates/main/components/bitrix/news.detail/blog/style.css?178049457811795 */
/* /local/templates/main/components/bitrix/news.list/blog_list_min/style.css?17368576992976 */
