/*=============================================>>>>>
= BASE =
===============================================>>>>>*/

* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}

html {
    font-size: 16px;
}

body {
    background-color: #eee;
    font-family: "Inter Tight", sans-serif;
    font-size: 1rem;
    font-style: normal;
    font-weight: 400;
    line-height: 1.4;
    color: #444;
}

/*=============================================>>>>>
= COMMON =
===============================================>>>>>*/

h1, h2, h3, h4, h5 {
    font-weight: 700;
}

h1, h2 {
    font-size: 1.3rem;
}

h3 {
    font-size: 1.1rem;
}

h4 {
    font-size: 1.0rem;
}

hr {
    border: 1px solid #e7e7e7;
    opacity: 1;
}

label {
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.dotted-line {
    border-top: 1px dashed #333;
    margin: 0.5rem 0;
}

.form-control {
    font-size: 0.95rem;
    padding: .25rem .5rem;
    line-height: 1.25;
}

.form label {
    font-weight: 700;
}

.form ul {
    color: #D32F2F;
    font-size: 0.95rem;
    font-weight: 700;
    list-style: none;
    margin-bottom: 0.25rem;
    padding: 0;
}

.nav-pills .nav-link {
    color: #000;
    background-color: #e9e9ea;
    border-radius: 0.4rem;
    font-size: 0.9rem;
    font-weight: 700;
    padding: 6px 8px;
    margin-right: 0.25rem;
}

.nav-pills .nav-link:hover {
    background-color: #ddd;
    color: #000;
}

.nav-pills .nav-link.active,
.nav-pills .show > .nav-link {
    color: #fff;
    background-color: #000;
}

.nav-pills .nav-link:focus {
    box-shadow: none;
}

.rank-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    padding: 3px 5px;
    border-radius: 0.3rem;
    font-size: 12px;
    font-weight: bold;
    text-align: center;
    line-height: 1.2;
    height: 22px;
}

/* Rang numéraire (1,2,3...) */
.rank-badge.num {
    background: #000;
    color: #fff;
}

/* Champion */
.rank-badge.champ {
    background: gold;
    border: 1px solid #ffcc1b;
    color: #000;
}

/* Intérim Champion */
.rank-badge.interim {
    background: peru; /* bronze-ish */
    border: 1px solid #ca7f37;
    color: #000;
}

.table {
    margin-bottom: 0;
    vertical-align: middle;
}

.table>:not(caption)>*>* {
    border-bottom-width: 0;
}
.table-striped>tbody>tr:nth-of-type(even)>* {
    background-color: #fff;
    box-shadow: none;
}

.table-striped>tbody>tr:nth-of-type(odd)>* {
    background-color: #e9e9ea;
    box-shadow: none;
}

textarea.form-control {
    min-height: 128px !important;
    resize: vertical !important;
}

.tooltip {
    font-family: "Inter Tight", sans-serif;
}

.updated {
    font-size: 0.9rem;
    font-style: italic;
    font-weight: 700;
}

.utility-bar {
    background: linear-gradient(
        135deg,
        rgba(200, 200, 200, 0.9) 0%,
        rgba(210, 210, 210, 0.9) 30%,
        rgba(238, 238, 238, 0.9) 100%
    );
    backdrop-filter: blur(1px);
    color: #111;
    font-size: 0.85rem;
    font-weight: 400;
    padding: 0.4rem 0.75rem;
    border-radius: 0.4rem;
    text-transform: uppercase;
    box-shadow: inset 0 0 0.5px rgba(255,255,255,0.4);
}

/*=============================================>>>>>
= BUTTONS =
===============================================>>>>>*/

.badge {
    display: inline-block;
    border-radius: 0.25rem;
    font-size: 0.85rem;
    font-weight: 600;
    opacity: 1;
    padding: 0.3rem 0.4rem 0.2rem;
    transition: opacity 0.3s ease;
}

.badge:hover {
    cursor: pointer;
    opacity: 0.6;
}

.badge-main {
    background-color: #fcca18;
    color: #000;
}

.badge-secondary {
    background-color: #ddd;
    color: #000;
}

.button {
    display: inline-block;
    background-color: #ddd;
    border: none;
    border-radius: 4px;
    font-size: 0.95rem;
    font-weight: 700;
    opacity: 1;
    outline: none;
    padding: 0.4rem 0.5rem 0.3rem;
    transition: opacity 0.3s ease;
}

