/* =====================================
   PROFESSIONAL BLOG CSS
   By CollegeAdmi
===================================== */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
    font-family:Arial, Helvetica, sans-serif;
    background:#f5f7fa;
    color:#333;
    line-height:1.8;
}

/* ======================
   HEADER
====================== */

header{
    width:100%;
    background:#ffffff;
    border-bottom:1px solid #dcdcdc;
    padding:35px 8%;
}
/* ================= H1 ================= */

header h1{
font-size:23px;
font-weight:700;
color:#1a202c;
line-height:1;
max-width:620px;
margin:auto;
padding:1px 0;   /* SPACE KAM */
}

/* ================= MOBILE ================= */

@media(max-width:768px){

header{
padding:2px 5px;   /* HEADER HEIGHT KAM */
}

header h1{
font-size:18px;
line-height:1.2;
padding:1px 0;   /* MOBILE SPACE BHI KAM */
max-width:95%;
}

}
/* ================= BLOG HEADER ================= */
header{
    padding:30px 20px;
    text-align:center;
    background:#e2e8f0;

    /* DOT PATTERN */
    background-image: radial-gradient(#b8c2cc 1.5px, transparent 1.5px);
    background-size:16px 16px;

    border-bottom:4px solid;
    border-image: linear-gradient(135deg,#141e30,#243b55);
    border-image-slice:1;
}

h1{
    font-size:28px;
    color:#1a202c;
}




/* ======================
   BLOG CONTENT
====================== */

.blog-content{

    width:100%;
    background:#ffffff;

    padding:40px 8%;

}

/* Paragraph */

.blog-content p{

    font-size:17px;
    color:#444;
    margin-bottom:22px;
    text-align:justify;

}

/* Links */

.blog-content a{

    color:#0056b3;
    text-decoration:none;
    font-weight:600;

}

.blog-content a:hover{

    text-decoration:underline;

}

/* ======================
   HEADINGS
====================== */

.blog-content h2{

    font-size:31px;
    color:#1f2937;
    font-weight:700;

    margin-top:55px;
    margin-bottom:20px;

    padding-bottom:12px;

    border-bottom:2px solid #e5e7eb;

}

.blog-content h3{

    font-size:25px;
    color:#374151;
    margin:35px 0 15px;
    font-weight:700;

}

.blog-content h4{

    font-size:20px;
    color:#4b5563;
    margin-bottom:12px;

}

/* ======================
   TABLE
====================== */

.blog-content table{

    width:100%;
    border-collapse:collapse;
    margin:35px 0;

}

.blog-content table th{

    background:#2f3b52;
    color:#fff;
    padding:15px;
    text-align:left;
    font-size:16px;

}

.blog-content table td{

    border:1px solid #dddddd;
    padding:14px;
    font-size:15px;

}

.blog-content table tr:nth-child(even){

    background:#fafafa;

}

.blog-content table tr:hover{

    background:#f2f5f9;

}

/* ======================
   LIST
====================== */

.blog-content ul{

    padding-left:25px;
    margin:25px 0;

}

.blog-content li{

    margin-bottom:12px;
    color:#444;

}

/* ======================
   INFO BOX
====================== */

.info-box{

    background:#f8fafc;
    border:1px solid #d9dee5;
    border-left:5px solid #2f3b52;
    padding:25px;
    margin:35px 0;
    border-radius:8px;

}

/* ======================
   BUTTON
====================== */

.btn{

    display:inline-block;
    background:#2f3b52;
    color:#ffffff;
    text-decoration:none;

    padding:15px 30px;

    border-radius:6px;

    transition:.3s;

    margin-top:20px;

}

.btn:hover{

    background:#1f2937;

}

/* ======================
   URL BOX
====================== */

.url-section{

    background:#fafafa;

    border:1px solid #dddddd;

    padding:25px;

    margin-top:45px;

    border-radius:8px;

}

.url-section h3{

    margin-bottom:15px;

}

.url-section p{

    margin-bottom:10px;

    word-break:break-word;

}

/* ======================
   IMAGE
====================== */

.blog-content img{

    width:100%;
    height:auto;
    border-radius:8px;
    margin:30px 0;

}

/* ======================
   BLOCKQUOTE
====================== */

blockquote{

    background:#f8fafc;

    border-left:4px solid #2f3b52;

    padding:20px;

    margin:30px 0;

    font-style:italic;

}

/* ======================
   HR
====================== */

.blog-content hr{

    border:none;

    border-top:1px solid #ddd;

    margin:40px 0;

}

/* ======================
   RESPONSIVE
====================== */

@media(max-width:992px){

header{

padding:25px;

}

.blog-content{

padding:25px;

}

header h1{

font-size:34px;

}

.blog-content h2{

font-size:28px;

}

}

@media(max-width:768px){

header{

padding:20px 16px;

}

.blog-content{

padding:20px 16px;

}

header h1{

font-size:28px;

}

.blog-content h2{

font-size:24px;

}

.blog-content h3{

font-size:21px;

}

.blog-content p,
.blog-content li{

font-size:16px;

}

.blog-content table{

display:block;

overflow-x:auto;

white-space:nowrap;

}

.blog-content table th,
.blog-content table td{

font-size:14px;

}

.btn{

width:100%;

text-align:center;

}

.info-box{

padding:18px;

}

}