/*
 * Custom CSS for Joomla 5 + Helix Ultimate
 * Author: Leszek Bober
 * All rights reserved © 1024B.IT
 * Description: Image float and text formatting fix for articles
 */

/* ------------------------------
   GLOBAL TEXT & LIST STYLING
--------------------------------*/
body {
    line-height: 1.9em;
}

/*** Header Area ***/
/* Header Menu */
#sp-header {
    top: 0;
    height: inherit;
}

#sp-header.header-sticky {
    position: fixed;
    top: 0;
    padding: 0;
    box-shadow: 0 0 4px 0 rgb(0 0 0 / 10%);
}

body:not(.home) #sp-header {
    position: static;
}

body:not(.home) #sp-header.header-sticky {
    position: fixed;
}

.sp-megamenu-parent .sp-dropdown li.sp-menu-item>a {
    font-size: 14px !important;
}
.sp-megamenu-parent > li > a, .sp-megamenu-parent > li > span, .sp-megamenu-parent .sp-dropdown li.sp-menu-item > a {
font-size: 1rem;
  }


/* Canvas Menu */
.offcanvas-menu .offcanvas-inner .menu-child>li a {
    padding: 12px 10px !important;
    border-bottom: 1px solid rgba(197, 153, 153, 0.21);
    display: inherit;
}

.offcanvas-menu .offcanvas-inner ul.menu>li>a,
.offcanvas-menu .offcanvas-inner ul.menu>li>span {
    font-size: 15px;
    font-weight: 500;
}

/*** Block Styles ***/
/* Button */
.tp-caption a.btn-slider {
    border: 2px solid #fff;
    display: inline-block;
    text-align: center;
    padding: 10px 30px;
    float: left;
    color: #fff !important;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 500;
    -webkit-transition-duration: 1000ms;
    transition-duration: 1000ms;
}

.tp-caption a.btn-slider:hover {
    border: 2px solid transparent;
}

.sppb-btn {
    font-size: 16px;
    text-transform: uppercase;
    padding: 15px 30px;
    border-radius: 0px !important;
}

.sppb-btn:hover,
.slider-btn a:hover {
    background: #000 !important;
}

/* Slider */
.slider-content {
    border: 5px solid #fff !important;
}

/* About */
.about {
    position: relative;
}

.about-content h4 {
    font-size: 14px;
    font-weight: 600;
}

.about-content p {
    line-height: 30px;
}

.about-content h3 {
    font-size: 30px;
    font-weight: 600;
    line-height: 50px;
}

.about-right {
    position: relative;
    cursor: pointer;
}

.about-right img {
    border-radius: 5px;
}

.about-right::before {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 2;
    display: block;
    content: '';
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, .2);
    border-radius: 10%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    opacity: 0;
}

.about-right:hover::before {
    -webkit-animation: circle .95s;
    animation: circle .95s;
}

@-webkit-keyframes circle {
    0% {
        opacity: 1;
    }

    40% {
        opacity: 1;
    }

    100% {
        width: 120%;
        height: 120%;
        opacity: 0;
    }
}

@keyframes circle {
    0% {
        opacity: 1;
    }

    40% {
        opacity: 1;
    }

    100% {
        width: 120%;
        height: 120%;
        opacity: 0;
    }
}

/* Service */
.title h3 {
    color: #111;
    font-size: 40px;
    font-weight: 600;
    margin: 0 0 20px;
}

.service-item h3,
.service-item-2 h3 {
    font-weight: 700;
}

.service-item:hover,
.service-item:hover h3.sppb-addon-title {
    cursor: pointer;
    color: #fff !important;
}

.service-item-2,
.service-item-2 h3.sppb-addon-title {
    cursor: pointer;
    color: #fff !important;
}

.service-item {
    padding: 50px 25px;
    text-align: center;
    position: relative;
    background: #fff;
    border-radius: 5px;
    box-shadow: 0 2px 48px 0 rgba(0, 0, 0, 0.06);
    -webkit-transition: all 0.32s;
    -o-transition: all 0.32s;
    -moz-transition: all 0.32s;
    transition: all 0.32s;
}

