@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

:root {
    --bebas: "Bebas Neue", sans-serif;
    --inter: "Inter", sans-serif;
    --primary: #871B16;
    --secondary: #FCBD1B;
    --bprimary:#151515;
    --bsecondary:#161616;
    --bbutton:#1E1E1E;
    --black: #000000;
    --white: #FFFFFF;
}

.h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6 {
    margin-bottom: 0;
}

body {
    font-family: var(--bebas);
    background-color: var(--white);
}

body.group {
    background-color: var(--bprimary);
}

.bebas {
    font-family: var(--bebas);
}

.inter {
    font-family: var(--inter);
}

.white {
    color: var(--white)!important;
}

.f-title {
    font-weight: 400;
    font-size: 125px;
    line-height: 0.9;
    text-transform: uppercase;
}

.logo-footer {
    position: relative;
    width: 100%;
    overflow: hidden;
    background-color: var(--black);
}

.logo-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 228px;
}

.logo-wrapper svg {
    position: absolute;
    top: 50%;
    left: 50%;
    height: auto;
    max-height: 228px;
    width: auto;
    max-width: 100%; 
    transform: translate(-50%, -50%);
    transition: opacity 300ms ease-out;
}

.logo-wrapper svg:first-of-type {
  opacity: 1;
}

.logo-wrapper svg:last-of-type {
  opacity: 0;
}

.logo-wrapper:hover svg:first-of-type {
  opacity: 0;
}

.logo-wrapper:hover svg:last-of-type {
  opacity: 1;
}

.main-footer {
    background-color: var(--primary);
    padding: 70px 0;
}

.lf {
    max-height: 115px;
    margin-right: 40px;
}

.footertext1 {
    font-weight: bold;
    font-size: 20px;
    line-height: 1.4;
}
.footer1 {
    margin-bottom: 35px;
}

.footertext2 {
    font-weight: 500;
    font-size: 15px;
    line-height: 1.8;
}

.footertext3 {
    font-weight: 500;
    font-size: 15px;
    line-height: 1.4;
}

.footer2 a,
.footer2 a:hover {
    text-decoration: underline;
}

.footerlist ul {
    list-style: none;
    padding-left: 0;
}

header {
    display: flex;
}

.footerlist ul li a,
.footerlist ul li a:hover {
    text-decoration: none;
}

.little-footer {
    background-color: var(--bprimary);
    padding: 15px 20px 19px 20px;
}

.little-footer  img{
    max-height: 43px;
}

.btnj {
    border-radius: 10px;
    border: 1px solid var(--bprimary);
    color: var(--bprimary);
    padding: 18px;
    display: inline-flex;
    flex-direction: row;
    gap: 10px;
    font-weight: 600;
    font-family: "Inter", sans-serif;
    font-size: 14px;
    line-height: 20px;
    text-decoration: none;
    align-items: center;

}

.btnj.primary {
    border: 1px solid;
    color: var(--primary);
    padding: 14px 20px;
    max-width: fit-content;
}

.btnj.primary:hover {
    border: 1px solid;
    color: var(--white);
    background-color: var(--primary);
}

.btnj.secondary,
.btnj.tertiary {
    border: 1px solid;
    color: var(--white);
    padding: 14px 20px;
    max-width: fit-content;
}

.btnj.secondary:hover {
    color: var(--bprimary);
    background-color: var(--white);
}

.btnj.tertiary:hover {
    color: var(--primary);
    background-color: var(--white);
}

.btnj svg path {
    fill: var(--bbutton);
}

.btnj:hover svg path {
    fill: var(--bbutton);
}

.btnj:hover {
    background-color: var(--white);
    color: var(--bbutton);
}

header {
    background-color: black;
    min-height: 435px;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    margin: 0;
    position: relative;
}

header.abbonamenti,
header.roster,
header.hero {
    min-height: 850px;
}

header.abbonamenti::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0) 150px);
  z-index: 1;
}

header.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(0,0,0,1) 0px, rgba(0,0,0,0) 150px),
    linear-gradient(to right, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 50%);

  z-index: 1;
}

header.roster .btnj svg path,
header.hero .btnj svg path {
    fill: var(--white);
}

header.roster .btnj:hover,
header.hero .btnj:hover {
    color: var(--bbutton)!important;
}

header.hero > * {
  position: relative;
  z-index: 2;
}

header.hero h1 {
    max-width: 80%;
    font-size: 99px;
    line-height: 0.9;
    font-weight: 400;
}

header .pretitle {
    margin-bottom: 18px;
    font-size: 16px;
    line-height: 1.4;
}

#mobileMenu .first-row,
header .first-row {
    padding: 30px 0 0 0;
    flex: 0 0 auto;
}
#mobileMenu .logo img,
header .first-row .logo img {
    height: 98px;
}
#mobileMenu .logosponsor img,
header .first-row .logosponsor img {
    height: 38px;
}

header .first-row .logosponsor {
    gap: 15px;
    display: flex;
    flex-direction: row;
}

header .second-row {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
}

header .btnj {
    border-radius: 10px;
    border: 1px solid;
    padding: 18px;
    display: inline-flex;
    flex-direction: row;
    gap: 10px;
    font-weight: 600;
    font-family: "Inter", sans-serif;
    font-size: 14px;
    line-height: 20px;
    text-decoration: none;
    align-items: center;
    margin-bottom: 87px;
}

header .btnj:hover svg path {
    fill: var(--bbutton);
}

header .btnj:hover {
    background-color: var(--white);
    color: var(--bbutton);
}

.header.home {
    position: relative;
    overflow: hidden;
    min-height: 850px;
    color: var(--white);
    background-color: var(--primary);
}

.lottie-wrapper {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
    pointer-events: none;
}

