/* Public styles for Projects Manager Lite - minimal, theme friendly
   These provide a simple responsive grid and basic spacing while allowing themes to override styles.
*/

/* Minimal, theme-friendly layout for Projects Manager Lite
     This file intentionally avoids setting typography (font-family, sizes, colors)
     so the active theme's styles (fonts, headings, colors) are used.
*/

:root{
    --pml-card-border: #e6e6e6;
    --pml-card-radius: 6px;
}

.pml-grid{ display:flex; flex-wrap:wrap; gap:24px; margin:0 -12px; }
.pml-card{ box-sizing:border-box; padding:16px; background:transparent; border:1px solid var(--pml-card-border); border-radius:var(--pml-card-radius); width:calc(33.333% - 24px); }
.pml-card .pml-thumb img{ display:block; max-width:100%; height:auto; }
.pml-card-title{ margin:12px 0 6px; }
.pml-status{ margin-top:4px; }

@media (max-width:900px){ .pml-card{ width:calc(50% - 24px); } }
@media (max-width:600px){ .pml-card{ width:100%; } }

.pml-single{ margin:0 auto; max-width:100%; padding:20px; }
.pml-hero img{ width:100%; height:auto; display:block; margin-bottom:16px; }
.pml-meta{ margin-bottom:16px; }
.pml-section{ margin-bottom:20px; }

/* Allow themes to easily override by increasing specificity */
body .pml-grid{ gap:var(--pml-grid-gap,24px); }
body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

.project-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.project-item {
    border: 1px solid #ccc;
    border-radius: 5px;
    padding: 15px;
    background-color: #f9f9f9;
    transition: transform 0.2s;
}

.project-item:hover {
    transform: scale(1.05);
}

.project-title {
    font-size: 1.5em;
    margin-bottom: 10px;
}

.project-description {
    font-size: 1em;
    color: #555;
}

.project-details {
    margin-top: 10px;
    font-size: 0.9em;
    color: #777;
}

.project-link {
    display: inline-block;
    margin-top: 10px;
    padding: 10px 15px;
    background-color: #0073aa;
    color: #fff;
    text-decoration: none;
    border-radius: 3px;
}

.project-link:hover {
    background-color: #005177;
}