/*
Theme Name: GeneratePress Vacancies
Template: generatepress
Version: 1.0
*/

/* ── Ширина контейнера — перебиваем GP inline CSS ── */
.grid-container,
.wp-block-group__inner-container {
    max-width: 1280px !important;
}

/* ── Фон страницы ── */
body {
    background-color: #f0f2f5 !important;
    font-size: 16px;
    line-height: 1.65;
    color: #1f2733;
}

/* ── Ссылки — бренд-цвет ── */
a {
    color: #12A86B !important;
}

a:hover {
    color: #0e8b57 !important;
}

/* ── Заголовки — жирнее (GP по умолчанию 300) ── */
h1 {
    font-weight: 700 !important;
    font-size: 36px !important;
}

h2 {
    font-weight: 600 !important;
    font-size: 26px !important;
}

/* ── Глобальный шрифт и размер ── */

/* ── Контентная область — убираем лишние отступы GP ── */
.site-content .content-area {
    padding: 40px 0;
}

.entry-content {
    font-size: 16px;
}

/* ── Навигация — чуть крупнее ── */
.main-navigation a {
    font-size: 15px;
    font-weight: 600;
    letter-spacing: .01em;
    padding: 0 18px;
}

.main-navigation li {
    line-height: 54px;
}

/* ── Навигация hover/active — DeepSeek: зелёный текст без фона ── */
.main-navigation .main-nav ul li a:hover {
    background-color: transparent !important;
    color: #12A86B !important;
    border-bottom: 2px solid #12A86B;
    text-decoration: none;
}

.main-navigation .main-nav ul li.current-menu-item > a,
.main-navigation .main-nav ul li.current_page_item > a {
    background-color: transparent !important;
    color: #12A86B !important;
    font-weight: 700;
}

/* ── Кнопки — бренд-цвет ── */
button,
input[type="submit"] {
    background-color: #12A86B !important;
    color: #fff !important;
}

/* ── Логотип / название сайта ── */
.site-title a {
    font-size: 22px !important;
    font-weight: 700;
    color: #1f2733 !important;
    letter-spacing: -.01em;
}

/* ── Header компактнее ── */
.site-header {
    padding: 12px 0;
    border-bottom: 2px solid #e6e9ee;
    background: #fff;
    box-shadow: 0 1px 6px rgba(0,0,0,.06);
}

/* ── Footer ── */
.site-footer {
    padding: 24px 0;
    font-size: 14px;
}

/* ── Убираем дефолтный GP padding у страниц ── */
.page .entry-header,
.page .entry-content {
    padding: 0;
}

.page .entry-title {
    display: none;
}

/* ── Плавный скролл ── */
html {
    scroll-behavior: smooth;
}

/* ══════════════════════════════════════════════════
   COMPANIES PAGE — убираем GP-обёртку, полная ширина
   ══════════════════════════════════════════════════ */

/* Прячем GP правый сайдбар — он пустой на companies */
body.page-id-7 .widget-area {
    display: none !important;
}

/* Расширяем content-area на 100% (GP делает 70% при right-sidebar) */
body.page-id-7 .site-content .content-area {
    width: 100% !important;
}

/* Убираем белый фон и padding у .inside-article */
body.page-id-7 .inside-article,
body.page-id-7.separate-containers .inside-article {
    background-color: transparent !important;
    padding: 0 !important;
    box-shadow: none !important;
    border: none !important;
    margin: 0 !important;
}

/* Вертикальный отступ для самого layout */
body.page-id-7 .companies-layout {
    padding: 28px 0 40px;
}
