* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* Z-INDEX APPROACH: Hide banner (first line) with low z-index, keep dropdown (second line) with high z-index */

/* Google Translate Banner (first line) - COMPLETELY HIDE */
body > .goog-te-banner-frame,
body > .skiptranslate,
.goog-te-banner-frame,
.skiptranslate {
  display: none !important;
  visibility: hidden !important;
  position: absolute !important;
  top: -9999px !important;
  left: -9999px !important;
  width: 0 !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
  line-height: 0 !important;
  z-index: -9999 !important;
  border: none !important;
}

/* Banner iframes - completely hidden */
body > .goog-te-banner-frame iframe,
body > .skiptranslate iframe,
.goog-te-banner-frame iframe,
.skiptranslate iframe {
  display: none !important;
  visibility: hidden !important;
  width: 0 !important;
  height: 0 !important;
  position: absolute !important;
  top: -9999px !important;
  left: -9999px !important;
  margin: 0 !important;
  padding: 0 !important;
  pointer-events: none !important;
  z-index: -9999 !important;
}

/* Top Bar (second line) - HIGH z-index to cover banner */
.top-bar {
  position: relative;
  z-index: 1000 !important;
}

/* Google Translate Element in Top Bar - HIGH z-index */
#google_translate_element {
  position: relative;
  z-index: 1001 !important;
  display: inline-block;
  pointer-events: auto !important;
}

/* Google Translate Gadget - HIGH z-index */
#google_translate_element .goog-te-gadget {
  position: relative;
  z-index: 1002 !important;
  display: inline-block !important;
  pointer-events: auto !important;
}

/* Google Translate Dropdown Anchor - HIGH z-index */
#google_translate_element .goog-te-gadget a,
#google_translate_element a.VIpgJd-ZVi9od-xl07Ob-lTBxed {
  position: relative;
  z-index: 1003 !important;
  color: #000 !important;
  cursor: pointer !important;
  pointer-events: auto !important;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: #ffffff;
  color: #000000;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

/* Top Black Bar */
.top-bar {
  background: #000000;
  color: #ffffff;
  font-size: 12px;
  padding: 8px 0;
  border-bottom: 1px solid #333333;
  position: relative !important;
  z-index: 1000 !important;
  pointer-events: auto !important;
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

/* Force white bar to top and make it invisible */
.goog-te-banner-frame,
.skiptranslate,
body > .goog-te-banner-frame,
body > div[class*="goog-te"],
body > div[class*="skiptranslate"] {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  z-index: 1 !important;
  pointer-events: none !important;
  opacity: 0.01 !important;
  margin: 0 !important;
  padding: 0 !important;
  height: 40px !important;
  overflow: hidden !important;
}

/* Ensure body has padding for fixed top bar */
body {
  padding-top: 40px !important;
}

/* Force body to have negative top when white bar exists */
body:has(.goog-te-banner-frame),
body:has(.skiptranslate) {
  position: relative !important;
  top: -40px !important;
  min-height: 100% !important;
}

.top-bar-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-links {
  display: flex;
  gap: 24px;
  align-items: center;
}

.top-link {
  color: #ffffff;
  text-decoration: none;
  font-size: 12px;
}

.top-link:hover {
  text-decoration: underline;
}

.top-right {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #cccccc;
  font-size: 12px;
  position: relative;
  z-index: 1000;
  pointer-events: auto;
}

/* Google Translate in header - MINIMAL styling, let it work naturally */
#google_translate_element {
  display: inline-block;
  margin-right: 12px;
  position: relative;
  z-index: 1000;
  pointer-events: auto;
}

/* Google Translate uses a custom dropdown (anchor tag), not a select element */
/* Style the dropdown anchor and gadget */
#google_translate_element .goog-te-gadget,
#google_translate_element .goog-te-gadget-simple {
  display: inline-block !important;
  visibility: visible !important;
  pointer-events: auto !important;
  z-index: 1000 !important;
  position: relative !important;
}

#google_translate_element .goog-te-gadget a,
#google_translate_element a.VIpgJd-ZVi9od-xl07Ob-lTBxed {
  display: inline-block !important;
  visibility: visible !important;
  opacity: 1 !important;
  pointer-events: auto !important;
  cursor: pointer !important;
  position: relative !important;
  z-index: 1001 !important;
  color: #000 !important;
  text-decoration: none !important;
}

/* Z-INDEX APPROACH: Hide banner (first line) with low z-index, keep dropdown (second line) with high z-index */

/* Google Translate Banner (first line) - COMPLETELY HIDE */
body > .goog-te-banner-frame,
body > .skiptranslate,
.goog-te-banner-frame,
.skiptranslate {
  display: none !important;
  visibility: hidden !important;
  position: absolute !important;
  top: -9999px !important;
  left: -9999px !important;
  width: 0 !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
  line-height: 0 !important;
  z-index: -9999 !important;
  border: none !important;
}

