@font-face {
    font-family: "bebas_neue";
    src: url("webfonts/bebasneue_regular-webfont.eot");
    src:
        url("webfonts/bebasneue_regular-webfont.eot?#iefix")
            format("embedded-opentype"),
        url("webfonts/bebasneue_regular-webfont.woff2") format("woff2"),
        url("webfonts/bebasneue_regular-webfont.woff") format("woff"),
        url("webfonts/bebasneue_regular-webfont.ttf") format("truetype"),
        url("webfonts/bebasneue_regular-webfont.svg#bebas_neue_regularregular")
            format("svg");
    font-weight: normal;
    font-style: normal;
}

.stat-facts {
    background: url("/images/match.jpg") no-repeat center center;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}

.bg-overlay {
    background-color: rgba(0, 0, 0, 0.2);
    display: block;
    padding: 140px 0;
}

.match-club {
    text-align: center;
    margin-bottom: 40px;
}

.club-name {
    font-size: 20px;
    font-family: "bebas_neue", sans-serif;
    font-weight: 700;
    color: #f00;
}

.match-description {
    text-align: center;
}

.liga-name {
    font-size: 40px;
    font-family: "bebas_neue", sans-serif;
    font-weight: 700;
    color: #f00;
    margin-bottom: 10px;
    margin-top: -30px;
    line-height: 30px;
}

.liga-date {
    font-size: 20px;
    font-family: "bebas_neue", sans-serif;
    font-weight: 700;
    color: #f00;
    margin-bottom: 40px;
}

.liga-vs {
    font-size: 28px;
    font-family: "bebas_neue", sans-serif;
    font-weight: 700;
    color: #f00;
    margin-bottom: 60px;
}

.liga-location {
    font-size: 14px;
    color: #fff;
}

.club-name {
    font-size: 20px;
    font-family: "bebas_neue", sans-serif;
    font-weight: 700;
    color: #f00;
}

/**/

.news-section {
    max-width: 1330px;
    margin: 140px 225px;
    position: relative;
}

.container-fluid {
    margin: 0 auto;
    max-width: 1350px;
    padding: 0 30px;
    width: 100%;
}

.custom-slider-content {
    display: flex;
    flex-direction: column;
}

.custom-slider-container {
    display: flex;
    position: relative;
}

.custom-slider-title {
    color: #203837;
    height: 200px;
    position: relative;
    /* width: 50px; */
    flex-shrink: 0;
    /* margin-right: 30px; */
}

.custom-slider-title-content {
    /* font-family: "Bebas Neue", Arial, sans-serif; */
    font-family: "Oswald", Arial, sans-serif;
    font-size: 68px;
    font-weight: 700;
    line-height: 100%;
    position: absolute;
    text-transform: uppercase;
    white-space: nowrap;
    left: 0;
    top: 0;
    padding-top: 3rem;
    transform: rotate(-270deg) translateX(-10%);
    transform-origin: left top;
    text-align: start;
}

.custom-slider-title-content span {
    color: #c42221;
    display: block;
}

.custom-slider-wrap {
    flex: 1;
    min-width: 1px;
    overflow: hidden;
}

.swiper {
    opacity: 1;
    transition: opacity 0.3s ease-out;
}

.swiper-wrapper {
    display: flex;
    align-items: stretch;
}

.news-slide {
    width: 300px;
    height: auto;
    margin-right: 30px;
}

.news-item {
    color: #fff;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: color 0.2s ease-out;
    text-decoration: none;
}

.news-item-img-wrap {
    background-color: #1e1e1e;
    box-shadow: 0 30px 30px rgba(0, 0, 0, 0.2);
    height: 400px;
    position: relative;
    overflow: hidden;
}

