/**
 * Resources Page Styles
 *
 * Styles for Free Guides lead generation system:
 * - Resource directory page (page-resource.php)
 * - Single resource landing pages (single-resource.php)
 *
 * Uses design tokens from style.css for consistency.
 *
 * @package CoreyShirley
 * @since Free Guides Implementation - Phase 4 (October 31, 2025)
 */

/* =================================================================
   SHARED STYLES - Both Directory & Landing Pages
   ================================================================= */

/* Reset for Resources page - Prevent horizontal scroll */
html {
	overflow-x: hidden;
	max-width: 100%;
}

body.page-template-page-resource,
body.single-resource {
	margin: 0;
	padding: 0;
	overflow-x: hidden;
	max-width: 100%;
}

/* =================================================================
   SCROLL ANIMATION STYLES (Shared)
   ================================================================= */

/* Hero Content Slide-Up Animation (present in HTML, JS adds .animate) */
.hero-slide-up {
	opacity: 0;
	transform: translateY(40px);
	transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.hero-slide-up.animate {
	opacity: 1;
	transform: translateY(0);
}

/* Staggered animation delays for hero elements */
.hero-heading.hero-slide-up {
	transition-delay: 0.2s;
}

.resources-hero-subtitle.hero-slide-up {
	transition-delay: 0.4s;
}

/* Base animation class for scroll elements (added by JS) */
.animate-slide-up {
	opacity: 0;
	transform: translateY(50px);
	transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Active state when in view */
.animate-slide-up.in-view {
	opacity: 1;
	transform: translateY(0);
}

/* Staggered delays for multiple elements */
.animate-slide-up:nth-child(1) { transition-delay: 0.1s; }
.animate-slide-up:nth-child(2) { transition-delay: 0.2s; }
.animate-slide-up:nth-child(3) { transition-delay: 0.3s; }
.animate-slide-up:nth-child(4) { transition-delay: 0.4s; }
.animate-slide-up:nth-child(5) { transition-delay: 0.5s; }
.animate-slide-up:nth-child(6) { transition-delay: 0.6s; }
.animate-slide-up:nth-child(7) { transition-delay: 0.7s; }
.animate-slide-up:nth-child(8) { transition-delay: 0.8s; }
.animate-slide-up:nth-child(9) { transition-delay: 0.9s; }

/* =================================================================
   DIRECTORY PAGE STYLES (page-resource.php)
   ================================================================= */

/* Hero Section - Exact match to blog/neighborhood pages */
.resources-hero {
	position: relative;
	height: 85vh;
	min-height: 610px;
	max-height: 1000px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: url('https://images.unsplash.com/photo-1497366216548-37526070297c?ixlib=rb-4.0.3&auto=format&fit=crop&w=2000&q=80');
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	background-attachment: fixed;
}

.resources-hero::before {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(to bottom, rgba(0,0,0,0.3), rgba(0,0,0,0.45));
	z-index: 1;
}

.resources-hero-content {
	position: relative;
	z-index: 2;
	text-align: center;
	color: var(--color-white);
	max-width: 900px;
	padding: 0 20px;
}

.resources-hero h1 {
	margin: 0 0 16px 0;
	color: var(--color-white);
}

.resources-hero-subtitle {
	font-family: var(--body-font);
	font-size: clamp(14px, 2vw, 18px);
	font-weight: 400;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	margin: 0;
	color: var(--color-white);
	line-height: 1.4;
}

/* Resources Section */
.resources-section {
	padding: 100px 0;
	background: #f8f8f8;
}

.resources-container {
	max-width: 1240px;
	margin: 0 auto;
	padding: 0 40px;
}

/* Resources Grid - 3 columns */
.resources-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 40px;
	margin-bottom: 60px;
}

/* Resource Card */
.resource-card {
	background: #ffffff;
	border-radius: 0;
	overflow: hidden;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
	box-shadow: 0 2px 8px rgba(0,0,0,0.08);
	display: flex;
	flex-direction: column;
}

.resource-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.resource-card-link {
	text-decoration: none;
	color: inherit;
	display: flex;
	flex-direction: column;
	height: 100%;
}

.resource-card-image {
	position: relative;
	width: 100%;
	height: 280px;
	overflow: hidden;
	background: #e5e5e5;
}

.resource-card-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s ease;
}

