/**
 * SNI Results & Exams Sync - Production Stylesheet
 * Portal: results.sarkarinaukriindia.com
 *
 * Typography: Plus Jakarta Sans (Headings), DM Sans (Body)
 * Category Accents:
 *   - Results: #10b981 (Emerald Green)
 *   - Admit Cards: #2563eb (Royal Blue)
 *   - Answer Keys: #f59e0b (Amber/Orange)
 *   - Syllabus: #8b5cf6 (Vibrant Purple)
 *   - Exam Dates: #6366f1 (Indigo)
 */

/* ==========================================================================
   1. Root Variables & Typography Tokens
   ========================================================================== */
:root {
    --sni-font-heading: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --sni-font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

    /* Category Accent Themes */
    --sni-result-green: #10b981;
    --sni-result-green-dark: #059669;
    --sni-result-green-light: #ecfdf5;
    --sni-result-green-border: #a7f3d0;

    --sni-admit-blue: #2563eb;
    --sni-admit-blue-dark: #1d4ed8;
    --sni-admit-blue-light: #eff6ff;
    --sni-admit-blue-border: #bfdbfe;

    --sni-answer-amber: #f59e0b;
    --sni-answer-amber-dark: #d97706;
    --sni-answer-amber-light: #fffbeb;
    --sni-answer-amber-border: #fde68a;

    --sni-syllabus-purple: #8b5cf6;
    --sni-syllabus-purple-dark: #7c3aed;
    --sni-syllabus-purple-light: #f5f3ff;
    --sni-syllabus-purple-border: #ddd6fe;

    --sni-dates-indigo: #6366f1;
    --sni-dates-indigo-light: #eef2ff;

    /* Neutral & Background Tokens */
    --sni-text-main: #0f172a;
    --sni-text-body: #334155;
    --sni-text-muted: #64748b;
    --sni-bg-page: #f8fafc;
    --sni-bg-card: #ffffff;
    --sni-border-subtle: #e2e8f0;
    --sni-border-card: #cbd5e1;

    /* Elevation & Radii */
    --sni-radius-sm: 6px;
    --sni-radius-md: 10px;
    --sni-radius-lg: 16px;
    --sni-radius-full: 9999px;
    --sni-shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.05);
    --sni-shadow-md: 0 4px 16px -2px rgba(15, 23, 42, 0.08);
    --sni-shadow-lg: 0 12px 28px -4px rgba(15, 23, 42, 0.12);
}

body {
    font-family: var(--sni-font-body);
    color: var(--sni-text-body);
    background-color: var(--sni-bg-page);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--sni-font-heading);
    color: var(--sni-text-main);
    font-weight: 700;
    line-height: 1.25;
}

/* Screen reader only utility */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ==========================================================================
   2. Header Notice / Topbar Cross-Linking
   ========================================================================== */
.sni-crosslink-topbar {
    background: linear-gradient(90deg, #1e293b 0%, #0f172a 100%);
    color: #ffffff;
    font-size: 0.88rem;
    padding: 10px 16px;
    border-bottom: 2px solid #2563eb;
    position: relative;
    z-index: 9999;
}

.sni-crosslink-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    text-align: center;
}

