:root {
    --color-red: #02203c;
    --color-red-hover: #c42d2d;
    --color-gold: #c9923a;
    --color-gold-hover: #b4812f;
}

article {
    padding-top: 0 !important;
    margin: 0
}

.container {
    width: 96%;
    margin: 0 auto;
    padding: 0 2%;
    max-width: 1444px;
    /* max-width: 144.4rem§; */
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -o-box-sizing: border-box;
    box-sizing: border-box;
}

.separator {
    border-bottom: 1px solid #b7b7b7;
    width: 100%;
    margin: 0 auto;
}

#branding{
    z-index: 999;
    box-shadow: 0 0 15px -3px #e2e2e2;
    background-color: var(--color-red) !important;
}

#sidebar {
    position: sticky;
    top: 60px;
    z-index: 99;
}

#sidebar .widget {
    /* border-radius: 10px; */
    /* overflow: hidden; */
    background-color: white;

   
}

#sidebar .textwidget {
		padding:0 !important;
}

#sidebar .widget form.wpcfs-search-form {
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.1);
    padding: 15px;
}


#sidebar .widget-title,
.lutovac-filter-modal .widget-title  {
    font-size: 1.6rem;
    font-weight: 700;
    background: white;
    margin: 0;
    padding: 0;
    color: #222;
    margin-bottom: 5px
  
}

.pe-single-info {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 10px;
    /* margin-top:0 !important; */
   
}

.pe-single-info li {
    background-color: #f7f7f7;
    padding: 4px;
    border-radius: 8px;
}

.pe-single-info li:before {
   top: 15% !important;
   left:2% !important;
}



.post-content ul {
    margin-left: 0 !important;
    /* margin-top: 0 !important; */
}

.home .post-content ul:not(.pe-single-info),
.wp-singular .post-content ul:not(.pe-single-info){
    margin-top: 0 !important;
}

.entry-title--fs {
    font-size: 2.5rem;
}

nav[role=navigation] .menu ul li a {
    font-weight: 500;
    color: #ffffff !important;
}

nav[role=navigation] .menu #menu-icon {
    position: relative;
    width: 44px;
    height: 44px;
    padding: 0;
    font-size: 0;
    line-height: 0;
    color: transparent;
    background: transparent;
    cursor: pointer;
    overflow: hidden;
    vertical-align: middle;
}

nav[role=navigation] .menu #menu-icon::before,
nav[role=navigation] .menu #menu-icon::after {
    content: "";
    position: absolute;
    left: 10px;
    width: 24px;
    height: 2px;
    background-color: #fff;
    border-radius: 2px;
    transition: transform 0.2s ease, top 0.2s ease, opacity 0.2s ease, box-shadow 0.2s ease;
}

nav[role=navigation] .menu #menu-icon::before {
    top: 21px;
    box-shadow: 0 -8px 0 #fff, 0 8px 0 #fff;
}

nav[role=navigation] .menu #menu-icon::after {
    top: 21px;
    opacity: 0;
}

nav[role=navigation] .menu #menu-icon.active::before {
    box-shadow: none;
    transform: rotate(45deg);
}

nav[role=navigation] .menu #menu-icon.active::after {
    opacity: 1;
    transform: rotate(-45deg);
}

ul:not(.footer-menu) > .current_page_item > a {
    text-decoration: underline solid (var(--color-gold)) 1px !important;
    text-underline-offset: 6px;
    color: var(--color-gold) !important;
}

nav[role=navigation] .menu ul li.current_page_item a {
    color: var(--color-gold)!important;
    text-decoration: underline solid var(--color-gold)  1px !important;
    text-underline-offset: 6px !important;
}

#menu-main-menu > li > a:hover {
    background-color: transparent !important;
    text-decoration: underline solid var(--color-gold)  1px !important;
    text-underline-offset: 6px !important;
    color: var(--color-gold) !important;
}


#access {
    position: static;
    top: auto;
    left: auto;
    width: auto;
    z-index: 1;
    /* background-color: #ffffff; */
    transition: transform 0.25s ease, opacity 0.25s ease;
    transform: translateY(0);
    opacity: 1;
    will-change: transform, opacity;
    padding: 1rem 0;

}

.lutovac-header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 0 0 auto;
    margin-left: 16px;
}

