/* ========== CSS страницы «Мастер-классы» ========== */
/* Скоуп: .mk-page (контент) + .mk-modal-overlay (модалка вне <main>). */

.mk-page,
.mk-modal-overlay {
    --mk-yellow: #ECBC16;
    --mk-yellow-soft: #FFF6DC;
    --mk-purple: #514093;
    --mk-purple-dark: #3D316F;
    --mk-ink: #262230;
    --mk-card-bg: #1c1a22;
    --mk-text: #4a4658;
    --mk-text-light: #7a768a;
    --mk-white: #ffffff;
    --mk-open: #5E6B2E;
    --mk-closed: #934059;
    --mk-done: #a5414d;
    --mk-border: rgba(38, 34, 48, 0.08);
    --mk-shadow: 0 10px 30px rgba(38, 34, 48, 0.12);
}

/* -------- Screen-reader (только в скоупе) -------- */
.mk-page .screen-reader-text,
.mk-modal-overlay .screen-reader-text {
    border: 0;
    clip: rect(1px,1px,1px,1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    word-wrap: normal !important;
}
.mk-page .screen-reader-text:focus,
.mk-page .skip-link:focus,
.mk-page a.skip-link:focus,
.mk-page a.scroll-ignore:focus,
.mk-modal-overlay .screen-reader-text:focus,
.mk-modal-overlay .skip-link:focus,
.mk-modal-overlay a.skip-link:focus,
.mk-modal-overlay a.scroll-ignore:focus {
    clip: auto !important;
    clip-path: none !important;
    height: auto !important;
    width: auto !important;
    margin: 0 !important;
    padding: 15px 20px !important;
    background: #514093 !important;
    color: #fff !important;
    font-size: 16px !important;
    z-index: 100000 !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    text-decoration: none !important;
    border-radius: 0 0 4px 0 !important;
    outline: 2px solid #ECBC16 !important;
    outline-offset: 2px !important;
    overflow: visible !important;
}

.mk-page {
    background: var(--mk-yellow);
    padding: 0 0 80px;
    overflow: hidden;
}

.mk-page .mk-container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ==================== HERO ==================== */
.mk-page .mk-hero {
    position: relative;
    z-index: 1;
    padding: 80px 0 0;
}

.mk-page .mk-hero-inner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    padding-bottom: 100px;
}

.mk-page .mk-hero-text {
    flex: 1 1 50%;
    max-width: 600px;
    position: relative;
    z-index: 3;
}

.mk-page .mk-hero-image {
    display: none;
}

.mk-page .mk-hero-image img {
    max-width: 100%;
    width: auto;
    height: auto;
    max-height: 620px;
    object-fit: contain;
    display: block;
}

/* ==================== КАРТОЧКИ ==================== */
.mk-page .mk-cards-wrap {
    position: relative;
    z-index: 3;
    margin-top: -40px;
}

.mk-page .mk-ico {
    width: 1em;
    height: 1em;
    display: inline-block;
    vertical-align: middle;
    flex-shrink: 0;
}

.mk-page .mk-eyebrow {
    display: inline-block;
    font-size: 0.8em;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--mk-purple);
    margin-bottom: 14px;
}

.mk-page .mk-page-title {
    font-family: inherit;
    font-size: 2.6em;
    font-weight: 700;
    line-height: 1.15;
    color: var(--mk-ink);
    margin: 0 0 16px;
}

.mk-page .mk-page-subtitle {
    color: var(--mk-purple-dark);
    font-size: 1.05em;
    line-height: 1.5;
    margin: 0;
    opacity: 0.85;
}

/* ==================== ТЕКСТ + КНОПКА ДЗЕН ==================== */
.mk-page .mk-dzen-text {
    margin: 20px 0 10px;
    font-size: 1em;
    font-weight: 700;
    line-height: 1.4;
    color: var(--mk-purple-dark);
}

.mk-page .mk-dzen-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 11px 22px;
    font-size: 0.9em;
    font-weight: 700;
    color: var(--mk-purple);
    background: transparent;
    border: 2px solid var(--mk-purple);
    border-radius: 6px;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
    white-space: nowrap;
}

.mk-page .mk-dzen-link:hover {
    background: var(--mk-purple);
    color: var(--mk-white);
    transform: translateY(-2px);
}

.mk-page .mk-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

/* ====== КАРТОЧКА ====== */
.mk-page .mk-card {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    cursor: pointer;
    box-shadow: var(--mk-shadow);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    background: var(--mk-card-bg);
}

