.page-shell { width: min(1640px, calc(100% - 36px)); margin: 0 auto; }
.container { width: 100%; }

@media (max-width: 760px) {
    .page-shell { width: 100%; }
}

.ilan-ver-chrome {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: min(920px, calc(100% - 24px));
    margin: 8px auto 0;
    padding: 8px 12px;
    background: var(--v2-color-navy, #16213e);
    border-radius: 12px;
}

.ilan-ver-chrome__nav {
    display: none;
    flex-wrap: wrap;
    gap: 10px;
}

.ilan-ver-chrome__nav a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    padding: 8px 12px;
    border-radius: 12px;
    color: #ffffff;
    font-weight: 800;
    text-decoration: none;
}

.ilan-ver-brand {
    display: flex;
    min-width: 0;
    flex: 0 1 auto;
    align-items: center;
}

.ilan-ver-chrome:has(.ilan-ver-chrome__direction) {
    flex-wrap: nowrap;
    gap: 8px;
}

.ilan-ver-chrome:has(.ilan-ver-chrome__direction) .ilan-ver-brand {
    flex: 0 0 auto;
    max-width: 46%;
    overflow: hidden;
}

.ilan-ver-chrome:has(.ilan-ver-chrome__direction) .ilan-ver-brand img {
    width: 100%;
    max-width: 100%;
}

.ilan-ver-chrome__direction {
    flex: 1 1 auto;
    min-width: 0;
    margin: 0;
    display: block;
    color: #fff;
    font-size: 16px;
    font-weight: 900;
    line-height: 40px;
    text-align: right;
    white-space: nowrap;
}

.ilan-ver-brand img {
    display: block;
    width: auto;
    max-width: min(168px, 46vw);
    height: 40px;
    max-height: 40px;
    object-fit: contain;
    background: transparent;
    border-radius: 0;
}

/* İlanlar sticky top band: logo | yön | İlan Ver — spans results width. */
.listing-results-chrome {
    box-sizing: border-box;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    column-gap: 12px;
    flex-wrap: nowrap;
    width: min(1560px, calc(100% - 32px));
    margin: 0 auto;
    padding: 12px 16px;
    border-radius: 0 0 16px 16px;
    min-height: 64px;
}

.listing-results-chrome .ilan-ver-brand {
    justify-self: start;
    flex: 0 0 auto;
    max-width: none;
}

.listing-results-chrome .ilan-ver-brand img {
    width: auto;
    max-width: min(200px, 42vw);
    height: 44px;
    max-height: 44px;
}

.listing-results-chrome .ilan-ver-chrome__direction {
    justify-self: center;
    flex: 0 1 auto;
    text-align: center;
    font-size: 18px;
    line-height: 1.2;
    padding: 0 4px;
}

.listing-results-chrome__cta {
    justify-self: end;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 18px;
    border-radius: 12px;
    background: #ff6b00;
    color: #fff;
    font: 800 15px/1 system-ui, sans-serif;
    text-decoration: none;
    white-space: nowrap;
}

@media (max-width: 760px) {
    .listing-results-chrome {
        width: 100%;
        margin: 0;
        padding: 10px 12px;
        border-radius: 0;
        column-gap: 8px;
        min-height: 56px;
    }

    .listing-results-chrome .ilan-ver-brand img {
        height: 36px;
        max-height: 36px;
        max-width: min(132px, 34vw);
    }

    .listing-results-chrome .ilan-ver-chrome__direction {
        font-size: 14px;
    }

    .listing-results-chrome__cta {
        min-height: 40px;
        padding: 0 12px;
        font-size: 13px;
    }
}
