:root {
  --cref19-green: #3da63b;
  --cref19-green-dark: #217b2b;
  --cref19-green-soft: #eef8ef;
  --cref19-ink: #0f1f2b;
  --cref19-muted: #60717d;
  --cref19-line: #dce7e9;
  --cref19-panel: #f7faf9;
  --cref19-white: #ffffff;
  --cref19-radius: 22px;
}

body.cref19-noticia-single {
  background: #fff;
}

.cref19-news,
.cref19-news * {
  box-sizing: border-box;
}

.cref19-news {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(42px, 6vw, 84px) 0 72px;
  color: var(--cref19-ink);
}

.cref19-news__article {
  margin: 0;
}

.cref19-news__hero {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(360px, .94fr);
  min-height: 470px;
  border: 1px solid var(--cref19-line);
  border-radius: 28px;
  overflow: hidden;
  background: linear-gradient(135deg, #fff 0%, #f8fbfa 100%);
  box-shadow: 0 18px 50px rgba(16, 49, 62, .07);
}

.cref19-news__hero-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(34px, 5vw, 68px);
}

.cref19-news__eyebrow-row {
  margin-bottom: 18px;
}

.cref19-news__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--cref19-green-dark);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .11em;
  text-transform: uppercase;
  text-decoration: none;
}

.cref19-news__eyebrow::before {
  content: "";
  width: 34px;
  height: 2px;
  background: var(--cref19-green);
}

.cref19-news__title {
  margin: 0;
  color: #07131b;
  font-size: clamp(38px, 4.7vw, 68px);
  line-height: .98;
  letter-spacing: -.045em;
  font-weight: 750;
  text-wrap: balance;
}

.cref19-news__summary {
  max-width: 700px;
  margin: 26px 0 0;
  color: #445660;
  font-size: clamp(17px, 1.45vw, 21px);
  line-height: 1.55;
}

.cref19-news__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.cref19-news__meta-item {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 58px;
  padding: 10px 14px;
  border: 1px solid var(--cref19-line);
  border-radius: 14px;
  background: rgba(255,255,255,.75);
}

.cref19-news__meta-item > span:last-child {
  display: grid;
  gap: 1px;
  color: #243741;
  font-size: 13px;
  line-height: 1.25;
}

.cref19-news__meta-item strong {
  color: #75858d;
  font-size: 9px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.cref19-news__meta-icon {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: var(--cref19-green-soft);
  color: var(--cref19-green-dark);
  font-weight: 800;
}

.cref19-news__hero-media {
  min-height: 100%;
  margin: 0;
  position: relative;
  overflow: hidden;
  background: #e9f1ef;
}

.cref19-news__hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255,255,255,.14), rgba(255,255,255,0) 24%);
  pointer-events: none;
}

.cref19-news__hero-image {
  width: 100%;
  height: 100%;
  min-height: 470px;
  display: block;
  object-fit: cover;
}

.cref19-news__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: clamp(36px, 5vw, 72px);
  align-items: start;
  padding: clamp(48px, 6vw, 84px) 0 0;
}

.cref19-news__content-wrap {
  min-width: 0;
}

.cref19-news__content {
  color: #24333b;
  font-size: clamp(17px, 1.25vw, 19px);
  line-height: 1.85;
}

.cref19-news__content > *:first-child {
  margin-top: 0;
}

.cref19-news__content p,
.cref19-news__content ul,
.cref19-news__content ol,
.cref19-news__content blockquote {
  margin: 0 0 1.35em;
}

.cref19-news__content h2,
.cref19-news__content h3,
.cref19-news__content h4 {
  color: #07131b;
  line-height: 1.12;
  letter-spacing: -.025em;
}

.cref19-news__content h2 {
  margin: 2.1em 0 .65em;
  font-size: clamp(28px, 3vw, 42px);
}

.cref19-news__content h3 {
  margin: 1.8em 0 .55em;
  font-size: clamp(23px, 2.2vw, 31px);
}

.cref19-news__content a {
  color: var(--cref19-green-dark);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.cref19-news__content img {
  max-width: 100%;
  height: auto;
  border-radius: 18px;
}

.cref19-news__content blockquote {
  padding: 22px 24px;
  border-left: 4px solid var(--cref19-green);
  border-radius: 0 16px 16px 0;
  background: var(--cref19-green-soft);
  color: #193821;
}

.cref19-news__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid var(--cref19-line);
}

