/* ============================================================================
   PACKAGE: public-site -- auto-loaded by includes/css.php when this folder exists.
   The public pages a full-website dashboard carries (About, FAQ, Contact). A
   subdomain dashboard drops the package, folder and all.
   ============================================================================ */

/* NOTE 2026-10-02: nothing in the template uses .faq-lead, .faq-category-* or
   #no-results-message today. Moved here from custom.css with the FAQ package
   rather than deleted -- remove it when the FAQ page is next touched. */

/* FAQ Lead Styling */
.faq-lead {
	font-family: "Poppins", sans-serif;
	font-size: 16px;
	font-weight: 600;
	color: var(--black);
	text-transform: capitalize;
}

.faq-lead:before {
	font-family: "Font Awesome 7 Pro";
	content: "\f059" !important;
	font-weight: 900 !important;
	-webkit-font-smoothing: antialiased;
	display: inline-block;
	padding-right: 5px;
	color: var(--black);
}

/* FAQ Category Navigation - Desktop Grid */
.faq-category-grid {
	display: grid;
	gap: 0.75rem;
	width: 100%;
}

.faq-category-btn {
	padding: 0.75rem 0.5rem;
	font-size: 0.875rem;
	font-weight: 500;
	white-space: normal;
	line-height: 1.3;
	min-height: 3rem;
	display: flex;
	align-items: center;
	justify-content: center;
	transition:
		background-color 0.2s ease,
		color 0.2s ease,
		border-color 0.2s ease;
	border-width: 2px !important;
	text-align: center;
}

.faq-category-btn:hover {
	opacity: 0.9;
}

.faq-category-btn.active {
	color: var(--gold-light) !important;
}

.faq-category-btn:focus {
	outline: none;
	box-shadow: 0 0 0 0.2rem rgba(115, 89, 77, 0.25);
}

/* Responsive grid adjustments */
@media (min-width: 768px) and (max-width: 991px) {
	.faq-category-grid {
		grid-template-columns: repeat(3, 1fr);
	}
}

@media (min-width: 992px) and (max-width: 1199px) {
	.faq-category-grid {
		grid-template-columns: repeat(4, 1fr);
	}
}

@media (min-width: 1200px) {
	.faq-category-grid {
		grid-template-columns: repeat(5, 1fr);
	}
}

/* Mobile FAQ Category Dropdown */
#faq-category-select {
	min-height: 48px;
	border: 2px solid #ddd;
	border-radius: 0;
	background-color: #fff;
	cursor: pointer;
	transition: all 0.2s ease;
}

#faq-category-select:focus {
	border-color: var(--mud);
	box-shadow: 0 0 0 0.2rem rgba(115, 89, 77, 0.25);
	outline: none;
}

/* No Results Message */
#no-results-message .alert {
	border-radius: 0;
	padding: 2rem;
}

#no-results-message i {
	display: block;
	color: var(--mud);
}
