/* ==================================================
  Główne style CSS dla strony EMKA
  ================================================== */

/******************************************************
*                SEKCJA: TYPOGRAFIA                  *
******************************************************/
body {
font-family: 'Montserrat' !important;
}
.red-text {
color: #E02020 !important;
}

.bold-text {
font-weight: bold !important;
}

.text-highlight {
font-weight: 700;
color: #d4293a;
}

.page-title h1::after {
content: '';
position: absolute;
width: 200px;
height: 3px;
background: linear-gradient(90deg, rgba(212,41,58,0.2), rgba(212,41,58,1), rgba(212,41,58,0.2));
bottom: 0;
left: 50%;
transform: translateX(-50%);
border-radius: 3px;
}

.page-title h1 {
text-align: center;
font-weight: 700;
}

.section-desc p { 
font-size: 1.2rem;
line-height: 1.6;
color: #252525;
text-align: center;
max-width: 640px;
margin: -10px auto 3.5rem;
padding: 0 1rem;
}

.content-par p {
font-size: 1.1rem !important;
line-height: 1.6;
color: #252525;
margin-bottom: 2rem !important;
}

.center-text {
text-align: center;
}

.mb20 {
margin-bottom: 20px !important;
}

.txt-cen {
text-align: center;
}

/* Background elements */
/* --- wspólne, modułowe style dla wszystkich kółek --- */
.animated-bg {
position: absolute;
inset: 0;
z-index: -1;
pointer-events: none;
}

.bg-circle {
position: absolute;
border-radius: 50%;
background: linear-gradient(45deg, rgba(230,57,70,0.1), rgba(69,123,157,0.1));
opacity: 0.5;
/* Zmienne: możesz je nadpisać inline */
width: var(--size, 200px);
height: var(--size, 200px);
top: var(--pos-top, auto);
bottom: var(--pos-bottom, auto);
left: var(--pos-left, auto);
right: var(--pos-right, auto);
animation: float var(--duration, 15s) ease-in-out var(--delay, 0s) infinite alternate;
transform: translate3d(0, 0, 0);
}

/* Keyframes jedne, ale ruch zawsze będzie unikalny dzięki różnym delay/combo */
@keyframes float {
from { transform: translate3d(0,   0,   0) scale(1); }
to   { transform: translate3d(100px, -100px, 0) scale(1.1); }
}

/* --- RESPONSYWNOŚĆ (opcjonalnie) --- */
@media (max-width: 768px) {
.animated-bg {
  display: none;
}
}


/* --- Nagłówki --- */

h1 {
font-size: clamp(2.2rem, 3vw, 4rem);
}

h2 {
font-size: clamp(1.8rem, 3vw, 3rem);
}


.red-underline-left h1::after {
content: '';
display: block;
width: 200px;
height: 3px;
background: linear-gradient(90deg, rgb(212, 41, 58), rgb(212, 41, 58), rgba(212,41,58,0.2)) !important;
bottom: 0;
left: 0 !important;
transform: none !important;
border-radius: 3px;
margin-top: 15px;
}

.section-header h2 {
font-weight: 700;
letter-spacing: 0.15em;
margin-bottom: 3rem;
position: relative;
display: inline-block;
padding-bottom: 15px;
}

.section-header h2::after {
content: '';
position: absolute;
width: 200px;
height: 3px;
background: linear-gradient(90deg, rgba(212,41,58,0.2), rgba(212,41,58,1), rgba(212,41,58,0.2));
bottom: 0;
left: 50%;
transform: translateX(-50%);
border-radius: 3px;
}

.page-title-section {
padding-top: 100px !important;
padding-bottom: 0px !important;
background-color: #f9f9f9;
padding-left: 5% !important;
padding-right: 5% !important;
display: flex;
justify-content: center;
}

.section-header-left-underline h2::after {
content: '';
position: absolute;
width: 200px;
height: 3px;
background: linear-gradient(90deg, rgb(212, 41, 58), rgb(212, 41, 58), rgba(212,41,58,0.2)) !important;
bottom: 0;
left: 0 !important;
transform: none !important;
border-radius: 3px;
}

/* --- Przyciski --- */

.btn-primary {
--bs-btn-active-border-color: #d4293a !important; 
}

.btn-secondary {
--bs-btn-active-border-color: #b71f33 !important; 
}

.single-btn {
justify-content: left !important;
}

/* Base Button Style (shared properties) */
.btn {
display: inline-block;
padding: 14px 30px;
font-size: 14px;
font-weight: 600;
border-radius: 30px;
letter-spacing: 1px;
text-transform: uppercase;
transition: all 0.3s ease;
position: relative;
overflow: hidden;
max-width: 250px;           /* Fixed width for both buttons */
text-align: center;
box-sizing: border-box;
}

/* Primary Button - Red background */
.btn-primary {
background-color: #d4293a !important;;
color: #fff;
border: 2px solid #d4293a;
box-shadow: 0 4px 12px rgba(212, 41, 58, 0.25) !important;;
display: inline-block;
padding: 14px 30px;
font-size: 14px;
font-weight: 600;
border-radius: 30px;
letter-spacing: 1px;
text-transform: uppercase;
transition: all 0.3s ease;
position: relative;
overflow: hidden;
text-align: center;
box-sizing: border-box;
}

.btn-primary:hover {
background-color: #b71f33 !important;
border-color: #b71f33;
transform: translateY(-2px);
box-shadow: 0 6px 15px rgba(212, 41, 58, 0.35) !important;;
}

/* Secondary Button - White background with red border */
.btn-secondary {
background-color: #fff !important;
color: #d4293a !important;
border: 2px solid #d4293a;
box-shadow: 0 4px 12px rgba(212, 41, 58, 0.15) !important;
display: inline-block;
padding: 14px 30px;
font-size: 14px;
font-weight: 600;
border-radius: 30px;
letter-spacing: 1px;
text-transform: uppercase;
transition: all 0.3s ease;
position: relative;
overflow: hidden;
text-align: center;
box-sizing: border-box;
}

.btn-secondary:hover {
background-color: rgba(212, 41, 58, 0.05) !important;
color: #b71f33 !important;
border-color: #b71f33;
transform: translateY(-2px);
box-shadow: 0 6px 15px rgba(212, 41, 58, 0.25) !important;
}

/* Shared hover effect - subtle pulse animation */
.btn:after {
content: '';
position: absolute;
top: 50%;
left: 50%;
width: 120%;
height: 120%;
background: radial-gradient(circle, rgba(255,255,255,0.3) 0%, rgba(255,255,255,0) 70%);
opacity: 0;
transform: translate(-50%, -50%) scale(0.8);
transition: opacity 0.5s, transform 0.5s;
pointer-events: none;
}

.btn:hover:after {
opacity: 1;
transform: translate(-50%, -50%) scale(1);
}

/* Optional: Focus styles for accessibility */
.btn:focus {
outline: none;
box-shadow: 0 0 0 3px rgba(212, 41, 58, 0.3);
}

/* For mobile responsiveness */
@media (max-width: 768px) {
.btn {
  padding: 12px 25px;
}
}

.button-container .sppb-button-wrapper {
justify-content: center;
display: flex;
}

.btn-group {
flex-direction: row !important;
gap: 25px;
}





/******************************************************
*                  SEKCJA: NAWIGACJA                 *
******************************************************/

#sp-header {
background: #fff !important;
}

#sp-header .sp-megamenu-parent a {
font-family: 'Montserrat' !important;
font-size: 18px !important;
font-weight: 600;
}

#sp-header .sp-megamenu-parent a:hover {
color: #fff;
background-color: #d4293a;
}

#sp-header .sp-megamenu-parent li.active a {
color: #fff !important;
background-color: #d4293a;
}

#sp-header .container {
max-width: 100% !important;
margin: 0px !important;
}

#sp-header li:last-child a {
padding: 0px 15px 0px 15px;
}

#offcanvas-toggler {
width: 80px;
justify-content: center;
align-items: center !important;
background-color: #d4293a;
}

#sp-menu {
padding-right: 0px;
}

#offcanvas-toggler span {
background-color: #fff;
}

@media (max-width: 1400px) {
.sp-megamenu-wrapper {
  display: none !important;
}
}

@media (max-width: 575px) {
#sp-logo {
  height: 50px !important;
}

#sp-logo .logo {
  height: 50px !important;
}

#sp-menu {
  height: 50px !important;
}

#offcanvas-toggler {
  height: 50px !important;
  width: 60px !important;
}

#sp-logo img {
  height: 25px !important;
}
}








/*------------------------------------------------------
*                  SEKCJA: STRONA GŁÓWNA                *
*-----------------------------------------------------*/
/* --- Slajder (swiper.js) --- */
#slider-section .sppb-row-container {
margin: 0px !important;
width: 100% !important;
max-width: 100% !important;
}
/* --- Slajder (swiper.js) --- */
#slider-section .sppb-row-container {
margin: 0px !important;
width: 100% !important;
max-width: 100% !important;
}

/* Domyślnie (desktop > 991px): header 80px 
#slider-section .swiper-container {
  position: relative;
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 16 / 9 !important;                  
  max-height: calc(100vh - 80px) !important;        
  overflow: hidden;
  background-color: #d4293a !important;
}

@media (max-width: 991px) {
  #slider-section .swiper-container {
    max-height: calc(100vh - 60px) !important;
  }
}*/

#slider-section .sppb-row-column {
padding: 0px !important;
}
.swiper-container {
background-color: 
#d4293a !important;
}
.swiper-button-prev,
.swiper-button-next {
color: #d4293a !important;
width: 3.125rem !important;
height: 3.125rem !important;
display: flex !important;
justify-content: center !important;
align-items: center !important;
background-color: #fff !important;
z-index: 10 !important;
transform: translateY(-50%) !important;
cursor: pointer !important;
transition: all 0.4s ease-in-out !important;
border: 2px solid 
#d4293a;
border-radius: 50%;
overflow: hidden;
padding: 30px;
position: relative;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
.swiper-button-prev::after,
.swiper-button-next::after {
font-weight: 600 !important;
font-size: 30px !important;
}
.swiper-button-prev::before,
.swiper-button-next::before {
content: '';
position: absolute;
top: 0;
left: -100%;
width: 100%;
height: 100%;
background: linear-gradient(120deg,
    transparent,
    rgba(212, 41, 58, 0.3),
    transparent);
transition: all 0.6s ease;
}
.swiper-button-prev:hover,
.swiper-button-next:hover {
background-color: 
#d4293a !important;
color: #fff !important;
transform: translateY(-50%) scale(1.1) !important;
box-shadow: 0 6px 8px rgba(0, 0, 0, 0.2);
}

.swiper-button-prev:hover::before,
.swiper-button-next:hover::before {
left: 100%;
}

.swiper-button-prev:hover i,
.swiper-button-next:hover i {
animation: pulse 0.5s infinite alternate;
}
@keyframes pulse {
from {
  transform: scale(1);
}
to {
  transform: scale(1.2);
}
}

.swiper-button-prev {
left: 3rem !important;
}
.swiper-button-next {
right: 3rem !important;
}

.swiper-pagination {
border: 2px solid 
#d4293a;
background-color: #fff;
display: inline-block;
width: fit-content !important;
padding: 15px;
left: 50% !important;
border-radius: 30px;
bottom: 20px !important;
transform: translateX(-50%) !important;
}
.swiper-pagination-bullet {
width: 12px !important;
height: 12px !important;
background: rgba(255, 255, 255, 0.7) !important;
border: 2px solid 
#d4293a !important;
opacity: 1 !important;
margin: 0 6px !important;
transition: all 0.3s ease !important;
}
.swiper-pagination-bullet:hover {
transform: scale(1.2);
background: rgba(255, 255, 255, 1) !important;
}
.swiper-pagination-bullet-active {
width: 16px !important;
height: 16px !important;
background: 
#d4293a !important;
border-radius: 10px !important;
transform: scale(1.2);
}

@keyframes pagination-pulse {
0% {
  transform: scale(1);
}
50% {
  transform: scale(1.1);
}
100% {
  transform: scale(1);
}
}
.swiper-pagination-bullet-active {
animation: pagination-pulse 1s infinite;
}

@media (max-width: 768px) {
.swiper-button-prev,
.swiper-button-next {
  width: 3.5rem !important;
  height: 3.5rem !important;
}
}
/* --- Sekcja - o galerii --- */

#o-galerii {
background-color: #f9f9f9;
padding-top: 100px !important;
padding-bottom: 100px !important;
padding-left: 5% !important;
padding-right: 5% !important;
display: flex;
justify-content: center;
}

#o-galerii .o-galerii-content-container .sppb-column-addons {
display: flex;
justify-content: center;
align-items: flex-start;
flex-direction: column;
}

#o-galerii .o-galerii-img-container .sppb-column-addons {
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
}


#o-galerii p {
font-size: 18px;
}

#o-galerii .sppb-row-container {
margin: 0px;
max-width: 100%;
padding: 0px;

}

.o-galerii-desc {
margin-bottom: 40px;
}

#o-galerii .sppb-row {
gap: 30px;
flex-wrap: nowrap;
}

#o-galerii .sppb-row-column {
padding: 30px;
}

.o-galerii-img-container .sppb-addon-wrapper {
height: 100%;
}

.o-galerii-img-container .sppb-addon-wrapper > div {
height: 100%;
}

.o-galerii-img-container .o-galerii-img {
height: 100% !important;
width: 100%;
}

.o-galerii-img-container .o-galerii-img > div {
height: 100%;
width: 100%;
}

.o-galerii-img-container .o-galerii-img > div > div {
height: 100%;
width: 100%;
}

.o-galerii-img-container .o-galerii-img img {
width: 100%;
height: 100%;
object-fit: cover;
display: block;
transition: transform 0.6s ease;
object-position: right center;
}

.o-galerii-img {
position: relative;
display: inline-block;
overflow: hidden;
border-radius: 16px;
box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
transform: rotate(1deg);
}

.o-galerii-img img {
display: block;
width: 100%;
height: auto;
border-radius: inherit;
position: relative;
/* Potrzebne do warstw */
z-index: 0;
/* Ustawiamy obrazek na "niższej" warstwie */
}

.o-galerii-img::before {
content: "";
position: absolute;
top: 0;
right: 0;
bottom: 0;
left: 0;
background: #d4293a;
/* Kolor nakładki */
opacity: 0.3;
/* Przezroczystość */
mix-blend-mode: multiply;
/* Efekt mieszania z obrazem */
pointer-events: none;
/* Nakładka nie blokuje kliknięć */
z-index: 1;
/* Nakładka wyżej niż obraz */
}

/* Kontener hero-features */
.hero-features {
display: flex !important;
gap: 40px;
flex-wrap: wrap;
margin-bottom: 40px;
}

/* Pojedynczy feature */
.hero-features .sppb-div-addon.hero-feature {
display: flex !important;
align-items: center;
gap: 10px;
}

/* Ikona w ramach hero-features */
.hero-features .sppb-icon.hero-feature-icon i {
width: 40px;
height: 40px;
background-color: rgba(230, 57, 70, 0.1);
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
color: #e63946;
font-size: 20px !important;
}

/* Tekst w ramach hero-features */
.hero-features .sppb-addon-text-block.hero-feature-text .sppb-addon-content {
font-size: 0.9rem;
font-weight: 600;
color: #333;
line-height: 1.2;
}



@media (max-width: 1024px) {

#o-galerii .sppb-row {
  flex-direction: column !important;
}

#o-galerii .sppb-row > .sppb-row-column {
  max-width: 100% !important;
  flex-basis: 100% !important;
}
}


/* --- Sekcja - aktualności i promocje --- */
/* Wspólne style dla sekcji aktualności i promocji */
#aktualnosci {
background-color: #fff;
padding-top: 100px !important;
padding-bottom: 100px !important;
display: flex;
justify-content: center;
overflow: hidden;
}

#promocje {
background-color: #f9f9f9;
padding-top: 100px !important;
padding-bottom: 100px !important;
display: flex;
justify-content: center;
}

#aktualnosci .sppb-row-container,
#promocje .sppb-row-container {
margin: 0;
width: 100%;
max-width: 100%;
padding: 0;
}

#aktualnosci .sppb-row-column,
#promocje .sppb-row-column {
padding-left: 5%;
padding-right: 5%;
}

