#offerNew{

}
#offerNew .col-main p{
    margin-bottom: 0;
}
#offerNew .col-main{
    padding: 0;
}
#offerNew .buildingTypeRow{
    padding: 0;
    display: flex;
}
#offerNew .buildingTypeRow.mainCategory .buildingTypeButton{
    margin-top:0px;
}
#offerNew .buildingTypeRow:focus{
    outline: none;
}
#offerNew .buildingTypeRow .buildingTypeButton{
    float:left;
    margin-right: 10px;
    background:#fff;
    margin-top:10px;
    color: #000;
    border: 1px solid #dad7d7;
}
#offerNew .buildingTypeRow .buildingTypeButton.selected{
    background:#d342c7;
    color: #fff;
}

#offerNew .durationAgreement{
    padding: 0;
    height: 90px;
}
#offerNew .durationAgreement .row{
    width:100%;
    clear:both;
    text-align: left;
    float:left;
}
#offerNew .row{
    clear: both;
    text-align: left;
    margin-bottom: 0;
}
#offerNew .row .labelText{
    margin-top:20px;
    font-weight: normal;
    color: #797f80;
    margin-bottom: 10px;

}
#offerNew .durationAgreement .durationAgreementButton{
    float:left;
    margin-right: 10px;
    background:#54afc6;
    margin-top:0;
}
#offerNew .durationAgreement .durationAgreementButton.selected{
    background:#d342c7;
}

.productListUl {
    position: relative;
    margin-top: 10px;
    margin-top:30px;
}
.productListUl > li {
    position: relative;
    display: block;
    float: left;
    padding: 30px 30px 35px 30px;
    width: 19%;
    margin-right: 1%;
    background: rgba(255,255,255,0.75);
    -webkit-box-shadow: 5px 5px 3px 0px rgba(0, 0, 0, 0.33);
    -moz-box-shadow:    5px 5px 3px 0px rgba(0, 0, 0, 0.33);
    box-shadow:         5px 5px 3px 0px rgba(0, 0, 0, 0.33);
}
.productListUl li:last-child {
    margin-right: 0;
}
.productListUl h2 {
    padding-bottom: 25px;
    border-bottom: 1px solid #54afc6;
    margin-bottom: 14px;
    font-size: 22px;
    font-weight: normal;
    color: #54afc6;
    /*text-transform: uppercase;*/
    text-align: center;
}
.productListUl h3 {
    font-size: 40px;
    font-weight: normal;
    text-align: center;
    color: #54afc6;
}
.productListUl h4 {
    font-size: 30px;
    font-weight: normal;
    text-align: center;
    color: #54afc6;
}
.productListUl .lines {
    position: absolute;
    width: 208px;
    height: 102px;
    left: -208px;
    bottom: -14px;
    background: url('../img/bg-lines.png');
}
.productListUl .lines-tv1 {
    position: absolute;
    width: 253px;
    height: 144px;
    left: -253px;
    top: 66px;
    background: url('../img/tv-lines1.png');
}
.productListUl .lines-tv2 {
    position: absolute;
    width: 318px;
    height: 125px;
    right: -318px;
    top: 305px;
    background: url('../img/tv-lines2.png');
}
.productListUl .tv-box-new {
    padding: 0;
    margin-top: 1%;
}
.tv-top-new {
    padding: 15px;
}
.tv-top-new p {
    margin-bottom: 0;
    text-align: center;
    font-size: 24px;
    font-weight: lighter;
    color: #54afc6;
}

