.ald-vg-slider {
  width: 100%;
  display: grid;
  gap: 16px;
}

.ald-vg-frame {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid rgba(12, 56, 64, 0.10);
  background: #ffffff;
  box-shadow: 0 16px 40px rgba(12, 56, 64, 0.08);
}

.ald-vg-track {
  position: relative;
  height: 445px;
  background: #f8f5ee;
}

.ald-vg-slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .35s ease, transform .35s ease;
  transform: scale(1.01);
}

.ald-vg-slide.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: scale(1);
}

.ald-vg-slide::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 26%;
  background: linear-gradient(to top, rgba(12, 56, 64, 0.14), rgba(12, 56, 64, 0));
  pointer-events: none;
}

.ald-vg-slide img {
  width: 100%;
  height: 445px;
  display: block;
  object-fit: cover;
}

.ald-vg-arrow {
  position: absolute;
  top: 50%;
  z-index: 3;
  width: 52px;
  height: 52px;
  transform: translateY(-50%);
  border: 1px solid rgba(255,255,255,.45);
  border-radius: 999px;
  background: rgba(12, 56, 64, .74);
  color: #ffffff;
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 22px rgba(12, 56, 64, .18);
  backdrop-filter: blur(8px);
}

.ald-vg-arrow:hover,
.ald-vg-arrow:focus {
  background: rgba(12, 137, 122, .96);
  transform: translateY(-50%) scale(1.04);
  box-shadow: 0 14px 26px rgba(12, 56, 64, .24);
}

.ald-vg-arrow--prev { left: 18px; }
.ald-vg-arrow--next { right: 18px; }

