/**
 * Automatic Parduodamas NT page.
 */

body.page-template-page-parduodamas-nt {
    overflow-x: hidden;
    background: var(--color-cream, #f2eee3);
}

body.page-template-page-parduodamas-nt .site-header[data-site-header] {
    color: #391214;
    background: #f2eee3;
    border-bottom-color: rgba(57, 18, 20, 0.14);
    box-shadow: none;
    backdrop-filter: none;
}

body.page-template-page-parduodamas-nt .site-header__inner {
    width: min(calc(100% - 200px), 1240px);
    max-width: none;
    margin-inline: auto;
}

body.page-template-page-parduodamas-nt .site-header__logo,
body.page-template-page-parduodamas-nt .site-header__menu a {
    color: #391214;
}

body.page-template-page-parduodamas-nt .site-header__logo-secondary {
    color: #391214;
}

body.page-template-page-parduodamas-nt .site-header__menu a:hover,
body.page-template-page-parduodamas-nt .site-header__menu a:focus-visible,
body.page-template-page-parduodamas-nt .site-header__menu .current-menu-item > a,
body.page-template-page-parduodamas-nt .site-header__menu .current_page_item > a {
    color: #391214;
}

body.page-template-page-parduodamas-nt .site-header__cta {
    color: #391214;
    background: transparent;
    border-color: #391214;
}

body.page-template-page-parduodamas-nt .site-header__cta:hover,
body.page-template-page-parduodamas-nt .site-header__cta:focus-visible {
    color: #391214;
    background: rgba(57, 18, 20, 0.06);
}

body.page-template-page-parduodamas-nt .site-header__toggle {
    color: #391214;
    background: rgba(57, 18, 20, 0.05);
    border-color: rgba(57, 18, 20, 0.28);
}

body.page-template-page-parduodamas-nt .site-header__toggle:hover {
    background: rgba(57, 18, 20, 0.1);
    border-color: rgba(57, 18, 20, 0.48);
}

.neciunasnt-property-archive__listings {
    padding-block: 146px 120px;
}

.neciunasnt-property-archive__listings .neciunasnt-properties__inner {
    width: min(calc(100% - 200px), 1240px);
}

.neciunasnt-property-archive__listings .neciunasnt-properties__heading {
    margin-bottom: 45px;
}

.neciunasnt-property-archive__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 32px;
}

.neciunasnt-property-archive__grid .neciunasnt-properties__card {
    width: 100%;
    min-height: 360px;
    flex: none;
}

.neciunasnt-property-archive__empty {
    margin: 0;
    padding: 32px;
    border: 1px solid rgba(57, 18, 20, 0.28);
    border-radius: 20px;
    color: #6b645d;
    font-size: 16px;
    line-height: 1.5;
    text-align: center;
}

.neciunasnt-property-archive__pagination {
    display: flex;
    min-height: 30px;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 56px;
    font-family: var(--font-primary, "TT Firs Neue", Arial, sans-serif);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.03em;
    line-height: 1.5;
}

.neciunasnt-property-archive__pagination-pages {
    display: flex;
    min-width: 0;
    align-items: center;
    justify-content: center;
    gap: 14px;
}

.neciunasnt-property-archive__pagination .page-numbers,
.neciunasnt-property-archive__pagination-arrow {
    display: inline-flex;
    min-width: 24px;
    min-height: 24px;
    align-items: center;
    justify-content: center;
    padding: 0;
    color: #c0bab3;
    text-decoration: none;
}

.neciunasnt-property-archive__pagination .page-numbers.current {
    color: #6b645d;
}

.neciunasnt-property-archive__pagination a.page-numbers:hover,
.neciunasnt-property-archive__pagination a.page-numbers:focus-visible,
.neciunasnt-property-archive__pagination-arrow:hover,
.neciunasnt-property-archive__pagination-arrow:focus-visible {
    color: #6b645d;
}

.neciunasnt-property-archive__pagination a:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 3px;
}

.neciunasnt-property-archive__pagination-arrow svg {
    width: 24px;
    height: 24px;
}

.neciunasnt-property-archive__contact,
.neciunasnt-property-archive__contact > .elementor {
    width: 100%;
}

@media (max-width: 1199px) {
    body.page-template-page-parduodamas-nt .site-header__inner,
    .neciunasnt-property-archive__listings .neciunasnt-properties__inner {
        width: min(calc(100% - 64px), 1240px);
    }

    body.page-template-page-parduodamas-nt .site-header__navigation {
        color: #391214;
        background: rgba(242, 238, 227, 0.98);
        border-color: rgba(57, 18, 20, 0.16);
    }

    .neciunasnt-property-archive__listings {
        padding-block: 128px 88px;
    }

    .neciunasnt-property-archive__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 24px;
    }
}

@media (max-width: 767px) {
    body.page-template-page-parduodamas-nt .site-header__inner,
    .neciunasnt-property-archive__listings .neciunasnt-properties__inner {
        width: min(calc(100% - 32px), 1240px);
    }

    .neciunasnt-property-archive__listings {
        padding-block: 136px 64px;
    }

    .neciunasnt-property-archive__listings .neciunasnt-properties__heading {
        margin-bottom: 38px;
    }

    .neciunasnt-property-archive__grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 18px;
    }

    .neciunasnt-property-archive__grid .neciunasnt-properties__card {
        max-width: none;
    }

    .neciunasnt-property-archive__pagination {
        gap: 10px;
        margin-top: 40px;
    }

    .neciunasnt-property-archive__pagination-pages {
        gap: clamp(6px, 2vw, 10px);
    }

    .neciunasnt-property-archive__pagination .page-numbers,
    .neciunasnt-property-archive__pagination-arrow {
        min-width: 22px;
    }
}

@media (max-width: 374px) {
    .neciunasnt-property-archive__pagination {
        gap: 6px;
        font-size: 13px;
    }

    .neciunasnt-property-archive__pagination-pages {
        gap: 4px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .neciunasnt-property-archive__pagination a {
        transition: none;
    }
}