.tv-top-new .descriptionOfferList a,
.tv-top-new .descriptionOfferList p {
    font-size:14px;
    color: #41a5eb;
}
.tv-top-new p strong {
    font-weight: bold;
}
.productListUl .tv-box-new.gold h2 {
    color: #c8b485;
}
.productListUl .tv-box-new.red h2 {
    color: #dc2929;
}
.productListUl .tv-box-new.blue h2 {
    color: #41a5eb;
}
.productListUl .tv-box-new h2 {
    padding-bottom: 0;
    border-bottom: 0;
    margin-bottom: 5px;
}
.productListUl .tv-box-new.gold .pink-btn {
    background: #c8b485;
}
.productListUl .tv-box-new.red .pink-btn {
    background: #dc2929;
}
.productListUl .tv-box-new.blue .pink-btn {
    background: #41a5eb;
}
.productListUl .tv-box-new .pink-btn {
    margin-top: 14px;
    background: #54afc6;
}
.productListUl .tv-box-new .pink-btn.selected {
    background: #d342c7;
}
.productListUl .tv-box-new li {
    display: block;
    padding: 10px;
    border-bottom: 1px solid #54afc6;
    text-align: center;
    font-size: 18px;
    font-weight: lighter;
    color: #54afc6;
}
.productListUl .tv-box-new li span {
    font-weight: normal;
}
.productListUl .tv-box-new li strong {
    font-weight: bold;
}
.productListUl .tv-box-new li:last-child {
    border-bottom: 0;
}
.productListUl .tv-box-new .freeBox{
    padding: 0px 15px 15px 15px;
    text-align: left;
    display: block;
}
.productListUl .tv-box-new .freeBox p{
    font-size:13px;
}

#attributesExtendedList{
    clear:both;
    width:100%;
    display: flex;
    flex-flow: row wrap;
    margin-top: 30px;
    padding: 10px;
    background: rgba(255,255,255,0.75);
}
#attributesExtendedList .itemAttr{
    width:100%;
    border-bottom: 1px solid #54afc6;
    height: 63px;
    padding: 15px 0px;
    clear:both;
    display: block;
}
#attributesExtendedList .itemAttr h4{
    font-size: 19px;
    font-weight: normal;
}
#attributesExtendedList .itemAttr p.price{
    font-size: 18px;
    color: #54afc6;
    font-weight: bold;
    margin-bottom: 5px;
}

#attributesExtendedListTv{
    clear:both;
    width:100%;
    display: flex;
    flex-flow: row wrap;
    margin-top: 30px;
    padding: 10px;
    background: rgba(255,255,255,0.75);
}
#attributesExtendedListTv .itemAttr{
    width:100%;
    border-bottom: 1px solid #54afc6;
    height: 63px;
    padding: 15px 0px;
    clear:both;
    display: block;
}
#attributesExtendedListTv .itemAttr h4{
    font-size: 19px;
    font-weight: normal;
    text-align: left;
}
#attributesExtendedListTv .itemAttr p.price{
    font-size: 18px;
    color: #54afc6;
    font-weight: bold;
    margin-bottom: 5px;
}

#confirmationSection{
    clear:both;
    width:100%;
    display: flex;
    flex-flow: row wrap;
    margin-top: 30px;
}
#confirmationSection form{
    width: 100%;
}
#confirmationSection .left{
    width: 50%;
    text-align: left;
    background: rgba(255,255,255,0.75);
    padding: 10px;
}

#confirmationSection .right{
    padding: 36px;
    background: url('../img/pattern.jpg');
    width: 49%;
    min-height: 300px;
    margin-left: 1%;
}
#confirmationSection .right h3{
    margin-bottom: 26px;
    color: #fff;
    font-weight: bold;
    font-size: 25px;
    text-transform: uppercase;
    text-align: center;
}
#confirmationSection .right .input-wrapper {
    display: block;
    float: left;
    width: 49%;
    margin-right: 1%;
    margin-bottom: 1%;
}
#confirmationSection .right .input-wrapper.full-input{
    width:99%;
    margin-right: 0;
}
#confirmationSection .right .input-wrapper-full.buttonSection {
    margin-top:20px;
}
#confirmationSection .right .input-wrapper input {
    width: 100%;
    height: 34px;
    border: 0;
    padding: 0 10px;
    font-family: "Calibri";
    font-size: 14px;
}
#confirmationSection .right .input-wrapper label {
    display: block;
    margin-bottom: 5px;
    margin-top: 5px;
    font-size: 16px;
    color: #fff;
    text-transform: uppercase;
    text-align: left;
}


