/* Gate diptych: full-bleed centerpiece image on one side, entry actions on the
   other. Theme-variable-driven so it inherits the active theme's palette. */

.entry-diptych {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  min-height: 70vh;
  gap: 0;
  align-items: stretch;
}

.entry-diptych__art {
  position: relative;
  overflow: hidden;
  background: var(--theme-surface, #111);
}

.entry-diptych__art img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.entry-diptych__panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 1.5rem;
  padding: 2rem clamp(1.5rem, 5vw, 4rem);
  background: var(--theme-background, #fff);
  color: var(--theme-text, #222);
}

.entry-diptych__caption {
  font-style: italic;
  color: var(--theme-text-secondary, #666);
  border-left: 2px solid var(--theme-primary, #888);
  padding-left: 0.75rem;
  max-width: 32ch;
  margin: 0;
}

.entry-diptych .entry-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.entry-diptych .btn:focus-visible {
  outline: 2px solid var(--theme-primary, #333);
  outline-offset: 2px;
}

@media (max-width: 720px) {
  .entry-diptych {
    grid-template-columns: 1fr;
  }
  .entry-diptych__art {
    min-height: 40vh;
  }
}

@media (prefers-reduced-motion: reduce) {
  .entry-diptych * {
    transition: none !important;
  }
}
