.content-main-add{width: 100%; display: flex; flex-direction: column; gap: 30px; z-index: 100;}

.content-main{width: 100%; display: flex; flex-direction: column; gap: 30px;}
.content-add{width: 100%; display: flex; flex-direction: column; gap: 30px;}

.content-title{
    width: 100%;
    font-family: "Mont-Bold";
    font-size: 28px;
    font-weight: normal;
}

.content-descript{
    width: 100%;
    display: flex;
    flex-direction: column;
}

.content-descript-text{
    max-height: 150px;
    height: fit-content;
    overflow: hidden;
    position: relative;
    transition: all 0.3s ease;
}

.content-descript-text.open{
    max-height: 1000px;
}

.content-descript-text.open .content-descript-overlay{
    opacity: 0;
    visibility: hidden;
}

.content-descript span{
    font-size: 16px;
    font-family: "Mont-Regular";
    color: #ADADAD;
}

.content-descript-overlay{
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background: linear-gradient(to bottom, rgba(18, 18, 18, 0) 20%, #121212 100%);
    transition: all 0.6s ease;
    pointer-events: none;
}

.content-main-part-title{font-family: "Mont-Regular";font-family: 18px; width: 100%;}

.content-main-top-matches-list{width: 100%;display: flex;flex-wrap: nowrap;overflow-x: auto;gap: 10px;scrollbar-width: none; -ms-overflow-style: none;scroll-behavior: smooth;}
.content-main-top-matches-list::-webkit-scrollbar {display: none;}

.content-main-top-matches-list-item{width: 274px;min-width: 274px;height: 176px;border-radius: 8px;background: #313131;padding: 10px;box-sizing: border-box;display: flex;flex-direction: column;align-items: center;}
.content-main-top-matches-list-item-ligue{display: flex;align-items: center;gap: 5px;width: 100%;}
.content-main-top-matches-list-item-ligue img{width: 11px;}
.content-main-top-matches-list-item-ligue span{font-size: 14px;font-family: "Mont-Regular";color: #ADADAD;}
.content-main-top-matches-list-item-command{width: 100%;display: flex;justify-content: center;gap: 10%;margin-top: 5%;}
.content-main-top-matches-list-item-command img{max-width: 50px;max-height: 50px;}
.content-main-top-matches-list-item-command-info{display: flex;flex-direction: column;align-items: center;justify-content: center;gap: 3px 0;}
.content-main-top-matches-list-item-command-info-time{font-size: 16px;font-family: "Mont-Bold";}
.content-main-top-matches-list-item-command-info-date{font-size: 14px;font-family: "Mont-Regular";color: #ADADAD;}
.content-main-top-matches-list-item-title{font-family: "Mont-Bold";font-size: 16px;width: 100%;margin-top: 5%;}
.content-main-top-matches-list-item-bet{width: 100%;display: flex;justify-content: space-between;align-items: center;margin-top: auto;}
.content-main-top-matches-list-item-bet span{font-family: "Mont-Regular";font-size: 12px;color: #ADADAD;}
.content-main-top-matches-list-item-bet img{height: 10px; cursor: pointer;}

.content-main-tag-menu{width: 100%; display: flex; flex-wrap: wrap; gap: 20px;}
.content-main-tag-menu-item{font-size: 16px; font-family: "Mont-Regular"; padding: 5px 10px; border: 1px solid white; border-radius: 50px; cursor: pointer; text-decoration: none; color: white;}
.content-main-tag-menu-item.active{border: none; background: linear-gradient(203deg, #00571D 0%, #87C212 100%);padding: 6px 11px;}

.content-main-bet-list{width: 100%;display: flex;flex-direction: column;gap: 30px;}

.content-main-bet-list-item{width: 100%; border-radius: 8px; background: #313131; padding: 20px; box-sizing: border-box; display: flex; flex-direction: column;}
.content-main-bet-list-item-main{width: 100%; display: flex; flex-direction: column; gap: 10px; padding-bottom: 20px; border-bottom: 1px solid white;}
.content-main-bet-list-item-author{width: 100%; display: flex; align-items: center; gap: 10px;}
.content-main-bet-list-item-author-avatar{width: 32px;aspect-ratio: 1/1; border-radius: 50%; position: relative;}
.content-main-bet-list-item-author-avatar img{width: 100; height:100%; position: absolute; top: 0; left: 0;}
.content-main-bet-list-item-author span{font-size: 14px; font-family: "Mont-Semi-Bold";}
.content-main-bet-list-item-match{width: 100%; display: flex; align-items: center; gap: 10px;}
.content-main-bet-list-item-match-ball{width: 22px; aspect-ratio: 1/1;}
.content-main-bet-list-item-match-info{display: flex; align-items: center; gap: 10px;}
.content-main-bet-list-item-match-info img{max-width: 20px; max-height: 20px;}
.content-main-bet-list-item-match-info-text{display: flex; flex-direction: column; justify-content: center; gap: 3px;}
.content-main-bet-list-item-match-info-text-title{font-size: 16px; font-family: "Mont-Semi-Bold";}
.content-main-bet-list-item-match-info-text-date{font-size: 12px; font-family: "Mont-Regular"; color: #ADADAD;}

.content-main-bet-list-item-content{font-size: 16px; font-family: "Mont-Regular"; color: #ADADAD; display: flex; flex-wrap: wrap;}
.content-main-bet-list-item-content-open{font-size: 16px; font-family: "Mont-Bold"; color: #62B435; text-wrap: none; cursor: pointer;}

.content-main-bet-list-item-add{width: 100%; display: flex; flex-direction: column; margin-top: 20px; gap: 10px;}

.content-main-bet-list-item-add-title{width: 100%;font-size: 12px;font-family: "Mont-Semi-Bold";color: #ADADAD;}
.content-main-bet-list-item-add-result{width: 100%;font-size: 16px;font-family: "Mont-Semi-Bold";}

.content-main-bet-list-item-add-coef{width: 100%; display: flex; align-items: center; gap: 5px;}
.content-main-bet-list-item-add-coef img{width: 32px; aspect-ratio: 1/1;}
.content-main-bet-list-item-add-coef-info{display: flex; flex-direction: column; justify-content: center;}
.content-main-bet-list-item-add-coef-info-title{font-size: 12px; font-family: "Mont-Regular";}
.content-main-bet-list-item-add-coef-info-count{font-size: 18px; font-family: "Mont-Semi-Bold";}

.content-main-bet-list-item-add-btn{width: 161px; height: 40px; display: flex;justify-content: center;align-items: center;color: white;background: linear-gradient(203deg, #00571D 0%, #87C212 100%); border-radius: 30px;border: none;font-size: 15px;font-family: "Mont-Semi-Bold";}

.content-main-bet-list-item-content-wrapper {
    position: relative;
}

.content-main-bet-list-item-content {
    font-size: 16px;
    font-family: "Mont-Regular";
    color: #ADADAD;
    display: flex;
    flex-wrap: wrap;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    line-height: 1.4em;
    max-height: 3em; 
}

.content-main-bet-list-item-content.expanded {
    max-height: none !important;
}

.content-main-bet-list-item-content-open {
    font-size: 16px;
    font-family: "Mont-Bold";
    color: #62B435;
    text-wrap: nowrap;
    cursor: pointer;
    display: inline-block;
    margin-top: 8px;
    position: relative;
    z-index: 2;
}

.content-main-bet-list-item-content-wrapper.expanded .content-main-bet-list-item-content::after {
    opacity: 0;
}

.content-add-adv-img{width: 100%;overflow: hidden; position: relative; cursor: pointer;}
.content-add-adv-img::after{
    content: '';
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}
.content-add-adv-img img{width: 100%;}

.best-book {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    padding: 20px 10px;
    background: black;
    justify-content: center;
    border-radius: 10px;
    gap: 20px;
    box-sizing: border-box;
    animation: smoothColorFlow 7s ease-in-out infinite;
}

@keyframes smoothColorFlow {
    0%, 100% {
        filter: drop-shadow(0 0 25px #5FA315);
    }
    25% {
        filter: drop-shadow(0 0 30px #87C212);
    }
    50% {
        filter: drop-shadow(0 0 35px #2DE0D9);
    }
    75% {
        filter: drop-shadow(0 0 30px #F7D329);
    }
}
.best-book-title{width: 100%;text-align: center;font-size: 28px;font-family: "Mont-Bold";max-width: 298px;}
.best-book-logo{width: 90%;aspect-ratio: 300/85;background: linear-gradient(-135deg, rgba(0, 87, 29, 0.2) 0%, rgba(135, 194, 18, 1) 100%);border-radius: 5px;padding: 2px;max-width: 288px;}
.best-book-logo-content{width: 100%;height: 100%;display: flex;align-items: center;justify-content: center;position: relative;border-radius: 5px;background: black;}
.best-book-logo-content img{width: 128px;height: 40px;}
.best-book-info{width: 90%;display: flex;flex-direction: column;gap: 10px;max-width: 288px;}
.best-book-info-item{width: 100%; display: flex; justify-content: space-between; padding-bottom: 5px; border-bottom: 1px solid rgba(152, 152, 154, 1);}
.best-book-info-item-title{color: rgba(152, 152, 154, 1);font-family: "Mont-Regular";font-size: 16px; }
.best-book-info-item-content{font-family: "Mont-Semi-Bold";font-size: 16px; }
.best-book-info-item img{width: 20px;}
.best-book-data{width: 90%; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 15px 0; max-width: 288px;}
.best-book-data-item{width: 49%;display: flex;align-items: center;gap: 5px;}
.best-book-data-item-content{display: flex;flex-direction: column;justify-content: center;font-size: 14px;}
.best-book-data-item-content-title{font-family: "Mont-Regular";}
.best-book-data-item-content-count{font-family: "Mont-Bold";}
.best-book-data-btn{width: 90%;aspect-ratio: 266/44;border-radius: 100px;border: none;background: linear-gradient(-135deg, #008C0E 0%, #093F0F 100%);display: flex;align-items: center;justify-content: center;color: white;font-family: "Mont-Bold";font-size: 16px;margin-left: auto;margin-right: auto; cursor: pointer;}

.article-section{width: 100%; display: flex; flex-direction: column; gap: 20px;}
.article-section-content{width: 100%;display: flex;flex-direction: column;gap: 20px;}
.article-section-content-article{width: 100%;aspect-ratio: 297/441;max-height: 400px;position: relative;overflow: hidden;border-radius: 10px; cursor: pointer;}

.article-section-content-article img{min-width: 100%;min-height: 100%;position: absolute;top: 0;left: 0;}
.article-section-content-article-overlay{width: 100%;height: 100%;position: absolute;top: 0;left: 0;background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.1) 60%, rgba(0, 0, 0, 1) 100%);}
.article-section-content-article-content-title{font-size: 18px;font-family: "Mont-Bold";}
.article-section-content-article-content-text{font-size: 16px;color: #ADADAD;font-family: "Mont-Regular";}
.article-section-content-article-content{width: 90%;position: absolute;left: 10px;bottom: 50px;display: flex;flex-direction: column;gap: 10px;max-width: 650px;}
.article-section-content-list{width: 100%;aspect-ratio: 297/441;max-height: 400px;overflow: hidden;border-radius: 10px;background: #262626;display: flex;justify-content: center;align-items: center;}
.article-section-content-list-content{width: 80%;display: flex;flex-direction: column;gap: 20px;align-items: center; max-width: 362px;}
.article-section-content-list-content.comp{display: none;}
.article-section-content-list-content-item{width: 100%;display: flex;padding-bottom: 5px;border-bottom: 1px solid #ADADAD;align-items: center; cursor: pointer;}
.article-section-content-list-content-item-info{flex-grow: 1;display: flex;flex-direction: column;gap: 5px;}
.article-section-content-list-content-item-info-date{font-size: 10px;color: #ADADAD;font-family: "Mont-Medium";}
.article-section-content-list-content-item-info-title{font-size: 16px;font-family: "Mont-Regular";}
.article-section-content-list-content-item img{width: 10%;max-width: 30px;}
.article-section-content-list-content-btn{width: 100%;aspect-ratio: 239/44;background: linear-gradient(-135deg, #00571D 0%, #87C212 100%);color: white;font-family: "Mont-Bold";border-radius: 100px;border: 2px solid #093F0F;font-size: 16px;font-family: "Mont-Bold";max-width: 362px; max-height: 44px; cursor: pointer;}

.line-adv{width: 100%;aspect-ratio: 1192/232;display: flex;justify-content: center; background: black;}
.line-adv img{width: 100%; max-height: 100%;}

.article-section-content-adv.column{display: none;}

.article-section-content-adv.row{width: 100%;}

.article-section-content-adv.row img{width: 100%;}

.article-section-content-board{width: 100%;display: flex;flex-wrap: wrap;align-items: center;justify-content: center;border-radius: 10px;background: #262626;box-sizing: border-box;padding: 20px;gap: 15px;}

.article-section-content-board-item{width: 80%;display: flex;justify-content: space-between;align-items: center;border-bottom: 1px solid #ADADAD;cursor: pointer; text-decoration: none; color: white;}

.article-section-content-board-item-content{display: flex;flex-direction: column;}

.article-section-content-board-item-title{display: flex;align-items: center;font-family: "Mont-Regular";font-size: 16px;width: 90%;/* height: 55px; */}

.article-section-content-board-item-arrow{width: 15px;height: 15px;}

.article-section-content-board-content{width: 100%;height: 100%;display: flex;flex-wrap: wrap;justify-content: center;align-items: center;max-width: 800px;gap: 20px;}

.article-section-content-board-item-date{font-family: "Mont-Medium";font-size: 10px;color: #ADADAD;}

.article-section-content-board-content-button{
    width: 80%;
    aspect-ratio: 238/44;
    border-radius: 100px;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(203deg, #00571D 0%, #87C212 100%);
}

.article-section-content-board-content-button span{
    color: white;
    font-size: "Mont-Bold";
    font-size: 20px;
}

@media(min-width:800px){
    .mob{display: none;}
    
    .content{width: 90%;}

    .best-book{max-width: 842px; margin-left: auto; margin-right: auto; gap: 30px;}

    
    .article-section-content-article{width: 45%;}
    .article-section-content-list{width: 55%;}

    .content-main-add{flex-direction: row; justify-content: space-between; }
    .content-main{width: 70%; max-width: 800px;}
    .content-add{width: 30%; max-width: 320px;}

    .content-main-bet-list-item{flex-direction: row;}
    .content-main-bet-list-item-main{flex-grow: 1; gap: 10px; padding-bottom: 0px; padding-right: 10px; border-bottom: none; border-right: 1px solid white;margin-right: 10px; justify-content: center;}
    .content-main-bet-list-item-add{width: fit-content;}

    .content-main-title{font-size: 28px;}
    .content-main-part-title{font-size: 28px;}

    .article-section-content-board-item{width: 45%; max-width: 350px;}
    .article-section-content-board-content-button{width: 45%; max-width: 350px;}
    .article-section-content-board-content{justify-content: space-between; width: 90%; gap: 20px;}

}

@media(min-width:1280px){
    .content{width: 80%;}

    .content-title{font-size: 46px;}

    .content-main{width: 70%; max-width: 1192px;}
    .content-add{width: 30%; max-width: 384px;}

    .article-section-content-list{width: 55%; max-width: 863px; gap: 30px;}
    .article-section-content-article{width: 40%; max-width: 653px;  }

    .article-section-content-list-content.comp{display: flex;}
    .article-section-content-list-content{width: 40%;}

    .best-book{max-width: 1600px; width: 100%;}
    .best-book-title{width: 100%; max-width: none; font-size: 46px;}
    .best-book-logo{max-width: 653px; width: 30%;}
    .best-book-info{max-width: 486px; width: 30%;}
    .best-book-data{max-width: 266px;}

    .content-main-title{font-size: 46px;}
    .content-main-description{font-size: 18px;}

    .article-section-content{flex-direction: row;}

    .article-section-content-list{width: 55%; gap: 30px;}
    .article-section-content-article{width: 40%; max-width: 653px;  }

    .article-section-content-list-content.comp{display: flex;}
    .article-section-content-list-content{width: 40%;}

    .article-section-content-board{width: 70%;aspect-ratio: 518/230;}
    .article-section-content{flex-direction: row; justify-content: space-between;}
    .article-section-content-adv.row{display: none;}
    .article-section-content-adv.column{display: block; width: 25%; }
    .article-section-content-adv.column img{width: 100%;}

    .article-section-content-board-content{width: 80%;height: 90%;}

    .article-section-content-board-content{gap: 10px;}
}