/* Container principal - mantém a altura */
.press-release-wrapper {
    min-height: 620px;
    position: relative;
}

/* Loader */
.press-release-loader {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    border: 5px solid #f3f3f3;
    border-top: 5px solid #13C7E5;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Grid Bento Original (mantido igual) */
.press-release-grid {
    display: grid;
    grid-template-areas:
        "a b c"
        "d d e"
        "d d f";
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: 300px 150px 150px;
    gap: 20px;
    max-width: 1000px;
    margin: auto;
}

.press-card {
    position: relative;
    background-size: cover;
    background-position: center;
    border-radius: 10px;
    overflow: hidden;
    text-decoration: none;
    display: flex;
    align-items: flex-end;
    transition: transform 0.3s ease;
    color: white;
}

/* ... (mantenha o resto do seu CSS existente) ... */

.press-release-grid {
    display: grid;
    grid-template-areas:
        "a b c"
        "d d e"
        "d d f";
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: 300px 150px 150px;
    gap: 20px;
    max-width: 1000px;
    margin: auto;
}

.press-card {
    position: relative;
    background-size: cover;
    background-position: center;
    border-radius: 10px;
    overflow: hidden;
    text-decoration: none;
    display: flex;
    align-items: flex-end;
    transition: transform 0.3s ease;
    color: white;
}

.press-card .overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.00) 0%, #000 100%), 
                linear-gradient(0deg, rgba(0, 0, 0, 0.46) 0%, rgba(0, 0, 0, 0.46) 100%);
    transition: background 0.3s ease;
}

.press-card:hover .overlay {
    background: linear-gradient(180deg, rgba(19, 199, 229, 0.00) 0%, #13C7E5 100%),
                linear-gradient(0deg, rgba(0, 0, 0, 0.30) 0%, rgba(0, 0, 0, 0.30) 100%);
}

.press-card:hover .title {
    color: #000000;
}

.press-card .title {
    position: relative;
    padding: 16px;
    font-weight: bold;
    font-size: 1rem;
    z-index: 2;
}

.card-a { grid-area: a; }
.card-b { grid-area: b; }
.card-c { grid-area: c; }
.card-d { grid-area: d; }
.card-e { grid-area: e; }
.card-f { grid-area: f; }

@media (max-width: 768px) {
    .press-release-grid {
        grid-template-areas:
            "a"
            "b"
            "c"
            "d"
            "e"
            "f";
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }
}


.press-release-pagination {
    text-align: center;
    margin-top: 30px;
}

.press-release-pagination .page-numbers {
    display: inline-block;
    padding: 8px 16px;
    margin: 0 5px;
    border: 1px solid #ddd;
    text-decoration: none;
    color: #333;
    transition: all 0.3s;
}

.press-release-pagination .page-numbers.current,
.press-release-pagination .page-numbers:hover {
    background: #13C7E5;
    color: #000;
    border-color: #13C7E5;
}


.press-release-loader {
    display: block;
    margin: 50px auto;
    width: 50px;
    height: 50px;
    border: 5px solid #f3f3f3;
    border-top: 5px solid #13C7E5;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}


.press-release-wrapper {
    min-height: 720px; /* Altura total do grid (300px + 150px + 150px + gaps) */
    position: relative;
}


.press-release-loader {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    border: 5px solid #f3f3f3;
    border-top: 5px solid #13C7E5;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0; 
}


@keyframes spin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}


.press-release-grid {
    display: grid;
    grid-template-areas:
        "a b c"
        "d d e"
        "d d f";
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: 300px 150px 150px;
    gap: 20px;
    max-width: 1000px;
    margin: auto;
}