/* ==========================================================================
   IncisiorNews — Main Stylesheet
   Breaking News. Global Perspective.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. CSS Custom Properties
   -------------------------------------------------------------------------- */
:root {
  --primary:       #0a1628;
  --accent:        #e63946;
  --accent-hover:  #c1121f;
  --secondary:     #f4a261;
  --crypto-gold:   #f9a825;
  --bg:            #f8f9fa;
  --white:         #ffffff;
  --text:          #212529;
  --muted:         #6c757d;
  --border:        #dee2e6;
  --success:       #28a745;
  --warning:       #ffc107;
  --danger:        #dc3545;
  --info:          #17a2b8;
  --shadow:        0 2px 15px rgba(0,0,0,0.08);
  --shadow-hover:  0 8px 30px rgba(0,0,0,0.15);
  --shadow-card:   0 1px 4px rgba(0,0,0,0.06), 0 2px 12px rgba(0,0,0,0.06);
  --radius:        8px;
  --radius-sm:     4px;
  --radius-lg:     12px;
  --transition:    all 0.3s ease;
  --font-headline: 'Playfair Display', serif;
  --font-body:     'Inter', sans-serif;
  --font-mono:     'Courier New', Courier, monospace;
  --container-max: 1200px;
  --header-h:      70px;
  --topbar-h:      38px;
  --ticker-h:      36px;
  --nav-h:         50px;
  --crypto-h:      38px;
  /* category colors */
  --cat-world:     #e63946;
  --cat-business:  #1565c0;
  --cat-tech:      #00695c;
  --cat-finance:   #4527a0;
  --cat-trading:   #e65100;
  --cat-crypto:    #f9a825;
  --cat-ai:        #00838f;
  --cat-politics:  #283593;
  --cat-weather:   #0277bd;
  --cat-interview: #558b2f;
  --cat-articles:  #37474f;
  --cat-videos:    #c62828;
}

/* Dark mode overrides */
[data-theme="dark"] {
  --bg:      #10151e;
  --white:   #1a2132;
  --text:    #e8eaf0;
  --muted:   #9aa3b4;
  --border:  #2a3347;
  --shadow:  0 2px 15px rgba(0,0,0,0.25);
  --shadow-hover: 0 8px 30px rgba(0,0,0,0.40);
  --shadow-card:  0 1px 4px rgba(0,0,0,0.20), 0 2px 12px rgba(0,0,0,0.20);
}

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

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

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
  transition: background-color 0.3s, color 0.3s;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--accent);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul, ol {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: var(--font-body);
}

input, textarea, select {
  font-family: var(--font-body);
}

table {
  border-collapse: collapse;
  width: 100%;
}

/* --------------------------------------------------------------------------
   3. Typography
   -------------------------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-headline);
  font-weight: 700;
  line-height: 1.25;
  color: var(--primary);
  margin-bottom: 0.5em;
}

[data-theme="dark"] h1,
[data-theme="dark"] h2,
[data-theme="dark"] h3,
[data-theme="dark"] h4,
[data-theme="dark"] h5,
[data-theme="dark"] h6 {
  color: var(--text);
}

h1 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
h2 { font-size: clamp(1.4rem, 3vw, 2rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.5rem); }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.1rem; }
h6 { font-size: 1rem; }

p {
  margin-bottom: 1rem;
}

strong, b {
  font-weight: 700;
}

em, i {
  font-style: italic;
}

small {
  font-size: 0.8rem;
}

blockquote {
  border-left: 4px solid var(--accent);
  padding: 1rem 1.5rem;
  margin: 1.5rem 0;
  background: rgba(230,57,70,0.05);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-family: var(--font-headline);
  font-size: 1.1rem;
  color: var(--primary);
  font-style: italic;
}

[data-theme="dark"] blockquote {
  color: var(--text);
  background: rgba(230,57,70,0.1);
}

blockquote cite {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.85rem;
  font-style: normal;
  color: var(--muted);
  font-family: var(--font-body);
}

code {
  font-family: var(--font-mono);
  background: #f0f0f0;
  padding: 0.1em 0.4em;
  border-radius: 3px;
  font-size: 0.875em;
  color: #c7254e;
}

[data-theme="dark"] code {
  background: #2a3347;
  color: #e83e8c;
}

pre {
  background: #1e1e2e;
  color: #cdd6f4;
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius);
  overflow-x: auto;
  font-size: 0.9rem;
  line-height: 1.6;
  margin: 1.5rem 0;
}

pre code {
  background: none;
  color: inherit;
  padding: 0;
}

mark {
  background: rgba(249,168,37,0.35);
  color: var(--text);
  padding: 0 0.2em;
  border-radius: 2px;
}

hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 2rem 0;
}

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

.container-fluid {
  width: 100%;
  padding: 0 1.25rem;
}

/* --------------------------------------------------------------------------
   5. Top Bar
   -------------------------------------------------------------------------- */
.top-bar {
  background: var(--primary);
  color: rgba(255,255,255,0.85);
  height: var(--topbar-h);
  display: flex;
  align-items: center;
  font-size: 0.78rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  position: relative;
  z-index: 100;
}

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

.top-bar-left {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.top-bar-date {
  color: rgba(255,255,255,0.7);
  font-size: 0.77rem;
  letter-spacing: 0.02em;
}

.top-bar-weather {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  color: rgba(255,255,255,0.75);
}

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

.top-bar-social {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.top-bar-social a {
  color: rgba(255,255,255,0.6);
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 0.8rem;
  transition: var(--transition);
}

.top-bar-social a:hover {
  color: #ffffff;
  background: rgba(255,255,255,0.12);
}

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

.top-bar-links a {
  color: rgba(255,255,255,0.7);
  font-size: 0.77rem;
  transition: var(--transition);
}

.top-bar-links a:hover {
  color: var(--accent);
}

.top-bar-separator {
  width: 1px;
  height: 14px;
  background: rgba(255,255,255,0.2);
}

/* --------------------------------------------------------------------------
   6. Breaking News Bar
   -------------------------------------------------------------------------- */
.breaking-news-bar {
  background: var(--accent);
  color: #ffffff;
  height: var(--ticker-h);
  display: flex;
  align-items: center;
  overflow: hidden;
  position: relative;
  z-index: 99;
}

.breaking-label {
  background: var(--primary);
  color: #ffffff;
  padding: 0 1rem;
  height: 100%;
  display: flex;
  align-items: center;
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  flex-shrink: 0;
  position: relative;
}

.breaking-label::after {
  content: '';
  position: absolute;
  right: -8px;
  top: 50%;
  transform: translateY(-50%);
  border-left: 8px solid var(--primary);
  border-top: 18px solid transparent;
  border-bottom: 18px solid transparent;
}

.ticker-wrapper {
  overflow: hidden;
  flex: 1;
  position: relative;
  padding-left: 1.5rem;
}

.ticker-track {
  display: flex;
  align-items: center;
  white-space: nowrap;
  animation: ticker-scroll 30s linear infinite;
}

.ticker-track:hover {
  animation-play-state: paused;
}

.ticker-track span {
  display: inline-block;
  padding: 0 2.5rem 0 0;
  font-size: 0.85rem;
  font-weight: 500;
}

.ticker-track span::before {
  content: '•';
  margin-right: 0.5rem;
  opacity: 0.6;
}

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

/* --------------------------------------------------------------------------
   7. Site Header
   -------------------------------------------------------------------------- */
.site-header {
  background: var(--white);
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 200;
  transition: var(--transition);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 1.5rem;
}

.site-logo {
  display: flex;
  align-items: baseline;
  gap: 0;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-incisor {
  font-family: var(--font-headline);
  font-weight: 900;
  font-size: 1.85rem;
  color: var(--primary);
  letter-spacing: -0.02em;
  line-height: 1;
  text-transform: uppercase;
}

.logo-news {
  font-family: var(--font-headline);
  font-weight: 900;
  font-size: 1.85rem;
  color: var(--accent);
  letter-spacing: -0.02em;
  line-height: 1;
  text-transform: uppercase;
}

.logo-tagline {
  display: block;
  font-size: 0.6rem;
  color: var(--muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-family: var(--font-body);
  font-weight: 500;
  margin-top: 2px;
}

.site-logo-wrap {
  display: flex;
  flex-direction: column;
}

.header-search {
  flex: 1;
  max-width: 380px;
  position: relative;
}

.header-search-form {
  display: flex;
  align-items: center;
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: 50px;
  overflow: hidden;
  transition: var(--transition);
}

.header-search-form:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(230,57,70,0.1);
}

.header-search-form input {
  border: none;
  background: none;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  color: var(--text);
  width: 100%;
  outline: none;
}

.header-search-form button {
  background: var(--accent);
  color: #fff;
  border: none;
  padding: 0.5rem 1rem;
  cursor: pointer;
  font-size: 0.9rem;
  transition: var(--transition);
  display: flex;
  align-items: center;
}

.header-search-form button:hover {
  background: var(--accent-hover);
}

/* Search Typeahead Dropdown */
.search-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-hover);
  z-index: 300;
  overflow: hidden;
  display: none;
}

.search-dropdown.active {
  display: block;
}

.search-dropdown-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.6rem 1rem;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
  transition: var(--transition);
}