.mk-page .mk-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 40px rgba(38, 34, 48, 0.25);
}

.mk-page .mk-card-photo {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: right center;
    display: block;
    transition: transform 0.5s ease;
}

.mk-page .mk-card:hover .mk-card-photo {
    transform: scale(1.04);
}

.mk-page .mk-card-photo--placeholder {
    background: linear-gradient(135deg, var(--mk-purple), var(--mk-purple-dark));
    position: absolute;
    inset: 0;
}

.mk-page .mk-card--done .mk-card-photo {
    filter: grayscale(60%) brightness(0.75);
}

.mk-page .mk-card-shade {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(to right,
        rgba(28, 26, 34, 0.95) 0%,
        rgba(28, 26, 34, 0.75) 40%,
        rgba(28, 26, 34, 0.2) 65%,
        rgba(28, 26, 34, 0) 100%);
}

.mk-page .mk-city {
    position: absolute;
    top: 18px;
    left: 18px;
    z-index: 3;
    font-size: 0.7em;
    font-weight: 700;
    color: var(--mk-yellow);
    border: 1.5px solid var(--mk-yellow);
    border-radius: 6px;
    padding: 4px 11px;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    background: transparent;
    white-space: nowrap;
}

.mk-page .mk-middle {
    position: absolute;
    bottom: 70px;
    left: 18px;
    width: 58%;
    z-index: 2;
    color: var(--mk-white);
    pointer-events: none;
}

.mk-page .mk-title {
    font-family: inherit;
    font-size: 0.95em;
    font-weight: 400;
    line-height: 1.15;
    margin: 0 0 4px;
    color: var(--mk-white);
    text-transform: uppercase;
    letter-spacing: 0.02em;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

.mk-page .mk-prepodavatel {
    font-size: 0.88em;
    font-weight: 600;
    color: var(--mk-yellow);
    margin: 0 0 6px;
    line-height: 1.2;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

.mk-page .mk-datetime {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 0.72em;
    font-weight: 600;
    color: var(--mk-white);
    margin: 0;
}

.mk-page .mk-datetime span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.mk-page .mk-datetime .mk-ico { width: 1em; height: 1em; }

.mk-page .mk-bottom {
    position: absolute;
    bottom: 18px;
    left: 18px;
    right: 18px;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.mk-page .mk-status-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 34px;
    font-size: 0.85em;
    font-weight: 700;
    padding: 0 14px;
    border-radius: 6px;
    color: var(--mk-white);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
    box-sizing: border-box;
}

.mk-page .mk-status-badge--open   { background: var(--mk-open);   }
.mk-page .mk-status-badge--closed { background: var(--mk-closed); }
.mk-page .mk-status-badge--done   { background: var(--mk-done);   }

.mk-page .mk-arrow {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--mk-yellow);
    color: var(--mk-ink);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, background 0.3s ease;
    flex-shrink: 0;
    box-sizing: border-box;
}

.mk-page .mk-arrow .mk-ico { width: 1em; height: 1em; }

.mk-page .mk-card:hover .mk-arrow {
    transform: translateX(3px);
    background: var(--mk-white);
}

.mk-page .mk-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 24px;
    background: var(--mk-white);
    border-radius: 15px;
    color: var(--mk-text-light);
}

/* ==================== МОДАЛЬНОЕ ОКНО ==================== */
.mk-modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 1000;
    background: rgba(38, 34, 48, 0.55);
    backdrop-filter: blur(4px);
    padding: 24px;
    overflow-y: auto;
    animation: mkFadeIn 0.25s ease;
}

.mk-modal-overlay .mk-modal {
    position: relative;
    background: var(--mk-white);
    max-width: 760px;
    margin: 2vh auto;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.3);
    animation: mkSlideIn 0.3s ease;
}

.mk-modal-overlay .mk-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 5;
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    background: var(--mk-white);
    color: var(--mk-ink);
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transition: background 0.2s ease, color 0.2s ease;
    padding: 0;
    aspect-ratio: 1 / 1;
}

.mk-modal-overlay .mk-modal-close:hover {
    background: var(--mk-purple);
    color: var(--mk-white);
}

.mk-modal-overlay .mk-modal-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.mk-modal-overlay .mk-modal-body .mk-modal-media { order: 1; }
.mk-modal-overlay .mk-modal-body .mk-modal-main  { order: 2; }

