

/* Start:/local/templates/karad/components/bitrix/news/blog/bitrix/news.detail/.default/style.css?178954208415140*/
body {
background: #0E1116;
}

.blog__detail-container {
    padding: 160px 0 90px;
}

/* Левая колонка */
.blog__detail-main {
    min-width: 0;
	max-width: 970px;
	width: 100%;
}
.blog__detail-flex {
	display: flex;
	justify-content: space-between;
	gap: 40px;
	widht: 100%;
}

.blog__detail-title {
    font-size: 58px;
    font-weight: 600;
    margin: 0 0 20px 0;
    line-height: 1.3;
}

.blog__detail-meta {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-bottom: 40px;
}

.blog__detail-date,
.blog__detail-views {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
	color: #947A63;

}

.blog__detail-date svg,
.blog__detail-views svg {
    flex-shrink: 0;
}

.blog__detail-text {
    font-size: 16px;
    line-height: 1.8;

}

.blog__detail-text h2,
.blog__detail-text-after h2 {
    font-size: 24px;
    font-weight: 600;
    margin: 0 0 20px 0;
    scroll-margin-top: 80px;
	text-transform: none;
}

.blog__detail-text h3,
.blog__detail-text-after h3 {
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 14px 0;
	text-transform: none;
}

.blog__detail-text p,
.blog__detail-text-after p {
    margin: 0 0 16px 0;
}

.blog__detail-text ul,
.blog__detail-text ol,
.blog__detail-text-after ul,
.blog__detail-text-after ol {
    margin: 0 0 16px 0;
    padding-left: 24px;
}

.blog__detail-text li,
.blog__detail-text-after li {
    margin-bottom: 8px;
}

.blog__detail-text img,
.blog__detail-text-after img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 20px 0;
}

/* Блок изображений перед вторым h2 */
.blog__detail-images {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.blog__detail-image-item {
    border-radius: 8px;
    overflow: hidden;
}

.blog__detail-image-item img {
    width: 100%;
    height: 290px;
    object-fit: cover;
}

.blog__detail-text-after {
    font-size: 16px;
    line-height: 1.8;
}

/* Детальное изображение в конце */
.blog__detail-featured-image {
    margin: 0 0 20px 20px;
    border-radius: 4px;
	float: right;
    overflow: hidden;
	height: 290px;
}

.blog__detail-featured-image img {
    width: 100%;
    height: 100%;
	object-fit: cover;
    display: block;
}

/* Правая колонка */
.blog__detail-sidebar {
    display: flex;
    flex-direction: column;
    gap: 30px;
	max-width: 350px;
	width: 100%;
}

.blog__detail-nav {
    background: #1A1E25;
    border-radius: 4px;
    padding: 20px;
}

.blog__detail-nav-title {
    font-size: 20px;
    font-weight: 600;
	text-transform: none;
    margin: 0 0 20px 0;
}

.blog__detail-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.blog__detail-nav-item {
    margin-bottom: 10px;
}

.blog__detail-nav-item:last-child {
    margin-bottom: 0;
}

.blog__detail-nav-link {
    font-size: 16px;
    color: #fff;
	font-weight: 400;
    text-decoration: underline;
    transition: color 0.3s ease;
    display: block;
	transition: all .4s;
    cursor: pointer;
}

.blog__detail-nav-link:hover {
    color: #947A63;
    text-decoration: underline;
}

/* Форма */
.blog__detail-form-wrapper {
    background: #947A63;
    border-radius: 4px;
    padding: 20px;
}

.blog__detail-form-title {
    font-size: 24px;
    font-weight: 600;
    color: #fff;
    margin: 0 0 14px 0;
	text-transform: none;
}

.blog__detail-form-subtitle {
  	font-size: 14px;
    font-weight: 400;
	line-height: 130%;
    color: #fff;
    margin: 0 0 40px 0;
	text-transform: none;
}

.blog__detail-form-row {
    display: flex;
	flex-direction: column;
	gap: 8px;
	margin-bottom: 8px;
}

.blog__detail-form-field {
    position: relative;
}



.blog__detail-form-input {
    width: 100%;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    background: #FFFFFF1A;
    transition: border-color 0.3s ease;
    box-sizing: border-box;
	color: #fff;
}
.blog__detail-form-input::placeholder {
	color: #FFFFFF80;
}

.blog__detail-form-input:focus {
    outline: none;
}

.blog__detail-select {
    position: relative;
}

.blog__detail-select-trigger {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    background: #fff;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-sizing: border-box;
    min-height: 46px;
}

.blog__detail-select-trigger:hover {
    border-color: #999;
}

.blog__detail-select-placeholder {
    color: #666;
}

.blog__detail-select-arrow {
    font-size: 12px;
    color: #666;
}

.blog__detail-select-dropdown {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    max-height: 200px;
    overflow-y: auto;
    z-index: 100;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.blog__detail-select-option {
    padding: 10px 16px;
    cursor: pointer;
    font-size: 14px;
    color: #333;
    transition: background 0.2s ease;
}

.blog__detail-select-option:hover {
    background: #f0f0f0;
}

.blog__detail-form-field--checkbox {
    margin: 16px 0;
}

.blog__detail-checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
}

.blog__detail-checkbox {
    margin-top: 2px;
    flex-shrink: 0;
	width: 16px;
	height: 16px;
}

.blog__detail-checkbox-text {
    font-size: 13px;
    color: #fff;
    line-height: 1.4;
}

.blog__detail-checkbox-text a {
    color: #fff;
	text-decoration: underline;
}

.blog__detail-submit {
    display: flex;
    justify-content: center;
    width: 100%;
    height: 60px;
    align-items: center;
    text-align: center;
    text-transform: uppercase;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    border-radius: 4px;
    transition: all 0.3s ease;
    background: #0E1116;
    clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 20px, 100% 100%, 20px 100%, 0 calc(100% - 20px));
    color: #fff;
}