.news-item-img {
    display: block;
    height: 100%;
    width: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.news-item:hover .news-item-img {
    transform: scale(1.05);
}

.news-item-caption {
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px;
    position: absolute;
    z-index: 10;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
}

.news-item-date {
    color: hsla(0, 0%, 100%, 0.7);
    font-family: "Bebas Neue", Arial, sans-serif;
    font-size: 18px;
    font-weight: 700;
    line-height: 140%;
    margin-bottom: 15px;
}

.news-item-title {
    font-family: "Bebas Neue", Arial, sans-serif;
    font-size: 32px;
    font-weight: 700;
    line-height: 110%;
    text-transform: uppercase;
}

.custom-slider-bottom {
    display: flex;
    align-items: center;
    margin-top: 50px;
    justify-content: space-between;
}

.custom-slider-bottom-ctrls {
    display: flex;
    align-items: center;
    justify-content: center;
    /* Center the entire controls group */
    gap: 20px;
    width: 70%;
    /* Ensure full width */
    margin-right: 20px;
}

.swiper-pagination {
    position: relative;
    bottom: auto;
    left: auto;
    width: auto;
    margin-top: 20px;
}

.swiper-button-prev,
.swiper-button-next {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    width: auto;
    height: auto;
    margin-top: 0;
}

.swiper-button-prev:after,
.swiper-button-next:after {
    display: none;
    /* Hide default Swiper arrows if using custom content */
}

/* Style your custom arrows */
.swiper-button-prev span,
.swiper-button-next span {
    display: inline-block;
    font-size: 24px;
    color: #f00;
    /* Match your red accent color */
    cursor: pointer;
}

/* Optional: Add hover effects */
.swiper-button-prev:hover span,
.swiper-button-next:hover span {
    opacity: 0.8;
}

/* Responsive adjustments */
@media (max-width: 1560px) {
    .custom-slider-title {
        height: auto;
        width: auto;
        margin-right: 0;
        margin-bottom: 30px;
    }

    .custom-slider-title-content {
        position: static;
        transform: none;
    }

    .custom-slider-container {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .news-section {
        margin: 80px 0;
    }

    .news-item-img-wrap {
        height: 350px;
    }

    .news-item-title {
        font-size: 28px;
    }

    .custom-slider-bottom {
        /* flex-direction: column; */
        /* align-items: flex-start; */
    }

    .custom-slider-bottom-ctrls {
        margin-top: 30px;
        width: 100%;
        justify-content: center;
    }
}

.swiper-pagination {
    position: relative;
    bottom: auto;
    left: auto;
    width: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    /* Adjust the gap between bullets if needed */
}

.swiper-pagination-bullet {
    width: 50px;
    height: 12px;
    background-color: rgba(255, 255, 255, 0.5);
    opacity: 1;
    margin: 0 !important;
    /* Remove default margins */
    transition: all 0.3s ease;
}

.swiper-pagination-bullet-active {
    background-color: #f00;
    /* Match your red accent color */
    width: 80px;
    /* Make the active bullet longer */
    border-radius: 6px;
    /* Slightly rounded rectangle */
}

.custom-slider-bottom .slider-bottom-btn {
    flex: 1;
    max-width: 230px;
}

.btn.btn-red {
    color: #fff;
}

a.btn-red {
    text-decoration: none !important;
}

.btn {
    background-color: transparent !important;
    border: 0;
    border-radius: 0;
    cursor: pointer;
    display: inline-block;
    font-family:
        Bebas Neue,
        Arial,
        sans-serif;
    font-size: 18px;
    font-weight: 700;
    height: 50px;
    letter-spacing: 0.2em;
    line-height: 51px;
    outline: none !important;
    padding: 0 18px;
    position: relative;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    transition:
        color 0.2s ease-out,
        border-color 0.2s ease-out,
        background-color 0.2s ease-out,
        background-image 0.2s ease-out,
        opacity 0.2s ease-out;
    vertical-align: middle;
    white-space: nowrap;
    z-index: 1;
}

a,
a:focus,
a:hover {
    text-decoration: none;
}

.btn.btn-red:active,
.btn.btn-red:focus,
.btn.btn-red:hover {
    color: #161515;
}

.slider-bottom-btn .btn-red {
    background-color: #f00 !important;
    /* Force red background */
    color: #fff !important;
    /* White text */
    border: 2px solid #f00;
    /* Red border matching background */
    padding: 0 25px;
    /* Slightly wider padding */
    transition: all 0.3s ease;
    /* Smooth transition for all properties */
    position: relative;
    /* For pseudo-element */
    overflow: hidden;
    /* Hide overflow for pseudo-element */
    z-index: 1;
    /* Ensure text stays above pseudo-element */
}

.slider-bottom-btn .btn-red::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background-color: #fff;
    /* White background for hover */
    transition: all 0.3s ease;
    z-index: -1;
    /* Behind the text */
}

.slider-bottom-btn .btn-red:hover {
    color: #f00 !important;
    /* Red text on hover */
    border-color: #fff;
    /* White border on hover */
}

.slider-bottom-btn .btn-red:hover::before {
    left: 0;
    /* Slide in the white background */
}

/* Optional: Add a slight scale effect on hover */
.slider-bottom-btn .btn-red:hover {
    transform: scale(1.05);
}

/* For the arrow icon if you want to add one */
.slider-bottom-btn .btn-red::after {
    content: "→";
    margin-left: 8px;
    transition: all 0.3s ease;
}

.slider-bottom-btn .btn-red:hover::after {
    transform: translateX(5px);
    /* Move arrow slightly on hover */
}

.service-slide {
    width: 300px;
    height: auto;
    margin-right: 30px;
}

.service-item {
    color: #fff;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: color 0.2s ease-out;
    text-decoration: none;
}

.service-item-img-wrap {
    background-color: #1e1e1e;
    box-shadow: 0 30px 30px rgba(0, 0, 0, 0.2);
    height: 400px;
    position: relative;
    overflow: hidden;
}

.service-item-img {
    display: block;
    height: 100%;
    width: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.service-item:hover .service-item-img {
    transform: scale(1.05);
}

.service-item-caption {
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px;
    position: absolute;
    z-index: 10;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
}

.service-item-title {
    font-family: "Bebas Neue", Arial, sans-serif;
    font-size: 32px;
    font-weight: 700;
    line-height: 110%;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.service-item-desc {
    font-size: 16px;
    line-height: 140%;
    opacity: 0.9;
}

.service-image {
    border-radius: 10px;
    overflow: hidden;
}

/**/

.cta-box {
    padding: 10px 0;
    display: flex;
    align-items: center;
}

.league-table-wrapper {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    padding: 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    width: 100%;
    overflow: hidden;
    margin: 30px 0 30px 0;
    padding: 20px;
}

.league-table-title {
    background: var(--theme-color);
    padding: 10px;
    text-align: center;
    color: white;
    font-size: 24px;
    font-weight: bold;
    border-radius: 8px;
}

.league-table-container {
    /* padding: 20px; */
}

.league-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.league-table-header {
    background: #f8f9fa;
    padding: 12px 8px !important;
    font-weight: 600;
    color: #495057;
    text-align: center;
    border-bottom: 2px solid #dee2e6;
    font-size: 14px;
    max-width: 100px;
}

.league-table-cell {
    padding: 12px 8px !important;
    text-align: center;
    border-bottom: 1px solid #dee2e6;
    font-size: 18px;
}

.league-table-row:hover {
    background-color: #f8f9fa;
    transition: background-color 0.2s ease;
}

.league-table-row:nth-child(even) {
    background-color: #f8f9fa;
}

.league-table-row:nth-child(odd) {
    background-color: white;
}

.league-table-position {
    font-weight: bold;
    color: #495057;
    width: 40px;
}

.league-table-team {
    text-align: left !important;
    font-weight: 500;
    color: #212529;
    min-width: 150px;
}

.league-table-team-name {
    font-weight: 500;
    color: #212529;
    font-size: 0.875rem !important;
    font-family: oswald;
}

.league-table-stats {
    color: #495057;
    font-weight: 500;
    width: 50px;
}

.league-table-goals {
    color: #6c757d;
    font-size: 13px;
    width: 60px;
}

.league-table-points {
    font-weight: bold;
    color: #495057;
    width: 50px;
}

@media (max-width: 768px) {
    .league-table-wrapper {
        margin: 10px;
        padding: 10px;
    }

    .league-table {
        font-size: 12px;
    }

    .league-table-header,
    .league-table-cell {
        padding: 8px 4px;
    }

    .league-table-team {
        min-width: 120px;
    }
}

/* Base Styles */
.dark-section {
    background: #1a1a1a;
    color: white;
    padding: 60px 0;
}

.cta-box {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.league-table-wrapper,
.match-schedule-container {
    flex: 1;
    min-width: 300px;
}

/* League Table Styles */
.league-table-wrapper {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.league-table-title {
    padding: 15px;
    text-align: center;
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
}

.table-responsive {
    overflow-x: auto;
}

.league-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    min-width: 600px; /* Minimum width before scrolling */
}

.league-table-header {
    background: #f8f9fa;
    padding: 12px 8px;
    font-weight: 600;
    color: #495057;
    text-align: center;
    border-bottom: 2px solid #dee2e6;
    font-size: 0.875rem;
}

.league-table-cell {
    padding: 12px 8px;
    text-align: center;
    border-bottom: 1px solid #dee2e6;
    font-size: 0.875rem;
}

.league-table-row:hover {
    background-color: #f8f9fa;
}

.league-table-row:nth-child(even) {
    background-color: #f8f9fa;
}

.league-table-position {
    font-weight: bold;
    width: 40px;
}

.league-table-logo {
    display: inline-block;
    width: 30px;
    height: 30px;
    margin-right: 8px;
    border-radius: 50%;
    /* background: #6c757d; */
    vertical-align: middle;
}

.league-table-points {
    font-weight: bold;
}

/* Match Schedule Styles */
.match-schedule-container {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 22px 20px;
    height: 830px;
    display: grid;
}

.match-schedule-title {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 20px;
    color: white;
    text-align: center;
    align-self: start;
}

.match-schedule-items {
    align-self: center;
}

.match-schedule-item {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 40px 24px;
    margin-bottom: 70px;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}

.match-schedule-item:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-3px);
}

.icon-box {
    flex: 0 0 40px;
    text-align: center;
}

.icon-box img {
    max-width: 100%;
    height: auto;
}

.match-schedule-item-content {
    flex: 1;
    padding: 0 15px;
}

.match-content-info {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
}

.match-content-info p {
    margin: 0 10px;
    font-weight: 500;
}

.match-content-info img {
    width: 20px;
}

.match-content-location {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #aaa;
    font-size: 0.875rem;
}

.match-content-location img {
    margin-right: 8px;
    width: 16px;
}

/* Responsive Adjustments */
@media (max-width: 1199px) {
    .league-table-wrapper,
    .match-schedule-container {
        flex: 0 0 calc(50% - 15px);
    }
}

@media (max-width: 991px) {
    .league-table-cell {
        padding: 10px 6px;
    }

    .league-table-team {
        min-width: 120px;
    }
}

@media (max-width: 767px) {
    .cta-box {
        flex-direction: column;
        gap: 20px;
    }

    .league-table-wrapper,
    .match-schedule-container {
        flex: 1 1 100%;
    }

    .league-table-title,
    .match-schedule-title {
        font-size: 1.25rem;
    }

    .match-schedule-item {
        padding: 12px;
    }

    .match-content-info p {
        font-size: 12px !important;
        margin: 0;
    }
}

@media (max-width: 575px) {
    .league-table-cell {
        padding: 8px 4px;
        font-size: 0.75rem;
    }

    .league-table-header {
        font-size: 0.75rem;
    }

    .league-table-logo {
        width: 16px;
        height: 16px;
        margin-right: 5px;
    }

    .match-schedule-item {
        flex-direction: row;
        text-align: center;
        margin-bottom: 20px;
    }

    .icon-box {
        margin-bottom: 10px;
    }

    .match-schedule-item-content {
        padding: 0;
    }

    .match-content-location h3 {
        font-size: 12px;
    }
}

/**/

/* Base Styles */
.players-section {
    background: #0a0a0a;
    color: #ffffff;
    /* Ensure all text is white */
    /*padding: 60px 0;*/
    position: relative;
    overflow: hidden;
}

@media (max-width: 1024px) {
    .players-section {
        padding-bottom: 60px;
    }
}

.section-title {
    font-size: 3rem;
    font-weight: 300;
    text-transform: uppercase;
    margin-bottom: 40px;
    padding: 0 20px;
    color: #ffffff;
    /* Explicit white */
}

.section-title #players-section-title-span {
    font-weight: 700;
    color: #e30613;
    display: block;
}

/* Swiper Container */
.swiper {
    width: 100%;
    height: 100%;
}

/* Player Slide */
.player-slide {
    display: flex;
    align-items: center;
    padding: 0 20px;
}

.uniform-slide {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 20px;
}

.player-image-container,
.uniform-image-container {
    flex: 0 0 40%;
    position: relative;
}

.player-photo {
    width: 100%;
    max-width: 300px;
    height: auto;
    display: block;
}

.uniform-photo {
    width: 100%;
    max-width: 400px;
    min-width: 200px;
    min-height: 200px;
    height: auto;
    display: block;
}

.player-stats {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: space-around;
    padding: 15px 0;
    color: #ffffff;
    /* White text */
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 1.5rem;
    font-weight: bold;
    color: #e30613;
}

.stat-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    opacity: 0.8;
    color: #ffffff;
    /* White text */
}

