/* =========================================================
   Odisha Board 10th — Main Stylesheet
   ========================================================= */

:root {
	--ob10-primary: #0b5fae;
	--ob10-primary-dark: #084883;
	--ob10-accent: #f7931e;
	--ob10-text: #1e2733;
	--ob10-text-light: #5b6673;
	--ob10-bg: #f4f6f9;
	--ob10-card-bg: #ffffff;
	--ob10-border: #e6e9ef;
	--ob10-radius: 12px;
	--ob10-shadow: 0 2px 10px rgba(20, 30, 60, 0.06);
	--ob10-shadow-hover: 0 8px 24px rgba(20, 30, 60, 0.12);
	--ob10-font: 'Poppins', 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* ---------- Base ---------- */
html { scroll-behavior: smooth; }

body {
	font-family: var(--ob10-font);
	color: var(--ob10-text);
	background: var(--ob10-bg);
	line-height: 1.65;
	font-size: 16px;
}

.container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
}

h1, h2, h3, h4, h5, h6 { font-weight: 700; line-height: 1.3; margin: 0 0 .6em; color: #10233d; }
p { margin: 0 0 1em; }
a { color: var(--ob10-primary); transition: color .15s ease; }
a:hover { color: var(--ob10-accent); }
ul { margin: 0; padding: 0; list-style: none; }

.screen-reader-text {
	position: absolute !important;
	clip: rect(1px,1px,1px,1px);
	width: 1px; height: 1px; overflow: hidden;
}
.skip-link { left: -9999px; position: absolute; top: 0; z-index: 100000; }
.skip-link:focus { left: 6px; top: 6px; background: #fff; padding: 10px 16px; border-radius: 6px; }

/* ---------- Top bar ---------- */
.ob10-topbar {
	background: var(--ob10-primary-dark);
	color: #dce9fb;
	font-size: 13px;
}
.ob10-topbar-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 8px 20px;
	gap: 16px;
	flex-wrap: wrap;
}
.ob10-topbar-social a { color: #dce9fb; margin-left: 14px; font-weight: 500; }
.ob10-topbar-social a:hover { color: #fff; }

/* ---------- Header ---------- */
.site-header {
	background: #fff;
	position: sticky;
	top: 0;
	z-index: 999;
	box-shadow: 0 1px 3px rgba(20,30,60,.06);
}
.header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 12px 20px;
	gap: 20px;
}
.site-branding { display: flex; align-items: center; }
.site-title-link { display: flex; flex-direction: column; }
.site-title { font-size: 22px; font-weight: 800; color: var(--ob10-primary); }
.site-description { font-size: 12px; color: var(--ob10-text-light); }
.custom-logo { max-height: 60px; width: auto; }

.main-navigation { flex: 1; display: flex; justify-content: center; }
.main-navigation ul.menu,
.main-navigation > ul {
	display: flex;
	gap: 4px;
	flex-wrap: wrap;
	justify-content: center;
}
.main-navigation li { position: relative; }
.main-navigation a {
	display: block;
	padding: 10px 14px;
	color: var(--ob10-text);
	font-weight: 600;
	font-size: 14.5px;
	border-radius: 8px;
}
.main-navigation a:hover,
.main-navigation .current-menu-item > a {
	background: rgba(11,95,174,.08);
	color: var(--ob10-primary);
}
.main-navigation .sub-menu {
	display: none;
	position: absolute;
	top: 100%;
	left: 0;
	background: #fff;
	min-width: 220px;
	box-shadow: var(--ob10-shadow-hover);
	border-radius: 10px;
	padding: 8px;
	z-index: 20;
}
.main-navigation li:hover > .sub-menu { display: block; }
.main-navigation .sub-menu a { border-radius: 6px; }

.menu-toggle {
	display: none;
	flex-direction: column;
	gap: 5px;
	background: none;
	border: none;
	cursor: pointer;
	padding: 8px;
}
.menu-toggle .bar { width: 24px; height: 3px; background: var(--ob10-text); border-radius: 2px; }

.search-toggle {
	background: var(--ob10-primary);
	color: #fff;
	border: none;
	width: 42px;
	height: 42px;
	border-radius: 50%;
	cursor: pointer;
	flex-shrink: 0;
}
.search-toggle:hover { background: var(--ob10-accent); }

.ob10-search-panel { display: none; background: #f0f3f8; border-top: 1px solid var(--ob10-border); padding: 16px 0; }
.ob10-search-panel.active { display: block; }
.ob10-search-form { display: flex; max-width: 600px; margin: 0 auto; }
.ob10-search-form input {
	flex: 1;
	padding: 12px 16px;
	border: 1px solid var(--ob10-border);
	border-radius: 8px 0 0 8px;
	font-size: 15px;
	outline: none;
}
.ob10-search-form button {
	background: var(--ob10-primary);
	color: #fff;
	border: none;
	padding: 0 20px;
	border-radius: 0 8px 8px 0;
	cursor: pointer;
}
.ob10-search-form button:hover { background: var(--ob10-accent); }

/* ---------- Ticker ---------- */
.ob10-ticker-wrap { background: #fff7ec; border-bottom: 1px solid #ffe6bf; }
.ob10-ticker-inner { display: flex; align-items: center; gap: 14px; padding: 9px 20px; overflow: hidden; }
.ob10-ticker-label {
	background: var(--ob10-accent);
	color: #fff;
	font-size: 12.5px;
	font-weight: 700;
	padding: 5px 10px;
	border-radius: 6px;
	white-space: nowrap;
	flex-shrink: 0;
}
.ob10-ticker { overflow: hidden; flex: 1; position: relative; }
.ob10-ticker-track {
	display: flex;
	gap: 48px;
	white-space: nowrap;
	animation: ob10-marquee 32s linear infinite;
	width: max-content;
}
.ob10-ticker-track a { color: #7a4b12; font-size: 14px; font-weight: 500; }
.ob10-ticker-track a:hover { color: var(--ob10-primary); }
.ob10-ticker:hover .ob10-ticker-track { animation-play-state: paused; }
@keyframes ob10-marquee {
	0% { transform: translateX(0); }
	100% { transform: translateX(-50%); }
}

/* ---------- Breadcrumbs ---------- */
.ob10-breadcrumbs { background: #fff; border-bottom: 1px solid var(--ob10-border); font-size: 13px; }
.ob10-breadcrumbs .container { padding: 10px 20px; color: var(--ob10-text-light); }
.ob10-breadcrumbs a { color: var(--ob10-text-light); font-weight: 500; }
.ob10-breadcrumbs .sep { margin: 0 6px; }

/* ---------- Hero ---------- */
.ob10-hero {
	background: linear-gradient(135deg, var(--ob10-primary) 0%, var(--ob10-primary-dark) 100%);
	color: #fff;
	padding: 56px 0 44px;
	text-align: center;
}
.ob10-hero-inner { max-width: 780px; margin: 0 auto; }
.ob10-hero h1 { color: #fff; font-size: clamp(24px, 4vw, 36px); margin-bottom: 12px; }
.ob10-hero p { color: #d9e6f7; font-size: 16px; max-width: 620px; margin: 0 auto 26px; }

.ob10-hero-search { display: flex; max-width: 520px; margin: 0 auto 24px; box-shadow: var(--ob10-shadow-hover); border-radius: 10px; overflow: hidden; }
.ob10-hero-search input { flex: 1; border: none; padding: 15px 18px; font-size: 15px; outline: none; }
.ob10-hero-search button {
	background: var(--ob10-accent);
	color: #fff;
	border: none;
	padding: 0 22px;
	font-weight: 700;
	cursor: pointer;
	white-space: nowrap;
}
.ob10-hero-search button:hover { background: #e07f00; }

.ob10-hero-quicklinks { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.ob10-quicklink {
	background: rgba(255,255,255,.12);
	color: #fff;
	padding: 9px 16px;
	border-radius: 30px;
	font-size: 13.5px;
	font-weight: 600;
	border: 1px solid rgba(255,255,255,.25);
}
.ob10-quicklink:hover { background: var(--ob10-accent); border-color: var(--ob10-accent); color: #fff; }

/* ---------- Homepage section cards (category columns) ---------- */
.ob10-sections-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
	margin: 36px auto;
}
.ob10-section-card {
	background: var(--ob10-card-bg);
	border-radius: var(--ob10-radius);
	box-shadow: var(--ob10-shadow);
	padding: 20px 20px 10px;
	border-top: 4px solid var(--ob10-primary);
}
.ob10-section-card:nth-child(2) { border-top-color: var(--ob10-accent); }
.ob10-section-card:nth-child(3) { border-top-color: #1fa971; }
.ob10-section-card:nth-child(4) { border-top-color: #8e44ec; }
.ob10-section-card:nth-child(5) { border-top-color: #e0447b; }
.ob10-section-card:nth-child(6) { border-top-color: #17a2c9; }

.ob10-section-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.ob10-section-head h2 { font-size: 17px; margin: 0; display: flex; align-items: center; gap: 8px; color: #10233d; }
.ob10-section-head h2 i { color: var(--ob10-primary); }
.ob10-viewall { font-size: 12.5px; font-weight: 700; color: var(--ob10-primary); white-space: nowrap; }
.ob10-viewall i { font-size: 10px; margin-left: 2px; }

.ob10-list li { border-bottom: 1px dashed var(--ob10-border); }
.ob10-list li:last-child { border-bottom: none; }
.ob10-list a {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 10px 0;
	color: var(--ob10-text);
	font-size: 14px;
	font-weight: 500;
}
.ob10-list a:hover { color: var(--ob10-primary); }
.ob10-list .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--ob10-accent); flex-shrink: 0; }
.ob10-list time { margin-left: auto; font-size: 11.5px; color: var(--ob10-text-light); flex-shrink: 0; }

/* ---------- Card grid (archives, related posts) ---------- */
.ob10-card-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
	margin: 20px 0 10px;
}
.ob10-card {
	background: var(--ob10-card-bg);
	border-radius: var(--ob10-radius);
	overflow: hidden;
	box-shadow: var(--ob10-shadow);
	transition: box-shadow .2s ease, transform .2s ease;
}
.ob10-card:hover { box-shadow: var(--ob10-shadow-hover); transform: translateY(-3px); }
.ob10-card-thumb { display: block; position: relative; aspect-ratio: 5/3; background: #eef1f6; overflow: hidden; }
.ob10-card-thumb img { width: 100%; height: 100%; object-fit: cover; }
.ob10-card-noimg { display: flex; align-items: center; justify-content: center; height: 100%; font-size: 30px; color: #c3ccd8; }
.ob10-card-cat {
	position: absolute; top: 10px; left: 10px;
	background: var(--ob10-primary); color: #fff;
	font-size: 11px; font-weight: 700; padding: 4px 10px; border-radius: 20px;
}
.ob10-card-body { padding: 16px; }
.ob10-card-title { font-size: 15.5px; margin-bottom: 8px; }
.ob10-card-title a { color: #10233d; }
.ob10-card-meta { font-size: 12px; color: var(--ob10-text-light); display: flex; align-items: center; gap: 6px; margin-bottom: 6px; }
.ob10-card-excerpt { font-size: 13.5px; color: var(--ob10-text-light); margin: 0; }
.ob10-card-cat-tag {
	background: rgba(11,95,174,.08); color: var(--ob10-primary);
	font-size: 11.5px; font-weight: 700; padding: 3px 10px; border-radius: 20px;
}

/* ---------- Info + FAQ ---------- */
.ob10-info-section { margin: 40px auto; background: #fff; border-radius: var(--ob10-radius); padding: 30px; box-shadow: var(--ob10-shadow); }
.ob10-faq { margin: 40px auto 56px; }
.ob10-faq h2 { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.ob10-faq h2 i { color: var(--ob10-accent); }
.ob10-faq-list details {
	background: #fff;
	border-radius: 10px;
	box-shadow: var(--ob10-shadow);
	padding: 16px 20px;
	margin-bottom: 12px;
}
.ob10-faq-list summary { font-weight: 600; cursor: pointer; font-size: 15px; }
.ob10-faq-list p { margin-top: 10px; color: var(--ob10-text-light); font-size: 14px; }

/* ---------- Blog / Single / Page layout ---------- */
.site-content { padding: 30px 0 50px; }
.ob10-with-sidebar { display: grid; grid-template-columns: 1fr 300px; gap: 30px; align-items: start; }
.site-main { min-width: 0; }

.ob10-archive-title { font-size: 24px; margin-bottom: 6px; }
.ob10-archive-desc { color: var(--ob10-text-light); margin-bottom: 20px; }

.ob10-posts-list { display: flex; flex-direction: column; gap: 22px; }
.ob10-list-item {
	background: #fff;
	border-radius: var(--ob10-radius);
	box-shadow: var(--ob10-shadow);
	padding: 20px;
	display: flex;
	gap: 18px;
}
.ob10-list-item.ob10-page,
article.ob10-list-item[id^="post-"]:only-child { display: block; }
.ob10-list-thumb { flex-shrink: 0; width: 220px; border-radius: 10px; overflow: hidden; aspect-ratio: 5/3; }
.ob10-list-thumb img { width: 100%; height: 100%; object-fit: cover; }
.ob10-list-content { flex: 1; min-width: 0; }
.ob10-entry-title { font-size: 22px; margin-bottom: 8px; }
.ob10-entry-title a { color: #10233d; }
.ob10-entry-excerpt { color: var(--ob10-text-light); font-size: 14.5px; }
.ob10-readmore { font-weight: 700; font-size: 13.5px; }

.ob10-entry-thumb { margin: 16px 0; border-radius: var(--ob10-radius); overflow: hidden; }
.ob10-entry-content { font-size: 15.5px; }
.ob10-entry-content h2, .ob10-entry-content h3 { margin-top: 1.4em; }
.ob10-entry-content table { width: 100%; border-collapse: collapse; margin: 1em 0; }
.ob10-entry-content table th, .ob10-entry-content table td { border: 1px solid var(--ob10-border); padding: 8px 12px; }
.ob10-entry-content table th { background: #f0f3f8; }
.ob10-entry-content img { border-radius: 8px; }
.ob10-entry-content a { text-decoration: underline; }

.ob10-share { display: flex; align-items: center; gap: 10px; margin: 26px 0; padding-top: 16px; border-top: 1px solid var(--ob10-border); }
.ob10-share span { font-weight: 600; font-size: 13px; color: var(--ob10-text-light); }
.ob10-share a {
	width: 34px; height: 34px; border-radius: 50%;
	background: #f0f3f8; color: var(--ob10-primary);
	display: flex; align-items: center; justify-content: center;
}
.ob10-share a:hover { background: var(--ob10-primary); color: #fff; }

.ob10-related { margin-top: 34px; background: #fff; border-radius: var(--ob10-radius); box-shadow: var(--ob10-shadow); padding: 22px; }
.ob10-related h3 { display: flex; align-items: center; gap: 8px; }

/* ---------- Sidebar ---------- */
.widget-area { display: flex; flex-direction: column; gap: 20px; }
.widget {
	background: #fff;
	border-radius: var(--ob10-radius);
	box-shadow: var(--ob10-shadow);
	padding: 20px;
}
.widget-title { font-size: 16px; margin-bottom: 14px; padding-bottom: 10px; border-bottom: 2px solid var(--ob10-primary); display: inline-block; }
.widget ul li { padding: 7px 0; border-bottom: 1px dashed var(--ob10-border); font-size: 14px; }
.widget ul li:last-child { border-bottom: none; }
.widget select, .widget input { width: 100%; padding: 8px; border: 1px solid var(--ob10-border); border-radius: 6px; }

/* ---------- Comments ---------- */
.comments-area { margin-top: 34px; background: #fff; border-radius: var(--ob10-radius); box-shadow: var(--ob10-shadow); padding: 22px; }
.comment-list { list-style: none; margin: 0; padding: 0; }
.comment-list .children { list-style: none; margin-left: 30px; padding: 0; }
.comment-list article { border-bottom: 1px solid var(--ob10-border); padding: 16px 0; }
.comment-form input, .comment-form textarea { width: 100%; padding: 10px; border: 1px solid var(--ob10-border); border-radius: 8px; margin-bottom: 12px; font-family: inherit; }
.ob10-btn, .comment-form input[type="submit"] {
	background: var(--ob10-primary);
	color: #fff !important;
	border: none;
	padding: 12px 22px;
	border-radius: 8px;
	font-weight: 700;
	cursor: pointer;
	display: inline-block;
	text-decoration: none;
}
.ob10-btn:hover, .comment-form input[type="submit"]:hover { background: var(--ob10-accent); color: #fff; }

/* ---------- 404 ---------- */
.ob10-404 { padding: 60px 0; text-align: center; }
.ob10-404-inner { max-width: 480px; margin: 0 auto; }
.ob10-404-inner h1 { font-size: 42px; color: var(--ob10-primary); }
.ob10-404-inner .ob10-search-form { margin-top: 20px; }

/* ---------- Pagination ---------- */
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 30px; flex-wrap: wrap; }
.pagination .page-numbers {
	padding: 9px 15px;
	background: #fff;
	border-radius: 8px;
	box-shadow: var(--ob10-shadow);
	font-weight: 600;
	font-size: 14px;
	color: var(--ob10-text);
}
.pagination .page-numbers.current { background: var(--ob10-primary); color: #fff; }
.pagination .page-numbers:hover { background: var(--ob10-accent); color: #fff; }

/* ---------- Footer ---------- */
.site-footer { background: #10233d; color: #b9c6d6; margin-top: 40px; }
.footer-top { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 30px; padding: 44px 20px 30px; }
.footer-col p { color: #b9c6d6; font-size: 14px; }
.footer-col .widget-title,
.site-footer h4.widget-title { color: #fff; border-bottom: 2px solid var(--ob10-accent); }
.footer-col ul li { border-bottom: 1px solid rgba(255,255,255,.08); padding: 7px 0; font-size: 13.5px; }
.footer-col ul li a { color: #b9c6d6; }
.footer-col ul li a:hover { color: #fff; }
.footer-menu { display: flex; flex-direction: column; }
.footer-menu li { border-bottom: 1px solid rgba(255,255,255,.08); padding: 7px 0; }
.footer-menu a { color: #b9c6d6; font-size: 13.5px; }
.footer-menu a:hover { color: #fff; }

.ob10-social-icons { display: flex; gap: 10px; margin-top: 12px; }
.ob10-social-icons a {
	width: 36px; height: 36px; border-radius: 50%;
	background: rgba(255,255,255,.08);
	color: #fff; display: flex; align-items: center; justify-content: center;
}
.ob10-social-icons a:hover { background: var(--ob10-accent); }

.ob10-disclaimer { background: rgba(0,0,0,.2); padding: 16px 0; }
.ob10-disclaimer p { font-size: 12.5px; color: #93a2b5; margin: 0; text-align: center; }

.site-info { border-top: 1px solid rgba(255,255,255,.08); padding: 16px 0; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; font-size: 12.5px; }
.footer-bottom a { color: #b9c6d6; }
.footer-bottom a:hover { color: #fff; }

/* ---------- Back to top ---------- */
#ob10-back-to-top {
	position: fixed; right: 20px; bottom: 20px;
	width: 44px; height: 44px; border-radius: 50%;
	background: var(--ob10-primary); color: #fff; border: none;
	box-shadow: var(--ob10-shadow-hover);
	cursor: pointer; display: none; z-index: 500;
}
#ob10-back-to-top.show { display: block; }
#ob10-back-to-top:hover { background: var(--ob10-accent); }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1024px) {
	.ob10-sections-grid { grid-template-columns: repeat(2, 1fr); }
	.ob10-card-grid { grid-template-columns: repeat(2, 1fr); }
	.ob10-with-sidebar { grid-template-columns: 1fr; }
	.footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 782px) {
	.menu-toggle { display: flex; }
	.main-navigation {
		display: none;
		position: absolute;
		top: 100%; left: 0; right: 0;
		background: #fff;
		box-shadow: var(--ob10-shadow-hover);
		padding: 10px;
	}
	.main-navigation.active { display: block; }
	.main-navigation ul.menu, .main-navigation > ul { flex-direction: column; align-items: stretch; }
	.main-navigation .sub-menu { position: static; box-shadow: none; padding-left: 14px; }
	.header-inner { position: relative; flex-wrap: wrap; }

	.ob10-sections-grid { grid-template-columns: 1fr; }
	.ob10-card-grid { grid-template-columns: 1fr; }
	.ob10-list-item { flex-direction: column; }
	.ob10-list-thumb { width: 100%; }
	.footer-top { grid-template-columns: 1fr; padding: 30px 20px; }
	.footer-bottom { flex-direction: column; text-align: center; justify-content: center; }
	.ob10-hero { padding: 40px 0 32px; }
	.ob10-ticker-label span { display: none; }
}
