/* Arabz directory taxonomy intro banner */
.arabz-tax-hero {
	--arabz-gold: #f4b81d;
	--arabz-gold-deep: #aa7600;
	--arabz-ink: #191919;
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 2fr) minmax(175px, 1fr);
	width: 100%;
	height: 336px;
	margin: 0 0 18px;
	overflow: hidden;
	color: var(--arabz-ink);
	background: white;
	border-radius: 15px;
	box-shadow: 0 10px 38px rgba(30, 30, 30, .08);
	direction: ltr;
	isolation: isolate;
}

.arabz-tax-hero__content {
	position: relative;
	display: flex;
	min-width: 0;
	min-height: 0;
	padding: 20px 25px 15px 20px;
	flex-direction: column;
	direction: rtl;
	text-align: right;
}

.arabz-tax-hero__eyebrow {
	margin: 0 0 4px !important;
	padding: 0 !important;
	color: var(--arabz-gold-deep) !important;
	font-size: 11px !important;
	font-weight: 800;
	line-height: 1.45 !important;
	letter-spacing: .2px;
}

.arabz-tax-hero__title {
	margin: 0 0 8px !important;
	padding: 0 !important;
	color: #151515 !important;
	font-size: clamp(23px, 2.5vw, 31px) !important;
	font-weight: 800 !important;
	line-height: 1.22 !important;
}

.arabz-tax-hero__description {
	position: relative;
	min-height: 0;
	flex: 1 1 auto;
	overflow-y: auto;
	padding-left: 11px;
	color: #333733;
	font-size: 13px;
	line-height: 1.8;
	overscroll-behavior: contain;
	scrollbar-color: #8c8c8c #ffffff;
	scrollbar-width: thin;
}

.arabz-tax-hero__description {
	padding-bottom: 24px;
}

.arabz-tax-hero__description::-webkit-scrollbar {
	width: 6px;
}

.arabz-tax-hero__description::-webkit-scrollbar-track {
	background: #f4ecd8;
	border-radius: 99px;
}

.arabz-tax-hero__description::-webkit-scrollbar-thumb {
	background: linear-gradient(180deg, var(--arabz-gold), var(--arabz-gold-deep));
	border-radius: 99px;
}

.arabz-tax-hero__description h2,
.arabz-tax-hero__description h3,
.arabz-tax-hero__description h4 {
	margin: 14px 0 6px !important;
	padding: 0 !important;
	color: #171917 !important;
	font-weight: 800 !important;
	line-height: 1.4 !important;
}

.arabz-tax-hero__description h2 {
	font-size: 18px !important;
}

.arabz-tax-hero__description h3,
.arabz-tax-hero__description h4 {
	font-size: 16px !important;
}

.arabz-tax-hero__description p,
.arabz-tax-hero__description li {
	color: #333733 !important;
	font-size: 13px !important;
	line-height: 1.8 !important;
}

.arabz-tax-hero__description p {
	margin: 0 0 8px !important;
	padding: 0 !important;
}

.arabz-tax-hero__description ul,
.arabz-tax-hero__description ol {
	margin: 5px 21px 11px 0 !important;
	padding: 0 !important;
}

.arabz-tax-hero__description a {
	color: #9c6900 !important;
	/* font-weight: 700; */
	text-decoration: underline;
	text-decoration-color: rgb(96 96 96 / 35%);
	text-underline-offset: 3px;
}

.arabz-tax-hero__scroll-cue {
	position: relative;
	z-index: 3;
	display: inline-flex;
	width: 29px;
	height: 22px;
	align-items: center;
	justify-content: center;
	align-self: center;
	flex: 0 0 22px;
	margin: -24px 0 2px;
	padding: 0;
	color: #7d5700;
	background: rgba(255, 250, 233, .96);
	border: 1px solid #e5bd4f;
	border-radius: 999px;
	box-shadow: 0 4px 12px rgba(94, 72, 15, .16);
	cursor: pointer;
	transition: opacity .2s ease, transform .2s ease, background-color .2s ease;
}

.arabz-tax-hero__scroll-cue:hover,
.arabz-tax-hero__scroll-cue:focus-visible {
	background: #fff2c7;
	transform: translateY(2px);
}

.arabz-tax-hero__scroll-cue:focus-visible {
	outline: 2px solid #b77f00;
	outline-offset: 2px;
}

.arabz-tax-hero__scroll-cue.is-hidden {
	opacity: 0;
	pointer-events: none;
	transform: translateY(6px);
}

