/*--------------- LFChistory.net Custom Styles - Bootstrap 5 Compatible ----------------*/

/*--------------- CSS Custom Properties (Design Tokens) ----------------*/
:root {
    /* Liverpool FC Colors */
    --lfc-red: #D3171E;
    --lfc-red-dark: #a8131a;
    --lfc-red-light: #e84048;
    --lfc-grey: #4D4C4D;
    --lfc-dark: #202020;

    /* Neutrals */
    --bg-primary: #f8f9fa;
    --bg-secondary: #ffffff;
    --text-primary: rgba(0, 0, 0, 0.87);
    --text-secondary: rgba(0, 0, 0, 0.6);

    /* Shadows - Modern layered shadows */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08), 0 1px 2px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.07), 0 2px 4px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.1), 0 5px 10px rgba(0, 0, 0, 0.05);

    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;

    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-normal: 250ms ease;
}

/*--------------- Body ----------------*/
html, body
{
	min-height: 100%;
}
body {
    font-family: 'Roboto', sans-serif;
    font-size: 0.875rem;
    background: linear-gradient(180deg, #f5f7fa 0%, #e8ecef 100%);
    background-attachment: fixed;
    overflow-x: hidden;
    overflow-y: auto;
}
ul
{
	margin:0;
	padding: 0;
	list-style-type: none;
}
a {
    color: var(--lfc-red);
    transition: color var(--transition-fast);
}
    a, a:hover, a:focus {
        text-decoration: none;
    }
        a:hover, a:focus {
            color: var(--lfc-red-dark);
        }
.no-box_shadow {
    box-shadow: none !important;
}
.block {
    display: block !important;
}
.relative {
    position: relative !important;
}
/* Bootstrap 5: .label is now .badge, but we keep .label for backward compatibility */
.label {
    padding: .4em .8em .4em .8em !important;
    font-size: 85% !important;
}
    .label + .label {
        margin-left:5px;
    }
    .label:last-child {
        margin-right:5px;
    }

/*Global Nav*/
.global-nav_outer {
    background: var(--lfc-red);
}
.global-nav_contain
{
	display: flex;
	justify-content: space-between;
	align-items: center;
}
.global-nav_contain .nav-global_list ul
{
	display: block;
}
.global-nav_contain .nav-global_list ul li
{
	display: inline-block;
	margin-right: 20px;
}
.global-nav_contain .nav-global_list ul li:last-child
{
	margin-right:0;
}
.global-nav_contain .nav-global_list ul li a
{
	display: block;
	font-size: 12px;
	font-weight: 500;
	color: #ffffff;
	line-height: 40px;
}
.global-nav_contain .nav-global_list ul li a:hover
{
	color:rgba(255,255,255,0.9);
}

.global-nav_contain .nav-global_social ul
{
	display: block;
}
.global-nav_contain .nav-global_social ul li
{
	display: inline-block;
	margin: 0 5px;
}
.global-nav_contain .nav-global_social ul li a
{
	display: flex;
	width: 24px;
	height: 24px;
	background: #ffffff;
	border-radius:50%;
	align-items: center;
	justify-content: center;
	color: var(--lfc-red);
	transition: opacity var(--transition-fast), transform var(--transition-fast);
}

.global-nav_contain .nav-global_social ul li a:hover
{
	opacity: 0.9;
	transform: scale(1.05);
}
.global-nav_contain .nav-global_social ul li:last-child
{
	margin-right: 0;
}
.global-nav_contain .nav-global_social ul li a:hover
{
	opacity: 0.9;
}
.global-nav_toggle
{
	padding: 5px 15px;
	background: var(--lfc-grey);
	float: right;
	color: #ffffff;
}
.global-nav_toggle:hover,
.global-nav_toggle:focus
{
	color: #ffffff;
}

.negative-box_margins
{
    margin:-25px;
}
.ad-placeholder,
.ad-fixed_placeholder {
    display:none;
}

.ad-placeholder-box {
    display: block;
    text-align: center;
    padding-bottom: 2em;
}

@media(min-width:1200px) {
    .ad-placeholder {
        display:block;
        text-align: center;
        padding-bottom: 2em;
    }
}

/*-------------------------
Main Navigation ---------*/
.main-navigation_outer {
    display: block;
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(218, 218, 218, .50);
    margin-bottom: 60px;
    transition: box-shadow var(--transition-normal), background-color var(--transition-normal);
}

.main-navigation_outer.scrolled {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow-md);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.main-navigation_contain ul.lf-nav_main {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
}

    .main-navigation_contain ul.lf-nav_main > li {
        display: inline-block;
    }

        .main-navigation_contain ul.lf-nav_main > li.lfc-brand_logo {
            position: relative;
            width: 110px;
        }

            .main-navigation_contain ul.lf-nav_main > li.lfc-brand_logo .brand-logo_image {
                position: absolute;
                width: 110px;
                height: 110px;
                margin: auto;
                left: 0;
                right: 0;
                background: rgb(239, 241, 245);
                border-radius: 50%;
                top: -20px;
            }

                .main-navigation_contain ul.lf-nav_main > li.lfc-brand_logo .brand-logo_image img {
                    max-width: 100px;
                    margin: 12px 5px;
                }

        .main-navigation_contain ul.lf-nav_main > li > a {
            color: rgba(0,0,0,0.87);
            font-size: 14px;
            text-transform: uppercase;
            font-weight: 500;
            padding: 25px 10px 23px;
            display: block;
            border-bottom: solid 2px transparent;
        }

            .main-navigation_contain ul.lf-nav_main > li > a:hover,
            .main-navigation_contain ul.lf-nav_main > li > a:active,
            .main-navigation_contain ul.lf-nav_main > li > a:focus {
                border-bottom: solid 2px #D3171E;
            }

        .main-navigation_contain ul.lf-nav_main > li.active > a {
            border-bottom: solid 2px #D3171E;
            position: relative;
        }

            .main-navigation_contain ul.lf-nav_main > li.active > a:after {
                border-style: solid;
                content: " ";
                height: 0;
                width: 0;
                pointer-events: none;
                border-color: transparent;
                border-bottom-color: #D3171E;
                border-width: 5px;
                position: absolute;
                left: 0;
                right: 0;
                margin: auto;
                bottom: 0;
            }

        .main-navigation_contain ul.lf-nav_main > li.lfc-brand_logo .brand-logo_image a {
            padding: 0;
        }

.brand-logo_image_small {
    display: none;
}

/*-------------------------
Sub Menu ----------------*/
.lf-submenu_block {
    background: #ffffff;
    border-bottom: solid 5px #D3171E;
    box-shadow: -1px -1px 20px rgba(0, 0, 0, 0.15);
    top: 100%;
    margin: 0;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}

    .lf-submenu_block > li > a {
        line-height: 22pt !important;
    }

.dropdown-menu {
    margin: 0;
    padding: 5px 0; /* top/bottom spacing like BS3 */
    font-size: 14px;
    border-radius: 0;
    border: none;
    box-shadow: 0 6px 12px rgba(0,0,0,.175);
    background: #fff;
}

/* Restore BS3 item spacing + typography */
.dropdown-item {
    display: block;
    padding: 3px 20px; /* vertical spacing between rows */
    line-height: 1.42857143; /* exact BS3 line-height */
    font-weight: 400;
    color: #333;
    white-space: nowrap;
}

    /* Classic BS3 hover style */
    .dropdown-item:hover,
    .dropdown-item:focus {
        background-color: #f5f5f5;
        color: #262626;
    }

.dropdown-menu > li > a {
    display: block;
    padding: 3px 20px;
    clear: both;
    font-weight: 400;
    line-height: 1.42857143;
    color: #333;
    white-space: nowrap;
}

/* Bootstrap 5 dropdown-item styling override */
.dropdown-menu .dropdown-item {
    padding: 3px 20px;
    line-height: 1.42857143;
    color: #333;
}

.dropdown-menu .dropdown-item:hover,
.dropdown-menu .dropdown-item:focus {
    background-color: #f5f5f5;
    color: #262626;
}

/*---------------------------------
Mega Menu -----------------------*/
.lf-megamenu_block {
    display: none;
    position: absolute;
    width: 100%;
    top: 100%;
    left: 0;
    right: 0;
    background: #ffffff;
    border-bottom: solid 5px #D3171E;
    z-index: 999;
    box-shadow: -1px -1px 20px rgba(0, 0, 0, 0.15);
}

.lf-megamenu_list {
    padding: 25px 0 50px 0;
    position: relative;
    height: 100%;
    border-right: solid 1px #eee;
}

    .lf-megamenu_list ul li span {
        font-family: 'Roboto Condensed', sans-serif;
        color: #000000;
        font-size: 24px;
        position: relative;
        display: block;
        text-transform: uppercase;
        margin-bottom: 30px;
        padding-bottom: 3px;
    }

        .lf-megamenu_list ul li span:after {
            content: "";
            position: absolute;
            width: 36px;
            left: 0;
            height: 3px;
            background: #D3171E;
            bottom: 0;
        }

    .lf-megamenu_list ul li a {
        line-height: 32pt;
        color: rgba(0,0,0,0.87);
        font-size: 15px;
    }

        .lf-megamenu_list ul li a:hover {
            color: rgba(0,0,0,1);
        }

.lf-megamenu_block div[class^="col-"]:last-child .lf-megamenu_list {
    border-right: 0;
}

.main-navigation_contain ul.lf-nav_main > li.lf-sub_menu:hover > .lf-megamenu_block,
.main-navigation_contain ul.lf-nav_main > li.dropdown:hover > .lf-submenu_block {
    display: block;
}

/* Bootstrap 5: Dropdown submenu styling */
.dropdown-submenu {
    position: relative;
}

    .dropdown-submenu > .dropdown-menu {
        top: 0;
        left: 100%;
        margin-top: -6px;
        margin-left: -1px;
        border-radius: 0 6px 6px 6px;
    }

    .dropdown-submenu:hover > .dropdown-menu {
        display: block;
    }

    .dropdown-submenu > a:after {
        display: block;
        content: " ";
        float: right;
        width: 0;
        height: 0;
        border-color: transparent;
        border-style: solid;
        border-width: 5px 0 5px 5px;
        border-left-color: #ccc;
        margin-top: 5px;
        margin-right: -10px;
    }

    .dropdown-submenu:hover > a:after {
        border-left-color: #fff;
    }

    .dropdown-submenu.float-start {
        float: none;
    }

        .dropdown-submenu.float-start > .dropdown-menu {
            left: -100%;
            margin-left: 10px;
            border-radius: 6px 0 6px 6px;
        }

/* Bootstrap 5: Navbar collapse fix */
.navbar-collapse {
    max-height: none;
}

/*Hamburger Icon*/
#hamburger_icon {
    float: left;
    margin: 20px 0;
    width: 24px;
    height: 16px;
    position: relative;
    z-index: 1;
    transform: rotate(0deg);
    transition: .5s ease-in-out;
    cursor: pointer;
}

    #hamburger_icon span {
        display: block;
        position: absolute;
        height: 2px;
        width: 100%;
        background: #d3171e;
        border-radius: 0px;
        opacity: 1;
        left: 0;
        transform: rotate(0deg);
        transition: .25s ease-in-out;
    }

        #hamburger_icon span:nth-child(1) {
            top: 0px;
            transform-origin: left center;
        }

        #hamburger_icon span:nth-child(2) {
            top: 7px;
            transform-origin: left center;
        }

        #hamburger_icon span:nth-child(3) {
            top: 14px;
            transform-origin: left center;
        }

    #hamburger_icon.open span:nth-child(1) {
        transform: rotate(45deg);
        top: 0;
        left: 0;
    }

    #hamburger_icon.open span:nth-child(2) {
        width: 0%;
        opacity: 0;
    }

    #hamburger_icon.open span:nth-child(3) {
        transform: rotate(-45deg);
        top: 17px;
        left: 0;
    }

