/* AZA News Filter — list layout for the Uncode / WPBakery Xəbərlər page. */

.aza-news,
.aza-news *,
.aza-news *::before,
.aza-news *::after {
	box-sizing: border-box;
}

.aza-news {
	position: relative;
	width: 100%;
	max-width: 100%;
	margin: 0;
	text-align: left;
	color: #1c1c1c;
	font-size: 16px;
	line-height: 1.4;
}

.aza-news__heading {
	margin: 0 0 18px;
	font-size: 28px;
	font-weight: 500;
	line-height: 1.2;
	text-transform: none;
	letter-spacing: 0;
}

.aza-news__filters {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	gap: 12px 14px;
	margin: 0 0 8px;
	padding: 16px;
	background: #fff;
	border: 1px solid #e8e8e8;
	border-radius: 6px;
}

.aza-news__field {
	display: flex;
	flex-direction: column;
	gap: 6px;
	min-width: 0;
}

.aza-news__field--search {
	flex: 1 1 240px;
}

.aza-news__field--date {
	flex: 1 1 160px;
}

.aza-news__field--category {
	flex: 1 1 180px;
}

.aza-news__field--per {
	flex: 0 1 110px;
}

.aza-news__label {
	margin: 0;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #6f6f6f;
	line-height: 1.2;
}

.aza-news input[type="search"],
.aza-news input[type="date"],
.aza-news select {
	display: block;
	width: 100%;
	height: 44px;
	margin: 0;
	padding: 0 12px;
	border: 1px solid #dedede;
	border-radius: 4px;
	background: #fff;
	box-shadow: none;
	color: #1c1c1c;
	font-family: inherit;
	font-size: 14px;
	font-weight: 400;
	line-height: 44px;
	text-transform: none;
	letter-spacing: 0;
	appearance: none;
	-webkit-appearance: none;
}

.aza-news input[type="search"] {
	padding-left: 38px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M20 20l-3.5-3.5'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: 12px center;
	background-size: 16px;
}

.aza-news select {
	padding-right: 32px;
	cursor: pointer;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 L6 6.5 L11 1.5' fill='none' stroke='%23333' stroke-width='1.4'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 12px center;
	background-size: 12px;
}

.aza-news input[type="date"] {
	padding-right: 10px;
}

.aza-news input::placeholder {
	color: #9a9a9a;
	opacity: 1;
}

.aza-news input[type="search"]:focus,
.aza-news input[type="date"]:focus,
.aza-news select:focus {
	border-color: #2a2a2a;
	outline: none;
}

.aza-news input:focus-visible,
.aza-news select:focus-visible,
.aza-news button:focus-visible,
.aza-news a:focus-visible {
	outline: 2px solid #1c1c1c;
	outline-offset: 2px;
}

.aza-news__actions {
	display: flex;
	flex: 0 0 auto;
	gap: 8px;
	align-items: center;
}

.aza-news button.aza-news__submit,
.aza-news a.aza-news__reset {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	margin: 0;
	padding: 0 18px;
	border-radius: 4px;
	font-family: inherit;
	font-size: 14px;
	font-weight: 600;
	line-height: 1;
	letter-spacing: 0;
	text-transform: none;
	text-decoration: none !important;
	box-shadow: none !important;
	cursor: pointer;
}

.aza-news button.aza-news__submit {
	width: auto;
	border: 0;
	background: #2a2a2a;
	color: #fff;
}

.aza-news button.aza-news__submit:hover {
	background: #111;
	color: #fff;
}

.aza-news a.aza-news__reset,
.aza-news a.aza-news__reset:hover {
	border: 1px solid #d5d5d5 !important;
	background: #fff !important;
	color: #1c1c1c !important;
}

.aza-news a.aza-news__reset:hover {
	border-color: #1c1c1c !important;
}

.aza-news__loading {
	display: none;
	margin: 10px 0 0;
	color: #666;
	font-size: 13px;
}

.aza-news.is-loading .aza-news__loading {
	display: block;
}

.aza-news.is-loading .aza-news__results {
	opacity: 0.45;
	pointer-events: none;
}

.aza-news__error {
	margin: 10px 0 0;
	color: #8a1f1f;
	font-size: 14px;
}

.aza-news__error[hidden] {
	display: none;
}

