/*
Theme Name: Astra Child
Theme URI: https://example.com/
Description: Child theme for Astra
Author: Your Name
Author URI: https://example.com/
Template: astra
Version: 1.0
*/

/* Add custom CSS below */
body, html, p, span, strong, div, h1, h2, h3, h4, h5, ul, li {
    color: #212529;
}

body {
    font-family: "Red Hat Display", sans-serif !important;
  font-optical-sizing: auto;
  padding-top: 90px;
}

h1,h2,h3,h4,h5,h6,h1 a,h2 a,h3 a,h4 a,h5 a,h6 a{
    font-family: "Red Hat Display", sans-serif !important;
}
p,a,span{
    font-family: "Roboto", sans-serif !important;
}

.front-content a:hover{
    color: #212529;
}
/* Home page */
.upcoming-events .webcast_tag span{
    color: #ff2b2b;
}
.upcoming-events .webcast_tag span:hover{
    color: #f43c49;
}
.blog-img img{
    height: 100%;
    width: 100%;
    aspect-ratio: 16 / 9;
    -o-object-fit: cover;
    object-fit: cover;
}
.front-content .blog-box .blog-title h1{
    font-size: 38px;
    line-height: 40px;
}
.front-content .blog-box .blog-title{
    padding-top: 15px;
    padding-bottom: 15px;
}
.front-content .blog-box .blog-date-author .authorname, .front-content .blog-box .blog-date-author .dateblog{
    font-size: 12px;
    color: #212529;
}
.front-content .news-below{
    display: flex;
    align-items: flex-start;
    gap: 30px;
    margin-bottom: 30px;
}
.front-content .news-below .col_1{
    flex: 0 0 50%;
}
.front-content .news-below .col_1 img{
    width: 100%;
    height: 160px;
    display: block;
    object-fit: contain;
}
.front-content .news-below .news-content.col_2{
    flex: 1;
}
.front-content .news-below .news-content .cat_new a{
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    color: #333;
    text-decoration: none;
    border-bottom: 2px solid #e41e26;
    padding-bottom: 3px;
    display: inline-block;
    margin-bottom: 10px;
}
.front-content .news-below .news-blog-title h2{
    font-size: 22px;
    line-height: 28px;
}
.front-content .news-below .blog-date-author .authorname, .front-content .news-below .blog-date-author .dateblog{
    font-size: 12px;
    color: #212529;
}
.front-content .news-below .blog-text p{
    font-size: 16px;
    color: #212529;
}
.front-content .more_news, .latest_news .more_news{
    text-align: center;
    padding-bottom: 38px;
}
.front-content .more_news a, .latest_news .more_news a{
    background-color: #f10b1c;
    color: #fff;
    padding: 16px 40px;
    border-radius: 24px;
    font-size: 18px;
    font-weight: 500;
}
.front-content .new-slidebar .per_blog_text .per_title{
    font-size: 16px;
    font-weight: 500;
}
.front-content .new-slidebar .perspectives_blog{
    flex: 0 0 38%;
    max-width: 100px;
}
.front-content .new-slidebar .perspectives_blog img{
    object-fit: cover;
    aspect-ratio: 1;
    height: 83px;
    width: 83px;
}
.front-content .new-slidebar .per-date-author .authorname, .front-content .new-slidebar .per-date-author .dateblog{
     font-size: 12px;
    color: #212529;
}
.front-content .cat_persp{
    margin-bottom: 20px;
}
.front-content .cat_persp:after{
    border-bottom: 3px solid #e41e26;
    width: 50px;
    bottom: -5px;
    content: "";
    height: 3px;
    left: 15px;
    top: 35px;
    position: absolute;
}

.front-content .market_news .cat_market{
    margin-bottom: 20px;
}
.front-content .market_news .cat_market:after{
    border-bottom: 3px solid #e41e26;
    width: 50px;
    content: "";
    height: 3px;
    left: 0;
    top: 34px;
    position: absolute;
}
.front-content .new-slidebar.d-flex{
    border-bottom: 1px solid #555;
    padding-bottom: 10px;
    padding-top: 10px;
}
.front-content .more_per{
    font-size: 16px;
    text-transform: uppercase;
}
.front-content .market_news{
    position: relative;
    margin-top: 80px;
}

