/*
 * Eventos Tio — Blog Styles
 * single.php, archive.php
 */

.site-main {
  padding: calc(var(--section-gap) + 4rem) 0 var(--section-gap);
}

/* Archive / blog listing */
.site-main article {
  padding: 2rem 0;
  border-bottom: 1px solid var(--border-subtle);
}

.site-main article h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  letter-spacing: 0.03em;
  margin-bottom: 0.75rem;
}

.site-main article h2 a {
  transition: color 0.3s;
}

.site-main article h2 a:hover {
  color: var(--red);
}

.site-main article .entry-excerpt,
.site-main article p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
  font-weight: 300;
}

/* Single post content */
.entry-content {
  max-width: 720px;
  margin: 0 auto;
}

.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4 {
  font-family: var(--font-display);
  letter-spacing: 0.03em;
  margin: 2rem 0 1rem;
}

.entry-content h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
.entry-content h2 { font-size: clamp(1.5rem, 3vw, 2.5rem); }
.entry-content h3 { font-size: clamp(1.2rem, 2.5vw, 1.8rem); }

.entry-content p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
  font-weight: 300;
}

.entry-content a {
  color: var(--red);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.3s;
}

.entry-content a:hover {
  color: var(--red-light);
}

.entry-content img {
  border-radius: 2px;
  margin: 2rem 0;
}

.entry-content blockquote {
  border-left: 3px solid var(--red);
  padding: 1rem 0 1rem 1.5rem;
  margin: 2rem 0;
  font-style: italic;
  color: var(--text-secondary);
}

.entry-content ul,
.entry-content ol {
  color: var(--text-secondary);
  padding-left: 1.5rem;
  margin-bottom: 1.5rem;
}

.entry-content li {
  margin-bottom: 0.5rem;
  line-height: 1.7;
}

/* Single post header */
.single-header {
  text-align: center;
  margin-bottom: 3rem;
}

.single-header h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  letter-spacing: 0.03em;
  line-height: 1.1;
  margin-bottom: 1rem;
}

.single-header .featured-image {
  margin: 2rem auto;
  max-width: 900px;
}

.single-header .featured-image img {
  border-radius: 2px;
  width: 100%;
}

.entry-footer {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-subtle);
  text-align: center;
}

.entry-footer .btn-primary {
  margin: 2rem auto;
}

/* Archive header */
.archive-header {
  margin-bottom: 3rem;
}

.archive-header h1 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  letter-spacing: 0.03em;
  line-height: 1;
}

.archive-header p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  max-width: 500px;
  margin-top: 1rem;
  font-weight: 300;
}

.blog-card-content time {
  font-size: 0.75rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* Post navigation */
.posts-navigation {
  padding: 2rem 0;
  border-top: 1px solid var(--border-subtle);
  margin-top: 2rem;
}

.posts-navigation a {
  color: var(--red);
  font-weight: 500;
  transition: color 0.3s;
}

.posts-navigation a:hover {
  color: var(--red-light);
}