.blog__detail-submit:hover {
    background: #fff;
    color: #0A0A0B;

}
@media (max-width: 1024px) {
	.blog__detail-flex {
		flex-direction: column;
	}
	.blog__detail-form-wrapper {
		display: none;
	}
	.blog__detail-sidebar, .blog__detail-main {
		max-width: 100%;
	}
	.blog__detail-main {
		order: 2;
	}
	.blog__detail-sideba {
		order: 1;
	}
	.blog__detail-title {
		font-size: 30px;
	}
	.blog__detail-featured-image {
		float: none;
		margin: 0 0 20px 0;
	}
}



@media (max-width: 480px) {
    .blog__detail-title {
        font-size: 22px;
    }
    

}








/* Похожие статьи */
.blog__similar {
    margin: 0 0 90px;
}

.blog__similar-title {
    font-size: 28px;
    font-weight: 600;
    margin: 0 0 30px 0;
    color: #fff;
    text-transform: none;
}

/* Slick Slider стили */
.blog__similar-slider {
    margin: 0 -10px;
}

.blog__similar-slide {
    padding: 0 10px;
}

.blog__similar-slide .blog__card {
    max-width: 100%;
}

/* Переопределяем стили для заголовков внутри слайдера */
.blog__similar-slide .blog__title {
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 10px 0;
    text-transform: none;
}

.blog__similar-slide .blog__title a {
    text-decoration: none;
    color: #fff;
}

.blog__similar-slide .blog__title a:hover {
    color: #947A63;
}

/* Переопределяем стили для карточек внутри слайдера */
.blog__similar-slide .blog__card {
    max-width: 100%;
    background: #1A1E25;
    border-radius: 4px;
}

.blog__similar-slide .blog__image {
    max-width: 100%;
    width: 100%;
    height: 230px;
}

.blog__similar-slide .blog__image-link {
    width: 100%;
    height: 100%;
}

.blog__similar-slide .blog__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
}

.blog__similar-slide .blog__content {
    padding: 20px;
    display: flex;
    flex-direction: column;
}

.blog__similar-slide .blog__meta {
    display: flex;
    justify-content: space-between;
}

.blog__similar-slide .blog__date,
.blog__similar-slide .blog__views {
    font-size: 12px;
    font-weight: 400;
    color: #947A63;
    position: relative;
    line-height: normal;
}

.blog__similar-slide .blog__views {
    padding-left: 20px;
    position: relative;
}

.blog__similar-slide .blog__views:before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    background-size: contain;
    background-repeat: no-repeat;
    width: 16px;
    height: 16px;
    background-image: url('/upload/blog.svg');
}

/* Стрелки слайдера */
/* Кастомные кнопки слайдера */
.blog__similar .slick-prev,
.blog__similar .slick-next {
    position: absolute;
    top: -40px;
    z-index: 10;
    width: 40px;
    height: 40px;
    padding: 0;
    background: transparent;
    border: none;
    cursor: pointer;
    font-size: 0;
    transition: all 0.3s ease;
    left: auto;
}

.blog__similar .slick-prev {
    right: 60px;
}

.blog__similar .slick-next {
    right: 10px;
}
.blog__similar .slick-next::before, .blog__similar .slick-prev::before {
    display: none;
}

.blog__similar .slick-prev svg,
.blog__similar .slick-next svg {
    width: 40px;
    height: 40px;
    transition: all 0.3s ease;
}

.blog__similar .slick-prev svg rect,
.blog__similar .slick-next svg rect {
    fill: #1A1E25;
    stroke: #947A63;
    transition: all 0.3s ease;
}

.blog__similar .slick-prev svg path,
.blog__similar .slick-next svg path {
    fill: #fff;
    transition: all 0.3s ease;
}

.blog__similar .slick-prev:hover svg rect,
.blog__similar .slick-next:hover svg rect {
    fill: #947A63;
    stroke: #947A63;
}

.blog__similar .slick-prev:hover svg path,
.blog__similar .slick-next:hover svg path {
    fill: #fff;
}






@media screen and (max-width: 1050px) {
    .blog__similar-title {
        font-size: 40px;
    }
}

