/* =============================================================================
   Public site theme (listing product)

   Loaded after kazikings.css by layouts.app only, so the portals keep the
   base design system. Everything is scoped under body.kk-site.

   Look: Open Sans on white; a brand-blue header bar with the logo in white;
   a row of plain selects to search; a big picture with the search on the
   homepage; white photo cards with small coloured badges and a caption on
   the picture; a dark multi-column footer under a blue band.

   1. Tokens and type      5. Home: hero          9.  Results page
   2. Header bar           6. Home: sections      10. Property page
   3. Search row           7. Cards               11. Footer
   4. Inner page banner    8. Sliding rows        12. Small screens
   ============================================================================= */

/* 1. Tokens and type ======================================================== */
.kk-site {
    --st-primary: #2777be;
    --st-primary-hover: #1f62a0;
    --st-primary-dark: #1a5488;
    --st-primary-tint: #eaf2fa;
    --st-accent: #d9412e;
    --st-accent-hover: #bb3423;
    --st-green: #4caf50;
    --st-orange: #ef6c00;
    --st-gold: #e6a700;
    --st-olive: #7a6a15;
    --st-dark: #1c1f22;
    --st-page: #fff;
    --st-soft: #f5f6f7;
    --st-text: #222;
    --st-muted: #6b7075;
    --st-line: #e2e4e7;
    --st-field: #c9cdd2;
    --st-sans: "Open Sans", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;

    /* Kept for pages and partials written against the earlier theme. */
    --st-navy: var(--st-primary-dark);
    --st-maroon: var(--st-primary);
    --st-maroon-hover: var(--st-primary-hover);

    --kk-font-body: var(--st-sans);
    --kk-font-heading: var(--st-sans);
    --kk-primary: var(--st-primary);
    --kk-primary-hover: var(--st-primary-hover);
    --kk-primary-rgb: 39, 119, 190;
    --kk-navy: var(--st-primary-dark);

    font-family: var(--st-sans);
    font-weight: 400;
    color: var(--st-text);
    background-color: var(--st-page);
}

.kk-site h1,
.kk-site h2,
.kk-site h3,
.kk-site h4,
.kk-site h5,
.kk-site h6,
.kk-site .h1,
.kk-site .h2,
.kk-site .h3 {
    font-family: var(--st-sans);
    font-weight: 700;
    color: var(--st-text);
    letter-spacing: 0;
}

.kk-site a {
    color: var(--st-primary);
}

.kk-site a:hover {
    color: var(--st-primary-hover);
}

.kk-site .btn {
    border-radius: 4px;
    font-family: var(--st-sans);
    font-weight: 600;
}

.kk-site .btn-primary {
    color: #fff !important;
    background-color: var(--st-primary);
    border-color: var(--st-primary);
}

.kk-site .btn-primary:hover,
.kk-site .btn-primary:focus {
    background-color: var(--st-primary-hover);
    border-color: var(--st-primary-hover);
}

.kk-site a.btn-outline-primary {
    color: var(--st-primary);
}

.kk-site a.btn-outline-primary:hover {
    color: #fff;
}

.kk-site a.btn-outline-light,
.kk-site a.btn-whatsapp,
.kk-site a.kk-btn-whatsapp,
.kk-site a.btn-success,
.kk-site a.btn-danger,
.kk-site a.btn-dark,
.kk-site a.btn-secondary {
    color: #fff;
}

.kk-site a.btn-outline-light:hover {
    color: var(--kk-gray-900);
}

/* Older partials still use these two. */
.kk-btn-maroon {
    padding: .7rem 1.5rem;
    color: #fff !important;
    background-color: var(--st-primary);
    border: 1px solid var(--st-primary);
}

.kk-btn-maroon:hover,
.kk-btn-maroon:focus {
    background-color: var(--st-primary-hover);
    border-color: var(--st-primary-hover);
}

.kk-btn-outline-dark {
    padding: .7rem 1.5rem;
    color: var(--st-text) !important;
    background: #fff;
    border: 1px solid var(--st-text);
}

.kk-btn-outline-dark:hover,
.kk-btn-outline-dark:focus {
    color: #fff !important;
    background: var(--st-text);
}

/* Headings on dark bands (the call-to-action band) stay white. */
.kk-site .kk-on-dark h1,
.kk-site .kk-on-dark h2,
.kk-site .kk-on-dark h3,
.kk-site .kk-cta__title {
    color: #fff !important;
}

/* 2. Header bar ============================================================= */
.kk-site-header {
    position: relative;
    z-index: 1030;
    background: var(--st-primary);
    box-shadow: none;
}

.kk-site .kk-header.is-scrolled {
    box-shadow: none;
}

.kk-bar {
    padding: 0;
    background: var(--st-primary);
}

