
/* Perfect Footer Design - Matches Header Structure */

/* Signal-Inspired Footer (Mirrors Header) */
.signal-footer {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  margin: 0;
  padding: 0;
  background: white;
  border-top: 1px solid #e5e5e5;
  margin-top: 60px;
}

/* Footer Black Navigation Bar (Mirrors Header Top Bar) */
.footer-black-bar {
  background: #1a1a1a;
  color: white;
  padding: 12px 0;
  font-size: 12px;
  border-bottom: 1px solid #333;
}

.footer-black-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.footer-nav {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-nav-link {
  color: white;
  text-decoration: none;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 6px 0;
  transition: color 0.2s ease;
  font-size: 11px;
}

.footer-nav-link:hover {
  color: #ccc;
}

.footer-social-icons {
  display: flex;
  gap: 12px;
}

.footer-social-icons a {
  color: white;
  text-decoration: none;
  font-size: 16px;
  transition: opacity 0.2s ease;
}

.footer-social-icons a:hover {
  opacity: 0.7;
}

/* Footer Red Branding Section (Mirrors Header) */
.footer-red-brand-section {
  background: #c41e3a;
  color: white;
  padding: 40px 0;
}

.footer-red-brand-section .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.footer-brand-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
}

.footer-logo-section {
  flex: 1;
  max-width: 500px;
}

.footer-since-badge {
  background: rgba(255, 255, 255, 0.2);
  color: white;
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  display: inline-block;
  margin-bottom: 12px;
}

.footer-site-logo {
  font-size: 42px;
  font-weight: 900;
  margin: 0 0 12px 0;
  letter-spacing: -2px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.footer-tagline {
  font-style: italic;
  font-size: 16px;
  margin: 0 0 8px 0;
  opacity: 0.9;
  font-weight: 500;
  line-height: 1.4;
}

.footer-description {
  font-size: 14px;
  opacity: 0.85;
  line-height: 1.5;
  margin: 0;
}

.footer-contact-space {
  flex: 0 0 320px;
}

.footer-contact-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-contact-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 16px 0;
  color: white;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  font-size: 14px;
}

.contact-item:last-child {
  margin-bottom: 0;
}

.contact-icon {
  font-size: 16px;
  width: 20px;
  text-align: center;
}

