/* Research Sections */
.research-section {
    padding: 60px 40px;
}

/* Filter Tabs */
.filter-tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
    background: white;
    border-radius: 50px;
    padding: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    overflow-x: auto;
}

.tab-button {
    background: none;
    border: none;
    padding: 12px 24px;
    border-radius: 25px;
    font-weight: 600;
    color: #666;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
    white-space: nowrap;
    min-width: fit-content;
}

.tab-button:hover {
    color: #3D1D4F;
    background: rgba(61, 29, 79, 0.1);
}

.tab-button.active {
    background: linear-gradient(45deg, #3D1D4F, #FFD700);
    color: white;
    box-shadow: 0 5px 15px rgba(61, 29, 79, 0.3);
}

.filter-tabs a {
	text-decoration: none;
	color: #666;
}

.category-badge a {
	text-decoration: none;
	color: #fff; 
}

.filter-tabs .tab-button.active a { 
    color: white; 
}

.article-title-new a {
	text-decoration: none;
	color: inherit;
}

/* Articles Grid */
.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 10px;
}

.article-card {
    background: white;
    border-radius: 20px;
    padding: 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.article-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

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

.article-card:hover .article-title-new {
    color: #733373;
}

.article-card:hover .category-badge {
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.article-card:hover .article-link {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 10px 25px rgba(61, 29, 79, 0.4);
}

/* Article Image */
.article-image {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, #3D1D4F 0%, #733373 50%, #FFD700 100%);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.article-image[data-category="imarket"] {
    background: linear-gradient(135deg, #2196f3 0%, #1976d2 50%, #0d47a1 100%);
}

.article-image[data-category="istock"] {
    background: linear-gradient(135deg, #ff9800 0%, #f57c00 50%, #e65100 100%);
}

.article-image[data-category="itrader"] {
    background: linear-gradient(135deg, #9c27b0 0%, #7b1fa2 50%, #4a148c 100%);
}

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

.article-image-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: white;
    font-size: 3rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.article-content {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* Article Header */
.article-header-new {
    margin-bottom: 15px;
}

.article-title-new {
    font-size: 1.3rem;
    font-weight: 700;
    color: #3D1D4F;
    line-height: 1.4;
    margin: 0 0 8px 0;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    transition: all 0.3s ease;
}

.title-text {
    flex: 0 1 auto;
}

.category-badge {
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 600;
    color: white;
    flex-shrink: 0;
    white-space: nowrap;
    transition: all 0.3s ease;
} 

/* Article Meta */
.article-meta-new {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    color: #888;
    font-size: 0.85rem;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 5px;
}

.meta-item::before {
    font-size: 0.8rem;
}

.date-meta::before {
    content: '📅';
}

.time-meta::before {
    content: '⏱️';
}

.views-meta::before {
    content: '👁️';
}

.article-excerpt {
    color: #666;
    line-height: 1.7;
    margin-bottom: 20px;
    text-align: justify;
}

.article-tags {
    display: flex;
    gap: 8px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.tag {
    background: #f5f5f5;
    color: #666;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 500;
}

.article-link {
    background: linear-gradient(45deg, #3D1D4F, #FFD700);
    color: white;
    padding: 12px 20px;
    text-decoration: none;
    border-radius: 20px;
    font-weight: 600;
    transition: all 0.3s ease;
    align-self: flex-start;
    position: relative;
    overflow: hidden;
}

.article-link::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.5s ease;
}

.article-link:hover::before {
    width: 200px;
    height: 200px;
}

.article-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(61, 29, 79, 0.3);
}

/* Load More Section */
.load-more-section {
    text-align: center;
    padding: 40px 0;
}

.load-more-btn {
    background: white;
    border: 2px solid #3D1D4F;
    color: #3D1D4F;
    padding: 15px 40px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 15px;
}

.load-more-btn:hover {
    background: #3D1D4F;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(61, 29, 79, 0.2);
}

.articles-count {
    color: #888;
    font-size: 0.9rem;
}

/* Hide/Show Animation */
.article-card.hidden {
    display: none;
}

.article-card.fade-in {
    animation: fadeInUp 0.6s ease forwards;
}

/* Responsive */
@media (max-width: 768px) {
		.articles-grid {
		    display: grid;
		    grid-template-columns: repeat(auto-fit, minmax(46%, 46%));
		    gap: 30px;
		    margin-bottom: 10px;
		}
    .research-section {
        padding: 40px 20px;
    }

    .filter-tabs {
        padding: 6px;
        margin-bottom: 30px;
    }

    .tab-button {
        padding: 10px 16px;
        font-size: 0.9rem;
    }

    .article-title-new {
        flex-direction: row;
        align-items: center;
        gap: 8px;
        flex-wrap: wrap;
    }

    .category-badge {
        align-self: center;
    }
}

@media (max-width: 480px) {

    .articles-grid {
        grid-template-columns: 1fr;
    }
    .article-content {
        padding: 20px;
    }

    .article-image {
        height: 150px;
    }

    .article-image-placeholder {
        font-size: 2.5rem;
    }

    .article-title-new {
        font-size: 1.2rem;
    }

    .article-meta-new {
        flex-wrap: wrap;
        gap: 10px;
    }

    .meta-item {
        font-size: 0.8rem;
    }
}