.resource-card:hover .resource-card-image img {
	transform: scale(1.05);
}

/* Category Badge */
.resource-card-badge {
	position: absolute;
	top: 16px;
	left: 16px;
	background: rgba(108, 99, 90, 0.95);
	color: #ffffff;
	font-family: var(--body-font);
	font-size: 10px;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	padding: 6px 12px;
	border-radius: 2px;
	z-index: 2;
}

.resource-card-content {
	padding: 32px;
	display: flex;
	flex-direction: column;
	flex-grow: 1;
}

.resource-card-title {
	font-family: var(--heading-font);
	font-size: 24px;
	font-weight: 500;
	letter-spacing: 0.01em;
	line-height: 1.3;
	color: #2b2b2b;
	margin: 0 0 16px 0;
	text-transform: uppercase;
	min-height: 94px; /* Fixed height for ~3 lines */
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.resource-card-excerpt {
	font-family: var(--body-font);
	font-size: 15px;
	line-height: 1.7;
	color: #5f5f5f;
	margin: 0 0 20px 0;
	min-height: 77px; /* Fixed height for ~3 lines */
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.resource-card-footer {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding-top: 16px;
	border-top: 1px solid #e5e5e5;
	margin-top: auto;
}

.resource-card-cta {
	font-family: var(--body-font);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.12em;
	color: #6c635a;
	text-transform: uppercase;
	transition: color 0.3s ease;
}

.resource-card:hover .resource-card-cta {
	color: #2b2b2b;
}

.resource-card-downloads {
	font-family: var(--body-font);
	font-size: 11px;
	font-weight: 500;
	letter-spacing: 0.08em;
	color: #a3a3a3;
	text-transform: uppercase;
}

/* No Resources Message */
.resources-no-posts {
	text-align: center;
	padding: 80px 20px;
}

.resources-no-posts h2 {
	font-family: var(--heading-font);
	font-size: 48px;
	font-weight: 400;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	color: #2b2b2b;
	margin: 0 0 20px 0;
}

.resources-no-posts p {
	font-family: var(--body-font);
	font-size: 18px;
	line-height: 1.6;
	color: #5f5f5f;
	max-width: 600px;
	margin: 0 auto;
}

/* Pagination */
.resources-pagination {
	display: flex;
	justify-content: center;
	margin-top: 60px;
}

.resources-pagination ul {
	display: flex;
	gap: 12px;
	list-style: none;
	padding: 0;
	margin: 0;
}

.resources-pagination li a,
.resources-pagination li span {
	display: inline-block;
	padding: 12px 20px;
	font-family: var(--body-font);
	font-size: 11px;
	font-weight: 500;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: #3b3b3b;
	border: 1.5px solid #c6b7a8;
	border-radius: 4px;
	transition: all 0.3s ease;
	text-decoration: none;
}

.resources-pagination li a:hover,
.resources-pagination li span.current {
	background: #6c635a;
	color: #ffffff;
	border-color: #6c635a;
}

/* =================================================================
   SINGLE RESOURCE PAGE STYLES (single-resource.php)
   ================================================================= */

/* Resource Hero */
.resource-hero {
	position: relative;
	height: 65vh;
	min-height: 450px;
	max-height: 700px;
	display: flex;
	align-items: center;
	justify-content: center;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	background-attachment: fixed;
}

.resource-hero-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.4) 50%, rgba(0,0,0,0.3) 100%);
	z-index: 1;
}

.resource-hero-content {
	position: relative;
	z-index: 2;
	text-align: center;
	color: var(--color-white);
	max-width: 800px;
	padding: 0 20px;
}

.resource-hero-badge {
	display: inline-block;
	background: rgba(212, 175, 55, 0.95);
	color: #ffffff;
	font-family: var(--body-font);
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	padding: 8px 16px;
	border-radius: 2px;
	margin-bottom: 20px;
}

.resource-title {
	font-family: var(--heading-font);
	font-size: clamp(28px, 5vw, 52px);
	font-weight: 400;
	letter-spacing: 0.02em;
	line-height: 1.2;
	color: var(--color-white);
	margin: 0 0 16px 0;
	text-shadow: 2px 2px 8px rgba(0,0,0,0.3);
}

