.live-toggle__buttons {
    width: fit-content;
    margin-left: auto;
}
.live-toggle__button {
    padding: 5px 15px;
    background: #fafafa;
    cursor: pointer;
    border-radius: 0;
}
.live-toggle__button.active {
    background-color: #DC0510;
    color: #fff;
}
.u-hide-visually {
    display: none;
}
.cnt ul {
    padding: 0!important;
}
.cnt .hdcarousel li {
    padding: 0;
    list-style: none;
    border-top: none;
    position: relative;
}
.cnt li {
    padding: 0!important;
    border-top: 0!important;
}
.cnt li:last-child {
    border-bottom: 0!important;
}
.col-right {
    display: none;
    width: 300px;
    height: 600px;
}
.live-article-wrapper {
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    width: 100%;
    margin-top: 15px;
}
.hdcarousel {
    position: relative;
    overflow-x: scroll;
    padding: 0;
}
.hdcarousel_wrapper {
    background: #f4f4f4;
    padding: 25px;
}
.hdcarousel_wrapper .ex-h4 {
    margin-bottom: .51rem;
    padding: 0;
    margin-top: 0;
    font-weight: 600;
    display: inline-block;
    text-transform: uppercase;
}
.hdcarousel_item_active {
    background: #DC0510;
}
.hdcarousel {
    gap: 10px;
}
.hdcarousel, .hdcarousel_nav {
    display: flex;
}

.hdcarousel_nav {
    justify-content: space-between;
}

.hdcarousel {
    position: relative;
    overflow: scroll;  /* ascunde overflow-ul pe X */
    list-style: none;
}
.event-item::before {
    content: '';
    display: block;
    position: absolute;
    border-top: 1px solid #ccc;
    left: 0;
    right: 0;
    top: 6px;
    width: 120%;
}
.event-link::before {
    content: '';
    display: block;
    position: relative;
    height: 13px;
    width: 13px;
    background-color: #DC0510;
    margin-bottom: 4px;
    z-index: 2;
}
.event-date {
    font-size: .9rem;
    color: #000;
    font-weight: 600;
}
.event-desc {
    font-size: .9rem;
}
.hdcarousel_track {
    display: flex;
}
.hdcarousel_item {
    transition: background 300ms ease, transform 800ms ease-in-out;
    min-width: 140px;
}
.hdcarousel_nav {
    display: none;
}
.hdcarousel_nav_item.is-disabled {
    opacity: 0.4;
    pointer-events: none;
}
.hdcarousel_nav_item {
    display: flex;
    justify-content: space-between;
}
.hdcarousel_nav_item {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    border: none;
    cursor: pointer;
    height: 30px;
    min-height: 30px;
    width: 30px;
    margin-top: 10px;
    background-color: #707070;
    border-radius: 0;
}
.live-article-wrapper .col-left,
.live-article-wrapper .col-right {
    width: 100%;
}

/* LIST POST CSS */
.list-post {
    display: flex;
    margin: 0 auto;
    flex-direction: column;
    gap: 1rem;
}
.post-header {
    position: relative;
    padding: 20px 0;
}
.post-header span:first-child{
    font-weight: 600;
}
.post-container {
    display: flex;
    flex-direction: column;
    position: relative;
}
.pinned-post.post-container::after {
    content: "";
    position: absolute;
    top: 3px;
    left: 15px;
    width: 20px;
    height: 20px;
    background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='19.124' height='22.19' viewBox='0 0 19.124 22.19'><path d='M36.843,19.534c-.105-.053-.375-.278-.375-.39V13.922H29.7v-.87a2.655,2.655,0,0,1,.353-.908,5.572,5.572,0,0,1,2.693-1.853l.893-7.053c0-.06.03-.173-.023-.21a5.37,5.37,0,0,0-.57-.165c-.66-.233-2.011-.818-2.011-1.673V.5H43.01v.69c0,.848-1.343,1.441-2.011,1.673a5.37,5.37,0,0,0-.57.165c-.075.053-.015.15-.023.21l.893,7.053a5.572,5.572,0,0,1,2.693,1.853c.608.953.353.69.353.908v.87H37.578v5.222c0,.113-.27.338-.375.39h-.36Z' transform='matrix(0.966, 0.259, -0.259, 0.966, -23.632, -8.17)' fill='%23fff'/></svg>") no-repeat center / contain;
}
.pinned-post .post-content {
    position: relative;
    border-top: 25px solid #e30613;
    border-left: 1px solid #e30613;
    border-right: 1px solid #e30613;
    border-bottom: 1px solid transparent;
}
.post-container:not(.pinned-post) .post-content {
    border-top: 5px solid #e30613;
}
.pinned-post .post-content::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 20px;
    height: 1px;
    box-shadow: 0 1px 0 0 #e30613;
}
.pinned-post .post-content::after {
    content: "";
    position: absolute;
    bottom: 0;
    right: 0;
    width: 20px;
    height: 1px;
    box-shadow: 0 1px 0 0 #e30613;
}
.post-content {
    background: #fafafa;
    padding: 20px 15px;
}
.post-share-links {
    margin-top: 20px;
}
.list-post h2 {
    padding: 0;
}
/* poll-post */
.poll-post::before {
    content: url("/templates/default/images-21/poll.svg");
    width: 32px;
    height: 30px;
    position: absolute;
}
.video-post::before {
    content: url("/templates/default/images-21/video-post.svg");
    width: 31px;
    height: 21px;
    position: absolute;
}
.gallery-post::before {
    content: url("/templates/default/images-21/gallery-post.svg");
    width: 31px;
    height: 27px;
    position: absolute;
}
.image-post::before {
    content: url("/templates/default/images-21/image-post.svg");
    width: 28px;
    height: 24px;
    position: absolute;
}
    /* SHARE SM */
