/* Customer Showcase — list + project detail styles. Loaded only on showcase pages. */

.showcase-hero{padding:var(--space-4) 0 var(--space-3);}

/* Star rating */
.stars{color:var(--star); letter-spacing:1px; font-size:.95rem;}
.stars .dim{color:rgba(38,35,31,.16);}

.sc-card .pcard-meta{justify-content:space-between;}

/* ── Project detail ─────────────────────────────────────────────────────── */
.project-layout{padding:var(--space-3) 0 var(--space-5);}
.project-header{margin-bottom:1.6rem;}
.project-header .pcard-cat{display:inline-block; margin-bottom:.5rem;}
.project-meta-row{display:flex; gap:1.4rem; flex-wrap:wrap; align-items:center; margin:.8rem 0 1.2rem; font-size:.86rem; color:var(--light);}

/* Swiper main gallery */
.sc-gallery{margin-bottom:2rem;}
.sc-swiper{border-radius:var(--radius-card); overflow:hidden; background:var(--card-2);}
.sc-swiper .swiper-slide{aspect-ratio:16/10; display:flex; align-items:center; justify-content:center; background:var(--card-2);}
.sc-swiper .swiper-slide img, .sc-swiper .swiper-slide video{width:100%; height:100%; object-fit:cover; cursor:zoom-in;}
.sc-swiper .swiper-button-next, .sc-swiper .swiper-button-prev{color:#fff; background:rgba(0,0,0,.35); width:38px; height:38px; border-radius:50%;}
.sc-swiper .swiper-button-next::after, .sc-swiper .swiper-button-prev::after{font-size:1rem;}
.sc-thumbs{margin-top:.7rem;}
.sc-thumbs .swiper-slide{aspect-ratio:1; border-radius:8px; overflow:hidden; opacity:.55; cursor:pointer; transition:opacity .2s; border:2px solid transparent;}
.sc-thumbs .swiper-slide-thumb-active{opacity:1; border-color:var(--primary);}
.sc-thumbs .swiper-slide img{width:100%; height:100%; object-fit:cover;}
.sc-media-role-badge{position:absolute; top:.5rem; right:.5rem; background:rgba(0,0,0,.6); color:#fff; font-size:.68rem; padding:.15rem .55rem; border-radius:6px; z-index:2;}

/* Project description (rich text from admin editor) */
.rich-content{font-size:1.02rem; line-height:1.9; color:var(--text-dim); margin:1.4rem 0 2rem;}
.rich-content h2{margin:1.8rem 0 .9rem;}
.rich-content h3{margin:1.5rem 0 .7rem;}
.rich-content p{margin-bottom:1.1rem;}
.rich-content ul, .rich-content ol{margin-bottom:1.1rem; padding-right:1.4rem;}
.rich-content li{margin-bottom:.4rem;}
.rich-content img{max-width:100%; height:auto; border-radius:12px; margin:1rem 0;}
.rich-content a{text-decoration:underline; text-decoration-color:rgba(224,123,57,.4);}
.rich-content blockquote{border-right:3px solid var(--primary); padding:.6rem 1.2rem; margin:1.4rem 0; color:var(--text); background:var(--card-2); border-radius:0 10px 10px 0;}
.rich-content table{width:100%; border-collapse:collapse; margin:1.2rem 0;}
.rich-content table td, .rich-content table th{border:1px solid var(--border); padding:.5rem .7rem;}
.rich-content table th{background:var(--card-2);}
.rich-content hr{border:none; border-top:1px dashed var(--border); margin:2rem 0;}
.rich-content figure{margin:1.4rem 0;}
.rich-content figure img{margin:0;}
.rich-content figure figcaption{font-size:.84rem; color:var(--light); text-align:center; margin-top:.5rem;}
.rich-content .rc-video-wrap{position:relative; aspect-ratio:16/9; border-radius:12px; overflow:hidden; background:#000; margin:1.4rem 0;}
.rich-content .rc-video-wrap iframe, .rich-content .rc-video-wrap video{width:100%; height:100%; border:0; display:block;}

/* Before/after */
.before-after{display:grid; grid-template-columns:1fr 1fr; gap:1rem; margin-bottom:2rem;}
.ba-col h6{font-size:.78rem; font-weight:700; color:var(--light); text-transform:uppercase; margin-bottom:.5rem;}
.ba-col img{width:100%; border-radius:12px; aspect-ratio:4/3; object-fit:cover;}
@media(max-width:680px){.before-after{grid-template-columns:1fr;}}

/* Testimonial card */
.testimonial-card{background:var(--card); border:1px solid var(--border); border-radius:var(--dr-lg); padding:1.8rem 2rem; position:relative; margin:1.6rem 0;}
.testimonial-card::before{content:'\201C'; font-size:4rem; color:rgba(224,123,57,.25); position:absolute; top:.2rem; right:1.2rem; font-family:Georgia,serif;}
.testimonial-text{font-size:1.05rem; line-height:1.85; color:var(--text); font-style:italic; margin-bottom:.9rem;}
.testimonial-author{font-weight:700; color:var(--primary); font-size:.92rem;}

/* Downloadable files */
.file-download-list{display:flex; flex-direction:column; gap:.6rem; margin:1.5rem 0;}
.file-download-item{display:flex; align-items:center; justify-content:space-between; background:var(--card); border:1px solid var(--border); border-radius:var(--dr-sm); padding:.75rem 1.1rem; transition:border-color .2s;}
.file-download-item:hover{border-color:var(--primary);}

/* Filter bar chips wrap */
.sc-category-chips{display:flex; gap:.6rem; flex-wrap:wrap;}

.glightbox-clean .gslide-description{background:rgba(20,21,18,.92);}
