/***
*Table of contents*

Global
|- fonts
|- list style
|- primary button 
|- empty space class

***/

/* ==============================
Global
============================== */

@import url('https://fonts.googleapis.com/css2?family=Caveat:wght@400..700&display=swap');

:root {
	--primary-color: #5a0f17 ;
	--secondary-color: #6e1a22;
	--primary-text-color: #000000;
	--text-color: #818181;
	--light-grey: #f9f9f9;
	--gold-color: #b59b86;
	--bg-color-light: #f0ebe7;
	--bg-color-dark: #2d0a0a;
	--font-family: "Exo 2", sans-serif;
	--xl-space: 200px;
	--l-space: 150px;
	--m-space: 100px;
	--s-space: 50px;
	--xs-space: 25px;
	--transition: 0.3s;

	--accent: var(--gold-color, #c49a6c); /* Fallback gold if theme var missing */
    --line: rgba(0,0,0,.12);
    --text: #1a1a1a;
    --muted: #666;
    --bg: #fff;
    --card-bg: #fff;
    --shadow: 0 8px 24px rgba(0,0,0,.18);
    --radius: 14px;
}

/* Dark theme auto-adapt if your page is dark */
  @media (prefers-color-scheme: dark){
    :root{
      --line: rgba(255,255,255,.18);
      --text: #f2f2f2;
      --muted: #cfcfcf;
      --bg: #ffffff;
      --card-bg: #ffffff;
      --shadow: 0 10px 28px rgba(0,0,0,.45);
    }
  }

/* scrollbar */
::-webkit-scrollbar {
	width: 10px;
}
::-webkit-scrollbar-track {
	background: #fff;
	/* box-shadow: inset 0 0 2px #777; */
}
::-webkit-scrollbar-thumb {
	background: var(--secondary-color);
	border-radius: 10px;
}

/* media query */
@media only screen and (max-width: 1200px) {
	:root {
		--xl-space: 200px;
		--l-space: 150px;
		--m-space: 100px;
		--s-space: 50px;
		--xs-space: 25px;
	}
}

@media only screen and (max-width: 992px) {
	:root {
		--xl-space: 140px;
		--l-space: 100px;
		--m-space: 60px;
		--s-space: 35px;
		--xs-space: 20px;
	}
}

@media only screen and (max-width: 767px) {
	:root {
		--xl-space: 100px;
		--l-space: 80px;
		--m-space: 50px;
		--s-space: 30px;
	}
}

#page .s-space{
	height: var(--s-space) !important;
}

#page .m-space{
	height: var(--m-space) !important;
}

#page .l-space{
	height: var(--l-space) !important;
}

#page .xl-space{
	height: var(--xl-space) !important;
}

#main{ padding-top: 0 !important;}

.main-nav > li.act:not(.wpml-ls-item) > a .menu-text, 
.main-nav > li:not(.act):not(.wpml-ls-item) > a:hover .menu-text{
	color: var(--gold-color) !important;
}

/** Fonts **/
.font-size-medium { font-size: 0.9rem;}
.font-size-lg { font-size: 1.25rem !important; }
.text-grey { color: var(--text-color);}
.text-gold { color: var(--gold-color);}
.text-light-grey { color: var(--bg-color-light);}

