/* HobaGReviews Styles */

.hoba-greviews {
    margin: 20px 0;
    font-family: inherit;
    display: flex;
}

.hoba-greviews-overview{
    width: 33%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hoba-greviews-reviews-outer{
    width: 66%;
}

/* Carousel Styles */
.hoba-greviews-carousel {
    position: relative;
    margin-bottom: 30px;
}

.hoba-greviews-carousel .slick-prev,
.hoba-greviews-carousel .slick-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
    background-color: rgba(255, 255, 255, 0.8);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 16px;
    color: #333;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.hoba-greviews-carousel .slick-prev:hover,
.hoba-greviews-carousel .slick-next:hover {
    background-color: #fff;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
}

.hoba-greviews-carousel .slick-prev {
    left: -20px;
}

.hoba-greviews-carousel .slick-next {
    right: -20px;
}

.hoba-greviews-carousel .slick-dots {
    position: absolute;
    bottom: -25px;
    display: flex;
    justify-content: center;
    width: 100%;
    padding: 0;
    margin: 0;
    list-style: none;
}

.hoba-greviews-carousel .slick-dots li {
    margin: 0 5px;
}

.hoba-greviews-carousel .slick-dots button {
    display: block;
    width: 10px;
    height: 10px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background-color: #ccc;
    text-indent: -9999px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.hoba-greviews-carousel .slick-dots li.slick-active button {
    background-color: #D0131F;
    width: 12px;
    height: 12px;
}

.hoba-greviews-title {
    margin-bottom: 15px;
    font-size: 24px;
    font-weight: 600;
}

/* Stats Styles */
.hoba-greviews-stats {
    background-color: #F8F9FA;
    border-radius: 5px;
    padding: 15px;
    margin-bottom: 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    border: 1px solid #E9ECEF;
}

.hoba-greviews-stats-item {
    flex: 1;
    min-width: 150px;
    margin: 5px 10px;
}

.hoba-greviews-stats-label {
    font-weight: 600;
    display: block;
    margin-bottom: 5px;
    color: #495057;
}

.hoba-greviews-stats-value {
    font-size: 16px;
    color: #212529;
}

.hoba-greviews-rating {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.hoba-greviews-stars {
    display: flex;
    margin-right: 10px;
}

.hoba-greviews-star {
    margin-right: 3px;
}

.hoba-greviews-star.full i {
    color: #FFD700;
}

.hoba-greviews-star.half i {
    color: #FFD700;
}

.hoba-greviews-star.empty i {
    color: #CCCCCC;
}

.hoba-greviews-rating-value {
    font-weight: 600;
    font-size: 16px;
}

.hoba-greviews-reviews {
    margin-top: 20px;
}

.hoba-greviews-review {
    background-color: #F5F5F5;
    padding: 15px;
    margin-bottom: 15px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    border-radius: 1rem;
}

.hoba-greviews-review-header {
    display: flex;
    margin-bottom: 10px;
}

.hoba-greviews-review-avatar {
    margin-right: 15px;
}

.hoba-greviews-review-avatar img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.hoba-greviews-review-meta {
    flex: 1;
}

.hoba-greviews-review-author {
    font-weight: 600;
    margin-bottom: 3px;
}

.hoba-greviews-review-author a {
    text-decoration: none;
    color: inherit;
}

.hoba-greviews-review-place {
    font-size: 13px;
    margin-bottom: 3px;
}

.hoba-greviews-review-time {
    font-size: 12px;
    color: #777;
    margin-bottom: 5px;
}

.hoba-greviews-review-rating {
    display: flex;
    font-size: 14px;
}

.hoba-greviews-review-text {
    line-height: 1.5;
    margin-top: 10px;
    position: relative;
}

.hoba-greviews-review-text.collapsed {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.hoba-greviews-read-more {
    color: #D0131F;
    cursor: pointer;
    font-size: 14px;
    margin-top: 5px;
    display: inline-block;
    text-decoration: none;
}

.hoba-greviews-read-more:hover {
    text-decoration: underline;
}

.hoba-greviews-footer {
    margin-top: 15px;
    text-align: right;
}

.hoba-greviews-footer a {
    color: #D0131F;
    text-decoration: none;
    font-size: 14px;
}

.hoba-greviews-footer a:hover {
    text-decoration: underline;
}

.hoba-greviews-error {
    color: #D32F2F;
    padding: 10px;
    border: 1px solid #FFCDD2;
    background-color: #FFEBEE;
    border-radius: 4px;
}

/* Elementor Editor Styles */
.elementor-hoba-greviews-placeholder {
    background-color: #F5F5F5;
    border: 1px dashed #ccc;
    padding: 20px;
    text-align: center;
    border-radius: 5px;
}

.elementor-hoba-greviews-placeholder-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
}

.elementor-hoba-greviews-placeholder-description {
    color: #777;
    font-size: 14px;
}

/* Responsive Styles */
@media (max-width: 767px) {
    .hoba-greviews-review-header {
        flex-direction: column;
    }

    .hoba-greviews-review-avatar {
        margin-right: 0;
        margin-bottom: 10px;
    }

    .hoba-greviews-review-avatar img {
        width: 40px;
        height: 40px;
    }
}
