/* ========================================
   Post Page
   ======================================== */
.single-article {
    max-width: 800px;
    margin: var(--space-10) auto 120px auto;
}

/* ========================================
   Post Header
   ======================================== */
.post-header {
    margin-bottom: var(--space-6);
}

.post-header-meta {
    margin-bottom: var(--space-3);
}

.post-header-tags {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2);
    margin-bottom: var(--space-4);
}

.post-header-tag {
    display: inline-block;
    padding: var(--space-1) var(--space-3);
    font-size: var(--text-sm);
    font-weight: var(--font-medium);
    color: var(--color-text-secondary);
    background-color: var(--color-grey-50);
    border: 1px solid #edf0f2;
    border-radius: var(--radius-sm);
    text-decoration: none;
    transition: background-color var(--transition-fast), color var(--transition-fast);
}

.post-header-tag:hover {
    background: #f1f4fb;
    border: 1px solid #cfe0f9;
}

.post-title {
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: var(--font-bold);
    line-height: 1.2;
    color: var(--color-text-primary);
    margin: 0 0 var(--space-4) 0;
}

/* ========================================
   Post Meta
   ======================================== */
.post-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--space-2);
    font-size: var(--text-sm);
    color: var(--color-text-muted);
}

.post-meta-sep {
    color: var(--color-grey-400);
}

.post-updated {
    color: var(--color-text-muted);
}

.post-author {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    color: var(--color-text-secondary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.post-author:hover {
    color: var(--color-brand);
}

.post-author-avatar {
    width: 28px;
    height: 28px;
    border-radius: var(--radius-full);
    object-fit: cover;
}

.post-author-avatar-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--color-grey-200);
    color: var(--color-grey-600);
}

.post-author-name {
    font-weight: var(--font-medium);
}

/* ========================================
   Feature Image
   ======================================== */
.post-feature-image {
    margin: var(--space-8) 0 0 0;
}

.post-feature-image img {
    width: 100%;
    height: auto;
    border: 1px solid #e5e5e5;
    border-radius: var(--radius-md);
}

.post-feature-caption {
    margin-top: var(--space-3);
    font-size: var(--text-sm);
    color: var(--color-text-muted);
    text-align: center;
}



/* ========================================
   Post Content
   ======================================== */
.post-content {
    font-size: var(--text-lg);
    line-height: 1.75;
    color: var(--color-text-secondary);
    margin-top: var(--space-5);
}

.post-content > * + * {
    margin-top: var(--space-5);
}

/* Headings */
.post-content h2 {
    font-family: var(--font-heading);
    font-size: var(--text-2xl);
    font-weight: var(--font-semibold);
    color: var(--color-text-primary);
    margin-top: var(--space-10);
    margin-bottom: var(--space-4);
}

.post-content h3 {
    font-family: var(--font-heading);
    font-size: var(--text-xl);
    font-weight: var(--font-semibold);
    color: var(--color-text-primary);
    margin-top: var(--space-8);
    margin-bottom: var(--space-3);
}

.post-content h4 {
    font-family: var(--font-heading);
    font-size: var(--text-lg);
    font-weight: var(--font-semibold);
    color: var(--color-text-primary);
    margin-top: var(--space-6);
    margin-bottom: var(--space-3);
}

/* Paragraph */
.post-content p {
    font-size: var(--text-base);
    line-height: var(--leading-relaxed);
    color: var(--color-text-secondary);
}

/* Links */
.post-content a,
.post-content a strong {
    color: var(--color-brand);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.post-content a:hover,
.post-content a strong:hover {
    color: var(--color-brand-hover);
}

/* Bold & Italic */
.post-content strong {
    font-weight: var(--font-semibold);
    color: var(--color-text-primary);
}

.post-content em {
    font-style: italic;
}

/* Lists */
.post-content ul,
.post-content ol {
    padding-left: var(--space-6);
}

.post-content ul {
    list-style-type: disc;
}

.post-content ol {
    list-style-type: decimal;
}

.post-content li {
    font-size: var(--text-base);
    line-height: var(--leading-relaxed);
    margin-bottom: var(--space-2);
}

.post-content li::marker {
    color: var(--color-grey-500);
}

/* Blockquote */
.post-content blockquote {
    border-left: 3px solid var(--color-brand);
    padding-left: var(--space-5);
    margin-left: 0;
    margin-right: 0;
    font-style: italic;
    color: var(--color-text-secondary);
}

/* Horizontal Rule */
.post-content hr {
    border: none;
    height: 1px;
    background-color: var(--color-border);
    margin: var(--space-8) 0;
}

/* Images */
.post-content img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-md);
}