#mobile-nav_placeholder {
    position: fixed;
    width: 300px;
    top: 0;
    bottom: 0;
    overflow-x: hidden;
    overflow-y: auto;
    background: var(--lfc-grey);
    z-index: 9;
    left: -300px;
    transition: left .3s ease-in-out;
}

    /*Mobile Nav*/
    #mobile-nav_placeholder .nav-trigger_mobile ul {
        margin-top: 15px;
    }

        #mobile-nav_placeholder .nav-trigger_mobile ul li {
            display: block;
            clear: both;
        }

            #mobile-nav_placeholder .nav-trigger_mobile ul li a {
                display: block;
                line-height: 50px;
                text-align: left;
                color: #ffffff;
                font-weight: 400;
                font-size: 14px;
                padding: 0 20px;
            }

                #mobile-nav_placeholder .nav-trigger_mobile ul li a:hover {
                    background: #202020;
                }

.wrapper {
    position: relative;
    left: 0;
    transition: left .3s ease-in-out;
}

.nav_Mobile .wrapper {
    left: 300px;
    transition: left .3s ease-in-out;
}

.nav_Mobile #mobile-nav_placeholder {
    left: 0;
    transition: left .3s ease-in-out;
}

/*-------------------------------
Section Styles Starts
------------------------------*/
/*Section 1*/
.lf-intro_section--1 {
    background: transparent;
    width: 100%;
    padding: 15px 0;
}

/*Global Box Styles*/
.lf-box {
    display: block;
    background: var(--bg-secondary);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    margin-bottom: 30px;
    height: calc(100% - 30px);
    transition: box-shadow var(--transition-normal);
}

.lf-box:hover {
    box-shadow: var(--shadow-lg);
}

.lf-box--auto-height {
    height: auto !important;
}

.lf-box_header {
    padding: 0 25px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    height: 70px;
    border-radius: var(--radius-md) var(--radius-md) 0 0;
    overflow: hidden;
}

    .lf-box_header h3.lf-box_title {
        margin: 0;
        font-family: 'Roboto Condensed', sans-serif;
        font-weight: 700;
        font-size: 18px;
        text-transform: uppercase;
        color: #fff;
        letter-spacing: 0.5px;
        line-height: 70px;
    }

.box-header_red {
    background: var(--lfc-red);
}

.box-header_grey {
    background: var(--lfc-grey);
}

