/*
Theme Name: Astra Child
Template: astra
*/

/* ===== REMOVE ASTRA DEFAULT WIDTH ===== */

.ast-container{
    max-width:100% !important;
    width:100% !important;
    padding:0 !important;
    margin:0 !important;
}

.site-content{
    padding:0 !important;
    margin:0 !important;
}

.content-area{
    width:100% !important;
    margin:0 !important;
    padding:0 !important;
}

.site-main{
    width:100% !important;
    padding:0 !important;
    margin:0 !important;
}

.ast-separate-container #primary,
.ast-separate-container.ast-right-sidebar #primary,
.ast-separate-container.ast-left-sidebar #primary{
    margin:0 !important;
    width:100% !important;
}

.ast-plain-container.ast-no-sidebar #primary{
    margin-top:0 !important;
    margin-bottom:0 !important;
}

.single-post .entry-content{
    margin-top:0 !important;
}

:root{
    --yellow:#f9ca2b;
    --pink:#EC0962;
    --dark:#0f0f0f;
    --light:#ffffff;
    --glass:rgba(255,255,255,0.55);
    --border:rgba(255,255,255,0.2);
}

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{
    background:#f7f8fc;
    color:var(--dark);
    font-family:'Poppins',sans-serif;
    overflow-x:hidden;
}

/* MAIN WRAPPER */

.full-news-wrapper{
    width:100%;
    position:relative;
    overflow:hidden;
    background:
    linear-gradient(
        135deg,
        #fffdf5 0%,
        #ffffff 40%,
        #fff2f8 100%
    );
}
.news-container{

    width:100%;
    max-width:1800px;

    margin:auto;

    display:grid;

    grid-template-columns:
    280px
    minmax(0,1fr)
    340px;

    gap:35px;

    padding:
    40px
    clamp(20px,3vw,50px);

    align-items:start;

}

/* GLASS EFFECT */

.main-content{
    min-width:0;
}

.glass-card{

    background:
    rgba(255,255,255,0.6);

    backdrop-filter:blur(20px);

    -webkit-backdrop-filter:blur(20px);

    border:
    1px solid rgba(255,255,255,0.4);

    border-radius:32px;

    box-shadow:
    0 10px 40px rgba(0,0,0,0.04);

}

.glass-card{
    transition:
    transform .45s ease,
    box-shadow .45s ease;
}

.glass-card:hover{

    transform:
    translateY(-4px);

    box-shadow:
    0 20px 60px rgba(236,9,98,0.08);

}

.article-card{
    padding:45px;
}

.sticky-card{
    position:sticky;
    top:30px;
    padding:28px;
}
/* STICKY SIDEBAR */

.left-sidebar,
.right-sidebar{
    position:sticky;
    top:30px;
}

/* PREMIUM HEADINGS */

.sidebar-heading{
    font-size:22px;
    font-weight:700;
    margin-bottom:30px;
    position:relative;
    padding-left:18px;
}

.sidebar-heading::before{
    content:'';
    position:absolute;
    left:0;
    top:5px;
    width:5px;
    height:80%;
    background:linear-gradient(
        180deg,
        var(--yellow),
        var(--pink)
    );
    border-radius:30px;
}

/* CATEGORY */

.post-category a{
    display:inline-flex;
    align-items:center;
    gap:8px;
    background:linear-gradient(
        135deg,
        var(--yellow),
        #ffd95e
    );
    color:#111;
    text-decoration:none;
    padding:10px 22px;
    border-radius:50px;
    font-size:13px;
    font-weight:700;
    letter-spacing:.5px;
    transition:.4s ease;
}

.post-category a:hover{
    transform:translateY(-3px);
}

/* TITLE */

.post-title{
    font-size:32px;
    line-height:1.08;
    margin:28px 0;
    font-weight:900;
    letter-spacing:-2px;
}

/* META */

.post-meta{
    display:flex;
    gap:20px;
    color:#666;
    font-size:14px;
    margin-bottom:35px;
}

/* FEATURED IMAGE */

.featured-image{
    overflow:hidden;
    border-radius:32px;
    position:relative;
}

.featured-image img{
    width:100%;
    display:block;
    transition:1s ease;
}

.featured-image:hover img{
    transform:scale(1.05);
}

/* CONTENT */

.post-content{
    margin-top:50px;
    font-size:19px;
    line-height:2.1;
    color:#1a1a1a;
}

.post-content p{
    margin-bottom:35px;
}

/* SHARE */

.share-bar{
    display:flex;
    gap:16px;
    margin:45px 0;
    flex-wrap:wrap;
}