.lutovac-header-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex: 0 0 auto;
    margin-left: 0;
    padding: 10px 16px;
    border-radius: 8px;
    background: var(--color-gold);
    color: #fff !important;
    font-size: 1.4rem;
    font-weight: 600;
    line-height: 1;
    text-decoration: none !important;
    white-space: nowrap;
}

.lutovac-header-cta svg {
    display: block;
    width: 18px;
    height: 18px;
}

.lutovac-header-cta:hover {
    background: var(--color-gold-hover);
    color: #fff !important;
}

#search-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 44px;
    height: 44px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 8px;
    background: transparent;
    background-image: none;
    color: #fff;
    text-indent: 0;
    overflow: visible;
    cursor: pointer;
    vertical-align: middle;
}

#search-icon svg {
    display: block;
    width: 22px;
    height: 22px;
}

#search-icon:hover,
#search-icon.is-open {
    color: var(--color-gold);
}

#search-box-wrap {
    display: none;
    height: auto;
    background: var(--color-red);
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

#search-box-wrap.is-open {
    display: block;
}

#search-box {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 96%;
    max-width: 1444px;
    margin: 0 auto;
    padding: 12px 2%;
}

#search-box #searchform {
    display: flex;
    flex: 1;
    float: none;
    margin: 0;
    min-width: 0;
}

#search-box #searchform > div {
    display: flex;
    flex: 1;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

#search-box #s {
    flex: 1;
    min-width: 0;
    width: 100%;
    height: 42px;
    margin: 0;
    padding: 0 14px;
    border: 0;
    border-radius: 8px;
    background: #fff;
    box-shadow: none;
    font-size: 1.5rem;
}

#search-box input[type="submit"] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 42px;
    margin: 0;
    padding: 0 16px;
    border: 0;
    border-radius: 8px;
    background: var(--color-gold);
    color: #fff;
    font-size: 1.3rem;
    font-weight: 600;
    text-transform: none;
    cursor: pointer;
}

#search-box input[type="submit"]:hover {
    background: var(--color-gold-hover);
}

#search-box #close-x {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    float: none;
    width: 32px;
    height: 32px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
    font-size: 1.6rem;
    line-height: 1;
    cursor: pointer;
}

#access.nav-fixed {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    padding: 10px 0;
    box-shadow: 0 0 15px -3px #e2e2e2;
    background-color: var(--color-red) !important;
}

#access.nav-hidden {
    transform: translateY(-110%);
    opacity: 0;
}

#access.nav-visible {
    transform: translateY(0);
    opacity: 1;
}

@media (max-width: 824px) {
    #access,
    #access.nav-fixed,
    #access.nav-hidden,
    #access.nav-visible {
        position: static;
        transform: none !important;
        opacity: 1 !important;
        transition: none;
    }

    .lutovac-header-cta {
        display: none;
    }

    .lutovac-header-actions {
        order: 2;
        margin-left: auto;
        gap: 0;
    }

    nav[role=navigation] .menu {
        order: 3;
    }
}

.entry-header {
    margin-bottom: 2rem !important;
}

.single .entry-header .entry-title {
    font-size: 2.5rem;
    font-weight: 700;
}

.p-30 {
    padding-top: 10px;
}
.grid-box .entry-header,
body.page .entry-title {
    border-bottom: 0px !important;
    border-bottom: 2px solid #b7b7b7 !important;
}
body.page .grid-box .entry-header,
.grid-box .entry-title,
.grid-box .entry-header,
body.page .entry-header  {
    padding-bottom: 0;
    margin-bottom: 0;
    border-bottom: 0px !important;

}


body.page .grid-box .entry-title, 
.grid-box .entry-title,
body.page .entry-header  {
    font-size: 2rem;
    font-weight: 600;
    padding-bottom: 15px;

}

.home .grid-box .entry-title {
    border-bottom: 2px solid #b7b7b7 !important;
}

.wpcfs-search-form label {
    font-weight:600 !important;
}

.wpcfs-search-form .wpcfs-input-wrapper {
    margin-bottom: 12px;
}

.wpcfs-search-form .wpcfs-label {
    display: block;
    margin-bottom: 6px;
    font-weight: 500;
}

.wpcfs-search-form .wpcfs-input {
    width: 100%;
    margin: 0;
}

.wpcfs-search-form input[type="text"],
.wpcfs-search-form select {
    width: 100%;
    box-sizing: border-box;
    padding: 8px 12px;
    border: 1px solid #b7b7b7;
    border-radius: 4px;
    background-color: #fff;
    font-size: 1.4rem;
    line-height: 1.4;
    color: #222;
    appearance: none;
    -webkit-appearance: none;
}

