:root {
  --news-primary: #0056b3;
  --news-primary-light: #1d7af8;
  --news-primary-dark: #003d82;
  --news-accent: #00d4ff;
  --news-accent-glow: rgba(0, 212, 255, 0.3);
  --news-dark: #0a1628;
  --news-dark-2: #0f172a;
  --news-dark-3: #1a2744;
  --news-text: #1f2937;
  --news-text-light: #6b7280;
  --news-text-muted: #9ca3af;
  --news-border: #e5e7eb;
  --news-bg: #f8fafc;
  --news-card: #ffffff;
  --news-radius-sm: 6px;
  --news-radius-md: 12px;
  --news-radius-lg: 20px;
  --news-radius-full: 9999px;
  --news-shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06);
  --news-shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
  --news-shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.12);
  --news-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.news-cta-section > div,
.news-filter-section > div,
.news-hero > div,
.news-main-layout > div {
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
}
.news-hero {
  background: linear-gradient(
    135deg,
    #0a1628 0,
    #0f2847 40%,
    #1a365d 70%,
    #0a1628 100%
  );
  position: relative;
  overflow: hidden;
  padding: 80px 0 60px;
}
.news-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
    linear-gradient(rgba(0, 212, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 212, 255, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  animation: newsGridMove 20s linear infinite;
}
@keyframes newsGridMove {
  0% {
    transform: translate(0, 0);
  }
  100% {
    transform: translate(60px, 60px);
  }
}
.news-hero::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(
      circle at 20% 30%,
      rgba(0, 86, 179, 0.2) 0,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 70%,
      rgba(0, 212, 255, 0.12) 0,
      transparent 40%
    ),
    radial-gradient(
      circle at 50% 50%,
      rgba(0, 86, 179, 0.08) 0,
      transparent 60%
    );
  pointer-events: none;
}
.news-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
}
.news-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: rgba(0, 212, 255, 0.1);
  border: 1px solid rgba(0, 212, 255, 0.25);
  border-radius: var(--news-radius-full);
  color: var(--news-accent);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-bottom: 24px;
  backdrop-filter: blur(8px);
}
.news-hero-badge i {
  font-size: 14px;
  animation: newsPulse 2s ease-in-out infinite;
}
@keyframes newsPulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}
.news-hero h1 {
  font-size: 48px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
  line-height: 1.2;
}
.news-hero h1 .news-gradient-text {
  background: linear-gradient(135deg, var(--news-accent), #60a5fa, #a78bfa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.news-hero-desc {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.6);
  max-width: 600px;
  margin: 0 auto 32px;
  line-height: 1.7;
}
.news-hero-search {
  max-width: 560px;
  margin: 0 auto;
  position: relative;
}
.news-hero-search input {
  width: 100%;
  padding: 16px 56px 16px 24px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--news-radius-lg);
  color: #fff;
  font-size: 16px;
  outline: 0;
  transition: var(--news-transition);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.news-hero-search input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}
