/* ============================================
   Areas Page (formerly Thoughts Page)
   ============================================ */

.thoughts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}

.thought-card {
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  color: var(--text-dark);
  box-shadow: var(--shadow-card);
  transition: transform var(--duration-normal) var(--ease-out),
              box-shadow var(--duration-normal) var(--ease-out);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.thought-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--accent-coral);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--duration-normal) var(--ease-out);
}

.thought-card:hover::before { transform: scaleX(1); }

.thought-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}

.thought-card__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: var(--space-md);
}

.thought-card__title {
  font-family: var(--font-heading);
  font-size: var(--fs-h3);
  color: var(--text-dark);
  line-height: 1.3;
  flex: 1;
}

.thought-card__icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  margin-left: var(--space-md);
  opacity: 0.6;
}

.thought-card__date {
  font-size: var(--fs-xs);
  color: var(--accent-coral);
  margin-bottom: var(--space-sm);
  font-weight: var(--fw-medium);
}

.thought-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs);
  margin-bottom: var(--space-md);
}

.thought-card__excerpt {
  font-size: var(--fs-small);
  color: var(--text-dark-muted);
  line-height: 1.7;
  flex: 1;
  margin-bottom: var(--space-md);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.thought-card__link {
  font-size: var(--fs-small);
  font-weight: var(--fw-semibold);
  color: var(--accent-coral);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  margin-top: auto;
  transition: gap var(--duration-fast) var(--ease-out);
}

.thought-card__link:hover { gap: var(--space-sm); }
.thought-card__link::after { content: '→'; }

@media (max-width: 1199px) { .thoughts-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 767px) { .thoughts-grid { grid-template-columns: 1fr; } }
