/*
Theme Name: Sarkari Result Help
Theme URI: https://example.com/
Author: OpenAI
Description: WordPress theme adapted from the supplied Sarkari Result Help PHP website.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: sarkari-result-help
*/
/* Color Palette */
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background-color: #f4f6f9;
    color: #333333;
    margin: 0;
    padding: 0;
}

/* Top Bar */
.top-bar {
    background-color: #0b1f3a !important;
    color: #ffffff;
    font-size: 12px;
    padding: 6px 0;
}
.top-bar a {
    color: #ffffff;
    text-decoration: none;
}
.top-bar .social-icons a {
    margin-left: 8px;
    font-size: 12px;
    color: #ffffff;
}

/* Header & Search Section */
.main-header {
    background-color: #ffffff;
    padding: 12px 0;
    border-bottom: 1px solid #e2e8f0;
}
.logo-icon {
    background-color: #0b1f3a;
    color: #ffffff;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 24px;
    margin-right: 12px;
}
.site-title {
    font-size: 26px;
    font-weight: 800;
    color: #0b1f3a;
    line-height: 1.1;
    margin: 0;
}
.site-tagline {
    font-size: 11px;
    color: #666666;
    margin: 2px 0 0 0;
}
.search-box .btn-search {
    background-color: #0b1f3a;
    color: #ffffff;
    font-weight: 600;
    font-size: 13px;
    border-radius: 0 4px 4px 0;
    padding: 6px 18px;
}

/* Dark Navy Navigation Bar */
.main-navbar {
    background-color: #0b1f3a !important;
    padding: 0;
}
.main-navbar .nav-link {
    color: #ffffff !important;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 10px 12px !important;
}
.main-navbar .nav-link:hover,
.main-navbar .nav-item.active .nav-link {
    background-color: rgba(255, 255, 255, 0.15);
}