.box-header_tilt {
    background: linear-gradient(135deg, transparent 20px, #4d4c4d 20px);
    padding-left: 30px;
}

.lf-box_content {
    background: var(--bg-secondary);
    padding: 15px 25px;
    position: relative;
}

.lf-box-height__calc .lf-box_content {
    height: calc(100% - 70px);
}

.lf-box_inner--border {
    border-top: solid 5px;
}

    .lf-box_inner--border.primary {
        border-color: var(--lfc-red);
    }

    .lf-box_inner--border.secondary {
        border-color: var(--lfc-grey);
    }

.lf-box_content h3.lf-box_title {
    margin: 0;
    font-family: 'Roboto Condensed', sans-serif;
    font-weight: 700;
    font-size: 20px;
    text-transform: uppercase;
    color: rgba(0,0,0,0.87);
    letter-spacing: .5px;
    margin-bottom: 15px;
}

.lf-box_content h3.lf-box_sub--title {
    margin: 0;
    font-weight: 500;
    font-size: 16px;
    color: rgba(0,0,0,0.87);
    margin-bottom: 15px;
}

.lf-box_content h1 {
    font-size: 1.1rem;
    font-family: 'Roboto Condensed', sans-serif;
}

.lf-box_content h2 {
    font-size: 1.0rem;
}

.lf-box_content h3 {
    font-size: 0.95rem;
    margin-top: 20px;
    margin-bottom: 5px;
}


.lf-box_content h4 {
    font-size: 1.125rem;
}

.lf-box_content h5 {
    font-size: 0.95rem;
}

.box-content_dark {
    background: var(--lfc-dark);
}

.lf-box_tools {
    overflow: hidden;
}

    .lf-box_tools > a {
        color: #ffffff;
        text-decoration: underline;
        text-transform: uppercase;
    }

        .lf-box_tools > a:hover {
            opacity: 0.9;
            text-decoration: none;
        }

/*Custom Tabs*/
/* Container */
.lf-tabs_nav.nav-tabs {
    border-bottom: 0; /* kill BS tab line */
    gap: 10px; /* replaces li margin-right */
}

    /* Remove BS default tab chrome */
    .lf-tabs_nav.nav-tabs .nav-link {
        border: 0 !important;
        margin-bottom: 0 !important; /* BS5 uses this for borders */
        border-radius: var(--radius-sm) var(--radius-sm) 0 0;
        /* Your old style */
        background: var(--lfc-grey);
        color: #fff;
        font-size: 14px;
        font-weight: 400;
        text-transform: uppercase;
        letter-spacing: 1px;
        padding: 12px 20px;
        /* Buttons have default focus/appearance */
        line-height: 1;
        transition: background-color var(--transition-fast), color var(--transition-fast);
    }

        /* Hover/focus like old */
        .lf-tabs_nav.nav-tabs .nav-link:hover,
        .lf-tabs_nav.nav-tabs .nav-link:focus {
            background: rgba(77, 76, 77, 0.85);
            color: #fff;
        }

        /* Active tab (BS5 uses .nav-link.active) */
        .lf-tabs_nav.nav-tabs .nav-link.active,
        .lf-tabs_nav.nav-tabs .nav-item.show .nav-link {
            background: var(--lfc-dark);
            color: #fff;
            border: 0 !important;
        }

        /* Optional: nicer focus ring that doesn't look "blue bootstrap" */
        .lf-tabs_nav.nav-tabs .nav-link:focus-visible {
            outline: 2px solid rgba(255,255,255,.35);
            outline-offset: 2px;
            box-shadow: none;
        }


/*Inner Tabs Nav Styles*/
.lf-inner_tabs .nav-tabs.lf-tabs_nav {
    margin-bottom: 25px;
    border-bottom: 2px solid #c4c4c4;
    padding-bottom: 8px;
}

.lf-inner_tabs .lf-tabs_nav li {
    margin: 0;
    margin-bottom: -2px;
}

    .lf-inner_tabs .lf-tabs_nav li a {
        background: none;
        color: #4d4c4d;
        border-bottom: solid 2px #c4c4c4;
        text-transform: none;
        padding: 8px 15px;
    }

    .lf-inner_tabs .lf-tabs_nav li.active a {
        border-color: #D3171E;
        background: none;
        font-weight: 500;
    }

        .lf-inner_tabs .lf-tabs_nav li.active a:hover,
        .lf-inner_tabs .lf-tabs_nav li.active a:active,
        .lf-inner_tabs .lf-tabs_nav li.active a:focus {
            border-bottom: solid 2px #D3171E;
            margin: 0;
            background: none;
            color: #4d4c4d;
        }

/*Tab Body*/
.lf-tab_body--global:before,
.lf-tab_body--global:after {
    display: block;
    content: "";
    clear: both;
}

.lf-player_media {
}

.lf-profile_image {
    float: left;
    margin-right: 25px;
}

    .lf-profile_image img {
        width: 146px;
        height: 196px;
        object-fit: cover;
        border: solid 1px #ffffff;
        box-shadow: 1px 1px 2px rgba(0,0,0,0.15);
    }

.lf-profile_intro {
    display: block;
    overflow: hidden;
}

    .lf-profile_intro > h4 {
        font-size: 18px;
        font-weight: 500;
        color: var(--lfc-red);
        text-transform: uppercase;
        letter-spacing: 0.2px;
    }

    .lf-profile_intro > p {
        font-size: 14px;
        color: #ffffff;
        line-height: 22px;
    }

.lf-profile_history {
    padding: 0;
    clear: both;
}

.dl-horizontal dt,
.dl-horizontal dd {
    line-height: 20pt;
}

.lf-profile_history dl {
    column-count: 2;
}

    .lf-profile_history dl dd {
        font-size: 14px;
        line-height: 24px;
        color: #ffffff;
    }

        .lf-profile_history dl dd strong {
            font-weight: 700;
        }

.lf-profile_history dd {
    margin-bottom: 0px;
}

.lf-profile_history.color-dark dl dd {
    color: rgba(0,0,0,0.87);
}

.flex_basic {
    display: flex;
    flex-wrap: wrap;
}

.lf-random_cover img {
    width: 100%;
    height: 530px;
    object-fit: cover;
}

.lf-para_primary {
    color: rgba(0, 0, 0, .87);
    font-weight: 400;
    line-height: 25px;
    font-size: 14px;
}

.lf-article_primary {
    color: rgba(0, 0, 0, .87);
    font-weight: 400;
    line-height: 25px;
    font-size: 14px;
}

/*Form Related Styles*/
.lf-form_bottom--padding {
    padding-bottom: 60px;
}

.lf-form_bottom {
    position: absolute;
    bottom: 25px;
    margin: 0 25px;
    left: 0;
    right: 0;
}

.lf-form-control {
    display: block;
    width: 100%;
    height: 34px;
    padding: 6px 12px;
    font-size: 14px;
    line-height: 1.42857143;
    background-color: #fff;
    background-image: none;
    border: 1px solid #fafafa;
    border-radius: 0;
    box-shadow: 1px 1px 1px rgba(0,0,0,0.15);
    transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
    color: rgba(0,0,0,0.87);
}

    .lf-form-control:focus {
        border-color: #66afe9;
        outline: 0;
        box-shadow: none;
    }

select.lf-form-control {
    -webkit-appearance: none;
    appearance: none;
    background: url(../images/dropdown_arrow.png) no-repeat right 12px center;
    cursor: pointer;
}

/*Listing Styles*/
.lf-interview_block {
}

.lf-interview_list {
    padding: 18px 25px 12px 25px;
    border-bottom: solid 1px rgba(0,0,0,0.12);
}

    .lf-interview_list h4 {
        font-size: 14px;
        color: rgba(0,0,0,0.87);
        margin: 0;
        margin-bottom: 6px;
    }

    .lf-interview_list span {
        color: rgba(0,0,0,0.87);
        display: block;
    }

    .lf-interview_list p {
        margin-top: 10px;
        color: rgba(0,0,0,0.87);
        font-weight: 400;
    }

    .lf-interview_list:last-child {
        border: none;
    }

/*KOP Quote*/
.lf-quote_block--primary {
    position: relative;
}

.lf-quote_block {
    text-align: center;
}

    .lf-quote_block h4 {
        font-family: 'Roboto Condensed', sans-serif;
        margin-top: 0;
        font-size: 16px;
        color: rgba(0,0,0,0.87);
    }

    .lf-quote_block span {
        font-size: 13px;
        font-weight: 600;
        color: rgba(0,0,0,0.54);
        display: block;
        margin-bottom: 10px;
    }

    .lf-quote_block p {
        font-size: 15px;
        color: rgba(0,0,0,0.80);
        line-height: 24px;
        margin-bottom: 10px;
        transition: max-height 0.3s ease;
    }

    .lf-quote_block p.collapsed {
        max-height: 120px;
        overflow: hidden;
        position: relative;
    }

        .lf-quote_block p.collapsed::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            height: 72px;
            background: linear-gradient(to bottom, rgba(255,255,255,0), rgba(255,255,255,1));
            pointer-events: none;
        }

    .lf-quote_block .expand-btn {
        display: none;
        background: none;
        border: none;
        color: #c8102e;
        font-size: 13px;
        font-weight: 600;
        cursor: pointer;
        padding: 5px 0;
        margin-top: 5px;
        text-decoration: underline;
    }

        .lf-quote_block .expand-btn:hover {
            color: #a00d24;
        }

        .lf-quote_block .expand-btn.show {
            display: inline-block;
        }

.lf-quote_block--primary > i {
    font-size: 42px;
    position: absolute;
    right: 5px;
    color: rgba(0, 0, 0, 0.10);
}

/*Recent Match Result*/
.lf-season_block {
}

.lf-season_league--detail {
    padding: 20px 25px;
    border-bottom: solid 1px rgba(0,0,0,0.12);
}

    .lf-season_league--detail h4 {
        color: #D3171E;
        font-weight: 700;
        font-size: 18px;
        margin: 0;
        margin-bottom: 7px;
        text-transform: uppercase;
    }

    .lf-season_league--detail p {
        color: rgba(0,0,0,0.87);
        font-weight: 400;
        font-size: 14px;
        text-transform: uppercase;
    }

/*Result Table*/
.lf-season_league--result {
}

    .lf-season_league--result tr th,
    .lf-season_league--result tr td {
        border: none !important;
        text-align: center;
        padding: 15px 5px;
        text-transform: uppercase;
    }

    .lf-season_league--result tr th {
        font-family: 'Roboto Condensed', sans-serif;
        font-size: 20px;
        color: #000000;
    }

    .lf-season_league--result tr td {
        font-family: 'Roboto Condensed', sans-serif;
        font-size: 60px;
        color: #D3171E;
    }

.lf-season_league--footer {
    padding: 25px;
    text-align: right;
}

/*Primary Table Styles*/
.layout_fixed {
    table-layout: fixed;
    margin: 0;
}

