@font-face {
    font-family: 'AW Banner Inter';
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url('../fonts/baner-dodaj-obiekt/inter-latin-ext-wght-normal.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: 'AW Banner Inter';
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url('../fonts/baner-dodaj-obiekt/inter-latin-wght-normal.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

.aw-owner-banner {
    display: flex;
    align-items: center;
    min-height: 354px;
    margin: clamp(26px, 4vw, 48px) 0;
    padding: 28px clamp(24px, 4.5vw, 54px);
    border-radius: 22px;
    color: #fff;
    background: linear-gradient(90deg, #141b25f7, #141b25e6 28%, #141b2582 57%, transparent 81%),
        url('../images/baner-dodaj-obiekt/jezioro.webp') right center / cover no-repeat #141b25;
    box-shadow: 0 10px 28px #161e2922;
    font-family: 'AW Banner Inter', Inter, system-ui, sans-serif;
}

/* Strona główna: dodatkowy odstęp między wyszukiwarką a pierwszym banerem. */
#main-content > .search-section + link + .container > .aw-owner-banner {
    margin-top: calc(clamp(26px, 4vw, 48px) + 16px);
}

.aw-owner-banner__body { min-width: 0; max-width: 690px; }
.aw-owner-banner .aw-owner-banner__logo { display: block; width: 190px; max-width: 100%; height: auto; }
.aw-owner-banner .aw-owner-banner__title {
    margin: 12px 0 10px;
    color: #fff;
    font: 850 clamp(34px, 4.5vw, 55px)/1.06 'AW Banner Inter', Inter, system-ui, sans-serif;
    letter-spacing: -.045em;
    text-transform: none;
}

.aw-owner-banner__title span,
.aw-owner-banner__price strong { color: #ff6000; }
.aw-owner-banner .aw-owner-banner__description { margin: 0 0 14px; color: #f0f2f7; font-size: 16px; line-height: 1.45; }
.aw-owner-banner .aw-owner-banner__price { margin: 0 0 4px; color: #fff; font-size: clamp(21px, 2.2vw, 24px); font-weight: 850; line-height: 1.2; }
.aw-owner-banner__price strong { font-weight: inherit; }
.aw-owner-banner .aw-owner-banner__term { margin: 0 0 16px; color: #e1e5ec; font-size: 13px; line-height: 1.4; }
.aw-owner-banner__actions { display: flex; flex-wrap: wrap; gap: 10px 12px; }

.aw-owner-banner .aw-owner-banner__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 10px 20px;
    border: 1px solid #e1e5ec;
    border-radius: 999px;
    color: #fff;
    font-size: 15px;
    font-weight: 750;
    line-height: 1.3;
    text-decoration: none;
}

.aw-owner-banner .aw-owner-banner__button:hover { background: #ffffff22; color: #fff; }
.aw-owner-banner .aw-owner-banner__button--primary { min-width: 148px; border-color: #ff6000; background: #ff6000; }
.aw-owner-banner .aw-owner-banner__button--primary:hover { border-color: #f25700; background: #f25700; }
.aw-owner-banner .aw-owner-banner__button:focus-visible { outline: 2px solid #fff; outline-offset: 4px; }

@media (max-width: 600px) {
    .aw-owner-banner {
        align-items: flex-end;
        min-height: 493px;
        padding: 166px 23px 26px;
        background-image: linear-gradient(0deg, #141b25 0%, #141b25f9 28%, #141b25d2 50%, #141b2514 74%, transparent),
            url('../images/baner-dodaj-obiekt/jezioro.webp');
        background-position: center, 78% center;
        background-size: cover, auto 100%;
    }

    .aw-owner-banner .aw-owner-banner__logo { width: 160px; }
    .aw-owner-banner .aw-owner-banner__title { font-size: 34px; }
    .aw-owner-banner__title span { display: block; }
}
