/* Vigilus Group — references directory.
   Locally styled, accessible and fully server-rendered. */
.vg-references-page { background: #fff; color: #112c3e; overflow: clip; }
.vg-references-page .vg-wrap { width: min(1240px, calc(100% - 56px)); }
.vg-references-hero { position: relative; overflow: hidden; background: #071a2c; color: #fff; }
.vg-references-hero::before { content: ""; position: absolute; width: 680px; height: 680px; right: -180px; top: -350px; pointer-events: none; border-radius: 50%; background: radial-gradient(circle, rgb(27 117 164 / .3), transparent 67%); }
.vg-references-hero::after { content: "V"; position: absolute; bottom: -130px; right: 2%; color: rgb(255 255 255 / .035); font: 900 560px/1 "Bricolage Grotesque",sans-serif; pointer-events: none; }
.vg-references-hero-grid { display: grid; grid-template-columns: minmax(0,1.45fr) minmax(300px,.75fr); align-items: center; gap: clamp(36px,6vw,88px); position: relative; z-index: 1; padding-block: 93px 103px; }
.vg-reference-breadcrumb { display: flex; gap: 11px; align-items: center; color: #c4d4e1; font-size: 11px; font-weight: 700; margin-bottom: 53px; }
.vg-reference-breadcrumb a { color: #fff; text-decoration: none; }
.vg-reference-breadcrumb a:hover { color: #8cd9f2; }
.vg-reference-eyebrow { font-size: 10px; font-weight: 900; letter-spacing: .20em; color: #96d7ee; text-transform: uppercase; margin: 0 0 19px; }
.vg-reference-eyebrow--red { color: #b71e3b; }
.vg-references-page h1, .vg-references-page h2 { font-family: "Bricolage Grotesque","Plus Jakarta Sans",sans-serif; letter-spacing: -.052em; }
.vg-references-page h1 { max-width: 840px; font-size: clamp(34px,3.8vw,50px); line-height: 1.08; font-weight: 900; color: #fff; margin: 0; }
.vg-references-page h1 em { font-style: normal; color: #95dbf1; }
.vg-references-hero-lead { max-width: 660px; margin: 24px 0 0; line-height: 1.85; font-size: 15px; color: #d6e5ee; font-weight: 500; }
.vg-reference-hero-link { display: inline-flex; align-items: center; gap: 24px; margin-top: 32px; padding-bottom: 13px; border-bottom: 2px solid #d52c4b; color: #fff; text-transform: uppercase; letter-spacing: .05em; font-size: 11px; font-weight: 900; }
.vg-reference-hero-link:hover { color: #a2e1f2; }
.vg-references-hero-panel { border: 1px solid rgb(255 255 255 / .17); border-radius: 22px; padding: clamp(26px,3vw,45px); background: rgb(255 255 255 / .075); backdrop-filter: blur(15px); box-shadow: 0 25px 55px rgb(0 0 0 / .16); }
.vg-references-hero-panel > p { color: #95d1e8; font-size: 10px; font-weight: 900; letter-spacing: .18em; margin: 0 0 16px; }
.vg-references-hero-panel > strong { display: block; font: 900 clamp(68px,8vw,108px)/1 "Bricolage Grotesque", sans-serif; letter-spacing: -.065em; color: #fff; }
.vg-references-hero-panel > span { display: block; font-size: 13px; font-weight: 700; line-height: 1.65; color: #d7e6ed; margin-top: 12px; }
.vg-reference-hero-divider { height: 1px; background: rgb(255 255 255 / .19); margin: 35px 0 25px; }
.vg-reference-hero-smallstats { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 17px; }
.vg-reference-hero-smallstats div { display: flex; flex-direction: column; gap: 8px; }
.vg-reference-hero-smallstats strong { font: 900 29px/1.1 "Bricolage Grotesque", sans-serif; color: #fff; }
.vg-reference-hero-smallstats span { color: #c9d9e3; font-size: 11px; line-height: 1.6; font-weight: 650; }
.vg-reference-context { border-bottom: 1px solid #e2e9ed; background: #f4f9fc; }
.vg-reference-context-inner { display: flex; gap: 16px; align-items: flex-start; padding-block: 20px; }
.vg-reference-context-icon { border-radius: 50%; border: 1px solid #8bb6ca; flex: 0 0 23px; display: grid; place-items: center; width: 23px; height: 23px; font-size: 12px; font-weight: 900; color: #126486; }
.vg-reference-context p { max-width: 1080px; margin: 0; font-size: 12px; line-height: 1.8; font-weight: 600; color: #486678; }
.vg-reference-catalogue { padding-block: 92px 98px; scroll-margin-top: 120px; }
.vg-reference-section-intro { display: flex; justify-content: space-between; align-items: end; gap: 30px; }
.vg-reference-section-intro > div { max-width: 700px; }
.vg-references-page h2 { font-weight: 900; font-size: clamp(31px,3.7vw,47px); line-height: 1.16; color: #102638; margin: 0; }
.vg-reference-section-intro > p { max-width: 350px; font-size: 13px; color: #5b7080; line-height: 1.85; margin: 0 0 7px; font-weight: 500; }
.vg-reference-search { margin-top: 38px; padding: 25px; background: #f4f7f9; border-radius: 13px; border: 1px solid #e5ebef; }
.vg-reference-search label { display: block; font-size: 12px; font-weight: 850; margin-bottom: 12px; color: #1c3546; }
.vg-reference-search-controls { display: flex; gap: 11px; }
.vg-reference-search input { width: 100%; min-width: 0; background: #fff; color: #102638; border: 1px solid #cbdbe4; border-radius: 9px; height: 51px; padding: 0 19px; font: 600 13px "Plus Jakarta Sans",sans-serif; }
.vg-reference-search input::placeholder { color: #8395a0; font-weight: 500; }
.vg-reference-search button { display: flex; align-items: center; justify-content: center; gap: 18px; flex: 0 0 172px; min-height: 51px; padding: 10px 18px; border: 0; border-radius: 9px; background: #c31937; color: #fff; font-size: 12px; font-weight: 900; }
.vg-reference-search button:hover { background: #9d1530; }
.vg-reference-filters { display: flex; flex-wrap: wrap; gap: 9px; margin: 29px 0 21px; }
.vg-reference-filters a { display: inline-flex; align-items: center; justify-content: center; gap: 10px; border: 1px solid #dce5eb; border-radius: 100px; padding: 10px 14px; color: #435d6c; background: #fff; text-decoration: none; font-size: 11px; line-height: 1.3; font-weight: 800; transition: background .2s, border-color .2s; }
.vg-reference-filters a span { color: #8397a4; font-size: 10px; }
.vg-reference-filters a:hover { border-color: #9ab2c0; background: #f4f9fc; color: #153f58; }
.vg-reference-filters a.is-active { background: #09283e; border-color: #09283e; color: #fff; }
.vg-reference-filters a.is-active span { color: #a8d8ea; }
.vg-reference-results-bar { display: flex; justify-content: space-between; gap: 14px; align-items: center; border-top: 1px solid #e4eaee; padding: 18px 0 23px; color: #5b7080; }
.vg-reference-results-bar p { margin: 0; font-size: 12px; font-weight: 750; }
.vg-reference-results-bar strong { color: #0c2c42; font-weight: 900; }
.vg-reference-results-bar a { color: #c11b38; font-size: 12px; font-weight: 900; display: inline-flex; align-items: center; gap: 8px; }
.vg-reference-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 16px; }
.vg-reference-card { border: 1px solid #e3e9ed; border-radius: 15px; background: #fff; overflow: hidden; min-width: 0; transition: transform .2s, box-shadow .2s, border-color .2s; }
.vg-reference-card:hover { transform: translateY(-3px); box-shadow: 0 15px 36px rgb(5 31 51 / .085); border-color: #bfd1dc; }
.vg-reference-logo { min-height: 170px; display: flex; align-items: center; justify-content: center; padding: 23px; border-bottom: 1px solid #edf0f2; background: #f9fbfc; }
.vg-reference-logo img { width: 100%; max-width: 200px; height: 110px; object-fit: contain; }
.vg-reference-text-logo { text-align: center; color: #153549; font: 850 22px/1.4 "Bricolage Grotesque",sans-serif; }
.vg-reference-card-meta { padding: 19px 19px 22px; }
.vg-reference-card-meta p { color: #bd1c39; font-size: 10px; line-height: 1.45; text-transform: uppercase; letter-spacing: .075em; font-weight: 850; margin: 0 0 12px; min-height: 30px; }
.vg-reference-card-meta h3 { margin: 0 0 20px; font: 850 18px/1.3 "Bricolage Grotesque",sans-serif; color: #102b3e; min-height: 47px; overflow-wrap: anywhere; }
.vg-reference-source { display: inline-flex; color: #536979; font-size: 10px; font-weight: 700; line-height: 1.55; }
.vg-reference-source--documented { color: #126685; font-weight: 850; }
.vg-reference-empty { grid-column: 1/-1; display: flex; flex-direction: column; align-items: center; gap: 9px; padding: 65px 25px; background: #f5f8f9; border: 1px dashed #cbd9e2; border-radius: 14px; text-align: center; }
.vg-reference-empty strong { font-size: 20px; }
.vg-reference-empty p { color: #576d7e; font-size: 13px; }
.vg-reference-empty a { color: #b61a35; font-size: 12px; font-weight: 900; }
.vg-reference-pagination { display: flex; align-items: center; justify-content: center; gap: 19px; margin-top: 38px; font-size: 12px; font-weight: 800; }
.vg-reference-pagination a { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 11px 17px; border-radius: 8px; background: #0d2b40; color: #fff; }
.vg-reference-pagination a:hover { background: #bd1935; }
.vg-reference-pagination span { color: #536b7a; }
.vg-reference-bottom { background: #bf1b39; color: #fff; padding-block: 75px; }
.vg-reference-bottom-inner { display: flex; justify-content: space-between; align-items: center; gap: 35px; }
.vg-reference-bottom h2 { color: #fff; max-width: 810px; }
.vg-reference-bottom p { margin: 16px 0 0; font-size: 14px; line-height: 1.7; color: #ffe4eb; }
.vg-reference-bottom .vg-reference-eyebrow { color: #ffe0e8; margin: 0 0 14px; }
.vg-reference-bottom a { flex: 0 0 auto; background: #fff; color: #ad1731; border-radius: 9px; min-height: 50px; padding: 16px 21px; display: inline-flex; align-items: center; gap: 35px; font-size: 11px; text-transform: uppercase; font-weight: 900; }
.vg-reference-bottom a:hover { background: #fff0f4; }
.vg-references-page :is(a,button,input):focus-visible { outline: 3px solid #159acb; outline-offset: 3px; }

@media(max-width:1080px){
  .vg-reference-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .vg-references-hero-grid { grid-template-columns: minmax(0,1.4fr) minmax(265px,.8fr); gap: 35px; }
  .vg-references-page h1 { font-size: clamp(33px,4vw,46px); }
}
@media(max-width:760px){
  .vg-references-page .vg-wrap { width: calc(100% - 40px); }
  .vg-references-hero-grid { grid-template-columns: 1fr; gap: 40px; padding-block: 54px 66px; }
  .vg-reference-breadcrumb { margin-bottom: 38px; }
  .vg-references-page h1 { font-size: clamp(30px,7.8vw,40px); }
  .vg-references-hero-panel { display: grid; grid-template-columns: 1fr 1fr; column-gap: 22px; align-items: end; padding: 25px; }
  .vg-references-hero-panel > p { grid-column: 1/-1; }
  .vg-references-hero-panel > span { margin-top: 0; }
  .vg-reference-hero-divider { grid-column: 1/-1; margin: 20px 0; }
  .vg-reference-hero-smallstats { grid-column: 1/-1; }
  .vg-reference-section-intro { display: block; }
  .vg-reference-section-intro > p { margin-top: 19px; max-width: 600px; }
  .vg-reference-catalogue { padding-block: 62px; }
  .vg-reference-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 11px; }
  .vg-reference-logo { min-height: 135px; padding: 14px; }
  .vg-reference-logo img { height: 95px; }
  .vg-reference-card-meta { padding: 16px; }
  .vg-reference-card-meta h3 { font-size: 16px; }
  .vg-reference-bottom-inner { display: block; }
  .vg-reference-bottom a { margin-top: 25px; }
}
@media(max-width:460px){
  .vg-reference-search { padding: 17px; }
  .vg-reference-search-controls { display: grid; }
  .vg-reference-search button { flex: initial; }
  .vg-reference-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .vg-reference-logo { min-height: 105px; padding: 12px; }
  .vg-reference-logo img { max-height: 72px; }
  .vg-reference-card-meta { padding: 13px 11px 17px; }
  .vg-reference-card-meta h3 { font-size: 14px; min-height: 39px; }
  .vg-reference-card-meta p { font-size: 9px; min-height: 42px; }
  .vg-reference-source { font-size: 9px; }
}
@media(prefers-reduced-motion:reduce){ .vg-reference-card,.vg-reference-filters a { transition: none; } .vg-reference-card:hover { transform: none; } }
