/* ============================================
   BLOG STYLES - 2026 Modern Design
   ============================================ */

/* Блог страница */
.blog-page {
    background: var(--bg-primary);
}

/* Header для блога всегда со скроллом */
.blog-page .header {
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow-sm);
    padding: 10px 0;
}

.blog-page .logo__title {
    color: var(--text-primary);
}

.blog-page .nav__link {
    color: var(--text-secondary);
}

.blog-page .nav__link:hover,
.blog-page .nav__link--active {
    color: var(--text-primary);
    background: var(--bg-primary);
}

.blog-page .mobile-toggle span {
    background: var(--text-primary);
}

/* ============================================
   Blog Hero
   ============================================ */
.blog-hero {
    position: relative;
    padding: 140px 0 80px;
    background: var(--gradient-primary);
    overflow: hidden;
}

.blog-hero__bg {
    position: absolute;
    inset: 0;
}

.blog-hero__pattern {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 50px 50px;
}

.blog-hero__glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.08;
}

.blog-hero__glow--1 {
    width: 500px;
    height: 500px;
    background: var(--accent);
    top: -200px;
    right: -100px;
}

.blog-hero__glow--2 {
    width: 400px;
    height: 400px;
    background: #00bcd4;
    bottom: -150px;
    left: -100px;
}

.blog-hero__content {
    position: relative;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    z-index: 1;
}

.blog-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 50px;
    color: white;
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 24px;
    backdrop-filter: blur(10px);
}

.blog-hero__title {
    font-size: 56px;
    font-weight: 900;
    color: white;
    margin-bottom: 16px;
    letter-spacing: -1px;
}

.blog-hero__subtitle {
    font-size: 18px;
    color: rgba(255,255,255,0.7);
    line-height: 1.7;
    margin-bottom: 48px;
}

/* ============================================
   Blog Categories
   ============================================ */
.blog-categories {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.blog-category {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 24px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 50px;
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    transition: all var(--transition-base);
    backdrop-filter: blur(10px);
}

.blog-category:hover {
    background: rgba(255,255,255,0.15);
    color: white;
    transform: translateY(-2px);
}

.blog-category--active {
    background: rgba(255,255,255,0.2);
    border-color: rgba(255,255,255,0.3);
    color: white;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

.blog-category__icon {
    font-size: 18px;
    opacity: 0.9;
}

.blog-category--active .blog-category__icon {
    color: var(--cat-color, white);
}

/* ============================================
   Posts Grid
   ============================================ */
.blog-posts {
    padding: 80px 0;
}

.posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

/* ============================================
   Post Card
   ============================================ */
.post-card {
    background: white;
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.06);
    transition: all var(--transition-base);
    position: relative;
}

.post-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.12);
}

.post-card__link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.post-card__image-wrapper {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/10;
    background: var(--bg-primary);
}

.post-card__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.post-card:hover .post-card__image {
    transform: scale(1.05);
}

.post-card__image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f0f4f8, #e2e8f0);
    font-size: 48px;
    color: var(--text-tertiary);
}

.post-card__category {
    position: absolute;
    top: 16px;
    left: 16px;
    padding: 6px 14px;
    background: rgba(0,0,0,0.75);
    backdrop-filter: blur(10px);
    color: white;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
    letter-spacing: 0.5px;
}

.post-card__category i {
    color: var(--cat-color, white);
}

.post-card__featured-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    padding: 6px 14px;
    background: var(--gradient-accent);
    color: white;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 4px 15px rgba(33,150,243,0.4);
}

.post-card__content {
    padding: 24px;
}

.post-card__meta {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 12px;
    font-size: 13px;
    color: var(--text-tertiary);
}

.post-card__date,
.post-card__read-time {
    display: flex;
    align-items: center;
    gap: 6px;
}

