/** ----------------------------------------------------------------
 * Pagination
 * --------------------------------------------------------------- */

.ngk-pagination ul {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    padding: 32px 0;
    gap: 8px;
}

.ngk-pagination ul li a,
.ngk-pagination ul li span {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #d84f31;
    color: #fff;
    padding: 4px 8px;
    min-width: 40px;
    min-height: 40px;
    border: 1px solid #d84f31;
    border-radius: 12px;
    transition: all 0.2s ease-in-out;
}

.ngk-pagination ul li a:hover {
    background: #ffffff;
    color: #000000 !important;
}

.ngk-pagination ul li span.dots {
    background: transparent;
    color: #000000 !important;
    border-color: transparent;
}

.ngk-pagination ul li span.current {
    background: #ffffff;
    color: #000000;
}

/** ----------------------------------------------------------------
 * First Upcoming Evenement (first-upcoming-event.php)
 * --------------------------------------------------------------- */

.ngk-upcoming-event-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 16px;
    padding: 11px 16px;
    border: 1px solid #f2f2f2;
    border-radius: 40px;
    background: #f2f2f2;
    font-family: 'Inter', Sans-serif;
}

@media only screen and (min-width: 768px) {
    .ngk-upcoming-event-card {
        flex-direction: row;
        align-items: center;
    }
}

.ngk-upcoming-event-card__header {
    display: flex;
    align-items: center;
    gap: 16px;
}

.ngk-upcoming-event-card__heading {
    display: flex;
    flex-direction: column;
}

.ngk-upcoming-event-card__title {
    margin: 0;
    color: #000000;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.5em;
}

.ngk-upcoming-event-card__meta {
    font-size: 14px;
}

.ngk-upcoming-event-card__view {
    display: flex;
    align-items: center;
    color: #d84f31;
}

.ngk-upcoming-event-card__view:hover {
    color: #d84f31;
    text-decoration: underline;
}

/** ----------------------------------------------------------------
 * Upcoming Evenementen (evenementen-upcoming.php)
 * --------------------------------------------------------------- */

.ngk-evenement-list {
    display: grid;
}

.ngk-evenement-row {
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: space-between;
    border-bottom: 1px solid rgba(0, 0, 0, 0.15);
    padding: 24px 0;
    gap: 16px;
}

