/* SkyDiv Media Hub - Frontend Styles */
.skydiv-downloads-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

.skydiv-download-card {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
    background: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: transform 0.2s, box-shadow 0.2s;
}

.skydiv-download-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.skydiv-download-title {
    margin: 0 0 10px 0;
    color: #333;
    font-size: 1.2em;
}

.skydiv-download-description {
    color: #666;
    margin: 0 0 15px 0;
    line-height: 1.4;
}

.skydiv-download-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 0.9em;
    color: #888;
}

.skydiv-download-category {
    background: #f0f0f0;
    padding: 2px 8px;
    border-radius: 12px;
    font-weight: 500;
}

.skydiv-download-button {
    display: inline-block;
    background: #007cba;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 500;
    transition: background 0.2s;
}

.skydiv-download-button:hover {
    background: #005a87;
    color: white;
}

.skydiv-section-title {
    margin-bottom: 20px;
    color: #333;
    border-bottom: 2px solid #007cba;
    padding-bottom: 10px;
}

.skydiv-info, .skydiv-error {
    padding: 15px;
    border-radius: 4px;
    margin: 20px 0;
}

.skydiv-info {
    background: #e7f3ff;
    border: 1px solid #b3d9ff;
    color: #0066cc;
}

.skydiv-error {
    background: #ffe7e7;
    border: 1px solid #ffb3b3;
    color: #cc0000;
}

/* List layout */
.skydiv-downloads-list .skydiv-download-card {
    margin-bottom: 15px;
}