
/* ==============================
   PQ CDR — Pill theme tokens
   (Override in Custom CSS if needed)
   ============================== */
:root{
  --pq-cdr-pill-bg: #000;
  --pq-cdr-pill-fg: #91F88D;
  --pq-cdr-pill-border: rgba(145,248,141,0.55);
  --pq-cdr-pill-glow-1: rgba(145,248,141,0.55);
  --pq-cdr-pill-glow-2: rgba(145,248,141,0.25);

  /* Position nudges */
  --pq-cdr-entity-pill-mt: 10px;   /* under hero image */
  --pq-cdr-news-pill-mt: 10px;     /* under excerpt on feed */
  --pq-cdr-article-pill-mt: 10px;  /* under byline box on article */
}


/* PQ Comments Drawer (Reboot) - inline-first UX */

/* Inline under-article block */
.pq-cdr-inline{
  max-width: 820px;
  margin: 18px auto 0;
  padding: 14px;
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 16px;
  background: rgba(0,0,0,.02);
}
.pq-cdr-inline-head{
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}
.pq-cdr-inline-title{
  display:flex; align-items:center; gap:10px;
  font-weight: 900;
  cursor:pointer;
}
.pq-cdr-inline-open{
  border: 0;
  border-radius: 999px;
  padding: 8px 12px;
  background:#91F88D;
  color:#000;
  font-weight: 900;
  cursor:pointer;
}
.pq-cdr-inline-item{
  border: 1px solid rgba(0,0,0,.10);
  border-radius: 14px;
  padding: 12px;
  margin-bottom: 10px;
  background: #fff;
}
.pq-cdr-inline-item.reply{
  margin-left: 18px;
  border-left: 5px solid rgba(145,248,141,.60);
}
.pq-cdr-inline-loading{ opacity:.75; padding: 10px 0; }

/* Shared author pill */
.pq-cdr-author{
  display:inline-flex;
  align-items:center;
  font-weight: 900;
  background: #91F88D;
  color:#000;
  padding: 5px 10px;
  border-radius: 999px;
  margin-bottom: 8px;
}
.pq-cdr-text{ font-size: 14px; line-height: 1.35; }

/* Inline composer */
.pq-cdr-inline-compose{ margin: 10px 0 12px; }
.pq-cdr-inline-chip{ font-size:12px; opacity:.85; margin-bottom: 8px; }
.pq-cdr-inline-compose textarea{
  width: 100%;
  min-height: 56px;
  resize: none;
  border-radius: 14px;
  border: 1px solid rgba(0,0,0,.12);
  background: #fff;
  color:#111;
  padding: 10px 10px;
  outline:none;
}
.pq-cdr-inline-sendrow{ display:flex; justify-content:flex-end; margin-top: 10px; }
.pq-cdr-inline-send{
  padding: 10px 14px;
  border-radius: 12px;
  background:#000;
  color:#fff;
  font-weight: 900;
  cursor:pointer;
}
.pq-cdr-inline-auth{
  border: 1px solid rgba(0,0,0,.10);
  border-radius: 14px;
  padding: 12px;
  background:#fff;
}
.pq-cdr-inline-auth a{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 10px 14px;
  border-radius: 999px;
  background:#91F88D;
  color:#000;
  font-weight: 900;
  text-decoration:none;
  margin-right: 10px;
}
.pq-cdr-inline-auth a.secondary{
  background: rgba(0,0,0,.06);
  color:#000;
}

/* Drawer (full thread)
   NOTE: the element has both id (#pq-cdr-drawer) and class (.pq-cdr-drawer).
   We style via the class so desktop/mobile behavior stays consistent.
*/
.pq-cdr-drawer{
  position: fixed;
  z-index: 100000;
  background: rgba(0,0,0,.92);
  backdrop-filter: blur(10px);
  color:#fff;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  display:flex;
  flex-direction: column;
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 20px 60px rgba(0,0,0,0.55);
  transition: transform .22s ease;
  will-change: transform;
}

.pq-cdr-head{ display:flex; align-items:center; justify-content: space-between; padding: 12px 14px; }
.pq-cdr-title{ display:flex; align-items:center; gap:10px; font-weight: 900; }
.pq-cdr-subtitle{ font-size:12px; opacity:.85; margin-top:2px; }
.pq-cdr-subject{ font-weight: 900; }

.pq-cdr-close{
  width: 34px; height: 34px; border-radius: 999px;
  display:flex; align-items:center; justify-content:center;
  background: rgba(255,255,255,.08); cursor:pointer;
}
.pq-cdr-body{ overflow:auto; padding: 0 14px 12px; flex:1; }
.pq-cdr-item{
  border: 0;
  border-radius: 14px;
  padding: 10px 10px;
  margin-bottom: 8px;
  background: rgba(255,255,255,.04);
}
/* Remove boxy outlines — rely on spacing + background */
.pq-cdr-item.reply{ margin-left: 16px; border-left: 5px solid rgba(145,248,141,.60); }
.pq-cdr-actions{ display:flex; align-items:center; justify-content: flex-end; margin-top: 10px; }
.pq-cdr-reply{
  font-size: 12px; font-weight: 900; padding: 7px 10px; border-radius: 999px;
  background: rgba(255,255,255,.10); cursor:pointer;
}

