/*
Theme Name:		Hello Elementor Child
Theme URI:		https://elementor.com/
Description:	Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author:			Elementor Team
Author URI:		https://elementor.com/
Template:		hello-elementor
Version:		1.1.0
Text Domain:	hello-elementor-child
Tags:           flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* ============================================================
   Module Offres d'emploi — Partego (Commpagnie, juin 2026)
   Charte : bleu #157dbc, rouge #e32523, dégradé 130deg bleu→rouge,
   titres "Bauhaus Std Medium", texte Roboto.
   ============================================================ */

:root {
	--ptg-blue: #157dbc;
	--ptg-red: #e32523;
	--ptg-green: #23A455;
	--ptg-orange: #ea8823;
	--ptg-purple: #622081;
	--ptg-grad: linear-gradient(130deg, #157dbc 0%, #ff0000 89%);
	--ptg-text: #54595F;
	--ptg-radius: 14px;
	--ptg-shadow: 0 6px 24px rgba(21, 125, 188, 0.10);
}

/* ---------- LISTE DES OFFRES : filtres ---------- */

.job_filters {
	background: #fff;
	border-radius: var(--ptg-radius);
	box-shadow: var(--ptg-shadow);
	padding: 24px 24px 12px;
	margin-bottom: 28px;
	font-family: "Roboto", sans-serif;
}
.job_filters .search_jobs {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	align-items: stretch;
}
.job_filters .search_jobs > div {
	flex: 1 1 220px;
	padding: 0 !important;
	float: none !important;
	width: auto !important;
}
.job_filters .search_jobs input[type="text"],
.job_filters .search_jobs select,
.job_filters .search_jobs .select2-container .select2-selection {
	width: 100%;
	border: 1px solid #dfe6ec;
	border-radius: 10px;
	padding: 12px 16px;
	font-family: "Roboto", sans-serif;
	font-size: 15px;
	color: var(--ptg-text);
	background: #fbfdfe;
	box-sizing: border-box;
	transition: border-color .2s;
}
.job_filters .search_jobs input[type="text"]:focus,
.job_filters .search_jobs select:focus {
	outline: none;
	border-color: var(--ptg-blue);
}
.job_filters .search_submit {
	flex-basis: 100%;
	text-align: center;
}
.job_filters .search_submit input[type="submit"],
.job_filters input[type="submit"] {
	width: auto !important;
	min-width: 220px;
	background: var(--ptg-red);
	color: #fff !important;
	border: none;
	border-radius: 30px;
	padding: 12px 38px;
	font-family: "Roboto", sans-serif;
	font-weight: 600;
	font-size: 15px;
	cursor: pointer;
	transition: transform .15s, box-shadow .15s;
	box-shadow: 0 4px 14px rgba(227, 37, 35, .3);
}
.job_filters .search_submit input[type="submit"]:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 18px rgba(227, 37, 35, .4);
}
.job_filters .job_types {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 18px;
	list-style: none;
	margin: 14px 0 4px;
	padding: 0;
	border: none;
	background: transparent;
}
.job_filters .job_types li {
	font-family: "Roboto", sans-serif;
	font-size: 14px;
	color: var(--ptg-text);
	padding: 0;
	border: none;
}
.job_filters .job_types li input[type="checkbox"] {
	accent-color: var(--ptg-blue);
	margin-right: 5px;
}

/* lien RSS : sans intérêt pour les visiteurs */
a.job-feed, a[href*="feed=job_feed"] { display: none !important; }

/* barre "résultats" grise sous les filtres */
.showing_jobs { display: none !important; }

/* logos d'entreprise placeholder sur les cartes : masqués (toujours Partego) */
ul.job_listings li.job_listing img.company_logo { display: none !important; }

/* harmoniser la hauteur du select2 (catégorie) avec les inputs */
.job_filters .select2-container .select2-selection--single {
	height: 47px;
	border: 1px solid #dfe6ec;
	border-radius: 10px;
	background: #fbfdfe;
}
.job_filters .select2-container .select2-selection--single .select2-selection__rendered {
	line-height: 45px;
	padding-left: 16px;
	color: var(--ptg-text);
	font-family: "Roboto", sans-serif;
}
.job_filters .select2-container .select2-selection--single .select2-selection__arrow {
	height: 45px;
}

/* ---------- LISTE DES OFFRES : cartes ---------- */

