.ac-bh-lightbox { min-height: 100%; background: #fff; }
.ac-bh-lb-header { position: sticky; top: 0; z-index: 20; background: #fff; border-bottom: 1px solid #e8e8e8; padding: 14px 56px 14px 20px; }
.ac-bh-lb-header-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.ac-bh-lb-creator { display: flex; align-items: center; gap: 12px; text-decoration: none; color: inherit; min-width: 0; }
.ac-bh-lb-creator img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.ac-bh-lb-titles h1 { margin: 0; font-size: 1.1rem; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: min(70vw, 520px); }
.ac-bh-lb-sub { margin: 2px 0 0; font-size: 13px; color: #696969; }
.ac-bh-lb-sub a { color: #0057ff; font-weight: 600; text-decoration: none; }
.ac-bh-lb-header-cta { font-size: 13px; font-weight: 600; padding: 8px 14px; border-radius: 4px; background: #191919; color: #fff; text-decoration: none; }
.ac-bh-lb-rail { position: fixed; right: 16px; top: 50%; transform: translateY(-50%); z-index: 1000003; display: flex; flex-direction: column; gap: 10px; }
.ac-bh-lb-rail-btn { display: flex; flex-direction: column; align-items: center; gap: 4px; width: 56px; padding: 10px 4px; border: 0; border-radius: 50%; background: #fff; box-shadow: 0 2px 14px rgba(0,0,0,.12); font-size: 10px; font-weight: 600; text-decoration: none; color: #191919; cursor: pointer; }
.ac-bh-lb-rail-btn img { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; }
.ac-bh-lb-rail-appreciate { width: 56px; padding: 12px 6px; border-radius: 50%; background: #0057ff; color: #fff; font-size: 10px; font-weight: 700; text-align: center; box-shadow: 0 4px 16px rgba(0,87,255,.45); display: flex; flex-direction: column; align-items: center; gap: 2px; }
.ac-bh-lb-media-col { background: #fff; }
.ac-bh-lb-figure { margin: 0; padding: 0; line-height: 0; }
.ac-bh-lb-figure + .ac-bh-lb-figure { margin-top: 0; border-top: 0; }
.ac-bh-lb-figure a { display: block; line-height: 0; }
.ac-bh-lb-figure img { width: 100%; height: auto; max-height: none; display: block; vertical-align: top; object-fit: cover; background: #fff; }
.ac-bh-lb-about { max-width: 640px; margin: 0 auto; padding: 28px 24px; }
.ac-bh-lb-desc { font-size: 15px; line-height: 1.65; white-space: pre-wrap; }
.ac-bh-lb-related-row { display: flex; gap: 12px; overflow-x: auto; }
.ac-bh-lb-related-card { flex: 0 0 120px; text-decoration: none; color: inherit; font-size: 11px; }
.ac-bh-lb-related-card img { width: 120px; height: 120px; object-fit: cover; border-radius: 4px; }
@media (max-width: 900px) { .ac-bh-lb-rail { display: none; } }
.ac-bh-lb-fullpage { width: 100%; min-width: 0; padding-right: 72px; box-sizing: border-box; }
.ac-bh-lightbox--full .ac-bh-lb-fullpage { padding-bottom: 32px; }
.ac-behance-gallery--in-lightbox { display: flex; flex-direction: column; width: 100%; min-width: 0; }
.ac-behance-gallery--in-lightbox .ac-bh-project-body--above-grid {
  max-width: 100%;
  margin: 0;
  padding: 16px 24px 20px;
  border-bottom: 1px solid #e8e8e8;
  box-sizing: border-box;
}
.ac-behance-gallery--in-lightbox .ac-bh-videos-heading {
  margin: 0;
  padding: 20px 24px 0;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #696969;
}
.ac-behance-gallery--modal .ac-bh-media-stack,
.ac-behance-gallery--in-lightbox .ac-bh-media-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-content: flex-start;
  align-items: flex-start;
  padding: 16px 24px 24px;
  box-sizing: border-box;
  width: 100%;
}
.ac-behance-gallery--modal .ac-bh-media-block,
.ac-behance-gallery--in-lightbox .ac-bh-media-block {
  margin: 0;
  flex: 1 1 calc(25% - 12px);
  min-width: 220px;
  max-width: 100%;
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 6px;
  overflow: hidden;
}
.ac-behance-gallery--modal .ac-bh-media-block + .ac-bh-media-block,
.ac-behance-gallery--in-lightbox .ac-bh-media-block + .ac-bh-media-block { margin-top: 0; }
.ac-behance-gallery--modal .ac-bh-media-block a,
.ac-behance-gallery--in-lightbox .ac-bh-media-block a {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  line-height: 0;
  background: #eee;
}
.ac-behance-gallery--modal .ac-bh-media-block img,
.ac-behance-gallery--in-lightbox .ac-bh-media-block img {
  width: 100%;
  height: 100%;
  max-height: none !important;
  object-fit: cover;
  object-position: center;
  display: block;
}
.ac-behance-gallery--modal .ac-bh-media-block figcaption,
.ac-behance-gallery--in-lightbox .ac-bh-media-block figcaption {
  padding: 10px 12px 4px;
  font-size: 13px;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.ac-behance-gallery--modal .ac-bh-media-meta,
.ac-behance-gallery--in-lightbox .ac-bh-media-meta { padding: 0 12px 12px; }
@media (max-width: 1024px) {
  .ac-behance-gallery--modal .ac-bh-media-block,
  .ac-behance-gallery--in-lightbox .ac-bh-media-block { flex-basis: calc(33.333% - 11px); }
}
@media (max-width: 720px) {
  .ac-bh-lb-fullpage { padding-right: 16px; }
  .ac-behance-gallery--modal .ac-bh-media-block,
  .ac-behance-gallery--in-lightbox .ac-bh-media-block { flex-basis: calc(50% - 8px); min-width: 140px; }
}
@media (max-width: 480px) {
  .ac-behance-gallery--modal .ac-bh-media-block,
  .ac-behance-gallery--in-lightbox .ac-bh-media-block { flex-basis: 100%; }
}
.ac-bh-lightbox--full .chart-card { margin: 0 20px 16px; padding: 16px; background: #f9f9f9; border: 1px solid #e8e8e8; border-radius: 8px; color: #333; }
.ac-bh-lightbox--full .chart-heading { color: #191919; font-size: 16px; margin: 0 0 12px; }
.ac-bh-lightbox--full .chart-card .note { color: #696969 !important; }
.ac-bh-lightbox--full .funnel li { color: #444; }
.ac-bh-lightbox--full .funnel strong { color: #191919; }
.ac-bh-lightbox--full .funnel span { color: #666; }
.ac-bh-lightbox--full .analysis dd { color: #333; }
.ac-bh-lightbox--full .analysis dt { color: #696969; }
.ac-bh-lightbox--full .vid-card h4 { color: #191919; }
.ac-bh-lightbox--full .link-list a { color: #0057ff; }
.ac-behance-gallery--in-lightbox .ac-bh-section {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 8px 24px 32px;
  box-sizing: border-box;
  align-self: stretch;
}
.ac-behance-gallery--in-lightbox .ac-bh-related-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  width: 100%;
  align-content: flex-start;
}
.ac-behance-gallery--in-lightbox .ac-bh-related-card {
  flex: 1 1 calc(25% - 12px);
  min-width: 200px;
  max-width: 100%;
  box-sizing: border-box;
}
.ac-behance-gallery--in-lightbox .ac-bh-related-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 6px;
  background: #eee;
  display: block;
}
@media (max-width: 1024px) {
  .ac-behance-gallery--in-lightbox .ac-bh-related-card { flex-basis: calc(33.333% - 11px); }
}
@media (max-width: 720px) {
  .ac-behance-gallery--in-lightbox .ac-bh-related-card { flex-basis: calc(50% - 8px); min-width: 140px; }
}
@media (max-width: 480px) {
  .ac-behance-gallery--in-lightbox .ac-bh-related-card { flex-basis: 100%; }
}