/**
 * TW Page Header & Dynamic Title Styles
 */

/* Dynamic Title */
.tw-dynamic-title {
    width: 100%;
}

.tw-dynamic-title-text {
    margin: 0;
    line-height: 1.3;
}

.tw-dynamic-title-prefix,
.tw-dynamic-title-suffix {
    display: inline;
}

/* Subtitle */
.tw-dynamic-subtitle {
    line-height: 1.6;
}

/* Breadcrumbs */
.tw-breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0;
    font-size: 14px;
}

.tw-breadcrumbs a {
    text-decoration: none;
    transition: color 0.3s ease;
}

.tw-breadcrumbs a:hover {
    text-decoration: underline;
}

.tw-breadcrumbs .separator {
    margin: 0 8px;
}

.tw-breadcrumbs .current {
    opacity: 0.8;
}

/* Page Header Container */
.tw-page-header-container {
    width: 100%;
}

/* Ensure proper display in Elementor editor */
.elementor-editor-active .tw-page-header-container {
    min-height: 50px;
}

.elementor-editor-active .tw-page-header-container:empty::after {
    content: 'Nagłówek strony';
    display: block;
    padding: 40px;
    text-align: center;
    background: #f5f5f5;
    border: 2px dashed #ddd;
    color: #666;
}
