/* General Reset */
body {
    font-family: Arial, sans-serif;
    background-color: #ffffff;
    margin-top: 12%;
    padding: 0;
}

.logo {
    font-size: 2.5rem;
    color: #6001d2;
    margin: 20px;
    text-align: center;
    font-weight: bold;
}

.search-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 20px;
}

.search-box {
    display: flex;
    align-items: center;
    width: 80%;
    max-width: 680px;
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 50px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    padding: 10px 15px;
}

.search-box input {
    flex-grow: 1;
    border: none;
    outline: none;
    font-size: 16px;
    padding: 10px;
    border-radius: 50px 0 0 50px;
}

.icon-group {
    display: flex;
    align-items: center;
    gap: 20px;
}

.icon-group i {
    font-size: 15px;
    color: #6001d2;
    cursor: pointer;
}

.icon-group i:hover {
    color: #6001d2;
}

.results {
    margin-top: 30px;
    max-width: 900px;
    margin: 0 auto;
    text-align: left;
}

.results h2 {
    text-align: center;
    color: #444;
}

.result-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #ddd;
}

.result-item img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 5px;
}

.result-details {
    flex-grow: 1;
}

.result-details a {
    font-size: 16px;
    font-weight: bold;
    color: #1a0dab;
    text-decoration: none;
}

.result-details a:hover {
    text-decoration: underline;
}

.result-details p {
    font-size: 14px;
    color: #4d4d4d;
    margin: 5px 0;
}

.pagination {
    text-align: center;
    margin-top: 20px;
}

.pagination a {
    text-decoration: none;
    color: #6001d2;
    margin: 0 5px;
    font-size: 16px;
}

.pagination a:hover {
    text-decoration: underline;
}

/* Mobile Optimizations */
@media (max-width: 768px) {
    .search-box {
        width: 95%;
    }

    .result-item img {
        width: 80px;
        height: 80px;
    }

    .result-details a {
        font-size: 14px;
    }

    .result-details p {
        font-size: 12px;
    }

    .pagination a {
        font-size: 14px;
    }
}

.rss-news-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin: 20px auto;
    max-width: 1200px;
    padding: 10px;
    background-color: #f9f9f9;
    border-radius: 10px;
}

.rss-news-item {
    padding: 15px;
    background-color: #ffffff;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.rss-news-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.rss-news-item h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #1a0dab;
}

.rss-news-item h3 a {
    text-decoration: none;
    color: #1a0dab;
}

.rss-news-item h3 a:hover {
    text-decoration: underline;
}

.rss-news-item p {
    font-size: 0.9rem;
    color: #333;
    margin-bottom: 8px;
}

.rss-news-item small {
    font-size: 0.8rem;
    color: #888;
}