:root { 
  color-scheme: light dark; 
  --bg: #fafbfc; 
  --text: #0f172a; 
  --muted: #64748b; 
  --card: #ffffff; 
  --border: #e2e8f0; 
  --accent: #10b981;
  --accent-hover: #059669;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}
:root[data-theme="dark"] { 
  --bg: #0a0e1a; 
  --text: #f1f5f9; 
  --muted: #94a3b8; 
  --card: #1a1f2e; 
  --border: #2d3748; 
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.4), 0 2px 4px -1px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.5), 0 4px 6px -2px rgba(0, 0, 0, 0.4);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.6), 0 10px 10px -5px rgba(0, 0, 0, 0.5);
}

* { box-sizing: border-box; }
html, body, #root { height: 100%; margin: 0; }
body { 
  background: var(--bg); 
  color: var(--text); 
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Inter', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.6;
}

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; overflow-x: visible; }

/* Nav */
.nav { 
  position: sticky; 
  top: 0; 
  display: flex; 
  align-items: center; 
  justify-content: space-between; 
  gap: 12px; 
  padding: 16px 0; 
  border-bottom: 1px solid var(--border); 
  background: color-mix(in oklab, var(--bg) 80%, transparent);
  backdrop-filter: blur(12px) saturate(180%);
  -webkit-backdrop-filter: blur(12px) saturate(180%);
  z-index: 100;
  box-shadow: var(--shadow-sm);
}
/* Hide all text nodes and elements in nav except logo and actions */
.nav > *:not(.logo):not(.actions),
.nav .links,
.nav nav,
.nav a:not(.btn):not(.logo a):not(.actions a),
.nav span:not(.accent),
.nav div:not(.logo):not(.actions) {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  width: 0 !important;
  height: 0 !important;
  overflow: hidden !important;
  font-size: 0 !important;
  line-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  position: absolute !important;
  left: -9999px !important;
}
.logo { 
  font-weight: 700; 
  letter-spacing: -0.03em; 
  font-size: 20px;
  background: linear-gradient(135deg, var(--text) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.logo::after,
.logo::before {
  display: none !important;
  content: none !important;
}
/* Hide any subtitle or additional text next to logo */
.nav .logo + *,
.nav .logo ~ span:not(.accent),
.nav .logo ~ div:not(.actions),
.nav > *:not(.logo):not(.actions) {
  display: none !important;
}
/* Hide any text nodes or spans that might contain "Latin America", "Credit", "Data", "News" */
.nav span:not(.accent),
.nav .logo + span,
.nav .subtitle,
.nav .tagline,
.nav .breadcrumb {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  height: 0 !important;
  width: 0 !important;
  overflow: hidden !important;
}
.accent { color: var(--accent); }
.links { 
  display: none !important; 
}
.links a { 
  display: none !important;
}
.actions { display: flex; gap: 10px; align-items: center; }
.actions .btn { 
  padding: 10px 18px; 
  border-radius: 12px; 
  text-decoration: none; 
  background: var(--text); 
  color: var(--bg); 
  font-weight: 600;
  transition: all 0.2s ease;
  box-shadow: var(--shadow-sm);
}
.actions .btn:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
.actions button { 
  padding: 10px 14px; 
  border-radius: 12px; 
  border: 1px solid var(--border); 
  background: var(--card); 
  color: var(--text); 
  cursor: pointer;
  transition: all 0.2s ease;
  font-weight: 500;
}
.actions button:hover {
  border-color: var(--accent);
  background: color-mix(in oklab, var(--card) 95%, var(--accent));
  transform: translateY(-1px);
}

/* Hero */
.hero { 
  display: grid; 
  grid-template-columns: 1fr; 
  gap: 32px; 
  padding: 40px 0 56px; 
}
.hero-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}
@media (min-width: 900px) { 
  .hero { 
    grid-template-columns: 1fr; 
  }
  .hero-content {
    grid-template-columns: 1fr 1.4fr;
    align-items: center;
    gap: 40px;
  }
}
.hero h1 { 
  font-size: 48px; 
  line-height: 1.1; 
  margin: 0; 
  font-weight: 700;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  white-space: nowrap;
}
@media (max-width: 900px) {
  .hero h1 {
    flex-wrap: wrap;
    white-space: normal;
  }
}
.hero h1 > div {
  display: inline;
}
.highlight { 
  background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%); 
  color: #1e40af; 
  padding: 2px 8px; 
  border-radius: 6px; 
  white-space: nowrap; 
  font-weight: 600;
  box-shadow: var(--shadow-sm);
  display: inline-block;
}
:root[data-theme="dark"] .highlight {
  background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 100%);
  color: #dbeafe;
}
.hero p { 
  color: var(--muted); 
  margin: 16px 0 24px; 
  max-width: 56ch; 
  font-size: 17px;
  line-height: 1.6;
}
.view-toggle { display: flex; gap: 10px; margin: 20px 0; }
.toggle-btn { 
  padding: 10px 20px; 
  border-radius: 10px; 
  border: 1px solid var(--border); 
  background: var(--card); 
  color: var(--text); 
  cursor: pointer; 
  font-weight: 500; 
  transition: all 0.2s ease;
  font-size: 14px;
}
.toggle-btn:hover { 
  border-color: var(--accent); 
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}
.toggle-btn.active { 
  background: var(--text); 
  color: var(--bg); 
  border-color: var(--text); 
  box-shadow: var(--shadow-md);
}
.cta { display: flex; gap: 12px; flex-wrap: wrap; }
.btn { 
  display: inline-flex; 
  align-items: center; 
  justify-content: center; 
  padding: 14px 24px; 
  border-radius: 12px; 
  text-decoration: none; 
  color: var(--text); 
  border: 1px solid var(--border); 
  font-weight: 600;
  transition: all 0.2s ease;
  font-size: 15px;
}
.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.btn.primary { 
  background: var(--text); 
  color: var(--bg); 
  border: none; 
  box-shadow: var(--shadow-md);
}
.btn.primary:hover {
  box-shadow: var(--shadow-lg);
}
.btn.outline { 
  background: transparent; 
}
.stats { 
  display: grid; 
  grid-template-columns: repeat(3, minmax(0,1fr)); 
  gap: 20px; 
  margin-top: 24px; 
  color: var(--muted); 
}
.stats strong { 
  display: block; 
  font-size: 24px; 
  color: var(--text); 
  font-weight: 700;
  margin-bottom: 4px;
}
.hero-card { 
  background: var(--card); 
  border: 1px solid var(--border); 
  border-radius: 24px; 
  padding: 20px; 
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(10px);
  max-width: 600px;
}
.catalyst-timeline-container {
  width: 100%;
  overflow-x: auto;
  padding: 20px 0;
}
.catalyst-timeline-empty {
  text-align: center;
  padding: 40px 20px;
  color: var(--muted);
  font-size: 14px;
}
.ticker-section { margin-bottom: 20px; }
.ticker-section:last-of-type { margin-bottom: 0; }
.ticker-label { 
  font-size: 11px; 
  font-weight: 700; 
  color: var(--muted); 
  margin-bottom: 12px; 
  text-transform: uppercase; 
  letter-spacing: 1px; 
}
.ticker-grid { 
  display: grid; 
  grid-template-columns: repeat(2,1fr); 
  gap: 12px; 
}
.ticker { 
  border: 1px solid var(--border); 
  padding: 14px; 
  border-radius: 14px; 
  display: flex; 
  justify-content: space-between; 
  align-items: baseline; 
  background: var(--card);
  transition: all 0.2s ease;
  box-shadow: var(--shadow-sm);
}
.ticker:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent);
}
.ticker .px { display: flex; gap: 12px; align-items: center; }
.up { 
  color: #10b981; 
  font-weight: 600;
} 
.down { 
  color: #f43f5e; 
  font-weight: 600;
}
.hint { 
  font-size: 12px; 
  color: var(--muted); 
  text-align: center; 
  margin-top: 12px; 
}

