/* Change red links to bold black */
.entry-content a,
.wp-block-post-content a,
.page-content a,
article a,
.wp-site-blocks a:not(.wp-block-navigation-item__content):not(.wp-block-site-title a) {
  color: #000000 !important;
  font-weight: bold !important;
  text-decoration: underline !important;
}

.entry-content a:hover,
.wp-block-post-content a:hover,
.page-content a:hover,
article a:hover,
.wp-site-blocks a:not(.wp-block-navigation-item__content):not(.wp-block-site-title a):hover {
  color: #333333 !important;
  text-decoration: underline !important;
}

/* Reduce page spacing for tighter layout */
main > .wp-block-group:first-child {
  padding-top: 32px !important;
  padding-bottom: 32px !important;
}

main > .wp-block-group + .wp-block-group {
  margin-top: 24px !important;
}

.wp-block-group.has-global-padding {
  margin-top: 24px !important;
}

/* Tighten post title area spacing */
.wp-block-post-title {
  margin-bottom: 16px !important;
}
/* Comment form uses default "Leave a Reply" heading */.wp-block-button__link:hover,
.entry-content .wp-block-button__link:hover,
.wp-block-post-content .wp-block-button__link:hover,
.page-content .wp-block-button__link:hover,
article .wp-block-button__link:hover {
  color: #ffffff !important;
  opacity: 0.85;
  text-decoration: none !important;
}


/* Fix Amazon buy buttons - keep white text on black background (high specificity) */
.wp-site-blocks .wp-block-button a.wp-block-button__link.wp-element-button,
.wp-site-blocks .wp-block-button a.wp-block-button__link.wp-element-button:visited,
.wp-site-blocks .wp-block-button a.wp-block-button__link.wp-element-button:link {
  color: #ffffff !important;
  text-decoration: none !important;
  font-weight: 600 !important;
}
.wp-site-blocks .wp-block-button a.wp-block-button__link.wp-element-button:hover,
.wp-site-blocks .wp-block-button a.wp-block-button__link.wp-element-button:focus {
  color: #ffffff !important;
  opacity: 0.85 !important;
  text-decoration: none !important;
}
