/*
Theme Name: B-EMPIRE Magazine Africa
Theme URI: https://b-empiremagazine.com/africa
Author: B-EMPIRE Magazine
Author URI: https://b-empiremagazine.com
Description: Premium African digital news magazine platform — covering business, leadership, entrepreneurship, culture, innovation, and local stories across Africa.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: b-empire-africa
Tags: news, magazine, blog, custom-menu, featured-images, post-formats, rtl-language-support, translation-ready
*/

/* ============================================================
   B-EMPIRE MAGAZINE AFRICA — MASTER STYLESHEET
   Colors: Black #0A0A0A | White #FFFFFF | Gold #C9A84C
           Deep Green #1B4D3E | Rust #C4572A | Warm Sand #F5E6C8
   ============================================================ */

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

/* ── CSS VARIABLES ── */
:root {
  --black:      #0A0A0A;
  --white:      #FFFFFF;
  --gold:       #C9A84C;
  --gold-light: #E8C96A;
  --gold-dark:  #A07830;
  --green:      #1B4D3E;
  --green-light:#2A6B57;
  --rust:       #C4572A;
  --sand:       #F5E6C8;
  --sand-dark:  #E8D5A8;
  --gray-100:   #F8F8F6;
  --gray-200:   #EFEFED;
  --gray-300:   #DCDCDA;
  --gray-400:   #ABABAB;
  --gray-600:   #6B6B6B;
  --gray-800:   #2D2D2D;

  --font-serif:  'Playfair Display', Georgia, serif;
  --font-sans:   'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display:'Oswald', 'Impact', sans-serif;

  --container:  1280px;
  --radius:     4px;
  --radius-lg:  8px;
  --shadow-sm:  0 1px 4px rgba(0,0,0,.08);
  --shadow-md:  0 4px 16px rgba(0,0,0,.12);
  --shadow-lg:  0 8px 32px rgba(0,0,0,.18);
  --transition: .25s ease;
}

/* ── RESET & BASE ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  color: var(--gray-800);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

/* ── UTILITY ── */
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.container--narrow { max-width: 860px; margin: 0 auto; padding: 0 24px; }

.gold-text    { color: var(--gold); }
.green-text   { color: var(--green); }
.white-text   { color: var(--white); }
.section-label {
  font-family: var(--font-display);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold);
}

.screen-reader-text {
  position: absolute; width: 1px; height: 1px;
  overflow: hidden; clip: rect(1px,1px,1px,1px);
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-display);
  font-size: .78rem; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase;
  padding: 10px 22px; border-radius: var(--radius);
  border: none; cursor: pointer; transition: var(--transition);
}
.btn--gold     { background: var(--gold); color: var(--black); }
.btn--gold:hover { background: var(--gold-light); }
.btn--black    { background: var(--black); color: var(--white); }
.btn--black:hover { background: var(--gray-800); }
.btn--outline  { background: transparent; color: var(--gold); border: 1.5px solid var(--gold); }
.btn--outline:hover { background: var(--gold); color: var(--black); }
.btn--green    { background: var(--green); color: var(--white); }
.btn--green:hover { background: var(--green-light); }

/* ── CATEGORY BADGES ── */
.cat-badge {
  display: inline-block;
  font-family: var(--font-display);
  font-size: .65rem; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase;
  padding: 3px 10px; border-radius: 2px;
  background: var(--gold); color: var(--black);
  transition: var(--transition);
}
.cat-badge:hover { background: var(--gold-light); }
.cat-badge--green { background: var(--green); color: var(--white); }
.cat-badge--black { background: var(--black); color: var(--gold); }
.cat-badge--rust  { background: var(--rust);  color: var(--white); }

/* ── POST META ── */
.post-meta {
  display: flex; align-items: center; flex-wrap: wrap; gap: 12px;
  font-size: .78rem; color: var(--gray-600);
}
.post-meta .author-name { color: var(--gold); font-weight: 600; }
.post-meta .separator    { color: var(--gray-300); }

/* ============================================================
   BREAKING NEWS TICKER
   ============================================================ */
