/* ========================================================
   SarkariExam Authentic Post Details Stylesheet
   Reference: sarkariexam.com
   ======================================================== */

.sarkari-post-page {
    max-width: 960px;
    margin: 18px auto 40px;
    padding: 0 12px;
    font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
    color: #172033;
    box-sizing: border-box;
}

/* 1. Breadcrumb */
.sarkari-post-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 7px;
    font-size: 13px;
    padding: 9px 14px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    margin-bottom: 14px;
}

.sarkari-post-breadcrumb a {
    color: #8B0000;
    font-weight: 700;
    text-decoration: none;
    transition: color 0.15s ease;
}

.sarkari-post-breadcrumb a:hover {
    color: #b31b20;
    text-decoration: underline;
}

.breadcrumb-sep {
    color: #94a3b8;
    font-size: 14px;
}

.breadcrumb-current {
    color: #475569;
    font-weight: 600;
    max-width: 520px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* 2. Post Header Block */
.sarkari-post-header {
    text-align: center;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    padding: 20px 24px 18px;
    margin-bottom: 16px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.04);
}

.sarkari-post-org {
    color: #061d4a;
    font-size: 15px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}

.sarkari-post-title {
    color: #8B0000;
    font-size: clamp(21px, 3.2vw, 28px);
    font-weight: 800;
    line-height: 1.34;
    margin: 8px auto 12px;
    max-width: 880px;
}

.sarkari-post-meta {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 13px;
    color: #64748b;
    padding-top: 8px;
    border-top: 1px dashed #e2e8f0;
}

.sarkari-post-meta strong {
    color: #1e293b;
}

.sarkari-post-meta a {
    color: #8B0000;
    font-weight: 700;
    text-decoration: none;
}

.sarkari-post-meta a:hover {
    text-decoration: underline;
}

.meta-divider {
    color: #cbd5e1;
}

/* 3. WhatsApp & Social Action Bar */
.sarkari-action-bar {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin: 16px 0 20px;
}

.sarkari-btn-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #25D366;
    color: #ffffff !important;
    font-size: 14.5px;
    font-weight: 800;
    padding: 10px 22px;
    border-radius: 30px;
    text-decoration: none !important;
    box-shadow: 0 2px 8px rgba(37, 211, 102, 0.35);
    transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.sarkari-btn-whatsapp:hover {
    background: #20ba5a;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.45);
    color: #ffffff !important;
}

.sarkari-btn-share {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: #075e54;
    color: #ffffff !important;
    font-size: 13.5px;
    font-weight: 700;
    padding: 10px 18px;
    border-radius: 30px;
    text-decoration: none !important;
    transition: transform 0.15s ease, background 0.15s ease;
}

.sarkari-btn-share:hover {
    background: #054c44;
    transform: translateY(-2px);
    color: #ffffff !important;
}

.sarkari-btn-print {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #ffffff;
    color: #334155;
    border: 1px solid #cbd5e1;
    font-size: 13.5px;
    font-weight: 700;
    padding: 9px 16px;
    border-radius: 30px;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease;
}

.sarkari-btn-print:hover {
    background: #f1f5f9;
    color: #0f172a;
}

/* 4. Short Information Highlight Box */
.sarkari-short-info-box {
    background: #fffdf5;
    border: 1px solid #f6db9e;
    border-left: 5px solid #ef6c00;
    padding: 14px 18px;
    border-radius: 4px;
    margin-bottom: 22px;
    font-size: 14px;
    line-height: 1.65;
    color: #2d3748;
}

.info-tag {
    color: #c62828;
    font-weight: 800;
    margin-right: 6px;
}

/* 5. Main Information Card */
.sarkari-main-table-card {
    background: #ffffff;
    border: 2px solid #8B0000;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 28px;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.06);
}

.sarkari-table-main-heading {
    background: #8B0000;
    color: #ffffff;
    text-align: center;
    padding: 12px 18px;
    border-bottom: 2px solid #730000;
}

.sarkari-table-main-heading h2,
.sarkari-table-main-heading .sarkari-table-title-text {
    margin: 0;
    font-size: clamp(17px, 2.5vw, 22px);
    font-weight: 800;
    color: #ffffff;
    letter-spacing: 0.3px;
}

/* 2-Column Split: Dates & Fee */
.sarkari-split-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-bottom: 1px solid #8B0000;
}

.col-dates {
    border-right: 1px solid #8B0000;
}

.sarkari-col-header-banner {
    background: #061d4a;
    color: #ffffff;
    text-align: center;
    padding: 10px 14px;
    border-bottom: 1px solid #041433;
}

