/* News — tmpl/news.tpl (with common.css) */
.page-hero--news {
  min-height: 48vh;
  display: flex;
  align-items: center;
  padding-top: 68px;
  position: relative;
  overflow: hidden;
  background: radial-gradient(ellipse 75% 55% at 50% 0%, rgba(37, 99, 235, 0.14) 0%, transparent 65%);
}
.page-hero--news::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' xmlns='http://www.w3.org/2000/svg'%3E%3Cdefs%3E%3Cpattern id='gn' width='60' height='60' patternUnits='userSpaceOnUse'%3E%3Cpath d='M 60 0 L 0 0 0 60' fill='none' stroke='rgba(37,99,235,0.05)' stroke-width='1'/%3E%3C/pattern%3E%3C/defs%3E%3Crect width='100%25' height='100%25' fill='url(%23gn)'/%3E%3C/svg%3E");
  pointer-events: none;
}
.news-hero-inner {
  padding: 72px 0 48px;
  text-align: center;
  position: relative;
  z-index: 1;
}
.page-hero--news .page-crumb {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 20px;
}
.page-hero--news .page-crumb a {
  color: var(--blue3);
  text-decoration: none;
}
.page-hero--news .page-crumb a:hover {
  text-decoration: underline;
}
.page-hero--news .page-crumb-sep {
  color: var(--muted2);
}
.page-hero--news .page-eye {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--blue3);
  margin-bottom: 16px;
  display: block;
}
.page-hero--news .page-title {
  font-size: 52px;
  font-weight: 900;
  color: #fff;
  letter-spacing: -0.04em;
  line-height: 1.05;
  margin-bottom: 18px;
}
.page-hero--news .page-title span {
  background: linear-gradient(45deg,#A818E9,#F44163);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.page-hero--news .page-sub {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.75;
  max-width: 520px;
  margin: 0 auto;
}

.news-section {
  padding: 56px 0 96px;
  position: relative;
  z-index: 1;
}
.news-feed {
  display: flex;
  flex-direction: column;
  gap: 28px;
  max-width: 800px;
  margin: 0 auto;
}

.news-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.news-card:hover {
  border-color: rgba(37, 99, 235, 0.28);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
}

.news-card__media {
  position: relative;
  aspect-ratio: 21 / 9;
  min-height: 180px;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.2), rgba(6, 182, 212, 0.08));
}
.news-card__media--empty {
  display: flex;
  align-items: center;
  justify-content: center;
}
.news-card__media--empty svg {
  width: 48px;
  height: 48px;
  color: rgba(255, 255, 255, 0.12);
}
.news-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.news-card__date {
  position: absolute;
  bottom: 14px;
  left: 14px;
  font-family: 'Outfit', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--blue3);
  padding: 6px 12px;
  border-radius: 8px;
  background: rgba(6, 13, 26, 0.88);
  border: 1px solid rgba(37, 99, 235, 0.35);
  backdrop-filter: blur(8px);
}

.news-card__body {
  padding: 26px 28px 30px;
}
.news-card__title {
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin-bottom: 16px;
}
.news-card__content {
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.8;
}
.news-card__content p {
  margin-bottom: 12px;
}
.news-card__content p:last-child {
  margin-bottom: 0;
}
.news-card__content a {
  color: var(--blue3);
  text-decoration: none;
}
.news-card__content a:hover {
  text-decoration: underline;
}
.news-card__content strong {
  color: var(--text2);
}

.news-empty {
  text-align: center;
  padding: 64px 24px;
  border-radius: 16px;
  border: 1px dashed var(--border);
  background: rgba(255, 255, 255, 0.02);
  max-width: 480px;
  margin: 0 auto;
}
.news-empty svg {
  margin: 0 auto 16px;
  display: block;
  color: var(--muted);
  opacity: 0.45;
}
.news-empty p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.6;
}

/* Pagination (HYIP table-based + plain links) */
.news-paginator-wrap {
  margin-top: 48px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}
.news-paginator-wrap table {
  border-collapse: separate;
  border-spacing: 6px;
  margin: 0 auto;
}
.news-paginator-wrap td {
  padding: 0;
  vertical-align: middle;
  font-size: 13px;
  color: var(--muted);
}
.news-paginator-wrap a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 14px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  font-family: 'Outfit', sans-serif;
  color: var(--muted2);
  text-decoration: none;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  transition: all 0.18s;
}
.news-paginator-wrap a:hover {
  color: #fff;
  border-color: rgba(37, 99, 235, 0.45);
  background: rgba(37, 99, 235, 0.12);
}

@media (max-width: 600px) {
  .page-hero--news .page-title {
    font-size: 36px;
  }
  .news-card__body {
    padding: 20px 18px 24px;
  }
  .news-card__title {
    font-size: 19px;
  }
  .news-card__media {
    aspect-ratio: 16 / 10;
    min-height: 160px;
  }
}