.search-dropdown-item:last-child {
  border-bottom: none;
}

.search-dropdown-item:hover {
  background: var(--bg);
}

.search-dropdown-img {
  width: 44px;
  height: 36px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}

.search-dropdown-text h5 {
  font-size: 0.82rem;
  font-family: var(--font-body);
  font-weight: 600;
  margin: 0;
  color: var(--text);
  line-height: 1.3;
}

.search-dropdown-text span {
  font-size: 0.73rem;
  color: var(--muted);
}

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

.btn-subscribe {
  background: var(--accent);
  color: #fff;
  padding: 0.45rem 1.25rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-subscribe:hover {
  background: var(--accent-hover);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(230,57,70,0.3);
}

.theme-toggle {
  background: var(--bg);
  border: 1.5px solid var(--border);
  color: var(--text);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: var(--transition);
  cursor: pointer;
}

.theme-toggle:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* --------------------------------------------------------------------------
   8. Crypto Ticker Bar
   -------------------------------------------------------------------------- */
.crypto-ticker-bar {
  background: #0d1b2a;
  color: #fff;
  height: var(--crypto-h);
  display: flex;
  align-items: center;
  overflow: hidden;
  font-size: 0.78rem;
  font-family: var(--font-mono);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.crypto-ticker-label {
  background: var(--crypto-gold);
  color: #000;
  padding: 0 0.85rem;
  height: 100%;
  display: flex;
  align-items: center;
  font-weight: 800;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
  flex-shrink: 0;
  font-family: var(--font-body);
}

.crypto-ticker-scroll {
  display: flex;
  align-items: center;
  gap: 0;
  overflow: hidden;
  flex: 1;
  padding: 0 0.75rem;
}

.crypto-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0 1.25rem;
  border-right: 1px solid rgba(255,255,255,0.1);
  white-space: nowrap;
  font-size: 0.78rem;
  cursor: default;
  transition: var(--transition);
}

.crypto-item:last-child {
  border-right: none;
}

.crypto-item:hover {
  background: rgba(255,255,255,0.05);
}

.crypto-symbol {
  font-weight: 700;
  color: var(--crypto-gold);
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  font-family: var(--font-body);
}

.crypto-price {
  color: #e0e0e0;
}

.crypto-change {
  font-size: 0.72rem;
  font-weight: 600;
  font-family: var(--font-body);
}

.crypto-change.up {
  color: #4caf50;
}

.crypto-change.down {
  color: var(--accent);
}

.crypto-change.up::before { content: '▲ '; font-size: 0.6rem; }
.crypto-change.down::before { content: '▼ '; font-size: 0.6rem; }

/* --------------------------------------------------------------------------
   9. Main Navigation
   -------------------------------------------------------------------------- */
.main-nav {
  background: var(--primary);
  position: relative;
  z-index: 150;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-h);
}

.nav-menu {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 0;
  height: 100%;
}

.nav-item {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
}

.nav-link {
  color: rgba(255,255,255,0.85);
  font-size: 0.83rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  padding: 0 0.9rem;
  height: 100%;
  display: flex;
  align-items: center;
  text-decoration: none;
  position: relative;
  transition: var(--transition);
  white-space: nowrap;
  text-transform: uppercase;
  font-size: 0.78rem;
  letter-spacing: 0.05em;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0.9rem;
  right: 0.9rem;
  height: 3px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: center;
  transition: var(--transition);
}

.nav-item:hover .nav-link,
.nav-item.active .nav-link {
  color: #ffffff;
}

.nav-item:hover .nav-link::after,
.nav-item.active .nav-link::after {
  transform: scaleX(1);
}

.nav-item.active .nav-link {
  background: rgba(255,255,255,0.06);
}

/* Dropdown arrow */
.nav-link.has-dropdown::after {
  display: none;
}

.nav-link.has-dropdown .dropdown-arrow {
  font-size: 0.6rem;
  margin-left: 0.3rem;
  transition: transform 0.2s;
  display: inline-block;
}

.nav-item:hover .nav-link.has-dropdown .dropdown-arrow {
  transform: rotate(180deg);
}

/* Dropdown menu */
.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--white);
  min-width: 200px;
  border-radius: 0 0 var(--radius) var(--radius);
  box-shadow: var(--shadow-hover);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  z-index: 200;
  border-top: 3px solid var(--accent);
}

.nav-item:hover .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-dropdown-item {
  display: block;
  padding: 0.55rem 1rem;
  font-size: 0.83rem;
  color: var(--text);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
  white-space: nowrap;
}

.nav-dropdown-item:last-child {
  border-bottom: none;
}

.nav-dropdown-item:hover {
  background: var(--bg);
  color: var(--accent);
  padding-left: 1.25rem;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav-live-badge {
  background: var(--accent);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 0.2rem 0.55rem;
  border-radius: 50px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  animation: pulse-live 1.5s infinite;
}

@keyframes pulse-live {
  0%, 100% { box-shadow: 0 0 0 0 rgba(230,57,70,0.5); }
  50% { box-shadow: 0 0 0 6px rgba(230,57,70,0); }
}

.nav-live-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  background: #fff;
  border-radius: 50%;
  display: inline-block;
}

/* --------------------------------------------------------------------------
   10. Hamburger Menu
   -------------------------------------------------------------------------- */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 38px;
  height: 38px;
  cursor: pointer;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  background: none;
  border: none;
  padding: 0;
}

.hamburger:hover {
  background: rgba(255,255,255,0.08);
}

.hamburger-bar {
  display: block;
  width: 22px;
  height: 2px;
  background: #ffffff;
  border-radius: 2px;
  transition: var(--transition);
}

.hamburger.active .hamburger-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.active .hamburger-bar:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.hamburger.active .hamburger-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* --------------------------------------------------------------------------
   11. Mobile Nav
   -------------------------------------------------------------------------- */
.mobile-nav {
  display: none;
  position: fixed;
  top: 0;
  right: -100%;
  width: 280px;
  height: 100vh;
  background: var(--primary);
  z-index: 9999;
  overflow-y: auto;
  padding: 1.5rem 0;
  transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: -4px 0 20px rgba(0,0,0,0.3);
}

.mobile-nav.open {
  right: 0;
}

.mobile-nav-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.25rem 1.25rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 0.5rem;
}

.mobile-nav-close {
  color: rgba(255,255,255,0.7);
  font-size: 1.4rem;
  cursor: pointer;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: var(--transition);
}

.mobile-nav-close:hover {
  background: rgba(255,255,255,0.1);
  color: #fff;
}

.mobile-nav-item {
  display: block;
  color: rgba(255,255,255,0.85);
  padding: 0.75rem 1.5rem;
  font-size: 0.9rem;
  font-weight: 500;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: var(--transition);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 0.82rem;
}

.mobile-nav-item:hover,
.mobile-nav-item.active {
  color: #fff;
  background: rgba(255,255,255,0.06);
  border-left: 3px solid var(--accent);
  padding-left: calc(1.5rem - 3px);
}

.mobile-nav-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  z-index: 9998;
  backdrop-filter: blur(2px);
}

.mobile-nav-overlay.active {
  display: block;
}

/* --------------------------------------------------------------------------
   12. Hero Section
   -------------------------------------------------------------------------- */
.hero-section {
  padding: 1.75rem 0;
}

.hero-grid-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 1.25rem;
  align-items: start;
}

.hero-main {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow-card);
  transition: var(--transition);
}

.hero-main:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}

.hero-main-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/9;
}

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

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

.hero-main-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.4) 60%, transparent 100%);
  padding: 1.5rem;
  color: #fff;
}

.hero-main-content {
  padding: 1.25rem 1.5rem 1.5rem;
}

.hero-main-content .article-title {
  font-size: 1.65rem;
  line-height: 1.2;
  margin-bottom: 0.5rem;
}

.hero-main-content .article-excerpt {
  font-size: 0.92rem;
  color: var(--muted);
  margin-bottom: 0.75rem;
  line-height: 1.6;
}

.hero-side-stack {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* --------------------------------------------------------------------------
   13. Article Cards
   -------------------------------------------------------------------------- */
.article-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  position: relative;
}

