/* Notes page specific styles */

.container {
  max-width: 800px;
}

header h1 {
  text-align: center;
  margin-bottom: 10px;
}

/* Notes grouping by month */
.notes-group {
  margin-bottom: 50px;
}

.notes-year {
  font-family: "Permanent Marker", cursive;
  font-size: 24px;
  color: #4ecdc4;
  margin-bottom: 25px;
  padding-bottom: 10px;
  border-bottom: 3px dashed #4ecdc4;
  transform: rotate(-0.5deg);
}

/* Individual note item */
.note-item {
  background: white;
  padding: 25px;
  border: 3px solid #2d2d2d;
  border-radius: 12px;
  box-shadow: 4px 4px 0 #2d2d2d;
  margin-bottom: 20px;
  transition: all 0.2s;
}

.note-item:hover {
  transform: translateY(-2px);
  box-shadow: 6px 6px 0 #2d2d2d;
}

/* Note header */
.note-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 15px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.note-header h3 {
  margin: 0;
  font-size: 20px;
  flex: 1;
  min-width: 200px;
}

.note-header h3 a {
  color: #2d2d2d;
  text-decoration: none;
  transition: color 0.2s;
}

.note-header h3 a:hover {
  color: #4ecdc4;
}

.note-header time {
  color: #999;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}

/* Note excerpt */
.note-excerpt {
  color: #666;
  line-height: 1.7;
  margin-bottom: 15px;
  font-size: 15px;
}

/* Note metadata */
.note-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
}

.note-reading-time {
  color: #999;
  font-size: 13px;
  font-weight: 600;
}

.note-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.tag {
  display: inline-block;
  padding: 4px 10px;
  background: #f7f7f7;
  border: 2px solid #2d2d2d;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 600;
  color: #666;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.tag:first-child {
  background: #ffe66d;
  color: #2d2d2d;
}

/* Responsive */
@media (max-width: 768px) {
  .note-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .note-header time {
    order: -1;
    margin-bottom: 8px;
  }

  .note-meta {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Individual note page styles */

.container {
  max-width: 750px;
}

/* Note article */
.note-content {
  background: white;
  border: 3px solid #2d2d2d;
  border-radius: 20px;
  padding: 50px;
  margin: 40px 0;
  box-shadow: 8px 8px 0 #2d2d2d;
}

/* Note header */
.note-header {
  border-bottom: 3px dashed #4ecdc4;
  padding-bottom: 25px;
  margin-bottom: 40px;
}

.note-header h1 {
  font-family: "Permanent Marker", cursive;
  font-size: 36px;
  color: #2d2d2d;
  line-height: 1.2;
  margin-bottom: 15px;
  transform: none;
  text-align: left;
}

.note-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 15px;
  color: #999;
  font-size: 14px;
  font-weight: 600;
}

.note-meta .separator {
  color: #ccc;
}

.note-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.tag {
  display: inline-block;
  padding: 5px 12px;
  background: #f7f7f7;
  border: 2px solid #2d2d2d;
  border-radius: 15px;
  font-size: 12px;
  font-weight: 600;
  color: #666;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.tag:first-child {
  background: #ffe66d;
  color: #2d2d2d;
}

/* Note body */
.note-body {
  line-height: 1.8;
  color: #2d2d2d;
}

.note-body p {
  margin-bottom: 20px;
}

.note-body .lead {
  font-size: 18px;
  color: #666;
  line-height: 1.7;
  margin-bottom: 30px;
}

.note-body h2 {
  font-family: "Permanent Marker", cursive;
  font-size: 26px;
  color: #2d2d2d;
  margin-top: 40px;
  margin-bottom: 20px;
  transform: rotate(-0.5deg);
}

.note-body h3 {
  font-size: 20px;
  font-weight: 600;
  color: #2d2d2d;
  margin-top: 30px;
  margin-bottom: 15px;
}

.note-body a {
  color: #4ecdc4;
  text-decoration: none;
  font-weight: 600;
  border-bottom: 2px solid #4ecdc4;
  transition: all 0.2s;
}

.note-body a:hover {
  background: #4ecdc4;
  color: white;
  padding: 2px 4px;
  border-radius: 3px;
}

.note-body strong {
  font-weight: 600;
  color: #2d2d2d;
}

.note-body em {
  font-style: italic;
  color: #666;
}

/* Info boxes */
.info-box {
  background: #f7f7f7;
  border-left: 4px solid #4ecdc4;
  padding: 20px;
  margin: 25px 0;
  border-radius: 8px;
}

.info-box p {
  margin: 0;
}

.info-box strong {
  color: #2d2d2d;
}

.highlight-box {
  background: #fff9e6;
  border: 3px solid #ffe66d;
  border-radius: 12px;
  padding: 25px;
  margin: 30px 0;
}

.highlight-box p {
  margin-bottom: 15px;
}

.highlight-box p:last-child {
  margin-bottom: 0;
}

/* Comparison table */
.comparison-table {
  margin: 30px 0;
  overflow-x: auto;
}

.comparison-table table {
  width: 100%;
  border-collapse: collapse;
  border: 3px solid #2d2d2d;
  border-radius: 8px;
  overflow: hidden;
}

.comparison-table th {
  background: #4ecdc4;
  color: white;
  padding: 12px 15px;
  text-align: left;
  font-weight: 600;
  border-bottom: 3px solid #2d2d2d;
}

.comparison-table td {
  padding: 12px 15px;
  border-bottom: 1px solid #e0e0e0;
}

.comparison-table tbody tr:last-child td {
  border-bottom: none;
}

.comparison-table tbody tr:nth-child(even) {
  background: #f7f7f7;
}

/* Note footer */
.note-footer {
  margin-top: 50px;
  padding-top: 30px;
  border-top: 3px dashed #e0e0e0;
}

.back-link {
  display: inline-block;
  color: #4ecdc4;
  text-decoration: none;
  font-weight: 600;
  padding: 10px 20px;
  border: 2px solid #4ecdc4;
  border-radius: 25px;
  transition: all 0.2s;
}

.back-link:hover {
  background: #4ecdc4;
  color: white;
  transform: translateX(-5px);
}

/* Responsive */
@media (max-width: 768px) {
  .note-content {
    padding: 30px 25px;
  }

  .note-header h1 {
    font-size: 28px;
  }

  .note-body h2 {
    font-size: 22px;
  }

  .comparison-table {
    font-size: 14px;
  }

  .comparison-table th,
  .comparison-table td {
    padding: 10px;
  }
}