        :root{
            --primary: #9f111b;
            --primary-dark: #781018;
            --secondary: #0f172a;
            --accent: #f59e0b;
            --page-bg: #f3f4f6;
            --surface: #ffffff;
            --surface-soft: #f8fafc;
            --text: #1f2937;
            --muted: #6b7280;
            --border: #e5e7eb;
            --shadow-sm: 0 10px 30px rgba(15, 23, 42, 0.06);
            --shadow-md: 0 16px 45px rgba(15, 23, 42, 0.10);
            --radius: 18px;
        }

        *{ box-sizing: border-box; }
        html{ scroll-behavior: smooth; }

        body {
  color: #1f2937;
  background: #ffffff;
}

/* Fix low contrast text */
span,
small,
.text-muted,
.text-secondary,
.text-body-secondary {
  color: #4b5563 !important;
}

a {
  color: #0b5ed7;
}

a:hover,
a:focus {
  color: #084298;
}



span {
  color: inherit;
}

.card-text,
.post-date,
.meta-text {
  color: #4b5563;
}

a {
  color: #0b5ed7;
}


        a{ text-decoration: none; }

        .topbar{
            background: var(--secondary);
            color: #fff;
            font-size: 14px;
            padding: 8px 0;
        }

        .site-header{
            background: rgba(255,255,255,.94);
            backdrop-filter: blur(10px);
            border-bottom: 1px solid rgba(159, 17, 27, 0.08);
            position: sticky;
            top: 0;
            z-index: 1000;
        }

        .brand-wrap{
            display: flex;
            align-items: center;
            gap: 12px;
        }

        .brand-logo{
            width: 62px;
            height: 62px;
            flex-shrink: 0;
        }

        .brand-text .site-name{
            display: block;
            margin: 0;
            font-size: 1.45rem;
            font-weight: 800;
            color: var(--primary);
            line-height: 1.1;
        }

        .brand-text .site-tagline{
            display: block;
            margin: 0;
            color: var(--muted);
            font-size: 0.88rem;
        }

        .navbar-nav .nav-link{
            color: var(--secondary);
            font-weight: 700;
            padding: 10px 16px !important;
            border-radius: 999px;
        }

        .navbar-nav .nav-link:hover,
        .navbar-nav .nav-link.active{
            background: var(--primary);
            color: #fff !important;
        }

        .hero-section{
            padding: 34px 0 24px;
        }

        .hero-card{
            background: linear-gradient(135deg, #fff 0%, #fff8f8 100%);
            border: 1px solid rgba(159, 17, 27, 0.10);
            border-radius: 24px;
            box-shadow: var(--shadow-md);
            overflow: hidden;
        }

        .hero-content{
            padding: 34px;
        }

        .hero-badge{
            display: inline-flex;
            align-items: center;
            gap: 8px;
            background: rgba(159, 17, 27, 0.08);
            color: var(--primary);
            border-radius: 999px;
            padding: 8px 14px;
            font-weight: 700;
            margin-bottom: 12px;
            font-size: 13px;
        }

        .hero-title{
            font-size: clamp(1.9rem, 3vw, 3rem);
            line-height: 1.15;
            font-weight: 800;
            color: var(--secondary);
            margin-bottom: 12px;
        }

        .hero-title { color: var(--primary); }

        .hero-text{
            color: var(--muted);
            max-width: 780px;
            margin-bottom: 10px;
        }

        .hero-today{
            color: #16a34a;
            font-weight: 700;
            font-size: 0.9rem;
            margin-bottom: 18px;
        }

        .quick-links{
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
            gap: 12px;
        }

        .quick-link{
            background: #fff;
            border: 1px solid var(--border);
            border-radius: 16px;
            padding: 14px 16px;
            color: var(--secondary);
            font-weight: 700;
            display: flex;
            align-items: center;
            gap: 10px;
            transition: all .25s ease;
            box-shadow: var(--shadow-sm);
            font-size: 0.9rem;
        }

        .quick-link i{ font-size: 1.1rem; }

        .quick-link:hover{
            transform: translateY(-2px);
            border-color: rgba(159, 17, 27, .25);
            color: var(--primary);
        }

        .section-block{
            padding: 10px 0 46px;
        }

        .section-heading{
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 16px;
            margin-bottom: 18px;
        }

        .section-heading h2{
            margin: 0;
            font-size: 1.45rem;
            font-weight: 800;
            color: var(--secondary);
        }

        .section-heading p{
            margin: 0;
            color: var(--muted);
        }

        .category-card{
            background: var(--surface);
            border: 1px solid var(--border);
            border-radius: var(--radius);
            box-shadow: var(--shadow-sm);
            min-height: 520px;
            overflow: hidden;
            transition: transform .25s ease, box-shadow .25s ease;
        }

        .category-card:hover{
            transform: translateY(-4px);
            box-shadow: var(--shadow-md);
        }

        .category-header{
            background: linear-gradient(135deg, var(--secondary), #1f2937);
            color: #fff;
            padding: 16px 18px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 12px;
            flex-wrap: wrap;
        }

        .category-title{
            margin: 0;
            font-size: 1.05rem;
            font-weight: 800;
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .category-sub{
            font-size: 12px;
            color: #e5e7eb;
            opacity: 0.9;
            margin-top: 4px;
        }

        .category-count{
            background: rgba(255,255,255,.12);
            border: 1px solid rgba(255,255,255,.15);
            border-radius: 999px;
            padding: 6px 10px;
            font-size: 12px;
            font-weight: 700;
            white-space: nowrap;
        }

        .search-wrap{
            padding: 12px 16px 10px;
            background: var(--surface-soft);
            border-bottom: 1px solid var(--border);
        }

        .search-label{
            display: block;
            font-size: 13px;
            font-weight: 700;
            color: var(--secondary);
            margin-bottom: 6px;
        }

        .table-search{
            border-radius: 999px;
            border: 1px solid #d1d5db;
            min-height: 40px;
            padding-inline: 16px;
            font-size: 13px;
        }

        .table-search:focus{
            border-color: #bf1d2d;
            box-shadow: 0 0 0 3px rgba(159, 17, 27, 0.14);
        }

        .table-wrap{
            padding: 0 16px 0;
            max-height: 360px;
            overflow: auto;
        }

        .category-table{ margin-bottom: 0 !important; }

        .category-table thead th{
            position: sticky;
            top: 0;
            z-index: 2;
            background: #111827 !important;
            color: #fff !important;
            font-size: 13px;
            white-space: nowrap;
        }

        .category-table tbody td{
            vertical-align: middle;
            font-size: 14px;
        }

        .category-table tbody tr:nth-child(even){ background: #fafafa; }
        .category-table tbody tr:hover{ background: #eef6ff; }

        .post-link{
            color: #1d4ed8;
            font-weight: 600;
            line-height: 1.5;
        }

        .post-link:hover{
            color: #143a9c;
            text-decoration: underline;
        }

        .post-date{
            display: inline-block;
            margin-top: 3px;
            color: var(--muted);
            font-size: 12px;
        }

        .badge-new{
            background: #dc2626;
            color: #fff;
            font-size: 10px;
            padding: 2px 6px;
            border-radius: 999px;
            margin-left: 4px;
        }

        .datalist-wrapper{ position: relative; }

        .loading-overlay{
            position:absolute;
            inset:0;
            background:rgba(255,255,255,0.7);
            display:flex;
            align-items:center;
            justify-content:center;
            font-weight:700;
            font-size:0.9rem;
            z-index:5;
        }

        div.dt-container .dt-search{ display: none; }
        div.dt-container .dt-layout-row{ margin: 0; }

        .dt-bottom{
            display: flex;
            justify-content: center;
            padding: 10px 0 14px;
        }

        div.dt-container .dt-paging .dt-paging-button{
            border: none !important;
            background: #eef2f7 !important;
            color: var(--secondary) !important;
            border-radius: 10px !important;
            margin: 0 4px;
            min-width: 36px;
            min-height: 32px;
            font-weight: 700;
            font-size: 12px;
        }

        div.dt-container .dt-paging .dt-paging-button.current{
            background: var(--primary) !important;
            color: #fff !important;
        }

        .card-footer-link{
            border-top: 1px solid var(--border);
            padding: 10px 16px 12px;
            background: #f9fafb;
            font-size: 13px;
        }

        .card-footer-link a{
            color: #1d4ed8;
            font-weight: 600;
        }

        .card-footer-link a:hover{ color: #143a9c; }

        .ad-box{
            margin-top: 18px;
            background: #fffdf5;
            border: 1px solid #f4df99;
            border-radius: 16px;
            padding: 14px;
        }

        .footer-main{
            background: #fff;
            border-top: 1px solid var(--border);
            margin-top: 24px;
        }

        .footer-brand{
            display: inline-flex;
            align-items: center;
            gap: 10px;
            color: var(--secondary);
            font-weight: 800;
        }

        .footer-brand img{ border-radius: 10px; }

        .footer-links a{
            color: var(--muted);
            font-weight: 600;
        }

        .footer-links a:hover{ color: var(--primary); }

        .footer-visitor{
            display: inline-block;
            margin-top: 8px;
            padding: 6px 10px;
            border-radius: 999px;
            background: #fff5f5;
            border: 1px solid #fecaca;
            color: var(--primary);
            font-size: 12px;
            font-weight: 700;
        }

        .skip-link{
            position: absolute;
            left: -9999px;
            top: 0;
            z-index: 2000;
            background: #000;
            color: #fff;
            padding: 10px 14px;
        }

        .skip-link:focus{
            left: 12px;
            top: 12px;
        }

        @media (max-width: 991.98px){
            .hero-content{ padding: 24px; }
        }

        @media (max-width: 767.98px){
            .brand-logo{ width: 52px; height: 52px; }
            .brand-text .site-name{ font-size: 1.18rem; }
            .hero-section{ padding-top: 20px; }
            .category-card{ min-height: auto; }
            .table-wrap{ max-height: 300px; }
            .section-heading{
                align-items: flex-start;
                flex-direction: column;
            }
        }
        
        .quick-grid{
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 4px;
}

.quick-box{
    min-height: 64px;
    color: #fff;
    text-align: center;
    padding: 10px 8px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-weight: 800;
    line-height: 1.15;
    transition: transform .2s ease, opacity .2s ease;
    border-radius: 0;
}

.quick-box {
    font-size: 1rem;
    display: block;
}

.quick-box {
    font-size: 0.95rem;
    display: block;
}

.quick-box:hover{
    transform: scale(1.02);
    opacity: 0.95;
    color: #fff;
}

/* Colors matching the screenshot */
.qb1{ background:#8b8b00; }
.qb2{ background:#1212b8; }
.qb3{ background:#ff6a00; }
.qb4{ background:#8c0000; }
.qb5{ background:#ff0000; }
.qb6{ background:#0d6b0d; }
.qb7{ background:#ff00c8; }
.qb8{ background:#1683ff; }

@media (max-width: 991.98px){
    .quick-grid{
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 575.98px){
    .quick-grid{
        grid-template-columns: repeat(2, 1fr);
    }

    .quick-box{
        min-height: 58px;
        padding: 8px 6px;
    }
/* उदाहरण: सामान्य text को गहरा करना */
.quick-box {
        font-size: 0.9rem;
    }

    .quick-box {
        font-size: 0.85rem;
    }
}

.highlight-grid{
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 4px;
    margin-bottom: 8px;
}

.highlight-box{
    min-height: 62px;
    color: #fff;
    text-align: center;
    padding: 8px 6px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-weight: 800;
    line-height: 1.15;
    text-transform: uppercase;
    border-radius: 0;
    transition: transform .18s ease, opacity .18s ease;
}

.highlight-box {
    font-size: 0.95rem;
    display: block;
}

.highlight-box {
    font-size: 0.9rem;
    display: block;
}

.highlight-box:hover{
    transform: scale(1.02);
    opacity: 0.95;
    color: #fff;
}

/* 8 colors – screenshot जैसा */
.hb1{ background:#808000; }   /* olive */
.hb2{ background:#0000b8; }   /* blue  */
.hb3{ background:#ff6a00; }   /* orange */
.hb4{ background:#800000; }   /* dark red */
.hb5{ background:#ff0000; }   /* red */
.hb6{ background:#006400; }   /* dark green */
.hb7{ background:#ff00c8; }   /* pink */
.hb8{ background:#1683ff; }   /* sky blue */

@media (max-width: 991.98px){
    .highlight-grid{
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 767.98px){
    .highlight-grid{
        grid-template-columns: repeat(2, 1fr);
    }

    .highlight-box{
        min-height: 58px;
        padding: 7px 4px;
    }

    .highlight-box {
        font-size: 0.9rem;
    }

    .highlight-box {
        font-size: 0.82rem;
    }
}








.logo {
  color: #f00;;
  font-weight: 600;
  text-transform: uppercase;
}
.site-heading h2 {
  display: block;
  font-weight: 700;
  margin-bottom: 10px;
  text-transform: uppercase;
}
.site-heading h2  {
  color: blue;
}
.form-control {
    padding: 10px;
    border-radius: 20px;
    box-shadow: inset 8px 8px 8px #cbced1, inset -8px -8px 8px #fff;
    background-color: #f2f6f8;
    border: none;
    font-size: 18px;
  }
  table
{
  border: 2px solid blue;
}
  table tr td
{
  border: 2px solid blue;
}
table tr td a
{
  text-decoration: none;
}
table tr td ul{
border: 1px solid #FF0000;
list-style:none;
transition: .5s; 
}

table tr td  ul li{
  text-align: left;
}
table tr td  ul li::before{
content:'\2023';
color:#FF0000;
}
.site-heading h4::before {
  background: blue none repeat scroll 0 0;
  bottom: 0;
  content: "";
  height: 2px;
  left: 50%;
  margin-left: -25px;
  position: absolute;
  width: 50px;
}
.site-heading h4 {
  display: inline-block;
  padding-bottom: 20px;
  position: relative;
  text-transform: capitalize;
  z-index: 1;
}

.content02 {
	display: flex;
	background: #1010f7;
	padding: 1.5em 0 1.5em 0;
	align-items: center;
	justify-content: center;
	text-transform: uppercase;
}

.content03 {
	position: relative;
}

.content03 h1 {
	color: #fff;
	font-size: 2.2em;
	position: absolute;
	transform: translate(-50%, -50%);
}

.content03 h1:nth-child(1) {
	color: transparent;
	-webkit-text-stroke: 2px #ec3838;
}

.content03 h1:nth-child(2) {
	color: #0b0fff;;
	animation: animate 4s ease-in-out infinite;
}
.content03 h2 {
	color: #fff;
	position: absolute;
	transform: translate(-50%, -50%);
}

.content03 h2:nth-child(1) {
	color: transparent;
	-webkit-text-stroke: 2px #fff;
}

.content03 h2:nth-child(2) {
	color: #e80b16;
	animation: animate 4s ease-in-out infinite;
}

@keyframes animate {
	0%,
	100% {
		clip-path: polygon(
			0% 45%,
			16% 44%,
			33% 50%,
			54% 60%,
			70% 61%,
			84% 59%,
			100% 52%,
			100% 100%,
			0% 100%
		);
	}

	50% {
		clip-path: polygon(
			0% 60%,
			15% 65%,
			34% 66%,
			51% 62%,
			67% 50%,
			84% 45%,
			100% 46%,
			100% 100%,
			0% 100%
		);
	}
}
/* Search & filter */
.search-panel{
	width: 100%;
    margin-bottom: 15px;
	display: flex;
	justify-content: right;
}
select.form-control {
    -webkit-appearance: menulist;
}
.search-panel .form-row{
    text-align: right;
    width: 50%;
}
.search-panel .form-group{
	display: inline-block;
}
@media only screen and (max-width: 900px) {
 .search-panel .form-row{
    text-align: right;
    width: 100%;
}
.search-panel .form-group{
	display: flex;
}   
.col-md-6 {
    width:100%;
}
}

/* For Loading Overlay by CodexWorld */
.datalist-wrapper{
	position: relative;
}
.loading-overlay{
	display: none;
	position: absolute;
	left: 0;
	top: 0;
	right: 0;
	bottom: 0;
	z-index: 2;
	background: rgba(255,255,255,0.7);
}
.overlay-content {
    position: absolute;
    transform: translateY(-50%);
     -webkit-transform: translateY(-50%);
     -ms-transform: translateY(-50%);
    top: 50%;
    left: 0;
    right: 0;
    text-align: center;
    color: #555;
}

/* For Pagination Links by CodexWorld */
.pagination {
	font-family: Verdana, sans-serif;
	padding:20px;
	margin:7px;
	display: block;
    text-align: center;
}
.pagination a {
	margin: 2px;
	padding: 0.3em 0.64em 0.43em 0.64em;
	background-color: #ff3547;
	text-decoration: none;
	color: #fff;
    -webkit-box-shadow: 0 2px 5px 0 rgba(0,0,0,.16), 0 2px 10px 0 rgba(0,0,0,.12);
    box-shadow: 0 2px 5px 0 rgba(0,0,0,.16), 0 2px 10px 0 rgba(0,0,0,.12);
    -webkit-transition: all .2s linear;
    -o-transition: all .2s linear;
    transition: all .2s linear;
    -webkit-border-radius: .125rem;
    border-radius: .125rem;
}
.pagination a:hover, .pagination a:active {
	padding: 0.3em 0.64em 0.43em 0.64em;
	margin: 2px;
	background-color: #de1818;
	color: #fff;
}