.article-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-3px);
}

.article-card-img {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/9;
  flex-shrink: 0;
}

.article-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.article-card:hover .article-card-img img {
  transform: scale(1.05);
}

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

.article-card-body .article-title {
  font-size: 1rem;
  line-height: 1.35;
  margin-bottom: 0.4rem;
  color: var(--primary);
}

[data-theme="dark"] .article-card-body .article-title {
  color: var(--text);
}

.article-card-body .article-title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}

.article-card-body .article-title a:hover {
  color: var(--accent);
}

.article-card-body .article-excerpt {
  font-size: 0.83rem;
  color: var(--muted);
  line-height: 1.55;
  flex: 1;
  margin-bottom: 0.6rem;
  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.76rem;
  color: var(--muted);
  flex-wrap: wrap;
}

.article-meta a {
  color: var(--muted);
  transition: color 0.2s;
}

.article-meta a:hover {
  color: var(--accent);
}

.article-meta-sep {
  color: var(--border);
}

/* Card horizontal layout */
.article-card.horizontal {
  flex-direction: row;
}

.article-card.horizontal .article-card-img {
  width: 130px;
  min-width: 130px;
  aspect-ratio: unset;
}

.article-card.horizontal .article-card-body {
  padding: 0.75rem;
}

.article-card.horizontal .article-card-body .article-title {
  font-size: 0.87rem;
}

/* Card compact (no image) */
.article-card.compact {
  flex-direction: row;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  border-radius: 0;
  border-bottom: 1px solid var(--border);
  box-shadow: none;
  background: none;
}

.article-card.compact:last-child {
  border-bottom: none;
}

.article-card.compact:hover {
  transform: none;
  box-shadow: none;
  background: var(--bg);
}

.article-card.compact .article-card-img {
  width: 70px;
  min-width: 70px;
  height: 55px;
  aspect-ratio: unset;
  border-radius: var(--radius-sm);
}

.article-card.compact .article-card-body {
  padding: 0;
}

.article-card.compact .article-card-body .article-title {
  font-size: 0.82rem;
  -webkit-line-clamp: 2;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Featured / large card */
.article-card.featured {
  border: none;
}

.article-card.featured .article-card-img {
  aspect-ratio: 4/3;
}

/* --------------------------------------------------------------------------
   14. Category Badge
   -------------------------------------------------------------------------- */
.category-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.65rem;
  border-radius: 50px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  text-decoration: none;
  transition: var(--transition);
  flex-shrink: 0;
  margin-bottom: 0.4rem;
  width: fit-content;
}

.category-badge:hover {
  color: #fff;
  opacity: 0.9;
  transform: translateY(-1px);
}

.category-badge.world      { background: var(--cat-world); }
.category-badge.business   { background: var(--cat-business); }
.category-badge.technology { background: var(--cat-tech); }
.category-badge.finance    { background: var(--cat-finance); }
.category-badge.trading    { background: var(--cat-trading); }
.category-badge.crypto     { background: var(--cat-crypto); color: #000; }
.category-badge.ai         { background: var(--cat-ai); }
.category-badge.politics   { background: var(--cat-politics); }
.category-badge.weather    { background: var(--cat-weather); }
.category-badge.interviews { background: var(--cat-interview); }
.category-badge.articles   { background: var(--cat-articles); }
.category-badge.videos     { background: var(--cat-videos); }

/* Generic */
.category-badge.default {
  background: var(--muted);
}

/* --------------------------------------------------------------------------
   15. Section Headers
   -------------------------------------------------------------------------- */
.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
  padding-bottom: 0.65rem;
  border-bottom: 2px solid var(--border);
  position: relative;
}

.section-header::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 60px;
  height: 3px;
  background: var(--accent);
  border-radius: 2px;
}

.section-title {
  font-family: var(--font-headline);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

[data-theme="dark"] .section-title {
  color: var(--text);
}

.section-title-icon {
  color: var(--accent);
  font-size: 1rem;
}

.view-all-link {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: 0.25rem;
  transition: var(--transition);
  white-space: nowrap;
  letter-spacing: 0.03em;
}

.view-all-link:hover {
  color: var(--accent-hover);
  gap: 0.5rem;
}

/* Colored variants */
.section-header.tech::after  { background: var(--cat-tech); }
.section-header.biz::after   { background: var(--cat-business); }
.section-header.fin::after   { background: var(--cat-finance); }
.section-header.pol::after   { background: var(--cat-politics); }
.section-header.crypto::after { background: var(--cat-crypto); }
.section-header.ai::after    { background: var(--cat-ai); }

/* --------------------------------------------------------------------------
   16. Category Strips
   -------------------------------------------------------------------------- */
.category-strip {
  margin-bottom: 2.5rem;
}

.category-strip-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 300px;
  gap: 1.25rem;
  align-items: start;
}

.category-strip-main {
  grid-column: span 2;
}

.category-strip-sidebar {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

/* --------------------------------------------------------------------------
   17. Trending Widget
   -------------------------------------------------------------------------- */
.trending-widget {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.trending-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
  cursor: pointer;
}

.trending-item:last-child {
  border-bottom: none;
}

.trending-item:hover {
  transform: translateX(3px);
}

.trending-number {
  font-family: var(--font-headline);
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--border);
  min-width: 2rem;
  line-height: 1;
  text-align: center;
}

.trending-item:nth-child(1) .trending-number { color: var(--accent); }
.trending-item:nth-child(2) .trending-number { color: var(--secondary); }
.trending-item:nth-child(3) .trending-number { color: var(--crypto-gold); }

.trending-thumb {
  width: 65px;
  height: 52px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  flex-shrink: 0;
}

.trending-content {
  flex: 1;
  min-width: 0;
}

.trending-title {
  font-size: 0.84rem;
  font-weight: 600;
  font-family: var(--font-body);
  color: var(--text);
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.2s;
}

.trending-title a {
  color: inherit;
  text-decoration: none;
}

.trending-title a:hover {
  color: var(--accent);
}

.trending-meta {
  font-size: 0.73rem;
  color: var(--muted);
  margin-top: 0.2rem;
}

/* --------------------------------------------------------------------------
   18. Sidebar
   -------------------------------------------------------------------------- */
.sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  position: sticky;
  top: calc(var(--header-h) + 1rem);
}

/* --------------------------------------------------------------------------
   19. Widget
   -------------------------------------------------------------------------- */
.widget {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.widget-title {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--primary);
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--border);
  border-left: 4px solid var(--accent);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

[data-theme="dark"] .widget-title {
  color: var(--text);
}

.widget-body {
  padding: 1rem;
}

.widget-body-flush {
  padding: 0;
}

/* --------------------------------------------------------------------------
   20. Video Section
   -------------------------------------------------------------------------- */
.video-section {
  background: #0d1b2a;
  padding: 2.5rem 0;
  margin: 2rem 0;
}

.video-section .section-title {
  color: #fff;
}

.video-section .section-header::after {
  background: var(--cat-videos);
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

/* --------------------------------------------------------------------------
   21. Video Card
   -------------------------------------------------------------------------- */
.video-card {
  background: #1a2a3a;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  transition: var(--transition);
}

.video-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}

.video-card-thumb {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
}

.video-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.video-card:hover .video-card-thumb img {
  transform: scale(1.05);
}

.video-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 48px;
  height: 48px;
  background: rgba(230,57,70,0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.1rem;
  transition: var(--transition);
  backdrop-filter: blur(4px);
}

.video-card:hover .video-play-btn {
  background: var(--accent);
  transform: translate(-50%, -50%) scale(1.1);
  box-shadow: 0 0 0 8px rgba(230,57,70,0.2);
}

.video-duration {
  position: absolute;
  bottom: 0.5rem;
  right: 0.5rem;
  background: rgba(0,0,0,0.75);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.15rem 0.45rem;
  border-radius: var(--radius-sm);
  letter-spacing: 0.02em;
}

.video-card-body {
  padding: 0.85rem;
}

.video-card-title {
  font-size: 0.88rem;
  font-weight: 600;
  color: #e0e0e0;
  line-height: 1.35;
  margin-bottom: 0.35rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-family: var(--font-body);
}

.video-card-meta {
  font-size: 0.73rem;
  color: rgba(255,255,255,0.45);
}

/* Video Lightbox Modal */
.video-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  background: rgba(0,0,0,0.92);
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
}

.video-modal.active {
  display: flex;
}

.video-modal-inner {
  position: relative;
  width: 90%;
  max-width: 900px;
}

.video-modal-iframe-wrap {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
}

.video-modal-iframe-wrap iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: var(--radius);
}

