/* --- WIDŻET SPORTIVO HERO --- */
 .sportivo-hero {
            font-family: 'Outfit', sans-serif;
            text-align: left;
            color: #fff;
            border-radius: 20px;
            overflow: hidden;
            position: relative;
            margin-bottom: 30px;
        }

        .sportivo-hero h1 {
            font-size: 4.2rem;
            font-weight: 700;
            margin: 0;
            line-height: 1.2;
            display: inline-block;
            animation: fadeSlideUp 1s ease-out forwards;
            opacity: 0;
            transform: translateY(20px);
            animation-delay: 0.2s;
            color: white;
        }

        .sportivo-hero p {
            font-size: 2.2rem;
            font-weight: 400;
            margin-top: 20px;
            opacity: 0;
            animation: fadeIn 1s ease-out forwards;
            animation-delay: 0.8s;
            color: white;
        }

        .sportivo-hero a.button {
            display: inline-block;
            margin-top: 30px;
            padding: 14px 36px;
            background-color: #0250ce;
            color: #fff;
            font-weight: 600;
            border-radius: 8px;
            text-decoration: none;
            font-size: 1rem;
            opacity: 0;
            transform: translateY(20px);
            animation: fadeSlideUp 1s ease forwards;
            animation-delay: 1.2s;
            transition: all 0.3s ease;
        }

        .sportivo-hero a.button:hover {
            background-color: #c6f209;
            color: black;
            transform: translateY(0) scale(1.05);
        }

        .hero-yellow {
          color: #c5f108
        }

        .hero-blue {
          color: #00bfff;
        }

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

        @keyframes fadeIn {
            to {
                opacity: 1;
            }
        }

        @media (max-width: 768px) {
            .sportivo-hero {
                margin-top: 60px;
                margin-bottom: 0px !important;
            }

            .sportivo-hero h1 {
                font-size: 2.2rem;
            }

            .sportivo-hero p {
                font-size: 1rem;
            }

            .sportivo-hero a.button {
                font-size: 0.95rem;
                
            }
        }


/* --- WIDŻET SPORTIVO BENEFITS --- */

.sportivo-benefits {
  display: flex;
  flex-wrap: wrap;
  font-family: 'Outfit', sans-serif;
  padding: 60px 0;
  position: relative;
  overflow: visible;
}

.sportivo-benefits .left {
  flex: 1 1 50%;
  padding-right: 60px;
  z-index: 2;
}

.sportivo-benefits .left .subtitle {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #333;
  margin-bottom: 15px;
}

.sportivo-benefits .left h2 {
  font-size: 38px;
  font-weight: 700;
  margin-bottom: 24px;
  color: #111;
  line-height: 1.3;
}

/* Accordion */
.sportivo-benefits .accordion {
  border-top: 1px solid #ccc;
}

.sportivo-benefits .accordion-item {
  border-bottom: 1px solid #ccc;
}

.sportivo-benefits .accordion-header {
  cursor: pointer;
  padding: 16px 0;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 16px;
}

.sportivo-benefits .accordion-header span {
  transition: transform 0.3s ease;
  font-weight: 800;
  font-size: 20px;
}

.sportivo-benefits .accordion-header.active span {
  transform: rotate(45deg);
}

.sportivo-benefits .accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
  font-size: 15px;
  color: #444;
  padding-bottom: 0;
}

.sportivo-benefits .accordion-content p,
.sportivo-benefits .accordion-content ul {
  margin: 0 0 15px 0;
}

.sportivo-benefits .accordion-content ul {
  list-style: none;
  padding: 0;
}

.sportivo-benefits .accordion-content ul li {
  margin-bottom: 10px;
}

.sportivo-benefits .accordion-content ul li::before {
  content: '✅';
  margin-right: 8px;
}

/* Prawa kolumna */
.sportivo-benefits .right {
  flex: 1 1 50%;
  position: relative;
  background-image: url('https://s-sportivo.pl/wp-content/uploads/2025/07/sportivo_bghero.webp'); /* Podmień jeśli chcesz */
  background-size: cover;
  background-position: center;
  min-height: 450px;
  border-radius: 8px;
  overflow: hidden;
}

