/* ==========================================================================
   Custom additions — Modern Workplace static landing page
   Matches theme tokens: --ast-global-color-0 (#0170B9 accent), -3 (#4B4F58 body)
   Headings: 'Josefin Sans'. Body: 'Open Sans'.
   ========================================================================== */

/* ---- Global safety net (responsive hardening) ---- */
*, *::before, *::after { box-sizing: border-box; }
html, body { max-width: 100%; overflow-x: hidden; }
img { max-width: 100%; height: auto; }

/* ---- Working mobile nav (replaces JS-dependent Astra toggle) ---- */
#masthead .ast-mobile-header-content { display: none; }
#masthead.nav-open .ast-mobile-header-content { display: block; }
#masthead .ast-close-svg { display: none; }
#masthead .ast-menu2-svg { display: block; }
#masthead.nav-open .ast-close-svg { display: block; }
#masthead.nav-open .ast-menu2-svg { display: none; }
#masthead .menu-toggle { cursor: pointer; }

/* ---- FAQ section ---- */
.mw-faq-section {
	background-color: #FFFFFF;
	padding: 6.67em 3em;
}
.mw-faq-inner {
	max-width: 900px;
	margin: 0 auto;
}
.mw-faq-header {
	text-align: center;
	margin-bottom: 2.5em;
}
.mw-faq-header h2 {
	color: var(--ast-global-color-2, #3a3a3a);
	margin: 0 0 0.4em;
}
.mw-faq-intro {
	color: var(--ast-global-color-3, #4B4F58);
	font-size: 1.05rem;
	max-width: 640px;
	margin: 0 auto;
}
.mw-faq-list {
	display: flex;
	flex-direction: column;
	gap: 14px;
}
.mw-faq-item {
	background-color: var(--ast-global-color-6, #F2F5F7);
	border: 1px solid #e3e9ec;
	border-radius: 6px;
	padding: 0;
	overflow: hidden;
}
.mw-faq-item[open] {
	border-color: var(--ast-global-color-0, #0170B9);
}
.mw-faq-question {
	list-style: none;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 18px 22px;
	font-family: 'Josefin Sans', sans-serif;
	font-weight: 700;
	font-size: 1.15rem;
	color: var(--ast-global-color-2, #3a3a3a);
}
.mw-faq-question::-webkit-details-marker { display: none; }
.mw-faq-icon {
	flex-shrink: 0;
	width: 22px;
	height: 22px;
	position: relative;
}
.mw-faq-icon::before,
.mw-faq-icon::after {
	content: "";
	position: absolute;
	background-color: var(--ast-global-color-0, #0170B9);
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	transition: transform 0.2s ease;
}
.mw-faq-icon::before { width: 16px; height: 2px; }
.mw-faq-icon::after { width: 2px; height: 16px; }
.mw-faq-item[open] .mw-faq-icon::after { transform: translate(-50%, -50%) rotate(90deg) scale(0); }
.mw-faq-answer {
	padding: 0 22px 20px;
	color: var(--ast-global-color-3, #4B4F58);
	font-size: 1rem;
	line-height: 1.6;
}
.mw-faq-answer p { margin: 0; }
.mw-faq-cta {
	text-align: center;
	margin-top: 2.5em;
}
.mw-faq-cta p {
	color: var(--ast-global-color-3, #4B4F58);
	margin-bottom: 0.8em;
}
.mw-faq-cta-btn {
	display: inline-block;
	background-color: var(--ast-global-color-0, #0170B9);
	color: #ffffff !important;
	text-transform: uppercase;
	font-family: 'Josefin Sans', sans-serif;
	font-weight: 700;
	text-decoration: none;
	padding: 15px 40px;
}
.mw-faq-cta-btn:hover { background-color: var(--ast-global-color-1, #3a3a3a); }

@media (max-width: 768px) {
	.mw-faq-section { padding: 3.34em 1.5em; }
	.mw-faq-question { font-size: 1.05rem; padding: 16px 18px; }
}
@media (max-width: 544px) {
	.mw-faq-section { padding: 2.4em 1em; }
	.mw-faq-header h2 { font-size: 26px !important; }
}