.video-modal-close {
  position: absolute;
  top: -2.5rem;
  right: 0;
  color: rgba(255,255,255,0.7);
  font-size: 1.5rem;
  cursor: pointer;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: var(--transition);
  background: none;
  border: none;
}

.video-modal-close:hover {
  color: #fff;
  background: rgba(255,255,255,0.1);
}

/* --------------------------------------------------------------------------
   22. Weather Widget
   -------------------------------------------------------------------------- */
.weather-widget {
  padding: 1.25rem;
}

.weather-main {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.weather-icon {
  font-size: 3rem;
  line-height: 1;
}

.weather-temp {
  font-size: 2.8rem;
  font-weight: 800;
  font-family: var(--font-headline);
  color: var(--primary);
  line-height: 1;
}

[data-theme="dark"] .weather-temp {
  color: var(--text);
}

.weather-temp sup {
  font-size: 1.2rem;
  font-weight: 400;
}

.weather-desc {
  font-size: 0.88rem;
  color: var(--muted);
  margin-top: 0.2rem;
}

.weather-location {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: 0.3rem;
  margin-top: 0.15rem;
}

.weather-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border);
}

.weather-detail-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  color: var(--muted);
}

.weather-detail-item i {
  color: var(--cat-weather);
  font-size: 0.85rem;
}

/* --------------------------------------------------------------------------
   23. Article Page
   -------------------------------------------------------------------------- */
.article-full-wrap {
  padding: 1.75rem 0 3rem;
}

.article-full-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 2rem;
  align-items: start;
}

.article-full {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.article-header {
  padding: 2rem 2rem 1rem;
}

.article-featured-image {
  width: 100%;
  max-height: 500px;
  overflow: hidden;
}

.article-featured-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article-featured-image figcaption {
  background: var(--bg);
  padding: 0.5rem 1rem;
  font-size: 0.78rem;
  color: var(--muted);
  font-style: italic;
  border-top: 1px solid var(--border);
}

.article-title-main {
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  line-height: 1.2;
  margin-bottom: 1rem;
  color: var(--primary);
}

[data-theme="dark"] .article-title-main {
  color: var(--text);
}

.article-byline {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
}

.author-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.byline-info {
  flex: 1;
}

.byline-author {
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--text);
  display: block;
}

.byline-author a {
  color: var(--text);
}

.byline-author a:hover {
  color: var(--accent);
}

.byline-meta {
  font-size: 0.76rem;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-top: 0.15rem;
}

.article-reading-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: var(--accent);
  z-index: 9999;
  width: 0%;
  transition: width 0.1s linear;
  border-radius: 0 2px 2px 0;
}

/* --------------------------------------------------------------------------
   24. Article Content
   -------------------------------------------------------------------------- */
.article-content {
  padding: 1.5rem 2rem 2rem;
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text);
}

.article-content p {
  margin-bottom: 1.25rem;
}

.article-content p:first-child::first-letter {
  float: left;
  font-family: var(--font-headline);
  font-size: 3.5rem;
  line-height: 0.8;
  padding: 0.15rem 0.15rem 0 0;
  font-weight: 900;
  color: var(--accent);
}

.article-content h2 {
  font-size: 1.6rem;
  margin: 2rem 0 0.75rem;
  padding-bottom: 0.4rem;
  border-bottom: 2px solid var(--border);
  position: relative;
}

.article-content h2::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 40px;
  height: 2px;
  background: var(--accent);
}

.article-content h3 {
  font-size: 1.25rem;
  margin: 1.5rem 0 0.6rem;
  color: var(--primary);
}

[data-theme="dark"] .article-content h3 {
  color: var(--text);
}

.article-content blockquote {
  font-size: 1.15rem;
  margin: 1.75rem 0;
}

.article-content img {
  width: 100%;
  border-radius: var(--radius);
  margin: 1.5rem 0;
  box-shadow: var(--shadow);
}

.article-content figure {
  margin: 1.5rem 0;
}

.article-content figcaption {
  text-align: center;
  font-size: 0.8rem;
  color: var(--muted);
  font-style: italic;
  margin-top: 0.4rem;
}

.article-content ul,
.article-content ol {
  margin: 1rem 0 1.25rem 1.5rem;
}

.article-content ul {
  list-style: disc;
}

.article-content ol {
  list-style: decimal;
}

.article-content li {
  margin-bottom: 0.4rem;
  padding-left: 0.25rem;
}

.article-content a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.article-content a:hover {
  color: var(--accent-hover);
}

.article-content table {
  margin: 1.5rem 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.article-content table th {
  background: var(--primary);
  color: #fff;
  padding: 0.65rem 1rem;
  font-size: 0.85rem;
  text-align: left;
}

.article-content table td {
  padding: 0.6rem 1rem;
  font-size: 0.88rem;
  border-bottom: 1px solid var(--border);
}

.article-content table tr:nth-child(even) td {
  background: var(--bg);
}

.article-footer {
  padding: 1.25rem 2rem;
  border-top: 1px solid var(--border);
  background: var(--bg);
}

.article-tags {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.article-tags-label {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* --------------------------------------------------------------------------
   25. Social Share
   -------------------------------------------------------------------------- */
.social-share {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 1rem 2rem;
  border-top: 1px solid var(--border);
}

.social-share-label {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-right: 0.25rem;
}

.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.9rem;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  color: #fff;
  text-decoration: none;
}

.share-btn:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.share-btn.facebook   { background: #1877f2; }
.share-btn.twitter    { background: #000000; }
.share-btn.whatsapp   { background: #25d366; }
.share-btn.linkedin   { background: #0a66c2; }
.share-btn.copy-link  {
  background: var(--bg);
  color: var(--text);
  border: 1.5px solid var(--border);
}

.share-btn.copy-link:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

/* --------------------------------------------------------------------------
   26. Related Articles
   -------------------------------------------------------------------------- */
.related-articles {
  padding: 2rem 0;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

/* --------------------------------------------------------------------------
   27. Comments Section
   -------------------------------------------------------------------------- */
.comments-section {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: 2rem;
  margin-top: 1.5rem;
}

.comments-title {
  font-size: 1.3rem;
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--border);
  position: relative;
}

.comments-title::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 50px;
  height: 2px;
  background: var(--accent);
}

.comment-list {
  margin-bottom: 2rem;
}

.comment-item {
  display: flex;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
}

.comment-item:last-child {
  border-bottom: none;
}

.comment-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  font-family: var(--font-headline);
}

.comment-body {
  flex: 1;
}

.comment-header {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  margin-bottom: 0.3rem;
  flex-wrap: wrap;
}

.comment-author {
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--text);
}

.comment-date {
  font-size: 0.73rem;
  color: var(--muted);
}

.comment-text {
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--text);
}

.comment-actions {
  margin-top: 0.35rem;
  display: flex;
  gap: 0.75rem;
}

.comment-action-btn {
  font-size: 0.73rem;
  color: var(--muted);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  transition: color 0.2s;
}

.comment-action-btn:hover {
  color: var(--accent);
}

/* Comment Form */
.comment-form {
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
  margin-top: 1rem;
}

.comment-form h3 {
  font-size: 1.1rem;
  margin-bottom: 1.25rem;
}

.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  font-size: 0.83rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.4rem;
}

.form-control {
  width: 100%;
  padding: 0.65rem 0.9rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.9rem;
  color: var(--text);
  background: var(--white);
  transition: var(--transition);
  outline: none;
  font-family: var(--font-body);
}

.form-control:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(230,57,70,0.1);
}

[data-theme="dark"] .form-control {
  background: #1a2132;
  color: var(--text);
  border-color: var(--border);
}

textarea.form-control {
  resize: vertical;
  min-height: 110px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

/* --------------------------------------------------------------------------
   28. Breadcrumbs
   -------------------------------------------------------------------------- */
.breadcrumb-nav {
  padding: 0.75rem 0;
  font-size: 0.8rem;
  color: var(--muted);
  border-bottom: 1px solid var(--border);
  margin-bottom: 0;
}

.breadcrumb-list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.35rem;
  list-style: none;
}

.breadcrumb-item {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.breadcrumb-item a {
  color: var(--muted);
  transition: color 0.2s;
}

.breadcrumb-item a:hover {
  color: var(--accent);
}

.breadcrumb-item.active {
  color: var(--text);
  font-weight: 500;
}

.breadcrumb-sep {
  color: var(--border);
}

/* --------------------------------------------------------------------------
   29. Category Page
   -------------------------------------------------------------------------- */
.category-page {
  padding-bottom: 3rem;
}

.category-banner {
  background: var(--primary);
  color: #fff;
  padding: 2.5rem 0;
  margin-bottom: 2rem;
  position: relative;
  overflow: hidden;
}

.category-banner::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -5%;
  width: 350px;
  height: 350px;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
}