.post-card__title {
    font-size: 20px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 12px;
    color: var(--text-primary);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.post-card__excerpt {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.post-card__read-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 14px;
    color: var(--accent);
    transition: gap var(--transition-fast);
}

.post-card:hover .post-card__read-more {
    gap: 12px;
}

/* ============================================
   Featured Post Card
   ============================================ */
.post-card--featured {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
}

.post-card--featured .post-card__image-wrapper {
    aspect-ratio: auto;
    height: 100%;
    min-height: 400px;
}

.post-card--featured .post-card__content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 48px;
}

.post-card--featured .post-card__title {
    font-size: 32px;
    -webkit-line-clamp: 3;
}

.post-card--featured .post-card__excerpt {
    -webkit-line-clamp: 4;
}

/* ============================================
   Blog Pagination
   ============================================ */
.blog-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 56px;
}

.blog-pagination__btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 50px;
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: all var(--transition-fast);
}

.blog-pagination__btn:hover {
    background: var(--bg-primary);
    border-color: var(--accent);
    color: var(--accent);
}

.blog-pagination__numbers {
    display: flex;
    gap: 8px;
}

.blog-pagination__num {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 50%;
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: all var(--transition-fast);
}

.blog-pagination__num:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.blog-pagination__num--active {
    background: var(--gradient-accent);
    border-color: var(--accent);
    color: white;
}

/* ============================================
   Empty State
   ============================================ */
.blog-empty {
    text-align: center;
    padding: 80px 20px;
}

.blog-empty__icon {
    font-size: 80px;
    color: var(--text-tertiary);
    margin-bottom: 24px;
    opacity: 0.5;
}

.blog-empty h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 8px;
}

.blog-empty p {
    color: var(--text-secondary);
    margin-bottom: 24px;
}

/* ============================================
   CTA Block
   ============================================ */
.blog-cta {
    padding: 80px 0;
    background: var(--bg-secondary);
}

.cta-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
    background: white;
    border-radius: var(--radius-xl);
    padding: 56px;
    border: 1px solid rgba(33,150,243,0.15);
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
    align-items: flex-start;
}

.cta-block::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-accent);
}

.cta-block__icon {
    width: 72px;
    height: 72px;
    background: var(--gradient-glow);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: var(--accent);
    margin-bottom: 24px;
}

.cta-block__title {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 12px;
}

