:host {
    display: block;
    width: 100%;
}

.page-frame {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.page-frame__body {
    width: min(100%, 72rem);
    margin: 0 auto;
}

:host ::ng-deep .hk-page-tabs > .p-tablist,
:host ::ng-deep .hk-admin-tabs > .p-tablist {
    overflow-x: auto;
    background: transparent;
    border-bottom: 1px solid var(--p-surface-200);
}

:host-context(.p-dark) ::ng-deep .hk-page-tabs > .p-tablist,
:host-context(.p-dark) ::ng-deep .hk-admin-tabs > .p-tablist {
    border-bottom-color: var(--p-surface-700);
}

:host ::ng-deep .hk-page-tabs .p-tab,
:host ::ng-deep .hk-admin-tabs .p-tab {
    gap: 0.45rem;
    white-space: nowrap;
}

:host ::ng-deep .hk-page-tabs .p-tabpanels,
:host ::ng-deep .hk-admin-tabs .p-tabpanels {
    padding: 1rem 0 0;
    background: transparent;
}

@media (max-width: 760px) {
    :host ::ng-deep .hk-page-tabs .p-tab,
    :host ::ng-deep .hk-admin-tabs .p-tab {
        padding-inline: 0.55rem;
    }
}
