@charset "UTF-8";

:root {
    --balicka-blue: #0067a8;
    --balicka-blue-dark: #17466d;
    --balicka-blue-soft: #eaf3f9;
    --balicka-ink: #263746;
    --balicka-muted: #667784;
    --balicka-line: #dbe4ea;
}

.skip-link {
    background: #fff;
    border: 2px solid var(--balicka-blue);
    color: #111;
    left: 12px;
    padding: 10px 14px;
    position: fixed;
    top: -100px;
    z-index: 20000;
}
.skip-link:focus { top: 12px; }
.font-size-announcement {
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

.normal-contrast { color: var(--balicka-ink); font-size: 14px; line-height: 1.55; }
.normal-contrast header { border-top: 5px solid var(--balicka-blue); }
.header-top { align-items: center; display: flex; gap: 14px; min-height: 105px; }
.site-brand { align-items: center; display: flex; margin-right: auto; min-width: 0; }
.site-brand img { display: block; float: none !important; height: 64px; margin: 0 !important; width: 200px; }

.langs, .tools { align-items: center; display: flex; float: none; gap: 6px; margin-top: 0; }
.langs { margin-left: auto; }
.langs a {
    align-items: center;
    border: 1px solid var(--balicka-line);
    border-radius: 4px;
    color: var(--balicka-blue-dark);
    display: inline-flex;
    font-size: 11px;
    font-weight: bold;
    gap: 5px;
    min-height: 32px;
    padding: 0 8px;
}
.langs a:hover, .langs a[aria-current="page"] { background: var(--balicka-blue-soft); border-color: #9ebed2; }
.langs img { height: auto; width: 18px; }
.tools a {
    align-items: center;
    background: transparent;
    border: 2px solid #17232c;
    border-radius: 4px;
    color: #17232c;
    display: inline-flex;
    font-size: 14px;
    font-weight: bold;
    height: 32px;
    justify-content: center;
    margin-left: 0;
    padding: 0;
    width: 32px;
}
.tools a:hover, .tools a:focus { background: #17232c; border-color: #17232c; color: #fff; }
.normal-contrast .tools .hc_button {
    background: transparent;
    border-color: #f5b400;
    color: #d99f00;
}
.normal-contrast .tools .hc_button:hover,
.normal-contrast .tools .hc_button:focus {
    background: #f5b400;
    border-color: #f5b400;
    color: #111;
}

.normal-contrast nav { margin-top: 12px; }
.sf-menu li.sfHover > ul { display: block; }
.mobile-menu { display: none; }
.normal-contrast .sf-menu { border-bottom-color: var(--balicka-blue); }
.normal-contrast .sf-menu > li:not(.current):not(:hover):not(.sfHover) > a {
    background: #fff linear-gradient(to bottom, #cfd4d8 0, #cfd4d8 5px, #fff 5px, #fff 100%);
}
.normal-contrast .sf-menu > li.current > a:after,
.normal-contrast .sf-menu > li:hover > a:after,
.normal-contrast .sf-menu > li.sfHover > a:after { border-bottom-color: var(--balicka-blue); }
.normal-contrast .slider { box-shadow: 0 10px 28px rgba(28, 57, 78, .13); overflow: visible; }

/* Lokalny slider zachowujący proporcje i kontrolki dawnego Camera Slidera. */
.balicka-slider.camera_wrap {
    aspect-ratio: 100 / 35.31;
    background: #17232c;
    display: block !important;
    height: auto;
    min-height: 200px;
    overflow: visible;
    position: relative;
    touch-action: pan-y;
    width: 100%;
}
.balicka-slider .balicka-slide {
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    inset: 0;
    opacity: 0;
    pointer-events: none;
    position: absolute;
    visibility: hidden;
    z-index: 0;
}
.balicka-slider .balicka-slide.is-active {
    opacity: 1;
    visibility: visible;
    z-index: 1;
}
.balicka-slider .balicka-slider-mosaic {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    grid-template-rows: repeat(4, 1fr);
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    position: absolute;
    z-index: 2;
}
.balicka-slider .balicka-slider-mosaic > span {
    background-repeat: no-repeat;
    opacity: 0;
    transform: scale(.82) rotate(.6deg);
    transform-origin: center;
    will-change: opacity, transform;
}
.balicka-slider .balicka-slider-mosaic.is-running > span {
    animation: balicka-mosaic-tile-in var(--balicka-tile-duration, 294ms) cubic-bezier(.2, .74, .24, 1) forwards;
    animation-delay: var(--balicka-tile-delay, 0ms);
}
@keyframes balicka-mosaic-tile-in {
    from { opacity: 0; transform: scale(.82) rotate(.6deg); }
    to { opacity: 1; transform: scale(1) rotate(0); }
}
.balicka-slider .balicka-slider-control {
    appearance: none;
    border: 0;
    color: transparent;
    cursor: pointer;
    font-size: 0;
    padding: 0;
    position: absolute;
    z-index: 3;
}
.balicka-slider .balicka-slider-control > span { pointer-events: none; }
@media (prefers-reduced-motion: reduce) {
    .balicka-slider .balicka-slider-mosaic > span {
        animation: none;
        opacity: 1;
        transform: none;
    }
}

.normal-contrast .content > h1 { color: var(--balicka-blue-dark) !important; font-size: 32px !important; line-height: 1.18 !important; }
.content .home-title { margin-bottom: 22px !important; }
.content .home-title .home-company {
    color: var(--balicka-blue);
    display: block;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 29px;
    font-weight: bold;
    letter-spacing: 0;
    line-height: 1.12;
    margin-top: 8px;
    text-transform: none;
}
.normal-contrast .content p { color: #43525e; font-size: 15px; line-height: 1.65; }
.normal-contrast .content strong { color: #20394e; }
.content .home-section-title { color: var(--balicka-blue-dark); font-family: Arial, Helvetica, sans-serif; font-size: 20px; line-height: 1.3; padding: 13px 0 8px; }
.home-benefits { margin: 0 0 10px; }
.home-benefits li { color: #43525e; font-size: 15px; line-height: 1.5; padding: 3px 0 3px 24px; position: relative; }
.home-benefits li::before { color: var(--balicka-blue); content: "✓"; font-weight: bold; left: 2px; position: absolute; }
.home-transport { background: var(--balicka-blue-soft); border-left: 4px solid var(--balicka-blue); padding: 12px 15px !important; }
.stockTicker { display: flex; flex-wrap: wrap; gap: 8px 20px; overflow: hidden; }
.stockTicker .news { display: inline-block; }
.normal-contrast #art_headers .art_cont { background: transparent; border-left: 0; margin-top: 38px; padding: 0; }
.normal-contrast #art_headers .art_cont h2 { color: var(--balicka-blue-dark); }

/* Lista aktualności. Cały kafel jest jednym odnośnikiem. */
#art_headers { padding-top: 0; }
.news-panel { box-sizing: border-box; position: relative; }
.news-panel::before {
    background: #0063af;
    content: "";
    height: 35px;
    left: -8px;
    position: absolute;
    top: -8px;
    width: 35px;
    z-index: 0;
}
.news-panel-inner {
    background: #f5f5f5;
    box-sizing: border-box;
    padding: 28px 20px 20px;
    position: relative;
    z-index: 1;
}
.news-list-title {
    align-items: center;
    background: none !important;
    display: block;
    font-family: Arial, Helvetica, sans-serif !important;
    font-size: 22px !important;
    font-weight: bold;
    line-height: 1.25 !important;
    margin: 0 !important;
    padding: 0 0 18px !important;
    text-transform: none;
}
.news-list-title::before { display: none; }
.news-list { display: grid; gap: 0; }
.news-card {
    background: transparent;
    border: 0;
    border-bottom: 1px solid #bfbfbf;
    border-radius: 0;
    box-shadow: none;
    display: grid;
    gap: 3px 10px;
    grid-template-columns: minmax(0, 1fr) auto;
    padding: 13px 9px;
    position: relative;
    text-decoration: none !important;
    transition: background-color .18s ease, color .18s ease;
}
.news-card:last-child { border-bottom: 0; }
.news-card-date {
    color: var(--balicka-blue);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 11px;
    font-weight: bold;
    grid-column: 1;
    letter-spacing: .04em;
}
.news-card-title {
    color: var(--balicka-blue-dark);
    font-size: 14px;
    font-weight: bold;
    grid-column: 1;
    line-height: 1.35;
}
.news-card-arrow {
    align-self: center;
    color: var(--balicka-blue);
    font-size: 26px;
    grid-column: 2;
    grid-row: 1 / span 2;
    transition: transform .16s ease;
}
.news-card:hover,
.news-card:focus {
    background: #0063af;
    box-shadow: none;
    transform: none;
}
.news-card:hover .news-card-date,
.news-card:hover .news-card-title,
.news-card:hover .news-card-arrow,
.news-card:focus .news-card-date,
.news-card:focus .news-card-title,
.news-card:focus .news-card-arrow { color: #fff; }
.news-card:hover .news-card-arrow,
.news-card:focus .news-card-arrow { transform: translateX(3px); }

/* Widok pojedynczej aktualności. */
.news-detail { padding-bottom: 12px; }
.news-detail-header {
    background: none;
    border: 0;
    margin-bottom: 26px;
    padding: 0 0 18px;
}
.news-detail-eyebrow {
    color: var(--balicka-blue);
    display: block;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 11px;
    font-weight: bold;
    letter-spacing: .11em;
    margin-bottom: 7px;
    text-transform: uppercase;
}
.news-detail-header h1 {
    color: var(--balicka-blue-dark) !important;
    font-family: Arial, Helvetica, sans-serif !important;
    font-size: 30px !important;
    font-weight: bold;
    letter-spacing: -.015em;
    line-height: 1.18 !important;
    margin: 0 0 12px !important;
    overflow-wrap: anywhere;
    text-transform: none !important;
}
.news-detail-header time { color: var(--balicka-muted); font-size: 12px; font-weight: bold; }
.news-detail-content { color: #3e4f5d; font-size: 15px; line-height: 1.68; overflow-wrap: anywhere; }
.normal-contrast .news-detail-content,
.normal-contrast .news-detail-content p,
.normal-contrast .news-detail-content span,
.normal-contrast .news-detail-content li { color: #3e4f5d !important; }
.news-detail-content p { margin-bottom: 1em; }
.news-detail-content a { color: var(--balicka-blue-dark) !important; font-weight: bold; overflow-wrap: anywhere; text-decoration: underline !important; }
.news-detail-content img { height: auto; max-width: 100%; }
.news-detail-back {
    border-bottom: 1px solid var(--balicka-blue);
    color: var(--balicka-blue-dark) !important;
    display: inline-block;
    font-weight: bold;
    margin-top: 26px;
    padding-bottom: 2px;
    text-decoration: none !important;
}

/* Załączniki aktualności. */
.news-attachments { border-top: 1px solid var(--balicka-line); margin-top: 30px; padding-top: 22px; }
.news-attachments-heading > span { color: var(--balicka-blue); display: block; font-size: 10px; font-weight: bold; letter-spacing: .1em; text-transform: uppercase; }
.news-attachments-heading h2 { color: var(--balicka-blue-dark); font-family: Arial, Helvetica, sans-serif; font-size: 23px; line-height: 1.2; margin: 3px 0 15px; }
.news-attachments-grid { display: grid; gap: 10px; }
.news-attachment {
    align-items: center;
    background: #f5f9fc;
    border: 1px solid var(--balicka-line);
    border-radius: 8px;
    display: grid;
    gap: 12px;
    grid-template-columns: 54px minmax(0, 1fr) auto;
    padding: 12px;
    text-decoration: none !important;
    transition: background-color .16s ease, border-color .16s ease, box-shadow .16s ease;
}
.news-attachment:hover,
.news-attachment:focus { background: #e7f3fb; border-color: var(--balicka-blue); box-shadow: 0 7px 18px rgba(31, 89, 128, .12); }
.news-attachment-icon {
    align-items: center;
    background: var(--balicka-blue-dark);
    border-radius: 7px;
    color: #fff;
    display: flex;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 10px;
    font-weight: bold;
    height: 54px;
    justify-content: center;
    letter-spacing: .03em;
    overflow: hidden;
    width: 54px;
}
.news-attachment-copy { display: flex; min-width: 0; flex-direction: column; }
.news-attachment-copy strong { color: var(--balicka-blue-dark) !important; font-size: 14px; line-height: 1.3; overflow-wrap: anywhere; }
.news-attachment-meta { color: var(--balicka-muted); font-size: 10px; font-weight: bold; margin-top: 3px; text-transform: uppercase; }
.news-attachment-cta { color: var(--balicka-blue); font-size: 11px; font-weight: bold; margin-top: 5px; }
.news-attachment-arrow { color: var(--balicka-blue); font-size: 22px; padding-right: 3px; }

/* Modal podglądu załącznika aktualności. */
.attachment-preview[hidden] { display: none !important; }
.attachment-preview { inset: 0; position: fixed; z-index: 40000; }
.attachment-preview-backdrop { background: rgba(8, 22, 32, .8); inset: 0; position: absolute; }
.attachment-preview-dialog {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 24px 70px rgba(0, 0, 0, .45);
    display: grid;
    grid-template-rows: auto minmax(0, 1fr) auto;
    left: 50%;
    max-height: calc(100vh - 40px);
    max-width: 920px;
    overflow: hidden;
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    width: calc(100% - 40px);
}
.attachment-preview-header { align-items: center; border-bottom: 1px solid var(--balicka-line); display: flex; justify-content: space-between; padding: 16px 18px; }
.attachment-preview-header > div > span { color: var(--balicka-blue); display: block; font-size: 10px; font-weight: bold; letter-spacing: .1em; text-transform: uppercase; }
.attachment-preview-header h2 { color: var(--balicka-blue-dark); font-family: Arial, Helvetica, sans-serif; font-size: 19px; line-height: 1.25; margin: 2px 0 0; overflow-wrap: anywhere; }
.attachment-preview-close {
    align-items: center;
    background: transparent;
    border: 2px solid var(--balicka-blue-dark);
    border-radius: 50%;
    color: var(--balicka-blue-dark);
    cursor: pointer;
    display: inline-flex;
    flex: 0 0 auto;
    font-size: 26px;
    height: 38px;
    justify-content: center;
    line-height: 1;
    margin-left: 18px;
    padding: 0 0 3px;
    width: 38px;
}
.attachment-preview-close:hover,
.attachment-preview-close:focus { background: var(--balicka-blue-dark); color: #fff; }
.attachment-preview-content { align-items: center; background: #e8edf1; display: flex; justify-content: center; min-height: 300px; overflow: auto; }
.attachment-preview-content iframe { border: 0; display: none; height: min(66vh, 620px); width: 100%; }
.attachment-preview-content img { display: none; height: auto; margin: auto; max-height: min(66vh, 620px); max-width: 100%; object-fit: contain; }
.attachment-preview-unavailable { align-items: center; color: var(--balicka-ink); display: none; flex-direction: column; gap: 8px; padding: 50px 24px; text-align: center; }
.attachment-preview-unavailable strong { color: var(--balicka-blue-dark); font-size: 18px; }
.attachment-preview-actions { align-items: center; border-top: 1px solid var(--balicka-line); display: flex; gap: 10px; justify-content: flex-end; padding: 13px 18px; }
.attachment-preview-action { border: 2px solid var(--balicka-blue); border-radius: 5px; color: var(--balicka-blue-dark) !important; font-weight: bold; padding: 8px 13px; text-decoration: none !important; }
.attachment-preview-download { background: var(--balicka-blue); color: #fff !important; }
.attachment-preview-action:hover,
.attachment-preview-action:focus { background: var(--balicka-blue-dark); border-color: var(--balicka-blue-dark); color: #fff !important; }
.attachment-preview-opened { overflow: hidden; }

.normal-contrast footer {
    background: #0063af;
    border-top: 5px solid var(--balicka-blue);
    color: #e8f1f6;
    margin-top: 34px;
    padding: 0;
}
.normal-contrast footer a { color: #fff; }
.footer-main {
    display: grid;
    gap: 30px;
    grid-template-columns: minmax(235px, .62fr) minmax(550px, 1.75fr);
    padding: 40px 0 28px;
}
.footer-wordmark { display: inline-flex; flex-direction: column; line-height: 1; margin-bottom: 19px; text-decoration: none; }
.footer-wordmark span { color: #d9eeff; font-size: 15px; font-weight: bold; letter-spacing: .01em; }
.footer-wordmark strong { color: #fff; font-size: 30px; line-height: 1.02; }
.footer-contact address { color: #eef7ff; font-style: normal; line-height: 1.65; margin-bottom: 22px; }
.footer-contact-links { display: grid; gap: 8px; }
.footer-contact-links a {
    align-items: center;
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 6px;
    display: flex;
    justify-content: space-between;
    padding: 9px 12px;
    text-decoration: none;
}
.footer-contact-links a:hover,
.footer-contact-links a:focus { background: rgba(255, 255, 255, .13); border-color: #9ed4f4; }
.footer-contact-links span { color: #d9eeff; font-size: 12px; }
.footer-contact-links strong { font-weight: bold; }
.footer-register-data { display: flex; flex-wrap: wrap; gap: 7px 16px; margin: 18px 0; }
.footer-register-data span { color: #d6ebfa; font-size: 11px; }
.footer-bip { align-items: center; display: inline-flex; gap: 10px; text-decoration: none; }
.footer-bip img { border: 2px solid #fff; display: block; height: auto; width: 42px; }
.footer-bip span { font-size: 12px; font-weight: bold; }
#footer_dojazd { background: #fff; border-radius: 9px; box-shadow: 0 14px 30px rgba(0, 0, 0, .2); overflow: hidden; }
#footer_dojazd iframe { border: 0; display: block; height: 430px; max-width: 100%; width: 100%; }
.footer-technical { align-items: center; display: flex; gap: 24px; justify-content: flex-start; padding: 2px 0 3px; }
.footer-technical p { color: #d5e7f5; font-size: 11px; line-height: 1.5; margin: 0; }
.footer-links { border-top: 1px solid rgba(255, 255, 255, .2); }
.footer-links ul { display: flex; flex-wrap: wrap; gap: 5px 24px; list-style: none; margin: 0; padding: 17px 0; }
.footer-links li { margin: 0; padding: 0; }
.footer-links a { color: #d9e7ef !important; font-size: 12px; font-weight: bold; text-decoration: none; }
.footer-links a:hover,
.footer-links a:focus { color: #fff !important; text-decoration: underline; }
.footer-bottom { padding: 19px 0 28px; }
.footer-bottom p { color: #d5e7f5; font-size: 11px; line-height: 1.5; margin: 0; }
.footer-bottom a { font-weight: bold; text-decoration: underline; }

/* Podgląd dokumentów PDF w sekcji BIP. */
.bip-file-link { align-items: center; display: inline-flex; gap: 7px; }
.bip-file-link::after {
    background: var(--balicka-blue-soft);
    border: 1px solid #9ebed2;
    border-radius: 3px;
    color: var(--balicka-blue-dark);
    content: "PDF";
    font-family: Arial, Helvetica, sans-serif;
    font-size: 9px;
    font-weight: bold;
    letter-spacing: .04em;
    line-height: 1;
    padding: 4px 5px 3px;
}
.bip-preview[hidden] { display: none !important; }
.bip-preview { inset: 0; position: fixed; z-index: 40000; }
.bip-preview-backdrop { background: rgba(8, 22, 32, .78); inset: 0; position: absolute; }
.bip-preview-dialog {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 24px 70px rgba(0, 0, 0, .4);
    display: grid;
    grid-template-rows: auto minmax(0, 1fr) auto;
    left: 50%;
    max-height: calc(100vh - 40px);
    max-width: 900px;
    overflow: hidden;
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    width: calc(100% - 40px);
}
.bip-preview-header { align-items: center; border-bottom: 1px solid var(--balicka-line); display: flex; justify-content: space-between; padding: 16px 18px; }
.bip-preview-header > div > span { color: var(--balicka-blue); display: block; font-size: 10px; font-weight: bold; letter-spacing: .1em; text-transform: uppercase; }
.bip-preview-header h2 { color: var(--balicka-blue-dark); font-family: Arial, Helvetica, sans-serif; font-size: 19px; line-height: 1.25; margin: 2px 0 0; }
.bip-preview-close {
    align-items: center;
    background: transparent;
    border: 2px solid var(--balicka-blue-dark);
    border-radius: 50%;
    color: var(--balicka-blue-dark);
    cursor: pointer;
    display: inline-flex;
    flex: 0 0 auto;
    font-size: 26px;
    height: 38px;
    justify-content: center;
    line-height: 1;
    margin-left: 18px;
    padding: 0 0 3px;
    width: 38px;
}
.bip-preview-close:hover,
.bip-preview-close:focus { background: var(--balicka-blue-dark); color: #fff; }
.bip-preview-content { background: #e8edf1; min-height: 300px; }
.bip-preview-content iframe { border: 0; display: block; height: min(66vh, 620px); width: 100%; }
.bip-preview-actions { align-items: center; border-top: 1px solid var(--balicka-line); display: flex; gap: 10px; justify-content: flex-end; padding: 13px 18px; }
.bip-preview-action { border: 2px solid var(--balicka-blue); border-radius: 5px; color: var(--balicka-blue-dark) !important; font-weight: bold; padding: 8px 13px; text-decoration: none; }
.bip-preview-download { background: var(--balicka-blue); color: #fff !important; }
.bip-preview-action:hover,
.bip-preview-action:focus { background: var(--balicka-blue-dark); border-color: var(--balicka-blue-dark); color: #fff !important; }
.bip-preview-opened { overflow: hidden; }

/* Natywny podgląd galerii, bez Lightbox i jQuery. */
.balicka-gallery-open { overflow: hidden; }
.balicka-gallery-modal {
    align-items: center;
    display: flex;
    inset: 0;
    justify-content: center;
    padding: 20px;
    position: fixed;
    z-index: 10050;
}
.balicka-gallery-backdrop { background: rgba(8, 18, 26, .88); inset: 0; position: absolute; }
.balicka-gallery-dialog {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 20px 70px rgba(0, 0, 0, .5);
    display: flex;
    flex-direction: column;
    max-height: calc(100vh - 40px);
    max-width: 1180px;
    overflow: hidden;
    position: relative;
    width: min(94vw, 1180px);
    z-index: 1;
}
.balicka-gallery-header,
.balicka-gallery-footer { align-items: center; display: flex; gap: 14px; padding: 12px 16px; }
.balicka-gallery-header { border-bottom: 1px solid var(--balicka-line); justify-content: space-between; }
.balicka-gallery-counter { color: var(--balicka-blue-dark); font-weight: bold; }
.balicka-gallery-close {
    align-items: center;
    background: transparent;
    border: 2px solid var(--balicka-blue-dark);
    border-radius: 50%;
    color: var(--balicka-blue-dark);
    cursor: pointer;
    display: inline-flex;
    font-size: 27px;
    height: 38px;
    justify-content: center;
    line-height: 1;
    padding: 0 0 3px;
    width: 38px;
}
.balicka-gallery-stage {
    align-items: center;
    background: #111c24;
    display: grid;
    flex: 1 1 auto;
    grid-template-columns: 58px minmax(0, 1fr) 58px;
    min-height: 260px;
    overflow: auto;
}
.balicka-gallery-image { display: block; margin: auto; max-height: calc(100vh - 180px); max-width: 100%; object-fit: contain; }
.balicka-gallery-prev,
.balicka-gallery-next {
    align-items: center;
    align-self: stretch;
    background: rgba(0, 99, 175, .82);
    border: 0;
    color: #fff;
    cursor: pointer;
    display: flex;
    font-size: 44px;
    justify-content: center;
    min-width: 58px;
}
.balicka-gallery-prev:hover,
.balicka-gallery-prev:focus,
.balicka-gallery-next:hover,
.balicka-gallery-next:focus { background: var(--balicka-blue-dark); }
.balicka-gallery-footer { border-top: 1px solid var(--balicka-line); justify-content: space-between; }
.balicka-gallery-caption { color: var(--balicka-ink); min-width: 0; }
.balicka-gallery-download { border: 2px solid var(--balicka-blue); border-radius: 5px; color: var(--balicka-blue-dark) !important; flex: 0 0 auto; font-weight: bold; padding: 8px 13px; }
.balicka-gallery-download:hover,
.balicka-gallery-download:focus { background: var(--balicka-blue); color: #fff !important; }

#campaign-popup-overlay {
    background: rgba(0, 0, 0, .7);
    inset: 0;
    position: fixed;
    z-index: 9998;
}
#popup {
    box-sizing: border-box;
    left: 50%;
    position: fixed;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 9999;
}

#cookieConsent {
    align-items: center;
    background: rgba(17, 35, 49, .97) !important;
    bottom: 0;
    box-sizing: border-box;
    box-shadow: 0 -8px 26px rgba(0, 0, 0, .2);
    color: #fff !important;
    display: flex;
    font-family: Arial, sans-serif !important;
    gap: 18px;
    justify-content: center;
    left: 0;
    line-height: 1.45 !important;
    max-height: calc(100vh - 20px);
    overflow-y: auto;
    padding: 15px 22px !important;
    padding-bottom: calc(15px + env(safe-area-inset-bottom)) !important;
    position: fixed;
    right: 0;
    text-align: left !important;
    transition: opacity 250ms ease, transform 250ms ease;
    width: 100%;
    z-index: 9000;
}
#cookieConsent.is-closing { opacity: 0; transform: translateY(100%); }
.cookie-consent-copy { max-width: 760px; }
.cookie-consent-copy a { color: #9ed4ff !important; text-decoration: underline !important; }
.cookie-consent-actions { display: flex; flex-shrink: 0; gap: 8px; }
.cookie-consent-button { border: 1px solid #fff; border-radius: 5px; cursor: pointer; font-weight: bold; min-height: 38px; padding: 0 15px; }
.cookie-consent-accept { background: #fff; color: #143650; }
.cookie-consent-reject { background: transparent; color: #fff; }

a:focus-visible, button:focus-visible, select:focus-visible, input:focus-visible { outline: 3px solid #f5b400 !important; outline-offset: 3px; }

@media only screen and (min-width: 768px) {
    .mobile-menu { display: none !important; }
}

@media only screen and (max-width: 767px) {
    .header-top { flex-wrap: wrap; gap: 10px; justify-content: center; padding: 16px 0 10px; }
    .site-brand { justify-content: center; margin-right: 0; width: 100%; }
    .site-brand img { height: auto; max-width: 180px; width: 42%; }
    .langs { margin-left: 0; }
    .normal-contrast nav { margin-top: 4px; }
    .mobile-menu { display: block !important; height: 44px !important; margin: 8px auto 12px !important; width: 100% !important; }
    .normal-contrast .slider { box-shadow: none; margin-top: 0; }
    .normal-contrast .content > h1 { font-size: 27px !important; }
    .normal-contrast #art_headers .art_cont { margin-top: 12px; }
    #art_headers { padding-top: 8px; }
    .news-detail-header { padding: 0 0 15px; }
    .news-detail-header h1 { font-size: 25px !important; }
    .footer-main { gap: 34px; grid-template-columns: 1fr; padding: 34px 0 24px; }
    #footer_dojazd iframe { height: 380px; }
    .footer-links ul { gap: 8px 20px; }
    .footer-technical { flex-wrap: wrap; gap: 4px 18px; justify-content: flex-start; }
    #cookieConsent { align-items: stretch; flex-direction: column; gap: 12px; }
    .cookie-consent-actions { width: 100%; }
    .cookie-consent-button { flex: 1; }
}

@media only screen and (max-width: 480px) {
    .site-brand img { width: 42%; }
    .langs a { padding: 0 6px; }
    .footer-contact-links a { align-items: flex-start; flex-direction: column; gap: 2px; }
    .footer-links ul { align-items: flex-start; flex-direction: column; }
    .bip-preview-dialog { max-height: calc(100vh - 20px); width: calc(100% - 20px); }
    .bip-preview-header { padding: 12px; }
    .bip-preview-header h2 { font-size: 16px; }
    .bip-preview-content iframe { height: 56vh; }
    .bip-preview-actions { align-items: stretch; flex-direction: column; padding: 10px 12px; }
    .bip-preview-action { text-align: center; }
    .news-attachment { gap: 9px; grid-template-columns: 46px minmax(0, 1fr) auto; padding: 10px; }
    .news-attachment-icon { height: 46px; width: 46px; }
    .attachment-preview-dialog { max-height: calc(100vh - 20px); width: calc(100% - 20px); }
    .attachment-preview-header { padding: 12px; }
    .attachment-preview-header h2 { font-size: 16px; }
    .attachment-preview-content iframe { height: 56vh; }
    .attachment-preview-actions { align-items: stretch; flex-direction: column; padding: 10px 12px; }
    .attachment-preview-action { text-align: center; }
    .balicka-gallery-modal { padding: 10px; }
    .balicka-gallery-dialog { max-height: calc(100vh - 20px); width: calc(100vw - 20px); }
    .balicka-gallery-stage { grid-template-columns: 44px minmax(0, 1fr) 44px; }
    .balicka-gallery-prev,
    .balicka-gallery-next { font-size: 34px; min-width: 44px; }
    .balicka-gallery-footer { align-items: stretch; flex-direction: column; }
    .balicka-gallery-download { text-align: center; }
}

/* Wysoki kontrast: czarne tło, złote elementy i bez szarych/niebieskich wyjątków. */
.high-contrast,
.high-contrast .bg-1,
.high-contrast header,
.high-contrast section,
.high-contrast footer {
    background: #000;
    color: #ffd700;
}

.high-contrast header,
.high-contrast footer { border-color: #ffd700; }
.high-contrast .langs a {
    background: #000;
    border: 2px solid #ffd700;
    color: #ffd700;
}
.high-contrast .langs a:hover,
.high-contrast .langs a:focus,
.high-contrast .langs a[aria-current="page"] {
    background: #ffd700;
    color: #000;
}

.high-contrast .tools a,
.high-contrast .tools .hc_button {
    background: #000;
    border: 2px solid #ffd700;
    color: #ffd700;
}
.high-contrast .tools a:hover,
.high-contrast .tools a:focus {
    background: #ffd700;
    border-color: #ffd700;
    color: #000;
}

.high-contrast .sf-menu { border-bottom-color: #ffd700; }
.high-contrast .sf-menu > li > a { border-color: #ffd700; color: #ffd700; }
.high-contrast .sf-menu > li.current > a,
.high-contrast .sf-menu > li:hover > a,
.high-contrast .sf-menu > li.sfHover > a {
    background: #ffd700;
    color: #000;
}
.high-contrast .sf-menu > li.current > a:after,
.high-contrast .sf-menu > li:hover > a:after,
.high-contrast .sf-menu > li.sfHover > a:after { border-bottom-color: #ffd700; }

.high-contrast .content,
.high-contrast .content > h1,
.high-contrast .content .home-title .home-company,
.high-contrast .content .home-section-title,
.high-contrast .content p,
.high-contrast .content strong,
.high-contrast .home-benefits li,
.high-contrast .home-benefits li::before,
.high-contrast #art_headers .art_cont,
.high-contrast #art_headers .art_cont h2,
.high-contrast #art_headers h4,
.high-contrast #art_headers a {
    color: #ffd700 !important;
}
.high-contrast .content,
.high-contrast #art_headers .art_cont { border-color: #ffd700; }
.high-contrast #art_headers .art_cont,
.high-contrast .home-transport {
    background: #000;
    border-color: #ffd700;
    color: #ffd700;
}
.high-contrast .box-2 + .box-2 { border-color: #ffd700; }
.high-contrast .news-list-title::before { background: #ffd700; }
.high-contrast #art_headers .news-panel { background: transparent; border: 0; }
.high-contrast .news-panel::before { background: #ffd700; }
.high-contrast .news-panel-inner { background: #000; border: 2px solid #ffd700; }
.high-contrast .news-card,
.high-contrast .news-attachment,
.high-contrast .news-detail-header,
.high-contrast .news-attachments { background: #000; border-color: #ffd700; color: #ffd700; }
.high-contrast .news-card-date,
.high-contrast .news-card-title,
.high-contrast .news-card-arrow,
.high-contrast .news-detail-eyebrow,
.high-contrast .news-detail-header h1,
.high-contrast .news-detail-header time,
.high-contrast .news-detail-content,
.high-contrast .news-detail-content p,
.high-contrast .news-detail-back,
.high-contrast .news-attachments-heading > span,
.high-contrast .news-attachments-heading h2,
.high-contrast .news-attachment-copy strong,
.high-contrast .news-attachment-meta,
.high-contrast .news-attachment-cta,
.high-contrast .news-attachment-arrow { color: #ffd700 !important; }
.high-contrast .news-detail-content * { background-color: transparent !important; color: #ffd700 !important; }
.high-contrast .news-card:hover,
.high-contrast .news-card:focus,
.high-contrast .news-attachment:hover,
.high-contrast .news-attachment:focus { background: #ffd700; color: #000 !important; }
.high-contrast .news-card:hover .news-card-date,
.high-contrast .news-card:hover .news-card-title,
.high-contrast .news-card:hover .news-card-arrow,
.high-contrast .news-card:focus .news-card-date,
.high-contrast .news-card:focus .news-card-title,
.high-contrast .news-card:focus .news-card-arrow,
.high-contrast .news-attachment:hover strong,
.high-contrast .news-attachment:hover span,
.high-contrast .news-attachment:focus strong,
.high-contrast .news-attachment:focus span { color: #000 !important; }
.high-contrast .news-attachment-icon { background: #ffd700; color: #000 !important; }

.high-contrast footer,
.high-contrast footer p,
.high-contrast footer a,
.high-contrast footer li,
.high-contrast footer address,
.high-contrast footer span,
.high-contrast footer strong,
.high-contrast footer h2,
.high-contrast .footer-wordmark span,
.high-contrast .footer-wordmark strong { color: #ffd700; }
.high-contrast footer { border-top: 5px solid #ffd700; }
.high-contrast .footer-contact-links a { background: #000; border: 2px solid #ffd700; }
.high-contrast .footer-contact-links a:hover,
.high-contrast .footer-contact-links a:focus { background: #ffd700; color: #000; }
.high-contrast .footer-contact-links a:hover span,
.high-contrast .footer-contact-links a:hover strong,
.high-contrast .footer-contact-links a:focus span,
.high-contrast .footer-contact-links a:focus strong { color: #000; }
.high-contrast .footer-links { border-color: #ffd700; }
.high-contrast .footer-links a { color: #ffd700 !important; }
.high-contrast .footer-bip img { border-color: #ffd700; }
.high-contrast #footer_dojazd iframe { border: 2px solid #ffd700; }
.high-contrast .bip-file-link::after { background: #000; border: 2px solid #ffd700; color: #ffd700; }
.high-contrast .bip-preview-dialog,
.high-contrast .bip-preview-header,
.high-contrast .bip-preview-content,
.high-contrast .bip-preview-actions { background: #000; border-color: #ffd700; color: #ffd700; }
.high-contrast .bip-preview-dialog { border: 3px solid #ffd700; }
.high-contrast .bip-preview-header h2,
.high-contrast .bip-preview-header > div > span { color: #ffd700; }
.high-contrast .bip-preview-close,
.high-contrast .bip-preview-action { background: #000; border-color: #ffd700; color: #ffd700 !important; }
.high-contrast .bip-preview-close:hover,
.high-contrast .bip-preview-close:focus,
.high-contrast .bip-preview-action:hover,
.high-contrast .bip-preview-action:focus { background: #ffd700; color: #000 !important; }
.high-contrast .attachment-preview-dialog,
.high-contrast .attachment-preview-header,
.high-contrast .attachment-preview-content,
.high-contrast .attachment-preview-actions { background: #000; border-color: #ffd700; color: #ffd700; }
.high-contrast .attachment-preview-dialog { border: 3px solid #ffd700; }
.high-contrast .attachment-preview-header h2,
.high-contrast .attachment-preview-header > div > span,
.high-contrast .attachment-preview-unavailable,
.high-contrast .attachment-preview-unavailable strong { color: #ffd700; }
.high-contrast .attachment-preview-close,
.high-contrast .attachment-preview-action { background: #000; border-color: #ffd700; color: #ffd700 !important; }
.high-contrast .attachment-preview-close:hover,
.high-contrast .attachment-preview-close:focus,
.high-contrast .attachment-preview-action:hover,
.high-contrast .attachment-preview-action:focus { background: #ffd700; color: #000 !important; }
.high-contrast .balicka-gallery-dialog,
.high-contrast .balicka-gallery-header,
.high-contrast .balicka-gallery-footer { background: #000; border-color: #ffd700; color: #ffd700; }
.high-contrast .balicka-gallery-dialog { border: 3px solid #ffd700; }
.high-contrast .balicka-gallery-counter,
.high-contrast .balicka-gallery-caption { color: #ffd700; }
.high-contrast .balicka-gallery-close,
.high-contrast .balicka-gallery-prev,
.high-contrast .balicka-gallery-next,
.high-contrast .balicka-gallery-download { background: #000; border: 2px solid #ffd700; color: #ffd700 !important; }
.high-contrast .balicka-gallery-close:hover,
.high-contrast .balicka-gallery-close:focus,
.high-contrast .balicka-gallery-prev:hover,
.high-contrast .balicka-gallery-prev:focus,
.high-contrast .balicka-gallery-next:hover,
.high-contrast .balicka-gallery-next:focus,
.high-contrast .balicka-gallery-download:hover,
.high-contrast .balicka-gallery-download:focus { background: #ffd700; color: #000 !important; }

.high-contrast input,
.high-contrast textarea,
.high-contrast select,
.high-contrast nav select {
    background: #000;
    border: 2px solid #ffd700;
    color: #ffd700;
}
.high-contrast table,
.high-contrast th,
.high-contrast td { border-color: #ffd700; color: #ffd700; }
.high-contrast a:hover { text-decoration: underline; }

.high-contrast .slider .camera_prev,
.high-contrast .slider .camera_next {
    background: #000;
    border: 2px solid #ffd700;
}

.high-contrast #popup {
    background: #000;
    border: 3px solid #ffd700;
    color: #ffd700;
}
.high-contrast #popup .bClose {
    background: #000;
    color: #ffd700;
}

.high-contrast #cookieConsent { border-top: 3px solid #ffd700; color: #fff !important; }
.high-contrast .cookie-consent-button { border-color: #ffd700; }
.high-contrast .cookie-consent-accept { background: #ffd700; color: #000; }
.high-contrast .cookie-consent-reject { background: #000; color: #ffd700; }

.high-contrast a:focus-visible,
.high-contrast button:focus-visible,
.high-contrast select:focus-visible,
.high-contrast input:focus-visible { outline-color: #00ffff !important; }
