/* BP Digital GEO Audit Tool — audit-tool.css */

/* ─── Design tokens ─────────────────────────────────────────────────────── */
:root {
  --color-primary:    #0B1F3A;
  --color-accent:     #1D6AF5;
  --color-accent-h:   #1558D6;
  --color-success:    #10B981;
  --color-error:      #EF4444;
  --color-warning:    #F59E0B;
  --color-bg:         #F7F9FC;
  --color-surface:    #FFFFFF;
  --color-border:     #E2E8F0;
  --color-text:       #1A2332;
  --color-muted:      #64748B;
  --color-score-ring: #1D6AF5;

  --radius-sm:  6px;
  --radius-md:  12px;
  --radius-lg:  20px;
  --radius-xl:  28px;

  --shadow-sm:  0 1px 3px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);
  --shadow-md:  0 4px 16px rgba(0,0,0,.08);
  --shadow-lg:  0 12px 40px rgba(0,0,0,.12);

  --font-sans:  'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --transition: 220ms cubic-bezier(.4,0,.2,1);
}

/* ─── Reset / base ───────────────────────────────────────────────────────── */
.bpdga-wrap *,
.bpdga-wrap *::before,
.bpdga-wrap *::after { box-sizing: border-box; margin: 0; padding: 0; }

.bpdga-wrap {
  font-family: var(--font-sans);
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}

/* ─── Hero ───────────────────────────────────────────────────────────────── */
.bpdga-hero {
  background: linear-gradient(145deg, #0B1F3A 0%, #102C52 60%, #0D2445 100%);
  padding: 64px 20px 72px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.bpdga-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 40% at 70% 30%, rgba(29,106,245,.18) 0%, transparent 70%),
    radial-gradient(ellipse 40% 30% at 20% 80%, rgba(16,185,129,.08) 0%, transparent 60%);
  pointer-events: none;
}

.bpdga-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(29,106,245,.15);
  border: 1px solid rgba(29,106,245,.35);
  border-radius: 100px;
  padding: 5px 14px;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #7BB3FF;
  margin-bottom: 20px;
}

.bpdga-hero__title {
  font-size: clamp(1.75rem, 5vw, 2.75rem);
  font-weight: 800;
  line-height: 1.15;
  color: #FFFFFF;
  max-width: 680px;
  margin: 0 auto 16px;
  letter-spacing: -.02em;
}

.bpdga-hero__title span {
  background: linear-gradient(90deg, #4DA3FF, #1D6AF5);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.bpdga-hero__sub {
  font-size: 1rem;
  color: #94A3B8;
  max-width: 520px;
  margin: 0 auto 36px;
  line-height: 1.65;
}

/* ─── Audit form ─────────────────────────────────────────────────────────── */
.bpdga-form {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  max-width: 560px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

@media (min-width: 640px) {
  .bpdga-form { flex-direction: row; }
}

.bpdga-input-wrap {
  position: relative;
  flex: 1;
  width: 100%;
}

.bpdga-input-wrap svg {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--color-muted);
  pointer-events: none;
  width: 18px;
  height: 18px;
}

#bpdga-domain {
  width: 100%;
  padding: 14px 14px 14px 42px;
  border: 1.5px solid rgba(255,255,255,.15);
  border-radius: var(--radius-md);
  background: rgba(255,255,255,.08);
  color: #fff;
  font-family: var(--font-sans);
  font-size: .95rem;
  outline: none;
  transition: border-color var(--transition), background var(--transition);
}

#bpdga-domain::placeholder { color: rgba(255,255,255,.4); }

#bpdga-domain:focus {
  border-color: var(--color-accent);
  background: rgba(255,255,255,.12);
}

.bpdga-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 14px 26px;
  border: none;
  border-radius: var(--radius-md);
  background: var(--color-accent);
  color: #fff;
  font-family: var(--font-sans);
  font-size: .95rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  box-shadow: 0 0 0 0 rgba(29,106,245,.4);
}

.bpdga-btn:hover:not(:disabled) {
  background: var(--color-accent-h);
  box-shadow: 0 4px 20px rgba(29,106,245,.35);
}

.bpdga-btn:active:not(:disabled) { transform: scale(.98); }

.bpdga-btn:disabled { opacity: .6; cursor: not-allowed; }

.bpdga-btn--full {
  width: 100%;
  padding: 15px 26px;
  font-size: 1rem;
  border-radius: var(--radius-md);
}

.bpdga-btn--success {
  background: var(--color-success);
  box-shadow: 0 4px 20px rgba(16,185,129,.3);
}

