/* Enhanced Post Visualization - Royal Blog */

/* Breadcrumb Navigation */
.breadcrumb-nav {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
  opacity: 0.8;
}

.breadcrumb-nav a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: color 0.3s ease;
}

.breadcrumb-nav a:hover {
  color: rgba(255, 255, 255, 0.9);
}

.breadcrumb-sep {
  color: rgba(255, 255, 255, 0.4);
  margin: 0 0.3rem;
}

.breadcrumb-author {
  color: #d4af37;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.icon-user::before {
  content: "👤 ";
}

/* Post Header */
.post-header {
  margin-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 1.5rem;
}

.post-title {
  margin: 0 0 1rem 0;
  font-size: 2.2rem;
  line-height: 1.2;
  color: #fff;
}

.post-metadata {
  display: grid;
  gap: 0.5rem;
  font-size: 0.95rem;
}

.metadata-row {
  display: flex;
  gap: 0.75rem;
  align-items: baseline;
}

.metadata-label {
  color: rgba(255, 255, 255, 0.6);
  font-weight: 600;
  min-width: 80px;
}

.metadata-value {
  color: rgba(255, 255, 255, 0.85);
}

.metadata-value a {
  color: #d4af37;
  text-decoration: none;
  transition: color 0.3s ease;
}

.metadata-value a:hover {
  color: #f0cf68;
}

/* Executive Summary Box */
.executive-summary {
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.08) 0%, rgba(240, 207, 104, 0.04) 100%);
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: 8px;
  padding: 1.5rem;
  margin: 2rem 0;
  box-shadow: 0 4px 12px rgba(212, 175, 55, 0.1);
}

.summary-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.summary-icon {
  font-size: 1.2rem;
}

.executive-summary h2 {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 600;
  color: #d4af37;
}

.summary-content {
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
  font-size: 0.95rem;
}

/* Revision History Timeline */
.revision-history {
  margin: 2rem 0;
  padding: 1.5rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.revision-title {
  font-size: 1rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  margin: 0 0 1.5rem 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.revision-title::before {
  content: "📅";
}

.timeline {
  position: relative;
  padding-left: 2rem;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0.4rem;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(180deg, rgba(212, 175, 55, 0.6) 0%, rgba(212, 175, 55, 0.2) 100%);
}

.timeline-item {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
  position: relative;
}

.timeline-marker {
  position: absolute;
  left: -1rem;
  top: 0.25rem;
  width: 0.8rem;
  height: 0.8rem;
  border-radius: 50%;
  background: #d4af37;
  border: 2px solid rgba(0, 0, 0, 0.8);
  box-shadow: 0 0 8px rgba(212, 175, 55, 0.4);
}

.timeline-content {
  flex: 1;
  padding: 0.75rem;
  background: rgba(255, 255, 255, 0.02);
  border-left: 2px solid rgba(212, 175, 55, 0.3);
  border-radius: 4px;
  padding-left: 1rem;
}

.revision-date {
  font-size: 0.85rem;
  color: #d4af37;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.revision-action {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 0.25rem;
}

.revision-author {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.6);
  font-style: italic;
}

.revision-note {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 0.5rem;
  padding-top: 0.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Enhanced Tags Section */
.tags-section {
  margin-top: 2rem;
}

.tags-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
  margin: 0 0 0.75rem 0;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.tag-list.enhanced-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.tag-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  border: 1.5px solid rgba(212, 175, 55, 0.4);
  background: rgba(212, 175, 55, 0.05);
  color: rgba(255, 255, 255, 0.85);
  border-radius: 999px;
  padding: 0.35rem 0.75rem;
  font-size: 0.85rem;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s ease;
  font-weight: 500;
}

.tag-icon {
  color: #d4af37;
  font-weight: 700;
}

.tag-text {
  display: inline;
}

.tag-pill:hover,
.tag-pill:focus {
  border-color: #d4af37;
  background: rgba(212, 175, 55, 0.15);
  color: #fff;
  box-shadow: 0 0 8px rgba(212, 175, 55, 0.3);
  transform: translateY(-1px);
}

.tag-pill:active {
  transform: translateY(0);
}

/* Responsive Design */
@media screen and (max-width: 768px) {
  .post-title {
    font-size: 1.8rem;
  }

  .metadata-row {
    flex-direction: column;
    gap: 0.25rem;
  }

  .metadata-label {
    min-width: auto;
  }

  .executive-summary {
    padding: 1rem;
  }

  .timeline {
    padding-left: 1.5rem;
  }

  .timeline-item {
    gap: 1rem;
  }

  .timeline-marker {
    left: -0.75rem;
  }

  .tag-pill {
    padding: 0.3rem 0.6rem;
    font-size: 0.8rem;
  }
}

@media screen and (max-width: 480px) {
  .post-header {
    padding-bottom: 1rem;
  }

  .post-title {
    font-size: 1.5rem;
  }

  .breadcrumb-nav {
    font-size: 0.8rem;
    margin-bottom: 1rem;
  }

  .timeline {
    padding-left: 1.2rem;
  }

  .timeline::before {
    left: 0.25rem;
  }

  .timeline-marker {
    left: -0.6rem;
    width: 0.6rem;
    height: 0.6rem;
  }
}
