/* Board 35 – News-Ansicht: Center-Spalte auf 100% Breite bringen */

/* Center-Column (column2) im EzPortal auf volle Breite */
body.board_35 #column2 {
    flex: 0 0 100% !important;   /* Flex-Basis überschreibt inline flex:1 68% */
    max-width: 100% !important;
    width: 100% !important;
}

/* Sicherheitshalber: Inhalt in column2 nicht zusätzlich einschränken */
body.board_35 #column2 #display_head,
body.board_35 #column2 #forumposts {
    max-width: 100% !important;
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

/* ============================================
   Spielerprofil – Layout & Typografie
   ============================================ */

/* Gesamter Wrapper der Spielerkarte */
.bb-player-wrapper {
    max-width: 1120px;
    margin: 32px auto 72px;
    padding: 0 16px;
}

/* Hauptkarte */
.bb-player-card {
    background: linear-gradient(135deg, #041837, #072655);
    border-radius: 18px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.55);
    padding: 24px 28px 28px;
    color: #f9fbff;
    min-height: 320px;
}

/* Kopfbereich: Bild links, Infos rechts */
.bb-player-header {
    display: flex;
    gap: 24px;
    align-items: flex-start;
    margin-bottom: 20px;
}

/* Spielerbild oder Teamlogo */
.bb-player-photo {
    flex: 0 0 220px;
}

.bb-player-photo img {
    display: block;
    width: 220px;
    height: 220px;
    object-fit: cover;
    border-radius: 14px;
    background: #ffffff;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.6);
}

/* Textblock rechts neben dem Bild */
.bb-player-main {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

/* Name */
.bb-player-name {
    font-size: 30px;
    line-height: 1.2;
    font-weight: 600;
    color: #ffffff;
}

/* Zeile mit Position & Verein */
.bb-player-meta-line {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.9);
    margin-top: 2px;
}

/* Kleine Badges (Nationalität, Alter etc.) */
.bb-player-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.bb-player-badge {
    font-size: 13px;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(6, 35, 90, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* Flaggen-Bild im Badge */
.bb-player-badge .bb-flag {
    width: 18px;
    height: 12px;
    border-radius: 2px;
    object-fit: cover;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.4);
}

/* Button zur Teamseite rechts oben ausrichten */
.bb-player-header-top {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.bb-player-header-top-main {
    flex: 1;
}

.bb-player-team-link {
    margin-left: auto;
    white-space: nowrap;
}

/* Steckbrief-Tabelle */
.bb-player-sections {
    margin-top: 12px;
}

.bb-player-section-title {
    font-size: 14px;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 8px;
}

.bb-player-facts {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.bb-player-facts th,
.bb-player-facts td {
    padding: 6px 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.bb-player-facts th {
    font-weight: 600;
    color: rgba(255, 255, 255, 0.92);
    width: 180px;
}

.bb-player-facts td {
    color: rgba(255, 255, 255, 0.9);
}

/* Beschreibung */
.bb-player-description {
    margin-top: 16px;
    font-size: 14px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.9);
}

/* Fehler-Link unten rechts im Kasten */
.bb-player-error-link-row {
    margin-top: 10px;
    text-align: right;
    font-size: 13px;
}

.bb-player-error-link-row a {
    color: #f4b44c;
    text-decoration: none;
}

.bb-player-error-link-row a:hover {
    text-decoration: underline;
}

/* Mobile-Anpassungen */
@media (max-width: 900px) {
    .bb-player-card {
        padding: 18px 18px 24px;
    }

    .bb-player-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .bb-player-photo {
        flex: 0 0 auto;
    }

    .bb-player-photo img {
        width: 180px;
        height: 180px;
    }

    .bb-player-name {
        font-size: 24px;
    }

    .bb-player-facts th {
        width: 130px;
    }
}

/* Extra: Seite optisch „länger“ machen, damit es nicht abgehackt wirkt */
body.action_player {
    padding-bottom: 80px;
}

