/* ========================================
   BLOG RETRO 2000 - Stylesheet
   Layout inspirado na web clássica dos anos 2000
   ======================================== */

/* Reset básico */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  font-family: Verdana, Arial, Helvetica, sans-serif;
  font-size: 13px;
  line-height: 1.5;
  color: #000;
  background-color: #f0f0e8;
}

/* Links */
a {
  color: #000;
  text-decoration: underline;
}
a:visited {
  color: #333;
}
a:hover {
  color: #0000ee;
  text-decoration: underline;
}

/* Container principal */
#container {
  max-width: 1100px;
  margin: 0 auto;
  background: #f5f5f0;
}

/* ========================================
   HEADER
   ======================================== */
#header {
  background: #8ba4c8;
  color: #fff;
  padding: 16px 20px;
}
#header h1 {
  margin: 0;
  font-size: 32px;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: bold;
  color: #fff;
  letter-spacing: normal;
}
#header .subtitle {
  margin: 4px 0 0 0;
  font-size: 13px;
  color: #fff;
}

/* ========================================
   LAYOUT 3 COLUNAS
   ======================================== */
#main {
  display: flex;
  min-height: 500px;
}

/* ========================================
   SIDEBAR ESQUERDA - Parceiros Técnicos
   ======================================== */
#leftbar {
  width: 170px;
  padding: 12px;
  background: #f5f5f0;
  border-right: 1px solid #ccc;
}
#leftbar h3 {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 0 0 10px 0;
  padding: 4px 6px;
  background: #8ba4c8;
  color: #fff;
  font-weight: bold;
  font-family: Verdana, Arial, sans-serif;
}

.banner {
  display: block;
  width: 100%;
  margin-bottom: 10px;
  padding: 8px 6px;
  background: #e8e8e0;
  border: 1px solid #ccc;
  text-align: center;
  font-size: 11px;
  color: #000;
  text-decoration: none;
}
.banner:hover {
  background: #ddd;
  border-color: #999;
}
.banner strong {
  display: block;
  font-size: 13px;
  font-family: Georgia, "Times New Roman", serif;
  color: #000;
  margin-bottom: 2px;
}

.partner-footer {
  text-align: center;
  font-size: 10px;
  color: #666;
  margin-top: 8px;
}
.partner-footer a {
  color: #000;
  text-decoration: underline;
}

/* ========================================
   COLUNA CENTRAL - Conteúdo
   ======================================== */
#content {
  flex: 1;
  padding: 20px;
  min-width: 0;
  background: #f5f5f0;
}

/* Posts */
.post {
  margin-bottom: 0;
  padding-bottom: 16px;
  border-bottom: 1px solid #999;
  margin-bottom: 24px;
}
.post:last-child {
  border-bottom: none;
}
.post-header {
  margin-bottom: 12px;
}
.post-title {
  font-size: 22px;
  margin: 0 0 6px 0;
  color: #000;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: bold;
}
.post-title a {
  color: #000;
  text-decoration: none;
}
.post-title a:hover {
  color: #0000ee;
  text-decoration: underline;
}
.post-meta {
  font-size: 12px;
  color: #333;
  margin: 0;
}
.post-meta a {
  color: #000;
  text-decoration: underline;
}

.post-body {
  text-align: left;
}
.post-body p {
  margin: 10px 0;
}
.post-body h2 {
  font-size: 18px;
  color: #000;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: bold;
  margin-top: 24px;
  margin-bottom: 12px;
}
.post-body h3 {
  font-size: 14px;
  color: #333;
  margin-top: 16px;
  font-weight: bold;
}
.post-body pre {
  background: #e8e8e0;
  border: 1px solid #ccc;
  padding: 10px;
  overflow-x: auto;
  font-family: "Courier New", Courier, monospace;
  font-size: 12px;
}
.post-body code {
  font-family: "Courier New", Courier, monospace;
  background: #e8e8e0;
  padding: 1px 3px;
  font-size: 12px;
}
.post-body blockquote {
  margin: 10px 0;
  padding: 8px 12px;
  border-left: 3px solid #8ba4c8;
  background: #e8e8e0;
  font-style: italic;
}
.post-body ul,
.post-body ol {
  margin: 10px 0;
  padding-left: 24px;
}
.post-body img {
  max-width: 100%;
  height: auto;
  border: 1px solid #ccc;
}

/* Navegação de posts */
.post-nav {
  margin-top: 24px;
  padding-top: 12px;
  border-top: 1px solid #999;
  font-size: 13px;
  text-align: center;
  font-family: Georgia, "Times New Roman", serif;
}
.post-nav a {
  color: #000;
  text-decoration: none;
}
.post-nav a:hover {
  text-decoration: underline;
}

/* ========================================
   SIDEBAR DIREITA - Arquivo, Tags, Sobre, RSS
   ======================================== */
#rightbar {
  width: 200px;
  padding: 12px;
  background: #f5f5f0;
  border-left: 1px solid #ccc;
}
#rightbar h3 {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 0 0 10px 0;
  padding: 4px 6px;
  background: #8ba4c8;
  color: #fff;
  font-weight: bold;
  font-family: Verdana, Arial, sans-serif;
}
#rightbar .section {
  margin-bottom: 20px;
}

/* Arquivo */
.archive-list {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 12px;
}
.archive-list li {
  margin-bottom: 2px;
}
.archive-list .year {
  font-weight: bold;
  color: #000;
  margin-top: 6px;
  font-size: 13px;
}
.archive-list a {
  color: #000;
  text-decoration: underline;
}

/* Tags */
.tag-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.tag-list li {
  display: inline;
}
.tag-list a {
  display: inline-block;
  font-size: 11px;
  padding: 2px 8px;
  margin: 2px;
  background: #e8e8e0;
  border: 1px solid #ccc;
  text-decoration: underline;
  color: #000;
}
.tag-list a:hover {
  background: #ddd;
  border-color: #999;
}

/* Sobre */
.about-text {
  font-size: 11px;
  color: #333;
  line-height: 1.4;
}

/* RSS */
.rss-link {
  font-size: 12px;
}
.rss-link a {
  color: #000;
  text-decoration: underline;
}

/* ========================================
   FOOTER
   ======================================== */
#footer {
  background: #8ba4c8;
  padding: 10px 16px;
  font-size: 12px;
  color: #fff;
  text-align: center;
}
#footer a {
  color: #fff;
  text-decoration: underline;
}
#footer a:hover {
  color: #e0e0e0;
}

/* ========================================
   RESPONSIVIDADE
   ======================================== */
@media (max-width: 768px) {
  #main {
    flex-direction: column;
  }
  #leftbar,
  #rightbar {
    width: 100%;
    border: none;
    border-bottom: 1px solid #ccc;
  }
}
