/* PRBLEM Core v1.7.48 — additive discovery and readability enhancements.
   All selectors are theme-scoped; native WP menus and plugin layouts are unchanged. */
body.prblem-core .prblem-directory-pagebar .prblem-pagebar-label{
  color:#f0f4f7;font-size:15px;font-weight:750;line-height:1.3;white-space:normal;
}
body.prblem-core .prblem-growth-hero{
  display:grid;grid-template-columns:minmax(0,1.1fr) minmax(280px,.9fr);
  gap:18px;align-items:center;padding:19px 24px 17px;
  background:var(--surface);border-bottom:1px solid var(--border);
}
body.prblem-core .prblem-growth-kicker{color:var(--blue);font-size:10px;font-weight:800;letter-spacing:.1em}
body.prblem-core .prblem-growth-hero h1{font-size:clamp(22px,2.15vw,30px);line-height:1.14;margin:4px 0 6px;color:var(--text)}
body.prblem-core .prblem-growth-hero p{font-size:12px;line-height:1.45;color:var(--muted);margin:0;max-width:660px}
body.prblem-core .prblem-growth-hero-search{min-width:0}
body.prblem-core .prblem-growth-hero-search label{display:block;font-size:11px;font-weight:700;margin-bottom:5px}
body.prblem-core .prblem-growth-hero-search-row{display:flex;align-items:stretch;min-width:0}
body.prblem-core .prblem-growth-hero-search input{width:100%;min-width:0;flex:1;color:var(--text);background:var(--surface-soft);border:1px solid var(--border);border-right:0;padding:9px 10px;border-radius:2px 0 0 2px;font-size:13px}
body.prblem-core .prblem-growth-hero-search button{min-width:110px;color:#fff;background:#0875a9;border:1px solid #075f8a;border-radius:0 2px 2px 0;padding:8px 12px;font-size:12px;font-weight:800}
body.prblem-core .prblem-growth-hero-search button:hover{background:#075f8a}
body.prblem-core .prblem-growth-hubs{padding:13px 24px 6px;max-width:1650px;margin:0 auto}
body.prblem-core .prblem-growth-hubs-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:8px}
body.prblem-core .prblem-growth-hubs-head h2{font-size:17px;margin:0}
body.prblem-core .prblem-growth-hubs-head a{font-size:12px;color:var(--blue);text-decoration:underline}
body.prblem-core .prblem-growth-hub-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:8px}
body.prblem-core .prblem-growth-hub{min-width:0;display:flex;flex-direction:column;gap:4px;min-height:68px;padding:10px 10px 9px;background:var(--surface);border:1px solid var(--border);border-top:3px solid #2896bd;text-decoration:none;color:var(--text);transition:border-color .15s,background .15s}
body.prblem-core .prblem-growth-hub:hover,body.prblem-core .prblem-growth-hub:focus-visible{border-color:#1273a6;background:var(--blue-soft)}
body.prblem-core .prblem-growth-hub strong{font-size:13px;line-height:1.15;overflow-wrap:anywhere}
body.prblem-core .prblem-growth-hub span{font-size:10px;line-height:1.3;color:var(--muted)}
body.prblem-core .prblem-growth-hubs + .prblem-directory-content{padding-top:13px}
/* Category hubs only link to real category archives or actual search URLs. */
body.prblem-core .prblem-growth-related-searches,body.prblem-core .prblem-growth-archive-topics{
  display:flex;align-items:center;flex-wrap:wrap;gap:7px;margin:0 0 14px;padding:10px 12px;
  background:var(--surface);border:1px solid var(--border)
}
body.prblem-core .prblem-growth-related-searches strong,body.prblem-core .prblem-growth-archive-topics strong{font-size:12px;margin-right:3px}
body.prblem-core .prblem-growth-related-searches a,body.prblem-core .prblem-growth-archive-topics a{font-size:12px;color:var(--blue);text-decoration:none;background:var(--surface-soft);border:1px solid var(--border);padding:5px 9px;line-height:1.3}
body.prblem-core .prblem-growth-related-searches a:hover,body.prblem-core .prblem-growth-archive-topics a:hover{text-decoration:underline;background:var(--blue-soft)}
body.prblem-core .prblem-list-wrap .prblem-guide-card{display:flex;flex-direction:column;gap:0;height:100%;min-width:0}
body.prblem-core .prblem-list-wrap .prblem-guide-card h2{margin:8px 0 8px;line-height:1.35;overflow-wrap:anywhere}
body.prblem-core .prblem-list-wrap .prblem-guide-card p{line-height:1.5;margin:0 0 13px;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
body.prblem-core .prblem-list-wrap .prblem-guide-card .prblem-readmore{margin-top:auto;align-self:flex-start;display:inline-block;padding-top:8px;font-weight:750}
body.prblem-core .prblem-list-wrap .prblem-guide-card .prblem-badge-list{margin-bottom:8px}
body.prblem-core .prblem-list-wrap .prblem-guide-card:focus-within{outline:2px solid #128fc4;outline-offset:-2px}
/* Human sitemap: recent excerpts are explicitly labeled, full archives always visible. */
body.prblem-core .prblem-growth-sitemap-shortcuts{display:flex;flex-wrap:wrap;gap:9px;margin:0 0 15px}
body.prblem-core .prblem-growth-sitemap-shortcuts a{display:inline-flex;align-items:center;background:var(--surface);border:1px solid var(--border);border-left:3px solid #1886b1;color:var(--blue);font-weight:750;font-size:12px;padding:9px 11px;text-decoration:none}
body.prblem-core .prblem-growth-sitemap-shortcuts a:hover{text-decoration:underline;background:var(--blue-soft)}
body.prblem-core .prblem-sitemap-section .prblem-growth-sitemap-count{font-size:11px;color:var(--muted);margin:0 0 9px;line-height:1.4}
body.prblem-core .prblem-sitemap-section .prblem-growth-sitemap-more{font-weight:800;margin-top:14px}
/* Improve legibility on the slate footer. Do not recolor user-uploaded logos. */
body.prblem-core .prblem-footer-mark--default img{filter:brightness(0) invert(1)}
body.prblem-core .prblem-footer-intro .prblem-footer-description{max-width:320px}
/* Download publisher/compatibility guidance is clear but does not overstate file verification. */
body.prblem-core .prblem-download-directory .prblem-growth-download-note{padding:9px 12px;margin-bottom:14px;background:var(--surface);border:1px solid var(--border);border-left:3px solid #2e91bc;font-size:12px;line-height:1.5;color:var(--text)}
body.prblem-core .prblem-download-directory .prblem-growth-download-note strong{color:var(--text)}
body.prblem-core .prblem-download-directory-list .prblem-download-title{overflow-wrap:anywhere}
/* Focus, long URLs and small-screen guards, without hiding sidebars or ads. */
body.prblem-core .prblem-growth-hero-search :focus-visible,body.prblem-core .prblem-growth-hubs a:focus-visible,body.prblem-core .prblem-growth-sitemap-shortcuts a:focus-visible{outline:3px solid #69bdec;outline-offset:2px}
@media(max-width:1350px){body.prblem-core .prblem-growth-hub-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:1050px){body.prblem-core .prblem-growth-hero{grid-template-columns:1fr;gap:12px}}
@media(max-width:740px){
  body.prblem-core .prblem-growth-hero{padding:15px 13px}
  body.prblem-core .prblem-growth-hero h1{font-size:24px}
  body.prblem-core .prblem-growth-hubs{padding:12px 13px 6px}
  body.prblem-core .prblem-growth-hub-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  body.prblem-core .prblem-growth-hubs-head{align-items:flex-start}
  body.prblem-core .prblem-growth-hubs-head h2{font-size:16px}
  body.prblem-core .prblem-growth-hubs-head a{white-space:nowrap}
  body.prblem-core .prblem-directory-pagebar{flex-wrap:wrap}
  body.prblem-core .prblem-growth-related-searches,body.prblem-core .prblem-growth-archive-topics{padding:8px}
}
@media(max-width:470px){
  body.prblem-core .prblem-growth-hero-search-row{display:grid;grid-template-columns:minmax(0,1fr)}
  body.prblem-core .prblem-growth-hero-search input{border-right:1px solid var(--border);border-radius:2px 2px 0 0}
  body.prblem-core .prblem-growth-hero-search button{border-radius:0 0 2px 2px;width:100%}
  body.prblem-core .prblem-growth-hub{min-height:74px;padding:9px 8px}
  body.prblem-core .prblem-growth-hub strong{font-size:12px}
  body.prblem-core .prblem-growth-hubs-head{flex-wrap:wrap}
  body.prblem-core .prblem-growth-hub-grid{gap:6px}
}
@media(prefers-reduced-motion:reduce){body.prblem-core .prblem-growth-hub{transition:none}}

/* v1.7.51: Return to the original light header and two-column hero layout.
   The homepage hero now owns the existing advanced autocomplete; no second search. */
body.prblem-core .prblem-growth-hero{position:relative;z-index:5;overflow:visible}
body.prblem-core .prblem-growth-hero-search{position:relative;z-index:6;overflow:visible}
body.prblem-core .prblem-growth-hero-search .prblem-suggest{
  top:calc(100% + 2px);left:0;right:0;z-index:80;
  background:var(--surface);border:1px solid var(--border);
  box-shadow:0 10px 26px #0003;overflow:visible;max-height:none;
}
body.prblem-core .prblem-growth-hero-search .prblem-suggest:not(.is-open){display:none}
body.prblem-core .prblem-growth-hero-search-row input:focus{border-color:#197eb1;box-shadow:inset 0 0 0 1px #197eb1}
body.prblem-core .prblem-growth-hero-search .prblem-suggest button{
  width:auto;min-width:0;border-radius:0;border:0;background:transparent;
  color:var(--text);font-size:12px;font-weight:700
}
body.prblem-core .prblem-growth-hero-search .prblem-suggest .prblem-suggest-request{padding:9px 12px;color:var(--blue)}

/* v1.7.52: Keep the existing six topic tiles without the duplicate heading/link.
   Override browser/theme focus rings ONLY for the homepage search input.
   Keyboard users retain a subtle 1px inset focus indication. */
body.prblem-core .prblem-growth-hero-search-row input:focus {
  outline:none!important;
  outline-offset:0!important;
  border-color:var(--border)!important;
  box-shadow:none!important;
}
body.prblem-core .prblem-growth-hero-search-row input:focus-visible {
  outline:none!important;
  outline-offset:0!important;
  border-color:#5e7d93!important;
  box-shadow:inset 0 0 0 1px #5e7d93!important;
}
html[data-mode=dark] body.prblem-core .prblem-growth-hero-search-row input:focus-visible {
  border-color:#a9bfcd!important;
  box-shadow:inset 0 0 0 1px #a9bfcd!important;
}


/* v1.7.53 — precisely align the six topic cards with the six platform cards.
   Homepage only: no navigation, search, ad, or archive changes. */
body.prblem-core .prblem-directory-home > .prblem-growth-hubs{
  box-sizing:border-box;
  width:100%;
  max-width:none;
  margin:0;
  padding:8px 16px 0;
}
body.prblem-core .prblem-directory-home > .prblem-growth-hubs .prblem-growth-hub-grid{
  display:grid;
  grid-template-columns:repeat(6,minmax(0,1fr));
  gap:9px;
  align-items:stretch;
}
body.prblem-core .prblem-directory-home > .prblem-growth-hubs .prblem-growth-hub{
  box-sizing:border-box;
  min-width:0;
  min-height:52px;
  height:100%;
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:flex-start;
  gap:3px;
  margin:0;
  padding:6px 10px 7px;
  border:1px solid #c5cdd3;
  border-top:2px solid #118abb;
  border-radius:3px;
  background:linear-gradient(180deg,#fbfcfd 0%,#f0f2f4 100%);
  color:#182633;
  box-shadow:0 1px 2px rgba(14,33,48,.065);
  text-decoration:none;
  transition:background-color .16s ease,border-color .16s ease,box-shadow .16s ease;
}
body.prblem-core .prblem-directory-home > .prblem-growth-hubs .prblem-growth-hub strong{
  display:block;
  max-width:100%;
  margin:0;
  font-size:12px;
  font-weight:800;
  line-height:1.22;
  letter-spacing:.005em;
  overflow-wrap:break-word;
}
body.prblem-core .prblem-directory-home > .prblem-growth-hubs .prblem-growth-hub span{
  display:block;
  max-width:100%;
  font-size:10px;
  line-height:1.2;
  color:#586773;
  overflow-wrap:break-word;
}
body.prblem-core .prblem-directory-home > .prblem-growth-hubs .prblem-growth-hub:hover,
body.prblem-core .prblem-directory-home > .prblem-growth-hubs .prblem-growth-hub:focus-visible{
  background:#eef7fc;
  border-color:#6da5c1;
  border-top-color:#0679ac;
  box-shadow:0 2px 7px rgba(15,64,100,.13);
  color:#0e3d5e;
}
body.prblem-core .prblem-directory-home > .prblem-growth-hubs .prblem-growth-hub:focus-visible{
  outline:2px solid #1f86b9;
  outline-offset:2px;
}
/* The latest-articles heading starts immediately after the compact cards. */
body.prblem-core .prblem-directory-home > .prblem-growth-hubs + .prblem-directory-content{
  padding-top:8px;
}
html[data-mode=dark] body.prblem-core .prblem-directory-home > .prblem-growth-hubs .prblem-growth-hub{
  background:linear-gradient(180deg,#292e33,#22282d);
  border-color:#46535d;
  border-top-color:#46a9d1;
  color:#f0f5f8;
  box-shadow:0 1px 3px rgba(0,0,0,.16);
}
html[data-mode=dark] body.prblem-core .prblem-directory-home > .prblem-growth-hubs .prblem-growth-hub span{
  color:#b2c3cd;
}
html[data-mode=dark] body.prblem-core .prblem-directory-home > .prblem-growth-hubs .prblem-growth-hub:hover,
html[data-mode=dark] body.prblem-core .prblem-directory-home > .prblem-growth-hubs .prblem-growth-hub:focus-visible{
  background:#30424f;
  border-color:#749fb5;
  border-top-color:#79ceef;
  color:#fff;
}
/* Keep platform and topic columns in sync at both mobile breakpoints. */
@media(max-width:900px){
  body.prblem-core .prblem-directory-home > .prblem-growth-hubs{
    padding:8px 12px 0;
  }
  body.prblem-core .prblem-directory-home > .prblem-growth-hubs .prblem-growth-hub-grid{
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:9px;
  }
}
@media(max-width:480px){
  body.prblem-core .prblem-directory-home > .prblem-growth-hubs{
    padding:7px 10px 0;
  }
  body.prblem-core .prblem-directory-home > .prblem-growth-hubs .prblem-growth-hub-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:7px;
  }
  body.prblem-core .prblem-directory-home > .prblem-growth-hubs .prblem-growth-hub{
    min-height:53px;
    padding:7px 8px;
  }
  body.prblem-core .prblem-directory-home > .prblem-growth-hubs + .prblem-directory-content{
    padding-top:8px;
  }
}
@media(prefers-reduced-motion:reduce){
  body.prblem-core .prblem-directory-home > .prblem-growth-hubs .prblem-growth-hub{transition:none}
}

/* v1.7.54: native menu-driven homepage cards; retain 1.7.53 grid, proportions and colors. */
body.prblem-core .prblem-directory-home > .prblem-growth-hubs .prblem-growth-hub > .prblem-home-card-text{
  box-sizing:border-box;
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:flex-start;
  gap:3px;
  min-width:0;
  flex:1 1 auto;
  max-width:100%;
  color:inherit;
}
body.prblem-core .prblem-directory-home > .prblem-growth-hubs .prblem-growth-hub .prblem-home-card-subtitle{
  display:block;
  width:100%;
  max-width:100%;
  margin:0;
  font-size:10px;
  line-height:1.2;
  font-weight:400;
  color:#586773;
  overflow-wrap:break-word;
}
body.prblem-core .prblem-directory-home > .prblem-growth-hubs .prblem-growth-hub--with-icon{
  flex-direction:row;
  align-items:center;
  justify-content:flex-start;
  gap:8px;
}
body.prblem-core .prblem-directory-home > .prblem-growth-hubs .prblem-home-card-icon{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  flex:0 0 20px;
  width:20px;
  height:20px;
  color:#2478a4;
}
body.prblem-core .prblem-directory-home > .prblem-growth-hubs .prblem-home-card-icon svg,
body.prblem-core .prblem-directory-home > .prblem-growth-hubs .prblem-home-card-icon img{
  display:block;
  width:20px;
  height:20px;
  object-fit:contain;
}
html[data-mode=dark] body.prblem-core .prblem-directory-home > .prblem-growth-hubs .prblem-growth-hub .prblem-home-card-subtitle{color:#b2c3cd}
html[data-mode=dark] body.prblem-core .prblem-directory-home > .prblem-growth-hubs .prblem-home-card-icon{color:#85cde9}
