/*
Theme CSS
*/
:root {
	--primary-red: #cc0000;
	--primary-green: #008000;
	--primary-blue: #0000cc;
	--primary-orange: #ff6600;
	--primary-purple: #800080;
	--primary-teal: #008080;
	--bg-color: #f4f4f4;
	--text-color: #333333;
	--link-color: #0000ee;
	--link-hover: #cc0000;
	--border-color: #dddddd;
	--white: #ffffff;
}

* {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

body {
	font-family: Arial, Helvetica, sans-serif;
	background-color: var(--bg-color);
	color: var(--text-color);
	line-height: 1.6;
}

a {
	color: var(--link-color);
	text-decoration: none;
}

a:hover {
	color: var(--link-hover);
	text-decoration: underline;
}

.container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 15px;
}

/* Header */
.site-header {
	background: var(--white);
	border-bottom: 3px solid var(--primary-red);
	padding: 15px 0;
	position: sticky;
	top: 0;
	z-index: 100;
}

.header-container {
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
}

.site-title a {
	font-size: 28px;
	font-weight: bold;
	color: var(--primary-red);
	text-decoration: none;
}

.site-description {
	font-size: 14px;
	color: #666;
}

/* Base Nav */
.main-navigation ul {
	list-style: none;
	display: flex;
	gap: 20px;
}
.main-navigation a {
	font-weight: bold;
	color: #333;
}
.main-navigation a:hover {
	color: var(--primary-red);
}

.menu-toggle {
	display: none;
	background: none;
	border: none;
	cursor: pointer;
	padding: 5px;
}
.hamburger {
	display: block;
	width: 25px;
	height: 3px;
	background: #333;
	margin: 5px 0;
}

/* Top Notice Ticker */
.top-notice-bar {
	background: #ffebeb;
	border-bottom: 1px solid #ffcccc;
	padding: 10px 0;
}
.notice-flex {
	display: flex;
	align-items: center;
}
.notice-label {
	background: var(--primary-red);
	color: var(--white);
	padding: 5px 10px;
	font-weight: bold;
	margin-right: 15px;
	white-space: nowrap;
}
.notice-ticker {
	overflow: hidden;
	white-space: nowrap;
	width: 100%;
}
.ticker-content {
	display: inline-block;
	animation: ticker 25s linear infinite;
}
.ticker-content:hover {
	animation-play-state: paused;
}
@keyframes ticker {
	0% { transform: translateX(100%); }
	100% { transform: translateX(-100%); }
}

/* Main Content */
.site-main {
	padding: 20px 0;
}

/* Category Grid Highlight */
.highlight-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
	gap: 15px;
	margin-bottom: 30px;
}
.box-item {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 25px 15px;
	border-radius: 5px;
	color: var(--white) !important;
	font-weight: bold;
	font-size: 20px;
	text-align: center;
	text-decoration: none !important;
	transition: transform 0.2s, box-shadow 0.2s;
	min-height: 100px;
}
.box-item:hover {
	transform: translateY(-3px);
	box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}
.box-red { background: var(--primary-red); }
.box-blue { background: var(--primary-blue); }
.box-green { background: var(--primary-green); }
.box-orange { background: var(--primary-orange); }
.box-purple { background: var(--primary-purple); }
.box-teal { background: var(--primary-teal); }

/* Home Columns Grid */
.home-columns-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
	margin-bottom: 30px;
}
.home-column {
	background: var(--white);
	border: 1px solid var(--border-color);
	border-radius: 4px;
	overflow: hidden;
}
.column-header {
	padding: 12px;
	color: var(--white);
	text-align: center;
}
.column-header h2 {
	font-size: 18px;
	margin: 0;
}
.bg-red { background: var(--primary-red); }
.bg-green { background: var(--primary-green); }
.bg-blue { background: var(--primary-blue); }
.bg-orange { background: var(--primary-orange); }
.bg-purple { background: var(--primary-purple); }
.bg-teal { background: var(--primary-teal); }