.gradient-bg{
	background: linear-gradient(to bottom, #5a0f17, #000000);
}


/**
------------
 Home Page 
------------
**/

.sp-countdown-wrapper{ padding: 0 !important; box-shadow: unset !important;}

.next-match{
	border-right: 2px solid var(--gold-color);
	padding-top: 35px;
}

@media only screen and (max-width: 767px) {
	.next-match{
		border-bottom: 2px solid var(--gold-color);
	}
}

.more-link a{
	text-decoration: unset;
	transition: var(--transition);
}

.red-link a{ color: var(--primary-color); }
.gold-link a{ color: var(--gold-color); }

.red-link a:hover{
	color: var(--gold-color);
}

.gold-link a:hover{
	color: var(--bg-color-light);
}

.more-link a i{
	position: relative;
    top: 3px;
    left: 3px;
}

.points-table tr th, .points-table tr td{
	color: #efffff;
}

.owl-carousel .owl-nav div.owl-prev,
.owl-carousel .owl-nav div.owl-next{
	top: calc(100% + 20px) !important;
}

.owl-carousel .owl-nav i, .owl-carousel .owl-nav i:before{
	transition: var(--transition) !important;
}

.heading {
    position: relative;
    display: inline-block;
    text-transform: uppercase;
}

.heading::before {
    content: '';
    position: absolute;
    right: 100%; /* Position it to the left of the box */
    top: 50%;
    transform: translateY(-50%);
    width: 100vw; /* Full viewport width */
	margin-right: 20px;
    height: 3px;
	margin-right: 20px;
	background: var(--primary-color);
}

.heading.gold::before {
    background: var(--gold-color);
}

.single-post .post-thumbnail {
  display: none;
}

.latest-post-grids .post-details.details-type-link{
	background-color: var(--primary-color);
	color: var(--light-grey) !important;
	padding: 8px 14px 8px 14px;
	line-height: unset !important;
	border: 1px solid #0000;
	border-radius: 5px;
}

.latest-post-grids .post-details.details-type-link i{
	display: none !important;
}

.latest-post-grids .wide-blog-list .post-details.details-type-link{
	width: 96%;
}

.latest-post-grids .narrow-blog-list .post-details.details-type-link{
	width: 92%;
}

@media only screen and (max-width: 767px) {
	.latest-post-grids .wide-blog-list .post-details.details-type-link{
		width: 92%;
	}

	.latest-post-grids .wide-blog-list,
	.latest-post-grids .narrow-blog-list{
		margin-bottom: 15px;
	}
}

.latest-post-grids .post-details.details-type-link::before{
	content: "";
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 45px;
    border-left: 1px solid rgba(255, 255, 255, 0.4);
	display: inline;
}

.latest-post-grids .post-details.details-type-link::after{
	content: "\f029" !important;
	font-family: icomoon-the7-font !important;
    position: absolute !important;
    right: 28px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    font-size: 14px !important;
    color: inherit !important;
    transition: transform 0.3s ease !important;
	left: unset !important; 
    bottom: unset !important; 
    width: 0 !important;
	background-color: inherit !important;
	height: unset !important;
}

.latest-post-grids .post-details.details-type-link:hover::after{
	transform: translateY(-50%) translateX(3px) !important;
}

.latest-post-grids .blog-shortcode .post-entry-content{
	max-height: 500px;
}

.latest-post-grids .blog-shortcode .entry-title,
.latest-post-grids .blog-shortcode .entry-excerpt{
	margin-bottom: 15px
}

/** Squad Section **/

.squad-section {
	position: relative;
	/* min-height: 100vh;
	overflow: hidden; */
}

/* Background player image (large, faded) */
.bg-player {
	position: absolute;
	top: 0;
	left: 0;
	width: 60%;
	height: 100%;
	background-image: url('');
	background-size: cover;
	background-position: center;
	opacity: 0.15;
	filter: blur(2px);
	pointer-events: none;
}

.container {
	position: relative;
	z-index: 2;
	max-width: 1400px;
	margin: 0 auto;
}

/* Header */
.section-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 60px;
}

.section-title {
	font-size: 48px;
	color: #fff;
	text-transform: uppercase;
	position: relative;
	padding-left: 80px;
}

.section-title::before {
	content: '';
	position: absolute;
	left: 0;
	top: 50%;
	transform: translateY(-50%);
	width: 60px;
	height: 4px;
	background: #daa520;
}

.view-more {
	color: #fff;
	text-decoration: none;
	font-size: 18px;
	display: flex;
	align-items: center;
	gap: 10px;
	transition: gap 0.3s ease;
}

.view-more:hover {
	gap: 15px;
}

/* Main content grid */
.squad-content {
	display: grid;
	grid-template-columns: 400px 1fr;
	gap: 60px;
	align-items: start;
}

/* Player info card */
.player-info {
	background: rgba(0, 0, 0, 0.3);
	padding: 40px;
	border-radius: 8px;
	backdrop-filter: blur(10px);
	opacity: 1; transition: opacity .25s ease;
}

/* Only stretch the player-info card on tablet/phone */
@media (max-width: 1024px) {
  .player-info {
    /* break out of the container and span the viewport */
    width: calc( 100vw - 30px);
    box-sizing: border-box;
  }
}

.player-info.is-fading-out { opacity: 0.2; }

.player-name {
	font-size: 2rem;
	color: #fff;
	text-transform: uppercase;
	margin-bottom: 15px;
	letter-spacing: 2px;
}

.player-role {
	display: flex;
	align-items: center;
	gap: 10px;
	color: #fff;
	font-size: 18px;
	margin-bottom: 40px;
}