#confirmationSection .left h4{
    font-weight: bold;
    margin-bottom: 20px;
    font-size: 22px;
    color: #54afc5;
}
#confirmationSection .left #confirmationTable{
    width: 100%;
}
#confirmationSection .left #confirmationTable tbody tr{
    border-bottom: 1px solid #000;
}
#confirmationSection .left #confirmationTable td{
    padding: 10px 0px;
    font-size: 19px;
    font-weight: normal;
}
#confirmationSection .left #confirmationTable td.textRight{
    text-align: right;
    font-weight: bold;
    color: #54afc6;
}
#confirmationSection .left #confirmationTable td.textRight span{
    font-weight: lighter;
    font-size: 16px;
    color: #000;
}
#extendedProductsList{
    clear:both;
    width:100%;
    display: flex;
    flex-flow: row wrap;
    margin-top: 30px;
    background: rgba(255,255,255,0.75);
    padding: 10px;
}
#extendedProductsList .itemExtProduct{
    width: 100%;
    text-align: left;
}
#extendedProductsList .itemExtProduct h3{
    font-size: 22px;
    color: #54afc5;
}
#extendedProductsList .itemAttr{
    width:100%;
    border-bottom: 1px solid #54afc6;
    height: 78px;
    padding: 15px 0px;
    clear:both;
    display: block;
}
#extendedProductsList .itemAttr h4{
    font-size: 19px;
    font-weight: normal;
}
#extendedProductsList .itemAttr p.price{
    font-size: 18px;
    color: #54afc6;
    font-weight: bold;
    margin-bottom: 05px;
}
#extendedProductsList .itemAttr p.description{
    font-size: 16px;
    color: #000;
    font-weight: lighter;
    margin-bottom: 5px;
}
#attributesExtendedList > h3, #attributesExtendedListTv > h3{
    font-size: 22px;
    color: #54afc5;
}

/***********        RWD         **************/
@media all and (max-width: 760px) {
    .btn{
        font-size: 18px;
        height: 38px;
        line-height: 40px;
    }
    .productListUl > li{
        width:49%;
    }
    #extendedProductsList .itemAttr p.description{
        font-size: 14px;
    }
    #extendedProductsList .itemAttr{
        position:relative;
        height: 86px;
    }
    #extendedProductsList .itemAttr .right{
        position: absolute;
        right: 30px;
        top: 0;
    }
    #confirmationSection .left{
        width:100%;
        clear:both;
    }
    #confirmationSection .right{
        width:100%;
        clear:both;
    }
    #confirmationSection .right .input-wrapper{
        width:100%;
    }
}



/***********        RWD-END     **************/




/********************************************/
/*               JTOGGLER                   */
/********************************************/
.jtoggler {
    display: none;
}
.jtoggler:disabled + .jtoggler-control,
.jtoggler:checked:disabled + .jtoggler-control {
    background-color: rgba(0,0,0,0.05);
}
.jtoggler:disabled + .jtoggler-control .jtoggler-handle {
    background-color: #ccc;
}
.jtoggler:disabled + .jtoggler-control:hover {
    cursor: default;
}
.jtoggler-wrapper {
    display: inline-flex;
    align-items: center;
}
.jtoggler-control {
    position: relative;
    width: 55px;
    height: 20px;
    background: #fff;
    border-radius: 30px;
    box-shadow: inset 4px 1px 7px 1px rgba(0,0,0,0.25);
    transition: background-color 0.3s;
}
.jtoggler-control:hover {
    cursor: pointer;
}
.jtoggler-control .jtoggler-handle {
    display: block;
    position: absolute;
    width: 20px;
    height: 20px;
    top: calc(50% - 10px);
    left: 0;
    background: #53afc5;
    border-radius: 50%;
    box-shadow: 0 1px 1px rgba(0,0,0,0.25);

    transition: left 0.3s;
}
.jtoggler:checked + .jtoggler-control {
    background: #d342c7;
}
.jtoggler:checked + .jtoggler-control .jtoggler-handle {
    left: 35px;
}
.jtoggler-label {
    padding-left: 5px;
}
.jtoggler-radio {
    display: none;
}
.jtoggler-btn-wrapper {
    display: flex;
    width: 33.33%;
}
.jtoggler-btn-wrapper:hover {
    cursor: pointer;
}
.jtoggler-wrapper-multistate .jtoggler-control {
    display: flex;
    width: 90px;
}
.jtoggler-wrapper-multistate .jtoggler-control.is-fully-active {
    background: #4a89dc;
}
.jtoggler-wrapper-multistate .jtoggler:disabled + .jtoggler-control:hover .jtoggler-btn-wrapper {
    cursor: default;
}
.jtoggler-btn-wrapper:nth-child(1).is-active ~ .jtoggler-handle {
    left: 0;
}
.jtoggler-btn-wrapper:nth-child(2).is-active ~ .jtoggler-handle {
    left: 30px;

    background: #4a89dc;
}
.jtoggler-btn-wrapper:nth-child(3).is-active ~ .jtoggler-handle {
    left: 62px;
}

