/* BuzzerHub shortcode quiz directory v1.6.8 */
.bhq-directory{max-width:1160px;margin:26px auto;font-family:inherit;color:inherit}
.bhq-directory *{box-sizing:border-box}
.bhq-directory-heading{margin:0 0 18px}
.bhq-directory-heading h2{font-size:clamp(27px,4vw,38px);line-height:1.2;margin:0 0 8px}
.bhq-directory-heading p{margin:0;color:#666;font-size:15px}
.bhq-directory-tabs{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:0 0 25px;padding-bottom:13px;border-bottom:1px solid #e8e8e8}
.bhq-directory-tabs a{display:inline-flex;align-items:center;border:1px solid #ddd;border-radius:24px;background:white;padding:8px 13px;color:#32323a;font-size:13px;font-weight:700;text-decoration:none;line-height:1.3}
.bhq-directory-tabs a:hover,.bhq-directory-tabs a.is-active{background:#242332;border-color:#242332;color:white}
.bhq-directory-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}
.bhq-directory-card{margin:0;overflow:hidden;border:1px solid #e8e8eb;border-radius:10px;background:white}
.bhq-directory-card-link{display:block;color:inherit;text-decoration:none;height:100%}
.bhq-directory-card-link:hover strong{text-decoration:none}
.bhq-directory-card img,.bhq-directory-placeholder{display:block;width:100%;aspect-ratio:4/3;object-fit:cover;background:#f1f0f2}
.bhq-directory-placeholder{display:flex;align-items:center;justify-content:center;font-size:45px}
.bhq-directory-card-body{display:block;padding:12px 13px 15px}
.bhq-directory-category{display:block;color:#8b536b;text-transform:uppercase;font-size:11px;font-weight:800;letter-spacing:.04em;margin-bottom:7px}
.bhq-directory-card strong{display:block;color:#17171a;font-size:16px;line-height:1.35}
.bhq-directory-pages{display:flex;justify-content:center;flex-wrap:wrap;gap:8px;margin-top:27px}
.bhq-directory-pages a{display:inline-flex;padding:9px 14px;min-width:38px;justify-content:center;border:1px solid #ddd;border-radius:7px;text-decoration:none;color:inherit}
.bhq-directory-pages a.is-active{background:#242332;color:white;border-color:#242332}
.bhq-directory-empty{padding:24px 0;color:#777}
@media(max-width:740px){.bhq-directory-grid{grid-template-columns:minmax(0,1fr);gap:12px}.bhq-directory-card strong{font-size:14px}.bhq-directory-card-body{padding:10px}.bhq-directory-tabs{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:thin}.bhq-directory-tabs a{flex:0 0 auto}}

/* v1.6.8: hide the theme-generated Quizzes page title on directory pages only. */
body.bhq-directory-page .page-header:has(> h1),
body.bhq-directory-page .entry-header:has(> h1),
body.bhq-directory-page h1.page-title,
body.bhq-directory-page h1.entry-title,
body.bhq-directory-page h1.post-title,
body.bhq-directory-page .post-title > h1,
body.bhq-directory-page .page-title > h1 {display:none!important}
body.bhq-directory-page .bhq-directory {margin-top:8px}

/* v1.6.9 — directory follows the active BuzzerHub theme typography. */
.bhq-directory,
.bhq-directory :where(a, button, span, strong, small, p, h1, h2, h3, h4, li) {
  font-family: inherit !important;
}
.bhq-directory-tabs a,
.bhq-directory-card strong,
.bhq-directory-category,
.bhq-directory-pages a {
  font-family: inherit !important;
}

/* v1.7.0: use the site's Merriweather font consistently throughout the quiz directory. */
body .bhq-directory,
body .bhq-directory *,
body .bhq-directory-tabs a,
body .bhq-directory-card strong,
body .bhq-directory-category,
body .bhq-directory-pages a {
  font-family: "Merriweather", Georgia, "Times New Roman", serif !important;
}


/* v1.7.1 — theme-accurate Merriweather directory card typography and tighter top spacing. */
body.bhq-directory-page .bhq-directory,
body.bhq-directory-page .bhq-directory * {
  font-family: 'Merriweather', Georgia, 'Times New Roman', serif !important;
}
body.bhq-directory-page .bhq-directory-card strong {
  font-family: 'Merriweather', Georgia, 'Times New Roman', serif !important;
  font-weight: 700 !important;
  font-size: var(--bhq-directory-title-desktop, 16px) !important;
  line-height: 1.45 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
}
/* Hide the generic page heading and its empty header block on this shortcode page. */
body.bhq-directory-page .page-header,
body.bhq-directory-page .entry-header,
body.bhq-directory-page .page-title,
body.bhq-directory-page .post-title,
body.bhq-directory-page .bb-page-header,
body.bhq-directory-page .page-heading,
body.bhq-directory-page header.entry-header,
body.bhq-directory-page header.page-header {
  display:none !important;
}
body.bhq-directory-page .bhq-directory {
  margin-top: 0 !important;
  padding-top: 0 !important;
}
body.bhq-directory-page .bhq-directory-tabs {
  margin-top: 0 !important;
  margin-bottom: 12px !important;
  padding-top: 0 !important;
  padding-bottom: 10px !important;
}
@media (max-width: 740px) {
  body.bhq-directory-page .bhq-directory {
    margin-top: 0 !important;
  }
  body.bhq-directory-page .bhq-directory-card strong {
    font-size: var(--bhq-directory-title-mobile, 14px) !important;
    line-height: 1.45 !important;
  }
}

/* v1.7.2 — never draw title underline on desktop, hover, or keyboard focus. */
body.bhq-directory-page .bhq-directory-card-link,
body.bhq-directory-page .bhq-directory-card-link:hover,
body.bhq-directory-page .bhq-directory-card-link:focus,
body.bhq-directory-page .bhq-directory-card-link:active,
body.bhq-directory-page .bhq-directory-card-link strong,
body.bhq-directory-page .bhq-directory-card-link:hover strong,
body.bhq-directory-page .bhq-directory-card-link:focus strong {
 text-decoration:none!important;
 text-decoration-line:none!important;
 border-bottom:0!important;
 box-shadow:none!important;
 background-image:none!important;
}
body.bhq-directory-page .bhq-directory-card-link strong::after,
body.bhq-directory-page .bhq-directory-card-link strong::before {
 content:none!important;
}

/* v1.7.4 — theme-independent title-decoration reset for guests and members.
   No body class dependency: themes and caches may use different page wrappers. */
html body .bhq-directory .bhq-directory-grid article.bhq-directory-card > a.bhq-directory-card-link,
html body .bhq-directory .bhq-directory-grid article.bhq-directory-card > a.bhq-directory-card-link:is(:link,:visited,:hover,:focus,:active),
html body .bhq-directory .bhq-directory-grid article.bhq-directory-card > a.bhq-directory-card-link .bhq-directory-card-body,
html body .bhq-directory .bhq-directory-grid article.bhq-directory-card > a.bhq-directory-card-link .bhq-directory-card-body > strong,
html body .bhq-directory .bhq-directory-grid article.bhq-directory-card > a.bhq-directory-card-link:is(:hover,:focus,:active) .bhq-directory-card-body > strong {
  text-decoration: none !important;
  text-decoration-line: none !important;
  -webkit-text-decoration-line: none !important;
  border-bottom: 0 !important;
  box-shadow: none !important;
  background-image: none !important;
}
html body .bhq-directory .bhq-directory-grid .bhq-directory-card-link::before,
html body .bhq-directory .bhq-directory-grid .bhq-directory-card-link::after,
html body .bhq-directory .bhq-directory-grid .bhq-directory-card-link .bhq-directory-card-body::before,
html body .bhq-directory .bhq-directory-grid .bhq-directory-card-link .bhq-directory-card-body::after,
html body .bhq-directory .bhq-directory-grid .bhq-directory-card-link strong::before,
html body .bhq-directory .bhq-directory-grid .bhq-directory-card-link strong::after {
  content: none !important;
  display: none !important;
  border: 0 !important;
  box-shadow: none !important;
  background: none !important;
}

/* v1.7.5: guest-safe matching of confirmed DevTools inline override. */
html body .bhq-directory-card-link,
html body .bhq-directory-card-link:link,
html body .bhq-directory-card-link:visited,
html body .bhq-directory-card-link:hover,
html body .bhq-directory-card-link:focus,
html body .bhq-directory-card-link .bhq-directory-card-body,
html body .bhq-directory-card-link .bhq-directory-card-body > strong {
 text-decoration:none!important;
 text-decoration-line:none!important;
}
html body .bhq-directory-card-link .bhq-directory-card-body > strong {color:#17171a!important;}

/* v1.7.8: keep directory font sizes independent of body classes (dynamic values are output by shortcode). */
.bhq-directory .bhq-directory-grid .bhq-directory-card .bhq-directory-card-body > strong {font-size:var(--bhq-directory-title-desktop,16px)!important;}
@media(max-width:740px){.bhq-directory .bhq-directory-grid .bhq-directory-card .bhq-directory-card-body > strong{font-size:var(--bhq-directory-title-mobile,14px)!important;}}