/* Banner iframes - completely hidden */
body > .goog-te-banner-frame iframe,
body > .skiptranslate iframe,
.goog-te-banner-frame iframe,
.skiptranslate iframe {
  display: none !important;
  visibility: hidden !important;
  width: 0 !important;
  height: 0 !important;
  position: absolute !important;
  top: -9999px !important;
  left: -9999px !important;
  margin: 0 !important;
  padding: 0 !important;
  pointer-events: none !important;
  z-index: -9999 !important;
}

/* Top Bar (second line) - HIGH z-index to cover banner */
.top-bar {
  position: relative;
  z-index: 1000 !important;
}

/* Google Translate Element in Top Bar - HIGH z-index */
#google_translate_element {
  position: relative;
  z-index: 1001 !important;
  display: inline-block;
  pointer-events: auto !important;
}

/* Google Translate Gadget - HIGH z-index */
#google_translate_element .goog-te-gadget {
  position: relative;
  z-index: 1002 !important;
  display: inline-block !important;
  pointer-events: auto !important;
}

/* Google Translate Dropdown Anchor - HIGH z-index */
#google_translate_element .goog-te-gadget a,
#google_translate_element a.VIpgJd-ZVi9od-xl07Ob-lTBxed {
  position: relative;
  z-index: 1003 !important;
  color: #000 !important;
  cursor: pointer !important;
  pointer-events: auto !important;
}

/* Custom Language Selector */
.language-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

.custom-language-selector {
  background: transparent;
  color: #ffffff;
  border: 1px solid #ffffff;
  padding: 4px 12px;
  border-radius: 3px;
  font-size: 12px;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23ffffff' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 8px center;
  padding-right: 28px;
  z-index: 1001;
  position: relative;
}

.custom-language-selector:hover {
  background-color: #333333;
}

.custom-language-selector option {
  background: #000000;
  color: #ffffff;
}

/* EN Reset Button - Hidden by default, visible when hovering over language selector */
#lang-reset-en,
.custom-language-reset {
  display: inline-block !important;
  visibility: hidden !important;
  opacity: 0 !important;
  background: transparent;
  color: #ffffff;
  border: 1px solid #ffffff;
  padding: 4px 12px;
  border-radius: 3px;
  font-size: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
  font-weight: 500;
  white-space: nowrap;
}

/* Show EN button when hovering over language selector or language-controls container */
.language-controls:hover #lang-reset-en,
.language-controls:hover .custom-language-reset,
.custom-language-selector:hover ~ #lang-reset-en,
.custom-language-selector:hover ~ .custom-language-reset {
  visibility: visible !important;
  opacity: 1 !important;
  background: #d32f2f !important;
  color: #ffffff !important;
  border-color: #d32f2f !important;
}

/* When language selector is focused/touched, show EN with red background and white font */
.custom-language-selector:focus ~ #lang-reset-en,
.custom-language-selector:focus ~ .custom-language-reset,
.language-controls:has(.custom-language-selector:focus) .custom-language-reset,
.language-controls:has(.custom-language-selector:focus) #lang-reset-en {
  visibility: visible !important;
  opacity: 1 !important;
  background: #d32f2f !important;
  color: #ffffff !important;
  border-color: #d32f2f !important;
}

/* Also trigger on active state (when dropdown is open) */
.custom-language-selector:active ~ #lang-reset-en,
.custom-language-selector:active ~ .custom-language-reset,
.language-controls:has(.custom-language-selector:active) .custom-language-reset,
.language-controls:has(.custom-language-selector:active) #lang-reset-en {
  visibility: visible !important;
  opacity: 1 !important;
  background: #d32f2f !important;
  color: #ffffff !important;
  border-color: #d32f2f !important;
}

#lang-reset-en:hover,
.custom-language-reset:hover {
  background: #b71c1c !important;
  border-color: #b71c1c !important;
}

/* CRITICAL: Dropdown Menu Iframe - HIGHEST z-index to be on top and clickable */
iframe[src*="translate.google.com"] {
  z-index: 99999 !important;
  position: absolute !important;
  pointer-events: auto !important;
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

/* EXCEPTION: Banner iframes - already hidden above */

/* Also style select if it exists (for compatibility) */
#google_translate_element select.goog-te-combo {
  padding: 4px 8px;
  border: 1px solid #666;
  border-radius: 3px;
  background: #000;
  font-size: 12px;
  color: #fff;
  cursor: pointer;
  position: relative;
  z-index: 1001;
  pointer-events: auto;
  display: block;
  visibility: visible;
  opacity: 1;
}

