/* Layout rules recovered from the original Traveler child-theme Custom CSS. */
.jt-ac-page {
  --jt-purple: #6b2cff;
  --jt-purple-dark: #3b168f;
  --jt-purple-soft: #f4efff;
  --jt-dark: #242424;
  --jt-text: #6f6f6f;
  --jt-bg: #fff;
  --jt-soft: #faf8ff;
  --jt-line: #eadfff;
  color: var(--jt-text);
  font-family: "DM Sans", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.75;
}

.jt-ac-page * {
  box-sizing: border-box;
}

.jt-hero-ad,
.jt-footer-ad {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 970px;
  overflow: hidden;
}

.jt-hero-ad {
  margin: 25px auto 35px;
}

.jt-footer-ad {
  margin: 40px auto;
}

.jt-hero-ad ins.adsbygoogle,
.jt-footer-ad ins.adsbygoogle {
  width: 100%;
}

.jt-ac-wrap {
  width: 100%;
  max-width: 1420px;
  margin: 0 auto;
  padding: 28px 16px 70px;
}

.jt-ac-page h1,
.jt-ac-page h2,
.jt-ac-page h3 {
  color: var(--jt-dark);
  font-family: "DM Sans", sans-serif;
  font-weight: 700;
}

.jt-ac-page h1 {
  margin: 0 0 18px;
  font-size: clamp(36px, 4vw, 42px);
  line-height: 1.12;
}

.jt-ac-page h2 {
  margin: 0 0 16px;
  font-size: 28px;
  line-height: 1.25;
}

.jt-ac-page h3 {
  margin: 24px 0 10px;
  font-size: 20px;
  line-height: 1.3;
}

.jt-ac-page p {
  margin: 0 0 15px;
}

.jt-ac-hero {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 46px;
  align-items: center;
  margin-bottom: 28px;
  padding: 46px;
  border: 1px solid var(--jt-line);
  border-radius: 28px;
  background: linear-gradient(135deg, #fff 0%, #fbf8ff 100%);
  box-shadow: 0 18px 45px rgba(107, 44, 255, 0.08);
}

.jt-ac-kicker {
  display: inline-block;
  margin-bottom: 14px;
  padding: 7px 14px;
  border-radius: 999px;
  color: var(--jt-purple);
  background: var(--jt-purple-soft);
  font-size: 14px;
  font-weight: 700;
}

.jt-ac-lead {
  color: #555;
  font-size: 18px;
}

/* Slike */
.jt-ac-hero-image,
.jt-ac-photo-card,
.jt-ac-gallery-row figure {
  width: 100%;
  margin: 0;
}

.jt-ac-hero-image a,
.jt-ac-photo-card a,
.jt-ac-gallery-row a {
  display: block;
  width: 100%;
  overflow: hidden;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 16px 42px rgba(107, 44, 255, 0.14);
  line-height: 0;
}

.jt-ac-hero-image a {
  height: 360px;
}

.jt-ac-photo-card a {
  height: 330px;
}

.jt-ac-gallery-row a {
  height: 260px;
}

.jt-ac-hero-image img,
.jt-ac-photo-card img,
.jt-ac-gallery-row img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.35s ease;
}

.jt-ac-hero-image a:hover img,
.jt-ac-photo-card a:hover img,
.jt-ac-gallery-row a:hover img {
  transform: scale(1.055);
}

/* Gridovi i kartice */
.jt-ac-info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin: 28px 0;
}

.jt-ac-info-card {
  padding: 24px;
  border: 1px solid var(--jt-line);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 12px 35px rgba(107, 44, 255, 0.06);
}

.jt-ac-info-card span {
  display: block;
  margin-bottom: 12px;
  font-size: 30px;
}

.jt-ac-info-card h2 {
  margin-bottom: 8px;
  font-size: 20px;
}

.jt-ac-block,
.jt-ac-faq-block,
.jt-ac-conclusion {
  margin-bottom: 22px;
  padding: 34px;
  border: 1px solid var(--jt-line);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 12px 35px rgba(107, 44, 255, 0.05);
}

.jt-ac-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 34px;
  align-items: center;
}

.jt-ac-gallery-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 24px 0;
}

.jt-ac-gallery-three {
  grid-template-columns: repeat(3, 1fr);
}

/* Liste */
.jt-ac-list {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.jt-ac-list li {
  position: relative;
  padding: 9px 0 9px 32px;
  border-bottom: 1px solid #f2ecff;
}

.jt-ac-list li:last-child {
  border-bottom: 0;
}

.jt-ac-list li::before {
  position: absolute;
  top: 9px;
  left: 0;
  color: var(--jt-purple);
  content: "✓";
  font-weight: 700;
}

.jt-ac-list-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 24px;
}

.jt-ac-note {
  margin-top: 18px;
  padding: 18px 20px;
  border-left: 5px solid var(--jt-purple);
  border-radius: 16px;
  color: #4a4a4a;
  background: var(--jt-purple-soft);
}

/* FAQ */
.jt-ac-faq-block details {
  margin-bottom: 12px;
  padding: 16px 18px;
  border: 1px solid var(--jt-line);
  border-radius: 16px;
  background: #fff;
}

.jt-ac-faq-block summary {
  color: var(--jt-dark);
  cursor: pointer;
  font-weight: 700;
}

.jt-ac-faq-block details p {
  margin-top: 12px;
}

/* Zaključak */
.jt-ac-conclusion {
  color: #fff;
  background: linear-gradient(135deg, var(--jt-purple-dark), var(--jt-purple));
  box-shadow: 0 18px 45px rgba(107, 44, 255, 0.22);
}

.jt-ac-conclusion h2,
.jt-ac-conclusion p {
  color: #fff;
}

/* Lightbox */
.jt-ac-lightbox {
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(20, 14, 35, 0.88);
}

.jt-ac-lightbox:target {
  display: flex;
}

.jt-ac-lightbox img {
  max-width: 92vw;
  max-height: 86vh;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
}

.jt-ac-close {
  position: absolute;
  top: 24px;
  right: 32px;
  border: 0;
  color: #fff !important;
  background: transparent;
  cursor: pointer;
  font-size: 46px;
  font-weight: 300;
  line-height: 1;
  text-decoration: none;
}


@media (max-width: 900px) {
  .jt-ac-hero,
  .jt-ac-split,
  .jt-ac-info-grid,
  .jt-ac-gallery-row,
  .jt-ac-gallery-three,
  .jt-ac-list-grid {
    grid-template-columns: 1fr;
  }

  .jt-ac-split-reverse figure {
    order: 2;
  }

  .jt-ac-wrap {
    padding: 18px 14px 50px;
  }

  .jt-ac-hero,
  .jt-ac-block,
  .jt-ac-faq-block,
  .jt-ac-conclusion {
    padding: 24px;
    border-radius: 22px;
  }

  .jt-ac-page h1 {
    font-size: 34px;
  }

  .jt-ac-page h2 {
    font-size: 26px;
  }

  .jt-ac-hero-image a,
  .jt-ac-photo-card a,
  .jt-ac-gallery-row a {
    height: 240px;
  }
}


