/* Artigos Page - Dark Theme */

/* Section Title Centering */
.section-title {
    display: block !important;
    text-align: center !important;
    margin: 0 auto 20px auto !important;
    width: 100% !important;
}

.section-title::after {
    left: 50% !important;
    transform: translateX(-50%) !important;
    margin-left: 0 !important;
}

/* Page Background */
body.artigos-page {
    background-color: #000;
}

.bg-light {
    background-color: #000 !important;
}

/* Card Layout - Responsive */
.service-card {
    background: #333;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 255, 255, 0.1);
    transition: all 0.3s ease;
    overflow: hidden;
    width: 100%;
    max-width: 400px;
    height: 500px;
    margin: 0 auto 30px;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 30px rgba(0, 255, 255, 0.2);
}

/* Image - Full width */
.service-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Content Area */
.service-content {
    width: 100%;
    height: 250px;
    padding: 30px 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    box-sizing: border-box;
}

/* Title - White */
.service-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 30px 0;
    line-height: 1.3;
    text-align: center;
}

/* Button - Neon Blue */
.service-btn {
    display: inline-block;
    padding: 15px 30px;
    background: #00ffff;
    color: #000;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.5);
    border: 2px solid #00ffff;
    margin: 0 auto;
    text-align: center;
}

.service-btn:hover {
    background: transparent;
    color: #00ffff;
    text-decoration: none;
    box-shadow: 0 0 30px rgba(0, 255, 255, 0.8);
    transform: scale(1.05);
}

/* Grid Layout - 3 per row with proper margins */
.articles-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 30px;
    padding: 0 40px;
    max-width: 1400px;
    margin: 0 auto;
}

.articles-grid .col-lg-4 {
    flex: 0 0 calc(33.333% - 20px);
    max-width: calc(33.333% - 20px);
    min-width: 350px;
}

.articles-grid .col-lg-4 .service-card {
    width: 100%;
    max-width: none;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .articles-grid {
        padding: 0 20px;
        gap: 20px;
        justify-content: center;
    }

    .articles-grid .col-lg-4 {
        flex: 0 0 calc(50% - 10px);
        max-width: calc(50% - 10px);
        min-width: 300px;
    }

    .articles-grid .col-lg-4 .service-card {
        height: 450px;
    }

    .service-image {
        height: 200px;
    }

    .service-content {
        height: 250px;
        padding: 20px 15px;
    }

    .service-title {
        font-size: 1.2rem;
    }
}

@media (max-width: 768px) {
    .articles-grid {
        flex-direction: column;
        align-items: center;
        padding: 0 15px;
        gap: 30px;
    }

    .articles-grid .col-lg-4 {
        flex: 0 0 auto;
        max-width: 400px;
        min-width: auto;
        width: 100%;
    }

    .articles-grid .col-lg-4 .service-card {
        height: auto;
        max-width: 400px;
    }

    .service-image {
        height: 200px;
    }

    .service-content {
        height: auto;
        padding: 20px;
        min-height: 180px;
    }
}