/* Modern Publications Section */
.publications-home {
    padding: 5rem 0;
}

.publications-home .section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
}

/* Publications Grid Layout */
.publications-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 2rem;
}

/* Featured Publication Card */
.publication-featured-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.publication-featured-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.publication-cover {
    position: relative;
    height: 350px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.cover-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.publication-featured-card:hover .cover-image {
    transform: scale(1.05);
}

.cover-placeholder {
    font-size: 6rem;
    color: white;
    opacity: 0.3;
}

.publication-badge {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: var(--primary-color);
    color: white;
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    z-index: 2;
}

.publication-body {
    padding: 2rem;
}

.publication-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-color);
    margin: 0 0 1rem 0;
    line-height: 1.3;
}

.publication-desc {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-light);
    margin: 0 0 1.5rem 0;
}

.publication-meta {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #e5e7eb;
}

.publication-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--text-light);
}

.publication-meta i {
    color: var(--primary-color);
}

.publication-actions {
    display: flex;
    gap: 1rem;
}

.btn-pub {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9375rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
    border: 2px solid var(--primary-color);
}

.btn-primary:hover {
    background: #1d4ed8;
    border-color: #1d4ed8;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

/* Recent Publications Wrapper */
.recent-publications-wrapper {
    display: flex;
    align-items: flex-start;
}

/* Recent Publications List */
.recent-publications {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    width: 100%;
}

.recent-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-color);
    margin: 0 0 1.5rem 0;
    padding-bottom: 1rem;
    border-bottom: 2px solid #f3f4f6;
}

.recent-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
    margin-bottom: 0.75rem;
    border: 1px solid #f3f4f6;
}

.recent-item:last-child {
    margin-bottom: 0;
}

.recent-item:hover {
    background: #f9fafb;
    border-color: var(--primary-color);
    transform: translateX(4px);
}

.recent-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: #eff6ff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.recent-icon i {
    color: var(--primary-color);
    font-size: 1.125rem;
}

.recent-info {
    flex: 1;
}

.recent-name {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--text-color);
    margin-bottom: 0.25rem;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.recent-date {
    font-size: 0.8125rem;
    color: var(--text-light);
}

.recent-item > i {
    color: #d1d5db;
    font-size: 0.875rem;
    transition: all 0.3s ease;
}

.recent-item:hover > i {
    color: var(--primary-color);
    transform: translateX(4px);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .publications-grid {
        grid-template-columns: 1fr;
    }
    
    .publication-cover {
        height: 300px;
    }
}

@media (max-width: 768px) {
    .publications-home {
        padding: 3rem 0;
    }
    
    .publications-home .section-header {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 0.5rem;
    }
    
    .publications-home .section-title {
        font-size: 1.5rem;
    }
    
    .publications-home .view-all-link {
        font-size: 0.875rem;
        white-space: nowrap;
    }
    
    .publication-cover {
        height: 250px;
    }
    
    .publication-body {
        padding: 1.5rem;
    }
    
    .publication-title {
        font-size: 1.25rem;
    }
    
    .publication-actions {
        flex-direction: column;
    }
    
    .recent-publications {
        padding: 1.5rem;
    }
    
    .recent-item {
        padding: 1rem;
    }
}

@media (max-width: 576px) {
    .publication-cover {
        height: 200px;
    }
    
    .publication-badge {
        top: 1rem;
        right: 1rem;
        padding: 0.375rem 1rem;
        font-size: 0.8125rem;
    }
    
    .publication-body {
        padding: 1.25rem;
    }
    
    .publication-title {
        font-size: 1.125rem;
    }
    
    .publication-desc {
        font-size: 0.9375rem;
    }
    
    .publication-meta {
        flex-direction: column;
        gap: 0.75rem;
    }
}
