/* Только dropdown проектов: общие menu-down, hover и mobile drawer сохраняют своих владельцев. */
.g-header .menu-down .sub_menu.header-projects {
    padding: 24px 20px 28px;
}

.g-header .menu-down .sub_menu.header-projects ul {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
    gap: 30px;
    height: auto;
    margin: 0;
    padding: 0;
}

.g-header .menu-down .sub_menu.header-projects .menu-item {
    min-width: 0;
    max-width: none;
    width: auto;
    height: auto;
}

.g-header .menu-down .sub_menu.header-projects .menu-item > a {
    min-width: 0;
    justify-content: flex-start;
    gap: 12px;
}

.g-header .menu-down .sub_menu.header-projects .header-projects__heading {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    min-height: 24px;
    white-space: normal;
}

.g-header .menu-down .sub_menu.header-projects .head {
    flex: 1 1 auto;
    min-width: 0;
    max-width: none;
    font-size: 18px;
    line-height: 24px;
    white-space: normal;
    overflow-wrap: anywhere;
}

.g-header .menu-down .sub_menu.header-projects .subHead {
    flex: 0 0 auto;
    padding: 0;
    line-height: 24px;
    white-space: nowrap;
}

.g-header .menu-down .sub_menu.header-projects .img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 10;
    flex-shrink: 0;
    border-radius: 10px;
    background-position: center;
}

.g-header .menu-down .sub_menu.header-projects .header-projects__all {
    display: flex;
    justify-content: center;
    margin-top: 24px;
}
