
.horizontal-timeline-wrapper{
	font-family: Macha;
    font-weight: 400;
    font-size: 18px;
    line-height: 100%;
    letter-spacing: 0%;
	color: #1B141A!important;
}

.horizontal-timeline-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.horizontal-timeline-bkg-lines{
    background-image: repeating-linear-gradient(to right,#E2D6D3 0px, #E2D6D3 1px, transparent 1px, transparent 15px);
    height: 48px;
    width: 100%;
    display: block;
}

.horizontal-timeline-container {
    display: flex;
    align-items: baseline;
    height: 100%;
    will-change: transform;
}

/* Central Horizontal Line */
.horizontal-timeline-container::before {
    content: '';
    position: absolute;
    top: 50%; left: 0; right: 0;
    height: 1px;
    z-index: 1;
}

.horizontal-timeline-item {
    flex: 0 0 400px;
    margin-right: 10vw;
    position: relative;
    z-index: 2;
    max-width: 254px;
}

.horizontal-timeline-dot-image {
    display: block;
    user-select: none;
    -webkit-user-drag: none;
    pointer-events: none;
	height: 60px!important;
	width: auto;
	margin-top: -48px;
	margin-left: 30px;

}

.horizontal-timeline-title{
	font-family: Macha;
    font-weight: 700;
    font-size: 22px;
    line-height: 100%;
    letter-spacing: 0%;
	margin-top: -48px;
	color: #E6DBD9;
    margin-left: 17px;
	margin-bottom: 40px
}


.horizontal-timeline-content {
    padding-left: 30px;
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    user-select: none;
}

/* Text always visible */
.horizontal-timeline-text {
    max-height: none;
    opacity: 1;
    overflow: visible;
}


.horizontal-timeline-image {
    margin-bottom: 12px;
}

.horizontal-timeline-image img {
    display: block;
    max-width: 200px!important;
    height: 200px!important;
    object-fit: cover;
    user-select: none;
    -webkit-user-drag: none;
    pointer-events: none;
    border-radius: 5px!important;
}
.horizontal-timeline-wrapper {
    cursor: grab;
}
.horizontal-timeline-wrapper:active {
    cursor: grabbing;
}

/* Gallery */
.horizontal-timeline-gallery {
    margin-bottom: 12px;
}

.horizontal-timeline-gallery-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.horizontal-timeline-gallery-grid--single {
    grid-template-columns: 1fr;
}

.horizontal-timeline-gallery-photo {
    position: relative;
    aspect-ratio: 4 / 3;
    border-radius: 10px;
    overflow: hidden;
}

.horizontal-timeline-gallery-photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: pointer;
    user-select: none;
    -webkit-user-drag: none;
    transition: opacity 0.2s;
}

.horizontal-timeline-gallery-photo img:hover {
    opacity: 0.9;
}

.horizontal-timeline-gallery-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    width: 26px;
    height: 26px;
    border-radius: 8px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(0,0,0,0.18);
    pointer-events: none;
    z-index: 2;
}

.horizontal-timeline-gallery-badge svg {
    display: block;
    width: 14px;
    height: 14px;
}

.horizontal-timeline-gallery-peek {
    position: relative;
    margin-top: 8px;
    height: 64px;
    border-radius: 10px 10px 0 0;
    overflow: hidden;
    cursor: pointer;
}

.horizontal-timeline-gallery-peek img {
    display: block;
    width: 100%;
    height: 140px;
    object-fit: cover;
    user-select: none;
    -webkit-user-drag: none;
}

/* Video thumbnails (in the same grid/peek as photos) */
.horizontal-timeline-gallery-video-fallback {
    display: block;
    width: 100%;
    height: 100%;
    cursor: pointer;
    background: #1B141A;
}

.horizontal-timeline-gallery-photo--video::before,
.horizontal-timeline-gallery-peek--video::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.25);
    z-index: 1;
    pointer-events: none;
}

