/*
Theme Name: LUXOR Automobili
Author: ALCATRAZ d.o.o.
Description: Brza samostalna WordPress tema za AutoLuxor Vehicles.
Version: 1.0.25
Requires PHP: 7.4
Text Domain: luxor-automobili
*/
:root{--red:#c40012;--dark:#121619;--muted:#606872}*{box-sizing:border-box}body{margin:0;color:#171a1e;background:#fff;font:16px/1.55 system-ui,-apple-system,'Segoe UI',sans-serif}a{color:inherit;text-decoration:none}a:hover{color:var(--red)}img{max-width:100%;height:auto}.container{width:min(1200px,calc(100% - 40px));margin-inline:auto}.topbar{background:#0e1215;color:#ddd;font-size:13px}.topinner{display:flex;justify-content:space-between;gap:20px;padding:9px 0}.contactline{display:flex;gap:25px}.site-header{background:#181c20;color:white;position:relative;z-index:5}.navinner{display:flex;align-items:center;justify-content:space-between;gap:30px}.brand img{height:auto}.brand-text{font-size:28px;font-weight:900;color:white;letter-spacing:1px}.brand-text small{display:block;font-size:10px;text-align:center;letter-spacing:3px}.site-nav ul{display:flex;list-style:none;gap:30px;margin:0;padding:0}.site-nav a{font-size:14px;font-weight:650}.site-header .site-nav .current-menu-item>a{border-bottom:3px solid var(--red);padding-bottom:12px}.menu-toggle{display:none;background:none;border:1px solid #777;border-radius:5px;color:white;font-size:24px;padding:4px 12px}.hero{height:430px;position:relative;background:#242a30;color:white}.slides,.slide{position:absolute;inset:0}.slide{display:none;background-size:cover;background-position:center}.slide.active{display:flex;align-items:center}.slide-fallback{background:linear-gradient(115deg,#13191e,#393f47)}.hero-content{padding:30px 45px}.hero h1{font-size:clamp(36px,5vw,62px);line-height:1.1;max-width:700px;margin:0 0 15px}.hero p{font-size:19px;margin:0 0 27px}.btn{display:inline-block;background:var(--red);color:white;border-radius:7px;padding:13px 24px;font-weight:700}.btn:hover{background:#a3000d;color:white}.slide-prev,.slide-next{position:absolute;top:50%;transform:translateY(-50%);background:#0008;color:white;border:0;border-radius:50%;font-size:38px;width:44px;height:44px;cursor:pointer}.slide-prev{left:15px}.slide-next{right:15px}.slide-dots{position:absolute;bottom:20px;left:50%;transform:translateX(-50%);display:flex;gap:8px}.slide-dots button{width:10px;height:10px;border:0;border-radius:50%;background:#ddd;cursor:pointer}.slide-dots button.active{background:var(--red)}.home-catalog{padding:55px 0 70px}.home-catalog>h2{font-size:32px;margin:0 0 20px}.home-catalog .alx-hero{display:none}.home-catalog .alx-wrap{max-width:none}.about{background:#f2f3f5;padding:65px 0}.about-inner{display:flex;align-items:center;justify-content:space-between;gap:35px}.about h2{font-size:32px;max-width:600px;line-height:1.2;margin:8px 0}.about p{max-width:650px}.eyebrow{color:var(--red);font-weight:800;letter-spacing:2px;font-size:12px}.content-area{padding:55px 0;min-height:45vh}.site-footer{background:#181d22;color:#e8eaec}.footer-grid{display:grid;grid-template-columns:1.3fr 1fr 1fr 1fr;gap:45px;padding:55px 0}.footer-grid h3{font-size:17px;margin:0 0 20px}.footer-grid p{color:#c1c5c9;font-size:14px}.footer-grid ul{list-style:none;margin:0;padding:0}.footer-grid li{margin:8px 0;font-size:14px}.copyright{background:#0d1013;color:#aaa;font-size:13px;padding:17px 0}.screen-reader-text{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}@media(max-width:850px){.menu-toggle{display:block}.site-nav{display:none;position:absolute;top:100%;left:0;right:0;background:#181c20;padding:20px}.site-nav.open{display:block}.site-nav ul{flex-direction:column;gap:17px}.topinner{flex-wrap:wrap}.footer-grid{grid-template-columns:repeat(2,1fr)}.hero{height:390px}.hero-content{padding:25px 20px}}@media(max-width:550px){.container{width:min(100% - 28px,1200px)}.topinner{font-size:12px}.contactline{flex-wrap:wrap;gap:8px}.hero{height:350px}.hero h1{font-size:34px}.hero p{font-size:15px}.footer-grid{grid-template-columns:1fr;gap:20px}.about-inner{display:block}.home-catalog{padding:35px 0}.home-catalog>h2{font-size:25px}}

/* LUXOR Slider responsive media */
.slide-media{position:absolute;inset:0;display:block;width:100%;height:100%;z-index:0}
.slide-media img{width:100%;height:100%;display:block;object-fit:cover;object-position:center}
.slide-media:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(0,0,0,.72),rgba(0,0,0,.06));pointer-events:none}
.slide .hero-content{position:relative;z-index:1}
@media(max-width:767px){.slide-media:after{background:linear-gradient(180deg,rgba(0,0,0,.58),rgba(0,0,0,.04) 75%)}.slide-media img{object-position:center}.hero{height:480px}.hero-content{align-self:flex-start;padding-top:55px}}

/* Footer block editor output */
.footer-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:32px}
.footer-block{min-width:0;overflow-wrap:anywhere}

