/* Fonts */
:root {
  font-family: Georgia, 'Times New Roman', serif;
}

h1, h2, h3, h4 {
  font-family: 'Palatino Linotype', Palatino, serif;
}

/* Hero header with background image */
header.hero {
  background-size: cover;
  background-position: center;
  padding: 3rem 1rem 1.5rem;
  text-align: center;
  position: relative;
}

header.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}

header.hero > * {
  position: relative;
}

header.hero h1 {
  margin-bottom: 0.25rem;
  font-size: 2.5rem;
  color: #fff;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}

header.hero h1 a {
  color: #fff;
  text-decoration: none;
}

header.hero p {
  margin-top: 0;
  font-style: italic;
  color: rgba(255, 255, 255, 0.85);
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}

/* Nav links — plain bold text, subtle hover */
header.hero nav {
  margin-top: 0.75rem;
}

header.hero nav a {
  color: #fff;
  font-weight: bold;
  text-decoration: none;
  padding: 0.3rem 0.75rem;
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  border-radius: 3px;
  transition: background-color 0.15s, border-color 0.15s;
}

header.hero nav a:hover {
  background-color: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.7);
}

/* Post metadata */
article > time {
  display: block;
  color: var(--text-light);
  margin-bottom: 0.5rem;
}

article > .categories {
  display: block;
  margin-bottom: 1.5rem;
}

article > .categories a {
  font-size: 0.85em;
  margin-right: 0.5em;
}

/* Book/album cover images — float left with text wrap */
article .post-content img[src*="/covers/"],
article .post-content p:first-child img {
  float: left;
  max-width: 160px;
  margin: 0 1rem 0.75rem 0;
  border-radius: 3px;
}

/* Clear float after post content */
article .post-content::after {
  content: "";
  display: table;
  clear: both;
}

/* Star ratings */
.star-rating {
  color: #d97706;
  font-size: 1.1em;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

/* Series navigation */
.series-nav {
  border: 1px solid var(--border);
  border-radius: 5px;
  padding: 0.75rem 1rem;
  margin: 1rem 0;
  font-size: 0.9em;
  background: var(--accent-bg);
}

.series-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}

.series-position {
  color: var(--text-light);
  font-size: 0.85em;
}

.series-links {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.series-links a {
  text-decoration: none;
}

.series-links a:hover {
  text-decoration: underline;
}

.series-links .disabled {
  color: var(--text-light);
  font-style: italic;
}

.series-all {
  margin-top: 0.5rem;
  border-top: 1px solid var(--border);
  padding-top: 0.5rem;
}

.series-all summary {
  cursor: pointer;
  color: var(--text-light);
  font-size: 0.85em;
}

.series-all ol {
  margin: 0.5rem 0 0;
  padding-left: 1.5rem;
  font-size: 0.9em;
}

.series-all li {
  padding: 0.15rem 0;
}

.series-all li.current {
  color: var(--accent);
}

/* Audio players */
audio {
  display: block;
  width: 100%;
  max-width: 500px;
  margin: 0.5rem 0 1rem;
}

/* Comments */
.comments {
  margin-top: 2rem;
  border-top: 1px solid var(--border);
  padding-top: 1rem;
}

.comments summary {
  cursor: pointer;
  color: var(--text-light);
  font-size: 0.9em;
}

.comment-list {
  list-style: none;
  padding: 0;
}

.comment-list li {
  border-left: 3px solid var(--border);
  padding-left: 1rem;
  margin-bottom: 1rem;
}

.comment-meta {
  font-size: 0.85em;
  color: var(--text-light);
  margin-bottom: 0.25rem;
}

.comment-meta strong {
  color: var(--text);
}

.comment-meta time {
  margin-left: 0.5em;
}

.comment-content {
  font-size: 0.9em;
}

/* Post list (index page, category pages) */
.post-list {
  list-style: none;
  padding: 0;
}

.post-list li {
  padding: 0.3rem 0;
  display: flex;
  gap: 1rem;
  align-items: baseline;
}

.post-list time {
  flex-shrink: 0;
  font-size: 0.85em;
  color: var(--text-light);
  min-width: 7em;
}

/* Category links */
.category-links {
  color: var(--text-light);
  font-size: 0.9em;
}

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.pagination .current {
  color: var(--text-light);
  font-size: 0.9em;
}

/* Tables (theology page) */
table {
  font-size: 0.9em;
}

/* Iframes (YouTube, Bandcamp embeds) */
iframe {
  max-width: 100%;
}
