﻿/* Suriname Now - Live News Channel Styles */

:root { 
  --bg: #0b0f14; 
  --fg: #e6edf3; 
  --accent: #2ea043; 
  --muted: #7d8590; 
}

* { 
  box-sizing: border-box; 
}

body { 
  margin: 0; 
  padding: 0;
  font: 16px/1.4 system-ui, -apple-system, Segoe UI, Roboto, sans-serif; 
  background: var(--bg); 
  color: var(--fg); 
  overflow: hidden;
}

.wrap { 
  display: grid; 
  grid-template-rows: 120px 1fr 64px;
  width: 1920px; 
  height: 1080px; 
  position: fixed;
  top: 0;
  left: 0;
}

/* Header Styles */
header {
  padding: 16px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  border-bottom: 1px solid #16212b;
  height: 120px; /* Fixed header height */
}

header > * {
  flex-shrink: 0;
}


header .logo { 
  font-weight: 800; 
  letter-spacing: 0.5px; 
  display: flex; 
  align-items: center; 
  gap: 8px; 
}

header .logo img { 
  height: 100px; 
  width: auto; 
}

.live-indicator {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 24px;
  font-weight: bold;
}

.live-dot {
  width: 24px;
  height: 24px;
  background: #f85149;
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.7;
    transform: scale(1.2);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

/* Clock Container */
.clock-container {
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  min-width: 0;
}

.clock {
  color: var(--muted);
  font-variant-numeric: tabular-nums;
  font-size: 24px;
  font-weight: 500;
}

/* Main Content */
.main {
  display: flex;
  justify-content: center;
  align-items: stretch;
  padding: 32px 32px 24px;
  height: 896px; /* Adjusted for new grid layout */
}


.main-card {
  width: 100%;
  max-width: 1800px;
  position: relative;
  display: flex;
  height: 100%;
}

.main-card .card {
  flex: 1;
  height: 100%;
  overflow: hidden;
}

.headline-row {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 16px;
}

.slide-counter {
  display: none;
  align-items: center;
  background: rgba(0, 0, 0, 0.65);
  color: var(--fg);
  padding: 4px 18px;
  border-radius: 999px;
  font-size: 30px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  letter-spacing: 0.5px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
  font-family: inherit;
}

.card { 
  border: 1px solid #16212b; 
  border-radius: 16px; 
  padding: 16px; 
  background: #0f141a; 
  box-shadow: 0 0 0 1px rgba(255,255,255,.02) inset; 
  display: flex;
  flex-direction: column;
}

.card:first-child {
  min-height: 0; /* Allow content to expand naturally */
}

.summary {
  flex: 1;
  margin: 0;
  line-height: 1.6;
  overflow-wrap: break-word;
  font-size: 32px;
  overflow: hidden;
}

.summary.weather-mode {
  padding: 0;
  font-size: 16px;
  overflow: visible;
}

.headline { 
  font-size: 36px; 
  font-weight: 700; 
  margin: 0; 
  line-height: 1.3;
}

.meta { 
  color: var(--muted); 
  font-size: 16px; 
  margin-bottom: 8px; 
}

.list { 
  display: flex; 
  flex-direction: column; 
  gap: 12px; 
  max-height: calc(100vh - 220px); 
  overflow: hidden; 
}

.item { 
  padding: 12px 12px; 
  border-radius: 12px; 
  transition: background 0.2s; 
}

.item:hover { 
  background: #0c1117; 
}

/* Ticker Styles */
.ticker { 
  height: 64px; 
  border-top: 1px solid #16212b; 
  display: flex; 
  align-items: center; 
  overflow: hidden; 
  background: #0d1117; 
  font-size: 24px;
  line-height: 1;
  padding: 0 32px;
}

.ticker .track { 
  display: flex; 
  gap: 48px; 
  white-space: nowrap; 
  animation: scroll var(--ticker-duration, 60s) linear infinite;
  align-items: center;
  height: 64px;
  font-size: 28px;
}

.ticker .breaking { 
  color: #f85149; 
  font-weight: bold; 
}

.ticker .info { 
  color: var(--accent); 
  font-weight: 600; 
}

.ticker .separator { 
  color: var(--accent); 
  margin: 0 16px; 
}

.ticker .text {
  font-size: 28px;
  margin-bottom: 0;

}
.ticker .meta {
  font-size: 28px;
  margin-bottom: 0;
  
}

/* Pills and Status */
.pill { 
  padding: 4px 10px; 
  border-radius: 999px; 
  border: 1px solid #22303c; 
  color: var(--muted); 
  font-size: 13px; 
}

.live { 
  color: #fff; 
  background: #d11; 
  border-color: #d11; 
}

.ok { 
  color: #fff; 
  background: var(--accent); 
  border-color: var(--accent); 
}

/* Animations */
@keyframes scroll { 
  0% { transform: translateX(0); } 
  100% { transform: translateX(-50%); } 
}

/* Links */
a { 
  color: #58a6ff; 
  text-decoration: none; 
}

a:hover { 
  text-decoration: underline; 
}

/* Crypto-specific styles */
.crypto-price {
  font-family: 'Courier New', monospace;
}

.positive {
  color: #2ea043;
}

.negative {
  color: #f85149;
}

/* Weather slide styles */
.weather-content {
  font-size: 20px;
  line-height: 1.6;
}

.weather-icon {
  font-size: 24px;
  margin-right: 8px;
}

/* Status page styles */
.status-main {
  display: flex;
  justify-content: center;
  padding: 24px 32px;
  height: 936px;
}

.status-card {
  width: 100%;
  max-width: 1200px;
}

.status-card h2 {
  color: var(--fg);
  font-size: 18px;
  font-weight: 600;
  margin: 16px 0;
  border-bottom: 1px solid #16212b;
  padding-bottom: 8px;
}

/* Weather Cards Styles */
.weather-grid {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
}

.weather-title {
  font-size: 42px;
  font-weight: 700;
  text-align: center;
  margin: 0 0 32px 0;
  color: var(--fg);
}

.weather-cards {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  margin-bottom: 20px;
}

.weather-card {
  background: linear-gradient(135deg, #0f141a 0%, #161b22 100%);
  border: 1px solid #30363d;
  border-radius: 16px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 4px 16px rgba(0,0,0,0.3);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  position: relative;
  overflow: hidden;
}

.weather-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #2ea043, #238636);
}

.weather-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.4);
}

.city-name {
  font-size: 18px;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.weather-icon {
  font-size: 48px;
  margin: 16px 0;
  display: block;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}

.temperature {
  font-size: 36px;
  font-weight: 700;
  color: #f85149;
  margin: 12px 0;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.weather-condition {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 16px;
  font-style: italic;
}

.weather-details {
  border-top: 1px solid #30363d;
  padding-top: 16px;
  font-size: 13px;
}

.weather-detail {
  display: flex;
  justify-content: space-between;
  margin: 6px 0;
  color: var(--fg);
}

.weather-detail .label {
  color: var(--muted);
}

/* Responsive weather cards */
@media (max-width: 1600px) {
  .weather-cards {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 1200px) {
  .weather-cards {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 900px) {
  .weather-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}



