/* Tiles of all INNOXY sites (gbl = global). Only source: brand-assets/site/css/innoxy_gbl_tile.css - sites must not
   restyle .gbl-tile (only arrange their own containers). Reference look: the service tiles on https://innoxy.net/ with
   the blue top edge in the logo colour #3C93FF. Self-contained; the site provides the fonts "Bitter" and
   "Plus Jakarta Sans". Markup: see brand-assets/README.md. */
.gbl-tile{box-sizing:border-box;margin:0;padding:1.4rem 1.5rem;border:1px solid #dfe4ea;border-top:4px solid #3c93ff;border-radius:.8rem;background:#f4f6f9;color:#1b1f24;font:400 1.0625rem/1.65 "Plus Jakarta Sans","Plus Jakarta Sans Fallback",system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;overflow-wrap:break-word}
.gbl-tile.featured{border-color:#3c93ff;background:#f4f6f9;background:linear-gradient(120deg,rgba(60,147,255,.16),transparent 70%),#f4f6f9}

/* Titles: h2 of a content tile, or any element with .gbl-title (title-only tiles) */
.gbl-tile h2,.gbl-tile h3{font-family:"Bitter","Bitter Fallback",Georgia,serif;text-wrap:balance}
.gbl-tile h2,.gbl-tile .gbl-title{margin:0;font-size:1.3rem;font-weight:600;line-height:1.3;color:inherit}
.gbl-tile h3{margin:1rem 0 .2rem;font-size:1.0625rem;font-weight:700;line-height:1.65}
.gbl-tile p{margin:1rem 0 0}
.gbl-tile time{display:block;margin-top:1rem}
.gbl-tile ul{margin:.2rem 0 1rem;padding-left:1.2rem}
.gbl-tile li{margin:0 0 .3rem;padding:0}
.gbl-tile a{color:#0b5fff;text-decoration:underline}
/* a linked title looks like any tile title and shows the link on hover and keyboard focus */
.gbl-tile > a{display:block;color:inherit;text-decoration:none}
.gbl-tile > a:hover h2,.gbl-tile > a:focus h2{color:#0b5fff;text-decoration:underline}
/* ...and carries an arrow, so that it is recognisable as a link without hovering. The empty alternative text keeps
   screen readers from announcing the arrow (older browsers use the first declaration). */
.gbl-tile > a h2::after{content:"\00a0\2192";color:#0b5fff}
.gbl-tile > a h2::after{content:"\00a0\2192" / ""}

/* Collapsible details inside a tile (native <details>, no script) */
.gbl-tile details{margin:1rem 0 0}
.gbl-tile summary{cursor:pointer;font-weight:700;color:#0b5fff}
.gbl-tile summary:focus-visible{outline:3px solid #0b5fff;outline-offset:3px;border-radius:.2rem}
.gbl-tile > :last-child{margin-bottom:0}

/* List of content tiles: a wrapping row (margins instead of "gap" also work in old browsers) */
.gbl-tiles{display:flex;flex-wrap:wrap;list-style:none;margin:1rem -1rem 0 0;padding:0}
.gbl-tiles > .gbl-tile{width:18.75rem;margin:0 1rem 1rem 0}
/* full width while its details are open (browsers without :has() keep the narrow tile) */
.gbl-tiles > .gbl-tile:has(details[open]){width:calc(100% - 1rem)}
@media (max-width:40rem){.gbl-tiles > .gbl-tile{width:calc(100% - 1rem)}}

@media (prefers-color-scheme:dark){
  .gbl-tile{border-color:#2a3340;border-top-color:#3c93ff;background:#181e26;color:#e8ecf1}
  .gbl-tile.featured{border-color:#3c93ff;background:linear-gradient(120deg,rgba(60,147,255,.2),transparent 70%),#181e26}
  .gbl-tile a,.gbl-tile summary,.gbl-tile > a:hover h2,.gbl-tile > a:focus h2{color:#6ea2ff}
  .gbl-tile > a{color:inherit}
  .gbl-tile > a h2::after{color:#6ea2ff}
  .gbl-tile summary:focus-visible{outline-color:#6ea2ff}
}
