/* ==========================================================================
   Property Turkey — visual re-skin. Loaded last, after
   all.css/temp5/modern-filters/temp7/style-rtl, so these rules win on
   matching selectors. Scoped token names (--rs-*) deliberately do NOT touch
   --color1..7, which the rest of the site still depends on — this re-skin
   only covers .property-card, .testimonials/.testimonial-card and
   .site-footer so far.
   ========================================================================== */

:root {
    --rs-brand: #e72c2d;
    --rs-brand-strong: #d42a2b;
    /* white text on this is 5.0:1, passes WCAG AA */
    --rs-brand-hover: #b02122;
    --rs-brand-soft: #fdeceb;
    --rs-brand-text: #c42628;
    --rs-on-brand: #ffffff;
    --rs-ink: #1f1a19;
    --rs-text: #3d3735;
    --rs-text-muted: #6f6866;
    --rs-border: #e7e3df;
    --rs-border-strong: #d4cdc8;
    --rs-card: #ffffff;
    --rs-surface-alt: #f1f2f4;
    /* was #efebe6, a dated tan/beige — now a cool neutral gray */
    --rs-rating: #e0a21a;
    --rs-on-media-bg: rgba(255, 255, 255, 0.9);
    --rs-on-media-text: #1f1a19;
    --rs-page: #ffffff;
    --rs-surface: #f6f4f1;
    /* search strip, talk/adviser block, modals (replaces old #e5e4d5) */
    --rs-surface-beige: #e5e4d5;
    /* rgb(229, 228, 213) — "Connect with us" strip, search strip */
    --rs-surface-cream: #f9f4eb;
    /* "Connect with us" strip, hero search field fill */
    --rs-brand-deep: #82181a;
    /* third-party brand colours (founder card social links) */
    --rs-whatsapp: #1fa855;
    --rs-linkedin: #0a66c2;
    --rs-instagram: #e1306c;
    --rs-radius-sm: 8px;
    --rs-radius-md: 14px;
    --rs-radius-lg: 20px;
    --rs-radius-pill: 999px;
    --rs-shadow-1: 0 1px 2px rgba(31, 26, 25, 0.06), 0 2px 8px rgba(31, 26, 25, 0.05);
    --rs-shadow-2: 0 2px 4px rgba(31, 26, 25, 0.05), 0 12px 28px rgba(31, 26, 25, 0.10);
    --rs-shadow-3: 0 8px 16px rgba(31, 26, 25, 0.08), 0 24px 56px rgba(31, 26, 25, 0.16);
    --rs-focus-ring: 0 0 0 3px var(--rs-page), 0 0 0 5px var(--rs-brand-strong);
    --rs-ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}


/* Visible keyboard-focus ring everywhere (mouse/touch focus is unaffected). */

:focus-visible {
    outline: none;
    box-shadow: var(--rs-focus-ring);
}


/* Bootstrap bridges: brand the primary button and form-control focus state. */

.btn-primary {
    background: var(--rs-brand-strong);
    border-color: var(--rs-brand-strong);
    color: var(--rs-on-brand);
    font-weight: 600;
    border-radius: var(--rs-radius-sm);
    transition: background-color .18s var(--rs-ease), border-color .18s var(--rs-ease);
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
    background: var(--rs-brand-hover);
    border-color: var(--rs-brand-hover);
    color: var(--rs-on-brand);
}

.form-control {
    border-color: var(--rs-border-strong);
    border-radius: var(--rs-radius-sm);
    color: var(--rs-ink);
    background: var(--rs-card);
}

.form-control:focus {
    border-color: var(--rs-brand-strong);
    box-shadow: 0 0 0 3px var(--rs-brand-soft);
}


/* Plain ng-model text inputs (the `chk="isEmpty"` validation directive AngularJS
   uses across every enquiry/contact form) ship with square corners — they don't
   carry .form-control, just AngularJS's own state classes (ng-pristine, ng-touched,
   ng-invalid, etc.). ng-isolate-scope is the one of those that's always present
   regardless of the input's current validation state, so it's the stable hook. */

input.ng-isolate-scope {
    border-radius: var(--rs-radius-sm);
}


/* "Connect with us" strip: swapped the dated tan/beige for a lighter warm
   neutral — same value already used below for .connect .heading on mobile. */

.connect {
    background-color: var(--rs-surface-cream);
    border-top: 3px solid #ffe6e6;
    /* --rs-shadow-1's own values, just inset — no inset variant of the token exists.
     Plus a drop shadow cast from the bottom edge, replacing the border-bottom removed above. */
    box-shadow: inset 0 1px 2px rgba(31, 26, 25, 0.06), inset 0 2px 8px rgba(31, 26, 25, 0.05), 0 4px 6px rgba(31, 26, 25, 0.02);
}


/* the submit button's chevron points "forward" (right in LTR) — mirror it so
   it still points forward (left) in RTL, matching .site-footer__more svg below. */

[dir="rtl"] .connect .btn-w-img .fa-chevron-right {
    transform: scaleX(-1);
}

@media (max-width: 768px) {
    .connect {
        margin-top: 210px;
    }
}


/* "Get free consultation" icon+label next to the Connect-with-us form: plain
   inline text (no button/pill/border), pen icon, slow text-shadow glow pulse.
   It's a <button> (click scrolls to the form below) wearing the .heading
   look, so native button chrome is reset back to plain text first.
   RTL: force ltr so the icon stays glued to the left of the label. */

.connect .heading {
    gap: 8px;
    background: none;
    border: none;
    font: inherit;
    cursor: pointer;
    touch-action: manipulation;
}

.connect .heading .images {
    width: auto;
    height: auto;
}

.connect .heading .images i {
    color: var(--rs-brand-deep);
    font-size: 18px;
}

.connect .heading span {
    color: var(--rs-brand-deep);
    font-size: 16px;
    font-weight: 800;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

[dir="rtl"] .connect .heading {
    direction: ltr;
}

@media (max-width: 768px) {
    .connect .heading {
        flex-wrap: wrap;
        text-align: center;
        white-space: normal;
        background: rgb(255, 255, 255);
        font-size: 12px;
        padding: 10px;
        margin: 0 15px;
        animation: connect-heading-pulse 1.8s ease-in-out infinite;
    }
    .connect .heading span {
        animation: cta-text-glow 2.2s ease-in-out infinite;
    }
}

@keyframes connect-heading-pulse {
    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(130, 24, 26, 0.35);
    }
    50% {
        box-shadow: 0 0 0 8px rgba(130, 24, 26, 0);
    }
}

@keyframes cta-text-glow {
    0%,
    100% {
        text-shadow: 0 0 0 rgba(130, 24, 26, 0);
    }
    50% {
        text-shadow: 0 0 10px rgba(130, 24, 26, 0.55);
    }
}


/* ==========================================================================
   0. Site header (#header)

   Existing markup/behavior kept as-is (AngularJS toggleMenu/isActive for the
   mobile off-canvas panel, Bootstrap modals for search/register/login, the
   vanilla-JS .lang-dropdown "open" toggle and WhatsApp dropdown) — this
   section only restyles the existing hooks to match the new header design.
     header                     shell (sticky, shrinks via .is-compact on scroll)
       .logo                    logo link (<img>)
       .sidebar                 utility row + main nav (off-canvas on < 992px)
         .h-options             utility row: partner / currencies / lang /
                                 social / search / account / whatsapp
         .h-nav                 main menu (.hideMob desktop row / .hideWeb
                                 mobile accordion, swapped by Bootstrap bp)
       .menu-wrapper             mobile-only search + burger (col, < 992px)
   ========================================================================== */

header {
    background: var(--rs-page);
    box-shadow: 0 1px 0 rgba(31, 26, 25, 0.03);
    transition: box-shadow .2s var(--rs-ease), padding .2s var(--rs-ease);
}

header.is-compact {
    box-shadow: var(--rs-shadow-1);
}


/* all.css's `header{position:relative;z-index:999}` makes header its own
   stacking context, which traps every descendant — including
   .lang-dropdown__menu (even at z-index:99999 internally) — below anything
   with a higher z-index outside of it. On /real_estate/turkey,
   .search-sec{z-index:1000} (see its comment further down) sits above that
   whole context once both are sticky near the top, so the open language
   dropdown renders behind the search bar. Only lift header above it while
   the dropdown is actually open, so the header/.search-sec stacking order
   this was tuned for otherwise stays untouched. Same trap, same fix, for the
   header's other dropdown: .social-icons (header-whatsapp.blade.php's
   floating WhatsApp/call/contact toggle) — Bootstrap's own dropdown.js adds
   .show to its .dropdown-menu, not the custom .open class the hand-rolled
   .lang-dropdown uses. */

header:has(.lang-dropdown.open),
header:has(.social-icons .dropdown-menu.show) {
    z-index: 1001;
}

header .logo img {
    transition: height .25s var(--rs-ease);
}

header.is-compact .logo img {
    height: clamp(42px, 5vw, 64px);
}

header .h-options {
    padding: 0;
    gap: 10px;
    row-gap: 8px;
    flex-wrap: wrap;
}


/* temp5.css fixes .user to a hard 120px — too narrow for the padded
   Register/LogIn buttons, which then visually overflow into .social-icons */

header .user {
    width: auto;
}


/* Root cause of the header overflowing/clipping on laptop widths (1200-1440):
   header .container-fluid > .row is a CSS grid (grid-template-columns:auto 1fr)
   and grid items default to min-width:auto, so .sidebar was never allowed to
   shrink below its content's natural width — it just grew past the viewport
   instead of letting .h-options/.h-nav wrap. min-width:0 lets the 1fr track
   actually hold to the available space so flex-wrap can do its job. */

header .sidebar,
header .col-11.sidebar {
    min-width: 0;
}


/* "Be Our Partner" pill */

header .h-options .partner {
    width: auto;
}

.partner a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 36px;
    padding: 5px 15px;
    border-radius: var(--rs-radius-pill);
    background: var(--rs-brand-deep);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    transition: background-color .18s var(--rs-ease);
}

.partner a:hover {
    background: var(--rs-brand-strong);
    color: #fff;
}

.partner__icon {
    display: grid;
    place-items: center;
    flex-shrink: 0;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, .55);
}

.partner__icon svg {
    width: 15px;
    height: 15px;
}


/* Currency switcher. temp5.css has ".sidebar .h-options .currencies{margin:0;
   border:0}" and "...currencies a{font-size:29px}" (3 classes, beats our
   2-class "header .h-options .currencies") — add the ".sidebar"-prefixed
   chain too so the bordered pill survives inside the mobile panel. */

header .h-options .currencies,
header .sidebar .h-options .currencies {
    display: inline-flex;
    align-items: center;
    height: 36px;
    padding: 3px;
    margin: 0;
    border: 1px solid var(--rs-border-strong);
    border-radius: var(--rs-radius-sm);
    background: var(--rs-card);
}

header .h-options .currencies a,
header .sidebar .h-options .currencies a {
    display: grid;
    place-items: center;
    min-width: 30px;
    height: 100%;
    padding: 0 6px;
    border-radius: 6px;
    color: var(--rs-ink);
    font-size: 14px;
    font-weight: 700;
    transition: background-color .15s var(--rs-ease), color .15s var(--rs-ease);
}

header .h-options .currencies a:hover {
    background: var(--rs-surface);
    color: var(--rs-brand-text);
}

header .h-options .currencies a.active {
    background: var(--rs-brand-deep);
    color: #fff;
}


/* Language dropdown: already close to target, just align tokens */


/* all.css/temp5.css define the trigger's structure (flex/padding/height/
   border/img size/chevron) scoped as "header .h-options .lang-dropdown__trigger"
   — add the ancestor-agnostic version so the mobile-top copy (in
   .menu-wrapper) isn't left with no layout at all. */

.lang-dropdown__trigger {
    display: flex;
    align-items: center;
    gap: 5px;
    background: var(--rs-card);
    border: 1px solid var(--rs-border-strong);
    border-radius: var(--rs-radius-sm);
    padding: 5px 10px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 700;
    color: var(--rs-ink);
    white-space: nowrap;
    line-height: 1;
    height: 36.23px;
    transition: border-color .2s, color .2s;
}

.lang-dropdown__trigger img {
    width: 20px;
    height: 14px;
    object-fit: cover;
    border-radius: 2px;
    display: block;
}

.lang-dropdown__trigger .lang-chevron {
    font-size: 10px;
    transition: transform .2s;
    margin-top: 0px;
}

.lang-dropdown.open .lang-chevron {
    transform: rotate(180deg);
}

.lang-dropdown__trigger:hover {
    border-color: var(--rs-brand-strong);
}

.lang-dropdown__trigger .lang-code {
    display: none;
    font-size: 13px;
}


/* The mobile top-bar copy (header-lang-dropdown.blade.php's short=>true) only
   renders .lang-code, not .lang-label — show it there or the trigger is just
   a flag + chevron with no text at all. */

.lang-dropdown--short .lang-dropdown__trigger .lang-code {
    display: inline;
}

.lang-dropdown.open .lang-dropdown__trigger {
    border-color: var(--rs-brand-strong);
    color: var(--rs-brand-text);
}


/* all.css/temp5.css only define .lang-dropdown{position:relative},
   .lang-dropdown__menu{display:none;position:absolute;...} and
   .open .lang-dropdown__menu{display:block} scoped as
   "header .h-options .lang-dropdown…" — none of that matches the mobile-top
   copy of this dropdown living in .menu-wrapper instead, so without these
   ancestor-agnostic versions it rendered inline, permanently expanded. */

.lang-dropdown {
    position: relative;
}

.lang-dropdown__menu {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    z-index: 50;
    min-width: 160px;
    background: var(--rs-card);
    border: 1px solid var(--rs-border);
    border-radius: var(--rs-radius-md);
    box-shadow: var(--rs-shadow-2);
    padding: 6px;
}

.lang-dropdown.open .lang-dropdown__menu {
    display: block;
}

.lang-dropdown__item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 8px;
    color: var(--rs-text);
    text-decoration: none;
}

.lang-dropdown__item img {
    width: 20px;
    height: 14px;
    object-fit: cover;
    border-radius: 2px;
    flex-shrink: 0;
}

.lang-dropdown__item:hover {
    background: var(--rs-surface);
}

.lang-dropdown__item.active {
    color: var(--rs-brand-text);
    background: var(--rs-brand-soft);
}


/* Social icons: neutral square buttons. Selector matches the legacy
   ancestor-qualified "header .h-options .header-social a[aria-label=X]"
   rules' specificity (same chain length) so this wins by source order. */

header .h-options .header-social a[aria-label] {
    border-radius: var(--rs-radius-sm);
    border: 1px solid var(--rs-border-strong);
    color: var(--rs-brand-strong);
    transition: border-color .15s var(--rs-ease), background-color .15s var(--rs-ease);
}

header .h-options .header-social a[aria-label]:hover {
    border-color: var(--rs-brand-strong);
    background: var(--rs-brand-soft);
}


/* Search toggle (desktop): markup is <button><div class="fas fa-search"></div></button> */

header .h-options .search-btn button {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    font-size: 19px;
    color: var(--rs-ink);
}

header .h-options .search-btn button:hover .fa-search {
    color: var(--rs-brand-text);
}


/* Register / Login — "header" prefix needed to beat temp5.css's
   "header .register .btn" / ".sidebar .register .btn" rules */

header .register {
    gap: 2px;
}

header .register .btn {
    padding: 7px 10px;
    border-radius: var(--rs-radius-sm);
    color: var(--rs-ink);
    font-weight: 500;
    transition: background-color .15s var(--rs-ease), color .15s var(--rs-ease);
}

header .register .btn:hover {
    background: var(--rs-surface);
    color: var(--rs-brand-text);
}

header .register .btn:last-child {
    border: 1px solid var(--rs-border-strong);
    font-weight: 600;
}

header .register .btn:last-child:hover {
    border-color: var(--rs-brand-strong);
}


/* Signed-in account menu: token-only pass (structure/behavior unchanged) */

.user .profile-link {
    color: var(--rs-ink);
}

.usermenu {
    border-color: var(--rs-border);
    border-radius: var(--rs-radius-md);
    box-shadow: var(--rs-shadow-2);
}

.usermenu .header i,
.usermenu .setting-logout i {
    color: var(--rs-brand-strong);
}

.usermenu .sell_btn .redbtn {
    background: var(--rs-brand-strong);
}

.usermenu a {
    color: var(--rs-brand-text);
}


/* WhatsApp floating toggle — the whatsapp.png icon is already green-on-white,
   so the circle stays light and the glow carries the "WhatsApp" color cue. */

.social-icons .toggler {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    padding: 9px;
    border-radius: 50%;
    background: var(--rs-card);
    box-shadow: 0 4px 12px rgba(37, 211, 102, .35);
    transition: transform .18s var(--rs-ease), box-shadow .18s var(--rs-ease);
}

.social-icons .toggler img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.social-icons .toggler:hover {
    transform: scale(1.06);
    box-shadow: 0 6px 16px rgba(37, 211, 102, .45);
}

.social-icons .icons {
    border-color: var(--rs-border);
    border-radius: var(--rs-radius-md);
    box-shadow: var(--rs-shadow-2);
    background: var(--rs-card);
}

.social-icons .icons a {
    background: var(--rs-card);
    border-color: var(--rs-border);
}


/* Main menu — desktop row (.hideMob). Sized with clamp(), not a fixed
   padding/font/gap, so 8 links + carets keep fitting on ONE line at
   laptop widths (992-1440) instead of wrapping or overflowing. temp5.css
   hard-codes flex-wrap:nowrap and a much larger gap/margin-left on this
   ul — override both down so nowrap always has room. */

.h-nav ul.hideMob {
    gap: clamp(2px, .45vw, 24px) !important;
    margin-left: clamp(0px, 1vw, 20px) !important;
}

.h-nav ul.hideMob li a {
    padding: 8px clamp(3px, .45vw, 13px);
    border-radius: var(--rs-radius-sm);
    color: var(--rs-ink);
    font-size: clamp(11px, .85vw, 15px);
    font-weight: 600;
    white-space: nowrap;
    transition: background-color .15s var(--rs-ease), color .15s var(--rs-ease);
}

.h-nav ul li a.nav-tv {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.h-nav ul li a.nav-tv svg.yt {
    flex-shrink: 0;
    width: 18px;
    height: 13px;
    color: var(--rs-brand-strong);
}

.h-nav ul li a.nav-tv svg.yt .yt-tri {
    fill: #fff;
}

.h-nav ul.hideMob li a:hover,
.h-nav ul.hideMob li:hover a {
    background: var(--rs-surface);
    color: var(--rs-brand-text);
}

.h-nav ul.hideMob li::before {
    display: none;
}


/* Current-page indicator: thick brand underline on every header nav link
   except "Buy Real Estate" (.shine already has its own red pill) and
   "Property Turkey TV" (already its own permanent pill/banner treatment,
   doesn't need the active-link underline on top). */

.h-nav ul.hideMob li a.active:not(.shine):not(.nav-tv) {
    position: relative;
    color: var(--rs-brand-text);
}

.h-nav ul.hideMob li a.active:not(.shine):not(.nav-tv)::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 3px;
    border-radius: 2px;
    background: var(--rs-brand);
}

.h-nav ul.hideMob li .slider-toggle {
    transition: transform .2s var(--rs-ease);
}

.h-nav ul.hideMob li.open .slider-toggle {
    transform: rotate(180deg);
}

header .menu-wrapper .menu {
    background-color: var(--color2);
    box-shadow: none;
}

header .menu-wrapper .search button {
    color: var(--rs-ink);
}


/* style-rtl.css carries over the old margin-left:15px spacing hack on
   .menu — the .menu-wrapper gap now handles spacing on both sides. */

[dir="rtl"] .menu {
    margin-left: 0 !important;
    margin-right: 0px !important;
}


/* Mobile menu panel. temp5.css makes .sidebar a full-height, fixed,
   right-hand drawer (right:100% closed -> right:0 when .active). The
   reference design instead opens a full-width panel directly under the
   header, so this redefines what the SAME .active toggle (still driven by
   the existing ng-click="toggleMenu()" / ng-class="{active:isActive}") looks
   like — no JS/markup change, just a different closed/open CSS state. */

