/* The header, cards, grid and footer inherit the homepage styles. */
.directory-studio {
  --category: #345ebe;
  --tint: #eaf1ff;
  --rule: #cdddf8;
}
.directory-studio[data-section="pdf"] { --category: #a74732; --tint: #fff1e9; --rule: #f3d1c1; }
.directory-studio[data-section="document"] { --category: #286a52; --tint: #eaf7f0; --rule: #c8e4d5; }
.directory-studio .home-header nav a[aria-current="page"] { color: var(--blue); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }
.directory-studio .home-hero { padding-block: 40px 32px; }
.directory-studio .home-hero h1 { font-size: clamp(37px,4.5vw,57px); margin: 15px 0 10px; }
.directory-studio .home-eyebrow { color: var(--category); border-color: var(--rule); }
.directory-studio .home-eyebrow > span { background: var(--category); box-shadow: 0 0 0 3px var(--tint); }
.directory-illustration { left: 5%; width: clamp(125px,15vw,175px); top: 43px; }
.format-fan { position: absolute; right: 8%; top: 72px; width: 135px; height: 106px; z-index: -1; pointer-events: none; }
.format-fan span { position: absolute; display: grid; align-items: end; padding: 0 7px 10px; width: 58px; height: 72px; color: var(--category); font: 700 12px/1 Arial,sans-serif; letter-spacing: .04em; background: linear-gradient(150deg,white 15%,var(--tint)); border: 1px solid var(--rule); border-radius: 10px; box-shadow: 0 7px 13px #32538314; }
.format-fan span::before { content: ""; position: absolute; width: 22px; height: 3px; background: currentColor; border-radius: 3px; opacity: .24; top: 14px; left: 10px; box-shadow: 0 6px 0 currentColor; }
.format-fan span:nth-child(1) { left: 0; top: 10px; transform: rotate(-13deg); }
.format-fan span:nth-child(2) { left: 35px; top: 0; transform: rotate(1deg); }
.format-fan span:nth-child(3) { left: 73px; top: 18px; transform: rotate(12deg); }
.directory-studio .home-search { max-width: 555px; }
#search-status { min-height: 1.5em; font-size: 13px; margin: 7px auto 0; color: #475d7a; }
.directory-wrap { width: min(calc(100% - var(--gutter) * 2),var(--shell)); margin: 0 auto 40px; }
.jump-title { margin: 0 0 10px; color: #4a6082; font-size: 13px; }
.catalog-jumps { display: flex; flex-wrap: wrap; gap: 7px; }
.catalog-jumps a { display: inline-flex; align-items: center; min-height: 36px; padding: 5px 13px; background: white; border: 1px solid var(--line); border-radius: 20px; color: #3b5070; font-size: 13px; font-weight: 700; }
.catalog-jumps a:hover { border-color: #9fb8e7; color: var(--blue); }
.directory-group { margin-top: 28px; scroll-margin-top: 12px; }
.directory-group h2 { display: flex; align-items: center; gap: 9px; font-size: clamp(20px,2vw,26px); letter-spacing: -.045em; line-height: 1.4; margin: 0 0 12px; }
.group-count { color: #4a617e; background: #edf2f9; font: 700 12px/1.4 Arial,sans-serif; border-radius: 15px; padding: 3px 8px; }
.directory-studio .home-tool { min-height: 90px; }
.directory-studio .home-tool p { margin-top: 3px; }
.directory-group:target h2 { color: var(--blue); }
.directory-studio #search-empty p { margin: 4px auto 10px; }
.directory-studio #search-empty { margin-top: 18px; }
.directory-studio .no-script { text-align: center; font-size: 13px; }
@media(max-width:920px) {
  .format-fan { right: 3%; transform: scale(.83); transform-origin: right center; }
  .directory-illustration { left: 2%; }
}
@media(max-width:710px) {
  .directory-studio .home-hero { padding-block: 27px 14px; }
  .directory-studio .home-hero h1 { margin-top: 10px; }
  .directory-studio .home-hero p { max-width: 390px; margin-inline: auto; }
  .directory-illustration { width: 68px; top: 29px; left: 2%; }
  .format-fan { right: 2%; top: 27px; transform: scale(.45); transform-origin: right top; }
  .directory-studio .directory-group { margin-top: 22px; }
  .directory-studio .home-tool { min-height: 76px; }
  .catalog-jumps { gap: 5px; }
  .catalog-jumps a { font-size: 12px; padding: 5px 10px; }
}
@media(max-width:540px) {
  .directory-illustration,.format-fan { display: none; }
  .directory-studio .home-hero h1 { font-size: clamp(32px,8.1vw,40px); }
  .directory-studio .home-hero > p { max-width: 32ch; }
}