* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Kalpurush', 'SolaimanLipi', Arial, sans-serif;
    background: #f5f5f5;
    color: #222;
    font-size: 15px;
    line-height: 1.5;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
    background: white;
    min-height: 100vh;
}

/* Page Title */
.page-title {
    text-align: center;
    font-size: 28px;
    font-weight: 700;
    color: #2E7D32;
    padding: 20px 0;
    border-bottom: 3px solid #2E7D32;
    margin-bottom: 30px;
}

/* Breadcrumb */
.breadcrumb {
    font-size: 13px;
    color: #666;
    margin-bottom: 15px;
}

.breadcrumb a {
    color: #2E7D32;
    text-decoration: none;
}

/* Topic Grid */
.topic-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    padding: 20px 0;
}

.topic-card {
    background: linear-gradient(135deg, #faf8f5, #f0ede8);
    padding: 25px 20px;
    border-radius: 10px;
    text-align: center;
    text-decoration: none;
    border: 2px solid #e0e0e0;
    transition: all 0.3s;
}

.topic-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    border-color: #2E7D32;
}

.topic-card h3 {
    font-size: 20px;
    color: #000;
    margin-bottom: 8px;
}

.topic-card p {
    font-size: 14px;
    color: #555;
}

/* Article Grid */
.article-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 15px;
    padding: 10px 0;
}

.article-card {
    background: linear-gradient(135deg, #faf8f5, #f0ede8);
    padding: 18px;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
}

.article-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.article-card h3 {
    font-size: 16px;
    color: #000;
    margin-bottom: 8px;
    line-height: 1.4;
}

.badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    position: absolute;
    top: 12px;
    right: 12px;
}

.badge-free {
    background: #4CAF50;
    color: white;
}

.badge-premium {
    background: #FF6F00;
    color: white;
}

/* Article Body - Newspaper Style */
article h1 {
    font-size: 26px;
    line-height: 1.3;
    margin-bottom: 20px;
    color: #111;
    font-weight: 700;
}

.article-body {
    font-size: 14px;
    line-height: 1.5;
    color: #222;
    text-align: justify;
}

.article-body h2 {
    font-size: 18px;
    font-weight: 700;
    color: #2E7D32;
    margin: 18px 0 10px;
    line-height: 1.3;
}

.article-body h3 {
    font-size: 16px;
    font-weight: 600;
    color: #1B5E20;
    margin: 15px 0 8px;
    line-height: 1.3;
}

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

.article-body ul,
.article-body ol {
    margin: 10px 0 10px 25px;
}

.article-body li {
    margin-bottom: 5px;
}

.article-body strong {
    font-weight: 700;
    color: #000;
}

/* Desktop: 2 Column Layout */
@media (min-width: 768px) {
    .article-body {
        column-count: 2;
        column-gap: 35px;
        column-rule: 1px solid #ddd;
    }
    
    .article-body h2 {
        column-span: all;
    }
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
}

.modal-box {
    background: white;
    margin: 10% auto;
    padding: 30px;
    width: 90%;
    max-width: 400px;
    border-radius: 12px;
    position: relative;
}

.close {
    position: absolute;
    right: 15px;
    top: 10px;
    font-size: 30px;
    cursor: pointer;
    color: #999;
}

.modal-box h2 {
    text-align: center;
    color: #2E7D32;
    margin-bottom: 12px;
}

.modal-box p {
    text-align: center;
    margin-bottom: 20px;
    color: #666;
}

.wa-btn {
    display: block;
    width: 100%;
    padding: 12px;
    background: #25D366;
    color: white;
    text-align: center;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    margin-bottom: 15px;
}

.divider {
    text-align: center;
    margin: 15px 0;
    color: #999;
    position: relative;
}

.divider::before,
.divider::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 42%;
    height: 1px;
    background: #ddd;
}

.divider::before { left: 0; }
.divider::after { right: 0; }

.modal-box form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.modal-box input {
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 14px;
}

.modal-box button {
    padding: 10px;
    background: #2E7D32;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
}

/* Loading */
.loading {
    text-align: center;
    padding: 40px;
    color: #999;
}

/* Mobile */
@media (max-width: 600px) {
    .container {
        padding: 15px;
    }
    
    .page-title {
        font-size: 22px;
    }
    
    .topic-grid {
        grid-template-columns: 1fr;
    }
    
    .article-grid {
        grid-template-columns: 1fr;
    }
    
    article h1 {
        font-size: 20px;
    }
    
    .article-body {
        font-size: 13px;
    }
  }
