/* One visual language for photo, video and journal pagination. Positions stay with their sections. */
#inhalt :is(#salon,#team,#wedding,#journal) div.hw-gallery-pagination.hw-gallery-pagination{display:flex;align-items:center;justify-content:center;flex-wrap:nowrap;gap:8px;width:max-content;max-width:100%;box-sizing:border-box;padding:5px;border:1px solid #71826938;border-radius:999px;background:linear-gradient(145deg,#fbfaf2c9,#e6eadd9c);box-shadow:0 4px 14px #283e2710,inset 0 1px 0 #fff9}
#inhalt :is(#salon,#team,#wedding,#journal) button.hw-gallery-button.hw-gallery-button{display:grid;place-items:center;flex:0 0 44px;width:44px;height:44px;min-height:44px;box-sizing:border-box;margin:0;padding:0;border:1px solid #71826944;border-radius:50%;background:linear-gradient(145deg,#f8faef,#dce5d1);color:#3d5639;box-shadow:inset 0 1px 0 #fffc,0 2px 4px #2539200a;font:inherit;line-height:1;cursor:pointer;transition:background .2s,box-shadow .2s,border-color .2s}
#inhalt :is(#salon,#team,#wedding,#journal) button.hw-gallery-button.hw-gallery-button:hover{background:linear-gradient(145deg,#e8efdf,#cdddc0);border-color:#6e885a99;box-shadow:inset 0 1px 0 #fffc,0 3px 9px #2539201c}
#inhalt :is(#salon,#team,#wedding,#journal) button.hw-gallery-button.hw-gallery-button:active{box-shadow:inset 0 1px 4px #25392024}
#inhalt :is(#salon,#team,#wedding,#journal) button.hw-gallery-button.hw-gallery-button:focus-visible{outline:2px solid #3d633e;outline-offset:4px}
.hw-gallery-button .hw-gallery-icon{display:block;width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.75;stroke-linecap:round;stroke-linejoin:round;transition:transform .2s}
.hw-gallery-button[data-gallery-direction=prev]:hover .hw-gallery-icon{transform:translateX(-2px)}.hw-gallery-button[data-gallery-direction=next]:hover .hw-gallery-icon{transform:translateX(2px)}
#inhalt :is(#salon,#team,#wedding,#journal) div.hw-gallery-pagination.hw-gallery-pagination>span{display:block;min-width:62px;margin:0;padding:0;font:11px/1.4 Arial,sans-serif;letter-spacing:.12em;font-variant-numeric:tabular-nums;color:#4c6044;text-align:center;white-space:nowrap}
#inhalt .hw-gallery-pagination[hidden],#inhalt .hw-gallery-pagination>[hidden]{display:none!important}
@media(prefers-reduced-motion:reduce){.hw-gallery-button,.hw-gallery-button .hw-gallery-icon{transition:none!important}}

#inhalt :is(#salon,#team,#wedding,#journal) button.hw-gallery-button.hw-gallery-button:disabled{opacity:.45;cursor:default;box-shadow:none}

/* Reserve the complete rail height plus breathing room before the divider. */
#inhalt :is(#salon,#team,#wedding) .team-album-controls:not(.salon-video-nav){height:86px;min-height:86px;max-height:86px;padding:10px 0 18px;box-sizing:border-box}

/* A work example already prints its caption as its own headline below the photo. */
#inhalt :is(#motto-gallery,#weddinggalerie):has(.work-example:not([hidden])) .team-album-controls>p{display:none}
@media(max-width:760px){
 #inhalt :is(#salon,#team,#wedding) .team-album-controls:not(.salon-video-nav){display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start;gap:12px;height:auto;min-height:86px;max-height:none;padding:10px 0 18px}
 #inhalt :is(#salon,#team,#wedding) .team-album-controls:not(.salon-video-nav)>div.hw-gallery-pagination{order:0;align-self:center;flex-shrink:0}
 #inhalt :is(#salon,#team,#wedding) .team-album-controls:not(.salon-video-nav)>p{order:1;width:100%;max-width:none;white-space:normal;overflow:visible;text-overflow:clip;line-height:1.6}
}
