/**********************************************
  Basic container styling
**********************************************/

.job-detail-container {
    /* Optional: set a max width and center the container */
    max-width: 100%;
    margin: 0 auto;
    padding: 0px 1rem;
}

/**********************************************
  Header styling
**********************************************/

.job-detail-header {
    margin-bottom: 1.5rem;
}

.job-detail-header h1 {
    margin: 0;
    font-size: 2rem;
    color: #333;
}

.job-discipline {
    margin-top: 0.25rem;
    font-size: 1rem;
    color: #666;
}

/**********************************************
  Two-column layout
**********************************************/

.job-detail-content {
    display: flex;
    flex-wrap: wrap; /* allow wrapping on smaller screens */
    gap: 2rem;       /* space between columns */
}

/* Left column (sidebar) */
.job-sidebar {
    flex: 0 0 100%;
    border-radius: 4px;
    min-width: 200px; /* ensures some width on narrower screens */
	height: max-content;
}

.job-sidebar a.share-linkedin {
    margin-left: 15px;
}

.job-share a:hover{color: #000000;}

.job-share {
    padding-bottom: 15px;
    padding-left: 15px;
}

.job-sidebar i.fa.fa-envelope, .job-sidebar i.fa.fa-linkedin {
    color: #0073ff;
}

.job-sidebar .ccm-block-express-form.framedit .form-group .mb-3:nth-child(1), .job-sidebar .ccm-block-express-form.framedit .form-group .mb-3:nth-child(2), .job-sidebar .ccm-block-express-form.framedit .form-group .mb-3:nth-child(3), .job-sidebar .ccm-block-express-form.framedit .form-group .mb-3:nth-child(4) {width: 100%; display: block;}

.job-sidebar .form-group input, .form-group select, .form-group textarea {font-size:0.72rem;}

.job-sidebar-summary {
    background-color: #f4f4f4;
	padding: 1rem;
}

/* List styling inside the sidebar */
.job-sidebar ul {
    list-style: none;
    padding: 0;
    margin-left: 35px;
}

.job-sidebar li {
    margin-bottom: 0.5rem;
    font-size: 0.85rem;
    color: #444;
}

.job-sidebar li strong {
    color: #222;
}

/* Right column (main content) */
.job-main-content {
    flex: 1;
    font-size: 1rem;
    line-height: 1.6;
    color: #444;
}

/**********************************************
  Job Description
**********************************************/

.job-main-content h2 {
    margin-top: 0;
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 1rem;
}

/* Adjust paragraphs, lists, etc. in the description if needed */
.job-main-content p,
.job-main-content ul,
.job-main-content ol {
    margin-bottom: 0.1rem;
}

.job-main-content ul,
.job-main-content ol {
    padding-left: 1.2rem;
}

.job-sidebar .ccm-block-express-form.framedit {display: none;}
.job-sidebar h2 {
    display: none;
}


@media (min-width: 1000px) {

.job-sidebar {
    flex: 0 0 25%;
    border-radius: 4px;
    min-width: 200px; /* ensures some width on narrower screens */
	height: max-content;
}
	.job-sidebar .ccm-block-express-form.framedit {display: block;}
	.job-sidebar h2 {
    display: block;
}

}
