/* Project Coordination Matrix - PCM Downloads Plugin Styles */

.pcm-archive-wrap { max-width: 1100px; margin: 30px auto; padding: 0 15px; }
.pcm-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }

.pcm-item {
    background: #fff;
    border: 1px solid #d4e6c3;
    padding: 18px;
    border-radius: 8px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
    transition: box-shadow 0.2s;
}
.pcm-item:hover { box-shadow: 0 4px 12px rgba(0,0,0,0.10); }

.pcm-file-icon { font-size: 2em; margin-bottom: 8px; }
.pcm-thumb img { max-width: 100%; height: auto; border-radius: 6px; margin-bottom: 10px; }

.pcm-type-badge {
    display: inline-block;
    background: #217346;
    color: #fff;
    font-size: 0.75em;
    padding: 3px 8px;
    border-radius: 4px;
    margin-bottom: 8px;
    font-weight: 600;
    letter-spacing: 0.04em;
}

.pcm-download-btn {
    background: #217346;
    color: #fff;
    padding: 8px 14px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
}
.pcm-download-btn:hover { background: #185c38; color: #fff; }

.pcm-count { color: #666; margin-left: 8px; font-size: 0.9em; }

/* Single */
.pcm-single { max-width: 800px; margin: 30px auto; padding: 24px; background: #fff; border-radius: 8px; border: 1px solid #d4e6c3; }
.pcm-single-header { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.pcm-single-icon { font-size: 2.5em; }
.pcm-meta { color: #666; margin-bottom: 16px; font-size: 0.9em; }
.pcm-content { margin-bottom: 20px; }
.pcm-file-url { font-size: 0.85em; color: #555; }
.pcm-file-url a { color: #217346; }

/* Shortcode grid */
.pcm-latest-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 15px; }
.pcm-card { border: 1px solid #d4e6c3; padding: 14px; border-radius: 6px; background: #f9fdf6; }
.pcm-small-btn { padding: 6px 10px; border-radius: 5px; text-decoration: none; background: #217346; color: #fff; font-weight: 600; }
.pcm-small-btn:hover { background: #185c38; color: #fff; }
