/*
Theme Name: TheoutlookNG
Theme URI: https://theoutlookng.com
Description: A modern news magazine theme for TheoutlookNG
Version: 1.3.0
Author: Otsemoboh Momoh
Text Domain: theoutlook
*/

/* CSS Custom Properties */
:root {
  --primary-color: #e60000;
  --text-color: #111;
  --secondary-text-color: #555;
  --background-color: #fff;
  --secondary-bg: #f8f9fa;
  --border-color: #eee;
  --shadow: 0 4px 6px rgba(0,0,0,0.1);
  --spacing-sm: 10px;
  --spacing-md: 20px;
  --spacing-lg: 30px;
  --font-primary: Arial, Helvetica, sans-serif;
  --font-heading: Georgia, serif;
  
  /* New variables for enhanced features */
  --success-color: #28a745;
  --warning-color: #ffc107;
  --info-color: #17a2b8;
  --video-overlay: rgba(0,0,0,0.7);
  --modal-backdrop: rgba(0,0,0,0.8);
  --podcast-progress: #e60000;
  --push-notification: #007bff;
}

/* Reset and Base Styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-primary);
  background: var(--background-color);
  color: var(--text-color);
  line-height: 1.6;
  font-size: clamp(16px, 2.5vw, 18px);
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Container */
.container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 var(--spacing-sm);
}

/* ====================
   PUSH NOTIFICATIONS
   ==================== */

.push-notification-container {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 10000;
  max-width: 350px;
}

.push-notification {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  margin-bottom: 10px;
  padding: 15px;
  border-left: 4px solid var(--push-notification);
  transform: translateX(400px);
  transition: transform 0.3s ease;
}

.push-notification.show {
  transform: translateX(0);
}

.push-notification-header {
  display: flex;
  justify-content: between;
  align-items: center;
  margin-bottom: 8px;
}

.push-notification-title {
  font-weight: bold;
  color: var(--text-color);
  font-size: 14px;
}

.push-notification-close {
  background: none;
  border: none;
  font-size: 16px;
  cursor: pointer;
  color: var(--secondary-text-color);
}

.push-notification-body {
  font-size: 13px;
  color: var(--secondary-text-color);
  line-height: 1.4;
}

.push-notification-icon {
  width: 16px;
  height: 16px;
  margin-right: 8px;
}

.push-permission-banner {
  background: linear-gradient(135deg, var(--push-notification), #0056b3);
  color: #fff;
  padding: 15px 20px;
  text-align: center;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  display: none;
}

.push-permission-banner.show {
  display: block;
  animation: slideUp 0.3s ease;
}

@keyframes slideUp {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}

.push-banner-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.push-banner-text {
  flex: 1;
  text-align: left;
}

.push-banner-actions {
  display: flex;
  gap: 10px;
}

.push-btn {
  padding: 8px 16px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
}

.push-btn.allow {
  background: #fff;
  color: var(--push-notification);
}

.push-btn.deny {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.3);
}

/* ====================
   VIDEO MANAGEMENT
   ==================== */

.video-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing-md);
  margin: var(--spacing-lg) 0;
}

.video-item {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.video-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.video-thumbnail {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.video-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.video-item:hover .video-thumbnail img {
  transform: scale(1.05);
}

.video-play-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--video-overlay);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.video-item:hover .video-play-overlay {
  opacity: 1;
}

.play-button {
  width: 60px;
  height: 60px;
  background: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  font-size: 20px;
  transition: transform 0.3s ease;
}

.video-item:hover .play-button {
  transform: scale(1.1);
}

.video-info {
  padding: 15px;
  background: #fff;
}

.video-title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
  line-height: 1.3;
}

.video-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: var(--secondary-text-color);
}

.video-duration {
  background: rgba(0,0,0,0.7);
  color: #fff;
  padding: 2px 6px;
  border-radius: 3px;
  font-size: 11px;
  position: absolute;
  bottom: 10px;
  right: 10px;
}

/* Video Modal */
.video-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--modal-backdrop);
  z-index: 10000;
  align-items: center;
  justify-content: center;
}

.video-modal.show {
  display: flex;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.video-modal-content {
  position: relative;
  width: 90%;
  max-width: 800px;
  background: #000;
  border-radius: 8px;
  overflow: hidden;
}

.close-modal {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(0,0,0,0.7);
  color: #fff;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
  z-index: 10001;
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-container {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  height: 0;
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.video-modal-title {
  padding: 15px;
  background: #fff;
  color: var(--text-color);
  font-weight: 600;
}

/* Video Playlist */
.video-playlist {
  margin-top: var(--spacing-lg);
}

.playlist-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--spacing-md);
  padding-bottom: 10px;
  border-bottom: 2px solid var(--border-color);
}

.playlist-items {
  display: grid;
  gap: 10px;
}

.playlist-item {
  display: flex;
  align-items: center;
  padding: 10px;
  background: var(--secondary-bg);
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.playlist-item:hover {
  background: #e9ecef;
}

.playlist-item.active {
  background: var(--primary-color);
  color: #fff;
}

.playlist-thumbnail {
  width: 80px;
  height: 45px;
  border-radius: 4px;
  overflow: hidden;
  margin-right: 15px;
}

.playlist-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.playlist-info {
  flex: 1;
}

.playlist-title {
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 4px;
}

.playlist-duration {
  font-size: 12px;
  opacity: 0.7;
}

/* ====================
   PODCAST SYSTEM
   ==================== */

.podcast-section {
  margin: var(--spacing-lg) 0;
  padding: var(--spacing-lg) 0;
  background: var(--secondary-bg);
  border-radius: 12px;
}

.podcast-header {
  text-align: center;
  margin-bottom: var(--spacing-lg);
}

.podcast-header h2 {
  font-size: clamp(24px, 3vw, 32px);
  color: var(--text-color);
  margin-bottom: 10px;
}

.podcast-subtitle {
  color: var(--secondary-text-color);
  font-size: 16px;
}

.podcast-player {
  background: #fff;
  border-radius: 12px;
  padding: var(--spacing-lg);
  box-shadow: var(--shadow);
  margin-bottom: var(--spacing-lg);
}

.podcast-current {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-md);
}

.podcast-cover {
  width: 120px;
  height: 120px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
}

.podcast-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.podcast-info {
  flex: 1;
}

.podcast-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text-color);
}

.podcast-description {
  color: var(--secondary-text-color);
  line-height: 1.5;
  margin-bottom: 10px;
}

.podcast-meta {
  display: flex;
  gap: 15px;
  font-size: 14px;
  color: var(--secondary-text-color);
}

.podcast-controls {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
}

.podcast-play-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--primary-color);
  color: #fff;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 18px;
}

.podcast-play-btn:hover {
  background: #cc0000;
  transform: scale(1.05);
}

