/* ==========================================
   Workshop - Laser Projects Grid & Layout
   ========================================== */

/* Main Layout & Typography */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 2rem 1.5rem;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: #2d3748;
}

.page-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.page-header h1 {
    font-size: 2.25rem;
    color: #1a202c;
    margin: 0;
}

/* Grid Layout:
   - Mobile: 1 column
   - Tablet (640px+): 2 columns
   - Wide Desktop (1024px+): 3 columns per row
*/
.laser-projects-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.75rem;
}

@media (min-width: 640px) {
    .laser-projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .laser-projects-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Card Styling */
.laser-project-card {
    background-color: #ffffff;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: flex;
    flex-direction: column;
}

.laser-project-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

/* Card Inner Content Container */
.card-body {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.card-title {
    margin: 0 0 1rem 0;
    font-size: 1.2rem;
    color: #1a202c;
    line-height: 1.3;
}

/* Fixed 16:9 Aspect Ratio Image Container */
.card-image-container {
    width: 100%;
    aspect-ratio: 16 / 9;
    background-color: #f7fafc;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 1rem;
}

/* Image Fit & Styling */
.lp-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: opacity 0.3s ease;
}

/* Lazy Loading Blur FX for Placeholder SVG */
.lazy-thumb[src^="data:image"] {
    opacity: 0.3;
    filter: blur(4px);
}

/* Card Body Text */
.card-description {
    font-size: 0.925rem;
    line-height: 1.6;
    color: #4a5568;
    margin: 0 0 1.25rem 0;
    flex-grow: 1; /* Keeps all cards aligned by pushing the date to the bottom */
}

/* Date Stamp Footer */
.card-date {
    font-size: 0.8rem;
    font-weight: 600;
    color: #718096;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin: 0;
    padding-top: 0.75rem;
    border-top: 1px solid #edf2f7;
}