.nb-text-info-4 .nb-info-wrapper {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.nb-text-info-4 .nb-title-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nb-text-info-4 .nb-items-wrapper {
    display: flex;
    flex-wrap: wrap;
}

.nb-text-info-4 .nb-title-wrapper .nb-heading-with-subheading {
    margin-bottom: 0;
}

.nb-text-info-4 .nb-title-wrapper .nb-controls-wrapper {
    display: none;
}

.nb-text-info-4 .nb-title-wrapper .nb-controls-wrapper .nb-icon-collapse {
    position: relative;
}

.nb-text-info-4 .nb-items-wrapper .nb-item {
    width: 50%;
    margin-bottom: 25px;
}

.nb-text-info-4 .nb-items-wrapper .nb-item:last-child {
    margin-bottom: 0;
}

.nb-text-info-4 .nb-items-wrapper .nb-item .nb-item-title {
    color: var(--nb-text-color-primary);
    font-size: 12px;
    font-weight: var(--nb-font-semibold);
    margin-bottom: 5px;
}

.nb-text-info-4 .nb-items-wrapper .nb-item .nb-item-description {
    color: var(--nb-text-color-primary);
    font-size: 12px;
    font-weight: var(--nb-font-weight-400);
}

.nb-text-info-4 .nb-items-wrapper .nb-item .nb-item-description a:hover {
    text-decoration: none;
}

.nb-text-info-4 .nb-icon {
    color: var(--nb-text-color-primary);
}

.nb-text-info-4 {
    .nb-content-wrapper:has(> .nb-img) {
        display: grid;
        grid-template-columns: auto max-content;
        grid-template-rows: auto auto;
        column-gap: 12px;
        row-gap: 2px;
        justify-content: start;
        align-items: start;
    }

    .nb-content-wrapper:has(> .nb-img) > .nb-img {
        grid-column: 1;
        grid-row: 1 / span 2;
        align-self: center;
        display: block;
        flex: none;
    }

    .nb-content-wrapper:has(> .nb-img) > .nb-item-title    { grid-column: 2; grid-row: 1; }
    .nb-content-wrapper:has(> .nb-img) > .nb-item-description { grid-column: 2; grid-row: 2; }

}

@media screen and (max-width: 767px) {
    .nb-text-info-4 .nb-title-wrapper .nb-controls-wrapper {
        display: block;
    }

    .nb-text-info-4 .nb-title-wrapper .nb-controls-wrapper .nb-icon-collapse {
        display: none;
    }

    .nb-text-info-4 .nb-title-wrapper .nb-controls-wrapper .nb-icon-collapse.active {
        display: block;
    }

    .nb-text-info-4 .nb-title-wrapper .nb-controls-wrapper .nb-icon-collapsed {
        display: none;
    }

    .nb-text-info-4 .nb-title-wrapper .nb-controls-wrapper .nb-icon-collapsed.active {
        display: block;
    }

    .nb-text-info-4 .nb-items-wrapper {
        display: flex;
        flex-direction: column;
        flex-wrap: nowrap;

        .nb-item > .nb-img{display: none}
    }
    .nb-text-info-4 .nb-content-wrapper:has(> .nb-img){column-gap: 0}

    .nb-text-info-4 .nb-items-wrapper {
        max-height: 0;
        overflow: hidden;
        transition: all 0.5s ease-out, border 0s;
    }

    .nb-text-info-4 .nb-items-wrapper.active {
        max-height: 500px;
    }

    .nbtmp-voucher-purchase-form-page-tmp-1 .layout:has(> .nb-text-info-4) {
        padding-left: calc(var(--bs-gutter-x) * .5);
        border-left: unset;
    }

    .nbtmp-voucher-purchase-form-page-tmp-1 .nb-text-info-4 {
        border: var(--nb-border-width) var(--nb-border-style) var(--nb-border-color);
    }

    .nbtmp-voucher-purchase-form-page-tmp-1 .nb-text-info-4 .nb-info-wrapper {
        gap: 0;
    }

    .nbtmp-voucher-purchase-form-page-tmp-1 .nb-text-info-4 .nb-title-wrapper {
        padding: 12px 10px;
        position: relative;
    }

    .nbtmp-voucher-purchase-form-page-tmp-1 .nb-text-info-4:has(.nb-items-wrapper.active) .nb-title-wrapper:before {
        content: '';
        position: absolute;
        bottom: 0;
        left: 10px;
        right: -10px;
        width: calc(100% - 10px);
        height: 1px;
        background-image: linear-gradient(to right, #DEE2E6 50%, rgba(255, 255, 255, 0) 50%);
        background-position: bottom;
        background-size: 24px 2px;
        background-repeat: repeat-x;
    }

    .nbtmp-voucher-purchase-form-page-tmp-1 .nb-text-info-4 .nb-title-wrapper .nb-title {
        font-size: 16px;
    }

    .nbtmp-voucher-purchase-form-page-tmp-1 .nb-text-info-4 .nb-title-wrapper .nb-sub-heading {
        display: none;
    }

    .nbtmp-voucher-purchase-form-page-tmp-1 .nb-text-info-4 .nb-icon-collapse,
    .nbtmp-voucher-purchase-form-page-tmp-1 .nb-text-info-4 .nb-icon-collapsed {
        color: var(--nb-text-color-primary);
        font-size: 11px;
        line-height: 1;
    }

    .nbtmp-voucher-purchase-form-page-tmp-1 .nb-text-info-4 .nb-icon-collapse:before {
        content: '\e942';
    }

    .nbtmp-voucher-purchase-form-page-tmp-1 .nb-text-info-4 .nb-icon-collapsed:before {
        content: '\e957';
    }

    .nbtmp-voucher-purchase-form-page-tmp-1 .nb-text-info-4 .nb-items-wrapper {
        padding: 0 10px;
    }

    .nbtmp-voucher-purchase-form-page-tmp-1 .nb-text-info-4 .nb-items-wrapper.active {
        padding: 10px;
    }

    .nb-text-info-4 .nb-info-wrapper{
        border: 1px solid var(--nb-border-color);
        gap: 0;
        padding: 12px 10px;

        .nb-title-wrapper .nb-title{font-size: 16px}
        .nb-title-wrapper .nb-sub-heading{display:none}
    }
    .nb-text-info-4 .nb-items-wrapper.active{
        padding-top: 10px;
        margin-top: 10px;
        border-top: 1px dashed var(--nb-border-color);
    }
}
