/* Line clamping to 3 lines */
.line-clamp-3 {
    display: -webkit-box;
    -webkit-line-clamp: 5; 
    -webkit-box-orient: vertical;
    -moz-box-orient: vertical;
    overflow: hidden;
}


/* Font size and weight adjustments */
.custom-grid-desc {
    font-size: 14px ;  /* Adjust size (e.g., 12px - 14px) */
    font-weight: 300; /* Light font weight */
    line-height: 1.7;
    margin-block: 10px;
}


.vc_gitem-acf, .field_6aa19858dcb41{
    text-transform: uppercase !important;
    color: #7c7c7c !important;
    letter-spacing: 0.2em !important;
    font-weight: 600 !important;
    font-size: 12px !important;
}

/* Filter Bar Container */
/* Container Spacing & Alignment */
ul.vc_grid-filter {
    margin-bottom: 40px !important;
    background: transparent !important;
}

/* Individual Filter Items (LI) */
ul.vc_grid-filter li.vc_grid-filter-item {
    background: transparent !important;
    border: none !important;
    margin: 0 10px !important;
    padding: 0 !important;
}

/* Filter Text Styling (SPAN) */
ul.vc_grid-filter li.vc_grid-filter-item span {
    font-size: 13px !important;
    font-weight: 500 !important;
    text-transform: uppercase !important;
    letter-spacing: 1.5px !important;
    color: #888888 !important;
    background: transparent !important;
    padding: 6px 4px !important;
    display: inline-block;
    position: relative;
    cursor: pointer;
    transition: color 0.3s ease;
}

/* Hover State */
ul.vc_grid-filter li.vc_grid-filter-item:hover span {
    color: #e74c3c !important; /* Change to your hover accent color */
}

/* Active State Text */
ul.vc_grid-filter li.vc_grid-filter-item.vc_active span {
    color: #111111 !important;
    background: transparent !important;
}

/* Dotted Line Under Active Filter */
ul.vc_grid-filter li.vc_grid-filter-item.vc_active span::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    border-bottom: 2px dotted #111111; /* Dotted indicator line */
}

/* Hide default theme title area on single Case post pages */
body.single-case .page-title-wrapper,
body.single-case .page-heading,
body.single-case .entry-header,
body.single-case h1.page-title {
    display: none !important;
}

/* Remove extra top spacing left behind by the hidden title */
body.single-case #main,
body.single-case .site-content {
    padding-top: 0 !important;
    margin-top: 0 !important;
}