.live-indicator {
  display: none;
  font-weight: bold;
  color: red;
  position: relative;
}

.live-indicator::before {
  content: "";
  display: inline-block;
  width: 10px;
  height: 10px;
  background-color: red;
  border-radius: 50%;
  margin-right: 5px;
  animation: pulsate 1s infinite;
}

@keyframes pulsate {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.5);
    opacity: 0.5;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.status-updates {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  column-gap: 10px;
  row-gap: 10px;
}

.status-updates-carousel-container .status-update {
  display: flex;
  flex-direction: row;
  align-items: center;
  column-gap: 10px;
  flex-grow: 1;
  flex-basis: 300px;
  padding: 10px;
  border-radius: 5px;
  background-color: var(--base-2);
}

.status-updates-carousel-container .status-update-thumbnail-container {
  width: 100px;
  height: 100px;
  flex-shrink: 0;
}

.status-updates-carousel-container .status-update-thumbnail img {
  width: 100px;
  height: 100px;
  flex-shrink: 0;
  border-radius: 100px;
  height: 100px;
  object-fit: cover;
  vertical-align: middle;
}

.status-updates-carousel-container .status-update-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  flex-flow: column-reverse;
  justify-content: center;
  height: 100%;
}

.status-updates-carousel-container .status-update-meta {
  display: flex;
  justify-content: space-between;
  width: 100%;
}

.status-updates-carousel-container .status-update-date {
  color: #666;
  padding: 0;
  margin: 0;
  font-size: 14px;
}

.status-updates-carousel-container .status-update-title {
  font-size: 16px;
  font-weight: 700;
  padding-top: 0px;
  padding-bottom: 0px;
  margin-bottom: 0px;
}

.status-updates-carousel-container .status-update-title a {
  color: #0073aa;
  text-decoration: none;
}

.status-updates-carousel-container .status-update-title a:hover {
  text-decoration: underline;
}

.status-updates-carousel-container .status-update-excerpt {
  font-size: 0.9em;
  color: #333;
}

.status-updates-carousel-container .status-update-tags {
  display: flex;
  justify-content: space-between;
  width: 100%;
}

.status-updates-carousel-container .status-update-tag {
  background-color: #0073aa;
  color: #fff;
  padding: 2px 8px;
  border-radius: 3px;
  font-size: 0.8em;
}

.status-updates-carousel-container .status-update-lock {
  color: #888;
  margin-left: 10px;
}

.status-updates-carousel-container span.tag {
  margin: 0;
  padding: 3px;
  font-size: 14px;
}

.status-updates-carousel-container span.tag.travel-update {
  background-color: #52c5ff;
  color: white;
}

.status-updates-carousel-container span.tag.new-video {
  background-color: #fc3a87;
  color: white;
}
.status-updates-carousel-container span.tag.new-article {
  background-color: #888;
  color: #eee;
}

.status-updates-carousel-container p.nostyle {
  color: #666;
  padding: 0;
  margin: 0;
  font-size: 14px;
}

.status-updates-carousel-container {
  position: relative;
  overflow: hidden;
  display: flex;
}

.status-updates-carousel {
  display: flex;
  overflow-x: scroll;
  scroll-snap-type: x mandatory;
  scrollbar-width: none; /* Hide scrollbar for Firefox */
  -ms-overflow-style: none; /* Hide scrollbar for IE and Edge */
}

.status-updates-carousel::-webkit-scrollbar {
  display: none; /* Hide scrollbar for Chrome, Safari, and Opera */
}

.status-updates-carousel .status-update {
  flex: 0 0 300px;
  scroll-snap-align: start;
  margin-right: 10px;
}

.carousel-control {
  position: absolute;
  top: 0;
  bottom: 0;
  background-color: rgba(
    112,
    202,
    248,
    0.8
  ); /* Change color to #70caf8 with some transparency */
  color: white;
  border: none;
  width: 50px; /* Adjust width as needed */
  cursor: pointer;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;

  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(
    112,
    202,
    248,
    0.8
  ); /* Change color to #70caf8 with some transparency */
  color: white;
  border: none;
  padding: 10px; /* Adjust padding for smaller controls */
  cursor: pointer;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-control-left {
  left: 10px;
  border-radius: 20px;
}

.carousel-control-right {
  right: 10px;
  border-radius: 20px;
}

.carousel-control.inactive {
  background-color: rgba(
    200,
    200,
    200,
    0.8
  ); /* Grey color for inactive state */
  cursor: not-allowed;
}

@media (max-width: 768px) {
  .status-updates-carousel {
    flex-direction: column;
    overflow-y: scroll;
    scroll-snap-type: y mandatory;
    max-height: calc(100vh - 100px); /* Adjust based on your layout */
  }

  .status-updates-carousel .status-update {
    margin-bottom: 10px;
  }

  .carousel-control {
    display: none; /* Hide controls on mobile */
  }

  .status-updates-carousel-container::before,
  .status-updates-carousel-container::after {
    display: none; /* Hide gradient on mobile */
  }
}

.status-updates-carousel-container::before,
.status-updates-carousel-container::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 100px; /* Increase the width for a more prominent fade-out */
  pointer-events: none;
  z-index: 1;
}

.status-updates-carousel-container::before {
  left: 0;
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 1),
    rgba(255, 255, 255, 0)
  );
}

.status-updates-carousel-container::after {
  right: 0;
  background: linear-gradient(
    to left,
    rgba(255, 255, 255, 1),
    rgba(255, 255, 255, 0)
  );
}
/* DEBUG show status update red in archives
 Status Updates in Archive View 
body.archive .status-update,
body.blog .status-update,
body.category .status-update {
  border: 3px solid red;
}*/

/* button to show content type */

.content-type-label {
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 0.85em;
}

.type-travel-update {
  background-color: #52c5ff;
  color: white;
}

.type-blog-post {
  background-color: #888;
  color: white;
}