.podcast-progress-container {
  flex: 1;
  background: #e9ecef;
  height: 6px;
  border-radius: 3px;
  cursor: pointer;
  position: relative;
}

.podcast-progress {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  background: var(--podcast-progress);
  border-radius: 3px;
  width: 0%;
  transition: width 0.1s ease;
}

.podcast-time {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--secondary-text-color);
  margin-top: 5px;
}

.podcast-actions {
  display: flex;
  gap: 10px;
  margin-top: 15px;
}

.podcast-action-btn {
  background: none;
  border: 1px solid var(--border-color);
  padding: 8px 15px;
  border-radius: 20px;
  cursor: pointer;
  font-size: 14px;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 5px;
}

.podcast-action-btn:hover {
  background: var(--primary-color);
  color: #fff;
  border-color: var(--primary-color);
}

.podcast-episodes {
  display: grid;
  gap: 15px;
}

.podcast-episode {
  display: flex;
  align-items: center;
  padding: 15px;
  background: #fff;
  border-radius: 8px;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease;
}

.podcast-episode:hover {
  transform: translateY(-2px);
}

.podcast-episode.currently-playing {
  border-left: 4px solid var(--primary-color);
}

.episode-play {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--secondary-bg);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  margin-right: 15px;
  transition: all 0.3s ease;
}

.episode-play:hover {
  background: var(--primary-color);
  color: #fff;
}

.episode-info {
  flex: 1;
}

.episode-title {
  font-weight: 600;
  margin-bottom: 5px;
  color: var(--text-color);
}

.episode-meta {
  display: flex;
  gap: 15px;
  font-size: 12px;
  color: var(--secondary-text-color);
}

.episode-duration {
  font-size: 12px;
  color: var(--secondary-text-color);
}

/* Podcast RSS Feed Badge */
.podcast-rss-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ff6600;
  color: #fff;
  padding: 8px 15px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.podcast-rss-badge:hover {
  background: #e55c00;
  transform: translateY(-2px);
}

/* ====================
   SOCIAL MEDIA AUTOMATION
   ==================== */

.auto-share-panel {
  background: #fff;
  border-radius: 8px;
  padding: var(--spacing-md);
  box-shadow: var(--shadow);
  margin: var(--spacing-md) 0;
}

.auto-share-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-color);
}

.auto-share-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-color);
}

.auto-share-platforms {
  display: grid;
  gap: 12px;
}

.platform-toggle {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 15px;
  background: var(--secondary-bg);
  border-radius: 6px;
  transition: background 0.3s ease;
}

.platform-toggle:hover {
  background: #e9ecef;
}

.platform-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.platform-icon {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  color: #fff;
  font-size: 14px;
}

.platform-icon.twitter { background: #1da1f2; }
.platform-icon.facebook { background: #3b5998; }
.platform-icon.instagram { background: #e4405f; }
.platform-icon.linkedin { background: #0077b5; }

.platform-name {
  font-weight: 500;
}

/* Toggle Switch */
.toggle-switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 24px;
}

.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: .4s;
  border-radius: 24px;
}

.toggle-slider:before {
  position: absolute;
  content: "";
  height: 16px;
  width: 16px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  transition: .4s;
  border-radius: 50%;
}

input:checked + .toggle-slider {
  background-color: var(--success-color);
}

input:checked + .toggle-slider:before {
  transform: translateX(26px);
}

/* Manual Share Buttons */
.manual-share-buttons {
  display: flex;
  gap: 10px;
  margin-top: 15px;
  flex-wrap: wrap;
}

.manual-share-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 15px;
  background: var(--secondary-bg);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  cursor: pointer;
  font-size: 14px;
  transition: all 0.3s ease;
}

.manual-share-btn:hover {
  background: var(--primary-color);
  color: #fff;
  border-color: var(--primary-color);
}

/* ====================
   ADVANCED SEO
   ==================== */

.seo-optimized {
  /* Ensure proper content hierarchy and readability */
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  font-kerning: normal;
}

.reading-time {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--secondary-bg);
  padding: 4px 8px;
  border-radius: 12px;
  font-size: 12px;
  color: var(--secondary-text-color);
}

.engagement-metrics {
  display: flex;
  gap: 15px;
  margin: 10px 0;
  font-size: 14px;
  color: var(--secondary-text-color);
}

.metric {
  display: flex;
  align-items: center;
  gap: 5px;
}

.schema-rich-snippet {
  background: #f8f9fa;
  border: 1px solid #e9ecef;
  border-radius: 8px;
  padding: 15px;
  margin: 15px 0;
  font-size: 14px;
}

.rating-stars {
  color: #ffc107;
  margin-right: 5px;
}

/* ====================
   AD MANAGEMENT
   ==================== */

.ad-container {
  margin: var(--spacing-md) 0;
  text-align: center;
}

.ad-unit {
  background: var(--secondary-bg);
  border-radius: 8px;
  padding: 20px;
  margin: 10px 0;
  border: 1px solid var(--border-color);
}