/* Hide "Powered by" text and logo only */
#google_translate_element .goog-te-gadget span[style*="white-space:nowrap"],
#google_translate_element .VIpgJd-ZVi9od-l4eHX-hSRGPd,
#google_translate_element a[href*="translate.google.com"],
#google_translate_element .goog-te-gadget > span:not([id]),
#google_translate_element .goog-te-gadget > a,
#google_translate_element .goog-te-gadget img {
  display: none !important;
}

/* Make the Google Translate banner (first line) have lower z-index so second line covers it */
/* Make it non-interactive so clicks pass through to the selector below */
/* BUT: Only apply to the banner, NOT the dropdown menu iframe */
body > .goog-te-banner-frame,
body > .skiptranslate {
  z-index: 1 !important;
  position: relative;
  pointer-events: none !important;
}

/* CRITICAL: Don't block iframes here - let JavaScript distinguish between banner and dropdown */
/* JavaScript will handle making dropdown menu iframes clickable and banner iframes non-interactive */

/* But allow banner buttons to be clickable */
body > .goog-te-banner-frame a,
body > .goog-te-banner-frame button,
body > .skiptranslate a,
body > .skiptranslate button {
  pointer-events: auto !important;
}

/* Ensure the top bar (second line) is above the banner */
/* But make sure it doesn't block dropdown menus */
.top-bar {
  position: relative;
  z-index: 1000 !important;
  /* Don't block pointer events - let clicks pass through to dropdown menu */
  pointer-events: auto;
}

/* CRITICAL: Ensure top-bar doesn't block dropdown menu iframes */
.top-bar iframe[src*="translate"] {
  pointer-events: auto !important;
  z-index: 99999 !important;
}

#google_translate_element .goog-te-gadget > div[id*="targetLanguage"] {
  font-size: 12px !important;
}


#refresh-btn {
  background: transparent;
  color: #ffffff;
  border: 1px solid #ffffff;
  padding: 4px 12px;
  border-radius: 3px;
  font-size: 12px;
  cursor: pointer;
  transition: background 0.2s;
}

#refresh-btn:hover {
  background: #333333;
}

/* Custom Language Selector */
.language-selector-custom {
  display: inline-block;
  margin-left: 8px;
}

#language-select {
  background: transparent;
  color: #ffffff;
  border: 1px solid #ffffff;
  padding: 4px 12px;
  border-radius: 3px;
  font-size: 12px;
  cursor: pointer;
  transition: background 0.2s;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23ffffff' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 8px center;
  padding-right: 28px;
  min-width: 100px;
}

#language-select:hover {
  background-color: #333333;
}

#language-select option {
  background: #000000;
  color: #ffffff;
}


/* Main Header */
.main-header {
  background: #000000;
  padding: 16px 0;
  border-bottom: 1px solid #333333;
  margin-top: 0px !important; /* Force margin-top to 0px - very important */
}

.header-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.main-logo {
  font-size: 32px;
  font-weight: 400;
  color: #ffffff;
  letter-spacing: -1px;
  margin: 0;
  font-family: "Times New Roman", Times, serif;
}

.header-actions {
  display: flex;
  gap: 12px;
  align-items: center;
}

.header-btn {
  background: transparent;
  color: #ffffff;
  border: 1px solid #ffffff;
  padding: 8px 16px;
  border-radius: 3px;
  font-size: 13px;
  cursor: pointer;
  transition: background 0.2s;
}

.header-btn:hover {
  background: #333333;
}

.header-btn.primary {
  background: #ffffff;
  color: #000000;
}

.header-btn.primary:hover {
  background: #cccccc;
}

/* Navigation Bar */
.main-nav {
  background: #ffffff;
  border-bottom: 1px solid #e0e0e0;
  padding: 0;
}


.nav-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  gap: 24px;
  align-items: center;
  overflow-x: auto;
}

.nav-link {
  color: #000000;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  padding: 12px 0;
  white-space: nowrap;
  border-bottom: 3px solid transparent;
  transition: border-color 0.2s;
}

.nav-link:hover {
  border-bottom-color: #000000;
}

.arrow {
  font-size: 10px;
  margin-left: 4px;
}

/* Market Ticker */
.market-ticker {
  background: #f5f5f5;
  border-bottom: 1px solid #e0e0e0;
  padding: 8px 0;
  overflow-x: auto;
}

.ticker-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.ticker-label {
  font-size: 12px;
  font-weight: 600;
  color: #666666;
  white-space: nowrap;
}

.ticker-items {
  display: flex;
  gap: 24px;
  align-items: center;
}

.ticker-item {
  font-size: 12px;
  font-weight: 500;
  padding: 4px 8px;
  border-radius: 3px;
  white-space: nowrap;
  background: #ffffff;
  color: #000000;
}

.ticker-item .ticker-percentage {
  font-size: 7px !important;
  display: inline-block;
  font-weight: 400;
  line-height: 1;
}

