/*
 * home.css — Homepage-specific styles for IndiaFreeJobAlert.
 *
 * Implements the hero search, quick access tiles, state/qualification grids,
 * and featured alert feeds. Adheres strictly to the locked design system.
 */

/* -------------------------------------------------------------------------
 * 1. Hero Section
 * ---------------------------------------------------------------------- */

.ifja-hero {
	padding: var(--ifja-space-8) var(--ifja-space-4);
	margin-bottom: var(--ifja-space-8);
	background: linear-gradient(180deg, var(--ifja-surface) 0%, var(--ifja-bg) 100%);
	border-bottom: 1px solid var(--ifja-border);
	text-align: center;
}

.ifja-hero__inner {
	max-width: 820px;
	margin: 0 auto;
}

.ifja-hero__badge {
	display: inline-block;
	margin-bottom: var(--ifja-space-3);
	padding: 0.25rem 0.75rem;
	font-size: var(--ifja-text-xs);
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	border-radius: var(--ifja-radius-pill);
	background-color: var(--ifja-accent-soft);
	color: var(--ifja-accent-strong);
}

.ifja-hero__title {
	margin: 0 0 var(--ifja-space-3);
	font-size: var(--ifja-text-3xl);
	font-weight: 800;
	line-height: 1.15;
	color: var(--ifja-text);
	letter-spacing: -0.02em;
}

@media (min-width: 640px) {
	.ifja-hero__title {
		font-size: var(--ifja-text-4xl);
	}
}

.ifja-hero__subtitle {
	margin: 0 auto var(--ifja-space-6);
	max-width: 640px;
	font-size: var(--ifja-text-base);
	color: var(--ifja-text-muted);
	line-height: 1.5;
}

.ifja-hero__search-form {
	display: flex;
	flex-direction: column;
	gap: var(--ifja-space-2);
	max-width: 680px;
	margin: 0 auto var(--ifja-space-4);
}

@media (min-width: 560px) {
	.ifja-hero__search-form {
		flex-direction: row;
		align-items: center;
		background-color: var(--ifja-bg);
		padding: var(--ifja-space-2);
		border: 2px solid var(--ifja-border);
		border-radius: var(--ifja-radius-lg);
		box-shadow: 0 4px 12px rgba(15, 23, 42, 0.04);
	}

	.ifja-hero__search-form:focus-within {
		border-color: var(--ifja-accent);
	}
}

.ifja-hero__input {
	flex: 1;
	border: 1px solid var(--ifja-border);
	border-radius: var(--ifja-radius-md);
	padding: 0.75rem 1rem;
	font-size: var(--ifja-text-base);
	color: var(--ifja-text);
	background-color: var(--ifja-bg);
	outline: none;
}

@media (min-width: 560px) {
	.ifja-hero__input {
		border: none;
		box-shadow: none;
		padding: 0.5rem 0.75rem;
	}
}

.ifja-hero__btn {
	padding: 0.75rem 1.5rem;
	font-size: var(--ifja-text-base);
	font-weight: 600;
	border-radius: var(--ifja-radius-md);
	background-color: var(--ifja-accent);
	color: #fff;
	border: none;
	cursor: pointer;
	transition: background-color var(--ifja-transition);
}

.ifja-hero__btn:hover,
.ifja-hero__btn:focus {
	background-color: var(--ifja-accent-hover);
}

.ifja-hero__tags {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: var(--ifja-space-2);
	margin-top: var(--ifja-space-3);
	font-size: var(--ifja-text-xs);
	color: var(--ifja-text-muted);
}

.ifja-hero__tags-label {
	font-weight: 600;
}

.ifja-hero__tag-link {
	padding: 0.2rem 0.6rem;
	border-radius: var(--ifja-radius-pill);
	background-color: var(--ifja-bg);
	border: 1px solid var(--ifja-border);
	color: var(--ifja-text);
	text-decoration: none;
	transition: border-color var(--ifja-transition), color var(--ifja-transition);
}

.ifja-hero__tag-link:hover {
	border-color: var(--ifja-accent);
	color: var(--ifja-accent);
	text-decoration: none;
}

/* -------------------------------------------------------------------------
 * 2. Quick Access Tiles
 * ---------------------------------------------------------------------- */

.ifja-quick-nav {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: var(--ifja-space-3);
	margin-bottom: var(--ifja-space-8);
}

@media (min-width: 640px) {
	.ifja-quick-nav {
		grid-template-columns: repeat(3, 1fr);
	}
}

@media (min-width: 1024px) {
	.ifja-quick-nav {
		grid-template-columns: repeat(6, 1fr);
	}
}

.ifja-quick-card {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	padding: var(--ifja-space-4) var(--ifja-space-3);
	background-color: var(--ifja-surface);
	border: 1px solid var(--ifja-border);
	border-radius: var(--ifja-radius-lg);
	text-decoration: none;
	color: var(--ifja-text);
	transition: transform var(--ifja-transition), border-color var(--ifja-transition), box-shadow var(--ifja-transition);
}

.ifja-quick-card:hover {
	transform: translateY(-2px);
	border-color: var(--ifja-accent);
	box-shadow: 0 4px 12px rgba(15, 23, 42, 0.05);
	text-decoration: none;
}

.ifja-quick-card__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: var(--ifja-radius-full);
	background-color: var(--ifja-accent-soft);
	color: var(--ifja-accent);
	margin-bottom: var(--ifja-space-2);
	font-size: var(--ifja-text-xl);
}

.ifja-quick-card__title {
	margin: 0;
	font-size: var(--ifja-text-sm);
	font-weight: 700;
	color: var(--ifja-text);
}

.ifja-quick-card__sub {
	margin-top: 0.25rem;
	font-size: var(--ifja-text-xs);
	color: var(--ifja-text-muted);
}

/* -------------------------------------------------------------------------
 * 3. Section Headers & Layout
 * ---------------------------------------------------------------------- */

.ifja-home-section {
	margin-bottom: var(--ifja-space-10);
}

.ifja-section-head {
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	margin-bottom: var(--ifja-space-4);
	padding-bottom: var(--ifja-space-2);
	border-bottom: 2px solid var(--ifja-border);
}

.ifja-section-head__title {
	margin: 0;
	font-size: var(--ifja-text-xl);
	font-weight: 700;
	color: var(--ifja-text);
	display: flex;
	align-items: center;
	gap: var(--ifja-space-2);
}

.ifja-section-head__link {
	font-size: var(--ifja-text-sm);
	font-weight: 600;
	color: var(--ifja-accent);
	text-decoration: none;
}

.ifja-section-head__link:hover {
	color: var(--ifja-accent-hover);
	text-decoration: underline;
}

/* -------------------------------------------------------------------------
 * 4. Browse Grids (States & Qualifications)
 * ---------------------------------------------------------------------- */

.ifja-browse-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: var(--ifja-space-2);
}

