/* Look of the old Smash Balloon feed (settings from the dump): 3 columns on every width, 5 px around each tile,
   captions and likes, an INSTAGRAM button #408bd1, no header. */
.bs-ig {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
  text-align: center;
}

.bs-ig__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  text-align: left;
}

.bs-ig__item {
  display: block;
  padding: 5px;
  box-sizing: border-box;
  min-width: 0;
  color: inherit;
  text-decoration: none;
}

.bs-ig__media {
  position: relative;
  display: block;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #f2f2f2;
}

.bs-ig__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bs-ig__play {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  margin: -14px 0 0 -9px;
  border-style: solid;
  border-width: 14px 0 14px 24px;
  border-color: transparent transparent transparent rgba(255, 255, 255, 0.9);
  filter: drop-shadow(0 0 3px rgba(0, 0, 0, 0.5));
}

.bs-ig__caption {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
  margin-top: 5px;
  font-size: 13px;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.bs-ig__likes {
  display: block;
  font-size: 13px;
  line-height: 1.4;
}

.bs-ig__follow {
  display: inline-block;
  margin: 5px;
  padding: 7px 14px;
  background: #408bd1;
  color: #fff !important;
  border-radius: 4px;
  font-size: 13px;
  line-height: 1.4;
  text-decoration: none !important;
}

.bs-ig__follow:hover,
.bs-ig__follow:focus {
  background: #359dff;
  color: #fff !important;
}
