/*
Theme Name: Palace News Hub
Description: Professional football journalism blog theme in Crystal Palace colors (blue & red). Clean, modern news portal design.
Version: 3.0.0
Author: OpenClaw
Requires at least: 6.0
Tested up to: 6.9
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: palace-news-hub
*/

/* ===== CRYSTAL PALACE COLOR SYSTEM ===== */
:root {
    /* Crystal Palace Official Colors */
    --cp-blue: #1B458F;
    --cp-red: #A90533;
    --cp-blue-dark: #0f295a;
    --cp-red-dark: #8a0429;
    
    /* Neutrals */
    --white: #ffffff;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-500: #6b7280;
    --gray-700: #374151;
    --gray-900: #111827;
    --black: #000000;
    
    /* Typography */
    --font-heading: 'Georgia', serif;
    --font-body: 'Arial', sans-serif;
    
    /* Spacing */
    --container-max: 1200px;
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    
    /* Borders */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
}

/* ===== RESET & BASE ===== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--gray-50);
    color: var(--gray-900);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a {
    color: var(--cp-blue);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--cp-red);
}

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

ul, ol {
    list-style: none;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.3;
    color: var(--gray-900);
    margin-bottom: var(--spacing-sm);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: var(--spacing-md);
}

/* ===== LAYOUT ===== */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* ===== HEADER ===== */
.site-header {
    background: var(--white);
    border-bottom: 4px solid var(--cp-red);
    padding: var(--spacing-md) 0;
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-md);
}

.site-branding {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.site-title {
    font-size: 2rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: -0.02em;
    color: var(--cp-blue);
}

.site-title a {
    color: var(--cp-blue);
}

.site-title span {
    color: var(--cp-red);
}

.site-description {
    font-size: 0.875rem;
    color: var(--gray-500);
    margin-top: 0.25rem;
}

/* ===== NAVIGATION ===== */
.main-navigation {
    background: var(--cp-blue);
}

.main-navigation ul {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
}

.main-navigation li {
    position: relative;
}

.main-navigation a {
    display: block;
    padding: var(--spacing-sm) var(--spacing-md);
    color: var(--white);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.875rem;
    letter-spacing: 0.03em;
    transition: background-color 0.2s ease;
}

.main-navigation a:hover {
    background-color: var(--cp-red);
    color: var(--white);
}

.current-menu-item > a {
    background-color: var(--cp-red);
}

/* ===== BREAKING NEWS BAR ===== */
.breaking-news {
    background: var(--cp-red);
    color: var(--white);
    padding: var(--spacing-xs) 0;
    font-size: 0.875rem;
    font-weight: 600;
}

.breaking-news .container {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

.breaking-label {
    background: var(--white);
    color: var(--cp-red);
    padding: 0.25rem 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.05em;
    white-space: nowrap;
}

.breaking-content {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

/* ===== HERO SECTION ===== */
.hero-section {
    padding: var(--spacing-xl) 0;
    background: var(--white);
}

.hero-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: var(--spacing-lg);
}

.hero-main {
    position: relative;
}

.hero-image {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
    background: var(--gray-200);
}

.hero-content {
    padding: var(--spacing-lg) 0;
}

.hero-category {
    display: inline-block;
    background: var(--cp-red);
    color: var(--white);
    padding: 0.25rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: var(--spacing-sm);
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: var(--spacing-sm);
}

.hero-title a {
    color: var(--gray-900);
}

.hero-title a:hover {
    color: var(--cp-blue);
}

.hero-excerpt {
    font-size: 1.125rem;
    color: var(--gray-500);
    line-height: 1.7;
}

/* ===== HERO SIDEBAR ===== */
.hero-sidebar {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.hero-sidebar-item {
    display: flex;
    gap: var(--spacing-sm);
    padding: var(--spacing-sm);
    background: var(--gray-50);
    border-left: 3px solid var(--cp-blue);
    transition: all 0.2s ease;
}

.hero-sidebar-item:hover {
    background: var(--gray-100);
    border-left-color: var(--cp-red);
}

.hero-sidebar-image {
    width: 100px;
    height: 100px;
    object-fit: cover;
    flex-shrink: 0;
    background: var(--gray-200);
}

.hero-sidebar-content h3 {
    font-size: 1.125rem;
    margin-bottom: 0.25rem;
    line-height: 1.4;
}

.hero-sidebar-content h3 a {
    color: var(--gray-900);
}

.hero-sidebar-content h3 a:hover {
    color: var(--cp-red);
}

.hero-sidebar-meta {
    font-size: 0.75rem;
    color: var(--gray-500);
}

/* ===== MAIN CONTENT ===== */
.site-content {
    padding: var(--spacing-xl) 0;
}

.content-grid {
    display: grid;
    grid-template-columns: 3fr 1fr;
    gap: var(--spacing-xl);
}

/* ===== MAGAZINE LAYOUT ===== */
.magazine-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    grid-template-rows: auto auto;
    gap: var(--spacing-lg);
}

.magazine-main {
    grid-row: 1 / 3;
    position: relative;
}

.featured-post {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
    height: 600px;
}

.featured-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.featured-post:hover .featured-image {
    transform: scale(1.05);
}

.featured-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.7) 50%, rgba(0,0,0,0.2) 100%);
    padding: var(--spacing-xl);
    z-index: 1;
}