@media (max-width: 991.98px) {
    header {
        position: relative;
    }
    /* Listing page (.search-sec, the filter bar on properties/index.blade.php)
     and guide pages (.guide-sidebar, resources/views/shared/content/partials/
     guide-page.blade.php): keep header pinned above the sticky bar(s) below
     instead of letting it scroll away, so everything stays visible together
     while scrolling. :has() already used above for
     header:has(.lang-dropdown.open) — header remains the .sidebar dropdown
     panel's positioning context either way, since sticky (like relative)
     still establishes one. */
    body:has(.search-sec) header,
    body:has(.guide-sidebar) header {
        position: sticky;
        top: 0;
    }
    /* Breadcrumbs sit between header and the guide-page content — stick them
     right below the now-sticky header too (same 64px header-height constant
     as .search-sec.sticky/.sidebar's max-height below), so they don't get
     covered by the fixed "Browse this guide" toggle underneath them. Scoped
     to guide pages only — breadcrumbs stay their normal in-flow selves
     everywhere else. */
    body:has(.guide-sidebar) .page_identifier.breadcrumbs {
        position: sticky;
        top: 64px;
        z-index: 999;
        background-color: var(--rs-card);
    }
    /* header's z-index:999 stacking context sits below .search-sec{z-index:1000},
     so the open mobile menu panel rendered behind the filter bar. Lift header
     above it only while the menu is open. */
    header:has(.sidebar.active),
    header:has(.social-icons .dropdown-menu.show) {
        z-index: 1002;
    }
    /* Persistent mobile top bar (.menu-wrapper): logo | lang code | search |
     whatsapp | burger — these are the SECOND, always-visible copies of the
     lang-dropdown/whatsapp toggle (see header-lang-dropdown.blade.php /
     header-whatsapp.blade.php), not subject to the .sidebar open/close state. */
    /* .logo and .menu-wrapper are rigid Bootstrap col-6/col-6 (each locked to
     50% width) — that leaves .logo most of its half empty while cramming
     lang+search+whatsapp+burger into the other half, squashing the burger
     into an oval. Let .logo size to its content and give the rest to
     .menu-wrapper instead of a fixed 50/50 split. */
    header .row>.logo.col-6 {
        flex: 0 0 auto;
        max-width: none;
        width: auto;
    }
    header .row>.menu-wrapper.col-6 {
        flex: 1 1 auto;
        max-width: none;
        width: auto;
    }
    /* all.css/temp5.css's own @media(max-width:992px) rule sets this same
     "header .logo img" selector to width:165px;height:auto — same specificity,
     so reskin.css (loaded last) only wins because it's declared after; keep
     this explicit rather than relying on source order alone. */
    /* Fluid mobile top bar: every item scales with the viewport via clamp()
     (min on ~320px phones, max from ~430px up), so small phones don't get
     an oversized logo or a cramped row. Logo keeps its aspect ratio
     (height:auto) instead of the old fixed 125x50 box. */
    header .logo img {
        width: clamp(92px, 30vw, 140px);
        height: auto;
    }
    /* header.is-compact sets a fixed height outside this media query (higher
     specificity) — keep the aspect ratio there too, just a bit smaller. */
    header.is-compact .logo img {
        width: clamp(84px, 26vw, 120px);
        height: auto;
    }
    header .menu-wrapper {
        display: flex;
        align-items: center;
        gap: clamp(6px, 2vw, 12px);
    }
    header .menu-wrapper .menu,
    header .menu-wrapper .search,
    header .menu-wrapper .lang-dropdown,
    header .menu-wrapper .social-icons {
        flex-shrink: 0;
    }
    header .menu-wrapper .search {
        display: none;
    }
    header .menu-wrapper .lang-dropdown__trigger {
        height: clamp(30px, 8.5vw, 36px);
        padding: 0 clamp(5px, 1.6vw, 8px);
        gap: clamp(3px, 1vw, 5px);
        font-size: clamp(11px, 3.2vw, 13px);
    }
    header .menu-wrapper .lang-dropdown__trigger img {
        width: clamp(16px, 4.6vw, 20px);
        height: auto;
    }
    header .menu-wrapper .lang-dropdown__trigger .lang-code {
        font-size: inherit;
    }
    header .menu-wrapper .lang-dropdown__menu {
        right: 0;
        left: auto;
    }
    /* temp5.css's "@media(max-width:992px){.social-icons{position:fixed;
     right:10px;bottom:10px}}" is unscoped, so it also grabs this mobile-top
     copy and turns it into a second floating FAB — pin it back in the row. */
    /* On phones/tablets the call/WhatsApp/contact toggle is a floating button
     pinned to the bottom-right of the viewport (as on the legacy site), not
     part of the header row. header has no transform/filter, so position:fixed
     inside it is still viewport-relative. */
    header .menu-wrapper .social-icons {
        position: fixed;
        right: 14px;
        bottom: calc(14px + env(safe-area-inset-bottom, 0px));
        margin-left: 0;
        z-index: 1100;
    }
    header .menu-wrapper .social-icons .toggler {
        width: 54px;
        height: 54px;
        padding: 10px;
        box-shadow: 0 6px 18px rgba(37, 211, 102, .45);
    }
    /* the menu opens upward from the button, anchored to its right edge
       (Popper's inline transform is dropped so these offsets win) */
    header .menu-wrapper .social-icons .dropdown-menu.icons {
        top: auto !important;
        bottom: 100% !important;
        left: auto !important;
        right: 0 !important;
        transform: none !important;
        margin: 0 0 8px !important;
    }
    /* a full-width sticky bar (.sticky_btn, ~52px tall) is pinned to the bottom edge: lift the button above it.
       the CTA variants are d-sm-none (phones only); the split nav bar shows up to 991px. */
    body:has(.sticky_btn_split.is-visible) header .menu-wrapper .social-icons {
        bottom: calc(70px + env(safe-area-inset-bottom, 0px));
    }
    @media (max-width: 575.98px) {
        body:has(.sticky_btn.is-visible) header .menu-wrapper .social-icons {
            bottom: calc(70px + env(safe-area-inset-bottom, 0px));
        }
    }
    /* Call/WhatsApp/contact dropdown (ul.dropdown-menu.icons): temp5.css gives
     it a fixed 210px height, fit-content width, no padding and 40px bare
     images in a narrow column — it read as a thin strip. Make it a compact
     card with evenly spaced round icon buttons instead. */
    header .menu-wrapper .social-icons .icons {
        /* temp5.css's `inset:1px 0 0 !important` pins top AND bottom, so with
         height:auto the box stretched to the (tiny) .dropdown parent and the
         icons overflowed it. Release the bottom so height follows the content. */
        bottom: auto !important;
        height: auto !important;
        min-width: 0;
        padding: 10px !important;
        gap: 10px;
        border: 1px solid var(--rs-border);
        border-radius: var(--rs-radius-md);
        background: var(--rs-card);
        box-shadow: var(--rs-shadow-2);
    }
    header .menu-wrapper .social-icons .icons.show {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    header .menu-wrapper .social-icons .icons li {
        margin: 0;
        height: auto;
    }
    header .menu-wrapper .social-icons .icons a {
        display: grid;
        place-items: center;
        width: 48px;
        height: 48px;
        margin: 0;
        padding: 0;
        border-radius: 50%;
    }
    header .menu-wrapper .social-icons .icons a img {
        width: 28px;
        height: 28px;
        object-fit: contain;
    }
    /* Burger: all.css makes it a 50px circle with margin-left:15px — far
     bigger than its neighbours; scale it with the rest of the row. */
    header .menu-wrapper .menu {
        width: clamp(34px, 10vw, 44px);
        height: clamp(34px, 10vw, 44px);
        margin-left: 0;
    }
    header .menu-wrapper .menu img {
        width: clamp(15px, 4.5vw, 20px);
    }
    /* .sidebar: full-width dropdown panel under the header (see note above
     this block) — holds the nav links and the reduced utility row below. */
    .sidebar {
        position: absolute;
        top: 100%;
        left: 0;
        right: auto;
        width: 100%;
        max-width: 100%;
        height: auto;
        max-height: calc(100vh - 64px);
        overflow-y: auto;
        background: var(--rs-page);
        border-top: 1px solid var(--rs-border);
        box-shadow: var(--rs-shadow-2);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-6px);
        transition: opacity .2s var(--rs-ease), transform .2s var(--rs-ease), visibility .2s;
        /* all.css's base (non-media-query) .sidebar{z-index:99999} is written for
       the old full-height drawer and isn't reset by this mobile override —
       left as-is it buries the persistent top bar's .lang-dropdown__menu
       (z-index:50) underneath this panel once it's open. */
        z-index: 10;
    }
    .sidebar.active {
        right: auto;
        opacity: 1;
        visibility: visible;
        transform: none;
    }
    /* The "← Back" bar belonged to the old full-height drawer (you'd slide it
     away); the burger itself now opens/closes this dropdown panel, so hide
     the bar rather than delete the existing ng-click="toggleMenu()" markup. */
    .sidebar .btn-exit {
        display: none;
    }
    /* Reduced utility row at the bottom of the panel: lang + social (Instagram/
     YouTube) are hidden here since they're now the persistent top-bar copies
     above — only currency + partner(icon) + register/login remain, as one
     wrapping row instead of temp5.css's flex-direction:column-reverse stack. */
    .sidebar .h-options {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: center;
        padding: 14px 16px;
    }
    header .h-options .header-social,
    header .sidebar .h-options .lang-dropdown,
    header .sidebar .h-options .social-icons {
        display: none;
    }
    /* Spec: "Be Our Partner" becomes icon-only between 768-991.98px (all.css
     hides .partner outright at all mobile widths via this exact chain —
     matched here to win on source order; left hidden below 768px). */
    header .h-options .partner .label {
        display: none;
    }
    header .h-options .partner a {
        padding: 0 8px;
    }
    /* Match the reference's collapsed-menu link sizing exactly
     (.site-header__nav > li > a { padding:12px; font-size:16px;
     justify-content:space-between } at <=1199.98px). */
    .h-nav ul.hideWeb li a {
        display: flex;
        justify-content: space-between;
        padding: 5px 15px;
        font-size: 14px;
        color: var(--rs-ink);
        font-weight: 600;
    }
    /* reference overrides nav-tv back to flex-start so the icon sits next to
     the text instead of being pushed to the far edge by space-between */
    .h-nav ul.hideWeb li a.nav-tv {
        justify-content: flex-start;
        padding: 2px 15px;
    }
    /* Unify the row rhythm between plain links and the accordion items
     (About Turkey/Buyer Guide/About us) so they read as one consistent list. */
    .sidebar .h-nav ul.hideWeb li,
    .sidebar .h-nav .accordion.accordion-flush .accordion-item {
        padding: 4px;
    }
}

@media (min-width: 768px) and (max-width: 991.98px) {
    .sidebar .h-options .partner {
        display: inline-flex;
        width: auto;
    }
}

@media (prefers-reduced-motion: reduce) {
    .sidebar {
        transition: none;
    }
}

.property-card {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    background: var(--rs-card);
    border: 1px solid var(--rs-border);
    border-radius: var(--rs-radius-md);
    box-shadow: var(--rs-shadow-1);
    overflow: hidden;
    margin-bottom: 20px;
    transition: transform .28s var(--rs-ease), box-shadow .28s var(--rs-ease), border-color .28s var(--rs-ease);
}

.property-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--rs-shadow-2);
    border-color: var(--rs-border-strong);
}


/* 2. Media (photo / owl carousel) --------------------------------------- */

.property-card__media {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: var(--rs-surface-alt);
    /* .property-card__body's text content can need more height than its
       flex-basis: 0% allots it; without this, flexbox shrinks this photo
       below its own aspect-ratio to make room instead of letting the card
       grow taller. */
    flex-shrink: 0;
}

/* Cards are col-12 below 768px, so the photo is nearly full viewport width;
   4/3 made it very tall (e.g. ~270px on a 360px-wide phone). Wider/shorter
   ratio keeps more of the card's price/title/features visible per scroll. */
@media (max-width: 767.98px) {
    .property-card__media {
        aspect-ratio: 16 / 9;
    }
}

.property-card__media .owl-carousel,
.property-card__media .owl-stage-outer,
.property-card__media .owl-stage,
.property-card__media .owl-item,
.property-card__media .owl-item a {
    height: 100%;
}

.property-card__media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s var(--rs-ease);
}

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

.property-card__media .soldout_icon {
    position: absolute;
    inset: 0;
    z-index: 2;
    width: auto;
    max-width: 70%;
    margin: auto;
}


/* Soft fade at the bottom so the dots stay visible on bright photos */

.property-card__media::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 48px;
    z-index: 1;
    background: linear-gradient(0deg, rgba(0, 0, 0, .3), rgba(0, 0, 0, 0));
    pointer-events: none;
}


/* Owl Carousel's own dots (owl-card is initialised with dots:true, nav:false) */

.property-card__media .owl-dots {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 10px;
    z-index: 2;
    display: flex;
    justify-content: center;
    gap: 5px;
    line-height: 0;
}

.property-card__media .owl-dots .owl-dot span {
    display: block;
    width: 6px;
    height: 6px;
    margin: 0 !important;
    border-radius: var(--rs-radius-pill);
    background: #fff;
    opacity: .6;
    transition: width .25s var(--rs-ease), opacity .25s var(--rs-ease);
}

.property-card__media .owl-dots .owl-dot.active span {
    width: 18px;
    opacity: 1;
}


/* Badges: category + "Recommended", stacked top-left */

.property-card__badges {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.property-card__badge {
    padding: 5px 11px;
    border-radius: var(--rs-radius-pill);
    background: var(--rs-on-media-bg);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    color: var(--rs-on-media-text);
    font-size: 12.5px;
    font-weight: 600;
    line-height: 1.2;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .12);
}

.property-card__badge:empty {
    display: none;
}

.property-card__badge--featured {
    background: var(--rs-brand-strong);
    color: var(--rs-on-brand);
    box-shadow: 0 1px 3px rgba(0, 0, 0, .18);
}

.property-card__badge--featured:empty {
    display: none;
}


/* Favourite button (wraps the existing <i id="heart-icon-…"> FA icon) */

.property-card__fav {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 3;
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(0, 0, 0, .247);
    cursor: pointer;
    transition: transform .18s var(--rs-ease), background-color .18s var(--rs-ease);
}

.property-card__fav:hover {
    transform: scale(1.08);
}

.property-card__fav i {
    font-size: 16px;
    color: #fff;
}


/* .redText (all.css, !important) already reddens the icon once favourited. */


/* Variant used where the button sits inline in the body (not over the photo) */

.property-card__fav--inline {
    position: static;
    width: 34px;
    height: 34px;
}


/* 3. Body ---------------------------------------------------------------- */

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

.property-card__title {
    display: block;
    margin: 0 0 6px;
    font-size: 17px;
    font-weight: 650;
    line-height: 1.35;
    letter-spacing: -.01em;
    color: var(--rs-ink);
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.property-card__title:hover {
    color: var(--rs-brand-text);
}

.property-card__desc {
    margin: 0 0 12px;
    font-size: 14px;
    line-height: 1.55;
    color: var(--rs-text-muted);
}

.property-card__desc p {
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.property-card__features {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 16px;
    margin: 0 0 10px;
    padding: 0;
    list-style: none;
    font-size: 13.5px;
    font-weight: 500;
    color: var(--rs-text);
}

.property-card__features .feat {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

.property-card__features .feat img {
    width: 17px;
    height: 17px;
    flex-shrink: 0;
    opacity: .7;
}

.property-card__features .feat small {
    color: var(--rs-text-muted);
    font-size: 11px;
}

.property-card__ref {
    margin: auto 0 0;
    padding-top: 4px;
    font-size: 12px;
    color: var(--rs-text-muted);
}


/* 4. Footer: price + video + enquire ------------------------------------- */

.property-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 14px 20px;
    border-top: 1px solid var(--rs-border);
}

.property-card__price {
    margin: 0;
    font-size: 19px;
    font-weight: 700;
    letter-spacing: -.01em;
    color: var(--rs-ink);
    white-space: nowrap;
}

.property-card__footer .vid {
    flex-shrink: 0;
}

.property-card__enquire {
    flex-shrink: 0;
    padding: 8px 16px;
    border: 0;
    border-radius: var(--rs-radius-sm);
    background: var(--rs-brand-soft);
    color: var(--rs-brand-text);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    /* <button> doesn't inherit font-family by default, so without this it
     falls back to the browser's UI font instead of style-rtl.css's Jannat
     face on ar/fa — same fix as .property-enquire-cta/.sticky_btn. */
    font-family: inherit;
    transition: background-color .18s var(--rs-ease), color .18s var(--rs-ease);
}

.property-card__enquire:hover {
    background: var(--rs-brand-strong);
    color: var(--rs-on-brand);
}


/* Admin-only controls (shown to logged-in staff): a compact toolbar strip
   under the footer, styled as muted staff tooling rather than public brand
   UI. Reuses .property-card__enquire's soft/strong-on-hover pill instead of
   inventing a new button style. .redText/.greenText/.orangeText (the "Rec"
   status icon) are left alone here — all.css reuses them !important for the
   favourite heart elsewhere, and they're legible as-is on this light strip. */

.property-card .ctrl_btns {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 6px;
    max-width: 100%;
    padding: 10px 20px;
    background: var(--rs-surface-alt);
    border-top: 1px solid var(--rs-border);
}

.property-card .ctrl_btns .website_ctrl,
.property-card .ctrl_btns .selector_ctrl {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
}

.property-card .ctrl_btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    height: 30px;
    min-width: 30px;
    padding: 0 12px;
    border: 1px solid var(--rs-border-strong);
    border-radius: var(--rs-radius-pill);
    background: var(--rs-card);
    color: var(--rs-text-muted);
    font-size: 12px;
    font-weight: 600;
    line-height: 1;
    text-decoration: none;
    cursor: pointer;
    transition: background-color .18s var(--rs-ease), color .18s var(--rs-ease), border-color .18s var(--rs-ease);
}

.property-card .ctrl_btn:hover {
    background: var(--rs-brand-strong);
    border-color: var(--rs-brand-strong);
    color: var(--rs-on-brand);
}

.property-card .ctrl_btn i {
    font-size: 13px;
}

/* Photos / edit / slider are icon-only — make them perfectly round
   ("Disable", the first button in .website_ctrl, keeps its text + pill shape). */
.property-card .ctrl_btn:not(:first-child) {
    width: 30px;
    padding: 0;
}

/* Disable is one-way (a disabled record never shows on the site again), so once it
   succeeds the button is replaced by this static, inert label instead of staying
   clickable. */
.property-card .ctrl_btn--disabled {
    background: transparent;
    border-color: transparent;
    color: var(--rs-text-muted);
    cursor: default;
}

.property-card .ctrl_btns .options_div {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 30px;
    padding: 0 12px;
    border: 1px solid var(--rs-border-strong);
    border-radius: var(--rs-radius-pill);
    background: var(--rs-card);
    color: var(--rs-text-muted);
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
}

.property-card .ctrl_btns .options_div input {
    accent-color: var(--rs-brand-strong);
}

/* Tag-toggle checkboxes, forced onto their own line within .website_ctrl's flex-wrap */
.property-card .ctrl_btn_tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    flex-basis: 100%;
    margin-top: 6px;
}

.property-card .tag_ctrl {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 30px;
    padding: 0 12px;
    border: 1px solid var(--rs-border-strong);
    border-radius: var(--rs-radius-pill);
    background: var(--rs-card);
    color: var(--rs-text-muted);
    font-size: 12px;
    font-weight: 600;
    line-height: 1;
    cursor: pointer;
    transition: background-color .18s var(--rs-ease), color .18s var(--rs-ease), border-color .18s var(--rs-ease);
}

.property-card .tag_ctrl input[type="checkbox"] {
    accent-color: var(--rs-brand-strong);
    margin: 0;
    cursor: pointer;
}

.property-card .tag_ctrl:has(input:checked) {
    background: var(--rs-brand-strong);
    border-color: var(--rs-brand-strong);
    color: var(--rs-on-brand);
}

@media (prefers-reduced-motion: reduce) {
    .property-card .ctrl_btn {
        transition: none;
    }
}


/* ==========================================================================
   Testimonials
   ========================================================================== */

.testimonials {
    position: relative;
    background: var(--rs-surface-alt);
}


/* Faint dot grid, fading out toward the centre — same technique as
   .message-us .talk::before above (reskin's tokenized replacement for
   legacy's dots.webp image), reused here instead of the raster image. */

.testimonials::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background-image: radial-gradient(var(--rs-border-strong) 1px, transparent 1.4px);
    background-size: 18px 18px;
    -webkit-mask-image: radial-gradient(ellipse 70% 90% at 50% 50%, transparent 35%, #000 100%);
    mask-image: radial-gradient(ellipse 70% 90% at 50% 50%, transparent 35%, #000 100%);
    opacity: 0.7;
    pointer-events: none;
}

.testimonials>* {
    position: relative;
    z-index: 1;
}


/* Owl: make every slide the same height */

.owl-testimonials .owl-stage {
    display: flex;
}

.owl-testimonials .owl-item {
    display: flex;
    height: auto;
}

.testimonial-card {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    padding: 28px 28px 24px;
    background: var(--rs-card);
    border: 1px solid var(--rs-border);
    border-radius: var(--rs-radius-md);
    box-shadow: var(--rs-shadow-1);
}

.testimonial-card__quote {
    position: absolute;
    top: 20px;
    right: 24px;
    width: 40px;
    height: 40px;
    color: var(--rs-brand-soft);
    pointer-events: none;
}

[dir="rtl"] .testimonial-card__quote {
    right: auto;
    left: 24px;
}


/* Decorative — not tied to real review data (none is collected today). */

.testimonial-card__stars {
    display: flex;
    gap: 2px;
    margin-bottom: 14px;
    color: var(--rs-rating, #e0a21a);
}

.testimonial-card__stars svg {
    width: 15px;
    height: 15px;
}

.testimonial-card__title {
    margin: 0 0 10px;
    padding-right: 44px;
    font-size: 18px;
    font-weight: 650;
    line-height: 1.35;
}

[dir="rtl"] .testimonial-card__title {
    padding-right: 0;
    padding-left: 44px;
}

.testimonial-card__title a {
    color: var(--rs-ink);
    text-decoration: none;
}

.testimonial-card__title a:hover {
    color: var(--rs-brand-text);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.testimonial-card__text {
    margin: 0 0 20px;
    font-size: 15px;
    line-height: 1.65;
    color: var(--rs-text);
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.testimonial-card__meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px solid var(--rs-border);
}

.testimonial-card__avatar {
    display: grid;
    place-items: center;
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--rs-brand-soft);
    overflow: hidden;
}

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

.testimonial-card__date {
    display: block;
    font-size: 13px;
    color: var(--rs-text-muted);
}


/* Owl nav / dots for the testimonials carousel */

.owl-testimonials .owl-nav button.owl-prev,
.owl-testimonials .owl-nav button.owl-next {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    padding: 0;
    border-radius: 50%;
    border: 1px solid var(--rs-border-strong) !important;
    background: var(--rs-card) !important;
    color: var(--rs-ink) !important;
    box-shadow: var(--rs-shadow-1);
}

.owl-testimonials .owl-nav button.owl-prev .fa,
.owl-testimonials .owl-nav button.owl-next .fa {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    line-height: 1;
}

.owl-testimonials .owl-nav button:hover {
    border-color: var(--rs-brand-strong) !important;
    color: var(--rs-brand-text) !important;
}

.owl-testimonials .owl-dots .owl-dot span {
    background: var(--rs-border-strong);
    transition: width .2s var(--rs-ease), background-color .2s var(--rs-ease);
}

.owl-testimonials .owl-dots .owl-dot.active span {
    width: 22px;
    background: var(--rs-brand-strong);
}


/* New: Trustpilot link next to the "Read more testimonials" .discover button.
   No existing hook for this, so it's a new class. */

.testimonials .btn-container {
    flex-wrap: wrap;
    gap: 16px;
}

.testimonials-trustpilot {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    border: 1px solid #00b67a;
    /* Trustpilot green */
    border-radius: var(--rs-radius-sm);
    background: #00b67a;
    /* Trustpilot green */
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: background-color .18s var(--rs-ease), border-color .18s var(--rs-ease);
}

.testimonials-trustpilot svg {
    width: 24px;
    height: 24px;
    color: #fff;
    flex-shrink: 0;
}

.testimonials-trustpilot:hover {
    background: #009e67;
    /* darker Trustpilot green */
    border-color: #009e67;
    color: #fff;
    /* temp5.css's global a:hover{color:var(--color2)} would otherwise win */
}


/* ==========================================================================
   Footer
   .site-footer__main   link columns wrapper
     .site-footer__col  one column (h3 + ul + optional "More")
     .site-footer__more "More" link
   .site-footer__row    a horizontal band (badges/social, lang/rating)
   .site-footer__legal  registration + copyright strip
   ========================================================================== */

:root {
    --rs-footer-bg: rgb(23, 27, 42);
    --rs-footer-bg-2: #0f111c;
    --rs-footer-heading: #ffffff;
    --rs-footer-text: #cbc3bf;
    --rs-footer-muted: #9b928e;
    --rs-footer-border: rgba(255, 255, 255, .10);
    --rs-footer-chip: rgba(255, 255, 255, .05);
}

.site-footer {
    background: var(--rs-footer-bg);
    color: var(--rs-footer-text);
    font-size: 14.5px;
    line-height: 1.55;
}

.site-footer a {
    color: var(--rs-footer-text);
    text-decoration: none;
}

.site-footer a:hover {
    color: var(--rs-footer-heading);
}

.site-footer__main {
    display: grid;
    grid-template-columns: 1fr 1.5fr 1fr 1fr 1.5fr;
    gap: 40px 32px;
    padding: 64px 0 48px;
}

.site-footer__col h3 {
    position: relative;
    margin: 0 0 20px;
    padding-bottom: 12px;
    font-size: 15px;
    font-weight: 650;
    color: var(--rs-footer-heading);
}

.site-footer__col h3::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 24px;
    height: 2px;
    border-radius: 2px;
    background: var(--rs-brand);
}

[dir="rtl"] .site-footer__col h3::after {
    left: auto;
    right: 0;
}

.site-footer__col ul {
    display: grid;
    gap: 9px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.site-footer__col--split ul {
    grid-template-columns: 1fr 1fr;
    column-gap: 20px;
}

.site-footer__col li a {
    display: inline-block;
    transition: color .15s var(--rs-ease), transform .15s var(--rs-ease);
}

.site-footer__col li a:hover {
    transform: translateX(2px);
}

[dir="rtl"] .site-footer__col li a:hover {
    transform: translateX(-2px);
}

.site-footer__more {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-top: 14px;
    font-weight: 600;
    color: var(--rs-footer-heading) !important;
}

.site-footer__more svg {
    width: 14px;
    height: 14px;
    transition: transform .15s var(--rs-ease);
}

.site-footer__more i {
    font-size: 12px;
}

.site-footer__more:hover svg {
    transform: translateX(3px);
}

[dir="rtl"] .site-footer__more svg {
    transform: scaleX(-1);
}

[dir="rtl"] .site-footer__more:hover svg {
    transform: scaleX(-1) translateX(3px);
}


/* "More/less" footer lists: show max 5 items, reveal the rest via .show-less-toggle
   (toggles .showLess/.showAll on the preceding .footer-sec — see app-script.blade.php).
   Overrides the legacy fixed-height .showLess/.showAll rules, which clipped content. */

.footer-sec.showLess,
.footer-sec.showAll {
    overflow: visible;
    max-height: none;
}

.footer-sec li:nth-child(n+6) {
    display: none;
}

.footer-sec.showAll li:nth-child(n+6) {
    display: block;
}

.site-footer__row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 20px 32px;
    padding: 24px 0;
    border-top: 1px solid var(--rs-footer-border);
}

.site-footer__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.site-footer__badges a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 44px;
    padding: 6px 14px;
    border: 1px solid var(--rs-footer-border);
    border-radius: 10px;
    background: var(--rs-footer-chip);
    font-size: 13.5px;
    font-weight: 600;
    color: var(--rs-footer-heading);
    transition: border-color .15s var(--rs-ease), background-color .15s var(--rs-ease);
}

