/* Custom CSS for Helix Ultimate template
   Created: 2025-12-10
   Purpose: DD HotNews 129 - Magazine/News Portal Style
   Note: Colors and font sizes are controlled via Helix Ultimate panel
*/



/* ============================================
   BODY & LAYOUT
   ============================================ */
#sp-main-body {
    padding: 20px 0;
}
#sp-header {
   
   box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.226);

  
}
.sp-page-title {
    background: #ffffff;
    padding: 10px 0 ;
}
/* ============================================
   TOP MENU - MAGAZINE STYLE
   ============================================ */

/* Menu do lewej - reset wszystkich justify */
.sp-megamenu-wrapper,
.sp-megamenu-wrapper > ul,
.sp-megamenu-parent,
#sp-menu .sp-megamenu-wrapper,
.justify-content-end,
.justify-content-center {
    justify-content: flex-start !important;
    text-align: left !important;
    margin-left: 0 !important;
    margin-right: auto !important;
}

/* Główne pozycje menu - styl magazynowy KOMPAKTOWY */
.sp-megamenu-parent {
margin: 10px 0px -35px 0px;
}
.sp-megamenu-parent > li {
    position: relative;
}

/* Separatory pochylone - używamy ::after na poprzednim elemencie */
.sp-megamenu-parent > li:not(:last-child)::after {
    content: '/';
    position: absolute;
    right: -2px;
    top: calc(50% - 2px);
    transform: translateY(-60%) skewX(-15deg);
    font-size: 18px;
    font-weight: 400;
    color: rgba(0, 0, 0, 0.3);
    pointer-events: none;
    z-index: 100;
    line-height: 1;
}

.sp-megamenu-parent > li > a,
.sp-megamenu-parent > li > span {
    position: relative;
    display: flex;
    align-items: center;
    gap: 3px;
    padding: 4px 14px !important;
    font-weight: 600;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.01em;
    transition: all 0.25s ease;
    border-bottom: 2px solid transparent;
    white-space: nowrap;
    line-height: 1.2;
}

/* Hover - kolorowa linia pod menu */
.sp-megamenu-parent > li > a:hover,
.sp-megamenu-parent > li > span:hover,
.sp-megamenu-parent > li.active > a,
.sp-megamenu-parent > li.active > span {
    border-bottom-color: var(--primary-color, #c60000);
}

/* Ikona dropdown (strzałka) - mniejsza */
.sp-megamenu-parent > li > a > .caret,
.sp-megamenu-parent > li > a > .fa,
.sp-megamenu-parent > li > a > .fas {
    font-size: 8px;
    opacity: 0.5;
    transition: transform 0.25s ease;
}

.sp-megamenu-parent > li:hover > a > .caret,
.sp-megamenu-parent > li:hover > a > .fa {
    transform: rotate(180deg);
    opacity: 1;
}

/* ============================================
}

/* ============================================
   DROPDOWN MENU - MAGAZINE STYLE
   ============================================ */

/* Dropdown Container */
.sp-megamenu-parent .sp-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 260px;
    padding-top: 25px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
    z-index: 1000;
}

.sp-megamenu-parent > li:hover > .sp-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

