.swr-mr-section,
.swr-mr-section * {
    box-sizing: border-box;
}

.swr-mr-section {
    --swr-mr-orange: #d17b13;
    --swr-mr-orange-strong: #f59a16;
    --swr-mr-white: #ffffff;
    --swr-mr-muted: rgba(255, 255, 255, 0.58);
    --swr-mr-border: rgba(255, 255, 255, 0.12);
    --swr-mr-card: rgba(255, 255, 255, 0.045);
    --swr-mr-shadow: rgba(0, 0, 0, 0.45);
    position: relative;
    overflow: hidden;
    color: var(--swr-mr-white);
    font-family: inherit;
}

.swr-mr-section.swr-mr-black {
    background:
        radial-gradient(circle at 50% -20%, rgba(209, 123, 19, 0.18), transparent 34%),
        linear-gradient(180deg, #050505 0%, #080808 52%, #050505 100%);
    border-top: 1px solid rgba(209, 123, 19, 0.35);
    padding: clamp(62px, 7vw, 96px) 20px clamp(64px, 7vw, 104px);
}

.swr-mr-section.swr-mr-transparent {
    background: transparent;
    padding: clamp(34px, 5vw, 70px) 0;
}

.swr-mr-inner {
    width: min(100%, 1020px);
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.swr-mr-header {
    text-align: center;
    margin-bottom: clamp(34px, 5vw, 54px);
}

.swr-mr-kicker {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 30px;
    padding: 6px 20px;
    border: 1px solid rgba(209, 123, 19, 0.72);
    border-radius: 999px;
    color: var(--swr-mr-orange-strong);
    background: rgba(209, 123, 19, 0.055);
    font-size: 11px;
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.swr-mr-header h2 {
    margin: 22px 0 10px;
    color: #ffffff;
    font-size: clamp(42px, 8vw, 72px);
    line-height: 0.92;
    font-weight: 950;
    letter-spacing: -0.075em;
    text-transform: uppercase;
}

.swr-mr-summary {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.9);
    font-size: clamp(18px, 2.4vw, 26px);
    line-height: 1.2;
}

.swr-mr-summary-stars,
.swr-mr-card-stars {
    color: var(--swr-mr-orange-strong);
    letter-spacing: 0.08em;
    text-shadow: 0 0 18px rgba(209, 123, 19, 0.15);
}

.swr-mr-summary strong {
    color: #ffffff;
    font-weight: 900;
}

.swr-mr-intro-note {
    width: min(100%, 680px);
    margin: 16px auto 0;
    color: var(--swr-mr-muted);
    font-size: 15px;
    line-height: 1.65;
}

.swr-mr-intro-note p {
    margin: 0;
}

.swr-mr-carousel-shell {
    position: relative;
}

.swr-mr-viewport {
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
    outline: none;
    padding: 2px 0 16px;
}

.swr-mr-viewport::-webkit-scrollbar {
    display: none;
}

.swr-mr-track {
    display: flex;
    align-items: stretch;
    gap: 22px;
}

.swr-mr-card {
    position: relative;
    flex: 0 0 calc((100% - 44px) / 3);
    min-height: 322px;
    padding: 30px 28px 28px;
    border: 1px solid var(--swr-mr-border);
    border-radius: 20px;
    background:
        linear-gradient(180deg, rgba(255,255,255,0.055), rgba(255,255,255,0.022)),
        var(--swr-mr-card);
    box-shadow: 0 24px 46px var(--swr-mr-shadow);
    scroll-snap-align: start;
    overflow: hidden;
}

.swr-mr-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(circle at 50% 0%, rgba(255,255,255,0.075), transparent 42%);
    opacity: 0.65;
    pointer-events: none;
}

.swr-mr-card-top,
.swr-mr-card-stars,
.swr-mr-card-text {
    position: relative;
    z-index: 1;
}

.swr-mr-card-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 18px;
}