.button:link, .button:visited {
    opacity: 1;
    text-decoration: none;
}

.button:hover, .button:active {
    opacity: 0.7;
    text-decoration: none;
}

.button-green {
    width: 100%;
    background-color: #5CB85C;
    padding: 0.5rem 0;
    text-align: center;
}

.top-button {
    background-color: #ffcc1b;
    color: #000;
    padding: 0.5rem 0.6rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.top-button i {
    color: #000;
}

.top-button:hover {
    background-color: #fee280;
    color: #000;
    cursor: pointer;
    text-decoration: none;
}

/*=============================================>>>>>
= LINKS =
===============================================>>>>>*/

a:link, a:visited {
    color: #000;
    font-weight: 700;
    text-decoration: none;
}

a:hover, a:active {
    color: #000;
    text-decoration: underline;
}

header a:link, header a:visited {
    color: #fff;
    text-decoration: none;
}

header a:hover, header a:active {
    color: #fff;
    text-decoration: underline;
}

.nav-link:link, .nav-link:visited {
    color: #fff;
    text-decoration: none;
}

.nav-link:hover, .nav-link:active {
    color: #fff;
    text-decoration: underline;
}

.sub-header a:link, .sub-header a:visited {
    color: #000;
    font-weight: 400;
    text-decoration: none;
}

.sub-header a:hover, .sub-header a:active {
    color: #000;
    font-weight: 400;
    text-decoration: underline;
}

/*=============================================>>>>>
= FLASH MESSAGES =
===============================================>>>>>*/

.flash {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    padding: 15px;
    border-radius: 0.4rem;
    font-size: 16px;
    z-index: 9999;
    opacity: 1;
    transition: opacity 0.5s ease-out;
    pointer-events: auto;
}

.flash-error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.flash-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.flash.hide {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease-out;
}

/*=============================================>>>>>
= HEADER =
===============================================>>>>>*/

header {
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

nav {
    background-color: #000;
}

.sub-header {
    background-color: #fcca18;
    color: #000;
    padding: 0.5rem 0;
}

.sub-header-body {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap;
    font-size: 0.9rem;
}

.sub-header-body .form-control {
    border-radius: 0.25rem;
    font-size: 0.85rem;
    line-height: 1;
    padding: .2rem .35rem;
}

.sub-header-search {
    display: flex;
}

.header-event {
    display: inline-block;
    border-left: 2px solid #957505;
    color: #000;
    margin-left: 0.35rem;
    padding-left: 0.45rem;
}

.header-event .date {
    display: inline-block;
    background-color: #000;
    border-radius: 0.3rem;
    color: #fff;
    font-family: "Inter Tight", sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    margin-right: 0.1rem;
    padding: 0.1rem 0.35rem;
    cursor: pointer;
}

.header-next-events {
    display: inline-block;
}

.header-next-events-list {
    display: inline-block;
}

.brand:link, .brand:visited {
    color: #fff;
    font-family: "Nunito Sans", sans-serif;
    font-size: 1.5rem;
    font-weight: 900;
    text-decoration: none;
    text-transform: uppercase;
}

.brand:hover, .brand:active {
    color: #fff;
    text-decoration: none;
}

.brand-yellow {
    color: #fcca18;
}

.bg-dark {
    background-color: #000 !important;
    border-radius: 0;
}

.dropdown-item:focus, .dropdown-item:hover, .dropdown-item:active {
    color: #fff !important;
    background-color: #000;
}

.dropdown-divider {
    border-top: 1px solid #555;
}

.dropdown-item.disabled, .dropdown-item:disabled {
    color: #ccc;
}

/*=============================================>>>>>
= MAIN =
===============================================>>>>>*/

main {
    margin-top: 115px;
}

.page-title-container {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.page-title-container h1 {
    margin-bottom: 0;
}

.page-title-container .button {
    flex-shrink: 0;
}

.home-article-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
}

.home-article-card {
    background-color: #fdfcff;
    border: 1px solid #ddd;
    border-radius: 0.4rem;
    padding: 0.75em;
}

.home-article-body {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}

.home-article-body h3 {
    margin-bottom: 0.25rem;
}

.home-article-thumbnail {
    position: relative;
    width: 110px;
    height: 70px;
    overflow: hidden;
    border-radius: 0.4rem;
    border: 3px solid #ccc;
    transition: border 0.3s ease;
}

.home-article-thumbnail:hover {
    border: 3px solid #fcca18;
    cursor: pointer;
}

.home-article-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    display: block;
}

.home-article-thumbnail::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0) 0%,
        rgba(0, 0, 0, 0.4) 100%
    );
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 1;
}

