﻿/**
 * Match Details Template Styles - Basic Layout
 * 
 * Essential styles for match detail pages using CSS variables and shared components
 * 
 * RESPONSIVE BREAKPOINTS: Uses standardized values from breakpoints.css
 * - Tablet and smaller: max-width: 1024px
 * - Mobile and smaller: max-width: 768px
 * - Small mobile only: max-width: 480px
 * 
 * @package BTFC_Stats
 */

/* ============================================================================
   SECTION 1: BASE CONTAINER & GAME INFO
   ============================================================================
   Description: Main container, game info section, title, and basic layout styles
   - Main match container with responsive max-width
   - Game info section with enhanced styling
   - Match title and subtitle typography
   - Hero section with split layout and team display
   - Result badges with semantic color coding
   - Match meta information display
   - Back navigation links
   ============================================================================ */

.btfc-match-premium {
    max-width: var(--container-width-xl);
    margin: 0 auto;
    font-family: var(--font-body);
    color: var(--color-text-primary);
    background: transparent;
    min-height: 100vh;
}

/* Game Info Section */
.btfc-game-info-section {
    background: transparent;
    border: none;
    border-radius: var(--border-radius-lg);
    margin: var(--space-5);
    padding: var(--space-2) var(--space-8);
    box-shadow: none;
}

.btfc-game-title {
    font-size: var(--font-size-3xl);
    font-weight: var(--font-weight-extrabold);
    color: var(--color-text-primary);
    margin: 0 0 var(--space-4) 0;
    text-align: center;
    line-height: var(--line-height-tight);
}

.btfc-game-subtitle {
    font-size: var(--font-size-md);
    color: var(--color-text-primary);
    margin: 0 0 var(--space-9) 0;
    text-align: center;
    font-weight: var(--font-weight-bold);
}

/* Match Hero Section */
.btfc-match-hero {
    display: flex;
    height: 400px;
    margin: var(--space-8) 0;
    border-radius: var(--border-radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-2xl);
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
}

.btfc-match-hero-left {
    flex: 1;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-8) var(--space-10);
}

.btfc-match-hero-right {
    flex: 1;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.btfc-match-hero-content {
    text-align: left;
    color: var(--color-white);
    max-width: 500px;
    width: 100%;
}

.btfc-hero-badges-row {
    display: flex;
    gap: var(--gap-sm);
    margin-bottom: var(--space-5);
    flex-wrap: wrap;
}

.btfc-match-type-badge {
    display: inline-block;
    background: var(--color-primary);
    color: var(--color-white);
    padding: var(--space-1) var(--space-3);
    border-radius: var(--border-radius-full);
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-semibold);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 1px solid var(--color-primary);
    box-shadow: var(--shadow-md);
    transition: var(--transition-base);
}

.btfc-match-type-badge:hover {
    background: var(--color-primary-dark);
    border-color: var(--color-primary-dark);
    transform: translateY(-1px);
    box-shadow: var(--shadow-lg);
}

.btfc-hero-team {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(var(--color-primary-rgb), 0.4);
    padding: var(--space-4) var(--space-6);
    border-radius: var(--border-radius-lg);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(var(--color-primary-rgb), 0.5);
    box-shadow: var(--shadow-xl);
    transition: var(--transition-fast);
}

.btfc-hero-team:hover {
    transform: translateY(-2px);
    background: rgba(var(--color-primary-rgb), 0.6);
    box-shadow: var(--shadow-2xl);
}

.btfc-hero-team-name {
    font-size: var(--font-size-md);
    font-weight: var(--font-weight-bold);
    color: var(--color-white);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    flex: 1;
    text-align: left;
    margin: 0 var(--space-5) 0 0;
}

.btfc-hero-score {
    font-size: var(--font-size-4xl);
    font-weight: var(--font-weight-black);
    color: var(--color-primary);
    background: var(--color-overlay-light);
    width: 70px;
    height: 70px;
    border-radius: var(--border-radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-2xl);
}

.btfc-hero-club-badge {
    width: 55px;
    height: 55px;
    object-fit: contain;
    border-radius: 0;
    background: transparent;
    padding: 0;
    box-shadow: none;
    border: none;
}

.btfc-hero-badge-placeholder {
    width: 55px;
    height: 55px;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    color: var(--color-white);
    border-radius: var(--border-radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--font-size-xs);
    font-weight: var(--font-weight-bold);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: var(--shadow-xl);
}

