* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Arial, sans-serif;
  line-height: 1.7;
  color: #ffffff;
  background-color: #0f172a;
}

a {
  color: #d4a544;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* ==========================================
   HEADER WITH BACKGROUND IMAGE
========================================== */
.site-header {
  position: relative;
  padding: 50px 40px;
  border-bottom: 3px solid #d4a544;
  overflow: hidden;
}

.header-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('/assets/images/header-bg.jpg') center center / cover no-repeat;
  opacity: 0.25;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.logo {
  font-size: 42px;
  color: #d4a544;
  margin-bottom: 5px;
  letter-spacing: 3px;
  font-weight: bold;
}

.tagline {
  font-size: 16px;
  color: #e2e8f0;
  margin-bottom: 18px;
  letter-spacing: 2px;
}

.main-nav a {
  color: #ffffff;
  text-decoration: none;
  margin-right: 20px;
  font-size: 15px;
  letter-spacing: 1px;
}

.main-nav a:hover {
  color: #d4a544;
}

/* ==========================================
   MAIN WRAPPER — Content LEFT + Vertical Line + Sidebar RIGHT
========================================== */
.page-wrapper {
  display: flex;
  gap: 0;
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 20px;
}

.content {
  flex: 1;
  text-align: left;
  padding-right: 30px;
  border-right: 1px solid #334155; /* ← YOUR VERTICAL LINE! */
}

/* BACK LINK */
.back-link {
  display: inline-block;
  color: #d4a544;
  font-size: 14px;
  margin-bottom: 25px;
  text-decoration: none;
}

.back-link:hover {
  text-decoration: underline;
}

.content h2 {
  color: #d4a544;
  font-size: 28px;
  margin-bottom: 20px;
  margin-top: 40px;
}

.content h3 {
  color: #ffffff;
  font-size: 20px;
  margin-bottom: 15px;
  margin-top: 30px;
}

.content p {
  color: #e2e8f0;
  font-size: 16px;
  margin-bottom: 18px;
}

/* ==========================================
   SIDEBAR — Thin Column on RIGHT
========================================== */
.sidebar {
  width: 250px;
  flex-shrink: 0;
  padding: 0 0 0 30px;
}

.sidebar h3 {
  color: #d4a544;
  font-size: 13px;
  letter-spacing: 2px;
  margin-bottom: 15px;
  padding-bottom: 8px;
  border-bottom: 1px solid #334155;
}

.related-links {
  list-style: none;
}

.related-links li {
  margin-bottom: 10px;
}

.related-links a {
  color: #cbd5e1;
  font-size: 14px;
}

.related-links a:hover {
  color: #d4a544;
}

/* ==========================================
   FOOTER
========================================== */
.site-footer {
  text-align: left;
  padding: 25px 40px;
  background: #1e293b;
  color: #94a3b8;
  margin-top: 60px;
  border-top: 2px solid #334155;
  font-size: 14px;
}
/* ==========================================
   ALL ARTICLES PAGE — Picture on RIGHT
========================================== */
.articles-page {
  max-width: 1000px;
  margin: 40px auto;
  padding: 0 20px;
}

.articles-page h2 {
  color: #d4a544;
  font-size: 28px;
  margin-bottom: 10px;
  letter-spacing: 2px;
}

.articles-page > p {
  color: #cbd5e1;
  margin-bottom: 40px;
}

.article-card {
  display: flex;
  gap: 25px;
  background: #1e293b;
  padding: 20px;
  margin-bottom: 20px;
  border-radius: 8px;
  border: 1px solid #334155;
  text-decoration: none;
  transition: border-color 0.2s;
  align-items: center;
}

.article-card:hover {
  border-color: #d4a544;
}

.article-card-content {
  flex: 1; /* Text takes all available space */
}

.article-card-content h3 {
  color: #ffffff;
  font-size: 18px;
  margin-bottom: 8px;
  margin-top: 0;
}

.article-card-content p {
  color: #cbd5e1;
  font-size: 14px;
  margin-bottom: 8px;
}

.article-meta {
  color: #d4a544;
  font-size: 12px;
}

/* ==========================================
   ARTICLE CARD IMAGES
========================================== */

.article-card-image {
  width: 180px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.article-card-image img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 140px;
  object-fit: contain;
  border-radius: 6px;
}
/* ==========================================
   HERO — LIGHTBULB BACKGROUND (Homepage ONLY)
========================================== */
.hero {
  position: relative;
  padding: 100px 40px;
  text-align: left;
  background: url('/assets/images/lightbulb-bg.jpg') center center / cover no-repeat;
  border-bottom: 3px solid #d4a544;
  margin-bottom: 40px;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.75);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.hero h2 {
  font-size: 42px;
  margin-bottom: 15px;
  color: #ffffff;
}

.hero p {
  font-size: 19px;
  color: #e2e8f0;
  margin-bottom: 30px;
}

.btn {
  display: inline-block;
  padding: 14px 32px;
  background: #d4a544;
  color: #0f172a;
  text-decoration: none;
  font-weight: bold;
  border-radius: 4px;
  font-size: 15px;
  letter-spacing: 1px;
  transition: background 0.2s;
}

.btn:hover {
  background: #e6b850;
}

/* CATEGORIES ROW */
.categories-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
  padding: 30px 20px;
  background: #1e293b;
  border-bottom: 1px solid #334155;
  margin-bottom: 40px;
}

.category-item {
  color: #e2e8f0;
  font-size: 14px;
  padding: 6px 14px;
  border: 1px solid #475569;
  border-radius: 20px;
  transition: all 0.2s;
}

.category-item:hover {
  border-color: #d4a544;
  color: #d4a544;
  cursor: pointer;
}

/* FEATURED ARTICLE */
.featured-section {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
}

.section-title {
  color: #d4a544;
  font-size: 16px;
  letter-spacing: 2px;
  margin-bottom: 20px;
  padding-bottom: 8px;
  border-bottom: 2px solid #d4a544;
  display: inline-block;
}

.featured-card {
  display: block;
  background: #1e293b;
  padding: 30px;
  border-radius: 8px;
  text-decoration: none;
  border: 1px solid #334155;
  transition: border-color 0.2s;
}

.featured-card:hover {
  border-color: #d4a544;
}

.featured-card h4 {
  color: #ffffff;
  font-size: 22px;
  margin-bottom: 12px;
}

.featured-card p {
  color: #cbd5e1;
  font-size: 16px;
  margin-bottom: 15px;
}

.read-link {
  color: #d4a544;
  font-size: 15px;
  font-weight: bold;
}
/* ==========================================
   CATEGORY BUTTONS ON ARTICLES PAGE
========================================== */
.category-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 1px solid #334155;
}

.cat-btn {
  padding: 8px 16px;
  background: #1e293b;
  color: #cbd5e1;
  border-radius: 4px;
  text-decoration: none;
  font-size: 14px;
  border: 1px solid #334155;
  transition: all 0.2s;
}

.cat-btn:hover {
  border-color: #d4a544;
  color: #d4a544;
}