.lottie-bg {
    position: absolute;
    left: 50%;
    width: 100vw;
    max-width: 1400px;
    transform: translate(-50%, -0%);
    border: none;
    object-fit: cover;
    aspect-ratio: 1.7;
    bottom: 0;
}

.header.home .container {
  position: relative;
  z-index: 1;
}

.home-title {
    font-size: clamp(2rem, 8vw, 125px);
    line-height: 0.9;
    font-family: var(--bebas);
    text-transform: uppercase;
    margin-bottom: 60px;
}

.main-menu {
  font-family: "Inter", sans-serif;
  background: transparent;
  display: flex;
  justify-content: center;
}

.menu {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
  gap: 30px;
}

.menu-item {
  position: relative;
}

.menu-link {
    text-decoration: none;
    background: none;
    border: none;
    color: var(--white);
    font-weight: 500;
    font-size: 16px;
    line-height: 1.45;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    transition: color 0.3s ease;
    position: relative;
    z-index: 2;
}

.menu-link:hover,
.menu-link:hover svg path,
.menu-item.open .menu-link {
  color: var(--secondary);
}

.menu-link:hover svg path {
    stroke: var(--secondary);
}

.menu-item.open .menu-link{
    color: var(--primary);
    z-index: 9999;
}

.menu-item.open svg {
    transform: rotate(180deg);
}

.menu-item.open svg path{
    stroke: var(--primary);
}

.submenu {
    position: absolute;
    top: -20px;
    left: -30px;
    transform: none;
    background: #f7b32b;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0,0,0,.15);
    list-style: none;
    margin: 0;
    padding: 44px 30px 20px 30px;
    min-width: 188px;
    opacity: 0;
    visibility: hidden;
    transform-origin: top center;
    transition: opacity .25s ease, visibility .25s ease, transform .25s ease;
    z-index: 99;
}

.submenu li a {
    display: block;
    color: var(--bprimary);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    padding: 9px 0;
    transition: opacity 0.2s ease;
    line-height: 1.45;
}

.submenu li:first-child a {
    padding-top: 16px;
}

.submenu li:last-child a {
    padding-bottom: 0;
}

.menu-item.open .submenu {
    opacity: 1;
    visibility: visible;
}

.news-card--default,
.news-card--small,
.news-card--large {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: var(--primary);
  border-radius: 10px;
  overflow: hidden;
  color: #fff;
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.news-card--small { aspect-ratio: 1.65; }
.news-card--default { aspect-ratio: 0.75; }
.news-card--large { min-height: 0.75; }

.news-card__content {
  position: relative;
  z-index: 2;
  padding: 20px;
}

.news-card__icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ncc:hover .news-card__icon.play_video svg circle {
  fill: var(--white);
}

.ncc:hover .news-card__icon.play_video svg path {
      fill: var(--bprimary);
    stroke: var(--bprimary);
}

.news-card__content .date {
  font-size: 14px;
  line-height: 1.4;
  margin-bottom: 9px;
}

.news-card__content .tit {
  font-size: 28px;
  line-height: 1;
  font-weight: 400;
  text-decoration: none;
}

.news-card--default:not(.overlaycustom)::before,
.news-card--small:not(.overlaycustom)::before,
.news-card--large:not(.overlaycustom)::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 50%, rgba(0, 0, 0, 0.85) 100%);
  transition: background 0.4s ease;
  z-index: 1;
}

.news-card--default:not(.overlaycustom):hover::before,
.news-card--small:not(.overlaycustom):hover::before,
.news-card--large:not(.overlaycustom):hover::before {
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.85) 100%);
}

.overlaycustom::before {
  content: "";
  position: absolute;
  inset: 0;
  background: #00000010;
  transition: background 0.4s ease;
  z-index: 1;
}

.overlaycustom:hover::before {
  background: #00000050;
}

.gcard {
    margin-top: 70px;
    margin-bottom: 60px;
}

.gcard .row {
    row-gap: 20px;
}

.pagination {
    margin-bottom: 60px;
    gap: 10px;
    display: flex;
}