.alert{
    text-align: left;
}
.alert h3{
    padding-bottom: 25px;
    margin-bottom: 14px;
    font-size: 22px;
    font-weight: bold;
    color: #54afc6;
    text-transform: uppercase;
}
.alert p{
    margin-bottom: 14px;
    font-size: 22px;
    font-weight: normal;
    color: #54afc6;
}
.selectDuration{
    margin-top: 10px;
}
.selectDuration select.select.durationSelectInput{
    width: 100%;
    height: 29px;
    font-size: 14px;
}


/***** MODAL *****/

.modal {
    display: block;
    position: fixed;
    padding-top: 50px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgb(0, 0, 0);
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 9999;
}
.modal.hidden{
    display: none;
}
.modal-content {
    position: relative;
    background-color: white;
    padding: 20px;
    margin: auto;
    width: 75%;
    -webkit-animation-name: animatetop;
    -webkit-animation-duration: 0.4s;
    animation-name: animatetop;
    animation-duration: 0.4s;
    height: 80vh;
    overflow-x: scroll;
}
.close-btn {
    float: right;
    color: lightgray;
    font-size: 24px;
    font-weight: bold;
}
.close-btn:hover {
    color: darkgray;
}
@-webkit-keyframes animatetop {
    from {top:-300px; opacity:0}
    to {top:0; opacity:1}
}
@keyframes animatetop {
    from {top:-300px; opacity:0}
    to {top:0; opacity:1}
}


.btn-small{
    font-size: 13px !important;
    color: #fff;
    padding: 10px;
    border: none;
}
#mainContent .program-list li{
    width: 10% !important;
    height:55px !important;
}
#mainContent .program-list li:nth-child(3n){
    margin-right:1% !important;
}
#mainContent .program-list li a{
    height: 55px;
}
#tooltip.tooltipConfiguratorPage{
    z-index: 10000;
}
.openTvModal:hover{
    cursor: pointer;
}
.tooltipActivation:hover{
    cursor: pointer;
}
.showModalExtOptionTvPacks{
    background: #54afc6;
    border: none;
    font-size: 13px;
    color: #fff;
    margin-left: 10px;
}
.tv-box-new.disabledBox{
    opacity:0.5;
}

#offerMainRootForm input.error{
    border: 3px solid #ea7f7f !important;
}

/* Kalkulator oferty: sekcja z tłem rozciąga się co najmniej do rozmiaru jak z kafelkami
   (do stopki przy krótkiej treści), tło pokrywa całą sekcję zamiast kończyć się pod kafelkami. */
#offerNew > .tv {
    min-height: max(620px, calc(100vh - 300px));
    background-size: cover !important;
    background-position: center top;
}
@media screen and (max-width: 720px) {
    #offerNew > .tv {
        min-height: 0;
    }
}

/* Aktualności: paginacja z paginate_links (type list) w poziomie, bez kropek, bieżąca strona wypełniona. */
.news .pagination {
    margin: 30px 0 10px;
    text-align: center;
}
.news .pagination ul.page-numbers {
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.news .pagination ul.page-numbers li {
    display: inline-block;
    margin: 0;
    padding: 0;
    background: none;
}
.news .pagination .page-numbers {
    display: inline-block;
    min-width: 36px;
    padding: 6px 10px;
    border: 1px solid #54afc6;
    border-radius: 3px;
    background: #fff;
    color: #54afc6;
    font-size: 15px;
    line-height: 1.4;
    text-align: center;
    text-decoration: none;
}
.news .pagination a.page-numbers:hover {
    background: #e8f5f9;
    color: #2f8aa3;
}
.news .pagination .page-numbers.current {
    background: #54afc6;
    color: #fff;
    font-weight: bold;
}
.news .pagination .page-numbers.dots {
    border: none;
    background: none;
    color: #888;
}

/* Kontakt: układ kart (template-formularz-kontaktowy.php, .contact-modern). */
.contact-modern {
    padding: 40px 0 60px;
    background: #f4f6f7;
}
.contact-modern .cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    margin-bottom: 24px;
}
.contact-modern .cards.two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}
.contact-modern .card {
    display: flex;
    flex-direction: column;
    padding: 28px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}