/* Enhanced Result Badge */
.btfc-result-badge {
    display: block;
    padding: var(--space-3) var(--space-6);
    border-radius: var(--border-radius-full);
    font-weight: var(--font-weight-bold);
    font-size: var(--font-size-md);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: var(--space-5) auto;
    text-align: center;
    box-shadow: var(--shadow-lg);
    border: 2px solid transparent;
    width: fit-content;
    max-width: 300px;
}

.btfc-result-badge.win {
    background: linear-gradient(135deg, var(--color-success) 0%, var(--color-success-light) 100%);
    color: var(--color-white);
    border-color: var(--color-success-dark);
}

.btfc-result-badge.loss {
    background: linear-gradient(135deg, var(--color-error) 0%, var(--color-warning) 100%);
    color: var(--color-white);
    border-color: var(--color-error-dark);
}

.btfc-result-badge.draw {
    background: linear-gradient(135deg, var(--color-gold) 0%, var(--color-warning) 100%);
    color: var(--color-text-primary);
    border-color: var(--color-gold-dark);
}

.btfc-result-badge.progress {
    background: linear-gradient(135deg, var(--color-info) 0%, var(--color-accent) 100%);
    color: var(--color-white);
    border-color: var(--color-info-dark);
}

/* Enhanced Match Meta */
.btfc-match-meta {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--gap-md);
    margin-top: var(--space-8);
    padding: var(--space-6);
    background: var(--color-bg-alt);
    border-radius: var(--border-radius-lg);
    border: 1px solid var(--color-border);
}

.btfc-meta-item {
    text-align: center;
    padding: var(--space-4);
    background: var(--color-white);
    border-radius: var(--border-radius-md);
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-base);
}

.btfc-meta-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btfc-meta-label {
    display: block;
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-bold);
    color: var(--color-text-primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: var(--space-2);
}

.btfc-meta-value {
    display: block;
    font-size: var(--font-size-md);
    font-weight: var(--font-weight-bold);
    color: var(--color-primary);
}

/* Back Links */
.btfc-match-back-link {
    margin-bottom: var(--space-8);
}

.btfc-match-back-link a {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-2) var(--space-5);
    background: var(--color-gold);
    color: var(--color-text-primary);
    text-decoration: none;
    border-radius: var(--border-radius-full);
    font-weight: var(--font-weight-bold);
    font-size: var(--font-size-sm);
    border: 2px solid var(--color-primary);
    transition: var(--transition-base);
    box-shadow: var(--shadow-sm);
}

.btfc-match-back-link a:hover {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    color: var(--color-white);
    border-color: var(--color-primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* btfc-match-back-link-bottom styles removed - now using shared .btfc-btn styles */

/* NOTE: Previous Sections 2 & 3 removed (unused match header, score display, and timeline styles) */

/* NOTE: Previous Section 2 removed (unused match-card containers) - now using shared .btfc-box */

/* Section spacing */
.btfc-match-section {
    margin-bottom: var(--space-6);
}

/* btfc-no-content styles removed - now using shared .btfc-box styles */

/* ============================================================================
   SECTION 2: TEAM LINEUPS & SUBSTITUTIONS
   ============================================================================
   Description: Team lineup display with player information and substitutions
   - Lineup tab navigation system
   - Team lineup containers with player cards
   - Player information display (number, name, position)
   - Captain badges and profile links
   - Goal and card icons for players
   - Substitution timeline and events
   - Player position labels and styling
   - Responsive lineup layouts
   ============================================================================ */

/* Lineup tab styles removed - both lineups now display as standalone boxes */

/* Team lineup styles removed - now using shared .btfc-box styles */

.btfc-lineup-container,
.btfc-lineup-container-with-subs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--gap-lg);
    align-items: start;
}

.btfc-lineup-column {
    display: flex;
    flex-direction: column;
    gap: var(--gap-md);
}

.btfc-player-item {
    display: flex;
    align-items: center;
    gap: var(--gap-md);
    padding: var(--space-3);
    background: var(--color-white);
    border-radius: var(--border-radius-md);
    margin-bottom: var(--space-2);
    border: 2px solid var(--color-border);
    transition: var(--transition-base);
}

