body {
    color: #333;
    font-family: Arial, sans-serif;
    font-size: 1em;
}
html {
    scroll-behavior: smooth;
}

.container {
    max-width: 900px !important;
    margin: 0 auto;
    padding: 20px;
}

article img {
    max-width: 100%;
    height: auto;
    margin-bottom: 20px;
}

.header {
    padding: 10px;
    background-color: #f8f8f8;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid #ddd;
    margin-bottom: 2rem;
}

.header .logo {
    text-align: center;
}

.header .logo img {
    height: 80px;
}

.related-searches {
    margin-top: 3rem;
    padding: 1.5rem;
    background-color: #eef2f7;
    border: 1px solid #d1d9e6;
    border-radius: 5px;
}

.related-searches .title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #444;
}

.related-searches a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #3273dc;
    color: #fff;
    padding: 1rem;
    margin-bottom: 1rem;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

.related-searches a:hover {
    background-color: #275aa8;
}

.related-searches a::after {
    content: '\2192';
    font-size: 1.2rem;
}

.footer {
    text-align: center;
    padding: 1.5rem 0;
    margin-top: 2rem;
    border-top: 1px solid #ddd;
    background-color: #fff;
}

.footer a {
    margin: 0 1rem;
    color: #3273dc;
    text-decoration: none;
    font-weight: 500;
}

.footer p {
    margin-top: 1rem;
    color: #777;
}

.modal-card {
    width: 90%;
    max-width: 500px;
}

.modal-card-title {
    font-weight: bold;
    color: #3273dc;
}

.modal-card-body p {
    margin-bottom: 1rem;
    color: #4a4a4a;
}

.modal-background {
    background-color: rgba(0, 0, 0, 0.6);
}


@media (max-width: 403px) {
    .header .columns {
        flex-direction: column;
        align-items: center !important;
        gap: 1rem;
    }

    #header-search-form {
        width: 100%;
        max-width: 320px;
    }

    button {
        max-width: 20px;
    }

    #header-search-input {
        width: 100% !important;
        max-width: 100% !important;
    }

    #header-search-form button {
        width: 100%;
    }

    .header .logo img {
        margin-bottom: 0.5rem;
    }
}


@media (max-width: 768px) {
    .modern-article {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem 1rem;
    }

    .modern-article .article-image {
        width: 100%;
        height: auto;
        margin-bottom: 1rem;
    }

    .modern-article .article-image img {
        height: auto;
        object-fit: cover;
        border-radius: 10px;
    }

    .modern-article .article-content {
        padding: 0 0.5rem;
    }
}
