/* ===== Base ===== */
.hero-section {
    position: relative;
    color: #fff;
    padding: 0;
}

/* Breadcrumbs styles for hero section */
.hero-breadcrumbs {
    
    padding-bottom: 20px;
}

/* Adjust container padding when breadcrumbs are present */
.hero-container .hero-breadcrumbs ~ .hero-main-heading {
    padding-top: 0;
}

.hero-breadcrumbs .breadcrumb-nav {
    padding-bottom: 0;
}

.hero-breadcrumbs .breadcrumb {
    background: transparent;
    padding: 0;
    margin: 0;
    --bs-breadcrumb-item-padding-x: 0.4rem;
    --bs-breadcrumb-divider-color: rgba(255, 255, 255, 0.3);
}

.hero-breadcrumbs .breadcrumb-item {
    font-size: 15px;
    line-height: 22.5px;
}

.hero-breadcrumbs .breadcrumb-item a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    transition: color 0.2s ease;
}

.hero-breadcrumbs .breadcrumb-item a:hover {
    color: rgba(255, 255, 255, 0.8);
}

.hero-breadcrumbs .breadcrumb-item.active {
    color: rgba(255, 255, 255, 1);
}

.hero-bg-container {
    background-color: #111827; /* fallback-цвет */
    overflow: hidden;
        min-height: 100vh;
            padding: 0;
}


/* фоновое изображение */
.hero-bg-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

/* общий контейнер контента */
.hero-container {
    position: relative;
    z-index: 1;
    padding-top: 120px;
    padding-bottom: 40px;
    height: 100vh;
        display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.hero-bottom {
    position: static;
    padding-top: 24px;
    padding-bottom: 24px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.hero-bottom .container-fluid {
    height: 100%;
}
.hero-bottom-row {
    height: 100%;
    display: flex;
    flex-wrap: wrap;
    align-content: space-between;
}

/* заголовок */
.hero-main-heading {
    margin-bottom:0;
}

.hero-title {
    margin: 0;
    font-weight: 500;
    font-size: 32px;
    line-height: 1.2;
}

/* нижний блок */
.hero-bottom {
    position: static;
    padding-top: 24px;
    padding-bottom: 24px;
}

.hero-bottom-row {
    min-height: 96px;
}

/* иконка-стрелка */
.hero-icon-button {
    width: 48px;
    height: 48px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    padding: 0;
    border: none;
}

/* тексты */
.hero-year-text {
    font-size: 15px;
    line-height: 1.5;
}

.hero-description {
    font-size: 16px;
    line-height: 1.5;
}

    .hero-icon{
        display: none;
    }
   .hero-year.col-sm {
   
    flex: 0 0 auto;
}
   .hero-year {
    order: 1;

}

header.navbar {
    top: 0;
    position: absolute;
    z-index: 11;
    width: 100%;
}

/* Mobile breadcrumbs adjustments */
@media (max-width: 767.98px) {
    .hero-breadcrumbs {
      
        padding-bottom: 15px;
    }
}

@media (min-width: 576px) {
 
}
      

/* ===== Tablets & up ===== */
@media (min-width: 768px) {
      .hero-year.col-sm {
        flex: 1 0 0%;
    }
   
      .hero-year{
        order: unset;
    }
    
    .hero-breadcrumbs {
       
    }
    
    .hero-container {
        padding-top: 80px;
        padding-bottom: 80px;
        min-height: 640px; /* чтобы блок выглядел «героем» */
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }

    .hero-main-heading {
        padding-top: 80px;
    }

    .hero-title {
        font-size: 48px;
        line-height: 1.2;
        max-width: 636px;
    }

    .hero-description {
        font-size: 18px;
        line-height: 1.4;
    }

    .hero-bottom {
        padding-bottom: 38px;
    }
    .hero-bottom-row {

    align-content: flex-end;
}

}

/* ===== Desktops ===== */
@media (min-width: 1024px) {


       .hero-icon{
        display: block;
    }
    
    .hero-breadcrumbs {
        
    }
    
    .hero-container {
        min-height: 800px;
        height: unset;
    }
    
    .hero-bg-container{
        height: unset;
        min-height: unset;
    }

    .hero-main-heading {
        padding-top: 120px;
    }

    .hero-title {
        font-size: 56px;
        line-height: 1.2;
    }

    .hero-description {
        font-size: 20px;
        line-height: 1.2;
    }

    .hero-bottom {
        position: absolute;
        left: 0;
        right: 0;
        bottom: 0;
    }
}