body {
    font-family: var(--font-barlow-condensed), 'Barlow Condensed', sans-serif;
    overflow-x: hidden;
    max-width: 100vw;
}

#topnav {
    text-transform: uppercase;
    font-size: 20px;
}

#topnav .navbar-brand {
    font-weight: 700;
}

#topnav .nav-item {
    font-weight: 600;
    color: #000;
    transition: color 0.3s ease, transform 0.3s ease;
}

#topnav .nav-item:hover {
    color: red;
    transform: translateY(-1px);
}

.main-header {
    height: 54%;
}

.banner-ad {
    height: 100%;
}

.banner-slider>div {
    background-color: #0a53be;
    height: 100%;
}

.head-banner>div {
    background-color: #0a3622;
    height: 200px;
}

.news-banner {
    height: calc((100% / 3) - (40px / 3));
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    border-radius: 8px;
    overflow: hidden;
}

.news-banner:not(:last-child) {
    margin-bottom: 20px;
}

.news-banner-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.7) 60%, transparent 100%);
    padding: 12px 15px 18px 15px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 65%;
}

.news-banner-overlay .news-category {
    font-size: 0.7rem;
    text-transform: uppercase;
    color: #db0000;
    font-weight: bold;
    margin-bottom: 6px;
    line-height: 1;
}

.news-banner-overlay .news-title {
    color: #fff;
    font-size: 0.95rem;
    font-weight: 600;
    margin: 0;
    padding-bottom: 2px;
    line-height: 1.4;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
}

.sponsors {
    background-color: #db0000;
    width: 100%;
    height: 90px;
    line-height: 90px;
}

img {
    max-width: 100%;
    height: auto;
    object-fit: cover;
    /* Default safety for photos */
}

.sponsor-single {
    filter: invert(100%);
    height: 50px;
    width: auto;
    /* Ensure aspect ratio is preserved */
    object-fit: contain;
    /* Logos should never be cropped or stretched */
    max-width: 100%;
}

.sponsors-separator {
    width: 10px;
    height: 10px;
    background-color: #FFF;
    border-radius: 5px;
    display: inline-block;
    line-height: 90px;
}

.btn-danger {
    background-color: #db0000;
}

.club-color {
    color: #db0000;
}

footer {
    background-color: #171716;
    text-transform: uppercase;
    font-size: 2.6vh;
    font-weight: 100;
    color: #FFF;
}

.footer-copy {
    font-size: 1.8vh;
    opacity: 0.8;
}

.footer-sponsors-headers h4 {
    border-left: 5px solid #db0000;
    padding-left: 10px;
    font-weight: 300;
}

.footer-line {
    border-color: rgba(255, 255, 255, 0.3) !important;
}

.teams-heading {
    min-height: 480px;
    height: auto;
    background-color: #db0000;
    text-transform: uppercase;
    font-weight: bold;
    font-style: italic;
    position: relative;
    padding-bottom: 100px;
}


.teams-feature {
    margin-top: -90px;
}

.teams-feature>div {
    height: 280px;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    font-weight: bolder;
    color: #FFF;
    font-size: 30px;
    clip-path: polygon(25% 0%, 100% 0%, 75% 100%, 0% 100%);
    display: flex;
    text-align: right;
}

.teams-feature .team-name {
    align-self: flex-end;
    width: 75%;
    font-size: 50px;
    font-weight: 500;
    font-style: italic;
}

.navbar-brand {
    line-height: 60px;
}

/* Sidebar */

.sidebar-title {
    text-transform: uppercase;
}

.sidebar-line {
    width: 100%;
    height: 2px;
    background-color: #db0000;
}

.news-list-single {
    width: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 10vh;
}

.news-list-single {
    margin-top: 10px;
    position: relative;
}

.news-list-single-title {
    opacity: 0;
    width: 100%;
    position: absolute;
    height: 100%;
    padding: 20px;
    text-transform: uppercase;
    overflow: hidden;
    white-space: normal;
    /* Don't forget this one */
    text-overflow: ellipsis;
    background-color: rgba(0, 0, 0, 0.8);
    color: #FFF;
    font-weight: bold;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    transition: opacity 0.3s ease-out;
}

.news-list-single:hover .news-list-single-title {
    opacity: 1;
    transition: opacity 0.3s ease-in;
}

.sidebar-sponors {
    width: 100%;
    height: 400px;
}

.sidebar-single-sponsor {
    width: 100%;
    height: calc(200px - 5px);
    margin-bottom: 10px;
    background-color: #0a3622;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    box-shadow: 3px 3px 6px 0 rgba(0, 0, 0, .5);
}

/*  */
.social-nav {
    margin-top: 10px;
}

