.plans-comparison .hostingplans,
.plans-comparison .tooglehost {
    overflow: visible !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

.plans-comparison .accordion-heading1 {
    overflow: hidden;
    border-radius: 18px 18px 0 0 !important;
}

@media (max-width: 760px) {
    .plans-comparison .firstrow li.first {
        color: #fff !important;
    }

    .plans-comparison .accordion-heading1 {
        border-radius: 14px 14px 0 0 !important;
    }
}

@media (min-width: 761px) {
    .plans-comparison .hostingplans > .container > ul:last-of-type,
    .plans-comparison .accordion-inner > ul:last-of-type {
        overflow: hidden;
        border-radius: 0 0 18px 18px;
    }

    .plans-comparison .hostingplans > .container > ul:last-of-type > li:first-child,
    .plans-comparison .accordion-inner > ul:last-of-type > li:first-child {
        border-radius: 0 0 0 18px;
    }

    .plans-comparison .hostingplans > .container > ul:last-of-type > li:last-child,
    .plans-comparison .accordion-inner > ul:last-of-type > li:last-child {
        border-radius: 0 0 18px 0;
    }
}

.site-header .mega-menu__links b {
    font-size: 15px;
    line-height: 21px;
}

.site-header .mega-menu__links small {
    margin-top: 3px;
    font-size: 12px;
    line-height: 17px;
}

.site-header .mega-menu .mega-menu__links {
    gap: 8px;
}

.site-header .mega-menu--compact {
    width: 650px;
}

.site-header .mega-menu .mega-menu__links > a {
    min-height: 66px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 12px 16px;
    border: 1px solid #e4e9f0;
    border-radius: 11px;
    background: #fff;
    transition: border-color .2s, background .2s, transform .2s, box-shadow .2s;
}

.site-header .mega-menu .mega-menu__links > a:hover {
    transform: translateY(-1px);
    border-color: #9ec7f7;
    background: #f2f7fe;
    box-shadow: 0 7px 18px rgba(7, 21, 43, .07);
}

@media (max-width: 900px) {
    .site-header .mega-menu--compact {
        width: 100%;
    }

    .site-header .mega-menu .mega-menu__links > a {
        min-height: 56px;
        border-color: #333;
        background: #1e1e1e;
    }

    .site-header--scrolled .mega-menu .mega-menu__links > a {
        border-color: #e4e9f0;
        background: #fff;
    }
}

/* One predictable mobile treatment for every navigation submenu. */
@media (max-width: 900px) {
    body.nav-open {
        overflow: hidden;
    }

    .site-header .nav {
        box-sizing: border-box;
        width: 100%;
        height: calc(100dvh - 76px);
        padding: 10px 16px 32px;
        overflow-x: hidden;
        overflow-y: auto;
        overscroll-behavior: contain;
        scrollbar-gutter: stable;
    }

    .site-header .nav-group {
        flex: 0 0 auto;
        width: 100%;
    }

    .site-header .nav > .nav__link,
    .site-header .nav .nav__button {
        box-sizing: border-box;
        min-height: 54px;
        margin: 0;
        padding: 14px 8px !important;
    }

    .site-header .mega-menu,
    .site-header .mega-menu--hosting,
    .site-header .mega-menu--compact {
        box-sizing: border-box;
        width: 100% !important;
        margin: 0;
        padding: 10px 0 12px !important;
        overflow: visible;
        border: 0;
        border-radius: 0;
        background: #101010 !important;
        box-shadow: none;
    }

    .site-header .mega-menu__title {
        display: none;
    }

    .site-header .mega-menu .mega-menu__links,
    .site-header .mega-menu--hosting .mega-menu__links,
    .site-header .mega-menu--compact .mega-menu__links,
    .site-header .mega-menu .mega-menu__links--wide {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        gap: 8px;
        width: 100%;
        margin: 0;
        padding: 0;
    }

    .site-header .mega-menu .mega-menu__links > a,
    .site-header .mega-menu--hosting .mega-menu__links > a,
    .site-header .mega-menu--compact .mega-menu__links > a {
        box-sizing: border-box;
        display: flex !important;
        flex-direction: column;
        justify-content: center;
        width: 100%;
        min-height: 70px;
        margin: 0;
        padding: 13px 16px !important;
        overflow: hidden;
        border: 1px solid #343434 !important;
        border-radius: 12px !important;
        background: #1b1b1b !important;
        box-shadow: none !important;
        transform: none !important;
    }

    .site-header .mega-menu .mega-menu__links > a b {
        color: #fff;
        font: 700 16px/22px Manrope, sans-serif;
    }

    .site-header .mega-menu .mega-menu__links > a small {
        display: block;
        margin-top: 4px;
        color: #98a7bd;
        font-size: 12px;
        line-height: 17px;
    }

    .site-header--scrolled .mega-menu,
    .site-header--scrolled .mega-menu--hosting,
    .site-header--scrolled .mega-menu--compact {
        background: #f6f8fb !important;
    }

    .site-header--scrolled .mega-menu .mega-menu__links > a,
    .site-header--scrolled .mega-menu--hosting .mega-menu__links > a,
    .site-header--scrolled .mega-menu--compact .mega-menu__links > a {
        border-color: #dfe6ef !important;
        background: #fff !important;
    }

    .site-header--scrolled .mega-menu .mega-menu__links > a b {
        color: var(--ink);
    }

    .site-header--scrolled .mega-menu .mega-menu__links > a small {
        color: #6f7f94;
    }
}

@media (max-width: 560px) {
    .site-header .nav {
        height: calc(100dvh - 68px);
        padding-inline: 14px;
    }

    .site-header .mega-menu .mega-menu__links > a,
    .site-header .mega-menu--hosting .mega-menu__links > a,
    .site-header .mega-menu--compact .mega-menu__links > a {
        min-height: 66px;
        padding: 12px 14px !important;
    }
}

/* The Linux VPS source contains its closing notes as text inside a row with no cells. */
.plans-comparison--linux-vps #collapsenin .accordion-inner > ul:last-child {
    display: block !important;
    width: 100%;
    min-width: 0;
    margin: 0 !important;
    padding: 22px 26px !important;
    border: 0;
    border-radius: 0 0 18px 18px;
    background: #f8fafc !important;
    color: #526176;
    font-size: 14px;
    line-height: 1.75;
}

@media (max-width: 760px) {
    .plans-comparison--linux-vps #collapsenin .accordion-inner > ul:last-child {
        padding: 18px !important;
        border: 1px solid #dce3ec;
        border-radius: 12px;
        box-shadow: 0 8px 24px rgba(7, 21, 43, .055);
    }
}
/* Static asset revision: shared plan pricing. */