/* (.navbar > .container-fluid loses its side padding below xl in
   Bootstrap; the bar keeps it.) */
.kk-site .kk-bar > .kk-bar__inner {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 1.5rem;
    min-height: 3.5rem;
    padding: 0 1.25rem;
}

.kk-bar__logo {
    flex: 0 0 auto;
}

/* The logo is blue on transparent: shown white on the blue bar. */
.kk-bar__logo img {
    display: block;
    width: auto;
    height: 2.25rem;
    filter: brightness(0) invert(1);
}

.kk-bar__end {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    gap: .5rem;
    margin-left: auto;
}

.kk-bar__icon,
.kk-bar__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .375rem;
    height: 2.5rem;
    color: #fff !important;
    background: none;
    border: 0;
    border-radius: 4px;
}

.kk-bar__icon {
    width: 2.5rem;
    padding: 0;
    font-size: 1.25rem;
}

.kk-bar__btn {
    padding: 0 1rem;
    font-size: 1rem;
    font-weight: 500;
    background: rgba(255, 255, 255, .18);
}

.kk-bar__icon:hover,
.kk-bar__icon:focus-visible,
.kk-bar__btn:hover,
.kk-bar__btn:focus-visible {
    text-decoration: none;
    background: rgba(255, 255, 255, .28);
}

@media (min-width: 1200px) {
    .kk-bar .kk-drawer {
        flex: 1 1 auto;
    }

    .kk-bar__nav .nav-link {
        display: flex;
        align-items: center;
        height: 3.5rem;
        padding: 0 .875rem !important;
        font-size: 1.0625rem;
        font-weight: 400;
        color: #fff !important;
        background: none;
        border: 0;
    }

    .kk-bar__nav .nav-link:hover,
    .kk-bar__nav .nav-link:focus-visible,
    .kk-bar__nav .nav-link.active {
        background: rgba(255, 255, 255, .14);
    }

    .kk-bar__nav .dropdown-menu {
        margin-top: 0;
        border: 0;
        border-radius: 0 0 4px 4px;
        box-shadow: 0 12px 28px rgba(0, 0, 0, .15);
    }
}

/* The dropdown toggles are buttons: drop the browser's button look. */
.kk-bar__nav button.nav-link {
    font: inherit;
    background: none;
    border: 0;
}

/* Drawer (below xl): white panel, dark links. */
@media (max-width: 1199.98px) {
    .kk-bar .kk-drawer .nav-link {
        width: 100%;
        font-size: 1.0625rem;
        color: var(--st-text);
        text-align: left;
    }

    .kk-bar .kk-drawer .dropdown-toggle::after {
        float: right;
        margin-top: .6em;
    }

    .kk-bar .kk-drawer .nav-link.active {
        color: var(--st-primary);
    }
}

/* 3. Search row ============================================================= */
.kk-sitebar {
    position: sticky;
    top: 0;
    z-index: 1020;
    padding: .625rem 0;
    background: #fff;
    border-bottom: 1px solid var(--st-line);
}

.kk-sitebar__wide {
    padding: 0 1.25rem;
}

.kk-sitebar__form {
    display: flex;
    gap: .625rem;
    align-items: stretch;
}

.kk-sitebar__keyword {
    flex: 1 1 14rem;
    max-width: 22rem;
    min-width: 0;
}

.kk-sitebar__keyword .form-control,
.kk-sitebar__select {
    height: 2.5rem;
    font-size: .9375rem;
    color: var(--st-text);
    background-color: #fff;
    border: 1px solid var(--st-field);
    border-radius: 2px;
}

.kk-sitebar__select {
    flex: 0 1 10rem;
    min-width: 0;
    padding: 0 2rem 0 .75rem;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='7'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23222' stroke-width='1.6' fill='none'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right .75rem center;
}

/* Rent or buy: as wide as its words, never cut short. */
.kk-sitebar__select--strong {
    flex: 0 0 auto;
    font-weight: 600;
}

.kk-sitebar__submit {
    flex: 0 0 5rem;
    height: 2.5rem;
    font-size: 1.125rem;
    color: #fff;
    background: var(--st-accent);
    border: 0;
    border-radius: 2px;
}

.kk-sitebar__submit:hover,
.kk-sitebar__submit:focus-visible {
    background: var(--st-accent-hover);
}

.kk-sitebar__more {
    align-items: center;
    gap: .5rem;
    padding: 0 .5rem;
    font-size: .9375rem;
    color: var(--st-text) !important;
    white-space: nowrap;
}

.kk-sitebar__more:hover {
    text-decoration: none;
    color: var(--st-primary) !important;
}

.kk-sitebar__select:focus,
.kk-sitebar__keyword .form-control:focus {
    border-color: var(--st-primary);
    box-shadow: 0 0 0 3px rgba(39, 119, 190, .15);
    outline: none;
}

