/*
Theme Name: Available Jobs Clone
Theme URI: https://jobs.tradetest.ng/
Author: Site Migration Package
Description: Responsive recreation of the public Available Jobs site.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: available-jobs-clone
*/

:root {
	--aj-bg: #f7f8f9;
	--aj-surface: #ffffff;
	--aj-text: #222222;
	--aj-muted: #575760;
	--aj-link: #1e73be;
	--aj-container: 1200px;
}

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

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
}

body {
	margin: 0;
	background: var(--aj-bg);
	color: var(--aj-text);
	font-family: -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
	font-size: 17px;
	line-height: 1.5;
}

a {
	color: var(--aj-link);
	text-decoration: none;
}

a:hover,
a:focus {
	color: #000;
}

img {
	max-width: 100%;
	height: auto;
}

figure {
	margin: 0 0 1.5em;
}

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.screen-reader-text:focus {
	top: 6px;
	left: 6px;
	z-index: 100000;
	width: auto;
	height: auto;
	padding: 15px 23px 14px;
	clip: auto !important;
	background: #f1f1f1;
	color: #21759b;
	font-size: 14px;
	font-weight: 700;
}

.top-ad-spacer {
	height: 42.75px;
}

.grid-container {
	width: min(100%, var(--aj-container));
	margin-right: auto;
	margin-left: auto;
}

.site-header {
	background: var(--aj-surface);
}

.inside-header {
	display: flex;
	align-items: center;
	min-height: 100px;
	padding: 20px 40px;
}

.site-branding {
	flex: 0 0 auto;
}

.site-title {
	margin: 0;
	font-size: 25px;
	font-weight: 700;
	line-height: 1.2;
}

.site-title a {
	color: var(--aj-text);
}

.main-navigation {
	margin-left: auto;
	background: var(--aj-surface);
}

.main-navigation ul {
	display: flex;
	align-items: center;
	margin: 0;
	padding: 0;
	list-style: none;
}

.main-navigation li {
	position: relative;
}

.main-navigation a {
	display: block;
	padding: 0 20px;
	color: var(--aj-text);
	font-size: 15px;
	line-height: 60px;
	white-space: nowrap;
}

.main-navigation .menu-item-has-children > a::after {
	content: "▾";
	display: inline-block;
	margin-left: 8px;
	font-size: 11px;
}

.main-navigation .current-menu-item > a,
.main-navigation .current-menu-ancestor > a,
.main-navigation a:hover,
.main-navigation a:focus {
	color: var(--aj-link);
}

.main-navigation .sub-menu {
	position: absolute;
	top: 100%;
	right: 0;
	z-index: 999;
	display: none;
	min-width: 210px;
	background: var(--aj-surface);
	box-shadow: 0 2px 8px rgba(0, 0, 0, .12);
}

.main-navigation li:hover > .sub-menu,
.main-navigation li:focus-within > .sub-menu {
	display: block;
}

.main-navigation .sub-menu a {
	padding: 10px 20px;
	line-height: 1.5;
}

.menu-toggle {
	display: none;
	margin-left: auto;
	padding: 0 15px;
	border: 0;
	background: rgba(0, 0, 0, .02);
	color: var(--aj-text);
	font: inherit;
	font-size: 15px;
	line-height: 60px;
	cursor: pointer;
}

.menu-toggle::before {
	content: "☰";
	display: inline-block;
	margin-right: 7px;
	font-size: 20px;
}

.site-content {
	display: flex;
	align-items: flex-start;
}

.content-area {
	width: 70%;
}

.site-main {
	margin: 20px 20px 20px 0;
}

.site-main article {
	margin: 0 0 20px;
}

.inside-article,
.comments-area,
.page-header,
.no-results {
	padding: 40px;
	background: var(--aj-surface);
}

.page-header {
	margin-bottom: 20px;
}

.page-title {
	margin: 0;
	font-size: 35px;
	font-weight: 400;
	line-height: 1.2;
}

.entry-title {
	margin: 0;
	font-size: 35px;
	font-weight: 400;
	line-height: 1.2;
}

.single .entry-title,
.page .entry-title {
	font-size: 42px;
}

.entry-title a {
	color: var(--aj-text);
}

.entry-meta {
	margin-top: .425em;
	color: var(--aj-muted);
	font-size: 85%;
}

