/*
Theme Name: ProScores Sports Theme
Theme URI: https://example.com/sports-theme
Author: Your Name
Author URI: https://example.com
Description: A modern sports theme for displaying live scores, standings, and matches using ProScores plugin
Version: 1.2
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: sports-theme
Tags: sports, scores, matches, responsive, modern
*/

/* ===========================
   CSS Variables & Reset
   =========================== */
:root {
    --primary-color: #0066cc;
    --primary-dark: #0052a3;
    --secondary-color: #1a1f36;
    --accent-color: #ff6b35;
    --light-bg: #f4f7fa;
    --white: #ffffff;
    --text-dark: #2d3748;
    --text-light: #718096;
    --border-color: #e2e8f0;
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.12);
    --shadow-lg: 0 8px 24px rgba(0,0,0,0.15);
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.7;
    color: var(--text-dark);
    background-color: var(--light-bg);
    font-size: 16px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===========================
   Top Notification Bar
   =========================== */
.top-notification-bar {
    background: linear-gradient(135deg, #2c3e50 0%, #1a252f 100%);
    color: var(--white);
    padding: 12px 0;
    text-align: center;
    border-bottom: 2px solid var(--primary-color);
}

.top-notification-bar p {
    margin: 0;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.3px;
}

.top-notification-bar .container {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* ===========================
   Header Styles
   =========================== */
.site-header {
    background-color: var(--white);
    box-shadow: var(--shadow-md);
    position: sticky;
    top: 0;
    z-index: 1000;
}

/* Site Branding */
.site-branding {
    text-align: center;
    padding: 32px 0 24px;
    background: linear-gradient(135deg, var(--white) 0%, #f8f9fa 100%);
    border-bottom: 1px solid var(--border-color);
    position: relative;
}

.site-branding .container {
    position: relative;
}

.site-title {
    font-size: 36px;
    font-weight: 800;
    margin: 0;
    line-height: 1.2;
}

.site-title a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
    display: inline-block;
}

.site-title a:hover {
    transform: scale(1.02);
    color: var(--primary-dark);
}

.site-description {
    color: var(--text-light);
    font-size: 15px;
    margin: 8px 0 0 0;
    font-weight: 500;
}

.custom-logo-link {
    display: inline-block;
    line-height: 0;
    transition: var(--transition);
}

.custom-logo-link:hover {
    transform: scale(1.05);
    opacity: 0.9;
}

.custom-logo {
    max-height: 100px;
    width: auto;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* Header Widget Area */
.header-widget-area {
    text-align: center;
    padding: 16px 0;
    background: var(--light-bg);
}

.header-widget {
    margin: 0 auto;
    max-width: 800px;
}

/* Navigation */
.main-navigation {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    border-bottom: 3px solid var(--primary-dark);
    position: relative;
}

.main-navigation .container {
    position: relative;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    background: transparent;
    border: none;
    padding: 12px;
    cursor: pointer;
    position: absolute;
    right: 8px;
    top: 8px;
    z-index: 1001;
}

.hamburger-icon {
    display: block;
    width: 28px;
    height: 20px;
    position: relative;
}

.hamburger-icon span {
    display: block;
    position: absolute;
    height: 3px;
    width: 100%;
    background: var(--secondary-color);
    border-radius: 3px;
    opacity: 1;
    left: 0;
    transform: rotate(0deg);
    transition: 0.25s ease-in-out;
}

.hamburger-icon span:nth-child(1) {
    top: 0px;
}

.hamburger-icon span:nth-child(2) {
    top: 8px;
}

.hamburger-icon span:nth-child(3) {
    top: 16px;
}

.mobile-menu-toggle.active .hamburger-icon span:nth-child(1) {
    top: 8px;
    transform: rotate(135deg);
}

.mobile-menu-toggle.active .hamburger-icon span:nth-child(2) {
    opacity: 0;
    left: -60px;
}

.mobile-menu-toggle.active .hamburger-icon span:nth-child(3) {
    top: 8px;
    transform: rotate(-135deg);
}

.nav-menu,
.main-navigation ul {
    list-style: none;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin: 0;
    padding: 0;
}

.main-navigation li {
    margin: 0;
    position: relative;
}

.main-navigation a {
    display: block;
    padding: 18px 32px;
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 1px;
    transition: var(--transition);
    position: relative;
}

.main-navigation a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: var(--white);
    transition: var(--transition);
}

.main-navigation a:hover::before,
.main-navigation .current-menu-item a::before,
.main-navigation .current_page_item a::before {
    width: 80%;
}

.main-navigation a:hover,
.main-navigation .current-menu-item a,
.main-navigation .current_page_item a {
    background-color: rgba(255,255,255,0.2);
}

/* ===========================
   Main Content & Pages
   =========================== */
.site-content {
    min-height: 60vh;
}

.site-main {
    padding: 48px 0;
}

/* Hero Section */
.page-hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--white);
    padding: 60px 0;
    margin-bottom: 48px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    text-align: center;
}