/* Dropdown Inner - biały z cieniem */
.sp-megamenu-parent .sp-dropdown .sp-dropdown-inner {
    background: #fff;
    border-radius: 8px 8px 0 0;
    padding: 0;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    border-bottom: 3px solid var(--primary-color, #c60000);
    overflow: hidden;
}

/* Menu Items */
.sp-megamenu-parent .sp-dropdown li.sp-menu-item {
    position: relative;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    transition: background 0.2s ease;
}

.sp-megamenu-parent .sp-dropdown li.sp-menu-item:last-child {
    border-bottom: none;
}

/* Menu Links */
.sp-megamenu-parent .sp-dropdown li.sp-menu-item > a {
    position: relative;
    display: flex;
    align-items: center;
    padding: 14px 20px 14px 45px;
    font-size: 14px;
    font-weight: 500;
    color: #333;
    text-decoration: none;
    transition: all 0.2s ease;
}

/* Bullet point - strzałka widoczna zawsze */
.sp-megamenu-parent .sp-dropdown li.sp-menu-item > a::before {
    content: '→';
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 12px;
    color: #ccc;
    opacity: 1;
    transition: all 0.25s ease;
}

/* Podkreślenie slide - delikatne po borderze */
.sp-megamenu-parent .sp-dropdown li.sp-menu-item:not(:last-child) > a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 35px;
    width: 0;
    height: 1px;
    background: var(--primary-color, #c60000);
    transition: width 0.3s ease;
}

/* Hover Effect */
.sp-megamenu-parent .sp-dropdown li.sp-menu-item:hover {
    background: rgba(198, 0, 0, 0.04);
}

.sp-megamenu-parent .sp-dropdown li.sp-menu-item:hover > a {
    color: var(--primary-color, #c60000);
    padding-left: 50px;
}

.sp-megamenu-parent .sp-dropdown li.sp-menu-item:hover > a::before {
    color: var(--primary-color, #c60000);
    transform: translateY(-50%) translateX(5px);
}

.sp-megamenu-parent .sp-dropdown li.sp-menu-item:hover > a::after {
    width: calc(100% - 50px);
}

/* Active state */
.sp-megamenu-parent .sp-dropdown li.sp-menu-item.active {
    background: rgba(198, 0, 0, 0.06);
}

.sp-megamenu-parent .sp-dropdown li.sp-menu-item.active > a {
    color: var(--primary-color, #c60000);
    font-weight: 600;
}

/* ============================================
   NESTED SUBMENU (2nd level)
   ============================================ */

/* Arrow for items with submenu */
.sp-megamenu-parent .sp-dropdown li.sp-menu-item.deeper > a::after {
    content: "\f054";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 10px;
    color: #999;
    transition: all 0.2s ease;
}

.sp-megamenu-parent .sp-dropdown li.sp-menu-item.deeper:hover > a::after {
    color: var(--primary-color, #c60000);
    transform: translateY(-50%) translateX(3px);
}

/* Nested dropdown positioning */
.sp-megamenu-parent .sp-dropdown li.sp-menu-item.deeper > .sp-dropdown,
.sp-megamenu-parent .sp-dropdown .sp-dropdown {
    position: absolute !important;
    left: 100% !important;
    top: -3px !important;
    min-width: 240px !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transform: translateX(-10px) !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    pointer-events: none !important;
    z-index: 1001 !important;
}

/* Show nested dropdown on hover */
.sp-megamenu-parent .sp-dropdown li.sp-menu-item.deeper:hover > .sp-dropdown,
.sp-megamenu-parent .sp-dropdown li.sp-menu-item:hover > .sp-dropdown {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateX(0) !important;
    pointer-events: auto !important;
}

/* Nested dropdown inner - różne obramowanie */
.sp-megamenu-parent .sp-dropdown .sp-dropdown .sp-dropdown-inner {
    border-top-color: #333;
    border-radius: 8px;
}

/* ============================================
   MEGAMENU COLUMNS (jeśli używane)
   ============================================ */

.sp-megamenu-parent .sp-dropdown.sp-dropdown-mega .sp-dropdown-inner {
    padding: 20px;
    min-width: 600px;
}

.sp-megamenu-parent .sp-dropdown.sp-dropdown-mega .sp-mega-columns {
    display: flex;
    gap: 30px;
}

.sp-megamenu-parent .sp-dropdown.sp-dropdown-mega .sp-mega-column {
    flex: 1;
}

.sp-megamenu-parent .sp-dropdown.sp-dropdown-mega .sp-mega-column-title {
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--primary-color, #c60000);
    padding-bottom: 10px;
    margin-bottom: 10px;
    border-bottom: 2px solid var(--primary-color, #c60000);
}

/* ============================================
   MOBILE MENU STYLES
   ============================================ */

@media (max-width: 991px) {
    .sp-megamenu-parent > li > a,
    .sp-megamenu-parent > li > span {
        padding: 12px 15px !important;
        font-size: 13px;
    }
    
    .sp-megamenu-parent > li:first-child > a {
        margin-right: 0;
        border-radius: 0;
    }
    
    .sp-megamenu-parent .sp-dropdown .sp-dropdown-inner {
        border-radius: 0;
    }
}

@media (max-width: 768px) {
    .sp-megamenu-parent .sp-dropdown li.sp-menu-item > a {
        padding: 12px 15px 12px 35px;
        font-size: 13px;
    }
    
    .sp-megamenu-parent .sp-dropdown li.sp-menu-item > a::before {
        left: 15px;
        width: 5px;
        height: 5px;
    }
    
    /* Reset nested dropdown for mobile */
    .sp-megamenu-parent .sp-dropdown .sp-dropdown {
        position: relative !important;
        left: 0 !important;
        top: 0 !important;
        width: 100% !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
    }
}

/* ============================================
   OFFCANVAS MENU - MOBILE MENU
   ============================================ */

/* Główny kontener menu */
.offcanvas-menu .offcanvas-inner ul.menu {
    position: relative;
    padding: 0.25rem 0;
}

/* Jasna linia po lewej stronie */
.offcanvas-menu .offcanvas-inner ul.menu::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background-color: #f0f0f0;
}

/* Style dla elementów menu */
.offcanvas-menu .offcanvas-inner ul.menu > li {
    position: relative;
}

.offcanvas-menu .offcanvas-inner ul.menu > li > a,
.offcanvas-menu .offcanvas-inner ul.menu > li > div,
.offcanvas-menu .offcanvas-inner ul.menu > li > span {
    display: block;
    padding: 15px;
    color: #333333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.offcanvas-menu .offcanvas-inner ul.menu > li:hover > a,
.offcanvas-menu .offcanvas-inner ul.menu > li:hover > div,
.offcanvas-menu .offcanvas-inner ul.menu > li.active > a {
    color: #c60000;
}

/* Pomarańczowa linia po lewej przy hover/active */
.offcanvas-menu .offcanvas-inner ul.menu > li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 4px;
    height: 100%;
    background-color: #c60000;
    transform: scaleY(0);
    transition: transform 0.2s ease-in-out;
}

.offcanvas-menu .offcanvas-inner ul.menu > li:hover::before,
.offcanvas-menu .offcanvas-inner ul.menu > li.active::before {
    transform: scaleY(1);
}

/* Style dla elementów z submenu */
.offcanvas-menu .offcanvas-inner ul.menu > li.menu-parent > div {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.offcanvas-menu .offcanvas-inner ul.menu > li.menu-parent > div > span:last-child {
    color: #888888;
}

/* Submenu */
.offcanvas-menu .offcanvas-inner ul.menu ul {
    display: none;
    padding-left: 1rem;
    background-color: #f9f9f9;
}

.offcanvas-menu .offcanvas-inner ul.menu > li.menu-parent:hover > ul,
.offcanvas-menu .offcanvas-inner ul.menu > li.menu-parent:focus-within > ul {
    display: block;
}

.offcanvas-menu .offcanvas-inner ul.menu ul > li {
    position: relative;
    padding-left: 12px;
}

.offcanvas-menu .offcanvas-inner ul.menu ul > li > a {
    padding: 0.25rem 0.5rem;
    color: #555555;
}

.offcanvas-menu .offcanvas-inner ul.menu ul > li:hover > a {
    color: #c60000;
}

/* Strzałki dla submenu - pomarańczowe */
.offcanvas-menu .offcanvas-inner ul.menu ul > li::before {
    content: "▸";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    color: #888888;
    font-size: 0.8em;
}

.offcanvas-menu .offcanvas-inner ul.menu ul > li:hover::before {
    color: #c60000;
}

/* ============================================
   BOX-HEADER - Stylizowany box z nagłówkiem i listą
   ============================================ */

.box-header {
    background: #ffffff;
    border: 2px solid #c60000;
    border-radius: 8px;
    padding: 25px;
    position: relative;
    margin-bottom: 30px;
    box-shadow: 0 2px 8px rgba(249, 115, 22, 0.1);
}

/* Nagłówek H2 */
.box-header h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #333333;
    margin-bottom: 20px;
    padding-bottom: 15px;
    position: relative;
 
}

/* Lista - stylizowana z ikonkami */
.box-header ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.box-header ul li {
    padding: 12px 0 12px 35px;
    position: relative;
    color: #ff5100;
    line-height: 1.6;
    border-bottom: 1px dashed #ffffff75;
    transition: all 0.3s ease;
}

.box-header ul li:last-child {
    border-bottom: none;
}

/* Pomarańczowe kółko z checkmark */
.box-header ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    background-color: #c60000;
    border-radius: 50%;
    color: #ffffff;
    font-size: 12px;
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

/* Hover efekt dla elementów listy */
.box-header ul li:hover {
    color: #c60000;
    padding-left: 40px;
    background: rgba(249, 115, 22, 0.05);
}

.box-header ul li:hover::before {
    background-color: #a50000;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 2px 4px rgba(249, 115, 22, 0.3);
}

/* Animacja wejścia dla elementów listy */
.box-header ul li {
    opacity: 0;
    transform: translateX(-20px);
    animation: slideIn 0.5s ease forwards;
}

.box-header ul li:nth-child(1) { animation-delay: 0.1s; }
.box-header ul li:nth-child(2) { animation-delay: 0.2s; }
.box-header ul li:nth-child(3) { animation-delay: 0.3s; }
.box-header ul li:nth-child(4) { animation-delay: 0.4s; }
.box-header ul li:nth-child(5) { animation-delay: 0.5s; }

@keyframes slideIn {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .box-header {
        padding: 20px;
    }
    
    .box-header h2 {
        font-size: 1.25rem;
    }
    
    .box-header ul li {
        padding: 10px 0 10px 30px;
        font-size: 0.95rem;
    }
    
    .box-header ul li::before {
        width: 20px;
        height: 20px;
        font-size: 10px;
    }
}

/* ============================================
   BOX-LI-2 - Alternatywne stylowanie listy w boxie
   ============================================ */

box-header {
    background: #ffffff;
    border-radius: 8px;
    padding: 25px;
    position: relative;
    margin-bottom: 30px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    border-left: 4px solid #c60000;
}

/* Nagłówek H2 - biznesowy styl */
.box-li-2 h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #333333;
    margin-bottom: 20px;
    padding-bottom: 12px;
    position: relative;
    border-bottom: 2px solid rgba(249, 115, 22, 0.2);
}

/* Pomarańczowy akcent po lewej stronie nagłówka */
.box-li-2 h2::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, #c60000, #a50000);
    z-index: 1;
}

/* Opcjonalnie - ikonka przed nagłówkiem */
.box-li-2 h2.with-icon {
    padding-left: 35px;
}

.box-li-2 h2.with-icon::after {
    content: '\f058';
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 0;
    color: #c60000;
    font-size: 20px;
}

/* Lista - kompaktowa z pomarańczowymi kropkami */
.box-li-2 ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.box-li-2 ul li {
    padding: 10px 0 10px 25px;
    position: relative;
    line-height: 1.7;
    transition: all 0.3s ease;
}

/* Pomarańczowa kropka zamiast checkmark */
.box-li-2 ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 18px;
    width: 8px;
    height: 8px;
    background-color: #c60000;
    border-radius: 50%;
    transition: all 0.3s ease;
}

/* Hover efekt - kropka rośnie + lekkie przesunięcie */
.box-li-2 ul li:hover {
    padding-left: 30px;
    color: #c60000;
}

.box-li-2 ul li:hover::before {
    transform: scale(1.5);
    background-color: #a50000;
    box-shadow: 0 0 8px rgba(249, 115, 22, 0.5);
}

/* Wariant z numeracją */
.box-li-2.numbered ul {
    counter-reset: item;
}

.box-li-2.numbered ul li {
    padding-left: 35px;
}

.box-li-2.numbered ul li::before {
    content: counter(item);
    counter-increment: item;
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, #c60000, #a50000);
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
}

.box-li-2.numbered ul li:hover::before {
    transform: translateY(-50%) scale(1.15);
}

/* Wariant z ikonkami strzałek */
.box-li-2.arrows ul li::before {
    content: '→';
    width: auto;
    height: auto;
    background: none;
    color: #c60000;
    font-size: 16px;
    font-weight: 700;
    border-radius: 0;
    top: 12px;
}

.box-li-2.arrows ul li:hover::before {
    transform: translateX(4px);
    box-shadow: none;
}

/* Wariant kompaktowy - mniejsze odstępy */
.box-li-2.compact {
    padding: 15px 20px;
}

.box-li-2.compact ul li {
    padding: 6px 0 6px 20px;
    font-size: 0.95rem;
}

.box-li-2.compact ul li::before {
    width: 6px;
    height: 6px;
    top: 14px;
}

/* Animacja wejścia dla elementów listy */
.box-li-2 ul li {
    opacity: 0;
    transform: translateX(-15px);
    animation: slideInLi 0.4s ease forwards;
}

.box-li-2 ul li:nth-child(1) { animation-delay: 0.05s; }
.box-li-2 ul li:nth-child(2) { animation-delay: 0.1s; }
.box-li-2 ul li:nth-child(3) { animation-delay: 0.15s; }
.box-li-2 ul li:nth-child(4) { animation-delay: 0.2s; }
.box-li-2 ul li:nth-child(5) { animation-delay: 0.25s; }
.box-li-2 ul li:nth-child(6) { animation-delay: 0.3s; }

@keyframes slideInLi {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .box-li-2 {
        padding: 20px;
    }
    
    .box-li-2 h2 {
        font-size: 1.25rem;
        padding-bottom: 10px;
    }
    
    .box-li-2 h2::before {
        width: 45px;
    }
    
    .box-li-2 h2.with-icon {
        padding-left: 30px;
    }
    
    .box-li-2 h2.with-icon::after {
        font-size: 18px;
    }
    
    .box-li-2 ul li {
        padding: 8px 0 8px 22px;
        font-size: 0.95rem;
    }
    
    .box-li-2.numbered ul li {
        padding-left: 30px;
    }
    
    .box-li-2.numbered ul li::before {
        width: 20px;
        height: 20px;
        font-size: 11px;
    }
}

/* ============================================
   BUTTON - Ładny pomarańczowy przycisk
   ============================================ */

.btn-red {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    background: linear-gradient(135deg, #c60000, #a50000);
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(249, 115, 22, 0.3);
}

/* Efekt połysku */
.btn-red::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.btn-red:hover::before {
    left: 100%;
}

/* Hover efekt */
.btn-red:hover {
    background: linear-gradient(135deg, #a50000, #c2410c);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(249, 115, 22, 0.4);
}

/* Active/Click efekt */
.btn-red:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(249, 115, 22, 0.3);
}

/* Ikonka w buttonie */
.btn-red i {
    font-size: 18px;
    transition: transform 0.3s ease;
}

.btn-red:hover i {
    transform: translateX(3px);
}

/* Wariant outline */
.btn-red-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    background: transparent;
    color: #c60000;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    border: 2px solid #c60000;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.btn-red-outline:hover {
    background: #c60000;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(249, 115, 22, 0.3);
}

.btn-red-outline:active {
    transform: translateY(0);
}

.btn-red-outline i {
    font-size: 18px;
    transition: transform 0.3s ease;
}

.btn-red-outline:hover i {
    transform: translateX(3px);
}

/* Rozmiary buttonów */
.btn-red.btn-sm,
.btn-red-outline.btn-sm {
    padding: 8px 20px;
    font-size: 14px;
}

.btn-red.btn-lg,
.btn-red-outline.btn-lg {
    padding: 16px 36px;
    font-size: 18px;
}

/* Button full width */
.btn-red.btn-block,
.btn-red-outline.btn-block {
    width: 100%;
    display: flex;
}

/* Responsive */
@media (max-width: 768px) {
    .btn-red,
    .btn-red-outline {
        padding: 10px 24px;
        font-size: 15px;
    }
}

/* ============================================
   INFO-BTN - Buttony informacyjne (4 sztuki)
   ============================================ */

.info-btn {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin: 20px 0;
}

.info-btn .sppb-addon-content {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    width: 100%;
}

/* Pojedynczy button informacyjny - mały z półprzezroczystym tłem */
.info-btn .sppb-btn {
    flex: 0 1 auto;
    min-width: auto;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
 
    padding: 8px 16px !important;
    background: rgba(249, 115, 22, 0.08) !important;
    color: #000000 !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    text-decoration: none;
    border: 1px solid rgba(249, 115, 22, 0.3) !important;
    border-radius: 6px !important;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

/* Ikonka */
.info-btn .sppb-btn i {
    font-size: 14px;
    color: #c60000;
    transition: all 0.3s ease;
    flex-shrink: 0;
    padding-right: 5px;

}

/* Hover efekt - intensywniejsze tło i obramowanie */
.info-btn .sppb-btn:hover {
    background: rgba(249, 115, 22, 0.15) !important;
    border-color: rgb(249, 116, 22) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(249, 115, 22, 0.15);
}

.info-btn .sppb-btn:hover i {
    transform: scale(1.1);
}

/* Active/Click efekt */
.info-btn .sppb-btn:active {
    transform: translateY(0);
}

/* Warianty kolorystyczne dla każdego buttona - półprzezroczyste */
.info-btn .sppb-btn:nth-child(1) {
    background: rgba(249, 115, 22, 0.08) !important;
    border-color: rgba(249, 115, 22, 0.3) !important;
}

.info-btn .sppb-btn:nth-child(1) i {
    color: #c60000;
}

.info-btn .sppb-btn:nth-child(1):hover {
    background: rgba(249, 115, 22, 0.15) !important;
    border-color: rgba(249, 115, 22, 0.5) !important;
}

.info-btn .sppb-btn:nth-child(2) {
    background: rgba(59, 130, 246, 0.08) !important;
    border-color: rgba(59, 130, 246, 0.3) !important;
}

.info-btn .sppb-btn:nth-child(2) i {
    color: #3b82f6;
}

.info-btn .sppb-btn:nth-child(2):hover {
    background: rgba(59, 130, 246, 0.15) !important;
    border-color: rgba(59, 130, 246, 0.5) !important;
}

.info-btn .sppb-btn:nth-child(3) {
    background: rgba(16, 185, 129, 0.08) !important;
    border-color: rgba(16, 185, 129, 0.3) !important;
}

.info-btn .sppb-btn:nth-child(3) i {
    color: #10b981;
}

.info-btn .sppb-btn:nth-child(3):hover {
    background: rgba(16, 185, 129, 0.15) !important;
    border-color: rgba(16, 185, 129, 0.5) !important;
}

.info-btn .sppb-btn:nth-child(4) {
    background: rgba(139, 92, 246, 0.08) !important;
    border-color: rgba(139, 92, 246, 0.3) !important;
}

.info-btn .sppb-btn:nth-child(4) i {
    color: #8b5cf6;
}

.info-btn .sppb-btn:nth-child(4):hover {
    background: rgba(139, 92, 246, 0.15) !important;
    border-color: rgba(139, 92, 246, 0.5) !important;
}

/* Responsive - Mobile */
@media (max-width: 768px) {
    .info-btn {
        gap: 10px;
    }
    
    .info-btn .sppb-btn {
        padding: 7px 14px !important;
        font-size: 12px !important;
    }
    
    .info-btn .sppb-btn i {
        font-size: 13px;
    }
}

/* Tablet */
@media (min-width: 769px) and (max-width: 1024px) {
    .info-btn .sppb-btn {
        font-size: 12px !important;
        padding: 7px 14px !important;
    }
}

/* ============================================
   IMAGE-BOX - Box ze zdjęciem i animacją
   ============================================ */

.image-box {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
}

/* Hover na box - podniesienie i shadow */
.image-box:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(255, 255, 255, 0.89);
}

/* Zdjęcie w boxie */
.image-box img,
.image-box .image-zoom {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.6s ease, filter 0.4s ease;
}

/* Animacja zdjęcia przy hover na box - zoom + brightness */
.image-box:hover img,
.image-box:hover .image-zoom {
    transform: scale(1.1);
    filter: brightness(1.1);
}

/* Wariant - Grayscale to Color */
.image-box.grayscale-hover img,
.image-box.grayscale-hover .image-zoom {
    filter: grayscale(100%);
}

.image-box.grayscale-hover:hover img,
.image-box.grayscale-hover:hover .image-zoom {
    filter: grayscale(0%);
    transform: scale(1.05);
}

/* Overlay przy hover - usunięty aby nie powodować efektu mgły */
/* .image-box::before { ... } */

/* Treść w boxie (opcjonalna) */
.image-box .box-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, transparent 100%);
    color: #ffffff;
    transform: translateY(100%);
    transition: transform 0.4s ease;
    z-index: 2;
}

