/* Car Syria home: the attached desktop design translated to responsive, real-data layout. */
.home-redesign{overflow-x:hidden;background:#f5f9fe;color:#0a2145}
.home-redesign .container-shell{max-width:1450px}
.home-header{position:absolute;z-index:60;top:12px;right:0;left:0;margin:auto;width:min(1320px,calc(100% - 40px));background:rgba(255,255,255,.97);border:1px solid rgba(219,230,245,.8);border-radius:18px;box-shadow:0 16px 44px rgba(7,30,73,.14);backdrop-filter:blur(16px)}
.home-header-inner{min-height:68px;display:flex;align-items:center;gap:26px;padding:8px 22px 8px 74px}
.home-brand{display:flex;align-items:center;gap:9px;flex:none;text-decoration:none}
.home-brand img{width:43px;height:43px;object-fit:contain;border-radius:8px}
.home-brand .carsyria-brand-text{display:flex;flex-direction:column;align-items:flex-start;line-height:1.05;color:#071f46}
.home-brand strong{font-size:19px;font-weight:900!important}
.home-brand small{font-size:10px;font-weight:700;color:#60758f}
.home-nav{display:flex;align-items:center;gap:5px;margin-inline:auto}
.home-nav a{display:inline-flex;align-items:center;padding:11px 15px;color:#18375e;text-decoration:none;font-size:14px;border-radius:12px;white-space:nowrap}
.home-nav a:hover,.home-nav a.active{background:#edf4ff;color:#0758ee}
.home-nav a.active{position:relative}
.home-nav a.active:after{content:"";position:absolute;bottom:5px;right:26%;left:26%;height:2px;border-radius:9px;background:#0758ee}
.home-header-actions{display:flex;align-items:center;gap:10px;direction:ltr}
.home-header-actions a{direction:rtl;text-decoration:none;white-space:nowrap}
.home-header-cta,.home-hero-search{background:#0758f8;color:white!important;border-radius:12px;padding:11px 20px;box-shadow:0 8px 20px rgba(5,84,244,.2)}
.home-login{padding:9px 11px;color:#1c385d;border:1px solid #e3eaf4;border-radius:12px}
.home-menu-toggle{display:none;border:1px solid #dce6f2;background:white;color:#163562;border-radius:11px;font-size:23px;width:42px;height:42px}
.home-hero{position:relative;min-height:440px;background:#092e63 url('/home-hero-2026.webp') center 70% / cover no-repeat;isolation:isolate;color:#fff}
.home-hero:before{content:"";position:absolute;z-index:-1;inset:0;background:linear-gradient(270deg,rgba(2,32,84,.92) 0%,rgba(2,43,103,.79) 31%,rgba(3,39,86,.2) 61%,rgba(0,12,37,.08) 100%)}
.home-hero-content{width:min(1450px,calc(100% - 72px));margin:auto;text-align:right;padding-top:130px}
.home-hero h1{color:white;font-size:clamp(34px,3.45vw,57px)!important;line-height:1.28;font-weight:900;max-width:760px;margin:0 0 8px}
.home-hero p{font-size:clamp(14px,1.18vw,19px);line-height:1.8;max-width:730px;color:#ecf4ff;margin:0}
.home-hero-actions{display:flex;gap:14px;margin-top:18px}
.home-hero-actions a{display:inline-flex;align-items:center;justify-content:center;gap:12px;text-decoration:none;font-size:14px;font-weight:800;min-height:43px}
.home-hero-sell{color:#fff;border:1px solid rgba(255,255,255,.78);background:rgba(255,255,255,.08);padding:9px 24px;border-radius:13px}
.home-search-card{position:absolute;z-index:3;bottom:-38px;right:50%;transform:translateX(50%);width:min(1210px,calc(100% - 44px));display:grid;grid-template-columns:repeat(4,minmax(0,1fr)) 145px;align-items:center;gap:12px;padding:14px 16px;border-radius:18px;background:#fff;box-shadow:0 17px 47px rgba(12,37,75,.16);color:#102d53}
.home-field{display:flex;flex-direction:column;gap:5px;min-width:0;font-size:12px;font-weight:800;color:#233e64}
.home-field select,.home-field input{display:block;width:100%;height:43px;padding:0 12px;border:1px solid #dfE7f2;border-radius:11px;background:#fff;color:#283f60;outline:none;font-size:13px;box-sizing:border-box;min-width:0}
.home-field select:focus,.home-field input:focus{border-color:#0758f8;box-shadow:0 0 0 3px #0758f822}
.home-field input::placeholder{color:#8a9bb0}
.home-search-actions{display:flex;flex-direction:column;align-items:stretch;gap:6px;align-self:end}
.home-search-actions button{border:0;height:43px;border-radius:11px;background:#0758f8;color:#fff;font-weight:800;cursor:pointer}
.home-search-actions a{text-align:center;text-decoration:none;font-size:11px;color:#0758f8}
.home-redesign main{display:flex;flex-direction:column;padding-top:49px}
.home-redesign main>section{order:8}
.home-redesign main>section:first-child{order:3}
.home-redesign #brands-section{order:0;padding-top:36px;padding-bottom:16px}
.home-redesign #featured-section{order:1;background:transparent;border:0;padding-top:8px;padding-bottom:10px}
.home-redesign #cars-section{order:2;padding-top:12px;padding-bottom:10px}
.home-redesign #dealers-section{order:4;padding-top:10px}
.home-redesign #articles-section{order:5}
.home-redesign #how-it-works{order:6}
.home-redesign #sell-section{order:7}
.home-redesign #brands-section>.grid{display:block}
.home-redesign #brands-section>.grid>div:nth-child(2){display:none}
.home-redesign #brands-section .mb-6+div>.grid{display:grid!important;grid-template-columns:repeat(11,minmax(0,1fr))!important;gap:8px!important}
.home-redesign #brands-section .mb-6+div>.grid>a:nth-child(12){display:none}
@media(max-width:1190px){.home-redesign #brands-section .mb-6+div>.grid{grid-template-columns:repeat(6,minmax(0,1fr))!important}.home-redesign #brands-section .mb-6+div>.grid>a:nth-child(12){display:flex}}
@media(max-width:760px){.home-redesign #brands-section .mb-6+div>.grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}}
@media(max-width:520px){.home-redesign #brands-section .mb-6+div>.grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
.home-redesign #brands-section .mb-6{display:flex;align-items:center;justify-content:space-between;margin-bottom:15px}
.home-redesign #brands-section h2:before{content:"";display:inline-block;width:8px;height:18px;border-radius:5px;background:#0758f8;margin-left:8px;vertical-align:-3px}
.home-redesign #featured-section h2:before{content:"";display:inline-block;width:11px;height:11px;border:2px solid #0758f8;border-radius:50%;margin-left:8px;vertical-align:0px}
.home-redesign #brands-section h2,.home-redesign #featured-section h2,.home-redesign #cars-section h2,.home-redesign #dealers-section h2{font-size:21px!important}
.home-redesign #brands-section p,.home-redesign #featured-section p,.home-redesign #cars-section .mb-6 p{font-size:12px}
.home-redesign #brands-section .grid a{border-radius:13px!important;padding:12px!important;min-height:94px}
.home-redesign #brands-section .grid a img{max-height:48px}
.home-redesign #featured-section .container-shell>.grid,.home-redesign #cars-section>.grid,.home-redesign #dealers-section .container-shell>.grid{grid-template-columns:repeat(auto-fit,minmax(235px,1fr))}
.home-redesign .carsyria-car-card{border-radius:16px}
.home-redesign .carsyria-listing-media{aspect-ratio:16/10}
.home-redesign #featured-section .rounded-3xl,.home-redesign #cars-section .rounded-3xl,.home-redesign #dealers-section .rounded-3xl{border-style:solid;background:white;box-shadow:0 8px 26px rgba(7,35,70,.04)}
.home-redesign #carsyria-theme-toggle{top:23px!important;left:max(22px,calc((100vw - 1320px)/2 + 16px))!important;width:42px;height:42px;border-radius:13px;box-shadow:0 2px 12px rgba(0,0,0,.09)}
html.dark .home-redesign{background:#071321;color:#eef5ff}
html.dark .home-redesign .home-header{background:rgba(8,24,47,.97)!important;border-color:#284461}
html.dark .home-redesign .home-nav a,html.dark .home-redesign .home-login{color:#eef5ff}
html.dark .home-redesign .home-search-card{background:#0d1d31;color:#eef5ff}
html.dark .home-redesign .home-field{color:#d6e6fb}
html.dark .home-redesign .home-field input,html.dark .home-redesign .home-field select{background:#142740;color:#fff;border-color:#33506c}
html.dark .home-redesign #featured-section{background:transparent!important}
@media(max-width:1100px){.home-header{width:calc(100% - 32px)}.home-header-inner{gap:12px;padding:8px 14px 8px 68px}.home-nav a{padding:9px;font-size:12px}.home-brand strong{font-size:16px}.home-header-cta{padding:10px}.home-hero-content{width:calc(100% - 48px)}}
@media(max-width:760px){.home-header{top:10px}.home-header-inner{min-height:56px;padding:8px 14px}.home-brand img{width:34px;height:34px}.home-brand strong{font-size:16px}.home-brand small{font-size:9px}.home-nav,.home-header-actions{display:none}.home-menu-toggle{display:block;margin-right:auto}.home-hero{min-height:620px;background-position:27% center}.home-hero:before{background:linear-gradient(180deg,rgba(2,26,65,.75),rgba(3,31,74,.82) 46%,rgba(1,21,54,.34) 78%,rgba(1,20,51,.64))}.home-hero-content{padding-top:110px;text-align:right;width:calc(100% - 40px)}.home-hero h1{font-size:31px!important;max-width:500px}.home-hero p{font-size:13px;line-height:1.8}.desktop-break{display:none}.home-hero-actions{margin-top:16px}.home-hero-actions a{font-size:12px;min-height:40px;padding:7px 13px}.home-search-card{bottom:-125px;grid-template-columns:repeat(2,minmax(0,1fr)) 110px;gap:10px;width:calc(100% - 28px);padding:13px}.home-search-actions{grid-column:3;grid-row:1 / 3;align-self:stretch;justify-content:center}.home-search-actions button{height:70px}.home-field select,.home-field input{height:39px}.home-redesign main{padding-top:135px}.home-redesign #brands-section{padding-top:15px}.home-redesign #carsyria-theme-toggle{top:84px!important;left:16px!important}}
@media(max-width:520px){.home-search-card{bottom:-168px;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.home-search-actions{grid-column:1 / -1;grid-row:auto;display:flex;flex-direction:row;align-items:center}.home-search-actions button{height:42px;flex:1}.home-search-actions a{flex:1}.home-redesign main{padding-top:180px}.home-redesign #brands-section .grid{grid-template-columns:repeat(2,minmax(0,1fr))}.home-redesign #featured-section .container-shell>.grid,.home-redesign #cars-section>.grid{grid-template-columns:1fr}.home-redesign #brands-section h2,.home-redesign #featured-section h2{font-size:18px!important}}

/* Keep navigation and search SVG icons aligned with their labels. */
.home-header-cta,.home-login,.home-search-actions button{display:inline-flex;align-items:center;justify-content:center;gap:7px;white-space:nowrap}
.home-header-cta svg,.home-login svg,.home-search-actions button svg{flex:none;width:17px;height:17px}
.home-header-actions{flex:none}
