/*  category    */
.category .mob-header{
    display: none;
}

.category .top-articles{
    margin-bottom: 61px;
}
.category .top-articles .card .card-info{
    max-width: 514px;
}

@media screen and (max-width: 1280px) {
    .category .hero{
        margin-bottom: 4rem;
    }
}
@media screen and (max-width: 920px) {
    .category .hero{
        margin-bottom: 3rem;
    }
    .category .hero .arrow{
        display: none;
    }
    .category .hero .right-side .title{
        max-width: unset;
    }
    .category .top-articles{
        margin-bottom: 3rem;
    }
}
@media screen and (max-width: 820px) {
    .category .article-list .title{
        font-size: 25px;
        line-height: 30px;
        margin-bottom: 0;
    }
}
@media screen and (max-width: 740px) {
    .category .top-articles .card-info .lead{
        display: none;
    }
    .category .mob-header{
        display: block;
    }    
}

@media screen and (max-width: 680px) {
    .category .hero{
        margin-bottom: 2rem;
    }
    .category .hero .right-side .card-wrapper{
        width: 100%;
        padding: 0 22px;
    }
    .category .hero .left-side{
        margin-bottom: 40px;
    }
    .category .hero .card .card-info{
        padding-bottom: 0;
    }
    .category .hero .right-side .title{
        font-size: 30px;
        line-height: 35px;
    }
    .category .hero .right-side .card-info{
        padding-left: 0;
        padding-right: 0;
    }

    .category .hero .right-side .card-wrapper{
        margin-bottom: 2rem;
    }
    .category .hero .right-side .card-wrapper:last-of-type{
        margin-bottom: 0;
    }
    .category .top-articles{
        margin-bottom: 2rem;
    }
}
@media screen and (max-width: 650px) {
    .category .top-articles{
        flex-wrap: wrap;
        margin-bottom: 0;
    }    
    .category .top-articles > div{
        width : 100%;
        margin-bottom: 42px;
    }  
    .category .top-articles .card .title{
        font-size: 30px;
        line-height: 35px;
        margin-bottom: 17px;
    }
}

@media screen and (max-width: 620px) {
    .category .hero .right-side .card-wrapper{
        padding: 0 18px;
    }    
}
@media screen and (max-width: 580px) {
    .category .article-list .card-wrapper{
        margin-bottom: 2rem;
    }
    .category .article-list .title{
        font-size: 20px;
        line-height: 25px;
    }
}

@media screen and (max-width: 520px) {
    .category .hero .left-side .title{
        font-size: 30px;
        line-height: 35px;   
    }    
}


/*  single  */

.single article{
    border-bottom: 1px solid #888;
    margin-bottom: 53px;
}
.article-wrapper,
.disqus-wrapper{
    max-width: 1098px;
}

.article-header{
    margin-bottom: 48px;
}

.article-header .title{
    font-size: 35px;
    line-height: 41px;
    font-weight: 700;  
    margin-bottom: 22px; 
}

.article-header .lead{
    font-size: 25px;
    line-height: 35px;  
    margin-bottom: 16px;
    width: 80%;
}

.article-header .tags-mob{
    display: none;    
}

.special-article-header .details,
.article-header .details{
    font-size: 16px;
    line-height: 20px;
    color: #ACB7C8;
    margin-bottom: 20px;
    align-items: center;
}

.article-header .details .date{
    font-weight: 300;
}

.special-article-header .author,
.article-header .author{
    align-items: center;
    margin-right: 0.8rem;
}
.special-article-header .author-image,
.article-header .author-image{
    width: 45px;
    height: 45px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 0.8rem;
}

.article-header .author-mob{
    display: none;
}

.single .socials{
    margin-left: auto;
    position: relative;
}
.single .socials ul{
    align-items: center;
    justify-content: space-between;
    /*width: 105px;*/
}

.single .socials .social-item{
    width: 30px;    
}
/*.single .socials .social-item.sm{
    width: 18px;    
}*/