.ad-label {
  font-size: 11px;
  color: var(--secondary-text-color);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.ad-responsive {
  width: 100%;
  max-width: 728px;
  margin: 0 auto;
}

.ad-responsive.leaderboard {
  max-width: 728px;
  height: 90px;
}

.ad-responsive.banner {
  max-width: 468px;
  height: 60px;
}

.ad-responsive.square {
  max-width: 300px;
  height: 250px;
}

.ad-responsive.skyscraper {
  max-width: 160px;
  height: 600px;
}

.ad-placeholder {
  background: linear-gradient(45deg, #f8f9fa 25%, transparent 25%), 
              linear-gradient(-45deg, #f8f9fa 25%, transparent 25%), 
              linear-gradient(45deg, transparent 75%, #f8f9fa 75%), 
              linear-gradient(-45deg, transparent 75%, #f8f9fa 75%);
  background-size: 20px 20px;
  background-position: 0 0, 0 10px, 10px -10px, -10px 0px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--secondary-text-color);
  font-size: 14px;
  border: 2px dashed #dee2e6;
}

.ad-rotator {
  position: relative;
  min-height: 250px;
}

.ad-rotator .ad-unit {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.ad-rotator .ad-unit.active {
  opacity: 1;
}

/* Sticky Ad */
.ad-sticky {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #fff;
  box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
  z-index: 999;
  padding: 10px;
  text-align: center;
}

.ad-close {
  position: absolute;
  top: 5px;
  right: 10px;
  background: none;
  border: none;
  font-size: 16px;
  cursor: pointer;
  color: var(--secondary-text-color);
}

/* ====================
   ENHANCED PERFORMANCE
   ==================== */

.lazy-load {
  opacity: 0;
  transition: opacity 0.3s ease;
}

.lazy-load.loaded {
  opacity: 1;
}

.loading-spinner {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 2px solid #f3f3f3;
  border-top: 2px solid var(--primary-color);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.skeleton {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: loading 1.5s infinite;
  border-radius: 4px;
}

@keyframes loading {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.skeleton-text {
  height: 1em;
  margin-bottom: 0.5em;
}

.skeleton-image {
  width: 100%;
  aspect-ratio: 16 / 9;
}

/* Connection-aware styles */
.slow-connection .lazy-load {
  filter: blur(1px);
}

.slow-connection .video-thumbnail,
.slow-connection .podcast-cover {
  filter: grayscale(0.3);
}

/* ====================
   MOBILE RESPONSIVE ENHANCEMENTS
   ==================== */

.touch-device button,
.touch-device a {
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.touch-device .video-thumbnail,
.touch-device .podcast-episode {
  cursor: default;
}

/* Mobile-first responsive design */
@media (max-width: 768px) {
  .push-notification-container {
    top: 10px;
    right: 10px;
    left: 10px;
    max-width: none;
  }
  
  .push-banner-content {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }
  
  .push-banner-text {
    text-align: center;
  }
  
  .video-gallery {
    grid-template-columns: 1fr;
  }
  
  .podcast-current {
    flex-direction: column;
    text-align: center;
  }
  
  .podcast-cover {
    width: 200px;
    height: 200px;
  }
  
  .podcast-controls {
    flex-direction: column;
    gap: 10px;
  }
  
  .auto-share-platforms {
    grid-template-columns: 1fr;
  }
  
  .manual-share-buttons {
    justify-content: center;
  }
  
  .ad-responsive.leaderboard,
  .ad-responsive.banner {
    max-width: 100%;
    height: auto;
    min-height: 90px;
  }
  
  .ad-sticky {
    padding: 8px;
  }
}

@media (max-width: 480px) {
  .video-modal-content {
    width: 95%;
  }
  
  .podcast-player {
    padding: var(--spacing-md);
  }
  
  .podcast-actions {
    flex-direction: column;
  }
  
  .podcast-action-btn {
    justify-content: center;
  }
  
  .platform-toggle {
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
  }
  
  .toggle-switch {
    align-self: flex-end;
  }
}

/* High DPI displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .video-thumbnail img,
  .podcast-cover img,
  .playlist-thumbnail img {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
  }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  
  .video-item:hover,
  .podcast-episode:hover,
  .push-notification {
    transform: none !important;
  }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
  .ad-unit,
  .auto-share-panel,
  .podcast-player,
  .podcast-episode {
    background: #2d3748;
    color: #e2e8f0;
    border-color: #4a5568;
  }
  
  .skeleton {
    background: linear-gradient(90deg, #4a5568 25%, #718096 50%, #4a5568 75%);
  }
}

/* ====================
   EXISTING STYLES (Preserved)
   ==================== */

/* Top Navigation */
.top-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px var(--spacing-sm);
  border-bottom: 1px solid var(--border-color);
}

.menu-search {
  display: flex;
  align-items: center;
  gap: 15px;
}

.menu {
  color: var(--primary-color);
  font-weight: bold;
  cursor: pointer;
}

.menu i {
  margin-left: 5px;
}

.search {
  display: flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
}

.logo {
  font-size: clamp(32px, 5vw, 42px);
  font-weight: bold;
  color: var(--primary-color);
  font-family: var(--font-heading);
}

.logo sup {
  font-size: 12px;
  font-weight: normal;
}

.account-subscribe {
  display: flex;
  align-items: center;
  gap: 20px;
}

.account {
  display: flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
}

.subscribe-btn {
  background: var(--primary-color);
  color: #fff;
  border: none;
  padding: 8px 16px;
  font-weight: bold;
  border-radius: 3px;
  cursor: pointer;
  transition: background 0.3s ease;
}

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

.subscribe-btn:focus {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}

/* Navigation Menu */
.nav-menu {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border-color);
  font-weight: bold;
  list-style: none;
  margin: 0;
}

.nav-menu a {
  color: var(--text-color);
  font-size: 14px;
  padding: 5px 10px;
  transition: color 0.3s ease;
}

.nav-menu a:hover {
  color: var(--primary-color);
}

.nav-menu a:focus {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 20px;
  color: var(--primary-color);
  cursor: pointer;
  padding: 8px;
  margin-right: 10px;
}

/* Article Section */
.articles-container {
  display: flex;
  align-items: center;
  padding: var(--spacing-md) 0;
  background: var(--secondary-bg);
}

.articles {
  display: flex;
  overflow-x: auto;
  padding: 0 var(--spacing-sm);
  scroll-behavior: smooth;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.articles::-webkit-scrollbar {
  display: none;
}

.article {
  flex: 0 0 300px;
  margin: 0 var(--spacing-sm);
}

.article h3 {
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 6px;
}

.exclusive {
  background: var(--primary-color);
  color: #fff;
  font-size: 11px;
  font-weight: bold;
  padding: 2px 6px;
  border-radius: 2px;
  margin-right: 5px;
}

.article p {
  font-size: 12px;
  color: var(--secondary-text-color);
}

.arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--border-color);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  margin: auto var(--spacing-sm);
  flex-shrink: 0;
  transition: background 0.3s ease;
}

.arrow:hover {
  background: #ddd;
}

/* Main Container */
.main-container {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  gap: var(--spacing-md);
  padding: var(--spacing-md) 0;
  margin: 0 auto;
}

/* Left Column */
.fresh {
  display: flex;
  flex-direction: column;
}

.fresh h2 {
  font-size: clamp(20px, 3vw, 24px);
  font-weight: bold;
  margin-bottom: 5px;
}

.fresh small {
  color: #777;
  font-size: 12px;
  margin-bottom: 15px;
}

.fresh .story {
  margin-bottom: 15px;
  border-bottom: 1px solid #f1f1f1;
  padding-bottom: 10px;
  cursor: pointer;
  transition: background-color 0.3s, transform 0.2s;
}

.fresh .story:hover {
  background-color: #f5f5f5;
  transform: translateX(5px);
}

.fresh .story.active {
  background-color: #ffe6e6;
  border-left: 4px solid var(--primary-color);
  padding-left: 10px;
}

.fresh .story:focus {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}

.fresh .story h4 {
  font-size: 14px;
  margin: 0 0 6px;
}

.tag {
  font-size: 11px;
  font-weight: bold;
  color: var(--primary-color);
  text-transform: uppercase;
  margin-right: 8px;
}

/* Middle Column */
.featured {
  position: relative;
}

.featured-img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: opacity 0.3s ease;
}

.featured .overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--spacing-md);
  color: #fff;
  background: linear-gradient(transparent, rgba(0,0,0,0.8));
}

.featured .overlay .tag {
  background: var(--primary-color);
  color: #fff;
  padding: 3px 6px;
  font-size: 11px;
  font-weight: bold;
  margin-bottom: 8px;
  transition: opacity 0.3s ease;
}

.featured .overlay h2 {
  font-size: clamp(24px, 3vw, 28px);
  font-weight: bold;
  margin: 0 0 10px;
  transition: opacity 0.3s ease;
}

.featured .overlay .featured-title {
  transition: opacity 0.3s ease;
}

.featured .overlay p {
  font-size: 14px;
  line-height: 1.4;
  transition: opacity 0.3s ease;
}

/* Right Column */
.popular h2 {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 15px;
  color: var(--primary-color);
}

.popular .pstory {
  margin-bottom: var(--spacing-md);
  border-bottom: 1px solid #f1f1f1;
  padding-bottom: 10px;
}

.popular .pstory h4 {
  font-size: 14px;
  margin: 6px 0;
}

.date {
  font-size: 11px;
  color: var(--secondary-text-color);
}

/* Single Post Styles */
.news-article-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-sm);
}

