/* =========================================================
   Transfermarkt.in - Stile "card" SOLO per la sezione articoli
   Si applica unicamente alle pagine che hanno il suffisso
   classe " tm-news" impostato sulla voce di menu.
   Il resto del sito NON viene toccato.
   ========================================================= */

/* ---------- CARD ---------- */
.tm-news .items-leading > div,
.tm-news .items-row .item,
.item-page.tm-news {
  background: #ffffff;
  border: 1px solid #dfe3ea;
  border-radius: 6px;
  box-shadow: 0 2px 10px rgba(11, 31, 77, 0.08);
  margin-bottom: 24px;
  padding: 0 16px 16px;
  overflow: hidden;
  transition: box-shadow .2s ease, transform .2s ease;
}
.tm-news .items-leading > div:hover,
.tm-news .items-row .item:hover {
  box-shadow: 0 6px 18px rgba(11, 31, 77, 0.18);
  transform: translateY(-2px);
}

/* ---------- BARRA DEL TITOLO ARTICOLO ---------- */
.tm-news .items-leading .page-header,
.tm-news .items-row .page-header,
.item-page.tm-news .page-header {
  background: #0b1f4d;
  border-left: 6px solid #e30613;
  border-bottom: 0;
  margin: 0 -16px 14px;
  padding: 12px 16px;
}
.tm-news .page-header h2 {
  margin: 0;
  font-size: 19px;
  line-height: 1.3;
  font-weight: 700;
  text-transform: uppercase;
  color: #ffffff;
}
.tm-news .page-header h2 a {
  color: #ffffff;
  text-decoration: none;
}
.tm-news .page-header h2 a:hover {
  color: #ff5a5f;
}

/* ---------- INFO ARTICOLO ---------- */
.tm-news dl.article-info {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 16px;
  margin: 0 0 14px;
  font-size: 12px;
  color: #6b7280;
}
.tm-news dl.article-info dt.article-info-term {
  display: none; /* nasconde la scritta "Dettagli" */
}
.tm-news dl.article-info dd {
  margin: 0;
}
.tm-news dl.article-info a {
  color: #e30613;
  font-weight: 600;
}
.tm-news .icons {
  float: right;
  margin-top: -6px;
}

/* ---------- IMMAGINE INTRODUTTIVA ---------- */
.tm-news .item-image {
  float: left;
  max-width: 40%;
  margin: 0 16px 10px 0;
  border-radius: 4px;
  overflow: hidden;
}
.tm-news .item-image img {
  display: block;
  width: 100%;
  height: auto;
}

/* ---------- PULSANTE "LEGGI TUTTO" ---------- */
.tm-news .readmore {
  clear: both;
  margin: 12px 0 0;
}
.tm-news .readmore .btn {
  background: #e30613;
  border: 0;
  border-radius: 4px;
  color: #ffffff;
  font-weight: 600;
  padding: 8px 16px;
  text-shadow: none;
  box-shadow: none;
}
.tm-news .readmore .btn:hover {
  background: #0b1f4d;
  color: #ffffff;
}

/* ---------- MOBILE ---------- */
@media (max-width: 767px) {
  .tm-news .item-image {
    float: none;
    max-width: 100%;
    margin: 0 0 12px;
  }
  .tm-news .page-header h2 {
    font-size: 16px;
  }
}