         outerStackView.addArrangedSubview(labelsView)
         
         titleLabel = UILabel()
-        titleLabel!.font = UIFont.systemFont(ofSize: 17.5, weight: UIFont.Weight.bold)
+        titleLabel!.font = titleFont
         titleLabel!.textColor = .white
         titleLabel!.text = title
         titleLabel!.numberOfLines = 0

        
        if let subtitle = subtitle {
            subtitleLabel = UILabel()
            subtitleLabel!.font = UIFont.systemFont(ofSize: 15.0)
            subtitleLabel!.numberOfLines = 0
            subtitleLabel!.textColor = .white
            subtitleLabel!.text = subtitle

                
                let titleHeight = titleLabel?.text?.height(
                    forConstrainedWidth: boundingWidth,
                    font: titleFont
                    ) ?? 0.0
                
                let subtitleHeight = subtitleLabel?.text?.height(
                    forConstrainedWidth: boundingWidth,
                    font: subtitleFont
                    ) ?? 0.0
                
                let topOffset: CGFloat = shouldAdjustForNotchFeaturedIphone() ? 44.0 : verticalSpacing
