/*
Theme Name: Sarkari Result Alert Info
Theme URI: https://sarkariresultalertinfo.com/
Author: SarkariResultAlertInfo
Author URI: https://sarkariresultalertinfo.com/
Description: Custom WordPress theme for SarkariResultAlertInfo.com — a government jobs, results, admit cards, answer keys and syllabus portal. Includes an "Exams / Jobs" custom post type with structured fields (dates, links, FAQs, tabs, downloads) that reproduce the original site layout. Navy + Orange theme. Rank Math compatible.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: sarkari-result-alert
*/

/* ============================================
   SARKARI RESULT ALERT INFO
   Theme: Navy Blue (#1a237e) + Orange (#ff6f00)
   ============================================ */

html, body {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    width: 100%;
    background: #f0f2f5;
    font-family: 'Segoe UI', Arial, Helvetica, sans-serif;
}

*, *:before, *:after { box-sizing: inherit; }

a { color: #1a237e; }

/* ── HEADER BANNER ── */
.header-main {
    background: #1a237e;
    text-align: center;
    padding: 28px 0 18px 0;
    border-bottom: 4px solid #ff6f00;
}
.header-title {
    color: #fff;
    font-size: 2.2em;
    font-weight: 800;
    letter-spacing: 3px;
    margin: 0;
    text-decoration: none;
    display: block;
    animation: glowIn 1s ease 0.1s both;
}
.header-domain {
    color: #9fa8da;
    font-size: 1.05em;
    margin-top: 6px;
    font-weight: 400;
    letter-spacing: 1px;
}
.header-badges {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 10px;
}
.header-badges span {
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 20px;
    padding: 4px 14px;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
}
@keyframes glowIn {
    0%   { opacity: 0; transform: translateY(20px); }
    100% { opacity: 1; transform: translateY(0); }
}

/* ── NAVBAR ── */
.navbar-wrap {
    background: #283593;
    border-bottom: 3px solid #ff6f00;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 8px rgba(0,0,0,0.25);
}
.navbar {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    padding: 0 10px;
}
.nav-links { display: flex; flex-wrap: wrap; align-items: center; list-style: none; margin: 0; padding: 0; }
.nav-links li { margin: 0; }
.nav-links a {
    color: #c5cae9;
    padding: 13px 13px;
    font-size: 0.95em;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    border-bottom: 3px solid transparent;
    transition: all 0.2s;
}
.nav-links a:hover,
.nav-links a.active,
.nav-links li.current-menu-item > a {
    color: #ff6f00;
    background: rgba(255,111,0,0.1);
    border-bottom: 3px solid #ff6f00;
}
.nav-search { display: flex; align-items: center; padding: 0 8px; }
.nav-search form { display: flex; margin: 0; }
.nav-search input {
    padding: 7px 12px; border: none; border-radius: 20px 0 0 20px;
    font-size: 0.88em; outline: none; background: #e8eaf6; color: #1a237e; width: 155px;
}
.nav-search button {
    padding: 7px 12px; background: #ff6f00; border: none; border-radius: 0 20px 20px 0;
    color: #fff; cursor: pointer; font-size: 1em; transition: background 0.2s;
}
.nav-search button:hover { background: #e65100; }
.nav-toggle {
    display: none; font-size: 2em; background: none; border: none; color: #fff;
    padding: 7px 10px; cursor: pointer; margin-left: auto;
}

/* ── TICKER ── */
@keyframes ticker-scroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
.ticker-wrap  { background:#b80b0b; color:#fff; padding:6px 0; overflow:hidden; font-size:13px; font-weight:bold; }
.ticker-inner { display:flex; align-items:center; }
.ticker-label { background:#ff0; color:#b80b0b; padding:3px 10px; margin-right:10px; font-weight:900; white-space:nowrap; flex-shrink:0; }
.ticker-track { overflow:hidden; flex:1; }
.ticker-content { display:inline-block; white-space:nowrap; animation:ticker-scroll 70s linear infinite; padding-left:100%; }
.ticker-content:hover { animation-play-state:paused; }

/* ── MAIN WRAP ── */
.main-wrap {
    max-width: 1100px; margin: 18px auto; background: #fff;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1); border-radius: 10px; overflow: hidden;
}
.page-header, .header {
    text-align: center; color: #1a237e; font-size: 1.75em; font-weight: 800;
    margin: 0; padding: 22px 20px 10px 20px; border-bottom: 2px solid #e8eaf6;
}
.entry-content {
    color: #555; margin: 10px 20px; text-align: center; font-weight: 500;
    font-size: 0.94em; line-height: 1.65;
}

/* ── JOB GRID (category boxes) ── */
.job-grid { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; padding: 16px 14px 10px 14px; }
.job-box {
    flex: 1 0 175px; min-width: 160px; max-width: 235px; background: #f5f5f5; color: #222;
    border-radius: 10px; font-size: 0.93em; font-weight: 700; text-align: center; padding: 14px 8px;
    text-decoration: none; transition: transform 0.15s, box-shadow 0.15s;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08); border-bottom: 4px solid #ccc; line-height: 1.4em;
}
.job-box:hover { transform: translateY(-4px); box-shadow: 0 8px 20px rgba(0,0,0,0.14); }
.job-box.red    { background:#e53935; color:#fff; border-bottom:4px solid #b71c1c; }
.job-box.orange { background:#ff6f00; color:#fff; border-bottom:4px solid #e65100; }
.job-box.pink   { background:#7b1fa2; color:#fff; border-bottom:4px solid #4a148c; }
.job-box.blue   { background:#1565c0; color:#fff; border-bottom:4px solid #0d47a1; }
.job-box.green  { background:#2e7d32; color:#fff; border-bottom:4px solid #1b5e20; }
.job-box.army   { background:#f9a825; color:#222; border-bottom:4px solid #f57f17; }
.job-box.maroon { background:#1a237e; color:#fff; border-bottom:4px solid #0d1b6e; }

/* ── TRI COLUMNS ── */
.tri-columns { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; margin: 16px 14px 0 14px; }
.tri-col { flex: 1; min-width: 220px; max-width: 345px; margin-bottom: 16px; border-radius: 10px; overflow: hidden; box-shadow: 0 2px 10px rgba(0,0,0,0.07); }
.tri-col-head { background: #1a237e; color: #fff; font-weight: 700; font-size: 1.05em; padding: 10px 14px; border-left: 4px solid #ff6f00; }
.tri-col-body { background: #fff; border: 1.5px solid #e8eaf6; border-top: none; min-height: 200px; padding-bottom: 10px; }
.tri-col-body ul { list-style: none; margin: 0; padding: 10px 12px; font-size: 0.92em; }
.tri-col-body ul li { padding: 5px 0; border-bottom: 1px solid #f5f5f5; }
.tri-col-body ul li:last-child { border-bottom: none; }
.tri-col-body ul li::before { content: "▶"; color: #ff6f00; font-size: 0.65em; margin-right: 6px; vertical-align: middle; }
.tri-col-body a { color: #1a237e; text-decoration: none; font-weight: 600; }
.tri-col-body a:hover { color: #ff6f00; text-decoration: underline; }
.view-more-btn {
    display: block; width: 110px; margin: 10px auto 0 auto; padding: 8px 0; background: #ff6f00;
    color: #fff; font-weight: 700; border-radius: 20px; text-align: center; font-size: 0.88em;
    text-decoration: none; box-shadow: 0 2px 8px rgba(255,111,0,0.3); transition: transform 0.15s, box-shadow 0.15s;
}
.view-more-btn:hover { transform: translateY(-2px); box-shadow: 0 5px 14px rgba(255,111,0,0.4); background: #e65100; }

/* ── THREE BLOCKS ── */
.three-blocks { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; margin: 20px 14px 0 14px; }
.block-col { flex: 1; min-width: 220px; max-width: 345px; margin-bottom: 16px; border-radius: 10px; overflow: hidden; box-shadow: 0 2px 10px rgba(0,0,0,0.07); }
.block-head { background: #ff6f00; color: #fff; font-weight: 700; font-size: 1.05em; padding: 10px 14px; border-left: 4px solid #1a237e; }
.block-body { background: #fff; border: 1.5px solid #ffe0b2; border-top: none; min-height: 130px; padding-bottom: 10px; }
.block-body ul { list-style: none; margin: 0; padding: 10px 12px; font-size: 0.92em; }
.block-body ul li { padding: 5px 0; border-bottom: 1px solid #f5f5f5; }
.block-body ul li:last-child { border-bottom: none; }
.block-body ul li::before { content: "▶"; color: #1a237e; font-size: 0.65em; margin-right: 6px; vertical-align: middle; }
.block-body a { color: #1a237e; text-decoration: none; font-weight: 600; }
.block-body a:hover { color: #ff6f00; text-decoration: underline; }

/* ── HEADLINES / DESC ── */
.red-headline { background: #1a237e; color: #fff; font-size: 1.12em; font-weight: 700; text-align: center; padding: 12px 0; margin-top: 16px; border-left: 5px solid #ff6f00; border-right: 5px solid #ff6f00; }
.desc-txt { padding: 14px 20px; font-size: 0.96em; background: #fff; color: #444; line-height: 1.75; }

/* ── INFO BOX / TABLES ── */
.info-box { background: #f5f7ff; border-radius: 8px; margin: 20px 14px 12px 14px; padding: 15px 20px; border: 1px solid #c5cae9; }
.info-table { margin: 14px auto 4px auto; border-collapse: collapse; width: 95%; text-align: center; }
.info-table td, .info-table th { border: 1px solid #c5cae9; padding: 8px; font-size: 0.96em; }
.info-table th { background: #e8eaf6; font-weight: 700; color: #1a237e; }
.blue-link { color: #1a237e; text-decoration: underline; font-weight: 600; }
.blue-link:hover { color: #ff6f00; }

/* ── SCROLL TOP BTN ── */
#scrollTopBtn {
    position: fixed; bottom: 32px; right: 20px; background: #ff6f00; color: #fff; border: none;
    border-radius: 50%; width: 44px; height: 44px; font-size: 1.4em; box-shadow: 0 4px 15px rgba(255,111,0,0.4);
    display: none; align-items: center; justify-content: center; cursor: pointer; opacity: 0; z-index: 99; transition: opacity .4s;
}
#scrollTopBtn.show { display: flex; opacity: 1; }
#scrollTopBtn:hover { background: #1a237e; }

/* ── ANIMATIONS ── */
@keyframes fadeSlideIn { 0% { opacity:0; transform:translateY(20px); } 100% { opacity:1; transform:translateY(0); } }
.animated-section { opacity: 0; animation: fadeSlideIn 0.65s ease forwards; }
.animated-delay-1 { animation-delay: .1s; } .animated-delay-2 { animation-delay: .2s; }
.animated-delay-3 { animation-delay: .32s; } .animated-delay-4 { animation-delay: .44s; }

/* ============================================
   EXAM / SINGLE DETAIL PAGE
   ============================================ */
.srp-exam-wrap { display:grid; grid-template-columns:1fr 300px; gap:24px; max-width:1200px; margin:0 auto; padding:16px; }
.srp-breadcrumb { font-size:13px; color:#666; margin-bottom:12px; }
.srp-breadcrumb a { color:#1a237e; text-decoration:none; }
.srp-breadcrumb span { margin:0 4px; }
.srp-hero { background:#1a237e; border-radius:8px; padding:24px; color:#fff; margin-bottom:16px; }
.srp-hero h1 { font-size:22px; font-weight:700; line-height:1.3; margin:0 0 12px; color:#fff; }
.srp-tag-row { display:flex; flex-wrap:wrap; gap:6px; margin-bottom:12px; }
.srp-tag { font-size:11px; padding:3px 10px; border-radius:20px; font-weight:600; background:rgba(255,255,255,0.2); color:#fff; }
.srp-status-badge { display:inline-block; padding:4px 14px; border-radius:20px; font-size:12px; font-weight:700; margin-bottom:10px; }
.srp-cta-btn { display:inline-block; background:#ff6f00; color:#fff; padding:10px 24px; border-radius:6px; font-weight:700; font-size:14px; text-decoration:none; margin-top:10px; }
.srp-cta-btn:hover { background:#e65100; color:#fff; }
.srp-snapshot { display:grid; grid-template-columns:repeat(4,1fr); gap:10px; margin-bottom:16px; }
.srp-snap-card { background:#fff; border:1px solid #e0e0e0; border-radius:8px; padding:12px; text-align:center; }
.srp-snap-label { font-size:11px; color:#666; margin-bottom:4px; }
.srp-snap-value { font-size:15px; font-weight:700; color:#1a237e; }
.srp-alert-box { background:#fff8e1; border-left:4px solid #ff6f00; border-radius:0 8px 8px 0; padding:12px 16px; margin-bottom:16px; display:flex; gap:10px; align-items:flex-start; font-size:13px; }
.srp-tabs-nav { display:flex; flex-wrap:wrap; gap:8px; margin-bottom:20px; padding-bottom:14px; border-bottom:1px dashed #dcdfe8; }
.srp-tab-btn { padding:8px 16px; border:1.5px solid #e2e5ef; background:#f6f7fb; cursor:pointer; font-size:13px; font-weight:600; color:#444; border-radius:24px; transition:all .15s; display:inline-flex; align-items:center; gap:6px; }
.srp-tab-btn:hover { border-color:#1a237e; color:#1a237e; box-shadow:0 2px 8px rgba(0,0,0,.08); }
.srp-tab-btn.active { background:#1a237e; border-color:#1a237e; color:#fff; box-shadow:0 4px 12px rgba(0,0,0,.18); }
.srp-tab-ico { font-size:14px; line-height:1; }
.srp-tab-panel { display:none; animation:fadeSlideIn .35s ease; }
.srp-tab-panel.active { display:block; }
.srp-date-pill { display:inline-block; padding:3px 14px; border-radius:20px; color:#fff; font-size:11px; font-weight:700; letter-spacing:.3px; }

/* Countdown timer */
.srp-countdown-wrap { background:#fff8e1; border:1px solid #ffe0b2; border-radius:10px; padding:16px; margin-bottom:16px; text-align:center; }
.srp-cd-title { color:#e65100; font-weight:700; font-size:14px; margin-bottom:12px; }
.srp-countdown { display:flex; justify-content:center; gap:10px; flex-wrap:wrap; }
.srp-cd-box { background:#1a237e; color:#fff; border-radius:8px; padding:10px 14px; min-width:64px; box-shadow:0 2px 8px rgba(26,35,126,.25); }
.srp-cd-num { display:block; font-size:22px; font-weight:800; line-height:1.1; }
.srp-cd-lbl { display:block; font-size:10px; letter-spacing:1px; opacity:.85; margin-top:4px; }
.srp-cd-note { font-size:12px; color:#777; margin-top:12px; }
.srp-countdown.ended .srp-cd-box { background:#9e9e9e; box-shadow:none; }

/* Rich typography for tab + editor content */
.srp-content-box .wp-content, .srp-tab-panel .wp-content { font-size:14px; line-height:1.85; color:#333; }
.wp-content > *:first-child { margin-top:0; }
.wp-content h2, .wp-content h3 { font-size:16px; color:#1a237e; margin:18px 0 10px; padding:4px 0 4px 12px; border-left:4px solid #ff6f00; line-height:1.4; }
.wp-content h4 { font-size:14px; color:#283593; margin:14px 0 6px; }
.wp-content p { margin:0 0 12px; }
.wp-content ul { list-style:none; margin:0 0 14px; padding:0; }
.wp-content ul li { position:relative; padding:7px 0 7px 28px; border-bottom:1px dashed #eee; }
.wp-content ul li:last-child { border-bottom:none; }
.wp-content ul li:before { content:"✔"; position:absolute; left:2px; top:7px; color:#2e7d32; font-weight:700; font-size:13px; }
.wp-content ol { margin:0 0 14px; padding-left:4px; counter-reset:sra-step; list-style:none; }
.wp-content ol li { position:relative; padding:7px 0 7px 38px; border-bottom:1px dashed #eee; counter-increment:sra-step; }
.wp-content ol li:last-child { border-bottom:none; }
.wp-content ol li:before { content:counter(sra-step); position:absolute; left:0; top:6px; width:24px; height:24px; background:#ff6f00; color:#fff; border-radius:50%; font-size:12px; font-weight:700; display:flex; align-items:center; justify-content:center; }
.wp-content table { width:100%; border-collapse:collapse; margin:0 0 14px; font-size:13px; }
.wp-content th { background:#e8eaf6; color:#1a237e; padding:9px 12px; text-align:left; border:1px solid #d6dbf5; }
.wp-content td { padding:9px 12px; border:1px solid #e8eaf6; }
.wp-content tr:nth-child(even) td { background:#f7f8fc; }
.wp-content strong { color:#1a237e; }
.wp-content a { color:#1565c0; font-weight:600; }
.wp-content blockquote { margin:0 0 14px; padding:12px 16px; background:#fff8e1; border-left:4px solid #ff6f00; border-radius:0 8px 8px 0; font-size:13px; }
.srp-table { width:100%; border-collapse:collapse; margin-bottom:16px; font-size:13px; }
.srp-table th { background:#1a237e; color:#fff; padding:8px 12px; text-align:left; }
.srp-table td { padding:8px 12px; border-bottom:1px solid #e0e0e0; }
.srp-table tr:nth-child(even) td { background:#f5f5f5; }
.srp-faq-item { border-bottom:1px solid #e0e0e0; margin-bottom:4px; }
.srp-faq-q { width:100%; background:none; border:none; text-align:left; padding:12px 0; font-size:14px; font-weight:600; color:#1a237e; cursor:pointer; display:flex; justify-content:space-between; align-items:center; }
.srp-faq-a { display:none; padding:0 0 12px; font-size:13px; line-height:1.6; color:#333; }
.srp-faq-item.open .srp-faq-a { display:block; }
.srp-faq-item.open .srp-faq-arrow { transform:rotate(180deg); }
.srp-faq-arrow { font-size:12px; transition:transform 0.2s; }
.srp-links-table { width:100%; border-collapse:collapse; font-size:13px; }
.srp-links-table th { background:#c62828; color:#fff; padding:8px 12px; }
.srp-links-table td { padding:8px 12px; border-bottom:1px solid #e0e0e0; }
.srp-link-active { color:#1b5e20; font-weight:700; }
.srp-link-coming { color:#b71c1c; }
.srp-share-bar { display:flex; gap:8px; margin-top:20px; flex-wrap:wrap; }
.srp-share-btn { padding:8px 16px; border-radius:6px; font-size:13px; font-weight:600; text-decoration:none; color:#fff; cursor:pointer; border:none; }
.srp-share-wa { background:#25d366; } .srp-share-tg { background:#0088cc; }
.srp-share-tw { background:#1da1f2; } .srp-share-cp { background:#666; }
.srp-sidebar-box { background:#fff; border:1px solid #e0e0e0; border-radius:8px; padding:16px; margin-bottom:16px; }
.srp-sidebar-box h3 { font-size:14px; font-weight:700; color:#1a237e; margin:0 0 12px; padding-bottom:8px; border-bottom:2px solid #ff6f00; }
.srp-sidebar-row { display:flex; justify-content:space-between; font-size:12px; padding:5px 0; border-bottom:1px solid #f0f0f0; }
.srp-sidebar-row:last-child { border-bottom:none; }
.srp-sidebar-label { color:#666; }
.srp-sidebar-value { font-weight:600; color:#333; text-align:right; max-width:55%; }
.srp-section-title { font-size:18px; font-weight:700; color:#1a237e; margin:20px 0 12px; padding-left:10px; border-left:4px solid #ff6f00; }
.srp-content-box { background:#fff; border:1px solid #e0e0e0; border-radius:8px; padding:20px; margin-bottom:16px; }
.srp-content-box .wp-content { font-size:14px; line-height:1.8; color:#333; }

/* ── ARCHIVE LIST ── */
.srp-archive-list { list-style:none; margin:0; padding:10px 16px; }
.srp-archive-item { display:flex; justify-content:space-between; align-items:center; gap:10px; padding:12px 14px; border:1px solid #e8eaf6; border-radius:8px; margin-bottom:10px; background:#fff; transition:box-shadow .15s; }
.srp-archive-item:hover { box-shadow:0 4px 14px rgba(0,0,0,0.08); }
.srp-archive-item a { color:#1a237e; font-weight:700; text-decoration:none; font-size:0.98em; }
.srp-archive-item a:hover { color:#ff6f00; }
.srp-archive-badge { font-size:11px; padding:3px 10px; border-radius:20px; font-weight:700; white-space:nowrap; }
.srp-pagination { text-align:center; padding:14px; }
.srp-pagination .page-numbers { display:inline-block; padding:6px 12px; margin:2px; border-radius:6px; background:#e8eaf6; color:#1a237e; text-decoration:none; font-weight:600; }
.srp-pagination .page-numbers.current { background:#ff6f00; color:#fff; }

/* ── FOOTER ── */
.srp-trust-bar { background:#1a237e; border-top:3px solid #ff6f00; padding:12px 14px; }
.srp-trust-inner { max-width:1100px; margin:0 auto; display:flex; justify-content:center; gap:12px; flex-wrap:wrap; }
.srp-trust-inner span { background:rgba(255,255,255,0.12); border:1px solid rgba(255,255,255,0.25); border-radius:20px; padding:5px 14px; color:#fff; font-size:12px; font-weight:600; }
.srp-social-bar { background:#0f1635; border-top:1px solid #1a237e; padding:12px 16px; }
.srp-social-inner { max-width:1100px; margin:0 auto; display:flex; align-items:center; justify-content:center; gap:12px; flex-wrap:wrap; text-align:center; }
.srp-social-inner .label { color:#c5cae9; font-size:13px; font-weight:600; }
.srp-social-inner a { display:inline-flex; align-items:center; gap:6px; color:#fff; padding:7px 18px; border-radius:20px; font-size:13px; font-weight:700; text-decoration:none; }
.srp-social-inner a.tg { background:#0088cc; } .srp-social-inner a.wa { background:#25d366; }
#site-footer { background:#0d0d1a; color:#e5e5e5; border-top:4px solid #ff6f00; font-family:'Segoe UI', Arial, sans-serif; }
.footer-wrap { max-width:1100px; margin:auto; padding:24px 16px 16px; }
.footer-grid { display:grid; grid-template-columns:1.6fr 1fr 1fr; gap:24px; }
.foot-title { font-size:13px; font-weight:800; margin-bottom:12px; color:#ff6f00; text-transform:uppercase; letter-spacing:0.5px; border-bottom:1px solid #1a237e; padding-bottom:8px; }
.foot-text { font-size:12px; line-height:1.7; color:#aaa; }
.foot-list { list-style:none; padding:0; margin:0; }
.foot-list li { margin:8px 0; }
.foot-list a { color:#c5cae9; text-decoration:none; font-size:12px; font-weight:600; transition:color 0.2s; }
.foot-list a:hover { color:#ff6f00; text-decoration:underline; }
.foot-disclaimer { border-top:1px solid #2a2a3e; margin-top:16px; padding-top:12px; font-size:11px; color:#888; line-height:1.6; }
.foot-bottom { margin-top:16px; padding-top:12px; border-top:1px solid #1a237e; display:flex; justify-content:space-between; flex-wrap:wrap; align-items:center; gap:10px; font-size:12px; color:#666; }
.foot-bottom a { color:#888; font-size:11px; text-decoration:none; }

/* ── RESPONSIVE ── */
@media (max-width: 1000px) { .main-wrap { max-width: 99vw; margin: 10px auto; } }
@media (max-width: 900px) {
    .tri-col, .block-col { max-width: 100%; }
    .main-wrap { max-width: 98vw; border-radius: 6px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
    .srp-exam-wrap { grid-template-columns: 1fr; }
    .srp-snapshot { grid-template-columns: repeat(2,1fr); }
    .srp-hero h1 { font-size: 18px; }
}
@media (max-width: 820px) {
    .nav-links { display: none; flex-direction: column; width: 100%; background: #283593; padding: 8px 0; position:absolute; top:100%; left:0; z-index:10; box-shadow:0 4px 12px rgba(0,0,0,0.2); }
    .nav-links.open { display: flex; }
    .nav-links a { padding: 10px 16px; border-bottom: 1px solid rgba(255,255,255,0.08); width: 100%; }
    .nav-toggle { display: block; }
    .nav-search { display: none; }
}
@media (max-width: 700px) {
    .header-main { padding: 18px 0 12px 0; }
    .header-title { font-size: 1.3em; }
    .header-domain { font-size: 0.86em; }
    .job-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 12px 10px; }
    .job-box { flex: unset; min-width: unset; max-width: unset; width: 100%; font-size: 0.82em; padding: 12px 6px; border-radius: 8px; }
    .tri-columns, .three-blocks { flex-direction: column; gap: 10px; }
    table.info-table { width: 100%; font-size: 0.88em; }
}
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
@media (max-width: 420px) { .header-title { font-size: 1.08em; } .header-main { padding: 12px 0 8px 0; } }