.bpdga-btn--success:hover:not(:disabled) { background: #0da371; }

.bpdga-error-msg {
  color: #FCA5A5;
  font-size: .82rem;
  margin-top: 4px;
  display: none;
  width: 100%;
  text-align: left;
}

.bpdga-error-msg.visible { display: block; }

/* ─── Content area ───────────────────────────────────────────────────────── */
.bpdga-content {
  max-width: 760px;
  margin: 0 auto;
  padding: 40px 20px 80px;
}

/* ─── Panel base ─────────────────────────────────────────────────────────── */
.bpdga-panel {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 32px;
  display: none;
}

.bpdga-panel.visible { display: block; }

.bpdga-panel__title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.bpdga-panel__title svg { color: var(--color-accent); }

/* ─── Progress steps ─────────────────────────────────────────────────────── */
.bpdga-steps { display: flex; flex-direction: column; gap: 12px; }

.bpdga-step {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  background: var(--color-bg);
  transition: background var(--transition);
}

.bpdga-step--active { background: rgba(29,106,245,.05); }

.bpdga-step__icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: var(--color-border);
  transition: background var(--transition);
}

.bpdga-step--active .bpdga-step__icon { background: rgba(29,106,245,.12); }
.bpdga-step--done   .bpdga-step__icon { background: rgba(16,185,129,.12); }
.bpdga-step--error  .bpdga-step__icon { background: rgba(239,68,68,.12); }

.bpdga-step__label {
  font-size: .9rem;
  font-weight: 500;
  color: var(--color-muted);
  flex: 1;
}

.bpdga-step--active .bpdga-step__label { color: var(--color-accent); }
.bpdga-step--done   .bpdga-step__label { color: var(--color-success); }
.bpdga-step--error  .bpdga-step__label { color: var(--color-error); }

/* ─── Spinner ────────────────────────────────────────────────────────────── */
.bpdga-spinner {
  width: 16px;
  height: 16px;
  border: 2px solid rgba(29,106,245,.25);
  border-top-color: var(--color-accent);
  border-radius: 50%;
  animation: bpdga-spin .7s linear infinite;
}

@keyframes bpdga-spin { to { transform: rotate(360deg); } }

/* Check / X icons for steps */
.bpdga-check-icon { width: 14px; height: 14px; color: var(--color-success); }
.bpdga-x-icon     { width: 14px; height: 14px; color: var(--color-error); }

/* ─── Email gate ─────────────────────────────────────────────────────────── */
.bpdga-gate { position: relative; }

.bpdga-gate__preview {
  filter: blur(5px);
  pointer-events: none;
  user-select: none;
  opacity: .7;
}

.bpdga-gate__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 24px;
  background: rgba(247,249,252,.55);
  backdrop-filter: blur(2px);
  border-radius: inherit;
}

.bpdga-gate__heading {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-primary);
  text-align: center;
}

.bpdga-gate__sub {
  font-size: .88rem;
  color: var(--color-muted);
  text-align: center;
  max-width: 340px;
}

.bpdga-email-form { display: flex; flex-direction: column; gap: 10px; width: 100%; max-width: 380px; }

@media (min-width: 480px) {
  .bpdga-email-form { flex-direction: row; }
}

#bpdga-email {
  flex: 1;
  padding: 13px 16px;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  font-family: var(--font-sans);
  font-size: .9rem;
  color: var(--color-text);
  background: var(--color-surface);
  outline: none;
  transition: border-color var(--transition);
}

#bpdga-email:focus { border-color: var(--color-accent); }

/* ─── Fake preview score (blurred) ──────────────────────────────────────── */
.bpdga-fake-score {
  text-align: center;
  padding: 32px 24px;
}

.bpdga-fake-score__num {
  font-size: 5rem;
  font-weight: 800;
  color: var(--color-accent);
  line-height: 1;
  margin-bottom: 6px;
}

.bpdga-fake-score__label { font-size: .9rem; color: var(--color-muted); }

/* ─── Results panel ──────────────────────────────────────────────────────── */
.bpdga-results__header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-bottom: 36px;
  text-align: center;
}

.bpdga-score-wrap { position: relative; width: 140px; height: 140px; margin: 0 auto 12px; }

.bpdga-score-svg { transform: rotate(-90deg); }

.bpdga-score-track {
  fill: none;
  stroke: var(--color-border);
  stroke-width: 10;
}