.btfc-player-item:hover {
    border-color: var(--color-gold);
    transform: translateX(5px);
}

.btfc-player-subbed-on {
    background: var(--color-success-light);
    border-color: var(--color-success);
}

.btfc-player-subbed-off {
    background: var(--color-error-light);
    border-color: var(--color-error);
}

.btfc-player-number {
    background: var(--color-primary);
    color: var(--color-white);
    width: 30px;
    height: 30px;
    border-radius: var(--border-radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: var(--font-weight-bold);
    font-size: var(--font-size-sm);
}

.btfc-player-name {
    flex: 1;
    font-weight: var(--font-weight-semibold);
    color: var(--color-primary);
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

/* Captain Badge */
.btfc-captain-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    background: linear-gradient(135deg, var(--color-gold) 0%, var(--color-warning) 100%);
    color: var(--color-primary);
    font-size: var(--font-size-xs);
    font-weight: var(--font-weight-bold);
    border-radius: var(--border-radius-full);
    margin-left: var(--space-1);
    box-shadow: var(--shadow-md);
    border: 2px solid var(--color-primary);
    transition: var(--transition-base);
}

.btfc-captain-badge:hover {
    transform: scale(1.15);
    box-shadow: var(--shadow-lg);
}

.btfc-profile-icon {
    font-size: 0.9em;
    opacity: 0.7;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btfc-profile-icon:hover {
    opacity: 1;
    color: var(--color-gold);
}

.btfc-player-position {
    font-size: var(--font-size-xs);
    color: var(--color-text-secondary);
    font-weight: var(--font-weight-medium);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Goal and Card Icons */
.btfc-player-goals,
.btfc-player-cards {
    display: flex;
    gap: 4px;
    margin-left: auto;
    align-items: center;
}

.btfc-goal-icon {
    font-size: 1.2em;
    filter: drop-shadow(0 1px 2px rgba(0,0,0,0.2));
    color: var(--color-success);
}

.btfc-card-icon {
    font-size: 1.1em;
    filter: drop-shadow(0 1px 2px rgba(0,0,0,0.2));
}

.btfc-card-yellow {
    color: var(--color-warning);
}

.btfc-card-red {
    color: var(--color-error);
}

/* Substitution Timeline */
.btfc-substitutions-timeline {
    margin-top: var(--space-5);
}

.btfc-substitutions-timeline h5 {
    color: var(--color-primary);
    margin-bottom: var(--space-3);
    font-size: var(--font-size-base);
    border-bottom: 2px solid var(--color-gold);
    padding-bottom: var(--space-1);
    text-align: center;
}

.btfc-substitution-event {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-3);
    background: var(--color-white);
    border-radius: var(--border-radius-md);
    margin-bottom: var(--space-2);
    border: 2px solid var(--color-border);
    transition: var(--transition-base);
    font-size: var(--font-size-sm);
}

.btfc-substitution-event:hover {
    border-color: var(--color-gold);
    transform: translateX(5px);
}

.btfc-substitution-minute {
    background: var(--color-gold);
    color: var(--color-primary);
    padding: var(--space-1) var(--space-2);
    border-radius: var(--border-radius-md);
    font-weight: var(--font-weight-bold);
    font-size: var(--font-size-xs);
    white-space: nowrap;
}

.btfc-substitution-players {
    flex: 1;
    color: var(--color-primary);
    font-weight: var(--font-weight-semibold);
}

.btfc-substitution-arrow {
    font-size: var(--font-size-md);
    font-weight: var(--font-weight-bold);
    margin-left: var(--space-2);
    padding: var(--space-1) var(--space-1);
    border-radius: var(--border-radius-sm);
    cursor: help;
}

.btfc-substitution-arrow.sub-off {
    color: var(--color-error);
    background: var(--color-error-lighter);
}

.btfc-substitution-arrow.sub-on {
    color: var(--color-success);
    background: var(--color-success-lighter);
}

/* ============================================================================
   SECTION 3: MATCH REPORT & CONTENT
   ============================================================================
   Description: Match report content and text styling
   - Match report typography and layout
   - Heading styles and hierarchy
   - Paragraph and list styling
   - Blockquote and link styling
   - Content formatting and spacing
   - Text alignment and readability
   ============================================================================ */

.btfc-match-report-content {
    line-height: var(--line-height-relaxed);
    color: var(--color-primary);
    font-size: var(--font-size-md);
    text-align: justify;
}

.btfc-match-report-content h1,
.btfc-match-report-content h2,
.btfc-match-report-content h3,
.btfc-match-report-content h4,
.btfc-match-report-content h5,
.btfc-match-report-content h6 {
    color: var(--color-primary);
    margin-top: var(--space-6);
    margin-bottom: var(--space-4);
    font-weight: var(--font-weight-bold);
}

.btfc-match-report-content h1 {
    font-size: var(--font-size-2xl);
    border-bottom: 3px solid var(--color-gold);
    padding-bottom: var(--space-2);
}

.btfc-match-report-content h2 {
    font-size: var(--font-size-xl);
    border-bottom: 2px solid var(--color-gold);
    padding-bottom: var(--space-2);
}

.btfc-match-report-content h3 {
    font-size: var(--font-size-lg);
}

.btfc-match-report-content p {
    margin-bottom: var(--space-4);
    text-align: justify;
}

.btfc-match-report-content ul,
.btfc-match-report-content ol {
    margin: var(--space-4) 0;
    padding-left: var(--space-6);
}

.btfc-match-report-content li {
    margin-bottom: var(--space-2);
    line-height: var(--line-height-normal);
}

.btfc-match-report-content strong,
.btfc-match-report-content b {
    color: var(--color-primary);
    font-weight: var(--font-weight-bold);
}

.btfc-match-report-content em,
.btfc-match-report-content i {
    color: var(--color-text-secondary);
    font-style: italic;
}

.btfc-match-report-content blockquote {
    background: var(--color-bg-alt);
    border-left: 4px solid var(--color-gold);
    padding: var(--space-5);
    margin: var(--space-5) 0;
    border-radius: var(--border-radius-md);
    font-style: italic;
    color: var(--color-primary);
}

.btfc-match-report-content a {
    color: var(--color-gold);
    text-decoration: none;
    border-bottom: 1px solid var(--color-gold);
    transition: var(--transition-base);
}

.btfc-match-report-content a:hover {
    color: var(--color-primary);
    border-bottom-color: var(--color-primary);
}

/* ============================================================================
   SECTION 4: ADDITIONAL COMPONENTS
   ============================================================================
   Description: Additional UI components for match details
   - Video items and embeds
   - Hero image overlays
   - Final score displays
   - Mobile-specific goal/card displays
   ============================================================================ */

/* Video Items */
.btfc-video-item {
    margin-bottom: var(--space-8);
    background: var(--color-white);
    border-radius: var(--border-radius-md);
    padding: var(--space-5);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--color-border);
}

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

.btfc-video-item h4 {
    color: var(--color-primary);
    font-size: var(--font-size-md);
    font-weight: var(--font-weight-semibold);
    margin: 0 0 var(--space-4) 0;
    padding-bottom: var(--space-2);
    border-bottom: 2px solid var(--color-gold);
    display: inline-block;
}

.btfc-video-embed {
    margin-bottom: var(--space-5);
}

/* Match Hero Image Overlay */
.btfc-match-hero-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(var(--color-primary-rgb), 0.6) 0%, rgba(var(--color-primary-dark-rgb), 0.4) 100%);
    z-index: 1;
    pointer-events: none;
}

