/*
Theme Name: Understrap Child
Description: Tema child di Understrap
Author: Francesco Luigi Cerra
Template: understrap
Version: 1.0.0
Text Domain: understrap-child
*/




@font-face {
  font-family: 'Switzer';
  src: url('assets/fonts/Switzer-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Switzer';
  src: url('assets/fonts/Switzer-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}


:root {
  --font-body: 'Switzer', system-ui, sans-serif;
}

body {
  font-family: var(--font-body)!important;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  color: #111;
}


/* TOP BAR */
.top-bar .custom-logo {
  max-height: 40px;
}
.bg-bar {
	background:#000000
}

.slogan {
  font-size: 14px;
}

/* MENU LARGO E HOVER */
.navbar-nav {
  display: flex;
  width: 100%;
}

.navbar-nav .menu-item {
  flex: 1;
    padding: 18px 0;
  text-align: center;
}

.navbar-nav .menu-item a {
  display: block;
  width: 100%;
  color: #000 !important;        /* forza il nero */
  text-decoration: none;
  transition: background-color 0.3s, color 0.3s;
  font-weight: 800;
}

/*
.navbar-nav .menu-item a:hover,
.navbar-nav .menu-item a:focus {
  background-color: #000 !important;
  color: #fff !important;
}*/

/* BARRA HERO rossa */
.hero-bar {
  background-color: #E54500; /* rosso */
  color: #fff;
  text-align: center;
  font-weight: 600;
}

.hero-fullwidth .hero-card {
  height: 600px; /* Altezza rettangolare, puoi regolare */
}

.hero-fullwidth .hero-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-fullwidth .hero-text {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 60px!important;
  color: #fff;
  z-index: 2;
  background: linear-gradient(to top, rgb(36 11 53), rgba(0,0,0,0)); /* testo leggibile */
}

.hero-fullwidth .hero-text p,
.hero-fullwidth .hero-text h2 {
  margin: 0;
}

.hero-fullwidth .hero-text h2 {
  font-size: 1.8rem;
  font-weight: 700;
}







/* HERO CARD BASE */
.hero-card {
    position: relative;
    height: 300px; /* altezza standard desktop */
    overflow: hidden;
}

/* Immagine che riempie il contenitore */
.hero-card img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* mantiene proporzioni e riempie */
    display: block;
}




/* RESPONSIVE PER MOBILE */
@media (max-width: 768px) {
    .hero-card {
        height: 200px; /* card più bassa su mobile */
    }
    
    .hero-text h2 {
        font-size: 1.1rem; /* titolo più piccolo su mobile */
    }
    
    .hero-text p {
        font-size: 0.8rem;
    }
}




.hero-text p,
.hero-text h2 {
  margin: 0;
}

.hero-text a , .latest-text a {
    color: #fff !important;   /* forza il bianco */
    text-decoration: none;     /* rimuove sottolineatura */
}

/*
.hero-text a:hover, .latest-text a:hover{
    color: #fff !important;   
	  text-decoration: none;

}*/





/* Stato normale */
.latest-card .hero-card .category-card {
  background: linear-gradient(to top, rgb(36 11 53 / 0.7), rgba(0,0,0,0));
  color: #fff;
  transition: background 0.3s ease, color 0.3s ease;
}

/* Hover */
.latest-card:hover .latest-text {
  background: rgba(255,255,255,0.8); /* sfumatura bianca */
  color: #000;                        /* testo nero */
    text-decoration: none;

}


/* Testo interno link */
.latest-card:hover .latest-text a {
  color: #000 !important;
    text-decoration: none;

}





/* Hover */
.hero-card:hover .hero-text {
  background: rgba(255,255,255,0.8); /* sfumatura bianca */
  color: #000;                        /* testo nero */
    text-decoration: none;

}


/* Testo interno link */
.hero-card:hover .hero-text a {
  color: #000 !important;
    text-decoration: none;
}

/* Transizioni sui testi */
.hero-card .hero-text h2,
.hero-card .hero-text p {
  transition: color 0.3s ease;
}

/* Transizioni sui testi */
.latest-card .latest-text h4,
.latest-card .latest-text p {
  transition: color 0.3s ease;
}

.latest-card {
  position: relative;
  height: 250px; /* altezza rettangolare, puoi cambiare */
  overflow: hidden;
}

.latest-card img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* mantiene proporzioni e riempie il rettangolo */
  display: block;
}

.latest-text {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 15px;
  color: #fff;
    background: linear-gradient(to right, #240B35cc, transparent);

}

.latest-text h4{
  margin-bottom:100px;
  margin-left:20px;
}

.latest-text p {
  margin-top:0px;
  margin-left:20px;
}





.latest-text h4 {
  display: -webkit-box;
  -webkit-line-clamp: 2; /* massimo 2 righe */
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.latest-text {
  justify-content: flex-end;
}

.post-date {
  font-size: 0.8rem;
  opacity: 0.8;
}

.latest-text h4 {
  flex-shrink: 0;
}

.latest-text p {
  margin-bottom: 0;
}


.custom-logo {
  max-height: 60px;   /* regola l’altezza */
  width: auto;
}

.custom-logo-link img {
  max-height: 60px;
  width: auto;
}


/* HERO ARTICOLO */
.single-hero {
  height: 60vh;
  min-height: 400px;
  overflow: hidden;
  position: relative;
}

.single-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Overlay */
.single-hero-text {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 40px;
  background: linear-gradient(to top, rgba(0,0,0,.7), rgba(0,0,0,0));
  color: #fff;
}

.single-hero-text h1 {
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.single-meta {
  font-size: .9rem;
  margin-bottom: 10px;
}

.single-meta a {
  color: #fff !important;
  text-decoration: none;
}

/* CONTENUTO */
.single-post-content p {
  font-size: 1.1rem;
  line-height: 1.8;
}






/* ICON BUTTON */
.icon-btn {
  background: none;
  border: none;
  color: #fff;
  font-size: 1.2rem;
  cursor: pointer;
  padding: 10px;
}

/* OVERLAY */
#searchOverlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.85);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

/* attivo */
#searchOverlay.active {
  display: flex;
}

/* close */
#closeSearch {
  position: absolute;
  top: 30px;
  right: 40px;
  font-size: 3rem;
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
}

.search-box form {
  display: flex;
  flex-direction: column; /* input sopra, bottone sotto */
  align-items: center;
  gap: 20px; /* spazio verticale tra input e pulsante */
}

.search-box input[type="search"] {
  width: 100%;
  max-width: 500px;
  padding: 15px 20px;
  font-size: 2rem;
  border: none;
  outline: none;
}

.search-box input[type="submit"] {
  min-width: 150px;
  padding: 12px 20px;
  font-size: 1.6rem;
  border: none;
  background-color: #fff; /* bottone bianco */
  color: #000;
  cursor: pointer;
  transition: all 0.3s ease;
}

.search-box input[type="submit"]:hover {
  background-color: #f0f0f0;
}

.category-header {
  background: #000;
}

.category-title {
  font-size: 1.6rem;
  font-weight: 700;
  text-transform: uppercase;

}

.category-home-link {
  color: #fff;
  text-decoration: none;
  font-weight: 800;
}


.category-home-link:hover {
  text-decoration: none;
}


.latest-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.latest-link:hover {
  text-decoration: none;
}

.latest-link:hover .latest-card img {
  transform: scale(1.05);
  transition: transform 0.4s ease;
}


.latest-link:hover .hero-card img {
  transform: scale(1.05);
  transition: transform 0.4s ease;
}


#load-more {
  min-width: 200px;
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
}

#load-more:hover {
  background: #000;
  color: #fff;
}
/* HAMBURGER */
.mobile-hamburger {
  background: none;
  border: none;
  color: #fff;
  font-size: 32px;
}