.breaking-news-alert {
  background: linear-gradient(135deg, var(--primary-color), #cc0000);
  color: #fff;
  padding: 15px var(--spacing-md);
  margin-bottom: var(--spacing-lg);
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 15px;
  animation: pulse 2s infinite;
}

.breaking-badge {
  background: rgba(255,255,255,0.2);
  padding: 5px 12px;
  border-radius: 20px;
  font-weight: bold;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

@keyframes pulse {
  0% { opacity: 1; }
  50% { opacity: 0.8; }
  100% { opacity: 1; }
}

.article-header {
  margin-bottom: var(--spacing-lg);
}

.breadcrumb {
  margin-bottom: var(--spacing-md);
  font-size: 0.9rem;
  color: var(--secondary-text-color);
}

.breadcrumb a {
  color: #1e3c72;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.article-categories {
  margin-bottom: var(--spacing-md);
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.category-tag {
  background: #f0f0f0;
  color: var(--text-color);
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
  transition: background 0.3s ease;
}

.category-tag:hover {
  background: #1e3c72;
  color: #fff;
}

.exclusive-badge {
  background: linear-gradient(135deg, #ffd700, #ffed4e);
  color: var(--text-color);
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: bold;
  text-transform: uppercase;
}

.article-title {
  font-size: clamp(2rem, 5vw, 2.5rem);
  line-height: 1.2;
  margin-bottom: var(--spacing-md);
  font-weight: 700;
  color: var(--text-color);
}

.article-excerpt {
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  line-height: 1.6;
  color: var(--secondary-text-color);
  margin-bottom: var(--spacing-lg);
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-md);
  padding-bottom: var(--spacing-lg);
  border-bottom: 1px solid var(--border-color);
}

.meta-primary, .meta-secondary {
  flex: 1 1 100%;
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  align-items: center;
}

.meta-primary {
  gap: var(--spacing-lg);
}

.author-info {
  display: flex;
  align-items: center;
  gap: 15px;
}

.author-avatar img {
  border-radius: 50%;
  width: 50px;
  height: 50px;
}

.author-details {
  display: flex;
  flex-direction: column;
}

.author-name {
  font-weight: 600;
  color: var(--text-color);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 200px;
}

.author-position {
  font-size: 0.9rem;
  color: var(--secondary-text-color);
}

.publish-info {
  display: flex;
  flex-direction: column;
  gap: 5px;
  color: var(--secondary-text-color);
  font-size: 0.9rem;
}

.publish-info i {
  margin-right: 5px;
  color: #999;
}

.meta-secondary {
  align-items: flex-end;
}

.engagement-stats {
  display: flex;
  gap: var(--spacing-md);
  font-size: 0.9rem;
  color: var(--secondary-text-color);
}

.engagement-stats i {
  margin-right: 5px;
  color: #999;
}

.social-share-top {
  display: flex;
  align-items: center;
  gap: 15px;
}

.share-label {
  font-size: 0.9rem;
  color: var(--secondary-text-color);
  font-weight: 500;
}

.share-buttons {
  display: flex;
  gap: 10px;
}

.share-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.share-btn:hover {
  transform: translateY(-2px);
  opacity: 0.9;
}

.share-btn:focus {
  outline: 2px solid #1e3c72;
  outline-offset: 2px;
}

.share-btn.twitter { background: #1da1f2; }
.share-btn.facebook { background: #3b5998; }
.share-btn.linkedin { background: #0077b5; }
.share-btn.whatsapp { background: #25d366; }
.share-btn.telegram { background: #0088cc; }
.share-btn.copy-link { background: #666; }

.article-featured-image {
  margin: var(--spacing-lg) 0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.featured-img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.image-caption {
  text-align: center;
  font-style: italic;
  color: var(--secondary-text-color);
  margin-top: var(--spacing-sm);
  font-size: 0.9rem;
  padding: 0 var(--spacing-md);
}

.article-content-wrapper {
  display: grid;
  grid-template-columns: minmax(60px, auto) 1fr;
  gap: var(--spacing-lg);
  max-width: 800px;
  margin: 0 auto;
}

.sticky-social-share {
  position: sticky;
  top: 100px;
  height: fit-content;
  width: 60px;
  z-index: 10;
}

.share-vertical {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}

.share-count {
  font-size: 1.5rem;
  font-weight: bold;
  color: #1e3c72;
}

.share-text {
  font-size: 0.8rem;
  color: var(--secondary-text-color);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.vertical-buttons {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.vertical-buttons .share-btn {
  width: 45px;
  height: 45px;
}

.article-content {
  font-size: 1.125rem;
  line-height: 1.8;
  color: var(--text-color);
}

.article-content h2 {
  font-size: 2rem;
  margin: 2em 0 1em;
  color: var(--text-color);
}

.article-content h3 {
  font-size: 1.5rem;
  margin: 2em 0 1em;
}

.article-content p {
  margin-bottom: 1.5em;
}

.article-content blockquote {
  border-left: 4px solid #1e3c72;
  padding-left: var(--spacing-md);
  margin: 2em 0;
  font-style: italic;
  color: var(--secondary-text-color);
  background: var(--secondary-bg);
  padding: var(--spacing-md);
  border-radius: 0 8px 8px 0;
}

.article-content img {
  border-radius: 8px;
  margin: 2em 0;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.article-tags {
  margin: 3em 0;
  padding: 2em 0;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.article-tags h4 {
  margin-bottom: 1em;
  color: var(--text-color);
}

.tags-list a {
  display: inline-block;
  background: #f0f0f0;
  color: var(--text-color);
  padding: 8px 16px;
  border-radius: 20px;
  margin: 0 10px 10px 0;
  font-size: 0.9rem;
  transition: background 0.3s ease;
}

.tags-list a:hover {
  background: #1e3c72;
  color: #fff;
}

.fact-check-badge {
  background: #e8f5e8;
  color: #2d5016;
  padding: 15px var(--spacing-md);
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 2em 0;
  font-weight: 500;
}

.fact-check-badge i {
  color: #4caf50;
}

.article-newsletter {
  margin: 4em 0;
  padding: 3em;
  background: linear-gradient(135deg, #1e3c72, #2a5298);
  color: #fff;
  border-radius: 12px;
  text-align: center;
}

.newsletter-box h3 {
  margin-bottom: 1em;
  font-size: 1.5rem;
}

.newsletter-box p {
  margin-bottom: 2em;
  opacity: 0.9;
}

.newsletter-form {
  display: flex;
  gap: 10px;
  max-width: 400px;
  margin: 0 auto;
  padding: 0 var(--spacing-sm);
}

.newsletter-form input {
  flex: 1;
  padding: 12px 16px;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
}

.newsletter-form input::placeholder {
  color: #999;
}

.newsletter-form button {
  background: #ffd700;
  color: var(--text-color);
  border: none;
  padding: 12px 24px;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease;
}

.newsletter-form button:hover {
  background: #ffed4e;
}

.privacy-note {
  margin-top: 1em;
  font-size: 0.8rem;
  opacity: 0.7;
}

.article-footer {
  margin-top: 4em;
  padding-top: 3em;
  border-top: 2px solid var(--border-color);
}

.social-share-bottom {
  text-align: center;
  margin-bottom: 3em;
}

.social-share-bottom .share-buttons {
  justify-content: center;
  margin-top: 1em;
}

.social-share-bottom .share-btn {
  width: auto;
  padding: 10px 20px;
  border-radius: 25px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.author-bio-detailed {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--spacing-lg);
  align-items: start;
  padding: 3em;
  background: var(--secondary-bg);
  border-radius: 12px;
}

.author-avatar img {
  border-radius: 50%;
  width: 100px;
  height: 100px;
}

.author-header {
  margin-bottom: 1em;
}

.author-header h3 {
  margin-bottom: 5px;
  color: var(--text-color);
}

.author-position, .author-company {
  display: block;
  color: var(--secondary-text-color);
  font-size: 0.9rem;
}

.author-bio p {
  margin-bottom: 1.5em;
  color: var(--secondary-text-color);
  line-height: 1.6;
}

.author-social {
  display: flex;
  gap: 15px;
}

.author-social-link {
  color: var(--secondary-text-color);
  transition: color 0.3s ease;
}

.author-social-link:hover {
  color: #1e3c72;
}

.article-navigation {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-lg);
  margin-bottom: 4em;
}

.nav-link {
  padding: 2em;
  background: var(--secondary-bg);
  border-radius: 12px;
  color: inherit;
  transition: background 0.3s ease;
}

.nav-link:hover {
  background: #e9ecef;
}

.nav-direction {
  display: block;
  font-size: 0.9rem;
  color: var(--secondary-text-color);
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.nav-link h4 {
  margin-bottom: 10px;
  color: var(--text-color);
  line-height: 1.4;
}

.nav-date {
  font-size: 0.9rem;
  color: var(--secondary-text-color);
}

.related-articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--spacing-lg);
  margin-bottom: 4em;
}

.related-article-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.related-article-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.article-image img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.related-articles .article-content {
  padding: 1.5em;
}

.trending-articles {
  margin-bottom: 4em;
}

.trending-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.trending-item {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 15px;
  background: var(--secondary-bg);
  border-radius: 8px;
  transition: background 0.3s ease;
}

.trending-item:hover {
  background: #e9ecef;
}

.trending-rank {
  background: #1e3c72;
  color: #fff;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 0.9rem;
}

.trending-content h4 {
  margin-bottom: 5px;
  font-size: 0.9rem;
  line-height: 1.4;
}

.trending-content a {
  color: var(--text-color);
}

.trending-content a:hover {
  color: #1e3c72;
}

.trending-meta {
  font-size: 0.7rem;
  color: var(--secondary-text-color);
  display: flex;
  gap: 10px;
}

/* Comments Section */
.comments-section {
  background: var(--secondary-bg);
  padding: 4em 0;
  margin-top: 4em;
}

.comments-section .container {
  max-width: 800px;
  margin: 0 auto;
}

.comments-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2em;
  border-bottom: 2px solid var(--primary-color);
  padding-bottom: 1em;
}

.comments-header h2 {
  font-size: 1.8rem;
  color: var(--text-color);
  margin: 0;
}

.comments-stats {
  font-size: 1rem;
  color: var(--secondary-text-color);
  font-weight: 500;
}

.comment-list {
  list-style: none;
  padding: 0;
  margin: 0 0 3em 0;
}

.comment {
  background: #fff;
  border-radius: 8px;
  box-shadow: var(--shadow);
  padding: 1.5em;
  margin-bottom: 1.5em;
  position: relative;
}

.comment.bypostauthor {
  border-left: 4px solid var(--primary-color);
}

.comment-author {
  font-weight: 600;
  color: var(--text-color);
  font-size: 1.1rem;
}

.comment-author .says {
  display: none;
}

.comment-author .avatar {
  border-radius: 50%;
  width: 40px;
  height: 40px;
  margin-right: 10px;
  vertical-align: middle;
}

.comment-meta {
  font-size: 0.9rem;
  color: var(--secondary-text-color);
  margin-bottom: 1em;
}

.comment-metadata a {
  color: var(--secondary-text-color);
  text-decoration: none;
}

.comment-metadata a:hover {
  color: var(--primary-color);
}

.comment-content {
  line-height: 1.6;
  color: var(--text-color);
}

.comment-content p {
  margin-bottom: 1em;
}

.reply {
  text-align: right;
  margin-top: 1em;
}

.reply a {
  color: var(--primary-color);
  font-weight: 500;
  text-decoration: none;
  padding: 5px 10px;
  border-radius: 4px;
  transition: background 0.3s ease, color 0.3s ease;
}

.reply a:hover {
  background: var(--primary-color);
  color: #fff;
}

.children {
  margin-left: 40px;
  list-style: none;
  padding: 0;
}

.comment-form {
  background: #fff;
  border-radius: 8px;
  box-shadow: var(--shadow);
  padding: 2em;
  margin-top: 2em;
}

.comment-form label {
  display: block;
  font-weight: 500;
  margin-bottom: 0.5em;
  color: var(--text-color);
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
  width: 100%;
  padding: 0.75em 1em;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  margin-bottom: 1.5em;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.comment-form input:focus,
.comment-form textarea:focus {
  border-color: var(--primary-color);
  outline: none;
}

.comment-form textarea {
  min-height: 150px;
}

.comment-form .form-submit {
  text-align: right;
}

.comment-form input[type="submit"] {
  background: var(--primary-color);
  color: #fff;
  border: none;
  padding: 0.75em 1.5em;
  border-radius: 4px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease;
}

.comment-form input[type="submit"]:hover {
  background: #cc0000;
}

.comment-form input[type="submit"]:focus {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}

.no-comments {
  text-align: center;
  color: var(--secondary-text-color);
  font-style: italic;
  margin: 2em 0;
}

/* Threaded Comments */
.comment .children .comment {
  margin-top: 1.5em;
}

/* Breaking Section */
.breaking-section {
  background: #fff;
  padding: var(--spacing-md) 0;
  margin: var(--spacing-md) auto;
  border: 1px solid var(--border-color);
}

.breaking-label {
  background: var(--primary-color);
  color: #fff;
  font-weight: bold;
  padding: 5px 15px;
  margin-bottom: 15px;
  font-size: 16px;
  display: inline-block;
}

.ad-banner {
  text-align: center;
  padding: var(--spacing-lg);
  background: linear-gradient(135deg, var(--secondary-bg), #f0f0f0);
  border-radius: 12px;
  margin: var(--spacing-lg) 0;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease;
  position: relative;
  overflow: hidden;
}

.ad-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--primary-color);
}

.ad-banner h3 {
  font-size: clamp(1.4rem, 2.5vw, 1.6rem);
  font-family: var(--font-heading);
  font-weight: bold;
  color: var(--text-color);
  margin-bottom: var(--spacing-sm);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.ad-banner p {
  font-size: clamp(0.9rem, 2vw, 1rem);
  color: var(--secondary-text-color);
  margin-bottom: var(--spacing-md);
  max-width: 80%;
  margin-left: auto;
  margin-right: auto;
}

.ad-banner button {
  background: var(--primary-color);
  color: #fff;
  border: none;
  padding: 12px 30px;
  border-radius: 25px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
}

.ad-banner button:hover {
  background: #cc0000;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.ad-banner button:focus {
  outline: 2px solid var(--primary-color);
  outline-offset: 4px;
}

.top-grid, .bottom-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--spacing-md);
}

.news-card {
  position: relative;
  overflow: hidden;
}

.news-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.news-card .overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 15px;
  background: linear-gradient(transparent, rgba(0,0,0,0.8));
  color: #fff;
}

.news-card .tag {
  background: var(--primary-color);
  padding: 2px 6px;
  font-size: 12px;
  font-weight: bold;
  margin-bottom: 8px;
}

.news-card h3 {
  margin: 0;
  font-size: 18px;
  font-weight: bold;
  line-height: 1.4;
}

.small-card {
  display: flex;
  flex-direction: column;
  font-size: 14px;
}

.small-card img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  margin-top: 8px;
}

.small-card h4 {
  margin: 0 0 5px;
  font-size: 14px;
  line-height: 1.3;
}

/* Content Container */
.content-container {
  display: flex;
  gap: var(--spacing-lg);
  margin: var(--spacing-lg) auto;
}

.left {
  flex: 3;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 2px solid var(--primary-color);
  margin-bottom: var(--spacing-md);
}

.section-header h2 {
  font-size: clamp(24px, 3vw, 26px);
  margin: 0;
}

.section-header a {
  color: var(--primary-color);
  font-size: 14px;
  font-weight: bold;
}

.top-news {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-lg);
}

.top-news img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 3px;
}

.top-news h3 {
  font-size: 18px;
  margin: 10px 0;
}

.author {
  font-size: 12px;
  color: var(--secondary-text-color);
}

.other-news {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--spacing-md);
}

.news-item {
  border-top: 1px solid var(--border-color);
  padding-top: var(--spacing-sm);
}

.news-item h4 {
  margin: 0 0 5px;
  font-size: 14px;
}

.news-item .exclusive {
  background: var(--primary-color);
  color: #fff;
  font-size: 11px;
  font-weight: bold;
  padding: 2px 5px;
  margin-right: 5px;
  border-radius: 2px;
}

.news-item p {
  margin: 0;
  font-size: 12px;
  color: var(--secondary-text-color);
}

.right {
  flex: 1;
}

.ad {
  margin-bottom: var(--spacing-lg);
}

.ad img {
  border-radius: 3px;
}

.subscribe {
  border: 1px solid var(--border-color);
  padding: var(--spacing-md);
  border-radius: 4px;
}

.subscribe h3 {
  margin-top: 0;
  font-size: 20px;
}

.subscribe input {
  width: 100%;
  padding: 10px;
  margin: 10px 0;
  border: 1px solid #ccc;
  border-radius: 3px;
}

.subscribe button {
  width: 100%;
  background: var(--primary-color);
  color: #fff;
  padding: 12px;
  border: none;
  border-radius: 3px;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s ease;
}

.subscribe button:hover {
  background: #cc0000;
}

.subscribe label {
  display: block;
  margin-top: 10px;
  font-size: 12px;
  color: var(--secondary-text-color);
}

.subscribe a {
  color: var(--primary-color);
}

/* Lifestyle Section */
.lifestyle-section {
  margin: var(--spacing-lg) auto;
  position: relative;
}

.lifestyle-section::before {
  content: "CELEBRITY";
  font-size: 100px;
  font-weight: 900;
  color: #f5f5f5;
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 0;
  pointer-events: none;
}

.lifestyle-section .section-header {
  text-align: center;
  margin-bottom: var(--spacing-lg);
  position: relative;
  z-index: 2;
}

.lifestyle-section .section-header h2 {
  font-size: clamp(28px, 3vw, 32px);
  font-weight: bold;
  margin: 0;
}

.lifestyle-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: var(--spacing-md);
  position: relative;
  z-index: 2;
}

.left-big {
  display: flex;
  gap: var(--spacing-md);
}

.left-big img {
  width: 50%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 4px;
}

.left-big .text {
  flex: 1;
}

.left-big h3 {
  font-size: 20px;
  margin: 0 0 10px;
}

.right-big img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 4px;
}

.right-big h3 {
  font-size: 20px;
  margin: 10px 0;
}

.lifestyle-bottom-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--spacing-md);
  margin-top: var(--spacing-lg);
}

.bottom-item img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 4px;
}

.bottom-item h4 {
  font-size: 15px;
  margin: 10px 0 5px;
}

/* Food & Travel Section */
.food-travel-section {
  margin: 0 auto;
  padding: var(--spacing-lg) 0;
}

.food-travel-section .section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 2px solid var(--primary-color);
  padding-bottom: var(--spacing-sm);
  margin-bottom: var(--spacing-md);
}