.pq-cdr-compose{ border-top: 1px solid rgba(255,255,255,.12); padding: 10px 12px 12px; }
.pq-cdr-chip{ font-size: 12px; margin-bottom: 8px; opacity: .9; }
.pq-cdr-compose textarea{
  width: 100%; min-height: 48px; resize: none;
  border-radius: 14px; border: 1px solid rgba(255,255,255,.14);
  background: rgba(0,0,0,.35); color:#fff; padding: 10px 10px; outline:none;
}
.pq-cdr-sendrow{ display:flex; justify-content: flex-end; margin-top: 10px; }
.pq-cdr-send{
  padding: 10px 14px; border-radius: 12px;
  background: #fff; color:#000; font-weight: 900; cursor:pointer;
}
.pq-cdr-auth{
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 14px; padding: 12px; background: rgba(255,255,255,.04);
}
.pq-cdr-auth a{
  display:inline-flex; align-items:center; justify-content:center;
  padding: 10px 14px; border-radius: 999px;
  background:#91F88D; color:#000; font-weight: 900; text-decoration:none; margin-right: 10px;
}
.pq-cdr-auth a.secondary{ background: rgba(255,255,255,.12); color:#fff; }

@media (max-width:520px){
  .pq-cdr-inline{ margin: 14px 12px 0; }
  #pq-cdr-drawer{ height: 78vh; }
  .pq-cdr-item.reply{ margin-left: 14px; }
}

/* v1.3.0 polish: tabs, reactions, reply labels, collapse, sticky composer */
.pq-cdr-inline-controls{ display:flex; align-items:center; gap:8px; flex-wrap:wrap; }
.pq-cdr-tab{
  border: 1px solid rgba(0,0,0,.10);
  background: rgba(255,255,255,.75);
  color:#111;
  padding: 6px 10px;
  border-radius: 999px;
  font-weight: 900;
  cursor:pointer;
}
.pq-cdr-tab.active{ background:#000; color:#fff; border-color:#000; }

.pq-cdr-replyto{ font-size:12px; opacity:.85; margin:-2px 0 8px; }
.pq-cdr-replyto span{ font-weight:900; }

.pq-cdr-reactrow{ display:flex; gap:8px; margin-top:10px; flex-wrap:wrap; }
.pq-cdr-react{
  border: 1px solid rgba(0,0,0,.10);
  background: rgba(0,0,0,.03);
  padding: 6px 10px;
  border-radius: 999px;
  cursor:pointer;
  font-weight: 900;
  display:inline-flex;
  gap:6px;
  align-items:center;
}
.pq-cdr-react-count{ font-size:12px; opacity:.9; }
.pq-cdr-react.active{
  border-color: rgba(145,248,141,.70);
  box-shadow: 0 0 0 2px rgba(145,248,141,.22);
}
#pq-cdr-drawer .pq-cdr-react{
  border-color: rgba(255,255,255,.14);
  background: rgba(255,255,255,.06);
  color:#fff;
}
#pq-cdr-drawer .pq-cdr-react.active{ border-color: rgba(145,248,141,.70); }

.pq-cdr-more{
  border: 0;
  background: rgba(0,0,0,.06);
  color:#111;
  padding: 10px 12px;
  border-radius: 12px;
  font-weight: 900;
  cursor:pointer;
  margin: 2px 0 10px;
}
#pq-cdr-drawer .pq-cdr-more{ background: rgba(255,255,255,.08); color:#fff; }

.pq-cdr-inline.sticky-compose .pq-cdr-inline-compose{
  position: sticky;
  bottom: 10px;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(8px);
  padding: 10px;
  border-radius: 16px;
  border: 1px solid rgba(0,0,0,.10);
}


/* Inline mount guard */
.pq-cdr-inline{margin:28px auto;max-width:820px;padding:0 16px;}
.pq-cdr-inline-card{border:1px solid rgba(0,0,0,.1);border-radius:16px;padding:14px 14px 10px;background:#fff;}
@media (max-width:768px){.pq-cdr-inline{max-width:100%;}}

/* v1.4.0 entry bar + timestamps + desktop left drawer */
.pq-cdr-entry{display:flex;align-items:center;justify-content:space-between;gap:12px;border:1px solid rgba(0,0,0,.12);border-radius:16px;padding:12px 14px;background:#fff;max-width:820px;margin:26px auto;}
.pq-cdr-entry-btn{display:flex;align-items:center;gap:10px;background:transparent;border:0;padding:8px 6px;cursor:pointer;}
.pq-cdr-entry-ico{font-size:18px;line-height:1;}
.pq-cdr-entry-count{font-weight:800;}
.pq-cdr-entry-open{background:#91F88D;color:#000;border:0;border-radius:999px;padding:8px 14px;font-weight:800;cursor:pointer;}
.pq-cdr-author{font-size:13px;}
.pq-cdr-time{font-size:12px;opacity:.75;margin-top:2px;}
.pq-cdr-react-count{display:none !important;}
/* Desktop sizing is handled in the 900px+ drawer positioning rules below. */

.pq-cdr-actions{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:10px;flex-wrap:wrap;}
.pq-cdr-reacts{display:flex;gap:8px;align-items:center;}
.pq-cdr-reply,.pq-cdr-flag{background:transparent;border:1px solid rgba(0,0,0,.15);border-radius:999px;padding:6px 10px;font-weight:700;cursor:pointer;}
.pq-cdr-reply:hover,.pq-cdr-flag:hover{box-shadow:0 6px 18px rgba(145,248,141,.35);}
.pq-cdr-flag[disabled]{opacity:.55;cursor:default;}
.pq-cdr-meta{display:flex;align-items:baseline;gap:10px;margin-bottom:6px;}
.pq-cdr-when{opacity:.7;font-size:.85em;}
.pq-cdr-author{background:#91F88D;color:#000;padding:2px 8px;border-radius:999px;font-weight:700;font-size:.85em;}
.pq-cdr-react-count{display:none !important;}

/* v1.4.3: comment CTA next to reactions */
.pq-media{ position: relative; }
.pq-cdr-cta{
  position: absolute;
  top: 10px;
  right: 54px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 0;
  border-radius: 999px;
  padding: 8px 10px;
  background: rgba(0,0,0,.78);
  color: #fff;
  cursor: pointer;
  font-weight: 900;
  line-height: 1;
  backdrop-filter: blur(8px);
  z-index: 6;
}
.pq-cdr-cta-ico{ font-size: 14px; line-height: 1; }
.pq-cdr-cta-count{ font-size: 12px; min-width: 10px; text-align: center; }
@media (max-width: 480px){
  .pq-cdr-cta{ right: 50px; top: 8px; padding: 7px 9px; }
}

/* Flag: subtle */
.pq-cdr-flag{
  border: 0 !important;
  background: transparent !important;
  padding: 3px 6px !important;
  border-radius: 8px !important;
  font-weight: 700;
  font-size: 12px;
  opacity: .25;
}
.pq-cdr-flag:hover{ opacity: .55; box-shadow:none !important; }

/* toast */
.pq-cdr-toast{
  position: fixed;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  background: rgba(0,0,0,.86);
  color: #fff;
  padding: 10px 12px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 13px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .18s ease;
  z-index: 999999;
}
.pq-cdr-toast.show{ opacity: 1; }

/* Article-bound CTA: top-right of image, next to reactions */
.pq-media .pq-comments-cta{
  position:absolute;
  top: 10px;
  right: 52px; /* leave space for 🙂 button */
  display:flex;
  align-items:center;
  gap:6px;
  padding:6px 10px;
  border-radius:999px;
  border:1px solid rgba(0,0,0,0.18);
  background: rgba(0,0,0,0.55);
  color:#fff;
  cursor:pointer;
  font-weight:700;
  font-size:12px;
  line-height:1;
  backdrop-filter: blur(6px);
}
.pq-media .pq-comments-cta:hover{ background: rgba(0,0,0,0.68); }
.pq-media .pq-comments-cta__icon{ font-size:14px; }
.pq-media .pq-comments-cta__count{ font-variant-numeric: tabular-nums; }

/* v1.5.x trigger (speech bubble) injected by JS */
.pq-media .pq-cdr-trigger{ position:static; display:flex; justify-content:flex-start; align-items:center; margin-top:12px; z-index:30; }
.pq-media .pq-cdr-trigger.pq-cdr-trigger--left{ right:auto; left:10px; }
.pq-media .pq-cdr-trigger__btn{
  display:flex;
  align-items:center;
  gap:8px;
  background:rgba(0,0,0,0.75);
  color:#fff;
  border:1px solid rgba(255,255,255,0.18);
  border-radius:999px;
  padding:8px 10px;
  cursor:pointer;
  font:600 12px/1 system-ui,-apple-system,Segoe UI,Roboto,Arial;
}

/* Subtle "alive" pulse on the CTA bubble to encourage interaction.
   Removed once the drawer opens. Respects reduced-motion.
   NOTE: We intentionally do NOT scope this to .pq-media because some templates
   mount the trigger outside that wrapper. */
@keyframes pqCdrAlivePulse{
  0%, 100%{
    transform: translateZ(0) scale(1);
    box-shadow: 0 6px 14px rgba(0,0,0,0.28);
  }
  50%{
    transform: translateZ(0) scale(1.05);
    box-shadow: 0 10px 26px rgba(145,248,141,0.22), 0 8px 20px rgba(0,0,0,0.32);
  }
}

@keyframes pqCdrAliveRing{
  0%{ opacity:.55; transform: scale(1); }
  70%{ opacity: 0; transform: scale(1.65); }
  100%{ opacity: 0; transform: scale(1.65); }
}

.pq-cdr-trigger__btn{ position: relative; }
.pq-cdr-trigger__btn.pq-cdr-alive{
  animation: pqCdrAlivePulse 1.8s ease-in-out infinite;
}
.pq-cdr-trigger__btn.pq-cdr-alive::after{
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 999px;
  border: 1px solid rgba(145,248,141,0.55);
  box-shadow: 0 0 0 0 rgba(145,248,141,0.35);
  pointer-events: none;
  animation: pqCdrAliveRing 1.8s ease-out infinite;
}

@media (prefers-reduced-motion: reduce){
  .pq-cdr-trigger__btn.pq-cdr-alive{ animation: none; }
  .pq-cdr-trigger__btn.pq-cdr-alive::after{ animation: none; display:none; }
}
.pq-media .pq-cdr-trigger__btn:focus-visible{
  outline: none;
  box-shadow:0 0 0 3px rgba(145,248,141,0.35), 0 6px 18px rgba(145,248,141,0.35);
}
.pq-media .pq-cdr-trigger__count,
.pq-media .pq-cdr-trigger__badge{ background:#91F88D; color:#000; border-radius:999px; padding:2px 8px; font-weight:800; }

/* Drawer positioning */
.pq-cdr-overlay{
  position:fixed;
  inset:0;
  background: rgba(0,0,0,0.35);
  opacity:0;
  pointer-events:none;
  transition: opacity .2s ease;
  z-index:99998;
}
.pq-cdr-overlay.open{ opacity:1; pointer-events:auto; }
.pq-cdr-lock{ overflow:hidden; }

@media (min-width: 900px){
  .pq-cdr-drawer{
    /* Desktop: left-side drawer that fills half the page.
       JS sets --pq-cdr-top to (admin bar + header) height.
       Falls back to 0 if nothing is detected. */
    left: 0;
    right: auto;
    bottom: auto;
    top: var(--pq-cdr-top, 0px);
    height: calc(100vh - var(--pq-cdr-top, 0px));
    width: 50vw;
    max-width: 50vw;
    border-radius: 0 18px 18px 0;
    /* Slide in from the left */
    transform: translateX(-102%);
  }

  .pq-cdr-drawer.open{ transform: translateX(0); }

  /* Keep header clickable/visible */
  .pq-cdr-overlay{ top: var(--pq-cdr-top, 0px); }
}

@media (max-width: 899px){
  .pq-cdr-drawer{
    left: 0;
    right: 0;
    bottom: 0;
    top: auto;
    height: 82vh;
    width: 100%;
    border-radius: 18px 18px 0 0;
    transform: translateY(102%);
  }
  .pq-cdr-drawer.open{ transform: translateY(0); }
}

/* v1.5.8: screenshot-style drawer UI (cards + topbar) */
#pq-cdr-drawer .pq-cdr-topbar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding: 12px 14px;
}
#pq-cdr-drawer .pq-cdr-topbar__left{ display:flex; align-items:center; gap:10px; min-width:0; flex:1; }
#pq-cdr-drawer .pq-cdr-topbar__title{
  flex: 1;
  min-width: 0;
  max-width: 100%;
  /* Always show the full headline: wrap + clamp to 2 lines */
  white-space: normal;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  font-weight: 900;
  font-size: 13px;
  line-height: 1.15;
  letter-spacing: .2px;
  color: rgba(255,255,255,.92);
}
#pq-cdr-drawer .pq-cdr-topbar__icon{
  width: 34px;
  height: 34px;
  border-radius: 999px;
  display:flex;
  align-items:center;
  justify-content:center;
  background: rgba(255,255,255,.08);
}
#pq-cdr-drawer .pq-cdr-close{
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  color:#fff;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
}
#pq-cdr-drawer .pq-cdr-refresh{
  border: 0;
  border-radius: 999px;
  padding: 8px 14px;
  background: #91F88D;
  color:#000;
  font-weight: 900;
  cursor:pointer;
}

.pq-cdr-refresh--new{
  background: #91F88D;
  box-shadow: 0 0 0 2px rgba(145,248,141,.22), 0 10px 26px rgba(0,0,0,.35);
}
@media (prefers-reduced-motion: no-preference){
  .pq-cdr-refresh--new{
    animation: pqCdrNewPulse 1.8s ease-in-out infinite;
  }
  @keyframes pqCdrNewPulse{
    0%,100%{ transform: translateY(0); }
    50%{ transform: translateY(-1px); }
  }
}


#pq-cdr-drawer .pq-cdr-body{
  /* slightly tighter so more comments fit in the viewport */
  padding: 0 12px 150px;
  overflow:auto;
}