.sni-topbar-badge {
    background: #ef4444;
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 2px 8px;
    border-radius: var(--sni-radius-full);
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.sni-topbar-text {
    color: #e2e8f0;
}

.sni-topbar-link {
    color: #60a5fa;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: color 0.15s ease;
}

.sni-topbar-link:hover,
.sni-topbar-link:focus {
    color: #93c5fd;
    text-decoration: underline;
}

.sni-topbar-close {
    background: none;
    border: none;
    color: #94a3b8;
    font-size: 1.25rem;
    cursor: pointer;
    line-height: 1;
    margin-left: 8px;
    padding: 0 4px;
}

.sni-topbar-close:hover {
    color: #ffffff;
}

/* ==========================================================================
   3. Hero Search & Category Quick Chips [sni_results_hero]
   ========================================================================== */
.sni-results-hero-wrapper {
    background: linear-gradient(180deg, #ffffff 0%, #f1f5f9 100%);
    border: 1px solid var(--sni-border-subtle);
    border-radius: var(--sni-radius-lg);
    padding: 40px 24px;
    text-align: center;
    margin: 20px auto 35px auto;
    max-width: 1200px;
    box-shadow: var(--sni-shadow-sm);
}

.sni-hero-pill-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    color: #2563eb;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: var(--sni-radius-full);
    margin-bottom: 16px;
}

.sni-hero-headline {
    font-size: 2.25rem;
    margin: 0 0 10px 0;
    color: var(--sni-text-main);
    letter-spacing: -0.025em;
}

.sni-hero-subline {
    font-size: 1.05rem;
    color: var(--sni-text-muted);
    max-width: 760px;
    margin: 0 auto 28px auto;
}

.sni-hero-search-box {
    max-width: 820px;
    margin: 0 auto 24px auto;
}

.sni-search-inputs-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    background: #ffffff;
    padding: 6px;
    border: 2px solid #cbd5e1;
    border-radius: var(--sni-radius-md);
    box-shadow: var(--sni-shadow-md);
    transition: border-color 0.2s ease;
}

.sni-search-inputs-wrap:focus-within {
    border-color: #2563eb;
}

.sni-search-field {
    flex: 1 1 300px;
    display: flex;
    align-items: center;
    padding: 0 12px;
    color: #64748b;
}

.sni-search-field input {
    width: 100%;
    border: none;
    outline: none;
    font-size: 0.95rem;
    font-family: var(--sni-font-body);
    padding: 8px 6px;
    color: var(--sni-text-main);
}

.sni-select-field {
    flex: 0 1 200px;
    border-left: 1px solid var(--sni-border-subtle);
    padding: 0 8px;
    display: flex;
    align-items: center;
}

.sni-select-field select {
    width: 100%;
    border: none;
    outline: none;
    background: transparent;
    font-size: 0.9rem;
    font-family: var(--sni-font-body);
    color: var(--sni-text-body);
    cursor: pointer;
    padding: 8px 4px;
}

.sni-hero-submit-btn {
    background: #10b981;
    color: #ffffff;
    border: none;
    font-family: var(--sni-font-heading);
    font-weight: 700;
    font-size: 0.95rem;
    padding: 12px 24px;
    border-radius: var(--sni-radius-sm);
    cursor: pointer;
    transition: background-color 0.15s ease, transform 0.1s ease;
}

.sni-hero-submit-btn:hover,
.sni-hero-submit-btn:focus {
    background: #059669;
    transform: translateY(-1px);
}

.sni-hero-quick-chips {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
}

.chips-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--sni-text-muted);
}

.chip-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.82rem;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: var(--sni-radius-full);
    text-decoration: none;
    transition: all 0.15s ease;
}

.chip-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
}

.chip-result {
    background: var(--sni-result-green-light);
    color: var(--sni-result-green-dark);
    border: 1px solid var(--sni-result-green-border);
}
.chip-result .chip-dot { background: var(--sni-result-green); }

.chip-admit {
    background: var(--sni-admit-blue-light);
    color: var(--sni-admit-blue-dark);
    border: 1px solid var(--sni-admit-blue-border);
}
.chip-admit .chip-dot { background: var(--sni-admit-blue); }

.chip-answer {
    background: var(--sni-answer-amber-light);
    color: var(--sni-answer-amber-dark);
    border: 1px solid var(--sni-answer-amber-border);
}
.chip-answer .chip-dot { background: var(--sni-answer-amber); }

.chip-syllabus {
    background: var(--sni-syllabus-purple-light);
    color: var(--sni-syllabus-purple-dark);
    border: 1px solid var(--sni-syllabus-purple-border);
}
.chip-syllabus .chip-dot { background: var(--sni-syllabus-purple); }

.chip-dates {
    background: var(--sni-dates-indigo-light);
    color: var(--sni-dates-indigo);
    border: 1px solid #c7d2fe;
}
.chip-dates .chip-dot { background: var(--sni-dates-indigo); }

.chip-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--sni-shadow-sm);
}

/* ==========================================================================
   4. Classic Sarkari 4-Column Board Layout [sni_results_four_column]
   ========================================================================== */
