/* CiteDefend AI mark — drop into seo-pages.css or link as /brand/citedefend/citedefend-mark.css
   Classes only. No inline styles or scripts. Pair with <img alt="CiteDefend AI logo">.
   The <img> is a sibling of any [data-i18n] node; never a child, because i18n writes innerHTML. */

/* Inline mark next to plan-card / heading text. ~1.15em of the surrounding type,
   floored at 16px so the monogram stays legible on the 11.5px plan-card line. */
.cd-mark-inline {
  display: inline-block;
  width: 1.15em;
  height: 1.15em;
  min-width: 16px;
  min-height: 16px;
  vertical-align: -0.2em;
  flex: none;
}

/* Plan-card "CiteDefend AI included:" row. Replaces the existing inline typography
   on that label div (11.5px / weight 900 / #6EE7B7). The two text spans live in
   .cd-inc-text so wrapped description hangs beside the mark, not under it. */
.cd-inc-line {
  display: flex;
  align-items: flex-start;
  gap: 0.35em;
  font-size: 11.5px;
  font-weight: 900;
  color: #6EE7B7;
  margin-bottom: 2px;
  line-height: 1.35;
}
.cd-inc-line .cd-mark-inline {
  margin-top: 0.05em;
}
.cd-inc-text {
  min-width: 0;
}
.cd-inc-desc {
  color: #67E8F9;
  font-weight: 900;
}

/* Home #citedefend heading and /citedefend h1. Replaces the previous
   margin/font-size/letter-spacing inline style on that heading.
   Kept as inline flow (not a flex row) so the mark stays on the first
   line when the title wraps. */
.cd-sec-heading {
  margin: 6px 0 10px;
  font-size: 28px;
  letter-spacing: -0.02em;
  font-weight: 800;
  line-height: 1.2;
}
.cd-sec-heading .cd-mark-inline {
  width: 1.15em;
  height: 1.15em;
  min-width: 28px;
  min-height: 28px;
  vertical-align: -0.15em;
  margin-right: 0.35em;
}

/* /citedefend header: parent CitePulse lockup + CiteDefend sub-brand lockup.
   Sizes specified at the two review widths; interpolates between. */
.cd-subbrand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.cd-subbrand-rule {
  flex: none;
  width: 1px;
  height: 28px;
  background: rgba(255, 255, 255, 0.18);
}
.cd-subbrand-lockup {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: inherit;
  min-width: 0;
  min-height: 44px;
}
.cd-subbrand-mark {
  flex: none;
  width: 36px;
  height: 36px;
}
.cd-subbrand-wordmark {
  font-size: 20px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.03em;
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

/* 1440px and up: full parent wordmark + 36px CiteDefend mark (default above). */
@media (min-width: 1440px) {
  .cd-subbrand {
    gap: 14px;
  }
  .cd-subbrand-rule {
    height: 32px;
  }
  .cd-subbrand-mark {
    width: 36px;
    height: 36px;
  }
  .cd-subbrand-wordmark {
    font-size: 20px;
  }
}

/* 390px and below: parent wordmark hidden (mark-only home link), CiteDefend mark 32px. */
@media (max-width: 390px) {
  .cd-subbrand {
    gap: 8px;
  }
  .cd-subbrand-parent .brand-wordmark,
  .cd-subbrand-parent .brand-tagline {
    display: none;
  }
  .cd-subbrand-parent svg,
  .cd-subbrand-parent img {
    width: 28px;
    height: 28px;
  }
  .cd-subbrand-rule {
    height: 24px;
  }
  .cd-subbrand-mark {
    width: 32px;
    height: 32px;
  }
  .cd-subbrand-wordmark {
    font-size: 16px;
  }
  .cd-subbrand-lockup {
    gap: 8px;
  }
}

/* Emoji-sweep additions (emoji-video-r1). Classes only; no inline styles. */

/* Gap after a mark that leads a button label (My account "CiteDefend monitoring"). */
.cd-mark-lead {
  margin-right: 0.4em;
}

/* "UNIFIED DUAL-ENGINE SUITE" pill on home and /pricing. Same look as the previous
   inline style on that span; the translated text lives in a nested [data-i18n] span,
   and the mark is its sibling so i18n innerHTML never removes it. */
.cd-uni-pill {
  display: inline-block;
  background: linear-gradient(90deg, #10B981, #06B6D4);
  color: #04121A;
  font-size: 12px;
  font-weight: 900;
  padding: 7px 16px;
  border-radius: 999px;
  letter-spacing: 0.03em;
  box-shadow: 0 8px 20px -8px rgba(6, 182, 212, 0.6);
}