.breaking-bar {
  background: var(--black);
  border-bottom: 2px solid var(--gold);
  overflow: hidden; position: relative;
}
.breaking-bar__inner {
  display: flex; align-items: stretch;
  height: 42px;
}
.breaking-bar__label {
  flex-shrink: 0;
  background: var(--gold);
  color: var(--black);
  font-family: var(--font-display);
  font-size: .75rem; font-weight: 700;
  letter-spacing: .15em; text-transform: uppercase;
  padding: 0 18px;
  display: flex; align-items: center; gap: 6px;
  white-space: nowrap;
}
.breaking-bar__label::after {
  content: '▶'; font-size: .6rem;
}
.breaking-bar__scroll {
  flex: 1; overflow: hidden; display: flex; align-items: center;
}
.breaking-bar__track {
  display: flex; gap: 48px; white-space: nowrap;
  animation: ticker 35s linear infinite;
}
.breaking-bar__track:hover { animation-play-state: paused; }
.breaking-bar__item {
  color: var(--white); font-size: .82rem; font-weight: 400;
  display: flex; align-items: center; gap: 10px;
}
.breaking-bar__item a { color: var(--white); transition: var(--transition); }
.breaking-bar__item a:hover { color: var(--gold); }
.breaking-bar__dot { color: var(--gold); font-size: .5rem; }
@keyframes ticker {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ============================================================
   SITE HEADER
   ============================================================ */
.site-header {
  background: var(--black);
  position: sticky; top: 0; z-index: 1000;
  border-bottom: 1px solid rgba(201,168,76,.2);
}

/* Top bar */
.header-topbar {
  background: #0F0F0F;
  border-bottom: 1px solid rgba(255,255,255,.06);
  padding: 6px 0;
}
.header-topbar__inner {
  display: flex; justify-content: space-between; align-items: center;
}
.header-topbar__date {
  font-size: .72rem; color: var(--gray-400); letter-spacing: .04em;
}
.header-topbar__social {
  display: flex; gap: 14px;
}
.header-topbar__social a {
  color: var(--gray-400); font-size: .8rem;
  transition: var(--transition);
}
.header-topbar__social a:hover { color: var(--gold); }

/* Logo + nav row */
.header-main {
  padding: 14px 0;
}
.header-main__inner {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.site-logo {
  display: flex; flex-direction: column; line-height: 1;
  flex-shrink: 0;
}
.site-logo__top {
  font-family: var(--font-display);
  font-size: 1.5rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--white);
}
.site-logo__top span { color: var(--gold); }
.site-logo__sub {
  font-family: var(--font-sans);
  font-size: .62rem; font-weight: 400;
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--gold); margin-top: 2px;
}
.site-logo__divider {
  width: 100%; height: 1px; background: var(--gold);
  margin: 3px 0; opacity: .5;
}

/* Main nav */
.main-nav { display: flex; align-items: center; }
.main-nav__list {
  display: flex; gap: 2px; flex-wrap: wrap;
}
.main-nav__item { position: relative; }
.main-nav__link {
  display: block; padding: 8px 12px;
  font-family: var(--font-display);
  font-size: .75rem; font-weight: 500;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--gray-300); white-space: nowrap;
  transition: var(--transition);
  border-radius: var(--radius);
}
.main-nav__link:hover,
.main-nav__item.current-menu-item .main-nav__link {
  color: var(--gold);
  background: rgba(201,168,76,.08);
}

/* Dropdown */
.main-nav__item:hover .dropdown { display: block; }
.dropdown {
  display: none; position: absolute; top: 100%; left: 0;
  background: var(--black); border: 1px solid rgba(201,168,76,.2);
  border-top: 2px solid var(--gold); min-width: 220px;
  box-shadow: var(--shadow-lg); z-index: 100;
  animation: fadeDown .2s ease;
}
@keyframes fadeDown {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}
.dropdown__item { border-bottom: 1px solid rgba(255,255,255,.06); }
.dropdown__link {
  display: block; padding: 10px 16px;
  font-size: .78rem; color: var(--gray-300);
  transition: var(--transition);
}
.dropdown__link:hover { color: var(--gold); background: rgba(201,168,76,.06); padding-left: 22px; }

/* Search & hamburger */
.header-actions { display: flex; align-items: center; gap: 12px; }
.search-toggle, .menu-toggle {
  background: none; border: none; cursor: pointer;
  color: var(--gray-300); font-size: 1.1rem; padding: 6px;
  transition: var(--transition);
}
.search-toggle:hover, .menu-toggle:hover { color: var(--gold); }

/* Search overlay */
.search-overlay {
  display: none; position: fixed; inset: 0; z-index: 2000;
  background: rgba(0,0,0,.95); align-items: center; justify-content: center;
}
.search-overlay.active { display: flex; }
.search-overlay__inner { width: 100%; max-width: 680px; padding: 0 24px; }
.search-overlay__close {
  position: absolute; top: 20px; right: 24px;
  background: none; border: none; color: var(--white);
  font-size: 1.6rem; cursor: pointer;
}
.search-overlay__form { display: flex; border-bottom: 2px solid var(--gold); }
.search-overlay__input {
  flex: 1; background: none; border: none; outline: none;
  font-family: var(--font-serif); font-size: 1.8rem;
  color: var(--white); padding: 12px 0;
}
.search-overlay__input::placeholder { color: var(--gray-600); }
.search-overlay__btn {
  background: none; border: none; color: var(--gold);
  font-size: 1.4rem; cursor: pointer; padding: 0 12px;
}

