:root{
  --gpp-final-green:#176a48;
  --gpp-final-green-dark:#0f4f36;
  --gpp-final-ink:#20352c;
  --gpp-final-muted:#62756b;
  --gpp-final-line:#dce8df;
  --gpp-final-paper:#fff;
  --gpp-final-bg:#edf6ef;
  --gpp-final-soft:#f3f8f4;
  --gpp-final-shadow:0 22px 62px rgba(20,68,45,.12);
}

*{box-sizing:border-box}

html,
body.gpp-article-final-page{
  width:100%;
  min-height:100%;
  margin:0!important;
  padding:0!important;
  background:var(--gpp-final-bg)!important;
  color:var(--gpp-final-ink)!important;
  overflow-x:hidden;
}

body.gpp-article-final-page{
  font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important;
}

body.gpp-article-final-page::before,
body.gpp-article-final-page::after{
  display:none!important;
}

.gpp-final-shell{
  box-sizing:border-box;
  width:100%;
  min-height:100dvh;
  padding:12px;
}

.gpp-final-article{
  position:relative;
  box-sizing:border-box;
  width:min(100%,860px);
  min-height:calc(100dvh - 24px);
  margin:0 auto;
  padding:30px clamp(20px,5vw,56px) 52px;
  border:1px solid rgba(23,106,72,.10);
  border-radius:28px;
  background:
    radial-gradient(circle at 90% 4%,rgba(109,174,130,.12),transparent 23%),
    linear-gradient(180deg,#fff 0%,#fff 76%,#fbfdfb 100%);
  box-shadow:var(--gpp-final-shadow);
  overflow:hidden;
}

.gpp-final-article::before{
  content:"";
  position:absolute;
  z-index:0;
  width:180px;
  height:180px;
  right:-90px;
  top:110px;
  border-radius:60% 0 60% 0;
  background:linear-gradient(145deg,rgba(81,155,102,.09),rgba(81,155,102,0));
  transform:rotate(18deg);
  pointer-events:none;
}

.gpp-final-article>*{
  position:relative;
  z-index:1;
}

.gpp-final-heading{
  margin:0 0 30px;
  padding:0 0 24px;
  border-bottom:1px solid var(--gpp-final-line);
}

.gpp-final-kicker{
  display:flex;
  align-items:center;
  gap:9px;
  margin-bottom:11px;
}

.gpp-final-kicker span{
  display:inline-block;
  color:var(--gpp-final-green);
  font-size:9px;
  font-weight:950;
  line-height:1;
  letter-spacing:.16em;
}

.gpp-final-kicker i{
  width:34px;
  height:1px;
  background:linear-gradient(90deg,var(--gpp-final-green),transparent);
}

.gpp-final-heading h1{
  max-width:780px;
  margin:0;
  color:#17352a;
  font-family:Georgia,"Times New Roman",serif;
  font-size:clamp(30px,6vw,48px);
  font-weight:750;
  line-height:1.03;
  letter-spacing:-.035em;
  text-wrap:balance;
}

.gpp-final-heading>p{
  max-width:680px;
  margin:12px 0 0;
  color:var(--gpp-final-muted);
  font-size:13px;
  line-height:1.58;
}

.gpp-final-meta{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-top:15px;
}

.gpp-final-meta span{
  display:inline-flex;
  align-items:center;
  min-height:29px;
  padding:0 11px;
  border:1px solid rgba(23,106,72,.09);
  border-radius:999px;
  background:#f4f8f5;
  color:#537064;
  font-size:10px;
  font-weight:800;
}

.gpp-final-cover{
  margin:0 0 30px;
  overflow:hidden;
  border-radius:22px;
  background:#e8f2ea;
  box-shadow:0 15px 36px rgba(18,65,42,.10);
}

.gpp-final-cover img{
  display:block;
  width:100%;
  aspect-ratio:16/9;
  object-fit:cover;
}

.gpp-final-entry{
  color:#294238;
  font-size:clamp(15px,2.4vw,17px);
  line-height:1.76;
  overflow-wrap:anywhere;
}

.gpp-final-entry > :first-child{margin-top:0!important}
.gpp-final-entry > :last-child{margin-bottom:0!important}

.gpp-final-entry h1,
.gpp-final-entry h2,
.gpp-final-entry h3,
.gpp-final-entry h4,
.gpp-final-entry h5,
.gpp-final-entry h6{
  scroll-margin-top:78px;
  margin:1.65em 0 .42em;
  color:#20372d;
  font-family:Georgia,"Times New Roman",serif;
  font-weight:750;
  line-height:1.12;
  letter-spacing:-.018em;
  text-wrap:balance;
}

.gpp-final-entry h2{
  position:relative;
  padding-left:16px;
  font-size:clamp(25px,5vw,36px);
}

.gpp-final-entry h2::before{
  content:"";
  position:absolute;
  left:0;
  top:.18em;
  bottom:.12em;
  width:4px;
  border-radius:999px;
  background:linear-gradient(180deg,#2c8c61,#9bc9aa);
}

.gpp-final-entry h3{font-size:clamp(21px,4vw,29px)}
.gpp-final-entry h4{font-size:19px}

.gpp-final-entry p,
.gpp-final-entry ul,
.gpp-final-entry ol,
.gpp-final-entry blockquote{
  margin:0 0 1.18em;
}

.gpp-final-entry p{
  text-wrap:pretty;
}

.gpp-final-entry ul,
.gpp-final-entry ol{
  padding:14px 18px 14px 38px;
  border:1px solid rgba(23,106,72,.08);
  border-radius:17px;
  background:#f7faf8;
}

.gpp-final-entry li+li{margin-top:.48em}

.gpp-final-entry a{
  color:var(--gpp-final-green);
  font-weight:700;
  text-decoration-thickness:1px;
  text-underline-offset:3px;
}

.gpp-final-entry a:hover{
  color:var(--gpp-final-green-dark);
}

.gpp-final-entry img,
.gpp-final-entry video,
.gpp-final-entry iframe,
.gpp-final-entry figure{
  max-width:100%!important;
}

.gpp-final-entry img{
  height:auto!important;
  border-radius:18px;
  box-shadow:0 12px 30px rgba(19,65,43,.09);
}

.gpp-final-entry figure{
  margin:1.5em 0;
}

.gpp-final-entry figcaption{
  margin-top:8px;
  color:var(--gpp-final-muted);
  font-size:12px;
  line-height:1.45;
  text-align:center;
}

.gpp-final-entry blockquote{
  position:relative;
  padding:18px 19px 18px 22px;
  border:0;
  border-left:5px solid var(--gpp-final-green);
  border-radius:0 17px 17px 0;
  background:linear-gradient(135deg,#eef7f1,#f8fbf9);
  color:#29473a;
  box-shadow:0 10px 28px rgba(17,73,47,.06);
}

.gpp-final-entry table{
  display:block;
  width:100%;
  max-width:100%;
  margin:1.5em 0;
  border-collapse:collapse;
  overflow:auto;
  border-radius:14px;
  box-shadow:0 0 0 1px var(--gpp-final-line);
}

.gpp-final-entry th,
.gpp-final-entry td{
  padding:11px 13px;
  border:1px solid var(--gpp-final-line);
  text-align:left;
  vertical-align:top;
}

.gpp-final-entry th{
  background:#edf5ef;
  color:#254c39;
}

.gpp-final-entry pre,
.gpp-final-entry code{
  max-width:100%;
  overflow:auto;
  white-space:pre-wrap;
}

/* Próximos artigos */
.gpp-related-section{
  margin-top:42px;
  padding-top:30px;
  border-top:1px solid var(--gpp-final-line);
}

.gpp-related-section>header{
  max-width:620px;
  margin-bottom:18px;
}

.gpp-related-section>header span{
  color:var(--gpp-final-green);
  font-size:9px;
  font-weight:950;
  letter-spacing:.16em;
}

.gpp-related-section>header h2{
  margin:7px 0 0;
  color:#17352a;
  font:750 clamp(26px,4.8vw,37px)/1.05 Georgia,"Times New Roman",serif;
  letter-spacing:-.025em;
}

.gpp-related-section>header p{
  margin:8px 0 0;
  color:var(--gpp-final-muted);
  font-size:13px;
  line-height:1.5;
}

.gpp-related-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:13px;
}

.gpp-related-card{
  min-width:0;
  display:grid;
  grid-template-columns:112px minmax(0,1fr);
  min-height:146px;
  overflow:hidden;
  border:1px solid rgba(23,106,72,.10);
  border-radius:20px;
  background:#fff;
  color:#20372d!important;
  text-decoration:none!important;
  box-shadow:0 13px 32px rgba(18,65,42,.07);
  transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease;
}

.gpp-related-card:hover{
  transform:translateY(-2px);
  border-color:rgba(23,106,72,.22);
  box-shadow:0 18px 40px rgba(18,65,42,.11);
}

.gpp-related-media{
  min-height:100%;
  display:grid;
  place-items:center;
  overflow:hidden;
  background:linear-gradient(145deg,#dcecdf,#eff6f0);
  color:#287653;
}

.gpp-related-media img{
  width:100%;
  height:100%;
  object-fit:cover;
}

.gpp-related-media svg{
  width:70%;
  max-width:86px;
}

.gpp-related-copy{
  min-width:0;
  padding:14px 14px 13px;
  display:flex;
  flex-direction:column;
}

.gpp-related-copy small{
  color:#4e8a69;
  font-size:8px;
  font-weight:950;
  letter-spacing:.12em;
  text-transform:uppercase;
}

.gpp-related-copy strong{
  display:-webkit-box;
  margin-top:5px;
  overflow:hidden;
  color:#20392e;
  font:750 17px/1.12 Georgia,"Times New Roman",serif;
  letter-spacing:-.015em;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
}

.gpp-related-copy em{
  display:-webkit-box;
  margin-top:7px;
  overflow:hidden;
  color:#65786f;
  font-style:normal;
  font-size:10px;
  line-height:1.42;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
}

.gpp-related-copy b{
  display:flex;
  align-items:center;
  gap:6px;
  margin-top:auto;
  padding-top:8px;
  color:var(--gpp-final-green);
  font-size:10px;
}

.gpp-related-copy b i{
  font-style:normal;
  font-size:14px;
}

.gpp-final-actions{
  margin-top:30px;
  padding-top:22px;
  display:flex;
  justify-content:center;
  border-top:1px solid var(--gpp-final-line);
}

.gpp-back-to-guide{
  min-height:45px;
  padding:0 18px;
  border:1px solid rgba(23,106,72,.13);
  border-radius:999px;
  display:inline-flex;
  align-items:center;
  gap:9px;
  background:linear-gradient(180deg,#f7fbf8,#eaf4ed);
  color:#174b34;
  box-shadow:0 10px 24px rgba(18,65,42,.08);
  font:850 11px/1 system-ui,-apple-system,"Segoe UI",sans-serif;
  cursor:pointer;
}

.gpp-back-to-guide i{
  display:grid;
  place-items:center;
  width:25px;
  height:25px;
  border-radius:50%;
  background:#fff;
  color:var(--gpp-final-green);
  font-style:normal;
  font-size:15px;
}

.gpp-back-to-guide:hover,
.gpp-back-to-guide:focus-visible{
  border-color:rgba(23,106,72,.26);
  background:#f3f9f5;
  outline:none;
  transform:translateY(-1px);
}

#wpadminbar,
body.gpp-article-final-page > header,
body.gpp-article-final-page > footer,
body.gpp-article-final-page > nav{
  display:none!important;
}

.gpp-final-article.is-embedded{
  width:100%;
  min-height:100%;
  margin:0;
  border:0;
  border-radius:0;
  box-shadow:none;
  background:
    radial-gradient(circle at 86% 2%,rgba(109,174,130,.11),transparent 22%),
    linear-gradient(180deg,#fff 0%,#fff 78%,#f9fcfa 100%);
}

.sgp-legacy-article-slide .gpp-final-article.is-embedded{
  padding-top:80px;
}

@media(max-width:720px){
  .gpp-related-grid{grid-template-columns:1fr}
  .gpp-related-card{grid-template-columns:98px minmax(0,1fr);min-height:132px}
}

@media(max-width:560px){
  .gpp-final-shell{padding:0}
  .gpp-final-article{
    min-height:100dvh;
    padding:24px 18px 44px;
    border:0;
    border-radius:0;
    box-shadow:none;
  }
  .gpp-final-heading{margin-bottom:24px;padding-bottom:20px}
  .gpp-final-heading h1{font-size:clamp(29px,9vw,39px)}
  .gpp-final-meta{gap:6px}
  .gpp-final-cover{margin-left:-4px;margin-right:-4px;border-radius:17px}
  .gpp-final-entry{font-size:15px;line-height:1.72}
  .gpp-final-entry h2{padding-left:13px}
  .gpp-related-section{margin-top:34px;padding-top:25px}
  .gpp-related-card{grid-template-columns:92px minmax(0,1fr);min-height:125px;border-radius:17px}
  .gpp-related-copy{padding:12px}
  .gpp-related-copy strong{font-size:16px}
  .sgp-legacy-article-slide .gpp-final-article.is-embedded{padding-top:70px}
}
