/* dref_ Referral Tools Box — orange/blue only, never red. Prefix: dref- */
.dref-disclosure {
  box-sizing: border-box;
  margin: 0 0 1.25em;
  padding: 12px 16px;
  border-radius: 10px;
  border: 1px solid #e8943a;
  background: #fff8ef;
  color: #1e3a5f;
  font-size: 0.95rem;
  line-height: 1.45;
}
.dref-tools {
  box-sizing: border-box;
  margin: 1.75em 0 0;
  padding: 18px 18px 8px;
  border-radius: 14px;
  border: 1px solid #2c5282;
  background: #0f2744;
  color: #e8eef6;
}
.dref-tools h2,
.dref-tools .dref-tools-title {
  margin: 0 0 8px;
  color: #f4f7fb;
  font-size: 1.15rem;
  line-height: 1.25;
}
.dref-tools .dref-tools-lead {
  margin: 0 0 14px;
  color: #c5d4e8;
  font-size: 0.95rem;
  line-height: 1.45;
}
.dref-tools-grid {
  display: grid;
  gap: 10px;
  margin: 0 0 12px;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .dref-tools-grid { grid-template-columns: 1fr 1fr; }
}
.dref-tool {
  display: block;
  background: #163556;
  border: 1px solid #3a6ea5;
  border-radius: 12px;
  padding: 14px 16px;
  color: inherit;
  text-decoration: none !important;
}
.dref-tool:hover,
.dref-tool:focus {
  border-color: #7eb6e8;
  text-decoration: none !important;
}
.dref-tool strong {
  display: block;
  color: #ffffff;
  margin: 0 0 4px;
  font-size: 1rem;
}
.dref-tool span {
  display: block;
  color: #c5d4e8;
  font-size: 0.9rem;
  line-height: 1.4;
}
.dref-tool .dref-open {
  display: inline-block;
  margin-top: 10px;
  padding: 6px 12px;
  border-radius: 8px;
  background: #2b6cb0;
  color: #ffffff !important;
  font-size: 0.85rem;
  font-weight: 600;
}
.dref-tool:hover .dref-open { background: #3b82c4; }

/* Light sister-site row in the footer. Inherits page colors; blue links, never red. */
.dref-sites {
  box-sizing: border-box;
  width: 100%;
  margin: 0;
  padding: 10px 16px 16px;
  text-align: center;
  font-size: 0.85rem;
  line-height: 1.45;
  border-top: 1px solid rgba(59, 130, 196, 0.28);
  background: transparent;
  color: inherit;
}
.dref-sites .dref-sites-label {
  display: inline;
  margin-right: 0.35em;
  opacity: 0.8;
}
.dref-sites a {
  color: #5b9bd5;
  text-decoration: none;
}
.dref-sites a:hover,
.dref-sites a:focus {
  color: #7eb6e8;
  text-decoration: underline;
}
.dref-sites .dref-sites-sep {
  opacity: 0.45;
}
