@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&display=swap');

:root {
    --primary-color: #2c3e50;
    --secondary-color: #3498db;
    --text-color: #333;
    --light-bg: #f8f9fa;
}

/*body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--light-bg);
    padding: 2rem;
}*/

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
}

.card {
    /*padding: 2rem; DK */
    background-color: #fff;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    width: 100%;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.cardId {
    display: none; /* Hide the ID */
}

.cardPhoto img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.card-content {
    padding: 1.5rem;
}

.card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: #6c757d;
    margin-bottom: 1rem;
}

.cardContent_type {
    font-size: 1.2rem;
    color: var(--secondary-color);
}

.cardTitle {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.cardTitle a {
    text-decoration: none;
    color: var(--primary-color);
    transition: color 0.3s ease;
}

.cardTitle a:hover {
    color: var(--secondary-color);
}

.cardSummary {
    font-size: 0.95rem;
    line-height: 1.5;
    color: #495057;
}

.cardSummary a {
    text-decoration: none;
    color: inherit;
} 