.resource-subtitle {
	font-family: var(--body-font);
	font-size: clamp(14px, 2vw, 18px);
	line-height: 1.6;
	color: rgba(255,255,255,0.95);
	margin: 0;
	max-width: 600px;
	margin: 0 auto;
}

/* Main Content Section (PDF Preview + Form) */
.resource-content-section {
	padding: 100px 0;
	background: #ffffff;
}

.resource-content-container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 40px;
}

.resource-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 60px;
	align-items: start;
}

/* Left Column: PDF Preview */
.resource-preview-column {
	position: sticky;
	top: 100px;
}

.pdf-mockup {
	background: #f8f8f8;
	padding: 40px;
	border-radius: 8px;
	box-shadow: 0 4px 16px rgba(0,0,0,0.08);
	margin-bottom: 32px;
}

.pdf-mockup-inner {
	position: relative;
	transform: perspective(1000px) rotateY(-5deg);
	transition: transform 0.3s ease;
}

.pdf-mockup:hover .pdf-mockup-inner {
	transform: perspective(1000px) rotateY(0deg);
}

.pdf-preview-image {
	width: 100%;
	height: auto;
	display: block;
	border-radius: 4px;
	box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.pdf-social-proof {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	margin-top: 20px;
	font-family: var(--body-font);
	font-size: 13px;
	font-weight: 500;
	color: #6c635a;
	letter-spacing: 0.02em;
}

.pdf-social-proof i {
	color: #d4af37;
	font-size: 16px;
}

/* What's Inside Section */
.whats-inside-section {
	background: #f8f8f8;
	padding: 40px;
	border-radius: 8px;
	border-left: 4px solid #d4af37;
}

.whats-inside-title {
	font-family: var(--heading-font);
	font-size: 20px;
	font-weight: 500;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #2b2b2b;
	margin: 0 0 20px 0;
}

.whats-inside-content {
	font-family: var(--body-font);
	font-size: 15px;
	line-height: 1.8;
	color: #5f5f5f;
}

.whats-inside-content ul,
.whats-inside-content ol {
	margin: 0;
	padding-left: 24px;
}

.whats-inside-content li {
	margin-bottom: 12px;
	padding-left: 8px;
}

.whats-inside-content li::marker {
	color: #d4af37;
}

.whats-inside-content p {
	margin: 0 0 16px 0;
}

.whats-inside-content strong {
	color: #2b2b2b;
	font-weight: 600;
}

/* Intro Section (Value Proposition) */
.resource-intro-section {
	margin-bottom: 32px;
	padding: 20px;
	background: #f8f8f8;
	border-left: 4px solid #d4af37;
	border-radius: 4px;
}

.resource-intro-text {
	font-family: var(--body-font);
	font-size: 16px;
	line-height: 1.7;
	color: #3a3a3a;
	margin: 0;
}

/* Author Credibility Section */
.resource-author-section {
	margin: 32px 0;
	padding: 20px;
	background: #ffffff;
	border: 1px solid #e5e5e5;
	border-radius: 4px;
}

.resource-author-text {
	font-family: var(--body-font);
	font-size: 15px;
	line-height: 1.7;
	color: #3a3a3a;
	margin: 0;
}

.author-credentials {
	font-size: 14px;
	color: #6f6f6f;
	font-style: italic;
}

/* FAQ Section */
.resource-faq-section {
	margin-top: 32px;
	padding: 24px;
	background: #fafafa;
	border-radius: 4px;
	border: 1px solid #e5e5e5;
}

.faq-title {
	font-family: var(--heading-font);
	font-size: 20px;
	font-weight: 500;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: #2b2b2b;
	margin: 0 0 16px 0;
	text-align: center;
}

.faq-content {
	font-family: var(--body-font);
	font-size: 15px;
	line-height: 1.7;
	color: #3a3a3a;
}

.faq-content p {
	margin: 0 0 16px 0;
}

.faq-content p:last-child {
	margin-bottom: 0;
}

.faq-content strong {
	color: #2b2b2b;
	font-weight: 600;
	display: block;
	margin-top: 16px;
}

.faq-content strong:first-child {
	margin-top: 0;
}

/* Right Column: Lead Capture Form */
.resource-form-column {
	position: sticky;
	top: 100px;
}

.resource-form-card {
	background: #ffffff;
	padding: 32px;
	border-radius: 8px;
	box-shadow: 0 4px 24px rgba(0,0,0,0.1);
	border: 1px solid #e5e5e5;
}

.form-heading {
	font-family: var(--heading-font);
	font-size: 28px;
	font-weight: 500;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	color: #2b2b2b;
	margin: 0 0 8px 0;
	text-align: center;
}

.form-subheading {
	font-family: var(--body-font);
	font-size: 14px;
	line-height: 1.6;
	color: #5f5f5f;
	text-align: center;
	margin: 0 0 20px 0;
}

/* Form Styling */
.resource-download-form .form-field,
.wpcf7 .form-field,
.wpcf7-form p {
	margin-bottom: 12px;
}

/* Remove default CF7 wrapper padding/margin */
.wpcf7-form-control-wrap {
	display: block;
	margin: 0;
	padding: 0;
}

.resource-download-form label,
.wpcf7 label {
	display: block;
	font-family: var(--body-font);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #2b2b2b;
	margin-bottom: 3px;
}

.resource-download-form input[type="text"],
.resource-download-form input[type="email"],
.resource-download-form input[type="tel"],
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"] {
	width: 100%;
	padding: 6px 12px;
	font-family: var(--body-font);
	font-size: 15px;
	border: 1.5px solid #d0d0d0;
	border-radius: 4px;
	background: #fafafa;
	transition: all 0.3s ease;
	box-sizing: border-box;
}

