/*
Theme Name: JNews - Child Theme
Version: 1.0.0
Theme URI: http://themeforest.net/?ref=jegtheme
Description: A basic starter child theme for customization purpose of JNews theme.
Author: Jegtheme
Author URI: http://themeforest.net/user/jegtheme?ref=jegtheme
Template: jnews
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/

@import url("../jnews/style.css");

/* Core Styles for w3417h.com - Modern, Tech-Focused Web3 Theme (2025 Edition) */

/* Global Reset & Typography */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif; /* Clean, modern sans-serif; fallback to system fonts */
  background-color: #0a0a0a; /* Dark mode base for Web3 vibe (crypto-inspired) */
  color: #e0e0e0; /* Light text for readability on dark bg */
  line-height: 1.6;
  font-size: 16px;
  overflow-x: hidden; /* Prevent horizontal scroll */
}

/* Homepage Hero Section (e.g., for featured reports) */
.hero {
  background: linear-gradient(135deg, #1e1e1e, #2a2a2a); /* Subtle gradient for depth */
  padding: 100px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('https://example.com/web3-bg-pattern.svg') no-repeat center/cover; /* Add a subtle blockchain pattern */
  opacity: 0.1; /* Low opacity for texture */
}

.hero h1 {
  font-size: 3rem;
  color: #00ffaa; /* Neon green accent for Web3 energy */
  text-transform: uppercase;
  letter-spacing: 2px;
  animation: fadeIn 1s ease-in-out;
}

.hero p {
  font-size: 1.2rem;
  max-width: 800px;
  margin: 20px auto;
}

/* Article Grid (Responsive Reporting Layout) */
.article-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); /* Responsive columns */
  gap: 20px;
  padding: 40px 20px;
}

.article-card {
  background: #1f1f1f; /* Card bg for contrast */
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5); /* Subtle shadow for lift */
  transition: transform 0.3s ease;
}

.article-card:hover {
  transform: translateY(-5px); /* Hover lift effect */
}

.article-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.article-card h2 {
  font-size: 1.5rem;
  padding: 15px;
  color: #ffffff;
}

.article-card p {
  padding: 0 15px 15px;
  color: #b0b0b0;
}

/* Risk Warning Banner (Crucial for Compliance) */
.risk-warning {
  background: #ff4d4d; /* Red for attention (or #00ffaa for brand match) */
  color: #fff;
  padding: 10px;
  text-align: center;
  font-weight: bold;
  position: sticky;
  top: 0;
  z-index: 1000;
  animation: slideDown 0.5s ease;
}

/* Footer (Legal Links) */
footer {
  background: #111111;
  padding: 20px;
  text-align: center;
  border-top: 1px solid #333;
}

footer a {
  color: #00ffaa;
  text-decoration: none;
  margin: 0 10px;
  transition: color 0.3s;
}

footer a:hover {
  color: #ffffff;
}

/* Key Animations */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideDown {
  from { transform: translateY(-100%); }
  to { transform: translateY(0); }
}

/* Media Queries for Responsiveness */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2rem;
  }
  
  .article-grid {
    grid-template-columns: 1fr; /* Stack on mobile */
  }
}

/* Web3 Accents: Neon Borders & Gradients */
.neon-border {
  border: 2px solid transparent;
  border-image: linear-gradient(45deg, #00ffaa, #00aaff) 1;
}

/* Cookie Banner (Compliance Essential) */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: #1f1f1f;
  padding: 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.3);
}

.cookie-banner button {
  background: #00ffaa;
  border: none;
  padding: 10px 20px;
  color: #0a0a0a;
  cursor: pointer;
  border-radius: 5px;
}

/* Import Fonts (Google Fonts) */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&display=swap');