/* Final Score Display */
.btfc-final-score-display {
    text-align: center;
    margin: var(--space-4) 0;
}

.btfc-final-score {
    display: inline-block;
    background: rgba(var(--color-gold-rgb), 0.2);
    color: var(--color-gold);
    padding: var(--space-2) var(--space-6);
    border-radius: var(--border-radius-full);
    font-size: var(--font-size-md);
    font-weight: var(--font-weight-extrabold);
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: var(--shadow-lg);
    border: 2px solid rgba(var(--color-gold-rgb), 0.4);
    backdrop-filter: blur(10px);
}

/* Mobile Goals and Cards Inline */
.btfc-mobile-goals-cards-inline {
    margin-top: var(--space-5);
    padding: var(--space-4) 0;
}

.btfc-mobile-goals-cards-inline h4 {
    color: var(--color-primary);
    margin-bottom: var(--space-4);
    font-size: var(--font-size-md);
    text-align: center;
    border-bottom: 2px solid var(--color-gold);
    padding-bottom: var(--space-2);
}

.btfc-mobile-goals-cards-inline .btfc-mobile-goals-section,
.btfc-mobile-goals-cards-inline .btfc-mobile-cards-section {
    margin-bottom: var(--space-4);
}

.btfc-mobile-goals-cards-inline .btfc-mobile-goals-section h5,
.btfc-mobile-goals-cards-inline .btfc-mobile-cards-section h5 {
    color: var(--color-primary);
    margin-bottom: var(--space-2);
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-semibold);
}

