/* ========================================
   Resources Page - Page-Specific Styles
   ======================================== */

.resources-hero {
    background: linear-gradient(135deg, #1E40AF 0%, #3B82F6 100%);
    padding: 140px 0 80px;
    text-align: center;
    color: white;
}
.resources-hero h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 16px;
}
.resources-hero p {
    font-size: 18px;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

.resources-nav {
    background: white;
    border-bottom: 1px solid var(--border);
    padding: 20px 0;
    position: sticky;
    top: 70px;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
.resources-nav-list {
    display: flex;
    justify-content: center;
    gap: 50px;
    list-style: none;
    flex-wrap: wrap;
}
.resources-nav-list a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    padding: 10px 0;
    border-bottom: 2px solid transparent;
    transition: var(--transition);
    font-size: 15px;
}
.resources-nav-list a:hover,
.resources-nav-list a.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
}

/* Q&A Section */
.qa-section {
    padding: 80px 0;
    background: var(--bg-light);
}
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}
.faq-item {
    background: white;
    border-radius: var(--radius);
    margin-bottom: 16px;
    border: 1px solid var(--border);
    overflow: hidden;
    transition: var(--transition);
}
.faq-item:hover {
    box-shadow: var(--shadow);
}
.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    cursor: pointer;
    background: white;
}
.faq-question h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0;
    padding-right: 20px;
}
.faq-toggle {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 500;
    transition: var(--transition);
    flex-shrink: 0;
}
.faq-item.active .faq-toggle {
    transform: rotate(45deg);
    background: var(--primary);
    color: white;
}
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}
.faq-item.active .faq-answer {
    max-height: 500px;
}
.faq-answer p {
    padding: 0 24px 20px;
    color: var(--text-medium);
    line-height: 1.7;
    margin: 0;
}

/* Guides Section */
.guides-section {
    padding: 80px 0;
    background: white;
}
.guides-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}
.guide-card {
    display: flex;
    gap: 20px;
    padding: 28px;
    background: var(--bg-light);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    transition: var(--transition);
}
.guide-card:hover {
    box-shadow: var(--shadow);
    border-color: var(--primary-light);
}
.guide-icon {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    background: var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    flex-shrink: 0;
}
.guide-content h4 {
    font-size: 17px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
}
.guide-content p {
    color: var(--text-medium);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 12px;
}
.guide-tag {
    display: inline-block;
    background: #E5E7EB;
    color: #6B7280;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
}

/* Blog Section */
.blog-section {
    padding: 80px 0;
    background: var(--bg-light);
}
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.blog-card {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--border);
}
.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}
.blog-image {
    height: 180px;
    background: linear-gradient(135deg, var(--primary-light) 0%, #DBEAFE 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 60px;
}
.blog-content {
    padding: 24px;
}
.blog-category {
    display: inline-block;
    background: var(--primary-light);
    color: var(--primary);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 12px;
}
.blog-card h3 {
    font-size: 17px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 12px;
    line-height: 1.4;
}
.blog-card p {
    color: var(--text-medium);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 16px;
}
.blog-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-light);
    font-size: 13px;
}

/* CTA Section */
.resources-cta {
    padding: 80px 0;
    background: white;
    text-align: center;
}
.resources-cta-content {
    max-width: 500px;
    margin: 0 auto;
}
.resources-cta h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-dark);
}
.resources-cta p {
    color: var(--text-medium);
    margin-bottom: 24px;
    font-size: 16px;
}

/* Responsive */
@media (max-width: 1024px) {
    .guides-grid {
        grid-template-columns: 1fr;
    }
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 768px) {
    .resources-hero h1 { font-size: 32px; }
    .resources-hero p { font-size: 16px; }
    .resources-nav-list { gap: 24px; }
    .blog-grid { grid-template-columns: 1fr; }
    .guide-card {
        flex-direction: column;
        gap: 16px;
    }
}
