/* =====================
   Reset e básico
===================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.7;
  background: #f0f0f0;
  color: #222;
}

/* =====================
   Cabeçalho
===================== */
header {
  background-color: #2a2a2a;
  color: #f2f2f2;
  padding: 30px 15px;
  text-align: center;
  border-bottom: 4px solid #8b0000;
}

header h1 {
  font-size: 2.2em;
  margin-bottom: 5px;
}

header .subtitle {
  font-size: 0.95em;
  opacity: 0.8;
}

/* =====================
   Área principal
===================== */
main {
  max-width: 800px;
  margin: 40px auto;
  padding: 35px;
  background: #fff;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
  border-radius: 8px;
}

/* =====================
   Títulos e subtítulos
===================== */
h2 {
  font-size: 2em;
  margin-bottom: 10px;
  color: #3a0d0d;
}

h3 {
  font-size: 1.3em;
  margin-top: 40px;
  margin-bottom: 10px;
  border-left: 4px solid #8b0000;
  padding-left: 12px;
  color: #5a1a1a;
}

/* =====================
   Texto e metadados
===================== */
p {
  margin-bottom: 18px;
}

.meta {
  font-size: 0.85em;
  color: #555;
  margin-bottom: 25px;
}

/* =====================
   Imagens
===================== */
img {
  display: block;
  max-width: 70%;
  margin: 20px auto;
  border: 1px solid #bbb;
  filter: grayscale(15%) contrast(105%);
  border-radius: 4px;
}

/* =====================
   Blocos de citação
===================== */
blockquote {
  margin: 25px 0;
  padding: 15px 20px;
  background: #f7f7f7;
  border-left: 5px solid #8b0000;
  font-style: italic;
  color: #333;
}

.handwritten {
  font-family: "Brush Script MT", cursive;
  font-size: 1.15em;
}

/* =====================
   Destaques e alertas
===================== */
.warning {
  font-weight: bold;
  color: #8b0000;
  margin-top: 25px;
}

.final {
  font-size: 1.15em;
  color: #7a0000;
  text-align: center;
  margin: 25px 0;
}

/* =====================
   Nome e autoria
===================== */
.name {
  text-align: center;
  font-weight: bold;
  font-size: 1.15em;
  margin: 30px 0;
}

.name span {
  font-weight: normal;
  font-size: 0.85em;
  color: #555;
  display: block;
}

/* =====================
   Comentários
===================== */
.comments {
  margin-top: 60px;
  padding-top: 25px;
  border-top: 1px solid #ccc;
}

.comments h3 {
  margin-bottom: 20px;
}

.comments p {
  font-size: 0.9em;
  background: #fafafa;
  padding: 12px 15px;
  border-left: 3px solid #ccc;
  margin-bottom: 10px;
  border-radius: 4px;
}

.comments .author-response {
  background: #fff4e0;
  border-left: 3px solid #8b0000;
  margin-left: 20px;
}

.deleted {
  font-style: italic;
  color: #777;
}

/* =====================
   Botões e navegação
===================== */
button, .btn {
  display: inline-block;
  padding: 10px 18px;
  margin: 10px 0;
  background-color: #8b0000;
  color: #fff;
  text-decoration: none;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.95em;
  transition: 0.3s;
}

button:hover, .btn:hover {
  background-color: #5a0000;
}

/* =====================
   Seção de comentários do player
===================== */
.comment-form {
  margin-top: 30px;
}

.comment-form input, .comment-form textarea {
  width: 100%;
  padding: 10px;
  margin-bottom: 12px;
  border-radius: 4px;
  border: 1px solid #ccc;
  font-family: Georgia, "Times New Roman", serif;
}

.comment-form button {
  width: 100%;
}

/* =====================
   Links internos e menu
===================== */
.archive-nav {
  margin: 20px 0;
}

.archive-nav ul {
  list-style: none;
  padding-left: 0;
}

.archive-nav li {
  margin: 12px 0;
}

.archive-nav a {
  display: block;
  padding: 12px 15px;
  background: #eee;
  color: #222;
  text-decoration: none;
  border-left: 4px solid #333;
  border-radius: 4px;
  transition: 0.3s;
}

.archive-nav a:hover {
  background: #ddd;
  border-left-color: #8b0000;
}

/* =====================
   Rodapé
===================== */
footer {
  text-align: center;
  font-size: 0.85em;
  color: #666;
  margin: 50px 0 20px;
}
