.ht-8fa3f6d0-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 20px 40px;
    box-sizing: border-box;
}

.ht-8fa3f6d0-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: opacity 0.3s, background 0.3s, visibility 0.3s;
    color: #333;
}
.ht-8fa3f6d0-nav svg {
    fill: #333;
}
.ht-8fa3f6d0-nav:hover {
    background: #f0f0f0;
}
.ht-8fa3f6d0-nav.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.ht-8fa3f6d0-nav.hidden {
    visibility: hidden;
    opacity: 0;
}

.ht-8fa3f6d0-nav-prev {
    left: 0;
}
.ht-8fa3f6d0-nav-next {
    right: 0;
}

.ht-8fa3f6d0-track-wrapper {
    position: relative;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    -ms-overflow-style: none;
    scrollbar-width: none;
    padding: 200px 0; /* plenty of space for cards and labels above/below */
}
.ht-8fa3f6d0-track-wrapper::-webkit-scrollbar {
    display: none;
}

.ht-8fa3f6d0-track {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    position: relative;
    z-index: 2;
    min-width: max-content; /* Ensure track spans all items */
}

.ht-8fa3f6d0-line {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 2px;
    background-color: #d2a679; /* Gold/brown default */
    transform: translateY(-50%);
    z-index: 1;
    min-width: 100%;
}

.ht-8fa3f6d0-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 350px;
    flex-shrink: 0;
    padding: 0 20px;
    position: relative;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}
.ht-8fa3f6d0-item.in-view {
    opacity: 1;
    transform: translateY(0);
}

.ht-8fa3f6d0-marker-wrap {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 3;
}

.ht-8fa3f6d0-marker {
    width: 20px;
    height: 20px;
    background-color: #cda47b; 
    border-radius: 50%;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    box-shadow: 0 0 0 4px #fff, 0 0 0 6px #eedac0; 
    transition: transform 0.3s ease;
}
.ht-8fa3f6d0-marker svg {
    fill: #fff;
    width: 20px;
    height: 20px;
}
.ht-8fa3f6d0-item:hover .ht-8fa3f6d0-marker {
    transform: scale(1.1);
}

.ht-8fa3f6d0-card {
    background: transparent;
    padding: 10px;
    width: 100%;
    text-align: center;
    box-sizing: border-box;
    position: absolute;
    transition: transform 0.3s ease;
}

.ht-8fa3f6d0-opposite {
    position: absolute;
    width: 100%;
    text-align: center;
}

/* 
  Positioning variants 
*/
.ht-8fa3f6d0-item.pos-split, .ht-8fa3f6d0-item.pos-bottom {
    justify-content: flex-start;
}
.ht-8fa3f6d0-item.pos-split .ht-8fa3f6d0-card, .ht-8fa3f6d0-item.pos-bottom .ht-8fa3f6d0-card {
    top: 50%;
    margin-top: 60px; /* controllable via widget settings */
}
.ht-8fa3f6d0-item.pos-split .ht-8fa3f6d0-opposite, .ht-8fa3f6d0-item.pos-bottom .ht-8fa3f6d0-opposite {
    bottom: 50%;
    margin-bottom: 60px;
}


.ht-8fa3f6d0-item.pos-top {
    justify-content: flex-end;
}
.ht-8fa3f6d0-item.pos-top .ht-8fa3f6d0-card {
    bottom: 50%;
    margin-bottom: 60px;
}
.ht-8fa3f6d0-item.pos-top .ht-8fa3f6d0-opposite {
    top: 50%;
    margin-top: 60px;
}

/* Typography Defaults */
.ht-8fa3f6d0-date {
    font-size: 2em;
    color: #cda47b;
    font-family: serif;
    margin-bottom: 5px;
}
.ht-8fa3f6d0-title {
    margin: 0 0 10px 0;
    font-size: 1.2em;
    color: #2c3e50;
    font-family: serif;
}
.ht-8fa3f6d0-desc {
    font-size: 0.85em;
    color: #666;
    line-height: 1.5;
}

/* Mobile adjustments */
@media (max-width: 767px) {
    .ht-8fa3f6d0-wrapper {
        padding: 10px;
    }
    
    .ht-8fa3f6d0-track {
        flex-wrap: nowrap;
    }
}
