/* Notícias page styles */

.noticias-header {
  text-align: center;
  padding: 60px 0 40px 0;
  background-color: #ccc;
}

.noticias-header h1 {
  font-family: "Nippo", "Arial", serif;
  font-size: 50px;
  font-weight: 500;
  color: #595959;
  width: 100%;
}

.noticias-header p {
  font-family: "Nippo", "Arial", serif;
  font-size: 18px;
  color: #6e6e6e;
  font-weight: 300;
  width: 100%;
}

.post-list {
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 20px;
}

.post-item {
  display: flex;
  gap: 20px;
  background-color: #dcdcdc;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 20px;
}

.post-item a.post-image {
  flex-shrink: 0;
}

.post-item img {
  width: 180px;
  height: 140px;
  object-fit: cover;
  border-radius: 6px;
}

.post-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.post-content time {
  font-family: "Nippo", "Arial", serif;
  font-size: 14px;
  color: #999;
  font-weight: 300;
  text-transform: uppercase;
}

.post-content h2 {
  font-family: "Nippo", "Arial", serif;
  font-size: 20px;
  font-weight: 500;
  color: #595959;
  margin: 5px 0;
  width: 100%;
  line-height: 1.3;
}

.post-content p {
  font-family: "Nippo", "Arial", serif;
  font-size: 16px;
  color: #6e6e6e;
  font-weight: 300;
  width: 100%;
  line-height: 1.5;
  margin: 0;
}

.post-content a.post-link {
  font-family: "Nippo", "Arial", serif;
  font-size: 14px;
  color: #888;
  text-decoration: none;
  margin-top: 8px;
  font-weight: 300;
}

.post-content a.post-link:hover {
  text-decoration: underline;
}

.pagination-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  padding: 20px 0 60px 0;
  font-family: "Nippo", "Arial", serif;
  font-size: 16px;
}

.pagination-nav a {
  color: #595959;
  text-decoration: none;
  font-weight: 300;
}

.pagination-nav a:hover {
  text-decoration: underline;
}

.pagination-nav .current-page {
  font-weight: 500;
  color: #595959;
}

.no-posts {
  text-align: center;
  padding: 80px 20px;
  font-family: "Nippo", "Arial", serif;
  font-size: 18px;
  color: #999;
}

/* Individual post page */
.post-page {
  padding: 30px 20px 40px 20px;
}

.post-page-inner {
  max-width: 550px;
  margin: 0 auto;
}

.post-back {
  font-family: "Nippo", "Arial", serif;
  font-size: 14px;
  color: #888;
  text-decoration: none;
  font-weight: 300;
  display: inline-block;
  margin-bottom: 20px;
}

.post-back:hover {
  text-decoration: underline;
}

.post-page time {
  font-family: "Nippo", "Arial", serif;
  font-size: 14px;
  color: #999;
  font-weight: 300;
  text-transform: uppercase;
  display: block;
  margin-bottom: 8px;
}

.post-page h1 {
  font-family: "Nippo", "Arial", serif;
  font-size: 26px;
  font-weight: 500;
  color: #595959;
  line-height: 1.3;
  margin-bottom: 20px;
  width: 100%;
}

.post-page-image {
  width: 100%;
  max-height: 350px;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 20px;
}

.post-embed {
  margin-bottom: 20px;
  max-width: 350px;
  margin-left: auto;
  margin-right: auto;
}

.post-embed iframe {
  max-width: 100% !important;
  width: 100% !important;
}

.post-embed .instagram-media {
  margin: 0 auto !important;
  min-width: auto !important;
  max-width: 100% !important;
}

.post-page-body {
  font-family: "Nippo", "Arial", serif;
  font-size: 14px;
  color: #6e6e6e;
  font-weight: 300;
  line-height: 1.7;
  background-color: #dcdcdc;
  border-radius: 8px;
  padding: 25px 28px;
}

.post-page .post-page-body p {
  font-size: 16px;
  width: 100%;
  line-height: 1.7;
  margin-bottom: 12px;
}

.post-page-footer {
  margin-top: 25px;
  padding-top: 15px;
  border-top: 1px solid #b8b8b8;
}

.post-instagram-link {
  font-family: "Nippo", "Arial", serif;
  font-size: 13px;
  color: #888;
  text-decoration: none;
  font-weight: 300;
}

.post-instagram-link:hover {
  text-decoration: underline;
}

/* Responsive: stack vertically on mobile */
@media only screen and (max-width: 768px) {
  .post-item {
    flex-direction: column;
  }

  .post-item img {
    width: 100%;
    height: 200px;
  }

  .noticias-header h1 {
    font-size: 30px;
  }

  .noticias-header {
    padding: 30px 15px 20px 15px;
  }

  .post-list {
    padding: 20px 15px;
  }

  .post-page h1 {
    font-size: 20px;
  }

  .post-page-body {
    font-size: 13px;
  }

  .post-page {
    padding: 25px 15px 40px 15px;
  }
}
