
/*
Theme Name: WFPX News Pro
Theme URI: https://wfpxnews.com
Description: Modern news theme for WFPX News
Version: 1.1
Author: WFPX News Team
Author URI: https://wfpxnews.com
License: GPL-2.0-or-later
Text Domain: wfpx
*/

:root {
    --primary-color: #0066cc;
    --secondary-color: #ff3333;
    --dark-bg: #1a1a1a;
    --light-bg: #f8f9fa;
    --text-dark: #222;
    --text-light: #666;
    --border-color: #e0e0e0;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
}
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* Header Styles */
.site-header { background: var(--dark-bg); color: white; padding: 10px 0; }
.top-bar { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,0.1); }
.logo { display: flex; align-items: center; gap: 15px; }
.logo h1 { font-size: 32px; font-weight: 800; color: white; letter-spacing: -1px; }
.logo-accent { color: var(--secondary-color); }
.tagline { font-size: 12px; color: #999; text-transform: uppercase; letter-spacing: 1px; }
.header-actions { display: flex; gap: 20px; align-items: center; }
.weather, .date-time { font-size: 13px; color: #ccc; }
.search-btn, .menu-toggle { background: var(--primary-color); color: white; border: none; padding: 8px 16px; border-radius: 4px; cursor: pointer; font-size: 14px; }

/* Navigation */
.main-nav { padding: 15px 0; }
.nav-menu { display: flex; list-style: none; gap: 30px; }
.nav-menu a { color: white; text-decoration: none; font-weight: 600; font-size: 15px; transition: color 0.3s; text-transform: uppercase; letter-spacing: 0.5px; }
.nav-menu a:hover { color: var(--secondary-color); }

/* Breaking */
.breaking-news { background: var(--secondary-color); color: white; padding: 12px 0; animation: slideDown 0.5s; }
.breaking-content { display: flex; align-items: center; gap: 15px; }
.breaking-label { background: white; color: var(--secondary-color); padding: 4px 12px; font-weight: 800; font-size: 12px; text-transform: uppercase; letter-spacing: 1px; border-radius: 3px; }
.breaking-text { flex: 1; font-size: 15px; }

/* Page Header */
.page-header { background: linear-gradient(135deg, var(--primary-color), #0052a3); color: white; padding: 60px 0 40px; text-align: center; }
.page-title { font-size: 48px; font-weight: 800; margin-bottom: 10px; }
.page-description { font-size: 18px; color: rgba(255,255,255,0.9); }

/* Content */
.content-wrapper { padding: 40px 0; background: var(--light-bg); }
.main-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 30px; margin-bottom: 40px; }

/* Featured Article */
.featured-article { position: relative; height: 500px; border-radius: 8px; overflow: hidden; box-shadow: 0 4px 15px rgba(0,0,0,0.1); }
.featured-image { width: 100%; height: 100%; object-fit: cover; }
.featured-overlay { position: absolute; bottom: 0; left: 0; right: 0; background: linear-gradient(transparent, rgba(0,0,0,0.9)); padding: 40px; color: white; }
.category-badge { display: inline-block; background: var(--secondary-color); color: white; padding: 5px 12px; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 10px; border-radius: 3px; }
.featured-title { font-size: 32px; font-weight: 800; margin-bottom: 10px; line-height: 1.2; }
.featured-excerpt { font-size: 16px; color: #ddd; margin-bottom: 15px; }
.article-meta { font-size: 13px; color: #999; }

/* Sidebar */
.top-stories, .sidebar-widget { background: white; border-radius: 8px; padding: 25px; box-shadow: 0 2px 8px rgba(0,0,0,0.05); margin-bottom: 30px; }
.section-title { font-size: 20px; font-weight: 800; margin-bottom: 20px; padding-bottom: 10px; border-bottom: 3px solid var(--primary-color); }
.story-item { display: flex; gap: 15px; margin-bottom: 20px; padding-bottom: 20px; border-bottom: 1px solid var(--border-color); }
.story-item:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.story-number { font-size: 24px; font-weight: 800; color: var(--primary-color); min-width: 30px; }
.story-content h3 { font-size: 16px; margin-bottom: 5px; line-height: 1.3; }
.story-time { font-size: 12px; color: var(--text-light); }

/* News Grid */
.news-section { margin-bottom: 50px; }
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 25px; }
.news-card { background: white; border-radius: 8px; overflow: hidden; box-shadow: 0 2px 8px rgba(0,0,0,0.05); transition: transform 0.3s, box-shadow 0.3s; }
.news-card:hover { transform: translateY(-5px); box-shadow: 0 8px 20px rgba(0,0,0,0.1); }
.news-image { width: 100%; height: 200px; object-fit: cover; }
.news-content { padding: 20px; }
.news-title { font-size: 18px; font-weight: 700; margin-bottom: 10px; line-height: 1.3; }
.news-excerpt { font-size: 14px; color: var(--text-light); margin-bottom: 10px; }

/* Weather Page */
.weather-dashboard { display: grid; grid-template-columns: repeat(3, 1fr); gap: 25px; margin-bottom: 40px; }
.weather-card { background: white; padding: 30px; border-radius: 8px; text-align: center; box-shadow: 0 2px 8px rgba(0,0,0,0.05); }
.weather-icon { font-size: 64px; margin-bottom: 15px; }
.temperature { font-size: 48px; font-weight: 800; color: var(--primary-color); margin-bottom: 10px; }
.weather-desc { font-size: 18px; color: var(--text-dark); margin-bottom: 20px; }
.weather-details { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; text-align: left; }
.weather-detail { font-size: 14px; }
.weather-detail strong { display: block; color: var(--text-light); font-size: 12px; text-transform: uppercase; margin-bottom: 5px; }
.forecast-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 15px; }
.forecast-day { background: white; padding: 20px; border-radius: 8px; text-align: center; box-shadow: 0 2px 8px rgba(0,0,0,0.05); }
.forecast-day h4 { font-size: 14px; margin-bottom: 15px; color: var(--text-light); }
.forecast-day .weather-icon { font-size: 36px; margin-bottom: 10px; }
.forecast-temp { font-size: 18px; font-weight: 700; }

/* Sports */
.scoreboard { background: white; padding: 30px; border-radius: 8px; margin-bottom: 30px; box-shadow: 0 2px 8px rgba(0,0,0,0.05); }
.game-card { display: flex; justify-content: space-between; align-items: center; padding: 25px; border-bottom: 1px solid var(--border-color); }
.game-card:last-child { border-bottom: none; }
.team { display: flex; align-items: center; gap: 15px; }
.team-logo { width: 50px; height: 50px; background: var(--light-bg); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 18px; }
.team-name { font-size: 20px; font-weight: 700; }
.score { font-size: 32px; font-weight: 800; color: var(--primary-color); }
.game-time { font-size: 14px; color: var(--text-light); text-align: center; }

/* Video */
.video-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 25px; }
.video-card { background: white; border-radius: 8px; overflow: hidden; box-shadow: 0 2px 8px rgba(0,0,0,0.05); }
.video-thumbnail { position: relative; height: 250px; background: #000; }
.video-thumbnail img { width: 100%; height: 100%; object-fit: cover; }
.play-button { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 60px; height: 60px; background: rgba(255,255,255,0.9); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 24px; color: var(--primary-color); }
.video-info { padding: 20px; }
.video-duration { display: inline-block; background: var(--dark-bg); color: white; padding: 3px 8px; border-radius: 3px; font-size: 11px; margin-bottom: 10px; }

/* List Layout */
.list-layout { background: white; border-radius: 8px; padding: 0; box-shadow: 0 2px 8px rgba(0,0,0,0.05); }
.list-item { display: flex; gap: 20px; padding: 25px; border-bottom: 1px solid var(--border-color); transition: background 0.3s; }
.list-item:hover { background: var(--light-bg); }
.list-item:last-child { border-bottom: none; }
.list-image { width: 200px; height: 150px; object-fit: cover; border-radius: 8px; flex-shrink: 0; }
.list-content { flex: 1; }
.list-title { font-size: 22px; font-weight: 700; margin-bottom: 10px; }
.list-excerpt { font-size: 15px; color: var(--text-light); line-height: 1.6; }

/* Footer */
.site-footer { background: var(--dark-bg); color: white; padding: 50px 0 20px; }
.footer-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; margin-bottom: 30px; }
.footer-section h3 { margin-bottom: 15px; font-size: 18px; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 8px; }
.footer-links a { color: #999; text-decoration: none; font-size: 14px; }
.footer-links a:hover { color: white; }
.footer-bottom { text-align: center; padding-top: 30px; border-top: 1px solid rgba(255,255,255,0.1); color: #666; font-size: 14px; }

/* Responsive Design */
@media (max-width: 968px) {
  .main-grid { grid-template-columns: 1fr; }
  .news-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .weather-dashboard { grid-template-columns: 1fr; }
  .forecast-grid { grid-template-columns: repeat(3, 1fr); }
  .video-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .nav-menu { display: none; }
  .news-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .featured-title { font-size: 24px; }
  .forecast-grid { grid-template-columns: repeat(2, 1fr); }
  .list-item { flex-direction: column; }
  .list-image { width: 100%; }
}
@keyframes slideDown { from { transform: translateY(-100%); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