.article-body > :is(p, h1, h2, h3, h4, h5, h6, blockquote, ul ,ol){
    width: 80%;    
}

.article-vote{
    justify-content: space-between;
    margin:65px 0 50px;
    width: 80%;
}
.article-vote .vote-item{
    align-items: center;
    width: 45%;
    cursor: pointer;
}
.article-vote .vote-img{
    width: 62px;
    margin-right: 1.25rem;
    flex-shrink: 0;
}

.article-vote .vote-text{
    max-width: 252px;
}
.article-vote .vote-text p{
    font-size: 20px;
    line-height: 25px;
    font-weight: 700;
}

.article-body{
    font-size: 22px;
    line-height: 30px;
}

.article-body > *{
    margin-bottom: 2rem;
}

.article-body blockquote{
    font-size: 25px;
    line-height: 33px;
    font-weight: 700;
    position: relative;   
    padding: 23px 0; 
}

.article-body blockquote:before,
.article-body blockquote:after{
    content: "";
    width: 57px;
    border-top: 4px solid var(--redColor);
    left: 50%;
    transform: translateX(-50%);
    position: absolute;
}

.article-body blockquote:before{
    top: 0;
}
.article-body blockquote:after{
    bottom: 0;
}


.article-body > :is(h1, h2, h3, h4, h5, h6){
    font-weight: 700;
}

.article-body h3{
    font-size: 25px;
    line-height: 33px;
}

/*.article-body iframe{
    width: 100%;
    max-width: 1098px;
    aspect-ratio: 16/9;
    height: auto;
}*/
iframe[src^="https://www.youtube"] {
    width: 100%;
    max-width: 1098px;
    aspect-ratio: 16/9;
    height: auto;
}

.article-body .table-container{
    max-width: 800px;
    position: relative;
}
.article-body .table-wrapper{
    padding: 0 0.25rem 0.5rem;
    scroll-padding-left: 0.5rem;
}

.article-body .table-container.scroll-r:after,
.article-body .table-container.scroll-l:before{
    content: '';
    width: 3rem;
    height: 100%;
    background-color: rgba(255,255,255,0.5);
    top: 0;
    position: absolute;
}

.article-body .table-container.scroll-r:after{
    right: 0;
    background: rgba(255,255,255, 0.5);
    background: linear-gradient(-90deg, rgba(255,255,255,1) 0%, rgba(255,255,255,0) 100%);
}
.article-body .table-container.scroll-l:before{
    left: 0;
    background: rgba(255,255,255, 0.5);
    background: linear-gradient(90deg, rgba(255,255,255,1) 0%, rgba(255,255,255,0) 100%);
}

.article-body table{
    font-size: 18px;
    line-height: 35px;
    border-collapse: collapse;
    overflow: scroll;
}

.article-body table tbody{
    box-shadow: 0px 3px 6px #00000029;
}

.article-body table thead tr {
    background-color: #fff!important;
}
.article-body table tr th {
    padding: 0 1ch;
    text-align: left;
    white-space: nowrap;
}
.article-body table tr th:first-of-type {
    color: var(--redColor);
}

.article-body table tr:nth-child(odd) {
    background-color: #F7F7F7;
}
.article-body table tr td {
    padding: 0.5rem 1.4rem;
    white-space: nowrap;
    scroll-snap-align: start;
}
.article-body table tr td:first-of-type {
    font-weight: 700;
}

.article-body .table-container .info{
    align-items: center;
    justify-content: center;
    margin-top: 1rem;
    display: none;
}

.article-body .table-container .info.show{
    display: flex;
}
.article-body .table-container .arrow{
    position: relative;
    width: 10px;
    height: 15px;
    margin: 0 0.5rem; 
}

.article-body .table-container .arrow.left span{
    transform-origin: left;
}

.article-body .table-container .arrow.right span{
    transform-origin: right;
}

