/* =========================================================
   Trendie Wendie | Categoriepagina's
   Asset: custom-categoriepagina.css
   Kleuren: paars #464F5E, lichtroze #C9AAAB, goud #DEC98C
   Lettertypes worden overgenomen van het thema.
   ========================================================= */

.tw-cat {
  --tw-paars: #464F5E;
  --tw-roze: #C9AAAB;
  --tw-roze-licht: #F7F1F1;
  --tw-goud: #DEC98C;
  --tw-lijn: #ECE3E3;
  color: #333333;
  font-size: 16px;
  line-height: 1.75;
}

/* Zelfde tekstgrootte als de blog, ook als het thema kleinere p/li instelt */
.tw-cat p,
.tw-cat li {
  font-size: 16px;
  line-height: 1.75;
}

/* Lightspeed-editor zet soms lege <p>'s neer */
.tw-cat p:empty { display: none; }

/* ---------- Links in de lopende tekst ---------- */

.tw-cat a {
  color: var(--tw-paars);
  text-decoration: none;
  border-bottom: 1px solid var(--tw-goud);
  transition: border-color .2s ease, color .2s ease;
}

.tw-cat a:hover {
  color: var(--tw-paars);
  border-bottom-color: var(--tw-paars);
}

/* ---------- Intro ---------- */

.tw-cat .tw-cat-intro {
  margin: 0 0 22px;
  padding: 22px 28px;
  background: var(--tw-roze-licht);
  border-left: 4px solid var(--tw-roze);
  border-radius: 10px;
  font-size: 18px;
  line-height: 1.7;
  color: var(--tw-paars);
}

/* ---------- USP-balk ---------- */

.tw-cat ul.tw-cat-usps {
  list-style: none;
  margin: 0 0 40px;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tw-cat ul.tw-cat-usps li {
  margin: 0;
  padding: 7px 14px 7px 32px;
  position: relative;
  background: var(--tw-roze-licht);
  border-radius: 999px;
  font-size: 13px;
  line-height: 1.4;
  color: var(--tw-paars);
}

.tw-cat ul.tw-cat-usps li::before {
  content: "";
  position: absolute;
  left: 13px;
  top: 50%;
  width: 10px;
  height: 6px;
  border-left: 2px solid var(--tw-roze);
  border-bottom: 2px solid var(--tw-roze);
  transform: translateY(-70%) rotate(-45deg);
}

/* ---------- Koppen ---------- */

.tw-cat h2 {
  color: var(--tw-paars);
  line-height: 1.3;
  margin: 48px 0 14px;
  padding-bottom: 10px;
  position: relative;
}

.tw-cat h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 48px;
  height: 3px;
  border-radius: 2px;
  background: var(--tw-goud);
}

.tw-cat h3 {
  color: var(--tw-paars);
  line-height: 1.35;
  margin: 28px 0 8px;
}

/* ---------- Twee kolommen (tekstblokken naast elkaar) ---------- */

.tw-cat-duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 24px 0;
}

.tw-cat-duo > div {
  background: #ffffff;
  border: 1px solid var(--tw-lijn);
  border-radius: 10px;
  padding: 22px 24px;
}

.tw-cat-duo h3 { margin-top: 0; }
.tw-cat-duo p:last-child { margin-bottom: 0; }

/* ---------- Stylingkaarten (lijst als kaarten) ---------- */

.tw-cat ul.tw-cat-cards {
  list-style: none;
  margin: 20px 0 8px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.tw-cat ul.tw-cat-cards li {
  margin: 0;
  background: var(--tw-roze-licht);
  border-radius: 10px;
  padding: 20px 22px;
}

.tw-cat ul.tw-cat-cards li strong {
  display: block;
  margin-bottom: 4px;
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--tw-roze);
}

/* ---------- Tipbox ---------- */

.tw-cat-tip {
  margin: 28px 0;
  padding: 18px 22px 18px 58px;
  position: relative;
  border: 1px dashed var(--tw-roze);
  border-radius: 10px;
}

.tw-cat-tip::before {
  content: "Tip";
  position: absolute;
  left: 16px;
  top: 18px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--tw-roze);
}

.tw-cat-tip p { margin: 0; }

/* ---------- Winkelblok ---------- */

.tw-cat-store {
  margin: 44px 0;
  padding: 30px 32px;
  border-radius: 12px;
  background: var(--tw-paars);
  color: #ffffff;
}

.tw-cat-store h2 {
  color: #ffffff;
  margin-top: 0;
}

.tw-cat-store p { color: #ffffff; }
.tw-cat-store p:last-child { margin-bottom: 0; }

.tw-cat-store a {
  color: #ffffff;
  border-bottom-color: var(--tw-goud);
}

.tw-cat-store a:hover {
  color: var(--tw-goud);
  border-bottom-color: var(--tw-goud);
}

/* ---------- Ook interessant (linkpillen) ---------- */

.tw-cat ul.tw-cat-links {
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tw-cat ul.tw-cat-links li { margin: 0; }

.tw-cat ul.tw-cat-links a {
  display: inline-block;
  padding: 8px 16px;
  border: 1px solid var(--tw-roze);
  border-radius: 999px;
  font-size: 14px;
  line-height: 1.3;
  color: var(--tw-paars);
  transition: background .2s ease, color .2s ease;
}

.tw-cat ul.tw-cat-links a:hover {
  background: var(--tw-paars);
  border-color: var(--tw-paars);
  color: #ffffff;
}

/* ---------- FAQ ---------- */

.tw-cat-faq {
  border-bottom: 1px solid var(--tw-lijn);
}

.tw-cat-faq:first-of-type { border-top: 1px solid var(--tw-lijn); }

.tw-cat-faq summary {
  list-style: none;
  cursor: pointer;
  padding: 16px 40px 16px 0;
  position: relative;
  font-weight: 600;
  color: var(--tw-paars);
}

.tw-cat-faq summary::-webkit-details-marker { display: none; }

.tw-cat-faq summary::after {
  content: "+";
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 22px;
  font-weight: 400;
  color: var(--tw-roze);
  transition: transform .2s ease;
}

.tw-cat-faq[open] summary::after { transform: translateY(-50%) rotate(45deg); }

.tw-cat-faq p {
  margin: 0 0 18px;
  padding-right: 40px;
}

/* ---------- Mobiel ---------- */

@media (max-width: 767px) {
  .tw-cat .tw-cat-intro { font-size: 17px; padding: 18px 20px; }
  .tw-cat-duo,
  .tw-cat ul.tw-cat-cards { grid-template-columns: 1fr; }
  .tw-cat-store { padding: 24px 20px; }
}