/* Sections */
.section { 
  padding: 40px 0; 
  overflow: visible; 
  overflow-x: visible; 
}
.section h2 { 
  margin: 0; 
  font-size: 32px; 
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}
.sub { 
  color: var(--muted); 
  margin: 8px 0 24px; 
  font-size: 16px;
}

/* Filters & cards */
.filters { 
  display: grid; 
  grid-template-columns: 1fr 1fr 1fr 1fr 1fr; 
  gap: 12px; 
  margin-bottom: 24px; 
}
@media (max-width: 900px) { 
  .filters { 
    grid-template-columns: 1fr; 
  } 
}
.filters input, .filters select { 
  padding: 12px 16px; 
  border-radius: 12px; 
  border: 1px solid var(--border); 
  background: var(--card); 
  color: var(--text); 
  font-size: 15px;
  transition: all 0.2s ease;
  box-shadow: var(--shadow-sm);
}
.filters input:focus, .filters select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px color-mix(in oklab, var(--accent) 20%, transparent);
}
.filters input:hover, .filters select:hover {
  border-color: var(--accent);
}

.cards { display: grid; grid-template-columns: 1fr; gap: 14px; }
@media (min-width: 900px) { .cards { grid-template-columns: repeat(3,1fr); } }
.cards.scroll-cards { 
  display: flex !important; 
  grid-template-columns: none !important; 
  flex-direction: row !important; 
  overflow-x: auto !important; 
  overflow-y: hidden !important;
  gap: 14px; 
  padding-bottom: 10px; 
  scroll-snap-type: x mandatory; 
  -webkit-overflow-scrolling: touch;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}