.home-article-thumbnail:hover::after {
    opacity: 1;
}

.home-article-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.home-article-infos {
    font-size: 0.9rem;
}

.home-article-buttons {
    display: flex;
    align-items: flex-start;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 0.3rem;
}

.home-video-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
}

.home-video-card {
    background-color: #fdfcff;
    border: 1px solid #ddd;
    border-radius: 0.4rem;
    padding: 0.75em;
}

.home-video-body {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.15rem;
}

.home-video-body h4 {
    margin-top: 0.15rem;
    margin-bottom: 0rem;
}

.home-video-thumbnail {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 0.4rem;
    border: 3px solid #ccc;
    transition: border 0.3s ease;
}

.home-video-thumbnail:hover {
    border: 3px solid #fcca18;
    cursor: pointer;
}

.home-video-thumbnail img {
    width: 100%;
    height: auto;
    object-fit: cover;
    transition: transform 0.3s ease;
    display: block;
}

.home-video-thumbnail::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0) 0%,
        rgba(0, 0, 0, 0.4) 100%
    );
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 1;
}

.home-video-thumbnail:hover::after {
    opacity: 1;
}

.home-video-infos {
    width: 100%;
    font-size: 0.9rem;
}

.home-video-buttons {
    display: block;
    width: 100%;
}

.home-podcast-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
}

.home-podcast-card {
    background-color: #fdfcff;
    border: 1px solid #ddd;
    border-radius: 0.4rem;
    padding: 0.75em;
}

.home-podcast-body {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    flex-wrap: nowrap;
    gap: 0.5rem;
}

.home-podcast-body h4 {
    margin-bottom: 0rem;
}

.home-podcast-thumbnail {
    position: relative;
    width: 75px;
    height: 75px;
    overflow: hidden;
    border-radius: 0.4rem;
    border: 3px solid #ccc;
    transition: border 0.3s ease;
    flex-shrink: 0;
}

.home-podcast-thumbnail:hover {
    border: 3px solid #fcca18;
    cursor: pointer;
}

.home-podcast-thumbnail img {
    width: 100%;
    height: auto;
    object-fit: cover;
    transition: transform 0.3s ease;
    display: block;
}

.home-podcast-thumbnail::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0) 0%,
        rgba(0, 0, 0, 0.4) 100%
    );
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 1;
}

.home-podcast-thumbnail:hover::after {
    opacity: 1;
}

.home-podcast-content {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 0.15rem;
}

.home-podcast-infos {
    display: block;
    font-size: 0.9rem;
    width: 100%;
}

.article-card {
    background-color: #fdfcff;
    border: 1px solid #ddd;
    border-radius: 0.4rem;
    padding: 0.75em;
}

.article-body {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.article-body h1 {
    margin-bottom: 0.25rem;
}

.article-body h4 {
    margin: 0;
}

.article-thumbnail {
    width: 100%;
    height: 500px;
    overflow: hidden;
    border-radius: 0.4rem;
    border: 3px solid #ccc;
}

.article-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.article-content {
    width: 100%;
    flex: 1;
}

.article-infos {
    font-size: 1rem;
    margin-bottom: 0.2rem;
}

.article-tags, .article-description {
    margin-bottom: 1rem;
}

.article-tags {
    display: flex;
    align-items: flex-start;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 0.3rem;
}

.article-buttons {
    display: flex;
    align-items: flex-start;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 0.3rem;
}

.video-list {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 0.75rem;
}

.video-card {
    background-color: #fdfcff;
    border: 1px solid #ddd;
    border-radius: 0.4rem;
    padding: 0.75em;
}

.video-body {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.25rem;
}

.video-body h3 {
    margin: 0;
}

.video-thumbnail {
    aspect-ratio: 16/9;
    position: relative;
    overflow: hidden;
    border-radius: 0.4rem;
    border: 3px solid #ccc;
    transition: border 0.3s ease;
}

.video-thumbnail:hover {
    border: 3px solid #fcca18;
    cursor: pointer;
}

.video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block; /* très important pour éviter les espaces blancs */
    transition: transform 0.3s ease;
}

.video-thumbnail::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0) 0%,
        rgba(0, 0, 0, 0.4) 100%
    );
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 1;
}

