/*
Theme Name: Data Pips
Theme URI: https://datapips.net
Author: Data Pips Team
Description: Premium authority theme for finance, business, and trading psychology
Version: 1.0
License: GNU General Public License v2 or later
Text Domain: datapips
*/

@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&family=DM+Sans:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;600&display=swap');

/* ========== DESIGN TOKENS ========== */
:root {
  --ink:       #0F1923;
  --gold:      #D97706;
  --gold-lt:   #FEF3C7;
  --gold-md:   #FDE68A;
  --cream:     #FAFAF7;
  --cream2:    #F4F1EA;
  --slate:     #1E293B;
  --body:      #374151;
  --meta:      #6B7280;
  --border:    #E5E7EB;
  --border2:   #D1D5DB;
  --white:     #FFFFFF;
  --radius:    8px;
  --shadow:    0 1px 12px rgba(0,0,0,0.07);
  --shadow-lg: 0 4px 28px rgba(0,0,0,0.12);
}

/* ========== RESET ========== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  line-height: 1.75;
  color: var(--body);
  background: var(--cream);
}
a { color: var(--gold); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--ink); }
img { max-width: 100%; height: auto; display: block; }

h1,h2,h3,h4,h5 {
  font-family: 'DM Serif Display', serif;
  color: var(--slate);
  line-height: 1.25;
}

.container { max-width: 1180px; margin: 0 auto; padding: 0 28px; }

/* ========== TOP BAR ========== */
.top-bar {
  background: var(--ink);
  padding: 9px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.top-bar-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12.5px;
  color: #94A3B8;
}
.top-bar-left { display: flex; align-items: center; gap: 20px; }
.top-bar-tag {
  background: var(--gold);
  color: var(--ink);
  font-size: 10px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 3px;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.top-bar-links { display: flex; gap: 18px; }
.top-bar-links a { color: #94A3B8; font-size: 12px; }
.top-bar-links a:hover { color: var(--gold); }

/* ========== HEADER ========== */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 16px rgba(0,0,0,0.06);
}
.header-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

/* LOGO */
.site-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.logo-mark {
  width: 42px;
  height: 42px;
  background: var(--ink);
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.logo-mark::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 4px;
  background: var(--gold);
}
.logo-mark span {
  font-family: 'DM Serif Display', serif;
  font-size: 22px;
  color: var(--white);
  line-height: 1;
}
.logo-text { display: flex; flex-direction: column; line-height: 1; }
.logo-name {
  font-family: 'DM Serif Display', serif;
  font-size: 22px;
  color: var(--ink);
}
.logo-name em { color: var(--gold); font-style: normal; }
.logo-tagline { font-size: 11px; color: var(--meta); font-weight: 500; letter-spacing: 0.5px; margin-top: 2px; }

/* NAV */
.main-nav { display: none; }
.main-nav a {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--slate);
  padding: 8px 13px;
  border-radius: 6px;
  transition: all 0.18s;
  white-space: nowrap;
  letter-spacing: 0.1px;
}
.main-nav a:hover { color: var(--gold); background: var(--gold-lt); }
.main-nav a.active { color: var(--gold); background: var(--gold-lt); }

/* SEARCH */
.header-search-wrap { display: flex; align-items: center; gap: 12px; }
.header-search {
  display: flex;
  align-items: center;
  background: var(--cream);
  border: 1.5px solid var(--border2);
  border-radius: 6px;
  padding: 7px 12px;
  gap: 7px;
  transition: border-color 0.2s;
}
.header-search:focus-within { border-color: var(--gold); }
.header-search input {
  border: none;
  background: none;
  font-size: 13.5px;
  color: var(--slate);
  outline: none;
  width: 160px;
  font-family: 'DM Sans', sans-serif;
}
.header-search input::placeholder { color: var(--meta); }
.header-search-icon { color: var(--meta); font-size: 14px; }

/* ========== HERO ========== */
.hero-section {
  background: var(--ink);
  background-image:
    radial-gradient(ellipse 900px 500px at 70% 50%, rgba(217,119,6,0.08) 0%, transparent 60%),
    radial-gradient(ellipse 600px 400px at 10% 80%, rgba(217,119,6,0.05) 0%, transparent 50%);
  padding: 72px 0 64px;
  position: relative;
  overflow: hidden;
}
.hero-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold) 30%, var(--gold) 70%, transparent);
}
.hero-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 28px;
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 48px;
  align-items: center;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}