#pq-cdr-drawer .pq-cdr-item{
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 14px;
  padding: 10px 12px;
  margin: 10px 0;
  background: #0f0f0f;
}
#pq-cdr-drawer .pq-cdr-item.is-reply{
  background: #141414;

  /* indentation is applied inline by JS so it can cap neatly */
  border-left: 5px solid rgba(145,248,141,.55);
}

/* Thread rails for nested replies */
#pq-cdr-drawer .pq-cdr-children{
  margin-top: 10px;
  padding-left: 12px;
  border-left: 1px solid rgba(255,255,255,.10);
}

#pq-cdr-drawer .pq-cdr-replyto{
  margin: -2px 0 8px;
  font-size: 11px;
  opacity: .85;
}
#pq-cdr-drawer .pq-cdr-replyto span{ font-weight: 900; }
#pq-cdr-drawer .pq-cdr-item__head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 10px;
  margin-bottom: 8px;
}
#pq-cdr-drawer .pq-cdr-item__author{
  display:inline-flex;
  align-items:center;
  font-weight: 900;
  background: #91F88D;
  color:#000;
  padding: 4px 9px;
  border-radius: 999px;
  font-size: 12px;

#pq-cdr-drawer .pq-cdr-item__author .pq-cdr-badge,
.pq-cdr-inline .pq-cdr-item__author .pq-cdr-badge{
  margin-left: 6px;
  padding: 2px 6px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 900;
  line-height: 1;
  background: rgba(0,0,0,.18);
  color: #000;
  text-transform: uppercase;
  white-space: nowrap;
}
}
#pq-cdr-drawer .pq-cdr-item__stamp{ font-size: 11px; opacity: .75; }
#pq-cdr-drawer .pq-cdr-item__body{ font-size: 13px; line-height: 1.32; }
#pq-cdr-drawer .pq-cdr-item__actions{ display:flex; justify-content:flex-end; gap:10px; margin-top: 8px; }
#pq-cdr-drawer .pq-cdr-reply{
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.10);
  color:#fff;
  padding: 6px 9px;
  border-radius: 999px;
  font-weight: 900;
  font-size: 11px;
  cursor:pointer;
}
/* Hide the flag to match the reference design (still available via long-term UX decision) */
#pq-cdr-drawer .pq-cdr-flag{ display:none; }

