/**
 * PTJ Auto Jobs — landing page design system (matches single job page aesthetic)
 * Loaded on city/category hub pages.
 */

/* ---------- Page hero ---------- */
.ptj-landing-hero {
	background: linear-gradient(135deg, #0d47a1 0%, #1565d8 60%, #42a5f5 100%);
	border-radius: 20px;
	padding: 40px 36px;
	margin: 0 0 28px;
	color: #fff;
}

.ptj-landing-hero h1 {
	color: #fff !important;
	font-size: 2rem;
	margin: 0 0 10px;
	border: none !important;
	padding: 0 !important;
}

.ptj-landing-hero p {
	color: rgba(255, 255, 255, .92);
	font-size: 1.05rem;
	margin: 0;
	max-width: 720px;
}

/* ---------- Section headings ---------- */
.ptj-landing h2 {
	font-size: 1.45rem;
	color: #101828;
	margin: 2.4em 0 1em;
	padding-left: 14px;
	border-left: 4px solid #1565d8;
}

.ptj-landing h3 {
	font-size: 1.12rem;
	color: #1d2939;
	margin: 1.5em 0 .6em;
}

/* ---------- Content cards ---------- */
.ptj-landing-card {
	background: #fff;
	border: 1px solid #e8edf5;
	border-radius: 16px;
	padding: 26px 28px;
	margin: 0 0 22px;
	box-shadow: 0 4px 14px rgba(16, 24, 40, .04);
}

.ptj-landing-card p {
	color: #344054;
	line-height: 1.75;
	margin: 0 0 1em;
}

.ptj-landing-card p:last-child {
	margin-bottom: 0;
}

.ptj-landing-card ul {
	margin: 0 0 1em;
	padding-left: 1.2em;
}

.ptj-landing-card li {
	color: #344054;
	line-height: 1.7;
	margin-bottom: .5em;
}

.ptj-landing-card a {
	color: #1565d8;
	font-weight: 500;
}

/* ---------- Related link grids ---------- */
.ptj-link-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
	gap: 12px;
	margin: 0 0 22px;
	padding: 0;
	list-style: none !important;
}

.ptj-link-grid li {
	margin: 0 !important;
}

.ptj-link-grid a {
	display: block;
	background: #f8fafd;
	border: 1px solid #e8edf5;
	border-radius: 12px;
	padding: 14px 16px;
	color: #1d2939 !important;
	font-weight: 600;
	font-size: .93rem;
	text-decoration: none !important;
	transition: all .2s ease;
}

.ptj-link-grid a:hover {
	background: #e9f1fd;
	border-color: #1565d8;
	color: #1565d8 !important;
	transform: translateY(-2px);
}

/* ---------- FAQ cards ---------- */
.ptj-faq {
	background: #fff;
	border: 1px solid #e8edf5;
	border-radius: 14px;
	margin: 0 0 14px;
	overflow: hidden;
}

.ptj-faq summary {
	padding: 18px 22px;
	font-weight: 700;
	color: #101828;
	cursor: pointer;
	list-style: none;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 12px;
}

.ptj-faq summary::-webkit-details-marker {
	display: none;
}

.ptj-faq summary::after {
	content: "+";
	font-size: 1.4rem;
	color: #1565d8;
	font-weight: 400;
	flex-shrink: 0;
}

.ptj-faq[open] summary::after {
	content: "–";
}

.ptj-faq .ptj-faq-body {
	padding: 0 22px 20px;
	color: #344054;
	line-height: 1.75;
}

/* ---------- Jobs section heading ---------- */
.ptj-jobs-heading {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 0 0 20px;
}

.ptj-jobs-heading h2 {
	margin: 0 !important;
	padding: 0 0 0 14px !important;
	border-left: 4px solid #1565d8 !important;
	font-size: 1.45rem;
}

.ptj-jobs-count {
	background: #e9f1fd;
	color: #1565d8;
	font-size: .82rem;
	font-weight: 700;
	padding: 5px 14px;
	border-radius: 999px;
	white-space: nowrap;
}

