.brxe-news {
    --clr-1: #68b85c;
}

.brxe-news .news-tabs {
    display: flex;
    gap: clamp(40px, 5vw, 72px);
    align-items: stretch;
}

.brxe-news .tab-contents,
.brxe-news .tab-buttons {
    width: 50%;
}

.brxe-news .tab-btn {
    position: relative;
    display: flex;
    flex-direction: column;
    row-gap: 8px;
    padding-block: 28px 30px;
    border-bottom: 1px solid #f5f5f5;
    width: 100%;
}

.brxe-news .tab-btn:first-child {
    padding-top: 0;
}

.brxe-news .tab-btn::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--clr-1);
    transition: width 0.56s ease-in-out;
}

.brxe-news .tab-btn:hover::after {
    width: 100%;
}

.brxe-news .tab-btn span {
    font-size: 20px;
    color: #999999;
}

.brxe-news .tab-btn a {
    font-size: 28px;
    text-shadow: 0 0 1px currentColor;

    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    max-height: 68px;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: all .3s ease-in-out;
}

.brxe-news .tab-btn:hover a {
    color: var(--clr-1);
}

.brxe-news .tab-contents {
    position: relative;
}

.brxe-news .tab-content {
    /* display: none; */
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 20px;
    z-index: 0;
}

.brxe-news .tab-content.active {
    /* display: block; */
    opacity: 1;
    position: relative;
    z-index: 2;
}

.brxe-news .tab-content img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity .3s ease-in-out, transform .6s ease-in-out;
}

.brxe-news .tab-content:hover img {
    transform: scale(1.1);
}

.brxe-news .tab-content.active img {
    opacity: 1;
}

@media (max-width: 1440px) {
    .brxe-news .tab-btn {
        padding-block: 23px 20px;
    }
}

@media (max-width: 1366px) {
    .brxe-news .tab-btn {
        padding-block: 20px;
    }

    .brxe-news .tab-btn a {
        font-size: 22px;
        max-height: 52px;
    }
}

@media (max-width: 1024px) {
    .brxe-news .tab-btn span {
        font-size: 15px;
    }    
}

@media (max-width: 767px) {
    .brxe-news .news-tabs {
        flex-direction: column;
    }

    .brxe-news .tab-contents,
    .brxe-news .tab-buttons {
        width: 100%;
    }

    .brxe-news .tab-content img {
        aspect-ratio: 14/9;
        transform: scale(1) !important;
    }
}