.sni-four-column-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    max-width: 1200px;
    margin: 30px auto;
}

.sni-column-card {
    background: #ffffff;
    border: 1px solid var(--sni-border-card);
    border-radius: var(--sni-radius-md);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: var(--sni-shadow-sm);
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.sni-column-card:hover {
    box-shadow: var(--sni-shadow-md);
    transform: translateY(-2px);
}

/* Distinct Header Colors */
.sni-column-card .column-header {
    padding: 12px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #ffffff;
}

.header-green { background: linear-gradient(135deg, #10b981 0%, #059669 100%); }
.header-blue { background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%); }
.header-amber { background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%); }
.header-purple { background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%); }

.column-title-group {
    display: flex;
    align-items: center;
    gap: 8px;
}

.column-title-group h3 {
    margin: 0;
    font-size: 1.1rem;
    color: #ffffff;
    font-weight: 700;
}

.view-more-link {
    color: #ffffff;
    font-size: 0.8rem;
    font-weight: 600;
    text-decoration: none;
    opacity: 0.9;
    padding: 2px 6px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.18);
    transition: background 0.15s ease;
}

.view-more-link:hover {
    background: rgba(255, 255, 255, 0.3);
    opacity: 1;
}

/* Column Body Updates List */
.column-body {
    flex: 1;
    padding: 8px 0;
}

.sni-update-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sni-update-list li {
    border-bottom: 1px dashed var(--sni-border-subtle);
}

.sni-update-list li:last-child {
    border-bottom: none;
}

.sni-update-list a {
    display: block;
    padding: 10px 14px;
    text-decoration: none;
    color: var(--sni-text-main);
    transition: background-color 0.15s ease;
}

.sni-update-list a:hover {
    background-color: #f8fafc;
}

.sni-update-list .update-title {
    display: block;
    font-size: 0.88rem;
    font-weight: 600;
    line-height: 1.35;
    margin-bottom: 4px;
    color: #1e293b;
}

.sni-update-list a:hover .update-title {
    color: #2563eb;
}

.sni-update-list .update-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.76rem;
    color: var(--sni-text-muted);
}

.badge-declared {
    background: #ecfdf5;
    color: #059669;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 4px;
}

.badge-admit {
    background: #eff6ff;
    color: #1d4ed8;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 4px;
}

.badge-answer {
    background: #fffbeb;
    color: #d97706;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 4px;
}

.badge-syllabus {
    background: #f5f3ff;
    color: #7c3aed;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 4px;
}

.empty-col {
    padding: 20px;
    color: var(--sni-text-muted);
    font-size: 0.88rem;
    text-align: center;
}

/* ==========================================================================
   5. Category Feeds & Grid Shortcodes
   ========================================================================== */
.sni-feed-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 18px;
    max-width: 1200px;
    margin: 24px auto;
}

.sni-feed-card {
    background: #ffffff;
    border: 1px solid var(--sni-border-subtle);
    border-radius: var(--sni-radius-md);
    padding: 18px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: var(--sni-shadow-sm);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.sni-feed-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--sni-shadow-md);
}

.card-green-edge { border-top: 4px solid var(--sni-result-green); }
.card-blue-edge { border-top: 4px solid var(--sni-admit-blue); }
.card-amber-edge { border-top: 4px solid var(--sni-answer-amber); }
.card-purple-edge { border-top: 4px solid var(--sni-syllabus-purple); }

.card-meta-top {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    font-size: 0.8rem;
}

.meta-badge {
    font-weight: 700;
    padding: 2px 8px;
    border-radius: var(--sni-radius-full);
}

