/* Version 1.1.4 — put these two rules FIRST to win specificity */
#pw-wizard-form .pw-step { display: none !important; }
#pw-wizard-form .pw-step.is-active { display: block !important; }

/* (rest of your stylesheet, unchanged from last message) */

/* Wizard container */
.pw-wizard{max-width:1000px;margin:24px auto;background:#fff;border:1px solid #e5e7eb;border-radius:14px;box-shadow:0 6px 20px rgba(0,0,0,.06);overflow:hidden}

/* Header + stepper */
.pw-header {
    padding: 24px 28px;
    border-bottom: 1px solid #eef2f7;
}

.pw-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin: 0;
    padding: 0;
    list-style: none;
}

.pw-step-item {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
}

.pw-step-item .dot {
    position: relative;
    width: 15px;
    height: 15px;
    border-radius: 999px;
    background: #dbeafe;
    display: grid;
    place-items: center;
}

.pw-step-item .dot .ring {
    position: absolute;
    inset: -4px;
    border: 2px solid #3b82f6;
    border-radius: 999px;
    opacity: 0;
}

.pw-step-item .dot .check {
    display: none;
    font-size: 9px;
    color: #fff;
}

.pw-step-item .text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.pw-step-item .text small {
    font-size: 11px;
    letter-spacing: .08em;
    color: #9ca3af;
}

.pw-step-item .text .label {
    font-size: 14px;
    font-weight: 700;
    color: #111827;
}

.pw-step-item .text .state {
    font-size: 12px;
    color: #9ca3af;
}

.pw-step-item+.pw-step-item::before {
    content: "";
    display: block;
    width: 60px;
    height: 4px;
    border-radius: 4px;
    background: #e5e7eb;
    margin: 0 0 0 10px;
}