.footer-block-content p{margin:0 0 12px}
.footer-block-content a{color:#e8eaec;text-decoration:none}
.footer-block-content a:hover{color:#fff;text-decoration:underline}
.footer-block-content img{max-width:100%;height:auto}
.footer-block-content ul,.footer-block-content ol{padding-left:18px;margin:0 0 14px}
.footer-block-content li{margin:6px 0}
@media(max-width:850px){.footer-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:550px){.footer-grid{grid-template-columns:1fr}}

/* Footer headings aligned across all four columns. */
.footer-grid{align-items:start}

.footer-block 

/* v1.0.5: Four equal, independent footer columns. */
.site-footer .footer-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));column-gap:clamp(16px,2.5vw,32px);row-gap:32px;align-items:start}
.site-footer .footer-block{box-sizing:border-box;min-width:0;max-width:100%;width:100%;overflow-wrap:anywhere;word-wrap:break-word}
.site-footer .footer-block h3{margin:0 0 20px;min-width:0;overflow-wrap:anywhere}
.site-footer .footer-block-content{min-width:0;max-width:100%;overflow-wrap:anywhere;word-break:normal}
.site-footer .footer-block-content *{max-width:100%;box-sizing:border-box}
.site-footer .footer-block-content a{overflow-wrap:anywhere;word-break:break-word}
.site-footer .footer-block-content img,.site-footer .footer-block-content video,.site-footer .footer-block-content iframe{max-width:100%;height:auto}
.site-footer .footer-block-content pre{white-space:pre-wrap;overflow-wrap:anywhere}
.site-footer .footer-block-content table{display:block;max-width:100%;overflow-x:auto}
.site-footer .footer-block-content ul,.site-footer .footer-block-content ol{padding-left:18px}
@media(max-width:850px){.site-footer .footer-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:550px){.site-footer .footer-grid{grid-template-columns:minmax(0,1fr)}}

/* v1.0.6: Active-menu underline is exclusive to the header navigation. */
.site-footer .current-menu-item > a,.site-footer .current_page_item > a,.site-footer .current-menu-ancestor > a{border-bottom:0;text-decoration:none;padding-bottom:0}
.site-footer .footer-block-content a::before,.site-footer .footer-block-content a::after{border-bottom:0}

/* v1.0.7: Footer links never inherit active navigation underlines. */
.site-footer .footer-block-content a,
.site-footer .footer-block-content a:link,
.site-footer .footer-block-content a:visited,
.site-footer .footer-block-content a:hover,
.site-footer .footer-block-content a:focus,
.site-footer .footer-block-content a:active,
.site-footer .footer-block-content .current-menu-item > a,
.site-footer .footer-block-content .current_page_item > a,
.site-footer .footer-block-content .current-menu-ancestor > a,
.site-footer .footer-block-content .current_page_ancestor > a {
  border-bottom: 0 !important;
  border-image: none !important;
  box-shadow: none !important;
  text-decoration: none !important;
  background-image: none !important;
}
.site-footer .footer-block-content a::before,
.site-footer .footer-block-content a::after,
.site-footer .footer-block-content .current-menu-item::before,
.site-footer .footer-block-content .current-menu-item::after {
  content: none !important;
  display: none !important;
  border: 0 !important;
  box-shadow: none !important;
}

/* v1.0.11: rich content remains contained and responsive. */
.about-main{min-width:0;flex:1}.about-rich-content{overflow-wrap:anywhere;max-width:100%;margin-top:18px}.about-rich-content img,.about-rich-content iframe{max-width:100%;height:auto}.about-rich-content table{display:block;max-width:100%;overflow-x:auto}.about-rich-content a{text-decoration:underline}.about-rich-content p{max-width:none}.about-inner>.btn{flex-shrink:0}@media(max-width:850px){.about-inner{flex-wrap:wrap}}

/* v1.0.12: homepage text and rich HTML span the entire content width. */
.about-inner{display:block;width:100%}
.about-main{width:100%;max-width:none;min-width:0}
.about-main h2,.about-main p{max-width:none}
.about-rich-content{width:100%;max-width:none}

/* v1.0.13: Align introductory heading and copy with the rich HTML column. */
.about .about-inner{width:min(1200px,calc(100% - 40px));margin-inline:auto;display:block}
.about .about-main{width:100%;max-width:1100px;margin-inline:auto;min-width:0}
.about .about-main>.eyebrow,.about .about-main>h2,.about .about-main>p{max-width:100%}
.about .about-rich-content{width:100%;max-width:100%}
@media(max-width:550px){.about .about-inner{width:calc(100% - 28px)}}

/* Logo and header sizing are controlled by Customizer inline CSS.
   No fixed minimum height or competing padding rules. */
.site-header .brand{display:flex;align-items:center;flex:0 0 auto;min-width:0}
.site-header .brand .custom-logo-link{display:inline-flex;align-items:center;line-height:0}
.site-header .brand .custom-logo{display:block;height:auto;object-fit:contain}
.hero{clear:both}

/* v1.0.23: true crossfade; both slides remain rendered during transition. */
.hero .slide{display:flex;align-items:center;opacity:0;visibility:visible;pointer-events:none;z-index:0;transition:opacity var(--luxor-fade-duration,900ms) ease-in-out}
.hero .slide.active{opacity:1;pointer-events:auto;z-index:1}
.hero .slide-prev,.hero .slide-next,.hero .slide-dots{z-index:3}
@media(prefers-reduced-motion:reduce){.hero .slide{transition:none}}