.resource-download-form input:focus,
.wpcf7 input:focus {
	outline: none;
	border-color: #6c635a;
	background: #ffffff;
	box-shadow: 0 0 0 3px rgba(108, 99, 90, 0.1);
}

.form-submit-btn,
.wpcf7 input[type="submit"] {
	width: 100%;
	padding: 14px 32px;
	font-family: var(--body-font);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: #ffffff;
	background: #6c635a;
	border: none;
	border-radius: 4px;
	cursor: pointer;
	transition: all 0.3s ease;
	margin-top: 4px;
}

.form-submit-btn:hover,
.wpcf7 input[type="submit"]:hover {
	background: #2b2b2b;
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.form-privacy-note {
	font-family: var(--body-font);
	font-size: 11px;
	line-height: 1.5;
	color: #a3a3a3;
	text-align: center;
	margin: 8px 0 0 0;
}

/* Trust Signals */
.trust-signals {
	display: flex;
	justify-content: space-around;
	align-items: center;
	margin-top: 20px;
	padding-top: 16px;
	border-top: 1px solid #e5e5e5;
}

.trust-item {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
	font-family: var(--body-font);
	font-size: 11px;
	font-weight: 500;
	color: #5f5f5f;
	text-transform: uppercase;
	letter-spacing: 0.08em;
}

.trust-item i {
	font-size: 20px;
	color: #d4af37;
}

/* More Free Guides Section (matches Press Coverage section style) */
.read-more-guides {
	max-width: 100%;
	margin: 0;
	padding: 80px 60px;
	background: #f8f8f8;
}

.read-more-guides h3 {
	margin: 0 0 60px 0;
	text-align: center;
	padding: 0;
}

.guides-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 60px;
	margin: 0 auto 48px auto;
	padding: 0;
	max-width: 1340px;
}

.guide-card {
	position: relative;
	width: 100%;
	height: clamp(300px, 30vw, 420px);
	overflow: hidden;
	cursor: pointer;
	display: block;
	text-decoration: none;
}

.guide-card:focus-visible {
	outline: 2px solid #d4af37;
	outline-offset: -2px;
}

.guide-card-image {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.6s cubic-bezier(0.2, 0.6, 0.2, 1), filter 0.6s ease;
}

.guide-card:hover .guide-card-image {
	transform: scale(1.05);
	filter: saturate(1.08) contrast(1.05) brightness(1.02);
}

.guide-badge {
	position: absolute;
	top: 16px;
	left: 16px;
	background: rgba(212, 175, 55, 0.95);
	color: #ffffff;
	font-family: var(--body-font);
	font-size: 10px;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	padding: 6px 12px;
	border-radius: 2px;
	z-index: 3;
}

.guide-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(0,0,0,0.65) 0%, rgba(0,0,0,0.2) 50%, rgba(0,0,0,0) 100%);
	z-index: 2;
	pointer-events: none;
	transition: background 0.4s ease;
}

