@charset "UTF-8";
/**
Theme Name: TamToMy Broker šablona
Text Domain: ttm
Version: 1.6.5
Requires at least: 6.0
Requires PHP: 7.3
Author: TamToMy Agency s.r.o.
Author URI: https://www.tamtomy.cz/
*/

@view-transition {
    navigation: auto;
}

*:focus {
    outline: none;
}

body.home .under-header {
    display: block !important;
    height: 150px;
}

html {
    scroll-behavior: smooth;
}

html,
body {
    overflow-x: clip !important;
    font-variant-numeric: lining-nums;

}


header {
    position: fixed;
    width: 100%;
    padding: 12px 0;
    transition: 350ms;
    z-index: 99;
}

header:before {
    position: absolute;
    content: '';
    top: 0;
    right: 0;
    bottom: 0;
    width: 20%;
    height: 100%;
    background: var(--white-color);
    transition: 350ms;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);

}

header .header-grid {
    position: relative;
    margin: 0 -10px;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

header .header-grid .box {
    position: relative;
    margin: 0 10px;
}

header .header-grid .box:first-child {
    grid-row: span 2;
}

header .header-grid .box.last {
    margin-left: auto;
}

@media(min-width: 960px) and (max-width: 1280px) {
    header .header-grid:has(.header-nav) {
        display: grid;
        grid-template-columns: auto 1fr;
        gap: 1em;
    }

    header .header-grid:has(.header-nav) .box:not(:first-child) {
        margin: 0 0 0 auto;
    }
}

header .header-grid .box.last .respo-btn {
    position: relative;
    display: flex;
    flex-wrap: nowrap;
    cursor: pointer;
    align-items: center;
    gap: 8px;
}

header .header-grid .box.last .respo-btn .box {
    position: relative;
    margin: 0;
}

header .header-grid .box.last .respo-btn .box i {
    position: relative;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    background: var(--primary-color);
    color: var(--white-color);
    display: block;
    border-radius: 100%;
    transition: 350ms;
}

header .header-grid .box.last .respo-btn .box span {
    display: block;
    font-size: 13px;
    line-height: 1.2;
    font-weight: 700;
}

header .header-grid .box.last .respo-btn .box span.small {
    font-size: 10px;
    color: var(--primary-color);
    transition: 350ms;
    font-weight: normal;
}

header .header-grid .box.last .respo-btn:hover i {
    background: var(--secondary-color);
}

header .header-nav {
    display: none;
}

header .header-nav ul {
    display: flex;
    align-items: center;
    gap: 1.5em;
    padding: .5em 0;
    margin: 0;
    font-size: 15px;
    list-style: none;
}

header .header-nav ul li a {
    display: block;
    padding: .5em 0;
    color: var(--black-color);
    text-decoration: none;
    transition: 320ms;
}

header .header-nav ul li:hover ul.sub-menu {
    display: flex !important;
}

header .header-nav ul li a:hover {
    color: var(--secondary-color);
}

@media(min-width: 960px) {
    header .header-nav {
        display: block;
    }

    header .header-nav+.respo-btn {
        display: none !important;
    }

    header .header-nav ul.main-menu>li>ul.sub-menu {
        display: none;
        position: absolute;
        background: var(--secondary-color);
        border-radius: 4px;
        font-size: 12px;
        padding: 0;
        min-width: 220px;
        box-shadow: rgba(50, 50, 93, 0.25) 0 50px 100px -20px, rgba(0, 0, 0, 0.3) 0 30px 60px -30px;
    }

    header .header-nav ul.main-menu>li:last-child>ul.sub-menu,
    header .header-nav ul.main-menu>li:nth-last-child(2)>ul.sub-menu {
        right: 0;
        left: auto;
    }

    header .header-nav ul.main-menu ul.sub-menu {
        flex-flow: column;
        align-items: normal;
        gap: 0;
        padding: 0 0 0 1em;
        font-size: 11px;
    }

    header .header-nav ul.main-menu>li>ul.sub-menu li:not(:last-child) {
        border-bottom: 1px solid rgba(255, 255, 255, .12);
    }

    header .header-nav ul.main-menu>li>ul.sub-menu a {
        display: block;
        padding: 14px 12px;
        color: var(--white-color);
    }

    header .header-nav ul.main-menu>li>ul.sub-menu a:hover {
        background: rgba(0, 0, 0, .2);
    }
}

header .broker-contact {
    position: relative;
    margin: 0;
    padding: 0;
    list-style: none;
    display: inline-flex;
    flex-wrap: wrap;
}

header .broker-contact li {
    position: relative;
    margin: 0;
    padding: 0 15px;
}

header .broker-contact li:after {
    position: absolute;
    content: '';
    top: 0;
    right: -1px;
    width: 1px;
    height: 100%;
    background: var(--primary-color);
    opacity: 0.35;
}

header .broker-contact li:nth-last-child(1):after {
    display: none;
}

header .broker-contact li .marvel {
    position: relative;
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    text-decoration: none;
}

header .broker-contact li .marvel .box {
    position: relative;
    margin: 0;
}

header .broker-contact li .marvel .box i {
    position: relative;
    display: block;
    margin: 0 8px 0 0;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    border-radius: 100%;
    background: var(--primary-color);
    color: var(--white-color);
    transition: 350ms;
}

header .broker-contact li .marvel .box i:before {
    font-size: 18px;
}

header .broker-contact li .marvel .box span {
    position: relative;
    display: block;
    line-height: 1.1em;
    color: var(--black-color);
}

header .broker-contact li .marvel .box span.small-text {
    color: var(--primary-color);
    font-size: 10px;
}

header .broker-contact li .marvel:hover .box i {
    background: var(--secondary-color);
}

header .social-menu {
    display: inline-flex;
    gap: 12px;
    margin: 0 0 0 12px;
    padding: 0;
    list-style: none;
}

header .social-menu a[href] {
    text-decoration: none;
}

header .social-menu a[href] i {
    display: block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    border-radius: 100%;
    background: var(--primary-color);
    color: var(--white-color);
    transition: 350ms;
    text-decoration: none;
}

header .social-menu a[href] i:before {
    font-size: 18px;
}

header .social-menu a[href]:hover {
    text-decoration: none;
}

header .social-menu a[href]:hover i {
    background: var(--secondary-color);
}

header a.logo {
    position: relative;
    width: auto;
    height: 76px;
    display: flex;
    align-items: center;
}

header a.logo img {
    display: block;
    width: auto;
    height: auto;
    max-height: 100%;
    max-width: 160px;
    transition: 350ms;
}

.under-header {
    position: relative;
    width: 100%;
    height: 150px;
}

header.small:before,
body.fixed-header header:before {
    width: 100%;
}

a:focus {
    outline: 2px solid black;
}

:focus:not(:focus-visible) {
    outline: 0;
}

.ar-smooth {
    position: fixed;
    background: var(--primary-color);
    color: var(--white-color);
    z-index: 10;
    width: 70px;
    height: auto;
    text-align: center;
    top: 40%;
    right: 0;
    padding: 16px 12px;
    box-sizing: border-box;
    border-top-left-radius: 8px;
    border-bottom-left-radius: 8px;
    text-decoration: none;
    transition: 350ms;
    font-weight: 700;
    display: flex;
    flex-flow: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.ar-smooth:before {
    content: "";
    position: absolute;
    inset: 0;
    background: #000;
    opacity: 0;
    transition: 350ms;
    pointer-events: none;
}

.ar-smooth>i {
    font-size: 24px;
}

.ar-smooth .ar-text {
    writing-mode: vertical-lr;
    margin: 15px auto 0 auto;
    text-align: center;
    font-size: 12px;
    transform: rotate(180deg);
}

.ar-smooth:hover:before {
    opacity: .2
}

.ar-h3 {
    position: relative;
    margin: 50px 0 0 0;
    font-size: 28px;
}

.is-vertical {
    position: absolute;
    left: -6%;
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    font-size: 14px;
    flex-direction: column;
    transform: rotate(180deg);
    z-index: 20;
    height: 100vh;
    justify-content: center;
}

.is-vertical li {
    position: relative;
    margin: 8px 0;
}

.is-vertical li:after {
    position: absolute;
    content: '';
    top: -9px;
    left: 0;
    width: 100%;
    height: 1px;
    background: var(--black-color);
    opacity: 0.3;
}

.is-vertical li:nth-child(1):after {
    display: none;
}

.is-vertical li a {
    position: relative;
    display: block;
    text-decoration: none;
    writing-mode: vertical-lr;
    padding: 0 3px;
    box-sizing: border-box;
    color: var(--black-color);
    transition: 350ms;
}

.is-vertical li a:hover {
    color: var(--secondary-color);
}


.section-footer {
    position: relative;
    width: 100%;
    padding: 50px 0 20px 0;
    box-sizing: border-box;
    font-size: 12px;
    color: #fff;
}

.ar-foo-flex .ar-item h2 {
    color: #fff;
}

.section-footer:before {
    position: absolute;
    content: '';
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: var(--secondary-color);
}

.ar-foo-flex {
    position: relative;
    margin: 0 -15px;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    z-index: 2;
}

.ar-foo-flex .ar-item {
    position: relative;
    flex-grow: 1;
    flex-basis: 0;
}

.ar-foo-flex .ar-item h2 {
    position: relative;
    margin: 0 0 15px 0;
    padding: 0;
    font-size: 18px;
}

.ar-foo-flex .ar-item h2 .top-h2-script {
    display: none;
}

.ar-foo-flex .ar-item p {
    position: relative;
    line-height: 1.5em;
}

.ar-foo-flex .ar-item ul.menu {
    position: relative;
    margin: 0;
    padding: 0;
    list-style: none;
}

.ar-foo-flex .ar-item ul.menu li {
    position: relative;
    margin: 0;
    padding: 0;
    border-bottom: 1px solid rgba(255, 255, 255, .2);
}

.ar-foo-flex .ar-item ul.menu li:nth-last-child(1) {
    border: none;
}

.ar-foo-flex .ar-item ul.menu li a {
    position: relative;
    margin: 0;
    padding: 5px 0;
    box-sizing: border-box;
    display: block;
    text-decoration: none;
    transition: 350ms;
    color: #fff;
}

.ar-foo-flex .ar-item ul.menu li:nth-child(1) a {
    padding: 0 0 5px 0;
}

.ar-foo-flex .ar-item ul.menu li a:hover {
    padding-left: 10px;
}



.under-title {
    position: relative;
    text-transform: uppercase;
    font-size: 12px;
    margin: 0 0 5px 0;
    display: block;
    padding: 0 0 0 60px;
    color: var(--primary-color);
}

.under-title:before {
    position: absolute;
    left: 0;
    top: 6px;
    content: '';
    width: 50px;
    height: 2px;
    background: var(--primary-color);
    display: inline-table;
}

.welcome-section {
    position: relative;
    width: 100%;
}

.welcome-section .broker-content {
    position: relative;
    width: 100%;
    min-height: 100vh;
    min-height: 100dvh;
    display: table;
}

.welcome-section .broker-content .center-all {
    position: relative;
    display: table-cell;
    vertical-align: middle;
    pointer-events: none;
    z-index: 3;
}

.welcome-section .broker-content .center-all .broker-name {
    position: relative;
    width: calc(50% - 50px);
    pointer-events: auto;
}

.welcome-section .broker-content .center-all .broker-name span {
    position: relative;
    line-height: 1.1em;
    color: var(--black-color);
}

.welcome-section .broker-content .center-all .broker-name:not(.smaller) span {
    display: block;
}

.welcome-section .broker-content .center-all .broker-name span.position {
    display: block;
    padding: 0 0 0 70px;
    margin-bottom: 16px;
}

.welcome-section .broker-content .center-all .broker-name span.position:before {
    position: absolute;
    content: '';
    left: 0;
    top: 5px;
    width: 60px;
    height: 2px;
    background: var(--black-color);
}

.welcome-section .broker-content .center-all .broker-name span.name,
.welcome-section .broker-content .center-all .broker-name span.surname {
    font-size: 75px;
    text-transform: uppercase;
}

.welcome-section .broker-content .center-all .broker-name.smaller span.name,
.welcome-section .broker-content .center-all .broker-name.smaller span.surname {
    font-size: 56px;
}

.welcome-section .broker-content .center-all .broker-name.smaller span.name {
    margin-right: .2em;
}

.welcome-section .broker-content .center-all .broker-name div.bio {
    margin: 48px 0 30px;
    font-size: 16px;
    line-height: 1.8;
    padding-right: 48px;
}

.welcome-section .broker-content .center-all .broker-name div.bio p {
    margin-bottom: 24px;
}

.welcome-section .broker-content .center-all .broker-name div.bio p:last-child {
    margin-bottom: 0;
}

.welcome-section .broker-content .photo-broker {
    position: absolute;
    top: 50px;
    right: 0;
    bottom: 50px;
    width: 50%;
    border-radius: 4px;
    background-size: 80%;
    background-repeat: no-repeat;
    background-position: 50% 50%;
}

.welcome-section .broker-content .photo-broker[href] {
    display: block;
    transition: opacity 320ms;
}

.welcome-section .broker-content .photo-broker[href]:hover {
    opacity: .8;
}

.welcome-section .broker-content .photo-broker-fixed {
    bottom: 0;
    border-radius: 0;
    background-size: contain;
    background-position: 50% 100%;
    background-repeat: no-repeat;
}

.welcome-section .big-circle,
.welcome-section .small-circle,
.welcome-section .middle-circle {
    position: absolute;
    border-radius: 100%;
    background: #ccc;
    opacity: 0.4;
}

body:not(.render-bg-assets) :is(.big-circle, .small-circle, .middle-circle) {
    display: none;
}

body.render-bg-assets--custom :is(.big-circle, .small-circle, .middle-circle) {
    border-radius: 0;
    background: var(--asset-url);
    opacity: .08;
}

.welcome-section .big-circle {
    left: -10%;
    bottom: 15%;
    width: 500px;
    height: 500px;
}

.welcome-section .small-circle {
    right: 4%;
    bottom: 8%;
    width: 250px;
    height: 250px;
}

.welcome-section .middle-circle {
    width: 200px;
    height: 200px;
    top: 30%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.estate-info-grid {
    position: relative;
    margin: 80px 0 60px 0;
    padding: 0;
    display: flex;
    width: calc(50% - 30px);
}

.estate-info-grid .box {
    position: relative;
    background: var(--white-color);
    text-align: center;
    padding: 20px 30px;
    box-sizing: border-box;
    border-right: 1px solid rgba(0, 0, 0, 0.1);
    pointer-events: auto;
}

.estate-info-grid .box span {
    position: relative;
    display: block;
    line-height: 1.1em;
}

.estate-info-grid .box span.bold {
    font-size: 42px;
    color: var(--primary-color);
}

.estate-info-grid .box span.small {
    font-size: 12px;
}

.estate-info-grid .box:nth-child(1) {
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;
}

.estate-info-grid .box:nth-last-child(1) {
    display: grid;
    place-items: center;
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
    border: none;
}

.estate-info-grid .box a.flop {
    position: relative;
    background: var(--secondary-color);
    color: var(--white-color);
    text-decoration: none;
    display: block;
    padding: 1.125em 1.5em;
    border-radius: .5rem;
    transition: 350ms;
}

.estate-info-grid .box a.flop:after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, .24);
    opacity: 0;
    transition: 350ms;
    pointer-events: none;
    border-radius: .5rem;
}

.estate-info-grid .box a.flop:hover:after {
    opacity: 1;
}

.global-grid {
    position: relative;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: nowrap;
}

.global-grid .gl-item {
    position: relative;
    margin: 0;
    flex-grow: 1;
    flex-basis: 0;
}

.global-grid .gl-item.small {
    flex-grow: 0;
    flex-basis: auto;
    width: 60px;
}

.global-grid .gl-item .image-zone {
    position: relative;
    width: 100%;
    padding-bottom: 100%;
    background: var(--primary-color);
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;
    border-top-right-radius: 4px;
    overflow: hidden;
}

.global-grid .gl-item .image-zone--photo {
    aspect-ratio: 2/3;
    padding: 0;
}

.global-grid .gl-item .image-zone--wide {
    aspect-ratio: 16/9;
    padding: 0;
}

.global-grid .gl-item .image-zone.white {
    background: var(--white-color);
    box-shadow: rgba(50, 50, 93, 0.25) 0px 13px 27px -5px, rgba(0, 0, 0, 0.3) 0px 8px 16px -8px;
}

.global-grid .gl-item .image-zone i {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    text-align: center;
    color: currentColor;
    font-size: 64px;
    transition: 800ms;
}

.global-grid .gl-item .image-zone img {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 800ms;
}

.global-grid .gl-item .image-zone--photo img {
    object-position: top;
}

.ar-item:hover .global-grid .gl-item .image-zone :is(img, i) {
    scale: 1.12
}

.global-grid .gl-item .square {
    position: relative;
    width: 60px;
    height: 60px;
    line-height: 60px;
    font-size: 18px;
    background: var(--primary-color);
    color: var(--white-color);
    text-align: center;
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
    border-bottom-left-radius: 4px;
    transition: 350ms;
}

.global-grid .gl-item span.vertical {
    position: absolute;
    right: -20px;
    bottom: 130px;
    display: block;
    width: 100px;
    height: 20px;
    transform: rotate(-90deg);
    color: var(--black-color);
}

.global-grid .gl-item span.vertical:before {
    position: absolute;
    content: '';
    top: 9px;
    left: -70px;
    width: 50px;
    height: 1px;
    background: var(--black-color);
    opacity: 0.5;
}

.global-grid .gl-item span.vertical.big {
    width: 150px;
    right: -47px;
}

.global-grid .gl-item span.vertical.big:before {
    width: 40px;
    left: -55px;
}


.global-grid .gl-item .square:hover {
    background: var(--secondary-color);
}

.global-grid.ar-align-self {
    align-items: center;
}

.global-grid .gl-item span.title {
    position: relative;
    display: block;
    padding: 0 20px 0 0;
    line-height: 1.3em;
    color: var(--black-color);
}


.ar-grid.ar_service_flip a.ar-item {
    color: var(--primary-color);
}

.glitch {
    position: relative;
    padding: 70px 0 60px 0;
    display: block;
    margin-bottom: 0;
}

.glitch h2,
.glitch .gl-item span.title,
.glitch .global-grid .gl-item span.vertical {
    color: black;
}

.glitch.nemovitosti h2,
.glitch.nemovitosti .gl-item span.title,
.glitch.nemovitosti .global-grid .gl-item span.vertical {
    color: white;
}

.glitch .global-grid .gl-item span.vertical:before {
    background: #fff;
}

.glitch .global-grid .gl-item .square,
.glitch .slick-prev,
.glitch .slick-next {
    background: var(--secondary-color);
}

.glitch .global-grid .gl-item .square:hover,
.glitch .slick-prev:hover,
.glitch .slick-next:hover {
    opacity: .8;
}

.glitch .wp-block-group__inner-container {
    position: relative;
    z-index: 1;
}

.glitch .wp-block-group__inner-container:before {
    position: absolute;
    content: '';
    right: -50px;
    top: -20px;
    width: 200px;
    height: 200px;
    border-radius: 100%;
    background: #666;
    opacity: .24;
    z-index: -1;
}

.glitch:before {
    position: absolute;
    content: '';
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: white;
    z-index: -2;
}

.glitch:after {
    position: absolute;
    bottom: 15%;
    left: -40px;
    content: '';
    width: 300px;
    height: 300px;
    background: #333;
    border-radius: 100%;
    z-index: -1;
    opacity: 0.64;
}

body:not(.render-bg-assets) .glitch:after,
body:not(.render-bg-assets) .glitch .wp-block-group__inner-container:before {
    content: none;
    display: none;
}

body.render-bg-assets--custom .glitch:after,
body.render-bg-assets--custom .glitch .wp-block-group__inner-container:before {
    border-radius: 0;
    background: var(--asset-url);
    filter: opacity(.4);
}

.entry-content .wp-block-spacer {
    margin-bottom: 0;
}

.entry-content .wp-block-group__inner-container {
    z-index: 2;
}

.news-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 20px 20px;
    margin-bottom: 40px;
}

