/* ============================================
   US HOT NEWS - HOME PAGE STYLES
   ============================================ */

/* Breaking News Ticker */
.ticker-wrapper {
  background: var(--red);
  overflow: hidden;
  height: 40px;
  display: flex;
  align-items: center;
}

.ticker-badge {
  flex-shrink: 0;
  background: var(--gold);
  color: var(--gray-800);
  padding: var(--space-xs) var(--space-md);
  font-weight: 700;
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 1px;
  height: 100%;
  display: flex;
  align-items: center;
}

.ticker-content {
  flex: 1;
  overflow: hidden;
  position: relative;
}

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

.ticker-item {
  display: inline-flex;
  align-items: center;
  padding: 0 var(--space-2xl);
  color: var(--white);
  font-size: var(--text-sm);
  font-weight: 500;
}

.ticker-item::before {
  content: "•";
  margin-right: var(--space-md);
  color: var(--gold);
}

.ticker-separator {
  display: inline-block;
  width: 1px;
  height: 16px;
  background: rgba(255, 255, 255, 0.3);
  margin: 0 var(--space-lg);
}

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

/* Hero Section */
.hero-section {
  padding: var(--space-xl) 0;
}

.hero-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--navy);
  min-height: 450px;
  display: flex;
  align-items: flex-end;
}

.hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.4;
}

.hero-image-placeholder {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 120px;
  opacity: 0.3;
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: var(--space-2xl);
  max-width: 800px;
}

.hero-badge {
  display: inline-block;
  background: var(--red);
  color: var(--white);
  padding: var(--space-xs) var(--space-md);
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: var(--radius-sm);
  margin-bottom: var(--space-md);
}

.hero-headline {
  font-family: var(--font-heading);
  font-size: var(--text-4xl);
  color: var(--white);
  margin-bottom: var(--space-md);
  line-height: 1.1;
}

.hero-summary {
  color: var(--gray-300);
  font-size: var(--text-lg);
  margin-bottom: var(--space-md);
  line-height: 1.6;
}

.hero-meta {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  color: var(--gray-400);
  font-size: var(--text-sm);
}

.hero-author {
  color: var(--gold);
  font-weight: 600;
}

/* Section Container */
.home-section {
  padding: var(--space-xl) 0;
}

.home-section + .ad-placeholder {
  margin: var(--space-lg) 0;
}

/* Top Stories Grid */
.top-stories-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-lg);
}

/* Category Sections */
.category-section {
  margin-bottom: var(--space-2xl);
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-lg);
  padding-bottom: var(--space-md);
  border-bottom: 3px solid var(--red);
}

.section-header h2 {
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  color: var(--gray-800);
}

.view-all-link {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--red);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.view-all-link:hover {
  color: var(--red-dark);
  text-decoration: underline;
}

/* Category Grid */
.category-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

/* Sports Section */
.sports-scores-bar {
  display: flex;
  gap: var(--space-md);
  overflow-x: auto;
  padding: var(--space-md);
  background: var(--gray-100);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-lg);
}

.sports-score-card {
  flex-shrink: 0;
  padding: var(--space-md);
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  min-width: 180px;
  border-left: 4px solid var(--cat-sports);
}

.sports-score-teams {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-xs);
}

.sports-score-team {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--gray-700);
}

.sports-score-points {
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--gray-800);
}

.sports-score-status {
  font-size: var(--text-xs);
  color: var(--red);
  font-weight: 600;
}

.sports-score-status.final {
  color: var(--gray-500);
}

/* Crime Section - List Style */
.crime-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.crime-list-item {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-md);
  background: var(--white);
  border-radius: var(--radius-md);
  border-left: 4px solid var(--cat-crime);
  transition: all var(--transition-fast);
}

.crime-list-item:hover {
  transform: translateX(4px);
  box-shadow: var(--shadow-md);
}

.crime-list-title {
  flex: 1;
  font-weight: 600;
  color: var(--gray-800);
}

.crime-list-meta {
  font-size: var(--text-xs);
  color: var(--gray-400);
  white-space: nowrap;
}

/* Two Column Grid */
.two-col-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-lg);
}

/* Home Page Layout */
.home-layout {
  display: flex;
  gap: var(--space-xl);
  max-width: var(--container-max);
  margin: 0 auto;
  padding: var(--space-xl) var(--space-md);
}

.home-main {
  flex: 1;
  min-width: 0;
}

.home-sidebar {
  width: var(--sidebar-width);
  flex-shrink: 0;
}

/* Ad Section */
.ad-section {
  margin: var(--space-xl) 0;
}

/* Horizontal Scroll Grid */
.horizontal-scroll {
  display: flex;
  gap: var(--space-lg);
  overflow-x: auto;
  padding-bottom: var(--space-md);
  scroll-snap-type: x mandatory;
}

.horizontal-scroll::-webkit-scrollbar {
  height: 6px;
}

.horizontal-scroll::-webkit-scrollbar-track {
  background: var(--gray-100);
  border-radius: var(--radius-full);
}

.horizontal-scroll::-webkit-scrollbar-thumb {
  background: var(--gray-300);
  border-radius: var(--radius-full);
}

.horizontal-scroll .card {
  flex-shrink: 0;
  width: 280px;
  scroll-snap-align: start;
}