table.lf-primary_table {
    width: 100%;
    background: #ffffff;
    border-collapse: collapse;
}

    /* Scope the outer border to *your* table only */
    table.lf-primary_table.table-bordered {
        border: 1px solid #ddd;
    }

    table.lf-primary_table tr td a {
        color: #D3171E;
    }

        table.lf-primary_table tr td a:hover {
            text-decoration: underline;
        }

    /* If you want no header *internal* borders, keep this */
    table.lf-primary_table thead th {
        border: 0;
    }

    /* �but restore the TOP line so the header has an outside border */
    table.lf-primary_table.table-bordered thead th {
        border-top: 1px solid #ddd;
    }

    /* Footer styling */
    table.lf-primary_table tfoot tr th,
    table.lf-primary_table tfoot tr td {
        background: #eaeaeb;
        font-weight: 500;
        font-size: 14px;
    }

    /* Flag column */
    table.lf-primary_table th.flag-col,
    table.lf-primary_table td.flag-col {
        width: 32px;
        min-width: 32px;
        max-width: 32px;
        padding: 0 6px;
        text-align: center;
        vertical-align: middle;
    }

    table.lf-primary_table img.flag {
        width: 14px;
        height: 14px;
        display: block;
        margin: 0 auto;
        object-fit: cover;
        border-radius: 3px;
    }


/*------------ Partners Logo
--------------------------*/
.lf-partners {
    background: #ffffff;
    border-top: solid 1px rgba(0,0,0,0.12);
    border-bottom: solid 1px rgba(0,0,0,0.12);
    padding: 25px;
}

.lf-partners_block {
    display: flex;
    flex-basis: auto;
    flex-direction: row;
    justify-content: space-around;
}

.lf-partner_list {
    display: block;
    text-align: center;
    padding: 25px;
    color: rgba(0,0,0,0.87);
}

    .lf-partner_list img {
        max-height: 45px;
    }

    .lf-partner_list span {
        display: block;
        margin-top: 25px;
    }

/*Footer Styles*/
.lf-footer {
    background: #eeeeee;
    padding: 25px;
    clear: both;
}

.lf-footer_social {
    float: left;
    margin-right: 25px;
}

    .lf-footer_social ul li {
        display: inline-block;
        margin-right: 15px;
    }

        .lf-footer_social ul li a {
            display: flex;
            width: 42px;
            height: 42px;
            background: #ffffff;
            border-radius: 50%;
            justify-content: center;
            align-items: center;
        }

            .lf-footer_social ul li a i {
                font-size: 24px;
                color: var(--lfc-red);
            }