/* Mobile nav */
.mobile-nav {
  display: none; background: #111; border-top: 1px solid rgba(255,255,255,.06);
}
.mobile-nav.active { display: block; }
.mobile-nav__list { padding: 12px 0; }
.mobile-nav__link {
  display: block; padding: 12px 24px;
  font-family: var(--font-display); font-size: .8rem;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--gray-300); border-bottom: 1px solid rgba(255,255,255,.04);
  transition: var(--transition);
}
.mobile-nav__link:hover { color: var(--gold); padding-left: 32px; }

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
  background: var(--black); position: relative; overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(27,77,62,.4) 0%, rgba(0,0,0,.6) 50%, rgba(196,87,42,.15) 100%);
  z-index: 1; pointer-events: none;
}
.hero__inner {
  display: grid; grid-template-columns: 1fr 380px;
  min-height: 580px; position: relative; z-index: 2;
}
.hero__main { position: relative; overflow: hidden; }
.hero__bg {
  position: absolute; inset: 0;
  background: linear-gradient(160deg, #0A0A0A 0%, #1B4D3E 100%);
}
.hero__bg img {
  width: 100%; height: 100%; object-fit: cover;
  opacity: .45; transition: transform 8s ease;
}
.hero__main:hover .hero__bg img { transform: scale(1.04); }
.hero__content {
  position: relative; z-index: 2;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 48px;
  background: linear-gradient(to top, rgba(0,0,0,.92) 0%, rgba(0,0,0,.4) 60%, transparent 100%);
  height: 100%; min-height: 580px;
}
.hero__eyebrow {
  display: flex; align-items: center; gap: 10px; margin-bottom: 16px;
}
.hero__eyebrow .cat-badge { font-size: .68rem; }
.hero__live {
  display: flex; align-items: center; gap: 5px;
  font-size: .65rem; font-weight: 700; letter-spacing: .15em;
  text-transform: uppercase; color: var(--white);
}
.hero__live::before {
  content: ''; width: 7px; height: 7px; border-radius: 50%;
  background: #E53E3E; animation: pulse 1.4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(229,62,62,.4); }
  50%       { box-shadow: 0 0 0 6px rgba(229,62,62,0); }
}
.hero__title {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 4vw, 3rem); font-weight: 900;
  line-height: 1.15; color: var(--white);
  margin-bottom: 16px;
  text-shadow: 0 2px 12px rgba(0,0,0,.5);
}
.hero__title em { color: var(--gold); font-style: normal; }
.hero__excerpt {
  font-size: 1rem; color: rgba(255,255,255,.82);
  margin-bottom: 24px; max-width: 560px; line-height: 1.6;
}
.hero__meta { margin-bottom: 24px; }
.hero__meta .post-meta { color: rgba(255,255,255,.6); }
.hero__meta .author-name { color: var(--gold-light); }

/* Hero sidebar */
.hero__sidebar {
  background: #111; border-left: 1px solid rgba(201,168,76,.15);
  display: flex; flex-direction: column;
}
.hero__sidebar-header {
  padding: 20px 24px 16px;
  border-bottom: 1px solid rgba(201,168,76,.15);
}
.hero__sidebar-header h3 {
  font-family: var(--font-display);
  font-size: .75rem; font-weight: 600;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--gold);
}
.hero__sidebar-list { flex: 1; padding: 0; }
.hero__sidebar-item {
  padding: 18px 24px;
  border-bottom: 1px solid rgba(255,255,255,.05);
  display: flex; gap: 14px; align-items: flex-start;
  transition: var(--transition);
}
.hero__sidebar-item:hover { background: rgba(201,168,76,.05); }
.hero__sidebar-num {
  font-family: var(--font-display);
  font-size: 1.4rem; font-weight: 700;
  color: rgba(201,168,76,.25); line-height: 1;
  flex-shrink: 0; width: 24px;
}
.hero__sidebar-content { flex: 1; }
.hero__sidebar-title {
  font-family: var(--font-serif);
  font-size: .88rem; font-weight: 700;
  color: var(--white); line-height: 1.4;
  margin-bottom: 6px;
  display: -webkit-box; -webkit-line-clamp: 2;
  -webkit-box-orient: vertical; overflow: hidden;
}
.hero__sidebar-title a { transition: var(--transition); }
.hero__sidebar-title a:hover { color: var(--gold); }
.hero__sidebar-meta { font-size: .7rem; color: var(--gray-600); }

/* ============================================================
   SECTION HEADERS
   ============================================================ */
.section-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 28px; padding-bottom: 14px;
  border-bottom: 1px solid var(--gray-200);
  position: relative;
}
.section-header::before {
  content: ''; position: absolute; bottom: -1px; left: 0;
  width: 60px; height: 3px; background: var(--gold);
}
.section-header--dark { border-bottom-color: rgba(255,255,255,.1); }
.section-header--dark::before { background: var(--gold); }

.section-title {
  font-family: var(--font-display);
  font-size: 1.1rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--black);
  display: flex; align-items: center; gap: 10px;
}
.section-title--white { color: var(--white); }
.section-title .title-accent { color: var(--gold); }

