/*
Theme Name: Garden Eagle
Theme URI: https://example.com/garden-eagle
Author: T.R.J
Author URI: https://gardenego.com
Description: A professional, dynamic theme for a football club.
Version: 1.1
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: garden-ego-fc-theme
*/

/* --- Imports & CSS Variables --- */

:root {
    --primary-color: #ab1e25;     
    --secondary-color: #00713c;   
	--green: #00713c;         
    --dark-color: #1a1a1a;
    --light-color: #f4f4f4;
    --white-color: #ffffff;
    --text-color: #333333;
    --border-color: #00713c;
	--background:#f3eed9;
	--tloblue:#dcf2ff;
	--blue:#3e81c3;
	--red:#ab1e25;
	--cream:#f3eed9;
	--cream75:#f3eed9BF;
	--cream50:#f3eed980;
	--cream25:#f3eed940;
    
    --font-heading: 'Oswald', sans-serif;
    --font-body: 'Roboto', sans-serif;
    
    --container-width: 1200px;
    --border-radius: 8px;
    --box-shadow: 0 10px 20px rgba(0,0,0,0.07);
    --transition: all 0.3s ease;
	
	--bg-cream: #f3eed9;
	--grid-line: #e6e0c6;
	--bg-card: #ffffff;
	--text-main: #2d2d2d;
	--text-muted: #595959;
	
	
	--bg-warm: #fcefe0;      /* very light peach */
	--bg-soft-rose: #f7e6e0; /* very light rose */
	
}

.title-desc h2, .title-desc h3, .title-desc h4 { text-align: center; margin: 0; margin-right: 15rem; margin-left: 15rem; color: var(--secondary-color); font-family: var(--font-body); font-size: 1rem; text-shadow: 2px 2px 1px rgba(0,0,0,0.15);  }

@media screen and (max-width: 768px) {
    .title-desc h2, .title-desc h3, .title-desc h4 { text-align: center; margin-left: 2rem; margin-right:2rem; font-size: 0.8rem; text-shadow: 1px 1px 1px rgba(0,0,0,0.15);  }
}




/*===================
    Match Divider Line
==================== */
.match-divider{
    width:100%;
    height:4px;
    margin:20px 0 20px 0;
    position:relative;
    }
    
.match-divider::after{
    content:"";
    display:block;
    width:auto;
    height:4px;
    margin:0 auto;
    border-radius:4px;
    background:linear-gradient(
        to right,
        rgba(0,150,0,0),
        #2e7d32,
        rgba(0,150,0,0)
        );
        
    }
	/*===================
     Small Divider Line
     ==================== */
.small-divider{
    width:100%;
    height:2px;
    margin:10px 0 10px 0;
    position:relative;
    }
    
.small-divider::after{
    content:"";
    display:block;
    width:auto;
    height:2px;
    margin:0 auto;
    border-radius:2px;
    background:linear-gradient(
        to right,
        rgba(0,150,0,0),
        #2e7d32,
        rgba(0,150,0,0)
        );
        
    }

/*===============================
             FORMS
=================================*/
.wpcf7 input[type="text"],
.wpcf7 input[type="email"]
{
    background-color: #fff;
    border: 3px solid #DCDCDC;
	border-radius: 10px;
    color: #000;
    width: 80%;
	font-size: 1rem;
	height:40px;
}
.wpcf7 label {
        color: var(--secondary-color);
        font-weight: bold;
        font-size: 1.1rem;
        margin-bottom: 5px;
        display: block; 
    }
.wpcf7 textarea{
	background-color: #fff;
    color: #000;
    width: 80%;
	border: 3px solid #DCDCDC;
	border-radius: 10px;
	font-size: 1rem;
	height:100px;	
}

  input[type="submit"],input[type="button"]{
	display: inline-block;
    background-color: var(--secondary-color);
    color: var(--white-color);
    padding: 0.7rem 1.2rem;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
	border: none;
	margin: 4px 2px;
	cursor: pointer;
}



/* ==================
--- Typography ---
===================== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.3;
    color: var(--secondary-color);
    margin-top: 0;
}


h1 { font-size: 3rem; text-shadow: 2px 2px 1px rgba(0,0,0,0.15); transition: color 0.3s ease; }
h2 { font-size: 2.5rem; text-shadow: 2px 2px 1px rgba(0,0,0,0.15); transition: color 0.3s ease; }
h3 { font-size: 2rem; text-shadow: 2px 2px 1px rgba(0,0,0,0.15); transition: color 0.3s ease; }

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}
a:hover {
    color: var(--secondary-color);
}

/* ========================
--- Basic Reset & Body ---
=========================== */

body {
    font-family: var(--font-body);
    line-height: 1.7;
    margin: 0;
    background-image:linear-gradient(to bottom, rgba(243, 238, 217, 1), rgba(243, 238, 217, 0.8),rgba(243, 238, 217, 0)), url('images/main_bg.png');
	background-attachment: fixed;
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;

	color: var(--text-main);
}
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}


/* ==================
--- Header with Banner ---
===================== */
.site-header {
    position: relative;
    background-color: var(--dark-color);
    background-size: cover;
    background-position: center;
	border-bottom: 4px solid #ab1e25;
    color: var(--white-color);
    max-height: 120px;
    display: flex;
    align-items: center;
	border-top: 4px solid #ab1e25;
}
.site-header::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    
    
    background: linear-gradient(to right, rgba(26,26,26,0.5), rgba(26,26,26,0));
    
    
    pointer-events: none;
    
    z-index: 1; /* Sits above the background image */
}

.site-header * {
    position: relative;
    z-index: 2;
}

.header-main {
	
    
	background-position: center;

    width: 100%;
}

.site-branding {
	justify-content: center;
    display: flex;
    align-items: center;
    gap: 20px;
}
.site-branding .custom-logo-link {
    max-height: var(--logo-max-height, 160px);
    width: auto;
    display: block;
	filter: drop-shadow(4px 4px 1px rgba(0,0,0,0.2));
}
.site-info a {
    text-decoration: none;
    color: var(--white-color);
}
.site-info .site-title {
    font-size: 2.5rem;
    margin: 8px 0 0 0;
    line-height: 1.2;
}
.site-info .site-description {
    font-size: 1.3rem;
    margin: 0;
    color: rgba(255, 255, 255, 0.7);
}

/*====================
 --- Navigation ---
 ==================== */
.main-navigation {
    top: 0;
    z-index: 1000;
}
.main-navigation .container {
    display: flex;
    align-items: center;
    position: relative;
}
.main-navigation ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
}
.main-navigation ul li a {
    display: block;
    color: var(--dark-color);
    padding: 1rem 1.5rem;
    font-weight: 500;
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
}
.main-navigation ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background-color: var(--primary-color);
    transition: var(--transition);
}
.main-navigation ul li a:hover::after {
    width: 100%;
}




/*============================================*/



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

        body {
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
            line-height: 1.6;
        }

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

        .social-top-bar {
            background-color: #00713c;
            padding: 0px 0;
            position: relative; /* Ensures z-index works */
            z-index: 1001;      /* Higher than the header */
        }

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

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

        .social-links-top a {
            color: var(--cream);
            font-size: 1rem;
            padding: 5px;
            border-radius: 50%;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            justify-content: center;
            width: 32px;
            height: 32px;
            text-decoration: none;
        }

        .social-links-top a:hover {
			color: var(--primary-color);
            transform: translateY(-2px);
        }

        .auth-links-top {
            display: flex;
            gap: 15px;
            align-items: center;
        }
		.auth-links-top a:hover {
            color: var(--primary-color);
        }

        .user-account-link, .user-logout-link, .login-link, .register-link {
            color: var(--cream);
            text-decoration: none;
            display: flex;
            align-items: center;
            gap: 5px;
            font-size: 0.85rem;
            transition: color 0.3s ease;
        }

        .register-link {
            background-color: #0073aa;
            padding: 5px 12px;
            border-radius: 4px;
            transition: background-color 0.3s ease;
        }

        /* Main Header */
        .site-header {
            background-color: #fff;
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
            position: relative;
            z-index: 1000;
        }

        .header-main {
            padding: 3rem 0;
        }

        .header-main .container {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .site-branding {
            justify-content: center;
            display: flex;
            align-items: center;
            gap: 3rem;
        }
        .site-branding .custom-logo-link {
            max-height: var(--logo-max-height, 160px);
            width: auto;
            display: block;
        }

        .site-title {
            font-size: 1.8rem;
            margin: 0;
            font-weight: 700;
            color: #333;
			text-shadow:2px 2px 1px rgba(0,0,0,0.2);
        }

        .site-description {
            margin: 5px 0 0 0;
            font-size: 0.9rem;
			font-weight: 700;
			text-align: center;
            color: #666;
			text-shadow: 2px 2px 1px rgba(0,0,0,0.2);
        }
		.site-motto{text-shadow: 2px 2px 1px rgba(0,0,0,0.2);}

        /* Desktop Search Field */
        .header-search {
            flex: 1;
            max-width: 400px;
            margin: 0 20px;
			filter: drop-shadow(4px 4px 1px rgba(0,0,0,0.2));
        }

        .header-search-form {
            display: flex;
            position: relative;
        }

        .header-search-input {
			background-color: var(--cream);
            width: 100%;
            padding: 10px 40px 10px 15px;
            border: 2px solid #ddd;
            border-radius: 25px;
            font-size: 0.9rem;
            transition: border-color 0.3s ease;
        }

        .header-search-input:focus {
            outline: none;
            border-color: #0073aa;
        }

        .header-search-button {
            position: absolute;
            right: 5px;
            top: 50%;
            transform: translateY(-50%);
            background: none;
            border: none;
            color: #666;
            cursor: pointer;
            padding: 5px;
            border-radius: 50%;
            transition: color 0.3s ease;
        }

        .header-search-button:hover {
            color: #0073aa;
        }

        /* Navigation - SEPARATE FROM HEADER */
        .main-navigation {
            background-color: #00713c;
            position: relative;
        }

        .main-navigation .container {
            display: flex;
            justify-content: center;
        }

        #primary-menu {
            display: flex;
            list-style: none;
            margin: 0;
            padding: 0;
        }

        #primary-menu li {
            position: relative;
        }

        #primary-menu a {
            color: var(--cream);
            text-decoration: none;
            padding: 8px 14px;
            display: block;
            font-weight: 500;
            transition: all 0.3s ease;
        }

        #primary-menu a:hover {
            background-color: rgba(255,255,255,0.1);
			color: var(--primary-color);
        }

        /* Dropdown Menu */
        #primary-menu ul.sub-menu {
            position: absolute;
            top: 100%;
            left: 0;
            background-color: var(--cream);
            min-width: 200px;
            box-shadow: 0 5px 20px rgba(0,0,0,0.1);
            opacity: 0;
            visibility: hidden;
            transform: translateY(-10px);
            transition: all 0.3s ease;
            z-index: 1000;
        }

        #primary-menu li:hover > ul.sub-menu {
            opacity: 1;
            visibility: visible;
            transform: translateY(0);
        }

        #primary-menu ul.sub-menu li {
            width: 100%;
        }

        #primary-menu ul.sub-menu a {
            color: #333;
            padding: 12px 20px;
            border-bottom: 1px solid #f4f4f4;
        }

        #primary-menu ul.sub-menu a:hover {
            background-color: #f4f4f4;
            color: #0073aa;
        }

        #primary-menu ul.sub-menu a::after {
            display: none;
        }

        /* --- MOBILE NAV BAR (NEW) --- */
        .mobile-nav-bar {
            display: none; /* Hidden on desktop */
            background-color: #00713c;
            padding: 10px 20px;
            align-items: center;
            justify-content: space-between; /* Pushes toggle left, search right */
            width: 100%;
            position: relative;
            z-index: 1002;
        }

        /* Mobile Search (Inside Nav Bar) */
        .mobile-search {
            max-width: 180px;
            margin-left: 10px;
            flex-grow: 0; /* Prevent it from growing too large */
        }

        .mobile-search-form {
            display: flex;
            position: relative;
        }

        .mobile-search-input {
            width: 100%;
            padding: 8px 35px 8px 12px;
            border: none;
            border-radius: 20px;
            font-size: 0.85rem;
            background-color: var(--cream);
            color: #333;
        }

        .mobile-search-input:focus {
            outline: none;
            background-color: #fff;
        }

        .mobile-search-button {
            position: absolute;
            right: 8px;
            top: 50%;
            transform: translateY(-50%);
            background: none;
            border: none;
            color: #00713c;
            cursor: pointer;
            padding: 0;
            font-size: 0.9rem;
        }

        /* Mobile Menu Toggle Button (Inside Nav Bar) */
        .mobile-menu-toggle {
            /* Flex properties handled by parent container */
            flex-shrink: 0; 
        }

        .menu-toggle {
            background: rgba(255,255,255,0.1);
            border: none;
            cursor: pointer;
            padding: 10px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 15px;
            border-radius: 8px;
            transition: all 0.3s ease;
            margin: 0;
            position: relative;
            width: 44px;
            height: 44px;
        }

        .menu-toggle:hover {
            background: rgba(255,255,255,0.2);
        }

        .menu-toggle::before, .menu-toggle::after {
            display: none;
        }

        /* Hamburger Icon */
        .menu-toggle .top-line {
            position: absolute;
            top: 13px;
            left: 12px;
            width: 20px;
            height: 2px;
            background-color: var(--cream);
            transition: all 0.3s ease;
        }

        .menu-toggle .middle-line {
            position: absolute;
            top: 21px;
            left: 12px;
            width: 20px;
            height: 2px;
            background-color: var(--cream);
            transition: all 0.3s ease;
        }

        .menu-toggle .bottom-line {
            position: absolute;
            top: 29px;
            left: 12px;
            width: 20px;
            height: 2px;
            background-color: var(--cream);
            transition: all 0.3s ease;
        }

        /* Animate hamburger to X */
        .menu-toggle.active .top-line {
            top: 21px;
            transform: rotate(45deg);
        }

        .menu-toggle.active .middle-line {
            opacity: 0;
            transform: translateX(20px);
        }

        .menu-toggle.active .bottom-line {
            top: 21px;
            transform: rotate(-45deg);
        }
		/* Mobile Menu Main Links ttttttttttttttttttttttttt */      
		.mobile-menu #primary-menu a {
			font-family: 'Arial', sans-serif; 
			font-size: 16px;                 
			font-weight: bold;             
			text-transform: uppercase;            
			letter-spacing: 0.1px;
			text-align:center;
		}

        /* Mobile Menu Overlay */
		.mobile-menu-overlay {
			position: fixed;
			top: 0;
			left: 0; /*  CRITICAL: Must be 0*/
			width: 100%;
			height: 100%;
			background-color: rgba(0,0,0,0.5);
			z-index: 9999;
			display: none;
			cursor: pointer;
		}

        .mobile-menu-overlay.active {
            display: block;
        }

        /* Mobile Menu - SLIDE IN */
        .mobile-menu {
            position: fixed;
            top: 0;
            right: -300px;
            width: 300px;
            height: 100%;
            background-color: #00713c;
            transition: right 0.3s ease;
            z-index: 10000;
            overflow-y: auto;
            padding: 20px;
        }

        .mobile-menu.active {
            right: 0;
        }

        .mobile-menu-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 30px;
            padding-bottom: 20px;
            border-bottom: 1px solid rgba(255,255,255,0.1);
        }

        .mobile-menu-close {
            background: rgba(255,255,255,0.1);
            border: none;
            color: var(--cream);
            font-size: 1.5rem;
            cursor: pointer;
            width: 40px;
            height: 40px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 50%;
        }
		/* X Close Button Hover */
		.mobile-menu-close:hover {
			color: var(--primary-color); 
			background-color: rgba(255, 255, 255, 0.3); 
			transition: all 0.3s ease; 
		}
		
        .mobile-menu #primary-menu {
            flex-direction: column;
        }

        .mobile-menu #primary-menu a {
            padding: 15px 0;
            border-bottom: 1px solid rgba(255,255,255,0.1);
        }

        .mobile-menu-footer {
            margin-top: 30px;
            padding-top: 20px;
            border-top: 1px solid rgba(255,255,255,0.1);
        }

        .mobile-menu-footer .social-links {
            display: flex;
            gap: 15px;
            justify-content: center;
            margin-bottom: 20px;
        }

        .mobile-menu-footer .social-links a {
            color: var(--cream);
            font-size: 1.2rem;
            width: 40px;
            height: 40px;
            display: flex;
            align-items: center;
            justify-content: center;
        }
		.mobile-menu-footer .social-links a:hover {
            color: var(--primary-color);
            font-size: 1.2rem;
            width: 40px;
            height: 40px;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .mobile-menu-footer .auth-links {
            display: flex;
            gap: 15px;
            justify-content: center;
        }

        .mobile-menu-footer .auth-links a {
            color: var(--cream);
            text-decoration: none;
            padding: 8px 15px;
            border-radius: 20px;
            background-color: rgba(255,255,255,0.1);
        }
		.mobile-menu-footer .auth-links a:hover {
            color: var(--primary-color);
            
        }

        /* Responsive */
        @media (max-width: 768px) {
            .header-search {
                display: none; /* Hide desktop search */
            }
            
            .main-navigation {
                display: none; /* Hide desktop menu */
            }

            .mobile-nav-bar {
                display: flex; /* Show mobile nav bar (Flex container) */
            }
        }

        @media (min-width: 769px) {
            .mobile-nav-bar,
            .mobile-menu-overlay,
            .mobile-menu {
                display: none !important; /* Hide mobile elements on desktop */
            }
        }
		
		 /* Site Motto Styling */
        .site-motto {
			text-align: center;
            margin: 0 0 8px 0;
            font-size: 0.75rem; /* Slightly smaller than description */
            font-weight: 300;
            font-style: italic;
            color: #fff; 
            letter-spacing: 0.5px;
        }


/* --- Content Area --- */
.site-main {
    padding: 1rem 0;
}


/*=======================
 --- Card Component ---
 ======================== */
.card {
	transition: var(--transition);
	box-shadow: var(--box-shadow);
	margin-bottom: 2rem;
	padding: 2rem;
	border-radius: var(--border-radius);
    background: var(--background);
	border: 3px solid var(--border-color);  
}
.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

/*=======================
 --- Widget Styles ---
 ======================== */
.widget { margin-bottom: 2rem; }
.widget-title { background-color: var(--primary-color); color: var(--white-color); padding: 0.75rem 1rem; margin-top: 0; border-radius: var(--border-radius) var(--border-radius) 0 0; }
.widget-next-match { text-align: center; padding: 1.5rem; background: var(--white-color); border-radius: var(--border-radius); box-shadow: var(--box-shadow); }
.widget-match-teams { font-size: 1.2rem; font-weight: 700; font-family: var(--font-heading); }

/*============================
 --- Comment Styles ---
 ============================= */
.comment-body { background: var(--background); border: 1px solid var(--border-color); padding: 1.5rem; margin-bottom: 1rem; border-radius: var(--border-radius); }
.comment-reply-link { background-color: var(--primary-color); color: var(--white-color); padding: 0.5rem 1rem; border-radius: var(--border-radius); text-decoration: none; font-weight: 500; }
.comment-reply-link:hover { background-color: var(--secondary-color); }
#commentform .submit { background-color: var(--primary-color); }
#commentform .submit:hover { background-color: var(--secondary-color); }
/* ========================================
   SPLIT COLUMN COMMENT STYLES
   ======================================== */


.comments-area {
    background: var(--background);
    padding: 0rem;
    margin-top: 3rem;
    border: 0px solid var(--secondary-color);
    border-radius: 0px;
    box-shadow: 0 0px 0px rgba(0,0,0,0.1);
	transition: none;
}
.comments-area:hover {
    transform: none;
    box-shadow: 0 0px 0px rgba(0,0,0,0.1);
}
.comments-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 25px;
    color: var(--secondary-color);
    border-bottom: 2px solid var(--secondary-color);
    display: inline-block;
    padding-bottom: 5px;
}