.lf-footer_social ul li a {
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.lf-footer_social ul li a:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.lf-footer_nav {
    overflow: hidden;
}

    .lf-footer_nav ul li {
        display: inline-block;
        margin-right: 25px;
    }

        .lf-footer_nav ul li a {
            font-size: 16px;
            color: var(--lfc-red);
            text-transform: uppercase;
            transition: color var(--transition-fast);
        }

        .lf-footer_nav ul li a:hover {
            color: var(--lfc-red-dark);
        }

.lf-copyrights {
    color: rgba(0,0,0,0.87);
    font-size: 12px;
    margin-top: 5px;
    margin-bottom: 0;
}

/*=============================
Inner Page Style Starts Below
=============================*/
.lf-inner_wraper {
    padding-top: 15px;
}

.lf-match_block {
}

.lf-match_result--header {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    padding: 25px;
    border-bottom: solid 1px rgba(0, 0, 0, 0.15);
}

    .lf-match_result--header .lf-match_left span {
        font-weight: 600;
        text-transform: uppercase;
        color: rgba(0,0,0,0.87);
    }

    .lf-match_result--header .lf-match_left h2 {
        margin: 0;
        line-height: inherit;
        font-family: 'Roboto Condensed', sans-serif;
        font-size: 30px;
        color: rgba(0,0,0,0.87);
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }

    .lf-match_result--header .lf-match_right h4 {
        color: #D3171E;
        font-weight: 700;
        font-size: 18px;
        margin: 0;
        margin-bottom: 7px;
        text-transform: uppercase;
    }

    .lf-match_result--header .lf-match_right p {
        color: rgba(0,0,0,0.87);
        font-weight: 400;
        font-size: 14px;
        text-transform: uppercase;
        margin: 0;
    }

.lf-match_result--detail {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
}

.lf-match_score--table {
    border: none;
    margin-bottom: 0px;
}

    .lf-match_score--table td {
        padding: 10px 20px;
        text-transform: uppercase;
        text-align: center;
    }

        .lf-match_score--table td.lf-club_name {
            font-size: 24px;
            font-weight: 700;
            letter-spacing: 0.04em;
            color: rgba(0,0,0,0.87);
        }

        .lf-match_score--table td.lf-club_score {
            font-family: 'Roboto Condensed', sans-serif;
            font-size: 72px;
            color: #D3171E;
            font-weight: normal;
        }

.lf-club--divider {
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 62px;
    color: #D3171E;
}

.lf-label-primary {
    background: #D3171E;
    padding: 1em 2.5em;
    font-size: 100%;
    letter-spacing: 1px;
    font-weight: 500;
}

.lf-table_primary {
    border: none;
}

    .lf-table_primary tr > td {
        border: none !important;
        color: rgba(0,0,0,0.87);
        vertical-align: middle !important;
    }

.lf-list_item--primary {
}

    .lf-list_item--primary ul li {
        line-height: 25pt;
    }

    .lf-list_item--primary ul li a {
        color: #D3171E;
    }

        .lf-list_item--primary ul li a span {
            font-weight: 500;
            color: rgba(0,0,0,0.87);
        }

.column-count_1 {
    column-count: 1;
}

.column-count_2 {
    column-count: 2;
}

/*Game Notes*/
.lf-game_notes ul {
    margin-left: -25px;
    margin-right: -25px;
}

    .lf-game_notes ul li {
        padding: 15px 25px;
        border-bottom: solid 1px rgba(0,0,0,0.15);
    }

        .lf-game_notes ul li span {
            color: rgba(0,0,0,0.87);
        }

        .lf-game_notes ul li:last-child {
            border-bottom: none;
        }

.lf-game_notes.style--2 ul li {
    border: none;
    padding-top: 8px;
    padding-bottom: 8px;
}

/*Default Paging Override - Bootstrap 5 compatible*/
.pagination > .active > a,
.pagination > .active > a:focus,
.pagination > .active > a:hover,
.pagination > .active > span,
.pagination > .active > span:focus,
.pagination > .active > span:hover {
    z-index: 3;
    color: #fff;
    cursor: default;
    background-color: #D3171E;
    border-color: #D3171E;
}

.pagination > li > a,
.pagination > li > span,
.pagination > li > a:focus,
.pagination > li > a:hover,
.pagination > li > span:focus,
.pagination > li > span:hover {
    color: #D3171E;
}

/* Bootstrap 5 pagination updates */
.page-item.active .page-link {
    z-index: 3;
    color: #fff;
    background-color: #D3171E;
    border-color: #D3171E;
}

.page-link {
    color: #D3171E;
}

    .page-link:hover,
    .page-link:focus {
        color: #ff0009;
        background-color: #e9ecef;
        border-color: #dee2e6;
    }

/*Table Filter Styles*/
.ro-table_filter {
    margin-bottom: 30px;
}

    .ro-table_filter li {
        display: inline-block;
        font-size: 14px;
        position: relative;
        font-weight: 500;
    }

        .ro-table_filter li:first-child:after,
        .ro-table_filter li:last-child:after {
            content: normal;
        }

        .ro-table_filter li:after {
            content: "";
            width: 2px;
            display: inline-block;
            background: #D3171E;
            height: 12px;
            vertical-align: middle;
            margin: 0 5px;
        }

        .ro-table_filter li span {
            color: rgba(0,0,0,0.87);
            margin-right: 5px;
        }

        .ro-table_filter li a {
            color: #D3171E;
        }

/*Default Form Styles Override - Bootstrap 5 compatible*/
.form-control,
.form-select {
    box-shadow: none;
    border: 1px solid #dee2e6;
    border-radius: var(--radius-sm);
    font-size: 14px;
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

    .form-control:focus,
    .form-select:focus {
        border-color: var(--lfc-red);
        box-shadow: 0 0 0 3px rgba(211, 23, 30, 0.15);
        outline: none;
    }

/*Inner Page Tab Sections*/
.tab-profile .lf-profile_image img {
    border-color: #dcdcdc;
}

.tab-profile .lf-profile_history {
    padding: 0;
}

    .tab-profile .lf-profile_history dl dd {
        color: rgba(0, 0, 0, .87);
        font-size: 12px;
        line-height: 20px;
    }

.lf-primary_title--inner {
    font-size: 16px;
    font-weight: 500;
    color: #D3171E;
    letter-spacing: 0.2px;
    border-bottom: solid 1px rgba(0,0,0,0.15);
    padding-bottom: 5px;
    margin-bottom: 15px;
}

/*Managers*/
.lf-profile_images_list {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
}

    .lf-profile_images_list li {
        width: 14%;
        display: block;
        padding: 15px;
        text-align: center;
        border: solid 1px #eaeaea;
        margin: 1%;
        box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.15);
    }

        .lf-profile_images_list li img {
            width: 100px;
            height: 100px;
            object-fit: contain;
            display: block;
            margin: auto;
            margin-bottom: 10px;
        }

        .lf-profile_images_list li a {
            display: inline-block;
        }

            .lf-profile_images_list li a:hover {
                color: #D3171E;
                opacity: 0.9;
            }

        .lf-profile_images_list li span {
            display: block;
            font-size: 12px;
            margin-top: 5px;
        }

/*Social Share Styles*/
.social {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
}

    .social > div {
        margin-right: 10px;
    }

/*Other Styles Override, datatable etc*/
.dataTables_filter,
.dataTables_paginate.paging_simple_numbers {
    float: right;
}

.dataTables_info {
    padding-top: 10px;
}

.table-responsive.data-table-responsive {
    overflow-x:hidden;
}

/*=====================================================
MEDIA QUERIES
=====================================================*/
@media (min-width: 768px) and (max-width:991px) {
    .container {
        padding-left: 0;
        padding-right: 0;
    }

    .main-navigation_contain ul.lf-nav_main > li > a {
        text-transform: none;
        font-size: 13px;
    }

    .lf-profile_images_list li {
        width: 23%;
    }
}

@media (max-width: 767px) {
    .main-navigation_contain ul.lf-nav_main > li.lfc-brand_logo {
        order: -1;
    }

    .global-nav_outer {
        display: none;
    }

        .global-nav_outer.global-expand {
        }

    .main-navigation_contain ul.lf-nav_main {
        display: none;
    }

    .main-navigation_contain {
        text-align: center;
        position: relative;
        min-height: 58px;
    }

    #hamburger_icon span {
        background: #fff;
    }

    .brand-logo_image_small {
        display: block;
        position: absolute;
        left: 0;
        right: 0;
        margin: auto;
        top: 5px;
    }

        .brand-logo_image_small img {
            max-width: 50px;
            height: auto;
            background: rgba(255, 255, 255, 0.9);
            border-radius: 50%;
            padding: 4px;
        }

    .main-navigation_outer {
        background: var(--lfc-red);
        margin-bottom: 15px;
        padding: 12px 0;
    }

    .main-navigation_outer.scrolled {
        background: var(--lfc-red);
    }

    .nav-trigger_mobile {
        display: none;
    }

    .nav_Mobile .nav-trigger_mobile {
        display: block;
    }

    .flex_basic {
        display: block;
        flex-wrap: nowrap;
    }

    .lf-box_header {
        display: block;
        height: auto;
    }

        .lf-box_header h3.lf-box_title {
            font-size: 18px;
            text-transform: none;
            display: inline-block;
            line-height: 18pt;
            padding-top: 20px;
            padding-bottom: 20px;
        }

    .lf-tabs_nav li {
        margin-right: 5px;
    }

        .lf-tabs_nav li a {
            text-transform: none;
            padding: 8px 12px;
        }

    .lf-profile_intro {
        float: left;
        clear: both;
        text-align: center;
        border-bottom: solid 1px rgba(255, 255, 255, 0.12);
    }

    .lf-profile_image {
        float: inherit;
        display: block;
        text-align: center;
        margin: auto;
    }

    .lf-profile_history dl {
        column-count: 1;
        margin: 0;
    }

    .lf-random_cover img {
        height: auto;
    }

    .lf-form_bottom {
        position: static;
    }

    .lf-form_bottom--padding {
        padding-bottom: 25px;
    }

    .lf-box_header.align-items_center .lf-box_tools {
        float: right;
        margin-top: 25px;
    }

    .lf-footer_nav {
        margin-top: 20px;
        display: block;
        float: left;
        clear: both;
    }

    .lf-partners_block {
        flex-wrap: wrap;
    }

    .box-sm_text--center {
        text-align: center;
    }

    /*Megamenu Mobile Styles*/
    .lf-megamenu_block,
    .lf-submenu_block {
        position: static;
        background: #202020;
        border-top: solid 2px #D3171E;
        border-bottom: solid 2px #D3171E;
        width: 100%;
    }

    .lf-sub_menu:hover .lf-megamenu_block,
    .lf-sub_menu:focus .lf-megamenu_block,
    .lf-sub_menu:active .lf-megamenu_block,
    .lf-sub_menu:hover .lf-submenu_block,
    .lf-sub_menu:focus .lf-submenu_block,
    .lf-sub_menu:active .lf-submenu_block {
        display: block;
    }

    .lf-megamenu_list {
        border: none;
        padding: 0;
        height: auto;
    }

        .lf-megamenu_list ul li span {
            display: none;
        }

    #mobile-nav_placeholder .nav-trigger_mobile ul {
        margin: 0;
    }

    .lf-profile_images_list li {
        width: 48%;
    }

    .dropdown-backdrop {
        pointer-events:none;
    }

    .dropdown-submenu > .dropdown-menu {
        border-radius:0;
    }

    .dropdown-submenu > a:after {
        margin-top: 18px;
    }

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

@media (max-width: 580px) {
    tr.score-sm_580--flex {
        display: flex;
        align-items: center;
        flex-wrap: wrap;
    }

        tr.score-sm_580--flex td {
            width: 50%;
        }

            tr.score-sm_580--flex td:nth-child(3) {
                display: none;
            }

            tr.score-sm_580--flex td:nth-child(4) {
                order: 5;
            }

            tr.score-sm_580--flex td:nth-child(5) {
                order: 4;
            }

    .lf-profile_images_list li {
        width: 100%;
        margin: 0;
        margin-bottom: 10px;
    }
}

/*-------------------------------
Helper Classes
------------------------------*/
/*Flex Align Styles*/
.align-items_end {
    align-items: flex-end !important;
}

.align-items_center {
    align-items: center !important;
}

.align-items_start {
    align-items: flex-start !important;
}

/*Brand*/
.lfc-brand_primary {
    background: #D3171E;
}

.lfc-brand_secondary {
    background: #202020;
}

.lfc-brand_tertiary {
    background: #4D4C4D;
}

/*Button Styles*/
.primary-hyper_link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    text-transform: uppercase;
    font-weight: 600;
    color: var(--lfc-red);
    padding: 8px 0;
    transition: color var(--transition-fast), gap var(--transition-fast);
}

    .primary-hyper_link span {
        display: inline-block;
    }

    .primary-hyper_link i {
        font-size: 14px;
        transition: transform var(--transition-fast);
    }

    .primary-hyper_link:hover {
        color: var(--lfc-red-dark);
    }

    .primary-hyper_link:hover i {
        transform: translateX(3px);
    }

/* Bootstrap 5: Button overrides */
.btn {
    display: inline-block;
    padding: 10px 20px;
    margin-bottom: 0;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.42857143;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    cursor: pointer;
    user-select: none;
    background-image: none;
    border: none;
    border-radius: var(--radius-sm);
    transition: background-color var(--transition-fast), transform var(--transition-fast), box-shadow var(--transition-fast);
}

.btn:hover {
    transform: translateY(-1px);
}

.btn:active {
    transform: translateY(0);
}

.btn-primary {
    color: #fff;
    background-color: var(--lfc-red);
    border-color: var(--lfc-red);
}

    .btn-primary:focus,
    .btn-primary.focus {
        color: #fff;
        background-color: var(--lfc-red-dark);
        border-color: var(--lfc-red-dark);
        box-shadow: 0 0 0 3px rgba(211, 23, 30, 0.25);
    }

    .btn-primary:hover {
        color: #fff;
        background-color: var(--lfc-red-dark);
        border-color: var(--lfc-red-dark);
    }

    .btn-primary:active,
    .btn-primary.active {
        color: #fff;
        background-color: var(--lfc-red-dark);
        border-color: var(--lfc-red-dark);
    }