/* States */
.pw-step-item.done .dot { background: #059669; }
.pw-step-item.done .dot .check { display: block; }
.pw-step-item.done .text .state { color: #059669; }
.pw-step-item.current .dot { background: #dbeafe; }
.pw-step-item.current .dot .ring { opacity: 1; }
.pw-step-item.current .text .state { color: #3b82f6; }
.pw-step-item.done+.pw-step-item::before { background: #059669; }

/* Step body */
.pw-body { padding: 20px; }

/* (base fallback; JS + forced rules above control visibility) */
.pw-step { display: none; }
.pw-step.is-active { display: block; }

/* Nav buttons */
.pw-nav {
    margin-top: 16px;
    display: flex;
    justify-content: space-between;
    gap: 12px;
}

.pw-btn {
    width: 162px;
    appearance: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: 1px solid #d1d5db;
    background-color: #223F4D;
    color: #fff;
    border-radius: 10px;
    padding: 10px 14px;
    cursor: pointer;
    transition: all 0.3s ease !important;
}

.pw-btn:hover { background-color: #897D74; }

.pw-save {
    width: 170px;
    appearance: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: 1px solid #d1d5db;
    background-color: #223F4D;
    color: #fff;
    border-radius: 10px !important;
    padding: 10px 14px;
    cursor: pointer;
    transition: all 0.3s ease !important;
}

.first-pw-nav { justify-content: flex-end; }

.pw-btn.secondary { background: #fff; color: #111827; }
.pw-btn.secondary:hover { background: #897D74; color: #fff; }

/* Inputs */
label { display: block; font-weight: 600; font-size: 14px; }

input[type="text"],
input[type="file"],
textarea,
select {
    width: 100%;
    margin-top: 6px;
    padding: 10px 12px;
    border: 1px solid #d1d5db;
    border-radius: 10px;
    background: #fff;
}

.pw-inline-help { font-size: 12px; color: #64748b; margin-top: 4px; }

.pw-error { margin-top: 6px; font-size: 12px; color: #b91c1c; display: none; }
.pw-has-error input { border-color: #fca5a5; background: #fff7f7; }
.pw-has-error .pw-error { display: block; }

/* Disclosure panels */
.pw-disclosure { margin-top: 12px; }
.pw-disclosure button { display: flex; align-items: center; gap: 8px; }

.pw-panel {
    display: block;
    padding: 12px;
    margin-top: 8px;
    border: 1px dashed #cbd5e1;
    border-radius: 12px;
    background: #f9fafb;
}
.pw-panel.is-open { display: block; }

.label { display: flex; align-items: center; gap: 5px; }

.pw-btn.pw-save[disabled] { opacity: 1; cursor: not-allowed; }

.pw-spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, .5);
    border-top-color: #fff;
    border-radius: 50%;
    animation: pwspin .8s linear infinite;
}
@keyframes pwspin { to { transform: rotate(360deg); } }

/* Sections (videos/opinions/audios/pdfs) */
.pw-videos-section,
.pw-opinions-section,
.pw-audios-section,
.pw-pdf-section {
    border-radius: 12px;
    padding: 5px 10px;
}
.pw-videos-section,
.pw-opinions-section {
    background-image: linear-gradient(to right top, #58abd3, #4a8eaf, #3c738d, #2f586c, #223f4d);
}
.pw-audios-section,
.pw-pdf-section {
    background-image: linear-gradient(to right bottom, #948e82, #aca597, #c4bcac, #ddd4c2, #f7edd8);
}

.pw-videos-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.pw-videos-title { color: #fff; margin: 0 !important; font-size: 20px; font-weight: 700; display: flex; align-items: center; gap: 10px; }
.pw-videos-more { display: flex; align-items: center; gap: 1px; font-weight: 600; text-decoration: none; color: #fff !important; font-size: 12px; }
.pw-videos-more svg { transition: all 0.3s ease; }
.pw-videos-more:hover svg { transform: translateX(5px); }

/* Grids & Cards */
.pw-latest-grid {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    margin-bottom: 40px;
    align-items: stretch;
}
@media (min-width: 640px) { .pw-latest-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) {
    .pw-latest-grid.pw-cols-3 { grid-template-columns: repeat(3, 1fr); }
    .pw-latest-grid.pw-cols-4 { grid-template-columns: repeat(4, 1fr); }
}

.pw-card { background: #fff; overflow: hidden; display: flex; flex-direction: column; color: #000; box-shadow: 0 6px 24px rgba(0,0,0,.06); transition: transform .2s, box-shadow .2s; height: 100%; }
.pw-card article { display: flex; flex-direction: column; height: 100%; }
.pw-card:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(0,0,0,.08); }
.pw-card:hover .pw-title { color: #897D74 !important; }

.pw-thumb { position: relative; background-size: cover; background-position: center; aspect-ratio: 16/9; }
.pw-media-badge { position: absolute; right: 10px; bottom: 10px; width: 48px; height: 48px; color: #fff; filter: drop-shadow(0 2px 3px rgba(0,0,0,.25)); pointer-events: none; }

.pw-body-latest { padding: 14px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.pw-excerpt { -webkit-line-clamp: 3; display: -webkit-box; -webkit-box-orient: vertical; overflow: hidden; text-overflow: ellipsis; flex: 0 1 auto; }
.pw-title { font-size: 1rem; line-height: 1.3; }
.pw-date { margin-top: auto; text-transform: uppercase; font-weight: 500; font-size: 12px; opacity: .8; }

/* DevUp modal/search (unchanged styles kept) */
.devup-sf-in-modal form { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 10px; }
.devup-sf-in-modal input[type="text"] { flex: 1 1 220px; }
.devup-sf-in-modal select { min-width: 180px; }
.devup-results-host { margin-top: 10px; }
.devup-modal-results { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.devup-result-link { display: flex; align-items: center; gap: 12px; padding: 8px; border-radius: 8px; text-decoration: none; color: inherit; }
.devup-result-link:hover { background: rgba(0,0,0,.05); }
.devup-result-thumb { width: 56px; height: 56px; flex: 0 0 56px; border-radius: 8px; background: #f1f5f9 center/cover no-repeat; }
.devup-result-text { font-weight: 600; line-height: 1.3; }
.devup-loading, .devup-modal-empty { padding: 14px; text-align: center; opacity: .7; }
.devup-modal-pagination { display: flex; gap: 8px; justify-content: center; margin-top: 8px; }
.devup-modal-pagination button { padding: 6px 10px; border: 1px solid #e5e7eb; border-radius: 8px; background: #fff; cursor: pointer; }
.devup-sf-in-modal { margin: 10px 0 8px; }
.devup-filterbar { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin: 10px 0 6px; }
.devup-filter span { font-size: .875rem; margin-right: 6px; opacity: .8; }
.devup-filter-check { display: flex; align-items: center; gap: 6px; }
.ct-search-form[data-devup="on"]+.ct-search-results { display: block; }
.ct-search-form+.ct-search-results~.ct-search-results { display: none !important; }
.ct-search-results:not([data-devup-target="1"]) { display: none !important; }

/* Section titles */
.pw-section-title-wrapper { display: flex; align-items: center; justify-content: space-between; margin: 0 auto 20px !important; }
.pw-section-title-wrapper a { color: #223F4D !important; }
.pw-section-title { color: #223F4D; display: flex; align-items: center; gap: 10px; margin: 0 !important; font-size: 25px; }

/* Activiteiten lists / meta */
.hp-activiteiten, .hp-uitgelicht { margin-top: 50px !important; }
.act-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.act-item { padding: 0; }
.act-link { text-decoration: none; color: inherit; display: flex; gap: 8px; flex-wrap: wrap; }
.act-date, .act-title { font-weight: 600; }
.act-loc, .act-excerpt { opacity: .85; }
.view-all { font-size: .95rem; text-decoration: none; }
.view-all:hover { text-decoration: underline; }

.act-meta {
    width: 100%;
    display: flex;
    align-items: center;
    margin: 0 0 12px;
    padding: 8px 12px;
    border-radius: 8px;
    background: rgba(0,0,0,.04);
    border: 1px solid rgba(0,0,0,.07);
}
.act-meta__item { flex: 1; display: flex; align-items: center; gap: 6px; font-size: 14px; line-height: 1; }
.act-meta__item:nth-child(2) { padding-left: 12px; border-left: 1px solid rgba(0,0,0,.07); }
.act-meta__icon { display: inline-block; vertical-align: -1px; }

/* Locked screen */
.pw-locked { display: grid; place-items: center; padding: 48px 16px; }
.pw-locked-card { max-width: 560px; width: 100%; background: #fff; border: 1px solid rgba(0,0,0,.08); border-radius: 16px; padding: 28px; box-shadow: 0 6px 18px rgba(0,0,0,.06); text-align: center; }
.pw-locked-icon { display: inline-flex; width: 56px; height: 56px; place-items: center; margin: 0 auto 12px; border-radius: 50%; background: rgba(0,0,0,.04); color: #111; }
.pw-locked-title { margin: 0 0 8px; font-size: 22px; line-height: 1.2; }
.pw-locked-desc { margin: 0 0 18px; color: #555; }
.pw-btn.pw-login-btn { display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px; border-radius: 12px; background: #223F4D; color: #fff; text-decoration: none; border: 1px solid rgba(0,0,0,.1); transition: transform .08s, box-shadow .2s, background .2s; }
.pw-btn.pw-login-btn:hover { transform: translateY(-1px); box-shadow: 0 8px 20px rgba(0,0,0,.12); background: #897D74; }

.title-wrapper { display: flex; align-items: center; gap: 10px; }

@media(min-width: 600px) {
  .pw-section-title-wrapper { padding-left: 20px; padding-right: 20px; }
  .pw-section-title { font-size: 35px; }
  .pw-videos-more { font-size: 16px; }
}

/* === ACTIVITEITEN GRID — final overrides === */

/* Base from PHP $cols */
.abu-activiteiten-grid {
  display: grid;
  gap: 16px;
}
.abu-activiteiten-grid.abu-cols-1 { grid-template-columns: 1fr; }
.abu-activiteiten-grid.abu-cols-2 { grid-template-columns: repeat(2, minmax(0,1fr)); }
.abu-activiteiten-grid.abu-cols-3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
.abu-activiteiten-grid.abu-cols-4 { grid-template-columns: repeat(4, minmax(0,1fr)); }

/* Responsive overrides (use !important to beat theme rules) */
@media (max-width: 1280px) {
  .abu-activiteiten-grid { grid-template-columns: repeat(3, minmax(0,1fr)) !important; }
}
@media (max-width: 1024px) {
  .abu-activiteiten-grid { grid-template-columns: repeat(2, minmax(0,1fr)) !important; }
}
/* ✅ force TWO per row on mobile */
@media (max-width: 640px) {
  .abu-activiteiten-grid { grid-template-columns: repeat(2, minmax(0,1fr)) !important; }
}
/* ultra-small phones → 1 per row */
@media (max-width: 380px) {
  .abu-activiteiten-grid { grid-template-columns: 1fr !important; }
}

/* Card */
.abu-activiteit-card {
  margin: 0;
  /*background: #fff;*/
  /*border: 1px solid #eee;*/
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* Image: show full flyer, never crop */
.abu-activiteiten-grid .abu-activiteit-card img {
  display: block;
  width: 100%;
  height: auto;                /* natural height */
  object-fit: contain !important; /* beat theme’s cover rules */
  background: #f5f5f5;
  padding: 4px;
        /* consistent card height */
}

/* Optional title */
.abu-activiteit-title {
  padding: 10px 12px;
  font-weight: 600;
  font-size: 14px;
  text-align: center;
}

/* all copied here */
/* Wizard container */
.pw-wizard {
    max-width: 1000px;
    margin: 24px auto;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, .06);
    overflow: hidden;
}

/* Header + stepper */
.pw-header {
    padding: 24px 28px;
    border-bottom: 1px solid #eef2f7;
}

.pw-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin: 0;
    padding: 0;
    list-style: none;
}

.pw-step-item {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
}

.pw-step-item .dot {
    position: relative;
    width: 15px;
    height: 15px;
    border-radius: 999px;
    background: #dbeafe;
    display: grid;
    place-items: center;
}

.pw-step-item .dot .ring {
    position: absolute;
    inset: -4px;
    border: 2px solid #3b82f6;
    border-radius: 999px;
    opacity: 0;
}

.pw-step-item .dot .check {
    display: none;
    font-size: 9px;
    color: #fff;
}

.pw-step-item .text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.pw-step-item .text small {
    font-size: 11px;
    letter-spacing: .08em;
    color: #9ca3af;
}

.pw-step-item .text .label {
    font-size: 14px;
    font-weight: 700;
    color: #111827;
}

.pw-step-item .text .state {
    font-size: 12px;
    color: #9ca3af;
}

.pw-step-item+.pw-step-item::before {
    content: "";
    display: block;
    width: 60px;
    height: 4px;
    border-radius: 4px;
    background: #e5e7eb;
    margin: 0 0 0 10px;
}

/* States */
.pw-step-item.done .dot {
    background: #059669;
}

.pw-step-item.done .dot .check {
    display: block;
}

.pw-step-item.done .text .state {
    color: #059669;
}

.pw-step-item.current .dot {
    background: #dbeafe;
}

.pw-step-item.current .dot .ring {
    opacity: 1;
}

.pw-step-item.current .text .state {
    color: #3b82f6;
}

.pw-step-item.done+.pw-step-item::before {
    background: #059669;
}

/* Step body */
.pw-body {
    padding: 20px;
}

.pw-step {
    display: none;
}

.pw-step.is-active {
    display: block;
}

/* Nav buttons */
.pw-nav {
    margin-top: 16px;
    display: flex;
    justify-content: space-between;
    gap: 12px;
}

.pw-btn {
    width: 162px;
    appearance: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: 1px solid #d1d5db;
    background-color: #223F4D;
    color: #fff;
    border-radius: 10px;
    padding: 10px 14px;
    cursor: pointer;
    transition: all 0.3s ease !important;
}

.pw-btn:hover {
    background-color: #897D74;

}

.pw-save {
    width: 170px;
    appearance: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: 1px solid #d1d5db;
    background-color: #223F4D;
    color: #fff;
    border-radius: 10px !important;
    padding: 10px 14px;
    cursor: pointer;
    transition: all 0.3s ease !important;
}

.first-pw-nav {
    justify-content: flex-end;
}

.pw-btn.secondary {
    background: #fff;
    color: #111827;
}

.pw-btn.secondary:hover {
    background: #897D74;
    color: #fff;
}

/* Inputs */
label {
    display: block;
    font-weight: 600;
    font-size: 14px;
}

input[type="text"],
input[type="file"],
textarea,
select {
    width: 100%;
    margin-top: 6px;
    padding: 10px 12px;
    border: 1px solid #d1d5db;
    border-radius: 10px;
    background: #fff;
}

.pw-inline-help {
    font-size: 12px;
    color: #64748b;
    margin-top: 4px;
}

.pw-error {
    margin-top: 6px;
    font-size: 12px;
    color: #b91c1c;
    display: none;
}

.pw-has-error input {
    border-color: #fca5a5;
    background: #fff7f7;
}

.pw-has-error .pw-error {
    display: block;
}

/* Disclosure panels */
.pw-disclosure {
    margin-top: 12px;
}

.pw-disclosure button {
    display: flex;
    align-items: center;
    gap: 8px;
}

.pw-panel {
    /*display: none;*/
    display: block;
    padding: 12px;
    margin-top: 8px;
    border: 1px dashed #cbd5e1;
    border-radius: 12px;
    background: #f9fafb;
}

.pw-panel.is-open {
    display: block;
}

.label {
    display: flex;
    align-items: center;
    gap: 5px;
}

.pw-btn.pw-save[disabled] {
    opacity: 1;
    /* no fade */
    cursor: not-allowed;
    /* still shows not-allowed cursor */
}

.pw-spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, .5);
    /* light gray border */
    border-top-color: #fff;
    /* white top border for effect */
    border-radius: 50%;
    animation: pwspin .8s linear infinite;
}

@keyframes pwspin {
    to {
        transform: rotate(360deg);
    }
}

.pw-videos-section {
    margin: 50px auto !important;
    /*background-color: rgba(40, 114, 250, 0.2);*/
    background-image: linear-gradient(to right top, #58abd3, #4a8eaf, #3c738d, #2f586c, #223f4d);
    border-radius: 12px;
    padding: 5px 10px;
}

.pw-opinions-section {
    margin: 0 auto 50px !important;
    /*background-color: rgba(40, 114, 250, 0.2);*/
    background-image: linear-gradient(to right top, #58abd3, #4a8eaf, #3c738d, #2f586c, #223f4d);
    border-radius: 12px;
    padding: 5px 10px;
}

.pw-audios-section {
    margin: 0 auto 50px !important;
    /*background-color: rgba(40, 114, 250, 0.2);*/
    background-image: linear-gradient(to right bottom, #948e82, #aca597, #c4bcac, #ddd4c2, #f7edd8);
    border-radius: 12px;
    padding: 5px 10px;
}

.pw-pdf-section {
    margin: 50px auto !important;
    /*background-color: rgba(40, 114, 250, 0.2);*/
    background-image: linear-gradient(to right bottom, #948e82, #aca597, #c4bcac, #ddd4c2, #f7edd8);
    border-radius: 12px;
    padding: 5px 10px;
    /*background-image: linear-gradient(to right bottom, #b9b9b9, #adadad, #a1a1a1, #959595, #898989);*/
}

.pw-videos-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

.pw-videos-title {
    color: #fff;
    margin: 0 !important;
    font-size: 20px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
}

.pw-videos-title svg {
    margin-top: 1px;
}

.pw-videos-more {
    display: flex;
    align-items: center;
    gap: 1px;
    font-weight: 600;
    text-decoration: none;
    color: #fff !important;
    font-size: 12px;
}

.pw-videos-more svg {
    margin-top: -1px;
    transition: all 0.3s ease;
}

.pw-videos-more:hover svg {
    transform: translateX(5px);
}

.pw-videos-grid {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(1, minmax(0, 1fr));
}

@media (min-width: 640px) {
    .pw-videos-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .pw-videos-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.pw-video-card {
    display: block;
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pw-video-card:hover {
    transform: translateY(-2px) scale(1.005);
}

.pw-video-card:hover .pw-video-thumb {
    transform: scale(1.005);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.pw-video-thumb {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    /* 16:9 */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.5s ease;
}

.pw-video-thumb::before {
    /* subtle dark overlay for contrast */
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, -0.1), rgba(0, 0, 0, .35));
}

.pw-video-card:hover .pw-video-thumb::before {
    transform: scale(1.005);
}

.pw-video-play {
    position: absolute;
    inset: auto auto 8px 8px;
    /* bottom-left */
    z-index: 2;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.pw-video-play svg {
    transition: transform 0.3s ease, filter 0.3s ease;
}

.pw-video-card:hover .pw-video-play svg {
    transform: scale(1.2);
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.7));
}

.pw-video-title {
    margin: 8px 0px !important;
    font-size: 15px;
    line-height: 1.3;
    color: #fff;
}

.devup-sf-in-modal form {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 10px;
}

.devup-sf-in-modal input[type="text"] {
    flex: 1 1 220px;
}

.devup-sf-in-modal select {
    min-width: 180px;
}

.devup-results-host {
    margin-top: 10px;
}

.devup-modal-results {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 10px;
}

.devup-result-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px;
    border-radius: 8px;
    text-decoration: none;
    color: inherit;
}

.devup-result-link:hover {
    background: rgba(0, 0, 0, .05);
}

.devup-result-thumb {
    width: 56px;
    height: 56px;
    flex: 0 0 56px;
    border-radius: 8px;
    background: #f1f5f9 center/cover no-repeat;
}

.devup-result-text {
    font-weight: 600;
    line-height: 1.3;
}

.devup-loading,
.devup-modal-empty {
    padding: 14px;
    text-align: center;
    opacity: .7;
}

.devup-modal-pagination {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-top: 8px;
}

.devup-modal-pagination button {
    padding: 6px 10px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background: #fff;
    cursor: pointer;
}

.devup-sf-in-modal {
    margin: 10px 0 8px;
}

.devup-filterbar {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
    margin: 10px 0 6px;
}

.devup-filter span {
    font-size: .875rem;
    margin-right: 6px;
    opacity: .8;
}

.devup-filter-check {
    display: flex;
    align-items: center;
    gap: 6px;
}

.ct-search-form[data-devup="on"]+.ct-search-results {
    display: block;
}

.ct-search-form+.ct-search-results~.ct-search-results {
    display: none !important;
}

.ct-search-results:not([data-devup-target="1"]) {
    display: none !important;
}

.pw-section-title-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0 auto 20px !important;
    padding-left: 0;
    padding-right: 0;
}

.pw-section-title-wrapper a {
    color: #223F4D !important;
}

.pw-section-title {
    color: #223F4D;
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 !important;
    font-size: 25px;
}

/* Grid layout */
.pw-latest-grid {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    margin-bottom: 40px;
    align-items: stretch;
}

@media (min-width: 640px) {
    .pw-latest-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .pw-latest-grid.pw-cols-3 {
        grid-template-columns: repeat(3, 1fr);
    }

    .pw-latest-grid.pw-cols-4 {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Card */
.pw-card {
    background: #fff;
    /*border-radius: 12px;*/
    overflow: hidden;
    display: flex;
    flex-direction: column;
    color: #000;
}

.pw-card:hover {
    color: #000;
}

.pw-card:hover .pw-title {
    color: #897D74 !important;
}

/* Thumbnail with background image */
.pw-thumb {
    position: relative;
    display: block;
    background-size: cover;
    background-position: center;
    aspect-ratio: 16 / 9;
}

/* Media badge overlay */
.pw-media-badge {
    position: absolute;
    left: 10px;
    bottom: 10px;
    color: #fff;
    /* icon color */
    filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .25));
    pointer-events: none;
    /* clicks pass through to link */
}

/* Body */
.pw-body-latest {
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    /* optional */
    flex: 1;
    /* grow to fill under the thumbnail */
    /* remove justify-content: space-between */
}

.pw-excerpt {
    /* no need for height:100% here */
    -webkit-line-clamp: 3;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    flex: 0 1 auto;
    /* let it shrink/grow naturally */
}

.pw-date {
    margin-top: auto;
    /* pins date to the bottom */
    text-transform: uppercase;
    font-weight: 500;
    font-size: 12px;
    opacity: .8;
}

.pw-date {
    text-transform: uppercase;
    font-weight: 500;
    font-size: 12px;
    opacity: .8;
}

.devup-wrapper {
    display: flex;
    gap: 20px;
}

.devup-searchbar {
    margin: 16px 0 24px;
}

.devup-row {
    display: grid;
    gap: 12px;
    grid-template-columns: 1fr;
}

.devup-field {
    flex: 1 !important;
    margin: 0 !important;
}

.devup-field span,
.devup-media legend {
    display: block;
    font-size: .85rem;
    opacity: .8;
    font-weight: 400;
}

.devup-field span {
    margin-top: 2px !important;
}

.devup-field input[type="search"],
.devup-field select {
    width: 100%;
    border: 1px solid var(--ct-border, #e5e7eb);
    border-radius: 8px;
}

.devup-media {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    padding: 20px 20px;
}

.devup-check {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 0 !important;
}

.devup-actions {
    display: flex;
    gap: 8px;
    align-items: center;
}

.pw-latest-grid {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(1, minmax(0, 1fr));
}

@media (min-width:640px) {
    .pw-latest-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width:1024px) {
    .pw-latest-grid.pw-cols-3 {
        grid-template-columns: repeat(3, 1fr);
    }
}

.pw-card {
    display: block;
    background: #fff;
    /*border-radius:14px;*/
    overflow: hidden;
    box-shadow: 0 6px 24px rgba(0, 0, 0, .06);
    transition: transform .2s ease, box-shadow .2s ease;
    height: 100%;
}

.pw-card article {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.pw-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(0, 0, 0, .08);
}

.pw-thumb {
    position: relative;
    aspect-ratio: 16/9;
    background-size: cover;
    background-position: center;
}

.pw-media-badge {
    position: absolute;
    right: 10px;
    bottom: 10px;
    width: 48px;
    height: 48px;
    color: #fff;
    /* icon color */
    filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .25));
    pointer-events: none;
    /* clicks pass through to link */
}

.pw-body-latest {
    padding: 14px;
}

.pw-title {
    font-size: 1rem;
    line-height: 1.3;
}

/*.pw-excerpt { font-size:.9rem; opacity:.8; display:-webkit-box; -webkit-line-clamp:3; -webkit-box-orient:vertical; overflow:hidden; }*/
.pw-date {
    font-size: .8rem;
    text-transform: uppercase;
    opacity: .7;
}

.dpw-btn {
    width: 150px !important;
    height: 40px !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 8px !important;
    border-radius: 10px !important;
    color: #fff !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    border: 1px solid;
    padding: 0 !important;
    background-color: #223F4D !important;
}

.dpw-btn:hover {
    background-color: #897D74 !important;
}

.secondaryBtn span,
.dpw-btn span {
    margin-top: 3px;
}

.secondaryBtn {
    background-color: #fff !important;
    cursor: pointer !important;
    color: #111 !important;
    width: 150px !important;
    height: 40px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    border-radius: 10px !important;
    border: 1px solid #d1d5db !important;
    padding: 0 !important;
    transition: all 0.3s ease !important;
}

.secondaryBtn:hover {
    border: 1px solid #A5A4A4 !important;
    background-color: #897D74 !important;
    color: #fff !important;
}

.pw-locked {
    display: grid;
    place-items: center;
    padding: 48px 16px;
}

.pw-locked-card {
    max-width: 560px;
    width: 100%;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, .08);
    border-radius: 16px;
    padding: 28px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, .06);
    text-align: center;
}

.pw-locked-icon {
    display: inline-flex;
    width: 56px;
    height: 56px;
    display: grid;
    place-items: center;
    margin: 0 auto 12px;
    border-radius: 50%;
    background: rgba(0, 0, 0, .04);
    color: #111;
}

.pw-locked-title {
    margin: 0 0 8px;
    font-size: 22px;
    line-height: 1.2;
}

.pw-locked-desc {
    margin: 0 0 18px;
    color: #555;
}

.pw-btn.pw-login-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    border-radius: 12px;
    background: #223F4D;
    /* swap for your brand color */
    color: #fff;
    text-decoration: none;
    border: 1px solid rgba(0, 0, 0, .1);
    transition: transform .08s ease, box-shadow .2s ease, background .2s ease;
}

.pw-btn.pw-login-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, .12);
    background: #897D74;
}

.title-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Uitgelicht */
.hp-title {
    margin: 0 0 12px;
    font-weight: 700
}

.hp-grid {
    display: grid;
    gap: 16px
}

.hp-grid.cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr))
}

.hp-grid.cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr))
}

.hp-grid.cols-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr))
}

.hp-card {
    background: transparent;
    border: none;
    box-shadow: none
}

.hp-card__thumb {
    width: 100%;
    height: auto;
    display: block
}

.hp-card__title {
    margin: 8px 0 6px;
    line-height: 1.3
}

.hp-card__excerpt {
    opacity: .8;
    margin: 0
}

.hp-card__link {
    text-decoration: none;
    color: inherit
}

/* Activiteiten */
.hp-activiteiten,
.hp-uitgelicht {
    margin-top: 50px !important
}

.act-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px
}

.act-item {
    padding: 0
}

.act-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    gap: 8px;
    flex-wrap: wrap
}

.act-date {
    font-weight: 600
}

.act-title {
    font-weight: 600
}

.act-loc {
    opacity: .8
}

.act-excerpt {
    opacity: .85;
    margin-top: 4px
}

.view-all {
    font-size: .95rem;
    text-decoration: none
}

.view-all:hover {
    text-decoration: underline
}

.act-meta {
    width: 100%;
    display: flex;
    align-items: center;
    margin: 0 0 12px;
    padding: 8px 12px;
    border-radius: 8px;
    background: rgba(0, 0, 0, .04);
    border: 1px solid rgba(0, 0, 0, .07);
}

.act-meta__item {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    line-height: 1;
}

.act-meta__item:nth-child(2) {
    padding-left: 12px;
    border-left: 1px solid rgba(0, 0, 0, .07)
}

.act-meta__icon {
    display: inline-block;
    vertical-align: -1px;
}

@media(min-width: 600px) {
    .pw-section-title-wrapper {
        padding-left: 20px;
        padding-right: 20px;
    }

    .pw-section-title {
        font-size: 35px;
    }

    .pw-videos-more {
        font-size: 16px;
    }
}