.service-item-2 {
    padding: 50px 25px;
    text-align: center;
    position: relative;
    border-radius: 5px;
    box-shadow: 0 2px 48px 0 rgba(0, 0, 0, 0.06);
    -webkit-transition: all 0.32s;
    -o-transition: all 0.32s;
    -moz-transition: all 0.32s;
    transition: all 0.32s;
}

.service-item .sppb-icon-container i {
    font-size: 50px;
    width: 90px;
    height: 90px;
    margin-bottom: 25px;
    display: inline-block;
    vertical-align: top;
    border-radius: 50%;
    line-height: 90px;
    color: #fff;
}

.service-item-2 .sppb-icon-container i {
    font-size: 50px;
    width: 90px;
    height: 90px;
    background: #fff;
    margin-bottom: 25px;
    display: inline-block;
    vertical-align: top;
    border-radius: 50%;
    line-height: 90px;
    color: #fff;
}

.service-item:hover .sppb-icon-container i {
    background-color: #fff !important;
}

/* Team */
.team-item .sppb-img-container,
.team-item .sppb-img-container img {
    width: 100%;
}

.team-item h4 {
    font-size: 20px;
}

.team-item h6 {
    font-size: 16px;
    font-weight: 400;
    text-transform: uppercase;
}

.team-item {
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.team-item .sppb-img-container {
    position: relative;
}

.team-item .sppb-img-container img {
    transition: ease all 0.3s;
    -webkit-transition: ease all 0.3s;
    transform: scale(1) rotate(0deg);
    -webkit-transform: scale(1) rotate(0deg);
}

.team-item:hover .sppb-img-container img {
    transform: scale(1.1) rotate(1deg);
    -webkit-transform: scale(1.1) rotate(1deg);
}

.team-item .sppb-img-container:after {
    content: "";
    top: 10px;
    left: 10px;
    right: 10px;
    bottom: 10px;
    position: absolute;
    border: 1px solid rgba(0, 0, 0, .1);
    pointer-events: none;
    transition: ease all 0.3s;
    -webkit-transition: ease all 0.3s;
}

.team-item:hover .sppb-img-container:after {
    background: rgba(255, 255, 255, .2);
}

.team-item .sppb-media-body {
    position: absolute;
    left: 10px;
    right: 10px;
    bottom: 10px;
    color: #fff;
    padding: 20px;
    opacity: 0;
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}

.team-item:hover .sppb-media-body {
    opacity: 1;
    color: #fff !important;
}

.team-item .sppb-media-body h4 {
    font-size: 16px;
    font-weight: 400;
    margin: 0 0 5px;
}

.team-item:hover .sppb-media-body h4 {
    color: #fff !important;
}

.team-item .sppb-media-body h6 {
    font-size: 13px;
    margin: 0;
    opacity: 0.7;
}

.team-item ul {
    padding: 0;
    position: absolute;
    bottom: 94px;
    width: 100%;
    left: 0;
    right: 0;
    opacity: 0;
    visibility: hidden;
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}

.team-item:hover ul {
    bottom: 200px;
    opacity: 1;
    visibility: inherit;
}

.team-item ul li {
    list-style: none;
    width: 33.33%;
    text-align: center;
    float: left;
    position: relative;
    z-index: 1;
}

.team-item ul li:before {
    content: "";
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 100%;
    position: absolute;
    z-index: -1;
}

.team-item ul li:nth-child(2):before {
    background: rgba(0, 0, 0, .1);
}

.team-item ul li:nth-child(3):before {
    background: rgba(0, 0, 0, .2);
}

.team-item ul li a {
    padding: 20px 0;
    display: inline-block;
    width: 100%;
}

.team-item ul li em {
    font-size: 24px;
    color: #fff;
    -webkit-transition: all 0.4s ease-in-out;
    transition: all 0.4s ease-in-out;
}

.team-item ul li a:hover em {
    color: #000;
}

.team-item ul li strong {
    display: none;
}

/* Testimonial */
.testimonial {
    position: relative;
    z-index: 1;
}

.testimonial-content {
    background-color: #fff !important;
    background: #fff !important;
    padding: 20px;
}

/* Portfolio */
#portfolio .sppb-row>div:first-child {
    padding: 0;
}

.portfolio p {
    color: #fff;
}

.portfolio-top {
    padding: 40px;
}

