.viewer-card-container {
  position: relative;
  .fold {
    position: absolute;
    width: 10px;
    height: 10px;
    background-color: #062d21;
    rotate: 56deg;
    z-index: 1;
    left: 18px;
    top: 13px;
  }
}

.fold:has(+.top-pick-card .top-pick-badge) {
  left: -6px;
}


.top-pick-card {
  width: 100%;
  min-height: 210px;
  background-color: white;
  box-shadow: 0px 2px 4px 1px #c9c9c9;
  display: flex;
  flex-direction: row;
  margin-bottom: 2rem;
  position: relative;
  z-index: 2;

  .top-pick-badge {
    color: white;
    background-color: #09553D;
    font-size: 14px;
    position: absolute;
    left: -9px;
    top: 17px;
    padding: 4px 12px;
    font-weight: 500;
    display: flex;
    column-gap: 8px;
    align-items: baseline;
    z-index: 2;
  }

  .logo-container {
    padding: 32px 28px 28px 28px;
    flex: 0.9;
    display: flex;
    align-items: flex-start;
    column-gap: 12px;
    .logo-img {
      margin-top: 0;
      object-fit: contain;
      object-position: 0 50%;
    }
    .index-counter {
      position: absolute;
      left: -20px;
      top: 22px;
      background-color: white;
      border: 1px solid #010233;
      color: #010233;
      border-radius: 50%;
      width: 36px;
      height: 36px;
      line-height: 36px;
      text-align: center;
      align-content: center;
    }
  }

  .top-pick-badge + .logo-container {
    .logo-img {
      margin-top: 42px;
    }
    .index-counter {
      top: 64px;
    }
  }

  .detail-container {
    flex: 1.4;
    padding: 28px 0;
    .reviews-row {
      margin-bottom: 12px;
      span {
        font-size: 14px;
        font-weight: 500;
        color: #383838;
      }
      .reviews-count {
        color: #3f78e0;
      }
    }

    .title-row {
      margin-bottom: 12px;
      font-size: 20px;
      font-weight: 600;
      color: black;
    }
  }
  .rating-container {
    flex: 0.8;
    padding: 28px 22px 28px 10px;
    display: flex;
    flex-direction: column;
    align-items: end;
    .visit-site {
      height: 140px;
    }
  }
}

.rating-bar {
  display: flex;
  column-gap: 6px;
  height: fit-content;
  .rating-detail {
    text-align: right;
    .rating-desc {
      color: #3f78e0;
      font-size: 16px;
      line-height: 18px;
      font-weight: 500;
      height: 16px;
    }
    .rating-star {
      font-size: 12px;
      height: 12px;
      line-height: 14px;
      img {
        width: 12px;
        height: 12px;
      }
      .color-yellow {
        color: #FFB401;
      }
      .color-gray {
        color: gray;
      }
      .color-primary {
        color: #3f78e0;
      }
    }
  }
  .rating-badge {
    background-color: #3f78e0;
    border-radius: 4px;
    color: white;
    font-weight: 600;
    font-size: 20px;
    line-height: 22px;
    padding: 4px 6px;
    width: 40px;
    padding: 4px;
    text-align: center;
    vertical-align: middle;
  }
}

.visit-site {
  align-content: center;
  button {
    background: #3f78e0;
    border: none;
    padding: 6px 18px;
    box-shadow: none;
    border-radius: 8px;
    font-size: 16px;
    color: #ffffff;
    font-weight: 500;
  }
  button:hover {
    background: #3f78e0;
  }
}

.features-list {
  font-size: 14px;
  color: #1d1d1d;
  .list-items {
    margin-bottom: 4px;
    .tick-sm-icon {
      color: #147dc2;
      font-size: 16px;
      margin-right: 8px;
      vertical-align: middle;
    }
  }
}

.top-picks-container {
  margin-bottom: 3rem;

  .logo-rating-row {
    display: flex;
    margin-bottom: 2rem;
    position: relative;
    .top-picks-num {
      height: 50px;
      font-size: 60px;
      line-height: 55px;
      display: inline-block;
      font-weight: 600;
      color: rgb(209, 209, 209);
      padding-right: 16px;
      border-right: 1px solid rgb(209, 209, 209);
      margin-right: 28px;
    }
    .logo-container {
      align-content: center;
      max-height: 50px;
      padding-right: 32px;
      border-right: 1px solid rgb(209, 209, 209);
      margin-right: 28px;
      img {
        height: 50px;
        object-fit: contain;
        object-position: 0 50%;
      }
    }
    .rating-bar {
      position: absolute;
      right: 0;
      top: 9px;
    }
    .title-rating-container {
      display: flex;
      flex-direction: column;
      .title {
        color: black;
        font-size: 18px;
        font-weight: 600;
      }
      .rating-star {
        font-size: 12px;
        height: 12px;
        line-height: 14px;
          img {
            width: 12px;
            height: 12px;
          }
        .color-yellow {
          color: #FFB401;
        }
        .color-gray {
          color: gray;
        }
      }
    }
    .rating-site-bar {
      display: flex;
      column-gap: 4px;
      align-content: center;
    }
  }

  .sub-title-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 2rem;
    .sub-title-container {
      display: flex;
      flex-direction: column;
      .sub-title {
        font-size: 16px;
        color: gray;
      }
      .reviews-link {
        font-weight: 500;
        font-size: 16px;
        color: #147dc2;
        span {
          vertical-align: middle;
        }
      }
    }
  }

  .description-row {
    margin-bottom: 2rem;
    font-size: 16px;
    color: #323232;
  }

  .pros-cons-row {
    display: flex;
    justify-content: space-between;
    font-size: 16px;
    margin-bottom: 2rem;
    .pros-cons-container {
      width: 50%;
      .header {
        border-bottom: 1px solid rgb(209, 209, 209);
        width: 80%;
        padding-bottom: 1rem;
        margin-bottom: 1rem;
        font-size: 18px;
        font-weight: 600;
      }
    }
  }

  .footer-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 12px;
         border-style: ridge;

     border-color: #f6f7f9;
    
    background-color: rgb(241 241 241);
    .sm-img {
      width: 48px;
      height: 48px;
      object-fit: cover;
      margin-right: 1rem;
    }
    .title {
      font-size: 18px;
      font-weight: 800;
      color: #000000;
    }
  }
}