.section-header .sppb-addon-content {
display: flex;
justify-content: center;
}

/* Kontener z zajawką */
.aktualnosci-zajawka,
.promocje-zajawka {
margin-bottom: 60px;
}

/* Główny layout (grid + perspektywa) */
#aktualnosci .mod-articlesnews,
#promocje .mod-articlesnews {
display: grid;
gap: 30px;
justify-content: center;
perspective: 1000px;
max-width: 1800px;
margin: 0 auto;
}

/* 3 kolumny dla aktualności */
#aktualnosci .mod-articlesnews {
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

/* 4 kolumny dla promocji */
#promocje .mod-articlesnews {
grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
}

/* Ekrany 2K+ */
@media (min-width: 1921px) {
#aktualnosci .mod-articlesnews {
  grid-template-columns: repeat(3, minmax(400px, 1fr));
}
#promocje .mod-articlesnews {
  grid-template-columns: repeat(4, minmax(350px, 1fr));
}
}

/* Monitory średnie */
@media (min-width: 1200px) and (max-width: 1920px) {
#aktualnosci .mod-articlesnews {
  grid-template-columns: repeat(3, 1fr);
}
#promocje .mod-articlesnews {
  grid-template-columns: repeat(4, 1fr);
}
}

/* Animacja ładowania */
@keyframes fadeInUp {
from {
  opacity: 0;
  transform: translateY(30px);
}
to {
  opacity: 1;
  transform: translateY(0);
}
}

/*---------------------- ELEMENTY WSPÓLNE ----------------------*/
/* Pojedynczy item */
#aktualnosci .mod-articlesnews__item,
#promocje .mod-articlesnews__item {
background: #fff;
border-radius: 12px;
overflow: hidden;
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
position: relative;
display: flex;
flex-direction: column;
border: 1px solid rgba(0,0,0,0.05);
animation: fadeInUp 0.6s ease forwards;
opacity: 0;
}

/* Kolejność animacji */
#aktualnosci .mod-articlesnews__item:nth-child(1),
#promocje .mod-articlesnews__item:nth-child(1) {
animation-delay: 0.1s;
}
#aktualnosci .mod-articlesnews__item:nth-child(2),
#promocje .mod-articlesnews__item:nth-child(2) {
animation-delay: 0.3s;
}
#aktualnosci .mod-articlesnews__item:nth-child(3),
#promocje .mod-articlesnews__item:nth-child(3) {
animation-delay: 0.5s;
}
#promocje .mod-articlesnews__item:nth-child(4) {
animation-delay: 0.7s;
}

/* Hover: podniesienie + tilt + kolorowy cień */
#aktualnosci .mod-articlesnews__item:hover,
#promocje .mod-articlesnews__item:hover {
transform: translateY(-15px) rotateX(5deg);
box-shadow: 0 15px 35px rgba(212, 41, 58, 0.15);
border-color: rgba(212, 41, 58, 0.1);
}

/* Zdjęcie w square-aspect ratio */
#aktualnosci .mod-articlesnews__item p,
#promocje .mod-articlesnews__item p {
margin: 0 !important;
overflow: hidden;
position: relative;
order: 1;
height: 0;
padding-bottom: 100%; /* 1:1 */
}
#aktualnosci .mod-articlesnews__item img,
#promocje .mod-articlesnews__item img {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
object-fit: cover;
transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1),
            filter 0.4s ease;
}
/* Hover: powiększenie + brightness/contrast */
#aktualnosci .mod-articlesnews__item:hover img,
#promocje .mod-articlesnews__item:hover img {
transform: scale(1.08);
filter: brightness(1.05) contrast(1.05);
}
/* Overlay gradient na hover */
#aktualnosci .mod-articlesnews__item p:after,
#promocje .mod-articlesnews__item p:after {
content: '';
position: absolute;
top: 0; left: 0;
width: 100%; height: 100%;
background: linear-gradient(
  135deg,
  rgba(212,41,58,0.14) 0%,
  transparent 100%
);
opacity: 0;
transition: opacity 0.6s ease;
z-index: 1;
}
#aktualnosci .mod-articlesnews__item:hover p:after,
#promocje .mod-articlesnews__item:hover p:after {
opacity: 1;
}

/* Etykieta NOWE na pierwszym elemencie */
#aktualnosci .mod-articlesnews__item:first-child p::before,
#promocje .mod-articlesnews__item:first-child p::before {
content: 'NOWE';
position: absolute;
top: 15px; right: 15px;
background: rgba(212, 41, 58, 0.9);
color: #fff;
padding: 5px 12px;
font-size: 12px;
font-weight: 700;
letter-spacing: 1px;
border-radius: 30px;
z-index: 2;
box-shadow: 0 3px 10px rgba(212, 41, 58, 0.3);
}

/* Tytuły */
#aktualnosci .mod-articlesnews__item h3.newsflash-title,
#promocje .mod-articlesnews__item h3.newsflash-title {
display: flex;
justify-content: center;
align-items: center;
color: #222;
font-size: 1.2rem;
line-height: 1.5rem;
font-weight: 700;
padding: 25px 20px 25px;
margin: 0;
text-transform: uppercase;
letter-spacing: 0.05em;
order: 2;
flex-grow: 1;
text-align: center;
transition: color 0.3s ease;
}
#aktualnosci .mod-articlesnews__item:hover h3.newsflash-title,
#promocje .mod-articlesnews__item:hover h3.newsflash-title {
color: #d4293a;
}

/* Przycisk "Więcej" */
#aktualnosci .mod-articlesnews__item .readmore,
#promocje .mod-articlesnews__item .readmore {
order: 3;
padding: 0 20px 25px;
text-align: center;
}
/* PRZYCISK jako klasa btn-primary */
#aktualnosci .mod-articlesnews__item .readmore a,
#promocje .mod-articlesnews__item .readmore a {
display: inline-block;
width: 200px;
padding: 14px 30px;
font-size: 14px;
font-weight: 600;
border-radius: 30px;
letter-spacing: 1px;
text-transform: uppercase;
text-align: center;
background-color: #d4293a;
color: #fff;
border: 2px solid #d4293a;
box-shadow: 0 4px 12px rgba(212, 41, 58, 0.25);
position: relative;
overflow: hidden;
transition: all 0.3s ease;
box-sizing: border-box;
}

/* Hover effect */
#aktualnosci .mod-articlesnews__item .readmore a:hover,
#promocje .mod-articlesnews__item .readmore a:hover {
background-color: #b71f33;
border-color: #b71f33;
transform: translateY(-2px);
box-shadow: 0 6px 15px rgba(212, 41, 58, 0.35);
}

/* Dodatkowy efekt świetlnego "pulse" (tak jak masz w .btn) */
#aktualnosci .mod-articlesnews__item .readmore a::after,
#promocje .mod-articlesnews__item .readmore a::after {
content: '';
position: absolute;
top: 50%;
left: 50%;
width: 120%;
height: 120%;
background: radial-gradient(circle, rgba(255,255,255,0.3) 0%, rgba(255,255,255,0) 70%);
opacity: 0;
transform: translate(-50%, -50%) scale(0.8);
transition: opacity 0.5s, transform 0.5s;
pointer-events: none;
}

#aktualnosci .mod-articlesnews__item .readmore a:hover::after,
#promocje .mod-articlesnews__item .readmore a:hover::after {
opacity: 1;
transform: translate(-50%, -50%) scale(1);
}

/* Focus styl */
#aktualnosci .mod-articlesnews__item .readmore a:focus,
#promocje .mod-articlesnews__item .readmore a:focus {
outline: none;
box-shadow: 0 0 0 3px rgba(212, 41, 58, 0.3);
}

/* Mobile responsiveness */
@media (max-width: 768px) {
#aktualnosci .mod-articlesnews__item .readmore a,
#promocje .mod-articlesnews__item .readmore a {
  width: 180px;
  padding: 12px 25px;
  font-size: 13px;
}
}


/*---------------------- RESPONSYWNOŚĆ ----------------------*/
/* Mobile */
@media (max-width: 768px) {
#aktualnosci .mod-articlesnews,
#promocje .mod-articlesnews {
  grid-template-columns: 1fr;
  gap: 30px;
  padding: 0 15px;
}
#aktualnosci .section-header h2,
#promocje .section-header h2 {
  font-size: 2rem;
}
#aktualnosci .mod-articlesnews__item:hover,
#promocje .mod-articlesnews__item:hover {
  transform: translateY(-8px);
}
}
/* Tablety */
@media (min-width: 769px) and (max-width: 1199px) {
#aktualnosci .mod-articlesnews,
#promocje .mod-articlesnews {
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}
}
/* Promocje na średnich ekranach */
@media (min-width: 992px) and (max-width: 1199px) {
#promocje .mod-articlesnews {
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
#promocje .mod-articlesnews__item .readmore a {
  padding: 10px 20px;
  font-size: 13px;
}
#promocje .mod-articlesnews__item h3.newsflash-title {
  font-size: 1rem;
  padding: 20px 15px 10px;
}
}


/* --- Sekcja - plan galerii --- */

#plan-galerii {
background-color: #fff;
padding-top: 100px !important;
padding-bottom: 100px !important;
display: flex;
justify-content: center;
}

#plan-galerii .sppb-row-container {
max-width: 100% !important;
}

/* --- Sekcja - mapka --- */

#mapka {
background-color: #fff;
}

#mapka .embedGoogleMap {
width: 100% !important;
}

#mapka .sppb-row-container {
margin: 0px;
width: 100%;
max-width: 100%;
padding: 0px;
}

#mapka .sppb-addon-content {
max-height: 400px;
}

/* --- Sekcja - galeria --- */

#galeria {
background-color: #f9f9f9;
padding-top: 100px !important;
padding-bottom: 100px !important;
}

#galeria {
display: none !important;
}

.galeriaonas {
background-color: #fff !important;

}

#galeria .sppb-row-container {
margin: 0px;
width: 100%;
max-width: 100%;
padding-left: 15px;
padding-right: 15px;
}

.moja-galeria-grid {
/* Pełna szerokość i wyrównanie do środka (opcjonalnie) */
width: 100%;
margin: 0 auto;
/* Użycie CSS Grid z 4 kolumnami */
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 10px;
/* odstęp między zdjęciami */
/* Możesz też dodać max-width, jeśli chcesz ograniczyć szerokość kontenera, np.:
    max-width: 1400px; 
    margin: 0 auto;
*/
}

.moja-galeria-grid a {
position: relative;
overflow: hidden;
display: block;
/* link zajmuje cały obszar komórki */
border-radius: 4px;
/* zaokrąglone rogi, jeśli chcesz */
}

.moja-galeria-grid img {
width: 100%;
height: 350px;
object-fit: cover;
transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
filter: brightness(1) contrast(1);
}

.moja-galeria-grid a:hover img {
transform: scale(1.1);
filter: brightness(1.1) contrast(1.1);
}

.moja-galeria-grid a::after {
content: '' !important;
position: absolute !important;
top: 0 !important;
left: 0 !important;
width: 100% !important;
height: 100% !important;
background: linear-gradient(
  135deg,
  rgba(212, 41, 58, 0.1) 0%,
  rgba(0,0,0,0.4) 50%,
  rgba(212, 41, 58, 0.1) 100%
) !important;
opacity: 0 !important;
transition: all 0.5s ease !important;
pointer-events: none !important;
}

.moja-galeria-grid a:hover::after {
opacity: 1 !important;
}

/* Responsywność: na mniejszych ekranach zamiast 4 kolumn => 2 */
@media (max-width: 992px) {
.moja-galeria-grid {
  grid-template-columns: repeat(2, 1fr);
}
}

/* Jeszcze mniejsze ekrany (np. smartfony) => 1 kolumna */
@media (max-width: 576px) {
.moja-galeria-grid {
  grid-template-columns: 1fr;
}
}

/* --- Sekcja - o karta podarunkowa --- */


#karta-podarunkowa {
background-color: #f9f9f9;
padding-top: 100px !important;
padding-bottom: 100px !important;
padding-left: 5% !important;
padding-right: 5% !important;
display: flex;
justify-content: center;
}

#karta-podarunkowa .sppb-column-addons {
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
}

#karta-podarunkowa .sppb-row-container {
margin: 0px;
width: 100%;
max-width: 100%;
padding-left: 15px;
padding-right: 15px;
}

#karta-podarunkowa .sppb-row {
gap: 30px;
flex-wrap: nowrap;
}

@media (max-width: 768px) {

#karta-podarunkowa .sppb-row {
  flex-direction: column !important;
  gap: 60px;
}

}



/* --- Sekcja - gastronomia --- */

#gastronomia {
background-color: #fff;
padding-top: 100px !important;
padding-bottom: 100px !important;
display: flex;
justify-content: center;
overflow: hidden;
}

#gastronomia .sppb-column-addons {
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
}

.gastro-grid {
display: grid !important;
grid-template-columns: repeat(2, 1fr) !important;
grid-template-rows: repeat(2, auto) !important;
gap: 1.5rem !important;
height: 100%;
}

.gastro-grid-item img {
max-height: 6.25rem !important;
width: auto;
padding: 1.25rem;

}

.gastro-grid-item .sppb-addon-content {
display: flex !important;
flex-direction: column !important;
justify-content: center !important;
align-items: center !important;
}

.gastro-grid .sppb-addon-wrapper {
display: flex !important;
flex-direction: column !important;
justify-content: center !important;
align-items: center !important;
}

.gastro-grid-item {
position: relative;
border: 2px solid transparent;
transition: all 0.3s ease;
width: 100%;
height: 100%;
display: flex !important;
justify-content: center;
align-items: center;
}

.gastro-grid-item:hover {
border-color: #d4293a;
background-color: rgba(212, 41, 58, 0.05);
}

.gastro-grid-item::after {
content: "Zobacz";
position: absolute;
top: 15px;
right: 15px;
width: 80px;
height: 30px;
background-color: #d4293a;
color: white;
border-radius: 10%;
display: flex;
justify-content: center;
align-items: center;
font-size: 18px;
opacity: 0;
transform: scale(0);
transition: all 0.3s ease;
}

.gastro-grid-item:hover::after {
opacity: 1;
transform: scale(1);
}

.gastro-grid-item > div, .gastro-grid-item > div > div, .gastro-grid-item > div > div > div, .gastro-grid-item > div > div > div > div, .gastro-grid-item > div > div > div > div > div {
height: 100% !important;
width: 100% !important;
}

.gastro-grid-item a {
display: inline-block;
height: 100%;
width: 100%;
display: flex !important;
justify-content: center;
align-items: center;
}

.gastro-column-container {
display: flex !important;
flex-direction: row-reverse !important;
}

.gastro-column {
height: 100%;
display: flex !important;
justify-content: center !important;
align-items: center !important;
flex-direction: column !important;
}

.gastro-column>.sppb-addon-wrapper {
height: 100% !important;
}

.gastro-column-left {
padding-right: 50px;
border-right: 4px dashed #d4293a;
}

.gastro-column-right {
padding-left: 50px;
}

@media (max-width: 1024px) {
.gastro-column-container {
  flex-direction: column !important;
}

.gastro-column-container > div > div {
  padding: 0px !important;
}

.gastro-column-left {
  border-top: 4px dashed #d4293a;
  border-right: none;
}

.gastro-column-left > div {
  padding-top: 2rem;
}
}

@media (max-width: 576px) {
.gastro-grid {
  grid-template-columns: repeat(1, 1fr) !important;
}
}











/*------------------------------------------------------
*                  SEKCJA: STRONA O NAS               *
*-----------------------------------------------------*/

/* --- Sekcja - o nas intro --- */
#o-nas-intro {
background-color: #f9f9f9;
padding-top: 100px !important;
padding-bottom: 100px !important;
padding-left: 5% !important;
padding-right: 5% !important;
display: flex;
justify-content: center;
}

.o-nas-intro h1 {
margin-bottom: 15px !important;
}

#o-nas-intro .sppb-column-addons {
display: block !important;
}

#o-nas-intro p {
font-size: 18px;
}

#o-nas-intro .sppb-row-container {
margin: 0px;
max-width: 100%;
padding: 0px;

}

