/* Articles Section Styles */
.articles-section {
    width: 100%;
    min-height: 100vh;
    background: linear-gradient(
        135deg,
        #0f1108 0%,
        #171913 25%,
        #1f211a 50%,
        #272921 75%,
        #2f3128 100%
    );
    padding: 4rem 2rem;
}

.articles-container {
    max-width: 1400px;
    margin: 0 auto;
}

.articles-header {
    text-align: center;
    margin-bottom: 3rem;
}

.articles-title {
    font-size: 4rem;
    color: #FEB52B;
    font-family: 'Inter', sans-serif;
    font-weight: 800;
    text-shadow: 2px 2px rgba(0, 0, 0, 0.3);
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.articles-subtitle {
    font-size: 1.4rem;
    color: #B1D18A;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    opacity: 0.9;
}

/* Articles Grid */
.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

/* Article Card */
.article-card {
    background: linear-gradient(135deg, #171913 0%, #1f211a 100%);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(254, 181, 43, 0.2);
    transition: all 0.3s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    opacity: 1;
    transform: scale(1);
    position: relative;
}

.article-card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: #FEB52B;
    box-shadow: 0 8px 24px rgba(254, 181, 43, 0.3);
}

.article-content {
    padding: 2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.article-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
}

.article-title {
    font-size: 1.8rem;
    color: #FEB52B;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    margin: 0;
    line-height: 1.3;
    flex: 1;
}

.external-link-icon {
    flex-shrink: 0;
    color: #B1D18A;
    transition: all 0.2s ease;
    padding: 0.5rem;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.external-link-icon:hover {
    color: #FEB52B;
    background-color: rgba(254, 181, 43, 0.1);
    transform: translateY(-2px);
}

.article-description {
    color: #e0e0e0;
    font-family: 'Inter', sans-serif;
    font-size: 1.15rem;
    font-weight: 400;
    line-height: 1.65;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

/* Article Meta Info */
.article-meta {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.25rem;
    flex-wrap: wrap;
}

.article-date,
.article-read-time {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #B1D18A;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    font-weight: 500;
}

.article-date svg,
.article-read-time svg {
    flex-shrink: 0;
}

/* Article Tags */
.article-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.article-tag {
    padding: 0.5rem 1rem;
    background-color: rgba(254, 181, 43, 0.1);
    color: #FEB52B;
    border: 1px solid rgba(254, 181, 43, 0.3);
    border-radius: 12px;
    font-size: 0.95rem;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    white-space: nowrap;
}

/* No Articles State */
.no-articles {
    text-align: center;
    padding: 4rem 2rem;
    font-size: 1.35rem;
    color: #B1D18A;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    grid-column: 1 / -1;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .articles-section {
        padding: 2rem 1rem;
    }

    .articles-title {
        font-size: 2.5rem;
    }

    .articles-subtitle {
        font-size: 1rem;
    }

    .articles-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .article-card {
        max-width: 100%;
    }

    .article-title {
        font-size: 1.5rem;
    }

    .article-meta {
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .articles-title {
        font-size: 2rem;
    }

    .articles-subtitle {
        font-size: 0.9rem;
    }

    .article-content {
        padding: 1.5rem;
    }

    .article-title {
        font-size: 1.3rem;
    }

    .article-description {
        font-size: 0.95rem;
    }

    .article-date,
    .article-read-time {
        font-size: 0.85rem;
    }
}

/* Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.article-card.fade-in {
    animation: fadeIn 0.3s ease-in-out;
}
