/*
Theme Name: JobHercules
Theme URI: https://jobhercules.com
Author: JobHercules
Author URI: https://jobhercules.com
Description: A clean, fully responsive theme for JobHercules – a job-search accountability portal.
Version: 1.1
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: jobhercules
*/

:root {
	--jh-bg: #f3f4f6;
	--jh-bg-alt: #e5e7eb;
	--jh-card: #ffffff;
	--jh-border: #d1d5db;
	--jh-text: #111827;
	--jh-text-muted: #4b5563;
	--jh-primary: #2563eb;
	--jh-primary-hover: #1d4ed8;
	--jh-success: #16a34a;
	--jh-error: #dc2626;
	--jh-shadow-soft: 0 8px 24px rgba(17, 24, 39, 0.08);
	--jh-shadow-strong: 0 20px 42px rgba(17, 24, 39, 0.12);
	--jh-max-width: 1180px;
}

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

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	background: linear-gradient(180deg, #f8fafc 0%, var(--jh-bg) 60%, var(--jh-bg-alt) 100%);
	color: var(--jh-text);
	font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
	line-height: 1.6;
}

a {
	color: inherit;
}

.jh-container {
	max-width: var(--jh-max-width);
	margin: 0 auto;
	padding: 0 1rem;
}

@media (min-width: 960px) {
	.jh-container {
		padding: 0 1.5rem;
	}
}

.jh-section {
	padding: 4rem 0;
}

.jh-section-muted {
	background: rgba(219, 234, 254, 0.45);
	border-top: 1px solid rgba(191, 219, 254, 0.8);
	border-bottom: 1px solid rgba(191, 219, 254, 0.8);
}

.jh-section-title {
	margin: 0;
	font-size: clamp(1.7rem, 4vw, 2.5rem);
	line-height: 1.2;
}

.jh-section-subtitle {
	max-width: none;
	margin: 1rem 0 0;
	color: var(--jh-text-muted);
}

#about-us .jh-section-subtitle,
#features .jh-section-subtitle,
#contact-us .jh-section-subtitle {
	display: block;
	width: 100% !important;
	inline-size: 100% !important;
	flex: 0 0 100% !important;
	max-width: 100% !important;
	margin-right: 0 !important;
	padding-right: 0 !important;
}

.jh-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.8rem 1.35rem;
	border: 1px solid rgba(37, 99, 235, 0.22);
	border-radius: 999px;
	font-weight: 600;
	font-size: 0.94rem;
	text-decoration: none;
	cursor: pointer;
	transition: all 0.2s ease;
}

.jh-btn-primary {
	background: var(--jh-primary);
	color: #fff;
	box-shadow: 0 8px 18px rgba(37, 99, 235, 0.24);
}

.jh-btn-primary:hover {
	background: var(--jh-primary-hover);
}

.jh-btn-ghost {
	background: #fff;
	color: #1e293b;
	border-color: #cbd5e1;
}

.jh-btn-ghost:hover {
	background: #eff6ff;
	border-color: var(--jh-primary);
}

.site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	backdrop-filter: blur(12px);
	background: rgba(255, 255, 255, 0.94);
	border-bottom: 1px solid #dbe3ef;
}

.site-header-inner {
	display: grid;
	grid-template-columns: 1fr auto;
	gap: 0.8rem;
	padding: 0.9rem 0;
	align-items: center;
}

.site-branding {
	display: inline-flex;
	align-items: center;
	gap: 0.65rem;
	text-decoration: none;
}