.btfc-mobile-goals-cards-inline .btfc-mobile-goal-item,
.btfc-mobile-goals-cards-inline .btfc-mobile-card-item {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-3);
    background: var(--color-white);
    border-radius: var(--border-radius-md);
    margin-bottom: var(--space-2);
    border: 2px solid var(--color-border);
    transition: var(--transition-base);
}

.btfc-mobile-goals-cards-inline .btfc-mobile-goal-item:hover,
.btfc-mobile-goals-cards-inline .btfc-mobile-card-item:hover {
    border-color: var(--color-gold);
    transform: translateX(5px);
}

.btfc-mobile-goals-cards-inline .btfc-mobile-goal-icon,
.btfc-mobile-goals-cards-inline .btfc-mobile-card-icon {
    font-size: var(--font-size-md);
}

.btfc-mobile-goals-cards-inline .btfc-mobile-goal-details,
.btfc-mobile-goals-cards-inline .btfc-mobile-card-details {
    flex: 1;
}

.btfc-mobile-goals-cards-inline .btfc-mobile-goal-player,
.btfc-mobile-goals-cards-inline .btfc-mobile-card-player {
    font-weight: var(--font-weight-semibold);
    color: var(--color-primary);
    font-size: var(--font-size-sm);
}

.btfc-mobile-goals-cards-inline .btfc-mobile-goal-minute,
.btfc-mobile-goals-cards-inline .btfc-mobile-card-minute {
    color: var(--color-text-secondary);
    font-size: var(--font-size-xs);
}


/* ============================================================================
   SECTION 5: RESPONSIVE DESIGN
   ============================================================================
   Description: Responsive adjustments for different screen sizes
   
   STANDARD BREAKPOINTS (from breakpoints.css):
   - Tablet and smaller: @media (max-width: 1024px)
   - Mobile and smaller: @media (max-width: 768px)
   - Small mobile only: @media (max-width: 480px)
   
   Touch-optimized spacing, sizing, and responsive typography scaling
   ============================================================================ */

/* Tablet and smaller (1024px and below) */
@media (max-width: 1024px) {
    /* Lineup tab styles removed */
    
    .btfc-lineup-container,
    .btfc-lineup-container-with-subs {
        gap: var(--gap-md);
    }
    
    .btfc-player-item {
        padding: var(--space-2);
        gap: var(--gap-sm);
    }
}

/* Mobile and smaller (768px and below) */
@media (max-width: 768px) {
    .btfc-lineup-container,
    .btfc-lineup-container-with-subs {
        grid-template-columns: 1fr;
        gap: var(--gap-lg);
    }
    
    /* Lineup tab styles removed */
    
    .btfc-player-item {
        padding: var(--space-1) var(--space-2);
        gap: var(--space-2);
        margin-bottom: var(--space-1);
    }
    
    .btfc-player-number {
        width: 28px;
        height: 28px;
        font-size: var(--font-size-xs);
    }
    
    .btfc-player-name {
        min-width: 80px;
        max-width: 100px;
        font-size: var(--font-size-sm);
    }
    
    .btfc-profile-icon {
        font-size: var(--font-size-xs);
    }
    
    .btfc-player-position {
        min-width: 60px;
        font-size: var(--font-size-2xs);
    }
}

/* Small mobile only (480px and below) */
@media (max-width: 480px) {
    .btfc-lineup-container,
    .btfc-lineup-container-with-subs {
        gap: var(--gap-md);
    }
    
    .btfc-player-goals,
    .btfc-player-cards,
    .btfc-substitution-arrow {
        display: none !important;
    }
    
    .btfc-profile-icon {
        display: inline-block !important;
        font-size: var(--font-size-xs);
        margin-right: var(--space-1);
    }
    
    .btfc-player-position {
        display: none !important;
    }
    
    /* Lineup tab styles removed */
    
    .btfc-player-item {
        padding: var(--space-1) var(--space-2);
        gap: var(--space-1);
        margin-bottom: var(--space-1);
        width: 100%;
        max-width: none;
        margin-left: 0;
        margin-right: 0;
    }
    
    .btfc-player-number {
        width: 24px;
        height: 24px;
        font-size: var(--font-size-2xs);
    }
    
    .btfc-player-name {
        min-width: 100px;
        max-width: none;
        flex: 1;
        font-size: var(--font-size-xs);
    }
}