.article-body .table-container .arrow span{
    position: absolute;
    left: 0;
    top: 50%;
    width: 100%;
    border-top: 1px solid #000;
}

.article-body .table-container .arrow span:first-of-type{
    transform: rotate(45deg)
}
.article-body .table-container .arrow span:last-of-type{
    transform: rotate(-45deg)
}

.article-footer{
    max-width: 632px;
}

.article-footer .socials{
    display: none;
}

.article-footer .tags{
        margin-bottom: 33px;
}

.article-footer .tags span{
    color: var(--redColor); 
    padding-left: 1.5ch;
    position: relative;  
    font-size: 18px;
    line-height: 21px; 
    font-weight: 700;
}

.article-footer .tags span:before{
    content: '#';
    left: 0;
    position: absolute;
}

.article-footer .tags a{
    font-size: 18px;
    line-height: 21px; 
    font-weight: 700;
}

.article-footer .tags a:after{
    content: ',';
}
.article-footer .tags a:last-child:after{
    content: '';
}

.article-footer .related h5{
    font-weight: 500;
    font-size: 22px;
    line-height: 33px;
    margin-bottom: 17px;
}

.article-footer .rel-article{
    font-size: 22px;
    line-height: 28px;
    margin-bottom: 31px;
    padding-left: 23px;
    position: relative;
    padding-right: 2rem;
}

.article-footer .rel-article:before{
    content: '';
    width: 14px;
    border-top: 4px solid var(--redColor);
    left: 0;
    top: 12px;
    position: absolute;
}

.article-footer .rel-article a{
    text-decoration: underline;
}

.article-footer .more-articles{
    font-weight: 500;
    font-size: 22px;
    line-height: 33px;  
    margin-bottom: 36px;
}

.article-footer .more-articles a{
    text-decoration: underline;
}

@media screen and (max-width: 920px) {
    .article-vote{
        margin:2.8125rem 0 2.8125rem;
    }
}
@media screen and (max-width: 820px) {
    .article-body > :is(p, h1, h2, h3, h4, h5, h6, blockquote, ul ,ol){
        width: 90%;    
    }
    .article-header .title{
        font-size: 28px;
        line-height: 33px;
        margin-bottom: 24px;
    }
    .article-header .lead{
        font-size: 20px;
        line-height: 28px;
        margin-bottom: 35px;
    }

    .article-vote{
        flex-direction: column;
    }

    .article-vote .vote-item{
        width: 100%;
        margin-bottom: 1.5rem;
    }

    .article-vote .vote-item:last-of-type{
        margin-bottom: 0;
    }
    .article-vote .vote-text{
        max-width: 450px;
    }
}