.hero-eyebrow::before {
  content: '';
  width: 24px;
  height: 2px;
  background: var(--gold);
  display: inline-block;
}
.hero-title {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(34px, 4.5vw, 52px);
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 18px;
}
.hero-title em {
  color: var(--gold);
  font-style: italic;
}
.hero-desc {
  font-size: 17px;
  color: #94A3B8;
  line-height: 1.7;
  max-width: 520px;
  margin-bottom: 32px;
}
.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.btn-gold {
  background: var(--gold);
  color: var(--ink);
  font-weight: 700;
  font-size: 14px;
  padding: 13px 26px;
  border-radius: var(--radius);
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.btn-gold:hover {
  background: #B45309;
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(217,119,6,0.35);
}
.btn-outline-gold {
  border: 1.5px solid rgba(217,119,6,0.5);
  color: var(--gold);
  font-weight: 600;
  font-size: 14px;
  padding: 12px 24px;
  border-radius: var(--radius);
  transition: all 0.2s;
}
.btn-outline-gold:hover {
  border-color: var(--gold);
  background: rgba(217,119,6,0.1);
  color: var(--gold);
}

/* HERO STATS */
.hero-stats {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 28px;
}
.hero-stats-title {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}
.stat-item { padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,0.07); }
.stat-item:last-child { border-bottom: none; }
.stat-number {
  font-family: 'DM Serif Display', serif;
  font-size: 28px;
  color: var(--white);
  line-height: 1;
}
.stat-label { font-size: 12.5px; color: #64748B; margin-top: 3px; }

/* ========== CATEGORY BAR ========== */
.cat-nav {
  background: var(--white);
  border-bottom: 1px solid var(--border);
}
.cat-nav-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 28px;
  display: flex;
  overflow-x: auto;
  scrollbar-width: none;
  gap: 0;
}
.cat-nav-inner::-webkit-scrollbar { display: none; }
.cat-nav-link {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 16px 18px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--meta);
  border-bottom: 3px solid transparent;
  white-space: nowrap;
  transition: all 0.18s;
}
.cat-nav-link:hover { color: var(--slate); border-bottom-color: var(--gold-md); }
.cat-nav-link.active { color: var(--gold); border-bottom-color: var(--gold); }
.cat-nav-link .cat-icon { font-size: 15px; }

/* ========== SECTION HEADERS ========== */
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 28px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--gold-lt);
  position: relative;
}
.section-head::before {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 48px;
  height: 2px;
  background: var(--gold);
}
.section-title {
  font-family: 'DM Serif Display', serif;
  font-size: 22px;
  color: var(--slate);
}
.section-all {
  font-size: 13px;
  font-weight: 600;
  color: var(--gold);
}
.section-all:hover { color: var(--ink); }

/* ========== ARTICLE CARDS ========== */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.article-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all 0.28s;
  position: relative;
}
.article-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform 0.28s;
  transform-origin: left;
}
.article-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--gold-md); }
.article-card:hover::before { transform: scaleX(1); }

