/*
 * Rachiyata page-family styles: FAQ.
 *
 * FAQ page register implementation.
 * Source references:
 * - docs/question-categories-block-review.html
 * - docs/faq-page-question-section-review.html
 */

:root {
	--rlgc-faq-ink: #21170f;
	--rlgc-faq-body: #6f5a49;
	--rlgc-faq-strong: #4a3626;
	--rlgc-faq-copper: #9f4f25;
	--rlgc-faq-copper-hover: #b55d2d;
	--rlgc-faq-paper: #fffaf3;
	--rlgc-faq-cream: #fbf3e8;
	--rlgc-faq-line: #ead7be;
	--rlgc-faq-black: #070604;
	--rlgc-faq-brown: #21140d;
}

.page-shell.rlg-faq-demo-page {
	margin: 0;
	max-width: none;
	padding: 0;
	width: 100%;
}

.page-shell.rlg-faq-demo-page .entry-content {
	margin: 0;
	max-width: none;
	padding: 0;
	width: 100%;
}

.page-shell.rlg-faq-demo-page .entry-content > * {
	margin-block-start: 0;
	margin-block-end: 0;
	max-width: none;
}

.page-shell.rlg-faq-demo-page :where(
	.elementor,
	.elementor-section,
	.elementor-container,
	.elementor-column,
	.elementor-widget-wrap,
	.elementor-widget,
	.elementor-widget-container
) {
	margin: 0;
	max-width: none;
	padding: 0;
	width: 100%;
}

.page-shell.rlg-faq-demo-page .elementor-section .elementor-container {
	display: block;
}

.page-shell.rlg-faq-demo-page .elementor-section.elementor-section-boxed > .elementor-container {
	max-width: none;
	width: 100%;
}

.page-shell.rlg-faq-demo-page .elementor-section > .elementor-container > .elementor-column > .elementor-widget-wrap {
	padding: 0;
}

.page-shell.rlg-faq-demo-page .elementor-widget:not(:last-child) {
	margin-bottom: 0;
}

.page-shell.rlg-faq-demo-page .rlgc-faq-hero {
	margin-top: 0;
	width: 100%;
}

.rlg-faq-demo-page {
	background: var(--rlgc-faq-paper);
	color: var(--rlgc-faq-ink);
	font-family: "DM Sans", sans-serif;
}

.rlg-faq-demo-page h1,
.rlg-faq-demo-page h2,
.rlg-faq-demo-page h3 {
	color: inherit;
	font-family: "Cormorant Garamond", Georgia, serif;
	font-weight: 700;
	letter-spacing: -.025em;
}

.rlg-faq-demo-page p {
	color: var(--rlgc-faq-body);
	font-size: 18px;
	line-height: 1.55;
}

.rlg-faq-demo-page a {
	text-decoration-thickness: 1px;
	text-underline-offset: 4px;
}

.rlgc-faq-hero {
	background: var(--rlgc-faq-black);
	color: #fff6ea;
	height: 600px;
	isolation: isolate;
	overflow: hidden;
	padding: 0;
	position: relative;
}

.rlgc-faq-hero::after,
.rlgc-faq-hero::before {
	bottom: 0;
	content: "";
	height: 160px;
	left: 0;
	pointer-events: none;
	position: absolute;
	right: 0;
}

.rlgc-faq-hero::after {
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 160' preserveAspectRatio='none'%3E%3Cpath fill='%23FBF3E8' d='M0 130 C150 95 300 95 450 130 C600 156 720 156 870 128 C1000 94 1130 90 1275 126 C1340 143 1395 141 1440 120 L1440 160 L0 160 Z'/%3E%3C/svg%3E") bottom / 100% 100% no-repeat;
	z-index: 4;
}

.rlgc-faq-hero::before {
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 160' preserveAspectRatio='none'%3E%3Cpath d='M0 130 C150 95 300 95 450 130 C600 156 720 156 870 128 C1000 94 1130 90 1275 126 C1340 143 1395 141 1440 120' fill='none' stroke='%239F4F25' stroke-width='2.5'/%3E%3C/svg%3E") bottom / 100% 100% no-repeat;
	bottom: 15px;
	z-index: 5;
}