.site-footer__badges a:hover {
    border-color: rgba(255, 255, 255, .28);
    background: rgba(255, 255, 255, .08);
}

.site-footer__badges img {
    display: block;
    height: 28px;
    width: auto;
    border-radius: 6px;
}

.site-footer__social {
    display: flex;
    gap: 8px;
}

.site-footer__social a {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border: 1px solid var(--rs-footer-border);
    border-radius: 50%;
    color: var(--rs-footer-text);
    font-size: 16px;
    transition: background-color .15s var(--rs-ease), border-color .15s var(--rs-ease), color .15s var(--rs-ease);
}

.site-footer__social a:hover {
    background: var(--rs-brand-strong);
    border-color: var(--rs-brand-strong);
    color: #fff;
}

.site-footer__prefs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px 24px;
}

.site-footer__langs {
    display: flex;
    gap: 6px;
}

.site-footer__langs a {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border: 1px solid transparent;
    border-radius: 50%;
    transition: border-color .15s var(--rs-ease), background-color .15s var(--rs-ease);
}

.site-footer__langs a:hover {
    background: var(--rs-footer-chip);
    border-color: var(--rs-footer-border);
}

.site-footer__langs a[aria-current="true"] {
    border-color: rgba(255, 255, 255, .45);
}

.site-footer__langs img {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    object-fit: cover;
}

.site-footer__currency {
    display: inline-flex;
    padding: 3px;
    border: 1px solid var(--rs-footer-border);
    border-radius: var(--rs-radius-pill);
    background: var(--rs-footer-chip);
}

.site-footer__currency a {
    min-width: 34px;
    padding: 4px 10px;
    border-radius: var(--rs-radius-pill);
    font-weight: 600;
    text-align: center;
    color: var(--rs-footer-muted);
    transition: background-color .15s var(--rs-ease), color .15s var(--rs-ease);
}

.site-footer__currency a:hover {
    color: var(--rs-footer-heading);
}

.site-footer__currency a[aria-current="true"] {
    background: var(--rs-footer-heading);
    color: var(--rs-footer-bg);
}

.site-footer__rating {
    display: flex;
    align-items: center;
    gap: 12px;
}

.site-footer__rating-score {
    font-size: 26px;
    font-weight: 700;
    letter-spacing: -.02em;
    line-height: 1;
    color: var(--rs-footer-heading);
}

.site-footer__rating-stars {
    display: flex;
    gap: 2px;
}

.site-footer__rating-stars span {
    display: grid;
    place-items: center;
    width: clamp(16px, 4vw, 18px);
    height: clamp(16px, 4vw, 18px);
    background: #00b67a;
    color: #fff;
}

.site-footer__rating-stars span.is-empty {
    background: #5c5552;
}

.site-footer__rating-stars svg {
    width: clamp(10px, 2.5vw, 12px);
    height: clamp(10px, 2.5vw, 12px);
}

.site-footer__rating-text {
    font-size: 13px;
    color: var(--rs-footer-muted);
}

.site-footer__rating-text a {
    color: var(--rs-footer-heading);
    font-weight: 600;
}

.site-footer__rating-text img {
    height: 20px;
    width: auto;
    vertical-align: -4px;
    margin-inline-start: 4px;
}

.site-footer__legal {
    background: var(--rs-footer-bg-2);
    padding: 18px 0;
    font-size: 13px;
    color: var(--rs-footer-muted);
}

.site-footer__legal .legal-inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 6px 24px;
}

.site-footer__legal p {
    margin: 0;
}

.site-footer__legal .legal-reg {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 4px 18px;
}

@media (max-width: 1199.98px) {
    .site-footer__main {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 767.98px) {
    .site-footer__main {
        grid-template-columns: 1fr 1fr;
        gap: 36px 24px;
        padding: 48px 0 36px;
    }
    .site-footer__col--split,
    .site-footer__col--wide {
        grid-column: 1 / -1;
    }
    .site-footer__col--wide ul {
        grid-template-columns: 1fr 1fr;
        column-gap: 20px;
    }
    .site-footer__row {
        flex-direction: column;
        align-items: center;
    }
    .site-footer__prefs {
        flex-direction: column;
        align-items: center;
        margin: 0 auto;
    }
    .site-footer__rating {
        margin: 0 auto;
    }
}

@media (max-width: 575.98px) {
    .site-footer__badges {
        flex-direction: column;
        align-items: center;
        margin: 0 auto;
    }
    .site-footer__badges a {
        width: 100%;
        max-width: 280px;
    }
    .site-footer__social {
        justify-content: center;
        margin: 0 auto;
    }
}

@media (prefers-reduced-motion: reduce) {
    .site-footer__col li a,
    .site-footer__more svg {
        transition: none;
    }
    .site-footer__col li a:hover {
        transform: none;
    }
}


/* ==========================================================================
   Latest blogs / economy reports / news — replaced by .content-hub below
   (Claude Design's spec for this section), kept this comment as a pointer
   since the old .recent/.post markup it targeted no longer renders.
   ========================================================================== */


/* ==========================================================================
   Blog / Economy & property / News ("content hub")
   .content-hub__grid > .content-block (blog | economy | news)
     .content-block__title, .content-block__list > .post-card, .content-block__actions
   ========================================================================== */

.content-hub {
    position: relative;
    background: var(--rs-page, #fff);
    padding: 64px 0;
}


/* Faint dot grid, fading out toward the centre — same technique as
   .message-us .talk::before / .testimonials::before / .pt-tv::before / .about::before above. */

.content-hub::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background-image: radial-gradient(var(--rs-border-strong) 1px, transparent 1.4px);
    background-size: 18px 18px;
    -webkit-mask-image: radial-gradient(ellipse 70% 90% at 50% 50%, transparent 35%, #000 100%);
    mask-image: radial-gradient(ellipse 70% 90% at 50% 50%, transparent 35%, #000 100%);
    opacity: 0.7;
    pointer-events: none;
}

.content-hub .container-fluid {
    position: relative;
    z-index: 1;
    max-width: 1240px;
    margin: 0 auto;
}

.content-hub__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 40px 32px;
    align-items: start;
}

.content-block {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.content-block__title {
    position: relative;
    margin: 0 0 20px;
    padding-bottom: 12px;
    font-size: 21px;
    font-weight: 700;
    letter-spacing: -.015em;
    color: var(--rs-ink);
    border-bottom: 1px solid var(--rs-border);
}

.content-block__title b {
    color: var(--rs-brand-strong);
}

.content-block__title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 32px;
    height: 2px;
    border-radius: 2px;
    background: var(--rs-brand);
}

[dir="rtl"] .content-block__title::after {
    left: auto;
    right: 0;
}

.content-block__list {
    display: grid;
    gap: 22px;
}

.post-card {
    position: relative;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 14px;
    background: var(--rs-card);
    border: 1px solid var(--rs-border);
    border-radius: var(--rs-radius-md);
    box-shadow: var(--rs-shadow-1);
    padding: 10px;
    transition: box-shadow .28s var(--rs-ease), border-color .28s var(--rs-ease);
}

.post-card:hover {
    border-color: var(--rs-border-strong);
    box-shadow: var(--rs-shadow-2);
}

.post-card__media {
    position: relative;
    flex: 0 0 110px;
    width: 110px;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: var(--rs-radius-sm);
    background: var(--rs-surface-alt);
}

.post-card__media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s var(--rs-ease);
}

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


/* Title + date stack beside the thumbnail, legacy-card style. */

.post-card__body {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
    flex: 1;
}

.post-card__title {
    margin: 0;
    font-size: 16.5px;
    font-weight: 650;
    line-height: 1.4;
    letter-spacing: -.01em;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.post-card__title a {
    color: var(--rs-ink);
    text-decoration: none;
}

.post-card__title a::after {
    content: "";
    position: absolute;
    inset: 0;
}

.post-card:hover .post-card__title a {
    color: var(--rs-brand-text);
}

.post-card__date {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--rs-text-muted);
}

.post-card__date svg {
    width: 14px;
    height: 14px;
}

.content-block__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
}


/* ==========================================================================
   Testimonials / As Featured In listing pages (shared
   resources/views/shared/content/partials/card-listing.blade.php).
   .all_blog_page and .testimonial_page are always the SAME <section> — both
   testimonials.blade.php and as-featured-in.blade.php pass both classes
   together — so selecting either reaches this one markup; kept split across
   both selector names only to match how each was asked for.
   Legacy: flat #eee-bordered card, grey card-footer bar, and an
   .img-square-wrapper that (despite its name) isn't actually square —
   it stretches to match the text column's height via .card-horizontal's
   align-items:stretch. Modernized to the card language used elsewhere
   (tokenized colours, rounded corners, soft shadow, hover lift) and the
   image is pinned to an actual 1:1 box instead of the stretched height. */

.all_blog_page {
    background: var(--rs-surface-alt);
}

.testimonial_page .card {
    border: 1px solid var(--rs-border);
    border-radius: var(--rs-radius-md);
    box-shadow: var(--rs-shadow-1);
    background: var(--rs-card);
    overflow: hidden;
    transition: box-shadow .28s var(--rs-ease), border-color .28s var(--rs-ease);
}

.testimonial_page .card:hover {
    border-color: var(--rs-border-strong);
    box-shadow: var(--rs-shadow-2);
}

.testimonial_page .card>.card-title {
    display: block;
    margin: 0;
    padding: 16px 16px 0;
    font-size: 18px;
    font-weight: 650;
    color: var(--rs-ink);
    text-decoration: none;
    transition: color .18s var(--rs-ease);
}

.testimonial_page .card>.card-title:hover {
    color: var(--rs-brand-text);
}

.testimonial_page .img-square-wrapper {
    height: auto;
    aspect-ratio: 1 / 1;
    border-radius: var(--rs-radius-sm);
    margin: 16px 0;
}

.testimonial_page .img-square-wrapper img {
    border-radius: inherit;
}

.all_blog_page .card-body {
    padding: 16px;
    color: var(--rs-text);
    line-height: 1.6;
}

.testimonial_page .card-footer {
    background: transparent;
    border: 0;
    border-top: 1px solid var(--rs-border);
    margin-top: 0;
    padding: 10px 16px;
    color: var(--rs-text-muted);
}

.testimonial_page .card-footer i {
    margin-right: 6px;
    color: var(--rs-text-muted);
}

[dir="rtl"] .testimonial_page .card-footer i {
    margin-right: 0;
    margin-left: 6px;
}


/* ==========================================================================
   Article/report header (.big_tes_header, resources/views/sites/pt/content/
   article.blade.php) — title, then one unified meta row (author, tag list,
   created/updated dates) underneath. Legacy: a dated grey drop-shadow box, a
   dashed-border share button, an author photo faked-cropped via
   transform:scale(1.2), Bootstrap order-* utilities reflowing title/author/
   tags/dates into 4 separately-stacked rows that drifted out of alignment
   with each other (tags indented, dates grid-stretched to 50% and centered),
   and a mobile-only ordering bug where the dates column (last in the DOM,
   tied for order with .captilalizer) sorted above the title.
   Re-designed as: title (full width) -> .big_tes_header__meta, a single
   left-aligned flex row holding .big_tes_header__author, .captilalizer and
   .big_tes_header__dates side by side with thin vertical dividers between
   them, wrapping naturally on narrow screens. .big_tes_header__meta,
   .big_tes_header__author and .big_tes_header__dates are new wrapper classes
   (article.blade.php) added because author/tags/dates had no shared parent
   to lay them out together; .big_tes_header__date (singular, one per date)
   already existed for the created/updated split. */

.big_tes_header {
    background: var(--rs-card);
    padding: 28px clamp(16px, 5vw, 48px);
    border: 1px solid var(--rs-border);
    border-top: 0;
    box-shadow: var(--rs-shadow-1);
}

.big_tes_header .row {
    row-gap: 14px;
}

.big_tes_header__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    column-gap: 16px;
    row-gap: 8px;
    margin-top: 2px;
    padding-top: 14px;
    border-top: 1px solid var(--rs-border);
    font-size: 13.5px;
    color: var(--rs-text-muted);
}

.big_tes_header__meta>*+* {
    padding-inline-start: 16px;
    border-inline-start: 1px solid var(--rs-border);
}

.big_tes_header h1 {
    position: relative;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin: 0;
    padding: 0;
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.3;
    color: var(--rs-ink);
}

@media (max-width: 767.98px) {
    .big_tes_header h1 {
        font-size: 1.5rem;
    }
}

.big_tes_header .share-btn,
.big_tes_header .economy-report-actions {
    position: static;
    flex-shrink: 0;
}

.big_tes_header .economy-report-actions {
    display: inline-flex;
    gap: 8px;
}

.big_tes_header .share-btn {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0 !important;
    border: 1px solid var(--rs-border);
    border-radius: 50%;
    background: var(--rs-surface-alt);
    transition: background-color .2s var(--rs-ease), border-color .2s var(--rs-ease);
}

.big_tes_header .share-btn:hover {
    background: var(--rs-brand-soft);
    border-color: var(--rs-brand);
}

.big_tes_header .share-btn img,
.big_tes_header .share-btn i {
    width: 18px;
    height: 18px;
    font-size: 18px;
    line-height: 1;
}

.big_tes_header .captilalizer {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    font-size: 13.5px;
    color: var(--rs-text-muted);
}

.big_tes_header .captilalizer i {
    color: var(--rs-brand);
    font-size: 12px;
}

.big_tes_header .captilalizer a {
    color: var(--rs-text-muted);
    text-decoration: none;
}

.big_tes_header .captilalizer a:hover {
    color: var(--rs-brand-text);
    text-decoration: underline;
}

.big_tes_header__author {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--rs-text-muted);
}

.big_tes_header .author-photo {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    transform: none;
    border: 2px solid var(--rs-border);
}

.big_tes_header__author>span.redText:first-child {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--rs-surface-alt);
    color: var(--rs-text-muted) !important;
}

.big_tes_header__author .redText {
    color: var(--rs-brand-text) !important;
    font-weight: 600;
}

.big_tes_header__author a.redText:hover {
    color: var(--rs-brand-hover) !important;
}

.big_tes_header__dates {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    column-gap: 10px;
    row-gap: 4px;
}

.big_tes_header__dates .redText {
    color: var(--rs-brand-text) !important;
    font-weight: 600;
}

.big_tes_header__date {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px 10px;
}

.big_tes_header__date+.big_tes_header__date {
    padding-inline-start: 10px;
    border-inline-start: 1px solid var(--rs-border);
}


/* Shared small buttons for the content hub and TV sections. A few other
   one-off legacy buttons fold into this same look: .contact-submit-btn
   (content/sections/contact-us.blade.php) and .author-btn (content/article.blade.php)
   onto .btn-solid; .main-btn (account/profile.blade.php) onto .btn-outline.
   Each shipped with its own ad hoc color in all.css/temp5.css (var(--color1)
   vs var(--color2) depending on the file) — unified here instead. */

.btn-outline,
.main-btn,
.btn-solid,
.contact-submit-btn,
.author-btn,
.readmore-link {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 9px 18px;
    border-radius: var(--rs-radius-sm);
    font: inherit;
    font-size: 14.5px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    transition: background-color .18s var(--rs-ease), border-color .18s var(--rs-ease), color .18s var(--rs-ease);
}

.btn-outline,
.main-btn,
.readmore-link {
    border: 1px solid var(--rs-border-strong);
    background: var(--rs-card);
    /* !important: markup ships .readmore-link alongside the global .redText
     utility (color:var(--color1)!important) — match its own button text. */
    color: var(--rs-ink) !important;
}

.btn-outline:hover,
.main-btn:hover,
.readmore-link:hover {
    border-color: var(--rs-brand-strong);
    color: var(--rs-brand-text) !important;
}

.btn-solid,
.contact-submit-btn,
.author-btn {
    border: 1px solid var(--rs-brand-strong);
    background: var(--rs-brand-strong);
    color: var(--rs-on-brand);
}

.btn-solid:hover,
.contact-submit-btn:hover,
.author-btn:hover {
    /* !important: legacy's own .author-btn:hover also sets these two with
     !important (an invert-to-white hover), which would otherwise win. */
    background: var(--rs-brand-hover) !important;
    color: var(--rs-on-brand) !important;
    border-color: var(--rs-brand-hover);
    transform: none;
    box-shadow: none;
}

.btn-outline svg,
.btn-solid svg {
    width: 16px;
    height: 16px;
}


/* ==========================================================================
   Author bio teaser (.author-box, resources/views/sites/pt/content/
   article.blade.php) — shown under articles only; the separate full author
   profile page (content/author.blade.php) doesn't use any of these classes.
   Legacy: a plain #e5e5e5-bordered box floated left (float-start !important
   fights the .d-flex on the same element, and leaves .author-container
   with no real height since a floated child doesn't size its parent), a
   fixed 120px photo, and a bare "|" text divider between the article count
   and the social links. Modernized to the card language used elsewhere
   (tokens, radius, shadow); placed after the shared .btn-solid rule above
   so .author-btn's own overrides win on source order, and gets a pill
   shape + hover shift instead of sharing that plain rectangular look. */

.author-container {
    margin: 32px 0 !important;
}

.author-box {
    float: none !important;
    gap: 20px;
    width: 100%;
    padding: 28px;
    border: 1px solid var(--rs-border);
    border-radius: var(--rs-radius-md);
    background: var(--rs-card);
    box-shadow: var(--rs-shadow-1);
}

.author-img {
    flex-shrink: 0;
    margin: 0 !important;
}

.author-img img {
    width: 88px !important;
    height: 88px !important;
    object-fit: cover;
    border: 3px solid var(--rs-surface-alt);
}

.author-content {
    min-width: 0;
}

.author-title {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin: 0 0 4px !important;
    font-size: 18px;
    font-weight: 700;
    color: var(--rs-ink);
}

.author-title small {
    flex-basis: 100%;
    margin-top: 0 !important;
    font-size: 13.5px;
    font-weight: 400;
    color: var(--rs-text-muted) !important;
}

.verified-badge {
    width: 18px !important;
    height: 18px !important;
}

.verified-badge-lg {
    margin-bottom: 5px;
}

.author-desc {
    margin: 0 0 14px;
    color: var(--rs-text);
    font-size: 14.5px;
    line-height: 1.7;
}

.author-meta {
    justify-content: flex-start;
    gap: 4px;
    margin-bottom: 18px;
    font-size: 13.5px;
    color: var(--rs-text-muted);
}

.author-meta span.mx-2 {
    color: var(--rs-border-strong);
}

.author-meta .linkedin-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--rs-surface-alt);
    color: var(--rs-text-muted) !important;
    font-size: 15px;
    transition: background-color .18s var(--rs-ease), color .18s var(--rs-ease);
}

.author-meta .linkedin-link:hover {
    background: var(--rs-brand-soft);
    color: var(--rs-brand-text) !important;
}

.author-btn {
    padding: 11px 22px;
    border-radius: var(--rs-radius-pill);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .01em;
    box-shadow: var(--rs-shadow-1);
    transition: background-color .18s var(--rs-ease), border-color .18s var(--rs-ease), transform .18s var(--rs-ease), box-shadow .18s var(--rs-ease);
}

.author-btn:hover {
    transform: translateX(3px);
    box-shadow: var(--rs-shadow-2);
}

[dir="rtl"] .author-btn:hover {
    transform: translateX(-3px);
}

@media (max-width: 575.98px) {
    .author-box {
        flex-direction: column;
        align-items: center !important;
        text-align: center;
    }
    .author-meta {
        justify-content: center;
    }
    .author-title {
        justify-content: center;
    }
}


/* ==========================================================================
   Author page article list (.author-page-section, resources/views/sites/pt/
   content/author.blade.php) — reuses the same .card/.card-horizontal/
   .img-square-wrapper/.card-body markup as the testimonials/as-featured-in
   listing above, but isn't wrapped in .testimonial_page here, so scoped
   separately to avoid touching that page. Legacy ships it as a flat
   border-0 + shadow-sm Bootstrap card with an unconstrained thumb (same
   "not actually square" .img-square-wrapper issue fixed above) and a plain
   text "Read more ->"/"| tag" row. */

.author-page-section .card {
    border: 0;
    border-radius: var(--rs-radius-md);
    box-shadow: var(--rs-shadow-1) !important;
    overflow: hidden;
    transition: box-shadow .28s var(--rs-ease), transform .28s var(--rs-ease);
}

.author-page-section .card:hover {
    box-shadow: var(--rs-shadow-2) !important;
    transform: translateY(-2px);
}

.author-page-section .img-square-wrapper {
    height: auto;
    aspect-ratio: 6 / 3;
    border-radius: 0;
}

.author-page-section .img-square-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s var(--rs-ease);
}

.author-page-section .card:hover .img-square-wrapper img {
    transform: scale(1.04);
}

.author-page-section .card-body {
    padding: 20px;
}

