/* Overzicht gratis SEO-tools (/gratis-seo-tools/). Alleen op deze pagina geladen via inc/tools-hub.php. */

.fs-hub-sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* Kop met zoekbalk in de stijl van een command menu */
.fs-hub-hero .fs-h1 { max-width: 900px; }
.fs-hub-search { position: relative; margin-top: 30px; max-width: 760px; display: flex; align-items: center; min-height: 66px; padding: 0 14px 0 56px; border: 1.5px solid var(--fs-line); border-radius: var(--fs-radius-md); background: #fff; box-shadow: 0 18px 50px rgba(8, 21, 43, .10), 0 2px 0 rgba(8, 21, 43, .03); transition: border-color .18s ease, box-shadow .18s ease; }
.fs-hub-search:focus-within { border-color: var(--fs-gold); box-shadow: 0 18px 50px rgba(8, 21, 43, .12), 0 0 0 4px rgba(215, 168, 58, .2); }
.fs-hub-search-icon { position: absolute; left: 20px; top: 50%; transform: translateY(-50%); color: var(--fs-navy); }
.fs-hub-input { flex: 1 1 auto; min-width: 0; height: 62px; padding: 0 8px 0 0; border: 0; background: transparent; color: var(--fs-text); font-size: 1.1rem; outline: none; }
.fs-hub-input::placeholder { color: var(--fs-muted); opacity: 1; }
.fs-hub-input::-webkit-search-cancel-button { cursor: pointer; }
.fs-hub-kbd { flex: 0 0 auto; display: inline-grid; place-items: center; min-width: 32px; height: 32px; padding: 0 8px; border: 1px solid var(--fs-line); border-bottom-width: 2px; border-radius: 8px; background: var(--fs-cream); color: var(--fs-navy); font: 700 .9rem/1 ui-monospace, SFMono-Regular, Menlo, monospace; }
.fs-hub-search:focus-within .fs-hub-kbd { visibility: hidden; }
.fs-hub-count { margin: 12px 0 0 4px; color: var(--fs-muted); font-size: .9375rem; font-weight: 650; }
.fs-hub-count [data-hub-shown] { color: var(--fs-navy); font-variant-numeric: tabular-nums; }
html:not(.js) .fs-hub-search, html:not(.js) .fs-hub-count, html:not(.js) .fs-hub-pills { display: none; }

/* Onderwerpen als pillen */
.fs-hub-section { padding-top: clamp(32px, 4vw, 52px); }
.fs-hub-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.fs-hub-pill { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 16px; border: 1px solid var(--fs-line); border-radius: 999px; background: #fff; color: var(--fs-navy); font-size: .9375rem; font-weight: 700; cursor: pointer; transition: background-color .18s ease, border-color .18s ease, color .18s ease; }
.fs-hub-pill span { min-width: 24px; padding: 1px 7px; border-radius: 999px; background: var(--fs-cream); color: var(--fs-gold-readable); font-size: .8125rem; font-weight: 800; text-align: center; }
.fs-hub-pill:hover { border-color: var(--fs-gold); }
.fs-hub-pill[aria-pressed="true"] { background: var(--fs-navy); border-color: var(--fs-navy); color: #fff; }
.fs-hub-pill[aria-pressed="true"] span { background: rgba(255, 255, 255, .14); color: var(--fs-gold-light); }

/* Bento grid */
.fs-hub-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-flow: row dense; gap: 16px; }
.fs-hub-tile { --fs-mx: 50%; --fs-my: 50%; position: relative; isolation: isolate; display: flex; flex-direction: column; gap: 8px; min-width: 0; padding: 22px; border: 1px solid var(--fs-line); border-radius: var(--fs-radius-md); background: #fff; color: var(--fs-text); overflow: hidden; transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease; }
.fs-hub-tile::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: radial-gradient(360px circle at var(--fs-mx) var(--fs-my), rgba(215, 168, 58, .17), transparent 62%); opacity: 0; transition: opacity .25s ease; pointer-events: none; }
.fs-hub-tile:hover { border-color: var(--fs-gold); box-shadow: var(--fs-shadow); transform: translateY(-2px); }
.js .fs-hub-tile:hover::before, .fs-hub-tile:focus-within::before { opacity: 1; }
.fs-hub-tile:focus-within { border-color: var(--fs-gold); }
.fs-hub-tile[hidden] { display: none; }

.fs-hub-tile-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 6px; }
.fs-hub-icon { display: inline-grid; place-items: center; width: 44px; height: 44px; flex: 0 0 44px; border-radius: 12px; background: var(--fs-cream); color: var(--fs-navy); box-shadow: inset 0 0 0 1px var(--fs-cream-deep); }
.fs-hub-icon svg { width: 22px; height: 22px; }
.fs-hub-name { margin: 0; color: var(--fs-navy); font-size: 1.12rem; font-weight: 750; line-height: 1.25; letter-spacing: -.015em; }
.fs-hub-link { color: inherit; text-decoration: none; }
.fs-hub-link::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: inherit; }
.fs-hub-link:focus-visible { outline: none; }
.fs-hub-tile:has(.fs-hub-link:focus-visible) { outline: 3px solid var(--fs-gold); outline-offset: 3px; }
.fs-hub-short { margin: 0; color: var(--fs-muted); font-size: .95rem; line-height: 1.5; }
.fs-hub-badges { display: flex; flex-wrap: wrap; gap: 6px; margin: 6px 0 0; padding: 0; list-style: none; }
.fs-hub-badges li { padding: 3px 10px; border-radius: 999px; background: var(--fs-paper); border: 1px solid var(--fs-line); color: var(--fs-text); font-size: .8125rem; font-weight: 650; line-height: 1.5; }
.fs-hub-go { margin-top: auto; padding-top: 10px; color: var(--fs-navy); font-size: .9375rem; font-weight: 750; }
.fs-hub-go::after { content: "\2192"; display: inline-block; margin-left: 6px; transition: transform .18s ease; }
.fs-hub-tile:hover .fs-hub-go::after { transform: translateX(3px); }

