/* InsightBD R13 — Accessible header contact text on all 13 themes. */
/* The header uses each theme's --card background. Dark themes need light text. */
body {
  --ib-header-contact-text: #263547;
  --ib-header-contact-hover: #a40000;
}
body.theme-cinema,
body.theme-atelier-noir {
  --ib-header-contact-text: #f6f7f8;
  --ib-header-contact-hover: #ffe1a8;
}
body .site-header .header-details,
body .site-header .header-details .detail-item,
body .site-header .header-details a.detail-item,
body .site-header .header-details a.detail-item:link,
body .site-header .header-details a.detail-item:visited,
body .site-header .header-details .insight-header-email-text {
  color: var(--ib-header-contact-text) !important;
  -webkit-text-fill-color: var(--ib-header-contact-text) !important;
  opacity: 1 !important;
  visibility: visible !important;
  text-shadow: none !important;
}
body .site-header .header-details a.detail-item:hover,
body .site-header .header-details a.detail-item:focus-visible,
body .site-header .header-details a.detail-item:hover .insight-header-email-text,
body .site-header .header-details a.detail-item:focus-visible .insight-header-email-text {
  color: var(--ib-header-contact-hover) !important;
  -webkit-text-fill-color: var(--ib-header-contact-hover) !important;
}
body .site-header .header-details .insight-header-email-icon {
  color: #e64a55 !important;
  -webkit-text-fill-color: #e64a55 !important;
  margin-right: 3px;
}
body .site-header .header-details .insight-header-email {
  display: inline-flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 3px;
  text-decoration: none;
}
@media (max-width: 767px) {
  body .site-header .header-details {
    justify-content: center !important;
    align-items: center !important;
    text-align: center !important;
    row-gap: 5px;
  }
}