.flag {
	width: 32px;
	height: 20px;
	background: linear-gradient(to bottom, #ff9933 33%, #fff 33%, #fff 66%, #138808 66%);
	border: 1px solid rgba(255,255,255,0.2);
}

.stats-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 30px;
}

.stat {
	color: #fff;
}

.stat-value {
	font-size: 1.5rem;
	font-weight: bold;
	margin-bottom: 5px;
}

.stat-label {
	font-size: 16px;
	opacity: 0.8;
	font-weight: normal;
}

.view-more-btn, .full-squad-btn {
	color: var(--gold-color);
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-size: 16px;
}

.view-more-btn{
	margin-top: 40px;
	transition: gap 0.3s ease;
}

.view-more-btn i{
	padding-top: 5px;
}

.full-squad-btn{
	transition: color 0.3s ease;
}

.full-squad-btn i{
	padding-top: 5px;
  	transition: transform 0.3s ease, color 0.3s ease;
}

.view-more-btn:hover {
	color: #fff;
	gap: 15px;
}

.full-squad-btn:hover {
  color: #fff; /* link color fades smoothly */
}

.full-squad-btn:hover i {
  transform: translateX(5px); /* slides right smoothly */
  color: #fff;
}

/* Player cards carousel */
.players-carousel {
	position: relative;
}

.carousel-wrapper {
	padding: 10px 0px;
	overflow: hidden;
}

 @media (max-width: 1024px) {
	.carousel-wrapper {
		-webkit-overflow-scrolling: touch;
	}
}

.players-grid {
	display: flex;
	gap: 20px;
	transition: transform 0.5s ease;
}

.player-card {
    position: relative;
    min-width: 220px;
    height: 400px; /* Increased from 350px */
    background: linear-gradient(135deg, #8b1a1a 0%, #5a0f17 50%, #3d0a0f 100%);
    border-radius: 12px;
    /* padding: 8px; */
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    flex-shrink: 0;
}

.player-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.5);
}

/* .player-card.active {
    border: 3px solid var(--gold-color);
    transform: scale(1.05);
} */

.player-card.inactive {
    opacity: 0.4;
    filter: grayscale(100%);
}

.card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    border: 2px solid var(--gold-color);
    border-radius: 8px;
    background: linear-gradient(180deg, rgba(90, 15, 23, 0.3) 0%, rgba(0, 0, 0, 0.5) 100%);
    overflow: hidden;
}

.card-inner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(
        135deg,
        transparent,
        transparent 15px,
        rgba(0, 0, 0, 0.1) 15px,
        rgba(0, 0, 0, 0.1) 30px
    );
    pointer-events: none;
    z-index: 1;
}

.badge {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 32px;
    height: 32px;
    background: rgba(0, 0, 0, 0.7);
    border: 2px solid rgba(218, 165, 32, 0.8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: #fff;
    font-size: 14px;
    z-index: 10;
}

.player-img {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 90%; 
    background-size: cover;
    background-position: center bottom;
    background-repeat: no-repeat;
    z-index: 2;
}

.player-card.large {
    height: 450px;
}

.player-card.large .player-img {
    height: 105%;
    width: 105%;
}

/* Carousel controls */
.carousel-controls {
	display: flex;
	gap: 15px;
	margin-top: 30px;
	justify-content: start;
}

.carousel-btn {
	width: 50px;
	height: 50px;
	background: rgba(255, 255, 255, 0.1);
	border: 2px solid rgba(255, 255, 255, 0.3);
	border-radius: 50%;
	color: #fff;
	font-size: 16px;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all 0.3s ease;
}

.carousel-btn:hover {
	background: rgba(255, 255, 255, 0.2);
	border-color: #daa520;
}

/* Watermark */
.watermark {
	position: absolute;
	bottom: 40px;
	right: 40px;
	font-size: 120px;
	font-weight: 900;
	color: rgba(255, 255, 255, 0.03);
	text-transform: uppercase;
	letter-spacing: 5px;
	z-index: 1;
}

@media (max-width: 1024px) {
	.squad-content {
		grid-template-columns: 1fr;
	}
}

.join-cta a.vc_btn3{
	background-color: var(--primary-color) !important;
	position: relative;
	padding-right: 60px !important;
	overflow: hidden;
	color: #fff !important;
	border: unset !important;
}

.join-cta a.vc_btn3::before{
	content: '';
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 45px;
    border-left: 1px solid rgba(255, 255, 255, 0.4);
}

.join-cta a.vc_btn3::after{
	content: "\f029";
	font-family: icomoon-the7-font !important;
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 14px;
    font-weight: bold;
    color: inherit;
    transition: transform 0.3s ease;
}

.join-cta a.vc_btn3:hover::after{
	transform: translateY(-50%) translateX(3px);
}


/** Single post **/

@media only screen and (min-width: 767px) {
	.single-post .fancy-title-head{
		max-width: 60%;
	}
}

.accent-gradient #page .blog-shortcode .entry-title a{
	transition: color 0.3s ease;
}