.comment-reply-title {
    margin-bottom: 25px; 
    font-size: 20px;
    font-weight: 700;
    color: var(--secondary-color); 
}
/* List Container */
.comment-list {
    list-style: none;
    padding: 0;
    margin: 0;
	
}

.comment-list .children {
    list-style: none;
    padding-left: 40px; /* Indent replies */
    margin-top: 20px;
    border-left: 2px solid var(--secondary-color);
}

.hybrid-comment-item {
    margin-bottom: 30px;  
}

/* Main Wrapper - Flex Row */
.hybrid-wrapper {
    display: flex;
    gap: 25px;
}

/* LEFT COLUMN */
.hybrid-left-col {
    flex: 0 0 120px; 
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: center; 
}

.hybrid-avatar {
    margin-bottom: 10px;
}

.comment-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #f9f9f9;
}

/* Header (Name/Date) inside Left Column */
.hybrid-header {
    display: flex;
    flex-direction: column; 
    text-align: center;
    margin-bottom: 12px;
    width: 100%;
}

.hybrid-header .fn {
    font-size: 14px;
    font-weight: 700;
    color: var(--secondary-color);
    line-height: 1.2;
    margin-bottom: 4px;
    word-wrap: break-word; /* Prevent long names breaking layout */
}

.hybrid-header .comment-meta {
    font-size: 12px;
    color: #888;
    font-weight: 400;
    line-height: 1.2;
}

/* Footer (Reply Button) inside Left Column */
.hybrid-footer {
	margin: 1rem;
    width: 100%;
    text-align: center;
}

/* RIGHT COLUMN */
.hybrid-right-col {
    flex: 1; 
    padding-top: 5px; 
}

.comment-content {
    font-size: 15px;
    color: #444;
	background: var(--background);
    line-height: 1.6;
}

.comment-awaiting-moderation {
    display: block;
    font-style: italic;
    color: var(--primary-color);
    font-size: 13px;
    margin-bottom: 10px;
}

/* ---------------------------------------
   BUTTON STYLING (For Reply & Submit)
   --------------------------------------- */

/* Main Button Class (The "Post Comment" Button) */
.button {
    display: inline-block;
    background-color: var(--secondary-color); 
    color: #fff;
    border: none;
    border-radius: 5px;
    padding: 0.7rem 1.5rem;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: background-color 0.2s;
    text-align: center;
    width: auto; 
}

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

/* Smaller Button for Reply Link  */
.comment-reply-link {
    background-color: var(--primary-color); 
    color: var(--white-color) !important; 
    padding: 5px 10px;
    font-size: 11px;
    width: auto; 
    display: inline-block; 
}

/* Hover effect for Reply Button */
.comment-reply-link:hover {
    background-color: var(--secondary-color) !important; 
    color: #fff !important; 
}

/* Form Styles (Standard) */
.comments-area .form-control {
    width: 100%;
    padding: 0.8rem 1rem;
    margin-bottom: 1rem;
	background: var(--background);
    border: 3px solid var(--primary-color);
    border-radius: 5px;
    font-size: 14px;
}

.comment-form-author, 
.comment-form-email, 
.comment-form-url {
    display: flex;
    flex-direction: column;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .hybrid-wrapper {
        flex-direction: column;
        align-items: center;
    }

    .hybrid-left-col {
        flex: 0 0 auto;
        width: 100%;
        flex-direction: row; 
        justify-content: space-between;
        margin-bottom: 15px;
        border-bottom: 1px solid var(--border-color);
        padding-bottom: 15px;
    }

    .hybrid-avatar {
        margin-bottom: 0;
		margin-right: 10px;
    }

    .hybrid-header {
        text-align: left;
        margin-bottom: 0;
    }

    .hybrid-footer {
        text-align: right;
        width: auto;
    }

    .button.button-small {
        width: auto;
    }

    
    .comment-reply-login {
        font-size: 0.65rem !important; 
        line-height: 1.2;
        display: inline-block;
        margin-top: 5px;
        text-decoration: none;
    }
	/* --- LOGGED IN AS TEXT STYLING --- */
	.logged-in-as {
		margin-bottom: 1rem;
		font-size: 14px;
	}
	/* Hide the "Required fields are marked *" text */
.comment-notes {
    display: none !important;
    }
}

/*=============================
 --- Footer --- 
 ==============================*/
.hubtext h2 {
	margin: 0 auto;
    margin-bottom:1rem;
    padding: 0 20px;
	font-size: 3rem;
}
.cta-section .title-desc h3 { text-align: center; margin: 0; margin-right: 10rem; margin-left: 10rem; color: var(--secondary-color); font-family: var(--font-body); font-size: 1rem; }
.site-footer {
    background-color: var(--secondary-color);
    color: var(--cream);
    text-align: center;
    padding: 3rem 0;
    margin-top: 3rem;
}
.cta-section {
    text-align: center;
	margin-top: 1rem;
	margin-bottom: 1rem;
	margin-left: 1rem;
	margin-right: 1rem;
}

.cta-grid {
	width:100%;
    display: grid;
	justify-content: center;
    grid-template-columns: 1fr 1fr 1fr 1fr; 
    gap: 1rem;
    margin-top: 2rem;
	margin-bottom: 1rem;
	
}

.cta-link {
	background-color: var(--cream);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 2rem 1rem;
	border: 3px solid;
    color: var(--secondary-color);
    text-decoration: none;
	border-color: var(--border-color);
    border-radius: var(--border-radius);
    box-shadow:0 6px 15px rgba(46,90,172,0.3);
    transition: var(--transition);
}