.entry-meta a {
	color: var(--aj-muted);
}

.entry-summary,
.entry-content {
	margin-top: 2em;
}

.entry-summary p,
.entry-content p {
	margin-top: 0;
	margin-bottom: 1.5em;
}

.post-image {
	margin-top: 2em;
}

.post-image img {
	display: block;
	width: 100%;
}

.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4 {
	margin: 0 0 20px;
	font-weight: 400;
	line-height: 1.2;
}

.entry-content h1,
.entry-content h2 {
	font-size: 35px;
}

.entry-content h3 {
	font-size: 29px;
}

.entry-content h4 {
	font-size: 24px;
}

.entry-content ul,
.entry-content ol {
	margin: 0 0 1.5em 1.5em;
}

.entry-content li {
	margin-bottom: .5em;
}

.entry-content table {
	width: 100%;
	margin-bottom: 1.5em;
	border-collapse: collapse;
}

.entry-content th,
.entry-content td {
	padding: 10px;
	border: 1px solid #e5e5e5;
	text-align: left;
	vertical-align: top;
}

.entry-content blockquote {
	margin: 0 0 1.5em;
	padding: 10px 20px;
	border-left: 5px solid rgba(0, 0, 0, .05);
}

.entry-footer {
	margin-top: 2em;
	color: var(--aj-muted);
	font-size: 85%;
}

.entry-footer .comments-link {
	margin-left: 1em;
}

.read-more {
	display: inline-block;
}

.widget-area {
	width: 30%;
}

.sidebar-inner {
	margin-top: 20px;
}

.widget {
	margin: 0 0 20px;
	padding: 40px;
	background: var(--aj-surface);
}

.widget-title {
	margin: 0 0 20px;
	font-size: 20px;
	font-weight: 400;
}

.widget ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.widget li {
	margin-bottom: .5em;
}

.widget_recent_entries li {
	margin-bottom: .5em;
}

.recent-comment {
	margin: 0 0 1.5em;
	font-size: 15px;
}

.recent-comment:last-child {
	margin-bottom: 0;
}

.recent-comment time {
	display: block;
	color: var(--aj-muted);
	font-size: 13px;
}

.recent-comment p {
	margin: .35em 0 0;
}

.posts-navigation,
.pagination {
	margin-bottom: 20px;
	padding: 20px 40px;
	background: var(--aj-surface);
}

.nav-links {
	display: flex;
	align-items: center;
	gap: 12px;
}

.page-numbers {
	padding: 8px 12px;
}

.page-numbers.current {
	color: var(--aj-text);
}

.comments-area {
	margin-top: 0;
}

.comments-title,
.comment-reply-title {
	margin: 0 0 1em;
	font-size: 29px;
	font-weight: 400;
	line-height: 1.2;
}

.comment-list {
	margin: 0 0 1.5em;
	padding: 0;
	list-style: none;
}

.comment-list .children {
	margin-left: 30px;
	list-style: none;
}

.comment-body {
	padding: 20px 0;
	border-bottom: 1px solid #efefef;
}

.comment-meta {
	font-size: 85%;
}

.comment-content p {
	margin-bottom: 0;
}

.comment-form label {
	display: block;
	margin-bottom: 5px;
}

input[type="text"],
input[type="email"],
input[type="url"],
textarea {
	width: 100%;
	padding: 10px 15px;
	border: 1px solid #ccc;
	background: #fafafa;
	font: inherit;
}

button,
input[type="submit"] {
	padding: 12px 20px;
	border: 0;
	background: #55555e;
	color: #fff;
	font: inherit;
	cursor: pointer;
}

.pre-content-ad {
	height: 305.5px;
	margin: 8px 0;
	color: var(--aj-muted);
	font-size: 12px;
	text-align: center;
}

.inline-ad {
	min-height: 90px;
	margin: 8px 0 24px;
	color: var(--aj-muted);
	font-size: 12px;
	text-align: center;
}

.ez-toc-container {
	width: auto;
	margin: 0 0 1.5em;
	padding: 10px 20px;
	border: 1px solid #dedede;
	border-radius: 4px;
	background: #f9f9f9;
}

