/* 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-5922 .elementor-element.elementor-element-6606cc4 {
	--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);
}

.elementor-5922 .elementor-element.elementor-element-9710246 > .elementor-widget-container {
	margin: 0px 0px 0px 0px;
}

.elementor-5922 .elementor-element.elementor-element-37eff9b > .elementor-widget-container {
	margin: 0px 0px 0px 0px;
}

.elementor-widget-image .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-image .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-widget-image .widget-image-caption {
	color: var(--e-global-color-text);
	font-family: var(--e-global-typography-text-font-family), Sans-serif;
	font-weight: var(--e-global-typography-text-font-weight);
}

.elementor-5922 .elementor-element.elementor-element-7fe61a7 > .elementor-widget-container {
	margin: 0px 0px 0px 0px;
}

/* Start custom CSS */

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

/* --- Bogart Wealth Social Security State Tax Styles --- */

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

/* --- 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;
	--bw-success: #28a745;
	--bw-warning: #ffc107;
	--bw-highlight: #fff8e1;
}

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

/* --- BASE ARTICLE STYLES --- */

/* ========================================= */
.ss-tax-article {
	color: var(--bw-text-dark);
	line-height: 1.7;
}

.ss-tax-article p {
	margin-bottom: 1.5em;
	font-size: 1.05em;
}

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

.ss-tax-article a:hover {
	color: var(--bw-primary);
	border-bottom-color: var(--bw-primary);
}

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

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

/* --- HERO SECTION --- */

/* ========================================= */
.ss-tax-hero {
	margin-bottom: 3em;
}

.article-lead {
	font-size: 1.15em;
	line-height: 1.8;
	color: var(--bw-text-dark);
	margin-bottom: 1.5em;
	font-weight: 400;
	padding: 1.5em 2em;
	background-color: var(--bw-gray-light);
	border-left: 4px solid var(--bw-secondary);
	border-radius: 4px;
}

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

/* --- KEY TAKEAWAYS BOX --- */

/* ========================================= */
.key-takeaways {
	background-color: #e3f2fd;
	border: 2px solid var(--bw-secondary);
	border-radius: 8px;
	padding: 2em;
	margin: 2.5em 0;
	box-shadow: 0 4px 12px rgba(41, 150, 238, .1);
}

.takeaways-title {
	color: var(--bw-primary);
	font-size: 1.6em;
	margin-top: 0 !important;
	margin-bottom: 1em;
	font-weight: 700;
}

.takeaways-list {
	list-style: none;
	padding: 0;
	margin: 0;
}

.takeaways-list li {
	position: relative;
	padding-left: 2em;
	margin-bottom: 1em;
	line-height: 1.7;
}

.takeaways-list li::before {
	content: "✓";
	position: absolute;
	left: 0;
	color: var(--bw-success);
	font-weight: bold;
	font-size: 1.3em;
}

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

/* --- CONTENT SECTIONS --- */

/* ========================================= */
.ss-tax-intro, .federal-tax-section, .state-comparison-section, .state-details-section, .no-tax-states-section, .state-changes-section, .relocation-section, .strategies-section, .faq-section, .conclusion-section {
	margin-bottom: 3em;
}

.section-intro {
	font-size: 1.05em;
	line-height: 1.7;
	margin-bottom: 2em;
}

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

/* --- CALCULATOR SECTION --- */

/* ========================================= */
.calculator-section {
	margin: 3em 0;
}

.calculator-container {
	background-color: var(--bw-off-white);
	border-radius: 8px;
	padding: 2em;
}

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

/* --- FORMULA BOX --- */

/* ========================================= */
.formula-box {
	background-color: var(--bw-highlight);
	border: 2px solid var(--bw-accent);
	border-radius: 8px;
	padding: 2em;
	margin: 2em 0;
}

.formula-title {
	color: var(--bw-primary);
	font-size: 1.4em;
	margin-top: 0;
	margin-bottom: 1em;
	font-weight: 600;
}

