/* =========================
   Search Page
========================= */

.ts-search-control {
    max-width: 760px;
    margin: 2rem auto 0;
    padding: 0 1rem;
}

.ts-search-page-form {
    display: flex;
    align-items: center;
    max-width: 640px;
    margin: 0 auto;
    gap: 0.6rem;
    background: #fff;
    border: 1px solid #e2e2e8;
    border-radius: 999px;
    padding: 0.35rem 0.35rem 0.35rem 1rem;
    box-shadow: 0 8px 28px rgba(38, 37, 65, 0.08);
}

.ts-search-page-form i {
    color: #777;
    font-size: 1rem;
    flex: 0 0 auto;
}

.ts-search-page-form input {
    flex: 1;
    min-width: 0;
    padding: 0.75rem 0.25rem;
    border: none;
    outline: none;
    background: transparent;
    color: #262541;
    font-size: 1rem;
}

.ts-search-page-form button {
    background: #262541;
    color: #fff;
    border: none;
    border-radius: 999px;
    padding: 0.75rem 1.2rem;
    font-weight: 600;
    cursor: pointer;
    flex: 0 0 auto;
}

.ts-search-page-form button:hover {
    opacity: 0.92;
}

.ts-search-results-wrap {
    max-width: 1100px;
    margin: 2rem auto 2.5rem;
    padding: 0 1rem;
}

.ts-search-empty-intro {
    text-align: center;
    max-width: 640px;
    margin: 0 auto;
    padding: 1rem 0 2rem;
}

.ts-search-empty-intro h2 {
    color: #262541 !important;
    margin-bottom: 0.75rem;
}

.ts-search-empty-intro p {
    color: #555 !important;
}

.ts-search-results-heading {
    color: #262541 !important;
    margin-bottom: 0.5rem;
}

.ts-search-results-count {
    color: #666 !important;
    margin-bottom: 2rem;
}

.ts-search-section {
    margin-bottom: 2.5rem;
}

.ts-search-section-title {
    color: #262541 !important;
    margin-bottom: 1rem;
}

.ts-park-search-results,
.ts-search-results {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 330px));
    gap: 1.5rem;
    justify-content: start;
}

.ts-park-search-results {
    gap: 1rem;
}

.ts-search-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.08);
}

.ts-search-card a {
    text-decoration: none;
    color: inherit;
}

.ts-search-card-image {
    height: 170px;
    overflow: hidden;
    background: #eee;
}

.ts-search-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.ts-search-card-body {
    padding: 1rem;
}

.ts-search-card-label {
    display: inline-block;
    margin-bottom: 0.5rem;
    color: #666 !important;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.ts-search-card-title {
    color: #262541 !important;
    font-size: 1.15rem;
    line-height: 1.35;
    margin: 0 0 0.5rem;
}

.ts-search-card-description {
    color: #555 !important;
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
}

/* Park search cards */
.ts-park-search-card {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 6px 22px rgba(0, 0, 0, 0.10);
    border: 1px solid rgba(38, 37, 65, 0.08);
}

.ts-park-search-card a {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    text-decoration: none;
    color: inherit;
}

.ts-park-search-image {
    width: 76px;
    height: 76px;
    flex: 0 0 76px;
    border-radius: 14px;
    overflow: hidden;
    background: #f1f1f3;
}

.ts-park-search-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    padding: 0.35rem;
}

.ts-park-search-label {
    display: inline-block;
    margin-bottom: 0.35rem;
    color: #666 !important;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.ts-park-search-title {
    color: #262541 !important;
    font-size: 1.2rem;
    line-height: 1.25;
    margin: 0 0 0.25rem;
}

.ts-park-search-description {
    color: #555 !important;
    font-size: 0.95rem;
    line-height: 1.4;
    margin: 0;
}

.ts-search-no-results {
    background: #f7f7f9;
    padding: 1.5rem;
    border-radius: 10px;
}

.ts-search-no-results h3 {
    color: #262541 !important;
    margin-top: 0;
}

.ts-search-no-results p {
    margin-bottom: 0;
    color: #555 !important;
}

/* Mobile */
@media (max-width: 575.98px) {
    .ts-search-control {
        margin-top: 1.5rem;
    }

    .ts-search-page-form {
        border-radius: 18px;
        align-items: stretch;
    }

    .ts-search-page-form button {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .ts-park-search-results,
    .ts-search-results {
        grid-template-columns: 1fr;
    }
}