/* End custom CSS */

.elementor-widget-container .eael-protected-content-message {
	font-family: var(--e-global-typography-secondary-font-family), Sans-serif;
	font-weight: var(--e-global-typography-secondary-font-weight);
}

.elementor-widget-container .protected-content-error-msg {
	font-family: var(--e-global-typography-secondary-font-family), Sans-serif;
	font-weight: var(--e-global-typography-secondary-font-weight);
}

.elementor-13097 .elementor-element.elementor-element-8dfd68a {
	--display: flex;
	--flex-direction: column;
	--container-widget-width: calc(( 1 - var(--container-widget-flex-grow) ) * 100%);
	--container-widget-height: initial;
	--container-widget-flex-grow: 0;
	--container-widget-align-self: initial;
	--flex-wrap-mobile: wrap;
	--align-items: stretch;
	--gap: 10px 10px;
	--row-gap: 10px;
	--column-gap: 10px;
}

.elementor-widget-html .eael-protected-content-message {
	font-family: var(--e-global-typography-secondary-font-family), Sans-serif;
	font-weight: var(--e-global-typography-secondary-font-weight);
}

.elementor-widget-html .protected-content-error-msg {
	font-family: var(--e-global-typography-secondary-font-family), Sans-serif;
	font-weight: var(--e-global-typography-secondary-font-weight);
}

/* Start custom CSS */

/* ========================================= */

/* --- Bogart Wealth Family Loans Styles --- */

/* --- Place in Page Settings > Advanced > Custom CSS --- */

/* ========================================= */

/* --- Brand Colors --- */
:root {
	--bw-primary: #003049;
	--bw-secondary: #2996ee;
	--bw-accent: #e0ae2f;
	--bw-navy-medium: #005a87;
	--bw-blue-gray: #8da9c4;
	--bw-white: #fff;
	--bw-off-white: #fafafa;
	--bw-gray-light: #f7f7f7;
	--bw-gray-medium: #c8c8c8;
	--bw-border: #e0e0e0;
	--bw-text-dark: #003049;
	--bw-text-light: #555;
	--bw-text-muted: #8da9c4;
}

/* --- Base Container & Typography --- */
.bw-intro-section, .bw-content-section {
	color: var(--bw-text-dark);
	line-height: 1.7;
	margin-bottom: 3em;
}

.bw-lead-paragraph {
	font-size: 1.15em;
	line-height: 1.8;
	color: var(--bw-text-dark);
	margin-bottom: 1.5em;
	font-weight: 400;
}

.bw-content-section p {
	margin-bottom: 1.5em;
	font-size: 1.05em;
}

.bw-content-section h2 {
	color: var(--bw-primary);
	font-size: 2em;
	margin-top: 2.5em;
	margin-bottom: 1em;
	font-weight: 700;
	line-height: 1.3;
}

.bw-content-section h3 {
	color: var(--bw-primary);
	font-size: 1.5em;
	margin-top: 2em;
	margin-bottom: .75em;
	font-weight: 600;
}

.bw-content-section h4 {
	color: var(--bw-primary);
	font-size: 1.25em;
	margin-top: 1.5em;
	margin-bottom: .75em;
	font-weight: 600;
}

.bw-content-section a {
	color: var(--bw-secondary);
	text-decoration: none;
	border-bottom: 1px solid var(--bw-secondary);
	transition: all .3s ease;
}

.bw-content-section a:hover {
	color: var(--bw-primary);
	border-bottom-color: var(--bw-primary);
}

/* --- Lists --- */
.bw-list, .bw-example-list, .bw-scenario-list {
	padding-left: 25px;
	margin-bottom: 1.5em;
}

.bw-list li, .bw-example-list li, .bw-scenario-list li {
	margin-bottom: .75em;
	line-height: 1.7;
}

.bw-list strong {
	color: var(--bw-primary);
	font-weight: 600;
}

/* ========================================= */

/* --- Special Content Boxes --- */

/* ========================================= */

/* --- Example Box --- */
.bw-example-box {
	background-color: var(--bw-gray-light);
	border-left: 4px solid var(--bw-secondary);
	padding: 1.5em 2em;
	margin: 2em 0;
	border-radius: 4px;
}

.bw-example-box h4 {
	color: var(--bw-primary);
	font-size: 1.2em;
	margin-top: 0;
	margin-bottom: 1em;
	font-weight: 600;
}

