.videos-page {
  margin-top: 1.5rem;
  margin-bottom: 3rem;
	
}

.videos-page .videos-category {
  margin-bottom: 2.5rem;]
	
}

.videos-page .videos-category-title {
  font-size: 1.2rem;
  line-height: 1.3;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid #e5e7eb;
  position: relative;
}

.videos-page .videos-category-title:before {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 180px;
  max-width: 40%;
  height: 3px;
  background: #ce2025;
}

.videos-page .videos-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

@media (min-width: 576px) {
  .videos-page .videos-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 992px) {
  .videos-page .videos-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.videos-page .video-machine {
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 4px;
  overflow: hidden;
}

.videos-page .video-machine-media {
  display: block;
  background: #ffffff;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.videos-page .video-machine-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 0.75rem;
}

.videos-page .video-machine-body {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  padding: 1rem 1rem 1.15rem;
  gap: 0.35rem;
}

.videos-page .video-machine-manufacturer {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #004d7e;
}

.videos-page .video-machine-model {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.25;
  color: #0f172a;
}

.videos-page .video-machine-code {
  margin: 0 0 0.75rem;
  font-size: 0.8rem !important;
  color: #4000000;
}

.videos-page .video-machine-specs {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 1rem;
  row-gap: 0.25rem;
  margin: 0 0 0.75rem;
  font-size: 0.8rem;
}

.videos-page .video-machine-specs dt {
  margin: 0;
  font-weight: 700;
  color: #004d7e;
  text-align: left;
}

.videos-page .video-machine-specs dd {
  margin: 0;
  color: #475569;
  text-align: right;
}

.videos-page .video-machine-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: auto;
  width: 100%;
  min-height: 42px;
  padding: 0.65rem 1rem;
  border-radius: 4px;
  background: #004d7e;
  color: #fff !important;
  font-size: 0.875rem;
  font-weight: 600;
  text-align: center;
  text-decoration: none !important;
  transition: background-color 0.15s ease;
}

.videos-page .video-machine-cta:hover,
.videos-page .video-machine-cta:focus {
  background: #ce2025;
  color: #fff !important;
}

.videos-page .videos-empty {
  margin: 1rem 0 2rem;
  color: #64748b;
}