.category-banner::after {
  content: '';
  position: absolute;
  bottom: -60%;
  right: 15%;
  width: 250px;
  height: 250px;
  border-radius: 50%;
  background: rgba(255,255,255,0.03);
}

.category-banner-content {
  position: relative;
  z-index: 1;
}

.category-banner-label {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.5rem;
}

.category-banner-title {
  font-size: clamp(2rem, 5vw, 3rem);
  color: #fff;
  margin-bottom: 0.5rem;
}

.category-banner-desc {
  font-size: 1rem;
  color: rgba(255,255,255,0.7);
  max-width: 560px;
}

.category-banner-count {
  margin-top: 0.75rem;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
}

.category-articles-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 2rem;
  align-items: start;
}

.category-articles-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

/* --------------------------------------------------------------------------
   30. Search Results
   -------------------------------------------------------------------------- */
.search-results-page {
  padding: 2rem 0 3rem;
}

.search-header {
  margin-bottom: 2rem;
}

.search-query-display {
  font-size: 1.1rem;
  color: var(--muted);
}

.search-query-display strong {
  color: var(--accent);
}

.search-result-count {
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 0.25rem;
}

.search-highlight {
  background: rgba(249,168,37,0.4);
  color: var(--text);
  padding: 0 0.15em;
  border-radius: 2px;
  font-weight: 600;
}

.search-results-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.search-result-item {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.25rem;
  box-shadow: var(--shadow-card);
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  transition: var(--transition);
}

.search-result-item:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}

.search-result-img {
  width: 140px;
  min-width: 140px;
  height: 95px;
  object-fit: cover;
  border-radius: var(--radius-sm);
}

.search-result-body {
  flex: 1;
}

.search-result-title {
  font-size: 1.1rem;
  margin-bottom: 0.35rem;
}

.search-result-title a {
  color: var(--primary);
}

[data-theme="dark"] .search-result-title a {
  color: var(--text);
}

.search-result-title a:hover {
  color: var(--accent);
}

.search-result-excerpt {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* --------------------------------------------------------------------------
   31. Pagination
   -------------------------------------------------------------------------- */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 2rem 0;
  flex-wrap: wrap;
}

.page-item {
  display: inline-flex;
}

.page-link {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding: 0 0.5rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text);
  background: var(--white);
  transition: var(--transition);
  text-decoration: none;
}

.page-link:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.page-item.active .page-link {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.page-item.disabled .page-link {
  opacity: 0.45;
  cursor: not-allowed;
  pointer-events: none;
}

/* --------------------------------------------------------------------------
   32. Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--primary);
  color: rgba(255,255,255,0.75);
  padding-top: 3.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand .site-logo {
  margin-bottom: 0.85rem;
}

.footer-brand-desc {
  font-size: 0.875rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.6);
  margin-bottom: 1.25rem;
  max-width: 300px;
}

.footer-social {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.footer-social-link {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  transition: var(--transition);
  text-decoration: none;
}

.footer-social-link:hover {
  background: var(--accent);
  color: #fff;
  transform: translateY(-2px);
}

.footer-col-title {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 1.25rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-col-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--accent);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-link {
  color: rgba(255,255,255,0.6);
  font-size: 0.875rem;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 0.35rem;
  text-decoration: none;
}

.footer-link::before {
  content: '›';
  font-size: 0.9rem;
  color: var(--accent);
  transition: var(--transition);
}

.footer-link:hover {
  color: #fff;
  padding-left: 4px;
}

/* --------------------------------------------------------------------------
   33. Newsletter Form
   -------------------------------------------------------------------------- */
.newsletter-form {
  margin-top: 0.5rem;
}

.newsletter-desc {
  font-size: 0.83rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 0.85rem;
  line-height: 1.6;
}

.newsletter-input-wrap {
  display: flex;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1.5px solid rgba(255,255,255,0.15);
  transition: var(--transition);
}

.newsletter-input-wrap:focus-within {
  border-color: var(--accent);
}

.newsletter-input {
  flex: 1;
  padding: 0.65rem 0.9rem;
  background: rgba(255,255,255,0.07);
  border: none;
  color: #fff;
  font-size: 0.85rem;
  outline: none;
}

.newsletter-input::placeholder {
  color: rgba(255,255,255,0.4);
}

.newsletter-btn {
  background: var(--accent);
  color: #fff;
  border: none;
  padding: 0.65rem 1.1rem;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.newsletter-btn:hover {
  background: var(--accent-hover);
}

.newsletter-ok {
  display: none;
  font-size: 0.85rem;
  color: #4caf50;
  margin-top: 0.5rem;
  align-items: center;
  gap: 0.3rem;
}

.newsletter-ok.show {
  display: flex;
}

/* Footer Bottom */
.footer-bottom {
  padding: 1.25rem 0;
}

.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.45);
}

.footer-bottom-links {
  display: flex;
  gap: 1.25rem;
}

.footer-bottom-links a {
  color: rgba(255,255,255,0.45);
  font-size: 0.8rem;
  transition: color 0.2s;
  text-decoration: none;
}

.footer-bottom-links a:hover {
  color: rgba(255,255,255,0.8);
}

/* --------------------------------------------------------------------------
   34. Ad Zones
   -------------------------------------------------------------------------- */
.ad-zone {
  text-align: center;
  margin: 1.25rem 0;
}

.ad-zone-label {
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--muted);
  text-transform: uppercase;
  margin-bottom: 0.35rem;
  display: block;
}

.ad-zone-inner {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--bg);
  border: 1px dashed var(--border);
  border-radius: var(--radius-sm);
  min-height: 90px;
  padding: 0.5rem;
  max-width: 100%;
  overflow: hidden;
  cursor: pointer;
  transition: var(--transition);
}

.ad-zone-inner:hover {
  border-color: var(--muted);
}

.ad-zone img {
  max-width: 100%;
  display: block;
  border-radius: 4px;
}

.ad-zone-placeholder {
  color: var(--muted);
  font-size: 0.8rem;
  opacity: 0.6;
}

.ad-banner { min-height: 90px; }
.ad-rectangle { min-height: 250px; width: 300px; }
.ad-leaderboard { min-height: 90px; width: 728px; max-width: 100%; }
.ad-skyscraper { min-height: 600px; width: 160px; }

/* --------------------------------------------------------------------------
   35. Error Pages (404, 500, etc.)
   -------------------------------------------------------------------------- */
.error-page {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 3rem 1.25rem;
}

.error-code {
  font-family: var(--font-headline);
  font-size: clamp(5rem, 15vw, 10rem);
  font-weight: 900;
  color: var(--accent);
  line-height: 1;
  opacity: 0.15;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  white-space: nowrap;
}

.error-content {
  position: relative;
  z-index: 1;
  max-width: 500px;
  margin: 0 auto;
}

.error-icon {
  font-size: 4rem;
  margin-bottom: 1rem;
  display: block;
}

.error-title {
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  margin-bottom: 0.75rem;
}

.error-message {
  font-size: 1rem;
  color: var(--muted);
  margin-bottom: 2rem;
  line-height: 1.6;
}

.error-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* --------------------------------------------------------------------------
   36. Tag Cloud
   -------------------------------------------------------------------------- */
.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tag-pill {
  display: inline-block;
  padding: 0.3rem 0.75rem;
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text);
  transition: var(--transition);
  text-decoration: none;
}

.tag-pill:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  transform: translateY(-1px);
}

/* --------------------------------------------------------------------------
   37. Back to Top Button
   -------------------------------------------------------------------------- */
.back-to-top {
  position: fixed;
  bottom: 1.75rem;
  right: 1.75rem;
  width: 44px;
  height: 44px;
  background: var(--accent);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px);
  transition: opacity 0.3s, transform 0.3s, background 0.2s;
  z-index: 500;
  box-shadow: 0 4px 15px rgba(230,57,70,0.4);
  border: none;
}

.back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--accent-hover);
  box-shadow: 0 6px 20px rgba(230,57,70,0.5);
  transform: translateY(-3px);
}

/* --------------------------------------------------------------------------
   38. Loading Spinner
   -------------------------------------------------------------------------- */