.pagination li {
    border-radius: 50px;
    border: 1px solid var(--primary);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pagination li a {
    font-size: 18px;
    line-height: 1.4;
    font-weight: bold;
    text-decoration: none;
    color: var(--primary);
}

.pagination li.current,
.pagination li:hover {
    background-color:var(--primary);
    color: var(--white);
}

.pagination li:hover a {
    color: var(--white);
}

.post-body {
    color: var(--bsecondary);
    font-size: 18px;
    line-height: 1.6;
    padding: 0 20px;
    max-width: 930px;
    margin: 70px auto 100px auto;
}

.standings-tbl {
    width: 100%;
    margin-bottom: 80px;
    margin-top: 90px;
}

.standings-tbl thead tr,
.standings-tbl tr:nth-child(even) {
    background-color: #F4F4F4;
}

.standings-tbl tr td {
    font-weight: 400;
    font-size: 16px;
    line-height: 1.4;
    color: #15151580;
    padding: 20px;
}

.standings-tbl tr td.min {
    width: 50px;
}

.standings-tbl tr td.min80 {
    width: 80px;
}

.standings-tbl .logoteam {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.standings-tbl .contlogo {
    min-width: 50px;
    text-align: center;
}

.standings-tbl img {
    height: 30px;
}

.standings-tbl tr.active {
    background-color: var(--primary);
}

.standings-tbl tr.active td {
    color: var(--white);
}

.fixture-container {
    max-width: 1054px;
    margin: 90px auto 70px auto;
    row-gap: 70px;
}

.fixture-card {
    display: flex;
    overflow: hidden;
    color: var(--bprimary);
    height: 100%;
}

.fixture-card__date {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    text-align: center;
    border-radius: 10px;
    padding: 13px;
    min-height: 195px;
}


.fixture-card.played .fixture-card__date {
    background-color: var(--primary);
    color: var(--secondary);
}

.fixture-card.upcoming .fixture-card__date {
    background-color: var(--secondary);
    color: var(--primary);
}

.fixture-card__date .day {
    font-size: 64px;
    line-height: 0.9;
    text-transform: uppercase;
}

.fixture-card__date .month {
    font-size: 16px;
    line-height: 1.4;
    text-transform: uppercase;
    font-weight: bold;
}

.fixture-card.upcoming .fixture-card__date .league svg path {
    fill: var(--primary);
}

.fixture-card__date .time {
    font-size: 27px;
    line-height: 0.9;
    text-transform: uppercase;
}

.fixture-card__content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 7px 40px 7px 16px;
}

.fixture-card__content .meta {
    color: var(--bprimary);
    font-size: 16px;
    line-height: 1.4;
    margin-bottom: 27px;
    font-weight: bold;
}

.variant2 .fixture-card__content .meta {
    color: var(--white);
    font-size: 16px;
    line-height: 1.4;
    margin-bottom: 27px;
    font-weight: bold;
}

.variant2 .fixture-card__content .meta .sep,
.variant2 .fixture-card__content .meta .series {
    color: #FFFFFF80;
    font-weight: 400;
}

.variant2 .fixture-card__content .team:not(.isme) .score {
    color: var(--white);
}

.fixture-card__content .meta .sep,
.fixture-card__content .meta .series {
    color: #15151580;
    font-weight: 400;
}

.fixture-card__content .teams {
    display: flex;
    flex-direction: column;
}

.fixture-card__content .team {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 36px;
    line-height: 1;
    font-weight: 400;
    text-transform: uppercase;
    gap: 10px;
}

.fixture-card__content .team-name {
    flex: 1;
    color: var(--bprimary);
    overflow-wrap: break-word;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    overflow: hidden;
    text-overflow: ellipsis;
}

.variant2 .fixture-card__content .team-name {
    color: var(--white);
}

.fixture-card__content .isme,
.fixture-card__content .isme .team-name {
    color: var(--primary)!important;
}

.variant2 .fixture-card__content .isme,
.variant2 .fixture-card__content .isme .team-name {
    color: var(--secondary)!important;
}

.fixture-card__content .score {
    font-weight: 400;
    font-size: 36px;
}

.fixture-card__content .btnj {
    border-radius: 10px;
    border: 1px solid;
    padding: 12px 14px;
    display: inline-flex;
    flex-direction: row;
    gap: 10px;
    font-weight: 600;
    font-family: "Inter", sans-serif;
    font-size: 14px;
    line-height: 20px;
    text-decoration: none;
    align-items: center;
    background-color: var(--white);
    color: var(--bbutton);
    margin-top: 22px;
    max-width: fit-content;
    margin-bottom: 10px;
}

.variant2 .fixture-card__content .btnj {
    background-color: transparent;
    color: var(--white);
    margin-top: 22px;
    max-width: fit-content;
    margin-bottom: 0;
}

.variant2 .fixture-card__content .btnj:hover {
    background-color: var(--white);
    color: var(--primary);
    border: 1px solid var(--white);
}

.variant2  .fixture-card__content .btnj svg path {
    fill: var(--white);
    stroke: var(--white);
}

.variant2  .fixture-card__content .btnj:hover svg path {
    fill: var(--primary);
    stroke: var(--primary);
}

.variant2 .fixture-card__content .btnj svg circle{
    stroke: var(--white);
}

.fixture-card__content .btnj:hover svg path {
    fill: var(--primary);
    stroke: var(--primary);
}

.fixture-card__content .btnj:hover svg circle{
    stroke: var(--primary);
}

.fixture-card__content .btnj:hover {
    background-color: var(--secondary);
    color: var(--primary);
    border: 1px solid var(--secondary);
}

.section-results .variant2 .fixture-card__content .btnj:hover {
    color: var(--bprimary);
}

.section-results .variant2 .fixture-card__content .btnj:hover svg path{
    fill: var(--bprimary);
    stroke: var(--bprimary);
}

.section-results .variant2 .fixture-card__content .btnj:hover svg circle {
    stroke: var(--bprimary);
}

.videophoto {
    margin-top: 70px;
    margin-bottom: 60px;
}

.videophoto .date {
    font-size: 14px;
    line-height: 1.4;
    margin-bottom: 10px;
    color: var(--bprimary);
}

.videophoto .title {
    font-size: 28px;
    line-height: 1;
    margin-bottom: 40px;
    color: var(--bprimary);
}

.notfound {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    flex-direction: column;
    margin: 70px auto;
    max-width: 1054px;
}

.loop-item {
    row-gap: 20px;
}

.loop-item  a{
    overflow: hidden;
}

.loop-item figure{
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    margin: 0;
    aspect-ratio: 1.65;
    transition: transform 0.3s ease;
    display: block;
    position: relative;
    max-width: 100%;
}

.page {
    margin: 72px auto 72px auto;
    max-width: 1269px;
    color: var(--bsecondary);
    font-size: 18px;
    line-height: 1.4;
}

.page a,
.page a:hover {
    color: var(--primary);
    text-decoration: underline;
    font-weight: 400;
}

.page img {
    max-width: 100%;
}

.sponsor-container .row {
    row-gap: 40px;
}

.sponsor-bar {
    position: relative;
    text-align: center;
    margin: 50px 0;
}

.sponsor-bar::before,
.sponsor-bar::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 100%;
    height: 1px;
    background-color: #3535354D;
    left: 0;
    transform: translateY(-50%);
    z-index: 0;
}