.site-logo-pill {
	width: 2rem;
	height: 2rem;
	border-radius: 999px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: linear-gradient(135deg, #1d4ed8, #2563eb);
	font-size: 0.72rem;
	font-weight: 700;
	color: #fff;
	box-shadow: 0 8px 18px rgba(37, 99, 235, 0.22);
}

.site-title-text {
	font-size: 0.92rem;
	font-weight: 700;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: #0f172a;
}

.menu-toggle {
	background: #f8fafc;
	color: #0f172a;
	border: 1px solid #d1d5db;
	border-radius: 0.7rem;
	padding: 0.45rem 0.7rem;
}

.main-navigation {
	grid-column: 1 / -1;
	display: none;
}

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

.main-navigation ul {
	list-style: none;
	margin: 0;
	padding: 0.5rem 0 0;
	display: grid;
	gap: 0.65rem;
}

.main-navigation a {
	text-decoration: none;
	color: #334155;
	font-weight: 500;
}

.main-navigation a:hover {
	color: var(--jh-primary);
}

@media (min-width: 920px) {
	.site-header-inner {
		grid-template-columns: auto 1fr;
	}

	.menu-toggle {
		display: none;
	}

	.main-navigation {
		display: block;
		grid-column: auto;
	}

	.main-navigation ul {
		padding-top: 0;
		display: flex;
		justify-content: flex-end;
		align-items: center;
		gap: 1.2rem;
	}
}

.hero-banner {
	min-height: clamp(420px, 58vw, 700px);
	background-color: #dbeafe;
	background-size: cover;
	background-position: center center;
	border-bottom: 1px solid #dbe3ef;
}

.hero-overlay {
	min-height: inherit;
	background: linear-gradient(120deg, rgba(239, 246, 255, 0.97), rgba(243, 244, 246, 0.9));
	display: flex;
	align-items: center;
}

.hero-content {
	padding-top: 4rem;
	padding-bottom: 4rem;
}

.hero-content h1 {
	margin: 0.45rem 0 0;
	max-width: 940px;
	font-size: clamp(2rem, 6vw, 3.7rem);
	line-height: 1.1;
	letter-spacing: -0.03em;
}

.hero-kicker {
	margin: 0;
	letter-spacing: 0.09em;
	text-transform: uppercase;
	font-size: 0.76rem;
	font-weight: 700;
	color: #1d4ed8;
}

.hero-subtitle {
	max-width: 760px;
	margin-top: 1rem;
	font-size: 1.03rem;
	color: var(--jh-text-muted);
}

.hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.8rem;
	margin-top: 1.2rem;
}

.workflow-grid {
	display: grid;
	gap: 0.95rem;
	margin-top: 1.35rem;
}

.workflow-card {
	background: var(--jh-card);
	border: 1px solid var(--jh-border);
	border-radius: 0.95rem;
	padding: 1rem 1.05rem;
	box-shadow: var(--jh-shadow-soft);
}

.workflow-step {
	margin: 0;
	color: #1d4ed8;
	font-size: 0.8rem;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	font-weight: 700;
}

.workflow-card h3 {
	margin: 0.35rem 0 0.5rem;
	font-size: 1.04rem;
	line-height: 1.3;
}

.workflow-card p {
	margin: 0;
	color: var(--jh-text-muted);
}

@media (min-width: 760px) {
	.workflow-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 1120px) {
	.workflow-grid {
		grid-template-columns: repeat(5, minmax(0, 1fr));
	}
}

.feature-grid {
	display: grid;
	gap: 1rem;
	margin-top: 1.5rem;
}

.feature-card {
	background: #fff;
	border: 1px solid var(--jh-border);
	border-radius: 1rem;
	padding: 1.3rem;
	box-shadow: var(--jh-shadow-soft);
}

.feature-card h3 {
	margin: 0 0 0.6rem;
}

.feature-card p {
	margin: 0;
	color: var(--jh-text-muted);
}

