.discover-beats-feed {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px;
  background-color: #f5f5f5;
}

.beat-card {
  width:  33vw;
  margin: 20px auto;
}


.beat-actions .fas {
  font-size: 21px; /* icon size */
  color: #3f3f3f; /* icon color */
  margin-left: 4px; /* space between icon and count */
}

.beat-actions .count {
  font-size: 14px; /* count text size */
  color: #000000; /* count text color */
  margin-left: 2px; /* space between icon and count */
  font-weight: 600;
}
.username-link {
  color: #000000;
  font-weight: 600;
  text-decoration: none;
  margin-left: 8px; /* adds space between pic and username */
}


.username-link:hover {
  text-decoration: underline; /* optional: adds underline on hover */
}
.profile-pic-wrapper {
  padding: 3px;
  background: linear-gradient(45deg, #000000, #333333, #4CAF50); /* black, grey, green */
  border-radius: 50%;
  display: inline-block;
}
.beat-card-header {
  display: flex;
  align-items: center;
  margin-bottom: 12px; /* adds space between header and post content */
background-color: #eceded;

}
.beat-card-header .profile-pic {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

.beat-media {
  position: relative;
  width: 100%;
  padding-bottom: 0%;
  overflow: hidden;
}
.beat-media {
  height: auto;
}
@media (min-width: 1280px) and (max-width: 1440px) {
.beat-card {
    width: 54vw;
    margin: 20px auto;
}
}

@media (min-width: 917px) and (max-width: 1279px) {
.beat-card {
    width: 50vw;
    margin: 20px auto;
}
}

@media (min-width: 776px) and (max-width: 916px) {
.beat-card {
    width: 70vw;
    margin: 20px auto;
}
}

/* Small tablets */
@media (min-width: 600px) and (max-width: 600px) {
    .beat-card {
        width: 82vw;
    margin: 20px auto;
    }
}
/* Small tablets */
@media (min-width: 912px) and (max-width: 912px) {
.beat-actions .fas {
    font-size: 35px;
    color: #3f3f3f;
    margin-left: 4px;
}
}
@media (max-width: 820px) {
  .beat-card {
    width: 73vw;
  }
}
@media (max-width: 768px) {
  .beat-card {
    width: 73vw;
  }
}
@media (max-width: 767px) {
  .beat-card {
    width: 100%;
  }
}
@media (max-width: 540px) {
  .beat-card {
    width: 73vw;
  }
}
@media (max-width: 412px) {
  .beat-card {
    width: 100%;
  }
}
.post-button-container .far {
    font-size: 45px !important;
    color: #0d3127;
    margin-left: 4px;
	position: relative;
	z-index: 2000;
}
.beat-media img {
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.beat-actions .view-button,
.beat-actions .purchase-button {
  border-radius: 3px;
  background-color: white;
  color: #005134;
   font-weight: 500;
  border: 1px solid #005134;
  margin-left: 5px; /* Adjust spacing between buttons */
}

.beat-actions .view-button:hover,
.beat-actions .purchase-button:hover {
  background-color: #e6f0ff; /* Light blue hover effect */
}
:root {
  --caption-padding: 10px;
  --actions-padding: 20px;
  --icon-size: 35px;
  --icon-margin: 10px;
}

.beat-caption {
  padding: var(--caption-padding);
background-color: #eceded;

}

.beat-caption b {
  font-weight: bold;
  margin-right: 5px;
}

.beat-caption small {
  color: #666;
  font-size: 12px;
}

.beat-actions {
  padding: var(--actions-padding);
  border-top: 1px solid #ddd;
}

.beat-actions i {
  font-size: var(--icon-size);
  margin-right: var(--icon-margin);
  cursor: pointer;
}

.beat-actions i + i {
  margin-left: 15px;
}

.post-button-container {
  position: fixed;
  bottom: 55px;
  left: 0;
  width: 100%;
  text-align: center;
  padding: 0px;
  background-color: rgb(253 253 253 / 84%);
  z-index: 2000;
}

@media (max-width: 768px) {
  :root {
    --caption-padding: 5px;
    --actions-padding: 15px;
    --icon-size: 25px;
  }
}

@media (min-width: 280px) and (max-width: 280px) {
#autocomplete-results-container {
    position: absolute;
    top: 100%;
    left: 6px;
    background-color: #030303;
    border: 1px solid #ddd;
    padding: 10px;
    width: 267px;
    max-height: 300px;
    overflow-y: auto;
    box-shadow: 0px 0px 10px rgb(0 0 0 / 10%);
    z-index: 1000;
}
}
.feed-container {
  padding: 5px;
  background-color: #3a3a3a;
  border: 1px solid #000;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
.feed-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
}

.feed-post {
  position: relative;
  padding-bottom: 100%;
}

.feed-post img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (min-width: 320px) and (max-width: 350px) {
  .feed-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

@media (min-width: 280px) and (max-width: 280px) {
  .feed-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
@media (min-width: 360px) {
  .feed-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}
@media (min-width: 375px) {
  .feed-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}
@media (min-width: 414px) {
  .feed-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}
@media (min-width: 480px) {
  .feed-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}
@media (min-width: 600px) {
  .feed-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}
@media (min-width: 768px) {
  .feed-grid {
    grid-template-columns: repeat(6, 1fr);
  }
}
@media (min-width: 1024px) {
  .feed-grid {
    grid-template-columns: repeat(7, 1fr);
  }
}
@media (min-width: 1280px) {
  .feed-grid {
    grid-template-columns: repeat(7, 1fr);
  }
}
body.modal-open {
    overflow: hidden;
}
.comments-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
   z-index: 1000;
}

.comments-modal .modal-content {
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    width: 80%;
    max-height: 80vh;
    overflow-y: hidden; /* change to hidden */
    display: flex;
    flex-direction: column;
}
.comment .profile-pic {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 10px;
}
.comments-modal .comments-container {
    max-height: 230px; /* adjust height as needed */
    overflow-y: auto;
}
.comments-modal .close {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 24px;
  cursor: pointer;
}

.reply-modal .replies-container {
    max-height: 180px; /* adjust height as needed */
    overflow-y: auto;
}
.reply-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.reply-modal .modal-content {
  background-color: #fff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
  width: 80%;
  max-height: 80vh;
  overflow-y: auto;
}
.view-more-comments {
  cursor: pointer;
  color: #1a2b21;
  border: none;
  background-color: transparent;
  padding: 1px;
}

.original-comment {
  background-color: #f0f0f0;
  padding: 10px;
  border-left: 3px solid #ccc;
}
.reply-modal .profile-pic,
.original-comment .profile-pic {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 10px;
}
.comment, .reply {
  display: flex;
  align-items: flex-start;
  padding: 0px;
  border-bottom: 1px solid #e6e6e6;
}

.comment .profile-pic, .reply .profile-pic {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  margin-right: 10px;
}

.reply-button {
  font-size: 12px;
  color: #8e8e8e;
  background: none;
  border: none;
  padding: 0 0 0 10px;
  cursor: pointer;
}

.reply-button:hover {
  color: #333;
}

.comments-modal .modal-content {
  border-radius: 12px;
  padding: 16px;
    z-index: 1000;
}
}

.original-comment {
  border-left: 2px solid #ddd;
  padding-left: 10px;
  margin-bottom: 10px;
}
/* Mobile-friendly adjustments */
@media (max-width: 768px) {
  .comments-modal .modal-content {
    width: 90%;
    padding: 10px;
  }

  .reply-button {
    font-size: 14px;
    padding: 4px 8px;
  }

  .comment .profile-pic {
    width: 20px;
    height: 20px;
  }
.comment a, .comments-modal a, .reply-modal a {
  color: #000000; /* black */
  font-weight: 600; /* slightly bold */
  text-decoration: none;
}

.comment a:hover, .comments-modal a:hover, .reply-modal a:hover {
  text-decoration: underline;
}
.feed-owl-carousel .owl-nav, 
.feed-owl-carousel .owl-dots {
  display: none;
}
.owl-carousel .owl-item img {
  width: 100%;
  height: auto;
  display: block;
}
.image-indicator {
  position: absolute;
  top: 10px;
  right: 10px;
  background-color: rgb(7 49 13 / 50%);
  color: #fff;
  padding: 5px 10px;
  border-radius: 5px;
  font-size: 14px;
  z-index: 999;
}