.bw-example-box p {
	margin-bottom: 1em;
}

.bw-example-box ul {
	margin-bottom: 0;
}

/* --- Warning Box --- */
.bw-warning-box {
	background-color: #fff8e1;
	border-left: 4px solid var(--bw-accent);
	padding: 1.5em 2em;
	margin: 2em 0;
	border-radius: 4px;
}

.bw-warning-box h4 {
	color: var(--bw-primary);
	font-size: 1.2em;
	margin-top: 0;
	margin-bottom: 1em;
	font-weight: 600;
}

.bw-warning-box p {
	margin-bottom: 0;
	color: var(--bw-text-dark);
}

/* --- Scenario Box --- */
.bw-scenario-box {
	background-color: var(--bw-off-white);
	border: 1px solid var(--bw-border);
	padding: 1.5em 2em;
	margin: 1.5em 0;
	border-radius: 8px;
}

.bw-scenario-box h4 {
	color: var(--bw-secondary);
	font-size: 1.15em;
	margin-top: 0;
	margin-bottom: 1em;
	font-weight: 600;
}

/* --- Checklist --- */
.bw-checklist {
	margin: 2em 0;
}

.bw-checklist-item {
	display: flex;
	align-items: flex-start;
	margin-bottom: 1em;
	padding: 1em;
	background-color: var(--bw-off-white);
	border-radius: 6px;
	transition: background-color .3s ease;
}

.bw-checklist-item:hover {
	background-color: var(--bw-gray-light);
}

.bw-check-icon {
	color: var(--bw-secondary);
	font-size: 1.3em;
	font-weight: bold;
	margin-right: 1em;
	flex-shrink: 0;
}

.bw-check-text {
	color: var(--bw-text-dark);
	line-height: 1.6;
}

/* ========================================= */

/* --- Desktop Tables --- */

/* ========================================= */

/* --- Comparison Table (Desktop) --- */
.bw-comparison-table {
	overflow-x: hidden;
	margin: 2.5em 0;
	border: 1px solid var(--bw-border);
	border-radius: 8px;
	box-shadow: 0 4px 12px rgba(0, 0, 0, .06);
}

.bw-table {
	width: 100%;
	border-collapse: collapse;
	margin: 0;
	font-size: .95em;
}

.bw-table th, .bw-table td {
	padding: 16px 20px;
	text-align: left;
	border: none;
	border-bottom: 1px solid var(--bw-border);
	vertical-align: top;
}

.bw-table thead tr {
	background-color: var(--bw-primary);
	color: var(--bw-white);
}

.bw-table thead th {
	font-weight: 600;
	font-size: 1em;
	border-bottom: none;
}

.bw-table tbody tr {
	background-color: var(--bw-white);
	transition: background-color .3s ease;
}

.bw-table tbody tr:nth-child(even) {
	background-color: var(--bw-gray-light);
}

.bw-table tbody tr:hover {
	background-color: #e8f4fd;
}

.bw-table tbody td:first-child {
	font-weight: 600;
	color: var(--bw-primary);
}

.bw-table tbody tr:last-child td {
	border-bottom: none;
}

/* --- Forgiveness Table (Desktop) --- */
.bw-forgiveness-table {
	overflow-x: hidden;
	margin: 2.5em 0;
	border: 1px solid var(--bw-border);
	border-radius: 8px;
	box-shadow: 0 4px 12px rgba(0, 0, 0, .06);
}

/* ========================================= */

/* --- Mobile Cards (Hidden on Desktop) --- */

/* ========================================= */
.bw-mobile-only {
	display: none;
}

/* --- Comparison Cards --- */
.bw-comparison-cards {
	margin: 2em 0;
}

.bw-comparison-card {
	background-color: var(--bw-white);
	border: 1px solid var(--bw-border);
	border-radius: 8px;
	margin-bottom: 1.5em;
	box-shadow: 0 4px 12px rgba(0, 0, 0, .04);
	overflow: hidden;
}

.bw-card-title {
	background-color: var(--bw-primary);
	color: var(--bw-white);
	padding: 14px 18px;
	margin: 0;
	font-size: 1.1em;
	font-weight: 600;
}

.bw-card-row {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	padding: 14px 18px;
	border-bottom: 1px solid var(--bw-border);
}

.bw-card-row:last-child {
	border-bottom: none;
}

