/* Israt Site Kit — structural styles. Colors & typography come from the widget style controls (Elementor globals). */

.ij-empty{padding:24px;border:1px dashed currentColor;opacity:.7;text-align:center}

/* Shared */
.ij-projects p,.ij-tcard p{margin:0}
.ij-eyebrow{margin:0}
.ij-tags{display:flex;flex-wrap:wrap;gap:8px;margin:16px 0 0;padding:0;list-style:none}
.ij-tag{display:inline-block;border:1px solid;border-radius:4px;padding:4px 10px;line-height:16px}
.ij-links{display:flex;flex-wrap:wrap;align-items:center;gap:24px;margin-top:24px}
.ij-link{display:inline-flex;align-items:center;gap:6px;text-decoration:none;transition:color .2s}
.ij-link i,.ij-link svg{font-size:.85em;width:.85em;height:.85em;fill:currentColor}

/* Projects — alternating */
.ij-projects{display:flex;flex-direction:column}
.ij-projects--alternating .ij-project{--ij-media:58%;display:grid;grid-template-columns:var(--ij-media) minmax(0,1fr);align-items:center;border-top:1px solid;padding-top:40px}
.ij-projects--alternating.ij-start-left .ij-project:nth-child(even),
.ij-projects--alternating.ij-start-right .ij-project:nth-child(odd){grid-template-columns:minmax(0,1fr) var(--ij-media)}
.ij-projects--alternating.ij-start-left .ij-project:nth-child(even) .ij-project__media,
.ij-projects--alternating.ij-start-right .ij-project:nth-child(odd) .ij-project__media{order:2}
.ij-project__media{display:block;overflow:hidden;border:1px solid;border-radius:12px}
.ij-project__media img{display:block;width:100%;height:auto;aspect-ratio:3/2;object-fit:cover;transition:transform .5s ease-out}
.ij-zoom-yes .ij-project__media:hover img{transform:scale(1.02)}
.ij-p-title{margin:12px 0 0}
.ij-project__body .ij-p-text{margin-top:16px}
.ij-project__body .ij-p-meta{margin-top:12px}
.ij-project__body strong{font-weight:600}
.ij-p-outcome{margin-top:16px!important;font-size:12px;line-height:1.625;opacity:.8}

/* Projects — case study cards */
.ij-case{display:grid;grid-template-columns:1fr 1fr;overflow:hidden;border:1px solid}
.ij-start-right .ij-case:nth-child(odd) .ij-case__media,
.ij-start-left .ij-case:nth-child(even) .ij-case__media{order:2}
.ij-case__media{position:relative;min-height:100%}
.ij-case__media img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block}
.ij-case__client{margin-top:8px!important}
.ij-case__list{margin:32px 0 0;display:flex;flex-direction:column;gap:20px}
.ij-case__item{border-left:2px solid;padding-left:16px}
.ij-case__item dt{margin:0}
.ij-case__item dd{margin:6px 0 0}
.ij-case .ij-tags,.ij-case .ij-links{margin-top:32px}

@media (max-width:1024px){
  .ij-projects--alternating .ij-project,
  .ij-projects--alternating.ij-start-left .ij-project:nth-child(even),
  .ij-projects--alternating.ij-start-right .ij-project:nth-child(odd){grid-template-columns:1fr}
  .ij-projects--alternating .ij-project .ij-project__media{order:0!important}
  .ij-case{grid-template-columns:1fr}
  .ij-case .ij-case__media{order:0!important;min-height:0;height:var(--ij-case-h,320px)}
}

/* Testimonials */
.ij-tcard{--ij-pad:28px;--ij-accent:#69D8CE;border:1px solid;overflow:hidden;transition:border-color .3s}
.ij-tcard:hover{border-color:color-mix(in srgb,var(--ij-accent) 40%,transparent)}
.ij-tcard__ptype{margin:0}
.ij-tcard__name{margin-top:8px!important}
.ij-tcard__quote{margin:16px 0 0;padding:0;border:0;font-style:italic}
.ij-tcard__quote--line{display:flex;gap:8px;align-items:flex-start;border-left:2px solid color-mix(in srgb,var(--ij-accent) 40%,transparent);padding-left:12px}
.ij-tcard__desc{margin-top:12px!important;font-size:12px;line-height:1.625;opacity:.8}
.ij-qicon{flex-shrink:0;line-height:1;color:color-mix(in srgb,var(--ij-accent) 70%,transparent);fill:currentColor;margin-top:4px}
.ij-qicon i,.ij-qicon svg{font-size:12px;width:12px;height:12px}
.ij-qicon--lg{display:block;margin:0}
.ij-qicon--lg i,.ij-qicon--lg svg{font-size:22px;width:22px;height:22px}

.ij-tgrid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}
.ij-tcard--text{display:flex;flex-direction:column;margin:0;padding:var(--ij-pad)}
.ij-tcard--text .ij-tcard__quote{flex:1}
.ij-tcard__foot{margin-top:24px;padding-top:16px;border-top:1px solid}
.ij-tcard__foot .ij-tcard__name{margin-top:0!important}
.ij-tcard__foot .ij-tcard__role{margin-top:2px}
.ij-tcard__foot .ij-tag{margin-top:8px}

.ij-tvideo{display:grid;grid-template-columns:1fr 1fr}
.ij-tcard--featured{grid-row:span 2;display:flex;flex-direction:column}
.ij-tvideo--single .ij-tcard--featured{grid-column:1/-1}
.ij-tvideo--pair .ij-tcard--featured{grid-row:auto}
.ij-tcard__body{padding:calc(var(--ij-pad) + 4px);flex:1}
.ij-tcard__top{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px}
.ij-tcard--row{display:flex;gap:20px;align-items:flex-start;padding:24px}
.ij-tcard--row .ij-tcard__person{flex:1;min-width:0}

