/* ==============================================
   CXO Insight — Premium Magazine Theme
   Colors: Navy #1a2a5e | Gold #c9a84c | White #fff
   Fonts: Playfair Display (headings) + Inter (body)
   ============================================== */

/* ---- Google Fonts ---- */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;0,800;1,400;1,600&family=Inter:wght@300;400;500;600;700&display=swap');

/* ---- CSS Custom Properties ---- */
:root {
  --navy:       #1a2a5e;
  --navy-dark:  #0f1a3e;
  --navy-light: #253474;
  --gold:       #c9a84c;
  --gold-light: #e0bf72;
  --gold-dark:  #a88530;
  --white:      #ffffff;
  --off-white:  #f8f7f4;
  --light-gray: #f2f3f7;
  --mid-gray:   #e0e2ec;
  --text-dark:  #1a1a2e;
  --text-mid:   #4a4a6a;
  --text-light: #7a7a99;
  --border:     #dde0f0;
  --shadow-sm:  0 2px 8px rgba(26,42,94,0.08);
  --shadow-md:  0 4px 20px rgba(26,42,94,0.12);
  --shadow-lg:  0 8px 40px rgba(26,42,94,0.16);
  --radius-sm:  4px;
  --radius-md:  8px;
  --radius-lg:  16px;
  --transition: 0.25s ease;
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans:  'Inter', system-ui, sans-serif;
  --max-width:  1200px;
}

/* ---- Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-dark);
  background: var(--off-white);
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; }

/* ---- Typography ---- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  line-height: 1.25;
  color: var(--navy);
  font-weight: 700;
}

h1 { font-size: clamp(1.75rem, 4vw, 2.75rem); }
h2 { font-size: clamp(1.4rem, 3vw, 2rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.4rem); }
h4 { font-size: 1.1rem; }

p { margin-bottom: 1rem; color: var(--text-mid); }

/* ---- Utility ---- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.25rem;
}

.section-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--border);
}

.section-header h2 {
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--navy);
  position: relative;
}

.section-header h2::before {
  content: '';
  display: inline-block;
  width: 4px;
  height: 1.1em;
  background: var(--gold);
  margin-right: 0.5rem;
  border-radius: 2px;
  vertical-align: middle;
}

.section-header a {
  margin-left: auto;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gold-dark);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: color var(--transition);
}
.section-header a:hover { color: var(--navy); }

.gold-rule {
  display: block;
  width: 48px;
  height: 3px;
  background: var(--gold);
  border-radius: 2px;
  margin: 0.75rem 0 1.5rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  max-width: 100%;
  padding: 0.22em 0.65em;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: var(--radius-sm);
  background: var(--gold);
  color: var(--navy);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  vertical-align: middle;
  box-sizing: border-box;
}

.badge-navy   { background: var(--navy); color: var(--white); }
.badge-red    { background: #c0392b; color: var(--white); }
.badge-outline {
  background: transparent;
  border: 1px solid var(--gold);
  color: var(--gold-dark);
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
}

.badge span,
.badge-outline span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  display: inline-block;
  max-width: 100%;
}

/* ---- Breaking News Ticker ---- */
.breaking-bar {
  background: var(--navy);
  color: var(--white);
  padding: 0.45rem 0;
  font-size: 0.82rem;
  overflow: hidden;
  position: relative;
}

.breaking-bar .breaking-label {
  background: var(--gold);
  color: var(--navy);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.2em 0.75em;
  border-radius: 2px;
  margin-right: 1rem;
  font-size: 0.7rem;
  white-space: nowrap;
}

.breaking-bar .ticker-wrap {
  display: flex;
  align-items: center;
  white-space: nowrap;
}

.ticker-track {
  display: inline-block;
  animation: ticker 30s linear infinite;
}
.ticker-track:hover { animation-play-state: paused; }

