/* ==========================================================================
   Dev Hub — index.css (main landing page)
   ========================================================================== */

html, body {
  min-height: 100vh;
}


/* ---------- Content: 3-column layout ---------- */
.content-wrap {
  display: flex;
  justify-content: center;
  padding: clamp(2rem, 5vh, 3rem) 6vw 6vh;
}

.layout {
  width: 100%;
  max-width: 30rem;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-areas:
    "announcements"
    "main"
    "tools";
  gap: clamp(2rem, 5vh, 3rem);
}

@media (min-width: 1080px) {
  .layout {
    max-width: 72rem;
    grid-template-columns: 15rem minmax(0, 26rem) 15rem;
    grid-template-areas: "announcements main tools";
    align-items: start;
    gap: 3rem;
  }
}

.main-col {
  grid-area: main;
  min-width: 0;
}

.tools-col {
  grid-area: tools;
  min-width: 0;
}

.announcements-col {
  grid-area: announcements;
  min-width: 0;
  display: none;
}

.announcements-col.visible {
  display: block;
}

.announcements-col .section-title {
  margin-top: 0;
}

.announcement-list {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

/* ---------- Link rows ---------- */
ul.links {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
}

ul.links li {
  border-bottom: 1px solid var(--line);
}

.row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  padding: 1.15rem 0.1rem;
  background: none;
  border: none;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  font-family: inherit;
  text-align: left;
}

.row-text {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.row-name {
  font-weight: 600;
  font-size: 1.05rem;
}

.row-desc {
  font-size: 0.85rem;
  color: var(--muted);
  transition: color 0.2s ease;
}

.row-desc.pending {
  color: var(--ink);
  font-style: italic;
}

.row-arrow {
  font-size: 1.1rem;
  color: var(--muted);
  transform: translateY(-1px);
  transition: color 0.2s ease, transform 0.2s ease;
}

.row:hover .row-arrow {
  color: var(--ink);
  transform: translateY(-1px) translateX(2px);
}

.row-static {
  cursor: default;
}

.row-static .row-desc {
  font-style: italic;
}

.build-stats {
  display: flex;
  gap: 1.75rem;
  margin-top: 0.5rem;
}

.build-stat {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.build-stat-label {
  font-size: 0.72rem;
  color: var(--muted);
}

.build-stat-value {
  font-family: 'Fraunces', serif;
  font-optical-sizing: auto;
  font-weight: 500;
  font-size: 1.1rem;
  font-variant-numeric: tabular-nums;
}