.aza-news__sr {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.aza-news__count {
	margin: 16px 0 8px;
	color: #777;
	font-size: 13px;
	font-weight: 400;
}

.aza-news__list {
	border-top: 1px solid #efefef;
}

.aza-news__item {
	display: flex;
	align-items: center;
	gap: 24px;
	margin: 0;
	padding: 18px 4px;
	border-bottom: 1px solid #efefef;
	transition: background-color 0.15s ease;
}

.aza-news__item:hover {
	background: rgba(0, 0, 0, 0.025);
}

.aza-news a.aza-news__thumb {
	flex: 0 0 104px;
	display: block;
	width: 104px;
	height: 78px;
	overflow: hidden;
	background: #f2f2f2;
	line-height: 0;
	border: 0 !important;
	box-shadow: none !important;
}

.aza-news a.aza-news__thumb img,
.aza-news img.aza-news__img {
	width: 100% !important;
	height: 100% !important;
	max-width: none !important;
	object-fit: cover;
	display: block;
	border: 0;
	border-radius: 0;
}

.aza-news__thumb-fallback {
	display: block;
	width: 100%;
	height: 100%;
	background: #f2f2f2 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b5b5b5' stroke-width='1.6'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Ccircle cx='9' cy='10' r='1.4'/%3E%3Cpath d='M21 16l-5-4-4 3-2-1.5L3 17'/%3E%3C/svg%3E") center / 28px no-repeat;
}

.aza-news h3.aza-news__title {
	flex: 1 1 auto;
	min-width: 0;
	margin: 0;
	padding: 0;
	color: #1c1c1c;
	font-family: inherit;
	font-size: 16px;
	font-weight: 400;
	line-height: 1.4;
	letter-spacing: 0;
	text-transform: none;
}

.aza-news a.aza-news__title-link,
.aza-news a.aza-news__title-link:hover,
.aza-news a.aza-news__title-link:focus {
	color: #1c1c1c !important;
	font-weight: 400;
	text-transform: none;
	letter-spacing: 0;
	border: 0 !important;
	box-shadow: none !important;
	background: none !important;
}

.aza-news a.aza-news__title-link {
	text-decoration: none !important;
	overflow-wrap: break-word;
}

.aza-news a.aza-news__title-link:hover {
	text-decoration: underline !important;
}

.aza-news__date {
	flex: 0 0 168px;
	margin: 0;
	color: #1a1a1a;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.3;
	white-space: nowrap;
}

.aza-news__cat {
	flex: 0 0 140px;
	margin: 0;
	color: #8a8a8a;
	font-size: 15px;
	font-weight: 400;
	line-height: 1.3;
}

.aza-news a.aza-news__more,
.aza-news a.aza-news__more:hover,
.aza-news a.aza-news__more:focus {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 118px;
	min-height: 42px;
	margin: 0;
	padding: 10px 16px;
	border: 0 !important;
	border-radius: 4px;
	background: #2a2a2a !important;
	color: #fff !important;
	box-shadow: none !important;
	font-family: inherit;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.04em;
	line-height: 1;
	text-align: center;
	text-decoration: none !important;
	text-transform: none;
}

.aza-news a.aza-news__more:hover {
	background: #111 !important;
}

.aza-news__empty {
	padding: 48px 16px;
	border-top: 1px solid #efefef;
	border-bottom: 1px solid #efefef;
	text-align: center;
}

.aza-news__empty p {
	margin: 0 0 6px;
	color: #444;
	font-size: 16px;
}

.aza-news__empty-hint {
	color: #888 !important;
	font-size: 14px !important;
}

.aza-news__pagination {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px;
	margin: 22px 0 0;
}

.aza-news a.aza-news__page,
.aza-news span.aza-news__page {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	height: 40px;
	margin: 0;
	padding: 0 12px;
	border: 1px solid #e4e4e4 !important;
	border-radius: 4px;
	background: #fff !important;
	color: #1c1c1c !important;
	box-shadow: none !important;
	font-size: 14px;
	font-weight: 500;
	line-height: 1;
	text-decoration: none !important;
}

.aza-news a.aza-news__page:hover {
	border-color: #1c1c1c !important;
	color: #1c1c1c !important;
}

.aza-news span.aza-news__page.is-current {
	border-color: #2a2a2a !important;
	background: #2a2a2a !important;
	color: #fff !important;
}

.aza-news span.aza-news__page.is-disabled {
	color: #b0b0b0 !important;
	background: #fafafa !important;
}

.aza-news__dots {
	padding: 0 4px;
	color: #888;
}

@media (max-width: 900px) {
	.aza-news__date,
	.aza-news__cat {
		flex-basis: auto;
		white-space: normal;
	}

	.aza-news__item {
		flex-wrap: wrap;
		gap: 8px 16px;
	}

	.aza-news__title {
		flex: 1 1 calc(100% - 130px);
	}

	.aza-news a.aza-news__more {
		margin-left: auto;
	}
}

@media (max-width: 640px) {
	.aza-news__filters {
		padding: 14px;
	}

	.aza-news__field,
	.aza-news__field--search,
	.aza-news__field--date,
	.aza-news__field--category,
	.aza-news__field--per,
	.aza-news__actions {
		flex: 1 1 100%;
	}

	.aza-news__actions {
		display: grid;
		grid-template-columns: 1fr 1fr;
	}

	.aza-news button.aza-news__submit,
	.aza-news a.aza-news__reset {
		width: 100%;
	}

	.aza-news a.aza-news__thumb {
		flex-basis: 84px;
		width: 84px;
		height: 64px;
	}

	.aza-news__title {
		flex: 1 1 calc(100% - 110px);
	}

	.aza-news__date,
	.aza-news__cat {
		flex: 1 1 auto;
	}

	.aza-news a.aza-news__more {
		flex: 1 1 100%;
		width: 100%;
		margin-left: 0;
	}

	.aza-news__page--nav {
		flex: 1 1 auto;
	}
}