.rlgc-faq-hero-grid {
	height: 100%;
	margin: 0 auto;
	max-width: 1180px;
	padding: 70px 0 134px;
	position: relative;
	width: calc(100% - 80px);
	z-index: 3;
}

.page-shell.rlg-faq-demo-page .elementor-section.rlgc-faq-hero.elementor-section-boxed > .elementor-container,
.page-shell.rlg-faq-demo-page .rlgc-faq-hero > .elementor-container {
	display: block;
	height: 100%;
	max-width: none;
	width: 100%;
}

.page-shell.rlg-faq-demo-page .elementor-column.rlgc-faq-hero-grid {
	display: block;
	flex: 0 1 auto;
	height: 100%;
	margin: 0 auto;
	max-width: 1180px;
	padding: 70px 0 134px;
	position: static;
	width: calc(100% - 80px);
	z-index: 3;
}

.page-shell.rlg-faq-demo-page .elementor-column.rlgc-faq-hero-grid > .elementor-widget-wrap {
	align-items: flex-start;
	display: flex;
	flex-wrap: wrap;
	gap: 0 12px;
	max-width: 760px;
	position: static;
	z-index: 3;
}

.page-shell.rlg-faq-demo-page .elementor-column.rlgc-faq-hero-grid > .elementor-widget-wrap .rlgc-faq-hero-art-widget {
	max-width: none;
}

.page-shell.rlg-faq-demo-page .rlgc-faq-hero-title,
.page-shell.rlg-faq-demo-page .rlgc-faq-hero-intro,
.page-shell.rlg-faq-demo-page .rlgc-faq-hero-art-widget {
	flex: 0 0 100%;
}

.rlgc-faq-section-inner {
	margin: 0 auto;
	max-width: 1180px;
	width: calc(100% - 80px);
}

.rlgc-faq-hero-copy {
	max-width: 760px;
	position: relative;
	z-index: 3;
}

.rlgc-faq-hero-art {
	inset: 0;
	overflow: hidden;
	pointer-events: none;
	position: absolute;
	z-index: 0;
}

.rlgc-faq-hero-art img {
	display: block;
	height: auto;
	max-width: none;
	opacity: 0.82;
	position: absolute;
	right: max(-28px, calc((100vw - 1180px) / 2 - 64px));
	top: 50%;
	transform: translateY(-52%);
	width: min(54vw, 760px);
}

.page-shell.rlg-faq-demo-page .rlgc-faq-hero .rlgc-faq-hero-art-widget {
	flex: 0 0 0;
	height: 0;
	overflow: visible;
	position: static;
	width: 0;
}

.page-shell.rlg-faq-demo-page .rlgc-faq-hero .rlgc-faq-hero-art-widget.rlgc-faq-hero-art {
	flex: 0 0 auto;
	height: 100%;
	inset: 0;
	overflow: hidden;
	pointer-events: none;
	position: absolute;
	width: 100%;
	z-index: 0;
}

.page-shell.rlg-faq-demo-page .rlgc-faq-hero .rlgc-faq-hero-art-widget .elementor-widget-container,
.page-shell.rlg-faq-demo-page .rlgc-faq-hero .rlgc-faq-hero-art-widget.rlgc-faq-hero-art .elementor-widget-container,
.page-shell.rlg-faq-demo-page .rlgc-faq-hero .rlgc-faq-hero-art-widget.rlgc-faq-hero-art .elementor-image,
.page-shell.rlg-faq-demo-page .rlgc-faq-hero .rlgc-faq-hero-art-widget.rlgc-faq-hero-art .wp-caption {
	height: 100%;
	width: 100%;
}

.page-shell.rlg-faq-demo-page .rlgc-faq-hero .rlgc-faq-hero-art-widget.rlgc-faq-hero-art img {
	display: block;
	height: auto;
	max-width: none;
	opacity: .82;
	position: absolute;
	right: max(-28px, calc((100vw - 1180px) / 2 - 64px));
	top: 50%;
	transform: translateY(-52%);
	width: min(54vw, 760px);
}