.portfolio-top p {
    color: #000;
}

.portfolio-top ul {
    padding-left: 0;
}

.portfolio-top ul li {
    list-style: none;
}

.portfolio-top ul li:before {
    content: "\f101";
    font-family: FontAwesome;
    margin-right: 10px;
}

.sp-simpleportfolio .sp-simpleportfolio-filter>ul>li>a {
    background: #fff;
    color: #776e6e;
    font-size: 16px;
    position: relative;
    padding: 11px;
}

.sp-simpleportfolio .sp-simpleportfolio-filter>ul>li.active>a {
    background: #fff;
    color: #fff;
}

.sp-simpleportfolio .sp-simpleportfolio-filter>ul>li.active>a:after {
    visibility: inherit;
    opacity: 1;
}

/* Contact */
.m-btn-bar {
    padding-top: 30px;
}

a.contact-num {
    color: #fff !important;
    text-decoration: none;
    padding-left: 20px;
    font-size: 15px;
}

.m-btn-white {
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 1);
}

.m-btn-white:hover {
    color: #000 !important;
}

.m-btn {
    text-decoration: none;
    display: inline-block;
    margin-bottom: 0;
    padding: 12px 25px;
    letter-spacing: 1px;
    background: transparent;
    border-radius: 3px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    box-shadow: 0px 3px 31px 3px rgba(0, 0, 0, 0.11);
    -webkit-transition: all 0.32s ease-in-out;
    -moz-transition: all 0.32s ease-in-out;
    -o-transition: all 0.32s ease-in-out;
    transition: all 0.32s ease-in-out;
}

.contact-us ul {
    padding-left: 0;
}

.contact-us ul li {
    list-style: none;
    margin: 20px 0;
    font-size: 18px;
    color: #fff;
}

.contact-us ul li em {
    margin-right: 10px;
    color: #555;
}

.creativecontactform_body {
    padding: 5px 15px 10px 0px !important;
}

.contact-us ul li strong {
    display: none;
}

/* Contact Info */
.contact-info h2,
.contact-info h3 {
    font-size: 23px;
}

/* Blog */
.jmm-item .jmm-image.mod-article-image {
    overflow: hidden;
}

.jmm-image.mod-article-image img {
    transform: scale(1);
    -webkit-transition: .5s ease-in-out;
    -o-transition: .5s ease-in-out;
    transition: .5s ease-in-out;
}

.jmm-item:hover .jmm-image.mod-article-image img {
    transform: scale(1.12);
    filter: grayscale(100%);
}

/* Bottom */
#sp-bottom .sp-module .sp-module-title {
    font-weight: 700;
    font-size: 29px;
}

/* Footer Copyright */
#sp-footer {
    text-align: center;
}

#sp-footer .container-inner {
    border-top: 1px solid rgba(255, 255, 255, .1);
}

/*** Responsive Layout ***/
/* Tablet Landscape Layout */
@media (min-width: 1400px) {
    .sppb-row-container {
        max-width: 1320px;
    }
}

/* Mobile Standard Layout */
@media (max-width: 768px) {

    #sp-header,
    #sp-header .logo {
        height: 70px;
    }

    #sp-footer p {
        text-align: center;
    }

    body #sp-header {
        background: #fff;
        padding: 0;
    }
}

/* Mobile Small Resolution */
@media (max-width: 480px) {
    .slider-small h3 {
        margin-bottom: 0 !important;
    }

    .slider-big h1 {
        padding: 0 !important;
    }
}

/* General color defination Color value depend on preset color that picking on template settings > Presets */
:root {
    --background-color: currentColor;
    --background: currentColor;
    --text-color: currentColor;
}

.page-item.active .page-link,
.slider-item .sppb-btn-success,
.sp-simpleportfolio .sp-simpleportfolio-filter>ul>li.active>a,
.sp-simpleportfolio .sp-simpleportfolio-item .sp-simpleportfolio-info:hover,
.sp-simpleportfolio .sp-simpleportfolio-item .sp-simpleportfolio-overlay-wrapper .sp-simpleportfolio-overlay,
.service-item i,
.service-item-2,
.team-item:hover .sppb-media-body,
.service-item:hover,
.tp-caption a.btn-slider,
.testimonial:before,
.sppb-btn,
.portfolio .sppb-row,
.slider-btn a {
    background-color: var(--background-color) !important;
}