.view-all {
  font-family: var(--font-display);
  font-size: .7rem; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--gold); transition: var(--transition);
  display: flex; align-items: center; gap: 5px;
}
.view-all:hover { color: var(--gold-dark); gap: 8px; }
.view-all::after { content: '→'; }

/* ============================================================
   CARD COMPONENTS
   ============================================================ */

/* Feature card */
.card-feature {
  position: relative; overflow: hidden; border-radius: var(--radius-lg);
  background: var(--black); cursor: pointer;
}
.card-feature__img {
  width: 100%; aspect-ratio: 16/10; object-fit: cover;
  transition: transform .6s ease;
}
.card-feature:hover .card-feature__img { transform: scale(1.04); }
.card-feature__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.88) 0%, rgba(0,0,0,.3) 60%, transparent 100%);
}
.card-feature__body {
  position: absolute; bottom: 0; left: 0; right: 0; padding: 24px;
}
.card-feature__cat { margin-bottom: 8px; }
.card-feature__title {
  font-family: var(--font-serif);
  font-size: clamp(1rem, 2.2vw, 1.3rem); font-weight: 800;
  color: var(--white); line-height: 1.3; margin-bottom: 10px;
}
.card-feature__title a { transition: var(--transition); }
.card-feature__title a:hover { color: var(--gold); }
.card-feature__meta { }

/* Standard news card */
.card-news {
  display: flex; flex-direction: column; height: 100%;
  background: var(--white); border-radius: var(--radius);
  overflow: hidden; transition: var(--transition);
  border: 1px solid var(--gray-200);
}
.card-news:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.card-news__img-wrap { overflow: hidden; aspect-ratio: 16/10; }
.card-news__img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s ease;
}
.card-news:hover .card-news__img { transform: scale(1.05); }
.card-news__body { padding: 18px; flex: 1; display: flex; flex-direction: column; }
.card-news__cat { margin-bottom: 8px; }
.card-news__title {
  font-family: var(--font-serif);
  font-size: 1.05rem; font-weight: 700; line-height: 1.4;
  color: var(--black); margin-bottom: 10px; flex: 1;
  display: -webkit-box; -webkit-line-clamp: 3;
  -webkit-box-orient: vertical; overflow: hidden;
}
.card-news__title a:hover { color: var(--green); }
.card-news__excerpt {
  font-size: .84rem; color: var(--gray-600); line-height: 1.6;
  margin-bottom: 14px;
  display: -webkit-box; -webkit-line-clamp: 2;
  -webkit-box-orient: vertical; overflow: hidden;
}
.card-news__footer { margin-top: auto; }

/* Horizontal card */
.card-h {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 16px 0; border-bottom: 1px solid var(--gray-200);
}
.card-h:last-child { border-bottom: none; }
.card-h__img-wrap {
  flex-shrink: 0; width: 100px; height: 72px;
  border-radius: var(--radius); overflow: hidden;
}
.card-h__img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.card-h:hover .card-h__img { transform: scale(1.06); }
.card-h__body { flex: 1; min-width: 0; }
.card-h__cat { margin-bottom: 4px; }
.card-h__title {
  font-family: var(--font-serif);
  font-size: .9rem; font-weight: 700; line-height: 1.4;
  color: var(--black); margin-bottom: 6px;
  display: -webkit-box; -webkit-line-clamp: 2;
  -webkit-box-orient: vertical; overflow: hidden;
}
.card-h__title a:hover { color: var(--green); }
.card-h__meta { font-size: .72rem; color: var(--gray-400); }

/* Ranked card */
.card-ranked {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 14px 0; border-bottom: 1px solid var(--gray-200);
}
.card-ranked__num {
  font-family: var(--font-display); font-size: 2.2rem; font-weight: 800;
  color: var(--gray-200); line-height: 1; flex-shrink: 0; width: 40px;
}
.card-ranked__body { flex: 1; }
.card-ranked__title {
  font-family: var(--font-serif);
  font-size: .92rem; font-weight: 700; line-height: 1.35;
  color: var(--black); margin-bottom: 6px;
}
.card-ranked__title a:hover { color: var(--gold-dark); }

/* ============================================================
   HOMEPAGE SECTIONS
   ============================================================ */

/* Latest Africa News grid */
.section-latest { padding: 56px 0; background: var(--white); }
.latest-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.latest-grid--featured {
  grid-template-columns: 1.6fr 1fr 1fr;
}
.latest-grid--featured .card-feature { grid-row: span 2; }

/* Country strip */
.section-countries {
  background: var(--black); padding: 40px 0;
  border-top: 2px solid var(--gold); border-bottom: 2px solid var(--gold);
}
.countries-grid {
  display: flex; flex-wrap: wrap; gap: 10px;
}
.country-chip {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 16px; border-radius: 24px;
  border: 1px solid rgba(201,168,76,.25);
  background: rgba(255,255,255,.03);
  font-family: var(--font-sans); font-size: .8rem; font-weight: 500;
  color: var(--gray-300); cursor: pointer; transition: var(--transition);
  text-decoration: none;
}
.country-chip:hover {
  background: var(--gold); color: var(--black);
  border-color: var(--gold); transform: translateY(-2px);
}
.country-chip__flag { font-size: 1.1rem; }

