/* Compatibility with the original visual theme. */
.sl-wrapper { position: fixed; inset: 0; width: 100%; height: 100%; }
#gallery-scroller { touch-action: pan-x pan-y; }
#gallery-scroller .mTSWrapper::-webkit-scrollbar { display: none; }

.sl-overlay { z-index: 10000; }
.sl-wrapper { z-index: 10001; }
.bootstrap-select .dropdown-menu li.selected > a { background-color: #f5f5f5; }

/* Reviewed room schedules on Hungarian property pages. */
.property-room-sheet { margin: 38px 0 12px; padding: 28px; border: 1px solid #e2e8ec; border-radius: 6px; background: #f7f9fa; color: #303d47; }
.property-room-sheet__eyebrow { display: block; margin-bottom: 8px; color: #0074c6; font-size: 11px; font-weight: 700; letter-spacing: 1.8px; text-transform: uppercase; }
.property-room-sheet .property-room-sheet__intro h3 { margin: 0 0 10px; font-size: 25px; line-height: 1.3; color: #263640; }
.property-room-sheet .property-room-sheet__intro p { margin: 0; font-size: 14px; color: #626e77; text-align: left; }
.property-room-sheet__summary > div:only-child { grid-column: 1 / -1; }
.property-room-sheet__summary { display: grid; grid-template-columns: 1fr .75fr 1.5fr; gap: 12px; margin: 24px 0; padding: 20px 0; border-top: 1px solid #dfe6eb; border-bottom: 1px solid #dfe6eb; }
.property-room-sheet__summary dt { margin-bottom: 5px; color: #626e77; font-size: 12px; font-weight: 400; }
.property-room-sheet__summary dd { margin: 0; font-size: 27px; line-height: 1.2; font-weight: 500; font-variant-numeric: tabular-nums; }
.property-room-sheet__summary dd span { font-size: 13px; font-weight: 400; }
.property-room-sheet__level { margin-top: 14px; overflow: hidden; border: 1px solid #e2e8ec; border-radius: 4px; background: #fff; }
.property-room-sheet__level header { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 15px 20px; border-bottom: 1px solid #e8edf0; border-left: 3px solid #0087e7; background: #f0f5f8; }
.property-room-sheet__level h4 { margin: 0; font-size: 17px; font-weight: 500; color: #263640; }
.property-room-sheet__area { white-space: nowrap; font-size: 19px; font-weight: 500; font-variant-numeric: tabular-nums; }
.property-room-sheet__area span { font-size: 12px; font-weight: 400; color: #626e77; }
.property-room-sheet__rooms { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 28px; margin: 0; padding: 6px 20px; }
.property-room-sheet__rooms > div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 12px 0; border-bottom: 1px solid #edf0f2; }
.property-room-sheet__rooms dt { font-size: 13px; font-weight: 400; line-height: 1.5; }
.property-room-sheet__rooms dd { flex-shrink: 0; margin: 0; font-size: 14px; font-weight: 500; font-variant-numeric: tabular-nums; }
.property-room-sheet__rooms dd span { color: #69757e; font-size: 12px; font-weight: 400; }
.property-room-sheet .property-room-sheet__note { margin: 16px 0 0; font-size: 12px; line-height: 1.6; color: #69757e; }
@media (max-width: 550px) {
    .property-room-sheet { padding: 20px 16px; }
    .property-room-sheet .property-room-sheet__intro h3 { font-size: 22px; }
    .property-room-sheet__summary { gap: 8px; grid-template-columns: 1fr .6fr 1.3fr; }
    .property-room-sheet__summary dd { font-size: 24px; }
    .property-room-sheet__summary dd span { font-size: 11px; }
    .property-room-sheet__rooms { grid-template-columns: 1fr; padding: 4px 16px; }
    .property-room-sheet__level header { padding: 14px 16px; }
}

/* Compact flag/code selector matching the Remete Residence language control. */
.language-switcher { width:120px; position:relative; color:#fff; font-size:15px; direction:ltr; z-index:1100; }
.language-switcher summary { display:flex; align-items:center; gap:9px; font-weight:500; letter-spacing:1.6px; padding:10px 14px; min-height:44px; list-style:none; cursor:pointer; }
.language-switcher summary::-webkit-details-marker { display:none; }
.language-switcher summary svg { width:14px; height:14px; transition:transform .2s; }
.language-switcher[open] summary svg { transform:rotate(180deg); }
.language-switcher__menu { position:absolute; right:0; top:100%; width:100%; min-width:0; padding:0; background:#18242f; border:1px solid #ffffff20; border-radius:6px; box-shadow:0 10px 30px #00000040; max-height:min(400px,70vh); overflow-y:auto; }
.language-switcher__menu a { display:flex; align-items:center; gap:8px; min-height:44px; padding:10px 14px; font-size:15px; line-height:24px; letter-spacing:1px; color:#fff; border-radius:3px; white-space:nowrap; text-decoration:none; }
.language-switcher__menu a[aria-current="page"] { color:#fff; background:#1688d640; }
.language-switcher__menu a:hover { color:#fff; background:#ffffff18; }
.language-switcher summary:focus-visible,.language-switcher__menu a:focus-visible { outline:2px solid #65bfff; outline-offset:2px; }
@media(max-width:600px) { .language-switcher { font-size:12px; } .language-switcher summary { letter-spacing:.8px; } }
@media(prefers-reduced-motion:reduce) { .language-switcher summary svg { transition:none; } }
html[dir="rtl"] body { direction:rtl; }
html[dir="rtl"] .properties-description p, html[dir="rtl"] .property-room-sheet { text-align:right; }
html[dir="rtl"] .property-room-sheet__level header { border-left:0; border-right:3px solid #0087e7; }
html[dir="rtl"] .property-room-sheet__rooms dd { direction:ltr; }
html[dir="rtl"] .navbar-nav > li { float:right; }
@media (max-width:767px) {
    html[dir="rtl"] .option-bar .row > div:first-child { width:100%; }
    html[dir="rtl"] .option-bar h4 { padding-right:0; padding-left:20px; }
    html[dir="rtl"] .option-bar .heading-icon { margin-right:0; margin-left:20px; }
}
html[dir="rtl"] .bootstrap-select .dropdown-toggle .filter-option { text-align:right; }

.top-header { position:relative; z-index:1200; }
.main-header { position:relative; z-index:1000; }
@media(max-width:767px) { .top-header .row > div:first-child { display:none; } }

/* Grouped navigation, enabled through site.groupedNavigation. */
.grouped-navigation .navbar-nav .property-nav-dropdown { position:relative; }
.grouped-navigation .navbar-nav .property-nav-dropdown summary { display:block; padding:25px 20px 26px; font-size:14px; line-height:27px; font-weight:600; letter-spacing:1px; color:#686868; list-style:none; cursor:pointer; white-space:nowrap; }
.grouped-navigation .navbar-nav .property-nav-dropdown summary::-webkit-details-marker { display:none; }
.grouped-navigation .navbar-nav .property-nav-dropdown summary:hover,.grouped-navigation .navbar-nav .property-nav-dropdown[open] summary { background:#eee; }
.grouped-navigation .navbar-nav .property-nav-dropdown summary:focus-visible,.grouped-navigation .navbar-nav .property-nav-submenu a:focus-visible { outline:2px solid #0087e7; outline-offset:-2px; }
.grouped-navigation .navbar-nav .property-nav-dropdown[open] .caret { transform:rotate(180deg); }
.grouped-navigation .navbar-nav .property-nav-submenu { position:absolute; top:100%; left:0; min-width:190px; padding:6px 0; margin:0; list-style:none; background:#fff; border:1px solid #e5e5e5; box-shadow:0 8px 20px #00000020; z-index:10000; }
.grouped-navigation .navbar-nav .property-nav-submenu a { display:block; padding:12px 18px; color:#686868; font-size:14px; line-height:22px; white-space:nowrap; }
.grouped-navigation .navbar-nav .property-nav-submenu a:hover { background:#f2f6f8; color:#0087e7; text-decoration:none; }
@media(min-width:1200px) { .grouped-navigation .navbar-nav { display:flex; flex-wrap:nowrap; } .grouped-navigation .navbar-nav > li > a { white-space:nowrap; } }
@media(min-width:1200px) and (max-width:1399px) { .grouped-navigation .navbar-nav > li > a,.grouped-navigation .navbar-nav .property-nav-dropdown summary { padding-left:10px; padding-right:10px; letter-spacing:0; } }
@media(max-width:1199px) { .grouped-navigation .navbar-nav .property-nav-dropdown summary { padding:10px 20px; } .grouped-navigation .navbar-nav .property-nav-submenu { position:static; border:0; box-shadow:none; background:#f7f7f7; } .grouped-navigation .navbar-nav .property-nav-submenu a { padding-left:36px; } }

@media(max-width:1199px) {
 .grouped-navigation .navbar-header { float:none; }
 .grouped-navigation .navbar-toggle { display:block; margin-top:26px; }
 .grouped-navigation .navbar-collapse { border-top:1px solid #eee; }
 .grouped-navigation .navbar-collapse.collapse { display:none !important; }
 .grouped-navigation .navbar-collapse.in { display:block !important; }
 .grouped-navigation .navbar-nav { float:none !important; margin:7.5px -15px; }
 .grouped-navigation .navbar-nav > li { float:none; }
 .grouped-navigation .navbar-nav > li > a { padding:10px 20px; }
}
html[dir="rtl"] .property-nav-submenu { left:auto; right:0; text-align:right; }

.property-nav-submenu { width:max-content; max-width:calc(100vw - 40px); }
@media(max-width:1199px) { .grouped-navigation .property-nav-submenu { width:auto; } }
/* Pointer clicks should not retain the legacy Bootstrap focus outline. */
:focus:not(:focus-visible) { outline: none !important; }


/* Compact property facts below the listing photograph. */
.listing-detail-actions { clear:both; display:flex; align-items:center; justify-content:space-between; gap:12px; border-top:1px solid rgb(231,230,230); margin-top:20px; padding-top:20px; }
.listing-detail-price { font-size:18px; line-height:1.4; }
.listing-detail-actions > a { flex-shrink:0; }
.listing-image-facts { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:1px; margin:0; padding:1px 0 0; background:#dfe8ed; }
.listing-image-facts > div { display:flex; flex-direction:column; justify-content:center; min-height:76px; padding:12px 16px; background:#f4f8fa; }
.listing-image-facts dt { font-size:12px; line-height:1.4; font-weight:600; color:#596e7a; overflow-wrap:anywhere; }
.listing-image-facts dd { margin:5px 0 0; font-size:19px; line-height:1.25; font-weight:600; color:#243e50; }
.listing-image-facts--plot { grid-template-columns:1fr; }
.listing-properties-box .listing-propertie-theme img { width:100%; object-fit:cover; }

/* Keep the print action readable after opening the print window. */
a.property-print-button, a.property-print-button:visited, a.property-print-button:hover, a.property-print-button:focus, a.property-print-button:active { color:#fff !important; text-decoration:none !important; }

.featured-properties-grid { display:flex; flex-wrap:wrap; }
.featured-property-column { display:flex; margin-bottom:30px; }
.featured-property-card.thumbnail { width:100%; display:flex; flex-direction:column; margin:0; padding:0; border:1px solid #e0e8ed; border-radius:5px; overflow:hidden; box-shadow:0 4px 18px rgba(30,60,80,.07); }
.featured-property-photo { position:relative; }
.featured-property-photo img { width:100%; height:240px; object-fit:cover; }
.featured-property-card .caption.detail { display:flex; flex:1; flex-direction:column; padding:22px; }
.featured-property-title { margin:0 0 16px; padding-bottom:16px; border-bottom:1px solid #e7e6e6; font-size:21px; line-height:1.4; }
.featured-property-title a { color:#243e50; }
.featured-property-description { flex:1; font-size:14px; line-height:1.8; margin:0; }
.featured-property-card .listing-detail-actions { margin-top:20px; flex-wrap:wrap; }
.featured-property-card .listing-detail-actions a { color:#fff; text-decoration:none; margin-inline-start:auto; }

.property-tags { display:flex; flex-wrap:wrap; gap:8px; }
.property-tags .property-tag { display:inline-block; padding:7px 12px; border:1px solid #dce8ef; border-radius:4px; background:#f1f7fa; color:#17628a; font-size:13px; line-height:1.5; text-decoration:none; }
.property-tags .property-tag:hover { background:#007cbb; border-color:#007cbb; color:#fff; }
.property-tags .property-tag:focus-visible { outline:2px solid #007cbb; outline-offset:3px; }
