.players-detail-section {
    padding: 15px 0 0;
    margin-bottom: 0;
}

.players-detail-section .container {
    max-width: 1340px;
    padding-bottom: 0;
}

.player-detail-block.content-section {
    padding: 0;
    text-align: left;
}

.player-detail-layout {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 30px;
    min-height: 500px;
    width: 100%;
}

.player-detail-header {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 0.75rem 1rem;
    margin-bottom: 20px;
}

.player-detail-name {
    color: var(--color-yellow);
    margin: 0;
    font-size: 2.8rem;
    font-weight: bold;
}

.player-detail-nickname {
    color: rgba(255, 255, 255, 0.45);
    font-size: 1rem;
    font-style: italic;
    line-height: 1.2;
}

.player-detail-side {
    order: 2;
    width: 55%;
    max-width: 55%;
    min-width: 0;
    flex-shrink: 0;
    align-self: flex-start;
    padding-top: 30px;
}

.player-detail-text {
    padding-left: 2rem;
}

.player-detail-text p {
    color: var(--color-white);
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.player-detail-text p:last-child {
    margin-bottom: 0;
}

.player-detail-image-wrap {
    order: 1;
    height: 500px;
    width: fit-content;
    max-width: 100%;
    flex-shrink: 0;
    align-self: flex-end;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.player-detail-image {
    display: block;
    height: auto;
    max-height: 100%;
    width: auto;
    max-width: 100%;
}

.players-detail-section + .kings-container {
    margin-top: 0;
}

@media (max-width: 1100px) {
    .player-detail-layout {
        flex-direction: column;
        align-items: center;
        gap: 30px;
        min-height: auto;
    }

    .player-detail-side {
        order: 1;
        width: 100%;
        max-width: 100%;
        align-self: auto;
        padding-top: 0;
        text-align: center;
    }

    .player-detail-image-wrap {
        order: 2;
        align-self: auto;
        height: 400px;
        width: fit-content;
        max-width: 100%;
    }

    .player-detail-header {
        justify-content: center;
        text-align: center;
        width: 100%;
    }

    .player-detail-text {
        padding-left: 0;
        text-align: center;
    }

    .player-detail-name {
        font-size: 2rem;
    }

    .player-detail-nickname {
        font-size: 0.875rem;
    }

    .player-detail-text p {
        font-size: 0.95rem;
    }
}
