.uzun-icerik {
    min-height: 230px;
    /* padding: 0px 0px; */
    line-height: 1.3em;
}

.ozel-scrollbar {
    /* margin-left: 30px; */
    float: left;
    max-height: 100px;
    width: 100%;
    overflow-y: scroll;
    /* margin-bottom: 25px; */
}

.trustindex-custom-widget {
    position: relative;
    width: 100%;
    margin: 0 auto;
}

.ti-reviews-container {
    position: relative;
    overflow: hidden;
    padding: 0 40px;
}

.ti-reviews-container-wrapper {
    display: flex;
    transition: transform 0.5s ease;
    gap: 20px;
    padding: 10px 0;
}

.ti-review-item {
    flex: 0 0 calc(25% - 15px);
    min-width: 0;
    box-sizing: border-box;
}

.ti-inner {
    background: #fff;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border: 1px solid #eee;
    height: 400px;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease;
}

.ti-review-item:hover .ti-inner {
    transform: translateY(-5px);
}

.ti-review-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    padding: 10px;
    border-radius: 10px;
    flex-direction: row;
    justify-content: space-around;
}

.ti-profile-img {
    margin-right: 12px;
    flex-shrink: 0;
}

.ti-profile-img img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.ti-profile-details {
    flex: 1;
    min-width: 0;
}

.ti-name {
    font-weight: bold;
    font-size: 14px;
    color: #000;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ti-date {
    font-size: 12px;
    color: #666;
}

.ti-stars {
    margin-bottom: 15px;
    display: flex;
    gap: 2px;
}

.ti-star {
    width: 16px;
    height: 16px;
    background-color: #ffc107;
    -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 17.27L18.18 21l-1.64-7.03L22 9.24l-7.19-.61L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21z"/></svg>') no-repeat center;
    mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 17.27L18.18 21l-1.64-7.03L22 9.24l-7.19-.61L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21z"/></svg>') no-repeat center;
    -webkit-mask-size: contain;
    mask-size: contain;
}

.ti-review-content {
    flex: 1;
    line-height: 21.75px;
    height: 87px;
    color: #333;
    font-size: 20px;
    margin-bottom: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.ti-review-content.collapsed {
    max-height: 160px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.ti-read-more {
    margin-top: auto;
}

.ti-read-more-active {
    background: none;
    border: none;
    color: #007bff;
    cursor: pointer;
    font-size: 13px;
    padding: 0;
    text-decoration: underline;
    display: inline-block;
}

.ti-read-more-active:hover {
    color: #0056b3;
}


/* Navigation Controls - Orjinal Trustindex Stili */

.ti-controls {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    pointer-events: none;
    z-index: 10;
    height: 0;
}

.ti-next,
.ti-prev {
    position: absolute;
    display: inline-block;
    width: 20px;
    height: 30px;
    padding-top: 20px;
    padding-bottom: 20px;
    display: block;
    opacity: 1;
    cursor: pointer !important;
    pointer-events: all !important;
    transition: all 200ms ease-out;
    z-index: 9999;
}

.ti-next:hover,
.ti-prev:hover {
    cursor: pointer;
    transform: scale(1.2);
}

.ti-next:before,
.ti-prev:before {
    content: "";
    background: #cccccc;
    width: 17px;
    height: 3px;
    display: block;
    transform: rotate(45deg);
    border-radius: 2px;
    position: absolute;
}

.ti-next:after,
.ti-prev:after {
    content: "";
    background: #cccccc;
    width: 17px;
    height: 3px;
    display: block;
    transform: rotate(-45deg);
    border-radius: 2px;
    position: absolute;
}

.ti-next {
    right: 2px;
}

.ti-next:after {
    top: 18px;
    right: 0px;
}

.ti-next:before {
    top: 8px;
    right: 0px;
}

.ti-prev {
    left: 2px;
}

.ti-prev:after {
    top: 8px;
    left: 0px;
}

.ti-prev:before {
    top: 18px;
    left: 0px;
}


/* Dots Indicator */

.ti-controls-line {
    display: none;
    margin: 20px auto;
    width: 150px;
    height: 3px;
    border-radius: 3px;
    background: rgba(204, 204, 204, 0.35);
    position: relative;
    overflow: hidden;
}

.ti-controls-line .dot {
    position: absolute;
    left: 0;
    top: 0;
    display: inline-block;
    width: 25px;
    padding-left: 4px;
    padding-right: 4px;
    height: 100%;
    border-radius: 3px;
    background: #cccccc;
    transition: width 0.2s, left 0.2s;
}


/* Responsive */

@media (max-width: 1200px) {
    .ti-review-item {
        flex: 0 0 calc(33.333% - 15px);
    }
    .ti-reviews-container {
        padding: 0 30px;
    }
}

@media (max-width: 992px) {
    .ti-review-item {
        flex: 0 0 calc(50% - 10px);
    }
    .ti-reviews-container {
        padding: 0 25px;
    }
}

@media (max-width: 768px) {
    .ti-review-item {
        flex: 0 0 calc(100% - 0px);
    }
    .ti-reviews-container {
        padding: 0 15px;
    }
    .ti-controls-line {
        display: block !important;
    }
    .ti-inner {
        padding: 20px;
    }
}


/* Hide read-more when not needed */

.ti-read-more.hidden {
    display: none;
}