.cta-block__text {
    font-size: 17px;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ============================================
   POST PAGE - Breadcrumbs
   ============================================ */
.breadcrumbs {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 32px;
    font-size: 14px;
}

.breadcrumbs__link {
    color: var(--text-tertiary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.breadcrumbs__link:hover {
    color: var(--accent);
}

.breadcrumbs i {
    font-size: 10px;
    color: var(--text-tertiary);
}

.breadcrumbs__current {
    color: var(--text-primary);
    font-weight: 600;
}

/* ============================================
   POST PAGE - Post Header
   ============================================ */
.post-header {
    padding: 140px 0 0;
    background: var(--bg-secondary);
}

.post-header__content {
    max-width: 1600px;
    padding-bottom: 48px;
    border-bottom: 1px solid #e2e8f0;
}

.post-header__category {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    background: var(--gradient-glow);
    border: 1px solid rgba(33,150,243,0.2);
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 20px;
}

.post-header__category i {
    color: var(--cat-color, var(--accent));
}

.post-header__title {
    font-size: 48px;
    font-weight: 900;
    line-height: 1.15;
    letter-spacing: -0.5px;
    margin-bottom: 24px;
    color: var(--text-primary);
}

.post-header__meta {
    display: flex;
    gap: 24px;
    font-size: 15px;
    color: var(--text-tertiary);
    flex-wrap: wrap;
}

.post-header__meta span {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* ============================================
   POST PAGE - Content Layout
   ============================================ */
.post-content-section {
    padding: 48px 0 80px;
    background: var(--bg-secondary);
}

.post-layout {
    display: grid;
    grid-template-columns: 1fr 600px;
    gap: 56px;
    max-width: 1600px;
}

/* ============================================
   POST PAGE - Article
   ============================================ */
.post-article {
    min-width: 0;
}

.post-article__hero {
    margin-bottom: 40px;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.post-article__hero-image {
    width: 100%;
    height: auto;
    display: block;
}

/* Типографская верстка контента */
.post-article__content {
    font-size: 18px;
    line-height: 1.8;
    color: var(--text-primary);
}

.post-article__content h1,
.post-article__content h2,
.post-article__content h3,
.post-article__content h4 {
    font-weight: 800;
    line-height: 1.3;
    margin: 40px 0 20px;
    color: var(--text-primary);
}

.post-article__content h1 { font-size: 36px; }
.post-article__content h2 { 
    font-size: 30px; 
    padding-bottom: 12px;
    border-bottom: 2px solid #e2e8f0;
}
.post-article__content h3 { font-size: 24px; }
.post-article__content h4 { font-size: 20px; }

.post-article__content p {
    margin-bottom: 20px;
}

.post-article__content a {
    color: var(--accent);
    text-decoration: underline;
    text-underline-offset: 4px;
}

.post-article__content strong {
    font-weight: 700;
    color: var(--text-primary);
}

.post-article__content ul,
.post-article__content ol {
    margin: 20px 0;
    padding-left: 24px;
}

.post-article__content li {
    margin-bottom: 8px;
    padding-left: 8px;
}

.post-article__content li::marker {
    color: var(--accent);
}

.post-article__content blockquote {
    margin: 32px 0;
    padding: 28px 32px;
    background: var(--bg-primary);
    border-left: 4px solid var(--accent);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    font-style: italic;
    color: var(--text-secondary);
    font-size: 20px;
}

.post-article__content blockquote p:last-child {
    margin-bottom: 0;
}

.post-article__content .table-wrapper {
    overflow-x: auto;
    margin: 32px 0;
    border-radius: var(--radius-md);
    border: 1px solid #e2e8f0;
}

.post-article__content table {
    width: 100%;
    border-collapse: collapse;
}

.post-article__content th {
    background: var(--gradient-primary);
    color: white;
    padding: 14px 16px;
    text-align: left;
    font-weight: 600;
    font-size: 15px;
}

.post-article__content td {
    padding: 12px 16px;
    border-bottom: 1px solid #e2e8f0;
    font-size: 15px;
}

.post-article__content tr:last-child td {
    border-bottom: none;
}

.post-article__content tr:nth-child(even) td {
    background: var(--bg-primary);
}

.post-article__content img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
    margin: 32px 0;
}

.post-article__content code {
    padding: 2px 8px;
    background: #f1f5f9;
    border-radius: 4px;
    font-size: 0.9em;
    color: #e91e63;
}

.post-article__content pre {
    margin: 32px 0;
    padding: 24px;
    background: #1a2332;
    color: #e2e8f0;
    border-radius: var(--radius-md);
    overflow-x: auto;
    font-size: 14px;
    line-height: 1.6;
}

/* ============================================
   POST PAGE - Share
   ============================================ */
.post-share {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 48px;
    padding: 24px;
    background: var(--bg-primary);
    border-radius: var(--radius-lg);
}

.post-share__label {
    font-weight: 600;
    font-size: 15px;
    color: var(--text-secondary);
}

.post-share__buttons {
    display: flex;
    gap: 8px;
}

.post-share__btn {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: white;
    text-decoration: none;
    font-size: 18px;
    transition: all var(--transition-fast);
    border: none;
    cursor: pointer;
}

.post-share__btn:hover {
    transform: translateY(-2px);
}

.post-share__btn--telegram { background: #0088cc; }
.post-share__btn--vk { background: #0077FF; }
.post-share__btn--whatsapp { background: #25D366; }
.post-share__btn--copy { 
    background: white; 
    color: var(--text-secondary);
    border: 1px solid #e2e8f0;
}

.post-share__btn--copy:hover {
    background: var(--bg-primary);
}

/* ============================================
   POST PAGE - Sidebar
   ============================================ */
.post-sidebar {
    position: sticky;
    top: 100px;
    align-self: start;
}

.sidebar-widget {
    background: white;
    border-radius: var(--radius-xl);
    padding: 32px;
    margin-bottom: 24px;
    border: 1px solid rgba(0,0,0,0.06);
}

.sidebar-widget__title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.sidebar-widget__title i {
    color: var(--accent);
}

/* Sidebar CTA */
.sidebar-widget--cta {
    background: var(--gradient-primary);
    border: none;
    color: white;
    position: relative;
    overflow: hidden;
}

.sidebar-widget--cta::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -30%;
    width: 200px;
    height: 200px;
    background: var(--accent);
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.3;
}

.sidebar-cta {
    position: relative;
    z-index: 1;
}

.sidebar-cta__icon {
    width: 56px;
    height: 56px;
    background: rgba(255,255,255,0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 20px;
}

.sidebar-cta__title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 8px;
}

.sidebar-cta__text {
    font-size: 14px;
    opacity: 0.8;
    margin-bottom: 20px;
    line-height: 1.5;
}

/* Similar Posts */
.similar-posts {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.similar-post {
    display: flex;
    gap: 12px;
    padding: 12px;
    border-radius: var(--radius-md);
    text-decoration: none;
    color: inherit;
    transition: all var(--transition-fast);
}

.similar-post:hover {
    background: var(--bg-primary);
}

.similar-post__image {
    width: 72px;
    height: 72px;
    border-radius: var(--radius-sm);
    object-fit: cover;
    flex-shrink: 0;
}

.similar-post__content {
    flex: 1;
    min-width: 0;
}

.similar-post__title {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 6px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    color: var(--text-primary);
}

.similar-post__date {
    font-size: 12px;
    color: var(--text-tertiary);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1200px) {
    .posts-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .post-layout {
        grid-template-columns: 1fr 300px;
        gap: 40px;
    }
}

@media (max-width: 1024px) {
    .blog-hero__title {
        font-size: 42px;
    }
    
    .post-card--featured {
        grid-template-columns: 1fr;
    }
    
    .post-card--featured .post-card__image-wrapper {
        min-height: 300px;
    }
    
    .post-card--featured .post-card__title {
        font-size: 24px;
    }
    
    .post-layout {
        grid-template-columns: 1fr;
    }
    
    .post-sidebar {
        position: static;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
    
    .sidebar-widget {
        margin-bottom: 0;
    }
    
    .cta-block {
        grid-template-columns: 1fr;
        padding: 40px;
    }
}

@media (max-width: 768px) {
    .blog-hero {
        padding: 120px 0 60px;
    }
    
    .blog-hero__title {
        font-size: 34px;
    }
    
    .blog-hero__subtitle {
        font-size: 16px;
    }
    
    .posts-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .post-card--featured .post-card__content {
        padding: 24px;
    }
    
    .post-header__title {
        font-size: 32px;
    }
    
    .post-article__content {
        font-size: 16px;
    }
    
    .post-article__content h2 {
        font-size: 24px;
    }
    
    .post-sidebar {
        grid-template-columns: 1fr;
    }
    
    .blog-pagination {
        flex-direction: column;
    }
    
    .blog-pagination__numbers {
        order: -1;
    }
    
    .cta-block {
        padding: 32px 24px;
    }
    
    .cta-block__title {
        font-size: 26px;
    }
}

@media (max-width: 480px) {
    .blog-hero__title {
        font-size: 28px;
    }
    
    .blog-category {
        padding: 10px 18px;
        font-size: 13px;
    }
    
    .post-header__title {
        font-size: 26px;
    }
    
    .post-header__meta {
        gap: 12px;
        font-size: 13px;
    }
    
    .post-share {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* ============================================
   ДОПОЛНИТЕЛЬНЫЕ СТИЛИ ДЛЯ ВАКАНСИЙ И НОВЫХ ПОЛЕЙ
   ============================================ */

/* Бейдж вакансии на карточке */
.post-card__vacancy-badge {
    position: absolute;
    bottom: 16px;
    left: 16px;
    padding: 6px 14px;
    background: linear-gradient(135deg, #FF9800, #F57C00);
    color: white;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 15px rgba(255,152,0,0.4);
    z-index: 2;
}

.post-card__vacancy-salary {
    padding-left: 8px;
    border-left: 1px solid rgba(255,255,255,0.4);
    font-weight: 800;
}

/* Локация в карточке */
.post-card__location {
    color: #64748b;
}

/* Заголовок поста - зарплата */
.post-header__top {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.post-header__salary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    background: linear-gradient(135deg, #fff3e0, #ffe0b2);
    border: 1px solid #ffcc80;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 800;
    color: #e65100;
}

/* Блок вакансии в статье */
.post-vacancy-block {
    margin: 48px 0;
    background: white;
    border: 2px solid #FF9800;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 8px 40px rgba(255,152,0,0.1);
}

.post-vacancy-block__header {
    padding: 24px 32px;
    background: linear-gradient(135deg, #fff3e0, #ffe0b2);
    display: flex;
    align-items: center;
    gap: 14px;
    border-bottom: 1px solid #ffcc80;
}

.post-vacancy-block__header i {
    font-size: 28px;
    color: #FF9800;
}

.post-vacancy-block__header h2 {
    font-size: 22px;
    font-weight: 800;
    color: #1a2332;
    margin: 0;
    padding: 0;
    border: none;
}

.post-vacancy-block__body {
    padding: 32px;
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.post-vacancy-block__cta {
    padding: 24px 32px;
    background: #fafafa;
    border-top: 1px solid #e2e8f0;
    text-align: center;
}

/* Секция вакансии */
.vacancy-section {
    padding: 0;
}

.vacancy-section__title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #1a2332;
}

.vacancy-section__title i {
    color: #FF9800;
    font-size: 18px;
}

.vacancy-section__content {
    color: #4a5568;
    line-height: 1.8;
    font-size: 16px;
}

.vacancy-section__content ul,
.vacancy-section__content ol {
    padding-left: 24px;
    margin: 12px 0;
}

.vacancy-section__content li {
    margin-bottom: 8px;
    padding-left: 4px;
}

.vacancy-section__content li::marker {
    color: #FF9800;
}

.vacancy-section__content p {
    margin-bottom: 12px;
}

/* Адаптив */
@media (max-width: 768px) {
    .post-vacancy-block__header {
        padding: 20px 24px;
    }
    
    .post-vacancy-block__header h2 {
        font-size: 18px;
    }
    
    .post-vacancy-block__body {
        padding: 24px;
        gap: 20px;
    }
    
    .post-vacancy-block__cta {
        padding: 20px 24px;
    }
    
    .vacancy-section__title {
        font-size: 18px;
    }
    
    .post-header__salary {
        font-size: 14px;
        padding: 6px 14px;
    }
}

@media (max-width: 480px) {
    .post-vacancy-block__header {
        padding: 16px 20px;
    }
    
    .post-vacancy-block__body {
        padding: 20px;
    }
    
    .post-vacancy-block__cta {
        padding: 16px 20px;
    }
}

/* ============================================
   Новая сетка: 2 главные + 3 в ряд
   ============================================ */

/* Сетка для главных записей (2 штуки) */
.posts-grid--featured {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
    margin-bottom: 48px;
}

/* Сетка для обычных записей (по 3 в ряд) */
.posts-grid--regular {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

/* Исправленный стиль для featured карточек */
.post-card--featured .post-card__content {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: 28px;
}

.post-card--featured .post-card__title {
    font-size: 24px;
    line-height: 1.3;
    margin-bottom: 12px;
}

.post-card--featured .post-card__excerpt {
    margin-bottom: 20px;
}

/* Убираем старый стиль, который ломал отображение */
.post-card--featured {
    grid-column: auto;
    display: block;
}

.post-card--featured .post-card__image-wrapper {
    aspect-ratio: 16/10;
    min-height: auto;
    height: auto;
}

/* Responsive */
@media (max-width: 1024px) {
    .posts-grid--regular {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .posts-grid--featured {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .posts-grid--regular {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}