/* Page-scoped photographic additions; existing navigation, forms and course layout stay intact. */
.kbb-location-visual {
  width: 100%;
  max-width: 960px;
  margin: clamp(1.4rem, 3vw, 2.5rem) auto;
  overflow: hidden;
  border-radius: 20px;
  background: #f1f6f3;
}
.kbb-location-visual img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
}
.kbb-location-visual figcaption {
  margin: 0;
  padding: .8rem 1rem;
  color: #173c36;
  font-size: .9rem;
  line-height: 1.5;
  text-align: left;
}
.kbb-location-visual figcaption span {
  display: block;
  margin-top: .15rem;
  color: #50675f;
  font-size: .75rem;
}
.kbb-location-pair {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(1rem, 3vw, 1.75rem);
  margin: 1.75rem 0;
}
.kbb-location-pair .kbb-location-visual { margin: 0; }
.kbb-location-pair img { aspect-ratio: 3 / 2; object-fit: cover; }
.kbb-location-learning { max-width: 1180px; }
.kbb-location-learning img { max-height: 430px; object-fit: cover; object-position: center 58%; }
.kbb-location-contact { margin-top: 1.5rem; }
.kbb-location-hero-credit {
  position: absolute;
  right: 1rem;
  bottom: .5rem;
  z-index: 2;
  padding: .2rem .5rem;
  border-radius: 4px;
  background: rgba(10, 40, 32, .75);
  color: #fff;
  font-size: .7rem;
  line-height: 1.4;
}
@media (max-width: 600px) {
  .kbb-location-pair { grid-template-columns: minmax(0, 1fr); }
  .kbb-location-visual { border-radius: 14px; }
  .kbb-location-learning img { max-height: none; object-fit: contain; }
  .kbb-location-hero-credit { right: .5rem; left: .5rem; width: fit-content; }
}