@media (max-width: 768px) {
	.ptj-landing-hero {
		padding: 28px 22px;
	}

	.ptj-landing-hero h1 {
		font-size: 1.5rem;
	}

	.ptj-landing-card {
		padding: 20px;
	}
}

/* ---------- Restaurant hub ---------- */
.ptj-rest-filters {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0 0 24px;
}

.ptj-filter-btn {
	background: #f8fafd;
	border: 1px solid #e8edf5;
	border-radius: 999px;
	padding: 8px 18px;
	font-size: .88rem;
	font-weight: 600;
	color: #344054;
	cursor: pointer;
	transition: all .2s ease;
}

.ptj-filter-btn:hover {
	border-color: #1565d8;
	color: #1565d8;
}

.ptj-filter-btn.active {
	background: #1565d8;
	border-color: #1565d8;
	color: #fff;
}

.ptj-rest-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
	gap: 20px;
}

.ptj-rest-card {
	background: #fff;
	border: 1px solid #e8edf5;
	border-radius: 16px;
	overflow: hidden;
	transition: transform .2s ease, box-shadow .2s ease;
}

.ptj-rest-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 12px 28px rgba(16, 24, 40, .1);
}

.ptj-rest-card img {
	width: 100%;
	height: 150px;
	object-fit: cover;
	display: block;
}

.ptj-rest-card-body {
	padding: 16px 18px 18px;
}

.ptj-rest-cat {
	display: inline-block;
	background: #e9f1fd;
	color: #1565d8;
	font-size: .75rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .5px;
	padding: 4px 12px;
	border-radius: 999px;
	margin-bottom: 8px;
}

.ptj-rest-card h3 {
	font-size: 1.05rem;
	margin: 0 0 6px;
}

.ptj-rest-card h3 a {
	color: #101828;
	text-decoration: none;
}

.ptj-rest-card h3 a:hover {
	color: #1565d8;
}

.ptj-rest-count {
	color: #667085;
	font-size: .88rem;
	margin: 0 0 10px;
}

.ptj-rest-link {
	color: #1565d8;
	font-weight: 700;
	font-size: .92rem;
	text-decoration: none;
}

