/* reality.zip - Unified Stylesheet */

/* Base Styles */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 5vh 0 50px; /* Simplified padding */
  min-height: 100vh;
  font-family: system-ui, sans-serif;
  color: #333;
  font-size: 14px;
  text-align: center;
  line-height: 1.5;
}

/* Typography & Common Elements */
.title {
  font-size: 5vw;
  font-weight: 500;
  margin-bottom: 6vh;
}

p {
  margin: 0 0 1.5em;
}

a {
  color: inherit;
  text-decoration: none;
  transition: background 0.2s ease;
}

a:hover {
  background: rgba(0,0,0,.02);
}

/* Common Container Styles */
.meta, 
.content, 
.player-container, 
.tracklist, 
.transcript, 
table,
.border-bottom {
  width: 90%;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}

/* Content Pages */
.page-title, 
.tracklist-title, 
.transcript-title {
  font-size: 16px;
  margin: 4vh 0 2vh;
  font-weight: 500;
  text-align: left;
}

.meta {
  border-bottom: none;
  padding-bottom: 0;
}

.meta-row {
  display: flex;
  margin-bottom: 1vh;
  flex-wrap: nowrap;
  align-items: flex-start;
}

.meta-label {
  width: 100px;
  min-width: 100px;
  flex-shrink: 0;
}

/* Feature Image Styles */
.feature-image-container {
  width: 90%;
  max-width: 600px;
  margin: 0 auto;
  padding-bottom: 0;
  overflow: hidden;
}

.feature-image {
  width: 100%;
  height: auto;
  display: block;
  max-width: 100%;
  max-height: 200px;
  object-fit: cover;
}

/* Table Styles */
table {
  border-collapse: collapse;
}

tr {
  border-bottom: 1px solid rgba(0,0,0,.05);
  cursor: pointer;
}

tr:last-child {
  border-bottom: none;
}

tr:hover {
  background: rgba(0,0,0,.02);
}

td {
  padding: 10px 5px;
  text-align: left;
}

/* Media Content - Consistent Spacing */
img, 
.player-container, 
.content, 
.tracklist, 
.transcript {
  margin-top: 3vh;
  margin-bottom: 3vh;
}

/* Image styles */
img {
  width: 90%;
  max-width: 600px;
  height: auto;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.audio-player {
  width: 100%;
  margin: 0;
}

/* Lists */
.tracklist-items {
  padding-left: 20px;
  margin: 0;
}

.tracklist-items li {
  margin-bottom: 8px;
}

/* Transcript Styling */
.transcript-content br {
  line-height: inherit;
}

/* Border Element */
.border-bottom {
  border-bottom: 1px solid rgba(0,0,0,.05);
}

/* Footer Styles */
.footer {
  text-align: center;
  padding: 20px 0;
  margin-top: 20px;
}

/* Responsive Adjustments */
@media (min-width: 768px) {
  .title {
    font-size: 36px;
  }
  
  body {
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  .meta-row {
    margin-bottom: 1.5vh;
  }
  
  .meta-label {
    width: 80px;
    min-width: 80px;
  }
}