.ticker-track a {
  color: #d0d8f0;
  margin: 0 1.5rem;
  transition: color var(--transition);
}
.ticker-track a:hover { color: var(--gold-light); }
.ticker-track a::before { content: '› '; color: var(--gold); }

@keyframes ticker {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ---- Top Bar ---- */
.top-bar {
  background: var(--navy-dark);
  border-bottom: 1px solid rgba(201,168,76,0.2);
  padding: 0.35rem 0;
}

.top-bar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.top-bar-links {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.top-bar-links a {
  color: #aab4d4;
  font-size: 0.75rem;
  transition: color var(--transition);
  letter-spacing: 0.03em;
}
.top-bar-links a:hover { color: var(--gold-light); }

.top-bar-date {
  color: #7b88b0;
  font-size: 0.72rem;
  letter-spacing: 0.02em;
}

.top-bar-social { display: flex; gap: 0.6rem; }
.top-bar-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  color: #aab4d4;
  font-size: 0.75rem;
  transition: background var(--transition), color var(--transition);
}
.top-bar-social a:hover { background: var(--gold); color: var(--navy); }

/* ---- Header ---- */
.site-header {
  background: var(--white);
  box-shadow: 0 2px 12px rgba(26,42,94,0.08);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 1.25rem;
  max-width: var(--max-width);
  margin: 0 auto;
  gap: 1.5rem;
}

.site-logo {
  flex-shrink: 0;
}
.site-logo img {
  height: 60px;
  width: auto;
  object-fit: contain;
}

.header-search {
  flex: 1;
  max-width: 400px;
}

.search-form {
  display: flex;
  border: 2px solid var(--border);
  border-radius: 24px;
  overflow: hidden;
  transition: border-color var(--transition);
}
.search-form:focus-within { border-color: var(--gold); }

.search-input {
  flex: 1;
  padding: 0.55rem 1rem;
  border: none;
  outline: none;
  font-size: 0.875rem;
  background: var(--light-gray);
  color: var(--text-dark);
}

.search-btn {
  background: var(--navy);
  color: var(--white);
  border: none;
  padding: 0 1rem;
  font-size: 0.9rem;
  cursor: pointer;
  transition: background var(--transition);
  display: flex;
  align-items: center;
}
.search-btn:hover { background: var(--gold); color: var(--navy); }

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.subscribe-btn {
  background: var(--gold);
  color: var(--navy);
  font-weight: 700;
  font-size: 0.8rem;
  padding: 0.55rem 1.2rem;
  border-radius: 24px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: background var(--transition), transform var(--transition);
  white-space: nowrap;
}
.subscribe-btn:hover { background: var(--gold-dark); transform: translateY(-1px); }

/* ---- Navigation ---- */
.main-nav {
  background: var(--navy);
  border-top: 1px solid rgba(201,168,76,0.25);
}

.nav-inner {
  display: flex;
  align-items: center;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.25rem;
}

.nav-list {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  overflow-x: auto;
  scrollbar-width: none;
}
.nav-list::-webkit-scrollbar { display: none; }

.nav-item { position: relative; }

.nav-link {
  display: block;
  color: #c8d0e8;
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.9rem 0.9rem;
  white-space: nowrap;
  transition: color var(--transition), background var(--transition);
  border-bottom: 2px solid transparent;
}

.nav-link:hover,
.nav-link.active {
  color: var(--gold-light);
  border-bottom-color: var(--gold);
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  background: transparent;
  border: none;
  color: var(--white);
  font-size: 1.4rem;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  margin-left: auto;
  padding: 0;
  border-radius: var(--radius-sm);
  transition: background var(--transition), color var(--transition);
}
.nav-toggle:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--gold);
}
.nav-toggle * {
  pointer-events: none;
}

/* ---- Main Layout ---- */
.main-layout {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 2rem 1.25rem;
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 2rem;
  align-items: start;
}

.main-content { min-width: 0; }

