

/* Start:/local/templates/.default/components/bitrix/news/.default/bitrix/news.detail/.default/style.css?17768436889884*/
.news-detail-content {
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
	font-size: 18px;
	line-height: 1.6;
	color: var(--opdev-gray-800);
	font-weight: 400;
	margin: 0;
	padding: 0 0 40px 0;
}

.news-detail-content,
.news-detail-content p,
.news-detail-content li,
.news-detail-content div,
.news-detail-content b,
.news-detail-content strong,
.news-detail-content span {
	word-break: normal !important;
	overflow-wrap: break-word !important;
}

.news-detail-content h1,
.news-detail-content h2,
.news-detail-content h3,
.news-detail-content h4,
.news-detail-content h5,
.news-detail-content h6 {
	color: var(--opdev-dark);
	font-weight: 700;
	line-height: 1.3;
	margin-top: 2.5em;
	margin-bottom: 0.8em;
	letter-spacing: -0.02em;
}

.news-detail-content h2 {
	font-size: 32px;
	border-bottom: none;
	position: relative;
}

.news-detail-content h3 {
	font-size: 26px;
	color: var(--opdev-gray-800);
}

.news-detail-content h4 {
	font-size: 22px;
}

.news-detail-content p {
	font-size: 18px !important;
	color: var(--opdev-gray-800) !important;
	margin-bottom: 24px !important;
}

.news-detail-content b,
.news-detail-content strong {
	font-weight: 700;
	color: var(--opdev-black);
}

.news-detail-content a {
	color: var(--opdev-primary);
	text-decoration: none;
	background-image: linear-gradient(currentColor, currentColor);
	background-position: 0% 100%;
	background-repeat: no-repeat;
	background-size: 100% 2px;
	transition: background-size 0.3s ease, color 0.3s ease;
	padding-bottom: 2px;
}

.news-detail-content a:hover {
	color: var(--opdev-primary-dark);
	background-size: 100% 3px;
}

.news-detail-content ul,
.news-detail-content ol {
	margin-bottom: 24px !important;
	padding-left: 20px;
}

.news-detail-content li {
	font-size: 18px !important;
	color: var(--opdev-gray-800) !important;
	padding-left: 10px;
	position: relative;
}

.news-detail-content ul {
	list-style: none;
}

.news-detail-content ul li::before {
	content: "•";
	color: var(--opdev-primary);
	font-weight: bold;
	display: inline-block;
	width: 1em;
	margin-left: -1em;
	font-size: 1.2em;
	line-height: 1;
}

.news-detail-content ol {
	list-style-type: decimal;
	color: var(--opdev-gray-600);
	font-weight: 600;
}

.news-detail-content ol li::marker {
	color: var(--opdev-primary);
	font-weight: bold;
}

.news-detail-content blockquote {
	position: relative;
	margin: 3em 0;
	padding: 1.5em 2em;
	background: var(--opdev-light);
	border-left: 6px solid var(--opdev-primary);
	font-size: 1.1em;
	font-style: italic;
	color: var(--opdev-gray-700);
	border-radius: 0 8px 8px 0;
}

.news-detail-content blockquote::before {
	content: "“";
	position: absolute;
	top: -10px;
	left: 10px;
	font-size: 4em;
	line-height: 1;
	color: var(--opdev-primary-light);
	pointer-events: none;
}

.news-detail-content blockquote p:last-child {
	margin-bottom: 0;
}

.news-detail-content img,
.news-detail-content video {
	max-width: 100%;
	height: auto;
	display: block;
	margin: 10px auto;
	border-radius: 24px;
}

.news-detail-content figure {
	margin: 3em 0;
}

.news-detail-content figcaption {
	text-align: center;
	font-size: 0.9em;
	color: var(--opdev-gray-600);
	margin-top: 1em;
	font-style: italic;
}

.news-detail-content table {
	width: 100%;
	border-collapse: separate;
	border-spacing: 0;
	margin: 3em 0;
	border: 1px solid var(--opdev-gray-200);
	border-radius: 8px;
	overflow: hidden;
}

.news-detail-content th,
.news-detail-content td {
	font-size: 18px !important;
	color: var(--opdev-gray-800) !important;
	padding: 15px 20px;
	text-align: left;
	border-bottom: 1px solid var(--opdev-gray-200);
}

.news-detail-content th {
	background-color: var(--opdev-gray-100);
	font-weight: 700;
	color: var(--opdev-gray-900);
	text-transform: uppercase;
	font-size: 0.85em;
	letter-spacing: 0.05em;
}

.news-detail-content tr:last-child td {
	border-bottom: none;
}

.news-detail-content tr:hover td {
	background-color: var(--opdev-light);
}

.news-detail-content hr {
	border: 0;
	height: 1px;
	background-image: linear-gradient(to right, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0));
	margin: 4em 0;
}

@media (max-width: 768px) {
	.news-detail-content {
		font-size: 17px;
		padding: 0 15px;
	}

	.news-detail-content h2 {
		font-size: 26px;
	}

	.news-detail-content h3 {
		font-size: 22px;
	}

	.news-detail-content blockquote {
		padding: 1em 1.5em;
		margin: 2em 0;
	}
}

.content_wrap {
	max-width: 100% !important;
}

.news-date {
	display: inline-flex;
	align-items: center;
	color: var(--opdev-gray-600);
	font-size: 14px;
	background-color: var(--opdev-gray-100);
	border-radius: 20px;
	font-weight: 500;
}