.video-thumbnail:hover::after {
    opacity: 1;
}

.video-infos {
    display: block;
    width: 100%;
    font-size: 0.9rem;
}

.video-buttons {
    display: block;
    width: 100%;
}

.video-embed {
    position: relative;
    width: 100%;
    padding-bottom: 53%; /* 16:9 ratio */
    height: 0;
    overflow: hidden;
    border-radius: 0.4rem;
}

.video-embed iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.video-article-thumbnail {
    border: 0 !important;
    border-radius: 0 !important;
}

.podcast-thumbnail {
    position: relative;
    width: 80px;
    height: 80px;
    overflow: hidden;
    border-radius: 0.4rem;
    border: 3px solid #ccc;
    transition: border 0.3s ease;
}

.podcast-thumbnail:hover {
    border: 3px solid #fcca18;
    cursor: pointer;
}

.podcast-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    display: block;
}

.podcast-thumbnail::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0) 0%,
        rgba(0, 0, 0, 0.4) 100%
    );
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 1;
}

.podcast-thumbnail:hover::after {
    opacity: 1;
}

.podcast-details-card {
    background-color: #fdfcff;
    border: 1px solid #ddd;
    border-radius: 0.4rem;
    padding: 0.75em;
}

.podcast-details-body {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: nowrap;
    gap: 0.75rem;
}

.podcast-details-body h1 {
    margin-bottom: 0.25rem;
}

.podcast-details-body h4 {
    margin: 0;
}

.podcast-details-thumbnail {
    width: 120px;
    height: 120px;
    overflow: hidden;
    border-radius: 0.4rem;
    border: 3px solid #ccc;
}

.podcast-details-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.podcast-details-content {
    width: 100%;
    flex: 1;
}

.podcast-details-infos {
    font-size: 1rem;
    margin-bottom: 0.2rem;
}

.podcast-details-tags, .podcast-details-description {
    margin-bottom: 1rem;
}

.podcast-details-tags {
    display: flex;
    align-items: flex-start;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 0.3rem;
}

.podcast-details-buttons {
    display: flex;
    align-items: flex-start;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 0.3rem;
}

.podcast-player {
    background-color: #e9e9ea;
    padding: 1rem;
    border-radius: 0.75rem;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    max-width: 600px;
    margin: 1rem auto 1.5rem;
    text-align: center;
}

.podcast-player audio {
    width: 100%;
    margin-top: 1rem;
}

.event-list {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 0.75rem;
}

.event-card {
    background-color: #fdfcff;
    border: 1px solid #ddd;
    border-radius: 0.4rem;
    padding: 0.75em;
}

.event-body {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.5rem;
}

.event-body h3, .event-body h4 {
    margin-bottom: 0.25rem;
}

.event-thumbnail {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 260px;
    overflow: hidden;
    border-radius: 0.4rem;
    border: 3px solid #ccc;
    transition: border 0.3s ease;
}

.event-thumbnail:hover {
    border: 3px solid #fcca18;
    cursor: pointer;
}

.event-thumbnail:hover .event-thumbnail-flag {
    border: 2px solid #fcca18;
}

.event-thumbnail:hover .event-thumbnail-league {
    border: 2px solid #fcca18;
}

.event-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    display: block;
}

.event-thumbnail::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0) 0%,
        rgba(0, 0, 0, 0.4) 100%
    );
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 1;
}

.event-thumbnail:hover::after {
    opacity: 1;
}

.event-thumbnail-flag {
    position: absolute;
    z-index: 999;
    bottom: 5px;
    right: 5px;
    border: 2px solid #ccc;
}

.event-thumbnail-league {
    position: absolute;
    z-index: 999;
    bottom: 5px;
    right: 5px;
    border: 2px solid #ccc;
    width: 40px;
}

.event-location {
    font-size: 0.9rem;
    line-height: 1.4;
}

.event-location .flag {
    display: inline-block;
    vertical-align: -0.2em;
    margin-right: 0.15rem;
    border: 1px solid #555;
    cursor: pointer;
}

.event-date {
    margin-top: 0.2rem;
}

.event-details-card {
    background-color: #fdfcff;
    border: 1px solid #ddd;
    border-radius: 0.4rem;
    padding: 0.75em;
}

.event-details-body {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: nowrap;
    gap: 0.75rem;
}

.event-details-body h1 {
    margin-bottom: 0.25rem;
}