#o-nas-intro .sppb-row {
gap: 30px;
flex-wrap: nowrap;
}

#o-nas-intro .sppb-row-column {
padding: 30px;
}
#o-nas-intro .o-nas-content-container .sppb-column-addons {
display: flex !important;
justify-content: center;
flex-direction: column;
}

.o-nas-img-container .sppb-addon-wrapper {
height: 100%;
}

.o-nas-img-container .sppb-addon-wrapper > div {
height: 100%;
}

.o-nas-img-container .o-galerii-img {
height: 100% !important;
width: 100%;
}

.o-nas-img-container .o-galerii-img > div {
height: 100%;
width: 100%;
}

.o-nas-img-container .o-galerii-img > div > div {
height: 100%;
width: 100%;
}

.o-nas-img-container .o-galerii-img img {
width: 100%;
height: 100%;
object-fit: cover;
display: block;
transition: transform 0.6s ease;
object-position: right center;
}

.badge {
position: absolute;
top: -50px;
right: -50px;
width: 140px;
height: 140px;
background-color: #d4293a;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
color: white;
font-weight: 700;
font-size: 1.2rem;
text-align: center;
padding: 20px;
transform: rotate(15deg);
box-shadow: 0 4px 20px rgba(212, 41, 58, 0.3);
z-index: 10;
animation: pulse 2s infinite;
text-wrap: wrap;
}

@keyframes pulse {
0% {
  transform: rotate(15deg) scale(1);
}

50% {
  transform: rotate(15deg) scale(1.05);
}

100% {
  transform: rotate(15deg) scale(1);
}
}

@media (max-width: 1024px) {
#o-nas-intro .sppb-row {
  flex-direction: column !important;
}

#o-nas-intro .sppb-row > div {
  max-width: 100% !important;
}
}

@media (max-width: 768px) {
.badge {
  top: -50px;
  right: -40px;
  width: 120px;
  height: 120px;
  font-size: 1.1rem;
}
}

/* --- Sekcja - uslugi --- */
#uslugi-galerii {
background-color: #fff;
/* Używamy % dla elastyczności, ale 'px' dla góra/dół dla stałego odstępu */
padding: 100px 5% !important; /* Skrócony zapis paddingu góra/dół | lewo/prawo */
display: flex; /* Utrzymujemy flex dla centrowania kontenera .services */
justify-content: center;
align-items: flex-start; /* Lepsze wyrównanie, gdyby karty miały różne wysokości */
box-sizing: border-box; /* Lepsze zarządzanie paddingiem i rozmiarem */
}

#uslugi-galerii .sppb-row-container {
max-width: 100% !important;
}

.services {
display: grid !important;
grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
gap: 30px;
width: 100%; 
max-width: 2000px; 
margin: 0 auto; 
}

.service-card {
background-color: white;
border-radius: 8px;
padding: 30px;
text-align: center;
transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
overflow: hidden;
position: relative;
/* z-index: 1; - Prawdopodobnie niepotrzebny bez :before/:after */
border: 2px solid transparent; /* Zachowujemy dla płynnego przejścia */
}

.service-card:hover {
transform: translateY(-8px);
box-shadow: 0 15px 30px rgba(230, 57, 70, 0.15) !important; /* Usunięto !important */
border-color: #e63946;
background-color: #fff5f5;
}

.service-icon {
font-size: 2.5rem;
color: #e63946;
margin-bottom: 20px;
display: inline-block; /* Lepsze dla transformacji */
transition: transform 0.4s ease; /* Tylko transformacja dla ikony */
}

.service-card:hover .service-icon {
transform: scale(1.2);
}

/* Stosujemy transformację rotacji bezpośrednio do tagu <i> wewnątrz ikony */
.service-icon i {
display: inline-block; /* Potrzebne do transformacji */
transition: transform 0.4s ease;
}

.service-card:hover .service-icon i {
transform: rotate(10deg);
}

.service-title {
font-size: 1.2rem;
font-weight: 600;
margin-bottom: 15px;
color: #333; /* Domyślny kolor dla lepszego kontrastu */
transition: color 0.3s ease; /* Tylko przejście koloru */
}

.service-card:hover .service-title {
color: #e63946;
}

/* Celujemy precyzyjniej w paragrafy wewnątrz kart */
.service-card p { 
font-size: 1.1rem; /* Nieco mniejszy dla lepszej czytelności? Można zostawić 1.1rem */
line-height: 1.6; /* Poprawia czytelność dłuższych tekstów */
/* transition: all 0.3s; - Zmiana koloru tekstu na hover zwykle nie jest potrzebna */
color: #4a4a4a !important;
}


/* --- Media Queries dla responsywności --- */

/* Mniejsze tablety / duże telefony */
@media (max-width: 768px) {

.services {
  gap: 20px; 
}
.service-card {
  padding: 25px; 
}
}

/* Telefony */
@media (max-width: 576px) {
#uslugi-galerii {
  padding-top: 50px;
  padding-bottom: 50px;
}
  .service-card {
  padding: 20px; 
}

  .service-icon {
  font-size: 2.2rem;
}
}

/* --- Sekcja - historia --- */
#nasza-historia {
background-color: #f9f9f9;
/* Używamy % dla elastyczności, ale 'px' dla góra/dół dla stałego odstępu */
padding: 100px 5% !important; /* Skrócony zapis paddingu góra/dół | lewo/prawo */
display: flex; /* Utrzymujemy flex dla centrowania kontenera .services */
justify-content: center;
box-sizing: border-box; /* Lepsze zarządzanie paddingiem i rozmiarem */
}



/* Styl dla sekcji timeline */
.sppb-div-addon.timeline {
position: relative;
padding: 40px 0;
}

.sppb-div-addon.timeline::before {
content: '';
position: absolute;
width: 4px;
background-color: #e63946;
top: 0;
bottom: 0;
left: 50%;
transform: translateX(-50%);
z-index: 2;
}

/* Elementy osi czasu */
.sppb-div-addon.timeline-item {
margin-bottom: 80px;
position: relative;
width: 100%;
display: flex;
}

/* tylko ostatni event w osi czasu traci margines */
.timeline > .sppb-addon-wrapper:last-child .sppb-div-addon.timeline-item {
margin-bottom: 0;
}

/* Animacja pulsowania dla kropki */
@keyframes pulse {
0% {
  box-shadow: 0 0 0 0 rgba(230, 57, 70, 0.4);
}
70% {
  box-shadow: 0 0 0 10px rgba(230, 57, 70, 0);
}
100% {
  box-shadow: 0 0 0 0 rgba(230, 57, 70, 0);
}
}

.timeline-dot {
position: absolute;
width: 28px;
height: 28px;
background: white;
border: 4px solid #e63946;
border-radius: 50%;
top: 20px;
left: 50%;
transform: translateX(-50%);
z-index: 5;
transition: all 0.3s ease;
animation: pulse 2s infinite;
}

.timeline-item:hover .timeline-dot {
transform: translateX(-50%) scale(1.1);
background-color: #e63946;
animation: none;
}

.timeline-year {
position: absolute;
background: #e63946;
color: white;
font-weight: 600;
font-size: 0.9rem;
padding: 5px 14px;
border-radius: 20px;
top: -15px;
z-index: 6;
left: 50%;
transform: translateX(-50%);
transition: all 0.3s ease;
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.timeline-item:hover .timeline-year {
transform: translateX(-50%) translateY(-5px);
box-shadow: 0 6px 14px rgba(0, 0, 0, 0.15);
}

.sppb-div-addon.timeline-content {
width: 46%;
padding: 30px;
background: white;
border-radius: 8px;
box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08) !important;
position: relative;
transition: all 0.3s ease;
z-index: 2;
}

.timeline-item:hover .timeline-content {
box-shadow: 0 15px 30px rgba(230, 57, 70, 0.15) !important;
transform: translateY(-5px);
border-right: 0;
border-left: 0;
}

.timeline > .sppb-addon-wrapper:nth-child(odd) .timeline-content {
margin-right: auto;
margin-left: 0;
}

.timeline > .sppb-addon-wrapper:nth-child(even) .timeline-content {
margin-left: auto;
margin-right: 0;
}

.timeline-title h3 {
margin-top: 0;
margin-bottom: 12px;
font-weight: 600;
font-size: 1.3rem;
color: #252525;
transition: color 0.3s ease;
}

.timeline-item:hover .timeline-title h3 {
color: #e63946;
}

.timeline-content p {
margin-bottom: 0;
color: #4a4a4a;
line-height: 1.6;
font-size: 1.1rem;
}

/* Efekt podświetlenia przy najechaniu */
/* Corrected border positions - always on the opposite side of connector */
/* For even items (right side) - border on the left */
.timeline > .sppb-addon-wrapper:nth-child(even) .timeline-content::before {
content: '';
position: absolute;
right: 0;
top: 0;
width: 5px;
height: 0;
background: #e63946;
border-radius: 6px 0 0 6px;
transition: height 0.3s ease;
z-index: 3;
}

/* For odd items (left side) - border on the right */
.timeline > .sppb-addon-wrapper:nth-child(odd) .timeline-content::before {
content: '';
position: absolute;
left: 0;
top: 0;
width: 5px;
height: 0;
background: #e63946;
border-radius: 0 6px 6px 0;
transition: height 0.3s ease;
z-index: 3;
}

/* Fix for hover effect to ensure it works */
.timeline-item:hover .timeline-content::before {
height: 100% !important;
}

/* Connectors (arrows) */
.timeline > .sppb-addon-wrapper:nth-child(odd) .timeline-content::after {
content: '';
position: absolute;
width: 20px;
height: 20px;
background: white;
transform: rotate(45deg);
right: -10px;
top: 25px;
box-shadow: 5px -5px 10px rgba(0, 0, 0, 0.05);
z-index: 1;
}

.timeline > .sppb-addon-wrapper:nth-child(even) .timeline-content::after {
content: '';
position: absolute;
width: 20px;
height: 20px;
background: white;
transform: rotate(45deg);
left: -10px;
top: 25px;
box-shadow: -5px 5px 10px rgba(0, 0, 0, 0.05);
z-index: 1;
}

/* Responsywność */
@media (max-width: 992px) {
#nasza-historia .sppb-row-container {
  margin: 0px;
  max-width: 100%;
  padding: 0px;
}

.sppb-div-addon.timeline {
  padding: 20px 0;
}

.sppb-div-addon.timeline::before {
  left: 30px;
}

.timeline-dot {
  left: 16px;
  transform: none;
}

.timeline-item:hover .timeline-dot {
  transform: scale(1.1);
  background-color: #e63946;
  animation: none;
}

.timeline-year {
  left: 70px;
  transform: none;
  top: -15px;
}

.timeline-item:hover .timeline-year {
  transform: translateY(-5px);
}

.sppb-div-addon.timeline-content {
  width: calc(100% - 80px);
  margin-left: 80px !important;
  margin-right: 0 !important;
  padding: 25px;
}

/* Dodane marginesy między kartami w widoku mobilnym */
.sppb-div-addon.timeline-item {
  margin-bottom: 35px;
}

/* All connectors on the left for mobile */
.timeline > .sppb-addon-wrapper:nth-child(odd) .timeline-content::after,
.timeline > .sppb-addon-wrapper:nth-child(even) .timeline-content::after {
  left: -10px;
  right: auto;
  box-shadow: -5px 5px 10px rgba(0, 0, 0, 0.05);
}

/* All borders on the right for mobile - with important to enforce */
.timeline > .sppb-addon-wrapper:nth-child(odd) .timeline-content::before,
.timeline > .sppb-addon-wrapper:nth-child(even) .timeline-content::before {
  right: 0 !important;
  left: auto !important;
  border-radius: 0 6px 6px 0 !important;
  width: 5px;
}
}

@media (max-width: 576px) {
.sppb-div-addon.timeline-content {
  padding: 20px;
}

.timeline-title h3 {
  font-size: 1.1rem;
}

.timeline-year {
  left: 65px;
}

.timeline-dot {
  width: 22px;
  height: 22px;
  left: 19px;
}

.sppb-div-addon.timeline-item {
  margin-bottom: 40px;
}

/* Poprawienie marginesów dla najmniejszych ekranów */
.timeline > .sppb-addon-wrapper {
  margin-bottom: 25px;
}
}


/* --- Sekcja - niepełnosprawni --- */
#niepelnosprawni {
background-color: #f9f9f9;
padding-top: 100px !important;
padding-bottom: 100px !important;
padding-left: 5% !important;
padding-right: 5% !important;
display: flex;
justify-content: center;
overflow: hidden;
}

.niepelnosprawni-desc p {
font-size: 1.2rem;
margin-bottom: 4rem;
color: #252525 !important;
}

.accessibility-features {
display: flex !important;
flex-wrap: wrap;
justify-content: space-between;
margin-top: 30px;
gap: 30px;
}

.accessibility-features>.sppb-addon-wrapper {
flex: 1 1 calc(50% - 15px);
}

.accessibility-feature {
background-color: #fff;
border-radius: 10px;
padding: 30px;
box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05) !important;
transition: transform 0.3s, box-shadow 0.3s;
display: flex !important;
align-items: flex-start;
min-height: 225px;
position: relative;
gap: 20px;
}

.accessibility-feature:hover {
transform: translateY(-10px);
box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.accessibility-feature::before {
content: '';
position: absolute;
top: 0;
left: 0;
width: 5px;
height: 100%;
background-color: #d4293a;
opacity: 0.7;
}

.accessibility-feature-icon {
background-color: rgba(212, 44, 44, 0.1);
width: 70px;
height: 70px;
display: flex;
justify-content: center;
align-items: center;
border-radius: 50%;
margin-right: 20px;
flex-shrink: 0;
}

.accessibility-feature-icon i {
font-size: 28px;
color: #d4293a;
}

.feature-text h3 {
font-size: 24px;
margin-bottom: 15px;
font-weight: 600;
}

.feature-text p {
line-height: 1.6;
font-size: 1.1rem;
}







/*------------------------------------------------------
*                  SEKCJA: Karta Podarunkowa          *
*-----------------------------------------------------*/


/* --- Sekcja - karta hero --- */

#karta-podarunkowa-hero {
background-color: #f9f9f9;
padding-top: 100px !important;
padding-bottom: 100px !important;
padding-left: 5% !important;
padding-right: 5% !important;
display: flex;
justify-content: center;
}

.karta-podarunkowa-head h1 {
margin-bottom: 15px !important;
}

#karta-podarunkowa-hero .sppb-column-addons {
display: block !important;
}

#karta-podarunkowa-hero p {
font-size: 18px;
}

#karta-podarunkowa-hero .sppb-row-container {
margin: 0px;
max-width: 80%;
padding: 0px;

}

#karta-podarunkowa-hero .sppb-row {
gap: 30px;
flex-wrap: nowrap;
}

#karta-podarunkowa-hero .sppb-row-column {
padding: 30px;
}

#karta-podarunkowa-hero .sppb-column-addons {
display: flex !important;
justify-content: center;
flex-direction: column;
}

.karta-podarunkowa-desc p {
margin-bottom: 30px;
}

.gift-card-image {
flex: 1;
padding: 20px;
text-align: center;
position: relative;
perspective: 1000px;
}

.card {
width: 320px;
height: 200px;
position: relative;
transition: transform 0.8s;
transform-style: preserve-3d;
margin: 0 auto;
cursor: pointer;
border-radius: 15px !important;
}

.card-front,
.card-back {
position: absolute;
width: 100%;
height: 100%;
backface-visibility: hidden;
border-radius: 15px;
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.card-front {
background: #d4293a;
color: #fff;
display: flex;
flex-direction: column;
justify-content: space-between;
padding: 20px;
}

.card-back {
background: #d4293a;
color: #fff;
transform: rotateY(180deg);
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
padding: 20px;
}

.card-logo {
font-size: 24px;
font-weight: bold;
}

.card-chip {
width: 40px;
height: 30px;
background: linear-gradient(45deg, #bbb, #ddd);
border-radius: 5px;
}

.card-number {
font-size: 18px;
letter-spacing: 2px;
}

.flipped {
transform: rotateY(180deg);
}


/* --- Sekcja - dlaczego warto --- */
#karta-podarunkowa-dlaczego-warto {
background-color: #fff;
padding-top: 100px !important;
padding-bottom: 100px !important;
padding-left: 5% !important;
padding-right: 5% !important;
display: flex;
justify-content: center;
}


#karta-podarunkowa-dlaczego-warto .sppb-row-container {
margin: 0px;
max-width: 80%;
padding: 0px;

}

