/**
 * Hegau24 — Jobs Sidebar
 */

.hegau24-jobs-sidebar {
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

.hegau24-jobs-sidebar__block {
    width: 100%;
    margin: 0 0 24px;
    box-sizing: border-box;
}

.hegau24-jobs-sidebar__placeholder {
    width: 100%;
    min-height: 80px;
    padding: 20px;
    box-sizing: border-box;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px dashed #cbd7e4;
    border-radius: 16px;

    background: #ffffff;
    color: #718096;

    text-align: center;
    font-size: 14px;
}

/* CTA: Разместить вакансию */
.hegau24-jobs-sidebar__submit-link {
    width: 100%;
    min-height: 80px;
    padding: 20px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #cbd7e4;
    border-radius: 16px;
    background: #ffffff;
    color: #246fe5;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    text-decoration: none;
    transition: border-color .2s ease, background-color .2s ease, color .2s ease, box-shadow .2s ease;
}

.hegau24-jobs-sidebar__submit-link:hover {
    border-color: #246fe5;
    background: #f5f9ff;
    color: #1d5fca;
    box-shadow: 0 6px 18px rgba(36, 111, 229, .08);
}


/* ==========================================================
   CTA — Добавить вакансию
   ========================================================== */

.hegau24-jobs-sidebar__submit-card {
    width: 100%;
    padding: 22px;
    box-sizing: border-box;
    border: 1px solid #d9e3ee;
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 8px 24px rgba(30, 60, 90, .04);
}

.hegau24-jobs-sidebar__submit-title {
    margin: 0 0 9px;
    color: #1d3045;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.25;
}

.hegau24-jobs-sidebar__submit-text {
    margin: 0 0 18px;
    color: #718096;
    font-size: 13px;
    line-height: 1.55;
}

.hegau24-jobs-sidebar__submit-link {
    width: 100%;
    min-height: 46px;
    padding: 11px 13px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 0;
    border-radius: 9px;
    background: #1268d0;
    color: #ffffff;
    text-decoration: none;
    font-size: 13px;
    font-weight: 800;
    line-height: 1;
    box-shadow: 0 7px 17px rgba(18, 104, 208, .22);
    transition:
        transform .2s ease,
        box-shadow .2s ease,
        background-color .2s ease;
}

.hegau24-jobs-sidebar__submit-link:hover {
    transform: translateY(-2px);
    background: #1268d0;
    color: #ffffff;
    box-shadow: 0 10px 22px rgba(18, 104, 208, .28);
}

.hegau24-jobs-sidebar__submit-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 19px;
    font-weight: 400;
    line-height: 1;
}

.hegau24-jobs-sidebar__submit-arrow {
    display: inline-flex;
    align-items: center;
    font-size: 18px;
    font-weight: 400;
    line-height: 1;
    transition: transform .2s ease;
}

.hegau24-jobs-sidebar__submit-link:hover .hegau24-jobs-sidebar__submit-arrow {
    transform: translateX(4px);
}

@media (max-width: 900px) {
    .hegau24-jobs-sidebar__submit-card {
        padding: 20px;
    }
}


/* Реальный рекламный баннер 300 × 600 */
.hegau24-ads-jobs-sidebar__link {
    display: block;
    width: 100%;
    line-height: 0;
    text-decoration: none;
}

.hegau24-ads-jobs-sidebar__image {
    display: block;
    width: 100%;
    height: auto;
    border: 0;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(30, 60, 90, .04);
}


/* Popular Cities */
.hegau24-jobs-sidebar__popular-cities {
    width: 100%;
    padding: 22px;
    box-sizing: border-box;
    border: 1px solid #d9e3ee;
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 8px 24px rgba(30, 60, 90, 0.04);
}

.hegau24-jobs-sidebar__popular-cities-title {
    margin: 0 0 12px;
    color: #1d3045;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.25;
}

.hegau24-jobs-sidebar__popular-cities-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.hegau24-jobs-sidebar__popular-cities-item {
    margin: 0;
    padding: 0;
    border-bottom: 1px solid #edf1f5;
}

.hegau24-jobs-sidebar__popular-cities-item:last-child {
    border-bottom: 0;
}

.hegau24-jobs-sidebar__popular-cities-link {
    min-height: 44px;
    padding: 9px 0;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    color: #34495e;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.3;
    transition: color 0.2s ease, transform 0.2s ease;
}

.hegau24-jobs-sidebar__popular-cities-link:hover {
    color: #1268d0;
    transform: translateX(3px);
}

.hegau24-jobs-sidebar__popular-cities-name {
    min-width: 0;
}

.hegau24-jobs-sidebar__popular-cities-count {
    min-width: 30px;
    height: 26px;
    padding: 0 8px;
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 7px;
    background: #f1f6fc;
    color: #1268d0;
    font-size: 12px;
    font-weight: 800;
    line-height: 1;
    flex: 0 0 auto;
}

.hegau24-jobs-sidebar__popular-cities-all {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid #edf1f5;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    color: #1268d0;
    text-decoration: none;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.3;
    transition: color 0.2s ease;
}

.hegau24-jobs-sidebar__popular-cities-all:hover {
    color: #0d55ae;
}

.hegau24-jobs-sidebar__popular-cities-all span:last-child {
    font-size: 17px;
    font-weight: 400;
    line-height: 1;
    transition: transform 0.2s ease;
}

.hegau24-jobs-sidebar__popular-cities-all:hover span:last-child {
    transform: translateX(4px);
}


/* ---------------------------------------------------------
 * Job Types
 * --------------------------------------------------------- */

.hegau24-jobs-sidebar__job-types {
    width: 100%;
    padding: 22px;
    box-sizing: border-box;
    border: 1px solid #d9e3ee;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(30, 60, 90, .04);
}

.hegau24-jobs-sidebar__job-types-title {
    margin: 0 0 12px;
    color: #1d3045;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.25;
}

.hegau24-jobs-sidebar__job-types-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.hegau24-jobs-sidebar__job-types-item {
    margin: 0;
    padding: 0;
    border-bottom: 1px solid #edf1f5;
}

.hegau24-jobs-sidebar__job-types-item:last-child {
    border-bottom: 0;
}

.hegau24-jobs-sidebar__job-types-link {
    min-height: 44px;
    padding: 9px 0;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    color: #34495e;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.3;
    transition: color .2s ease, transform .2s ease;
}

.hegau24-jobs-sidebar__job-types-link:hover {
    color: #1268d0;
    transform: translateX(3px);
}

.hegau24-jobs-sidebar__job-types-name {
    min-width: 0;
}

.hegau24-jobs-sidebar__job-types-count {
    min-width: 30px;
    height: 26px;
    padding: 0 8px;
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 7px;
    background: #f1f6fc;
    color: #1268d0;
    font-size: 12px;
    font-weight: 800;
    line-height: 1;
    flex: 0 0 auto;
}

.hegau24-jobs-sidebar__job-types-all {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid #edf1f5;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    color: #1268d0;
    text-decoration: none;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.3;
    transition: color .2s ease;
}

.hegau24-jobs-sidebar__job-types-all:hover {
    color: #0d55ae;
}

.hegau24-jobs-sidebar__job-types-all span:last-child {
    font-size: 17px;
    font-weight: 400;
    line-height: 1;
    transition: transform .2s ease;
}

.hegau24-jobs-sidebar__job-types-all:hover span:last-child {
    transform: translateX(4px);
}