/* Ticker Bar */
.ticker-container {
    background-color: #ffffff;
    border: 1px solid #dcdcdc;
    border-radius: 4px;
    display: flex;
    align-items: center;
    overflow: hidden;
}
.ticker-title {
    background-color: #0b1f3a;
    color: #ffffff;
    font-weight: 700;
    font-size: 12px;
    padding: 8px 14px;
    white-space: nowrap;
}
.ticker-content {
    flex-grow: 1;
    font-size: 12px;
    font-weight: 600;
    color: #333333;
    padding: 0 12px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.ticker-btn {
    background-color: #d9534f;
    color: #ffffff !important;
    font-weight: 700;
    font-size: 12px;
    padding: 8px 16px;
    text-decoration: none;
}

/* Sidebar Boxes Base */
.sidebar-box {
    border: 1px solid #cccccc;
    border-radius: 4px;
    overflow: hidden;
    background-color: #ffffff;
}
.sidebar-header {
    background-color: #0b1f3a;
    color: #ffffff;
    padding: 8px 12px;
    font-weight: 700;
    font-size: 12px;
    letter-spacing: 0.5px;
}

.sidebar-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.sidebar-list li {
    border-bottom: 1px solid #eeeeee;
}
.sidebar-list li a {
    display: block;
    padding: 8px 12px;
    color: #333333;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
}

/* Center Blue Hero Banner */
.hero-banner-card {
    background-color: #051d40 !important;
    border-radius: 6px;
    padding: 22px 30px;
    position: relative;
    color: #ffffff;
}
.hero-slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background-color: #ffffff;
    color: #333333;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}
.hero-slider-btn.prev { left: 10px; }
.hero-slider-btn.next { right: 10px; }

/* Table Styling */
.jobs-table {
    width: 100%;
    border-collapse: collapse;
}
.jobs-table th {
    background-color: #0b1f3a;
    color: #ffffff;
    padding: 8px 10px;
    font-size: 12px;
}
.jobs-table td {
    padding: 9px 10px;
    border-bottom: 1px solid #eeeeee;
    font-size: 12px;
}
.btn-apply-green {
    background-color: #28a745 !important;
    color: #ffffff !important;
    padding: 4px 10px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 11px;
    font-weight: 700;
    display: inline-block;
}

/* Latest Notifications Red Block Box */
.notif-header-red {
    background-color: #d9534f !important;
    color: #ffffff;
    padding: 8px 12px;
    font-weight: 700;
    font-size: 12px;
}
.notif-item {
    display: flex;
    align-items: center;
    padding: 9px 10px;
    border-bottom: 1px solid #eeeeee;
}
.notif-date-box {
    background-color: #d9534f !important;
    color: #ffffff;
    font-weight: 700;
    font-size: 10px;
    line-height: 1.1;
    text-align: center;
    padding: 4px 6px;
    border-radius: 4px;
    min-width: 36px;
    margin-right: 10px;
    flex-shrink: 0;
}
.notif-date-box .date-num {
    font-size: 14px;
    display: block;
    font-weight: 800;
}
.notif-title-box a {
    color: #212529;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
}
.badge-new {
    color: #dc3545;
    font-size: 10px;
    font-weight: 800;
    margin-left: 4px;
}

/* Telegram Green Box */
.telegram-header-green {
    background-color: #28a745 !important;
    color: #ffffff;
    padding: 8px 12px;
    font-weight: 700;
    font-size: 12px;
}

/* Bottom 3 Colorful Action Cards */
.cat-box-green {
    background-color: #28a745 !important;
    color: #ffffff;
    padding: 10px 14px;
    border-radius: 4px;
    font-weight: 700;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.cat-box-red {
    background-color: #d9534f !important;
    color: #ffffff;
    padding: 10px 14px;
    border-radius: 4px;
    font-weight: 700;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.cat-box-purple {
    background-color: #5f27cd !important;
    color: #ffffff;
    padding: 10px 14px;
    border-radius: 4px;
    font-weight: 700;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.btn-view-all {
    border: 1px solid #ffffff;
    color: #ffffff !important;
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 3px;
    text-decoration: none;
    background-color: rgba(0,0,0,0.1);
}

html { scroll-behavior: smooth; }
body { line-height: 1.5; }
a { transition: color .15s ease; }
.site-logo { width: 58px; height: 58px; object-fit: contain; margin-right: 12px; }
.site-brand { display:flex; align-items:center; text-decoration:none; }
.container-fluid { width:100%; max-width:1440px; margin:0 auto; padding-left:18px; padding-right:18px; }
.main-navbar ul { list-style:none; display:flex; flex-wrap:wrap; margin:0; padding:0; }
.main-navbar li { margin:0; }
.main-navbar a { display:block; color:#fff; text-decoration:none; padding:12px 13px; font-size:12px; font-weight:700; }
.main-navbar a:hover { background:rgba(255,255,255,.14); }
.search-box { display:flex; }
.search-box input { min-width:0; padding:9px 12px; border:1px solid #ced4da; }
.search-box button { padding:9px 14px; border:0; background:#0b1f3a; color:#fff; cursor:pointer; }
.site-content { max-width:1440px; margin:24px auto; padding:0 18px; }
.content-card { background:#fff; border:1px solid #e1e5ea; border-radius:4px; overflow:hidden; margin-bottom:20px; }
.content-card h2, .content-card .card-title { margin:0; }
.content-card-header { background:#0b1f3a; color:#fff; padding:10px 14px; font-weight:700; }
.content-card-body { padding:14px; }
.post-list { list-style:none; margin:0; padding:0; }
.post-list li { border-bottom:1px solid #eee; padding:9px 10px; }
.post-list li:last-child { border-bottom:0; }
.post-list a { color:#222; text-decoration:none; }
.post-list a:hover { color:#0056b3; }
.posts-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:18px; }
.post-card { background:#fff; border:1px solid #e2e5e9; padding:16px; border-radius:4px; }
.post-card h2 { font-size:18px; margin:0 0 8px; }
.post-card h2 a { color:#0b1f3a; text-decoration:none; }
.entry-content { overflow-wrap:anywhere; }
.entry-content img { max-width:100%; height:auto; }
.site-footer { background:#0b1f3a; color:#fff; padding:22px 18px; margin-top:32px; }
.site-footer a { color:#fff; }
.pagination { margin:24px 0; }
.pagination .nav-links { display:flex; gap:8px; flex-wrap:wrap; }
.pagination a, .pagination span { padding:7px 11px; background:#fff; border:1px solid #ddd; }
@media (max-width: 800px) {
  .main-header .header-inner { align-items:flex-start; flex-direction:column; gap:14px; }
  .main-navbar ul { display:block; }
  .posts-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media (max-width: 520px) {
  .site-title { font-size:21px; }
  .site-tagline { font-size:10px; }
  .posts-grid { grid-template-columns:1fr; }
  .top-bar .top-links { display:none; }
}