.bpdga-score-fill {
  fill: none;
  stroke: var(--color-score-ring);
  stroke-width: 10;
  stroke-linecap: round;
  stroke-dasharray: 345;
  stroke-dashoffset: 345;
  transition: stroke-dashoffset 1.2s cubic-bezier(.4,0,.2,1), stroke .4s;
}

.bpdga-score-num {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.bpdga-score-num__val {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1;
}

.bpdga-score-num__label {
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--color-muted);
  margin-top: 2px;
}

.bpdga-score-band {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 14px;
  border-radius: 100px;
  font-size: .78rem;
  font-weight: 600;
}

.bpdga-score-band--poor    { background: rgba(239,68,68,.1);   color: var(--color-error); }
.bpdga-score-band--average { background: rgba(245,158,11,.1);  color: var(--color-warning); }
.bpdga-score-band--good    { background: rgba(16,185,129,.1);  color: var(--color-success); }

.bpdga-domain-badge {
  font-size: .85rem;
  color: var(--color-muted);
  margin-top: 4px;
}

.bpdga-domain-badge strong { color: var(--color-primary); }

/* ─── Issue / suggestion lists ───────────────────────────────────────────── */
.bpdga-section { margin-bottom: 28px; }

.bpdga-section__title {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--color-muted);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 7px;
}

.bpdga-section__title::before {
  content: '';
  display: block;
  width: 3px;
  height: 14px;
  border-radius: 2px;
  background: currentColor;
}

.bpdga-list { display: flex; flex-direction: column; gap: 8px; }

.bpdga-list-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 14px;
  border-radius: var(--radius-md);
  font-size: .875rem;
  line-height: 1.5;
}

.bpdga-list-item--error  { background: rgba(239,68,68,.06);   border-left: 3px solid var(--color-error); }
.bpdga-list-item--info   { background: rgba(29,106,245,.05);  border-left: 3px solid var(--color-accent); }
.bpdga-list-item--ok     { background: rgba(16,185,129,.06);  border-left: 3px solid var(--color-success); }

.bpdga-list-item__icon { flex-shrink: 0; margin-top: 1px; width: 16px; height: 16px; }

.bpdga-list-item--error .bpdga-list-item__icon  { color: var(--color-error); }
.bpdga-list-item--info  .bpdga-list-item__icon  { color: var(--color-accent); }
.bpdga-list-item--ok    .bpdga-list-item__icon  { color: var(--color-success); }

/* ─── CTA section ────────────────────────────────────────────────────────── */
.bpdga-cta {
  background: linear-gradient(135deg, var(--color-primary) 0%, #163660 100%);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: center;
  margin-top: 32px;
}

.bpdga-cta__title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}

.bpdga-cta__sub {
  font-size: .9rem;
  color: #94A3B8;
  margin-bottom: 24px;
  max-width: 420px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

/* ─── Trust bar ──────────────────────────────────────────────────────────── */
.bpdga-trust {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  padding: 18px 20px;
  margin-top: 20px;
}

.bpdga-trust__item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: .78rem;
  color: #7BB3FF;
  opacity: .85;
}

.bpdga-trust__item svg { width: 14px; height: 14px; }

/* ─── Utility ────────────────────────────────────────────────────────────── */
.bpdga-divider {
  height: 1px;
  background: var(--color-border);
  margin: 24px 0;
}

.bpdga-hidden { display: none !important; }

/* ─── Responsive tweaks ──────────────────────────────────────────────────── */
@media (max-width: 480px) {
  .bpdga-hero { padding: 48px 16px 56px; }
  .bpdga-panel { padding: 20px 16px; }
  .bpdga-cta   { padding: 28px 16px; }
  .bpdga-score-num__val { font-size: 1.9rem; }
}

/* ─── Full-bleed: escape TwentyTwentyFive content-width constraint ───────── */
.bpdga-wrap {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: 0;
  overflow-x: clip;
}

/* Remove TT5 has-global-padding that creates white margins */
.has-global-padding:has(.bpdga-wrap),
.wp-block-post-content:has(.bpdga-wrap),
.entry-content:has(.bpdga-wrap) {
  padding-left: 0 !important;
  padding-right: 0 !important;
  max-width: none !important;
}

/* ─── Appointment booking widget ─────────────────────────────────────────── */
.bpdga-appt-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  width: 100%;
}

.bpdga-appt-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 14px;
  width: 100%;
  max-width: 400px;
}

.bpdga-appt-phone {
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid rgba(255,255,255,.2);
  border-radius: var(--radius-md);
  background: rgba(255,255,255,.1);
  color: #fff;
  font-family: var(--font-sans);
  font-size: .95rem;
  outline: none;
  transition: border-color var(--transition), background var(--transition);
  text-align: center;
  letter-spacing: .02em;
}