.social-link {
    padding: 5px;
    font-size: 20px;
    text-align: center;
    color: #fff;
    background-color: #db0000;
}

.social-link:not(:first-child) {
    margin-left: 5px;
}

.social-link:hover {
    color: #FFF;
}

.page-title {
    text-transform: uppercase;
    font-size: 2rem;
    border-left: 5px solid #db0000;
    padding-left: 10px;
}

.scrollable-menu {
    height: auto;
    max-height: 60vh;
    overflow-x: hidden;
}

.form-control,
.btn {
    border-radius: 0px;
}

.btn {
    text-transform: uppercase;
}

.categories-menu>.dropdown-item {
    font-size: 1.2rem;
}

.categories-menu>.dropdown-item>i {
    margin-right: 10px;
}

.btn:focus,
.btn:active {
    outline: none !important;
    box-shadow: none;
}

input:focus,
.form-control:active {
    outline: none !important;
    box-shadow: none !important;
    border-color: var(--bs-border-color) !important;
}

.dropdown-item:hover {
    color: #db0000;
}

.dropdown-item.active {
    color: #db0000;
    background-color: transparent;
    font-weight: bold;
}


.transition {
    -webkit-transition: all 500ms ease-in-out;
    -moz-transition: all 500ms ease-in-out;
    -ms-transition: all 500ms ease-in-out;
    -o-transition: all 500ms ease-in-out;
    transition: all 500ms ease-in-out;
}


.about-us-heading {
    height: 380px;
    background-color: #db0000;
    background-position: center center;
    background-size: cover;
}

.page-heading {
    color: #FFF;
    font-size: 50px;
    font-style: italic;
    text-transform: uppercase;
    /* margin-top: -1.9em; */
}

/* Restore margin-top for homepage teams section */
.body .teams-heading .page-heading {
    margin-top: -2em;
}

.text-about-us {
    font-size: 1.3rem;
}

.text-justify {
    text-align: justify;
}

::-webkit-scrollbar {
    width: 14px;
    height: 14px;
}

::-webkit-scrollbar-track {
    background: #f5f5f5;
    border-radius: 6px;
}

::-webkit-scrollbar-thumb {
    background: #1a1a1a;
    border: 2px solid #ff1a1a8e;
    transition: all 0.3s ease;
    box-shadow: inset 0 0 4px rgba(255, 26, 26, 0.2);
}

::-webkit-scrollbar-thumb:hover {
    background: #2a2a2a;
    border-color: #ff333370;
    box-shadow: inset 0 0 6px rgba(255, 51, 51, 0.3);
}

::-webkit-scrollbar-corner {
    background: #f5f5f5;
}

.teams-feature>div,
.content-feature .content-single-feature,
.content-team-banner,
.content-feature .content-teams-single,
.shop-feature-single {
    transition: transform 0.4s ease, color 0.4s ease;
    -webkit-transition: transform 0.4s ease, color 0.4s ease;
}

.teams-feature>div:hover,
.content-feature .content-single-feature:hover,
.content-team-banner:hover,
.content-feature .content-teams-single:hover,
.shop-feature-single:hover {
    transform: translateY(-10px);
}

.player-socials a {
    display: inline-block;
    transition: transform 0.4s ease-in-out;
    -webkit-transition: transform 0.4s ease-in-out;
}

.player-socials a:hover {
    transform: translateY(-3px);
}

.player-socials a {
    display: inline-block;
    transition: transform 0.4s ease-in-out;
    -webkit-transition: transform 0.4s ease-in-out;
}

.player-socials a:hover {
    transform: translateY(-3px);
}

/* ------------------------------------------------------------------------------------------------------------------------------------------------------------ */
/* ------------------------------------------------------------------------ RESPONSIVE ------------------------------------------------------------------------ */
/* ------------------------------------------------------------------------------------------------------------------------------------------------------------ */

@media (max-width: 1200px) {
    .teams-feature>div {
        height: 230px;
        font-size: 25px;
    }

    .teams-feature .team-name {
        font-size: 40px;
    }

    #topnav {
        text-transform: uppercase;
        font-size: 16px;
    }

    .text-bg {
        color: transparent;
        -webkit-text-stroke-color: #FFF;
        -webkit-text-stroke-width: 2px;
        text-transform: uppercase;
        font-weight: 500;
        font-style: italic;
        font-size: 42vh;
        margin-top: -125px;
        margin-left: -40px;
        opacity: 0.4;
        pointer-events: none;
    }
}

@media (max-width: 992px) {
    .teams-heading {
        height: 250px;
    }

    .teams-feature>div {
        height: 200px;
        font-size: 20px;
    }

    .teams-feature .team-name {
        font-size: 35px;
    }

    .col-lg-1 {
        display: none;
    }
}

