/* Героическая секция */
.hero-section {
    position: relative;
    overflow: hidden;
    background-color: #000;
    min-height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 0;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(0, 0, 0, 0.8) 0%,
        rgba(0, 0, 0, 0.6) 50%,
        rgba(0, 0, 0, 0.8) 100%
    );
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    width: 100%;
    padding: 2rem 0;
}

.hero-text {
    max-width: 600px;
    text-align: center;
    margin: 0 auto;
}

.hero-badge {
    margin-bottom: 1rem;
}

.category-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(26, 32, 44, 0.9);
    color: #fff;
    font-size: 0.875rem;
    font-weight: 500;
    border-radius: 2rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: #fff;
    margin: 1rem 0;
    line-height: 1.1;
    white-space: nowrap;
    hyphens: none;
}

.hero-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.hero-title a:hover {
    color: #f7fafc;
}

.hero-description {
    font-size: 1rem;
    color: #e2e8f0;
    margin: 1rem 0;
    line-height: 1.6;
}

.hero-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin: 1.5rem 0;
    font-size: 0.875rem;
    color: #cbd5e0;
}

.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.5rem;
}

.hero-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.hero-btn-primary {
    background: #1a202c;
    color: #fff;
    border-color: #1a202c;
}

.hero-btn-primary:hover {
    background: #2d3748;
    border-color: #2d3748;
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(26, 32, 44, 0.3);
}

.hero-btn-secondary {
    background: transparent;
    color: #fff;
    border-color: rgba(255, 255, 255, 0.3);
}

.hero-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}

/* Адаптивность */
@media (max-width: 768px) {
    .hero-section {
        min-height: 40vh;
    }
    
    .single .hero-section {
        min-height: 30vh;
    }

    .hero-content {
        padding: 1.5rem 0;
    }
    
    .single .hero-content {
        padding: 1rem 0;
    }

    .hero-title {
        font-size: 2.5rem;
        white-space: normal;
    }

    .hero-description {
        font-size: 0.875rem;
    }

    .hero-meta {
        flex-direction: column;
        gap: 1rem;
        margin: 1rem 0;
    }

    .hero-actions {
        flex-direction: column;
        gap: 0.75rem;
        margin-top: 1rem;
    }

    .hero-btn {
        width: 100%;
        max-width: 250px;
    }
}

@media (max-width: 480px) {
    .hero-section {
        min-height: 35vh;
    }
    
    .single .hero-section {
        min-height: 25vh;
    }
    
    .single .hero-content {
        padding: 0.75rem 0;
    }

    .hero-title {
        font-size: 2rem;
        white-space: normal;
    }

    .hero-description {
        font-size: 0.8rem;
    }

    .hero-btn {
        padding: 0.625rem 1.5rem;
        font-size: 0.875rem;
    }
}

/* Анимации */
@keyframes heroFadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-text {
    animation: heroFadeIn 1s ease-out;
}

/* Утилитарные классы */
.relative {
    position: relative;
}

.overflow-hidden {
    overflow: hidden;
}

.bg-black {
    background-color: #000;
}

/* Убираем отступы между хедером и hero-секцией */
.site-main {
    margin-top: 0;
    padding-top: 0;
}

/* Хлебные крошки в героической секции */
.hero-breadcrumbs {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    font-size: 0.875rem;
    color: #cbd5e0;
}

.hero-breadcrumbs a {
    color: #e2e8f0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.hero-breadcrumbs a:hover {
    color: #fff;
}

.hero-breadcrumbs .separator {
    color: #a0aec0;
    margin: 0 0.25rem;
}

.hero-breadcrumbs .current {
    color: #cbd5e0;
    font-weight: 500;
    max-width: 200px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Героическая секция для страниц статей */
.single .hero-section {
    min-height: 35vh;
}

.single .hero-content {
    padding: 1.5rem 0;
}

/* Заголовок для страниц статей */
.single-hero-title {
    font-size: 2rem;
    white-space: normal;
    max-width: 900px;
    margin: 1rem auto;
    text-align: center;
    line-height: 1.2;
    word-break: break-word;
    hyphens: none;
}

/* Адаптивность для хлебных крошек */
@media (max-width: 768px) {
    .hero-breadcrumbs {
        font-size: 0.75rem;
        flex-wrap: wrap;
        margin-bottom: 0.75rem;
    }
    
    .hero-breadcrumbs .current {
        max-width: 150px;
    }
    
    .single-hero-title {
        font-size: 1.75rem;
        margin: 0.75rem auto;
        max-width: 90%;
    }
}

@media (max-width: 480px) {
    .hero-breadcrumbs {
        font-size: 0.7rem;
    }
    
    .hero-breadcrumbs .current {
        max-width: 120px;
    }
    
    .single-hero-title {
        font-size: 1.5rem;
        margin: 0.5rem auto;
        max-width: 95%;
        line-height: 1.3;
    }
}

@media (max-width: 360px) {
    .single-hero-title {
        font-size: 1.25rem;
        margin: 0.5rem auto;
        max-width: 98%;
        line-height: 1.4;
    }
} 