.sponsor-bar__label {
    position: relative;
    z-index: 1;
    display: inline-block;
    padding: 21px 30px;
    border-radius: 10px;
    text-transform: uppercase;
    font-size: 22px;
    line-height: 1.4;
    background-color: var(--primary);
    color: var(--white);
    font-weight: 700;
}

.cat-346969318921 .sponsor-bar__label {
    background-color: #871B16;
}

.cat-175170627081 .sponsor-bar__label {
    background-color: #E5E4E2;
    color: #161616;
}

.cat-3371935241 .sponsor-bar__label {
    background-color: #D4AF37;
}

.cat-72091411977 .sponsor-bar__label {
    background-color: #C0C0C0;
}

.cat-484408272393 .sponsor-bar__label {
    background-color: #CD7F32;
}

.cat-209530365449 .sponsor-bar__label {
    background-color: #30A656;
}

.cat-278249842185 .sponsor-bar__label {
    background-color: #ADF1FF;
    color: #161616;
}

.cat-415688795657 .sponsor-bar__label {
    background-color: #4668C0;
}

.sponsor-teaser figure {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
    margin: 0;
    position: relative;
    max-width: 250px;
    /*height: 150px;*/
}

.sponsor-teaser figure img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    filter: grayscale(100%);
    opacity: 0.5;
}

.sponsor-container .sponsor-teaser:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

.groupcontainer .row {
    row-gap: 0;
    column-gap: 0;
}

.player-card {
    position: relative;
    overflow: hidden;
    text-align: center;
    color: #fff;
    cursor: pointer;
    padding: 0;
    margin: 0;
}

.player-card__image {
    position: relative;
    width: 100%;
    aspect-ratio: 0.61;
    overflow: hidden;
    padding: 80px 50px;
}

.player-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: relative;
    z-index: 2;
    transition: transform 0.4s ease;
}

.player-card__overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: radial-gradient(circle at center, rgba(255, 204, 0, 0.8) 0%, rgba(0, 0, 0, 0) 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

.player-card__role {
    font-size: 121px;
    line-height: 0.8;
    color: #FFFFFF1A;
    text-transform: uppercase;
    margin: 30px;
    word-break: break-word;
    overflow-wrap: break-word;
}

.player-card:hover .player-card__overlay {
    opacity: 1;
}

.player-card__info {
    position: absolute;
    display: flex;
    flex-direction: row;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 10px 0 15px;
    background: linear-gradient(to top, rgba(21, 21, 21, 1) 0%, rgba(21, 21, 21, 0.8) 50%, rgba(21, 21, 21, 0) 100%);
    z-index: 3;
    gap: 15px;
    align-items: center;
    justify-content: center;
}

.player-card__name {
    text-align: left;
}

.player-card__number {
    color: var(--secondary);
    font-weight: 400;
    font-size: 132px;
    line-height: 0.8;
}

.player-card__name .lastname,
.player-card__name .firstname {
    font-weight: 400;
    font-size: 45px;
    line-height: 0.8;
    color: var(--white);
}

.player-card__name .lastname {
    font-size: 73px;
}

.player-card__name:hover .firstname,
.player-card__name:hover .lastname {
    color: var(--secondary);
}

.home-news {
    margin-top: 50px;
    margin-bottom: 50px;
}

.swiperbutton {
    display: flex;
    flex-direction: row;
    gap: 15px;
}

.storia-container .swiper-pagination,
.section-videos .swiper-pagination,
.section-photos .swiper-pagination,
.section-upcomings .swiper-pagination,
.section-results .swiper-pagination,
.home-news .swiper-pagination {
    display: none;
}

.navcontent {
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: space-between;
    align-items: end;
}

.swiper-button-prevc:hover svg,
.swiper-button-nextc:hover svg {
    fill: var(--primary);
}

.swiper-button-prevc:hover svg path,
.swiper-button-nextc:hover svg path {
    stroke: var(--white);
    fill: var(--white);
}

.swp-buttons-result .swiper-button-prevc svg circle,
.swp-buttons-result .swiper-button-nextc svg circle,
.swp-buttons-upcoming .swiper-button-prevc svg circle,
.swp-buttons-upcoming .swiper-button-nextc svg circle  {
    stroke: var(--white);
}

.swp-buttons-result .swiper-button-prevc svg path,
.swp-buttons-result .swiper-button-nextc svg path,
.swp-buttons-upcoming .swiper-button-prevc svg path,
.swp-buttons-upcoming .swiper-button-nextc svg path {
    stroke: var(--white);
}

.swp-buttons-result .swiper-button-prevc:hover svg circle,
.swp-buttons-result .swiper-button-nextc:hover svg circle,
.swp-buttons-upcoming .swiper-button-prevc:hover svg circle,
.swp-buttons-upcoming .swiper-button-nextc:hover svg circle  {
    fill: var(--white);
}

.swp-buttons-result .swiper-button-prevc:hover svg path,
.swp-buttons-result .swiper-button-nextc:hover svg path {
    stroke: var(--bprimary);
    fill: var(--bprimary);
}

.swp-buttons-upcoming .swiper-button-prevc:hover svg path,
.swp-buttons-upcoming .swiper-button-nextc:hover svg path {
    stroke: var(--primary);
    fill: var(--primary);
}

.section-results {
    background-color: var(--bprimary);
    padding: 44px 0 66px 0;
}

.section-upcomings {
    background-color: var(--primary);
    padding: 44px 0 66px 0;
}

.homebtitle,
.homebtitle2 {
    color: var(--white);
    font-size: 46px;
    line-height: 1;
    text-transform: uppercase;
    margin-bottom: 36px;
}

.homebtitle2 {
    color: var(--bprimary);
}

.section-videos,
.section-photos {
    padding: 45px 0 0 0;
}

.section-photos {
    margin-bottom: 70px;
}

.section-mobile-abb {
    background-color: var(--bprimary);
}

.custom_height {
    min-height: 520px;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

.pretitle {
    color: var(--secondary);
    font-weight: 600;
    font-size: 13px;
    line-height: 1.4;
    letter-spacing: 0.4em;
    margin-bottom: 80px;
}

.tit1 {
    font-size: 46px;
    line-height: 1;
}

.tit2 {
    font-size: 86px;
    line-height: 0.83;
    margin-bottom: 70px;
}

.btnj.disabled {
    opacity: 0.6; 
    cursor: not-allowed;
    pointer-events: none;
    background-color: #ccc;
    color: #666;
    border-color: #bbb;
    box-shadow: none !important;
    transition: none;
}
.btnj.abbonamento {
    background-color: var(--white);
    color: var(--primary);
}

.btnj.abbonamento:hover {
    background-color: var(--secondary);
}

.promo-title {
    font-size: 46px;
    line-height: 1;
    margin: 55px 40px 30px 0;
}

.promo-desc {
    font-size: 15px;
    line-height: 1.3;
    max-width: 220px;
    z-index: 100;
}

.store {
    margin-top: 50px;
    margin-bottom: 50px;
    gap: 5px;
}

.app-mobile {
    padding: 0 50px 0 0;
    position: absolute;
    bottom: 0;
    max-width: 300px;
}

.lgbot::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0) 100px);
  z-index: 1;
}