/* Featured editorial */
.section-featured { padding: 56px 0; background: var(--gray-100); }
.featured-layout {
  display: grid; grid-template-columns: 1fr 1fr; gap: 32px;
}
.featured-card {
  border-radius: var(--radius-lg); overflow: hidden;
  background: var(--white); box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.featured-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.featured-card__img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.featured-card__body { padding: 28px; }
.featured-card__tag { margin-bottom: 10px; }
.featured-card__title {
  font-family: var(--font-serif);
  font-size: 1.4rem; font-weight: 800; line-height: 1.3;
  color: var(--black); margin-bottom: 12px;
}
.featured-card__title a:hover { color: var(--green); }
.featured-card__excerpt { font-size: .9rem; color: var(--gray-600); line-height: 1.65; margin-bottom: 18px; }

/* Opinion / dark section */
.section-opinion {
  background: linear-gradient(135deg, var(--black) 0%, #0D1F1A 100%);
  padding: 60px 0; position: relative; overflow: hidden;
}
.section-opinion::before {
  content: 'AFRICA'; position: absolute;
  font-family: var(--font-display); font-size: 14rem; font-weight: 900;
  color: rgba(201,168,76,.04); letter-spacing: .05em;
  top: 50%; left: 50%; transform: translate(-50%,-50%);
  pointer-events: none; white-space: nowrap;
}
.opinion-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.opinion-card {
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.06);
  border-top: 3px solid var(--gold);
  border-radius: var(--radius); padding: 28px;
  transition: var(--transition);
}
.opinion-card:hover { background: rgba(201,168,76,.05); border-top-color: var(--gold-light); }
.opinion-card__quote {
  font-family: var(--font-serif); font-size: 2.5rem;
  color: var(--gold); line-height: 1; margin-bottom: 10px;
}
.opinion-card__title {
  font-family: var(--font-serif);
  font-size: 1.05rem; font-weight: 700;
  color: var(--white); line-height: 1.4; margin-bottom: 14px;
}
.opinion-card__title a:hover { color: var(--gold); }
.opinion-card__author { display: flex; gap: 10px; align-items: center; }
.opinion-card__avatar {
  width: 40px; height: 40px; border-radius: 50%; object-fit: cover;
  border: 2px solid var(--gold);
}
.opinion-card__author-name { font-size: .8rem; font-weight: 600; color: var(--gold); }
.opinion-card__author-role { font-size: .72rem; color: var(--gray-600); }

/* Entrepreneurs section */
.section-entrepreneurs { padding: 56px 0; }
.entrepreneurs-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }
.entrepreneur-card {
  text-align: center; padding: 28px 20px;
  border: 1px solid var(--gray-200); border-radius: var(--radius-lg);
  transition: var(--transition); background: var(--white);
}
.entrepreneur-card:hover { border-color: var(--gold); box-shadow: var(--shadow-md); transform: translateY(-4px); }
.entrepreneur-card__photo {
  width: 90px; height: 90px; border-radius: 50%;
  object-fit: cover; margin: 0 auto 16px;
  border: 3px solid var(--gold);
}
.entrepreneur-card__name {
  font-family: var(--font-serif); font-size: 1rem; font-weight: 800;
  color: var(--black); margin-bottom: 4px;
}
.entrepreneur-card__title { font-size: .78rem; color: var(--gray-600); margin-bottom: 4px; }
.entrepreneur-card__country { color: var(--gold); font-size: .72rem; font-weight: 600; }

/* Investment strip */
.section-investment {
  background: var(--green); padding: 48px 0;
}
.investment-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.investment-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-lg); padding: 28px;
  transition: var(--transition);
}
.investment-card:hover { background: rgba(255,255,255,.1); transform: translateY(-2px); }
.investment-card__icon {
  font-size: 2rem; margin-bottom: 14px;
}
.investment-card__title {
  font-family: var(--font-serif); font-size: 1.1rem; font-weight: 800;
  color: var(--white); margin-bottom: 8px;
}
.investment-card__title a:hover { color: var(--sand); }
.investment-card__desc { font-size: .84rem; color: rgba(255,255,255,.7); line-height: 1.6; margin-bottom: 16px; }
.investment-card__country { font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--sand); }

/* Lifestyle / Luxury section */
.section-lifestyle { padding: 56px 0; background: var(--sand); }
.lifestyle-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2px; }
.lifestyle-item { position: relative; overflow: hidden; cursor: pointer; }
.lifestyle-item img {
  width: 100%; height: 360px; object-fit: cover;
  transition: transform .6s ease;
}
.lifestyle-item:hover img { transform: scale(1.06); }
.lifestyle-item__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.75) 0%, transparent 60%);
}
.lifestyle-item__body { position: absolute; bottom: 20px; left: 20px; right: 20px; }
.lifestyle-item__cat { margin-bottom: 6px; }
.lifestyle-item__title {
  font-family: var(--font-serif); font-size: 1rem; font-weight: 800;
  color: var(--white); line-height: 1.3;
}