.event-details-body h4 {
    margin: 0;
}

.event-details-thumbnail {
    position: relative;
    z-index: 1;
    width: 202px;
    height: 252px;
    overflow: hidden;
    border-radius: 0.4rem;
    border: 3px solid #ccc;
    transition: border 0.3s ease;
}

.event-details-thumbnail:hover {
    border: 3px solid #fcca18;
    cursor: pointer;
}

.event-details-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    display: block;
}

.event-details-thumbnail::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0) 0%,
        rgba(0, 0, 0, 0.4) 100%
    );
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 1;
}

.event-details-thumbnail:hover::after {
    opacity: 1;
}

.event-details-content {
    width: 100%;
    flex: 1;
}

.broadcaster-desktop, .broadcaster-mobile {
    position: relative;
    float: right;
}

.broadcaster-desktop {
    display: block;
    visibility: visible;
}

.broadcaster-mobile {
    display: none;
    visibility: hidden;
    position: relative;
    float: none;
}

.broadcaster-logo {
    border: 2px solid #ccc;
    border-radius: 0.4rem;
    margin-top: 0;
    padding: 0.5rem;
    transition: border 0.3s ease;
    width: 100px;
}

.broadcaster-logo:hover {
    border: 2px solid #fcca18;
    cursor: pointer;
}

.event-title {
    font-size: 1.5rem;
    line-height: 1.25;
}

.event-title .league-logo {
    display: inline-block;
    height: 1em;
    vertical-align: -0.12em;
    margin-right: 0.15rem;
    border: 1px solid #555;
    cursor: pointer;
}

.event-details-infos {
    font-size: 1rem;
    margin-bottom: 0.2rem;
}

.event-details-description h3 {
    background-color: #222;
    color: #fff;
    font-size: 0.9rem;
    margin: 0;
    padding: 0.35rem 0.45rem;
    text-align: center;
    text-transform: uppercase;
}

.event-details-tags {
    display: flex;
    align-items: flex-start;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 0.3rem;
}

.event-details-buttons {
    display: flex;
    align-items: flex-start;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 0.3rem;
}

.pagination-block {
    margin-top: 1rem;
}

.pagination {
    margin-bottom: 0;
}

.active>.page-link, .page-link.active {
    background-color: #fcca18;
    border: 1px solid #fcca18;
}

.active>.page-link, .page-link.active {
    color: #000;
}

.page-link:focus {
    color: #000;
}

.page-link {
    color: #000;
    text-decoration: none;
}

.page-link:focus {
    box-shadow: none;
}

.page-link:hover {
    color: #000;
    text-decoration: none;
}

.fightcard {
    display: table;
    line-height: 1.2;
    visibility: visible;
}

.fightcard .division {
    color: #666;
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    text-transform: uppercase;
}

.fightcard .fight {
    width: 100%;
}

table.fight {
    width: 100%;
    table-layout: fixed;
}

table.fight td {
    vertical-align: top;
}

table.fight td.vs {
    width: 44px;
    text-align: center;
    color: #777;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
}

table.fight td.fighter-a,
table.fight td.fighter-b {
    width: calc((100% - 44px) / 2);
}

.fight .fighter-a .details,
.fight .fighter-b .details {
    flex-wrap: nowrap;
}

.fightcard .fight .flag {
    border: 1px solid #555;
    cursor: pointer;
}

.fight .fighter-a .name, .fight .fighter-b .name {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 0.35rem;
    margin-bottom: 0.15rem;
}

.fight .fighter-a .name {
    justify-content: flex-end;
}

.fight .fighter-b .name {
    justify-content: flex-start;
}

.fight .fighter-a .details, .fight .fighter-b .details {
    width: 100%;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.35rem;
}

.fight .fighter-a .details {
    justify-content: flex-end;
}

.fight .fighter-b .details {
    justify-content: flex-start;
}

.fight .fighter-a .record, .fight .fighter-b .record {
    color: #777;
    font-size: 0.9rem;
}

.fightcard-mobile {
    display: none;
    line-height: 1.2;
    visibility: hidden;
}

.fightcard-mobile .division {
    color: #777;
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    text-transform: uppercase;
}

.fightcard-mobile .fight {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.15rem;
}

.fightcard-mobile .fight div {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
}

.fightcard-mobile .fight img {
    border: 1px solid #555;
    cursor: pointer;
}