.cards-grid {
display: grid !important;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
gap: 30px;
padding: 20px 0;
}

.dlaczego-desc p {
font-size: 18px;
margin-bottom: 4rem;
text-align: center !important;
}

/* Card Base Styling with Performance-Optimized Effects */
.grid-card {
background-color: #f9f9f9;
border-radius: 10px;
padding: 30px;
box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05) !important;
transition: transform 0.3s ease, box-shadow 0.3s ease;
display: flex !important;
flex-direction: column;
min-height: 300px;
position: relative;
gap: 20px;
align-items: center;
justify-content: center;
overflow: hidden;
}

/* Simplified Hover Effects */
.grid-card:hover {
transform: translateY(-5px);
box-shadow: 0 12px 25px rgba(212, 41, 58, 0.12) !important;
}

/* Bottom Highlight Bar - Simplified */
.grid-card::before {
content: '';
position: absolute;
bottom: 0;
left: 0;
width: 0;
height: 5px;
background-color: #d4293a;
opacity: 0.7;
transition: width 0.3s ease;
}

.grid-card:hover::before {
width: 100%;
}

/* Fix for Icon Centering */
.grid-icon {
background-color: rgba(212, 44, 44, 0.1);
width: 70px;
height: 70px;
display: flex;
justify-content: center;
align-items: center;
border-radius: 50%;
margin: 0 auto;
/* Center horizontally */
flex-shrink: 0;
transition: all 0.3s ease;
}

.grid-card:hover .grid-icon {
background-color: rgba(212, 44, 44, 0.15);
box-shadow: 0 0 10px rgba(212, 44, 44, 0.2);
}

.grid-icon i {
font-size: 28px;
color: #d4293a;
display: block;
/* Ensures icon is centered */
line-height: 1;
/* Helps with vertical alignment */
}

/* Simplified Content Styling */
.grid-content {
text-align: center;
width: 100%;
/* Ensure full width */
}

.grid-head h3 {
font-size: 24px;
margin-bottom: 15px;
font-weight: 600;
transition: all 0.3s ease;
}

.grid-card:hover .grid-head h3 {
color: #d4293a;
}

.grid-desc p {
line-height: 1.6;
font-size: 18px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
.cards-grid {
  gap: 20px;
}

.grid-card {
  min-height: 200px;
}
}

/* --- Sekcja - jak kupic --- */

#karta-podarunkowa-jak-kupic {
background-color: #f9f9f9;
padding-top: 100px !important;
padding-bottom: 100px !important;
padding-left: 5% !important;
padding-right: 5% !important;
display: flex;
justify-content: center;
}

#karta-podarunkowa-jak-kupic .sppb-row-container {
margin: 0px;
max-width: 80%;
padding: 0px;
}

.process-container {
position: relative;
padding: 0 20px;
margin-top: 4rem;
}

.process-line {
position: absolute;
top: 55px;
bottom: 80px;
left: 76px;
width: 4px;
background-color: #f0f0f0;
transform: translateX(-50%);
}

.step {
display: flex !important;
margin-bottom: 100px !important;
position: relative;
min-height: 150px;
}

.step> :nth-child(2) {
width: 100%;
}

.step:last-child {
margin-bottom: 60px;
}

.step-number {
width: 110px;
height: 110px;
background-color: #d4293a;
color: white;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
font-size: 48px;
font-weight: 600;
position: relative;
z-index: 2;
box-shadow: 0 8px 20px rgba(212, 41, 58, 0.2);
flex-shrink: 0;
}

.step-content {
flex: 1;
padding: 20px 30px;
position: relative;
z-index: 1;
}

.step-title h3 {
font-size: 26px;
font-weight: 600;
margin-bottom: 15px;
}

.step-desc {
font-size: 18px;
margin-bottom: 20px;
max-width: 90%;
color: #666;
}

.options-container {
display: flex !important;
flex-wrap: wrap;
gap: 15px;
margin-top: 25px;
}

.options-container>.sppb-addon-wrapper {
flex-basis: calc(50% - 8px);
}


.option {
background-color: white;
border: 1px solid #eee;
border-radius: 12px;
padding: 20px;
min-width: 250px;
min-height: 220px;
box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.option:hover {
transform: translateY(-3px);
box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
border-color: #e0e0e0;
}

.option-title {
margin-bottom: 10px;
display: flex !important;
align-items: center;
}

.option-title-head h4 {
margin: 0px !important;
color: #d4293a;
font-weight: 600;
padding-left: 10px;
font-size: 20px;
}

.option-title i {
color: #d4293a;
}

.option-title svg {
margin-right: 10px;
}

.option-desc {
font-size: 16px;
color: #666;
}

.option-value {
font-weight: 600;
font-size: 17px;
margin-top: 5px;
color: #333;
}

.arrow-cta-button {
position: relative;
display: inline-flex;
align-items: center;
justify-content: center;
padding: 12px 24px;
background-color: #d4293a;
color: white !important;
font-weight: 600;
border: none;
border-radius: 6px;
cursor: pointer;
text-decoration: none;
transition: all 0.3s ease;
min-width: 160px;
min-height: 48px;
}

.arrow-cta-button:hover {
background-color: #b8212f;
transform: translateY(-2px);
box-shadow: 0 4px 8px rgba(212, 41, 58, 0.3);
color: #fff !important;
}

/* Poprawiona strzałka */
.arrow-cta-button .arrow {
display: inline-block;
margin-left: 8px;
transition: transform 0.3s ease;
font-size: 18px;
line-height: 1;
}

/* Animacja strzałki przy najechaniu */
.arrow-cta-button:hover .arrow {
transform: translateX(4px);
}

/* Zapewnienie, że tekst jest dokładnie wyśrodkowany */
.arrow-cta-button span {
flex: 1;
text-align: center;
margin-right: 8px;
/* Kompensacja dla strzałki */
}

.feature-list {
list-style: none;
margin-top: 15px;
}

.feature-item {
display: flex;
align-items: center;
margin-bottom: 12px;
}

.feature-icon {
width: 22px;
height: 22px;
min-width: 22px;
margin-right: 12px;
display: flex;
align-items: center;
justify-content: center;
background-color: rgba(212, 41, 58, 0.1);
border-radius: 50%;
color: #d4293a;
font-size: 12px;
flex-shrink: 0;
}

.value-highlight {
font-weight: 700;
color: #d4293a;
}

.separator {
height: 1px;
background-color: #eee;
margin: 25px 0;
width: 100%;
}

.value-option-card {
min-height: 140px !important;
}

@media (max-width: 1006px) {
.options-container>.sppb-addon-wrapper {
  flex-basis: 100%;
}

}

@media (max-width: 768px) {
.process-line {
  left: 30px;
}

.step {
  flex-direction: column;
}

.step-number {
  width: 80px;
  height: 80px;
  font-size: 36px;
  margin-left: -30px;
  margin-bottom: 20px;
}

.step-content {
  padding-left: 50px;
}

.options-container {
  flex-direction: column;
}

}

/* --- Sekcja - gdzie można wykorzystać --- */
.giftcard-shop-categories .sppb-addon-content {
    display: flex !important;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 2rem;
    position: relative;
}

.giftcard-shop-category {
    padding: 0.8rem 1.5rem;
    cursor: pointer;
    border-radius: 30px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.giftcard-shop-category.active {
    background-color: #d4293a;
    color: white;
    box-shadow: 0 4px 12px rgba(212, 41, 58, 0.3);
    transform: scale(1.05);
}

.giftcard-shop-category.active:hover {
    box-shadow: 0 6px 20px rgba(212, 41, 58, 0.4);
    transform: scale(1.08);
}

.giftcard-shop-category:not(.active) {
    color: #555;
    border: 2px solid #eee;
    background-color: white;
}

.giftcard-shop-category:not(.active):hover {
    border-color: #d4293a;
    color: #d4293a;
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
}

/* Kontener na pole wyszukiwania */
.search-container {
    text-align: center;
    margin-bottom: 2.5rem;
    position: relative;
}

.search-wrapper {
    position: relative;
    display: inline-block;
    width: 100%;
    max-width: 500px;
}

/* Pole wyszukiwania */
#shopSearch {
    padding: 1rem 3rem 1rem 1.5rem;
    border: 2px solid #eee;
    border-radius: 50px;
    width: 100%;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    background-color: #f8f8f8;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

#shopSearch:hover {
    background-color: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

#shopSearch:focus {
    outline: none;
    border-color: #d4293a;
    background-color: white;
    box-shadow: 0 4px 20px rgba(212, 41, 58, 0.15);
    transform: translateY(-2px);
}

/* Ikona lupy Font Awesome */
.search-icon {
    position: absolute;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
    pointer-events: none;
    transition: all 0.3s ease;
    font-size: 1.1rem;
}

#shopSearch:focus ~ .search-icon {
    color: #d4293a;
    transform: translateY(-50%) scale(1.1);
}

/* Opcjonalnie - animacja rotacji przy focus */
#shopSearch:focus ~ .search-icon {
    color: #d4293a;
    transform: translateY(-50%) rotate(15deg) scale(1.1);
}

/* Animacja placeholder */
#shopSearch::placeholder {
    transition: opacity 0.3s ease;
}

#shopSearch:focus::placeholder {
    opacity: 0.5;
}

/* Lista sklepów */
#shopsList {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1.2rem;
    padding: 0 1rem;
}

/* Elementy sklepów */
.shop-item {
    padding: 1.2rem;
    background-color: white;
    border: 2px solid #f0f0f0;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    font-weight: 500;
    color: #333;
  display: flex;
  justify-content: center;
  align-items: center;
}

.shop-item::before {
    content: '';
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, transparent, rgba(212, 41, 58, 0.05));
    transition: top 0.3s ease;
}

.shop-item:hover::before {
    top: 0;
}

.shop-item:hover {
    border-color: #d4293a;
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(212, 41, 58, 0.15);
    color: #d4293a;
}

/* Animacja pojawiania się */
.shop-item {
    animation: fadeIn 0.3s ease forwards;
    opacity: 0;
}

.shop-item:nth-child(n) {
    animation-delay: calc(0.02s * var(--index));
}

@keyframes fadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
    from {
        opacity: 0;
        transform: translateY(10px);
    }
}

.shop-item.hidden {
    display: none !important;
}

/* Responsywność */
@media (max-width: 768px) {
    #shopsList {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 0.8rem;
    }
    
    .shop-item {
        padding: 0.8rem;
        font-size: 0.9rem;
    }
    
    .giftcard-shop-category {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }
}

/* Dodatkowe efekty hover dla kategorii */
.giftcard-shop-category {
    backdrop-filter: blur(10px);
}

.giftcard-shop-category:active {
    transform: scale(0.98);
}


.giftcard-shop-category i {
    margin-right: 0.5rem;
    transition: transform 0.3s ease;
}

.giftcard-shop-category:hover i {
    transform: scale(1.2);
}

.giftcard-shop-category.active i {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

/* --- Sekcja - FAQ --- */

#karta-podarunkowa-faq {
background-color: #f9f9f9;
padding-top: 100px !important;
padding-bottom: 100px !important;
padding-left: 5% !important;
padding-right: 5% !important;
display: flex;
justify-content: center;
}

.faq-list {
max-width: 900px;
margin: 0 auto;
}