.card-thumb {
  width: 100%;
  height: 196px;
  object-fit: cover;
}
.card-thumb-ph {
  width: 100%;
  height: 196px;
  background: linear-gradient(135deg, var(--cream2), var(--gold-lt));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 52px;
}
.card-body { padding: 20px; }
.card-cat {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--gold-lt);
  color: #92400E;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 3px;
  margin-bottom: 11px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.card-title {
  font-family: 'DM Serif Display', serif;
  font-size: 18px;
  color: var(--slate);
  line-height: 1.35;
  margin-bottom: 9px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.card-title a { color: inherit; }
.card-title a:hover { color: var(--gold); }
.card-excerpt {
  font-size: 13.5px;
  color: var(--meta);
  line-height: 1.6;
  margin-bottom: 14px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 13px;
  border-top: 1px solid var(--border);
  font-size: 12.5px;
  color: var(--meta);
}
.read-link { color: var(--gold); font-weight: 700; font-size: 13px; }
.read-link:hover { color: var(--ink); }

/* ========== FEATURED CARD (LARGE) ========== */
.featured-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 24px;
  margin-bottom: 48px;
}
.card-featured {
  background: var(--ink);
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  min-height: 360px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.card-featured-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #0F1923 0%, #1E3A5F 100%);
}
.card-featured-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15,25,35,0.95) 0%, rgba(15,25,35,0.3) 60%, transparent 100%);
}
.card-featured-content {
  position: relative;
  z-index: 2;
  padding: 32px;
}
.card-featured-cat {
  display: inline-block;
  background: var(--gold);
  color: var(--ink);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 3px;
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.card-featured-title {
  font-family: 'DM Serif Display', serif;
  font-size: 28px;
  color: var(--white);
  line-height: 1.25;
  margin-bottom: 12px;
}
.card-featured-excerpt { font-size: 14.5px; color: #94A3B8; line-height: 1.6; margin-bottom: 20px; }
.card-featured-meta { display: flex; align-items: center; gap: 14px; font-size: 12.5px; color: #64748B; }

/* SIDEBAR CARDS (featured col 2) */
.featured-sidebar { display: flex; flex-direction: column; gap: 16px; }
.card-sm {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  transition: all 0.2s;
  display: block;
}
.card-sm:hover { border-color: var(--gold-md); box-shadow: var(--shadow); }
.card-sm-thumb {
  width: 72px;
  height: 72px;
  border-radius: 6px;
  object-fit: cover;
  background: var(--gold-lt);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  flex-shrink: 0;
}
.card-sm-cat { font-size: 11px; font-weight: 700; color: var(--gold); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 5px; }
.card-sm-title {
  font-family: 'DM Serif Display', serif;
  font-size: 15px;
  color: var(--slate);
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.card-sm-title a { color: inherit; }
.card-sm-title a:hover { color: var(--gold); }
.card-sm-meta { font-size: 12px; color: var(--meta); margin-top: 5px; }

/* ========== CATEGORY SHOWCASE ========== */
.cat-showcase {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 12px;
  margin-bottom: 52px;
}
.cat-showcase-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 14px;
  text-align: center;
  transition: all 0.22s;
  cursor: pointer;
}
.cat-showcase-card:hover {
  border-color: var(--gold);
  background: var(--gold-lt);
  transform: translateY(-3px);
  box-shadow: 0 4px 16px rgba(217,119,6,0.15);
}
.cat-showcase-icon { font-size: 28px; margin-bottom: 9px; display: block; }
.cat-showcase-name { font-size: 11.5px; font-weight: 700; color: var(--slate); line-height: 1.3; }

/* ========== MAIN LAYOUT ========== */
.main-layout {
  display: grid;
  grid-template-columns: 1fr 308px;
  gap: 44px;
  padding: 48px 0;
}
.content-col { min-width: 0; }

/* ========== SIDEBAR ========== */
.sidebar-col { }
.widget {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 24px;
}
.widget-head {
  background: var(--ink);
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.widget-title {
  font-family: 'DM Serif Display', serif;
  font-size: 15px;
  color: var(--white);
}
.widget-head .w-icon { color: var(--gold); font-size: 14px; }
.widget-body { padding: 18px 20px; }

/* About widget */
.about-w { text-align: center; }
.about-w-icon { font-size: 52px; margin-bottom: 12px; }
.about-w p { font-size: 13.5px; color: var(--meta); line-height: 1.65; }
.about-w-quote {
  border-left: 3px solid var(--gold);
  background: var(--gold-lt);
  padding: 12px 16px;
  margin: 16px 0;
  font-size: 13px;
  font-style: italic;
  color: var(--slate);
  border-radius: 0 6px 6px 0;
}

/* Category widget */
.cat-w-list { list-style: none; }
.cat-w-list li { border-bottom: 1px solid var(--border); }
.cat-w-list li:last-child { border-bottom: none; }
.cat-w-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  font-size: 13.5px;
  color: var(--body);
  font-weight: 500;
}
.cat-w-list a:hover { color: var(--gold); }
.cat-w-list .c-left { display: flex; align-items: center; gap: 7px; }
.cat-w-count {
  background: var(--gold-lt);
  color: #92400E;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 10px;
}

/* Newsletter widget */
.nl-widget .widget-body { background: var(--ink); padding: 20px; }
.nl-widget .widget-head { background: var(--gold); }
.nl-widget .widget-title { color: var(--ink); }
.nl-widget .w-icon { color: var(--ink); }
.nl-desc { font-size: 13.5px; color: #94A3B8; margin-bottom: 14px; line-height: 1.6; }
.nl-input {
  width: 100%;
  padding: 10px 14px;
  border-radius: 6px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.07);
  color: var(--white);
  font-size: 13.5px;
  margin-bottom: 9px;
  outline: none;
  font-family: 'DM Sans', sans-serif;
}
.nl-input::placeholder { color: #4B5563; }
.nl-btn {
  width: 100%;
  background: var(--gold);
  color: var(--ink);
  border: none;
  padding: 10px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  transition: background 0.2s;
}
.nl-btn:hover { background: #B45309; color: var(--white); }

/* Popular widget */
.pop-list { list-style: none; counter-reset: pop-counter; }
.pop-list li {
  counter-increment: pop-counter;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.pop-list li:last-child { border-bottom: none; }
.pop-list li::before {
  content: counter(pop-counter);
  font-family: 'DM Serif Display', serif;
  font-size: 20px;
  color: var(--gold-md);
  line-height: 1.2;
  flex-shrink: 0;
  width: 22px;
}
.pop-title { font-size: 13px; font-weight: 600; color: var(--slate); line-height: 1.4; flex: 1; }
.pop-title a { color: inherit; }
.pop-title a:hover { color: var(--gold); }
.pop-meta { font-size: 11.5px; color: var(--meta); margin-top: 3px; white-space: nowrap; }

/* ========== SINGLE POST ========== */
.post-wrap { background: var(--white); border-radius: var(--radius); border: 1px solid var(--border); overflow: hidden; }
.post-header { padding: 36px 40px 0; }
.post-cat-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--gold-lt);
  color: #92400E;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 3px;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.post-title {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(26px, 4vw, 38px);
  color: var(--slate);
  line-height: 1.2;
  margin-bottom: 18px;
}
.post-meta-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 13px;
  color: var(--meta);
  padding: 16px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-bottom: 28px;
}
.post-meta-bar span { display: flex; align-items: center; gap: 5px; }
.post-featured-img {
  width: 100%;
  max-height: 460px;
  object-fit: cover;
  margin-bottom: 36px;
}
.post-content { padding: 0 40px 40px; font-size: 17px; line-height: 1.85; color: var(--body); }
.post-content h2 {
  font-family: 'DM Serif Display', serif;
  font-size: 27px;
  color: var(--slate);
  margin: 40px 0 16px;
  padding-left: 16px;
  border-left: 4px solid var(--gold);
}
.post-content h3 {
  font-family: 'DM Serif Display', serif;
  font-size: 21px;
  color: var(--slate);
  margin: 30px 0 12px;
}
.post-content p { margin-bottom: 20px; }
.post-content ul, .post-content ol { padding-left: 24px; margin-bottom: 20px; }
.post-content li { margin-bottom: 8px; }
.post-content strong { color: var(--slate); font-weight: 700; }
.post-content a { color: var(--gold); border-bottom: 1px solid var(--gold-md); }
.post-content a:hover { color: var(--ink); border-bottom-color: var(--ink); }

.post-content blockquote {
  border-left: 4px solid var(--gold);
  background: var(--gold-lt);
  padding: 20px 24px;
  margin: 28px 0;
  border-radius: 0 var(--radius) var(--radius) 0;
  font-family: 'DM Serif Display', serif;
  font-size: 19px;
  font-style: italic;
  color: var(--slate);
  line-height: 1.5;
}

.post-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: 15px;
  border-radius: var(--radius);
  overflow: hidden;
}
.post-content th {
  background: var(--ink);
  color: var(--white);
  padding: 13px 16px;
  text-align: left;
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.5px;
}
.post-content td { padding: 12px 16px; border-bottom: 1px solid var(--border); }
.post-content tr:nth-child(even) td { background: var(--cream); }
.post-content tr:hover td { background: var(--gold-lt); }

/* Key takeaways box */
.post-content .key-takeaways {
  background: var(--ink);
  border-radius: var(--radius);
  padding: 24px 28px;
  margin: 28px 0;
  color: var(--white);
}
.post-content .what-nobody {
  background: var(--gold-lt);
  border: 1px solid var(--gold-md);
  border-radius: var(--radius);
  padding: 24px 28px;
  margin: 28px 0;
}

/* ========== KEY STAT NUMBERS ========== */
.data-number {
  font-family: 'JetBrains Mono', monospace;
  color: var(--gold);
  font-weight: 600;
}

/* ========== BREADCRUMB ========== */
.breadcrumb {
  font-size: 13px;
  color: var(--meta);
  padding: 14px 0;
  display: flex;
  align-items: center;
  gap: 7px;
  flex-wrap: wrap;
}
.breadcrumb a { color: var(--gold); font-weight: 500; }
.breadcrumb-sep { color: var(--border2); }

/* ========== PAGINATION ========== */
.dp-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  margin: 48px 0;
}
.dp-pagination a, .dp-pagination span {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  border: 1px solid var(--border);
  color: var(--body);
  transition: all 0.18s;
  font-family: 'DM Sans', sans-serif;
}
.dp-pagination a:hover { border-color: var(--gold); color: var(--gold); }
.dp-pagination .current { background: var(--gold); color: var(--white); border-color: var(--gold); }

/* ========== FOOTER ========== */
.site-footer { background: var(--ink); margin-top: 72px; }
.footer-top {
  padding: 60px 0 44px;
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr;
  gap: 44px;
}
.footer-brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.footer-logo-mark {
  width: 36px; height: 36px;
  background: var(--gold);
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.footer-logo-mark span {
  font-family: 'DM Serif Display', serif;
  font-size: 19px;
  color: var(--ink);
}
.footer-brand-name {
  font-family: 'DM Serif Display', serif;
  font-size: 20px;
  color: var(--white);
}
.footer-brand-name em { color: var(--gold); font-style: normal; }
.footer-brand-desc { font-size: 13.5px; color: #4B5563; line-height: 1.7; margin-bottom: 18px; }
.footer-tagline {
  font-size: 12px;
  color: var(--gold);
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 8px;
}
.footer-tagline::before { content: ''; width: 20px; height: 1px; background: var(--gold); display: inline-block; }

.footer-col h4 {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 9px; }
.footer-col ul a { color: #4B5563; font-size: 13.5px; transition: color 0.18s; }
.footer-col ul a:hover { color: #D1D5DB; }

.footer-divider { border: none; border-top: 1px solid rgba(255,255,255,0.06); }
.footer-bottom {
  padding: 18px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12.5px;
  color: #374151;
}
.footer-bottom-links { display: flex; gap: 18px; }
.footer-bottom-links a { color: #374151; }
.footer-bottom-links a:hover { color: #9CA3AF; }

/* ========== SEARCH FORM ========== */
.search-page { padding: 48px 0; }
.search-form-wrap {
  display: flex;
  gap: 10px;
  margin-bottom: 36px;
  max-width: 600px;
}
.search-inp {
  flex: 1;
  padding: 13px 18px;
  border: 1.5px solid var(--border2);
  border-radius: var(--radius);
  font-size: 15px;
  outline: none;
  font-family: 'DM Sans', sans-serif;
  background: var(--white);
}
.search-inp:focus { border-color: var(--gold); }
.search-go {
  background: var(--gold);
  color: var(--ink);
  border: none;
  padding: 12px 22px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
}

/* ========== 404 ========== */
.page-404 { text-align: center; padding: 100px 0; }
.err-code { font-family: 'DM Serif Display', serif; font-size: 120px; color: var(--gold-lt); line-height: 1; }
.page-404 h2 { font-size: 28px; color: var(--slate); margin: 8px 0 14px; }
.page-404 p { color: var(--meta); margin-bottom: 28px; }

/* ========== PAGE ========== */
.page-wrap { background: var(--white); border-radius: var(--radius); border: 1px solid var(--border); padding: 40px; margin: 40px 0; }
.page-wrap h1 { font-family: 'DM Serif Display', serif; font-size: 34px; margin-bottom: 24px; padding-bottom: 16px; border-bottom: 2px solid var(--gold-lt); position: relative; }
.page-wrap h1::after { content: ''; position: absolute; bottom: -2px; left: 0; width: 40px; height: 2px; background: var(--gold); }
.page-body { font-size: 16.5px; line-height: 1.8; }
.page-body p { margin-bottom: 18px; }
.page-body h2 { font-family: 'DM Serif Display', serif; font-size: 22px; margin: 28px 0 12px; color: var(--slate); }

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
  .main-layout { grid-template-columns: 1fr; }
  .sidebar-col { display: none; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .cat-showcase { grid-template-columns: repeat(4, 1fr); }
  .articles-grid { grid-template-columns: repeat(2, 1fr); }
  .featured-grid { grid-template-columns: 1fr; }
  .featured-sidebar { display: none; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-stats { display: none; }
}
@media (max-width: 768px) {
  .top-bar { display: none; }
  .header-inner { flex-wrap: wrap; height: auto; padding: 14px 20px; gap: 12px; }
  .main-nav { flex-wrap: wrap; }
  .header-search-wrap { display: none; }
  .articles-grid { grid-template-columns: 1fr; }
  .cat-showcase { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 10px; text-align: center; }
  .post-header { padding: 24px 20px 0; }
  .post-content { padding: 0 20px 28px; }
}
