@php
  $hide_page_title = get_field('hide_page_title');
  $hide_breadcrumbs = get_field('hide_breadcrumbs');

  $muy_posts_heading = get_theme_mod('muy_posts_heading');
  $muy_posts_heading_font_size = get_theme_mod('muy_posts_heading_font_size');

@endphp


@if (!($hide_page_title && $hide_breadcrumbs))
  @if(App::title())
    <div class="page-header @if($muy_posts_heading_font_size) {!!$muy_posts_heading_font_size!!}@endif">
      <div class="container">
        @if(!$hide_page_title)
          <h1 class="{!! !$hide_breadcrumbs ? 'has-breadcrumbs' : '' !!}">{!! App::title() !!}</h1>
        @endif
        <div class="breadcrumbs-container {!! $hide_page_title ? 'no-title' : 'has-title' !!}">
          @if (function_exists('rank_math_the_breadcrumbs') && !$hide_breadcrumbs)
            {!! rank_math_the_breadcrumbs() !!}
          @endif
        </div>
      </div><!--container-->
    </div><!--page-headrr-->
  @endif
  @else
    <div class="mt-16"></div>
@endif