/* ---- Hero Section ---- */
.hero-section {
  display: grid;
  grid-template-columns: 1.18fr 0.82fr;
  gap: 1.5rem;
  margin-bottom: 2.75rem;
  align-items: stretch;
}

/* Hero main card */
.hero-main {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  min-height: 490px;
  height: 100%;
  background: #0a1232;
  display: flex;
  flex-direction: column;
}

.hero-main-img-wrap {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-main-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.hero-main:hover .hero-main-img-wrap img { transform: scale(1.03); }

.hero-main-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,18,50,0.02) 0%, rgba(10,18,50,0.25) 35%, rgba(10,18,50,0.85) 70%, rgba(10,18,50,0.96) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2rem;
  z-index: 2;
}

.hero-main .hero-badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  background: var(--gold);
  color: var(--navy);
  font-weight: 700;
  font-size: 0.72rem;
  padding: 4px 10px;
  border-radius: 4px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
}

.hero-main h1 {
  font-family: var(--font-serif);
  font-size: clamp(1.35rem, 2.2vw, 1.85rem);
  font-weight: 700;
  color: #ffffff;
  line-height: 1.28;
  margin-bottom: 0.75rem;
  text-shadow: 0 2px 4px rgba(0,0,0,0.5);
  transition: color var(--transition);
}
.hero-main:hover h1 { color: var(--gold-light); }

.hero-main .article-meta {
  color: rgba(255, 255, 255, 0.95) !important;
  font-size: 0.84rem;
  font-family: var(--font-sans);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-shadow: 0 1px 3px rgba(0,0,0,0.8);
}

.hero-main .article-meta .author {
  font-weight: 600;
  color: #ffffff !important;
}

.hero-main .article-meta time {
  color: var(--gold-light) !important;
  font-weight: 500;
}

.hero-main .article-meta .dot {
  color: rgba(255, 255, 255, 0.6) !important;
}

.hero-main .article-meta i {
  color: var(--gold);
}

/* Hero side cards (Top Stories) */
.hero-side {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.15rem 1.25rem 0.85rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 490px;
  height: 100%;
  overflow: hidden;
  box-sizing: border-box;
}

.hero-side-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 0.6rem;
  margin-bottom: 0.4rem;
  border-bottom: 2px solid rgba(26,42,94,0.08);
}

.hero-side-label {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--navy);
  display: flex;
  align-items: center;
}

.hero-side-list {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1;
  gap: 0.4rem;
  min-height: 0;
}

.hero-side-item {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.35rem 0.35rem;
  border-radius: 6px;
  transition: background 0.2s, transform 0.2s;
  text-decoration: none;
  min-height: 0;
}

.hero-side-item:not(:last-child) {
  border-bottom: 1px solid #f0f2f7;
  padding-bottom: 0.45rem;
}

.hero-side-item:hover {
  background: rgba(26,42,94,0.04);
}

.hero-side-thumb {
  width: 95px;
  height: 66px;
  border-radius: 6px;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--navy-light);
  position: relative;
}

.hero-side-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.hero-side-item:hover .hero-side-thumb img { transform: scale(1.06); }

