.dynamika-noticias {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(var(--dynamika-quantidade), 1fr);
    gap: 24px;
    text-decoration: none;
    color: #fff;
}
.dynamika-noticias:hover {
    color: var(--e-global-color-primary);
}

.card-highlight-wrapper {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 3 / 4;
    min-height: 300px;
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none !important;
    box-sizing: border-box;
}

.card-highlight-wrapper:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.card-highlight-img-box {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

.card-highlight-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.card-highlight-wrapper:hover .card-highlight-img-box img {
    transform: scale(1.1);
}

.card-highlight-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px 25px;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 10%, transparent 100%);
    color: var(--color-text-light, #fff);
    z-index: 10;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.card-highlight-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 8px;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    color: #fff;
}

.card-highlight-desc {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 20px;
    line-height: 1.5;
    /*
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;*/
    overflow: hidden;
}

.card-highlight-btn {
    display: inline-block;
    padding: 10px 24px;
    background: var(--color-text-light, #fff);
    color: var(--color-text-main, #333);
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.85rem;
    text-align: center;
    align-self: flex-start;
    transition: background 0.3s, color 0.3s, transform 0.2s;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.card-highlight-btn:hover {
    background: var(--e-global-color-primary); 
    color: var(--color-text-light, #fff);
    transform: scale(1.05);
}


@media (max-width: 1110px) {
    .dynamika-noticias {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
}

@media (max-width: 600px) {
    .dynamika-noticias {
        grid-template-columns: repeat(1, 1fr);
        gap: 24px;
    }
}