ul.job_listings {
	display: flex;
	flex-direction: column;
	gap: 16px;
	margin: 0 0 24px;
	padding: 0;
	border: none !important;
}
ul.job_listings li.job_listing {
	list-style: none;
	background: #fff;
	border: 1px solid #eef3f7 !important;
	border-radius: var(--ptg-radius);
	box-shadow: var(--ptg-shadow);
	transition: transform .15s ease, box-shadow .15s ease;
	overflow: hidden;
}
ul.job_listings li.job_listing:hover {
	transform: translateY(-3px);
	box-shadow: 0 10px 30px rgba(21, 125, 188, .18);
}
ul.job_listings li.job_listing > a {
	display: flex;
	align-items: center;
	gap: 18px;
	padding: 20px 26px !important;
	text-decoration: none;
}
ul.job_listings li.job_listing > a:hover { background: transparent !important; }
ul.job_listings li.job_listing .position {
	flex: 2 1 auto;
	float: none !important;
	width: auto !important;
	padding: 0 !important;
}
ul.job_listings li.job_listing .position h3 {
	font-family: "Roboto", sans-serif;
	font-weight: 700;
	font-size: 18px;
	color: var(--ptg-blue);
	margin: 0 0 4px;
	line-height: 1.35;
}
ul.job_listings li.job_listing .position .company,
ul.job_listings li.job_listing .company {
	color: var(--ptg-text);
	font-family: "Roboto", sans-serif;
	font-size: 14px;
}
ul.job_listings li.job_listing .location {
	flex: 1 1 160px;
	float: none !important;
	width: auto !important;
	text-align: left !important;
	padding: 0 !important;
	color: var(--ptg-text);
	font-family: "Roboto", sans-serif;
	font-size: 14px;
}
ul.job_listings li.job_listing .location::before {
	content: "📍 ";
}
ul.job_listings li.job_listing .meta {
	flex: 0 0 auto;
	float: none !important;
	width: auto !important;
	text-align: right !important;
	padding: 0 !important;
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 6px;
}
ul.job_listings li.job_listing .meta .date,
ul.job_listings li.job_listing .meta time {
	color: #9aa6b0;
	font-size: 12.5px;
	font-family: "Roboto", sans-serif;
}

/* Badges type de contrat (liste + single) */
.job-type {
	display: inline-block;
	border-radius: 20px;
	padding: 4px 14px !important;
	font-family: "Roboto", sans-serif;
	font-size: 12.5px !important;
	font-weight: 600;
	color: #fff !important;
	background: var(--ptg-blue);
	line-height: 1.6;
}
.job-type.cdi { background: var(--ptg-green) !important; }
.job-type.cdd { background: var(--ptg-orange) !important; }
.job-type.cdd-dinsertion-cddi { background: var(--ptg-purple) !important; }
.job-type.interim { background: var(--ptg-blue) !important; }
.job-type.stage-alternance { background: var(--ptg-red) !important; }

/* Bouton "Charger plus d'offres" */
.load_more_jobs {
	display: inline-block;
	background: transparent !important;
	border: 2px solid var(--ptg-blue) !important;
	border-radius: 30px !important;
	color: var(--ptg-blue) !important;
	font-family: "Roboto", sans-serif;
	font-weight: 600;
	padding: 10px 32px !important;
	text-align: center;
	text-decoration: none !important;
	transition: background .2s, color .2s;
}
.load_more_jobs:hover {
	background: var(--ptg-blue) !important;
	color: #fff !important;
}
.load_more_jobs strong { font-weight: 600; }

/* Message "aucune offre" */
.no_job_listings_found {
	background: #fff;
	border-radius: var(--ptg-radius);
	box-shadow: var(--ptg-shadow);
	padding: 28px;
	text-align: center;
	font-family: "Roboto", sans-serif;
	color: var(--ptg-text);
}

/* ---------- PAGE D'UNE OFFRE (single) ---------- */

.single-job_listing .page-header {
	background-image: var(--ptg-grad);
	width: 100vw;
	margin-left: calc(50% - 50vw);
	padding: 64px 24px 58px;
	margin-bottom: 36px;
	text-align: center;
}
.single-job_listing .page-header h1.entry-title {
	font-family: "Bauhaus Std Medium", "Roboto", sans-serif;
	color: #fff;
	font-size: 38px;
	line-height: 1.25;
	max-width: 900px;
	margin: 0 auto;
}
.single-job_listing .page-content {
	max-width: 860px;
	margin: 0 auto 60px;
	padding: 0 20px;
	font-family: "Roboto", sans-serif;
	color: var(--ptg-text);
}

