/* GENERIC CONTENT PAGE STYLES (About, Contact, Legal, FAQ) */

.content {
	padding: 3.5rem 2rem 5rem;
}

.content-layout {
	display: grid;
	grid-template-columns: 220px 1fr;
	gap: 4rem;
	align-items: flex-start;
}

/* Side navigation for sub-sections */
.content-nav {
	position: sticky;
	top: 6rem;
	display: flex;
	flex-direction: column;
	gap: 0.25rem;
}

.content-nav a {
	font-size: 0.78rem;
	font-weight: 500;
	color: var(--brand-medium-gray);
	text-decoration: none;
	padding: 0.6rem 0.85rem;
	border-left: 2px solid var(--brand-off-white);
	transition: all 0.2s ease;
}

.content-nav a:hover,
.content-nav a.active {
	color: var(--brand-primary-red);
	border-left-color: var(--brand-primary-red);
	background-color: #fafafa;
}

/* Prose */
.content-prose {
	max-width: 760px;
	font-size: 1rem;
	line-height: 1.9;
	color: var(--brand-medium-gray);
}

.content-prose > * + * {
	margin-top: 1.5rem;
}

.content-prose h2 {
	font-size: 1.5rem;
	font-weight: 700;
	color: var(--brand-black);
	letter-spacing: -0.01em;
	text-transform: uppercase;
	margin-top: 2.75rem;
}

.content-prose h2:first-child {
	margin-top: 0;
}

.content-prose h3 {
	font-size: 1.1rem;
	font-weight: 600;
	color: var(--brand-black);
	margin-top: 2rem;
}

.content-prose p {
	color: var(--brand-medium-gray);
}

.content-prose ul {
	padding-left: 1.5rem;
}

.content-prose li + li {
	margin-top: 0.6rem;
}

/* Value / stat cards */
.content-cards {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.5rem;
	margin-top: 2rem;
}

.content-card {
	border: 1px solid #ebebeb;
	border-radius: 2px;
	padding: 1.75rem 1.5rem;
	display: flex;
	flex-direction: column;
	gap: 0.85rem;
	transition: all 0.3s ease;
}

.content-card:hover {
	border-color: var(--brand-primary-red);
	box-shadow: 0 12px 24px rgba(187, 13, 18, 0.06);
}

.content-card-icon {
	width: 48px;
	height: 48px;
	color: var(--brand-primary-red);
}

.content-card-icon svg {
	width: 100%;
	height: 100%;
	stroke: currentColor;
	stroke-width: 1.4;
	fill: none;
}

.content-card-title {
	font-size: 0.85rem;
	font-weight: 700;
	color: var(--brand-dark-gray);
	letter-spacing: 0.04em;
	text-transform: uppercase;
	margin: 0;
}

.content-card-text {
	font-size: 0.85rem;
	line-height: 1.7;
	color: var(--brand-medium-gray);
	margin: 0;
}

/* Contact form */
.contact-form {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1.25rem;
	margin-top: 2rem;
}

.form-field {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}

.form-field.full {
	grid-column: 1 / -1;
}

.form-label {
	font-size: 0.7rem;
	font-weight: 600;
	color: var(--brand-dark-gray);
	letter-spacing: 0.05em;
	text-transform: uppercase;
}

.form-input,
.form-textarea {
	font-family: inherit;
	font-size: 0.9rem;
	color: var(--brand-dark-gray);
	padding: 0.85rem 1rem;
	border: 1px solid var(--brand-off-white);
	border-radius: 2px;
	background-color: var(--brand-white);
	transition: border-color 0.2s ease;
}

.form-input:focus,
.form-textarea:focus {
	outline: none;
	border-color: var(--brand-primary-red);
}

.form-textarea {
	resize: vertical;
	min-height: 140px;
}

/* FAQ accordion */
.faq-list {
	margin-top: 2rem;
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.faq-item {
	border: 1px solid var(--brand-off-white);
	border-radius: 2px;
	background-color: var(--brand-white);
	transition:
		border-color 0.2s ease,
		box-shadow 0.2s ease;
}

.faq-item[open] {
	border-color: var(--brand-primary-red);
	box-shadow: 0 8px 20px rgba(187, 13, 18, 0.06);
}

.faq-question {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	font-size: 0.95rem;
	font-weight: 600;
	color: var(--brand-dark-gray);
	padding: 1.25rem 1.5rem;
	cursor: pointer;
	list-style: none;
}

.faq-question::-webkit-details-marker {
	display: none;
}

.faq-question::after {
	content: "+";
	font-size: 1.35rem;
	font-weight: 400;
	color: var(--brand-primary-red);
	line-height: 1;
	flex-shrink: 0;
}

.faq-item[open] .faq-question::after {
	content: "\2212";
}

.faq-answer {
	font-size: 0.9rem;
	line-height: 1.8;
	color: var(--brand-medium-gray);
	margin: 0;
	padding: 0 1.5rem 1.5rem;
}

.faq-answer p {
	margin: 0 0 0.85rem;
}

.faq-answer p:last-child {
	margin-bottom: 0;
}

.faq-answer ul {
	margin: 0 0 0.85rem;
	padding-left: 1.25rem;
}

.faq-answer ul:last-child {
	margin-bottom: 0;
}

.faq-answer li {
	margin-bottom: 0.4rem;
}

.faq-answer li:last-child {
	margin-bottom: 0;
}

.faq-answer strong {
	color: var(--brand-dark-gray);
	font-weight: 600;
}

.faq-group-title {
	margin: 3rem 0 0;
	padding-bottom: 0.75rem;
	border-bottom: 2px solid var(--brand-off-white);
	font-size: 1.15rem;
	font-weight: 700;
	color: var(--brand-dark-gray);
}

.faq-group-title + .faq-list {
	margin-top: 1.25rem;
}

/* Responsive */
@media (max-width: 992px) {
	.content-layout {
		grid-template-columns: 1fr;
		gap: 2.5rem;
	}

	.content-nav {
		position: static;
		flex-direction: row;
		flex-wrap: wrap;
	}

	.content-cards {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 768px) {
	.content {
		padding: 2.5rem 1rem 3.5rem;
	}

	.content-cards {
		grid-template-columns: 1fr;
	}

	.contact-form {
		grid-template-columns: 1fr;
	}
}
