/* Shared by the CMS homepage and the standalone pricing page.
   Semantic selectors keep layout independent of generated PHP utility strings. */
.plan-root > .pricing-plan-card {
    width: 100% !important;
    max-width: 430px;
    min-width: 0;
    flex-shrink: 0;
}
@media (min-width: 768px) {
    .plan-root > .pricing-plan-card {
        width: calc((100% - 40px) / 2) !important;
    }
}
@media (min-width: 1024px) {
    .plan-root > .pricing-plan-card {
        width: calc((100% - 120px) / 4) !important;
    }
}
@media screen and (max-width: 767px) {
    .nav-sticky .site-nav-controls {
        width: 100%;
        flex-direction: column;
        align-items: stretch;
    }
    .nav-sticky .site-nav-controls > div:first-child {
        width: 100% !important;
        height: auto;
        max-height: calc(100dvh - 80px);
        overflow-y: auto;
    }
    .nav-sticky .site-nav-controls ul {
        width: 100%;
        padding-top: 24px;
        padding-bottom: 24px;
        gap: 24px;
        flex-shrink: 0;
    }
}