.author-page-section .card-title {
    display: -webkit-box;
    margin: 0 0 8px;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.35;
    color: var(--rs-ink);
    text-decoration: none;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.author-page-section .card-title:hover {
    color: var(--rs-brand-text);
}

.author-page-section .desc {
    display: -webkit-box;
    margin: 0 0 12px;
    color: var(--rs-text) !important;
    font-size: 14.5px;
    line-height: 1.6;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.author-page-section .article-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: 10px !important;
    font-size: 12.5px;
    color: var(--rs-text-muted);
}

.author-page-section .article-meta small {
    font-size: inherit;
}

.author-page-section .article-meta .redText {
    color: var(--rs-brand-text) !important;
}


/* The "|" divider used to be baked into the text as literal
   &nbsp;&nbsp;&#124;&nbsp;&nbsp; (non-breaking spaces don't collapse like
   regular ones, so it rendered as an oversized gap-pipe-gap) — removed
   from the markup in favour of a plain CSS border here. */

.author-page-section .article-type-badge {
    display: inline-flex;
    align-items: center;
    padding-inline-start: 10px;
    border-inline-start: 1px solid var(--rs-border);
    color: var(--rs-text-muted);
}


/* .readmore-link itself now follows the shared .btn-outline/.main-btn
   button look above (gets listed in that selector group) instead of its
   own plain text-link treatment — just needs the same top spacing from
   the clamped .desc paragraph that a block-level CTA needs. */

.author-page-section .readmore-link {
    margin-top: 4px;
}


/* .discover: the legacy "Continue reading"-style button (1.5px solid
   var(--color1) border, var(--color1) text) used across About, Testimonials,
   Featured In and the "Talk to a local adviser" form — modernized to match
   .btn-outline above. .message-us .talk .btn-container .discover keeps its
   own solid-brand variant further down (higher specificity still wins there). */

.discover {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 9px 22px;
    border: 1px solid var(--rs-border-strong);
    border-radius: var(--rs-radius-sm);
    background: var(--rs-card);
    color: var(--rs-ink);
    font: inherit;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    transition: background-color .18s var(--rs-ease), border-color .18s var(--rs-ease), color .18s var(--rs-ease);
}

.discover:hover {
    border-color: var(--rs-brand-strong);
    color: var(--rs-brand-text);
    /* all.css's .discover:hover also fills background-color/box-shadow/transform
     (solid var(--color1) fill + lift) — neutralize so this stays a clean
     outline hover like .btn-outline above. */
    background-color: transparent;
    box-shadow: none;
    transform: none;
}

@media (max-width: 991.98px) {
    .content-hub__grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    .content-block__list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 575.98px) {
    .content-block__list {
        grid-template-columns: 1fr;
    }
    .post-card__media {
        flex: 0 0 84px;
        width: 84px;
    }
    .content-block__actions {
        margin: 40px 35px;
    }
    .content-block__title {
        text-align: center;
    }
    .content-block__title::after,
    [dir="rtl"] .content-block__title::after {
        left: 50%;
        right: auto;
        transform: translateX(-50%);
    }
}


/* ==========================================================================
   Property Turkey TV
   .pt-tv__grid > .tv-card (.tv-thumb [img + .tv-play] + .tv-card__title)
   ========================================================================== */


/* Distinct from the gray .recomended-pr above it (both used --rs-surface-alt,
   so the two sections read as one blurred block with a dead gap in the middle)
   and tighter top padding to close that gap; bottom padding is unchanged. */

.pt-tv {
    position: relative;
    background: var(--rs-page);
    padding: 24px 0 64px;
}


/* Faint dot grid, fading out toward the centre — same technique as
   .message-us .talk::before / .testimonials::before above (reskin's
   tokenized replacement for legacy's dots.webp image). */

.pt-tv::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background-image: radial-gradient(var(--rs-border-strong) 1px, transparent 1.4px);
    background-size: 18px 18px;
    -webkit-mask-image: radial-gradient(ellipse 70% 90% at 50% 50%, transparent 35%, #000 100%);
    mask-image: radial-gradient(ellipse 70% 90% at 50% 50%, transparent 35%, #000 100%);
    opacity: 0.7;
    pointer-events: none;
}

.pt-tv>* {
    position: relative;
    z-index: 1;
}

.pt-tv .container-fluid {
    max-width: 1500px;
    margin: 0 auto;
}


/* Reset the legacy .sec-heading/.underline look (hard-coded colour, text-decoration
   underline, percentage padding) so the heading matches the reskinned title style. */

.pt-tv .sec-heading {
    max-width: 1500px;
    margin: 0 auto 10px;
    padding: 0;
    font-size: clamp(28px, 3.4vw, 42px);
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: normal;
    color: var(--rs-ink);
    text-align: center;
    text-decoration: none;
}

@media (max-width: 575.98px) {
    /* clamp()'s 28px floor (above) still reads big at this width — shrink it further. */
    .pt-tv .sec-heading {
        font-size: 22px;
    }
}


/* Reset the legacy .italic/.underline look (lowercase transform, thick coloured
   text-decoration underline, 1.8 line-height, extra padding) so this reads as a
   plain subtitle, matching .about .italic.underline above. */

.pt-tv .italic.underline {
    max-width: 640px;
    margin: 0 auto 28px;
    padding: 0;
    font-size: 17px;
    font-weight: 500;
    font-style: normal;
    line-height: 1.5;
    color: var(--rs-text-muted);
    text-align: center;
    text-transform: none;
    text-decoration: none;
}

.pt-tv__viewport {
    position: relative;
}

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


/* Prev/next buttons: hidden by default, shown only on the single-video
   mobile layout below (.pt-tv__grid becomes a scroll-snapped row there). */

.pt-tv__nav {
    display: none;
    position: absolute;
    top: 36%;
    z-index: 1;
    width: 36px;
    height: 36px;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--rs-border);
    border-radius: 50%;
    background: var(--rs-card);
    color: var(--rs-ink);
    box-shadow: var(--rs-shadow-1);
}

.pt-tv__nav--prev {
    left: -4px;
}

.pt-tv__nav--next {
    right: -4px;
}

.tv-card {
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-width: 0;
    padding: 10px 10px 14px;
    background: var(--rs-card);
    border: 1px solid var(--rs-border);
    border-radius: var(--rs-radius-md);
    box-shadow: var(--rs-shadow-1);
    transition: box-shadow .28s var(--rs-ease), border-color .28s var(--rs-ease);
}

.tv-card:hover {
    border-color: var(--rs-border-strong);
    box-shadow: var(--rs-shadow-2);
}

.tv-thumb {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    padding: 0;
    border: 0;
    border-radius: var(--rs-radius-sm);
    background: linear-gradient(135deg, #3a302c, #1a1615);
    cursor: pointer;
}

.tv-thumb img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    object-fit: cover;
    transition: transform .5s var(--rs-ease);
}

.tv-thumb::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .15);
    transition: background-color .3s var(--rs-ease);
    pointer-events: none;
}

.tv-thumb:hover img {
    transform: scale(1.04);
}

.tv-thumb:hover::after {
    background: rgba(0, 0, 0, .28);
}

.tv-play {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 1;
    display: grid;
    place-items: center;
    width: 54px;
    height: 54px;
    margin: -27px 0 0 -27px;
    border-radius: 50%;
    background: var(--rs-brand-strong);
    color: #fff;
    box-shadow: 0 6px 18px rgba(0, 0, 0, .3);
    transition: transform .2s var(--rs-ease), background-color .2s var(--rs-ease);
}

.tv-play svg {
    width: 22px;
    height: 22px;
    margin-left: 3px;
}

.tv-thumb:hover .tv-play {
    transform: scale(1.08);
    background: var(--rs-brand-hover);
}

.tv-card__title {
    margin: 0;
    font-size: 15.5px;
    font-weight: 600;
    line-height: 1.4;
    color: var(--rs-ink);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}


/* Tags + meta (date/views): same classes/markup as the /tv library page
   (.tv-page .tv-tags / .tv-meta), re-scoped here since those rules only
   target .tv-page. */

.pt-tv .tv-card .tv-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.pt-tv .tv-card .tv-meta {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    width: 100%;
    margin: auto 0 0;
    font-size: 13px;
    color: var(--rs-text-muted);
}

.pt-tv .tv-card .tv-meta span {
    display: inline-flex;
    flex: 1 1 50%;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.pt-tv .tv-card .tv-meta span:first-child {
    border-right: 1px solid var(--rs-border);
}

.pt-tv .tv-card .tv-meta svg {
    width: 14px;
    height: 14px;
}

/* "Ask About This Topic": same .tv-video__cta pill as the /tv page
   (.tv-page .tv-video__cta), re-scoped here since those rules only target .tv-page. */

.pt-tv .tv-card .tv-card__ctas {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-top: 2px;
}

.pt-tv .tv-card .tv-video__cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    border: 1px solid var(--rs-border-strong);
    border-radius: var(--rs-radius-sm);
    color: var(--rs-ink);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: border-color .15s var(--rs-ease), color .15s var(--rs-ease);
}

.pt-tv .tv-card .tv-video__cta:hover {
    border-color: var(--rs-brand-strong);
    color: var(--rs-brand-text);
}

.pt-tv .tv-card .tv-video__cta svg {
    width: 14px;
    height: 14px;
}

.pt-tv__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 32px;
}

@media (max-width: 991.98px) {
    .pt-tv__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 575.98px) {
    .pt-tv {
        padding: 25px 0;
    }
    .pt-tv__grid {
        display: flex;
        grid-template-columns: none;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scroll-behavior: smooth;
        scrollbar-width: none;
        gap: 0;
    }
    .pt-tv__grid::-webkit-scrollbar {
        display: none;
    }
    .pt-tv__grid .tv-card {
        flex: 0 0 100%;
        scroll-snap-align: center;
    }
    .pt-tv__nav {
        display: flex;
    }
}


/* ==========================================================================
   Blog/content sidebar video widget (.videos_about_us, resources/views/
   sites/pt/content/partials/sidebar.blade.php) — legacy's .photo_div/
   .y-place video thumb, modernized to match the .tv-card/.tv-thumb/.tv-play
   pattern above: fixed 16:9 thumb, hover zoom + dim overlay, clamped title.
   Scoped to .owl-video so the sibling .videos_about_us "recommended
   properties" widget (plain .property-card, styled in section 2) is
   untouched. .y-place is legacy's own complete play-button asset (circle +
   triangle baked into the svg, public/pos/images/youtube-playicon.svg) —
   only resized/unfaded here, no second circle drawn behind it. */

.videos_about_us {
    border-radius: var(--rs-radius-md) !important;
    box-shadow: var(--rs-shadow-1) !important;
    border: 1px solid var(--rs-border);
    background: var(--rs-card);
}

.videos_about_us .redLine {
    display: none;
}

/* Widget heading ("Straight Talk / Property Turkey TV", sidebar.blade.php's
   first .videos_about_us only — the sibling "Recommended" widget uses a
   plain <b>, not a <p>) and the "View all" link below the carousel. */

.videos_about_us > p {
    margin: 0 0 14px;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.35;
    color: var(--rs-ink);
}

.videos_about_us > a.p-2 {
    display: inline-block;
    margin-top: 12px;
    font-size: 14px;
    font-weight: 600;
    color: var(--rs-brand-text);
    text-decoration: none;
}

.videos_about_us > a.p-2:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* Each slide as its own card (matching .tv-card in the homepage PT-TV strip
   above) instead of a bare thumb + caption floating inside the single
   .videos_about_us wrapper — --rs-surface-alt vs. the wrapper's --rs-card
   gives each slide visible separation rather than two nested, same-colour
   boxes. */

.videos_about_us .owl-video .item {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 10px 10px 14px;
    background: var(--rs-surface-alt);
    border: 1px solid var(--rs-border);
    border-radius: var(--rs-radius-md);
    box-shadow: var(--rs-shadow-1);
    transition: transform .28s var(--rs-ease), box-shadow .28s var(--rs-ease), border-color .28s var(--rs-ease);
}

.videos_about_us .owl-video .item:hover {
    transform: translateY(-4px);
    border-color: var(--rs-border-strong);
    box-shadow: var(--rs-shadow-2);
}

.videos_about_us .owl-video .item .photo_div {
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: var(--rs-radius-sm);
    background: linear-gradient(135deg, #3a302c, #1a1615);
    cursor: pointer;
}

.videos_about_us .owl-video .item .photo_div img.w-100 {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border-radius: 0;
    object-fit: cover;
    transition: transform .5s var(--rs-ease);
}

.videos_about_us .owl-video .item .photo_div::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .15);
    transition: background-color .3s var(--rs-ease);
    pointer-events: none;
}

.videos_about_us .owl-video .item .photo_div:hover::after {
    background: rgba(0, 0, 0, .28);
}

.videos_about_us .owl-video .item .photo_div:hover img.w-100 {
    transform: scale(1.04);
}

.videos_about_us .owl-video .item .y-place {
    width: 54px;
    opacity: 1;
}

.videos_about_us .owl-video .item h6 {
    margin: 0 !important;
    padding: 0 !important;
    font-size: 15.5px;
    font-weight: 600;
    line-height: 1.4;
    color: var(--rs-ink);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}


/* ==========================================================================
   Turkish Citizenship by Investment (.turkish_citizenship_section)
   ========================================================================== */

.turkish_citizenship_section {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: 96px 0;
    background: #2a1d1b url('/pt/images/turkish_citizenship.webp') center / cover no-repeat;
    color: rgba(255, 255, 255, .88);
    text-align: center;
}

.turkish_citizenship_section::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background: radial-gradient(ellipse 70% 90% at 50% 50%, rgba(20, 14, 13, .68) 0%, rgba(20, 14, 13, .88) 100%), linear-gradient(0deg, rgba(130, 24, 26, .45), rgba(130, 24, 26, .18));
}

.turkish_citizenship_section .turkish-citizenship,
.turkish_citizenship_section .hero-content {
    position: relative;
    z-index: 1;
}


/* Reset the legacy split layout from all.css/temp5.css (an image + a separate
   white content card, including a mobile variant that uses !important): this
   section is now one full-bleed photo band with centered white text, so the
   old box needs to be fully neutralized rather than just repositioned. */

.turkish_citizenship_section .turkish-citizenship {
    width: 100%;
    height: auto;
    display: block;
    justify-content: initial;
    align-items: initial;
    background: none !important;
    color: inherit;
    text-align: center;
    padding: 0 20px;
}

.turkish_citizenship_section .hero-content {
    max-width: none;
    margin: 0 !important;
    padding: 0 !important;
    background: none !important;
    border-radius: 0 !important;
    backdrop-filter: none !important;
    box-shadow: none !important;
}

.turkish_citizenship_section .hero-content>.container-fluid {
    max-width: 860px;
    margin: 0 auto !important;
    padding: 0 !important;
    background: none !important;
    border: 0 !important;
    border-radius: 0 !important;
}


/* Scoped via .hero-content (not just .turkish_citizenship_section) to match or beat
   the specificity of the legacy mobile rules (all.css/temp5.css) that otherwise win
   and repaint this heading/paragraph/button dark-on-white instead of white-on-photo. */

.turkish_citizenship_section .hero-content h1 {
    margin: 0 0 18px;
    font-size: clamp(28px, 3.6vw, 46px);
    font-weight: 400;
    line-height: 1.15;
    letter-spacing: -.02em;
    color: #fff;
}

.turkish_citizenship_section .hero-content h1 strong {
    font-weight: 700;
    color: #fff;
}

.turkish_citizenship_section .hero-content p {
    max-width: 68ch;
    margin: 0 auto 30px;
    font-size: 17px;
    line-height: 1.75;
    color: rgba(255, 255, 255, .88) !important;
}

@media (min-width: 992px) {
    .turkish_citizenship_section .hero-content p {
        font-size: 18px;
    }
}

.turkish_citizenship_section .hero-content a.turkish_citizenship {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 28px;
    border-radius: var(--rs-radius-sm);
    background: var(--rs-brand-strong);
    color: #fff !important;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 8px 22px rgba(0, 0, 0, .25);
    transition: background-color .18s var(--rs-ease);
}

.turkish_citizenship_section .hero-content a.turkish_citizenship:hover {
    background: var(--rs-brand-hover);
    color: #fff !important;
}

.turkish_citizenship_section .hero-content a.turkish_citizenship::after {
    content: "\2192";
    display: inline-block;
    transition: transform .18s var(--rs-ease);
}

.turkish_citizenship_section .hero-content a.turkish_citizenship:hover::after {
    transform: translateX(3px);
}

.turkish_citizenship_section :focus-visible {
    box-shadow: 0 0 0 2px #1f1a19, 0 0 0 4px #fff;
}

@media (max-width: 575.98px) {
    .turkish_citizenship_section {
        padding: 64px 0;
        background-image: url('/pt/images/turkish_citizenship_mobile.webp');
    }
}


/* ==========================================================================
   About / "Complete Ecosystem since 2001" (.about.text-center-all)
   ========================================================================== */

.about {
    position: relative;
    text-align: center;
    padding: 10px 5%;
    border-top: 1px solid var(--rs-border);
}


/* Faint dot grid, fading out toward the centre — same technique as
   .message-us .talk::before / .testimonials::before / .pt-tv::before above. */

.about::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background-image: radial-gradient(var(--rs-border-strong) 1px, transparent 1.4px);
    background-size: 18px 18px;
    -webkit-mask-image: radial-gradient(ellipse 70% 90% at 50% 50%, transparent 35%, #000 100%);
    mask-image: radial-gradient(ellipse 70% 90% at 50% 50%, transparent 35%, #000 100%);
    opacity: 0.7;
    pointer-events: none;
}

.about>* {
    position: relative;
    z-index: 1;
}

.about h2 {
    margin: 12px 0 6px;
    font-size: clamp(26px, 3vw, 38px);
}


/* Reset the legacy .italic/.underline look (lowercase transform, thick coloured
   text-decoration underline, 1.8 line-height, extra padding) so this reads as a
   plain subtitle, matching the reskinned title style. */

.about .italic.underline {
    margin: 0 0 28px;
    padding: 0;
    font-size: 19px;
    font-weight: 500;
    font-style: normal;
    line-height: 1.5;
    color: var(--rs-text-muted);
    text-transform: none;
    text-decoration: none;
}


/* Reset the legacy .logos_section look (white rounded "chip" per logo, box-shadow,
   a 25px flex gap and a 40px top/bottom margin, plus a hover scale+gradient) so this
   is a plain divided logo row, matching the reskinned style. */

.about .logos_section {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0;
    max-width: 1040px;
    margin: 0 auto 32px;
    padding: 18px 8px;
    border-top: 1px solid var(--rs-border);
    border-bottom: 1px solid var(--rs-border);
    animation: none;
}

.about .logos_section a {
    display: flex;
    align-items: center;
    padding: 6px 28px;
    border-left: 1px solid var(--rs-border);
    background: none;
    border-radius: 0;
    box-shadow: none;
    transition: opacity .18s var(--rs-ease);
}

.about .logos_section a:first-child {
    border-left: 0;
}

.about .logos_section a:hover {
    background: none;
    box-shadow: none;
    transform: none;
}

.about .logos_section img {
    height: 30px;
    width: auto;
    max-width: 110px;
    object-fit: contain;
    opacity: .85;
    transition: opacity .18s var(--rs-ease);
}

.about .logos_section a:hover img {
    opacity: 1;
    transform: none;
}

.about .about-text {
    max-width: 1050px;
    margin: 28px auto 44px;
    font-size: 16px;
    line-height: 1.75;
    color: var(--rs-text);
}

.about .about-text strong {
    color: var(--rs-ink);
    font-weight: 650;
}


/* about-quote__card: Cameron's own words introduce the company. Bootstrap
   row: portrait in the first column; second column has his name beside the
   photo, social/contact links (article count, LinkedIn, Instagram, WhatsApp,
   author page, as in the blog author box) under the name, then the quote.
   The grid flips automatically in RTL (ar/fa). */

.about .about-quote__card {
    max-width: 1200px;
    margin: 28px auto 44px;
    padding: 30px 40px;
    text-align: start;
    background: var(--rs-card);
    border: 1px solid var(--rs-border);
    border-radius: var(--rs-radius-md);
    box-shadow: var(--rs-shadow-1);
}

/* the section's legacy `.text-center-all *` would centre every line */
.about .about-quote__card * {
    text-align: start;
}

.about .about-quote__media {
    display: block;
}

/* Desktop/tablet: fixed 250px tall, width follows the column. */
.about .about-quote__photo {
    display: block;
    width: 100%;
    height: 250px;
    object-fit: cover;
    object-position: center top;
    border-radius: var(--rs-radius-md);
    box-shadow: var(--rs-shadow-2);
}

.about .about-quote__mark {
    display: block;
    width: 26px;
    height: 26px;
    color: var(--rs-brand-soft);
    margin-bottom: 4px;
}

.about .about-quote__text {
    margin: 0;
    font-size: 15px;
    line-height: 1.65;
    color: var(--rs-text);
}

.about .about-quote__text strong {
    color: var(--rs-ink);
    font-weight: 650;
}

/* Name, job title and links sit under the portrait in column 1. */
.about .about-quote__byline {
    margin-top: 14px;
}

.about .about-quote__name {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 18px;
    font-weight: 700;
    color: var(--color2);
}

.about .about-quote__name a {
    color: inherit;
    text-decoration: none;
}

.about .about-quote__name a:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.about .about-quote__name .verified-badge {
    width: 20px !important;
    height: 20px;
}

.about .about-quote__role {
    font-size: 14px;
    font-weight: 600;
    color: var(--rs-text-muted);
}

.about .about-quote__links {
    margin-top: 10px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
}

/* "More about Cameron" -> /about-us/cameron-deggin, on its own line */
.about .about-quote__profile {
    display: inline-block;
    margin-top: 10px;
    font-size: 14px;
    color: var(--rs-brand-text);
    font-weight: 600;
    text-decoration: none;
}

.about .about-quote__profile:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* Icon-only social links: small rounded squares in each brand's colour. */
.about .about-quote__social {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 6px;
    color: #fff;
    transition: opacity 0.2s var(--rs-ease);
}

.about .about-quote__social svg {
    width: 15px;
    height: 15px;
}

.about .about-quote__social--linkedin { background: var(--rs-linkedin); }
.about .about-quote__social--instagram { background: var(--rs-instagram); }
.about .about-quote__social--whatsapp { background: var(--rs-whatsapp); }

.about .about-quote__social:hover {
    color: #fff;
    opacity: 0.85;
}

.about .about-quote__social:focus-visible,
.about .about-quote__profile:focus-visible {
    outline: none;
    box-shadow: var(--rs-focus-ring);
}

/* Below md the columns stack with the portrait, name and icons first
   (order-1), then the quote (order-2), centred. Photo height is flexible. */
@media (max-width: 767.98px) {
    .about .about-quote__body {
        margin-top: 6px;
        padding-top: 5px;
    }
    .about .about-quote__media {
        width: 200px;
        max-width: 100%;
        margin: 0 auto;
    }
    .about .about-quote__photo {
        height: auto;
        aspect-ratio: 4 / 5;
    }
    .about .about-quote__byline,
    .about .about-quote__byline * {
        text-align: center;
    }
    .about .about-quote__name,
    .about .about-quote__links {
        justify-content: center;
    }
}

@media (max-width: 575.98px) {
    .about .about-quote__card {
        padding: 20px 18px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .about .about-quote__social {
        transition: none;
    }
}

/* Reset the legacy .features-grid-container fixed height (250px) that clipped/padded
   the card regardless of its content. */

.about .owl-features .features-grid-container {
    height: auto;
    padding: 4px;
    margin-bottom: 0;
}

.about .features-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
    padding: 104px 20px 26px;
    /* top padding clears the absolutely-positioned icon badge */
    border: 1px solid var(--rs-border);
    border-radius: var(--rs-radius-md);
    background: var(--rs-card);
    color: var(--rs-ink);
    cursor: default;
    transition: border-color .2s var(--rs-ease), box-shadow .2s var(--rs-ease);
}

.about .features-card:hover {
    border-color: var(--rs-border-strong);
    box-shadow: var(--rs-shadow-2);
}


/* Title sits top-right, opposite the icon badge at top-left — reset the legacy
   .features-title look (uppercase, word-break: break-all) and pull it out of the
   flex flow so it no longer stacks (with a huge gap) above the icon. */

.about .features-title {
    position: absolute;
    top: 20px;
    left: 104px;
    right: 16px;
    order: 1;
    align-self: auto;
    margin: 0;
    padding-bottom: 12px;
    font-size: 18px;
    font-weight: 650;
    line-height: 1.3;
    color: var(--rs-ink);
    text-align: right;
    text-transform: none;
    word-break: normal;
    overflow-wrap: break-word;
}

.about .features-title::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    width: 28px;
    height: 2px;
    border-radius: 2px;
    background: var(--rs-brand);
}


/* Badge: top-left on the card, opposite the title. */

.about .features-icon {
    position: absolute;
    top: 16px;
    left: 16px;
    order: 2;
    display: grid;
    place-items: center;
    width: 72px;
    height: 72px;
    margin: 0;
    border-radius: 50%;
    background: var(--rs-surface);
}


