/* Component: galleries — responsive rules retain their original cascade position. */
.mr-section:has(>.mr-strip)>.mr-strip {
    margin-left: 52px;
    margin-right: 52px;
    scrollbar-width: none;
}
.mr-strip::-webkit-scrollbar {
    display: none;
}
.mr-strip.swiper-initialized {
    display: block;
    overflow: hidden;
    scroll-snap-type: none;
}
.mr-strip .swiper-wrapper {
    gap: 0;
    align-items: flex-start;
}
.mr-strip .swiper-slide.mr-card {
    width: min-content;
    flex-shrink: 0;
    max-width: 100%;
}
.mr-strip .swiper-slide.mr-story {
    width: 100%;
    flex-shrink: 0;
}
.mr-strip .swiper-slide:hover {
    opacity: .9;
}
.mr-section-head .mr-prev {
    left: var(--mr-gutter);
    right: auto;
}
.mr-section-head .mr-next {
    right: var(--mr-gutter);
}
.mr-section-head button:hover {
    opacity: .6;
}
.mr-section-head button:disabled {
    opacity: .2;
    cursor: default;
}
@media(max-width:700px){.mr-section:has(>.mr-strip)>.mr-strip{
    margin-inline: 30px;
}
.mr-header .mr-search-row .mr-menu{
    width: 32px;
    height: 32px;
    top: 12px;
}
.mr-header h1{
    padding-inline: 38px;
    margin-left: auto;
}
}
/* Swiper supplies the track, not the editorial slide layout. */
.mr-shell .mr-notes .mr-strip .mr-story-note{
    display: grid;
    height: auto;
    min-width: 0;
    box-sizing: border-box;
    grid-template-columns: minmax(0,440px) minmax(0,360px);
    align-items: center;
    justify-content: center;
    gap: 24px;
}
.mr-shell .mr-notes .mr-strip .mr-story-note>.mr-story-image,.mr-shell .mr-notes .mr-strip .mr-story-note>.mr-placeholder{
    grid-column: 2;
    grid-row: 1;
    width: 100%;
    height: auto;
    aspect-ratio: 1;
    align-self: center;
    justify-self: start;
}
.mr-shell .mr-notes .mr-strip .mr-story-note>div:last-child{
    grid-column: 1;
    grid-row: 1;
    min-width: 0;
}
.mr-shell .mr-more-notes .mr-strip .mr-story-note{
    grid-template-columns: minmax(0,420px) minmax(0,180px);
    gap: 20px;
    min-height: 0;
}
.mr-shell .mr-more-notes .mr-strip .mr-story-note>.mr-story-image,.mr-shell .mr-more-notes .mr-strip .mr-story-note>.mr-placeholder{
    height: 0;
    min-height: 100%;
    aspect-ratio: auto;
    align-self: stretch;
}
.mr-shell .mr-more-notes .mr-strip .mr-story-note>.mr-story-image img{
    object-fit: contain;
}
@media(max-width:700px){.mr-shell .mr-notes:not(.mr-more-notes) .mr-strip .mr-story-note{
    grid-template-columns: minmax(0,1fr);
    gap: 12px;
    min-height: 0;
}
.mr-shell .mr-notes:not(.mr-more-notes) .mr-strip .mr-story-note>.mr-story-image,.mr-shell .mr-notes:not(.mr-more-notes) .mr-strip .mr-story-note>.mr-placeholder{
    grid-column: 1;
    grid-row: 2;
    width: min(100%,300px);
}
.mr-shell .mr-more-notes .mr-strip .mr-story-note{
    grid-template-columns: minmax(0,1fr) minmax(0,100px);
    gap: 12px;
}
}
/* Hide native and Swiper scrollbars without disabling gestures. */
.mr-shell .mr-strip,.mr-shell .mr-strip .swiper-wrapper{
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.mr-shell .mr-strip::-webkit-scrollbar,.mr-shell .mr-strip .swiper-wrapper::-webkit-scrollbar{
    display: none;
    width: 0;
    height: 0;
}
.mr-shell .mr-strip .swiper-scrollbar{
    display: none !important;
}
.mr-shell .mr-strip.swiper-initialized{
    touch-action: pan-y;
}
/* Uniform frontend link decoration, including editorial content and archive views. */


/* Component: links — responsive rules retain their original cascade position. */
body a:any-link, body .mr-menu a:any-link {
    text-decoration: none !important;
}
body a:any-link:hover, body .mr-menu a:any-link:hover, body .mr-shell a:any-link:hover {
    text-decoration: underline !important;
    text-underline-offset: 3px;
}
body a:any-link:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 3px;
}
/* Prevent horizontal scroll chaining from gallery to browser history. */
.mr-shell .mr-strip {
    overscroll-behavior-x: contain;
    overscroll-behavior-y: auto;
}
/* Home title: subtle hover without the global link underline. */
body .mr-shell .mr-header h1 a.mr-home-link:any-link {
    text-decoration: none !important;
    transition: opacity .18s ease;
}
body .mr-shell .mr-header h1 a.mr-home-link:any-link:hover {
    text-decoration: none !important;
    opacity: .82;
}
body .mr-shell .mr-header h1 a.mr-home-link:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 5px;
}

/* Landing catalogue: avoid Swiper's percentage heights in auto-height containers. */
.mr-shell .mr-new-objects > .mr-strip,
.mr-shell .mr-new-objects > .mr-strip > .swiper-wrapper,
.mr-shell .mr-new-objects > .mr-strip .mr-card {
    height: auto;
    min-height: 0;
    align-items: flex-start;
}
.mr-shell .mr-new-objects .mr-section-head button {
    top: calc(32px + 23px * 1.4 + 18px + var(--mr-thumb-height) / 2);
}
