/*
 Theme Name:   Twenty Twenty-Five Child
 Theme URI:    https://yourdomain.com
 Description:  Child theme for Twenty Twenty-Five
 Author:       Your Name
 Author URI:   https://yourdomain.com
 Template:     twentytwentyfive
 Version:      1.0.0
 Text Domain:  twentytwentyfive-child
*/
.page .wp-block-post-title {
  display: none !important;
  margin: 0 !important;
  padding: 0 !important;
  height: 0 !important;
}
.language-switch-link {
    margin-top: 15px;
    font-size: 0.45em;
    font-weight: 400;
}

.language-switch-link a {
    color: #0073aa;
    text-decoration: none;
}

.language-switch-link a:hover {
    color: #005177;
    text-decoration: underline;
}

/* ================================
   CV SUCCESS MESSAGE
   ================================ */

/* JOB GRID */

.jobs-wrapper{
	display:grid;
	grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
	gap:15px;
}

.cv-success-box {
  max-width: 600px;
  margin: 40px auto;
  padding: 30px;
  background: #f0fff4;
  border: 1px solid #b7ebc6;
  border-radius: 12px;
  text-align: center;
}

.cv-success-box h3 {
  color: #2f855a;
  margin-bottom: 10px;
}

.cv-success-box p {
  color: #333;
  line-height: 1.6;
  margin-bottom: 20px;
}

.cv-home-link {
  display: inline-block;
  padding: 10px 18px;
  background: #2f855a;
  color: #fff;
  border-radius: 8px;
  text-decoration: none;
  font-size: 0.95em;
}

.cv-home-link:hover {
  background: #276749;
}

/* ===============================
   JOB CARD LAYOUT
=============================== */

.job-card{
	background:#fff;
	border:1px solid #e2e2e2;
	border-left:4px solid #0066cc;
	border-radius:6px;
	padding:12px;
	font-size:14px;
	line-height:1.5;
	box-shadow:0 1px 4px rgba(0,0,0,.08);
	transition:.2s;
}

.job-card:hover{
	box-shadow:0 4px 12px rgba(0,0,0,.15);
	transform:translateY(-2px);
}


/* ===============================
   JOB TITLE
=============================== */

.job-title{
	font-size:17px;
	font-weight:600;
	color:#003366;
	margin-bottom:5px;
	line-height:1.3;
}

.job-title:hover{
	color:#0066cc;
}


/* ===============================
   MAIN INFO
=============================== */

.job-main{
	font-size:14px;
	color:#555;
	margin:4px 0;
}

.job-deadline{
	font-size:13px;
	color:#c0392b;
	margin-bottom:6px;
}


/* ===============================
   META GRID (2x2)
=============================== */

.job-meta-grid{
	display:grid;
	grid-template-columns:repeat(2,1fr);
	gap:6px 10px;
	margin:8px 0;
	font-size:12px;
}

.job-meta-grid div{
	min-width:0; /* IMPORTANT: allows truncation */
	background:#f9f9f9;
	border:1px solid #eee;
	border-radius:4px;
	padding:6px 8px;
}

.job-meta-grid span{
	display:block;
	font-size:10px;
	color:#777;
	text-transform:uppercase;
}

.job-meta-grid strong{
	font-size:12px;
	color:#222;
	font-weight:600;
}


/* ===============================
   HIDDEN DETAILS
=============================== */

/* HIDDEN DETAILS */

.job-extra{
	max-height:0;
	overflow:hidden;
	transition:max-height .3s ease;
	transition:all .3s ease;
	font-size:13px;
	color:#333;
	border-top:1px solid #eee;
	padding-top:0;
	margin-top:0;
}

.job-extra.active{
	max-height:500px;
	padding-top:8px;
	margin-top:8px;
}

.job-desc{
	margin-top:6px;
	font-size:14px;
	color:#444;
}

/* ===============================
   ACTION BAR
=============================== */

.job-actions{
	display:flex;
	justify-content:space-between;
	align-items:center;
	margin-top:10px;
	padding-top:8px;
	border-top:1px dashed #ddd;
	gap:8px;
}


/* ===============================
   VIEW JOB BUTTON
=============================== */

.apply-btn{
	display:inline-block;
	padding:6px 14px;
	background:#28a745;
	color:#fff;
	text-decoration:none;
	border-radius:5px;
	font-size:13.5px;
	font-weight:500;
	border:1px solid #23923d;
	transition:.2s;
}

.apply-btn:hover{
	background:#23923d;
	color:#fff;
}


/* ===============================
   DETAILS BUTTON
=============================== */

.toggle-details{
	background:#f1f1f1;
	border:1px solid #ccc;
	border-radius:5px;
	padding:5px 10px;
	font-size:13px;
	cursor:pointer;
	transition:.2s;
}

.toggle-details:hover{
	background:#e6e6e6;
}


/* ===============================
   FILTER BAR
=============================== */

.job-filter-form{
	display:flex;
	flex-wrap:nowrap;
	gap:12px;
	justify-content:center;
	align-items:center;
	background:#fff;
	padding:15px;
	border-radius:8px;
	box-shadow:0 2px 6px rgba(0,0,0,.08);
	max-width:900px;
	margin:0 auto 25px auto;
}

.job-filter-form input{
	flex:1;
	min-width:180px;
	padding:8px 10px;
	border:1px solid #ddd;
	border-radius:5px;
	font-size:14px;
}

.job-filter-form button{
	padding:8px 20px;
	background:#0066cc;
	color:#fff;
	border:none;
	border-radius:5px;
	font-size:14px;
	cursor:pointer;
	white-space:nowrap;
}

.job-filter-form button:hover{
	background:#004f99;
}


/* ===============================
   PAGINATION
=============================== */

.jobs-pagination{
	text-align:center;
	margin:30px 0;
}

.jobs-pagination a,
.jobs-pagination span{
	display:inline-block;
	padding:6px 12px;
	margin:3px;
	border:1px solid #ccc;
	border-radius:4px;
	font-size:13px;
	text-decoration:none;
	color:#333;
}

.jobs-pagination .current{
	background:#0066cc;
	color:#fff;
	border-color:#0066cc;
}

.jobs-pagination a:hover{
	background:#f0f0f0;
}

/* SHORT TEXT (EDUCATION / EXPERIENCE) */

.truncate{
	display:inline-block;
	width:100%;
	max-width:100%;
	white-space:nowrap;
	overflow:hidden;
	text-overflow:ellipsis;
	vertical-align:middle;
}


/* ===============================
   MOBILE OPTIMIZATION
=============================== */

@media(max-width:700px){

	.job-filter-form{
		flex-direction:column;
		align-items:stretch;
	}

	.job-filter-form input,
	.job-filter-form button{
		width:100%;
	}

	.job-card{
		padding:10px;
	}

	.job-title{
		font-size:15px;
	}

}

/* MOBILE TAP REVEAL */

@media(max-width:700px){

	.edu-field{
		cursor:pointer;
	}

	.edu-field.active{
		white-space:normal;
		overflow:visible;
		text-overflow:unset;
	}
}

/* Deadline indicator */

.deadline-left{
	font-weight:600;
	color:#c0392b; /* red */
}

.deadline-left:contains("days left"){
	color:#e67e22; /* orange */
}

.deadline-left:contains("Last day"){
	color:#d35400;
}

.deadline-left:contains("Expired"){
	color:#7f8c8d;
}