.bw-card-label {
	font-weight: 600;
	color: var(--bw-text-muted);
	font-size: .9em;
	flex: 0 0 40%;
}

.bw-card-value {
	text-align: right;
	color: var(--bw-text-dark);
	flex: 0 0 55%;
}

/* --- Strategy Cards (for forgiveness table) --- */
.bw-forgiveness-cards {
	margin: 2em 0;
}

.bw-strategy-card {
	background-color: var(--bw-white);
	border: 1px solid var(--bw-border);
	border-radius: 8px;
	margin-bottom: 1.5em;
	box-shadow: 0 4px 12px rgba(0, 0, 0, .04);
	overflow: hidden;
}

.bw-strategy-title {
	background-color: var(--bw-primary);
	color: var(--bw-white);
	padding: 14px 18px;
	margin: 0;
	font-size: 1.05em;
	font-weight: 600;
}

.bw-strategy-row {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	padding: 14px 18px;
	border-bottom: 1px solid var(--bw-border);
}

.bw-strategy-row:last-child {
	border-bottom: none;
}

.bw-strategy-label {
	font-weight: 600;
	color: var(--bw-text-muted);
	font-size: .9em;
	flex: 0 0 40%;
}

.bw-strategy-value {
	text-align: right;
	color: var(--bw-text-dark);
	flex: 0 0 55%;
}

/* ========================================= */

/* --- CTA Boxes & Buttons --- */

/* ========================================= */

/* --- CTA Box --- */
.bw-cta-box {
	background: linear-gradient(135deg, var(--bw-primary) 0%, var(--bw-navy-medium) 100%);
	color: var(--bw-white);
	padding: 2.5em 3em;
	margin: 3em 0;
	border-radius: 12px;
	text-align: center;
	box-shadow: 0 6px 20px rgba(0, 48, 73, .15);
}

.bw-cta-box h3 {
	color: var(--bw-white);
	font-size: 1.8em;
	margin-top: 0;
	margin-bottom: 1em;
	font-weight: 700;
}

.bw-cta-box p {
	color: var(--bw-white);
	font-size: 1.1em;
	margin-bottom: 1.5em;
	line-height: 1.7;
}

.bw-cta-button {
	display: inline-block;
	background-color: var(--bw-secondary);
	color: var(--bw-white) !important;
	padding: 14px 32px;
	border-radius: 6px;
	font-weight: 600;
	font-size: 1.05em;
	text-decoration: none;
	border: none;
	border-bottom: none !important;
	transition: all .3s ease;
	cursor: pointer;
}

.bw-cta-button:hover {
	background-color: var(--bw-navy-medium);
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(41, 150, 238, .3);
}

/* --- Final CTA Section --- */
.bw-final-cta {
	margin-top: 4em;
	padding-top: 3em;
	border-top: 2px solid var(--bw-border);
}

.bw-final-cta h2 {
	text-align: center;
	margin-bottom: 1.5em;
}

.bw-final-cta > p {
	text-align: center;
	font-size: 1.1em;
	max-width: 800px;
	margin: 0 auto 3em;
	color: var(--bw-text-light);
}

/* --- Services Grid --- */
.bw-services-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 2em;
	margin: 3em 0;
}

.bw-service-card {
	background-color: var(--bw-off-white);
	border: 1px solid var(--bw-border);
	padding: 2em;
	border-radius: 8px;
	transition: all .3s ease;
}

.bw-service-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 8px 20px rgba(0, 0, 0, .08);
	border-color: var(--bw-secondary);
}

.bw-service-card h3 {
	color: var(--bw-primary);
	font-size: 1.4em;
	margin-top: 0;
	margin-bottom: .75em;
}

.bw-service-card p {
	color: var(--bw-text-light);
	margin-bottom: 1.5em;
	line-height: 1.6;
}

.bw-service-link {
	color: var(--bw-secondary);
	font-weight: 600;
	text-decoration: none;
	border-bottom: 1px solid transparent;
	transition: all .3s ease;
}

.bw-service-link:hover {
	border-bottom-color: var(--bw-secondary);
}

/* --- Contact CTA --- */
.bw-contact-cta {
	text-align: center;
	background-color: var(--bw-gray-light);
	padding: 3em 2em;
	margin: 3em 0 0;
	border-radius: 8px;
}

.bw-contact-text {
	font-size: 1.15em;
	color: var(--bw-text-dark);
	margin-bottom: 1.5em;
	max-width: 700px;
	margin-left: auto;
	margin-right: auto;
}