/* Bandeau méta : chips */
.single_job_listing ul.job-listing-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	list-style: none;
	margin: 0 0 30px;
	padding: 0;
}
.single_job_listing ul.job-listing-meta li {
	background: #f2f8fc;
	border: 1px solid #dcebf5;
	border-radius: 20px;
	padding: 6px 16px;
	font-size: 14px;
	color: var(--ptg-text);
}
.single_job_listing ul.job-listing-meta li.job-type {
	border: none;
}
.single_job_listing ul.job-listing-meta li.location a {
	color: var(--ptg-blue);
	text-decoration: none;
}
.single_job_listing ul.job-listing-meta li.partego-meta strong {
	color: var(--ptg-blue);
	font-weight: 600;
}

/* Description */
.single_job_listing .job_description {
	font-size: 16px;
	line-height: 1.75;
}
.single_job_listing .job_description h3 {
	font-family: "Bauhaus Std Medium", "Roboto", sans-serif;
	color: var(--ptg-blue);
	font-size: 24px;
	margin: 32px 0 12px;
}
.single_job_listing .job_description ul {
	padding-left: 22px;
}
.single_job_listing .job_description li {
	margin-bottom: 6px;
}

/* Bouton Postuler + formulaire de candidature */
.single_job_listing .job_application {
	margin-top: 36px;
	background: #fff;
	border: 1px solid #eef3f7;
	border-radius: var(--ptg-radius);
	box-shadow: var(--ptg-shadow);
	padding: 28px;
	text-align: center;
}
.single_job_listing .application_button {
	background: var(--ptg-red);
	color: #fff;
	border: none;
	border-radius: 30px;
	padding: 14px 52px;
	font-family: "Roboto", sans-serif;
	font-size: 17px;
	font-weight: 600;
	cursor: pointer;
	transition: transform .15s, box-shadow .15s;
	box-shadow: 0 4px 14px rgba(227, 37, 35, .3);
}
.single_job_listing .application_button:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 18px rgba(227, 37, 35, .4);
}
.single_job_listing .application_details {
	text-align: left;
	margin-top: 26px;
}
.job-manager-application-form fieldset {
	border: none;
	margin: 0 0 16px;
	padding: 0;
}
.job-manager-application-form label {
	display: block;
	font-weight: 600;
	color: var(--ptg-blue);
	margin-bottom: 6px;
	font-size: 14.5px;
}
.job-manager-application-form .input-text,
.job-manager-application-form textarea {
	width: 100%;
	border: 1px solid #dfe6ec;
	border-radius: 10px;
	padding: 12px 16px;
	font-family: "Roboto", sans-serif;
	font-size: 15px;
	background: #fbfdfe;
	box-sizing: border-box;
	transition: border-color .2s;
}
.job-manager-application-form .input-text:focus,
.job-manager-application-form textarea:focus {
	outline: none;
	border-color: var(--ptg-blue);
}
.job-manager-application-form input[type="submit"] {
	background: var(--ptg-red);
	color: #fff;
	border: none;
	border-radius: 30px;
	padding: 13px 44px;
	font-family: "Roboto", sans-serif;
	font-size: 16px;
	font-weight: 600;
	cursor: pointer;
	box-shadow: 0 4px 14px rgba(227, 37, 35, .3);
}
.job-manager-application-form input[type="submit"]:hover {
	transform: translateY(-2px);
}

/* ---------- Responsive ---------- */

@media (max-width: 767px) {
	ul.job_listings li.job_listing > a {
		flex-direction: column;
		align-items: flex-start;
		gap: 8px;
		padding: 18px 20px !important;
	}
	ul.job_listings li.job_listing .meta {
		flex-direction: row;
		align-items: center;
		gap: 12px;
	}
	.job_filters .search_jobs { flex-direction: column; }
	.single-job_listing .page-header { padding: 40px 18px 36px; }
	.single-job_listing .page-header h1.entry-title { font-size: 26px; }
	.single_job_listing .job_application { padding: 20px 16px; }
}
