/* --------------------------------------------------------------
   NIEUWE CSS
-------------------------------------------------------------- */
.activiteiten-header {background-image: url(https://www.powerinternet.nl/websites/SO_68096/wp-content/uploads/2025/12/header-scholenactiviteiten-1.jpg) !important;height:25vh!important;background-size: cover;
}

/* --------------------------------------------------------------
   ALGEMENE STRUCTUUR
-------------------------------------------------------------- */

.nga-activities-wrapper {
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
    padding: 30px 20px;
    box-sizing: border-box; 
    font-family: 'Dosis', Helvetica, Arial, Lucida, sans-serif;
}

/* --------------------------------------------------------------
   PAGE HEADER
-------------------------------------------------------------- */

.nga-header {
    padding: 20px 0 30px;
    border-bottom: 1px solid #e1e1e1;
    margin-bottom: 30px;
}

.nga-header-inner {
    max-width: 900px;
}

.nga-title {
    font-size: 34px;
    font-weight: bold;
    margin: 0;    font-family: 'Dosis', Helvetica, Arial, Lucida, sans-serif;
}
p.activiteiten-titel-voor-scholen
{font-family: 'Dosis', Helvetica, Arial, Lucida, sans-serif!important;}

/* --------------------------------------------------------------
   LAYOUT: SIDEBAR + CONTENT
-------------------------------------------------------------- */

.nga-layout {
    display: flex;
    align-items: flex-start;
    gap: 40px;
}

/* SIDEBAR */
.nga-sidebar {
    width: 31.3333%;
    flex-shrink: 0;
}

.nga-sidebar-block {
    margin-bottom: 35px;
    padding: 30px;
    border: 1px solid #dcdcdc;
    border-radius: 8px;
    background: #fafafa;
}

.nga-sidebar-title {
    font-size: 24px;
    margin-bottom: 15px;padding-bottom:0px;
    font-weight: bold;color:#b03a95;font-family: 'Dosis', Helvetica, Arial, Lucida, sans-serif;
}

/* --------------------------------------------------------------
   ZOEKVELD & INPUTS
-------------------------------------------------------------- */

.nga-input {
    width: 100%;
    padding: 10px 12px;
    border-radius: 6px;
    border: 1px solid #ccc;
    margin-bottom: 12px;
    box-sizing: border-box;
    font-size: 15px;
}

.nga-input:focus {
    border-color: #4a8ecf;
    outline: none;
}

/* --------------------------------------------------------------
   CHECKBOX LIJSTEN
-------------------------------------------------------------- */

.nga-term-list {
    list-style: none;
    padding: 0;
    margin: 0 0 15px;
}

.nga-term-list li {
    margin-bottom: 6px;
}

.nga-checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

/* --------------------------------------------------------------
   BUTTONS
-------------------------------------------------------------- */

.nga-button {
    display: inline-block;
    padding: 10px 18px;
    border-radius: 6px;
    background: #4a8ecf;
    color: #fff;
    text-decoration: none;
    border: none;
    cursor: pointer;
    font-size: 18px;
}

.nga-button:hover {
    background: #357bb5;
}

.nga-button-search {
    width: 100%;
}

.nga-button-apply {
    width: 100%;
    background: #3ca55c;
}

.nga-button-apply:hover {
    background: #328f4d;
}

.nga-button-primary {
    background: #7d4ccf;
}

.nga-button-primary:hover {
    background: #693db0;
}

.nga-button-back {
    display: inline-block;
    width: 100%;
    text-align: center;
    background: #666;
}

.nga-button-back:hover {
    background: #555;
}

/* --------------------------------------------------------------
   CONTENT AREA
-------------------------------------------------------------- */

.nga-content {
    flex-grow: 1;
    max-width: 850px;
}

/* --------------------------------------------------------------
   ARCHIVE – RESULTAAT TITEL
-------------------------------------------------------------- */

.nga-results-header {
    margin-bottom: 25px;
}

.nga-results-title {
    margin: 0;
    font-size: 26px;
}

/* --------------------------------------------------------------
   ARCHIVE – ACTIVITEITEN GRID
-------------------------------------------------------------- */

.nga-activities-list {
    display: grid;
    gap: 30px;
}

/* --------------------------------------------------------------
   ACTIVITEIT CARD
-------------------------------------------------------------- */

.nga-activity-card {
    display: flex;
    gap: 20px;
    border: 1px solid #dedede;
    background: #fff;
    padding: 20px;
    border-radius: 10px;
}

.nga-activity-image img {
    width: 220px;
    height: auto;
    border-radius: 8px;
    object-fit: cover;
}

.nga-no-image {
    width: 220px;
    height: 140px;
    background: #eee;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* CARD CONTENT */
.nga-activity-body {
    flex-grow: 1;
}

.nga-activity-title {
    margin: 0 0 6px;
}

.nga-activity-title a {
    font-size: 22px;
    color: #222;
    text-decoration: none;
}

.nga-activity-title a:hover {
    text-decoration: underline;
}

.nga-activity-meta {
    font-size: 14px;
    color: #555;
    margin-bottom: 12px;
}

.nga-meta-item {
    display: inline-block;
    margin-right: 12px;
}

/* EXCERPT */
.nga-activity-excerpt {
    margin-bottom: 15px;
    font-size: 15px;
}

/* FOOTER BUTTON */
.nga-activity-footer {
    margin-top: 10px;
}

/* --------------------------------------------------------------
   PAGINERING
-------------------------------------------------------------- */

.nga-pagination {
    margin-top: 30px;
}

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

.nga-pagination li a,
.nga-pagination li span {
    display: block;
    padding: 8px 12px;
    background: #eee;
    border-radius: 6px;
    text-decoration: none;
    color: #333;
}

.nga-pagination li .current {
    background: #4a8ecf;
    color: white;
}

/* --------------------------------------------------------------
   SINGLE PAGE
-------------------------------------------------------------- */

.nga-single-image img {
    width: 100%;
    border-radius: 8px;
    margin-bottom: 20px;
}

.nga-single-content {
    font-size: 18px;
    line-height: 1.6;
}

.nga-single-footer {
    margin-top: 40px;
}

/* SIDEBAR META */
.nga-meta-sidebar {
    font-size: 15px;
}

.nga-meta-row {
    margin-bottom: 10px;
font-size:18px;line-height:1.4em!important;
font-family: 'Dosis', Helvetica, Arial, Lucida, sans-serif;
}

.nga-meta-label {
    font-weight: bold;
}

.nga-meta-value {
    color: #444;
}

.nga-meta-note {
    color: #777;
    font-style: italic;
}

/* --------------------------------------------------------------
   RESULTATENBAR
-------------------------------------------------------------- */



.nga-sort-bar a {
    margin-left: 15px;
    text-decoration: none;
}

.nga-results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nga-sort-bar {
    display: flex;
    gap: 20px;
    justify-content: flex-end;
}

.nga-sort-link {
    text-decoration: none;
    font-weight: 500;
    color: #666;
}

.nga-sort-link.is-active {
    color: #4caf50; /* zelfde groen als titel */
    font-weight: 600;
}

.nga-sort-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #666;
    font-weight: 500;
    text-decoration: none;
}

.nga-sort-link .nga-sort-icon {
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 6px solid currentColor;
    transition: transform 0.2s ease, opacity 0.2s ease;
    opacity: 0.4;
}

/* actief */
.nga-sort-link.is-active {
    color: #4caf50;
    font-weight: 600;
}

.nga-sort-link.is-active .nga-sort-icon {
    opacity: 1;
}

/* DESC = pijltje omhoog */
.nga-sort-link.is-active.order-desc .nga-sort-icon {
    transform: rotate(180deg);
}




/* --------------------------------------------------------------
   RESPONSIVE
-------------------------------------------------------------- */

@media (max-width: 900px) {
    .nga-layout {
        flex-direction: column;
    }

    .nga-sidebar {
        width: 100%;
    }

    .nga-activity-card {
        flex-direction: column;
        align-items: center;
    }

    .nga-activity-image img,
    .nga-no-image {
        width: 100%;
    }
}

@media only screen and (max-width: 767px) {
    .activiteiten-header {
        height: 20vh!important;
    }
	.nga-layout {gap:20px!important}
}

/* --------------------------------------------------------------
MODAL
-------------------------------------------------------------- */

.nga-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
}

.nga-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.7); /* donkere achtergrond */
}

/* Modal box */
.nga-modal-content {
    position: relative;
    width: 90%;
    max-width: 900px;          /* maxbreedte */
    max-height: 90vh;          /* max hoogte */
    margin: 5vh auto;
    background: #ffffff;       /* witte achtergrond */
    padding: 30px 30px 40px;
    border-radius: 10px;
    overflow-y: auto;          /* scroll in modal */
    box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}

/* Scroll blokkeren achtergrond */
body.nga-modal-open {
    overflow: hidden;
}