.ald-vg-caption {
  padding: 18px 20px;
  border-radius: 20px;
  border: 1px solid rgba(12, 56, 64, 0.10);
  background: linear-gradient(180deg, #ffffff 0%, #f9fbfb 100%);
  box-shadow: 0 12px 30px rgba(12, 56, 64, 0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.ald-vg-caption-main {
  display: grid;
  gap: 6px;
}

.ald-vg-counter {
  color: #0c897a;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: 12px;
}

.ald-vg-caption strong {
  color: #0c3840;
  font-size: 18px;
  line-height: 1.25;
}

.ald-vg-caption p {
  margin: 0;
  color: #586d71;
  font-size: 15px;
  line-height: 1.55;
  max-width: 56ch;
}

.ald-vg-dots {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.ald-vg-dot {
  width: 28px;
  height: 12px;
  border: 0;
  border-radius: 999px;
  background: rgba(12, 137, 122, .22);
  cursor: pointer;
  padding: 0;
  transition: transform .2s ease, background .2s ease, opacity .2s ease;
}

.ald-vg-dot:hover,
.ald-vg-dot:focus {
  background: rgba(12, 137, 122, .36);
  transform: translateY(-1px);
}

.ald-vg-dot.is-active {
  width: 60px;
  background: linear-gradient(90deg, #0c897a 0%, #49b3a7 100%);
}

/* Full gallery page */
.ald-vg-page {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 54px 0 76px;
}

.ald-vg-page-header {
  max-width: 760px;
  margin-bottom: 26px;
}

.ald-vg-page-kicker {
  display: inline-block;
  color: #0c897a;
  font-weight: 900;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-size: 12px;
  margin-bottom: 10px;
}

.ald-vg-page-header h2 {
  margin: 0 0 12px !important;
  color: #050505 !important;
  font-size: clamp(34px, 4vw, 58px);
  line-height: .98;
  letter-spacing: -0.04em;
  text-transform: uppercase;
}

.ald-vg-page-header p {
  margin: 0;
  max-width: 680px;
  color: #4f6266;
  font-size: 18px;
  line-height: 1.65;
}

.ald-vg-filter-bar {
  position: sticky;
  top: 78px;
  z-index: 12;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 26px;
  padding: 10px;
  border: 1px solid rgba(12, 56, 64, .08);
  border-radius: 999px;
  background: rgba(255, 255, 255, .78);
  box-shadow: 0 14px 34px rgba(12, 56, 64, .06);
  backdrop-filter: blur(12px);
  width: fit-content;
  max-width: 100%;
}

.ald-vg-filter {
  border: 1px solid rgba(12, 56, 64, .12);
  border-radius: 999px;
  padding: 12px 18px;
  background: #ffffff;
  color: #0c3840;
  font-weight: 900;
  cursor: pointer;
  transition: background .22s ease, color .22s ease, transform .22s ease, box-shadow .22s ease;
}

.ald-vg-filter:hover,
.ald-vg-filter:focus {
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(12, 56, 64, .08);
}

.ald-vg-filter.is-active {
  background: #0c897a;
  color: #ffffff;
  border-color: #0c897a;
  box-shadow: 0 12px 24px rgba(12, 137, 122, .18);
}

.ald-vg-page-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.ald-vg-gallery-card {
  position: relative;
  min-height: 350px;
  margin: 0;
  overflow: hidden;
  border-radius: 26px;
  background: #f8f5ee;
  border: 1px solid rgba(12, 56, 64, .10);
  box-shadow: 0 14px 34px rgba(12, 56, 64, .08);
  transform: translateY(0) scale(1);
  opacity: 1;
  transition: opacity .28s ease, transform .32s ease, box-shadow .32s ease, filter .32s ease;
}

.ald-vg-gallery-card.is-filter-hidden {
  display: none !important;
}

.ald-vg-gallery-card.is-filter-exiting {
  opacity: 0;
  transform: translateY(12px) scale(.985);
  pointer-events: none;
}

.ald-vg-gallery-card.is-filter-entering {
  animation: aldVgCardEnter .44s ease both;
  animation-delay: var(--ald-vg-delay, 0ms);
}

@keyframes aldVgCardEnter {
  from {
    opacity: 0;
    transform: translateY(18px) scale(.985);
    filter: blur(2px);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

.ald-vg-gallery-card img {
  width: 100%;
  height: 100%;
  min-height: 350px;
  display: block;
  object-fit: cover;
  transform: scale(1);
  transition: transform .5s ease, filter .5s ease;
}

.ald-vg-gallery-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(to top, rgba(4, 20, 24, .92) 0%, rgba(8, 44, 48, .66) 34%, rgba(8, 44, 48, .18) 66%, rgba(8, 44, 48, 0) 100%);
  pointer-events: none;
  transition: opacity .35s ease;
}

.ald-vg-gallery-card::after {
  content: "";
  position: absolute;
  inset: 14px;
  z-index: 1;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 20px;
  opacity: 0;
  transform: scale(.985);
  transition: opacity .3s ease, transform .3s ease;
  pointer-events: none;
}

.ald-vg-gallery-card figcaption {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 22px;
  z-index: 2;
  display: grid;
  gap: 7px;
  color: #ffffff !important;
  transform: translateY(0);
  transition: transform .32s ease;
}

.ald-vg-gallery-card figcaption span {
  color: rgba(255,255,255,.88) !important;
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-weight: 900;
  text-shadow: 0 2px 12px rgba(0,0,0,.35);
}

.ald-vg-gallery-card figcaption strong {
  color: #ffffff !important;
  font-size: 25px;
  line-height: 1.04;
  font-weight: 900;
  letter-spacing: -0.03em;
  text-shadow: 0 3px 18px rgba(0,0,0,.45);
}

.ald-vg-card-button {
  position: absolute;
  z-index: 3;
  top: 18px;
  right: 18px;
  border: 1px solid rgba(255,255,255,.34);
  border-radius: 999px;
  padding: 10px 14px;
  background: rgba(12, 56, 64, .72);
  color: #ffffff;
  font-weight: 900;
  cursor: pointer;
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity .24s ease, transform .24s ease, background .24s ease;
  backdrop-filter: blur(10px);
}

.ald-vg-gallery-card:hover,
.ald-vg-gallery-card:focus-within {
  transform: translateY(-4px);
  box-shadow: 0 24px 48px rgba(12, 56, 64, .16);
}

.ald-vg-gallery-card:hover img,
.ald-vg-gallery-card:focus-within img {
  transform: scale(1.055);
  filter: saturate(1.04) contrast(1.02);
}

.ald-vg-gallery-card:hover::before,
.ald-vg-gallery-card:focus-within::before {
  opacity: .95;
}

.ald-vg-gallery-card:hover::after,
.ald-vg-gallery-card:focus-within::after {
  opacity: 1;
  transform: scale(1);
}

.ald-vg-gallery-card:hover figcaption,
.ald-vg-gallery-card:focus-within figcaption {
  transform: translateY(-6px);
}

.ald-vg-gallery-card:hover .ald-vg-card-button,
.ald-vg-gallery-card:focus-within .ald-vg-card-button {
  opacity: 1;
  transform: translateY(0);
}

.ald-vg-card-button:hover,
.ald-vg-card-button:focus {
  background: rgba(12, 137, 122, .95);
}

.ald-vg-lightbox-open {
  overflow: hidden;
}

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

.ald-vg-lightbox {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: grid;
  place-items: center;
  padding: 24px;
  opacity: 0;
  transition: opacity .25s ease;
}

.ald-vg-lightbox.is-open {
  opacity: 1;
}

.ald-vg-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 20%, rgba(12,137,122,.18), transparent 34%),
    rgba(5, 15, 18, .88);
  backdrop-filter: blur(12px);
}

.ald-vg-lightbox-dialog {
  position: relative;
  z-index: 1;
  width: min(1080px, 96vw);
  max-height: 92vh;
  display: grid;
  gap: 14px;
  transform: translateY(14px) scale(.985);
  opacity: 0;
  transition: transform .28s ease, opacity .28s ease;
}

.ald-vg-lightbox.is-open .ald-vg-lightbox-dialog {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.ald-vg-lightbox-dialog img {
  width: 100%;
  max-height: 72vh;
  object-fit: contain;
  border-radius: 22px;
  background: #111;
  box-shadow: 0 30px 90px rgba(0, 0, 0, .44);
}

.ald-vg-lightbox-caption {
  padding: 16px 18px;
  border-radius: 20px;
  background: rgba(255,255,255,.96);
  display: grid;
  gap: 6px;
  box-shadow: 0 18px 40px rgba(0,0,0,.14);
}

.ald-vg-lightbox-caption span {
  color: #0c897a;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .16em;
  font-weight: 900;
}

.ald-vg-lightbox-caption strong {
  color: #0c3840;
  font-size: 22px;
  line-height: 1.15;
}

.ald-vg-lightbox-caption p {
  margin: 0;
  color: #586d71;
  font-size: 15px;
  line-height: 1.55;
}

.ald-vg-lightbox-close,
.ald-vg-lightbox-arrow {
  border: 1px solid rgba(255,255,255,.32);
  background: rgba(12, 56, 64, .78);
  color: #ffffff;
  cursor: pointer;
  backdrop-filter: blur(10px);
  transition: transform .22s ease, background .22s ease, box-shadow .22s ease;
  box-shadow: 0 12px 28px rgba(0,0,0,.24);
}

.ald-vg-lightbox-close:hover,
.ald-vg-lightbox-arrow:hover,
.ald-vg-lightbox-close:focus,
.ald-vg-lightbox-arrow:focus {
  background: rgba(12, 137, 122, .96);
  transform: scale(1.04);
}

.ald-vg-lightbox-close {
  position: absolute;
  top: -18px;
  right: -18px;
  z-index: 3;
  width: 46px;
  height: 46px;
  border-radius: 999px;
  font-size: 28px;
  line-height: 1;
}

.ald-vg-lightbox-arrow {
  position: absolute;
  top: 42%;
  z-index: 3;
  width: 52px;
  height: 52px;
  border-radius: 999px;
  font-size: 20px;
}

.ald-vg-lightbox-arrow--prev { left: 14px; }
.ald-vg-lightbox-arrow--next { right: 14px; }

@media (max-width: 1024px) {
  .ald-vg-track,
  .ald-vg-slide img {
    height: 400px;
  }

  .ald-vg-page-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ald-vg-filter-bar {
    position: relative;
    top: auto;
    border-radius: 24px;
  }
}

@media (max-width: 767px) {
  .ald-vg-slider {
    gap: 14px;
  }

  .ald-vg-track,
  .ald-vg-slide img {
    height: 285px;
  }

  .ald-vg-arrow {
    width: 44px;
    height: 44px;
    font-size: 16px;
  }

  .ald-vg-arrow--prev { left: 12px; }
  .ald-vg-arrow--next { right: 12px; }

  .ald-vg-caption {
    display: grid;
    gap: 14px;
    padding: 16px;
  }

  .ald-vg-dots {
    justify-content: flex-start;
  }

  .ald-vg-dot {
    width: 20px;
    height: 10px;
  }

  .ald-vg-dot.is-active {
    width: 42px;
  }

  .ald-vg-page {
    width: min(100% - 24px, 1180px);
    padding: 36px 0 54px;
  }

  .ald-vg-page-header p {
    font-size: 16px;
  }

  .ald-vg-page-grid {
    grid-template-columns: 1fr;
  }

  .ald-vg-gallery-card,
  .ald-vg-gallery-card img {
    min-height: 315px;
  }

  .ald-vg-card-button {
    opacity: 1;
    transform: none;
  }

  .ald-vg-lightbox {
    padding: 14px;
  }

  .ald-vg-lightbox-close {
    top: 8px;
    right: 8px;
  }

  .ald-vg-lightbox-arrow {
    top: auto;
    bottom: 106px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ald-vg-slide,
  .ald-vg-gallery-card,
  .ald-vg-gallery-card img,
  .ald-vg-lightbox,
  .ald-vg-lightbox-dialog,
  .ald-vg-card-button {
    transition: none !important;
    animation: none !important;
  }
}
