/* neoground first-depth page shell
   Applies to both Vue MPA pages and managed static entry pages. */

.neo-entry-page {
  display: grid;
  align-content: start;
  gap: var(--entry-page-gap, 1rem);
}

.neo-entry-hero {
  display: flex;
  flex-direction: column;
  min-width: 0;
  margin: 0;
  padding: 0.75rem 0 1.25rem;
  border-bottom: 2px solid var(--border);
}

.neo-entry-hero .neo-eyebrow {
  margin: 0 0 0.4rem;
}

.neo-entry-hero h1 {
  margin: 0;
  letter-spacing: 0;
}

.neo-entry-hero .neo-lead {
  margin-top: 0.7rem;
}

.neo-entry-content {
  display: grid;
  gap: var(--entry-content-gap, 1rem);
  min-width: 0;
}

.neo-entry-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1rem;
}

.neo-entry-card {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  min-height: var(--entry-card-min, 150px);
  padding: 1.25rem;
  border: 2px solid var(--border);
  border-radius: var(--r);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  color: var(--text);
  text-decoration: none;
  transition: border-color 0.12s, box-shadow 0.12s, transform 0.12s;
}

.neo-entry-card:hover {
  border-color: var(--orange);
  box-shadow: 4px 4px 0 var(--orange);
  color: var(--text);
  text-decoration: none;
  transform: translate(-2px, -2px);
}

.neo-entry-card-icon {
  font-size: 2rem;
  line-height: 1;
}

.neo-entry-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 0.25rem;
  min-width: 0;
}

.neo-entry-card-body h2,
.neo-entry-card-body h3 {
  margin: 0;
  letter-spacing: 0;
}

.neo-entry-card-body p {
  margin: 0;
  color: var(--muted);
  font-size: var(--step--1);
  line-height: 1.5;
}

.neo-entry-card-action {
  align-self: flex-start;
  margin-top: auto;
  color: var(--orange);
  font-size: var(--step--1);
  font-weight: 600;
}

/* Shared compact entry tile used by the home and game directories. */
.neo-bento-card {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  min-width: 0;
  min-height: 7.5rem;
  height: 100%;
  padding: 1rem 1.25rem;
  border: 2px solid var(--border);
  border-radius: var(--r);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  color: var(--text);
  text-decoration: none;
  transition: border-color 0.12s, box-shadow 0.12s, transform 0.12s;
}

.neo-bento-card:hover {
  border-color: var(--orange);
  box-shadow: 4px 4px 0 var(--orange);
  color: var(--text);
  text-decoration: none;
  transform: translate(-2px, -2px);
}

.neo-bento-card-icon {
  flex-shrink: 0;
  font-size: 1.75rem;
  line-height: 1;
}

.neo-bento-card-title {
  min-width: 0;
  margin: 0;
  color: var(--text);
  font-size: var(--step-1);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: 0;
  word-break: keep-all;
}

.neo-bento-card--featured {
  background: var(--surface-2);
  border-color: var(--sky-dark);
}

.neo-bento-card--yellow {
  background: var(--yellow-light);
  border-color: var(--yellow);
}

.neo-bento-card--peach {
  background: var(--peach-light);
  border-color: var(--peach);
}

.neo-bento-card--sky {
  background: var(--sky-light);
  border-color: var(--sky-blue);
}

@media (hover: none) {
  .neo-bento-card:active {
    border-color: var(--orange);
    background: var(--orange-light);
  }
}

@media (max-width: 760px) {
  .neo-entry-page {
    gap: 0.85rem;
  }

  .neo-entry-hero {
    padding: 0.5rem 0 0.9rem;
  }

  .neo-entry-grid {
    grid-template-columns: 1fr;
  }

  .neo-bento-card {
    gap: 0.5rem;
    min-height: 6.75rem;
    padding: 0.75rem;
  }

  .neo-bento-card-icon {
    font-size: 1.5rem;
  }

  .neo-bento-card-title {
    font-size: var(--step-0);
  }
}
