/* cms-faq.css v1.1.1 */

/* ==========================================================================
   CMS FAQ Accordion
   ========================================================================== */

.cms-faq {
	box-sizing: border-box;
	width: 100%;
	padding: 30px 0;
}

/* ==========================================================================
   Section header
   ========================================================================== */

.cms-faq__header {
	margin-bottom: 24px;
}

.cms-faq__heading {
	margin-top: 0;
	margin-bottom: 10px;
}

/* Page Title — Crimson Text 35px 600 #3e3e3d */
.cms-faq__heading--xl {
	font-family: 'Crimson Text', Georgia, serif;
	font-size: 35px;
	font-weight: 600;
	color: #3e3e3d;
	line-height: 1.2;
}

/* Section Title — Crimson Text 25px 500 #3e3e3d */
.cms-faq__heading--large {
	font-family: 'Crimson Text', Georgia, serif;
	font-size: 25px;
	font-weight: 500;
	color: #3e3e3d;
	line-height: 1.25;
}

/* Content Header — Montserrat 18px 500 #3e3e3d */
.cms-faq__heading--medium {
	font-family: 'Montserrat', 'Helvetica Neue', Helvetica, Arial, sans-serif;
	font-size: 18px;
	font-weight: 500;
	color: #3e3e3d;
	line-height: 1.3;
}

