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

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



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

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



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

.otobron-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 --- */

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

.otobron-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;
}

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

.otobron-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;
}

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


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

.otobron-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) {

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

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

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

.otobron-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;
}

.otobron-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: #fb6415;
  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 #fb6415;
  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: #fff6f0;
  padding: 24px;
  border-radius: 12px;
  border: 1px solid #ffd7bc;
}

.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: #fb6415;
  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: #e4560e;
}

.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;
  }
}