.post-content figure {
    margin: var(--space-6) 0;
}

.post-content figcaption {
    margin-top: var(--space-2);
    font-size: var(--text-sm);
    color: var(--color-text-muted);
    text-align: center;
}

/* Tables */

.post-content .wp-block-table {
    box-sizing: border-box;
    display: block;
    overflow-x: auto;
    max-width: 100%;
    width: 100%;
}

.post-content table {
    width: 100%;
    border-collapse: collapse;
    font-size: 15px;
}

.post-content th,
.post-content td {
    padding: var(--space-3) var(--space-4);
    text-align: left;
    border-bottom: 1px solid var(--color-border);
}

.post-content th {
    font-weight: var(--font-semibold);
    color: var(--color-text-primary);
    background-color: var(--color-grey-50);
}


/* Callout Card */

.post-content .kg-card {
    margin: var(--space-6) 0;
}

.post-content .kg-callout-card {
    display: flex;
    gap: var(--space-3);
    padding: var(--space-4);
    border-radius: var(--radius-md);
    background-color: var(--color-grey-50);
}

.post-content .kg-callout-card-grey {
    background-color: var(--color-grey-100);
}

.post-content .kg-callout-card-white {
    background-color: var(--color-surface);
    border: 1px solid var(--color-border);
}

.post-content .kg-callout-card-blue {
    background-color: #e8f0fe;
}

.post-content .kg-callout-card-green {
    background-color: #e6f4ea;
}

.post-content .kg-callout-card-yellow {
    background-color: #fef7e0;
}

.post-content .kg-callout-card-red {
    background-color: #fce8e6;
}

.post-content .kg-callout-card-pink {
    background-color: #fce4ec;
}

.post-content .kg-callout-card-purple {
    background-color: #f3e8fd;
}

.post-content .kg-callout-emoji {
    flex-shrink: 0;
    font-size: var(--text-xl);
}

.post-content .kg-callout-text {
    font-size: var(--text-base);
    line-height: var(--leading-relaxed);
    color: var(--color-text-secondary);
}

/* Toggle Card */
.post-content .kg-toggle-card {
    padding: var(--space-4);
    background: var(--color-surface-alt);
    border-radius: var(--radius-md);
}

.post-content .kg-toggle-heading h3 {
    font-family: var(--font-heading);
    font-size: var(--text-base);
    font-weight: var(--font-semibold);
    color: var(--color-text-primary);
    margin-top: 0;
    margin-bottom: var(--space-2);
}

.post-content .kg-toggle-content p{
    font-size: var(--text-sm);
    line-height: var(--leading-relaxed);
    color: var(--color-text-secondary);
}

/* ========================================
   WhatsApp CTA
   ======================================== */
@keyframes whatsapp-pulse {
    0%, 100% {
        border-color: #25d366;
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.4);
    }
    50% {
        border-color: #128c7e;
        box-shadow: 0 0 8px 2px rgba(37, 211, 102, 0.3);
    }
}

.whatsapp-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-2);
    padding: 10px 12px;
    margin-top: var(--space-5);
    background-color: #f0fdf4;
    border: 2px solid #25d366;
    border-radius: var(--radius-md);
    animation: whatsapp-pulse 2s ease-in-out infinite;
}

.whatsapp-cta-info {
    display: flex;
    align-items: center;
    gap: var(--space-3);
}

.whatsapp-cta-icon {
    flex-shrink: 0;
    color: #25d366;
}

.whatsapp-cta-text {
    font-size: var(--text-sm);
    font-weight: var(--font-semibold);
    color: var(--color-text-primary);
}

