/* Aevrino Vehicle Detail — Highlights gallery */
.av-highlights{
  max-width:1180px;
  margin:0 auto;
  padding:34px 0 46px;
  background:#fff;
  color:#101828;
}
.av-highlights-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  margin:0 0 14px;
}
.av-highlights-head h2{
  margin:0;
  color:#101828;
  font-size:24px;
  line-height:1.2;
  font-weight:750;
  letter-spacing:-.025em;
}
.av-highlights-all{
  appearance:none;
  border:0;
  background:transparent;
  padding:5px 0;
  color:#ff5000;
  font:600 13px/1.2 inherit;
  cursor:pointer;
  white-space:nowrap;
}
.av-highlights-all span{display:inline-block;margin-left:6px;font-size:16px;line-height:0;vertical-align:-1px}
.av-highlights-carousel{position:relative}
.av-highlights-viewport{overflow:hidden;margin:0}
.av-highlights-track{display:flex;gap:8px;transition:transform .32s cubic-bezier(.2,.7,.2,1);will-change:transform}
.av-highlight-card{
  position:relative;
  flex:0 0 calc((100% - 24px)/4);
  height:190px;
  padding:0;
  border:0;
  border-radius:7px;
  overflow:hidden;
  background:#eef0f2;
  cursor:pointer;
  text-align:left;
  isolation:isolate;
}
.av-highlight-card::after{
  content:"";
  position:absolute;
  inset:58% 0 0;
  z-index:1;
  background:linear-gradient(180deg,rgba(0,0,0,0),rgba(0,0,0,.84));
  pointer-events:none;
}
.av-highlight-card img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .35s ease}
.av-highlight-card:hover img{transform:scale(1.025)}
.av-highlight-label{position:absolute;left:12px;right:10px;bottom:11px;z-index:2;color:#fff;font-size:12px;line-height:1.25;font-weight:700;text-shadow:0 1px 2px rgba(0,0,0,.5);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.av-highlights-arrow{position:absolute;top:50%;z-index:5;width:40px;height:40px;margin-top:-20px;display:flex;align-items:center;justify-content:center;padding:0;border:1px solid #e1e5ea;border-radius:50%;background:#fff;color:#101828;box-shadow:0 2px 10px rgba(16,24,40,.12);font:300 30px/36px Arial,sans-serif;cursor:pointer}
.av-highlights-prev{left:-20px}.av-highlights-next{right:-20px}
.av-highlights-arrow:disabled{opacity:.38;cursor:default}.av-highlights-arrow:hover:not(:disabled){border-color:#cbd2da;box-shadow:0 4px 14px rgba(16,24,40,.15)}
.av-highlights-modal{position:fixed;inset:0;z-index:10000}
.av-highlights-modal-backdrop{position:absolute;inset:0;background:rgba(8,12,18,.78);backdrop-filter:blur(3px)}
.av-highlights-modal-dialog{position:relative;z-index:1;width:min(1120px,calc(100% - 32px));height:min(760px,calc(100% - 48px));margin:24px auto;display:flex;flex-direction:column;justify-content:center;overflow:hidden;border-radius:10px;background:#fff;box-shadow:0 24px 80px rgba(0,0,0,.35)}
.av-highlights-modal-close{position:absolute;top:10px;right:12px;z-index:5;width:34px;height:34px;border:0;border-radius:50%;background:rgba(16,24,40,.72);color:#fff;font:24px/34px Arial,sans-serif;cursor:pointer}
.av-highlights-modal-media{position:relative;flex:1;min-height:0;display:flex;align-items:center;justify-content:center;background:#f5f6f7}
.av-highlights-modal-media img{display:block;width:100%;height:100%;object-fit:contain}
.av-highlights-modal-arrow{position:absolute;top:50%;z-index:3;width:42px;height:42px;margin-top:-21px;border:1px solid #dfe3e8;border-radius:50%;background:rgba(255,255,255,.96);color:#101828;font:300 32px/38px Arial,sans-serif;cursor:pointer}
.av-highlights-modal-arrow.prev{left:14px}.av-highlights-modal-arrow.next{right:14px}
.av-highlights-modal-caption{min-height:52px;display:flex;align-items:center;justify-content:space-between;gap:15px;padding:10px 18px;border-top:1px solid #e4e7eb;background:#fff}
.av-highlights-modal-caption strong{color:#101828;font-size:13px}.av-highlights-modal-caption span{color:#667085;font-size:11px}
body.av-highlights-modal-open{overflow:hidden}
@media(max-width:900px){
  .av-highlights{padding:28px 16px 38px}.av-highlight-card{flex-basis:calc((100% - 16px)/3);height:170px}.av-highlights-prev{left:-9px}.av-highlights-next{right:-9px}
}
@media(max-width:600px){
  .av-highlights{padding:24px 12px 32px}.av-highlights-head h2{font-size:21px}.av-highlights-all{font-size:11px}.av-highlight-card{flex-basis:calc((100% - 8px)/2);height:150px}.av-highlights-track{gap:8px}.av-highlights-arrow{width:32px;height:32px;margin-top:-16px;font-size:25px}.av-highlights-prev{left:-7px}.av-highlights-next{right:-7px}
  .av-highlights-modal-dialog{width:calc(100% - 16px);height:calc(100% - 32px);margin:16px auto}
}