.article-list .article .readmore a:hover,
.article-list .article .readmore a:active,
.article-list .article .article-header h2 a:hover,
.service-item:hover .sppb-icon-container i,
.title b,
.service-item-2 .sppb-icon-container i,
.about-content h4,
.contact-us ul li em,
.contact-form h4 {
    color: var(--text-color) !important;
}

.slider-content,
.slider-btn a {
    border-color: var(--text-color) !important;
}

.photo-caption {
    color: #fc9435;
    /* kolor tekstu */
    font-size: 1.3rem;
    /* rozmiar czcionki */
    font-weight: 700;
    /* pogrubienie (opcjonalnie) */
    text-align: center;
    /* wyśrodkowanie (opcjonalnie) */
    margin-top: 8px;
    /* odstęp od zdjęcia */
}

/* LB customs */
.team-header-h1 {
    font-size: 3rem;
    font-weight: 700;
    text-align: center;
    color: #fc9435;
}

.custom-hr {
    width: 70%;
    border: 0;
    border-top: 2px solid #424242;
    /* dowolny kolor */
    margin: 20px auto;
    /* wyśrodkowanie i odstępy */
}

figure.image {
    position: relative;
    display: inline-block;
    margin: 0;
}

figure.image img {
    display: block;
    width: 100%;
    height: auto;
}

figure.image figcaption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    font-size: 1.2rem;
    /* używamy rem */
    font-weight: 700;
    padding: 0.5rem 1rem;
    text-align: center;
    transition: background 0.3s ease, color 0.3s ease;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
}

figure.image figcaption .extra {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    font-size: 1rem;
    margin-top: 0.5rem;
    transform: translateY(100%);
    transition: max-height 0.4s ease, opacity 0.4s ease, transform 0.4s ease;
}

figure.image:hover figcaption {
    background: rgba(0, 0, 0, 0.8);
    color: #fc9435;
}

figure.image:hover figcaption .extra {
    max-height: 500px;
    /* wystarczająco duże, żeby pomieścić tekst */
    opacity: 1;
    transform: translateY(0);
}

/* Table 75% */
.orange-table {
    border-collapse: collapse !important;
    width: 75% !important;
    margin: 0 auto !important;
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial !important;
    color: #222 !important;
    background: #fff !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06) !important;
    border-radius: 8px !important;
    overflow: hidden !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
}

.orange-table td,
.orange-table th {
    padding: 10px 12px !important;
    vertical-align: middle !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06) !important;
}

