/**
 * TW Heading Widget Styles
 */

.tw-heading {
    width: 100%;
}

.tw-heading a {
    text-decoration: none;
    color: inherit;
}

.tw-heading-content {
    margin: 0;
    padding: 0;
    line-height: 1.3;
}

.tw-heading-text,
.tw-heading-before,
.tw-heading-after,
.tw-heading-highlighted {
    display: inline;
}

/* Gradient text */
.tw-heading-text[style*="background"],
.tw-heading-highlighted.gradient-color {
    display: inline-block;
}

/* Underline decoration */
.tw-heading-highlighted.decor-underline {
    text-decoration: underline;
}

/* Background decoration */
.tw-heading-highlighted.decor-background {
    display: inline;
    box-decoration-break: clone;
    -webkit-box-decoration-break: clone;
}

/* Marker decoration */
.tw-heading-highlighted.decor-marker {
    display: inline;
    box-decoration-break: clone;
    -webkit-box-decoration-break: clone;
}

/* Hover effects for links */
.tw-heading a:hover .tw-heading-text,
.tw-heading a:hover .tw-heading-before,
.tw-heading a:hover .tw-heading-after {
    opacity: 0.8;
}

/* Subtitle */
.tw-heading-subtitle {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 10px;
}

/* Separator */
.tw-heading-separator {
    display: inline-block;
    margin-top: 15px;
}

.tw-heading-separator.tw-separator-border {
    border-bottom-width: 2px;
    border-bottom-color: #6366f1;
}

.tw-heading-separator.tw-separator-gradient {
    height: 2px;
    border-radius: 1px;
}

/* Responsive adjustments */
@media (max-width: 767px) {
    .tw-heading-content {
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
}