.bw-cta-primary {
	background-color: var(--bw-accent);
	font-size: 1.1em;
	padding: 16px 40px;
}

.bw-cta-primary:hover {
	background-color: #c99a27;
}

/* ========================================= */

/* --- FAQ Section --- */

/* ========================================= */
.bw-faq-section {
	margin-top: 4em;
	padding-top: 3em;
	border-top: 2px solid var(--bw-border);
}

.bw-faq-section > h2 {
	margin-top: 0;
}

.bw-faq-item {
	margin-bottom: 2.5em;
	padding-bottom: 2em;
	border-bottom: 1px solid var(--bw-border);
}

.bw-faq-item:last-child {
	border-bottom: none;
	padding-bottom: 0;
}

.bw-faq-item h3 {
	color: var(--bw-primary);
	font-size: 1.3em;
	margin-top: 0;
	margin-bottom: 1em;
	font-weight: 600;
	line-height: 1.4;
}

.bw-faq-item p {
	color: var(--bw-text-dark);
	margin-bottom: 0;
	line-height: 1.7;
}

/* ========================================= */

/* --- AFR CALCULATOR WIDGET --- */

/* ========================================= */
.bw-calculator-widget {
	background-color: var(--bw-white);
	border: 2px solid var(--bw-border);
	border-radius: 12px;
	padding: 2.5em;
	margin: 3em 0;
	box-shadow: 0 6px 20px rgba(0, 0, 0, .08);
}

.bw-calc-title {
	color: var(--bw-primary);
	font-size: 1.8em;
	margin-top: 0;
	margin-bottom: .5em;
	font-weight: 700;
}

.bw-calc-description {
	color: var(--bw-text-light);
	font-size: 1.05em;
	margin-bottom: 2em;
	line-height: 1.6;
}

/* --- Calculator Form --- */
.bw-calc-form {
	margin-bottom: 2em;
}

.bw-form-group {
	margin-bottom: 1.5em;
}

.bw-form-label {
	display: block;
	color: var(--bw-primary);
	font-weight: 600;
	margin-bottom: .5em;
	font-size: .95em;
}

.bw-form-input, .bw-form-select {
	width: 100%;
	padding: 12px 16px;
	border: 2px solid var(--bw-border);
	border-radius: 6px;
	font-size: 1em;
	color: var(--bw-text-dark);
	background-color: var(--bw-white);
	transition: all .3s ease;
	font-family: inherit;
}

.bw-form-input:focus, .bw-form-select:focus {
	outline: none;
	border-color: var(--bw-secondary);
	box-shadow: 0 0 0 3px rgba(41, 150, 238, .1);
}

.bw-form-input::placeholder {
	color: var(--bw-gray-medium);
}

/* --- Calculate Button --- */
.bw-calc-button {
	width: 100%;
	background-color: var(--bw-secondary);
	color: var(--bw-white);
	padding: 14px 32px;
	border: none;
	border-radius: 6px;
	font-size: 1.1em;
	font-weight: 600;
	cursor: pointer;
	transition: all .3s ease;
	font-family: inherit;
}

.bw-calc-button:hover {
	background-color: var(--bw-navy-medium);
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(41, 150, 238, .3);
}

.bw-calc-button:active {
	transform: translateY(0);
}

/* --- Calculator Results --- */
.bw-calc-results {
	background-color: var(--bw-gray-light);
	border: 1px solid var(--bw-border);
	border-radius: 8px;
	padding: 2em;
	margin-top: 2em;
}

.bw-results-title {
	color: var(--bw-primary);
	font-size: 1.5em;
	margin-top: 0;
	margin-bottom: 1.5em;
	font-weight: 700;
}

.bw-result-row {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 1em 0;
	border-bottom: 1px solid var(--bw-border);
}

.bw-result-row:last-child {
	border-bottom: none;
}

.bw-result-label {
	color: var(--bw-text-light);
	font-weight: 500;
	font-size: .95em;
}

.bw-result-value {
	color: var(--bw-primary);
	font-weight: 700;
	font-size: 1.2em;
}

.bw-highlight {
	color: var(--bw-accent);
	font-size: 1.3em;
}

/* --- Result Note --- */
.bw-result-note {
	background-color: var(--bw-off-white);
	border-left: 4px solid var(--bw-secondary);
	padding: 1em 1.5em;
	margin: 1.5em 0;
	border-radius: 4px;
}

