/*
 Theme Name:   Spin Child Theme
 Theme URI:    https://spin.axiomthemes.com/
 Description:  Spin Child Theme
 Author:       AxiomThemes
 Author URI:   http://axiomthemes.com/
 Template:     spin
 Version:      1.0
 Tags:         flexible-header, custom-background, custom-colors, custom-header, custom-menu, featured-image-header, featured-images, full-width-template, microformats, post-formats, theme-options, threaded-comments, translation-ready
 Text Domain:  spin
*/


/* =Child-Theme customization starts here
------------------------------------------------------------ */

.sc_skills_column {
	border: 1px solid RGBA(255, 255, 255, 0.15) !important;
	padding:3% !important;
}

.councillors-slide {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
    max-width: 963px;
    margin: 0 auto;  /* center container */
}

.councillors-slide .slider_pagination_wrap span {
    background-color: #ff9933 !important;
}

.icon-players .sp-gallery-wrapper>* {
	padding: 0 14px !important;
}

.icon-players .gallery-caption  {
	color: #000000;
    font-size: 20px;
    padding-left: 2px !important;
    background-color: unset;
    padding-top: 16px;
    font-family: 'Inter Tight';
    font-weight: 400;
}

.icon-players .gallery-caption strong {
	visibility: hidden !important;
}

/* Home page the team section */
.the-teams .sc_team_item {
	background-color:unset !important;
}

.the-teams .sc_team_item_info {
	visibility:hidden !important;
}
/* Home page the team section */

/* abous us page css */
.abous-view-more a {
	background-color:#138808 !important
}
/* abous us page css */

/* contact page css */
.contac-us-sponsor .e-con-inner, .elementor-1874 .e-con-inner {
    text-align: center;
}
/* contact page css */

/* teams page css */
.leagues-name .e-n-tabs-heading div {
	background-color: unset !important
}

.team-header {
	display: flex;
    justify-content: center;
	margin-bottom: 150px;
}

.team-header-inner {
    max-width: 1200px;
    margin: auto;
    display: flex;
    gap: 109px;
    align-items: center;
}

.team-title {
    font-size: 42px;
    margin-bottom: 20px;
}

.team-description p {
    font-family: "Roboto";
    font-size: 20px;
    line-height: 1.8;
    max-width: 520px;
}

.team-partner {
    display: none;
    align-items: center;
    margin-top: 30px;
}

.team-partner img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    margin-right: 12px;
}

.team-partner span {
    font-size: 12px;
    color: #777;
    display: block;
}

.team-partner strong {
    font-size: 14px;
}


/* Team Players Section Responsive Styles */
.single-sp_team .content_wrap, .single-sp_event .content_wrap {
	width:100% !important;	
}

.single-sp_team .sc_layouts_title,
.elementor-element-d83ad90 .sc_layouts_title{
    /* padding: 50px 0px 100px 0px;*/
    padding: 0px 0px 50px 0px;
}

.single-sp_team .elementor-element-173beab{
    margin-bottom: 114px;
}
/* .single-sp_team .elementor-element-c5f1bd6{
    padding: 22px 0px 22px 0px !important;
} */

.team-players {
    padding: 60px 226px;
    background-color: #1a1a1a;
}

.team-players-header {
    margin-bottom: 50px;
    padding: 0 20px;
}

.team-players-header-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 30px;
    flex-wrap: wrap;
}

.team-players-title-group {
    flex: 1;
    min-width: 250px;
}

.team-players-title-group span {
    color: #fff;
    font-size: 14px;
    line-height: 18px;
    font-weight: 400;
    font-style: normal;
    text-transform: uppercase;
    letter-spacing: 1.3px;
}

.section-tag {   
    font-size: 14px;
    line-height: 18px;
    font-weight: 600;
    font-style: normal;
    text-transform: uppercase;
    letter-spacing: 1.3px;
    color: #000000;
}

.team-players-header h2 {
    font-size: 36px;
    font-weight: 300;
    color: #fff;
    margin: 0;
    line-height: 1.2;
}

.player-tabs {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 20px;
    flex-wrap: wrap;
    align-items: center;
}

.player-tabs li {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: #999;
    cursor: pointer;
    transition: color 0.3s ease;
    text-transform: uppercase;
    padding: 5px 0;
    border-bottom: 2px solid transparent;
}