.contact-item a {
  color: white;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.contact-item a:hover {
  opacity: 0.8;
  text-decoration: underline;
}

.contact-item span:not(.contact-icon) {
  color: rgba(255, 255, 255, 0.9);
}

/* Footer White Navigation (Mirrors Header) */
.footer-white-navigation {
  background: white;
  padding: 40px 0;
  border-bottom: 1px solid #e5e5e5;
}

.footer-white-navigation .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.footer-nav-sections {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
}

.footer-nav-section {
  padding: 0;
}

.footer-section-title {
  font-size: 14px;
  font-weight: 700;
  color: #c41e3a;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin: 0 0 20px 0;
  border-bottom: 2px solid #c41e3a;
  padding-bottom: 8px;
}

.footer-links-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-category-link,
.footer-info-link,
.footer-resource-link {
  color: #333;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  padding: 8px 0;
  transition: all 0.2s ease;
  border-left: 3px solid transparent;
  padding-left: 12px;
}

.footer-category-link:hover,
.footer-info-link:hover,
.footer-resource-link:hover {
  color: #c41e3a;
  border-left-color: #c41e3a;
  padding-left: 16px;
}

.footer-view-all {
  font-weight: 600;
  color: #c41e3a !important;
  margin-top: 8px;
}

/* Footer Copyright Bar */
.footer-copyright-bar {
  background: #f8f8f8;
  padding: 20px 0;
  border-top: 1px solid #e5e5e5;
}

.footer-copyright-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.footer-copyright {
  font-size: 13px;
  color: #666;
  margin: 0;
  font-weight: 500;
}

.footer-meta-links {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: #999;
}

.footer-location,
.footer-established {
  font-weight: 600;
}

.footer-separator {
  opacity: 0.5;
}

/* Mobile Responsive Design */
@media (max-width: 768px) {
  .footer-black-bar .container {
    flex-direction: column;
    gap: 12px;
  }
  
  .footer-nav {
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
  }
  
  .footer-nav-link {
    font-size: 10px;
  }
  
  .footer-social-icons {
    justify-content: center;
  }
  
  .footer-red-brand-section {
    padding: 30px 0;
  }
  
  .footer-brand-content {
    flex-direction: column;
    text-align: center;
    gap: 30px;
  }
  
  .footer-contact-space {
    flex: none;
    width: 100%;
  }
  
  .footer-contact-card {
    padding: 20px;
  }
  
  .footer-site-logo {
    font-size: 32px;
  }
  
  .footer-tagline {
    font-size: 14px;
  }
  
  .footer-white-navigation {
    padding: 30px 0;
  }
  
  .footer-nav-sections {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .footer-copyright-bar .container {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
  
  .footer-meta-links {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .footer-nav {
    gap: 8px;
  }
  
  .footer-nav-link {
    font-size: 9px;
    padding: 4px 0;
  }
  
  .footer-site-logo {
    font-size: 28px;
  }
  
  .footer-tagline {
    font-size: 13px;
  }
  
  .footer-contact-card {
    padding: 16px;
  }
  
  .contact-item {
    font-size: 13px;
  }
  
  .footer-section-title {
    font-size: 13px;
  }
  
  .footer-category-link,
  .footer-info-link,
  .footer-resource-link {
    font-size: 13px;
  }
}

.top-bar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.live-indicator {
  display: flex;
  align-items: center;
  gap: 8px;
}

.live-dot {
  width: 8px;
  height: 8px;
  background: #ff3b30;
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.7; transform: scale(1.2); }
}

.live-text {
  color: #ff3b30;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.breaking-news {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
  margin: 0 24px;
  overflow: hidden;
  position: relative;
}

.breaking-label {
  background: #ff3b30;
  color: white;
  padding: 4px 8px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 10px;
  letter-spacing: 0.5px;
  white-space: nowrap;
  z-index: 10;
  position: relative;
  flex-shrink: 0;
}

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

.breaking-content::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 20px;
  background: linear-gradient(to right, #1a1a1a, transparent);
  z-index: 5;
  pointer-events: none;
}

.breaking-scroll {
  display: flex;
  animation: scroll-breaking 60s linear infinite;
  white-space: nowrap;
  padding-left: 20px;
}

.breaking-item {
  color: white;
  text-decoration: none;
  margin-right: 40px;
  transition: color 0.2s ease;
}

.breaking-item:hover {
  color: #007aff;
}

@keyframes scroll-breaking {
  0% { transform: translateX(100%); }
  100% { transform: translateX(-100%); }
}

.top-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.weather-widget {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px 8px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.weather-temp {
  font-weight: 700;
  color: #ffffff;
}

.weather-location {
  color: #ffffff;
  opacity: 0.9;
  font-weight: 600;
}

.date-time {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  line-height: 1.2;
}

.current-date {
  font-size: 10px;
  color: #ffffff;
  opacity: 0.9;
  font-weight: 600;
}

.current-time {
  font-weight: 700;
  color: #ffffff;
  font-size: 12px;
}

/* Main Navigation */
.main-nav {
  height: 64px;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  position: sticky;
  top: 36px;
  z-index: 100;
}

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

/* Brand Section - CNN Style */
.brand-section {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  min-width: 160px;
}

.brand-logo {
  text-decoration: none;
  color: inherit;
  transition: opacity 0.2s ease;
  display: block;
}

.brand-logo:hover {
  opacity: 0.8;
}

.logo-main {
  font-size: 32px;
  font-weight: 900;
  color: #cc0000;
  letter-spacing: -0.5px;
  font-family: 'CNN Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  line-height: 1;
}

/* Primary Navigation - CNN Professional Style */
.nav-primary {
  flex: 1;
  display: flex;
  justify-content: center;
  margin: 0 40px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
}

.nav-link {
  display: flex;
  align-items: center;
  padding: 20px 20px;
  text-decoration: none;
  color: #000;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  transition: all 0.15s ease;
  border-bottom: 3px solid transparent;
  white-space: nowrap;
  position: relative;
  line-height: 1;
}

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

.nav-link.active {
  color: #cc0000;
  border-bottom-color: #cc0000;
  background: none;
}

/* CNN-Style Dropdown */
.nav-dropdown {
  position: relative;
}

.dropdown-trigger {
  cursor: pointer;
  border: none;
  background: none;
  padding: 20px 16px;
  color: #000;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  transition: all 0.15s ease;
  border-bottom: 3px solid transparent;
  display: flex;
  align-items: center;
  gap: 4px;
}

.dropdown-trigger:hover {
  color: #cc0000;
  border-bottom-color: #cc0000;
}

.dropdown-arrow {
  font-size: 8px;
  transition: transform 0.2s ease;
  margin-left: 2px;
}

.nav-dropdown:hover .dropdown-arrow {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: white;
  border: 1px solid #e0e0e0;
  border-top: 3px solid #cc0000;
  min-width: 280px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all 0.2s ease;
  z-index: 1001;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.nav-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  padding: 16px 0;
}

.dropdown-item {
  display: block;
  padding: 12px 20px;
  color: #000;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.15s ease;
  border-left: 3px solid transparent;
}

.dropdown-item:hover {
  background: #f8f8f8;
  color: #cc0000;
  border-left-color: #cc0000;
}

/* Action Section - CNN Style */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.search-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid #ddd;
  border-radius: 4px;
  background: white;
  color: #666;
  cursor: pointer;
  transition: all 0.2s ease;
}

.search-btn:hover {
  background: #f8f8f8;
  color: #cc0000;
  border-color: #cc0000;
}

.weather-mini {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 8px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.weather-mini .weather-temp {
  font-size: 16px;
  font-weight: 700;
  color: #1d1d1f;
  line-height: 1;
}

.weather-mini .weather-location {
  font-size: 10px;
  color: #666;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 2px;
  font-weight: 600;
}

/* Mobile Toggle - CNN Style */
.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 8px;
  border: 1px solid #ddd;
  background: white;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.hamburger-line {
  width: 20px;
  height: 2px;
  background: #000;
  transition: all 0.2s ease;
}

.mobile-toggle:hover {
  background: #f8f8f8;
  border-color: #cc0000;
}

.mobile-toggle:hover .hamburger-line {
  background: #cc0000;
}

.mobile-toggle.active .hamburger-line:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.mobile-toggle.active .hamburger-line:nth-child(2) {
  opacity: 0;
}

.mobile-toggle.active .hamburger-line:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}

/* CNN Exact Mobile Menu Design - Clean & Simple */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: white;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transform: translateX(100%);
  transition: all 0.3s ease;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.mobile-menu.active {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

/* CNN-Style Header */
.mobile-menu-header {
  background: white;
  border-bottom: 1px solid #e5e5e5;
  padding: 16px 20px;
  position: sticky;
  top: 0;
  z-index: 10;
}

.mobile-menu-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.mobile-menu-close {
  background: none;
  border: none;
  font-size: 24px;
  color: #333;
  cursor: pointer;
  padding: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.close-icon {
  font-size: 24px;
  line-height: 1;
  color: #333;
}

.mobile-menu-logo {
  flex: 1;
  text-align: center;
}

.mobile-logo {
  font-size: 24px;
  font-weight: 900;
  color: #cc0000;
  letter-spacing: -0.5px;
}

.subscribe-btn {
  background: #cc0000;
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.subscribe-btn:hover {
  background: #aa0000;
}

/* CNN-Style Search */
.mobile-search-container {
  margin-bottom: 0;
}

.mobile-search-box {
  display: flex;
  background: white;
  border: 2px solid #e5e5e5;
  border-radius: 8px;
  overflow: hidden;
}

.mobile-search-box:focus-within {
  border-color: #007aff;
}

.mobile-search-input {
  flex: 1;
  border: none;
  background: transparent;
  padding: 12px 16px;
  font-size: 16px;
  color: #333;
  outline: none;
}

.mobile-search-input::placeholder {
  color: #999;
}

.mobile-search-btn {
  background: none;
  border: none;
  padding: 12px 16px;
  color: #666;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-search-btn:hover {
  color: #333;
}

/* CNN-Style Content */
.mobile-menu-content {
  padding: 0;
}

/* Sign In Section */
.mobile-signin-section {
  padding: 20px;
  border-bottom: 1px solid #e5e5e5;
}

.mobile-signin-btn {
  display: block;
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  font-size: 18px;
  font-weight: 600;
  color: #333;
  padding: 0;
  text-decoration: none;
}

.mobile-signin-btn:hover {
  color: #007aff;
}

/* Media Section */
.mobile-media-section {
  padding: 20px;
  border-bottom: 1px solid #e5e5e5;
}

.mobile-media-link {
  display: block;
  font-size: 18px;
  font-weight: 600;
  color: #333;
  text-decoration: none;
  padding: 12px 0;
  border-bottom: 1px solid #f0f0f0;
}

.mobile-media-link:last-child {
  border-bottom: none;
}

.mobile-media-link:hover {
  color: #007aff;
}

/* Edition Section */
.mobile-edition-section {
  padding: 20px;
  border-bottom: 1px solid #e5e5e5;
}

.mobile-edition-btn {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  background: none;
  border: none;
  font-size: 18px;
  font-weight: 600;
  color: #333;
  padding: 0;
  cursor: pointer;
}

.mobile-edition-btn:hover {
  color: #007aff;
}

/* Categories Section */
.mobile-categories-section {
  padding: 20px;
}

.mobile-category-link {
  display: block;
  font-size: 18px;
  font-weight: 600;
  color: #333;
  text-decoration: none;
  padding: 12px 0;
  border-bottom: 1px solid #f0f0f0;
}

.mobile-category-link:last-child {
  border-bottom: none;
}

.mobile-category-link:hover {
  color: #007aff;
}

.mobile-category-link.active {
  color: #cc0000;
}

/* Navigation Sections */
.mobile-nav-section {
  padding: 0 20px;
  margin-bottom: 32px;
}

.mobile-nav-section-title {
  font-size: 12px;
  font-weight: 600;
  color: #86868b;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
  padding: 0 4px;
}

.mobile-nav-item {
  margin-bottom: 4px;
  opacity: 0;
  transform: translateX(20px);
  animation: slideInLeft 0.4s ease forwards;
}

@keyframes slideInLeft {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Primary Navigation Links */
.mobile-nav-link {
  display: flex;
  align-items: center;
  padding: 16px 20px;
  color: #1d1d1f;
  text-decoration: none;
  border-radius: 12px;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.3;
  transition: all 0.2s ease;
  min-height: 56px;
  width: 100%;
  box-sizing: border-box;
  background: transparent;
  border: none;
  position: relative;
}

.mobile-nav-link.primary {
  font-weight: 500;
  font-size: 20px;
}

.mobile-nav-link.secondary {
  font-size: 18px;
  color: #666;
}

.mobile-nav-link:hover,
.mobile-nav-link:active {
  background: rgba(196, 30, 58, 0.08);
  color: #c41e3a;
  transform: translateX(4px);
}

.mobile-nav-link.active {
  background: rgba(196, 30, 58, 0.12);
  color: #c41e3a;
  font-weight: 600;
}

/* Navigation Icons and Text */
.nav-icon {
  font-size: 20px;
  margin-right: 12px;
  opacity: 0.8;
}

.nav-text {
  flex: 1;
}

.active-indicator {
  width: 4px;
  height: 4px;
  background: #c41e3a;
  border-radius: 50%;
  margin-left: 8px;
}

/* Section Separator */
.mobile-nav-separator {
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, #e0e0e0 20%, #e0e0e0 80%, transparent 100%);
  margin: 24px 20px;
}

/* Mobile Menu Footer */
.mobile-menu-footer {
  background: #f8f8f8;
  padding: 24px 20px;
  border-top: 1px solid #f0f0f0;
  flex-shrink: 0;
}

.mobile-footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
}

.mobile-footer-link {
  color: #666;
  text-decoration: none;
  font-size: 14px;
  font-weight: 400;
  transition: color 0.2s ease;
}

.mobile-footer-link:hover {
  color: #c41e3a;
}

.mobile-social-section {
  margin-bottom: 20px;
}

.mobile-social {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mobile-social-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  color: #1d1d1f;
  text-decoration: none;
  font-size: 14px;
  transition: all 0.2s ease;
}

.mobile-social-item:hover {
  color: #c41e3a;
  padding-left: 8px;
}

.social-icon {
  font-size: 18px;
}

.social-text {
  font-weight: 500;
}

.mobile-footer-brand {
  text-align: center;
}

.mobile-footer-brand p {
  font-size: 12px;
  color: #86868b;
  margin: 0;
  line-height: 1.4;
}

/* Premium Ticker */
.premium-ticker {
  position: fixed;
  top: 100px;
  left: 0;
  right: 0;
  height: 40px;
  background: linear-gradient(135deg, #c41e3a 0%, #d32f2f 100%);
  color: white;
  z-index: 998;
  box-shadow: 0 2px 8px rgba(196, 30, 58, 0.3);
}

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

.ticker-label {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.2);
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  white-space: nowrap;
  margin-right: 16px;
}

.ticker-content {
  flex: 1;
  overflow: hidden;
  height: 100%;
  display: flex;
  align-items: center;
}

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

.ticker-item {
  color: white;
  text-decoration: none;
  margin-right: 40px;
  font-size: 13px;
  font-weight: 500;
  transition: color 0.2s ease;
}

.ticker-item:hover {
  color: rgba(255, 255, 255, 0.8);
}

.ticker-category {
  background: rgba(255, 255, 255, 0.2);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 600;
  margin-right: 8px;
  text-transform: uppercase;
}

.ticker-controls {
  margin-left: 16px;
}

.ticker-pause {
  background: none;
  border: none;
  color: white;
  font-size: 14px;
  cursor: pointer;
  padding: 4px;
  border-radius: 4px;
  transition: background 0.2s ease;
}

.ticker-pause:hover {
  background: rgba(255, 255, 255, 0.1);
}

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

/* Professional CNN-Style Search */
.search-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s ease;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(8px);
}

.search-modal.active {
  opacity: 1;
  visibility: visible;
}

.search-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.search-modal-content {
  position: absolute;
  top: 15%;
  left: 50%;
  transform: translateX(-50%) translateY(-10px);
  width: 95%;
  max-width: 800px;
  background: white;
  border-radius: 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.2s ease;
  border-top: 4px solid #cc0000;
}

.search-modal.active .search-modal-content {
  transform: translateX(-50%) translateY(0);
}

.search-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 30px;
  border-bottom: 1px solid #e0e0e0;
  background: #f8f8f8;
}

.search-modal-header h2 {
  font-size: 18px;
  font-weight: 700;
  color: #000;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.search-modal-close {
  width: 28px;
  height: 28px;
  border: none;
  background: transparent;
  font-size: 20px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #666;
}

.search-modal-close:hover {
  color: #cc0000;
  background: rgba(204, 0, 0, 0.1);
  border-radius: 4px;
}

.search-input-container {
  display: flex;
  gap: 0;
  padding: 30px;
  background: white;
}

.search-input {
  flex: 1;
  padding: 18px 24px;
  border: 2px solid #ddd;
  border-right: none;
  border-radius: 0;
  font-size: 16px;
  font-family: inherit;
  transition: border-color 0.2s ease;
  background: white;
}

.search-input:focus {
  outline: none;
  border-color: #cc0000;
}

.search-submit {
  padding: 18px 32px;
  background: #cc0000;
  color: white;
  border: 2px solid #cc0000;
  border-radius: 0;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  min-width: 120px;
}

.search-submit:hover {
  background: #aa0000;
  border-color: #aa0000;
}

.search-results {
  max-height: 500px;
  overflow-y: auto;
  background: white;
}

.search-placeholder {
  text-align: center;
  padding: 60px 30px;
  color: #666;
  background: #fafafa;
  border-top: 1px solid #e0e0e0;
}

.search-placeholder p {
  font-size: 16px;
  margin: 16px 0 0 0;
  color: #888;
}

.search-icon {
  font-size: 40px;
  margin-bottom: 16px;
  opacity: 0.4;
  color: #ccc;
}

.search-loading {
  text-align: center;
  padding: 60px 30px;
  color: #666;
  background: #fafafa;
  border-top: 1px solid #e0e0e0;
}

.search-loading p {
  font-size: 16px;
  margin: 0;
  color: #666;
}

/* Search Results Styling */
.search-result-item {
  padding: 20px 30px;
  border-bottom: 1px solid #e0e0e0;
  transition: background 0.2s ease;
}

.search-result-item:hover {
  background: #f8f8f8;
}

.search-result-title {
  font-size: 18px;
  font-weight: 600;
  color: #000;
  margin-bottom: 8px;
  line-height: 1.3;
}

.search-result-title a {
  color: #000;
  text-decoration: none;
}

.search-result-title a:hover {
  color: #cc0000;
}

.search-result-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
  font-size: 12px;
  color: #666;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.search-result-category {
  background: #cc0000;
  color: white;
  padding: 2px 8px;
  font-weight: 600;
}

.search-result-excerpt {
  font-size: 14px;
  color: #666;
  line-height: 1.4;
  margin: 0;
}

/* Mobile Search Responsive */
@media (max-width: 768px) {
  .search-modal-content {
    width: 98%;
    top: 10%;
  }
  
  .search-modal-header {
    padding: 16px 20px;
  }
  
  .search-modal-header h2 {
    font-size: 16px;
  }
  
  .search-input-container {
    padding: 20px;
    flex-direction: column;
    gap: 12px;
  }
  
  .search-input {
    border: 2px solid #ddd;
    border-radius: 4px;
  }
  
  .search-submit {
    border-radius: 4px;
    padding: 16px;
  }
  
  .search-placeholder,
  .search-loading {
    padding: 40px 20px;
  }
  
  .search-result-item {
    padding: 16px 20px;
  }
  
  .search-result-title {
    font-size: 16px;
  }
}

/* Responsive Design */
@media (max-width: 1024px) {
  .nav-primary {
    margin: 0 20px;
  }
  
  .weather-widget {
    display: none;
  }
}

@media (max-width: 768px) {
  .top-bar {
    height: 32px;
    font-size: 11px;
  }
  
  .container {
    padding: 0 16px;
  }
  
  .breaking-news {
    margin: 0 12px;
  }
  
  .nav-primary {
    display: none;
  }
  
  .mobile-toggle {
    display: flex;
  }
  
  .social-quick {
    display: none;
  }
  
  .logo-tagline {
    display: none;
  }
  
  .premium-ticker {
    top: 96px;
    height: 36px;
  }
  
  .ticker-container {
    padding: 0 16px;
  }
  
  .ticker-label {
    font-size: 10px;
    padding: 4px 8px;
    margin-right: 12px;
  }
  
  .ticker-item {
    font-size: 12px;
  }
}

@media (max-width: 480px) {
  .date-time {
    display: none;
  }
  
  .breaking-content {
    font-size: 11px;
  }
  
  .logo-main {
    font-size: 20px;
  }
  
  .main-nav {
    height: 56px;
  }
}