.formula-content {
	background-color: var(--bw-white);
	padding: 1.5em;
	border-radius: 4px;
}

.formula-equation {
	font-size: 1.1em;
	margin: 0;
	text-align: center;
	font-family: "Courier New", monospace;
}

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

/* --- TAX THRESHOLDS --- */

/* ========================================= */
.tax-thresholds {
	margin: 2.5em 0;
}

.threshold-group {
	background-color: var(--bw-off-white);
	border: 1px solid var(--bw-border);
	border-radius: 8px;
	padding: 1.5em 2em;
	margin-bottom: 1.5em;
}

.threshold-category {
	color: var(--bw-secondary);
	font-size: 1.3em;
	margin-top: 0;
	margin-bottom: 1em;
	font-weight: 600;
}

.threshold-list {
	list-style: none;
	padding: 0;
	margin: 0;
}

.threshold-list li {
	padding: .75em 0;
	border-bottom: 1px solid var(--bw-border);
	line-height: 1.6;
}

.threshold-list li:last-child {
	border-bottom: none;
}

.tax-note {
	background-color: var(--bw-gray-light);
	padding: 1em 1.5em;
	border-left: 4px solid var(--bw-blue-gray);
	border-radius: 4px;
	margin-top: 1.5em;
	font-size: .95em;
	color: var(--bw-text-light);
}

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

/* --- HIGHLIGHT BOX --- */

/* ========================================= */
.highlight-box {
	background: linear-gradient(135deg, #fff8e1 0%, #fff3cd 100%);
	border: 2px solid var(--bw-accent);
	border-radius: 8px;
	padding: 2em;
	margin: 2.5em 0;
	box-shadow: 0 4px 12px rgba(224, 174, 47, .2);
}

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

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

/* --- STATE COMPARISON TABLE --- */

/* ========================================= */
.state-comparison-wrapper {
	margin: 3em 0;
}

.table-title {
	color: var(--bw-primary);
	font-size: 1.8em;
	margin-bottom: 1.5em;
	font-weight: 700;
	text-align: center;
}

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

.state-comparison-table {
	width: 100%;
	border-collapse: collapse;
	margin: 0;
	font-size: .92em;
}

.state-comparison-table th {
	padding: 14px 16px;
	text-align: left;
	background-color: var(--bw-primary);
	color: var(--bw-white);
	font-weight: 600;
	border: none;
}

.state-comparison-table td {
	padding: 14px 16px;
	border-bottom: 1px solid var(--bw-border);
	vertical-align: top;
}

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

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

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

.state-comparison-table .state-name {
	font-weight: 700;
	color: var(--bw-primary);
}

.state-comparison-table .state-phasing {
	background-color: #fff8e1 !important;
}

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

/* Mobile Cards */
.comparison-cards-mobile {
	display: none;
}

.state-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;
}

.state-card-phasing {
	background-color: #fff8e1;
	border-color: var(--bw-accent);
}

.card-header {
	background-color: var(--bw-primary);
	color: var(--bw-white) !important;
	padding: 1em 1.5em;
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	gap: .5em;
}

.card-state-name {
	font-size: 1.2em;
	font-weight: 700;
	margin: 0;
	color: var(--bw-white) !important;
}

.card-tax-rate {
	font-size: .95em;
	background-color: rgba(255, 255, 255, .2);
	padding: .25em .75em;
	border-radius: 4px;
}

.card-badge {
	background-color: var(--bw-accent);
	color: var(--bw-primary);
	padding: .25em .75em;
	border-radius: 4px;
	font-size: .85em;
	font-weight: 600;
}

.card-body {
	padding: 1.5em;
}

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

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

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

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

.table-source {
	text-align: center;
	color: var(--bw-text-muted);
	font-size: .9em;
	margin-top: 1em;
}

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

/* --- STATE DETAIL CARDS --- */

/* ========================================= */
.state-detail-card {
	background-color: var(--bw-white);
	border: 1px solid var(--bw-border);
	border-radius: 8px;
	padding: 2em;
	margin-bottom: 2em;
	transition: all .3s ease;
}