.bw-result-note p {
	margin: 0;
	font-size: .9em;
	color: var(--bw-text-light);
	line-height: 1.6;
}

.bw-result-note strong {
	color: var(--bw-primary);
}

/* --- Comparison Section --- */
.bw-comparison-section {
	background-color: var(--bw-white);
	border: 1px solid var(--bw-border);
	border-radius: 6px;
	padding: 1.5em;
	margin-top: 2em;
}

.bw-comparison-section h5 {
	color: var(--bw-primary);
	font-size: 1.15em;
	margin-top: 0;
	margin-bottom: 1em;
	font-weight: 600;
}

.bw-savings-row {
	background-color: #fff8e1;
	margin: 0 -1.5em;
	padding: 1em 1.5em;
	border-radius: 4px;
}

/* ========================================= */

/* --- RESPONSIVE STYLES --- */

/* ========================================= */
@media (max-width: 768px) {
	/* Hide desktop tables */
	.bw-desktop-only {
		display: none !important;
	}
	
	/* Show mobile cards */
	.bw-mobile-only {
		display: block;
	}
	
	/* Typography adjustments */
	.bw-content-section h2 {
		font-size: 1.6em;
		margin-top: 2em;
	}
	
	.bw-content-section h3 {
		font-size: 1.3em;
	}
	
	.bw-lead-paragraph {
		font-size: 1.1em;
	}
	
	/* Content boxes */
	.bw-example-box, .bw-warning-box, .bw-scenario-box {
		padding: 1.25em 1.5em;
	}
	
	/* CTA adjustments */
	.bw-cta-box {
		padding: 2em 1.5em;
	}
	
	.bw-cta-box h3 {
		font-size: 1.5em;
	}
	
	.bw-cta-button {
		padding: 12px 24px;
		font-size: 1em;
	}
	
	/* Services grid */
	.bw-services-grid {
		grid-template-columns: 1fr;
		gap: 1.5em;
	}
	
	.bw-service-card {
		padding: 1.5em;
	}
	
	/* Contact CTA */
	.bw-contact-cta {
		padding: 2em 1.5em;
	}
	
	/* Calculator widget */
	.bw-calculator-widget {
		padding: 1.5em;
	}
	
	.bw-calc-title {
		font-size: 1.5em;
	}
	
	.bw-calc-results {
		padding: .5em;
	}
	
	.bw-result-row {
		flex-direction: column;
		align-items: flex-start;
		gap: .5em;
	}
	
	.bw-result-label {
		font-size: .9em;
	}
	
	.bw-result-value {
		font-size: 1.3em;
	}
	
	.bw-savings-row {
		margin: 0 auto;
	}
	
	.bw-comparison-section {
		padding: 1.25em;
	}
	
	/* FAQ adjustments */
	.bw-faq-item h3 {
		font-size: 1.15em;
	}
}

@media (max-width: 480px) {
	/* Typography for smallest screens */
	.bw-content-section h2 {
		font-size: 1.4em;
	}
	
	.bw-lead-paragraph {
		font-size: 1.05em;
	}
	
	/* Tighter spacing */
	.bw-content-section {
		margin-bottom: 2em;
	}
	
	.bw-cta-box {
		padding: 1.5em 1.25em;
	}
	
	.bw-calculator-widget {
		padding: 1.25em;
	}
	
	.bw-calc-title {
		font-size: 1.3em;
	}
	
	.bw-result-value-highlight {
		font-size: 1.5rem;
	}
	
	/* Card adjustments */
	.bw-card-row, .bw-strategy-row {
		flex-direction: column;
		gap: .5em;
	}
	
	.bw-card-label, .bw-strategy-label {
		flex: 1 1 100%;
	}
	
	.bw-card-value, .bw-strategy-value {
		flex: 1 1 100%;
		text-align: left;
	}
}

/* ========================================= */

/* --- PRINT STYLES (Optional) --- */

/* ========================================= */
@media print {
	.bw-calculator-widget, .bw-cta-box, .bw-contact-cta {
		display: none;
	}
	
	.bw-mobile-only {
		display: none !important;
	}
	
	.bw-desktop-only {
		display: block !important;
	}
	
	.bw-content-section {
		page-break-inside: avoid;
	}
	
	.bw-content-section a {
		border-bottom: none;
		text-decoration: underline;
	}
}
