@import url("https://fonts.googleapis.com/css2?family=Comfortaa:wght@300..700&family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&family=Manuale:ital,wght@0,300..800;1,300..800&family=Montserrat:ital,wght@0,100..900;1,100..900&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap");

.news-page {
  width: 98%;
  margin-top: 115px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.con_tg111 i {
  font-size: 15px !important;
  color: rgb(153, 143, 187) !important;
}

.news-page-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.news-page-header .material-symbols-outlined {
  font-size: 32px;
  color: #7a4ef3;
}

.news-page-header h1 {
  font-size: 26px;
  font-weight: 700;
  color: #e0e0e0;
}

.news-page-grid {
  opacity: 0.9;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
}

.news-card {
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, #03030300, #282630);
  border-radius: 25px;
  overflow: hidden;
}

.news-card-image {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 6;
  background: rgba(255, 255, 255, 0.03);
}

.news-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  display: inline-block;
  min-width: 60px;
  height: 22px;
  padding: 0 12px;
  border-radius: 20px;
  background: linear-gradient(135deg, #7a4ef3, #5a2ae0);
  color: white;
  font-size: 12px;
  font-weight: 700;
  line-height: 22px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.badge-row {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 6px;
}

.badge-row .news-badge {
  position: static;
}

.news-badge-icon {
  font-size: 22px;
  line-height: 1;
  color: #7a4ef3;
  font-variation-settings: "FILL" 1;
}

.news-card-body {
  min-height: 90px;
  padding: 10px;
}

.news-card-link {
  color: inherit;
  text-decoration: none;
  transition:
    transform 0.2s ease,
    background 0.2s ease;
}

.news-card-link:hover {
  filter: brightness(1.2);
  transform: translateY(-2px);
}
.news-card-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-card-title {
  font-size: 20px;
  font-weight: 700;
  color: #e0e0e0;
}

.news-card-text {
  margin: 0;
  font-size: 15px;
  font-weight: 550;
  line-height: 1.3;
  color: rgb(224 224 224 / 70%);
}

@media (max-width: 900px) {
  .news-page {
    margin-top: 10px;
  }
  .news-page-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .news-page-grid {
    grid-template-columns: 1fr;
  }
  .news-page-header h1 {
    font-size: 20px;
  }
  .news-page-header .material-symbols-outlined {
    font-size: 26px;
  }
  .news-card-title {
    font-size: 17px;
  }
  .news-card-text {
    font-size: 13px;
  }
}