.page-shell.rlg-faq-demo-page .elementor-section.question-categories.elementor-section-boxed > .elementor-container,
.page-shell.rlg-faq-demo-page .question-categories > .elementor-container {
	display: block;
	max-width: none;
	width: 100%;
}

.page-shell.rlg-faq-demo-page .elementor-column.question-categories__inner {
	display: block;
	margin: 0 auto;
	max-width: 1180px;
	width: calc(100% - 80px);
}

.page-shell.rlg-faq-demo-page .elementor-column.rlgc-faq-section-inner,
.page-shell.rlg-faq-demo-page .elementor-column.card-section__inner {
	display: block;
	margin: 0 auto;
	max-width: 1180px;
	width: calc(100% - 80px);
}

.page-shell.rlg-faq-demo-page .elementor-column.rlgc-faq-section-inner > .elementor-widget-wrap,
.page-shell.rlg-faq-demo-page .elementor-column.card-section__inner > .elementor-widget-wrap {
	display: block;
}

.page-shell.rlg-faq-demo-page .elementor-column.question-categories__inner > .elementor-widget-wrap {
	display: block;
}

.rlgc-faq-eyebrow,
.rlgc-eyebrow {
	align-items: center;
	color: var(--rlgc-faq-copper);
	display: flex;
	font-family: "DM Sans", sans-serif;
	font-size: 14px;
	font-weight: 800;
	gap: 10px;
	letter-spacing: .10em;
	line-height: 1.25;
	margin: 0 0 16px;
	text-transform: uppercase;
}

.rlgc-faq-eyebrow::before,
.rlgc-eyebrow::before {
	background: currentColor;
	border-radius: 50%;
	content: "";
	display: block;
	flex: 0 0 8px;
	height: 8px;
	width: 8px;
}

.page-shell.rlg-faq-demo-page .rlgc-eyebrow .elementor-heading-title {
	color: inherit;
	font: inherit;
	letter-spacing: inherit;
	line-height: inherit;
	margin: 0;
	text-transform: inherit;
}

.rlgc-faq-hero h1 {
	color: #fff6ea;
	font-size: 56px;
	line-height: 1.02;
	letter-spacing: -.02em;
	margin: 0;
	max-width: 760px;
}

.page-shell.rlg-faq-demo-page .rlgc-faq-hero .rlgc-faq-hero-title,
.page-shell.rlg-faq-demo-page .rlgc-faq-hero .rlgc-faq-hero-intro,
.page-shell.rlg-faq-demo-page .rlgc-faq-hero .elementor-widget-button {
	position: relative;
	z-index: 3;
}

.page-shell.rlg-faq-demo-page .rlgc-faq-hero .elementor-heading-title {
	color: #fff6ea;
	font-family: "Cormorant Garamond", Georgia, serif;
	font-size: 56px;
	font-weight: 700;
	letter-spacing: -.02em;
	line-height: 1.02;
	margin: 0;
	max-width: 760px;
	padding: 0;
}

.rlgc-faq-hero p {
	color: #fff6ea;
	font-size: 18px;
	line-height: 1.55;
	margin: 18px 0 0;
	max-width: 620px;
}

.page-shell.rlg-faq-demo-page .rlgc-faq-hero .rlgc-faq-hero-intro {
	margin-top: 18px;
}

.page-shell.rlg-faq-demo-page .rlgc-faq-hero .rlgc-faq-hero-intro,
.page-shell.rlg-faq-demo-page .rlgc-faq-hero .rlgc-faq-hero-intro p {
	color: #fff6ea;
	font-size: 18px;
	line-height: 1.55;
	max-width: 620px;
}

.rlgc-faq-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 26px;
}

.page-shell.rlg-faq-demo-page .rlgc-faq-hero .elementor-widget-button {
	margin-top: 26px;
	width: auto;
}

.page-shell.rlg-faq-demo-page .rlgc-faq-hero .elementor-widget-button + .elementor-widget-button {
	margin-left: 0;
}

