/* ============================================================
   Skin: "instagram" — a 2016 Instagram profile. White, the profile header
   with a gradient-ringed avatar, then the iconic three-column photo grid.
   ============================================================ */
.skin-instagram { background: #fafafa; color: #262626; font-family: -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; }
.skin-instagram .viewport { background: #fafafa; }
.skin-instagram .site { max-width: 935px; margin: 0 auto; padding: 0 14px 40px; }

/* Profile header */
.skin-instagram .masthead { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 34px 20px 22px; background: #fff; border: 1px solid #dbdbdb; border-radius: 0 0 3px 3px; }
.skin-instagram .masthead::before {
  content: "100"; width: 90px; height: 90px; border-radius: 50%; margin-bottom: 16px;
  background: linear-gradient(45deg, #f09433, #e6683c 30%, #dc2743 50%, #cc2366 75%, #bc1888);
  color: #fff; font: 700 26px/90px Arial; text-align: center;
  box-shadow: inset 0 0 0 4px #fff, 0 0 0 2px #fff;
}
.skin-instagram .brand { margin: 0; font: 300 28px/1.2 -apple-system, "Segoe UI", Helvetica, Arial; color: #262626; }
.skin-instagram .brand::after { content: " ✓"; color: #3897f0; font-size: 18px; }
.skin-instagram .tag { margin: 12px auto 4px; max-width: 460px; color: #262626; font-size: 14px; line-height: 1.5; }
.skin-instagram .tag::before { content: "100 posts · a logo a day\A"; white-space: pre; color: #8e8e8e; font-weight: 600; }
.skin-instagram .beta { display: none; }

.skin-instagram .content { background: transparent; padding: 22px 4px 0; }
.skin-instagram .content p { font-size: 15px; line-height: 1.6; color: #262626; margin: 0 auto 1em; max-width: 620px; text-align: center; }
.skin-instagram .content a { color: #00376b; text-decoration: none; }
.skin-instagram .period-links { text-align: center; margin: 0 0 10px; }
.skin-instagram .period-links a { display: inline-block; color: #fff; background: #3897f0; text-decoration: none; font-weight: 600; font-size: 13px; padding: 6px 16px; border-radius: 4px; margin: 0 5px 6px; }

/* The grid */
.skin-instagram .period-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: 20px; }
.skin-instagram .tile { margin: 0; position: relative; aspect-ratio: 1/1; overflow: hidden; background: #fff; }
.skin-instagram .tile img { width: 100%; height: 100%; object-fit: cover; display: block; }
.skin-instagram .tile figcaption { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; text-align: center; padding: 8px; background: rgba(0,0,0,.55); color: #fff; font-size: 13px; font-weight: 600; opacity: 0; transition: opacity .15s; }
.skin-instagram .tile:hover figcaption { opacity: 1; }
.skin-instagram .inline img { max-width: 100%; height: auto; display: block; }

.skin-instagram .period-foot { text-align: center; padding: 22px; color: #8e8e8e; font-size: 12px; border-top: 1px solid #dbdbdb; margin-top: 30px; }
.skin-instagram .period-foot a { color: #00376b; }
@media (max-width: 600px) { .skin-instagram .period-gallery { gap: 2px; } }