.spinner {
  display: inline-block;
  width: 36px;
  height: 36px;
  border: 3px solid var(--border);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

.spinner-sm {
  width: 20px;
  height: 20px;
  border-width: 2px;
}

.spinner-lg {
  width: 56px;
  height: 56px;
  border-width: 4px;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255,255,255,0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9998;
  backdrop-filter: blur(3px);
}

[data-theme="dark"] .loading-overlay {
  background: rgba(16,21,30,0.85);
}

.loading-container {
  text-align: center;
  padding: 2rem;
}

.loading-text {
  margin-top: 1rem;
  color: var(--muted);
  font-size: 0.9rem;
}

/* --------------------------------------------------------------------------
   39. Toast Notifications
   -------------------------------------------------------------------------- */
.toast-container {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10000;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: center;
  pointer-events: none;
}

.toast {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--primary);
  color: #fff;
  padding: 0.7rem 1.25rem;
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 500;
  box-shadow: 0 4px 20px rgba(0,0,0,0.25);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.3s, transform 0.3s;
  pointer-events: none;
  white-space: nowrap;
  max-width: 90vw;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.toast.success { background: var(--success); }
.toast.error   { background: var(--accent); }
.toast.warning { background: var(--warning); color: var(--text); }
.toast.info    { background: var(--info); }

/* Alert banners */
.alert {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.9rem 1.1rem;
  border-radius: var(--radius);
  font-size: 0.88rem;
  margin-bottom: 1rem;
  border: 1px solid transparent;
}

.alert-success { background: #d4edda; border-color: #c3e6cb; color: #155724; }
.alert-danger   { background: #f8d7da; border-color: #f5c6cb; color: #721c24; }
.alert-warning  { background: #fff3cd; border-color: #ffeeba; color: #856404; }
.alert-info     { background: #d1ecf1; border-color: #bee5eb; color: #0c5460; }

.alert-close {
  margin-left: auto;
  cursor: pointer;
  background: none;
  border: none;
  color: inherit;
  opacity: 0.6;
  font-size: 1rem;
  line-height: 1;
  padding: 0;
  flex-shrink: 0;
}

.alert-close:hover { opacity: 1; }

/* --------------------------------------------------------------------------
   40. Buttons (Global)
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.6rem 1.35rem;
  border-radius: var(--radius);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
  text-decoration: none;
  white-space: nowrap;
  font-family: var(--font-body);
}

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.btn-primary:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(230,57,70,0.3);
}

.btn-secondary {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}
.btn-secondary:hover {
  background: #162240;
  border-color: #162240;
  color: #fff;
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--accent);
  border-color: var(--accent);
}
.btn-outline:hover {
  background: var(--accent);
  color: #fff;
}

.btn-outline-white {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.5);
}
.btn-outline-white:hover {
  background: rgba(255,255,255,0.1);
  border-color: #fff;
  color: #fff;
}

.btn-success { background: var(--success); color: #fff; border-color: var(--success); }
.btn-success:hover { background: #218838; border-color: #218838; color: #fff; }

.btn-sm { padding: 0.4rem 0.9rem; font-size: 0.8rem; }
.btn-lg { padding: 0.8rem 1.75rem; font-size: 1rem; }

.btn-block { display: flex; width: 100%; }

/* --------------------------------------------------------------------------
   41. Homepage Layout Sections
   -------------------------------------------------------------------------- */
.home-section {
  padding: 2rem 0;
}

.home-section + .home-section {
  border-top: 1px solid var(--border);
}

.main-content-area {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 2rem;
  align-items: start;
  padding: 1.75rem 0 3rem;
}

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

.articles-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.articles-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.articles-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

/* --------------------------------------------------------------------------
   42. Image Lazy Loading
   -------------------------------------------------------------------------- */
.lazy {
  opacity: 0;
  transition: opacity 0.4s ease;
}

.lazy.loaded {
  opacity: 1;
}

.img-placeholder {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* --------------------------------------------------------------------------
   42b. INCISIORNEWS MASTER PORTAL LAYOUT & COMPONENTS
   -------------------------------------------------------------------------- */

/* Links & Typography */
a {
  color: inherit;
  text-decoration: none;
  transition: all 0.2s ease;
}
a:hover {
  color: #e63946;
}

/* Top Bar */
.top-bar {
  background: #091322;
  color: #cbd5e1;
  height: 42px;
  display: flex;
  align-items: center;
  font-size: 0.78rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  position: relative;
  z-index: 100;
}
.top-bar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.top-bar-left {
  display: flex;
  align-items: center;
  gap: 12px;
}
.top-bar-date {
  color: #94a3b8;
  font-size: 0.76rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.top-bar-weather {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: #cbd5e1;
  background: rgba(255,255,255,0.06);
  padding: 3px 10px;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.1);
}
.separator {
  color: rgba(255,255,255,0.25);
  font-size: 0.75rem;
}
.top-bar-link {
  color: #94a3b8;
  font-size: 0.76rem;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: color 0.2s;
}
.top-bar-link:hover {
  color: #38bdf8;
}
.top-bar-right {
  display: flex;
  align-items: center;
  gap: 8px;
}
.social-icon {
  color: #cbd5e1;
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 0.8rem;
  background: rgba(255,255,255,0.07);
  transition: all 0.2s;
}
.social-icon:hover {
  color: #ffffff;
  background: #e63946;
  transform: translateY(-1px);
}
.btn-subscribe {
  background: linear-gradient(135deg, #e63946 0%, #c1121f 100%);
  color: #ffffff !important;
  font-weight: 700;
  font-size: 0.75rem;
  padding: 5px 14px;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  box-shadow: 0 2px 8px rgba(230,57,70,0.3);
  transition: all 0.2s;
}
.btn-subscribe:hover {
  box-shadow: 0 4px 12px rgba(230,57,70,0.5);
  transform: translateY(-1px);
}

/* Breaking News Bar */
.breaking-news-bar {
  background: #dc2626;
  color: #ffffff;
  height: 38px;
  display: flex;
  align-items: center;
  overflow: hidden;
  position: relative;
  z-index: 90;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}
.breaking-news-bar .container {
  display: flex;
  align-items: center;
  height: 100%;
  width: 100%;
}
.breaking-label {
  background: #0f172a;
  color: #ffffff;
  padding: 0 14px;
  height: 100%;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 800;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  flex-shrink: 0;
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 50%, calc(100% - 10px) 100%, 0 100%);
  padding-right: 20px;
}
.breaking-label i {
  color: #fde047;
}
.ticker-wrap {
  flex: 1;
  overflow: hidden;
  position: relative;
  padding: 0 14px;
}
.ticker {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
}
.ticker-item {
  display: inline-flex;
  align-items: center;
  padding-right: 28px;
  font-size: 0.84rem;
  font-weight: 600;
  color: #ffffff;
}
.ticker-item::before {
  content: '⚡';
  margin-right: 8px;
  font-size: 0.8rem;
  color: #fde047;
}
.ticker-item a {
  color: #ffffff !important;
  text-decoration: none;
}
.ticker-item a:hover {
  text-decoration: underline;
  color: #fef08a !important;
}
.ticker-pause {
  background: transparent;
  border: none;
  color: rgba(255,255,255,0.7);
  padding: 4px 8px;
  cursor: pointer;
  font-size: 0.8rem;
  display: inline-flex;
  align-items: center;
  transition: color 0.2s;
}
.ticker-pause:hover {
  color: #ffffff;
}

/* Site Header & Logo */
.site-header {
  background: #ffffff;
  border-bottom: 1px solid #e2e8f0;
  padding: 16px 0;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.logo a {
  text-decoration: none;
  display: inline-block;
}
.logo-text {
  display: flex;
  align-items: baseline;
  line-height: 1;
}
.logo-incisor {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 900;
  font-size: 2.6rem;
  color: #0f172a;
  letter-spacing: -0.02em;
}
.logo-news {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 900;
  font-size: 2.6rem;
  color: #e63946;
  letter-spacing: -0.02em;
}
.logo-tagline {
  display: block;
  font-size: 0.68rem;
  color: #64748b;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-top: 4px;
}
.header-ad {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 728px;
}

/* Crypto Ticker Bar */
.crypto-ticker-bar {
  background: #091322;
  color: #cbd5e1;
  height: 40px;
  display: flex;
  align-items: center;
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  font-size: 0.8rem;
  position: relative;
  z-index: 85;
}
.crypto-ticker-bar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
}
.crypto-label {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #000;
  padding: 4px 10px;
  border-radius: 4px;
  font-weight: 800;
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}
.crypto-prices {
  display: flex;
  align-items: center;
  gap: 12px;
  overflow-x: auto;
  scrollbar-width: none;
  flex: 1;
  white-space: nowrap;
}
.crypto-prices::-webkit-scrollbar {
  display: none;
}
.crypto-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 3px 10px;
  border-radius: 20px;
}
.crypto-symbol {
  font-weight: 700;
  color: #f8fafc;
}
.crypto-price {
  font-weight: 600;
  color: #e2e8f0;
}
.crypto-change {
  font-weight: 700;
  font-size: 0.72rem;
}
.crypto-item--up .crypto-change {
  color: #4ade80;
}
.crypto-item--down .crypto-change {
  color: #f87171;
}
.crypto-more-link {
  color: #38bdf8;
  font-weight: 700;
  font-size: 0.75rem;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
  transition: color 0.2s;
}
.crypto-more-link:hover {
  color: #ffffff;
}
.crypto-error {
  color: #fca5a5;
  font-size: 0.78rem;
}

/* Main Nav */
.main-nav {
  background: #0f172a;
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 3px solid #e63946;
  box-shadow: 0 4px 15px rgba(0,0,0,0.12);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 52px;
}
.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-item {
  position: relative;
}
.nav-link {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  color: #cbd5e1 !important;
  font-weight: 700;
  font-size: 0.84rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: 4px;
  transition: all 0.2s ease;
}
.nav-link:hover {
  color: #ffffff !important;
  background: rgba(255,255,255,0.08);
}
.nav-link.active {
  color: #ffffff !important;
  background: #e63946;
}
.nav-search {
  display: flex;
  align-items: center;
}
.search-input-wrap {
  display: flex;
  align-items: center;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 20px;
  padding: 4px 8px 4px 14px;
  transition: all 0.25s ease;
}
.search-input-wrap:focus-within {
  background: #ffffff;
  border-color: #ffffff;
  box-shadow: 0 0 0 3px rgba(230,57,70,0.3);
}
.search-input-wrap input {
  background: transparent;
  border: none;
  outline: none;
  color: #ffffff;
  font-size: 0.82rem;
  width: 140px;
  transition: width 0.3s ease;
}
.search-input-wrap:focus-within input {
  color: #0f172a;
  width: 180px;
}
.search-input-wrap input::placeholder {
  color: #94a3b8;
}
.search-input-wrap button {
  background: transparent;
  border: none;
  color: #94a3b8;
  padding: 4px 6px;
  cursor: pointer;
  font-size: 0.84rem;
}
.search-input-wrap:focus-within button {
  color: #e63946;
}
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.hamburger-line {
  width: 24px;
  height: 2px;
  background: #ffffff;
  border-radius: 2px;
}

/* Hero Section & Trending */
.hero-section {
  padding: 24px 0 16px;
  background: #f8fafc;
}
.hero-grid {
  display: grid;
  grid-template-columns: 2fr 1.05fr;
  gap: 28px;
  align-items: start;
}
.hero-main {
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 3px 14px rgba(0,0,0,0.06);
  border: 1px solid #e2e8f0;
  transition: transform 0.25s, box-shadow 0.25s;
}
.hero-main:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}
.hero-card {
  display: flex;
  flex-direction: column;
}
.hero-img-wrap {
  position: relative;
  height: 380px;
  overflow: hidden;
}
.hero-main-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.hero-main:hover .hero-main-img {
  transform: scale(1.03);
}
.cat-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  color: #ffffff;
  font-weight: 800;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.25);
  z-index: 2;
}
.hero-content {
  padding: 24px;
}
.hero-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.85rem;
  font-weight: 800;
  line-height: 1.25;
  color: #0f172a;
  margin-bottom: 12px;
}
.hero-title a {
  color: #0f172a !important;
  text-decoration: none;
  transition: color 0.2s;
}
.hero-title a:hover {
  color: #e63946 !important;
}
.hero-excerpt {
  color: #475569;
  font-size: 0.98rem;
  line-height: 1.6;
  margin-bottom: 16px;
}
.hero-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  color: #64748b;
  font-size: 0.8rem;
  margin-bottom: 18px;
}
.hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.btn-read-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #e63946;
  color: #ffffff !important;
  padding: 8px 18px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.84rem;
  box-shadow: 0 3px 10px rgba(230,57,70,0.25);
  transition: all 0.2s ease;
}
.btn-read-more:hover {
  background: #c1121f;
  transform: translateX(2px);
}
.hero-side {
  background: #ffffff;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 3px 14px rgba(0,0,0,0.06);
  border: 1px solid #e2e8f0;
}
.side-heading {
  font-size: 1.15rem;
  font-weight: 800;
  color: #0f172a;
  padding-bottom: 10px;
  border-bottom: 2px solid #0f172a;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.side-heading i {
  color: #e63946;
}
.trending-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid #f1f5f9;
}
.trending-item:last-child {
  border-bottom: none;
}
.trend-num {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.7rem;
  font-weight: 900;
  color: #cbd5e1;
  width: 24px;
  flex-shrink: 0;
  text-align: center;
  line-height: 1;
}
.trend-thumb {
  width: 75px;
  height: 56px;
  border-radius: 6px;
  overflow: hidden;
  flex-shrink: 0;
}
.trend-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}
.trending-item:hover .trend-thumb img {
  transform: scale(1.05);
}
.trend-info {
  flex: 1;
}
.trend-cat {
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: block;
  margin-bottom: 3px;
}
.trend-title {
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 3px;
}
.trend-title a {
  color: #0f172a !important;
  text-decoration: none;
  transition: color 0.2s;
}
.trend-title a:hover {
  color: #e63946 !important;
}
.trend-time {
  font-size: 0.72rem;
  color: #94a3b8;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* Main Container & Layout */
.main-container {
  max-width: 1240px;
  margin: 28px auto;
  padding: 0 16px;
}
.layout-row {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 32px;
  align-items: start;
}
.main-col {
  min-width: 0;
}
.sidebar-col {
  min-width: 0;
}

/* ============================================================
   Article Grid (3-col) — used by category.php & tag.php
   ============================================================ */
.article-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 32px;
}
@media (max-width: 1024px) {
  .article-grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .article-grid-3 { grid-template-columns: 1fr; gap: 16px; }
}

