.one-line-only{
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.two-line-only {
    display: -webkit-box;
    -webkit-line-clamp: 2;  
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}


.one-line-only-sidebar{

}

.tg-card-border{
    width: 100%;
    height: 190px; 
    object-fit: cover;
    border-radius: 10px; 
}

.tg-listing-card-content-slider{
    overflow:hidden;
    margin-right:20px;
}

.tg-location-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.tg-footer-area{
    background:#01344b;
}



.tg-booking-add-input-field{
    font-weight: 400;
    font-size: 15px;
    color: var(--tg-grey-1);
    border-radius: 5px;
    height: 50px;
    background: #f5f5f5;
    border: 1px solid transparent;
    padding: 10px 20px;
}
.tg-booking-add-input-field:focus{
    border-color: var(--tg-theme-primary);
}


.tg-blog-standard-thumb{
    aspect-ratio: 16 / 9; /* contoh rasio landscape */
    overflow: hidden;
}

.featured-img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sidebar-price{
    font-size:14px;
}


.galeri-big {
    height: 500px;
    width: 100%;
    object-fit: cover;
    background-color: #f5f5f5; /* warna latar belakang kosong */
}

.galeri-small {
    height: 100px;
    width: 100%;
    object-fit: cover;
    background-color: #f5f5f5; /* warna latar belakang kosong */
}




.ad-container {
  position: relative;
  display: inline-block;
}
.ad-close {
  position: absolute;
  top: 8px;
  right: 8px;
  background: rgba(0,0,0,0.6);
  color: #fff;
  border: none;
  border-radius: 16px;
  padding: 4px 10px;
  font-size: 14px;
  line-height: 20px;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 6px;
}
.ad-close:hover {
  color:silver;
  background: rgba(0,0,0,0.8);
}


.pasang-iklan-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(0,0,0,0.65);
    color: #fff;
    font-size: 13px;
    padding: 4px 12px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    z-index: 10;
}
.pasang-iklan-badge:hover {
    background: rgba(0,0,0,0.85);
    color: #ffd27f;
}


.badge-rekomendasi {
    position: absolute;
    top: 8px;
    right: 8px;
    background: #ff7b00;
    color: #fff;
    font-size: 10px;
    font-weight: 500;
    padding: 0px 10px;
    border-radius: 100px;
    z-index: 5;
}
.badge-rekomendasi i {
    margin-right: 3px;
}

.penginapan-img-wrapper {
    overflow: hidden;
    position: relative;
}

.penginapan-img {
    transition: transform 0.4s ease;
}

.penginapan-img-wrapper::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0);
    transition: background 0.4s ease;
    pointer-events: none; /* ðŸ”‘ link tetap bisa diklik */
}

.penginapan-img-wrapper:hover .penginapan-img {
    transform: scale(1.08);
}

.penginapan-img-wrapper:hover::after {
    background: rgba(0,0,0,0.25);
}


.tg-blog-standard-item a {
  color: #058b9f;
  text-decoration: none;
}

.tg-blog-standard-item a:hover {
  color: grey; 
}

.tg-tour-about-inner a {
  color: #058b9f;
  text-decoration: none;
}

.tg-tour-about-inner a:hover {
  color: grey; 
}



.tg-team-details-contant ul {
list-style-type: disc !important;
list-style-position: outside !important;
margin-left: 1.5rem !important;
padding-left: 1.5rem !important;
display: block !important;   /* pastikan ul block */
}

.tg-team-details-contant ul li {
display: list-item !important;  /* paksa li jadi list-item */
list-style-type: disc !important;
margin-bottom: 4px;
}

   
.tg-tour-about-inner ul {
  list-style-type: disc !important;
  list-style-position: outside !important;
  padding-left: 1.5rem !important;
  display: block !important;
}

.tg-tour-about-inner ul li {
  display: list-item !important;
  list-style-type: disc !important;
  margin-bottom: 4px;
}



.image-wrapper {
    position: relative;
    width: 100%;
    height: 220px; /* boleh disesuaikan */
    overflow: hidden;
    border-radius: 12px 12px 0px 0px; /* Biar lebih modern */
    background: #f4f4f4;
}

.skeleton {
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg, #ececec 25%, #f8f8f8 38%, #ececec 63%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite ease-out;
    border-radius: inherit;
    filter: blur(1px); /* soft glow */
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

.lazy-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    opacity: 0;
    transition: opacity .3s ease-in-out;
}

.lazy-img.loaded {
    opacity: 1;
}




/* RESPONSIVE */
@media (max-width: 992px) { /* Tablet */
    .galeri-big {
        height: 400px;
    }
    .galeri-small {
        height: 80px;
    }
}

@media (max-width: 576px) { /* Mobile */
    .galeri-big {
        height: 250px;
    }
    .galeri-small {
        height: 60px;
    }
    .pasang-iklan-badge {
        display: none;
    }
    .ad-close{
        display:none;
    }   
    
    .tg-location-section-title h2{
        font-size:18px;
    }
    
    /* UNTUK CARD BIASA */
    .image-wrapper {
        height: 120px; 
    }
    .tg-listing-card-content{
        padding:10px !important;
    }
    .tg-listing-card-title{
        font-size:14px;
    }
    .tg-listing-card-duration-map, .tg-listing-card-duration-time{
        font-size:13px !important;
    }
    
    
    /* UNTUK CARD SLIDER */
    .tg-listing-card-content-slider{
        margin:0px;
    }
    
}