@import "main.css";

/* Flex container for presse items */
.presse-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-top: 2rem;
    justify-content: center;
}

/* Individual presse item styling */
.presse-item {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 2rem;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    text-align: center;
    flex: 1 1 calc(33.333% - 2rem); /* 3 columns */
    max-width: calc(33.333% - 2rem);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Hover effect for presse item */
.presse-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Presse item title styling */
.presse-item h3 {
    font-size: 2.5rem; /* Increased font size */
    color: var(--text-color);
}

/* Presse item paragraph styling */
.presse-item p {
    font-size: 2rem; /* Increased font size */
    color: var(--second-text-color);
}

/* Presse item link styling */
.presse-item a {
    margin-top: 1rem;
    padding: 0.75rem 1.5rem; /* Increased padding */
    font-size: 1.25rem; /* Increased font size */
    background-color: var(--bg-color-2);
    color: var(--text-color);
    border-radius: 1rem;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

/* Hover effect for presse item link */
.presse-item a:hover {
    background-color: var(--bg-color-3);
}

/* Media Queries for responsiveness */
@media (max-width: 992px) {
    .presse-item {
        flex: 1 1 calc(50% - 2rem); /* 2 columns */
        max-width: calc(50% - 2rem);
    }
}

@media (max-width: 768px) {
    .presse-item {
        flex: 1 1 calc(100% - 2rem); /* 1 column */
        max-width: calc(100% - 2rem);
    }
}