.cta-link:hover {
    color: var(--primary-color);
	border-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.cta-link i {
    font-size: 3rem;
	filter: drop-shadow(4px 4px 1px rgba(0,0,0,0.1));
}

.cta-link span {
    font-family: var(--font-heading);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
	text-shadow: 2px 2px 0px rgba(0,0,0,0.1);
}
/* --- Back to Top Button --- */
.back-to-top {
    position: fixed;
    bottom: 25px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: var(--cream);
    text-align: center;
    line-height: 50px;
    border-radius: 50%;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.back-to-top:hover {
    background-color: var(--blue);
    color: var(--cream);
    transform: translateY(-5px);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}
@media screen and (max-width: 768px) {
	
	.back-to-top {
    bottom: 20px !important;
	right: 10px;
	}
	
    .cta-grid {
    display: grid;
    grid-template-columns: 1fr 1fr !important; /* This creates two equal-width columns */
    gap: 1rem;
    margin-top: 2rem;
	margin-left: 0;
	margin-right: 0;
	}
}
.social-links-footer {
    
    display: flex;
    gap: 20px;
	justify-content: center;
}
.social-links-footer i {
    font-size: 2rem; 
}

.social-links-footer a {
    display: flex;
    align-items: center;
    justify-content: center;
	margin: 0px 10px 15px 10px;
    width: 40px;
    height: 40px;
    background-color: transparent;
    border-radius: var(--border-radius);
    color: var(--cream);
    transition: var(--transition);
}


.social-links-footer a:hover {
    color: var(--primary-color);
    transform: translateY(-3px);
}
.cta-section .title-desc h3 { text-align: center; margin-left: 2rem; margin-right:2rem; font-size: 0.8rem; }


/*======================================================================
========================================================================*/


/* --- Responsive Design --- */
@media screen and (max-width: 900px) {
    .site-branding { justify-content: center; }
}

@media screen and (max-width: 768px) {
    .container { padding: 0 15px; }
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    
    
    .site-branding {
		justify-content: center;
        flex-direction: row; /* Changed from column */
        align-items: center;
        gap: 30px;        
    }
    .site-branding .custom-logo-link {
        
        max-width: 80px; 
    }
    .site-info {
        text-align: left; /* Align text to the left of the logo */
    }
    .site-info .site-title { font-size: 1.8rem; }
	.site-info .site-description { font-size: 0.9rem; }
	.site-info .site-motto { font-size: 0.6rem; }

    .menu-toggle { display: block; }
    .main-navigation .container {
        
    }
    .main-navigation ul { 
        display: none; 
        flex-direction: column; 
        background-color: var(--white-color); 
        border-top: 1px solid var(--border-color); 
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
    }
    .main-navigation.toggled ul { display: flex; }
    .main-navigation ul li { width: 100%; border-bottom: 1px solid var(--border-color); }
    .main-navigation ul li a { padding: 1rem; text-align: center; }
    .main-navigation ul li a::after { display: none; }

    /* FIX: Push social links to the right on mobile */
    .social-links {
        display: flex;
        margin-left: auto; 
    }

}


/* Pagination Styles */
.nav-links {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 3rem;
}

.nav-links .page-numbers {
    display: inline-block;
    padding: 0.7rem 1rem;
    margin: 0 0.25rem;
    background-color: var(--light-color);
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.nav-links .page-numbers:hover,
.nav-links .page-numbers.current {
    background-color: var(--primary-color);
    color: var(--white-color);
    border-color: var(--primary-color);
}

.nav-links .prev,
.nav-links .next {
    font-weight: 700;
}


/* For smooth scrolling */
html {
    scroll-behavior: smooth;
}



/* --- Team logo uploader styles --- */
.striker-logo-container {
    margin-bottom: 15px;
}

.striker-logo-preview {
    margin-bottom: 10px;
}

.striker-upload-logo-button,
.striker-remove-logo-button {
    background-color: #f0f0f1;
    color: #fff;
    padding: 8px 12px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    margin-right: 10px;
}

.striker-upload-logo-button:hover,
.striker-remove-logo-button:hover {
    background-color: var(--primary-color);
}



/* --- Admin dashboard styles --- */
.dashboard-widgets-wrap {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.dashboard-widget {
    background: #fff;
    border: 1px solid #ccd0d0;
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.dashboard-widget h2 {
    margin-top: 0;
    font-size: 14px;
    color: #23282d;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
    margin-bottom: 15px;
}

.dashboard-widget-content {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.button {
    display: inline-block;
    padding: 8px 16px;
    margin: 0 5px 0 0;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 500;
    text-align: center;
    cursor: pointer;
}

.button-primary {
    background-color: #0073aa;
    color: #fff;
    border: 1px solid #0073aa;
}

.button-secondary {
    background-color: #f0f0f1;
    color: #333;
    border: 1px solid #f0f0f1;
}

.button:hover {
    opacity: 0.8;
}
/* Striker Match Widget Styles */
.striker-match-widget {
    list-style: none;
    padding: 0;
    margin: 0;
}

.widget-match-item {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.widget-match-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.widget-match-link {
    display: block;
    text-decoration: none;
    color: #333;
}

.widget-match-link:hover {
    color: #0073aa;
}

.widget-match-teams {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 5px;
}

.widget-team-logo {
    max-height: 30px;
    width: auto;
    display: block;
}

.widget-score {
    font-weight: bold;
    font-size: 1.1em;
    color: #555;
}

.widget-match-details {
    text-align: center;
    font-size: 0.9em;
    color: #777;
}
.player-nickname  {
	position: relative;
}

/* ===========================================
   1. HOMEPAGE STYLES
   =========================================== */

.home .title-desc h3 { text-align: center; margin: 0; margin-right: 15rem; margin-left: 15rem; color: var(--secondary-color); font-family: var(--font-body); font-size: 1rem; }

.home .site-main > section { 
    margin-bottom: 1rem; 
}

.home .card h2 {
    margin-top: 0;
    margin-bottom: 1rem;
    text-align: center;
    font-size: 2.5rem;
    color: var(--secondary-color);
}

/* --- Modern Button Component --- */
.btn-modern {
    display: inline-block;
    text-align: center;
    padding: 12px 28px;
    background: linear-gradient(135deg, #3e81c3 0%, #005a87 100%);
    color: var(--cream);
    border-radius: 4px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
    box-shadow: 0 4px 10px rgba(62, 129, 195, 0.3);
}

.btn-modern:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(62, 129, 195, 0.4);
    filter: brightness(1.1);
    color: #fff;
}

.btn-full-width { 
    display: block; 
    width: 100%; 
    max-width: 300px; 
    margin: 0 auto; 
}

/* --- NEWS FEED CAROUSEL --- */
.home .news-carousel-section { 
    margin-top: 0; 
    margin-bottom: 3rem; 
}

.home .section-header { 
    display: flex; 
    flex-direction: column; 
    align-items: center; 
    margin-bottom: 1rem; 
    gap: 15px; 
}

.home .news-carousel-section h2 { 
    margin: 0; 
    font-size: 3rem; 
    color: var(--secondary-color); 
    text-align: center; 
    width: 100%; 
    max-width: 600px; 
}

.home .carousel-nav-controls { 
    display: flex; 
    gap: 15px; 
}

.home .news-carousel { 
    position: relative; 
    width: 100%; 
}

.home .news-viewport { 
    overflow: hidden; 
    border-radius: 12px; 
    padding: 10px 0; 
}

.home .news-slider { 
    display: flex; 
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1); 
    gap: 20px; 
    width: 100%; 
    box-sizing: border-box; 
}

.home .news-post-card { 
    background: var(--cream); 
    border: 3px solid var(--border-color); 
    border-radius: 12px; 
    overflow: hidden; 
    box-shadow: 0 2px 8px rgba(0,0,0,0.06); 
    transition: transform 0.3s ease, box-shadow 0.3s ease; 
    display: flex; 
    flex-direction: column; 
    box-sizing: border-box; 
}

.home .news-post-card:hover { 
    transform: translateY(-5px); 
    box-shadow: 0 10px 20px rgba(0,0,0,0.1); 
}

.home .news-post-card .post-thumbnail img { 
    width: 100%; 
    height: 200px; 
    object-fit: cover; 
    transition: transform 0.5s ease; 
}

.home .news-post-card:hover .post-thumbnail img { 
    transform: scale(1.05); 
}

.home .news-post-card .post-content { 
    padding: 1.5rem; 
    flex-grow: 1; 
    display: flex; 
    flex-direction: column; 
}

.home .news-post-card h3 { 
    font-size: 1.1rem; 
    margin: 0 0 0.5rem 0; 
    line-height: 1.4; 
}

.home .news-post-card h3 a { 
    color: #333; 
    text-decoration: none; 
}

.home .news-post-card h3 a:hover { 
    color: #3e81c3; 
}

.home .news-post-card .post-meta { 
    font-size: 0.75rem; 
    color: #999; 
    text-transform: uppercase; 
    letter-spacing: 1px; 
    margin-bottom: 0.8rem; 
    font-weight: 700; 
}

.home .news-post-card p { 
    font-size: 0.9rem; 
    color: #666; 
    margin-bottom: 1rem; 
    flex-grow: 1; 
}

.home .news-post-card .read-more { 
    color: #3e81c3; 
    font-weight: 700; 
    text-decoration: none; 
    font-size: 0.85rem; 
    text-transform: uppercase; 
    align-self: flex-start; 
}

.home .carousel-button { 
    background-color: #f4f4f4; 
    color: #333; 
    border: 2px solid var(--secondary-color); 
    width: 44px; 
    height: 44px; 
    border-radius: 4px; 
    cursor: pointer; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    transition: all 0.3s ease; 
    z-index: 10; 
}

.home .carousel-button:hover { 
    background-color: #3e81c3; 
    color: #fff; 
    border-color: #3e81c3; 
    transform: scale(1.1); 
}

.home .carousel-button:disabled { 
    background-color: #eee; 
    color: #bbb; 
    border-color: #ddd; 
    cursor: not-allowed; 
    transform: none; 
}

.home .carousel-pagination { 
    display: flex; 
    justify-content: center; 
    gap: 10px; 
    margin-top: 1.5rem; 
}

.home .pagination-dot { 
    width: 10px; 
    height: 10px;
    border: 1px solid var(--border-color); 
    border-radius: 50%;
    background-color: #ddd;  
    cursor: pointer; 
    transition: all 0.3s ease; 
}

.home .pagination-dot:hover { 
    background-color: #bbb; 
}

.home .pagination-dot.active { 
    background-color: var(--secondary-color); 
    transform: scale(1.3); 
}

.home .section-footer { 
    text-align: center; 
    margin-top: 2rem; 
}

/* --- MATCH WIDGETS GRID (HOMEPAGE LAYOUT) --- */
.home .match-widgets-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

/* Match Header Widget */
.home .match-header-widget {
    text-align: center;
    margin-bottom: 1rem;
}

.home .match-top {
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 15px;
    color: #333;
    font-size: 0.9rem;
}

.home .match-meta-tags {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.home .meta-tag {
    background: linear-gradient(135deg, #3a6edc, #2e5aac);
    color: var(--cream);
    padding: 4px 14px;
    border-radius: 20px;
    font-family: var(--font-heading);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 20px;
    box-shadow: 0 6px 15px rgba(46, 90, 172, 0.3);
}

/* Match Divider*/
.home .match-divider {
    width: 100%;
    height: 4px;
    margin: 0 0 25px 0;
    position: relative;
}

.home .match-divider::after {
    content: "";
    display: block;
    width: auto;
    height: 4px;
    margin: 0 auto;
    border-radius: 4px;
    background: linear-gradient(to right, rgba(0,150,0,0), #2e7d32, rgba(0,150,0,0));
}

/* Scoreboard Widget */
.home .match-widgets-grid .match-scoreboard {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 2rem 1rem;
    position: relative;
    border-radius: var(--border-radius);
    border: 2px dashed var(--border-color);
    margin: 0;
}


/* Watermark */
.home .match-widgets-grid .watermark {
    position: absolute;
    top: 70%;
    left: 50%;
    width: 30%;
    max-width: 150px;
    transform: translate(-50%, -50%);
    opacity: 0.05;
    pointer-events: none;
    z-index: 0;
}

/* Status Badge */
.home .match-widgets-grid .match-status-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--primary-color);
    color: var(--cream);
    padding: 5px 20px;
    border-radius: 30px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    z-index: 10;
}

/* Team Columns */
.home .match-widgets-grid .team-col {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 1;
}

.home .match-widgets-grid .team-logo-lg {
    width: 128px;
    height: 128px;
    object-fit: contain;
    margin-bottom: 0.5rem;
    filter: drop-shadow(4px 4px 1px rgba(0,0,0,0.1));
}

.home .match-widgets-grid .team-title-lg {
    text-transform: uppercase;
    font-family: var(--font-heading);
    font-size: 1rem;
    margin: 0 0 0.5rem 0;
    color: var(--dark-color);
    line-height: 1.1;
}

.home .match-widgets-grid .team-title-lg.away { 
    color: var(--text-color); 
}

/* Scorers List */
.home .match-widgets-grid .scorers-list {
    list-style: none;
    padding: 0;
    margin: 0;
    width: 100%;
}

.home .match-widgets-grid .scorer-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 3px 0;
    border-bottom: 1px dotted #eee;
    font-family: var(--font-body);
    font-size: 0.75rem;
    color: var(--text-color);
}

.home .match-widgets-grid .scorer-item:last-child { 
    border-bottom: none; 
}

.home .match-widgets-grid .scorer-name { 
    font-weight: 600; 
}

.home .match-widgets-grid .scorer-time { 
    color: var(--primary-color); 
    font-weight: 700; 
}

/* Score Column */
.home .match-widgets-grid .score-col {
    flex: 0.5;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
    margin-top: 20px;
    position: relative;
    z-index: 1;
}

.home .match-widgets-grid .score-display-lg {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.1;
    color: var(--text-color);
    text-align: center;
    width: 100%;
    text-shadow: 2px 2px 0px rgba(0,0,0,0.1);
    transition: color 0.3s ease;
}

.home .match-widgets-grid .score-display-lg.result-win { color: #28a745; }
.home .match-widgets-grid .score-display-lg.result-loss { color: var(--primary-color); }
.home .match-widgets-grid .score-display-lg.result-draw { color: #e0a800; }
.home .match-widgets-grid .score-display-lg.result-upcoming { color: var(--primary-color); font-size: 3rem; }

.home .widget-footer-info {
    text-align: center;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #eee;
}

/* --- RESPONSIVE STYLES FOR HOMEPAGE --- */
@media screen and (max-width: 1200px) {
    .home .match-widgets-grid .team-logo-lg { width: 80px; height: 80px; }
    .home .match-widgets-grid .score-display-lg { font-size: 2.5rem; }
    .home .match-widgets-grid .score-display-lg.result-upcoming { font-size: 2.5rem; }
}

@media screen and (max-width: 1040px) {
    .home .match-widgets-grid .team-logo-lg { width: 72px; height: 72px; }
    .home .match-widgets-grid .score-display-lg { font-size: 2rem; }
    .home .match-widgets-grid .score-display-lg.result-upcoming { font-size: 2rem; }
}

@media screen and (max-width: 950px) {
    .home .match-widgets-grid .team-logo-lg { width: 64px; height: 64px; }
    .home .match-widgets-grid .score-display-lg { font-size: 1.8rem; }
    .home .match-widgets-grid .score-display-lg.result-upcoming { font-size: 1.8rem; }
}

@media screen and (max-width: 838px) {
    .home .match-widgets-grid .team-logo-lg { width: 64px; height: 64px; }
    .home .match-widgets-grid .score-display-lg { font-size: 1.5rem; }
    .home .match-widgets-grid .score-display-lg.result-upcoming { font-size: 1.5rem; }
}

@media (max-width: 768px) {
    .home .news-slider { gap: 0 !important; }
    .home .match-widgets-grid { grid-template-columns: 1fr; }
    .home .match-header-widget { margin-bottom: 0.5rem; }
    .home .match-top { font-size: 0.7rem; margin-bottom: 10px; }
    .home .match-divider { margin-bottom: 15px; }
    .home .match-meta-tags { gap: 5px; }
    .home .meta-tag { padding: 2px 8px; font-size: 0.65rem; }
    .home .match-widgets-grid .match-status-badge { font-size: 0.65rem; padding: 2px 10px; top: -10px; }
    .home .match-widgets-grid .match-scoreboard { padding: 35px 5px 10px 5px; gap: 2px; }
    .home .match-widgets-grid .team-logo-lg { width: 80px; height: 80px; }
    .home .match-widgets-grid .team-title-lg { font-size: 0.75rem; line-height: 1.1; }
    .home .match-widgets-grid .score-col { width: 30%; margin-top: 5px; }
    .home .match-widgets-grid .score-display-lg { font-size: 2rem; }
    .home .match-widgets-grid .score-display-lg.result-upcoming { font-size: 2rem; }
    .home .match-widgets-grid .scorer-item { font-size: 0.6rem; }
    .home .title-desc h3 { text-align: center; margin-left: 2rem; margin-right:2rem; font-size: 0.8rem; }
}

@media screen and (max-width: 420px) {
    .home .match-widgets-grid .team-logo-lg { width: 64px; height: 64px; }
    .home .match-widgets-grid .score-display-lg { font-size: 1.5rem; }
    .home .match-widgets-grid .score-display-lg.result-upcoming { font-size: 1.5rem; }
}

@media (min-width: 769px) {
    .home .match-widgets-grid { grid-template-columns: 1fr 1fr; }
    .home .next-match-homepage, .home .latest-result-homepage { display: flex; flex-direction: column; height: 100%; }
    .home .widget-footer-info { margin-top: auto; }
}

/* ========================================
   2. ABOUT PAGE STYLES
   ======================================== */
   /* section for Mission, Vision, Values, Objectives */
.about-page-main .title-desc h2 { text-align: center; margin: 0; margin-right: 10rem; margin-left: 10rem; color: var(--secondary-color); font-family: var(--font-body); font-size: 1rem; }

.info-cards-section {
    display: grid;
    /* Creates a 2x2 grid on larger screens */
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.info-cards-section .card {
    padding: 2.5rem;
    text-align: center;
}

.info-cards-section .card h3 {
    font-size: 1.8rem;
    color: var(--secondary-color);
    margin-top: 0;
    margin-bottom: 1rem;
}


.about-page-main .page-header {
    text-align: center;
    margin-bottom: 3rem;
}

.about-page-main .page-title {
    font-size: 3rem;
    font-weight: 700;
    color: var(--secondary-color);
}

.about-content-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
    align-items: center;
}

.about-image-card img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.about-text-card {
    padding: 2rem;
}

.about-text-card h2 {
    font-size: 2rem;
    color: var(--secondary-color);
    margin-top: 0;
    margin-bottom: 1rem;
}

.mission-vision-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

.mission-card, .vision-card {
    padding: 2.5rem;
    text-align: center;
}

.mission-card h3, .vision-card h3 {
    font-size: 1.8rem;
    color: #0073aa;
    margin-top: 0;
    margin-bottom: 1rem;
}

/* Leadership Section */
.leadership-section {
    text-align: center;
}

.leadership-section h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

.leadership-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 4 columns on desktop */
    gap: 1.5rem;
}

.leadership-card {
    background: var(--background);
    border: 3px solid var(--border-color);
    border-radius: 8px;
    padding: 1.5rem;
    text-align: center;
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.leadership-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
}

.leadership-card a {
    text-decoration: none;
    color: #333;
}

.leadership-photo {
    width: 128px;
    height: 128px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 1rem;
    border: 4px solid #f0f0f0;
}

.leadership-card h4 {
    font-size: 1.1rem;
    margin: 0 0 0.5rem 0;
}

.leadership-role {
    font-size: 0.8rem;
    color: #666;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}


/* --- Responsive Styles for Mobile --- */
@media (max-width: 768px) {
    .about-page-main .page-title {
        font-size: 3rem;
    }
    .about-page-main .title-desc h2 { text-align: center; margin-left: 2rem; margin-right:2rem; font-size: 0.8rem; }


    .about-content-wrapper {
        grid-template-columns: 1fr; /* Stack image and text */
    }

    .mission-vision-section {
        grid-template-columns: 1fr; /* Stack mission and vision */
    }

    .leadership-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 columns */
    }

/* Stack all four cards vertically */
    .info-cards-section {
        grid-template-columns: 1fr;
    }
}
/*  About Page Styles section */
.about-page-main .values-card ul,
.about-page-main .objectives-card ul {
    list-style: inside;
}
/* ===========================================
   3. FIXTURES STYLES
   =========================================== */
/* =========================================
    a. ARCHIVE FIXTURE STYLES 
   ========================================= */
   .arch-fixture .page-header {
    margin-top: 1rem;
    margin-bottom: 2rem;
    text-align:center;
}

/* Enhanced table styling */
.arch-fixture .fixture-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin-bottom: 20px;
}

.arch-fixture .fixture-table th {
    background-color: var(--secondary-color);
    color: var(--white-color);
    font-weight: 600;
    border-bottom: 2px solid var(--primary-color);
    padding: 12px 15px;
    text-align: left;
    position: sticky;
    top: 0;
    z-index: 10;
}

.arch-fixture .fixture-table td {
    padding: 12px 15px;
    border-bottom: 1px solid var(--border-color);
    vertical-align: middle;
}

.arch-fixture .fixture-table tbody tr:hover {
    background-color: #f5f5f5;
}

/* === Highlight Next Match Styling === */
.arch-fixture .fixture-table tbody tr.next-match-highlight {
    background-color: #d1e7dd !important; 
    border-left: 5px solid #2e7d32; /* Dark Green Border */
    font-weight: bold;
}

.arch-fixture .fixture-table tbody tr.next-match-highlight:hover {
    background-color: #badbb8 !important; /* Slightly darker green on hover */
}

/* Team info styling */
.arch-fixture .team-info {
    display: flex;
    align-items: center;
}

.arch-fixture .team-crest {
    width: 30px;
    height: 30px;
    margin-right: 10px;
    object-fit: contain;
    filter: drop-shadow(4px 4px 1px rgba(0,0,0,0.1));
}

.arch-fixture .team-name {
    font-weight: 500;
    text-shadow: 2px 2px 0px rgba(0,0,0,0.1);
}

/* Filter controls */
.arch-fixture .fixture-filters {
    display: flex;
    gap: 10px;
    margin-top: 15px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.arch-fixture #competition-filter {
    max-width: 250px;
    padding: 0.7rem 1.2rem;
    border: 3px solid #DCDCDC;
    border-radius: 10px;
    background-color: #fff;
    color: #000;
    font-size: 1rem;
}

/* Sortable column indicators */
.arch-fixture .sortable {
    cursor: pointer;
    user-select: none;
}

.arch-fixture .sortable:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: rgb(0, 0, 0);
}

.arch-fixture .sortable i {
    margin-left: 5px;
    opacity: 0.7;
}

/* Mobile responsive adjustments */
@media screen and (max-width: 768px) {
    .arch-fixture .fixture-table thead {
        display: none;
    }
    
    .arch-fixture .fixture-table, .arch-fixture .fixture-table tbody, .arch-fixture .fixture-table tr, .arch-fixture .fixture-table td {
        display: block;
        width: 100%;
    }
    
    .arch-fixture .fixture-table tr {
        margin-bottom: 15px;
        border: 1px solid var(--border-color);
        border-radius: var(--border-radius);
        padding: 10px;
    }
    
    .arch-fixture .fixture-table td {
        text-align: right;
        padding-left: 50%;
        position: relative;
        border: none;
        border-bottom: 1px solid var(--border-color);
    }
    
    .arch-fixture .fixture-table td:before {
        content: attr(data-label);
        position: absolute;
        left: 10px;
        width: 45%;
        padding-right: 10px;
        text-align: left;
        font-weight: bold;
    }
    
    .arch-fixture .fixture-table td:last-child {
        border-bottom: none;
    }
    
    .arch-fixture .team-info {
        justify-content: flex-end;
    }
    
    .arch-fixture .fixture-filters {
        flex-direction: column;
    }
    
    .arch-fixture #competition-filter {
        max-width: 100%;
    }
}
/* =========================================
   b. SINGLE FIXTURE STYLES
   ========================================= */
   
   .single-fixture .card{
      
   }

/* Match Header Styling */
.single-fixture .match-page-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
}

.single-fixture .match-page-header h1 {
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.single-fixture .match-meta-tags {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.single-fixture .meta-tag {
    background:linear-gradient(135deg,#3a6edc,#2e5aac);
    color: var(--cream);
    padding: 4px 18px;
    border-radius: 20px;
    font-family: var(--font-heading);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow:0 6px 15px rgba(46,90,172,0.3);
}

/* Status Badge */
.single-fixture .match-status-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--primary-color); /* Green for Upcoming */
    color: var(--cream);
    padding: 5px 20px;
    border-radius: 30px;
    font-family: var(--font-heading);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    z-index: 10;
}

/* Main Scoreboard Layout */
.single-fixture .watermark{
    position:absolute;
    top:50%;
    left:50%;
    width:40%;
    max-width:420px;
    transform:translate(-50%,-50%);
    opacity:0.1;
    pointer-events:none;
    z-index:0;
    
}
.single-fixture .watermark svg{
    width:100%;
    height:auto;
    display:block;
}

.single-fixture .match-scoreboard >*:not(.watermark){
    z-index:1;
}


.single-fixture .match-scoreboard {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 3rem 2rem;
    margin-left:10rem;
    margin-right:10rem;
    position: relative;
    border-radius: var(--border-radius);
    border: 2px dashed var(--border-color);
}

/* Team Columns */
.single-fixture .team-col {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.single-fixture .team-logo-lg {
    width: 160px;
    height: 160px;
    object-fit: contain;
    margin-bottom: 1rem;
    filter: drop-shadow(4px 4px 1px rgba(0,0,0,0.1));
}

.single-fixture .team-title-lg {
    text-transform: uppercase;
    font-family: var(--font-heading);
    font-size: 1.8rem;
    margin: 0 0 1.5rem 0;
    color: var(--dark-color);
    line-height: 1.1;
}

.single-fixture .team-title-lg.away {
    color: var(--text-color);
}

/* Center Score Column */
.single-fixture .score-col {
    flex: 0.5;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 ;
    margin-top: 24px;
}

.single-fixture .score-display-lg {
    font-family: var(--font-heading);
    font-size: 4.5rem;
    font-weight: 700;
    line-height: 1;
    color: var(--text-color); /* Default fallback */
    text-shadow: 2px 2px 0px rgba(0,0,0,0.1);
    transition: color 0.3s ease;
}

/* VS Text */
.single-fixture .score-display-lg.vs-text {
    color: var(--primary-color); /* Green for VS */
}

/* SOCIAL SHARE STYLES */
.single-fixture .match-share-section {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #eee;
}

.single-fixture .share-label {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--text-color);
    text-transform: uppercase;
    font-size: 0.9rem;
}

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

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

.single-fixture .share-btn:hover {
    transform: scale(1.1);
    opacity: 0.9;
    color: #fff;
}

.single-fixture .share-btn.facebook { background-color: #1877F2; }
.single-fixture .share-btn.twitter { background-color: #000000; } /* X.com black */
.single-fixture .share-btn.whatsapp { background-color: #25D366; }

/* Match Report/Info Section */
.single-fixture .match-report-section {
    margin-top: 2.5rem;
    padding-top: 2rem;
    margin-left: 6rem;
    margin-right: 6rem;
    border-top: 3px solid var(--border-color);
}

.single-fixture .match-report-section h2 {
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 0.5rem;
    display: inline-block;
    margin-bottom: 1.5rem;
}

.single-fixture .report-content {
    font-family: var(--font-body);
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-color);
}

.single-fixture .report-content p {
    margin-bottom: 1.5rem;
}


    .single-fixture .match-top{
        text-transform: uppercase;
        font-weight:700;
        letter-spacing:1px;
        margin-bottom:20px;
        color:#333;
    }
    
/* Footer Nav Button */
.single-fixture .match-footer-nav {
    text-align: center;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #eee;
}

.single-fixture .button-back-to-archive {
    display: inline-block;
    background-color: var(--secondary-color);
    color: var(--cream);
    padding: 0.7rem 1.2rem;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    font-size: 0.9rem;
    font-family: var(--font-heading);
    text-transform: uppercase;
}

.single-fixture .button-back-to-archive:hover {
    background-color: var(--primary-color);
    color: var(--cream);
}


/* =========================================
   RESPONSIVE MOBILE STYLES
   ========================================= */
   
   
   @media screen and (max-width: 1200px) {
   
   .single-fixture .score-display-lg {
    font-size: 3.5rem;
    
    }
    .single-fixture .team-logo-lg {
        width: 100px;
        height: 100px;
        margin-bottom: 5px;
    }
  }
   
   @media screen and (max-width: 1024px) {
   
   .single-fixture .score-display-lg {
    font-size: 3rem;
    
    }
    .single-fixture .match-scoreboard {
        margin: 5rem;
        flex-direction: row; 
        flex-wrap: nowrap;
        padding: 50px 5px 15px 5px;
        gap: 2px;
        align-items: flex-start;
    }
  }
   
@media screen and (max-width: 768px) {
    
    .single-fixture .match-top{
    font-size: 0.8rem;
    }
    
    .single-fixture .match-scoreboard {
        margin: 2rem;
        flex-direction: row; 
        flex-wrap: nowrap;
        padding: 50px 5px 15px 5px;
        gap: 2px;
        align-items: flex-start;
    }

    .single-fixture .team-col {
        width: 44%;
    }

    .single-fixture .team-logo-lg {
        width: 80px;
        height: 80px;
        margin-bottom: 5px;
    }

    .single-fixture .team-title-lg {
        font-size: 0.9rem;
        margin-bottom: 8px;
        line-height: 1.1;
    }

    .single-fixture .score-col {
        order: 0;
        width: 12%;
        padding: 0;
        background: transparent;
        border: none;
        margin-top: 10px;
    }

    .single-fixture .score-display-lg {
        font-size: 2rem;
        line-height: 1;
    }

    .single-fixture .match-status-badge {
        font-size: 0.65rem;
        padding: 2px 8px;
        top: -10px;
    }

    .single-fixture .match-meta-tags {
        gap: 8px;
    }

    .single-fixture .meta-tag {
        font-size: 0.75rem;
        padding: 3px 8px;
    }
    
    .single-fixture .match-page-header h1 {
        font-size: 1.5rem;
    }

    /* Mobile Share */
    .single-fixture .match-share-section {
        flex-direction: column;
        gap: 10px;
    }
    .single-fixture .match-report-section {
        margin-left: 0;
        margin-right: 0;
    }
}

@media screen and (max-width: 750px) {
   
   .single-fixture .score-display-lg {
    font-size: 1.8rem;
    }
    .single-fixture .match-scoreboard {
        margin: 1rem;

    }
  }
@media screen and (max-width: 400px) {
    
    .single-fixture .match-scoreboard {
        margin: 0;

    }
    .single-fixture .score-display-lg {
        font-size: 1.5rem;
        white-space: nowrap;
        letter-spacing: -1px;
        line-height: 1;
    }

    .single-fixture .score-col {
        width: 25%; 
        margin-top: 8px;
    }

    .single-fixture .team-title-lg {
        font-size: 0.75rem;
        line-height: 1.1;
    }

    .single-fixture .team-logo-lg {
        width: 50px;
        height: 50px;
        margin-bottom: 4px;
    }
    
}
/* ===========================================
   4. RESULTS STYLES
   =========================================== */
/* =========================================
    a. ARCHIVE RESULT STYLES 
   ========================================= */
   .arch-result .page-header {
    margin-top: 1rem;
    margin-bottom: 2rem;
    text-align: center;
}

/* ========================================
   SUMMARY DASHBOARD STYLES (Cream)
======================================== */
.arch-result .results-summary-v2 {
    background-color: var(--cream75);
    border: 3px solid var(--border-color);
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    padding: 2.5rem;
    margin-bottom: 3rem;
    position: relative;
    overflow: hidden;
     
}

.arch-result .summary-content { position: relative; z-index: 1; }

.arch-result .summary-identity {
    text-align: center;
    margin-bottom: 2rem;
}

.arch-result .summary-identity h3 {
    margin: 0;
    font-size: 3rem;
    font-weight: 800;
    color: var(--secondary-color);
    letter-spacing: -0.5px;
    line-height: 1;
}

.arch-result .summary-season {
    display: inline-block;
    margin-top: 0.5rem;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--cream);
    text-transform: uppercase;
    letter-spacing: 2px;
    background: var(--blue);
    padding: 4px 12px;
    border-radius: 20px;
}

.arch-result .summary-body {
    max-width:700px;
    margin:0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
    padding:2rem;
    border: 1px dashed var(--border-color);
    border-radius: 20px;
}

.arch-result .hero-stat {
    flex: 0 0 auto;
    text-align: center;
}

.arch-result .hero-stat-inner {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: var(--cream);
    border: 4px solid var(--blue);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow:0 6px 15px rgba(46,90,172,0.3);
    position: relative;
}

.arch-result .hero-stat-inner::after {
    content: '';
    position: absolute;
    width: 100%; height: 100%;
    border-radius: 50%;
    border: 1px solid var(--blue);
    opacity: 0;
    transform: scale(1.1);
    animation: pulse 2s infinite;
}

 @keyframes pulse {
    0% { transform: scale(1); opacity: 0.5; }
    100% { transform: scale(1.3); opacity: 0; }
}

.arch-result .hero-value {
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--blue);
    line-height: 1;
    font-family: var(--font-heading);
    text-shadow: 2px 2px 0px rgba(0,0,0,0.1);
    transition: color 0.3s ease;
}

.arch-result .hero-label {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #888;
    letter-spacing: 1px;
    margin-top: 5px;
}

.arch-result .record-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.2rem;
}

.arch-result .stat-pill {
    background: var(--cream);
    padding: 0.8rem 1.5rem;
    border-radius: 12px;
    text-align: center;
    border: 1px solid var(--border-color);
    border-left: 4px solid #ccc;
    box-shadow:0 6px 15px rgba(46,90,172,0.3);
    transition: transform 0.2s ease;
    min-width: 100px;
}

.arch-result .stat-pill:hover { transform: translateY(-2px); }

.arch-result .pill-value {
    display: block;
    font-size: 1.8rem;
    font-weight: 800;
    font-family: var(--font-heading);
    line-height: 1.1;
    text-shadow: 2px 2px 0px rgba(0,0,0,0.1);
    transition: color 0.3s ease;
}

.arch-result .pill-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #999;
    font-weight: 600;
}

.arch-result .stat-pill.win { border-left-color: #28a745; }
.arch-result .stat-pill.win .pill-value { color: #28a745; }
.arch-result .stat-pill.draw { border-left-color: #ffc107; }
.arch-result .stat-pill.draw .pill-value { color: #e0a800; }
.arch-result .stat-pill.loss { border-left-color: #dc3545; }
.arch-result .stat-pill.loss .pill-value { color: #dc3545; }
.arch-result .stat-pill.stat-matches { border-left-color: var(--secondary-color); }
.arch-result .stat-pill.stat-matches .pill-value { color: #333; }

.arch-result .summary-footer {
    margin-top: 2.5rem;
    text-align: center;
    padding-top: 1.5rem;
}

/* Mobile Responsive for Summary */
@media screen and (max-width: 768px) {
    .arch-result .results-summary-v2 { padding: 1.5rem; }
    .arch-result .summary-body { flex-direction: column; gap: 2rem; }
    .arch-result .hero-stat { order: -1; }
    .arch-result .hero-stat-inner { width: 120px; height: 120px; }
    .arch-result .hero-value { font-size: 2.8rem; }
    .arch-result .record-stats { grid-template-columns: repeat(2, 1fr); width: 100%; }
    .arch-result .stat-pill { padding: 1rem; }
}


/* ========================================
   OLD MATCH LIST & TABLE STYLES
======================================== */

/* Filter controls */
.arch-result .result-filters {
    display: flex;
    gap: 10px;
    margin-top: 15px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.arch-result #competition-filter, .arch-result #season-filter {
    max-width: 250px;
    padding: 0.7rem 1.2rem;
    border: 3px solid #DCDCDC;
    border-radius: 10px;
    background-color: #fff;
    color: #000;
    font-size: 1rem;
}

/* results table styling */
.arch-result .result-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin-bottom: 20px;
}

.arch-result .result-table th {
    background-color: var(--secondary-color);
    color: var(--white-color);
    font-weight: 600;
    border-bottom: 2px solid var(--primary-color);
    padding: 12px 15px;
    text-align: left;
    position: sticky;
    top: 0;
    z-index: 10;
}

.arch-result .result-table td {
    padding: 12px 15px;
    border-bottom: 1px solid var(--border-color);
    vertical-align: middle;
}

.arch-result .result-table tbody tr:hover {
    background-color: #f5f5f5;
}

/* Highlight Garden Ego FC  */
.arch-result .team-cell.our-team {
    background-color: var(--blue);
    font-weight: 700;
}

.arch-result .team-cell.our-team .team-name {
    color: #fff;
}

.arch-result .team-info {
    display: flex;
    align-items: center;
}

.arch-result .team-crest {
    width: 30px;
    height: 30px;
    margin-right: 10px;
    object-fit: contain;
    filter: drop-shadow(4px 4px 1px rgba(0,0,0,0.1));
}

.arch-result .team-name {
    font-weight: 500;
    text-shadow: 2px 2px 0px rgba(0,0,0,0.1);
    transition: color 0.3s ease;
}

/* Score styling */
.arch-result .score-cell {
    text-align: center;
    font-weight: 700;
    font-family: var(--font-heading);
}

.arch-result .score {
    display: inline-block;
    padding: 5px 10px;
    border-radius: 4px;
}

.arch-result .score.win {
    color: #28a745;
}

.arch-result .score.draw {
    color: #ffc107;
}

.arch-result .score.loss {
    color: #dc3545;
}

/* Sortable column indicators */
.arch-result .sortable {
    cursor: pointer;
    user-select: none;
}

.arch-result .sortable:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: rgb(0, 0, 0);
}

.arch-result .sortable i {
    margin-left: 5px;
    opacity: 0.7;
}

/* Mobile responsive adjustments */
@media screen and (max-width: 768px) {
    .arch-result .result-table thead {
        display: none;
    }
    
    .arch-result .result-table, .result-table tbody, .result-table tr, .result-table td {
        display: block;
        width: 100%;
    }
    
    .arch-result .result-table tr {
        margin-bottom: 15px;
        border: 1px solid var(--border-color);
        border-radius: var(--border-radius);
        padding: 10px;
    }
    
    .arch-result .result-table td {
        text-align: right;
        padding-left: 50%;
        position: relative;
        border: none;
        border-bottom: 1px solid var(--border-color);
    }
    
    .arch-result .result-table td:before {
        content: attr(data-label);
        position: absolute;
        left: 10px;
        width: 45%;
        padding-right: 10px;
        text-align: left;
        font-weight: bold;
    }
    
    .arch-result .result-table td:last-child {
        border-bottom: none;
    }
    
    .arch-result .team-info {
        justify-content: flex-end;
    }
    
    .arch-result .score-cell {
        text-align: right;
    }
    
    .arch-result .result-filters {
        flex-direction: column;
    }
    
    .arch-result #competition-filter, .arch-result #season-filter {
        max-width: 100%;
    }
}
/* =========================================
   b. SINGLE RESULT STYLES
   ========================================= */
 
   .single-result .card{
       
   }

/* Match Header Styling */
.single-result .match-page-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
}

.single-result .match-page-header h1 {
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.single-result .match-meta-tags {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.single-result .meta-tag {
    background:linear-gradient(135deg,#3a6edc,#2e5aac);
    color: var(--cream);
    padding: 4px 18px;
    border-radius: 20px;
    font-family: var(--font-heading);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow:0 6px 15px rgba(46,90,172,0.3);
}

/* Status Badge */
.single-result .match-status-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--primary-color);
    color: var(--cream);
    padding: 5px 20px;
    border-radius: 30px;
    font-family: var(--font-heading);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    z-index: 10;
}

/* Main Scoreboard Layout */
.single-result .watermark{
    position:absolute;
    top:50%;
    left:50%;
    width:40%;
    max-width:420px;
    transform:translate(-50%,-50%);
    opacity:0.1;
    pointer-events:none;
    z-index:0;
    
}
.single-result .watermark svg{
    width:100%;
    height:auto;
    display:block;
}

.single-result .match-scoreboard >*:not(.single-result .watermark){
    z-index:1;
}


.single-result .match-scoreboard {
    
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 3rem 2rem;
    margin-left:10rem;
    margin-right:10rem;
    position: relative;
    border-radius: var(--border-radius);
    border: 2px dashed var(--border-color);
    z-index:1;
}

/* Team Columns */
.single-result .team-col {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.single-result .team-logo-lg {
    width: 128px;
    height: 128px;
    object-fit: contain;
    margin-bottom: 1rem;
    filter: drop-shadow(4px 4px 1px rgba(0,0,0,0.1));
}

.single-result .team-title-lg {
    text-transform: uppercase;
    font-family: var(--font-heading);
    font-size: 1.8rem;
    margin: 0 0 1.5rem 0;
    color: var(--dark-color);
    line-height: 1.1;
}

.single-result .team-title-lg.away {
    color: var(--text-color);
}

/* Scorers List */
.single-result .scorers-list {
    list-style: none;
    padding: 0;
    margin: 0;
    width: 100%;
}

.single-result .scorer-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 0;
    border-bottom: 1px dotted #ccc;
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--text-color);
}

.single-result .scorer-item:last-child {
    border-bottom: none;
}

.single-result .scorer-name {
    font-weight: 600;
}

.single-result .scorer-time {
    color: var(--primary-color);
    font-weight: 700;
}

/* Center Score Column */
.single-result .score-col {
    flex: 0.5;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 ;
    margin-top: 24px;
}

.single-result .score-display-lg {
    font-family: var(--font-heading);
    font-size: 4.5rem;
    font-weight: 700;
    line-height: 1;
    color: var(--text-color); /* Default fallback */
    text-shadow: 2px 2px 0px rgba(0,0,0,0.1);
    transition: color 0.3s ease;
}

/* --- RESULT COLOR CLASSES --- */
.single-result .score-display-lg.result-win {
    color: #28a745; /* Green for Win */
}
.single-result .score-display-lg.result-loss {
    color: var(--primary-color); /* Red for Loss */
}
.single-result .score-display-lg.result-draw {
    color: #e0a800; /* Yellow for Draw */
}

/* --- SOCIAL SHARE STYLES --- */
.single-result .match-share-section {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #eee;
}

.single-result .share-label {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--text-color);
    text-transform: uppercase;
    font-size: 0.9rem;
}

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

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

.single-result .share-btn:hover {
    transform: scale(1.1);
    opacity: 0.9;
    color: #fff;
}

.single-result .share-btn.facebook { background-color: #1877F2; }
.single-result .share-btn.twitter { background-color: #000000; } /* X.com black */
.single-result .share-btn.whatsapp { background-color: #25D366; }

/* Match Report Section */
.single-result .match-report-section {
    margin-top: 2.5rem;
    padding-top: 2rem;
    margin-left: 6rem;
    margin-right: 6rem;
    border-top: 3px solid var(--border-color);
}

.single-result .match-report-section h2 {
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 0.5rem;
    display: inline-block;
    margin-bottom: 1.5rem;
}

.single-result .report-content {
    font-family: var(--font-body);
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-color);
}

.single-result .report-content p {
    margin-bottom: 1.5rem;
}

/* fade lines*/

.single-result .match-divider{
    width:100%;
    height:4px;
    margin:20px 0 30px 0;
    position:relative;
    }
    
.single-result .match-divider::after{
    content:"";
    display:block;
    width:auto;
    height:4px;
    margin:0 auto;
    border-radius:4px;
    background:linear-gradient(
        to right,
        rgba(0,150,0,0),
        #2e7d32,
        rgba(0,150,0,0)
        );
        
    }
.single-result .match-top{
        text-transform: uppercase;
        font-weight:700;
        letter-spacing:1px;
        margin-bottom:20px;
        color:#333;
    }
	/* Footer Nav Button */
.single-result .match-footer-nav {
    text-align: center;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #eee;
}

.single-result .button-back-to-archive {
    display: inline-block;
    background-color: var(--secondary-color);
    color: var(--cream);
    padding: 0.7rem 1.2rem;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    font-size: 0.9rem;
    font-family: var(--font-heading);
    text-transform: uppercase;
}

.single-result .button-back-to-archive:hover {
    background-color: var(--primary-color);
    color: var(--cream);
}



/* =========================================
   RESPONSIVE MOBILE STYLES
   ========================================= */
   
   
   @media screen and (max-width: 1200px) {
   
   .single-result .score-display-lg {
    font-size: 3.5rem;
    
    }
    .single-result .team-logo-lg {
        width: 100px;
        height: 100px;
        margin-bottom: 5px;
    }
  }
   
   @media screen and (max-width: 1024px) {
   
   .single-result .score-display-lg {
    font-size: 3rem;
    
    }
    .single-result .match-scoreboard {
        margin: 5rem;
        flex-direction: row; 
        flex-wrap: nowrap;
        padding: 50px 5px 15px 5px;
        gap: 2px;
        align-items: flex-start;
    }
  }
   
@media screen and (max-width: 768px) {
    
    .single-result .match-top{
    font-size: 0.8rem;
    }
    
    .single-result .match-scoreboard {
        margin: 2rem;
        flex-direction: row; 
        flex-wrap: nowrap;
        padding: 50px 5px 15px 5px;
        gap: 2px;
        align-items: flex-start;
    }

    .single-result .team-col {
        width: 44%;
    }

    .single-result .team-logo-lg {
        width: 80px;
        height: 80px;
        margin-bottom: 5px;
    }

    .single-result .team-title-lg {
        font-size: 0.9rem;
        margin-bottom: 8px;
        line-height: 1.1;
    }

    .single-result .score-col {
        order: 0;
        width: 12%;
        padding: 0;
        background: transparent;
        border: none;
        margin-top: 10px;
    }

    .single-result .score-display-lg {
        font-size: 2rem;
        line-height: 1;
    }

    .single-result .scorer-item {
        font-size: 0.7rem;
        padding: 2px 0;
        line-height: 1.2;
    }

    .single-result .match-status-badge {
        font-size: 0.65rem;
        padding: 2px 8px;
        top: -10px;
    }

    .single-result .match-meta-tags {
        gap: 8px;
    }

    .single-result .meta-tag {
        font-size: 0.75rem;
        padding: 3px 8px;
    }
    
    .single-result .match-page-header h1 {
        font-size: 1.5rem;
    }

    /* Mobile Share */
    .single-result .match-share-section {
        flex-direction: column;
        gap: 10px;
    }
    .single-result .match-report-section {
        margin-left: 0;
        margin-right: 0;
    }
}

@media screen and (max-width: 750px) {
   
   .single-result .score-display-lg {
    font-size: 1.8rem;
    }
    .single-result .match-scoreboard {
        margin: 1rem;

    }
  }
@media screen and (max-width: 400px) {
    
    .single-result .match-scoreboard {
        margin: 0;

    }
    .single-result .score-display-lg {
        font-size: 1.5rem;
        white-space: nowrap;
        letter-spacing: -1px;
        line-height: 1;
    }

    .single-result .score-col {
        width: 25%; 
        margin-top: 8px;
    }

    .single-result .team-title-lg {
        font-size: 0.75rem;
        line-height: 1.1;
    }

    .single-result .team-logo-lg {
        width: 50px;
        height: 50px;
        margin-bottom: 4px;
    }
    
}
   
 /* =========================================
   5. LEAGUE TABLE PAGE STYLES
   ========================================= */
   .league-table .page-header {
    margin-top: 1rem;
    margin-bottom: 2rem;
    text-align: center;
}
   .league-table .card {
	   padding: 2.5rem !important;
   }
   
.league-table .standings-wrapper {
    overflow-x: auto;
    background-color: rgba(243, 238, 217, 0.3);
    border-radius: var(--border-radius);
    border: 2px dashed var(--secondary-color); 
    padding: 20px;
    margin-top: 1rem;
}

.league-table .league-standings-table {
    width: 100%;
    border-collapse: collapse;
    text-align: center;
    font-family: var(--font-heading);
}

.league-table .league-standings-table thead th {
    background-color: var(--secondary-color);
    color: var(--cream);
    padding: 12px 10px;
    font-size: 0.9rem;
    letter-spacing: 1px;
    border-bottom: 3px solid var(--primary-color);
}

.league-table .league-standings-table tbody tr {
    border-bottom: 1px solid var(--secondary-color); 
    transition: background-color 0.2s ease;
}

.league-table .league-standings-table tbody tr:last-child {
    border-bottom: none;
}

/* --- ROW COLORS --- */

/* Champion (Yellow) */
.league-table .league-standings-table tbody tr.row-champion td {
    background-color: #FFD54F;
}

/* Promotion (Green) */
.league-table .league-standings-table tbody tr.row-promotion td {
    background-color: #A5D6A7;
}

/* Relegated (Red) */
.league-table .league-standings-table tbody tr.row-relegated td {
    background-color: #EF9A9A;
}

/* --- OUR TEAM HIGHLIGHT --- */
.league-table .league-standings-table tbody tr.row-our-team td {
    background-color: #3e81c3; /* Your requested Blue */
    color: #ffffff; /* White text for readability */
    font-weight: 800;
}

.league-table .league-standings-table tbody tr.row-our-team .team-identity span,
.league-table  .league-standings-table tbody tr.row-our-team .pts {
    color: #ffffff;
}

/* --- LOGO STYLING --- */
.league-table .team-logo-sm {
    width: 64px;
    height: 64px;
    object-fit: contain;
	filter: drop-shadow(4px 4px 1px rgba(0,0,0,0.1));
   
}

/* Hover Effect */
.league-table .league-standings-table tbody tr:hover td {
    opacity: 0.9;
    filter: brightness(0.97);
}

/* General Cell Styling */
.league-table .league-standings-table tbody td {
    padding: 15px 10px;
    color: var(--dark-color);
    font-size: 1rem;
    vertical-align: middle;
}

.league-table .league-standings-table .pos {
    font-weight: 700;
    color: var(--blue); 
    font-size: 1.1rem;
    width: 40px;
}

/* Team Rank  */
.league-table .league-standings-table tbody tr.row-our-team .pos {
    color: #ffffff;
}

.league-table .league-standings-table .team-name {
    text-align: left;
    min-width: 100px;
}

.league-table .team-identity {
    display: flex;
    align-items: center;
    gap: 15px;
}

.league-table .team-identity span {
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-color);
	text-shadow: 2px 2px 0px rgba(0,0,0,0.1);
    transition: color 0.3s ease;
}

.league-table .league-standings-table .pts {
    color: var(--blue);
    font-size: 1.2rem;
}

.league-table .entry-content {
    margin-bottom: 2rem;
}
.league-table .entry-content h1 {
		margin-bottom: 1.2rem;
	}

/* --- LEGEND STYLING --- */
.league-table .table-legend {
    display: flex;
    gap: 20px;
    margin-top: 1rem;
    padding: 10px;
    justify-content: center;
    flex-wrap: wrap;
    align-items: center;
}

.league-table .legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    text-transform: uppercase;
    color: var(--text-color);
}

.league-table .legend-item.date {
    margin-right: auto; /* Pushes date to the far left if flex allows */
    background: var(--secondary-color);
    color: var(--cream);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
}

.league-table .legend-item.date i {
    margin-right: 5px;
}

.league-table .legend-box {
    width: 15px;
    height: 15px;
    border-radius: 3px;
    border: 1px solid rgba(0,0,0,0.1);
}

.league-table .legend-item.champion .legend-box { background-color: #FFD54F; }
.league-table .legend-item.promotion .legend-box { background-color: #A5D6A7; }
.league-table .legend-item.relegated .legend-box { background-color: #EF9A9A; }

@media screen and (max-width: 1023px) {
	.league-table .team-logo-sm {
    width: 50px;
    height: 50px;
	}	
}

@media screen and (max-width: 768px) {
    .league-table .standings-wrapper { padding: 0px; }
    .league-table .league-standings-table thead th { font-size: 0.7rem; padding: 8px 5px; }
    .league-table .league-standings-table tbody td { font-size: 0.85rem; padding: 10px 5px; }
    .league-table .team-identity span { font-size: 0.7rem; }
    
    /* Stack legend items vertically on mobile */
    .league-table .table-legend { 
        flex-direction: column; 
        align-items: center; 
        gap: 10px; 
    }
    .league-table .legend-item.date { 
        margin-right: 0; 
        margin-bottom: 5px;
    }
	.league-table .entry-content h3 {
		font-size: 1.2rem;
	}
	
	.league-table .league-standings-table .pts {
    font-size: 0.8rem;
	}

	.league-table .team-logo-sm {
    width: 35px;
    height: 35px;
	}
	.league-table .card {
	   padding: 1rem !important;
   }
}
@media screen and (max-width: 400px) {
	
	.league-table .team-logo-sm {
    width: 30px;
    height: 30px;
	}
	
	.league-table .standings-wrapper { padding: 0px; }
    .league-table .league-standings-table thead th { font-size: 0.6rem; padding: 8px 5px; }
    .league-table .league-standings-table tbody td { font-size: 0.7rem; padding: 10px 5px; }
    .league-table .team-identity span { font-size: 0.6rem; }
}
/* ===========================================
   6. SQUAD STYLES
   =========================================== */
/* =========================================
    a. ARCHIVE PLAYERS STYLES 
   ========================================= */
/* ========================================
   GLOBAL & SCORERS SECTION 
======================================== */
.arch-player .page-header { margin-top: 1rem; text-align: center; margin-bottom: 1rem; }
.arch-player .title-desc h3 { text-align: center; margin: 0; margin-right: 10rem; margin-left: 10rem; color: var(--secondary-color); font-family: var(--font-body); font-size: 1rem; }

.arch-player .scorers-summary-section {
    background-color: var(--cream75);
    border: 3px solid var(--border-color);
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 3rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    /* NEW: Constrain width */
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.arch-player .summary-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.5rem; flex-wrap: wrap; gap: 1rem; }
.arch-player .summary-header h2 { margin: 0; font-size: 1.8rem; color: var(--secondary-color); font-family: var(--font-heading); }
.arch-player .summary-header h2 i { margin-right: 10px; color: var(--blue); }

.arch-player .scorers-filters { display: flex; gap: 10px; margin-bottom: 2rem; flex-wrap: wrap; }
.arch-player .scorers-filters .form-control { flex: 1; min-width: 200px; padding: 0.8rem 1.2rem; border: 3px solid #DCDCDC; border-radius: 10px; background-color: #fff; font-size: 1rem; }
.arch-player .scorers-filters .button { background-color: var(--secondary-color); color: #fff; border: none; padding: 0.8rem 1.5rem; border-radius: 10px; cursor: pointer; font-weight: 600; }
.arch-player .btn-filter-reset { background-color: #aaa !important; }

.arch-player .scorers-table-wrapper { border-radius: 12px; overflow: hidden; border: 2px dashed var(--border-color); }
.arch-player .scorers-table { width: 100%; border-collapse: collapse; background: var(--cream25); }
.arch-player .scorers-table th { background-color: var(--secondary-color); color: var(--cream); padding: 12px 15px; text-align: left; font-size: 0.9rem; text-transform: uppercase; }
.arch-player .scorers-table td { padding: 12px 15px; border-bottom: 1px solid #f0f0f0; vertical-align: middle; }
.arch-player .rank-cell { font-weight: 800; color: var(--blue); font-size: 1.5rem; width: 40px; text-shadow: 2px 2px 0px rgba(0,0,0,0.1); }
.arch-player .top-scorer-1 .rank-cell { color: #EFBF04; }
.arch-player .top-scorer-2 .rank-cell { color: #A8A9AD; }
.arch-player .top-scorer-3 .rank-cell { color: #cd7f32; }
.arch-player .player-cell a { font-weight: 700; color: var(--secondary-color); text-decoration: none; text-shadow: 2px 2px 0px rgba(0,0,0,0.1); font-size: 1.1rem; }
.arch-player .player-cell a:hover { color: var(--blue); }
.arch-player .goals-cell { text-align: right; }
.arch-player .goal-count-pill { display: inline-block; background: var(--blue); color: #fff; padding: 4px 12px; border-radius: 20px; font-weight: 700; font-size: 0.9rem; }


/* ========================================
   PREMIUM COLLECTOR CARDS
======================================== */
.arch-player .player-grid-header { margin-bottom: 1.5rem; text-align: center; padding-bottom: 0.5rem; }
.arch-player .player-grid-header h3 { margin: 0; text-transform: uppercase; letter-spacing: 1px; color: var(--secondary-color); }

/* DESKTOP: 4 Cards per Row */
.arch-player .player-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); 
    gap: 25px;
}

.arch-player .player-card {
    perspective: 1000px;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
	border-radius: 14px;
}

.arch-player .player-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 25px 50px rgba(0,0,0,0.25);
    z-index: 5;
}

.arch-player .card-link-wrapper {
    display: block;
    text-decoration: none;
    color: inherit;
    height: 100%;
}

.arch-player .card-frame {
    background: linear-gradient(135deg, #fff 0%, #e6e6e6 100%);
    border-radius: 14px;
    padding: 8px; 
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    transform: none; 
    transition: none;
}

.arch-player .player-card:hover .card-frame {
    transform: none;
    box-shadow: none;
}

.arch-player .card-inner-line {
    position: absolute;
    top: 8px; left: 8px; right: 8px; bottom: 8px;
    border: 2px solid var(--secondary-color); 
    border-radius: 10px;
    pointer-events: none;
    z-index: 2;
}

.arch-player .card-content {
    position: relative;
    background: #f4f4f4;
    border-radius: 10px;
	margin: 6px;	
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 380px; 
}


.arch-player .card-header-bar {
    background: var(--secondary-color);
    color: #fff;
    padding: 8px 12px;
    display: flex;
    justify-content: space-between;
    font-size: 0.7rem; 
    font-weight: 700;
    z-index: 10;
    letter-spacing: 1px;
    border-bottom: 1px solid rgba(255,255,255,0.2);
    flex-shrink: 0;
}

.arch-player .card-image-area {
    position: relative;
    flex-grow: 1;
    background: radial-gradient(circle at 50% 30%, #ffffff 0%, #e0e0e0 100%);
    overflow: hidden;
    min-height: 150px;
}

.arch-player .card-bg-pattern {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    opacity: 0.1;
    background-image: repeating-linear-gradient(45deg, #000 0, #000 1px, transparent 0, transparent 50%);
    background-size: 10px 10px;
    z-index: 1;
}

.arch-player .player-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
}

.arch-player .player-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}



/* --- GOALS BADGE & RANK STYLING --- */
.arch-player .card-stat-badge-top {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(255, 255, 255, 0.95);
    border: 2px solid var(--secondary-color); 
    border-radius: 20px; 
    padding: 4px 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 20;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    line-height: 1.1;
    transition: all 0.3s ease;
}

/* Rank Colors (Borders & Text) */
.arch-player .card-stat-badge-top.rank-gold {
    border-color: #FFD700;
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.4);
}
.arch-player .card-stat-badge-top.rank-gold .stat-val { color: #DAA520; }

.arch-player .card-stat-badge-top.rank-silver {
    border-color: #A8A9AD;
    box-shadow: 0 0 8px rgba(192, 192, 192, 0.4);
}
.arch-player .card-stat-badge-top.rank-silver .stat-val { color: #808080; }

.arch-player .card-stat-badge-top.rank-bronze {
    border-color: #cd7f32;
    box-shadow: 0 0 8px rgba(205, 127, 50, 0.4);
}
.arch-player .card-stat-badge-top.rank-bronze .stat-val { color: #8B4513; }

/* Crown Icon for 1st Place */
.arch-player .crown-icon {
    color: #FFD700;
    font-size: 0.8rem;
    margin-bottom: 2px;
    text-shadow: 0 1px 1px rgba(0,0,0,0.2);
}
/* Crown Icon for 2nd Place */
.arch-player .crown-icon2 {
    color: #A8A9AD;
    font-size: 0.8rem;
    margin-bottom: 2px;
    text-shadow: 0 1px 1px rgba(0,0,0,0.2);
}
/* Crown Icon for 3rd Place */
.arch-player .crown-icon3 {
    color: #cd7f32;
    font-size: 0.8rem;
    margin-bottom: 2px;
    text-shadow: 0 1px 1px rgba(0,0,0,0.2);
}

.arch-player .stat-val {
    font-size: 1rem;
    font-weight: 900;
    color: var(--secondary-color);
    line-height: 1;
    font-family: var(--font-heading);
}

.arch-player .stat-label {
    font-size: 0.5rem; 
    color: var(--blue);
    text-transform: uppercase;
    font-weight: 700;
    line-height: 1;
    margin-top: 2px;
}

/* --- NAMEPLATE FOOTER --- */
.arch-player .card-nameplate {
    background: linear-gradient(180deg, rgba(0,0,0,0.8) 0%, #000 100%);
    padding: 10px 15px; 
    display: flex;
    align-items: center;
    justify-content: space-between; 
    z-index: 10;
    position: relative;
    flex-shrink: 0; 
    border-top: 1px solid rgba(255,255,255,0.1);
    min-height: 65px; 
}

.arch-player .card-nameplate::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 3px;
    background: var(--blue);
}

.arch-player .name-group {
    flex-grow: 1;
    min-width: 0;
    padding-right: 10px;
}

.arch-player .player-name {
    color: #fff;
    text-transform: uppercase;
    font-size: 1rem; 
    font-weight: 900;
    margin: 0;
    line-height: 1.1;
    font-family: var(--font-heading);
    text-shadow: 1px 1px 0px rgba(0,0,0,0.5);
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
}

.arch-player .player-nickname {
    color: #ccc;
    font-size: 0.7rem; 
    font-style: italic;
    display: block;
    margin-top: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.arch-player .card-jersey-footer {
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--blue);
    font-family: var(--font-heading);
    line-height: 1;
    text-shadow: 2px 2px 0px rgba(0,0,0,0.5);
    flex-shrink: 0;
}

.arch-player .holo-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(135deg, 
        rgba(255,255,255,0) 0%, 
        rgba(255,255,255,0) 40%, 
        rgba(255,255,255,0.5) 50%, 
        rgba(255,255,255,0) 60%, 
        rgba(255,255,255,0) 100%);
    background-size: 200% 200%;
    background-position: 100% 100%;
    pointer-events: none;
    z-index: 20;
    opacity: 0;
    transition: opacity 0.3s ease, background-position 0.5s ease;
    mix-blend-mode: overlay;
}

.arch-player .player-card:hover .holo-overlay {
    opacity: 1;
    background-position: 0% 0%;
}

/* ========================================
   RESPONSIVE ADJUSTMENTS
======================================== */

/* Tablet (2 Cards per Row) */
@media screen and (max-width: 1100px) {
    .arch-player .player-grid {
        grid-template-columns: repeat(2, 1fr); 
        gap: 20px;
    }
    
    .arch-player .card-content { min-height: 400px; }
    .arch-player .player-name { font-size: 1.2rem; }
    .arch-player .card-jersey-footer { font-size: 2.2rem; }
}

/* Mobile (2 Cards per Row) */
@media screen and (max-width: 768px) {
    /* Make table container full width on mobile */
    .arch-player .scorers-summary-section {
        max-width: 100%;
    }

    .arch-player .player-grid {
        grid-template-columns: repeat(2, 1fr); 
        gap: 12px;
    }

    .arch-player .card-frame {
        padding: 5px; 
    }

    .arch-player .card-inner-line {
        top: 5px; left: 5px; right: 5px; bottom: 5px;
    }

    .arch-player .card-content {
        min-height: 280px;
		margin: 4px;
    }
    
    .arch-player .card-header-bar {
        padding: 6px 10px;
        font-size: 0.6rem;
    }

    .arch-player .card-nameplate {
        padding: 8px;
        min-height: 55px;
    }

    .arch-player .player-name { 
        font-size: 0.8rem; 
    }

    .arch-player .player-nickname {
        font-size: 0.6rem;
        display: block; 
    }

    .arch-player .card-jersey-footer {
        font-size: 1.4rem;
    }

    .arch-player .card-stat-badge-top {
        padding: 3px 8px;
        top: 5px;
        right: 5px;
    }
    .arch-player .stat-val { font-size: 0.9rem; }
    .arch-player .stat-label { font-size: 0.45rem; }
    .arch-player .crown-icon { font-size: 0.7rem; }
    .arch-player .title-desc h3 { text-align: center; margin-left: 2rem; margin-right:2rem; font-size: 0.8rem; }
}
/* ========================================
   b. SINGLE PLAYER STYLES
======================================== */

.single-player .single-player-wrapper {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.single-player .back-to-squad-btn {
    display: inline-block;
    margin-bottom: 20px;
    color: var(--cream);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    background-color: var(--blue);
    border-radius: 6px;
    padding: 8px;
}

/* ========================================
   ANIMATION LOGIC (Separated for Stability)
======================================== */

/* 1. THE OUTER CONTAINER: Handles the LIFT */
.single-player .flip-card-scene {
    width: 100%;
    max-width: 300px;
    aspect-ratio: 2.5 / 3.5;
    perspective: 1200px;
    cursor: pointer;
    /* Only transition the transform (lift) and shadow here */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Lifted State (Activated by JS) */
.single-player .flip-card-scene.card-lifted {
    transform: translateY(-15px); /* Move Up */
}

/* 2. THE INNER CONTAINER: Handles the FLIP */
.single-player .flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    /* Only transition the rotation here */
    transition: transform 0.6s cubic-bezier(0.4, 0.0, 0.2, 1);
    transform-style: preserve-3d;
    transform: rotateY(0deg);
}

/* Flipped State */
.single-player .flip-card-scene.is-flipped .flip-card-inner {
    transform: rotateY(180deg);
}

/* FACES */
.single-player .player-card {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    border-radius: 20px;
    pointer-events: none; 
    transform: translateZ(0); 
}

.single-player .front-card { z-index: 2; transform: rotateY(0deg); }
.single-player .back-card { transform: rotateY(180deg); }

@media (min-width: 900px) {
    .single-player .flip-card-scene { max-width: 360px; }
}

/* ========================================
   CARD DESIGN
======================================== */
.single-player .card-frame {
    background: linear-gradient(135deg, #fff 0%, #e6e6e6 100%);
    border-radius: 16px;
    padding: 10px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    position: relative;
    overflow: hidden;
    height: 100%; 
    width: 100%;
    display: flex;
    flex-direction: column;
    /* Shadow grows when parent .flip-card-scene is lifted */
    .card-lifted & {
        box-shadow: 0 30px 60px rgba(0,0,0,0.25);
    }
}

.single-player .card-inner-line {
    position: absolute;
    top: 7px; left: 7px; right: 7px; bottom: 7px;
    border: 3px solid var(--secondary-color);
    border-radius: 14px;
    pointer-events: none;
    z-index: 2;
}

.single-player .card-content {
    position: relative;
    top: 0.70%; left: 1%; right: 1%; bottom: 0.75%;
    background: #f4f4f4;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 98.5%;
    width: 98%;
}

.single-player .card-header-bar {
    background: var(--secondary-color);
    color: #fff;
    padding: 10px 15px;
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    font-weight: 700;
    z-index: 10;
    letter-spacing: 1px;
    border-bottom: 1px solid rgba(255,255,255,0.2);
    flex-shrink: 0; 
}

.single-player .card-nameplate {
    background: linear-gradient(180deg, rgba(0,0,0,0.8) 0%, #000 100%);
    padding: 12px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 10;
    border-top: 4px solid var(--blue);
    margin-top: auto; 
    flex-shrink: 0; 
}

.single-player .card-jersey-footer { font-size: 2.5rem; font-weight: 900; color: var(--blue); line-height: 1; }
.single-player .name-group { flex-grow: 1; }
.single-player .player-name { color: #fff; text-transform: uppercase; font-size: 1.2rem; margin: 0; line-height: 1.1; font-family: var(--font-heading); }
.single-player .player-nickname { color: #ccc; font-size: 0.8rem; display: block; margin-top: 2px; }

/* ========================================
   FRONT CARD SPECIFICS
======================================== */
.single-player .front-card .card-image-area {
    position: relative;
    flex-grow: 1; 
    background: radial-gradient(circle at 50% 30%, #ffffff 0%, #e0e0e0 100%);
    min-height: 0; 
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden; 
}

.single-player .front-card .card-bg-pattern {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    opacity: 0.08;
    background-image: repeating-linear-gradient(45deg, #000 0, #000 1px, transparent 0, transparent 50%);
    z-index: 1;
}

.single-player .front-card .card-watermark-number {
    position: absolute; top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    font-size: 8rem; font-weight: 900;
    color: rgba(0,0,0,0.03); z-index: 1; pointer-events: none;
}

.single-player .front-card .player-image-wrapper { position: relative; z-index: 5; width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; }
.single-player .front-card .player-photo { width: 100%; height: 100%; object-fit: cover; object-position: top center; }

/* BADGE STYLES */
.single-player .card-stat-badge-top {
    position: absolute; top: 10px; right: 10px;
    background: rgba(255, 255, 255, 0.95);
    border: 2px solid var(--secondary-color);
    border-radius: 20px; padding: 4px 10px;
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    z-index: 20; box-shadow: 0 4px 8px rgba(0,0,0,0.2); line-height: 1.1;
}
.single-player .card-stat-badge-top.rank-gold .stat-val { color: #DAA520; }
.single-player .card-stat-badge-top.rank-silver .stat-val { color: #808080; }
.single-player .card-stat-badge-top.rank-bronze .stat-val { color: #8B4513; }

.single-player .card-stat-badge-top.rank-gold { border-color: #FFD700;  box-shadow: 0 0 10px rgba(255, 215, 0, 0.4); }
.single-player .card-stat-badge-top.rank-silver { border-color: #A8A9AD;  box-shadow: 0 0 8px rgba(192, 192, 192, 0.4); }
.single-player .card-stat-badge-top.rank-bronze { border-color: #cd7f32;  box-shadow: 0 0 8px rgba(205, 127, 50, 0.4); }

.single-player .crown-icon, .single-player .crown-icon2, .single-player .crown-icon3 { font-size: 0.8rem; margin-bottom: 2px; }
.single-player .crown-icon { color: #FFD700; }
.single-player .crown-icon2 { color: #A8A9AD; }
.single-player .crown-icon3 { color: #cd7f32; }

.single-player .stat-val { font-size: 1rem; font-weight: 900; color: var(--secondary-color); line-height: 1; font-family: var(--font-heading); }
.single-player .stat-label { font-size: 0.5rem; color: var(--blue); text-transform: uppercase; font-weight: 700; line-height: 1; margin-top: 2px; }

/* ========================================
   BACK CARD SPECIFICS
======================================== */

.single-player .watermark{
    position:absolute;
    top:27%;
    left:70%;
    width:45%;
    max-width:420px;
    transform:translate(-50%,-50%);
    opacity:0.15;
    pointer-events:none;
    z-index:-1;
    
}
.single-player .watermark svg{
    width:100%;
    height:auto;
    display:block;
}





.single-player .back-card .card-header-bar { background: var(--blue); }

.single-player .back-card .dashboard-inner {
    padding: 15px; flex-grow: 1; overflow-y: auto; overflow-x: hidden;
    display: flex; flex-direction: column; gap: 15px; z-index: 5; position: relative;
}

.single-player .passport-section { background: #fff; border-radius: 8px; padding: 15px; box-shadow: 0 2px 5px rgba(0,0,0,0.05); }
.single-player .passport-top-grid { display: flex; gap: 15px; align-items: flex-start; }
.single-player .passport-photo-col { flex-shrink: 0; width: 128px; }

.single-player .passport-photo-frame {
    width: 120px; height: 150px; background: #eee;
    border: 2px solid var(--secondary-color); overflow: hidden; border-radius: 4px;
}

.single-player .passport-photo-frame img { width: 100%; height: 100%; object-fit: cover; object-position: top; }

.single-player .passport-info-col { flex-grow: 1; display: flex; flex-direction: column; justify-content: flex-start; gap: 4px; z-index: 1; }
.single-player .passport-divider { height: 1px; background: var(--secondary-color); margin: 12px 0; }
.single-player .passport-bottom-grid { display: flex; justify-content: space-between; gap: 10px; }

.single-player .info-line { display: flex; flex-direction: column; padding-bottom: 2px; }
.single-player .info-label { font-size: 0.6rem; text-transform: uppercase; color: #888; font-weight: 600; }
.single-player .info-val { font-size: 0.8rem; font-weight: 700; color: #222; line-height: 1.2; }

.single-player .passport-bottom-grid .info-line { text-align: center; border-bottom: none; }
.single-player .passport-bottom-grid .info-val { font-size: 0.8rem; }

.single-player .passport-bio { background: #fff; padding: 12px; border-radius: 8px; flex-grow: 1; }
.single-player .passport-bio h4 { margin: 0 0 6px 0; font-size: 0.7rem; text-transform: uppercase; color: var(--secondary-color); font-weight: 700; }
.single-player .passport-bio .bio-text { font-size: 0.8rem; line-height: 1.5; color: #444; max-height: 100px; overflow-y: auto; }

.single-player .dashboard-inner::-webkit-scrollbar, .single-player .passport-bio .bio-text::-webkit-scrollbar { width: 4px; }
.single-player .dashboard-inner::-webkit-scrollbar-track, .single-player .passport-bio .bio-text::-webkit-scrollbar-track { background: #f1f1f1; }
.single-player .dashboard-inner::-webkit-scrollbar-thumb, .single-player .passport-bio .bio-text::-webkit-scrollbar-thumb { background: #ddd; border-radius: 2px; }

/* ========================================
   SHINE EFFECT (WITH SAFETY LOCK)
======================================== */
.single-player .holo-overlay {
    position: absolute; top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0) 40%, rgba(255,255,255,0.6) 50%, rgba(255,255,255,0) 60%, rgba(255,255,255,0) 100%);
    background-size: 200% 200%;
    background-position: 100% 100%;
    pointer-events: none; 
    z-index: 20;
    opacity: 0;
    transition: opacity 0.3s ease, background-position 0.5s ease;
    mix-blend-mode: overlay;
}

/* Only show shine if hovering AND not animating */
.single-player .flip-card-scene.card-lifted .holo-overlay {
    opacity: 1;
    background-position: 0% 0%;
}

/* THE LOCK: Force hide during animation */
.single-player .flip-card-scene.is-animating .holo-overlay {
    opacity: 0 !important;
    transition: none !important;
}

/* ========================================
   HINT TEXT
======================================== */
.single-player .flip-hint {
    position: absolute; bottom: 0px; width: 100%; text-align: center;
    font-size: 0.6rem; color: rgba(255,255,255,0.5); z-index: 25;
    text-transform: uppercase; letter-spacing: 1px; pointer-events: none;
    text-shadow: 0 1px 2px rgba(0,0,0,0.5);
}
.single-player .flip-hint-back {
    position: absolute; bottom: 0px; width: 100%; text-align: center;
    font-size: 0.6rem; color: rgba(0,0,0,0.5); z-index: 25;
    text-transform: uppercase; letter-spacing: 1px; pointer-events: none;
    text-shadow: 0 1px 2px rgba(0,0,0,0.5);
}

/* ========================================
   RESPONSIVE
======================================== */
@media (max-width: 899px) {
    .single-player .flip-card-scene { max-width: 300px; }
    .single-player .passport-photo-col { width: 90px; }
    .single-player .passport-photo-frame { width: 90px; height: 115px; }
    .single-player .info-val { font-size: 0.6rem; }
    .single-player .info-label { font-size: 0.5rem; }
    .single-player .passport-bottom-grid .info-val { font-size: 0.6rem; }
    .single-player .passport-bio .bio-text { font-size: 0.6rem; max-height: 80px; }
}    

/* ========================================
   7. STAFF ARCHIVE GRID LAYOUT (RESPONSIVE)
   ======================================== */

.staff-grid {
    display: grid;
    /* Default for desktop: 4 equal columns */
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* --- Media Query for Tablets and Mobile --- */
@media (max-width: 768px) {
    .staff-grid {
        /* Override for mobile: 2 equal columns */
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

.staff-card {
    background: var(--background);
    border: 3px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

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

.staff-thumbnail {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
}

.staff-info {
    padding: 15px;
}

.staff-name {
    font-size: 18px;
    margin: 0 0 5px 0;
}

.staff-name a {
    color: var(--secondary-color);
    text-decoration: none;
}

.staff-name a:hover {
	color: var(--primary-color);
}

.staff-role {
    font-size: 14px;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0;
}
/* ========================================
   SINGLE STAFF PROFILE PAGE STYLES
   ======================================== */

.single-staff .staff-profile {
    max-width: 800px;
    margin: 40px auto;
    padding: 30px;
    background: var(--background);
	border: 3px solid var(--border-color);
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

/* Back to Squad Link */
.single-staff .back-to-squad {
    display: inline-block;
    margin-bottom: 20px;
    color: #0073aa;
    text-decoration: none;
    font-weight: bold;
}
.single-staff .back-to-squad:hover {
    color: var(--primary-color);
}

/* Profile Header Section */
.single-staff .profile-header {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-bottom: 30px;
    padding-bottom: 30px;
}

.single-staff .staff-photo {
    flex-shrink: 0; /* Prevents the image from shrinking */
}
.single-staff .staff-photo img {
    max-width: 400px;
    height: 500px;
    object-fit: cover; /* Makes the image cover the area without distortion */
    /*border-radius: 50%; /* Makes the image a circle */
    border: 5px solid #f0f0f0;
}

.single-staff .staff-info {
    text-align: center;
}

.single-staff .player-number {
    font-size: 72px;
    font-weight: bold;
    line-height: 1;
    color: #73d7ff; /* A light grey for the background number */
    position: absolute;
    z-index: 0;
}

.single-staff .staff-name {
    font-size: 36px;
    margin: 10px 0 0;
    position: relative;
    z-index: 1;
}

.single-staff .staff-role {
    font-size: 18px;
    font-style: italic;
    color: #666;
    margin: 5px 0;
}

.single-staff .player-position {
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #0073aa;
    font-weight: bold;
    margin: 0;
}

/* Profile Body Section */
.single-staff .profile-body {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.single-staff .player-details {
    display: flex;
    justify-content: center;
    gap: 40px; /* Space between the details */
}

.single-staff .player-detail {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.single-staff .detail-label {
    font-size: 14px;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.single-staff .detail-value {
    font-size: 20px;
    font-weight: bold;
    color: #333;
}

.single-staff .staff-bio h3 {
    font-size: 24px;
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.single-staff .bio-content {
    font-size: 16px;
    line-height: 1.7;
    color: #444;
}


/* --- Responsive Styles for Mobile --- */
@media (max-width: 768px) {
    .single-staff .profile-header {
        flex-direction: column;
        text-align: center;
    }

    .single-staff .staff-photo img {
        width: 300px;
        height: 300px;
    }

    

    .single-staff .staff-details {
        flex-direction: column;
        gap: 20px;
    }
}
/* ========================================
   8. ACADEMY PAGE STYLES
   ======================================== */
   
   .academy-page-main .page-header {
    margin-top: 1rem;
    margin-bottom: 2rem;
    text-align:center;
}

.academy-page-main .academy-intro {
    margin-bottom: 40px;
    text-align: center;
}

.academy-group-wrapper {
    margin-bottom: 60px;
    padding-bottom: 40px;
    border-bottom: 2px solid var(--border-color);
}
.academy-group-wrapper:last-of-type {
    border-bottom: none;
    margin-bottom: 0;
}

.academy-group-header {
    margin-bottom: 30px;
    text-align: center;
}
.academy-group-title {
    font-size: 2.2rem;
    color: var(--secondary-color); 
}

.academy-content-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    align-items: flex-start;
}

.academy-image-card {
    flex: 1;
    min-width: 300px;
}

.academy-image-card img {
    width: 100%;
    height: auto;
	border: 3px solid var(--border-color);
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.academy-players-card {
    flex: 1;
	width:100%;
    min-width: 300px;
    background-color: var(--background);
	border: 3px solid var(--border-color);
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.05);
}

.academy-players-card h3 {
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 1.5rem;
    color: var(--secondary-color);
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 10px;
}

.players-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 15px;
}
.players-grid h4{
	color: #555;
}

.player-link {
    display: block;
    padding: 10px 15px;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 5px;
    text-align: center;
    text-decoration: none;
    color: #0073aa;
    font-weight: bold;
    transition: all 0.2s ease-in-out;
}

.player-link:hover {
    background-color: #0073aa;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .academy-content-wrapper {
        flex-direction: column;
    }
    .players-grid {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    }
}
/* ========================================
   9. GALLERY STYLES
   ======================================== */
/* ========================================
   a. GALLERY ARCHIVE
   ======================================== */
   .arch-gallery .page-header {
    margin-top: 1rem;
    margin-bottom: 2rem;
    text-align:center;
}
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.gallery-card {
    background: var(--background);
	border: 3px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
    cursor: pointer;
}

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

.gallery-card a {
    text-decoration: none;
    color: inherit;
    display: block;
}

.gallery-thumbnail img {
    width: 100%;
    height: 220px;
    object-fit: cover; 
    display: block;
}

.gallery-info {
    padding: 15px;
    text-align: center;
}

.gallery-info h3 {
    font-family: var(--font-heading); 
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0;
    color: var(--secondary-color);
}

/* --- Media Query for Mobile Devices --- */
@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
    }
}
/* ========================================
   b. SINGLE GALLERY PAGE STYLES
   ======================================== */
.single-gallery-grid {
    display: grid;
    /* Adjusts the number of columns based on screen width */
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 2rem;
}

.gallery-item {
    background-color: #fff;
	border: 3px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.gallery-item a {
    display: block;
    text-decoration: none;
    color: inherit;
}

.gallery-item img {
    width: 100%;
    height: 250px; 
    object-fit: cover; 
    display: block;
}

.image-caption {
    padding: 15px;
    margin: 0;
    font-size: 0.9rem;
    color: #555;
    text-align: center;
    background-color: #f9f9f9;
    border-top: 1px solid #eee;
}

/* --- NEW: Back Button Styling --- */
.back-to-gallery-link {
    margin-top: 2rem;
    text-align: center;
}

.back-to-gallery-link .button-back-to-archive {
    
    display: inline-block; 
}


/* --- Media Query for Mobile Devices --- */
@media (max-width: 768px) {
    .single-gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 15px;
    }

    .gallery-item img {
        height: 200px;
    }
}



/* ========================================
   10. CONTACT PAGE STYLES
   ======================================== */

.contact-page-main .page-header {
    text-align: center;
    margin-bottom: 3rem;
}

.contact-page-main .page-title {
    font-size: 3rem;
    font-weight: 700;
    color: var(--secondary-color);
}

/* Main two-column grid */
.contact-content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

/* Card Styling */
.card-post h1 {
	align-items: center ;
    text-align: center ;
}
.contact-info-card, .contact-form-card {
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
}

.contact-info-card h2, .contact-form-card h2 {
    font-size: 1.8rem;
    color: var(--secondary-color);
    margin-top: 0;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.contact-info-card p {
    margin-bottom: 2rem;
}

/* Contact Details List */
.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--secondary-color);
    width: 24px; /* Ensures icons are aligned */
    text-align: center;
}

.item-content strong {
    display: block;
    font-size: 1rem;
    margin-bottom: 0.25rem;
    color: var(--secondary-color);
}

.item-content p, .item-content a {
    font-size: 1rem;
    color: #555;
    text-decoration: none;
    line-height: 1.5;
}

.item-content a:hover {
    color: var(--primary-color);
}

/* Contact Form 7 Styling */
.contact-form-card .wpcf7-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-form-card .wpcf7-form p {
    margin: 0;
}

.contact-form-card .wpcf7-form label {
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.contact-form-card .wpcf7-form input[type="text"],
.contact-form-card .wpcf7-form input[type="email"],
.contact-form-card .wpcf7-form textarea {
	background-color: var(--background);
    width: 100%;
    padding: 12px;
    border: 3px solid #ab1e25;
    border-radius: 5px;
    font-size: 1rem;
}

.contact-form-card .wpcf7-form input.wpcf7-submit {
    background-color: var(--secondary-color);
    color: #fff;
    padding: 12px 20px;
    border: none;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s;
}

.contact-form-card .wpcf7-form input.wpcf7-submit:hover {
    background-color: var(--primary-color);
}

/* Map Section */

.map-section {
	border: 3px solid var(--border-color);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}
.map iframe {
	display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    background: var(--white-color);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: 1rem;
    transition: var(--transition);
}

.map-iframe-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
}

.map-iframe-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}


/* --- Responsive Styles for Mobile --- */
@media (max-width: 768px) {
    .contact-page-main .page-title {
        font-size: 2.2rem;
    }

    .contact-content-grid {
        grid-template-columns: 1fr; /* Stack info and form */
        gap: 1.5rem;
    }

    .contact-info-card, .contact-form-card {
        padding: 2rem;
    }
}
/* ========================================
   11. REGISTER PAGE STYLES
   ======================================== */
   /* Prevent jumping when clicking anchor links */
.auth-tabs {
    scroll-margin-top: 100px;
}

/* User Authentication Styles */
.user-auth-container {
    max-width: 600px;
    margin: 3rem auto;
}

.auth-tabs {
    display: flex;
    margin-bottom: 0;
}

.auth-tab {
    flex: 1;
    padding: 1rem;
    background-color: #f4f4f4;
    border: none;
    cursor: pointer;
    font-weight: 600;
    transition: background-color 0.2s;
    border-radius: 8px 8px 0 0;
}

.auth-tab:first-child {
    border-radius: 8px 0 0 0;
}

.auth-tab:last-child {
    border-radius: 0 8px 0 0;
}

.auth-tab.active {
    background-color: #0073aa;
    color: white;
}

.auth-form {
    display: none;
    border-radius: 0 0 8px 8px;
}

.auth-form.active {
    display: block;
}

.auth-form h2 {
    margin-top: 0;
    margin-bottom: 1.5rem;
    text-align: center;
    font-size: 1.8rem;
    color: #333;
    border-bottom: 2px solid #f4f4f4;
    padding-bottom: 0.75rem;
}

.auth-form p {
    margin-bottom: 1.5rem;
}

.auth-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.auth-form input[type="text"],
.auth-form input[type="email"],
.auth-form input[type="password"] {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.auth-form input[type="checkbox"] {
    margin-right: 0.5rem;
}

.auth-form .button-back-to-archive {
    display: block;
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
    text-align: center;
    background-color: #0073aa;
    color: #fff;
    padding: 0.8rem 1.2rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.2s;
    border: none;
    cursor: pointer;
}

.auth-form .button-back-to-archive:hover {
    background-color: #005a87;
}

.auth-form .button-back-to-archive.secondary {
    background-color: #6c757d;
}

.auth-form .button-back-to-archive.secondary:hover {
    background-color: #5a6268;
}

.error-message {
    background-color: #ffebee;
    border-left: 4px solid #f44336;
    margin-bottom: 1.5rem;
}

.success-message {
    background-color: #e8f5e9;
    border-left: 4px solid #4caf50;
    margin-bottom: 1.5rem;
}

.logged-in-message {
    text-align: center;
}

.logged-in-message p {
    margin-bottom: 1.5rem;
}

.user-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Social Login Styles */
.social-login {
    margin-bottom: 2rem;
}

.social-login-text {
    text-align: center;
    margin-bottom: 1rem;
    color: #666;
}

.nextend-social-login-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

/* Style for Nextend Social Login buttons */
.nextend-social-login-buttons .nsl-button {
    width: auto !important;
    margin: 0 !important;
    flex: 1;
    min-width: 120px;
}

.nextend-social-login-buttons .nsl-button svg {
    width: 20px !important;
    height: 20px !important;
}

.divider {
    text-align: center;
    position: relative;
    margin: 1.5rem 0;
}

.divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background-color: #ddd;
}

.divider span {
    background-color: white;
    padding: 0 1rem;
    color: #666;
}

/* Password Input Wrapper */
.password-input-wrapper {
    position: relative;
}

.toggle-password {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    color: #666;
}

/* Password Strength Meter */
.password-strength-meter {
    margin-top: 0.5rem;
}

.password-strength-bar {
    height: 5px;
    background-color: #ddd;
    border-radius: 3px;
    transition: width 0.3s ease;
    width: 0%;
}

.password-strength-text {
    font-size: 0.85rem;
    color: #666;
    margin-top: 0.25rem;
    display: block;
}

/* Terms Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
}

.modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 0;
    border-radius: 8px;
    width: 90%;
    max-width: 600px;
    max-height: 80vh;
    overflow-y: auto;
}

.modal-header {
    padding: 1.5rem;
    border-bottom: 1px solid #ddd;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    margin: 0;
}

.close {
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    color: #aaa;
}

.close:hover {
    color: #000;
}

.modal-body {
    padding: 1.5rem;
}

.modal-body h4 {
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
    color: #333;
}

.modal-body p {
    margin-bottom: 1rem;
    line-height: 1.6;
}

.modal-footer {
    padding: 1.5rem;
    border-top: 1px solid #ddd;
    text-align: center;
}

/* Responsive Design */
@media (max-width: 768px) {
    .auth-tab {
        padding: 0.75rem 0.5rem;
        font-size: 0.9rem;
    }
    
    .nextend-social-login-buttons {
        flex-direction: column;
    }
    
    .nextend-social-login-buttons .nsl-button {
        width: 100% !important;
    }
    
    .user-actions {
        flex-direction: column;
    }
    
    .modal-content {
        margin: 10% auto;
        width: 95%;
    }
}