/* Info-Handicap Mitgliederverzeichnis – styles. Generated by build/build.js; edit src/viewer.css. */
/* Info-Handicap member directory — layout only.
 *
 * Buttons, inputs, selects, labels and focus outlines are NOT styled here:
 * they use the theme's own rules on info-handicap.lu (blue 2 px borders,
 * 12 px radius, white-on-blue buttons, dashed focus outline in the accent
 * colour). The standalone preview page ships a small shim that mimics them.
 * Text is always black; bold is reserved for headings and card titles. */
.ihm{
  --ihm-accent:var(--color_accent,var(--ih-blue,#0000b5));
  --ihm-heading:var(--color_content_headings,var(--ihm-accent));
  --ihm-text:var(--color_content_text,var(--ihm-accent)); /* the site's text colour (blue on info-handicap.lu) */
  --ihm-bg:#fff;
  --ihm-surface:#fff;
  --ihm-tint:#e6e4ff;          /* light lavender, from the site's #c3beff */
  --ihm-border:#c3beff;
  --ihm-logo-bg:#fff;
  --ihm-radius:12px;
  color:var(--ihm-text);
  font-family:inherit;
  font-weight:400;
  line-height:1.5;
  box-sizing:border-box;
}
.ihm *,.ihm *::before,.ihm *::after{box-sizing:inherit}
.ihm [hidden]{display:none!important} /* the display rules below must never override the hidden attribute */
.ihm dialog:not([open]){display:none} /* browsers without dialog support would show the closed dialogs in the page */
.ihm .ihm-i{width:1.3em;height:1.3em;flex:none;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;vertical-align:-.3em}
/* Info-Handicap pictograms (icons/SVG) carry their own fills and strokes and
 * need more room than the line icons to stay legible */
.ihm .ihm-i.ihm-pi{width:1.9em;height:1.9em;vertical-align:-.6em}
.ihm-section h4 .ihm-pi{width:2.1em;height:2.1em}
.ihm-contact .ihm-i.ihm-pi{width:1.8em;height:1.8em;margin-top:-.25em}
.ihm-badge .ihm-pi,.ihm-meta .ihm-pi,.ihm-more .ihm-pi{width:1.5em;height:1.5em}
.ihm ul,.ihm ol{list-style:none;margin:0;padding:0}
.ihm p{margin:0;color:var(--ihm-text)}
/* Buttons: the theme's own button recipe, written with the theme's variables
 * so the reset and close buttons look like every other button on the site
 * (white on blue) in every state, including keyboard focus. */
/* Padding and line-height match the theme's input recipe (.618em 1em, inherited
 * line-height) so the button is exactly as tall as the search field and the
 * select next to it; the site's accessibility toolkit forces the font size
 * inline, which is why the size is not reduced here. */
.ihm button.ihm-btn{display:inline-flex;align-items:center;gap:.5em;white-space:nowrap;padding:.618em 1em;font-size:1em;font-weight:700;line-height:inherit;background:var(--color_button_background,var(--ihm-accent));color:var(--color_button_text,#fff);border:2px solid var(--color_button_background,var(--ihm-accent));border-radius:var(--ihm-radius);cursor:pointer}
.ihm button.ihm-btn:hover,.ihm button.ihm-btn:focus,.ihm button.ihm-btn:active{background:var(--color_button_hover_background,var(--ihm-accent));color:var(--color_button_text,#fff);box-shadow:inset 0 -1px}
.ihm button.ihm-btn:focus-visible{outline:2px dashed var(--ihm-accent);outline-offset:3px}
.ihm button .ihm-i{width:1.5em;height:1.5em}

/* toolbar --------------------------------------------------------------- */
/* One row: the search field takes the room that is left (up to 520 px), the
 * button group keeps its natural width and its buttons stay together. When
 * both do not fit, the group moves below the search field as a whole.
 * (This was a two-column grid before. With the site's larger text on wide
 * screens and the filter badge showing, the grid gave each column half the
 * width, which was a few pixels too little for the buttons, and one of them
 * dropped to a second line.) */
.ihm .ihm-toolbar{display:flex;flex-flow:row wrap;align-items:flex-end;justify-content:flex-start;gap:12px 20px;margin:0 0 14px;padding:0;border:0;background:none;max-width:none;position:static}
.ihm .ihm-field{display:grid;flex:1 1 280px;max-width:520px;min-width:0;margin:0}
.ihm .ihm-field-btn{display:flex;flex:0 0 auto;flex-wrap:nowrap;gap:10px;max-width:100%}
.ihm button.ihm-btn[aria-pressed="true"]{background:var(--ihm-tint);color:var(--ihm-accent);box-shadow:inset 0 0 0 2px var(--ihm-accent)}
.ihm button.ihm-btn[aria-pressed="true"]:hover,.ihm button.ihm-btn[aria-pressed="true"]:focus{background:var(--ihm-tint);color:var(--ihm-accent)}
/* filter variant: button badge, active-filter chips, filter dialog ------- */
.ihm .ihm-filter-count{display:inline-grid;place-items:center;min-width:1.7em;height:1.7em;padding:0 .45em;border-radius:999px;background:#fff;color:var(--ihm-accent);font-size:.85em;line-height:1}
.ihm button.ihm-link-btn{display:inline-flex;align-items:center;min-height:44px;margin:0;padding:.3em 0;font:inherit;background:none;border:0;border-radius:0;color:var(--ihm-accent);text-decoration:underline;cursor:pointer;box-shadow:none}
.ihm button.ihm-link-btn:hover,.ihm button.ihm-link-btn:focus{background:none;color:var(--ihm-accent);text-decoration:none;box-shadow:none}
.ihm .ihm-active{display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px;margin:0 0 18px}
.ihm .ihm-active-label{font-weight:700}
.ihm .ihm-active-list{display:flex;flex-wrap:wrap;gap:8px}
.ihm .ihm-active-list li{padding:0;background:none}
.ihm button.ihm-chip-btn{display:inline-flex;align-items:center;gap:8px;min-height:44px;margin:0;padding:6px 14px;font:inherit;font-size:.9em;color:var(--ihm-text);background:var(--ihm-tint);border:2px solid var(--ihm-border);border-radius:999px;cursor:pointer;box-shadow:none}
.ihm button.ihm-chip-btn:hover,.ihm button.ihm-chip-btn:focus{border-color:var(--ihm-accent);background:var(--ihm-tint);color:var(--ihm-text)}
.ihm-vh{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap}
.ihm-filter-dialog .ihm-dialog-bar-title{justify-content:space-between;align-items:center;gap:12px}
.ihm-filter-dialog .ihm-filter-title{display:flex;align-items:center;gap:8px;margin:0;font-size:1.3em}
.ihm-filter-groups{display:grid;grid-template-columns:1fr;gap:12px}
/* multi-select dropdowns: a select-looking button (theme select colours) that
 * discloses the group's checkbox list; only one list is open at a time */
.ihm .ihm-dd{border:2px solid var(--ihm-accent);border-radius:var(--ihm-radius);background:var(--ihm-surface);overflow:hidden}
.ihm button.ihm-dd-btn{display:flex;width:100%;align-items:center;gap:10px;min-height:52px;margin:0;padding:.5em 1em;font:inherit;font-weight:400;text-align:left;color:var(--ihm-text);background:var(--ihm-surface);border:0;border-radius:0;cursor:pointer;box-shadow:none;text-transform:none;letter-spacing:0}
.ihm button.ihm-dd-btn:hover,.ihm button.ihm-dd-btn:focus{background:var(--ihm-tint);color:var(--ihm-text);box-shadow:none}
.ihm button.ihm-dd-btn:focus-visible{outline:2px dashed var(--ihm-accent);outline-offset:-5px}
.ihm .ihm-dd-label{flex:1 1 auto}
.ihm .ihm-dd-count{font-weight:700;color:var(--ihm-accent)}
.ihm .ihm-dd-btn .ihm-i{width:1.4em;height:1.4em;color:var(--ihm-accent);transition:transform .15s}
.ihm .ihm-dd-open .ihm-dd-btn .ihm-i{transform:rotate(180deg)}
.ihm .ihm-fs{min-width:0;margin:0;padding:0;border:0}
.ihm .ihm-dd-panel{padding:6px 14px 10px;border-top:2px solid var(--ihm-border)}
.ihm .ihm-fs ul{display:grid;grid-template-columns:minmax(0,1fr);gap:0} /* the column may shrink below its longest word */
.ihm .ihm-fs li{display:flex;align-items:flex-start;gap:10px;min-height:40px;min-width:0}
.ihm .ihm-fs input[type=checkbox],.ihm .ihm-single input[type=checkbox]{-webkit-appearance:auto;appearance:auto;flex:none;width:22px;height:22px;margin:.35em 0 0;padding:0;border:0;accent-color:var(--ihm-accent);cursor:pointer}
.ihm .ihm-fs label,.ihm .ihm-single label{display:block;min-width:0;margin:0;padding:.3em 0;font-weight:400;line-height:1.4;cursor:pointer;color:var(--ihm-text);overflow-wrap:anywhere;-webkit-hyphens:auto;hyphens:auto}
/* a filter with one option is a plain checkbox, boxed like the dropdowns */
.ihm .ihm-single{display:flex;align-items:flex-start;gap:10px;min-height:52px;padding:.55em 1em;border:2px solid var(--ihm-accent);border-radius:var(--ihm-radius);background:var(--ihm-surface)}
.ihm .ihm-fs-n{white-space:nowrap}
/* The bar sticks to the bottom of the dialog. A sticky element stops at the
 * padding of its scroll container, so the dialog's bottom padding lives in the
 * bar itself; otherwise list text would show through below the bar. */
.ihm-filter-actions{position:sticky;bottom:0;display:flex;flex-wrap:wrap;align-items:center;gap:8px 20px;margin-top:20px;padding:12px 0 24px;padding-bottom:calc(24px + env(safe-area-inset-bottom,0px));background:var(--ihm-bg)}
.ihm .ihm-toolbar label{display:block;margin:0;font-weight:400;line-height:1.3;color:var(--ihm-text)}
.ihm .ihm-toolbar label .ihm-i{margin-right:.35em}
.ihm .ihm-toolbar .ihm-hint{display:block;font-size:.85em;color:var(--ihm-text)}
.ihm .ihm-toolbar input,.ihm .ihm-toolbar select{display:block;width:100%;max-width:none;margin:0;color:var(--ihm-text)}
.ihm-status{display:flex;flex-wrap:wrap;gap:8px 24px;align-items:baseline;margin:0 0 22px;font-size:.95em}
.ihm-status p{display:inline-flex;align-items:center;gap:6px}
.ihm:not(.ihm-js) .ihm-js-only{display:none}
/* The filter form only works with JavaScript; the detail articles are only
 * needed without it (with JavaScript they open in the dialog). The ihm-js class
 * is set by an inline script before the block is painted, so nothing jumps. */
.ihm:not(.ihm-js) .ihm-toolbar{display:none}
.ihm.ihm-js:not(.ihm-nodialog) .ihm-details{display:none}
.ihm .ihm-empty{margin:0 0 22px;padding:16px;border:2px dashed var(--ihm-border);border-radius:var(--ihm-radius)}
@media (max-width:767px){
  .ihm .ihm-field{flex-basis:100%;max-width:none}
  .ihm .ihm-field-btn{flex:1 1 100%;flex-wrap:wrap}
  .ihm button.ihm-btn{white-space:normal} /* long labels wrap instead of running out of a narrow screen */
  .ihm .ihm-field-btn button{flex:1 1 auto;justify-content:center}
}

/* cards ----------------------------------------------------------------- */
.ihm-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:20px}
.ihm.ihm-js .ihm-grid:not([data-shuffled]){visibility:hidden}
.ihm-card{min-width:0}
/* The whole card is a link; the site styles links bold and blue, so these
 * selectors carry extra specificity (.ihm a.ihm-card-link) to keep the
 * description text black and regular. */
.ihm a.ihm-card-link{display:flex;flex-direction:column;height:100%;color:var(--ihm-text);font-weight:400;text-decoration:none;background:var(--ihm-surface);border:2px solid var(--ihm-border);border-radius:var(--ihm-radius);overflow:hidden}
.ihm a.ihm-card-link span{font-weight:400;color:var(--ihm-text)}
.ihm a.ihm-card-link:hover,.ihm a.ihm-card-link:focus{border-color:var(--ihm-accent);color:var(--ihm-text);text-decoration:none}
.ihm a.ihm-card-link .ihm-name{font-weight:700;color:var(--ihm-heading)}
.ihm a.ihm-card-link .ihm-more{color:var(--ihm-accent);text-decoration:underline}
.ihm a.ihm-card-link:hover .ihm-name,.ihm a.ihm-card-link:focus .ihm-name{text-decoration:underline}
.ihm-logo,.ihm-tile{display:block;position:relative;aspect-ratio:3/2;border-bottom:2px solid var(--ihm-border)}
.ihm-logo{background:var(--ihm-logo-bg)}
/* max-width: the old member table on the site carries a page-wide
 * "img{max-width:200px!important}" rule that would otherwise cut the logos */
.ihm .ihm-logo img,.ihm .ihm-detail-logo img{max-width:none!important}
.ihm-logo img{position:absolute;top:16px;left:16px;width:calc(100% - 32px);height:calc(100% - 32px);object-fit:contain;margin:0}
.ihm-tile{display:grid;place-items:center;padding:18px;background:var(--ihm-tint);color:var(--ihm-heading);font-weight:700;font-size:1.4em;text-align:center;line-height:1.2;overflow-wrap:anywhere}
.ihm-tile-long{font-size:1em}
.ihm-card-body{display:flex;flex-direction:column;gap:4px;padding:14px 16px 16px;flex:1}
.ihm-title{display:block;line-height:1.35}
.ihm-name{font-weight:700;line-height:1.3;color:var(--ihm-heading)}
/* acronym: a small pill on the same line as the name (wraps with the last word) */
.ihm .ihm-acro{display:inline-block;margin-left:.2em;padding:.05em .6em;border-radius:999px;background:var(--ihm-tint);color:var(--ihm-text);font-size:.8em;font-weight:400;line-height:1.5;letter-spacing:.02em;white-space:nowrap;vertical-align:.08em;text-decoration:none}
.ihm a.ihm-card-link .ihm-acro{color:var(--ihm-text)}
.ihm-teaser{font-size:.9em;margin-top:4px}
.ihm-more{margin-top:auto;padding-top:12px;color:var(--ihm-accent);text-decoration:underline;font-size:.9em;display:inline-flex;align-items:center;gap:6px}

/* detail articles (visible without JavaScript, moved into the dialog with it) */
.ihm-details{margin-top:56px}
.ihm-details-title{margin:0}
.ihm-detail{border-top:2px solid var(--ihm-border);padding-top:28px;margin-top:28px;scroll-margin-top:16px}
.ihm-detail-head{display:flex;flex-wrap:wrap;gap:20px;align-items:flex-start}
.ihm-detail-logo{flex:0 0 180px;max-width:100%;position:relative;aspect-ratio:3/2;background:var(--ihm-logo-bg);border:2px solid var(--ihm-border);border-radius:var(--ihm-radius);overflow:hidden}
.ihm-detail-logo img{position:absolute;top:12px;left:12px;width:calc(100% - 24px);height:calc(100% - 24px);object-fit:contain;margin:0}
.ihm-detail-logo .ihm-tile{border:0;height:100%}
.ihm-detail-title{flex:1 1 280px;min-width:0}
.ihm-detail-title h3{margin:0 0 4px;font-size:1.5em;line-height:1.25;text-wrap:balance}
.ihm-detail-title h3 .ihm-acro{font-size:.6em;vertical-align:.25em}
.ihm-badges{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}
.ihm-badge{display:inline-flex;align-items:center;gap:6px;padding:4px 12px;border-radius:999px;background:var(--ihm-tint);color:var(--ihm-text);font-size:.875em}
.ihm-section{margin-top:24px}
.ihm-section h4{display:flex;align-items:center;gap:8px;margin:0 0 8px;font-size:1.1em}
.ihm-section p{margin:0 0 .75em}
.ihm-section p:last-child{margin-bottom:0}
.ihm .ihm-list{list-style:disc;padding-left:1.4em;margin:0 0 .75em}
.ihm .ihm-list li{margin:0 0 .25em}
.ihm-chips{display:flex;flex-wrap:wrap;gap:8px}
.ihm-chips li{padding:4px 12px;border-radius:999px;background:var(--ihm-tint);color:var(--ihm-text);font-size:.875em}
.ihm-chips .ihm-chip-other{background:transparent;border:2px solid var(--ihm-border)}
.ihm-section h5.ihm-sub{margin:14px 0 6px;font-size:1em;font-weight:700;line-height:1.3;color:var(--ihm-heading)}
.ihm-section h5.ihm-sub:first-child{margin-top:0}
.ihm-contact{display:grid;gap:10px}
.ihm-contact li{display:flex;gap:10px;align-items:flex-start;min-width:0}
.ihm-contact li>span{overflow-wrap:anywhere}
.ihm-contact .ihm-i{color:var(--ihm-accent);margin-top:.2em}
.ihm-k::after{content:':'}
.ihm-mono{font-variant-numeric:tabular-nums;letter-spacing:.03em}
/* ".ihm p" resets paragraph margins, so these carry the same weight to keep theirs */
.ihm .ihm-lang-note{margin:0 0 10px;padding:8px 12px;border-left:4px solid var(--ihm-accent);background:var(--ihm-tint);font-size:.9em}
.ihm .ihm-meta{display:flex;flex-wrap:wrap;gap:6px 18px;margin-top:10px;font-size:.95em}
.ihm-meta span{display:inline-flex;align-items:center;gap:6px}
.ihm-meta .ihm-i{color:var(--ihm-accent)}
.ihm .ihm-back{margin-top:22px}
.ihm.ihm-js .ihm-back{display:none}
.ihm.ihm-js.ihm-nodialog .ihm-back{display:block} /* no dialog support: the entries stay in the page, so does the way back */

/* dialog ---------------------------------------------------------------- */
.ihm-dialog{width:min(100% - 32px,780px);max-width:none;max-height:none;padding:0;border:2px solid var(--ihm-accent);border-radius:var(--ihm-radius);background:var(--ihm-bg);color:var(--ihm-text);box-shadow:0 20px 60px rgba(0,0,60,.35);margin:auto}
.ihm-dialog::backdrop{background:rgba(0,0,60,.6)}
.ihm-dialog-inner{max-height:calc(100vh - 36px);max-height:calc(100dvh - 36px);overflow:auto;padding:0 28px 32px}
.ihm-dialog-bar{position:sticky;top:0;z-index:1;display:flex;justify-content:flex-end;padding:14px 0 10px;background:var(--ihm-bg)}
.ihm-dialog .ihm-detail{border-top:0;padding-top:0;margin-top:0}
.ihm-filter-dialog{width:min(100% - 32px,600px)}
.ihm-filter-dialog .ihm-dialog-inner{padding-bottom:0} /* see .ihm-filter-actions */
.ihm-lock{overflow:hidden}
/* Very low windows (strong zoom, landscape phones): fixed bars would leave no
 * room for the content, so they scroll with it. */
@media (max-height:480px){
  .ihm-dialog-bar,.ihm-filter-actions{position:static}
}

/* Phones: the dialog becomes a full-screen sheet (no double scrolling, no
 * cramped margins), the header stacks and the grid tightens. */
@media (max-width:575px){
  .ihm-dialog{width:100%;max-width:100%;height:100vh;height:100dvh;max-height:100vh;max-height:100dvh;margin:0;border:0;border-radius:0;box-shadow:none}
  .ihm-dialog-inner{height:100%;max-height:100vh;max-height:100dvh;padding:0 16px 32px;padding-bottom:calc(32px + env(safe-area-inset-bottom,0px))}  .ihm-dialog-bar{padding:12px 0 8px}
  .ihm-detail-head{gap:14px}
  .ihm-detail-logo{flex-basis:130px}
  .ihm-detail-title{flex-basis:100%}
  .ihm-detail-title h3{font-size:1.3em}
  .ihm-grid{gap:14px}
  .ihm-card-body{padding:12px 14px 14px}
}
@media (prefers-reduced-motion:reduce){.ihm *{transition:none!important;animation:none!important}}
@media print{
  .ihm-toolbar,.ihm-status,.ihm-active,.ihm-more,.ihm-dialog-bar,.ihm-filter-dialog{display:none}
  .ihm-card-link{break-inside:avoid}
  .ihm-lock{overflow:visible}
  /* A member entry that is open on screen prints alone and in full: the rest
   * of the page is blanked and the dialog becomes a plain block at the top. */
  .ihm-entry-open body *{visibility:hidden}
  .ihm-entry-open .ihm-member-dialog[open],.ihm-entry-open .ihm-member-dialog[open] *{visibility:visible}
  .ihm-entry-open .ihm-grid{display:none}
  .ihm-member-dialog[open]{position:absolute;top:0;right:auto;bottom:auto;left:0;width:100%;height:auto;max-height:none;margin:0;border:0;box-shadow:none}
  .ihm-member-dialog[open]::backdrop{display:none}
  .ihm-member-dialog .ihm-dialog-inner{height:auto;max-height:none;overflow:visible;padding:0}
}