/* Grid card (used in article-grid-3) */
.grid-card {
  background: #fff;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  overflow: hidden;
  transition: box-shadow 0.2s, transform 0.2s;
}
.grid-card:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,0.09);
  transform: translateY(-2px);
}
.grid-card .card-img-link { height: 200px; }
.grid-card .card-body { padding: 14px; }

/* List controls bar */
.list-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid #e2e8f0;
}
.result-info {
  font-size: 0.85rem;
  color: #64748b;
}

/* Empty state */
.empty-state {
  text-align: center;
  padding: 60px 20px;
  color: #94a3b8;
}
.empty-state h3 { color: #475569; margin: 16px 0 8px; }
.empty-state p { color: #64748b; margin-bottom: 24px; }

/* Pagination wrap */
.pagination-wrap {
  margin-top: 32px;
  display: flex;
  justify-content: center;
}
.pagination {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
}
.pagination a, .pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 10px;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
  border: 1px solid #e2e8f0;
}
.pagination a { background: #fff; color: #0f172a; }
.pagination a:hover { background: #e63946; color: #fff; border-color: #e63946; }
.pagination span.current { background: #e63946; color: #fff; border-color: #e63946; }
.pagination span.disabled { background: #f8fafc; color: #cbd5e1; cursor: default; }

/* Tag banner extra styles */
.tag-banner { padding: 2.5rem 0; }

/* Breadcrumb */
.breadcrumb {
  margin: 16px 0;
}
.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.82rem;
  color: #64748b;
}
.breadcrumb-item + .breadcrumb-item::before { content: '›'; padding-right: 4px; color: #94a3b8; }
.breadcrumb-item a { color: #2563eb; text-decoration: none; }
.breadcrumb-item a:hover { text-decoration: underline; }
.breadcrumb-item.active { color: #64748b; }

/* Button primary */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  background: #e63946;
  color: #fff !important;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  transition: background 0.2s;
}
.btn-primary:hover { background: #c62828; }

/* Cat banner (used by category.php and tag.php) */
.category-banner {
  padding: 2.5rem 0;
  color: #fff;
}
.category-banner-inner {
  display: flex;
  align-items: center;
  gap: 20px;
}
.cat-banner-icon {
  width: 64px;
  height: 64px;
  background: rgba(255,255,255,0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  flex-shrink: 0;
}
.cat-banner-text { flex: 1; }
.cat-banner-title {
  font-size: 2.4rem;
  font-weight: 900;
  margin: 0 0 6px;
  color: #fff;
}
.cat-banner-desc {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.75);
  margin: 0 0 8px;
}
.cat-banner-meta {
  display: flex;
  gap: 16px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.65);
}
.cat-banner-meta span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
@media (max-width: 600px) {
  .cat-banner-title { font-size: 1.7rem; }
  .cat-banner-icon { width: 50px; height: 50px; font-size: 1.4rem; }
  .category-banner { padding: 1.5rem 0; }
}


/* Category Sections */
.category-section {
  background: #ffffff;
  border-radius: 12px;
  padding: 22px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.04);
  border: 1px solid #e2e8f0;
  margin-bottom: 32px;
}
.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  border-bottom: 2px solid #f1f5f9;
  padding-bottom: 10px;
}
.section-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: #0f172a;
  border-left: 4px solid #e63946;
  padding-left: 12px;
  margin: 0;
}
.section-header.compact .section-title.sm {
  font-size: 1.05rem;
}
.view-all {
  font-size: 0.8rem;
  font-weight: 700;
  color: #2563eb !important;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap 0.2s;
}
.view-all:hover {
  gap: 7px;
  color: #1d4ed8 !important;
}
.cat-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 20px;
  align-items: start;
}
.cat-lead .article-card.large {
  display: flex;
  flex-direction: column;
}
.card-img-link {
  position: relative;
  display: block;
  height: 220px;
  border-radius: 8px;
  overflow: hidden;
}
.card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}
.card-img-link:hover .card-img {
  transform: scale(1.04);
}
.card-body {
  padding: 14px 4px 4px;
}
.card-title {
  font-size: 1.18rem;
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 8px;
}
.card-title a {
  color: #0f172a !important;
  text-decoration: none;
  transition: color 0.2s;
}
.card-title a:hover {
  color: #e63946 !important;
}
.card-excerpt {
  font-size: 0.88rem;
  color: #475569;
  line-height: 1.55;
  margin-bottom: 10px;
}
.card-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.76rem;
  color: #64748b;
}
.card-meta span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.cat-side-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.article-card.small.horizontal {
  display: flex;
  gap: 12px;
  align-items: center;
  padding-bottom: 12px;
  border-bottom: 1px solid #f1f5f9;
}
.article-card.small.horizontal:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.small-img {
  width: 95px;
  height: 68px;
  border-radius: 6px;
  overflow: hidden;
  flex-shrink: 0;
  display: block;
}
.small-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}
.article-card.small.horizontal:hover .small-img img {
  transform: scale(1.05);
}
.card-title.sm {
  font-size: 0.86rem;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 4px;
}
.card-title.sm a {
  color: #0f172a !important;
  text-decoration: none;
  transition: color 0.2s;
}
.card-title.sm a:hover {
  color: #e63946 !important;
}