.page-hero h1 {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 12px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.page-hero p {
    font-size: 18px;
    opacity: 0.95;
    max-width: 700px;
    margin: 0 auto;
}

/* Page Header (Alternative Style) */
.page-header {
    margin-bottom: 40px;
    padding-bottom: 24px;
    border-bottom: 4px solid var(--primary-color);
    background: linear-gradient(to right, var(--primary-color), transparent);
    background-size: 300px 100%;
    background-repeat: no-repeat;
    padding-left: 24px;
}

.page-title {
    font-size: 36px;
    color: var(--text-dark);
    font-weight: 800;
    margin: 0;
}

.page-content {
    margin-top: 32px;
}

/* ===========================
   ProScores Sections
   =========================== */
.proscores-section {
    margin: 36px 0;
    background: var(--white);
    padding: 32px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.proscores-section:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

.proscores-section h2 {
    color: var(--primary-color);
    margin-bottom: 24px;
    font-size: 26px;
    font-weight: 700;
    border-left: 5px solid var(--primary-color);
    padding-left: 20px;
    line-height: 1.3;
}

.proscores-wrapper {
    margin: 24px 0;
}

/* League Banner */
.league-banner {
    border-radius: var(--radius-lg);
    padding: 40px;
    margin-bottom: 32px;
    text-align: center;
}

.league-logo {
    max-width: 100%;
    height: auto;
    max-height: 200px;
    object-fit: contain;
}

/* Empty State Handling - JavaScript-based only */
/* These sections are marked by JavaScript when they contain placeholder content */

/* Hide sections that have been marked by JavaScript as empty */
.proscores-section.empty-content {
    display: none !important;
}

/* Hide dividers that have been marked by JavaScript */
.section-divider.hide-divider {
    display: none !important;
}

/* Scores Display */
table.proscores-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin: 24px 0;
    border-radius: var(--radius-sm);
    overflow: hidden;
}

table.proscores-table th {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--white);
    padding: 14px 16px;
    text-align: left;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

table.proscores-table td {
    padding: 14px 16px;
    border-bottom: 1px solid var(--border-color);
    background: var(--white);
}

table.proscores-table tr:hover td {
    background-color: #f8f9fa;
}

table.proscores-table tr:last-child td {
    border-bottom: none;
}

/* Match Cards */
.match-card {
    background: var(--white);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 24px;
    margin: 20px 0;
    transition: var(--transition);
}

.match-card:hover {
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
    transform: translateY(-4px);
}

/* Live Indicator */
.live-indicator {
    display: inline-block;
    background: var(--accent-color);
    color: var(--white);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 12px;
    animation: pulse 2s infinite;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

@keyframes pulse {
    0%, 100% { 
        opacity: 1;
        box-shadow: 0 0 0 0 rgba(231, 76, 60, 0.7);
    }
    50% { 
        opacity: 0.85;
        box-shadow: 0 0 0 8px rgba(231, 76, 60, 0);
    }
}

/* Standings Table */
.standings-wrapper {
    overflow-x: auto;
    margin: 24px 0;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-sm);
}

.standings-table {
    width: 100%;
    min-width: 600px;
}

/* Section Divider */
.section-divider {
    border: 0;
    height: 3px;
    background: linear-gradient(to right, transparent, var(--primary-color), transparent);
    margin: 48px 0;
    border-radius: 2px;
}

/* ===========================
   Blog & Page Content Styles
   =========================== */

/* Content Area */
.content-area {
    max-width: 800px;
    margin: 0 auto;
    padding: 48px 0;
}

/* Page & Single Post */
.entry-header {
    margin-bottom: 40px;
    padding: 40px 0;
    text-align: center;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    border-radius: var(--radius-lg);
    color: var(--white);
    box-shadow: var(--shadow-lg);
}

.entry-title {
    font-size: 42px;
    font-weight: 800;
    color: var(--white);
    margin: 0;
    line-height: 1.3;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.entry-meta {
    color: rgba(255,255,255,0.95);
    font-size: 15px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 16px;
}

.entry-meta span {
    display: inline-flex;
    align-items: center;
    padding: 6px 16px;
    background: rgba(255,255,255,0.2);
    border-radius: var(--radius-sm);
}

.post-thumbnail {
    margin-bottom: 32px;
}

.post-thumbnail img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
}

.entry-content {
    line-height: 1.9;
    font-size: 17px;
    color: var(--text-dark);
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.entry-content p {
    margin-bottom: 24px;
}

.entry-content h2,
.entry-content h3,
.entry-content h4 {
    margin-top: 40px;
    margin-bottom: 20px;
    color: var(--secondary-color);
    font-weight: 700;
}

.entry-content h2 {
    font-size: 32px;
    padding-bottom: 12px;
    border-bottom: 3px solid var(--primary-color);
    margin-top: 48px;
}

.entry-content h3 {
    font-size: 26px;
}

.entry-content ul,
.entry-content ol {
    margin-bottom: 24px;
    padding-left: 32px;
}

.entry-content li {
    margin-bottom: 12px;
}

.entry-content a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    border-bottom: 2px solid transparent;
    transition: var(--transition);
}

.entry-content a:hover {
    color: var(--primary-dark);
    border-bottom-color: var(--primary-dark);
}

/* Form Styling */
.entry-content input[type="text"],
.entry-content input[type="email"],
.entry-content textarea,
.entry-content select {
    width: 100%;
    max-width: 500px;
    padding: 12px 16px;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-size: 15px;
    font-family: inherit;
    transition: var(--transition);
    margin-bottom: 20px;
}

.entry-content input[type="text"]:focus,
.entry-content input[type="email"]:focus,
.entry-content textarea:focus,
.entry-content select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(72, 169, 166, 0.1);
}

