/* --- Styl vyhledávacího boxu --- */
.search-box {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 30px 0;
    padding: 20px;
    background: #f8f9fb;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

.search-box form {
    display: flex;
    gap: 10px;
    width: 100%;
    justify-content: center;
}

.search-box input[type="text"] {
    flex: 1;
    height: 40px;
    max-width: 320px;
    padding: 10px 14px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 6px;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.search-box input[type="text"]:focus {
    border-color: #005bbb;
    box-shadow: 0 0 0 3px rgba(0,91,187,0.15);
}

.search-box button {
    height: 40px;
    background: #005bbb;
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 0 18px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.1s ease;
}

.search-box button:hover {
    background: #004999;
    transform: translateY(-1px);
}

.search-box button:active {
    background: #003f88;
    transform: translateY(0);
}

/* --- Styl výsledků --- */
.results-title {
    text-align: center;
    margin-top: 20px;
}

.results-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

.result-item {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 15px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: 0.2s ease;
}

.result-item:hover {
    box-shadow: 0 3px 8px rgba(0,0,0,0.15);
    transform: translateY(-2px);
}

.result-thumb {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 4px;
    margin-bottom: 10px;
}

.result-item h3 {
    font-size: 17px;
    margin: 10px 0 5px;
}

.result-item h3 a {
    color: #005bbb;
    text-decoration: none;
}

.result-item h3 a:hover {
    text-decoration: underline;
}

.result-item p {
    font-size: 14px;
    color: #555;
}