/* !important needed: legacy all.css/temp5.css force these icons to 39x37px with !important. */

.about .features-icon img {
    width: 40px !important;
    height: 40px !important;
    object-fit: contain;
}

.about .features-content {
    order: 3;
    margin: 0;
    font-size: 14.5px;
    line-height: 1.65;
    color: var(--rs-text-muted);
}

.about .features-content p {
    margin: 0;
}

.about .btn-container {
    margin-top: 36px;
}

@media (max-width: 575.98px) {
    .about .logos_section {
        padding: 10px 0;
    }
    .about .logos_section a {
        flex: 0 0 50%;
        justify-content: center;
        padding: 12px 8px;
        border-left: 0;
    }
    .about .logos_section img {
        height: 24px;
    }
}


/* ==========================================================================
   "Talk to a local adviser" form + Property Turkey Culture, merged
   .adviser-card (the existing .row) > .culture (image + overlay) + .talk (form)
   ========================================================================== */

.message-us .adviser-card {
    margin-left: 0;
    margin-right: 0;
    overflow: hidden;
    border: 1px solid var(--rs-border);
    border-radius: var(--rs-radius-lg);
    background: var(--rs-card);
    box-shadow: var(--rs-shadow-1);
}


/* :not(.talk) because this blanket gutter-reset (0,4,0) otherwise outranks and
   zeroes out `.message-us .talk`'s own padding (0,2,0) below, regardless of which
   rule comes later in the file — it was crushing the form column's 44px/48px
   padding flat against the card edges. */

.message-us .adviser-card>[class*="col-"]:not(.talk) {
    padding: 0;
}


/* .culture is markup col-lg-5 (41.67%)/.talk col-lg-7 (58.33%) — adjusted in
   steps: +30% of its own share (41.67% * 1.3 = 54.17%), +15% more on top of
   that (54.17% * 1.15 = 62.29%), then -20% back off (62.29% * 0.8 = 49.83%),
   taking the difference from .talk each time so the row sums to 100%. */

@media (min-width: 992px) {
    .message-us .adviser-card>.culture {
        flex: 0 0 49.8333%;
        max-width: 49.8333%;
    }
    .message-us .adviser-card>.talk {
        flex: 0 0 50.1667%;
        max-width: 50.1667%;
    }
}

.message-us {
    background-color: var(--rs-page);
    padding: 25px 0;
}


/* legacy all.css/temp5.css ship `.message-us .culture{border:solid 1px #ddd;padding:0}`
   (0,2,0) — same specificity as the rule below, so this only wins because
   reskin.css loads after them (see app.blade.php); the explicit border:0/padding:0
   here is what actually cancels the legacy border. */

.message-us .culture {
    position: relative;
    min-height: 420px;
    border: 0;
    padding: 0;
}


/* the markup's own `position-relative` is a Bootstrap utility (position:relative
   !important) — it silently wins over a plain `position: absolute` here regardless
   of selector specificity, collapsing this div to 0 height (all its children are
   themselves absolutely positioned, so nothing is left in flow to give it size).
   That's why the photo/play-button/overlay were invisible and unclickable; the
   !important below is what actually restores position:absolute. */

.message-us .culture .image {
    position: absolute !important;
    inset: 0;
    cursor: pointer;
}

.message-us .culture .image .bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.message-us .culture .image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(20, 16, 15, .82) 0%, rgba(20, 16, 15, .35) 45%, rgba(20, 16, 15, 0) 70%);
}

.message-us .culture__yt {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    border-radius: var(--rs-radius-pill);
    background: var(--rs-on-media-bg);
    color: var(--rs-on-media-text);
    font-size: 13px;
    font-weight: 600;
}

.message-us .culture__yt img {
    width: 18px;
    height: 13px;
}


/* legacy's play-button rule is `.message-us .culture .image .centered` (4 classes,
   (0,4,0)) — our old 3-class selector here (0,3,0) always lost to it regardless of
   file order, so the button rendered as the legacy 100%x100% flex box instead of a
   56px dot. Matching the `.image` ancestor in the selector is what fixes it. */

.message-us .culture .image .centered {
    position: absolute;
    inset: auto auto 86px 28px;
    z-index: 2;
    display: grid;
    place-items: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--rs-brand-strong);
    box-shadow: 0 8px 22px rgba(0, 0, 0, .35);
    transition: transform .2s var(--rs-ease), background-color .2s var(--rs-ease);
}


/* same fix for the YouTube icon inside it: legacy's `.image .centered img`
   (0,4,1) beat our old `.culture .centered img` (0,3,1) and forced it to 80px. */

.message-us .culture .image .centered img {
    position: static;
    width: 20px;
    height: auto;
    filter: brightness(0) invert(1);
}

.message-us .culture .image:hover .centered {
    transform: scale(1.08);
    background: var(--rs-brand-hover);
}

.message-us .culture .desc {
    position: absolute;
    left: 28px;
    right: 28px;
    bottom: 24px;
    z-index: 2;
    color: #fff;
}

.message-us .culture .desc h3 {
    margin: 0;
    text-align: left;
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -.015em;
    color: #fff;
}

.message-us .culture .desc p {
    margin: 2px 0 0;
    text-align: left;
    font-weight: 400;
    font-size: 15px;
    color: rgba(255, 255, 255, .82);
}

[dir="rtl"] .message-us .culture .desc h3,
[dir="rtl"] .message-us .culture .desc p {
    text-align: right;
}

.message-us .talk {
    position: relative;
    background: var(--rs-surface-alt);
    padding: 30px 40px;
}


/* Faint dot grid, fading out toward the centre — same technique as
   design-reference/pt-reskin.css .talk::before, ported to our tokens. */

.message-us .talk::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background-image: radial-gradient(var(--rs-border-strong) 1px, transparent 1.4px);
    background-size: 18px 18px;
    -webkit-mask-image: radial-gradient(ellipse 70% 90% at 50% 50%, transparent 35%, #000 100%);
    mask-image: radial-gradient(ellipse 70% 90% at 50% 50%, transparent 35%, #000 100%);
    opacity: 0.7;
    pointer-events: none;
}

.message-us .talk>* {
    position: relative;
    z-index: 1;
}


/* `.talk > *`'s z-index:1 above only clears .talk::before's dot-grid background —
   but since it's the first ancestor to set an explicit z-index, it also caps how
   high anything inside form (like the open .countriesList phone dropdown, z-index:
   1000 internally) can stack against page content *outside* .talk. Raise the form's
   own exposed z-index so the dropdown actually renders above later page content,
   not just above its own siblings inside the form. */

.message-us .talk form {
    z-index: 20;
}


/* legacy's `.message-us .talk h3` sets text-align:center, color:#5e5a59, a 400px
   max-width and font-weight:400 — same (0,2,1) specificity as this rule, so it only
   loses because reskin.css loads last; every property below needs to be restated
   here or the legacy value shows through unopposed. */

.message-us .talk h3 {
    margin: 0 0 18px;
    max-width: none;
    text-align: left;
    font-weight: 700;
    font-size: clamp(22px, 2.4vw, 28px);
    color: #5e5a59;
}

[dir="rtl"] .message-us .talk h3 {
    text-align: right;
}


/* legacy's `.message-us .talk form .inp-container{max-width:400px;margin:auto}`
   (0,3,1) caps/centers each field inside its Bootstrap .col-6 — needed since our
   rule matches the same selector exactly (tie broken by load order). */

.message-us .talk form .inp-container {
    position: relative;
    max-width: none;
    margin: 0;
    padding: 0px 5px;
}

.message-us .talk form .inp-container label {
    display: block;
    margin-bottom: 8px;
    font-size: 13.5px;
    font-weight: 600;
    line-height: 1.3;
    color: #5e5a59;
}


/* legacy's `.message-us .talk form .inp-container input{width:100%;border:0;
   padding:10px 40px}` is (0,3,2) — two classes deeper than the old `.talk
   input[type="text"]` rule (0,3,1), so border/radius/min-height never applied.
   Reusing the exact same selector here matches its specificity (tie → load order).
   Background/shadow/transition mirror design-reference's .form-control +
   .form-control:focus "shine" treatment. */

.message-us .talk form .inp-container input {
    min-height: 46px;
    margin-bottom: 0;
    padding: 10px 14px;
    border: 1px solid var(--rs-border-strong);
    border-radius: var(--rs-radius-sm);
    background: var(--rs-card);
    color: #5e5a59;
    box-shadow: var(--rs-shadow-1);
    transition: border-color .18s var(--rs-ease), box-shadow .18s var(--rs-ease);
}

.message-us .talk form .inp-container input::placeholder {
    color: var(--rs-text-muted);
}

.message-us .talk form .inp-container input:hover {
    border-color: var(--rs-text-muted);
}

.message-us .talk form .inp-container input:focus-visible {
    outline: none;
    border-color: var(--rs-brand-strong);
    box-shadow: 0 0 0 3px var(--rs-brand-soft);
}


/* Spacing between field-groups lives on the group itself (row or standalone
   field), not leaking out of each input's own margin — mirrors pt-reskin.css's
   .adviser__grid{gap:16px}. */

.message-us .talk form>.row,
.message-us .talk form>.inp-container {
    margin-bottom: 16px;
}


/* The phone widget (x-zipcode, shared across every enquiry form) ships its own
   legacy look — 44px tall, flat #e0e0e0 borders, no radius — that clashes with
   the 46px bordered/rounded .form-control look used by every other field here.
   Scoped to this form only so other forms using x-zipcode are untouched. */

.message-us .talk .zipcode {
    display: flex;
    align-items: stretch;
    gap: 2px;
    height: 46px;
    margin-top: 0;
    margin-bottom: 0;
}

.message-us .talk .zipcode .inline1 {
    width: auto !important;
    flex: 0 0 92px;
    margin-top: 0;
}

.message-us .talk .zipcode .inline2 {
    width: auto !important;
    flex: 1 1 auto;
}

.message-us .talk .zipcode .inline1 .inputDiv,
.message-us .talk .zipcode .inline2 input {
    height: 100%;
    min-height: 46px;
    margin-bottom: 0;
    border: 1px solid var(--rs-border-strong) !important;
    border-radius: var(--rs-radius-sm);
    background: var(--rs-card);
    box-shadow: var(--rs-shadow-1);
    transition: border-color .18s var(--rs-ease), box-shadow .18s var(--rs-ease);
}


/* #phone_no sits flush against the calling-code box (.inputDiv) before it —
   no rounding on the side where they join, so the pair reads as one control. */

.message-us .talk .zipcode .inline2 input,
.connect .zipcode .inline2 input,
.enquire_zipcode .zipcode .inline2 input {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

.message-us .talk .zipcode .inline2 input:focus-visible {
    outline: none;
    border-color: var(--rs-brand-strong) !important;
    box-shadow: 0 0 0 3px var(--rs-brand-soft);
}


/* Enquiry modals and the property-page side enquire form don't give .zipcode
   a fixed row height like .message-us does, so the calling-code box (.inputDiv)
   stays at its legacy height while #phone_no next to it grows — ties both to
   the same 46px used everywhere else. */

.modal-body .inputDiv,
.side_enquire_form .inputDiv {
    height: 46px;
}


/* Homepage "Connect With Us" form (.connect, x-zipcode with no row-height
   rule of its own, unlike .message-us's .zipcode above) — the calling-code
   box otherwise keeps legacy's own height, mismatched against the plain
   #phone_no/text inputs next to it (42px here). */

.connect .inputDiv,
.message-us .inputDiv {
    height: 42px;
}


/* style-rtl.css bumps ".message-us .inputDiv" (the country-code box) to 48px
   in RTL, so the #phone_no input next to it needs to match or the row looks
   uneven — only the RTL side was off, LTR already ties at 46px. */

[dir="rtl"] .message-us .talk .zipcode {
    height: 48px;
}

[dir="rtl"] .message-us .talk .zipcode .inline2 input {
    height: 48px;
    min-height: 48px;
}


/* style-rtl.css's blanket `body *{direction:rtl;text-align:right}` reaches this
   widget too, which both flips the flex order (number box ends up left of the
   calling-code box) and right-aligns the typed digits. The phone/zip widget is
   never translated, so force it back to ltr: calling-code box stays first/left,
   number input after it, caret and digits starting from the left. */

[dir="rtl"] .message-us .talk .zipcode {
    direction: ltr;
}

[dir="rtl"] .message-us .talk .zipcode .inline1,
[dir="rtl"] .message-us .talk .zipcode .inline2,
[dir="rtl"] .message-us .talk .zipcode .inline2 input {
    direction: ltr;
    text-align: left;
}

[dir="rtl"] .message-us .talk .zipcode .inline1 .inputDiv {
    direction: ltr;
    text-align: right;
}


/* legacy's `.btn-container{display:flex;justify-content:center}` centers the
   button(s) with no room for the required-fields note; reference's
   .adviser__submit puts the note and button on opposite ends of the row. */

.message-us .talk .btn-container {
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-top: 22px;
}

.message-us .talk .btn-container .required-note {
    margin: 0;
    color: var(--rs-text-muted);
    font-size: 13px;
}

.message-us .talk .btn-container .discover {
    padding: 8px 20px;
    border: 0;
    border-radius: var(--rs-radius-sm);
    background: var(--rs-brand-strong);
    color: #fff;
    font-weight: 600;
    transition: background-color .18s var(--rs-ease);
}

.message-us .talk .btn-container .discover:hover {
    background: var(--rs-brand-hover);
}

@media (max-width: 991.98px) {
    .message-us .talk {
        padding: 32px 24px;
    }
}


/* name/surname sit side-by-side in fixed Bootstrap .col-6's with no responsive
   prefix, so they'd stay 50/50 even at 390px; reference stacks the form grid to
   1 column at this width (pt-reskin.css .adviser__grid breakpoint). */

@media (max-width: 575.98px) {
    .message-us .talk .row>[class*="col-"] {
        flex: 0 0 100%;
        max-width: 100%;
    }
    /* .lessPaddingRight/.lessPaddingLeft give each side-by-side column an
     asymmetric 15px/6px gutter so the pair reads as one evenly-spaced row;
     stacked to a single column here, that asymmetry instead zig-zags every
     field's left edge by 9px. Equalize to the same 15px both sides once
     stacked. */
    .message-us .talk .row>.lessPaddingRight,
    .message-us .talk .row>.lessPaddingLeft {
        padding-left: 15px;
        padding-right: 15px;
    }
}


/* ==========================================================================
   Founder quote (pt-reskin.css 8j) — new homepage card between Testimonials
   and the adviser form: a redesigned copy of the .cameron_qoute row from
   /about-us/cameron-deggin (circular portrait + pull quote). Not in the
   original design reference; new .founder-quote* classes.
   ========================================================================== */


/* TEMP: placeholder backdrop photo, swap for a local theme_asset() image
   once a final one is picked. */

.founder-quote {
    padding: 56px 0;
    background: linear-gradient(rgba(31, 26, 25, 0.55), rgba(31, 26, 25, 0.55)), url('https://www.propertyturkey.com/pt/images/sliders/tab1-slide1.webp') center/cover no-repeat;
}

.founder-quote__card {
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: 24px;
    align-items: center;
    max-width: 1040px;
    margin: 0 auto;
    padding: 26px 30px;
    background: var(--rs-surface);
    border-radius: var(--rs-radius-md);
    box-shadow: var(--rs-shadow-2);
}

.founder-quote__photo {
    display: block;
    width: 100%;
    max-width: 110px;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid var(--rs-card);
    box-shadow: var(--rs-shadow-1);
    margin: 0 auto;
}

.founder-quote__mark {
    width: 26px;
    height: 26px;
    color: var(--rs-brand-soft);
    margin-bottom: 4px;
}

.founder-quote__text {
    margin: 0 0 12px;
    font-size: 15px;
    line-height: 1.55;
    color: #4a4645;
}

.founder-quote__name {
    font-size: 14px;
    font-weight: 700;
    color: var(--color2);
}

.founder-quote__name a {
    color: inherit;
    text-decoration: none;
}

.founder-quote__name a:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.founder-quote__role {
    font-size: 12.5px;
    color: var(--rs-text-muted);
}

@media (max-width: 991.98px) {
    .founder-quote__card {
        grid-template-columns: 110px 1fr;
        gap: 18px;
        padding: 22px;
    }
    .founder-quote__photo {
        max-width: 90px;
    }
}

@media (max-width: 575.98px) {
    .founder-quote {
        padding: 32px 0;
    }
    .founder-quote__card {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 20px 18px;
    }
    .founder-quote__media {
        width: 84px;
        margin: 0 auto;
    }
    .founder-quote__photo {
        max-width: 84px;
    }
    .founder-quote__mark {
        display: none;
    }
}


/* ==========================================================================
   Recently added properties (Prompt 13 / pt-reskin.css 8l) — a fixed set of
   6 listings (ContentProperties::homeLatest()), shown as a static 3-column
   grid (2 rows of 3 at desktop; 2 cols <1200px; 1 col <768px) rather than a
   carousel, reusing the compact horizontal .property-card (section 1) the
   brief calls for. The outer Owl carousel (owl-carousel/owl-recently/
   owl-theme + its .item wrappers) is removed from this section only; the
   per-card photo slider (.owl-card) inside property-card__media is untouched.
   .recently-pr__grid and .recently-pr__actions are new classes (no existing
   "static card grid"/"actions row" hook at the section root —
   .content-hub__grid/.pt-tv__actions are scoped to their own sections).
   ========================================================================== */

.recently-pr {
    background: var(--rs-surface-alt);
}


/* .recomended-pr and .featured-in aren't reskinned yet, but they still carry the
   legacy all.css/temp5.css background-color: #f7f5f2 (a dated tan) — swap it for
   our page token so these two sections stop showing the old colour. */

.recomended-pr {
    background: var(--rs-surface-alt);
}


/* legacy all.css/temp5.css hardcodes .recomended-pr .property-card{height:440px},
   sized for the old fixed-length copy. With real titles/descriptions of varying
   length, content can need more than 440px — let the card grow to fit instead
   of clipping. Photo shortened to 16:9 (vs. the base 4:3) to keep the overall
   card compact despite that. */

.recomended-pr .property-card {
    height: auto;
}

.recomended-pr .property-card__media {
    aspect-ratio: 16 / 9;
}

.featured-in {
    position: relative;
    background: var(--rs-surface-alt);
}


/* Faint dot grid, fading out toward the centre — same technique as
   .content-hub::before / .testimonials::before / .pt-tv::before / .about::before /
   .message-us .talk::before above (reskin's tokenized replacement for legacy's
   dots.webp image). Uses --rs-rating (the gold of this section's "As Featured In"
   star) instead of --rs-border-strong so it doesn't blend into .recomended-pr's
   identical grey background directly above it. */

.featured-in::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background-image: radial-gradient(var(--rs-rating) 1px, transparent 1.4px);
    background-size: 18px 18px;
    -webkit-mask-image: radial-gradient(ellipse 70% 90% at 50% 50%, transparent 35%, #000 100%);
    mask-image: radial-gradient(ellipse 70% 90% at 50% 50%, transparent 35%, #000 100%);
    opacity: 0.35;
    pointer-events: none;
}

.featured-in>* {
    position: relative;
    z-index: 1;
}


/* Gold star beside "As Featured In" — same icon/colour as .testimonial-card__stars.
   display:inline-flex + align-items:center centers the glyph inside its own box
   regardless of the font's built-in glyph padding, then vertical-align:middle
   lines that box up with the text's x-height — more reliable than guessing a
   vertical-align offset for an icon font (unlike the SVG, which has no such padding).
   margin-inline-end flips sides automatically in RTL, no separate override needed.
   margin-bottom nudges it up against the heading on desktop only — see the
   767.98px override below, which zeroes it out on mobile. */

.featured-in .sec-heading i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    line-height: 1;
    vertical-align: middle;
    margin-inline-end: 6px;
    margin-bottom: 6px;
    color: var(--rs-rating);
}

@media (max-width: 767.98px) {
    .featured-in .sec-heading i {
        margin-bottom: 0;
    }
}


/* legacy ships a fixed 40px bottom padding here; trimmed so the gap to the
   (now white) .pt-tv section right below it isn't doubled up with its 24px top. */

.recomended-pr {
    padding-bottom: 16px;
}


/* legacy's 40px top gap lived on .sec-heading's own padding, which
   .recomended-pr__head .sec-heading above resets to 0 — restore it on the
   section itself so the heading doesn't sit flush against the hero tabs. */

.recomended-pr {
    padding-top: 48px;
}


/* legacy ships border-radius: unset (flat corners) — round them to match
   every other button on the page. */

.recomended-pr .filter {
    padding: 0;
}

.recomended-pr .filter button {
    border-radius: var(--rs-radius-sm);
}


/* .recomended-pr__head is new (no existing hook put the heading and a "view all"
   link on the same row) — pairs the untouched .sec-heading with a new link,
   left-aligned instead of legacy's centered/40px-padded look.
   The "view all" link is taken out of flow (absolutely positioned, see below)
   so .sec-heading is the row's only flex child: centered against the row's
   full width (margin: auto below) regardless of the link's rendered width -
   needed since that width varies a lot by language, and the heading must line
   up with the (separately centered) .filter button row underneath it. */

.recomended-pr__head {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 12px 24px;
    margin-bottom: 24px;
}

.recomended-pr__head .btn-outline {
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
}


/* !important here: legacy ships several competing `.sec-heading` declarations
   (plain font-size/margin/color, no !important) that kept winning in practice
   despite this selector's higher specificity — forcing it removes all doubt. */

.recomended-pr__head .sec-heading {
    padding: 0 !important;
    text-align: center !important;
    /* Fluid instead of a flat 40px: that size towered on laptop widths (no
     breakpoint between this and the 575.98px mobile override below) — this
     keeps ~35px around common 1366px laptop widths, and only reaches the
     full 40px on wider desktop screens. */
    font-size: clamp(18px, 2.56vw, 40px) !important;
    font-weight: 700 !important;
    letter-spacing: normal !important;
    line-height: 20px !important;
    color: rgb(94, 90, 89) !important;
    margin: auto;
}


/* hot_title's translation wraps its text in <b> — legacy ships
   `.sec-heading b{font-weight:400;color:#5e5a59}`, which targets the <b>
   directly and wins over the parent's font-weight/color above (inheritance
   never gets a chance to apply), silently un-bolding and discoloring it. */

.recomended-pr__head .sec-heading b {
    font-weight: 700 !important;
    color: inherit !important;
}


/* Second "View All Properties" link, placed after .owl-recommended so it reads
   under the carousel on mobile instead of only above it in .recomended-pr__head.
   Swapped in with the existing hideMob/hideWeb pair (legacy's 992px breakpoint):
   the .recomended-pr__head copy gets hideMob (hidden <992px), this one gets
   hideWeb (hidden >=992px, `display:block!important` below that) — only one
   shows at a time. */

.recomended-pr__view-all--mobile {
    width: fit-content;
    margin: 5px auto 0;
}


/* Several .sec-heading translations mix a Latin brand name ("Property Turkey")
   into Arabic text (e.g. featured-in-header, talkto) — without an explicit
   direction the browser's bidi algorithm can misorder the Arabic segments
   around the embedded Latin run. */

[dir="rtl"] .sec-heading {
    direction: rtl;
}


/* legacy's .sec-heading carries no font-weight of its own (only its b/span/
   strong children are bold) — at mobile sizes the thin weight reads weak,
   so the heading itself picks up a touch of weight here. */

@media (max-width: 768px) {
    .sec-heading {
        font-weight: 600;
    }
}


/* Featured In (press logos), modernized to match the other card patterns
   (post-card / tv-card / property-card): rounded corners all around, 16:9
   image with a hover zoom, a clean clamped title — instead of the legacy
   top-only radius, fixed 175px/70px heights and uppercase-weight title. */

.featured-in .owl-featuredin .item .card {
    border-radius: var(--rs-radius-md);
    border: 1px solid var(--rs-border);
    background: var(--rs-card);
    overflow: hidden;
    box-shadow: var(--rs-shadow-1);
    transition: border-color .2s var(--rs-ease), box-shadow .2s var(--rs-ease);
}

.featured-in .owl-featuredin .item .card:hover {
    border-color: var(--rs-border-strong);
    box-shadow: var(--rs-shadow-2);
}


/* content_photo only ships a low-res /thumb/ (see home.blade.php) — there's no
   higher-res path bound anywhere else in the project to swap to, so the box
   is sized down instead of full-bleed to reduce how far that source gets
   upscaled. Diverges from the full-bleed post-card/tv-card/property-card
   image on purpose for that reason. */

.featured-in .owl-featuredin .item .card .card-image {
    border-radius: var(--rs-radius-sm);
    aspect-ratio: 16 / 9;
    height: auto;
    max-width: 75%;
    margin: 16px auto 0;
    overflow: hidden;
    background: var(--rs-surface-alt);
}

.featured-in .owl-featuredin .item .card .card-image img {
    border-radius: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s var(--rs-ease);
}

.featured-in .owl-featuredin .item .card:hover .card-image img {
    transform: scale(1.04);
}

.featured-in .owl-featuredin .item .card .in {
    display: block;
    height: 40px;
    width: auto;
    margin: -2px auto 10px;
    opacity: .85;
    transition: opacity .18s var(--rs-ease);
}

.featured-in .owl-featuredin .item .card:hover .in {
    opacity: 1;
}

.featured-in .owl-featuredin .item .card .card-title {
    height: auto;
    margin: 0;
    padding: 4px 16px 18px;
    font-size: 15.5px;
    font-weight: 650;
    line-height: 1.4;
    color: var(--rs-ink);
    text-align: center;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color .18s var(--rs-ease);
}

.featured-in .owl-featuredin .item .card .card-title:hover {
    color: var(--rs-brand-text);
}

.recently-pr__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

@media (max-width: 1199.98px) {
    .recently-pr__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767.98px) {
    .recently-pr__grid {
        grid-template-columns: 1fr;
    }
    /* Bootstrap's default 15px .container-fluid gutter (section-wide) eats into
     the single-column card more than it needs to at this width — trim it so
     the card gets more width instead of just sitting narrower in the middle. */
    .recently-pr .container-fluid {
        padding-left: 8px;
        padding-right: 8px;
    }
}

.recently-pr .property-card {
    flex-direction: row;
    align-items: stretch;
    gap: 14px;
    padding: 10px;
    margin-bottom: 0;
}

.recently-pr .property-card__media {
    flex: 0 0 132px;
    width: 132px;
    aspect-ratio: 4 / 3;
    border-radius: var(--rs-radius-sm);
}

.recently-pr .property-card__media::after {
    height: 32px;
}

.recently-pr .property-card__badge {
    padding: 3px 9px;
    font-size: 11px;
}


/* "New" badge: red, sitting directly under the category badge (left-aligned
   to match it, pushed down clear of its ~20px height + gap). Unconditional —
   no breakpoint gate — since real laptop screens routinely report logical
   widths above 1440px (1512/1536/1728...), a max-width gate here could silently
   miss them and fall back to a side-by-side look that was never intended on
   these narrow 132px/110px thumbnails. */

.recently-pr .property-card__badges {
    top: 8px;
    left: 8px;
}

.property-card__badge--new {
    position: absolute;
    top: 32px;
    left: 8px;
    z-index: 3;
    background: var(--rs-brand-strong);
    color: var(--rs-on-brand);
    box-shadow: 0 1px 3px rgba(0, 0, 0, .18);
}

.recently-pr .property-card__body {
    padding: 0;
    justify-content: center;
    min-width: 0;
}

.recently-pr .property-card__price {
    font-size: 17px;
    font-variant-numeric: tabular-nums;
}

.recently-pr .property-card__title {
    margin: 4px 0 6px;
    font-size: 14.5px;
    font-weight: 600;
    line-height: 1.3;
}

.recently-pr .property-card__features {
    gap: 4px 12px;
    font-size: 12.5px;
    color: var(--rs-text-muted);
}

.recently-pr .property-card__features .feat img {
    width: 14px;
    height: 14px;
}


/* The shared .property-card__footer is a full-width, bordered price+enquire
   row (recomended-pr's layout); here it's nested inside this card's own
   .property-card__body instead (this card's price already sits in the
   price/fav row up top) — drop the border/padding and just push the Quick
   Enquire button to the body's bottom-right corner. */

.recently-pr .property-card__footer {
    padding: 8px 0 0;
    border-top: 0;
    justify-content: flex-end;
}

.recently-pr .property-card__enquire {
    padding: 6px 12px;
    font-size: 12.5px;
}

.recently-pr .property-card:hover {
    transform: none;
}

.recently-pr__actions {
    display: flex;
    justify-content: center;
    margin-top: 28px;
}

@media (max-width: 575.98px) {
    .recently-pr .property-card {
        flex-direction: row;
    }
    .recently-pr .property-card__media {
        flex-basis: 110px;
        width: 110px;
    }
}


/* ==========================================================================
   Modals (Bootstrap)
   ========================================================================== */

.modal-content {
    background: var(--rs-card);
    color: var(--rs-text);
    border: 1px solid var(--rs-border);
    border-radius: var(--rs-radius-lg);
    box-shadow: var(--rs-shadow-3);
    overflow: hidden;
}

.modal-header {
    padding: 22px 26px 14px;
    border-bottom: 0;
    background: var(--rs-card);
}

.modal-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--rs-ink);
}

