/* Spine Section Title Widget Styles */

.spine-section-title {
    position: relative;
    text-align: center;
}

.spine-subheading {
    display: inline-block;
    margin-bottom: 10px;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    line-height: 1.4;
    padding-left: 40px;
    position: relative;
}
.spine-subheading:after {
    content: "";
    width: 30px;
    height: 1px;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    background-color: #B8936A;
}
.spine-heading {
    margin: 0 0 20px 0;
    font-weight: 700;
    line-height: 1.2;
    word-break: break-word;
}

.spine-content {
    margin-bottom: 15px;
    line-height: 1.6;
}

.spine-content p {
    margin: 0 0 15px 0;
}

.spine-content p:last-child {
    margin-bottom: 0;
}

.spine-link-wrapper {
    margin-top: 15px;
}

.spine-link {
    display: inline-block;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
}

.spine-divider {
    margin: 20px auto;
    height: 3px;
    width: 80px;
    background-color: #000000;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.spine-divider.top {
    margin-bottom: 20px;
}

.spine-divider.bottom {
    margin-top: 20px;
}

/* Responsive adjustments */
@media (max-width: 767px) {
    .spine-section-title {
        text-align: center !important;
    }

    .spine-heading {
        font-size: 28px !important;
    }

    .spine-content {
        font-size: 16px !important;
    }

    .spine-divider {
        width: 60px !important;
    }
}

/* Elementor Animation Support */
.spine-section-title > .elementor-element {
    transition: all 0.3s ease;
}

/* Additional hover effects */
.spine-link:hover {
    transform: translateY(-2px);
}

/* Custom scrollbar for content if needed */
.spine-content::-webkit-scrollbar {
    width: 6px;
}

.spine-content::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.spine-content::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 3px;
}

.spine-content::-webkit-scrollbar-thumb:hover {
    background: #555;
}
