/*Zmiana koloru przycisków - na stałe (Usuwa błąd, gdzie po naciśnięciu przycisk stawał się niebieski)*/
.btn-primary, .search .btn-toolbar .btn, .search .btn-toolbar .blog-list .item-readmore a, .blog-list .item-readmore .search .btn-toolbar a {
    --t4-btn-color: #fff;
    --t4-btn-bg: #82bf45;
    --t4-btn-border-color: #82bf45;
    --t4-btn-hover-color: #fff;
    --t4-btn-hover-bg: #68a32d;
    --t4-btn-hover-border-color: #68a32d;
    --t4-btn-focus-shadow-rgb: 49, 132, 253;
    --t4-btn-active-color: #fff;
    --t4-btn-active-bg: #68a32d;
    --t4-btn-active-border-color: #68a32d;
    --t4-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --t4-btn-disabled-color: #fff;
    --t4-btn-disabled-bg: #82bf45;
    --t4-btn-disabled-border-color: #82bf45;
}


/*Zmiana koloru kropek karuzeli na zielono - na stałe*/
div.owl-carousel .owl-dots .owl-dot.active span {
    background-color: #82bf45;
    opacity: 1;
    width: 16px;
}

/*Zmiana koloru Liczb w statystykach na zielono - na stałe*/
.acm-stats.style-1 .stats-count {
    color: #82bf45;
}

/*Zmiana koloru *DANGER* - na stałe (Błąd przy tle modułu)*/
.bg-danger {
    --t4-bg-opacity: 1;
    background-color: #68a32d !important;
}




/**
 * Customowy wrapper CSS do modułu Hero - 1 z efektem paralaxy
 * 
 *
 * Uzycie: dodaj klasę 'apply-parallax' do "Wzbogacone"->"Klasa modułu" w ustawieniach modułu.
 * Tekst do wpisania w polu "HERO_INTRO_LABEL"
 */
/* 1. Background Image Parallax Setup */
.apply-parallax .acm-hero,
.apply-parallax .acm-hero .hero-item,
.apply-parallax .acm-hero .style-1,
.apply-parallax .has-bg {
    padding: 0 !important;
    background-attachment: fixed !important;
    background-position: center center !important;
    background-size: cover !important;
    background-repeat: no-repeat !important;
}
/* 2. Content Box Extension & Alignment (Shatters the 668px limitation) */
.apply-parallax .acm-hero .hero-content,
.apply-parallax .acm-hero .hero-intro,
.apply-parallax .acm-hero .hero-content-inner,
.apply-parallax .acm-hero .hero-intro-inner {
    /* Viewport breakout strategy to push content past layout restrictions */
    width: 85vw !important;
    max-width: 1200px !important;
    position: relative !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    
    /* Module vertical scaling rules */
    padding-top: 80px !important;
    padding-bottom: 80px !important;
    min-height: 400px !important;
    
    /* Force internal layout components into a perfectly centered column stack */
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
}
/* 3. Typography Formatting & Content Spacing Rules */
.apply-parallax .acm-hero h1,
.apply-parallax .acm-hero h2,
.apply-parallax .acm-hero .hero-title,
.apply-parallax .acm-hero .hero-desc,
.apply-parallax .acm-hero .lead,
.apply-parallax .acm-hero p {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto !important;
    font-size: 1.6rem !important;
    line-height: 1.2 !important;
    font-weight: bolder;
    text-align: center !important;
    white-space: pre-line !important; /* Force browser to respect editor returns & line breaks */
}
/* 4. Action Button Placement Control */
.apply-parallax .acm-hero .hero-actions,
.apply-parallax .acm-hero .action-groups {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 15px !important;
    width: 100% !important;
    margin-top: 20px !important;
}
/* 5. Mobile & Tablet Optimization Grid Settings */
@media (max-width: 992px) {
    /* Fixed backdrops break on mobile, fallback to standard scrolling behavior */
    .apply-parallax .acm-hero,
    .apply-parallax .acm-hero .hero-item,
    .apply-parallax .has-bg {
        background-attachment: scroll !important;
    }
    /* Responsive horizontal layout adjustment */
    .apply-parallax .acm-hero .hero-content,
    .apply-parallax .acm-hero .hero-intro {
        width: 90vw !important;
        transform: translateX(-50%) !important;
        padding-top: 60px !important;
        padding-bottom: 60px !important;
        min-height: auto !important;
    }
    /* Scale text down for smaller viewports */
    .apply-parallax .acm-hero .hero-desc,
    .apply-parallax .acm-hero .lead,
    .apply-parallax .acm-hero p {
        font-size: 1.2rem !important;
    }
}

/* Customowy wrapper CSS do artykułów
UKRYJ ODSŁONY TWÓRCĘ I KATEGORIĘ ARTYKUŁU

Uzycie: dodaj klasę 'clear-article' oraz 'clear-article-navi' do "extra class" w ustawieniach component .
*/
.clear-article .article-aside {
    display: none;
}
.clear-article-navi .pagenavigation {
    display: none;
}
.clear-article-navi .item-page .author-block.author-block-post-detail .author-avatar{
    display: none;
}
.clear-article-navi .author-block .author-name a{
    display: none;
}


/*TOPBAR, menu wyboru języku, zmniejszenie Paddingu*/
.t4-topbar {
    padding-top: 0.4rem;
    padding-bottom: 0.4rem;
}
