/*
 Theme Name:   Bootscore Child
 Description:  Bootscore Child Theme
 Author:       Bootscore
 Author URI:   https://bootscore.me
 Template:     bootscore
 Version:      6.0.0
 Requires at least: 5.0
 Tested up to: 6.6
 Requires PHP: 7.4
 License: MIT License
 License URI: https://github.com/bootscore/bootscore-child/blob/main/LICENSE
 Text Domain:  bootscore
*/

/* 
All style editing is done via /assets/scss/_bootscore_custom.scss
*/


h1, h2, h3, h4, h5, h6 {
  font-family: "EB Garamond", serif;
  font-optical-sizing: auto;
  font-weight: <weight>;
  font-style: normal;
}

.wtw-offcanvas .offcanvas-header{background-color: #0d2946;}
.wtw-offcanvas .offcanvas-body{background-color: #1a3443;}
.wtw-offcanvas .offcanvas-title{font-family: "EB Garamond", serif; color: #d4af37; font-weight: 700; font-size: 24px;}
.wtw-offcanvas .btn-close{color: #d4af37;}
.wtw-offcanvas .navbar-nav{font-family: "EB Garamond", serif;  font-size: 20px;}
.wtw-offcanvas .navbar-nav li a{color: #d4af37;}
.wtw-offcanvas .navbar-nav .nav-link.active, .navbar-nav .nav-link.show {background-color: #0d2946; color: #d4af37;}
.wtw-offcanvas .dropdown-menu{background-color: #0d2946;}

#top-navbar{font-family: "EB Garamond", serif; font-weight: 400; font-size: 18px; text-transform: uppercase;}
#top-navbar li{display: inline !important;}

#logo_top, .bg-body-main{
background-color: #1a3443;
padding: 20px;
}


.btn-outline-blue {
    --bs-btn-color: #1a3443;
    --bs-btn-border-color: #1a3443;
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #1a3443;
    --bs-btn-hover-border-color: #1a3443;
    --bs-btn-focus-shadow-rgb: 108, 117, 125;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #1a3443;
    --bs-btn-active-border-color: #1a3443;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #1a3443;
    --bs-btn-disabled-bg: transparent;
    --bs-btn-disabled-border-color: #1a3443;
    --bs-gradient: none;
}


.site-header{
border-bottom: solid 1px #1a3443;
padding-top: 2px;
padding-bottom: 2px;
background-color: #fff;
}


.card {
    overflow: hidden;
}

.card .overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(0,0,0,0.55); /* półprzezroczysta apla */
    color: #fff;
    padding: 1rem;
    z-index: 5;
}

.card-img-top {
    display: block;
    width: 100%;
    height: auto;
}

.pinnews{border: none; background-color: #1a3443;}
.pinnews h2 a{color: #cca445;}
.pinnews p{color: #fff;}

.overlay .card-title a{color: #cca445; text-decoration: none;}

.sport-card, .sport-card-gold {
    width: 100%;
    border-radius: 12px;
    overflow: hidden;

}

.sport-card{background: #1a3443;       /* ‹ kolor pod zaokrągleniem IMG */}
.sport-card-gold{background: #cca445;       /* ‹ kolor pod zaokrągleniem IMG */}



/* warstwa dla zdjęcia z maską */
.img-layer, .img-layer-color {
    position: relative;
    /*background: #1a3443;       /* widoczny w zaokrągleniu */
}

/* TU SIĘ DZIEJE MAGIA ?? */
.img-layer img {
    width: 100%;
    display: block;

    /* prawdziwe zaokrąglenie BEZ prześwitów */
    -webkit-mask-image: radial-gradient(circle at top left, transparent 0, black 0),
                        radial-gradient(circle at top right, transparent 0, black 0),
                        radial-gradient(circle at bottom left, transparent 0, black 0),
                        radial-gradient(circle at bottom right, transparent 0, black 0);
    border-radius: 12px; /* przejmuje kształt maski */
    filter: grayscale(100%);
    transition: filter .45s ease-in-out; /* ładne płynne przejście */
}

.sport-card:hover .img-layer img, .sport-card-gold:hover .img-layer img  {
    filter: grayscale(0%);
}


/* Label jak na grafice */
.sport-label, .sport-label-gold {
    position: absolute;
    bottom: 30px;
    right: 0;
    color: #fff;
    padding: 8px 16px;
    font-size: 18px;
    font-weight: 600;
    border-radius: 0 0 0 0;
    text-transform: uppercase;
}

.sport-label{background: #1a3443;}
.sport-label-gold {background: #cca445;}

/* pasek pod obrazem */
.blue-bar {
    height: 14px;
    background: #1a3443;
    border-radius: 0 0 12px 12px;
}

.gold-bar {
    height: 14px;
    background: #cca445;
    border-radius: 0 0 12px 12px;
}


/* Płynne przejścia */
.sport-card,
.sport-label,
.blue-bar,
.gold-bar {
    transition: all .35s ease;
}

/* Domyślny kolor */
.sport-card {
    background: #1a3443;
}

.sport-card-gold {
    background: #cca445;
}

/* HOVER – zamiana całości na złoto */
.sport-card:hover {
    background: #d4af37; /* całe tło pod zdjęciem */
}

.sport-card-gold:hover {
    background: #cca445; /* całe tło pod zdjęciem */
}


.sport-card:hover .sport-label {
    background: #d4af37; 
    color: #fff;
}

.sport-card-gold:hover .sport-label {
    background: #d4af37; 
    color: #fff;
}

.sport-card:hover .blue-bar {
    background: #d4af37;
}


.sport-card-gold:hover .blue-bar {
    background: #d4af37;
}

/* Ukrywamy domyślnie wszystkie kontenery ze zdjęciami */
.object-image-container {
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

/* Pokazujemy tylko ten z klasą aktywną */
.object-image-container.active-img {
    display: block;
    opacity: 1;
}

/* Opcjonalnie: Styl dla aktywnego przycisku na liście (jeśli nie używasz Bootstrapa) */
.object-trigger.active {
    background-color: #007bff;
    color: white;
    font-weight: bold;
}

.break-first {
    display: block;
    text-align: center;
}

.break-first::after {
    content: "";
    display: block;
    text-align: cemter;
}

.obiekty-left .list-group{background-color: #fff; border-radius: 12px; padding: 20px; margin-top: 40px; margin-left: 40px; margin-right: 40px;}

#obiekty {
    position: relative; /* pseudo-element absolutny względem sekcji */
}

#obiekty .row {
    display: flex;
    align-items: stretch; /* kolumny mają równą wysokość */
}

.roundedmore{border-radius: 12px;}

#obiekty::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 37.9%; /* szerokość pierwszej kolumny */
    height: 100%;    /* wypełnia całą wysokość rzędu */
    background-color: #ededed;
    border-top-right-radius: 12px;
    border-bottom-right-radius: 12px;
    z-index: -1;
}



.product-home{border: none;}
.product-home-image{}
.product-home-image img{ border-radius: 12px;bordeR: solid 1px #1a3443;}
.product-home .card-body{padding-left: 0px; padding-right: 0px;}
.btn-blue{background-color: #1a3443;}
.product-home .card-body .amount{font-size: 20px; padding: 5px;}
.product-home .card-body h3 a{text-decoration: none; color: #1a3443;}


.product-home a img {
    transition: transform 0.4s ease, filter 0.4s ease;
}

.product-home:hover a img {
    transform: scale(1.09);
    filter: brightness(1.09);
}

.add_to_cart_button {
    display: flex;
    align-items: center;
    justify-content: center; /* cena wycentrowana */
    padding: 6px 12px;
    border-radius: 6px;
    transition: background-color 0.3s ease;
    position: relative;
}

.add_to_cart_button:hover {
    background-color: #cca445; /* ciemniejszy odcień przycisku */
    
}

.add_to_cart_button .price {
    flex: 1;
    text-align: center;
    transition: color 0.3s ease;
    color: #fff;
}

.add_to_cart_button:hover .price {
    color: #1a3443; /* efekt hover ceny */
}

.add_to_cart_button .cart-icon {
    display: flex;
    align-items: center;
    margin-left: 8px;
    transition: transform 0.3s ease;
    color: #fff;
}

.add_to_cart_button:hover .cart-icon {
    transform: translateX(5px); /* ikona przesuwa się w prawo */
    color: #1a3443; /* efekt hover ceny */
}


#news, #coop{background-color: #ededed;}

.copy-footer{background-color: #0d2946; text-transform: uppercase; color: #fff; font-size: 13px;}
.footer_widget{font-size: 14px; color: #fff;}
.footer_widget a{color: #fff; text-decoration: underline;}

#kronika{}
.kronika-imagebox{background-color: #fff; padding-top: 15px; padding-bottom: 15px; border-radius: 12px;}
.kronika-title h4{text-transform: uppercase; background-color: #1a3443; padding: 10px; display: table-cell; color: #fff;}

.trophy-list{}
.trophy-list li{background-color: rgba(26,52,27,0.3); border-radius: 12px; padding: 10px; color: #fff;}

.trophy-list .trophy-bullet {
    width: 35px;      /* rozmiar ikonki */
    height: 35px;     /* dopasuj według potrzeb */
    object-fit: contain;
    flex-shrink: 0;
    margin-top: 4px;  /* wyrównanie z tekstem */
}

#rokCarousel .carousel-item {
    min-height: 360px; /* dopasuj */
}

/* Strzałki po bokach tytułu */
.position-relative .btn.position-absolute {
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
}
.position-relative .btn.start-0 { left: -25px; }  
.position-relative .btn.end-0 { right: -25px; }

.nav-item a{color: #1a3443; font-size: 18px; font-weight: 700;}
.nav-item a:hover{color: #cca445;}

.obiekty-left .list-group-item{border: none; background-color: #f4f4f4; margin-bottom: 2px; color: #1a3443;}
.obiekty-left .list-group-item.active, .list-group-item:hover{background-color: #1a3443; color: #cca445;margin-bottom: 2px;}

.partner-logo {
    max-height: 150px;
    width: auto;
    object-fit: contain;
    transition: transform .2s ease;
}

.partner-logo:hover {
    transform: scale(1.05);
}

.partner-carousel .owl-nav button {
    position: absolute;
    top: 40%;
    transform: translateY(-50%);
    background: transparent !important;
    border: none !important;
}

.partner-carousel .owl-nav .owl-prev {
    left: -40px;
}

.partner-carousel .owl-nav .owl-next {
    right: -40px;
}

.partner-carousel .owl-nav i {
    color: #333;
    font-size: 2rem;
}

.partner-carousel .owl-nav i:hover {
    color: #000;
}

.attachements{background-color: #ededed; border-radius: 12px;}
.see_also{padding-lefT: 0px; list-style: none;}
.see_also li{background-color: #d6d6d6; color: #cca445; margin-bottom: 3px; display: block; border-radius: 12px;}
.see_also li a{color: #1a3443; text-decoration: none; display: block; padding-top: 7px; padding-bottom: 7px; padding-left: 14px; padding-right: 14px; }
.see_also li a:hover{color: #cca445; text-decoration: none;}
.see_also li:hover{background-color: #1a3443;}


.entry-header .post-thumbnail{background-color: #1a3443; border-top-left-radius: 12px; border-top-right-radius: 12px;}