/* ======================================================
   EASYTAMILTOOLS BLOG SYSTEM
   Premium News Style
====================================================== */


/* ======================================================
   GLOBAL LAYOUT
====================================================== */

.blog-content{
    max-width:900px;
    margin:90px auto;
    padding:0 20px;
}


/* ======================================================
   CATEGORY PAGE GRID
====================================================== */

.article-grid{
    display:grid;
    grid-template-columns:repeat(auto-fill,minmax(280px,1fr));
    gap:28px;
    margin-top:30px;
}

.article-card{
    /* background:#ffffff; */
    border-radius:16px;
    overflow:hidden;
    /* border:1px solid #e2e8f0; */
    box-shadow:0 8px 25px rgba(0,0,0,0.06);
    transition:all .3s ease;
    position:relative;
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(10px);
    border:1px solid rgba(255,255,255,0.3);
}

.article-card:hover{
    transform:translateY(-6px);
    /* box-shadow:0 18px 40px rgba(0,0,0,0.15); */
    box-shadow:0 20px 50px rgba(37,99,235,0.25);
}



/* ARTICLE IMAGE */

.article-image img{
    width:100%;
    height:210px;
    object-fit:cover;
    transition:transform .4s ease;
}

.article-card:hover img{
    transform:scale(1.06);
}


/* ARTICLE CONTENT */

.article-content{
    padding:20px;
    display:flex;
    flex-direction:column;
    flex:1;
}

.article-content h2{
    font-size:18px;
    font-weight:700;
    line-height:1.45;
    margin-bottom:10px;
}

.article-content p{
    font-size:14px;
    color:#64748b;
    margin-bottom:15px;
    flex:1;
}

.read-more{
    display:inline-flex;   /* முக்கியம் */
    align-items:center;
    gap:6px;

    width:auto;            /* force fix */
    max-width:max-content; /* prevent stretch */

    padding:6px 12px;
    background:#b1c2e9;
    color:#fff;

    border-radius:20px;
    font-size:12px;
    font-weight:600;

    transition:all 0.25s ease;
}
/* Optional arrow animation */
.read-more::after{
    content:"→";
    font-size:12px;
    transition:0.3s;
}

.read-more:hover::after{
    transform:translateX(3px);
}
.article-content a.read-more{
    align-self:flex-start;
}
/* ======================================================
   POST PAGE
====================================================== */

.post-title{
    font-size:36px;
    font-weight:800;
    line-height:1.35;
    margin-bottom:18px;
    color:#0f172a;
}

.meta-info{
    font-size:14px;
    color:#64748b;
    margin-bottom:25px;
}

.post-image img{
    width:100%;
    border-radius:14px;
    margin-bottom:35px;
    box-shadow:0 10px 28px rgba(0,0,0,0.12);
}


/* ======================================================
   BLOG CONTENT TYPOGRAPHY
====================================================== */

.article-content h2{
    font-size:26px;
    font-weight:700;
    margin-top:45px;
    margin-bottom:16px;
}

.article-content h3{
    font-size:21px;
    font-weight:700;
    margin-top:35px;
    margin-bottom:14px;
}

.article-content p{
    font-size:18px;
    line-height:1.9;
    margin-bottom:20px;
    color:#1e293b;
}

.article-content ul{
    padding-left:22px;
    margin-bottom:22px;
}

.article-content li{
    font-size:17px;
    margin-bottom:10px;
}

.article-content a{
    color:#2563eb;
    text-decoration:none;
    font-weight:600;
    border-bottom:2px solid #2563eb;
}

.article-content a:hover{
    color:#000;
    border-color:#000;
}


/* ======================================================
   SHARE BUTTONS
====================================================== */

.share-buttons{
    display:flex;
    gap:12px;
    margin:25px 0;
}

.share-btn{
    width:42px;
    height:42px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:50%;
    background:#f1f5f9;
    color:#334155;
    font-size:17px;
    transition:.3s;
}

.share-btn:hover{
    transform:translateY(-4px);
    color:#fff;
}