.news-item {
    position: relative;
    border-radius: 4px;
    overflow: hidden;
    aspect-ratio: 4/3;
    min-height: 260px;
}

.news-item:first-child {
    grid-row: span 2;
    grid-column: span 2;
}

.news-item .news-group {
    position: relative;
    width: 100%;
}

.news-item img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 990ms;
}

.news-item:hover img {
    transform: scale(1.1);
}

.news-item .text-field {
    position: absolute;
    width: 100%;
    left: 0;
    bottom: 0;
    padding: 50px 30px 30px 30px;
    box-sizing: border-box;
    background-image: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.85));

}

.news-item .text-field .date {
    position: relative;
    color: #fff;
    font-size: 12px;
}

.news-item .text-field .date span {
    position: relative;
    display: block;
    line-height: 1.1em;
}

.news-item .text-field .date:after {
    position: relative;
    content: '';
    width: 50px;
    height: 2px;
    background: #fff;
    display: block;
    margin: 12px 0;
}

.news-item .text-field h3 {
    position: relative;
    margin: 0;
    padding: 0;
    color: var(--white-color);
    font-size: 16px;
    text-transform: uppercase;
}

.wp-block-media-text .wp-block-media-text__media {
    border-radius: 4px;
    overflow: hidden;
    box-shadow: rgba(100, 100, 111, 0.2) 0 7px 29px 0;
}

.ar-reference .ar-item {
    background: var(--white-color);
    padding: 40px;
    box-sizing: border-box;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
    color: var(--main-color);
}

.ar-reference .ar-item .logic {
    position: relative;
    margin: 0 0 25px 0;
    padding: 0;
    display: flex;
    flex-wrap: nowrap;
    align-items: flex-start;
}

.ar-reference .ar-item .logic .box {
    position: relative;
    flex-grow: 1;
    flex-basis: 0;
}

.ar-reference .ar-item .logic .box:not(.profile) {
    margin-top: .75em;
}

.ar-reference .ar-item .logic .box.profile {
    flex-grow: 0;
    flex-basis: auto;
    display: grid;
    place-items: center;
    width: 64px;
    height: 64px;
    background: var(--primary-color);
    border-radius: 4px;
    text-align: center;
}

.ar-reference .ar-item .logic .box.profile i {
    font-size: 22px;
    color: var(--white-color);
}

.ar-reference .ar-item .logic .box .text-side {
    position: relative;
    padding: 0 0 0 20px;
}

.ar-reference .ar-item .logic .box .text-side h3 {
    position: relative;
    margin: 0;
    padding: 0;
    font-size: 16px;
}

.ar-reference .ar-item .logic .box .text-side h4 {
    margin: 0;
}

.ar-reference .ar-item .logic .box .text-side h3 .top-h2-script.bold {
    display: none;
}

.ar-reference .ar-item .logic .box .text-side span.date {
    position: relative;
    display: block;
    font-size: 12px;
    margin-top: 6px;
}

.ar-single-desc a:not([class]) {
    position: relative;
    color: var(--primary-color);
}

.ar-single-desc a:hover {
    text-decoration: none;
}

.btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 1.25em 2em;
    text-decoration: none;
    color: var(--white-color);
    background: var(--primary-color);
    transition: 350ms;
    box-sizing: border-box;
    border-radius: .5em;
    font-size: 1.125em;
    overflow: hidden;
}

.btn:after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .4);
    mix-blend-mode: overlay;
    opacity: 0;
    transition: 350ms;
    border-radius: .5em;
    pointer-events: none;
}

.btn:hover:after {
    opacity: 1;
}


.side-panel {
    position: fixed;
    left: -500px;
    width: 380px;
    padding: 20px 50px 50px 50px;
    box-sizing: border-box;
    height: 100%;
    background: var(--white-color);
    z-index: 9999;
    box-shadow: 0 40px 60px rgba(0, 0, 0, 0.45);
    overflow-y: auto;
    transition: 350ms;
}

.side-panel a.logo {
    position: relative;
    width: 100%;
    height: auto;
    display: block;
}

.side-panel a.logo:after {
    position: relative;
    content: '';
    width: 30%;
    height: 2px;
    background: var(--primary-color);
    margin: 25px auto 45px auto;
    display: block;
}

.side-panel a.logo img {
    display: block;
    width: 100%;
    height: auto;
}

.side-panel ul {
    position: relative;
    margin: 0 0 30px 0;
    padding: 0;
    list-style: none;
}

.side-panel ul>li {
    position: relative;
    border-bottom: 1px solid rgba(0, 0, 0, .1);
}

.side-panel ul>li:nth-last-child(1) {
    border: none;
}

.side-panel ul>li>a {
    position: relative;
    display: block;
    padding: 10px 0;
    box-sizing: border-box;
    color: #8f8f8f;
    text-decoration: none;
    transition: 350ms;
}

.side-panel ul>li.current-menu-item>a,
.side-panel ul>li>a:hover {
    color: var(--secondary-color);
}

.side-panel ul>li.current-menu-item~li.current-menu-item>a[href*="/#"] {
    color: #8f8f8f;
}

.side-panel ul>li.current-menu-item~li.current-menu-item>a:hover {
    color: var(--secondary-color);
}

.side-panel ul>li>ul.sub-menu {
    position: relative;
    margin: 0;
    list-style: none;
    box-sizing: border-box;
    background: #eaeaea;
}