/* 4. Inner page banner ====================================================== */
.kk-site .kk-banner.kk-pagehead {
    padding: 1.5rem 0 .75rem;
    color: var(--st-text);
    background: transparent;
}

.kk-site .kk-banner.kk-pagehead::before,
.kk-site .kk-banner.kk-pagehead::after {
    display: none;
}

.kk-site .kk-pagehead .breadcrumb {
    margin-bottom: .5rem;
    padding: 0;
    font-size: .875rem;
    background: none;
}

.kk-site .kk-pagehead .breadcrumb-item a {
    color: var(--st-primary);
}

.kk-site .kk-pagehead .breadcrumb-item + .breadcrumb-item::before {
    color: var(--st-muted);
}

.kk-site .kk-pagehead .breadcrumb-item.active {
    color: var(--st-muted);
}

.kk-site .kk-pagehead .kk-banner__title {
    margin: 0 0 .375rem;
    font-size: clamp(1.375rem, 2.4vw, 1.75rem);
    font-weight: 700;
    color: var(--st-text);
}

.kk-site .kk-pagehead .kk-banner__subtitle {
    max-width: 60rem;
    margin: 0;
    color: var(--st-muted);
}

/* 5. Home: hero ============================================================= */
.kk-hero {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 34rem;
    overflow: hidden;
    padding: 4rem 0;
    background: var(--st-primary-dark);
}

.kk-hero__art {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.kk-hero::after {
    position: absolute;
    inset: 0;
    content: "";
    background: linear-gradient(to bottom, rgba(0, 0, 0, .35), rgba(0, 0, 0, .2) 50%, rgba(0, 0, 0, .45));
}

.kk-hero__inner {
    position: relative;
    z-index: 1;
    text-align: center;
}

.kk-site .kk-hero__title {
    margin-bottom: .75rem;
    font-size: clamp(2rem, 4.6vw, 3.25rem);
    font-weight: 700;
    color: #fff;
    text-shadow: 0 2px 12px rgba(0, 0, 0, .35);
}

.kk-hero__lead {
    max-width: 44rem;
    margin: 0 auto 2.25rem;
    font-size: 1.1875rem;
    color: #fff;
    text-shadow: 0 1px 8px rgba(0, 0, 0, .4);
}

.kk-hero__search {
    max-width: 62rem;
    margin: 0 auto;
    text-align: left;
}

.kk-hero__tabs {
    display: flex;
    margin: 0;
    padding: 0;
    border: 0;
}

.kk-hero__tabs input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.kk-hero__tabs label {
    margin: 0;
    padding: .625rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    cursor: pointer;
    background: rgba(0, 0, 0, .45);
    border-radius: 4px 4px 0 0;
}

.kk-hero__tabs label + input + label {
    margin-left: 2px;
}

.kk-hero__tabs input:checked + label {
    color: var(--st-text);
    background: #fff;
}

.kk-hero__tabs input:focus-visible + label {
    outline: 3px solid rgba(255, 255, 255, .8);
    outline-offset: -3px;
}

.kk-hero__fields {
    display: flex;
    gap: .5rem;
    padding: 1rem;
    background: #fff;
    border-radius: 0 4px 4px 4px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .25);
}

.kk-hero__field {
    flex: 0 1 11rem;
    min-width: 0;
}

.kk-hero__field--grow {
    flex: 1 1 16rem;
}

.kk-hero__field .form-control,
.kk-hero__field .custom-select {
    height: 3rem;
    font-size: 1rem;
    border: 1px solid var(--st-field);
    border-radius: 2px;
}

.kk-hero__submit {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    height: 3rem;
    padding: 0 1.75rem;
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    background: var(--st-accent);
    border: 0;
    border-radius: 2px;
}

.kk-hero__submit:hover,
.kk-hero__submit:focus-visible {
    background: var(--st-accent-hover);
}

/* 6. Home: sections ========================================================= */
.kk-band {
    padding: 3rem 0 1rem;
}

.kk-band--tight {
    padding: 1.5rem 0 0;
}

.kk-band--white {
    margin-top: 3rem;
    padding: 3.5rem 0;
    background: var(--st-soft);
}

.kk-band__title {
    margin-bottom: 1.25rem;
    font-size: clamp(1.375rem, 2.4vw, 1.75rem) !important;
    font-weight: 700 !important;
}

.kk-band__bar {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: .5rem 1rem;
    margin-bottom: 1.25rem;
}

.kk-band__all {
    display: inline-flex;
    align-items: center;
    gap: .375rem;
    font-weight: 600;
}

.kk-band__all .kk-icon {
    font-size: .75rem;
}

