
@import url('https://fonts.googleapis.com/css?family=Reenie+Beanie&display=swap');

.bg-site-header {
    height: 74px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 max(24px, calc((100vw - 1140px)/2));
    position: relative;
    z-index: 100;
    box-sizing: border-box;
}

.bg-site-header .bg-brand {
    color: #222;
    text-decoration: none;
    font: 600 19px Arial, sans-serif;
}

.bg-header-actions {
    display: flex;
    align-items: center;
    gap: 28px;
}

.bg-photos-link {
    color: #222;
    text-decoration: none;
    font: 600 14px Arial, sans-serif;
}

.bg-menu-toggle {
    position: relative;
    width: 27px;
    height: 27px;
    cursor: pointer;
    z-index: 110;
    flex-shrink: 0;
}

.bg-menu-toggle span {
    position: absolute;
    display: block;
    width: 27px;
    height: 2px;
    left: 0;
    background: #222;
    transition: all .35s ease;
}

.bg-menu-toggle .top { top: 3px; }
.bg-menu-toggle .middle { top: 11px; }
.bg-menu-toggle .bottom { top: 19px; }

.bg-menu-toggle.active {
    position: fixed;
    top: 45px;
    right: max(24px, calc((100vw - 1140px)/2));
    z-index: 1001;
}

.bg-menu-toggle.active .top {
    transform: translateY(8px) rotate(45deg);
    background: #fff;
}

.bg-menu-toggle.active .middle {
    opacity: 0;
}

.bg-menu-toggle.active .bottom {
    transform: translateY(-8px) rotate(-45deg);
    background: #fff;
}

.bg-menu-overlay {
    position: fixed;
    inset: 0;
    background: #000;
    z-index: 1000;
    visibility: hidden;
    opacity: 0;
    transition: opacity .35s, visibility .35s;
    overflow-y: auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bg-menu-overlay.open {
    visibility: visible;
    opacity: 1;
}

.bg-menu-overlay ul {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: center;
}

.bg-menu-overlay li {
    margin: 0;
    padding: 8px 0;
}

.bg-menu-overlay a {
    display: block;
    color: #fff;
    text-decoration: none;
    font-family: 'Reenie Beanie', cursive;
    font-size: 38px;
    line-height: 1.25;
    transition: transform .2s ease;
}

.bg-menu-overlay a:hover {
    transform: scale(1.15);
}

.bg-site-footer {
    text-align: center;
    padding: 40px 20px 24px;
}

.bg-site-footer nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px 26px;
    margin-bottom: 20px;
}

.bg-site-footer a {
    color: #555;
    text-decoration: none;
    font: 14px Arial, sans-serif;
}

.bg-site-footer p {
    color: #888;
    font: 12px Arial, sans-serif;
    margin: 0;
}

@media (max-width: 767px) {
    .bg-site-header { padding: 0 20px; }
    .bg-menu-toggle.active { right: 20px; top: 24px; }
    .bg-menu-overlay a { font-size: 34px; }
}


/* BG_MENU_VIENNA_CORRECTION */

/* Vienna's original handwritten menu font */
.bg-menu-overlay nav,
.bg-menu-overlay nav a {
    font-family: 'Reenie Beanie', cursive !important;
    font-size: 50px !important;
    font-weight: 400 !important;
    line-height: 1.15 !important;
}

/* Match Vienna's compact vertical spacing */
.bg-menu-overlay li {
    padding: 8px 0 !important;
}

/* Make the close button visible above the overlay */
.bg-menu-toggle.active {
    position: fixed !important;
    top: 44px !important;
    right: max(24px, calc((100vw - 1140px)/2)) !important;
    z-index: 9999 !important;
}

.bg-menu-toggle.active .top,
.bg-menu-toggle.active .bottom {
    background: white !important;
}

.bg-menu-toggle.active .top {
    transform: translateY(8px) rotate(45deg) !important;
}

.bg-menu-toggle.active .middle {
    opacity: 0 !important;
}

.bg-menu-toggle.active .bottom {
    transform: translateY(-8px) rotate(-45deg) !important;
}

@media (max-width: 767px) {
    .bg-menu-toggle.active {
        top: 24px !important;
        right: 20px !important;
    }

    .bg-menu-overlay nav,
    .bg-menu-overlay nav a {
        font-size: 40px !important;
    }
}

/* BG_FIXED_OVERLAY_CLOSE_BUTTON_2026 */

/* Allow the close button to appear above the full-screen menu */
.bg-site-header {
    z-index: auto !important;
}

.bg-header-actions {
    position: static !important;
}

.bg-menu-toggle.active {
    position: fixed !important;
    top: 44px !important;
    right: max(24px, calc((100vw - 1140px)/2)) !important;
    z-index: 10001 !important;
    width: 27px !important;
    height: 27px !important;
}

.bg-menu-overlay {
    z-index: 10000 !important;
}

/* Clear white X */
.bg-menu-toggle.active span {
    background: #fff !important;
}

.bg-menu-toggle.active .top {
    top: 3px !important;
    transform: translateY(8px) rotate(45deg) !important;
}

.bg-menu-toggle.active .middle {
    opacity: 0 !important;
}

.bg-menu-toggle.active .bottom {
    top: 19px !important;
    transform: translateY(-8px) rotate(-45deg) !important;
}

@media (max-width: 767px) {
    .bg-menu-toggle.active {
        top: 24px !important;
        right: 20px !important;
    }
}


/* BG_OVERLAY_CLOSE_V2 — independent close button */

.bg-menu-overlay {
    isolation: isolate;
}

.bg-menu-close {
    position: fixed;
    top: 24px;
    right: max(24px, calc((100vw - 1140px)/2));
    z-index: 10;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font: 300 44px Arial, sans-serif;
    line-height: 1;
}

.bg-menu-close span {
    display: block;
    transform: translateY(-2px);
}

.bg-menu-close:hover {
    opacity: .75;
}

.bg-menu-close:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 4px;
}

@media (max-width: 767px) {
    .bg-menu-close {
        top: 15px;
        right: 12px;
    }
}

/* Original Bogdan Grodzki masthead image */
.bg-site-header .bg-brand-logo {
    display: block;
    width: auto;
    height: 22px;
    max-width: 100%;
    object-fit: contain;
}

.bg-site-header .bg-brand {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}
