:root {
    --bg-color: #000;
    --text-color: #fff;
    --card-bg: rgba(255, 255, 255, 0.05);
    --card-border: rgba(255, 255, 255, 0.1);
    --card-hover: rgba(255, 255, 255, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: 'Inter', sans-serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.header {
    text-align: center;
    padding: 4rem 2rem;
    border-bottom: 1px solid var(--card-border);
}

.header h1 {
    font-size: clamp(2rem, 8vw, 2.5rem);
    font-weight: 700;
    letter-spacing: 0.1rem;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

.header p {
    font-size: 1.1rem;
    opacity: 0.7;
    font-weight: 300;
}

.grid-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 3rem 5%;
    max-width: 1000px;
    margin: 0 auto;
    width: 100%;
}

.card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 8px;
    overflow: hidden;
    text-decoration: none;
    color: var(--text-color);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: row;
    height: 250px;
}

.card:hover {
    transform: translateY(-5px);
    background: var(--card-hover);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
    border-color: rgba(255, 255, 255, 0.3);
}

.card-image {
    width: 350px;
    min-width: 350px;
    height: 100%;
    object-fit: cover;
    border-left: 1px solid var(--card-border);
    border-bottom: none;
}

.card-content {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    justify-content: center;
}

.card-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.card-date {
    font-size: 0.85rem;
    opacity: 0.6;
    margin-bottom: 1rem;
}

.card-description {
    font-size: 0.95rem;
    line-height: 1.5;
    opacity: 0.8;
}
.card.no-link {
    cursor: default;
}

.card.no-link:hover {
    transform: none;
    box-shadow: none;
    border-color: var(--card-border);
    background: var(--card-bg);
}

.card.no-image {
    height: auto;
    min-height: 150px;
}

.card.no-image .card-content {
    padding: 2.5rem;
}

@media (max-width: 850px) {
    .card {
        flex-direction: column-reverse;
        height: auto;
    }

    .card-image {
        width: 100%;
        min-width: 100%;
        height: 250px;
        border-right: none;
        border-bottom: 1px solid var(--card-border);
    }

    .grid-container {
        padding: 2rem 1rem;
        gap: 1.5rem;
    }
    
    .card-content {
        padding: 1.5rem;
    }

    .card-title {
        font-size: 1.15rem;
    }
}