.sarkari-col-header-banner h2,
.sarkari-col-header-banner h3 {
    margin: 0;
    font-size: 15.5px;
    font-weight: 800;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.sarkari-col-content-body {
    padding: 16px 18px;
    font-size: 13.5px;
    line-height: 1.7;
    color: #1e293b;
    background: #ffffff;
}

/* Full Width Sections (Age Limit, Vacancy, How to Apply) */
.sarkari-full-section {
    border-bottom: 1px solid #8B0000;
}

.sarkari-section-header-banner {
    background: #061d4a;
    color: #ffffff;
    text-align: center;
    padding: 10px 14px;
    border-bottom: 1px solid #041433;
}

.sarkari-section-header-banner h2,
.sarkari-section-header-banner h3 {
    margin: 0;
    font-size: 15.5px;
    font-weight: 800;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.sarkari-section-content-body {
    padding: 18px 20px;
    font-size: 14px;
    line-height: 1.75;
    color: #1e293b;
    background: #ffffff;
}

/* Rich HTML Typography & Tables */
.rich-html p {
    margin: 0 0 10px;
}

.rich-html p:last-child {
    margin-bottom: 0;
}

.rich-html strong, 
.rich-html b {
    font-weight: 800;
    color: #0f172a;
}

.rich-html ul, 
.rich-html ol {
    margin: 8px 0 10px 22px;
    padding: 0;
}

.rich-html li {
    margin-bottom: 6px;
    line-height: 1.6;
}

.rich-html a {
    color: #0000cc;
    font-weight: 700;
    text-decoration: underline;
}

.rich-html a:hover {
    color: #b31b20;
}

/* Table styling inserted from Summernote / Rich Text */
.rich-html table {
    width: 100%;
    margin: 12px 0;
    border-collapse: collapse;
    font-size: 13.5px;
}

.rich-html th, 
.rich-html td {
    padding: 9px 12px;
    border: 1px solid #cbd5e1;
    text-align: left;
    vertical-align: top;
}

.rich-html th {
    background: #eef2ff;
    color: #061d4a;
    font-weight: 800;
    text-align: center;
}

.rich-html tr:nth-child(even) td {
    background: #f8fafc;
}

/* 6. Signature Important Links Section */
.sarkari-important-links-block {
    background: #ffffff;
}

.sarkari-links-header-banner {
    background: #8B0000;
    color: #ffffff;
    text-align: center;
    padding: 12px 18px;
    border-bottom: 1px solid #730000;
}

.sarkari-links-header-banner h2,
.sarkari-links-header-banner h3 {
    margin: 0;
    font-size: 16.5px;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: 0.5px;
}

.sarkari-links-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.sarkari-links-table tr {
    border-bottom: 1px solid #e2e8f0;
    transition: background 0.12s ease;
}

.sarkari-links-table tr:nth-child(even) {
    background: #fcfcfd;
}

.sarkari-links-table tr:hover {
    background: #f0f7ff;
}

.link-label-cell {
    padding: 13px 20px;
    width: 65%;
    color: #0f172a;
    font-weight: 700;
    font-size: 14px;
}

.link-action-cell {
    padding: 11px 20px;
    width: 35%;
    text-align: center;
}

.sarkari-link-click-btn {
    display: inline-block;
    background: #0000cc;
    color: #ffffff !important;
    font-weight: 800;
    font-size: 13.5px;
    padding: 7px 22px;
    border-radius: 4px;
    text-decoration: none !important;
    box-shadow: 0 1px 3px rgba(0, 0, 204, 0.25);
    transition: background 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

.sarkari-link-click-btn:hover {
    background: #000099;
    transform: translateY(-1px);
    box-shadow: 0 3px 6px rgba(0, 0, 204, 0.35);
    color: #ffffff !important;
}

.sarkari-link-activate-soon {
    display: inline-block;
    background: #fef2f2;
    color: #dc2626;
    border: 1px solid #fca5a5;
    font-weight: 800;
    font-size: 13px;
    padding: 6px 16px;
    border-radius: 4px;
    letter-spacing: 0.3px;
    white-space: nowrap;
}

.no-links-cell {
    padding: 16px 20px;
    text-align: center;
    color: #64748b;
    font-style: italic;
}

/* 7. Official Notice Bottom Banner */
.sarkari-official-notice-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 16px 22px;
    background: #fffbe8;
    border-top: 1px solid #fae8a4;
}

.official-card-text strong {
    color: #8B0000;
    font-size: 14.5px;
    display: block;
    margin-bottom: 4px;
    font-weight: 800;
}

.official-card-text p {
    margin: 0;
    color: #475569;
    font-size: 13px;
    line-height: 1.5;
}

.sarkari-official-direct-btn {
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    background: #8B0000;
    color: #ffffff !important;
    font-weight: 800;
    font-size: 13.5px;
    padding: 10px 18px;
    border-radius: 4px;
    text-decoration: none !important;
    flex-shrink: 0;
    transition: background 0.15s ease, transform 0.15s ease;
}

.sarkari-official-direct-btn:hover {
    background: #a30000;
    transform: translateY(-1px);
    color: #ffffff !important;
}

/* 8. Related / Latest Updates Block */
.sarkari-related-card {
    background: #ffffff;
    border: 1px solid #b31b20;
    border-radius: 4px;
    overflow: hidden;
    margin-top: 26px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.sarkari-related-header {
    background: #8B0000;
    color: #ffffff;
    padding: 11px 18px;
    text-align: center;
}

.sarkari-related-header h2,
.sarkari-related-header h3 {
    margin: 0;
    font-size: 16px;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: 0.3px;
}

.sarkari-related-list {
    list-style: disc;
    margin: 0;
    padding: 16px 20px 16px 36px;
}

.sarkari-related-list li {
    margin-bottom: 10px;
    line-height: 1.45;
}

.sarkari-related-list li:last-child {
    margin-bottom: 0;
}

.sarkari-related-list a {
    color: #0000cc;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: color 0.15s ease;
}

.sarkari-related-list a:hover {
    text-decoration: underline;
    color: #b31b20;
}

.sarkari-related-more {
    padding: 10px 18px;
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
    text-align: right;
}

.sarkari-related-more a {
    color: #8B0000;
    font-weight: 800;
    font-size: 13px;
    text-decoration: none;
}

.sarkari-related-more a:hover {
    text-decoration: underline;
}

/* ========================================================
   Responsive Media Queries
   ======================================================== */
@media (max-width: 768px) {
    .sarkari-split-grid {
        grid-template-columns: 1fr;
    }

    .col-dates {
        border-right: none;
        border-bottom: 1px solid #8B0000;
    }

    .breadcrumb-current {
        max-width: 240px;
    }

    .sarkari-post-title {
        font-size: 20px;
    }

    .sarkari-official-notice-card {
        flex-direction: column;
        text-align: center;
    }

    .sarkari-official-direct-btn {
        width: 100%;
        justify-content: center;
        box-sizing: border-box;
    }

    .link-label-cell {
        width: 58%;
        padding: 10px 12px;
        font-size: 13px;
    }

    .link-action-cell {
        width: 42%;
        padding: 10px 12px;
    }

    .sarkari-link-click-btn {
        padding: 6px 14px;
        font-size: 12.5px;
    }

    .sarkari-link-activate-soon {
        padding: 5px 10px;
        font-size: 12px;
    }

    .rich-html table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }
}

@media (max-width: 480px) {
    .sarkari-action-bar {
        flex-direction: column;
        width: 100%;
    }

    .sarkari-btn-whatsapp,
    .sarkari-btn-share,
    .sarkari-btn-print {
        width: 100%;
        justify-content: center;
        box-sizing: border-box;
    }

    .sarkari-post-header {
        padding: 16px 14px;
    }

    .sarkari-col-content-body,
    .sarkari-section-content-body {
        padding: 12px 14px;
    }
}

/* ========================================================
   Print Styles
   ======================================================== */
@media print {
    .sarkari-header-container,
    .sarkari-action-bar,
    .sarkari-related-card,
    footer,
    .ad-placement {
        display: none !important;
    }

    .sarkari-post-page {
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .sarkari-main-table-card {
        border: 1px solid #000 !important;
        box-shadow: none !important;
    }

    .sarkari-col-header-banner,
    .sarkari-section-header-banner,
    .sarkari-links-header-banner,
    .sarkari-table-main-heading {
        background: #eee !important;
        color: #000 !important;
    }

    .sarkari-col-header-banner h2,
    .sarkari-col-header-banner h3,
    .sarkari-section-header-banner h2,
    .sarkari-section-header-banner h3,
    .sarkari-links-header-banner h2,
    .sarkari-links-header-banner h3,
    .sarkari-table-main-heading h2,
    .sarkari-table-main-heading .sarkari-table-title-text {
        color: #000 !important;
    }

    .sarkari-link-click-btn {
        background: none !important;
        color: #000 !important;
        border: 1px solid #999;
    }

    .sarkari-link-activate-soon {
        background: none !important;
        color: #555 !important;
        border: 1px dashed #999;
    }
}
