/* Tipografia compatta e indipendente dai titoli H3 del tema WordPress. */
.nw-youth-list {
    list-style: none !important;
    margin: 0 0 16px !important;
    padding: 0 !important;
}
.nw-youth-list__item {
    list-style: none !important;
    margin: 0 0 4px !important;
    padding: 0 !important;
}
.nw-youth-list__name {
    margin: 0 !important;
    padding: 0 !important;
    display: block;
    font-family: inherit;
    font-size: 14px !important;
    font-weight: 400 !important;
    line-height: 1.4 !important;
    letter-spacing: normal !important;
    text-transform: none !important;
    overflow-wrap: anywhere;
}
.nw-youth-list--two-columns {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 30px;
}
@media (max-width: 700px) {
    .nw-youth-list--two-columns { grid-template-columns: 1fr; }
}

/* Layout completo: due colonne, calciatrici accanto allo staff. */
.nw-youth-section { margin-bottom: 36px; }
.nw-youth-section__title { margin: 0 0 18px; font-size: 24px !important; line-height: 1.3 !important; }
/* Modalità verticale di compatibilità, selezionabile con layout="elenchi". */
.nw-youth-section__title--staff { margin-top: 30px; }
.nw-youth-section__columns {
    display: grid;
    grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr);
    gap: clamp(22px, 4vw, 64px);
    align-items: start;
}
.nw-youth-section__players,
.nw-youth-section__staff { min-width: 0; }
.nw-youth-section__group-title {
    margin: 0 0 12px;
    padding: 0 0 8px;
    border-bottom: 1px solid #dde2eb;
    font-size: 16px !important;
    line-height: 1.3;
    font-weight: 700;
}
.nw-youth-section__columns .nw-youth-list__name { font-size: 14px !important; }
@media (max-width: 760px) {
    .nw-youth-section__columns { grid-template-columns: minmax(0, 1fr); gap: 22px; }
    .nw-youth-section__staff { margin-top: 6px; }
    .nw-youth-list__name,
    .nw-youth-section__columns .nw-youth-list__name { font-size: 13px !important; }
}

/* Tabella unica: quattro categorie e rispettivi staff, con lo stesso shortcode. */
.nw-youth-table-wrap {
    max-width: 100%;
    overflow-x: auto;
    margin: 0 0 32px;
    -webkit-overflow-scrolling: touch;
}
.nw-youth-table {
    width: 100%;
    border-collapse: collapse;
    border-spacing: 0;
    text-align: left;
    line-height: 1.4;
    font-size: 14px !important;
    min-width: 680px;
}
.nw-youth-table th,
.nw-youth-table td {
    padding: 7px 10px;
    font-size: 14px !important;
    vertical-align: top;
    text-align: left;
}
.nw-youth-table thead th {
    background: #f4f6f9;
    font-size: 14px !important;
    border-bottom: 1px solid #dfe5ed;
}
.nw-youth-table--side-by-side th:nth-child(1) { width: 40%; }
.nw-youth-table--side-by-side th:nth-child(2) { width: 11%; }
.nw-youth-table--side-by-side th:nth-child(3) { width: 27%; }
.nw-youth-table--side-by-side th:nth-child(4) { width: 22%; }
.nw-youth-table__category th {
    padding-top: 27px;
    padding-bottom: 12px;
    border-bottom: 2px solid #273b61;
    font-size: 20px !important;
    font-weight: 700;
}
.nw-youth-table__group th {
    background: #f7f8fa;
    padding-top: 14px;
    padding-bottom: 14px;
    font-weight: 700;
}
.nw-youth-table__person td {
    border-bottom: 1px solid #e9edf2;
}
.nw-youth-table__person td:first-child { font-weight: 500; }
.nw-youth-table__detail { overflow-wrap: anywhere; }
@media (max-width: 600px) {
    .nw-youth-table th, .nw-youth-table td { padding: 9px 8px; }
    .nw-youth-table { font-size: 13px !important; }
    .nw-youth-table th, .nw-youth-table td { font-size: 13px !important; }
.nw-youth-table__category th { font-size: 18px !important; }
}