.fs-hub-preview { position: relative; margin-top: 10px; min-width: 0; }
.fs-hub-tile--feature .fs-hub-preview { flex: 1 1 auto; display: flex; flex-direction: column; justify-content: center; margin-block: 16px 8px; }
.fs-hub-preview > * { max-width: 100%; }

/* Grote tegel: SEO-check */
.fs-hub-tile--feature { grid-column: span 2; grid-row: span 2; padding: clamp(24px, 3vw, 32px); background: radial-gradient(circle at 100% 0%, rgba(215, 168, 58, .13), transparent 22rem), #fff; }
.fs-hub-tile--feature .fs-hub-icon { width: 52px; height: 52px; flex-basis: 52px; background: var(--fs-gold); color: var(--fs-navy-dark); box-shadow: none; }
.fs-hub-tile--feature .fs-hub-name { font-size: clamp(1.5rem, 2.4vw, 2rem); letter-spacing: -.03em; line-height: 1.1; }
.fs-hub-tile--feature .fs-hub-short { font-size: 1.05rem; max-width: 460px; }

/* Navy tegel: AI-zichtbaarheidscheck */
.fs-hub-tile--ai { grid-column: span 2; background: radial-gradient(circle at 90% 10%, rgba(215, 168, 58, .22), transparent 18rem), var(--fs-navy); border-color: var(--fs-navy); color: #fff; }
.fs-hub-tile--ai::before { background: radial-gradient(360px circle at var(--fs-mx) var(--fs-my), rgba(227, 189, 94, .24), transparent 62%); }
.fs-hub-tile--ai:hover, .fs-hub-tile--ai:focus-within { border-color: var(--fs-gold-light); }
.fs-hub-tile--ai .fs-hub-icon { background: rgba(255, 255, 255, .1); color: var(--fs-gold-light); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16); }
.fs-hub-tile--ai .fs-hub-name { color: #fff; font-size: 1.35rem; }
.fs-hub-tile--ai .fs-hub-short { color: #d8e0ec; }
.fs-hub-tile--ai .fs-hub-badges li { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .18); color: #eef2f8; }
.fs-hub-tile--ai .fs-hub-go { color: var(--fs-gold-light); }
.fs-hub-tile--ai .fs-hub-preview { color: var(--fs-text); }
.fs-hub-new { padding: 3px 11px; border-radius: 999px; background: var(--fs-gold); color: var(--fs-navy-dark); font-size: .8125rem; font-weight: 800; letter-spacing: .04em; }
.fs-hub-tile--ai:has(.fs-hub-link:focus-visible) { outline-color: var(--fs-gold-light); }

/* Promotegel aan het eind van het raster */
.fs-hub-tile--promo { grid-column: span 3; justify-content: center; gap: 4px; background: var(--fs-cream); border-style: dashed; border-color: #cfc6b3; }
.fs-hub-tile--promo:hover { transform: none; box-shadow: none; }
.fs-hub-promo-label { margin: 0; color: var(--fs-gold-readable); font-size: .8125rem; font-weight: 850; letter-spacing: .14em; text-transform: uppercase; }
.fs-hub-promo-text { margin: 0; color: var(--fs-navy); font-size: 1.05rem; font-weight: 650; line-height: 1.45; max-width: 620px; }
.fs-hub-tile--promo .fs-text-link { align-self: flex-start; }
.fs-hub-grid.is-filtered .fs-hub-tile--promo { display: none; }

/* Lege toestand */
.fs-hub-empty { padding: clamp(28px, 4vw, 44px); border: 1px dashed var(--fs-line); border-radius: var(--fs-radius-md); background: var(--fs-paper); text-align: center; }
.fs-hub-empty p { margin: 0 0 12px; color: var(--fs-muted); }
.fs-hub-empty .fs-hub-empty-title { color: var(--fs-navy); font-size: 1.25rem; font-weight: 750; overflow-wrap: anywhere; }
.fs-hub-suggest { display: inline; min-height: 0; padding: 0 2px; border: 0; background: none; color: var(--fs-navy); font-weight: 750; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.fs-hub-empty[hidden] { display: none; }

/* Tellers */
.fs-hub-stats { margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.fs-hub-stats > div { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 6px; padding: 22px 22px 20px; border: 1px solid var(--fs-cream-deep); border-radius: var(--fs-radius-md); background: #fff; }
.fs-hub-stats dt { color: var(--fs-muted); font-size: .95rem; line-height: 1.4; }
.fs-hub-stats dd { margin: 0; color: var(--fs-navy); font-size: clamp(2.4rem, 4.4vw, 3.4rem); font-weight: 750; letter-spacing: -.035em; line-height: 1; font-variant-numeric: tabular-nums; }
.fs-hub-stats dd small { font-size: .45em; font-weight: 750; letter-spacing: 0; color: var(--fs-gold-readable); }
.fs-hub-stats dd::after { content: ""; display: block; width: 32px; height: 3px; margin-top: 14px; border-radius: 2px; background: var(--fs-gold); }

/* Vergelijking */
.fs-hub-compare { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; align-items: stretch; max-width: 1000px; }
.fs-hub-card { display: flex; flex-direction: column; padding: clamp(24px, 3vw, 34px); border: 1px solid var(--fs-line); border-radius: var(--fs-radius-lg); background: rgba(255, 255, 255, .72); }
.fs-hub-card--pro { border: 2px solid var(--fs-gold); background: #fffbef; box-shadow: var(--fs-shadow); }
.fs-hub-card-label { margin: 0; color: var(--fs-navy); font-size: 1.3rem; font-weight: 750; letter-spacing: -.02em; }
.fs-hub-card-price { margin: 4px 0 18px; color: var(--fs-navy); font-size: 1.9rem; font-weight: 750; letter-spacing: -.03em; line-height: 1.2; }
.fs-hub-card-price small { font-size: .9rem; font-weight: 600; letter-spacing: 0; color: var(--fs-muted); }
.fs-hub-checks { margin: 0; padding: 18px 0 0; border-top: 1px solid var(--fs-line); list-style: none; display: grid; gap: 12px; }
.fs-hub-checks li { position: relative; padding-left: 34px; line-height: 1.5; }
.fs-hub-checks li::before { content: ""; position: absolute; left: 0; top: 1px; width: 22px; height: 22px; border-radius: 50%; background-position: center; background-repeat: no-repeat; background-size: 13px; }
.fs-hub-checks .is-yes::before { background-color: var(--fs-green); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E"); }
.fs-hub-checks .is-no { color: var(--fs-muted); }
.fs-hub-checks .is-no::before { background-color: var(--fs-cream-deep); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235d6b80' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M7 7l10 10M17 7L7 17'/%3E%3C/svg%3E"); }
.fs-hub-card-actions { margin-top: auto; padding-top: 26px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.fs-hub-card-note { margin: 8px 0 0; color: var(--fs-muted); font-size: .875rem; }

/* Tablet */
@media (max-width: 980px) {
  .fs-hub-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fs-hub-tile--feature { grid-row: auto; }
  .fs-hub-tile--promo { grid-column: span 1; }
  .fs-hub-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Mobiel */
@media (max-width: 640px) {
  .fs-hub-grid, .fs-hub-compare, .fs-hub-stats { grid-template-columns: minmax(0, 1fr); }
  .fs-hub-tile--feature, .fs-hub-tile--ai, .fs-hub-tile--promo { grid-column: auto; grid-row: auto; }
  .fs-hub-search { min-height: 58px; padding-left: 48px; margin-top: 24px; }
  .fs-hub-search-icon { left: 16px; }
  .fs-hub-input { height: 54px; font-size: 1rem; }
  .fs-hub-kbd, .fs-hub-count-hint { display: none; }
  .fs-hub-pill { padding: 8px 14px; font-size: .875rem; }
  .fs-hub-stats > div { padding: 18px; }
  .fs-hub-card-actions .fs-button { width: 100%; }
}

@media (hover: none) {
  .fs-hub-kbd, .fs-hub-count-hint { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .fs-hub-tile, .fs-hub-tile::before, .fs-hub-go::after, .fs-hub-search, .fs-hub-pill { transition: none; }
  .fs-hub-tile:hover { transform: none; }
}

/* Het voorbeeld in de grote SEO-check-tegel vult de tegel in plaats van klein in het midden te zweven. */
.fs-hub-tile--feature .fs-hub-preview { justify-content: flex-end; }
.fs-hub-tile--feature .fs-hub-preview .fs-pv { max-width: none; width: 100%; }
@media (min-width: 981px) {
  .fs-hub-tile--feature .fs-hub-preview .fs-pv { font-size: 1.08em; padding: 22px; }
  .fs-hub-tile--feature .fs-pv-ring { transform: scale(1.18); transform-origin: left center; margin-right: 12px; }
}