.state-detail-card:hover {
	box-shadow: 0 6px 20px rgba(0, 0, 0, .08);
	transform: translateY(-2px);
}

.state-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding-bottom: 1em;
	border-bottom: 2px solid var(--bw-border);
	margin-bottom: 1.5em;
	flex-wrap: wrap;
	gap: 1em;
}

.state-name {
	color: var(--bw-primary);
	font-size: 1.6em;
	margin: 0;
	font-weight: 700;
}

.state-tax-rate {
	background-color: var(--bw-secondary);
	color: var(--bw-white);
	padding: .5em 1em;
	border-radius: 6px;
	font-weight: 600;
	font-size: .95em;
}

.state-status-badge {
	background-color: var(--bw-accent);
	color: var(--bw-primary);
	padding: .5em 1em;
	border-radius: 6px;
	font-weight: 600;
	font-size: .85em;
}

.state-content p {
	line-height: 1.7;
	margin-bottom: 1.5em;
}

.exemption-details {
	background-color: var(--bw-gray-light);
	border-left: 4px solid var(--bw-secondary);
	padding: 1.5em;
	border-radius: 4px;
	margin: 1.5em 0;
}

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

.exemption-list {
	list-style: none;
	padding: 0;
	margin: 0;
}

.exemption-list li {
	padding: .5em 0;
	line-height: 1.6;
}

.exemption-note, .policy-note, .positive-note {
	background-color: var(--bw-highlight);
	padding: 1em 1.5em;
	border-left: 4px solid var(--bw-accent);
	border-radius: 4px;
	margin-top: 1em;
	font-size: .95em;
}

.phase-out-schedule {
	background-color: #e8f5e9;
	border-left: 4px solid var(--bw-success);
	padding: 1.5em;
	border-radius: 4px;
	margin: 1.5em 0;
}

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

/* --- NO TAX STATES SECTION --- */

/* ========================================= */
.state-categories {
	margin: 2.5em 0;
}

.state-category {
	background-color: var(--bw-off-white);
	border: 1px solid var(--bw-border);
	border-radius: 8px;
	padding: 2em;
	margin-bottom: 2em;
}

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

.state-list {
	list-style: none;
	padding: 0;
	margin: 0;
	column-count: 1;
}

.state-list li {
	padding: .5em 0;
	line-height: 1.6;
}

.state-list li::before {
	content: "•";
	color: var(--bw-secondary);
	font-weight: bold;
	margin-right: .5em;
}

.state-list-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1em;
	margin-top: 1em;
}

.category-note {
	background-color: var(--bw-white);
	padding: 1em 1.5em;
	border-radius: 4px;
	margin-top: 1.5em;
	font-size: .9em;
	color: var(--bw-text-light);
}

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

/* --- RECENT CHANGES TIMELINE --- */

/* ========================================= */
.recent-changes-timeline {
	margin: 2.5em 0;
}

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

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

.change-year {
	flex-shrink: 0;
	width: 80px;
	height: 80px;
	background: linear-gradient(135deg, var(--bw-secondary) 0%, var(--bw-navy-medium) 100%);
	color: var(--bw-white);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.3em;
	font-weight: 700;
	box-shadow: 0 4px 12px rgba(41, 150, 238, .3);
}

.change-content {
	flex: 1;
}

.change-content h3 {
	color: var(--bw-primary);
	font-size: 1.4em;
	margin-top: 0;
	margin-bottom: .75em;
	font-weight: 600;
}

.change-content p {
	margin-bottom: 0;
	line-height: 1.7;
}

.trend-note {
	background-color: var(--bw-highlight);
	border-left: 4px solid var(--bw-accent);
	padding: 1.5em 2em;
	border-radius: 4px;
	margin-top: 2em;
	font-weight: 500;
}

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

/* --- DECISION FACTORS & STRATEGY CARDS --- */

