/* Основные стили */
.vacancy-detail-page {
    background-color: #fff;
    color: #000;
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px;
}

.vacancy-header {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid #eaeaea;
}

.vacancy-title {
    color: #005bba;
    font-size: 2.5rem;
    margin-bottom: 15px;
}

/*.vacancy-meta2 {*/
/*    display: flex;*/
/*    justify-content: center;*/
/*    gap: 30px;*/
/*    margin-bottom: 20px;*/
/*    color: #666;*/
/*    font-size: 1.1rem;*/
/*}*/

.vacancy-body {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 40px;
}

.vacancy-content {
    line-height: 1.8;
}

.vacancy-content h2, h3 {
    color: #005bba;
    margin: 25px 0 15px;
}

.vacancy-content p {
    margin-bottom: 15px;
}

.vacancy-content ul, .vacancy-content ol {
    margin: 0 0 20px 20px;
}

.vacancy-content li {
    margin-bottom: 8px;
}

.vacancy-sidebar {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 25px;
    align-self: start;
}

.sidebar-section {
    margin-bottom: 30px;
}

.sidebar-section h3 {
    color: #005bba;
    font-size: 1.4rem;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e0e0e0;
}

.btn-apply {
    display: block;
    width: 100%;
    background: #0058b6;
    color: white;
    text-align: center;
    padding: 15px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    margin-top: 20px;
    transition: background 0.3s;
}

.btn-apply:hover {
    background: #bdddff;
}

.back-link {
    display: inline-block;
    margin-top: 30px;
    color: #005bba;
    text-decoration: none;
    font-weight: 500;
}

.back-link:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .vacancy-body {
        grid-template-columns: 1fr;
    }
}

.vacancy-topname{
    display: flex;
    align-items: center;
    flex-direction: column;
}