/* Shared guest-story component. Add data-guest-review to each independent story. */
.guest-review{margin:0 24px 24px;padding:24px;border:1px solid #cbe6eb;border-radius:8px;background:#f5fbfc;color:#07142d}
.guest-review *{box-sizing:border-box}
.guest-review__heading{font-size:clamp(26px,3vw,40px);font-weight:800;line-height:1.15;margin:0 0 6px;color:#07142d}
.guest-review__intro{color:#506487;font-size:20px;margin:0 0 18px;line-height:1.4}
.guest-review__card{display:grid;grid-template-columns:minmax(250px,.85fr) minmax(0,2fr);gap:20px;padding:16px;border:1px solid #d6e8ec;border-radius:8px;background:#fff}
.guest-review__text{padding:10px 20px 10px 4px;border-right:1px solid #d6e8ec;min-width:0}
.guest-review__author{display:flex;align-items:center;gap:16px;margin-bottom:24px}
.guest-review__avatar{width:72px;height:72px;border-radius:50%;object-fit:cover}
.guest-review__name{font-size:21px;font-weight:800;display:block;color:#07142d}
.guest-review__source{display:block;font-size:14px;color:#506487;margin-top:5px}
.guest-review__stars{color:#f9ae00;font-size:24px;letter-spacing:2px;display:block;line-height:1.3}
.guest-review blockquote{padding:0;margin:0 0 20px;border:0;background:none;color:#273e65;font:inherit;font-size:16px;line-height:1.65}
.guest-review__translation{font-size:13px;color:#627597;margin:0 0 16px}
.guest-review__link{color:#007f8a;font-weight:700;text-decoration:underline;text-underline-offset:3px}
.guest-review__photos{min-width:0;display:grid;grid-template-columns:1.7fr 1fr 1fr;grid-template-rows:165px 165px;gap:8px}
.guest-review__photo{position:relative;display:block;overflow:hidden;border-radius:7px;min-width:0;background:#e7f3f5}
.guest-review__photo:first-child{grid-row:span 2}
.guest-review__photo img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .2s}
.guest-review__photo:hover img{transform:scale(1.03)}
.guest-review__photo:focus-visible,.guest-review__link:focus-visible{outline:3px solid #007f8a;outline-offset:3px}
.guest-review__view{position:absolute;bottom:12px;right:12px;padding:10px 14px;border-radius:10px;background:#fff;color:#007f8a;font-size:14px;font-weight:700;box-shadow:0 2px 8px #07142d20}
.guest-review__count{display:none;position:absolute;right:10px;top:10px;background:#07142dcc;color:white;padding:5px 12px;border-radius:20px}
.guest-review__hint{display:none;color:#506487;font-size:13px;margin:10px 0 0}
.guest-review-dialog{border:0;border-radius:12px;padding:54px 16px 16px;background:#07142d;color:#fff;width:min(1000px,94vw);max-height:94vh;overflow:auto}
.guest-review-dialog::backdrop{background:#020916df}
.guest-review-dialog__image{display:block;width:100%;height:min(65vh,700px);object-fit:contain;touch-action:pan-y}
.guest-review-dialog button{color:#fff;background:#243a57;border:1px solid #7085a1;border-radius:6px;padding:8px 16px;min-height:44px;cursor:pointer}
.guest-review-dialog button:focus-visible{outline:3px solid #7be3ed;outline-offset:3px}
.guest-review-dialog__close{position:absolute;right:12px;top:8px}
.guest-review-dialog__controls{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:12px}
@media(max-width:900px){.guest-review__card{grid-template-columns:1fr}.guest-review__text{border-right:0;padding:4px}.guest-review__photos{grid-template-rows:150px 150px}}
@media(max-width:600px){.guest-review{margin:0 12px 18px;padding:16px}.guest-review__intro{font-size:17px}.guest-review__card{padding:10px;gap:12px}.guest-review__author{gap:12px;margin-bottom:18px}.guest-review__avatar{width:58px;height:58px}.guest-review__name{font-size:19px}.guest-review__photos{grid-template-columns:repeat(4,minmax(0,1fr));grid-template-rows:auto 70px;gap:6px}.guest-review__photo:first-child{grid-column:1/-1;grid-row:auto;aspect-ratio:4/3}.guest-review__count{display:block}.guest-review__view{left:10px;right:auto;bottom:10px;font-size:13px;padding:9px 12px}.guest-review__hint{display:block}.guest-review blockquote{font-size:15px}}
@media(prefers-reduced-motion:reduce){.guest-review__photo img{transition:none}}

.guest-review__actions{display:none}
@media(max-width:767px){.guest-review__actions{display:grid;gap:10px;margin-top:18px}.guest-review__actions .p42-button{width:100%;min-height:48px;white-space:normal;text-align:center}}

/* Review stories inside the existing boat-details accordion. */
.guest-review-accordion .guest-review{margin:0}
.guest-review-accordion > .collapse > .card-body{padding:16px}
@media(max-width:600px){.guest-review-accordion > .collapse > .card-body{padding:8px}.guest-review-accordion .guest-review{padding:12px}}

.guest-review__actions{grid-template-columns:minmax(0,1fr)}
.guest-review__actions .p42-button{min-width:0;padding-left:10px;padding-right:10px;font-size:14px}
/* Keep the story typography independent of legacy accordion headings. */
.p42-redesign .y-inner_page .guest-review-accordion .guest-review__heading{font-family:Sen,sans-serif;font-size:clamp(26px,3vw,40px);font-weight:800;line-height:1.15;text-transform:none;letter-spacing:normal;margin:0 0 6px;padding:0}
@media(max-width:600px){.p42-redesign .y-inner_page .guest-review-accordion > .collapse > .card-body{padding:6px}.guest-review-accordion .guest-review{padding:10px}.guest-review-accordion .guest-review__card{padding:8px}}
