/*
Theme Name: BIP Child
Template: astra
Version: 1.0
*/

/* ================= RESET ================= */
html{ background:#ffffff; }

body{
    margin:0;
    background:#ffffff;
    font-family:Arial, Helvetica, sans-serif;
    font-size:13px;
    color:#000;
}

/* ================= SKIP LINK ================= */
.skip-link{
    position:absolute;
    left:-9999px;
    top:auto;
}
.skip-link:focus{
    left:10px;
    top:10px;
    background:#000;
    color:#fff;
    padding:6px 10px;
    z-index:99999;
}

/* ================= HEADER ================= */
.bip-top-red{
    position:relative;
    background:linear-gradient(#d71919,#b10f0f);
    height:72px;
    border:1px solid #d71919;
    padding:10px 20px 0 0;
    display:flex;
    justify-content:flex-end;
}

.bip-left{
    position:absolute;
    left:15px;
    top:50%;
    transform:translateY(-50%);
    display:flex;
    align-items:center;
    gap:10px;
}

.bip-logo{ height:42px; }

.bip-text{
    color:#fff;
    font-size:13px;
    line-height:1.15;
    text-transform:lowercase;
}

/* ================= SEARCH ================= */
.bip-search{
    display:flex;
    flex-direction:column;
    margin-top:16px;
}
.bip-search-row{
    display:flex;
    gap:6px;
}
.bip-search input{
    width:135px;
    height:20px;
    padding:2px 6px;
    font-size:11px;
    border:1px solid #333;
    background:#fff;
    box-shadow:inset 0 0 6px rgba(0,0,0,.8);
}
.bip-search button{
    width:52px;
    height:20px;
    font-size:9px;
    font-weight:bold;
    border:1px solid #555;
    background:linear-gradient(#d6d6d6,#5e5e5e);
    color:#fff;
    cursor:pointer;
}

/* ================= GRAY BAR ================= */
.bip-top-gray{
    background:#5c5c5c;
    color:#fff;
    text-align:center;
    padding:14px;
    font-size:20px;
    font-weight:bold;
    letter-spacing:1px;
    text-transform:uppercase;
}

/* ================= LAYOUT ================= */
.bip-wrap{
    max-width:960px;
    margin:0 auto;
}
.bip-main{
    display:flex;
    padding:20px 0;
}

/* ================= SIDEBAR + MENU ================= */
.bip-sidebar{ width:240px; }

.menu-title{
    background:linear-gradient(#d71919,#8b0b0b);
    color:#fff;
    padding:6px 10px;
    font-weight:bold;
}

.bip-menu,
.bip-menu li{
    list-style:none;
    margin:0;
    padding:0;
}
.bip-menu li{
    border-bottom:1px solid #ccc;
}
.bip-menu a{
    display:block;
    padding:10px;
    font-size:11px;
    color:#000;
    text-decoration:none;
}
.bip-menu a:hover,
.bip-menu .current-menu-item>a{
    background:#f0f0f0;
    color:#d71919;
    font-weight:bold;
}

/* ================= CONTENT ================= */
.bip-content{
    flex:1;
    margin-left:20px;
    padding:20px;
}

/* ================= ARTICLE ================= */
.bip-article{
    border:1px solid #ccc;
    padding:15px;
    font-size:12px;
}

/* ================= FOOTER ================= */
.footer{
    font-size:11px;
    text-align:center;
    padding:10px;
    border-top:1px solid #ccc;
}

/* ================= WCAG ================= */
body.font-small{ font-size:11px; }
body.font-normal{ font-size:13px; }
body.font-big{ font-size:18px; }

body.high-contrast{
    background:#000 !important;
    color:#fff !important;
}
body.high-contrast a{
    color:#ffff00 !important;
}

/* ================= ASTRA RESET ================= */
.ast-breadcrumbs,
.ast-title-bar-wrap,
.ast-page-title,
.entry-header{
    display:none !important;
}
/* ===== STOPKA BIP – ASTRA FORCE CENTER ===== */

.site-footer,
.site-footer * {
    text-align: center !important;
}

.site-footer {
    display: block !important;
    width: 100% !important;
    margin: 20px auto !important;
    padding: 10px 0 !important;
    background: #ffffff !important;
}

/* główny kontener ASTRY */
.ast-footer-wrap {
    display: block !important;
    text-align: center !important;
}

/* właściwy tekst copyright */
.ast-footer-copyright,
.ast-footer-copyright p,
.ast-footer-copyright span {
    display: block !important;
    width: 100% !important;
    margin: 0 auto !important;
    padding: 0 !important;
    text-align: center !important;
    font-size: 11px !important;
    line-height: 1.4 !important;
    color: #000 !important;
}

/* zabija flex/grid ASTRY */
.ast-footer-row,
.ast-footer-row * {
    display: block !important;
    float: none !important;
}
/* ===== STOPKA BIP – WYMUSZONE CENTROWANIE ===== */
body .bip-footer,
body .bip-footer * {
    text-align: center !important;
}

body .bip-footer {
    max-width: 960px;
    margin: 20px auto 0 !important;
    padding: 12px 0;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 11px !important;
    line-height: 1.4;
    background: #fff;
    color: #000;
}