.ticker-item.up {
  background: #d4edda;
  color: #155724;
}

.ticker-item.down {
  background: #f8d7da;
  color: #721c24;
}

/* Main Content */
.main-wrapper {
  max-width: 1400px;
  margin: 0 auto;
  padding: 24px;
}

.content-container {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

/* Daily Updates Banner */
.daily-updates-banner {
  background: #ffffff;
  color: #000000;
  padding: 24px 32px;
  border-radius: 8px;
  border: 1px solid #e0e0e0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  margin-bottom: 8px;
}

.daily-updates-content {
  display: flex;
  align-items: center;
  gap: 20px;
}

.daily-updates-icon {
  font-size: 48px;
  line-height: 1;
}

.daily-updates-text {
  flex: 1;
}

.daily-updates-title {
  font-size: 28px;
  font-weight: 700;
  margin: 0 0 8px 0;
  color: #000000;
}

.daily-updates-date {
  font-size: 20px;
  font-weight: 600;
  margin: 0 0 4px 0;
  color: #333333;
}

.daily-updates-subtitle {
  font-size: 14px;
  margin: 0;
  color: #666666;
}

/* Left Column - Featured Article */
.left-column {
  min-width: 0;
}

.featured-section {
  width: 100%;
  overflow: visible;
  background: #ffffff;
}

.featured-article {
  margin-bottom: 32px;
  background: #ffffff;
  padding: 0;
}

.featured-image {
  width: 100%;
  height: auto;
  min-height: 300px;
  max-height: 500px;
  background: #f0f0f0;
  display: block;
  margin-bottom: 16px;
  border: 1px solid #e0e0e0;
  overflow: visible;
}

.featured-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  max-height: 500px;
}

.featured-title {
  font-size: 32px;
  font-weight: 700;
  line-height: 1.3;
  margin: 0 0 12px;
  color: #000000;
}

.featured-title a {
  color: #000000;
  text-decoration: none;
}

.featured-title a:hover {
  color: #000000;
  text-decoration: underline;
}

.featured-meta {
  font-size: 13px;
  color: #666666;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.featured-summary {
  font-size: 16px;
  line-height: 1.7;
  color: #333333;
  margin-bottom: 24px;
}

.featured-source {
  font-size: 12px;
  color: #999999;
  font-style: italic;
}

.featured-section-wrapper {
  width: 100%;
}

/* News Grid Section */
.news-grid-container {
  width: 100%;
  margin-top: 32px;
}

.news-grid-container .news-grid {
  grid-template-columns: repeat(4, 1fr); /* 4 columns: 25% each */
  grid-auto-rows: minmax(250px, auto); /* Base row height - reduced for right articles */
  gap: 24px;
  grid-auto-flow: dense; /* Fill gaps automatically */
}

/* MSN Pattern 1: Hero + 2 Stacked */
/* First article: Large featured - 50% width (columns 1-2), 200% height (spans 2 rows) */
.news-grid-container .news-card:first-child {
  grid-column: 1 / 3;
  grid-row: 1 / 3;
  min-height: 500px; /* 2 rows × 250px */
}

/* Second article: Medium - 50% width (columns 3-4), reduced height (row 1, right top - stacked) */
.news-grid-container .news-card:nth-child(2) {
  grid-column: 3 / 5;
  grid-row: 1;
  min-height: 250px; /* Reduced height for right articles */
}

/* Third article: Medium - 50% width (columns 3-4), reduced height (row 2, right bottom - stacked below second) */
.news-grid-container .news-card:nth-child(3) {
  grid-column: 3 / 5;
  grid-row: 2;
  min-height: 250px; /* Reduced height for right articles */
}

/* M&A News Section - Original Design: Uniform Grid Layout */
.spac-otc-news-container {
  width: 100%;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid #e0e0e0;
}

.spac-otc-news-container .news-grid {
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  grid-auto-flow: row;
  grid-auto-rows: minmax(300px, auto);
}

/* M&A: All articles same size - 4 per row, uniform layout */
.spac-otc-news-container .news-card {
  grid-column: span 1;
  grid-row: span 1;
  min-height: 300px;
}

/* Wealth News Section - 5 Article Pattern: 3 Top, 2 Bottom (All Uniform) */
.wealth-news-container {
  width: 100%;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid #e0e0e0;
}

.wealth-news-container .news-grid {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important; /* 4 columns: 25% each */
  gap: 24px !important;
  grid-auto-flow: row !important;
  grid-auto-rows: minmax(300px, auto) !important;
}

/* Wealth: Top row - Article 1: 50% width (spans columns 1-2) */
.wealth-news-container .news-grid .news-card:nth-child(1) {
  grid-column: 1 / 3 !important; /* Spans columns 1-2 = 50% */
  grid-row: 1 !important;
  min-height: 300px !important;
}

