.thtp-root,.thtp-detail{--thtp-red:#b91628;--thtp-dark:#111214;--thtp-muted:#666970;--thtp-line:#e4e4e4;font-family:inherit;direction:rtl;color:var(--thtp-dark)}
.thtp-root *,.thtp-detail *{box-sizing:border-box}
.thtp-filters{display:flex;flex-wrap:wrap;gap:10px;margin:0 0 28px}
.thtp-filters a{border:1px solid var(--thtp-line);color:var(--thtp-dark);padding:9px 17px;text-decoration:none;font-size:14px;transition:.2s}
.thtp-filters a:hover,.thtp-filters .is-active{background:var(--thtp-red);color:#fff;border-color:var(--thtp-red)}
.thtp-grid{display:grid;grid-template-columns:repeat(var(--thtp-columns,3),minmax(0,1fr));gap:24px}
.thtp-card{margin:0;min-width:0;background:#fff;border:1px solid var(--thtp-line);transition:transform .2s,border-color .2s}
.thtp-card:hover{transform:translateY(-4px);border-color:var(--thtp-red)}
.thtp-card-link{display:flex;flex-direction:column;height:100%;color:inherit;text-decoration:none!important}
.thtp-card-media{display:block;aspect-ratio:4/3;overflow:hidden;background:#17181b}
.thtp-card-media img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .3s}
.thtp-card:hover img{transform:scale(1.035)}
.thtp-no-image{display:flex;align-items:center;justify-content:center;width:100%;height:100%;color:#e1262f;font-size:30px;font-weight:800;background:linear-gradient(145deg,#222,#090909)}
.thtp-card-body{display:flex;flex-direction:column;align-items:flex-start;flex:1;padding:22px}
.thtp-card-type,.thtp-detail-category{color:var(--thtp-red);font-size:13px;font-weight:700}
.thtp-card-title{font-size:20px;line-height:1.6;font-weight:800;margin:8px 0;color:var(--thtp-dark)}
.thtp-card-excerpt{font-size:14px;color:var(--thtp-muted);line-height:1.85;margin-bottom:18px}
.thtp-card-more{margin-top:auto;font-size:14px;font-weight:700;color:var(--thtp-red)}
.thtp-card-more span{margin-right:8px}
.thtp-pagination{display:flex;justify-content:center;gap:8px;margin:32px 0}
.thtp-pagination a{min-width:42px;height:42px;display:grid;place-items:center;border:1px solid var(--thtp-line);color:var(--thtp-dark);text-decoration:none}
.thtp-pagination a[aria-current],.thtp-pagination a:hover{background:var(--thtp-red);color:#fff;border-color:var(--thtp-red)}
.thtp-empty{padding:40px;text-align:center;background:#f5f5f5;color:var(--thtp-muted)}

/* Single project: scoped defaults; Elementor controls can override individual properties. */
.thtp-single-main{width:min(1200px,calc(100% - 40px));margin:48px auto 90px}
.thtp-detail{--thtp-red:#b91628;--thtp-dark:#202329;--thtp-muted:#666970;--thtp-line:#e8e9eb;--thtp-section-gap:44px;--thtp-radius:8px;max-width:100%;font-family:inherit;direction:rtl;color:var(--thtp-dark)}
.thtp-detail *{box-sizing:border-box}
.thtp-detail-category{display:inline-flex;align-items:center;gap:12px;color:var(--thtp-red);font-size:14px;font-weight:700;line-height:1.7}
.thtp-detail-category::after{content:"";width:26px;height:2px;background:currentColor}
.thtp-detail-title{font-size:clamp(28px,3.4vw,48px);line-height:1.45;letter-spacing:-.02em;font-weight:800;margin:12px 0 28px;color:var(--thtp-dark)}
.thtp-cover{width:100%;aspect-ratio:2.15/1;max-height:640px;overflow:hidden;background:#f1f2f3;border-radius:var(--thtp-radius)}
.thtp-cover img{display:block;width:100%;height:100%;object-fit:cover;object-position:center}
.thtp-detail-content{display:grid;grid-template-columns:minmax(0,1fr) minmax(230px,32%);gap:clamp(22px,4vw,66px);align-items:start;margin-top:var(--thtp-section-gap);direction:ltr}
.thtp-story{min-width:0;color:var(--thtp-muted);font-size:16px;line-height:2;overflow-wrap:anywhere;direction:rtl}
.thtp-story section+section{margin-top:32px}
.thtp-story h2,.thtp-gallery h2{font-size:clamp(20px,2vw,28px);line-height:1.5;margin:0 0 17px;color:var(--thtp-dark);font-weight:800}
.thtp-story h2::after,.thtp-gallery h2::after{content:"";display:block;width:34px;height:2px;background:var(--thtp-red);margin-top:8px}
.thtp-story p{margin:0 0 1.1em}
.thtp-story .thtp-richtext>*:first-child{margin-top:0}
.thtp-story .thtp-richtext>*:last-child{margin-bottom:0}
.thtp-specs{margin:0;padding:4px 22px;border:1px solid var(--thtp-line);border-radius:var(--thtp-radius);background:#fff;min-width:0;direction:rtl}
.thtp-specs>div{display:grid;grid-template-columns:minmax(90px,38%) minmax(0,1fr);gap:12px;padding:15px 0;border-bottom:1px solid var(--thtp-line);align-items:baseline}
.thtp-specs>div:last-child{border-bottom:0}
.thtp-specs dt{color:var(--thtp-muted);font-size:13px}
.thtp-specs dd{color:var(--thtp-dark);font-size:14px;font-weight:700;margin:0;overflow-wrap:anywhere}
.thtp-gallery{margin-top:var(--thtp-section-gap)}
.thtp-gallery-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.thtp-gallery-grid a{display:block;aspect-ratio:4/3;overflow:hidden;border-radius:var(--thtp-radius);background:#f0f0f0}
.thtp-gallery-grid img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .3s}
.thtp-gallery-grid a:hover img{transform:scale(1.045)}
.thtp-video{margin:var(--thtp-section-gap) 0 0}
.thtp-video a,.thtp-cta a{display:inline-flex;align-items:center;gap:16px;padding:13px 23px;border:1px solid var(--thtp-red);border-radius:5px;color:var(--thtp-red);font-size:14px;font-weight:700;text-decoration:none!important;transition:background .2s,color .2s}
.thtp-video a:hover,.thtp-cta a:hover{background:var(--thtp-red);color:#fff}
.thtp-cta{text-align:center;margin:var(--thtp-section-gap) 0 0}
.thtp-back{margin:var(--thtp-section-gap) 0 0}
.thtp-back a{color:var(--thtp-red);font-size:14px;font-weight:700;text-decoration:none}
.thtp-part{--thtp-red:#b91628;--thtp-dark:#202329;--thtp-muted:#666970;--thtp-line:#e8e9eb;direction:rtl;color:var(--thtp-dark);font-family:inherit;max-width:100%;overflow-wrap:anywhere}
.thtp-part *{box-sizing:border-box}
.thtp-part .thtp-detail-title{margin:0}
.thtp-part .thtp-cover{max-height:none}
.thtp-part-description,.thtp-part-services,.thtp-part-outcome{line-height:2;color:var(--thtp-muted)}
.thtp-part-description h2,.thtp-part-services h2,.thtp-part-outcome h2,.thtp-part-gallery h2{font-size:clamp(20px,2vw,28px);color:var(--thtp-dark);margin:0 0 16px;line-height:1.5}
.thtp-part-description h2::after,.thtp-part-services h2::after,.thtp-part-outcome h2::after,.thtp-part-gallery h2::after{content:"";display:block;width:34px;height:2px;background:var(--thtp-red);margin-top:8px}
.thtp-part-description p,.thtp-part-services p,.thtp-part-outcome p{margin:0 0 1em}
.thtp-part-video .thtp-video{margin:0}
@media(max-width:900px){.thtp-grid:not(.thtp-grid--1){grid-template-columns:repeat(2,minmax(0,1fr))}.thtp-detail-content{grid-template-columns:minmax(0,1fr) minmax(200px,36%)}}
@media(max-width:700px){.thtp-detail-content{grid-template-columns:1fr}.thtp-gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.thtp-cover{aspect-ratio:4/3}.thtp-specs{grid-row:auto}.thtp-single-main{width:calc(100% - 28px);margin:30px auto 60px}}
@media(max-width:600px){.thtp-grid{grid-template-columns:1fr}.thtp-card-title{font-size:18px}.thtp-detail-title{font-size:28px}.thtp-story{font-size:15px}}
@media(max-width:380px){.thtp-gallery-grid{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){.thtp-gallery-grid img,.thtp-card-media img,.thtp-card{transition:none}}