.news-date svg {
	width: 16px;
	height: 16px;
	margin-right: 8px;
	color: var(--opdev-primary);
}

.news-detail-title {
	margin-bottom: 24px;
}

.news-detail-content img[align="left"],
.news-detail-content img[style*="float: left"],
.news-detail-content img[style*="float:left"] {
	margin: 0 32px 24px 0 !important;
	float: left;
}

.news-detail-content img[align="right"],
.news-detail-content img[style*="float: right"],
.news-detail-content img[style*="float:right"] {
	margin: 0 0 24px 32px !important;
	float: right;
}

.news-table-wrapper {
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	margin-bottom: 24px;
	width: 100%;
}

.news-table-wrapper table {
	min-width: 600px;
	margin-bottom: 0 !important;
}

/* Одиночные изображения */
.article-image {
	margin: 16px auto;
	text-align: center;
}

.article-image img {
	max-width: 100%;
	height: auto;
	display: block;
	margin: 0 auto;
}

.article-image figcaption {
	font-size: 14px;
	color: #777;
	margin-top: 6px;
}

/* Галерея: максимум 2 в ряд */
.article-gallery {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 16px;
	margin: 20px 0;

	align-items: start;
	/* выравнивание по верху */
}

/* figure */
.article-gallery .article-image {
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
}

/* ✅ если количество картинок нечётное —
   последняя занимает две колонки и центрируется */
.article-gallery .article-image:last-child:nth-child(odd) {
	grid-column: 1 / -1;
	justify-self: center;
}

/* Адаптив */
@media (max-width: 640px) {
	.article-gallery {
		grid-template-columns: 1fr;
	}

	.article-gallery .article-image:last-child:nth-child(odd) {
		grid-column: auto;
	}
}

.article-gallery .article-image {
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	/* ✅ картинка всегда вверху, подпись под ней */
}

.article-gallery figcaption {
	font-style: normal;
	font-size: 16px;
	color: var(--opdev-gray-800);
	margin-top: 10px;
	line-height: 1.5;
}

/* code for text and image block BEGIN */
.article_p p {
    padding: 0;
    margin: 0;
    white-space: break-spaces;
}

.article_img {
  width: 100%;
  height: auto;
}
/* code for text and image block END */

/* code for advantages block BEGIN */
.adv_wrap {
  max-width: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 4fr;
  gap: 1rem;
  align-items: center;
}

.adv-container {
  max-width: 100%;
  margin: auto;
  border-top: 1px #e9e9e9 solid;
  border-bottom: 1px #e9e9e9 solid;
  padding-top: 2em;
  padding-bottom: 2em;
  margin-top: 1.5em;
  position: relative;
}

.adv-block {
  width: 25%;
  float: left;
  text-align: center;
}

.adv-block:last-child {
  margin-right: 0;
}


.adv-block span,
.adv-block p {
  font-family: sans-serif;
  letter-spacing: -0.2px;
}

.adv-block span {
  display: block;
 
}
.adv-photo {
  border-radius: 50%;
  text-align: center;
  margin: auto;
  max-width: 100%;
  height: auto;
  transition: 0.1s transform ease-in-out;
}

.adv-photo:hover {
  transform: scale(0.9);
  cursor: pointer;
}

/* code for phone layout */
@media (max-width:850px){
  .adv-block {
    width:25%;
    margin-left: 4%;
    margin-right: 4%;
    margin-bottom: 40px;
  }
}

@media (max-width:650px){
  .adv-block {
    float: none;
    display: block;
    margin: 50px auto;
    width: 100%;
    text-align: center;
  }
  
  .adv-block p,
  .adv-block span {
    margin: 15px auto;
  }
}
/* code for advantages block END */

/* code for dropdown section BEGIN */
@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes fadeOut {
  0% {
    opacity: 1;
  }

  100% {
    opacity: 0;
  }
}

.dropdown-section {
  margin-top: 1em;
  max-width: 100%;
}

.dropdown-action {
  width: 100%;
  background-color: #00A9B9;
  color: white;
  padding: 0.5em 0.5em;
  border-radius: 0.25em;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
}

.dropdown-action:hover {
  background-color: #050C24;
}

.dropdown-action .caret-down {
  height: 100%;
  display: flex;
  align-items: center;
}

.dropdown-action .caret-down svg {
  fill: white;
  width: 1.25em;
  height: 1.25em;
  transform: rotateZ(360deg);
  transition: transform 0.2s ease-in-out;
}

.dropdown-action.active-dropdown span svg {
  transform: rotateZ(180deg);
}

.dropdown-content {
  padding: 0 0.2em;
  max-height: 0;
  transition: max-height 0.5s ease-in-out;
  overflow: hidden;
  background-color: white;
  padding: 0;
  display: flex;
  align-items: center;
  flex-direction: column;
}

.dropdown-content * {
  animation: fadeOut 0.5s ease-in-out;
  opacity: 0;
  padding: .5em;
}

.dropdown-action.active-dropdown + .dropdown-content * {
  animation: fadeIn 0.5s ease-in-out;
  opacity: 1;
}

.dropdown-content img {
  width: 100%;
  height: auto;
  max-width: fit-content;
  margin-bottom: .5em;
}
/* code for dropdown section END */
/* End */
/* /local/templates/.default/components/bitrix/news/.default/bitrix/news.detail/.default/style.css?17768436889884 */
