/* ======================================================
   ENTRY ITEM — STRUCTURAL UI
   Phase: AENIR 14
   Scope: Card visibility, spacing, hierarchy, click logic
   No colors, no tokens, no CMS assumptions
====================================================== */

.entry-item {
  margin-bottom: 2rem;

}

/* ------------------------------------------------------
   Entry item link — STRUCTURAL ONLY
------------------------------------------------------ */

.entry-item-link {
  display: block;
  padding: 1.25rem 1.5rem;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  max-width: 100%;
  min-height: 5.5rem;
  width: 100%;
  box-sizing: border-box;
}

/* ------------------------------------------------------
   Entry cards — LIST PAGES ONLY
------------------------------------------------------ */

.projects-list .entry-item-link,
.systems-list .entry-item-link,
.workshop-list .entry-item-link {
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(69, 69, 69, 0.035);
  border-radius: 6px;
}

.projects-list .entry-item-link:hover,
.systems-list .entry-item-link:hover,
.workshop-list .entry-item-link:hover {
  background-color: rgba(0, 0, 0, 0.04);
  border-color: rgba(0, 0, 0, 0.07);
}

.projects-list .entry-item-link:focus-visible,
.systems-list .entry-item-link:focus-visible,
.workshop-list .entry-item-link:focus-visible {
  outline: 2px solid rgba(0, 0, 0, 0.2);
  outline-offset: 2px;
}

/* ------------------------------------------------------
   Entry content typography & rhythm
------------------------------------------------------ */

.entry-item-header { margin-bottom: 0.6rem; }

.entry-item-title {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.35;
  text-align: left;
  width: 100%;
}

.entry-item-body {
  font-size: 0.95rem;
  line-height: 1.55;
  opacity: 0.85;
}

.entry-item-body p { margin: 0; }

.entry-item-meta { margin-top: 0.4rem; }

/* ------------------------------------------------------
   Neutralise list semantics
------------------------------------------------------ */

.projects-items,
.systems-items,
.workshop-items {
  list-style: none;
  margin: 0;
  padding: 0;
}

.project-item,
.systems-item,
.workshop-item {
  margin-bottom: 1.5rem;
}

/* =========================================
   AENIR 15 — Entry card internal layout
========================================= */

.entry-item-content {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.entry-item-text { 
  flex: 1; 
  display:flex;
  min-width: 0;
  flex-direction: column;   /* forces title above description */
  
}

.entry-item-media {
  flex-shrink: 0;
  max-width: 160px;
  margin-right: 1.25rem;
  align-self: flex-start;
}

.entry-item-media img {
  display: block;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 5px;
  width: 64px;
  height: 64px;
  flex-shrink: 0;
}

/* =========================================
   AENIR 17 — Showroom styling
========================================= */

.showroom-group-projects .entry-item-link,
.showroom-group-systems .entry-item-link,
.showroom-group-workshop .entry-item-link {
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(69, 69, 69, 0.035);
  border-radius: 6px;
}

.showroom-group-projects .entry-item-link:hover,
.showroom-group-systems .entry-item-link:hover,
.showroom-group-workshop .entry-item-link:hover {
  background-color: rgba(0, 0, 0, 0.04);
  border-color: rgba(0, 0, 0, 0.07);
}

.showroom-group-projects .entry-item-link:focus-visible,
.showroom-group-systems .entry-item-link:focus-visible,
.showroom-group-workshop .entry-item-link:focus-visible {
  outline: 2px solid rgba(0, 0, 0, 0.2);
  outline-offset: 2px;
}

.showroom-items {
  list-style: none;
  margin: 0;
  padding: 0;
}

.showroom-group-projects .entry-item-media { max-width: 110px; }
.showroom-group-systems .entry-item-media,
.showroom-group-workshop .entry-item-media { max-width: 60px; }

