
.rsk-machine-page{
    --rmc-ink:#172229;
    --rmc-muted:#66747c;
    --rmc-border:#e2e7ea;
    --rmc-soft:#f6f8f9;
    --rmc-accent:#c8272f;
    --rmc-deep:#063f3d;
    color:var(--rmc-ink);
    background:#fff;
}

.rsk-machine-page *,
.rsk-machine-page *::before,
.rsk-machine-page *::after{
    box-sizing:border-box;
}

.rsk-machine-container,
.rsk-machine-shell{
    width:min(1180px,calc(100% - 40px));
    margin-inline:auto;
}

.rsk-machine-hero{
    padding:24px 0 64px;
    border-bottom:1px solid var(--rmc-border);
    background:
        radial-gradient(circle at 12% 16%,rgba(6,63,61,.08),transparent 28%),
        linear-gradient(180deg,#fff 0%,#f7f9fa 100%);
}

.rsk-machine-breadcrumb{
    margin-bottom:30px;
    color:var(--rmc-muted);
    font-size:13px;
}

.rsk-machine-breadcrumb .rank-math-breadcrumb p{
    margin:0;
}

.rsk-machine-hero-grid{
    display:grid;
    grid-template-columns:minmax(0,1.1fr) minmax(320px,.9fr);
    gap:54px;
    align-items:center;
}

.rsk-machine-kicker{
    display:block;
    margin-bottom:8px;
    color:var(--rmc-accent);
    font-size:12px;
    font-weight:900;
}

.rsk-machine-type{
    display:inline-flex;
    margin:4px 0 13px;
    padding:7px 11px;
    border:1px solid #d9e1e3;
    border-radius:999px;
    background:#fff;
    color:var(--rmc-deep);
    font-size:11px;
    font-weight:900;
}

.rsk-machine-hero h1{
    margin:0 !important;
    color:var(--rmc-ink) !important;
    font-size:clamp(34px,4.7vw,60px) !important;
    line-height:1.18 !important;
    font-weight:900 !important;
}

.rsk-machine-english{
    margin-top:11px;
    color:#55636b;
    font-size:18px;
    font-weight:800;
}

.rsk-machine-identity{
    display:flex;
    flex-wrap:wrap;
    gap:7px;
    margin-top:13px;
}

.rsk-machine-identity span{
    padding:5px 9px;
    border-radius:999px;
    background:#edf2f2;
    color:#55636b;
    font-size:11px;
    font-weight:900;
}

.rsk-machine-lead{
    max-width:760px;
    margin-top:22px;
    color:#4f5d65;
    font-size:16px;
    line-height:2;
}

.rsk-machine-lead p{
    margin:0;
}

.rsk-machine-hero-media{
    min-height:390px;
    margin:0;
    overflow:hidden;
    border:1px solid rgba(255,255,255,.9);
    border-radius:28px;
    background:#edf1f2;
    box-shadow:0 24px 55px rgba(24,35,42,.12);
}

.rsk-machine-hero-image{
    display:block;
    width:100%;
    height:100%;
    min-height:390px;
    object-fit:cover;
}

.rsk-machine-placeholder{
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:12px;
    padding:30px;
    background:linear-gradient(145deg,#0a5652,#073d3b);
    text-align:center;
}

.rsk-machine-placeholder span{
    color:rgba(255,255,255,.65);
    font-size:11px;
    font-weight:900;
    letter-spacing:.18em;
}

.rsk-machine-placeholder strong{
    max-width:92%;
    color:#fff;
    font-size:clamp(30px,4vw,52px);
    line-height:1.35;
}

.rsk-machine-shell{
    padding:12px 0 90px;
}

.rsk-machine-section{
    padding:68px 0;
    border-bottom:1px solid var(--rmc-border);
}

.rsk-machine-section-head{
    max-width:780px;
    margin-bottom:28px;
}

.rsk-machine-section-head h2{
    margin:0 !important;
    color:var(--rmc-ink) !important;
    font-size:clamp(26px,3vw,36px) !important;
    line-height:1.4 !important;
    font-weight:900 !important;
}

.rsk-machine-spec-grid{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:14px;
}

.rsk-machine-spec-card{
    padding:20px;
    border:1px solid var(--rmc-border);
    border-radius:16px;
    background:var(--rmc-soft);
}

.rsk-machine-spec-card span{
    display:block;
    margin-bottom:7px;
    color:var(--rmc-muted);
    font-size:11px;
    font-weight:800;
}

.rsk-machine-spec-card strong{
    color:var(--rmc-ink);
    font-size:17px;
    line-height:1.7;
    font-weight:900;
}

.rsk-machine-info-grid{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:16px;
    margin-top:20px;
}

.rsk-machine-info-card{
    padding:22px;
    border:1px solid var(--rmc-border);
    border-radius:18px;
    background:#fff;
    color:#4f5d65;
    line-height:1.95;
}

.rsk-machine-info-card h3{
    margin:0 0 10px !important;
    color:var(--rmc-ink) !important;
    font-size:18px !important;
    font-weight:900 !important;
}

.rsk-machine-info-card p:last-child{
    margin-bottom:0;
}

.rsk-machine-featured-note{
    margin-bottom:24px;
    padding:18px 20px;
    border-right:4px solid var(--rmc-accent);
    border-radius:12px;
    background:#fff5f5;
    color:#4b565d;
    font-size:14px;
    line-height:1.9;
}

.rsk-machine-prose{
    color:#3f4d55;
    font-size:16px;
    line-height:2.05;
}

.rsk-machine-prose > :first-child{
    margin-top:0;
}

.rsk-machine-prose h2,
.rsk-machine-prose h3,
.rsk-machine-prose h4{
    color:var(--rmc-ink) !important;
    font-weight:900 !important;
    line-height:1.5 !important;
}

.rsk-machine-notes-grid{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:16px;
    margin-top:28px;
}

.rsk-machine-note-card{
    padding:22px;
    border:1px solid var(--rmc-border);
    border-radius:18px;
    background:var(--rmc-soft);
    color:#4b5961;
    line-height:1.95;
}

.rsk-machine-note-card h3{
    margin:0 0 10px !important;
    color:var(--rmc-ink) !important;
    font-size:18px !important;
    font-weight:900 !important;
}

.rsk-machine-note-card ul{
    margin:0;
    padding-right:20px;
}

.rsk-machine-sources ul{
    margin:0;
    padding:0;
    list-style:none;
}

.rsk-machine-sources li{
    padding:11px 0;
    border-bottom:1px solid var(--rmc-border);
}

.rsk-machine-sources li:last-child{
    border-bottom:0;
}

.rsk-machine-sources a{
    color:var(--rmc-deep);
    font-size:13px;
    line-height:1.7;
    overflow-wrap:anywhere;
}

@media(max-width:980px){
    .rsk-machine-hero-grid{
        grid-template-columns:1fr;
    }
}

@media(max-width:640px){
    .rsk-machine-container,
    .rsk-machine-shell{
        width:min(100% - 28px,1180px);
    }

    .rsk-machine-hero{
        padding:16px 0 42px;
    }

    .rsk-machine-hero h1{
        font-size:34px !important;
    }

    .rsk-machine-hero-media,
    .rsk-machine-hero-image{
        min-height:260px;
    }

    .rsk-machine-section{
        padding:48px 0;
    }

    .rsk-machine-spec-grid,
    .rsk-machine-info-grid,
    .rsk-machine-notes-grid{
        grid-template-columns:1fr;
    }
}