.cref19-news__tags a {
  padding: 8px 11px;
  border-radius: 999px;
  background: #f1f5f4;
  color: #4c6069;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}

.cref19-news__aside {
  position: sticky;
  top: 110px;
}

.cref19-share-card {
  padding: 26px;
  border: 1px solid var(--cref19-line);
  border-radius: 20px;
  background: linear-gradient(180deg, #fbfdfc 0%, #f5f9f8 100%);
}

.cref19-share-card__label,
.cref19-related__heading span {
  color: var(--cref19-green-dark);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.cref19-share-card h2 {
  margin: 7px 0 8px;
  color: #07131b;
  font-size: 25px;
  line-height: 1.08;
  letter-spacing: -.025em;
}

.cref19-share-card p {
  margin: 0 0 18px;
  color: #65757c;
  font-size: 13px;
  line-height: 1.5;
}

.cref19-share-card__buttons {
  display: grid;
  gap: 9px;
}

.cref19-share-button {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 45px;
  padding: 10px 13px;
  border: 1px solid #d6e3e4;
  border-radius: 12px;
  background: #fff;
  color: #0d5660;
  font: inherit;
  font-size: 13px;
  font-weight: 750;
  text-decoration: none;
  cursor: pointer;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

/* O tema do WordPress aplica estilos globais a <button>.
   Este reset mantém “Copiar link” idêntico aos demais botões de compartilhamento. */
.cref19-share-card button.cref19-share-button.cref19-copy-link {
  -webkit-appearance: none !important;
  appearance: none !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 10px !important;
  width: 100% !important;
  min-height: 45px !important;
  margin: 0 !important;
  padding: 10px 13px !important;
  border: 1px solid #d6e3e4 !important;
  border-radius: 12px !important;
  background: #fff !important;
  color: #0d5660 !important;
  box-shadow: none !important;
  font-family: inherit !important;
  font-size: 13px !important;
  font-weight: 750 !important;
  line-height: 1.2 !important;
  text-align: left !important;
  text-transform: none !important;
  letter-spacing: normal !important;
}

.cref19-share-button:hover {
  transform: translateY(-2px);
  border-color: #b9d2d4;
  box-shadow: 0 10px 22px rgba(26, 70, 77, .08);
}

.cref19-share-card button.cref19-share-button.cref19-copy-link:hover {
  border-color: #b9d2d4 !important;
  background: #fff !important;
  color: #0d5660 !important;
  box-shadow: 0 10px 22px rgba(26, 70, 77, .08) !important;
}

.cref19-share-button.is-copied,
.cref19-share-card button.cref19-share-button.cref19-copy-link.is-copied {
  border-color: #9fd39f !important;
  background: #f1faf1 !important;
  color: #24772a !important;
}

.cref19-related {
  margin-top: clamp(64px, 8vw, 100px);
  padding-top: 34px;
  border-top: 1px solid var(--cref19-line);
}

.cref19-related__heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}

.cref19-related__heading h2 {
  margin: 6px 0 0;
  color: #07131b;
  font-size: clamp(31px, 4vw, 46px);
  letter-spacing: -.035em;
}

.cref19-related__all {
  color: #28555b;
  font-size: 13px;
  font-weight: 750;
  text-decoration: none;
}

.cref19-related__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.cref19-related-card {
  overflow: hidden;
  border: 1px solid var(--cref19-line);
  border-radius: 18px;
  background: #fff;
  transition: transform .2s ease, box-shadow .2s ease;
}

.cref19-related-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 34px rgba(18, 59, 69, .09);
}

.cref19-related-card__link {
  display: block;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

.cref19-related-card__media {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #eaf1ef;
}

.cref19-related-card__media img,
.cref19-related-card__placeholder {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.cref19-related-card__placeholder {
  background:
    linear-gradient(135deg, rgba(61,166,59,.14), rgba(15,31,43,.04)),
    #edf4f2;
}

.cref19-related-card__body {
  padding: 18px;
}

.cref19-related-card__date {
  color: #74868e;
  font-size: 11px;
  font-weight: 700;
}

.cref19-related-card h3 {
  margin: 8px 0 18px;
  color: #0b171f;
  font-size: 20px;
  line-height: 1.16;
  letter-spacing: -.02em;
}

.cref19-related-card__cta {
  color: var(--cref19-green-dark);
  font-size: 12px;
  font-weight: 800;
}

@media (max-width: 980px) {
  .cref19-news {
    width: min(100% - 28px, 860px);
  }

  .cref19-news__hero {
    grid-template-columns: 1fr;
  }

  .cref19-news__hero-media {
    min-height: 320px;
    order: -1;
  }

  .cref19-news__hero-image {
    min-height: 320px;
    max-height: 520px;
  }

  .cref19-news__grid {
    grid-template-columns: 1fr;
  }

  .cref19-news__aside {
    position: static;
  }

  .cref19-share-card__buttons {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .cref19-news {
    width: min(100% - 20px, 620px);
    padding-top: 24px;
  }

  .cref19-news__hero {
    border-radius: 20px;
  }

  .cref19-news__hero-text {
    padding: 28px 22px 30px;
  }

  .cref19-news__title {
    font-size: clamp(34px, 11vw, 50px);
    line-height: 1.01;
  }

  .cref19-news__summary {
    margin-top: 18px;
    font-size: 16px;
  }

  .cref19-news__meta {
    display: grid;
    grid-template-columns: 1fr;
    margin-top: 24px;
  }

  .cref19-news__meta-item {
    min-height: 52px;
  }

  .cref19-news__hero-media,
  .cref19-news__hero-image {
    min-height: 230px;
  }

  .cref19-news__grid {
    padding-top: 38px;
  }

  .cref19-news__content {
    font-size: 16.5px;
    line-height: 1.78;
  }

  .cref19-share-card__buttons {
    grid-template-columns: 1fr;
  }

  .cref19-related__heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .cref19-related__grid {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   COMPATIBILIDADE COM O ANTIGO MÓDULO DE IMPRENSA
   O Área do Colaborador v1.9 ainda injeta metadados e um segundo
   bloco de compartilhamento via the_content. O Notícias v1.1
   já possui esses elementos no template, então o legado é ocultado.
   Quando o código antigo for removido do Área, estas regras podem ficar
   sem efeito sem causar problema.
   ========================================================= */
.cref19-news__content .cref19-news-public-meta,
.cref19-news__content .cref19-news-share {
  display: none !important;
}