.image-box:hover .box-content {
    transform: translateY(0);
}

.image-box .box-content h3 {
    margin: 0 0 8px 0;
    font-size: 1.25rem;
    font-weight: 700;
}

.image-box .box-content p {
    margin: 0;
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Wariant kompaktowy - mały box */
.image-box.compact {
    border-radius: 6px;
}

.image-box.compact:hover {
    transform: translateY(-4px);
}

/* Responsive */
@media (max-width: 768px) {
    .image-box:hover {
        transform: translateY(-4px);
    }
    
    .image-box:hover img,
    .image-box:hover .image-zoom {
        transform: scale(1.05);
    }
}

/* ============================================
   IMAGE-SECTION - Sekcja z animacją zdjęć przy hover
   ============================================ */

/* Sekcja z animowanymi zdjęciami */
.image-section {
    position: relative;
    transition: all 0.3s ease;
}

/* Hover na sekcję - subtelny efekt */
.image-section:hover {
    transform: translateY(-2px);
}

/* Wszystkie zdjęcia w sekcji */
.image-section img,
.image-section .image-zoom,
.image-section .sppb-img-responsive {
    transition: transform 0.6s ease, filter 0.4s ease, box-shadow 0.4s ease;
    border-radius: 8px;
}

/* Animacja zdjęć przy hover na sekcję - zoom + brightness */
.image-section:hover img,
.image-section:hover .image-zoom,
.image-section:hover .sppb-img-responsive {
    transform: scale(1.05);
    filter: brightness(1.1);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* Wariant z overlay */
.image-section.with-overlay {
    overflow: hidden;
}

.image-section.with-overlay::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(249, 115, 22, 0) 0%, rgba(249, 115, 22, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    z-index: 1;
}

.image-section.with-overlay:hover::before {
    opacity: 1;
}

/* Wariant grayscale - czarno-białe do koloru */
.image-section.grayscale img,
.image-section.grayscale .image-zoom,
.image-section.grayscale .sppb-img-responsive {
    filter: grayscale(100%);
}

.image-section.grayscale:hover img,
.image-section.grayscale:hover .image-zoom,
.image-section.grayscale:hover .sppb-img-responsive {
    filter: grayscale(0%) brightness(1.05);
    transform: scale(1.03);
}

/* Wariant z większym zoom */
.image-section.zoom-large:hover img,
.image-section.zoom-large:hover .image-zoom,
.image-section.zoom-large:hover .sppb-img-responsive {
    transform: scale(1.1);
}

/* Wariant delikatny - mniejszy efekt */
.image-section.subtle:hover img,
.image-section.subtle:hover .image-zoom,
.image-section.subtle:hover .sppb-img-responsive {
    transform: scale(1.02);
    filter: brightness(1.05);
}

/* Opóźnienie animacji dla wielu zdjęć - fala */
.image-section:hover img:nth-of-type(1),
.image-section:hover .image-zoom:nth-of-type(1) {
    transition-delay: 0s;
}

.image-section:hover img:nth-of-type(2),
.image-section:hover .image-zoom:nth-of-type(2) {
    transition-delay: 0.05s;
}

.image-section:hover img:nth-of-type(3),
.image-section:hover .image-zoom:nth-of-type(3) {
    transition-delay: 0.1s;
}

.image-section:hover img:nth-of-type(4),
.image-section:hover .image-zoom:nth-of-type(4) {
    transition-delay: 0.15s;
}

/* Responsive */
@media (max-width: 768px) {
    .image-section:hover img,
    .image-section:hover .image-zoom,
    .image-section:hover .sppb-img-responsive {
        transform: scale(1.03);
    }
    
    .image-section.zoom-large:hover img,
    .image-section.zoom-large:hover .image-zoom,
    .image-section.zoom-large:hover .sppb-img-responsive {
        transform: scale(1.05);
    }
}

/* ============================================
   BACK TO TOP - Biznesowy przycisk powrotu na górę
   ============================================ */

/* Przycisk powrotu na górę */
.sp-scroll-up,
#sp-scroll-up,
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #c60000, #a50000);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 9999;
    box-shadow: 0 4px 16px rgba(249, 115, 22, 0.4);
    transition: all 0.3s ease;
}

/* Ikonka strzałki */
.sp-scroll-up .fas,
.sp-scroll-up .fa,
#sp-scroll-up .fas,
#sp-scroll-up .fa,
.back-to-top .fas,
.back-to-top .fa {
    color: #ffffff;
    font-size: 20px;
    transition: transform 0.3s ease;
}

/* Hover efekt - podniesienie + ciemniejszy gradient */
.sp-scroll-up:hover,
#sp-scroll-up:hover,
.back-to-top:hover {
    background: linear-gradient(135deg, #a50000, #c2410c);
    transform: translateY(-4px);
    box-shadow: 0 6px 20px rgba(249, 115, 22, 0.5);
}

/* Animacja strzałki przy hover - bounce */
.sp-scroll-up:hover .fas,
.sp-scroll-up:hover .fa,
#sp-scroll-up:hover .fas,
#sp-scroll-up:hover .fa,
.back-to-top:hover .fas,
.back-to-top:hover .fa {
    animation: arrowBounce 0.6s ease infinite;
}

@keyframes arrowBounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}

/* Active/Click efekt */
.sp-scroll-up:active,
#sp-scroll-up:active,
.back-to-top:active {
    transform: translateY(-2px) scale(0.95);
    box-shadow: 0 2px 12px rgba(249, 115, 22, 0.4);
}

/* Delikatny pulsujący efekt shadow */
.sp-scroll-up,
#sp-scroll-up,
.back-to-top {
    animation: subtlePulse 3s ease-in-out infinite;
}

@keyframes subtlePulse {
    0%, 100% {
        box-shadow: 0 4px 16px rgba(249, 115, 22, 0.4);
    }
    50% {
        box-shadow: 0 4px 20px rgba(249, 115, 22, 0.6);
    }
}

/* Wariant kwadratowy - dla alternatywnego stylu */
.sp-scroll-up.square,
#sp-scroll-up.square,
.back-to-top.square {
    border-radius: 8px;
}

/* Wariant mniejszy */
.sp-scroll-up.small,
#sp-scroll-up.small,
.back-to-top.small {
    width: 40px;
    height: 40px;
    bottom: 20px;
    right: 20px;
}

.sp-scroll-up.small .fas,
.sp-scroll-up.small .fa,
#sp-scroll-up.small .fas,
#sp-scroll-up.small .fa,
.back-to-top.small .fas,
.back-to-top.small .fa {
    font-size: 16px;
}

/* Wariant większy */
.sp-scroll-up.large,
#sp-scroll-up.large,
.back-to-top.large {
    width: 60px;
    height: 60px;
}

.sp-scroll-up.large .fas,
.sp-scroll-up.large .fa,
#sp-scroll-up.large .fas,
#sp-scroll-up.large .fa,
.back-to-top.large .fas,
.back-to-top.large .fa {
    font-size: 24px;
}

/* Responsive - Mobile */
@media (max-width: 768px) {
    .sp-scroll-up,
    #sp-scroll-up,
    .back-to-top {
        width: 45px;
        height: 45px;
        bottom: 20px;
        right: 20px;
    }
    
    .sp-scroll-up .fas,
    .sp-scroll-up .fa,
    #sp-scroll-up .fas,
    #sp-scroll-up .fa,
    .back-to-top .fas,
    .back-to-top .fa {
        font-size: 18px;
    }
    
    .sp-scroll-up:hover,
    #sp-scroll-up:hover,
    .back-to-top:hover {
        transform: translateY(-3px);
    }
}

/* ============================================
   CONTACT INFO - Stylizowana lista kontaktowa
   ============================================ */

/* Lista kontaktowa - domyślnie poziomo i bardzo kompaktowo */
.sp-contact-info {
    list-style: none;
    padding: 0;
    margin: 0;
    margin-left: auto;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    justify-content: flex-end;
}

/* Pojedynczy element kontaktowy - bardzo mały */
.sp-contact-info li {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    background: rgba(0, 67, 122, 0.08);
    border-radius: 4px;
    border-left: 2px solid #c60000;
    transition: all 0.3s ease;
}

/* Hover efekt */
.sp-contact-info li:hover {
    background: rgba(249, 115, 22, 0.12);
    transform: translateY(-2px);
    box-shadow: 0 2px 8px rgba(249, 115, 22, 0.2);
}

/* Ikonki - bardzo małe */
.sp-contact-info li .fas,
.sp-contact-info li .far,
.sp-contact-info li .fa {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #c60000, #a50000);
    color: #ffffff;
    font-size: 10px;
    border-radius: 50%;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

/* Animacja ikonki przy hover */
.sp-contact-info li:hover .fas,
.sp-contact-info li:hover .far,
.sp-contact-info li:hover .fa {
    transform: scale(1.15);
    box-shadow: 0 2px 8px rgba(249, 115, 22, 0.4);
}

/* Linki - małe */
.sp-contact-info li a {
    color: #333333;
    text-decoration: none;
    font-size: 12px;
    font-weight: 500;
    white-space: nowrap;
    transition: color 0.3s ease;
}

.sp-contact-info li:hover a {
    color: #c60000;
}

/* Różne kolory dla różnych typów kontaktu */
.sp-contact-info .sp-contact-phone .fas,
.sp-contact-info .sp-contact-phone .fa {
    background: linear-gradient(135deg, #c60000, #a50000);
}

.sp-contact-info .sp-contact-mobile .fas,
.sp-contact-info .sp-contact-mobile .fa {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
}

.sp-contact-info .sp-contact-email .far,
.sp-contact-info .sp-contact-email .fa {
    background: linear-gradient(135deg, #10b981, #059669);
}

/* Wariant pionowy */
.sp-contact-info.vertical {
    flex-direction: column;
    align-items: stretch;
}

.sp-contact-info.vertical li {
    padding: 8px 12px;
}

/* Wariant bez tła */
.sp-contact-info.minimal li {
    background: transparent;
    padding: 3px 6px;
    border-left: none;
}

.sp-contact-info.minimal li:hover {
    background: rgba(249, 115, 22, 0.05);
    box-shadow: none;
}

/* Responsive */
@media (max-width: 768px) {
    .sp-contact-info {
        gap: 8px;
    }
    
    .sp-contact-info li {
        padding: 4px 8px;
    }
    
    .sp-contact-info li .fas,
    .sp-contact-info li .far,
    .sp-contact-info li .fa {
        width: 18px;
        height: 18px;
        font-size: 9px;
    }
    
    .sp-contact-info li a {
        font-size: 11px;
    }
}

@media (max-width: 576px) {
    .sp-contact-info {
        flex-direction: column;
        align-items: stretch;
    }
}

/* ============================================
   DD-CAROUSEL - Karuzela zespołu/galerii
   ============================================ */

/* Główny kontener karuzeli */
.dd-carousel {
    position: relative;
  
}

/* Lista karuzel */
.dd-carousel .sppb-carousel-extended-list {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
}

/* Outer stage - animacja kontrolowana z panelu administracyjnego */
.dd-carousel .sppb-carousel-extended-outer-stage {
    display: flex;
}

/* Pojedynczy item - karta */
.dd-carousel .sppb-carousel-extended-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    background: #ffffff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    margin: 0 7.5px;
    transition: box-shadow 0.5s ease;
}

/* Hover na kartę - tylko shadow */
.dd-carousel .sppb-carousel-extended-item:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
    z-index: 10;
}

/* Zdjęcie w karcie */
.dd-carousel .sppb-carousel-extended-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1), filter 0.6s ease;
    backface-visibility: hidden;
    transform: scale(1);
    transform-origin: center center;
}