.badge-green { background: #ecfdf5; color: #059669; }
.badge-blue { background: #eff6ff; color: #1d4ed8; }
.badge-amber { background: #fffbeb; color: #d97706; }
.badge-purple { background: #f5f3ff; color: #7c3aed; }

.meta-org {
    color: var(--sni-text-muted);
    font-weight: 600;
}

.meta-state {
    color: #94a3b8;
}

.card-title {
    font-size: 1.05rem;
    margin: 0 0 14px 0;
    line-height: 1.35;
}

.card-title a {
    color: var(--sni-text-main);
    text-decoration: none;
    transition: color 0.15s ease;
}

.card-title a:hover {
    color: #2563eb;
}

.card-footer-action {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 12px;
    border-top: 1px solid #f1f5f9;
    font-size: 0.82rem;
}

.date-info {
    color: var(--sni-text-muted);
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.btn-check-result,
.btn-download-admit,
.btn-check-key,
.btn-download-syllabus {
    padding: 6px 14px;
    border-radius: var(--sni-radius-sm);
    font-weight: 700;
    text-decoration: none;
    transition: all 0.15s ease;
}

.btn-check-result { background: var(--sni-result-green); color: #ffffff; }
.btn-check-result:hover { background: var(--sni-result-green-dark); }

.btn-download-admit { background: var(--sni-admit-blue); color: #ffffff; }
.btn-download-admit:hover { background: var(--sni-admit-blue-dark); }

.btn-check-key { background: var(--sni-answer-amber); color: #ffffff; }
.btn-check-key:hover { background: var(--sni-answer-amber-dark); }

.btn-download-syllabus { background: var(--sni-syllabus-purple); color: #ffffff; }
.btn-download-syllabus:hover { background: var(--sni-syllabus-purple-dark); }

/* ==========================================================================
   6. Single Result Template Styling [single-result.php]
   ========================================================================== */
.sni-single-result-wrapper {
    max-width: 1040px;
    margin: 20px auto 50px auto;
    padding: 0 16px;
}

/* Breadcrumbs */
.sni-breadcrumbs-bar {
    margin-bottom: 18px;
    font-size: 0.88rem;
    color: var(--sni-text-muted);
}

.sni-breadcrumbs-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
}

.sni-breadcrumbs-list a {
    color: #2563eb;
    text-decoration: none;
}

.sni-breadcrumbs-list a:hover {
    text-decoration: underline;
}

.breadcrumb-sep {
    color: #94a3b8;
}

.breadcrumb-current {
    color: var(--sni-text-main);
    font-weight: 600;
}

/* Main Result Card */
.sni-result-card-main {
    background: #ffffff;
    border: 1px solid var(--sni-border-card);
    border-radius: var(--sni-radius-lg);
    padding: 32px 28px;
    box-shadow: var(--sni-shadow-sm);
    position: relative;
    overflow: hidden;
}

/* Category Accent Strip on Top of Card */
.theme-result .sni-result-card-main { border-top: 6px solid var(--sni-result-green); }
.theme-admit .sni-result-card-main { border-top: 6px solid var(--sni-admit-blue); }
.theme-answer .sni-result-card-main { border-top: 6px solid var(--sni-answer-amber); }
.theme-syllabus .sni-result-card-main { border-top: 6px solid var(--sni-syllabus-purple); }
.theme-dates .sni-result-card-main { border-top: 6px solid var(--sni-dates-indigo); }

/* Header Pills */
.sni-pills-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    margin-bottom: 14px;
}

.sni-badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.82rem;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: var(--sni-radius-full);
}

.pill-status {
    background: #ecfdf5;
    color: #059669;
    border: 1px solid #a7f3d0;
}
.theme-admit .pill-status { background: #eff6ff; color: #1d4ed8; border-color: #bfdbfe; }
.theme-answer .pill-status { background: #fffbeb; color: #d97706; border-color: #fde68a; }
.theme-syllabus .pill-status { background: #f5f3ff; color: #7c3aed; border-color: #ddd6fe; }
.theme-dates .pill-status { background: #eef2ff; color: #4338ca; border-color: #c7d2fe; }

.badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: currentColor;
    animation: pulseDot 2s infinite ease-in-out;
}

@keyframes pulseDot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(0.8); }
}

.pill-org {
    background: #f1f5f9;
    color: #334155;
    border: 1px solid #e2e8f0;
}

.pill-state {
    background: #f8fafc;
    color: #475569;
    border: 1px solid #e2e8f0;
}

.sni-main-heading {
    font-size: 2rem;
    line-height: 1.28;
    margin: 0 0 12px 0;
    letter-spacing: -0.02em;
}

.sni-meta-timestamps {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    font-size: 0.88rem;
    color: var(--sni-text-muted);
    margin-bottom: 24px;
}

.sep-bullet {
    color: #cbd5e1;
}

/* Key Metrics Box */
.sni-metrics-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: var(--sni-radius-md);
    padding: 16px;
    margin-bottom: 28px;
}

.metric-box {
    display: flex;
    flex-direction: column;
}

.metric-label {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--sni-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 4px;
}

.metric-value {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--sni-text-main);
}

.metric-primary .metric-value {
    color: #10b981;
}

.theme-admit .metric-primary .metric-value { color: #2563eb; }
.theme-answer .metric-primary .metric-value { color: #f59e0b; }
.theme-syllabus .metric-primary .metric-value { color: #8b5cf6; }

.metric-status-live {
    color: #059669;
    font-size: 0.95rem;
}

/* Action Buttons Group (Prominent Hero Buttons) */
.sni-action-section {
    margin-bottom: 30px;
}

.sni-action-buttons-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.sni-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: var(--sni-font-heading);
    font-size: 1rem;
    font-weight: 700;
    padding: 14px 26px;
    border-radius: var(--sni-radius-md);
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    min-height: 52px;
}

.sni-btn:hover,
.sni-btn:focus {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.14);
}

.btn-result {
    background: #10b981;
    color: #ffffff;
}
.btn-result:hover { background: #059669; }

.btn-admit {
    background: #2563eb;
    color: #ffffff;
}
.btn-admit:hover { background: #1d4ed8; }

.btn-answer {
    background: #f59e0b;
    color: #ffffff;
}
.btn-answer:hover { background: #d97706; }

.btn-syllabus {
    background: #8b5cf6;
    color: #ffffff;
}
.btn-syllabus:hover { background: #7c3aed; }

.btn-website {
    background: #ffffff;
    color: var(--sni-text-main);
    border: 2px solid #cbd5e1;
}
.btn-website:hover {
    border-color: #2563eb;
    color: #2563eb;
}

/* Important Dates Table */
.sni-table-section {
    margin-bottom: 32px;
}

.sni-subheading {
    font-size: 1.35rem;
    margin: 0 0 14px 0;
    padding-bottom: 8px;
    border-bottom: 2px solid #e2e8f0;
}

.sni-table-responsive {
    overflow-x: auto;
    border: 1px solid #e2e8f0;
    border-radius: var(--sni-radius-md);
}

.sni-dates-table,
.sni-overview-table {
    width: 100%;
    border-collapse: collapse;
    background: #ffffff;
    font-size: 0.95rem;
}

.sni-dates-table th,
.sni-overview-table th {
    background: #f1f5f9;
    color: var(--sni-text-main);
    text-align: left;
    padding: 12px 16px;
    font-weight: 700;
    border-bottom: 2px solid #cbd5e1;
}

.sni-dates-table td,
.sni-overview-table td {
    padding: 12px 16px;
    border-bottom: 1px solid #e2e8f0;
    color: var(--sni-text-body);
}

.sni-dates-table tr:last-child td,
.sni-overview-table tr:last-child td {
    border-bottom: none;
}

.sni-dates-table tr:nth-child(even),
.sni-overview-table tr:nth-child(even) {
    background-color: #f8fafc;
}

.table-badge {
    font-size: 0.78rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 4px;
}

.badge-active { background: #eff6ff; color: #1d4ed8; }
.badge-live { background: #fef2f2; color: #dc2626; }
.badge-out { background: #fffbeb; color: #d97706; }
.badge-verified { background: #f1f5f9; color: #475569; }

/* How-to-Check Step-by-Step Box */
.sni-steps-section {
    margin-bottom: 32px;
}

.sni-steps-box {
    background: #f0f7ff;
    border: 1px solid #bfdbfe;
    border-radius: var(--sni-radius-md);
    padding: 24px;
}

.sni-steps-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
}

.sni-steps-header h2 {
    font-size: 1.25rem;
    margin: 0;
    color: #1e3a8a;
}

.sni-candidate-steps {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.sni-candidate-steps li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.step-num {
    background: #2563eb;
    color: #ffffff;
    font-family: var(--sni-font-heading);
    font-weight: 700;
    font-size: 0.9rem;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
}

.step-desc {
    font-size: 0.95rem;
    color: #1e293b;
    line-height: 1.5;
}

/* Social Share Wrap */
.sni-social-share-wrap {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    background: #f8fafc;
    border: 1px dashed var(--sni-border-card);
    border-radius: var(--sni-radius-md);
    padding: 14px 20px;
    margin-bottom: 30px;
}

.share-label {
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--sni-text-main);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.share-buttons-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.social-share-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: var(--sni-radius-full);
    font-size: 0.88rem;
    font-weight: 700;
    color: #ffffff;
    text-decoration: none;
    transition: opacity 0.15s ease, transform 0.1s ease;
}

.social-share-btn:hover {
    opacity: 0.92;
    transform: translateY(-1px);
}

.wa-share { background: #25D366; }
.tg-share { background: #0088cc; }

/* Content Body */
.sni-content-body {
    font-size: 1rem;
    line-height: 1.75;
    color: var(--sni-text-body);
    margin-bottom: 36px;
}

.sni-content-body p {
    margin-bottom: 1.25em;
}

.sni-content-body h2,
.sni-content-body h3,
.sni-content-body h4 {
    margin-top: 1.6em;
    margin-bottom: 0.6em;
}

/* Cross-Link Promo Card to SarkariNaukriIndia */
.sni-cross-promo-banner {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    border-radius: var(--sni-radius-md);
    padding: 24px;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.promo-badge {
    background: #ef4444;
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 2px 8px;
    border-radius: 4px;
    display: inline-block;
    margin-bottom: 6px;
}

.promo-heading {
    color: #ffffff;
    font-size: 1.25rem;
    margin: 0 0 6px 0;
}

.promo-subtext {
    color: #94a3b8;
    font-size: 0.88rem;
    margin: 0;
    max-width: 600px;
}

.promo-cta-btn {
    background: #2563eb;
    color: #ffffff;
    font-family: var(--sni-font-heading);
    font-weight: 700;
    font-size: 0.95rem;
    padding: 12px 22px;
    border-radius: var(--sni-radius-sm);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: background-color 0.15s ease, transform 0.1s ease;
    white-space: nowrap;
}

.promo-cta-btn:hover {
    background: #1d4ed8;
    transform: translateY(-2px);
}

/* Related Updates Grid */
.sni-related-updates-section {
    margin-top: 40px;
}

.related-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
}

.related-title-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
}

.related-title-wrap h2 {
    font-size: 1.35rem;
    margin: 0;
}

.view-category-all {
    color: #2563eb;
    font-weight: 600;
    font-size: 0.88rem;
    text-decoration: none;
}

.view-category-all:hover {
    text-decoration: underline;
}

.sni-related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
}

.sni-related-card {
    background: #ffffff;
    border: 1px solid var(--sni-border-subtle);
    border-radius: var(--sni-radius-md);
    padding: 16px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: var(--sni-shadow-sm);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.sni-related-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--sni-shadow-md);
}

.related-card-top {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    font-size: 0.78rem;
}

.related-badge {
    background: #eff6ff;
    color: #1d4ed8;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 4px;
}

.related-org {
    color: var(--sni-text-muted);
}

.related-card-title {
    font-size: 0.95rem;
    margin: 0 0 12px 0;
    line-height: 1.35;
}

.related-card-title a {
    color: var(--sni-text-main);
    text-decoration: none;
}

.related-card-title a:hover {
    color: #2563eb;
}

.related-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.8rem;
    border-top: 1px solid #f1f5f9;
    padding-top: 8px;
}

.related-date {
    color: var(--sni-text-muted);
}

.related-btn {
    color: #10b981;
    font-weight: 700;
    text-decoration: none;
}

.related-btn:hover {
    text-decoration: underline;
}

/* ==========================================================================
   7. Modern Production Footer
   ========================================================================== */
.sni-results-footer {
    background: #0f172a;
    color: #cbd5e1;
    padding: 50px 20px 24px 20px;
    margin-top: 60px;
    border-top: 3px solid #2563eb;
}

.sni-footer-container {
    max-width: 1200px;
    margin: 0 auto;
}

.sni-footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 36px;
    margin-bottom: 40px;
}

.sni-footer-logo {
    font-family: var(--sni-font-heading);
    font-size: 1.4rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 12px;
}

.footer-logo-accent {
    color: #10b981;
}

.sni-footer-tagline {
    font-size: 0.88rem;
    line-height: 1.6;
    color: #94a3b8;
    margin-bottom: 20px;
}

.sni-footer-cross-card {
    background: #1e293b;
    border: 1px solid #334155;
    border-radius: var(--sni-radius-md);
    padding: 14px 16px;
}

.cross-card-title {
    font-size: 0.85rem;
    font-weight: 700;
    color: #60a5fa;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 6px;
}

.cross-card-desc {
    font-size: 0.82rem;
    color: #94a3b8;
    line-height: 1.45;
    margin-bottom: 10px;
}

.cross-card-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #ffffff;
    background: #2563eb;
    font-size: 0.82rem;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: var(--sni-radius-sm);
    text-decoration: none;
    transition: background-color 0.15s ease;
}

.cross-card-btn:hover {
    background: #1d4ed8;
}

.sni-footer-title {
    color: #ffffff;
    font-size: 1.05rem;
    margin: 0 0 16px 0;
    font-weight: 700;
    border-left: 3px solid #10b981;
    padding-left: 10px;
}

.sni-footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sni-footer-links li {
    margin-bottom: 10px;
}

.sni-footer-links a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.15s ease;
}

.sni-footer-links a:hover {
    color: #ffffff;
    text-decoration: underline;
}

.sni-footer-text {
    font-size: 0.88rem;
    color: #94a3b8;
    margin-bottom: 14px;
}

.sni-footer-socials {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.social-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #ffffff;
    padding: 8px 14px;
    border-radius: var(--sni-radius-sm);
    font-size: 0.85rem;
    font-weight: 700;
    text-decoration: none;
    transition: opacity 0.15s ease;
}

.social-btn:hover {
    opacity: 0.9;
}

.wa-btn { background: #25D366; }
.tg-btn { background: #0088cc; }

.sni-footer-disclaimer {
    border-top: 1px solid #1e293b;
    padding: 20px 0;
    font-size: 0.8rem;
    color: #64748b;
    line-height: 1.6;
}

.sni-footer-bottom {
    border-top: 1px solid #1e293b;
    padding-top: 20px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    font-size: 0.82rem;
    color: #94a3b8;
}

.footer-bottom-links {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-bottom-links a {
    color: #94a3b8;
    text-decoration: none;
}

.footer-bottom-links a:hover {
    color: #ffffff;
}

/* ==========================================================================
   8. Responsive Media Queries
   ========================================================================== */
@media (max-width: 1024px) {
    .sni-four-column-container {
        grid-template-columns: repeat(2, 1fr);
    }

    .sni-footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .sni-results-hero-wrapper {
        padding: 28px 16px;
    }

    .sni-hero-headline {
        font-size: 1.7rem;
    }

    .sni-metrics-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .sni-four-column-container {
        grid-template-columns: 1fr;
    }

    .sni-action-buttons-wrap {
        flex-direction: column;
    }

    .sni-btn {
        width: 100%;
    }

    .sni-social-share-wrap {
        flex-direction: column;
        align-items: flex-start;
    }

    .share-buttons-row {
        width: 100%;
        justify-content: space-between;
    }

    .social-share-btn {
        flex: 1;
        justify-content: center;
    }

    .sni-footer-grid {
        grid-template-columns: 1fr;
    }

    .sni-footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 480px) {
    .sni-metrics-grid {
        grid-template-columns: 1fr;
    }

    .sni-result-card-main {
        padding: 20px 14px;
    }

    .sni-main-heading {
        font-size: 1.45rem;
    }

    .sni-search-inputs-wrap {
        flex-direction: column;
    }

    .sni-select-field {
        border-left: none;
        border-top: 1px solid var(--sni-border-subtle);
    }
}
