/* LiveScore Block — Job 100950
   Scoped to #livescore-block for specificity over Bootstrap 5 and site CSS */

/* Block container */
#livescore-block.livescore-block {
    width: 100%;
    border-bottom: 3px solid #016543;
    margin-block: 20px;
    background: #fff;
}

/* Header bar — green label + gold status */
#livescore-block .livescore-header {
    display: flex;
    align-items: stretch;
    width: 100%;
    min-height: 36px;
}

#livescore-block .livescore-label {
    display: inline-flex;
    align-items: center;
    background: #016543;
    color: #fff;
    font-family: 'gill_semibold', 'gill_book', 'Gill Sans', sans-serif;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    padding: 6px 16px;
    white-space: nowrap;
}

#livescore-block .livescore-status {
    display: inline-flex;
    align-items: center;
    flex: 1;
    background: #85764F;
    color: #fff;
    font-family: 'gill_book', 'Gill Sans', sans-serif;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    padding: 6px 16px;
}

/* Body — crests + result string */
#livescore-block .livescore-body {
    display: flex;
    align-items: center;
    padding: 16px 20px;
    gap: 16px;
}

#livescore-block .livescore-body .team-img.crest-sm {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
}

#livescore-block .livescore-result {
    font-size: 26px;
    color: #333;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.2;
    text-wrap: balance;
}

/* Responsive */
@media (max-width: 767px) {
    #livescore-block .livescore-result { font-size: 20px; }
    #livescore-block .livescore-body { padding: 12px 14px; gap: 10px; }
    #livescore-block .livescore-body .team-img.crest-sm { width: 44px; height: 44px; }
}

@media (max-width: 480px) {
    #livescore-block .livescore-result { font-size: 16px; }
    #livescore-block .livescore-body .team-img.crest-sm { width: 36px; height: 36px; }
}

/* Hidden state */
#livescore-block.livescore-block.hidden { display: none; }