/* OVERLAY */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: #000;
  z-index: 9999;
  display: none;
}

/* ATTIVO */
.mobile-menu.active {
  display: flex;
  flex-direction: column;
}

/* CHIUDI */
.close-menu {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  color: #fff;
  font-size: 32px;
}

/* NAV */
.mobile-nav {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* LISTA */
.mobile-menu-list {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: center;
}

.mobile-menu-list li {
  margin: 20px 0;
}

.mobile-menu-list a {
  color: #fff;
  font-size: 28px;
  text-decoration: none;
  font-weight: 600;
}

/* Dropdown desktop */
.navbar-nav .dropdown-menu {
  border: none;
  box-shadow: 0 10px 30px rgba(0,0,0,.15);
  margin-top: 10px;
}

.navbar-nav .dropdown-item {
  font-weight: 500;
  padding: 10px 20px;
}

.navbar-nav .dropdown-item:hover {
  background: #f5f5f5;
}



@media (max-width: 991px) {
  .navbar.navbar-expand-lg {
    display: none !important;
  }
}

/* PODCAST PLAYER */
.podcast-player,
.wp-block-audio {
  padding: 15px 20px;
  margin-top: 20px;
    border-radius: 12px;
	  outline: none;

}

/* Audio element */
.wp-block-audio audio,
.podcast-player audio {
  width: 100%;
  border-radius: 12px;
  outline: none;
}

/* Rimuove margini strani */
.wp-block-audio {
  margin: 0;
}



.home-podcast {
  background-image: url("../understrap-child/assets/podcastBackground2.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.podcast_title{
	    font-size: xxx-large;
font-weight: 600;
}



.podcast-title {
  display: flex;
  align-items: flex-start;
}

/* NUMERO */
.podcast-number {
  font-size: 2.6rem;
  font-weight: 800;
  margin-right: 16px;
  flex-shrink: 0; /* impedisce che il testo vada sotto */
  line-height: 1;
}

/* TESTO */
.podcast-title2 {
  font-size: 1.8rem;
  font-weight: 400;
  line-height: 1.3;
}


.home-podcast {
  position: relative;
  background: url("../understrap-child/assets/podcastBackground2.png") center / cover no-repeat;
}

.home-podcast::before {
  content: "";
  position: absolute;
  inset: 0;
 background: rgba(48, 128, 45, 0.7);

  z-index: 0;
}

.home-podcast > * {
  position: relative;
  z-index: 1;
}





.home-podcast-box {
  background: #111;
  color: #fff;
  padding: 30px;
  border-radius: 20px;
}

.podcast-label {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 1px;
  color: #f5a623;
  margin-bottom: 10px;
}

.home-podcast-box h3 {
  margin-bottom: 15px;
}



/* HERO SLIDER */
#heroSlider {
  position: relative;
}

.hero-img {
  height: 90vh;
  object-fit: cover;
}

/* Overlay */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgb(36 11 53 / 0.7), rgba(0,0,0,0));
  display: flex;
  align-items: flex-end;
  padding-bottom: 60px;
  color: #fff;
}

