/* Resources Grid Block Styles */
.wpe-resources-grid {
    display: grid;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.wpe-resource-card {
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 12px;
    border: 1px solid #dee2e6;
    transition: all 0.2s;
    align-items: flex-start;
}

.wpe-resource-card:hover {
    border-color: #1a7431;
    box-shadow: 0 4px 12px rgba(26,116,49,0.1);
}

.wpe-resource-icon {
    width: 56px;
    height: 56px;
    background: white;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1a7431;
    flex-shrink: 0;
}

.wpe-resource-content {
    flex: 1;
    min-width: 0;
}

.wpe-resource-type {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: #e8f5e9;
    color: #1a7431;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.wpe-resource-content h4 {
    color: #212529;
    font-size: 1.125rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
    line-height: 1.4;
}

.wpe-resource-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    font-size: 0.875rem;
    color: #6c757d;
    margin-bottom: 0.75rem;
    align-items: center;
}

.wpe-format-pill {
    padding: 0.25rem 0.625rem;
    background: #1a7431;
    color: white;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.75rem;
}

.wpe-language-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.wpe-lang-tag {
    padding: 0.25rem 0.625rem;
    background: white;
    border: 1px solid #dee2e6;
    border-radius: 10px;
    font-size: 0.75rem;
    color: #495057;
}

.wpe-btn-download-resource {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem;
    background: #1a7431;
    color: white;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.2s;
    flex-shrink: 0;
    width: 48px;
    height: 48px;
}

.wpe-btn-download-resource:hover {
    background: #0f4c21;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(15,76,33,0.3);
}

/* Responsive Design */
@media (max-width: 768px) {
    .wpe-resource-card {
        flex-direction: column;
    }

    .wpe-btn-download-resource {
        width: 100%;
        height: auto;
        padding: 0.875rem;
    }
}