/* Homepage reference module only; galleries use gallery-shared.css. */
body.ay-reference-home .ay-restored-container{width:100%;max-width:1326px;margin:0 auto;padding:0 15px}
body.ay-reference-home #references-sec{padding:96px 0 110px;background:#fff}
body.ay-reference-home #references-sec .ay-restored-heading{text-align:center;margin-bottom:48px}
body.ay-reference-home #references-sec .ay-restored-brand{display:block;width:70px;height:auto;margin:0 auto 16px;object-fit:contain}
body.ay-reference-home #references-sec h2{margin:0;color:#1A1A1A;font:700 40px/1.2 Inter,Arial,sans-serif;letter-spacing:0}
body.ay-reference-home #references-sec .ay-reference-logo-grid{display:flex;flex-wrap:wrap;justify-content:center;gap:24px;margin:0;padding:0;list-style:none}
body.ay-reference-home #references-sec .ay-reference-logo{flex:0 0 calc((100% - 120px)/6);min-width:0;margin:0;padding:0}
body.ay-reference-home #references-sec :is(.ay-reference-logo-image,.ay-reference-logo a){display:flex;align-items:center;justify-content:center;min-height:146px;padding:18px;border:1px solid #e8edf4;border-radius:30px;background:#fff;text-decoration:none;transition:border-color .3s}
body.ay-reference-home #references-sec .ay-reference-logo a:hover{border-color:#1B3157}
body.ay-reference-home #references-sec .ay-reference-logo img{display:block;max-width:100%;width:180px;height:104px;object-fit:contain;animation:none;filter:none}
body.ay-reference-home #references-sec a:focus-visible{outline:3px solid #1B3157;outline-offset:4px}
@media(max-width:1199px){body.ay-reference-home #references-sec{padding:76px 0 90px}
body.ay-reference-home #references-sec .ay-reference-logo{flex-basis:calc((100% - 72px)/4)}
}
@media(max-width:767px){body.ay-reference-home #references-sec{padding:60px 0 70px}
body.ay-reference-home #references-sec h2{font-size:36px}
body.ay-reference-home #references-sec .ay-restored-heading{margin-bottom:32px}
body.ay-reference-home #references-sec .ay-reference-logo-grid{gap:16px}
body.ay-reference-home #references-sec .ay-reference-logo{flex-basis:calc((100% - 32px)/3)}
body.ay-reference-home #references-sec :is(.ay-reference-logo-image,.ay-reference-logo a){min-height:128px;padding:12px;border-radius:24px}
body.ay-reference-home #references-sec .ay-reference-logo img{height:92px}
}
@media(max-width:479px){body.ay-reference-home #references-sec h2{font-size:32px}
body.ay-reference-home #references-sec .ay-reference-logo{flex-basis:calc((100% - 16px)/2)}
}
@media(prefers-reduced-motion:reduce){body.ay-reference-home #references-sec *{animation:none!important;transition:none!important;scroll-behavior:auto!important}
}