.horizontal-timeline-gallery-play {
    position: absolute;
    top: 8px;
    left: 8px;
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(0,0,0,0.18);
    pointer-events: none;
    z-index: 2;
}

.horizontal-timeline-gallery-play svg {
    display: block;
    width: 19px;
    height: 19px;
}

/* Audio player */
.horizontal-timeline-audio {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #E2D6D3;
    border-radius: 10px;
    padding: 8px 10px;
    margin-top: 8px;
}

.horizontal-timeline-audio-play {
    flex-shrink: 0;
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background: #fff;
    border: none;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0,0,0,0.18);
}

.horizontal-timeline-audio-play svg {
    display: block;
    width: 19px;
    height: 19px;
}

.horizontal-timeline-audio-play .icon-pause {
    display: none;
}

.horizontal-timeline-audio.is-playing .horizontal-timeline-audio-play .icon-play {
    display: none;
}

.horizontal-timeline-audio.is-playing .horizontal-timeline-audio-play .icon-pause {
    display: block;
}

.horizontal-timeline-audio-bars {
    flex: 1;
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2px;
    height: 20px;
    overflow: visible;
}

.horizontal-timeline-audio-bar {
    width: 2px;
    flex-shrink: 0;
    border-radius: 1px;
    background: #AD8E87;
    transform-origin: center;
    transition: background-color 0.15s linear;
}

.horizontal-timeline-audio-bar.is-active {
    background: #1B141A;
}

.horizontal-timeline-audio.is-playing .horizontal-timeline-audio-bar {
    animation: htl-audio-pulse 0.9s ease-in-out infinite;
}

@keyframes htl-audio-pulse {
    0%, 100% { transform: scaleY(0.55); }
    50% { transform: scaleY(1); }
}

.horizontal-timeline-audio-volume {
    flex-shrink: 0;
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(0,0,0,0.18);
}

.horizontal-timeline-audio-volume svg {
    display: block;
    width: 16px;
    height: 13px;
}

/* Lightbox */
.htl-lightbox {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: rgba(0,0,0,0.88);
    align-items: center;
    justify-content: center;
    cursor: zoom-out;
}

.htl-lightbox.is-open {
    display: flex;
}

.htl-lightbox-img {
    max-width: 90vw;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 6px;
    box-shadow: 0 8px 40px rgba(0,0,0,0.6);
    pointer-events: none;
    user-select: none;
    animation: htl-lightbox-in 0.2s ease;
}

@keyframes htl-lightbox-in {
    from { opacity: 0; transform: scale(0.94); }
    to   { opacity: 1; transform: scale(1); }
}

.htl-lightbox-close {
    position: absolute;
    top: 16px;
    right: 24px;
    background: none;
    border: none;
    color: #fff;
    font-size: 2.4rem;
    line-height: 1;
    cursor: pointer;
    opacity: 0.8;
    transition: opacity 0.15s;
    z-index: 3;
}

.htl-lightbox-close:hover {
    opacity: 1;
}

.htl-lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.35);
    border: none;
    color: #fff;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    font-size: 1.4rem;
    line-height: 1;
    cursor: pointer;
    opacity: 0.85;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.15s, background 0.15s;
    z-index: 3;
}

.htl-lightbox-nav:hover {
    opacity: 1;
    background: rgba(0,0,0,0.55);
}

.htl-lightbox-prev { left: 24px; }
.htl-lightbox-next { right: 24px; }

@media (max-width: 600px) {
    .htl-lightbox-prev { left: 8px; }
    .htl-lightbox-next { right: 8px; }
}

/* Lightbox video/iframe player */
.htl-lightbox-video-wrap {
    display: none;
    align-items: center;
    justify-content: center;
    width: min(90vw, 960px);
    aspect-ratio: 16 / 9;
}

.htl-lightbox-video,
.htl-lightbox-iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 6px;
    box-shadow: 0 8px 40px rgba(0,0,0,0.6);
}