/* Wealth: Top row - Article 2: 25% width (column 3) */
.wealth-news-container .news-grid .news-card:nth-child(2) {
  grid-column: 3 !important; /* Column 3 = 25% */
  grid-row: 1 !important;
  min-height: 300px !important;
}

/* Wealth: Top row - Article 3: 25% width (column 4) */
.wealth-news-container .news-grid .news-card:nth-child(3) {
  grid-column: 4 !important; /* Column 4 = 25% */
  grid-row: 1 !important;
  min-height: 300px !important;
}

/* Wealth: Bottom row - Article 4: 50% width (spans columns 1-2) */
.wealth-news-container .news-grid .news-card:nth-child(4) {
  grid-column: 1 / 3 !important; /* Spans columns 1-2 = 50% */
  grid-row: 2 !important;
  min-height: 300px !important;
}

/* Wealth: Bottom row - Article 5: 50% width (spans columns 3-4) */
.wealth-news-container .news-grid .news-card:nth-child(5) {
  grid-column: 3 / 5 !important; /* Spans columns 3-4 = 50% */
  grid-row: 2 !important;
  min-height: 300px !important;
}

/* Market Research Section - MSN Pattern: Hero + 2 Stacked */
.market-research-container {
  width: 100%;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid #e0e0e0;
}

.market-research-container .news-grid {
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  grid-auto-flow: dense;
  grid-auto-rows: minmax(250px, auto);
}

/* Market Research: First article - Large featured (50% width, 200% height) */
.market-research-container .news-card:first-child {
  grid-column: 1 / 3;
  grid-row: 1 / 3;
  min-height: 500px;
}

/* Market Research: Second article - Medium (50% width, reduced height, right top) */
.market-research-container .news-card:nth-child(2) {
  grid-column: 3 / 5;
  grid-row: 1;
  min-height: 250px;
}

/* Market Research: Third article - Medium (50% width, reduced height, right bottom, stacked) */
.market-research-container .news-card:nth-child(3) {
  grid-column: 3 / 5;
  grid-row: 2;
  min-height: 250px;
}

.section-title {
  font-size: 24px;
  font-weight: 700;
  color: #000000;
  margin: 0 0 24px;
  padding-bottom: 12px;
  border-bottom: 2px solid #000000;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* Default: 3 columns, overridden by specific containers */
  gap: 24px;
}


.news-card {
  background: #ffffff;
  border: 1px solid #e0e0e0;
  transition: box-shadow 0.2s ease-in-out, border-color 0.2s ease-in-out;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  height: 100%;
  border-radius: 4px;
  overflow: hidden;
  position: relative;
}

.news-card:hover {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
  border-color: #999999;
  transform: translateY(-2px);
}

.news-card-image {
  width: 100%;
  height: 200px;
  background: #f0f0f0;
  overflow: hidden;
  flex-shrink: 0;
  display: block;
}

.news-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* MSN Pattern: Different image sizes for different card sizes - Apply to ALL sections */
/* Featured cards: Large image - 60% of previous size (480px, which is 60% of 800px) */
.news-grid-container .news-card.featured .news-card-image,
.market-research-container .news-card.featured .news-card-image {
  height: 480px !important;
  min-height: 480px !important;
  max-height: 480px !important;
  overflow: hidden !important; /* Hide overflow to fit the block */
}

.news-grid-container .news-card.featured .news-card-image img,
.market-research-container .news-card.featured .news-card-image img {
  object-fit: cover !important;
  width: 100% !important;
  height: 100% !important;
}

/* Medium cards: Original image size (150px) - for Latest News, Market Research only */
.news-grid-container .news-card.medium .news-card-image,
.market-research-container .news-card.medium .news-card-image {
  height: 150px !important;
  min-height: 150px !important;
  max-height: 150px !important;
  overflow: hidden !important;
}

.news-grid-container .news-card.medium .news-card-image img,
.market-research-container .news-card.medium .news-card-image img {
  object-fit: cover !important;
  width: 100% !important;
  height: 100% !important;
}

/* Wealth News: All articles use standard image size (200px) - uniform layout */
.wealth-news-container .news-card .news-card-image {
  height: 200px !important;
  min-height: 200px !important;
  max-height: 200px !important;
  overflow: hidden !important;
}

.wealth-news-container .news-card .news-card-image img {
  object-fit: cover !important;
  width: 100% !important;
  height: 100% !important;
}

/* M&A News: Original design - all articles use standard image size (200px) */
.spac-otc-news-container .news-card .news-card-image {
  height: 200px !important;
  min-height: 200px !important;
  max-height: 200px !important;
  overflow: hidden !important;
}

