/* Language Page Styles */
.language-page {
    background-color: #f8fafc;
    padding: 2rem 0;
    min-height: 100vh;
}

.language-header {
    background-color: #ffffff;
    border-radius: 0.75rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    padding: 2rem;
    margin-bottom: 2rem;
}

.language-title {
    color: #1e293b;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-align: center;
}

.language-description {
    color: #475569;
    font-size: 1.125rem;
    line-height: 1.75;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 2rem;
}

.country-section {
    margin-bottom: 2.5rem;
}

.country-title {
    color: #1e293b;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #e2e8f0;
}

.newspapers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.newspaper-card {
    background-color: #ffffff;
    border-radius: 0.5rem;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.newspaper-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.newspaper-image {
    width: 100%;
    height: 160px;
    object-fit: cover;
    border-bottom: 1px solid #e2e8f0;
}

.newspaper-content {
    padding: 1.25rem;
}

.newspaper-name {
    color: #1e293b;
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.newspaper-country {
    color: #64748b;
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.visit-btn {
    display: inline-block;
    background-color: #3b82f6;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.875rem;
    transition: background-color 0.2s ease;
}

.visit-btn:hover {
    background-color: #2563eb;
}

.no-newspapers {
    text-align: center;
    color: #64748b;
    padding: 2rem;
    background-color: #f8fafc;
    border-radius: 0.5rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .newspapers-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
    
    .language-title {
        font-size: 1.75rem;
    }
    
    .country-title {
        font-size: 1.25rem;
    }
}

@media (max-width: 480px) {
    .language-header {
        padding: 1.5rem 1rem;
    }
    
    .newspapers-grid {
        grid-template-columns: 1fr;
    }
}