.whatsapp-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-2) var(--space-4);
    font-size: var(--text-sm);
    font-weight: var(--font-medium);
    color: #fff;
    background-color: #25d366;
    border-radius: 6px;
    text-decoration: none;
    transition: background-color var(--transition-fast);
}

.whatsapp-cta-btn:hover {
    background-color: #128c7e;
    color: #fff;
}

.whatsapp-cta-btn svg {
    flex-shrink: 0;
}

/* ========================================
   Telegram CTA
   ======================================== */
@keyframes telegram-pulse {
    0%, 100% {
        border-color: #2AABEE;
        box-shadow: 0 0 0 0 rgba(42, 171, 238, 0.4);
    }
    50% {
        border-color: #229ED9;
        box-shadow: 0 0 8px 2px rgba(42, 171, 238, 0.3);
    }
}

.telegram-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-2);
    padding: 10px 12px;
    margin-top: var(--space-5);
    background-color: #f0f8ff;
    border: 2px solid #2AABEE;
    border-radius: var(--radius-md);
    animation: telegram-pulse 2s ease-in-out infinite;
}

.telegram-cta-info {
    display: flex;
    align-items: center;
    gap: var(--space-3);
}

.telegram-cta-icon {
    flex-shrink: 0;
    color: #2AABEE;
}

.telegram-cta-text {
    font-size: var(--text-sm);
    font-weight: var(--font-semibold);
    color: var(--color-text-primary);
}

.telegram-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-2) var(--space-4);
    font-size: var(--text-sm);
    font-weight: var(--font-medium);
    color: #fff;
    background-color: #2AABEE;
    border-radius: 6px;
    text-decoration: none;
    transition: background-color var(--transition-fast);
}

.telegram-cta-btn:hover {
    background-color: #229ED9;
    color: #fff;
}

.telegram-cta-btn svg {
    flex-shrink: 0;
}

/* ========================================
   Responsive - Mobile
   ======================================== */
@media (max-width: 767px) {
    .single-article {
        margin: var(--space-6) auto 80px auto;
    }

    .post-title {
        font-size: 24px;
    }

    .post-content {
        font-size: var(--text-base);
    }

    .whatsapp-cta-info {
        gap: var(--space-2);
    }

    .telegram-cta-info {
        gap: var(--space-2);
    }

}













/*=========================================================
    Free Job Alert and Bihar Sarkari Job page custom styles
   =======================================================*/

/* Default page css override */

.post-1024 .single-article,
.post-263 .single-article {
    max-width: 100%;
    margin: 0 auto 80px auto;
}

.post-1024 .post-content table,
.post-263 .post-content table {
    font-size: var(--text-sm);
}

.post-1024 .post-content .kg-callout-card,
.post-263 .post-content .kg-callout-card {
    align-items: center;
}

.post-1024 .post-content .kg-callout-text a,
.post-263 .post-content .kg-callout-text a {
    text-decoration: none;
}

.custom-post-header {
    background-color: var(--color-grey-50);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: var(--space-4);
    margin-top: var(--space-5);
}

.custom-post-header .post-title {
    font-size: var(--text-xl);
    line-height: 1.4;
    margin: 0 0 var(--space-2) 0;
}

.custom-post-header .short-description {
    font-size: 15px;
}

.custom-post-header .short-description a {
    text-decoration: none;
}


@media (max-width: 767px) {
    .custom-post-header .post-title {
        margin: 0;
    }

    .custom-post-header .short-description {
        display: none;
    }
}



/* 2x2 Sections Grid */

.category-job-title {
    margin-bottom: var(--space-4);
}

.sections-grid {
    display: grid;
    gap: var(--space-6);
    grid-template-columns: 1fr;
    margin-top: var(--space-6);
}

@media (min-width: 768px) {
    .sections-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Section Card */
.section-card {
    background: var(--color-surface);
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border);
    overflow: hidden;
}

/* Section Header */
.section-header {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-4);
    border-bottom: 1px solid var(--color-border);
}