/* Element FAQ */
.faq-item {
margin-bottom: 16px;
border-radius: 8px;
overflow: hidden !important;
transition: all 0.3s ease;
border: 1px solid #e0e0e0;
background-color: #fff;
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.faq-item:hover {
transform: translateY(-2px);
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Pytanie FAQ */
.faq-question {
padding: 18px 25px;
cursor: pointer;
display: flex !important;
justify-content: space-between;
align-items: center;
background-color: #fff;
transition: all 0.3s ease;
}

.faq-question:hover {
background-color: #f7f7f7;
}

.faq-question-text {
font-weight: 600;
font-size: 1.1rem;
color: #333;
}

/* Ikona rozwijania/zwijania */
.faq-icon .sppb-icon-inner {
width: 24px;
height: 24px;
display: flex !important;
align-items: center;
justify-content: center;
border-radius: 50%;
color: #e63946;
transition: all 0.3s ease;
}

.faq-icon .fas {
font-size: 18px;
transition: all 0.3s ease;
}

/* Odpowiedź FAQ */
.faq-answer {
max-height: 0;
overflow: hidden;
transition: max-height 0.5s ease;
}

.faq-answer-content {
padding: 0;
}

.faq-answer-text {
padding: 25px;
line-height: 1.6;
color: #555;
}

/* Aktywny element FAQ */
.faq-item.active {
border-color: #e63946;
}

.faq-item.active .faq-question {
background-color: #fff5f5;
}

.faq-item.active .faq-question-text {
color: #e63946;
}

.faq-item.active .faq-icon .fas {
transform: rotate(45deg);
color: #ba181b;
}

.faq-item.active .faq-answer {
max-height: 500px;
}

/* Specjalne style dla pytania z wideo */
.faq-video .faq-answer-text {
padding-bottom: 0;
}

.faq-video-container {
background-color: #f5f5f5;
border-radius: 8px;
margin: 0 25px 20px;
padding: 30px;
display: flex !important;
align-items: center;
justify-content: center;
cursor: pointer;
transition: all 0.3s ease;
}

.faq-video-container:hover {
background-color: #f0f0f0;
}

.faq-video-icon {
color: #e63946;
margin-right: 12px;
font-size: 24px;
}

/* Linki w odpowiedziach */
.faq-answer-text a {
color: #e63946;
text-decoration: none;
position: relative;
font-weight: 500;
transition: all 0.3s ease;
}

.faq-answer-text a::after {
content: '';
position: absolute;
bottom: -2px;
left: 0;
width: 100%;
height: 2px;
background-color: #e63946;
transform: scaleX(0);
transition: transform 0.3s ease;
}

.faq-answer-text a:hover {
color: #ba181b;
}

.faq-answer-text a:hover::after {
transform: scaleX(1);
}

/* Responsywność */
@media (max-width: 768px) {

.faq-question {
  padding: 15px 20px;
}

.faq-question-text {
  font-size: 1rem;
}

.faq-answer-text {
  padding: 0 20px 15px;
}

.faq-video-container {
  margin: 0 20px 15px;
  padding: 20px;
}
}

/* Dodatkowe animacje dla lepszego UX */
@keyframes fadeIn {
from {
  opacity: 0;
}

to {
  opacity: 1;
}
}

.faq-item.active .faq-answer-content {
animation: fadeIn 0.5s ease;
}

/* Styl dla stopki FAQ */

.faq-footer {
  margin-top: 4rem;
}

.faq-footer h4 {
  text-align: center;
  margin-bottom: 1rem;
}

.faq-desc > div {
  text-align: center;
}

.finpay-link {
  display: inline-block;
  background: #E02020;
  color: #fff !important;
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.finpay-link:hover {
  background: #c41e1e;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(224, 32, 32, 0.3);
  color: #fff !important;
}

.faq-footer-links {
display: grid !important;
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
gap: 16px;
margin-top: 2rem;
}

.faq-footer-link {
display: flex;
align-items: center;
padding: 16px 20px;
background: white;
border: 1px solid #e9ecef;
border-radius: 12px;
text-decoration: none;
color: #495057 !important;
transition: all 0.3s ease;
position: relative;
overflow: hidden;
}

.faq-footer-link::before {
content: '';
position: absolute;
top: 0;
left: 0;
width: 4px;
height: 100%;
background: #E02020;
transform: scaleY(0);
transition: transform 0.3s ease;
}

.faq-footer-link:hover {
transform: translateY(-2px);
box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
border-color: #E02020;
color: #E02020 !important;
}

.faq-footer-link:hover::before {
transform: scaleY(1);
}

.faq-footer-link i {
width: 24px;
height: 24px;
margin-right: 12px;
flex-shrink: 0;
opacity: 0.7;
transition: opacity 0.3s ease;
font-size: 18px;
color: #E02020;
display: flex;
align-items: center;
justify-content: center;
}

.faq-footer-link:hover i {
opacity: 1;
}

.link-content {
flex: 1;
}

.link-title {
font-weight: 600;
font-size: 15px;
margin-bottom: 2px;
}

.link-description {
font-size: 13px;
opacity: 0.7;
}

.external-indicator {
width: 16px;
height: 16px;
opacity: 0.5;
transition: opacity 0.3s ease;
margin-left: 8px;
}

.emki-link:hover .external-indicator {
opacity: 1;
}

@media (max-width: 768px) {

.footer-links {
gap: 24px;
flex-direction: column;
}

.emki-link {
padding: 12px 16px;
font-size: 15px;
width: 100%;
max-width: 100%;
justify-content: center;
}
}

@media (max-width: 480px) {
.footer-links {
gap: 16px;
}

.emki-link {
max-width: 100%;
}
}

/*------------------------------------------------------
*                  SEKCJA: Promocje          *
*-----------------------------------------------------*/

.view-category #sp-main-body {
background-color: #f9f9f9;
}


.page-header h1 {
text-align: center;
text-transform: uppercase;
font-weight: 700;
position: relative;
}

.page-header h1::after {
content: '';
position: absolute;
width: 200px;
height: 3px;
background: linear-gradient(90deg, rgba(212,41,58,0.2), rgba(212,41,58,1), rgba(212,41,58,0.2));
bottom: -5px;
left: 50%;
transform: translateX(-50%);
border-radius: 3px;
}

/* --- USUNIĘCIE BADGE "NOWE" --- */
.blog .article:nth-child(1) .article-introtext p::before {
display: none !important;
}

/* === WYODRĘBNIENIE ZAWARTOŚCI I KOLEJNOŚĆ === */
/* Ustawienie grid na body dla precyzyjnego rozmieszczenia */
.blog .article-body {
display: grid !important;
grid-template-areas:
  "image"
  "header"
  "button";
grid-template-rows: auto auto auto;
}

/* Obrazek = grid-area image */
.blog .article-introtext {
grid-area: image;
display: contents !important;
}

/* Nagłówek = grid-area header */
.blog .article-body > .article-header {
grid-area: header;
display: flex !important;
justify-content: center;
align-items: center;
}

/* Przycisk = grid-area button */
.blog .readmore {
grid-area: button;
}

/* We wnętrzu article-introtext: p jako obrazek, readmore jako przycisk */
.blog .article-introtext > p {
order: 1;
}
.blog .article-introtext > .readmore {
order: 2;
margin-top: 10px;
}

/* === GŁÓWNY GRID KART === */
.blog .article-list {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
gap: 30px;
padding: 60px 5%;
max-width: 2000px;
margin: 0 auto;
perspective: 1000px;
}

/* === POJEDYNCZA KARTA ARTYKUŁU === */
.blog .article {
background: #fff;
border-radius: 12px;
overflow: hidden;
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
display: block;
position: relative;
border: 1px solid rgba(0, 0, 0, 0.05);
animation: fadeInUp 0.6s ease forwards;
opacity: 0;
margin-bottom: 0px !important;
padding: 0 !important;
}

/* === ZDJĘCIE === */
.blog .article-introtext p {
margin: 0;
overflow: hidden;
position: relative;
height: 0;
padding-bottom: 100%; /* 1:1 */
}
.blog .article-introtext img {
position: absolute;
top: 0; left: 0;
width: 100%; height: 100%;
object-fit: cover;
transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1), filter 0.4s ease;
}
.blog .article:hover img {
transform: scale(1.08);
filter: brightness(1.05) contrast(1.05);
}

/* === OVERLAY GRADIENT === */
.blog .article-introtext p::after {
content: '';
position: absolute;
top: 0; left: 0;
width: 100%; height: 100%;
background: linear-gradient(135deg, rgba(212,41,58,0.14) 0%, transparent 100%);
opacity: 0;
transition: opacity 0.6s ease;
z-index: 1;
}
.blog .article:hover .article-introtext p::after {
opacity: 1;
}

/* === TYTUŁ === */
.blog .article-header h2 {
display: flex;
justify-content: center;
align-items: center;
color: #222 !important;
font-size: 1.2rem;
line-height: 1.5rem;
font-weight: 700;
padding: 25px 20px 25px;
margin: 0 !important; 
text-transform: uppercase;
letter-spacing: 0.05em;
text-align: center;
transition: color 0.3s ease;
}
.blog .article:hover h2 {
color: #d4293a !important;
}

/* === PRZYCISK CZYTAJ WIĘCEJ === */
.blog .readmore {
text-align: center;
padding: 0 20px 25px;
margin: 0 !important;
display: flex;
justify-content: center;
align-items: flex-end;
}

.blog .readmore a {
display: inline-block;
width: 200px;
padding: 14px 30px;
font-size: 14px;
font-weight: 600 !important;
border-radius: 30px;
letter-spacing: 1px;
text-transform: uppercase;
background-color: #d4293a !important;
color: #fff !important;
border: 2px solid #d4293a;
box-shadow: 0 4px 12px rgba(212, 41, 58, 0.25) !important;
position: relative;
overflow: hidden;
transition: all 0.3s ease;
box-sizing: border-box;
}
.blog .readmore a:hover {
background-color: #b71f33 !important;
border-color: #b71f33;
transform: translateY(-2px);
box-shadow: 0 6px 15px rgba(212, 41, 58, 0.35) !important;
}
.blog .readmore a::after {
content: '';
position: absolute;
top: 50%; left: 50%;
width: 120%; height: 120%;
background: radial-gradient(circle, rgba(255,255,255,0.3) 0%, rgba(255,255,255,0) 70%);
opacity: 0;
transform: translate(-50%, -50%) scale(0.8);
transition: opacity 0.5s, transform 0.5s;
pointer-events: none;
}
.blog .readmore a:hover::after {
opacity: 1;
transform: translate(-50%, -50%) scale(1);
}

.layout-blog #sp-main-body .container {
max-width: 100% !important;
}

.article:hover {
transform: translateY(-15px) rotateX(5deg);
box-shadow: 0 15px 35px rgba(212, 41, 58, 0.15);
border-color: rgba(212, 41, 58, 0.1);
}

.blog .pagination-wrapper {
justify-content: center !important;
}

.blog .pagination-counter {
display: none !important;
}

/* === RESPONSYWNOŚĆ === */
@media (max-width: 768px) {
.blog .readmore a {
  width: 180px;
  padding: 12px 25px;
  font-size: 13px;
}
}



/* Główny layout (grid + perspektywa) */
.article-list .row {
display: grid !important;
gap: 30px;
justify-content: center;
perspective: 1000px;
max-width: 1800px;
margin: 0 auto;
}

.article-list .row > div {
width: 100% !important; 
padding: 0 !important;
}

.article-list .row  {
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

/* 4 kolumny dla promocji */
.article-list .row  {
grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
}

/* Ekrany 2K+ */
@media (min-width: 1921px) {
.article-list .row  {
  grid-template-columns: repeat(4, minmax(350px, 1fr));
}



/* Monitory średnie */
@media (min-width: 1200px) and (max-width: 1920px) {
.article-list .row {
  grid-template-columns: repeat(3, 1fr);
}

}

@media (min-width: 992px) and (max-width: 1199px) {
.article-list .row {
  grid-template-columns: repeat(2, 1fr);
}
}

@media (min-width: 768px) and (max-width: 1199px) {
.article-list .row {
  grid-template-columns: repeat(2, 1fr);
}
}

@media (max-width: 767px) {
.article-list .row  {
  grid-template-columns: repeat(1, 1fr);
}
}

.blog .article {
height: 100%;
}

.blog .article-body {
height: 100%;
}



#wizytowka, #aktualnosc {
display: flex;
}
#wizytowka-left {
padding-inline-end: 15px;
}
#wizytowka-right {
padding-inline-start: 15px;
}
.fax-kon, .mail-kon, .tel-kon {
display: inline-block;
margin: 0 5px 0 0;
}
#wizytowka .link > a{
background-color: #fff !important;
color: #d4293a !important;
border: 2px solid #d4293a;
box-shadow: 0 4px 12px rgba(212, 41, 58, 0.15) !important;
display: inline-block;
padding: 14px 30px;
font-size: 14px;
font-weight: 600;
border-radius: 30px;
letter-spacing: 1px;
text-transform: uppercase;
transition: all 0.3s ease;
position: relative;
overflow: hidden;
text-align: center;
box-sizing: border-box;	
}
#wizytowka .link > a:hover {
background-color: rgba(212, 41, 58, 0.05) !important;
color: #b71f33 !important;
border-color: #b71f33;
transform: translateY(-2px);
box-shadow: 0 6px 15px rgba(212, 41, 58, 0.25) !important;
}
#aktualnosc .oferta-promo{
padding-inline-start: 30px;	
}
#kontakt-header h1{
text-align: center;
text-transform: uppercase;
font-weight: 700;
}
#kontakt-header h1::after {
content: '';
position: absolute;
width: 200px;
height: 3px;
background: linear-gradient(90deg, rgba(212,41,58,0.2), rgba(212,41,58,1), rgba(212,41,58,0.2));
bottom: 0;
left: 50%;
transform: translateX(-50%);
border-radius: 3px;
}
.kontakt-info-card {
background: #ffffff;
border-radius: 16px;
box-shadow: 0 15px 35px rgba(58, 77, 212, 0.1), 0 5px 15px rgba(0, 0, 0, 0.07) !important;
transition: all 0.3s ease;
height: 100%;
min-height: 380px;
}
.kontakt-info-card:hover {
transform: translateY(-10px);
}
.kontakt-info-card .fax-kon, .kontakt-info-card .mail-kon, .kontakt-info-card .tel-kon {
display: inline-block;
margin: 0 5px 0 0;
}
.kontakt-info-card .sppb-icon .sppb-icon-container{
width: 60px;
height: 60px;
background: #d4293a;
border-radius: 50%;
display: flex !important;
justify-content: center;
align-items: center;
flex-shrink: 0;
color: #fff !important;	
}
.kontakt-info-card .sppb-icon .sppb-icon-container > i {
font-size: 28px !important;
}
.kontakt-info-card .sppb-addon-content-align-before.sppb-addon.sppb-addon-feature {
display: none !important;
}
.kontakt-info-card .sppb-addon-feature{
display: flex !important;
align-items: center;
padding-block-start: 50px;
padding-block-end: 30px;
padding-inline: 30px;
}
.kontakt-info-card h2{
font-size: 1.5rem !important;
font-weight: 600;
color: #E02020;
margin: 0 !important;	
}
.kontakt-info-card h3{
font-size: 1.2rem	
}
.kontakt-info-card .sppb-addon-text-block{
padding-inline: 60px;	
}
.kontakt-info-card .sppb-addon-text-block p{
padding-block: 10px;
border-bottom: 1px solid rgba(0, 0, 0, 0.05);	
}
.kontakt-info-card .sppb-addon-text-block p:last-child{
border-bottom: none;	
}
#telefony-header h2{
text-align: center;
text-transform: uppercase;
font-weight: 700;
}
#telefony-header h2::after {
content: '';
position: absolute;
width: 200px;
height: 3px;
background: linear-gradient(90deg, rgba(212,41,58,0.2), rgba(212,41,58,1), rgba(212,41,58,0.2));
bottom: 0;
left: 50%;
transform: translateX(-50%);
border-radius: 3px;
}

/* kontakt mapka */
#kontakt-mapka {
  padding-bottom: 0px !important;
  padding-top: 100px !important;
}

#kontakt-mapka .sppb-addon-text-block .sppb-addon-content {
  max-height: 680px !important;
}



#sp-footer {
background: #1d2436 !important;
}
.facebook-icon, .instagram-icon {
display: inline-block;
margin: 0 5px;
}
#sp-footer2 {
text-align: left !important;
}
#sp-footer2 h3,#sp-position1 h3{
font-size: 24px;	
}
#sp-footer3 {
background: #5b5f68 !important;
color: #fff !important;
}

  #sp-footer .container{
max-width: 100vw;
}	
}


/*------------------------------------------------------
*                  SEKCJA: Kontakt                    *
*-----------------------------------------------------*/
.kontakt-informacje-section {
background-color: #f9f9f9;
padding-top: 100px !important;
padding-bottom: 100px !important;
padding-left: 5% !important;
padding-right: 5% !important;
display: flex;
justify-content: center;
}

/* Siatka z danymi kontaktowymi */
.contact-grid {
display: grid !important;
grid-template-columns: repeat(3, 1fr);
gap: 30px;
}

/* Karta kontaktowa */
.contact-card {
position: relative;
padding: 40px 20px 30px;
border-radius: 16px;
background: #ffffff;
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05) !important;
text-align: center;
transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
overflow: hidden !important;
display: flex !important;
flex-direction: column;
align-items: center;
height: 100%;
}

.contact-card:hover {
transform: translateY(-10px);
box-shadow: 0 20px 40px rgba(229, 57, 53, 0.15) !important;
}

.contact-card::before {
content: '';
position: absolute;
width: 100%;
height: 5px;
bottom: 0;
left: 0;
background: linear-gradient(90deg, #e53935, #ff8a80);
transform: scaleX(0);
transform-origin: left;
transition: transform 0.4s ease;
}

.contact-card:hover::before {
transform: scaleX(1);
}

/* Ikony */
.contact-card-icon {
width: 90px;
height: 90px;
border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
display: flex;
align-items: center;
justify-content: center;
margin-bottom: 25px;
background: linear-gradient(135deg, rgba(229, 57, 53, 0.1) 0%, rgba(229, 57, 53, 0.2) 100%);
position: relative;
transition: all 0.5s ease;
}

.contact-card:hover .contact-card-icon {
transform: rotate(10deg) scale(1.1);
border-radius: 50% 50% 50% 50% / 50% 50% 50% 50%;
background: linear-gradient(135deg, rgba(229, 57, 53, 0.2) 0%, rgba(229, 57, 53, 0.3) 100%);
}

.contact-card-icon i {
font-size: 36px;
color: #d4293a;
position: relative;
z-index: 2;
transition: all 0.3s ease;
}

.contact-card:hover .contact-icon i {
transform: scale(1.2);
}

/* Tytuł karty */
.contact-card-title h3 {
font-size: 22px;
font-weight: 700;
color: #1a1a1a;
margin-bottom: 20px;
position: relative;
}

.contact-card-title h3::after {
content: '';
position: absolute;
width: 40px;
height: 3px;
bottom: -10px;
left: 50%;
transform: translateX(-50%);
background: rgba(229, 57, 53, 0.3);
transition: all 0.3s ease;
}

.contact-card:hover .contact-card-title h3::after {
width: 60px;
background: rgba(229, 57, 53, 0.7);
}

/* Treść kontaktowa */
.contact-content {
font-size: 16px;
line-height: 1.7;
color: #606060;
margin-bottom: 20px;
flex-grow: 1;
}

/* Subtitle dla kart najmu */
.kontakt-content-subtitle h4 {
font-size: 15px;
font-weight: 600;
color: #e53935;
margin-bottom: 10px;
}

/* Zarząd - specjalna karta */
.contact-grid-last-wide > *:last-child {
grid-column: 1 / -1;
}


.contact-grid .addon-root-button {
margin-top: auto !important;
}

/* Responsywność */
@media (max-width: 992px) {
.contact-grid {
grid-template-columns: repeat(2, 1fr);
}
}

@media (max-width: 768px) {
.contact-grid {
grid-template-columns: 1fr;
max-width: 400px;
margin: 0 auto;
}
}

.kontakt-wynajem-section {
background-color: #fff;
padding-top: 100px !important;
padding-bottom: 100px !important;
padding-left: 5% !important;
padding-right: 5% !important;
display: flex;
justify-content: center;
}

/* wizytowka */
:root {
--primary: #d4293a;
--secondary: #2c2c2c;
--text-dark: #333333;
--text-darker: #222222;
--light-gray: #f9f9f9;
--white: #fff;
}

.view-article #sp-main-body {
padding: 0px !important;
}

.view-article .article-details .article-can-edit {
display: none !important;
}

.view-article .article-details .fields-container {
display: none !important;
}

.view-article .article-details .pagenavigation {
display: none !important;
}



