/* Articles Component - Persona Style */
.article-articles-section {
    padding: 100px 0;
}

.article-articles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.article-article-card {
    background-color: var(--dark-section);
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
}

.article-article-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.article-article-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.article-article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.article-article-card:hover .article-article-image img {
    transform: scale(1.1);
}

.article-article-content {
    padding: 2rem;
}

.article-article-content h3 {
    margin-bottom: 1rem;
    color: var(--text-light);
    font-size: 1.3rem;
    font-weight: 700;
}

.article-article-content p {
    color: var(--text-gray);
    margin-bottom: 1.5rem;
    line-height: 1.8;
    font-size: 0.95rem;
}

.article-article-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
}

.article-article-category {
    display: inline-block;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--accent-blue);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.article-article-link {
    background: linear-gradient(135deg, var(--primary-gradient-start), var(--primary-gradient-end));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
}

.article-article-link:hover {
    gap: 1rem;
    background: linear-gradient(135deg, var(--accent-pink), var(--primary-gradient-start));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Modal Styles */
.article-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    animation: fadeIn 0.3s ease forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

.article-modal-content {
    background-color: var(--dark-section);
    border-radius: 15px;
    max-width: 1400px;
    width: 90%;
    max-height: 90vh;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transform: scale(0.9);
    animation: scaleIn 0.3s ease forwards;
}

@keyframes scaleIn {
    to {
        transform: scale(1);
    }
}

.article-modal-header {
    padding: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.article-modal-header h2 {
    color: var(--text-light);
    font-size: 1.5rem;
    margin: 0;
    background: linear-gradient(135deg, var(--primary-gradient-start), var(--primary-gradient-end));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.article-modal-close {
    background: none;
    border: none;
    color: var(--text-gray);
    font-size: 1.5rem;
    cursor: pointer;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: var(--transition);
}

.article-modal-close:hover {
    color: var(--text-light);
    background-color: rgba(255, 255, 255, 0.1);
}

.article-modal-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    max-height: calc(90vh - 80px);
    overflow-y: auto;
}

.article-modal-image {
    overflow: hidden;
}

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

.article-modal-info {
    padding: 2rem;
    display: flex;
    flex-direction: column;
}

.article-modal-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.article-modal-date,
.article-modal-service {
    color: var(--text-gray);
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
    width: fit-content;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
}

.article-modal-service {
    background: linear-gradient(135deg, var(--primary-gradient-start), var(--primary-gradient-end));
    color: white;
}

.article-modal-content-text {
    color: var(--text-gray);
    line-height: 1.8;
    font-size: 1.05rem;
    flex-grow: 1;
}

.article-modal-content-text p {
    margin-bottom: 1rem;
}

.article-modal-footer {
    padding: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: center;
    align-items: center;
}

.article-modal-footer .btn {
    color: white;
    width: 100%;
    max-width: 300px;
    text-align: center;
    justify-content: center;
}

/* Responsive */
@media (max-width: 1024px) {
    .article-articles-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .article-articles-section {
        padding: 60px 0;
    }
    
    .article-articles-grid {
        grid-template-columns: 1fr;
    }

    .article-modal-content {
        width: 95%;
        max-height: 95vh;
    }

    .article-modal-body {
        grid-template-columns: 1fr;
        max-height: calc(95vh - 80px);
    }

    .article-modal-image {
        height: 250px;
    }

    .article-modal-info {
        padding: 1.5rem;
    }

    .article-modal-meta {
        flex-direction: column;
        gap: 0.5rem;
    }

    .article-article-actions {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.8rem;
    }
}
