/*
 * Historische Kataloge in GFGF V3 – intentionally scoped to its editorial page
 * and dynamic shortcode; no source PDFs/covers or remote assets are included.
 */
body:has(.gfgf-catalog) .site-main{background:#f7f9fc;}
.gfgf-catalog-intro{
  width:min(1140px,calc(100% - 48px));margin:0 auto;
  padding:clamp(42px,6vw,76px) 0 clamp(26px,4vw,48px);
}
.gfgf-catalog-intro .gfgf-catalog-intro__eyebrow{
  font-size:12px;letter-spacing:.12em;text-transform:uppercase;font-weight:800;
  color:#527693;margin:0 0 13px;
}
.gfgf-catalog-intro h1{
  font-size:clamp(35px,4.3vw,58px);line-height:1.12;letter-spacing:-.035em;
  color:var(--gfgf-primary,#003f83);margin:0 0 21px;
}
.gfgf-catalog-intro .gfgf-catalog-intro__lead{
  color:#354e67;font-size:clamp(18px,2vw,21px);line-height:1.6;
  max-width:800px;margin:0 0 15px;
}
.gfgf-catalog-intro .gfgf-catalog-intro__detail{
  color:#52677a;font-size:16px;line-height:1.65;max-width:840px;
  margin:0;
}
.gfgf-catalog{
  max-width:1140px;width:calc(100% - 48px);
  margin:0 auto 78px;padding:0 0 32px;
  color:var(--gfgf-text,#121c2a);
}
.gfgf-catalog *{box-sizing:border-box;}
.gfgf-catalog__toolbar{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;padding:29px 0 24px;}
.gfgf-catalog__toolbar h2{color:var(--gfgf-primary,#003f83);font-size:clamp(26px,3vw,36px);letter-spacing:-.025em;line-height:1.2;margin:0 0 10px;}
.gfgf-catalog__overline{color:#547794;font-size:12px;letter-spacing:.1em;font-weight:800;text-transform:uppercase;margin:0 0 7px;}
.gfgf-catalog__subtitle{color:#51677d;font-size:16px;line-height:1.5;margin:0;}
.gfgf-catalog__count{display:grid;justify-items:center;flex:0 0 auto;min-width:116px;padding:13px 18px;background:#e7f0f9;border-radius:13px;border:1px solid #d9e6f3;color:#07457e;}
.gfgf-catalog__count strong{font-size:31px;line-height:1.1;font-variant-numeric:tabular-nums;}
.gfgf-catalog__count span{font-size:13px;font-weight:700;}
.gfgf-catalog__filter{display:grid;grid-template-columns:minmax(220px,1.3fr) minmax(135px,.7fr) minmax(185px,1fr) auto;gap:15px;align-items:end;padding:22px;background:white;border:1px solid #dbe4ee;border-radius:13px;box-shadow:0 7px 22px rgba(12,50,86,.04);}
.gfgf-catalog__field{min-width:0;}
.gfgf-catalog__field label{display:block;color:#243e56;font-weight:700;font-size:14px;margin:0 0 7px;}
.gfgf-catalog__field input,.gfgf-catalog__field select{font:inherit;font-size:15px;border:1px solid #bacbdb;border-radius:8px;height:46px;width:100%;max-width:none;min-width:0;padding:8px 12px;background:white;color:#132940;}
.gfgf-catalog__field :is(input,select):focus-visible{outline:3px solid #a6c8e8;outline-offset:1px;border-color:#245d91;}
.gfgf-catalog__actions{display:flex;align-items:center;flex-direction:column;gap:5px;justify-content:end;}
.gfgf-catalog__actions button{font:inherit;font-size:15px;font-weight:750;white-space:nowrap;min-height:46px;cursor:pointer;border:1px solid #003f83;border-radius:8px;padding:9px 20px;background:#003f83;color:#fff;}
.gfgf-catalog__actions button:hover{background:#145a9e;}
.gfgf-catalog__actions a{font-size:13px;line-height:1.4;color:#355d80;}
.gfgf-catalog__result{font-size:15px;color:#476078;margin:23px 1px 19px;}
.gfgf-catalog__result span{color:#6a7f90;}
.gfgf-catalog__grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:19px;}
.gfgf-catalog__card{display:flex;min-height:208px;overflow:hidden;background:white;border:1px solid #dbe4ee;border-radius:12px;box-shadow:0 4px 14px rgba(5,34,65,.045);}
.gfgf-catalog__visual{display:flex;flex:0 0 105px;flex-direction:column;align-items:center;justify-content:center;gap:7px;background:linear-gradient(153deg,#dfebf7,#ecf3fa);border-right:1px solid #d6e5f1;padding:15px 9px;}
.gfgf-catalog__visual svg{width:56px;height:73px;flex:none;}
.gfgf-catalog__visual span{font-size:14px;font-weight:800;color:#235884;font-variant-numeric:tabular-nums;}
.gfgf-catalog__card-body{min-width:0;flex:1;display:flex;flex-direction:column;align-items:flex-start;padding:18px 16px 17px;}
.gfgf-catalog__tag{font-size:10px!important;letter-spacing:.065em;text-transform:uppercase;font-weight:800;color:#55758e;margin:0 0 9px!important;}
.gfgf-catalog__card h3{color:#073d77;font-size:clamp(17px,1.75vw,20px);line-height:1.31;font-weight:750;word-wrap:break-word;overflow-wrap:anywhere;margin:0 0 10px;}
.gfgf-catalog__card dl{font-size:13px;color:#52687b;margin:0 0 15px;}
.gfgf-catalog__card dl div{display:flex;gap:5px;flex-wrap:wrap;}
.gfgf-catalog__card dt{font-weight:750;}
.gfgf-catalog__card dd{margin:0;}
.gfgf-catalog__availability{border-radius:5px;background:#f0f3f7;color:#526779;font-size:12px;font-weight:650;line-height:1.45;padding:5px 9px;margin:auto 0 0!important;}
.gfgf-catalog__pages{display:flex;justify-content:center;align-items:center;gap:19px;flex-wrap:wrap;margin:36px 0 15px;font-size:15px;color:#52677a;}
.gfgf-catalog__pages a{display:inline-flex;align-items:center;min-height:44px;background:#fff;border:1px solid #bfd0df;border-radius:8px;padding:9px 16px;color:#003f83;text-decoration:none;font-weight:700;}
.gfgf-catalog__pages a:hover{background:#e9f1fa;}
.gfgf-catalog__empty{padding:40px;text-align:center;border-radius:12px;border:1px dashed #aabdd0;background:white;}
.gfgf-catalog__empty h3{font-size:23px;color:#003f83;margin:0 0 8px;}
.gfgf-catalog__empty p{margin:0 0 15px;}
.gfgf-catalog__note{margin:39px 0 0;display:flex;align-items:flex-start;gap:16px;border-radius:12px;background:#eaf2f9;border:1px solid #d5e5f3;padding:23px 26px;}
.gfgf-catalog__note-symbol{width:32px;height:32px;flex:none;border-radius:50%;display:grid;place-items:center;font-weight:800;background:#c7dff2;color:#114d7d;}
.gfgf-catalog__note h2{font-size:19px;margin:0 0 5px;color:#003f83;}
.gfgf-catalog__note p{color:#425c72;font-size:15px;line-height:1.65;margin:0;}
@media(max-width:1050px){.gfgf-catalog__filter{grid-template-columns:1.2fr .6fr 1fr}.gfgf-catalog__actions{grid-column:1/-1;flex-direction:row;justify-content:flex-start;gap:20px}.gfgf-catalog__grid{grid-template-columns:repeat(2,minmax(0,1fr));}}
@media(max-width:650px){.gfgf-catalog-intro,.gfgf-catalog{width:calc(100% - 34px)}.gfgf-catalog__toolbar{gap:12px;align-items:flex-start}.gfgf-catalog__count{min-width:77px;padding:10px}.gfgf-catalog__count strong{font-size:24px}.gfgf-catalog__count span{font-size:11px}.gfgf-catalog__filter{grid-template-columns:1fr;padding:17px}.gfgf-catalog__actions{grid-column:auto;align-items:center;justify-content:flex-start}.gfgf-catalog__grid{grid-template-columns:1fr;gap:12px}.gfgf-catalog__visual{flex-basis:105px}.gfgf-catalog__note{padding:18px;gap:10px}.gfgf-catalog__card h3{font-size:18px}}
@media(prefers-reduced-motion:reduce){.gfgf-catalog *{scroll-behavior:auto;transition:none;}}

.gfgf-catalog__description{color:#455d73;font-size:13px;line-height:1.55;margin:0 0 17px;overflow-wrap:anywhere;}

.gfgf-catalog__document{display:inline-block;margin-top:auto;padding:8px 11px;border-radius:7px;background:#e1eefb;color:#063e78;font-weight:750;font-size:13px;text-decoration:none;}
.gfgf-catalog__document:hover{text-decoration:underline;background:#cfe2f8;}

/* AJAX requests keep the form fixed and replace only results, without scroll jumps. */
.gfgf-catalog__results[aria-busy="true"]{opacity:.55;transition:opacity .12s ease;}
.gfgf-catalog__filter button:disabled{opacity:.7;cursor:progress;}
.gfgf-catalog__ajax-status{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0;}
@media(prefers-reduced-motion:reduce){.gfgf-catalog__results[aria-busy="true"]{transition:none;}}
