@font-face {
    font-family: 'OddsRegular'; /* Название шрифта для использования в CSS */
    src: url('../assets-faq/fonts/odds_regular.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

body {
	font-family: 'Arial', sans-serif;
	background: #f7f8fa;
	color: #222;
	margin: 0;
	padding: 0;
}

/* Header */
.faq-header {
    display: flex;
    align-items: center;
    justify-content: flex-start; /* логотип слева */
    background-color: #f7f8fa;
    padding: 32px 54px;
}

.faq-header__logo img {
    width: 156px;
    height: 64px;
    object-fit: contain;
    transition: transform 0.2s ease;
}

/* Небольшой эффект при наведении */
.faq-header__logo:hover img {
    transform: scale(1.05);
}

/* 📱 Адаптив для экранов < 600px */
@media (max-width: 600px) {
    .faq-header {
        padding: 16px;
    }

    .faq-header__logo img {
        width: 98px;
        height: 40px;
    }
}
/* Footer */
.faq-footer {
    display: flex;
    align-items: center;
    justify-content: space-between; /* логотип слева */
    background-color: #323232;
    padding: 54px;
}

.faq-footer__logo img {
    width: 116px;
    height: 48px;
    object-fit: contain;
    margin-bottom: 60px;
}
.faq-footer__logo-download img {
    width: 160px;
    height: 40px;
    object-fit: contain;
    margin-bottom: 20px;
}
.faq-footer-logo-block{
  display: flex;
  flex-direction:column;
  align-items: flex-start;
	justify-content: center; 
}
.faq-footer-logo-block p {
	margin: 0;
  color:#ffffff;
	max-width: 280px;
	font-size:16px;
	line-height:24px;
	opacity: 0.6;
}

.faq-footer-logo-block span {
	margin: 0;
  color:#ffffff;
	max-width: 280px;
	font-size:10px;
	line-height:24px;
	opacity: 0.6;
	font-weight:600;
	width: 100%;
	margin-bottom: 16px;
	text-align: right;
	text-align: center;
}

@media (max-width: 600px) {
    .faq-footer {
        flex-direction: column; /* ✅ теперь один под другим */
        align-items: center; /* выравниваем по центру */
        text-align: center;
				flex-wrap: wrap; /* ✅ разрешаем перенос */
    		gap: 16px; 
				padding: 16px;
    }
		.faq-footer__logo img {
    		display:none
		}
		.faq-footer-logo-block p {
			font-size:14px;
			line-height:20px;
			opacity: 0.6;
		}
		.faq-footer-logo-block span {
			text-align: center;
		}
}

/* Main */
.faq-main {
	width:100%;
}

 .faq-sidebar-wrap{
	display: flex;
	justify-content: space-between;
 }

.faq-content {
	margin: 0 auto;
	padding: 20px 52px;
	width: 100%;
	text-align: left;
}
.faq-content-wrap{
		width: 100%;
}
.faq-content-title {
		width: 100%;
		padding: 61px 52px 0 52px;
		font-family: 'OddsRegular', Arial, sans-serif;
		color: #FF5A1E;
		font-size: 52px;
}

/* Все заголовки внутри faq-content оранжевого цвета */
.faq-content h1,
.faq-content h2,
.faq-content h3,
.faq-content h4,
.faq-content h5,
.faq-content h6 {
	color: #FF5A1E;
	font-weight: 600;
  line-height: 36px;
}

/* Стили для текста и ссылок внутри faq-content */
.faq-content p,
.faq-content a {
	font-size: 20px;
	line-height: 36px;
	word-wrap: break-word;
}

.faq-content a {
	text-decoration: underline;
	cursor: pointer;
	color:#323232;
}

/* Bradcrumbs */
.faq-breadcrumbs{
	min-height: 98px;
	background-color:#ECECED;
	display: flex;
	align-items: center;
	justify-content: flex-start;
	padding: 36px 52px;
	flex-wrap: nowrap;
  gap: 12px; 
}
.faq-breadcrumbs span {
	text-align: center;
	margin: 0;
	font-size: 16px;
	line-height: 16px;
	color: #8B8D92;
	white-space: nowrap;
	flex-shrink: 0;
}
.faq-breadcrumbs a {
	margin: 0;
	text-align: center;
	font-size: 16px;
	line-height: 16px;
	color: #8B8D92;
	white-space: nowrap;
	flex-shrink: 0;
}

.faq-breadcrumbs p {
	margin: 0;
	text-align: left;
	font-size: 16px;
	line-height: 16px;
	color: #FF5A1E;
	flex: 1;
	min-width: 0;
	word-break: normal;
	overflow-wrap: break-word;
	white-space: normal;
}
.faq-breadcrumbs a:hover {
  color: #FF5A1E;
; /* цвет при наведении */
  /* Можно добавить плавный переход */
  transition: color 0.3s ease;
}

@media (max-width: 600px) {
	.faq-breadcrumbs{
		min-height: 48px;;
gap: 6px;
	padding: 8px 20px;
}
    .faq-breadcrumbs a, p {

	font-size: 12px;
	line-height: 12px;
}
	.faq-content-title {
		font-size: 38px;
		padding: 20px 20px 0 20px;
		text-align: center;
	}

	.faq-content {
		padding: 20px 20px;
	}

	.faq-content p,
	.faq-content a {
		font-size: 14px;
		line-height: 25px;
	}

	.faq-content h1,
	.faq-content h2,
	.faq-content h3,
	.faq-content h4,
	.faq-content h5,
	.faq-content h6 {
		margin-bottom: 20px;
	}
}

/* Sidebar */
.faq-sidebar {
	width: 385px;
	border-left: 1px solid #d0d0d0;
	box-shadow: -4px 0 16px rgba(0, 0, 0, 0.15);
	padding-left: 32px;
}

.faq-sidebar-categories {
	width: 100%;
}

.faq-sidebar-category:first-child {
	margin-top: 10px;
}


.faq-sidebar-category-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	cursor: pointer;
	padding: 16px;
	margin-left: -16px;
	transition: all 0.2s ease;
}

.faq-sidebar-category-header:hover {
	background-color: #f9f9f9;
}

.faq-sidebar-category-header h3 {
	margin: 0;
	font-size: 20px;
	font-weight: 600;
	color: #8B8D92;
}

.faq-sidebar-category.open .faq-sidebar-category-header {
	border-left: 4px solid #FF5A1E;
}

.faq-sidebar-category.open .faq-sidebar-category-header h3 {
	color: #323232;
}

/* Стили для новой структуры с ссылками */
.faq-sidebar-category-link {
	display: flex;
	justify-content: space-between;
	align-items: center;
	cursor: pointer;
	padding: 16px;
	margin-left: -16px;
	transition: all 0.2s ease;
	text-decoration: none;
}

.faq-sidebar-category-link:hover {
	background-color: #f9f9f9;
}

.faq-sidebar-category-link h3 {
	margin: 0;
	font-size: 20px;
	font-weight: 600;
	color: #8B8D92;
}

.faq-sidebar-category.active .faq-sidebar-category-link {
	border-left: 4px solid #FF5A1E;
}

.faq-sidebar-category.active .faq-sidebar-category-link h3 {
	color: #323232;
}

.faq-sidebar-toggle {
	display: none;
}

.faq-sidebar-list {
	list-style: none;
	margin: 0;
	padding: 0;
	padding-left: 16px;
}

.faq-sidebar-list li {
	margin-bottom: 12px;
}

.faq-sidebar-list li a {
	font-size: 16px;
	line-height: 24px;
	color: #323232;
	text-decoration: none;
	transition: color 0.2s ease;
}

.faq-sidebar-list li a:hover {
	color: #FF5A1E;
}

.faq-sidebar-list li.current-post a {
	color: #FF5A1E;
	font-weight: 600;
}

/* Адаптив для сайдбара */
@media (max-width: 800px) {
	.faq-sidebar {
		display: none;
	}
}

@media (min-width: 801px) and (max-width: 1100px) {
	.faq-sidebar {
		width: 280px;
		padding-left: 20px;
	}

	.faq-sidebar-category-header h3 {
		font-size: 18px;
	}

	.faq-sidebar-list li a {
		font-size: 14px;
		line-height: 20px;
	}
}

/* ARCHIVE PAGE */

/* Buttons */
.faq-archive-page-wrap {
		width: 100%;
		margin: 0 auto;
		padding: 60px 56px;
		background-color: #FF5A1E;
}
@media (max-width: 600px) {
	.faq-archive-page-wrap {
		
		padding: 36px 16px;
	}
}
.faq-archive-buttons {
	display: flex;
	justify-content: center;
	margin-bottom: 48px;
	width: 100%;
}

.help-button {
	max-width: 300px;
	height: 48px;
	border: 1px solid #E0BB4E;
	border-radius: 60px;
	background-color: transparent;
	color: #ffffff;
	cursor: pointer;
	transition: all 0.3s ease;
}
.help-button:hover {
	cursor: pointer;
}
.help-button.active {
	background-color: #E0BB4E;
	color: #323232;
	border-color: #E0BB4E;
}
.busines-button {
	max-width: 300px;
	height: 48px;
	border: 1px solid #E0BB4E;
	border-radius: 60px;
	background-color: transparent;
	color: #ffffff;
	margin-left: 18px;
	cursor: pointer;
	transition: all 0.3s ease;
}
.busines-button:hover {
	cursor: pointer;
}
.busines-button.active {
	background-color: #E0BB4E;
	color: #323232;
	border-color: #E0BB4E;
}

/* Search */
.faq-search {
	margin-bottom: 40px;
	display: flex;
	justify-content: center;
	width: 100%;
}

.faq-search-wrapper {
    position: relative;
    width: 100%;
    max-width: 528px; /* ограничение ширины, можно убрать */
    margin: 0 auto;
}

.faq-search-wrapper input {
    width: 100%;
    border-radius: 20px;
    padding: 10px 40px 10px 24px; /* справа оставляем место для кнопки */
    font-size: 16px;
    box-sizing: border-box;
}

.faq-search-btn {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-90%);
    width: 24px;  /* размер иконки */
    height: 24px;
    border: none;
    background: url('../assets-faq/img/search-refraction.png') no-repeat center center;
    background-size: contain;
    cursor: pointer;
    padding: 0;
}

