
/*
 * Growth Reviewed Publication System 1.0
 * Canonical article presentation for all single posts.
 * Loaded after the legacy site stylesheet so future article work has one
 * deliberate source of truth.
 */

/* ---------- ARTICLE CANVAS ---------- */
body.growth-reviewed.single-post .site-main{
  width:min(calc(100% - 48px), 1040px)!important;
  margin:0 auto!important;
  padding:72px 0 112px!important;
}

body.growth-reviewed.single-post article.type-post{
  width:100%!important;
  margin:0!important;
}

/* ---------- ARTICLE HEADER ---------- */
body.growth-reviewed.single-post .page-header{
  display:block!important;
  width:100%!important;
  max-width:920px!important;
  margin:0 auto 18px!important;
  padding:0 0 8px!important;
  border:0!important;
  background:transparent!important;
  text-align:center!important;
}

body.growth-reviewed.single-post .page-header .entry-title,
body.growth-reviewed.single-post .entry-title{
  display:block!important;
  width:100%!important;
  max-width:900px!important;
  margin:0 auto!important;
  padding:0!important;
  text-align:center!important;
  color:var(--gr-text)!important;
  font-family:Georgia,"Times New Roman",serif!important;
  font-size:clamp(38px,3.2vw,54px)!important;
  font-weight:500!important;
  letter-spacing:-.045em!important;
  line-height:1.04!important;
  text-wrap:balance!important;
}

/* ---------- ARTICLE BODY ---------- */
body.growth-reviewed.single-post .entry-content{
  width:100%!important;
  max-width:740px!important;
  margin:0 auto!important;
  color:var(--gr-text)!important;
  font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif!important;
  font-size:16.5px!important;
  line-height:1.82!important;
}

body.growth-reviewed.single-post .entry-content > *{
  margin-left:auto!important;
  margin-right:auto!important;
}

body.growth-reviewed.single-post .entry-content p{
  max-width:700px!important;
  margin-top:0!important;
  margin-bottom:22px!important;
}

body.growth-reviewed.single-post .gr-article-meta{
  display:flex!important;
  flex-wrap:wrap!important;
  justify-content:center!important;
  align-items:center!important;
  gap:7px!important;
  max-width:740px!important;
  margin:0 auto 16px!important;
  color:var(--gr-muted)!important;
  font-size:11px!important;
  font-weight:750!important;
  letter-spacing:.075em!important;
  text-transform:uppercase!important;
}

/* Disclosure becomes a compact trust panel, not a giant horizontal break. */
body.growth-reviewed.single-post .gr-disclosure{
  max-width:700px!important;
  margin:0 auto 30px!important;
  padding:11px 14px!important;
  border:1px solid var(--gr-border)!important;
  border-radius:10px!important;
  background:var(--gr-surface)!important;
  color:var(--gr-muted)!important;
  font-size:12.5px!important;
  line-height:1.55!important;
  text-align:center!important;
}

/* The Gutenberg "large" paragraph is the deck/subheadline, not another H1. */
body.growth-reviewed.single-post .entry-content > p.has-large-font-size,
body.growth-reviewed.single-post .entry-content p.has-large-font-size{
  width:100%!important;
  max-width:660px!important;
  margin:22px auto 30px!important;
  padding:0!important;
  color:var(--gr-muted)!important;
  font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif!important;
  font-size:18px!important;
  font-weight:500!important;
  line-height:1.58!important;
  letter-spacing:-.005em!important;
  text-align:center!important;
  text-wrap:pretty!important;
}

/* ---------- EDITORIAL HEADINGS ---------- */
body.growth-reviewed.single-post .entry-content h2{
  max-width:690px!important;
  margin:66px auto 22px!important;
  padding-top:20px!important;
  position:relative!important;
  color:var(--gr-text)!important;
  font-family:Georgia,"Times New Roman",serif!important;
  font-size:30px!important;
  font-weight:500!important;
  letter-spacing:-.03em!important;
  line-height:1.15!important;
  text-align:center!important;
  text-wrap:balance!important;
}

body.growth-reviewed.single-post .entry-content h2::before{
  content:""!important;
  display:block!important;
  width:36px!important;
  height:1px!important;
  margin:0 auto 17px!important;
  background:var(--gr-border)!important;
}

body.growth-reviewed.single-post .entry-content h2:first-of-type{
  margin-top:46px!important;
}

body.growth-reviewed.single-post .entry-content h3{
  max-width:700px!important;
  margin:38px auto 14px!important;
  color:var(--gr-text)!important;
  font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif!important;
  font-size:19.5px!important;
  font-weight:800!important;
  letter-spacing:-.018em!important;
  line-height:1.3!important;
  text-align:left!important;
}