.news-hero-search input:focus {
  border-color: var(--news-accent);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 0 0 4px rgba(0, 212, 255, 0.12), 0 0 30px rgba(0, 212, 255, 0.08);
}
.news-hero-search-btn {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--news-primary), var(--news-primary-light));
  border-radius: var(--news-radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: var(--news-transition);
  border: none;
  cursor: pointer;
}
.news-hero-search-btn:hover {
  background: var(--news-primary-light);
  transform: translateY(-50%) scale(1.05);
  box-shadow: 0 4px 12px rgba(0, 86, 179, 0.4);
}
.news-hero-stats {
  display: flex;
  justify-content: center;
  gap: 48px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.news-hero-stat {
  text-align: center;
}
.news-hero-stat-num {
  font-size: 28px;
  font-weight: 800;
  color: #fff;
}
.news-hero-stat-num .news-accent {
  color: var(--news-accent);
}
.news-hero-stat-label {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 4px;
}
@media (max-width: 768px) {
  .news-hero {
    padding: 50px 0 40px;
  }
  .news-hero h1 {
    font-size: 30px;
  }
  .news-hero-desc {
    font-size: 15px;
  }
  .news-hero-stats {
    gap: 24px;
    flex-wrap: wrap;
  }
  .news-hero-stat-num {
    font-size: 22px;
  }
}
.news-filter-section {
  background: var(--news-card);
  border-bottom: 1px solid var(--news-border);
  position: sticky;
  top: 80px;
  z-index: var(--suntecc-z-sticky, 40);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}
.news-filter-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 0;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.news-filter-bar::-webkit-scrollbar {
  display: none;
}
.news-filter-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--news-text-light);
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 6px;
}
.news-filter-label i {
  color: var(--news-primary);
}
.news-filter-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  border-radius: var(--news-radius-full);
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  transition: var(--news-transition);
  border: 1px solid var(--news-border);
  color: var(--news-text-light);
  background: var(--news-card);
  text-decoration: none;
  cursor: pointer;
}
.news-filter-pill:hover {
  border-color: var(--news-primary);
  color: var(--news-primary);
  background: rgba(0, 86, 179, 0.04);
}
.news-filter-pill.active {
  background: var(--news-primary);
  color: #fff;
  border-color: var(--news-primary);
  box-shadow: 0 4px 12px rgba(0, 86, 179, 0.3);
}
.news-filter-pill .news-count {
  font-size: 11px;
  padding: 1px 7px;
  border-radius: var(--news-radius-full);
  background: rgba(0, 0, 0, 0.08);
}
.news-filter-pill.active .news-count {
  background: rgba(255, 255, 255, 0.25);
}
.suntecc-navbar ~ .news-filter-section,
body:not(.home) .news-filter-section {
  top: 80px;
}
body .suntecc-navbar.has-marquee ~ * .news-filter-section {
  top: 112px;
}
.news-main-layout {
  padding: 40px 0 80px;
}
.news-content-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 40px;
  align-items: start;
}
@media (max-width: 1024px) {
  .news-content-grid {
    grid-template-columns: 1fr;
  }
  .news-sidebar {
    order: 2;
  }
}
.news-featured-card {
  position: relative;
  border-radius: var(--news-radius-lg);
  overflow: hidden;
  margin-bottom: 32px;
  cursor: pointer;
  transition: var(--news-transition);
}
.news-featured-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--news-shadow-lg);
}
.news-featured-card-img {
  width: 100%;
  height: 400px;
  object-fit: contain;
  background-color: var(--news-bg, #f8fafc);
  transition: transform 0.6s ease;
}
.news-featured-card:hover .news-featured-card-img {
  transform: scale(1.03);
}
.news-featured-card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 40px 32px;
  background: linear-gradient(transparent, rgba(10, 22, 40, 0.95));
  color: #fff;
}
.news-featured-badges {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}
.news-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 12px;
  border-radius: var(--news-radius-full);
  font-size: 12px;
  font-weight: 600;
}
.news-badge-featured {
  background: linear-gradient(135deg, #f59e0b, #ef4444);
  color: #fff;
}
.news-badge-category {
  background: rgba(0, 212, 255, 0.2);
  color: var(--news-accent);
  border: 1px solid rgba(0, 212, 255, 0.3);
}
.news-featured-card h2 {
  font-size: 26px;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 10px;
}
.news-featured-card .news-featured-excerpt {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-featured-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  flex-wrap: wrap;
}
.news-featured-meta .news-author {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.8);
}
.news-author-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--news-primary), var(--news-accent));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
}
@media (max-width: 768px) {
  .news-featured-card-img {
    height: 260px;
  }
  .news-featured-card-overlay {
    padding: 24px 20px;
  }
  .news-featured-card h2 {
    font-size: 20px;
  }
}
.news-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}
.news-section-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--news-dark);
  display: flex;
  align-items: center;
  gap: 10px;
}
.news-section-title .news-line {
  width: 32px;
  height: 3px;
  background: linear-gradient(90deg, var(--news-primary), var(--news-accent));
  border-radius: 2px;
}
.news-blog-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
@media (max-width: 768px) {
  .news-blog-grid {
    grid-template-columns: 1fr;
  }
}
.news-card {
  background: var(--news-card);
  border: 1px solid var(--news-border);
  border-radius: var(--news-radius-md);
  overflow: hidden;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
}
.news-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(0, 86, 179, 0.12), 0 0 0 1px rgba(0, 86, 179, 0.15);
  border-color: rgba(0, 86, 179, 0.25);
}
.news-card-img-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/10;
  background-color: var(--news-bg, #f8fafc);
}
.news-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background-color: var(--news-bg, #f8fafc);
  transition: transform 0.5s ease;
}
.news-card:hover .news-card-img-wrap img {
  transform: scale(1.05);
}
.news-card-badges {
  position: absolute;
  top: 12px;
  left: 12px;
  display: flex;
  gap: 6px;
}
.news-badge-sm {
  padding: 3px 10px;
  border-radius: var(--news-radius-full);
  font-size: 11px;
  font-weight: 600;
  backdrop-filter: blur(8px);
}
.news-badge-sm.cat {
  background: rgba(0, 86, 179, 0.85);
  color: #fff;
}
.news-card-read-time {
  position: absolute;
  bottom: 12px;
  right: 12px;
  padding: 4px 10px;
  background: rgba(0, 0, 0, 0.6);
  border-radius: var(--news-radius-full);
  color: #fff;
  font-size: 11px;
  font-weight: 500;
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  gap: 4px;
}
.news-card-body {
  padding: 20px;
}
.news-card-body h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--news-dark);
  line-height: 1.4;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.2s;
}
.news-card:hover .news-card-body h3 {
  color: var(--news-primary);
}
.news-card-body .news-excerpt {
  font-size: 14px;
  color: var(--news-text-light);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 16px;
}
.news-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid var(--news-border);
}
.news-card-author {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--news-text-light);
}
.news-card-author .news-avatar-sm {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: linear-gradient(135deg, #60a5fa, #a78bfa);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 700;
  color: #fff;
}
.news-card-date {
  font-size: 12px;
  color: var(--news-text-muted);
  display: flex;
  align-items: center;
  gap: 4px;
}
.news-card-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #e0e7ff 0, #dbeafe 50%, #ede9fe 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}
.news-card-placeholder i {
  font-size: 40px;
  color: rgba(0, 86, 179, 0.2);
}
.news-sidebar {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.news-sidebar-widget {
  background: var(--news-card);
  border: 1px solid var(--news-border);
  border-radius: var(--news-radius-md);
  padding: 24px;
  transition: all 0.3s ease;
}
.news-sidebar-widget:hover {
  border-color: rgba(0, 86, 179, 0.15);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}
.news-sidebar-widget h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--news-dark);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--news-border);
}
.news-sidebar-widget h3 i {
  color: var(--news-primary);
  font-size: 14px;
}
.news-trending-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 0;
  margin: 0;
}
.news-trending-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.news-trending-num {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: var(--news-bg);
  color: var(--news-text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 800;
  flex-shrink: 0;
}
.news-trending-item:first-child .news-trending-num {
  background: linear-gradient(135deg, #f59e0b, #ef4444);
  color: #fff;
}
.news-trending-item:nth-child(2) .news-trending-num {
  background: linear-gradient(135deg, #60a5fa, #3b82f6);
  color: #fff;
}
.news-trending-item:nth-child(3) .news-trending-num {
  background: linear-gradient(135deg, #34d399, #10b981);
  color: #fff;
}
.news-trending-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--news-text);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.2s;
  cursor: pointer;
}
.news-trending-title:hover {
  color: var(--news-primary);
}
.news-trending-meta {
  font-size: 12px;
  color: var(--news-text-muted);
  margin-top: 4px;
}
.news-tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.news-tag-item {
  padding: 5px 14px;
  border-radius: var(--news-radius-full);
  font-size: 13px;
  font-weight: 500;
  border: 1px solid var(--news-border);
  color: var(--news-text-light);
  transition: var(--news-transition);
  cursor: pointer;
  text-decoration: none;
}
.news-tag-item:hover {
  border-color: var(--news-primary);
  color: var(--news-primary);
  background: rgba(0, 86, 179, 0.04);
}
.newsletter-widget {
  background: linear-gradient(
    135deg,
    var(--news-dark) 0,
    var(--news-dark-3) 100%
  );
  border: 1px solid rgba(0, 212, 255, 0.15);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.newsletter-widget::before {
  content: "";
  position: absolute;
  top: -20px;
  right: -20px;
  width: 100px;
  height: 100px;
  background: radial-gradient(circle, rgba(0, 212, 255, 0.15), transparent 70%);
  border-radius: 50%;
}
.newsletter-widget h3 {
  color: #fff;
}
.newsletter-widget h3 i {
  color: var(--news-accent);
}
.newsletter-widget p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.6;
  margin-bottom: 16px;
}
.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.newsletter-form input {
  width: 100%;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--news-radius-sm);
  color: #fff;
  font-size: 14px;
  outline: 0;
  transition: var(--news-transition);
}
.newsletter-form input::placeholder {
  color: rgba(255, 255, 255, 0.35);
}
.newsletter-form input:focus {
  border-color: var(--news-accent);
}
.newsletter-form button {
  width: 100%;
  padding: 12px;
  background: linear-gradient(
    135deg,
    var(--news-primary),
    var(--news-primary-light)
  );
  border-radius: var(--news-radius-sm);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  transition: var(--news-transition);
  border: none;
  cursor: pointer;
}
.newsletter-form button:hover {
  box-shadow: 0 4px 16px rgba(0, 86, 179, 0.4);
  transform: translateY(-1px);
}
.news-ai-banner {
  background: linear-gradient(135deg, #0f172a 0, #1e1b4b 50%, #0f172a 100%);
  border-radius: var(--news-radius-lg);
  padding: 40px;
  margin: 40px 0;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(167, 139, 250, 0.2);
}
.news-ai-banner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(
      circle at 10% 50%,
      rgba(167, 139, 250, 0.12) 0,
      transparent 50%
    ),
    radial-gradient(
      circle at 90% 30%,
      rgba(0, 212, 255, 0.1) 0,
      transparent 40%
    );
  pointer-events: none;
}
.news-ai-banner-content {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 32px;
}
.news-ai-icon-box {
  width: 72px;
  height: 72px;
  border-radius: var(--news-radius-md);
  background: linear-gradient(
    135deg,
    rgba(167, 139, 250, 0.2),
    rgba(0, 212, 255, 0.2)
  );
  border: 1px solid rgba(167, 139, 250, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 28px;
}
.news-ai-icon-box i {
  background: linear-gradient(135deg, #a78bfa, #60a5fa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.news-ai-banner-text h3 {
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
}
.news-ai-banner-text h3 .news-ai-gradient {
  background: linear-gradient(135deg, #a78bfa, #60a5fa, var(--news-accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.news-ai-banner-text p {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.6;
}
.news-ai-banner-cta {
  flex-shrink: 0;
}
.news-btn-ai {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  background: linear-gradient(135deg, #7c3aed, #3b82f6);
  border-radius: var(--news-radius-full);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  transition: var(--news-transition);
  white-space: nowrap;
  text-decoration: none;
}
.news-btn-ai:hover {
  box-shadow: 0 4px 20px rgba(124, 58, 237, 0.4);
  transform: translateY(-2px);
  color: #fff;
}
@media (max-width: 768px) {
  .news-ai-banner-content {
    flex-direction: column;
    text-align: center;
  }
  .news-ai-banner {
    padding: 28px 20px;
  }
}
.news-pagination {
  margin-top: 50px;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.news-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 42px;
  padding: 0 14px;
  border: 1px solid var(--news-border);
  border-radius: var(--news-radius-full);
  color: var(--news-text-light);
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-size: 14px;
  font-weight: 500;
  background: var(--news-card);
}
.news-pagination .page-numbers:hover {
  border-color: var(--news-primary);
  color: var(--news-primary);
  background: rgba(0, 86, 179, 0.04);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 86, 179, 0.1);
}
.news-pagination .page-numbers.current {
  background: linear-gradient(135deg, var(--news-primary), var(--news-primary-light));
  color: #fff;
  border-color: var(--news-primary);
  box-shadow: 0 4px 16px rgba(0, 86, 179, 0.3);
  font-weight: 700;
}
.news-pagination .prev,
.news-pagination .next {
  font-weight: 600;
  letter-spacing: 0.5px;
}
.news-cta-section {
  background: linear-gradient(135deg, #0a1628 0, #0f2847 40%, #1a365d 100%);
  position: relative;
  overflow: hidden;
  padding: 80px 0;
}
.news-cta-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(
      circle at 30% 50%,
      rgba(0, 86, 179, 0.2) 0,
      transparent 50%
    ),
    radial-gradient(
      circle at 70% 30%,
      rgba(0, 212, 255, 0.15) 0,
      transparent 40%
    );
  pointer-events: none;
}
.news-cta-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}
.news-cta-content h2 {
  font-size: 36px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 16px;
  line-height: 1.3;
}
.news-cta-content p {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 32px;
  line-height: 1.7;
}
.news-cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.news-btn-primary-lg {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 36px;
  background: var(--news-primary);
  color: #fff;
  border-radius: var(--news-radius-full);
  font-size: 16px;
  font-weight: 600;
  transition: var(--news-transition);
  text-decoration: none;
}
.news-btn-primary-lg:hover {
  background: var(--news-primary-light);
  box-shadow: 0 4px 20px rgba(0, 86, 179, 0.4);
  transform: translateY(-2px);
  color: #fff;
}
.news-btn-outline-lg {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 36px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  border-radius: var(--news-radius-full);
  font-size: 16px;
  font-weight: 600;
  transition: var(--news-transition);
  text-decoration: none;
}
.news-btn-outline-lg:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}
@keyframes newsFadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.news-animate-in {
  animation: newsFadeInUp 0.5s ease forwards;
}
.news-empty-state {
  grid-column: 1/-1;
  text-align: center;
  padding: 60px 20px;
  color: var(--news-text-light);
}
.news-empty-state i {
  font-size: 48px;
  color: var(--news-border);
  margin-bottom: 16px;
}
.news-empty-state p {
  font-size: 16px;
}
@media screen and (min-width: 783px) {
  body.admin-bar .news-filter-section {
    top: 112px;
  }
  body.admin-bar .suntecc-navbar.has-marquee ~ * .news-filter-section {
    top: 144px;
  }
}
/* New Utility Classes Extracted from Inline Styles */
.news-featured-card-container {
  position: relative;
  overflow: hidden;
  height: 400px;
}
.news-featured-card-fallback {
  background: linear-gradient(135deg, #0f2847, #1a365d);
  display: flex;
  align-items: center;
  justify-content: center;
}
.news-featured-fallback-icon {
  font-size: 64px;
  color: rgba(255, 255, 255, 0.15);
}
.news-section-subtitle {
  font-weight: 400;
  color: var(--news-text-light);
  font-size: 16px;
}
.news-card {
  text-decoration: none;
  color: inherit;
}
.news-trending-title {
  text-decoration: none;
}
.newsletter-message {
  display: none;
  margin-top: 10px;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 13px;
  line-height: 1.5;
}

/* ==========================================================================
   Geek & Tech Insights Hub Aesthetics
   ========================================================================== */

/* Dashboard Tabs */
.geek-dashboard-tabs {
  background: var(--news-dark-2);
  border-radius: var(--news-radius-lg);
  padding: 12px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.05), 0 8px 24px rgba(0,0,0,0.12);
  margin-top: -30px; /* Pull up into hero slightly */
  margin-bottom: 20px;
  position: relative;
  z-index: 10;
}
.news-filter-section {
  background: transparent !important;
  border-bottom: none !important;
  box-shadow: none !important;
}
.news-filter-label {
  font-family: 'Courier New', Courier, monospace;
  color: #10b981;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}
.news-filter-label i {
  margin-right: 8px;
}
.geek-tab {
  font-family: 'Courier New', Courier, monospace;
  color: #9ca3af;
  text-decoration: none;
  font-size: 14px;
  padding: 6px 12px;
  border-radius: 6px;
  transition: all 0.3s ease;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 6px;
}
.geek-tab:hover {
  background: rgba(255,255,255,0.05);
  color: #fff;
}
.geek-tab.active {
  background: rgba(0, 212, 255, 0.1);
  color: var(--news-accent);
  box-shadow: inset 0 0 0 1px rgba(0, 212, 255, 0.2);
}
.geek-tab-slash {
  color: var(--news-primary);
}
.geek-tab.active .geek-tab-slash {
  color: var(--news-accent);
}
.geek-count {
  font-size: 12px;
  opacity: 0.6;
}

/* Geek Log Grid */
.geek-log-grid {
  display: grid;
  grid-template-columns: 1fr !important; /* Force 1 column list like Oikwan */
  gap: 30px;
}
.geek-log-card {
  position: relative;
  background: var(--news-card);
  /* Removed heavy solid border, using a very subtle bottom separator instead */
  border: none;
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
  box-shadow: 0 2px 20px rgba(0,0,0,0.02);
  padding: 24px 10px; /* Reduced side padding so it feels less like a box and more like a fluid list */
  display: flex;
  flex-direction: row; /* Horizontal layout on desktop */
  gap: 30px;
  align-items: center;
  transition: all 0.3s ease;
}
/* Left accent line - make it much thinner and subtle until hovered */
.geek-log-card::before {
  content: "";
  position: absolute;
  top: 10%; left: 0; width: 2px; height: 80%;
  background: rgba(0, 0, 0, 0.05); /* Very faint by default */
  border-radius: 2px;
  transition: all 0.3s ease;
}
.geek-log-card:hover {
  background: #fff;
  box-shadow: 0 10px 30px rgba(0, 86, 179, 0.05);
  transform: translateY(-2px);
}
.geek-log-card:hover::before {
  background: var(--news-accent);
  box-shadow: 0 0 10px var(--news-accent-glow);
}
.geek-log-no {
  font-family: 'Courier New', Courier, monospace;
  font-size: 40px;
  font-weight: 800;
  color: rgba(0, 86, 179, 0.05);
  position: absolute;
  top: 15px;
  right: 25px;
  z-index: 0;
  pointer-events: none;
  transition: all 0.3s ease;
}
.geek-log-card:hover .geek-log-no {
  color: rgba(0, 212, 255, 0.1);
  transform: scale(1.1) translateX(-10px);
}
.geek-log-card .news-card-img-wrap {
  position: relative;
  z-index: 1;
  border-radius: var(--news-radius-sm);
  margin-bottom: 0; /* Reset margin since row layout */
  width: 280px; /* Fixed width for image */
  height: 180px;
  flex-shrink: 0;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,0.05);
  background-color: var(--news-bg, #f8fafc);
}
.geek-log-card .news-card-body {
  padding: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.geek-log-card h3 {
  font-size: 18px;
  line-height: 1.5;
  margin-bottom: 12px;
  font-weight: 700;
}
.geek-log-card .news-excerpt {
  flex-grow: 1;
  font-size: 14px;
  color: var(--news-text-light);
  line-height: 1.6;
}
.geek-log-card .news-card-footer {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px dashed var(--news-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.geek-timestamp {
  font-family: 'Courier New', Courier, monospace;
  font-size: 12px;
  color: var(--news-text-muted);
}
.geek-time-hex {
  color: var(--news-primary-light);
}
.geek-read-btn {
  font-family: 'Courier New', Courier, monospace;
  font-size: 13px;
  font-weight: 700;
  color: var(--news-primary);
  transition: all 0.3s ease;
}
.geek-log-card:hover .geek-read-btn {
  color: var(--news-accent);
  letter-spacing: 1px;
}

/* Hero Search Upgrades */
.news-hero-search input {
  font-family: 'Courier New', Courier, monospace;
  background: rgba(10, 22, 40, 0.6);
  border: 1px solid rgba(0, 212, 255, 0.3);
  box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.5);
}
.news-hero-search input:focus {
  background: rgba(10, 22, 40, 0.8);
  border-color: var(--news-accent);
  box-shadow: 0 0 0 2px rgba(0, 212, 255, 0.1), inset 0 0 10px rgba(0, 212, 255, 0.1);
}
.news-hero-search-btn {
  background: transparent;
  border: 1px solid var(--news-accent);
  color: var(--news-accent);
  right: 12px;
}
.news-hero-search-btn:hover {
  background: rgba(0, 212, 255, 0.1);
  box-shadow: 0 0 15px rgba(0, 212, 255, 0.3);
}

/* Phase 3: Mobile Adaptations */
@media (max-width: 768px) {
  /* 3.1 Hide stats on mobile */
  .news-hero-stats {
    display: none !important;
  }
  .news-hero-search {
    max-width: 100%;
    padding: 0 15px;
  }
  .geek-dashboard-tabs {
    margin-top: 0;
    border-radius: 0;
    box-shadow: none;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    overflow-x: auto;
    white-space: nowrap;
    padding: 10px 15px;
  }
  /* 3.2 Single column grids */
  .geek-log-grid {
    grid-template-columns: 1fr !important;
  }
  .geek-log-card {
    flex-direction: column;
    padding: 16px;
    gap: 16px;
  }
  .geek-log-card .news-card-img-wrap {
    width: 100%;
    height: 180px;
  }
  .geek-log-no {
    font-size: 24px;
    top: 10px;
    right: 15px;
  }
  /* Move sidebar to bottom */
  .news-content-grid {
    display: flex;
    flex-direction: column;
  }
  .news-sidebar {
    order: 2;
    margin-top: 40px;
  }
}