.contact-modern .card h2 {
    margin: 0 0 14px;
    font-size: 20px;
    font-weight: bold;
    color: #333;
}
.contact-modern .card p {
    margin: 0 0 10px;
    font-size: 16px;
    line-height: 1.55;
    color: #555;
}
.contact-modern .card p:last-child {
    margin-bottom: 0;
}
.contact-modern .card a {
    color: #02a6c2;
    text-decoration: none;
}
.contact-modern .card a:hover {
    text-decoration: underline;
}
.contact-modern .card .big {
    display: inline-block;
    margin: 2px 0 12px;
    font-size: 32px;
    font-weight: bold;
    line-height: 1.2;
    color: #54afc6;
}
.contact-modern .card .muted {
    font-size: 14px;
    color: #888;
}
.contact-modern .card .actions {
    margin-top: auto;
    padding-top: 18px;
}
.contact-modern .btn-primary,
.contact-modern .btn-secondary {
    display: inline-block;
    padding: 12px 22px;
    border: 0;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    line-height: 1.2;
    text-decoration: none !important;
    cursor: pointer;
}
.contact-modern .btn-primary {
    background: #d342c7;
    color: #fff !important;
}
.contact-modern .btn-primary:hover {
    background: #d60dc5;
}
.contact-modern .btn-secondary {
    background: #e8f5f9;
    color: #1c8da9 !important;
}
.contact-modern .btn-secondary:hover {
    background: #d4edf4;
}
.contact-modern .notice {
    margin-bottom: 24px;
    padding: 16px 20px;
    border-left: 4px solid #54afc6;
    border-radius: 8px;
    background: #e8f5f9;
    font-size: 16px;
    color: #333;
}
.contact-modern .map-card {
    position: relative;
    padding: 0;
    overflow: hidden;
}
.contact-modern .map-card #map {
    min-height: 420px;
}
.contact-modern .map-card #searchMarker {
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 5;
    width: calc(100% - 32px);
    max-width: 340px;
    padding: 8px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}
.contact-modern .map-card #searchMarker input[type="text"] {
    box-sizing: border-box;
    width: 100%;
    height: 38px;
    padding: 0 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 15px;
}
@media screen and (max-width: 900px) {
    .contact-modern .cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media screen and (max-width: 640px) {
    .contact-modern {
        padding: 24px 0 40px;
    }
    .contact-modern .cards,
    .contact-modern .cards.two {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .contact-modern .card {
        padding: 22px;
    }
    .contact-modern .card .big {
        font-size: 26px;
    }
    .contact-modern .map-card #map {
        min-height: 320px;
    }
}

/* Strona główna: slajd KPO / NextGenerationEU w karuzeli (#slick .slide-kpo), link do Programów Unijnych. */
#slick .slide-kpo {
    background: #fff;
}
#slick .slide-kpo .wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 390px;
    text-decoration: none;
}
#slick .slide-kpo img {
    width: 100%;
    max-width: 760px;
    height: auto;
}
#slick .slide-kpo p {
    max-width: 760px;
    margin: 28px 0 14px;
    font-size: 18px;
    line-height: 1.5;
    color: #555;
}
#slick .slide-kpo .slide-kpo-more {
    display: inline-block;
    padding: 10px 22px;
    border-radius: 8px;
    background: #54afc6;
    color: #fff;
    font-size: 16px;
    font-weight: bold;
}
#slick .slide-kpo .wrapper:hover .slide-kpo-more {
    background: #1c8da9;
}
@media screen and (max-width: 1000px) {
    #slick .slide-kpo .wrapper {
        height: 320px;
    }
    #slick .slide-kpo p {
        margin: 18px 0 10px;
        font-size: 15px;
    }
}
@media screen and (max-width: 640px) {
    #slick .slide-kpo .wrapper {
        height: 260px;
    }
    #slick .slide-kpo p {
        display: none;
    }
}