/* Hover na zdjęcie - zoom */
.dd-carousel .sppb-carousel-extended-item:hover img {
    transform: scale(1.05);
    filter: brightness(1.05);
}

/* Overlay gradient na zdjęciu */
.dd-carousel .sppb-carousel-extended-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0) 0%,
        rgba(0, 0, 0, 0) 40%,
        rgba(0, 0, 0, 0.6) 100%
    );
    z-index: 1;
    transition: background 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.dd-carousel .sppb-carousel-extended-item:hover::before {
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0) 0%,
        rgba(0, 0, 0, 0) 40%,
        rgba(0, 0, 0, 0.7) 100%
    );
}

/* Kontener z treścią - na dole karty */
.dd-carousel .sppb-carousel-extended-content-wrap {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 25px 20px;
    color: #ffffff;
    z-index: 2;
    transform: translateY(0);
    transition: padding 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Hover - treść lekko podniesiona */
.dd-carousel .sppb-carousel-extended-item:hover .sppb-carousel-extended-content-wrap {
    padding-bottom: 30px;
}

/* Nagłówek - imię i nazwisko */
.dd-carousel .sppb-carousel-extended-heading {
    font-size: 1.35rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 6px;
    position: relative;
    padding-left: 0;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1), color 0.5s ease, text-shadow 0.5s ease;
}

/* Pomarańczowa linia pod nagłówkiem */
.dd-carousel .sppb-carousel-extended-heading::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, #c60000, #a50000);
    transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 2px;
}

.dd-carousel .sppb-carousel-extended-item:hover .sppb-carousel-extended-heading::after {
    width: 60px;
}

/* Hover - przesunięcie nagłówka */
.dd-carousel .sppb-carousel-extended-item:hover .sppb-carousel-extended-heading {
    transform: translateX(5px);
    color: #c60000;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

/* Podtytuł - stanowisko */
.dd-carousel .sppb-carousel-extended-subheading {
    font-size: 0.95rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: color 0.5s ease, transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.dd-carousel .sppb-carousel-extended-item:hover .sppb-carousel-extended-subheading {
    color: #ffffff;
    transform: translateX(5px);
}

/* Opis - ukryty domyślnie, pokazywany przy hover */
.dd-carousel .sppb-carousel-extended-description {
    font-size: 0.9rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.9);
    opacity: 0;
    transform: translateY(15px);
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), transform 0.6s cubic-bezier(0.4, 0, 0.2, 1), max-height 0.6s ease;
    max-height: 0;
    overflow: hidden;
}

.dd-carousel .sppb-carousel-extended-item:hover .sppb-carousel-extended-description {
    opacity: 1;
    transform: translateY(0);
    max-height: 200px;
    margin-top: 10px;
}

/* Active item - wyróżniony */
.dd-carousel .sppb-carousel-extended-item.active {
    border: 2px solid #c60000;
    box-shadow: 0 8px 20px rgba(249, 115, 22, 0.25);
}

/* Nawigacja - strzałki */
.dd-carousel .sppb-carousel-extended-nav-control {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%) rotate(90deg);
    display: flex;
    justify-content: space-between;
    pointer-events: none;
    z-index: 100;
    padding: 0 0;
}

.dd-carousel .nav-control {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    pointer-events: auto;
    transition: all 0.3s ease;
}

.dd-carousel .nav-control:hover {
    transform: scale(1.1);
}

.dd-carousel .nav-control:active {
    transform: scale(0.95);
}

