.custom-table table th, table td {
    min-width: 150px;
    padding: 0px;
}
.custom-table table tr, td {
    height: 30px;
    line-height: 1.2em;
}

/* Wrap your table in a container */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch; /* smooth scroll on iPhone */
}

/* Make sure table shrinks properly */
.table-responsive table {
  width: 100%;
  min-width: 600px; /* adjust depending on your widest row */
  border-collapse: collapse;
}

.image-hover-overlay img {
    display: block;
    /*width: 100%;*/
    height: auto;
    transition: transform 0.3s ease;
}

.image-hover-overlay {
    position: relative;
    display: inline-block;   /* or block if full-width */
    overflow: hidden;
}

/* Overlay effect */
.image-hover-overlay::after {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(198,20,13,0.8); /* black overlay with 50% opacity */
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none; /* lets the link remain clickable */
}

/* Hover state */
.image-hover-overlay:hover::after {
    opacity: 1;
}

.image-hover-overlay:hover img {
    transform: scale(1.05); /* optional zoom effect 
}

/* Default - desktop */
.vc_btn3-content {
   white-space: nowrap !important;
   text-align: center;
   display: inline-block;
   font-size: 18px;
   padding: 10px 20px;
}

/* Tablet screens (iPad Mini / iPad range) */
@media screen and (min-width: 768px) and (max-width: 1024px) {
   .vc_btn3-content {
      font-size: 5px !important;   /* smaller font for narrower buttons */
      padding: 6px 10px;            /* reduce padding */
   }
}