.video-item {
  cursor: pointer;
  /* background-color: #1a1a1a; */
  background-color: #181a24;
  padding: 10px;
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.3s ease;
  flex: 0 0 220px;
  margin-right: 10px;
}

.carousel-video-item {
  cursor: pointer;
  /* background-color: #1a1a1a; */
  background-color: #181a24;
  padding: 10px;
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.3s ease;
  flex: 0 0 220px;
  margin-right: 30px;
}

.video-item:hover {
  transform: scale(1.1);
}

.preview-container {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 */
  overflow: hidden;
  border-radius: 6px;
}

.preview-container img,
.preview-container video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}


.video-title-with-icon {
  display: flex;
  align-items: center;
  margin-top: 10px;
  gap: 8px;
  color: white;
  font-size: 0.8rem;
}

.icon-placeholder {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  /* background-color: #444;*/
  background-color: ##181a24;
  
  object-fit: cover;
  margin-left: 8px;
}

.score-wrapper {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding-right: 10px;
  width: 30%; /* Adjust width as needed */
  box-sizing: border-box;
}

.score-box {
   /*  display: flex; */ 
  justify-content: flex-end;
  align-items: center;
  width: 30%;
  /* min-width: 120px; */
}

.score-table {
  border-collapse: collapse;
  text-align: center;
  width: auto;
}

.score-table th {
  font-size: 9px;
  font-weight: normal;
  color: white;
  padding-bottom: 4px;
}

.score-table td {
  padding: 4px 10px;
}


/* Base score circle */
.score-circle {
  font-weight: bold;
  font-size: 11px;
  display: flex;
  justify-content: center;
  align-items: center;
  border: 1px solid white;
  border-radius: 50%;
  width: 22px;
  height: 22px;
  background-color: transparent;
  color: white;
}

/* DNQ special styling */
.score-circle.dnq {
  color: #e50914;       /* Eurovision red */
  border-color: #e50914; /* Red border */
  font-size: 10px;       /* Slightly smaller text for DNQ */
}


.video-title-text {
  line-height: 1.2;
  }

.video-title-text a {
  text-decoration: none; /* Remove underline */
  color: inherit;         /* Inherit color from surrounding text */
}

.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.9);
  justify-content: center;
  align-items: center;
}

/* CHOOSE ONE VERSION OF MODAL CONTENT */
.modal-content {
  position: relative;
  max-width: 100%;
  max-height: 100%;
}

.modal-content video,
.modal-content iframe {
  width: 81vw;
  height: 81vh;
}

.close-button {
  position: absolute;
  color: #fff;
  font-weight: bold;
  cursor: pointer;
  font-size: 40px;
  top: -20px;
  right: -20px;
  z-index: 9999;
  border-radius: 50%;
}

.video-title-text::first-line {
  font-size: 0.85rem;
  font-weight: bold;
}

.flag-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background-color: #444;
  object-fit: cover;
  margin-left: 8px;
}

.circle-group {
  display: flex;
  flex-direction: row;
  align-items: center;
  margin-left: auto;
  gap: 4px; /* reduced horizontal gap between SF and F */
}

.circle-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  min-width: 24px;
}

.circle-label {
  font-size: 0.6rem;
  color: #ccc;
  margin-bottom: 12px; /* tighter spacing between label and image */
  line-height: 1;
  text-align: center;
}

.circle-icon {
  width: 24px;       /* 20% smaller than 26px base */
  height: 24px;
  border-radius: 50%;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}

