
/* Måviken V1.8 – fotoredaktionell layout, utan grå bakgrundsfält eller contain-rutor */
.v17-gallery {
 display:block!important;
 columns:2;
 column-gap:clamp(17px,2.4vw,34px);
 max-width:1120px;
 margin:clamp(34px,4vw,60px) auto 0;
}
.v17-gallery .v17-photo,
.v17-gallery .v17-photo:first-child:nth-last-child(2),
.v17-gallery .v17-photo:nth-child(2):last-child,
.v17-gallery .v17-photo:nth-child(4):last-child,
.v17-gallery .v17-photo:nth-child(5):last-child {
 display:inline-block!important;
 width:100%!important;
 height:auto!important;
 max-width:100%;
 margin:0 0 clamp(23px,3vw,38px)!important;
 break-inside:avoid;
 -webkit-column-break-inside:avoid;
 grid-column:auto!important;
 overflow:visible;
 vertical-align:top;
}
.v17-gallery .v17-photo a {
 display:block!important;
 background:transparent!important;
 width:100%;
 height:auto!important;
 overflow:hidden;
 border-radius:2px;
}
.v17-gallery .v17-photo img {
 display:block!important;
 width:100%!important;
 height:auto!important;
 aspect-ratio:auto!important;
 max-height:none!important;
 object-fit:initial!important;
 object-position:center!important;
 background:transparent!important;
 transition:transform .5s ease;
}
.v17-gallery .v17-photo a:hover img{transform:scale(1.018)}
.v17-gallery .v17-photo figcaption {
 font:500 13px/1.5 Barlow, sans-serif;
 color:#637469;
 margin:0;
 padding:11px 0 0;
 letter-spacing:.015em;
}
.v17-section .v17-copy {columns:1;max-width:850px;font-size:17px;line-height:1.85}
.v17-section .v17-copy p {margin:0 0 1.25em}
.v17-section h2 {max-width:850px}
.v17-hero-image img{object-fit:cover;object-position:center}
.v17-people .v17-no-photo{height:0;display:none}
.v17-person:has(.v17-no-photo){display:flex;align-items:center}
.v17-person:has(.v17-no-photo)>div:last-child{padding:27px}
/* The full photo should remain visible on tablet/mobile, with no inset backdrop */
@media(max-width:720px){
 .v17-gallery{columns:1;max-width:600px}
 .v17-gallery .v17-photo{margin-bottom:26px!important}
 .v17-hero-image{min-height:240px}
 .v17-section{padding:62px 0}
}
/* Bildgalleri-sidan: redaktionellt bildflöde, aldrig gamla 4:3-boxar */
.gallery-grid{display:block!important;columns:3;column-gap:19px}
.gallery-grid figure{display:inline-block!important;width:100%;height:auto!important;aspect-ratio:auto!important;overflow:visible!important;break-inside:avoid;margin:0 0 19px!important}
.gallery-grid a{display:block;overflow:hidden;border-radius:2px;background:transparent!important}
.gallery-grid img{display:block!important;width:100%!important;height:auto!important;aspect-ratio:auto!important;object-fit:initial!important}
@media(max-width:1000px){.gallery-grid{columns:2}}
@media(max-width:620px){.gallery-grid{columns:1}}