.fightcard-mobile .vs {
    color: #777;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
}

.fightcard-mobile .record {
    color: #777;
    font-size: 0.9rem;
}

.related-list {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 0.75rem;
}

.related-card {
    background-color: #fdfcff;
    border: 1px solid #ddd;
    border-radius: 0.4rem;
    padding: 0.75em;
}

.related-card-body {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}

.related-card-body h3 {
    margin-bottom: 0.25rem;
}

.tag-details-card {
    background-color: #fdfcff;
    border: 1px solid #ddd;
    border-radius: 0.4rem;
    padding: 0.75em;
}

.tag-details-body {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: nowrap;
    gap: 0.75rem;
}

.tag-details-body h1 {
    margin-bottom: 0.25rem;
}

.tag-details-body h4 {
    margin: 0;
}

.tag-details-thumbnail {
    position: relative;
    width: 150px;
    height: 150px;
    overflow: hidden;
    border-radius: 0.4rem;
    border: 3px solid #ccc;
    transition: border 0.3s ease;
}

.tag-details-thumbnail:hover {
    border: 3px solid #fcca18;
    cursor: pointer;
}

.tag-details-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    display: block;
}

.tag-details-thumbnail::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0) 0%,
        rgba(0, 0, 0, 0.4) 100%
    );
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 1;
}

.tag-details-thumbnail:hover::after {
    opacity: 1;
}

.tag-details-content {
    width: 100%;
    flex: 1;
}

.tag-list {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
    gap: 0.75rem;
}

.tag-card {
    background-color: #fdfcff;
    border: 1px solid #ddd;
    border-radius: 0.4rem;
    padding: 0.75em;
}

.tag-card h3 {
    margin-bottom: 0;
}

.tag-body {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.25rem;
}

.tag-thumbnail {
    position: relative;
    width: 100%;
    height: auto;
    overflow: hidden;
    border-radius: 0.4rem;
    border: 3px solid #ccc;
    transition: border 0.3s ease;
}

.tag-thumbnail:hover {
    border: 3px solid #fcca18;
    cursor: pointer;
}

.tag-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    display: block;
}

.tag-thumbnail::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0) 0%,
        rgba(0, 0, 0, 0.4) 100%
    );
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 1;
}

.tag-thumbnail:hover::after {
    opacity: 1;
}

.athlete-profile, .athlete-profile-mobile {
    font-size: 0.95rem;
}

.athlete-profile img, .athlete-profile-mobile img {
    border: 1px solid #555;
}

.athlete-profile {
    display: table;
    visibility: visible;
}

.athlete-profile-mobile {
    display: none;
    visibility: hidden;
}

.athlete-profile .align-flag, .athlete-profile-mobile .align-flag {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.search-result-infos {
    font-size: 0.9rem;
}

.search-highlight {
    background-color: #ffeb3b;
}

#articles-pane > div.mb-3.border-bottom.pb-2:last-of-type, #videos-pane > div.mb-3.border-bottom.pb-2:last-of-type, #podcasts-pane > div.mb-3.border-bottom.pb-2:last-of-type {
    border-bottom: none !important;
}

#articles-pane > div.mb-3.border-bottom.pb-2:last-of-type, #videos-pane > div.mb-3.border-bottom.pb-2:last-of-type, #podcasts-pane > div.mb-3.border-bottom.pb-2:last-of-type {
    margin-bottom: 0 !important;
}

.table-glossary thead tr th {
    background-color: #000;
    color: #fff;
    font-size: 0.95rem;
    vertical-align: middle;
}

/*=============================================>>>>>
= SIDEBAR =
===============================================>>>>>*/

.sidebar-card {
    background-color: #fdfcff;
    border: 1px solid #ddd;
    border-radius: 0.4rem;
    margin-bottom: 1rem;
    padding: 0.75em;
}

.sidebar-card:last-of-type {
    margin-bottom: 0;
}

.next-fight .infos {
    font-size: 0.9rem;
}

.next-fight .line {
    border-bottom: 1px solid #ddd;
    border-top: 1px solid #ddd;
    margin: 0.25rem 0;
}

.next-fight .date {
    display: inline-block;
    background-color: #000;
    border-radius: 0.3rem;
    color: #fff;
    font-family: "Inter Tight", sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    margin-right: 0.1rem;
    padding: 0.1rem 0.35rem;
}

.next-fight .opponent {
    display: flex;
    align-items: center;
    margin-bottom: 0.2rem;
}