/* Top areas: photo tiles, the name centred on the picture. */
.kk-areas {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

/* Seven tiles: the first one is twice as wide. */
.kk-areas li:first-child:nth-last-child(7) {
    grid-column: span 2;
}

.kk-areas__tile {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 12rem;
    overflow: hidden;
    color: #fff !important;
    text-align: center;
    text-decoration: none !important;
    background: var(--st-primary);
    border-radius: 4px;
}

.kk-areas__tile img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}

.kk-areas__tile::after {
    position: absolute;
    inset: 0;
    content: "";
    background: rgba(0, 0, 0, .32);
    transition: background .2s ease;
}

.kk-areas__tile:hover img {
    transform: scale(1.05);
}

.kk-areas__tile:hover::after {
    background: rgba(0, 0, 0, .42);
}

.kk-areas__name,
.kk-areas__count {
    position: relative;
    z-index: 1;
    text-shadow: 0 1px 6px rgba(0, 0, 0, .5);
}

.kk-areas__name {
    font-size: 1.5rem;
    font-weight: 700;
}

.kk-areas__count {
    font-size: .875rem;
}

/* Quick ways in: a row of outlined buttons. */
.kk-quick {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: .75rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.kk-quick__link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    height: 100%;
    min-height: 3.25rem;
    padding: .5rem .75rem;
    font-weight: 600;
    color: var(--st-primary) !important;
    text-align: center;
    text-decoration: none !important;
    background: #fff;
    border: 1px solid var(--st-primary);
    border-radius: 4px;
}

.kk-quick__link:hover,
.kk-quick__link:focus-visible {
    color: #fff !important;
    background: var(--st-primary);
}

/* Property types: small photo cards. */
.kk-types {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.kk-types__card {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    color: var(--st-text) !important;
    text-decoration: none !important;
    background: #fff;
    border-radius: 4px;
    box-shadow: 0 1px 6px rgba(0, 0, 0, .12);
}

.kk-types__card:hover {
    box-shadow: 0 6px 18px rgba(0, 0, 0, .16);
}

.kk-types__media {
    display: block;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: var(--st-primary-tint);
}

.kk-types__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.kk-types__name {
    padding: .75rem .875rem 0;
    font-weight: 700;
}

.kk-types__count {
    padding: 0 .875rem .875rem;
    font-size: .875rem;
    color: var(--st-muted);
}

/* About. */
.kk-about__text {
    font-size: 1.0625rem;
    line-height: 1.7;
    color: #444;
}

.kk-about__card {
    padding: 2rem;
    background: #fff;
    border-top: 4px solid var(--st-primary);
    border-radius: 4px;
    box-shadow: 0 1px 6px rgba(0, 0, 0, .1);
}

.kk-about__card-title {
    margin-bottom: .25rem;
    font-size: 1.25rem;
    font-weight: 700;
}

.kk-about__card-text {
    margin-bottom: 1.25rem;
    color: var(--st-muted);
}

/* 7. Cards ================================================================== */
.kk-site .kk-listing {
    background: #fff;
    border-radius: 2px;
    box-shadow: 0 1px 5px rgba(0, 0, 0, .16);
}

.kk-site .kk-listing:hover,
.kk-site .kk-listing:focus-within {
    box-shadow: 0 6px 20px rgba(0, 0, 0, .18);
    transform: none;
}

.kk-site .kk-listing__media {
    aspect-ratio: 3 / 2;
    border-radius: 2px 2px 0 0;
}

.kk-site .kk-listing__badges {
    top: .625rem;
    left: .625rem;
    right: auto;
    max-width: calc(100% - 1.25rem);
    gap: .25rem;
}

.kk-site .kk-listing-badge {
    padding: .125rem .375rem;
    font-size: .8125rem;
    font-weight: 400;
    line-height: 1.5;
    letter-spacing: 0;
    text-transform: none;
    color: #fff;
    background-color: var(--st-primary);
    border: 1px solid rgba(255, 255, 255, .7);
    border-radius: 2px;
    box-shadow: none;
}

.kk-site .kk-listing-badge .kk-icon {
    display: none;
}

.kk-site .kk-listing-badge--featured {
    background-color: var(--st-green);
}

.kk-site .kk-listing-badge--new {
    background-color: var(--st-orange);
}

.kk-site .kk-listing-badge--furnished {
    background-color: var(--st-olive);
}

.kk-site .kk-listing-badge--serviced {
    background-color: var(--st-gold);
}

.kk-site .kk-listing-badge--pets {
    background-color: var(--st-primary);
}

.kk-site .kk-listing-badge--sold,
.kk-site .kk-listing-badge--leased {
    background-color: var(--st-accent);
}

/* Caption along the foot of the photo. */
.kk-site .kk-listing__media::after {
    position: absolute;
    inset: 60% 0 0;
    content: "";
    background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, .55));
    pointer-events: none;
}

