/* Shared "verdict + mentions" visual layer, all brands.
   New classes only -- nothing here overrides existing rules in
   theme.css/style.css/style-new.css. RTL handled via [dir="rtl"]/.rtl,
   not by assuming brand = direction. */

.verdict-banner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  border-radius: 10px;
  padding: 16px 18px;
  margin: 4px 0 10px;
}
.verdict-banner-headline {
  font-weight: 700;
  font-size: 1.05rem;
  flex: 1 1 auto;
  min-width: 200px;
}
.verdict-banner-score {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-inline-start: auto;
}
.verdict-banner-score-num {
  font-weight: 700;
  font-size: 1.5rem;
  line-height: 1;
}
.verdict-banner-score-label {
  font-size: 0.8rem;
  line-height: 1.25;
  opacity: 0.85;
  max-width: 9ch;
}

.verdict-banner-dangerous  { background: #fdeceb; color: #a5170d; }
.verdict-banner-suspicious { background: #fdf3e2; color: #8a5a00; }
.verdict-banner-safe       { background: #f2fbe3; color: #4f7a12; }
/* PhoneNumber.spam_verdict emits "unknown" for a number with no reports; the
   template's |default:'none' only fires when the key is absent entirely, so
   without this the commonest state on the site -- no reports yet -- rendered
   as unstyled text with no band at all. */
.verdict-banner-unknown,
.verdict-banner-none       { background: #e8f4fd; color: #1c4b73; }

.verdict-basis {
  font-size: 0.875rem;
  color: #6d6e7a;
  margin-top: 6px;
}

/* Web mentions, restyled as search-result rows */
.mention-result {
  padding: 16px 0;
  border-bottom: 1px solid #f1f1f4;
}
.mention-result:last-child { border-bottom: 0; }
.mention-result-head {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 5px;
}
.mention-result-avatar {
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  border-radius: 50%;
  background: #f1f1f6;
  border: 1px solid #e5e5ee;
  color: #6d6e7a;
  font-size: 11.5px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
/* display:block lives here, not on a utility class in the templates: ilphones
   ships Bootstrap 3, which has no .d-block. */
.mention-result-site {
  display: block;
  font-size: 13px;
  color: #202124;
  line-height: 1.25;
}
.mention-result-crumb {
  display: block;
  font-size: 12px;
  color: #5f6368;
  line-height: 1.25;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.mention-result-title {
  font-size: 18px;
  font-weight: 400;
  line-height: 1.32;
  color: #1a0dab;
  display: inline-block;
  margin-bottom: 3px;
  text-decoration: none;
}
.mention-result-title:hover { text-decoration: underline; }
.mention-result-owner {
  font-size: 14px;
  color: #4d5156;
  line-height: 1.55;
}
.mention-result-snippet {
  font-size: 14px;
  color: #4d5156;
  line-height: 1.55;
  font-style: italic;
}
.mention-result-meta {
  font-size: 12.5px;
  color: #9899a5;
  margin-top: 4px;
}
.mention-result-seen { color: #70757a; }
.mention-result-number {
  color: #202124;
  direction: ltr;
  unicode-bidi: embed;
}
.mention-result-removal {
  padding: 13px 0;
  font-size: 13px;
  color: #7a7b88;
  margin: 0;
}

/* Community reports, one card each */
.report-card {
  border: 1px solid #e9e9f0;
  border-radius: 12px;
  padding: 14px;
  margin-bottom: 10px;
  background: #fff;
}
.report-card-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.report-card-name { font-weight: 700; font-size: 15px; }
.report-card-tag {
  font-size: 12.5px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 7px;
  background: #eef0fb;
  color: #3f4257;
}
.report-card-date {
  margin-inline-start: auto;
  font-size: 12.5px;
  color: #9899a5;
}
.report-card-text {
  font-size: 15px;
  line-height: 1.6;
  color: #3a3b45;
  margin: 8px 0 0;
  text-wrap: pretty;
}

/* End-of-article call to action.
   The include sits at the end of the article body block, which in several
   articles is OUTSIDE the page's container -- so it centres itself rather
   than inheriting a width. Without this it renders full-bleed with its right
   border off-screen.
   (Do not write a template tag here, not even inside a CSS comment: this file
   is parsed by the template engine, which reads one as real markup.) */
.article-cta {
  border: 1px solid #d7d5f5;
  background: #f7f6ff;
  border-radius: 14px;
  padding: 18px;
  margin: 24px auto;
  max-width: 1140px;
  box-sizing: border-box;
}
.article-cta h2 { margin-top: 0; }

/* Same centring for the unit above it, which is outside the container too. */
.article-cta-ad {
  max-width: 1140px;
  margin-inline: auto;
}

/* No RTL overrides needed: margin-inline-start resolves to the correct edge in
   both directions on its own.

   This file is rendered through the Django template engine (the brand shells
   inline it) AND is reachable as a static file, so it must stay plain CSS:
   anything that looks like a template tag would either be parsed as one or leak
   into the served file. */

/* Verdict card: the page's answer. Had no rules at all, so it rendered as loose
   body text, with white-on-grey category chips on AU. */
.verdict-card {
  border-inline-start: 4px solid currentColor;
  border-radius: 12px;
  margin: 12px 0 16px;
  padding: 14px 16px;
}
.verdict-card-dangerous  { background: #fdeceb; color: #a5170d; }
.verdict-card-suspicious { background: #fdf3e2; color: #8a5a00; }
.verdict-card-safe       { background: #f2fbe3; color: #4f7a12; }
.verdict-card-unknown,
.verdict-card-none       { background: #e8f4fd; color: #1c4b73; }
.verdict-card-label { font-size: 1.25rem; font-weight: 700; line-height: 1.3; margin: 0 0 4px; }
.verdict-card-score,
.verdict-card-count,
.verdict-card-meta { color: #333; font-size: .95rem; line-height: 1.5; }
.verdict-card .verdict-card-meta { color: #555 !important; } /* beats .text-body-secondary, too faint on the tints */
.verdict-card-cats {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  list-style: none;
  margin: 6px 0;
  padding: 0;
}
.verdict-card-cats .badge {
  background: #fff !important;
  border: 1px solid currentColor;
  border-radius: 999px;
  color: inherit;
  font-size: .85rem;
  font-weight: 500;
  margin: 0;
  padding: 2px 10px;
}
.verdict-card-actions { display: flex; flex-wrap: wrap; gap: 8px; }

/* Per-number FAQ */
.phone-faq-item {
  border: 1px solid #e3e6ea;
  border-radius: 10px;
  margin-bottom: 8px;
  padding: 10px 14px;
}
.phone-faq-item summary { cursor: pointer; font-weight: 600; }
.phone-faq-item p { margin: 8px 0 0; }