.wpcfs-search-form select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23222' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 32px;
}

.wpcfs-search-form input[type="text"]:focus,
.wpcfs-search-form select:focus {
    outline: none;
    border-color: var(--color-red);
}

.wpcfs-search-form input[type="submit"] {
    width: 100%;
    box-sizing: border-box;
    padding: 10px 16px;
    border: 1px solid var(--color-red);
    border-radius:8px;
    background-color: var(--color-red);
    color: #fff;
    font-size: 1.4rem;
    font-weight: 600;
    cursor: pointer;
}

nav[role=navigation] div.menu {
    background-color: var(--color-red) !important;
}

nav[role=navigation] .menu ul li.current-menu-item a, .nav ul li.current_page_item a, nav[role=navigation] .menu ul li.current_page_item a {
    background-color: transparent !important;
}

nav[role=navigation] .menu ul li a{
    color: #ffffff !important;
}

.wpcfs-search-form input[type="submit"]:hover {
    background-color: var(--color-gold-hover);
    border-color: var(--color-gold-hover);
}

body.filter-modal-open {
    overflow: hidden;
}

.lutovac-filter-trigger {
    display: none !important;
}

.lutovac-filter-modal-overlay {
    display: none !important;
}

.lutovac-filter-modal {
    position: static;
    top: auto;
    left: auto;
    bottom: auto;
    width: auto;
    max-width: none;
    height: auto;
    z-index: auto;
    padding: 0;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: none;
    pointer-events: auto;
    overflow: visible;
}

.lutovac-filter-modal.is-open {
    opacity: 1;
    visibility: visible;
    transform: none;
    pointer-events: auto;
}

#cookie-notice .cn-button {
    background-color: var(--color-red) !important;
    border: none !important;
    padding:1rem 2rem !important;
    color: #ffffff !important;
}




.lutovac-filter-modal .textwidget {
    display: block;
    padding: 0;

}

.lutovac-filter-modal .wpcfs-search-form {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.home .lutovac-filter-modal .wpcfs-search-form,
.home .lutovac-filters-widget .wpcfs-search-form {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
}

.lutovac-filter-modal .wpcfs-search-form .wpcfs-input-wrapper {
    margin-bottom: 12px;
}

.lutovac-filter-modal .wpcfs-search-form .wpcfs-input-submit {
    margin-top: 4px;
}

#site-title {
    padding:0;
}


/* FOOTER */
#wrapper {
    margin: 0 auto;
    height: auto;
    min-height: 100%;
}

.push {
    display: none;
    height: 0;
}

footer#colophon[role=contentinfo] {
    display: block;
    width: 100%;
    max-width: none;
    height: auto;
    margin: 0;
    padding: 0;
    border-top: none;
    background-color: #222;
    color: #f2f2f2;
}

.footer-inner {
    padding-top: 48px;
    padding-bottom: 40px;
}

.footer-grid {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    gap: 40px;
}

.footer-col {
    flex: 1;
    min-width: 0;
}

.footer-col-map {
    display: flex;
}

.footer-col-map iframe {
    display: block;
    width: 100%;
    flex: 1;
    min-height: 220px;
    border: 0;
}

.footer-col-logo {
    flex: 1.1;
}

.footer-logo {
   display:flex;
   justify-content: flex-start;
}

.footer-logo img {
    max-width: 220px;
    height: auto;
}

.footer-logo-text a {
    font-family: "Varela", "Lucida Sans Unicode", "Lucida Grande", sans-serif;
    font-size: 2.6rem;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: #fff;
    text-decoration: none;
}

.footer-logo-text a:hover {
     color: #949494;
}

.footer-tagline {
    margin-top: 10px;
    font-size: 1.3rem;
    line-height: 1.5;
    color: #cfcfcf;
}

.footer-heading {
    margin: 0 0 18px;
    font-family: "Varela", "Lucida Sans Unicode", "Lucida Grande", sans-serif;
    font-size: 1.6rem;
    font-weight: 700;
    line-height: 1.3;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #fff;
}

.footer-menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-menu li {
    margin: 0 0 8px;
}

.footer-menu a,
.footer-inner .current_page_item a,
.footer-inner .current-menu-item a {
    color: #dcdcdc !important;
    text-decoration: none !important;
    background-color: transparent !important;
    font-size: 1.4rem;
    line-height: 1.5;
}

