/* Detail auta (šablona projektu) */

/* hero */
.zp-proj-hero{min-height:440px;display:flex;align-items:flex-end}
.zp-proj-hero>.et_pb_row{width:90%}
.zp-proj__cat .et_pb_text_inner{display:inline-block;background:var(--zp-red);color:#fff;font-size:12px;font-weight:800;letter-spacing:1.5px;text-transform:uppercase;padding:6px 14px;border-radius:30px;margin-bottom:18px}
.zp-proj__title{margin-bottom:16px!important;max-width:900px!important}
.zp-proj-price .et_pb_text_inner{display:inline-flex;align-items:baseline;gap:10px;color:#fff;font-size:34px;font-weight:800;margin-bottom:26px}
.zp-proj-price .et_pb_text_inner::before{content:"Cena";font-size:14px;font-weight:600;letter-spacing:1px;text-transform:uppercase;color:rgba(255,255,255,.6)}
.zp-proj-price .et_pb_text_inner:empty{display:none}

/* obsah z příspěvku */
.zp-proj-content .et_pb_section{padding:0!important;background:transparent!important}
.zp-proj-content .et_pb_row{width:100%!important;max-width:none!important;padding:0!important}
.zp-proj-content .et_pb_row:has(.et_pb_gallery){display:flex!important;gap:56px;align-items:flex-start}
.zp-proj-content .et_pb_row:has(.et_pb_gallery)>.et_pb_column{margin:0!important}
.zp-proj-content .et_pb_row:has(.et_pb_gallery)>.et_pb_column:not(:has(.et_pb_gallery)){flex:0 0 42%;width:42%!important;position:sticky;top:110px}
.zp-proj-content .et_pb_row:has(.et_pb_gallery)>.et_pb_column:has(.et_pb_gallery){flex:1 1 0;width:auto!important}
.zp-proj-content .et_pb_text_inner>h2:first-child{display:none}
.zp-proj-content .et_pb_text{font-size:16px;line-height:1.8;color:#4D4D4D}
.zp-proj-content .et_pb_text h3{font-size:20px;font-weight:800;color:#1A1A1A;padding:18px 0 10px}
.zp-proj-content .et_pb_text ul{list-style:none!important;padding:0!important;margin:0 0 18px}
.zp-proj-content .et_pb_text ul li{position:relative;padding:0 0 6px 20px!important}
.zp-proj-content .et_pb_text ul li::before{content:"";position:absolute;left:0;top:.72em;width:7px;height:7px;border-radius:50%;background:var(--zp-red)}
.zp-proj-content .et_pb_text strong{color:#1A1A1A}

/* tabulka parametrů (vytváří cars.js z řádků „Popisek: hodnota") */
.zp-specs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1px;background:#ececec;border:1px solid #ececec;border-radius:14px;overflow:hidden;margin:0 0 26px}
.zp-specs div{background:#fff;padding:14px 18px;transition:background .25s}
.zp-specs div:hover{background:#fff6f6}
.zp-specs div:last-child:nth-child(odd){grid-column:1/-1}
.zp-specs dt{font-size:12px;font-weight:700;letter-spacing:.8px;text-transform:uppercase;color:#8a8a8a;margin-bottom:3px}
.zp-specs dd{margin:0;font-size:16px;font-weight:700;color:#1A1A1A;line-height:1.4}

/* galerie auta */
.zp-proj-content .et_pb_gallery_items.et_post_gallery{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:14px!important}
.zp-proj-content .et_pb_gallery_item{width:auto!important;margin:0!important;clear:none!important;border-radius:12px;overflow:hidden}
.zp-proj-content .et_pb_gallery_item:first-child{grid-column:1/-1}
.zp-proj-content .et_pb_gallery_image img{width:100%;aspect-ratio:4/3;object-fit:cover;transition:transform .8s var(--zp-ease)}
.zp-proj-content .et_pb_gallery_item:first-child img{aspect-ratio:16/10}
.zp-proj-content .et_pb_gallery_item:hover img{transform:scale(1.06)}
.zp-proj-content .et_overlay{background:rgba(228,10,19,.3)!important;border:0!important}
.zp-proj-content .et_overlay::before{color:#fff!important}
.zp-proj-content .et_pb_gallery_pagination{display:none}

/* výzva */
.zp-proj-cta{align-items:center!important}
.zp-proj-cta__btns{display:flex;flex-direction:column;gap:12px}
.zp-proj-cta__btns .et_pb_button_module_wrapper{margin:0!important}
.zp-block-btn{display:block!important;width:100%;text-align:center}
.zp-proj-cta__more{text-align:center;margin-top:4px!important}

@media (max-width:980px){
	.zp-proj-hero{min-height:360px}
	.zp-proj-content .et_pb_row:has(.et_pb_gallery){flex-direction:column;gap:36px}
	.zp-proj-content .et_pb_row:has(.et_pb_gallery)>.et_pb_column{flex:1 1 auto!important;width:100%!important;position:static}
	.zp-proj-cta>.et_pb_column{flex:1 1 100%!important;width:100%!important}
	.zp-proj-cta__btns{margin-top:20px!important}
}
@media (max-width:600px){
	.zp-specs{grid-template-columns:1fr}
	.zp-proj-price .et_pb_text_inner{font-size:28px}
	.zp-proj-content .et_pb_gallery_items.et_post_gallery{gap:8px!important}
}

/* výzva = jeden rámeček přes celý řádek */
.zp-note.zp-proj-cta{background:linear-gradient(135deg,#fff 0%,#fff6f6 100%);border:1px solid #f4dede;border-radius:18px;padding:44px 52px!important;position:relative;overflow:hidden;column-gap:48px}
.zp-note.zp-proj-cta::before{content:"";position:absolute;left:0;top:0;bottom:0;width:5px;background:var(--zp-red)}
.zp-note.zp-proj-cta>.et_pb_column{background:none!important;border:0!important;padding:0!important;border-radius:0}
.zp-note.zp-proj-cta>.et_pb_column::before{content:none}
@media (max-width:980px){.zp-note.zp-proj-cta{padding:32px 26px!important}}
@media (max-width:980px){
	.zp-proj-content .et_pb_row:has(.et_pb_gallery)>.et_pb_column:not(:has(.et_pb_gallery)),
	.zp-proj-content .et_pb_row:has(.et_pb_gallery)>.et_pb_column:has(.et_pb_gallery){flex:1 1 auto!important;width:100%!important;position:static}
}
