/* Owned functional behavior without the received ThemeREX JavaScript. */
.xph-trx-free img{max-width:100%;height:auto}.xph-trx-free .screen-reader-text:not(:focus){position:absolute;clip:rect(0,0,0,0);height:1px;width:1px;overflow:hidden}
.xph-trx-free .xph-trx-links{list-style:none;padding:0;margin:0;display:flex;flex-wrap:wrap;gap:1em}.xph-trx-free .sc_layouts_menu_nav{display:flex;align-items:center;flex-wrap:wrap;list-style:none;gap:1.5em;margin:0;padding:0}
.xph-trx-free .sc_layouts_menu_nav>li{position:relative}.xph-trx-free .sc_layouts_menu_nav .sub-menu{display:none;position:absolute;z-index:20;min-width:14em;padding:1em;list-style:none;background:var(--theme-color-bg_color,#fff)}
.xph-trx-free .sc_layouts_menu_nav li:focus-within>.sub-menu,.xph-trx-free .sc_layouts_menu_nav li:hover>.sub-menu{display:block}.xph-trx-free .sc_layouts_menu_nav .sub-menu .sub-menu{left:100%;top:0}
.xph-trx-free .xph-trx-panel{position:relative}.xph-trx-free .xph-trx-panel>summary{cursor:pointer;list-style:none;font-size:1.6em}.xph-trx-free .xph-trx-panel[open]>.sc_layouts_panel_inner{position:absolute;z-index:50;right:0;width:min(388px,90vw);padding:1.5em;background:var(--theme-color-bg_color,#fff);box-shadow:0 8px 32px #0003}
.xph-trx-free .xph-trx-video{display:block;width:100%;aspect-ratio:16/9;border:0}.xph-trx-free .sc_layouts_logo img{width:auto;max-height:80px}.xph-trx-free .sc_layouts_item_details_line2{display:block}
@media(max-width:767px){.xph-trx-free .content_wrap{max-width:100%;width:auto}.xph-trx-free .sc_layouts_menu_nav{gap:.75em}.xph-trx-free .sc_layouts_menu_nav .sub-menu{max-width:90vw}.xph-trx-free :is(h1,h2,h3,h4){overflow-wrap:anywhere}}

.xph-trx-free .xph-trx-icon-grid{display:grid;grid-template-columns:repeat(var(--xph-trx-columns,3),minmax(0,1fr));gap:1.5em}.xph-trx-free .sc_icons_item>a{display:block}.xph-trx-free .sc_icons_item_description{overflow-wrap:anywhere}@media(max-width:767px){.xph-trx-free .xph-trx-icon-grid{grid-template-columns:1fr}}

/* Preserve saved ThemeREX column alignment with native Elementor wrappers. */
.xph-trx-free .sc_layouts_column_align_left>.elementor-widget-wrap{justify-content:flex-start;text-align:left}.xph-trx-free .sc_layouts_column_align_center>.elementor-widget-wrap{justify-content:center;text-align:center}.xph-trx-free .sc_layouts_column_align_right>.elementor-widget-wrap{justify-content:flex-end;text-align:right}.xph-trx-free .sc_layouts_column>.elementor-widget-wrap>.elementor-widget{width:auto;max-width:100%}

/* Cars retain their native IDs, prices and detail links without a premium CPT. */
.xph-trx-free .xph-trx-cars-grid{display:grid;grid-template-columns:repeat(var(--xph-car-columns,3),minmax(0,1fr));gap:30px}.xph-trx-free .xph-trx-cars-slider{display:flex;gap:30px;overflow-x:auto;scroll-snap-type:x mandatory}.xph-trx-free .xph-trx-cars-slider>.sc_cars_item{flex:0 0 calc((100% - 60px)/3);scroll-snap-align:start}.xph-trx-free .sc_cars_item> a{display:block}.xph-trx-free .sc_cars_item img{display:block;width:100%;aspect-ratio:4/3;object-fit:cover}.xph-trx-free .sc_cars_item_info{padding:1.2em}.xph-trx-free .sc_cars_item_price{font-weight:700}.xph-trx-free .xph-trx-car-gallery{display:flex;gap:1em;overflow-x:auto;scroll-snap-type:x mandatory}.xph-trx-free .xph-trx-car-gallery>a,.xph-trx-free .xph-trx-car-gallery>img{flex:0 0 min(85%,760px);scroll-snap-align:start}.xph-trx-free .xph-trx-car-gallery img{display:block;width:100%;height:auto}.xph-trx-free .xph-trx-car-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1em}.xph-trx-free .xph-trx-car-fields dt{font-weight:700}.xph-trx-free .xph-trx-car-fields dd{margin:0}.xph-trx-free .xph-trx-car-agent a{display:block}@media(max-width:767px){.xph-trx-free .xph-trx-cars-grid,.xph-trx-free .xph-trx-car-fields{grid-template-columns:1fr}.xph-trx-free .xph-trx-cars-slider>.sc_cars_item{flex-basis:90%}}
