/* Responsive corrections, preserving the original desktop layout. */
html,body{max-width:100%;overflow-x:clip}
iframe[data-local-frame]{min-width:0;max-width:100%;flex-shrink:0}
@media(max-width:768px){
 dialog{width:100%!important;max-width:100vw!important;margin:0!important;left:0!important;right:0!important;box-sizing:border-box!important}
 dialog>div{max-width:100%!important;box-sizing:border-box!important}
 header{max-width:100vw;box-sizing:border-box}
 img{max-width:100%}
}

video.video {
  display: block;
  max-width: 100%;
  object-fit: contain;
}
video.video[width][height] { height: auto; }
.photographers {
  position: relative;
  display: block;
  overflow: hidden;
}
.photo-track {
  display: flex;
  align-items: stretch;
  gap: inherit;
  width: 100%;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
}
.photo-track > .photo-card {
  flex: none;
  scroll-snap-align: center;
}
.photographers[data-ready] .photo-track {
  justify-content: center;
  overflow: visible;
  scroll-snap-type: none;
  touch-action: pan-y pinch-zoom;
}
.photo-controls { display: none; }
.photographers[data-ready] .photo-controls {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
}
.photographers:not(:has(:focus-visible)) .photo-controls {
  clip-path: inset(100%);
  pointer-events: none;
}
.photo-controls button { cursor: pointer; }
.photographers:not([data-playing]) [slot="pause"],
.photographers[data-playing] [slot="play"] { display: none; }
.contact-form-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  max-width: 100%;
  min-height: 48px;
  margin: 0 auto;
  padding: 12px 28px;
  border-radius: 4px;
  background: var(--rk-blue, #435de3);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
}
.contact-form-link:hover { background: #334bbf; }
.contact-form-link:focus-visible { outline: 3px solid #294cbb; outline-offset: 4px; }

@media (width > 840px) {
  #feature-6 ._c58 { padding: 8px 4px; }
}
#feature-6 .shooting-service-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: inherit;
  width: 100%;
  color: inherit;
  text-decoration: none;
}
#feature-6 .shooting-service-card .text {
  font-size: 18px;
}
#feature-6 a.shooting-service-card[href] .text {
  text-decoration: underline;
  text-underline-offset: 0.15em;
}
#feature-6 .shooting-service-card > .box {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 2;
  overflow: hidden;
}
#feature-6 .shooting-service-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  #feature-6 a.shooting-service-card img {
    transition: transform 300ms ease-out;
  }
  #feature-6 a.shooting-service-card:hover img,
  #feature-6 a.shooting-service-card:focus-visible img {
    transform: scale(1.06);
  }
}
#feature-6 a.shooting-service-card:hover .text,
#feature-6 a.shooting-service-card:focus-visible .text {
  color: var(--rk-blue, #435de3);
}
#feature-6 a.shooting-service-card:focus-visible {
  outline: 2px solid var(--rk-blue, #435de3);
  outline-offset: -2px;
}
/* The offset anchor for the examples section extends over the last service card. */
#case #sapmle:empty { pointer-events: none; }
