/* =Child-Theme responsive styles starts here
-------------------------------------------------------------- */
@media (max-width: 1679px) {
	.the-teams .trx_addons_column-1_6 {
		width:100%
	}
}

@media (max-width: 1024px) {

    .team-header-inner {
        max-width: 90%;
        gap: 60px;
    }

    .team-title {
        font-size: 34px;
    }

    .team-description p {
        font-size: 15px;
        max-width: 100%;
    }
	
	.team-players {
        padding: 40px 0;
    }

    .team-players-header {
        margin-bottom: 40px;
        padding: 0 15px;
    }

    .team-players-header-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 25px;
    }

    .team-players-title-group {
        width: 100%;
    }

    .team-players-header h2 {
        font-size: 28px;
    }

    .players-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        gap: 20px;
    }

    .players-grid-wrapper {
        padding: 0 15px;
    }

    .player-name {
        font-size: 14px;
    }

    /* Responsive Coaches Section */
    .team-coaches {
        padding: 60px 0;
    }

    .coaches-header {
        margin-bottom: 50px;
    }

    .coaches-header h2 {
        font-size: 32px;
    }

    .coaches-grid {
        gap: 30px;
    }

    .coach-image {
        margin-bottom: 20px;
    }

    .coach-name {
        font-size: 18px;
    }

    /** News / Media Section  Responsive Grid */
     .custom-post-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    /* End Responsive Grid */

    /* Fixture Responsive */
    #fixture-grid {
        grid-template-columns: repeat(1, 1fr);
        gap: 20px;
    }
    /* End Fixture Responsive */

    /* Team Squad Section Responsive */
    .team-squads {
        gap: 20px;
    }

    .team-squad-header .sp-table-caption {
        font-size: 17px;
    }
    /* End Team Squad Section Responsive */

     .sp-event-wrapper {
        max-width: 100%;
        padding: 30px 20px;
    }

    /* Get in touch section */
    .get-in-touch-section {
        margin-bottom: -76px;
    }

}


@media (max-width: 767px) {
    .councillors-slide {
        max-width: 220px !important;
        margin: 0 auto !important;
    }
    
	.the-teams .trx_addons_column-1_6 {
		width:50% !important
	}
	
	.team-header-inner {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }

    .team-logo img {
        max-width: 180px;
        margin: 0 auto;
    }

    .team-title {
        font-size: 28px;
    }

    .team-description p {
        font-size: 14px;
        line-height: 1.6;
    }

    .team-partner {
        justify-content: center;
    }
	
	.team-players {
        padding: 30px 0;
    }

    .team-players-header {
        margin-bottom: 30px;
        padding: 0 15px;
    }

    .team-players-title-group {
        width: 100%;
    }

    .team-players-header h2 {
        font-size: 24px;
    }

    .player-tabs {
        gap: 15px;
        justify-content: flex-start;
    }

    .player-tabs li {
        font-size: 11px;
    }

    .players-grid {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
        gap: 15px;
    }

    .players-grid-wrapper {
        padding: 0 15px;
    }

    .player-number {
        font-size: 24px;
        top: 10px;
        left: 10px;
    }

    .player-name {
        font-size: 13px;
        margin-bottom: 5px;
    }

    .player-role {
        font-size: 11px;
    }

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

    .slider-progress-wrapper {
        margin-top: 30px;
        padding: 0 15px;
    }

    .slider-progress-bar {
        height: 3px;
    }

    /* Responsive Coaches Section */
    .team-coaches {
        padding: 40px 0;
    }

    .coaches-container {
        padding: 0 15px;
    }

    .coaches-header {
        margin-bottom: 40px;
    }

    .coaches-header h2 {
        font-size: 28px;
    }

    .coaches-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .coach-image {
        margin-bottom: 15px;
    }

    .coach-name {
        font-size: 16px;
    }

    .coach-title {
        font-size: 13px;
    }

    /* Responsive Grid */
   .custom-post-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .post-title {
        font-size: 16px;
    }
    
    .view-more-button {
        width: 100%;
        padding: 14px 20px;
    }

    /* End Responsive Grid */

    /* Fixture Responsive */
    #fixture-grid {
        grid-template-columns: repeat(1, 1fr);
        gap: 20px;
    }
     /* .fixtures-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    } */

    .fixture-card-header{
        display: block;
    }

    .fixture-header-top {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .fixture-title {
        font-size: 15px;
    }

    .view-score-board {
        font-size: 10px;
    }

    .fixture-teams-section {
        padding: 14px;
    }

    .fixture-team {
        padding: 10px 0;
    }

    .team-logo {
        width: 38px;
        height: 38px;
    }

    .team-name {
        font-size: 13px;
    }

    .team-score {
        font-size: 15px;
    }

    .team-overs {
        font-size: 11px;
    }

    .fixture-venue {
        padding: 10px 14px;
        font-size: 11px;
        display: grid;
    }
    /* End Fixture Responsive */

    /* Team Squad Section Responsive */
    .team-squads {
        flex-direction: column;
    }

    .team-squad {
        width: 100%;
    }
    /* End Team Squad Section Responsive */

    /* Top Performers Section Responsive */
    .top-performers-grid {
        grid-template-columns: 1fr;
    }

    .performer-name {
        font-size: 18px;
    }

    .performer-value {
        font-size: 22px;
    }

    /* End Top Performers Section Responsive */

    .sp-event-wrapper {
        padding: 20px 12px;
    }
}