.buttons .buttons__ctas {
    display: none;
}
.buttons.buttons--active .buttons__ctas  {
    display: flex;
    gap: 10px;
}
.buttons.buttons--active {
    display: flex;
}
.buttons__toggle {
    margin-left: 10px;
    background: transparent;
    margin-bottom: 2px;
    cursor: pointer;
}
.buttons {
    display: flex;
    justify-content: end;
}
/* GALLERY POST */
.gallery {
    max-width: 640px;
    display: flex;
    gap: 16px;
    margin: 0;
    list-style: none;
    overflow-x: auto;
    overflow-y: hidden;
    margin-bottom: 20px;
}
.gallery .galerie_li {
    list-style: none;
    flex: 0 0 90%;
}
.gallery .thumb-wrap {
    display: block;
    width: 100%;
    height: 0;
    padding-bottom: 68%;
    position: relative;
    overflow: hidden;
}
.gallery .thumb-wrap img {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
    -o-object-position: top;
    object-position: center;
}
.post-content iframe {
    width: 100%;
    margin-top: 20px;
    background-color: #fff;
}
/* POSTS LABELS */
.video-label .thumb-wrap {
    position: relative;
}
.video-label .thumb-wrap::after {
    content: url("/templates/default/images-21/video-icon-red.svg");
    position: absolute;
    width: 50px;
    height: 50px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
/* BREAKINGNEWS */
.breakingnews-post .post-content {
    background: #FFF200;
}
.breakingnews-post::before {
    content: url("/templates/default/images-21/breakingnews.svg");
    width: 43px;
    height: 27px;
    position: absolute;
}
/* POLL EVENT */
.poll-post .live-poll .poll-options {
    padding: 20px 0;
}
.poll-post .live-poll .poll-option-wrapper {
    min-height: 45px;
    background-color: #fff;
    position: relative;
    margin-top: 0;
    padding-left: 50px;
    line-height: 6px;
    cursor: pointer;
    line-height: 6px;
}
.poll-post .live-poll .poll-option-wrapper:first-child {
    margin-bottom: 5px;
}
.poll-post .live-poll .poll-checkbox {
    width: 40px;
    background: #dbdbdb url(/templates/default/images/checkbox.svg) no-repeat center;
    background-size: contain;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    cursor: pointer;
}
.poll-post .live-poll .poll-option-text {
    cursor: pointer;
    position: relative;
}
.poll-post .live-poll .poll-option-percent {
    background-color: #da0f10;
    position: absolute;
    bottom: 0;
    height: 5px;
    border-radius: 50px;
    left: -5px;
}
.poll-post .live-poll .votes-no {
    font-size: 17px;
    margin-right: 10px;
}
.poll-post .live-poll input[type=submit] {
    background-color: #dc0510;
    font-size: 14px;
    padding: 10px 30px;
    border: 0;
    text-transform: uppercase;
    cursor: pointer;
    color: #fff;
    display: inline-block;
    border-radius: 0;
}
.poll-post .live-poll p {
    padding: 0;
    position: relative;
    z-index: 1;
}
.live-poll .poll-option-wrapper input:checked+.poll-option-label .poll-checkbox {
    background-color: #dc0510;
}
.post-detail {
    display: flex;
    font-weight: 600;
    gap: 5px;
}
.hour-update {
    font-size: 14px;
    margin-bottom: .5rem;
    display: inline-block;
}
.breakingnews-post::before,
.poll-post::before,
.video-post::before,
.gallery-post::before,
.image-post::before {
    top: 20px;
    right: 15px;
}
.btn-load-more {
    display: block;
    margin: 15px auto 0;
    background: none;
    cursor: pointer;
    font-weight: bold;
}
.square-brackets {
    position: relative;
    padding: 10px 30px;
}
.square-brackets:before {
    content: " ";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    border-left: 7px solid #da0f10;
    border-top: 7px solid #da0f10;
    border-bottom: 7px solid #da0f10;
    padding: 0 5px;
}
.square-brackets:after {
    content:" ";
    padding: 0 5px;
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    border-right: 7px solid #da0f10;
    border-top: 7px solid #da0f10;
    border-bottom: 7px solid #da0f10;
}
@media (min-width: 980px) {
    .post-detail {
        flex-direction: column;
        font-weight: normal;
        gap: unset;
    }
    .hdcarousel_item {
        min-width: unset;
    }
    .pinned-post.post-container::after {
        left: 35px;
    }
    .post-content {
        padding: 20px 35px;
        min-width: 675px;
        width: 100%;
    }
    .poll-post .live-poll {
        min-width: 640px;
    }
    .breakingnews-post::before,
    .poll-post::before,
    .video-post::before,
    .gallery-post::before,
    .image-post::before {
        top: 40px;
        left: -60px;
    }
    .post-header {
        padding-top: 50px;
        padding: 20px;
    }
    .post-container {
        flex-direction: unset;
    }
    .sticky-ad {
        position: sticky;
        top: 0;
    }
    .hdcarousel {
        overflow-x: clip;
        overflow-y: hidden;
    }
    .live-article-wrapper {
        flex-direction: row;
    }
    .live-article-wrapper.align-center {
        justify-content: center;
    }
    .live-article-wrapper .col-left {
        width: 70%;
    }
    .live-article-wrapper .col-right {
        max-width: 300px;
        display: block;
    }
    .hdcarousel_nav {
        display: flex;
        justify-content: space-between;
    }
    .event-link:hover::before {
        background: #161616;
    }
    .event-link:hover .event-desc {
        text-decoration: underline;
    }
}
.hidden-event {
    display: none;
}

.fade-in {
    display: block;
    animation: fadeIn 0.5s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}