.kk-listing__caption {
    position: absolute;
    right: .75rem;
    bottom: .5rem;
    left: .75rem;
    z-index: 1;
    margin: 0;
    overflow: hidden;
    font-size: .875rem;
    color: #fff;
    text-align: center;
    text-overflow: ellipsis;
    white-space: nowrap;
    text-shadow: 0 1px 3px rgba(0, 0, 0, .6);
}

.kk-site .kk-listing__availability {
    z-index: 2;
    text-align: center;
}

.kk-site .kk-listing__body {
    padding: .75rem .875rem 1rem;
}

.kk-listing__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .5rem;
    margin-bottom: .25rem;
}

.kk-site .kk-listing__price {
    position: static;
    margin: 0;
    font-family: var(--st-sans);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--st-text);
    text-shadow: none;
}

.kk-site .kk-listing__period {
    font-size: .875rem;
    font-weight: 400;
    color: var(--st-muted);
}

.kk-site .kk-listing__fav {
    position: relative;
    top: auto;
    right: auto;
    flex: 0 0 auto;
    width: 2rem;
    height: 2rem;
    font-size: 1.25rem;
    color: var(--st-text);
    background: none;
    border-radius: 50%;
    box-shadow: none;
}

.kk-site .kk-listing__fav:hover,
.kk-site .kk-listing__fav.is-saved {
    color: var(--st-accent);
    background: none;
}

.kk-site .kk-listing__title {
    margin-bottom: .375rem;
    overflow: hidden;
    font-family: var(--st-sans);
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.4;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.kk-site .kk-listing__title a {
    color: var(--st-text);
}

.kk-site .kk-listing__title a:hover {
    color: var(--st-primary);
    text-decoration: none;
}

.kk-listing__facts {
    display: flex;
    flex-wrap: wrap;
    gap: 0 .875rem;
    margin: 0 0 .25rem;
    padding: 0;
    font-size: .9375rem;
    list-style: none;
}

.kk-listing__facts strong {
    font-weight: 700;
}

.kk-site .kk-listing__location {
    display: block;
    margin: 0;
    overflow: hidden;
    font-size: .9375rem;
    color: #444;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.kk-site .kk-listing__outcome {
    margin: 0;
    font-size: .875rem;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--st-accent);
}

/* 8. Sliding rows =========================================================== */
.kk-strip {
    position: relative;
}

.kk-strip__track {
    display: grid;
    grid-auto-columns: calc((100% - 3 * 1rem) / 4);
    grid-auto-flow: column;
    column-gap: 1rem;
    margin: 0 -.375rem;
    padding: .375rem .375rem 1rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    list-style: none;
}

.kk-strip__track::-webkit-scrollbar {
    display: none;
}

.kk-strip__item {
    display: flex;
    scroll-snap-align: start;
}

.kk-strip__btn {
    position: absolute;
    top: 34%;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    color: var(--st-text);
    background: #fff;
    border: 0;
    border-radius: 50%;
    box-shadow: 0 2px 10px rgba(0, 0, 0, .25);
}

.kk-strip__btn[hidden] {
    display: none;
}

.kk-strip__btn--prev {
    left: -1.25rem;
}

.kk-strip__btn--next {
    right: -1.25rem;
}

.kk-strip__btn:hover {
    color: #fff;
    background: var(--st-primary);
}

/* 9. Results page =========================================================== */
.kk-site .kk-filters-wrap {
    background: #fff;
}

.kk-site .kk-filters__submit {
    color: #fff;
    background: var(--st-accent);
    border-color: var(--st-accent);
}

.kk-site .kk-filters__submit:hover {
    background: var(--st-accent-hover);
    border-color: var(--st-accent-hover);
}

.kk-site .kk-results__count {
    font-weight: 400;
}

/* 10. Property page ========================================================= */
.kk-site .kk-detail__crumbs .breadcrumb {
    margin: 1rem 0 .75rem;
    padding: 0;
    font-size: .875rem;
    background: none;
}

.kk-site .kk-detail__body {
    gap: 2rem;
}

@media (min-width: 992px) {
    .kk-site .kk-detail__body {
        grid-template-columns: minmax(0, 1fr) 21rem;
    }

    .kk-site .kk-detail__sticky {
        top: 4.5rem;
    }
}

/* Title block, under the photos: price first, then the name and place. */
.kk-site .kk-detail__head {
    display: flex;
    flex-direction: column;
    gap: .25rem;
    margin: 1.25rem 0 0;
}

.kk-site .kk-detail__price-block {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: .5rem 1rem;
    order: -1;
    text-align: left;
}

.kk-site .kk-detail__price {
    margin: 0;
    font-family: var(--st-sans);
    font-size: clamp(1.625rem, 3vw, 2.125rem);
    font-weight: 700;
    color: var(--st-primary);
}