.featured-category {
    display: inline-block;
    background: var(--cp-red);
    color: var(--white);
    padding: 0.35rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: var(--spacing-sm);
}

.featured-title {
    font-size: 2.5rem;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: var(--spacing-sm);
    color: var(--white);
}

.featured-title a {
    color: var(--white);
}

.featured-title a:hover {
    color: var(--white);
    opacity: 0.9;
}

.featured-excerpt {
    font-size: 1.125rem;
    color: rgba(255,255,255,0.9);
    line-height: 1.7;
    margin-bottom: var(--spacing-sm);
}

.featured-meta {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    font-size: 0.875rem;
    color: rgba(255,255,255,0.8);
    font-weight: 500;
}

/* ===== SUBSIDIARY GRID (2x2) ===== */
.subsidiary-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-lg);
    align-content: start;
}

.sub-card {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
    aspect-ratio: 4/3;
    background: var(--white);
}

.sub-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.sub-card:hover .sub-card-image {
    transform: scale(1.08);
}

.sub-card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.6) 70%, transparent 100%);
    padding: var(--spacing-md);
    z-index: 1;
}

.sub-card-category {
    display: inline-block;
    background: var(--cp-blue);
    color: var(--white);
    padding: 0.25rem 0.65rem;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

.sub-card-title {
    font-size: 1.125rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 0.5rem;
    color: var(--white);
}

.sub-card-title a {
    color: var(--white);
}

.sub-card-title a:hover {
    color: var(--white);
    opacity: 0.9;
}

.sub-card-meta {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.8);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* ===== AD SPACE ===== */
.ad-sidebar {
    position: sticky;
    top: var(--spacing-lg);
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}

.ad-space {
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0;
    text-align: center;
    min-height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: transparent;
    font-size: 0;
}

.ad-label {
    font-size: 0.625rem;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--spacing-xs);
    text-align: center;
    display: block;
    width: 100%;
}

/* ===== SIDEBAR ===== */
.sidebar {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}

.widget {
    background: var(--white);
    padding: var(--spacing-md);
    border: 1px solid var(--gray-200);
}

.widget-title {
    font-size: 1.125rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    margin-bottom: var(--spacing-md);
    padding-bottom: var(--spacing-xs);
    border-bottom: 3px solid var(--cp-red);
}