.next-fight .opponent:last-of-type {
    margin-bottom: 0;
}

.next-fight .opponent img {
    border: 1px solid #555;
    cursor: pointer;
}

.next-event .infos {
    margin-top: 0.35rem;
}

.next-event .date {
    display: inline-block;
    background-color: #000;
    border-radius: 0.4rem;
    color: #fff;
    font-family: "Inter Tight", sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    margin-right: 0.1rem;
    padding: 0.1rem 0.35rem;
}

.poster {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 0.4rem;
    border: 3px solid #ccc;
    transition: border 0.3s ease;
}

.poster:hover {
    border: 3px solid #fcca18;
    cursor: pointer;
    text-decoration: none;
}

.poster img {
    width: 100%;
    height: auto;
    object-fit: cover;
    transition: transform 0.3s ease;
    display: block;
}

.poster::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0) 0%,
        rgba(0, 0, 0, 0.4) 100%
    );
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 1;
}

.poster:hover::after {
    opacity: 1;
    
    text-decoration: none;
}

.page-card {
    background-color: #fdfcff;
    border: 1px solid #ddd;
    border-radius: 0.4rem;
    padding: 0.75em;
}

.nav-tabs .nav-item.show .nav-link, .nav-tabs .nav-link.active {
    color: #fff;
    background-color: #000;
    border-color: var(--bs-nav-tabs-link-active-border-color);
}

.nav-tabs .nav-link {
    border: 1px solid #ddd;
    color: #000;
    font-size: 0.95rem;
    font-weight: 700;
}

.nav-tabs .nav-link:focus, .nav-tabs .nav-link:hover {
    border-color: #ddd;
}

.tab-pane .border-bottom:last-of-type {
    border-bottom: 0px;
}

.tv-logo-wrapper {
    position: relative;
    float: right;
    margin-left: 0.5rem;
    margin-bottom: 0.5rem;
}

.tv-logo {
    border: 2px solid #ccc;
    border-radius: 0.4rem;
    padding: 0.5rem;
    transition: border 0.3s ease;
    width: 100px;
}

.tv-logo:hover {
    border: 2px solid #fcca18;
    cursor: pointer;
}

/*=============================================>>>>>
= FOOTER =
===============================================>>>>>*/

footer {
    background-color: #222;
    color: #fff;
    font-size: 0.9rem;
    margin-top: 2rem;
    padding: 1rem 0;
}

footer .brand img {
    width: 26px;
}

footer .brand:link, footer .brand-visited {
    font-size: 1.3rem;
}

footer a:link, footer a:visited {
    color: #fff;
    font-weight: 700;
    text-decoration: none;
}

footer a:hover, footer a:active {
    color: #fff;
    font-weight: 700;
    text-decoration: underline;
}

footer .first-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

footer .second-row {
    text-align: justify;
}

.footer-line {
    border-bottom: 1px solid #444;
    margin-bottom: 1rem;
    padding-top: 1rem;
    width: 100%;
}

footer .brand {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: flex-start;
    color: #fff;
    font-size: 1.2rem;
    font-weight: 700;
}

footer .brand-img {
    margin-bottom: 4px;
    margin-right: 0.45rem;
    width: 1.2rem;
}

footer .copyright {
    font-size: 0.85rem;
    font-weight: 400;
    margin-top: 5px;
    width: 100%;
}

footer .buttons-container {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: nowrap;
    gap: 2rem;
}

footer ul {
    display: inline;
    list-style: none;
    margin: 0;
    margin-left: 0.35rem;
    padding: 0;
}

footer ul li {
    display: inline;
    margin: 0 0.35rem;
}

.footer-title {
    color: #fcca18;
    font-weight: 700;
}

/*=============================================>>>>>
= COOKIE CONSENT =
===============================================>>>>>*/

#cookie-consent {
    display: none;
    bottom: 2rem;
    left: 2rem;
    right: 2rem;
    position: fixed;
    z-index: 9999;
    width: 360px;
    background: #ddd;
    border-radius: 0.4rem;
    color: #000;
    font-size: 0.9rem;
    padding: 1rem 1.5rem;
    text-align: left;
    -webkit-box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.75); 
    box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.75);
}

#cookie-consent a:link, #cookie-consent a:visited {
    color: #000;
    text-decoration: none;
}

#cookie-consent a:hover, #cookie-consent a:active {
    color: #000;
    text-decoration: underline;
}