/* ---------- LISTS ---------- */
body.growth-reviewed.single-post .entry-content ul,
body.growth-reviewed.single-post .entry-content ol{
  max-width:680px!important;
  margin:18px auto 28px!important;
  padding-left:24px!important;
}

body.growth-reviewed.single-post .entry-content li{
  margin:8px 0!important;
  padding-left:3px!important;
  line-height:1.65!important;
}

body.growth-reviewed.single-post .entry-content li::marker{
  color:var(--gr-muted)!important;
}

/* The first verdict list gets a recognisable publication callout. */
body.growth-reviewed.single-post .entry-content h2:first-of-type + ul{
  max-width:700px!important;
  margin-top:0!important;
  padding:20px 24px 20px 43px!important;
  border:1px solid var(--gr-border)!important;
  border-radius:13px!important;
  background:var(--gr-surface)!important;
}

/* ---------- TABLES ---------- */
body.growth-reviewed.single-post .wp-block-table{
  width:100%!important;
  max-width:740px!important;
  margin:34px auto 42px!important;
  border:1px solid var(--gr-border)!important;
  border-radius:14px!important;
  background:var(--gr-surface)!important;
  overflow:auto!important;
}

body.growth-reviewed.single-post .wp-block-table table{
  width:100%!important;
  margin:0!important;
  border-collapse:separate!important;
  border-spacing:0!important;
  background:transparent!important;
  font-size:13.5px!important;
  line-height:1.48!important;
}

body.growth-reviewed.single-post .wp-block-table th,
body.growth-reviewed.single-post .wp-block-table td{
  padding:14px 15px!important;
  border:0!important;
  border-right:1px solid var(--gr-border)!important;
  border-bottom:1px solid var(--gr-border)!important;
  vertical-align:top!important;
  color:var(--gr-text)!important;
}

body.growth-reviewed.single-post .wp-block-table th:last-child,
body.growth-reviewed.single-post .wp-block-table td:last-child{
  border-right:0!important;
}

body.growth-reviewed.single-post .wp-block-table tbody tr:last-child td{
  border-bottom:0!important;
}

body.growth-reviewed.single-post .wp-block-table th{
  background:var(--gr-surface-2)!important;
  font-size:11.5px!important;
  font-weight:850!important;
  letter-spacing:.04em!important;
  text-transform:uppercase!important;
}

/* ---------- CTAS ---------- */
body.growth-reviewed.single-post .wp-block-buttons{
  width:100%!important;
  max-width:700px!important;
  margin:22px auto 34px!important;
  display:flex!important;
  justify-content:center!important;
  gap:10px!important;
}

body.growth-reviewed.single-post .wp-block-button__link{
  min-height:44px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  padding:12px 18px!important;
  border:1px solid var(--gr-text)!important;
  border-radius:9px!important;
  background:var(--gr-text)!important;
  color:var(--gr-bg)!important;
  font-size:13px!important;
  font-weight:800!important;
  line-height:1!important;
  text-decoration:none!important;
  box-shadow:none!important;
}

body.growth-reviewed.single-post .wp-block-button__link:hover{
  transform:translateY(-1px)!important;
  opacity:.9!important;
}

/* ---------- LINKS / QUOTES / RULES ---------- */
body.growth-reviewed.single-post .entry-content a:not(.wp-block-button__link){
  color:var(--gr-text)!important;
  text-decoration-color:color-mix(in srgb,var(--gr-text) 42%,transparent)!important;
  text-decoration-thickness:1px!important;
  text-underline-offset:3px!important;
}

body.growth-reviewed.single-post .entry-content blockquote{
  max-width:680px!important;
  margin:34px auto!important;
  padding:18px 20px!important;
  border-left:2px solid var(--gr-text)!important;
  background:var(--gr-surface)!important;
  color:var(--gr-muted)!important;
}

body.growth-reviewed.single-post .entry-content hr,
body.growth-reviewed.single-post .wp-block-separator{
  max-width:700px!important;
  margin:56px auto!important;
  border:0!important;
  border-top:1px solid var(--gr-border)!important;
}

/* Featured art remains intentionally absent until a real production system exists. */
body.growth-reviewed.single-post .post-thumbnail,
body.growth-reviewed.single-post figure.post-thumbnail,
body.growth-reviewed.single-post .wp-post-image{
  display:none!important;
}