.food-travel-section .section-header h2 {
  font-size: clamp(24px, 3vw, 28px);
  font-weight: bold;
  margin: 0;
}

.food-travel-section .section-header a {
  color: var(--primary-color);
  font-size: 14px;
  font-weight: bold;
}

.food-travel-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-lg);
}

.grid-item {
  background: #fff;
}

.grid-item img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 4px;
}

.grid-item h3 {
  font-size: 16px;
  margin: 10px 0;
  line-height: 1.3em;
}

.meta {
  font-size: 12px;
  color: var(--secondary-text-color);
  display: flex;
  align-items: center;
  gap: 5px;
}

.meta img {
  width: 20px;
  height: 20px;
  border-radius: 50%;
}

.sub-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 15px;
}

.sub-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.sub-item img {
  width: 80px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 4px;
}

.sub-item h4 {
  font-size: 13px;
  margin: 0;
  line-height: 1.3em;
}

/* Exclusive Content Section */
.exclusive-container {
  display: flex;
  flex-direction: row;
  gap: 2rem;
  margin: 0 auto;
}

.main-article {
  position: relative;
  width: 60%;
}

.main-article img {
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.label-top {
  position: absolute;
  top: 0;
  left: 0;
  background-color: var(--primary-color);
  color: #fff;
  padding: 6px 14px;
  font-size: 14px;
  font-weight: bold;
  z-index: 10;
}

.main-article-text {
  position: absolute;
  bottom: 0;
  color: #fff;
  padding: 1rem;
  background: linear-gradient(to top, rgba(0,0,0,0.7), rgba(0,0,0,0));
  width: 100%;
}

.main-article-text .exclusive-tag {
  background-color: var(--primary-color);
  color: #fff;
  font-size: 12px;
  font-weight: bold;
  padding: 4px 8px;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  display: inline-block;
}

.main-article-text h1 {
  font-size: clamp(20px, 3vw, 24px);
  font-weight: 900;
  margin-bottom: 0.5rem;
}

.main-article-text p {
  font-size: 14px;
  line-height: 1.4;
  max-width: 90%;
}

.side-articles {
  width: 40%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.side-article {
  background-color: #fff;
}

.side-article img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.article-text .category {
  font-size: 12px;
  font-weight: bold;
  color: var(--text-color);
  margin-bottom: 4px;
}

.article-text .exclusive-tag {
  font-size: 10px;
  font-weight: bold;
  color: #fff;
  background-color: var(--primary-color);
  padding: 2px 6px;
  text-transform: uppercase;
  margin-right: 4px;
}

.article-text .headline {
  font-size: 13px;
  font-weight: 700;
  display: block;
  margin-top: 4px;
}

/* Footer */
.footer {
  background-color: var(--secondary-bg);
  padding: 2rem 0;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: space-between;
  margin: 0 auto;
}

.footer-column {
  flex: 1 1 200px;
  min-width: 220px;
}

.footer-column h2.logo {
  font-weight: 700;
  font-size: 24px;
  margin-bottom: 10px;
  color: var(--primary-color);
}

.footer-column h2 sup {
  font-size: 10px;
  font-weight: 400;
}

.footer-column h3 {
  margin-top: 10px;
  font-size: 16px;
  font-weight: 700;
}

.footer-column p {
  margin: 10px 0;
  font-size: 14px;
  color: var(--secondary-text-color);
  line-height: 1.5;
}

.footer-column ul {
  list-style: none;
  padding: 0;
}

.footer-column ul li {
  margin: 8px 0;
}

.footer-column ul li a {
  color: var(--text-color);
  font-size: 14px;
}

.social-icons a {
  margin-right: 10px;
  background: var(--text-color);
  color: #fff;
  padding: 8px;
  border-radius: 4px;
  transition: background 0.3s ease;
}

.social-icons a:hover {
  background: var(--primary-color);
}

.latest-post {
  margin-bottom: 15px;
}

.latest-post strong {
  font-size: 14px;
  display: block;
  margin-bottom: 4px;
}

.latest-post .meta {
  font-size: 12px;
  color: var(--secondary-text-color);
}

.latest-post .meta span {
  margin-left: 5px;
}

.footer-column input[type="email"] {
  width: 100%;
  padding: 10px;
  font-size: 14px;
  margin-bottom: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.footer-subscribe-btn {
  width: 100%;
  background-color: var(--text-color);
  color: #fff;
  padding: 10px;
  font-weight: bold;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.footer-subscribe-btn:hover {
  background-color: var(--primary-color);
}

.privacy-check {
  margin-top: 10px;
  font-size: 12px;
}

.privacy-check input {
  margin-right: 6px;
}

.privacy-check a {
  color: var(--primary-color);
}

.footer-bottom {
  border-top: 1px solid #ddd;
  text-align: center;
  padding: 1rem 0;
  font-size: 13px;
  color: var(--secondary-text-color);
  margin: 0 auto;
}

/* WordPress Specific Styles */
.post-thumbnail {
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.entry-title {
  margin-bottom: var(--spacing-sm);
}

.entry-meta {
  font-size: 12px;
  color: var(--secondary-text-color);
  margin-bottom: 15px;
}

.entry-content {
  line-height: 1.6;
}

/* Reading Progress Bar */
.reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: #1e3c72;
  width: 0%;
  z-index: 1000;
  transition: width 0.3s ease;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .main-container {
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
  }
  .top-grid, .bottom-grid, .food-travel-grid, .lifestyle-bottom-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .top-news {
    grid-template-columns: repeat(2, 1fr);
  }
  .lifestyle-grid {
    grid-template-columns: 1fr;
  }
  .exclusive-container {
    flex-direction: column;
  }
  .main-article, .side-articles {
    width: 100%;
  }
  .sub-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .article-meta {
    flex-direction: column;
    gap: 15px;
  }
  .meta-primary {
    flex-direction: column;
    align-items: flex-start;
  }
  .meta-secondary {
    align-items: flex-start;
  }
  .comments-section .container {
    padding: 0 var(--spacing-sm);
  }
  .comment .children {
    margin-left: 20px;
  }
}

@media (max-width: 768px) {
  .top-nav {
    flex-direction: column;
    gap: 15px;
  }
  .nav-menu {
    display: none;
    flex-direction: column;
    gap: 0;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid var(--border-color);
    z-index: 1000;
    padding: 0;
  }
  .nav-menu.active {
    display: flex;
  }
  .nav-menu a {
    padding: 15px 20px;
    border-bottom: 1px solid var(--border-color);
  }
  .nav-menu a:last-child {
    border-bottom: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .content-container {
    flex-direction: column;
  }
  .top-grid, .bottom-grid, .food-travel-grid, .lifestyle-bottom-grid {
    grid-template-columns: 1fr;
  }
  .top-news {
    grid-template-columns: 1fr;
  }
  .other-news {
    grid-template-columns: 1fr;
  }
  .sub-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .side-articles {
    grid-template-columns: 1fr;
  }
  .footer-container {
    flex-direction: column;
  }
  .article-content-wrapper {
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
  }
  .sticky-social-share {
    position: static;
    width: auto;
    order: 2;
  }
  .share-vertical {
    flex-direction: row;
    justify-content: center;
  }
  .vertical-buttons {
    flex-direction: row;
  }
  .article-navigation {
    grid-template-columns: 1fr;
  }
  .related-articles-grid {
    grid-template-columns: 1fr;
  }
  .author-bio-detailed {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .newsletter-form {
    flex-direction: column;
    gap: 15px;
  }
  .comments-section {
    padding: 2em 0;
  }
  .comment {
    padding: 1em;
  }
  .comment-author .avatar {
    width: 32px;
    height: 32px;
  }
  .comment .children {
    margin-left: 15px;
  }
  .comment-form {
    padding: 1.5em;
  }
}

@media (max-width: 480px) {
  .ad-banner {
    padding: var(--spacing-md);
    margin: var(--spacing-md) 0;
  }
  .ad-banner h3 {
    font-size: 1.2rem;
  }
  .ad-banner p {
    font-size: 0.85rem;
    max-width: 90%;
  }
  .ad-banner button {
    padding: 10px 20px;
    font-size: 0.9rem;
  }
  .lifestyle-bottom-grid {
    grid-template-columns: 1fr;
  }
  .sub-grid {
    grid-template-columns: 1fr;
  }
  .left-big {
    flex-direction: column;
  }
  .left-big img {
    width: 100%;
  }
  .logo {
    font-size: clamp(28px, 5vw, 32px);
  }
  .social-share-bottom .share-btn {
    width: 45px;
    height: 45px;
    padding: 5px;
    justify-content: center;
    align-items: center;
  }
  .social-share-bottom .share-btn i {
    font-size: 1.2rem;
  }
  .social-share-bottom .share-btn span {
    display: none;
  }
  .article-title {
    font-size: clamp(1.5rem, 4vw, 2rem);
  }
  .article-excerpt {
    font-size: clamp(1rem, 2vw, 1.1rem);
  }
  .comment-author .avatar {
    width: 28px;
    height: 28px;
  }
  .comment-form input[type="text"],
  .comment-form input[type="email"],
  .comment-form input[type="url"],
  .comment-form textarea {
    font-size: 0.9rem;
  }
  .comment-form textarea {
    min-height: 120px;
  }
}

/* Print Styles */
@media print {
  .sticky-social-share, .social-share-top, .social-share-bottom,
  .article-newsletter, .trending-articles, .comments-section,
  .ad, .ad-banner, .subscribe {
    display: none;
  }
  .article-content {
    font-size: 12pt;
    line-height: 1.6;
  }
  .article-title {
    font-size: 18pt;
  }
  .breaking-news-alert {
    border: 1px solid #000;
    background: none;
    color: #000;
  }
}

/* Videos Page Styles */
.video-gallery-page .page-header {
    text-align: center;
    margin-bottom: 40px;
    padding: 40px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.video-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 30px;
    justify-content: center;
}

.video-filter {
    padding: 8px 16px;
    border: 2px solid #e60000;
    background: white;
    color: #e60000;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.video-filter.active,
.video-filter:hover {
    background: #e60000;
    color: white;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.video-item {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.video-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0,0,0,0.15);
}

.video-thumbnail {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
    cursor: pointer;
}

.video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.video-item:hover .video-thumbnail img {
    transform: scale(1.05);
}

.video-play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(230, 0, 0, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.video-play-button:hover {
    background: rgba(230, 0, 0, 1);
    transform: translate(-50%, -50%) scale(1.1);
}

.video-duration {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(0,0,0,0.8);
    color: white;
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 0.8rem;
}

.video-info {
    padding: 20px;
}

.video-info h3 {
    margin: 0 0 10px 0;
    font-size: 1.1rem;
    line-height: 1.4;
}

.video-info h3 a {
    color: inherit;
    text-decoration: none;
}

.video-info h3 a:hover {
    color: #e60000;
}

.video-meta {
    display: flex;
    gap: 10px;
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 10px;
}

.video-category {
    background: #f0f0f0;
    padding: 2px 8px;
    border-radius: 3px;
    font-size: 0.8rem;
}

.video-excerpt {
    font-size: 0.9rem;
    color: #555;
    line-height: 1.5;
}

/* Podcasts Page Styles */
.podcasts-page .page-header {
    text-align: center;
    margin-bottom: 40px;
    padding: 40px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.podcast-subscribe {
    margin-top: 20px;
}

.subscribe-links {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 10px;
}

.subscribe-link {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 8px 16px;
    background: #333;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.subscribe-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.rss-link { background: #ff6600; }
.apple-link { background: #9933cc; }
.spotify-link { background: #1db954; }
.google-link { background: #4285f4; }

.podcast-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 30px;
    justify-content: center;
}

.podcast-filter {
    padding: 8px 16px;
    border: 2px solid #ff6b00;
    background: white;
    color: #ff6b00;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.podcast-filter.active,
.podcast-filter:hover {
    background: #ff6b00;
    color: white;
}

.podcast-episodes {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.podcast-episode {
    display: flex;
    gap: 30px;
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.podcast-episode:hover {
    transform: translateY(-3px);
}

.episode-image {
    flex: 0 0 200px;
}

.episode-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.episode-content {
    flex: 1;
}

.episode-header h2 {
    margin: 0 0 10px 0;
    font-size: 1.4rem;
}

.episode-header h2 a {
    color: inherit;
    text-decoration: none;
}

.episode-header h2 a:hover {
    color: #ff6b00;
}

.episode-meta {
    display: flex;
    gap: 15px;
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 15px;
}

.episode-category {
    background: #ff6b00;
    color: white;
    padding: 2px 8px;
    border-radius: 3px;
    font-size: 0.8rem;
}

.episode-excerpt {
    margin-bottom: 20px;
    line-height: 1.6;
    color: #555;
}

.episode-player {
    margin-top: 20px;
}

.podcast-audio-player {
    width: 100%;
    margin-bottom: 15px;
}

.player-actions {
    display: flex;
    gap: 10px;
}

.play-btn, .download-btn, .share-btn {
    padding: 8px 16px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 5px;
}

.play-btn {
    background: #ff6b00;
    color: white;
}

.download-btn {
    background: #333;
    color: white;
}

.share-btn {
    background: #f0f0f0;
    color: #333;
}

/* Load More Button */
.load-more-container {
    text-align: center;
    margin: 40px 0;
}

.load-more-btn {
    padding: 12px 30px;
    background: #e60000;
    color: white;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.load-more-btn:hover {
    background: #cc0000;
    transform: translateY(-2px);
}

/* No Content States */
.no-videos, .no-podcasts,
.no-more-videos, .no-more-podcasts {
    text-align: center;
    padding: 60px 20px;
    color: #666;
}

.no-videos h3, .no-podcasts h3 {
    margin-bottom: 10px;
    color: #333;
}

/* Responsive Design */
@media (max-width: 768px) {
    .video-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .podcast-episode {
        flex-direction: column;
        padding: 20px;
    }
    
    .episode-image {
        flex: none;
        text-align: center;
    }
    
    .episode-image img {
        max-width: 200px;
    }
    
    .video-filters,
    .podcast-filters {
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 10px;
    }
    
    .subscribe-links {
        justify-content: flex-start;
    }
}