.sportivo-benefits .info-box {
  position: absolute;
  bottom: 30px;
  right: 20px;
  z-index: 3;
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.sportivo-benefits .box {
  padding: 20px 24px;
  width: 180px;
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
  color: #fff;
  font-weight: 700;
  font-size: 18px;
  line-height: 1.4;
  border-radius: 6px;
}

.sportivo-benefits .box.green {
  background: #c6f209;
  color: #000;
}

.sportivo-benefits .box.dark {
  background: #111;
}

/* Responsive */
@media (max-width: 768px) {
  .sportivo-benefits {
    flex-direction: column;
  }
  .sportivo-benefits .left,
  .sportivo-benefits .right {
    flex: 1 1 100%;
    padding-right: 0;
  }
  .sportivo-benefits .right {
    min-height: 300px;
    margin-top: 30px;
  }
  .sportivo-benefits .info-box {
    position: static;
    flex-direction: column;
    margin-top: 20px;
  }
}


/* --- WIDŻET BANNER --- */
.section-sportivo {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  font-family: 'Outfit', sans-serif;

  padding: 60px 0;
  position: relative;
  overflow: visible;
}

/* Lewa kolumna */
.section-sportivo .left {
  flex: 1 1 50%;
  padding-right: 60px;
  z-index: 2;
}

.section-sportivo .left .subtitle {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #333;
  margin-bottom: 15px;
}

.section-sportivo .left h2 {
  font-size: 38px;
  font-weight: 700;
  margin-bottom: 24px;
  color: #111;
  line-height: 1.3;
}

.section-sportivo .left h2 span {
  color: #0250ce;
}

.section-sportivo .left p {
  font-size: 16px;
  line-height: 1.7;
  color: #444;
  margin-bottom: 20px;
}

.section-sportivo .left a {
  display: inline-block;
  padding: 12px 26px;
  border: 2px solid #0250ce;
  text-decoration: none;
  font-weight: 600;
  color: #0250ce;
  margin-top: 15px;
  transition: all 0.3s ease;
  text-transform: uppercase;
  font-size: 14px;
  letter-spacing: 1px;
}

.section-sportivo .left a:hover {
  background: #0250ce;
  border: 2px solid #0250ce;
  color: #fff;
}

/* Prawa kolumna z tłem */
.section-sportivo .right {
  flex: 1 1 50%;
  background-image: url('https://s-sportivo.pl/wp-content/uploads/2025/07/sportivo_bghero.webp'); /* Zmień ścieżkę */
  background-size: cover;
  background-position: center;
  border-radius: 8px;
  min-height: 400px;
  position: relative;
  overflow: hidden;
}

/* Boksy */
.section-sportivo .info-box {
  position: absolute;
  bottom: 30px;
  right: 20px;
  z-index: 3;
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.section-sportivo .box {
  padding: 20px 24px;
  width: 180px;
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
  color: #fff;
  font-weight: 700;
  font-size: 18px;
  line-height: 1.4;
  border-radius: 6px;
}

.section-sportivo .box.green {
  background: #c6f209;
  color: #000;
}

.section-sportivo .box.dark {
  background: #111;
}

.box-hidden {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.6s ease-out;
}

.box-in {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 1024px) {
  .section-sportivo .info-box {
    justify-content: flex-start;
    left: 20px;
    right: auto;
  }
}

@media (max-width: 768px) {
  .section-sportivo {
    flex-direction: column;
  }
  .section-sportivo .left, .section-sportivo .right {
    flex: 1 1 100%;
    padding-right: 0;
  }
  .section-sportivo .right {
    min-height: 300px;
    margin-top: 30px;
  }
  .section-sportivo .info-box {
    position: static;
    flex-direction: column;
    margin-top: 20px;
  }
}

/* --- SIDEBAR OSTATNIE OGŁOSZENIA --- */

.sidebar-post-type {
	font-size: 13px;
	color: #666;
	margin-top: 2px;
}



/* --- SIDEBAR SPIS TREŚCI --- */

.sportivo-toc > li {
    margin-bottom: 5px;
		margin-left: -20px;
}



/* --- WIDŻET LAST POSTS --- */

.sportivo-last-posts-widget .sidebar-post {
	display: flex;
	align-items: center;
	margin: 16px 0;
}

.sidebar-post-link {
	display: flex;
	text-decoration: none;
	color: #1a1b1e;
	gap: 12px;
}

.sidebar-thumb {
	width: 64px;
	height: 64px;
	border-radius: 6px;
	background-size: cover;
	background-position: center;
	flex-shrink: 0;
}

.sidebar-post-title {
	font-size: 14px;
	font-weight: 600;
	line-height: 1.4;
}

.sidebar-divider {
	border-top: 1px solid #e0e0e0;
	margin: 15px 0;
}


/* --- WIDŻET HEADING --- */

.sportivo-heading {
  text-align: center;
  padding: 60px 16px;
  max-width: 960px;
  margin: 0 auto;
}

.sportivo-heading .subtitle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #4a4a4a;
  gap: 10px;
  opacity: 0.85;
}

.sportivo-heading .subtitle::before,
.sportivo-heading .subtitle::after {
  content: '';
  display: block;
  height: 1px;
  width: 40px;
  background-color: #dcdcdc;
}

.sportivo-heading h2 {
  font-family: system-ui, sans-serif;
  font-size: 57px;
  font-weight: 550;
  letter-spacing: -1.8px;
  line-height: 1.1;
  color: #1a1b1e;
  margin: 0 0 20px;
  position: relative;
  display: inline-block;
}

.sportivo-heading h2 span {
  background: linear-gradient(90deg, #fb6415, #ff9440);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}


.sportivo-heading h2::after {
  content: '';
  display: block;
  width: 70px;
  height: 3px;
  background-color: #fb6415;
  margin: 20px auto 0;
  border-radius: 2px;
}

.sportivo-heading p {
  font-family: system-ui, sans-serif;
  font-size: 20px;
  color: #444;
  line-height: 1.6;
  max-width: 700px;
  margin: 0 auto;
}

@media (max-width: 768px) {

  .sportivo-heading .subtitle {
    margin-bottom: 10px;
  }

  .sportivo-heading h2 {
    font-size: 38px;
    letter-spacing: -1px;
  }
  .sportivo-heading p {
    font-size: 17px;
  }
}

.sportivo-heading--sm {
  padding: 20px 16px;
  max-width: 960px;
  margin: 60px auto 0;
  text-align: center;
}

.sportivo-heading--sm h2 {
  font-family: system-ui, sans-serif;
  font-size: 28px;
  font-weight: 550;
  letter-spacing: -0.5px;
  line-height: 1.2;
  color: #1a1b1e;
  margin: 0;
}

.sportivo-heading--sm h2 span {
  background: linear-gradient(90deg, #fb6415, #ff9440);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}



/* --- WIDŻET FAQ --- */


#faq1.modern-faq {
  max-width: 800px;
  margin: 40px auto;
  font-family: "Inter", sans-serif;
  padding: 0 16px;
}

/* Kategorie */
#faq1 .faq-category {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 700;
  margin: 40px 0 20px;
  color: #111;
  padding-left: 18px;
  position: relative;
}

#faq1 .faq-category::before {
  content: "";
  display: inline-block;
  width: 4px;
  height: 24px;
  background-color: #0250ce;
  border-radius: 2px;
  position: absolute;
  left: 0;
  top: 2px;
}

/* Pojedynczy wpis FAQ */
#faq1 .faq-item {
  background: #fdfdfd;
  border-radius: 12px;
  margin-bottom: 12px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  border-left: 4px solid transparent;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

#faq1 .faq-item.active {
  border-left: 4px solid #0250ce;
  box-shadow: 0 2px 8px rgba(251, 100, 21, 0.1);
}

/* Pytanie */
#faq1 .faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  cursor: pointer;
  font-weight: 600;
  font-size: 16px;
  color: #222;
}

