
@media (max-width: 640px) {
    .noticia-home {
        width: 100%;
        max-width: 620px;
        /*margin: auto;*/
    }
    .lateral{
        width: 100%;
    }   
}
@media (min-width: 641px) {
    .noticia-home {
        width: 50%;
        max-width: 1200px;
        /*margin: auto;*/
    }
    .lateral{
        width: 50%;
    }
    .versao-mobile {
        position: relative;
        width: 100%;
        max-width: 100%;
    }
    .foto-mobile {
        width: 100%;
        display: block;
        height: auto;
    }
    .versao-mobile a {
        display: block;
        position: relative;
    }
    .versao-mobile h1 {
        position: absolute;
        left: 0;
        right: 0;
        bottom: 0;
        margin: 0;
        padding: 16px 12px 12px 12px;
        background: rgba(0,0,0,0.6); /* fundo preto semi-transparente */
        color: #fff;
        font-size: 1.2em;
        z-index: 2;
        border-radius: 0 0 8px 8px;
        text-shadow: 0 2px 8px #000;
    }
    .versao-mobile a {
        position: relative;
    }
}
/* ------------------- DESKTOP ------------------- */

.versao-desktop {
  display: none;
}

.imagem-container {
  height: 400px;
  position: relative;
  border-radius: 8px 8px 0 0;
  overflow: hidden;
}
.imagem-fundo{
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.2);
    display: flex ;
    align-items:end;
    justify-content: center;
    text-align: center;
    color:white;
    padding: 20px;

}

.overlay h1 {
  font-size: 2em;
  line-height: 1.3;
}

.chamadas-desktop {
  background-color: #c00;
  color: #fff;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 15px;
  font-size: 0.95em;
  border-radius: 0 0 8px 8px;
}

/* ------------------- MOBILE ------------------- */

.versao-mobile {
  display: block;
  text-align: center;
  padding: 20px 10px;
}

.versao-mobile h1 {
  color: #c00;
  font-size: 1.6em;
  margin-bottom: 15px;
}

.foto-mobile {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

.chamadas-mobile {
  list-style: none;
  padding: 0;
  margin-top: 20px;
}

.chamadas-mobile li {
  padding: 10px;
  border-bottom: 1px solid #ccc;
  text-align: left;
  position: relative;
  padding-left: 20px;
}

.chamadas-mobile li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: red;
}

/* ------------------- RESPONSIVIDADE ------------------- */

@media (min-width: 641px) {
  .versao-desktop {
    display: block;
  }
  .versao-mobile {
    display: none;
  }
}
