/* =====================================================
   MANAGED HOSTING PAGE (pages/managed-hosting.blade.php)
   The page is built from the shared components in ssl-domains.css (.cmds) and
   company.css (.cmco). Only small layout tweaks for this page live here.
===================================================== */

/* Optional hero photo (public/assets/images/managed-hero.webp) */
.cmmh .cmds-hero-visual > img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 20px;
}

/* Three server cards in one row */
.cmmh-plan-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

/* Four step cards in one row */
.cmmh-steps {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

/* Two-option table: keep it compact and centred */
.cmmh-table {
    max-width: 920px;
    margin-inline: auto;
}

@media (max-width: 1100px) {
    .cmmh-steps {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .cmmh-plan-grid {
        grid-template-columns: 1fr;
        max-width: 460px;
        margin-inline: auto;
    }
}

/* Only two options, so the table can always fit (the shared table has a 860px min width) */
.cmmh-table .cmds-table {
    min-width: 0;
}

@media (max-width: 600px) {
    .cmmh-steps {
        grid-template-columns: 1fr;
    }

    .cmmh-table .cmds-table th,
    .cmmh-table .cmds-table td {
        padding-inline: 10px;
        font-size: 13px;
    }

    .cmmh-table .cmds-table-corner small,
    .cmmh-table .cmds-table-plan small,
    .cmmh-table .cmds-table-plan-icon,
    .cmmh-table .cmds-table-feature i {
        display: none;
    }

    .cmmh-table .cmds-table-plan,
    .cmmh-table td {
        width: 92px;
    }

    .cmmh-table .cmds-table-plan-name {
        font-size: 12px;
    }
}
