/*
 Theme Name:   GeneratePress Child
 Theme URI:    https://generatepress.com
 Description:  Default GeneratePress child theme
 Author:       Tom Usborne
 Author URI:   https://tomusborne.com
 Template:     generatepress
 Version:      0.1
*/

/* ---- Card container ---- */
.featured-content.featuredpost.rifp {
	background: #ffffff;
	border: 1px solid #e3e3e3;
	border-radius: 8px;
	padding: 0;
	overflow: hidden;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}
 
/* ---- Card title ("Bank Jobs", "Central Govt Jobs", etc.) ---- */
.featured-content.featuredpost.rifp .widgettitle {
	margin: 0;
	padding: 14px 18px;
	font-size: 17px;
	font-weight: 600;
	color: #0c447c;
	border-bottom: 1px solid #eee;
	background: #fafbfc;
}
 
/* ---- Table header row ("Post Details" / "Last Date") ---- */
.featured-content.featuredpost.rifp article.cat-table.entry {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 8px 18px;
	font-size: 11px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: #888;
	border-bottom: 1px solid #eee;
	background: #fafbfc;
}
 
/* Hide the second, duplicate header row the widget prints (see note
 * above -- this is a CSS-only display choice, the PHP still prints
 * both, only one is shown). */
.featured-content.featuredpost.rifp article.cat-table.entry.ht2col {
	display: none;
}
 
/* ---- Each job row ---- */
.featured-content.featuredpost.rifp article.entry {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: 12px;
	padding: 12px 18px;
	border-bottom: 1px solid #f0f0f0;
	font-size: 14px;
	line-height: 1.5;
}
 
.featured-content.featuredpost.rifp article.entry:last-child {
	border-bottom: none;
}
 
.featured-content.featuredpost.rifp article.entry:nth-child(even) {
	background: #fafbfc;
}
 
/* "Board - Post Name - Vacancies" text (left column) */
.featured-content.featuredpost.rifp .entry-header {
	flex: 1;
	min-width: 0;
}
 
.featured-content.featuredpost.rifp .entry-header a {
	color: #0c447c;
	text-decoration: none;
	font-weight: 500;
}
 
.featured-content.featuredpost.rifp .entry-header a:hover {
	color: #195182;
	text-decoration: underline;
}
 
/* "Last Date" text (right column) */
.featured-content.featuredpost.rifp .entry-date {
	flex-shrink: 0;
	color: #666;
	font-size: 13px;
	white-space: nowrap;
	padding-top: 1px;
}
 
/* =====================================================================
 * HOME - MIDDLE SECTION -- 2 COLUMNS, SIDE BY SIDE
 * ---------------------------------------------------------------------
 * Home - Middle Left and Home - Middle Right only (Home - Middle Center
 * is no longer displayed here -- see front-page.php). Matches the
 * updated `home-middle-2col` wrapper class.
 * ===================================================================== */
 
.home-middle-2col {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px;
	margin: 20px 0;
}
 
.home-middle-2col .home-middle-left,
.home-middle-2col .home-middle-right {
	min-width: 0; /* prevents wide widget content from overflowing its grid column */
}
 
/* Stack to a single column on narrow/mobile screens */
@media (max-width: 768px) {
	.home-middle-2col {
		grid-template-columns: 1fr;
		gap: 16px;
	}
}

.featured-content.featuredpost.rifp .more-from-category {
	padding: 12px 18px;
	margin: 0;
	border-top: 1px solid #f0f0f0;
}

.featured-content.featuredpost.rifp .more-from-category a {
	display: inline-block;
	padding: 6px 16px;
	background: #094071;
	color: #fff;
	font-size: 13px;
	font-weight: 500;
	text-decoration: none;
	border-radius: 4px;
}

.featured-content.featuredpost.rifp .more-from-category a:hover {
	background: #195182;
	color: #fff;
}


/* =====================================================================
 * UNIFIED WIDTH -- main content + footer widgets share one fixed
 * max-width and centering, so nothing depends on guessing GP's exact
 * footer class names.
 * ===================================================================== */
.site-content,
.content-area,
#primary,
#main {
	overflow: visible !important;
	max-width: none !important;
}

.home-middle-2col {
	width: 100% !important;
	max-width: 100% !important;
	box-sizing: border-box !important;
}




.state-links {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
	gap: 1px;
	background: #e3e3e3;
	border: 1px solid #e3e3e3;
}

.state-links li {
	background: #fff;
	padding: 10px 12px;
}

.state-links a {
	color: #0c447c;
	text-decoration: none;
}

.state-links a:hover {
	text-decoration: underline;
}