.banner-image {
  background-image: none;
  overflow: hidden;
  position: relative;
}

.banner-image::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('Slike/Materijali/background.webp');
  background-size: cover;
  background-position: center 60%;
  background-repeat: no-repeat;
  transform: scale(1.35);
  z-index: 0;
}

.banner-image > * {
  position: relative;
  z-index: 1;
}

.sadrzaj {
  border-top: none;
  border-bottom: darkgray 1px solid;
}

/* Renolit section */
.mat-renolit-section {
  background: var(--site-bg, #0d1117);
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 3rem 0;
}

.mat-renolit-card-wrap {
  display: flex;
  justify-content: center;
  margin-top: 1.5rem;
}

.mat-renolit-card-wrap .sc-doc-card {
  width: 220px;
}

/* Renolit badges */
.rn-badges {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin: 1.5rem 0 2rem;
  text-align: left;
}

@media (max-width: 767px) { .rn-badges { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 479px) { .rn-badges { grid-template-columns: 1fr; } }

.rn-badge {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 10px;
  padding: 0.9rem 1rem;
}

.rn-badge-icon {
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(0,160,100,0.15);
  border: 1px solid rgba(0,160,100,0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #00a064;
  font-size: 0.95rem;
}

.rn-badge-body {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.rn-badge-body strong {
  color: #fff;
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.3;
}

.rn-badge-body span {
  color: rgba(255,255,255,0.55);
  font-size: 0.75rem;
  line-height: 1.4;
}

/* Brand logos section */
.mat-brands-section {
  background: var(--site-bg, #0d1117);
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 3rem 0 4rem;
}

.mat-brands-title {
  color: #fff;
  font-size: 1.75rem;
  font-weight: 600;
  text-align: center;
  margin-bottom: 0.5rem;
}

.mat-brands-desc {
  color: rgba(255,255,255,0.6);
  font-size: 0.95rem;
  text-align: center;
  margin-bottom: 0.25rem;
}

.mat-brands-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}

@media (max-width: 767px) {
  .mat-brands-grid { grid-template-columns: repeat(2, 1fr); }
}

.mat-brand-item {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border-radius: 10px;
  padding: 1.25rem;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
}

.mat-brand-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
}

.mat-brand-item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: none;
}