.hero-side-content {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-side-cat {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.15rem;
  display: inline-flex;
  align-items: center;
}

.hero-side-title {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.3;
  margin: 0 0 0.2rem 0;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  transition: color 0.2s;
}

.hero-side-item:hover .hero-side-title {
  color: var(--gold-dark);
}

.hero-side-meta {
  font-size: 0.72rem;
  color: var(--text-light);
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.hero-placeholder {
  width: 100%;
  min-height: 490px;
  height: 100%;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
}

/* ---- Article Cards ---- */
.article-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
}
.article-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.article-card-img {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/9;
}
.article-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.article-card:hover .article-card-img img { transform: scale(1.04); }

.article-card-body {
  padding: 1.1rem 1.25rem 1.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.article-card-body h3 {
  font-size: 0.98rem;
  line-height: 1.4;
  margin: 0.5rem 0 0.6rem;
  color: var(--navy);
  transition: color var(--transition);
}
.article-card:hover .article-card-body h3 { color: var(--gold-dark); }

.article-card-body .excerpt {
  font-size: 0.83rem;
  color: var(--text-light);
  line-height: 1.6;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.75rem;
  color: var(--text-light);
  margin-top: 0.75rem;
  flex-wrap: wrap;
}
.article-meta .dot { color: var(--mid-gray); }
.article-meta .author { font-weight: 600; color: var(--navy); }

/* Article grid layouts */
.articles-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}
.articles-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.articles-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

/* ---- Horizontal Article Card (sidebar, list) ---- */
.article-card-h {
  display: flex;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
  transition: background var(--transition);
}
.article-card-h:last-child { border-bottom: none; }
.article-card-h:hover { background: transparent; }

.article-card-h-img {
  flex-shrink: 0;
  width: 90px;
  height: 65px;
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.article-card-h-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.article-card-h:hover .article-card-h-img img { transform: scale(1.06); }

.article-card-h-body { flex: 1; }
.article-card-h-body h4 {
  font-size: 0.85rem;
  line-height: 1.4;
  color: var(--navy);
  margin-bottom: 0.3rem;
  transition: color var(--transition);
}
.article-card-h:hover h4 { color: var(--gold-dark); }

/* ---- Category Section ---- */
.category-section { margin-bottom: 2.5rem; }

/* ---- Sidebar ---- */
.sidebar { position: sticky; top: 80px; }

.sidebar-widget {
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  padding: 1.35rem;
  margin-bottom: 1.5rem;
}

.sidebar-widget-title {
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--navy);
  padding-bottom: 0.75rem;
  margin-bottom: 1rem;
  border-bottom: 2px solid var(--gold);
}

/* Popular articles numbered list */
.popular-list { counter-reset: popular; }
.popular-item {
  display: flex;
  gap: 0.8rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border);
  counter-increment: popular;
}
.popular-item:last-child { border-bottom: none; }
.popular-item::before {
  content: counter(popular);
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--mid-gray);
  flex-shrink: 0;
  line-height: 1;
  width: 28px;
  text-align: center;
  margin-top: 2px;
}
.popular-item h4 {
  font-size: 0.82rem;
  line-height: 1.4;
  color: var(--navy);
  transition: color var(--transition);
}
.popular-item:hover h4 { color: var(--gold-dark); }
.popular-item .popular-meta {
  font-size: 0.72rem;
  color: var(--text-light);
  margin-top: 0.3rem;
}

/* ---- Newsletter Widget ---- */
.newsletter-widget {
  background: var(--navy);
  color: var(--white);
  padding: 1.5rem;
  border-radius: var(--radius-md);
  text-align: center;
}
.newsletter-widget h3 {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: var(--white);
  margin-bottom: 0.4rem;
}
.newsletter-widget p {
  font-size: 0.82rem;
  color: rgba(200,215,245,0.85);
  margin-bottom: 1rem;
}
.newsletter-form input {
  width: 100%;
  padding: 0.65rem 1rem;
  border-radius: var(--radius-sm);
  border: none;
  background: rgba(255,255,255,0.1);
  color: var(--white);
  font-size: 0.85rem;
  margin-bottom: 0.6rem;
  outline: none;
  transition: background var(--transition);
}
.newsletter-form input::placeholder { color: rgba(200,215,245,0.6); }
.newsletter-form input:focus { background: rgba(255,255,255,0.15); }
.newsletter-form button {
  width: 100%;
  padding: 0.65rem;
  background: var(--gold);
  color: var(--navy);
  font-weight: 700;
  font-size: 0.85rem;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
  letter-spacing: 0.04em;
}
.newsletter-form button:hover { background: var(--gold-light); transform: translateY(-1px); }
.newsletter-message {
  font-size: 0.8rem;
  margin-top: 0.5rem;
  min-height: 1.2rem;
}
.newsletter-message.success { color: #7effa0; }
.newsletter-message.error { color: #ff9090; }

/* ---- Article Detail Page ---- */
.article-detail { max-width: 800px; }

.article-header { margin-bottom: 1.75rem; }

.article-category-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold-dark);
  border-bottom: 2px solid var(--gold);
  padding-bottom: 2px;
  margin-bottom: 0.9rem;
  transition: color var(--transition);
}
.article-category-link:hover { color: var(--navy); }

