.theme-promotion[hidden], .theme-promotion-banner[hidden] { display: none !important; }
.theme-promotion-banner { width: 100%; background: #212529; color: #fff; }
#page-header .theme-promotion-banner__link {
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px 28px;
    width: 100%;
    max-width: 1200px;
    min-height: 64px;
    margin: 0 auto;
    padding: 10px 24px;
    color: #fff;
    font-size: 15px;
    line-height: 1.4;
    text-decoration: none;
    overflow-wrap: anywhere;
}
#page-header .theme-promotion-banner__link:hover { color: #fff; background: #2d3238; }
#page-header .theme-promotion-banner__link:focus-visible { outline: 2px solid #ffc107; outline-offset: -4px; }
.theme-promotion-banner__copy { min-width: 0; }
.theme-promotion-banner__headline { display: block; font-weight: 600; }
.theme-promotion-banner__code { color: #ffc107; font-weight: 700; }
.theme-promotion-banner__details { display: block; margin-top: 2px; color: #e3e5e7; font-size: 12px; }
.theme-promotion-banner__cta { flex-shrink: 0; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 767px) {
    #page-header .theme-promotion-banner__link { flex-direction: column; gap: 5px; padding: 10px 16px; text-align: center; font-size: 14px; }
    .theme-promotion-banner__cta { max-width: 100%; font-size: 12px; }
}

.theme-promotion {
    box-sizing: border-box;
    width: 100%;
    margin: 0 0 12px;
    padding: 12px 14px 8px;
    border-left: 4px solid #c55848;
    border-radius: 4px;
    background: #292524;
    color: #fff;
    text-align: left;
    font-size: 14px;
    line-height: 1.45;
    overflow-wrap: anywhere;
}
.theme-promotion__headline { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; }
.theme-promotion__headline strong { font-weight: 600; }
.theme-promotion__code {
    min-height: 44px;
    max-width: 100%;
    padding: 6px 10px;
    border: 1px solid #f1c8c2;
    border-radius: 3px;
    background: #962d22;
    color: #fff;
    font: inherit;
    font-weight: 700;
    line-height: 1.3;
    overflow-wrap: anywhere;
    cursor: pointer;
}
.theme-promotion__code:hover { background: #7d251c; }
.theme-promotion__code:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.theme-promotion__subline { margin: 6px 0 0; color: #f1e8e4; font-size: 13px; }
.theme-promotion__feedback { display: block; min-height: 1.45em; margin-top: 2px; color: #f1e8e4; font-size: 12px; }