.orange-table thead th {
    background: linear-gradient(180deg, #fc9435 0%, #f68b2b 100%) !important;
    color: white !important;
    font-weight: 600 !important;
    text-transform: none !important;
    letter-spacing: 0.2px !important;
    border-bottom: 2px solid rgba(0, 0, 0, 0.08) !important;
}

.orange-table tbody tr:first-child td {
    background: linear-gradient(180deg, #fc9435 0%, #f68b2b 100%) !important;
    color: white !important;
    font-weight: 600 !important;
}

.orange-table tbody tr:nth-child(odd) {
    background-color: rgb(245 160 81 / 33%) !important;
}

.orange-table tbody tr:nth-child(even) {
    background-color: rgb(239 177 120 / 21%) !important;
}

.orange-table tbody tr:hover {
    background-color: rgba(252, 148, 53, 0.50) !important;
}

.orange-table tbody td:first-child {
    font-weight: 600 !important;
}

.orange-table colgroup col:first-child {
    width: 48% !important;
}

.orange-table colgroup col:last-child {
    width: 52% !important;
}

@media (max-width: 700px) {
    .orange-table {
        width: 100% !important;
        display: block !important;
        overflow-x: auto !important;
    }

    .orange-table td,
    .orange-table th {
        padding: 8px 10px !important;
    }
}

/* Table 100% */
.orange-table-100 {
    border-collapse: collapse !important;
    width: 100% !important;
    margin: 0 auto !important;
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial !important;
    color: #222 !important;
    background: #fff !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06) !important;
    border-radius: 8px !important;
    overflow: hidden !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
}

.orange-table-100 td,
.orange-table-100 th {
    padding: 10px 12px !important;
    vertical-align: middle !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06) !important;
}

.orange-table-100 thead th We work closely with our customers to turn challenges into effective designs – whether custom projects or proven products. {
    background: linear-gradient(180deg, #fc9435 0%, #f68b2b 100%) !important;
    color: white !important;
    font-weight: 600 !important;
    text-transform: none !important;
    letter-spacing: 0.2px !important;
    border-bottom: 2px solid rgba(0, 0, 0, 0.08) !important;
}

.orange-table-100 tbody tr:first-child td {
    background: linear-gradient(180deg, #fc9435 0%, #f68b2b 100%) !important;
    color: white !important;
    font-weight: 600 !important;
}

.orange-table-100 tbody tr:nth-child(odd) {
    background-color: rgb(245 160 81 / 33%) !important;
}

.orange-table-100 tbody tr:nth-child(even) {
    background-color: rgb(239 177 120 / 21%) !important;
}

.orange-table-100 tbody tr:hover {
    background-color: rgba(252, 148, 53, 0.50) !important;
}

.orange-table-100 tbody td:first-child {
    font-weight: 600 !important;
}

.orange-table-100 colgroup col:first-child {
    width: 10% !important;
}

.orange-table-100 colgroup col:not(:first-child) {
    width: 22.5% !important;
}

@media (max-width: 700px) {
    .orange-table-100 {
        width: 100% !important;
        display: block !important;
        overflow-x: auto !important;
    }

    .orange-table-100 td,
    .orange-table-100 th {
        padding: 8px 10px !important;
    }
}

.article-list .article .article-header h2 a {
    color: #f68b2b;
}

.btn-accent {
    display: inline-block !important;
    background: #f68e13 !important;
    color: #ffffff;
    padding: 0.45rem 0.9rem;
    font-weight: 600;
    font-size: 1.3rem;
    line-height: 1;
    border-radius: 8px;
    border: 1px solid #D17910;
    text-decoration: none;
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
    transition: transform 0.12s ease, box-shadow 0.12s ease, filter 0.12s ease;
    vertical-align: middle;
}

/* Hover / active */
.btn-accent:hover,
.btn-accent:focus {
    background: #DD8011;
    border-color: #B7600D;
    transform: translateY(-1px);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.08);
    outline: none;
}

.btn-accent:focus-visible {
    box-shadow: 0 0 0 3px rgba(246, 142, 19, 0.18);
}

/* Horizontal button list – works when the parent .sp-module has class .horizontal-buttons */
.sp-module.horizontal-buttons ul.mod-articlescategory {
    display: flex !important;
    /* force horizontal layout */
    flex-wrap: wrap !important;
    /* allow wrapping on small screens */
    gap: 0.6rem !important;
    /* space between items */
    padding: 0 !important;
    /* reset default list padding */
    margin: 0 !important;
    /* reset default list margin */
    list-style: none !important;
    /* remove bullets */
}

/* Make <li> inline-flex to align with flex container */
.sp-module.horizontal-buttons ul.mod-articlescategory li {
    display: inline-flex !important;
}

/* Style the <a> as a button */
.sp-module.horizontal-buttons ul.mod-articlescategory li a {
    display: inline-block !important;
    background: #f68e13 !important;
    /* base background color */
    color: #fff !important;
    /* white text */
    padding: 0.4rem 0.9rem !important;
    font-weight: 600 !important;
    font-size: 0.9rem !important;
    border-radius: 6px !important;
    /* rounded corners */
    border: 1px solid #D17910 !important;
    /* darker border */
    text-decoration: none !important;
    transition: background 0.15s ease, border-color 0.15s ease !important;
}

/* Hover and focus effects */
.sp-module.horizontal-buttons ul.mod-articlescategory li a:hover,
.sp-module.horizontal-buttons ul.mod-articlescategory li a:focus {
    background: #DD8011 !important;
    /* slightly darker on hover */
    border-color: #B7600D !important;
    /* darker border on hover */
    color: #fff !important;
}

/* Active state (Joomla adds .active to current link) */
.sp-module.horizontal-buttons ul.mod-articlescategory li a.active {
    background: #B7600D !important;
    /* darkest background for active item */
    border-color: #914D0A !important;
}

/* Force horizontal list in DuraUni Products module */
.sp-module.horizontal-buttons ul.mod-articlescategory.category-module.mod-list {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 0.5rem !important;
    padding: 0 !important;
    margin: 0 !important;
    list-style: none !important;
}

.sp-module.horizontal-buttons ul.mod-articlescategory li {
    display: inline-flex !important;
}

.article-list .article {
    margin-bottom: 30px;
    padding: 20px;
    border: 1px solid #f68e1345;
    border-radius: 7px;
}

.sp-module.horizontal-buttons ul.mod-articlescategory li a {
    display: inline-block !important;
    background: #f68e13 !important;
    color: #fff !important;
    padding: 0.4rem 0.9rem !important;
    font-weight: 600 !important;
    border-radius: 6px !important;
    text-decoration: none !important;
    border: 1px solid #d17910 !important;
}

.article-list .article .readmore a {
    display: inline-block;
    background-color: #f68e13;
    color: #ffffff !important;
    font-weight: 500;
    padding: 8px 16px;
    border: 2px solid #d17a00;
    /* Ciemniejszy odcień #f68e13 */
    border-radius: 4px;
    text-decoration: none;
    transition: background-color 0.3s;
}

.article-list .article .readmore a:hover {
    background-color: #d17a00;
    /* Ciemniejszy odcień przy najechaniu */
    border-color: #b36c00;
    /* Jeszcze ciemniejsza obwódka */
    color: #d3cccc !important;
}

.breadcrumb {
    padding: 0.75rem 1rem;
    background-color: #74747412 !important;
    border-radius: 0.25rem;
}

#sp-main-body {
    padding-top: 1.5rem;
}

#sp-top-bar {
    background: #f68e13;
    color: #ffffff;
    height: 4rem;
    font-size: 0.88rem;
    display: flex;
    align-items: center;
}