.kk-site .kk-detail__period {
    font-size: 1rem;
    font-weight: 400;
    color: var(--st-muted);
    text-transform: none;
}

.kk-site .kk-detail__negotiable {
    margin: 0;
}

.kk-site .kk-detail__actions {
    margin: 0 0 0 auto;
}

.kk-site .kk-detail__title {
    margin: .25rem 0;
    font-family: var(--st-sans);
    font-size: clamp(1.25rem, 2.2vw, 1.5rem);
    font-weight: 700;
}

.kk-site .kk-detail__location {
    margin-bottom: .25rem;
    font-size: 1.0625rem;
    color: #444;
}

.kk-site .kk-detail__meta {
    font-size: .875rem;
    color: var(--st-muted);
}

/* Gallery: one large photo, the others stacked in a column beside it. */
@media (min-width: 768px) {
    .kk-site .kk-gallery__grid:not([data-count="1"]) {
        display: grid;
        grid-template-columns: 4fr 1fr;
        gap: .25rem;
        height: 29.75rem;
    }

    .kk-site .kk-gallery__grid[data-count="2"] { grid-template-rows: 1fr; }
    .kk-site .kk-gallery__grid[data-count="3"] { grid-template-rows: repeat(2, 1fr); }
    .kk-site .kk-gallery__grid[data-count="4"] { grid-template-rows: repeat(3, 1fr); }
    .kk-site .kk-gallery__grid[data-count="5"] { grid-template-rows: repeat(4, 1fr); }

    .kk-site .kk-gallery__grid:not([data-count="1"]) .kk-gallery__tile {
        grid-column: 2;
        aspect-ratio: auto;
        width: 100%;
        height: 100%;
        min-height: 0;
    }

    .kk-site .kk-gallery__grid:not([data-count="1"]) .kk-gallery__tile:first-child {
        grid-row: 1 / -1;
        grid-column: 1;
    }
}

.kk-site .kk-gallery__tile,
.kk-site .kk-gallery__grid {
    border-radius: 0;
}

/* Key figures: equal columns with thin dividers. */
.kk-site .kk-detail__specs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(8rem, 1fr));
    gap: 0;
    margin: 1.25rem 0;
    padding: .875rem 0;
    background: none;
    border: 0;
    border-top: 1px solid var(--st-line);
    border-bottom: 1px solid var(--st-line);
    border-radius: 0;
    box-shadow: none;
}

.kk-site .kk-detail__specs > li {
    justify-content: center;
    padding: .25rem .75rem;
    text-align: center;
    border-left: 1px solid var(--st-line);
}

.kk-site .kk-detail__specs > li:first-child {
    border-left: 0;
}

.kk-site .kk-detail__spec-icon {
    display: none;
}

.kk-site .kk-detail__specs strong {
    display: block;
    font-size: 1.25rem;
    font-weight: 700;
}

.kk-detail__spec-type strong {
    display: block;
}

.kk-site .kk-detail__section {
    margin-bottom: 0;
    padding: 2rem 0;
    background: none;
    border: 0;
    border-bottom: 1px solid var(--st-line);
    box-shadow: none;
}

.kk-site .kk-detail__heading {
    margin-bottom: 1.25rem;
    padding: 0;
    font-family: var(--st-sans);
    font-size: 1.5rem;
    font-weight: 700;
    border: 0;
}

.kk-site .kk-features__title {
    padding: .625rem .875rem;
    font-size: 1.0625rem;
    font-weight: 700;
    background: var(--st-soft);
}