.spac-otc-news-container .news-card .news-card-image img {
  object-fit: cover !important;
  width: 100% !important;
  height: 100% !important;
}

@media (min-width: 161px) and (max-width: 860px) {
  .news-card {
     width: 100% !important;
}}

.news-card-content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.news-card-title {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
  margin: 0 0 12px;
  color: #000000;
}

.news-card-title a {
  color: #000000;
  text-decoration: none;
}

.news-card-title a:hover {
  color: #000000;
  text-decoration: underline;
}

.news-card-meta {
  font-size: 12px;
  color: #666666;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.news-card-summary {
  font-size: 14px;
  line-height: 1.6;
  color: #333333;
  margin-bottom: 12px;
  flex-grow: 1;
}

.news-card-time {
  font-size: 11px;
  color: #999999;
  margin-top: auto;
}

/* CRITICAL: Strictly prevent translation of all ticker symbols */
.notranslate,
.notranslate *,
.symbol-pill,
.article-symbol,
.stock-symbol-item,
.symbol-ticker,
.symbol-pill *,
.article-symbol *,
.stock-symbol-item *,
.symbol-ticker * {
  /* Force Google Translate to skip these elements */
  -webkit-translate: no !important;
  translate: no !important;
}

.symbol-pill {
  display: inline-flex;
  align-items: center;
  padding: 3px 8px;
  border-radius: 3px;
  background: #e0e0e0;
  font-size: 11px;
  font-weight: 600;
  color: #1a1a1a;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Right Column - Latest News */
.right-column {
  min-width: 0;
}

.latest-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid #000000;
}

.latest-title {
  font-size: 20px;
  font-weight: 700;
  color: #000000;
  margin: 0;
}

.category-select {
  font-size: 12px;
  padding: 4px 8px;
  border: 1px solid #e0e0e0;
  background: #ffffff;
  cursor: pointer;
}

.latest-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.latest-item {
  padding: 16px 0;
  border-bottom: 1px solid #e0e0e0;
  cursor: pointer;
  transition: background 0.2s;
}

.latest-item:hover {
  background: #f5f5f5;
}

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

.latest-time {
  font-size: 12px;
  color: #666666;
  font-weight: 600;
  margin-bottom: 6px;
}

.latest-item-title {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
  color: #000000;
  text-decoration: none;
  display: block;
}

.latest-item-title:hover {
  color: #000000;
  text-decoration: underline;
}

/* Loading State */
.loading {
  padding: 48px 0;
  text-align: center;
  color: #666666;
  font-size: 14px;
}

/* Error Messages */
.error-message {
  background: #fff3cd;
  border: 1px solid #ffc107;
  color: #856404;
  padding: 16px;
  border-radius: 4px;
  margin: 16px 0;
}

.error-message p {
  margin: 0;
}

/* Responsive */
@media (max-width: 1200px) {
  .news-grid-container .news-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
  
  .wealth-news-container .news-grid {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 24px !important;
  }
  .market-research-container .news-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
}

@media (max-width: 1024px) {
  .content-container {
    flex-direction: column;
  }
  
  .news-grid-container .news-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  
  .wealth-news-container .news-grid {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 24px !important;
  }
  .market-research-container .news-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .news-grid-container .news-grid,
  .wealth-news-container .news-grid {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 24px !important;
  }
  .market-research-container .news-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .right-column {
    order: -1;
  }
  
  .latest-header {
    margin-top: 0;
  }
}

@media (max-width: 768px) {
  .top-bar-container,
  .header-container,
  .nav-container,
  .ticker-container,
  .main-wrapper {
    padding-left: 16px;
    padding-right: 16px;
  }
  
  .top-links {
    gap: 12px;
    font-size: 11px;
  }
  
  .nav-container {
    gap: 16px;
  }
  
  .main-logo {
    font-size: 24px;
  }
  
  .ticker-items {
    gap: 12px;
  }
  
  .featured-title {
    font-size: 24px;
  }
  
  .featured-image {
    min-height: 200px;
    max-height: 300px;
  }
  
  .featured-image img {
    max-height: 300px;
  }
}

