.sites-cards-container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}

.site-card {
  border: 1px solid #314650;
  border-radius: 8px;
  /* padding: 15px; */
  flex: 1;
  max-width: 363px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  text-align: center;
  background-color: #242f38;
  justify-content: space-between;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.site-card-header-wrapper {
  display: flex;
  margin-bottom: 15px;
  background-color: #1d272c;
  flex-direction: column;
  align-items: center;
}

.site-card-header-right-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.site-card .site-logo-wrapper {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  /* border: 2px solid #000; */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  background: black;
  margin: 20px;
  transform: scale(0.9);
  padding: 10px;
}

.site-card img.site-logo {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.site-card .site-name {
  font-size: 18px;
  margin-top: 10px;
  margin-bottom: 0;
  color: white;
}

.site-card .site-description {
  font-size: 14px;
  color: #555;
  margin-bottom: 20px;
  color: #477d92;
  font-weight: bold;
  padding: 10px 15px;
  justify-content: center; 
  display: flex;
  height: 100%;
}

.site-card .site-rating {
  font-size: 20px;
  margin-bottom: 20px;
  border: 1px dashed #61b9ce;
  border-radius: 15px;
  padding: 0 10px;
  background-color: #31465057;
}

.site-card .site-link {
  display: inline-block;
  padding: 10px 20px;
  background-color: #0073aa;
  color: #fff;
  border-radius: 4px;
  text-decoration: none;
}

.site-card .site-link:hover {
  background-color: #005177;
}

.site-card .star {
  display: inline-block;
  font-size: 20px; /* Adjust size as needed */
  position: relative;
}

.site-card .star.filled {
  color: #6bd0e9; /* Color for filled stars */
}

.site-card .star:not(.filled) {
  color: #6bd0e9; /* Color for empty stars */
}

.site-card .star.half {
  color: #6bd0e9; /* Make star invisible */
  position: relative;
}

.site-card .star.half:before {
  content: '★'; /* Full star character */
  color: #6bd0e9; /* Color for the filled part of the star */
  position: absolute;
  left: 0;
  width: 50%; /* Half of the star width */
  overflow: hidden;
}

.site-card .buttons-container {
  display: flex;
  justify-content: space-between;
  padding: 15px;
  gap: 15px;
}

.site-card .buttons-container .site-card-button {
  background: #61b9ce;
  padding: 10px 16px;
  font-size: 12px;
  border-radius: 5%;
  font-weight: bold;
  border: 2px solid #6bd0e9;
  flex: 1;
}

.site-card .buttons-container .site-card-button:hover {
  background-color: #6bd0e9;
}

.site-card .buttons-container .site-card-button.reward {
  background: #b461ce;
  border: 2px solid rgb(203, 110, 231);
}

.site-card .buttons-container .site-card-button.reward:hover {
  background-color: rgb(203, 110, 231);
}

/* SITES LISTING */

.sites-list {
  list-style-type: none;
  padding: 0;
  margin: 0;
}

.site-item {
  margin-bottom: 10px;
  border: 1px solid #314650;
  border-radius: 8px;
  display: flex;
  overflow: hidden;
}

.site-item .name-section {
  display: flex;
  align-items: center;
  gap: 20px;
  width: 400px;
  padding: 20px;
  cursor: pointer;
  background-color: #242f38;
}

.site-item .name-section:hover {
  background-color: #31404c;
}

.site-item .name-section .site-logo-wrapper {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  background: black;
  transform: scale(0.8);
  padding: 10px;
}

.site-item .name-section .site-logo {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.site-item .name-section .site-name {
  color: white;
  font-weight: bold;
  font-size: 18px;
  /* text-decoration: none; */
}

.site-item .name-section .site-name:hover {
  /* text-decoration: underline; */
  color: #477d92;
}

.site-item .reward-section {
  display: flex;
  background-color: #1d272c;
  justify-content: space-between;
  /* width: 100%; */
  flex: 1;
  padding: 20px;
  gap: 20px;
}

.site-item .reward-section .left-content {
  flex: 1;
  flex-direction: column;
  display: flex;
  justify-content: space-around;
}

.site-item .reward-section .left-content .reward-content-label {
  color: #7f8c8d;
  font-size: 12px;
}

.site-item .reward-section .left-content .bonus-value {
  padding: 6px 10px;
  background-color: #31465057;
  max-width: fit-content;
  color: #61b9ce;
  border-radius: 12px;
  margin: 8px 0 16px;
  border: 1px dashed;

  a {
    color: #61b9ce;
  }
}

.site-item .reward-section .left-content .bonus-description {
  color: white;
  font-weight: bold;
  font-size: 20px;
}

.site-item .reward-section .left-content .additional-description {
  color: #7f8c8d;
  font-size: 14px;
}

.site-item .reward-section .right-content {
  display: flex;
  justify-content: space-between;
  /* gap: 20px; */
  flex-direction: column;
}

.site-item .reward-section .right-content .review-section {
  justify-content: center;
  align-items: center;
  display: flex;
  flex-direction: column;
}

.site-item .reward-section .right-content .review-section .site-rating .star {
  display: inline-block;
  font-size: 20px; /* Adjust size as needed */
}

.site-item
  .reward-section
  .right-content
  .review-section
  .site-rating
  .star.filled {
  color: #6bd0e9; /* Color for filled stars */
}

.site-item
  .reward-section
  .right-content
  .review-section
  .site-rating
  .star:not(.filled) {
  color: #6bd0e9; /* Color for empty stars */
}

.site-item
  .reward-section
  .right-content
  .review-section
  .site-rating
  .star.half {
  color: #6bd0e9; /* Color for filled stars */
  position: relative;
}

.site-item
  .reward-section
  .right-content
  .review-section
  .site-rating
  .star.half:before {
  content: '★'; /* Full star character */
  color: #6bd0e9; /* Color for the filled part of the star */
  position: absolute;
  left: 0;
  width: 50%; /* Half of the star width */
  overflow: hidden;
}

.site-item .reward-section .right-content .review-section .site-review-link {
  color: #7f8c8d;
  font-size: 12px;
  text-decoration: underline;
}

.site-item
  .reward-section
  .right-content
  .review-section
  .site-review-link:hover {
  text-decoration: none;
}

.site-item .reward-section .right-content .reward-button {
  background: #61b9ce;
  padding: 10px 16px;
  font-size: 12px;
  border-radius: 5%;
  font-weight: bold;
  border: 2px solid #6bd0e9;
  align-self: center;
}

.site-item .reward-section .right-content .reward-button:hover {
  background-color: #6bd0e9;
}

/* LATEST POSTS */

.csgogambling-posts {
  display: flex;
  /* flex-direction: column; */
  gap: 20px; /* Space between posts */
}

.csgogambling-posts article {
  border: 1px solid #ddd; /* Light border around each post */
  padding: 10px; /* Padding inside each post */
  border-radius: 8px; /* Rounded corners */
}

.post-thumbnail img {
  max-width: 100%; /* Ensure the image fits within the container */
  height: auto; /* Maintain aspect ratio */
  width: 100%;
}

.csgogambling-posts .latest-posts-link:hover {
  color: #477d92;
}

.csgogambling-posts .latest-post-header {
  text-align: center;
}

.csgogambling-posts .latest-post-article {
  background: #242f38;
  border: 1px solid #314650;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 50%;
}

@media only screen and (max-width: 1024px) {
  .sites-cards-container {
    flex-direction: column;
    align-items: center;
  }

  .site-card {
    width: 70%;
    max-width: unset;
  }
}

@media only screen and (max-width: 767px) {
  .site-card {
    width: 100%;
  }

  .sites-list .site-item {
    flex-direction: column;
  }

  .csgogambling-posts {
    flex-direction: column;
  }

  .csgogambling-posts .latest-post-article {
    width: 100%;
  }

  .csgogambling-posts .latest-post-article .post-thumbnail img {
    max-height: unset;
  }

  .site-item .name-section {
    width: 100%;
  }
}

.custom-blog-posts {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr 1fr 1fr;
}

.blog-post {
    padding: 15px;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    border: 1px solid #314650;
    background-color: #242f38
}

.custom-blog-posts .post-thumbnail {
    margin-bottom: 15px;
    max-height: 175px;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.post-thumbnail img {
    width: 100%; /* Adjust as needed */
    height: auto; /* Maintain aspect ratio */
    border-radius: 5px;
    max-height: 290px;
    overflow: hidden;
}

.blog-post h2 {
    font-size: 1.5em;
    margin-bottom: 10px;
    color: #6EC1E4;
}

.blog-post .post-excerpt {
  color:#fff;
  padding: 0 20px 20px
}

.blog-post a:hover {
    text-decoration: underline;
}

.custom-blog-posts .custom-blog-post-title {
  color:#6EC1E4; 
  padding: 0 20px; 
  display:flex; 
  align-self: center;
}

@media(max-width: 767px) {
  .custom-blog-posts {
    grid-template-columns: 1fr;
    padding: 20px;
  }
}

div.alternative-sites {
  margin-bottom: 40px;
}

div.alternative-sites > h2 {
  color: #ffffff;
  text-align: center;
  font-size: 22px;
}

div.alternative-sites .site-card .buttons-container {
  flex-direction: column;
}

div.alternative-sites .site-card .buttons-container .site-card-button {
  border-radius: 5px !important;
}

@media(max-width: 1024px) {
  div.alternative-sites .sites-cards-container {
    justify-content: center !important;
    flex-direction: unset !important;
    align-items: unset !important;
    flex-wrap: wrap !important;
  }

  div.alternative-sites .site-card {
    max-width: 300px !important;
    flex: unset !important;
  }
}

@media(max-width: 767px) {
  div.alternative-sites .sites-cards-container {
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    flex-wrap: unset !important;
  }

  div.alternative-sites .site-card {
    max-width: unset !important;
    flex: 1 !important;
  }
}

div.csgogambling-posts.guides a.guide-post {
  background: #242f38;
  border: 1px solid #314650;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 100%;
  padding: 12px;
  border-radius: 5px;
}

div.csgogambling-posts.guides div.post-article img {
  border-radius: 5px;
}

div.csgogambling-posts.guides div.post-article h2 {
  font-size: 20px;
  color: #ffffff;
  margin-top: 0;
}

div.csgogambling-posts.guides div.post-article div.read-btn {
  font-size: 16px;
  line-height: 1.25em;
  text-decoration: none;
  font-weight: 700;
  padding: 13px 40px;
  width: 100%;
  background: #61b9ce;
  text-align: center;
  border-radius: 5px;
}

div.csgogambling-posts.guides a.guide-post:hover div.post-article div.read-btn {
  background: #6bd0e9;
}

div.casespromocode-pagination {
  text-align: center;
  margin: 20px 0 20px 0;
}

div.casespromocode-pagination > a.page-numbers {
  color: #7f8c8d;
}

div.casespromocode-pagination > a.page-numbers:hover {
  color: #ffffff;
}

div.casespromocode-pagination > span.current {
  color: #ffffff;
}
