/* Loaded only for the existing Specialization page. Keep decorative image bands wide. */
body.aogu-spec-layout{--spec-pad:30px;--spec-max:1600px}
.aogu-spec-layout :is(.ag2.intro,.ag2.summary,.ag2.fxsummary,.ag2.sectiontitle,.ag2.editorial,.ag2.factoryband,.ag2.railcards).e-con{
 box-sizing:border-box;width:100%;max-width:var(--spec-max);margin-inline:auto;padding-inline:var(--spec-pad);min-width:0
}
.aogu-spec-layout .ag2.catalog.e-con{box-sizing:border-box;width:100%;max-width:none;margin-inline:auto;padding-inline:max(var(--spec-pad),calc((100% - var(--spec-max))/2 + var(--spec-pad)));grid-template-columns:repeat(4,minmax(0,1fr));column-gap:20px}
.aogu-spec-layout .ag2.catalog>.ag2.category{min-width:0}
.aogu-spec-layout .ag2.intro h1{max-width:835px;line-height:1.227}
.aogu-spec-layout .ag2.summary.e-con{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;align-content:center;align-items:start;min-height:clamp(240px,30vw,420px)}
.aogu-spec-layout .ag2.summary>.elementor-widget-heading{grid-row:span 2}
.aogu-spec-layout .ag2.summary>.elementor-widget-button{grid-column:2}
.aogu-spec-layout .ag2.railcards.e-con{scroll-padding-inline:var(--spec-pad)}
.aogu-spec-layout .ag2.fxband.fxfactory{box-sizing:border-box;width:calc(100% - 12px);max-width:none;margin-inline:auto}
.aogu-spec-layout .ag2.fxfactory>.ag2.fxoverlay{margin-inline-start:max(var(--spec-pad),calc((100% - var(--spec-max))/2 + var(--spec-pad)));padding-inline:clamp(20px,8vw,126px) 16px}
.aogu-spec-layout .ag2.fxend{width:calc(100% - 12px);margin-inline:auto}
.aogu-spec-layout .ag2.fxend>.ag2.fxendtext{padding-inline-start:max(calc(var(--spec-pad) - 6px),calc((200% - var(--spec-max))/2 + var(--spec-pad)))}
.aogu-spec-layout .ag2.fxendtext .elementor-widget-button{margin-top:auto}
.aogu-spec-layout .ag2[data-spec-repeat="yes"]{display:none}
@media(max-width:1024px) and (min-width:768px){.aogu-spec-layout .ag2.catalog.e-con{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:767px){body.aogu-spec-layout{--spec-pad:16px}.aogu-spec-layout .ag2.catalog.e-con{grid-template-columns:repeat(2,minmax(0,1fr));gap:26px 12px}.aogu-spec-layout .ag2.summary.e-con{grid-template-columns:1fr;min-height:0}.aogu-spec-layout .ag2.summary>.elementor-widget-heading,.aogu-spec-layout .ag2.summary>.elementor-widget-button{grid-column:auto;grid-row:auto}.aogu-spec-layout .ag2.fxfactory>.ag2.fxoverlay{margin:0;padding-inline:var(--spec-pad)}}

.aogu-spec-layout .aoge-slider{width:100%;max-width:var(--spec-max);margin-inline:auto;position:relative;min-width:0}
.aogu-spec-layout .aoge-slider>.ag2.fxrail{gap:20px;overflow-x:auto;scrollbar-width:none!important;scroll-snap-type:x mandatory}
.aoge-slider>.fxrail::-webkit-scrollbar{display:none!important;height:0}
.aogu-spec-layout .aoge-slider .ag2.fxservice{flex:0 0 calc((100% - 40px)/3);min-width:0;min-height:580px;scroll-snap-align:start}
.aogu-spec-layout .aoge-slider .aoge-arr{appearance:none;position:absolute;z-index:4;top:50%;transform:translateY(-50%);border:0;border-radius:50%;width:44px;height:44px;padding:0;background:#fff;color:#141414;font:22px/1 Arial;cursor:pointer;display:grid;place-items:center;transition:background .2s,transform .2s}
.aoge-slider .prev{left:var(--spec-pad)}.aoge-slider .next{right:var(--spec-pad)}
.aoge-slider .aoge-arr:disabled{visibility:hidden}.aoge-slider .aoge-arr:is(:hover,:focus-visible){background:#c9e64a;transform:translateY(-50%) scale(1.08)}
.aoge-slider .fxservice>.elementor-widget-image img{transition:transform 1s ease}
@media (hover:hover) and (pointer:fine){
.aoge-slider .fxservice>.elementor-widget-text-editor{max-height:0;opacity:0;overflow:hidden;transform:translateY(8px);transition:max-height .35s,opacity .25s,transform .35s}
.aoge-slider .fxservice:is(:hover,:focus-within)>.elementor-widget-text-editor{max-height:24rem;opacity:1;transform:none}
.aoge-slider .fxservice:is(:hover,:focus-within)>.elementor-widget-image img{transform:scale(1.065)}
}
@media(max-width:1024px){.aogu-spec-layout .aoge-slider .ag2.fxservice{flex-basis:calc((100% - 20px)/2);min-height:470px}}
@media(max-width:767px){.aogu-spec-layout .aoge-slider .ag2.fxservice{flex-basis:100%;min-height:400px}.aogu-spec-layout .aoge-slider .aoge-arr{top:38%}}
@media(prefers-reduced-motion:reduce){.aoge-slider *{transition:none!important}}
