.eklund-gallery-grid {
    width: 100%;
    margin-bottom: 120px;
}

.grid-entry {
    width: calc(100% / 8);
    padding: 8px;
    box-sizing: border-box;
}

@media (max-width: 1200px) {
    .grid-entry { width: calc(100% / 4); }
}

@media (max-width: 992px) {
    .grid-entry { width: calc(100% / 3); }
}

@media (max-width: 768px) {
    .grid-entry { width: calc(100% / 2); }
}

/* @media (max-width: 480px) {
    .grid-entry { width: 100%; }
} */


.grid-entry img {
    width: 100%;
    height: auto;
    display: block;
    margin: 0 !important;
}

/* Wrapper layout */
.eklund-filters {
    display: grid;
    
    margin-bottom: 10px;
    grid-template-columns: 1fr;
    gap: 10px;
}
@media (min-width: 768px) {
    .eklund-filters {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 40px;    
    }
}

/* Each filter group = one column */
.eklund-filters .filter-group {
    display: flex;
    flex-direction: column;
}

/* Category title */
.eklund-filters .filter-group h4 {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
    font-weight: 600;
    border-bottom: 1px solid #e5e5e5;
    padding-bottom: 8px;
    text-align: left;
}

/* Buttons stacked */
.eklund-filters .filter-group button {
    background: none;
    border: none;
    text-align: left;
    padding: 6px 0;
    font-size: 14px;
    color: #555;
    cursor: pointer;
    transition: 0.25s ease;
}

/* Hover */
.eklund-filters .filter-group button:hover {
    color: #000;
    transform: translateX(4px);
}

/* Active */
.eklund-filters .filter-group button.is-active {
    color: #000;
    font-weight: 600;
}

.eklund-filters .filter-group button.is-active {
    position: relative;
}

.eklund-filters .filter-group button.is-active::before {
    content: "";
    position: absolute;
    left: -10px;
    top: 50%;
    width: 4px;
    height: 4px;
    background: #000;
    border-radius: 50%;
    transform: translateY(-50%);
}

.filter-container{
    margin-bottom: 20px;
        padding-left: 8px; 
    padding-right: 8px;
}

.filter-toggle {
    display: block;              /* makes it full width */
    width: 100%;
    max-width: 100%;
    
    padding: 8px 20px;
    background-color: #e5e5e5;   /* light gray */
    color: #333;
    
    text-align: center;
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 0.5px;
    font-size: 12px;


    transition: all 0.25s ease;
    cursor: pointer;
}

/* Hover */
.filter-toggle:hover {
    background-color: #d6d6d6;
    border-color: #c5c5c5;
}

/* Active (when pressed) */
.filter-toggle:active {
    background-color: #c9c9c9;
}

.filters-wrap {
    text-align: center ;
}

/* Floating tooltip */
.custom-img-tooltip {
    position: fixed;
    z-index: 9999;

    background: rgba(0, 0, 0, 0.85);
    color: #fff;

    padding: 8px 12px;
    font-size: 13px;
    line-height: 1.4;

    border-radius: 6px;
    white-space: nowrap;

    pointer-events: none; /* Important */
    opacity: 0;
    transform: translate(15px, 15px);
    transition: opacity 0.15s ease;
}