/**
 * 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;
}

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