@media (min-width: 861px) {
  .site--magazine-v2 {
    --size-nav: 17px;
    --sidebar: 240px;
  }
}

.site--magazine-v2 .main-panel {
  border-top: 1px solid var(--border);
  padding-top: var(--space-8);
}

.site--magazine-v2 .nav-link.is-active::after {
  content: "";
  position: absolute;
  left: 100%;
  top: 0.7em;
  width: 28px;
  height: 1px;
  background: var(--text);
}

.site--magazine-v2 .still figcaption {
  max-width: 28ch;
}

.gallery--magazine-v2 {
  display: flex;
  flex-direction: column;
  gap: var(--gutter);
}

.mag2-row {
  display: flex;
  align-items: flex-start;
  gap: var(--gutter);
}

.mag2-col {
  display: flex;
  flex-direction: column;
  gap: var(--gutter);
  min-width: 0;
}

.gallery--magazine-v2 .still {
  flex: 0 0 auto;
  max-width: 100%;
}

.gallery--magazine-v2 .still-frame {
  width: auto;
  max-width: 100%;
}

.mag2-row.is-stacked {
  flex-direction: column;
}

.mag2-row.is-stacked .mag2-col {
  width: 100%;
}

.row-single,
[data-row="single"],
.photo-row.single {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  width: 100%;
  height: 100vh;
  box-sizing: border-box;
  overflow: hidden;
}

.row-single img,
[data-row="single"] img,
.photo-row.single img {
  max-height: calc(100vh - 4rem);
  max-width: 90vw;
  width: auto;
  height: auto;
  object-fit: contain;
  margin: 0 auto;
  display: block;
}

.ig-icon-link {
  display: inline-block;
  margin-top: 15px; 
}

.ig-logo {
  width: 22px;       
  height: 22px;
  fill: #333333;     
  transition: fill 0.2s ease, transform 0.2s ease;
}

.ig-icon-link:hover .ig-logo {
  fill: #888888;              
  transform: translateY(-2px); 
}

.nav-toggle, 
.nav-link:not(.nav-sub) {
  font-size: 23px;
  font-weight: 500;
}

.wordmark .site-logo {
  max-width: 200px;
  height: auto;
  display: block;
}
