/* MIESTAS.INFO front-page-only polish. krpano runtime is intentionally untouched. */
body.home.page-id-197 {
    background: #000;
    overflow-x: hidden;
}

body.home.page-id-197 #page-container,
body.home.page-id-197 #main-content,
body.home.page-id-197 .et_builder_inner_content {
    background: #000;
    overflow-x: clip;
}

body.home.page-id-197 .et_builder_inner_content {
    z-index: 0 !important;
}

body.home.page-id-197 .et_pb_section_0 {
    height: 100svh !important;
    min-height: 100svh !important;
    max-height: none !important;
    overflow: hidden;
}

body.home.page-id-197 .et_pb_fullwidth_code_0,
body.home.page-id-197 .et_pb_fullwidth_code_0 .et_pb_code_inner {
    height: 100%;
    min-height: 100%;
}

body.home.page-id-197 iframe[name="miestas"][src*="krpano.html"] {
    display: block;
    width: 100% !important;
    max-width: 100%;
    height: 100% !important;
    min-height: 100svh;
    border: 0;
    background: #000;
}

body.home.page-id-197 .et_pb_fullwidth_menu_0 {
    z-index: 10000 !important;
    margin-right: 0 !important;
    background: rgba(8, 12, 18, .66) !important;
    border-right: 1px solid rgba(255, 255, 255, .08);
    border-bottom: 1px solid rgba(255, 255, 255, .08);
    border-radius: 0 0 14px 0;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

body.home.page-id-197 .et_pb_text h1,
body.home.page-id-197 .et_pb_text h2 {
    text-wrap: balance;
}

body.home.page-id-197 .et_pb_text p {
    line-height: 1.65;
    text-wrap: pretty;
}

body.home.page-id-197 a:focus-visible,
body.home.page-id-197 button:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 3px;
}

@media (max-width: 767px) {
    body.home.page-id-197 .et_pb_fullwidth_menu_0 {
        max-width: calc(100vw - 16px);
        margin: 8px !important;
        border: 1px solid rgba(255, 255, 255, .10);
        border-radius: 12px;
    }
}

@media (prefers-reduced-motion: reduce) {
    body.home.page-id-197 *,
    body.home.page-id-197 *::before,
    body.home.page-id-197 *::after {
        scroll-behavior: auto !important;
    }
}
