/* =============================================================================
   mm-job-detail.css
   Styles for single-listing_type.php (job detail page).
   ========================================================================== */


/* -----------------------------------------------------------------------------
   Header: logo + title + badges
----------------------------------------------------------------------------- */

.mm-job-detail__header {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    margin-bottom: 2rem;
}

.mm-job-detail__logo {
    flex: 0 0 auto;
}

.mm-job-detail__logo-img {
    display: block;
    width: 80px;
    height: 80px;
    object-fit: contain;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background: #fff;
    padding: 4px;
}

.mm-job-detail__header-body {
    flex: 1 1 auto;
    min-width: 0;
}

.mm-job-detail__title {
    font-size: 1.625rem;
    font-weight: 700;
    line-height: 1.25;
    margin: 0 0 .625rem;
    color: #111;
}

/* Badges row */

.mm-job-detail__badges {
    display: flex;
    flex-wrap: wrap;
    gap: .375rem;
    align-items: center;
}

.mm-job-detail__badge {
    display: inline-flex;
    align-items: center;
    gap: .3em;
    padding: .25rem .625rem;
    border-radius: 20px;
    font-size: .8125rem;
    font-weight: 500;
    line-height: 1.4;
    white-space: nowrap;
}

.mm-job-detail__badge--category {
    background: #eff6ff;
    color: #1d4ed8;
    border: 1px solid #bfdbfe;
    text-decoration: none;
}

.mm-job-detail__badge--category:hover {
    background: #dbeafe;
    color: #1d4ed8;
    text-decoration: none;
}

.mm-job-detail__badge--jobtype {
    background: #f0fdf4;
    color: #15803d;
    border: 1px solid #bbf7d0;
}

.mm-job-detail__badge--location {
    background: #fafaf9;
    color: #57534e;
    border: 1px solid #e7e5e4;
}


/* -----------------------------------------------------------------------------
   Post content
----------------------------------------------------------------------------- */

.mm-job-detail__content {
    line-height: 1.7;
    color: #374151;
}

.mm-job-detail__content h2,
.mm-job-detail__content h3,
.mm-job-detail__content h4 {
    margin-top: 1.5em;
    margin-bottom: .5em;
    font-weight: 600;
}

.mm-job-detail__content p,
.mm-job-detail__content ul,
.mm-job-detail__content ol {
    margin-bottom: 1em;
}

.mm-job-detail__content ul,
.mm-job-detail__content ol {
    padding-left: 1.5em;
}


/* -----------------------------------------------------------------------------
   Sidebar boxes (shared)
----------------------------------------------------------------------------- */

.mm-job-detail__box {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 1.25rem;
    margin-bottom: 1.25rem;
}

.mm-job-detail__box-title {
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: #6b7280;
    margin: 0 0 1rem;
    padding-bottom: .625rem;
    border-bottom: 1px solid #f3f4f6;
}


/* -----------------------------------------------------------------------------
   Apply box
----------------------------------------------------------------------------- */

.mm-job-detail__box--apply {
    background: #1d4ed8;
    border-color: #1d4ed8;
    text-align: center;
}

.mm-job-detail__apply-btn {
    display: block;
    width: 100%;
    padding: .75rem 1rem;
    background: #fff;
    color: #1d4ed8;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    transition: background .15s ease, color .15s ease;
}

.mm-job-detail__apply-btn:hover,
.mm-job-detail__apply-btn:focus {
    background: #eff6ff;
    color: #1e40af;
    text-decoration: none;
}


/* -----------------------------------------------------------------------------
   Details list (dl)
----------------------------------------------------------------------------- */

.mm-job-detail__dl {
    margin: 0;
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: .75rem;
    row-gap: .425rem;
}

.mm-job-detail__dl dt {
    font-size: .8125rem;
    font-weight: 600;
    color: #6b7280;
    white-space: nowrap;
    padding-top: .1em;
}

.mm-job-detail__dl dd {
    font-size: .9rem;
    color: #111;
    margin: 0;
    word-break: break-word;
}

.mm-job-detail__dl dd a {
    color: #1d4ed8;
    text-decoration: none;
    word-break: break-all;
}

.mm-job-detail__dl dd a:hover {
    text-decoration: underline;
}


/* -----------------------------------------------------------------------------
   Contact / Vragen box
----------------------------------------------------------------------------- */

.mm-job-detail__contact {
    display: flex;
    gap: .875rem;
    align-items: flex-start;
}

.mm-job-detail__avatar {
    display: block;
    width: 72px;
    height: 72px;
    border-radius: 50%;
    object-fit: cover;
    flex: 0 0 72px;
}

.mm-job-detail__contact-info {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: .3rem;
}

.mm-job-detail__contact-name {
    font-size: .9375rem;
    font-weight: 700;
    color: #111;
    display: block;
}

.mm-job-detail__contact-desc {
    font-size: .8125rem;
    color: #6b7280;
    display: block;
}

.mm-job-detail__contact-row {
    display: flex;
    align-items: center;
    gap: .4em;
    font-size: .875rem;
    color: #374151;
    text-decoration: none;
}

.mm-job-detail__contact-row:hover {
    color: #1d4ed8;
    text-decoration: none;
}

.mm-job-detail__contact-row i {
    font-size: .875rem;
    color: #9ca3af;
    flex: 0 0 auto;
}


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

@media (max-width: 575px) {
    .mm-job-detail__header {
        flex-direction: column;
    }

    .mm-job-detail__logo-img {
        width: 64px;
        height: 64px;
    }

    .mm-job-detail__title {
        font-size: 1.375rem;
    }
}