.widget ul {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.widget li {
    display: flex;
    gap: var(--spacing-sm);
    align-items: flex-start;
}

.widget li::before {
    content: '';
    display: block;
    width: 6px;
    height: 6px;
    background: var(--cp-red);
    border-radius: 50%;
    margin-top: 0.5rem;
    flex-shrink: 0;
}

.widget a {
    color: var(--gray-700);
    font-weight: 500;
    line-height: 1.4;
}

.widget a:hover {
    color: var(--cp-red);
}

/* ===== SINGLE POST SIDEBAR AD ===== */
.sidebar .ad-label {
    text-align: center;
    font-size: 0.625rem;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0;
}
.sidebar .ad-banner {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 250px;
    background: var(--gray-50);
    border-radius: var(--radius-md);
    overflow: hidden;
}

/* ===== SINGLE POST ===== */
.single-post {
    background: var(--white);
    padding: var(--spacing-xl);
    border: 1px solid var(--gray-200);
}

.single-header {
    margin-bottom: var(--spacing-lg);
    padding-bottom: var(--spacing-lg);
    border-bottom: 1px solid var(--gray-200);
}

.single-title {
    font-size: 2.5rem;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: var(--spacing-sm);
}

.single-meta {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    font-size: 0.875rem;
    color: var(--gray-500);
}

.single-meta-item {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.single-featured-image {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
    margin-bottom: var(--spacing-lg);
    background: var(--gray-200);
}

.single-content {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--gray-700);
}

/* ===== IN-CONTENT ADS ===== */
.content-ad-wrapper {
    margin: var(--spacing-lg) 0;
    padding: var(--spacing-md);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.content-ad-wrapper .ad-label {
    font-size: 0.625rem;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--spacing-xs);
    text-align: center;
    display: block;
    width: 100%;
}

.content-ad-wrapper .ad-banner {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 300px;
    min-height: 250px;
    background: var(--gray-50);
    border-radius: var(--radius-md);
    overflow: hidden;
    max-width: 100%;
}

.single-content h2,
.single-content h3,
.single-content h4 {
    margin-top: var(--spacing-xl);
    margin-bottom: var(--spacing-md);
}

.single-content p {
    margin-bottom: var(--spacing-md);
}

.single-content a {
    color: var(--cp-blue);
    font-weight: 600;
    text-decoration: underline;
}

.single-content a:hover {
    color: var(--cp-red);
}

.single-content ul,
.single-content ol {
    margin-left: var(--spacing-md);
    margin-bottom: var(--spacing-md);
    list-style: disc;
}

.single-content li {
    margin-bottom: 0.5rem;
}

/* ===== STATIC PAGES ===== */
.page-template {
    background: var(--white);
    padding: var(--spacing-xl);
    border: 1px solid var(--gray-200);
}

.page-title {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: var(--spacing-lg);
    padding-bottom: var(--spacing-md);
    border-bottom: 4px solid var(--cp-red);
}

.page-content {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--gray-700);
}

/* ===== FOOTER ===== */
.site-footer {
    background: var(--cp-blue);
    color: var(--white);
    padding: var(--spacing-xl) 0 var(--spacing-lg);
    border-top: 4px solid var(--cp-red);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-lg);
}

.footer-column h3 {
    color: var(--white);
    font-size: 1.125rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    margin-bottom: var(--spacing-md);
}

.footer-column p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--gray-300);
}

.footer-column a {
    color: var(--gray-200);
    font-weight: 500;
}

.footer-column a:hover {
    color: var(--white);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.2);
    padding-top: var(--spacing-md);
    text-align: center;
    font-size: 0.875rem;
    color: var(--gray-300);
}

/* ===== PAGINATION ===== */
.pagination {
    display: flex;
    justify-content: center;
    gap: var(--spacing-xs);
    margin-top: var(--spacing-xl);
}

.pagination a,
.pagination span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 0.75rem;
    background: var(--white);
    border: 1px solid var(--gray-200);
    color: var(--gray-700);
    font-weight: 600;
    transition: all 0.2s ease;
}

.pagination a:hover {
    background: var(--cp-blue);
    border-color: var(--cp-blue);
    color: var(--white);
}

.pagination .current {
    background: var(--cp-red);
    border-color: var(--cp-red);
    color: var(--white);
}

/* ===== MENTOR LAYOUT (Featured + Grid 3x2) ===== */
.container-full {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* Hero Section */
.mentor-hero {
    margin-bottom: var(--spacing-xl);
}

.mentor-hero-post {
    position: relative;
    height: 600px;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    overflow: hidden;
}

.mentor-hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.mentor-hero-post:hover .mentor-hero-image {
    transform: scale(1.05);
}

.mentor-hero-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.7) 60%, rgba(0,0,0,0.3) 100%);
    padding: var(--spacing-xl);
    z-index: 1;
}

.mentor-hero-category {
    display: inline-block;
    background: var(--cp-red);
    color: var(--white);
    padding: 0.35rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: var(--spacing-sm);
}

.mentor-hero-title {
    font-size: 3rem;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: var(--spacing-sm);
    color: var(--white);
}