.page-shell.rlg-faq-demo-page .rlgc-faq-hero .elementor-button {
	align-items: center;
	border-radius: 999px;
	display: inline-flex;
	font-family: "DM Sans", sans-serif;
	font-size: 14px;
	font-weight: 800;
	justify-content: center;
	line-height: 1.2;
	min-height: 48px;
	padding: 0 22px;
	text-decoration: none;
	transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
	width: auto;
}

.page-shell.rlg-faq-demo-page .rlgc-faq-button-primary .elementor-button {
	background: var(--rlgc-faq-copper);
	border: 1px solid var(--rlgc-faq-copper);
	color: #fff6ea;
}

.page-shell.rlg-faq-demo-page .rlgc-faq-button-primary .elementor-button:is(:hover, :focus-visible) {
	background: var(--rlgc-faq-copper-hover);
	border-color: var(--rlgc-faq-copper-hover);
	color: #fff6ea;
	outline: none;
	transform: translateY(-2px);
}

.page-shell.rlg-faq-demo-page .rlgc-faq-button-light .elementor-button {
	background: transparent;
	border: 1px solid rgba(255, 250, 243, .58);
	color: var(--rlgc-faq-paper);
}

.page-shell.rlg-faq-demo-page .rlgc-faq-button-light .elementor-button:is(:hover, :focus-visible) {
	background: #fff6ea;
	border-color: #fff6ea;
	color: var(--rlgc-faq-black);
	outline: none;
	transform: translateY(-2px);
}

.rlgc-faq-actions .button {
	align-items: center;
	border-radius: 999px;
	display: inline-flex;
	font-family: "DM Sans", sans-serif;
	font-size: 14px;
	font-weight: 800;
	justify-content: center;
	line-height: 1.2;
	min-height: 48px;
	padding: 0 22px;
	text-decoration: none;
	transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}.rlgc-faq-actions .button-primary {
	background: var(--rlgc-faq-copper);
	border: 1px solid var(--rlgc-faq-copper);
	color: #fff6ea;
}.rlgc-faq-actions .button-primary:is(:hover,
:focus-visible),
:focus-visible) {
	background: var(--rlgc-faq-copper-hover);
	border-color: var(--rlgc-faq-copper-hover);
	color: #fff6ea;
	outline: none;
	transform: translateY(-2px);
}.rlgc-faq-actions .button-light {
	background: transparent;
	border: 1px solid rgba(255, 250, 243, .58);
	color: var(--rlgc-faq-paper);
}.rlgc-faq-actions .button-light:is(:hover,
:focus-visible),
:focus-visible) {
	background: #fff6ea;
	border-color: #fff6ea;
	color: var(--rlgc-faq-black);
	outline: none;
	transform: translateY(-2px);
}

.rlgc-faq-section {
	background: var(--rlgc-faq-paper);
	padding: 82px 0;
}

.rlgc-faq-section.card-section {
	margin-top: 0;
	padding: 72px 0;
}

.card-section--paper {
	background: var(--rlgc-faq-paper);
}

.card-section--cream {
	background: var(--rlgc-faq-cream);
}

.card-section__inner {
	margin: 0 auto;
	max-width: 1180px;
	width: calc(100% - 80px);
}

.card-section__heading {
	align-items: end;
	display: grid;
	gap: 40px;
	grid-template-columns: minmax(0, 56fr) minmax(0, 44fr);
	margin-bottom: 36px;
}

.card-section__heading h2 {
	color: var(--rlgc-faq-ink);
	font-family: "Cormorant Garamond", Georgia, serif;
	font-size: 44px;
	font-weight: 700;
	letter-spacing: -.025em;
	line-height: 1.05;
	margin: 0;
	max-width: 620px;
}

.card-section__heading p {
	color: var(--rlgc-faq-body);
	font-size: 18px;
	line-height: 1.55;
	margin: 0;
	max-width: 460px;
}