.bpdga-appt-phone:focus {
  border-color: var(--color-accent);
  background: rgba(255,255,255,.14);
}

.bpdga-appt-phone::placeholder { color: rgba(255,255,255,.38); }

.bpdga-appt-msg {
  font-size: .85rem;
  text-align: center;
  min-height: 1.2em;
}

.bpdga-appt-msg--ok  { color: var(--color-success); }
.bpdga-appt-msg--err { color: #FCA5A5; }

/* ─── Top white strip fix: hide WP header + page title on audit page ─────── */

/* Hide the TT5 site header (nav template part) */
body:has(.bpdga-wrap) header.wp-block-template-part {
  display: none !important;
}

/* Hide the WP post/page title (hero has its own headline) */
body:has(.bpdga-wrap) .wp-block-post-title {
  display: none !important;
}

/* Zero out ALL vertical spacing before the hero */
body:has(.bpdga-wrap),
body:has(.bpdga-wrap) .wp-site-blocks,
body:has(.bpdga-wrap) main,
body:has(.bpdga-wrap) article,
body:has(.bpdga-wrap) .wp-block-post-content,
body:has(.bpdga-wrap) .entry-content,
body:has(.bpdga-wrap) .bpdga-wrap {
  padding-top: 0 !important;
  margin-top: 0 !important;
}

/* Cover inline padding-top on TT5 block group wrappers inside main */
body:has(.bpdga-wrap) .wp-block-group:has(.bpdga-wrap),
body:has(.bpdga-wrap) .wp-block-group:has(.bpdga-wrap) > .wp-block-group:first-child {
  padding-top: 0 !important;
  margin-top: 0 !important;
}

/* ─── Hide TT5 default footer on audit page ──────────────────────────────── */
body:has(.bpdga-wrap) footer.wp-block-template-part {
  display: none !important;
}

/* ─── Minimal branded footer ─────────────────────────────────────────────── */
.bpdga-footer {
  background: #060e1c;
  border-top: 1px solid rgba(255,255,255,.06);
  padding: 20px;
  text-align: center;
  font-family: var(--font-sans);
  font-size: .78rem;
  color: rgba(255,255,255,.3);
  letter-spacing: .03em;
}

.bpdga-footer a {
  color: rgba(255,255,255,.45);
  text-decoration: none;
  transition: color 150ms;
}

.bpdga-footer a:hover { color: rgba(255,255,255,.75); }

/* ─── Gate: score (clean, fully visible) ─────────────────────────────────────── */
.bpdga-gate-score {
  text-align: center;
  padding: 32px 24px 20px;
  border-bottom: 1px solid var(--color-border);
}

.bpdga-gate-score__band { margin: 8px auto 4px; }

.bpdga-gate-score__hint {
  font-size: .875rem;
  color: var(--color-muted);
  margin-top: 10px;
  max-width: 340px;
  margin-left: auto;
  margin-right: auto;
}

/* ─── Gate: blurred list + email overlay ─────────────────────────────────────── */
.bpdga-gate-blur-wrap {
  position: relative;
  overflow: hidden;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}

.bpdga-gate-blur-list {
  filter: blur(6px);
  pointer-events: none;
  user-select: none;
  padding: 20px 24px 100px;
  opacity: .75;
}

.bpdga-blur-item { pointer-events: none; }

.bpdga-blur-row {
  height: 14px;
  background: var(--color-border);
  border-radius: 4px;
}

.bpdga-gate-email-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 28px 24px 24px;
  background: linear-gradient(180deg, rgba(247,249,252,.0) 0%, rgba(247,249,252,.9) 28%, rgba(247,249,252,1) 100%);
  border-radius: inherit;
}

/* ─── Accordion list items ───────────────────────────────────────────────────── */
.bpdga-acc-item { display: block; padding: 0; }

.bpdga-acc-trigger {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 12px 14px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: .875rem;
  line-height: 1.5;
  color: var(--color-text);
  text-align: left;
}

.bpdga-acc-title { flex: 1; }

.bpdga-acc-chevron {
  flex-shrink: 0;
  color: var(--color-muted);
  transition: transform .2s ease;
}

.bpdga-acc-trigger[aria-expanded="true"] .bpdga-acc-chevron { transform: rotate(180deg); }

.bpdga-acc-body {
  padding: 0 14px 14px 40px;
  display: none;
  flex-direction: column;
  gap: 8px;
}