.footer-menu a:hover,
.footer-menu .current-menu-item > a,
.footer-menu .current_page_item > a {
    color: #949494 !important;
    background-color: transparent !important;
    text-decoration: none !important;
    font-weight: 700;
}

.footer-contact p {
    margin: 0 0 6px;
    font-size: 1.4rem;
    line-height: 1.5;
    color: #dcdcdc;
}

.footer-company {
    margin-bottom: 18px !important;
}

.footer-person {
    margin-bottom: 16px;
}

.footer-person-name {
    margin-bottom: 4px !important;
    font-weight: 700;
    color: #fff;
}

.footer-contact a {
    color: #dcdcdc;
    text-decoration: none;
}

.footer-contact a:hover {
    color: #949494;
}

.footer-bottom {
    border-top: 1px solid #3a3a3a;
    padding: 16px 0;
}

footer#colophon[role=contentinfo] #site-generator {
    display: block;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 1rem;
    color: #9a9a9a;
    vertical-align: middle;
}

footer#colophon[role=contentinfo] #site-generator a {
    color: inherit;
}

.wp-pagenavi {
    margin: 30px 0;
    padding-top: 10px;
    padding-bottom: 10px;
    text-align: center;
}
.wp-pagenavi a, .wp-pagenavi span {
    border: none;
    color: (var(--color-red))
}

.wp-pagenavi a, .wp-pagenavi span:hover {
    color: var(--color-gold);
}

.footer-inner  {
    padding-bottom: 0;
}

.lutovac-hero-swiper {
    width: 100%;
    overflow: hidden;
    border-radius: 10px;
    /* border-bottom-right-radius: 10px; */
}

.lutovac-hero-slide a {
    display: block;
}

.lutovac-hero-slide img {
    display: block;
    width: 100%;
    height: 420px;
    object-fit: cover;
}

.lutovac-hero-swiper .swiper-pagination-bullet {
    background: #fff;
    opacity: 0.7;
}

.lutovac-hero-swiper .swiper-pagination-bullet-active {
    background: var(--color-red);
    opacity: 1;
}

.lutovac-hero-swiper .swiper-button-prev,
.lutovac-hero-swiper .swiper-button-next {
    color: #fff;
}

.lutovac-hero-swiper .swiper-button-prev:after,
.lutovac-hero-swiper .swiper-button-next:after {
    font-size: 22px;
}

.lutovac-filters {
    padding: 10px 28px;
    border-radius: 12px;
    overflow: hidden;
    top: -50px;
    z-index: 999999999;
    position: relative;
    width: 95%;
    margin: 0 auto;
    background: white;
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.1);
}

.lutovac-filters-widget {
    padding-top: 20px;
    margin-bottom: 0 !important;
}

.lutovac-filters-widget .wpcfs-search-form {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
}

.lutovac-filters-widget .wpcfs-search-form .wpcfs-input-wrapper {
    flex: 1;
}

#social-media {
    display: flex !important;
}
#social-media a {
    margin: 0!important;
}

.desktop-only {
    display: flex;
}

.mobile-only {
    display: none;
}

/* ============================================
   HOMEPAGE — layout (main full width, no sidebar)
   ============================================ */
html:has(body.home) {
    scroll-behavior: smooth;
}

.home #main.col620 {
    width: 100%;
    float: none;
    margin: 0;
    display: block;
}

.home #content {
    padding-top: 8px;
}

/* ============================================
   HOMEPAGE — HERO (full-width single image + overlay)
   ============================================ */
.lutovac-home-hero {
    position: relative;
    width: 100%;
    min-height: 480px;
    height: 70vh;
    max-height: 760px;
    overflow: hidden;
    background-color: #1a1a1a;
}

.lutovac-home-hero__media,
.lutovac-home-hero__media img,
.home .lutovac-home-hero #img-naslovna {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
}

.lutovac-home-hero__overlay,
.lutovac-page-hero__overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    align-items: center;
}

.lutovac-home-hero__overlay::after,
.lutovac-page-hero__overlay::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background: linear-gradient(
        90deg,
        color-mix(in srgb, var(--color-red) 72%, transparent) 0%,
        color-mix(in srgb, var(--color-red) 40%, transparent) 48%,
        color-mix(in srgb, var(--color-red) 16%, transparent) 100%
    );
}

.lutovac-home-hero__content {
    position: relative;
    z-index: 1;
    width: 96%;
    max-width: 1044px;
    margin: 0 auto;
    padding: 40px 2%;
    color: #fff;
}