/* Label / Small — Montserrat 14px 500 #3e3e3d */
.cms-faq__heading--small {
	font-family: 'Montserrat', 'Helvetica Neue', Helvetica, Arial, sans-serif;
	font-size: 14px;
	font-weight: 500;
	color: #3e3e3d;
	line-height: 1.4;
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

.cms-faq__heading a {
	color: inherit;
	text-decoration: none;
}

.cms-faq__heading a:hover {
	color: #d7b364;
}

.cms-faq__intro {
	font-family: 'Montserrat', 'Helvetica Neue', Helvetica, Arial, sans-serif;
	font-size: 14px;
	color: #474b59;
	line-height: 1.7;
}

.cms-faq__intro p {
	margin: 0 0 12px;
}

/* ==========================================================================
   FAQ items
   ========================================================================== */

.cms-faq__item {
	box-sizing: border-box;
}

/* Border: lines */
.cms-faq--border-lines .cms-faq__item {
	border-bottom: 1px solid #dddddd;
}

.cms-faq--border-lines .cms-faq__item:first-child {
	border-top: 1px solid #dddddd;
}

/* Border: solid box */
.cms-faq--border-solid .cms-faq__item {
	border: 1px solid #dddddd;
	margin-bottom: 6px;
}

/* Border: rounded box */
.cms-faq--border-rounded .cms-faq__item {
	border: 1px solid #dddddd;
	border-radius: 6px;
	margin-bottom: 6px;
	overflow: hidden;
}

/* ==========================================================================
   Question button
   ========================================================================== */

.cms-faq__question {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-pack: justify;
	-ms-flex-pack: justify;
	justify-content: space-between;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
	width: 100%;
	padding: 16px 4px;
	background: none;
	border: none;
	cursor: pointer;
	text-align: left;
	font-family: 'Montserrat', 'Helvetica Neue', Helvetica, Arial, sans-serif;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.4;
	color: #3e3e3d;
	-webkit-transition: color 0.15s ease;
	transition: color 0.15s ease;
}

.cms-faq--border-solid .cms-faq__question,
.cms-faq--border-rounded .cms-faq__question {
	padding: 16px 18px;
}

.cms-faq__question:hover,
.cms-faq__question--open {
	color: #d7b364;
}

/* Gold question color variant */
.cms-faq--q-gold .cms-faq__question {
	color: #d7b364;
}

.cms-faq--q-gold .cms-faq__question:hover,
.cms-faq--q-gold .cms-faq__question--open {
	color: #333333;
}

/* Chevron icon */
.cms-faq__icon {
	-ms-flex-negative: 0;
	flex-shrink: 0;
	width: 18px;
	height: 18px;
	margin-left: 12px;
	position: relative;
}

.cms-faq__icon::before,
.cms-faq__icon::after {
	content: '';
	position: absolute;
	top: 50%;
	width: 9px;
	height: 2px;
	background-color: currentColor;
	-webkit-transition: -webkit-transform 0.2s ease;
	transition: transform 0.2s ease;
}

.cms-faq__icon::before {
	left: 1px;
	-webkit-transform: translateY(-50%) rotate(45deg);
	transform: translateY(-50%) rotate(45deg);
}

.cms-faq__icon::after {
	right: 1px;
	-webkit-transform: translateY(-50%) rotate(-45deg);
	transform: translateY(-50%) rotate(-45deg);
}

.cms-faq__question--open .cms-faq__icon::before {
	-webkit-transform: translateY(-50%) rotate(-45deg);
	transform: translateY(-50%) rotate(-45deg);
}

.cms-faq__question--open .cms-faq__icon::after {
	-webkit-transform: translateY(-50%) rotate(45deg);
	transform: translateY(-50%) rotate(45deg);
}

/* ==========================================================================
   Answer — CSS transition, no jQuery dependency
   ========================================================================== */

.cms-faq__answer {
	max-height: 0;
	overflow: hidden;
	-webkit-transition: max-height 0.25s ease;
	transition: max-height 0.25s ease;
}

.cms-faq__answer--open {
	max-height: 2000px;
	-webkit-transition: max-height 0.4s ease;
	transition: max-height 0.4s ease;
}

.cms-faq__answer-inner {
	padding: 0 4px 18px;
	font-family: 'Montserrat', 'Helvetica Neue', Helvetica, Arial, sans-serif;
	font-size: 14px;
	color: #474b59;
	line-height: 1.7;
}

.cms-faq--border-solid .cms-faq__answer-inner,
.cms-faq--border-rounded .cms-faq__answer-inner {
	padding: 0 18px 18px;
}

.cms-faq__answer-inner p {
	margin: 0 0 12px;
}

.cms-faq__answer-inner p:last-child {
	margin-bottom: 0;
}

.cms-faq__answer-inner a {
	color: #d7b364;
	text-decoration: underline;
}

.cms-faq__answer-inner a:hover {
	color: #333333;
}

.cms-faq__answer-inner ul,
.cms-faq__answer-inner ol {
	margin: 0 0 12px;
	padding-left: 20px;
}

.cms-faq__answer-inner li {
	margin-bottom: 4px;
}

/* Ask a Question item — subtle visual distinction */
.cms-faq__item--ask .cms-faq__question {
	font-style: italic;
	color: #888888;
}

.cms-faq--q-gold .cms-faq__item--ask .cms-faq__question {
	color: #d7b364;
	opacity: 0.8;
}

.cms-faq__item--ask .cms-faq__question:hover,
.cms-faq__item--ask .cms-faq__question--open {
	color: #d7b364;
	opacity: 1;
	font-style: italic;
}

/* ==========================================================================
   Ask a Question inline form
   ========================================================================== */

.cms-faq__ask-intro {
	font-family: 'Montserrat', 'Helvetica Neue', Helvetica, Arial, sans-serif;
	font-size: 13px;
	color: #666666;
	margin: 0 0 16px;
	line-height: 1.6;
}

.cms-faq__honeypot {
	position: absolute;
	left: -9999px;
	top: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
	opacity: 0;
}

.cms-faq__ask-form {
	margin: 0;
}

.cms-faq__ask-field {
	margin-bottom: 14px;
}

.cms-faq__ask-field--half {
	width: calc(50% - 8px);
}

.cms-faq__ask-row {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	gap: 16px;
	margin-bottom: 14px;
}

.cms-faq__ask-label {
	display: block;
	font-family: 'Montserrat', 'Helvetica Neue', Helvetica, Arial, sans-serif;
	font-size: 12px;
	font-weight: 600;
	color: #3e3e3d;
	margin-bottom: 5px;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.cms-faq__ask-required {
	color: #d7b364;
}

.cms-faq__ask-optional-label {
	font-family: 'Montserrat', 'Helvetica Neue', Helvetica, Arial, sans-serif;
	font-size: 12px;
	color: #888888;
	font-style: italic;
	margin: 0 0 10px;
}

.cms-faq__ask-textarea,
.cms-faq__ask-input {
	width: 100%;
	box-sizing: border-box;
	padding: 9px 12px;
	font-family: 'Montserrat', 'Helvetica Neue', Helvetica, Arial, sans-serif;
	font-size: 13px;
	color: #3e3e3d;
	background-color: #ffffff;
	border: 1px solid #dddddd;
	border-radius: 3px;
	-webkit-transition: border-color 0.15s ease;
	transition: border-color 0.15s ease;
	-webkit-appearance: none;
	appearance: none;
}

.cms-faq__ask-textarea:focus,
.cms-faq__ask-input:focus {
	outline: none;
	border-color: #d7b364;
}

.cms-faq__ask-textarea {
	resize: vertical;
	min-height: 90px;
}

.cms-faq__ask-submit {
	margin-top: 16px;
}

.cms-faq__ask-button {
	display: inline-block;
	padding: 9px 22px;
	background-color: #d7b364;
	color: #ffffff;
	font-family: 'Montserrat', 'Helvetica Neue', Helvetica, Arial, sans-serif;
	font-size: 13px;
	font-weight: 600;
	border: none;
	cursor: pointer;
	border-radius: 3px;
	-webkit-transition: background-color 0.2s ease;
	transition: background-color 0.2s ease;
}

.cms-faq__ask-button:hover {
	background-color: #4a3728;
}

/* Success message */
.cms-faq__ask-success {
	position: relative;
	background-color: #dff0d8;
	border: 1px solid #d6e9c6;
	color: #3c763d;
	padding: 12px 36px 12px 16px;
	border-radius: 3px;
	font-family: 'Montserrat', 'Helvetica Neue', Helvetica, Arial, sans-serif;
	font-size: 13px;
	line-height: 1.5;
}

.cms-faq__ask-success p {
	margin: 0;
}

.cms-faq__ask-success-close {
	position: absolute;
	top: 8px;
	right: 10px;
	background: none;
	border: none;
	font-size: 18px;
	line-height: 1;
	color: #3c763d;
	cursor: pointer;
	padding: 0 4px;
	opacity: 0.6;
	-webkit-transition: opacity 0.15s ease;
	transition: opacity 0.15s ease;
}

.cms-faq__ask-success-close:hover {
	opacity: 1;
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 767px) {
	.cms-faq__heading--xl { font-size: 26px; }
	.cms-faq__heading--large { font-size: 22px; }
	.cms-faq__question { font-size: 14px; }

	.cms-faq__ask-row {
		-ms-flex-wrap: wrap;
		flex-wrap: wrap;
		gap: 0;
	}

	.cms-faq__ask-field--half {
		width: 100%;
		margin-bottom: 14px;
	}
}
