.kag-lightbox[hidden] { display: none !important; }
[hidden] { display: none !important; }

.kag-accordion {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, .08);
  background: #fff;
}

.kag-item + .kag-item {
  border-top: 1px solid rgba(0, 0, 0, .08);
}

.kag-head {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  padding-left: 52px;
  background: transparent;
  border: 0;
  cursor: pointer;
  text-align: left;
  position: relative;
}

.kag-head::before {
  content: "+";
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  border: 1px solid #a0a6b0;
  color: #a0a6b0;
  font-weight: 700;
  line-height: 1;
  animation: kagPulseBlue 1.8s ease-in-out infinite;
}

.kag-head::after {
  display: none !important;
  content: none !important;
}

.kag-item[open] .kag-head::before {
  content: "–";
  color: #2b5a93;
  border-color: #2b5a93;
  animation: none;
}

@keyframes kagPulseBlue {
  0% {
    color: #a0a6b0;
    border-color: #a0a6b0;
  }
  50% {
    color: #2b5a93;
    border-color: #2b5a93;
  }
  100% {
    color: #a0a6b0;
    border-color: #a0a6b0;
  }
}

.kag-head .kag-title {
  font-weight: 700;
  font-size: 16px;
  line-height: 1.2;
  flex: 1;
  color: #a0a6b0;
  transition: color .2s ease;
}

.kag-item[open] .kag-head .kag-title {
  color: #2b5a93;
}

.kag-icon {
  display: none !important;
}

.kag-head[aria-expanded="true"] .kag-icon {
  display: none !important;
}

.kag-mediahint {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  opacity: .95;
  flex: 0 0 auto;
  margin-left: auto;
}

.kag-badge {
  font-size: 11px;
  font-weight: 700;
  padding: 3px 7px;
  border-radius: 999px;
  background: rgba(0, 0, 0, .04);
  white-space: nowrap;
}

.kag-panel {
  padding: 0 16px 16px 16px;
}

.kag-body {
  padding-top: 6px;
  color: rgba(0, 0, 0, .75);
}

.kag-gallery {
  margin-top: 12px;
}

.kag-carousel {
  margin-top: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.kag-car-btn,
.kag-nav,
.kag-prev,
.kag-next,
button[data-prev],
button[data-next] {
  display: none !important;
}

.kag-car-viewport {
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, .10);
  width: 100%;
  flex: 1;
  position: relative;
  padding: 10px;
  background: #fff;
}

.kag-carousel-single .kag-car-viewport {
  height: 165px;
}

.kag-carousel-double .kag-car-viewport {
  height: 320px;
}

.kag-car-track {
  display: none !important;
}

.kag-mosaic {
  display: grid;
  gap: 10px;
  height: 100%;
}

.kag-mosaic-single {
  grid-template-rows: 1fr;
}

.kag-mosaic-double {
  grid-template-rows: 1fr 1fr;
}

.kag-row {
  overflow: hidden;
  position: relative;
  border-radius: 10px;
  width: 100%;
  min-height: 0;
}

.kag-row-track {
  display: flex;
  align-items: center;
  gap: 10px;
  width: max-content;
  will-change: transform;
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
}

.kag-car-slide {
  margin: 0;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  border: 1px solid rgba(0, 0, 0, .08);
  flex: 0 0 auto;
  height: 145px;
  user-select: none;
}

.kag-car-slide.w1 { width: 170px; }
.kag-car-slide.w2 { width: 220px; }
.kag-car-slide.w3 { width: 290px; }
.kag-car-slide.w4 { width: 360px; }

.kag-car-slide img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  cursor: zoom-in;
  pointer-events: auto;
}

@media (max-width: 980px) {
  .kag-carousel-single .kag-car-viewport { height: 150px; }
  .kag-carousel-double .kag-car-viewport { height: 300px; }
  .kag-car-slide { height: 135px; }
  .kag-car-slide.w1 { width: 155px; }
  .kag-car-slide.w2 { width: 205px; }
  .kag-car-slide.w3 { width: 270px; }
  .kag-car-slide.w4 { width: 330px; }
}

@media (max-width: 640px) {
  .kag-mediahint { display: none; }
  .kag-carousel-single .kag-car-viewport { height: 130px; }
  .kag-carousel-double .kag-car-viewport { height: 260px; }
  .kag-car-slide { height: 115px; }
  .kag-car-slide.w1 { width: 140px; }
  .kag-car-slide.w2 { width: 185px; }
  .kag-car-slide.w3 { width: 240px; }
  .kag-car-slide.w4 { width: 290px; }
}

.kag-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .78);
  display: grid;
  grid-template-columns: 60px 1fr 60px;
  align-items: center;
  z-index: 999999;
  padding: 20px;
}

.kag-lb-img {
  max-width: 100%;
  max-height: 90vh;
  justify-self: center;
  border-radius: 12px;
  cursor: zoom-out;
  box-shadow: 0 10px 40px rgba(0, 0, 0, .35);
}

.kag-lb-close {
  position: absolute;
  top: 14px;
  right: 18px;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .25);
  background: rgba(0, 0, 0, .35);
  color: #fff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.kag-lb-nav {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .25);
  background: rgba(0, 0, 0, .35);
  color: #fff;
  font-size: 28px;
  cursor: pointer;
  justify-self: center;
}

@media (max-width: 640px) {
  .kag-lightbox {
    grid-template-columns: 44px 1fr 44px;
    padding: 12px;
  }

  .kag-lb-nav,
  .kag-lb-close {
    width: 40px;
    height: 40px;
  }
}