.side-panel ul>li>ul.sub-menu li a {
    position: relative;
    display: block;
    font-size: 12px;
    padding: 10px;
}



.side-panel .broker-contact {
    position: relative;
    margin: 0 0 35px 0;
    padding: 0;
    list-style: none;
}

.side-panel .broker-contact>li {
    position: relative;
    margin: 0;
    border: none;
}

.side-panel .broker-contact li>.marvel {
    position: relative;
    display: block;
    padding: 10px 0 10px 50px;
    color: var(--black-color);
}

.side-panel .broker-contact li>.marvel span {
    position: relative;
    margin: 0;
    line-height: 1.1em;
    display: block;
}

.side-panel .broker-contact li>.marvel span.small-text {
    margin: 3px 0 0 0;
    font-size: 12px;
    color: var(--primary-color);
    transition: 350ms;
}

.side-panel .broker-contact li>.marvel i {
    position: absolute;
    left: 0;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    background: var(--primary-color);
    color: var(--white-color);
    border-radius: 100%;
    transition: 350ms;
}

.side-panel .broker-contact li>.marvel i:before {
    font-size: 18px;
}

.side-panel .broker-contact li>a.marvel:hover i {
    background: var(--secondary-color);
}

.side-panel .broker-contact li>a.marvel:hover span.small-text {
    color: var(--secondary-color);
}

.side-panel .social-menu {
    position: relative;
    margin: 0 -4px 35px -4px;
    padding: 0;
    list-style: none;
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
}

.side-panel .social-menu li {
    position: relative;
    margin: 0 4px;
}

.side-panel .social-menu li a {
    position: relative;
    line-height: 40px;
    text-align: center;
    transition: 350ms;
    width: 40px;
    height: 40px;
    display: block;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    text-decoration: none;
    padding: 0;
}

.side-panel .social-menu li a i {
    font-size: 18px;
    line-height: 40px;
}

.side-panel .social-menu li a:hover {
    background: var(--secondary-color);
    color: var(--white-color);
    border-color: var(--secondary-color);
}

.side-panel::-webkit-scrollbar {
    width: 5px;
}

/* Track */
.side-panel::-webkit-scrollbar-track {
    background: transparent;
}

/* Handle */
.side-panel::-webkit-scrollbar-thumb {
    background: #ebebeb;
}

/* Handle on hover */
.side-panel::-webkit-scrollbar-thumb:hover {
    background: #dddddd;
}

.side-panel .close {
    position: relative;
    margin: 0 0 35px 0;
    padding: 0;
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    cursor: pointer;
    justify-content: right;
}

.side-panel .close .box {
    position: relative;
}

.side-panel .close .box i,
.side-panel .close .box span {
    position: relative;
    transition: 350ms;
    display: block;
}

.side-panel .close .box i {
    width: 30px;
    height: 30px;
    line-height: 30px;
    background: var(--primary-color);
    color: var(--white-color);
    border-radius: 100%;
    text-align: center;
    transition: 350ms;
}

.side-panel .close .box span {
    font-size: 12px;
    margin: 0 0 0 7px;
}

.side-panel .close:hover .box i {
    background: var(--secondary-color);
}

.transparent-bg {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: transparent;
    z-index: -10;
    transition: 350ms;
}

.side-panel.display {
    left: 0;
}

.transparent-bg.display {
    z-index: 9998;
    background: rgba(0, 0, 0, 0.2);
}

.archive-perex {
    max-width: 1080px;
    margin-bottom: 40px;
}

.container {
    position: relative;
    width: 1480px;
    margin: 0 auto;
}

.container:after {
    position: relative;
    content: '';
    clear: both;
    width: 100%;
    height: 0;
    display: block;
}

body:not(.home) .entry-content {
    font-size: 16px;
    line-height: 1.8;
}

body:not(.home) .entry-content h2 {
    font-size: 2em;
    margin: 0 auto 1em;
}

body:not(.home) .entry-content h3 {
    font-family: 'PlayfairDisplay', arial, sans-serif;
    font-size: 1.5em;
}

body:not(.home) .entry-content h4 {
    font-family: 'PlayfairDisplay', arial, sans-serif;
    font-size: 1.25em;
}

body:not(.home) .entry-content h5 {
    font-family: 'gotham-bold', arial, sans-serif;
    font-size: 1.125em;
}

.entry-content .wp-block-column.has-background {
    padding: 1.5rem;
}

.entry-content ol.with-numbers {
    position: relative;
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: my-awesome-counter;
}

.entry-content ol.with-numbers li {
    position: relative;
    counter-increment: my-awesome-counter;
    margin: 0 0 35px 0;
    padding: 0 0 0 45px;
    box-sizing: border-box;
}

.entry-content ol.with-numbers li strong {
    font-size: 22px;
    display: block;
}

.entry-content ol.with-numbers li:nth-last-child(1) {
    margin: 0;
}

.entry-content ol.with-numbers li:nth-last-child(1):after {
    display: none;
}

.entry-content ol.with-numbers li::before {
    position: absolute;
    width: 30px;
    height: 30px;
    border-radius: 100%;
    text-align: center;
    line-height: 30px;
    color: #fff;
    font-size: 18px;
    font-weight: bold;
    background-color: var(--primary-color);
    top: -7px;
    left: 0;
    content: "" counter(my-awesome-counter);
}


.zone-grid {
    position: relative;
    margin: 0 -20px;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
}

.zone-grid .box {
    position: relative;
    margin: 0 20px 40px 20px;
    flex: 1;
    flex-basis: 0;
}

.zone-grid .box.fixed {
    flex: 0;
    flex-basis: auto;
    width: 500px;
}

.zone-grid .box.ar-content-side h2 {
    font-size: 28px;
}

.zone-grid .box.ar-content-side .top-h2-script {
    display: none !important;
}


.ar-align-center {
    position: relative;
    text-align: center;
    display: block;
}

.ar-align-center h1.size-404 {
    position: relative;
    margin: 0 0 20px 0;
    text-align: center;
    font-size: 8rem;
    line-height: 1em;
    color: var(--primary-color);
}

.ar-align-center p.size-404 {
    position: relative;
    margin: 0;
    padding: 0;
    font-size: 26px;
}

.ar-align-center p.size-small {
    position: relative;
    margin: 10px auto;
    width: 50%;
    font-size: 18px;
}

.ar-align-center a.ar-large-btn {
    position: relative;
    display: table;
    margin: 35px auto 40px auto;
    padding: 15px 35px;
    border: 2px solid var(--black-color);
    color: var(--black-color);
    box-sizing: border-box;
    transition: 350ms;
    text-decoration: none;
    border-radius: 5px;
}

.ar-align-center a.ar-large-btn:hover {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
    color: var(--white-color);
}


ul.ar_breadcrumbs,
div.ar_breadcrumbs>span {
    position: relative;
    margin: 16px -8px 40px;
    padding: 0;
    list-style: none;
    font-size: 11px;
    display: flex;
    text-transform: uppercase;
    flex-wrap: wrap;
}

ul.ar_breadcrumbs li:not(.separator),
div.ar_breadcrumbs>span>* {
    position: relative;
    margin: 0 8px;
}

.ar_breadcrumbs a {
    position: relative;
    display: block;
    color: var(--secondary-color);
}

.ar_breadcrumbs a:hover {
    text-decoration: none;
}

form {
    position: relative;
}

form p {
    position: relative;
    margin: 0 -10px;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
}

form p br {
    display: none;
}

form p label,
.form-grid p label {
    display: block;
    position: relative;
    width: 100%;
}

form p label.half {
    width: calc(100% * (1/2) - 0px - 0px - 20px);
}

form p label.spread {
    font-size: 13px;
    line-height: 1.3em;
}

form p label.spread a {
    color: var(--primary-color);
    text-decoration: underline;
}

form p label.spread a:hover {
    text-decoration: none;
}

form p label span.ar-icon {
    position: absolute;
    z-index: 2;
    top: 13px;
    left: 18px;
    font-size: 18px;
    color: var(--primary-color);
    transition: 350ms;
}

form p label span.wpcf7-form-control-wrap {
    position: relative;
    display: block;
}

/* Base styles for all inputs */
form p label .wpcf7-form-control:not(.wpcf7-acceptance),
form.hf-form input:not([type="submit"]):not([type="checkbox"]):not([type="radio"]),
form.hf-form textarea,
form.hf-form select {
    position: relative;
    width: 100%;
    border: 2px solid #000000;
    color: #707070;
    padding: 13px 13px 13px 20px;
    border-radius: 4px;
    box-sizing: border-box;
    font-size: 14px;
    transition: 350ms;
    background-color: #fff;
}

/* Specific for select - custom arrow */
form.hf-form select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23b6052b'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 24px;
    cursor: pointer;
}

/* Force padding when icon is present - MORE SPECIFIC SELECTORS */
form p label span.ar-icon~.wpcf7-form-control,
form p label span.ar-icon~input,
form p label span.ar-icon~textarea,
form p label span.ar-icon~select,
.hf-form .ar-icon~input,
.hf-form .ar-icon~textarea,
.hf-form .ar-icon~select {
    padding-left: 50px !important;
    /* Force override */
}

form p label .wpcf7-form-control.wpcf7-textarea,
form.hf-form textarea {
    height: 120px;
}

form p label .wpcf7-form-control:not(.wpcf7-acceptance):focus,
form.hf-form input:not([type="submit"]):not([type="checkbox"]):not([type="radio"]):focus,
form.hf-form textarea:focus,
form.hf-form select:focus {
    border-color: var(--primary-color);
    color: var(--black-color);
}

form p label:focus-within .ar-icon {
    left: 14px;
}

form p label .wpcf7-form-control.wpcf7-acceptance .wpcf7-list-item {
    margin: 0
}

form p label .wpcf7-form-control.wpcf7-acceptance .wpcf7-list-item>label {
    margin: 0;
}

form p label .wpcf7-form-control.wpcf7-acceptance .wpcf7-list-item-label {
    font-size: 14px;
    color: #969696;
}

form p label .wpcf7-form-control.wpcf7-submit,
form.hf-form input[type="submit"],
form.hf-form button[type="submit"] {
    font: inherit;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.85em 2.5em;
    /* Zmenšeno z 1.25em */
    background: var(--primary-color);
    color: var(--white-color);
    border: 2px solid var(--primary-color);
    border-radius: 4px;
    cursor: pointer;
    width: auto;
    min-width: 200px;
    transition: 350ms;
}

/* Grid Layout pro nový formulář */
.form-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 30px;
}

.form-grid p {
    margin: 0;
    width: 100%;
}

.form-grid p.half {
    width: calc(50% - 7.5px);
}

@media (max-width: 768px) {
    .form-grid p.half {
        width: 100%;
    }
}

.form-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin-top: 20px;
    gap: 20px;
}

.form-footer .privacy {
    font-size: 13px;
    color: #333;
}

.form-footer .privacy a {
    color: var(--primary-color);
    text-decoration: underline;
}

@media (max-width: 768px) {
    .form-footer {
        flex-direction: column;
        align-items: flex-start;
    }

    .form-footer input[type="submit"] {
        width: 100%;
    }
}

form p label .wpcf7-form-control.wpcf7-submit:hover {
    border-color: var(--secondary-color);
    background: var(--secondary-color);
}

/* Zprávy po odeslání (v úspěchu i chybě) */
.hf-message {
    padding: 15px 20px;
    border-radius: 4px;
    font-size: 15px;
    margin-top: 20px;
    line-height: 1.4;
    width: 100%;
    box-sizing: border-box;
}

.hf-message-success {
    background-color: #c3e4c3;
    border: 1px solid green;
    color: var(--black-color);
}

.hf-message-error {
    background-color: #fff0f0;
    border: 1px solid #d10000;
    color: #d10000;
}

form .wpcf7-spinner {
    position: absolute;
    top: 8px;
    left: 0;
}

.wpcf7-not-valid-tip {
    position: relative;
    display: table;
    font-size: 12px;
    color: #fff;
    background: #d10000;
    padding: 4px 8px;
    box-sizing: border-box;
    line-height: 12px;
}

.empty-line {
    position: relative;
    width: 100%;
    height: 60px;
}

.ar-grid {
    position: relative;
    margin: 0 -15px;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
}

.ar-line-center {
    align-items: center;
}

.ar-item {
    position: relative;
    margin: 0 15px 30px 15px;
    box-sizing: border-box;
    text-decoration: none;
}

.ar-item.ar-hidden {
    overflow: hidden;
    border-radius: 4px;
}

.has-1-columns .ar-item {
    width: calc(100% * (1/1) - 0px - 0px - 30px);
}

.has-2-columns .ar-item {
    width: calc(100% * (1/2) - 0px - 0px - 30px);
}

.has-3-columns .ar-item {
    width: calc(100% * (1/3) - 0px - 0px - 30px);
}

