/* ===========================
   CLEAN REVISED PRINT STYLES
   =========================== */
@media print {

  /* --- GLOBAL RESET --- */
  * {
    background: transparent !important;
    color: #000 !important;
    box-shadow: none !important;
    text-shadow: none !important;
    /* FIX: Force opacity to 1 everywhere to defeat fade-in animations */
    opacity: 1 !important; 
  }

  a[href]:after,
  abbr[title]:after {
    content: "" !important; /* no raw URLs */
  }

  img {
    max-width: 100% !important;
    page-break-inside: avoid;
  }

  @page {
    margin: 1in;
  }

  body {
    margin: 0;
    padding: 0;
    font-size: 12pt;
    line-height: 1.5;
  }


  /* ===========================
     HEADER AREA (LOGO ONLY)
     =========================== */

  /* Keep header + logo, white background */
  #header-outer {
    position: static !important;
    background: #fff !important;
    padding-top: 10px !important;
    margin-bottom: 0px !important;
    height: auto !important;
    border-bottom: 1px solid #ccc;
  }

  /* Ensure header children are visible */
  #header-outer,
  #header-outer * {
    visibility: visible !important;
  }

  /* Hide everything in header except logo */
  #header-outer nav,
  #header-outer .sf-menu,
  #header-outer .menu-wrap,
  #header-outer .slide-out-widget-area-toggle,
  #header-outer .mobile-menu,
  #header-outer input[aria-label="Search"],
  #header-outer button[aria-label="Search"],
  #header-outer .cart-menu, #header-space, .nectar-article-caption, .nectar-article-share {
    display: none !important;
    visibility: hidden !important;
  }

  #slide-out-widget-area {
    display: none !important;
  }


  /* ===========================
     PAGE HEADER / TITLE BLOCK (THE FIX)
     =========================== */

  /* 1. Ensure the container has height and is visible */
  #page-header-bg,
  #page-header-wrap {
    display: block !important;
    visibility: visible !important;
    position: static !important;
    background: #fff !important;
    height: auto !important;
    min-height: auto !important;
    padding: 20px 0 0 0 !important; /* Reduce padding to save space */
    margin: 0 0 20px !important;
    overflow: visible !important;
    opacity: 1 !important; /* Force visibility */
  }

  /* 2. Hide background images/overlays that might block text or waste ink */
  #page-header-bg .page-header-overlay-color,
  #page-header-bg .video-bg,
  #page-header-bg .nectar-video-bg,
  #page-header-bg .page-header-bg-image,
  #page-header-bg .nectar-animated-gradient,
  #page-header-bg:before,
  #page-header-bg:after {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
  }

  /* 3. TARGET THE TITLE SPECIFICALLY */
  /* We target multiple possible Nectar/Salient title classes */
  #page-header-bg .row.project-title,
  #page-header-bg .section-title,
  #page-header-bg .section-title .inner-wrap,
  .nectar-box-roll,
  .span_6 {
    display: block !important;
    visibility: visible !important;
    height: auto !important;
    width: 100% !important;
    overflow: visible !important;
    position: static !important;
    opacity: 1 !important; /* CRITICAL FIX */
    transform: none !important; /* CRITICAL FIX: Reset slide-up animations */
  }

  /* 4. Style the H1 Text */
  #page-header-bg .section-title h1,
  #page-header-bg h1,
  article .entry-title,
  article h1,
  .entry-title {
    font-family: serif !important; /* Optional: matches print feel */
    font-size: 28pt !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    margin: 0 0 10px !important;
    padding: 0 !important;
    color: #000 !important;
    text-transform: none !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important; /* CRITICAL FIX */
    transform: none !important;
    position: static !important;

  }
  
  /* Hide the scroll-down arrow */
  .scroll-down-wrap { display: none !important; }


  /* ===========================
     META (DATE + BYLINE)
     =========================== */

  article time,
  article .post-date {
    font-size: 10pt !important;
    color: #666 !important;
    display: inline-block !important;
  }

  article .post-meta,
  article .post-author {
    font-size: 10pt !important;
    margin-bottom: 20px !important;
    display: block !important;
  }
  
  /* Clean up the byline area */
  article .post-meta a { text-decoration: none !important; color: #000 !important; }
  article .post-meta .meta-author { display: inline-block !important; }


  /* ===========================
     REMOVE SHARE / NEWSLETTER / FOOTER
     =========================== */

  .share,
  .nectar-social,
  #newsletter,
  .newsletter,
  #contact .social,
  .nectar-global-section #notes,
	.hide,
  #sidebar,
  .comments-section,
  .post-tags,
  .bottom-meta {
    display: none !important;
    visibility: hidden !important;
  }

 #contact .vc_col-sm-8, #footer .copyright {
		width:100%;
		text-align: center; 
	
	}

  /* ===========================
     ARTICLE CONTENT
     =========================== */

  body.single article {
    max-width: 100% !important;
    margin: 0 !important;
  }

  article .entry-content,
  article .entry-content p {
    font-size: 12pt !important;
    line-height: 1.5 !important;
    margin-bottom: 1em !important;
    color: #000 !important;
  }

  /* Hide code blocks or inline styles that print weirdly */
  article style,
  .entry-content style {
    display: none !important;
  }
}