@media (min-width: 900px) {
	.feature-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

.compare-grid {
	display: grid;
	gap: 1rem;
	margin-top: 1.1rem;
}

.compare-card {
	background: linear-gradient(180deg, #ffffff, #f8fafc);
	border: 1px solid #dbe3ef;
	border-radius: 1rem;
	padding: 1rem 1.1rem;
	box-shadow: var(--jh-shadow-soft);
}

.compare-card h3 {
	margin: 0 0 0.7rem;
	font-size: 1.02rem;
}

.compare-card ul {
	margin: 0;
	padding-left: 1.05rem;
	color: #1f2937;
}

.compare-card li + li {
	margin-top: 0.45rem;
}

@media (min-width: 900px) {
	.compare-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

.features-cta-row {
	margin-top: 1.2rem;
	display: flex;
	justify-content: flex-start;
}

.contact-card {
	background: #fff;
	border: 1px solid var(--jh-border);
	border-radius: 1rem;
	padding: 1.2rem;
	margin-top: 1.2rem;
	box-shadow: var(--jh-shadow-strong);
}

#contact-us .jh-section-subtitle {
	max-width: none;
}

.contact-form {
	display: grid;
	gap: 1rem;
}

.contact-grid {
	display: grid;
	gap: 0.9rem;
}

@media (min-width: 860px) {
	.contact-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

.form-field {
	display: grid;
	gap: 0.35rem;
}

.form-field label {
	font-size: 0.88rem;
	color: #334155;
}

.form-field input,
.form-field textarea {
	width: 100%;
	border: 1px solid var(--jh-border);
	border-radius: 0.7rem;
	padding: 0.65rem 0.75rem;
	background: #fff;
	color: #111827;
}

.form-field input:focus,
.form-field textarea:focus {
	border-color: var(--jh-primary);
	outline: none;
}

.captcha-note {
	margin: 0;
	color: #991b1b;
	font-size: 0.87rem;
}

.jh-recaptcha-wrap {
	display: inline-flex;
	padding: 0.7rem;
	border-radius: 0.85rem;
	border: 1px solid rgba(37, 99, 235, 0.25);
	background: #f8fafc;
	box-shadow: inset 0 0 0 1px rgba(148, 163, 184, 0.12);
}

.jh-recaptcha-wrap .g-recaptcha {
	transform-origin: left top;
}

.jh-recaptcha-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	align-items: center;
	gap: 1rem;
}

.jh-recaptcha-row .jh-recaptcha-wrap {
	justify-self: center;
}

.jh-recaptcha-row .jh-btn {
	margin-left: 0;
	width: min(100%, 280px);
	justify-self: center;
	align-self: center;
	white-space: nowrap;
}

@media (max-width: 860px) {
	.jh-recaptcha-row {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 420px) {
	.jh-recaptcha-wrap .g-recaptcha {
		transform: scale(0.92);
	}
}

.form-message {
	padding: 0.65rem 0.8rem;
	border-radius: 0.7rem;
	border: 1px solid;
	font-size: 0.9rem;
	margin-bottom: 1rem;
}

.form-message-success {
	border-color: rgba(22, 163, 74, 0.6);
	background: rgba(34, 197, 94, 0.1);
	color: #166534;
}

.form-message-error {
	border-color: rgba(220, 38, 38, 0.6);
	background: rgba(248, 113, 113, 0.1);
	color: #991b1b;
}

.blog-cta {
	display: grid;
	gap: 1rem;
}

@media (min-width: 900px) {
	.blog-cta {
		grid-template-columns: 1fr auto;
		align-items: center;
	}
}

.blog-grid {
	display: grid;
	gap: 1rem;
	margin-top: 1.6rem;
}

@media (min-width: 740px) {
	.blog-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 1080px) {
	.blog-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

.blog-card {
	background: #fff;
	border: 1px solid var(--jh-border);
	border-radius: 1rem;
	padding: 0.95rem;
	box-shadow: var(--jh-shadow-soft);
}

.blog-card-image-link {
	display: block;
}

.blog-card-image {
	width: 100%;
	aspect-ratio: 16 / 9;
	object-fit: cover;
	border-radius: 0.8rem;
}

.blog-card-image-placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	background: #dbeafe;
	font-weight: 700;
	letter-spacing: 0.04em;
	color: #1e3a8a;
}

.blog-card-title {
	margin: 0.9rem 0 0.5rem;
	font-size: 1.05rem;
}

.blog-card-title a {
	text-decoration: none;
}

.blog-card-title a:hover {
	text-decoration: underline;
}

.blog-meta,
.blog-excerpt {
	margin: 0;
	color: var(--jh-text-muted);
}

.blog-meta {
	font-size: 0.8rem;
}

.blog-excerpt {
	margin-top: 0.65rem;
	font-size: 0.92rem;
}

.blog-pagination {
	margin-top: 1.4rem;
}

.blog-pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 2rem;
	height: 2rem;
	padding: 0 0.45rem;
	margin-right: 0.25rem;
	border-radius: 999px;
	border: 1px solid #cbd5e1;
	color: var(--jh-text-muted);
	text-decoration: none;
	background: #fff;
}

.blog-pagination .current {
	background: var(--jh-primary);
	border-color: var(--jh-primary);
	color: #fff;
}

.single-layout {
	display: grid;
	gap: 1.5rem;
}

@media (min-width: 1024px) {
	.single-layout {
		grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr);
		align-items: start;
	}
}

.single-main {
	min-width: 0;
}

.single-hero-banner {
	border-radius: 1rem;
	overflow: hidden;
	border: 1px solid var(--jh-border);
	background: #dbeafe;
}

.single-hero-image {
	width: 100%;
	min-height: 220px;
	object-fit: cover;
	display: block;
}

.single-hero-placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
}

