/* Force each specialty section onto its own full horizontal row */
.specialty-row-block {
  display: block;
  width: 100%;
  flex: 0 0 100%;
  max-width: 100%;
  margin-bottom: 36px;
}

.specialty-row-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding-bottom: 10px;
  margin-bottom: 16px;
  border-bottom: 1px solid #E2E7EE;
}

.specialty-row-title {
  font-family: 'Lexend', sans-serif;
  font-size: 22px;
  font-weight: 500;
  color: #0B1A2E;
  margin: 0;
}

.specialty-view-all {
  font-size: 14px;
  font-weight: 500;
  color: #1F55C9;
  white-space: nowrap;
  text-decoration: none;
}

/* 5 equal video cards across the full row */
.specialty-videos-row {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
  width: 100%;
}

/* Reset any narrow/shrunk card or iframe constraints inside the 5-card row */
.specialty-videos-row .video-mini-card {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  background: #FFFFFF;
  border: 1px solid #E2E7EE;
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.specialty-videos-row .video-mini-media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  background: #0F2A52;
  overflow: hidden;
}

.specialty-videos-row .video-mini-media iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.specialty-videos-row .pop-desc {
  padding: 10px 12px;
  font-size: 13.5px;
  line-height: 1.35;
  word-break: normal;
  overflow-wrap: break-word;
}


@media (max-width: 1199px) {
  .specialty-videos-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 767.98px) {
  .specialty-videos-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
}

@media (max-width: 479.98px) {
  .specialty-videos-row {
    grid-template-columns: 1fr;
  }
}