.entry-content textarea {
    min-height: 150px;
    resize: vertical;
}

.entry-content input[type="submit"],
.entry-content button[type="submit"] {
    background: var(--primary-color);
    color: var(--white);
    padding: 14px 32px;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.entry-content input[type="submit"]:hover,
.entry-content button[type="submit"]:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.entry-footer {
    margin-top: 40px;
    padding-top: 24px;
    border-top: 2px solid var(--border-color);
}

.tags-links {
    margin-bottom: 16px;
}

.tags-links a {
    display: inline-block;
    padding: 6px 12px;
    background: var(--light-bg);
    color: var(--text-dark);
    text-decoration: none;
    border-radius: var(--radius-sm);
    margin: 4px;
    font-size: 14px;
    transition: var(--transition);
}

.tags-links a:hover {
    background: var(--primary-color);
    color: var(--white);
}

/* Archive & Blog List */
.page-header {
    margin-bottom: 40px;
    text-align: center;
    padding: 0;
    border: none;
}

.page-title {
    font-size: 32px;
    font-weight: 800;
    color: var(--secondary-color);
    margin: 0 0 32px 0;
    text-align: center;
    position: relative;
    padding-bottom: 16px;
}

.page-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--primary-color);
    border-radius: 2px;
}

.archive-description {
    margin-top: -16px;
    margin-bottom: 24px;
    color: var(--text-light);
    font-size: 15px;
    line-height: 1.6;
    text-align: center;
}

