/*
Theme Name: Autoservis MAR
Template: blocksy
Version: 1.0.0
Description: Editorial child theme for Autoservis MAR.
*/

:root{--mar-ink:#182028;--mar-muted:#66717b;--mar-steel:#25313c;--mar-dark:#111820;--mar-paper:#f5f2e9;--mar-white:#fff;--mar-amber:#e7a62a;--mar-amber-soft:#f5c96a;--mar-line:rgba(24,32,40,.13);--mar-shadow:0 22px 60px rgba(17,24,32,.12)}
body{background:#fff;color:var(--mar-ink);font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;line-height:1.75}
h1,h2,h3,h4{color:var(--mar-ink);font-weight:800;letter-spacing:-.035em;line-height:1.12}
a{transition:color .2s ease,background .2s ease,transform .2s ease}
[data-header*="type-1"] .ct-header [data-row*="middle"]{background:rgba(255,255,255,.95);border-bottom:1px solid var(--mar-line);backdrop-filter:blur(14px)}
.site-title{font-weight:900;letter-spacing:-.045em}.site-description{font-size:12px}
.menu a{font-weight:700}.menu a:hover,.current-menu-item>a{color:#a86c00!important}
.wp-element-button,.ct-button{border-radius:8px!important;background:var(--mar-amber)!important;color:var(--mar-dark)!important;font-weight:800!important;box-shadow:0 10px 24px rgba(231,166,42,.22)}
.wp-element-button:hover,.ct-button:hover{background:var(--mar-amber-soft)!important;transform:translateY(-2px)}
.mar-hero{padding:clamp(78px,10vw,145px) 24px;background:radial-gradient(circle at 82% 18%,rgba(231,166,42,.24),transparent 25%),linear-gradient(145deg,var(--mar-dark),var(--mar-steel));color:#c9d0d6}
body.home .hero-section{display:none}
.mar-hero>.wp-block-group__inner-container{max-width:1080px}.mar-hero h1{max-width:900px;color:#fff;font-size:clamp(50px,7vw,86px)}.mar-hero .has-large-font-size{max-width:760px;color:#b8c1c8}.mar-kicker{margin-bottom:18px!important;color:#bd7b00;font-size:12px;font-weight:900;letter-spacing:.15em}.mar-hero .mar-kicker{color:var(--mar-amber-soft)}
.mar-values{margin-top:-45px!important;padding:0 24px;position:relative;z-index:2}.mar-values .wp-block-columns{gap:18px}.mar-values .wp-block-column{padding:30px;border:1px solid var(--mar-line);border-radius:16px;background:#fff;box-shadow:var(--mar-shadow)}.mar-values h3{font-size:20px}.mar-values p{margin-bottom:0;color:var(--mar-muted);font-size:14px}
.mar-latest{padding:100px 24px}.mar-latest>h2{margin-bottom:38px;font-size:clamp(38px,5vw,58px)}.mar-latest .wp-block-post-template{gap:28px}.mar-latest .wp-block-post{padding-bottom:22px;border:1px solid var(--mar-line);border-radius:18px;overflow:hidden;background:var(--mar-paper)}.mar-latest .wp-block-post-featured-image{margin:0 0 22px}.mar-latest .wp-block-post-featured-image img{width:100%;object-fit:cover}.mar-latest .wp-block-post-title,.mar-latest .wp-block-post-excerpt,.mar-latest .wp-block-post-terms{padding-inline:24px}.mar-latest .wp-block-post-title{margin-block:8px 13px}.mar-latest .wp-block-post-title a{color:var(--mar-ink)}.mar-latest .wp-block-post-title a:hover{color:#a86c00}.mar-latest .wp-block-post-terms{color:#a86c00;font-size:11px;font-weight:900;text-transform:uppercase;letter-spacing:.08em}.mar-latest .wp-block-post-excerpt{color:var(--mar-muted);font-size:14px}
.entry-header .page-title,.hero-section .page-title{font-weight:900}.entry-content{font-size:17px}.entry-content>p,.entry-content>ul,.entry-content>ol,.entry-content>blockquote,.entry-content>h2,.entry-content>h3{max-width:780px;margin-left:auto;margin-right:auto}.entry-content .article-lead{color:#47535e;font-size:21px;line-height:1.7}.entry-content h2{margin-top:2.1em;font-size:clamp(29px,4vw,40px)}.entry-content h3{margin-top:1.8em}.entry-content li{margin-bottom:.45em}.entry-content blockquote{padding:30px 34px;border:0;border-left:5px solid var(--mar-amber);border-radius:12px;background:var(--mar-paper);color:var(--mar-ink);font-size:21px;font-weight:700}.entry-content a:not(.wp-element-button){color:#9b6500;text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:3px}.entry-content a:not(.wp-element-button):hover{color:var(--mar-dark);background:#f7dc9e}
.hero-section[data-type="type-2"]{background:var(--mar-paper)}.ct-featured-image{border-radius:18px;overflow:hidden;box-shadow:var(--mar-shadow)}
.entries .entry-card{border:1px solid var(--mar-line);border-radius:18px;overflow:hidden;box-shadow:0 12px 34px rgba(17,24,32,.07)}
.mar-contact-card{max-width:780px;margin:35px auto;padding:32px;border-radius:16px;background:var(--mar-paper);border-left:5px solid var(--mar-amber)}
footer.ct-footer{background:var(--mar-dark);color:#aeb7bf}footer.ct-footer a{color:#d9dfe3}footer.ct-footer a:hover{color:var(--mar-amber-soft)}
@media(max-width:781px){.mar-hero{padding-block:75px}.mar-values{margin-top:0!important;padding-top:28px}.mar-latest{padding-block:72px}.mar-latest .wp-block-post-template{grid-template-columns:1fr!important}.entry-content{font-size:16px}.entry-content .article-lead{font-size:18px}}
