/* ISPmanager service pages and tariff cards. Loaded only for service category_id=2. */
/*
 * CMS ISPmanager (.uh-ispmanager-tinymce): main.css sets color: var(--heading-color) on all h1-h6.
 * Without !important, .section_title and headings on dark blocks (.uh-hero, .uh-banner) may lose to other theme rules.
 */
.hosting-plan-description .uh-ispmanager-tinymce .uh-hero :is(h1, h2, h3, .section_title),
.user-wysiwyg .uh-ispmanager-tinymce .uh-hero :is(h1, h2, h3, .section_title),
.hosting-plan-description .uh-ispmanager-tinymce .uh-banner :is(h1, h2, h3, .section_title, .banner_title),
.user-wysiwyg .uh-ispmanager-tinymce .uh-banner :is(h1, h2, h3, .section_title, .banner_title) {
    color: #fff !important;
}

/* CMS ISPmanager rich description moved out of DB <style>. */
.uh-ispmanager-tinymce {
    box-sizing: border-box;
    font-size: 16px;
    line-height: 1.45;
    color: #101010;
}

.uh-ispmanager-tinymce *,
.uh-ispmanager-tinymce *::before,
.uh-ispmanager-tinymce *::after {
    box-sizing: border-box;
}

.uh-ispmanager-tinymce .container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 18px;
}

.uh-ispmanager-tinymce .uh-lead {
    color: #555;
    font-size: 0.95rem;
    margin: -0.5rem 0 1.25rem;
    line-height: 1.45;
}

.uh-ispmanager-tinymce .flex {
    display: flex;
}

.uh-ispmanager-tinymce .flex-wrap {
    flex-wrap: wrap;
}

.uh-ispmanager-tinymce .align-items-center {
    align-items: center;
}

.uh-ispmanager-tinymce .align-items-start {
    align-items: flex-start;
}

.uh-ispmanager-tinymce .flex-column {
    flex-direction: column;
}

.uh-ispmanager-tinymce .grid {
    display: grid;
}

.uh-ispmanager-tinymce section {
    margin: 2.75rem 0;
}

.uh-ispmanager-tinymce .section_title {
    font-size: clamp(1.65rem, 4vw, 2.35rem);
    font-weight: 600;
    line-height: 1.2;
    margin: 0 0 1.35rem;
}

.uh-ispmanager-tinymce .section_desc {
    font-size: 1.06rem;
    line-height: 1.45;
    margin: 0;
    color: #252525;
}

.uh-ispmanager-tinymce .uh-hero {
    background: linear-gradient(135deg, #1e1033 0%, #2d1b56 42%, #1a2744 100%);
    color: #fff;
    padding: 3rem 0 2.5rem;
    margin: 0;
    border-radius: 0;
}

.uh-ispmanager-tinymce .uh-hero .section_desc {
    color: rgba(255, 255, 255, 0.92);
}

.uh-ispmanager-tinymce .uh-actions {
    margin-top: 2rem;
    gap: 1.25rem;
}

.uh-ispmanager-tinymce .uh-hero .logo {
    width: 4.25rem;
    height: auto;
    flex-shrink: 0;
    border-radius: 12px;
}

.uh-ispmanager-tinymce .uh-hero .desc {
    font-size: 1.02rem;
    line-height: 1.4;
    max-width: 36rem;
    color: rgba(255, 255, 255, 0.9);
}

.uh-ispmanager-tinymce .uh-hero .btn,
.uh-ispmanager-tinymce .uh-banner .btn {
    display: inline-block;
    text-align: center;
    font-size: 1rem;
    font-weight: 600;
    padding: 0.75rem 1.35rem;
    background: #749eff;
    border-radius: 12px;
    color: #fff;
    text-decoration: none !important;
    transition: background 0.2s;
    border: 0;
    cursor: pointer;
}

.uh-ispmanager-tinymce .uh-hero .btn:hover,
.uh-ispmanager-tinymce .uh-banner .btn:hover {
    background: #6291ff;
    color: #fff;
}

.uh-ispmanager-tinymce .uh-hero .btn-big,
.uh-ispmanager-tinymce .uh-banner .btn-big {
    padding: 0.95rem 1.5rem;
    font-size: 1.05rem;
    border-radius: 14px;
}

.uh-ispmanager-tinymce .uh-banner .btn-white {
    background: #fff;
    color: #252525;
    margin-top: 1rem;
}

.uh-ispmanager-tinymce .uh-banner .btn-white:hover {
    background: #f4f4f4;
    color: #101010;
}

.uh-ispmanager-tinymce .why_list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.75rem 2.5rem;
}