.dd-carousel .nav-control i {
    font-size: 24px;
    transition: transform 0.3s ease;
}

.dd-carousel .prev-control {
    margin-left: 0;
}

.dd-carousel .next-control {
    margin-right: 0;
}

.dd-carousel .prev-control:hover i {
    transform: translateX(-3px);
}

.dd-carousel .next-control:hover i {
    transform: translateX(3px);
}



/* Animacja fade-in dla itemów - kontrolowana z panelu administracyjnego */
.dd-carousel.sppb-carousel-fadeIn .sppb-carousel-extended-item {
    opacity: 0.5;
}

.dd-carousel.sppb-carousel-fadeIn .sppb-carousel-extended-item.active {
    opacity: 1;
}

/* Clone items - półprzezroczyste */
.dd-carousel .sppb-carousel-extended-item.clone {
    opacity: 0.6;
}

.dd-carousel .sppb-carousel-extended-item.clone:hover {
    opacity: 0.8;
}

/* Responsive - Tablet */
@media (max-width: 1024px) {
    .dd-carousel .sppb-carousel-extended-item {
        margin: 0 5px;
    }
    
    .dd-carousel .sppb-carousel-extended-content-wrap {
        padding: 20px 15px;
    }
    
    .dd-carousel .sppb-carousel-extended-heading {
        font-size: 1.2rem;
    }
    
    .dd-carousel .sppb-carousel-extended-subheading {
        font-size: 0.85rem;
    }
    
    .dd-carousel .sppb-carousel-extended-description {
        font-size: 0.85rem;
    }
    
    .dd-carousel .sppb-carousel-extended-nav-control {
        transform: translateY(-50%) rotate(0deg);
    }
    
    .dd-carousel .nav-control {
        width: 45px;
        height: 45px;
    }
    
    .dd-carousel .nav-control:hover {
        transform: scale(1.1);
    }
    
    .dd-carousel .nav-control:active {
        transform: scale(0.95);
    }
    
    .dd-carousel .nav-control i {
        font-size: 20px;
    }
    
    .dd-carousel .prev-control {
        margin-left: 0;
    }
    
    .dd-carousel .next-control {
        margin-right: 0;
    }
}

/* Responsive - Mobile */
@media (max-width: 768px) {
    .dd-carousel {
        padding: 15px 0;
        margin: 20px 0;
    }
    
    .dd-carousel .sppb-carousel-extended-item {
        border-radius: 10px;
        margin: 0 3px;
    }
    
    .dd-carousel .sppb-carousel-extended-item:hover {
        transform: translateY(-4px) scale(1.01);
    }
    
    .dd-carousel .sppb-carousel-extended-content-wrap {
        padding: 18px 15px;
    }
    
    .dd-carousel .sppb-carousel-extended-heading {
        font-size: 1.1rem;
    }
    
    .dd-carousel .sppb-carousel-extended-heading::after {
        width: 40px;
    }
    
    .dd-carousel .sppb-carousel-extended-item:hover .sppb-carousel-extended-heading::after {
        width: 50px;
    }
    
    .dd-carousel .sppb-carousel-extended-subheading {
        font-size: 0.8rem;
        margin-bottom: 8px;
    }
    
    /* Na mobile opis zawsze widoczny */
    .dd-carousel .sppb-carousel-extended-description {
        opacity: 1;
        transform: translateY(0);
        max-height: none;
        font-size: 0.8rem;
        margin-top: 8px;
    }
    
    .dd-carousel .sppb-carousel-extended-nav-control {
        transform: translateY(-50%) rotate(0deg);
    }
    
    .dd-carousel .nav-control {
        width: 40px;
        height: 40px;
        opacity: 0.85;
    }
    
    .dd-carousel .nav-control:hover {
        transform: scale(1.1);
    }
    
    .dd-carousel .nav-control:active {
        transform: scale(0.95);
    }
    
    .dd-carousel .nav-control i {
        font-size: 18px;
    }
    
    .dd-carousel .prev-control {
        margin-left: 0;
    }
    
    .dd-carousel .next-control {
        margin-right: 0;
    }
}

/* Bardzo małe ekrany */
@media (max-width: 576px) {
    .dd-carousel .sppb-carousel-extended-heading {
        font-size: 1rem;
    }
    
    .dd-carousel .sppb-carousel-extended-subheading {
        font-size: 0.75rem;
    }
    
    .dd-carousel .sppb-carousel-extended-description {
        font-size: 0.75rem;
        line-height: 1.4;
    }
    
    .dd-carousel .sppb-carousel-extended-nav-control {
        transform: translateY(-50%) rotate(0deg);
    }
    
    .dd-carousel .nav-control {
        width: 35px;
        height: 35px;
    }
    
    .dd-carousel .nav-control:hover {
        transform: scale(1.1);
    }
    
    .dd-carousel .nav-control:active {
        transform: scale(0.95);
    }
    
    .dd-carousel .nav-control i {
        font-size: 16px;
    }
    
    .dd-carousel .prev-control {
        margin-left: 0;
    }
    
    .dd-carousel .next-control {
        margin-right: 0;
    }
}

/* ============================================
   ARTICLE-LIST - Lista artykułów blogowych
   ============================================ */

/* Główny kontener listy */
.article-list {
    margin: 5px 0;
}

/* Pojedynczy artykuł - karta */
.article-list .article {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(0, 0, 0, 0.06);
}

/* Hover na kartę artykułu */
.article-list .article:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
    border-color: rgba(249, 115, 22, 0.3);
}

/* Kontener zdjęcia */
.article-list .article-intro-image {
    position: relative;
    width: 100%;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden;
    border-radius: 0;
    background: #f5f5f5;
    float: none !important;
}

.article-list .article-intro-image a {
    display: block;
    position: relative;
    overflow: hidden;
    width: 100%;
}

/* Zdjęcie artykułu */
.article-list .article-intro-image img {
    width: 100% !important;
    max-width: 100% !important;
    height: 240px;
    object-fit: cover;
    object-position: center;
    display: block;
    margin: 0 !important;
    padding: 0 !important;
    transition: transform 0.6s ease, filter 0.4s ease;
}

/* Hover na zdjęcie - zoom + brightness */
.article-list .article:hover .article-intro-image img {
    transform: scale(1.08);
    filter: brightness(1.05);
}

/* Gradient overlay na zdjęciu */
.article-list .article-intro-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0) 0%,
        rgba(0, 0, 0, 0) 50%,
        rgba(0, 0, 0, 0.3) 100%
    );
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    z-index: 1;
}

.article-list .article:hover .article-intro-image::after {
    opacity: 1;
}

/* Treść artykułu */
.article-list .article-body {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

/* Nagłówek H2 */
.article-list .page-header {
    margin: 0 0 15px 0;
    padding: 0 0 12px 0;
    border-bottom: 2px solid rgba(249, 115, 22, 0.15);
    position: relative;
}

.article-list .page-header h2 {
    font-size: 1.3rem;
    font-weight: 700;
    margin: 0;
    line-height: 1.4;
}

.article-list .page-header h2 a {
    color: #333333;
    text-decoration: none;
    transition: color 0.3s ease;
    display: inline-block;
}

.article-list .page-header h2 a:hover {
    color: #c60000;
}

/* Pomarańczowy akcent pod nagłówkiem */
.article-list .page-header::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #c60000, #a50000);
    transition: width 0.4s ease;
}

.article-list .article:hover .page-header::after {
    width: 60px;
}

/* Informacje o artykule */
.article-list .article-info {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 16px;
    margin-bottom: 15px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.article-list .article-info span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.8rem;
    color: #666666;
    transition: color 0.3s ease;
}

.article-list .article-info span [class^="icon-"] {
    font-size: 0.85rem;
    color: #c60000;
}

.article-list .article-info a {
    color: #666666;
    text-decoration: none;
    transition: color 0.3s ease;
}

.article-list .article-info a:hover {
    color: #c60000;
}

/* Intro text */
.article-list .article-introtext {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.article-list .article-introtext p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #555555;
    margin: 0 0 15px 0;
}

/* Read more button */
.article-list .readmore {
    margin-top: auto;
    padding-top: 15px;
}

.article-list .readmore a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    background: transparent;
    color: #c60000;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    border: 2px solid #c60000;
    border-radius: 6px;
    transition: all 0.3s ease;
    position: relative;
}

/* Strzałka */
.article-list .readmore a::after {
    content: '→';
    font-size: 1rem;
    transition: transform 0.3s ease;
}

/* Hover - wypełnienie kolorem */
.article-list .readmore a:hover {
    background: #c60000 ;
    color: #ffffff !important;
    border-color: #c60000 ;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(249, 115, 22, 0.25);
}

.article-list .readmore a:hover::after {
    transform: translateX(4px);
}

/* Active/Click efekt */
.article-list .readmore a:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(249, 115, 22, 0.2);
}

/* Odstępy między kolumnami */
.article-list.cols-3 .col-lg-4 {
    margin-bottom: 30px;
}

/* Animacja wejścia dla kart */
.article-list .article {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.6s ease forwards;
}

.article-list .col-lg-4:nth-child(1) .article {
    animation-delay: 0.1s;
}

.article-list .col-lg-4:nth-child(2) .article {
    animation-delay: 0.2s;
}

