body,
html {
  margin: 0;
  padding: 0;
  font-family: system-ui, sans-serif;
  height: 100%;
  background: #f0f1f2;
  color: #fff;
  display: flex;
  flex-direction: column;
  text-align: center;
}

.container {
  display: flex;
  flex-direction: column;
  height: 100vh;
  background: linear-gradient(to bottom, #2563eb, #9333ea);
}

.header {
  flex: 0 0 100px;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 130px;
}

.logo {
  height: 80%;
  max-width: 80%;
}

.news {
  flex: 1;
  overflow-y: auto;
  padding: 0.5rem;
}

.news a {
  display: block;
  text-decoration: none;
  color: #111;
  margin-bottom: 15px;
  padding: 10px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.news a:hover {
  background: #e8e8e8;
}

.news-item {
  display: flex;
  align-items: center;
  background: #fff;
  color: #000;
  border-radius: 10px;
  margin-bottom: 12px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.news-item img.thumb {
  width: 70px;
  height: 70px;
  object-fit: cover;
  margin-right: 5px;
}

.news-item a.title {
  flex: 1;
  text-decoration: none;
  color: #111;
  font-weight: 500;
  padding: 10px;
  line-height: 1.3;
  text-align: left;
}

.news-item:hover {
  background: #f5f5f5;
}

.player {
  flex: 0 0 80px;
  background: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  border-top: 1px solid #ccc;
}

audio {
  width: 90%;
}

.install-prompt {
  position: fixed;
  background: rgba(0, 0, 0, 0.1);
  color: #fff;
  border-radius: 10px;
  display: none;
  text-align: center;
  font-size: 1rem;
  z-index: 9999;
  width: 100%;
  height: 120%;
  backdrop-filter: blur(4px);
  align-items: center;
  justify-content: center;
  > div {
    background-color: #4caf50;
    border-radius: 10px;
    padding: 10px 15px;
    color: #fff;
    margin: auto;
    width: 80%;
    margin-top: 100%;
  }
}

/* Modal noticias */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 999;
}

.modal-content {
  background: #fff;
  width: 90%;
  height: 80%;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.modal-content iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.close-btn {
  position: absolute;
  top: 8px;
  right: 10px;
  background: #ff3b30;
  color: #fff;
  border: none;
  font-size: 18px;
  padding: 4px 10px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 10;
}

.close-btn:hover {
  background: #c12722;
}

/* Custom Audio */

.custom-player {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fff;
  border-radius: 12px;
  padding: 10px 15px;
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
}

.custom-player .play {
  font-size: 35px;
  border: none;
  background: none;
  cursor: pointer;
}

.custom-player .track-info {
  flex: 1;
  text-align: center;
  font-weight: 600;
  color: #111;
}

.custom-player input[type="range"] {
  width: 80px;
  accent-color: #c12722;
}