/* Player Info */
.player-info {
    flex: 1;
    padding-left: 60px;
    color: #ffffff;
    /* White text */
}

.player-number {
    font-size: 5rem;
    font-weight: 300;
    line-height: 0.8;
    margin-bottom: 20px;
}

.player-name {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 10px;
    text-transform: uppercase;
    color: #ffffff;
    /* White text */
}

.player-position {
    font-size: 1.2rem;
    color: #e30613;
    margin-bottom: 30px;
    text-transform: uppercase;
}

.player-details {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Always show 2 columns */
    gap: 20px;
    margin-bottom: 30px;
    width: 100%; /* Ensure it takes full width */
}
.detail-item {
    margin-bottom: 15px;
    width: 100%; /* Make each item take full width of its grid cell */
}

/* If you're using Bootstrap's row/col classes, override them */
.player-details.row {
    display: grid !important; /* Override Bootstrap's flex */
    margin-left: 0;
    margin-right: 0;
}

.player-details .col-6 {
    flex: none !important;
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
}

.detail-label {
    /*font-size: 0.9rem;*/
    color: #bbbbbb;
    /* Lighter gray for labels */
    text-transform: uppercase;
    margin-bottom: 5px;
}

.detail-value {
    font-size: 1.1rem;
    color: #ffffff;
    /* White text */
}