.post-list {
	list-style: none;
	padding: 0;
	margin: 0;
}
.post-list li {
	border-bottom: 1px solid #eee;
}
.post-list li:last-child {
	border-bottom: none;
}
.post-list li a {
	display: block;
	padding: 10px 15px;
	color: #333;
	text-decoration: none;
}
.post-list li a:hover {
	background: #f9f9f9;
	color: var(--primary-red);
}
.view-all {
	text-align: center;
	padding: 10px;
	background: #f4f4f4;
	border-top: 1px solid #eee;
}
.view-all a {
	font-weight: bold;
}

/* Horizontal Sections */
.home-horizontal-section {
	background: var(--white);
	border: 1px solid var(--border-color);
	border-radius: 4px;
	margin-bottom: 30px;
	overflow: hidden;
}
.section-header {
	padding: 12px;
	color: var(--white);
}
.section-header h2 {
	font-size: 18px;
	margin: 0;
}
.section-content {
	padding: 15px;
}
.horizontal-post-list {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 15px;
	list-style: disc;
	margin-left: 20px;
}
@media (min-width: 900px){
	.horizontal-post-list {
		grid-template-columns: repeat(3, 1fr);
	}
}
.horizontal-post-list li {
	padding-left: 5px;
}
.view-all-bottom {
	margin-top: 15px;
	text-align: right;
}
.btn-view-all {
	display: inline-block;
	background: #eee;
	padding: 5px 15px;
	border-radius: 3px;
	font-weight: bold;
	font-size: 14px;
}
.btn-view-all:hover {
	background: #ddd;
	text-decoration: none;
}

/* Layout for Single / Pages */
.main-content-container {
	display: grid;
	grid-template-columns: 3fr 1fr;
	gap: 30px;
}

.primary-content {
	background: var(--white);
	padding: 25px;
	border: 1px solid var(--border-color);
	border-radius: 4px;
}

.breadcrumbs {
	font-size: 13px;
	margin-bottom: 15px;
	color: #666;
}

.entry-header {
	margin-bottom: 20px;
	border-bottom: 2px solid var(--border-color);
	padding-bottom: 10px;
}
.entry-title {
	font-size: 26px;
	color: var(--primary-red);
	margin-bottom: 5px;
}
.text-center {
	text-align: center;
}
.entry-meta {
	font-size: 13px;
	color: #777;
}

/* Structured Job Content styling (Sarkari Style) */
.job-structured-content h2, 
.job-structured-content h3 {
	color: var(--primary-green);
	border-bottom: 1px dashed var(--primary-green);
	padding-bottom: 5px;
	margin-top: 25px;
	margin-bottom: 15px;
}

.wrap-tables table {
	width: 100%;
	border-collapse: collapse;
	margin-bottom: 20px;
}
.wrap-tables table th,
.wrap-tables table td {
	border: 1px solid var(--border-color);
	padding: 10px;
	text-align: left;
}
.wrap-tables table th {
	background: #ffeded;
	color: var(--primary-red);
	border-color: var(--primary-red);
}

/* Important Links Table */
.important-links-section {
	margin-top: 40px;
	border: 2px solid var(--primary-green);
	border-radius: 4px;
	overflow: hidden;
}
.important-links-header {
	background: var(--primary-green);
	color: var(--white);
	padding: 15px;
	text-align: center;
}
.important-links-header h2 {
	margin: 0;
	font-size: 22px;
}
.important-links-table {
	width: 100%;
	border-collapse: collapse;
}
.important-links-table td {
	border-bottom: 1px solid #ddd;
	padding: 15px;
}
.important-links-table tr:last-child td {
	border-bottom: none;
}
.important-links-table tr:nth-child(even) {
	background: #f9f9f9;
}
.link-label {
	width: 60%;
	font-size: 18px;
	color: var(--primary-red);
}
.link-url {
	text-align: center;
}
.link-url a {
	display: inline-block;
	background: var(--primary-blue);
	color: var(--white) !important;
	padding: 10px 20px;
	border-radius: 4px;
	font-weight: bold;
	text-decoration: none;
	animation: blinkbtn 2s infinite;
}
@keyframes blinkbtn {
	0% { opacity: 1; }
	50% { opacity: 0.8; transform: scale(0.98); }
	100% { opacity: 1; }
}