#cookie-consent .cookie-consent-buttons {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 1rem;
}

#cookie-consent .cookie-button {
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 700;
    padding: 5px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    width: 100%;
}

#cookie-consent .accept {
    background-color: #fcca18;
    border: 3px solid #fcca18;
    color: #000;
}

#cookie-consent .accept:hover {
    background-color: #FCDD74;
    border: 3px solid #FCDD74;
    color: #646466;
}

#cookie-consent .reject {
    background-color: #ddd;
    border: 3px solid #000;
    color: #000;
}

#cookie-consent .reject:hover {
    background-color: #fff;
    border: 3px solid #000;
    color: #000;
}

/*=============================================>>>>>
= MEDIA QUERIES =
===============================================>>>>>*/

@media (max-width: 1399.98px) {

    .event-thumbnail {
        height: 220px;
    }
    
    .video-embed {
        padding-bottom: 62%;
    }

    .event-thumbnail-league {
        width: 36px;
    }
}

@media (max-width: 1199.98px) {

    .home-podcast-thumbnail {
        width: 100px;
        height: 100px;
    }

    .article-thumbnail {
        width: 100%;
        height: auto;
    }

    .video-list {
        grid-template-columns: 1fr 1fr;
    }

    .video-embed {
        padding-bottom: 53%;
    }

    .tag-list {
        grid-template-columns: 1fr 1fr 1fr 1fr;
    }

    .tag-details-thumbnail {
        width: 125px;
        height: auto;
    }

    .event-list {
        grid-template-columns: 1fr 1fr;
    }

    .event-thumbnail {
        height: 400px;
    }

    .event-thumbnail-league {
        width: 50px;
    }
}

@media (max-width: 991.98px) {

    .sub-header-body {
        flex-wrap: wrap;
        gap: 0.35rem;
    }

    .sub-header-events, .sub-header-search {
        width: 100%;
    }

    .header-event {
        margin-left: 0.25rem;
        padding-left: 0.35rem;
    }

    .header-next-events-list {
        display: none;
    }

    main {
        margin-top: 140px;
    }
    
    .article-thumbnail {
        width: 100%;
        height: auto;
    }

    .podcast-details-thumbnail {
        width: 110px;
        height: 110px;
    }

    .event-details-body {
        flex-wrap: wrap;
    }

    .event-details-thumbnail {
        width: 100%;
        height: auto;
    }

    .broadcaster-desktop {
        display: none;
        visibility: hidden;
    }

    .broadcaster-mobile {
        display: block;
        visibility: visible;
    }

    .broadcaster-logo {
        margin-top: 0.35rem;
    }

    .tag-details-thumbnail {
        width: 110px;
        height: 110px;
    }

    .athlete-profile {
        display: none;
        visibility: hidden;
    }

    .athlete-profile-mobile {
        display: table;
        visibility: visible;
    }

    footer .third-row div {
        text-align: center;
    }
}

@media (max-width: 767.98px) {

    .home-article-body {
        flex-wrap: wrap;
        gap: 0.25rem;
    }

    .home-article-thumbnail {
        width: 100%;
        height: auto;
    }

    .article-thumbnail {
        width: 100%;
        height: auto;
    }

    .video-list {
        grid-template-columns: 1fr;
    }

    .video-thumbnail {
        aspect-ratio:initial;
        width: 100%;
        height: auto;
    }

    .podcast-thumbnail {
        width: 100%;
        height: auto;
    }

    .podcast-details-body {
        flex-wrap: wrap;
    }

    .podcast-details-thumbnail {
        width: 100%;
        height: auto;
    }

    .event-list {
        grid-template-columns: 1fr;
    }
    
    .event-thumbnail {
        width: 100%;
        height: auto;
    }

    .event-thumbnail-league {
        width: 70px;
    }

    .tag-list {
        grid-template-columns: 1fr 1fr;
    }

    .tag-details-body {
        flex-wrap: wrap;
    }

    .tag-details-thumbnail {
        width: 100%;
        height: auto;
    }

    #cookie-consent {
        width: auto;
        bottom: 1rem;
        left: 1rem;
        right: 1rem;
    }
}

@media (max-width: 575.98px) {

    .fightcard {
        display: none;
        visibility: hidden;
    }

    .fightcard-mobile {
        display: table;
        visibility: visible;
    }

    .tag-list {
        grid-template-columns: 1fr;
    }
}