/* === "Now" Section Styles === */
#now-content {
  display: grid;
  gap: 1.75em;
  padding: 1em;
  max-width: 900px;
  margin: 0 auto;
}

/* Row structure */
.now-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1em;
  flex-wrap: wrap;
}

.now-left {
  display: flex;
  align-items: center;
  gap: 0.5em;
  flex-shrink: 0;
  min-width: 120px;
}

.now-icon {
  font-size: 1.1em;
  line-height: 1;
}

.now-label {
  font-weight: 600;
  font-size: 1em;
  color: var(--link);
}

/* Data block */
.now-data {
  text-align: right;
  color: var(--text);
  font-size: 1em;
  line-height: 1.5;
  flex-grow: 1;
}

.now-data a {
  color: var(--link);
  font-weight: 500;
  text-decoration: underline;
}

.now-data a:hover,
.now-data a:focus {
  color: var(--hover);
  outline: none;
}

/* Metadata */
.now-meta {
  font-size: 0.85em;
  opacity: 0.85;
  margin-top: 0.2em;
}

/* Projects */
.now-project-list {
  list-style: none;
  padding-left: 0;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transform: scaleY(0.95);
  transition:
    max-height 0.4s ease,
    opacity 0.3s ease,
    transform 0.3s ease;
  will-change: max-height, opacity, transform;
}

.now-project-list.open {
  max-height: 1000px; /* Must be large enough to accommodate full list */
  opacity: 1;
  transform: scaleY(1);
}

.now-project-list li {
  margin-bottom: 0.6em;
}

.now-proj-date {
  font-size: 0.75em;
  opacity: 0.6;
  margin-top: 0.3em;
}

/* Toggle */
.now-toggle {
  background: var(--link);
  color: var(--bg);
  font-size: 0.75em;
  padding: 0.25em 0.6em;
  border: none;
  border-radius: var(--border-radius);
  cursor: pointer;
  transition: background 0.2s ease;
  margin-top: 0.4em;
}

.now-toggle:hover,
.now-toggle:focus {
  background: var(--hover);
  outline: none;
}

.now-last-updated {
  font-size: 0.75em;
  opacity: 0.6;
  text-align: right;
  margin-top: 2em;
}

.hidden {
  display: none;
}