.article-title {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 4vw, 2.5rem);
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 1rem;
}

.article-excerpt {
  font-size: 1.1rem;
  color: var(--text-mid);
  line-height: 1.7;
  font-style: italic;
  border-left: 4px solid var(--gold);
  padding-left: 1rem;
  margin-bottom: 1.25rem;
}

.article-detail-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.82rem;
  color: var(--text-light);
  padding: 1rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}
.article-detail-meta .author-info {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.author-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--navy);
}
.article-detail-meta .author-name { font-weight: 600; color: var(--navy); }

.article-feature-image {
  margin-bottom: 2rem;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.article-feature-image img {
  width: 100%;
  height: auto;
  max-height: 500px;
  object-fit: cover;
}
.article-feature-image figcaption {
  font-size: 0.78rem;
  color: var(--text-light);
  text-align: center;
  padding: 0.5rem 1rem;
  background: var(--light-gray);
  border-radius: 0 0 var(--radius-md) var(--radius-md);
}

/* Article body typography */
.article-body {
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--text-mid);
}
.article-body h2 {
  font-size: 1.5rem;
  margin: 2rem 0 0.75rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}
.article-body h3 { font-size: 1.2rem; margin: 1.5rem 0 0.6rem; }
.article-body p { margin-bottom: 1.25rem; }
.article-body blockquote {
  border-left: 4px solid var(--gold);
  padding: 1rem 1.5rem;
  margin: 1.5rem 0;
  background: var(--light-gray);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--navy);
  font-style: italic;
}
.article-body ul, .article-body ol {
  margin: 1rem 0 1.25rem 1.5rem;
  list-style: disc;
}
.article-body ol { list-style: decimal; }
.article-body li { margin-bottom: 0.4rem; }
.article-body img {
  max-width: 100%;
  border-radius: var(--radius-sm);
  margin: 1.5rem 0;
}
.article-body a { color: var(--navy); text-decoration: underline; text-underline-offset: 3px; }
.article-body a:hover { color: var(--gold-dark); }

/* Tags */
.article-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1.75rem 0;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
}
.article-tag {
  padding: 0.3em 0.85em;
  border: 1px solid var(--border);
  border-radius: 24px;
  font-size: 0.78rem;
  color: var(--text-mid);
  transition: background var(--transition), border-color var(--transition), color var(--transition);
}
.article-tag:hover { background: var(--navy); color: var(--white); border-color: var(--navy); }

