.p-references-hero {
    margin-top: 50px;
}

.p-references-items-and-pagination {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.p-references-items-holder {

    display: flex;
    flex-direction: column;
    gap: var(--item-spacing);
}

.p-references-hidden-item {
    display: none;
}

.p-references-item-pagination {
    display: flex;
    justify-content: center;
}

.p-references-item-pagination button {
    color: var(--theme-primary);
}

@media only screen and (min-width:992px) {
    .p-references-items-holder {
        display: grid;
        grid-template: auto / repeat(2, 1fr);
    }

    .p-references-hero {
        margin-top: 100px;
    }

    .p-references-items-and-pagination {
        margin-top: 50px;
        gap: 50px;
    }
}

@media only screen and (min-width:1400px) {
    .p-references-items-holder {
        grid-template: auto / repeat(3, 1fr);
    }
}