/* Wsparcie klienta (archive-faq.php, .faq-page): tło na całą sekcję, karta z akordeonem. */
.content .faq-page {
    min-height: max(520px, calc(100vh - 300px));
    padding: 40px 0 50px;
    background-size: cover !important;
}
.faq-page .faq-container {
    padding: 8px 32px 12px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}
.faq-page .faq-lead {
    margin: 14px 0 6px;
    font-size: 16px;
    color: #777;
    text-align: left;
}
.faq-page #faq-list > li {
    border-bottom: 1px solid #e3e6e8;
}
.faq-page #faq-list > li:last-child {
    border-bottom: 0;
}
.faq-page .faq-container header {
    position: relative;
    padding: 16px 40px 16px 0;
    font-size: 19px;
    color: #333;
}
.faq-page .faq-container header.blue {
    font-size: 20px;
    font-weight: bold;
    color: #1c8da9;
}
.faq-page .faq-container header:hover {
    color: #02a6c2;
}
.faq-page .faq-container header::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 10px;
    width: 10px;
    height: 10px;
    border-right: 2px solid #54afc6;
    border-bottom: 2px solid #54afc6;
    transform: translateY(-70%) rotate(45deg);
    transition: transform 0.2s;
}
.faq-page .faq-container header.active::after {
    transform: translateY(-30%) rotate(-135deg);
}
.faq-page ul.sub-content {
    padding-left: 16px;
}
.faq-page ul.sub-content > li {
    border-top: 1px solid #eef1f2;
}
.faq-page ul.sub-content > li > header {
    padding: 12px 40px 12px 0;
    font-size: 17px;
}
.faq-page .faq-padding {
    padding: 4px 0 18px;
    font-size: 16px;
    line-height: 1.6;
    color: #555;
    text-align: left;
}
.faq-page .faq-padding p {
    margin-bottom: 10px;
}
.faq-page .faq-padding a {
    color: #02a6c2;
}
.faq-page .sub-content {
    transition: max-height 0.3s ease;
}
@media screen and (max-width: 640px) {
    .content .faq-page {
        min-height: 0;
        padding: 20px 0 30px;
    }
    .faq-page .faq-container {
        padding: 4px 16px 8px;
    }
    .faq-page .faq-container header {
        font-size: 17px;
    }
}

/* Wszystkie podstrony: sekcja treści co najmniej do stopki, tło pokrywa całą sekcję (zamiast kończyć się
   pod krótką treścią). Kalkulator (#offerNew > .tv), kontakt (.contact-modern) i FAQ (.faq-page) mają własne reguły. */
.content > .biznes-page,
.content > .internet,
.content > .internet2,
.content > .phone,
.content > .phone2,
.content > .tvmore-page,
.content > .biznes2,
.content > .news {
    min-height: max(520px, calc(100vh - 300px));
    background-size: cover !important;
    background-position: center top;
}
@media screen and (max-width: 640px) {
    .content > .biznes-page,
    .content > .internet,
    .content > .internet2,
    .content > .phone,
    .content > .phone2,
    .content > .tvmore-page,
    .content > .biznes2,
    .content > .news {
        min-height: 0;
    }
}