@media (max-width: 600px) {
    

	.the-teams .trx_addons_column-1_6 {
		width:50% !important
	}

    /* Team Squad Section Responsive */
    .team-squad-header .sp-table-caption {
        font-size: 16px;
    }

    .team-squad table thead th,
    .team-squad table tbody td {
        padding: 10px;
        font-size: 13px;
    }
    /* End Team Squad Section Responsive */

     .wp-form-field textarea{
        width: 100% !important;
    }
}

@media (max-width: 479px) {
   
    
	.the-teams .trx_addons_column-1_6 {
		width:50% !important
	}
	
	.team-title {
        font-size: 24px;
    }

    .team-logo img {
        max-width: 140px;
    }

    .team-partner img {
        width: 40px;
        height: 40px;
    }

    .team-partner strong {
        font-size: 13px;
    }
	
	.team-players {
        padding: 20px 0;
    }

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

    .team-players-header-content {
        gap: 15px;
    }

    .team-players-header h2 {
        font-size: 20px;
    }

    .player-tabs {
        gap: 10px;
    }

    .player-tabs li {
        font-size: 10px;
        padding: 3px 0;
    }

    .players-grid {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
        gap: 12px;
    }

    .players-grid-wrapper {
        padding: 0 10px;
    }

    .player-number {
        font-size: 20px;
        top: 8px;
        left: 8px;
    }

    .player-image {
        margin-bottom: 10px;
    }

    .player-name {
        font-size: 12px;
        margin-bottom: 4px;
    }

    .player-role {
        font-size: 10px;
    }

    .section-tag {
        font-size: 10px;
        margin-bottom: 8px;
    }

    .slider-progress-wrapper {
        margin-top: 20px;
        padding: 0 10px;
    }

    .slider-progress-bar {
        height: 3px;
    }

    /* News / Media Section Responsive Coaches Section */
    .team-coaches {
        padding: 30px 0;
    }

    .coaches-container {
        padding: 0 10px;
    }

    .coaches-header {
        margin-bottom: 30px;
    }

    .coaches-header h2 {
        font-size: 22px;
    }

    .coaches-header .section-tag {
        font-size: 10px;
        margin-bottom: 12px;
    }

    .coach-image {
        margin-bottom: 12px;
    }

    .coach-name {
        font-size: 15px;
        margin-bottom: 6px;
    }

    .coach-title {
        font-size: 12px;
    }

    /* Responsive Fixtures Section */
    #fixture-grid {
        grid-template-columns: 1fr;
        gap: 15px;
        padding: 10px 0;
    }

    .fixture-card {
        border-radius: 6px;
    }

    .fixture-card-header{
        display: block;
    }

    .fixture-header-top {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
        margin-bottom: 6px;
    }

    .fixture-title {
        font-size: 14px;
        font-weight: 600;
    }

    .view-score-board {
        font-size: 11px;
    }

    .fixture-date {
        font-size: 14px;
    }

    .fixture-teams-section {
        padding: 12px;
    }

    .fixture-team {
        padding: 8px 0;
    }

    .team-left {
        gap: 10px;
    }

    .team-logo {
        width: 35px;
        height: 35px;
    }

    .team-name {
        font-size: 12px;
    }

    .team-score {
        font-size: 14px;
    }

    .team-overs {
        font-size: 10px;
    }

    .fixture-venue {
        padding: 9px 12px;
        font-size: 12px;
        display: grid;
    }

    /* End Responsive Fixtures Section */

    /* Team Squad Section Responsive */
    .team-squad-header .sp-table-caption {
        font-size: 15px;
    }

    .team-squad table thead th,
    .team-squad table tbody td {
        padding: 8px;
        font-size: 12px;
    }

    /* Force scroll on very small screens */
    .team-squad-content {
        overflow-x: auto;
    }
    /* End Team Squad Section Responsive */

    /* Get in touch section */
    .get-in-touch-section {
        margin-bottom: -47px;
    }
}