.share-bar a,
.share-bar button{
    width:58px;
    height:58px;
    border:none;
    border-radius:18px;
    display:flex;
    align-items:center;
    justify-content:center;
    background:rgba(255,255,255,0.7);
    backdrop-filter:blur(14px);
    color:#111;
    font-size:22px;
    cursor:pointer;
    transition:.45s ease;
    position:relative;
    overflow:hidden;
}

.share-bar a::before,
.share-bar button::before{
    content:'';
    position:absolute;
    inset:0;
    background:linear-gradient(
        135deg,
        var(--yellow),
        var(--pink)
    );
    opacity:0;
    transition:.4s;
    z-index:0;
}

.share-bar i{
    position:relative;
    z-index:2;
}

.share-bar a:hover::before,
.share-bar button:hover::before{
    opacity:1;
}

.share-bar a:hover,
.share-bar button:hover{
    color:#fff;
    transform:
        translateY(-6px)
        scale(1.08);
}

/* FOLLOW */

.follow-section{
    display:flex;
    gap:20px;
    margin-top:70px;
    flex-wrap:wrap;
}

.follow-section a{
    flex:1;
    min-width:220px;
    padding:18px 24px;
    border-radius:22px;
    background:linear-gradient(
        135deg,
        rgba(255,255,255,0.6),
        rgba(255,255,255,0.3)
    );
    backdrop-filter:blur(18px);
    text-decoration:none;
    color:#111;
    font-weight:700;
    transition:.45s;
    border:1px solid rgba(255,255,255,0.3);
}

.follow-section a:hover{
    background:linear-gradient(
        135deg,
        var(--yellow),
        var(--pink)
    );
    color:#fff;
    transform:translateY(-6px);
}

/* TAGS */

.post-tags{
    margin-top:60px;
}

.post-tags a{
    display:inline-block;
    margin:10px 12px 0 0;
    padding:12px 22px;
    border-radius:50px;
    text-decoration:none;
    color:#111;
    background:rgba(255,255,255,0.65);
    backdrop-filter:blur(10px);
    transition:.4s;
    font-size:14px;
    font-weight:600;
}

.post-tags a:hover{
    background:linear-gradient(
        135deg,
        var(--yellow),
        var(--pink)
    );
    color:#fff;
    transform:translateY(-3px);
}

/* TRENDING */

.trend-card{
    display:block;
    text-decoration:none;
    color:#111;
    margin-bottom:28px;
    transition:.45s;
}

.trend-card img{
    width:100%;
    border-radius:24px;
    margin-bottom:16px;
    transition:.5s;
}

.trend-card h4{
    font-size:17px;
    line-height:1.6;
}

.trend-card:hover{
    transform:translateY(-6px);
}

.trend-card:hover img{
    transform:scale(1.03);
}

/* SEARCH */

.search-box{
    margin-bottom:50px;
}

.search-box input{
    width:100%;
    height:60px;
    border:solid 1px;
    border-radius:20px;
    padding:0 20px;
    font-size:16px;
    background:rgba(255,255,255,0.75);
    backdrop-filter:blur(12px);
}

.search-submit {
    display: none;
}
/* BOTTOM BLOGS */

.bottom-posts{
    width:100%;
    padding:80px 40px;
}

.bottom-posts h2{
    font-size:46px;
    margin-bottom:50px;
    font-weight:900;
}

.bottom-grid{
    display:grid;
    grid-template-columns:
    repeat(auto-fit,minmax(320px,1fr));
    gap:35px;
}

.bottom-card{
    text-decoration:none;
    color:#111;
    transition:.5s;
}

.bottom-card img{
    width:100%;
    border-radius:30px;
    margin-bottom:18px;
    transition:.6s;
}

.bottom-card h3{
    font-size:18px;
    line-height:1.5;
    padding: 0px 10px 20px 10px;
}

.bottom-card:hover{
    transform:translateY(-10px);
}

.bottom-card:hover img{
    transform:scale(1.04);
}

/* MOBILE */

@media(max-width:1400px){

    .news-container{

        grid-template-columns:1fr;

    }

    .left-sidebar{
        order:2;
    }

    .main-content{
        order:1;
    }

    .right-sidebar{
        order:3;
    }

    .sticky-card{
        position:relative;
        top:0;
    }

}

@media(max-width:768px){

    .news-container{
        padding:20px;
        gap:24px;
    }

    .article-card,
    .sticky-card{
        padding:22px;
        border-radius:24px;
    }

    .post-title{
        font-size:38px;
        line-height:1.15;
        letter-spacing:-1px;
    }

    .post-content{
        font-size:17px;
        line-height:1.9;
    }

    .bottom-posts{
        padding:50px 20px;
    }

    .bottom-posts h2{
        font-size:34px;
    }

}