/*---------- SPACING ----------*/
/* Note: Bootstrap 5 has built-in spacing utilities (mt-1, mt-2, etc.)
   but we keep these custom ones for backward compatibility */

/* Padding Zero */
.p0 {
    padding: 0 !important
}

/* Padding Top */
.pt10 {
    padding-top: 10px !important
}

.pt15 {
    padding-top: 15px !important
}

.pt20 {
    padding-top: 20px !important
}

.pt30 {
    padding-top: 30px !important
}

.pt40 {
    padding-top: 40px !important
}

.pt50 {
    padding-top: 50px !important
}

.pt60 {
    padding-top: 60px !important
}

.pt70 {
    padding-top: 70px !important
}

.pt80 {
    padding-top: 80px !important
}

.pt90 {
    padding-top: 90px !important
}

.pt100 {
    padding-top: 100px !important
}

.pt110 {
    padding-top: 110px !important
}

.pt120 {
    padding-top: 120px !important
}

.pt130 {
    padding-top: 130px !important
}

.pt140 {
    padding-top: 140px !important
}

/* Padding Bottom */
.pb0 {
    padding-bottom: 0px !important
}

.pb10 {
    padding-bottom: 10px !important
}

.pb15 {
    padding-bottom: 15px !important
}

.pb20 {
    padding-bottom: 20px !important
}

.pb30 {
    padding-bottom: 30px !important
}

.pb40 {
    padding-bottom: 40px !important
}

.pb50 {
    padding-bottom: 50px !important
}

.pb60 {
    padding-bottom: 60px !important
}

.pb70 {
    padding-bottom: 70px !important
}

.pb80 {
    padding-bottom: 80px !important
}

.pb90 {
    padding-bottom: 90px !important
}

.pb100 {
    padding-bottom: 100px !important
}

.pb110 {
    padding-bottom: 110px !important
}

.pb120 {
    padding-bottom: 120px !important
}

.pb130 {
    padding-bottom: 130px !important
}

.pb140 {
    padding-bottom: 140px !important
}

/* Padding Left */
.pl0 {
    padding-left: 0px !important
}

.pl3 {
    padding-left: 3px !important
}

.pl5 {
    padding-left: 5px !important
}

.pl10 {
    padding-left: 10px !important
}

.pl20 {
    padding-left: 20px !important
}

.pl30 {
    padding-left: 30px;
}

.pl40 {
    padding-left: 40px;
}

.pl50 {
    padding-left: 50px;
}

.pl60 {
    padding-left: 60px;
}

.pl70 {
    padding-left: 70px;
}

.pl80 {
    padding-left: 80px;
}

.pl90 {
    padding-left: 90px;
}

.pl100 {
    padding-left: 100px;
}

/* Padding Right */
.pr0 {
    padding-right: 0px !important
}

.pr5 {
    padding-right: 5px !important
}

.pr10 {
    padding-right: 10px !important
}

.pr20 {
    padding-right: 20px !important
}

.pr30 {
    padding-right: 30px !important
}

.pr40 {
    padding-right: 40px;
}

.pr50 {
    padding-right: 50px;
}

.pr60 {
    padding-right: 60px;
}

.pr70 {
    padding-right: 70px;
}

.pr80 {
    padding-right: 80px;
}

.pr90 {
    padding-right: 90px;
}

.pr100 {
    padding-right: 100px;
}

.pr110 {
    padding-right: 110px;
}

.pr120 {
    padding-right: 120px;
}

@media (min-width:1200px) {
    .pl-lg-50 {
        padding-left: 50px;
    }

    .pl-lg-80 {
        padding-left: 80px;
    }
}

@media (min-width:992px) {
    .pt-md-50 {
        padding-top: 50px;
    }
}

/* Margin Auto */
.mr-auto {
    margin: auto;
    float: none;
}

/* Margin Top */
.mt0 {
    margin-top: 0 !important
}

.mt5 {
    margin-top: 5px !important
}

.mt10 {
    margin-top: 10px !important
}

.mt20 {
    margin-top: 20px !important
}

.mt30 {
    margin-top: 30px !important
}

.mt40 {
    margin-top: 40px !important
}

.mt50 {
    margin-top: 50px !important
}

.mt60 {
    margin-top: 60px !important
}

.mt70 {
    margin-top: 70px !important
}

.mt80 {
    margin-top: 80px !important
}

.mt90 {
    margin-top: 90px !important
}

.mt100 {
    margin-top: 100px !important
}

.mt110 {
    margin-top: 110px !important
}

.mt120 {
    margin-top: 120px !important
}

/* Margin Bottom */
.mb0 {
    margin-bottom: 0 !important
}

.mb5 {
    margin-bottom: 5px !important
}

.mb10 {
    margin-bottom: 10px !important
}

.mb15 {
    margin-bottom: 15px !important
}

.mb20 {
    margin-bottom: 20px !important
}

.mb30 {
    margin-bottom: 30px !important
}

.mb40 {
    margin-bottom: 40px !important
}

.mb50 {
    margin-bottom: 50px
}

.mb60 {
    margin-bottom: 60px
}

.mb70 {
    margin-bottom: 70px
}

.mb80 {
    margin-bottom: 80px
}

.mb90 {
    margin-bottom: 90px
}

.mb100 {
    margin-bottom: 100px
}

.mb110 {
    margin-bottom: 110px
}

.mb120 {
    margin-bottom: 120px
}

/* Margin Left */
.ml0 {
    margin-left: 0 !important;
}

.ml15 {
    margin-left: 5px;
}

.ml10 {
    margin-left: 10px;
}

.ml20 {
    margin-left: 20px;
}

.ml30 {
    margin-left: 30px;
}

.ml40 {
    margin-left: 40px;
}

.ml50 {
    margin-left: 50px;
}

.ml60 {
    margin-left: 60px;
}

.ml70 {
    margin-left: 70px;
}

.ml80 {
    margin-left: 80px;
}

.ml90 {
    margin-left: 90px;
}

.ml100 {
    margin-left: 100px;
}

.ml110 {
    margin-left: 110px;
}

/* Margin Right */
.mr0 {
    margin-right: 0 !important
}

.mr5 {
    margin-left: 5px !important
}

.mr10 {
    margin-right: 10px !important
}

.mr20 {
    margin-right: 20px !important
}

.mr30 {
    margin-right: 30px !important
}

.mr40 {
    margin-right: 40px !important
}

.mr50 {
    margin-right: 50px !important
}

.mr60 {
    margin-right: 60px !important
}

.mr70 {
    margin-right: 70px !important
}

.mr80 {
    margin-right: 80px !important
}

.mr90 {
    margin-right: 90px !important
}

.mr100 {
    margin-right: 100px;
}

.mr110 {
    margin-right: 110px;
}

/* Restore Bootstrap 3 container width */
@media (min-width: 1200px) {
    .container,
    .container-lg,
    .container-xl,
    .container-xxl {
        max-width: 1170px;
    }
}

.result-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.35rem;
    height: 1.35rem;
    font-size: 0.7rem;
    font-weight: 700;
    line-height: 1;
    padding: 0;
    border-radius: 0.25rem;
    box-shadow: inset 0 -1px 0 rgba(0,0,0,.2);
    margin-right: 0.25rem;
    vertical-align: text-bottom;
}

    .result-badge.text-bg-secondary {
        background-color: #868e96 !important; /* softer grey */
    }

/*=====================================================
THIS DAY IN HISTORY CALENDAR STYLES (drop-in)
=====================================================*/

/* Scope everything to the widget id so global styles don't bleed in */
#day-history-calendar .calendar {
    width: 100%;
}

/* Header positioned like SU ... SA */
#day-history-calendar .calendar-header {
    display: grid;
    grid-template-columns: 1fr auto 1fr; /* left space, title, right space */
    align-items: center;
    margin-bottom: 10px;
    padding: 5px 0;
}

    /* Prev button sits at far left */
    #day-history-calendar .calendar-header .btn-prev {
        justify-self: start;
        background: transparent;
        border: 0;
        padding: 5px 10px;
        cursor: pointer;
        color: #333;
        font-size: 18px;
        line-height: 1;
    }

    /* Next button sits at far right */
    #day-history-calendar .calendar-header .btn-next {
        justify-self: end;
        background: transparent;
        border: 0;
        padding: 5px 10px;
        cursor: pointer;
        color: #333;
        font-size: 18px;
        line-height: 1;
    }

    /* Centered month */
    #day-history-calendar .calendar-header .month-year {
        justify-self: center;
        font-size: 16px;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        color: #D3171E;
        white-space: nowrap;
    }

    #day-history-calendar .calendar-header .btn-prev:hover,
    #day-history-calendar .calendar-header .btn-next:hover {
        opacity: 0.8;
    }