.has-4-columns .ar-item {
    width: calc(100% * (1/4) - 0px - 0px - 30px);
}

.has-5-columns .ar-item {
    width: calc(100% * (1/5) - 0px - 0px - 30px);
}

.has-6-columns .ar-item {
    width: calc(100% * (1/6) - 0px - 0px - 30px);
}

.ar-item .image-field {
    position: relative;
    width: 100%;
    padding-bottom: 80%;
    background-size: cover;
    background-position: 50% 50%;
    transition: 990ms;
}

.ar-item:hover .image-field {
    transform: scale(1.1);
}

.ar-item .text-feild {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    padding: 35px;
    box-sizing: border-box;
    background-image: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.85));
}

.ar-item .text-feild .date {
    position: relative;
    color: #fff;
    font-size: 12px;
}

.ar-item .text-feild .date span {
    position: relative;
    display: block;
}

.ar-item .text-feild .date:after {
    position: relative;
    content: '';
    width: 50px;
    height: 2px;
    background: #fff;
    display: block;
    margin: 12px 0;
}

.ar-item .text-feild h2 {
    position: relative;
    margin: 0;
    padding: 0;
    color: var(--white-color);
    font-size: 16px;
    text-transform: uppercase;
}

.ar-item .text-feild h2:before,
.ar-item .text-feild h2:after {
    display: none;
}

.ar-item .text-feild h2 .top-h2-script {
    display: none;
}



.main-image-holder {
    position: relative;
    width: 100%;
    padding-bottom: 90%;
    border-radius: 4px;
    overflow: hidden;
    background: var(--primary-color);
    box-shadow: rgba(17, 12, 46, 0.15) 0 48px 100px 0;
}

.main-image-holder--photo {
    aspect-ratio: 2/3;
    padding: 0;
}

.main-image-holder img {
    position: absolute;
    top: 50px;
    left: 50px;
    bottom: 50px;
    right: 50px;
    object-fit: cover;
    box-shadow: rgba(50, 50, 93, 0.25) 0 13px 27px -5px, rgba(0, 0, 0, 0.3) 0 8px 16px -8px;
    display: block;
    width: calc(100% - 100px);
    height: calc(100% - 100px);
    border-radius: 4px;
}

.main-image-holder--photo img {
    object-position: top;
}

@media(min-width: 1200px) {
    .worker-detail {
        padding: 0 80px 0 64px;
    }

    .worker-detail .desc {
        text-wrap: balance;
    }
}

.global-desc {
    position: relative;
}

.global-desc h1 {
    position: relative;
    color: var(--black-color);
    margin: 0 0 10px 0;
    padding: 0;
    font-size: 56px;
}

.global-desc span.position {
    position: relative;
    display: block;
    font-size: 14px;
    text-transform: uppercase;
    color: var(--black-color);
    margin: 0 0 8px 0;
}

.global-desc .desc {
    position: relative;
    font-size: 16px;
    line-height: 1.8;
    margin: 0 0 40px 0;
}

.global-desc .desc p {
    position: relative;
}

.broker-information {
    position: relative;
    margin: 0;
    padding: 0;
    list-style: none;
}

.broker-information li {
    position: relative;
    margin: 0 0 15px 0;
}

.broker-information li:nth-last-child(1) {
    margin: 0;
}

.broker-information li a {
    position: relative;
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    text-decoration: none;
    color: var(--main-color);
}

.broker-information li a .item {
    position: relative;
    margin: 0;
    flex-grow: 1;
    flex-basis: 0;
}

.broker-information li a .item.icon {
    flex-grow: 0;
    flex-basis: auto;
    width: 40px;
}

.broker-information li a .item.icon i {
    position: relative;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    color: var(--white-color);
    background: var(--primary-color);
    border-radius: 100%;
    display: block;
    font-size: 18px;
    transition: 350ms;
}

.broker-information li a .item span {
    position: relative;
    display: block;
    margin: 0 0 0 15px;
}

.broker-information li a .item span.small {
    font-size: 12px;
    color: var(--primary-color);
}

.broker-information li a .item span.bold {
    font-size: 16px;
    color: var(--black-color);
}

.broker-information li a:hover .item.icon i {
    background: var(--secondary-color);
}

.cover-image {
    position: relative;
    margin: 0 0 40px 0;
    padding: 0;
    width: 100%;
    height: auto;
    display: flex;
    border-radius: 4px;
    box-shadow: rgba(50, 50, 93, 0.25) 0 50px 100px -20px, rgba(0, 0, 0, 0.3) 0 30px 60px -30px;
    overflow: hidden;
}

.cover-image--matterport {
    aspect-ratio: 94/53;
}

.cover-image--matterport iframe {
    width: 100%;
    height: 100%;
}

.ar-single-desc {
    position: relative;
    width: 100%;
    font-size: 16px;
}

.ar-single-desc p {
    line-height: 1.5em;
}

.ar-single-desc h2 {
    font-size: 28px;
    margin: 0 0 25px 0;
}

.ar-single-desc ol>li,
.ar-single-desc ul>li {
    margin-block-end: .5em;
}

.ar-single-desc ol>li::marker {
    font-weight: 700;
    color: var(--primary-color);
}

.ar-single-desc h2 .top-h2-script {
    display: none;
}

.small-news .ar-item .news-holder {
    position: relative;
    width: 100%;
    padding-bottom: 100%;
    border-radius: 4px;
    overflow: hidden;
}

.small-news .ar-item .news-holder img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 990ms;
}

.small-news .ar-item:hover .news-holder img {
    transform: scale(1.1);
}

.small-news .ar-item .news-holder .text-field {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    padding: 40px 20px 20px 20px;
    background-image: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.65));
    font-size: 12px;
    color: var(--white-color);
    box-sizing: border-box;
}

.small-news .ar-item .news-holder .text-field .date {
    position: relative;
    display: block;
}

.small-news .ar-item .news-holder .text-field .date:after {
    position: relative;
    content: '';
    width: 40px;
    height: 2px;
    background: var(--white-color);
    margin: 8px 0;
    display: block;
}

.small-news .ar-item .news-holder .text-field .date span {
    position: relative;
    display: block;
}

.small-news .ar-item .news-holder .text-field h3 {
    position: relative;
    margin: 0;
    color: var(--white-color);
    font-size: 10px;
}

.emoty-flex {
    position: relative;
    width: 100%;
    height: 50px;
}

.gallery {
    position: relative;
    margin: 30px -10px 0 -10px;
    padding: 0;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
}

.gallery li {
    position: relative;
    width: calc(100% * (1/4) - 0px - 0px - 20px);
    margin: 0 10px 20px 10px;
}

.gallery li a {
    position: relative;
    display: block;
    text-decoration: none;
    width: 100%;
    padding-bottom: 100%;
    border-radius: 4px;
    overflow: hidden;
    background: var(--primary-color);
}

.gallery li a img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 990ms;
}

.gallery li a:hover img {
    transform: scale(1.1);
}

.gallery .slick-prev,
.gallery .slick-next {
    top: auto;
    bottom: -25px;
    width: 40px;
    height: 40px;
}

.gallery .slick-prev:before,
.gallery .slick-next:before {
    font-size: 14px;
}

.gallery .slick-next {
    right: 7px;
}

.gallery .slick-prev {
    right: 50px;
}

.absolute-hidden {
    position: relative;
    font-size: 0;
    line-height: 0;
    height: 0;
    margin: 0;
}