@media screen and (max-width: 680px) {
    .article-header{
        display: flex;
        flex-direction: column;
    }

    .article-header .lead{
        width: 100%;
    }

    .article-header .details{
        order: 2;
        margin-bottom: 5px;
    }
    .article-header .article-image{
        margin-bottom: 20px;
    }

    .article-header .socials{
        display: none;
        padding-top: 10px;
    }

    .article-header .details .author{
        display: none;
    }
    .article-header .author-mob{
        display: block;
        order: 3;
        color: #ACB7C8;
    }

    .author-mob .author-name{
        font-size: 16px;
        line-height: 20px;
        font-weight: 300;
    }

    .author-mob .author-name span{
        font-weight: 500;
    }

    .article-header .tags-mob{
        display: block; 
        width: calc(100% + 2 * 22px); 
        margin: 12px 0 25px -22px; 
        padding: 0 10px;
        background: rgb(188,188,188);
        background: linear-gradient(90deg, rgba(188,188,188,1) 0%, rgba(150,150,150,1) 25%, rgba(213,213,213,1) 50%, rgba(137,137,137,1) 75%, rgba(209,209,209,1) 100%);
    }

    .article-header .tags-mob{
        font-size: 14px;
        line-height: 20px;
        font-weight: 500;
        overflow: hidden;
    }

    .article-header .tags-mob .tags span{
        color: var(--redColor);
        font-size: 16px;
        font-weight: 700;
        position: relative;
        padding:0 0.5rem 0 1.5ch;
    }

    .article-header .tags-mob .tags  a{
        display: inline-block;
        padding: 0.5rem;
        position: relative;
    }

    .article-header .tags-mob .tags  a:after{
        content: "";
        width: 200vw;
        position: absolute;
        left: -50vw;
        bottom: 0;
        border-top: 4px solid #fff;
    }

    .article-header .tags-mob .tags span:before {
        content: '#';
        left: 0;
        bottom: -1px;
        position: absolute;
    }

    .article-body > :is(p, blockquote, ul ,ol){
        width: 100%;    
    }
    .article-body > :is(h1, h2){
        width: 80%;    
    }
    .article-body > :is(h3, h4, h5, h6){
        width: 70%;    
    }

    .article-body blockquote{
        text-align: center;
    }

    .article-footer .socials{
        display: block;
        margin-bottom: 34px;

    }

    .article-footer .socials ul{
        justify-content: space-between;
        margin-left: auto;
    }

    .tags-top .article-footer .tags{
        display:  none;
    }

    .article-footer .tags span{
        display: block;
        margin-bottom: 18px;
    }

    .article-footer .tags a{
        background-color: #ACB7C8;
        border-radius: 3px;
        padding: 4px 8px;
        margin: 0 11px 17px 0;
        display: inline-block;
    }

    .article-footer .tags a:after{
        display: none;
    }

    .article-footer .related h5{
        font-size: 25px;
        line-height: 33px;
    }
}

@media screen and (max-width: 620px) {
    .article-header .tags-mob{
        width: calc(100% + 2 * 18px); 
        margin-left: -18px;
    }
}

/*  single special */

.single.special .article-header-top{
    position: relative;
    height: 100vh;
    max-height: 980px;
    margin-bottom: 3.3125rem;    
}

.single.special .article-header-top .article-image{
    width: 100%;
    height: 100%;
}

.special-article-header .article-header-top .title{
    background-color: rgba(0,0,0,0.6);
    padding: 57px 10% 70px;
    align-items: center;
    color: #fff;
    position: absolute;
    bottom: 0;
    width: 100%;
}

.special-article-header .article-header-top .title .arrow{
    width: 48px;
    margin-right: 45px;
}

.special-article-header .article-header-top .title h2,
.special-article-header .article-header-top .title h1{
    font-size: 30px;
    font-weight: 700;
    line-height: 40px;
}

.special-article-header .article-header-bottom{
    margin-left: 10%;
    max-width: 824px;
}

.special-article-header .article-header-bottom .lead{
    font-size: 25px;
    line-height: 35px;
    margin-bottom: 1em;
}

.single.special .article-body{
    margin-top: 41px;
}

.single.special .article-body :is(p, ul, ol, h1, h2, h3, h4, h5, h6, blockquote, .image-gallery, iframe){
    margin-left: 10%;
}
.single.special  .article-body :is(.lead, p, ul, ol, h1, h2, h3, h4, h5, h6, blockquote){
    width: 80%;
    max-width: 824px;
}

.single.special :is(.image-gallery){
    max-width: 1098px; 
    width: 100%;
}

.single.special .article-footer{
    margin-left: 10%;
}

.article-header-bottom .author-mob{
    display: none;
}

@media screen and (max-width: 1420px) {
    .special-article-header .article-header-top .title{
        padding: 40px 5% 50px;
    }
    .special-article-header .article-header-bottom{
        margin-left: 5%;
    }
    .single.special .article-body :is(p, ul, ol, h1, h2, h3, h4, h5, h6, blockquote, .image-gallery, iframe){
        margin-left: 5%;
    }
    .single.special .article-footer{
        margin-left: 5%;
    }    
}
@media screen and (max-width: 1240px) {
    .special-article-header .article-header-top .title{
        padding: 2rem 2rem 2.5rem;
    }
    .special-article-header .article-header-bottom{
        margin-left: 2rem;
    }
    .single.special .article-body :is(p, ul, ol, h1, h2, h3, h4, h5, h6, blockquote, .image-gallery, iframe){
        margin-left: 2rem;
    }
    .single.special .article-footer{
        margin-left: 2rem;
    }    
}


