/* ===== ESTRUTURA GERAL ===== */
body {
  background: #000000;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: #e0e0e0;
  margin: 0;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

h1,
h2,
h3 {
  margin-top: 0;
  color: #ffffff;
}

.container {
  max-width: 750px;
  margin: auto;
  padding: 40px 20px;
}

.center-screen {
  display: flex;
  justify-content: center;
  padding: 40px 20px;
}

main {
  flex: 1;
}

/* ===== HEADER E NAVEGAÇÃO ===== */
header {
  position: relative;
  background: #000000;
  padding: 15px 20px;
  border-bottom: 1px solid #222;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

header strong {
  color: #ffffff;
  font-size: 18px;
  letter-spacing: 0.5px;
}

.menu-btn {
  font-size: 24px;
  background: none;
  border: none;
  cursor: pointer;
  color: #ffffff;
  transition: color 0.2s ease;
}

.menu-btn:hover {
  color: #ff6719;
}

nav {
  display: none;
}

nav.active {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 60px;
  left: 0;
  width: 100%;
  background: #111111;
  border-top: 1px solid #222;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.8);
  z-index: 10;
}

nav a {
  padding: 15px 20px;
  border-bottom: 1px solid #222;
  text-decoration: none;
  color: #b3b3b3;
  font-weight: bold;
  transition: all 0.2s ease;
}

nav a:hover {
  background: #1a1a1a;
  color: #ffffff;
}

@media (min-width: 600px) {
  .menu-btn {
    display: none;
  }

  nav {
    display: flex;
    align-items: center;
  }

  nav.active {
    position: static;
    flex-direction: row;
    border: none;
    box-shadow: none;
    width: auto;
    background: transparent;
  }

  nav a {
    border: none;
    padding: 0;
    margin-left: 20px;
  }

  nav a:hover {
    background: none;
    color: #ff6719;
  }
}

/* ===== CARTÕES ===== */
.card {
  background: #151515;
  max-width: 650px;
  margin: 40px auto;
  border-radius: 12px;
  border: 1px solid #2a2a2a;
  line-height: 1.8;
  font-size: 18px;
  overflow: hidden;
  padding: 0;
  transition: transform 0.2s ease;
  animation: fadeIn 0.6s ease;
}

.card:hover {
  transform: translateY(-2px);
}

.card > * {
  padding-left: 30px;
  padding-right: 30px;
}

.card > :first-child {
  padding-top: 30px;
}

.card > :last-child {
  padding-bottom: 30px;
}

.card p {
  margin-bottom: 18px;
  text-align: justify;
}

.card h3 {
  margin-bottom: 10px;
  border-bottom: none;
  padding-bottom: 0;
}

/* ===== LINKS DOS POSTS ===== */
.post-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.post-link-text {
  color: #ff6719 !important;
  opacity: 0.9;
  font-size: 15px;
  font-weight: bold;
  margin-top: 15px;
  margin-bottom: 0;
}

.card-destaque .post-link-text {
  color: #ff6719 !important;
}

/* ===== DATA DOS POSTS ===== */
.data {
  color: #888;
  font-size: 14px;
  margin-bottom: 5px;
  letter-spacing: 1px;
}

/* ===== IMAGENS DOS POSTS ===== */
.post-imagem {
  width: 100%;
  max-height: 500px;
  object-fit: cover;
  margin: 20px 0;
  padding-left: 0 !important;
  padding-right: 0 !important;
  display: block;
}

.card > .post-imagem:first-child {
  margin-top: 0;
}

/* ===== CARTÃO DESTAQUE (CAPA) ===== */
.card-destaque {
  position: relative;
  min-height: 420px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background-size: cover;
  background-position: center;
}

.card-destaque::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to top, rgba(21, 21, 21, 1) 15%, rgba(21, 21, 21, 0.8) 50%, rgba(21, 21, 21, 0) 100%);
  z-index: 1;
}

.card-destaque > div {
  position: relative;
  z-index: 2;
}

.card-destaque h3 {
  font-size: 26px;
  color: #ffffff;
  margin-bottom: 8px;
  border-bottom: none;
  padding-bottom: 0;
}

/* ===== ANIMAÇÕES ===== */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== RODAPÉ ===== */
footer {
  background: #000000;
  border-top: 1px solid #222;
  padding: 30px 20px;
  text-align: center;
  color: #888;
  font-size: 14px;
  margin-top: 60px;
  width: 100%;
  box-sizing: border-box;
}

footer p {
  margin: 0;
  text-align: center;
  line-height: 1.6;
}

@media (max-width: 599px) {
  footer {
    padding: 20px 15px;
    margin-top: 40px;
    font-size: 13px;
  }

  footer p {
    word-break: break-word;
  }
}