.mk-modal-overlay .mk-modal-media {
    background: var(--mk-yellow-soft);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: stretch;
}

.mk-modal-overlay .mk-modal-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: right center;
    display: block;
    min-height: 260px;
}

.mk-modal-overlay .mk-modal-media-placeholder {
    width: 100%;
    height: 100%;
    min-height: 260px;
    background: linear-gradient(135deg, var(--mk-yellow-soft), var(--mk-yellow));
}

.mk-modal-overlay .mk-modal-fio {
    position: absolute;
    left: 16px;
    bottom: 18px;
    max-width: 80%;
    color: var(--mk-white);
    font-size: 1em;
    font-weight: 700;
    line-height: 1.2;
    text-align: left;
    z-index: 4;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.75);
    overflow-wrap: break-word;
    word-wrap: break-word;
}

.mk-modal-overlay .mk-modal-title {
    position: static;
    left: auto;
    bottom: auto;
    max-width: 100%;
    margin: 0 0 14px;
    padding: 0;
    color: var(--mk-purple);
    font-family: inherit;
    font-size: 1.1em;
    font-weight: 600;
    line-height: 1.25;
    text-transform: uppercase;
    letter-spacing: 0;
    text-align: left;
    z-index: auto;
    text-shadow: none;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

.mk-modal-overlay .mk-modal-media::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top,
        rgba(28, 26, 34, 0.75) 0%,
        rgba(28, 26, 34, 0.3) 35%,
        transparent 65%);
    z-index: 2;
    pointer-events: none;
}

.mk-modal-overlay .mk-modal-main { padding: 28px; }

.mk-modal-overlay .mk-modal-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.mk-modal-overlay .mk-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.82em;
    font-weight: 600;
    color: var(--mk-purple-dark);
    background: var(--mk-yellow-soft);
    border: 1px solid rgba(81, 64, 147, 0.15);
    padding: 6px 12px;
    border-radius: 6px;
}

.mk-modal-overlay .mk-chip .mk-ico { color: var(--mk-purple); width: 1em; height: 1em; }

.mk-modal-overlay .mk-modal-anons {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    background: var(--mk-yellow-soft);
    border-left: 4px solid var(--mk-yellow);
    border-radius: 10px;
    padding: 14px 16px;
    margin-bottom: 16px;
}

.mk-modal-overlay .mk-modal-anons .mk-ico {
    color: var(--mk-purple);
    font-size: 1.2em;
    margin-top: 2px;
    width: 1em;
    height: 1em;
    flex-shrink: 0;
}

.mk-modal-overlay .mk-modal-anons p {
    margin: 0;
    color: var(--mk-text);
    font-size: 0.9em;
    line-height: 1.45;
}

.mk-modal-overlay .mk-modal-notice {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(165, 65, 77, 0.1);
    color: #a5414d;
    font-weight: 600;
    font-size: 0.88em;
    padding: 10px 14px;
    border-radius: 6px;
    margin-bottom: 16px;
}

.mk-modal-overlay .mk-modal-notice .mk-ico { width: 1em; height: 1em; }

.mk-modal-overlay .mk-modal-facts {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 16px;
}

.mk-modal-overlay .mk-fact {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 4px;
    padding: 12px 8px;
    border-radius: 6px;
    background: #FAF9FC;
    border: 1px solid var(--mk-border);
}

.mk-modal-overlay .mk-fact .mk-ico {
    color: var(--mk-purple);
    font-size: 1.1em;
    margin-bottom: 2px;
    width: 1em;
    height: 1em;
}

.mk-modal-overlay .mk-fact-label {
    font-size: 0.7em;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    color: var(--mk-text-light);
}

.mk-modal-overlay .mk-fact-value {
    font-size: 0.85em;
    font-weight: 700;
    color: var(--mk-ink);
}

.mk-modal-overlay .mk-modal-address {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.88em;
    color: var(--mk-text);
    background: #FAF9FC;
    border: 1px solid var(--mk-border);
    border-radius: 6px;
    padding: 10px 14px;
    margin-bottom: 16px;
}

.mk-modal-overlay .mk-modal-address .mk-ico { color: var(--mk-purple); width: 1em; height: 1em; }

.mk-modal-overlay .mk-modal-reg {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}

.mk-modal-overlay .mk-status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 38px;
    font-size: 0.8em;
    font-weight: 700;
    padding: 0 14px;
    border-radius: 6px;
    border: 1.5px solid currentColor;
    box-sizing: border-box;
    white-space: nowrap;
    letter-spacing: 0;
}