.arabz-tax-hero__scroll-cue svg {
	width: 14px;
	height: 14px;
}

.arabz-tax-hero__filter-slot {
	padding-top: 10px;
	position: relative;
	z-index: 4;
	flex: 0 0 auto;
	min-height: 0;
	border-top: 1px solid #cdcdcd;
	margin-top: 15px;
}

.arabz-tax-hero__filter-slot:empty {
	display: none;
}

.arabz-tax-hero .archive-filter-form {
	display: flex !important;
	align-items: center;
	gap: 8px;
	margin: 5px 0 0 !important;
	border-radius: 10px !important;
	box-shadow: none !important;
	flex-wrap: nowrap !important;
}

.arabz-tax-hero .archive-filter-form label {
	flex: 0 0 auto;
	margin: 0 !important;
	/* color: #815900; */
	font-size: 12px;
	font-weight: 800;
}

.arabz-tax-hero .archive-filter-form select {
	width: initial;
	min-width: 0 !important;
	height: 32px;
	/* flex: 1 1 auto; */
	padding: 3px 9px !important;
	color: #242624;
	background: #fff !important;
	/* border: 1px solid #d7c58f !important; */
	border-radius: 7px !important;
	font-size: 12px;
}

.arabz-tax-hero__media {
	position: relative;
	min-width: 0;
	height: 336px;
	margin: 0 !important;
	overflow: hidden;
	background: #f0eee8;
	direction: rtl;
}

.arabz-tax-hero__media::after {
	content: "";
	position: absolute;
	inset: 0;
	background:
		linear-gradient(90deg, rgba(25, 28, 25, .18), transparent 42%),
		linear-gradient(0deg, rgba(8, 10, 8, .32), transparent 38%);
	pointer-events: none;
}

.arabz-tax-hero__image {
	display: block;
	width: 100% !important;
	height: 100% !important;
	margin: 0 !important;
	border: 0 !important;
	border-radius: 0 !important;
	object-fit: cover;
	object-position: center;
}

.arabz-tax-hero__image-fallback {
	display: flex;
	width: 100%;
	height: 100%;
	align-items: center;
	justify-content: center;
	color: rgba(170, 118, 0, .48);
	background:
		radial-gradient(circle at 50% 30%, rgba(244, 184, 29, .17), transparent 46%),
		#fffaf0;
}

.arabz-tax-hero__image-fallback svg {
	width: 74px;
	height: 74px;
}

.arabz-tax-hero__media figcaption {
	position: absolute;
	right: 13px;
	bottom: 12px;
	z-index: 2;
	max-width: calc(100% - 26px);
	padding: 6px 9px;
	overflow: hidden;
	color: #fff;
	background: rgba(20, 22, 20, .68);
	border: 1px solid rgba(255, 255, 255, .2);
	border-radius: 999px;
	backdrop-filter: blur(7px);
	font-size: 10px;
	font-weight: 800;
	line-height: 1;
	text-overflow: ellipsis;
	white-space: nowrap;
}

@media (max-width: 980px) {
	.arabz-tax-hero {
		grid-template-columns: minmax(0, 1.7fr) minmax(175px, 1fr);
	}
	.arabz-tax-hero__content {
		padding-right: 21px;
		padding-left: 25px;
	}
}

@media (max-width: 767px) {
	.arabz-tax-hero {
		display: flex;
		height: auto;
		flex-direction: row;
		border-radius: 14px;
		margin: 0 0 5px;
	}
	.arabz-tax-hero::before {
		inset: 0 0 auto;
		width: 100%;
		height: 4px;
	}
	.arabz-tax-hero__media {
		width: 100%;
		height: auto;
		flex: 0 0 32vw;
	}
	.arabz-tax-hero__content {
		height: 210px;
		min-height: 220px;
		max-height: 300px;
		padding: 16px 18px 9px;
	}
	.arabz-tax-hero--short .arabz-tax-hero__content {
		height: auto;
		min-height: 225px;
		max-height: none;
	}
	.arabz-tax-hero__title {
		font-size: 24px !important;
	}
	.arabz-tax-hero__description,
	.arabz-tax-hero__description p,
	.arabz-tax-hero__description li {
		font-size: 12px !important;
		line-height: 1.4 !important;
	}
	p#breadcrumbs * {
		font-size: 10px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.arabz-tax-hero__scroll-cue {
		transition: none;
	}
}