#faq1 .faq-question:hover {
  background: #f9f9f9;
}

#faq1 .faq-icon {
  font-size: 20px;
  color: #fb6415;
  transition: transform 0.3s ease;
}

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

/* Odpowiedź */
#faq1 .faq-answer {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  padding: 0 20px;
  transition: max-height 0.3s ease, opacity 0.3s ease, padding 0.3s ease;
  font-size: 15px;
  color: #444;
}

#faq1 .faq-item.active .faq-answer {
  max-height: 400px;
  opacity: 1;
  padding: 10px 20px 18px;
}

.modern-faq .faq-cta {
  margin-top: 48px;
  text-align: center;
  background: #f9fafb;
  padding: 24px;
  border-radius: 12px;
  border: 1px solid #0250ce;
}

.modern-faq .faq-cta p {
  font-size: 18px;
  margin-bottom: 16px;
  color: #333;
  font-weight: 500;
}

.modern-faq .faq-cta-button {
  display: inline-block;
  padding: 10px 20px;
  background-color: #0250ce;
  color: #fff;
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.modern-faq .faq-cta-button:hover {
  background-color: #053e9b;
}

.faq-search-container {
    margin-bottom: 20px;
    position: relative;
}
.faq-search-input {
    width: 100%;
    padding: 10px;
    font-size: 1rem;
    border: 1px solid #ddd;
    border-radius: 8px;
}
.faq-suggestions {
    display: none;
    position: absolute;
    width: 100%;
    background: #fff;
    z-index: 9;
    border: 1px solid #eee;
    border-radius: 0 0 8px 8px;
    max-height: 220px;
    overflow-y: auto;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}
.faq-suggestion {
    padding: 10px 16px;
    cursor: pointer;
    font-size: 1rem;
    transition: background 0.2s;
}
.faq-suggestion:hover, .faq-suggestion:focus {
    background: #f3f6fb;
    outline: none;
}
.faq-suggestion.empty {
    color: #aaa;
    cursor: default;
}



/* RESPONSYWNOŚĆ */
@media (max-width: 600px) {
  #faq1 .faq-question {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 16px;
  }

  #faq1 .faq-category {
    font-size: 18px;
    margin: 32px 0 14px;
  }

  #faq1 .faq-icon {
    display: none;
  }

  #faq1 .faq-answer {
    font-size: 14px;
    padding: 0 16px;
  }

  #faq1 .faq-item.active .faq-answer {
    padding: 10px 16px 16px;
  }
}