.motul-gallery-page{background:#0b1014;color:#f4f6f8;line-height:1.55}
.motul-gallery-page .container{width:min(calc(100% - 64px),1280px);margin-inline:auto}
.motul-gallery-page [hidden],.mg-viewer [hidden],.mg-admin [hidden]{display:none!important}
.motul-gallery-page a:focus-visible,.motul-gallery-page button:focus-visible,.mg-branch-thumb:focus-visible,.mg-viewer a:focus-visible,.mg-viewer button:focus-visible{outline:2px solid #fff;outline-offset:5px}
.mg-hero{padding:29px 0 42px;border-bottom:1px solid #2b343c}
.mg-breadcrumbs{display:flex;flex-wrap:wrap;gap:11px;align-items:center;color:#9aabb7;font-size:12px;margin-bottom:40px}
.mg-breadcrumbs a{min-height:24px;display:flex;align-items:center}.mg-breadcrumbs a:hover{color:#fff}
.motul-gallery-page .mg-kicker{margin:0 0 18px;color:#b3bdc5;font-size:11px;font-weight:750;letter-spacing:.13em;text-transform:uppercase}
.mg-kicker::before{content:"";display:inline-block;vertical-align:middle;width:20px;height:3px;background:#e30613;margin-right:10px}
.mg-heading{display:flex;justify-content:space-between;align-items:flex-end;gap:30px}
.motul-gallery-page h1{margin:0 0 22px;font-size:clamp(42px,5.4vw,72px);font-weight:900;line-height:1.04;letter-spacing:-.04em;color:#f5f7f8}
.motul-gallery-page h1 span{color:#a7b3bd}
.mg-heading p{margin:0;color:#b4c0c9;font-size:17px;line-height:1.65}
.mg-text-link{display:inline-flex;align-items:center;gap:16px;min-height:44px;color:#e5ebef;font-size:13px;font-weight:650;flex-shrink:0}
.mg-text-link span{font-size:20px;color:#f13e47}.mg-text-link:hover{text-decoration:underline;text-underline-offset:4px}
.mg-content{padding:28px 0 64px}
.mg-filters{display:flex;flex-wrap:wrap;gap:10px;padding-bottom:29px;border-bottom:1px solid #2b343c}
.motul-gallery-page .mg-filter{display:inline-flex;align-items:center;gap:15px;justify-content:center;min-height:45px;padding:11px 16px;background:#151e25;border:1px solid #36434d;border-radius:3px;font-size:13px;font-weight:650;color:#d3dce3;transition:background .15s ease}
.mg-filter span{font-size:11px;color:#adbac4}.motul-gallery-page .mg-filter:hover{border-color:#a9b5be;color:#fff}
.motul-gallery-page .mg-filter.is-active{background:#e30613;border-color:#e30613;color:#fff}.mg-filter.is-active span{color:#fff}
.mg-branch-panel{display:flex;align-items:center;justify-content:space-between;gap:20px;background:#141e25;border:1px solid #2e3d48;padding:24px;margin-top:25px;border-radius:3px}
.motul-gallery-page .mg-branch-panel h2{font-size:22px;line-height:1.25;text-transform:none;margin:0 0 6px;color:#f3f5f7}
.mg-branch-panel p{font-size:14px;color:#aebbc5;margin:0}
.mg-gallery-heading{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:30px 0 20px}
.motul-gallery-page .mg-gallery-heading h2{font-size:25px;line-height:1.2;letter-spacing:-.02em;color:#f3f5f7;margin:0}
.mg-gallery-heading p{font-size:12px;color:#a4b2bd;margin:0}
.mg-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px 20px}
.mg-photo{min-width:0;display:block;background:#131c23;border:1px solid #2c3740;border-radius:3px;overflow:hidden}
.mg-photo__image{position:relative;aspect-ratio:4/3;background:#202c35;overflow:hidden}
.mg-photo__image img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .25s ease}
.mg-photo:hover .mg-photo__image img{transform:scale(1.025)}
.mg-photo__open{position:absolute;right:14px;bottom:14px;width:36px;height:36px;display:grid;place-items:center;background:#0b1014cf;border:1px solid #ffffff55;border-radius:2px;color:#fff;font-size:21px}
.mg-photo__caption{padding:18px 20px 21px}
.mg-photo__caption>span{font-size:10px;color:#a8b7c3;letter-spacing:.08em;text-transform:uppercase}
.motul-gallery-page .mg-photo__caption h3{font-size:18px;line-height:1.35;letter-spacing:-.01em;color:#f4f6f8;margin:7px 0 0;font-weight:650}
.mg-photo-hint{font-size:12px;color:#9caab6;margin:24px 0 0}
.mg-more-wrap{display:flex;justify-content:center;margin-top:24px}.mg-more-wrap:has([hidden]){margin-top:0}
.motul-gallery-page .btn{min-height:50px;padding:13px 24px;border-radius:3px;font-size:14px;white-space:normal}
.motul-gallery-page .btn--ghost{background:transparent;border:1px solid #6c7882;color:#f4f6f8}
.motul-gallery-page .btn--primary{background:#e30613;border:1px solid #e30613;color:#fff}.motul-gallery-page .btn--primary:hover{background:#c9000b}
.mg-empty__copy{margin:27px 0 24px}.motul-gallery-page .mg-empty h3{font-size:23px;color:#e8edf1;margin:0 0 8px;line-height:1.3}
.mg-empty__copy p{font-size:14px;color:#a9b6c0;margin:0}
.mg-placeholder-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.mg-placeholder{margin:0;min-width:0;color:#d0d9df}
.mg-placeholder__frame{aspect-ratio:4/3;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:13px;background:linear-gradient(135deg,#172129,#10181e);border:1px dashed #46515b;border-radius:3px;color:#a1afba}
.mg-placeholder__frame svg{width:40px;height:40px;stroke:#8497a5;stroke-width:1.3}
.mg-placeholder__frame span{font-size:11px}.mg-placeholder figcaption{margin:12px 0 0;font-size:14px;font-weight:600;line-height:1.4}
.mg-bottom{display:flex;justify-content:space-between;align-items:center;gap:35px;padding-top:36px;margin-top:44px;border-top:1px solid #34414b}
.motul-gallery-page .mg-bottom .mg-kicker{margin-bottom:10px}.motul-gallery-page .mg-bottom h2{font-size:31px;line-height:1.2;text-transform:none;color:#f4f6f8;margin:0 0 12px}
.mg-bottom p:last-child{font-size:14px;color:#aab9c4;margin:0;line-height:1.6}.mg-bottom .btn{flex:none}.mg-bottom .btn span{margin-left:12px}
.mg-branch-note{color:#98a6b0;font-size:12px;margin:-12px 0 24px}
.mg-branch-thumb{position:relative;display:block;aspect-ratio:4/3;overflow:hidden;border-radius:3px;background:#172129;border:1px solid #36424c}
.mg-branch-thumb img{width:100%;height:100%;object-fit:cover;display:block}.mg-branch-thumb>span{position:absolute;right:10px;bottom:10px;background:#0b1014c9;color:#fff;padding:3px 10px}
.mg-home-empty{min-height:220px;display:grid;place-items:center;background:#111b23;color:#aebcc6;border:1px dashed #4a5965;padding:24px}
body.mg-viewer-open{overflow:hidden}
.mg-viewer{color:#f3f6f8;background:#0b1014;border:1px solid #495662;border-radius:4px;padding:0;width:min(1320px,calc(100% - 40px));max-width:none;max-height:calc(100dvh - 32px);box-shadow:0 20px 90px #0009;overflow:auto}
.mg-viewer::backdrop{background:#020507ed}
.mg-viewer__top{display:flex;align-items:center;justify-content:space-between;padding:10px 14px;border-bottom:1px solid #2f3b45}
.mg-viewer__count{font-size:13px;color:#c3cfd8;font-variant-numeric:tabular-nums;padding-left:8px}
.mg-viewer button{display:inline-flex;align-items:center;justify-content:center;min-width:46px;min-height:46px;padding:8px;border:1px solid #596873;border-radius:3px;background:#1a252e;color:#fff;font:inherit;font-size:23px;cursor:pointer}
.mg-viewer button:hover{background:#2c3943}.mg-viewer button:disabled{opacity:.35;cursor:default}
.mg-viewer__stage{position:relative;display:flex;align-items:center;justify-content:center;height:min(70dvh,820px);background:#05090c}
.mg-viewer__image{display:block;max-width:100%;max-height:100%;width:100%;height:100%;object-fit:contain}
.mg-viewer__loading{position:absolute;inset:0;display:grid;place-items:center;color:#b4c1cb;background:#0b1014d9;font-size:14px;padding:24px;text-align:center}
.mg-viewer__prev,.mg-viewer__next{position:absolute;top:50%;transform:translateY(-50%);opacity:.92}.mg-viewer__prev{left:13px}.mg-viewer__next{right:13px}
.mg-viewer__bottom{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:16px 22px}
.mg-viewer__caption{margin:0;color:#f3f6f8;font-size:17px;font-weight:600;line-height:1.4;overflow-wrap:anywhere}
.mg-viewer__branch{margin:4px 0 0;font-size:12px;color:#abbac7}.mg-viewer__original{font-size:12px;color:#d7e2ea;white-space:nowrap;display:inline-flex;align-items:center;min-height:44px}
@media(max-width:1000px){.mg-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.mg-placeholder-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.mg-heading{align-items:flex-start;flex-direction:column;gap:16px}}
@media(max-width:600px){.motul-gallery-page .container{width:calc(100% - 40px)}.mg-hero{padding-top:20px;padding-bottom:29px}.mg-breadcrumbs{font-size:11px;margin-bottom:29px}.motul-gallery-page .mg-kicker{font-size:10px;letter-spacing:.1em;margin-bottom:14px}.motul-gallery-page h1{font-size:42px;margin-bottom:18px}.mg-heading p{font-size:15px}.mg-heading p br{display:none}.mg-content{padding:20px 0 44px}.mg-filters{gap:8px;padding-bottom:23px}.motul-gallery-page .mg-filter{padding:10px 12px;gap:11px;font-size:12px;min-height:44px}.mg-branch-panel{align-items:flex-start;flex-direction:column;gap:9px;padding:19px}.mg-gallery-heading{margin-top:25px}.motul-gallery-page .mg-gallery-heading h2{font-size:22px}.mg-gallery-heading p{font-size:11px}.mg-grid{grid-template-columns:1fr;gap:18px}.mg-photo__image{aspect-ratio:4/3}.mg-photo__caption{padding:16px 18px 18px}.mg-photo-hint{font-size:11px}.mg-placeholder-grid{gap:20px 12px}.mg-placeholder__frame{gap:9px}.mg-placeholder__frame svg{width:30px;height:30px}.mg-placeholder__frame span{font-size:9px}.mg-placeholder figcaption{font-size:12px}.motul-gallery-page .mg-empty h3{font-size:21px}.mg-bottom{flex-direction:column;align-items:flex-start;gap:24px;margin-top:34px;padding-top:30px}.motul-gallery-page .mg-bottom h2{font-size:27px}.mg-bottom .btn{width:100%}.mg-viewer{width:calc(100% - 16px);max-height:calc(100dvh - 16px)}.mg-viewer__top{padding:7px 9px}.mg-viewer__stage{height:58dvh}.mg-viewer__bottom{padding:12px 16px;gap:4px;align-items:flex-start;flex-direction:column}.mg-viewer__caption{font-size:15px}.mg-viewer__prev{left:7px}.mg-viewer__next{right:7px}.mg-viewer__prev,.mg-viewer__next{top:auto;bottom:10px;transform:none}.mg-viewer__original{font-size:11px;min-height:30px}.mg-branch-note{margin-top:-7px}}
@media(max-width:360px){.motul-gallery-page .container{width:calc(100% - 32px)}.motul-gallery-page h1{font-size:36px}.mg-placeholder-grid{grid-template-columns:1fr}.mg-placeholder__frame{aspect-ratio:16/8}.mg-placeholder__frame span{font-size:11px}}
@media(prefers-reduced-motion:reduce){.mg-photo__image img,.motul-gallery-page .mg-filter{transition:none}}