.ij-thumb,.ij-tcard .ij-thumb{position:relative;display:block;width:100%;min-height:0;padding:0;margin:0;border:0;border-radius:0;background:none;box-shadow:none;overflow:hidden;cursor:pointer;text-align:left;line-height:0}
button.ij-thumb:hover,button.ij-thumb:focus,.ij-tcard button.ij-thumb:hover,.ij-tcard button.ij-thumb:focus{background:none;border:0}
.ij-thumb img{display:block;width:100%;aspect-ratio:16/9;object-fit:cover;transition:transform .5s ease-out}
.ij-thumb:hover img{transform:scale(1.03)}
.ij-thumb:before{content:"";position:absolute;inset:0;background:rgba(16,23,25,.2);z-index:1;transition:background .3s}
.ij-thumb:hover:before{background:rgba(16,23,25,.08)}
.ij-thumb--sm,.ij-tcard .ij-thumb--sm{width:192px;flex-shrink:0;border-radius:8px}
.ij-play{position:absolute;left:50%;top:50%;z-index:2;display:flex;align-items:center;justify-content:center;width:80px;height:80px;transform:translate(-50%,-50%);border-radius:50%;background:var(--ij-accent);box-shadow:0 10px 25px -5px rgba(0,0,0,.45);transition:transform .3s}
.ij-thumb:hover .ij-play{transform:translate(-50%,-50%) scale(1.1)}
.ij-play i,.ij-play svg{font-size:28px;width:28px;height:28px;margin-left:4px}
.ij-thumb--sm .ij-play{width:56px;height:56px}
.ij-thumb--sm .ij-play i,.ij-thumb--sm .ij-play svg{font-size:20px;width:20px;height:20px}

@media (max-width:1024px){
  .ij-tvideo{grid-template-columns:1fr}
  .ij-tcard--featured{grid-row:auto}
}
@media (max-width:767px){
  .ij-tcard--row{flex-direction:column}
  .ij-thumb--sm,.ij-tcard .ij-thumb--sm{width:100%}
  .ij-thumb--lg .ij-play{width:64px;height:64px}
}

.ij-tcard__foot,.ij-tcard__foot p{font-style:normal}

/* Testimonials — carousel (same cards as grid) */
.ij-tcarousel{--ij-spv:3;--ij-gap:20px;position:relative}
.ij-tcarousel__track{display:flex;gap:var(--ij-gap);overflow-x:auto;scroll-snap-type:x mandatory;scroll-behavior:smooth;-webkit-overflow-scrolling:touch;scrollbar-width:none;outline:none;padding-bottom:2px}
.ij-tcarousel__track::-webkit-scrollbar{display:none}
.ij-tcarousel__track>.ij-tcard{flex:0 0 calc((100% - (var(--ij-spv) - 1) * var(--ij-gap)) / var(--ij-spv));scroll-snap-align:start;min-width:0}
.ij-tcarousel__nav{display:flex;align-items:center;justify-content:center;gap:16px;margin-top:28px}
.ij-tcarousel .ij-tcarousel__arrow{display:inline-flex;align-items:center;justify-content:center;width:42px;height:42px;min-height:0;padding:0;margin:0;border-radius:50%;border:1px solid var(--ij-arrow-border,#293638);background:transparent;color:var(--ij-arrow,#F5F5F0);box-shadow:none;cursor:pointer;transition:border-color .2s,color .2s,opacity .2s}
.ij-tcarousel .ij-tcarousel__arrow:hover,.ij-tcarousel .ij-tcarousel__arrow:focus-visible{background:transparent;border-color:var(--ij-nav-active,#69D8CE);color:var(--ij-nav-active,#69D8CE)}
.ij-tcarousel .ij-tcarousel__arrow:focus{background:transparent}
.ij-tcarousel .ij-tcarousel__arrow[disabled]{opacity:.35;cursor:default}
.ij-tcarousel__dots{display:flex;align-items:center;gap:8px}
.ij-tcarousel .ij-tcarousel__dot{display:block;width:8px;height:8px;min-height:0;padding:0;margin:0;border:0;border-radius:8px;background:var(--ij-dot,#293638);box-shadow:none;cursor:pointer;transition:width .3s,background .3s}
.ij-tcarousel .ij-tcarousel__dot:hover,.ij-tcarousel .ij-tcarousel__dot:focus{background:var(--ij-dot,#293638);border:0}
.ij-tcarousel .ij-tcarousel__dot.is-active{width:24px;background:var(--ij-nav-active,#69D8CE)}
@media (max-width:1024px){.ij-tcarousel{--ij-spv:2}}
@media (max-width:767px){.ij-tcarousel{--ij-spv:1}}
/* Two videos: second card fills the right column so the layout stays balanced */
.ij-tvideo>.ij-tcard--featured+.ij-tcard--row:last-child{grid-row:span 2;align-self:stretch}
@media (max-width:1024px){.ij-tvideo>.ij-tcard--featured+.ij-tcard--row:last-child{grid-row:auto}}
.ij-project__body .ij-p-result{margin-top:10px;color:var(--e-global-color-primary,#69D8CE);font-size:14px;font-weight:600;line-height:1.5}
.ij-links .ij-link--details{opacity:.85}
/* v1.0.15: 24px touch targets for carousel dots (visual size unchanged) */
.ij-tcarousel .ij-tcarousel__dots{gap:0}
.ij-tcarousel .ij-tcarousel__dot{box-sizing:content-box;padding:8px;background-clip:content-box}
.ij-tcarousel .ij-tcarousel__dot:hover,.ij-tcarousel .ij-tcarousel__dot:focus{background-clip:content-box}
