.hosting {
    padding: 36px 0;
    background: #f5f5f5;
}

.hosting:nth-of-type(even) {
    padding-top: 0;
}

.hosting .container {
    max-width: 1240px;
}

.hosting .row {
    margin: 0;
}

.hosting .col-md-12 {
    padding: 0;
    background: #ffffff;
    border: 1px solid #e8ebf3;
    border-radius: 22px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hosting .col-md-12:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(12, 15, 56, 0.10);
}

.titlepage {
    margin: 0;
    padding: 22px 28px 18px;
    background: linear-gradient(135deg, #0c0f38 0%, #151a55 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

#raiting_niy.titlepage {
    background: linear-gradient(135deg, #11174f 0%, #1b246d 100%);
}

#about_niy.titlepage {
    background: linear-gradient(135deg, #0c0f38 0%, #151a55 100%);
}

.titlepage h2 {
    margin: 0;
    color: #ffffff;
    font-size: 28px;
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: -0.02em;
    text-align: center;
}

.project_text {
    position: relative;
    padding: 22px 28px 24px;
    background: #ffffff;
}

.project_text::before {
    content: "";
    display: block;
    width: 58px;
    height: 4px;
    border-radius: 999px;
    background: #0c0f38;
    margin-bottom: 18px;
}

.project_text--article {
    color: #44506b;
}

.project_text p {
    margin-top: 0;
    margin-bottom: 0;
}

.article_lead {
    margin: 0 0 18px;
    color: #344054;
    font-size: 18px;
    line-height: 1.7;
    font-weight: 500;
}

.article_block {
    margin-bottom: 22px;
}

.article_block:last-of-type {
    margin-bottom: 0;
}

.article_block h3 {
    margin: 0 0 10px;
    color: #0c0f38;
    font-size: 22px;
    line-height: 1.25;
    font-weight: 800;
}

.article_block p {
    margin: 0 0 12px;
    color: #44506b;
    font-size: 16px;
    line-height: 1.75;
    text-align: left;
}

.article_block p:last-child {
    margin-bottom: 0;
}

.article_quote {
    margin: 22px 0;
    padding: 18px 20px;
    border-left: 4px solid #0c0f38;
    background: #f8f9fc;
    border-radius: 14px;
    color: #0c0f38;
    font-size: 17px;
    line-height: 1.65;
    font-weight: 600;
}

.article_note {
    margin-top: 22px;
    padding: 18px 20px;
    background: linear-gradient(135deg, #0c0f38 0%, #151a55 100%);
    border-radius: 14px;
    color: #ffffff;
    font-size: 16px;
    line-height: 1.7;
    font-weight: 500;
}

@media (max-width: 992px) {
    .hosting {
        padding: 28px 0;
    }

    .titlepage {
        padding: 18px 20px 16px;
    }

    .titlepage h2 {
        font-size: 24px;
    }

    .project_text {
        padding: 18px 20px 20px;
    }

    .article_lead {
        font-size: 17px;
        line-height: 1.65;
        margin-bottom: 16px;
    }

    .article_block {
        margin-bottom: 18px;
    }

    .article_block h3 {
        font-size: 20px;
        margin-bottom: 8px;
    }

    .article_block p {
        font-size: 15px;
        line-height: 1.7;
        margin-bottom: 10px;
    }

    .article_quote {
        font-size: 16px;
        line-height: 1.6;
        margin: 18px 0;
        padding: 16px 18px;
    }

    .article_note {
        font-size: 15px;
        line-height: 1.65;
        margin-top: 18px;
        padding: 16px 18px;
    }
}

@media (max-width: 768px) {
    .hosting {
        padding: 22px 0;
    }

    .hosting .container {
        padding-left: 12px;
        padding-right: 12px;
    }

    .hosting .col-md-12 {
        border-radius: 16px;
    }

    .titlepage {
        padding: 16px 14px 14px;
    }

    .titlepage h2 {
        font-size: 21px;
        line-height: 1.25;
        text-align: left;
    }

    .project_text {
        padding: 16px 14px 18px;
    }

    .project_text::before {
        width: 46px;
        margin-bottom: 14px;
    }

    .article_lead {
        margin-bottom: 14px;
        font-size: 16px;
        line-height: 1.6;
    }

    .article_block {
        margin-bottom: 16px;
    }

    .article_block h3 {
        margin-bottom: 8px;
        font-size: 19px;
        line-height: 1.25;
    }

    .article_block p {
        margin-bottom: 9px;
        font-size: 14px;
        line-height: 1.65;
    }

    .article_quote {
        margin: 16px 0;
        padding: 14px 14px;
        border-radius: 12px;
        font-size: 15px;
        line-height: 1.55;
    }

    .article_note {
        margin-top: 16px;
        padding: 14px 14px;
        border-radius: 12px;
        font-size: 14px;
        line-height: 1.6;
    }
}