@media (max-width: 768px) {
    .teams-heading {
        height: 200px;
    }

    .teams-feature>div {
        height: 210px;
        font-size: 18px;
    }

    .teams-feature .team-name {
        font-size: 30px;
    }

    /* Mobile responsiveness for header sections */
    .main-header {
        height: auto !important;
        margin-bottom: 30px;
    }

    .main-header .banner-slider,
    .main-header .last-news,
    .main-header .banner-ad {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }

    .banner-slider>div {
        height: 250px;
    }

    .news-banner {
        height: 180px;
    }

    .banner-ad>div {
        height: 200px;
    }
}

@media (max-width: 576px) {
    .teams-feature>div {
        height: 250px;
        font-size: 16px;
    }

    .teams-feature .team-name {
        font-size: 25px;
    }

    /* Enhanced mobile layout for news banners */
    .main-header {
        height: auto !important;
        margin-bottom: 20px;
    }

    .main-header .banner-slider,
    .main-header .last-news,
    .main-header .banner-ad {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }

    .banner-slider>div {
        height: 220px;
        width: 100%;
    }

    .news-banner {
        height: 200px;
        width: 100%;
        background-position: center;
        background-size: cover;
    }

    .news-banner:not(:last-child) {
        margin-bottom: 15px;
    }

    .banner-ad>div {
        height: 180px;
        width: 100%;
    }

    .head-banner>div {
        height: 150px;
    }

    .sponsors {
        margin-top: 20px !important;
    }

    .text-about-us {
        font-size: 1rem;
        padding: 0 15px;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .col-md-8.offset-md-2.col-sm-12 {
        width: 100%;
        margin-left: 0;
        padding: 0 15px;
    }

    .team-feature .col-8.offset-2 {
        width: 100%;
        margin-left: 0;
        padding: 0 15px;
    }

    .players-col {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .players-col>.col {
        padding-left: 10px;
        padding-right: 10px;
    }
}

@media (max-width: 435px) {
    .text-about-us {
        font-size: 0.95rem;
        padding: 0 10px;
        line-height: 1.5;
    }

    .page-heading {
        font-size: 40px;
    }

    .players-col>.col {
        padding-left: 5px;
        padding-right: 5px;
        margin-bottom: 15px;
    }

    .container-fluid {
        padding-left: 10px;
        padding-right: 10px;
    }
}

/* Cookie Consent Button Fix */
.fixed-bottom .btn {
    margin-top: 0 !important;
}

/* FTW Red Button - Global Styles */
.btn-ftw-red {
    background-color: #db0000;
    color: #fff;
    border: none;
    text-transform: uppercase;
    font-weight: 700;
    padding: 12px 25px;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    border-radius: 0;
}

.btn-ftw-red:hover {
    background-color: #b30000;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(219, 0, 0, 0.2);
}

/* Fix navbar login button size on homepage */
.navbar .btn-ftw-red {
    font-size: 0.875rem !important;
    padding: 6px 12px !important;
    margin-top: 0 !important;
}

.body .teams-heading .page-heading {
    margin-top: -0.2em;
    font-size: 60px;
}

@media (max-width: 574px) {
    .teams-feature {
        margin-top: -100px;
    }
}

@media (min-width: 575px) {
    .teams-feature {
        margin-top: -230px;
    }
}

/* Reusable Hero Band */
.hero-band {
    width: 100%;
    background: linear-gradient(135deg, #db0000 0%, #a30000 100%);
    color: #fff;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 70px 20px;
    min-height: 280px;
}

.hero-inner {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    width: 100%;
}

.hero-outline {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: clamp(200px, 32vw, 550px);
    font-weight: 900;
    font-style: italic;
    color: transparent;
    -webkit-text-stroke: 2px rgba(255, 255, 255, 0.15);
    letter-spacing: 0.01em;
    white-space: nowrap;
    pointer-events: none;
    z-index: 0;
    line-height: 0.75;
}

@media (max-width: 768px) {
    .hero-outline {
        display: none !important;
    }
}

.hero-title {
    position: relative;
    z-index: 1;
    font-size: clamp(2.4rem, 6vw, 4rem);
    font-weight: 950;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    margin: 0;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
}

.hero-eyebrow {
    position: relative;
    z-index: 1;
    margin-top: 8px;
    font-weight: 800;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.85);
}

/* Smooth Page Route Transitions */
@keyframes pageFadeInUp {
    0% {
        opacity: 0;
        transform: translateY(24px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.page-transition-wrapper {
    animation: pageFadeInUp 0.42s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    will-change: opacity, transform;
    width: 100%;
}