.mentor-hero-title a {
    color: var(--white);
}

.mentor-hero-title a:hover {
    opacity: 0.9;
}

.mentor-hero-excerpt {
    font-size: 1.25rem;
    color: rgba(255,255,255,0.95);
    line-height: 1.7;
    margin-bottom: var(--spacing-sm);
    max-width: 800px;
}

.mentor-hero-meta {
    display: flex;
    gap: var(--spacing-md);
    font-size: 0.95rem;
    color: rgba(255,255,255,0.85);
    font-weight: 500;
}

.mentor-hero-author::before {
    content: '✍️ ';
}

.mentor-hero-date::before {
    content: '📅 ';
}

/* Grid 3x2 Section */
.mentor-grid-section {
    margin-bottom: var(--spacing-xl);
}

.mentor-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-lg);
}

/* ===== MENTOR LAYOUT V2 - HERO + 2x3 GRID + SIDEBAR ===== */
.mentor-content-area {
    display: grid;
    grid-template-columns: 2.5fr 1fr;
    gap: var(--spacing-xl);
    margin-top: var(--spacing-xl);
}

.mentor-main-content {
    min-width: 0;
}

/* 2 Columns x 3 Rows = 6 Posts */
.mentor-grid-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-lg);
}

.mentor-list-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all 0.3s ease;
}

.mentor-list-card:hover {
    box-shadow: 0 10px 20px rgba(0,0,0,0.12);
    transform: translateY(-3px);
}

.mentor-list-link {
    display: block;
    color: inherit;
    text-decoration: none;
}

.mentor-list-image {
    width: 100%;
    aspect-ratio: 16/10;
    object-fit: cover;
    background: var(--gray-200);
    transition: transform 0.3s ease;
}

.mentor-list-card:hover .mentor-list-image {
    transform: scale(1.08);
}

.mentor-list-content {
    padding: var(--spacing-md);
}

.mentor-list-category {
    display: inline-block;
    background: var(--cp-blue);
    color: var(--white);
    padding: 0.25rem 0.65rem;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

.mentor-list-title {
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 0.5rem;
}

.mentor-list-card:hover .mentor-list-title {
    color: var(--cp-red);
}

.mentor-list-excerpt {
    font-size: 0.95rem;
    color: var(--gray-600);
    line-height: 1.6;
    margin-bottom: var(--spacing-sm);
}

.mentor-list-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: var(--gray-500);
    font-weight: 500;
    padding-top: var(--spacing-sm);
    border-top: 1px solid var(--gray-100);
}

/* Sidebar - ADS */
.mentor-sidebar {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
    position: sticky;
    top: var(--spacing-lg);
    align-self: start;
}

.mentor-sidebar .ad-label {
    text-align: center;
    font-size: 0.7rem;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0;
}

.ad-banner {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 300px;
    min-height: 250px;
    background: var(--gray-50);
    border-radius: var(--radius-md);
    padding: 0;
    overflow: hidden;
}

.ad-banner-sticky {
    min-height: 300px;
    background: var(--gray-50);
}

/* ===== RESPONSIVE FOR MENTOR LAYOUT ===== */
@media (max-width: 992px) {
    .mentor-content-area {
        grid-template-columns: 1fr;
    }

    .mentor-sidebar {
        position: static;
    }

    .mentor-grid-list {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .mentor-grid-list {
        grid-template-columns: 1fr;
    }

    .mentor-hero-post {
        height: 400px;
    }

    .mentor-hero-title {
        font-size: 1.75rem;
    }

    .mentor-hero-excerpt {
        font-size: 1rem;
    }
}

.mentor-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all 0.3s ease;
}

.mentor-card:hover {
    box-shadow: 0 12px 24px rgba(0,0,0,0.15);
    transform: translateY(-4px);
}

.mentor-card-image {
    width: 100%;
    aspect-ratio: 16/10;
    object-fit: cover;
    background: var(--gray-200);
    transition: transform 0.3s ease;
}

.mentor-card:hover .mentor-card-image {
    transform: scale(1.08);
}

.mentor-card-content {
    padding: var(--spacing-md);
}