/* Grid */
#day-history-calendar table.calendar-grid {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
    border: none;
}

    /* Weekday headers: force old uppercase + bold */
    #day-history-calendar table.calendar-grid thead th {
        text-align: center;
        padding: 6px 4px;
        border: none;
        background: transparent;
        font-size: 11px;
        font-weight: 700;
        color: #6e6e6e;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }

    /* TD layout only */
    #day-history-calendar table.calendar-grid tbody td {
        text-align: center;
        padding: 8px 4px;
        border: none;
        height: 40px;
        vertical-align: middle;
        cursor: pointer;
        background: transparent;
    }

        /* Empty cells */
        #day-history-calendar table.calendar-grid tbody td.empty {
            cursor: default;
        }

        /* Day chip (needs <span> inside each td for the day number) */
        #day-history-calendar table.calendar-grid tbody td > span {
            display: inline-flex;
            width: 32px;
            height: 32px;
            align-items: center;
            justify-content: center;
            border-radius: 50%;
            transition: background-color 0.2s ease;
        }

        /* Circular hover */
        #day-history-calendar table.calendar-grid tbody td:not(.empty):not(.today):hover > span {
            background-color: #f8f8f8;
        }

        /* Selected day */
        #day-history-calendar table.calendar-grid tbody td.today > span {
            background-color: #c8102e;
            color: #fff;
            font-weight: 700;
        }

        #day-history-calendar table.calendar-grid tbody td.today:hover > span {
            background-color: #a00d25;
        }

/* Hide fully empty last row */
.calendar-grid tbody tr:has(td:not(.empty)) + tr:has(td.empty) {
    display: none;
}

/* Modal Content Styles */
.lf-calendar-modal-body {
    min-height: 200px;
}

.calendar-content {
    padding: 15px 0;
}

.on-this-day-section {
    margin-bottom: 1.5rem;
}

    .on-this-day-section h6 {
        font-size: 14px;
        letter-spacing: 0.5px;
        color: #D3171E;
        border-bottom: 2px solid #D3171E;
        padding-bottom: 8px;
        margin-bottom: 15px;
    }

.on-this-day-content {
    line-height: 1.6;
    color: #333;
    font-size: 14px;
}

    .on-this-day-content p {
        margin-bottom: 15px;
    }

    .on-this-day-content ul {
        padding-left: 20px;
        margin-bottom: 15px;
    }

        .on-this-day-content ul li {
            margin-bottom: 8px;
        }



/* Base tabs container */
#ThisDayInHistoryCalendarModal .nav-tabs {
    border-bottom: 1px solid #ddd;
}

    /* Tab buttons (was <a>, now <button>) */
    #ThisDayInHistoryCalendarModal .nav-tabs .nav-link {
        background: none;
        border: 1px solid transparent;
        border-bottom: none;
        color: #c8102e; /* Liverpool red */
        font-weight: 500;
        font-size: 14px;
        padding: 10px 14px;
        margin-bottom: -1px; /* sit on border like BS3 */
    }

        /* Hover (subtle, like old) */
        #ThisDayInHistoryCalendarModal .nav-tabs .nav-link:hover {
            color: #a00d25;
            border-color: transparent;
        }

        /* Active tab */
        #ThisDayInHistoryCalendarModal .nav-tabs .nav-link.active {
            color: #666; /* grey active text */
            background-color: #fff;
            border: 1px solid #ddd;
            border-bottom-color: #fff; /* seamless with content */
        }

        /* Remove focus ring / button feel */
        #ThisDayInHistoryCalendarModal .nav-tabs .nav-link:focus,
        #ThisDayInHistoryCalendarModal .nav-tabs .nav-link:active {
            box-shadow: none;
        }

/* ===============================
   Player profile boxes (UL/LI)
   =============================== */

/* Profile image grid */
.lf-profile-images_list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.lf-profile-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 160px;
    min-height: 0px;
    padding: 14px 12px;
    border: 1px solid #e5e5e5;
    background: #fff;
}

/* Link wraps image + name */
.lf-profile-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
}

/* Image centered + consistent crop */
.lf-profile-img {
    width: 86px;
    height: 86px;
    object-fit: cover;
    object-position: center top;
    border: 1px solid #eee;
    margin-bottom: 12px;
    display: block;
}

/* Name */
.lf-profile-name {
    color: #c8102e;
    font-weight: 500;
    line-height: 1.15; /* tighter */
    margin-bottom: 2px; /* controls gap to year */
}

.lf-profile-link:hover .lf-profile-name {
    color: #a00d25;
    text-decoration: underline;
}

/* Year + opponent */
.lf-profile-meta {
    margin-top: 0; /* remove inherited gap */
    font-size: 13px;
    color: #555;
    line-height: 1.2;
}

    .lf-profile-meta + .lf-profile-meta {
        margin-top: 4px;
        font-size: 12px;
        color: #666;
    }

.section-title {
    font-size: 14px;
    font-weight: 600; /* softer than fw-bold */
    text-transform: none; /* stop shouting */
    letter-spacing: 0.2px;
    margin-top: 20px;
    color: #444;
}

/* Tom Select dropdown styling - add border and dropdown arrow */
.ts-wrapper.single .ts-control {
  flex-wrap: nowrap;
  align-items: center;
  border: 1px solid #ced4da;
  border-radius: 4px;
  background-color: #fff;
  padding-right: 30px;
  position: relative;
}

.ts-wrapper.single .ts-control::after {
  content: '';
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  border: solid #666;
  border-width: 0 2px 2px 0;
  padding: 3px;
  transform: translateY(-70%) rotate(45deg);
  pointer-events: none;
}

.ts-wrapper.single.focus .ts-control {
  border-color: #c8102e;
  box-shadow: 0 0 0 0.2rem rgba(200, 16, 46, 0.25);
}

/* Don't let the selected item take the whole row */
.ts-wrapper.single .ts-control > .item {
  width: auto;
  flex: 1 1 auto;
  min-width: 0;
}

/* When an item is selected, hide the input to prevent double-row layout */
.ts-wrapper.single.has-items .ts-control > input {
  width: 0 !important;
  min-width: 0 !important;
  flex: 0 0 auto !important;
  padding: 0 !important;
  margin: 0 !important;
}

/* When empty (no selection), keep the input visible to show placeholder */
.ts-wrapper.single:not(.has-items) .ts-control > input {
  flex: 1 1 auto;
  min-width: 0;
}

/* Article Series List Styles */
.lf-series-article-headline {
    font-size: 18px;
    margin-bottom: 5px;
    margin-top: 0;
    font-weight: normal;
}

.lf-series-article-headline a {
    color: #c8102e; /* Liverpool Red */
    text-decoration: none;
}

.lf-series-article-headline a:hover {
    text-decoration: underline;
}

.lf-series-article-date {
    font-size: 14px;
    color: #666;
}

.flag {
    width: 14px;
    height: 14px;
    object-fit: cover;
    border-radius: 3px;
    vertical-align: middle;
}

.game-other-details dl dd {
    margin:0;
}

.lf-club_penalty span{
    color: #fff;
}

.text-small {
    font-size: 65%;
    font-weight: 400;
    line-height: 1;
    color: #777;
}

.filter-btn {
    height: 58px; /* adjust to match your selects exactly */
    font-weight: 600;
}

.stats-panel h6 {
    font-weight: 700;
    margin-bottom: .5rem;
}