/* Newsletter */
.section-newsletter {
  background: linear-gradient(135deg, var(--black) 0%, #1A1A1A 100%);
  padding: 60px 0;
  border-top: 2px solid var(--gold); border-bottom: 2px solid var(--gold);
}
.newsletter-inner {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center;
}
.newsletter-copy h2 {
  font-family: var(--font-serif); font-size: 2rem; font-weight: 900;
  color: var(--white); margin-bottom: 12px; line-height: 1.2;
}
.newsletter-copy h2 span { color: var(--gold); }
.newsletter-copy p { color: rgba(255,255,255,.7); font-size: .95rem; line-height: 1.65; }
.newsletter-form { }
.newsletter-form__row { display: flex; gap: 0; }
.newsletter-form__input {
  flex: 1; padding: 14px 18px;
  background: rgba(255,255,255,.08); border: 1px solid rgba(201,168,76,.3);
  border-right: none; border-radius: var(--radius) 0 0 var(--radius);
  color: var(--white); font-size: .9rem; outline: none;
  transition: var(--transition);
}
.newsletter-form__input:focus { border-color: var(--gold); background: rgba(255,255,255,.12); }
.newsletter-form__input::placeholder { color: var(--gray-600); }
.newsletter-form__btn {
  padding: 14px 24px; background: var(--gold); color: var(--black);
  border: none; cursor: pointer; font-family: var(--font-display);
  font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  border-radius: 0 var(--radius) var(--radius) 0; transition: var(--transition);
  white-space: nowrap;
}
.newsletter-form__btn:hover { background: var(--gold-light); }
.newsletter-form__note { font-size: .72rem; color: var(--gray-600); margin-top: 10px; }

/* ============================================================
   SINGLE ARTICLE PAGE
   ============================================================ */
.article-header { padding: 40px 0 0; }
.article-header__cat { margin-bottom: 16px; }
.article-header__title {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 900;
  line-height: 1.2; color: var(--black); margin-bottom: 20px;
}
.article-header__subtitle {
  font-size: 1.15rem; color: var(--gray-600); line-height: 1.65;
  margin-bottom: 24px; font-weight: 400;
}
.article-header__meta { margin-bottom: 28px; }
.article-header__share {
  display: flex; align-items: center; gap: 10px; margin-bottom: 32px;
}
.share-btn {
  display: flex; align-items: center; gap: 6px;
  padding: 7px 14px; border-radius: var(--radius);
  font-size: .72rem; font-weight: 600; cursor: pointer;
  transition: var(--transition); border: none;
  font-family: var(--font-sans);
}
.share-btn--fb  { background: #1877F2; color: var(--white); }
.share-btn--tw  { background: #000; color: var(--white); }
.share-btn--wa  { background: #25D366; color: var(--white); }
.share-btn--li  { background: #0A66C2; color: var(--white); }
.share-btn:hover { filter: brightness(1.1); transform: translateY(-1px); }

.article-featured-img {
  width: 100%; aspect-ratio: 16/9; object-fit: cover;
  border-radius: var(--radius-lg); margin-bottom: 12px;
}
.article-featured-caption {
  font-size: .78rem; color: var(--gray-400); text-align: center;
  margin-bottom: 36px; font-style: italic;
}

.article-body { font-size: 1.05rem; line-height: 1.85; color: var(--gray-800); }
.article-body p { margin-bottom: 1.5em; }
.article-body h2 {
  font-family: var(--font-serif); font-size: 1.5rem; font-weight: 800;
  color: var(--black); margin: 2em 0 .75em; line-height: 1.3;
}
.article-body h3 {
  font-family: var(--font-serif); font-size: 1.25rem; font-weight: 700;
  color: var(--black); margin: 1.75em 0 .6em;
}
.article-body blockquote {
  border-left: 4px solid var(--gold); padding: 16px 24px;
  background: var(--gray-100); margin: 2em 0; border-radius: 0 var(--radius) var(--radius) 0;
  font-family: var(--font-serif); font-size: 1.15rem; font-style: italic;
  color: var(--gray-800);
}
.article-body ul, .article-body ol { margin: 1em 0 1.5em 24px; }
.article-body li { margin-bottom: .5em; }
.article-body a { color: var(--green); border-bottom: 1px solid rgba(27,77,62,.3); transition: var(--transition); }
.article-body a:hover { color: var(--gold-dark); border-color: var(--gold); }

/* Author box */
.author-box {
  display: flex; gap: 24px; align-items: flex-start;
  padding: 28px; background: var(--gray-100);
  border: 1px solid var(--gray-200); border-left: 4px solid var(--gold);
  border-radius: var(--radius-lg); margin: 40px 0;
}
.author-box__avatar {
  width: 80px; height: 80px; border-radius: 50%; object-fit: cover;
  border: 3px solid var(--gold); flex-shrink: 0;
}
.author-box__name {
  font-family: var(--font-serif); font-size: 1.1rem; font-weight: 800;
  color: var(--black); margin-bottom: 2px;
}
.author-box__role { font-size: .78rem; color: var(--gold); font-weight: 600; margin-bottom: 8px; }
.author-box__bio { font-size: .88rem; color: var(--gray-600); line-height: 1.65; }

/* Tags cloud */
.article-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 32px 0; }
.tag {
  padding: 5px 14px; border: 1px solid var(--gray-300);
  border-radius: 24px; font-size: .78rem; color: var(--gray-600);
  transition: var(--transition); cursor: pointer;
}
.tag:hover { background: var(--black); color: var(--gold); border-color: var(--black); }

/* Related articles */
.related-articles { margin: 48px 0; }
.related-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }

/* ============================================================
   ARCHIVE / CATEGORY PAGE
   ============================================================ */
.archive-header {
  background: var(--black); padding: 48px 0;
  border-bottom: 2px solid var(--gold); position: relative; overflow: hidden;
}
.archive-header::before {
  content: attr(data-category);
  position: absolute; right: -20px; top: 50%; transform: translateY(-50%);
  font-family: var(--font-display); font-size: 8rem; font-weight: 900;
  color: rgba(255,255,255,.03); letter-spacing: .05em; text-transform: uppercase;
  pointer-events: none;
}
.archive-header__label { margin-bottom: 8px; }
.archive-header__title {
  font-family: var(--font-serif); font-size: 2.2rem; font-weight: 900;
  color: var(--white); margin-bottom: 8px;
}
.archive-header__desc { color: rgba(255,255,255,.65); font-size: .9rem; max-width: 600px; }

.archive-layout { display: grid; grid-template-columns: 1fr 320px; gap: 40px; padding: 48px 0; }
.archive-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 24px; }

/* ============================================================
   SIDEBAR
   ============================================================ */
.sidebar { }
.widget { margin-bottom: 32px; }
.widget-title {
  font-family: var(--font-display);
  font-size: .82rem; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--black); margin-bottom: 16px; padding-bottom: 10px;
  border-bottom: 2px solid var(--gold);
}
.widget-cats { }
.widget-cats__item {
  display: flex; justify-content: space-between; align-items: center;
  padding: 10px 0; border-bottom: 1px solid var(--gray-200);
  font-size: .88rem; transition: var(--transition);
}
.widget-cats__item:hover { padding-left: 8px; color: var(--gold); }
.widget-cats__count {
  background: var(--gray-100); color: var(--gray-600);
  font-size: .7rem; padding: 2px 8px; border-radius: 12px;
}
.widget-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.widget-follow { }
.social-follow { display: flex; flex-direction: column; gap: 10px; }
.social-follow__btn {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px; border-radius: var(--radius);
  font-size: .82rem; font-weight: 600; transition: var(--transition);
  cursor: pointer; border: none;
}
.social-follow__btn--ig  { background: #E1306C; color: white; }
.social-follow__btn--fb  { background: #1877F2; color: white; }
.social-follow__btn--tw  { background: #000; color: white; }
.social-follow__btn--yt  { background: #FF0000; color: white; }
.social-follow__count { margin-left: auto; font-size: .72rem; opacity: .8; }

/* ============================================================
   COUNTRY PAGE HERO
   ============================================================ */
.country-hero {
  min-height: 320px; display: flex; align-items: flex-end;
  background: var(--black); position: relative; overflow: hidden;
  border-bottom: 2px solid var(--gold);
}
.country-hero__bg {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(27,77,62,.7) 0%, rgba(0,0,0,.5) 100%);
}
.country-hero__content { position: relative; z-index: 2; padding: 40px 0; width: 100%; }
.country-hero__flag { font-size: 3.5rem; margin-bottom: 12px; }
.country-hero__name {
  font-family: var(--font-serif); font-size: 2.5rem; font-weight: 900;
  color: var(--white); margin-bottom: 6px;
}
.country-hero__tagline { color: var(--gold); font-size: .9rem; font-weight: 500; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: #080808; color: rgba(255,255,255,.75);
  border-top: 2px solid var(--gold);
}
.footer-top { padding: 60px 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }

.footer-brand { }
.footer-logo {
  font-family: var(--font-display); font-size: 1.3rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase; color: var(--white);
  margin-bottom: 4px;
}
.footer-logo span { color: var(--gold); }
.footer-tagline { font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); margin-bottom: 14px; }
.footer-desc { font-size: .85rem; line-height: 1.7; color: rgba(255,255,255,.55); margin-bottom: 20px; }
.footer-social { display: flex; gap: 12px; }
.footer-social a {
  width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid rgba(201,168,76,.3);
  display: flex; align-items: center; justify-content: center;
  color: var(--gray-400); font-size: .9rem; transition: var(--transition);
}
.footer-social a:hover { background: var(--gold); color: var(--black); border-color: var(--gold); }

.footer-col h4 {
  font-family: var(--font-display); font-size: .75rem; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 18px; padding-bottom: 10px;
  border-bottom: 1px solid rgba(201,168,76,.2);
}
.footer-links { display: flex; flex-direction: column; gap: 8px; }
.footer-links a { font-size: .84rem; color: rgba(255,255,255,.55); transition: var(--transition); }
.footer-links a:hover { color: var(--gold); padding-left: 6px; }

.footer-bottom {
  background: #050505; padding: 16px 0;
  border-top: 1px solid rgba(255,255,255,.06);
}
.footer-bottom__inner {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 12px;
}
.footer-copy { font-size: .78rem; color: rgba(255,255,255,.35); }
.footer-legal { display: flex; gap: 20px; }
.footer-legal a { font-size: .78rem; color: rgba(255,255,255,.35); transition: var(--transition); }
.footer-legal a:hover { color: var(--gold); }

/* ============================================================
   PAGINATION
   ============================================================ */
.pagination {
  display: flex; justify-content: center; gap: 6px; padding: 40px 0;
}
.page-num {
  width: 38px; height: 38px; display: flex; align-items: center; justify-content: center;
  border-radius: var(--radius); font-size: .84rem; font-weight: 600;
  border: 1px solid var(--gray-200); color: var(--gray-600); transition: var(--transition);
}
.page-num:hover, .page-num.active {
  background: var(--gold); color: var(--black); border-color: var(--gold);
}

/* ============================================================
   READING PROGRESS
   ============================================================ */
.reading-progress {
  position: fixed; top: 0; left: 0; height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--green));
  width: 0%; z-index: 9999; transition: width .1s linear;
}

/* ============================================================
   SCROLL TO TOP
   ============================================================ */
.scroll-top {
  position: fixed; bottom: 24px; right: 24px;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--gold); color: var(--black);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; cursor: pointer; border: none;
  box-shadow: var(--shadow-md); transition: var(--transition);
  opacity: 0; pointer-events: none; z-index: 500;
}
.scroll-top.visible { opacity: 1; pointer-events: all; }
.scroll-top:hover { background: var(--gold-light); transform: translateY(-3px); }

