* {
    box-sizing: border-box;
    font-family: sans-serif;
}

body {
    background-color: #3b68b8;
    display: flex;
    justify-content: center;
    padding: 40px;
    margin: 0;
}

.container {
    background: white;
    width: 100%;
    max-width: 900px;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

h1 {
    margin-top: 0;
}

.search-header {
    margin-bottom: 20px;
}

.search-box {
    display: flex;
    align-items: center;
    border: 1px solid #ccc;
    border-radius: 4px;
    padding-left: 12px;
    background: #fff;
}

.search-box input {
    width: 100%;
    padding: 10px;
    border: none;
    outline: none;
    background: transparent;
}

.search-icon {
    font-size: 0.9rem;
    color: #666;
}

.tags-container {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.tag {
    padding: 6px 16px;
    border: 1px solid #ccc;
    background: #f4f4f4;
    cursor: pointer;
    border-radius: 4px;
    font-size: 0.85rem;
}

.tag.active {
    background: #000;
    color: #fff;
    border-color: #000;
}

.news-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.news-card {
    background-color: #f4f4f4;
    padding: 20px;
    border-radius: 8px;
}

.news-grid>.news-card:first-child {
    grid-column: 1 / -1;
}

.news-title {
    font-size: 1.15rem;
    margin: 0 0 5px 0;
    color: #000;
}

.news-date {
    font-size: 0.75rem;
    color: #666;
    margin: 0 0 15px 0;
}

.news-summary {
    font-size: 0.9rem;
    color: #333;
    line-height: 1.5;
    margin: 0;
}

.actions {
    display: flex;
    justify-content: center;
}

.show-more-btn {
    background: #000;
    color: #fff;
    border: none;
    padding: 10px 30px;
    border-radius: 4px;
    cursor: pointer;
}

.hidden {
    display: none;
}

.highlight {
    color: red;
    padding: 0 2px;
    border-radius: 2px;
}

.loader-container {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 0;
}

.spinner {
    border: 4px solid #f4f4f4;
    border-top: 4px solid #000;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin-bottom: 10px;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.loader-text {
    color: #666;
    font-size: 0.9rem;
}