.modal-body {
    padding: 8px 26px 20px;
    background: var(--rs-card);
}

.modal-footer {
    padding: 16px 26px;
    border-top: 1px solid var(--rs-border);
    background: var(--rs-surface);
}

/* Property-enquiry modals (#enquire, #tellfriend_mdl/_slide6, #citizenship —
   all .enquire-modal): a soft brand-tinted background vs. the default
   --rs-card used by the auth/search/subscribe modals above. .modal-header/
   .modal-body need the .modal-content ancestor repeated in the selector to
   match all.css's own .modal .modal-content .modal-header/.modal-body
   specificity (0,3,0 — legacy's hardcoded #e5e4d5) and win on cascade order. */

.enquire-modal .modal-content {
    background: var(--rs-brand-soft);
    border-radius: 15px;
}

.enquire-modal .modal-content .modal-header,
.enquire-modal .modal-content .modal-body {
    background: var(--rs-brand-soft);
}


/* WeChat QR modal (modals.blade.php): no .modal-header any more (just the
   close button over the image) and plain white throughout, so there's no
   colour seam between the modal chrome and the QR image's own white
   background. #wechat_qr_modal beats legacy's `.modal .modal-content
   {background-color:#e5e4d5;border-radius:0}` (and its .modal-body twin)
   on specificity regardless of source order. */

#wechat_qr_modal .modal-content {
    background: #fff;
    border-radius: var(--rs-radius-lg);
}

#wechat_qr_modal .modal-body {
    background: #fff;
    padding: 24px;
}

#wechat_qr_modal .wechat-qr-close {
    position: absolute;
    top: 8px;
    right: 14px;
    z-index: 1;
    font-size: 28px;
    line-height: 1;
    color: var(--rs-ink);
    opacity: .6;
}

#wechat_qr_modal .wechat-qr-close:hover {
    opacity: 1;
}

#wechat_qr_modal .modal-body img {
    width: 100%;
    display: block;
}

/* "Property Enquiry" modal title (#enquire .heading h3) + questionmark.svg
   icon (modals.blade.php, new markup — no existing icon hook on this heading). */

#enquire .heading h3 {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-weight: 600;
}

#enquire .heading h3 img {
    width: 22px;
    height: 22px;
}


/* Logo above the title (modals.blade.php, new markup) + underline bar, matching
   the .modal.signup-modal .heading logo/::before treatment (all.css) — neither
   #enquire nor #video_enquire is a .signup-modal, so neither rule reaches them
   without these. Scoped to just these two (not every .enquire-modal) since
   they're the only ones with a logo in their markup. Uses the direct-child
   selector so it doesn't also resize the questionmark icon above. */

#enquire .heading>img,
#video_enquire .heading>img {
    width: 145px;
    height: 90px;
    margin-bottom: 10px;
}

#enquire .heading::before,
#video_enquire .heading::before {
    content: "";
    width: 86px;
    height: 3px;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--color1);
}


/* Zero out all.css's .enquire-modal .heading padding (20px top/bottom) now that
   the heading carries its own logo/title/bar spacing above. */

.enquire-modal .heading {
    padding: 0;
}

/* Clicked video's title on the #video_enquire modal (modals.blade.php). */
.video-enquire__video-title {
    margin: 4px 0 0;
    font-size: 15px;
    text-align: center;
    color: var(--rs-text-muted);
}

.modal-backdrop.show {
    background: #1f1a19;
    opacity: .55;
}

.enquire_form input {
    border: 1px solid var(--rs-border-strong);
    box-shadow: var(--rs-shadow-1);
}

.modal-content .closebtn {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border: 1px solid var(--rs-border);
    background: var(--rs-surface);
    color: var(--rs-text-muted);
    font-size: 14px;
    cursor: pointer;
    transition: background-color .18s var(--rs-ease), border-color .18s var(--rs-ease), color .18s var(--rs-ease);
}

.modal-content .closebtn:hover {
    background: var(--rs-brand-soft);
    border-color: var(--rs-brand-strong);
    color: var(--rs-brand-strong);
}

/* Login/register modal switch row ("Don't have an account? / Already have
   an account?" next to the register/login buttons) — no existing hook, new
   classes. */

.auth-switch {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
}

.auth-switch-text {
    color: var(--rs-text-muted);
    font-size: 14px;
}


/* ==========================================================================
   City tabs + search form — design-reference/search-bar.html, mapped onto the
   existing DOM/JS (the Angular tab switching + the .dropdown/.filterMenuHeader
   "fake select" filter widgets are untouched; only their look is reskinned).
   .hero .nav-tabs            city-tabs (ALL / Istanbul / Bodrum / ...)
   .hero .filter-form         search-bar__form (the field row)
     .dropdown                search-bar__field (one field)
       .dropdown-toggle       the field's clickable box
         .hideTextOverflow    field label
         small                selected value (shown once filter.* has a value)
   ========================================================================== */


/* City tabs: layout/color/border left on the legacy all.css/temp5.css look
   entirely (see chat — passes here all broke more than they fixed). Kept the
   original illustrated img icons (design-reference/pt-v2-homepage-preview.html
   .city-tabs img is the "existing <img> icons" fallback it documents) — only
   sizing/muted-vs-active state is reskinned above 768px; legacy's own
   hide-under-768px behaviour for these icons is left as-is. */

.hero .nav-tabs .nav-item .nav-link img {
    width: 50px;
    height: 50px;
    padding: 10px;
    flex-shrink: 0;
    filter: grayscale(1);
    opacity: 0.6;
    transition: filter 0.2s ease, opacity 0.2s ease;
}

.hero .nav-tabs .nav-item .nav-link:hover img {
    opacity: 0.85;
}

.hero .nav-tabs .nav-item .nav-link.active img {
    filter: none;
    opacity: 1;
}

@media (max-width: 768px) {
    .hero .nav-tabs .nav-item .nav-link img {
        display: none;
    }
}


/* Search form (Location / Type / Price / Search), design-reference/
   search-bar.html mapped onto the existing .dropdown/.filterMenuHeader
   "fake select" widgets — DOM/JS untouched, only the look is reskinned.
   Shared by the home hero (.hero .filter-form) and the property-listing
   search bar (.search-sec .filter-form, context: 'filter' — more fields:
   area, bedrooms, tags, the mobile-only price dropdowns), same markup.
   .filter-form               search-bar__form (the field row)
     .dropdown                search-bar__field (one field)
       .dropdown-toggle       the field's clickable box
         .hideTextOverflow    field label
         small                selected value (shown once filter.* has a value) */


/* .search-sec itself (the wrapper around .filter-form on the listing page)
   still carried the legacy background-color:#e5e4d5 (old beige) and a large
   90px side padding that was eating into the form's available width. */

.search-sec {
    background: var(--rs-card);
    padding: 14px 16px;
    margin-bottom: 20px;
    border: 1px solid var(--rs-border);
    border-radius: 12px;
    box-shadow: rgba(0, 0, 0, 0.06) 0px 2px 12px;
}


/* Sticks the filter bar to the top of the viewport on scroll (all widths);
   legacy's own `.search-sec.sticky` (temp5.css, toggled by Angular's
   isSticky) still adds its extra box-shadow on top of this once the page
   scrolls.
   z-index:1000 (not legacy's 111): `header` (temp5.css) sits at z-index:999,
   so at 111 the header's own stacking context painted over this once both
   were pinned near the top, making the sticky bar look like it "disappeared"
   on scroll instead of sticking below the header. */

.search-sec {
    position: sticky;
    top: 0;
    z-index: 1000;
}


/* legacy's `.search-sec.sticky{top:60px;z-index:111;...}` (two classes) beats
   the plain `.search-sec` rule above on specificity the moment Angular's
   isSticky toggles that class on, silently reintroducing the top-offset/
   z-index collision this was meant to fix — pin both back down here. */

.search-sec.sticky {
    top: 0;
    z-index: 1000;
}


/* On mobile, `header` also becomes position:sticky (see the header section
   above, scoped to body:has(.search-sec) so only this filter page's header
   is affected) so it stays visible while scrolling — push the sticky search
   bar down by the header's own height (same 64px already used for
   .sidebar's max-height: calc(100vh - 64px) above) instead of the 0 used on
   desktop, where header never sticks, so the two don't overlap. */

@media (max-width: 991.98px) {
    .search-sec.sticky {
        top: 64px;
    }
}


/* legacy temp5.css/all.css hard-code `.search-sec button{background-color:#d83908}`
   (old orange) — swap for the site primary token. More specific rules below
   (.dropdown-toggle, .submit-filter, .alerts…) still set their own backgrounds. */

.search-sec button {
    background-color: var(--color2);
}

.hero .filter-form,
.search-sec .filter-form {
    flex-wrap: nowrap;
    align-items: stretch;
    /* Each .dropdown now carries its own full border + radius (see below)
     instead of sharing a border-right divider — needs a gap or the rounded
     corners would be hidden flush against the next field. */
    gap: 8px;
    max-width: 1040px;
    margin: 0 auto;
    padding: 6px;
}


/* The filter page has more fields than the home hero, so it gets a wider cap
   than the hero's 1040px, centred the same way via the shared margin:0 auto. */

.search-sec .filter-form {
    max-width: 1400px;
    margin: auto;
}


/* Each field (search-bar__field): the .dropdown wrappers rendered by the
   search-form partial, plus the .price variant and the two submit wrappers. */

.hero .filter-form>.dropdown,
.search-sec .filter-form>.dropdown {
    flex: 1 1 0;
    min-width: 0;
    width: 100%;
    background-color: var(--rs-card);
    color: var(--rs-ink);
    border: 1px solid var(--rs-border);
    border-radius: var(--rs-radius-sm);
}

.hero .filter-form>.dropdown {
    margin-right: 8px;
}

.search-sec .filter-form>.dropdown {
    min-width: 170px;
}

.hero .filter-form>.submit-and-id,
.hero .filter-form>.btns,
.search-sec .filter-form>.submit-and-id,
.search-sec .filter-form>.btns {
    flex: 0 0 auto;
    /* legacy ships `.btns{width:63%}` (temp5.css) — flex-basis:auto above falls
     back to that width since we never set it ourselves, bloating the button
     group and throwing off the row's centering. */
    width: auto;
}

.search-sec .filter-form .btns {
    margin-left: 5px;
}

.hero .filter-form .dropdown-toggle,
.search-sec .filter-form .dropdown-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 2px;
    height: 100%;
    padding: 6px 16px;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: var(--rs-ink);
    font-size: 15px;
    font-weight: 500;
    text-transform: none;
}


/* Homepage hero search only (not .search-sec on the listings page). */

.hero .filter-form .dropdown-toggle {
    background: var(--rs-surface-cream);
    font-size: 12px;
}


/* Mobile-only min/max price fields (search-form.blade.php's .d-lg-none inputs,
   shown instead of the combined price dropdown below lg) are plain <input>s,
   so they don't go through .filterMenuHeader .hideTextOverflow like every
   other field — restated here to match that look (muted, bold, centered). */

.search-sec .filter-form .d-lg-none input.dropdown-toggle {
    font-weight: 600;
    text-align: center;
}

.search-sec .filter-form .d-lg-none input.dropdown-toggle::placeholder {
    color: var(--rs-text-muted);
    font-weight: 600;
    opacity: 1;
}

.hero .filter-form .filterMenuHeader,
.search-sec .filter-form .filterMenuHeader {
    position: relative;
    width: 100%;
}

.hero .filter-form .filterMenuHeader .hideTextOverflow,
.search-sec .filter-form .filterMenuHeader .hideTextOverflow {
    font-size: 18px;
    font-weight: 600;
    color: var(--rs-text-muted);
}


/* Homepage hero search only (not .search-sec on the listings page). */

.hero .filter-form .filterMenuHeader .hideTextOverflow {
    color: #49181c;
}

.hero .filter-form .filterMenuHeader.hasValue,
.search-sec .filter-form .filterMenuHeader.hasValue {
    text-align: left;
}

.hero .filter-form .filterMenuHeader.hasValue div,
.search-sec .filter-form .filterMenuHeader.hasValue div {
    position: static;
    left: auto;
    top: auto;
    transform: none;
    font-size: 12px;
    color: var(--rs-text-muted);
}

.hero .filter-form .filterMenuHeader small,
.search-sec .filter-form .filterMenuHeader small {
    font-size: 15px;
    font-weight: 500;
    color: var(--rs-ink);
}

.hero .filter-form .dropdown-toggle .fa-chevron-down,
.search-sec .filter-form .dropdown-toggle .fa-chevron-down {
    position: absolute;
    top: 50%;
    right: 14px;
    transform: translateY(-50%);
    font-size: 13px;
    color: var(--rs-text-muted);
}

[dir="rtl"] .hero .filter-form .dropdown-toggle .fa-chevron-down,
[dir="rtl"] .search-sec .filter-form .dropdown-toggle .fa-chevron-down {
    right: auto;
    left: 17px;
}


/* style-rtl.css's "* { font-family: Jannat }" gets reset back to the Latin
   sans by more specific rules on these — reapply the Arabic face
   explicitly now that reskin.css loads after style-rtl.css. */

[dir="rtl"] .submit-filter .alerts,
[dir="rtl"] .register .btn,
[dir="rtl"] #signup .btn,
[dir="rtl"] #signin .btn,
[dir="rtl"] .sticky_btn {
    font-family: 'Jannat', sans-serif;
}

.hero .filter-form .remove-selection,
.search-sec .filter-form .remove-selection {
    right: 36px;
}

.hero .filter-form .submit-and-id .btn-w-img,
.hero .filter-form .submit-filter,
.search-sec .filter-form .submit-and-id .btn-w-img,
.search-sec .filter-form .submit-filter {
    width: auto;
    height: 100%;
    min-height: 44px;
    padding: 0 22px;
    border: 0;
    border-radius: calc(var(--rs-radius-md) - 5px);
    background: var(--rs-brand-deep);
    color: var(--rs-on-brand);
    font-weight: 600;
    white-space: nowrap;
    transition: filter .18s var(--rs-ease);
}

.hero .filter-form .submit-and-id .btn-w-img:hover,
.hero .filter-form .submit-filter:hover,
.search-sec .filter-form .submit-and-id .btn-w-img:hover,
.search-sec .filter-form .submit-filter:hover {
    filter: brightness(1.15);
}


/* Legacy .filter-form .dropdown-menu.show is a fixed 500px/400px grid of
   options — trimmed down for the slimmer reskinned fields. Desktop only:
   at mobile widths this 460px forced the panel wider than the viewport,
   pushing the option text (e.g. city names) out past the visible edge. */

@media (min-width: 768px) {
    .hero .filter-form .dropdown-menu.show,
    .search-sec .filter-form .dropdown-menu.show {
        width: 460px;
        max-width: 460px;
    }
    .hero .filter-form .dropdown-menu.show.last,
    .search-sec .filter-form .dropdown-menu.show.last {
        width: 460px;
    }
}


/* Legacy centered the label text inside .w-100's full flex-grown width, leaving
   a big gap after the checkbox (which stays pinned to the left). Left-align so
   the text sits right next to the checkbox instead. */

.hero .filter-form .dropdown-menu .option,
.search-sec .filter-form .dropdown-menu .option,
.hero .filter-form .dropdown-menu .option .w-100,
.search-sec .filter-form .dropdown-menu .option .w-100 {
    text-align: left !important;
}

[dir="rtl"] .hero .filter-form .dropdown-menu .option,
[dir="rtl"] .search-sec .filter-form .dropdown-menu .option,
[dir="rtl"] .hero .filter-form .dropdown-menu .option .w-100,
[dir="rtl"] .search-sec .filter-form .dropdown-menu .option .w-100 {
    text-align: right !important;
}


/* The "Or / Get Property Alerts" button only renders in the 'filter' context
   (listing page) — it was still fully legacy-styled (white text on white
   background for "Or", a fixed 200px white/black alerts button with its own
   bold line forced onto a second row), clashing with the reskinned Search
   button next to it. */

.search-sec .filter-form .btns {
    display: flex;
    align-items: center;
    gap: 10px;
}

.search-sec .filter-form .btns .or {
    padding: 0;
    color: var(--rs-text-muted);
    font-weight: 600;
}

.search-sec .filter-form .btns .alerts {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    height: 100%;
    min-height: 44px;
    padding: 0 20px;
    border: 1px solid var(--rs-border-strong);
    border-radius: calc(var(--rs-radius-md) - 5px);
    background: var(--rs-card);
    color: var(--rs-ink);
    font-size: 13px;
    white-space: nowrap;
    transition: border-color .18s var(--rs-ease), color .18s var(--rs-ease);
}

.search-sec .filter-form .btns .alerts b {
    display: inline;
    margin-inline-start: 4px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: normal;
}

.search-sec .filter-form .btns .alerts:hover {
    background: var(--rs-card);
    border-color: var(--rs-brand-strong);
    color: var(--rs-brand-text);
}