#sp-header {
    display: flex;
    align-items: center;
    height: 120px;
}

.p-gray {
    background-color: #f5f5f5;
    padding: 1.3rem;
    border-radius: 5px;
    text-align: center;
    font-size: 1.4rem;
}

/* Slideshow */
.swiper-slide {
    position: relative;
}

/* oryginalny tekst layer ze środka – zostawiamy bez zmian */
.slide-layer {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100% !important;
    height: auto;
    z-index: 10;
    text-align: center;
    opacity: 0;
    transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    pointer-events: none;
}

.slideshow {
    position: relative;
    display: block;
    overflow: hidden;     /* możesz ustawić: visible — wtedy nic nie będzie przycinane */
    max-width: 100%;
    border-radius: 8px;
    margin: 0;
    padding: 0;
}

/* ⛔ Stare dopasowanie do szerokości powodowało przycięcia */
/* .slideshow__img { width: 100%; height: auto; } */

/* ✅ NOWE: obraz skaluje się dynamicznie, bez przycinania */
.slideshow__img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);

    width: 100%;
    height: 100%;

    object-fit: contain;        /* ⬅️ najważniejsze: bez cropowania */
    object-position: center;

    display: block;
    pointer-events: none;
}

/* ========================================= */
/*             NOWA SEKCJA OVERLAY           */
/* ========================================= */

