.wp-block-acf-brands-list {
  padding-top: 30px;
  padding-bottom: 30px;
  background-color: #25293D;
  /*background: linear-gradient(to right, #370707 0%, #111 10%, #111 90%, #370707 100%);*/
}

.brand_item { 
  align-items: center;
  justify-content: space-between;
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: relative;
  gap: 20px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  cursor: default;
  margin-bottom: 40px;
  border: 1px solid #888FB4;
}

.brand_item:hover {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.brand_rank-badge {
  position: absolute;
  top: -10px;
  left: 15px;
  background: white;
  color: black;
  font-size: 1rem;
  font-weight: 700;
  padding: 2px 11px;
  border-radius: 4px;
  user-select: none;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

.brand_logo img {
  max-width: 200px;
  height: auto;
  display: block;
  border-radius: 5px;
  object-fit: contain;
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.1);
  background-color: #313131;
}

.brand_details {
  flex-grow: 1;
  display: flex;
  justify-content: space-between;
  gap: 25px;
  align-items: center;
  width: 100%;
  padding: 25px;
}

.brand_promo {
  flex: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  height: 100%;
}

.brand_promo-title, .brand_wrapper .brand_promo-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
  color: #222;
}

.brand_promo-desc,
.brand_desc {
  color: #555;
  margin-bottom: 5px;
  line-height: 1.4;
}

.brand_desc {
  font-size: 0.72rem;
  line-height: 1.3;
}

.brand_desc-wrap {
  background-color: #f1f1f0;
  text-align: center;
  padding: 10px 25px;
  border-bottom-left-radius: 12px;
  border-bottom-right-radius: 12px;
}

.brand_rating-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;  
  gap: 10px;
}

.brand_rating-box {
  text-align: center;
}

.brand_rating-value {
  font-size: 26px;
  color: #000;
  font-weight: 700;
  line-height: 1;
}

.brand_star-rating {
  color: #f39c12;
  font-size: 1.4rem;
  letter-spacing: 1.8px;
  user-select: none;
}

.brand_star-rating .brand_star {
  font-size: 24px;
  font-weight: bold;
  color: transparent;
  background: linear-gradient(to right, gold 0%, gold var(--star-fill), lightgray var(--star-fill), lightgray 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.brand_reviews-count {
  font-size: 13px;
  color: #ffffff;
  margin-top: 2px;
}

.brand_cta-wrapper .brand_action-btn {
  display: inline-block;
  background-color: black;
  color: white;
  padding: 10px 22px;
  min-width: 150px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 500;
  text-align: center;
  transition: background-color 0.3s ease;
  cursor: pointer;
  text-transform: uppercase;
  font-size: 15px;
  text-decoration: none !important;
}

.brand_cta-wrapper .brand_action-btn:hover {
  background-color: #222;
}

.brand_premium-pick {
  position: absolute;
  top: -15px;
  right: 30px;
  background: #E90036;
  color: white;
  font-size: 14px;
  padding: 4px 1px 4px 8px;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  z-index: 10;
}

.brand_premium-pick::after {
    content: '';
    position: absolute;
    top: 0;
    right: -17px;
    width: 23px;
    height: 100%;
    background: url(http://localhost/topchickenroadcasinos/wp-content/uploads/2025/10/arrows.png) center / cover no-repeat;
    pointer-events: none;
}

.label-text {
  padding-right: 4px; 
}

.ribbon-tail {
  display: block;
  height: 27px;
  width: 17px;
  position: absolute;
  right: -15px;
}

.brand_wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  padding: 10px 0;
  justify-content: center;
}

.brand_wrapper .brand_item {
  flex: 1 1 45%;
  max-width: fit-content;
  box-sizing: border-box;
}

.brand_wrapper .brand_logo img {
  margin: 0 auto 15px;
  display: block;
}

.brand_wrapper .brand_promo-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 10px;
  text-align: center;
}

.brand_wrapper .brand_promo-desc,
.brand_wrapper .brand_desc {
  font-size: 1rem;
  color: #666;
  margin-bottom: 15px;
  text-align: center;
}

.brand_wrapper .brand_action-btn {
  background-color: black;
  color: white;
  padding: 10px 20px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 700;
  margin-top: 10px;
  text-align: center;
  display: inline-block;
  transition: background-color 0.3s ease;
  min-width: 160px;
}

.brand_wrapper .brand_action-btn:hover {
  background-color: #222;
}

.brand_copy-coupon-btn {
  position: relative;
  cursor: pointer;
  display: block;
  user-select: none;
  font-weight: 600;
  font-size: 12px;
  transition: background-color 0.2s ease;
  color: #fff;
}

.brand_copy-coupon-btn:hover,
.brand_copy-coupon-btn:focus {
  outline: none;
}

.brand_coupon {
  text-align: center;
  position: relative;
  display: inline-block;
}

.brand_coupon-success {
  display: none;
  margin-left: 4px;
  font-size: 10px;
  color: black;
  white-space: nowrap;
}

@media (max-width: 768px) {
  .brand_item {
    flex-direction: column;
    max-width: 100%;
  }
  .brand_details {
    flex-direction: column;
  }
  .brand_rating-cta {
    align-items: center;
    min-width: auto;
    width: 100%;
  }
  .brand_rank-badge {
    top: -10px;
    left: 10px;
  }
  .brand_premium-pick {
    border-radius: 3px 0 0px 3px;
    font-size: 12px;
    padding: 2px 2px 2px 7px;
    top: -11px;
  }  
}

.brand_col {
  display: flex;
  justify-content: space-between;
  gap: 25px;
  align-items: center;
  width: 100%;
}
.brand_left {
  flex: 1;
  display: flex;
  flex-direction: row;
  gap: 25px;
  align-items: center;
}

.brand_right {
  flex-shrink: 0;
  width: 280px; 
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
}

.brand_updated {
  display: inline-block;
  background: #fff;
  padding: 6px 8px;
  border-radius: 5px;
  font-family: 'Nunito Sans', sans-serif;
  font-size: 14px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.1);
  margin-bottom: 38px;
  background-color: #5D606F;
  border: 1px solid #acacac;
}

