.radar-grid-fixed {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 2.5rem;
    align-items: stretch;
    /* Force same height in rows */
}

@media (min-width: 768px) {
    .radar-grid-fixed {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .radar-grid-fixed {
        grid-template-columns: repeat(3, 1fr);
    }
}

.news-card {
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    height: 100%;
    /* Important for equal heights */
    background: rgba(255, 255, 255, 0.02);
}

.news-card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: #8A2BE2 !important;
    box-shadow: 0 15px 50px -10px rgba(138, 43, 226, 0.4);
    background: rgba(138, 43, 226, 0.05);
}

/* Force summary and content to expand to fill space */
.news-card .p-8 {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.news-card .line-clamp-4 {
    flex: 1;
    /* Pushes the "Ler Artigo" link to the bottom */
}

.line-clamp-4 {
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-clamp: 4;
}

/* Filler Cards Styles */
.filler-card {
    border-radius: 1.5rem;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2.5rem;
    min-height: 400px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    background: #050A18;
    height: 100%;
}

.filler-2-cols {
    grid-column: span 2;
}

@media (max-width: 1024px) {
    .filler-2-cols {
        grid-column: span 1;
    }
}

.filler-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
    transition: opacity 0.5s ease;
}

.filler-card:hover img {
    opacity: 0.5;
}

/* Date Badge Animation Fix */
.news-card:hover .bg-badge-date {
    background: #00F2FF !important;
    border-color: #00F2FF !important;
}

.news-card:hover .bg-badge-date span {
    color: #050A18 !important;
}

/* Filter Button Illumination */
.filter-btn {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.filter-btn:hover {
    border-color: #00F2FF;
    color: #00F2FF;
    box-shadow: 0 0 20px rgba(0, 242, 255, 0.3);
    transform: translateY(-2px);
    background: rgba(0, 242, 255, 0.05);
}

.filter-btn.active {
    background: #00F2FF;
    color: #050A18;
    border-color: #00F2FF;
    box-shadow: 0 0 30px rgba(0, 242, 255, 0.4);
}

/* Forms in Blog CTAs */
input::placeholder {
    color: rgba(255, 255, 255, 0.2) !important;
}

input:focus {
    background: rgba(0, 242, 255, 0.05) !important;
    box-shadow: 0 0 15px rgba(0, 242, 255, 0.1);
}

/* Radar Animations for CTA */
.radar-sweep-line {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 200%;
    height: 100%;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.6), transparent 50%);
    transform-origin: left top;
    animation: rotate-radar 6s linear infinite;
    pointer-events: none;
    z-index: 1;
}

@keyframes rotate-radar {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.radar-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    pointer-events: none;
}

.radar-circle-1 {
    width: 100px;
    height: 100px;
}

.radar-circle-2 {
    width: 300px;
    height: 300px;
}

.radar-circle-3 {
    width: 500px;
    height: 500px;
}

.radar-ping {
    position: absolute;
    width: 6px;
    height: 6px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 0 10px #fff;
    opacity: 0;
    animation: ping-fade 6s infinite;
}

@keyframes ping-fade {

    0%,
    20% {
        opacity: 0;
        transform: scale(0.5);
    }

    25% {
        opacity: 0.8;
        transform: scale(1);
    }

    35% {
        opacity: 0.2;
        transform: scale(1.2);
    }

    100% {
        opacity: 0;
    }
}