body.presentation-layout {
    min-height: 100vh;
    color: #111111;
    background-image: url('../images/bg.webp') !important;
}

.presentation-main {
    width: min(1220px, calc(100% - 24px));
    margin: 0 auto;
    padding: 150px 0 56px;
}

.presentation-section {
    text-align: center;
}

.presentation-title {
    margin: 0 0 24px;
    font-size: clamp(20px, 2.8vw, 45px);
    line-height: 1.05;
    letter-spacing: 1.2px;
    text-transform: uppercase;
}

.presentation-slider {
    width: min(100%, 860px);
    margin: 0 auto;
}

.presentation-tablet-frame {
    position: relative;
    padding: clamp(18px, 2.2vw, 24px);
    border: 2px solid #0f0f0f;
    border-radius: 34px;
    background: linear-gradient(180deg, #1c1c1c 0%, #080808 100%);
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.presentation-tablet-frame::before {
    content: '';
    position: absolute;
    left: 50%;
    top: clamp(6px, 0.9vw, 10px);
    width: clamp(7px, 0.9vw, 11px);
    height: clamp(7px, 0.9vw, 11px);
    transform: translateX(-50%);
    border-radius: 50%;
    background: radial-gradient(circle at 36% 36%, #5a5a5a 0%, #222222 58%, #0e0e0e 100%);
}

.presentation-tablet-frame::after {
    content: '';
    position: absolute;
    right: clamp(4px, 0.6vw, 8px);
    top: 50%;
    width: 3px;
    height: clamp(44px, 6vw, 76px);
    transform: translateY(-50%);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.2);
}

.presentation-slides {
    position: relative;
    width: 100%;
    aspect-ratio: 744 / 440;
    border-radius: 28px;
    box-shadow: none;
    overflow: hidden;
    display: grid;
    background: #000000;
}

.presentation-slide {
    grid-area: 1 / 1;
    opacity: 0;
    pointer-events: none;
    transition: opacity 420ms ease;
    margin: 0;
}

.presentation-slide.is-active {
    opacity: 1;
    pointer-events: auto;
}

.presentation-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 28px;
}

.presentation-dots {
    position: absolute;
    left: 50%;
    bottom: 14px;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
}

.presentation-dot {
    width: 11px;
    height: 11px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #000000;
    cursor: pointer;
    transition: transform 180ms ease, background-color 180ms ease;
}

.presentation-dot.is-active {
    background: #ec0a3a;
}

.presentation-dot:hover,
.presentation-dot:focus-visible {
    transform: scale(1.18);
    outline: none;
}

.presentation-description {
    margin: 24px auto 0;
    max-width: 980px;
    text-align: left;
}

.presentation-description > * {
    max-width: 100%;
}

.presentation-description.montovnia-text-page-content p + p {
    margin-top: 0;
}

.presentation-categories {
    margin: 0 0 12px;
    font-size: clamp(13px, 1.1vw, 16px);
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.presentation-access-message {
    margin: 8px auto;
    max-width: 840px;
    font-size: clamp(14px, 1.25vw, 19px);
    line-height: 1.4;
}

.presentation-back-link {
    color: #ec0a3a;
    text-decoration: none;
}

.presentation-back-link:hover,
.presentation-back-link:focus-visible {
    text-decoration: underline;
    outline: none;
}

.presentation-pagination {
    margin: 22px 0 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

.presentation-page {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 42px;
    padding: 0 10px;
    border: 2px solid #ec0a3a;
    border-radius: 999px;
    background: transparent;
    color: #ec0a3a;
    font-family: 'Anton', sans-serif;
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
    transition: transform 180ms ease, background-color 180ms ease, color 180ms ease;
}

.presentation-page:hover,
.presentation-page:focus-visible {
    transform: translateY(-2px);
    border-color: #ec0a3a;
    outline: none;
}

.presentation-page.is-active {
    border-color: #ec0a3a;
    background: rgba(236, 10, 58, 0.12);
    color: #ec0a3a;
}

.presentation-page.is-disabled,
.presentation-page.is-ellipsis {
    border-color: rgba(236, 10, 58, 0.28);
    color: rgba(236, 10, 58, 0.55);
    transform: none !important;
    cursor: default;
    text-decoration: none;
}

.presentation-page.is-ellipsis {
    min-width: auto;
    padding: 0 4px;
    border: 0;
    background: transparent;
}

@media (max-width: 767px) {
    .presentation-main {
        width: calc(100% - 20px);
        padding-top: 116px;
        padding-bottom: 40px;
    }

    .presentation-title {
        margin-bottom: 16px;
        font-size: clamp(15px, 5.7vw, 24px);
    }

    .presentation-slider {
        width: 100%;
    }

    .presentation-slides {
        border-radius: 22px;
    }

    .presentation-slide img {
        border-radius: 22px;
    }

    .presentation-tablet-frame {
        padding: 12px;
        border-radius: 28px;
    }

    .presentation-description {
        margin-top: 16px;
    }

    .presentation-dots {
        bottom: 9px;
    }

    .presentation-pagination {
        margin-top: 14px;
    }

    .presentation-page {
        min-width: 36px;
        height: 36px;
        font-size: 16px;
    }
}
