/* Common header and footer styles */

.site-header {
    background-color: #222;
    padding: 20px 0;
    text-align: center;
}

.header-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.logo a {
    color: #fff;
    font-size: 32px;
    text-decoration: none;
    margin-bottom: 20px;
}

/* Search form styles */
.search-form {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.search-field {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px 0 0 5px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.search-field:focus {
    border-color: #333;
    outline: none;
}

.search-submit {
    padding: 10px 20px;
    background-color: #333;
    color: #fff;
    border: none;
    border-radius: 0 5px 5px 0;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.search-submit:hover {
    background-color: #f1c40f;
    color: #333;
}

.search-submit:focus {
    outline: none;
}

/* Footer styles */
.site-footer {
    background-color: #222;
    color: #ccc;
    padding: 20px 0;
    text-align: center;
    font-size: 14px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.site-footer p {
    margin: 10px 0;
    line-height: 1.6;
}

.footer-text {
    font-size: 12px;
    color: #999;
    margin-top: 10px;
}

@media screen and (max-width: 768px) {
    .site-header {
        padding: 15px 0;
    }

    .logo a {
        font-size: 28px;
    }

    .search-submit {
        padding: 8px 15px;
    }

    .footer-text {
        font-size: 11px;
    }
}