.ribbon-wrapper {
    position: absolute;
    top: 25px;
    left: 25px;
    z-index: 10;
    border-radius: 10px;
    background-color: var(--secondary);
    padding: 6px 10px;
    display: flex;
    gap: 6px;
    align-items: center;
}

.ribbon-label {
    font-weight: bold;
    font-size: 13px;
    line-height: 1.4;
    color: var(--primary);
    text-transform: uppercase;
}

.dett-player {
    gap: 32px;
    margin-bottom: 65px;
}

.dett-number {
    color: var(--secondary);
    font-size: 212px;
    font-weight: 400;
    line-height: 0.82;
    text-transform: uppercase;
}

.dett-firstname {
    color: var(--white);
    font-size: 65px;
    font-weight: 400;
    line-height: 0.82;
    text-transform: uppercase;
}

.dett-lastname {
    color: var(--white);
    font-size: 125px;
    font-weight: 400;
    line-height: 0.82;
    text-transform: uppercase;
}

.player-info .info-item {
  padding: 15px 20px;
  border-right: 1px solid #FFFFFF80;
  font-family: 'Inter', sans-serif;
  font-size: 20px;
  line-height: 1.3;
}

.player-info .label {
    color: var(--white);
    margin-right: 10px;
}

.player-info .value {
    color: var(--white);
    font-weight: 700;
}

.player-info .value img  {
    margin-right: 5px;
}

.player-info .info-item.fullwidth  .label{
    display: block;
}

.thumbz {
    position: absolute;
    max-width: 42%;
    height: auto;
    bottom: 0;
    background-position: top center;
    background-repeat: no-repeat;
    background-size: cover;
    margin-bottom: 0;
    aspect-ratio: 0.78;
    transition: transform 0.3s ease;
    right: 0;
}

.thumbz:hover {
    transform: scale(1.1);
}

.overlay-roster {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 100px;
    background: linear-gradient(to top, rgba(0,0,0,1), transparent);
    z-index: 99;
    pointer-events: none;
}

.storia {
    padding: 80px 0;
    background-color: var(--bprimary);
    color: var(--white);
    font-size: 18px;
    line-height: 1.4;
}

.dett-storia {
    margin: 75px 0;
    font-size: 18px;
    line-height: 1.6;
    color: var(--bsecondary);
}

.prestory {
    font-size: 229px;
    line-height: 0.9;
}

.custom-swiper { 
    overflow: hidden; 
    background:var(--bprimary); 
}

.storia-container {
    background:var(--bprimary);
}

.separator-sto {
    background:var(--bprimary);
    height: 90px;
}

.swiper-overlay-end { position: absolute; top:0; right:0; width:25%; height:100%; z-index:1; pointer-events:none;
  background: linear-gradient(to left, rgba(16,16,16,1), transparent);
}
.swp-buttons-story { position:absolute; inset:0; display:flex; align-items:center; justify-content:space-between; z-index:2; pointer-events:none; }
.swp-buttons-story > div { pointer-events: all; }

.swp-buttons-story .swiper-button-prevc svg circle,
.swp-buttons-story .swiper-button-nextc svg circle{
    stroke: white;
}

.swp-buttons-story .swiper-button-prevc svg path,
.swp-buttons-story .swiper-button-nextc svg path{
    fill: white;
    stroke: white;
}

.swp-buttons-story .swiper-button-prevc:hover svg circle,
.swp-buttons-story .swiper-button-nextc:hover svg circle{
    fill: white;
}

.swp-buttons-story .swiper-button-prevc:hover svg path,
.swp-buttons-story .swiper-button-nextc:hover svg path{
    fill: var(--bprimary);
}

.story-card {
    position: relative;
    aspect-ratio: 0.75;
    border-radius: 10px;
    overflow: hidden;
    background-color: var(--primary);
    cursor: pointer;
    transition: background-color 0.4s ease, transform 0.3s ease;
}

.story-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: var(--bg-image);
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 0;
}

.story-card__overlay {
    position: absolute;
    inset: 0;
    padding: 35px 35px 20px 35px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    z-index: 2;
    color: var(--white);
}