.lutovac-home-hero__title {
    margin: 0 0 16px;
    max-width: 16ch;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 4.8rem;
    font-weight: 700;
    line-height: 1.15;
    color: #fff;
    text-align: left !important;
}

.lutovac-home-hero__subtitle {
    margin: 0 0 28px;
    max-width: 42ch;
    font-size: 1.7rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.92);
}

.lutovac-home-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

/* ============================================
   PAGES — header banner (same image + blue overlay)
   ============================================ */
.lutovac-page-hero {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
    background-color: #1a1a1a;
}

.lutovac-page-hero__media,
.lutovac-page-hero__media img {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
}

.lutovac-page-hero__overlay {
    justify-content: center;
    text-align: center;
}

.lutovac-page-hero__content {
    position: relative;
    z-index: 1;
    width: 96%;
    max-width: 1444px;
    margin: 0 auto;
    padding: 0 2%;
    box-sizing: border-box;
}

.lutovac-page-hero__title {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 4rem;
    font-weight: 700;
    line-height: 1.2;
    color: #fff;
    text-align: left;
}

.page #main-page.col620 {
    width: 100%;
    float: none;
    margin: 0;
    display: block;
}

.page #content {
    padding-top: 32px;
    padding-bottom: 48px;
}

/* ============================================
   HOMEPAGE — buttons (hero + featured section)
   ============================================ */
.lutovac-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 22px;
    border-radius: 8px;
    border: 1px solid transparent;
    font-size: 1.4rem;
    font-weight: 600;
    line-height: 1.2;
    text-decoration: none !important;
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.lutovac-btn--accent {
    background-color: var(--color-gold);
    border-color: var(--color-gold);
    color: #fff !important;
}

.lutovac-btn--accent:hover {
    background-color: var(--color-gold-hover);
    border-color: var(--color-gold-hover);
    color: #fff !important;
}

.lutovac-btn--ghost {
    background-color: transparent;
    border-color: #fff;
    color: #fff !important;
}

.lutovac-btn--ghost:hover {
    background-color: rgba(255, 255, 255, 0.12);
    color: #fff !important;
}

.lutovac-btn--primary {
    background-color: var(--color-red);
    border-color: var(--color-red);
    color: #fff !important;
}

.lutovac-btn--primary:hover {
    background-color: var(--color-gold);
    border-color: var(--color-gold);
    color: #fff !important;
}

/* ============================================
   HOMEPAGE — FEATURED / MOST VIEWED (4-column grid)
   ============================================ */
.lutovac-featured {
    padding: 48px 0 72px;
    scroll-margin-top: 100px;
}

.lutovac-featured__header {
    margin-bottom: 32px;
    text-align: center;
}

.lutovac-featured__title {
    margin: 0;
    /* font-family: Georgia, "Times New Roman", serif; */
    font-size: 3.2rem;
    font-weight: 700;
    line-height: 1.25;
    color: #222;
}

.lutovac-featured__title::after {
    content: "";
    display: block;
    width: 48px;
    height: 3px;
    margin: 14px auto 0;
    background-color: var(--color-red);
}

.lutovac-featured-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
}

.lutovac-featured__footer {
    margin-top: 36px;
    text-align: center;
}

/* ============================================
   PROPERTY CARDS (homepage + listing templates)
   ============================================ */
.home article.lutovac-property-card,
.lutovac-property-card {
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 0 !important;
    border: 0 !important;
    background: #fff;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(17, 17, 17, 0.08);
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.lutovac-property-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(17, 17, 17, 0.12);
}

.lutovac-property-card__link,
.lutovac-property-card__link:hover,
.lutovac-property-card__link:visited {
    display: flex;
    flex-direction: column;
    flex: 1;
    color: inherit !important;
    text-decoration: none !important;
}

.lutovac-property-card__media {
    position: relative;
    display: block;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background-color: #ececec;
    text-decoration: none !important;
}

.lutovac-property-card__media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
    transition: transform 0.35s ease;
}

.lutovac-property-card:hover .lutovac-property-card__media img {
    transform: scale(1.04);
}

.lutovac-property-card__placeholder {
    display: block;
    width: 100%;
    height: 100%;
    background: #e6e6e6;
}

.lutovac-property-card__badge {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 1;
    padding: 5px 10px;
    border-radius: 6px;
    background-color: var(--color-red);
    color: #fff;
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1.2;
}