/* Contact panel: brand blue, the landlord on top, white fields. */
.kk-site .kk-detail__sticky > * {
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

.kk-site .kk-contact {
    overflow: hidden;
    color: #fff;
    background: var(--st-primary);
}

.kk-site .kk-contact::before {
    display: block;
    margin: calc(-1 * var(--kk-space-4)) calc(-1 * var(--kk-space-4)) var(--kk-space-4);
    padding: .75rem 1rem;
    font-size: 1.25rem;
    font-weight: 700;
    text-align: center;
    content: "Contact the owner";
    background: var(--st-primary-dark);
}

.kk-site .kk-contact a:not(.btn),
.kk-site .kk-contact .kk-contact__label,
.kk-site .kk-contact .kk-contact__agency,
.kk-site .kk-contact .kk-contact__privacy,
.kk-site .kk-contact .kk-contact__name,
.kk-site .kk-contact label,
.kk-site .kk-contact .custom-control-label,
.kk-site .kk-contact .kk-contact__title,
.kk-site .kk-contact .text-muted,
.kk-site .kk-contact small {
    color: #fff !important;
}

.kk-site .kk-contact .form-control {
    border: 0;
    border-radius: 2px;
}

.kk-site .kk-contact .btn-primary {
    color: var(--st-primary) !important;
    background: #fff;
    border-color: #fff;
}

.kk-site .kk-contact .btn-primary:hover {
    background: var(--st-primary-tint);
}

.kk-site .kk-contact .btn-whatsapp {
    color: #fff !important;
}

.kk-site .kk-contact .btn-outline-primary,
.kk-site .kk-contact .btn-outline-secondary,
.kk-site .kk-contact .btn-ghost {
    color: #fff !important;
    border-color: rgba(255, 255, 255, .7);
}

.kk-site .kk-contact .btn-outline-primary:hover,
.kk-site .kk-contact .btn-outline-secondary:hover,
.kk-site .kk-contact .btn-ghost:hover {
    background: rgba(255, 255, 255, .15);
}

.kk-site .kk-contact .kk-contact__agent {
    border-color: rgba(255, 255, 255, .25);
}

.kk-site .kk-contact .kk-contact__avatar--initials {
    color: var(--st-primary);
    background: #fff;
}

.kk-site .kk-detail__sticky > .card:not(.kk-contact) {
    margin-top: 1rem;
    border: 1px solid var(--st-line);
}

/* 11. Footer ================================================================ */
.kk-follow {
    padding: 1.25rem 0;
    color: #fff;
    background: var(--st-primary);
}

.kk-follow__inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.kk-follow__text {
    margin: 0;
    font-size: 1.0625rem;
}

.kk-site .kk-follow__text a {
    font-weight: 600;
    color: #fff;
}

.kk-follow__list {
    display: flex;
    gap: .5rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.kk-site .kk-follow__list a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    font-size: 1.125rem;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, .7);
    border-radius: 50%;
}

.kk-site .kk-follow__list a:hover {
    color: var(--st-primary);
    background: #fff;
}

.kk-site-footer__main {
    padding: 3.5rem 0 1.5rem;
    color: rgba(255, 255, 255, .75);
    background: var(--st-dark);
}

.kk-site-footer__col {
    margin-bottom: 2rem;
}

.kk-site .kk-site-footer__title {
    margin-bottom: 1rem;
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
}

.kk-site-footer__links {
    margin: 0 0 1.5rem;
    padding: 0;
    list-style: none;
}

.kk-site-footer__links li + li {
    margin-top: .5rem;
}

.kk-site .kk-site-footer__links a {
    font-size: .9375rem;
    color: rgba(255, 255, 255, .75);
}

.kk-site .kk-site-footer__links a:hover {
    color: #fff;
}

.kk-site-footer__logo {
    width: auto;
    height: 2.5rem;
    margin-bottom: 1rem;
    filter: brightness(0) invert(1);
}

.kk-site-footer__about {
    margin-bottom: 1.5rem;
    font-size: .9375rem;
    line-height: 1.7;
}

.kk-site-footer__bar {
    padding: 1rem 0;
    font-size: .875rem;
    color: rgba(255, 255, 255, .6);
    background: #111315;
}