/* ============================================================================
   SECTION 6: HERO AREA RESPONSIVE DESIGN
   ============================================================================
   Description: Responsive adjustments for match hero section
   - Tablet: Adjusted proportions for better content display
   - Mobile: Vertical stacking with optimized spacing
   - Small mobile: Compact layout with essential information only
   ============================================================================ */

/* Tablet and smaller (1024px and below) - Hero adjustments */
@media (max-width: 1024px) {
    .btfc-match-hero {
        height: 350px;
        margin: var(--space-6) 0;
    }
    
    .btfc-match-hero-left {
        flex: 1.2;
        padding: var(--space-6) var(--space-8);
    }
    
    .btfc-match-hero-right {
        flex: 0.8;
    }
    
    .btfc-hero-team {
        padding: var(--space-3) var(--space-4);
    }
    
    .btfc-hero-score {
        width: 60px;
        height: 60px;
        font-size: var(--font-size-3xl);
    }
}

/* Mobile and smaller (768px and below) - Hero vertical layout */
@media (max-width: 768px) {
    .btfc-match-hero {
        flex-direction: column;
        height: auto;
        min-height: 500px;
        margin: var(--space-4) 0;
    }
    
    .btfc-match-hero-left {
        flex: none;
        padding: var(--space-5) var(--space-4);
        min-height: 300px;
    }
    
    .btfc-match-hero-right {
        flex: none;
        height: 200px;
        order: -1; /* Image appears on top */
    }
    
    .btfc-hero-badges-row {
        justify-content: center;
        margin-bottom: var(--space-4);
    }
    
    .btfc-match-hero-score {
        flex-direction: column;
        gap: var(--space-3);
        align-items: center;
    }
    
    .btfc-hero-team {
        flex-direction: column;
        text-align: center;
        padding: var(--space-3);
        gap: var(--space-2);
    }
    
    .btfc-hero-team-name {
        font-size: var(--font-size-sm);
        margin: 0;
        order: 2;
    }
    
    .btfc-hero-score {
        width: 50px;
        height: 50px;
        font-size: var(--font-size-2xl);
        order: 3;
    }
    
    .btfc-hero-badge {
        order: 1;
        margin-bottom: var(--space-2);
    }
    
    .btfc-hero-club-badge {
        width: 45px;
        height: 45px;
    }
    
    .btfc-hero-badge-placeholder {
        width: 45px;
        height: 45px;
        font-size: var(--font-size-2xs);
    }
    
    .btfc-hero-match-details {
        text-align: center;
        margin-top: var(--space-4);
    }
}

/* Small mobile only (480px and below) - Compact hero */
@media (max-width: 480px) {
    .btfc-match-hero {
        min-height: 450px;
        margin: var(--space-3) 0;
    }
    
    .btfc-match-hero-left {
        padding: var(--space-4) var(--space-3);
        min-height: 250px;
    }
    
    .btfc-match-hero-right {
        height: 150px;
    }
    
    .btfc-hero-badges-row {
        flex-direction: column;
        gap: var(--space-2);
        margin-bottom: var(--space-3);
    }
    
    .btfc-match-type-badge {
        font-size: var(--font-size-xs);
        padding: var(--space-1) var(--space-2);
    }
    
    .btfc-hero-team {
        padding: var(--space-2);
        gap: var(--space-1);
    }
    
    .btfc-hero-team-name {
        font-size: var(--font-size-xs);
    }
    
    .btfc-hero-score {
        width: 40px;
        height: 40px;
        font-size: var(--font-size-xl);
    }
    
    .btfc-hero-club-badge {
        width: 35px;
        height: 35px;
    }
    
    .btfc-hero-badge-placeholder {
        width: 35px;
        height: 35px;
        font-size: var(--font-size-3xs);
    }
    
    .btfc-hero-match-details {
        font-size: var(--font-size-sm);
        margin-top: var(--space-3);
    }
}