.article-list .col-lg-4:nth-child(3) .article {
    animation-delay: 0.3s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Wariant z większym spacing */
.article-list.spacious .col-lg-4 {
    margin-bottom: 40px;
}

/* Wariant kompaktowy */
.article-list.compact .article-body {
    padding: 20px;
}

.article-list.compact .article-intro-image img {
    height: 200px;
}

.article-list.compact .page-header h2 {
    font-size: 1.15rem;
}

/* Responsive - Tablet */
@media (max-width: 1024px) {
    .article-list .article-intro-image img {
        height: 220px;
    }
    
    .article-list .article-body {
        padding: 22px;
    }
    
    .article-list .page-header h2 {
        font-size: 1.2rem;
    }
    
    .article-list .article-info {
        gap: 10px 14px;
    }
    
    .article-list .article-info span {
        font-size: 0.75rem;
    }
}

/* Responsive - Mobile */
@media (max-width: 768px) {
    .article-list {
        margin: 30px 0;
    }
    
    .article-list.cols-3 .col-lg-4 {
        margin-bottom: 25px;
    }
    
    .article-list .article:hover {
        transform: translateY(-4px);
    }
    
    .article-list .article-intro-image img {
        height: 200px;
    }
    
    .article-list .article-body {
        padding: 20px;
    }
    
    .article-list .page-header {
        margin-bottom: 12px;
        padding-bottom: 10px;
    }
    
    .article-list .page-header h2 {
        font-size: 1.1rem;
    }
    
    .article-list .article-info {
        gap: 8px 12px;
        padding: 10px 0;
        margin-bottom: 12px;
    }
    
    .article-list .article-info span {
        font-size: 0.7rem;
    }
    
    .article-list .article-introtext p {
        font-size: 0.9rem;
        margin-bottom: 12px;
    }
    
    .article-list .readmore {
        padding-top: 12px;
    }
    
    .article-list .readmore a {
        padding: 9px 18px;
        font-size: 0.85rem;
    }
}

/* Bardzo małe ekrany */
@media (max-width: 576px) {
    .article-list .article-intro-image img {
        height: 180px;
    }
    
    .article-list .article-body {
        padding: 18px;
    }
    
    .article-list .page-header h2 {
        font-size: 1rem;
    }
    
    .article-list .article-info {
        flex-direction: column;
        gap: 6px;
    }
    
    .article-list .article-introtext p {
        font-size: 0.85rem;
        line-height: 1.6;
    }
}

/* ============================================
   ARTICLE-DETAILS - Strona szczegółów artykułu
   ============================================ */

/* Główny kontener artykułu */
.article-details {
    background: #ffffff;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    margin-bottom: 40px;
}

/* Zdjęcie główne artykułu */
.article-details .article-full-image {
    position: relative;
    width: 100%;
    margin: 0 0 30px 0 !important;
    padding: 0 !important;
    overflow: hidden;
    border-radius: 12px;
    background: #f5f5f5;
    float: none !important;
}

.article-details .article-full-image img {
    width: 100% !important;
    max-width: 100% !important;
    height: auto;
    max-height: 500px;
    object-fit: cover;
    object-position: center;
    display: block;
    margin: 0 !important;
    padding: 0 !important;
    border-radius: 12px;
    transition: transform 0.6s ease, filter 0.4s ease;
}

.article-details .article-full-image:hover img {
    transform: scale(1.03);
    filter: brightness(1.05);
}

/* Nagłówek artykułu */
.article-details .article-header {
    margin: 0 0 25px 0;
    padding: 0 0 20px 0;
    border-bottom: 3px solid rgba(249, 115, 22, 0.2);
    position: relative;
}

.article-details .article-header h1 {
    font-size: 2.2rem;
    font-weight: 700;
    color: #333333;
    margin: 0;
    line-height: 1.3;
    position: relative;
}

/* Pomarańczowy akcent pod nagłówkiem */
.article-details .article-header::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #c60000, #a50000);
    z-index: 1;
}

/* Informacje o artykule */
.article-details .article-info {
    display: flex;
    flex-wrap: wrap;
    gap: 15px 20px;
    margin-bottom: 30px;
    padding: 15px 20px;
    background: rgba(249, 115, 22, 0.05);
    border-radius: 8px;
    border-left: 4px solid #c60000;
}

.article-details .article-info span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.9rem;
    color: #666666;
    transition: color 0.3s ease;
}

.article-details .article-info span [class^="icon-"] {
    font-size: 1rem;
    color: #c60000;
}

.article-details .article-info a {
    color: #666666;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.article-details .article-info a:hover {
    color: #c60000;
}

/* Social Share - przyciski społecznościowe */
.article-details .article-ratings-social-share {
    margin-bottom: 30px;
    padding: 15px 0;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.article-details .social-share-icon ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 10px;
}

.article-details .social-share-icon ul li {
    margin: 0;
}

.article-details .social-share-icon ul li a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    transition: all 0.3s ease;
    position: relative;
}

/* Facebook - niebieski */
.article-details .social-share-icon ul li a.facebook {
    background: rgba(24, 119, 242, 0.1);
    color: #1877f2;
    border: 1px solid rgba(24, 119, 242, 0.3);
}

.article-details .social-share-icon ul li a.facebook:hover {
    background: #1877f2;
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(24, 119, 242, 0.3);
}

/* Twitter/X - czarny */
.article-details .social-share-icon ul li a.twitter {
    background: rgba(0, 0, 0, 0.08);
    color: #000000;
    border: 1px solid rgba(0, 0, 0, 0.2);
}

.article-details .social-share-icon ul li a.twitter:hover {
    background: #000000;
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* LinkedIn - niebieski */
.article-details .social-share-icon ul li a.linkedin {
    background: rgba(0, 119, 181, 0.1);
    color: #0077b5;
    border: 1px solid rgba(0, 119, 181, 0.3);
}

.article-details .social-share-icon ul li a.linkedin:hover {
    background: #0077b5;
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 119, 181, 0.3);
}

/* Treść artykułu */
.article-details .com-content-article__body {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #444444;
}

.article-details .com-content-article__body p {
    margin-bottom: 20px;
    text-align: justify;
}

/* Nagłówki H3 w treści */
.article-details .com-content-article__body h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #333333;
    margin: 35px 0 15px 0;
    padding-left: 15px;
    position: relative;
    border-left: 4px solid #c60000;
}

/* Pomarańczowa linia po lewej */
.article-details .com-content-article__body h3::before {
    content: '';
    position: absolute;
    left: -4px;
    top: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #c60000, #a50000);
}

/* Pierwszy paragraf - większy i wyróżniony */
.article-details .com-content-article__body > p:first-of-type {
    font-size: 1.15rem;
    font-weight: 500;
    color: #333333;
    line-height: 1.7;
    padding: 20px;
    background: rgba(249, 115, 22, 0.05);
    border-left: 4px solid #c60000;
    border-radius: 8px;
    margin-bottom: 30px;
}

/* Listy w treści artykułu */
.article-details .com-content-article__body ul,
.article-details .com-content-article__body ol {
    margin: 20px 0 20px 25px;
    padding: 0;
}

.article-details .com-content-article__body ul li,
.article-details .com-content-article__body ol li {
    margin-bottom: 10px;
    line-height: 1.7;
}

.article-details .com-content-article__body ul li::marker {
    color: #c60000;
}

/* Cytaty */
.article-details .com-content-article__body blockquote {
    margin: 30px 0;
    padding: 20px 25px;
    background: #f9f9f9;
    border-left: 4px solid #c60000;
    border-radius: 8px;
    font-style: italic;
    color: #555555;
}

/* Linki w treści */
.article-details .com-content-article__body a {
    color: #c60000;
    text-decoration: none;
    font-weight: 500;
    border-bottom: 1px solid transparent;
    transition: all 0.3s ease;
}

.article-details .com-content-article__body a:hover {
    color: #a50000;
    border-bottom-color: #a50000;
}

/* Kod w treści */
.article-details .com-content-article__body code {
    padding: 2px 6px;
    background: rgba(249, 115, 22, 0.1);
    border: 1px solid rgba(249, 115, 22, 0.2);
    border-radius: 4px;
    font-size: 0.9em;
    color: #c60000;
}

.article-details .com-content-article__body pre {
    padding: 15px;
    background: #f5f5f5;
    border-left: 4px solid #c60000;
    border-radius: 8px;
    overflow-x: auto;
    margin: 20px 0;
}

