#custom-container-resources {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

#custom-container-resources .cms-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Resources Hero Section */
#custom-container-resources .resources-hero {
    background: linear-gradient(135deg, var(--brand-primary), var(--brand-dark));
    padding: 140px 0 80px 0;
    position: relative;
    overflow: hidden;
}

#custom-container-resources .resources-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.3;
}

#custom-container-resources .hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: white;
}

#custom-container-resources .hero-title {
    font-size: var(--text-5xl);
    font-weight: 800;
    color: white;
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.8s ease-out;
}

#custom-container-resources .hero-subtitle {
    font-size: var(--text-xl);
    color: rgba(255, 255, 255, 0.9);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.7;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

/* Resource Categories Section */
#custom-container-resources .categories-section {
    padding: 5rem 0;
    background: white;
}

#custom-container-resources .categories-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

#custom-container-resources .category-card {
    background: white;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(30, 58, 95, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

#custom-container-resources .category-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(30, 58, 95, 0.2);
}

#custom-container-resources .category-icon {
    height: 200px;
    background: linear-gradient(135deg, var(--brand-primary), var(--brand-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: white;
}

#custom-container-resources .category-content {
    padding: 2rem;
}

#custom-container-resources .category-title {
    font-size: var(--text-2xl);
    font-weight: 700;
    color: var(--brand-dark);
    margin-bottom: 0.75rem;
}

#custom-container-resources .category-description {
    color: var(--brand-neutral);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

#custom-container-resources .category-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--brand-primary);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

#custom-container-resources .category-link:hover {
    gap: 0.75rem;
}

/* Featured Resources Section */
#custom-container-resources .featured-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f8f9fb, #f5f5f8);
}

#custom-container-resources .featured-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
}

#custom-container-resources .featured-title {
    font-size: var(--text-4xl);
    font-weight: 700;
    color: var(--brand-dark);
    margin-bottom: 1rem;
}

#custom-container-resources .featured-subtitle {
    color: var(--brand-neutral);
    font-size: var(--text-lg);
    line-height: 1.7;
}

#custom-container-resources .featured-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

#custom-container-resources .tab-btn {
    padding: 0.75rem 1.5rem;
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 0.5rem;
    color: var(--brand-neutral);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

#custom-container-resources .tab-btn.active {
    background: linear-gradient(135deg, var(--brand-primary), var(--brand-dark));
    color: white;
    border-color: transparent;
}

#custom-container-resources .tab-btn:hover:not(.active) {
    border-color: var(--brand-primary);
    color: var(--brand-primary);
}

#custom-container-resources .featured-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

#custom-container-resources .resource-card {
    background: white;
    border-radius: 0.75rem;
    padding: 2rem;
    transition: all 0.3s ease;
}

#custom-container-resources .resource-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(30, 58, 95, 0.15);
}

#custom-container-resources .resource-type {
    display: inline-block;
    background: var(--brand-primary);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: var(--text-xs);
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

#custom-container-resources .resource-title {
    font-size: var(--text-xl);
    font-weight: 700;
    color: var(--brand-dark);
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

#custom-container-resources .resource-excerpt {
    color: var(--brand-neutral);
    line-height: 1.6;
    margin-bottom: 1rem;
    font-size: var(--text-sm);
}

#custom-container-resources .resource-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid #e5e7eb;
}

#custom-container-resources .resource-date {
    color: var(--brand-neutral);
    font-size: var(--text-sm);
}

#custom-container-resources .resource-link {
    color: var(--brand-primary);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    font-size: var(--text-sm);
}

/* Newsletter Section */
#custom-container-resources .newsletter-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--brand-primary), var(--brand-dark));
    text-align: center;
}

#custom-container-resources .newsletter-content {
    max-width: 600px;
    margin: 0 auto;
    color: white;
}

#custom-container-resources .newsletter-title {
    font-size: var(--text-3xl);
    font-weight: 700;
    margin-bottom: 1rem;
}

#custom-container-resources .newsletter-text {
    font-size: var(--text-lg);
    opacity: 0.9;
    margin-bottom: 2rem;
    line-height: 1.6;
}

#custom-container-resources .newsletter-form {
    display: flex;
    gap: 1rem;
    max-width: 500px;
    margin: 0 auto;
}

#custom-container-resources .newsletter-input {
    flex: 1;
    padding: 1rem 1.5rem;
    border: none;
    border-radius: 0.5rem;
    font-size: var(--text-base);
}

#custom-container-resources .newsletter-btn {
    padding: 1rem 2rem;
    background: white;
    color: var(--brand-primary);
    border: none;
    border-radius: 0.5rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

#custom-container-resources .newsletter-btn:hover {
    background: #f8f9fa;
    transform: translateY(-2px);
}

/* Downloads Section */
#custom-container-resources .downloads-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f8f9fb, #f5f5f8);
}

#custom-container-resources .downloads-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

#custom-container-resources .download-card {
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, #f8f9fb, #f5f5f8);
    border-radius: 0.75rem;
    align-items: center;
    transition: all 0.3s ease;
}

#custom-container-resources .download-card:hover {
    background: white;
    box-shadow: 0 10px 20px rgba(30, 58, 95, 0.1);
}

#custom-container-resources .download-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--brand-primary), var(--brand-dark));
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    flex-shrink: 0;
}

#custom-container-resources .download-content {
    flex: 1;
}

#custom-container-resources .download-title {
    font-size: var(--text-lg);
    font-weight: 700;
    color: var(--brand-dark);
    margin-bottom: 0.25rem;
}

#custom-container-resources .download-size {
    color: var(--brand-neutral);
    font-size: var(--text-sm);
}

#custom-container-resources .download-btn {
    padding: 0.5rem 1rem;
    background: var(--brand-primary);
    color: white;
    border: none;
    border-radius: 0.5rem;
    font-size: var(--text-sm);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

#custom-container-resources .download-btn:hover {
    background: var(--brand-dark);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 1024px) {
    #custom-container-resources .categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    #custom-container-resources .featured-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    #custom-container-resources .hero-title {
        font-size: var(--text-4xl);
    }

    #custom-container-resources .categories-grid {
        grid-template-columns: 1fr;
    }

    #custom-container-resources .featured-content {
        grid-template-columns: 1fr;
    }

    #custom-container-resources .newsletter-form {
        flex-direction: column;
    }

    #custom-container-resources .downloads-grid {
        grid-template-columns: 1fr;
    }
}
