.elementor-8606 .elementor-element.elementor-element-3c48f0af{--display:flex;overflow:visible;}/* Start custom CSS for html, class: .elementor-element-5f153ae */.am-bih-ref {
  --am-blue: #28569a;
  --am-dark: #1f252a;
  --am-text: #4b5563;
  --am-muted: #737c86;
  --am-border: #e3e8ee;
  --am-light: #f4f6f9;

  width: 100%;
  padding: 40px 0;
  font-family: inherit;
}


/* ZAJEDNIČKI NASLOV */

.am-bih-ref__header {
  padding: 32px 34px;
  border-radius: 18px;
  background: var(--am-dark);
}

.am-bih-ref__header > span {
  display: block;
  margin-bottom: 9px;
  color: #91b5e8;
  font-size: 10px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.am-bih-ref__header h2 {
  margin: 0 0 12px;
  color: #ffffff;
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.1;
  font-weight: 800;
}

.am-bih-ref__header p {
  max-width: 720px;
  margin: 0;
  color: rgba(255, 255, 255, 0.66);
  font-size: 14px;
  line-height: 1.6;
}


/* LISTA MAŠINA */

.am-bih-machine-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 18px;
}

.am-bih-machine-row {
  display: grid;
  grid-template-columns: minmax(190px, 0.42fr) minmax(0, 1.58fr);
  align-items: center;
  gap: 20px;
  padding: 18px;
  border: 1px solid var(--am-border);
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 8px 25px rgba(15, 23, 42, 0.04);
}


/* NAZIV MAŠINE */

.am-bih-machine-title {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.am-bih-machine-title > span {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 6px;
  background: var(--am-blue);
  color: #ffffff;
  font-size: 10px;
  line-height: 1;
  font-weight: 800;
}

.am-bih-machine-title h3 {
  margin: 1px 0 5px;
  color: var(--am-dark);
  font-size: 21px;
  line-height: 1.2;
  font-weight: 800;
}

.am-bih-machine-title p {
  margin: 0;
  color: var(--am-muted);
  font-size: 11px;
  line-height: 1.45;
}


/* ODVOJENE GALERIJE */

.am-bih-gallery {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 10px;
  min-width: 0;
}

.am-bih-image {
  position: relative;
  flex: 0 0 145px;
  display: block;
  width: 145px;
  aspect-ratio: 1 / 1;
  margin: 0;
  padding: 0;
  border: 1px solid var(--am-border);
  border-radius: 10px;
  background: var(--am-light);
  overflow: hidden;
  cursor: zoom-in;
  text-decoration: none !important;
}

.am-bih-image img {
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  object-fit: cover;
  transition: transform 0.25s ease;
}

.am-bih-image:hover img {
  transform: scale(1.045);
}

.am-bih-image::after {
  content: "+";
  position: absolute;
  right: 8px;
  bottom: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  background: rgba(17, 24, 39, 0.78);
  color: #ffffff;
  font-size: 16px;
  line-height: 1;
  pointer-events: none;
  opacity: 0;
  transform: translateY(4px);
  transition:
    opacity 0.2s ease,
    transform 0.2s ease;
}

.am-bih-image:hover::after {
  opacity: 1;
  transform: translateY(0);
}

.am-bih-image:focus-visible {
  outline: 3px solid var(--am-blue);
  outline-offset: 3px;
}


/* TABLET */

@media (max-width: 1024px) {
  .am-bih-machine-row {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .am-bih-image {
    flex-basis: 135px;
    width: 135px;
  }
}


/* MOBITEL */

@media (max-width: 767px) {
  .am-bih-ref {
    padding: 26px 0;
  }

  .am-bih-ref__header {
    padding: 27px 20px;
    border-radius: 15px;
  }

  .am-bih-ref__header h2 {
    font-size: 28px;
  }

  .am-bih-machine-row {
    padding: 14px;
    border-radius: 12px;
  }

  .am-bih-machine-title h3 {
    font-size: 19px;
  }

  .am-bih-gallery {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .am-bih-image {
    width: 100%;
    aspect-ratio: 1 / 1;
  }

  .am-bih-image::after {
    opacity: 1;
    transform: none;
  }
}/* End custom CSS */