.tabbed-community-slider-block {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Tab Styles */
.tcs-tabs {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    margin-bottom: 40px;
    position: relative;
}

.tcs-tab {
    background: none;
    border: none;
    padding: 15px;
    font-size: 26px;
    font-weight: 600;
    cursor: pointer;
    color: #333;
    position: relative;
    transition: color 0.3s ease;
    z-index: 2;
    font-family: var(--font1);
    font-weight: 400;
}

.tcs-tab:hover {
    color: var(--secondary);
}

/* Replace the single line with two separate lines */
.tcs-tab.active:before,
.tcs-tab.active:after {
    content: "";
    position: absolute;
    width: 2px;
    height: 20px;
    /* Length of each line */
    background: #823133;
    left: 50%;
}

.tcs-tab.active:before {
    top: -15px;
    /* Position above text */
}

.tcs-tab.active:after {
    bottom: -15px;
    /* Position below text */
}

.tcs-tab.active {
    color: #823133;
}

/* Slider Styles */
.tcs-tab-content {
    display: none;
    position: relative;
}

.tcs-tab-content.active {
    display: block;
}

.tcs-slider {
    position: relative;
    padding: 0 100px;
}


.tcs-slide {
    padding: 15px;
    height: 100%;
    display: flex;
    flex-direction: column;
    max-width: 500px;
    margin: 0 auto;
    position: relative;
}

.no-slider .tcs-slide {
    margin: 0 auto;
    height: auto;
}

.tcs-image {
    position: relative;
    padding-top: 100%;
    /* 1:1 Aspect Ratio */
    margin-bottom: 20px;
}

.tcs-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slick-initialized .slick-slide {
    height: auto;
    height: inherit !important;
}

.slick-track {
    display: flex !important;
}


.tcs-content {
    text-align: center;
    position: relative;
    max-width: 800px;
    margin: auto;
    padding: 30px 0 70px;
    position: static;
    height: 100%;
}

.no-slider .tcs-content {
    height: 100%;
}

.tcs-subtitle {
    margin-bottom: 10px;
    font-size: 14px;
    font-weight: 700;
}

.tcs-title {
    margin-bottom: 15px;
    margin-top: 15px;
}

.tcs-copy {
    margin-bottom: 20px;
    flex-grow: 1;
}

.tcs-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    z-index: 1;
    padding: 10px;
}

.tcs-prev {
    left: 15px;
}

.tcs-next {
    right: 15px;
}

.tcs-arrow i {
    font-size: 40px;
    color: var(--primary);
}

.tcs-content .btn.btn-border {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    background: transparent;
    color: var(--secondary);
    text-align: center;
    border: 2px solid var(--secondary);
    white-space: nowrap;
}

.tcs-content .btn.btn-border:hover {
    background: var(--primary) !important;
    border: 2px solid var(--primary);
    color: white;
}

@media (max-width: 991px) {
    .tcs-content .btn.btn-border {
        position: relative;
        transform: none;
        margin-top: 20px;
        left: 0;
        width: 100%;
    }

    .tabbed-community-slider-block {
        padding: 40px 0 0 0;
    }

    .tcs-slide {
        padding: 0;
    }

    .tcs-slider {
        padding: 0 40px;
    }

    .tcs-tabs {
        gap: 15px;
        margin-bottom: 15px;
        flex-wrap: wrap;
        justify-content: space-between;
    }

    .tcs-tab.active:before,
    .tcs-tab.active:after {
        display: none;
    }

    button.tcs-tab {
        width: calc(50% - 10px);
        background: var(--primary);
        color: white;
    }

    .tcs-tab.active {
        color: white;
        background: var(--secondary);
    }

    .tcs-prev {
        left: -10px;
    }

    .tcs-next {
        right: -10px;
    }

    .tcs-prev i {
        font-size: 20px;
        font-weight: 800;
        background: var(--primary);
        color: white;
        width: 35px;
        aspect-ratio: 1/1;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .tcs-next i {
        font-size: 20px;
        font-weight: 800;
        background: var(--primary);
        color: white;
        width: 35px;
        aspect-ratio: 1/1;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .tcs-content {
        padding: 0px 0 50px;
    }

    .tcs-arrow {
        top: 20px;
    }
}

@media (max-width: 767px) {
    .tcs-slider {
        padding: 0;
    }

    .tcs-slider.no-slider {
        display: block !important;
    }

    .tcs-tab {
        font-size: 16px;
        margin: auto;
    }
    .tcs-arrow {
        top: 25%;
    }
}

#opulence-signup-form .form-container {
  max-width: 800px;
  margin: auto;
  padding: 0 20px;
  border-radius: 5px;
  background: var(--primary);
  color: #fff;  
}