.ar-estate-grid {
    position: relative;
    margin: 0 0 20px 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.ar-estate-grid:after {
    position: absolute;
    content: '';
    left: 0;
    bottom: -10px;
    width: 100%;
    height: 1px;
    background: rgba(0, 0, 0, 0.1);
}

.ar-estate-grid .box {
    position: relative;
    margin: 0;
    box-sizing: border-box;
}

.ar-estate-grid .box span {
    position: relative;
    display: block;
}

.ar-estate-grid .box i {
    position: relative;
    display: block;
    width: 50px;
    height: 50px;
    line-height: 50px;
    text-align: center;
    font-size: 22px;
    background: var(--primary-color);
    color: var(--white-color);
    border-radius: 4px;
}

.ar-estate-grid .box:nth-child(2) {
    padding: 0 25px;
}

.ar-estate-grid .box.last {
    margin-left: auto;
}

.ar-estate-grid .box span.info-text {
    font-size: 14px;
    line-height: 1.1em;
    opacity: 0.75;
}

.metter {
    position: relative;
    width: 100%;
    height: 450px;
}

.video {
    position: relative;
    width: 100%;
    height: 450px;
    background: #000;
}

.ar-estate-grid .box span.high {
    font-size: 18px;
    text-transform: uppercase;
}

.ar-estate-grid .box span.normal {
    font-size: 14px;
}

.add-shadow .global-grid .gl-item .image-zone {
    box-shadow: rgba(50, 50, 93, 0.25) 0px 50px 100px -20px, rgba(0, 0, 0, 0.3) 0px 30px 60px -30px;
}

.ven-menu-on {
    display: none;
}

.top-h2-script {
    position: relative;
    margin: 0 0 10px 0;
    padding: 0 0 0 70px;
    font-size: 12px;
    text-transform: uppercase;
    color: var(--black-color);
    line-height: 1.2em;
    box-sizing: border-box;
    display: none;
}

.top-h2-script:before {
    position: absolute;
    content: '';
    top: 5px;
    left: 0;
    width: 50px;
    height: 2px;
    background: var(--black-color);
}

body.blog h1,
body.single.single-post h1,
body.single.single-ar_reference h1 {
    margin: 0 0 27px 0;
}


footer {
    position: relative;
}

footer .content-zone {
    position: relative;
    padding: 80px 0 20px 0;
}

footer .creator {
    position: relative;
    width: 100%;
    background: var(--black-color);
    color: rgba(255, 255, 255, 0.75);
    font-size: 12px;
    padding: 25px 0;
    box-sizing: border-box;
}

footer .creator .footer-grid {
    position: relative;
    margin: 0 -10px;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

footer .creator .footer-grid .box {
    position: relative;
    margin: 0 10px;
}

footer .creator .footer-grid .box.last {
    margin-left: auto;
}

footer .creator .footer-grid .box a.creator-logo {
    position: relative;
    display: block;
    width: auto;
    height: auto;
}

footer .creator .footer-grid .box a.creator-logo img {
    display: block;
    width: auto;
    height: 30px;
    filter: invert(100%) sepia(0) contrast(100%);
}

footer .broker-contact {
    position: relative;
    margin: 0;
    padding: 0;
    list-style: none;
}

footer .broker-contact a[href^=tel] {
    color: inherit;
    text-decoration: inherit;
}

footer .broker-contact span.marvel a[href^=tel] {
    pointer-events: none;
}

footer .broker-contact li {
    position: relative;
    margin: 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

footer .broker-contact li:nth-last-child(1) {
    border: none;
}

footer .broker-contact li .marvel {
    position: relative;
    text-decoration: none;
    display: block;
    padding: 13px 0 13px 50px;
}

footer .broker-contact li .marvel i {
    position: absolute;
    left: 0;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    border-radius: 100%;
    background: var(--primary-color);
    color: var(--white-color);
    font-size: 18px;
    transition: 350ms;
}

footer .broker-contact li .marvel span {
    position: relative;
    margin: 0;
    padding: 0;
    display: block;
}

footer .broker-contact li .marvel span.small-text {
    color: var(--primary-color);
}

footer .broker-contact li .marvel span.big-text {
    font-size: 18px;
    color: var(--black-color);
}

footer .broker-contact li a.marvel:hover i {
    background: var(--secondary-color);
}



@media screen and (min-width: 1960px) {
    header:before {
        width: calc((100vw - 1480px) / 2 + 120px)
    }
}

@media screen and (max-width: 1760px) {
    .is-vertical {
        left: -4.5%;
    }
}

@media screen and (max-width: 1700px) {
    .is-vertical {
        left: -3%;
        font-size: 13px;
    }
}

@media screen and (max-width: 1630px) {

    .container,
    .wp-block-group.alignwide .wp-block-group__inner-container,
    .entry-content>*:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.is-style-wide) {
        width: calc(100% - 2rem);
    }

    .container .entry-content>*:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.is-style-wide) {
        width: auto !important;
    }

    .wp-block-group.alignwide .wp-block-group__inner-container .container {
        width: 100%;
    }

    .is-vertical {
        left: -4%;
    }

    .welcome-section .broker-content .center-all .broker-name span.name,
    .welcome-section .broker-content .center-all .broker-name span.surname {
        font-size: 66px;
    }

    .welcome-section .broker-content .center-all .broker-name.smaller span.name,
    .welcome-section .broker-content .center-all .broker-name.smaller span.surname {
        font-size: 52px;
    }
}

@media screen and (max-width: 1600px) {

    .welcome-section .broker-content .center-all .broker-name span.name,
    .welcome-section .broker-content .center-all .broker-name span.surname {
        font-size: 60px;
    }

    .welcome-section .broker-content .center-all .broker-name.smaller span.name,
    .welcome-section .broker-content .center-all .broker-name.smaller span.surname {
        font-size: 48px;
    }

    .welcome-section .broker-content .center-all .broker-name div.bio {
        margin: 32px 0 20px;
        padding-right: 0;
    }
}

@media screen and (max-width: 1500px) {
    .is-vertical {
        display: none;
    }

    .has-5-columns .ar-item {
        width: calc(100% * (1/3) - 0px - 0px - 30px);
    }

    .has-6-columns .ar-item {
        width: calc(100% * (1/3) - 0px - 0px - 30px);
    }

    .btn {
        font-size: 1em;
    }

    .estate-info-grid {
        margin: 40px 0 0 0;
    }

    .estate-info-grid .box {
        padding: 20px;
    }

    .estate-info-grid .box span.bold {
        font-size: 30px;
    }

    .estate-info-grid .box a.flop {
        padding: 7px 15px;
    }

    .estate-info-grid .box span.small {
        font-size: 11px;
    }

    header {
        padding: 8px 0;
    }

    header:before {
        width: 100%;
    }

    header a.logo {
        height: 56px;
    }

    body.home .under-header {
        display: block;
        height: 120px;
    }

    .under-header {
        height: 120px;
    }

    .welcome-section .broker-content {
        height: auto;
        min-height: 600px;
    }

    .welcome-section .broker-content .photo-broker {
        top: 0;
        bottom: 0;
    }

    .welcome-section .broker-content .center-all {
        padding: 40px 0;
    }

    .news-item .text-field h3 {
        font-size: 13px;
    }

    .welcome-section .broker-content .center-all .broker-name span.name,
    .welcome-section .broker-content .center-all .broker-name span.surname {
        font-size: 56px;
    }

    .welcome-section .broker-content .center-all .broker-name.smaller span.name,
    .welcome-section .broker-content .center-all .broker-name.smaller span.surname {
        font-size: 40px;
    }

    .welcome-section .broker-content .center-all .broker-name div.bio {
        margin: 24px 0 16px;
        font-size: 14px;
    }

    .zone-grid .box.fixed {
        width: 400px;
    }

    .ven-menu-on {
        display: block;
    }

}

@media screen and (max-width: 1300px) {

    .welcome-section .broker-content .center-all .broker-name span.name,
    .welcome-section .broker-content .center-all .broker-name span.surname {
        font-size: 42px;
    }

    h2 {
        font-size: 28px;
    }

    .top-h2-script {
        margin: 0 0 7px 0;
        padding: 0 0 0 65px;
        font-size: 10px;
    }

    .news-grid {
        position: relative;
        display: flex;
        flex-wrap: wrap;
        margin: 0 -10px;
        gap: 0;
    }

    .news-grid .news-item {
        position: relative;
        margin: 0 10px 20px 10px;
        width: calc(100% * calc(1/3) - 0px - 0px - 20px);
    }

    .news-grid .news-item img {
        position: absolute;
    }

    .news-item .news-group,
    .news-item:nth-child(2) .news-group {
        padding-bottom: 80%;
    }

    .ar-reference .ar-item {
        padding: 25px;
    }

    .ar-reference .ar-item .logic .box.profile {
        width: 55px;
        height: 55px;
        line-height: 60px;
    }

    .ar-reference .ar-item .logic .box .text-side {
        padding: 0 0 0 15px;
    }

    .ar-reference .ar-item .desc {
        font-size: 12px;
    }

    .has-4-columns .ar-item {
        width: calc(100% * (1/3) - 0px - 0px - 30px);
    }

    .ar-foo-flex .ar-item {
        flex-grow: 0;
        flex-basis: auto;
        margin: 0 15px 30px 15px;
        width: calc(100% * (1/2) - 0px - 0px - 30px);
    }
}

@media screen and (max-width: 1200px) {
    .ar-grid.ar-respo-reverse {
        flex-direction: column-reverse;
    }

    .has-2-columns .ar-item {
        width: calc(100% * (1/1) - 0px - 0px - 30px);
    }


}

@media screen and (max-width: 1100px) {
    .news-grid .news-item {
        width: calc(100% * calc(1/2) - 0px - 0px - 20px);
    }

    .zone-grid .box,
    .zone-grid .box.fixed {
        width: 100%;
    }

    .welcome-section .broker-content .center-all .broker-name span.name,
    .welcome-section .broker-content .center-all .broker-name span.surname {
        font-size: 36px;
    }

    .welcome-section .broker-content .center-all .estate-info-grid {
        margin-top: 32px;
    }

    .estate-info-grid .box span.bold {
        font-size: 24px;
    }

    .estate-info-grid .box {
        padding: 12px 16px;
    }

    .welcome-section .middle-circle {
        display: none;
    }
}

@media screen and (max-width: 1000px) {
    .wp-block-media-text {
        display: block;
    }

    .wp-block-media-text .wp-block-media-text__content {
        padding: 25px 0;
    }

    .has-4-columns .ar-item {
        width: calc(100% * (1/2) - 0px - 0px - 30px);
    }

    .has-3-columns .ar-item {
        width: calc(100% * (1/2) - 0px - 0px - 30px);
    }

    .ar-smooth {
        display: none;
    }
}



@media screen and (max-width: 900px) {
    header .broker-contact {
        display: none;
    }

    header .social-menu {
        display: inline-flex;
        margin: 0;
        gap: 8px;
    }

    header .social-menu a[href] i {
        width: 32px;
        height: 32px;
        line-height: 32px;
    }

    header .social-menu a[href] i:before {
        font-size: 14px;
    }

    header .header-grid .box:nth-child(2) {
        margin-left: auto;
    }

    header .header-grid .box.last {
        margin-left: 0;
    }

    header .header-grid .box.last .respo-btn .box i {
        width: 32px;
        height: 32px;
        line-height: 32px;
    }

    header .header-grid .box.last .respo-btn .box i:before {
        font-size: 14px;
    }

    .has-5-columns .ar-item {
        width: calc(100% * (1/2) - 0px - 0px - 30px);
    }



    .glitch .wp-block-group__inner-container:before {
        display: none;
    }
}

@media screen and (max-width: 800px) {
    footer .creator .footer-grid {
        justify-content: center;
        align-items: center;
    }

    footer .creator .footer-grid .box {
        width: 100%;
        text-align: center;
    }

    footer .creator .footer-grid .box.last {
        margin-left: 10px;
        margin-top: 15px;
    }

    footer .creator .footer-grid .box a.creator-logo img {
        margin: 0 auto;
    }

    footer .creator .footer-grid .box p br {
        display: none;
    }

    body.home .under-header {
        height: 84px;
    }

    .welcome-section .broker-content {
        display: block;
    }

    .welcome-section .broker-content .photo-broker {
        position: relative;
        width: 100%;
        height: 400px;
        background-position: top;
    }

    .welcome-section .broker-content .center-all {
        padding: 40px 0 24px;
    }

    .welcome-section .broker-content .center-all .broker-name,
    .welcome-section .broker-content .center-all .estate-info-grid {
        width: 100%;
        max-width: 100%;
    }

    .welcome-section .small-circle {
        display: none;
    }

    .welcome-section .big-circle {
        left: -10%;
        bottom: 15%;
        width: 300px;
        height: 300px;
    }

    .has-6-columns .ar-item {
        width: calc(100% * (1/2) - 0px - 0px - 30px);
    }

    .ar-foo-flex .ar-item {
        flex-grow: 0;
        flex-basis: auto;
        margin: 0 15px 30px 15px;
        width: calc(100% * (1/1) - 0px - 0px - 30px);
    }
}

@media screen and (max-width: 700px) {
    .glitch:after {
        width: 150px;
        height: 150px;
    }


    .news-grid .news-item {
        width: calc(100% * calc(1/1) - 0px - 0px - 20px);
    }

    form p label.half {
        width: calc(100% * (1/1) - 0px - 0px - 20px);
    }

    .has-5-columns .ar-item {
        width: calc(100% * (1/1) - 0px - 0px - 30px);
    }

    .global-grid .gl-item .image-zone.white .anim-lord {
        position: absolute;
        width: 140px;
        height: 140px;
        padding: calc(50% - 70px);
    }

    h1 {
        font-size: 36px;
    }

    .under-title {
        font-size: 10px;
        padding: 0;
    }

    .under-title:before {
        display: none;
    }

    .has-4-columns .ar-item {
        width: calc(100% * (1/1) - 0px - 0px - 30px);
    }

    .has-3-columns .ar-item {
        width: calc(100% * (1/1) - 0px - 0px - 30px);
    }
}

@media screen and (max-width: 600px) {
    .global-desc h1 {
        font-size: 36px;
    }

    h2 {
        font-size: 20px;
    }

    .top-h2-script {
        margin: 0 0 4px 0;
        padding: 0;
        font-size: 10px;
    }

    .top-h2-script:before {
        display: none;
    }

    .side-panel {
        width: 80%;
        left: -90%;
    }

    .welcome-section .broker-content .center-all .broker-name.smaller span.name,
    .welcome-section .broker-content .center-all .broker-name.smaller span.surname {
        font-size: 32px;
    }

    .welcome-section .broker-content .center-all .broker-name.smaller span.name {
        margin-right: .12em;
    }

    .main-image-holder img {
        top: 30px;
        left: 30px;
        bottom: 30px;
        right: 30px;
        width: calc(100% - 60px);
        height: calc(100% - 60px);
    }

    .gallery li {
        width: calc(100% * (1/2) - 0px - 0px - 20px);
    }

    .ar-estate-grid .box i {
        width: 50px;
        height: 50px;
        line-height: 50px;
        font-size: 20px;
    }

    .ar-estate-grid .box:nth-child(2) {
        padding: 0 15px;
    }

    .ar-estate-grid .box span.info-text {
        font-size: 12px;
    }

    .ar-estate-grid .box span.high,
    .ar-estate-grid .box span.normal {
        font-size: 14px;
    }

    footer .broker-contact li .marvel span.big-text {
        font-size: 16px;
    }
}

@media screen and (max-width: 520px) {
    h1 {
        font-size: 30px;
    }

    .global-grid .gl-item .image-zone.white .anim-lord {
        width: 80px;
        height: 80px;
        padding: calc(50% - 40px);
    }

    .side-panel {
        padding: 20px 30px 30px 30px;
    }

    .has-6-columns .ar-item {
        width: calc(100% * (1/1) - 0px - 0px - 30px);
    }

    .welcome-section .broker-content .photo-broker {
        height: 400px;
        background-size: cover;
    }
}

.AppFooter {
    font-size: .875rem;
    padding-top: 2em;
    padding-bottom: 2em;
    line-height: 1.24;
    color: #eee;
    background: #000;
}

@media (max-width: 640px) {
    .AppFooter {
        line-height: 1;
    }
}

.AppFooter>div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1em;
}

.AppFooter>div:after {
    content: none;
}

.AppFooter a {
    color: inherit;
    transition: opacity .24s ease;
}

.AppFooter a.u-inlineLink:hover {
    opacity: .8;
    text-decoration: none;
}

.AppFooter small {
    font-size: .75em;
    opacity: .64;
}

.AppFooter-agency {
    display: flex;
    align-items: center;
}

.AppFooter-agency span {
    margin-right: .625em;
}

@media (max-width: 640px) {
    .AppFooter-agency span {
        display: none;
    }
}

.AppFooter-logo {
    display: flex;
    height: 2.5em;
}

@media (max-width: 640px) {
    .AppFooter-logo {
        height: 2em;
    }
}

.AppFooter-logo svg {
    width: auto;
    height: 100%;
}

.c-brand {
    fill: #fff;
}

.c-accent {
    fill: #bbb;
}

body.home .entry-content>.alignwide:not(.glitch) {
    max-width: 1680px;
}

body.home .entry-content>.alignwide>.wp-block-media-text__content {
    place-self: center;
    max-width: 640px;
    padding: 0 32px 40px;
}


body.home .entry-content>.alignwide>.wp-block-media-text__content p {
    font-size: 18px;
    line-height: 1.8;
}

@media screen and (max-width: 960px) {
    body.home .entry-content>.alignwide>.wp-block-media-text__content p {
        font-size: 16px;
    }
}

body.home .entry-content>.alignwide>.wp-block-media-text__content .wp-block-buttons {
    margin-top: 2em;
}

.loans {
    position: relative;
    background: #fff;
    padding: 60px 40px;
    box-sizing: border-box;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.20);
    margin: 32px 0;
}

.loans .slidecontainer {
    position: relative;
    width: 100%;
    padding: 0 64px 0 0;
    box-sizing: border-box;
}