/* ============================================================
   BREAKING NEWS LABEL ANIMATION
   ============================================================ */
@keyframes flashLabel {
  0%, 100% { opacity: 1; }
  50%       { opacity: .7; }
}

/* ============================================================
   STAT COUNTER STRIP
   ============================================================ */
.stats-strip {
  background: var(--gold); padding: 18px 0;
}
.stats-grid {
  display: flex; justify-content: center; gap: 0;
  flex-wrap: wrap;
}
.stat-item {
  display: flex; flex-direction: column; align-items: center;
  padding: 0 40px;
  border-right: 1px solid rgba(0,0,0,.15);
}
.stat-item:last-child { border-right: none; }
.stat-num {
  font-family: var(--font-display); font-size: 1.6rem; font-weight: 800;
  color: var(--black); line-height: 1;
}
.stat-label { font-size: .72rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: rgba(0,0,0,.65); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__sidebar { display: none; }
  .latest-grid { grid-template-columns: repeat(3,1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 900px) {
  .main-nav { display: none; }
  .menu-toggle { display: flex; }
  .featured-layout { grid-template-columns: 1fr; }
  .opinion-grid { grid-template-columns: 1fr; }
  .investment-grid { grid-template-columns: 1fr; }
  .entrepreneurs-grid { grid-template-columns: repeat(2,1fr); }
  .lifestyle-grid { grid-template-columns: 1fr; }
  .newsletter-inner { grid-template-columns: 1fr; }
  .archive-layout { grid-template-columns: 1fr; }
  .archive-grid { grid-template-columns: 1fr; }
  .related-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .stats-grid { gap: 0; }
  .stat-item { padding: 12px 24px; }
}

@media (max-width: 680px) {
  .latest-grid { grid-template-columns: repeat(2,1fr); }
  .hero__content { padding: 32px 24px; min-height: 420px; }
  .hero__title { font-size: 1.6rem; }
  .entrepreneurs-grid { grid-template-columns: 1fr; }
  .footer-bottom__inner { flex-direction: column; text-align: center; }
  .archive-grid { grid-template-columns: 1fr; }
  .newsletter-form__row { flex-direction: column; }
  .newsletter-form__input { border-right: 1px solid rgba(201,168,76,.3); border-bottom: none; border-radius: var(--radius) var(--radius) 0 0; }
  .newsletter-form__btn { border-radius: 0 0 var(--radius) var(--radius); }
}

@media (max-width: 480px) {
  .latest-grid { grid-template-columns: 1fr; }
  .countries-grid { justify-content: center; }
}