.brand_updated .brand_label {
  color: white;
  font-weight: 300;
  margin-right: 5px;
}

.brand_updated .brand_date {
  color: white;
}


@media (max-width: 767px) {
  .brand_details {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
    gap: 0px; 
    padding: 20px 8px 8px;
  } 
  .brand_col {
    width: 50%;
    display: flex;
    flex-direction: column;
    padding: 0 10px; 
    align-items: center;
    box-sizing: border-box;
  }
  .brand_left {
    width: 52%;
    padding-right: 0;
  }
  .brand_right {
    width: 48%;
  }

  .brand_logo {
    margin: auto;
  }

  .brand_logo img {
    width: 100%;
    height: auto;
    max-width: 160px;
  }

  .brand_promo {
    align-items: center;
    text-align: center;
  }
  .brand_promo-desc {
    text-align: center;
  }

  .brand_promo-title {
    font-size: 1.25rem;
    line-height: 1.1;
    margin-top: 16px;
    margin-bottom: 18px;
  }

  .brand_promo-desc {
    font-size: 0.9rem;
  }

  .brand_rating-box,
  .brand_rating-cta,
  .brand_coupon {
    text-align: center;
    width: 100%;
  }

  .brand_rating-cta {
    gap: 0;
  }

  .brand_action-btn {
    width: auto;
    padding: 8px 14px;
    font-size: 14px;
  }

  .brand_cta-wrapper .brand_action-btn {
    width: 100%;
    padding: 11px 17px 12px;
    min-width: unset;
    text-decoration: none;
   }

  .brand_coupon {
    margin-top: 5px;
  }

  .brand_desc {
    margin-bottom: 0;
    font-size: 0.5rem;
    line-height: 1.1;
  }

  .brand_desc-wrap {
    padding: 2px;
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
  }

  .brand_rank-badge {
    font-size: 0.8rem;
    font-weight: 700;
    padding: 1px 7px;
    border-radius: 3px;
  }

  .brand_copy-coupon-btn {
    font-size: 11px;
    text-transform: uppercase;
  }
  .brand_star-rating .brand_star {
    line-height: 1;
    font-size: 19px;
  }

  .brand_cta-wrapper {
    width: 100%;
    margin: auto;
    min-width: auto;
    max-width: 200px;
  }
  .brand_right, .brand_left {
    gap: 10px;
  }
  
  .brand_reviews-count {
    margin-top: 0;
  }
  .brand_rating-cta {
    align-items: baseline;
  }  
   .brand_col.brand_right {
    text-align: center;     
    display: flex;
    flex-direction: column;
    align-items: center;   
    justify-content: center; 
  }
 
  .brand_rating-value {
    font-size: 1.5rem;
    margin-bottom: 2px;
  }
  .brand_star-rating {
    line-height: 1;
  }
  .brand_updated {
    padding: 4px 7px;
    font-size: 12px;
    margin-bottom: 20px;
  }
  .brand_show-mobile {
    flex-direction: column;
  }
  .brand_show-mobile .brand_rating-box.brand_left{
    gap: 0;
    flex-direction: column;
  }
}

.brand_show-desktop {
  display: none;
}

.brand_show-mobile {
  display: flex;
}

@media (min-width: 768px) {
  .brand_left,
  .brand_right {
    display: contents;
  }
  .brand_show-desktop {
    display: flex;
  }
  .brand_show-mobile {
    display: none;   
  } 
}  

.entry-content p {
    margin-bottom: .15em;
}

.brand_wrapper.with-bg-img {
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    position: relative;
}

.brand_overlay {
    position: relative; 
    width: 100%;
    height: 100%;
    background-color: #25293D; 
}

.relative {
  position: relative;
}