/* WonderFil project pages. Neutral: inherits the theme's font and colours where it can. */
.wtqp {
  --wtqp-accent: #ff6b00;
  --wtqp-ink: #1f1f1f;
  --wtqp-muted: #5f5f5f;
  --wtqp-line: #e6e3df;
  --wtqp-surface: #f6f5f3;
  --wtqp-soft: color-mix(in srgb, var(--wtqp-accent) 8%, #ffffff);
  --wtqp-text: color-mix(in srgb, var(--wtqp-accent) 72%, #000000);
  font-family: var(--wtqp-font, inherit);
  color: var(--wtqp-ink);
  display: flex; flex-direction: column; gap: 48px;
  margin: 8px 0 48px; width: 100%; clear: both;
}
.wtqp *, .wtqp *::before, .wtqp *::after { box-sizing: border-box; }
.wtqp a { color: inherit; text-decoration: none; }
.wtqp img { display: block; max-width: 100%; }
.wtqp ul, .wtqp ol { list-style: none; margin: 0; padding: 0; }
.wtqp h2 { margin: 0 0 6px; font-size: clamp(22px, 2.6vw, 30px); line-height: 1.2; font-weight: 800; color: var(--wtqp-ink); }
.wtqp svg { flex: none; }
.wtqp-lead { margin: 0 0 18px; color: var(--wtqp-muted); font-size: 16px; }
.wtqp-preview { margin: 0; padding: 8px 12px; border-radius: 8px; background: #fcf9e8; border-left: 4px solid #dba617; font-size: 14px; }
.wtqp-mono { display: grid; place-items: center; width: 100%; height: 100%; font-size: 36px; font-weight: 800; color: var(--wtqp-text); background: var(--wtqp-soft); }

/* Hero */
.wtqp-hero { display: flex; flex-direction: column; gap: 16px; }
.wtqp-title { margin: 0; font-size: clamp(30px, 4vw, 44px); line-height: 1.1; font-weight: 800; }
.wtqp-intro { margin: 0; max-width: 760px; font-size: 18px; line-height: 1.5; color: var(--wtqp-muted); }
.wtqp-cta { display: flex; flex-wrap: wrap; gap: 10px; }
.wtqp .wtqp-btn { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 12px; background: var(--wtqp-accent); color: #fff; font-weight: 800; font-size: 16px; }
.wtqp .wtqp-btn:hover { filter: brightness(.95); }
.wtqp .wtqp-btn-ghost { background: #fff; color: var(--wtqp-text); border: 1.5px solid var(--wtqp-accent); }
.wtqp-shortcuts { display: flex; flex-wrap: wrap; gap: 6px 20px; font-size: 15px; }
.wtqp-shortcuts a { color: var(--wtqp-text); font-weight: 600; }
.wtqp-shortcuts a:hover { text-decoration: underline; }

/* Techniques */
.wtqp-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.wtqp .wtqp-tab { margin: 0; padding: 10px 16px; min-height: 44px; border: 1.5px solid var(--wtqp-line); border-radius: 999px; background: #fff; color: var(--wtqp-ink); font: inherit; font-size: 15px; font-weight: 700; cursor: pointer; text-transform: none; letter-spacing: normal; }
.wtqp .wtqp-tab:hover { border-color: var(--wtqp-accent); background: #fff; color: var(--wtqp-ink); }
.wtqp .wtqp-tab[aria-selected="true"] { background: var(--wtqp-accent); border-color: var(--wtqp-accent); color: #fff; }
.wtqp-panel { padding: 20px; border-radius: 18px; background: var(--wtqp-surface); }
.wtqp-panel[hidden] { display: none; }
.wtqp-panel-intro { margin: 0 0 14px; font-size: 16px; }
.wtqp-recs { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; }
.wtqp-rec { display: flex; gap: 12px; padding: 12px; border-radius: 14px; background: #fff; }
.wtqp-rec-img { flex: none; width: 76px; height: 76px; border-radius: 12px; overflow: hidden; background: var(--wtqp-surface); }
.wtqp-rec-img img { width: 100%; height: 100%; object-fit: cover; }
.wtqp-rec-body { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.wtqp-rec-name { font-size: 16px; font-weight: 800; line-height: 1.2; }
.wtqp-rec-meta { font-size: 13px; color: var(--wtqp-muted); }
.wtqp-rec-why { font-size: 14px; line-height: 1.4; }
.wtqp a.wtqp-more { margin-top: 2px; font-size: 14px; font-weight: 700; color: var(--wtqp-text); }
.wtqp a.wtqp-more:hover { text-decoration: underline; }
.wtqp-panel-foot { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 14px; font-size: 14.5px; }
.wtqp-panel-foot span { display: inline-flex; align-items: center; gap: 6px; }
.wtqp-panel-foot svg { color: var(--wtqp-text); }
.wtqp-panel-foot a { color: var(--wtqp-text); font-weight: 700; text-decoration: underline; }

/* Weights */
.wtqp-scale { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; }
.wtqp-scale a { display: flex; flex-direction: column; gap: 4px; height: 100%; padding: 14px; border: 1px solid var(--wtqp-line); border-radius: 14px; background: #fff; }
.wtqp-scale a:hover { border-color: var(--wtqp-accent); }
.wtqp-wt { display: flex; flex-direction: column; gap: 8px; font-size: 20px; font-weight: 800; }
.wtqp-wt::before { content: ""; display: block; height: var(--wtqp-line, 2px); max-height: 9px; border-radius: 9px; background: var(--wtqp-accent); }
.wtqp-wt-use { font-size: 13.5px; color: var(--wtqp-muted); line-height: 1.35; }
.wtqp-wt-name { font-size: 14px; font-weight: 700; }

/* Lines */
.wtqp-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 16px; }
.wtqp .wtqp-chip { margin: 0; padding: 7px 14px; min-height: 38px; border: 1px solid var(--wtqp-line); border-radius: 999px; background: #fff; color: var(--wtqp-ink); font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; text-transform: none; letter-spacing: normal; }
.wtqp .wtqp-chip:hover { border-color: var(--wtqp-accent); background: #fff; color: var(--wtqp-ink); }
.wtqp .wtqp-chip[aria-pressed="true"] { background: var(--wtqp-accent); border-color: var(--wtqp-accent); color: #fff; }
.wtqp-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; }
.wtqp-line[hidden] { display: none; }
.wtqp-line a { display: flex; flex-direction: column; height: 100%; border: 1px solid var(--wtqp-line); border-radius: 16px; overflow: hidden; background: #fff; transition: border-color .12s, box-shadow .12s, transform .12s; }
.wtqp-line a:hover { border-color: var(--wtqp-accent); box-shadow: 0 10px 24px rgba(24, 16, 8, .1); transform: translateY(-2px); }
.wtqp-line-img { position: relative; display: block; aspect-ratio: 4 / 3; background: var(--wtqp-surface); }
.wtqp-line-img img { width: 100%; height: 100%; object-fit: cover; }
.wtqp-badge { position: absolute; top: 10px; left: 10px; padding: 3px 9px; border-radius: 999px; background: rgba(255, 255, 255, .92); font-size: 12.5px; font-weight: 800; }
.wtqp-line-body { display: flex; flex-direction: column; gap: 3px; padding: 12px 14px 14px; flex: 1; }
.wtqp-line-body strong { font-size: 16px; line-height: 1.2; }
.wtqp-line-fibre { font-size: 13px; color: var(--wtqp-muted); }
.wtqp-line-use { font-size: 13.5px; line-height: 1.35; }
.wtqp-line-meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 10px; margin-top: auto; padding-top: 8px; font-size: 13px; color: var(--wtqp-muted); }
.wtqp-from { font-weight: 700; color: var(--wtqp-ink); }

/* Setup, packs, FAQ, learn */
.wtqp-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.wtqp-cards a { display: flex; flex-direction: column; gap: 6px; height: 100%; padding: 16px; border-radius: 16px; background: var(--wtqp-soft); }
.wtqp-cards a:hover { box-shadow: inset 0 0 0 1.5px var(--wtqp-accent); }
.wtqp-cards strong { font-size: 16px; color: var(--wtqp-text); }
.wtqp-cards span { font-size: 14.5px; line-height: 1.4; }
.wtqp-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px; margin-bottom: 14px; }
.wtqp-head h2 { margin: 0; }
.wtqp-head a { color: var(--wtqp-text); font-weight: 700; }
.wtqp-packlist { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 12px; }
.wtqp-packlist a { display: flex; flex-direction: column; gap: 6px; height: 100%; padding: 10px; border: 1px solid var(--wtqp-line); border-radius: 14px; background: #fff; font-size: 14px; line-height: 1.3; }
.wtqp-packlist a:hover { border-color: var(--wtqp-accent); }
.wtqp-pack-img { display: block; aspect-ratio: 1; border-radius: 10px; overflow: hidden; background: var(--wtqp-surface); }
.wtqp-pack-img img { width: 100%; height: 100%; object-fit: cover; }
.wtqp-faq details { border-bottom: 1px solid var(--wtqp-line); }
.wtqp-faq summary { padding: 14px 0; font-size: 16.5px; font-weight: 700; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.wtqp-faq summary::-webkit-details-marker { display: none; }
.wtqp-faq summary::after { content: "+"; color: var(--wtqp-accent); font-size: 22px; line-height: 1; }
.wtqp-faq details[open] summary::after { content: "–"; }
.wtqp-faq details div { padding: 0 0 14px; font-size: 15.5px; line-height: 1.55; color: var(--wtqp-muted); }
.wtqp-faq details p { margin: 0 0 8px; }
.wtqp-learn ul { display: flex; flex-wrap: wrap; gap: 10px; }
.wtqp-learn a { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border: 1px solid var(--wtqp-line); border-radius: 999px; font-weight: 700; font-size: 15px; }
.wtqp-learn a:hover { border-color: var(--wtqp-accent); }
.wtqp-learn svg { color: var(--wtqp-text); }

@media (max-width: 600px) {
  .wtqp { gap: 36px; }
  .wtqp-intro { font-size: 16px; }
  .wtqp .wtqp-btn { flex: 1 1 100%; justify-content: center; }
  .wtqp-tabs { flex-wrap: nowrap; overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: none; margin-left: -4px; padding: 2px 4px; }
  .wtqp-tabs::-webkit-scrollbar { display: none; }
  .wtqp .wtqp-tab { flex: none; }
  .wtqp-panel { padding: 14px; border-radius: 14px; }
  .wtqp-recs { grid-template-columns: 1fr; }
  .wtqp-scale { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .wtqp-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .wtqp-line-use { display: none; }
  .wtqp-line-meta { flex-direction: column; }
  .wtqp-packlist { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (prefers-reduced-motion: reduce) { .wtqp * { transition: none !important; } }
