/*
 * JuRez FAQ Help Center 1.2
 * Layout refinements:
 * - fixed category image boxes with object-fit: cover
 * - high-contrast white search/accordion surfaces
 * - closed questions as 2-column cards on desktop
 * - opened question spans full width
 * - Avada Font Awesome arrows
 */
.jurez-faq-helpcenter {
	--jurez-faq-green: var(--awb-color4, #173f35);
	--jurez-faq-green-strong: #12362e;
	--jurez-faq-ink: var(--awb-color8, #202522);
	--jurez-faq-muted: #68716d;
	--jurez-faq-border: rgba(25, 48, 41, .14);
	--jurez-faq-page-soft: #f3f2ef;
	--jurez-faq-soft: #f8f7f4;
	--jurez-faq-white: #fff;
	--jurez-faq-radius: 10px;
	--jurez-faq-shadow: 0 8px 24px rgba(31, 45, 39, .07);
}

/* Search */
.jurez-faq-helpcenter .jurez-faq-search {
	position: relative;
	display: flex;
	align-items: center;
	gap: .75rem;
	margin: 0 0 .5rem;
	padding: .5rem .6rem;
	border: 1px solid var(--jurez-faq-border);
	border-radius: var(--jurez-faq-radius);
	background: var(--jurez-faq-white) !important;
	box-shadow: var(--jurez-faq-shadow);
}

.jurez-faq-search__icon {
	display: grid;
	place-items: center;
	flex: 0 0 34px;
	width: 34px;
	height: 34px;
	margin-left: .15rem;
	color: var(--jurez-faq-green);
	font-size: 16px;
}

.jurez-faq-helpcenter .jurez-faq-search__input {
	min-width: 0;
	flex: 1 1 auto;
	min-height: 48px;
	margin: 0 !important;
	padding: .45rem .25rem !important;
	border: 0 !important;
	border-radius: 6px !important;
	outline: 0;
	background: var(--jurez-faq-white) !important;
	box-shadow: none !important;
	color: var(--jurez-faq-ink) !important;
	font: inherit;
}

.jurez-faq-helpcenter .jurez-faq-search__input:focus-visible {
	outline: 2px solid var(--jurez-faq-green) !important;
	outline-offset: 2px;
}

.jurez-faq-search__clear {
	flex: 0 0 auto;
	min-height: 42px;
	padding: 0 1rem;
	border: 1px solid var(--jurez-faq-green);
	border-radius: 6px;
	background: var(--jurez-faq-green);
	color: #fff;
	cursor: pointer;
}

.jurez-faq-search__status {
	min-height: 1.5em;
	margin: .4rem 0 1.5rem;
	color: var(--jurez-faq-muted);
	font-size: .95em;
}

/* Section headings */
.jurez-faq-section-intro,
.jurez-faq-detail-heading {
	display: flex;
	align-items: end;
	justify-content: space-between;
	gap: 1rem;
	margin: 1.5rem 0 1rem;
}

.jurez-faq-section-intro p {
	max-width: 48rem;
	margin: 0;
	color: var(--jurez-faq-muted);
	font-size: .95em;
}

.jurez-faq-section-title {
	font-family: inherit;
	font-size: clamp(1.55rem, 2vw, 2rem);
	font-weight: 600;
	line-height: 1.15;
	color: var(--jurez-faq-ink);
}

/* Visual topic cards */
.jurez-faq-cards {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 14px;
}

.jurez-faq-card {
	position: relative;
	isolation: isolate;
	display: flex;
	align-items: flex-end;
	min-height: 180px;
	overflow: hidden;
	border-radius: var(--jurez-faq-radius);
	background: #d9d5cb;
	box-shadow: 0 5px 20px rgba(0,0,0,.08);
	color: #fff !important;
	text-decoration: none !important;
	transform: translateY(0);
	transition: transform .18s ease, box-shadow .18s ease;
}

.jurez-faq-card:hover {
	transform: translateY(-2px);
	box-shadow: 0 10px 25px rgba(0,0,0,.14);
}

.jurez-faq-card:focus-visible {
	outline: 3px solid var(--jurez-faq-green);
	outline-offset: 3px;
}

.jurez-faq-card__image {
	position: absolute;
	z-index: -2;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .3s ease;
}

.jurez-faq-card:hover .jurez-faq-card__image {
	transform: scale(1.025);
}

.jurez-faq-card__shade {
	position: absolute;
	z-index: -1;
	inset: 0;
	background: linear-gradient(180deg, rgba(4,15,12,.04) 28%, rgba(4,20,15,.82) 100%);
}

.jurez-faq-card__title {
	max-width: calc(100% - 52px);
	padding: 1rem;
	font-size: 1.05rem;
	font-weight: 600;
	line-height: 1.22;
	text-shadow: 0 1px 12px rgba(0,0,0,.25);
}

.jurez-faq-card__arrow {
	position: absolute;
	right: 12px;
	bottom: 12px;
	display: grid;
	place-items: center;
	width: 32px;
	height: 32px;
	border: 1px solid rgba(255,255,255,.8);
	border-radius: 50%;
	background: rgba(13,54,44,.78);
	color: #fff;
	font-size: 14px;
}

.jurez-faq-card__arrow i {
	margin: 0 !important;
	line-height: 1;
}

/* FAQ detail area */
.jurez-faq-detail-section {
	margin-top: 3.5rem;
}

.jurez-faq-collapse-all {
	border: 0;
	background: transparent;
	color: var(--jurez-faq-green);
	text-decoration: underline;
	text-underline-offset: 3px;
	cursor: pointer;
}

/* Category accordion */
.jurez-faq-helpcenter .jurez-faq-topic {
	margin: 0 0 14px;
	border: 1px solid var(--jurez-faq-border);
	border-radius: var(--jurez-faq-radius);
	background: var(--jurez-faq-white) !important;
	box-shadow: 0 3px 14px rgba(31,45,39,.035);
	overflow: hidden;
	scroll-margin-top: 120px;
}

.jurez-faq-topic__summary {
	display: grid;
	grid-template-columns: 180px minmax(0, 1fr) 44px;
	align-items: center;
	gap: 0;
	min-height: 100px;
	padding-right: 18px;
	cursor: pointer;
	list-style: none;
	background: var(--jurez-faq-white);
}

.jurez-faq-topic__summary::-webkit-details-marker,
.jurez-faq-item__summary::-webkit-details-marker {
	display: none;
}

.jurez-faq-topic__summary::marker,
.jurez-faq-item__summary::marker {
	content: "";
}

.jurez-faq-topic__summary:focus-visible,
.jurez-faq-item__summary:focus-visible {
	outline: 3px solid var(--jurez-faq-green);
	outline-offset: -3px;
}

/* Fixed image box: source image can have any aspect ratio. */
.jurez-faq-topic__media {
	display: block;
	width: 180px;
	height: 100px;
	overflow: hidden;
	background: var(--jurez-faq-soft);
}

.jurez-faq-helpcenter .jurez-faq-topic__image {
	display: block !important;
	width: 180px !important;
	height: 100px !important;
	max-width: none !important;
	object-fit: cover !important;
	object-position: center !important;
}

.jurez-faq-helpcenter .jurez-faq-topic__title {
	margin: 0 !important;
	padding: 1rem 1.3rem !important;
	font-family: inherit !important;
	font-size: clamp(1.25rem, 1.7vw, 1.65rem) !important;
	font-weight: 600 !important;
	line-height: 1.2 !important;
	letter-spacing: normal !important;
	color: var(--jurez-faq-ink) !important;
}

.jurez-faq-topic__toggle,
.jurez-faq-item__toggle {
	display: grid;
	place-items: center;
	width: 30px;
	height: 30px;
	border: 1px solid var(--jurez-faq-border);
	border-radius: 50%;
	background: var(--jurez-faq-white);
	color: var(--jurez-faq-green);
}

.jurez-faq-topic__toggle i,
.jurez-faq-item__toggle i {
	margin: 0 !important;
	font-size: 14px;
	line-height: 1;
	transition: transform .18s ease;
}

.jurez-faq-topic[open] > .jurez-faq-topic__summary .jurez-faq-topic__toggle i,
.jurez-faq-item[open] > .jurez-faq-item__summary .jurez-faq-item__toggle i {
	transform: rotate(90deg);
}

.jurez-faq-topic__content {
	padding: 18px;
	border-top: 1px solid var(--jurez-faq-border);
	background: var(--jurez-faq-page-soft);
}

/*
 * Scannability:
 * Closed questions are compact cards in two columns.
 * An opened answer spans the whole row for comfortable reading.
 */
.jurez-faq-questions {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	align-items: start;
	gap: 12px;
}

.jurez-faq-helpcenter .jurez-faq-item {
	min-width: 0;
	margin: 0;
	border: 1px solid var(--jurez-faq-border);
	border-radius: 8px;
	background: var(--jurez-faq-white) !important;
	box-shadow: 0 2px 10px rgba(31,45,39,.025);
	overflow: hidden;
	scroll-margin-top: 120px;
}

.jurez-faq-helpcenter .jurez-faq-item[open] {
	grid-column: 1 / -1;
	box-shadow: 0 5px 18px rgba(31,45,39,.055);
}

.jurez-faq-item__summary {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 34px;
	align-items: center;
	gap: .8rem;
	min-height: 72px;
	padding: .9rem 1rem;
	cursor: pointer;
	list-style: none;
	background: var(--jurez-faq-white);
}

.jurez-faq-helpcenter .jurez-faq-item__question {
	margin: 0 !important;
	padding: 0 !important;
	font-family: inherit !important;
	font-size: clamp(1rem, 1.05vw, 1.12rem) !important;
	font-weight: 600 !important;
	line-height: 1.38 !important;
	letter-spacing: normal !important;
	color: var(--jurez-faq-ink) !important;
}

.jurez-faq-helpcenter .jurez-faq-item__answer {
	padding: 0 1rem 1.15rem 1rem;
	color: var(--jurez-faq-ink);
	font-size: 1rem;
	line-height: 1.65;
}

.jurez-faq-item__answer::before {
	content: "";
	display: block;
	margin-bottom: 1rem;
	border-top: 1px solid var(--jurez-faq-border);
}

.jurez-faq-item__answer > :first-child {
	margin-top: 0;
}

.jurez-faq-item__answer > :last-child {
	margin-bottom: 0;
}

.jurez-faq-no-results {
	margin: 1rem 0 0;
	padding: 1rem 1.25rem;
	border: 1px solid var(--jurez-faq-border);
	border-radius: var(--jurez-faq-radius);
	background: var(--jurez-faq-white);
}

.jurez-faq-helpcenter.is-searching [data-faq-cards] {
	display: none;
}

.jurez-faq-item[hidden],
.jurez-faq-topic[hidden] {
	display: none !important;
}

@media (max-width: 1100px) {
	.jurez-faq-cards {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.jurez-faq-topic__summary {
		grid-template-columns: 150px minmax(0, 1fr) 42px;
	}

	.jurez-faq-topic__media,
	.jurez-faq-helpcenter .jurez-faq-topic__image {
		width: 150px !important;
		height: 92px !important;
	}
}

@media (max-width: 820px) {
	.jurez-faq-questions {
		grid-template-columns: 1fr;
	}

	.jurez-faq-helpcenter .jurez-faq-item[open] {
		grid-column: auto;
	}
}

@media (max-width: 680px) {
	.jurez-faq-search {
		flex-wrap: wrap;
	}

	.jurez-faq-search__clear {
		width: 100%;
	}

	.jurez-faq-section-intro,
	.jurez-faq-detail-heading {
		display: block;
	}

	.jurez-faq-section-intro p {
		margin-top: .5rem;
	}

	.jurez-faq-cards {
		grid-template-columns: 1fr;
	}

	.jurez-faq-card {
		min-height: 140px;
	}

	.jurez-faq-topic__summary {
		grid-template-columns: 96px minmax(0, 1fr) 36px;
		min-height: 74px;
		padding-right: 10px;
	}

	.jurez-faq-topic__media,
	.jurez-faq-helpcenter .jurez-faq-topic__image {
		width: 96px !important;
		height: 74px !important;
	}

	.jurez-faq-helpcenter .jurez-faq-topic__title {
		padding: .7rem .8rem !important;
		font-size: 1.05rem !important;
	}

	.jurez-faq-topic__content {
		padding: 10px;
	}

	.jurez-faq-item__summary {
		min-height: 62px;
		padding: .8rem .85rem;
	}

	.jurez-faq-helpcenter .jurez-faq-item__answer {
		padding: 0 .85rem 1rem;
	}
}

@media (prefers-reduced-motion: reduce) {
	.jurez-faq-card,
	.jurez-faq-card__image,
	.jurez-faq-topic__toggle i,
	.jurez-faq-item__toggle i {
		transition: none;
	}
}


/* Curated FAQ blocks for service/product pages (v2.0). */
.jurez-faq-inline-block {
	margin: 2rem 0;
}
.jurez-faq-inline-block__heading {
	margin-bottom: 1rem !important;
}
.jurez-faq-inline-block__items {
	display: grid;
	grid-template-columns: repeat(2, minmax(0,1fr));
	gap: 12px;
}
.jurez-faq-inline-item {
	min-width: 0;
	border: 1px solid var(--jurez-faq-border);
	border-radius: 8px;
	background: var(--jurez-faq-white) !important;
	overflow: hidden;
}
.jurez-faq-inline-item[open] {
	grid-column: 1 / -1;
	box-shadow: 0 5px 18px rgba(31,45,39,.055);
}
.jurez-faq-inline-item__summary {
	display: grid;
	grid-template-columns: minmax(0,1fr) 34px;
	align-items: center;
	gap: .8rem;
	min-height: 68px;
	padding: .9rem 1rem;
	cursor: pointer;
	list-style: none;
	background: #fff;
}
.jurez-faq-inline-item__summary::-webkit-details-marker { display: none; }
.jurez-faq-inline-item__summary::marker { content: ""; }
.jurez-faq-inline-item__question {
	margin: 0 !important;
	font-family: inherit !important;
	font-size: clamp(1rem,1.05vw,1.12rem) !important;
	font-weight: 600 !important;
	line-height: 1.38 !important;
}
.jurez-faq-inline-item__toggle {
	display: grid;
	place-items: center;
	width: 30px;
	height: 30px;
	border: 1px solid var(--jurez-faq-border);
	border-radius: 50%;
	color: var(--jurez-faq-green);
}
.jurez-faq-inline-item__toggle i {
	margin: 0 !important;
	transition: transform .18s ease;
}
.jurez-faq-inline-item[open] .jurez-faq-inline-item__toggle i {
	transform: rotate(90deg);
}
.jurez-faq-inline-item__answer {
	padding: 0 1rem 1.15rem;
	line-height: 1.65;
}
.jurez-faq-inline-item__answer::before {
	content: "";
	display: block;
	margin-bottom: 1rem;
	border-top: 1px solid var(--jurez-faq-border);
}
.jurez-faq-inline-block__cta {
	margin: 1.15rem 0 0;
}
.jurez-faq-inline-block__cta a {
	display: inline-flex;
	align-items: center;
	gap: .45em;
	font-weight: 600;
	text-decoration: none;
}
.jurez-faq-inline-block__cta a:hover {
	text-decoration: underline;
	text-underline-offset: 3px;
}
.jurez-faq-block-error {
	padding: .8rem 1rem;
	border: 1px solid #dba617;
	background: #fff8e5;
}
@media (max-width: 820px) {
	.jurez-faq-inline-block__items { grid-template-columns: 1fr; }
	.jurez-faq-inline-item[open] { grid-column: auto; }
}


/* FAQ blocks – Avada section template (v2.1) */
.jurez-faq-inline-block--avada {
	color: var(--awb-color6, inherit);
}
.jurez-faq-inline-block--avada .jurez-faq-inline-block__title-wrap {
	margin: 0;
	text-align: center;
}
.jurez-faq-inline-block--avada .jurez-faq-inline-block__heading {
	margin: 0 !important;
	text-align: center;
	color: var(--awb-color6, inherit) !important;
	font-size: clamp(2rem, 3vw, 43px) !important;
	line-height: var(--awb-typography1-line-height, 1.16) !important;
	font-weight: inherit;
}
.jurez-faq-inline-block__separator {
	display: flex;
	align-items: center;
	width: 100%;
	margin: 0 auto 40px;
	color: var(--awb-color6, currentColor);
}
.jurez-faq-inline-block__separator .fusion-separator-border {
	flex: 1 1 auto;
	height: 0;
	border: 0;
	border-top: 1px solid var(--awb-color6, currentColor);
}
.jurez-faq-inline-block__separator .icon-wrapper {
	display: inline-grid;
	place-items: center;
	flex: 0 0 1.75em;
	width: 1.75em;
	height: 1.75em;
	padding: 1px;
	font-size: 25px;
	color: var(--awb-color6, currentColor);
}
.jurez-faq-inline-block__separator .icon-wrapper i {
	margin: 0 !important;
	color: inherit;
	font-size: inherit;
	line-height: 1;
}
.jurez-faq-inline-block--avada .jurez-faq-inline-block__items {
	margin-bottom: 24px;
}
.jurez-faq-inline-block__intro {
	margin: 0 0 25px !important;
	text-align: center;
	color: var(--awb-color6, inherit);
}
.jurez-faq-inline-block__button-wrap {
	text-align: center;
}
.jurez-faq-inline-block__button {
	display: inline-flex !important;
	justify-content: center;
	align-items: center;
}
.jurez-faq-inline-block--bare .jurez-faq-inline-block__heading {
	margin-bottom: 1rem !important;
}
@media (max-width: 680px) {
	.jurez-faq-inline-block--avada .jurez-faq-inline-block__heading {
		font-size: clamp(1.75rem, 9vw, 34px) !important;
	}
	.jurez-faq-inline-block__separator {
		margin-bottom: 28px;
	}
}


/* v2.1.1: Avada adds a border to separator icon wrappers; remove it only here. */
.jurez-faq-inline-block__separator .icon-wrapper {
	border: 0 !important;
}
