.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    font-size: 14px;
}

/* Page Title */
.page-title {
    text-align: left;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid #e2e8f0;
}

.page-title h1 {
    font-size: 28px;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 5px;
}

.subtitle {
    font-size: 16px;
    color: #718096;
    font-weight: 400;
}

/* Search Box */
.search-box {
    background: white;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    border: 1px solid #e2e8f0;
    margin-bottom: 25px;
}

.search-inputs {
    display: flex;
    gap: 15px;
    align-items: center;
}

.search-input {
    flex: 2;
    padding: 12px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 14px;
    background: #f7fafc;
    transition: all 0.2s ease;
}

.search-input:focus {
    outline: none;
    border-color: #4299e1;
    background: white;
    box-shadow: 0 0 0 3px rgba(66,153,225,0.1);
}

.category-select {
    flex: 1;
    padding: 12px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 14px;
    background: white;
    cursor: pointer;
    transition: all 0.2s ease;
}

.category-select:focus {
    outline: none;
    border-color: #4299e1;
    box-shadow: 0 0 0 3px rgba(66,153,225,0.1);
}

.search-btn {
    padding: 12px 24px;
    background: #ff8c00;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.search-btn:hover {
    background: #e67e00;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255,140,0,0.3);
}

/* Search Results Header */
.search-results-header {
    margin-bottom: 20px;
    padding: 20px;
    background: white;
    border-radius: 8px;
    border-left: 4px solid #4299e1;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.search-results-header h2 {
    font-size: 18px;
    color: #2d3748;
    margin-bottom: 10px;
}

.search-term {
    color: #4299e1;
    font-weight: 600;
}

.search-stats {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    font-size: 13px;
    color: #718096;
}

.result-count {
    font-weight: 600;
    color: #38a169;
}

/* Content Header */
.content-header {
    margin-bottom: 20px;
}

.section-info {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 20px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    border-left: 4px solid #6c7b96;
}

.section-icon {
    color: #6c7b96;
}

.section-info h3 {
    font-size: 16px;
    font-weight: 600;
    color: #2d3748;
}

/* News Items */
.content-section {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.news-item {
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    border: 1px solid #e2e8f0;
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
}

.news-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
    border-color: #cbd5e0;
}

.news-content-wrapper {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.news-image {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
    background: #f7fafc;
    display: flex;
    align-items: center;
    justify-content: center;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.2s ease;
}

.news-item:hover .news-image img {
    transform: scale(1.05);
}

.image-fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background: #f1f5f9;
    border-radius: 6px;
}

.news-details {
    flex: 1;
    min-width: 0;
}

.news-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
    gap: 15px;
}

.news-title {
    margin: 0;
    flex: 1;
}

.news-link {
    color: #2d3748;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
    transition: color 0.2s ease;
    display: block;
}

.news-link:hover {
    color: #4299e1;
}

.category-badge {
    background: #38a169;
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    white-space: nowrap;
    flex-shrink: 0;
}

.news-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.news-meta > span {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 13px;
    color: #718096;
}

.news-excerpt {
    color: #4a5568;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 15px;
}

.news-actions {
    display: flex;
    justify-content: flex-end;
}

.read-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #38a169;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 6px;
    transition: all 0.2s ease;
    background: rgba(56,161,105,0.1);
}

.read-more-btn:hover {
    background: rgba(56,161,105,0.15);
    transform: translateX(3px);
}

/* No Results */
.no-results {
    text-align: center;
    padding: 60px 20px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.no-results-icon {
    margin-bottom: 20px;
    opacity: 0.5;
}

.no-results-title {
    font-size: 18px;
    color: #4a5568;
    margin-bottom: 15px;
    font-weight: 600;
}

.no-results-message {
    color: #718096;
    font-size: 14px;
    line-height: 1.5;
}

.no-results-message p {
    margin-bottom: 8px;
}

/* Pagination */
.pagination-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.pagination {
    background: white;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

/* Search term highlighting */
mark {
    background: #fed7aa;
    padding: 2px 4px;
    border-radius: 3px;
    font-weight: 600;
    color: #c2410c;
}

/* Animation Classes */
.news-item {
    animation: slideInUp 0.4s ease-out;
    animation-fill-mode: both;
}

.news-item[data-index="0"] { animation-delay: 0.05s; }
.news-item[data-index="1"] { animation-delay: 0.1s; }
.news-item[data-index="2"] { animation-delay: 0.15s; }
.news-item[data-index="3"] { animation-delay: 0.2s; }
.news-item[data-index="4"] { animation-delay: 0.25s; }

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 15px;
    }
    
    .search-inputs {
        flex-direction: column;
        align-items: stretch;
    }
    
    .search-input,
    .category-select,
    .search-btn {
        width: 100%;
    }
    
    .news-content-wrapper {
        flex-direction: column;
        gap: 15px;
    }
    
    .news-image {
        width: 100%;
        height: 150px;
        align-self: center;
        max-width: 200px;
    }
    
    .news-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .news-meta {
        gap: 15px;
    }
    
    .page-title h1 {
        font-size: 24px;
    }
    
    .search-stats {
        flex-direction: column;
        gap: 8px;
    }
}

@media (max-width: 480px) {
    .news-meta {
        flex-direction: column;
        gap: 8px;
    }
    
    .news-meta > span {
        justify-content: flex-start;
    }
    
    .search-box {
        padding: 20px 15px;
    }
}

/* Loading States */
.news-item.loading {
    opacity: 0.6;
    pointer-events: none;
}

/* Focus Styles */
*:focus {
    outline: 2px solid #4299e1;
    outline-offset: 2px;
}