#pq-cdr-drawer .pq-cdr-compose{
  position:absolute;
  left:0; right:0; bottom:0;
  padding: 10px 12px 12px;
  background: rgba(0,0,0,.92);
  border-top: 1px solid rgba(255,255,255,.12);
}
#pq-cdr-drawer .pq-cdr-replybar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  margin-bottom: 10px;
  font-size: 12px;
  opacity: .9;
}
/* Some themes override the HTML5 [hidden] attribute; force it off */
#pq-cdr-drawer .pq-cdr-replybar[hidden]{
  display:none !important;
}
#pq-cdr-drawer .pq-cdr-cancel{
  border: 0;
  background: transparent;
  color: rgba(255,255,255,.8);
  font-weight: 900;
  cursor:pointer;
}
#pq-cdr-drawer .pq-cdr-compose__row{
  display:flex;
  gap: 10px;
  margin-bottom: 10px;
}
#pq-cdr-drawer .pq-cdr-name,
#pq-cdr-drawer .pq-cdr-email{
  flex:1;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.08);
  color:#fff;
  padding: 10px 12px;
  outline:none;
}
#pq-cdr-drawer .pq-cdr-text{
  width:100%;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.06);
  color:#fff;
  padding: 10px;
  resize:none;
  min-height: 48px;
  outline:none;
  /* iOS Safari zooms inputs < 16px */
  font-size: 16px;
}

/* Logged-out: make the (disabled) textarea silhouette slightly clearer */
#pq-cdr-drawer .pq-cdr-text[readonly]{
  border-color: rgba(145,248,141,0.22);
  box-shadow: 0 0 0 1px rgba(145,248,141,0.10) inset;
  background: rgba(255,255,255,.04);
}
#pq-cdr-drawer .pq-cdr-compose__actions{ display:flex; align-items:center; justify-content:space-between; margin-top: 10px; gap: 10px; }
#pq-cdr-drawer .pq-cdr-send{
  border: 0;
  border-radius: 12px;
  background:#91F88D;
  color:#000;
  font-weight: 900;
  padding: 9px 12px;
  cursor:pointer;
}