.posts-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
}

.post-summary {
    background: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.post-summary:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.post-summary .post-thumbnail {
    position: relative;
    overflow: hidden;
    height: 200px;
    background: var(--light-bg);
}

.post-summary .post-thumbnail a {
    display: block;
    height: 100%;
}

.post-summary .post-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.post-summary:hover .post-thumbnail img {
    transform: scale(1.1);
}

.post-summary .post-content {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.post-summary .entry-title {
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 12px 0;
    line-height: 1.4;
}

.post-summary .entry-title a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: var(--transition);
}

.post-summary .entry-title a:hover {
    color: var(--primary-color);
}

.post-summary .entry-meta {
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 12px;
}

.entry-summary {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 16px;
    flex: 1;
}

.read-more {
    display: inline-flex;
    align-items: center;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.read-more:hover {
    color: var(--primary-dark);
    transform: translateX(4px);
}

/* Pagination */
.pagination {
    margin-top: 60px;
    text-align: center;
}

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

.page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    padding: 0 16px;
    background: var(--white);
    color: var(--text-dark);
    text-decoration: none;
    border-radius: var(--radius-md);
    border: 2px solid var(--border-color);
    transition: var(--transition);
    font-weight: 600;
    font-size: 15px;
}

.page-numbers:hover {
    background: var(--light-bg);
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
}

.page-numbers.current {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-md);
}

.page-numbers.dots {
    border: none;
    background: transparent;
    cursor: default;
}

.page-numbers.dots:hover {
    transform: none;
    background: transparent;
    border: none;
}

.page-numbers.prev,
.page-numbers.next {
    font-weight: 700;
    padding: 0 20px;
}

/* Post Navigation */
.post-navigation {
    margin-top: 48px;
    padding: 24px 0;
    border-top: 2px solid var(--border-color);
}

.nav-links {
    display: flex;
    justify-content: space-between;
    gap: 24px;
}

.nav-previous,
.nav-next {
    flex: 1;
}

.nav-previous a,
.nav-next a {
    display: block;
    padding: 16px;
    background: var(--light-bg);
    border-radius: var(--radius-sm);
    text-decoration: none;
    color: var(--text-dark);
    transition: var(--transition);
}

.nav-previous a:hover,
.nav-next a:hover {
    background: var(--primary-color);
    color: var(--white);
}

.nav-subtitle {
    display: block;
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 4px;
}

.nav-title {
    display: block;
    font-weight: 600;
}

/* ===========================
   Enhanced Single Post Title
   =========================== */
.single .entry-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--white);
    padding: 60px 40px;
    border-radius: var(--radius-lg);
    margin-bottom: 32px;
    box-shadow: var(--shadow-lg);
    text-align: center;
}

.single .entry-title {
    font-size: 42px;
    font-weight: 800;
    line-height: 1.3;
    margin: 0 0 20px 0;
    color: var(--white);
    border: none;
    padding: 0;
}

.single .entry-meta {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    font-size: 15px;
    color: rgba(255, 255, 255, 0.9);
}

.single .entry-meta span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.single .entry-meta a {
    color: var(--white);
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.5);
    transition: var(--transition);
}

.single .entry-meta a:hover {
    border-bottom-color: var(--white);
}

/* ===========================
   Related Posts Section
   =========================== */
.related-posts {
    margin: 60px 0 48px;
    padding: 48px;
    background: var(--light-bg);
    border-radius: var(--radius-lg);
    border-top: 4px solid var(--primary-color);
}