.story-card__year {
    font-size: 118px;
    line-height: 0.9;
    font-weight: 400;
    text-transform: uppercase;
    text-decoration: none;
    overflow-wrap: anywhere;
    word-break: break-word;
    hyphens: auto;
    white-space: normal;
}

.story-card__title {
    display: block;
    font-size: 58px;
    font-weight: 400;
    line-height: 1;
    color: var(--white);
    text-decoration: none;
    transition: color 0.2s ease;
}

.story-card:hover {
  background-color: transparent;
}

.story-card:hover::before {
  opacity: 1;
}

.abb-pretitle {
    color: var(--secondary);
    font-weight: 600;
    font-size: 21px;
    line-height: 1.4;
    letter-spacing: 0.4em;
    margin-bottom: 104px;
}

.abb-tit1 {
    font-size: 64px;
    line-height: 1;
}

.abb-tit2 {
    font-size: 128px;
    line-height: 0.83;
    margin-bottom: 70px;
}

.accordion-item {
    margin-bottom: 38px;
    border-radius: 8px;
    border: 1px solid #D3D3D3;
    background-color: var(--white);
    box-shadow: 0px 20px 50px 0px rgba(0, 0, 0, 0.12);
}

.accordion-item:not(:first-of-type) {
    border-top: 1px solid #D3D3D3;
}

.accordion-header button {
    font-family: "Inter";
    font-size: 24px;
    font-weight: 700;
    color: black;
    padding: 30px;
    border-radius: 8px;
}

.accordion-button:not(.collapsed) {
    background-color: var(--white);
    color: black;
    border-bottom-right-radius: 0px!important;
    border-bottom-left-radius: 0px!important;
}

.ovelayhero {
    background-color: #00000015;
    position: absolute !important;
    inset: 0;
    z-index: 1 !important;
}

.section-home-story {
    background-color: var(--bprimary);
    padding-top: 45px;
    padding-bottom: 45px;
}

.hst{
    font-size: 46px;
    line-height: 1;
    text-transform: uppercase;
}

.ochart {
    background-color: var(--bprimary);
}

.staff-grid-row {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0;
}

.staff-card {
    aspect-ratio: 0.67;
    overflow: hidden;
    position: relative;
    padding: 10px;
}

.staff-photo {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}

.staff-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 300px;
    width: 100%;
    padding: 50px 10px 10px;
    background: linear-gradient(to top, rgba(15,15,15,1), rgba(15,15,15,0));
}

.staff-info {
    display: flex;
    height: 100%;
    flex-direction: column;
    align-items: center;
    justify-content: end;
    text-align: center;
}

.staff-name {
    font-size: 45px;
    line-height: 0.82;
    text-transform: uppercase;
    font-weight: 400;
}

.staff-role {
    font-size: 22px;
    line-height: 0.82;
    text-transform: uppercase;
    font-weight: 400;
    color: var(--secondary);
    margin: 7px 0 20px 0;
}

.staff-email {
    min-height: 20px;
}

.staff-email,
.staff-email a,
.staff-email a:hover {
    font-weight: 500;
    font-size: 14px;
    line-height: 1.8;
    color: var(--white);
}


.ochart-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: radial-gradient(circle at bottom, rgba(255, 204, 0, 0.5) 0%, rgba(0, 0, 0, 0) 50%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.staff-card:hover .ochart-overlay {
    opacity: 1;
}


#mobileMenu,
.hidedesk {
    display: none;
}

.banner_mob,
.banner_desk {
    width: 100%;
}

.banner_mob {
    display: none;
}

@media (min-width: 768px) {
  .player-info .info-item:nth-child(3n) {
    border-right: none;
  }
}

@media (max-width: 768px) {
    .banner_desk { display: none;}
    .banner_mob { display: block;}
}

@media (max-width: 991.98px) {
    #mobileMenu,
    .hidedesk {
        display: block;
    }

    .m-desktop,
    .hidemob {
        display: none!important;
    }

        .mobile-menu {
        position: fixed;
        inset: 0;
        background: rgba(0,0,0,0.75);
        backdrop-filter: blur(6px);
        opacity: 0;
        pointer-events: none;
        transform: translateX(-20%) scale(0.95);
        transition: transform 0.3s ease-out, opacity 0.3s ease-out;
        z-index: 9999;
    }
    #mobileMenu .logosponsor {
        display: flex;
        gap: 15px;
    }
    #mobileMenu .logosponsor img {
        height: 30px;
    }
    .mobile-menu.active {
        opacity: 1;
        pointer-events: all;
        transform: translateX(0) scale(1);
    }
    .mobile-menu-nav {
        margin-bottom: 120px;
    }
    .menu-content {
        margin: 35px 0 40px 0;
        animation: fadeInMenu 0.8s ease forwards;
        height: calc(100vh - 100px - 35px);
        overflow: scroll;
    }
    body.menu-open {
        overflow: hidden;
        height: 100vh;
    }
    .mobile-item {
        margin-bottom: 2px;
    }

    .mobile-item .firstm {
        background-color: var(--primary);
        padding: 7px 20px 7px 35px;
    }

    .mobile-sublink,
    .mobile-link,
    .mobile-sublink {
        color: #fff;
        text-decoration: none;
        font-size: 22px;
        font-weight:500;
        line-height: 1.45;
        font-family: "Inter", sans-serif
    }

    .mobile-sublink {
        padding: 10px 20px 10px 77px;
    }
}