/* Thread visuals */
.pq-cdr-body{ padding: 12px; overflow:auto; max-height: calc(100% - 190px); }
.pq-cdr-item{ display:flex; gap:10px; margin: 10px 0; padding-left: calc(var(--pq-depth) * 14px); }
.pq-cdr-item__line{
  width:4px;
  border-radius: 999px;
  background: rgba(145,248,141,0.35);
  margin-top: 10px;
  flex:0 0 4px;
}
.pq-cdr-item__card{
  flex:1;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  padding: 10px 12px;
}
.pq-cdr-item__meta{ display:flex; align-items:center; gap:10px; margin-bottom:6px; }
.pq-cdr-handle{
  background:#91F88D;
  color:#000;
  padding:2px 8px;
  border-radius: 999px;
  font-weight:800;
  font-size:12px;
}
.pq-cdr-time{ opacity:0.7; font-size:12px; }
.pq-cdr-item__text{ font-size:14px; line-height:1.35; }
.pq-cdr-item__actions{ display:flex; gap:10px; margin-top: 8px; justify-content:flex-end; }
.pq-cdr-reply{
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.10);
  color:#fff;
  border-radius: 999px;
  padding: 4px 10px;
  font-size:12px;
  cursor:pointer;
}
.pq-cdr-flag{
  background: transparent;
  border: 0;
  color: rgba(255,255,255,0.35);
  font-size: 12px;
  cursor:pointer;
  padding: 0 4px;
}
.pq-cdr-flag:hover{ color: rgba(255,255,255,0.65); }

.pq-cdr-compose{
  position:absolute;
  left:0; right:0; bottom:0;
  padding: 10px 12px 12px 12px;
  background: linear-gradient(to top, rgba(12,12,12,0.98), rgba(12,12,12,0.72));
  border-top: 1px solid rgba(255,255,255,0.08);
}
.pq-cdr-form{ display:flex; gap:10px; align-items:flex-end; }
.pq-cdr-form textarea{
  flex:1;
  border-radius: 14px;
  border:1px solid rgba(255,255,255,0.14);
  background: rgba(0,0,0,0.35);
  color:#fff;
  padding: 10px;
  resize:none;
  min-height: 44px;
  outline: none;
}
.pq-cdr-post{
  border-radius: 14px;
  border:0;
  background:#91F88D;
  color:#000;
  font-weight:900;
  padding: 10px 14px;
  cursor:pointer;
}

/* Logged-out overlay on composer (keeps UI neat + “native”) */
.pq-cdr-inputwrap{ position: relative; }
.pq-cdr-authoverlay{
  position:absolute;
  inset: 0;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius: 16px; /* match textarea */
  /* More “glass” and more obviously an input is underneath */
  background: rgba(0,0,0,.03);
  backdrop-filter: blur(2px);
}

/* Make it unmistakable there is a textarea underneath (logged-out state).
   We draw a faint outline on the overlay itself so it reads as “disabled input”. */
.pq-cdr-authoverlay::before{
  content:"";
  position:absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  border-radius: 16px;
  /* faint “input” outline (neutral, not shouty green) */
  border: 1px solid rgba(255,255,255,0.14);
  box-shadow:
    0 0 0 1px rgba(0,0,0,0.10) inset,
    0 1px 0 rgba(255,255,255,0.04) inset;
  pointer-events:none;
}
.pq-cdr-authoverlay__card{
  /* Remove the “floating card” look — keep the overlay reading as the textarea itself */
  width: 100%;
  max-width: none;
  padding: 0;
  border-radius: 16px;
  border: 0;
  background: transparent;
  backdrop-filter: none;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  text-align:center;
}
.pq-cdr-authoverlay__title{ font-weight: 900; margin-bottom: 2px; }
.pq-cdr-authoverlay__sub{ font-size: 12px; opacity: .85; }
.pq-cdr-authoverlay__actions{
  display:flex;
  gap:10px;
  margin-top: 0;
  justify-content:center;
  width:100%;
}
.pq-cdr-authoverlay--pulse .pq-cdr-authoverlay__card{
  box-shadow: 0 0 0 2px rgba(145,248,141,.35), 0 18px 40px rgba(0,0,0,.35);
}
.pq-cdr-authgate{
  padding: 8px;
  border-radius: 14px;
  background: rgba(255,255,255,0.04);
  border:0;
}
.pq-cdr-authgate__actions{ display:flex; gap:10px; margin-top:8px; }
.pq-cdr-authbtn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:7px 10px;
  border-radius:999px;
  background:#91F88D;
  color:#000;
  font-weight:900;
  text-decoration:none;
}
.pq-cdr-authbtn--ghost{
  background: transparent;
  color:#fff;
  border: 1px solid rgba(255,255,255,0.16);
}
.pq-cdr-toast{ margin-top:8px; font-size:12px; opacity:0.85; }

/* v1.5.1 block retired: desktop positioning is now handled by the earlier
   (min-width: 900px) rule that uses --pq-cdr-top for header alignment. */


/* Less prominent flag */
.pq-cdr-flag{opacity:.45;font-size:12px;padding:4px 8px;border-color:rgba(255,255,255,0.18);} 
.pq-cdr-flag:hover{opacity:.85;}

/* v1.6.1 hotfix: enforce neat vertical threading in the drawer.
   Older legacy rules (below) had .pq-cdr-item { display:flex } which caused
   replies to lay out horizontally and created giant "Reply" columns.
   These overrides intentionally use high specificity to win. */

#pq-cdr-drawer .pq-cdr-list{ display:block; }

#pq-cdr-drawer .pq-cdr-item{
  display:block !important;
  width: 100% !important;
  gap: 0 !important;
  padding-left: 14px !important;
}

#pq-cdr-drawer .pq-cdr-children{
  display:block !important;
}

/* v1.6.8: allow JS to collapse children.
   The rule above forces display:block, which overrides the native [hidden]
   UA stylesheet. Re-assert hidden state with higher specificity + !important. */
#pq-cdr-drawer .pq-cdr-children[hidden],
#pq-cdr-drawer .pq-cdr-thread > .pq-cdr-children[hidden]{
  display: none !important;
}