/* Mobile: Screens below 460px - One article per row */
@media (max-width: 460px) {
  /* Today's Latest News - One article per row */
  .news-grid-container .news-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }
  
  .news-grid-container .news-card:first-child,
  .news-grid-container .news-card:nth-child(2),
  .news-grid-container .news-card:nth-child(3) {
    grid-column: 1 !important;
    grid-row: auto !important;
    min-height: auto !important;
    width: 100% !important;
  }
  
  /* Wealth News - One article per row */
  .wealth-news-container .news-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }
  
  .wealth-news-container .news-grid .news-card,
  .wealth-news-container .news-grid .news-card:nth-child(1),
  .wealth-news-container .news-grid .news-card:nth-child(2),
  .wealth-news-container .news-grid .news-card:nth-child(3),
  .wealth-news-container .news-grid .news-card:nth-child(4),
  .wealth-news-container .news-grid .news-card:nth-child(5) {
    width: 100% !important;
    grid-column: 1 !important;
    grid-row: auto !important;
    min-height: auto !important;
  }
  
  /* Market Research - One article per row */
  .market-research-container .news-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }
  
  .market-research-container .news-card:first-child,
  .market-research-container .news-card:nth-child(2),
  .market-research-container .news-card:nth-child(3) {
    grid-column: 1 !important;
    grid-row: auto !important;
    width: 100% !important;
  }
  
  /* SPAC/OTC News - One article per row */
  .spac-otc-news-container .news-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }
  
  .spac-otc-news-container .news-card {
    width: 100% !important;
  }
  
  /* General news cards - ensure full width */
  .news-card {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
  }
  
  /* News card images - full width on mobile */
  .news-card-image {
    width: 100% !important;
    height: auto !important;
    min-height: 200px !important;
    max-height: 250px !important;
  }
  
  .news-card-image img {
    width: 100% !important;
    height: auto !important;
    object-fit: cover !important;
  }
  
  /* Featured and medium cards - same size on mobile */
  .news-grid-container .news-card.featured .news-card-image,
  .news-grid-container .news-card.medium .news-card-image,
  .market-research-container .news-card.featured .news-card-image,
  .market-research-container .news-card.medium .news-card-image {
    height: 200px !important;
    min-height: 200px !important;
    max-height: 250px !important;
  }
  
  /* Adjust padding for mobile */
  .news-card {
    padding: 12px !important;
  }
  
  .news-card-title {
    font-size: 16px !important;
    line-height: 1.4 !important;
    margin-bottom: 8px !important;
  }
  
  .news-card-summary {
    font-size: 13px !important;
    line-height: 1.5 !important;
  }
  
  /* Opinions Page - One article per row */
  .opinions-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }
  
  .opinions-grid .opinion-grid-card:first-child,
  .opinions-grid .opinion-grid-card:nth-child(2),
  .opinions-grid .opinion-grid-card:nth-child(3) {
    grid-column: 1 !important;
    grid-row: auto !important;
    width: 100% !important;
  }
  
  .opinions-grid .opinion-grid-card:first-child .opinion-grid-image,
  .opinions-grid .opinion-grid-card:nth-child(2) .opinion-grid-image,
  .opinions-grid .opinion-grid-card:nth-child(3) .opinion-grid-image {
    height: 200px !important;
    min-height: 200px !important;
    max-height: 250px !important;
  }
  
  /* Opinion cards (list view) - stack vertically on mobile */
  .opinion-card {
    flex-direction: column !important;
    gap: 12px !important;
  }
  
  .opinion-card-image {
    width: 100% !important;
    height: 200px !important;
    flex-shrink: 0 !important;
  }
  
  .opinion-card-content {
    width: 100% !important;
  }
  
  .opinion-card-title {
    font-size: 16px !important;
  }
  
  .opinion-card-summary {
    font-size: 13px !important;
  }
}

/* Medium screens: 460px to 860px - M&A News shows 2 per row, Wealth and Market Research show 1 per row */
@media (min-width: 461px) and (max-width: 860px) {
  /* M&A News - 2 articles per row */
  .spac-otc-news-container .news-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 20px !important;
  }
  
  .spac-otc-news-container .news-card {
    width: 100% !important;
  }
  
  /* Today's Wealth - 1 article per row */
  .wealth-news-container .news-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }
  
  .wealth-news-container .news-grid .news-card,
  .wealth-news-container .news-grid .news-card:nth-child(1),
  .wealth-news-container .news-grid .news-card:nth-child(2),
  .wealth-news-container .news-grid .news-card:nth-child(3),
  .wealth-news-container .news-grid .news-card:nth-child(4),
  .wealth-news-container .news-grid .news-card:nth-child(5) {
    width: 100% !important;
    grid-column: 1 !important;
    grid-row: auto !important;
    min-height: auto !important;
  }
  
  /* Today's Market Research - 1 article per row */
  .market-research-container .news-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }
  
  .market-research-container .news-card:first-child,
  .market-research-container .news-card:nth-child(2),
  .market-research-container .news-card:nth-child(3) {
    grid-column: 1 !important;
    grid-row: auto !important;
    width: 100% !important;
  }
}