.related-posts-title {
    font-size: 32px;
    font-weight: 800;
    color: var(--secondary-color);
    margin: 0 0 32px 0;
    text-align: center;
    position: relative;
    padding-bottom: 16px;
}

.related-posts-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--primary-color);
    border-radius: 2px;
}

.related-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
}

.related-post-card {
    background: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.related-post-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.related-post-thumbnail {
    position: relative;
    overflow: hidden;
    height: 200px;
    background: var(--light-bg);
}

.related-post-thumbnail a {
    display: block;
    height: 100%;
}

.related-post-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.related-post-card:hover .related-post-thumbnail img {
    transform: scale(1.1);
}

.related-post-content {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.related-post-title {
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 12px 0;
    line-height: 1.4;
}

.related-post-title a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: var(--transition);
}

.related-post-title a:hover {
    color: var(--primary-color);
}

.related-post-meta {
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 12px;
}

.related-post-excerpt {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 16px;
    flex: 1;
}

.related-post-link {
    display: inline-flex;
    align-items: center;
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
}

.related-post-link:hover {
    color: var(--primary-dark);
    transform: translateX(4px);
}

/* ===========================
   Comments Section Styling
   =========================== */
.comments-area {
    margin-top: 60px;
    padding: 48px;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.comments-title {
    font-size: 32px;
    font-weight: 800;
    color: var(--secondary-color);
    margin: 0 0 32px 0;
    padding-bottom: 16px;
    border-bottom: 3px solid var(--primary-color);
}

.comment-list {
    list-style: none;
    padding: 0;
    margin: 0 0 48px 0;
}

.comment {
    margin-bottom: 32px;
    padding: 24px;
    background: var(--light-bg);
    border-radius: var(--radius-md);
    border-left: 4px solid var(--primary-color);
}

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

.comment .children .comment {
    background: var(--white);
    border-left-color: var(--text-light);
}

.comment-author {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.comment-author .avatar {
    border-radius: 50%;
    border: 3px solid var(--white);
    box-shadow: var(--shadow-sm);
}

.comment-author .fn {
    font-size: 18px;
    font-weight: 700;
    color: var(--secondary-color);
    font-style: normal;
}

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

.comment-metadata {
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 16px;
}

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

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

.comment-content {
    color: var(--text-dark);
    line-height: 1.7;
    margin-bottom: 16px;
}

.comment-content p {
    margin: 0 0 12px 0;
}

.comment-content p:last-child {
    margin-bottom: 0;
}

.reply {
    margin-top: 12px;
}

.reply a,
.comment-reply-link {
    display: inline-block;
    padding: 8px 20px;
    background: var(--primary-color);
    color: var(--white);
    text-decoration: none;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 600;
    transition: var(--transition);
}

.reply a:hover,
.comment-reply-link:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

/* Comment Form */
.comment-respond {
    margin-top: 48px;
    padding: 40px;
    background: var(--light-bg);
    border-radius: var(--radius-md);
}

.comment-reply-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--secondary-color);
    margin: 0 0 24px 0;
}

.comment-reply-title small {
    font-size: 14px;
    font-weight: 400;
    margin-left: 12px;
}

.comment-reply-title small a {
    color: var(--primary-color);
    text-decoration: none;
}

.comment-form {
    display: grid;
    gap: 20px;
}

.comment-form-comment {
    grid-column: 1 / -1;
}

.comment-form label {
    display: block;
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 8px;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-size: 15px;
    font-family: inherit;
    transition: var(--transition);
    background: var(--white);
}

.comment-form input[type="text"]:focus,
.comment-form input[type="email"]:focus,
.comment-form input[type="url"]:focus,
.comment-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
}

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

.comment-form-cookies-consent {
    display: flex;
    align-items: center;
    gap: 8px;
}

.comment-form-cookies-consent input[type="checkbox"] {
    width: auto;
    margin: 0;
}

.form-submit {
    grid-column: 1 / -1;
    margin: 0;
}