.faq-search-btn:hover {
   cursor: pointer;
	 background-color: transparent;
}

/* Categories */
.faq-category{
	background-color: #ffffff;
	padding: 23px 26px;
	border-radius: 24px;
	margin-bottom: 18px;

}
.faq-category-title{
	display: flex;
  justify-content: space-between;
	align-items: center;
}

.faq-category-title h3{
	margin: 0;
	font-size: 30px;
	line-height: 34px;
	color: #FF5A1E;
	font-weight: 500;
	font-family: 'OddsRegular', Arial, sans-serif;
}
.faq-category-title img{
	margin: 0;
	width: 12px;
	height: 18px;
}

.faq-category-body{
	margin-top: 20px;;
}
.faq-list{
	margin: 0;
}
.faq-link{
	color:#323232;
	font-size: 20px;
	line-height: 1.2;
	display: flex;
	align-items: flex-start;
	flex-wrap: wrap;
	word-wrap: break-word;
}
.faq-link-star {
	display: inline-flex;
	align-items: center;
	flex-shrink: 0;
	margin-right: 4px;
	white-space: nowrap;
}
.faq-link img{
	height: 20px;
	width: 20px;
}
.faq-link-text {
	flex: 1;
	min-width: 0;
}
.faq-item{
		margin-bottom: 24px;
}
.faq-link:hover {
		color: #FF5A1E;
}