.bpdga-acc-trigger[aria-expanded="true"] + .bpdga-acc-body { display: flex; }

.bpdga-acc-detail {
  font-size: .84rem;
  color: var(--color-muted);
  line-height: 1.6;
  margin: 0;
}

.bpdga-acc-score {
  display: inline-block;
  font-size: .75rem;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 20px;
  letter-spacing: .02em;
  align-self: flex-start;
}

.bpdga-acc-score--ok   { background: rgba(16,185,129,.12); color: #10B981; }
.bpdga-acc-score--warn { background: rgba(245,158,11,.12);  color: #F59E0B; }
.bpdga-acc-score--bad  { background: rgba(239,68,68,.12);   color: #EF4444; }

/* ─── CTA prominent variant ──────────────────────────────────────────────────── */
.bpdga-cta--prominent {
  background: linear-gradient(145deg, #0d2044 0%, #0a3060 50%, #0d2044 100%);
  border: 1px solid rgba(29,106,245,.25);
  box-shadow: 0 0 40px rgba(29,106,245,.1), inset 0 1px 0 rgba(255,255,255,.05);
  padding: 44px 32px 36px;
}

.bpdga-cta__icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 68px;
  height: 68px;
  border-radius: 18px;
  background: rgba(29,106,245,.15);
  border: 1px solid rgba(29,106,245,.3);
  color: #5B9BFF;
  margin: 0 auto 20px;
}

.bpdga-cta--prominent .bpdga-cta__title {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -.01em;
  margin-bottom: 10px;
}

.bpdga-cta--prominent .bpdga-cta__sub { margin-bottom: 20px; }

.bpdga-cta__features {
  list-style: none;
  padding: 0;
  margin: 0 auto 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 340px;
  text-align: left;
}

.bpdga-cta__features li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .875rem;
  color: rgba(255,255,255,.75);
}

.bpdga-cta__features li svg { flex-shrink: 0; color: #10B981; }

.bpdga-cta__btn {
  font-size: 1rem;
  font-weight: 700;
  padding: 15px 28px;
  letter-spacing: .01em;
  gap: 8px;
}

.bpdga-cta__note {
  font-size: .78rem;
  color: rgba(255,255,255,.35);
  margin-top: 14px;
}

/* ─── Domain evidence (favicon + screenshot proof) ──────────────────────────── */
.bpdga-domain-evidence {
  margin-bottom: 24px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--color-border);
}

.bpdga-domain-evidence__meta {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: var(--color-bg);
}

.bpdga-domain-evidence__favicon {
  width: 20px;
  height: 20px;
  border-radius: 3px;
  flex-shrink: 0;
  object-fit: contain;
}

.bpdga-domain-evidence__name {
  font-size: .9rem;
  font-weight: 600;
  color: var(--color-primary);
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.bpdga-domain-evidence__badge {
  font-size: .72rem;
  font-weight: 600;
  color: var(--color-success);
  background: rgba(16,185,129,.1);
  border: 1px solid rgba(16,185,129,.2);
  border-radius: 20px;
  padding: 2px 10px;
  white-space: nowrap;
  flex-shrink: 0;
}

.bpdga-domain-evidence__screenshot {
  height: 110px;
  overflow: hidden;
  background: var(--color-border);
  border-top: 1px solid var(--color-border);
}

.bpdga-domain-evidence__screenshot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: opacity .3s ease;
}

@media (min-width: 640px) {
  .bpdga-domain-evidence { display: flex; flex-direction: row; align-items: stretch; }
  .bpdga-domain-evidence__meta { flex-direction: column; align-items: flex-start; width: 200px; flex-shrink: 0; }
  .bpdga-domain-evidence__screenshot { flex: 1; height: auto; min-height: 100px; border-top: none; border-left: 1px solid var(--color-border); }
}

/* ── Dark page background everywhere (Zoltan: no white anywhere, full-screen) ── */
html:has(.bpdga-wrap),
body:has(.bpdga-wrap) { background: #0B1F3A !important; }
body:has(.bpdga-wrap) .wp-site-blocks,
body:has(.bpdga-wrap) main,
body:has(.bpdga-wrap) .wp-block-group { background: transparent !important; }
body:has(.bpdga-wrap) .bpdga-wrap { margin: 0 !important; }

/* ── Fix horizontal overflow from 100vw full-bleed (Zoltan: jobb oldali sav) ── */
html:has(.bpdga-wrap),
body:has(.bpdga-wrap) { overflow-x: clip !important; max-width: 100%; }