.main-card-section .container {
max-width: 1200px;
margin: 0 auto;
padding: 0 20px;
position: relative;
}

#particles .particle {
position: absolute;
background-color: var(--primary);
border-radius: 50%;
opacity: 0.1;
z-index: 0; /* Ensure it's behind main-card-section if #particles is full page and main-card has higher z-index */
}

/* Main Card Section Styling */
.main-card-section {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
min-height: 100vh;
padding: 50px 20px;
background-color: #f0f2f5;
position: relative;
overflow: hidden;
z-index: 1; /* To be above particles if they are on body */
}


@keyframes subtleGradientShift {
0% { background-position: 0% 0%; }
100% { background-position: 50px 50px; }
}

/* Card Layout Container */
.card-content-wrapper {
display: flex;
gap: 30px; /* Space between text card and image column */
width: 100%;
align-items: flex-start; /* Align items to the top */
}

/* Info Card (Text Content Column) Styling */
.info-card { /* Was the full card, now the text content part */
background-color: #fefefe; /* Very light, clean background */
padding: 30px 40px; /* Adjusted padding */
border-radius: 10px; /* Sharper radius for business card feel */
border: 1px solid #eaeaea; /* Subtle border */
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05), 0 1px 3px rgba(0,0,0,0.03); /* Softer, more refined shadow */
width: 65%; /* Wider card for text content */
max-width: none; /* Remove previous max-width to rely on flex parent */
position: relative;
z-index: 1;
overflow: hidden; /* For decorative element */
text-align: left; /* Align text to left for better readability in a column */
display: flex;
flex-direction: column;
align-items: flex-start; /* Align items to start (left) */
opacity: 0;
transform: translateY(20px);
animation: cardFadeInUp 0.8s 0.2s ease forwards;
}

/* Pulsating Dot and Ripple Effect */
.info-card::before { /* Static Red Dot */
content: '';
position: absolute;
top: 20px;
right: 20px;
width: 8px;
height: 8px;
background-color: var(--primary); /* This is the red color */
border-radius: 50%;
z-index: 2; /* Ensures dot is on top of the ripple */
/* animation: pulseDot 1.5s infinite ease-in-out; */ /* Removed animation to make it static */
}

.info-card::after { /* Ripple Effect emanating from the static dot */
content: '';
position: absolute;
top: 20px; /* Align with dot's top */
right: 20px; /* Align with dot's right */
width: 8px; /* Ripple starts smaller */
height: 8px; /* Ripple starts smaller */
background-color: var(--primary);
border-radius: 50%;
z-index: 1; /* Behind the dot */
opacity: 0;
transform-origin: center;
animation: rippleEffect 1.5s infinite ease-out;
animation-delay: 0.2s; /* Start ripple slightly after dot pulse peak */
}

/* @keyframes pulseDot removed as it's no longer used */

@keyframes rippleEffect {
0% {
  transform: scale(1);
  opacity: 0.6;
}
100% {
  transform: scale(3.5); /* Ripple expands outwards */
  opacity: 0;
}
}

@keyframes cardFadeInUp {
  to {
      opacity: 1;
      transform: translateY(0);
  }
}

.info-card .logo {
max-width: 170px; /* Slightly larger logo */
margin-bottom: 30px; /* Increased spacing */
background-color: transparent;
padding: 0;
box-shadow: none;
}

.info-card h1 {
font-size: 36px; /* Slightly larger h1 */
font-weight: 700;
margin-bottom: 20px; /* Increased spacing */
color: var(--text-darker);
text-align: left;
}
.info-card h1::after {
content: '';
display: block;
width: 70px;
height: 3px;
background-color: var(--primary);
margin: 10px 0 0; /* Align to left */
transform: scaleX(0);
transform-origin: left; /* Animate from left */
animation: scaleIn 0.7s ease forwards 0.8s;
}

.info-card .subtitle {
font-size: 16px; /* Slightly larger subtitle */
font-weight: 400;
color: var(--text-dark);
margin-bottom: 30px; /* Increased spacing */
text-align: left;
}

.info-card .description {
font-size: 15px; /* Slightly larger description */
font-weight: 300;
line-height: 1.75;
color: var(--text-dark);
margin-bottom: 35px; /* Increased spacing */
text-align: justify;
max-width: 100%; /* Full width of info-card */
}
.info-card .description strong {
font-weight: 600; /* Slightly bolder than the description's 300 */
color: var(--primary); /* Main red color */
}

/* Hero Image Column Styling */
.card-content-wrapper .hero-image-column {
width: 35%; /* Width for the image column */
position: relative; /* For sticky positioning of child */
}

.hero-image-column .hero-image { /* This is the actual image container that will be sticky */
width: 100%;
max-height: 75vh; /* Adjust as needed */
cursor: pointer; /* To indicate it's clickable for lightbox */
min-height: 300px;
position: sticky;
top: 80px; /* Adjust top offset for sticky */
overflow: hidden;
border-radius: 16px;
box-shadow: 0 12px 35px rgba(0, 0, 0, 0.12);
transition: transform 0.5s ease, box-shadow 0.5s ease;
/* Initial animation for image if desired - can be added back */
/* opacity: 0; */
/* transform: translateX(30px); */
/* animation: fadeInRight 1s ease forwards 0.6s; */
}

.hero-image-column .hero-image img {
width: 100%;
height: auto;
min-height: 300px; /* Ensure image fills the container height if aspect ratio allows */
object-fit: cover;
display: block;
transition: transform 0.5s ease, filter 0.5s ease; /* Added filter transition */
}

.hero-image-column .hero-image:hover img {
transform: scale(1.08); /* Slightly more pronounced zoom */
filter: brightness(1.1); /* Subtle brightness increase */
}

/* Remove ::before and ::after from .hero-image if they were for corner accents */
.hero-image-column .hero-image::before, .hero-image-column .hero-image::after {
  display: none;
}
/* Styles for when hero image is hidden via .hide-hero on .card-content-wrapper */
.card-content-wrapper.hide-hero .hero-image-column {
display: none;
}

.card-content-wrapper.hide-hero .info-card {
width: 100%;
max-width: 900px; /* Adjust as needed for desired max width */
margin-left: auto;
margin-right: auto;
}
  
.info-card .contact-title {
font-size: 28px; /* Adjusted size */
font-weight: 600;
margin-top: 35px; /* Increased spacing - this is after the first button group */
margin-bottom: 20px; /* Increased spacing */
color: var(--text-darker);
text-align: left;
}
.info-card .contact-title::after {
content: '';
display: block;
width: 50px;
height: 3px;
background-color: var(--primary);
margin: 8px 0 0; /* Align to left */
}

.info-card .contact-text {
font-size: 14px;
font-weight: 300;
margin-bottom: 30px; /* Increased spacing */
max-width: 100%;
line-height: 1.6;
text-align: left;
}

.info-card .contact-details {
display: flex;
flex-direction: column;
gap: 12px; /* Slightly more gap */
margin-bottom: 35px; /* Increased spacing */
width: 100%;
max-width: 380px; /* Can be wider if needed */
align-items: stretch;
}

.info-card .contact-item {
display: flex;
align-items: center;
padding: 10px 15px; /* Slightly more padding */
border-radius: 10px;
transition: all 0.3s ease;
background-color: rgba(240, 242, 245, 0.7);
text-align: left;
}
.info-card .contact-item:hover {
transform: translateX(5px);
background-color: rgba(212, 41, 58, 0.05);
box-shadow: 0 3px 10px rgba(212, 41, 58, 0.08);
}

.info-card .contact-icon {
width: 38px; /* Slightly larger icon container */
height: 38px;
background-color: rgba(212, 41, 58, 0.08);
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
margin-right: 15px;
color: var(--primary);
font-size: 15px; /* Slightly larger icon */
transition: all 0.3s ease;
}
.info-card .contact-item:hover .contact-icon {
background-color: var(--primary);
color: var(--white);
transform: rotate(0deg); /* Keep rotation if desired, or remove */
}

.info-card .contact-label {
font-size: 15px; /* Slightly larger label */
color: var(--text-dark);
transition: color 0.3s ease;
}
.info-card .contact-item:hover .contact-label {
color: var(--primary);
font-weight: 500;
}

.info-card .contact-label a {
font-size: 15px !important;
color: var(--text-dark) !important;
transition: color 0.3s ease !important;
}
.info-card .contact-item:hover .contact-label a{
color: var(--primary) !important;
font-weight: 500 !important;
}

.info-card .contact-buttons {
display: flex;
gap: 15px; /* More gap for buttons */
justify-content: flex-start; /* Align buttons to left */
margin-top: 10px; /* This is the first button group, spacing after description is handled by description's margin-bottom */
margin-bottom: 35px; /* Added spacing after the first button group */
flex-wrap: wrap;
}

/* Base Button Style (from button-demo.html) */
.info-card .btn {
  display: inline-flex; /* Changed from inline-block to support icon alignment */
  align-items: center; /* For icon alignment */
  justify-content: center; /* For icon alignment */
  padding: 14px 30px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 30px;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  width: auto; /* Changed from fixed 200px to auto for flexibility */
  min-width: 200px; /* Added min-width for consistency */
  text-align: center;
  box-sizing: border-box;
  cursor: pointer;
  text-decoration: none;
}

/* Primary Button - Red background (from button-demo.html) */
.info-card .btn-primary {
  background-color: #d4293a;
  color: #fff;
  border: 2px solid #d4293a;
  box-shadow: 0 4px 12px rgba(212, 41, 58, 0.25);
}

.info-card .btn-primary:hover {
  background-color: #b71f33;
  border-color: #b71f33;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(212, 41, 58, 0.35);
}

/* Secondary Button - White background with red border (from button-demo.html) */
.info-card .btn-secondary { /* Renamed from btn-outline */
  background-color: #fff;
  color: #d4293a;
  border: 2px solid #d4293a;
  box-shadow: 0 4px 12px rgba(212, 41, 58, 0.15);
}

.info-card .btn-secondary:hover {
  background-color: rgba(212, 41, 58, 0.05);
  color: #b71f33;
  border-color: #b71f33;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(212, 41, 58, 0.25);
}

/* Shared hover effect - subtle pulse animation (from button-demo.html) */
.info-card .btn:after { /* Changed from ::before to ::after to match demo */
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 120%;
  height: 120%;
  background: radial-gradient(circle, rgba(255,255,255,0.3) 0%, rgba(255,255,255,0) 70%);
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.8);
  transition: opacity 0.5s, transform 0.5s;
  pointer-events: none;
  z-index: 0; /* Ensure it's behind text/icon */
}

.info-card .btn:hover:after {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.info-card .btn .btn-icon {
margin-right: 8px; /* Keep existing icon margin or adjust as needed */
transition: transform 0.3s ease;
position: relative; /* Ensure icon is above the :after pseudo-element */
z-index: 1;
}
.info-card .btn:hover .btn-icon {
transform: scale(1.1); /* Keep existing icon hover or adjust */
}
  

/* General Purpose Animations */
@keyframes fadeInUp {
from { opacity: 0; transform: translateY(30px); }
to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInDown {
from { opacity: 0; transform: translateY(-20px); }
to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInRight {
from { opacity: 0; transform: translateX(30px); }
to { opacity: 1; transform: translateX(0); }
}
@keyframes fadeInLeft {
from { opacity: 0; transform: translateX(-30px); }
to { opacity: 1; transform: translateX(0); }
}
@keyframes scaleIn {
from { transform: scaleX(0); }
to { transform: scaleX(1); }
}

/* Scroll Animation (if .reveal is still used on elements inside card) */
.reveal {
opacity: 0;
transform: translateY(30px);
transition: all 0.8s ease;
}
.reveal.active {
opacity: 1;
transform: translateY(0);
}

/* Floating Animation for Particles (for #particles div) */
@keyframes floating {
0% { transform: translate(0, 0); }
50% { transform: translate(15px, -15px); }
100% { transform: translate(0, 0); }
}

/* Responsive Styles */
@media (max-width: 992px) { /* Tablet and below */
.card-content-wrapper {
  flex-direction: column;
  align-items: center; /* Center items when stacked */
}
.info-card {
  width: 100%; /* Full width when stacked */
  margin-bottom: 30px; /* Space below card before image */
  text-align: center; /* Center text in card when stacked */
  align-items: center; /* Center items in card */
}
.info-card h1, .info-card .subtitle, .info-card .contact-title, .info-card .contact-text {
  text-align: center;
}
.info-card h1::after, .info-card .contact-title::after {
  margin-left: auto;
  margin-right: auto;
  transform-origin: center; /* Animate from center */
}
.info-card .contact-buttons {
  justify-content: center; /* Center buttons */
}
.hero-image-column {
  width: 100%;
  max-width: 500px; /* Limit image width when stacked */
}
.hero-image {
  position: relative; /* No longer sticky when stacked */
  top: 0;
  max-height: 50vh; /* Adjust height for stacked view */
}
}

@media (max-width: 768px) { /* Mobile */
.main-card-section { padding: 30px 15px; }
.info-card {
  padding: 25px 20px;
}
.info-card h1 { font-size: 28px; }
.info-card .subtitle { font-size: 15px; }
.info-card .description { font-size: 14px; }
.hero-image-column { max-width: 100%; } /* Allow full width for image on mobile */
.hero-image { max-height: 40vh; }

.info-card .contact-title { font-size: 24px; }
.info-card .contact-text { font-size: 14px; }
.info-card .contact-buttons { flex-direction: column; align-items: center; gap: 10px; }
.btn { width: 100%; max-width: 280px; }
}

@media (max-width: 480px) {
  .info-card { padding: 20px 15px; }
  .info-card h1 { font-size: 24px; }
  .info-card h1::after { width: 50px; height: 2px; margin-top: 8px; }
  .info-card .subtitle { font-size: 14px; margin-bottom: 15px; }
  .info-card .description { margin-bottom: 20px; font-size: 13px; }
  .hero-image { margin-bottom: 20px; }
  .info-card .contact-title { font-size: 22px; margin-top: 20px; }
  .info-card .contact-title::after { width: 40px; height: 2px; margin-top: 6px; }
  .info-card .contact-text { margin-bottom: 15px; font-size: 13px; }
  .info-card .contact-details { margin-bottom: 20px; }
  .info-card .contact-buttons .btn { max-width: 100%; }
}


@keyframes fadeInLightbox {
from {opacity: 0;}
to {opacity: 1;}
}

@keyframes zoomInLightbox {
from {transform: scale(0.8);}
to {transform: scale(1);}
}


/* Conditional Visibility Classes */
.main-card-section.no-hero-image .card-content-wrapper .hero-image-column {
display: none;
}
.main-card-section.no-hero-image .card-content-wrapper .info-card {
width: 100%;
max-width: 900px; /* As per example, adjust if needed */
margin-left: auto;
margin-right: auto;
}

.main-card-section.no-phone-info [data-info="phone-button"],
.main-card-section.no-phone-info [data-info="phone-contact"] {
  display: none !important;
}

.main-card-section.no-website-info [data-info="website-button"],
.main-card-section.no-website-info [data-info="website-contact"] {
  display: none !important;
}

.main-card-section.no-email-info [data-info="email-button"],
.main-card-section.no-email-info [data-info="email-contact"] {
  display: none !important;
}

.main-card-section.no-location-info [data-info="location-button"],
.main-card-section.no-location-info [data-info="location-contact"] {
  display: none !important;
}









/* EMKA Pagination Styles */
.pagination {
display: flex;
align-items: center;
justify-content: center;
gap: 8px;
margin: 0;
padding: 0;
list-style: none;
}

.page-item {
display: flex;
}

.page-link {
display: flex;
align-items: center;
justify-content: center;
min-width: 44px;
min-height: 44px;
padding: 12px 16px;
border: 2px solid #e5e7eb;
border-radius: 8px;
background-color: #ffffff;
color: #374151;
text-decoration: none;
font-size: 14px;
font-weight: 500;
line-height: 1;
transition: all 0.2s ease-in-out;
cursor: pointer;
position: relative;
overflow: hidden;
}

.pagination > .active > a:hover, .pagination > .active > span:hover {
border-color: #b71f33 !important;
background-color: #b71f33 !important;
}

/* Hover effects */
.page-item:not(.disabled):not(.active) .page-link:hover {
border-color: #b71f33;
background-color: #fef2f2;
color: #b71f33;
transform: translateY(-1px);
box-shadow: 0 4px 12px rgba(212, 41, 58, 0.15);
}

/* Active state */
.page-item.active .page-link {
border-color: #d4293a;
background-color: #d4293a;
color: #ffffff;
font-weight: 600;
box-shadow: 0 4px 12px rgba(183, 31, 51, 0.25);
}

.page-item.active .page-link::before {
content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: linear-gradient(135deg, rgba(255,255,255,0.2) 0%, transparent 50%);
pointer-events: none;
}

/* Disabled state */
.page-item.disabled .page-link {
border-color: #f3f4f6;
background-color: #f9fafb;
color: #9ca3af;
cursor: not-allowed;
opacity: 0.6;
}

.page-item.disabled .page-link:hover {
transform: none;
box-shadow: none;
border-color: #f3f4f6;
background-color: #f9fafb;
}

/* Focus states for accessibility */
.page-link:focus {
outline: none;
box-shadow: 0 0 0 3px rgba(212, 41, 58, 0.3);
}

.page-item.disabled .page-link:focus {
box-shadow: 0 0 0 3px rgba(156, 163, 175, 0.3);
}

/* Icon styling */
.page-link .fas {
font-size: 12px;
}

/* First/Last page buttons (double arrows) */
.page-link .fa-angle-double-left,
.page-link .fa-angle-double-right {
font-size: 14px;
}

/* Pagination counter */
.pagination-counter {
text-align: center;
font-size: 14px;
color: #6b7280;
font-weight: 400;
margin-top: 16px;
}

/* Responsive design */
@media (max-width: 768px) {
.pagination {
  gap: 4px;
  flex-wrap: wrap;
}

.page-link {
  min-width: 40px;
  min-height: 40px;
  padding: 10px 12px;
  font-size: 13px;
}

/* Hide first/last buttons on mobile to save space */
.page-item:first-child,
.page-item:last-child {
  display: none;
}

.pagination-counter {
  font-size: 13px;
  margin-top: 12px;
}
}

@media (max-width: 480px) {
.page-link {
  min-width: 36px;
  min-height: 36px;
  padding: 8px 10px;
  font-size: 12px;
}

.page-link .fas {
  font-size: 11px;
}
}

/* High contrast mode support */
@media (prefers-contrast: high) {
.page-link {
  border-width: 2px;
}

.page-item.active .page-link {
  border-color: #000000;
  background-color: #000000;
}

.page-item:not(.disabled):not(.active) .page-link:hover {
  border-color: #d4293a;
  color: #d4293a;
}
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
.page-link {
  transition: none;
}

.page-item:not(.disabled):not(.active) .page-link:hover {
  transform: none;
}
}

/* Print styles */
@media print {
.pagination {
  display: none;
}
}







.view-article .article-details .page-header {
display: none !important;
}

.view-article .article-details .article-header {
display: none !important;
}

.view-article #promotionModule {
overflow-x: hidden; 
position: relative;
background-color: #f9f9f9;
}

@keyframes pm-subtleGradientShift {
0% { background-position: 0% 0%; }
100% { background-position: 50px 50px; }
}

/* Main container */
.view-article #promotionModule .pm-promo-container {
min-height: 100vh;
padding: 40px 20px;
display: flex;
align-items: center;
justify-content: center;
}

/* Main promo card with asymmetric design */
.view-article #promotionModule .pm-promo-card {
max-width: 1400px;
width: 100%;
background: linear-gradient(135deg, #ffffff 0%, #fafbfc 100%);
border-radius: 12px;
box-shadow: 
  0 20px 50px rgba(0, 0, 0, 0.08),
  0 8px 20px rgba(0, 0, 0, 0.04),
  inset 0 1px 0 rgba(255, 255, 255, 0.7);
position: relative;
overflow: hidden;
opacity: 1; /* Animation removed */
transform: translateY(0); /* Animation removed */
}

/* Decorative diagonal element */
.view-article #promotionModule .pm-promo-card::before {
content: '';
position: absolute;
top: -20%;
right: -10%;
width: 40%;
height: 140%;
background: linear-gradient(45deg, rgba(212, 41, 58, 0.05), rgba(212, 41, 58, 0.1));
transform: rotate(15deg);
z-index: 0;
}