.cards.scroll-cards .card,
.cards.scroll-cards article.card { 
  flex: 0 0 320px !important; 
  flex-shrink: 0 !important;
  scroll-snap-align: start; 
  min-width: 320px !important; 
  max-width: 320px !important; 
  width: 320px !important;
  display: block !important;
}
.scroll-cards::-webkit-scrollbar { height: 8px; }
.scroll-cards::-webkit-scrollbar-track { background: var(--border); border-radius: 4px; }
.scroll-cards::-webkit-scrollbar-thumb { background: var(--muted); border-radius: 4px; }
.scroll-cards::-webkit-scrollbar-thumb:hover { background: var(--text); }

/* News scroll format */
.news-scroll-container {
  display: flex;
  flex-direction: column;
  gap: 1px;
  height: 70vh;
  max-height: 800px;
  min-height: 500px;
  overflow-y: auto;
  overflow-x: hidden;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--border);
  position: relative;
}

@media (max-width: 768px) {
  .news-scroll-container {
    height: 60vh;
    min-height: 400px;
    max-height: 600px;
  }
}

.news-item {
  background: var(--card);
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
  transition: all 0.2s ease;
  cursor: pointer;
}

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

.news-item:hover {
  background: color-mix(in oklab, var(--card) 98%, var(--accent));
  transform: translateX(4px);
  box-shadow: var(--shadow-sm);
}

.news-item-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 12px;
  gap: 12px;
}

.news-item-meta {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  flex: 1;
  align-items: center;
}

.news-indicator {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: bold;
  line-height: 1;
  margin-right: 4px;
}

.news-item-title {
  font-size: 17px;
  font-weight: 600;
  line-height: 1.5;
  margin: 0 0 10px 0;
  color: var(--text);
  transition: color 0.2s ease;
}

.news-item:hover .news-item-title {
  color: var(--accent);
}

.news-item-summary {
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted);
  margin: 0 0 14px 0;
}

.news-item-footer {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}

.news-scroll-container::-webkit-scrollbar {
  width: 8px;
}

.news-scroll-container::-webkit-scrollbar-track {
  background: var(--border);
  border-radius: 4px;
}

.news-scroll-container::-webkit-scrollbar-thumb {
  background: var(--muted);
  border-radius: 4px;
}

.news-scroll-container::-webkit-scrollbar-thumb:hover {
  background: var(--text);
}
.card { 
  background: var(--card); 
  border: 1px solid var(--border); 
  border-radius: 18px; 
  padding: 20px; 
  transition: all 0.2s ease;
  box-shadow: var(--shadow-sm);
}
.card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
  border-color: color-mix(in oklab, var(--border) 80%, var(--accent));
}
.meta { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.pill { 
  display: inline-flex; 
  padding: 6px 12px; 
  border-radius: 999px; 
  font-size: 12px; 
  font-weight: 600;
  background: #e5e7eb; 
  color: #334155; 
  transition: all 0.2s ease;
}
.pill.blue { 
  background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%); 
  color: #1e3a8a; 
}
.pill.green { 
  background: linear-gradient(135deg, #dcfce7 0%, #bbf7d0 100%); 
  color: #065f46; 
}
.pill.amber { 
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%); 
  color: #92400e; 
}
.pill.red { 
  background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%); 
  color: #991b1b; 
}
.time { 
  margin-left: auto; 
  color: var(--muted); 
  font-size: 12px; 
  font-weight: 500;
}
.row { 
  display: flex; 
  align-items: center; 
  justify-content: space-between; 
  gap: 12px; 
}
.link { 
  color: var(--text); 
  text-decoration: none; 
  font-weight: 500;
  transition: color 0.2s ease;
}
.link:hover {
  color: var(--accent);
}