.uh-ispmanager-tinymce .why_list .item {
    gap: 1rem;
}

.uh-ispmanager-tinymce .why_list .i_icon {
    flex-shrink: 0;
    width: 72px;
    height: auto;
}

.uh-ispmanager-tinymce .why_list .i_title {
    font-weight: 600;
    font-size: 1.06rem;
}

.uh-ispmanager-tinymce .why_list .i_desc {
    font-size: 0.95rem;
    color: #444;
    margin-top: 0.5rem;
    line-height: 1.4;
}

.uh-ispmanager-tinymce section.uh-shots-panel > .container {
    max-width: min(1440px, 100%);
    padding-left: clamp(10px, 2.2vw, 28px);
    padding-right: clamp(10px, 2.2vw, 28px);
}

.uh-ispmanager-tinymce .uh-isp-shots-swiper {
    padding: 0 0 2.75rem;
    position: relative;
    margin: 0 -6px;
    width: 100%;
}

@media (min-width: 768px) {
    .uh-ispmanager-tinymce .uh-isp-shots-swiper {
        padding: 0 40px 2.95rem;
        margin: 0;
        width: 100%;
    }
}

@media (min-width: 1200px) {
    .uh-ispmanager-tinymce .uh-isp-shots-swiper {
        padding: 0 48px 3rem;
    }
}

.uh-ispmanager-tinymce .uh-isp-shots-swiper .swiper-slide {
    height: auto;
}

.uh-ispmanager-tinymce .uh-isp-shot {
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.uh-ispmanager-tinymce .uh-isp-shot__frame {
    background: #e8ecf4;
    border-radius: 16px;
    padding: clamp(6px, 1vw, 11px);
    box-shadow: 0 14px 48px rgba(17, 24, 39, 0.09);
    border: 1px solid rgba(30, 41, 59, 0.07);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: clamp(340px, 50vh, 720px);
}

.uh-ispmanager-tinymce .uh-isp-shot__frame img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    max-height: min(78vh, 960px);
    object-fit: contain;
    object-position: center;
    border-radius: 12px;
}

.uh-ispmanager-tinymce .uh-isp-shot__cap {
    font-size: clamp(1rem, 2.8vw, 1.22rem);
    line-height: 1.45;
    color: #1e293b;
    font-weight: 600;
    margin: 0;
    text-align: center;
    max-width: min(52rem, 94%);
    margin-left: auto;
    margin-right: auto;
    padding: 0 clamp(6px, 2vw, 14px);
}

.uh-ispmanager-tinymce .uh-isp-shot__sub {
    display: block;
    font-size: 0.93rem;
    color: #64748b;
    font-weight: 400;
    margin-top: 0.35rem;
    line-height: 1.4;
}

.uh-ispmanager-tinymce .uh-isp-shots-swiper .swiper-pagination {
    bottom: 0 !important;
}

.uh-ispmanager-tinymce .uh-isp-shots-swiper .swiper-pagination-bullet {
    width: 11px;
    height: 11px;
    background: #94a3b8;
    opacity: 1;
}

.uh-ispmanager-tinymce .uh-isp-shots-swiper .swiper-pagination-bullet-active {
    background: #5d2de6;
}

