/*
Theme Name: jobs News Theme (Starter)
Theme URI: https://example.com/jobs-news
Author: Generated by ChatGPT
Author URI: https://openai.com
Description: A lightweight, mobile-first starter theme for job/exam news portals. Includes CPTs, AJAX search, ad slots, and basic templates.
Version: 1.17
License: GNU General Public License v2 or later
Text Domain: jobs-news
*/
/* Basic reset & typography */
html,
body {
	margin: 0;
	padding: 0;
	font-family: Inter, Roboto, Arial, sans-serif;
	background: #fff;
	color: #111
}

body {
	background: aliceblue;
	font-size: 16px;
	line-height: 1.5em;
}

a {
	color: #010d31;
	text-decoration: none;
	cursor: pointer;
}

.container {
	max-width: 1100px;
	margin: 0 auto;
	padding: 12px
}

.site-header {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	padding: 8px 0;
	border-bottom: 1px solid #eee
}

.site-logo {
	font-weight: 700;
	font-size: 1.7em;
	padding: 3px 12px;
	border: 1px solid #ddd;
	border-radius: 4px;
}

.search-wrap {
	flex: 1;
	margin-left: 16px;
	max-width: 480px
}

.search-input {
	width: 100%;
	padding: 8px;
	border: 1px solid #ddd;
	border-radius: 4px
}

.hero-slider {
	margin-top: 12px
}

.grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 12px
}

.card {
	border: 1px solid #eee;
	padding: 12px;
	border-radius: 6px;
	background: #fff
}

.icon-share {
	height: 13px;
}

.meta {
	font-size: 12px;
	color: #666;
	margin-top: 6px
}


/* Card + layout styles — move to style.css for production */
.container {
	max-width: 1020px;
	margin: 20px auto;
	padding: 10px;
	box-sizing: border-box;
}

.header-container {
	margin: 0px auto;
}

.header-flex {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 20px;
}

.search-box input {
	padding: 8px 12px;
	border: 1px solid #ccc;
	border-radius: 4px;
	width: 320px;
}

.section-title {
	font-size: 1.25rem;
	margin: 30px 0 12px;
	font-weight: 700;
	color: #043c93;
}


.fgja-card {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: 12px;
	padding: 18px;
	border-radius: 10px;
	border: 1px solid rgba(0, 0, 0, 0.06);
	background: #ffffff;
	box-shadow: 0 1px 0 rgba(0, 0, 0, 0.02), 0 6px 18px rgba(20, 20, 20, 0.03);
	transition: transform .16s ease, box-shadow .16s ease;
	min-height: 110px;
	box-sizing: border-box;
	flex: 1 1 calc(50% - 16px);
}

.fgja-card:hover {
	transform: translateY(-6px);
	box-shadow: 0 8px 28px rgba(20, 20, 20, 0.08);
}

.fgja-card__head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 12px;
}

.fgja-card__title {
	margin: 0;
	font-size: 1.05rem;
	line-height: 1.2;
	color: #010d31;
	font-weight: 600;
}

.fgja-card__title a {
	color: #010d31;
	text-decoration: none;
}

.fgja-meta-row {
	display: flex;
	gap: 12px;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
}

.fgja-card__meta-list {
	margin: 0;
	padding: 0;
	list-style: none;
	display: flex;
	gap: 12px;
	flex-wrap: wrap;
	color: #6b6b6b;
	font-size: 0.92rem;
}

.fgja-card__meta-list li {
	margin: 0;
}

.fgja-small {
	font-size: 0.92rem;
	color: #555;
}

.fgja-meta-label {
	font-weight: 600;
	color: #333;
	margin-right: 6px;
}

.fgja-expired {
	display: inline-block;
	padding: 6px 10px;
	border-radius: 8px;
	background: #fff3f3;
	color: #b71c1c;
	border: 1px solid rgba(183, 28, 28, 0.06);
	font-weight: 700;
	font-size: 0.85rem;
}

.meta-container {
	display: flex;
	justify-content: flex-end;
	gap: 10px;
	margin-top: 10px;
	align-items: center;
}

.fgja-share-btn {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 8px 14px;
	border-radius: 8px;
	font-size: 13px;
	font-weight: 600;
	text-decoration: none;
	color: #fff;
	transition: all .2s ease;
}

.join-button-link button {
	padding: 8px 14px;
	border-radius: 8px;
	font-size: 14px;
	cursor: pointer;
	color: #fff;
	font-weight: 600;
	border: 0;
	line-height: 1.5;
	min-width: 130px;
	box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.fgja-share-btn.wa {
	background: #25D366;
	line-height: 1em;
	box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.fgja-share-btn.wa:hover {
	background: #1da955;
}

footer.container {
	background: #1d2327;
	padding: 20px;
	margin-bottom: 0;
	color: #fff;
	border-radius: 15px 15px 0 0;
}

.wp-block-button__link {
	padding: 8px 14px;
	border-radius: 8px;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.5em;
	box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.wp-block-image figcaption {
	font-size: 13px;
	text-align: center;
}

.wp-block-buttons>.wp-block-button {
	display: inline-block;
	margin: 1em 0;
}

h1 {
	font-size: 1.6em;
	line-height: 1.1em;
}

h2 {
	font-size: 1.3em;
	line-height: 1.1em;
}

h3 {
	font-size: 1.1em;
	line-height: 1.1em;
}

h4 {
	font-size: 1em;
	line-height: 1.1em;
}

.post-content {
	line-height: 1.5;
}

figure.wp-block-table {
	font-size: 0.9em;
}

.wp-block-table .has-fixed-layout {
	table-layout: auto;
}

.wp-block-list {
	padding-left: 1.6em;
}

@media (max-width:900px) {
	.fgja-card {
		flex: 1 1 100%;
		padding: 14px;
	}

	.fgja-card__title {
		font-size: 1rem;
	}
}

@media(max-width:600px) {
	body {
		font-size: 15px;
	}

	.grid {
		grid-template-columns: 1fr;
		flex-wrap: wrap;
	}

	h1 {
		font-size: 1.45em;
	}
}

.ad-slot {
	background: #f7f7f7;
	border: 1px dashed #ddd;
	padding: 8px;
	text-align: center;
	font-size: 13px;
	color: #666
}

.post-content {
	line-height: 1.7;
}

.breadcrumbs {
	font-size: 12px;
	color: #666;
	margin-bottom: 8px
}