@media (min-width: 900px){
  /* Desktop headline size bump */
  .pqn-title{ font-size: 28px; line-height: 1.05; }
  .pqn-root.pqn-index .pqn-latest-news__headline{ font-size: 26px; }
}


/* (top-of-file reserved) */

/* Franklin Gothic Heavy Italic (hosted in plugin) */
@font-face {
  font-family: "FranklinGothicHeavyItalic";
  src: url("./fonts/franklin-gothic-heavy-italic.woff2") format("woff2"),
       url("./fonts/franklin-gothic-heavy-italic.woff") format("woff"),
       url("./fonts/franklin-gothic-heavy-italic.ttf") format("truetype");
  font-weight: 800;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "PQFranklin";
  src: url("./fonts/franklin-gothic-heavy-italic.woff2") format("woff2"),
       url("./fonts/franklin-gothic-heavy-italic.woff") format("woff"),
       url("./fonts/franklin-gothic-heavy-italic.ttf") format("truetype");
  font-weight: 800;
  font-style: italic;
  font-display: swap;
}


/* PopQuest News Fresh Feed v1.2.0 – scoped styles */
.pqn-root { max-width: 760px; margin: 0 auto; padding: 12px; background:#fff; }

/* Tabs */
.pqn-tabs { display:flex; gap:10px; margin: 0 0 12px; justify-content:flex-end; flex-wrap:wrap; }
.pqn-tab {
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-size: 13px; line-height: 1;
  padding: 10px 12px;
  border: 1px solid #000;
  border-radius: 999px;
  text-decoration:none;
  color:#000;
}
.pqn-tab.is-active { background:#000; color:#fff; }

/* Tabs: line break helper for PROFILE */
.pqn-tabs__break{ flex-basis:100%; height:0; }

/* Hello */
.pqn-hello{
  font-family: "PQFranklin", "PQ Franklin", "FranklinGothicHeavyItalic", "Franklin Gothic Heavy Italic", "Libre Franklin", Inter, Arial Black, Arial, sans-serif !important;
  font-weight: 800;
  font-style: italic;
  font-size: 26px;
  line-height: 1.05;
  color:#000;
  /* Slightly closer to the top, but not cramped against CSE */
  margin: -4px 0 28px;

  text-transform: uppercase;
}

@media (max-width: 520px){
  .pqn-hello{ font-size: 24px; margin: -2px 0 26px; }
}

/* Card */
.pqn-card { background:#fff; margin: 0 0 20px; border: 0; }

/* Media */
.pqn-media { display:block; position:relative; text-decoration:none; overflow:hidden; border-radius: 0; }
.pqn-img { width:100%; height:auto; display:block; margin:0; padding:0; }

/* News kicker overlay */
.pqn-news-kicker{
  position:absolute; left:0; right:0; top:0;
padding: 10px 12px;
  background:#000; color:#fff;
  font-family: "PQFranklin", "PQ Franklin", "FranklinGothicHeavyItalic", "Franklin Gothic Heavy Italic", "Libre Franklin", Inter, Arial Black, Arial, sans-serif;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .4px;
  font-size: 14px;
}

/* Body */
.pqn-body { padding: 12px 0 0; }

/* Editorial kicker pill */
.pqn-editorial{
  display:inline-block;
  background:#91F88D;
  color:#000;
  padding: 10px 14px;
  border-radius: 999px;
  font-family: "PQFranklin", "PQ Franklin", "FranklinGothicHeavyItalic", "Franklin Gothic Heavy Italic", "Libre Franklin", Inter, Arial Black, Arial, sans-serif;
  font-weight: 800;
  text-transform: uppercase;
  font-size: 14px;
  line-height: 1.05;
  margin: 0 0 10px;
}

/* Headline row */
.pqn-headrow{ display:flex; align-items:flex-start; gap:10px; position:relative; }
.pqn-title{
  margin:0; flex:1;
  font-family: "PQFranklin", "PQ Franklin", "FranklinGothicHeavyItalic", "Franklin Gothic Heavy Italic", "Libre Franklin", Inter, Arial Black, Arial, sans-serif;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .2px;
  font-size: 24px;
  line-height: 1.05;
}
.pqn-title a{ color:#000; text-decoration:none; }

/* Ellipsis button */
.pqn-ellipsis{
  flex:0 0 auto;
  background:#000; color:#fff;
  border:0;
  border-radius: 10px;
  padding: 8px 12px;
  font-family: "PQFranklin", "PQ Franklin", "FranklinGothicHeavyItalic", "Franklin Gothic Heavy Italic", "Libre Franklin", Inter, Arial Black, Arial, sans-serif;
  font-weight: 800;
  font-size: 16px;
  line-height: 1;
  cursor:pointer;
}

/* Menu */
.pqn-menu{
  position:absolute;
  top: 34px;
  right: 0;
  background:#000; color:#fff;
  border-radius: 12px;
  padding: 6px;
  display:flex; flex-direction:column;
  gap: 4px;
  min-width: 140px;
  z-index: 9999;
}
.pqn-act{
  text-align:left;
  background:transparent;
  border:0;
  color:#fff;
  padding: 10px 10px;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-size: 14px;
  cursor:pointer;
}
.pqn-act:hover{ background: rgba(255,255,255,0.12); border-radius: 10px; }

.pqn-byline{
  margin-top: 10px;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-size: 14px; line-height: 1.4;
  color:#000; opacity: 0.8;
}
.pqn-excerpt{
  margin: 10px 0 0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-size: 16px; line-height: 23px;
  color:#000;
}

/* Theme safety: kill gutters */
.pqn-root img, .pqn-root figure { max-width: 100% !important; }
.pqn-root .pqn-media { margin: 0 !important; padding: 0 !important; }

/* Responsive */
@media (max-width: 520px){
  .pqn-root{ padding: 10px; }
  .pqn-title{ font-size: 20px; }
  .pqn-news-kicker{ font-size: 13px; }
}


/* --- v1.3 layout refinements --- */
.pqn-root { padding: 0; max-width: 820px; }
.pqn-tabs { padding: 12px; position: sticky; top: 0; background: #fff; z-index: 20; }

.pqn-card { margin: 0 0 18px; }
.pqn-media { border-radius: 14px; overflow: hidden; }
.pqn-body { padding: 12px; }

/* Keep headline and ellipsis nicely aligned */
.pqn-headrow { align-items: center; }
.pqn-ellipsis { border-radius: 12px; padding: 8px 10px; }

/* Menu anchored to ellipsis */
.pqn-menu { top: 42px; right: 0; }

/* Kicker styles */
.pqn-news-kicker { padding: 10px 12px; }
.pqn-editorial { padding: 7px 11px; }

/* Mobile: edge-to-edge cards but keep padding for text */
@media (max-width: 520px){
  .pqn-root { padding: 0; }
  .pqn-card { margin: 0 0 14px; }
  .pqn-body { padding: 10px 12px; }
  .pqn-title { font-size: 22px; }
}


/* --- v1.3.1: actions on image + tighter header spacing --- */
.pqn-media-wrap{ position: relative; }
.pqn-media{ display:block; position:relative; text-decoration:none; }
.pqn-media-actions{
  position:absolute;
  top: 10px;
  right: 10px;
  display:flex;
  align-items:center;
  gap: 8px;
  z-index: 30;
}
/* ellipsis matches icon weight */
.pqn-media-actions .pqn-ellipsis{
  border-radius: 999px;
  padding: 8px 10px;
  font-size: 14px;
}
/* menu anchored under ellipsis */
.pqn-media-actions .pqn-menu{
  position:absolute;
  top: 40px;
  right: 0;
}

/* tighten spacing so headline hugs image like your reference */
.pqn-body{ padding-top: 10px; }
.pqn-editorial{ margin-bottom: 8px; }
.pqn-title{ margin-top: 0; }


/* --- v1.3.5: consistent image sizing + menu hidden fix + card spacing --- */

/* Make all card images consistent (like your reference) */
.pqn-media-wrap{
  border-radius: 14px;
  overflow: hidden;
}
.pqn-media{
  display:block;
  position:relative;
  aspect-ratio: 16 / 9;
  overflow:hidden;
}
.pqn-img{
  width:100% !important;
  height:100% !important;
  object-fit: cover;
  display:block;
}

/* Ensure ellipsis menus are NOT visible by default, even if theme messes with [hidden] */
.pqn-menu[hidden]{ display:none !important; }
.pqn-menu{ display:flex; }

/* Cards need equal spacing */
.pqn-card{ margin: 0 0 22px !important; }
.pqn-body{ padding: 12px 12px 0 !important; }
.pqn-excerpt{ margin-bottom: 6px; }

/* Make ellipsis button small and tidy on image */
.pqn-media-actions .pqn-ellipsis{
  font-size: 14px !important;
  line-height: 1 !important;
  padding: 8px 10px !important;
  border-radius: 999px !important;
}


/* Article page layout */
.pqn-article-root{ max-width: 820px; margin: 0 auto; padding: 0 12px 24px; background:#fff; }
.pqn-article{ padding-top: 12px; }
.pqn-article-media{ margin: 0 0 12px; position: relative; }
.pqn-article-body{ padding: 0 0 12px; }
.pqn-article-body .pqn-title{ font-size: 36px; line-height: 1.02; margin: 0 0 10px; }
.pqn-article-content{ font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif; font-size: 16px; line-height: 23px; margin-top: 14px; }
.pqn-article-content p{ margin: 0 0 14px; }

@media (max-width: 520px){
  .pqn-article-body .pqn-title{ font-size: 28px; }
}


/* --- v1.3.6: headline+editorial above image + byline box + dates --- */
.pqn-bybox{margin:0;background:#fff;border:0;border-radius:0;padding:14px 14px 12px;text-align:center;box-shadow:0 10px 24px rgba(0,0,0,.08),inset 0 1px 0 rgba(255,255,255,.95),inset 0 -1px 0 rgba(0,0,0,.10);}
.pqn-bybox-byline{
  font-family: "FranklinGothicHeavyItalic", "Franklin Gothic Heavy Italic", Arial Black, Arial, sans-serif;
  font-weight: 800;
  font-style: italic;
  text-transform: uppercase;
  letter-spacing: .2px;
  font-size: 14px;
  margin: 0 0 8px;
}
.pqn-bybox-dates{
  display:flex;
  flex-wrap:wrap;
  gap: 10px 14px;
  font-family: "FranklinGothicHeavyItalic", "Franklin Gothic Heavy Italic", Arial Black, Arial, sans-serif;
  font-weight: 800;
  font-style: italic;
  text-transform: uppercase;
  letter-spacing: .2px;
  font-size: 12px;
}
.pqn-bybox-label{ opacity: .7; margin-right: 6px; }

.pqn-card{ margin: 0 0 26px !important; }

.pqn-article-top{ padding: 12px 12px 10px; }
.pqn-article-content{ font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif; font-size: 16px; line-height: 23px; margin-top: 16px; }

.pqn-title, .pqn-editorial, .pqn-news-kicker { font-family: "FranklinGothicHeavyItalic", "Franklin Gothic Heavy Italic", Arial Black, Arial, sans-serif !important; }

/* --- v1.3.10: back to centered feed cards (single-column), square media, clean mobile --- */

/* Prefer PQFranklin everywhere important */
.pqn-title, .pqn-editorial, .pqn-news-kicker, .pqn-bybox-byline, .pqn-bybox-dates, .pqn-ellipsis {
  font-family: 'PQFranklin', 'FranklinGothicHeavyItalic', 'Franklin Gothic Heavy Italic', Arial Black, Arial, sans-serif !important;
}

/* Force cards to be centered, single column (no accidental side-by-side) */
.pqn-feed { display:block; }
.pqn-card { max-width: 640px; margin: 0 auto 28px !important; }
.pqn-body { padding: 12px 0 0 !important; } /* keep nice space like older versions */
.pqn-headrow { display:block !important; }  /* stop flex layouts */
.pqn-title { display:block; }

/* Square images */
.pqn-media { aspect-ratio: 1 / 1 !important; }
.pqn-img { width:100% !important; height:100% !important; object-fit: cover !important; }

/* Ensure menus are actually hidden by default */
.pqn-menu[hidden] { display:none !important; }

/* Byline box: keep under image, but align with card and not float anywhere */
.pqn-bybox { width:100%; }

/* Article page: stop giant/tall media; keep it within content width and square */
.pqn-article-root { max-width: 640px !important; margin: 0 auto !important; padding: 0 12px 24px !important; background:#fff; }
.pqn-article-media .pqn-media { aspect-ratio: 1 / 1 !important; }
.pqn-article-media { margin: 0 0 12px !important; }

@media (max-width: 520px){
  /* Full-bleed look by removing card max width and rounding only (no 100vw tricks) */
  .pqn-root { padding: 0 !important; }
  .pqn-card { max-width: none !important; margin: 0 0 22px !important; padding: 0 12px; }
  .pqn-media-wrap { border-radius: 0 !important; }
  .pqn-bybox { border-radius: 0 !important; text-align:center; border-left:0 !important; border-right:0 !important; }
  .pqn-bybox-dates { justify-content:center; }
  .pqn-article-root { max-width: none !important; padding: 0 !important; }
  .pqn-article-top { padding: 12px 12px 10px !important; }
  .pqn-article-content { padding: 0 12px 24px !important; }
}


/* --- v1.3.13: article refinements --- */
.pqn-article-root{ max-width: 920px; }
.pqn-article-top .pqn-title{ font-size: 44px; line-height: 1.02; margin: 0; }
@media (max-width: 520px){
  .pqn-article-top .pqn-title{ font-size: 32px; }
}

/* Bigger kickers on article */
.pqn-article-top .pqn-editorial{
  font-size: 16px;
  padding: 9px 13px;
  margin: 0 0 10px;
}
.pqn-article-media .pqn-news-kicker{
  font-size: 15px;
  padding: 12px 14px;
}

/* News kicker flush on TOP of picture (article only) */
.pqn-news-kicker--top{ top: 0; bottom: auto; }

/* No space between image and byline box on article */
.pqn-article-media{ margin-bottom: 0 !important; }
.pqn-bybox--article{ margin-top: 0 !important; }

/* Square byline box + centered text/dates on article */
.pqn-bybox--article{
  border-radius: 0 !important;
  text-align: center;
}
.pqn-bybox--article .pqn-bybox-dates{
  justify-content: center;
}

/* SOURCE button under byline box */
.pqn-source-wrap{ margin: 12px 0 0; text-align: center; }
.pqn-source-btn{
  display: inline-block;
  background: #000;
  color: #fff;
  padding: 10px 14px;
  border-radius: 999px;
  text-transform: uppercase;
  font-family: 'PQFranklin','FranklinGothicHeavyItalic','Franklin Gothic Heavy Italic', Arial Black, Arial, sans-serif !important;
  font-size: 13px;
  line-height: 1;
}
.pqn-source-btn:hover{ opacity: .9; }

/* GOT A STORY? tip box (under article content) */
body.single-popquest_news_card .pqn-tipbox{
  margin: 28px 0 6px;
}
body.single-popquest_news_card .pqn-tipbox__inner{
  max-width: 760px;
  margin: 0 auto;
  background: #fff;
  border: 2px solid #000;
  padding: 18px 18px;
  text-align: center;
}
body.single-popquest_news_card .pqn-tipbox__title{
  font-family: 'PQFranklin','FranklinGothicHeavyItalic','Franklin Gothic Heavy Italic', Arial Black, Arial, sans-serif !important;
  font-weight: 800;
  font-style: italic;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  font-size: 24px;
  margin-bottom: 10px;
}
body.single-popquest_news_card .pqn-tipbox__copy{
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-size: 16px;
  line-height: 23px;
  color: #000;
}
body.single-popquest_news_card .pqn-tipbox__link{
  color: #000;
  text-decoration: underline;
  text-underline-offset: 2px;
}
@media (max-width: 768px){
  body.single-popquest_news_card .pqn-tipbox__inner{ padding: 16px 14px; }
  body.single-popquest_news_card .pqn-tipbox__title{ font-size: 20px; }
}


/* --- v1.3.14: article hero tweaks (landscape, square edges, bordered media+byline) --- */
.pqn-article-media-wrap{
  border: 1px solid #000;
  border-radius: 0 !important;
  overflow: hidden;
  margin: 0 0 10px 0;
}
/* landscape image on article */
.pqn-article-media-wrap .pqn-media{
  aspect-ratio: 16 / 9 !important;
  border-radius: 0 !important;
}
.pqn-article-media-wrap .pqn-img{
  border-radius: 0 !important;
}
/* remove rounding everywhere for article media */
.pqn-article-media, .pqn-article-media .pqn-media-wrap{
  border-radius: 0 !important;
}
/* News kicker square + bigger */
.pqn-article-media-wrap .pqn-news-kicker{
  border-radius: 0 !important;
  font-size: 18px !important;
  padding: 10px 12px !important;
}
/* Editorial kicker bigger */
.pqn-article-top .pqn-editorial{
  font-size: 16px !important;
  padding: 8px 12px !important;
}
/* No gap between picture and byline box (byline box sits directly under media inside wrap) */
.pqn-article-media-wrap .pqn-bybox{
  margin: 0 !important;
  border-top: 1px solid #000;
  border-left: 0;
  border-right: 0;
  border-bottom: 0;
  border-radius: 0 !important;
  text-align: center;
}
.pqn-article-media-wrap .pqn-bybox-dates{ justify-content: center; }
/* Source button/link: no underline */
.pqn-source-btn, .pqn-source-btn:hover, .pqn-source-btn:focus{
  text-decoration: none !important;
}


/* v1.3.15: remove media/byline border wrapper */
.pqn-article-media{border:none !important;}
.pqn-media-wrap{border:none !important;}
.pqn-bybox{border:1px solid #000;}

.pqn-bybox{border:none !important;}


/* v1.3.15: pulsing comments pill on left of picture */
/* Unified Comments Pill (article + homepage). Homepage uses --small. */
.pqn-comments-pill{
  position:absolute;
  left: 12px;
  top: 12px;
  z-index:60;
  display:inline-flex;
  align-items:center;
  gap: 6px;
  padding: 8px 14px;
  background: #91F88D;
  color:#000 !important;
  border-radius:999px;
  text-decoration:none !important;
  border: none;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif !important;
  font-weight: 700;
  line-height:1;
  -webkit-tap-highlight-color: transparent;
}
.pqn-comments-pill svg{ width:16px; height:16px; fill:#fff; display:block; }
.pqn-comments-count{
  background:#000;
  color:#91F88D;
  font-size: 12px;
  padding: 2px 6px;
  border-radius: 999px;
}
.pqn-comments-pill::after{
  content:'';
  position:absolute;
  inset:-5px;
  border-radius:999px;
  border:2px solid #91F88D;
  opacity:0;
  animation:pqnPulse 2.6s infinite;
  pointer-events:none;
}
@keyframes pqnPulse{
  0%{opacity:.6; transform:scale(1);}
  70%{opacity:0; transform:scale(1.2);}
  100%{opacity:0;}
}
/* Homepage/feed smaller variant */
.pqn-comments-pill--small{
  padding: 6px 11px;
}
.pqn-comments-pill--small svg{ width:14px; height:14px; }
.pqn-comments-pill--small .pqn-comments-count{ font-size: 11px; padding: 2px 6px; }

/* sit just below the black kicker bar (kicker height is also adjusted by JS) */
.pqn-latest-news__item.has-kicker .pqn-comments-pill{ top:44px; }


.pqn-comments-pill:focus{ outline: none; }
.pqn-comments-pill:focus-visible{ box-shadow:0 0 0 3px rgba(145,248,141,0.35); }

.pqn-comments-pill .pqn-comments-icon{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:14px;
  height: 16px;}
.pqn-comments-pill .pqn-comments-icon svg{
  width:14px;
  height:14px;
  display:block;
  fill:#91F88D;
}

.pqn-comments-pill .pqn-comments-count{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width: 22px;
  height: 20px;
  padding: 0 7px;
  border-radius:999px;
  background:#111;
  color:#fff;
  font-size: 11px;
  line-height:1;
}

/* pulse ring (doesn't affect layout / doesn't create a giant outline) */
.pqn-comments-pill::after{
  content:"";
  position:absolute;
  inset:-3px;
  border-radius:999px;
  border:2px solid rgba(145,248,141,0.55);
  opacity:0;
  transform: scale(0.95);
  pointer-events:none;
  animation:pqnPillPulse 1.35s ease-out infinite;
}
@keyframes pqnPillPulse{
  0%{ opacity:0.65; transform:scale(0.95); }
  65%{ opacity:0; transform:scale(1.12); }
  100%{ opacity:0; transform:scale(1.12); }
}}
.pqn-comments-pill:focus-visible{ outline:2px solid #000; outline-offset:2px; }

/* keep ellipsis at top-right */
.pqn-media-actions{ position:absolute; top:12px; right:12px; z-index:50; }


/* v1.3.16: remove any remaining borders on media/byline */
.pqn-article-media, .pqn-media-wrap, .pqn-media, .pqn-img, .pqn-bybox { border: 0 !important; box-shadow: none !important; outline: 0 !important; }

/* v1.3.16: speech bubble pill with count */
.pqn-comments-pill{
  position:absolute;
  left:12px;
  bottom:12px;
  z-index:40;
  display:flex;
  align-items:center;
  gap:8px;
  background:#91F88D;
  color:#000;
  border:0;
  border-radius:999px;
  padding:10px 12px;
  font-family:'PQFranklin','FranklinGothicHeavyItalic','Franklin Gothic Heavy Italic',Arial Black,Arial,sans-serif !important;
  font-weight:800;
  font-style:italic;
  text-transform:uppercase;
  letter-spacing:.2px;
  font-size:14px;
  line-height:1;
  cursor:pointer;
  animation:pqnPulse 1.6s ease-out infinite;
}
.pqn-comments-icon{ font-size:16px; line-height:1; }
.pqn-comments-count{ min-width:18px; text-align:center; }


/* v1.3.17: article UI polish */
/* Comments bubble: slightly translucent */
.pqn-comments-pill{
  background: rgba(145,248,141,0.78) !important;
  box-shadow: 0 0 0 0 rgba(145,248,141,0.45) !important;
}
@keyframes pqnPulse{
  0%{ box-shadow:0 0 0 0 rgba(145,248,141,0.50); transform:translateY(0); }}

/* Ellipsis: lift up slightly so it doesn't hang over image edge */
.pqn-media-actions{ top: 8px !important; right: 10px !important; }
.pqn-ellipsis{ padding: 7px 10px !important; }

/* Remove any borders around media/byline grouping */
.pqn-article-media{ border: none !important; outline: none !important; }
.pqn-media-wrap{ border: none !important; outline: none !important; }
.pqn-media{ border: none !important; outline: none !important; }
.pqn-bybox{ border: none !important; }

/* Byline box: subtle embossed look */
.pqn-bybox{
  background: #fff !important;
  box-shadow:
    0 10px 18px rgba(0,0,0,0.08),
    inset 0 1px 0 rgba(255,255,255,0.9),
    inset 0 -1px 0 rgba(0,0,0,0.08) !important;
}


/* Article media: square edges, no border/outline */
.pqn-article .pqn-media-wrap,
.pqn-article .pqn-media,
.pqn-article img{border:0 !important; outline:0 !important; border-radius:0 !important; box-shadow:none !important;}
/* Landscape feel on article: wider frame */
.pqn-article .pqn-media-wrap{aspect-ratio:16/9; max-width:760px;}
.pqn-article .pqn-img{width:100%; height:100%; object-fit:cover;}
/* Kicker sits flush on the image */
.pqn-article .pqn-kicker-bar{margin:0; border-radius:0;}
/* Comments pill: more translucent (match CSE style) */
.pqn-comments-pill{background:rgba(145,248,141,.65) !important; box-shadow:0 0 0 1px rgba(0,0,0,.12); }
.pqn-comments-pill:hover{background:rgba(145,248,141,.8) !important;}



/* ===== PQN overrides (v1.3.20) ===== */
.pqn-article-frame,
.pqn-media-wrap,
.pqn-media,
.pqn-bybox {
  border: none !important;
  outline: none !important;
}

.pqn-bybox{
  /* subtle embossed */
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.8),
    inset 0 -1px 0 rgba(0,0,0,0.08),
    0 8px 18px rgba(0,0,0,0.06) !important;
}



.pqn-comments-pill{
  background: rgba(145,248,141,0.28) !important;
  border: 1px solid rgba(145,248,141,0.55) !important;
  box-shadow: 0 8px 18px rgba(145,248,141,0.18) !important;
}

.pqn-comments-pill .pqn-comments-count{
  background: rgba(0,0,0,0.70) !important;
  color: #fff !important;
}


/* Force article hero media to landscape */
.pqn-article .pqn-article-media-wrap .pqn-media,
.pqn-article .pqn-media-wrap .pqn-media{
  aspect-ratio: 16 / 9 !important;
}

.pqn-article .pqn-article-media-wrap .pqn-img,
.pqn-article .pqn-media-wrap .pqn-img{
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}

/* Hide inline comments box on News articles (we use the floating CTA) */
body.single-popquest_news_card .pq-cdr-inline{display:none !important;}

/* =============================
   HOTFIX (PopQuest News Fresh Feed)
   - remove unwanted borders on article featured media
   - hide inline comments box (we use floating CTA)
============================= */

/* 1) Remove any border around article featured image + byline area */
.pqn-article-media-wrap{border:none !important; box-shadow:none !important;}
.pqn-article-media-wrap .pqn-article-media{border:none !important;}
.pqn-article-media-wrap .pqn-article-img{border:none !important;}
.pqn-article-media-wrap .pqn-article-bybox{border:none !important;}

/* 2) Hide the embedded comments panel from pq-comments-drawer-reboot on article pages */
body.single-popquest_news_card #pq-cdr-inline,
body.single-popquest_news_card .pq-cdr-inline{display:none !important;}


/* v1.3.24: mobile font reliability + full-bleed media/byline on articles */
/* Force PQFranklin where expected (headline + kickers + byline elements) */
.pqn-editorial,
.pqn-news-kicker,
.pqn-title,
.pqn-article h1,
.pqn-bybox,
.pqn-bybox-byline,
.pqn-bybox-dates,
.pqn-source-btn,
.pqn-comments-pill,
.pqn-ellipsis {
  font-family:'PQFranklin','FranklinGothicHeavyItalic','Franklin Gothic Heavy Italic','Archivo Black',Arial Black,Arial,sans-serif !important;
  font-style: italic;
}

/* Improve mobile rendering */
.pqn-root, .pqn-article-root, .pqn-article { -webkit-font-smoothing: antialiased; text-rendering: geometricPrecision; }

/* Article: media + byline full-bleed on mobile */
@media (max-width: 520px){
  body.single-popquest_news_card .pqn-article-root{ padding-left:12px !important; padding-right:12px !important; }

  /* Featured media: true edge-to-edge on mobile, regardless of theme/container wrappers */
  body.single-popquest_news_card .pqn-article-media-wrap,
  body.single-popquest_news_card .pqn-bybox{
    width: 100vw !important;
    max-width: 100vw !important;
    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;
    border-radius: 0 !important;
  }

  body.single-popquest_news_card .pqn-article-media{
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    border-radius:0 !important;
    overflow: hidden !important;
  }
  body.single-popquest_news_card .pqn-media,
  body.single-popquest_news_card .pqn-media-wrap,
  body.single-popquest_news_card .pqn-img{
    border-radius:0 !important;
  }
  body.single-popquest_news_card .pqn-bybox{ text-align:center !important; }
  body.single-popquest_news_card .pqn-bybox-dates{ justify-content:center !important; }

  /* Keep the kicker + ellipsis fully visible */
  body.single-popquest_news_card .pqn-kickerbar{ padding-left:14px; padding-right:14px; }
  body.single-popquest_news_card .pqn-media-actions{ top:8px; right:10px; }

  /* Ensure no max-width centering constraints on mobile */
  body.single-popquest_news_card .pqn-media-wrap,
  body.single-popquest_news_card .pqn-media{ max-width:none !important; }
}

/* ===========================
   v1.3.25 mobile + typography fixes
=========================== */

/* Kicker bar overlay (black strip) for single article + feed cards */
.pqn-kickerbar{
  position:absolute;
  top:0; left:0; right:0;
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:10px 12px;
  background:#000;
  color:#fff;
  z-index:5;
  box-sizing:border-box;
}
.pqn-kickerbar .pqn-kicker{
  font-family:'PQFranklin', 'Archivo Black', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-weight:800;
  font-style:italic;
  text-transform:uppercase;
  letter-spacing:0.02em;
  font-size:18px;
  line-height:1;
  margin:0;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
  max-width:calc(100% - 56px);
}

/* Ensure image wrapper doesn't add borders/rounding */
.pqn-article-media{ border:none !important; border-radius:0 !important; box-shadow:none !important; overflow:hidden; position:relative; }
.pqn-article-media img{ display:block; width:100%; height:auto; border-radius:0 !important; }

/* Landscape feel (avoid giant portrait crop) */
.pqn-article-media img.pqn-img{ aspect-ratio:16/9; object-fit:cover; }

/* No gap between image and byline box */
.pqn-bybox{ margin-top:0 !important; border:none !important; border-top:0 !important; }
.pqn-bybox-inner{ border:none !important; }

/* ==========================
   v1.3.27: News article media tweaks
   - taller (still landscape) hero image on mobile + desktop
   - comments CTA styling/placement to match CSE index (top-left)
   - reaction emoji button (bottom-right)
   No other visual changes
========================== */

/* Make the hero image a touch taller while staying landscape */
body.single-popquest_news_card .pqn-article-media-wrap .pqn-media,
body.single-popquest_news_card .pqn-article-media-wrap .pqn-media-wrap,
body.single-popquest_news_card .pqn-article-media-wrap .pqn-media > img.pqn-img,
body.single-popquest_news_card .pqn-article-media img.pqn-img{
  aspect-ratio: 3 / 2 !important;
}

/* Comments CTA: top-left of picture (match CSE index placement) */
body.single-popquest_news_card .pqn-comments-pill{
  position: absolute;
  left: 14px;
  top: 14px; /* JS may nudge this down under the kicker strip */
  bottom: auto !important;
  z-index: 60;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(145,248,141,0.78);
  color: #0a0a0a;
  border: 1px solid rgba(0,0,0,0.12);
  border-radius: 999px !important;
  padding: 8px 10px !important;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 10px 22px rgba(0,0,0,0.12);
}
body.single-popquest_news_card .pqn-comments-pill:hover{ background: rgba(145,248,141,0.88); }
body.single-popquest_news_card .pqn-comments-pill:focus-visible{ outline: 2px solid #000; outline-offset: 2px; }

body.single-popquest_news_card .pqn-comments-icon{
  font-size: 16px;
  line-height: 1;
}
body.single-popquest_news_card .pqn-comments-count{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  padding: 0 7px;
  border-radius: 8px;
  background: rgba(255,255,255,0.92);
  border: 1px solid rgba(0,0,0,0.12);
  font-family: 'PQFranklin','FranklinGothicHeavyItalic','Franklin Gothic Heavy Italic',Arial Black,Arial,sans-serif !important;
  font-weight: 800;
  font-style: italic;
  text-transform: uppercase;
  font-size: 12px;
  line-height: 1;
}

/* Make the comments pill sit neatly in the corner */
body.single-popquest_news_card .pqn-comments-pill{
  position: absolute;
  left: 14px;
  top: 14px; /* JS may nudge this down under the kicker strip */
  bottom: auto !important;
  z-index: 60;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(145,248,141,0.78);
  color: #0a0a0a;
  border: 1px solid rgba(0,0,0,0.12);
  border-radius: 999px !important;
  padding: 8px 10px !important;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 10px 22px rgba(0,0,0,0.12);
}
body.single-popquest_news_card .pqn-comments-pill:hover{ background: rgba(145,248,141,0.88); }
body.single-popquest_news_card .pqn-comments-pill:focus-visible{ outline: 2px solid #000; outline-offset: 2px; }

body.single-popquest_news_card .pqn-comments-icon{
  font-size: 16px;
  line-height: 1;
}
body.single-popquest_news_card .pqn-comments-count{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  padding: 0 7px;
  border-radius: 8px;
  background: rgba(255,255,255,0.92);
  border: 1px solid rgba(0,0,0,0.12);
  font-family: 'PQFranklin','FranklinGothicHeavyItalic','Franklin Gothic Heavy Italic',Arial Black,Arial,sans-serif !important;
  font-weight: 800;
  font-style: italic;
  text-transform: uppercase;
  font-size: 12px;
  line-height: 1;
}

/* Reaction emoji: bottom-right of picture */
body.single-popquest_news_card .pqn-react-pill{
  position: absolute;
  right: 12px;
  bottom: 12px;
  z-index: 60;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,0.12);
  background: rgba(255,255,255,0.75);
  cursor: pointer;
  line-height: 1;
}
/* Reaction: toggled + micro-anim */
body.single-popquest_news_card .pqn-react-pill.is-reacted{
  box-shadow: 0 0 0 3px rgba(145,248,141,0.28);
  border-color: rgba(145,248,141,0.65);
}
@keyframes pqnReactBounce{
  0%{ transform: translateZ(0) scale(1); }
  40%{ transform: translateZ(0) scale(1.12); }
  100%{ transform: translateZ(0) scale(1); }
}
body.single-popquest_news_card .pqn-react-pill.is-bounce{ animation: pqnReactBounce 0.42s ease-out 1; }
body.single-popquest_news_card .pqn-react-pill:hover{ background: rgba(255,255,255,0.9); }
body.single-popquest_news_card .pqn-react-pill:focus-visible{ outline: 2px solid #000; outline-offset: 2px; }
body.single-popquest_news_card .pqn-react-emoji{ font-size: 18px; line-height: 1; }

/* Comments pill styling (scoped to News articles only) */
body.single-popquest_news_card .pqn-comments-pill{
  position: absolute;
  left: 14px;
  top: 14px; /* JS may nudge this down under the kicker strip */
  bottom: auto !important;
  z-index: 60;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(145,248,141,0.78);
  color: #0a0a0a;
  border: 1px solid rgba(0,0,0,0.12);
  border-radius: 999px !important;
  padding: 8px 10px !important;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 10px 22px rgba(0,0,0,0.12);
}
body.single-popquest_news_card .pqn-comments-pill:hover{ background: rgba(145,248,141,0.88); }
body.single-popquest_news_card .pqn-comments-pill:focus-visible{ outline: 2px solid #000; outline-offset: 2px; }

body.single-popquest_news_card .pqn-comments-icon{
  font-size: 16px;
  line-height: 1;
}
body.single-popquest_news_card .pqn-comments-count{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  padding: 0 7px;
  border-radius: 8px;
  background: rgba(255,255,255,0.92);
  border: 1px solid rgba(0,0,0,0.12);
  font-family: 'PQFranklin','FranklinGothicHeavyItalic','Franklin Gothic Heavy Italic',Arial Black,Arial,sans-serif !important;
  font-weight: 800;
  font-style: italic;
  text-transform: uppercase;
  font-size: 12px;
  line-height: 1;
}

body.single-popquest_news_card .pqn-comments-pill .pqn-comments-count{
  background: rgba(255,255,255,0.55) !important;
}
body.single-popquest_news_card .pqn-comments-pill:hover{ background: rgba(145,248,141,0.55) !important; }

/* Remove underlines from source button/link */
.pqn-source a{ text-decoration:none !important; }

/* ==========================
   CSE Top 10 (below article)
========================== */
body.single-popquest_news_card .pqn-cse-top10{ margin: 26px 0 10px; }
body.single-popquest_news_card .pqn-cse-top10__title{
  margin: 0 0 12px;
  font-family: 'PQFranklin','FranklinGothicHeavyItalic','Franklin Gothic Heavy Italic', Arial Black, Arial, sans-serif !important;
  font-weight: 800;
  font-style: italic;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  font-size: 18px;
  line-height: 1;
}
body.single-popquest_news_card .pqn-cse-top10__grid{
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}
body.single-popquest_news_card .pqn-cse-top10__card{
  display: block;
  text-decoration: none;
  color: #000;
}
body.single-popquest_news_card .pqn-cse-top10__media{
  position: relative;
  border: 1px solid #000;
  overflow: hidden;
}
body.single-popquest_news_card .pqn-cse-top10__img{
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}
body.single-popquest_news_card .pqn-cse-top10__img--placeholder{ background: #f2f2f2; }
body.single-popquest_news_card .pqn-cse-top10__rank{
  position: absolute;
  top: 8px;
  left: 8px;
  background: rgba(0,0,0,0.85);
  color: #fff;
  padding: 6px 8px;
  border-radius: 999px;
  font-family: 'PQFranklin','FranklinGothicHeavyItalic','Franklin Gothic Heavy Italic', Arial Black, Arial, sans-serif !important;
  font-weight: 800;
  font-style: italic;
  font-size: 12px;
  line-height: 1;
}

/* ==========================
   v1.3.36: Tabloid tweaks requested
   - News kicker back to BLACK
   - Comments pill sits below top kicker strip
   - Latest news: square images, hard separators (tabloid feel)
========================== */

/* Ensure article news strap is black + above pills */
body.single-popquest_news_card .pqn-article-media-wrap .pqn-news-kicker,
body.single-popquest_news_card .pqn-article-media-wrap .pqn-news-kicker--top{
  background: #000 !important;
  color: #fff !important;
  z-index: 80 !important;
}

/* Position pills so they NEVER overlap the top kicker strip */
body.single-popquest_news_card .pqn-article-media-wrap .pqn-comments-pill{
  left: 14px !important;
  top: 62px !important; /* below kicker strap */
  bottom: auto !important;
  z-index: 75 !important;
}
body.single-popquest_news_card .pqn-article-media-wrap .pqn-react-pill{
  right: 14px !important;
  bottom: 14px !important;
  z-index: 75 !important;
}

/* Latest news list: TABLOID styling */
body.single-popquest_news_card .pqn-latest-news{ margin: 26px 0 0; }
body.single-popquest_news_card .pqn-latest-news__title{
  margin: 0 0 12px;
  font-family: 'PQFranklin','FranklinGothicHeavyItalic','Franklin Gothic Heavy Italic', Arial Black, Arial, sans-serif !important;
  font-weight: 800;
  font-style: italic;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  font-size: 18px;
  line-height: 1;
}
body.single-popquest_news_card .pqn-latest-news__list{ border-top: 2px solid #000; }
body.single-popquest_news_card .pqn-latest-news__item{
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 18px;
  padding: 22px 0;
  border-bottom: 2px solid #000; /* hard separator */
  text-decoration: none;
  color: #000;
  position: relative;
}

/* Latest news wrapper/link split (avoid nested <a>) */
.pqn-latest-news__item{ position:relative; }
.pqn-latest-news__link{ display: contents; color: inherit; text-decoration:none; }
.pqn-latest-news__item.has-kicker .pqn-comments-pill{ top:46px; }

body.single-popquest_news_card .pqn-latest-news__media{ position: relative; }
body.single-popquest_news_card .pqn-latest-news__img{
  width: 100%;
  height: 180px;
  object-fit: cover;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 0 !important;
  display: block;
  border: 1px solid #000;
}
body.single-popquest_news_card .pqn-latest-news__img--placeholder{ height: 180px; border: 1px solid #000; background: #f2f2f2; }
body.single-popquest_news_card .pqn-latest-news__kicker{
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  bottom: auto;
  z-index: 3;
  background: #000;
  color: #fff;
  padding: 10px 14px;
  border-radius: 0;
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-family: "PQFranklin","FranklinGothicHeavyItalic","Franklin Gothic Heavy Italic", Arial Black, Arial, sans-serif !important;
  font-weight: 800;
  font-style: italic;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  font-size: 12px;
}
body.single-popquest_news_card .pqn-latest-news__headline{
  font-family: 'PQFranklin','FranklinGothicHeavyItalic','Franklin Gothic Heavy Italic', Arial Black, Arial, sans-serif !important;
  font-weight: 800;
  font-style: italic;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  font-size: 28px;
  line-height: 1.08;
  margin: 0 0 10px;
}
body.single-popquest_news_card .pqn-latest-news__summary{
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.45;
  font-weight: 500;
  opacity: 0.95;
}

@media (max-width: 768px){
  body.single-popquest_news_card .pqn-latest-news__item{ grid-template-columns: 1fr; }
  body.single-popquest_news_card .pqn-latest-news__img,
  body.single-popquest_news_card .pqn-latest-news__img--placeholder{ height: 220px; }
}
body.single-popquest_news_card .pqn-cse-top10__meta{ padding: 8px 0 0; }
body.single-popquest_news_card .pqn-cse-top10__name{
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-size: 14px;
  line-height: 1.2;
  font-weight: 600;
  margin: 0 0 6px;
}
body.single-popquest_news_card .pqn-cse-top10__line{
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-size: 12px;
  line-height: 1;
}
body.single-popquest_news_card .pqn-cse-top10__ticker{
  font-family: 'PQFranklin','FranklinGothicHeavyItalic','Franklin Gothic Heavy Italic', Arial Black, Arial, sans-serif !important;
  font-weight: 800;
  font-style: italic;
  text-transform: uppercase;
}
body.single-popquest_news_card .pqn-cse-top10__price{ opacity: 0.9; }

@media (max-width: 900px){
  /* Tablet/Mobile: show all 10 (scroll)
     Force horizontal rail on article pages even if other CSS tries to pin a 5-col grid. */
  body.single-popquest_news_card .pqn-cse-top10__grid{
    display: grid !important;
    grid-auto-flow: column !important;
    grid-auto-columns: 140px !important;
    grid-template-columns: none !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    max-height: none !important;
    -webkit-overflow-scrolling: touch;
    gap: 12px;
    padding-bottom: 6px;
    scroll-snap-type: x mandatory;
  }
  body.single-popquest_news_card .pqn-cse-top10__card{ scroll-snap-align: start; }
  body.single-popquest_news_card .pqn-cse-top10__grid::-webkit-scrollbar{ display: none; }
}
  body.single-popquest_news_card .pqn-cse-top10__card{ scroll-snap-align: start; }
  body.single-popquest_news_card .pqn-cse-top10__grid::-webkit-scrollbar{ display: none; }
}



/* ===== CSE Top 10 theme (desktop only) ===== */
@media (min-width: 900px){
  /*
    Desktop centering fix:
    Avoid 100vw breakout on the section itself (can drift right when scrollbars exist).
    Instead, keep the section in normal flow and paint a full-bleed background via ::before.
  */
  .pqn-cse-top10{
    position: relative;
    width: 100%;
    /* Full-bleed black without 100vw overflow (prevents right-drift) */
    background: #000;
    box-shadow: 0 0 0 100vmax #000;
    clip-path: inset(0 -100vmax);
    color: #fff;
    padding: 34px 0;
  }
  .pqn-cse-top10__title{
    color: #fff;
    max-width: 1100px;
    margin: 0 auto 18px auto;
    padding: 0 22px;
  }
  .pqn-cse-top10__grid{
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 22px;
  }
  .pqn-cse-top10__card{
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.10);
  }
  .pqn-cse-top10__name,
  .pqn-cse-top10__ticker,
  .pqn-cse-top10__price{ color: #fff; }
  .pqn-cse-top10__rank{
    color: #0a0a0a;
    background: #91F88D;
    box-shadow: 0 0 18px rgba(145,248,141,0.45);
  }
}

/* ===== Latest news list ===== */
.pqn-latest-news{
  margin-top: 26px;
}
.pqn-latest-news__title{
  font-family: "PQFranklin", "PQ Franklin", "FranklinGothicHeavyItalic", "Franklin Gothic Heavy Italic", Inter, Arial Black, Arial, sans-serif;
  font-weight: 900;
  letter-spacing: .04em;
  text-transform: uppercase;
  font-size: 16px;
  margin: 0 0 14px 0;
}
.pqn-latest-news__list{
  display: grid;
  gap: 14px;
}
.pqn-latest-news__item{
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 14px;
  text-decoration: none;
  color: inherit;
}
.pqn-latest-news__media{
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  background: #f3f3f3;
}
.pqn-latest-news__img{
  width: 100%;
  height: 110px;
  object-fit: cover;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: block;
}
.pqn-latest-news__img--placeholder{ height: 110px; }
.pqn-latest-news__kicker{
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  background: #000;
  color: #fff;
  padding: 10px 12px;
  font-family: 'PQFranklin','FranklinGothicHeavyItalic','Franklin Gothic Heavy Italic',Arial Black,Arial,sans-serif !important;
  font-weight: 800;
  font-style: italic;
  text-transform: uppercase;
  font-size: 14px;
  letter-spacing: .03em;
}
.pqn-latest-news__headline{
  font-family: "PQFranklin", "PQ Franklin", Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-weight: 800;
  font-style: italic;
  text-transform: uppercase;
  letter-spacing: .02em;
  margin: 2px 0 6px 0;
}
.pqn-latest-news__summary{
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  opacity: .85;
  font-size: 14px;
  line-height: 1.35;
}
@media (max-width: 720px){
  .pqn-latest-news__item{
    grid-template-columns: 1fr;
  }
  .pqn-latest-news__img,
  .pqn-latest-news__img--placeholder{
    height: 180px;
  }
}

/* ==========================
   v1.3.32: CTA + reaction parity
========================== */

/* Let overlay buttons always win clicks */
body.single-popquest_news_card .pqn-media > img.pqn-img{ pointer-events: none; }

/* Final: comments pill matches CSE index vibe */
body.single-popquest_news_card .pqn-comments-pill{
  background: rgba(145,248,141,0.28) !important;
  border: 1px solid rgba(145,248,141,0.55) !important;
  box-shadow: 0 8px 18px rgba(145,248,141,0.18) !important;
}
body.single-popquest_news_card .pqn-comments-pill:hover{ background: rgba(145,248,141,0.38) !important; }
body.single-popquest_news_card .pqn-comments-pill .pqn-comments-count{
  background: rgba(0,0,0,0.70) !important;
  color: #fff !important;
  border-radius: 999px !important;
  border: 1px solid rgba(255,255,255,0.10) !important;
}

/* Final: reaction button glow matches CSE palette */
body.single-popquest_news_card .pqn-react-pill.is-reacted{
  box-shadow: 0 0 0 3px rgba(145,248,141,0.28), 0 0 20px rgba(145,248,141,0.25) !important;
  border-color: rgba(145,248,141,0.65) !important;
}

/* ==========================
   v1.3.36: Tabloid latest list + kicker fix
========================== */

/* Article kicker strap back to BLACK (some older rules set it green) */
body.single-popquest_news_card .pqn-news-kicker,
body.single-popquest_news_card .pqn-article-media-wrap .pqn-news-kicker{
  background: #000 !important;
  color: #fff !important;
  z-index: 70 !important;
}

/* Comments CTA: keep top-left but below the strap so it never overlays it */
body.single-popquest_news_card .pqn-comments-pill{
  top: 58px !important; /* sits just under the top strap */
  left: 14px !important;
}

/* Reaction: bottom-right stays clean */
body.single-popquest_news_card .pqn-react-pill{
  right: 14px !important;
  bottom: 14px !important;
}

/* Latest articles: TABLOID separators, no rounded images */
body.single-popquest_news_card .pqn-latest-news{
  margin-top: 18px;
}
body.single-popquest_news_card .pqn-latest-news__title{
  font-family: 'PQFranklin','FranklinGothicHeavyItalic','Franklin Gothic Heavy Italic', Arial Black, Arial, sans-serif !important;
  font-weight: 800;
  font-style: italic;
  text-transform: uppercase;
  letter-spacing: .02em;
}
body.single-popquest_news_card .pqn-latest-news__list{
  border-top: 2px solid #000;
}
body.single-popquest_news_card .pqn-latest-news__item{
  border-bottom: 2px solid #000;
  padding: 18px 0 !important;
}
body.single-popquest_news_card .pqn-latest-news__media{
  border-radius: 0 !important;
  border: 1px solid #000;
}
body.single-popquest_news_card .pqn-latest-news__img{
  border-radius: 0 !important;
}

body.single-popquest_news_card .pqn-latest-news__headline{
  font-size: 22px;
  line-height: 1.08;
}
body.single-popquest_news_card .pqn-latest-news__summary{
  font-weight: 500;
}

/* Force placeholder grey (avoid green boxes when images missing) */
body.single-popquest_news_card .pqn-latest-news__img--placeholder{background:#f2f2f2 !important;}
body.single-popquest_news_card .pqn-latest-news__media{background:#f2f2f2;}




/* === Fix: kicker should overlay image, not cover it === */
.pqn-latest-news__media{ position: relative; }
.pqn-latest-news__media .pqn-latest-news__kicker{
  position:absolute;
  left:10px;
  top:10px;
  right:auto;
  bottom:auto;
  z-index:3;
  display:inline-block;
  width:auto;
  height:auto;
  max-width: calc(100% - 20px);
  background:#91F88D;
  color:#000;
  padding: 8px 12px;
  border-radius:999px;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.pqn-latest-news__media .pqn-latest-news__img{ position: relative; z-index:1; }


/* === PQN: kill inline-image baseline gap in Latest Articles === */
.pqn-latest-news__media img{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
}
.pqn-latest-news__media{line-height:0;}



/* ==========================
   v1.3.50: Latest Articles thumbnails – remove grey under-boxes
   (Keeps layout; only removes the faint grey strip/box under images.)
========================== */
body.single-popquest_news_card .pqn-latest-news__media{
  background: transparent !important;
  box-shadow: none !important;
  border: none !important;
}
body.single-popquest_news_card .pqn-latest-news__img,
body.single-popquest_news_card .pqn-latest-news__media img{
  display: block !important;
  width: 100% !important;
  height: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  vertical-align: top !important;
}
/* Keep a neutral placeholder when no image exists */
body.single-popquest_news_card .pqn-latest-news__img--placeholder{
  background: #f2f2f2 !important;
  display: block !important;
}



/* ==========================
   v1.3.52: Latest Articles image sizing (force consistent landscape)
   ========================== */
body.single-popquest_news_card .pqn-latest-news{ --pqn-latest-img-h: 180px; }
@media (max-width: 900px){
  body.single-popquest_news_card .pqn-latest-news{ --pqn-latest-img-h: 220px; }
}
body.single-popquest_news_card .pqn-latest-news__media{
  width: 100%;
  height: var(--pqn-latest-img-h) !important;
  overflow: hidden !important;
  position: relative;
}
body.single-popquest_news_card .pqn-latest-news__media img.pqn-latest-news__img{
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
}
body.single-popquest_news_card .pqn-latest-news__media .pqn-latest-news__img--placeholder{
  width: 100% !important;
  height: 100% !important;
  display: block !important;
}




/* =========================================
   INDEX FEED: TABLOID LAYOUT + CONTROL PANEL
========================================= */

.pqn-root.pqn-index{
  max-width: 960px;
  margin: 0 auto;
  padding: 14px 16px 34px;
}

/* Tabs default: inline */
.pqn-root.pqn-index .pqn-tabs{
  display:flex;
  gap:10px;
  justify-content:flex-end;
  margin: 6px 0 10px;
}
.pqn-root.pqn-index .pqn-tab{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  height: 38px;
  padding: 0 14px;
  border: 2px solid #000;
  border-radius: 999px;
  text-decoration:none;
  color:#000;
  font-family: 'PQFranklin','FranklinGothicHeavyItalic','Franklin Gothic Heavy Italic', Arial Black, Arial, sans-serif;
  font-weight:800;
  font-style:italic;
  letter-spacing: .02em;
  text-transform: uppercase;
  background:#fff;
}
.pqn-root.pqn-index .pqn-tab.is-active{
  background:#91F88D;
}

/* Desktop: fixed side panels (HELLO left, FILTER PILLS right) + centered main content */
@media (min-width: 1320px){
  /* Keep main content the SAME width as before; place fixed panels in the side gutters (no squish, no overlap) */
  .pqn-root.pqn-index{
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
  }

  .pqn-root.pqn-index{
    --pqn-content-w: 760px;
    --pqn-left-panel-w: 260px;
    --pqn-right-panel-w: 160px;
    --pqn-gutter: 20px;
  }

  /* Keep ALL/FOR YOU/PROFILE panel fixed on the right (same styling), but positioned OUTSIDE the centred content */
  .pqn-root.pqn-index .pqn-tabs{
    position: fixed;
    right: max(var(--pqn-gutter), calc((100vw - var(--pqn-content-w))/2 - var(--pqn-right-panel-w) - var(--pqn-gutter)));
    top: 160px;
    z-index: 50;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    gap: 10px;
    padding: 12px;
    border: 2px solid #000;
    border-radius: 18px;
    background: #fff;
  }
  body.admin-bar .pqn-root.pqn-index .pqn-tabs{ top: 206px; }
  .pqn-root.pqn-index .pqn-tab{ width: 120px; }

  /* Hello box: fixed left, opposite the pills; also placed outside the centred content */
  .pqn-root.pqn-index .pqn-hello-row{
    position: fixed;
    left: max(var(--pqn-gutter), calc((100vw - var(--pqn-content-w))/2 - var(--pqn-left-panel-w) - var(--pqn-gutter)));
    top: 160px;
    z-index: 50;
    margin: 0;
    width: 260px;
    max-width: 260px;
  }
  body.admin-bar .pqn-root.pqn-index .pqn-hello-row{ top: 206px; }
  .pqn-root.pqn-index .pqn-hello-row .pqn-cse-mini{
    width: 100%;
    max-width: 100%;
  }
}



/* Use the SAME "Latest articles" styling on index as article pages */
.pqn-root.pqn-index .pqn-latest-news{ margin: 18px 0 0; }
.pqn-root.pqn-index .pqn-latest-news__title{
  margin: 0 0 12px;
  font-family: 'PQFranklin','FranklinGothicHeavyItalic','Franklin Gothic Heavy Italic', Arial Black, Arial, sans-serif !important;
  font-weight: 800;
  font-style: italic;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  font-size: 18px;
  line-height: 1;
  color:#000;
}
.pqn-root.pqn-index .pqn-latest-news__list{ border-top: 2px solid #000; }
.pqn-root.pqn-index .pqn-latest-news__item{
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 18px;
  padding: 22px 0;
  border-bottom: 2px solid #000;
  text-decoration: none;
  color: #000;
}
.pqn-root.pqn-index .pqn-latest-news__media{ position: relative; border-radius:0 !important; overflow: visible; background: transparent; }

/* Homepage/feed: comments CTA should sit top-left on the picture (JS nudges it down if a kicker is present). */
.pqn-root.pqn-index .pqn-latest-news__media .pqn-comments-pill{
  top:12px;
  bottom:auto;
  left:12px;
}
.pqn-root.pqn-index .pqn-latest-news__img{
  width: 100%;
  aspect-ratio: 1 / 1;
  height: auto;
  object-fit: cover;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 0 !important;
  display: block;
  border: 1px solid #000;
}
.pqn-root.pqn-index .pqn-latest-news__img--placeholder{ aspect-ratio: 1 / 1; height: auto; border: 1px solid #000; background: #f2f2f2; }
.pqn-root.pqn-index .pqn-latest-news__kicker{
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  z-index: 3;
  background: #000;
  color: #fff;
  padding: 10px 12px;
  border-radius: 0;
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-family: 'PQFranklin','FranklinGothicHeavyItalic','Franklin Gothic Heavy Italic', Arial Black, Arial, sans-serif !important;
  font-weight: 800;
  font-style: italic;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  font-size: 14px;
  border: 0;
}
.pqn-root.pqn-index .pqn-latest-news__headline{
  font-family: 'PQFranklin','FranklinGothicHeavyItalic','Franklin Gothic Heavy Italic', Arial Black, Arial, sans-serif !important;
  font-weight: 800;
  font-style: italic;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  font-size: 22px;
  line-height: 1.05;
  margin: 0 0 10px;
}
.pqn-root.pqn-index .pqn-latest-news__summary{
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-size: 16px;
  line-height: 23px;
}

/* External-link badge (only on cards configured to link to source) */
.pqn-root.pqn-index .pqn-latest-news__source{
  margin-top: 8px;
  font-family: 'PQFranklin','FranklinGothicHeavyItalic','Franklin Gothic Heavy Italic',Arial Black,Arial,sans-serif !important;
  font-weight: 800;
  font-style: italic;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  font-size: 13px;
  line-height: 1;
  opacity: 0.85;
}
.pqn-root.pqn-index .pqn-external-mark{ font-size: 14px; }

@media (max-width: 820px){
  .pqn-root.pqn-index .pqn-latest-news__item{
    grid-template-columns: 1fr;
  }
  .pqn-root.pqn-index .pqn-latest-news__img{ aspect-ratio: 1 / 1; height: auto; }
}

/* Feed inserts (ad/game slots) */
.pqn-feed-insert{
  border-bottom: 2px solid #000;
  padding: 18px 0;
}
.pqn-feed-insert > *:first-child{ margin-top: 0 !important; }
.pqn-feed-insert > *:last-child{ margin-bottom: 0 !important; }

/* =========================================
   INDEX: CSE TOP 10 CAROUSEL
========================================= */
.pqn-cse-carousel{ margin: 10px 0 18px; }
.pqn-cse-carousel__title{
  margin: 0 0 12px;
  font-family: 'PQFranklin','FranklinGothicHeavyItalic','Franklin Gothic Heavy Italic', Arial Black, Arial, sans-serif !important;
  font-weight: 800;
  font-style: italic;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  font-size: 18px;
  line-height: 1;
  color:#000;
}
.pqn-cse-carousel__track{
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 240px;
  gap: 14px;
  overflow-x: auto;
  padding-bottom: 10px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  border-top: 2px solid #000;
  border-bottom: 2px solid #000;
  padding-top: 16px;
  padding-bottom: 16px;
}
.pqn-cse-carousel__card{
  scroll-snap-align: start;
  text-decoration:none;
  color:#000;
  border: 1px solid #000;
  background:#fff;
  padding: 10px;
  display:block;
}
.pqn-cse-carousel__media{ position:relative; }
.pqn-cse-carousel__img{
  width:100%;
  height: 140px;
  object-fit: cover;
  display:block;
  border: 1px solid #000;
}
.pqn-cse-carousel__img--placeholder{ background:#f2f2f2; }
.pqn-cse-carousel__rank{
  position:absolute;
  left: 10px;
  top: 10px;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background:#91F88D;
  border: 1px solid rgba(0,0,0,.35);
  display:flex;
  align-items:center;
  justify-content:center;
  font-family: 'PQFranklin','FranklinGothicHeavyItalic','Franklin Gothic Heavy Italic', Arial Black, Arial, sans-serif !important;
  font-weight: 800;
  font-style: italic;
}
.pqn-cse-carousel__meta{ padding-top: 10px; }
.pqn-cse-carousel__name{
  font-family: 'PQFranklin','FranklinGothicHeavyItalic','Franklin Gothic Heavy Italic', Arial Black, Arial, sans-serif !important;
  font-weight:800;
  font-style: italic;
  text-transform: uppercase;
  font-size: 16px;
  line-height: 1.1;
  margin-bottom: 6px;
}
.pqn-cse-carousel__line{
  display:flex;
  gap: 10px;
  align-items:center;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-size: 14px;
  line-height: 1.3;
}
.pqn-cse-carousel__ticker{
  font-weight: 700;
}


/* Feed inserts: iframe sandbox (prevents embedded shortcodes from breaking the feed) */
.pqn-feed-insert--iframe{margin:24px 0;}
.pqn-embed-frame{width:100%;border:0;background:transparent;}
.pqn-embed-iframe{width:100%;border:0;display:block;min-height:540px;height: min(78vh, 860px);max-height: 900px;background:#fff;}
@media (max-width: 720px){.pqn-embed-iframe{min-height:520px;height:min(80vh, 760px);}}

.pqn-editorial--feed{ margin: 0 0 8px; }

/* Desktop headline bump */
@media (min-width: 900px){
  .pqn-latest-news__headline{ font-size: 32px; line-height: 1.06; }
}


/* Logged-in greeting: CSE summary box (index only) */
.pqn-hello{
  font-family: PQFRANKLIN, FranklinGothicHeavyItalic, 'Archivo Black', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color:#000;
}
.pqn-cse-box{
  margin: 10px 0 14px;
  width: 100%;
  max-width: 360px;
  background: #fff;
  border: 2px solid rgba(0,0,0,0.14);
  border-radius: 14px;
  padding: 12px 14px;
  box-shadow: 0 10px 30px rgba(145,248,141,0.18);
  color:#000;
  font-family: PQFRANKLIN, FranklinGothicHeavyItalic, Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  text-transform: uppercase;
}
.pqn-cse-box__title{
  font-weight: 900;
  letter-spacing: .08em;
  font-size: 12px;
  margin: 0 0 8px;
}
.pqn-cse-box__row{
  display:flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  padding: 6px 0;
  border-top: 1px solid rgba(0,0,0,0.08);
}
.pqn-cse-box__row:first-of-type{ border-top: 0; }
.pqn-cse-box__row span{
  opacity: .65;
  font-size: 12px;
  letter-spacing: .08em;
}
.pqn-cse-box__row strong{
  font-weight: 900;
  font-size: 14px;
}
.pqn-cse-box__top{
  max-width: 220px;
  overflow:hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
@media (max-width: 520px){
  .pqn-cse-box{ max-width: 100%; }
}


/* ===== CSE mini box (homepage greeting) ===== */
.pqn-cse-mini{
  max-width: 420px; /* a touch wider than before, still compact */
}
.pqn-cse-mini__title{
  font-weight: 900;
  letter-spacing: .08em;
  font-size: 12px;
  margin: 0 0 10px;
}
.pqn-cse-mini__grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  align-items:start;
}
.pqn-cse-mini__label{
  opacity:.65;
  font-size: 12px;
  letter-spacing: .08em;
  margin: 0 0 6px;
}
.pqn-cse-mini__value{
  font-weight: 900;
  font-size: 22px;
  line-height: 1.05;
  margin: 0;
  color:#000;
}
.pqn-cse-mini__name{
  font-size: 20px;
}
.pqn-cse-mini__pts-suffix{
  font-size: 16px;
  opacity:.65;
  font-weight: 900;
}
.pqn-cse-mini__sub{
  margin-top: 6px;
}
.pqn-cse-mini__gain{
  display:inline-block;
  font-weight: 900;
  font-size: 18px;
  line-height: 1;
  color:#000;
}
@media (max-width: 480px){
  .pqn-cse-mini{ max-width: 100%; }
  .pqn-cse-mini__grid{ grid-template-columns: 1fr; gap: 12px; }
  .pqn-cse-mini__value{ font-size: 20px; }
  .pqn-cse-mini__name{ font-size: 18px; }
}



/* ======================
   HELLO + CSE MINI (logged-in)
====================== */
.pqn-hello-row{display:flex;align-items:flex-start;justify-content:flex-start;gap:16px;flex-wrap:wrap;margin:0 0 16px;}
.pqn-hello-row .pqn-cse-mini{max-width:520px;}

.pqn-cse-mini{
  display:inline-block;
  background:#fff;
  border:2px solid #111;
  border-radius:14px;
  padding:14px 16px;
  max-width: 520px;
  box-shadow: none;
}

.pqn-cse-mini__hello{
  font-family: 'PQFRANKLIN', 'FranklinGothicHeavyItalic', 'Archivo Black', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-style: italic;
  font-weight: 800;
  letter-spacing: .02em;
  text-transform: uppercase;
  color:#000;
  font-size: 20px;
  line-height: 1.05;
  margin: 0 0 10px;
}

.pqn-cse-mini__kicker{
  font-family: 'PQFRANKLIN', 'FranklinGothicHeavyItalic', 'Archivo Black', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-style: italic;
  font-weight: 800;
  letter-spacing: .10em;
  text-transform: uppercase;
  color:#000;
  font-size: 11px;
  margin: 0 0 8px;
}

.pqn-cse-grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:16px;
  align-items: start;
}

.pqn-cse-label{
  font-family: 'PQFRANKLIN', 'FranklinGothicHeavyItalic', 'Archivo Black', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-style: italic;
  font-weight: 800;
  letter-spacing: .10em;
  text-transform: uppercase;
  color:#000;
  font-size: 10px;
  margin: 0 0 6px;
  opacity: .75;
}

.pqn-cse-value{
  font-family: 'PQFRANKLIN', 'FranklinGothicHeavyItalic', 'Archivo Black', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-style: italic;
  font-weight: 800;
  text-transform: uppercase;
  color:#000;
  font-size: 20px;
  line-height: 1.05;
  margin: 0 0 6px;
}

.pqn-cse-sub{
  font-family: 'PQFRANKLIN', 'FranklinGothicHeavyItalic', 'Archivo Black', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-style: italic;
  font-weight: 800;
  text-transform: uppercase;
  color:#000;
  font-size: 16px;
  line-height: 1.05;
}

.pqn-cse-pts{
  font-size: 16px;
  opacity: .8;
}

@media (max-width: 720px){
  .pqn-cse-mini{ width: 100%; max-width: 100%; }
  .pqn-cse-grid{ grid-template-columns: 1fr; gap: 12px; }
  .pqn-cse-mini__hello{ font-size: 18px; }
  .pqn-cse-value{ font-size: 18px; }
}


/* v1.3.80: ensure the "..." actions sit inside the top black kicker bar on article hero */
body.single-popquest_news_card .pqn-media-actions.pqn-media-actions--in-kicker{
  position:absolute !important;
  top:50% !important;
  right:10px !important;
  transform: translateY(-50%) !important;
  z-index: 999 !important;
}
body.single-popquest_news_card .pqn-media-actions.pqn-media-actions--in-kicker .pqn-ellipsis{
  background: transparent !important;
  color: #fff !important;
  padding: 6px 8px !important;
  border-radius: 999px !important;
  font-size: 18px !important;
  line-height: 1 !important;
}
body.single-popquest_news_card .pqn-media-actions.pqn-media-actions--in-kicker .pqn-menu{
  top: calc(100% + 8px) !important;
  right: 0 !important;
}


/* v1.3.80: dismiss payoff transition */
.pqn-card{ transition: opacity 200ms ease, transform 200ms ease; }
.pqn-card.pqn-card--removing{ opacity:0 !important; transform: translateY(8px) scale(.99) !important; }


/* ==========================
   v1.3.76: Comments CTA matches screenshot (green outline pill + icon bubble + dark count)
   - Feed CTA links to article; article CTA can still open drawer.
========================== */

.pqn-comments-pill{
  display: inline-flex !important;
  align-items: center !important;
  gap: 10px !important;
  padding: 7px 10px !important;
  border-radius: 999px !important;
  border: 2px solid rgba(145,248,141,0.85) !important;
  background: rgba(145,248,141,0.10) !important;
  box-shadow: 0 0 0 0 rgba(145,248,141,0.35) !important;
  text-decoration: none !important;
  cursor: pointer;
  animation: pqnPillPulse 1.8s ease-out infinite;
}

@keyframes pqnPillPulse{
  0%{ box-shadow: 0 0 0 0 rgba(145,248,141,0.40); }
  65%{ box-shadow: 0 0 0 16px rgba(145,248,141,0.00); }
  100%{ box-shadow: 0 0 0 0 rgba(145,248,141,0.00); }
}

.pqn-comments-pill:hover{
  background: rgba(145,248,141,0.16) !important;
}

.pqn-comments-pill:focus-visible{
  outline: 2px solid #000 !important;
  outline-offset: 2px !important;
}

.pqn-comments-pill .pqn-comments-icon{
  width: 26px !important;
  height: 26px !important;
  border-radius: 999px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: rgba(255,255,255,0.70) !important;
}

.pqn-comments-pill .pqn-comments-icon svg{
  width: 16px !important;
  height: 16px !important;
  fill: #4A90E2 !important; /* subtle blue like the screenshot */
}

.pqn-comments-pill .pqn-comments-count{
  width: 30px !important;
  height: 30px !important;
  min-width: 30px !important;
  border-radius: 999px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: rgba(0,0,0,0.72) !important;
  color: #fff !important;
  border: 1px solid rgba(255,255,255,0.10) !important;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif !important;
  font-weight: 700 !important;
  font-size: 14px !important;
  line-height: 1 !important;
}

/* On very small screens, keep it compact */
@media (max-width: 420px){
  .pqn-comments-pill{ padding: 6px 9px !important; gap: 9px !important; }
  .pqn-comments-pill .pqn-comments-count{ width: 28px !important; height: 28px !important; min-width: 28px !important; }
  .pqn-comments-pill .pqn-comments-icon{ width: 24px !important; height: 24px !important; }
}


/* =========================================================
   PQN HOTFIX: Ensure homepage comments pill never stretches
   (Some themes set anchors to height:100% / display:block)
   ========================================================= */
.pqn-comments-pill{
  display: inline-flex !important;
  width: auto !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  right: auto !important;
  bottom: auto !important;
  align-items: center !important;
  justify-content: center !important;
  box-sizing: border-box !important;
}
/* The pulse ring should hug the pill, not the image */
.pqn-comments-pill::after{
  inset: -4px !important;
  border-radius: 999px !important;
}




/* =========================================================
   v1.3.83 — Homepage comments CTA final placement + spacing
   - Pill sits BELOW the kicker bar (never overlaps)
   - Medium size (not tiny)
   - Subtle pulse ring (hug the pill only)
   - Defends against theme-wide <a> rules (display:block/height:100%)
   - Mobile text padding for kicker/headline/summary (image unchanged)
   ========================================================= */

/* Defensive reset: never allow the CTA to stretch */
.pqn-latest-news__item .pqn-comments-pill{
  position: absolute !important;
  left: 10px !important;
  top: 10px !important;
  right: auto !important;
  bottom: auto !important;
  z-index: 60 !important;

  display: inline-flex !important;
  width: auto !important;
  height: auto !important;
  max-width: calc(100% - 20px) !important;
  min-height: 0 !important;
  max-height: none !important;

  align-items: center !important;
  justify-content: center !important;
  gap: 7px !important;

  padding: 6px 10px !important;
  border-width: 2px !important;
  border-radius: 999px !important;

  font-size: 12px !important;
  line-height: 1 !important;

  box-sizing: border-box !important;
}

/* Kicker present: push the pill safely below the black bar (allows for wrapping / larger fonts) */
.pqn-latest-news__item.has-kicker .pqn-comments-pill{
  top: 52px !important; /* deliberately generous to avoid overlap */
}

/* Icon + count sizing */
.pqn-latest-news__item .pqn-comments-pill .pqn-comments-icon{
  width: 14px !important;
  height: 14px !important;
}
.pqn-latest-news__item .pqn-comments-pill .pqn-comments-icon svg{
  width: 14px !important;
  height: 14px !important;
}
.pqn-latest-news__item .pqn-comments-pill .pqn-comments-count{
  min-width: 22px !important;
  height: 18px !important;
  padding: 0 7px !important;
  font-size: 11px !important;
  line-height: 18px !important;
}

/* Pulse ring hugs the pill only */
.pqn-latest-news__item .pqn-comments-pill::after{
  inset: -4px !important;
  border-width: 2px !important;
  border-radius: 999px !important;
  animation: pqnPillPulseMed 1.65s ease-out infinite !important;
}

@keyframes pqnPillPulseMed{
  0%{ opacity:0.55; transform:scale(0.98); }
  70%{ opacity:0; transform:scale(1.14); }
  100%{ opacity:0; transform:scale(1.14); }
}

/* Mobile: nudge text in from the edge slightly (kicker/headline/summary only) */
@media (max-width: 768px){
  .pqn-latest-news__text{
    padding-left: 16px !important;
    padding-right: 16px !important;
  }
}



/* ===== Single-article comments CTA (glowing green pill) ===== */
.pqn-article .pqn-comments-pill{
  border: none;
  background: #91F88D;
  box-shadow: 0 0 0 2px rgba(145,248,141,0.35), 0 0 18px rgba(145,248,141,0.45);
  padding: 8px 12px;
  gap: 8px;
}

.pqn-article .pqn-comments-pill .pqn-comments-icon svg{
  fill:#fff;
}

.pqn-article .pqn-comments-pill .pqn-comments-count{
  background:#000;
  color:#91F88D;
  min-width: 24px;
  height: 22px;
  padding: 0 7px;
  font-size: 12px;
}

/* headline row */
.pqn-title-row{
  display:flex;
  align-items:flex-start;
  gap: 10px;
}
.pqn-comments-pill--headline{
  position: relative !important;
  left: auto !important;
  top: auto !important;
  z-index: 1;
  margin-top: 2px;
}
.pqn-comments-pill--headline::after{
  inset: -6px;
}

/* pulse for single article (tight ring) */
.pqn-article .pqn-comments-pill::after{
  content:'';
  position:absolute;
  inset:-6px;
  border-radius:999px;
  border:2px solid rgba(145,248,141,0.9);
  opacity:0;
  pointer-events:none;
  animation:pqnPulseTight 2.6s infinite;
}
@keyframes pqnPulseTight{
  0%{opacity:.55; transform:scale(1);}
  70%{opacity:0; transform:scale(1.18);}
  100%{opacity:0; transform:scale(1.18);}
}


/* v1.3.86: Homepage comments CTA matches article pill (smaller) */
.pqn-root.pqn-index .pqn-comments-pill{
  border: none !important;
  background: #91F88D !important;
  box-shadow: 0 0 0 2px rgba(145,248,141,0.35), 0 0 18px rgba(145,248,141,0.45) !important;
  padding: 6px 10px !important;
  gap: 6px !important;
  font-size: 13px !important;
  line-height: 1 !important;
}

/* White speech bubble */
.pqn-root.pqn-index .pqn-comments-pill .pqn-comments-icon svg{
  fill: #fff !important;
}

/* Black counter with green number */
.pqn-root.pqn-index .pqn-comments-pill .pqn-comments-count{
  background: #000 !important;
  color: #91F88D !important;
  min-width: 22px !important;
  height: 20px !important;
  padding: 0 6px !important;
  font-size: 11px !important;
}

/* Subtle pulse ring (hug the pill only) */
.pqn-root.pqn-index .pqn-comments-pill::after{
  content: "" !important;
  position: absolute !important;
  inset: -4px !important;
  border-radius: 999px !important;
  border: 2px solid rgba(145,248,141,0.55) !important;
  opacity: 0 !important;
  transform: scale(0.95) !important;
  pointer-events: none !important;
  animation: pqnPillPulse 1.35s ease-out infinite !important;
}



/* MOBILE VISIBILITY OVERRIDES: ensure CSE Top 10 + Latest headlines render on mobile */
@media (max-width: 768px){
  .pqn-cse-top10,
  .pqn-cse-top10__wrap,
  .pqn-latest-headlines,
  .pqn-latest-headlines__wrap,
  .pqn-feed-insert,
  .pqn-feed-insert *{
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
  }
}

/* =========================================================
   PATCH: Ensure ARTICLE comment CTA matches homepage pill
   (theme button styles can override the <button> variant)
   ========================================================= */
body.single-popquest_news_card .pqn-comments-pill,
body.single-popquest_news_card .pqn-article .pqn-comments-pill,
body.single-popquest_news_card .pqn-article-media .pqn-comments-pill{
  -webkit-appearance: none !important;
  appearance: none !important;
  background: #91F88D !important;
  color: #000 !important;
  border: 0 !important;
  box-shadow: none !important;
  text-decoration: none !important;
}
body.single-popquest_news_card .pqn-comments-pill:hover,
body.single-popquest_news_card .pqn-comments-pill:focus,
body.single-popquest_news_card .pqn-comments-pill:focus-visible{
  background: #91F88D !important;
  color: #000 !important;
  border: 0 !important;
  box-shadow: 0 0 0 3px rgba(145,248,141,0.35) !important;
  outline: none !important;
}


/* =========================================================
   PQN — Reaction emoji tray
   ========================================================= */
.pqn-react-tray{
  position:fixed;
  z-index: 999999;
  background: #fff;
  border: 1px solid rgba(0,0,0,0.14);
  border-radius: 999px;
  padding: 6px 8px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.14);
  display:none;
}
.pqn-react-tray__inner{
  display:flex;
  align-items:center;
  gap: 6px;
}
.pqn-react-choice{
  appearance:none;
  -webkit-appearance:none;
  border: 0;
  background: transparent;
  padding: 6px;
  line-height: 1;
  font-size: 18px;
  border-radius: 999px;
  cursor: pointer;
}
.pqn-react-choice:hover,
.pqn-react-choice:focus{
  background: rgba(0,0,0,0.06);
  outline: none;
}
.pqn-react-choice.is-active{
  background: rgba(145,248,141,0.35);
}

/* Inline reaction picker (anchored inside the media box) */
.pqn-react-inline-tray{
  position:absolute;
  z-index: 999999;
  background: #fff;
  border: 1px solid rgba(0,0,0,0.14);
  border-radius: 999px;
  padding: 6px 8px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.14);
  white-space: nowrap;
}
.pqn-react-inline-tray__inner{
  display:flex;
  align-items:center;
  gap: 6px;
}



/* Load more button */
.pqn-load-more-wrap{
  display:flex;
  justify-content:center;
  padding: 18px 0 8px;
}
.pqn-load-more-btn{
  appearance:none;
  border: 2px solid #000;
  background: #91F88D;
  color:#000;
  font-weight: 900;
  letter-spacing: .02em;
  padding: 10px 18px;
  border-radius: 999px;
  cursor: pointer;
}
.pqn-load-more-btn:hover{ filter: brightness(0.98); }
.pqn-load-more-btn[aria-disabled="true"],
.pqn-load-more-btn:disabled{ opacity: .6; cursor: default; }

.pqn-cse-mini__kicker a{ color:#000; text-decoration:underline; }
.pqn-cse-mini__kicker a:hover{ color:#000; }



/* === Reaction picker hard z-index + clickability (desktop) === */
.pqn-media, .pqn-article-media, .pqn-media-wrap { position: relative; }
.pqn-react-pill{ z-index: 999999 !important; pointer-events: auto !important; }
.pqn-react-inline-tray, .pqn-react-tray{ z-index: 1000000 !important; pointer-events: auto !important; }


/* ===== Homepage login CTA spacing (scoped) ===== */
.pqn-cse-mini__kicker.pqn-cse-mini__kicker--row{
  font-family: 'pqfranklin', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-size: 12px;
  line-height: 1.25;
  letter-spacing: 0.06em;
}
.pqn-cse-mini__kicker.pqn-cse-mini__kicker--spaced{
  margin-top: 14px; /* evens out the 3rd row spacing */
}
.pqn-cse-mini__link{
  text-decoration: underline;
  text-underline-offset: 2px;
}