/* Related Posts */
.related-posts {
	margin-top: 40px;
	border-top: 2px solid var(--border-color);
	padding-top: 20px;
}
.related-posts h3 {
	margin-bottom: 15px;
	color: var(--primary-red);
}

/* Sidebar */
.widget-area .widget {
	background: var(--white);
	border: 1px solid var(--border-color);
	padding: 20px;
	margin-bottom: 25px;
	border-radius: 4px;
}
.widget-title {
	font-size: 18px;
	margin-bottom: 15px;
	border-bottom: 2px solid var(--primary-red);
	padding-bottom: 5px;
}
.widget ul {
	list-style: none;
}
.widget ul li {
	margin-bottom: 10px;
	border-bottom: 1px dashed #ddd;
	padding-bottom: 5px;
}

/* Footer */
.site-footer {
	background: #222;
	color: #ccc;
	padding: 40px 0 20px;
	margin-top: 40px;
}
.footer-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 30px;
	margin-bottom: 30px;
}
.footer-widget-title {
	color: var(--white);
	margin-bottom: 15px;
	border-bottom: 1px solid #444;
	padding-bottom: 10px;
}
.site-info {
	text-align: center;
	border-top: 1px solid #444;
	padding-top: 20px;
}
.site-info a {
	color: #fff;
	font-weight: bold;
}

/* Scroll to Top */
#scrollToTopBtn {
	display: none;
	position: fixed;
	bottom: 20px;
	right: 20px;
	z-index: 99;
	border: none;
	outline: none;
	background-color: var(--primary-red);
	color: white;
	cursor: pointer;
	padding: 15px;
	border-radius: 50%;
	font-size: 18px;
	box-shadow: 0 4px 6px rgba(0,0,0,0.3);
}
#scrollToTopBtn:hover {
	background-color: #a00;
}

/* Media Queries for Mobile */
@media (max-width: 900px) {
	.main-content-container {
		grid-template-columns: 1fr;
	}
	.home-columns-grid {
		grid-template-columns: 1fr;
	}
	.footer-grid {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 768px) {
	.menu-toggle {
		display: block;
	}
	.main-navigation ul {
		display: none;
		flex-direction: column;
		width: 100%;
		position: absolute;
		top: 100%;
		left: 0;
		background: var(--white);
		box-shadow: 0 5px 10px rgba(0,0,0,0.1);
		padding: 10px 20px;
		z-index: 1000;
	}
	.main-navigation ul.toggled {
		display: flex;
	}
	.main-navigation {
		position: relative;
	}
	.ticker-content {
		animation-duration: 20s;
	}
}

@media (max-width: 480px) {
	.container {
		padding: 0 5px;
	}
	.site-main {
		padding: 10px 0;
	}
	/* Make grids pull to edges */
	.highlight-grid {
		gap: 10px;
		margin-bottom: 20px;
	}
	.box-item {
		padding: 15px 10px;
		min-height: 80px;
		font-size: 16px;
	}
	.home-columns-grid {
		gap: 15px;
	}
	.home-horizontal-section {
		margin-bottom: 15px;
		border-radius: 0;
		border-left: none;
		border-right: none;
	}
	.home-column {
		border-radius: 0;
		border-left: none;
		border-right: none;
	}
	.column-content .post-list li a {
		padding: 12px 10px;
		font-size: 15px;
	}
	.horizontal-post-list li {
		margin-bottom: 12px;
		font-size: 15px;
	}
	.link-label {
		display: block;
		width: 100%;
		text-align: center;
		padding-bottom: 0px;
	}
	.link-url {
		display: block;
		width: 100%;
		padding-top: 10px;
	}
	.horizontal-post-list {
		grid-template-columns: 1fr;
	}
}

/* To make the website full width */
.container, .site-content, .wrapper {
	max-width: 100% !important;
	padding-left: 20px;
	padding-right: 20px;
}

/* To make the header and footer full width */
.site-header, .site-footer {
	max-width: 100% !important;
}
