/************************ responsive fixes ************************/

.breadcrumbs {
    flex-wrap: wrap;
    align-items: center;
    gap: 4px 8px;
    line-height: 1.55;
}

.breadcrumbs a,
.breadcrumbs span {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
    min-width: 0;
}

.single_head .breadcrumbs > span:last-child {
    flex: 1 1 100%;
    max-width: 100%;
    overflow-wrap: anywhere;
    word-break: normal;
}

@media (min-width: 1024px) {
    header {
        will-change: transform, opacity;
    }

    header.compact,
    header.hide {
        transform: translateY(calc(-100% - 24px)) !important;
        opacity: 0;
        pointer-events: none;
    }

    header.compact .header_top,
    header.compact .header_nav,
    header.hide .header_top,
    header.hide .header_nav {
        transform: none !important;
    }
}

@media (max-width: 1023px) {
    .sub_main {
        --sub-gap: 32px;
    }

    .breadcrumbs {
        margin-bottom: 24px;
        font-size: 0.78rem;
        line-height: 1.6;
    }

    .single_layout {
        grid-template-columns: 1fr;
    }

    .single_sidebar {
        position: static;
        margin-top: 48px;
    }
}

@media (max-width: 768px) {
    .sub_main {
        --sub-gap: 24px;
        padding-top: 36px;
    }

    .breadcrumbs {
        margin-bottom: 28px;
        font-size: 0.76rem;
        line-height: 1.65;
    }

    .single_head .breadcrumbs > span:last-child {
        margin-top: 2px;
    }
}
