.bpr-testimonials .bpr-card.bpr-testimonial-card { display: grid; grid-template-columns: 1fr 1fr; gap: 0; overflow: hidden; }
.bpr-testimonials .bpr-project-photo { margin: 0; width: 100%; height: 100%; min-height: 480px; }
.bpr-testimonials .bpr-project-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.bpr-testimonials .bpr-testimonial-content { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 20px; margin: 0; }
.bpr-testimonials .bpr-testimonial-company { font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--bpr-accent); }
.bpr-testimonials .bpr-quote-mark { color: var(--bpr-accent); font-family: Georgia, serif; font-size: 76px; line-height: .6; padding-top: 15px; }
.bpr-testimonials .bpr-testimonial-quote { font-family: var(--bpr-font-body); font-size: clamp(23px, 2.1vw, 32px); line-height: 1.4; font-weight: 400; font-style: italic; }
.bpr-testimonials .bpr-author { margin-top: 8px; gap: 14px; }
.bpr-testimonials .bpr-testimonial-portrait { flex: 0 0 58px; width: 58px; margin: 0; }
.bpr-testimonials .bpr-testimonial-portrait img { width: 58px; height: 58px; object-fit: cover; border-radius: 50%; display: block; }
.bpr-testimonials .bpr-author-name { font-size: 14px; font-weight: 600; }
.bpr-testimonials .bpr-testimonial-role { margin-top: 4px; font-size: 13px; color: #686960; }
.bpr-testimonials .bpr-project-button { margin-top: 8px; }
.bpr-testimonials .bpr-project-button a { background: transparent; color: var(--bpr-ink); border: 0; border-bottom: 1px solid var(--bpr-accent); padding: 8px 0; font-size: 13px; border-radius: 0; }
.bpr-testimonials .bpr-project-button a:hover { color: var(--bpr-accent); }
@media(max-width: 700px) {
 .bpr-testimonials { --bpr-mobile-photo-height: clamp(180px, 56vw, 260px); }
 .bpr-testimonials .bpr-card.bpr-testimonial-card { grid-template-columns: minmax(0, 1fr); grid-template-rows: var(--bpr-mobile-photo-height) 1fr; }
 .bpr-testimonials .bpr-project-photo { min-height: 0; height: var(--bpr-mobile-photo-height); }
 .bpr-testimonials .bpr-testimonial-content { padding: 24px !important; gap: 14px; justify-content: flex-start; }
 .bpr-testimonials .bpr-testimonial-quote { font-size: 19px; line-height: 1.45; }
 .bpr-testimonials .bpr-quote-mark { font-size: 56px; padding-top: 10px; }
 .bpr-testimonials .bpr-author { gap: 10px; }
 .bpr-testimonials .bpr-testimonial-portrait { flex-basis: 48px; width: 48px; }
 .bpr-testimonials .bpr-testimonial-portrait img { width: 48px; height: 48px; }
 .bpr-testimonials .bpr-testimonial-person { min-width: 0; overflow-wrap: anywhere; }
 .bpr-testimonials.bpr-enhanced .bpr-arrows { top: calc(var(--bpr-rail-top, 0px) + var(--bpr-mobile-photo-height) / 2); }
 .bpr-testimonials .bpr-prev, .bpr-testimonials .bpr-next { flex-basis: 44px; min-width: 44px; min-height: 44px; width: 44px; height: 44px; transform: none; }
}

/* Keep long quotes compact; the native button expands the complete text. */
.bpr-testimonials { --bpr-quote-lines: 4; }
.bpr-testimonials .bpr-testimonial-copy { width: 100%; margin: 0; }
.bpr-testimonials .bpr-more-buttons:has(button[hidden]) { display: none; }
.bpr-testimonials .bpr-testimonial-portrait { display: none; }
@media (min-width: 701px) {
 .bpr-testimonials .bpr-project-photo { position: relative; }
 .bpr-testimonials .bpr-project-photo img { position: absolute; inset: 0; }
}
@media (max-width: 1199px) { .bpr-testimonials { --bpr-quote-lines: 3; } }

/* Comparison variant: compact project cards, using the same central records. */
.bpr-testimonials.bpr-testimonials-cards { --bpr-quote-lines: 4; }
.bpr-testimonials.bpr-testimonials-cards .bpr-card.bpr-testimonial-card { grid-template-columns: minmax(0,1fr); grid-template-rows: 190px 1fr; }
.bpr-testimonials.bpr-testimonials-cards .bpr-project-photo { position: relative; min-height: 0; height: 190px; }
.bpr-testimonials.bpr-testimonials-cards .bpr-project-photo img { position: absolute; inset: 0; }
.bpr-testimonials.bpr-testimonials-cards .bpr-testimonial-content { justify-content: flex-start; gap: 16px; }
.bpr-testimonials.bpr-testimonials-cards .bpr-testimonial-quote { font-size: 19px; line-height: 1.45; }
.bpr-testimonials.bpr-testimonials-cards .bpr-quote-mark { font-size: 48px; padding-top: 8px; }
.bpr-testimonials.bpr-testimonials-cards .bpr-author { margin-top: auto; padding-top: 8px; }
.bpr-testimonials.bpr-testimonials-cards .bpr-arrows { top: calc(var(--bpr-rail-top, 0px) + 95px); }
.bpr-testimonials.bpr-testimonials-cards .bpr-prev,
.bpr-testimonials.bpr-testimonials-cards .bpr-next { flex-basis: 44px; width: 44px; height: 44px; min-width:44px; min-height:44px; }
.bpr-comparison-label { text-align:center; font-size:13px; letter-spacing:.08em; text-transform:uppercase; color:#A97661; margin-bottom:20px; }
@media(max-width:639px) { .bpr-testimonials.bpr-testimonials-cards { --bpr-quote-lines:3; } }

/* Shake-inspired compact quote cards: company first, no image or oversized quote mark. */
.bpr-testimonials.bpr-testimonials-cards .bpr-card.bpr-testimonial-card { display: block; border-radius: 0 0 48px 0; }
.bpr-testimonials.bpr-testimonials-cards .bpr-project-photo,
.bpr-testimonials.bpr-testimonials-cards .bpr-quote-mark { display: none; }
.bpr-testimonials.bpr-testimonials-cards .bpr-testimonial-content { display: grid; grid-template-columns: minmax(0,1fr) auto; grid-template-rows: auto 1fr auto; align-items: start; gap: 16px 12px; min-height: 340px; height:100%; box-sizing:border-box; }
.bpr-testimonials.bpr-testimonials-cards .bpr-testimonial-company { grid-column:1 / -1; align-self:start; padding:12px 0 8px; font-size:24px; line-height:1.15; letter-spacing:.02em; font-weight:600; color:var(--bpr-ink); }
.bpr-testimonials.bpr-testimonials-cards .bpr-testimonial-copy { grid-column:1 / -1; }
.bpr-testimonials.bpr-testimonials-cards .bpr-testimonial-quote { font-size:16px; line-height:1.4; font-style:normal; }
.bpr-testimonials.bpr-testimonials-cards .bpr-author { margin:0; padding:0; align-self:end; }
.bpr-testimonials.bpr-testimonials-cards .bpr-author-name { font-size:13px; }
.bpr-testimonials.bpr-testimonials-cards .bpr-testimonial-role { font-size:12px; margin-top:3px; }
.bpr-testimonials.bpr-testimonials-cards .bpr-testimonial-content > .wp-block-buttons { align-self:end; }
.bpr-testimonials.bpr-testimonials-cards .bpr-project-button { margin:0; }
.bpr-testimonials.bpr-testimonials-cards .bpr-project-button a { border:0; padding:0; font-size:13px; white-space:nowrap; }
.bpr-testimonials.bpr-testimonials-cards .bpr-arrows { top:var(--bpr-rail-center); }
.bpr-testimonials.bpr-testimonials-cards .bpr-read-more { font-size:11px; margin-top:8px; }
@media(max-width:639px) { .bpr-testimonials.bpr-testimonials-cards .bpr-testimonial-content { min-height:300px; padding:24px !important; } }
@media(max-width:639px) { .bpr-testimonials.bpr-testimonials-cards .bpr-arrows { top:calc(var(--bpr-rail-top, 0px) + 96px); } }

.bpr-testimonials.bpr-testimonials-cards .bpr-testimonial-content { position:relative; }
.bpr-testimonials.bpr-testimonials-cards .bpr-testimonial-company { padding-right:38px; }
.bpr-testimonials.bpr-testimonials-cards .bpr-quote-mark { display:block; position:absolute; top:35px; right:24px; margin:0; padding:0; font-family:Georgia,serif; font-size:52px; line-height:1; color:var(--bpr-accent); }
.bpr-testimonials.bpr-testimonials-cards .bpr-testimonial-content > .wp-block-buttons { grid-column:2; grid-row:3; justify-self:end; justify-content:flex-end; }

/* Selected design: photographs are always visible; no hover reveal. */
.bpr-testimonials.bpr-photo-cards { --bpr-quote-lines:5; --bpr-gap:24px; }
.bpr-testimonials.bpr-photo-cards .bpr-card.bpr-photo-card { position:relative; isolation:isolate; display:block; height:100%; border-radius:0 0 40px 0; background:#252922; color:#fff; }
.bpr-testimonials.bpr-photo-cards .bpr-project-photo { display:block; position:absolute; inset:0; width:100%; height:100%; min-height:0; margin:0; z-index:-2; }
.bpr-testimonials.bpr-photo-cards .bpr-project-photo img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
.bpr-testimonials.bpr-photo-cards .bpr-photo-card::after { content:""; position:absolute; inset:0; z-index:-1; background:linear-gradient(180deg,rgba(12,21,17,.5),rgba(12,21,17,.75) 52%,rgba(12,21,17,1)); opacity:var(--bpr-overlay-opacity,.4); pointer-events:none; }
.bpr-testimonials.bpr-photo-cards .bpr-testimonial-content { position:relative; display:flex; flex-direction:column; align-items:stretch; justify-content:flex-start; min-height:510px; height:100%; padding:32px!important; gap:22px; background:transparent; color:#fff; }
.bpr-testimonials.bpr-photo-cards .bpr-company-logo { display:flex; align-items:center; height:64px; margin:0 44px 0 0; }
.bpr-testimonials.bpr-photo-cards .bpr-company-logo img { display:block; width:auto; max-width:100%; height:auto; max-height:64px; object-fit:contain; object-position:left center; filter:brightness(0) invert(1); }
.bpr-testimonials.bpr-photo-cards .bpr-logo-fallback { min-height:64px; display:flex; align-items:center; padding:0 44px 0 0; margin:0; font-size:25px; line-height:1.15; font-weight:600; text-transform:uppercase; color:#fff; }
.bpr-testimonials.bpr-photo-cards .bpr-quote-mark { top:38px; right:28px; font-size:64px; color:#fff; opacity:.85; }
.bpr-testimonials.bpr-photo-cards .bpr-testimonial-copy { flex:1 0 auto; }
.bpr-testimonials.bpr-photo-cards .bpr-testimonial-quote { font-size:clamp(23px,1.8vw,28px); line-height:1.35; font-style:italic; color:#fff; }
.bpr-testimonials.bpr-photo-cards .bpr-author { display:block; align-self:stretch; margin:0; padding:0; }
.bpr-testimonials.bpr-photo-cards .bpr-author-name { font-size:15px; color:#fff; }
.bpr-testimonials.bpr-photo-cards .bpr-testimonial-role { font-size:14px; line-height:1.4; color:#fff; margin-top:5px; opacity:.9; }
.bpr-testimonials.bpr-photo-cards .bpr-testimonial-content > .wp-block-buttons { align-self:flex-end; margin:0; }
.bpr-testimonials.bpr-photo-cards .bpr-project-button a { color:#fff; font-size:14px; padding:4px 0; border-bottom:1px solid rgba(255,255,255,.65); }
.bpr-testimonials.bpr-photo-cards .bpr-read-more { color:#fff; font-size:14px; margin-top:14px; }
.bpr-testimonials.bpr-photo-cards .bpr-arrows { top:var(--bpr-rail-center); }
@media(max-width:639px) {
 .bpr-testimonials.bpr-photo-cards { --bpr-quote-lines:5; }
 .bpr-testimonials.bpr-photo-cards .bpr-testimonial-content { min-height:490px; padding:28px!important; gap:20px; }
 .bpr-testimonials.bpr-photo-cards .bpr-testimonial-quote { font-size:24px; }
 .bpr-testimonials.bpr-photo-cards .bpr-company-logo { height:56px; }
 .bpr-testimonials.bpr-photo-cards .bpr-company-logo img { max-height:56px; }
 .bpr-testimonials.bpr-photo-cards .bpr-quote-mark { top:32px; right:24px; }
}
.bpr-testimonials.bpr-photo-cards .bpr-more-block button.bpr-read-more { color:#fff; font-size:14px; }
.bpr-testimonials.bpr-photo-cards .bpr-company-logo img { width:200px; }
@media(max-width:639px) {
 .bpr-testimonials.bpr-photo-cards .bpr-controls { height:0; min-height:0; margin:0; }
 .bpr-testimonials.bpr-photo-cards .bpr-arrows { position:absolute; top:var(--bpr-rail-center); left:var(--bpr-rail-left, 0px); width:var(--bpr-rail-width, 100%); transform:translateY(-50%); justify-content:space-between; gap:0; }
 .bpr-testimonials.bpr-photo-cards .bpr-prev,
 .bpr-testimonials.bpr-photo-cards .bpr-next { flex-basis:40px; width:40px; height:40px; min-width:40px; min-height:40px; }
 .bpr-testimonials.bpr-photo-cards .bpr-prev { transform:translateX(-20%); }
 .bpr-testimonials.bpr-photo-cards .bpr-next { transform:translateX(20%); }
 .bpr-testimonials.bpr-photo-cards .bpr-prev svg,
 .bpr-testimonials.bpr-photo-cards .bpr-next svg { width:18px; height:auto; }
}
@media(max-width:479px) {
 .bpr-testimonials.bpr-photo-cards .bpr-prev,
 .bpr-testimonials.bpr-photo-cards .bpr-next { flex-basis:32px; width:32px; height:32px; min-width:32px; min-height:32px; }
 .bpr-testimonials.bpr-photo-cards .bpr-prev { transform:translateX(-25%); }
 .bpr-testimonials.bpr-photo-cards .bpr-next { transform:translateX(25%); }
 .bpr-testimonials.bpr-photo-cards .bpr-prev svg,
 .bpr-testimonials.bpr-photo-cards .bpr-next svg { width:16px; }
}
/* Keep the author and project link together in a compact footer row. */
.bpr-testimonials.bpr-photo-cards .bpr-testimonial-content { display:grid; grid-template-columns:minmax(0,1fr) auto; grid-template-rows:auto 1fr auto; min-height:440px; column-gap:14px; }
.bpr-testimonials.bpr-photo-cards .bpr-company-logo,
.bpr-testimonials.bpr-photo-cards .bpr-logo-fallback,
.bpr-testimonials.bpr-photo-cards .bpr-testimonial-copy { grid-column:1 / -1; }
.bpr-testimonials.bpr-photo-cards .bpr-author { grid-column:1; grid-row:3; align-self:end; min-width:0; overflow-wrap:anywhere; }
.bpr-testimonials.bpr-photo-cards .bpr-testimonial-content > .wp-block-buttons { grid-column:2; grid-row:3; align-self:end; justify-self:end; }
@media(max-width:639px) { .bpr-testimonials.bpr-photo-cards .bpr-testimonial-content { min-height:440px; column-gap:12px; } }

/* A gentle photo zoom keeps the card layout and text stable. */
@media (prefers-reduced-motion:no-preference) {
 .bpr-testimonials.bpr-photo-cards .bpr-project-photo img { transition:transform .45s ease; }
 .bpr-testimonials.bpr-photo-cards .bpr-photo-card:focus-within .bpr-project-photo img { transform:scale(1.035); }
}
@media (hover:hover) and (pointer:fine) and (prefers-reduced-motion:no-preference) {
 .bpr-testimonials.bpr-photo-cards .bpr-photo-card:hover .bpr-project-photo img { transform:scale(1.035); }
}

/* Jorien's feedback: calmer cards, full quotes and a single project link. */
.bpr-testimonials.bpr-photo-cards .bpr-card.bpr-photo-card { border-radius:0; }
.bpr-testimonials.bpr-photo-cards .bpr-testimonial-content { min-height:420px; gap:30px 14px; grid-template-columns:minmax(0,1fr) minmax(0,1fr); }
.bpr-testimonials.bpr-photo-cards .bpr-company-logo { height:52px; }
.bpr-testimonials.bpr-photo-cards .bpr-company-logo img { max-height:52px; width:170px; }
.bpr-testimonials.bpr-photo-cards .bpr-logo-fallback { min-height:52px; font-size:22px; }
.bpr-testimonials.bpr-photo-cards.bpr-enhanced .bpr-testimonial-quote:not(.is-expanded), .bpr-testimonials.bpr-photo-cards .bpr-testimonial-quote { display:block; -webkit-line-clamp:unset; max-height:none; overflow:visible; font-size:20px; line-height:1.5; }
.bpr-testimonials.bpr-photo-cards .bpr-more-buttons { display:none; }
.bpr-testimonials.bpr-photo-cards .bpr-author-name { font-size:13px; line-height:1.4; }
.bpr-testimonials.bpr-photo-cards .bpr-testimonial-role { font-size:12px; }
.bpr-testimonials.bpr-photo-cards .bpr-project-button a { font-size:12px; line-height:1.5; white-space:normal; text-align:right; }
@media(max-width:639px) {
 .bpr-testimonials.bpr-photo-cards .bpr-testimonial-content { min-height:400px; gap:28px 14px; }
 .bpr-testimonials.bpr-photo-cards .bpr-testimonial-quote { font-size:18px; }
}

/* Reuse the theme's Lees verder arrow, scaled down for the card footer. */
.bpr-testimonials.bpr-photo-cards .bpr-project-button.is-style-arrow a { display:inline-flex; align-items:center; justify-content:flex-end; font-weight:600!important; }
.bpr-testimonials.bpr-photo-cards .bpr-project-button.is-style-arrow a::after { width:12px; height:12px; flex:0 0 12px; margin-left:8px; background-color:currentColor; }
/* Keep the mobile project link compact; its text remains the accessible name. */
@media(max-width:639px) {
 .bpr-testimonials.bpr-photo-cards .bpr-project-button.is-style-arrow a { font-size:0!important; line-height:0; min-width:32px; min-height:32px; padding:0; border:0; justify-content:center; }
 .bpr-testimonials.bpr-photo-cards .bpr-project-button.is-style-arrow a::after { margin-left:0; }
}
