/*
 Theme Name:   BrazilSafeClosing Theme
 Theme URI:    
 Description:  Child theme for BrazilSafeClosing
 Author:       SA
 Author URI:   
 Template:     Newspaper
 Version:      1.0.7
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Tags:
 Text Domain:  newspaper
*/

/* =========================
   1) FORCE all H2 to be purple + bold
   (even if the editor wraps text in span/strong)
   ========================= */
h2{
  color:#5325ea !important;
  font-weight:700 !important;
}

/* Make anything inside the H2 inherit the same styling */
h2 span,
h2 strong,
h2 b,
h2 em,
h2 a{
  color:inherit !important;
  font-weight:inherit !important;
}

/* =========================
   2) Better spacing between headings (global)
   ========================= */
h1, h2, h3, h4, h5, h6{
  margin-bottom:14px !important;
}

/* Extra spacing ONLY when one heading is directly followed by another heading */
h1 + h1, h1 + h2, h1 + h3, h1 + h4, h1 + h5, h1 + h6,
h2 + h1, h2 + h2, h2 + h3, h2 + h4, h2 + h5, h2 + h6,
h3 + h1, h3 + h2, h3 + h3, h3 + h4, h3 + h5, h3 + h6,
h4 + h1, h4 + h2, h4 + h3, h4 + h4, h4 + h5, h4 + h6,
h5 + h1, h5 + h2, h5 + h3, h5 + h4, h5 + h5, h5 + h6,
h6 + h1, h6 + h2, h6 + h3, h6 + h4, h6 + h5, h6 + h6{
  margin-top:20px !important;
}

/* =========================
   3) Remove the “weird” underlines on links site-wide
   (keep underline on hover for usability)
   ========================= */
a{
  text-decoration:none !important;
}

a:hover,
a:focus{
  text-decoration:underline !important;
  text-underline-offset: .15em;
}
