/* index.css */
.hero-section {
    text-align: center;
    padding: 40px 20px;
    background: #ebf8ff;
    border-bottom: 1px solid #e2e8f0;
    margin-bottom: 30px;
}

.hero-section h2 { color: #2b6cb0; font-size: 2.2rem; margin-bottom: 10px; }
.hero-section p { color: #4a5568; font-size: 1.1rem; }

/* CSS Grid for Posts */
.post-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.card {
    background: #ffffff;
    padding: 25px;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.02);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px rgba(0,0,0,0.05);
}

.card h2 a { color: #2b6cb0; text-decoration: none; font-size: 1.5rem; }
.card h2 a:visited { color: #6b46c1; } /* Violet color for visited links */

/* In-Feed Ad Space */
.in-feed-ad {
    grid-column: 1 / -1; /* Ad पूरे ग्रिड की चौड़ाई लेगा */
    background: #f7fafc;
    border: 1px dashed #cbd5e0;
    padding: 20px;
    text-align: center;
    color: #a0aec0;
    border-radius: 8px;
    margin: 10px 0;
}

/* Submission Box */
.submission-box {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    border-top: 5px solid #2b6cb0;
    margin: 50px 0;
}

.submission-box h3 { color: #2b6cb0; font-size: 1.8rem; margin-bottom: 15px; text-align: center; }
.submit-form { display: grid; gap: 15px; }
.submit-form input, .submit-form select, .submit-form textarea {
    width: 100%; padding: 12px; border: 1px solid #cbd5e0; border-radius: 6px; font-family: inherit; font-size: 1rem;
}
.submit-btn {
    background: #2b6cb0; color: white; border: none; padding: 15px; font-size: 1.2rem;
    border-radius: 6px; cursor: pointer; font-weight: bold; transition: background 0.3s;
}
.submit-btn:hover { background: #1a4971; }