/* Medium-large screens: 860px to 1030px - Show 3 articles per row */
@media (min-width: 861px) and (max-width: 1030px) {
  /* Today's Latest News - 3 articles per row */
  .news-grid-container .news-grid {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 20px !important;
  }
  
  .news-grid-container .news-card:first-child,
  .news-grid-container .news-card:nth-child(2),
  .news-grid-container .news-card:nth-child(3) {
    grid-column: auto !important;
    grid-row: auto !important;
    min-height: auto !important;
    width: 100% !important;
  }
  
  /* Today's Wealth - 3 articles per row */
  .wealth-news-container .news-grid {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 20px !important;
  }
  
  .wealth-news-container .news-grid .news-card,
  .wealth-news-container .news-grid .news-card:nth-child(1),
  .wealth-news-container .news-grid .news-card:nth-child(2),
  .wealth-news-container .news-grid .news-card:nth-child(3),
  .wealth-news-container .news-grid .news-card:nth-child(4),
  .wealth-news-container .news-grid .news-card:nth-child(5) {
    width: 100% !important;
    grid-column: auto !important;
    grid-row: auto !important;
    min-height: auto !important;
  }
  
  /* Today's Market Research - 3 articles per row */
  .market-research-container .news-grid {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 20px !important;
  }
  
  .market-research-container .news-card:first-child,
  .market-research-container .news-card:nth-child(2),
  .market-research-container .news-card:nth-child(3) {
    grid-column: auto !important;
    grid-row: auto !important;
    width: 100% !important;
  }
  
  /* Make all images the same size - cut/overflow to fit */
  .news-grid-container .news-card .news-card-image,
  .news-grid-container .news-card.featured .news-card-image,
  .news-grid-container .news-card.medium .news-card-image,
  .wealth-news-container .news-card .news-card-image,
  .market-research-container .news-card .news-card-image,
  .market-research-container .news-card.featured .news-card-image,
  .market-research-container .news-card.medium .news-card-image {
    height: 200px !important;
    min-height: 200px !important;
    max-height: 200px !important;
    overflow: hidden !important;
  }
  
  .news-grid-container .news-card .news-card-image img,
  .news-grid-container .news-card.featured .news-card-image img,
  .news-grid-container .news-card.medium .news-card-image img,
  .wealth-news-container .news-card .news-card-image img,
  .market-research-container .news-card .news-card-image img,
  .market-research-container .news-card.featured .news-card-image img,
  .market-research-container .news-card.medium .news-card-image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
  }
}

/* Large screens: 1030px to 1315px - Today's Wealth shows 3 per row with uniform image heights */
@media (min-width: 1031px) and (max-width: 1315px) {
  /* Today's Wealth - 3 articles per row */
  .wealth-news-container .news-grid {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 24px !important;
  }
  
  .wealth-news-container .news-grid .news-card,
  .wealth-news-container .news-grid .news-card:nth-child(1),
  .wealth-news-container .news-grid .news-card:nth-child(2),
  .wealth-news-container .news-grid .news-card:nth-child(3),
  .wealth-news-container .news-grid .news-card:nth-child(4),
  .wealth-news-container .news-grid .news-card:nth-child(5) {
    width: 100% !important;
    grid-column: auto !important;
    grid-row: auto !important;
    min-height: auto !important;
  }
  
  /* Make all Today's Wealth images the same height */
  .wealth-news-container .news-card .news-card-image {
    height: 200px !important;
    min-height: 200px !important;
    max-height: 200px !important;
    overflow: hidden !important;
  }
  
  .wealth-news-container .news-card .news-card-image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
  }
}

/* Footer */
.footer {
  border-top: 1px solid #e0e0e0;
  margin-top: 64px;
  padding-top: 24px;
  padding-bottom: 24px;
  font-size: 12px;
  color: #666666;
  background: #ffffff;
}

.footer-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-left {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-right {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}

.footer-copyright {
  max-width: 1400px;
  margin: 24px auto 0;
  padding: 0 24px;
  text-align: center;
  font-size: 12px;
  color: #666666;
}

.footer-link {
  color: #666666;
  text-decoration: none;
}

.footer-link:hover {
  text-decoration: underline;
  color: #000000;
}

/* Footer styles for medium screens: 380px to 916px - Two columns side by side, centered */
@media (min-width: 380px) and (max-width: 916px) {
  .footer-container {
    flex-direction: row !important;
    justify-content: center !important;
    align-items: flex-start !important;
    padding: 0 16px !important;
    gap: 112px !important;
  }
  
  .footer-left {
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
    align-items: flex-start !important;
    flex: 0 0 auto !important;
  }
  
  .footer-right {
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
    align-items: flex-start !important;
    flex: 0 0 auto !important;
    text-align: left !important;
  }
  
  .footer-copyright {
    margin-top: 20px !important;
    padding: 0 16px !important;
    text-align: center !important;
  }
  
  .footer-link {
    display: block !important;
    white-space: nowrap !important;
  }
}

/* Footer styles for small screens: below 380px - Stack vertically */
@media (max-width: 379px) {
  .footer-container {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .footer-left,
  .footer-right {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}

