/* WootWP Tools Suite — site effects (plugin core).
   Homepage search/favorites + bold colourful titles. Palette: navy #08316A,
   orange #FA8C22, light #F7F9FC, text #1A2332. Loaded on the front page and
   on tool pages only (see site-fx.php). */

/* ---------- shared ---------- */
.wt-fx-hidden { display: none !important; }

/* ---------- bold, colourful titles (Workstream C) ---------- */
/* Homepage tool-card titles: bold navy with a navy-to-orange gradient text
   where the browser supports it, solid navy elsewhere. */
.wt-fx-card-title,
.wt-tool-card h3 {
  font-weight: 800;
  color: #08316A;
}
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .wt-fx-card-title,
  .wt-tool-card h3 {
    background: linear-gradient(92deg, #08316A 55%, #FA8C22 130%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
  }
}
/* Homepage category section titles (tagged by site-fx.js). */
.wt-fx-cat-title {
  font-weight: 800 !important;
  color: #08316A !important;
  border-bottom: 3px solid #FA8C22;
  padding-bottom: 6px;
}
/* Section titles link to their category hub page (wrapped by site-fx.js). */
.wt-fx-cat-title a {
  color: inherit;
  text-decoration: none;
}
.wt-fx-cat-title a:hover {
  color: #FA8C22;
  text-decoration: underline;
}

/* ---------- homepage search ---------- */
.wt-fx-search {
  max-width: 720px;
  margin: 0 auto 26px;
  padding: 0 16px;
  text-align: center;
  box-sizing: border-box;
}
.wt-fx-search-label {
  display: block;
  font-weight: 800;
  font-size: 20px;
  color: #08316A;
  margin-bottom: 10px;
}
.wt-fx-search-input {
  width: 100%;
  min-height: 54px;
  padding: 14px 18px;
  font-size: 17px;
  font-family: inherit;
  color: #1A2332;
  background: #fff;
  border: 2px solid #E2E8F2;
  border-radius: 12px;
  box-sizing: border-box;
}
.wt-fx-search-input:focus {
  outline: none;
  border-color: #08316A;
  box-shadow: 0 0 0 3px rgba(8, 49, 106, 0.12);
}
.wt-fx-noresults {
  text-align: center;
  color: #5A6B85;
  font-size: 16px;
  margin: 0 auto 24px;
  padding: 0 16px;
}

/* ---------- favorites / recently used strips ---------- */
.wt-fx-strips {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 16px;
  box-sizing: border-box;
}
.wt-fx-strip { margin-bottom: 18px; }
.wt-fx-strip-title {
  font-size: 16px;
  font-weight: 800;
  color: #08316A;
  margin: 0 0 10px;
}
.wt-fx-strip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.wt-fx-chip {
  display: inline-block;
  background: #F7F9FC;
  border: 1px solid #E2E8F2;
  color: #08316A;
  font-weight: 600;
  font-size: 14px;
  padding: 9px 15px;
  border-radius: 20px;
  text-decoration: none;
}
.wt-fx-chip:hover {
  border-color: #FA8C22;
  color: #FA8C22;
}

/* ---------- favorite stars ---------- */
.wt-fx-star {
  cursor: pointer;
  font-family: inherit;
  line-height: 1;
  color: #5A6B85;
  background: none;
  border: none;
  padding: 0;
}
.wt-fx-star.wt-fx-on { color: #FA8C22; }

/* Card star: small round button in the card's top-right corner. */
.wt-fx-card { position: relative; }
.wt-fx-star-card {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 38px;
  height: 38px;
  font-size: 19px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid #E2E8F2;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
}
.wt-fx-star-card:hover { border-color: #FA8C22; color: #FA8C22; }
.wt-fx-star-card.wt-fx-on { border-color: #FA8C22; }

/* Tool-page star: a button that sits next to "Report a Problem". */
.wt-fx-star-tool {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 22px;
  margin-left: 10px;
  background: #fff;
  color: #08316A;
  border: 2px solid #08316A;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  vertical-align: middle;
}
.wt-fx-star-tool:hover { background: #08316A; color: #fff; }
.wt-fx-star-tool.wt-fx-on { border-color: #FA8C22; color: #FA8C22; }
.wt-fx-star-tool.wt-fx-on:hover { background: #FA8C22; color: #fff; }
.wt-fx-favbar {
  max-width: 860px;
  margin: 0 auto 16px;
  padding: 0 16px;
  text-align: center;
}
.wt-fx-favbar .wt-fx-star-tool { margin-left: 0; }

@media (max-width: 640px) {
  .wt-fx-search-label { font-size: 18px; }
  .wt-fx-star-tool { margin-left: 0; margin-top: 10px; }
}

/* "See all tools" button under each homepage category (links to the hub) */
.wt-fx-seeall {
  grid-column: 1 / -1;
  display: block;
  margin: 14px auto 4px;
  max-width: 320px;
  text-align: center;
  background: #08316A;
  color: #fff !important;
  font-weight: 700;
  font-size: 16px;
  padding: 12px 22px;
  border-radius: 10px;
  text-decoration: none !important;
  transition: background .2s ease;
}
.wt-fx-seeall:hover { background: #FA8C22; }