@media (max-width: 991.98px) {

    .container {
        padding-right: 0;
        padding-left: 0;
    }

    .row {
        margin-right: 0;
        margin-left: 0;
    }

    .row>* {
        padding-right: 20px;
        padding-left: 20px;
    }
    
    .navcontent {
        display: none;
    }

    .storia-container .swiper-pagination,
    .section-videos .swiper-pagination,
    .section-photos .swiper-pagination,
    .section-upcomings .swiper-pagination,
    .section-results .swiper-pagination,
    .home-news .swiper-pagination {
        display: block;
        margin-top: 20px;
        position: relative;
        bottom: 0;
        top: 0;
    }

    .swiper-pagination-bullet {
        background: #d4d4d4;
        width: 10px;
        height: 10px;
        opacity: 1;
    }

    .swiper-pagination-bullet-active {
        background: var(--primary);
        width: 10px;
        height: 10px;
    }

    .storia-container .swiper-pagination-bullet-active,
    .section-upcomings .swiper-pagination-bullet-active,
    .section-results .swiper-pagination-bullet-active {
        background: var(--secondary);
    }

    .section-videos,
    .section-videos .row,
    .section-photos,
    .section-photos .row,
    .home-news,
    .home-news .row {
        padding: 0;
        margin: 20px 0;
    }

    .section-videos .row>*,
    .section-photos .row>*,
    .home-news .row>* {
        padding-left: 0;
        padding-right: 0;
    }

    .homebtitle, .homebtitle2 {
        font-size: 40px;
        line-height: 0.9;
        margin-bottom: 0;
    }

    .section-upcomings,
    .section-results {
        padding: 25px 0 30px 0;
    }

    .mobile-info-c,
    .mobile-info {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 22px;
        gap: 5px;
        padding-left: 20px;
        padding-right: 20px;
    }

    .mobile-info-c {
        padding-top: 5px;
        padding-bottom: 15px;
        gap: 5px;
    }

    .mobile-info-c .btnj {
        padding: 8px 20px;
        gap: 3px;
        min-width: 100px;
        text-align: center;
        align-items: center;
        justify-content: center;
    }

    .mobile-info .btnj {
        padding: 8px 20px;
        gap: 3px;
    }

    .fixture-card__content .meta,
    .variant2 .fixture-card__content .meta {
        font-size: 12px;
        margin-bottom: 22px;
    }

    .fixture-card__content .score,
    .fixture-card__content .team {
        font-size: 31px;
        gap: 5px;
    }

    .fixture-card__date {
        padding: 10px;
        min-height: 165px;
    }

    .fixture-card__date .day {
        font-size: 53px;
    }

    .fixture-card__date .month {
        font-size: 17px;
    }

    .fixture-card .league svg {
        width: 42px;
    }

    .fixture-card__content {
        padding: 5px 12px ;
    }

    .fixture-card__content .btnj,
    .variant2 .fixture-card__content .btnj {
        padding: 8px 15px;
    }

    .fixture-card__content .btnj svg,
    .variant2 .fixture-card__content .btnj svg {
        width: 16px;
    }

    .custom_height {
        min-height: 390px;
        padding: 0;
    }

    .pretitle {
        font-size: 12px;
        text-align: center;
        margin-top: 40px;
        padding: 0 20px;
    }

    .tit1 {
        font-size: 36px;
        text-align: center;
        padding: 0 20px;
    }

    .tit2 {
        font-size: 61px;
        text-align: center;
        padding: 0 20px;
    }

    .custom_height .btnj.abbonamento {
        margin-bottom: 40px;
        padding: 16px 24px;
    }

    .promo-title {
        font-size: 40px;
        line-height: 1;
        margin: 25px 0 16px 0;
    }
    .promo-desc {
        font-size: 12px;
        max-width: 170px;
    }

    .store {
        margin-top: 20px;
        margin-bottom: 50px;
        flex-direction: column;
    }

    .app-mobile {
        padding: 0 0 0 0;
        position: absolute;
        bottom: 0;
        max-width: 40vw;
    }

    .lgbot::before {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(to top, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0) 100px);
        z-index: 1;
    }

    .store img {
        height: 40px;
        width: auto;
    }

    .news-card__icon {
        width: 40px;
    }

    .news-card__content {
        padding: 15px;
    }

    .ribbon-wrapper {
        top: 15px;
        left: 15px;
    }
    .ribbon-label {
        font-size: 10px;
    }
    .ribbon-wrapper svg {
        width: 11px;
    }

    .section-home-story .btnj {
        padding: 8px 24px;
    }

    .swp-buttons-story,
    .separator-sto,
    .swiper-overlay-end {
        display: none;
    }

    .story-card__title {
        font-size: 21px;
    }
    .story-card__year {
        font-size: 48px;
        font-weight: 400;
    }
    .story-card__overlay {
        position: absolute;
        inset: 0;
        padding: 20px 12px;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        z-index: 2;
        color: var(--white);
    }

    .storia-container .swiper-pagination {
        padding: 30px 0;
        margin: 0;
    }

    .storia-container .container {
        margin: 0;
        padding: 0;
    }
    .logo-wrapper {
        height: 90px;
    }

    .lf {
        max-height: 71px;
        margin-right: 20px;
    }

    .footertext1 {
        font-size: 14px;
        margin-bottom: 8px;
    }

    .footertext2 {
        font-size: 9px;
    }

    .footerlist ul {
        margin-bottom: 0;
    }
    .main-footer {
        padding: 0;
    }

    .item1 {
        padding-bottom: 20px;
        padding-top: 25px;
    }

    .item2,
    .item3 {
        background-color: #FFFFFF1A;
        padding-top: 20px;
        padding-bottom: 25px;
    }

    .item2 .footertext1,
    .item3 .footertext1 {
        font-size: 12px;
        margin-bottom: 17px;
    }

    .item2 .footertext2,
    .item3 .footertext2 {
        font-size: 13px;
    }

    .little-footer {
        padding: 14px 0;
    }

    .little-footer .footertext3{
        font-size: 11px;
    }

    .little-footer img {
        max-height: 25px;
    }

    #mobileMenu .logo img,
    header .first-row .logo img {
        height: 72px;
    }

    #mobileMenu .first-row,
    header .first-row {
        padding: 20px 0 0 0;
    }

    header:not(.hero, .abbonamenti) {
        background-color: #6A1F18;
        min-height: 215px;
        background-image: none!important;
    }

    header.abbonamenti, header.roster, header.hero {
        min-height: 385px;
    }

    .f-title {
        font-size: 55px;
        padding: 10px 0;
    }

    .gcard {
        margin-top: 25px;
        margin-bottom: 35px;
    }

    .gcard .news-card--default {
        aspect-ratio: 1.54;
    }

    .pagination {
        margin-bottom: 35px;
    }

    .news-card--default:not(.overlaycustom)::before, 
    .news-card--small:not(.overlaycustom)::before, 
    .news-card--large:not(.overlaycustom)::before {
        background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 50%, rgba(0, 0, 0, 0.85) 300px)
    }

    header.hero h1 {
        font-size: 37px;
    }

    header .btnj {
        padding: 8px 16px;
        margin-bottom: 20px;
    }

    header .pretitle {
        font-size: 16px;
        font-weight: 400;
        text-align: left;
        padding: 0;
        letter-spacing: 0;
        margin-top: 0;
    }

    .post-body {
        font-size: 16px;
        margin: 25px auto 35px auto;
    }

    .fixture-container {
        max-width: 100%;
        margin: 35px auto 60px auto;
        row-gap: 35px;
    }

    .standings-tbl tr td {
        font-weight: 400;
        font-size: 10px;
        line-height: 1.4;
        padding: 12px 6px;
    }
    .standings-tbl img {
        height: 24px;
    }

    .standings-tbl tr td.min {
        width: 30px;
        text-align: center;
    }

    .standings-tbl {
        margin-bottom: 35px;
        margin-top: 25px;
    }

    .mcw .ribbon-wrapper {
        left: 35px;
    }
    .videophoto {
        margin-top: 25px;
        margin-bottom: 35px;
        padding: 0 20px;
    }

    .photomobile {
        margin: 0;
    }
    .photomobile .row {
        row-gap: 0;
    }
    .photomobile .row>* {
        padding: 0;
    }

    .notfound {
        text-align: center;
        padding: 0 20px;
    }

    .page,
    .sponsor-container {
        margin: 25px auto 35px auto;
        max-width: 100%;
        font-size: 16px;
        padding: 0 20px;
    }

    .storia {
        padding: 25px 20px 35px;
        background-color: var(--bprimary);
        color: var(--white);
        font-size: 16px;
        line-height: 1.4;
    }

    .player-card__number {
        font-size: 32px;
    }
    .player-card__name .lastname, .player-card__name .firstname {
        font-size: 32px;
    }

    .player-card {
        padding: 0;
        margin: 0;
    }
    .player-card__image {
        aspect-ratio: 0.61;
        padding: 30px 20px;
    }
    .prestory {
        font-size: 97px;
        line-height: 1.1;
    }
    .dett-storia {
        margin: 25px 0 35px;
        font-size: 16px;
        padding: 0 20px;
    }

    .staff-grid-row {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 0;
    }

    .staff-name {
        font-size: 32px;
    }

    .staff-role {
        font-size: 20px;
    }

    .staff-email, .staff-email a, .staff-email a:hover {
        font-size: 11px;
    }

    header.abbonamenti::before {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(to bottom, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0) 100px);
        z-index: 1;
    }

    header > .container {
        z-index: 1;
    }

    .abb-pretitle {
        font-size: 14px;
        margin-bottom: 24px;
    }

    .abb-tit1 {
        font-size: 50px;
        line-height: 1;
    }

    .abb-tit2 {
        font-size: 50px;
        line-height: 0.80;
        margin-bottom: 20px;
    }

    .minibasket img {
        margin-bottom: 30px;
    }

    .minibasket .row>* {
        padding: 0;
    }

    .mobroster {
        margin: 20px 0;
    }

    .mobroster svg path {
        fill: white;
    }

    .group-detail-mob {
        background-color: var(--bprimary);
        padding: 25px 20px 35px;
    }

    .player-card__info {
        gap: 8px;
        align-items: flex-start;
    }

    .dett-player {
        gap: 15px;
        position: absolute;
        bottom: -50px;
        margin-bottom: 0;
        width: 100%;
        background: linear-gradient(to top, rgba(21, 21, 21, 1) 0%, rgba(21, 21, 21, 0.8) 50%, rgba(21, 21, 21, 0) 100%);
    }

    .dett-number {
        font-size: 132px;
    }

    .dett-firstname {
        font-size: 45px;
    }

    .dett-lastname {
        font-size: 73px;
    }

    .player-info {
        margin: 80px 0 0;
    }

    .player-info .info-itemmob {
        padding: 0 0 10px 0;
        font-family: 'Inter', sans-serif;
        font-size: 18px;
        line-height: 1.6;
    }

    .header.simple.hidedesk .btnj:hover{
        color: var(--bprimary)!important;
    }

    .header.home {
        min-height: 430px;
    }

    .lottie-bg-mob {
        position: absolute;
        left: 0;
        right: 0;
        width: 100%;
        border: none;
        object-fit: cover;
        aspect-ratio: 1.5;
        top: 0;
        height: 340px;
        pointer-events: none;
    }

    .hmobh {
        margin-top: 262px;
        margin-bottom: 30px;
    }

    .home-title {
        font-size: 55px;
        margin-bottom: 20px;
    }
}

@keyframes fadeInMenu {
  0% {
    opacity: 0;
    transform: scale(0.8) translateY(20px);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}