/* =============================================================
   OTHER.CSS — Other page overrides and page-specific components
   ============================================================= */

/* ── Design Work items ───────────────────────────────────────── */
.other-items {
  display: flex;
  gap: var(--space-4);
  align-items: start;
}

/* Flat variant — no card background or padding */
.other-item--flat {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  transition: opacity var(--transition-fast);
}

.other-item--flat:hover { opacity: 1; }
.other-item--flat:hover .other-item__play { opacity: 1; }

/* Border overlay — renders on top of image, inside the box */
.other-item__img-wrap--bordered::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius-lg);
  pointer-events: none;
}

/* Image wrapper — holds image + play overlay */
.other-item__img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: var(--border-radius-lg);
}

.other-item--flat .other-item__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* Play button overlay */
.other-item__play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.other-item__play-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #ff4d00;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
}

.other-item__info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.other-item__title {
  font-family: var(--font-accent);
  font-size: var(--scale-3);
  font-weight: 600;
  color: var(--color-text-primary);
  line-height: 1.3;
}

.other-item__sub {
  font-family: var(--font-primary);
  font-size: var(--scale-2);
  font-weight: 400;
  color: var(--color-text-secondary);
  line-height: 1.5;
}


/* ── Photography grid ───────────────────────────────────────── */
.photo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-3);
}

/* Cropping wrapper — clips Instagram top/bottom chrome */
.photo-embed-wrap {
  position: relative;
  overflow: hidden;
  border-radius: var(--border-radius-lg);
  aspect-ratio: 1 / 1;
}

.photo-embed-wrap iframe {
  position: absolute;
  width: 100%;
  top: -72px;
  height: calc(100% + 140px);
  border: none;
}
