/* Live Text v3 */
.live-sport-v3 {
    --live-green: #04db3b;
    --live-text: #111;
    --live-muted: #8a8f98;
    --live-line: #dedee2;
    --live-surface: #f4f4f4;
    width: 100%;
    max-width: 930px;
    margin: 30px auto;
    border: 1px solid #d3d3d3;
    box-sizing: border-box;
    color: var(--live-text);
    background: #fff;
}

.live-sport-v3 *,
.live-sport-v3 *::before,
.live-sport-v3 *::after {
    box-sizing: border-box;
}

.live-score {
    padding: 15px 20px;
    text-align: center;
    background: var(--live-surface);
}

.live-score__date,
.live-score__referee {
    display: block;
    margin: 0;
    color: var(--live-muted);
    font-size: 14px;
}

.live-score__teams {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    gap: 20px;
    margin: 15px 0;
}

.live-team {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.live-team__logo {
    display: block;
    width: 100px;
    height: 100px;
    padding: 8px;
    border: 8px solid #dedede;
    border-radius: 50%;
    object-fit: contain;
    background: #fff;
}

.live-team__name {
    font-weight: 800;
    overflow-wrap: anywhere;
}

.live-score__result {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 20px;
    color: #fff;
    background: var(--live-green);
    font-size: clamp(24px, 4vw, 40px);
    font-weight: 800;
    white-space: nowrap;
}

.live-block {
    width: 100%;
}

.live-block__title {
    margin: 28px 15px;
    text-align: center;
    font-size: clamp(22px, 3vw, 30px);
    font-weight: 700;
    text-transform: uppercase;
}

.live-video .live-block__title {
    text-transform: none;
    font-weight: 500;
}

.live-block__title--green {
    color: var(--live-green);
}

.live-video__frame,
.live-video__frame iframe,
.live-video__frame video {
    width: 100%;
    max-width: 100%;
}

.live-summary {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 9px;
    padding: 0 20px 25px;
}

.live-event-link {
    color: inherit;
    text-decoration: none;
    font-size: 15px;
}

.article-text .live-event-link:hover {
    color: var(--live-green);
	border:0
}

.live-sport-v3 .vertical-timeline.live-timeline__scroll {
    position: relative;
    display: block;
    width: 100%;
    height: auto;
    max-height: 600px;
    overflow-y: auto;
    overflow-x: hidden;
    border-top: 1px solid #d3d3d3;
    border-bottom: 1px solid #d3d3d3;
    box-shadow: inset 0 4px 8px rgb(0 0 0 / 10%);
    scrollbar-color: var(--live-green) transparent;
    scrollbar-width: thin;
}

.live-sport-v3 .live-timeline__container {
    position: relative;
    display: block;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
}

.live-sport-v3 .live-timeline__list {
    position: relative;
    margin: 0;
    padding: 25px 25px 25px 110px;
    list-style: none;
}

.live-sport-v3 .live-timeline__list::before {
    content: "";
    position: absolute;
    top: 25px;
    bottom: 25px;
    left: 75px;
    border-left: 1px dashed rgb(15 15 15 / 60%);
}

.live-sport-v3 .live-timeline__item.timeline-box {
    position: relative;
    width: auto;
    max-width: none;
    margin: 25px 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    letter-spacing: normal;
    box-shadow: none;
}

.live-timeline__minute {
    position: absolute;
    top: 2px;
    right: calc(100% + 54px);
    width: 55px;
    text-align: right;
    font-weight: 700;
    white-space: nowrap;
}

.live-timeline__marker {
    position: absolute;
    top: 0;
    right: calc(100% + 22px);
    width: 25px;
    height: 25px;
    border-radius: 50%;
    background-color: #fff;
    background-position: center;
    background-size: contain;
}

.live-timeline__card {
    padding: 18px 20px;
    border-radius: 5px;
    box-shadow: 0 7px 29px rgb(100 100 111 / 20%);
}

.article-text .live-timeline__card h3 {
    margin: 0;
    color: var(--live-green);
    font-size: 20px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.live-timeline__details {
    color: rgb(15 15 15 / 65%);
}

.live-timeline__details > :first-child {
    margin-top: 0;
}

.live-timeline__details > :last-child {
    margin-bottom: 0;
}

.article-text .live-timeline__details img,
.article-text live-timeline__details iframe,
.article-text .live-timeline__details video {
    max-width: 100%;
    height: auto;
	margin: 0
}

.live-lineup__team-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    min-height: 60px;
    padding: 10px 20px;
    background: var(--live-surface);
}

.live-lineup__team {
    display: flex;
    align-items: center;
    gap: 10px;
}

.live-lineup__logo,
.live-reserves__logo {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.live-pitch {
    position: relative;
    width: 100%;
    aspect-ratio: 930 / 1022;
    overflow: hidden;
    background: #267b24 url("../img/tricou/teren-2.png") center / 100% 100% no-repeat;
}

.live-player {
    position: absolute;
    z-index: 1;
    top: var(--player-y);
    left: var(--player-x);
    display: flex;
    width: 84px;
    min-height: 70px;
    padding-top: 27px;
    transform: translate(-50%, -50%);
    flex-direction: column;
    align-items: center;
    color: #fff;
    text-align: center;
    background-position: top center;
    background-repeat: no-repeat;
    background-size: 58px auto;
    text-shadow: 0 1px 2px #000;
}

.live-player__number {
    font-size: 25px;
    font-weight: 900;
    line-height: 1;
}

.live-player__name {
    margin-top: 4px;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.1;
    overflow-wrap: anywhere;
}

.shirt-gri { background-image: url("../img/tricou/t-shirt-gri.png"); }
.shirt-mov { background-image: url("../img/tricou/t-shirt-mov.png"); }
.shirt-portocaliu { background-image: url("../img/tricou/t-shirt-portocaliu.png"); }
.shirt-verde { background-image: url("../img/tricou/t-shirt-verde.png"); }
.shirt-albastru { background-image: url("../img/tricou/t-shirt-albastru.png"); }
.shirt-galben { background-image: url("../img/tricou/t-shirt-galben.png"); }
.shirt-negru { background-image: url("../img/tricou/t-shirt-negru.png"); }
.shirt-alb { background-image: url("../img/tricou/t-shirt-alb.png"); }
.shirt-rosu { background-image: url("../img/tricou/t-shirt-rosu.png"); }

.live-reserves {
    padding-bottom: 30px;
}

.live-reserves__columns {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px;
    padding: 0 20px;
}

.live-reserves__team:last-child {
    text-align: right;
}

.live-reserves__team > strong {
    display: block;
    margin: 6px 0 12px;
}

.live-reserves__team:last-child .live-reserves__logo {
    margin-left: auto;
}

.live-reserves__team ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.live-reserves__team li {
    margin: 7px 0;
}

.live-stats__table {
    margin: 0;
    background: var(--live-surface);
}

.live-stats__row {
    display: grid;
    grid-template-columns: 1fr minmax(160px, 2fr) 1fr;
    align-items: center;
    gap: 10px;
    min-height: 42px;
    padding: 8px 30px;
    border-bottom: 1px solid var(--live-line);
    text-align: center;
}

.live-stats__row dt {
    font-weight: 700;
}

.live-stats__row dd {
    margin: 0;
}

.live-stats__row dd:first-child {
    text-align: left;
}

.live-stats__row dd:last-child {
    text-align: right;
}

.event-icon {
    --event-image: url("../img/icons/alt-eveniment.png");
    background-image: var(--event-image);
    background-repeat: no-repeat;
}

.live-event-link.event-icon {
    padding-left: 27px;
    background-position: left center;
    background-size: 18px;
}

.event-icon--start-repriza { --event-image: url("../img/icons/start-repriza.png"); }
.event-icon--final-repriza { --event-image: url("../img/icons/final-repriza.png"); }
.event-icon--ocazie { --event-image: url("../img/icons/ocazie.png"); }
.event-icon--video { --event-image: url("../img/icons/video.png"); }
.event-icon--cartonas-galben { --event-image: url("../img/icons/cartonas-galben.png"); }
.event-icon--cartonas-rosu { --event-image: url("../img/icons/cartonas-rosu.png"); }
.event-icon--gol { --event-image: url("../img/icons/gol.png"); }
.event-icon--schimbare { --event-image: url("../img/icons/schimbare.png"); }
.event-icon--offside { --event-image: url("../img/icons/offside.png"); }
.event-icon--corner { --event-image: url("../img/icons/corner.png"); }
.event-icon--sut-pe-poarta { --event-image: url("../img/icons/sut-pe-poarta.png"); }
.event-icon--prelungiri { --event-image: url("../img/icons/prelungiri.png"); }
.event-icon--aruncare-de-la-margine { --event-image: url("../img/icons/aruncare-de-la-margine.png"); }
.event-icon--alt-eveniment { --event-image: url("../img/icons/alt-eveniment.png"); }
.event-icon--start-repriza-prelungiri { --event-image: url("../img/icons/start-repriza-prelungiri.png"); }
.event-icon--final-repriza-prelungiri { --event-image: url("../img/icons/final-repriza-prelungiri.png"); }

@media (max-width: 600px) {
    .live-sport-v3 {
        margin: 20px 0;
    }

    .live-score {
        padding-inline: 10px;
    }

    .live-score__teams {
        gap: 8px;
    }

    .live-team__logo {
        width: 62px;
        height: 62px;
        padding: 5px;
        border-width: 5px;
    }

    .live-team__name {
        font-size: 13px;
    }

    .live-score__result {
        gap: 6px;
        padding: 16px 12px;
    }

    .live-block__title {
        margin-block: 24px;
    }

    .live-summary {
        align-items: flex-start;
        padding-inline: 30px;
    }

    .live-sport-v3 .live-timeline__list {
        padding: 15px 12px 15px 72px;
    }

    .live-sport-v3 .live-timeline__list::before {
        top: 15px;
        bottom: 15px;
        left: 45px;
    }

    .live-timeline__minute {
        right: calc(100% + 38px);
        width: 42px;
        font-size: 12px;
    }

    .live-timeline__marker {
        right: calc(100% + 15px);
        width: 21px;
        height: 21px;
    }

    .live-timeline__card {
        padding: 15px 12px;
    }

    .live-timeline__card h3 {
        font-size: 16px;
    }

    .live-player {
        width: 58px;
        min-height: 52px;
        padding-top: 20px;
        background-size: 44px auto;
    }

    .live-player__number {
        font-size: 17px;
    }

    .live-player__name {
        font-size: 10px;
    }

    .live-lineup__team-bar {
        min-height: 50px;
        padding: 8px 12px;
        font-size: 13px;
    }

    .live-reserves__columns {
        gap: 15px;
        padding-inline: 12px;
        font-size: 13px;
    }

    .live-stats__row {
        grid-template-columns: 1fr minmax(130px, 2fr) 1fr;
        gap: 5px;
        padding: 8px 12px;
        font-size: 12px;
    }
}