/* Obrazki w treści */
.article-details .com-content-article__body img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 20px 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Tabele w treści */
.article-details .com-content-article__body table {
    width: 100%;
    border-collapse: collapse;
    margin: 25px 0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.article-details .com-content-article__body table th {
    background: linear-gradient(135deg, #c60000, #a50000);
    color: #ffffff;
    padding: 12px;
    text-align: left;
    font-weight: 600;
}

.article-details .com-content-article__body table td {
    padding: 12px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.article-details .com-content-article__body table tr:hover td {
    background: rgba(249, 115, 22, 0.05);
}

/* Responsive - Tablet */
@media (max-width: 1024px) {
    .article-details {
        padding: 35px;
    }
    
    .article-details .article-header h1 {
        font-size: 2rem;
    }
    
    .article-details .com-content-article__body {
        font-size: 1rem;
    }
    
    .article-details .com-content-article__body h3 {
        font-size: 1.4rem;
    }
}

/* Responsive - Mobile */
@media (max-width: 768px) {
    .article-details {
        padding: 25px;
        border-radius: 10px;
    }
    
    .article-details .article-full-image {
        margin: 0 0 20px 0 !important;
        border-radius: 10px;
    }
    
    .article-details .article-full-image img {
        max-height: 350px;
        border-radius: 10px;
    }
    
    .article-details .article-header {
        margin-bottom: 20px;
        padding-bottom: 15px;
    }
    
    .article-details .article-header h1 {
        font-size: 1.6rem;
    }
    
    .article-details .article-header::after {
        width: 60px;
    }
    
    .article-details .article-info {
        gap: 10px 15px;
        padding: 12px 15px;
    }
    
    .article-details .article-info span {
        font-size: 0.8rem;
    }
    
    .article-details .article-ratings-social-share {
        margin-bottom: 20px;
    }
    
    .article-details .social-share-icon ul {
        gap: 8px;
    }
    
    .article-details .social-share-icon ul li a {
        width: 36px;
        height: 36px;
    }
    
    .article-details .com-content-article__body {
        font-size: 0.95rem;
        line-height: 1.7;
    }
    
    .article-details .com-content-article__body p {
        margin-bottom: 18px;
        text-align: left;
    }
    
    .article-details .com-content-article__body > p:first-of-type {
        font-size: 1.05rem;
        padding: 15px;
    }
    
    .article-details .com-content-article__body h3 {
        font-size: 1.25rem;
        margin: 25px 0 12px 0;
        padding-left: 12px;
    }
}

/* Bardzo małe ekrany */
@media (max-width: 576px) {
    .article-details {
        padding: 20px;
    }
    
    .article-details .article-full-image img {
        max-height: 280px;
    }
    
    .article-details .article-header h1 {
        font-size: 1.4rem;
    }
    
    .article-details .article-info {
        flex-direction: column;
        gap: 8px;
        padding: 10px 12px;
    }
    
    .article-details .social-share-icon ul {
        gap: 6px;
    }
    
    .article-details .social-share-icon ul li a {
        width: 32px;
        height: 32px;
        font-size: 0.9rem;
    }
    
    .article-details .com-content-article__body {
        font-size: 0.9rem;
    }
    
    .article-details .com-content-article__body > p:first-of-type {
        font-size: 1rem;
    }
    
    .article-details .com-content-article__body h3 {
        font-size: 1.15rem;
    }
}

/* ============================================
   PAGINATION - Nawigacja stron
   ============================================ */

/* Główny kontener paginacji */
.pagination-wrapper {
    margin-top: 20px;
}

.pagination {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0 0 40px 0 !important;
}

/* Pojedynczy element */
.pagination .page-item {
    margin: 0;
}

/* Linki i spany */
.pagination .page-link {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 42px;
    padding: 8px 12px;
    background: #ffffff;
    color: #333333;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    border: 2px solid rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
}

/* Hover efekt */
.pagination .page-item:not(.active):not(.disabled) .page-link:hover {
    background: rgba(249, 115, 22, 0.1);
    color: #c60000;
    border-color: #c60000;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(249, 115, 22, 0.15);
}

/* Aktywna strona */
.pagination .page-item.active .page-link {
    background: linear-gradient(135deg, #c60000, #a50000);
    color: #ffffff;
    border-color: #c60000;
    box-shadow: 0 4px 12px rgba(249, 115, 22, 0.3);
    cursor: default;
}

/* Disabled (nieaktywne) */
.pagination .page-item.disabled .page-link {
    background: #f5f5f5;
    color: #cccccc;
    border-color: rgba(0, 0, 0, 0.05);
    cursor: not-allowed;
    opacity: 0.6;
}

/* Ikonki (strzałki) */
.pagination .page-link [class^="icon-"] {
    font-size: 1rem;
}

/* Pierwsze i ostatnie przyciski (double arrows) - wyróżnione */
.pagination .page-item:first-child .page-link,
.pagination .page-item:last-child .page-link {
    background: rgba(249, 115, 22, 0.05);
    border-color: rgba(249, 115, 22, 0.2);
    color: #c60000;
}

.pagination .page-item:first-child:not(.disabled) .page-link:hover,
.pagination .page-item:last-child:not(.disabled) .page-link:hover {
    background: rgba(249, 115, 22, 0.15);
    border-color: #c60000;
}

/* Disabled first/last */
.pagination .page-item:first-child.disabled .page-link,
.pagination .page-item:last-child.disabled .page-link {
    background: #f5f5f5;
    color: #cccccc;
}

/* Wariant kompaktowy */
.pagination.compact .page-link {
    min-width: 36px;
    height: 36px;
    padding: 6px 10px;
    font-size: 0.9rem;
}

/* Wariant rounded (pełne kółka) */
.pagination.rounded .page-link {
    border-radius: 50%;
    min-width: 42px;
    padding: 8px;
}

/* Responsive - Tablet */
@media (max-width: 1024px) {
    .pagination__wrapper {
        margin: 35px 0;
    }
    
    .pagination {
        gap: 6px;
        margin-bottom: 35px !important;
    }
    
    .pagination .page-link {
        min-width: 40px;
        height: 40px;
        font-size: 0.9rem;
    }
}

/* Responsive - Mobile */
@media (max-width: 768px) {
    .pagination__wrapper {
        margin: 30px 0;
    }
    
    .pagination {
        gap: 5px;
        margin-bottom: 30px !important;
    }
    
    .pagination .page-link {
        min-width: 38px;
        height: 38px;
        padding: 6px 10px;
        font-size: 0.85rem;
    }
    
    .pagination .page-link [class^="icon-"] {
        font-size: 0.9rem;
    }
}

/* Bardzo małe ekrany */
@media (max-width: 576px) {
    .pagination__wrapper {
        margin: 25px 0;
    }
    
    .pagination {
        gap: 4px;
        margin-bottom: 25px !important;
        justify-content: center;
    }
    
    .pagination .page-link {
        min-width: 36px;
        height: 36px;
        padding: 5px 8px;
        font-size: 0.8rem;
        border-radius: 6px;
    }
    
    .pagination .page-link [class^="icon-"] {
        font-size: 0.85rem;
    }
}

/* ============================================
   ITEMS-MORE / ARTICLES-MORE - Lista dodatkowych artykułów
   ============================================ */

/* Główny kontener */
.items-more,
.articles-more {
    background: #ffffff;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 40px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border-left: 4px solid #c60000;
}

/* Nagłówek (jeśli istnieje) */
.items-more h3,
.articles-more h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #333333;
    margin: 0 0 20px 0;
    padding-bottom: 12px;
    border-bottom: 2px solid rgba(249, 115, 22, 0.15);
    position: relative;
}

.items-more h3::before,
.articles-more h3::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, #c60000, #a50000);
}

/* Lista artykułów */
.com-content-blog__links {
    list-style: none;
    padding: 0;
    margin: 0;
    counter-reset: article-counter;
}

/* Pojedynczy element listy */
.com-content-blog__link {
    position: relative;
    padding: 12px 0 12px 40px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    counter-increment: article-counter;
}

.com-content-blog__link:last-child {
    border-bottom: none;
}

/* Numeracja - pomarańczowe kółko */
.com-content-blog__link::before {
    content: counter(article-counter);
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 28px;
    height: 28px;
    background: linear-gradient(135deg, #c60000, #a50000);
    color: #ffffff;
    font-size: 0.85rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

/* Link artykułu */
.com-content-blog__link a {
    color: #333333;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    line-height: 1.6;
    transition: color 0.3s ease;
    display: block;
}

/* Hover efekt */
.com-content-blog__link:hover {
    padding-left: 45px;
    background: rgba(249, 115, 22, 0.03);
}

.com-content-blog__link:hover::before {
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 2px 8px rgba(249, 115, 22, 0.3);
}

.com-content-blog__link:hover a {
    color: #c60000;
}

/* Wariant z ikonkami zamiast numeracji */
.items-more.with-icons .com-content-blog__link::before,
.articles-more.with-icons .com-content-blog__link::before {
    content: '→';
    font-size: 1rem;
    background: rgba(249, 115, 22, 0.1);
    color: #c60000;
}

.items-more.with-icons .com-content-blog__link:hover::before,
.articles-more.with-icons .com-content-blog__link:hover::before {
    background: #c60000;
    color: #ffffff;
}

/* Wariant kompaktowy */
.items-more.compact,
.articles-more.compact {
    padding: 20px;
    margin-bottom: 30px;
}

.items-more.compact .com-content-blog__link,
.articles-more.compact .com-content-blog__link {
    padding: 10px 0 10px 35px;
}

.items-more.compact .com-content-blog__link::before,
.articles-more.compact .com-content-blog__link::before {
    width: 24px;
    height: 24px;
    font-size: 0.8rem;
}

/* Responsive - Tablet */
@media (max-width: 1024px) {
    .items-more,
    .articles-more {
        padding: 22px;
        margin-bottom: 35px;
    }
    
    .items-more h3,
    .articles-more h3 {
        font-size: 1.2rem;
        margin-bottom: 18px;
    }
    
    .com-content-blog__link {
        padding: 11px 0 11px 38px;
    }
}

/* Responsive - Mobile */
@media (max-width: 768px) {
    .items-more,
    .articles-more {
        padding: 20px;
        margin-bottom: 30px;
        border-radius: 10px;
    }
    
    .items-more h3,
    .articles-more h3 {
        font-size: 1.15rem;
        margin-bottom: 15px;
    }
    
    .com-content-blog__link {
        padding: 10px 0 10px 35px;
    }
    
    .com-content-blog__link::before {
        width: 26px;
        height: 26px;
        font-size: 0.8rem;
    }
    
    .com-content-blog__link a {
        font-size: 0.9rem;
    }
}

/* Bardzo małe ekrany */
@media (max-width: 576px) {
    .items-more,
    .articles-more {
        padding: 18px;
        margin-bottom: 25px;
    }
    
    .items-more h3,
    .articles-more h3 {
        font-size: 1.1rem;
    }
    
    .com-content-blog__link {
        padding: 9px 0 9px 32px;
    }
    
    .com-content-blog__link::before {
        width: 24px;
        height: 24px;
        font-size: 0.75rem;
    }
    
    .com-content-blog__link a {
        font-size: 0.85rem;
        line-height: 1.5;
    }
    
    .com-content-blog__link:hover {
        padding-left: 35px;
    }
}

/* ============================================
   BREADCRUMBS - Okruszki nawigacyjne
   ============================================ */

/* Główny kontener breadcrumbs */
.mod-breadcrumbs {
    background: #f8f8f8;

    padding: 12px 0px !important;
    margin-bottom: 1px;

    /* border-left: 3px solid #c60000; */
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

/* "You are here" tekst */
.mod-breadcrumbs__here {
    font-size: 0.85rem;
    color: #333333!important;
    font-weight: 500;
    margin: 0 !important;
    float: none !important;
}

/* Pojedynczy element breadcrumb */
.mod-breadcrumbs__item {
    display: inline-flex;
    align-items: center;
    font-size: 0.9rem;
    margin: 0;
}

/* Separator (/) między elementami - dodawany automatycznie */
.mod-breadcrumbs__item:not(:last-child)::after {
    content: '/';
    margin: 0 8px;
    color: #999999;
    font-weight: 400;
}

/* Wyłączenie domyślnych separatorów Bootstrap */
.breadcrumb-item + .breadcrumb-item::before {
    content: none !important;
    display: none !important;
}

/* Linki w breadcrumbs */
.mod-breadcrumbs__item a,
.mod-breadcrumbs__item .pathway {
    color: #333333!important;
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 500;
}

.mod-breadcrumbs__item a:hover,
.mod-breadcrumbs__item .pathway:hover {
    color: #c60000;
}

/* Aktywny element (ostatni) */
.mod-breadcrumbs__item.active,
.mod-breadcrumbs__item.active span {
    color: #c60000;
    font-weight: 600;
}

/* Ikonki w linkach (jeśli istnieją) */
.mod-breadcrumbs__item [class^="icon-"] {
    margin-right: 5px;
    font-size: 0.85rem;
}

/* Wariant kompaktowy */
.mod-breadcrumbs.compact {
    padding: 8px 15px !important;
    margin-bottom: 20px;
    font-size: 0.85rem;
}

.mod-breadcrumbs.compact .mod-breadcrumbs__here {
    font-size: 0.8rem;
}

.mod-breadcrumbs.compact .mod-breadcrumbs__item {
    font-size: 0.85rem;
}

/* Wariant bez "You are here" */
.mod-breadcrumbs .mod-breadcrumbs__here:empty {
    display: none;
}

/* Wariant z ikonką home */
.mod-breadcrumbs__item:first-of-type a::before {
    content: '🏠';
    margin-right: 5px;
    font-size: 0.9rem;
}

/* Alternatywnie z Font Awesome */
.mod-breadcrumbs.with-home-icon .mod-breadcrumbs__item:first-of-type a::before {
    content: '\f015';
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    margin-right: 6px;
    color: #c60000;
}

/* Responsive - Tablet */
@media (max-width: 1024px) {
    .mod-breadcrumbs {
        padding: 10px 18px !important;
        margin-bottom: 25px;
        gap: 6px;
    }
    
    .mod-breadcrumbs__here {
        font-size: 0.8rem;
    }
    
    .mod-breadcrumbs__item {
        font-size: 0.85rem;
    }
    
    .mod-breadcrumbs__item:not(:last-child)::after {
        margin: 0 6px;
    }
}

/* Responsive - Mobile */
@media (max-width: 768px) {
    .mod-breadcrumbs {
        padding: 10px 15px !important;
        margin-bottom: 20px;
        border-radius: 6px;
    }
    
    .mod-breadcrumbs__here {
        font-size: 0.75rem;
        width: 100%;
        margin-bottom: 5px !important;
    }
    
    .mod-breadcrumbs__item {
        font-size: 0.8rem;
    }
    
    .mod-breadcrumbs__item:not(:last-child)::after {
        margin: 0 5px;
        font-size: 0.8rem;
    }
}

/* Bardzo małe ekrany */
@media (max-width: 576px) {
    .mod-breadcrumbs {
        padding: 8px 12px !important;
        margin-bottom: 15px;
        gap: 4px;
    }
    
    .mod-breadcrumbs__here {
        font-size: 0.7rem;
    }
    
    .mod-breadcrumbs__item {
        font-size: 0.75rem;
    }
    
    .mod-breadcrumbs__item:not(:last-child)::after {
        margin: 0 4px;
    }
    
    /* Skrócenie długich tytułów na mobile */
    .mod-breadcrumbs__item.active span {
        display: inline-block;
        max-width: 200px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
}

/* =====================================================
   PAGE TITLE HEADING
   ===================================================== */

.sp-page-title-heading {
    font-size: 2.5rem!important;
    font-weight: 700;
    color: #2d3748 !important;
    margin: 0 0 20px 0;
    padding: 0 0 15px 0;
    /* border-bottom: 3px solid #c60000; */
    position: relative;
    display: inline-block;
}

.sp-page-title-heading::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 80px;
    height: 3px;
    background: #a50000;
}

/* Responsive */
@media (max-width: 768px) {
    .sp-page-title-heading {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .sp-page-title-heading {
        font-size: 1.75rem;
        padding-bottom: 12px;
    }
}

/* ============================================
   LOGO ANIMATION - Delikatny zoom po załadowaniu strony
   ============================================ */

/* Logo z animacją zoom-in */
.logo,
.logo-image,
.sp-header .logo,
.sp-header .logo-image {
    animation: logoZoomIn 1.2s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    transform-origin: center;
}

/* Animacja zoom-in - start od 0.8, kończy na 1 */
@keyframes logoZoomIn {
    0% {
        opacity: 0;
        transform: scale(0.8);
    }
    60% {
        opacity: 1;
        transform: scale(1.03);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* Hover na logo - delikatny zoom */
.logo:hover img,
.logo:hover .logo-image,
.sp-header .logo:hover img,
.sp-header .logo:hover .logo-image {
    transform: scale(1.05);
    transition: transform 0.3s ease;
}

/* Responsive - mniejsza animacja na mobile */
@media (max-width: 768px) {
    @keyframes logoZoomIn {
        0% {
            opacity: 0;
            transform: scale(0.85);
        }
        60% {
            opacity: 1;
            transform: scale(1.02);
        }
        100% {
            opacity: 1;
            transform: scale(1);
        }
    }
}


/* ============================================
   HEADER-1: Full Line + Title Accent
   Styl z hot-news (border-accent) dla H2 i H3
   Klasa dodawana bezpośrednio na h2/h3
   ============================================ */

/* Styl bezpośrednio na H2/H3 */
h2.header-1,
h3.header-1 {
    --header-line-color: #c60000;
    --header-title-color: #c60000;
    --header-line-width: 1px;
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    padding-bottom: 1rem;
    margin-bottom: 1.25rem;
    color: var(--header-title-color) !important;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    font-size: 1.3em;
}

/* Ciemna linia na całą szerokość kontenera (100%) */
h2.header-1::before,
h3.header-1::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: var(--header-line-width);
    background: #1a1a1a;
    z-index: 1;
}

/* Kolorowa linia - rozciągamy na 30% lub do końca tekstu */
h2.header-1::after,
h3.header-1::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: var(--header-accent-width, 30%);
    height: var(--header-line-width);
    background: var(--header-line-color);
    z-index: 2;
}

/* Modyfikatory kolorów */
h2.header-1.header-1--blue,
h3.header-1.header-1--blue {
    --header-line-color: #2196F3 !important;
    --header-title-color: #2196F3 !important;
}

h2.header-1.header-1--green,
h3.header-1.header-1--green {
    --header-line-color: #4CAF50 !important;
    --header-title-color: #4CAF50 !important;
}

h2.header-1.header-1--orange,
h3.header-1.header-1--orange {
    --header-line-color: #FF9800 !important;
    --header-title-color: #FF9800 !important;
}

h2.header-1.header-1--purple,
h3.header-1.header-1--purple {
    --header-line-color: #9C27B0 !important;
    --header-title-color: #9C27B0 !important;
}

h2.header-1.header-1--dark,
h3.header-1.header-1--dark {
    --header-line-color: #333 !important;
    --header-title-color: #333 !important;
}

h2.header-1.header-1--red,
h3.header-1.header-1--red {
    --header-line-color: #c60000 !important;
    --header-title-color: #c60000 !important;
}

h2.header-1.header-1--important,
h3.header-1.header-1--important {
    --header-line-color: #c60000 !important;
    --header-title-color: #c60000 !important;
    --header-accent-width: 100% !important;
}

/* ============================================
   FOOTER BOXES - Proste ciemne boxy z H3
   Wersje: box-footer-1, box-footer-2, box-footer-3, box-footer-4
   ============================================ */

/* === BOX-FOOTER-1: Czerwona górna krawędź + animowane podkreślenie === */
.box-footer-1 {
    background: #1d1d1d;
    border-radius: 8px;
    padding: 25px;
    border-top: 3px solid #c60000;
}

.box-footer-1 h3 {
    color: #ffffff;
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 0 15px 0;
    padding-bottom: 12px;
    position: relative;
}

.box-footer-1 h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background: #c60000;
    transition: width 0.3s ease;
}

.box-footer-1:hover h3::after {
    width: 100%;
}

/* === BOX-FOOTER-2: Border dashed + podkreślenie od środka === */
.box-footer-2 {
    background: #16213e;
    border: 2px dashed #c60000;
    border-radius: 8px;
    padding: 25px;
}

.box-footer-2 h3 {
    color: #ffffff;
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 0 15px 0;
    padding-bottom: 12px;
    position: relative;
    text-align: center;
}

.box-footer-2 h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: #c60000;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.box-footer-2:hover h3::after {
    width: 80%;
}

/* === BOX-FOOTER-3: Lewa krawędź + slide podkreślenie === */
.box-footer-3 {
    background: #292929;
    border-left: 4px solid #c60000;
    border-radius: 0 8px 8px 0;
    padding: 25px;
}

.box-footer-3 h3 {
    color: #ffffff;
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 0 15px 0;
    padding-bottom: 12px;
    position: relative;
    overflow: hidden;
}

.box-footer-3 h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: -100%;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #c60000, transparent);
    transition: left 0.4s ease;
}

.box-footer-3:hover h3::after {
    left: 0;
}

/* === BOX-FOOTER-4: Solid border === */
.box-footer-4 {
    background: #1d1d1d;
    border-radius: 8px;
    padding: 25px;
    border: 1px solid #464646;
}

.box-footer-4 h3 {
    color: #ffffff;
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 0 15px 0;
    padding-bottom: 12px;
    position: relative;
}

.box-footer-4 h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: #c60000;
    transition: all 0.3s ease;
    box-shadow: 40px 0 0 rgba(198, 0, 0, 0.5);
}

.box-footer-4:hover h3::after {
    width: 60px;
    box-shadow: 70px 0 0 #c60000;
}

/* Reset dla modułów wewnątrz box-footer - wyłącz ich własne tła/bordery */
.box-footer-1 > .sp-module-content > *,
.box-footer-2 > .sp-module-content > *,
.box-footer-3 > .sp-module-content > *,
.box-footer-4 > .sp-module-content > * {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}