/* /search?q=... sonuç sayfası. Kartlar new-search-dialog.css'teki .nsd-* sınıflarını kullanır. */
.nsp {
    max-width: 1100px;
    margin: 0 auto;
    padding: 40px 16px 80px;
}

    .nsp [hidden] {
        display: none !important;
    }

.nsp-head {
    margin-bottom: 8px;
}

.nsp-eyebrow {
    margin: 0 0 10px;
    color: #a67c00;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.nsp h1.nsp-title {
    margin: 0;
    padding: 0 !important;
    font-size: 34px;
    line-height: 1.2;
    font-weight: 700;
    color: #171717;
}

.nsp-subtitle {
    margin: 8px 0 0;
    color: #696969;
    font-size: 14px;
}

.nsp-form {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 26px 0 0;
    padding: 5px;
    border: 1px solid #dedede;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

    .nsp-form:focus-within {
        border-color: #e1b900;
    }

.nsp-form__icon {
    flex: none;
    display: grid;
    place-items: center;
    padding-left: 14px;
    color: #777;
}

.nsp-form input[type="search"] {
    flex: 1;
    min-width: 0;
    height: 44px;
    padding: 0 8px;
    border: 0;
    outline: 0;
    background: transparent;
    color: #171717;
    font-size: 15px;
    box-shadow: none;
}

.nsp-form button {
    flex: none;
    height: 44px;
    padding: 0 34px;
    border: 0;
    border-radius: 10px;
    background: #F8E71C;
    color: #171717;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
}

    .nsp-form button:hover {
        background: #EEDD12;
    }

.nsp-count {
    margin: 20px 0 0;
    color: #777;
    font-size: 12px;
}

    .nsp-count strong {
        color: #171717;
    }

.nsp-tabs {
    margin-top: 14px;
    padding-bottom: 22px;
    border-bottom: 1px solid #e8e8e8;
}

.nsp-tab {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 32px;
    padding: 5px 14px;
    cursor: pointer;
    font: inherit;
    font-size: 12px;
    font-weight: 600;
}

    .nsp-tab .nsd-count {
        margin: 0;
        padding: 2px 7px;
        background: #f1f1f1;
        font-size: 10px;
    }

.nsp-tab--active {
    border-color: #171717;
    background: #171717;
    color: #fff;
}
/* .nsd-chip:hover açık sarı zemin verdiği için aktif sekmenin koyu rengi hover/focus'ta bozuluyordu */
.nsp-tab.nsp-tab--active:hover,
.nsp-tab.nsp-tab--active:focus-visible {
    border-color: #171717;
    background: #171717;
    color: #fff;
}

.nsp-tab--active .nsd-count {
    background: #F8E71C;
    color: #171717;
}

.nsp-section {
    padding: 30px 0 34px;
    border-bottom: 1px solid #e8e8e8;
}

    .nsp-section:last-child {
        border-bottom: 0;
    }

    .nsp-section .nsd-head {
        margin-bottom: 16px;
    }

    .nsp-section .nsd-heading {
        font-size: 19px;
    }

.nsp-empty {
    margin: 36px 0;
    color: #444;
    font-size: 16px;
}

.nsp .nsd-results-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

    .nsp .nsd-results-grid .nsd-event-card {
        min-height: 130px;
    }

    .nsp .nsd-results-grid .nsd-event-card__image {
        flex-basis: 84px;
        width: 84px;
        min-height: 108px;
    }

.nsp .nsd-event-card__title {
    white-space: normal;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.nsp a.nsd-event-card,
.nsp a.nsd-small-card,
.nsp a.nsd-profile {
    color: #171717;
    text-decoration: none;
}

    .nsp a.nsd-event-card:hover,
    .nsp a.nsd-small-card:hover,
    .nsp a.nsd-profile:hover {
        border-color: #EEDD12;
    }

.nsp img.nsp-contain {
    object-fit: contain;
    background: #fff;
    border: 1px solid #eee;
    padding: 4px;
    box-sizing: border-box;
}

.nsp .nsd-profile img.nsp-contain {
    padding: 0;
    border: 0;
}

.nsp-profiles {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}

    .nsp-profiles .nsd-profile {
        flex: none;
        min-width: 0;
    }

.nsp .nsd-profile img {
    flex: none;
}

.nsp .nsd-profile strong {
    font-size: 14px;
    line-height: 1.25;
}

.nsp .nsd-profile small {
    font-size: 12px;
    line-height: 1.25;
}
/* Genel stil mobilde butonu sola alıyor (left: 20px); bu sayfada sağ altta (destek butonunun üstünde) kalsın. */
@media only screen and (max-width: 980px) {
    .backToTop {
        left: auto;
        right: 20px;
        bottom: 20px;
    }
}

@media (max-width: 820px) {
    .nsp .nsd-results-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .nsp-profiles {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 560px) {
    .nsp {
        padding: 24px 16px 56px;
    }

        .nsp h1.nsp-title {
            font-size: 26px;
        }

    .nsp-form button {
        padding: 0 20px;
    }

    .nsp .nsd-results-grid,
    .nsp-profiles {
        grid-template-columns: minmax(0, 1fr);
        gap: 10px;
    }
}