/* Asymmetric layout grid */
.view-article #promotionModule .pm-promo-content {
display: grid;
grid-template-columns: 1fr 1.2fr;
min-height: 600px;
position: relative;
z-index: 1;
}

/* Left content section */
.view-article #promotionModule .pm-content-left {
padding: 60px 50px;
display: flex;
flex-direction: column;
justify-content: center;
align-items: flex-start; /* Prevent items from stretching to full width */
position: relative;
}

/* Logo with animation */
.view-article #promotionModule .pm-logo-link {
position: relative; /* For positioning the hover tag */
display: inline-block; /* To wrap the image correctly */
text-decoration: none; /* Remove underline from link */
margin-bottom: 30px;
}

.view-article #promotionModule .pm-logo {
max-width: 180px;
opacity: 1; /* Animation removed */
transform: translateX(0); /* Animation removed */
transition: transform 0.3s ease;
}

.view-article #promotionModule .pm-logo-link:hover .pm-logo {
transform: scale(1.05) translateX(0); /* Reduced scale effect */
opacity: 1; /* Ensure full opacity */
}

/* Publication date badge */
.view-article #promotionModule .pm-date-badge {
display: inline-flex;
align-items: center;
gap: 8px;
background: rgba(212, 41, 58, 0.1);
color: #d4293a;
padding: 8px 16px;
border-radius: 20px;
font-size: 13px;
font-weight: 600;
text-transform: uppercase;
letter-spacing: 0.5px;
margin-bottom: 20px;
width: fit-content;
opacity: 1; /* Animation removed */
transform: scale(1); /* Animation removed */
}

/* Main title with dramatic styling */
.view-article #promotionModule .pm-promo-title {
font-size: 36px; /* Adjusted from 48px */
font-weight: 700; /* Adjusted from 900 */
line-height: 1.1; /* Kept as is, or adjust if needed based on wizytowka.html */
color: #222222;
margin-bottom: 20px; /* Adjusted from 25px */
position: relative;
opacity: 1; /* Animation removed */
transform: translateY(0); /* Animation removed */
text-align: left; /* Added from wizytowka.html */
}

.view-article #promotionModule .pm-promo-title::after {
content: '';
display: block; /* Added from wizytowka.html */
width: 70px; /* Adjusted from 80px */
height: 3px; /* Adjusted from 4px */
background-color: #d4293a; /* Changed from linear-gradient */
margin: 10px 0 0;
transform: scaleX(1); /* Animation removed */
transform-origin: left;
}

.view-article #promotionModule .pm-promo-description {
font-size: 1.1rem;
font-weight: 300;
line-height: 1.6;
color: #333333;
margin-bottom: 35px;
opacity: 1; 
transform: translateY(0);
}

.view-article #promotionModule .pm-promo-description p {
margin-bottom: 15px;
}

.view-article #promotionModule .pm-promo-description a {
color: #d4293a !important;
}

.view-article #promotionModule .pm-promo-description a:hover {
color: #b71f33 !important;
}

.view-article #promotionModule .pm-promo-description strong {
font-weight: 600; 
color: #333;
}

.view-article #promotionModule .pm-content-right {
position: relative;
display: flex;
align-items: flex-start;
justify-content: center;
padding: 40px;
}

.view-article #promotionModule .pm-promo-image-container {
position: relative;
width: 100%;
max-width: 500px;
height: 450px;
border-radius: 16px;
overflow: hidden;
opacity: 1;
box-shadow:
  0 25px 60px rgba(0, 0, 0, 0.15),
  0 10px 25px rgba(0, 0, 0, 0.1);
transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
cursor: pointer;
}

.view-article #promotionModule .pm-promo-image-container:hover {
transform: translateY(-8px) scale(1.02);
box-shadow:
  0 35px 80px rgba(212, 41, 58, 0.25),
  0 20px 40px rgba(0, 0, 0, 0.15),
  0 0 0 1px rgba(212, 41, 58, 0.1);
}

.view-article #promotionModule .pm-promo-image-container::before {
content: '';
position: absolute;
top: -20px;
left: -20px;
right: -20px;
bottom: -20px;
background: linear-gradient(45deg, #d4293a, transparent, #d4293a);
border-radius: 40px;
z-index: -1;
opacity: 0.1;
transition: all 0.6s ease;
}

.view-article #promotionModule .pm-promo-image-container:hover::before {
opacity: 0.2;
animation: pm-pulseGlow 2s ease-in-out infinite;
}

@keyframes pm-pulseGlow {
0%, 100% {
  opacity: 0.2;
  transform: scale(1);
}
50% {
  opacity: 0.3;
  transform: scale(1.02);
}
}

.view-article #promotionModule .pm-promo-image {
width: 100%;
height: 100%;
object-fit: cover;
transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
filter: brightness(1) contrast(1) saturate(1);
}

.view-article #promotionModule .pm-promo-image-container:hover .pm-promo-image {
transform: scale(1.1) rotate(2deg);
filter: brightness(1.1) contrast(1.15) saturate(1.2);
}

.view-article #promotionModule .pm-promo-image-container .pm-lightbox-overlay {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: linear-gradient(
  135deg,
  rgba(212, 41, 58, 0.1) 0%,
  rgba(0,0,0,0.4) 50%,
  rgba(212, 41, 58, 0.1) 100%
);
display: flex;
align-items: center;
justify-content: center;
opacity: 0;
transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
pointer-events: none;
backdrop-filter: blur(2px);
}

.view-article #promotionModule .pm-promo-image-container:hover .pm-lightbox-overlay {
opacity: 1;
backdrop-filter: blur(0px);
}

.view-article #promotionModule .pm-promo-image-container .pm-lightbox-overlay i {
color: #d4293a;
font-size: 48px;
background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
padding: 20px;
border-radius: 50%;
box-shadow:
  0 8px 25px rgba(0,0,0,0.15),
  0 4px 12px rgba(212, 41, 58, 0.2);
transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
transform: scale(0.8) rotate(0deg);
border: 2px solid rgba(212, 41, 58, 0.1);
}

.view-article #promotionModule .pm-promo-image-container:hover .pm-lightbox-overlay i {
box-shadow:
  0 15px 35px rgba(0,0,0,0.2),
  0 8px 20px rgba(212, 41, 58, 0.3),
  0 0 0 8px rgba(212, 41, 58, 0.1);
transform: scale(1.1) rotate(360deg);
border-color: rgba(212, 41, 58, 0.2);
}

@keyframes pm-iconBounce {
0%, 100% {
  transform: scale(1.1) rotate(360deg) translateY(0px);
}
50% {
  transform: scale(1.15) rotate(360deg) translateY(-3px);
}
}

@media (max-width: 1200px) {
.view-article #promotionModule .pm-promo-content {
  grid-template-columns: 1fr;
  text-align: center;
}

.view-article #romotionModule .pm-content-left {
  padding: 50px 40px;
  align-items: center;
}

.view-article #romotionModule .pm-content-right {
  padding: 20px 40px 50px;
}

.view-article #romotionModule .pm-promo-image-container {
  max-width: 400px;
  height: 350px;
  transform: rotate(0deg);
}

.view-article #romotionModule .pm-promo-title {
  font-size: 42px;
}

.view-article #romotionModule .pm-cta-buttons {
  justify-content: center;
}
}

@media (max-width: 768px) {
.view-article #romotionModule .pm-promo-container {
  padding: 20px 15px;
}

.view-article #romotionModule .pm-promo-card {
  border-radius: 20px;
}

.view-article #romotionModule .pm-content-left {
  padding: 40px 30px;
}

.view-article #romotionModule .pm-promo-title {
  font-size: 36px;
}

.view-article #romotionModule .pm-promo-description {
  font-size: 15px;
}

.view-article #romotionModule .pm-cta-buttons {
  flex-direction: column;
  align-items: center;
  gap: 15px;
}

.view-article #romotionModule .pm-btn {
  width: 100%;
  max-width: 300px;
}

.view-article #romotionModule .pm-promo-image-container {
  max-width: 100%;
  height: 280px;
}

.view-article #romotionModule .pm-content-right {
  padding: 20px 30px 40px;
}
}

@media (max-width: 480px) {
.view-article #romotionModule .pm-content-left {
  padding: 30px 25px;
}

.view-article #romotionModule .pm-promo-title {
  font-size: 28px;
}

.view-article #romotionModule .pm-promo-description {
  font-size: 14px;
}

.view-article #romotionModule .pm-logo {
  max-width: 150px;
}

.view-article #romotionModule .pm-date-badge {
  font-size: 12px;
  padding: 6px 12px;
}

.view-article #romotionModule .pm-price-badge {
  font-size: 16px;
  padding: 12px 16px;
}
}


/*------------------------------------------------------
*                  SEKCJA: Galeria zdjęć         *
*-----------------------------------------------------*/

.bloggalerie-zdjec h1 {
margin-bottom: 60px !important;
}

.galerie-zdjec .pm-date-badge {
display: inline-flex;
align-items: center;
gap: 8px;
background: rgba(212, 41, 58, 0.1);
color: #d4293a;
padding: 8px 16px;
border-radius: 20px;
font-size: 13px;
font-weight: 600;
text-transform: uppercase;
letter-spacing: 0.5px;
margin-bottom: 20px;
width: fit-content;
opacity: 1; /* Animation removed */
transform: scale(1); /* Animation removed */
}

/* Main Container */
.galerie-zdjec #sp-main-body .article-list {
max-width: 1400px !important;
margin: 0 auto !important;
padding: 0 20px !important;
}

.galerie-zdjec #sp-main-body .articles-leading {
margin-bottom: 50px !important;
}

/* Article Cards */
.galerie-zdjec #sp-main-body .article {
background: linear-gradient(135deg, #ffffff 0%, #fafbfc 100%) !important;
border-radius: 24px !important;
box-shadow: 
  0 20px 50px rgba(0, 0, 0, 0.08),
  0 8px 20px rgba(0, 0, 0, 0.04),
  inset 0 1px 0 rgba(255, 255, 255, 0.7) !important;
margin-bottom: 40px !important;
overflow: hidden !important;
position: relative !important;
transition:
  transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94),
  box-shadow 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
}

.galerie-zdjec #sp-main-body .article:hover {
transform: translateY(-8px) !important;
box-shadow:
  0 35px 80px rgba(212, 41, 58, 0.15),
  0 20px 40px rgba(0, 0, 0, 0.1),
  0 0 0 1px rgba(212, 41, 58, 0.1) !important;
}

/* Decorative diagonal element for articles */
.galerie-zdjec #sp-main-body .article::before {
content: '' !important;
position: absolute !important;
top: -20% !important;
right: -10% !important;
width: 30% !important;
height: 140% !important;
background: linear-gradient(45deg, rgba(212, 41, 58, 0.03), rgba(212, 41, 58, 0.06)) !important;
transform: rotate(15deg) !important;
z-index: 0 !important;
}

/* Article Body */
.galerie-zdjec #sp-main-body .article-body {
padding: 50px 40px !important;
position: relative !important;
z-index: 1 !important;
}

.galerie-zdjec #sp-main-body .article-introtext {
position: relative !important;
}

/* Article Titles */
.galerie-zdjec #sp-main-body .article-introtext h2 {
font-size: 32px !important;
font-weight: 700 !important;
line-height: 1.2 !important;
color: #222222 !important;
margin-bottom: 20px !important;
position: relative !important;
}

.galerie-zdjec #sp-main-body .article-introtext h2::after {
content: '' !important;
display: block !important;
width: 60px !important;
height: 3px !important;
background-color: #d4293a !important;
margin: 12px 0 0 !important;
border-radius: 2px !important;
}

/* Article Description */
.galerie-zdjec #sp-main-body .article-introtext p:not(:first-of-type) {
font-size: 16px !important;
font-weight: 400 !important;
line-height: 1.6 !important;
color: #555555 !important;
margin-bottom: 30px !important;
}

/* Gallery Container */
.galerie-zdjec #sp-main-body .sigplus-gallery {
margin: 30px 0 !important;
position: relative !important;
}