@media (max-width: 767.98px) {
    .hero .filter-form {
        flex-direction: column;
        padding: 4px;
    }
    .hero .filter-form>.dropdown {
        border-right: 0;
        border-bottom: 1px solid var(--rs-border);
    }
    .hero .filter-form>.dropdown:last-of-type {
        border-bottom: 0;
    }
    .hero .filter-form .submit-and-id .btn-w-img {
        width: 100%;
        min-height: 40px;
        margin-top: 4px;
    }
    .hero .filter-form .filterMenuHeader.hasValue small {
        display: block;
        text-align: center;
    }
    .hero .filter-form .filterMenuHeader .hideTextOverflow {
        font-size: 15px;
        text-align: center;
    }
    /* Filter/listing page (context: 'filter') has more fields than the home
     hero, so recover the old form's 2-column grid here instead of stacking
     every field in one column: Location/Type, Min/Max price, Bedrooms/Tags,
     then a full-width Search button. */
    .search-sec .filter-form {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 4px;
        padding: 3px;
    }
    .search-sec .filter-form>.dropdown {
        /* Desktop's min-width: 200px (section 9) doesn't fit 2 columns in a
       mobile-width card — it was forcing 400px of track width (200px x 2)
       into a ~350px card, pushing every field and the Search button past
       the card's edges. 0 fixed that but then let the 1fr tracks collapse
       to each field's min-content (text-overflow: ellipsis lets that shrink
       to near nothing), truncating the labels — 150px is small enough for
       2 columns to fit the card, large enough to keep labels readable. */
        min-width: 150px;
        border-right: 0;
        border-bottom: 1px solid var(--rs-border);
    }
    .search-sec .filter-form>.dropdown:last-of-type {
        border-bottom: 0;
    }
    .search-sec .filter-form>.submit-and-id,
    .search-sec .filter-form>.btns {
        grid-column: 1 / -1;
        width: 100%;
    }
    .search-sec .filter-form .dropdown-toggle {
        padding: 4px 10px;
        font-size: 13px;
    }
    .search-sec .filter-form .submit-and-id .btn-w-img,
    .search-sec .filter-form .submit-filter {
        width: 100%;
        min-height: 28px;
        padding: 0 12px;
        font-size: 13px;
        margin-top: 4px;
    }
    .search-sec .filter-form .btns .alerts {
        min-height: 28px;
        padding: 0 12px;
        font-size: 12px;
    }
    .search-sec .filter-form .filterMenuHeader.hasValue small {
        display: block;
        text-align: center;
    }
    .search-sec .filter-form .filterMenuHeader .hideTextOverflow,
    .search-sec .filter-form .filterMenuHeader small {
        font-size: 13px;
        text-align: center;
    }
    .search-sec .filter-form .dropdown-toggle .fa-chevron-down {
        right: 10px;
        font-size: 11px;
    }
    [dir="rtl"] .search-sec .filter-form .dropdown-toggle .fa-chevron-down {
        right: auto;
        left: 10px;
    }
    .search-sec .filter-form .dropdown-menu.show {
        font-size: 13px;
    }
    .search-sec .filter-form .dropdown-menu .option {
        padding: 5px 8px;
    }
    /* Collapse handle (index.blade.php's .search-sec__toggle, Angular
     searchCollapsed): centred chevron under the form; collapsing hides the
     fields so more property cards fit on screen. Open by default.
     Legacy temp5.css makes .search-sec a flex ROW (gap:30px), which put the
     chevron beside the form — stack as a column so it sits underneath. */
    .search-sec {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 8px 10px;
        margin-bottom: 12px;
    }
    .search-sec .filter-form {
        width: 100%;
    }
    .search-sec__toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 36px;
        height: 20px;
        margin: 4px auto 0;
        padding: 0;
        border: 1px solid var(--color2);
        border-radius: 999px;
        background: var(--color2);
        color: var(--rs-on-brand);
        font-size: 11px;
        cursor: pointer;
    }
    .search-sec__toggle:focus-visible {
        outline: 2px solid var(--rs-brand-strong);
        outline-offset: 2px;
    }
    .search-sec.search-sec--collapsed {
        padding-top: 4px;
        padding-bottom: 4px;
    }
    .search-sec.search-sec--collapsed .filter-form {
        display: none;
    }
    .search-sec.search-sec--collapsed .search-sec__toggle {
        margin-top: 0;
    }
}

@media (min-width: 768px) {
    .search-sec__toggle {
        display: none;
    }
    .search-sec.sticky {
        min-height: 110px;
    }
}

.filter-form .submit-filter {
    background: var(--rs-brand-strong);
    color: #fff;
    border-radius: var(--rs-radius-sm);
    transition: background-color .18s var(--rs-ease);
}

.filter-form .submit-filter:hover {
    background: var(--rs-brand-hover);
}


/* Property page / form-page sidebar wrapper. Overrides all.css / temp5.css
   (40px on desktop, 0 on small screens) with one value at every width. */

.view-content {
    padding: 15px;
}


/* Filter/search results grid (resources/views/sites/pt/properties/index.blade.php,
   wrapped in .properties): the shared .property-card's 4:3 photo (section 2) reads
   too tall in this 4-up grid, so it's shortened here — the homepage's own
   .recomended-pr carousel keeps the 4:3 ratio from the reference, but
   .suitable-pr (citizenship.blade.php) and .similar-pr (properties/show.blade.php)
   are secondary carousels reusing the same card, not the hero grid, so they're
   unified with this shorter ratio instead of standing out larger/taller. */

.properties .property-card__media,
.suitable-pr .property-card__media,
.similar-pr .property-card__media {
    aspect-ratio: 16 / 10;
}


/* Filter page "Sort by" control (.properties .heading .sortby): legacy draws a
   plain bordered <div class="drop"> AND a bordered <button> on top of it (flat
   corners, #666 text) — flatten to one pill button in the reskin tokens; the
   wrapping .drop keeps the dropdown's positioning context, just no visible box. */

.properties .heading .sortby .drop {
    border: 0;
    background: transparent;
    padding: 0;
}

.properties .heading .sortby .dropdown-toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    width: auto;
    border: 1px solid var(--rs-border);
    border-radius: var(--rs-radius-pill);
    background: var(--rs-card);
    color: var(--rs-ink);
    font-size: 14px;
    padding: 5px 8px;
    transition: border-color .18s var(--rs-ease), color .18s var(--rs-ease);
}

.properties .heading .sortby .dropdown-toggle .hideMob {
    color: var(--rs-text-muted);
    font-weight: 500;
}

.properties .heading .sortby .dropdown-toggle:hover,
.properties .heading .sortby .dropdown-toggle:focus-visible {
    border-color: var(--rs-brand-strong);
    color: var(--rs-brand-text);
}

.properties .heading .sortby .dropdown-toggle:focus-visible {
    outline: none;
    box-shadow: var(--rs-focus-ring);
}

/* all.css's `.sortby .menu{z-index:100}` (more specific than Bootstrap's own
   `.dropdown-menu{z-index:1000}`) loses to .search-sec{z-index:1000} further
   up the page once it's sticky near the top (/real_estate/turkey) - same root
   cause as header:has(.lang-dropdown.open){z-index:1001} above, just a
   different dropdown and no trapping ancestor stacking context this time
   (.sortby .drop is position:relative with no z-index of its own), so the
   menu's own z-index can just be raised directly instead. */
.properties .heading .sortby .menu.dropdown-menu {
    border: 1px solid var(--rs-border);
    border-radius: var(--rs-radius-sm);
    box-shadow: var(--rs-shadow-2);
    padding: 6px;
    margin-top: 8px;
    z-index: 1001;
}

.properties .heading .sortby .menu .dropdown-item {
    border-radius: var(--rs-radius-sm);
    padding: 8px 14px;
    font-size: 14px;
    color: var(--rs-text);
    transition: background-color .15s var(--rs-ease), color .15s var(--rs-ease);
}

.properties .heading .sortby .menu .dropdown-item:hover,
.properties .heading .sortby .menu .dropdown-item:focus-visible {
    background: var(--rs-surface-alt);
    color: var(--rs-ink);
}

.properties .heading .sortby .menu .dropdown-item.active {
    background: var(--rs-brand-soft);
    color: var(--rs-brand-text);
    font-weight: 600;
}


/* ==========================================================================
   Property Turkey TV page (/tv): toolbar (search + sort), category pills,
   featured video, video grid, sidebar, load more. .tv_header / .header_desc
   (title + intro) keep their original markup/styling untouched.

   .tv-page
     .tv-toolbar            search + sort row (replaces the old sort dropdown)
       .tv-search           pill search input (replaces the old search-tv box)
       .tv-sort             segmented Latest added / Most popular
     .tv-cats                category pills (on the existing .horizontal-scroll /
                             .properttv_btn hooks) + .tv-cats-toggle "show all"
     .tv-featured__card      latest video spotlight
     .tv-layout > .tv-list > .tv-video   grid cards (thumb, tags, title, desc,
                             meta, .tv-video__cta)
     .tv-layout > .tv-side   .tv-top (top videos) + .tv-subscribe (card)
     .tv-more                load more button + spinner (replaces the AjaxLoader gif)

   Reuses .tv-thumb / .tv-play (already defined for the homepage PT-TV strip)
   and .little_header.redText (existing hooks).
   ========================================================================== */

.tv-page {
    background: var(--rs-page);
}


/* Toolbar: search + sort ---------------------------------------------------- */

.tv-page .tv-toolbar {
    align-items: center;
    row-gap: 16px;
    padding: 20px 0 4px;
}

.tv-page .tv-search {
    position: relative;
    display: flex;
    align-items: center;
    max-width: 560px;
    margin-bottom: 10px;
}

.tv-page .tv-search .tv-search__icon {
    position: absolute;
    left: 16px;
    width: 19px;
    height: 19px;
    color: var(--rs-text-muted);
    pointer-events: none;
}

.tv-page .tv-search input {
    width: 100%;
    height: 50px;
    padding: 0 48px 0 46px;
    border: 1px solid var(--rs-border-strong);
    border-radius: var(--rs-radius-pill);
    background: var(--rs-card);
    color: var(--rs-ink);
    font: inherit;
    font-size: 15.5px;
    box-shadow: var(--rs-shadow-1);
    transition: border-color .18s var(--rs-ease), box-shadow .18s var(--rs-ease);
}

.tv-page .tv-search input::placeholder {
    color: var(--rs-text-muted);
}

.tv-page .tv-search input:focus {
    outline: none;
    border-color: var(--rs-brand-strong);
    box-shadow: 0 0 0 3px var(--rs-brand-soft);
}

.tv-page .tv-search input::-webkit-search-cancel-button {
    display: none;
}

.tv-page .tv-search__clear {
    position: absolute;
    right: 8px;
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: var(--rs-surface);
    color: var(--rs-text);
    cursor: pointer;
}

.tv-page .tv-search__clear:hover {
    background: var(--rs-surface-alt);
    color: var(--rs-ink);
}

.tv-page .tv-search__clear[hidden] {
    display: none;
}

.tv-page .tv-search__clear svg {
    width: 16px;
    height: 16px;
}

.tv-page .tv-count {
    margin: 0 0 14px;
    font-size: 14px;
    color: var(--rs-text-muted);
}

.tv-page .tv-count strong {
    color: var(--rs-ink);
}

.tv-page .tv-video mark {
    background: var(--rs-brand-soft);
    color: inherit;
    border-radius: 3px;
    padding: 0 2px;
}

.tv-page .tv-toolbar__label {
    margin: 0 0 10px;
    font-size: 13px;
    font-weight: 600;
    color: var(--rs-text-muted);
}


/* Neutralises legacy bare .sortby rules (all.css: min-width:200px, text-align:right) */

.tv-page .sortby {
    min-width: 0;
    width: auto;
    text-align: left;
}

.tv-page .tv-sort {
    display: inline-flex;
    padding: 4px;
    border: 1px solid var(--rs-border-strong);
    border-radius: var(--rs-radius-sm);
    background: var(--rs-card);
}

.tv-page .tv-sort a {
    padding: 7px 14px;
    border-radius: 6px;
    color: var(--rs-text-muted);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
}

.tv-page .tv-sort a:hover {
    color: var(--rs-ink);
}

.tv-page .tv-sort a[aria-current="true"] {
    background: var(--rs-brand-deep);
    color: #fff;
}

.tv-page .button_tv {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}


/* Overrides legacy .button_tv .subscribe, .subscribe (all.css, !important) */

.tv-page .tv-subscribe-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px !important;
    width: 60% !important;
    padding: 11px 16px !important;
    border: 0 !important;
    border-radius: var(--rs-radius-sm) !important;
    background: linear-gradient(135deg, var(--rs-brand-deep), #5a1012) !important;
    color: #fff !important;
    font: inherit;
    font-size: 13.5px !important;
    line-height: 1.3;
    font-weight: 600;
    white-space: normal;
    text-align: center !important;
    cursor: pointer;
    box-shadow: 0 6px 16px rgba(212, 42, 43, .25);
    transition: filter .18s var(--rs-ease);
}

.tv-page .tv-subscribe-btn:hover {
    filter: brightness(1.1);
}

.tv-page .tv-subscribe-btn svg {
    width: 22px;
    height: 16px;
    flex-shrink: 0;
}

.tv-page .tv-subscribe-btn__short {
    display: none;
}

@media (max-width: 575.98px) {
    .tv-page .tv-subscribe-btn {
        width: 100% !important;
    }
    .tv-page .tv-subscribe-btn__full {
        display: none;
    }
    .tv-page .tv-subscribe-btn__short {
        display: inline;
    }
}

.tv-page .tv-subscribe-btn span {
    flex: 1;
}


/* Category pills (existing .horizontal-scroll / .properttv_btn hooks) ------ */

.tv-page .tv-cats {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    max-height: 84px;
    overflow: hidden;
    padding: 0;
    margin: 0 0 8px;
    transition: max-height .3s var(--rs-ease);
}

.tv-page .tv-cats.is-open {
    max-height: 600px;
}


/* The pill look itself (radius, border, white/red background) already comes
   from the existing .horizontal-scroll .properttv_btn rules (all.css, !important) */

.tv-page .tv-cats-toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 0 0 20px;
    padding: 0;
    border: 0;
    background: none;
    color: var(--rs-brand-text);
    font: inherit;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}

.tv-page .tv-cats-toggle svg {
    width: 14px;
    height: 14px;
    transition: transform .2s var(--rs-ease);
}

.tv-page .tv-cats-toggle[aria-expanded="true"] svg {
    transform: rotate(180deg);
}


/* Thumbnail size modifiers (base .tv-thumb / .tv-play already defined) ------ */

.tv-page .tv-thumb {
    border-radius: var(--rs-radius-md);
}

.tv-page .tv-thumb--featured {
    border-radius: var(--rs-radius-lg);
}

.tv-page .tv-play--lg {
    width: 76px;
    height: 76px;
    margin: -38px 0 0 -38px;
}

.tv-page .tv-play--lg svg {
    width: 30px;
    height: 30px;
    margin-left: 4px;
}

.tv-page .tv-thumb--sm {
    border-radius: 8px;
}

.tv-page .tv-play--sm {
    width: 30px;
    height: 30px;
    margin: -15px 0 0 -15px;
}

.tv-page .tv-play--sm svg {
    width: 12px;
    height: 12px;
    margin-left: 2px;
}


/* Category tags on cards: the pill look (icon, background, radius, hover) already
   comes from the existing .little_header.redText rules; this only lays out several
   of them in a wrapping row. */

.tv-page .tv-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 10px 0 0;
    padding: 0;
    list-style: none;
}


/* Meta: date + views ---------------------------------------------------------- */

.tv-page .tv-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px 14px;
    margin: 10px 0 0;
    font-size: 13px;
    color: var(--rs-text-muted);
}

.tv-page .tv-meta span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.tv-page .tv-meta svg {
    width: 14px;
    height: 14px;
}


/* Featured (latest) card ------------------------------------------------------ */

.tv-page .tv-featured__card {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
    gap: 32px;
    align-items: center;
    padding: 16px;
    margin-bottom: 8px;
    border: 1px solid var(--rs-border);
    border-radius: var(--rs-radius-lg);
    background: var(--rs-card);
    box-shadow: var(--rs-shadow-1);
}

.tv-page .tv-featured__body {
    padding: 8px 16px 8px 0;
}

.tv-page .tv-featured__label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 700;
    color: var(--rs-brand-text);
}

.tv-page .tv-featured__label::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--rs-brand);
}

.tv-page .tv-featured__card h2 {
    margin: 12px 0 0;
    font-size: clamp(22px, 2.4vw, 28px);
    line-height: 1.25;
    color: var(--rs-ink);
}

.tv-page .tv-featured__card .tv-video__desc {
    margin: 10px 0 0;
    font-size: 15.5px;
    line-height: 1.65;
    color: var(--rs-text);
}

.tv-page .tv-featured__card .tv-meta {
    flex-wrap: nowrap;
    margin: 14px 0 22px;
}

.tv-page .tv-featured__card .tv-meta span {
    flex: 1 1 50%;
    justify-content: center;
}

.tv-page .tv-featured__card .tv-meta span:first-child {
    border-right: 1px solid var(--rs-border);
}


/* Layout: list + sidebar ------------------------------------------------------- */

.tv-page .tv-layout {
    padding-bottom: 48px;
}

.tv-page .tv-list>div {
    margin-bottom: 28px;
}

.tv-page .tv-video {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-width: 0;
}

.tv-page .tv-video[hidden] {
    display: none;
}

.tv-page .tv-video__title {
    margin: 10px 0 0;
    font-size: 17.5px;
    font-weight: 650;
    line-height: 1.35;
    letter-spacing: -.01em;
}

.tv-page .tv-video__title a {
    color: var(--rs-ink);
    text-decoration: none;
}

.tv-page .tv-video__title a:hover {
    color: var(--rs-brand-text);
}

.tv-page .tv-video__desc {
    margin: 6px 0 0;
    font-size: 14.5px;
    line-height: 1.6;
    color: var(--rs-text-muted);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.tv-page .tv-video__foot {
    margin-top: auto;
    padding-top: 12px;
    text-align: center;
}

.tv-page .tv-video__foot .tv-meta {
    flex-wrap: nowrap;
    margin: 0 0 10px;
}

.tv-page .tv-video__foot .tv-meta span {
    flex: 1 1 50%;
    justify-content: center;
}

.tv-page .tv-video__foot .tv-meta span:first-child {
    border-right: 1px solid var(--rs-border);
}

.tv-page .tv-video__cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    border: 1px solid var(--rs-border-strong);
    border-radius: var(--rs-radius-sm);
    color: var(--rs-ink);
    font-size: 13.5px;
    font-weight: 600;
    text-decoration: none;
    transition: border-color .15s var(--rs-ease), color .15s var(--rs-ease);
}

.tv-page .tv-video__cta:hover {
    border-color: var(--rs-brand-strong);
    color: var(--rs-brand-text);
}

/* "Ask About This Topic" sits beside "View Property(ies)": same pill, just spaced out.
   (Not a "+" sibling rule: the "View Property(ies)" link is wrapped in an ng-if <span> in
   the infinite-scroll markup, so it isn't always this link's immediate DOM sibling.
   margin-inline-start flips sides automatically in RTL, no separate override needed.) */
.tv-page .tv-video__cta--ask {
    margin-inline-start: 8px;
}

.tv-page .tv-video__cta svg {
    width: 14px;
    height: 14px;
}

.tv-page .tv-featured__card .tv-video__cta {
    background: var(--rs-brand-strong);
    border-color: var(--rs-brand-strong);
    color: #fff;
}

.tv-page .tv-featured__card .tv-video__cta:hover {
    background: var(--rs-brand-hover);
    border-color: var(--rs-brand-hover);
    color: #fff;
}

.tv-page .tv-empty {
    width: 100%;
    margin: 0;
    padding: 40px;
    border: 1px dashed var(--rs-border-strong);
    border-radius: var(--rs-radius-md);
    text-align: center;
    color: var(--rs-text-muted);
}

.tv-page .tv-empty a {
    color: var(--rs-brand-text);
    font-weight: 600;
}


/* Load more --------------------------------------------------------------------- */

.tv-page .tv-more {
    display: flex;
    justify-content: center;
    padding-top: 4px;
}

.tv-page .tv-more button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    border: 1px solid var(--rs-border-strong);
    border-radius: var(--rs-radius-sm);
    background: var(--rs-card);
    color: var(--rs-ink);
    font: inherit;
    font-weight: 600;
    cursor: pointer;
}

.tv-page .tv-more button:hover {
    border-color: var(--rs-brand-strong);
    color: var(--rs-brand-text);
}

.tv-page .tv-spinner {
    width: 18px;
    height: 18px;
    border: 2px solid var(--rs-border-strong);
    border-top-color: var(--rs-brand-strong);
    border-radius: 50%;
    animation: tv-spin .8s linear infinite;
}

@keyframes tv-spin {
    to {
        transform: rotate(360deg);
    }
}

body.tv-search-active .tv-page .tv-more {
    display: none;
}


/* Sidebar ------------------------------------------------------------------------ */

.tv-page .tv-side {
    position: sticky;
    top: 150px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}


/* Overrides legacy .videos_about_us (all.css, !important on radius/shadow/padding) */

.tv-page .tv-top {
    padding: 22px !important;
    border: 1px solid var(--rs-border);
    border-radius: var(--rs-radius-md) !important;
    background: var(--rs-card);
    box-shadow: var(--rs-shadow-1) !important;
}

.tv-page .tv-top h2 {
    position: relative;
    margin: 0 0 16px;
    padding-bottom: 12px;
    font-size: 19px;
    border-bottom: 1px solid var(--rs-border);
}

.tv-page .tv-top h2::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 32px;
    height: 2px;
    border-radius: 2px;
    background: var(--rs-brand);
}