.front-content .cra_new .cat_cra_news:after{
    border-bottom: 3px solid #e41e26;
    width: 50px;
    content: "";
    height: 3px;
    left: 0;
    top: 34px;
    position: absolute;
}
.front-content .cra_new{
    position: relative;
    margin-top: 40px;
}
.front-content .cra_new .cat_cra_news{
    margin-bottom: 20px;
}
.front-content .cra_new .cra_title{
    border-bottom: 1px solid #555;
    padding-bottom: 10px;
    padding-top: 10px;
}
.front-content .cra_new .cra_title h3{
    font-size: 18px;
    margin-bottom: 4px;
}
.home_sidebar .top_mssp, .our_sponsors, .guest_insights{
    position: relative;
}
.home_sidebar .top_mssp h3:after{
    border-bottom: 3px solid #e41e26;
    width: 50px;
    content: "";
    height: 3px;
    left: 0;
    top: 34px;
    position: absolute;
}
.guest_insights{
    padding-top: 30px;
    padding-bottom: 20px;
}
.guest_insights h3{
    margin-bottom: 12px;
}
.guest_insights h3:after{
    border-bottom: 3px solid #e41e26;
    width: 50px;
    content: "";
    height: 3px;
    left: 0;
    top: 63px;
    position: absolute;
}
.our_sponsors h3:after{
    border-bottom: 3px solid #e41e26;
    width: 50px;
    content: "";
    height: 3px;
    left: 0;
    top: 34px;
    position: absolute;
}
.our_sponsors p{
    padding-top: 10px;
    margin-bottom: 10px;
}
.our_sponsors .sponsor_list ul{
    list-style: none;
    margin: 10px
}
.our_sponsors .sponsor_list ul li{
    border-bottom: 1px solid #dee2e6;
    padding-bottom: 3px;
}
.home_sidebar .whitepaper_top .top_wp strong, .home_sidebar .whitepaper_top .top_wp div{
    font-size: 16px;
}
.home_sidebar .whitepaper_top .top_wp{
    padding-top: 10px;
    padding-bottom: 20px;
}
.home_sidebar .whitepaper_top .download_btn{
    text-align: center;
    padding-top: 24px;
    margin-bottom: 40px;
}
.home_sidebar .whitepaper_top .download_btn a{
    background-color: #f10b1c;
    color: #fff;
    padding: 12px 24px;
    border-radius: 24px;
    font-size: 16px;
    font-weight: 600;
}
.subscribe_section{
    background-color: #333333;
    padding: 50px 0;
}
.upcoming-events, .sidebar-2{
    position: relative;
}
.upcoming-events #upen h3:after{
    border-bottom: 3px solid #e41e26;
    width: 50px;
    content: "";
    height: 3px;
    left: 15px;
    top: 63px;
    position: absolute;
}
#upen{
    padding-bottom: 20px;
    padding-top: 30px;
}
.upcoming-events .event_details{
    font-size: 18px;
    color: #000;
    font-weight: 700;
    line-height: 18px;
    width: 150px;
}
.upcoming-events .mounth-event{
    background: #000;
    color: #fff;
    padding: .5rem 1rem;
    text-transform: uppercase;
}
.upcoming-events .date_event{
    font-size: 90px;
    line-height: 90px;
    padding: .5rem 1rem;
}
.upcoming-events .time-event{
    border-top: 1px solid #000;
    padding: .5rem 1rem;
    color: #000;
    font-weight: 700;
    line-height: 18px;
}
.upcoming-events .webcast_tag{
    color: #f10b1c;
    text-transform: uppercase;
    font-size: 15px;
    font-weight: 700;
}
.upcoming-events .event_title h2{
    font-size: 26px;
    font-weight: 500;
    margin-bottom: .5em;
    line-height: 1.2;
}
.upcoming-events .event_title h2 a:hover{
    color: #666;
    text-decoration: underline;
}
.upcoming-events .event_short_text p{
    font-size: 14px;
    line-height: 20px;
    margin-bottom: 10px;
}
.upcoming-events .more_info_event{
    font-size: 14px;
    margin-top: 20px;
    text-transform: uppercase;
}
.upcoming-events .more_info_event:hover{
    color: #666;
}
.upcoming-events .view_all_webcast{
    text-align: center;
}
.sidebar-2{
    background-color: #eeecec;
    padding-top: 30px;
    padding-left: 15px;
    padding-right: 15px;
}
.most_read_2 h3{
    font-size: 25px;
}
.sidebar-2 .most_read_2 h3:after{
    border-bottom: 3px solid #e41e26;
    width: 50px;
    content: "";
    height: 3px;
    left: 15px;
    top: 61px;
    position: absolute;
}
#cybersecurity_cnews h3:after{
    border-bottom: 3px solid #e41e26;
    width: 50px;
    content: "";
    height: 3px;
    left: 15px;
    top: 92px;
    position: absolute;
}
#sidebar_2{
    padding-left: 0;
}
.sidebar-blog-2 .new-slidebar{
    gap: 20px;
    padding-bottom: 10px;
    padding-top: 10px;
}
.sidebar-blog-2 .perspectives_blog{
    flex: 0 0 38%;
    max-width: 100px;
}
.sidebar-blog-2 .perspectives_blog img{
    object-fit: cover;
    aspect-ratio: 1;
    height: 100px;
    width: 100px;
}
.per_blog_text .per_title{
    font-size: 16px;
}
.per_blog_text .per_title a:hover{
    color: #666;
}
.per-date-author .authorname, .per-date-author .dateblog{
    font-size: 12px;
}
.latest_news{
    margin-top: 40px;
}