/* ========================================= */
.decision-factors, .strategy-cards {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 2em;
	margin: 2.5em 0;
}

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

.factor-card:hover, .strategy-card:hover {
	box-shadow: 0 6px 20px rgba(0, 0, 0, .08);
	transform: translateY(-2px);
	border-color: var(--bw-secondary);
}

.factor-title, .strategy-title {
	color: var(--bw-primary);
	font-size: 1.3em;
	margin-top: 0;
	margin-bottom: 1em;
	font-weight: 600;
}

.factor-card p, .strategy-card p {
	margin-bottom: 0;
	line-height: 1.7;
}

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

/* --- BREAK-EVEN ANALYSIS --- */

/* ========================================= */
.break-even-analysis {
	background-color: var(--bw-gray-light);
	border: 2px solid var(--bw-border);
	border-radius: 8px;
	padding: 2em;
	margin: 2.5em 0;
}

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

.analysis-steps {
	list-style: decimal;
}

.analysis-steps li {
	padding: .75em 0;
	line-height: 1.7;
}

.analysis-note {
	background-color: var(--bw-white);
	padding: 1.5em;
	border-left: 4px solid var(--bw-accent);
	border-radius: 4px;
	margin-top: 1.5em;
	font-style: italic;
}

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

/* --- FAQ SECTION --- */

/* ========================================= */
.faq-container {
	margin-top: 2em;
}

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

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

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

.faq-answer {
	line-height: 1.7;
}

.faq-answer p {
	margin-bottom: 0;
}

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

/* --- CTA SECTION --- */

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

.cta-content {
	max-width: 800px;
	margin: 0 auto;
}

.cta-heading {
	color: var(--bw-white) !important;
	font-size: 2em;
	margin-top: 0 !important;
	margin-bottom: 1em;
	font-weight: 700;
}

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

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

.cta-button:hover {
	background-color: #c99a27;
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(224, 174, 47, .4);
}

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

/* --- ARTICLE FOOTER --- */

/* ========================================= */
.article-footer {
	margin-top: 4em;
	padding-top: 2em;
	border-top: 2px solid var(--bw-border);
	text-align: center;
}

.last-updated {
	color: var(--bw-text-muted);
	font-size: .9em;
	margin-bottom: 1em;
}

.disclaimer {
	background-color: var(--bw-gray-light);
	padding: 1.5em;
	border-radius: 4px;
	font-size: .9em;
	color: var(--bw-text-light);
	margin: 0;
	line-height: 1.6;
}

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

/* --- CALCULATOR WIDGET INTEGRATION --- */

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

.calculator-header {
	text-align: center;
	margin-bottom: 2em;
}

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

.calculator-subtitle {
	color: var(--bw-text-light);
	font-size: 1.05em;
	margin: 0;
}

.calculator-form {
	display: flex;
	flex-direction: column;
	gap: 1.5em;
}

.form-group {
	display: flex;
	flex-direction: column;
}

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

.form-control {
	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;
}

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

.input-with-prefix {
	position: relative;
	display: flex;
	align-items: center;
}

.input-prefix {
	position: absolute;
	left: 16px;
	color: var(--bw-text-muted);
	font-weight: 600;
}

.input-with-prefix .form-control {
	padding-left: 36px;
}

.form-help {
	margin-top: .5em;
	color: var(--bw-text-muted);
	font-size: .85em;
}

.btn-calculate {
	padding: 14px 32px;
	background-color: var(--bw-secondary);
	color: var(--bw-white);
	border: none;
	border-radius: 6px;
	font-size: 1.1em;
	font-weight: 600;
	cursor: pointer;
	transition: all .3s ease;
	font-family: inherit;
}

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

.calculator-results {
	text-align: center;
	margin-top: 2em;
}

.results-header {
	margin-bottom: 2em;
}

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

.results-main {
	background-color: var(--bw-gray-light);
	padding: 2em;
	border-radius: 8px;
	margin-bottom: 2em;
}