/* .flex-logo {
  display: flex;
  flex-wrap: nowrap;
} */

/* .flex-logo > span {
    background: #000000;
    border-style: solid;
    border-color: #00000;
    padding: 4px 14px;        
    box-shadow: none;
    font-size: 16px;
    color: #ffffff;
    font-weight: 500;
} */


@media (min-width: 768px) and (max-width: 1024px) {
  .top-pick-card {
    .logo-container {
      flex: 0.5;
    }
    .rating-container {
      flex: 0.5;
    }
  }
}

@media (max-width: 767px) {
  .fold:has(+.top-pick-card .top-pick-badge) {
    left: -2px;
    top: 9px;
  }
  .top-pick-card {
    flex-direction: column;
    .top-pick-badge {
      top: 13px;
      left: -5px;
      font-size: 14px;
      line-height: 18px;
      padding: 0px 9px;
    }
    .logo-container {
      padding: 10px;
      align-items: center;
      border-bottom: 1px solid #e2e2e2;
      .index-counter {
        position: inherit;
      }
      .logo-img {
        margin-top: 0 !important;
        width: 120px;
        height: 40px;
      }
    }
    .detail-container {
      padding: 12px;
    }
    .rating-container {
      padding: 12px 8px;
    }
    .visit-site {
      width: 100%;
      height: auto !important;
      button {
        width: 100%;
      }
    }
    .rating-bar {
      position: absolute;
      top: 18px;
    }
    
  }
  .top-pick-badge + .logo-container {
    margin-top: 42px;
  }
  .viewer-card-container {
    margin-top: 1rem;
  }
  .top-picks-container {
    .logo-rating-row {
      margin-bottom: 5rem;
      .visit-site {
        position: absolute;
        top: 4rem;
        width: 100%;
        button {
          width: 100% !important;
        }
      }
    }
    .pros-cons-row {
      flex-direction: column;
      margin-bottom: 2rem;
      .pros-cons-container {
        width: 100%;
        margin-bottom: 1rem;
        .header {
          width: 100%;
          padding-bottom: 4px;
        }
      }
    }
  }
}






@media (max-width: 450px) {
  .top-picks-container {
    .logo-rating-row {
      .top-picks-num {
        height: 40px;
        font-size: 50px;
        line-height: 45px;
        padding-right: 8px;
        margin-right: 14px;
      }
      .logo-container {
        align-content: center;
        max-height: 40px;
        padding-right: 16px;
        border-right: 1px solid rgb(209, 209, 209);
        margin-right: 14px;
        img {
          height: 40px;
          width: 120px;
          object-fit: contain;
          object-position: 0 50%;
        }
      }
      .rating-bar {
        top: 4px;
      }
      .title-rating-container {
        .title {
          font-size: 16px;
          font-weight: 600;
        }
      }
    }


    .sub-title-row {
      .sub-title-container {
        .sub-title {
          font-size: 14px;
        }
        .reviews-link {
          font-size: 14px;
        }
      }
      .visit-site {
        button {
          padding: 4px 14px;
        }
      }
    }


    .pros-cons-row {
      margin-bottom: 0;
    }


    .footer-row {
      .sm-img {
        width: 32px;
        height: 32px;
        margin-right: 0.5rem;
      }
      .title {
        font-size: 16px;
      }
      .visit-site {
        button {
          padding: 4px 14px;
        }
      }
    }
  }
}


@media (max-width: 360px) {
  .top-pick-card {
    .logo-container {
      .logo-img {
        width: 92px !important;
        height: 38px !important;
      }
    }
  }

  .rating-container {
    .rating-desc {
      font-size: 14px !important;
    }
  }
  .logo-rating-row {
    .top-picks-num {
      font-size: 41px !important;
    }
    .logo-container {
      img {
        width: 98px !important;
      }
    }
  }
}


.read-more-button {
  border: none;
  padding: 0 18px;
  margin: 0;
  font-size: 14px;
  border-radius: 25px;
  color: #3f78e0;
  margin-bottom: 8px;
  font-weight: 600;

}