.guide-card:hover .guide-overlay {
	background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.3) 50%, rgba(0,0,0,0.1) 100%);
}

.guide-card-content {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-end;
	padding: 32px 24px;
	z-index: 3;
	text-align: center;
}

.guide-title {
	font-family: var(--heading-font);
	font-size: clamp(16px, 1.8vw, 22px);
	font-weight: 500;
	letter-spacing: 0.02em;
	line-height: 1.3;
	color: var(--color-white);
	margin: 0 0 8px 0;
	max-width: 90%;
}

.guide-view-more {
	font-family: var(--body-font);
	font-size: 12px;
	font-weight: 500;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--color-white);
	opacity: 0;
	transform: translateY(10px);
	transition: all 0.3s ease;
}

.guide-card:hover .guide-view-more {
	opacity: 1;
	transform: translateY(0);
}

/* Guides Actions - View All Button */
.guides-actions {
	text-align: center;
	margin-top: 48px;
}

.guides-view-all-btn {
	display: inline-block;
	padding: 16px 40px;
	border: 1.5px solid #c6b7a8;
	background: transparent;
	color: #3b3b3b;
	text-decoration: none;
	font-family: var(--body-font);
	font-size: 11px;
	font-weight: 500;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	transition: all 0.3s ease;
	border-radius: 4px;
}

.guides-view-all-btn:hover {
	background: #6c635a;
	color: #ffffff;
	border-color: #6c635a;
}

/* =================================================================
   RESPONSIVE DESIGN
   ================================================================= */

/* Tablet (768px-1024px) */
@media (min-width: 768px) and (max-width: 1024px) {
	/* Directory Page */
	.resources-hero {
		height: 70vh;
		min-height: 500px;
	}

	.resources-section {
		padding: 80px 0;
	}

	.resources-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 32px;
	}

	.resource-card-title {
		font-size: 22px;
	}

	/* Single Resource Page */
	.resource-hero {
		height: 55vh;
		min-height: 400px;
	}

	.resource-content-section {
		padding: 80px 0;
	}

	.resource-grid {
		gap: 40px;
	}

	.pdf-mockup {
		padding: 36px;
	}

	.whats-inside-section {
		padding: 36px;
	}

	.resource-form-card {
		padding: 36px;
	}

	.read-more-guides {
		padding: 80px 40px;
	}

	.guides-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 48px;
	}

	.guide-card {
		height: clamp(260px, 32vw, 350px);
	}
}

/* Mobile (<768px) */
@media (max-width: 767px) {
	/* Directory Page */
	.resources-hero {
		height: 60vh;
		min-height: 450px;
		background-attachment: scroll; /* Disable parallax on mobile for performance */
	}

	.resources-section {
		padding: 60px 0;
	}

	.resources-container {
		padding: 0 20px;
	}

	.resources-grid {
		grid-template-columns: 1fr;
		gap: 32px;
	}

	.resource-card-image {
		height: 240px;
	}

	.resource-card-content {
		padding: 24px;
	}

	.resource-card-title {
		font-size: 20px;
	}

	.resource-card-excerpt {
		font-size: 14px;
	}

	.resource-card-footer {
		flex-direction: column;
		align-items: flex-start;
		gap: 8px;
	}

	.resources-no-posts h2 {
		font-size: 34px;
	}

	.resources-no-posts p {
		font-size: 16px;
	}

	/* Single Resource Page */
	.resource-hero {
		height: 50vh;
		min-height: 400px;
		background-attachment: scroll;
	}

	.resource-hero-content {
		padding: 0 24px;
	}

	.resource-title {
		font-size: clamp(24px, 6vw, 32px);
	}

	.resource-content-section {
		padding: 60px 0;
	}

	.resource-content-container {
		padding: 0 20px;
	}

	.resource-grid {
		grid-template-columns: 1fr;
		gap: 40px;
	}

	.resource-preview-column,
	.resource-form-column {
		position: relative;
		top: 0;
	}

	.pdf-mockup {
		padding: 32px;
	}

	.pdf-mockup-inner {
		transform: none;
	}

	.pdf-mockup:hover .pdf-mockup-inner {
		transform: none;
	}

	.whats-inside-section {
		padding: 32px;
	}

	.resource-form-card {
		padding: 32px;
	}

	.form-heading {
		font-size: 24px;
	}

	.trust-signals {
		flex-direction: column;
		gap: 16px;
	}

	.read-more-guides {
		padding: 56px 32px;
	}

	.read-more-guides h3 {
		padding: 0;
		margin-bottom: 40px;
	}

	.guides-grid {
		grid-template-columns: 1fr;
		gap: 48px;
	}

	.guide-card {
		height: clamp(260px, 40vw, 340px);
	}

	.guide-card-content {
		padding: 24px 20px;
	}

	.guide-title {
		font-size: 18px;
	}
}

