/*
Theme Name: Protean
Theme URI: https://floridamortgagesolvers.com
Author: Wayruro Media
Author URI: https://chimpmatic.com
Description: Lightweight child theme for GeneratePress. Built for high-performance mortgage content sites.
Template: generatepress
Version: 26.02.13.1500
Requires at least: 6.5
Tested up to: 6.9
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: protean
*/

/* ==========================================================================
   Design System — CSS Custom Properties
   ========================================================================== */

:root {
	--fms-navy: #1B365D;
	--fms-navy-light: #2C5282;
	--fms-green: #2F855A;
	--fms-green-light: #38A169;
	--fms-gold: #D69E2E;
	--fms-text: #1A202C;
	--fms-text-secondary: #4A5568;
	--fms-border: #E2E8F0;
	--fms-bg-light: #EDF2F7;
	--fms-bg-white: #FFFFFF;
	--fms-alert: #C53030;
	--fms-info: #3182CE;
	--fms-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	--fms-gap: 1.5rem;
	--fms-gap-lg: 3rem;
	--fms-content-width: 1140px;
}

/* ==========================================================================
   Base Typography
   ========================================================================== */

body {
	font-family: var(--fms-font);
	color: var(--fms-text);
	line-height: 1.7;
	font-size: 17px;
}

h1, h2, h3, h4, h5, h6 {
	color: var(--fms-navy);
	line-height: 1.3;
}

h1 { font-size: 2.25rem; font-weight: 700; }
h2 { font-size: 1.75rem; font-weight: 700; }
h3 { font-size: 1.375rem; font-weight: 600; }
h4 { font-size: 1.125rem; font-weight: 600; }

@media (max-width: 768px) {
	h1 { font-size: 1.75rem; }
	h2 { font-size: 1.5rem; }
	h3 { font-size: 1.25rem; }
	body { font-size: 16px; }
}

a {
	color: var(--fms-navy-light);
	text-decoration-thickness: 1px;
	text-underline-offset: 2px;
}

a:hover {
	color: var(--fms-navy);
}

/* ==========================================================================
   Secondary Navigation (Top Bar)
   ========================================================================== */

.protean-top-bar {
	background: var(--fms-navy);
	color: #fff;
	font-size: 0.8125rem;
	line-height: 1;
	padding: 0.5rem 0;
}

.protean-top-bar__inner {
	max-width: var(--fms-content-width);
	margin: 0 auto;
	padding: 0 1rem;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.protean-top-bar__left,
.protean-top-bar__right {
	display: flex;
	align-items: center;
	gap: 0.75rem;
}

.protean-top-bar__phone {
	color: #fff;
	text-decoration: none;
	display: flex;
	align-items: center;
	gap: 0.35rem;
}

.protean-top-bar__phone:hover {
	color: var(--fms-gold);
}

.protean-top-bar__sep {
	opacity: 0.4;
}

.protean-top-bar__spanish {
	color: var(--fms-gold);
	font-weight: 600;
}

.protean-top-bar__nmls,
.protean-top-bar__ehl {
	opacity: 0.85;
}

@media (max-width: 768px) {
	.protean-top-bar__right {
		display: none;
	}
	.protean-top-bar__inner {
		justify-content: center;
	}
}

/* ==========================================================================
   Sticky Header
   ========================================================================== */

.site-header {
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.site-header.protean-sticky {
	position: sticky;
	top: 0;
	z-index: 999;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.site-header.protean-header-hidden {
	transform: translateY(-100%);
}

/* ==========================================================================
   Breadcrumbs
   ========================================================================== */

.protean-breadcrumbs {
	max-width: var(--fms-content-width);
	margin: 0 auto;
	padding: 0.75rem 1rem;
	font-size: 0.8125rem;
	color: var(--fms-text-secondary);
}

.protean-breadcrumbs__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
}

.protean-breadcrumbs__item {
	display: inline-flex;
	align-items: center;
}

.protean-breadcrumbs__item a {
	color: var(--fms-navy-light);
	text-decoration: none;
}

.protean-breadcrumbs__item a:hover {
	text-decoration: underline;
}

.protean-breadcrumbs__sep {
	margin: 0 0.25rem;
	opacity: 0.5;
}

/* ==========================================================================
   Content Formatting
   ========================================================================== */

.entry-content > * + * {
	margin-top: 1.5rem;
}

.entry-content ul,
.entry-content ol {
	padding-left: 1.5rem;
}

.entry-content li + li {
	margin-top: 0.5rem;
}

.entry-content table {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.9375rem;
}

.entry-content th,
.entry-content td {
	padding: 0.75rem 1rem;
	border-bottom: 1px solid var(--fms-border);
	text-align: left;
}

.entry-content th {
	background: var(--fms-bg-light);
	font-weight: 600;
	color: var(--fms-navy);
}

.entry-content tr:hover td {
	background: #f7fafc;
}

/* FAQ accordion */
.wp-block-details {
	border-bottom: 1px solid var(--fms-border);
	padding: 1rem 0;
}

.wp-block-details summary {
	font-weight: 600;
	cursor: pointer;
	color: var(--fms-navy);
	padding: 0.25rem 0;
}

.wp-block-details summary:hover {
	color: var(--fms-navy-light);
}

.wp-block-details[open] summary {
	margin-bottom: 0.75rem;
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.wp-block-button__link {
	border-radius: 6px;
	font-weight: 600;
	padding: 0.75rem 1.5rem;
	transition: background-color 0.2s ease, transform 0.1s ease;
}

.wp-block-button__link:hover {
	filter: brightness(1.1);
	transform: translateY(-1px);
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
	background: var(--fms-navy);
	color: rgba(255, 255, 255, 0.8);
	font-size: 0.875rem;
}

.site-footer a {
	color: rgba(255, 255, 255, 0.9);
}

.site-footer a:hover {
	color: var(--fms-gold);
}