/* Video Section */
.video-section {
  background: linear-gradient(135deg, #091322 0%, #16243b 100%);
  border-radius: 14px;
  padding: 24px;
  margin-bottom: 32px;
  box-shadow: 0 4px 18px rgba(0,0,0,0.15);
}
.video-section .section-title {
  color: #ffffff;
}
.video-section .section-header {
  border-bottom-color: rgba(255,255,255,0.1);
}
.video-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.video-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.2s;
}
.video-card:hover {
  transform: translateY(-2px);
}
.video-thumb-link {
  position: relative;
  display: block;
  aspect-ratio: 16/9;
  overflow: hidden;
}
.video-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.play-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.3);
  transition: background 0.2s;
}
.video-card:hover .play-overlay {
  background: rgba(0,0,0,0.15);
}
.play-btn {
  width: 38px;
  height: 38px;
  background: #e63946;
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  box-shadow: 0 2px 10px rgba(230,57,70,0.5);
}
.video-info {
  padding: 10px;
}
.video-title {
  font-size: 0.84rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 4px;
}
.video-title a {
  color: #ffffff !important;
}
.video-title a:hover {
  color: #fca5a5 !important;
}
.video-date {
  font-size: 0.72rem;
  color: #94a3b8;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* Bottom Trio */
.bottom-trio {
  margin-bottom: 32px;
}
.trio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.trio-col {
  background: #ffffff;
  border-radius: 12px;
  padding: 18px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 2px 10px rgba(0,0,0,0.03);
}
.mini-card {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid #f1f5f9;
}
.mini-card:last-child {
  border-bottom: none;
}
.mini-thumb {
  width: 65px;
  height: 48px;
  border-radius: 6px;
  overflow: hidden;
  flex-shrink: 0;
  display: block;
}
.mini-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.mini-body h5 {
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 2px;
}
.mini-body h5 a {
  color: #0f172a !important;
}
.mini-body h5 a:hover {
  color: #e63946 !important;
}
.mini-time {
  font-size: 0.7rem;
  color: #94a3b8;
  display: inline-flex;
  align-items: center;
  gap: 3px;
}

/* Latest Strip */
.latest-strip {
  background: #ffffff;
  border-radius: 12px;
  padding: 20px;
  border: 1px solid #e2e8f0;
  margin-bottom: 32px;
}
.strip-scroll {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.strip-card {
  background: #f8fafc;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
}
.strip-img-link {
  position: relative;
  display: block;
  height: 120px;
  overflow: hidden;
}
.strip-img-link img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}
.strip-card:hover .strip-img-link img {
  transform: scale(1.04);
}
.strip-card .cat-badge.sm {
  top: 8px;
  left: 8px;
  font-size: 0.62rem;
  padding: 2px 7px;
}
.strip-body {
  padding: 10px;
}
.strip-title {
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 4px;
}
.strip-title a {
  color: #0f172a !important;
}
.strip-title a:hover {
  color: #e63946 !important;
}
.strip-time {
  font-size: 0.7rem;
  color: #94a3b8;
}

/* Sidebar Widgets */
.sidebar {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.sidebar-widget {
  background: #ffffff;
  border-radius: 12px;
  padding: 18px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 2px 10px rgba(0,0,0,0.03);
}
.widget-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  border-bottom: 2px solid #0f172a;
  padding-bottom: 8px;
}
.widget-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.widget-title i {
  color: #e63946;
}
.widget-body {
  display: flex;
  flex-direction: column;
}
.widget-trending .trending-item,
.popular-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid #f1f5f9;
}
.widget-trending .trending-item:last-child,
.popular-item:last-child {
  border-bottom: none;
}
.trending-number {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.5rem;
  font-weight: 900;
  color: #cbd5e1;
  width: 22px;
  flex-shrink: 0;
  text-align: center;
}
.trending-thumb,
.popular-thumb {
  width: 72px;
  height: 52px;
  border-radius: 6px;
  overflow: hidden;
  flex-shrink: 0;
  display: block;
}
.trending-thumb img,
.popular-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.trending-info,
.popular-info {
  flex: 1;
}
.trending-title,
.popular-title {
  font-size: 0.84rem;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 3px;
}
.trending-title a,
.popular-title a {
  color: #0f172a !important;
}
.trending-title a:hover,
.popular-title a:hover {
  color: #e63946 !important;
}
.trending-time,
.popular-views {
  font-size: 0.72rem;
  color: #94a3b8;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* Responsive Media Queries */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .layout-row {
    grid-template-columns: 1fr;
  }
  .cat-grid {
    grid-template-columns: 1fr;
  }
  .video-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .trio-grid {
    grid-template-columns: 1fr;
  }
  .strip-scroll {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 768px) {
  .top-bar-left .separator,
  .top-bar-link {
    display: none;
  }
  .hamburger {
    display: flex;
  }
  .nav-menu {
    display: none;
  }
  .nav-menu.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 52px;
    left: 0;
    right: 0;
    background: #0f172a;
    padding: 16px;
    border-top: 1px solid rgba(255,255,255,0.1);
  }
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
  }
  .video-grid {
    grid-template-columns: 1fr;
  }
  .strip-scroll {
    grid-template-columns: 1fr;
  }
  .hero-img-wrap {
    height: 240px;
  }
}

/* --------------------------------------------------------------------------
   43. Print Styles
   -------------------------------------------------------------------------- */
@media print {
  .site-header,
  .main-nav,
  .top-bar,
  .breaking-news-bar,
  .crypto-ticker-bar,
  .site-footer,
  .sidebar,
  .social-share,
  .related-articles,
  .comments-section,
  .ad-zone,
  .back-to-top,
  .mobile-nav,
  .hamburger,
  .video-section {
    display: none !important;
  }

  body {
    font-size: 12pt;
    color: #000;
    background: #fff;
  }

  .article-full {
    box-shadow: none;
    border-radius: 0;
  }

  .article-content {
    padding: 0;
    font-size: 12pt;
    line-height: 1.6;
  }

  .article-title-main {
    font-size: 22pt;
  }

  h2, h3 { page-break-after: avoid; }
  img { max-width: 100%; page-break-inside: avoid; }
  blockquote { page-break-inside: avoid; }

  a::after {
    content: ' (' attr(href) ')';
    font-size: 9pt;
    color: #666;
  }

  .article-full-layout {
    display: block;
  }

  @page {
    margin: 2cm;
  }
}