.section-icon {
    width: 28px;
    height: 28px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.section-icon svg {
    width: 14px;
    height: 14px;
    color: #fff;
}

.section-icon-blue {
    background: var(--color-brand);
}

.section-icon-green {
    background: var(--color-green);
}

.section-icon-yellow {
    background: var(--color-yellow);
}

.section-icon-red {
    background: var(--color-red);
}

.section-icon-purple {
    background: var(--color-purple);
}

h3.section-title {
    flex: 1;
    font-family: var(--font-heading);
    font-size: var(--text-base);
    font-weight: var(--font-semibold);
    color: var(--color-text-primary);
    margin-top: 0;
    margin-bottom: 0;
}

a.section-link {
    font-size: var(--text-xs);
    font-weight: var(--font-medium);
    color: var(--color-brand);
    text-decoration: none;
    white-space: nowrap;
}

a.section-link:hover {
    text-decoration: underline;
}

/* Section List */
.section-list {
    display: flex;
    flex-direction: column;
}

/* Section Item */
a.section-item {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-3) var(--space-4);
    text-decoration: none;
    transition: background var(--transition-fast);
    border-bottom: 1px solid var(--color-border-light);
}

a.section-item:last-child {
    border-bottom: none;
}

a.section-item:hover {
    background: var(--color-grey-50);
}

/* Item Main Content */
.item-main {
    flex: 1;
    min-width: 0;
}

.item-title {
    font-size: var(--text-sm);
    font-weight: var(--font-normal);
    color: var(--color-text-primary);
    line-height: var(--leading-tight);
    margin-bottom: 2px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color var(--transition-fast);
}

.section-item:hover .item-title {
    color: var(--color-brand);
}

/* Posts Count */
.item-posts {
    font-size: var(--text-xs);
    color: var(--color-text-muted);
}

/* Item Date - Last Date */
.item-date {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    flex-shrink: 0;
    text-align: right;
}

.date-label {
    font-size: 9px;
    font-weight: var(--font-medium);
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 2px;
}

.date-value {
    font-size: var(--text-xs);
    font-weight: var(--font-semibold);
    color: var(--color-red);
}

/* Date colour per category section */
.item-date-green .date-value {
    color: #1e7e34;
}

.item-date-yellow .date-value {
    color: #b45309;
}

.item-date-purple .date-value {
    color: #8430ce;
}

/* Item Badge - Fallback when a post has no date label + date value */
.item-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-1);
    padding: 3px var(--space-2);
    font-size: 10px;
    font-weight: var(--font-semibold);
    border-radius: var(--radius-full);
    flex-shrink: 0;
}

.item-badge svg {
    width: 10px;
    height: 10px;
}

.item-badge-blue {
    background: #e8f0fe;
    color: var(--color-brand);
}

.item-badge-green {
    background: #e6f4ea;
    color: #1e7e34;
}

.item-badge-yellow {
    background: #fef7e0;
    color: #b45309;
}

.item-badge-red {
    background: #fce8e6;
    color: #c5221f;
}

.item-badge-purple {
    background: #f3e8fd;
    color: #8430ce;
}




/* Custom cards before the faqs */

.fja-card {
    background: var(--color-grey-50);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 28px;
    margin-bottom: var(--space-6);
}

.fja-card-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: var(--space-5);
}

h2.fja-card-title {
    font-size: var(--text-lg);
    margin: 0;
}

.fja-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 18px;
    background: #fff;
}

ul.fja-checklist {
    list-style: none;
    padding: 0 0 0 12px;
    margin: 0;
}

.fja-checklist li {
    font-family: var(--font-body);
    font-size: var(--text-sm);
    color: var(--color-grey-800);
    margin-bottom: var(--space-4);
}

.fja-checklist li:last-child {
    margin-bottom: 0;
}

.fja-checklist a {
    text-decoration: none;
    font-weight: var(--font-medium);
}

.fja-checklist a:hover {
    text-decoration: underline;
}

.fja-check {
    color: var(--color-brand);
    margin-right: 5px;
}

.fja-tags-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 10px;
}

@media (max-width: 831px) {
    .fja-tags-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 601px) {
    .fja-tags-grid {
        grid-template-columns: 1fr;
    }
}

.fja-tag {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 10px 12px;
    font-size: 13px;
}

.fja-tag span {
    font-size: 16px;
}