/* Strony informacyjne (panel-klienta.php, 404.php): karta jak nowy ekran logowania iBOK. */
.content > .info-page {
    min-height: max(520px, calc(100vh - 300px));
    padding: 48px 0 60px;
    background: #f4f6f7;
}
.info-page .info-card {
    max-width: 640px;
    margin: 0 auto;
    padding: 36px 40px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 18px 45px rgba(49, 49, 49, 0.18);
}
.info-page .info-badge {
    display: inline-block;
    margin-bottom: 14px;
    padding: 4px 12px;
    border-radius: 999px;
    background: #e8f6f9;
    color: #1f6f82;
    font-size: 13px;
    font-weight: bold;
    letter-spacing: 0.3px;
    text-transform: uppercase;
}
.info-page h3 {
    margin: 0 0 12px;
    font-size: 28px;
    font-weight: bold;
    line-height: 1.2;
    color: #383838;
}
.info-page .info-lead {
    margin: 0 0 18px;
    font-size: 17px;
    line-height: 1.55;
    color: #595959;
}
.info-page .info-list {
    margin: 0 0 24px;
    padding: 0 0 0 20px;
    list-style: disc;
}
.info-page .info-list li {
    margin-bottom: 8px;
    font-size: 16px;
    line-height: 1.5;
    color: #595959;
}
.info-page a {
    color: #05a5ce;
}
.info-page .info-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}
.info-page .btn-primary,
.info-page .btn-secondary {
    display: inline-block;
    padding: 12px 22px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    line-height: 1.2;
    text-decoration: none !important;
}
.info-page .btn-primary {
    background: #d342c7;
    color: #fff !important;
    box-shadow: 0 6px 16px rgba(211, 66, 199, 0.28);
}
.info-page .btn-primary:hover {
    background: #d60dc5;
}
.info-page .btn-secondary {
    background: #f4f7f8;
    color: #1c8da9 !important;
}
.info-page .btn-secondary:hover {
    background: #e8f5f9;
}
@media screen and (max-width: 640px) {
    .content > .info-page {
        min-height: 0;
        padding: 24px 0 40px;
    }
    .info-page .info-card {
        padding: 24px 20px;
    }
    .info-page h3 {
        font-size: 23px;
    }
}

/* Strony tekstowe (template-strona.php, .text-page): jedna czcionka i typografia jak na kartach kontaktu,
   treść z importu ma własne font-family w atrybutach style, nadpisujemy. */
.text-page .border-wrapper,
.text-page .border-wrapper * {
    font-family: Calibri, sans-serif !important;
}
.text-page .border-wrapper {
    padding-top: 10px;
}
.text-page p,
.text-page li {
    color: #555;
    font-size: 16px;
    font-weight: normal;
    line-height: 1.55;
}
.text-page p {
    padding-bottom: 14px;
}
.text-page h2:not(.page-hader),
.text-page h3,
.text-page h4 {
    margin: 18px 0 10px;
    padding: 0;
    color: #333;
    font-weight: bold;
    line-height: 1.25;
}
.text-page h2:not(.page-hader) {
    font-size: 26px;
}
.text-page h3 {
    font-size: 22px;
}
.text-page h4 {
    font-size: 18px;
}
.text-page ul,
.text-page ol {
    margin: 0 0 14px 22px;
}
.text-page ul {
    list-style: disc;
}
.text-page ol {
    list-style: decimal;
}
.text-page a {
    color: #02a6c2;
}
.text-page strong {
    color: #333;
}

/* Wsparcie klienta: gdy coś jest otwarte (klasa has-open ze skryptu), otwarty temat i pytanie wyróżnione,
   pozostałe wyszarzone. Przy wszystkim zamkniętym lista wygląda normalnie. */
.faq-page #faq-list.has-open > li > header.blue:not(.active) {
    color: #8a9699;
    font-weight: normal;
}
.faq-page #faq-list.has-open > li > header.blue:not(.active)::after {
    border-color: #b9c3c6;
}
.faq-page #faq-list.has-open > li > header.blue:not(.active):hover {
    color: #1c8da9;
}
.faq-page ul.sub-content.has-open > li > header:not(.active) {
    color: #8a9699;
}
.faq-page ul.sub-content.has-open > li > header:not(.active)::after {
    border-color: #b9c3c6;
}
.faq-page ul.sub-content.has-open > li > header:not(.active):hover {
    color: #333;
}
.faq-page ul.sub-content > li > header.active {
    color: #222;
    font-weight: bold;
}
.faq-page ul.sub-content > li > .sub-content.show .faq-padding {
    margin: 0 0 14px;
    padding: 14px 18px 16px;
    border-left: 3px solid #54afc6;
    border-radius: 0 8px 8px 0;
    background: #f4f9fb;
    color: #444;
}
