* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
ul li, ol li {
  list-style-position: inside;
}
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.ins_my{margin:0.3em auto; display:block; overflow:hidden; text-align:center;}
.navbar {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: relative;
    top: 0;
    z-index: 1000;
    padding: 0 1em;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.nav-logo h1 {
    color: #2c3e50;
    font-size: 28px;
    font-weight: 700;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 40px;
}

.nav-link {
    text-decoration: none;
    color: #666;
    font-weight: 500;
    font-size: 16px;
    transition: color 0.3s ease;
    padding: 10px 0;
}

.nav-link:hover,
.nav-link.active {
    color: #3498db;
}
a{text-decoration:none}

.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
    padding: 120px 0;
    margin-bottom: 80px;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 30px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 20px;
    margin-bottom: 40px;
    opacity: 0.9;
}

.hero-btn {
    background: #fff;
    color: #667eea;
    border: none;
    padding: 15px 40px;
    font-size: 18px;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.hero-btn:hover {
    transform: translateY(-2px);
}

.main-content {
    margin-bottom: 80px;
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    color: #2c3e50;
    text-align: center;
    margin-bottom: 60px;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: #3498db;
    border-radius: 2px;
}

.featured-posts {
    margin-bottom: 100px;
}

.featured-grid {
    display: grid;
    gap: 60px;
}

.featured-post {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.featured-post:hover {
    transform: translateY(-5px);
}

.post-image {
    width: 100%;
    height: 400px;
    overflow: hidden;
}

.post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.featured-post:hover .post-image img {
    transform: scale(1.05);
}

.post-content {
    padding: 40px;
}

.post-title {
    font-size: 28px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 20px;
    line-height: 1.3;
}

.post-excerpt {
    font-size: 16px;
    color: #666;
    line-height: 1.8;
    margin-bottom: 30px;
}

.post-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
}

.post-date,
.post-category {
    color: #999;
    font-size: 14px;
}

.post-category {
    background: #e3f2fd;
    color: #1976d2;
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: 500;
}

.read-more {
    display: inline-block;
    background: #3498db;
    color: white;
    text-decoration: none;
    padding: 12px 30px;
    border-radius: 25px;
    font-weight: 600;
    transition: background 0.3s ease;
}

.read-more:hover {
    background: #2980b9;
}

.latest-posts {
    margin-bottom: 80px;
}

.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
}

.post-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
}

.post-card:hover {
    transform: translateY(-3px);
}

.post-card .post-image {
    height: 250px;
}

.post-card .post-content {
    padding: 30px;
}

.post-card .post-title {
    font-size: 22px;
    margin-bottom: 15px;
}

.post-card .post-excerpt {
    margin-bottom: 20px;
}

.post-card .post-meta {
    margin-bottom: 0;
}

.article-page {
    margin-bottom: 60px;
}

.article-content {
    max-width: 800px;
    margin: 0 auto;
    margin-top: 40px;
}

.article-header {
    margin-bottom: 50px;
}

.article-title {
    font-size: 42px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 25px;
    line-height: 1.2;
}

.article-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    color: #666;
    font-size: 14px;
}

.article-tags {
    display: flex;
    gap: 10px;
}

.tag {
    background: #e3f2fd;
    color: #1976d2;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
}

.article-body {
    font-size: 18px;
    line-height: 1.8;
    color: #444;
}

.article-hero-image {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 15px;
    margin-bottom: 40px;
}

.article-intro {
    font-size: 20px;
    color: #666;
    font-style: italic;
    margin-bottom: 40px;
    padding: 20px;
    background: #f8f9fa;
    border-left: 4px solid #3498db;
    border-radius: 0 10px 10px 0;
}

.article-body h2 {
    font-size: 28px;
    font-weight: 700;
    color: #2c3e50;
    margin: 50px 0 25px 0;
}

.article-body p {
    margin-bottom: 25px;
}

.comments-section {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 2px solid #eee;
}

.comments-section h3 {
    font-size: 24px;
    color: #2c3e50;
    margin-bottom: 30px;
}

.comment-form {
    margin-bottom: 40px;
}

.comment-input {
    width: 100%;
    min-height: 120px;
    padding: 20px;
    border: 2px solid #e1e8ed;
    border-radius: 15px;
    font-size: 16px;
    font-family: inherit;
    resize: vertical;
    margin-bottom: 20px;
}

.comment-input:focus {
    outline: none;
    border-color: #3498db;
}

.comment-submit ,#nextlink{
    background: #3498db;
    color: white;
    border: none;
    padding: 12px 30px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 25px;
    cursor: pointer;
    transition: background 0.3s ease;
  text-align: center;
  margin: 0 auto;width: 20em;
  display: block;
}

.comment-submit:hover {
    background: #2980b9;
}

.sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.sidebar-widget {
    background: #fff;
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.sidebar-widget h3 {
    font-size: 20px;
    color: #2c3e50;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #eee;
}

.author-info {
    text-align: center;
}

.author-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin-bottom: 20px;
}

.author-info h4 {
    font-size: 18px;
    color: #2c3e50;
    margin-bottom: 15px;
}

.author-info p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

.related-posts {
    list-style: none;
}
hr{display:none}
.related-posts li {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.related-posts li:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.related-posts a {
    color: #3498db;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.related-posts a:hover {
    color: #2980b9;
}

.footer {
    background: #2c3e50;
    color: white;
    padding: 60px 0 20px 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    font-size: 20px;
    margin-bottom: 20px;
    color: #ecf0f1;
}

.footer-section p {
    color: #bdc3c7;
    line-height: 1.6;
    margin-bottom: 10px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #3498db;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #34495e;
    color: #95a5a6;
}

@media (max-width: 768px) {
    .nav-menu {
        gap: 20px;
    }
    
    .hero-title {
        font-size: 36px;
    }
    
    .hero {
        padding: 80px 0;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .article-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .article-title {
        font-size: 32px;
    }
    
    .posts-grid {
        grid-template-columns: 1fr;
    }
    
    .post-content {
        padding: 25px;
    }
    
    .sidebar {
        position: static;
    }
#nextlink{
  width: 75% !important;
  display: block;
  text-align: center;
  margin: 0 auto;
}
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-title {
        font-size: 28px;
    }
    
    .hero-subtitle {
        font-size: 16px;
    }
    
    .post-content {
        padding: 20px;
    }
    
    .article-body {
        font-size: 16px;
    }
} 