/* Overlay – przyklejony do dołu i max 25% wysokości slajdu */
.overlay {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 30vh;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 20;
} /* 🔥 Tło blur na całe dolne 25% */
.overlay::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 100%; /* całe 25% wysokości */
  background: rgba(0, 0, 0, 0.3); /* delikatne przyciemnienie */
  backdrop-filter: blur(0px); /* lekki blur */
  -webkit-backdrop-filter: blur(0px);
  z-index: -1; /* za treścią */
} /* Tło pod samym tekstem */
.overlay__box {
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  padding: 5vh 1rem;
  display: inline-block;
  border-radius: 8px;
  max-width: 95%;
} /* Tekst */
.overlay__title {
  margin: 0;
  font-weight: 700;
  font-size: 6rem;
  line-height: 1.2;
  text-align: center;
  color: #f68e13;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* --- Szybkie klasy wyboru koloru tekstu --- */
/* możesz dodawać więcej wariantów lub nadpisywać zmienną CSS (--overlay-text-color) */
.overlay--light {
    --overlay-text-color: #f68e13;
    /* biały */
}

.overlay--dark {
    --overlay-text-color: #f68e13;
    /* czarny */
}

.overlay--accent {
    --overlay-text-color: #f68e13;
    /* przykładowy akcent */
}

/* --- Alternatywa: pozycjonowanie napisu w dolnym lewym rogu --- .overlay--bottom-left { align-items: flex-end; justify-content: flex-start; padding: 1.25rem; } .overlay--bottom-left .overlay__title { white-space: normal; text-align: left; } */
/* --- Responsywność: mniejszy tekst na małych ekranach --- */
/* ================================
   📱 OVERLAY — Mobile (do 768px)
   ================================ */

@media (max-width: 768px) {

    /* Overlay zajmuje mniej miejsca i NIE wychodzi poza slajd */
    .overlay {
        height: 35%;        /* w telefonach slajd jest wąski — dajemy więcej miejsca */
    }

    .overlay__box {
        padding: 0.8rem 0.6rem;  /* mniej pionowego paddingu */
        max-width: 90%;
    }

    /* Mniejsza i krótsza typografia */
    .overlay__title {
        font-size: clamp(1.2rem, 5vw, 3rem);
        white-space: normal;      /* tekst może składać się w dwie linie */
        text-overflow: clip;
    }
}

/* ================================
   📱 Bardzo małe telefony (poniżej 480px)
   ================================ */

@media (max-width: 480px) {

    .overlay {
        height: 40%;   /* na mini ekranach overlay musi być wyższy, inaczej tekst się nie zmieści */
    }

    .overlay__box {
        padding: 0.6rem 0.4rem;
    }

    .overlay__title {
        font-size: clamp(1rem, 4vw, 2rem);
        line-height: 1.15;
    }
}

.mod-articles-grid li {
    list-style: none;
}

.com-content-article__body ul {
  margin-top: 0.5em;
  margin-bottom: 1em;
  margin-left: 1.5em !important;
  padding-left: 2.5em !important;
  list-style-position: outside;
}

.com-content-article__body li {
  line-height: 1.6;
}

/* ------------------------------
   IMAGE FLOATING (LEFT & RIGHT)
--------------------------------*/

.img-left {
  float: left;
  max-width: 45%;
  height: auto;
  margin: 0 50px 5px 0;
  border: 1px solid #ccc;
  border-radius: 6px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.img-right {
  float: right;
  max-width: 45%;
  height: auto;
  margin: 0 0 5px 20px;
  border: 1px solid #ccc;
  border-radius: 6px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* ------------------------------
   CLEARFIX CONTAINER
--------------------------------*/

.clearfix::after {
  content: "";
  display: block;
  clear: both;
}

/* ------------------------------
   RESPONSIVE ADJUSTMENTS
--------------------------------*/

@media (max-width: 768px) {
  .img-left,
  .img-right {
    float: none;
    display: block;
    margin: 0 auto 20px auto;
    max-width: 100%;
  }

  .com-content-article__body ul {
    margin-left: 1em !important;
    padding-left: 1em !important;
  }
}

/* ------------------------------
   OPTIONAL STYLING TWEAKS
--------------------------------*/

/* Tekst w artykułach – justowanie */
.com-content-article__body p {
  text-align: justify;
}

/* Dodatkowy odstęp nad obrazem w przypadku, gdy poprzedza go nagłówek */
.com-content-article__body h2 + .img-left,
.com-content-article__body h2 + .img-right {
  margin-top: 10px;
}

.sp-contact-info {
font-size: 1.1rem;
  }

ul.social-icons {
font-size: 1.4rem;
  }

/* Ukryj desktopowe menu poniżej 1000px */
@media (max-width: 1200px) {
    .sp-megamenu-parent {
        display: none !important;
    }
    .offcanvas-menu {
        display: block !important;
    }
}

/* Powyżej 1000px wyświetl desktopowe menu */
@media (min-width: 1201px) {
    .sp-megamenu-parent {
        display: block !important;
    }
    .offcanvas-menu {
        display: none !important;
    }
}