/* Social Share */
.social-share {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin: 1.5rem 0;
  flex-wrap: wrap;
}
.social-share span {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.share-btn {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.9rem;
  border-radius: 24px;
  font-size: 0.78rem;
  font-weight: 600;
  transition: transform var(--transition), opacity var(--transition);
  color: var(--white);
}
.share-btn:hover { transform: translateY(-2px); opacity: 0.9; }
.share-btn.twitter   { background: #1a1a2e; }
.share-btn.linkedin  { background: #0077b5; }
.share-btn.facebook  { background: #1877f2; }
.share-btn.whatsapp  { background: #25d366; }

/* Author Box */
.author-box {
  background: var(--light-gray);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  display: flex;
  gap: 1.25rem;
  margin: 2rem 0;
  border: 1px solid var(--border);
}
.author-box-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--navy);
  flex-shrink: 0;
  border: 3px solid var(--gold);
}
.author-box-info h4 {
  font-size: 1rem;
  margin-bottom: 0.3rem;
}
.author-box-info .bio {
  font-size: 0.84rem;
  color: var(--text-mid);
  margin-bottom: 0.6rem;
}
.author-box-social a {
  color: var(--text-light);
  font-size: 0.9rem;
  margin-right: 0.7rem;
  transition: color var(--transition);
}
.author-box-social a:hover { color: var(--navy); }

/* Related Articles */
.related-section { margin-top: 2.5rem; }
.related-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

/* ---- Breadcrumbs ---- */
.breadcrumbs { padding: 0.75rem 0; margin-bottom: 1.25rem; }
.breadcrumb-list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.3rem;
  font-size: 0.78rem;
  color: var(--text-light);
}
.breadcrumb-item a {
  color: var(--text-light);
  transition: color var(--transition);
}
.breadcrumb-item a:hover { color: var(--navy); }
.breadcrumb-item.active { color: var(--navy); font-weight: 500; }
.breadcrumb-sep { color: var(--mid-gray); }

/* ---- Pagination ---- */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  margin-top: 2.5rem;
  flex-wrap: wrap;
}
.page-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--navy);
  background: var(--white);
  border: 1px solid var(--border);
  transition: background var(--transition), color var(--transition), border-color var(--transition);
  padding: 0 0.5rem;
}
.page-btn:hover { background: var(--navy); color: var(--white); border-color: var(--navy); }
.page-btn.active { background: var(--navy); color: var(--white); border-color: var(--navy); pointer-events: none; }
.page-btn.disabled { opacity: 0.4; pointer-events: none; }

/* ---- Category Page Header ---- */
.category-page-header {
  background: var(--navy);
  color: var(--white);
  padding: 2.5rem 1.25rem;
  margin-bottom: 0;
}
.category-page-header h1 {
  color: var(--white);
  font-size: 2rem;
  margin-bottom: 0.4rem;
}
.category-page-header p {
  color: rgba(200,215,245,0.85);
  font-size: 0.95rem;
  margin: 0;
}
.category-accent-bar {
  height: 4px;
  background: var(--gold);
  margin-top: 1rem;
  width: 60px;
  border-radius: 2px;
}

/* ---- Search Page ---- */
.search-hero {
  background: var(--light-gray);
  padding: 2rem 1.25rem;
  border-bottom: 1px solid var(--border);
}
.search-hero h1 { font-size: 1.5rem; margin-bottom: 1rem; }
.search-hero .search-form { max-width: 600px; }

.search-results-info {
  padding: 1rem 0;
  font-size: 0.88rem;
  color: var(--text-light);
  border-bottom: 1px solid var(--border);
  margin-bottom: 1.5rem;
}
.search-results-info strong { color: var(--navy); }

/* ---- Static Pages ---- */
.page-content {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 2.5rem;
  box-shadow: var(--shadow-sm);
}
.page-content h2 { margin: 1.5rem 0 0.75rem; font-size: 1.3rem; }
.page-content p { margin-bottom: 1rem; }
.page-content ul, .page-content ol {
  margin: 0.75rem 0 1rem 1.5rem;
  list-style: disc;
}
.page-content li { margin-bottom: 0.35rem; }

/* Group Synergy Card (Billionaire Kings Group) */
.group-synergy-card {
  background: linear-gradient(135deg, rgba(26,42,94,0.04) 0%, rgba(201,168,76,0.1) 100%);
  border: 1px solid rgba(201,168,76,0.35);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  margin: 2rem 0;
  display: flex;
  align-items: center;
  gap: 1.75rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.group-synergy-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(26,42,94,0.08);
}
@media (max-width: 600px) {
  .group-synergy-card {
    flex-direction: column;
    text-align: center;
    padding: 1.25rem;
    gap: 1.25rem;
  }
}

