/* Obrazac „Kroz poslove“. Vrijedi samo na stranicama s .kroz-page. */

body:has(.kroz-page) .pre-footer { display: none; }

.kroz-page {
  color: var(--ink-900);
}

.kroz-page h1 {
  font-size: 36px;
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0;
  max-width: 16em;
}

.kroz-page h2 {
  font-size: 28px;
  line-height: 1.25;
  font-weight: 650;
  letter-spacing: -0.02em;
  margin: 0 0 21px;
}

.kroz-page h3 {
  font-size: 18px;
  line-height: 1.3;
  font-weight: 650;
  margin: 0 0 8px;
}

.kroz-page [hidden] { display: none !important; }

.kroz-hero { padding: 55px 0 21px; }

.kroz-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 34px;
  align-items: end;
}

.kroz-eyebrow {
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--cta);
}

.kroz-lead {
  margin: 0;
  font-size: 18px;
  line-height: 1.5;
  color: var(--ink-700);
}

.kroz-showcase { padding: 21px 0 55px; }

.kroz-showcase-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.69fr) minmax(0, 1.61fr);
  gap: 27px;
  align-items: start;
}

.kroz-jobs {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.kroz-job {
  display: block;
  width: 100%;
  margin: 0;
  padding: 14px 16px;
  border: 0;
  border-left: 3px solid transparent;
  border-radius: 0 6px 6px 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.kroz-job:hover { background: #f4f8f7; }

.kroz-job[aria-pressed="true"],
.kroz-job--static {
  background: #edf4f2;
  border-left-color: #147a6c;
}

.kroz-job--static { cursor: default; }
.kroz-job--static:hover { background: #edf4f2; }

.kroz-job-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--ink-900);
}

.kroz-job-title svg { flex: 0 0 auto; color: var(--cta); }

.kroz-job-text {
  display: block;
  margin-top: 4px;
  font-size: 14px;
  line-height: 1.45;
  color: var(--ink-700);
}

.kroz-preview-head {
  display: flex;
  align-items: center;
  min-height: 28px;
  margin-bottom: 10px;
}

.kroz-screen-title {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.35;
}

.kroz-figure { margin: 0; }

.kroz-shot {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
  font: inherit;
  text-align: left;
}

.kroz-shot img,
.kroz-figure img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid #dbe5e2;
  border-radius: 5px;
  box-shadow: 0 8px 24px rgba(16, 24, 32, 0.06);
}

body.kroz-zoom-open { overflow: hidden; }

.kroz-zoom {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(16, 24, 32, 0.48);
  opacity: 0;
  transition: opacity 320ms ease;
}

.kroz-zoom.is-open { opacity: 1; }

.kroz-zoom img {
  position: fixed;
  z-index: 81;
  margin: 0;
  max-width: none;
  border: 0;
  border-radius: 5px;
  background: #fff;
  box-shadow: 0 24px 80px rgba(16, 24, 32, 0.28);
  object-fit: contain;
  transition: left 320ms cubic-bezier(.16, 1, .3, 1), top 320ms cubic-bezier(.16, 1, .3, 1), width 320ms cubic-bezier(.16, 1, .3, 1), height 320ms cubic-bezier(.16, 1, .3, 1);
}

.kroz-zoom-x {
  position: fixed;
  top: 16px;
  right: 16px;
  z-index: 82;
  width: 40px;
  height: 40px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 20px;
  background: #fff;
  color: var(--ink-900);
  font: inherit;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
}

.kroz-zoom-x:hover { background: var(--mint-hover); }

@media (prefers-reduced-motion: reduce) {
  .kroz-zoom,
  .kroz-zoom img { transition: none; }
}

.kroz-figure figcaption {
  margin-top: 10px;
  font-size: 14px;
  line-height: 1.45;
  color: var(--ink-700);
}

.kroz-showcase--text .kroz-showcase-grid {
  grid-template-columns: minmax(0, 1fr);
}

.kroz-showcase--text .kroz-jobs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 21px;
}

.kroz-details {
  background: #edf4f2;
  border-block: 1px solid #dbe5e2;
  padding: 55px 0;
}

.kroz-details-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 27px;
}

.kroz-details-grid > article:last-child:nth-child(3n + 1) {
  grid-column: 1 / -1;
  max-width: 46rem;
}

.kroz-details p,
.kroz-more p,
.kroz-notes p {
  margin: 0;
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink-700);
}

.kroz-more { padding: 55px 0 13px; }

.kroz-notes { padding: 34px 0 13px; }

.kroz-note { max-width: 46rem; }

.kroz-note p + p { margin-top: 12px; }

.kroz-price { padding: 34px 0 21px; }

.kroz-price-lead {
  margin: 0 0 16px;
  max-width: 40rem;
  color: var(--ink-700);
}

.kroz-price .price-box { margin-top: 0; }

.kroz-contact { padding: 34px 0 55px; }

.kroz-contact-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 27px;
}

.kroz-contact h2 { margin-bottom: 8px; }

.kroz-contact p {
  margin: 0;
  max-width: 36rem;
  color: var(--ink-700);
  font-size: 17px;
  line-height: 1.5;
}

@media (max-width: 800px) {
  .kroz-page h1 { font-size: 31px; }
}

@media (max-width: 640px) {
  .kroz-page .container { padding-inline: 18px; }
  .kroz-page h1 { font-size: 32px; }
  .kroz-page h2 { font-size: 24px; }
  .kroz-hero { padding-top: 34px; }
  .kroz-hero-grid,
  .kroz-showcase-grid,
  .kroz-details-grid,
  .kroz-showcase--text .kroz-jobs {
    grid-template-columns: minmax(0, 1fr);
  }
  .kroz-showcase--text .kroz-jobs {
    display: flex;
    flex-direction: column;
  }
  .kroz-lead { font-size: 17px; }
  .kroz-contact-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}
