/*
Theme Name:   Forcast Child
Template:     forcast
Version:      1.0.0
*/


.single-post .post_tags{
  display: block!important;
}


.single-post .social-box a{
  margin: 5px!important;
}


.grid-set .bytf_post_title a{
  display: -webkit-box!important;
  -webkit-box-orient: vertical!important;
  -webkit-line-clamp: 4!important;
  overflow: hidden!important;
}

.grid-set .row .col-lg-6.col-xl-3.col-md-6{
  margin-bottom: 10px!important;
}

.grid-set .bytf_post_title a:hover {
    background-size: 0% 0%!important;
}

.lowr__box{
  display: none!important;
}


li.authore{
  display: none!important;
}

.top-section{
  padding-bottom: 40px!important;
}


.category .widget-area form{
  display: none!important;
}

.category .no-results.not-found-rs{
  text-align: center!important;
  padding: 60px 0px!important;
}

.category .no-results.not-found-rs h1{
  max-width: fit-content!important;
  margin: auto!important;
}


.back-top-btn{
  display: none!important;
}


/* Mobile */
@media (max-width: 767px){
  .grid-set .bytf_post_title a{
    -webkit-line-clamp: 4!important;
  }

  .top-section{
    padding-bottom: 20px!important;
  }
}


@media (max-width: 1000px){
.top-section .banner__content{
  margin-top: 50px!important;
}

}



/*BANNER*/

.banner-st .bytf__add-banner.text-center{
  padding: 60px!important;
  height: 100%!important;
}

.banner-st .banner__logo{
  display: flex!important;

}

.banner-st .banner__logo img{
  min-width: 100px!important;
}

.banner-st .banner__content h3{
  color:#05153a;
  text-align: left;
  padding-left: 10px!important;
  font-weight: 800!important;
}

.banner-st .banner__content a{
  background-color: #05153a;
  color:white!important;
  padding: 20px!important;
  margin-top: 40px!important;
}


@media (max-width: 500px){
.banner-st .bytf__add-banner.text-center {
  padding: 20px!important;
}
}



/*Pop up*/
    #entry-popup-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0,0,0,0.6);
        display: none;
        justify-content: center;
        align-items: center;
        z-index: 9999;
    }

    #entry-popup {
        background: url('/wp-content/uploads/2026/01/ell-buy-2-scaled.png') top/cover no-repeat;
        width: 90%;
        max-width: 650px;
        padding: 30px;
        text-align: center;
        border-radius: 12px;
        position: relative;
        color: #fff;
    }

    #entry-popup img {
        max-width: 120px;
        margin-bottom: 15px;
    }

    #entry-popup p {
        font-size: 16px;
        margin-bottom: 20px;
        max-width: 300px!important;
        margin-left: auto;
        margin-right: auto;
    }

    .popup-btn {
        display: inline-block;
        padding: 10px 18px;
        margin: 5px;
        background: #ffffff;
        color: #000;
        text-decoration: none;
        border-radius: 6px;
        font-weight: bold;
    }

    .popup-close {
        position: absolute;
        top: 5px;
        right: 10px;
        font-size: 20px;
        cursor: pointer;
        color: #dfdbdb;
    }

    .popup-btn.popup-view:hover{
      color:#333333!important;
    }

    #entry-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;

    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}
