.destaques-grid {
    margin: auto;
    max-width: 2000px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: 4fr 1fr 4fr;
    gap: 20px;
}

.destaques-grid article {
    height: 475px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 15px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.ad-item-dest {
    grid-row: 2 / 3;
    grid-column: 1 / 4;
}

@media screen and (max-width: 1100px) {
    .ad-item-dest {
        grid-row: 4 / 5;
        grid-column: 1;
    }

    .destaques-grid {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(3, 4fr) 1fr repeat(3, 4fr);

    }
}

.grid-dest-item {
    width: 100%;
    height: 100%;
}

.image-card {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 100%;
}

.image-link {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    width: 100%;
    height: 100%;
}

.card-assunto {
    position: absolute;
    top: 5px;
    left: 10px;
    z-index: 1;
    display: inline-block;
    padding: 4px;
    padding-inline: 10px;
    background: #111;
    cursor: pointer;

}

.card-assunto a {
    color: #ffffff;
    ;
    text-decoration: none;
}

.card-assunto:hover {
    background: #419cd8;
}
