/**
 * External Resources Page Styles
 * Downloadable financial toolkits and legal documents
 *
 * @package FFOA_Custom
 * @since 1.1.0
 */

/* Container */
.page-external-resources {
	padding: 2rem 0;
}

.external-resources-container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 1.5rem;
}

/* Header */
.external-header {
	text-align: center;
	margin-bottom: 2rem;
}

.external-header .page-title {
	font-size: 2.5rem;
	font-weight: 700;
	color: var(--color-primary, #1a472a);
	margin-bottom: 0.5rem;
}

.external-header .page-subtitle {
	font-size: 1.25rem;
	color: var(--color-text-light, #666);
	font-weight: 400;
}

/* Intro Section */
.resources-intro {
	max-width: 800px;
	margin: 0 auto 3rem;
	text-align: center;
	font-size: 1.1rem;
	line-height: 1.6;
	color: var(--color-text, #333);
}

/* Resources Section */
.resources-section {
	margin-bottom: 4rem;
}

.resources-section .section-title {
	font-size: 1.75rem;
	font-weight: 700;
	color: var(--color-primary, #1a472a);
	margin-bottom: 1.5rem;
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

.resources-section .section-icon {
	font-size: 2rem;
}

/* Download Grid */
.download-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
	gap: 1.5rem;
	margin-bottom: 2rem;
}

/* Download Card */
.download-card {
	background: #ffffff;
	border: 2px solid var(--color-border, #e0e0e0);
	border-radius: 12px;
	padding: 2rem;
	text-align: center;
	transition: all 0.3s ease;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 1rem;
}

.download-card:hover {
	border-color: var(--color-primary, #1a472a);
	box-shadow: 0 4px 12px rgba(26, 71, 42, 0.15);
	transform: translateY(-2px);
}

.download-card .download-icon {
	font-size: 3rem;
	margin-bottom: 0.5rem;
}

.download-card .download-title {
	font-size: 1.25rem;
	font-weight: 700;
	color: var(--color-primary, #1a472a);
	margin: 0;
}

.download-card .download-description {
	font-size: 0.95rem;
	color: var(--color-text-light, #666);
	margin: 0;
}

.download-card .download-button {
	display: inline-block;
	background: var(--color-primary, #1a472a);
	color: #ffffff;
	padding: 0.75rem 1.5rem;
	border-radius: 6px;
	text-decoration: none;
	font-weight: 600;
	transition: all 0.3s ease;
	margin-top: auto;
}

.download-card .download-button:hover {
	background: var(--color-primary-dark, #0f2818);
	transform: scale(1.05);
}

/* Related Resources */
.related-resources .resource-cards {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 1.5rem;
	margin-top: 1.5rem;
}

.related-resources .resource-card {
	background: #f8f9fa;
	border: 1px solid var(--color-border, #e0e0e0);
	border-radius: 8px;
	padding: 1.5rem;
	transition: all 0.3s ease;
}

.related-resources .resource-card:hover {
	border-color: var(--color-primary, #1a472a);
	box-shadow: 0 2px 8px rgba(26, 71, 42, 0.1);
}

.related-resources .resource-card h3 {
	font-size: 1.25rem;
	font-weight: 700;
	color: var(--color-primary, #1a472a);
	margin: 0 0 0.75rem 0;
}

.related-resources .resource-card p {
	font-size: 0.95rem;
	color: var(--color-text, #333);
	line-height: 1.6;
	margin: 0 0 1rem 0;
}

.related-resources .card-link {
	display: inline-block;
	color: var(--color-primary, #1a472a);
	font-weight: 600;
	text-decoration: none;
	transition: all 0.2s ease;
}

.related-resources .card-link:hover {
	color: var(--color-primary-dark, #0f2818);
	text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
	.external-header .page-title {
		font-size: 2rem;
	}

	.external-header .page-subtitle {
		font-size: 1.1rem;
	}

	.resources-intro {
		font-size: 1rem;
		margin-bottom: 2rem;
	}

	.download-grid {
		grid-template-columns: 1fr;
		gap: 1rem;
	}

	.download-card {
		padding: 1.5rem;
	}

	.resources-section .section-title {
		font-size: 1.5rem;
	}
}

@media (max-width: 480px) {
	.external-resources-container {
		padding: 0 1rem;
	}

	.external-header .page-title {
		font-size: 1.75rem;
	}

	.download-card .download-icon {
		font-size: 2.5rem;
	}

	.download-card .download-title {
		font-size: 1.1rem;
	}
}