.comment-form input[type="submit"],
.form-submit .submit {
    background: var(--primary-color);
    color: var(--white);
    padding: 14px 40px;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.comment-form input[type="submit"]:hover,
.form-submit .submit:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.comment-notes,
.comment-form-comment label,
.form-allowed-tags {
    font-size: 14px;
    color: var(--text-light);
}

/* ===========================
   Mobile Responsive for Archives
   =========================== */
@media (max-width: 768px) {
    .posts-list {
        grid-template-columns: 1fr;
    }

    .post-summary .post-thumbnail {
        height: 180px;
    }

    .post-summary .post-content {
        padding: 20px;
    }

    .post-summary .entry-title {
        font-size: 18px;
    }

    .page-title {
        font-size: 26px;
    }
}

/* No Results */
.no-results {
    text-align: center;
    padding: 80px 24px;
}

.no-results h1 {
    font-size: 32px;
    color: var(--secondary-color);
    margin-bottom: 16px;
}

/* Responsive for Blog/Pages */
@media (max-width: 768px) {
    .content-area {
        padding: 32px 0;
    }

    .entry-title {
        font-size: 28px;
    }

    .post-summary {
        flex-direction: column;
    }

    .post-summary .post-thumbnail {
        flex: none;
        width: 100%;
    }

    .post-summary .post-thumbnail img {
        height: 200px;
    }

    .nav-links {
        flex-direction: column;
    }
}

/* ===========================
   Footer Styles
   =========================== */
.site-footer {
    margin-top: 0;
    background: var(--light-bg);
}

/* Footer Widgets */
.footer-widgets {
    background: var(--white);
    color: var(--text-dark);
    padding: 48px 0 32px;
    border-top: 4px solid var(--primary-color);
    box-shadow: 0 -4px 12px rgba(0,0,0,0.05);
}

.footer-widget-area {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.footer-column {
    padding: 0;
}

.footer-widget-title,
.footer-widget h3 {
    color: var(--secondary-color);
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 3px solid var(--primary-color);
    display: inline-block;
}

.footer-widget p {
    color: var(--text-light);
    line-height: 1.8;
    margin: 12px 0;
}

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

.footer-widget ul li {
    margin: 10px 0;
}

.footer-widget ul li a {
    color: var(--text-light);
    text-decoration: none;
    transition: var(--transition);
    display: inline-block;
    font-weight: 500;
}

.footer-widget ul li a:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}

/* Footer Social Links */
.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 16px;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--light-bg);
    border-radius: 50%;
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
    font-size: 18px;
    border: 2px solid var(--primary-color);
}

.social-link:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-3px);
}

/* Newsletter Form */
.footer-newsletter {
    display: flex;
    gap: 8px;
    margin-top: 16px;
}

.newsletter-input {
    flex: 1;
    padding: 12px 16px;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-sm);
    background: var(--light-bg);
    color: var(--text-dark);
    font-size: 14px;
}

.newsletter-input::placeholder {
    color: var(--text-light);
}

.newsletter-input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.newsletter-btn {
    padding: 12px 24px;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: var(--radius-sm);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.newsletter-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Footer Bottom / Site Info */
.site-info {
    background: var(--white) !important;
    padding: 0 !important;
    text-align: center !important;
}

/* Footer Navigation Bar */
.footer-navigation {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%) !important;
    background: linear-gradient(135deg, #0066cc 0%, #0052a3 100%) !important;
    border-bottom: 3px solid var(--primary-dark) !important;
    border-bottom: 3px solid #0052a3 !important;
    padding: 0 !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1) !important;
}

.footer-navigation ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    flex-wrap: wrap !important;
}

.footer-navigation li {
    margin: 0 !important;
    position: relative !important;
}

.footer-navigation a {
    display: block !important;
    padding: 18px 32px !important;
    color: #ffffff !important;
    text-decoration: none !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    font-size: 14px !important;
    letter-spacing: 1px !important;
    transition: all 0.3s ease !important;
    position: relative !important;
}