/* Contact Form */
.contact-form { margin-top: 1.5rem; }
.form-group { margin-bottom: 1.1rem; }
.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.4rem;
}
.form-control {
  width: 100%;
  padding: 0.65rem 1rem;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  transition: border-color var(--transition);
  background: var(--white);
  color: var(--text-dark);
  outline: none;
}
.form-control:focus { border-color: var(--gold); }
textarea.form-control { resize: vertical; min-height: 140px; }
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.btn-submit {
  background: var(--navy);
  color: var(--white);
  padding: 0.75rem 2rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.9rem;
  border: none;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
  letter-spacing: 0.03em;
}
.btn-submit:hover { background: var(--gold-dark); color: var(--navy); transform: translateY(-1px); }

.alert {
  padding: 0.85rem 1.25rem;
  border-radius: var(--radius-sm);
  margin-bottom: 1rem;
  font-size: 0.9rem;
}
.alert-success { background: #e7f9ee; color: #1a7a3f; border-left: 4px solid #2ecc71; }
.alert-error   { background: #fff0f0; color: #a01010; border-left: 4px solid #e74c3c; }
.alert-info    { background: #e8f0fe; color: #1a2a8e; border-left: 4px solid var(--navy); }

/* ---- Footer ---- */
.site-footer {
  background: var(--navy-dark);
  color: #aab4d4;
  padding: 3rem 0 0;
  margin-top: 3rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 2.5rem;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.25rem;
}

.footer-logo {
  display: inline-block;
  background: #ffffff;
  padding: 6px 12px;
  border-radius: 8px;
  margin-bottom: 1.25rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.25);
}

.footer-logo img {
  height: 42px;
  width: auto;
  display: block;
  object-fit: contain;
}

.footer-about {
  font-size: 0.84rem;
  line-height: 1.7;
  color: rgba(170,180,212,0.85);
  margin-bottom: 1rem;
}

.footer-social { display: flex; gap: 0.6rem; }
.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  color: #aab4d4;
  font-size: 0.85rem;
  transition: background var(--transition), color var(--transition);
}
.footer-social a:hover { background: var(--gold); color: var(--navy); }

.footer-widget h4 {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--white);
  margin-bottom: 1rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid rgba(201,168,76,0.3);
}

.footer-links li {
  margin-bottom: 0.5rem;
}
.footer-links a {
  font-size: 0.84rem;
  color: rgba(170,180,212,0.85);
  transition: color var(--transition);
}
.footer-links a::before { content: '›  '; color: var(--gold); }
.footer-links a:hover { color: var(--gold-light); }

.footer-recent-article {
  display: flex;
  gap: 0.6rem;
  margin-bottom: 0.85rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.footer-recent-article:last-child { border-bottom: none; }
.footer-recent-article img {
  width: 54px;
  height: 40px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  flex-shrink: 0;
}
.footer-recent-article h5 {
  font-size: 0.8rem;
  color: rgba(200,212,240,0.9);
  line-height: 1.4;
  font-family: var(--font-sans);
  font-weight: 500;
  transition: color var(--transition);
}
.footer-recent-article:hover h5 { color: var(--gold-light); }
.footer-recent-article .date {
  font-size: 0.7rem;
  color: rgba(170,180,212,0.6);
  margin-top: 0.2rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.07);
  margin-top: 2.5rem;
  padding: 1.1rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
  font-size: 0.78rem;
  color: rgba(170,180,212,0.6);
  flex-wrap: wrap;
  gap: 0.5rem;
}

.footer-bottom-links {
  display: flex;
  gap: 1.25rem;
}
.footer-bottom-links a {
  color: rgba(170,180,212,0.6);
  transition: color var(--transition);
}
.footer-bottom-links a:hover { color: var(--gold-light); }

.footer-copyright-bar {
  background: rgba(0,0,0,0.3);
  text-align: center;
  padding: 0.6rem;
  font-size: 0.72rem;
  color: rgba(170,180,212,0.4);
  margin-top: 1rem;
}