@media screen and (max-width: 1162px) {
    .single.special :is(.image-gallery, iframe){
        max-width: unset;
        width: 100%;
        padding: 0 2rem; 
        margin-left: 0!important;
    }    
}

@media screen and (max-width: 920px) {
    .single.special .article-header-top{
        height: auto;
    }
    .single.special .article-header-top .article-image{
        aspect-ratio: 16/9;
    }
    .special-article-header .article-header-top .title{
        position: initial;
        background-color: rgba(0,0,0,1);
    }
}
@media screen and (max-width: 820px) {
    .single.special .article-header-top{
        margin-bottom: 35px;
    }
    .special-article-header .article-header-bottom{
        margin-left: 0;
        width: 100%;
        padding: 0 2rem;
    }
    .single.special .article-body :is(.lead, p, ul, ol, h1, h2, h3, h4, h5, h6){
        width: 90%;
        margin-left: 0;
        padding: 0 2rem;
    }

    .single.special .article-body blockquote{
        width: 90%;
        margin-left: 0;
        padding: 10px 2rem;
    }
    .single.special .article-footer{
        margin-left: 0;
        width: 100%;
        padding: 0 2rem;
    }
}
@media screen and (max-width: 720px) {
    .special-article-header .article-header-top .title .arrow{
        display: none;
    }
}
@media screen and (max-width: 680px) {
    .special-article-header .article-header-top .title{
        padding: 24px 22px 27px;
    }
    .special-article-header .article-header-bottom,
    .single.special .article-footer{
        padding: 0 22px;
    }
    .single.special .article-body :is(.lead, p, ul, ol, h1, h2, h3, h4, h5, h6){
        width: 100%; 
        padding: 0 22px;
    }

    .single.special .article-body blockquote{
        width: 100%; 
        padding: 10px 22px;
    }

    .single.special :is(.image-gallery){
        padding: 0;
    }

    .single.special .article-footer{
        max-width: unset;
    }

    .article-header-bottom .socials{
        display: none;
    }
    .article-header-bottom .author-mob{
        display: block;
        color: #ACB7C8;
    }


    .article-header-bottom .details .author{
        display: none;
    }
    .special-article-header .details{
        margin-bottom: 5px;    
    }
}

@media screen and (max-width: 620px) {
    .special-article-header .article-header-top .title{
        padding: 24px 18px 27px;
    }
    .special-article-header .article-header-bottom,
    .single.special .article-footer{
        padding: 0 18px;
    }
    .single.special .article-body :is(.lead, p, ul, ol, h1, h2, h3, h4, h5, h6) {
        padding: 0 18px;
    }

    .single.special .article-body blockquote {
        padding: 10px 18;
    }
}


/*  image-gallery  swiper */