.ez-toc-title-container {
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.ez-toc-title {
	margin-bottom: 0 !important;
	font-weight: 700;
}

.ez-toc-title-toggle svg {
	width: 18px;
	height: 18px;
}

.ez-toc-container nav ul {
	margin: 10px 0 0 20px;
}

.ez-toc-section,
.ez-toc-section-end {
	scroll-margin-top: 20px;
}

.mj-wrap {
	margin: 24px 0;
}

.mj-heading {
	margin-bottom: 12px !important;
	font-weight: 700;
}

.mj-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
}

.mj-card {
	display: grid;
	grid-template-columns: 60px 1fr;
	gap: 12px;
	align-items: center;
	min-height: 92px;
	padding: 12px;
	border: 1px solid #e7e7e7;
	border-radius: 6px;
	background: #fff;
	box-shadow: 0 1px 3px rgba(0, 0, 0, .06);
}

.mj-card:hover {
	border-color: #b8cee1;
	color: var(--aj-link);
}

.mj-thumb {
	width: 60px;
	height: 60px;
	border-radius: 4px;
	object-fit: cover;
}

.mj-country {
	font-size: 13px;
	font-weight: 700;
}

.mj-title {
	color: var(--aj-text);
	font-size: 14px;
	font-weight: 600;
	line-height: 1.3;
}

.mj-cta {
	grid-column: 1 / -1;
	color: var(--aj-link);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .04em;
}

.site-info {
	padding: 20px 40px;
	background: var(--aj-surface);
	font-size: 15px;
	text-align: center;
}

.cookie-banner {
	position: fixed;
	right: 20px;
	bottom: 20px;
	z-index: 9999;
	width: min(420px, calc(100% - 40px));
	padding: 22px;
	border: 1px solid #e0e0e0;
	border-radius: 8px;
	background: #fff;
	box-shadow: 0 10px 35px rgba(0, 0, 0, .18);
}

.cookie-banner[hidden] {
	display: none;
}

.cookie-banner h2 {
	margin: 0 0 8px;
	font-size: 20px;
}

.cookie-banner p {
	margin: 0 0 16px;
	font-size: 14px;
}

.cookie-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.cookie-actions button {
	flex: 1 1 auto;
	padding: 9px 12px;
	font-size: 13px;
}

.cookie-actions .accept {
	background: var(--aj-link);
}

.cookie-actions .secondary {
	border: 1px solid #ccc;
	background: #fff;
	color: var(--aj-text);
}

@media (max-width: 960px) {
	.inside-header {
		padding-right: 30px;
		padding-left: 30px;
	}

	.menu-toggle {
		display: block;
	}

	.main-navigation {
		position: absolute;
		top: 122.75px;
		right: 30px;
		left: 30px;
		z-index: 1000;
		display: none;
		margin: 0;
		box-shadow: 0 4px 10px rgba(0, 0, 0, .1);
	}

	.main-navigation.is-open {
		display: block;
	}

	.main-navigation ul,
	.main-navigation .sub-menu {
		position: static;
		display: block;
		min-width: 0;
		box-shadow: none;
	}

	.main-navigation a {
		padding: 10px 20px;
		line-height: 1.5;
	}

	.main-navigation .sub-menu a {
		padding-left: 40px;
	}

	.main-navigation .sub-menu .menu-item-has-children > a::after {
		content: "";
		margin: 0;
	}

	.site-content {
		display: block;
	}

	.content-area,
	.widget-area {
		width: 100%;
	}

	.site-main {
		margin-right: 0;
	}
}

@media (max-width: 768px) {
	.inside-header {
		min-height: 125.5px;
		padding: 20px 30px;
	}

	.inside-article,
	.comments-area,
	.page-header,
	.no-results,
	.widget {
		padding: 30px;
	}

	.entry-title,
	.single .entry-title,
	.page .entry-title,
	.page-title {
		font-size: 35px;
	}

	.site-info {
		padding: 20px 30px;
	}

	.pre-content-ad {
		height: 245px;
	}

	.mj-grid {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 480px) {
	.menu-toggle {
		width: 55px;
		padding: 0;
		font-size: 0;
	}

	.menu-toggle::before {
		margin: 0;
		font-size: 24px;
	}

	.entry-content h1,
	.entry-content h2 {
		font-size: 30px;
	}

	.cookie-banner {
		right: 12px;
		bottom: 12px;
		width: calc(100% - 24px);
	}
}
