/* --- SUPER AGGRESSIVE FIX FOR LARGE LOGOS --- */

/* Target every image inside our widget with absolute priority */
div.nplsp-last-matches-wrap div.nplsp-matches-list a.nplsp-match-card-link div.nplsp-match-card-item div.nplsp-match-teams-row div.team div.nplsp-logo-inner img,
div.nplsp-last-matches-wrap img,
.nplsp-last-matches-wrap .team img,
.nplsp-logo-inner img {
    width: 32px !important;
    height: 32px !important;
    max-width: 32px !important;
    max-height: 32px !important;
    min-width: 32px !important;
    min-height: 32px !important;
    object-fit: contain !important;
    display: block !important;
    margin: 0 auto !important;
    padding: 0 !important;
    border: none !important;
    box-shadow: none !important;
    transform: none !important;
}

/* Constrain the container of the logo as well */
.nplsp-logo-inner {
    width: 32px !important;
    height: 32px !important;
    display: block !important;
    margin: 0 auto 5px auto !important;
    overflow: hidden !important;
}

/* --- REST OF THE LAYOUT --- */

.nplsp-shortcode-container.nplsp-last-matches-wrap {
    border: 1px solid #e0e0e0 !important;
    margin-bottom: 20px !important;
    background-color: #ffffff !important;
    border-radius: 4px !important;
    overflow: hidden !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.nplsp-shortcode-header {
    background-color: #0d1e3d !important;
    color: #ffffff !important;
    padding: 10px !important;
    text-align: center !important;
}

.nplsp-shortcode-header .nplsp-title {
    font-size: 14px !important;
    font-weight: 700 !important;
    margin: 0 !important;
    text-transform: uppercase !important;
    color: #ffffff !important;
}

.nplsp-match-card-link {
    display: block !important;
    text-decoration: none !important;
    color: inherit !important;
    border-bottom: 1px solid #eeeeee !important;
}

.nplsp-match-card-link:last-child { border-bottom: none !important; }
.nplsp-match-card-link:hover { background-color: #f9f9f9 !important; }

.nplsp-match-card-item { padding: 12px !important; }

.nplsp-match-info-top {
    display: flex !important;
    justify-content: space-between !important;
    font-size: 10px !important;
    color: #999 !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    margin-bottom: 8px !important;
}

.nplsp-match-info-top .league { color: #d63638 !important; }

.nplsp-match-teams-row {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    width: 100% !important;
}

.nplsp-match-teams-row .team {
    width: 35% !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
}

.nplsp-match-teams-row .team .name {
    font-size: 11px !important;
    font-weight: 700 !important;
    color: #333 !important;
    line-height: 1.2 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    width: 100% !important;
}

/* Score Box Styling */
.match-score-box {
    width: 30% !important;
    text-align: center !important;
    background: #f4f4f4 !important;
    padding: 5px 0 !important;
    border-radius: 4px !important;
}

.match-score-box .score {
    font-size: 14px !important;
    font-weight: 800 !important;
    color: #1a2c4e !important;
    display: block !important;
}

.match-score-box .status-ft {
    font-size: 9px !important;
    color: #888 !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
}