.share-btn.fb:hover{background:#1877f2;}
.share-btn.tw:hover{background:#000;}
.share-btn.wa:hover{background:#25d366;}


/* ======================================================
   INTERNAL TOOLS
====================================================== */

.internal-tools{
    background:#f8fafc;
    padding:28px;
    border-radius:14px;
    margin-top:40px;
}

.internal-tools h3{
    font-size:20px;
    margin-bottom:16px;
}

.internal-tools ul{
    padding-left:20px;
}

.internal-tools li{
    margin-bottom:10px;
}


/* ======================================================
   RELATED POSTS
====================================================== */

.related-posts{
    margin-top:60px;
}

.related-posts h3{
    margin-bottom:20px;
    font-size:22px;
}

.related-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
    gap:20px;
}

.related-card{
    background:#fff;
    border-radius:12px;
    overflow:hidden;
    text-decoration:none;
    color:#111;
    box-shadow:0 6px 18px rgba(0,0,0,0.08);
    transition:.3s;
}

.related-card:hover{
    transform:translateY(-5px);
    box-shadow:0 12px 28px rgba(0,0,0,0.15);
}

.related-card img{
    width:100%;
    height:140px;
    object-fit:cover;
}

.related-card h4{
    padding:12px;
    font-size:15px;
    line-height:1.4;
}


/* ======================================================
   COMMENTS SYSTEM
====================================================== */

.comments-section{
    margin-top:65px;
}

.comment-form{
    display:flex;
    flex-direction:column;
    gap:14px;
    margin-bottom:35px;
}

.comment-form input,
.comment-form textarea{
    padding:12px;
    border-radius:8px;
    border:1px solid #e2e8f0;
    font-size:14px;
}

.comment-form textarea{
    min-height:90px;
}

.comment-form button{
    background:#2563eb;
    color:#fff;
    border:none;
    padding:10px;
    border-radius:8px;
    font-weight:600;
    cursor:pointer;
}

.comment-form button:hover{
    background:#1d4ed8;
}


/* COMMENT BOX */

.comment-box{
    background:#f8fafc;
    padding:18px;
    border-radius:12px;
    margin-bottom:16px;
}

.comment-header{
    display:flex;
    justify-content:space-between;
    margin-bottom:8px;
    font-size:14px;
}

.comment-date{
    color:#64748b;
}

.reply-btn{
    background:none;
    border:none;
    color:#2563eb;
    font-weight:600;
    cursor:pointer;
}


/* REPLIES */

.reply-box{
    background:#e2e8f0;
    padding:12px;
    border-radius:8px;
    margin-top:12px;
    margin-left:25px;
}


/* ======================================================
   CATEGORY SEO CONTENT
====================================================== */

.category-seo-content{
    max-width:900px;
    margin:80px auto;
    padding:30px;
    background:#ffffff;
    border-radius:16px;
    border:1px solid #e2e8f0;
    box-shadow:0 10px 30px rgba(0,0,0,0.05);
}

.category-seo-content h2{
    font-size:24px;
    font-weight:700;
    margin-bottom:15px;
    color:#0f172a;
}

.category-seo-content h3{
    font-size:20px;
    font-weight:600;
    margin-top:25px;
}

.category-seo-content p{
    margin-bottom:16px;
    font-size:17px;
}


/* ======================================================
   RESPONSIVE DESIGN
====================================================== */

@media(max-width:768px){

    .post-title{
        font-size:26px;
    }

    .article-content p{
        font-size:16px;
    }

    .article-content h2{
        font-size:22px;
    }

    .article-image img{
        height:170px;
    }

}


/* ======================================================
   MOBILE STICKY SHARE BAR
====================================================== */

@media(max-width:768px){

.share-buttons{
    position:fixed;
    bottom:0;
    left:0;
    width:100%;
    background:#fff;
    padding:10px;
    display:flex;
    justify-content:space-around;
    box-shadow:0 -3px 10px rgba(0,0,0,0.2);
    z-index:999;
}

.share-btn{
    font-size:18px;
}

}
/* catagory page news portal style code 19-03-2026 */
/* CATEGORY TITLE */
.category-title{
    font-size:32px;
    font-weight:800;
    margin-bottom:25px;
    color:#0f172a;
    position:relative;
}

.category-title::after{
    content:'';
    width:60px;
    height:4px;
    background:#2563eb;
    position:absolute;
    bottom:-8px;
    left:0;
    border-radius:4px;
}
.views{
    font-size:12px;
    color:#64748b;
    margin-top:8px;
}
.article-image{
    overflow:hidden;
    position:relative;

}
.article-image::after{
    content:'';
    position:absolute;
    bottom:0;
    left:0;
    width:100%;
    height:60%;
    background:linear-gradient(to top,rgba(0,0,0,0.7),transparent);
}

.article-image img{
    transition:transform .5s ease;
}

.article-card:hover .article-image img{
    transform:scale(1.08);
}
.category-seo-content ul{
    padding-left:18px;
}

.category-seo-content li{
    margin-bottom:8px;
    font-size:15px;
}
.category-seo-content a{
    color:#2563eb;
    font-weight:600;
}

.category-seo-content a:hover{
    text-decoration:underline;
}
.category-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
    gap:20px;
    margin-top:30px;
}

.category-box{
    padding:25px;
    border-radius:16px;
    color:#fff;
    text-decoration:none;
    transition:0.3s;
    position:relative;
    overflow:hidden;
}

.category-box .icon{
    font-size:30px;
    margin-bottom:10px;
}

.category-box h3{
    font-size:20px;
    font-weight:700;
}

.category-box p{
    font-size:14px;
    opacity:0.9;
}

/* Different gradients */
.category-box.ott{background:linear-gradient(135deg,#ff512f,#dd2476);}
.category-box.tech{background:linear-gradient(135deg,#2193b0,#6dd5ed);}
.category-box.news{background:linear-gradient(135deg,#11998e,#38ef7d);}
.category-box.ent{background:linear-gradient(135deg,#fc466b,#3f5efb);}

.category-box:hover{
    transform:translateY(-6px);
    box-shadow:0 12px 30px rgba(0,0,0,0.2);
}
.category-badge{
    position:absolute;
    top:10px;
    left:10px;
    background:#2563eb;
    color:#fff;
    padding:4px 10px;
    border-radius:20px;
    font-size:11px;
    font-weight:600;
}