.nav-dropdown .dropdown-menu a.is-current {
  background: var(--green);
  color: #fff !important;
}

.nav-dropdown .dropdown-menu a.is-current::after {
  content: ' · trenutno';
  color: var(--lime);
  font-size: 10px;
  letter-spacing: .04em;
}

.mobile-menu-links a.is-current {
  color: var(--green);
  font-weight: 800;
  background: #e7eff7;
}

.offer-detail__days {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 36px 0 70px;
}

.offer-detail__day {
  display: block;
  min-height: 150px;
  padding: 24px;
  border: 1px solid var(--offer-line);
  border-top: 3px solid var(--green);
  background: #fff;
}

.offer-detail__day strong {
  display: block;
  margin-bottom: 16px;
  color: var(--blue);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.offer-detail__day h4 {
  margin: 0 0 8px;
  font-size: 21px;
  line-height: 1.05;
}

.offer-detail__day p { color: var(--muted); font-size: 14px; }

.offer-detail__card {
  min-height: 170px;
  padding: 22px;
  border: 1px solid var(--offer-line);
  border-top: 3px solid var(--green);
  background: #fff;
}

.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1400;
  display: grid;
  place-items: center;
  padding: 32px;
  background: rgba(4, 29, 66, .88);
}

.gallery-lightbox[hidden] { display: none; }
.gallery-lightbox__figure { position: relative; max-width: min(1100px, 94vw); max-height: 90vh; margin: 0; }
.gallery-lightbox__image { display: block; max-width: 94vw; max-height: 82vh; object-fit: contain; box-shadow: 0 20px 70px rgba(0,0,0,.35); }
.gallery-lightbox__caption { margin-top: 12px; color: #fff; font-size: 13px; text-align: center; }
.gallery-lightbox__close { position: fixed; top: 18px; right: 22px; width: 44px; height: 44px; border: 1px solid rgba(255,255,255,.55); background: transparent; color: #fff; font-size: 27px; cursor: pointer; }
.category-gallery__item, .mountain-gallery__item { cursor: zoom-in; }

@media (max-width: 850px) {
  .offer-detail__days { grid-template-columns: 1fr; margin-bottom: 52px; }
  .offer-detail__day { min-height: 0; }
  .offer-detail__grid { grid-template-columns: 1fr; }
  .gallery-lightbox { padding: 18px; }
}

.category-gallery__note {
  margin-top: 14px;
  color: var(--muted);
  font-size: 13px;
}

.guiding-tours {
  margin: 0 10vw 96px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.guiding-tours__head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}

.guiding-tours__head h2 {
  margin-left: auto;
  font-size: clamp(38px, 4.5vw, 68px);
  line-height: .94;
  letter-spacing: -.07em;
  text-align: right;
}

.guiding-tours__head em { color: var(--blue); font-style: normal; }
.guiding-tours__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.guiding-tours__grid article { min-height: 230px; padding: 20px; border-top: 3px solid var(--green); background: #fff; }
.guiding-tours__grid span { color: var(--blue); font-size: 10px; letter-spacing: .13em; text-transform: uppercase; }
.guiding-tours__grid h3 { margin: 26px 0 10px; font-size: 22px; line-height: 1; letter-spacing: -.04em; }
.guiding-tours__grid p { color: var(--muted); font-size: 14px; line-height: 1.45; }

.category-page--mtb .category-gallery__grid { grid-template-columns: 1fr 1fr 1fr 1fr; grid-template-rows: 260px 190px; }
.category-page--mtb .category-gallery__item:first-child { grid-row: span 2; }
.category-page--mtb .category-gallery__item:nth-child(2) { grid-row: span 2; }
.category-page--hvadnik .category-gallery__grid,
.category-page--ski .category-gallery__grid,
.category-page--courses .category-gallery__grid,
.category-page--lectures .category-gallery__grid,
.category-page--team .category-gallery__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: 300px; }
.category-page--hvadnik .category-gallery__item:first-child,
.category-page--ski .category-gallery__item:first-child,
.category-page--courses .category-gallery__item:first-child,
.category-page--lectures .category-gallery__item:first-child,
.category-page--team .category-gallery__item:first-child { grid-row: auto; }
.category-page--ski .offer-detail__grid { grid-template-columns: 1.2fr 1fr 1fr; }
.category-page--lectures .category-feature__copy { max-width: 620px; }
img[src="/images/client/tecaj-group.jpeg"] { object-position: 50% 35%; }
.category-page--team .category-feature { background: var(--green); color: #fff; }
.category-page--team .category-feature__copy { padding: clamp(20px, 3vw, 40px); }
.category-page--team .category-feature__copy p,
.category-page--team .category-feature__list span { color: #dcecff; }

@media (max-width: 850px) {
  .guiding-tours { margin: 0 7vw 72px; }
  .guiding-tours__head { display: block; }
  .guiding-tours__head h2 { margin-top: 18px; text-align: left; }
  .guiding-tours__grid { grid-template-columns: 1fr 1fr; }
  .category-page--ski .offer-detail__grid { grid-template-columns: 1fr; }
  .category-page--mtb .category-gallery__grid,
  .category-page--hvadnik .category-gallery__grid,
  .category-page--ski .category-gallery__grid,
  .category-page--courses .category-gallery__grid,
  .category-page--lectures .category-gallery__grid,
  .category-page--team .category-gallery__grid { grid-template-columns: 1fr 1fr; grid-template-rows: 220px; }
}

@media (max-width: 520px) {
  .guiding-tours__grid { grid-template-columns: 1fr; }
  .category-page--mtb .category-gallery__grid,
  .category-page--hvadnik .category-gallery__grid,
  .category-page--ski .category-gallery__grid,
  .category-page--courses .category-gallery__grid,
  .category-page--lectures .category-gallery__grid,
  .category-page--team .category-gallery__grid { grid-template-columns: 1fr; grid-template-rows: repeat(2, 220px); }
}

/* Streaming-style editorial photo rails */
.category-gallery {
  margin: 0 0 112px;
  padding: 32px 10vw 42px;
  border: 0;
  background: var(--dark);
  color: #fff;
  overflow: hidden;
}

.category-gallery__head { margin-bottom: 26px; }
.category-gallery__head h2 { color: #fff; }
.category-gallery__head h2 em { color: var(--lime); }
.category-gallery__grid {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,.35) transparent;
  padding-bottom: 12px;
}
.category-gallery__grid::-webkit-scrollbar { height: 6px; }
.category-gallery__grid::-webkit-scrollbar-track { background: transparent; }
.category-gallery__grid::-webkit-scrollbar-thumb { background: rgba(255,255,255,.35); border-radius: 99px; }
.category-gallery__item,
.category-page--mtb .category-gallery__item,
.category-page--hvadnik .category-gallery__item,
.category-page--ski .category-gallery__item,
.category-page--courses .category-gallery__item,
.category-page--lectures .category-gallery__item,
.category-page--team .category-gallery__item {
  flex: 0 0 clamp(220px, 27vw, 360px);
  height: 270px;
  grid-row: auto;
  grid-column: auto;
  scroll-snap-align: start;
  border: 1px solid rgba(255,255,255,.16);
}
.category-gallery__item:first-child { flex-basis: clamp(280px, 38vw, 520px); }
.category-gallery__item::after {
  content: '';
  position: absolute;
  inset: 35% 0 0;
  background: linear-gradient(transparent, rgba(2,18,42,.78));
  pointer-events: none;
}
.category-gallery__item::before {
  content: counter(gallery-item, decimal-leading-zero);
  counter-increment: gallery-item;
  position: absolute;
  z-index: 2;
  top: 13px;
  left: 14px;
  color: rgba(255,255,255,.8);
  font-size: 11px;
  letter-spacing: .12em;
}
.category-gallery__grid { counter-reset: gallery-item; }
.category-gallery__item figcaption { z-index: 3; font-size: 11px; }
.category-gallery__item:hover img { transform: scale(1.06); filter: saturate(1.12) brightness(.92); }

@media (max-width: 850px) {
  .category-gallery { margin: 0 0 78px; padding: 26px 7vw 32px; }
  .category-gallery__head { display: block; }
  .category-gallery__head h2 { margin-top: 14px; }
  .category-gallery__grid { gap: 10px; }
  .category-gallery__item,
  .category-gallery__item:first-child { flex-basis: 76vw; height: 230px; }
}

@media (max-width: 520px) {
  .category-gallery__item,
  .category-gallery__item:first-child { flex-basis: 82vw; height: 230px; }
}

.gallery-rail { position: relative; }
.gallery-rail__controls {
  position: static;
  justify-content: flex-end;
  margin-top: 16px;
  display: flex;
  gap: 8px;
}
.gallery-rail__button,
.gallery-lightbox__nav {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255,255,255,.48);
  border-radius: 50%;
  background: rgba(2,18,42,.72);
  color: #fff;
  font-size: 21px;
  line-height: 1;
  cursor: pointer;
  transition: background .2s ease, border-color .2s ease, opacity .2s ease, transform .2s ease;
}
.gallery-rail__button:hover:not(:disabled),
.gallery-lightbox__nav:hover:not(:disabled) { background: var(--green); border-color: var(--lime); transform: translateY(-1px); }
.gallery-rail__button:disabled,
.gallery-lightbox__nav:disabled { opacity: .28; cursor: default; }
.gallery-rail__button:focus-visible,
.gallery-lightbox__nav:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; }

.gallery-lightbox__nav {
  position: fixed;
  z-index: 2;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  background: rgba(2,18,42,.82);
}
.gallery-lightbox__nav:hover:not(:disabled) { transform: translateY(-50%) scale(1.03); }
.gallery-lightbox__prev { left: 24px; }
.gallery-lightbox__next { right: 24px; }
.gallery-lightbox__close:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; }

@media (max-width: 850px) {
  .gallery-rail__controls { top: 26px; right: 7vw; }
  .gallery-rail__button { width: 44px; height: 44px; font-size: 18px; }
  .gallery-lightbox__nav { width: 44px; height: 44px; }
  .gallery-lightbox__prev { left: 10px; }
  .gallery-lightbox__next { right: 10px; }
  .gallery-lightbox__figure { max-width: calc(100vw - 86px); }
  .gallery-lightbox__image { max-width: calc(100vw - 86px); max-height: 72vh; }
}

@media (max-width: 520px) {
  .gallery-rail__controls { top: 25px; }
  .gallery-lightbox { padding: 14px; }
  .gallery-lightbox__nav { top: auto; bottom: calc(22px + env(safe-area-inset-bottom, 0px)); transform: none; }
  .gallery-lightbox__nav:hover:not(:disabled) { transform: scale(1.03); }
  .gallery-lightbox__prev { left: calc(50% - 54px); }
  .gallery-lightbox__next { right: calc(50% - 54px); }
  .gallery-lightbox__figure { max-width: calc(100vw - 28px); }
  .gallery-lightbox__image { max-width: calc(100vw - 28px); max-height: 66vh; }
  .gallery-lightbox__caption { max-width: calc(100vw - 34px); padding-bottom: 58px; }
}


