/* ============================================
   STYLE.CSS - Custom Styles
   ============================================
   Post content (AI generated HTML) ki styling.
   Tailwind post ke andar ke raw HTML par apply
   nahi hota, isliye yahan manually style karte hain.
*/

/* Post content ke headings */
.post-content h2 {
    font-size: 1.35rem;
    font-weight: 700;
    color: #b91c1c; /* red-700 */
    margin: 1.5rem 0 0.6rem;
    padding-bottom: 0.3rem;
    border-bottom: 2px solid #fecaca;
}

.post-content h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: #1e3a8a; /* blue-900 */
    margin: 1.2rem 0 0.5rem;
}

/* Paragraphs */
.post-content p {
    margin: 0.7rem 0;
    line-height: 1.8;
    color: #1f2937;
}

/* Lists */
.post-content ul, .post-content ol {
    margin: 0.7rem 0 0.7rem 1.5rem;
    line-height: 1.8;
}
.post-content ul { list-style: disc; }
.post-content ol { list-style: decimal; }

/* Links */
.post-content a {
    color: #1d4ed8;
    font-weight: 600;
    text-decoration: underline;
}
.post-content a:hover { color: #b91c1c; }

/* Tables (Important Dates, Vacancy Details etc.) */
.post-content table,
.post-content .job-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0;
    font-size: 0.95rem;
}
.post-content table th,
.post-content table td {
    border: 1px solid #d1d5db;
    padding: 0.6rem 0.8rem;
    text-align: left;
}
.post-content table th {
    background: #b91c1c;
    color: #fff;
    font-weight: 700;
}
.post-content table tr:nth-child(even) {
    background: #f9fafb;
}

/* Mobile par table scroll ho sake */
@media (max-width: 640px) {
    .post-content table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }
}


/* Blinking NEW / TRENDING badge */
@keyframes blink-anim {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.35; }
}
.blink { animation: blink-anim 1.2s infinite; }