@media (min-width: 480px) {
	.ifja-browse-grid {
		grid-template-columns: repeat(3, 1fr);
	}
}

@media (min-width: 768px) {
	.ifja-browse-grid {
		grid-template-columns: repeat(4, 1fr);
	}
}

@media (min-width: 1024px) {
	.ifja-browse-grid {
		grid-template-columns: repeat(6, 1fr);
	}
}

.ifja-browse-item {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0.6rem 0.8rem;
	background-color: var(--ifja-surface);
	border: 1px solid var(--ifja-border);
	border-radius: var(--ifja-radius-md);
	text-decoration: none;
	color: var(--ifja-text);
	font-size: var(--ifja-text-xs);
	font-weight: 600;
	transition: background-color var(--ifja-transition), border-color var(--ifja-transition);
}

.ifja-browse-item:hover {
	background-color: var(--ifja-bg);
	border-color: var(--ifja-accent);
	color: var(--ifja-accent);
	text-decoration: none;
}

/* Enhanced State Browse Grid */
.ifja-state-browse-intro {
	font-size: 0.8125rem;
	color: var(--ifja-muted, #64748b);
	margin: -0.25rem 0 1rem 0;
	line-height: 1.5;
}

.ifja-state-grid-enhanced {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 0.625rem;
}

@media (min-width: 640px) {
	.ifja-state-grid-enhanced {
		grid-template-columns: repeat(3, 1fr);
	}
}

@media (min-width: 1024px) {
	.ifja-state-grid-enhanced {
		grid-template-columns: repeat(4, 1fr);
	}
}

.ifja-state-item {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0.625rem 0.75rem;
	background: #ffffff;
	border: 1px solid var(--ifja-border, #e2e8f0);
	border-radius: 6px;
	text-decoration: none;
	transition: all 0.15s ease;
	box-shadow: 0 1px 2px rgba(0,0,0,0.02);
}

.ifja-state-item:hover {
	background: #fff7ed;
	border-color: #ea580c;
	box-shadow: 0 3px 8px rgba(234, 88, 12, 0.12);
	transform: translateY(-1px);
	text-decoration: none;
}

.ifja-state-item__main {
	display: flex;
	align-items: center;
	gap: 0.625rem;
	min-width: 0;
	flex: 1;
}

.ifja-state-item__icon {
	font-size: 1.125rem;
	line-height: 1;
	flex-shrink: 0;
}

.ifja-state-item__info {
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.ifja-state-item__name {
	font-size: 0.8125rem;
	font-weight: 700;
	color: #0f172a;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	line-height: 1.25;
}

.ifja-state-item:hover .ifja-state-item__name {
	color: #ea580c;
}

.ifja-state-item__boards {
	font-size: 0.6875rem;
	color: #64748b;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	line-height: 1.3;
	margin-top: 2px;
}

.ifja-state-item .ifja-browse-item__arrow {
	font-size: 1rem;
	color: #94a3b8;
	flex-shrink: 0;
	margin-left: 0.25rem;
	transition: transform 0.15s ease, color 0.15s ease;
}

.ifja-state-item:hover .ifja-browse-item__arrow {
	color: #ea580c;
	transform: translateX(2px);
}

/* -------------------------------------------------------------------------
 * 5. Updates & Ticker List
 * ---------------------------------------------------------------------- */

.ifja-updates-list {
	display: flex;
	flex-direction: column;
	gap: var(--ifja-space-2);
}

.ifja-update-item {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--ifja-space-3);
	padding: var(--ifja-space-3) var(--ifja-space-4);
	background-color: var(--ifja-surface);
	border: 1px solid var(--ifja-border);
	border-radius: var(--ifja-radius-md);
	text-decoration: none;
	color: var(--ifja-text);
	transition: border-color var(--ifja-transition), background-color var(--ifja-transition);
}

.ifja-update-item:hover {
	border-color: var(--ifja-accent);
	background-color: var(--ifja-bg);
	text-decoration: none;
}

.ifja-update-item__title {
	font-size: var(--ifja-text-sm);
	font-weight: 600;
	color: var(--ifja-text);
}

.ifja-update-item__meta {
	font-size: var(--ifja-text-xs);
	color: var(--ifja-text-muted);
	white-space: nowrap;
}

/* -------------------------------------------------------------------------
 * 7. Breaking News Flash Ticker (IndiaFastJobAlert style)
 * ---------------------------------------------------------------------- */

.ifja-ticker-wrap {
	background: #0f172a;
	color: #ffffff;
	border-bottom: 2px solid #dc2626;
	overflow: hidden;
	font-size: 0.8125rem;
}

.ifja-ticker-inner {
	display: flex;
	align-items: stretch;
	width: 100%;
	max-width: 100%;
	margin: 0;
	height: 38px;
}

.ifja-ticker-label {
	display: flex;
	align-items: center;
	padding: 0 0.875rem;
	background: #dc2626;
	color: #ffffff;
	font-weight: 800;
	letter-spacing: 0.05em;
	white-space: nowrap;
	text-transform: uppercase;
	font-size: 0.75rem;
}

.ifja-ticker-content {
	flex: 1 1 0%;
	min-width: 0;
	overflow: hidden;
	position: relative;
	display: flex;
	align-items: center;
}

.ifja-ticker-track {
	display: flex;
	gap: 2rem;
	white-space: nowrap;
	animation: ifja-marquee 65s linear infinite;
	padding-left: 1rem;
}

.ifja-ticker-track:hover,
.ifja-ticker-track:focus-within {
	animation-play-state: paused;
}

.ifja-ticker-item {
	color: #f1f5f9;
	text-decoration: none;
	font-weight: 500;
	transition: color 0.15s ease;
}

.ifja-ticker-item:hover {
	color: #fbbf24;
	text-decoration: underline;
}

@keyframes ifja-marquee {
	0% { transform: translateX(0); }
	100% { transform: translateX(-50%); }
}

/* -------------------------------------------------------------------------
 * 8. Top Category Feature Boxes (Vibrant Indian Portal Tiles)
 * ---------------------------------------------------------------------- */

.ifja-feature-boxes-section {
	margin: 1.25rem 0 0.5rem;
}

.ifja-feature-boxes-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 0.625rem;
}

@media (min-width: 600px) {
	.ifja-feature-boxes-grid {
		grid-template-columns: repeat(4, 1fr);
	}
}

@media (min-width: 960px) {
	.ifja-feature-boxes-grid {
		grid-template-columns: repeat(8, 1fr);
	}
}

.ifja-feature-tile {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	padding: 0.75rem 0.5rem;
	border-radius: 8px;
	text-decoration: none;
	background: var(--ifja-surface, #ffffff);
	border: 1px solid var(--ifja-border, #e2e8f0);
	box-shadow: 0 1px 3px rgba(0,0,0,0.06);
	transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.ifja-feature-tile:hover {
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(0,0,0,0.12);
	border-color: var(--tile-color);
	text-decoration: none;
}

.ifja-feature-tile__icon-wrap {
	width: 42px;
	height: 42px;
	border-radius: 10px;
	background: var(--tile-color);
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 0.375rem;
	box-shadow: 0 2px 5px rgba(0,0,0,0.15);
}

.ifja-feature-tile__icon {
	font-size: 1.25rem;
}

.ifja-feature-tile__title {
	font-size: 0.8125rem;
	font-weight: 700;
	color: var(--ifja-text, #0f172a);
	line-height: 1.2;
}

.ifja-feature-tile__sub {
	font-size: 0.6875rem;
	color: var(--ifja-text-muted, #64748b);
	margin-top: 0.125rem;
}

/* -------------------------------------------------------------------------
 * 9. Community Channels (WhatsApp & Telegram)
 * ---------------------------------------------------------------------- */

.ifja-community-bar {
	background: linear-gradient(135deg, #064e3b 0%, #047857 100%);
	color: #ffffff;
	border-radius: 8px;
	padding: 1.25rem 1.5rem;
	margin: 1.25rem 0;
	box-shadow: 0 2px 8px rgba(4,120,87,0.25);
}

.ifja-community-bar__inner {
	display: flex;
	flex-direction: column;
	gap: 1rem;
	align-items: center;
	text-align: center;
}

@media (min-width: 768px) {
	.ifja-community-bar__inner {
		flex-direction: row;
		justify-content: space-between;
		text-align: left;
	}
}

.ifja-community-bar__title {
	font-size: 1.0625rem;
	font-weight: 800;
	margin: 0 0 0.25rem;
	color: #ffffff;
}

.ifja-community-bar__desc {
	font-size: 0.8125rem;
	margin: 0;
	color: #d1fae5;
	line-height: 1.4;
}

.ifja-community-bar__actions {
	display: flex;
	gap: 0.75rem;
	flex-wrap: wrap;
	justify-content: center;
}

.ifja-comm-btn {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.5rem 1rem;
	border-radius: 6px;
	font-size: 0.8125rem;
	font-weight: 700;
	text-decoration: none;
	white-space: nowrap;
	transition: transform 0.15s ease, opacity 0.15s ease;
}

.ifja-comm-btn:hover {
	transform: translateY(-1px);
	opacity: 0.92;
	text-decoration: none;
}

.ifja-comm-btn--wa {
	background: #25d366;
	color: #ffffff;
}

.ifja-comm-btn--tg {
	background: #0088cc;
	color: #ffffff;
}

@media (max-width: 560px) {
	.ifja-community-bar {
		padding: 1rem;
		margin: 1rem 0;
	}
	.ifja-community-bar__actions {
		width: 100%;
		flex-direction: column;
		gap: 0.5rem;
	}
	.ifja-comm-btn {
		width: 100%;
		justify-content: center;
		padding: 0.65rem 1rem;
		font-size: 0.875rem;
		box-sizing: border-box;
	}
}

/* -------------------------------------------------------------------------
 * 10. Sarkari Recruitment Table (High Density Indian Table Layout)
 * ---------------------------------------------------------------------- */

.ifja-recruitment-table-section {
	background: var(--ifja-surface, #ffffff);
	border: 1px solid var(--ifja-border, #e2e8f0);
	border-radius: 8px;
	overflow: hidden;
	margin: 1.5rem 0;
	box-shadow: 0 2px 6px rgba(0,0,0,0.04);
}

.ifja-table-header-bar {
	background: #1e3a8a;
	color: #ffffff;
	padding: 0.875rem 1.25rem;
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}

@media (min-width: 640px) {
	.ifja-table-header-bar {
		flex-direction: row;
		justify-content: space-between;
		align-items: center;
	}
}

.ifja-table-header-bar__title {
	font-size: 1rem;
	font-weight: 800;
	margin: 0;
	color: #ffffff;
}

.ifja-table-header-bar__sub {
	font-size: 0.75rem;
	color: #bfdbfe;
}

.ifja-table-view-all-btn {
	font-size: 0.75rem;
	font-weight: 700;
	color: #ffffff;
	background: rgba(255,255,255,0.18);
	padding: 0.35rem 0.75rem;
	border-radius: 4px;
	text-decoration: none;
	white-space: nowrap;
	transition: background 0.15s ease;
}

.ifja-table-view-all-btn:hover {
	background: rgba(255,255,255,0.3);
	text-decoration: none;
}

/* Quick State Filter Pills in Recruitment Table */
.ifja-table-state-pills-wrap {
	display: flex;
	align-items: center;
	gap: 0.625rem;
	padding: 0.5rem 1rem;
	background: #f1f5f9;
	border-bottom: 1px solid var(--ifja-border, #e2e8f0);
	overflow: hidden;
}

.ifja-table-state-pills-label {
	font-size: 0.6875rem;
	font-weight: 800;
	color: #475569;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	white-space: nowrap;
	flex-shrink: 0;
}

.ifja-table-state-pills-scroll {
	flex: 1 1 0%;
	min-width: 0;
	display: flex;
	align-items: center;
	gap: 0.375rem;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: thin;
	padding: 2px 0;
}

.ifja-table-state-pills-scroll::-webkit-scrollbar {
	height: 4px;
}

.ifja-table-state-pills-scroll::-webkit-scrollbar-thumb {
	background: #cbd5e1;
	border-radius: 2px;
}

.ifja-state-quick-pill {
	display: inline-flex;
	align-items: center;
	padding: 0.25rem 0.625rem;
	font-size: 0.6875rem;
	font-weight: 600;
	border-radius: 9999px;
	background: #ffffff;
	border: 1px solid #cbd5e1;
	color: #334155;
	text-decoration: none;
	white-space: nowrap;
	transition: all 0.15s ease;
	flex-shrink: 0;
}

.ifja-state-quick-pill:hover {
	background: #ea580c;
	color: #ffffff;
	border-color: #ea580c;
	text-decoration: none;
	box-shadow: 0 2px 6px rgba(234, 88, 12, 0.4);
	transform: translateY(-1px);
}

.ifja-state-quick-pill.is-active {
	background: #0f172a;
	color: #ffffff;
	border-color: #0f172a;
	font-weight: 700;
}

.ifja-state-quick-pill.is-active:hover {
	background: #ea580c;
	border-color: #ea580c;
	color: #ffffff;
}

.ifja-state-quick-pill--more {
	background: #fff7ed;
	border-color: #fed7aa;
	color: #c2410c;
	font-weight: 700;
}

.ifja-state-quick-pill--more:hover {
	background: #ea580c;
	color: #ffffff;
	border-color: #ea580c;
	box-shadow: 0 2px 6px rgba(234, 88, 12, 0.4);
}

.ifja-table-responsive {
	position: relative;
	width: 100%;
	max-width: 100%;
	border: 1px solid var(--ifja-border, #e2e8f0);
	border-radius: 6px;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
}

@media (min-width: 768px) {
	.ifja-table-responsive {
		overflow-x: visible;
	}
}

.ifja-table-scroll-hint {
	display: none;
	padding: 0.35rem 0.75rem;
	font-size: 0.6875rem;
	font-weight: 600;
	color: #64748b;
	background: #f8fafc;
	border-bottom: 1px solid #e2e8f0;
	text-align: right;
}

@media (max-width: 768px) {
	.ifja-table-scroll-hint {
		display: flex;
		align-items: center;
		justify-content: flex-end;
		gap: 0.25rem;
	}
}

.ifja-sarkari-table {
	width: 100%;
	min-width: 660px;
	border-collapse: collapse;
	font-size: 0.8125rem;
	text-align: left;
}

@media (min-width: 768px) {
	.ifja-sarkari-table {
		min-width: 0;
	}
}

.ifja-sarkari-table thead th {
	background: #0f172a;
	color: #ffffff;
	font-weight: 700;
	padding: 0.625rem 0.875rem;
	border-bottom: 2px solid #334155;
	white-space: nowrap;
	font-size: 0.75rem;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.ifja-sarkari-table tbody tr {
	border-bottom: 1px solid var(--ifja-border, #e2e8f0);
	transition: background-color 0.15s ease;
}

.ifja-sarkari-table tbody tr:nth-child(even) {
	background-color: #f8fafc;
}

.ifja-sarkari-table tbody tr:hover {
	background-color: #f1f5f9;
}

.ifja-sarkari-table tbody td {
	padding: 0.75rem 0.875rem;
	vertical-align: middle;
}

.td-date {
	font-size: 0.75rem;
	color: var(--ifja-text-muted, #64748b);
	white-space: nowrap;
}

.ifja-table-job-link {
	color: #1e3a8a;
	text-decoration: none;
	font-weight: 700;
	display: block;
	line-height: 1.35;
	font-size: 0.875rem;
}

.ifja-table-job-link:hover {
	color: #dc2626;
	text-decoration: underline;
}

.ifja-table-employer {
	display: block;
	font-size: 0.75rem;
	color: var(--ifja-text-muted, #64748b);
	margin-top: 0.125rem;
}

.ifja-table-badge-new {
	display: inline-block;
	background: #dc2626;
	color: #ffffff;
	font-size: 0.625rem;
	font-weight: 800;
	padding: 0.1rem 0.35rem;
	border-radius: 3px;
	margin-top: 0.25rem;
	animation: ifja-blink 1.4s infinite;
}

@keyframes ifja-blink {
	0%, 100% { opacity: 1; }
	50% { opacity: 0.4; }
}

.ifja-badge-qual {
	display: inline-block;
	background: #e0f2fe;
	color: #0369a1;
	font-size: 0.6875rem;
	font-weight: 600;
	padding: 0.2rem 0.5rem;
	border-radius: 4px;
	border: 1px solid #bae6fd;
}

.ifja-vac-count {
	color: #047857;
	font-weight: 800;
	font-size: 0.875rem;
}


.ifja-table-btn {
	display: inline-block;
	background: #1e3a8a;
	color: #ffffff;
	font-size: 0.75rem;
	font-weight: 700;
	padding: 0.35rem 0.75rem;
	border-radius: 4px;
	text-decoration: none;
	white-space: nowrap;
	transition: background 0.15s ease;
}

.ifja-table-btn:hover {
	background: #dc2626;
	color: #ffffff;
	text-decoration: none;
}

/* -------------------------------------------------------------------------
 * 11. Multi-Column 4-Box Portal Grid (IndiaFastJobAlert signature)
 * ---------------------------------------------------------------------- */

.ifja-portal-boxes-section {
	margin: 1.5rem 0;
}

.ifja-portal-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1rem;
}

@media (min-width: 680px) {
	.ifja-portal-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

.ifja-portal-card {
	background: var(--ifja-surface, #ffffff);
	border: 1px solid var(--ifja-border, #e2e8f0);
	border-radius: 8px;
	overflow: hidden;
	box-shadow: 0 2px 5px rgba(0,0,0,0.04);
}

.ifja-portal-card__header {
	padding: 0.625rem 1rem;
	display: flex;
	align-items: center;
	justify-content: space-between;
	color: #ffffff;
}

.ifja-portal-card--jobs .ifja-portal-card__header {
	background: #1e3a8a;
}

.ifja-portal-card--admit .ifja-portal-card__header {
	background: #0f766e;
}

.ifja-portal-card--results .ifja-portal-card__header {
	background: #15803d;
}

.ifja-portal-card--answer .ifja-portal-card__header {
	background: #9a3412;
}

.ifja-portal-card__title {
	font-size: 0.875rem;
	font-weight: 800;
	margin: 0;
	display: flex;
	align-items: center;
	gap: 0.375rem;
	color: #ffffff;
}

.ifja-portal-card__more {
	font-size: 0.6875rem;
	font-weight: 700;
	color: #ffffff;
	background: rgba(255,255,255,0.2);
	padding: 0.2rem 0.5rem;
	border-radius: 3px;
	text-decoration: none;
}

.ifja-portal-card__more:hover {
	background: rgba(255,255,255,0.35);
	text-decoration: none;
}

.ifja-portal-card__list {
	list-style: none;
	padding: 0;
	margin: 0;
}

.ifja-portal-card__list li {
	border-bottom: 1px dashed var(--ifja-border, #e2e8f0);
}

.ifja-portal-card__list li:last-child {
	border-bottom: none;
}

.ifja-portal-card__list a {
	display: flex;
	align-items: flex-start;
	gap: 0.5rem;
	padding: 0.625rem 0.875rem;
	font-size: 0.8125rem;
	color: var(--ifja-text, #1e293b);
	text-decoration: none;
	line-height: 1.35;
	transition: background 0.15s ease, color 0.15s ease;
}

.ifja-portal-card__list a:hover {
	background: #f8fafc;
	color: #dc2626;
	text-decoration: none;
}

.ifja-portal-bullet {
	color: #dc2626;
	font-weight: 800;
	font-size: 1rem;
	line-height: 1;
}

.ifja-portal-link-text {
	flex: 1;
	font-weight: 600;
}

.ifja-pulse-new {
	background: #dc2626;
	color: #ffffff;
	font-size: 0.5625rem;
	font-weight: 800;
	padding: 0.1rem 0.3rem;
	border-radius: 2px;
	white-space: nowrap;
}

/* -------------------------------------------------------------------------
 * 12. FreeJobAlert Trust & Anti-Fraud Banner
 * ---------------------------------------------------------------------- */

.ifja-trust-notice-wrap {
	margin: 1rem 0;
	text-align: center;
}

.ifja-trust-notice {
	background: #eff6ff;
	border: 1px solid #bfdbfe;
	color: #1e3a8a;
	font-size: 0.8125rem;
	font-weight: 500;
	padding: 0.5rem 1rem;
	border-radius: 6px;
	margin: 0 auto 0.5rem auto;
	line-height: 1.5;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
}

.ifja-trust-notice__alert {
	font-weight: 800;
	color: #1d4ed8;
	text-transform: uppercase;
}

.ifja-trust-telegram-btn {
	display: inline-flex;
	align-items: center;
	gap: 0.25rem;
	background: #2563eb;
	color: #ffffff !important;
	font-weight: 700;
	font-size: 0.75rem;
	padding: 0.25rem 0.65rem;
	border-radius: 4px;
	text-decoration: none;
	transition: background-color 0.15s ease;
	margin-left: 0.25rem;
}

.ifja-trust-telegram-btn:hover {
	background: #ea580c;
	color: #ffffff !important;
}

.ifja-trust-sub {
	font-size: 0.75rem;
	color: #475569;
	line-height: 1.5;
	max-width: 900px;
	margin: 0 auto;
}

/* -------------------------------------------------------------------------
 * 13. FreeJobAlert Urgency Widget: Closing Soon + Today LIVE Updates
 * ---------------------------------------------------------------------- */

.ifja-hs-section {
	margin: 1rem 0 1.25rem 0;
}

.ifja-hs-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1rem;
}

@media (min-width: 768px) {
	.ifja-hs-grid {
		grid-template-columns: 1fr 1fr;
	}
}

.ifja-hs-card {
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 8px;
	overflow: hidden;
	box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

.ifja-hs-header {
	background: #1e3a8a;
	color: #ffffff;
	padding: 0.625rem 0.875rem;
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.ifja-hs-card--live .ifja-hs-header {
	background: #0f766e;
}

.ifja-hs-title {
	font-size: 0.875rem;
	font-weight: 800;
	margin: 0;
	color: #ffffff;
	display: flex;
	align-items: center;
	gap: 0.375rem;
}

.ifja-hs-live-badge {
	display: inline-flex;
	align-items: center;
	gap: 0.25rem;
	background: #ef4444;
	color: #ffffff;
	font-size: 0.625rem;
	font-weight: 800;
	padding: 0.1rem 0.375rem;
	border-radius: 9999px;
	margin-left: 0.375rem;
}

.ifja-hs-live-dot {
	width: 6px;
	height: 6px;
	background: #ffffff;
	border-radius: 50%;
	animation: ifjaPulse 1.2s infinite;
}

.ifja-hs-view-all {
	color: #ffffff;
	font-size: 0.6875rem;
	font-weight: 700;
	background: rgba(255,255,255,0.2);
	padding: 0.2rem 0.5rem;
	border-radius: 4px;
	text-decoration: none;
}

.ifja-hs-view-all:hover {
	background: rgba(255,255,255,0.35);
	text-decoration: none;
}

.ifja-hs-list,
.ifja-hs-live-list {
	padding: 0;
	margin: 0;
	list-style: none;
}

.ifja-hs-row {
	display: flex;
	align-items: center;
	gap: 0.625rem;
	padding: 0.5rem 0.75rem;
	border-bottom: 1px dashed #e2e8f0;
	text-decoration: none;
	font-size: 0.8125rem;
	color: #1e293b;
	min-width: 0;
	transition: background 0.15s ease;
}

.ifja-hs-row:last-child {
	border-bottom: none;
}

.ifja-hs-row:hover {
	background: #fff7ed;
	color: #ea580c;
	text-decoration: none;
}

.ifja-hs-pill {
	font-size: 0.625rem;
	font-weight: 800;
	padding: 0.15rem 0.4rem;
	border-radius: 4px;
	white-space: nowrap;
	flex-shrink: 0;
	text-transform: uppercase;
}

.ifja-hs-pill--today {
	background: #ef4444;
	color: #ffffff;
}

.ifja-hs-pill--urgent {
	background: #ea580c;
	color: #ffffff;
}

.ifja-hs-pill--warning {
	background: #f59e0b;
	color: #ffffff;
}

.ifja-hs-pill--info {
	background: #0284c7;
	color: #ffffff;
}

.ifja-hs-pill--normal {
	background: #64748b;
	color: #ffffff;
}

.ifja-hs-name {
	flex: 1 1 0%;
	min-width: 0;
	font-weight: 600;
	line-height: 1.35;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

@media (max-width: 640px) {
	.ifja-hs-row {
		align-items: flex-start;
		gap: 0.5rem;
		padding: 0.5rem 0.625rem;
	}

	.ifja-hs-name {
		white-space: normal;
		word-break: break-word;
	}
}

.ifja-hs-live-list li {
	border-bottom: 1px dashed #e2e8f0;
}

.ifja-hs-live-list li:last-child {
	border-bottom: none;
}

.ifja-hs-live-list a {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.5rem 0.75rem;
	font-size: 0.8125rem;
	color: #1e293b;
	text-decoration: none;
	transition: background 0.15s ease, color 0.15s ease;
}

.ifja-hs-live-list a:hover {
	background: #f0fdfa;
	color: #0f766e;
	text-decoration: none;
}

.ifja-hs-live-bullet {
	color: #0f766e;
	font-weight: 800;
	font-size: 0.875rem;
}

.ifja-hs-live-text {
	flex: 1;
	font-weight: 600;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

/* -------------------------------------------------------------------------
 * 14. FreeJobAlert Quick Links 3x3 Matrix & Last Date Alert Bar
 * ---------------------------------------------------------------------- */

.ifja-quick-matrix-wrap {
	margin: 1rem 0 1.25rem 0;
	border: 1px solid #cbd5e1;
	border-radius: 8px;
	overflow: hidden;
	box-shadow: 0 1px 3px rgba(0,0,0,0.03);
}

.ifja-last-date-alert-bar {
	background: #fef2f2;
	border-bottom: 1px solid #fecaca;
}

.ifja-last-date-alert-link {
	display: flex;
	align-items: center;
	gap: 0.625rem;
	padding: 0.5rem 0.875rem;
	text-decoration: none;
	color: #991b1b;
	font-size: 0.8125rem;
	transition: background 0.15s ease;
}

.ifja-last-date-alert-link:hover {
	background: #fee2e2;
	text-decoration: none;
}

.ifja-last-date-dot {
	width: 8px;
	height: 8px;
	background: #ef4444;
	border-radius: 50%;
	flex-shrink: 0;
	animation: ifjaPulse 1s infinite;
}

.ifja-last-date-txt {
	flex: 1;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.375rem;
}

.ifja-last-date-title {
	font-weight: 800;
	color: #b91c1c;
}

.ifja-last-date-count {
	color: #4b5563;
	font-weight: 600;
}

.ifja-last-date-btn {
	font-size: 0.6875rem;
	font-weight: 700;
	background: #ef4444;
	color: #ffffff;
	padding: 0.2rem 0.5rem;
	border-radius: 4px;
	white-space: nowrap;
}

.ifja-matrix-table-wrap {
	overflow-x: visible;
}

@media (max-width: 767px) {
	.ifja-matrix-table-wrap {
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
	}
}

.ifja-matrix-table {
	width: 100%;
	border-collapse: collapse;
	background: #ffffff;
}

.ifja-matrix-table td {
	padding: 0.5rem 0.625rem;
	border: 1px solid #e2e8f0;
	font-size: 0.8125rem;
	line-height: 1.35;
	width: 33.333%;
}

.ifja-matrix-table td a {
	display: block;
	color: #1e3a8a;
	font-weight: 700;
	text-decoration: none;
	transition: color 0.15s ease;
}

.ifja-matrix-table td a:hover {
	color: #ea580c;
	text-decoration: underline;
}

.ifja-matrix-cell--1, .ifja-matrix-cell--5, .ifja-matrix-cell--9 {
	background: #f8fafc;
}

.ifja-matrix-cell--2, .ifja-matrix-cell--6 {
	background: #ffffff;
}

.ifja-matrix-cell--3, .ifja-matrix-cell--7 {
	background: #f1f5f9;
}

.ifja-matrix-cell--4, .ifja-matrix-cell--8 {
	background: #f8fafc;
}

@media (max-width: 640px) {
	.ifja-matrix-table,
	.ifja-matrix-table tbody,
	.ifja-matrix-table tr,
	.ifja-matrix-table td {
		display: block;
		width: 100% !important;
		box-sizing: border-box;
	}
	.ifja-matrix-table td {
		padding: 0.625rem 0.85rem;
		border: 1px solid #e2e8f0;
		border-top: none;
	}
	.ifja-matrix-table tr:first-child td:first-child {
		border-top: 1px solid #e2e8f0;
	}
}

/* -------------------------------------------------------------------------
 * 15. FreeJobAlert Signature Button (.ifja-fja-mbtn) & Education Grid
 * ---------------------------------------------------------------------- */

.ifja-fja-mbtn {
	display: inline-block;
	background-color: #DF8B1B !important;
	color: #ffffff !important;
	font-size: 0.75rem;
	font-weight: 700;
	padding: 0.3rem 0.875rem !important;
	border-radius: 25px;
	text-decoration: none;
	transition: background 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
	box-shadow: 0 1px 3px rgba(223, 139, 27, 0.3);
}

.ifja-fja-mbtn:hover {
	background-color: #ea580c !important;
	transform: translateY(-1px);
	box-shadow: 0 3px 8px rgba(234, 88, 12, 0.4);
	text-decoration: none;
}

.ifja-section-head--fja {
	display: flex;
	align-items: center;
	justify-content: space-between;
	background: #3a75b6;
	color: #ffffff;
	padding: 0.625rem 1rem;
	border-radius: 6px 6px 0 0;
	margin-bottom: 0;
}

.ifja-fja-title {
	font-size: 0.9375rem;
	font-weight: 800;
	color: #ffffff;
	margin: 0;
}

.ifja-edu-section {
	border: 1px solid #cbd5e1;
	border-radius: 6px;
	overflow: hidden;
	margin: 1.5rem 0;
	background: #ffffff;
}

.ifja-edu-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 1px;
	background: #e2e8f0;
	padding: 1px;
}

@media (min-width: 640px) {
	.ifja-edu-grid {
		grid-template-columns: repeat(3, 1fr);
	}
}

.ifja-edu-card {
	background: #ffffff;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0.625rem 0.75rem;
	text-decoration: none;
	transition: background 0.15s ease;
}

.ifja-edu-card:hover {
	background: #fff7ed;
	text-decoration: none;
}

.ifja-edu-card__icon {
	font-size: 1.125rem;
	margin-right: 0.5rem;
	flex-shrink: 0;
}

.ifja-edu-card__info {
	flex: 1;
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.ifja-edu-card__title {
	font-size: 0.8125rem;
	font-weight: 700;
	color: #0f172a;
}

.ifja-edu-card:hover .ifja-edu-card__title {
	color: #ea580c;
}

.ifja-edu-card__count {
	font-size: 0.6875rem;
	font-weight: 600;
	color: #2563eb;
}

.ifja-edu-card__arrow {
	font-size: 1rem;
	color: #94a3b8;
	margin-left: 0.25rem;
}

.ifja-edu-card:hover .ifja-edu-card__arrow {
	color: #ea580c;
}

/* -------------------------------------------------------------------------
 * 16. Portal Card Footer with FreeJobAlert Button
 * ---------------------------------------------------------------------- */

.ifja-portal-card__footer {
	text-align: center;
	padding: 0.625rem;
	background: #f8fafc;
	border-top: 1px solid #e2e8f0;
}

@keyframes ifjaPulse {
	0%, 100% { opacity: 1; transform: scale(1); }
	50% { opacity: 0.4; transform: scale(1.15); }
}

/* -------------------------------------------------------------------------
 * 18. Official Government Boards & External Sources Directory
 * ---------------------------------------------------------------------- */

.ifja-board-dir-section {
	margin: 2rem 0;
	padding: 1.25rem;
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 8px;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.ifja-board-dir-sub {
	font-size: 0.8125rem;
	color: #64748b;
	line-height: 1.5;
	margin: 0.5rem 0 1.25rem 0;
}

.ifja-board-group {
	margin-bottom: 1.75rem;
}

.ifja-board-group:last-child {
	margin-bottom: 0;
}

.ifja-board-group__title {
	font-size: 0.9375rem;
	font-weight: 700;
	color: #0f172a;
	margin: 0 0 0.75rem 0;
	padding-bottom: 0.4rem;
	border-bottom: 2px solid #ea580c;
	display: inline-block;
}

.ifja-board-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
	gap: 0.65rem;
}

@media (max-width: 500px) {
	.ifja-board-grid {
		grid-template-columns: 1fr;
	}
}

.ifja-board-card {
	display: flex;
	flex-direction: column;
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: 6px;
	padding: 0.65rem 0.85rem;
	text-decoration: none;
	transition: all 0.15s ease;
}

.ifja-board-card:hover {
	background: #ffffff;
	border-color: #ea580c;
	box-shadow: 0 2px 8px rgba(234, 88, 12, 0.12);
	transform: translateY(-1px);
}

.ifja-board-card__head {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: 0.5rem;
	margin-bottom: 0.25rem;
}

.ifja-board-card__name {
	font-size: 0.8125rem;
	font-weight: 700;
	color: #1e3a8a;
	line-height: 1.35;
	transition: color 0.15s ease;
}

.ifja-board-card:hover .ifja-board-card__name {
	color: #ea580c;
}

.ifja-board-card__ext {
	font-size: 0.75rem;
	color: #94a3b8;
	flex-shrink: 0;
}

.ifja-board-card__tag {
	font-size: 0.6875rem;
	font-weight: 600;
	color: #475569;
	margin-bottom: 0.25rem;
}

.ifja-board-card__url {
	font-size: 0.6875rem;
	color: #059669;
	font-weight: 500;
	font-family: monospace;
}

/* State PSC Grid */
.ifja-state-psc-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
	gap: 0.5rem;
}

.ifja-state-psc-pill {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.35rem;
	background: #f1f5f9;
	border: 1px solid #cbd5e1;
	border-radius: 4px;
	padding: 0.4rem 0.6rem;
	text-decoration: none;
	font-size: 0.75rem;
	transition: all 0.15s ease;
}

.ifja-state-psc-pill:hover {
	background: #ea580c;
	border-color: #ea580c;
	color: #ffffff !important;
	transform: translateY(-1px);
}

.ifja-state-psc-pill__state {
	font-size: 0.6875rem;
	color: #64748b;
	font-weight: 500;
}

.ifja-state-psc-pill:hover .ifja-state-psc-pill__state {
	color: #ffedd5 !important;
}

.ifja-state-psc-pill__name {
	font-size: 0.75rem;
	font-weight: 700;
	color: #0f172a;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.ifja-state-psc-pill:hover .ifja-state-psc-pill__name {
	color: #ffffff !important;
}

.ifja-state-psc-pill__icon {
	font-size: 0.7rem;
	color: #94a3b8;
}

.ifja-state-psc-pill:hover .ifja-state-psc-pill__icon {
	color: #ffffff !important;
}

/* External Intelligence & Source Cards */
.ifja-ext-source-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 0.65rem;
}

@media (max-width: 500px) {
	.ifja-ext-source-grid {
		grid-template-columns: 1fr;
	}
}

.ifja-ext-source-card {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: 6px;
	padding: 0.65rem 0.85rem;
	text-decoration: none;
	transition: all 0.15s ease;
}

.ifja-ext-source-card:hover {
	background: #ffffff;
	border-color: #ea580c;
	box-shadow: 0 2px 8px rgba(234, 88, 12, 0.1);
}

.ifja-ext-source-card__info {
	display: flex;
	flex-direction: column;
	gap: 0.2rem;
}

.ifja-ext-source-card__title {
	font-size: 0.8125rem;
	font-weight: 700;
	color: #1e3a8a;
}

.ifja-ext-source-card:hover .ifja-ext-source-card__title {
	color: #ea580c;
}

.ifja-ext-source-card__desc {
	font-size: 0.6875rem;
	color: #64748b;
}

.ifja-ext-source-card__link {
	font-size: 0.6875rem;
	font-weight: 700;
	color: #2563eb;
	background: #eff6ff;
	padding: 0.25rem 0.5rem;
	border-radius: 4px;
	white-space: nowrap;
}

.ifja-ext-source-card:hover .ifja-ext-source-card__link {
	background: #ea580c;
	color: #ffffff;
}


/* =========================================================================
 * WCAG AA contrast corrections — measured 2026-09-10
 *
 * Every value below was measured in-browser with composited backgrounds, not
 * estimated. Each replacement reuses a colour already present in the design
 * system (the --ifja-*-strong ramp in base.css) or an official brand-dark, so
 * no new colour is introduced. Ratios are for white text unless noted; the
 * target is 4.5:1 because all of these render at 10-14px.
 *
 * Appended as an override block rather than edited in place because the old
 * hex values are shared with unrelated rules (#ea580c appears 27x, #64748b
 * 11x) and a blanket replacement would have changed things it should not.
 * ====================================================================== */

/* WhatsApp share: #25d366 -> 1.98:1. Official WhatsApp dark brand green. */
.ifja-comm-btn.ifja-comm-btn--wa { background: #075e54; }   /* 7.67:1 */

/* Telegram share: #0088cc -> 3.89:1. Official Telegram dark brand blue. */
.ifja-comm-btn.ifja-comm-btn--tg { background: #006699; }   /* 6.25:1 */

/* Status pills: were 2.15-4.10:1. Now the --ifja-*-strong ramp. */
.ifja-hs-pill.ifja-hs-pill--today   { background: #b91c1c; } /* 6.47:1, was 3.76 */
.ifja-hs-pill.ifja-hs-pill--urgent  { background: #c2410c; } /* 5.18:1, was 3.56 */
.ifja-hs-pill.ifja-hs-pill--warning { background: #b45309; } /* 5.02:1, was 2.15 */
.ifja-hs-pill.ifja-hs-pill--info    { background: #0369a1; } /* 5.93:1, was 4.10 */

.ifja-hs-live-badge  { background: #b91c1c; }                /* 6.47:1, was 3.76 */
.ifja-last-date-btn  { background: #b91c1c; }                /* 6.47:1, was 3.76 */

/* Marketing button carried an !important, so the correction needs one too. */
.ifja-fja-mbtn { background-color: #b45309 !important; }     /* 5.02:1, was 2.68 */

/* Body text on light surfaces. */
.ifja-board-card__url        { color: #047857; }             /* 5.24:1 on #f8fafc, was 3.60 */
.ifja-state-psc-pill__state  { color: #475569; }             /* 6.92:1 on #f1f5f9, was 4.34 */

/* Translucent chips sat on card gradients that vary per card, so the white
 * overlay produced 3.51-3.73:1 on the lighter cards. A dark scrim is
 * gradient-independent: measured 6.80-9.62:1 across all three card colours. */
.ifja-hs-view-all,
.ifja-portal-card__more { background: rgba(15, 23, 42, 0.40); }

.ifja-hs-view-all:hover,
.ifja-hs-view-all:focus,
.ifja-portal-card__more:hover,
.ifja-portal-card__more:focus { background: rgba(15, 23, 42, 0.55); }

/* Decorative arrow glyphs were #94a3b8 (slate-400): 2.34-2.56:1 against their
 * three backgrounds — below the 4.5:1 needed at 11-16px. #64748b was tested
 * first but reaches only 4.34:1 on #f1f5f9, so #475569 (slate-600) is used:
 * measured 7.58 on white, 7.24 on #f8fafc, 6.92 on #f1f5f9. */
.ifja-edu-card__arrow,
.ifja-browse-item__arrow,
.ifja-board-card__ext,
.ifja-state-psc-pill__icon { color: #475569; }

/* .ifja-state-item .ifja-browse-item__arrow (0,2,0) outranked the single-class
 * rule above (0,1,0), so that one arrow kept the old 2.56:1 colour. Matched
 * specificity here rather than reaching for !important. */
.ifja-state-item .ifja-browse-item__arrow { color: #475569; }

/* =========================================================================
 * VIBRANT, HIGH-ACCESSIBILITY HOME PAGE FOR ALL INDIAN JOB SEEKERS
 * High contrast, large touch targets, bold colors, and dual-language labels
 * ========================================================================= */

.ifja-hero--colorful {
	background: linear-gradient(135deg, #1e3a8a 0%, #1d4ed8 50%, #0369a1 100%);
	color: #ffffff;
	padding: 2.25rem 1rem 2rem;
	border-radius: 12px;
	margin-bottom: 1.5rem;
	box-shadow: 0 4px 20px rgba(30, 58, 138, 0.25);
}

.ifja-hero--colorful .ifja-hero__title {
	color: #ffffff;
	font-size: 2rem;
	font-weight: 900;
	margin-bottom: 0.5rem;
	text-shadow: 0 2px 4px rgba(0,0,0,0.25);
}

.ifja-hero--colorful .ifja-hero__subtitle {
	color: #e0f2fe;
	font-size: 1.05rem;
	font-weight: 600;
	margin-bottom: 1.5rem;
}

.ifja-hero__header-badge {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	background: #f59e0b;
	color: #78350f;
	font-weight: 800;
	font-size: 0.85rem;
	padding: 0.35rem 0.85rem;
	border-radius: 50px;
	margin-bottom: 0.75rem;
	box-shadow: 0 2px 8px rgba(245, 158, 11, 0.4);
}

.ifja-hero__search-form--large {
	background: #ffffff;
	padding: 0.5rem;
	border-radius: 10px;
	box-shadow: 0 6px 20px rgba(0,0,0,0.25);
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	max-width: 720px;
	margin: 0 auto 1.5rem;
}

@media (min-width: 600px) {
	.ifja-hero__search-form--large {
		flex-direction: row;
		padding: 0.5rem 0.65rem;
	}
}

.ifja-search-input-wrap {
	display: flex;
	align-items: center;
	flex: 1;
	gap: 0.5rem;
	padding: 0 0.5rem;
}

.ifja-search-icon {
	font-size: 1.25rem;
}

.ifja-hero__input--large {
	width: 100%;
	border: none;
	outline: none;
	font-size: 1.05rem;
	color: #0f172a;
	padding: 0.65rem 0;
	font-weight: 600;
}

.ifja-hero__btn--bright {
	background: linear-gradient(135deg, #10b981 0%, #059669 100%);
	color: #ffffff;
	font-weight: 900;
	font-size: 1.05rem;
	border: none;
	border-radius: 8px;
	padding: 0.75rem 1.75rem;
	cursor: pointer;
	box-shadow: 0 3px 10px rgba(16, 185, 129, 0.4);
	transition: transform 0.15s ease, box-shadow 0.15s ease;
	white-space: nowrap;
}

.ifja-hero__btn--bright:hover {
	transform: translateY(-2px);
	box-shadow: 0 5px 15px rgba(16, 185, 129, 0.5);
}

/* Big Visual Touch Buttons */
.ifja-hero__quick-buttons {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 0.75rem;
	max-width: 720px;
	margin: 0 auto;
}

@media (min-width: 640px) {
	.ifja-hero__quick-buttons {
		grid-template-columns: repeat(3, 1fr);
	}
}

@media (min-width: 840px) {
	.ifja-hero__quick-buttons {
		grid-template-columns: repeat(6, 1fr);
	}
}

.ifja-touch-btn {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 0.85rem 0.5rem;
	border-radius: 10px;
	text-decoration: none;
	color: #ffffff;
	box-shadow: 0 4px 12px rgba(0,0,0,0.18);
	transition: transform 0.18s ease, box-shadow 0.18s ease;
	border: 1px solid rgba(255,255,255,0.25);
}

.ifja-touch-btn:hover {
	transform: translateY(-3px) scale(1.02);
	box-shadow: 0 6px 16px rgba(0,0,0,0.3);
	color: #ffffff;
	text-decoration: none;
}

.ifja-touch-btn__icon {
	font-size: 1.6rem;
	margin-bottom: 0.25rem;
}

.ifja-touch-btn__text {
	display: flex;
	flex-direction: column;
	align-items: center;
	line-height: 1.2;
}

.ifja-touch-btn__text strong {
	font-size: 0.875rem;
	font-weight: 800;
}

.ifja-touch-btn__text small {
	font-size: 0.75rem;
	opacity: 0.95;
	font-weight: 600;
}

.ifja-touch-btn--green  { background: linear-gradient(135deg, #059669 0%, #10b981 100%); }
.ifja-touch-btn--blue   { background: linear-gradient(135deg, #1d4ed8 0%, #3b82f6 100%); }
.ifja-touch-btn--red    { background: linear-gradient(135deg, #b91c1c 0%, #ef4444 100%); }
.ifja-touch-btn--orange { background: linear-gradient(135deg, #c2410c 0%, #f97316 100%); }
.ifja-touch-btn--purple { background: linear-gradient(135deg, #6d28d9 0%, #8b5cf6 100%); }
.ifja-touch-btn--teal   { background: linear-gradient(135deg, #0f766e 0%, #14b8a6 100%); }

/* Sarkari Quick Notice Strip */
.ifja-sarkari-quick-strip {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.6rem;
	background: #fffbeb;
	border: 2px solid #fde68a;
	padding: 0.75rem 1rem;
	border-radius: 8px;
	margin-bottom: 1.25rem;
	box-shadow: 0 2px 6px rgba(245, 158, 11, 0.15);
}

.ifja-strip-label {
	font-size: 0.85rem;
	font-weight: 800;
	color: #92400e;
	white-space: nowrap;
}

.ifja-strip-btn {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	padding: 0.4rem 0.85rem;
	border-radius: 6px;
	font-size: 0.8125rem;
	font-weight: 700;
	text-decoration: none;
	color: #ffffff;
	box-shadow: 0 2px 4px rgba(0,0,0,0.12);
	transition: transform 0.15s ease;
}

.ifja-strip-btn:hover {
	transform: translateY(-1px);
	text-decoration: none;
	color: #ffffff;
}

.ifja-strip-btn--admit   { background: #059669; }
.ifja-strip-btn--results { background: #2563eb; }
.ifja-strip-btn--answer  { background: #d97706; }
.ifja-strip-btn--syllabus{ background: #475569; }

/* Enhanced Portal Cards with Vivid Colors */
.ifja-portal-card--jobs .ifja-portal-card__header    { background: linear-gradient(135deg, #b91c1c 0%, #dc2626 100%) !important; }
.ifja-portal-card--qual .ifja-portal-card__header    { background: linear-gradient(135deg, #047857 0%, #059669 100%) !important; }
.ifja-portal-card--central .ifja-portal-card__header { background: linear-gradient(135deg, #1d4ed8 0%, #2563eb 100%) !important; }
.ifja-portal-card--state .ifja-portal-card__header   { background: linear-gradient(135deg, #6d28d9 0%, #7c3aed 100%) !important; }

.ifja-portal-card__badge {
	background: rgba(255,255,255,0.25);
	color: #ffffff;
	font-size: 0.7rem;
	font-weight: 800;
	padding: 0.2rem 0.5rem;
	border-radius: 4px;
	letter-spacing: 0.03em;
}

.ifja-portal-apply-tag {
	margin-left: auto;
	background: #10b981;
	color: #ffffff;
	font-size: 0.6875rem;
	font-weight: 800;
	padding: 0.15rem 0.45rem;
	border-radius: 4px;
	white-space: nowrap;
}