/* Grid blocks */
.grid { display: grid; grid-template-columns: 1fr; gap: 14px; }
@media (min-width: 900px) { .grid { grid-template-columns: repeat(4,1fr); } }
.kv { display: flex; align-items: center; justify-content: space-between; color: var(--muted); margin: 8px 0; }
.thirds { grid-template-columns: 1fr; }
@media (min-width: 900px) { .thirds { grid-template-columns: repeat(3,1fr); } }
.emphasis { outline: 2px solid color-mix(in oklab, var(--text) 10%, transparent); }

/* Subscribe */
.cta-card { display: grid; grid-template-columns: 1fr; gap: 12px; background: var(--card); border: 1px solid var(--border); padding: 20px; border-radius: 16px; }
.cta-card .row { gap: 8px; }
.cta-card input { flex: 1; padding: 12px; border: 1px solid var(--border); border-radius: 12px; background: var(--bg); color: var(--text); }

/* Footer */
.footer { display: grid; grid-template-columns: 1fr; gap: 16px; border-top: 1px solid var(--border); padding: 24px 0 40px; margin-top: 20px; }
@media (min-width: 900px) { .footer { grid-template-columns: 2fr 1fr 1fr; } }
.foothead { font-weight: 700; margin-bottom: 6px; }
.footlist { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
.muted { color: var(--muted); }
.copy { grid-column: 1/-1; font-size: 12px; color: var(--muted); margin-top: 8px; text-align: left; }

/* Company Search */
.company-search-wrapper { 
  position: relative; 
  max-width: 100%; 
  margin-bottom: 20px; 
}
.company-search-input { 
  width: 100%; 
  padding: 14px 18px; 
  border-radius: 12px; 
  border: 1px solid var(--border); 
  background: var(--card); 
  color: var(--text); 
  font-size: 16px; 
  transition: all 0.2s ease;
  box-shadow: var(--shadow-sm);
}
.company-search-input:focus { 
  outline: none; 
  border-color: var(--accent); 
  box-shadow: 0 0 0 3px color-mix(in oklab, var(--accent) 20%, transparent), var(--shadow-md);
}
.company-search-results { 
  position: absolute; 
  top: 100%; 
  left: 0; 
  right: 0; 
  margin-top: 8px; 
  background: var(--card); 
  border: 1px solid var(--border); 
  border-radius: 16px; 
  overflow: hidden; 
  box-shadow: var(--shadow-lg); 
  z-index: 100;
  animation: slideDown 0.2s ease;
}
@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.company-search-result-item { 
  padding: 14px 18px; 
  cursor: pointer; 
  border-bottom: 1px solid var(--border); 
  transition: all 0.2s ease; 
}
.company-search-result-item:last-child { 
  border-bottom: none; 
}
.company-search-result-item:hover { 
  background: color-mix(in oklab, var(--accent) 10%, transparent);
  transform: translateX(4px);
}

/* Company Analysis */
.company-selector { 
  margin-bottom: 32px; 
}
.company-select { 
  padding: 14px 20px; 
  border-radius: 12px; 
  border: 1px solid var(--border); 
  background: var(--card); 
  color: var(--text); 
  font-size: 16px; 
  width: 100%; 
  max-width: 400px; 
  transition: all 0.2s ease;
  box-shadow: var(--shadow-sm);
  font-weight: 500;
}
.company-select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px color-mix(in oklab, var(--accent) 20%, transparent), var(--shadow-md);
}
.company-detail { 
  margin-top: 32px; 
}
.company-header { 
  margin-bottom: 32px; 
}
.company-info-grid { 
  display: grid; 
  grid-template-columns: 1fr; 
  gap: 24px; 
  margin-bottom: 32px; 
}
@media (min-width: 900px) { 
  .company-info-grid { 
    grid-template-columns: 1fr 1fr; 
  } 
}
.graphs-container { 
  display: flex; 
  flex-direction: column; 
}
.catalyst-label { 
  font-size: 9px !important; 
}
.metrics-grid { 
  display: grid; 
  grid-template-columns: repeat(2, 1fr); 
  gap: 16px; 
}
.graph-container { 
  margin: 24px 0; 
  overflow-x: auto; 
  overflow-y: visible; 
  background: var(--card);
  border-radius: 16px;
  padding: 24px;
  padding-right: 40px;
  box-shadow: var(--shadow-sm);
  width: 100%;
  max-width: 100%;
  clear: both;
  display: block;
}
.price-graph { 
  width: 100%; 
  max-width: 100%;
  min-width: 550px;
  height: auto; 
  overflow: visible; 
  display: block;
}
@media (max-width: 768px) {
  .price-graph {
    min-width: 100%;
  }
  .graph-container {
    padding: 16px;
    padding-right: 20px;
  }
}
.event-label { 
  font-size: 10px !important; 
}
.events-list { 
  display: grid; 
  gap: 16px; 
}
.event-item { 
  padding: 16px; 
  border-left: 4px solid var(--accent); 
  padding-left: 20px; 
  background: var(--card);
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  transition: all 0.2s ease;
}
.event-item:hover {
  transform: translateX(4px);
  box-shadow: var(--shadow-md);
}
.catalysts-list { 
  display: grid; 
  gap: 14px; 
}
.catalyst-item { 
  padding: 16px; 
  border: 1px solid var(--border); 
  border-radius: 12px; 
  background: var(--card);
  transition: all 0.2s ease;
  box-shadow: var(--shadow-sm);
}
.catalyst-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent);
}