.loans .slidecontainer .how-much {
    position: relative;
    display: block;
    width: 100%;
    margin: 0 0 40px 0;
}

.loans .slidecontainer .how-much.last {
    margin: 0;
}

.loans .slidecontainer .how-much:after,
.loan .results:after {
    position: relative;
    content: '';
    width: 100%;
    height: 0;
    clear: both;
    display: block;
}

.loans .slidecontainer .how-much .text,
.loans .slidecontainer .how-much .small-text {
    /* Fix for standard and cross-browser appearance */
    -webkit-appearance: none;
    appearance: none;
    position: relative;
    width: 50%;
    float: left;
}

.loans .slidecontainer .how-much .text .small-text,
.loans .slidecontainer .how-much .text .big-text {
    position: relative;
    width: 100%;
    display: block;
}

.loans .slidecontainer .how-much .text .small-text {
    font-size: 12px;
    color: #969696;
}

.loans .slidecontainer .how-much .text .big-text {
    font-size: 30px;
}

.loans .slidecontainer .how-much .text.right,
.loans .slidecontainer .how-much .small-text.right {
    text-align: right;
}

.loans .slidecontainer .how-much .small-text {
    font-size: 12px;
}

.loans input[type=range] {
    width: 100%;
    margin: 13px 0 6px 0;
    background-color: transparent;
    -webkit-appearance: none;
    appearance: none;
}

.loans input[type=range]:focus {
    outline: none;
}

.loans input[type=range]::-webkit-slider-runnable-track {
    background: #e8e8e8;
    border: none;
    width: 100%;
    height: 9px;
    cursor: pointer;
    border-radius: 5px;
}

.loans input[type=range]::-moz-range-track {
    background: #e8e8e8;
    border: none;
    width: 100%;
    height: 9px;
    cursor: pointer;
    border-radius: 5px;
}

.loans input[type=range]::-webkit-slider-thumb {
    margin-top: -7px;
    width: 22px;
    height: 22px;
    background: var(--primary-color);
    border: none;
    border-radius: 100%;
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
}

.loans input[type=range]::-moz-range-thumb {
    margin-top: -7px;
    width: 22px;
    height: 22px;
    background: var(--primary-color);
    border: none;
    border-radius: 100%;
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
}

@media screen and (max-width : 780px) {
    .loans .slidecontainer {
        padding: 0 0 40px 0;
    }
}

@media screen and (max-width : 700px) {
    .loans {
        padding: 32px 24px 0;
    }

    .loans .slidecontainer .how-much .text .big-text {
        font-size: 22px;
    }
}



.fa-user:before {
    content: "\f007";
}

.ar-reference .ar-item .logic .box.profile i {
    color: #b1aeae !important;

}

.glitch.nemovitosti:before {
    background-color: #b1aeae !important;
}

/* ==========================================================================
   Realty single (polyweb_realty) – component styles
   ========================================================================== */

:root {
    --qr-primary: #b6052b;
    --qr-accent: #024558;
    --qr-text: #111827;
    --qr-muted: rgba(17, 24, 39, .7);
    --qr-gray-bg: #b1aeae;
    --qr-soft: #f5f5f5;
    --qr-radius: 18px;
}

.qr-container {
    width: 100%;
    box-sizing: border-box;
    max-width: 1480px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 16px;
    padding-right: 16px;
}


/* Titles */
.qr-title {
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: var(--qr-text);
    font-size: clamp(28px, 4vw, 54px);
    margin: 0;
}

.qr-title-small {
    font-weight: 800;
    line-height: 1.15;
    color: var(--qr-text);
    font-size: clamp(20px, 2.5vw, 32px);
    margin: 0;
}

/* Buttons */
.qr-btn,
.qr-btn-white,
.qr-btn-border {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 18px;
    border-radius: 9999px;
    font-weight: 700;
    text-decoration: none;
    transition: transform .15s ease, background-color .15s ease, color .15s ease, border-color .15s ease;
    cursor: pointer;
    user-select: none;
}

.qr-btn {
    background: var(--qr-accent);
    color: #fff;
    border: 1px solid transparent;
}

.qr-btn:hover {
    transform: translateY(-1px);
}

.qr-btn-white {
    background: #fff;
    color: var(--qr-text);
    border: 1px solid rgba(17, 24, 39, .15);
}

.qr-btn-border {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, .7);
}

/* ==========================================================================
   Property blocks
   ========================================================================== */

.qr-Property {
    color: var(--qr-text);
    margin: 0 auto;
}

.qr-Property a {
    color: inherit;
}

/* Title section */
.qr-PropertyTitle {
    position: relative;
    text-align: center;
    padding-bottom: 10px;
}

.qr-PropertyTitle .qr-title {
    margin: 24px 0 48px;
}

.qr-PropertyTitle .qr-container {
    position: relative;
    z-index: 1;
}

.qr-PropertyTitle .qr-container .ar_breadcrumbs {
    display: flex;
    justify-content: center;
}

.qr-PropertyExcerpt {
    text-align: center;
    margin: 48px auto;
    color: var(--qr-muted);
    font-size: 18px;
    max-width: 75%;
}

@media (max-width: 768px) {
    .qr-PropertyExcerpt {

        max-width: 100%;
    }
}

.qr-PropertyExcerpt p {
    margin: 0;
}

/* Hero image */
.qr-PropertyHeading {
    margin: 72px auto;
}

.qr-PropertyHeading .realty-hero-image {
    max-height: 30rem;
    aspect-ratio: 1/ .3;
}

@media (max-width: 768px) {
    .qr-PropertyHeading .realty-hero-image {
        aspect-ratio: 1/ .5;
    }
}


.qr-PropertyHeading div img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.qr-PropertyHeading .realty-actions {
    margin: 72px auto;
    width: fit-content;
}

.qr-PropertyHeading .realty-actions a {
    color: white;
}

/* Tag */
.qr-PropertyTag {
    display: inline-block;
    padding: 10px 18px;
    border-radius: 9999px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .04em;
    line-height: 1;
    color: #fff;
    background: var(--qr-primary);
}

.qr-PropertyTag--active {
    background: var(--qr-primary);
}

.qr-PropertyTag--reserved {
    background: var(--qr-accent);
}

.qr-PropertyTag--sold {
    background: #111827;
}

.qr-PropertyTag--top {
    background: var(--qr-accent);
}

.qr-PropertyHeading .qr-PropertyTagWrap {
    display: flex;
    justify-content: center;
    margin-bottom: 14px;
}

/* Properties “cards” */
.qr-PropertyProperties {
    margin: 96px;
}

.qr-PropertyProperties .realty-facts__grid {
    display: grid;
    gap: 48px 24px;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    justify-content: center;
}

.qr-PropertyProperties .realty-fact {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.qr-PropertyProperties .realty-fact__text {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.qr-PropertyProperties .realty-fact__value {
    font-size: 1.125rem;
    text-align: center;
}

.qr-PropertyProperties .realty-fact__label {
    font-weight: 600;
}

.qr-PropertyProperties .realty-fact__icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: white;
    color: var(--qr-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.qr-PropertyProperties .realty-fact__icon i {
    font-size: 24px;
    line-height: 1;
}


/* Price */
.qr-PropertyPrice {
    text-align: center;
    margin: auto;
    position: relative;
    z-index: 2;
    color: white !important;

}

.qr-PropertyPrice:before {
    content: "";
    position: absolute;
    width: 100dvw;
    height: 200%;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    background-color: var(--qr-accent);
    z-index: -1;
}

.qr-PropertyPrice .realty-price__label {
    font-size: 18px;
    font-weight: 800;
    margin: 0 0 6px 0;
}

.qr-PropertyPrice .realty-price__value {
    margin: 0;
    font-weight: 900;
    font-size: clamp(24px, 4vw, 36px);
}

.qr-PropertyPrice .realty-price__note {
    margin: 10px 0 0 0;
}

/* Content */
.qr-PropertyContent {
    margin: 120px 0;
    font-size: 1rem;
}


.qr-PropertyContent .qr-prose p {
    margin: 0 0 14px 0;
}

.qr-PropertyContent .qr-prose h2,
.qr-PropertyContent .qr-prose h3 {
    margin: 22px 0 12px 0;
}

/* Sidebar Overview Table */
.realty-sidebar-card {
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    border: 1px solid #eee;
}

.realty-sidebar-cta {
    display: block;
    background: #fff;
    border: 2px solid var(--primary-color);
    padding: 25px 20px;
    margin-bottom: 30px;
    text-align: center;
    color: #000;
    font-size: 17px;
    font-weight: 400;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    letter-spacing: 0.03em;
}

.realty-sidebar-cta:hover {
    background: var(--secondary-color);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.realty-sidebar-card__title {
    font-size: 11px;
    font-weight: 700;
    color: #999;
    letter-spacing: 0.1em;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.realty-overview-table {
    display: flex;
    flex-direction: column;
}

.realty-overview-table__row {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
    font-size: 14px;
}

.realty-overview-table__row:last-child {
    border-bottom: none;
}

.realty-overview-table__label {
    display: flex;
    align-items: center;
    color: #000;
    font-weight: 700;
}

.realty-overview-table__value {
    font-weight: 400;
    color: #111;
    text-align: right;
}

/* Gallery – layout jako na screenu */
.qr-PropertyGallery {
    margin: 180px 0 120px 0;
}

.realty-gallery__grid {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    grid-auto-rows: 210px;
}

.realty-gallery__item {
    position: relative;
    overflow: hidden;
    background: #e5e7eb;
    text-decoration: none;
}

.realty-gallery__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .25s ease;
}

.realty-gallery__item:hover .realty-gallery__img {
    transform: scale(1.25);
}


/* Map */
.realty-map iframe {
    width: 100%;
    height: 380px;
    border: 0;
    overflow: hidden;
}

body {
    overflow-x: clip;
}

/* ==========================================================================
   Realty archive (polyweb_realty) – layout + filter overlay
   ========================================================================== */

.realty-archive {
    padding: 0;
}

.realty-archive__topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 24px;
}

.realty-group {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 24px;
}

.realty-tabs {
    display: inline-flex;
    border: 1px solid rgba(17, 24, 39, .25);
    background: #fff;
}

.realty-tab {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 26px;
    font-weight: 700;
    text-decoration: none;
    color: var(--qr-text);
    background: #fff;
    border-right: 1px solid rgba(17, 24, 39, .25);
}

.realty-tab:last-child {
    border-right: 0;
}

.realty-tab.is-active {
    background: var(--qr-primary);
    color: #fff;
    border-color: var(--qr-primary);
}

.realty-filterBtn {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    padding: 16px 22px;
    background: #fff;
    border: 1px solid var(--qr-primary);
    color: var(--qr-primary);
    font-weight: 800;
    cursor: pointer;
}

.realty-filterBtn__icon {
    display: inline-flex;
    align-items: center;
}

.realty-archive__divider {
    margin: 26px 0 40px;
    border: 0;
    height: 1px;
    background: rgba(17, 24, 39, .18);
}

/* Cards */
.realty-cards {
    display: grid;
    gap: 30px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-bottom: 40px;
}

@media (max-width: 1024px) {
    .realty-cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .realty-archive__topbar {
        flex-direction: column;
        align-items: center;
    }

    .realty-cards {
        grid-template-columns: 1fr;
    }

    .realty-filterBtn {
        width: 100%;
        justify-content: center;
    }
}

.realty-card {
    border: 1px solid rgba(17, 24, 39, .12);
    background: #fff;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.realty-card:hover {
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
}

.realty-card__wrapper {
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none;
    color: inherit;
}

.realty-card__media {
    position: relative;
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
}

.realty-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .25s ease;
}

.realty-card:hover .realty-card__img {
    transform: scale(1.12);
}

.realty-card__tags {
    position: absolute;
    top: 12px;
    left: 12px;
    right: 12px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    pointer-events: none;
    z-index: 2;
}

.realty-label {
    padding: 6px 12px;
    font-size: 11px;
    font-weight: 800;
    color: #fff;
    border-radius: 4px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.realty-header__top {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 15px;
}

.realty-video-anchor {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    color: var(--qr-primary);
    text-decoration: none;
    transition: all 0.2s ease;
}

.realty-video-anchor--highlight {
    background: var(--qr-primary);
    color: #fff;
    padding: 10px 22px;
    font-size: 16px;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.realty-video-anchor--highlight i {
    font-size: 1.1em;
}

.realty-video-anchor--highlight:hover {
    background: #000;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

/* Gallery Standard Layout (1 Full + Grid) */
.realty-gallery__grid--standard {
    display: flex !important;
    flex-wrap: wrap;

    gap: 10px;
}

.realty-gallery__item--full {
    width: 100% !important;
    height: auto !important;
}

.realty-gallery__item {
    width: 24%;
    height: auto;
}

.realty-gallery__item--full .realty-gallery__img {
    object-fit: cover;
}

.realty-gallery__item:not(.realty-gallery__item--full) .realty-gallery__img {
    object-fit: cover;
}



.is-hidden {
    display: none !important;
}

.realty-label--sold {
    background: var(--secondary-color);
}

.realty-label--reserved {
    background: #5cb85c;
}

.realty-label--new {
    background: green;
}

.realty-card__chip {
    background: var(--qr-primary);
    color: #fff;
    padding: 6px 12px;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.realty-card__chip i {
    color: #fff;
}

.realty-card__body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.realty-card__location {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    color: #000;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 6px;
}

.realty-card__location i {
    color: var(--qr-primary);
}

.realty-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 12px;
}

.realty-card__meta-item {
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    padding: 3px 8px;
    border-radius: 4px;
    background: #f5f5f7;
    color: var(--qr-text);
    white-space: nowrap;
}

.ar-pagination,
.realty-archive__pagination .nav-links {
    clear: both;
    display: flex;
    justify-content: center;
    gap: 8px;
    margin: 80px 0;
    position: relative;
    z-index: 10;
}

.ar-pagination .page-numbers,
.realty-archive__pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    color: #333;
    font-weight: 700;
    transition: all 0.3s ease;
    text-decoration: none;
}

.ar-pagination .page-numbers:hover,
.realty-archive__pagination .page-numbers:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.ar-pagination .page-numbers.current,
.realty-archive__pagination .page-numbers.current {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
}

.ar-pagination .page-numbers.dots,
.realty-archive__pagination .page-numbers.dots {
    border: none;
    background: transparent;
}

.realty-card__meta-item--operation {
    background: var(--qr-primary);
    color: #fff;
}

.realty-card__title {
    margin: 0;
    font-size: 19px;
    line-height: 1.3;
    font-weight: 800;
    color: var(--qr-text);
    transition: color 320ms;
}

.realty-card:hover .realty-card__title {
    color: var(--secondary-color);
}

.realty-card__bottom {
    margin-top: auto;
    padding-top: 16px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.realty-card__price {
    font-size: 18px;
    color: var(--primary-color);
    text-align: left;
}

.realty-card:hover .realty-card__price {
    color: var(--secondary-color);
}

.realty-card__price--hidden {
    font-size: 13px;
    font-weight: 700;
    color: rgba(0, 0, 0, 0.5);
    text-transform: uppercase;
}

/* .realty-card__detail removed */

/* References New Style */
.ar-reference-card {
    background: #fff;
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.03);
    display: flex;
    flex-direction: column;
    gap: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: left;
}

.ar-reference-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 60px rgba(0, 0, 0, 0.08);
}

.ar-reference-card__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ar-reference-card__author {
    display: flex;
    gap: 16px;
    align-items: center;
}

.ar-reference-card__avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    background: #f7f7f7;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 1px solid #eee;
}

.ar-reference-card__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ar-reference-card__avatar-placeholder {
    font-size: 22px;
    font-weight: 700;
    color: #ccc;
    font-family: var(--qr-bold-font);
}

.ar-reference-card__info {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.ar-reference-card__name {
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 4px 0;
    color: var(--qr-text);
}

.ar-reference-card__date {
    font-size: 14px;
    color: #aaa;
}

.ar-reference-card__source-icon {
    width: 35px;
    height: 35px;
    object-fit: contain;
}

i.ar-reference-card__source-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--qr-primary);
}

.ar-reference-card__rating {
    display: flex;
    gap: 5px;
}

.ar-reference-card__rating .fa-star {
    color: #eee;
    font-size: 18px;
}

.ar-reference-card__rating .fa-star.active {
    color: #fbbc04;
}

.ar-reference-card__content {
    font-size: 16px;
    line-height: 1.7;
    color: #444;
    flex-grow: 1;
}

.ar-reference-card__content p {
    margin: 0;
}


/* Slick slider gaps for references */
.three-slide .slick-list {
    margin: 0 -30px !important;
    padding: 40px 0 !important;
}

.three-slide .slick-slide {
    padding: 0 30px !important;
    display: flex !important;
    height: auto !important;
}

.three-slide .slick-slide>div {
    width: 100%;
    display: flex;
    flex: 1;
}

/* Ensure the wrapper also stretches */
.reference-slider-item,
.reference-grid-item {
    display: flex;
    flex-direction: column;
    flex: 1;
    width: 100%;
}

.three-slide .ar-reference-card,
.ar-reference-card {
    padding: 40px !important;
    height: 100% !important;
    display: flex;
    flex-direction: column;
    width: 100%;
    box-sizing: border-box;
}

/* Overriding old grid styles for references page */
.ar-grid.ar-reference {
    gap: 30px;
    padding-left: 32px;
}

.glitch-reference h2 {
    padding-left: 16px;
}

.glitch-reference .wp-block-button {
    padding-left: 16px;

}

/* References Filters Navigation */
.ar-filters {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 60px !important;
    flex-wrap: wrap;
}

.ar-filter-btn {
    background: #fff !important;
    border: 1px solid #e0e0e0 !important;
    color: #444 !important;
    padding: 12px 28px !important;
    border-radius: 100px !important;
    font-weight: 700 !important;
    font-size: 15px !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03) !important;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none !important;
}