#pq-cdr-drawer .pq-cdr-children .pq-cdr-item{
  margin-top: 10px;
}

/* reply quote removed (snippets can be confusing); keep only the “replying to …” cue */


/* v1.6.6: thread nesting cap + per-reply collapsible subthreads */
/*
  We keep semantic nesting fully intact, but cap *visual* nesting so deep chains
  don't become a cramped staircase.

  Strategy:
  - Don't indent cards with margin-left (gets messy fast).
  - Indent using the thread container (.pq-cdr-thread / .pq-cdr-children).
  - Allow indent for depth 0->1 and 1->2 only. Depth 2+ stops indenting.
*/

#pq-cdr-drawer .pq-cdr-item{ margin-left: 0 !important; }

/* One neat rail that contains the toggle + children list */
#pq-cdr-drawer .pq-cdr-thread{
  margin-top: 10px;
  padding-left: 12px;
  border-left: 1px solid rgba(255,255,255,0.10);
}

/* Children list is a clean vertical stack */
#pq-cdr-drawer .pq-cdr-thread > .pq-cdr-children{
  margin-top: 10px;
  padding-left: 16px;
  border-left: 0;
}

/* Depth 0 -> depth 1 indent */
#pq-cdr-drawer .pq-cdr-item[data-depth="0"] > .pq-cdr-thread > .pq-cdr-children{
  padding-left: 16px;
}

/* Depth 1 -> depth 2 indent */
#pq-cdr-drawer .pq-cdr-item[data-depth="1"] > .pq-cdr-thread > .pq-cdr-children{
  padding-left: 16px;
}

/* Depth 2+ -> stop indenting further (cap) */
#pq-cdr-drawer .pq-cdr-item[data-depth="2"] > .pq-cdr-thread > .pq-cdr-children,
#pq-cdr-drawer .pq-cdr-item[data-depth="3"] > .pq-cdr-thread > .pq-cdr-children,
#pq-cdr-drawer .pq-cdr-item[data-depth="4"] > .pq-cdr-thread > .pq-cdr-children,
#pq-cdr-drawer .pq-cdr-item[data-depth="5"] > .pq-cdr-thread > .pq-cdr-children{
  padding-left: 0;
}

/* Reply cards read as replies via border (not spacing gymnastics) */
#pq-cdr-drawer .pq-cdr-item.is-reply{
  background: #141414;
 border-left: 5px solid rgba(145,248,141,.55); }

/* Button shown under a reply when it has replies */
#pq-cdr-drawer .pq-cdr-show-replies{
  display:inline-flex;
  align-items:center;
  gap:8px;
  margin: 0;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  border: 1px solid rgba(255,255,255,0.16);
  background: rgba(255,255,255,0.06);
  color: #fff;
  cursor: pointer;
}
#pq-cdr-drawer .pq-cdr-show-replies:hover{
  background: rgba(255,255,255,0.10);
}


/* Inline composer error (no browser alerts) */
#pq-cdr-drawer .pq-cdr-compose__err{
  margin-top: 8px;
  padding: 8px 10px;
  border-radius: 10px;
  font-size: 12px;
  line-height: 1.25;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.90);
}
#pq-cdr-drawer .pq-cdr-compose__err--pulse{
  animation: pqCdrPulseErr 0.35s ease-in-out;
}
@keyframes pqCdrPulseErr{
  0%{ transform: translateY(0); }
  50%{ transform: translateY(-1px); }
  100%{ transform: translateY(0); }
}

/* Ensure hidden replies actually hide even if theme styles get aggressive */
#pq-cdr-drawer .pq-cdr-children[hidden]{
  display: none !important;
}

/* Restore comment pill overlay on images (entity pages) */
.cse-entity-photo{ position: relative; }

.pq-cdr-image-pill{
  position:absolute;
  top:14px;
  left:14px;
  height:34px;
  padding:0 12px;
  border-radius:999px;
  background: var(--pq-cdr-pill-bg) !important;
  color: var(--pq-cdr-pill-fg) !important;
  font-family:'PQFranklin','Franklin Gothic',Arial,sans-serif;
  font-style: normal;
  text-transform: uppercase;
  letter-spacing:0.02em;
  font-size:12px;
  line-height:34px;
  text-decoration:none !important;
  z-index:99999;
  border:2px solid #000;
  box-shadow:0 6px 0 rgba(0,0,0,.55), 0 12px 20px rgba(0,0,0,.12);
  cursor:pointer;
  pointer-events:auto;
  -webkit-appearance:none;
  appearance:none;
}
.pq-cdr-image-pill:hover{ text-decoration:none !important; }


/* CSE entity pages: image panel lives in .cse-entity-photo */
.cse-entity-photo{ position:relative; }
.cse-entity-photo .pq-cdr-trigger{ position:absolute; top:10px; left:10px; right:auto; z-index:30; }


/* Focus highlight for deep-linked comments */
.pq-cdr-item.pq-cdr-focus{
  outline: 2px solid rgba(145,248,141,0.55);
  box-shadow: 0 0 0 4px rgba(145,248,141,0.12);
}


/* Smaller pulsing comments CTA */
.pq-cdr-pill-cta {
    padding: 6px 12px !important;
    font-size: 13px !important;
    border-radius: 18px !important;
    animation: pqCtaPulse 1.8s ease-in-out infinite;
}

@keyframes pqCtaPulse {
    0%,100% { box-shadow: 0 0 0 0 rgba(145,248,141,0.4); }
    50%     { box-shadow: 0 0 0 8px rgba(145,248,141,0); }
}

/* =========================================================
   PopQuest — Throbbing green COMMENT pill (CSE hero)
   Green (#91F88D) pill, black comment icon, count badge.
   ========================================================= */

@keyframes pqCdrPillPulse {
  0%   { box-shadow: 0 10px 0 rgba(0,0,0,0.9), 0 0 0 0 rgba(145,248,141,.55); }
  70%  { box-shadow: 0 10px 0 rgba(0,0,0,0.9), 0 0 0 14px rgba(145,248,141,0); }
  100% { box-shadow: 0 10px 0 rgba(0,0,0,0.9), 0 0 0 0 rgba(145,248,141,0); }
}