.mentor-card-category {
    display: inline-block;
    background: var(--cp-blue);
    color: var(--white);
    padding: 0.25rem 0.65rem;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

.mentor-card-title {
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 0.5rem;
}

.mentor-card-title a {
    color: var(--gray-900);
}

.mentor-card-title a:hover {
    color: var(--cp-red);
}

.mentor-card-excerpt {
    font-size: 0.95rem;
    color: var(--gray-600);
    line-height: 1.6;
    margin-bottom: var(--spacing-sm);
}

.mentor-card-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: var(--gray-500);
    font-weight: 500;
    padding-top: var(--spacing-xs);
    border-top: 1px solid var(--gray-100);
}

/* Ads Section */
.mentor-ads-section {
    padding: var(--spacing-xl) 0;
    border-top: 2px solid var(--gray-200);
}

.mentor-ads-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--spacing-xl);
    flex-wrap: wrap;
}

.ad-label {
    width: 100%;
    text-align: center;
    font-size: 0.75rem;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--spacing-md);
}

.ad-banner {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 300px;
    min-height: 250px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
    .hero-grid {
        grid-template-columns: 1fr;
    }
    
    .content-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .news-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .site-title {
        font-size: 1.75rem;
    }
    
    .main-navigation ul {
        flex-direction: column;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .single-title,
    .page-title {
        font-size: 2rem;
    }
}

/* ===== MATCHES BANNER (Home Page) ===== */
.matches-banner {
    margin-top: var(--spacing-xl);
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    overflow: hidden;
}

.matches-banner-header {
    background: var(--cp-blue);
    padding: var(--spacing-md) var(--spacing-lg);
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

.matches-banner-title {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin: 0;
}

.matches-banner-subtitle {
    font-size: 0.85rem;
    color: var(--gray-300);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.matches-banner-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-md);
    padding: var(--spacing-lg);
}

.matches-loading {
    grid-column: 1 / -1;
    text-align: center;
    padding: var(--spacing-xl);
    color: var(--gray-500);
    font-weight: 500;
}

.match-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    padding: var(--spacing-md);
    transition: all 0.2s ease;
}

.match-card:hover {
    border-color: var(--cp-blue);
    box-shadow: 0 4px 12px rgba(27,69,143,0.12);
}

.match-card-home,
.match-card-away {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    flex: 1;
}

.match-team-logo {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.match-team-name {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--gray-900);
    text-align: center;
}

.match-difficulty {
    font-size: 0.65rem;
    font-weight: 700;
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--white);
}

.match-diff-1, .match-diff-2 { background: #2ecc71; }
.match-diff-3 { background: var(--gray-500); }
.match-diff-4, .match-diff-5 { background: var(--cp-red); }

.match-card-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.2rem;
    flex: 0.6;
}

.match-vs {
    font-size: 0.85rem;
    font-weight: 900;
    color: var(--cp-red);
    text-transform: uppercase;
}

.match-date {
    font-size: 0.8rem;
    color: var(--gray-700);
    font-weight: 600;
}

.match-time {
    font-size: 0.8rem;
    color: var(--gray-500);
    font-weight: 500;
}

@media (max-width: 768px) {
    .matches-banner-list {
        grid-template-columns: 1fr;
    }
}

/* ===== GENERIC PAGE COMPONENTS ===== */
.fpl-loading {
    text-align: center;
    padding: var(--spacing-xl);
    color: var(--gray-500);
}

.fpl-spinner {
    display: inline-block;
    width: 40px;
    height: 40px;
    border: 4px solid var(--gray-200);
    border-top-color: var(--cp-red);
    border-radius: 50%;
    animation: fpl-spin 0.8s linear infinite;
}

@keyframes fpl-spin {
    to { transform: rotate(360deg); }
}

.fpl-error {
    text-align: center;
    padding: var(--spacing-xl);
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
}

.fpl-error p {
    color: var(--gray-700);
    margin-bottom: var(--spacing-md);
}

.fpl-cta {
    display: inline-block;
    background: var(--cp-blue);
    color: var(--white);
    padding: 0.75rem 2rem;
    border-radius: var(--radius-sm);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.9rem;
    transition: background 0.2s ease;
    text-decoration: none;
    margin-top: var(--spacing-lg);
}

.fpl-cta:hover {
    background: var(--cp-red);
    color: var(--white);
}