/* --- General styling --- */
.news-item-detail h1 {
  color: var(--primary-pink) !important;
}
.news-item-detail .text p {
  color: var(--text-white);
}

/* Blog listing */
.news-item {
  background-color: var(--card-bg);
}

/* Blog nav button */
.next-prev a.btn {
  background-color: transparent !important;
}

.next-prev a.btn:hover {
  color: var(--primary-pink) !important;
  border: 2px solid var(--primary-pink) !important;
}

.news-item a.title,
.news-item .description p {
  color: var(--text-white) !important;
}

@media screen and (max-width: 479px) {
  .news-item .image {
    height: 200px;
  }
}

/* Blog table of contents */
.table-of-contents {
  background: var(--card-bg);
  border-radius: 20px;
  padding: 25px;
  margin: 30px 0;
  border-left: 6px solid var(--primary-pink);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.table-of-contents h2 {
  color: #ffffff;
  margin-top: 0;
  margin-bottom: 15px;
  font-size: 2rem !important;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.table-of-contents ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.table-of-contents li {
  margin-bottom: 10px;
  padding-left: 20px;
  position: relative;
}

.table-of-contents li::before {
  content: "•";
  color: var(--primary-pink);
  position: absolute;
  left: 0;
  font-weight: bold;
}

.table-of-contents a {
  color: #b0b0b0;
  text-decoration: none;
  transition: color 0.2s;
}

.table-of-contents a:hover {
  color: var(--primary-pink) !important;
}

h2[id] {
  scroll-margin-top: 100px;
}

.table-of-contents a:hover {
  color: var(--primary-pink);
}

/* --- Banner pro TIPY / Produkty --- */
.product-tip-banner {
  background: var(--card-bg);
  border-radius: 20px;
  padding: 25px 30px;
  border-left: 6px solid var(--primary-pink);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  margin: 30px 0;
  line-height: 1.6;
}

.product-tip-banner strong {
  display: block;
  margin-bottom: 5px;
}

/* .product-tip-banner a {
  color: var(--primary-pink);
  font-weight: bold;
  text-decoration: underline;
  transition: opacity 0.2s;
} */

/* .product-tip-banner a:hover {
  opacity: 0.8;
} */

/* --- Blog tables --- */
.comparison-table-wrapper {
  overflow-x: auto;
  margin: 40px 0;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--card-bg);
  border-radius: 15px;
  overflow: hidden;
  color: var(--text-white);
}

.comparison-table th {
  background: #252525;
  color: var(--primary-pink);
  text-align: left;
  padding: 15px 20px;
  border-bottom: 2px solid var(--primary-pink);
}

.comparison-table td {
  padding: 15px 20px;
  border-bottom: 1px solid #333;
}

.comparison-table tr:last-child td {
  border-bottom: none;
}

.comparison-table tr:hover {
  background: #222;
}

/* --- FAQ Accordion --- */
.faq-section {
  margin: 40px 0;
}

.faq-item {
  background: var(--card-bg);
  border-radius: 15px;
  margin-bottom: 10px;
  overflow: hidden;
}

.faq-item summary {
  padding: 20px;
  cursor: pointer;
  font-weight: bold;
  list-style: none; /* Skryje defaultní šipku */
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-white);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  color: var(--primary-pink);
  font-size: 1.5rem;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-content {
  padding: 0 20px 20px 20px;
  color: var(--text-gray);
  line-height: 1.6;
}
