
.ti-container {
    /* Dihapus font-family hardcode agar bisa mewarisi pengaturan aksesibilitas tema / sistem */
    max-width: 100%;
}
.ti-gallery-item {
    position: relative;
    display: block;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    border-radius: 8px;
    overflow: hidden;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}
.ti-gallery-item:hover {
    transform: scale(1.02);
}
.ti-tooltip {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(0, 0, 0, 0.8);
    color: #fff;
    padding: 10px 15px;
    border-radius: 6px;
    /* Dihapus font-size default agar bisa menyesuaikan inline style pengguna / sistem */
    line-height: 1.4;
    white-space: normal;
    text-align: center;
    width: 85%;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    pointer-events: none;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    z-index: 100;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.ti-gallery-item:hover .ti-tooltip {
    opacity: 1;
    visibility: visible;
    bottom: 15px;
}

/* Carousel */
.ti-carousel-wrapper {
    position: relative;
    overflow: hidden;
    width: 100%;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}
.ti-carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
}
.ti-slide {
    min-width: 100%;
    flex: 0 0 100%;
    box-sizing: border-box;
}
.ti-slide-img-only {
    display: block;
    width: 100%;
    height: 100%;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}
.ti-slide-split {
    display: flex;
    width: 100%;
    height: 100%;
}
.ti-slide-img-part {
    display: block;
    height: 100%;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}
.ti-slide-text-part {
    box-sizing: border-box;
    padding: 25px;
    display: flex;
    flex-direction: column;
    border-left: 1px solid rgba(0,0,0,0.5);
    background: #fff;
    height: 100%;
}
.ti-desc-content {
    flex-grow: 1;
    /* Dihapus font-size default agar bisa menyesuaikan inline style pengguna / sistem */
    line-height: 1.6;
    margin-bottom: 15px;
    color: #333;
}
.ti-scroll {
    overflow-y: auto;
    padding-right: 8px;
}
.ti-scroll::-webkit-scrollbar { width: 6px; }
.ti-scroll::-webkit-scrollbar-thumb { background: #bbb; border-radius: 4px; }
.ti-truncate {
    display: -webkit-box;
    -webkit-line-clamp: 8;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.ti-read-more {
    display: inline-block;
    margin-top: auto;
    font-weight: 600;
    color: #0073aa;
    text-decoration: none;
    /* Dihapus font-size default agar seimbang dengan deskripsi */
}
.ti-read-more:hover {
    text-decoration: underline;
}

/* Nav Arrows */
.ti-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.5);
    color: #fff;
    border: none;
    padding: 15px 12px;
    cursor: pointer;
    font-size: 20px;
    opacity: 0;
    transition: opacity 0.3s;
    z-index: 10;
    outline: none;
}
.ti-carousel-wrapper:hover .ti-nav {
    opacity: 1;
}
.ti-nav:hover { background: rgba(0,0,0,0.8); }
.ti-prev { left: 0; border-radius: 0 6px 6px 0; }
.ti-next { right: 0; border-radius: 6px 0 0 6px; }

/* Dots */
.ti-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}
.ti-dot {
    width: 10px;
    height: 10px;
    background: rgba(255,255,255,0.4);
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 1px 4px rgba(0,0,0,0.6);
    transition: transform 0.2s, background 0.2s;
}
.ti-dot.active {
    background: #fff;
    transform: scale(1.3);
}
