/* "Andere websites" (include/websites_list.php, script/websites.js). Design: mockups/websites-thema (mockup 1, 2026-11-09):
   components of the Fable theme (feature style 1, notice style 1, blog meta row, button style 1, feature icons).
   House-style variables from base.css. Teal and ochre only as a surface with dark text.
   The theme sets font-family, line-height and outline on every element (base.css "*"), so the rules set them here. */

.clb-websites, .clb-websites * { box-sizing: border-box; line-height: 1.5; }
.clb-websites, .clb-websites *:not(.fas) { font-family: 'Open Sans', Arial, sans-serif; }
.clb-websites [hidden] { display: none !important; }
.clb-websites .ws-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.clb-websites-message { margin: 0 0 30px; padding: 16px 20px; border-left: 6px solid var(--clb-purple, #532464);
  background: var(--clb-surface-soft, #F5F5F3); color: var(--clb-ink, #1A1A1A); }
.clb-websites .template-icon-feature { display: inline-block; flex: 0 0 auto; vertical-align: middle; }

/* Focus ring (the theme removes outlines) */
.clb-websites button:focus-visible, .clb-websites a:focus-visible { outline: 3px solid var(--clb-purple, #532464); outline-offset: 2px; }
.clb-websites .ws-toggle:focus-visible { outline-color: var(--clb-primary, #C4004B); }

/* Topic tiles: theme feature style 1 (purple circle, white theme icon) */
.clb-websites .ws-question { margin: 0 0 16px; text-align: center; }
.clb-websites .ws-tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin: 0 0 25px; }
.clb-websites .ws-tile { display: flex; flex-direction: column; align-items: center; gap: 6px; margin: 0; padding: 10px 8px 14px;
  border: 0; border-radius: 5px; background: none; color: var(--clb-ink, #1A1A1A); text-align: center; cursor: pointer; }
.clb-websites .ws-tile-circle { display: flex; align-items: center; justify-content: center; width: 96px; height: 96px; margin: 0 0 10px;
  border-radius: 50%; background: var(--clb-purple, #532464); }
.clb-websites .ws-tile-kid { font-size: 17px; line-height: 1.3; color: var(--clb-purple, #532464); }
.clb-websites .ws-tile-label { font-size: 13px; line-height: 1.3; color: #666; }
.clb-websites .ws-tile[aria-pressed="true"] .ws-tile-circle { box-shadow: 0 0 0 5px #fff, 0 0 0 8px var(--clb-primary, #C4004B); }
.clb-websites .ws-tile[aria-pressed="true"] .ws-tile-kid { font-weight: 700; }
@media (prefers-reduced-motion: no-preference) {
  .clb-websites .ws-tile-circle { transition: box-shadow .2s, transform .2s; }
  .clb-websites .ws-tile:hover .ws-tile-circle { transform: translateY(-3px); }
}

/* "Talk to someone" toggle (outer border taupe, Tom 2026-11-09: not in the palette, 4.0:1 on white) */
.clb-websites .ws-toggle-row { text-align: center; }
.clb-websites .ws-toggle { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 18px; padding: 10px 16px 10px 12px;
  border: 2px solid #8B7D72; border-radius: 5px; background: #fff; color: var(--clb-ink, #1A1A1A);
  font-size: 14px; text-align: left; cursor: pointer; }
.clb-websites .ws-toggle strong { color: var(--clb-purple, #532464); }
.clb-websites .ws-toggle-box { flex: 0 0 22px; display: flex; align-items: center; justify-content: center; width: 22px; height: 22px;
  border: 2px solid var(--clb-purple, #532464); border-radius: 4px; color: transparent; font-size: 12px; }
.clb-websites .ws-toggle-box .fas { font-family: 'Font Awesome 5 Free'; line-height: 1; }
.clb-websites .ws-toggle:hover, .clb-websites .ws-toggle[aria-pressed="true"] { background: #F3EDF5; }
.clb-websites .ws-toggle[aria-pressed="true"] .ws-toggle-box { background: var(--clb-purple, #532464); color: #fff; }

/* Count and reset */
.clb-websites .ws-listhead { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 10px; }
.clb-websites .ws-count { margin: 0 0 20px; color: #555; font-weight: 600; }
.clb-websites .ws-reset { margin: 0; padding: 0; border: 0; background: none; color: var(--clb-primary, #C4004B);
  font-size: 14px; font-weight: 700; text-decoration: underline; cursor: pointer; }

/* Box "nu meteen praten": theme notice style 1 (magenta block left from base.css), one 1px border around the box */
.clb-websites .ws-now { margin: 0 0 30px; border: 1px solid var(--clb-hairline, #DEDEDE); }
.clb-websites .ws-now .template-component-notice-content { display: flex; width: auto; }
.clb-websites .ws-now .template-component-notice-content-left { display: flex; flex: 0 0 90px; align-items: center; justify-content: center; }
.clb-websites .ws-now .template-component-notice-content-right { flex: 1; padding: 16px 22px; border: 0; }
.clb-websites .ws-now-title { margin: 0 0 6px; color: var(--clb-purple, #532464); font-size: 16px; }
.clb-websites .ws-now ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 24px; }
.clb-websites .ws-now li { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 0; padding: 0; color: var(--clb-ink, #1A1A1A); }
.clb-websites .ws-now strong { color: var(--clb-primary, #C4004B); font-size: 18px; }
/* Two groups (Bellen, Chatten) side by side on wide screens, below each other on narrow ones */
.clb-websites .ws-now-groups { display: flex; flex-wrap: wrap; gap: 10px 48px; }
.clb-websites .ws-now-group { min-width: 0; }
.clb-websites .ws-now-group[hidden] { display: none; }
.clb-websites .ws-now-group-title { display: flex; align-items: center; gap: 6px; margin: 4px 0 6px; color: var(--clb-purple, #532464);
  font-size: 14px; font-weight: 700; line-height: 1.4; }
.clb-websites .ws-now li[hidden] { display: none; }
.clb-websites .ws-now .ws-now-link { color: var(--clb-ink, #1A1A1A); text-decoration: none; }
.clb-websites .ws-now a.ws-now-link:not([href^="tel:"]) { color: var(--clb-primary, #C4004B); font-weight: 700; font-size: 16px;
  text-decoration: underline; text-underline-offset: 2px; }
.clb-websites .ws-now .ws-now-link:hover, .clb-websites .ws-now .ws-now-link:focus { text-decoration: underline; }
.clb-websites .ws-now a.ws-now-link:hover, .clb-websites .ws-now a.ws-now-link:focus { color: var(--clb-primary-active, #920038); }
.clb-websites .ws-now .ws-now-link:focus-visible { outline: 2px solid var(--clb-purple, #532464); outline-offset: 2px; }
.clb-websites .ws-now-next { color: #555; font-size: 14px; }
.clb-websites .ws-now-next:empty { display: none; }
/* Home page: space between the slider and the box; the next section has its own padding */
.clb-home-help-section[hidden] { display: none; }
.clb-websites-home .ws-now { margin: 40px 0 10px; }

/* Home page box: tabs Chatten / Bellen, both purple (house style, Tom 2026-11-10) with white text and white icon, no
   extra mark on the selected tab (Tom: no line). One list at a time. */
.clb-websites .ws-now-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 6px 0 12px; }
.clb-websites .ws-now-tabs[hidden], .clb-websites .ws-now-tab[hidden], .clb-websites .ws-now-panel[hidden] { display: none; }
.clb-websites .ws-now-tab { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; margin: 0; padding: 6px 18px;
  border: 2px solid var(--clb-purple, #532464); border-radius: 0; background: var(--clb-purple, #532464); color: #FFF;
  font-family: 'Open Sans', sans-serif; font-size: 15px; font-weight: 700; line-height: 1.2; cursor: pointer; }
.clb-websites .ws-now-tab:hover { border-color: #3B1948; background: #3B1948; }
.clb-websites .ws-now-tab:focus-visible { outline: 2px solid var(--clb-purple, #532464); outline-offset: 2px; }
.clb-websites .ws-now-tab-icon { display: none; }
.clb-websites .ws-now-tab-icon-on { display: inline-flex; }
/* Entries after each other, separated by a thin vertical line. Every entry has the line on its left; the list is
   shifted 16px to the left and its first 8px are clipped (not 1px: on a half-pixel position the line would still
   show), so an entry that starts a row shows no line; the link and its focus ring start at 12px or more. */
.clb-websites .ws-now-panel ul { gap: 8px 0; margin-left: -16px; clip-path: inset(-8px -8px -8px 8px); }
.clb-websites .ws-now-panel li { position: relative; margin-right: 16px; padding-left: 16px; }
.clb-websites .ws-now-panel li::before { content: ''; position: absolute; left: 0; top: 50%; height: 18px; margin-top: -9px;
  border-left: 1px solid #B8B8B8; }

/* Cards */
.clb-websites .ws-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.clb-websites .ws-card { display: flex; flex-direction: column; margin: 0; padding: 0; border: 1px solid var(--clb-hairline, #DEDEDE);
  background: #fff; }
.clb-websites .ws-card-logo { display: flex; align-items: center; justify-content: center; height: 120px; padding: 18px 30px;
  border-bottom: 1px solid var(--clb-hairline, #DEDEDE); }
.clb-websites .ws-card-logo img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.clb-websites .ws-card-logo-text { font-size: 20px; font-weight: 700; color: var(--clb-purple, #532464); text-align: center; }
.clb-websites .ws-card-body { flex: 1; padding: 20px 22px 0; }
.clb-websites .ws-card-body h5 { margin: 0 0 8px; color: var(--clb-purple, #532464); font-size: 20px; }
.clb-websites .ws-card-body p { margin: 0 0 16px; font-size: 14px; color: var(--clb-ink, #1A1A1A); }

/* Theme blog meta row (template-post-meta + tag icon): domains as text */
.clb-websites .ws-meta { margin: 0 0 14px; padding: 0 0 8px; border-color: var(--clb-hairline, #DEDEDE); color: #666; font-size: 13px; text-align: left; }
.clb-websites .ws-meta > div { margin: 0; padding-left: 24px; background-position: 0 3px; line-height: 1.5; }

/* Help part: dotted line, title, channels with theme icons, hours with the blog date icon */
.clb-websites .ws-help { margin: 0 22px 20px; padding: 14px 0 0; border-top: 2px dotted var(--clb-hairline, #DEDEDE); font-size: 14px; }
.clb-websites .ws-help-title { margin: 0 0 8px; color: var(--clb-purple, #532464); font-size: 14px; font-weight: 700; }
.clb-websites .ws-help ul { list-style: none; margin: 0; padding: 0; }
.clb-websites .ws-ch { display: block; margin: 0 0 8px; padding: 0; color: var(--clb-ink, #1A1A1A); }
.clb-websites .ws-ch:last-child { margin-bottom: 0; }
.clb-websites .ws-ch-main { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; }
.clb-websites .ws-ch-main strong { color: var(--clb-primary, #C4004B); }
.clb-websites .ws-ch-hours { display: block; margin: 2px 0 0 24px; padding-left: 22px; font-size: 12px; line-height: 1.4; color: #555; background-position: 0 2px; }
.clb-websites .ws-ch-next { font-weight: 700; color: var(--clb-ink, #1A1A1A); }
.clb-websites .ws-help-info p { display: flex; align-items: center; gap: 8px; margin: 0; color: #555; }

/* Live badge (text, not colour only) */
.clb-websites .ws-live:empty { display: none; }
.clb-websites .ws-live { display: inline-flex; align-items: center; gap: 5px; padding: 0 8px; border-radius: 10px;
  font-size: 12px; font-weight: 700; line-height: 1.6; white-space: nowrap; }
.clb-websites .ws-live::before { content: ''; width: 8px; height: 8px; border-radius: 50%; }
.clb-websites .ws-live-open { background: #E3F4E7; color: #1E5B2C; }
.clb-websites .ws-live-open::before { background: var(--clb-success, #5DB872); box-shadow: 0 0 0 2px rgba(93,184,114,.35); }
.clb-websites .ws-live-closed { background: #EEEEEE; color: #555; font-weight: 600; }
.clb-websites .ws-live-closed::before { background: #999; }
@media (prefers-reduced-motion: no-preference) {
  .clb-websites .ws-live-open::before { animation: ws-pulse 2s ease-in-out infinite; }
}
@keyframes ws-pulse { 50% { box-shadow: 0 0 0 5px rgba(93,184,114,0); } }

/* Button: theme button style 1 (colours and arrow from base.css) */
.clb-websites .ws-card-foot { padding: 0 20px 22px; text-align: center; }
.clb-websites .ws-btn { display: inline-block; }

/* Pager spacing (overridden in the subgrid block below) */
.clb-websites nav.ws-pager.search-pagination { margin-top: 30px; }

/* Same height of the help line on every card of a row (Tom 2026-11-09): each card spans 4 rows of the list grid
   (logo, text, help, button) and shares them via subgrid; the buttons stay at the bottom. Without subgrid: the flex
   column above (line right under the text). Row spacing comes from the card margin, so the pager needs no margin. */
@supports (grid-template-rows: subgrid) {
  .clb-websites .ws-grid { row-gap: 0; }
  .clb-websites .ws-card { display: grid; grid-row: span 4; grid-template-rows: subgrid; row-gap: 0; margin-bottom: 30px; }
  .clb-websites .ws-help { align-self: start; }
  .clb-websites nav.ws-pager.search-pagination { margin-top: 0; }
}

/* Theme column widths (responsive.css): 1050 / 930 (< 1070) / 750 (< 980) / 460 (< 788) / 300 (< 500) */
@media only screen and (max-width: 979px) {
  .clb-websites .ws-grid { grid-template-columns: repeat(2, 1fr); }
  .clb-websites .ws-tiles { grid-template-columns: repeat(2, 1fr); }
}
@media only screen and (max-width: 787px) {
  .clb-websites .ws-grid { grid-template-columns: 1fr; }
}
@media only screen and (max-width: 499px) {
  .clb-websites .ws-tiles { grid-template-columns: 1fr; gap: 6px; }
  .clb-websites .ws-tile { display: grid; grid-template-columns: 56px 1fr; column-gap: 12px; justify-items: start; text-align: left; }
  .clb-websites .ws-tile-circle { grid-row: span 2; width: 56px; height: 56px; margin: 0; }
  .clb-websites .ws-now .template-component-notice-content-left { flex-basis: 56px; }
  /* Home page box: both tabs side by side down to 300px */
  .clb-websites-home .ws-now .template-component-notice-content-right { padding: 14px; }
  .clb-websites .ws-now-tabs { gap: 6px; }
  .clb-websites .ws-now-tab { padding: 6px 10px; font-size: 14px; }
}

/* Pager (script/websites.js, only >= 980px): house-style blocks from base.css "search-pagination" */
.clb-websites .ws-pager ul { margin: 0; padding: 0; list-style: none; }
/* The first card of a new page gets the focus after a pager click on a low screen (websites.js): always outlined. */
.clb-websites .ws-card:focus { outline: 3px solid var(--clb-purple, #532464); outline-offset: 2px; }