/* ---- 404 Page ---- */
.error-page {
  text-align: center;
  padding: 5rem 1.25rem;
}
.error-page h1 {
  font-size: 5rem;
  color: var(--mid-gray);
  line-height: 1;
}
.error-page h2 { margin-bottom: 1rem; }
.error-page p { margin-bottom: 1.5rem; }
.btn-home {
  display: inline-block;
  background: var(--navy);
  color: var(--white);
  padding: 0.75rem 2rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  transition: background var(--transition);
}
.btn-home:hover { background: var(--gold-dark); color: var(--navy); }

/* ---- Responsive ---- */
@media (max-width: 1100px) {
  .articles-grid-4 { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 1.75rem; }
}

@media (max-width: 900px) {
  .top-bar-date { display: none !important; }
  .top-bar .container { padding: 0.35rem 1rem; }
  .top-bar-links { gap: 0.85rem; }
  
  .main-layout { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .hero-section { grid-template-columns: 1fr; gap: 1.25rem; }
  .hero-main { min-height: 380px; height: 380px; }
  .hero-side { min-height: auto; height: auto; }
  .articles-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .articles-grid-3 { grid-template-columns: repeat(2, 1fr); }
  .related-grid { grid-template-columns: 1fr; }
  
  .nav-inner { flex-wrap: wrap; padding: 0.25rem 1rem; }
  .nav-toggle { display: flex; }
  .nav-list {
    display: none;
    flex-direction: column;
    width: 100%;
    align-items: stretch;
    background: var(--navy-dark);
    border-top: 1px solid rgba(201,168,76,0.2);
    padding: 0.5rem 0;
  }
  .nav-list.open { display: flex; }
  .nav-item { width: 100%; }
  .nav-link { padding: 0.85rem 1rem; border-bottom: 1px solid rgba(255,255,255,0.06); font-size: 0.88rem; }
  .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .top-bar-links { gap: 0.65rem; }
  .top-bar-links a { font-size: 0.72rem; }
  .top-bar-social { gap: 0.35rem; }
  .top-bar-social a { width: 24px; height: 24px; font-size: 0.7rem; }
  
  .header-inner { padding: 0.65rem 1rem; gap: 0.75rem; }
  .site-logo img { height: 48px; max-width: 160px; object-fit: contain; }
  .subscribe-btn { font-size: 0.72rem; padding: 0.45rem 0.85rem; }
  
  .hero-main { min-height: 320px; height: 320px; }
  .hero-main-overlay { padding: 1.25rem; }
  .hero-side-item { gap: 0.65rem; }
  .hero-side-thumb { width: 90px; height: 62px; }
  .articles-grid-4 { grid-template-columns: 1fr; }
  .articles-grid-3 { grid-template-columns: 1fr; }
  .articles-grid-2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .header-search { display: none; }
  .article-title { font-size: 1.5rem; }
  .author-box { flex-direction: column; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .footer-bottom-links { justify-content: center; }
}

/* ---- Animations & Micro-interactions ---- */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
.fade-in-up { animation: fadeInUp 0.5s ease both; }

/* Back to top */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 1.5rem;
  width: 44px;
  height: 44px;
  background: var(--navy);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  cursor: pointer;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity var(--transition), transform var(--transition), background var(--transition);
  z-index: 500;
  border: none;
  font-size: 1rem;
}
.back-to-top.visible { opacity: 1; transform: translateY(0); }
.back-to-top:hover { background: var(--gold); color: var(--navy); }

/* Scroll progress */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(to right, var(--gold), var(--navy));
  z-index: 9999;
  transition: width 0.1s linear;
}

/* Image lazy load fade */
img.lazy { opacity: 1; transition: opacity 0.4s ease; }
img.lazy.loaded { opacity: 1; }