/* ---------- Restaurant hub v2 ---------- */
.ptj-rest-hero {
	background: linear-gradient(135deg, #c2410c 0%, #ea580c 50%, #f97316 100%);
	border: none;
	color: #fff;
}

.ptj-rest-hero h1 {
	color: #fff !important;
}

.ptj-rest-hero p {
	color: rgba(255,255,255,.92) !important;
}

.ptj-rest-hero p strong {
	color: #fff !important;
}

.ptj-rest-stats {
	display: flex;
	gap: 32px;
	justify-content: center;
	margin-top: 20px;
}

.ptj-rest-stat {
	text-align: center;
}

.ptj-rest-stat strong {
	display: block;
	font-size: 1.8rem;
	color: #fff;
}

.ptj-rest-stat span {
	font-size: .85rem;
	color: rgba(255,255,255,.85);
}

.ptj-top-hiring {
	border: 2px solid #fed7aa;
	background: #fffbeb;
}

.ptj-top-hiring h2 {
	margin-top: 0;
	color: #9a3412;
	border: none !important;
	padding-left: 0 !important;
}

.ptj-hiring-badge {
	position: absolute;
	top: 10px;
	left: 10px;
	background: #dc2626;
	color: #fff;
	font-size: .75rem;
	font-weight: 700;
	padding: 4px 12px;
	border-radius: 999px;
}

.ptj-rest-img-wrap {
	position: relative;
	display: block;
}

.ptj-az-nav {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin: 0 0 24px;
	justify-content: center;
}

.ptj-az-link {
	display: inline-block;
	min-width: 36px;
	text-align: center;
	background: #f8fafd;
	border: 1px solid #e8edf5;
	border-radius: 8px;
	padding: 6px 10px;
	font-weight: 700;
	color: #344054;
	text-decoration: none;
	font-size: .9rem;
}

.ptj-az-link:hover {
	background: #1565d8;
	border-color: #1565d8;
	color: #fff;
}

.ptj-az-heading {
	font-size: 1.6rem;
	color: #101828;
	border-bottom: 2px solid #fed7aa;
	padding-bottom: 8px;
	margin: 32px 0 16px;
	scroll-margin-top: 100px;
}

.ptj-no-jobs {
	color: #98a2b3;
	font-style: italic;
}

/* ---------- Individual restaurant page ---------- */
.ptj-rp-hero {
	background-size: cover;
	background-position: center;
	border-radius: 20px;
	padding: 70px 40px;
	margin-bottom: 32px;
	color: #fff;
	text-align: center;
}

.ptj-rp-hero-inner {
	max-width: 720px;
	margin: 0 auto;
}

.ptj-rp-hero-cat {
	display: inline-block;
	background: rgba(255,255,255,.2);
	backdrop-filter: blur(4px);
	padding: 6px 18px;
	border-radius: 999px;
	font-size: .82rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 1px;
	margin-bottom: 14px;
}

.ptj-rp-hero h1 {
	color: #fff;
	font-size: 2.4rem;
	margin: 0 0 10px;
}

.ptj-rp-hero p {
	color: rgba(255,255,255,.9);
	font-size: 1.05rem;
	margin: 0 0 20px;
}

.ptj-rp-hero-stats {
	display: flex;
	gap: 36px;
	justify-content: center;
	margin-bottom: 24px;
}

.ptj-rp-hero-stats strong {
	display: block;
	font-size: 1.7rem;
}

.ptj-rp-hero-stats span {
	font-size: .82rem;
	color: rgba(255,255,255,.75);
}

.ptj-rp-hero-cta {
	display: inline-block;
	background: #ea580c;
	color: #fff !important;
	padding: 14px 38px;
	border-radius: 999px;
	font-weight: 700;
	text-decoration: none !important;
	font-size: 1.02rem;
}

.ptj-rp-hero-cta:hover {
	background: #c2410c;
	color: #fff !important;
}

.ptj-rp-why h2,
.ptj-rp-jobs-section h2,
.ptj-rp-apply h2,
.ptj-rp-faq h2,
.ptj-rp-related h2 {
	font-size: 1.5rem;
	margin-top: 0;
	margin-bottom: 18px;
	color: #101828;
}

.ptj-rp-why-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 18px;
}

.ptj-rp-why-item {
	background: #f8fafd;
	border-radius: 14px;
	padding: 20px;
	text-align: center;
}

.ptj-rp-why-item span {
	font-size: 2rem;
}

.ptj-rp-why-item h3 {
	font-size: 1rem;
	margin: 8px 0 6px;
}

.ptj-rp-why-item p {
	font-size: .88rem;
	color: #667085;
	margin: 0;
}

.ptj-rp-jobs-section {
	margin: 36px 0;
	scroll-margin-top: 90px;
}

.ptj-rp-steps {
	margin: 0 0 16px;
	padding-left: 22px;
}

.ptj-rp-steps li {
	margin-bottom: 12px;
	line-height: 1.6;
}

.ptj-rp-tip {
	background: #fffbeb;
	border: 1px solid #fde68a;
	border-radius: 10px;
	padding: 14px 18px;
	margin: 0;
}

.ptj-rp-faq details {
	border-bottom: 1px solid #e8edf5;
	padding: 14px 0;
}

.ptj-rp-faq summary {
	font-weight: 700;
	cursor: pointer;
	color: #101828;
}

.ptj-rp-faq details p {
	margin: 8px 0 0;
	color: #475467;
}

.ptj-rp-related {
	margin-top: 36px;
}

@media (max-width: 640px) {
	.ptj-rp-hero {
		padding: 48px 20px;
	}
	.ptj-rp-hero h1 {
		font-size: 1.7rem;
	}
	.ptj-rp-hero-stats {
		gap: 20px;
	}
}