.mk-modal-overlay .mk-status--open   { background: rgba(130, 147, 64, 0.15); color: #829340; }
.mk-modal-overlay .mk-status--closed { background: rgba(147, 64, 89, 0.15);  color: #934059; }
.mk-modal-overlay .mk-status--done   { background: rgba(165, 65, 77, 0.15); color: #a5414d; }

.mk-modal-overlay .mk-phone {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 38px;
    font-weight: 700;
    color: var(--mk-purple);
    background: transparent;
    border: 1.5px solid var(--mk-purple);
    padding: 0 16px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 0.88em;
    transition: background 0.2s ease, color 0.2s ease;
    box-sizing: border-box;
    white-space: nowrap;
}

.mk-modal-overlay .mk-phone:hover {
    background: var(--mk-purple);
    color: var(--mk-white);
}

.mk-modal-overlay .mk-phone .mk-ico { width: 1em; height: 1em; }

.mk-modal-overlay .mk-btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 38px;
    border: 1.5px solid var(--mk-purple);
    color: var(--mk-purple-dark);
    font-weight: 700;
    font-size: 0.85em;
    padding: 0 16px;
    border-radius: 6px;
    text-decoration: none;
    margin-bottom: 16px;
    transition: background 0.2s ease, color 0.2s ease;
    box-sizing: border-box;
    white-space: nowrap;
}

.mk-modal-overlay .mk-btn-outline:hover {
    background: var(--mk-purple);
    color: var(--mk-white);
}

.mk-modal-overlay .mk-btn-outline .mk-ico { width: 1em; height: 1em; }

.mk-modal-overlay .mk-modal-desc {
    border-top: 1px solid var(--mk-border);
    padding-top: 16px;
    margin-top: 4px;
}

.mk-modal-overlay .mk-modal-desc h4 {
    font-size: 0.9em;
    color: var(--mk-purple-dark);
    margin: 0 0 8px;
}

.mk-modal-overlay .mk-modal-desc p {
    font-size: 0.9em;
    color: var(--mk-text);
    line-height: 1.55;
}

@keyframes mkFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes mkSlideIn {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ==================== АДАПТИВНОСТЬ ==================== */

@media (min-width: 1025px) {
    .mk-page .mk-hero-image {
        display: flex;
        position: absolute;
        right: 0;
        bottom: 0;
        z-index: 1;
        justify-content: flex-end;
        align-items: flex-end;
        max-width: 55%;
    }
}

@media (max-width: 1024px) {
    .mk-page .mk-grid { grid-template-columns: repeat(2, 1fr); gap: 18px; }
    .mk-page .mk-page-title { font-size: 2.2em; }
    .mk-page .mk-hero-image img { max-height: 500px; }
}

@media (max-width: 768px) {
    .mk-page { padding: 0 0 50px; }
    .mk-page .mk-container { padding: 0 16px; }

    .mk-page .mk-hero { padding: 20px 0 0; }

    .mk-page .mk-hero-inner {
        padding: 0 0 30px;
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        position: relative;
    }

    .mk-page .mk-hero-text {
        max-width: 100%;
        z-index: 3;
        position: relative;
        order: 1;
    }

    .mk-page .mk-page-title { font-size: 1.8em; }

    .mk-page .mk-page-subtitle {
        font-size: 0.95em;
        line-height: 1.35;
    }

    .mk-page .mk-dzen-text {
        font-size: 0.95em;
        margin: 16px 0 8px;
        line-height: 1.35;
    }

    .mk-page .mk-dzen-link {
        font-size: 0.85em;
        padding: 10px 18px;
    }

    .mk-page .mk-cards-wrap {
        margin-top: 10px;
        position: relative;
        z-index: 3;
    }

    .mk-page .mk-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .mk-page .mk-card {
        aspect-ratio: 4 / 3;
    }

    .mk-page .mk-city {
        top: 14px;
        left: 14px;
        font-size: 0.65em;
        padding: 3px 9px;
    }

    .mk-page .mk-middle {
        bottom: 60px;
        left: 14px;
        width: 65%;
    }

    .mk-page .mk-title { font-size: 0.9em; }
    .mk-page .mk-prepodavatel { font-size: 0.8em; }

    .mk-page .mk-datetime {
        font-size: 0.68em;
        gap: 8px;
    }

    .mk-page .mk-bottom {
        bottom: 14px;
        left: 14px;
        right: 14px;
    }

    .mk-page .mk-status-badge {
        font-size: 0.8em;
        padding: 0 13px;
        border-radius: 6px;
        height: 34px;
    }

    .mk-page .mk-arrow {
        width: 34px;
        height: 34px;
    }
    .mk-page .mk-arrow .mk-ico { width: 1em; height: 1em; }

    .mk-modal-overlay .mk-modal-body { grid-template-columns: 1fr; }
    .mk-modal-overlay .mk-modal-body .mk-modal-media { order: 1; }
    .mk-modal-overlay .mk-modal-body .mk-modal-main  { order: 2; }

    .mk-modal-overlay .mk-modal-media { min-height: 280px; }
    .mk-modal-overlay .mk-modal-media img,
    .mk-modal-overlay .mk-modal-media-placeholder { min-height: 280px; }
    .mk-modal-overlay .mk-modal-main { padding: 22px; }
    .mk-modal-overlay .mk-modal-facts { grid-template-columns: repeat(3, 1fr); }

    .mk-modal-overlay .mk-modal-fio {
        position: absolute;
        left: 16px;
        top: 50%;
        bottom: auto;
        transform: translateY(-50%);
        max-width: 55%;
        color: #ffffff;
        font-size: 1em;
        font-weight: 700;
        line-height: 1.2;
        text-align: left;
        z-index: 4;
        text-shadow: 0 2px 8px rgba(0, 0, 0, 0.75);
        overflow-wrap: break-word;
    }

    .mk-modal-overlay .mk-modal-title {
        position: static;
        color: #514093;
        font-size: 1.1em;
        font-weight: 600;
        line-height: 1.25;
        text-transform: uppercase;
        letter-spacing: 0;
        text-shadow: none;
        margin: 0 0 14px;
        max-width: 100%;
    }

    .mk-modal-overlay .mk-status,
    .mk-modal-overlay .mk-phone,
    .mk-modal-overlay .mk-btn-outline { height: 34px; }
}

@media (max-width: 480px) {
    .mk-page .mk-hero { padding: 14px 0 0; }
    .mk-page .mk-hero-inner { padding: 0 0 20px; gap: 10px; }
    .mk-page .mk-page-title { font-size: 1.6em; }

    .mk-page .mk-page-subtitle { line-height: 1.3; }

    .mk-page .mk-dzen-text {
        font-size: 0.9em;
        margin: 14px 0 8px;
        line-height: 1.3;
    }

    .mk-page .mk-dzen-link {
        font-size: 0.82em;
        padding: 9px 16px;
    }

    .mk-page .mk-cards-wrap { margin-top: 8px; }

    .mk-page .mk-card { aspect-ratio: 4 / 3; }

    .mk-page .mk-city {
        top: 12px;
        left: 12px;
        font-size: 0.6em;
        padding: 3px 8px;
    }

    .mk-page .mk-middle {
        bottom: 56px;
        left: 12px;
        width: 70%;
    }

    .mk-page .mk-title { font-size: 0.85em; }
    .mk-page .mk-prepodavatel { font-size: 0.75em; }
    .mk-page .mk-datetime { font-size: 0.65em; gap: 6px; }

    .mk-page .mk-bottom { bottom: 12px; left: 12px; right: 12px; }

    .mk-page .mk-status-badge {
        font-size: 0.75em;
        padding: 0 12px;
        border-radius: 6px;
        height: 30px;
    }

    .mk-page .mk-arrow { width: 30px; height: 30px; }
    .mk-page .mk-arrow .mk-ico { width: 1em; height: 1em; }

    .mk-modal-overlay { padding: 0; }
    .mk-modal-overlay .mk-modal { margin: 0; border-radius: 0; min-height: 100vh; max-width: 100%; }

    .mk-modal-overlay .mk-modal-media { min-height: 240px; }
    .mk-modal-overlay .mk-modal-media img,
    .mk-modal-overlay .mk-modal-media-placeholder { min-height: 240px; }

    .mk-modal-overlay .mk-modal-fio {
        left: 12px;
        max-width: 55%;
        font-size: 0.95em;
    }

    .mk-modal-overlay .mk-modal-title {
        font-size: 1em;
        font-weight: 600;
        line-height: 1.25;
        letter-spacing: 0;
    }

    .mk-modal-overlay .mk-status,
    .mk-modal-overlay .mk-phone,
    .mk-modal-overlay .mk-btn-outline { height: 32px; }
}