/* ========================================
   SD PULSE — San Diego News Hub
   Modern, responsive news site CSS
   ======================================== */

:root {
  --primary: #1a2332;
  --primary-light: #2a3a4e;
  --accent: #e63946;
  --accent-hover: #c62833;
  --blue: #2563eb;
  --blue-light: #3b82f6;
  --gold: #f59e0b;
  --green: #10b981;
  --purple: #8b5cf6;
  --teal: #0d9488;
  --text: #1a1a2e;
  --text-secondary: #64748b;
  --text-light: #94a3b8;
  --bg: #ffffff;
  --bg-off: #f8fafc;
  --bg-warm: #fefce8;
  --border: #e2e8f0;
  --border-light: #f1f5f9;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
  --shadow-lg: 0 10px 30px rgba(0,0,0,0.12);
  --radius: 8px;
  --radius-lg: 12px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'Playfair Display', Georgia, serif;
  --max-width: 1240px;
  --header-height: 60px;
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font); color: var(--text); background: var(--bg); line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
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: inherit; }
input { font-family: inherit; }

/* Utility */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 20px; }
.btn { display: inline-block; padding: 10px 22px; border-radius: 6px; font-weight: 600; font-size: 0.875rem; transition: all 0.2s; text-align: center; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-hover); color: #fff; }
.btn-outline { border: 2px solid var(--accent); color: var(--accent); }
.btn-outline:hover { background: var(--accent); color: #fff; }

/* ======================== BREAKING NEWS BAR ======================== */
.breaking-bar {
  background: var(--accent);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 8px 0;
  position: relative;
  z-index: 100;
}
.breaking-bar-inner { display: flex; align-items: center; gap: 12px; }
.breaking-label {
  background: #fff;
  color: var(--accent);
  padding: 2px 10px;
  border-radius: 3px;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  flex-shrink: 0;
  animation: pulse-label 2s ease-in-out infinite;
}
@keyframes pulse-label {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}
.breaking-text { flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.breaking-close { color: #fff; font-size: 1.4rem; padding: 0 4px; opacity: 0.7; }
.breaking-close:hover { opacity: 1; }

/* ======================== TOP BAR ======================== */
.top-bar { background: var(--primary); color: #cbd5e1; font-size: 0.78rem; padding: 6px 0; }
.top-bar-inner { display: flex; justify-content: space-between; align-items: center; }
.top-bar-left { display: flex; align-items: center; gap: 16px; }
.weather-widget { display: flex; align-items: center; gap: 6px; font-weight: 500; }
.icon-sun { color: var(--gold); }
.top-bar-right { display: flex; gap: 16px; }
.top-bar-right a { color: #cbd5e1; transition: color 0.2s; }
.top-bar-right a:hover { color: #fff; }
.lang-toggle { border: 1px solid #475569; padding: 2px 10px; border-radius: 4px; font-size: 0.72rem; }

/* ======================== HEADER ======================== */
.site-header { background: #fff; border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 90; }
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 12px 20px; }
.logo a { display: flex; align-items: baseline; gap: 2px; text-decoration: none; }
.logo-sd { font-family: var(--font-display); font-size: 1.6rem; font-weight: 900; color: var(--accent); line-height: 1; }
.logo-pulse { font-family: var(--font); font-size: 1.6rem; font-weight: 900; color: var(--primary); line-height: 1; letter-spacing: -0.5px; }
.logo-tagline { display: block; font-size: 0.7rem; color: var(--text-secondary); letter-spacing: 0.5px; text-transform: uppercase; margin-top: 2px; }
.header-actions { display: flex; align-items: center; gap: 12px; }
.search-btn { padding: 8px; color: var(--text-secondary); transition: color 0.2s; }
.search-btn:hover { color: var(--accent); }

/* Search Overlay */
.search-overlay {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #fff;
  padding: 16px 0;
  box-shadow: var(--shadow-md);
  border-top: 1px solid var(--border);
  z-index: 100;
}
.search-overlay.active { display: block; }
.search-form { display: flex; gap: 8px; align-items: center; }
.search-input { flex: 1; padding: 12px 16px; border: 2px solid var(--border); border-radius: var(--radius); font-size: 1rem; outline: none; transition: border-color 0.2s; }
.search-input:focus { border-color: var(--accent); }
.search-close { font-size: 1.8rem; color: var(--text-secondary); padding: 4px 8px; }

/* Mobile menu */
.mobile-menu-btn { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.mobile-menu-btn span { display: block; width: 22px; height: 2px; background: var(--primary); transition: 0.3s; }

/* ======================== MAIN NAV ======================== */
.main-nav { background: var(--primary); }
.nav-list { display: flex; align-items: center; gap: 0; overflow-x: auto; scrollbar-width: none; }
.nav-list::-webkit-scrollbar { display: none; }
.nav-list li a, .nav-more-btn {
  display: block;
  padding: 12px 16px;
  color: #cbd5e1;
  font-size: 0.85rem;
  font-weight: 500;
  white-space: nowrap;
  transition: all 0.2s;
}
.nav-list li a:hover, .nav-list li a.active, .nav-more-btn:hover {
  color: #fff;
  background: rgba(255,255,255,0.08);
}
.nav-more { position: relative; }
.nav-more-btn { display: flex; align-items: center; gap: 4px; color: #cbd5e1; }
.nav-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  min-width: 180px;
  z-index: 100;
  overflow: hidden;
}
.nav-more:hover .nav-dropdown { display: block; }
.nav-dropdown li a { color: var(--text); padding: 10px 16px; font-size: 0.85rem; }
.nav-dropdown li a:hover { background: var(--bg-off); color: var(--accent); }

/* ======================== TRENDING BAR ======================== */
.trending-bar { background: var(--bg-off); border-bottom: 1px solid var(--border); padding: 10px 0; }
.trending-inner { display: flex; align-items: center; gap: 16px; }
.trending-label { font-size: 0.75rem; font-weight: 700; color: var(--accent); text-transform: uppercase; letter-spacing: 0.5px; flex-shrink: 0; }
.trending-scroll { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.trending-scroll::-webkit-scrollbar { display: none; }
.trending-scroll a {
  display: inline-block;
  padding: 4px 14px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text);
  white-space: nowrap;
  transition: all 0.2s;
}
.trending-scroll a:hover { border-color: var(--accent); color: var(--accent); }

/* ======================== CATEGORY BADGES ======================== */
.category-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 4px;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}
.badge-news { background: var(--accent); color: #fff; }
.badge-politics { background: #7c3aed; color: #fff; }
.badge-sports { background: var(--blue); color: #fff; }
.badge-food { background: #ea580c; color: #fff; }
.badge-business { background: var(--teal); color: #fff; }
.badge-arts { background: #d946ef; color: #fff; }
.badge-neighborhoods { background: var(--green); color: #fff; }
.badge-environment { background: #16a34a; color: #fff; }
.badge-education { background: var(--gold); color: #1a1a2e; }
.badge-opinion { background: #64748b; color: #fff; }

/* ======================== HERO SECTION ======================== */
.hero-section { padding: 24px 0; }
.hero-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 20px; }
.hero-main { border-radius: var(--radius-lg); overflow: hidden; }
.hero-main-img {
  height: 480px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
  position: relative;
}
.hero-main-img::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.2) 50%, transparent 100%);
}
.hero-main-overlay {
  position: relative;
  padding: 32px;
  color: #fff;
}
.hero-main-overlay h2 {
  font-family: var(--font-display);
  font-size: 1.9rem;
  line-height: 1.2;
  margin: 12px 0 8px;
}
.hero-main-overlay h2 a { color: #fff; }
.hero-main-overlay h2 a:hover { color: var(--gold); }
.hero-main-overlay p { font-size: 0.95rem; color: #d1d5db; max-width: 90%; }
.hero-main-overlay .article-meta { margin-top: 12px; }
.hero-main-overlay .article-meta span { color: #9ca3af; font-size: 0.8rem; }

.hero-side { display: flex; flex-direction: column; gap: 16px; }
.hero-card {
  display: flex;
  gap: 14px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow 0.2s;
}
.hero-card:hover { box-shadow: var(--shadow-md); }
.hero-card img { width: 160px; height: 110px; object-fit: cover; flex-shrink: 0; }
.hero-card-body { padding: 10px 14px 10px 0; display: flex; flex-direction: column; justify-content: center; }
.hero-card-body h3 { font-size: 0.9rem; line-height: 1.35; font-weight: 700; margin-top: 6px; }
.hero-card-body h3 a:hover { color: var(--accent); }
.hero-card-body .time { font-size: 0.75rem; color: var(--text-light); margin-top: 4px; }

/* ======================== ARTICLE META ======================== */
.article-meta { display: flex; gap: 16px; flex-wrap: wrap; }
.article-meta span { font-size: 0.78rem; color: var(--text-secondary); }
.article-meta .author { font-weight: 600; }
.read-time { color: var(--accent) !important; }

/* ======================== CONTENT SECTIONS ======================== */
.content-section { padding: 40px 0; }
.section-header { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 24px; padding-bottom: 12px; border-bottom: 3px solid var(--primary); }
.section-header h2 { font-family: var(--font-display); font-size: 1.6rem; font-weight: 800; }
.view-all { font-size: 0.85rem; font-weight: 600; color: var(--accent); }
.section-subtitle { color: var(--text-secondary); margin: -16px 0 24px; font-size: 0.9rem; }

.content-grid { display: grid; grid-template-columns: 1fr 340px; gap: 40px; }

/* Article List */
.article-list { display: flex; flex-direction: column; gap: 24px; }
.article-row { display: flex; gap: 20px; padding-bottom: 24px; border-bottom: 1px solid var(--border-light); }
.article-row img { width: 200px; height: 140px; object-fit: cover; border-radius: var(--radius); flex-shrink: 0; }
.article-row-body h3 { font-size: 1.05rem; line-height: 1.35; margin: 6px 0; font-weight: 700; }
.article-row-body h3 a:hover { color: var(--accent); }
.article-row-body p { font-size: 0.88rem; color: var(--text-secondary); line-height: 1.5; margin-bottom: 8px; }

/* ======================== SIDEBAR ======================== */
.sidebar { display: flex; flex-direction: column; gap: 28px; }
.sidebar-widget { background: var(--bg-off); padding: 24px; border-radius: var(--radius-lg); border: 1px solid var(--border); }
.widget-title { font-size: 1rem; font-weight: 800; margin-bottom: 16px; text-transform: uppercase; letter-spacing: 0.3px; }

/* Popular List */
.popular-list { counter-reset: popular; }
.popular-list li {
  counter-increment: popular;
  padding: 10px 0;
  border-bottom: 1px solid var(--border-light);
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.popular-list li::before {
  content: counter(popular);
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--accent);
  line-height: 1;
  flex-shrink: 0;
  min-width: 20px;
}
.popular-list li a { font-size: 0.88rem; font-weight: 600; line-height: 1.35; }
.popular-list li a:hover { color: var(--accent); }
.popular-list li:last-child { border-bottom: none; }

/* Weather Card */
.weather-card { background: linear-gradient(135deg, #1e40af, #3b82f6); color: #fff; border: none; }
.weather-card .widget-title { color: #fff; }
.weather-current { display: flex; gap: 16px; align-items: center; margin-bottom: 16px; }
.weather-temp { font-size: 3rem; font-weight: 800; line-height: 1; }
.weather-details span { display: block; font-size: 0.82rem; opacity: 0.9; }
.weather-forecast { display: flex; justify-content: space-between; border-top: 1px solid rgba(255,255,255,0.2); padding-top: 12px; }
.forecast-day { text-align: center; font-size: 0.78rem; }
.forecast-day span:first-child { display: block; opacity: 0.8; margin-bottom: 4px; }
.forecast-day span:last-child { font-weight: 700; }

/* Newsletter Widget */
.newsletter-widget { background: var(--primary); color: #fff; border: none; }
.newsletter-widget .widget-title { color: #fff; }
.newsletter-widget p { font-size: 0.85rem; opacity: 0.9; margin-bottom: 14px; }
.newsletter-form input { width: 100%; padding: 10px 14px; border: none; border-radius: 6px; margin-bottom: 10px; font-size: 0.9rem; }
.newsletter-form .btn { width: 100%; }

/* ======================== NEIGHBORHOODS ======================== */
.neighborhoods-section { padding: 48px 0; background: var(--bg-off); }
.neighborhood-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.hood-card {
  height: 180px;
  border-radius: var(--radius-lg);
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s;
}
.hood-card:hover { transform: scale(1.03); }
.hood-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.1) 100%);
  transition: background 0.3s;
}
.hood-card:hover::before { background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.2) 100%); }
.hood-overlay {
  position: absolute;
  bottom: 16px;
  left: 16px;
  color: #fff;
}
.hood-overlay span { display: block; font-size: 1.1rem; font-weight: 800; }
.hood-overlay small { font-size: 0.75rem; opacity: 0.8; }

/* ======================== EVENTS ======================== */
.events-section { padding: 48px 0; }
.events-tabs { display: flex; gap: 8px; margin-bottom: 24px; }
.event-tab {
  padding: 8px 20px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  background: var(--bg-off);
  color: var(--text-secondary);
  border: 1px solid var(--border);
  transition: all 0.2s;
}
.event-tab.active, .event-tab:hover { background: var(--accent); color: #fff; border-color: var(--accent); }
.events-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.event-card {
  display: flex;
  gap: 16px;
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: box-shadow 0.2s;
  background: #fff;
}
.event-card:hover { box-shadow: var(--shadow-md); }
.event-date {
  flex-shrink: 0;
  text-align: center;
  background: var(--bg-off);
  padding: 10px 14px;
  border-radius: var(--radius);
}
.event-month { display: block; font-size: 0.65rem; font-weight: 700; color: var(--accent); text-transform: uppercase; }
.event-day { display: block; font-size: 1.5rem; font-weight: 900; color: var(--primary); line-height: 1.1; }
.event-body h3 { font-size: 0.92rem; font-weight: 700; line-height: 1.35; margin: 6px 0 8px; }
.event-body h3 a:hover { color: var(--accent); }
.event-details { display: flex; gap: 16px; font-size: 0.78rem; color: var(--text-secondary); }
.submit-event { text-align: center; margin-top: 24px; }

/* ======================== FOOD & DRINK ======================== */
.food-section { padding: 48px 0; background: var(--bg-off); }
.food-tabs { display: flex; gap: 8px; margin-bottom: 24px; }
.food-tab {
  padding: 8px 20px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  background: #fff;
  color: var(--text-secondary);
  border: 1px solid var(--border);
  transition: all 0.2s;
}
.food-tab.active, .food-tab:hover { background: #ea580c; color: #fff; border-color: #ea580c; }
.food-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.food-card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: box-shadow 0.2s, transform 0.2s;
}
.food-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.food-card img { width: 100%; height: 200px; object-fit: cover; }
.food-card-body { padding: 16px 20px 20px; }
.food-rating { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.stars { color: var(--gold); font-size: 0.9rem; }
.hood-tag { font-size: 0.72rem; font-weight: 600; color: var(--text-secondary); background: var(--bg-off); padding: 2px 8px; border-radius: 4px; }
.food-card-body h3 { font-size: 0.95rem; font-weight: 700; line-height: 1.35; margin-bottom: 8px; }
.food-card-body h3 a:hover { color: var(--accent); }
.food-card-body p { font-size: 0.83rem; color: var(--text-secondary); }

/* Happy Hour Bar */
.happy-hour-bar {
  margin-top: 32px;
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 24px;
  border: 1px solid var(--border);
}
.happy-hour-bar h3 { font-size: 1rem; font-weight: 800; margin-bottom: 16px; color: #ea580c; }
.hh-list { display: flex; flex-direction: column; gap: 12px; }
.hh-item {
  display: grid;
  grid-template-columns: 1fr 120px 80px 1fr;
  gap: 16px;
  padding: 12px 16px;
  background: var(--bg-off);
  border-radius: var(--radius);
  align-items: center;
  font-size: 0.85rem;
}
.hh-name { font-weight: 700; }
.hh-hood { color: var(--text-secondary); }
.hh-time { font-weight: 600; color: #ea580c; }
.hh-deal { color: var(--text-secondary); font-style: italic; }

/* ======================== SPORTS ======================== */
.sports-section { padding: 48px 0; }
.sports-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 28px; }
.sport-feature {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
}
.sport-feature img { width: 100%; height: 280px; object-fit: cover; }
.sport-feature-body { padding: 20px 24px; }
.sport-feature-body h3 { font-size: 1.15rem; font-weight: 700; margin: 8px 0; }
.sport-feature-body h3 a:hover { color: var(--accent); }
.sports-list { display: flex; flex-direction: column; gap: 16px; }
.sport-item {
  padding: 16px 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: box-shadow 0.2s;
}
.sport-item:hover { box-shadow: var(--shadow-sm); }
.sport-item h4 { font-size: 0.92rem; font-weight: 700; margin: 6px 0 4px; line-height: 1.35; }
.sport-item h4 a:hover { color: var(--accent); }
.sport-item .time { font-size: 0.75rem; color: var(--text-light); }

/* ======================== OPINION ======================== */
.opinion-section { padding: 48px 0; background: var(--bg-off); }
.opinion-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.opinion-card {
  background: #fff;
  padding: 28px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent);
  transition: box-shadow 0.2s;
}
.opinion-card:hover { box-shadow: var(--shadow-md); }
.opinion-icon { font-size: 1.5rem; margin-bottom: 8px; }
.opinion-card h3 { font-size: 1rem; font-weight: 700; line-height: 1.35; margin-bottom: 8px; }
.opinion-card h3 a:hover { color: var(--accent); }
.opinion-card p { font-size: 0.85rem; color: var(--text-secondary); margin-bottom: 12px; }
.opinion-card .author { font-size: 0.8rem; font-weight: 600; color: var(--text-light); }

/* ======================== ARTS ======================== */
.arts-section { padding: 48px 0; }
.arts-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 20px; }
.arts-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: box-shadow 0.2s;
}
.arts-card:hover { box-shadow: var(--shadow-md); }
.arts-card img { width: 100%; height: 200px; object-fit: cover; }
.arts-feature img { height: 280px; }
.arts-card-body { padding: 16px 20px; }
.arts-card-body h3 { font-size: 0.95rem; font-weight: 700; line-height: 1.35; margin: 6px 0 8px; }
.arts-card-body h3 a:hover { color: var(--accent); }
.arts-card-body p { font-size: 0.85rem; color: var(--text-secondary); }
.arts-card-body .time { font-size: 0.75rem; color: var(--text-light); }

/* ======================== BIZ GRID ======================== */
.biz-grid { display: flex; flex-direction: column; gap: 20px; }

/* ======================== COMMUNITY CTA ======================== */
.community-cta { padding: 48px 0; background: linear-gradient(135deg, var(--primary), var(--primary-light)); }
.cta-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.cta-card {
  text-align: center;
  padding: 32px 24px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  color: #fff;
  transition: background 0.3s;
}
.cta-card:hover { background: rgba(255,255,255,0.1); }
.cta-icon { font-size: 2rem; margin-bottom: 12px; }
.cta-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 8px; }
.cta-card p { font-size: 0.82rem; opacity: 0.8; margin-bottom: 16px; }
.cta-card .btn-outline { border-color: rgba(255,255,255,0.3); color: #fff; }
.cta-card .btn-outline:hover { background: rgba(255,255,255,0.15); }

/* ======================== FOOTER ======================== */
.site-footer { background: var(--primary); color: #cbd5e1; padding: 48px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-brand { }
.footer-logo { margin-bottom: 12px; }
.footer-logo .logo-sd { color: var(--accent); }
.footer-logo .logo-pulse { color: #fff; }
.footer-brand p { font-size: 0.85rem; opacity: 0.8; margin-bottom: 16px; }
.social-links { display: flex; gap: 12px; }
.social-links a { color: #94a3b8; transition: color 0.2s; }
.social-links a:hover { color: #fff; }
.footer-links h4 { color: #fff; font-size: 0.85rem; font-weight: 700; margin-bottom: 14px; text-transform: uppercase; letter-spacing: 0.5px; }
.footer-links ul li { margin-bottom: 8px; }
.footer-links ul li a { font-size: 0.83rem; opacity: 0.7; transition: opacity 0.2s; }
.footer-links ul li a:hover { opacity: 1; color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
  opacity: 0.6;
}
.footer-lang a { color: #cbd5e1; }
.footer-lang a:hover { color: #fff; }

/* ======================== BACK TO TOP ======================== */
.back-to-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  background: var(--accent);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
  z-index: 50;
}
.back-to-top.visible { opacity: 1; visibility: visible; }
.back-to-top:hover { background: var(--accent-hover); transform: translateY(-2px); }

/* ======================== RESPONSIVE ======================== */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-main-img { height: 360px; }
  .hero-side { flex-direction: row; overflow-x: auto; }
  .hero-card { min-width: 300px; }
  .content-grid { grid-template-columns: 1fr; }
  .events-grid { grid-template-columns: repeat(2, 1fr); }
  .food-grid { grid-template-columns: repeat(2, 1fr); }
  .sports-grid { grid-template-columns: 1fr; }
  .opinion-grid { grid-template-columns: repeat(2, 1fr); }
  .arts-grid { grid-template-columns: 1fr 1fr; }
  .arts-feature { grid-column: span 2; }
  .cta-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .neighborhood-grid { grid-template-columns: repeat(3, 1fr); }
  .hh-item { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .top-bar { display: none; }
  .mobile-menu-btn { display: flex; }
  .header-inner { padding: 10px 16px; }
  .logo-sd, .logo-pulse { font-size: 1.6rem; }
  .logo-tagline { display: none; }
  .header-actions .btn { display: none; }
  .main-nav { display: none; }
  .main-nav.active { display: block; }
  .nav-list { flex-direction: column; }
  .nav-list li a { padding: 14px 20px; border-bottom: 1px solid rgba(255,255,255,0.05); }
  .hero-main-img { height: 280px; }
  .hero-main-overlay { padding: 20px; }
  .hero-main-overlay h2 { font-size: 1.35rem; }
  .hero-side { flex-direction: column; }
  .hero-card { min-width: unset; }
  .hero-card img { width: 120px; height: 90px; }
  .section-header h2 { font-size: 1.3rem; }
  .article-row { flex-direction: column; }
  .article-row img { width: 100%; height: 200px; }
  .events-grid { grid-template-columns: 1fr; }
  .food-grid { grid-template-columns: 1fr; }
  .opinion-grid { grid-template-columns: 1fr; }
  .arts-grid { grid-template-columns: 1fr; }
  .arts-feature { grid-column: span 1; }
  .neighborhood-grid { grid-template-columns: repeat(2, 1fr); }
  .cta-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .trending-bar { display: none; }
  .hh-item { grid-template-columns: 1fr; gap: 4px; }
  .events-tabs, .food-tabs { overflow-x: auto; scrollbar-width: none; flex-wrap: nowrap; }
}

@media (max-width: 480px) {
  .container { padding: 0 14px; }
  .hero-main-img { height: 240px; }
  .hero-main-overlay h2 { font-size: 1.15rem; }
  .neighborhood-grid { grid-template-columns: 1fr; }
  .hood-card { height: 140px; }
}

/* ======================== SINGLE ARTICLE ======================== */
.single-title {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1.2;
  margin: 12px 0 16px;
}
.single-content {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text);
}
.single-content p { margin-bottom: 1.2em; }
.single-content h2, .single-content h3 {
  font-family: var(--font-display);
  margin: 1.5em 0 0.5em;
}
.single-content blockquote {
  border-left: 4px solid var(--accent);
  padding: 16px 24px;
  margin: 24px 0;
  background: var(--bg-off);
  font-style: italic;
  color: var(--text-secondary);
}
.single-content img { border-radius: var(--radius); margin: 24px 0; }
.single-content a { color: var(--accent); text-decoration: underline; }
.single-content ul, .single-content ol { padding-left: 24px; margin-bottom: 1.2em; list-style: disc; }
.single-content li { margin-bottom: 0.4em; }

/* Pagination */
.pagination .nav-links { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.pagination .page-numbers {
  padding: 8px 14px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
  transition: all 0.2s;
}
.pagination .page-numbers.current, .pagination .page-numbers:hover {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

@media (max-width: 768px) {
  .single-title { font-size: 1.5rem; }
  .single-content { font-size: 0.95rem; }
}
