/* Recruitment detail + apply form — C22 */

.recruitment-detail-root {
    font-family: 'SVN-Gilroy', sans-serif;
    overflow-x: clip;
}

.recruitment-detail-breadcrumb .breadcrumb {
    --bs-breadcrumb-divider: '›';
    flex-wrap: wrap;
    font-size: 0.875rem;
}

.recruitment-detail-breadcrumb__link {
    color: #5c5c5c;
    text-decoration: none;
}

.recruitment-detail-breadcrumb__link:hover {
    color: #fe7814;
}

.recruitment-detail-main {
    background: #fff;
    border-radius: 20px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 12px 40px rgba(15, 23, 42, 0.06);
    padding: clamp(1.25rem, 3vw, 2rem);
    margin-bottom: 2rem;
}

.recruitment-detail-kicker {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #fe7814;
    margin-bottom: 0.65rem;
}

.recruitment-detail-title {
    font-size: clamp(1.35rem, 3.5vw, 1.85rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.25;
    color: #141414;
    margin-bottom: 1.25rem;
}

.recruitment-detail-summary {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}

.recruitment-detail-chip {
    flex: 1 1 160px;
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    padding: 0.75rem 0.9rem;
    border-radius: 14px;
    background: linear-gradient(145deg, #f8fafc 0%, #f3f6fb 100%);
    border: 1px solid rgba(0, 0, 0, 0.05);
    min-width: 0;
}

.recruitment-detail-chip--muted {
    opacity: 0.85;
    background: #f3f4f6;
}

.recruitment-detail-chip__icon {
    flex-shrink: 0;
    margin-top: 2px;
}

.recruitment-detail-chip__icon.bi-icon {
    font-size: 1.15rem;
    color: #269af2;
    line-height: 1;
}

.recruitment-detail-chip__body {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    min-width: 0;
}

.recruitment-detail-chip__label {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #8a8a8a;
}

.recruitment-detail-chip__value {
    font-size: 0.9rem;
    font-weight: 600;
    color: #2d2d2d;
    line-height: 1.4;
    word-break: break-word;
}

.recruitment-detail-chip__value--accent {
    color: #e07010;
}

.recruitment-detail-actions {
    margin-bottom: 0.5rem;
}

.recruitment-detail-btn-primary {
    display: inline-flex;
    margin-top: 10px;
    align-items: center;
    justify-content: center;
    padding: 0.7rem 1.35rem;
    border-radius: 999px;
    background: linear-gradient(135deg, #fe7814 0%, #e56d10 100%);
    color: #fff !important;
    font-weight: 700;
    font-size: 0.9375rem;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
    box-shadow: 0 8px 24px rgba(254, 120, 20, 0.28);
}

.recruitment-detail-btn-primary:hover {
    transform: translateY(-2px);
    filter: brightness(1.03);
    color: #fff !important;
    box-shadow: 0 12px 28px rgba(254, 120, 20, 0.35);
}

.recruitment-detail-btn-primary:focus-visible {
    outline: 2px solid #269af2;
    outline-offset: 3px;
}

.recruitment-detail-btn-primary--block {
    width: 100%;
    margin-top: 0.75rem;
}

.recruitment-detail-closed-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.55rem 1rem;
    border-radius: 999px;
    background: #f3f4f6;
    color: #5c5c5c;
    font-weight: 600;
    font-size: 0.875rem;
}

.recruitment-detail-body {
    font-size: 1rem;
    line-height: 1.75;
    color: #3d3d3d;
    padding-top: 0.5rem;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    margin-top: 0.25rem;
}

.recruitment-detail-body img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
}

.recruitment-apply-section {
    scroll-margin-top: 6rem;
    margin-top: 2rem;
}

.recruitment-apply-card {
    border-radius: 18px;
    padding: 1.5rem;
    background: linear-gradient(180deg, #f0f7ff 0%, #ffffff 42%);
    border: 1px solid rgba(38, 154, 242, 0.18);
}

.recruitment-apply-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.35rem;
    color: #141414;
}

.recruitment-apply-lead {
    font-size: 0.9rem;
    color: #5c5c5c;
    margin-bottom: 1.25rem;
    line-height: 1.55;
}

.recruitment-apply-form .form-label {
    font-weight: 600;
    font-size: 0.875rem;
    color: #333;
}

.recruitment-apply-footer {
    margin-top: 1.25rem;
}

.recruitment-apply-closed-note {
    font-size: 0.9375rem;
    color: #666;
}

.recruitment-apply-file.form-control {
    padding: 0.55rem 0.85rem;
    font-size: 0.875rem;
}

.recruitment-apply-file-hint {
    line-height: 1.45;
}

.recruitment-detail-aside {
    position: relative;
}

.recruitment-detail-sticky {
    position: sticky;
    top: 1rem;
}

.recruitment-aside-panel {
    background: #fff;
    border-radius: 18px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 12px 36px rgba(15, 23, 42, 0.07);
    padding: 1.25rem;
    margin-bottom: 1.25rem;
}

.recruitment-aside-panel--cta-only .recruitment-detail-btn-primary--block {
    margin-top: 0;
}

.recruitment-aside-panel__title {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #141414;
}

.recruitment-aside-panel__list {
    list-style: none;
    padding: 0;
    margin: 0 0 0.5rem;
}

.recruitment-aside-panel__list li {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.recruitment-aside-panel__list li:last-child {
    border-bottom: none;
}

.recruitment-aside-panel__list .muted {
    font-size: 0.6875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 700;
    color: #8a8a8a;
}

.recruitment-aside-panel__list strong {
    font-size: 0.9rem;
    font-weight: 600;
    color: #2d2d2d;
}

.recruitment-aside-support {
    background: linear-gradient(168deg, #f7fbff 0%, #ffffff 52%);
    border-radius: 18px;
    border: 1px solid rgba(38, 154, 242, 0.16);
    box-shadow: 0 10px 32px rgba(38, 154, 242, 0.08);
    padding: 1.25rem;
    margin-bottom: 1.25rem;
}

.recruitment-aside-support__title {
    font-size: 1rem;
    font-weight: 700;
    margin: 0 0 0.35rem;
    color: #141414;
    letter-spacing: -0.01em;
}

.recruitment-aside-support__lead {
    font-size: 0.8125rem;
    line-height: 1.5;
    color: #6b6b6b;
    margin: 0 0 0.9rem;
}

.recruitment-aside-support__list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.recruitment-aside-support__item {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    padding: 0.65rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.recruitment-aside-support__item:first-of-type {
    padding-top: 0;
}

.recruitment-aside-support__item:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.recruitment-aside-support__icon {
    flex-shrink: 0;
    width: 2.25rem;
    height: 2.25rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: rgba(38, 154, 242, 0.12);
    color: #1b7bc4;
    font-size: 1rem;
}

.recruitment-aside-support__body {
    min-width: 0;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.recruitment-aside-support__label {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #8a8a8a;
}

.recruitment-aside-support__value {
    font-size: 0.9rem;
    font-weight: 600;
    color: #1b7bc4;
    text-decoration: none;
    word-break: break-word;
    transition: color 0.2s ease;
}

a.recruitment-aside-support__value:hover {
    color: #fe7814;
}

.recruitment-aside-support__value--static {
    color: #2d2d2d;
    font-weight: 600;
}

.recruitment-aside-related__title {
    font-size: 0.9375rem;
    font-weight: 700;
    margin-bottom: 0.9rem;
    color: #fe7814;
    text-align: center;
}

.recruitment-related-card {
    position: relative;
    background: #fff;
    border-radius: 16px;
    border: 1px solid #eee;
    padding: 1rem 1rem 0.85rem;
    margin-bottom: 0.85rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
}

.recruitment-related-card--closed {
    opacity: 0.92;
}

.recruitment-related-card__hot {
    position: absolute;
    top: 0.35rem;
    right: 0.35rem;
    line-height: 0;
}

.recruitment-related-card__name {
    font-size: 0.95rem;
    font-weight: 700;
    margin: 0 2.5rem 0.4rem 0;
    line-height: 1.3;
}

.recruitment-related-card__name a {
    color: #1a1a1a;
    text-decoration: none;
}

.recruitment-related-card__name a:hover {
    color: #269af2;
}

.recruitment-related-card__meta {
    font-size: 0.8rem;
    color: #666;
    margin: 0 0 0.35rem;
}

.recruitment-related-card__meta .dot {
    margin: 0 0.25rem;
}

.recruitment-related-card__deadline {
    font-size: 0.78rem;
    color: #555;
    margin: 0 0 0.5rem;
}

.recruitment-related-card__deadline .bi {
    margin-right: 0.25rem;
    color: #269af2;
}

.recruitment-related-card__link {
    font-size: 0.82rem;
    font-weight: 600;
    color: #3198e9;
    text-decoration: none;
}

.recruitment-related-card__link:hover {
    text-decoration: underline;
}

@media (max-width: 991.98px) {
    .recruitment-detail-sticky {
        position: static;
    }

    .recruitment-aside-panel {
        margin-top: 0;
    }
}

@media (max-width: 767.98px) {
    .recruitment-detail-summary {
        flex-direction: column;
    }

    .recruitment-detail-chip {
        flex: none;
    }
}
