.revista-container {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 2em;
  align-items: start;
  margin: 2em 3em;
  max-width: 1000px;
  padding: 1em;
}

.revista-container>h3 {
  grid-column: 1 / -1;
  text-align: justify;
  font-size: 0.95rem;
  margin: 0 0 1.5em;
}


.revista-container img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.1);
}

.revista-container button {
  margin-top: 1em;
  padding: 0.5em 1.2em;
  background: #005a9c;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}

.revista-container button:hover {
  background: #003f73;
}

.revista-text {
  margin: 1em 3em;
  font-size: 1em;
  line-height: 1.3;
}

.publicatii-text {
  margin: 3em;
  font-size: 1em;
  line-height: 1.3;
}

.revista-text h3 {
  margin-top: 0;
}

@media (max-width: 768px) {
  .revista-container {
    grid-template-columns: 1fr;
  }
}

/* ******************************* TELEFON ***************************** */
/* Extra small devices (phones, less than 640px) */
@media screen and (max-width: 640px) {
  .documente_mobil {
    display: block;
  }

  .revista-container {
    display: none;
  }
}

/* ******************************* TABLETA ***************************** */
/* Small devices (tablets, 640px and up) */
@media screen and (min-width: 641px),
handheld and (min-width: 641px) and (max-width: 980px) {
  .documente_mobil {
    display: block;
  }

  .revista-container {
    display: none;
  }

}

/* ******************************* CALCULATOR *************************** */
/* Medium and large devices (desktops, 980px and up) */
@media screen and (min-width: 981px),
handheld and (min-width: 640px) {
  .documente_mobil {
    display: none;
  }

  .revista-container {
    display: block;
  }
}