.wa-header-banner-wrap {
    max-width: var(--kg-container-width, 1380px);
    margin: 18px auto 0;
    padding: 0 20px;
    box-sizing: border-box;
}

.wa-wreath-container {
    width: 100%;
    max-width: 960px;
    margin: 0 auto;
    background: #ffffff;
    position: relative;
    overflow: hidden;
    line-height: 0;
    border-radius: var(--kg-radius, 10px);
    border: 1px solid var(--kg-border, #e2e8f0);
    box-shadow: 0 4px 18px rgba(15, 23, 42, 0.06);
    display: flex;
    flex-direction: row;
    align-items: stretch;
}

.wa-wreath-container.wa-mode-header {
    max-width: 100%;
}

.wa-wreath-stage {
    position: relative;
    flex: 0 0 54%;
    max-width: 54%;
    background: #ffffff;
    display: flex;
    align-items: center;
}

.wa-wreath-container.wa-mode-header .wa-wreath-stage {
    flex: 0 0 460px;
    max-width: 48%;
}

.wa-wreath-img {
    display: block;
    width: 100%;
    height: auto;
    user-select: none;
    -webkit-user-drag: none;
}

.wa-flame-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.wa-wreath-caption {
    display: inline-block;
    padding: 4px 13px;
    border-radius: 999px;
    background: rgba(27, 67, 50, 0.08);
    border: 1px solid rgba(27, 67, 50, 0.22);
    color: var(--kg-primary, #1b4332);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.wa-rotating-text-box {
    flex: 1 1 auto;
    padding: 18px 22px;
    box-sizing: border-box;
    background: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.wa-quote-frame {
    width: 100%;
    padding: 18px 22px;
    box-sizing: border-box;
    border: 1px solid rgba(180, 83, 9, 0.24);
    border-radius: 10px;
    background: linear-gradient(135deg, #fffdf9 0%, #ffffff 100%);
    box-shadow: 0 2px 10px rgba(180, 83, 9, 0.05);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 120px;
}

.wa-rotating-text {
    margin: 0;
    color: var(--kg-text, #1e293b);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 15px;
    line-height: 1.55;
    font-style: italic;
    opacity: 0;
    transition: opacity 0.65s ease;
}

.wa-rotating-text.is-visible {
    opacity: 1;
}

.wa-rotating-author {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 12.5px;
    font-weight: 600;
    line-height: 1.3;
    color: var(--kg-accent, #b45309);
    letter-spacing: 0.02em;
}

@media (max-width: 768px) {
    .wa-wreath-container {
        flex-direction: column;
    }
    .wa-wreath-stage,
    .wa-wreath-container.wa-mode-header .wa-wreath-stage {
        flex: none;
        width: 100%;
        max-width: 100%;
    }
    .wa-wreath-caption {
        font-size: 10.5px;
        bottom: 6px;
        right: 8px;
        padding: 3px 8px;
    }
    .wa-rotating-text-box {
        padding: 12px 14px 14px;
    }
    .wa-quote-frame {
        padding: 12px 14px;
        min-height: 92px;
    }
    .wa-rotating-text {
        font-size: 13.5px;
    }
}
