/* ========== RESET ========== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* ========== BACKGROUND DO SITE ========== */
body {
  font-family: "Trebuchet MS", sans-serif;
  background: url('xadrez.jpg') repeat;
  background-size: 500px;
  color: #3b2430;
}

/* ========== JANELA PRINCIPAL ========== */
.window {
  width: 950px;
  margin: 40px auto;
  background: #fff6fa;
  border: 3px solid #d6c8c2;
  border-radius: 8px;
  box-shadow: 0 0 16px rgba(0,0,0,0.18);
}

/* ========== BARRA SUPERIOR ========== */
.win-top {
  background: linear-gradient(to bottom, #f7dce6, #e5b5c6);
  padding: 6px 10px;
  color: #5f3e50;
  font-weight: bold;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 2px solid #d0b2b7;
}

.win-buttons {
  display: flex;
  align-items: center;
}
.win-buttons div {
  width: 14px;
  height: 14px;
  margin-left: 6px;
  border-radius: 3px;
  border: 1px solid #4a3a3a;
}

.win-min { background: #f3e598; }
.win-max { background: #c9f3c3; }
.win-close { background: #ffa3b3; }

/* ========== GRID PRINCIPAL ========== */
.content {
  padding: 20px 25px;
}

.container {
  display: grid;
  grid-template-columns: 207px 1fr 210px;
  gap: 25px;
}

/* ========== BARRAS LATERAIS ========== */
.sidebar,
.rightbar {
  background: #ffeef3;
  padding: 15px;
  border-radius: 8px;
  border: 1px solid #d6c8c2;
}

/* Links laterais */
.sidebar a,
.rightbar a {
  display: block;
  padding: 6px 8px;
  margin-bottom: 6px;
  text-decoration: none;
  background: #fdeaf1;
  border: 1px solid #d6c8c2;
  border-radius: 4px;
  color: #5b3d4c;
  font-size: 14px;
}

.sidebar a:hover,
.rightbar a:hover {
  background: #f7dfe9;
}

/* ========== ÁREA DA LOGO ========== */
.logo-box {
  text-align: center;
  margin-bottom: 12px;
}

.logo-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: -224px; /* mantém seus ratos colados */
  margin-top: -90px;
  pointer-events: none;
}

.logo-img {
  width: 260px;
}

.logo-side {
  width: 95px;
  transform: translateY(-6px);
}

/* ========== POSTS ========== */
.post {
  background: #fff8fa;
  border: 1px solid #d6c8c2;
  padding: 15px;
  border-radius: 6px;
  margin-bottom: 18px;
}

.post img {
  width: 100%;
  border-radius: 6px;
  margin-top: 10px;
}

/* ========== TÍTULOS INTERNOS ========== */
.section-title {
  background: linear-gradient(to bottom, #f8dce8, #e9bdd0);
  padding: 10px;
  text-align: center;
  border-radius: 6px;
  color: #59394b;
  font-weight: bold;
  margin-bottom: 8px;
  border: 1px solid #d6b8c1;
}

/* ========== RESPONSIVO ========== */
@media (max-width: 900px) {
  .container {
    grid-template-columns: 1fr;
    padding: 0 12px;
  }

  .logo-row {
    margin-top: -30px;
    gap: 0px;
    flex-wrap: wrap;
  }

  .logo-img {
    width: 200px;
  }

  .logo-side {
    width: 70px;
    margin-left: -4px;
    margin-right: -4px;
    transform: translateY(0);
  }
}