#tagline_latest_news{
    text-transform: uppercase;
    font-weight: 600;
    line-height: 1.2;
    font-size: 1.4rem;
}
#tagline_latest_news{
    position: relative;
    margin-bottom: 24px;
}
#tagline_latest_news:after {
    background-color: #000;
    bottom: -5px;
    content: "";
    height: 3px;
    left: 0;
    position: absolute;
    width: 100%;
}
.cat_new_topic{
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    color: #333;
    text-decoration: none;
    border-bottom: 2px solid #e41e26;
    padding-bottom: 3px;
    display: inline-block;
    margin-bottom: 10px;
    width: 60px;
}
.latest_news_img img{
    aspect-ratio: 16 / 9;
    -o-object-fit: cover;
    object-fit: cover;
    min-width: 427px;
    height: auto;
    width: 500px;
}
.latest_news_list{
    gap: 1rem;
    flex-wrap: nowrap;
    padding-bottom: 65px;
}
.news_title h3{
    font-size: 22px;
    font-weight: 500;
    padding-bottom: 8px;
}
.news_title h3 a:hover{
    color: #666;
}
.news_content p{
    font-size: 14px;
    line-height: 23px;
}
.latest_news_img{
    width: 600px;
    height: 200px;
}
/* Whitepaper page */
.whitepaper-page .whitepaper-title h1{
    font-size: 38px;
}


@media (min-width: 922px) {
    .ast-container {
        max-width: 1320px;
    }
}

    @media screen and (max-width: 768px) {
        .front-content .news-below{
            display: flex;
            flex-direction: column !important;
            align-items: flex-start;
            gap: 30px;
            margin-bottom: 30px;
        }
        .front-content .news-below .col_1 img{
            width: 100%;
            height: auto;
           display: block;
           object-fit: contain;
        }
        .subscribe_section{
            padding: 50px 20px;
        }
        .upcoming-events{
            padding: 0px 20px;
        }
        .my-auto{
            display: flex;
            justify-content: center;
        }
        .latest_news_list{
            flex-direction: column !important;
          }
          .latest_news_img{
            width: 100%;
            height: auto;
          }
          .latest_news_img img{
            width: 100%;
            min-width: 100%;
          }
          .related-post{
            display: flex;
            gap: 20px;
            margin-bottom: 30px;
            flex-direction: column;
          }
          .Related-post:after {
            width: 96%;
          }
          
    }