.player-bio {
    max-width: 600px;
    margin-bottom: 30px;
    line-height: 1.6;
    color: #eeeeee;
    /* Slightly off-white for better readability */
}

.read-more {
    color: #e30613;
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    display: inline-block;
}

/* Navigation */
.slider-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 40px;
    padding: 0 20px;
}

.slider-nav {
    display: flex;
    align-items: center;
}

.slider-prev,
.slider-next {
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #333;
    transition: all 0.3s;
    color: #ffffff;
    /* White arrows */
}

.slider-prev:hover,
.slider-next:hover {
    background: #e30613;
    border-color: #e30613;
}

.slider-pagination {
    display: flex;
    margin: 0 20px;
}

.swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: #333;
    border-radius: 50%;
    margin: 0 5px;
    cursor: pointer;
    transition: all 0.3s;
    opacity: 1;
}

.swiper-pagination-bullet-active {
    background: #e30613;
}

.view-all-btn {
    background: #e30613;
    color: white;
    padding: 12px 30px;
    text-transform: uppercase;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.view-all-btn:hover {
    background: #c00511;
}

/* Responsive */
@media (max-width: 1024px) {
    .player-slide {
        flex-direction: column;
    }

    .player-info {
        padding-left: 0;
        padding-top: 40px;
    }

    .player-image-container {
        margin-bottom: 20px;
    }
}

@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }

    .player-name {
        font-size: 1.8rem;
    }

    /*.player-details {*/
    /*    grid-template-columns: 1fr;*/
    /*}*/
}

.slider-bottom-btn .btn-default:hover {
    color: white !important;
}