.ar-filter-btn img {
    display: block;
    width: 18px !important;
    height: 18px !important;
    object-fit: contain;
}

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

.ar-filter-btn.active {
    background: var(--primary-color) !important;
    color: #fff !important;
    border-color: var(--primary-color) !important;
    box-shadow: 0 10px 25px rgba(182, 5, 43, 0.2) !important;
}

.ar-filter-btn.active img {
    filter: brightness(0) invert(1);
}

.ar-filter-btn i {
    font-size: 14px;
}

/* Empty state */
.realty-empty {
    display: flex;
    flex-wrap: wrap;
    gap: 22px;
    align-items: start;
    padding: 40px 0;
}

.realty-empty__icon {
    font-size: 48px;
    color: rgba(17, 24, 39, .45);
}

.realty-empty__title {
    margin: 0 0 10px;
    color: var(--qr-primary);
    font-weight: 700;
    font-size: 24px;
    max-width: 80%;
}

.realty-empty__text {
    margin: 0;
    color: var(--qr-muted);
    width: 100%;
}

/* ==========================================================================
   Fullscreen filter overlay
   ========================================================================== */


.realty-filter {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
}

.realty-filter.is-open {
    display: block;
}

.realty-filter__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .45);
}

.realty-filter__panel {
    position: absolute;
    box-sizing: border-box;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
    width: 100%;
    height: 100%;
    background: #f1f1f1;
    padding: 26px 26px 32px;
    overflow: auto;
}

.realty-filter__close {
    position: absolute;
    right: 0;
    top: -64px;
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: transparent;
    border: 0;
    font-weight: 700;
    cursor: pointer;
    padding: 20px 0;
}

.realty-filter__content {
    max-width: 75%;
    margin: auto auto;
    top: 50%;
    transform: translateY(-50%);
}

@media (max-width: 880px) {
    .realty-filter__content {
        max-width: 100%;
        margin: 48px 12px;
        top: 0;
        transform: none;
    }
}


.realty-filter__row--top {
    display: grid;
    grid-template-columns: 1fr 220px;
    gap: 16px;
    align-items: center;
}

@media (max-width: 640px) {
    .realty-filter__row--top {
        grid-template-columns: 1fr;
    }
}

.realty-filterSearch {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #fff;
    border: 1px solid rgba(17, 24, 39, .12);
    padding: 14px 16px;
}

.realty-filterSearch input {
    border: 0;
    outline: 0;
    width: 100%;
    font: inherit;
    background: transparent;
}