/* Stats block polish */
.stats-panel {
    border-color: rgba(0,0,0,.12) !important;
    background: #fff;
}

    .stats-panel h6, .stats-panel .stats-title {
        font-weight: 700;
        margin-bottom: .5rem;
    }

    /* if each column has its own UL */
    .stats-panel ul {
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .stats-panel li {
        display: flex;
        justify-content: space-between;
        gap: 1rem;
        padding: .2rem 0;
        border-bottom: 1px solid rgba(0,0,0,.06);
    }

        .stats-panel li:last-child {
            border-bottom: 0;
        }

        /* label/value tone */
        .stats-panel li span:first-child,
        .stats-panel .stat-label {
            color: #6c757d; /* bootstrap secondary */
        }

        .stats-panel li strong,
        .stats-panel .stat-value {
            font-weight: 700;
        }

/* optional: separators between All/Home/Away/Neutral */
@media (min-width: 768px) {
    .stats-panel .col-md-3:not(:first-child) {
        border-left: 1px solid rgba(0,0,0,.08);
    }
}

.lf-disclaimer-text {
    color: rgba(0,0,0,0.87);
    font-size: 13px;
    font-weight: 600;
    line-height: 1.5;
    margin-top: 15px;
    margin-bottom: 15px;
}

/*--------------- Accordion - Bootstrap 5 Custom Styling ----------------*/
/* Override default Bootstrap blue with LFC red theme */

/* Expanded/Active accordion button */
.accordion-button:not(.collapsed) {
    background-color: #c8102e !important; /* LFC Red */
    color: #ffffff !important;
    box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.125);
}

/* Focus state - LFC red outline */
.accordion-button:focus {
    border-color: #c8102e;
    box-shadow: 0 0 0 0.25rem rgba(200, 16, 46, 0.25);
}

/* Hover state */
.accordion-button:hover {
    background-color: #f5f5f5;
}

.accordion-button:not(.collapsed):hover {
    background-color: #a60d26 !important; /* Darker LFC red */
}

/* Override chevron icon color for expanded state - white on red */
.accordion-button:not(.collapsed)::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ffffff'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

/*--------------- CSS-Only Loading Spinner ----------------*/
/* Replaces ajax-loader.gif with a modern CSS spinner */
.lf-spinner {
    display: inline-block;
    width: 24px;
    height: 24px;
    border: 3px solid var(--bg-primary);
    border-top-color: var(--lfc-red);
    border-radius: 50%;
    animation: lf-spin 0.8s linear infinite;
}

.lf-spinner--lg {
    width: 40px;
    height: 40px;
    border-width: 4px;
}

.lf-spinner--sm {
    width: 16px;
    height: 16px;
    border-width: 2px;
}

@keyframes lf-spin {
    to {
        transform: rotate(360deg);
    }
}

/* Loading overlay for sections */
.lf-loading-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    border-radius: var(--radius-md);
}

/*--------------- Mobile Refinements ----------------*/
@media (max-width: 767px) {
    /* Better touch targets */
    .btn,
    .nav-link {
        min-height: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    /* Larger social icons for touch */
    .global-nav_contain .nav-global_social ul li a {
        width: 36px;
        height: 36px;
    }

    /* Better card spacing on mobile */
    .lf-box {
        margin-bottom: 16px;
        border-radius: 0;
    }
}

/*=====================================================
MANAGER TIMELINE STYLES
=====================================================*/

.manager-timeline {
    position: relative;
    padding: 40px 0;
    max-width: 900px;
    margin: 0 auto;
}

/* Central spine - the red line */
.manager-timeline__spine {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--lfc-red);
    transform: translateX(-50%);
    border-radius: 2px;
}

/* Individual timeline item */
.manager-timeline__item {
    position: relative;
    display: flex;
    align-items: center;
    margin-bottom: 24px;
    width: 100%;
}

/* Alternating layout - odd items on left */
.manager-timeline__item:nth-child(odd) {
    justify-content: flex-start;
    padding-right: calc(50% + 30px);
}

/* Even items on right */
.manager-timeline__item:nth-child(even) {
    justify-content: flex-end;
    padding-left: calc(50% + 30px);
}

/* Timeline dot marker */
.manager-timeline__dot {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 16px;
    height: 16px;
    background: var(--bg-secondary);
    border: 4px solid var(--lfc-red);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    transition: transform var(--transition-fast), background-color var(--transition-fast);
}

/* Dot hover effect */
.manager-timeline__item:hover .manager-timeline__dot {
    background: var(--lfc-red);
    transform: translate(-50%, -50%) scale(1.25);
}

/* Manager card */
.manager-timeline__card {
    display: block;
    background: var(--bg-secondary);
    padding: 20px 24px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    text-decoration: none;
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
    position: relative;
    width: 100%;
    max-width: 340px;
}

.manager-timeline__card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

/* Card arrow pointing to spine - odd items (left side, arrow points right) */
.manager-timeline__item:nth-child(odd) .manager-timeline__card::after {
    content: '';
    position: absolute;
    right: -12px;
    top: 50%;
    transform: translateY(-50%);
    border: 6px solid transparent;
    border-left-color: var(--bg-secondary);
}

/* Card arrow pointing to spine - even items (right side, arrow points left) */
.manager-timeline__item:nth-child(even) .manager-timeline__card::after {
    content: '';
    position: absolute;
    left: -12px;
    top: 50%;
    transform: translateY(-50%);
    border: 6px solid transparent;
    border-right-color: var(--bg-secondary);
}

/* Date styling */
.manager-timeline__date {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: var(--lfc-grey);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 6px;
}

/* Manager name */
.manager-timeline__name {
    margin: 0;
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.2;
    transition: color var(--transition-fast);
}

.manager-timeline__card:hover .manager-timeline__name {
    color: var(--lfc-red);
}

/* Tablet breakpoint - reduce card size */
@media (max-width: 992px) {
    .manager-timeline__card {
        padding: 16px 20px;
        max-width: 280px;
    }

    .manager-timeline__name {
        font-size: 18px;
    }
}

/* Mobile breakpoint - single column layout */
@media (max-width: 768px) {
    .manager-timeline {
        padding: 20px 0 20px 20px;
    }

    /* Spine on the left */
    .manager-timeline__spine {
        left: 0;
        transform: none;
    }

    /* All items stack on the right */
    .manager-timeline__item,
    .manager-timeline__item:nth-child(odd),
    .manager-timeline__item:nth-child(even) {
        padding-left: 40px;
        padding-right: 0;
        justify-content: flex-start;
    }

    /* Dot on the left spine */
    .manager-timeline__dot {
        left: 0;
    }

    /* All arrows point left */
    .manager-timeline__item:nth-child(odd) .manager-timeline__card::after,
    .manager-timeline__item:nth-child(even) .manager-timeline__card::after {
        left: -12px;
        right: auto;
        border-left-color: transparent;
        border-right-color: var(--bg-secondary);
    }

    .manager-timeline__card {
        max-width: none;
        width: 100%;
    }

    .manager-timeline__name {
        font-size: 18px;
    }
}

/* Small mobile */
@media (max-width: 576px) {
    .manager-timeline {
        padding: 16px 0 16px 16px;
    }

    .manager-timeline__item,
    .manager-timeline__item:nth-child(odd),
    .manager-timeline__item:nth-child(even) {
        padding-left: 32px;
        margin-bottom: 16px;
    }

    .manager-timeline__card {
        padding: 14px 16px;
    }

    .manager-timeline__date {
        font-size: 11px;
    }

    .manager-timeline__name {
        font-size: 16px;
    }

    .manager-timeline__dot {
        width: 12px;
        height: 12px;
        border-width: 3px;
    }

    .manager-timeline__spine {
        width: 3px;
    }
}

/* ===============================
   Profile Text List - Programme-style inline layout
   =============================== */

.lf-profile-text-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
    line-height: 1.6;
}

.lf-profile-text-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 0;
}

/* Year badge - the visual anchor */
.lf-year-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 22px;
    padding: 0 8px;
    background: #c8102e;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    border-radius: 3px;
    letter-spacing: 0.02em;
}

/* Name link */
.lf-profile-text-name {
    color: #222;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.15s ease;
}

.lf-profile-text-name:hover {
    color: #c8102e;
    text-decoration: underline;
}

/* Opponent context (for debuts) */
.lf-profile-text-opponent {
    color: #777;
    font-size: 13px;
    font-style: italic;
}

/* Subtle separator between items */
.lf-profile-text-item:not(:last-child)::after {
    content: '';
    display: inline-block;
    width: 4px;
    height: 4px;
    background: #ccc;
    border-radius: 50%;
    margin-left: 10px;
}

/* Responsive: stack on very narrow screens */
@media (max-width: 400px) {
    .lf-profile-text-list {
        flex-direction: column;
        gap: 6px;
    }

    .lf-profile-text-item:not(:last-child)::after {
        display: none;
    }
}