.swiper {
    width: 100%;
    /*height: 300px;*/
    margin-left: auto;
    margin-right: auto;
  }

  .swiper-slide {
    background-size: cover;
    background-position: center;
  }

  .mySwiper2 {
    height: 80%;
    width: 100%;
  }

  .mySwiper {
    height: 20%;
    box-sizing: border-box;
    padding: 10px 0;
  }

  .mySwiper .swiper-slide {
    width: 20%;
    height: 100%;
    opacity: 1;
  }

  .mySwiper .swiper-slide-thumb-active {
    position: relative;
  }
  .mySwiper .swiper-slide-thumb-active:after {
    content: '';
    width: 100%;
    height: 8px;
    background-color: var(--redColor);
    left: 0;
    bottom: 0;
    position: absolute;
  }

  .swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }


  .mySwiper2 .swiper-pagination{
    text-align: left;
    font-size: 18px;
    line-height: 21px;
    font-weight: 700;
    color: #fff;
  }

  .mySwiper2 .swiper-pagination-fraction{
      padding-left: 25px;
      bottom: 17px;
  }

  .img-expand-btn{
    right: 2rem;
    bottom: 1.8rem;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: space-between;
    margin-top: -30px;
    background-color: rgba(0,0,0,0.5);
    margin-left: auto;
    position: relative;
    z-index: 2;
    padding: 5px;
    border-radius: 50%;
    transform-origin: center;
    transform: rotate(45deg);
  }

  .img-expand-btn .arrow{
      transform-origin: center;
      width: 15px;
  }
  .img-expand-btn .arrow.top{
    transform: rotate(-90deg)
  }
  .img-expand-btn .arrow.bottom{
    transform: rotate(90deg);
  }

@media screen and (max-width: 680px) {
    .image-gallery{
        width: calc(100% + 2 * 22px);
        margin-left: -22px;
    }
}
@media screen and (max-width: 620px) {
    .image-gallery{
        width: calc(100% + 2 * 18px);
        margin-left: -18px;
    }
}


/*  team    */

.section-image{
    height: 70vh;
    max-height: 720px;
}

.team-wrapper{
    max-width: 1388px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.team-wrapper .card-wrapper{
    width: 25%;
    margin-bottom: 114px;
}

.team-wrapper .card {
    max-width: 216px;
    margin: 0 auto;
    transition: color 0.3s;
}
.team-wrapper .card .card-image,
.team-wrapper .card .card-info{
    width: 100%;
}

.team-wrapper .card:hover {
    color: var(--redColor);
}


@media screen and (max-width: 1080px) {
    .section-image{
        height: auto;
    }
    .team-wrapper .card-wrapper{
        width: 33%;
        margin-bottom: 74px;
    }
}

@media screen and (max-width: 840px) {
    .team-wrapper .card-wrapper{
        width: 50%;
        margin-bottom: 50px;
    }
}
@media screen and (max-width: 560px) {
    .team-wrapper .card-wrapper{
        width: 100%;
        margin-bottom: 24px;
    }
}

/*  author  */

.author-wrapper{
    align-items: center;
    margin-bottom: 150px;
}

.author-wrapper .card{
    flex: 0 0 469px;
}
.author-wrapper .card .card-image{
}
.author-wrapper .card .card-info{
    padding-left: 37px;
    text-align: left;
    justify-content: center;
}

.author-wrapper .bio{
    max-width: 811px;
    margin-left: 30px;
    font-size: 22px;
    line-height: 30px;
}

@media screen and (max-width: 980px) {
    .author-wrapper{
        flex-direction: column;
    }
    .author-wrapper .card{
        flex-basis: unset;
        width: 469px;
        margin-bottom:24px;
    }
    .author-wrapper .bio{
        margin-left: 0;
    }
}

@media screen and (max-width: 620px) {
    .author-wrapper .card{
        flex-direction: column;
        align-items: center;
        width: 100%;
    }
    .author-wrapper .card .card-info{
        text-align: center;
        padding-left: 0;
    }
}

/*  more gird   */


.more-grid{
    border-bottom: 1px solid #888;
    margin-bottom: 80px;
}

.more-grid > div{
    margin-bottom: 62px;
}

@media screen and (max-width: 1020px) {
    .more-grid > div{
        width: calc((100% - 23px) / 2);
        margin-bottom: 62px;
    }
}

@media screen and (max-width: 680px) {
    .more-grid > div{
        width: 100%;
        margin-bottom: 46px;
    }
    .more-grid .card .card-info{
        padding-left: 17px;;
    }
}

@media screen and (max-width: 580px) {
    .more-grid .card .title{
        font-size: 20px;
        line-height: 25px;
    }
}