.uh-ispmanager-tinymce .uh-isp-shots-swiper .swiper-button-next::after,
.uh-ispmanager-tinymce .uh-isp-shots-swiper .swiper-button-prev::after {
    font-size: 1.15rem;
    color: #334155;
    font-weight: bold;
}

.uh-ispmanager-tinymce .uh-isp-shots-swiper .swiper-button-next,
.uh-ispmanager-tinymce .uh-isp-shots-swiper .swiper-button-prev {
    width: 44px;
    height: 44px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid rgba(148, 163, 184, 0.55);
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.06);
}

.uh-ispmanager-tinymce .uh-isp-shots-swiper .swiper-button-next:hover,
.uh-ispmanager-tinymce .uh-isp-shots-swiper .swiper-button-prev:hover {
    background: #f8fafc;
    border-color: rgba(93, 45, 230, 0.35);
}

@media (max-width: 767px) {
    .uh-ispmanager-tinymce .uh-isp-shots-swiper .swiper-button-next,
    .uh-ispmanager-tinymce .uh-isp-shots-swiper .swiper-button-prev {
        display: none;
    }
}

.uh-ispmanager-tinymce .services_list {
    grid-template-columns: repeat(6, 1fr);
    gap: 14px;
}

.uh-ispmanager-tinymce .services_list .item {
    grid-column: span 2;
    background: #f4f4f4;
    border-radius: 18px;
    padding: 1.25rem 1.35rem;
    gap: 1rem;
    color: #252525;
    display: flex;
}

.uh-ispmanager-tinymce .services_list .item-big {
    grid-column: span 3;
}

.uh-ispmanager-tinymce .services_list .i_title {
    font-weight: 600;
    font-size: 1.1rem;
}

.uh-ispmanager-tinymce .services_list .i_desc {
    font-size: 0.9rem;
    margin-top: 0.45rem;
    line-height: 1.35;
    color: #454545;
}

.uh-ispmanager-tinymce .services_list .i_img {
    margin-left: auto;
    max-height: 76px;
    width: auto;
}

.uh-ispmanager-tinymce .uh-banner {
    border-radius: 16px;
    background: linear-gradient(120deg, #5d2de6 0%, #3949ab 55%, #1e88e5 100%);
    color: #fff;
    padding: 2rem 1.75rem;
}

.uh-ispmanager-tinymce .uh-banner .banner_title {
    font-size: clamp(1.35rem, 3vw, 1.95rem);
    font-weight: 600;
    max-width: 28rem;
    line-height: 1.2;
    margin: 0;
}

.uh-ispmanager-tinymce .uh-banner-inner {
    gap: 1.35rem;
}

.uh-ispmanager-tinymce .uh-banner-inner > * {
    flex: 1 1 14rem;
    min-width: min(14rem, 100%);
}

.uh-ispmanager-tinymce .uh-banner .banner_desc {
    font-size: 0.98rem;
    opacity: 0.95;
    line-height: 1.45;
    margin: 0;
}

.uh-ispmanager-tinymce .uh-banner .banner_desc p + p {
    margin-top: 0.75rem;
}

.uh-ispmanager-tinymce .uh-contact {
    background: #edf2ff;
    border-radius: 18px;
    padding: 1.5rem 1.35rem;
    max-width: 42rem;
    line-height: 1.5;
}

.uh-ispmanager-tinymce .uh-contact a {
    text-decoration: underline;
    color: #1a237e;
}

@media (max-width: 900px) {
    .uh-ispmanager-tinymce .why_list,
    .uh-ispmanager-tinymce .services_list {
        grid-template-columns: 1fr;
    }

    .uh-ispmanager-tinymce .services_list .item,
    .uh-ispmanager-tinymce .services_list .item-big {
        grid-column: auto;
    }

    .uh-ispmanager-tinymce .uh-banner-inner {
        flex-direction: column;
        align-items: flex-start;
    }
}