/* 12. Small screens ========================================================= */
@media (max-width: 1199.98px) {
    .kk-strip__track {
        grid-auto-columns: calc((100% - 2 * 1rem) / 3);
    }

    .kk-quick {
        grid-template-columns: repeat(3, 1fr);
    }

    .kk-types {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 991.98px) {
    .kk-strip__track {
        grid-auto-columns: calc((100% - 1rem) / 2);
    }

    .kk-areas {
        grid-template-columns: repeat(3, 1fr);
    }

    .kk-areas li:first-child:nth-last-child(7) {
        grid-column: span 3;
    }

    .kk-hero__fields {
        flex-wrap: wrap;
    }

    .kk-hero__field,
    .kk-hero__field--grow {
        flex: 1 1 calc(50% - .5rem);
    }

    .kk-hero__submit {
        flex: 1 1 100%;
    }

    .kk-strip__btn {
        display: none;
    }
}

@media (max-width: 767.98px) {
    .kk-site .kk-bar > .kk-bar__inner {
        gap: .75rem;
    }

    .kk-bar__logo img {
        height: 1.875rem;
    }

    .kk-sitebar__keyword {
        max-width: none;
    }

    .kk-sitebar__select {
        flex: 0 1 8rem;
    }

    .kk-sitebar__select--strong {
        flex: 0 0 auto;
    }

    .kk-sitebar__submit {
        flex: 0 0 3.25rem;
    }

    .kk-hero {
        min-height: 0;
        padding: 3rem 0 2.5rem;
    }

    .kk-hero__lead {
        margin-bottom: 1.5rem;
        font-size: 1rem;
    }

    .kk-hero__fields {
        padding: .75rem;
    }

    .kk-strip__track {
        grid-auto-columns: 82%;
    }

    .kk-areas {
        grid-template-columns: 1fr 1fr;
        gap: .625rem;
    }

    .kk-areas li:first-child:nth-last-child(7) {
        grid-column: span 2;
    }

    .kk-areas__tile {
        height: 8.5rem;
    }

    .kk-areas__name {
        font-size: 1.125rem;
    }

    .kk-quick {
        grid-template-columns: 1fr 1fr;
        gap: .5rem;
    }

    .kk-quick__link {
        font-size: .875rem;
    }

    .kk-types {
        grid-template-columns: 1fr 1fr;
    }

    .kk-band--white {
        padding: 2.5rem 0;
    }

    .kk-follow__inner {
        justify-content: center;
        text-align: center;
    }

    .kk-site .kk-detail__specs {
        grid-template-columns: repeat(2, 1fr);
        row-gap: .75rem;
    }

    .kk-site .kk-detail__specs > li:nth-child(odd) {
        border-left: 0;
    }
}

@media (max-width: 575.98px) {
    .kk-hero__field,
    .kk-hero__field--grow {
        flex-basis: 100%;
    }

    .kk-hero__tabs label {
        flex: 1 1 50%;
        text-align: center;
    }
}

/* 13. One content width =====================================================
   Every band - the header bar, the search row, the results' filters and
   grid, page content and the footer - lines up on the same edges: up to
   1440px wide with a 20px gutter (16px on phones), centred on big screens. */
.kk-site {
    --st-wide: 90rem;
    --st-gutter: 1.25rem;
}

.kk-site .container,
.kk-site .kk-bar > .kk-bar__inner,
.kk-site .kk-sitebar__wide,
.kk-site .kk-filters-wrap__inner,
.kk-site .kk-results {
    width: 100%;
    max-width: var(--st-wide);
    margin-right: auto;
    margin-left: auto;
    padding-right: var(--st-gutter);
    padding-left: var(--st-gutter);
}

@media (max-width: 767.98px) {
    .kk-site {
        --st-gutter: 1rem;
    }
}

/* 14. Marketplace polish ==================================================== */

/* Inner pages: the first section sits close under the page heading rather
   than a band's width away. */
.kk-site .kk-pagehead + .kk-section,
.kk-site .kk-pagehead + section,
.kk-site .kk-pagehead + div > .kk-section:first-child {
    /* (beats a page's own pt-5) */
    padding-top: 1.5rem !important;
}

/* Top areas and property types: however many there are, they fill the
   row (seven areas keep the wide-first layout above). */
.kk-areas:not(:has(> li:nth-child(7))) {
    grid-template-columns: repeat(auto-fit, minmax(min(15rem, calc(50% - .625rem)), 1fr));
}

.kk-types:not(:has(> li:nth-child(6))) {
    grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr));
}

/* Post cards: dark, readable titles, the same square cards as listings. */
.kk-site .kk-post-card {
    border: 0;
    border-radius: 2px;
    box-shadow: 0 1px 5px rgba(0, 0, 0, .16);
}

.kk-site .kk-post-card:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, .18);
}

.kk-site .kk-post-card__title {
    font-size: 1.25rem;
    line-height: 1.35;
}

.kk-site .kk-post-card__title a {
    color: var(--st-text);
}

.kk-site .kk-post-card__title a:hover {
    color: var(--st-primary);
    text-decoration: none;
}

/* Call-to-action band: a pale brand tint with dark words, so it does not
   run into the footer's blue band below it. */
.kk-site .kk-cta {
    background: var(--st-primary-tint);
}

.kk-site .kk-cta .kk-cta__title {
    color: var(--st-text) !important;
}

.kk-site .kk-cta .kk-cta__text {
    color: #444;
}

.kk-site .kk-cta .btn-accent {
    color: #fff !important;
    background: var(--st-primary);
    border-color: var(--st-primary);
}

.kk-site .kk-cta .btn-accent:hover {
    background: var(--st-primary-hover);
    border-color: var(--st-primary-hover);
}

.kk-site .kk-cta a.btn-outline-light {
    color: var(--st-primary);
    border-color: var(--st-primary);
}

.kk-site .kk-cta a.btn-outline-light:hover {
    color: #fff;
    background: var(--st-primary);
}

/* The property page ends on that band: no white strip before the footer. */
.kk-site .kk-detail {
    padding-bottom: 0;
}

/* Pricing: monthly / yearly switch in brand blue. */
.kk-site .kk-billing__input:checked + .kk-billing__option {
    background-color: var(--st-primary);
}

/* Contact panel: radios and checkboxes read on the blue. */
.kk-site .kk-contact .custom-control-label::before {
    background-color: transparent;
    border-color: #fff;
}

.kk-site .kk-contact .custom-control-input:checked ~ .custom-control-label::before {
    background-color: #fff;
    border-color: #fff;
}

.kk-site .kk-contact .custom-radio .custom-control-input:checked ~ .custom-control-label::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%232777be'/%3e%3c/svg%3e");
}
