.together-section {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 60px 0;
    background: #193308;
    color: var(--text-secondary);
}

.together-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    pointer-events: none;
}

.together-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(20, 45, 15, .72);
    pointer-events: none;
}

.together-section::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background-image:
        radial-gradient(
            rgba(255, 255, 255, .12) 1px,
            transparent 1px
        );
    background-size: 15px 15px;
    opacity: .7;
    pointer-events: none;
}

.together-top {
    position: relative;
    z-index: 2;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: start;
    margin-bottom: 35px;
}

.together-heading h2 {
    color: var(--text-secondary);
}

.together-description {
    display: flex;
    justify-content: flex-end;
    max-width: 500px;
    margin-left: auto;
}

.together-slider-wrap {
    position: relative;
    z-index: 2;
    width: 100%;
}

.together-slider {
    width: 100%;
    overflow: visible;
}
.together-card {
    position: relative;
    height: 430px;
    display: block;
    overflow: hidden;
    color: var(--text-secondary);
    text-decoration: none;
}

.together-card-image {
    position: absolute;
    inset: 0;
}

.together-card-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform .7s ease;
}

.together-card:hover .together-card-image img {
    transform: scale(1.05);
}

.together-card-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(
            180deg,
            rgba(0, 0, 0, .02) 35%,
            rgba(0, 0, 0, .12) 55%,
            rgba(0, 0, 0, .68) 100%
        );
}

.together-card-content {
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 20px;
    z-index: 2;
    color: var(--text-secondary);
}

.together-card-content h4 {
    color: var(--text-secondary);
}

.together-card-content span {
    display: block;
}

.together-card-content button {
    color: var(--text-secondary);
    font: 700 16px / 1.2 "Mallory", sans-serif;
    text-transform: uppercase;
    cursor: pointer;
    background: transparent;
    border: 0;
    text-decoration: underline;
    text-underline-offset: 4px;
    padding: 0;
}

.together-bottom {
    position: relative;
    z-index: 2;
    width: 100%;
    margin-top: 38px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.together-slider-controls {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 15px;
    margin-left: 35px;
}

.together-slider-line {
    width: 100%;
    height: 1px;
    background: rgba(255, 255, 255, .28);
}

.together-prev,
.together-next {
    flex: 0 0 34px;
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 0;
    background: transparent;
    color: rgba(255, 255, 255, .75);
    font-size: 11px;
    cursor: pointer;
    transition:
        color .3s ease,
        transform .3s ease;
}

.together-prev:hover,
.together-next:hover {
    color: var(--primary);

    transform: scale(1.1);
}



@media (max-width: 1399px) {

    .together-card {
        height: 410px;
    }

}


@media (max-width: 1200px) {

    .together-card {
        height: 385px;
    }

    .together-top {
        margin-bottom: 30px;
    }

    .together-description p {
        max-width: 390px;
    }

    .together-slider-line {
        max-width: 450px;
    }

}


@media (max-width: 1024px) {

    .together-card {
        height: 360px;
    }


    .together-slider-line {
        max-width: 350px;
    }

}


@media (max-width: 991px) {

    .together-top {
        grid-template-columns: 1fr;
        gap: 15px;
        margin-bottom: 30px;
    }

    .together-description {
        justify-content: flex-start;
        max-width: 100%;
        width: 100%;
    }

    .together-description p {
        max-width: 550px;
    }

    .together-card {
        height: 380px;
    }

    .together-bottom {
        margin-top: 30px;
    }

}

@media (max-width: 76px) {
     
    .together-slider .swiper-slide{
        width:100% !important;
    }

}


@media (max-width: 768px) {

    .together-section {
        padding: 45px 0;
    }

    .together-card {
        height: 360px;
    }

    .together-card-content {
        left: 15px;
        right: 15px;
        bottom: 15px;
    }

    .together-bottom {
        align-items: center;
    }

    .together-slider-controls {
        margin-left: 20px;
    }

    .together-slider-line {
        display: none;
    }

}


@media (max-width: 575px) {

    .together-card {
        height: 330px;
    }

    .together-slider-controls {
        gap: 6px;
    }

}