.lutovac-property-card__fav {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 1;
    width: 28px;
    height: 28px;
    color: #fff;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.35));
}

.lutovac-property-card__fav svg {
    display: block;
    width: 100%;
    height: 100%;
}

.lutovac-property-card__body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 16px 16px 18px;
}

.lutovac-property-card__title {
    margin: 0 0 6px;
    font-size: 1.7rem;
    font-weight: 700;
    line-height: 1.3;
    color: #111;
    border: 0 !important;
}

.lutovac-property-card__location-icon {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 5px;
    margin-bottom: 12px;
}

.lutovac-property-card__location {
    font-size: 1.3rem;
    line-height: 1.4;
    color: #7a7a7a;
}

.lutovac-property-card__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 14px;
    margin: 0 0 14px !important;
    padding: 0;
    list-style: none;
    color: #6d6d6d;
    font-size: 1.25rem;
}

.lutovac-property-card__meta li {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.lutovac-property-card__meta svg {
    width: 16px;
    height: 16px;
    flex: 0 0 16px;
}

.home .lutovac-property-card .lutovac-property-card__meta,
.home .post-content ul.lutovac-property-card__meta,
.lutovac-listings .lutovac-property-card__meta,
.single-property-related .lutovac-property-card__meta {
    margin-top: 0 !important;
    margin-left: 0 !important;
}

.lutovac-property-card__price {
    margin: auto 0 0;
    font-size: 2.4rem;
    font-weight: 700;
    line-height: 1.2;
    color: var(--color-gold);
}

/* ============================================
   LISTING PAGES — 3-column grid + narrower sidebar
   ============================================ */
.lutovac-listings {
    display: flex;
    align-items: flex-start;
    gap: 24px;
	padding-top: 40px;
}

.lutovac-listings #main {
    width: auto;
    flex: 1 1 auto;
    min-width: 0;
    float: none;
    margin: 0;
    display: block;
    padding-top:40px;
}

.lutovac-listings #sidebar {
    width: 280px;
    flex: 0 0 280px;
    max-width: 320px;
    float: none;
    margin-top: 0;
/*     padding: 1rem; */
}

.lutovac-listings-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.lutovac-listings .page-header,
.lutovac-listings__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 24px;
}

.lutovac-listings__header:not(:has(.page-title)) {
    justify-content: flex-end;
    /* margin-bottom: 16px; */
}

@media (min-width: 1025px) {
    .lutovac-listings__header:not(:has(.page-title)) {
        display: none;
    }
}

.lutovac-listings .page-title {
    margin: 0;
    font-size: 2.8rem;
    font-weight: 700;
    border-bottom: 0 !important;
}

.lutovac-listings-filter {
    display: none;
    align-items: center;
    gap: 8px;
    flex: 0 0 auto;
    margin: 0;
    padding: 8px 12px;
    border: 1px solid var(--color-red);
    border-radius: 8px;
    background: var(--color-red);
    color: #fff;
    font-size: 1.3rem;
    font-weight: 600;
    line-height: 1;
    cursor: pointer;
}

.lutovac-listings-filter svg {
    display: block;
    width: 18px;
    height: 18px;
}

.lutovac-listings-filter.is-open {
    background: #111;
    border-color: #111;
}

.lutovac-filters--listings {
    display: none;
}

@media (max-width: 1024px) {
    .page #content.lutovac-listings {
        padding-top: 0;
    }

    .lutovac-listings .page-header,
    .lutovac-listings__header {
        margin-top: 20px;
        padding-bottom: 20px;
    }

    .lutovac-filters {
        width: 100%;
        padding: 8px 16px 16px;
        top: -24px;
    }

    .lutovac-filter-modal .wpcfs-search-form,
    .home .lutovac-filter-modal .wpcfs-search-form,
    .home .lutovac-filters-widget .wpcfs-search-form,
    .lutovac-filters-widget .wpcfs-search-form,
    #sidebar .wpcfs-search-form {
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        flex-wrap: nowrap;
        gap: 0;
    }

    .lutovac-filter-modal .wpcfs-search-form .wpcfs-input-wrapper,
    .home .lutovac-filter-modal .wpcfs-search-form .wpcfs-input-wrapper,
    .lutovac-filters-widget .wpcfs-search-form .wpcfs-input-wrapper,
    #sidebar .wpcfs-search-form .wpcfs-input-wrapper {
        flex: 1 1 100%;
        width: 100%;
        max-width: 100%;
    }

    .lutovac-filters--listings {
        display: block;
        padding: 0;
        width: auto;
        margin: 0;
        top: auto;
        background: transparent;
        box-shadow: none;
        overflow: visible;
        position: static;
        border-radius: 0;
    }

    .lutovac-listings {
        flex-direction: column;
    }

    .lutovac-listings #sidebar,
    #sidebar {
        display: block !important;
        width: 100%;
        flex: 1 1 auto;
        max-width: none;
        position: static;
    }
}