.result-amount {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: .75em;
	padding-bottom: 1.5em;
	margin-bottom: 1.5em;
	border-bottom: 2px solid var(--bw-border);
}

.result-label {
	color: var(--bw-text-muted);
	font-size: .9em;
	text-transform: uppercase;
	letter-spacing: .5px;
	font-weight: 600;
}

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

.result-details {
	display: flex;
	flex-direction: column;
	gap: 1em;
	margin-bottom: 2em;
}

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

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

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

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

.result-explanation {
	background-color: var(--bw-white);
	padding: 1.5em;
	border-left: 4px solid var(--bw-secondary);
	border-radius: 4px;
	text-align: left;
}

.results-disclaimer {
	background-color: var(--bw-highlight);
	padding: 1.5em;
	border-radius: 4px;
	margin-bottom: 1.5em;
	text-align: left;
}

.results-disclaimer p {
	margin: 0;
	font-size: .9em;
	color: var(--bw-text-dark);
	line-height: 1.6;
}

.btn-recalculate {
	padding: 12px 24px;
	background-color: var(--bw-white);
	color: var(--bw-secondary);
	border: 2px solid var(--bw-secondary);
	border-radius: 6px;
	font-size: 1em;
	font-weight: 600;
	cursor: pointer;
	transition: all .3s ease;
	font-family: inherit;
}

.btn-recalculate:hover {
	background-color: var(--bw-secondary);
	color: var(--bw-white);
}

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

/* --- RESPONSIVE STYLES (MOBILE) --- */

/* ========================================= */
@media (max-width: 768px) {
	/* Typography adjustments */
	.article-lead {
		font-size: 1.1em;
		padding: 1.25em 1.5em;
	}
	
	.ss-tax-article h2, .section-heading {
		font-size: 1.6em;
	}
	
	.ss-tax-article h3, .subsection-heading {
		font-size: 1.3em;
	}
	
	/* Key takeaways */
	.key-takeaways {
		padding: 1.5em;
	}
	
	/* Hide desktop table, show mobile cards */
	.comparison-table-desktop {
		display: none;
	}
	
	.comparison-cards-mobile {
		display: block;
	}
	
	/* State detail cards */
	.state-detail-card {
		padding: 1.5em;
	}
	
	.state-header {
		flex-direction: column;
		align-items: flex-start;
	}
	
	.state-name {
		font-size: 1.4em;
	}
	
	/* Decision factors & strategy cards to single column */
	.decision-factors, .strategy-cards {
		grid-template-columns: 1fr;
		gap: 1.5em;
	}
	
	/* State list grid to single column */
	.state-list-grid {
		grid-template-columns: 1fr;
	}
	
	/* Timeline adjustments */
	.change-item {
		flex-direction: column;
		gap: 1em;
	}
	
	.change-year {
		width: 70px;
		height: 70px;
		font-size: 1.1em;
	}
	
	/* Break-even analysis */
	.break-even-analysis {
		padding: 1.5em;
	}
	
	/* CTA section */
	.cta-section {
		padding: 2em 1.5em;
	}
	
	.cta-heading {
		font-size: 1.6em;
	}
	
	/* Calculator optimizaciones */
	.ss-calculator-widget {
		padding: 1.8em;
		margin: 2em auto !important;
	}
	
	.calculator-title {
		font-size: 1.5em;
		margin-bottom: .75em;
	}
	
	.calculator-subtitle {
		font-size: .98em;
		margin-bottom: 1.5em;
	}
	
	.calculator-form {
		gap: 1.2em;
	}
	
	.form-label {
		font-size: .93em;
		margin-bottom: .6em;
	}
	
	.form-control {
		padding: 14px 14px;
		font-size: 16px;
	}
	
	.result-value {
		font-size: 2.5em;
	}
	
	.results-main {
		padding: 1.5em;
	}
	
	.results-title {
		font-size: 1.3em;
		margin-bottom: 1.2em;
	}
	
	.result-amount {
		padding-bottom: 1.2em;
		margin-bottom: 1.2em;
	}
	
	.result-row {
		padding: .75em 0;
	}
	
	.result-detail-label {
		font-size: .9em;
	}
	
	.result-details {
		gap: .8em;
		margin-bottom: 1.5em;
	}
	
	.result-explanation {
		padding: 1.2em;
	}
	
	.results-disclaimer {
		padding: 1.2em 1.2em;
		margin-bottom: 1.2em;
		font-size: .85em;
	}
	
	.results-disclaimer p {
		font-size: .85em;
	}
	
	.btn-calculate {
		padding: 14px 24px;
		font-size: 1em;
	}
	
	.btn-recalculate {
		padding: 12px 20px;
		font-size: .95em;
	}
	
	/* Formula box */
	.formula-box {
		padding: 1.5em;
	}
	
	.formula-equation {
		font-size: 1em;
	}
	
	/* Threshold groups */
	.threshold-group {
		padding: 1.25em 1.5em;
	}
	
	/* Highlight box */
	.highlight-box {
		padding: 1.5em;
	}
}