.tv-page .tv-top ol {
    display: grid;
    gap: 14px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.tv-page .tv-top li {
    display: grid;
    grid-template-columns: 112px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
}

.tv-page .tv-top h3 {
    margin: 0 0 4px;
    font-size: 14.5px;
    font-weight: 600;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.tv-page .tv-top h3 a {
    color: var(--rs-ink);
    text-decoration: none;
}

.tv-page .tv-top h3 a:hover {
    color: var(--rs-brand-text);
}

.tv-page .tv-top .tv-meta {
    font-size: 12.5px;
    gap: 2px 10px;
    margin-top: 2px;
}

.tv-page .tv-subscribe {
    padding: 22px;
    border-radius: var(--rs-radius-md);
    background: linear-gradient(135deg, var(--rs-brand-deep), #5a1012);
    color: rgba(255, 255, 255, .86);
}

.tv-page .tv-subscribe h2 {
    margin: 0 0 6px;
    font-size: 18px;
    color: #fff;
}

.tv-page .tv-subscribe p {
    margin: 0 0 16px;
    font-size: 14.5px;
}


/* Overrides legacy .button_tv .subscribe, .subscribe (all.css, !important) */

.tv-page .tv-subscribe button {
    display: inline-flex;
    align-items: center;
    gap: 8px !important;
    width: auto !important;
    padding: 10px 16px !important;
    border: 0 !important;
    border-radius: var(--rs-radius-sm) !important;
    background: #fff !important;
    color: var(--rs-brand-deep) !important;
    font: inherit;
    font-size: 14.5px !important;
    font-weight: 650;
    cursor: pointer;
}

.tv-page .tv-subscribe button:hover {
    background: #fde9e8 !important;
}

.tv-page .tv-subscribe button svg {
    width: 20px;
    height: 14px;
    color: var(--rs-brand);
}


/* Responsive ---------------------------------------------------------------------- */

@media (max-width: 1199.98px) {
    .tv-page .tv-side {
        top: 110px;
    }
}

@media (max-width: 991.98px) {
    .tv-page .tv-featured__card {
        grid-template-columns: 1fr;
        gap: 18px;
    }
    .tv-page .tv-featured__body {
        padding: 0 8px 8px;
    }
    .tv-page .tv-side {
        position: static;
    }
    .tv-page .tv-toolbar>div {
        margin-bottom: 4px;
    }
}

@media (max-width: 767.98px) {
    .tv-page .tv-cats {
        flex-wrap: nowrap;
        max-height: none;
        overflow-x: auto;
        padding-bottom: 4px;
        scrollbar-width: none;
    }
    .tv-page .tv-cats::-webkit-scrollbar {
        display: none;
    }
    .tv-page .tv-cats-toggle {
        display: none;
    }
}


/* ==========================================================================
   Property detail page: mobile enquiry CTAs ("Enquire about this property"
   in-page button + its sticky-bottom twin, shown once the in-page button has
   scrolled out of view — see page-scripts.blade.php) and the mobile currency
   dropdown next to the price.
   ========================================================================== */


/* mobile currency dropdown: small, centered, no native OS/browser chrome */

.property-info-sm .info.col-4 {
    display: flex;
    justify-content: center;
}

.property-info-sm select[name="currency"] {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-color: var(--rs-page);
    border-radius: 6px;
    width: auto;
    max-width: 70px;
    text-align: center;
    text-align-last: center;
}

@keyframes cta-ring-pulse {
    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(130, 24, 26, 0.45);
    }
    50% {
        box-shadow: 0 0 0 10px rgba(130, 24, 26, 0);
    }
}

.property-enquire-cta,
.sticky_btn {
    align-items: center;
    justify-content: center;
    gap: 10px;
    /* <button> doesn't inherit font-family by default, so without this it
     falls back to the browser's UI font instead of style-rtl.css's Jannat
     face on ar/fa — same fix as .submit-filter/.register .btn etc. above. */
    font-family: inherit;
    background: var(--rs-brand-deep);
    color: var(--rs-on-brand);
    font-size: 16px;
    font-weight: 800;
    text-transform: uppercase;
    animation: cta-ring-pulse 1.1s ease-in-out infinite;
    /* opt out of the browser's double-tap-to-zoom delay so the first tap
     always registers immediately. */
    touch-action: manipulation;
}

.property-enquire-cta {
    display: flex;
    width: 100%;
    padding: 12px 16px;
    margin: 12px 0;
}


/* Stays hidden until the IntersectionObserver in page-scripts.blade.php adds
   .is-visible (the in-page CTA above has fully scrolled out of view). Always
   pinned to the bottom — the legacy ".sticky_btn.top" class is no longer
   applied by JS, so it never repositions to the top. z-index is bumped a
   notch above header's own 999 (and header:has(.lang-dropdown.open)'s 1001
   is a transient, rarely-overlapping case) so it's unambiguously the
   topmost tappable element at the bottom of the screen. */

.sticky_btn {
    display: none;
    padding: 12px 16px;
    z-index: 1000;
}

.sticky_btn.is-visible {
    display: flex;
}


/* Homepage variant: lighter treatment (white fill, brand-colored icon/text,
   accent top border) instead of the property page's solid brand fill. */

.sticky_btn--light {
    background: var(--rs-page);
    color: var(--rs-brand-deep);
    border: 1px solid var(--rs-border);
    border-top: 3px solid var(--rs-brand-deep);
}


/* Split-nav variant: blog/news/economy-report/testimonials content. Unlike the
   other .sticky_btn variants (scroll-triggered via the IntersectionObserver in
   page-scripts.blade.php), this one carries .is-visible in its markup from the
   start, so it's always on screen rather than appearing once an in-page CTA
   scrolls away - a persistent utility bar, not an attention CTA. Two equal
   halves, divided by a vertical rule, sharing the same brand-fill/white-text
   look and pulsing glow as the other variants. */

.sticky_btn_split {
    padding: 0;
}

.sticky_btn_split_item,
.sticky_btn_split_item:hover,
.sticky_btn_split_item:focus,
.sticky_btn_split_item:visited {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 10px;
    color: var(--rs-on-brand);
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .03em;
    text-transform: uppercase;
}

.sticky_btn_split_divider {
    align-self: stretch;
    width: 1px;
    margin: 10px 0;
    background: rgba(255, 255, 255, 0.35);
}

.sticky_btn_split_icon {
    width: 18px;
    height: 18px;
    /* these icons ship with their own baked-in fill colors (brand red/gray) -
     force them to flat white so they read correctly on the solid brand fill. */
    filter: brightness(0) invert(1);
}


/* Keeps the floating "scroll to top" circle (bottom:10px, 60px tall) from
   sitting underneath the always-visible split nav bar on the content pages
   that show both. */

body:has(.sticky_btn_split) .scroll-top {
    bottom: 70px;
}


/* all.css's `.view-content .property-side{position:sticky;top:80px;...}`
 (the "Enquire about this property" / "Take Your Place Now" card on the
 property detail and citizenship pages) hasn't been updated for the
 reskinned header's real height, so once the card is stuck it sticks 80px
 from the top while header (position:sticky, temp5.css's `header#header`)
 is actually ~109px tall on desktop - the header's bottom ~29px overlaps and
 paints over the top of the card, cropping its h5 title. Same fix already
 applied to .side_bar.guide-sidebar/.tv-page .tv-side (150px) and to
 .search-sec/the guide breadcrumb on mobile (64px) - reuse both constants
 here instead of the stale 80px. */

@media (min-width: 992px) {
    .view-content .property-side {
        top: 150px;
    }
}

@media (max-width: 991.98px) {
    .view-content .property-side {
        top: 64px;
    }
}

/* Content section side bar (news, blog-turkey, testimonials, turkey-economy-property-
   reports, and their articles - resources/views/sites/pt/content/partials/sidebar.
   blade.php): unlike the citizenship/management/oracle .view-content column (which
   holds only the property-side card), this column stacks several boxes below the
   "Ask About This Topic" form (subscribe / guide downloads / latest-posts lists).
   Making .property-side alone sticky (rules above) only pins the card itself, not
   the column - as the page scrolls, the later boxes' own (non-sticky) natural
   position scrolls up through the same screen area the card is pinned to, and since
   a positioned element always paints above/below non-positioned siblings by DOM
   order regardless of who's "in front", the two fight over the same pixels during
   that crossover (first the gap tried to cover the boxes; forcing position:relative
   on them just flipped it the other way - the boxes then covered the card instead,
   until they'd scrolled fully past it). Staggering each box's own sticky offset to
   "dock" below the previous one would need a hardcoded height per box that breaks
   whenever translated text or keyword/post counts change a box's height. Making
   the *column* sticky as one unit instead avoids all of that: everything inside
   goes back to plain static stacking (no positioned-vs-static fight possible), and
   the whole group scrolls and stops together like a single card. */
.content-sidebar {
    position: sticky;
}

.content-sidebar .property-side {
    position: static;
}

@media (min-width: 992px) {
    .content-sidebar {
        top: 150px;
    }
}

@media (max-width: 991.98px) {
    .content-sidebar {
        top: 64px;
    }
}


/* ==========================================================================
   Enquiry thank-you page (/thanks/{form}) — shared/enquiries/thanks.blade.php.
   .centered-content / .title / .butn2 are the existing legacy hooks; no
   markup changed, just restyled onto the reskin's tokens.
   ========================================================================== */

.centered-content {
    gap: 10px;
    padding: 24px 16px;
}

.centered-content img {
    max-width: 220px;
    width: 100%;
    height: auto;
    margin-bottom: 8px;
}

.centered-content h5 {
    margin: 0;
    max-width: 560px;
    font-size: clamp(18px, 2.2vw, 22px);
    font-weight: 700;
    line-height: 1.4;
    color: var(--rs-ink);
}

.centered-content .title {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    gap: 10px;
    max-width: 100%;
    overflow-x: auto;
}

.centered-content .title a {
    margin: 0;
}

.butn2 {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    gap: 8px;
    white-space: nowrap;
    padding: 10px 20px;
    border: 1px solid var(--rs-border-strong);
    border-radius: var(--rs-radius-sm);
    background: var(--rs-card);
    color: var(--rs-ink) !important;
    font-size: 13.5px;
    font-weight: 600;
    transition: background-color .18s var(--rs-ease), border-color .18s var(--rs-ease), color .18s var(--rs-ease);
}

.butn2 i {
    font-size: 12px;
}

.butn2 .fa-youtube {
    color: #ff0000;
}

.butn2:hover {
    background: var(--rs-brand-strong);
    border-color: var(--rs-brand-strong);
    color: var(--rs-on-brand) !important;
}

@media (max-width: 575.98px) {
    .centered-content .title {
        gap: 8px;
        padding-bottom: 4px;
    }
    .butn2 {
        padding: 9px 14px;
        font-size: 12.5px;
    }
}


/* ==========================================================================
   10. Motion preferences
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
    .property-card,
    .property-card__fav,
    .site-footer__col li a,
    .post-card__media img,
    .tv-thumb img,
    .tv-play,
    .about .features-card,
    .message-us .culture .image .centered,
    a.turkish_citizenship::after,
    .owl-testimonials .owl-dots .owl-dot span,
    .featured-in .owl-featuredin .item .card,
    .featured-in .owl-featuredin .item .card .card-image img,
    header,
    header .logo img,
    .partner a,
    .header-social a[aria-label],
    .register .btn,
    .social-icons .toggler,
    .h-nav ul.hideMob li a,
    .h-nav ul.hideMob li .slider-toggle,
    .tv-page .tv-cats,
    .tv-page .tv-cats-toggle svg,
    .butn2 {
        transition: none;
    }
    .property-card:hover,
    .site-footer__col li a:hover,
    .post-card:hover .post-card__media img,
    .tv-thumb:hover img,
    .tv-thumb:hover .tv-play,
    .about .features-card:hover,
    .message-us .culture .image:hover .centered,
    a.turkish_citizenship:hover::after,
    .featured-in .owl-featuredin .item .card:hover .card-image img,
    .social-icons .toggler:hover {
        transform: none;
    }
    .social-icons .toggler {
        animation: none;
    }
    .tv-page .tv-spinner {
        animation: none;
    }
    .pt-tv__grid {
        scroll-behavior: auto;
    }
    .connect .heading,
    .connect .heading span,
    .property-enquire-cta,
    .sticky_btn,
    .hero .tab-content .tab-pane .image {
        animation: none;
    }
}


/* ==========================================================================
   11. Guide page sidebar + content
   Template: resources/views/shared/content/partials/guide-page.blade.php
   Pages: /about-turkey, /about-dubai, /buyer-guide, /market, /visas
   .side_bar (col-lg-3, section nav) + .page (col-lg-9, article body) were a
   flat #eaeaea band next to a flat #f7f5f2 band.

   Re-skinned after "pae new design/pt-buyer-guide.html" (.guide-sidebar /
   .guide-nav / .is-open pattern): #column_left is now a bordered, shadowed
   nav card that sits inset inside .side_bar's existing Bootstrap column
   padding — no extra margin added, so it stays full width in that space
   with zero horizontal-overflow risk. .side_bar itself + .guide-toggle are
   new wrapper/affordance; .guide-filter/.guide-count/.guide-noresults are
   new, driven by real data (category name, real sub-page count) — nothing
   invented. The reference's download-PDF card and hero/breadcrumb/progress
   bar were left out: out of scope (sidebar-only ask) and the PDF form this
   site has already lives inside .page, not the sidebar.
   ========================================================================== */

.side_bar {
    background-color: var(--rs-page);
    padding: 10px 10px;
}

.guide-toggle {
    display: none;
}

[dir="rtl"] .guide-toggle span {
    text-align: right;
    margin-right: 15px;
}

#column_left {
    background-color: var(--rs-card);
    border: 1px solid var(--rs-border);
    border-radius: var(--rs-radius-md);
    box-shadow: var(--rs-shadow-1);
    overflow: hidden;
}

@media (min-width: 992px) {
    .side_bar.guide-sidebar {
        align-self: flex-start;
        position: sticky;
        /* header is position:sticky/top:0 with z-index:999 (all.css) and no
           fixed height — top:24px put this behind it, hiding .guide-nav__head
           under the header on scroll. Same 150px desktop clearance already
           used by .tv-page .tv-side for the same sticky-under-header card. */
        top: 150px;
    }

    /* Without a height cap, #column_left just grows to fit every accordion
       group, so a long guide (sticky, no bound) only "scrolls" by scrolling
       .page past it — hovering the panel itself scrolled the article behind
       it, not the panel. Cap it to the viewport space below the sticky
       offset and scroll its own content instead (overrides the base rule's
       overflow:hidden for the Y axis only). */
    #column_left {
        max-height: calc(100vh - 150px - 24px);
        overflow-y: auto;
        overscroll-behavior: contain;
    }
}

.guide-nav__head {
    padding: 18px 20px 14px;
    border-bottom: 1px solid var(--rs-border);
}

.side-title {
    display: block;
    margin: 0 0 14px;
    color: var(--rs-ink);
    text-align: center;
}

.guide-filter {
    position: relative;
}

.guide-filter .fa-search {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--rs-text-muted);
    font-size: 13px;
    pointer-events: none;
}

.guide-filter input {
    width: 100%;
    height: 40px;
    padding: 0 12px 0 34px;
    border: 1px solid var(--rs-border-strong);
    border-radius: var(--rs-radius-sm);
    background-color: var(--rs-card);
    color: var(--rs-ink);
    font: inherit;
    font-size: 14px;
}

.guide-filter input:focus {
    outline: none;
    border-color: var(--color2);
    box-shadow: 0 0 0 3px var(--rs-brand-soft);
}

[dir="rtl"] .guide-filter .fa-search {
    left: auto;
    right: 12px;
}

[dir="rtl"] .guide-filter input {
    padding: 0 34px 0 12px;
}

[dir="rtl"] .accordion-heading .guide-count {
    margin-left: 12px;
    margin-right: auto;
}

#accordion_parent_sidebar {
    padding: 8px;
    margin: 0;
}

.side_bar .accordion-heading {
    color: var(--rs-ink);
    border-bottom-color: var(--rs-border-strong);
}

.side_bar .accordion-heading:hover,
.side_bar .accordion-heading i {
    color: var(--color2);
}

/* padding-inline flips sides automatically in RTL, no separate override needed. */
.side_bar a:not(.guide-caret-btn) {
    display: block;
    padding-block: 8px;
    padding-inline: 6px;
    color: var(--rs-text);
}

.side_bar a:not(.guide-caret-btn):hover {
    text-decoration: underline;
}

.side_bar ul li {
    margin-bottom: 5px;
}

.accordion-heading .guide-count {
    margin-left: auto;
    margin-right: 12px;
}

.guide-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    padding: 3px 9px;
    border-radius: var(--rs-radius-pill);
    background-color: var(--rs-brand-strong);
    color: var(--rs-on-brand);
    font-size: 11.5px;
    font-weight: 650;
    white-space: nowrap;
}

.guide-caret-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background-color: var(--rs-surface-alt);
}

.guide-caret-btn:hover {
    background-color: var(--rs-brand-soft);
}

.guide-caret-btn i {
    font-size: 12px;
}

.guide-noresults {
    margin: 0;
    padding: 4px 18px 16px;
    font-size: 13.5px;
    color: var(--rs-text-muted);
}

.collapse-nav li {
    list-style-type: none;
    padding-left: 10px;
    border-left: 2px solid transparent;
}

.collapse-nav li:hover {
    color: var(--rs-brand);
    border-left-color: var(--rs-brand);
}

.page {
    background-color: var(--rs-card);
    color: var(--rs-text);
}

/* Same unified meta-row design as .big_tes_header__meta (article.blade.php):
   left-aligned flex row, muted small text, thin vertical dividers between
   the Updated/Created items instead of the old redText+pl-4 hack. */
.display_date {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    column-gap: 16px;
    row-gap: 8px;
    margin-top: 2px;
    padding: 10px;
    border-top: 1px solid var(--rs-border);
    font-size: 13.5px;
    color: var(--rs-text-muted);
}

.display_date>*+* {
    padding-inline-start: 16px;
    border-inline-start: 1px solid var(--rs-border);
}

.display_date p {
    margin: 0;
}

.display_date .redText {
    color: var(--rs-brand-text) !important;
    font-weight: 600;
}

@media (max-width: 991.98px) {
    /* position:sticky doesn't work here: its containing block is .side_bar,
       and .all_page only becomes a flex row (d-lg-flex) at >=992px — below
       that, .side_bar is just a normal block stacked above .page, sized to
       its own (near-empty) content. A sticky child can't stay visible past
       its own parent's bottom edge, which .side_bar reaches almost
       immediately. Fixed to the viewport instead (.sticky_btn's existing
       pattern) right below the sticky header + sticky breadcrumb bar above
       (104px = 64px header + ~40px breadcrumb row), with .side_bar's
       padding-top reserving room for all three so .page's content doesn't
       start underneath any of it. */
    .guide-toggle {
        display: flex;
        align-items: center;
        gap: 10px;
        width: 100%;
        position: fixed;
        top: 104px;
        left: 0;
        right: 0;
        z-index: 1000;
        margin-bottom: 0;
        padding: 14px 16px;
        border: 1px solid var(--rs-border);
        border-radius: 0;
        background-color: var(--rs-card);
        box-shadow: var(--rs-shadow-1);
        color: var(--rs-ink);
        font-weight: 650;
        font-size: 15px;
        cursor: pointer;
    }

    .side_bar.guide-sidebar {
        padding-top: 55px;
    }

    .guide-toggle span {
        flex: 1;
        text-align: left;
    }

    .guide-toggle i:first-child {
        color: var(--color2);
    }

    .guide-toggle .guide-caret {
        transition: transform 0.2s var(--rs-ease);
    }

    .guide-toggle[aria-expanded="true"] .guide-caret {
        transform: rotate(180deg);
    }

    .guide-nav__head .side-title {
        display: none;
    }

    #column_left {
        display: none;
    }

    /* Opened panel floats fixed under the fixed toggle (same viewport-pinned
       approach, same reason: .side_bar is too short for position:sticky to
       work) instead of pushing .page's content down in normal flow — and
       scrolls its own nav list internally instead of scrolling away with
       the page. toggle bottom = 104px top + ~50px own height. */
    .guide-sidebar.is-open #column_left {
        display: block;
        position: fixed;
        top: 154px;
        left: 0;
        right: 0;
        z-index: 999;
        max-height: calc(100vh - 154px - 16px);
        overflow-y: auto;
        overscroll-behavior: contain;
        border-radius: 0;
    }

    /* Without this, touch/wheel scroll over the fixed panel above still
       scrolls .page underneath it instead (the panel has its own
       overflow-y, but nothing stops the page itself from also being
       scrollable at the same time) — lock the page while it's open so all
       scroll input has to go to the panel. */
    body:has(.guide-sidebar.is-open) {
        overflow: hidden;
    }
}

@media (max-width: 575.98px) {
    .side-title {
        font-size: 1.5rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .guide-toggle .guide-caret {
        transition: none;
    }
}


/* ==========================================================================
   12. Breadcrumbs on mobile
   Component: resources/views/sites/pt/components/breadcrumbs.blade.php
   all.css hides .page_identifier below 768px (display:none) site-wide,
   including this component — so breadcrumbs never showed on mobile. Added
   the "breadcrumbs" class on that component so this override only targets
   the real breadcrumb trail, not the unrelated become-partner page's
   .page_identifier section (its own content is already d-none on mobile).
   ========================================================================== */

@media (max-width: 768px) {
    .page_identifier.breadcrumbs {
        display: block;
        padding: 10px 16px;
        font-size: 0.9rem;
    }
}

@media (max-width: 575.98px) {
    .page_identifier.breadcrumbs {
        font-size: 0.8rem;
    }
    .page_identifier.breadcrumbs img {
        width: 20px;
    }
}


/* ==========================================================================
   13. Blog/News/Economy-report/TV page header: underline instead of pill
   Markup: resources/views/sites/pt/content/sections/{blog-turkey,news,
   turkey-economy-property-reports}.blade.php — ".blog .header span" wraps
   the highlighted word from the pt-blog/pt-news/pt-economy-report strings.
   resources/views/shared/videos/partials/library.blade.php — ".tv_header
   strong span" wraps the highlighted word from the pt-tv string.
   ========================================================================== */

.blog .header span,
.tv_header strong span {
    background: none;
    padding: 0;
    border-radius: 0;
    color: var(--rs-brand-text);
    text-decoration-line: underline;
    text-decoration-color: var(--rs-brand);
    text-decoration-thickness: 3px;
    text-underline-offset: 4px;
}

/* Legacy antenna-dash decoration (two rotated bars above the span) */
.tv_header strong span::before,
.tv_header strong span::after {
    content: none;
}

.page_content {
    margin-top: 15px;
}


/* ==========================================================================
   14. Hero carousel loading skeleton
   Markup: resources/views/sites/pt/home.blade.php — ".hero .tab-content
   .tab-pane .image" is the per-tab wrapper around each hero area (the
   "browse" tab's one holds the carousel via partials/hero-banners; the
   city tabs each hold their own single background image). It reserves the
   full 60vh/34vh height of ".hero" before any slide's own CSS/photo has
   loaded, and currently has no background of its own (all.css only sets
   its background-size/position, not a colour or image), so ".hero"'s own
   plain white shows through — on a slow connection that reads as a blank/
   broken page rather than "still loading". Deliberately scoped to this
   exact selector (not the bare ".hero", which many unrelated landing pages
   also use for their own single, fully-loaded hero photos).
   A shimmer sheen here instead shows immediately (this stylesheet loads
   with the rest of the page, well before hero_banners/*.css + the hero
   photos), and needs no JS: the moment the first slide's own opaque
   background paints on top of it (almost immediately - see
   hero_banners/banner13.css), it's covered for good. Only the first-load
   gap matters; once the carousel is up, switching between slides already
   handles itself.
   ========================================================================== */

.hero .tab-content .tab-pane .image {
    /* layer 1: the moving sheen. layer 2: a dark scrim, flattening the photo so the sheen
       reads clearly against it regardless of the photo's own colours. layer 3: the site's
       default brand photo (also the SEO og:image fallback - see components/seo-meta.blade.php)
       as the placeholder picture, so the gap reads as "loading" rather than blank. */
    background-color: var(--rs-border-strong);
    background-image:
        linear-gradient(100deg, rgba(255, 255, 255, 0) 35%, rgba(255, 255, 255, .85) 50%, rgba(255, 255, 255, 0) 65%),
        linear-gradient(rgba(0, 0, 0, .5), rgba(0, 0, 0, .5)),
        url(../../img/site_photo.webp);
    background-size: 200% 100%, cover, cover;
    background-position: 0 0, center, center;
    background-repeat: no-repeat, no-repeat, no-repeat;
    animation: hero-skeleton-sheen 1.8s ease-in-out infinite;
}

@keyframes hero-skeleton-sheen {
    0%   { background-position: 160% 0, center, center; }
    100% { background-position: -60% 0, center, center; }
}

/* ---------- Property gallery: no broken/stacked images before Slider Pro initialises ----------
   all.js / sliderpro.js are deferred, so until the slider script runs the raw <img>s would
   stack full size. Reserve the slider's final height (500px, 200px under 800px, same as the
   sliderPro() options in properties/show.blade.php), show a skeleton, and keep the raw slides
   and thumbnails hidden. Slider Pro adds .sp-horizontal on init, which lifts all of this. */
#my-slider:not(.sp-horizontal):not(.sp-vertical) {
    height: 500px;
    overflow: hidden;
    background-color: var(--rs-border-strong);
    background-image: linear-gradient(100deg, rgba(255, 255, 255, 0) 35%, rgba(255, 255, 255, .6) 50%, rgba(255, 255, 255, 0) 65%);
    background-size: 200% 100%;
    background-repeat: no-repeat;
    animation: hero-skeleton-sheen 1.8s ease-in-out infinite;
}

#my-slider:not(.sp-horizontal):not(.sp-vertical) .sp-slides,
#my-slider:not(.sp-horizontal):not(.sp-vertical) .sp-thumbnails,
#my-slider:not(.sp-horizontal):not(.sp-vertical) .imagesCounter {
    visibility: hidden;
}

@media (max-width: 800px) {
    #my-slider:not(.sp-horizontal):not(.sp-vertical) {
        height: 200px;
    }
}

@media (prefers-reduced-motion: reduce) {
    #my-slider:not(.sp-horizontal):not(.sp-vertical) {
        animation: none;
    }
}