.footer-navigation a::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: 0 !important;
    height: 3px !important;
    background: #ffffff !important;
    transition: all 0.3s ease !important;
}

.footer-navigation a:hover::before,
.footer-navigation .current-menu-item a::before,
.footer-navigation .current_page_item a::before {
    width: 80% !important;
}

.footer-navigation a:hover,
.footer-navigation .current-menu-item a,
.footer-navigation .current_page_item a {
    background-color: rgba(255,255,255,0.2) !important;
}

/* Copyright Section */
.site-info p {
    margin: 0 !important;
    padding: 24px 0 !important;
    color: #666666 !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    background: #f8f9fa !important;
    border-top: 1px solid #e0e0e0 !important;
}

/* Legacy footer bottom styles */
.footer-bottom {
    background: #1a252f;
    padding: 24px 0;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-bottom p {
    margin: 0;
    color: #95a5a6;
    font-size: 14px;
}

.footer-powered {
    color: #bdc3c7;
}

.footer-powered strong {
    color: var(--primary-color);
}

/* ===========================
   Responsive Design
   =========================== */
@media (max-width: 768px) {
    /* Mobile Menu Toggle Button */
    .mobile-menu-toggle {
        display: block;
        right: 8px;
        padding: 10px;
    }

    .hamburger-icon {
        width: 26px;
        height: 18px;
    }

    /* Mobile navigation positioning */
    .main-navigation {
        position: relative;
    }

    .main-navigation .container {
        position: relative;
    }

    /* Hide menu by default on mobile */
    .nav-menu,
    #primary-menu,
    .main-navigation ul {
        display: none;
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        background: var(--primary-dark);
        box-shadow: 0 8px 16px rgba(0,0,0,0.2);
        z-index: 999;
        margin: 0;
        padding: 0;
    }

    /* Show menu when active */
    .nav-menu.active,
    #primary-menu.active,
    .main-navigation ul.active {
        display: flex !important;
    }

    .main-navigation li {
        width: 100%;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }

    .main-navigation li:last-child {
        border-bottom: none;
    }

    .main-navigation a {
        padding: 16px 24px;
        text-align: left;
        display: block;
    }

    .main-navigation a::before {
        display: none;
    }

    /* Header adjustments */
    .site-branding {
        padding: 20px 0 16px;
    }

    .site-title {
        font-size: 24px;
    }

    .site-description {
        font-size: 13px;
    }

    .custom-logo {
        max-height: 60px;
    }

    /* Top notification bar */
    .top-notification-bar {
        padding: 10px 0;
    }

    .top-notification-bar p {
        font-size: 12px;
    }
    
    .page-hero h1 {
        font-size: 32px;
    }
    
    .page-hero {
        padding: 40px 0;
    }
    
    .page-title {
        font-size: 28px;
    }
    
    .proscores-section {
        padding: 20px;
    }
    
    .proscores-section h2 {
        font-size: 22px;
    }
    
    table.proscores-table {
        font-size: 14px;
    }
    
    table.proscores-table th,
    table.proscores-table td {
        padding: 10px;
    }
    
    .footer-widget-area {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-navigation ul {
        flex-direction: column;
        width: 100%;
    }

    .footer-navigation li {
        width: 100%;
    }

    .footer-navigation a {
        padding: 14px 24px;
        text-align: center;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }

    .footer-columns {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .site-title {
        font-size: 22px;
    }
    
    .main-navigation a {
        padding: 12px 16px;
        font-size: 12px;
    }
    
    .page-hero h1 {
        font-size: 26px;
    }
    
    .page-hero p {
        font-size: 16px;
    }
}

/* ===========================
   Utility Classes
   =========================== */
.text-center {
    text-align: center;
}

.mt-20 {
    margin-top: 20px;
}

.mb-20 {
    margin-bottom: 20px;
}

.mb-40 {
    margin-bottom: 40px;
}

.hidden {
    display: none !important;
}

/* Accessibility */
.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
}
