.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);
}

.layered-insight-card {
    --accent: var(--e-global-color-primary);
    --text-bold: #0f172a;
    
    display: flex;
    flex-direction: column;
    background: transparent;
    text-decoration: none !important;
    height: 100%;
    position: relative;
    transition: transform 0.4s cubic-bezier(0.2, 1, 0.3, 1);
    outline: none;
    -webkit-font-smoothing: antialiased;
}

.lic-img-box {
    position: relative;
    width: 100%;
    height: 240px;
    border-radius: 24px;
    overflow: hidden;
    z-index: 1;
    background: #f1f5f9;
}

.lic-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s cubic-bezier(0.2, 1, 0.3, 1);
}

.lic-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 7px 16px;
    border-radius: 12px;
    font-size: 0.65rem;
    font-weight: 900;
    color: var(--text-bold);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    border: 1px solid rgba(255,255,255,0.4);
    z-index: 3;
}

.lic-content {
    background: #ffffff;
    margin: -50px 16px 12px 16px;
    padding: 28px;
    border-radius: 20px;
    z-index: 2;
    position: relative;
    box-shadow: 0 10px 25px -5px rgba(0,0,0,0.04), 0 8px 10px -6px rgba(0,0,0,0.02);
    border: 1px solid #f8fafc;
    transition: all 0.4s cubic-bezier(0.2, 1, 0.3, 1);
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.lic-date {
    position: absolute;
    top: -18px;
    right: 24px;
    background: var(--accent);
    color: #ffffff;
    padding: 5px 14px;
    border-radius: 10px;
    font-size: 0.72rem;
    font-weight: 700;
    box-shadow: 0 10px 15px -3px color-mix(in srgb, var(--accent), transparent 75%);
}

.lic-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text-bold);
    line-height: 1.3;
    margin: 8px 0 16px 0;
    transition: color 0.3s ease;
    /*
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;*/
    overflow: hidden;
}

.lic-divider {
    width: 40px;
    height: 4px;
    background: color-mix(in srgb, var(--accent), transparent 80%);
    border-radius: 2px;
    margin-bottom: 18px;
    position: relative;
    overflow: hidden;
}

.lic-divider::after {
    content: '';
    position: absolute;
    left: 0; top: 0; height: 100%; width: 100%;
    background: var(--accent);
    transform: translateX(-100%);
    transition: transform 0.5s ease;
}

.layered-insight-card:hover .lic-content {
    transform: translateY(-8px);
    box-shadow: 0 25px 40px -10px rgba(0,0,0,0.1);
    border-color: color-mix(in srgb, var(--accent), transparent 85%);
}

.layered-insight-card:hover .lic-img-box img {
    transform: scale(1.12);
}

.layered-insight-card:hover .lic-title {
    color: var(--accent);
}

.layered-insight-card:hover .lic-divider::after {
    transform: translateX(0);
}

.lic-footer {
    margin-top: auto;
    font-size: 0.8rem;
    font-weight: 800;
    color: var(--text-bold);
    display: flex;
    align-items: center;
    gap: 6px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    opacity: 0.8;
}

.lic-footer span {
    transition: transform 0.3s ease;
}

.layered-insight-card:hover .lic-footer {
    opacity: 1;
    color: var(--accent);
}

.layered-insight-card:hover .lic-footer span {
    transform: translateX(4px);
}


@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;
    }
}