@media (max-width: 480px) {
	/* Tighter spacing for smallest screens */
	.ss-tax-article h2, .section-heading {
		font-size: 1.4em;
	}
	
	.article-lead {
		font-size: 1.05em;
		padding: 1em 1.25em;
	}
	
	.key-takeaways {
		padding: 1.25em;
	}
	
	.state-detail-card, .factor-card, .strategy-card {
		padding: 1.25em;
	}
	
	.cta-section {
		padding: 1.5em 1.25em;
	}
	
	.ss-calculator-widget {
		padding: 1.4em;
		margin: 2em auto !important;
	}
	
	.calculator-title {
		font-size: 1.3em;
		margin-bottom: .5em;
	}
	
	.calculator-subtitle {
		font-size: .93em;
		margin-bottom: 1.2em;
		line-height: 1.5;
	}
	
	.calculator-form {
		gap: 1em;
	}
	
	.form-label {
		font-size: .9em;
		margin-bottom: .4em;
	}
	
	.form-control {
		padding: 12px 12px;
		font-size: 16px;
		border-radius: 4px;
	}
	
	.input-prefix {
		left: 12px;
	}
	
	.input-with-prefix .form-control {
		padding-left: 32px;
	}
	
	.btn-calculate {
		padding: 12px 20px;
		font-size: .95em;
		margin-top: .5em;
	}
	
	.result-value {
		font-size: 2em;
	}
	
	.results-main {
		padding: 1.2em;
	}
	
	.results-title {
		font-size: 1.15em;
		margin-bottom: 1em;
	}
	
	.result-amount {
		padding-bottom: 1em;
		margin-bottom: 1em;
	}
	
	.result-row {
		padding: .6em 0;
	}
	
	.result-detail-label {
		font-size: .85em;
		font-weight: 500;
	}
	
	.result-detail-value {
		font-size: .95em;
	}
	
	.result-explanation {
		padding: 1em 1em;
	}
	
	.results-disclaimer {
		padding: 1em 1em;
		margin-bottom: 1em;
		border-left-width: 3px;
	}
	
	.results-disclaimer p {
		font-size: .8em;
		line-height: 1.5;
	}
	
	.btn-recalculate {
		padding: 10px 20px;
		font-size: .9em;
	}
	
	.change-year {
		width: 60px;
		height: 60px;
		font-size: 1em;
	}
	
	.cta-section {
		font-size: 1rem;
	}
}

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

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

/* ========================================= */
@media print {
	.calculator-section, .ss-calculator-widget, .cta-section {
		display: none;
	}
	
	.ss-tax-article a {
		border-bottom: none;
		text-decoration: underline;
	}
	
	.comparison-cards-mobile {
		display: none !important;
	}
	
	.comparison-table-desktop {
		display: block !important;
	}
	
	.state-detail-card, .factor-card, .strategy-card {
		page-break-inside: avoid;
	}
}
