/* Horizontal Reviews Scroller CSS */
.hrs-container,
.hrs-container *,
.hrs-scroll,
.hrs-scroll *,
.hrs-card,
.hrs-card * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.hrs-container {
    max-width: 100%;
    margin: 0 auto 30px auto;
    position: relative;
}

.hrs-container h2 {
    margin-bottom: 20px;
    font-size: 24px;
    text-align: center;
}

.hrs-scroll {
    display: flex;
    overflow-x: auto;
    gap: 20px;
    padding: 20px 0;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: #d1d1d1 #f1f1f1;
}

.hrs-scroll::-webkit-scrollbar {
    height: 8px;
}

.hrs-scroll::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.hrs-scroll::-webkit-scrollbar-thumb {
    background: #d1d1d1;
    border-radius: 10px;
}

.hrs-scroll::-webkit-scrollbar-thumb:hover {
    background: #b1b1b1;
}

.hrs-card {
    min-width: 280px;
    width: 280px;
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
    position: relative;
}

.hrs-card:hover {
    transform: translateY(-5px);
}

.hrs-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    align-items: center;
}

.hrs-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    overflow: hidden;
}

.hrs-avatar svg {
    width: 30px;
    height: 30px;
    fill: #999;
}

.hrs-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hrs-user-info {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.hrs-name-date {
    display: flex;
    flex-direction: column;
}

.hrs-username {
    font-weight: bold;
    font-size: 14px;
}

.hrs-date {
    font-size: 12px;
    color: #888;
}

.hrs-stars {
    color: #FFD700;
    font-size: 20px;
    margin-bottom: 10px;
}

.hrs-title {
    font-weight: bold;
    margin-bottom: 8px;
    font-size: 16px;
}

.hrs-text {
    font-size: 14px;
    margin-bottom: 15px;
}

.hrs-meta {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: #888;
    border-top: 1px solid #eee;
    padding-top: 10px;
}

.hrs-citation {
    font-size: 10px;
    color: #999;
    text-align: right;
    position: absolute;
    bottom: 10px;
    right: 15px;
}

.hrs-citation a {
    color: #999;
    text-decoration: none;
}

.hrs-citation a:hover {
    text-decoration: underline;
}

.hrs-scroll-nav {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 15px;
}

.hrs-scroll-btn {
    background-color: #f5f5f5;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.3s;
}

.hrs-scroll-btn:hover {
    background-color: #e5e5e5;
}

.hrs-scroll-btn svg {
    width: 20px;
    height: 20px;
    fill: #555;
}

@media (max-width: 768px) {
    .hrs-card {
        min-width: 260px;
        width: 260px;
    }
}