.card-grid {
	align-items: stretch;
	display: grid;
	gap: 18px;
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.shared-card {
	background: var(--rlgc-faq-cream);
	border: 1px solid var(--rlgc-faq-line);
	border-radius: 24px;
	color: var(--rlgc-faq-ink);
	display: flex;
	flex-direction: column;
	min-height: 310px;
	padding: 26px;
	transition: background-color 180ms ease, border-color 180ms ease;
}

.rlgc-faq-section .shared-card {
	min-height: 230px;
}

.card-section--cream .shared-card {
	background: var(--rlgc-faq-paper);
}

.shared-card:is(:hover, :focus-within) {
	border-color: var(--rlgc-faq-copper);
}

.card-label {
	color: var(--rlgc-faq-copper);
	display: block;
	font-size: 14px;
	font-weight: 800;
	letter-spacing: .10em;
	line-height: 1.25;
	margin: 0 0 16px;
	text-transform: uppercase;
}

.shared-card h3 {
	color: var(--rlgc-faq-ink);
	font-family: "Cormorant Garamond", Georgia, serif;
	font-size: 30px;
	font-weight: 700;
	letter-spacing: -.015em;
	line-height: 1.10;
	margin: 0;
}

.shared-card > p:not(.card-label) {
	color: var(--rlgc-faq-body);
	font-size: 16px;
	line-height: 1.55;
	margin: 14px 0 0;
}

.question-categories {
	background: var(--rlgc-faq-paper);
	padding: 72px 0;
}

.page-shell.rlg-faq-demo-page .elementor-section.question-categories {
	padding: 72px 0;
}

.question-categories--paper {
	background: var(--rlgc-faq-paper);
}

.question-categories--cream {
	background: var(--rlgc-faq-cream);
}

.question-categories__inner {
	margin: 0 auto;
	max-width: 1180px;
	width: calc(100% - 80px);
}

.question-categories h2 {
	color: var(--rlgc-faq-ink);
	font-family: "Cormorant Garamond", Georgia, serif;
	font-size: 44px;
	font-weight: 700;
	letter-spacing: -.025em;
	line-height: 1.05;
	margin: 0 0 30px;
	max-width: 700px;
}

.page-shell.rlg-faq-demo-page .question-categories .rlgc-eyebrow {
	margin: 0 0 16px;
}

.page-shell.rlg-faq-demo-page .question-categories .rlgc-faq-category-title .elementor-heading-title {
	color: var(--rlgc-faq-ink);
	font-family: "Cormorant Garamond", Georgia, serif;
	font-size: 44px;
	font-weight: 700;
	letter-spacing: -.025em;
	line-height: 1.05;
	margin: 0 0 30px;
	max-width: 700px;
	padding: 0;
}

.question-categories__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.question-category-pill {
	align-items: center;
	background: var(--rlgc-faq-cream);
	border: 1px solid var(--rlgc-faq-line);
	border-radius: 999px;
	color: var(--rlgc-faq-strong);
	display: inline-flex;
	font-size: 14px;
	font-weight: 800;
	justify-content: center;
	line-height: 1.2;
	min-height: 48px;
	padding: 0 16px;
	text-decoration: none;
	transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease;
}

.question-categories--cream .question-category-pill {
	background: var(--rlgc-faq-paper);
}

.question-category-pill:is(:hover, :focus-visible) {
	border-color: var(--rlgc-faq-copper);
	color: var(--rlgc-faq-copper);
	outline: none;
}

.faq-page-question-section {
	padding: 74px 0;
	scroll-margin-top: 112px;
}

.faq-page-question-section--paper {
	background: var(--rlgc-faq-paper);
}

.faq-page-question-section--cream {
	background: var(--rlgc-faq-cream);
}

.faq-page-question-section__inner {
	display: grid;
	gap: 40px;
	grid-template-columns: minmax(0, 34fr) minmax(0, 66fr);
	margin: 0 auto;
	max-width: 1180px;
	width: calc(100% - 80px);
}

.faq-page-question-section__label {
	align-self: start;
	position: sticky;
	top: 112px;
}

.faq-page-question-section__label h2 {
	color: var(--rlgc-faq-ink);
	font-family: "Cormorant Garamond", Georgia, serif;
	font-size: 44px;
	font-weight: 700;
	letter-spacing: -.025em;
	line-height: 1.05;
	margin: 0;
}

.faq-page-question-section__label > p {
	color: var(--rlgc-faq-strong);
	font-size: 18px;
	line-height: 1.55;
	margin: 18px 0 0;
	max-width: 330px;
}

.faq-page-question-section__panel {
	background: var(--rlgc-faq-cream);
	border: 1px solid var(--rlgc-faq-line);
	border-radius: 30px;
	box-shadow: 0 18px 54px rgba(33, 23, 15, .08);
	overflow: hidden;
}

.faq-page-question-section__panel > details:last-child,
.faq-page-question-section__panel > details:last-child p {
	margin-bottom: 0;
}

.faq-page-question-section__panel {
	align-self: start;
}

.faq-page-question-section--cream .faq-page-question-section__panel {
	background: var(--rlgc-faq-paper);
}

.faq-page-question-section details {
	border-bottom: 1px solid var(--rlgc-faq-line);
	padding: 0;
}

.faq-page-question-section details:last-child {
	border-bottom: 0;
}

.faq-page-question-section summary {
	align-items: center;
	color: var(--rlgc-faq-ink);
	cursor: pointer;
	display: grid;
	font-family: "Cormorant Garamond", Georgia, serif;
	font-size: 22px;
	font-weight: 700;
	gap: 18px;
	grid-template-columns: 1fr 34px;
	letter-spacing: -.015em;
	line-height: 1.10;
	list-style: none;
	padding: 25px 30px;
}

.faq-page-question-section summary::-webkit-details-marker {
	display: none;
}

.faq-page-question-section summary::after {
	align-items: center;
	background: rgba(159, 79, 37, .13);
	border-radius: 50%;
	color: var(--rlgc-faq-copper);
	content: "+";
	display: flex;
	font-family: "DM Sans", sans-serif;
	font-size: 26px;
	font-weight: 400;
	height: 34px;
	justify-content: center;
	line-height: 1;
	width: 34px;
}

.faq-page-question-section details[open] summary::after {
	content: "−";
}

.faq-page-question-section details p {
	color: var(--rlgc-faq-strong);
	font-size: 16px;
	line-height: 1.55;
	margin: -2px 0 0;
	max-width: 760px;
	padding: 0 30px 28px;
}

.faq-page-question-section summary:focus-visible {
	outline: 2px solid var(--rlgc-faq-copper);
	outline-offset: -3px;
}

.rlgc-faq-footer-break {
	background: var(--rlgc-faq-cream);
	height: 64px;
	width: 100%;
}

@media (min-width: 768px) and (max-width: 1119px) {
	.rlgc-faq-hero {
		height: auto;
		min-height: 0;
		padding: 54px 0 104px;
	}

	.rlgc-faq-hero::after,
	.rlgc-faq-hero::before {
		height: 125px;
	}

	.rlgc-faq-hero::before {
		bottom: 14px;
	}

	.rlgc-faq-hero-grid {
		height: auto;
		padding: 0;
		width: calc(100% - 64px);
	}

	.rlgc-faq-section-inner,
	.card-section__inner,
	.question-categories__inner,
	.faq-page-question-section__inner,
	.page-shell.rlg-faq-demo-page .elementor-column.rlgc-faq-section-inner,
	.page-shell.rlg-faq-demo-page .elementor-column.card-section__inner,
	.page-shell.rlg-faq-demo-page .elementor-column.question-categories__inner {
		width: calc(100% - 64px);
	}

	.rlgc-faq-section-heading,
	.card-section__heading,
	.faq-page-question-section__inner {
		grid-template-columns: minmax(0, 1fr);
	}

	.rlgc-faq-hero h1 {
		font-size: 46px;
		line-height: 1.03;
	}

	.rlgc-faq-hero p {
		font-size: 17px;
		line-height: 1.55;
	}

	.rlgc-faq-actions {
		align-items: flex-start;
		flex-direction: column;
		max-width: 260px;
	}

	.rlgc-faq-hero-art {
		display: block;
	}

	.rlgc-faq-hero-art img {
		opacity: 0.34;
		right: -150px;
		width: min(58vw, 500px);
	}

	.card-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.question-categories,
	.faq-page-question-section {
		padding: 68px 0;
	}

	.page-shell.rlg-faq-demo-page .elementor-section.question-categories {
		padding: 68px 0;
	}

	.faq-page-question-section {
		scroll-margin-top: 32px;
	}

	.faq-page-question-section__label {
		position: static;
	}

	.faq-page-question-section__label > p {
		max-width: 620px;
	}
}

@media (max-width: 767px) {
	.rlgc-faq-hero {
		height: auto;
		min-height: 0;
		padding: 50px 0 94px;
	}

	.rlgc-faq-hero::after,
	.rlgc-faq-hero::before {
		height: 125px;
	}

	.rlgc-faq-hero::before {
		bottom: 12px;
	}

	.rlgc-faq-hero-grid {
		height: auto;
		padding: 0;
		width: calc(100% - 40px);
	}

	.rlgc-faq-section-inner,
	.card-section__inner,
	.question-categories__inner,
	.faq-page-question-section__inner,
	.page-shell.rlg-faq-demo-page .elementor-column.rlgc-faq-section-inner,
	.page-shell.rlg-faq-demo-page .elementor-column.card-section__inner,
	.page-shell.rlg-faq-demo-page .elementor-column.question-categories__inner {
		width: calc(100% - 40px);
	}

	.rlgc-faq-section-heading,
	.card-section__heading,
	.faq-page-question-section__inner {
		grid-template-columns: minmax(0, 1fr);
	}

	.rlgc-faq-hero h1 {
		font-size: 42px;
		line-height: 1.05;
	}

	.rlgc-faq-hero p,
	.rlgc-faq-section-heading p,
	.card-section__heading p {
		font-size: 16px;
		line-height: 1.55;
	}

	.rlgc-faq-actions {
		flex-direction: column;
		width: 100%;
	}

	.rlgc-faq-actions .button {
		width: 100%;
	}

	.rlgc-faq-actions .button,
	.question-category-pill {
		width: 100%;
	}

	.rlgc-faq-hero-art {
		display: none;
	}

	.rlgc-faq-section,
	.question-categories,
	.faq-page-question-section {
		padding: 64px 0;
	}

	.page-shell.rlg-faq-demo-page .elementor-section.question-categories {
		padding: 64px 0;
	}

	.rlgc-faq-section-heading {
		gap: 24px;
		margin-bottom: 30px;
	}

	.rlgc-faq-section-heading h2,
	.card-section__heading h2,
	.question-categories h2,
	.faq-page-question-section__label h2 {
		font-size: 36px;
		line-height: 1.08;
	}

	.card-grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.shared-card {
		min-height: 0;
		padding: 24px;
	}

	.shared-card h3 {
		font-size: 27px;
	}

	.question-categories__actions {
		gap: 10px;
	}

	.faq-page-question-section {
		scroll-margin-top: 20px;
	}

	.faq-page-question-section__inner {
		gap: 26px;
	}

	.faq-page-question-section__label {
		position: static;
	}

	.faq-page-question-section__label > p {
		font-size: 16px;
	}

	.faq-page-question-section__panel {
		border-radius: 24px;
	}

	.faq-page-question-section summary {
		gap: 14px;
		grid-template-columns: 1fr 30px;
		padding: 22px 20px;
	}

	.faq-page-question-section summary::after {
		font-size: 23px;
		height: 30px;
		width: 30px;
	}

	.faq-page-question-section details p {
		padding: 0 20px 22px;
	}

	.rlgc-faq-footer-break {
		height: 44px;
	}
}

/* Main hero CTA responsive rule: keep hero CTAs paired above 500px. */
@media (min-width: 501px) and (max-width: 1119px) {
	.rlgc-faq-actions {
		align-items: center;
		display: flex;
		flex-direction: row;
		flex-wrap: nowrap;
		gap: 12px;
		max-width: none;
		width: auto;
	}

	.rlgc-faq-actions .button {
		flex: 0 1 auto;
		min-width: 0;
		padding: 0 20px;
		white-space: nowrap;
		width: auto;
	}
}

@media (max-width: 500px) {
	.rlgc-faq-actions {
		align-items: stretch;
		display: flex;
		flex-direction: column;
		gap: 12px;
		max-width: none;
		width: 100%;
	}

	.rlgc-faq-actions .button {
		width: 100%;
	}
}
