.ahg{position:relative;width:100%;box-sizing:border-box}.ahg *{box-sizing:border-box}.ahg__track{display:grid;grid-template-columns:repeat(var(--ahg-cols),minmax(0,1fr));gap:var(--ahg-gap)}.ahg__item{margin:0;min-width:0}.ahg__link{display:block;overflow:hidden;border-radius:12px;background:#f6f6f7;outline-offset:3px}.ahg__image{display:block;width:100%;max-width:var(--ahg-width);height:var(--ahg-height);margin:auto;transition:transform .3s ease}.ahg--fit-cover .ahg__image{object-fit:cover}.ahg--fit-contain .ahg__image{object-fit:contain}.ahg--fit-natural .ahg__image{height:auto;object-fit:initial}.ahg__link:hover .ahg__image{transform:scale(1.025)}.ahg figcaption{padding:10px 4px 0;color:#555;font-size:14px;line-height:1.5}.ahg--carousel{padding:0 44px}.ahg--carousel .ahg__viewport{overflow:hidden}.ahg--carousel .ahg__track{display:flex;gap:var(--ahg-gap);transition:transform .45s cubic-bezier(.22,.61,.36,1);will-change:transform}.ahg--carousel .ahg__item{flex:0 0 calc((100% - (var(--ahg-cols) - 1)*var(--ahg-gap))/var(--ahg-cols))}.ahg__arrow{position:absolute;z-index:2;top:calc(var(--ahg-height)/2 - 21px);width:36px;height:42px;border:0;border-radius:8px;background:#4f5aa8;color:#fff;font-size:20px;cursor:pointer;box-shadow:0 4px 14px #0002;transition:.2s}.ahg__arrow:hover{background:#3f498f;transform:scale(1.05)}.ahg__arrow:disabled{opacity:.35;cursor:not-allowed}.ahg__prev{left:0}.ahg__next{right:0}.ahg__dots{display:flex;justify-content:center;gap:8px;padding-top:18px}.ahg__dot{width:9px;height:9px;padding:0;border:0;border-radius:50%;background:#c9cbe0;cursor:pointer}.ahg__dot.is-active{width:24px;border-radius:8px;background:#4f5aa8}.ahg-lightbox{position:fixed;z-index:999999;inset:0;display:flex;align-items:center;justify-content:center;padding:30px;background:#000d;opacity:0;visibility:hidden;transition:.2s}.ahg-lightbox.is-open{opacity:1;visibility:visible}.ahg-lightbox img{max-width:94vw;max-height:90vh;border-radius:8px}.ahg-lightbox button{position:absolute;top:16px;right:20px;border:0;background:transparent;color:#fff;font-size:40px;cursor:pointer}@media(max-width:991px){.ahg__track{grid-template-columns:repeat(var(--ahg-cols-tablet),minmax(0,1fr))}.ahg--carousel .ahg__item{flex-basis:calc((100% - (var(--ahg-cols-tablet) - 1)*var(--ahg-gap))/var(--ahg-cols-tablet))}}@media(max-width:600px){.ahg__track{grid-template-columns:repeat(var(--ahg-cols-mobile),minmax(0,1fr))}.ahg--carousel{padding:0 34px}.ahg--carousel .ahg__item{flex-basis:calc((100% - (var(--ahg-cols-mobile) - 1)*var(--ahg-gap))/var(--ahg-cols-mobile))}.ahg__arrow{width:28px}.ahg-lightbox{padding:16px}}