.faq-category-body ul {
  list-style: none;
}

/* Recomendeed */
.faq-recommended h2{
	font-size: 48px;
	font-weight: 500;
	color: #ffffff;
	margin-bottom: 62px;
	margin-top: 70px;
	font-family: 'OddsRegular', Arial, sans-serif;
}

.recommended-list {
    column-count: 3;       /* 3 колонки на больших экранах */
    column-gap: 20px;
    padding: 0;
    list-style: none;
		margin: 0;
}

.recommended-item {
    break-inside: avoid;   /* предотвращает разрыв элемента между колонками */
    border-bottom: 1px solid #ffffff;
    padding-bottom: 10px;
}

.recommended-item a {
    font-size: 16px;
    line-height: 1.5;
    color: #ffffff;
    text-decoration: none;
}

/* Адаптив для экранов меньше 600px */
@media (max-width: 600px) {
	  .faq-recommended h2{
			margin-top: 32px;
			margin-bottom: 30px;
			font-size: 28px;
			line-height: 32px;
		}
    .recommended-list {
        column-count: 1;   /* 1 колонка на маленьких экранах */
    }
		.recommended-item {

			padding-top: 10px;
	}
}

/* Оранжевый CTA блок */
.faq-cta-block {
	background-color: #FF5A1E;
	padding: 60px 52px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
}

.faq-cta-title {
	font-family: 'OddsRegular', Arial, sans-serif;
	font-size: 48px;
	line-height: 1.2;
	color: #ffffff;
	margin: 0;
	font-weight: 500;
}

.faq-cta-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 18px 32px;
	border: 1px solid #ffffff;
	border-radius: 60px;
	background-color: transparent;
	color: #ffffff;
	font-size: 16px;
	font-weight: 400;
	text-decoration: none;
	text-transform: uppercase;
	white-space: nowrap;
	transition: all 0.3s ease;
	line-height: 1;
}

.faq-cta-button:hover {
	background-color: #ffffff;
	color: #FF5A1E;
	cursor: pointer;
}

/* Адаптив для CTA блока */
@media (max-width: 600px) {
	.faq-cta-block {
		flex-direction: column;
		padding: 36px 20px;
		text-align: center;
		gap: 24px;
	}

	.faq-cta-title {
		font-size: 32px;
	}

	.faq-cta-button {
		width: 100%;
		text-align: center;
	}
}
