* {
  box-sizing: border-box;
}

.filter-group {
  text-align: center;
  margin-bottom: 20px;
}

.filter-group button {
    font-family: var(--font-2);
    font-weight: 500;
    font-style: Medium;
    font-size: 13px;
    leading-trim: NONE;
    line-height: 100%;
    letter-spacing: 0%;
    cursor: pointer;
    background-color: transparent;
    border-top: 0;
    border-right: 0;
    border-left: 0;
    border-bottom: 1px solid rgba(220, 213, 194, 1);
    color: rgba(140, 137, 120, 1);
    border-radius: 0;
}

.filter-group button.active {
    color: rgba(182, 136, 58, 1);
    border-color: rgba(182, 136, 58, 1);
}

.grid {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.grid-sizer,
.grid-item {
    width: 25%;
    padding: 5px;
}

/* Variasi Lebar */
.w2 {
    width: 50%;
}
.w3 {
    width: 75%;
}

.grid-item a {
    display: block;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 8px;
    cursor: pointer;
}

.grid-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.grid-item a:hover img {
    transform: scale(1.08);
}

.grid-item.h2 img {
    height: 300px;
}

.grid-item.h3 img {
    height: 400px;
}

/* Responsive */
@media screen and (max-width: 768px) {
    .grid-sizer, .grid-item {
        width: 50%;
    }

    .w2, .w3 {
        width: 100%;
    }
}
@media screen and (max-width: 480px) {
  .grid-sizer,
  .grid-item,
  .w2,
  .w3 {
        width: 100%;
    }
}
