/* careers-base.css */
/* Core layout and typography styles for the careers site */

/* Layout */
.page-wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}

.container.mt-4 {
    margin-top: 0 !important;
    padding-top: 0.5rem;
}

/* Typography */
.page-header {
    margin: 1.5rem 0 1rem 0;
}

.page-header h1 {
    color: #2c3e50;
    font-size: 2.25rem;
    margin-bottom: 0.75rem;
    letter-spacing: -0.02em;
    font-weight: 600;
}

.intro-section {
    max-width: 800px;
    margin-bottom: 2rem;
}

.intro-section .lead {
    font-size: 1.15rem;
    line-height: 1.6;
    color: #505965;
    margin-bottom: 0;
    font-weight: 400;
}

/* Content Sections */
.content-section {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    padding: 2rem;
    margin-bottom: 2rem;
    width: 100%;
}

.content-section h1 {
    color: #2c3e50;
    margin-top: 0;
}

/* Content Sections */
.pricing-info {
    border-radius: 8px;
    background: #f8f9fa;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.pricing-info h4 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

.pricing-info ul {
    margin-left: 1rem;
}

.pricing-info li {
    margin-bottom: 0.5rem;
}

.sponsor-notice {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #dee2e6;
}

.content-section .lead {
    color: #495057;
    font-size: 1.1rem;
    line-height: 1.6;
}

/* Navigation */
.careers-nav-container {
    margin: 0 0 2rem;
    background: #ffffff;
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    padding: 0.5rem;
}

.careers-nav {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    background: #f8f9fa;
    border-radius: 6px;
}

.careers-nav-item {
    margin: 0;
}

.careers-nav-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    color: #495057;
    text-decoration: none;
    transition: all 0.2s ease;
    border-radius: 6px;
    font-weight: 500;
    font-size: 0.95rem;
    white-space: nowrap;
    margin: 0.25rem;
}

.careers-nav-link i {
    font-size: 1em;
    width: 1.2em;
    text-align: center;
    opacity: 0.75;
    color: #495057;
}

.careers-nav-link:hover {
    color: #0056b3;
    text-decoration: none;
    background-color: rgba(0, 86, 179, 0.08);
}

.careers-nav-link.active {
    color: #0056b3;
    background-color: #ffffff;
    font-weight: 600;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.careers-nav-link.active i {
    opacity: 1;
}

/* Logo Controls */
.sponsor-logo,
.job-organization img {
    max-height: 28px !important;
    max-width: 120px !important;
    object-fit: contain;
    vertical-align: middle;
}

.job-card .job-header .job-organization img,
.posting-card .posting-header .job-organization img {
    max-height: 28px !important;
    max-width: 120px !important;
}

img[class*="-logo"] {
    max-height: 40px !important;
    max-width: 150px !important;
}

.job-organization {
    display: flex;
    align-items: center;
}

.logo-container {
    width: 120px;
    height: 28px;
    display: flex;
    align-items: center;
}

/* Ensure ALL logo images are properly sized */
img[src*="logo"],
.sponsor-logo,
.job-organization img,
.navbar-brand img,
header img,
.navbar img,
.nav img,
.hdrimg img,
.img-logo,
a img,
.brand img {
    max-height: 40px !important;
    max-width: 150px !important;
    object-fit: contain !important;
    vertical-align: middle !important;
}

/* Job Listings */
.job-listings {
    margin-top: 2rem;
}

.search-section {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    padding: 2rem;
    margin-bottom: 3rem;
}

.filters-row {
    margin-bottom: 1.5rem;
}

.job-card {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    overflow: hidden;
    transition: all 0.2s ease;
}

.job-card:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.job-header {
    padding: 1.25rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fff;
    border-bottom: 1px solid #e9ecef;
    gap: 1rem;
}

.job-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.5rem;
    display: block;
}

.job-organization {
    color: #6c757d;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.job-content {
    padding: 1.75rem;
    color: #495057;
    background: #fff;
    border-bottom: 1px solid #e9ecef;
}

.job-footer {
    padding: 1.25rem 1.75rem;
    background: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.badge-job-type {
    font-size: 0.8rem;
    padding: 0.35rem 0.65rem;
    margin-left: 0.5rem;
    border-radius: 4px;
}

.search-input {
    border-top-left-radius: 6px !important;
    border-bottom-left-radius: 6px !important;
}

.search-button {
    border-top-right-radius: 6px !important;
    border-bottom-right-radius: 6px !important;
}

/* Footer */
footer {
    background-color: #f8f9fa;
    padding: 1rem 0;
    margin-top: 2rem;
    border-top: 1px solid #e5e5e5;
}

/* Utilities */
.text-muted {
    color: #6c757d;
}