.pq-cdr-image-pill,
.pq-cdr-pill-cta{
  position: absolute !important;
  right: 18px !important;
  bottom: 18px !important;
  z-index: 50 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
  padding: 12px 16px !important;
  border-radius: 999px !important;
  background: #91F88D !important;
  border: 1px solid rgba(0,0,0,0.25) !important;
  color: #000 !important;
  cursor: pointer !important;
  text-decoration: none !important;
  -webkit-text-decoration: none !important;
  box-shadow: 0 10px 0 rgba(0,0,0,0.9) !important;
  animation: pqCdrPillPulse 1.6s ease-out infinite !important;
}

/* Keep it inside the hero photo/card without clipping */
.cse-entity-photo{ position: relative; }

.pq-cdr-image-pill:focus,
.pq-cdr-image-pill:focus-visible,
.pq-cdr-pill-cta:focus,
.pq-cdr-pill-cta:focus-visible{
  outline: none !important;
  box-shadow: 0 10px 0 rgba(0,0,0,0.9), 0 0 0 4px rgba(0,0,0,0.18) !important;
}

.pq-cdr-pill-icon{
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 22px !important;
  height: 22px !important;
}

.pq-cdr-pill-icon svg{
  width: 22px !important;
  height: 22px !important;
  display: block !important;
}

.pq-cdr-pill-count{
  position: absolute !important;
  top: -8px !important;
  right: -8px !important;
  min-width: 22px !important;
  height: 22px !important;
  padding: 0 6px !important;
  border-radius: 999px !important;
  background: #000 !important;
  color: #fff !important;
  font-family: 'PQFRANKLIN', 'FranklinGothicHeavyItalic', Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif !important;
  font-weight: 800 !important;
  font-size: 12px !important;
  line-height: 22px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-shadow: 0 6px 16px rgba(0,0,0,0.25) !important;

  color: var(--pq-cdr-pill-fg) !important;
}

/* Mobile tweak: keep it comfy */
@media (max-width: 480px){
  .pq-cdr-image-pill,
  .pq-cdr-pill-cta{ right: 12px !important; bottom: 12px !important; padding: 11px 14px !important; }
  .pq-cdr-pill-count{ top: -7px !important; right: -7px !important; }
}

/* Place the hero comment pill UNDER the image (not overlay) */
.pq-entity-hero__media{ display:flex; flex-direction:column; align-items:flex-start; }

/* Under-image placement for entity hero comment pill */
.pq-entity-hero__media .pq-cdr-trigger--left{
  position: relative !important;
  top: auto !important;
  left: auto !important;
  margin-top: 12px !important;
  align-self: flex-start;
}


