/* ── Shared inner page layout ─────────────────────────────── */
.inner-content {
  position: relative;
  z-index: 1;
  height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 3.5rem 4%;
  overflow: hidden;
}

.page-label {
  font-family: sans-serif;
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(210, 210, 210, 0.35);
  margin-bottom: 2rem;
}


/* ── Project cards ────────────────────────────────────────── */
.project-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 1px;
  flex: 1;
  background: rgba(210, 210, 210, 0.1);
  border: 1px solid rgba(210, 210, 210, 0.1);
}

.project-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.75rem;
  background: #0a0a0a;
  transition: background 0.25s;
  cursor: default;
}

.project-card:hover {
  background: rgba(210, 210, 210, 0.03);
}

.project-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(10, 10, 10, 0.75) 0%,
    rgba(10, 10, 10, 0.1) 40%,
    rgba(10, 10, 10, 0.1) 60%,
    rgba(10, 10, 10, 0.88) 100%
  );
  pointer-events: none;
}

.project-card--link {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.project-card--link:hover {
  background: rgba(210, 210, 210, 0.05);
}

.project-card--link:hover .project-arrow {
  transform: translateX(5px);
  color: rgba(255, 220, 0, 0.9);
}

.project-arrow {
  font-size: 0.85rem;
  color: rgba(210, 210, 210, 0.3);
  display: inline-block;
  transition: transform 0.2s;
}

.project-card--dim {
  opacity: 0.3;
  pointer-events: none;
}

.project-card--dim:hover {
  background: #0a0a0a;
}

.project-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 1;
}

.project-card-body  { position: relative; z-index: 1; }
.project-card-footer { position: relative; z-index: 1; }

.project-card-bottom {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.project-card-footer-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.project-index {
  font-family: sans-serif;
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.5);
}

.project-tag {
  font-family: sans-serif;
  font-size: 0.6rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 0.2rem 0.65rem;
  border-radius: 20px;
}

.project-card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.project-title {
  font-family: sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.95);
  letter-spacing: -0.02em;
  line-height: 1.2;
  text-shadow: 0 1px 12px rgba(0,0,0,0.8), 0 2px 24px rgba(0,0,0,0.5);
}

.project-desc {
  font-family: sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
  text-shadow: 0 1px 6px rgba(0,0,0,0.8);
}

.project-card-footer {
  border-top: 1px solid rgba(210, 210, 210, 0.08);
  padding-top: 1rem;
  min-height: 1.5rem;
}

/* ── Blog list ────────────────────────────────────────────── */
.post-list {
  display: flex;
  flex-direction: column;
  max-width: 600px;
}

.post-item {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid rgba(210, 210, 210, 0.1);
}

.post-item:first-child { border-top: 1px solid rgba(210, 210, 210, 0.1); }

.tag {
  font-family: sans-serif;
  font-size: 0.6rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(210, 210, 210, 0.25);
  border: 1px solid rgba(210, 210, 210, 0.12);
  padding: 0.2rem 0.65rem;
  border-radius: 20px;
  white-space: nowrap;
}

.card-hint {
  font-family: sans-serif;
  font-size: 0.8rem;
  color: rgba(210, 210, 210, 0.2);
}