.accent-gradient #page .blog-shortcode .entry-title a:hover{
	color: var(--light-grey) !important;
}


/** Contact Us **/

.contact-left-col .aio-icon-description p,
.contact-left-col p{
	color: var(--light-grey) !important;
}

.contact-left-col a{
	text-decoration: none;
}

.with_frm_style legend + h3, .with_frm_style h3.frm_form_title{
	margin-bottom: 50px;
	margin-top: 0px;
}

/** About Us Timeline **/

.timeline{
	position: relative;
	margin: 40px auto 10px;
	padding-left: 28px; /* space for the rail & nodes */
	max-width: 860px;
	color: var(--text);
}

	/* Vertical rail */
.timeline::before{
	content: "";
	position: absolute;
	left: 10px;
	top: 0;
	bottom: 0;
	width: 2px;
	background: var(--line) !important;
	z-index: 0;
}

	/* A11y: allow skipping the rail by keyboard */
.timeline:focus-within::before{
	background: linear-gradient(var(--accent), var(--accent));
}

.t-item{
	position: relative;
	margin: 0 0 28px 0;
}

	/* Node (dot) */
.t-item::before{
	content: "";
	position: absolute;
	left: -4px;          /* centers node on rail */
	top: -0.35rem;         /* aligned to heading line */
	width: 14px;
	height: 14px;
	border-radius: 50%;
	background: var(--bg);
	border: 3px solid var(--accent);
	box-shadow: 0 0 0 4px color-mix(in oklab, var(--accent) 20%, transparent);
	z-index: 1;
}

.t-card{
	background: var(--card-bg) !important;
	border-radius: var(--radius);
	box-shadow: var(--shadow);
	padding: 18px 20px 18px 20px;
	transition: transform .2s ease, box-shadow .2s ease;
	z-index: 1;
}
.t-card:hover{
	transform: translateY(-2px);
	box-shadow: 0 12px 30px rgba(0,0,0,.12);
}

.t-meta{
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-size: 13px;
	letter-spacing: .02em;
	color: var(--muted);
	margin-bottom: 8px;
}
.t-pill{
	padding: 4px 10px;
	border-radius: 999px;
	border: 1px solid color-mix(in oklab, var(--primary-color) 45%, transparent);
	color: var(--accent);
	background: color-mix(in oklab, var(--accent) 10%, transparent);
	font-weight: 600;
}

.t-title{
	margin: 0 0 6px;
	font-size: 20px;
	line-height: 1.35;
	font-weight: 700;
}
.t-desc{
	margin: 0;
	font-size: 15px;
	line-height: 1.6;
	color: var(--text);
}

	/* Sub-points */
.t-list{
	margin: 10px 0 0 0;
	padding-left: 18px;
	color: var(--muted);
	font-size: 14px;
}
.t-list li{ margin: 4px 0; }

	/* Year headers (optional separators) */
.t-year{
	margin: 34px 0 10px 0;
	color: var(--muted);
	font-weight: 800;
	letter-spacing: .06em;
	text-transform: uppercase;
	font-size: 12px;
}

	/* Responsive tweaks */
@media (max-width: 640px){
	.timeline{ padding-left: 24px; }
	.t-title{ font-size: 18px; }
	.t-card{ padding: 16px 16px; }
	.t-item::before{ width: 12px; height: 12px; left: -3px; }
}


.stallions-vision h4{
	font-family: "Caveat", cursive;
  	font-optical-sizing: auto;
	font-weight: 400;
	font-style: normal;
	color: var(--primary-color);
	font-size: 3.5rem;
}

.stallions-vision p{
	font-family: "Caveat", cursive;
  	font-optical-sizing: auto;
	font-weight: 400;
	font-style: normal;
	font-size: 2rem;
}
