main {
    width: 100%;
    max-width: 1300px;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.top {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 1rem;
    background: #7a7a7a1f;
    border-radius: 15px;
}

.top #title {
    font-size: 1.5rem;
    font-weight: 600;
}

.top .menu {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 5px;
}

.top .menu p {
    font-size: 1rem;
    font-weight: 500;
}

.top .menu a {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1rem;
    font-weight: 500;
    background: var(--bg);
    border: 2px solid var(--text);
    color: var(--text);
    padding: 5px 10px;
    border-radius: 8px;
    width: fit-content;
    transition: 0.3s ease;
}

.top .menu a:hover {
    background: var(--text);
    color: var(--bg);
}

.top .menu .filter {
    display: flex;
    justify-content: right;
    gap: .7rem;
    width: 100%;
    max-width: 400px;
}

.top .menu .filter select,
input {
    padding: 5px 10px;
    border: 2px solid var(--text);
    background: var(--bg);
    color: var(--text);
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    width: 100%;
    max-width: 350px;
    outline: none;
}

.list {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.list .data {
    position: relative;
    overflow: hidden;
    background: #7a7a7a4a;
    padding: 0;
    gap: 0;
    border-radius: 10px;
}

.list .data::before {
    content: "";
    position: absolute;
    inset: 0;

    background-image: var(--bg);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: 115%;

    z-index: 0;
}

.list .data>* {
    position: relative;
    z-index: 1;
}

.list .data .one {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 1rem;
    border-bottom: 3px solid #ffffff1f;
    padding: 1rem;
    background: #0000007c;
}

.list .data .one img {
    background: #181818a8;
    width: 80px;
    object-fit: contain;
    padding: 5px;
    border-radius: 8px;
    aspect-ratio: 1/1;
}

.list .data .one .text {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.list .data .one .text #name {
    font-size: 1.1rem;
    font-weight: 500;
}

.list .data .one .text #time {
    font-size: 1rem;
    opacity: .8;
}

.list .data .detail {
    padding: 1rem;
    display: flex;
    gap: 1rem;
    font-size: 1rem;
    opacity: .9;
    background: #00000086;
}

.list .data .detail label {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.pagination {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
}

.pagination a,
button {
    padding: 5px 10px;
    background: var(--bg);
    border: 2px solid var(--text);
    color: var(--text);
    border-radius: 10px;
    font-weight: 500;
    transition: 0.3s ease;
    cursor: pointer;
}

.pagination a:hover,
button:hover {
    background: var(--text);
    color: var(--bg);
}

/* ─── Responsive Breakpoints ─── */

/* Tablet landscape / small desktop: 3 kolom */
@media (max-width: 1300px) {
    .list {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Tablet portrait: 2 kolom */
@media (max-width: 1100px) {
    .list {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
}

/* Mobile: 1 kolom */
@media (max-width: 800px) {
    main {
        gap: 20px;
    }

    .list {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .top .menu {
        flex-direction: column;
        align-items: start;
    }

    .top .menu a {
        width: 100%;
        justify-content: center;
    }

    .top .menu .filter {
        width: 100%;
        max-width: none;
    }

    .top .menu .filter select,
    input {
        max-width: none;
    }
}

@media (max-width: 600px) {

    .top .menu .filter {
        display: flex;
        flex-direction: column;
    }

}