/* ================================================
   TORZLE NEWS SECTION — GLOBAL ARTICLE STYLES
   Applies to all pages under /news/
   ================================================= */

/* ===== Base ===== */
body {
  background-color: #0e0e0e;
  color: #e5e5e5;
  font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
  margin: 0;
  padding: 0;
  line-height: 1.7;
}

/* ===== Navbar ===== */
.navbar {
  background: #111;
  border-bottom: 1px solid #222;
  padding: 0.8rem 1.5rem;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.navbar-logo {
  color: #c7d2fe;
  font-weight: 700;
  font-size: 1.3rem;
  text-decoration: none;
  letter-spacing: 0.5px;
}

.navbar-search input {
  background: #1a1a1a;
  border: 1px solid #333;
  border-radius: 6px;
  color: #ddd;
  padding: 0.45rem 0.6rem;
}

.navbar-search button {
  background: #4f46e5;
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 0.45rem 0.8rem;
  margin-left: 0.3rem;
  cursor: pointer;
  transition: background 0.3s ease;
}

.navbar-search button:hover {
  background: #6366f1;
}

/* ===== Page Header ===== */
.page-header {
  text-align: center;
  padding: 2rem 1rem 1.5rem;
  border-bottom: 1px solid #222;
}

.page-header h1 {
  color: #fff;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.page-header p {
  color: #aaa;
  font-size: 1rem;
  max-width: 600px;
  margin: 0.5rem auto;
  line-height: 1.6;
}

/* ===== Article Container ===== */
.article-container {
  max-width: 850px;
  margin: 2rem auto;
  padding: 0 1.5rem 3rem;
}

/* ===== Article Header ===== */
.article-header {
  margin-bottom: 1.8rem;
}

.article-header h1 {
  font-size: 1.9rem;
  color: #e0e0e0;
  font-weight: 700;
  line-height: 1.3;
}

.article-meta {
  font-size: 0.9rem;
  color: #888;
  margin-top: 0.5rem;
}

.category-tag {
  display: inline-block;
  background: #1f2937;
  color: #a5b4fc;
  border: 1px solid #2e2e2e;
  padding: 0.25rem 0.6rem;
  border-radius: 6px;
  font-size: 0.8rem;
  text-transform: uppercase;
  margin-right: 0.5rem;
}

/* ===== Article Image ===== */
.article-image {
  width: 100%;
  border-radius: 10px;
  margin: 1.5rem 0;
  box-shadow: 0 0 20px rgba(79, 70, 229, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.article-image:hover {
  transform: scale(1.02);
  box-shadow: 0 0 25px rgba(99, 102, 241, 0.25);
}

/* ===== Article Content ===== */
.article-content p {
  margin: 1rem 0;
  color: #ccc;
  font-size: 1.05rem;
  line-height: 1.8;
}

.article-content h2 {
  margin-top: 2rem;
  color: #c7d2fe;
  font-size: 1.4rem;
  border-left: 3px solid #4f46e5;
  padding-left: 0.6rem;
}

.article-content h3 {
  color: #d1d5db;
  font-size: 1.2rem;
  margin-top: 1.5rem;
}

.article-content ul {
  padding-left: 1.5rem;
  margin: 1rem 0;
}

.article-content li {
  margin: 0.5rem 0;
  color: #bbb;
}

.article-content a {
  color: #818cf8;
  text-decoration: underline;
  transition: color 0.3s ease;
}

.article-content a:hover {
  color: #a5b4fc;
}

/* ===== Quote / Highlight ===== */
blockquote {
  border-left: 3px solid #4f46e5;
  margin: 1.5rem 0;
  padding: 0.6rem 1rem;
  background: #1b1b1b;
  color: #bdbdbd;
  font-style: italic;
}

/* ===== Article Navigation ===== */
.article-nav {
  margin-top: 2.5rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.article-nav a {
  color: #a5b4fc;
  background: #1a1a1a;
  padding: 0.6rem 1.2rem;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.3s ease, color 0.3s ease;
}

.article-nav a:hover {
  background: #2a2a2a;
  color: #fff;
}

/* ===== Footer ===== */
.footer {
  background: #111;
  border-top: 1px solid #222;
  padding: 1.5rem 0;
  text-align: center;
  color: #888;
  font-size: 0.9rem;
}

.footer-links {
  margin-bottom: 0.8rem;
}

.footer-links a {
  color: #aaa;
  text-decoration: none;
  margin: 0 0.6rem;
  transition: color 0.2s ease-in-out;
}

.footer-links a:hover {
  color: #c7d2fe;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .page-header h1 {
    font-size: 1.6rem;
  }

  .article-header h1 {
    font-size: 1.6rem;
  }

  .article-content h2 {
    font-size: 1.2rem;
  }

  .article-content p {
    font-size: 1rem;
  }
}
