<?php 
/*
* Display Logo and contact details
*/
?>
<div class="headerbox">
  <div class="logo align-self-center p-2">
    <?php if ( has_custom_logo() ) : ?>
      <div class="site-logo"><?php the_custom_logo(); ?></div>
    <?php endif; ?>
    <?php if( get_theme_mod('pr_agency_site_title_tagline',true) != ''){ ?>
      <?php $pr_agency_blog_info = get_bloginfo( 'name' ); ?>
      <?php if ( ! empty( $pr_agency_blog_info ) ) : ?>
        <?php if ( is_front_page() && is_home() ) : ?>
          <h1 class="site-title p-0"><a href="<?php echo esc_url( home_url( '/' ) ); ?>" rel="home"><?php echo esc_html( $pr_agency_blog_info ); ?></a></h1>
        <?php else : ?>
          <p class="site-title"><a href="<?php echo esc_url( home_url( '/' ) ); ?>" rel="home"><?php echo esc_html( $pr_agency_blog_info ); ?></a></p>
        <?php endif; ?>
      <?php endif; ?>
      <?php
        $pr_agency_description = get_bloginfo( 'description', 'display' );
        if ( $pr_agency_description || is_customize_preview() ) :
      ?>
        <p class="site-description">
          <?php echo esc_html($pr_agency_description); ?>
        </p>
      <?php endif; ?>
    <?php } ?>
  </div>
  <div class="clear"></div>
</div>