.single-header {
	margin-top: 1rem;
}

.single-meta-top {
	margin: 0;
	color: var(--jh-text-muted);
	font-size: 0.86rem;
}

.single-title {
	margin: 0.5rem 0 0;
	font-size: clamp(1.8rem, 4vw, 2.6rem);
	line-height: 1.2;
}

.single-content {
	margin-top: 1.2rem;
	color: #1f2937;
}

.single-content p,
.single-content ul,
.single-content ol {
	margin: 0 0 1rem;
}

.single-content a {
	color: var(--jh-primary);
}

.single-footer {
	margin-top: 1.2rem;
}

.single-sidebar {
	background: #fff;
	border: 1px solid var(--jh-border);
	border-radius: 1rem;
	padding: 1rem;
	position: sticky;
	top: 92px;
	box-shadow: var(--jh-shadow-soft);
}

.single-sidebar h2 {
	margin: 0 0 0.8rem;
	font-size: 1.05rem;
}

.sidebar-blog-list {
	list-style: none;
	padding: 0;
	margin: 0;
	display: grid;
	gap: 0.75rem;
}

.sidebar-blog-list li {
	padding-bottom: 0.75rem;
	border-bottom: 1px solid #e2e8f0;
}

.sidebar-blog-list li:last-child {
	border-bottom: 0;
}

.sidebar-blog-list a {
	display: block;
	text-decoration: none;
	font-weight: 600;
}

.sidebar-blog-list a:hover {
	text-decoration: underline;
}

.sidebar-blog-list small {
	color: var(--jh-text-muted);
}

.single-sidebar .page-numbers {
	display: inline-flex;
	margin-top: 0.7rem;
	padding: 0.3rem 0.55rem;
	border: 1px solid #cbd5e1;
	border-radius: 999px;
	color: var(--jh-text-muted);
	text-decoration: none;
	background: #fff;
}

.single-sidebar .current {
	background: var(--jh-primary);
	border-color: var(--jh-primary);
	color: #fff;
}

.single-sidebar ul.page-numbers {
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem;
	padding: 0;
	margin: 0.9rem 0 0;
}

.content-page {
	max-width: 860px;
}

.content-page-header {
	margin-bottom: 1rem;
}

.content-page-body {
	color: #1f2937;
}

.content-page-body a {
	color: var(--jh-primary);
}

.site-footer {
	margin-top: 2rem;
	padding: 1.4rem 0 2rem;
	border-top: 1px solid #dbe3ef;
	color: var(--jh-text-muted);
	background: rgba(248, 250, 252, 0.82);
}

.site-footer-inner {
	display: grid;
	gap: 0.5rem;
}

.site-footer a {
	color: #334155;
	text-decoration: none;
}

.site-footer a:hover {
	color: #1d4ed8;
	text-decoration: underline;
}

.footer-links {
	display: flex;
	gap: 0.9rem;
	flex-wrap: wrap;
}

.footer-links a {
	text-decoration: none;
}

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