.hero-overlay h2 {
  font-size: 2.5rem;
  font-weight: 700;
  max-width: 700px;
}

.hero-category a {
  color: #ffffff;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 14px;
}


#heroSlider,
#heroSlider .carousel-inner,
#heroSlider .carousel-item {
  height: 90vh;
}


a:hover {
    color: #d4d4d4!important;
    text-decoration: none !important;
}

.cta-instagram {
    background: #f15b3d; /* colore Instagram */
    color: #fff;
    text-align: center;
}

.cta-instagram h3 {
    font-size: 2rem;
}

.cta-instagram p {
    font-size: 1.2rem;
}

.cta-instagram .btn-outline-light {
    border-width: 2px;
    transition: all 0.3s ease;
}

.cta-instagram .btn-outline-light:hover {
    background: #fff;
    color: #f15b3d;
}




/* CARD PRINCIPALE */
.category-card {
  position: relative;
  height: 250px;          /* altezza leggermente più bassa */
  overflow: hidden;
}

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

/* Hover leggero sull'immagine */
.category-card:hover img {
  transform: scale(1.05);
}

/* OVERLAY TESTO */
.category-text {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 15px;
  background: linear-gradient(to right, rgb(36 11 53 / 0.7), rgba(0,0,0,0));
  color: #fff;
  transition: background 0.3s ease, color 0.3s ease;
}

