/* Оверлей */
body.no-scroll {
	overflow: hidden;
}

#welcome-overlay {
	position: fixed;
	inset: 0;
	display: flex;
	justify-content: center;
	align-items: center;
	flex-direction: column;
	background: #FFD700; /* фон как у сайдбара */
	z-index: 9999;
	text-align: center;
}

#welcome-overlay input,
#welcome-overlay form button {
	padding: 12px 16px;
	font-size: 16px;
	border: none;
	width: 100%;
	box-sizing: border-box;
}

#welcome-overlay input {
	font-size: 18px;
	margin-bottom: 10px;
}

#welcome-overlay form button {
	background: #333;
	color: #fff;
	cursor: pointer;
	transition: background 0.2s ease;
	margin-top: 10px;
}

#welcome-overlay form button:hover {
	background: #000;
}

#welcome-overlay a#enter-site {
	display: inline-block;
	margin-top: 20px;
	font-size: 22px;
	font-weight: bold;
	color: #333;
	text-decoration: none;
	transition: color 0.2s ease;
}

#welcome-overlay a#enter-site:hover {
	color: #000;
}

.overlay-content {
	width: 90%;
	max-width: 1000px; /* чтобы внутри не было слишком узко */
	margin: 0 auto;
}

/* Виджет поиска */
#search_widget {
	position: relative;
	display: block;      /* растянет на всю строку */
	margin: 0 auto;      /* выровняет по центру */
	width: 100%;         /* 100% доступной ширины */
	max-width: 600px;    /* ограничение для мобилок */
}

@media screen and (min-width: 1024px) {
	#search_widget {
		max-width: 800px; /* на ПК шире */
	}
}

#search_widget input[type="text"] {
	width: 100%;
	padding: 12px 16px;
	font-size: 18px;
	box-sizing: border-box;
}


#search_widget input[type="text"] {
	width: 100%;
	padding: 10px 12px;
	font-size: 20px;
	box-sizing: border-box;
}

#search_widget .search-results {
	position: absolute;
	top: 100%;
	left: 0;
	width: 100%;
	background: #fff;
	box-shadow: 0 2px 6px rgba(0,0,0,0.1);
	z-index: 1000;
	display: none;
}

#search_widget .search-results.active {
	display: block;
}

.full_results .row,
.search-results.ajax_search p,
.result {
	padding: 10px 15px;
	text-align: left;
}

.full_results .row {
	padding-bottom: 20px;
}

.full_results {
	margin-top: -20px;
}

.result .one-list a {
	font-size: 18px;
}