/* News Detail Modal */
.clickable-card { 
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); 
  cursor: pointer;
}
.clickable-card:hover { 
  transform: translateY(-4px); 
  box-shadow: var(--shadow-lg);
}
.news-detail-overlay { 
  position: fixed; 
  top: 0; 
  left: 0; 
  right: 0; 
  bottom: 0; 
  background: rgba(0,0,0,0.6); 
  backdrop-filter: blur(4px);
  z-index: 1000; 
  display: flex; 
  align-items: center; 
  justify-content: center; 
  padding: 20px; 
  overflow-y: auto; 
  animation: fadeIn 0.2s ease;
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.news-detail-modal { 
  background: var(--card); 
  border-radius: 24px; 
  max-width: 1200px; 
  width: 100%; 
  max-height: 90vh; 
  overflow-y: auto; 
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border);
  animation: slideUp 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
@keyframes slideUp {
  from { 
    transform: translateY(20px);
    opacity: 0;
  }
  to { 
    transform: translateY(0);
    opacity: 1;
  }
}
.news-detail-header { 
  display: flex; 
  justify-content: space-between; 
  align-items: center; 
  padding: 28px 32px; 
  border-bottom: 1px solid var(--border); 
  background: color-mix(in oklab, var(--card) 95%, var(--bg));
}
.news-detail-header h2 { 
  margin: 0; 
  font-size: 28px; 
  font-weight: 700;
  letter-spacing: -0.02em;
}
.close-btn { 
  background: transparent; 
  border: none; 
  font-size: 28px; 
  color: var(--text); 
  cursor: pointer; 
  line-height: 1; 
  padding: 8px; 
  width: 40px; 
  height: 40px; 
  display: flex; 
  align-items: center; 
  justify-content: center; 
  border-radius: 10px;
  transition: all 0.2s ease;
}
.close-btn:hover { 
  background: color-mix(in oklab, var(--text) 10%, transparent);
  transform: rotate(90deg);
}
.news-detail-content { 
  display: grid; 
  grid-template-columns: 1fr; 
  gap: 24px; 
  padding: 32px; 
}
@media (min-width: 900px) { 
  .news-detail-content { 
    grid-template-columns: 1fr 1fr; 
  } 
}
.news-detail-left, .news-detail-right { 
  display: flex; 
  flex-direction: column; 
}
.related-news { 
  display: grid; 
  gap: 14px; 
  margin-top: 16px; 
}
.related-news-item { 
  padding: 16px; 
  border: 1px solid var(--border); 
  border-radius: 12px; 
  background: var(--card); 
  transition: all 0.2s ease;
  cursor: pointer;
}
.related-news-item:hover {
  transform: translateX(4px);
  box-shadow: var(--shadow-sm);
  border-color: var(--accent);
}
.related-news-item strong { 
  display: block; 
  margin-bottom: 6px; 
  font-weight: 600;
  color: var(--text);
}

/* Password Protection Overlay */
.password-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(10, 14, 26, 0.75);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  animation: fadeIn 0.3s ease-in;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.password-modal {
  background: var(--card);
  padding: 40px;
  border-radius: 16px;
  box-shadow: var(--shadow-xl);
  max-width: 400px;
  width: 90%;
  border: 1px solid var(--border);
  animation: slideUp 0.3s ease-out;
}

@keyframes slideUp {
  from {
    transform: translateY(20px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.password-modal input:focus {
  border-color: var(--accent) !important;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

.password-modal button:not(:disabled):hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

/* WhatsApp Chat Animations */
@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
