<div class="card">
    <div *ngIf="!hideTitle" class="card-header">
        <span *ngIf="title">{{ title }}</span>
        <ng-content select=".header-content"></ng-content>
    </div>
    <div [ngClass]="'card-body p-' + padding">
        <ng-content select=".body-content"></ng-content>
    </div>
</div>