/* Titolo */
.category-text h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin: 0 0 4px 0;
  max-width: 100%;
  transition: color 0.3s ease;
}

.category-text:hover h3 {
   text-decoration: none!important;
}

/* Categoria / autore */
.category-text p {
  font-size: 0.8rem;
  margin: 0;
  transition: color 0.3s ease;
}

/* LINK categoria */
.category-text a {
  color: #ffff; /* colore dorato come hero */
   text-decoration: none!important;
  text-transform: uppercase;
  font-size: 0.75rem;
}

/* HOVER: sfumatura bianca + testo nero */
.category-card:hover .category-text {
  background: rgba(255,255,255,0.8);
  color: #000;
}

.category-card:hover .category-text a {
  color: #000 !important;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .category-card {
    height: 200px;
  }

  .category-text h3 {
    font-size: 1rem;
	 text-decoration: none!important;
  }

  .category-text p {
    font-size: 0.7rem;
  }
}



/* CALCIO */
.category-calcio .category-text, 
.category-calcio .latest-text {
  background: linear-gradient(to right, #240B35cc, transparent);
}

.category-serie-a .category-text, 
.category-serie-a .latest-text {
  background: linear-gradient(to right, #240B35cc, transparent);
}

.category-serie-b .category-text, 
.category-serie-b .latest-text {
  background: linear-gradient(to right, #240B35cc, transparent);
}

.category-campionati-esteri-articoli-calcio .category-text, 
.category-campionati-esteri-articoli-calcio .latest-text {
  background: linear-gradient(to right, #240B35cc, transparent);
}


/* altrisport */
.category-altri-sport .category-text, 
.category-altri-sport .latest-text {
  background: linear-gradient(to right, #000000cc, transparent);
}

/* sport-americani */
.category-sport-americani .category-text, 
.category-sport-americani .latest-text {
  background: linear-gradient(to right, #000000cc, transparent);
}


/* ciclismo */
.category-ciclismo .category-text, 
.category-ciclismo .latest-text {
  background: linear-gradient(to right, #000000cc, transparent);
}

/* ciclismo */
.category-sport-invernali .category-text, 
.category-sport-invernali  .latest-text {
  background: linear-gradient(to right, #000000cc, transparent);
}


/* BASKET */
.category-basket .category-text, 
.category-basket .latest-text {
  background: linear-gradient(to right, #E54500cc, transparent);
}

/* TENNIS */
.category-tennis .category-text, 
.category-tennis .latest-text {
  background: linear-gradient(to right, #CFA900cc, transparent);
}



/* FORMULA 1 */
.category-motori .category-text, 
.category-motori .latest-text {
  background: linear-gradient(to right, #C40303cc, transparent);
}

/* FORMULA 1 */
.category-formula-uno .category-text, 
.category-formula-uno .latest-text {
  background: linear-gradient(to right, #C40303cc, transparent);
}
/* MOTOGP */
.category-motogp .category-text, 
.category-motogp .latest-text {
  background: linear-gradient(to right, #C40303cc, transparent);
}

/* Rubriche */
.category-rubriche .category-text, 
.category-rubriche .latest-text {
  background: linear-gradient(to right, #864E01cc, transparent);
}

/* SPORT E CINEMA */
.category-sport-e-cinema .category-text, 
.category-sport-e-cinema .latest-text {
  background: linear-gradient(to right, #864E01cc, transparent);
}

/* CALCIATORI DIMENTICATI */
.category-calciatori-dimenticati .category-text, 
.category-calciatori-dimenticati .latest-text {
  background: linear-gradient(to right, #864E01cc, transparent);
}

.category-i-conti-del-gioco .category-text, 
.category-i-conti-del-gioco .latest-text {
  background: linear-gradient(to right, #864E01cc, transparent);
}


/* SPORT E POLITICA */
.category-back-to-the-past .category-text, 
.category-back-to-the-past .latest-text {
  background: linear-gradient(to right, #864E01cc, transparent);
}


/* SPORT E POLITICA */
.category-calcio-e-politica .category-text, 
.category-calcio-e-politica .latest-text {
  background: linear-gradient(to right, #864E01cc, transparent);
}


/* INTERVISTE */
.category-sport-e-true-crime .category-text, 
.category-sport-e-true-crime .latest-text {
 background: linear-gradient(to right, #864E01cc, transparent);
}




/* INTERVISTE */
.category-interviste .category-text, 
.category-interviste .latest-text {
  background: linear-gradient(to right, #0E2262cc, transparent);
}





.author-hero {
  background: linear-gradient(to bottom, #000, #111);
}

.author-hero h1 {
  font-size: 2.8rem;
  font-weight: 700;
}


/* CONTENITORE PODCAST */
/* Layout generale podcast */
.podcast-item {
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
    border: 1px solid #eee !important;
}

.podcast-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.08) !important;
}

.podcast-cover img {
    aspect-ratio: 1/1; /* Forza l'immagine quadrata come su Spotify */
    object-fit: cover;
    width: 100%;
}

.podcast-title {
    color: #222;
    font-size: 1.25rem;
}

/* Nasconde gli elementi in eccesso se non ancora caricati */
.is-hidden {
    display: none;
}

/* Migliora il player audio in questa pagina */
.podcast-player audio {
    width: 100%;
    height: 35px;
}







/* PLAYER */
.podcast-player {
  width: 100%;
  background: #f1f1f1;  /* player minimal nero */
  padding: 10px;
  border-radius: 12px;
}

.podcast-player audio {
  width: 100%;
  outline: none;
  filter: invert(1); /* icone chiare */
}

/* LINK */
.podcast-link {
  display: inline-block;
  margin-top: 8px;
  color: #000;
  text-decoration: none;
  font-weight: 600;
}

/* DESKTOP LAYOUT */
@media (min-width: 992px) {
  .podcast-item {
    flex-direction: row; /* cover a sinistra, contenuti a destra */
    align-items: flex-start;
    gap: 30px;
  }

  .podcast-cover {
    flex: 0 0 220px; /* dimensione fissa cover */
  }

  .podcast-content {
    display: flex;
    flex-direction: column; /* titolo + player in colonna */
    flex: 1;
  }

  /* titolo + player sotto */
  .podcast-title {
    font-size: 1.6rem;
    margin-bottom: 12px;
  }

  .podcast-player {
    margin-top: 0;
    max-width: 600px;
  }
}

/* CARICA ALTRO */
#load-more-podcast {
  max-width: 300px;
  margin: auto;
}


.author-avatar {
  width: 120px;
  height: 120px;
  overflow: hidden;
}

.author-avatar-img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}

.share-buttons {
  margin-top: 40px;
  display: flex;
  gap: 15px;
}

.share-btn {
  padding: 10px 18px;
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none;
  font-size: 14px;
}

.share-btn.facebook {
  background: #1877f2;
  color: #fff;
}
/* CONTENITORE */
.custom-comments {
  border-top: 1px solid #ddd;
  padding-top: 40px;
}

/* FORM */
.comment-form-box {
  background: #f5f5f5;
  padding: 25px;
  border-radius: 12px;
}

.comment-form textarea {
  width: 100%;
  min-height: 120px;
}

.comment-form input,
.comment-form textarea {
  border-radius: 6px;
  border: 1px solid #ccc;
}

/* LISTA COMMENTI */
.comment-list-box {
  padding-left: 20px;
}

.comment {
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 1px solid #e5e5e5;
}

.comment-author {
  font-weight: 700;
}

.comment-meta {
  font-size: 0.85rem;
  color: #777;
}

/* MOBILE */
@media (max-width: 768px) {
  .comment-list-box {
    padding-left: 0;
    margin-top: 40px;
  }
}


/* SOLO MOBILE */
@media (max-width: 767px) {
  .latest-card {
    width: 100%;
    height: 250px; /* altezza fissa per il mobile, puoi aumentarla se vuoi */
    overflow: hidden;
    position: relative;
  }

  .latest-card img {
    position: absolute; /* importante per riempire il container */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* riempie tutto il contenitore */
  }

  .latest-text {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 15px;
  background: linear-gradient(to right, rgb(36 11 53 / 0.7), rgba(0,0,0,0));
  transition: background 0.3s ease, color 0.3s ease;
  }



  .latest-text p {
    font-size: 0.8rem;
    left: 20px;
  }
}

.post-date {
  font-size: 0.9rem;
  opacity: 0.8;
  margin-bottom: 10px;
}


/* Nasconde icona email autore */
.ppma-author-field-type-email {
    display: none !important;
}

/* Contenitore avatar */
.pp-author-boxes-avatar .avatar-image {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
}

/* Immagine dentro il cerchio */
.pp-author-boxes-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;   /* IMPORTANTISSIMO */
    border-radius: 50%;
}

.ppma-author-category-wrap {
    margin-top: 3rem;
}

.pp-multiple-authors-boxes-li {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 12px;
    transition: all 0.2s ease-in-out;
}

.pp-multiple-authors-boxes-li:hover {
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

.pp-author-boxes-name a {
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
}

.pp-author-boxes-description {
    font-size: 0.9rem;
    color: #6c757d;
}

/* =========================
   MOBILE MENU NERO
========================= */

.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 85%;
    max-width: 340px;
    height: 100vh;
    background: #000;
    color: #fff;
    transition: right 0.35s ease;
    z-index: 9999;
    padding: 2rem 1.5rem;
    overflow-y: auto;
}

.mobile-menu.active {
    right: 0;
}

/* =========================
   LISTA
========================= */

.mobile-menu-list {
    list-style: none;
    padding: 0;
    margin: 3rem 0 0 0;
}

.mobile-menu-list li {
    position: relative;
}

/* LINK PRINCIPALI */
.mobile-menu-list li > a {
    display: block;
    padding: 1.2rem 0;
    color: #fff;
    text-decoration: none;
    font-size: 1.3rem; /* PIÙ GRANDE */
    font-weight: 600;
	text-align: left;
}

/* LINK SUBMENU */
.mobile-menu-list .sub-menu li a {
    font-size: 1.1rem;
    font-weight: 400;
    opacity: 0.85;
    padding: 0.7rem 0;
}

/* =========================
   BOTTONE FRECCIA
========================= */

.submenu-toggle {
    position: absolute;
    right: 0;
    top: 0.7rem;
    background: none;
    border: none;
    color: #fff;
    font-size: 1.7rem;
    cursor: pointer;
    transition: transform 0.3s ease;
}

/* Rotazione */
.menu-item-has-children.open .submenu-toggle {
    transform: rotate(90deg);
}

/* =========================
   SUBMENU ANIMATO
========================= */

.mobile-menu-list .sub-menu {
    list-style: none;
    padding-left: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
}

.mobile-menu-list .menu-item-has-children.open > .sub-menu {
    max-height: 500px;
    margin-top: 5px;
}






/* Sovrascrive il fondo scuro che hai indicato */
.mejs-container, 
.mejs-container .mejs-controls, 
.mejs-embed, 
.mejs-embed body {
    background: #fdfdfd !important; /* Bianco sporco o grigio chiarissimo */
    box-shadow: none;
}

/* Rende le icone (play, mute, etc.) scure così si vedono sul bianco */
.mejs-controls .mejs-button button {
    filter: invert(1) !important;
}

/* Cambia il colore del testo dei minuti (es. 00:00) */
.mejs-controls .mejs-time span {
    color: #333 !important;
}

/* Sfondo della barra di caricamento totale */
.mejs-controls .mejs-time-rail .mejs-time-total {
    background: #e0e0e0 !important;
}

/* Colore della barra che indica quanto hai già ascoltato */
.mejs-controls .mejs-time-rail .mejs-time-current {
    background: #ccc !important; /* Puoi sostituirlo con un colore di categoria */
}



/* Stile sportivo e moderno */
.chi-siamo-page h2.italic-font {
    font-style: italic;
    letter-spacing: 2px;
}

.chi-siamo-page .card {
    border-top: 5px solid #212529 !important; /* Accento nero sopra le card */
    transition: all 0.3s ease;
}

.chi-siamo-page .card:hover {
    box-shadow: 0 10px 20px rgba(0,0,0,0.1) !important;
}

/* Badge con angoli netti come nei siti di news sportivi */
.badge {
    border-radius: 0; 
    font-weight: 600;
}



/* Container dell'autore nella lista collaboratori */
.contributor-item {
    width: 110px; /* Larghezza fissa per allineare i testi */
    transition: transform 0.2s ease;
}

.contributor-item:hover {
    transform: translateY(-5px);
}

/* Forza le dimensioni dell'avatar */
.img-author {
    width: 100px !important;
    height: 100px !important;
    object-fit: cover; /* Evita che l'immagine si schiacci */
    border: 2px solid #eee;
    transition: border-color 0.3s;
}

.contributor-item:hover .img-author {
    border-color: #000; /* Il bordo diventa nero al passaggio del mouse */
}

/* Testo extra piccolo per il numero di articoli */
.extra-small {
    font-size: 0.75rem;
    display: block;
}

/* Centratura per avatar se il nome è lungo */
.avatar-container {
    width: 100px;
    height: 100px;
}




/* Stile per la ricerca in linea su desktop */
.search-form-inline .form-control {
    background: rgba(255, 255, 255, 0.1); /* Sfondo semi-trasparente */
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    border-radius: 20px 0 0 20px; /* Arrotondato a sinistra */
    padding-left: 15px;
    width: 180px;
    transition: width 0.3s ease;
}



.search-form-inline .btn {
    border-radius: 0 20px 20px 0; /* Arrotondato a destra */
    border-left: none;
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    color: white;
}

/* Placeholder bianco/trasparente */
.search-form-inline .form-control::placeholder {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}


/* Stile per il link 'Tutti gli articoli' nel menu a tendina */
.dropdown-menu .view-all-link a {
    display: block;
    width: 100%;
    padding: 10px 1.5rem; /* Aumentato leggermente il padding per farlo sembrare un tasto */
    clear: both;
    font-weight: 700;
    text-align: center; /* Centrato per estetica */
    white-space: nowrap;
    border: 0;
    
    /* Colori richiesti */
    background-color: #000000 !important; 
    color: #ffffff !important;
    
    /* Transizione morbida */
    transition: background-color 0.3s ease;
    text-decoration: none;
}

/* Effetto al passaggio del mouse */
.dropdown-menu .view-all-link a:hover {
    background-color: #333333 !important; /* Grigio scuro al passaggio */
    color: #ffffff !important;
}

/* Rimuove eventuali margini strani del list item */
li.view-all-link {
    margin-bottom: 0;
}


.page-links {
  margin-top: 30px;
  text-align: center;
  font-weight: bold;
}

.page-links a,
.page-links span {
  margin: 0 5px;
  padding: 6px 10px;
  text-decoration: none;
}

.page-links .current {
  background: #000;
  color: #fff;
}