@charset "utf-8";
/* ---------- Figure / Hero ---------- */
figure {
  margin: 0;
  height: 500px;
  width: 100%;
  position: relative;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  z-index: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
}
figure::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.25);
  z-index: 1;
}
figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 60%;
  display: block;
}
/* ---------- Hero text in figure ---------- */
junakbesedilo {
  position: absolute;
  z-index: 2;
  width: 100%;
  max-width: 1250px;
  padding-left: 20px;
  padding-right: 20px;
  box-sizing: border-box;
  left: 50%;
  bottom: 115px;
  transform: translate(-50%, -10px);
  text-align: left;
  color: white;
}
nadnaslov, glavninaslov, podnaslov {
	text-shadow:
  0 1px 2px rgba(0, 0, 0, 0.55),
  0 0 4px rgba(0, 0, 0, 0.35),
  0 0 1px rgba(0, 0, 0, 0.8);
	display:block;
}
nadnaslov {
  margin: 0 0 12px 0;
  font-size: 15px;
  line-height: 1.3;
  font-weight: 800;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: white;
  opacity: 0.9;
}
glavninaslov {
  margin: 0;
  max-width: 560px;
  font-size: 40px;
  line-height: 1.1;
  font-weight: 800;
  color: white;
  text-align: left;
}
podnaslov {
  margin: 18px 0 0 0;
  max-width: 560px;
  font-size: 18px;
  line-height: 1.45;
  font-weight: 500;
  color: white;
  opacity: 0.95;
}
/* ---------- Hero buttons ---------- */
gumbi {
  display: flex;
  justify-content: flex-start;
  gap: 15px;
  margin-top: 24px;
}
gumb1, gumb2 {
  display: block;
}
gumb1 a, gumb2 a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 13px 24px;
  border-radius: 4px;
  box-sizing: border-box;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1px;
  text-decoration: none;
  color: white;
  box-shadow: 6px 12px 12px hsl(0deg 0% 0% / 0.31);
  transition: 0.15s ease;
}
gumb1 a, gumb2 a {
  background: #16324A;
  color: white;
  border-top: 1px solid rgba(255, 255, 255, 0.25);
}
gumb1 a:hover, gumb2 a:hover {
  opacity: 0.85;
  transform: scale(0.96);
  transition: 0.25s ease;
  box-shadow: 4.9px 9.8px 9.8px hsl(0deg 0% 0% / 0.35);
}
gumb1 a:active, gumb2 a:active {
  transform: scale(0.93);
}
@media only screen and (max-width: 770px) {
  figure {
    height: 500px;
  }
  nadnaslov {
    font-size: 12px;
    line-height: 1.25;
    letter-spacing: 3px;
    margin-bottom: 10px;
  }

  glavninaslov {
    font-size: clamp(28px, 8.2vw, 36px);
    line-height: 1.12;
    max-width: 380px;
  }

  podnaslov {
    font-size: clamp(15px, 4vw, 18px);
    line-height: 1.35;
    max-width: 380px;
    margin-top: 16px;
  }
}