.realty-filterSearchBtn {
    background: var(--qr-primary);
    color: #fff;
    border: 0;
    font-weight: 800;
    padding: 14px 16px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.realty-filter__grid {
    margin-top: 26px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 26px 40px;
}

@media (max-width: 900px) {
    .realty-filter__grid {
        grid-template-columns: 1fr;
    }
}

.realty-filterGroup__title {
    font-weight: 900;
    margin-bottom: 12px;
}

.realty-checks {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px 22px;
}

@media (max-width: 900px) {
    .realty-checks {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 520px) {
    .realty-checks {
        grid-template-columns: 1fr;
    }
}

.realty-check {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.realty-input {
    width: 100%;
    padding: 14px 14px;
    border: 1px solid rgba(17, 24, 39, .12);
    background: #fff;
    font: inherit;
}

.realty-range {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.realty-range__field {
    position: relative;
}

.realty-range__unit {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(17, 24, 39, .55);
    font-weight: 700;
}

.realty-filter__actions {
    margin-top: 28px;
}

.realty-filterApply {
    background: var(--qr-primary);
    color: #fff;
    border: 0;
    font-weight: 900;
    padding: 16px 22px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 12px;
}



.realty-card__placeholder {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    background: #f3f4f6;
}

.realty-card__placeholderImg {
    width: min(220px, 60%);
    height: auto;
    opacity: .75;
}


header .header-grid {
    flex-wrap: nowrap !important;
    justify-content: space-between;
}

@media (max-width: 960px) {
    header .broker-contact {
        display: none !important;
    }

    header .social-menu {
        display: inline-flex !important;
        margin: 0 15px 0 0;
    }

    header .social-menu a[href] i {
        width: 36px;
        height: 36px;
        line-height: 36px;
    }

    header .header-grid .box.last .respo-btn .box i {
        width: 36px;
        height: 36px;
        line-height: 36px;
    }

    header .header-grid .box.last .respo-btn .box span {
        display: none;
    }
}

body.post-type-archive-ar_reference .ar-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}


/* ==========================================================================
   REALTY DETAIL REDESIGN (Svoboda & Williams Style)
   ========================================================================== */

.realty-header {
    padding: 60px 0 30px;
    background: #fff;
}

.realty-breadcrumbs {
    margin-bottom: 20px;
}

.realty-title {
    font-size: 42px;
    margin: 0 0 15px;
    font-weight: 700;
    line-height: 1.1;
    color: #1a1a1a;
    text-transform: none;
}

.realty-header__meta {
    display: flex;
    gap: 20px;
    font-size: 16px;
    color: #666;
    margin-bottom: 20px;
}

.realty-header__id {
    font-weight: 700;
    color: #333;
}

.realty-media {
    margin-bottom: 60px;
}

.realty-hero-image__img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.realty-content-wrapper {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 60px;
    align-items: start;
    margin-bottom: 100px;
    position: relative;
}

.realty-section-title {
    font-size: 24px;
    font-weight: 700;
    margin: 0 0 30px;
    padding-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.realty-description {
    margin-bottom: 60px;
}

.realty-prose {
    font-size: 18px;
    line-height: 1.8;
    color: #444;
}

.realty-gallery {
    margin-bottom: 60px;
}

.realty-gallery__grid {
    display: grid;

    gap: 15px;
}

.realty-gallery__img {
    width: 100%;
    object-fit: cover;
    border-radius: 4px;
    transition: transform 0.3s ease;
}

.realty-gallery__item:hover .realty-gallery__img {
    transform: scale(1.02);
}

.realty-facts {
    margin-bottom: 60px;
    background: #fcfcfc;
    padding: 40px;
    border-radius: 12px;
}

.realty-facts__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.realty-fact {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.realty-fact__icon {
    font-size: 20px;
    color: var(--primary-color);
    margin-top: 4px;
    width: 25px;
    text-align: center;
}

.realty-fact__label {
    font-size: 13px;
    text-transform: uppercase;
    color: #999;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.realty-fact__value {
    font-size: 16px;
    font-weight: 600;
    color: #222;
}

.realty-map {
    margin-bottom: 60px;
}

.realty-map__iframe-wrapper {
    height: 400px;
    border-radius: 8px;
    overflow: hidden;
}

.realty-map__iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* Sidebar Styling */
.realty-sidebar {
    position: sticky;
    top: 10rem;
}

.realty-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.realty-card--price {
    background: var(--secondary-color);
    color: #fff;
    border: none;
}

.realty-card__price-label {
    font-size: 14px;
    text-transform: uppercase;
    opacity: 0.7;
    margin-bottom: 10px;
}

.realty-card__price-value {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 5px;
}

.realty-card__price-note {
    font-size: 14px;
    opacity: 0.6;
}

.realty-card__actions {
    margin-top: 25px;
}

.btn--video {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn--video:hover {
    background: rgba(255, 255, 255, 0.2);
}

.realty-card--broker {
    text-align: center;
}

.realty-broker__photo {
    width: 190px;
    height: 190px;
    margin: 0 auto 20px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid #fff;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.realty-broker__photo img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.realty-broker__name {
    font-size: 20px;
    margin-bottom: 5px;
}

.realty-broker__position {
    font-size: 14px;
    color: #777;
    margin-bottom: 20px;
}

.realty-broker__contacts {
    margin-bottom: 25px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.realty-broker__link {
    font-size: 15px;
    color: #333;
    text-decoration: none;
    transition: color 0.2s;
}

.realty-broker__link i{
    color: var(--primary-color)!important;
}

.realty-broker__link:hover {
    color: var(--primary-color);
}

.realty-sidebar__rkid {
    font-size: 13px;
    color: #999;
    text-align: center;
    margin-top: 20px;
}

/* Responsiveness */
@media (max-width: 1024px) {
    .realty-content-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .realty-sidebar__sticky {
        position: static;
    }
}

@media (max-width: 768px) {
    .realty-title {
        font-size: 32px;
    }

    .realty-gallery__grid {
        grid-template-columns: 1fr;
    }

    .realty-facts__grid {
        grid-template-columns: 1fr;
    }
}


/* Contact Form in Sidebar Tweak */
.realty-card--form .realty-card__title {
    font-size: 18px;
    margin-bottom: 20px;
    text-align: center;
}

.realty-card--form .wpcf7-form-control-wrap {
    margin-bottom: 15px;
    display: block;
}

.realty-card--form input[type="text"],
.realty-card--form input[type="email"],
.realty-card--form textarea {
    width: 100% !important;
    padding: 12px 15px !important;
    border: 1px solid #ddd !important;
    border-radius: 6px !important;
    font-family: inherit;
}

.realty-card--form input[type="submit"] {
    width: 100% !important;
    background: var(--primary-color) !important;
    color: #fff !important;
    border: none !important;
    padding: 15px !important;
    border-radius: 6px !important;
    font-weight: 700 !important;
    cursor: pointer;
    transition: opacity 0.2s;
}

.realty-card--form input[type="submit"]:hover {
    opacity: 0.9;
}


/* Updated Realty Detail Styles */
.realty-media {
    margin-bottom: 30px;
}

.realty-hero-image__img {
    height: 600px;
    object-fit: cover;
    border-radius: 0;
}

@media (max-width: 768px) {
    .realty-hero-image__img {
        height: 400px;
    }
}

.realty-header {
    padding: 40px 0;
}

.realty-facts--top {
    margin-top: 40px;
    background: #f9f9f9;
    border: 1px solid #eee;
}

.realty-facts--top .realty-facts__grid {
    grid-template-columns: repeat(3, 1fr);
}

.realty-container {
    padding-top: 40px;
}

/* Ensure sticky sidebar behaves nicely */
.realty-sidebar__sticky {
    position: sticky;
    top: 120px;
}

/* Map at bottom */
.realty-map {
    margin-top: 80px;
    padding: 80px 0;
    background: #fcfcfc;
}


/* Irregular Gallery Grid Styles */
.realty-gallery__grid {
    display: grid;
    gap: 15px;
}

.realty-gallery__item--big {
    grid-column: span 2;
}

.realty-gallery__item--big .realty-gallery__img {
    height: 450px !important;
}

.realty-gallery__item.is-hidden {
    display: none !important;
}

.realty-gallery__actions {
    margin-top: 30px;
    text-align: center;
}

.btn--outline {
    background: transparent;
    border: 1px solid #333;
    color: #333;
    padding: 12px 30px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 700;
    transition: all 0.3s;
}

.btn--outline:hover {
    background: #333;
    color: #fff;
}

/* Stylový Box pro Video */
.realty-video-embed {
    margin-top: 50px;
}

.realty-video__wrapper {
    position: relative;
    padding-bottom: 56.25%;
    /* Poměr 16:9 */
    height: 0;
    overflow: hidden;
    background: #000;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    /* Prémiový stín */
    border: 1px solid #eee;
}

.realty-video__wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

body.home .ar-reference-card {
    background: var(--background-color);
}

.realty-gallery__grid--standard {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    grid-auto-rows: 150px;
    gap: 10px;
}

.realty-gallery__item--full {
    grid-column: span 4;
    grid-row: span 2;
    /* První fotka zabere dva řádky na výšku */
    height: 350px;
}

/* --- REALTY DETAIL PREMIUM UPDATES --- */

.container--realty {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.realty-hero {
    background: #fcfcfc;
    border-bottom: 1px solid #eee;
    padding: 60px 0 30px;
    margin-bottom: 30px;
}

.realty-hero__top-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 30px;
}

.realty-hero__title {
    font-size: 38px;
    line-height: 1.1;
    margin: 0 0 15px 0;
    max-width: 800px;
    color: #1a1a1a;
}

.realty-hero__info-row {
    display: flex;
    gap: 20px;
    font-size: 14px;
    color: #666;
}

.realty-header-id {
    font-weight: 700;
}

.realty-hero__right-badges {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 15px;
}

.realty-video-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #1a1a1a;
    color: #fff;
    padding: 10px 20px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: 0.3s;
}

.realty-video-badge:hover {
    background: var(--primary-color, #c42128);
    transform: translateY(-2px);
}

/* PREMIUM GALLERY GRID */
.realty-premium-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: 250px 250px;
    gap: 15px;
    position: relative;
    margin-bottom: 40px;
}

.realty-gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 4px;
}

.realty-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: 0.5s;
}

.realty-gallery-item:hover img {
    transform: scale(1.05);
}

.realty-gallery-item--1 {
    grid-column: span 2;
    grid-row: span 2;
}

.realty-gallery-item--2 {
    grid-column: span 1;
    grid-row: span 1;
}

.realty-gallery-item--3 {
    grid-column: span 1;
    grid-row: span 1;
}

.realty-gallery-item--4 {
    grid-column: span 1;
    grid-row: span 1;
}

.realty-gallery-item--5 {
    grid-column: span 1;
    grid-row: span 1;
}

.realty-gallery-item.is-hidden {
    display: none;
}

.realty-gallery-toggle {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.95);
    border: none;
    padding: 12px 24px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: 0.3s;
    z-index: 10;
}

.realty-gallery-toggle:hover {
    background: #fff;
    transform: translateY(-2px);
}

/* Responsive adjustments */
@media (max-width: 960px) {
    .realty-hero__top-wrapper {
        flex-direction: column;
        align-items: flex-start;
    }

    .realty-hero__right-badges {
        align-items: flex-start;
    }

    .realty-premium-gallery {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(3, 180px);
    }

    .realty-gallery-item--1 {
        grid-row: span 1;
    }
}

.realty-sidebar-card {
    background: #fff;
    border: 1px solid #eee;
    padding: 30px;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.realty-card--price {
    color: #fff;
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    margin-bottom: 20px;
}

.realty-card__price-value {
    font-size: 32px;
    font-weight: 700;
    line-height: 1.2;
}

.realty-card__price-note {
    font-size: 14px;
    opacity: 0.7;
    margin-top: 5px;
}

.realty-card--broker {
    background: #fff;
    border: 1px solid #eee;
    padding: 30px;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
}


.realty-broker__name {
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 5px 0;
}

.realty-broker__position {
    font-size: 13px;
    color: #666;
    margin: 0 0 15px 0;
    line-height: 1.4;
}

.realty-broker__link {
    display: block;
    font-size: 14px;
    text-decoration: none;
    color: #1a1a1a;
    margin-bottom: 5px;
    transition: 0.3s;
}

.realty-broker__link i {
    width: 20px;
    color: #666;
}

.realty-broker__link:hover {
    color: var(--primary-color, #c42128);
}

.realty-sidebar-sticky {
    position: sticky;
    top: 120px;
}

.realty-media-hero {
    margin-bottom: 20px;
}

.realty-main-hero-figure {
    margin: 0;
    padding: 0;
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    height: 600px;
}

.realty-main-hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Adjust title section if hero image is present */
.realty-media-hero+.realty-hero {
    padding-top: 20px;
}

/* --- REFERENCE PAGE BUTTONS --- */
.ar-reference-actions {
    margin: 50px 0 !important;
}

.ar-btn {
    display: inline-flex;
    align-items: center;
    padding: 15px 30px;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    font-size: 16px;
}

.ar-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    color: #fff;
}

.ar-btn--seznam {
    background: #fff;
    color: #1a1a1a;
    border: 2px solid #e10000;
}

.ar-btn--seznam:hover {
    background: #e10000;
}

.ar-btn--google {
    background: #fff;
    color: #1a1a1a;
    border: 2px solid #4285f4;
}

.ar-btn--google:hover {
    background: #4285f4;
}

.ar-reference-firmy-widget img {
    transition: transform 0.3s ease;
}

.ar-reference-firmy-widget img:hover {
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .ar-btn {
        width: 100%;
        justify-content: center;
    }
}

/* --- PREMIUM ESTIMATE FORM (hf_form) --- */
.hf-form-odhad {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    background: #fff;
}

.hf-form-odhad .hf-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.hf-form-odhad .hf-field {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.hf-form-odhad .hf-field--full {
    flex: 0 0 100%;
}

.hf-form-odhad label {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 8px;
    color: #1a1a1a;
}

.hf-form-odhad label span {
    color: #c42128;
}

.hf-form-odhad input[type="text"],
.hf-form-odhad input[type="email"],
.hf-form-odhad input[type="tel"],
.hf-form-odhad select,
.hf-form-odhad textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 15px;
    color: #333;
    transition: border-color 0.3s ease;
    background-color: #fff;
}

.hf-form-odhad input:focus,
.hf-form-odhad select:focus,
.hf-form-odhad textarea:focus {
    border-color: var(--secondary-color);
    outline: none;
}

.hf-form-odhad select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23666' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: calc(100% - 15px) center;
    padding-right: 40px;
}

.hf-form-odhad textarea {
    height: 120px;
    resize: vertical;
}

.hf-form-odhad .hf-submit-wrapper {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 20px;
}

.hf-form-odhad .hf-notice {
    font-size: 13px;
    color: #666;
    line-height: 1.5;
    margin: 0;
    text-align: left;
    width: 100%;
}

.hf-form-odhad .hf-notice a {
    color: #1a1a1a;
    text-decoration: underline;
}

.hf-form-odhad input[type="submit"] {
    background: #231f20;
    color: #fff;
    border: none;
    padding: 15px 40px;
    font-size: 16px;
    font-weight: 700;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.hf-form-odhad input[type="submit"]:hover {
    background: var(--secondary-color);
}

@media (max-width: 600px) {
    .hf-form-odhad .hf-row {
        flex-direction: column;
        gap: 15px;
    }

    .estate-info-grid {
        flex-wrap: wrap;
    }
}

/* Fix pro select v Contact Form 7, aby ladil s ikonkami */
form p label .wpcf7-form-control.wpcf7-select {
    padding-left: 50px;
    height: 50px;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23c42128' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: calc(100% - 15px) center;
}

/* Oprava pro patičku formuláře - věta a tlačítko */
form p:has(.wpcf7-submit) {
    align-items: center;
    justify-content: space-between;
    margin-top: 20px;
}

form p label.half.spread {
    font-size: 14px;
    color: #1a1a1a;
}

form p label.half.bold {
    display: flex;
    justify-content: flex-end;
}

form p label .wpcf7-form-control.wpcf7-submit {
    background: #c20e2c !important;
    /* Ta sytá červená z obrázku */
    color: #fff !important;
    border: none !important;
    padding: 15px 60px !important;
    font-size: 16px !important;
    font-weight: 800 !important;
    text-transform: uppercase;
    border-radius: 4px;
    cursor: pointer;
    transition: 350ms;
    width: auto;
    min-width: 300px;
    display: block;
}

form p label .wpcf7-form-control.wpcf7-submit:hover {
    background: #000 !important;
    transform: translateY(-2px);
}

/* Realty Attributes Grid (New Section) */
.realty-attributes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 24px;
    margin-top: 32px;
}

.realty-attribute-pill {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 4px;
    transition: all 0.3s ease;
}

.realty-attribute-pill:hover {
    transform: translateX(5px);
}

.realty-attribute-pill__icon {
    width: 48px;
    height: 48px;
    background: rgba(var(--secondary-color-rgb, 172, 155, 141), 0.08);
    /* Použití barvy webu s nízkou opacitou */
    border-radius: 50%;
    /* Kruhový tvar je elegantnější */
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 20px;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.realty-attribute-pill:hover .realty-attribute-pill__icon {
    background: var(--primary-color);
    color: #fff;
    box-shadow: 0 4px 12px rgba(var(--primary-color-rgb, 0, 0, 0), 0.3);
}

.realty-attribute-pill__label {
    font-size: 15px;
    font-weight: 500;
    color: var(--black-color);
    text-transform: none;
    /* Necháme původní velikost písmen */
    line-height: 1.2;
}

@media (max-width: 480px) {
    .realty-attributes-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

.konzultace-list li::marker {
    color: var(--primary-color);
}

.konzultace {
    font-size: 16px !important;
}

.konzultace-list li {
    margin-bottom: 1rem;
}