/* =============== VARIABLES =============== */
:root {
    --color-text: #222;
    --color-muted: #666;
    --color-border: #ddd;
    --color-bg: #fff;
    --font-sans: "Helvetica Neue", Arial, sans-serif;
}

/* =============== GLOBAL =============== */
body {
    font-family: var(--font-sans);
    color: var(--color-text);
    background-color: var(--color-bg);
}

h2.press-title {
    font-weight: 300;
    font-size: 2rem;
    margin: 2rem 0 3rem 0;
    text-align: center;
}

/* =============== PRESS GRID (INDEX) ================= */
.container-all-press {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem 4rem 1rem;
}

.press-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

/* ================= PRESS CARD ================= */
.press-card-link {
    display: block;
    text-decoration: none; /* remove underline */
    color: inherit; /* keep text color */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.press-card-link:hover .press-card {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.press-card {
    border: 1px solid var(--color-border);
    border-radius: 6px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    background-color: #fff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.press-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
}

.card-body {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.card-title {
    font-weight: 200;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.press-journal {
    font-size: 0.9rem;
    color: var(--color-muted);
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

/* ================= SINGLE PRESS ARTICLE ================= */
.container-single-press {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem 4rem 1rem;
}

.single-press-grid {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    align-items: flex-start;
}

.single-press-image {
    flex: 1 1 45%;
}

.single-press-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.single-press-content {
    flex: 1 1 50%;
    display: flex;
    flex-direction: column;
}

.single-press-content .press-description {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #444;
}

/* ================= CTA BUTTON ================= */
.cta-back-all-works {
    display: inline-block;
    text-decoration: none;
    color: #555;
    border: 1px solid #b0b0b0;
    padding: 0.5rem 1.2rem;
    border-radius: 4px;
    transition: background-color 0.3s, color 0.3s, transform 0.2s;
    margin-top: 2rem;
}

.cta-back-all-works:hover {
    background-color: #969696;
    color: #fff;
    transform: translateY(-1px);
}

/* ================= RESPONSIVE ================= */
@media (max-width: 992px) {
    .press-card img {
        height: 160px;
    }

    .single-press-grid {
        flex-direction: column;
    }

    .single-press-image,
    .single-press-content {
        flex: 1 1 100%;
    }
}

@media (max-width: 576px) {
    .press-card img {
        height: 150px;
    }

    .press-grid {
        grid-template-columns: 1fr;
    }
}