/* ============================================
   HOMEPAGE + LISTINGS — responsive
   ============================================ */
@media (max-width: 1024px) {
    .lutovac-featured-grid,
    .lutovac-listings-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .lutovac-home-hero__title {
        font-size: 3.8rem;
    }

    .lutovac-page-hero__title {
        font-size: 3.2rem;
    }
}


@media (max-width: 824px) {

    nav[role=navigation] .menu.nav-mobile {
        text-align: right;
    }

    nav[role=navigation] div.menu > ul {
        left: auto;
        right: 0;
        
    }


    .footer-grid {
        flex-direction: column;
        gap: 32px;
    }

    .footer-col-logo,
    .footer-col-menu,
    .footer-col-contact,
    .footer-col-map {
        width: 100%;
    }

    .footer-col-map iframe {
        min-height: 240px;
    }

    #sidebar {
        position: sticky;
        top: 60px;
        z-index: 9999;
    }
}

@media (max-width: 824px) {
    .lutovac-listings {
        flex-direction: column;
    }
}


@media (max-width: 768px) {
    .p-30 {
        padding-top: 10px;
    }

    .lutovac-hero-slide img {
        height: 220px;
    }
    #site-title small {
        font-size: 1rem;
        text-align: left;
        line-height: 1.2;
    }

    .desktop-only {
        display: none;
    }

    .mobile-only {
        display: flex;
    }

    
}

@media (max-width: 768px) {
    .lutovac-home-hero {
        min-height: 420px;
        height: 62vh;
    }

    .lutovac-page-hero {
        height: 180px;
    }

    .lutovac-home-hero__title {
        font-size: 3.2rem;
        max-width: none;
    }

    .lutovac-page-hero__title {
        font-size: 2.6rem;
    }

    .lutovac-home-hero__subtitle {
        font-size: 1.5rem;
    }

    .lutovac-featured {
        padding: 32px 0 56px;
    }

    .lutovac-featured__title {
        font-size: 2.6rem;
    }

    .lutovac-property-card__price {
       
        font-size: 2rem;
    }
}

@media (max-width: 640px) {
    .lutovac-featured-grid,
    .lutovac-listings-grid {
        grid-template-columns: 1fr;
    }

    .lutovac-home-hero__actions {
        flex-direction: column;
        align-items: center;
    }

    .lutovac-home-hero__actions .lutovac-btn {
        width: auto;
    }

    .lutovac-home-hero__title,
    .lutovac-home-hero__subtitle {
        text-align: center !important;
        width:auto;
        text-wrap: balance;
    }

    .lutovac-home-hero__subtitle {
        max-width:95%;

    }
}

/* ============================================
   SINGLE PROPERTY — Envira gallery as slider
   ============================================ */
.lutovac-property-gallery {
    margin: 0 0 24px;
}

.lutovac-property-swiper {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    background: #111;
}

.lutovac-property-swiper .swiper-slide img {
    display: block;
    width: 100%;
    height: 460px;
    margin: 0;
    object-fit: cover;
    cursor: zoom-in;
}

.glightbox-clean .gslide-title {
    display: none;
}