.swr-mr-card h3 {
    margin: 0;
    color: #ffffff;
    font-size: 15px;
    line-height: 1.2;
    font-weight: 850;
    letter-spacing: -0.03em;
}

.swr-mr-card-top p {
    margin: 5px 0 0;
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
    line-height: 1.2;
    font-weight: 750;
}

.swr-mr-google-g {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 24px;
    line-height: 1;
    font-weight: 900;
    letter-spacing: -0.14em;
    background: conic-gradient(from -42deg, #4285f4 0 25%, #34a853 0 42%, #fbbc05 0 63%, #ea4335 0 80%, #4285f4 0 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.swr-mr-card-stars {
    margin-bottom: 18px;
    font-size: 15px;
    line-height: 1;
}

.swr-mr-card-text {
    margin: 0;
    color: rgba(255, 255, 255, 0.91);
    font-size: 14px;
    line-height: 1.45;
    font-weight: 520;
    letter-spacing: -0.025em;
    display: -webkit-box;
    -webkit-line-clamp: 8;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.swr-mr-arrow {
    position: absolute;
    top: 50%;
    z-index: 5;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    padding: 0;
    transform: translateY(-50%);
    border: 1px solid rgba(209, 123, 19, 0.72);
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.28);
    color: var(--swr-mr-orange-strong);
    font-size: 25px;
    line-height: 1;
    cursor: pointer;
    transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, opacity 180ms ease;
}

.swr-mr-arrow:hover,
.swr-mr-arrow:focus-visible {
    background: rgba(209, 123, 19, 0.12);
    border-color: rgba(245, 154, 22, 0.98);
    transform: translateY(-50%) scale(1.04);
    outline: none;
}

.swr-mr-arrow[disabled] {
    opacity: 0.35;
    cursor: default;
}

.swr-mr-arrow-prev {
    left: -76px;
}

.swr-mr-arrow-next {
    right: -76px;
}

.swr-mr-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    min-height: 22px;
    margin-top: 16px;
}

.swr-mr-dot {
    width: 10px;
    height: 10px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.22);
    cursor: pointer;
    transition: width 180ms ease, background 180ms ease, opacity 180ms ease;
}

.swr-mr-dot.is-active {
    background: var(--swr-mr-orange-strong);
}

.swr-mr-empty-admin {
    padding: 18px 20px;
    border: 1px solid rgba(209, 123, 19, 0.4);
    border-radius: 14px;
    background: rgba(209, 123, 19, 0.08);
    color: #ffffff;
}

@media (max-width: 1180px) {
    .swr-mr-arrow-prev {
        left: -18px;
    }

    .swr-mr-arrow-next {
        right: -18px;
    }
}

@media (max-width: 920px) {
    .swr-mr-card {
        flex-basis: calc((100% - 22px) / 2);
    }
}

@media (max-width: 640px) {
    .swr-mr-section.swr-mr-black {
        padding: 52px 16px 62px;
    }

    .swr-mr-header {
        margin-bottom: 30px;
    }

    .swr-mr-kicker {
        font-size: 10px;
        letter-spacing: 0.13em;
        padding-inline: 14px;
    }

    .swr-mr-summary {
        flex-wrap: wrap;
        gap: 8px;
        font-size: 18px;
    }

    .swr-mr-card {
        flex-basis: 88%;
        min-height: 292px;
        padding: 26px 22px;
        border-radius: 18px;
    }

    .swr-mr-card-text {
        -webkit-line-clamp: 7;
    }

    .swr-mr-arrow {
        top: auto;
        bottom: -58px;
        transform: none;
        width: 44px;
        height: 44px;
        font-size: 21px;
    }

    .swr-mr-arrow:hover,
    .swr-mr-arrow:focus-visible {
        transform: scale(1.04);
    }

    .swr-mr-arrow-prev {
        left: calc(50% - 58px);
    }

    .swr-mr-arrow-next {
        right: calc(50% - 58px);
    }

    .swr-mr-dots {
        margin-top: 76px;
    }
}
