/* Zippo Legacy mural. Loaded only with page-history.php.
   The approved plate stays proportional. The history column sets the
   page height. When the plate is taller than that column, it travels
   from the World War II scene to the modern engraving while the column
   scrolls. When the column is taller, the plate scales to that height. */

.blv4-legacy-stage {
    position: relative;
    background: #050505;
}

.blv4-legacy-pin {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
    line-height: 0;
}

.blv4-legacy-pin picture {
    display: block;
    height: 100%;
}

.blv4-legacy-mural {
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    width: 100%;
    max-width: none;
    height: auto;
}

.blv4-legacy-fit .blv4-legacy-mural {
    left: 50%;
    width: auto;
    height: 100%;
    transform: translateX(-50%);
}

.blv4-legacy-stage > .blv4-wrap {
    position: relative;
    z-index: 1;
}

.blv4-legacy-page + .blv4-foot {
    margin-top: 0;
}

.blv4-legacy-page .blv4-history > h1 {
    margin-bottom: 18px;
}

.blv4-legacy-page .blv4-history > p {
    margin: 0 0 22px;
}

.blv4-legacy-page .blv4-history img {
    margin: 0;
}

.blv4-legacy-page .blv4-history > a,
.blv4-legacy-page .blv4-history > .blv4-legacy-timeline,
.blv4-legacy-page .blv4-history > .blv4-banner {
    margin-top: 36px;
    margin-bottom: 36px;
}

.blv4-legacy-timeline {
    position: relative;
    display: block;
    line-height: 0;
}

.blv4-legacy-shop {
    position: absolute;
    left: calc(583 / 1024 * 100%);
    top: calc(796 / 1088 * 100%);
    width: calc(175 / 1024 * 100%);
    height: calc(28 / 1088 * 100%);
    z-index: 1;
    display: block;
    overflow: hidden;
    margin: 0;
    padding: 0;
    border: 0;
    color: transparent;
    background: transparent;
    font-size: 14px;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
}

.blv4-legacy-shop:hover,
.blv4-legacy-shop:focus {
    color: transparent;
    background: transparent;
    text-decoration: none;
    outline: none;
}

.blv4-legacy-shop:focus-visible {
    outline: 2px solid #ff4a3a;
    outline-offset: 2px;
}

.blv4-legacy-panel {
    position: absolute;
    z-index: 1;
    display: block;
    overflow: hidden;
    margin: 0;
    padding: 0;
    border: 0;
    color: transparent;
    background: transparent;
    font-size: 14px;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
}

.blv4-legacy-panel-museum {
    left: calc(8 / 1024 * 100%);
    top: calc(838 / 1088 * 100%);
    width: calc(247 / 1024 * 100%);
    height: calc(164 / 1088 * 100%);
}

.blv4-legacy-panel-collect {
    left: calc(266 / 1024 * 100%);
    top: calc(838 / 1088 * 100%);
    width: calc(242 / 1024 * 100%);
    height: calc(164 / 1088 * 100%);
}

.blv4-legacy-panel-limited {
    left: calc(516 / 1024 * 100%);
    top: calc(838 / 1088 * 100%);
    width: calc(242 / 1024 * 100%);
    height: calc(164 / 1088 * 100%);
}

.blv4-legacy-panel-custom {
    left: calc(768 / 1024 * 100%);
    top: calc(838 / 1088 * 100%);
    width: calc(244 / 1024 * 100%);
    height: calc(164 / 1088 * 100%);
}

.blv4-legacy-panel:hover,
.blv4-legacy-panel:focus {
    color: transparent;
    background: rgba(180, 24, 24, 0.18);
    text-decoration: none;
    outline: none;
}

.blv4-legacy-panel:focus-visible {
    outline: 2px solid #ff4a3a;
    outline-offset: -3px;
    background: rgba(180, 24, 24, 0.18);
}

.blv4-legacy-page .blv4-history > :last-child {
    margin-bottom: 0;
}

.blv4-legacy-page .blv4-crumbs,
.blv4-legacy-page .blv4-history > h1,
.blv4-legacy-page .blv4-history > h1 + p,
.blv4-legacy-page .blv4-history > h1 + p + p,
.blv4-legacy-page .blv4-history > h1 + p + p + p {
    padding: 10px 16px;
    background-color: rgba(5, 5, 5, 0.84);
}

@media (min-width: 1000px) {
    .blv4-legacy-page .blv4-crumbs,
    .blv4-legacy-page .blv4-history {
        width: min(880px, 74%);
        margin-right: auto;
        margin-left: auto;
    }
}