.galerie-zdjec #sp-main-body .sigplus-gallery ul {
display: grid !important;
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)) !important;
gap: 20px !important;
list-style: none !important;
margin: 0 !important;
padding: 0 !important;
}

.galerie-zdjec #sp-main-body .sigplus-gallery li {
position: relative !important;
border-radius: 20px !important;
overflow: hidden !important;
transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1) !important;
}

.galerie-zdjec #sp-main-body .sigplus-gallery li:hover {
transform: translateY(-5px) scale(1.02) !important;
box-shadow: 
  0 20px 40px rgba(212, 41, 58, 0.2),
  0 8px 20px rgba(0, 0, 0, 0.15) !important;
}

/* Gallery Images */
.galerie-zdjec #sp-main-body .sigplus-gallery .sigplus-image {
display: block !important;
position: relative !important;
text-decoration: none !important;
overflow: hidden !important;
}

.galerie-zdjec #sp-main-body .sigplus-gallery .sigplus-preview {
width: 100% !important;
height: 200px !important;
object-fit: cover !important;
transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
filter: brightness(1) contrast(1) !important;
}

.galerie-zdjec #sp-main-body .sigplus-gallery .sigplus-image:hover .sigplus-preview {
transform: scale(1.1) !important;
filter: brightness(1.1) contrast(1.1) !important;
}

/* Gallery Overlay Effect */
.galerie-zdjec #sp-main-body .sigplus-gallery .sigplus-image::after {
content: '' !important;
position: absolute !important;
top: 0 !important;
left: 0 !important;
width: 100% !important;
height: 100% !important;
background: linear-gradient(
  135deg,
  rgba(212, 41, 58, 0.1) 0%,
  rgba(0,0,0,0.4) 50%,
  rgba(212, 41, 58, 0.1) 100%
) !important;
opacity: 0 !important;
transition: all 0.5s ease !important;
pointer-events: none !important;
}

.galerie-zdjec #sp-main-body .sigplus-gallery .sigplus-image:hover::after {
opacity: 1 !important;
}

/* Read More Button */
.galerie-zdjec #sp-main-body .readmore {
text-align: center;
padding: 0 20px 25px;
margin: 0 !important;
display: flex;
justify-content: center;
align-items: flex-end;
}

.galerie-zdjec #sp-main-body .readmore a {
display: inline-block;
width: fit-content;
padding: 14px 30px;
font-size: 14px;
font-weight: 600 !important;
border-radius: 30px;
letter-spacing: 1px;
text-transform: uppercase;
background-color: #d4293a !important;
color: #fff !important;
border: 2px solid #d4293a;
box-shadow: 0 4px 12px rgba(212, 41, 58, 0.25) !important;
position: relative;
overflow: hidden;
transition: all 0.3s ease;
box-sizing: border-box;
}
.galerie-zdjec #sp-main-body .readmore a:hover {
background-color: #b71f33 !important;
border-color: #b71f33;
transform: translateY(-2px);
box-shadow: 0 6px 15px rgba(212, 41, 58, 0.35) !important;
}
.galerie-zdjec #sp-main-body .readmore a::after {
content: '';
position: absolute;
top: 50%; left: 50%;
width: 120%; height: 120%;
background: radial-gradient(circle, rgba(255,255,255,0.3) 0%, rgba(255,255,255,0) 70%);
opacity: 0;
transform: translate(-50%, -50%) scale(0.8);
transition: opacity 0.5s, transform 0.5s;
pointer-events: none;
}
.galerie-zdjec #sp-main-body .readmore a:hover::after {
opacity: 1;
transform: translate(-50%, -50%) scale(1);
}

/* Grid Layout for Multiple Articles */
.galerie-zdjec #sp-main-body .row {
display: grid !important;
grid-template-columns: repeat(auto-fit, minmax(600px, 1fr)) !important;
gap: 40px !important;
margin-bottom: 40px !important;
}

/* Responsive Design */
@media (max-width: 1200px) {
.galerie-zdjec #sp-main-body .page-header h1 {
  font-size: 42px !important;
}

.galerie-zdjec #sp-main-body .article-introtext h2 {
  font-size: 28px !important;
}

.galerie-zdjec #sp-main-body .row {
  grid-template-columns: 1fr !important;
}
}

@media (max-width: 768px) {
.galerie-zdjec #sp-main-body .page-header {
  padding: 40px 20px 30px !important;
}

.galerie-zdjec #sp-main-body .page-header h1 {
  font-size: 36px !important;
}

.galerie-zdjec #sp-main-body .article-body {
  padding: 40px 30px !important;
}

.galerie-zdjec #sp-main-body .article-introtext h2 {
  font-size: 24px !important;
}

.galerie-zdjec #sp-main-body .sigplus-gallery ul {
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)) !important;
  gap: 15px !important;
}

.galerie-zdjec #sp-main-body .sigplus-gallery .sigplus-preview {
  height: 150px !important;
}
}

@media (max-width: 480px) {
.galerie-zdjec #sp-main-body .page-header {
  padding: 30px 15px 25px !important;
}

.galerie-zdjec #sp-main-body .page-header h1 {
  font-size: 28px !important;
}

.galerie-zdjec #sp-main-body .article-body {
  padding: 30px 20px !important;
}

.galerie-zdjec #sp-main-body .article-introtext h2 {
  font-size: 22px !important;
}

.galerie-zdjec #sp-main-body .article-introtext p:first-of-type {
  font-size: 12px !important;
  padding: 6px 12px !important;
}

.galerie-zdjec #sp-main-body .sigplus-gallery ul {
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)) !important;
  gap: 10px !important;
}

.galerie-zdjec #sp-main-body .sigplus-gallery .sigplus-preview {
  height: 120px !important;
}

.galerie-zdjec #sp-main-body .readmore a {
  padding: 12px 24px !important;
  font-size: 13px !important;
}
}



/*------------------------------------------------------
*                  SEKCJA: Artykuł Galerii            *
*-----------------------------------------------------*/

.view-article.galerie-zdjec #sp-main-body .sp-column {
padding: 40px 20px;
display: flex;
align-items: center;
justify-content: center;
}

.view-article.galerie-zdjec #sp-main-body {
background-color: #f9f9f9;
}

.galerie-zdjec .pagination-wrapper {
display: flex !important;
justify-content: center !important;
align-items: center !important;
}

.galerie-zdjec .list-group {
display: none !important;
}

/* Główny kontener galerii artykułu */
.article-details.galerie-zdjec {
background: linear-gradient(135deg, #ffffff 0%, #fafbfc 100%) !important;
border-radius: 24px !important;
box-shadow: 
  0 20px 50px rgba(0, 0, 0, 0.08),
  0 8px 20px rgba(0, 0, 0, 0.04),
  inset 0 1px 0 rgba(255, 255, 255, 0.7) !important;
position: relative !important;
overflow: hidden !important;
padding: 40px !important;
margin: 40px 0 !important;
width: 100% !important;
max-width: 1400px !important;
margin-left: auto !important;
margin-right: auto !important;
}

/* Dekoracyjny element przekątny */
.article-details.galerie-zdjec::before {
content: '' !important;
position: absolute !important;
top: -20% !important;
right: -10% !important;
width: 40% !important;
height: 140% !important;
background: linear-gradient(45deg, rgba(212, 41, 58, 0.05), rgba(212, 41, 58, 0.1)) !important;
transform: rotate(15deg) !important;
z-index: 0 !important;
pointer-events: none !important;
}



/* Treść artykułu */
.article-details.galerie-zdjec [itemprop="articleBody"] {
position: relative !important;
z-index: 1 !important;
}

/* Tytuł galerii wewnątrz artykułu */
.article-details.galerie-zdjec [itemprop="articleBody"] h2 {
font-size: 36px !important;
font-weight: 700 !important;
line-height: 1.1 !important;
color: #222222 !important;
margin-bottom: 25px !important;
position: relative !important;
text-align: left !important;
}

.article-details.galerie-zdjec [itemprop="articleBody"] h2::after {
content: '' !important;
display: block !important;
width: 70px !important;
height: 3px !important;
background-color: #d4293a !important;
margin: 10px 0 0 !important;
transform-origin: left !important;
}

/* Paragrafy z opisem */
.article-details.galerie-zdjec [itemprop="articleBody"] p {
font-size: 16px !important;
font-weight: 400 !important;
line-height: 1.6 !important;
color: #333333 !important;
margin-bottom: 15px !important;
text-align: justify !important;
}

.article-details.galerie-zdjec [itemprop="articleBody"] p strong {
font-weight: 600 !important;
color: #d4293a !important;
}

/* Główny kontener SigPlus Gallery */
.article-details.galerie-zdjec .sigplus-gallery {
margin: 30px 0 !important;
position: relative !important;
z-index: 1 !important;
}

/* Lista zdjęć w galerii */
.article-details.galerie-zdjec .sigplus-gallery ul {
display: grid !important;
grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)) !important;
gap: 25px !important;
list-style: none !important;
padding: 0 !important;
margin: 0 !important;
}

/* Pojedynczy element listy */
.article-details.galerie-zdjec .sigplus-gallery li {
position: relative !important;
border-radius: 20px !important;
overflow: hidden !important;
background: #ffffff !important;
box-shadow: 
  0 10px 30px rgba(0, 0, 0, 0.1),
  0 4px 15px rgba(0, 0, 0, 0.05) !important;
transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
transform: translateY(0) !important;
}

.article-details.galerie-zdjec .sigplus-gallery li:hover {
transform: translateY(-8px) scale(1.02) !important;
box-shadow: 
  0 25px 60px rgba(212, 41, 58, 0.15),
  0 15px 35px rgba(0, 0, 0, 0.1),
  0 0 0 1px rgba(212, 41, 58, 0.1) !important;
}

/* Link do zdjęcia */
.article-details.galerie-zdjec .sigplus-gallery .sigplus-image {
display: block !important;
position: relative !important;
text-decoration: none !important;
border-radius: 20px !important;
overflow: hidden !important;
}

/* Zdjęcie podglądu */
.article-details.galerie-zdjec .sigplus-gallery .sigplus-preview {
width: 100% !important;
height: 280px !important;
object-fit: cover !important;
transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
filter: brightness(1) contrast(1) saturate(1) !important;
border-radius: 20px !important;
}

.article-details.galerie-zdjec .sigplus-gallery .sigplus-image:hover .sigplus-preview {
transform: scale(1.1) rotate(1deg) !important;
filter: brightness(1.1) contrast(1.1) saturate(1.2) !important;
}

/* Overlay z efektem hover */
.article-details.galerie-zdjec .sigplus-gallery .sigplus-image::after {
content: '' !important;
position: absolute !important;
top: 0 !important;
left: 0 !important;
width: 100% !important;
height: 100% !important;
background: linear-gradient(
  135deg,
  rgba(212, 41, 58, 0.1) 0%,
  rgba(0,0,0,0.3) 50%,
  rgba(212, 41, 58, 0.1) 100%
) !important;
opacity: 0 !important;
transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
border-radius: 20px !important;
pointer-events: none !important;
}

.article-details.galerie-zdjec .sigplus-gallery .sigplus-image:hover::after {
opacity: 1 !important;
}




/* Responsive - tablet */
@media (max-width: 1024px) {
.article-details.galerie-zdjec {
  padding: 30px !important;
  margin: 30px 0 !important;
}

.article-details.galerie-zdjec .page-header h1 {
  font-size: 42px !important;
}

.article-details.galerie-zdjec .sigplus-gallery ul {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)) !important;
  gap: 20px !important;
}

.article-details.galerie-zdjec .sigplus-gallery .sigplus-preview {
  height: 250px !important;
}
}

/* Responsive - mobile */
@media (max-width: 768px) {
.article-details.galerie-zdjec {
  padding: 25px 20px !important;
  margin: 20px 0 !important;
  border-radius: 20px !important;
}

.article-details.galerie-zdjec .page-header h1 {
  font-size: 32px !important;
}

.article-details.galerie-zdjec [itemprop="articleBody"] h2 {
  font-size: 28px !important;
}

.article-details.galerie-zdjec .sigplus-gallery ul {
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)) !important;
  gap: 15px !important;
}

.article-details.galerie-zdjec .sigplus-gallery .sigplus-preview {
  height: 200px !important;
}
}

/* Responsive - bardzo małe ekrany */
@media (max-width: 480px) {
.article-details.galerie-zdjec {
  padding: 20px 15px !important;
  margin: 15px 0 !important;
}

.article-details.galerie-zdjec .page-header h1 {
  font-size: 28px !important;
}

.article-details.galerie-zdjec [itemprop="articleBody"] h2 {
  font-size: 24px !important;
}

.article-details.galerie-zdjec .sigplus-gallery ul {
  grid-template-columns: 1fr !important;
  gap: 12px !important;
}

.article-details.galerie-zdjec .sigplus-gallery .sigplus-preview {
  height: 250px !important;
}
}


/******************************************************
*                       FIXES                         *
******************************************************/

.view-article #sp-main-body > .container {
  max-width: 100% !important;
}

.view-article #sp-component {
  padding: 0px !important;
}

.baner-image {
  margin-bottom: 30px;
}


/******************************************************
*                       BURGER MENU                   *
******************************************************/

.menu.nav-pills > li > a,
.menu.nav-pills > li > span,
.menu.nav-pills .sp-dropdown li.sp-menu-item > a {
  font-family: 'Montserrat', sans-serif !important;
  text-decoration: none;
}


/* Close Button */
.d-flex.align-items-center.p-3.pt-4 {
    padding: 30px 30px !important;
    border-bottom: 1px solid #f0f0f0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
}

.close-offcanvas {
    width: 40px !important;
    height: 40px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: #f8f8f8 !important;
    border-radius: 50% !important;
    transition: all 0.3s ease !important;
    text-decoration: none !important;
    top: 10px;
}

.close-offcanvas:hover {
    background: #d4293a !important;
    transform: rotate(90deg) !important;
}

.close-offcanvas .burger-icon {
    width: 20px !important;
    height: 20px !important;
    position: relative !important;
    top: -5px;
}

.close-offcanvas .burger-icon span {
    display: block !important;
    position: absolute !important;
    width: 100% !important;
    height: 2px !important;
    background: #333 !important;
    border-radius: 2px !important;
    transition: all 0.3s ease !important;
}

.close-offcanvas:hover .burger-icon span {
    background: #fff !important;
}

.close-offcanvas .burger-icon span:nth-child(1) {
    top: 50% !important;
    transform: translateY(-50%) rotate(45deg) !important;
}

.close-offcanvas .burger-icon span:nth-child(2) {
    opacity: 0 !important;
}

.close-offcanvas .burger-icon span:nth-child(3) {
    top: 50% !important;
    transform: translateY(-50%) rotate(-45deg) !important;
}


.menu.nav-pills li {
    margin-bottom: 5px !important;
}

.menu.nav-pills li a {
    display: block !important;
    padding: 16px 20px !important;
    color: #252525 !important;
    text-decoration: none !important;
    font-size: 16px !important;
    font-weight: 500 !important;
    line-height: 1.3 !important;
    border-radius: 8px !important;
    transition: all 0.3s ease !important;
    position: relative !important;
    overflow: hidden !important;
}

.menu.nav-pills li a::before {
    content: '' !important;
    position: absolute !important;
    left: 0 !important;
    top: 0 !important;
    width: 3px !important;
    height: 100% !important;
    background: #d4293a !important;
    transform: scaleY(0) !important;
    transition: all 0.3s ease !important;
}

.menu.nav-pills li a:hover {
    background: rgba(212, 41, 58, 0.05) !important;
    color: #d4293a !important;
}

.menu.nav-pills li a:hover::before {
    transform: scaleY(1) !important;
}

.menu.nav-pills li.current.active a,
.menu.nav-pills li.default a {
    background: #d4293a !important;
    color: #fff !important;
    font-weight: 600 !important;
    box-shadow: 0 3px 12px rgba(212, 41, 58, 0.2) !important;
}

.menu.nav-pills li.current.active a:hover,
.menu.nav-pills li.default a:hover {
    background: #c21e2c !important;
}



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

    .menu.nav-pills li a {
        font-size: 18px !important;
        padding: 18px 20px !important;
    }
}