/* NEWS inline placement: same glowing green pill, but inline (not absolute) */
button.pq-cdr-image-pill.pq-cdr-news-inline{
  position: relative !important;
  top: auto !important;
  left: auto !important;
  right: auto !important;
  bottom: auto !important;
  margin-top: 0 !important;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* Editorial kicker row wrapper: kicker + comments pill on one line (wraps nicely) */
.pqn-editorial-pill-row{
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.pqn-editorial-pill-row .pq-cdr-news-inline{
  margin-top: 0 !important;
}

@media (max-width: 520px){
  .pqn-editorial-pill-row{
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

/* Stronger overrides so the CTA really sits NEXT to the editorial kicker */
body.single-popquest_news_card .pqn-editorial-pill-row{
  display:flex !important;
  align-items:center !important;
  gap:12px !important;
  flex-wrap:wrap !important;
}

body.single-popquest_news_card .pqn-editorial-pill-row .pqn-editorial{
  margin:0 !important;
}

body.single-popquest_news_card .pqn-editorial-pill-row .pq-cdr-news-inline{
  margin:0 !important;
  display:inline-flex !important;
  align-items:center !important;
}

body.single-popquest_news_card .pqn-editorial-pill-row .pq-cdr-image-pill{
  margin:0 !important;
  position:static !important;
}

@media (max-width:520px){
  body.single-popquest_news_card .pqn-editorial-pill-row{
    flex-direction:row !important;
    align-items:center !important;
  }
}
}


/* Context spacing hooks */
.pq-cdr-hero-pill-wrap,
.pq-cdr-entity-cta-wrap{
  margin-top: var(--pq-cdr-entity-pill-mt) !important;
}

.pq-cdr-news-inline{
  margin-top: var(--pq-cdr-news-pill-mt) !important;
}

.pq-cdr-article-inline{
  /* Inline (article) pill must be a positioning context so the count badge
     can sit on the pill (badge is position:absolute). */
  position: relative !important;
  top: auto !important;
  right: auto !important;
  bottom: auto !important;
  left: auto !important;
  margin-top: var(--pq-cdr-article-pill-mt) !important;
}



/* =========================================================
   PQ CDR — Inverted CTA pill (black pill + green glow)
   High-specificity so it wins against theme/button styles.
   ========================================================= */
.pqn-latest-news__item .pq-cdr-image-pill,
.single-popquest_news_card .pq-cdr-image-pill,
.single-cse_entity .pq-cdr-image-pill,
body.single-post .pq-cdr-image-pill,
body.single .pq-cdr-image-pill.pq-cdr-article-inline{
  background:#000 !important;
  color:#91F88D !important;
  border:1px solid rgba(145,248,141,0.6) !important;
  box-shadow:
    0 0 0 2px rgba(145,248,141,0.25),
    0 0 20px rgba(145,248,141,0.55) !important;
}

.pq-cdr-image-pill .pq-cdr-pill-label,
.pq-cdr-image-pill .pq-cdr-pill-icon,
.pq-cdr-image-pill .pq-cdr-pill-count{
  color:#91F88D !important;
}

.pq-cdr-image-pill .pq-cdr-pill-count{
  background:#000 !important;
  border:1px solid rgba(145,248,141,0.6) !important;
}

/* =========================================================
   Inline CTA placement helpers (feed + article)
   ========================================================= */

.pq-cdr-kicker-row{
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
  width:100%;
  justify-content:space-between;
}

/* Article (single-popquest_news_card): legacy default was centred below hero.
   When we inject next to the editorial kicker, keep the CTA inline. */
.single-popquest_news_card .pq-cdr-kicker-row .pq-cdr-article-cta-wrap{
  display:flex !important;
  justify-content:flex-end !important;
  width:auto !important;
  margin:0 !important;
  flex:0 0 auto !important;
}

/* If a theme/layout still places the wrap as a standalone block, keep it reasonable,
   but do NOT force it full-width when inside the kicker row above. */
.single-popquest_news_card .pq-cdr-article-cta-wrap{
  display:flex !important;
  justify-content:center !important;
  width:fit-content !important;
  margin: 18px auto 0 auto !important;
}

/* Feed (homepage/index): center CTA under the text block */
.pqn-latest-news__text .pq-cdr-news-inline{
  margin: 12px auto 0 auto !important;
  display: flex !important;
  width: fit-content !important;
}




/* Feed CTA INSIDE image (homepage cards) */
.pq-cdr-media-wrap{
  position: relative !important;
  overflow: hidden;
}
button.pq-cdr-image-pill.pq-cdr-news-inline.pq-cdr-in-image{
  position: absolute !important;
  right: 12px !important;
  bottom: 12px !important;
  margin: 0 !important;
  z-index: 20 !important;
}
@media (max-width: 640px){
  button.pq-cdr-image-pill.pq-cdr-news-inline.pq-cdr-in-image{
    right: 10px !important;
    bottom: 10px !important;
  }
}


/* ===== POPQUEST: Force article Comments CTA to sit beside the editorial kicker ===== */
/* Theme-level custom CSS was centering .pq-cdr-image-pill on singles; neutralise that when we move it inline */
.single-popquest_news_card .pq-cdr-kicker-row{
  flex-wrap: nowrap !important;
  align-items: center !important;
}
@media (max-width: 640px){
  .single-popquest_news_card .pq-cdr-kicker-row{
    flex-wrap: wrap !important;
  }
}

.single-popquest_news_card .pq-cdr-kicker-row .pq-cdr-image-pill.pq-cdr-inline-beside-kicker{
  margin: 0 !important;
  width: auto !important;
  max-width: none !important;
  flex: 0 0 auto !important;
  display: inline-flex !important;
}

.single-popquest_news_card .pq-cdr-kicker-row .pq-cdr-image-pill.pq-cdr-inline-beside-kicker button{
  margin: 0 !important;
}



/* ------------------------------------------------------------
   Article: place comments CTA NEXT TO the editorial kicker
   ------------------------------------------------------------ */
.single-popquest_news_card .pqn-editorial-pill-row{
  display:flex !important;
  align-items:center !important;
  gap:10px !important;
  flex-wrap:wrap !important;
}

.single-popquest_news_card .pqn-editorial-pill-row .pq-cdr-image-pill{
  position: static !important;
  transform:none !important;
  margin:0 !important;
  inset:auto !important;
}

.single-popquest_news_card .pqn-editorial-pill-row .pq-cdr-pill-label{
  letter-spacing:.4px !important;
}



/* Overlay row: comment pill next to the image kicker (article hero) */
.pq-cdr-kicker-overlay-row{
  position:absolute;
  top:12px;
  left:12px;
  display:flex;
  align-items:center;
  gap:10px;
  z-index: 40;
}
/* Neutralise the kicker's own absolute/positioning so it behaves in the row */
.pq-cdr-kicker-overlay-row .pqn-news-kicker,
.pq-cdr-kicker-overlay-row .pqn-news-kicker--top{
  position: static !important;
  margin: 0 !important;
}
.pq-cdr-kicker-overlay-row .pq-cdr-image-pill{
  position: static !important;
}

@media (max-width: 480px){
  .pq-cdr-kicker-overlay-row{ top:10px; left:10px; gap:8px; }
}


/* === FIX: ensure comment count badge anchors correctly for inline CTA (article kicker) === */
body.single-popquest_news_card .pqn-editorial-pill-row .pq-cdr-news-inline,
body.single-popquest_news_card .pqn-editorial-pill-row .pq-cdr-image-pill{
  position: relative !important; /* overrides any theme 'position:static !important' */
  overflow: visible !important;
}
body.single-popquest_news_card .pqn-editorial-pill-row .pq-cdr-news-inline .pq-cdr-pill-count,
body.single-popquest_news_card .pqn-editorial-pill-row .pq-cdr-image-pill .pq-cdr-pill-count{
  position: absolute !important;
  top: -6px !important;
  right: -6px !important;
  transform: none !important;
  z-index: 5 !important;
}


/*
  ==============================================================
  Article inline CTA — count visibility fix
  ==============================================================
  Some article layouts use overflow clipping on wrappers around the
  editorial kicker row. The default badge-style count uses absolute
  positioning and can get clipped. On *article* pages we force the
  count to render inline so it always remains visible.
*/
body.single-popquest_news_card .pqn-editorial-pill-row .pq-cdr-image-pill.pq-cdr-article-inline .pq-cdr-pill-count,
body.single-popquest_news_card .pqn-editorial-pill-row .pq-cdr-image-pill.pq-cdr-news-inline .pq-cdr-pill-count,
body.single-popquest_news_card .pqn-editorial-pill-row .pq-cdr-image-pill .pq-cdr-pill-count{
  position: static !important;
  transform: none !important;
  margin-left: 8px !important;
  min-width: 20px !important;
  height: 20px !important;
  padding: 0 7px !important;
  border-radius: 999px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}


/* Mobile: center article CTA under byline box (News Card template) */
@media (max-width: 640px){
  .pq-cdr-mobile-cta-wrap{
    display:flex;
    justify-content:center;
    align-items:center;
    margin: 10px 0 6px;
  }
  .pq-cdr-mobile-cta-wrap .pq-cdr-article-inline{
    margin:0 !important;
  }
}