@media screen and (max-width: 700px) {
    .blog__similar-title {
        font-size: 30px;
    }
}

@media screen and (max-width: 475px) {
    .blog__similar-title {
        font-size: 24px;
    }
}

@media screen and (max-width: 390px) {
    .blog__similar-title {
        font-size: 22px;
    }
}
/* ---- Таблицы в тексте статьи (16.09.2026) ----
   Редактор отдаёт <table border="1" cellpadding="1" cellspacing="1"> с <b> в первой строке;
   шаблон оборачивает каждую таблицу в .blog__table для горизонтальной прокрутки на узких экранах. */
.blog__table {
    margin: 24px 0 32px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: #947A63 transparent;
    border-radius: 4px;
}
.blog__detail-main table {
    width: 100%;
    min-width: 560px;
    border-collapse: separate;
    border-spacing: 0;
    border: 1px solid #2A2E36;
    border-radius: 4px;
    overflow: hidden;
    background: #15181D;
    font-size: 15px;
    line-height: 1.45;
    color: #EDEDED;
}
.blog__detail-main table td,
.blog__detail-main table th {
    padding: 12px 16px;
    border: 0;
    border-bottom: 1px solid #2A2E36;
    border-right: 1px solid #22262E;
    vertical-align: top;
    text-align: left;
}
.blog__detail-main table td:last-child,
.blog__detail-main table th:last-child { border-right: 0; }
.blog__detail-main table tr:last-child td { border-bottom: 0; }
/* Шапка — первая строка */
.blog__detail-main table tr:first-child td,
.blog__detail-main table th {
    background: #1A1E25;
    color: #C9A86A;
    font-weight: 600;
    font-size: 13px;
    letter-spacing: .04em;
    text-transform: uppercase;
    border-bottom: 2px solid #947A63;
}
.blog__detail-main table tr:first-child td b { font-weight: 600; }
/* Первая колонка — название строки */
.blog__detail-main table tr:not(:first-child) td:first-child {
    font-weight: 600;
    color: #fff;
}
/* Зебра и подсветка строки */
.blog__detail-main table tr:not(:first-child):nth-child(odd) td { background: rgba(255, 255, 255, .025); }
.blog__detail-main table tr:not(:first-child):hover td { background: rgba(148, 122, 99, .12); }
@media (max-width: 767px) {
    .blog__detail-main table { font-size: 14px; }
    .blog__detail-main table td, .blog__detail-main table th { padding: 10px 12px; }
}

/* ---- FAQ-аккордеон в статье (16.09.2026) ----
   Разметку собирает karadBlogFaqAccordion() в template.php из <h2>FAQ</h2> + <h3>/<p>.
   Стили — копия services-detail__faq-* со страниц услуг (usluga_razdel/style.css),
   там они не подключаются на блоге. Скрипт — в script.js шаблона. */
.blog__faq.services-detail__faq-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
    margin: 24px 0 32px;
}
.blog__faq .services-detail__faq-item {
    background: #1A1E25;
    padding: 20px;
    border-radius: 4px;
    position: relative;
}
.blog__faq .services-detail__faq-question {
    padding-right: 60px;
    cursor: pointer;
    user-select: none;
}
.blog__faq .services-detail__faq-question:focus-visible {
    outline: 2px solid #947A63;
    outline-offset: 4px;
    border-radius: 2px;
}
.blog__faq .services-detail__faq-item--active .services-detail__faq-question { margin: 0 0 16px; }
/* Вопрос остаётся h3 ради семантики, но без отступов заголовка статьи */
.blog__faq h3.services-detail__faq-question-text {
    margin: 0;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.3;
    color: #fff;
    text-transform: none;
}
.blog__faq .services-detail__faq-answer-content { font-size: 16px; line-height: 1.7; }
.blog__faq .services-detail__faq-answer-content p { margin: 0 0 12px; }
.blog__faq .services-detail__faq-answer-content p:last-child { margin-bottom: 0; }
.blog__faq .services-detail__faq-question-icon {
    position: absolute;
    right: 20px;
    top: 20px;
    width: 40px;
    height: 40px;
    background: #15181D;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 4px;
    transition: all .4s;
    cursor: pointer;
}
.blog__faq .services-detail__faq-question-icon:hover { top: 18px; }
.blog__faq .services-detail__faq-item--active .services-detail__faq-question-icon { background: #947A63; }
.blog__faq .services-detail__faq-question-icon svg { transition: all .4s; }
.blog__faq .services-detail__faq-item--active .services-detail__faq-question-icon svg path { fill: #0A0A0B; }
@media (max-width: 767px) {
    .blog__faq .services-detail__faq-item { padding: 16px; }
    .blog__faq .services-detail__faq-question { padding-right: 52px; }
    .blog__faq h3.services-detail__faq-question-text { font-size: 17px; }
    .blog__faq .services-detail__faq-question-icon { right: 16px; top: 16px; width: 36px; height: 36px; }
}

/* End */
/* /local/templates/karad/components/bitrix/news/blog/bitrix/news.detail/.default/style.css?178954208415140 */