@media only screen and (min-width: 768px) {
    .ngk-evenement-row {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
}

.ngk-evenement-row__title a {
    font-size: 24px;
    font-weight: 500;
    color: #000000;
}

.ngk-evenement-row__link {
    display: flex;
    align-items: center;
    color: #d84f31;
    font-size: 18px;
    transition: all 0.2s ease-in-out;
}

.ngk-evenement-row__link:hover {
    color: #d84f31;
    text-decoration: underline;
}

/** ----------------------------------------------------------------
 * Documents (documents.php)
 * --------------------------------------------------------------- */

.ngk-document-list {
    font-family: 'Inter', Sans-serif;
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
}

.ngk-document-list__document {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    background: #F2F2F2;
    padding: 32px;
    border-radius: 40px;
    overflow: hidden;
}

.ngk-document-list__document__title {
    font-family: 'Epilogue', Sans-serif;
    overflow-wrap: break-word;
}

.ngk-document-list__document__download {
    display: flex;
    justify-content: center;
    padding: 6px 20px;
    border: 2px solid #3D8C70;
    border-radius: 12px;
    font-weight: 500;
    transition: all 0.2s ease-in-out;
    background: #3D8C70;
    color: #ffffff !important;
    margin-top: auto;
}

.ngk-document-list__document__download:hover,
.ngk-document-list__document__download:focus,
.ngk-document-list__document__download:active {
    color: #3D8C70 !important;
    background: transparent;
}

@media only screen and (min-width: 768px) {
    .ngk-document-list {
        grid-template-columns: 1fr 1fr;
    }
}

@media only screen and (min-width: 1025px) {
    .ngk-document-list {
        grid-template-columns: 1fr 1fr 1fr 1fr;
    }
}

/** ----------------------------------------------------------------
 * Ledenlijst search (ledenlijst-search.php)
 * --------------------------------------------------------------- */

.ngk-ledenlijst-search {
    display: flex;
    gap: 16px;
}

.ngk-ledenlijst-search input[type=text] {
    background: #F2F2F2;
    border: 1px solid #F2F2F2;
    border-radius: 12px;
}

.ngk-ledenlijst-search__submit {
    border: 2px solid #F2F2F2 !important;
    background: #F2F2F2 !important;
    color: #000000 !important;
}

.ngk-ledenlijst-search__submit:hover {
    background: transparent !important;
}

/** ----------------------------------------------------------------
 * Pitches Grid (pitches.php)
 * --------------------------------------------------------------- */

.ngk-pitches-grid {
    font-family: 'Inter', Sans-serif;
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    overflow: hidden;
}

.ngk-pitches-grid__item {
    background: #F2F2F2;
    border-radius: 32px;
    overflow: hidden;
    font-size: 16px;
}

.ngk-pitches-grid__item__image {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 195px;
    overflow: hidden;
}

.ngk-pitches-grid__item__image img {
    object-fit: cover;
    height: 100%;
    width: 100%;
}

.ngk-pitches-grid__item__content {
    display: flex;
    flex-direction: column;
    padding: 24px;
}

.ngk-pitches-grid__item__title {
    font-family: 'Epilogue', Sans-serif;
    line-height: 1.4em;
    overflow-wrap: break-word;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 0 0 8px 0;
    height: 80px;
}

.ngk-pitches-grid__item__title a {
    color: #000000 !important;
}

.ngk-pitches-grid__item__meta {
    display: flex;
    flex-direction: column;
    margin-top: auto;
}

.ngk-pitches-grid__item__actions {
    margin-top: 24px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

.ngk-pitches-grid__item__btn {
    padding: 10px 0 !important;
    width: 100%;
}

.ngk-pitches-grid__item__btn.ngk-pitches-grid__item__btn--interested {
    background: #d84f31;
    border-color: #d84f31;
    color: #ffffff;
}

.ngk-pitches-grid__item__btn.ngk-pitches-grid__item__btn--interested:hover {
    background: transparent;
    color: #d84f31;
}

.ngk-pitches-grid__item__btn.ngk-pitches-grid__item__btn--not-interested {
    background: #E6E6E6;
    border-color: #E6E6E6;
    color: #000000;
}

.ngk-pitches-grid__item__btn.ngk-pitches-grid__item__btn--not-interested:hover {
    background: transparent;
}

.ngk-pitches-grid__item__status {
    margin-top: 24px;
    color: #000000 !important;
    min-height: 48px;
    display: flex;
    align-items: center;
}

.ngk-no-pitches-found {
    position: relative;
    font-family: 'Inter', Sans-serif;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: #d84f31;
    color: #ffffff;
    padding: 64px 0;
}

.ngk-no-pitches-found::before,
.ngk-no-pitches-found::after {
    content: '';
    position: absolute;
    background: #d84f31;
    top: 0;
    bottom: 0;
    width: 100vw;
}

.ngk-no-pitches-found::before {
    right: 100%;
}

.ngk-no-pitches-found::after {
    left: 100%;
}

.ngk-no-pitches-found__tagline {
    font-size: 16px;
    font-weight: 600;
    line-height: 1.5em;
}

.ngk-no-pitches-found__title {
    font-family: 'Epilogue', Sans-serif;
    font-size: 28px;
    font-weight: 500;
    line-height: 1.5em;
}

@media only screen and (min-width: 768px) {
    .ngk-pitches-grid {
        grid-template-columns: 1fr 1fr;
        gap: 24px;
    }

    .ngk-pitches-grid__item__image {
        width: 100%;
        height: 228px;
    }

    .ngk-pitches-grid__item__actions {
        grid-template-columns: 1fr 1fr;
    }

    .ngk-no-pitches-found {
        padding: 112px 0;
    }
}

@media only screen and (min-width: 1025px) {
    .ngk-pitches-grid {
        grid-template-columns: 1fr 1fr 1fr;
    }
}