.lutovac-property-prev,
.lutovac-property-next {
    position: absolute;
    top: 50%;
    z-index: 2;
    width: 42px;
    height: 42px;
    margin-top: -21px;
    border: 0;
    border-radius: 50%;
    background: rgba(17, 17, 17, 0.55);
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lutovac-property-prev {
    left: 12px;
}

.lutovac-property-next {
    right: 12px;
}

.lutovac-property-prev::before,
.lutovac-property-next::before {
    content: "";
    display: block;
    width: 10px;
    height: 10px;
    margin: 0 auto;
    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
    position: absolute;
}

.lutovac-property-prev::before {
    transform: rotate(-135deg);
    margin-left: 4px;
}

.lutovac-property-next::before {
    transform: rotate(45deg);
    margin-right: 4px;
}

.lutovac-property-swiper .swiper-pagination-bullet {
    background: #fff;
    opacity: 0.7;
}

.lutovac-property-swiper .swiper-pagination-bullet-active {
    background: var(--color-gold);
    opacity: 1;
}

.lutovac-property-thumbs {
    margin-top: 10px;
    overflow: hidden;
}

.lutovac-property-thumbs .swiper-slide {
    width: 88px;
    height: 64px;
    opacity: 0.55;
    cursor: pointer;
    overflow: hidden;
    border-radius: 8px;
    flex: 1;
}

.lutovac-property-thumbs {
    padding: 1rem !important;
    
}

.lutovac-property-thumbs .swiper-slide-thumb-active {
    opacity: 1;
    outline: 2px solid var(--color-gold);
    outline-offset: 1px;
}

.post-content .lutovac-property-gallery img {
    margin: 0;
}

.lutovac-property-thumbs img {
    display: block;
    width: 100%;
    height: 100%;
    margin: 0;
    object-fit: cover;
}

.single-property-content {
    display: grid;
    grid-template-columns: minmax(0, 64.667%) minmax(0, 1fr);
    grid-template-areas:
        "gallery sidebar"
        "main sidebar"
        "related related";
    align-items: start;
    column-gap: 2%;
    padding-top: 50px;
}

.single-property-gallery {
    grid-area: gallery;
    min-width: 0;
}

.single-property-content #main.col620 {
    grid-area: main;
    width: auto;
    float: none;
    margin: 0;
    min-width: 0;
}

.single-property-related {
    grid-area: related;
    width: 100%;
    padding:0px 0 48px;
}

.single-property-sidebar {
    grid-area: sidebar;
    box-shadow: 0 0 10px 0 rgba(70, 70, 70, 0.1);
    border-radius: 12px;
    overflow: hidden;
}
.single-property-sidebar,
.single-property-sidebar--wrapper {
    background: #fff;
    color: #222;
    /* box-shadow: 0 0 8px 0 rgba(0, 0, 0, 0.1); */
}

.single-property-sidebar--wrapper {
    padding: 24px;
   
  
}

.single-property-sidebar .entry-title,
.single-property-sidebar .entry-title a {
    font-size: 2.8rem !important;
    font-weight: 700;
    border: 0 !important;
    margin: 0 0 20px;
    font-family: 'Open Sans', sans-serif;
    border-bottom: 1px solid #222 !important;
}

.single-property-sidebar .pe-single-info {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.single-property-sidebar .pe-single-info-item-price {
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--color-gold);
    /* color: #fff; */
}

.single-property-sidebar .pe-single-info li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 0;
    padding: 0;
    background: transparent;
    border-radius: 0;
}

.single-property-sidebar .pe-single-info li:before {
    display: none !important;
    content: none !important;
}

.single-property-sidebar .pe-single-info svg {
    flex: 0 0 20px;
    width: 20px;
    height: 20px;
    margin-top: 2px;
    color: var(--color-gold);
}

/* .single-property-sidebar .pe-single-info span,
.single-property-sidebar .pe-single-info strong {
    color: #fff;
} */

.contact-page-block {
    display: flex;
    flex-direction: row;
    gap: 3rem;
}

@media (max-width: 900px) {
    .single-property-content {
        display: flex;
        flex-direction: column;
        gap: 24px;
    }

    .single-property-gallery,
    .single-property-content #main.col620,
    .single-property-sidebar,
    .single-property-related {
        width: 100%;
    }

    .single-property-gallery .lutovac-property-gallery {
        margin-bottom: 0;
    }

    .wp-singular .widget {
        margin-top: 10px;
    }

    .widget-title {
        display: none;
    }
}

@media (max-width: 768px) {
    .lutovac-property-swiper .swiper-slide img {
        height: 280px;
    }

    .lutovac-property-thumbs .swiper-slide {
        flex: none;
    }

    .single-property-sidebar .entry-title,
    .single-property-sidebar .entry-title a {
        font-size: 2.4rem !important;
      
    }

    .single-property-sidebar .pe-single-info-item-price {
        font-size: 2rem;
    }

    .footer-logo {
        justify-content: center;
     }

     .lutovac-listings #main {
       
        padding-top:0px;
    }

    .contact-page-block {
        flex-direction: column;
        gap: 0;
    }

    .widget {
        margin-top: 15px;
    }
}