/* ============================================================================
   GUIDE DOWNLOAD SUCCESS MESSAGE (Phase 7)
   ========================================================================== */

/**
 * Success message displayed after form submission
 * Replaces the form with a thank you message and download button
 */
.guide-download-success {
	background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
	border: 2px solid var(--accent-gold);
	border-radius: 12px;
	padding: 48px 32px;
	text-align: center;
	box-shadow: 0 8px 32px rgba(212, 175, 55, 0.15);
	animation: slideInUp 0.4s ease-out;
}

@keyframes slideInUp {
	from {
		opacity: 0;
		transform: translateY(20px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

/* Success icon */
.guide-download-success .success-icon {
	margin-bottom: 24px;
}

.guide-download-success .success-icon i {
	font-size: 64px;
	color: var(--accent-gold);
	animation: scaleIn 0.6s ease-out;
}

@keyframes scaleIn {
	0% {
		opacity: 0;
		transform: scale(0.5);
	}
	50% {
		transform: scale(1.1);
	}
	100% {
		opacity: 1;
		transform: scale(1);
	}
}

/* Success title */
.guide-download-success .success-title {
	font-family: var(--font-heading);
	font-size: clamp(24px, 3vw, 32px);
	font-weight: 700;
	color: var(--text-primary);
	margin-bottom: 16px;
	letter-spacing: 0.5px;
}

/* Success messages */
.guide-download-success .success-message {
	font-size: 16px;
	line-height: 1.6;
	color: var(--text-secondary);
	margin-bottom: 12px;
}

.guide-download-success .success-message strong {
	color: var(--text-primary);
	font-weight: 600;
}

.guide-download-success .success-message-secondary {
	font-size: 15px;
	color: var(--text-secondary);
	margin-bottom: 24px;
	margin-top: 24px;
}

/* Download Now Button */
.download-now-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	background: var(--accent-gold);
	color: var(--text-primary);
	font-family: var(--font-heading);
	font-size: 16px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 1px;
	padding: 18px 48px;
	border-radius: 6px;
	text-decoration: none;
	transition: all 0.3s ease;
	box-shadow: 0 4px 16px rgba(212, 175, 55, 0.3);
	margin: 16px 0;
}

.download-now-btn:hover {
	background: var(--accent-gold-hover);
	transform: translateY(-2px);
	box-shadow: 0 6px 24px rgba(212, 175, 55, 0.4);
}

.download-now-btn:active {
	transform: translateY(0);
	box-shadow: 0 2px 8px rgba(212, 175, 55, 0.3);
}

.download-now-btn i {
	font-size: 18px;
}

/* Success note (privacy message) */
.guide-download-success .success-note {
	font-size: 13px;
	color: var(--text-tertiary);
	margin-top: 24px;
	margin-bottom: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
}

.guide-download-success .success-note i {
	color: var(--accent-gold);
	font-size: 14px;
}

/* Count update animation */
.count-updated {
	animation: pulse 0.6s ease-out;
}

@keyframes pulse {
	0%, 100% {
		transform: scale(1);
	}
	50% {
		transform: scale(1.1);
		color: var(--accent-gold);
	}
}

/* Mobile responsiveness */
@media (max-width: 768px) {
	.guide-download-success {
		padding: 32px 24px;
	}

	.guide-download-success .success-icon i {
		font-size: 48px;
	}

	.download-now-btn {
		padding: 16px 32px;
		font-size: 14px;
		width: 100%;
	}
}

/* ================================
   FAQ ACCORDION SECTION (FULL WIDTH)
   ================================ */

/* FAQ Section Container (Full Width) */
.resource-faq-section-full {
	background: #ffffff;
	padding: 80px 0;
	border-top: 1px solid #e5e5e5;
	margin: 0;
}

/* FAQ Inner Container (Centered, Max Width) */
.resource-faq-container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 var(--section-padding-x);
}

/* FAQ Section Title */
.faq-section-title {
	font-family: var(--font-heading);
	font-size: 32px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 2px;
	color: var(--text-primary);
	text-align: center;
	margin: 0 0 48px 0;
	position: relative;
}

.faq-section-title::after {
	content: '';
	display: block;
	width: 80px;
	height: 3px;
	background: var(--accent-gold);
	margin: 16px auto 0;
}

/* FAQ Accordion Container */
.faq-accordion {
	max-width: 900px;
	margin: 0 auto;
}

/* Individual FAQ Item */
.faq-item {
	background: #ffffff;
	border: 1px solid #e5e5e5;
	border-radius: 8px;
	margin-bottom: 16px;
	overflow: hidden;
	transition: all 0.3s ease;
}

.faq-item:hover {
	border-color: var(--accent-gold);
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

/* FAQ Question Button */
.faq-question {
	width: 100%;
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 24px 28px;
	background: #ffffff;
	border: none;
	text-align: left;
	cursor: pointer;
	font-family: var(--font-heading);
	font-size: 18px;
	font-weight: 600;
	color: var(--text-primary);
	transition: all 0.3s ease;
	position: relative;
}

.faq-question:hover {
	background: #fafafa;
	color: var(--accent-gold);
}

.faq-question:focus {
	outline: 2px solid var(--accent-gold);
	outline-offset: -2px;
	background: #fafafa;
}

/* FAQ Question Text */
.faq-question-text {
	flex: 1;
	padding-right: 20px;
	line-height: 1.5;
}

/* FAQ Icon (Plus/Minus) */
.faq-icon {
	font-size: 28px;
	font-weight: 300;
	color: var(--accent-gold);
	transition: transform 0.3s ease;
	flex-shrink: 0;
	width: 32px;
	height: 32px;
	display: flex;
	align-items: center;
	justify-content: center;
	line-height: 1;
}

/* Rotate icon when expanded */
.faq-question[aria-expanded="true"] .faq-icon {
	transform: rotate(45deg);
}

/* FAQ Answer Container */
.faq-answer {
	overflow: hidden;
	max-height: 0;
	opacity: 0;
	transition: max-height 0.4s ease, opacity 0.3s ease, padding 0.3s ease;
}

.faq-answer:not([hidden]) {
	max-height: 2000px; /* Large enough for any content */
	opacity: 1;
}

/* FAQ Answer Content */
.faq-answer-content {
	padding: 0 28px 28px 28px;
	color: var(--text-secondary);
	font-size: 16px;
	line-height: 1.7;
}

.faq-answer-content p {
	margin: 0 0 16px 0;
}

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

.faq-answer-content ul,
.faq-answer-content ol {
	margin: 12px 0 16px 20px;
	padding: 0;
}

.faq-answer-content li {
	margin-bottom: 8px;
	line-height: 1.7;
}

.faq-answer-content strong {
	color: var(--text-primary);
	font-weight: 600;
}

.faq-answer-content a {
	color: var(--accent-gold);
	text-decoration: none;
	border-bottom: 1px solid rgba(212, 175, 55, 0.3);
	transition: all 0.2s ease;
}

.faq-answer-content a:hover {
	color: var(--accent-gold-hover);
	border-bottom-color: var(--accent-gold-hover);
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
	.resource-faq-section-full {
		padding: 60px 0;
	}

	.faq-section-title {
		font-size: 24px;
		letter-spacing: 1.5px;
		margin-bottom: 32px;
	}

	.faq-section-title::after {
		width: 60px;
		height: 2px;
		margin-top: 12px;
	}

	.faq-question {
		padding: 20px 20px;
		font-size: 16px;
	}

	.faq-question-text {
		padding-right: 16px;
	}

	.faq-icon {
		font-size: 24px;
		width: 28px;
		height: 28px;
	}

	.faq-answer-content {
		padding: 0 20px 20px 20px;
		font-size: 15px;
	}

	.faq-item {
		margin-bottom: 12px;
		border-radius: 6px;
	}
}

/* Accessibility: Reduce Motion */
@media (prefers-reduced-motion: reduce) {
	.faq-icon,
	.faq-answer,
	.faq-question,
	.faq-item {
		transition: none;
	}
}