.player-tabs li:hover {
    color: #fff;
}

.player-tabs li.active {
    color: #ff9500;
    border-bottom-color: #ff9500;
}

.players-grid-wrapper {
    padding: 0 20px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.players-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 43px;
    min-width: 100%;
}

.player-card {
    cursor: pointer;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.player-card:hover {
    transform: translateY(-5px);
}

.player-card-inner {
    position: relative;
}

.player-number {
    position: absolute;
    top: 15px;
    left: 15px;
    font-size: 32px;
    font-weight: 700;
    color: #fff;
    z-index: 1;
}

.player-image {
    position: relative;
    overflow: hidden;
    margin-bottom: 15px;
    background-color: #2a2a2a;
    border-radius: 4px;
}

.player-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.player-card:hover .player-image img {
    transform: scale(1.05);
}

.player-info {
    padding: 0 10px;
}

.player-name {
    font-size: 21px;
    font-weight: 600;
    line-height: 1.2em;
    margin: 0;
    color: #fff;
}

.player-role {
    color: #999;
    font-size: 16px;
    line-height: 18px;
    font-style: normal;
}

/* Loading Spinner */
.player-filter-loading {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 200px;
    padding: 20px;
}

.player-filter-loading .spinner {
    border: 3px solid rgba(255, 255, 255, 0.1);
    border-top: 3px solid #ff9500;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Fade In Animation */
.player-card.fade-in {
    animation: fadeInCard 0.4s ease-in-out;
}

@keyframes fadeInCard {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* No Players Message */
.no-players {
    grid-column: 1 / -1;
    text-align: center;
    padding: 40px 20px;
    color: #999;
    font-size: 16px;
}

/* Slider Progress Bar (Drag-based) */
.slider-progress-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 40px;
    padding: 0 20px;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

.slider-progress-bar {
    width: 100%;
    height: 4px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #ff9500, #ffb84d);
    border-radius: 2px;
    transition: width 0.4s ease;
    width: 0%;
}

/* Draggable Grid Cursor */
.players-grid {
    cursor: grab;
}

.players-grid:active {
    cursor: grabbing;
}

/* COACHES SECTION */
.team-coaches {
    padding: 80px 0;
    background-color: #f5f5f5;
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}

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

.coaches-header {
    text-align: center;
    margin-bottom: 60px;
}


.coaches-header h2 {
    font-size: 57px;
    font-weight: 400;
    color: #1a1a1a;
    margin: 0;
    line-height: 1.2;
    font-family: "Inter Tight",sans-serif;
}

.coaches-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.coach-card {
    transition: transform 0.3s ease;
}

.coach-card:hover {
    transform: translateY(-10px);
}

.coach-image {
    position: relative;
    overflow: hidden;
    margin-bottom: 25px;
    border-radius: 4px;
    background-color: #e0e0e0;
}

.coach-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.coach-card:hover .coach-image img {
    transform: scale(1.05);
}

.coach-name {
    font-size: 20px;
    font-weight: 400;
    color: #1a1a1a;
    margin: 0 0 8px 0;
    line-height: 1.3;
}

.coach-title {
    font-size: 18px;
    color: #777;
    text-transform: capitalize;
    margin: 0;
    font-weight: 400;
}

.our-sponsors .e-con-inner{
    text-align: center;
}


.custom-post-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.post-item a {
    text-decoration: none;
    color: #000;
    display: block;
    transition: transform 0.3s ease;
}

.post-item a:hover {
    transform: translateY(-5px);
}

.post-thumb {
    position: relative;
    overflow: hidden;
    border-radius: 6px;
    background-color: #f0f0f0;
    padding-bottom: 66.67%;
    height: 0;
}

.post-thumb img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 6px;
    display: block;
    transition: transform 0.3s ease;
}

.post-item a:hover .post-thumb img {
    transform: scale(1.05);
}

.post-date {
    display: block;
    font-size: 13px;
    color: #888;
    margin-top: 10px;
}

.post-title {
    font-size: 24px;
    margin-top: 5px;
    line-height: 1.3;
    color: #1a1a1a;
    transition: color 0.3s ease;
    font-family: 'Inter Tight';
    font-weight: 400;
}

/* .post-item a:hover .post-title {
    color: #138808;
} */

/* New Item Animation */
.post-item.fade-in {
    animation: fadeInPostItem 0.5s ease-in-out;
}

@keyframes fadeInPostItem {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* View More Button Container */
.custom-post-grid-wrapper {
    width: 100%;
}

.view-more-button-wrapper {
    text-align: center;
    margin-top: 40px;
    padding: 20px 0;
}

.view-more-button {
    display: inline-block;
    background-color: #138808;
    color: #fff;
    padding: 12px 40px;
    border: none;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 40px;
}

.view-more-button:hover {
    background-color: #0e6b06;
    /* transform: scale(1.05); */
}

/* .view-more-button:active {
    transform: scale(0.98);
} */

.view-more-button.loading {
    opacity: 0.7;
    pointer-events: none;
}

.view-more-button.loading::after {
    content: '';
    display: inline-block;
    margin-left: 8px;
    width: 14px;
    height: 14px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: #fff;
    border-radius: 50%;
    /* animation: spin 0.6s linear infinite; */
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.view-more-button.hidden {
    display: none;
}

/* Loading Indicator */
.posts-loading {
    text-align: center;
    padding: 30px;
    display: none;
}

.posts-loading.active {
    display: block;
}

.posts-loading-spinner {
    display: inline-block;
    width: 40px;
    height: 40px;
    border: 3px solid rgba(19, 136, 8, 0.2);
    border-top-color: #138808;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

.fixture-season-tabs {
    text-align: center;
    margin-bottom: 30px;
}
.fixture-season-tabs span {
    cursor: pointer;
    margin: 0 15px;
    font-weight: 600;
}
.fixture-season-tabs .active {
    border-bottom: 2px solid #28a745;
}

#fixture-grid {
    /* display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px; */
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    padding: 20px 0;
}

.fixture-card {
    border: 1px solid #eee;
    padding: 20px;
    background: #fff;
}

.fixture-top {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    margin-bottom: 15px;
}

.scorecard-link {
    color: #28a745;
    font-weight: 600;
}

.fixture-team {
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* margin-bottom: 12px; */
}

.team-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.team-left img {
    width: 15%;
}

.team-score {
    font-weight: 700;
}

.fixture-venue {
    font-size: 12px;
    color: #777;
    margin-top: 10px;
    display: grid;
}

/* Fixture Grid Styles */
/* .fixtures-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    padding: 20px 0;
} */

.fixture-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.fixture-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

.fixture-card-header {
    /* padding: 16px;
    border-bottom: 1px solid #f0f0f0; */
    display: flex;
    justify-content: space-between;
}

.fixture-header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    gap:4px;
}

.fixture-title {
    font-size: 18px;
    font-weight: 600;
    color: #000;
}

.view-score-board {
    font-size: 14px;
    color: #138808;
    font-weight: 600;
    text-decoration: underline !important;
    transition: color 0.3s ease;
}

.view-score-board:hover {
    color: #0d6b04;
    text-decoration: underline;
}

.fixture-date {
    font-size: 16px;
    color: #666;
    line-height: 1.4;
}

.fixture-teams-section {
    /* padding: 16px; */
    gap: 0;
}

.fixture-team {
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* padding: 12px 0; */
    /* border-bottom: 1px solid #f5f5f5; */
}

.fixture-team:last-child {
    border-bottom: none;
}

.team-left {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
}

.team-logo {
    /* width: 40px;
    height: 40px; */
    border-radius: 4px;
    object-fit: cover;
    background: #f5f5f5;
}

.team-name {
    font-size: 20px;
    font-weight: 400;
    color: #000;
    word-break: break-word;
}

.team-score-info {
    display: flex;
    align-items: baseline;
    gap: 4px;
    white-space: nowrap;
}

.team-score {
    font-size: 22px;
    font-weight: 600;
    color: #000;
}

.team-overs {
    font-size: 18px;
    color: #666;
    font-weight: 400;
}

.fixture-venue {
    padding: 7px 11px;
    font-size: 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.result-info {
    font-size: 14px;
    font-weight: 600;
    color: #000;
}

.no-fixtures {
    grid-column: 1 / -1;
    text-align: center;
    padding: 40px 20px;
    color: #999;
    font-size: 16px;
    font-weight: 400;
    font-family: "Inter Tight",sans-serif;
    line-height: 1.4;
    border: 1px solid #f0f0f0;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.sp-tab-content {
    display: block;
}

.sp-tab-panel {
  display: none;
}

.sp-tab-panel.active {
  display: block;
}

.sp-tab-nav {
  display: flex;
  gap: 40px;
  list-style: none;
  justify-content: end;
  /* border-bottom: 2px solid #eee; */
  padding: 0;
}

.sp-tab-nav li {
  cursor: pointer;
  padding: 12px 0;
  font-weight: 400;
  position: relative;
  color: #000;
  text-transform: uppercase;
}

.sp-tab-nav li.active::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 3px;
  background: #000;
}

/* Main wrapper */
.sp-event-wrapper {
    max-width: 1280px;     /* Desktop width */
    margin: 0 auto;        /* Center content */
    padding: 40px 24px;    /* Safe spacing */
    box-sizing: border-box;
}

/* SportsPress tables */
.sp-table-wrapper {
  margin-bottom: 25px;
}

.sp-table-caption {
  background: #000;
  color: #fff;
  padding: 10px 15px;
  font-weight: 700;
  /* text-transform: uppercase; */
}

/* Table styling */
.sp-table {
  width: 100%;
  border-collapse: collapse;
}

.sp-table th,
.sp-table td {
  padding: 10px;
  border-bottom: 1px solid #eee;
  text-align: center;
}

.sp-table th:first-child,
.sp-table td:first-child {
  text-align: left;
}

.team-batting-table, .team-bowling-table {
    margin-bottom: 30px;
}

/* =========================
   TEAM SQUADS LAYOUT
========================= */

.team-squads {
    display: flex;
    gap: 30px;
    margin: 40px 0;
}

/* Each Team Block */
.team-squad {
    width: 50%;
    /* background: #ffffff; */
    /* border: 1px solid #e5e5e5; */
}

/* ===== Top Performers Section ===== */
.top-performers {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 15px;
  font-family: "Inter", "Helvetica Neue", Arial, sans-serif;
}

.top-performers-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

/* Card */
.performer-card {
  display: flex;
  align-items: center;
  background: #ffffff;
  border: 1px solid #eeeeee;
  gap: 18px;
}

/* Player Image */
.performer-card img {
  width: 30%;
  /* height: 110px; */
  object-fit: cover;
  border-radius: 2px;
}

/* Text area */
.performer-content {
  flex: 1;
}

/* Category label */
.performer-label {
  font-size: 14px;
font-weight: 600;
  letter-spacing: 0.5px;
  color: #9a9a9a;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.performer-label span {
  color: #000000;
  font-weight: 500;
  font-size: 18px;
}

/* Player name */
.performer-name {
  font-size: 20px;
  font-weight: 600;
  color: #000000;
  line-height: 1.3;
  margin-bottom: 8px;
}

/* Stat value */
.performer-value {
  font-size: 26px;
  font-weight: 700;
  color: #111111;
}

.social-feed {
    background-color: #000000 !important;
    display: flex;
    justify-content: center;
}

.social-feed > * {
    max-width: 1200px;
    /* width: 100%; */
    margin-top: 59px !important;
    margin-bottom: 59px !important;
    overflow: hidden;
}

/* Hide category breadcrumb item */
.breadcrumbs_item.cat_post,
.breadcrumbs_item.cat_post + .breadcrumbs_delimiter {
    display: none !important;
}

.home .elementor-element-d83ad90{
    display: none;
}

/* Get in touch section */
.get-in-touch-section {
    background-color: #FFFFFF;
    margin-bottom: -126px;
}

.wp-form-field input[type="text"],
.wp-form-field input[type="email"],
.wp-form-field input[type="number"],
.wp-form-field textarea {
    color: #A5A6AA !important;
    width: 100%;
    padding: 14px 18px !important;
    border: none !important;
    box-sizing: border-box !important;
    background: none !important;
    border-bottom-width: 1px !important;
    border-bottom-style: solid !important;
}

.wp-form-field input[type="text"]:focus,
.wp-form-field input[type="email"]:focus,
.wp-form-field input[type="number"]:focus,
.wp-form-field textarea:focus {
    border-color: unset !important;
    box-shadow: none !important;
}

 .wp-form-field textarea{
    max-width: 60%;
}