/* ---------- MOBILE ---------- */
@media(max-width:680px){
  body.growth-reviewed.single-post .site-main{
    width:min(calc(100% - 28px),1040px)!important;
    padding:44px 0 78px!important;
  }

  body.growth-reviewed.single-post .page-header{
    margin-bottom:14px!important;
  }

  body.growth-reviewed.single-post .page-header .entry-title,
  body.growth-reviewed.single-post .entry-title{
    font-size:clamp(34px,10vw,44px)!important;
    line-height:1.03!important;
  }

  body.growth-reviewed.single-post .entry-content{
    font-size:16px!important;
    line-height:1.76!important;
  }

  body.growth-reviewed.single-post .gr-article-meta{
    gap:5px!important;
    font-size:10px!important;
    letter-spacing:.05em!important;
  }

  body.growth-reviewed.single-post .gr-disclosure{
    font-size:12px!important;
    text-align:left!important;
  }

  body.growth-reviewed.single-post .entry-content > p.has-large-font-size,
  body.growth-reviewed.single-post .entry-content p.has-large-font-size{
    max-width:620px!important;
    font-size:17px!important;
    line-height:1.58!important;
    text-align:left!important;
  }

  body.growth-reviewed.single-post .entry-content h2{
    margin-top:56px!important;
    padding-top:17px!important;
    font-size:27px!important;
  }

  body.growth-reviewed.single-post .entry-content h3{
    margin-top:32px!important;
    font-size:19px!important;
  }

  body.growth-reviewed.single-post .entry-content h2:first-of-type + ul{
    padding:18px 18px 18px 36px!important;
    border-radius:11px!important;
  }

  body.growth-reviewed.single-post .wp-block-table{
    border-radius:11px!important;
  }

  body.growth-reviewed.single-post .wp-block-button__link{
    width:100%!important;
  }
}


/* ===== 5.5.1 ARTICLE OPENING RHYTHM FIX =====
   Robust selectors intentionally do not depend on the custom body class.
   This fixes the Gutenberg large-paragraph preset winning on some preview routes.
 */
body.single-post article.type-post .entry-content > p.has-large-font-size,
body.single-post article.type-post .entry-content p.has-large-font-size,
body.single-post .site-main article .entry-content > .has-large-font-size {
  width:100%!important;
  max-width:620px!important;
  margin:24px auto 28px!important;
  padding:0!important;
  font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif!important;
  font-size:17px!important;
  font-weight:500!important;
  line-height:1.68!important;
  letter-spacing:0!important;
  color:var(--gr-muted)!important;
  text-align:center!important;
  text-wrap:pretty!important;
}

/* The first verdict heading should introduce the article, not compete with the deck. */
body.single-post article.type-post .entry-content > h2.wp-block-heading:first-of-type,
body.single-post article.type-post .entry-content h2.wp-block-heading:first-of-type {
  max-width:650px!important;
  margin:34px auto 18px!important;
  padding-top:0!important;
  font-family:Georgia,"Times New Roman",serif!important;
  font-size:25px!important;
  font-weight:500!important;
  line-height:1.18!important;
  letter-spacing:-.022em!important;
  text-align:center!important;
  text-wrap:balance!important;
}

/* No decorative rule before the opening verdict heading. */
body.single-post article.type-post .entry-content > h2.wp-block-heading:first-of-type::before,
body.single-post article.type-post .entry-content h2.wp-block-heading:first-of-type::before {
  display:none!important;
  content:none!important;
}

/* Tighten the verdict card so the opening screen reads as one composed section. */
body.single-post article.type-post .entry-content > h2.wp-block-heading:first-of-type + ul,
body.single-post article.type-post .entry-content h2.wp-block-heading:first-of-type + ul {
  max-width:650px!important;
  margin:0 auto 22px!important;
  padding:18px 22px 18px 40px!important;
  font-size:14px!important;
  line-height:1.58!important;
}

/* Keep the first CTA close to the verdict without crowding it. */
body.single-post article.type-post .entry-content > h2.wp-block-heading:first-of-type + ul + .wp-block-buttons {
  margin-top:18px!important;
  margin-bottom:34px!important;
}

@media(max-width:680px){
  body.single-post article.type-post .entry-content > p.has-large-font-size,
  body.single-post article.type-post .entry-content p.has-large-font-size,
  body.single-post .site-main article .entry-content > .has-large-font-size {
    max-width:100%!important;
    font-size:16.5px!important;
    line-height:1.64!important;
    text-align:left!important;
    margin:20px auto 24px!important;
  }

  body.single-post article.type-post .entry-content > h2.wp-block-heading:first-of-type,
  body.single-post article.type-post .entry-content h2.wp-block-heading:first-of-type {
    font-size:23px!important;
    margin:30px auto 16px!important;
  }

  body.single-post article.type-post .entry-content > h2.wp-block-heading:first-of-type + ul,
  body.single-post article.type-post .entry-content h2.wp-block-heading:first-of-type + ul {
    padding:16px 16px 16px 34px!important;
    font-size:13.5px!important;
  }
}
