/*
  IdahoRescue-inspired Ebuzz theme customization
  Palette: charcoal #504f4f, white #ffffff, black #000000, rescue red #ba0f0f
  Fonts intentionally left unchanged.
*/

:root {
  --primary: #ba0f0f;
  --primary2: #ba0f0f;
  --primary3: #504f4f;
  --primary4: #ba0f0f;
  --secondary: #000000;
  --bg: #ffffff;
  --bg-2: #504f4f;
  --bg-3: #f7f7f7;
  --black: #000000;
  --white: #ffffff;
  --border: #e5e5e5;
  --body_text: #504f4f;
  --grey-bg: #f7f7f7;
}

body {
  background: #ffffff;
  color: #504f4f;
}

a,
.blog-details-wrapper a,
.postbox__text a {
  color: #ba0f0f;
}

a:hover,
.blog-details-wrapper a:hover,
.postbox__text a:hover {
  color: #000000;
}

/* Header and navigation: clean newsroom feel */
.header-area,
.ebuzz-header-area,
.header-sticky,
.tp-header-area,
.main-header,
.menu-area {
  background: #ffffff !important;
  border-bottom: 1px solid #e5e5e5;
  box-shadow: none !important;
}

.main-menu ul li a,
.tp-main-menu ul li a,
.ebuzz-main-menu ul li a,
.mean-container .mean-nav ul li a {
  color: #000000 !important;
  letter-spacing: 0.01em;
}

.main-menu ul li a:hover,
.main-menu ul li.current-menu-item > a,
.tp-main-menu ul li a:hover,
.tp-main-menu ul li.current-menu-item > a,
.ebuzz-main-menu ul li a:hover,
.ebuzz-main-menu ul li.current-menu-item > a {
  color: #ba0f0f !important;
}

/* Buttons and action links */
.btn,
.tp-btn,
.ebuzz-btn,
button,
input[type="submit"],
.wp-block-button__link,
.read-more,
.more-link {
  background: #ba0f0f !important;
  border-color: #ba0f0f !important;
  color: #ffffff !important;
  border-radius: 4px;
  box-shadow: none !important;
}

.btn:hover,
.tp-btn:hover,
.ebuzz-btn:hover,
button:hover,
input[type="submit"]:hover,
.wp-block-button__link:hover,
.read-more:hover,
.more-link:hover {
  background: #000000 !important;
  border-color: #000000 !important;
  color: #ffffff !important;
}

/* Rescue-news cards: readable, not cluttered */
.blog-item,
.news-item,
.postbox__item,
.ebuzz-blog-item,
.tp-blog-item,
.card,
.widget,
.sidebar__widget,
.blog-sidebar__widget {
  background: #ffffff;
  border: 1px solid #e5e5e5;
  box-shadow: none !important;
  border-radius: 6px;
}

.blog-item:hover,
.news-item:hover,
.postbox__item:hover,
.ebuzz-blog-item:hover,
.tp-blog-item:hover,
.card:hover {
  border-color: rgba(186, 15, 15, 0.35);
  transform: none !important;
}

h1, h2, h3, h4, h5, h6,
.blog-title,
.postbox__title,
.section-title,
.tp-section-title,
.ebuzz-section-title {
  color: #000000;
}

h1 a, h2 a, h3 a, h4 a, h5 a, h6 a,
.blog-title a,
.postbox__title a,
.entry-title a {
  color: #000000 !important;
}

h1 a:hover, h2 a:hover, h3 a:hover, h4 a:hover, h5 a:hover, h6 a:hover,
.blog-title a:hover,
.postbox__title a:hover,
.entry-title a:hover {
  color: #ba0f0f !important;
}

/* Category labels and meta details */
.category a,
.cat-links a,
.post-categories a,
.blog-meta a,
.postbox__meta a,
.news-meta a,
.tagcloud a,
.tags-links a,
.badge,
.label {
  background: #ba0f0f !important;
  color: #ffffff !important;
  border-color: #ba0f0f !important;
}

.blog-meta,
.postbox__meta,
.news-meta,
.entry-meta,
.byline,
.posted-on {
  color: #504f4f !important;
}

.blog-meta a:hover,
.postbox__meta a:hover,
.news-meta a:hover,
.entry-meta a:hover {
  color: #ba0f0f !important;
}

/* Section blocks: subtle contrast without visual noise */
.grey-bg,
.gray-bg,
.bg-grey,
.light-bg,
.section-bg,
.tp-grey-bg {
  background: #f7f7f7 !important;
}

.dark-bg,
.black-bg,
.footer-area,
.footer__area,
.tp-footer-area,
.ebuzz-footer-area {
  background: #000000 !important;
  color: #ffffff !important;
}

.footer-area a,
.footer__area a,
.tp-footer-area a,
.ebuzz-footer-area a {
  color: #ffffff !important;
}

.footer-area a:hover,
.footer__area a:hover,
.tp-footer-area a:hover,
.ebuzz-footer-area a:hover {
  color: #ba0f0f !important;
}

/* Forms */
input,
textarea,
select,
.nice-select {
  border-color: #d9d9d9 !important;
  color: #000000;
  background: #ffffff;
}

input:focus,
textarea:focus,
select:focus,
.nice-select.open {
  border-color: #ba0f0f !important;
  box-shadow: 0 0 0 2px rgba(186, 15, 15, 0.1) !important;
  outline: none !important;
}

/* Keep pages calmer and more nonprofit/editorial */
.breadcrumb-area,
.page-title-area,
.tp-breadcrumb-area,
.ebuzz-breadcrumb-area {
  background-color: #f7f7f7 !important;
  color: #000000 !important;
}

.swiper-pagination-bullet-active,
.slick-dots li.slick-active button,
.scroll-top,
.back-to-top {
  background: #ba0f0f !important;
}

hr,
.wp-block-separator {
  border-color: #e5e5e5;
}
