/* Indivisible */
@import url("../fonts/Indivisible/Indivisible.css");

:root {
  --cc-theme-primary: #212121;
  --cc-theme-secondary: #000;
  --cc-theme-background: #fff;
  --cc-theme-background-opposite: #000;
  --cc-theme-line: rgba(0, 0, 0, 0.15);
  --cc-theme-surface: #fff;
  --cc-theme-error: #d32f2f;
  --cc-theme-on-primary: #fff;
  --cc-theme-on-secondary: #fff;
  --cc-theme-on-surface: #000;
  --cc-theme-on-error: #fff;
  --cc-theme-text-primary-on-background: rgba(0, 0, 0, 0.87);
  --cc-theme-text-secondary-on-background: rgba(0, 0, 0, 0.54);
  --cc-theme-text-hint-on-background: rgba(0, 0, 0, 0.38);
  --cc-theme-text-disabled-on-background: rgba(0, 0, 0, 0.38);
  --cc-theme-text-icon-on-background: rgba(0, 0, 0, 0.38);
  --cc-theme-text-primary-on-light: rgba(0, 0, 0, 0.87);
  --cc-theme-text-secondary-on-light: rgba(0, 0, 0, 0.54);
  --cc-theme-text-hint-on-light: rgba(0, 0, 0, 0.38);
  --cc-theme-text-disabled-on-light: rgba(0, 0, 0, 0.38);
  --cc-theme-text-icon-on-light: rgba(0, 0, 0, 0.38);
  --cc-theme-text-primary-on-dark: white;
  --cc-theme-text-secondary-on-dark: rgba(255, 255, 255, 0.7);
  --cc-theme-text-hint-on-dark: rgba(255, 255, 255, 0.5);
  --cc-theme-text-disabled-on-dark: rgba(255, 255, 255, 0.5);
  --cc-theme-text-icon-on-dark: rgba(255, 255, 255, 0.5);
}

/* [data-theme="dark"] {
  --cc-theme-primary: #fff;
  --cc-theme-secondary: #ccc;
  --cc-theme-background: #1c1c1c;
  --cc-theme-background-opposite: #eee;
  --cc-theme-line: rgba(255, 255, 255, 0.15);
} */

html {
  font-size: 62.5%;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

body {
  font-family: "Indivisible", sans-serif;
  font-size: 1.6rem;
  line-height: 1.2;
  color: var(--cc-theme-primary);
  background: var(--cc-theme-background);
  margin: 0;
  padding: 0;
  height: initial;
  position: relative;
  transition: background 0.3s, color 0.3s;
}

.dm-main p,
.dm-main li,
.dm-main ul,
.dm-main a,
.dm-main img {
  font-family: "Indivisible", sans-serif;
}

.dm-main h1,
.dm-main h2,
.dm-main h3,
.dm-main h4,
.dm-main h5,
.dm-main h6 {
  font-family: "enra-semi-variable", sans-serif;
}

p,
li,
ul,
a,
img {
  margin: 0;
  padding: 0;
  line-height: 1.3;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  padding: 0;
  line-height: 1.3;
  font-weight: 600;
}

.dm-main strong {
  font-weight: 600;
}

.dm-main ul {
  padding-left: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.6vw;
}

body p {
  transition: color 0.2s ease-in-out;
}

img {
  margin: 0;
  padding: 0;
}

.s-tradutor {
  display: none;
}

.hero {
  min-height: 36.13vw;
  display: flex;
  align-items: flex-end;
  position: relative;
}

.hero::before {
  position: absolute;
  content: "";
  width: 100%;
  height: 100%;
  background-image: linear-gradient(transparent, #000);
  z-index: 1;
}

.hero::after {
  position: absolute;
  content: "";
  width: 100%;
  height: 23.81vw;
  left: 0;
  bottom: 100%;
  background-color: #202020;
  z-index: 1;
}

.hero-bg {
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-info {
  width: 88rem;
  margin: 0 auto;
  padding: 0 0 4.4vw;
  display: flex;
  flex-direction: column;
  z-index: 2;
}

.container-post {
  width: 88rem;
  margin: 0 auto;
  padding: 0 0 3.57vw;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.post-categories a {
  padding: 0.24vw 0.6vw;
  font-family: "enra-semi-variable", sans-serif;
  font-size: 0.77vw;
  font-weight: 600;
  color: #fff;
  background-color: rgb(255 255 255 / 10%);
  border-radius: 0.24vw;
}

h1.post-title {
  padding: 0.6vw 0;
  font-family: "enra-semi-variable", sans-serif;
  font-size: 3.21vw;
  font-weight: 600;
  color: #f4f4f4;
}

p.post-excerpt {
  width: 41.67vw;
  font-size: 1.31vw;
  opacity: 0.6;
  color: #b0b0b0;
}

.post-meta {
  width: 100%;
  padding: 2.08vw 0 0;
  display: flex;
  justify-content: space-between;
  gap: 1.79vw;
}

.post-meta span span {
  padding-right: 0.24vw;
  font-weight: 600;
}

.post-action {
  width: 100%;
  margin: 2.08vw 0 2.98vw;
  padding: 0.83vw 0;
  display: flex;
  justify-content: space-between;
  border-top: 0.1rem solid #777;
  border-bottom: 0.1rem solid #777;
}

.post-action-group {
  display: flex;
  gap: 1.19vw;
}

.post-action a {
  display: flex;
}

.like-button {
  align-items: center;
  gap: 0.36vw;
  cursor: pointer;
}

.like-button svg path {
  stroke: #000;
  stroke-width: 2;
  fill: transparent;
}

.like-button span {
  margin: 0.24vw 0 0;
}

.like-button.liked svg path {
  fill: initial;
}

.link-share {
  position: relative;
}

.tooltip-text {
  position: absolute;
  top: -1.79vw;
  left: 50%;
  transform: translateX(-50%);
  background: #000;
  color: #fff;
  font-size: 0.71vw;
  white-space: nowrap;
  padding: 0.3vw 0.48vw;
  border-radius: 0.24vw;
  opacity: 0;
  display: none;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.post-content {
  width: 100%;
  margin: 0 auto;
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  gap: 1.19vw;
}

.post-content::after {
  display: none;
}

.post-content aside:has(.post-index) {
  width: 16.31vw;
  flex-shrink: 0;
  position: sticky;
  top: 5.95vw;
  background: #fff;
  padding: 1.19vw;
  border-radius: 0.71vw;
  box-shadow: 0 0.3vw 1.19vw rgba(0, 0, 0, 0.08);
  background-color: rgb(201 148 43 / 20%);
}

.post-content aside h3 {
  padding: 0.6vw 0 1.19vw;
  font-weight: bold;
}

.post-content aside li + li {
  padding: 0.6vw 0 0;
}

.post-content aside a {
  font-size: 0.95vw;
  font-weight: 500;
  color: #285291;
}

.post-content aside a:hover,
.post-content aside a:focus {
  color: #285291;
}

.post-content-article {
  width: 100%;
  flex-shrink: 0;
}

.post-content h2 {
  padding: 1.79vw 0 1.19vw;
  font-size: 1.67vw;
}

.post-content h3 {
  padding: 1.79vw 0 1.19vw;
  font-size: 1.43vw;
}

.post-content p {
  font-family: "enra-semi-variable", serif;
  font-size: 1.07vw;
  line-height: 1.5;
}

.post-content p + p {
  padding: 1.07vw 0 0;
}

.post-content figure + p {
  padding: 1.43vw 0 0;
}

.post-content p a {
  font-family: "enra-semi-variable", serif;
  color: #285291;
}

.post-content p a:hover {
  text-decoration: underline;
}

.post-content .wp-block-details {
  margin: 1.07vw 0;
  padding: 1.79vw 0;
  font-size: 1.43vw;
  font-style: italic;
  line-height: 1.5;
  border-top: 0.1rem solid #c9942b;
  border-bottom: 0.1rem solid #c9942b;
  cursor: initial;
}

.post-content .wp-block-details summary {
  cursor: initial;
}

.post-content figure {
  margin-top: 0;
  margin-bottom: 0;
}

.post-content .wp-block-embed__wrapper {
  position: relative;
  margin: 0;
  padding-bottom: 56.25%;
  height: 0;
}

.post-content .wp-block-embed__wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  background-color: #000;
}

.post-content p iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  border: 0;
}

.post-content .wp-block-pullquote {
  margin: 0;
  padding: 1.79vw 0;
}

.post-content .wp-block-image {
  margin: 0;
  padding: 1.79vw 0;
}

.post-content .wp-block-pullquote blockquote {
  border-top: 0.2rem solid #285291;
  border-bottom: 0.2rem solid #285291;
}

.post-content .wp-block-image p {
  font-size: 1.43vw;
  text-align: left;
}

.post-content figcaption {
  margin: 0.83vw 0 0;
  font-family: "enra-semi-variable", serif;
  font-size: 0.95vw;
  text-align: center;
}

.container {
  width: 78.57vw;
  margin: 0 auto;
  padding: 2.98vw 0 3.57vw;
  display: flex;
  justify-content: space-between;
}

.pagination {
  display: flex;
  justify-content: center;
  gap: 0.83vw;
}

.page-numbers {
  min-width: 1.19vw;
  padding: 0.24vw 0.71vw;
  border-radius: 0.12vw;
  font-weight: 600;
  color: #fff;
}

.page-numbers.prev,
.page-numbers.next {
  color: #c9942b;
  background: none;
}

.sidebar {
  width: 27.98vw;
}

.video-container {
  width: 100%;
  margin: 0 auto;
  border-radius: 0.2rem;
  overflow: hidden;
}

.video-main {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
}

.video-main iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  background-color: #000;
}

.video-info {
  margin: 0 auto 2.98vw;
  padding: 0.89vw 1.19vw 1.19vw;
  background-color: #000;
}

.video-info h3 {
  font-size: 1.25vw;
  font-weight: 500;
  letter-spacing: -0.02vw;
  line-height: 1.3;
  margin-bottom: 0.24vw;
  color: #fff;
}

.video-info p {
  font-size: 0.83vw;
  letter-spacing: 0.01vw;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.7);
}

.video-info-row {
  padding: 1.19vw 0 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.video-info .btn {
  transition: all 0.2s ease;
  align-items: center;
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  background-color: #f2001d;
  border-radius: 2.98vw;
  color: white;
  font-size: 0.83vw;
  font-weight: 500;
  letter-spacing: 0.02vw !important;
  line-height: 1.3;
  text-transform: none !important;
  padding: 0 1.19vw 0 2.26vw;
  border: none;
  position: relative;
}

.post-references {
  width: 100%;
  margin: 2.38vw 0 0;
  border-top: 0.1rem solid #777;
}

.post-references h2 {
  padding: 2.38vw 0 1.19vw;
  font-size: 1.43vw;
}

.post-references p,
.post-references a {
  font-family: "enra-semi-variable", serif;
  font-size: 0.95vw;
  opacity: 0.8;
}

.post-references p strong {
  font-weight: bold;
}

.post-references p + p {
  padding: 0.95vw 0 0;
}

.post-references a {
  opacity: 1;
  color: #c9942b;
}

.post-references a:hover {
  text-decoration: underline;
}

.post-author {
  width: 100%;
  margin: 3.57vw 0 0;
  padding: 2.98vw 0 0;
  display: flex;
  gap: 2.98vw;
  border-top: 0.1rem solid #777;
}

.post-author-img {
  width: 5.95vw;
  height: 5.95vw;
  flex-shrink: 0;
  border-radius: 50%;
  overflow: hidden;
}

.post-author-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.post-author-info {
  width: 29.76vw;
}

.post-author h2 {
  padding: 0 0 0.6vw;
  font-size: 1.43vw;
}

.post-author p {
  font-size: 0.95vw;
}

.read-more {
  color: #f4f4f4;
  background-color: #202020;
}

.read-more-wrap {
  width: 77.38vw;
  margin: 0 auto;
  padding: 6.31vw 0 5.95vw;
}

.read-more h2 {
  width: 100%;
  padding: 0 0 4.76vw;
  font-family: "enra-semi-variable", sans-serif !important;
  font-size: 3.1vw;
  font-weight: bold;
  text-align: center;
  letter-spacing: -0.02vw;
}

.read-more .archive-posts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(34rem, 100%), 1fr));
  gap: 0.95vw;
}

.archive-post-card {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 13.1vw;
  border-radius: 0.48vw;
}

.archive-post-card:hover {
  background-color: #2a2a2a;
}

.archive-post-img {
  width: 100%;
  height: 13.69vw;
  position: relative;
  border-radius: 0.48vw;
  overflow: hidden;
}

.archive-post-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* transition: transform 0.3s; */
}

.archive-post-img:hover img {
  /* transform: scale(1.05); */
}

.archive-post-img p {
  position: absolute;
  left: 0;
  bottom: 0;
  padding: 0.6vw 0.95vw;
  font-size: 0.83vw;
  font-weight: 600;
  background-color: #111;
  border-radius: 0 0.36vw 0 0;
}

.archive-post-info {
  padding: 0 1.19vw;
}

.archive-post-cat {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6vw;
}

.archive-post-cat p {
  padding: 0.3vw;
  font-size: 0.71vw;
  border-radius: 0.3vw;
  background-color: #333;
}

.archive-post-row {
  width: calc(100% - 2.38vw);
  margin: 1.67vw auto 0;
  padding: 0.89vw 0;
  display: flex;
  justify-content: space-between;
  border-top: 0.1rem solid #6a6a6a;
}

.archive-post-row-num {
  display: flex;
}

.archive-post-row p.p02 {
  font-size: 0.83vw;
  display: flex;
  align-items: center;
  gap: 0.36vw;
}

.archive-post-row-num p.p02 + p.p02 {
  margin-left: 0.6vw;
  padding-left: 0.6vw;
  border-left: 0.1rem solid #6a6a6a;
}

.archive-post-info h3 {
  margin: 1.43vw 0 0.48vw;
}

.archive-post-info h3 a {
  font-family: "Indivisible", sans-serif;
  color: #f4f4f4;
  font-size: 1.31vw;
  font-weight: 700;
  letter-spacing: -0.02vw;
  line-height: 1.3;
  transition: color 0.2s ease-in-out;
}

.archive-post-info .excerpt {
  margin: 0 0 0.95vw;
  font-size: 0.95vw;
  color: #b0b0b0;
  line-height: 1.4;
}

.cc-btn {
  padding: 0.6vw 1.55vw;
  display: flex;
  justify-content: center;
  font-size: 0.89vw;
  font-weight: 600;
  border-radius: 2.98vw;
  color: #fff;
  transition: background 0.2s;
}

.cc-btn:hover {
  background-color: #285291;
}

.hide-desktop {
  display: none;
}

@media screen and (max-width: 600px) {
  body {
    overflow: hidden !important;
  }
  .cc-btn {
    padding: 1.67vw 5.42vw;
    font-size: 3.33vw;
    border-radius: 8vw;
    gap: 2vw;
  }
  .hero {
    min-height: 104.17vw;
  }
  .hero-info {
    width: 93.75vw;
    padding: 0 0 12.5vw;
  }
  .post-categories a {
    padding: 0.83vw 2.5vw;
    font-size: 2.71vw;
    border-radius: 8.33vw;
  }
  h1.post-title {
    padding: 2.08vw 0 0;
    font-size: 7.5vw;
  }
  p.post-excerpt {
    width: 100%;
    padding: 4.17vw 0 0;
    font-size: 3.33vw;
  }
  .container-post {
    width: 93.75vw;
    padding: 0 0 12.5vw;
  }
  .post-action {
    margin: 0 0 8.33vw;
    padding: 2.92vw 0;
  }
  .post-action-group {
    gap: 4.17vw;
  }
  .like-button {
    gap: 1.25vw;
  }
  .post-meta {
    padding: 6.25vw 0 8.33vw;
    font-size: 2.92vw;
    flex-direction: column;
    gap: 2.5vw;
  }
  .post-content {
    flex-direction: column;
  }
  .post-content aside:has(.post-index) {
    width: 100%;
    margin: 0 0 4.17vw;
    padding: 4.17vw;
  }
  .post-content aside h3 {
    padding: 0 0 4.17vw;
  }
  .post-content aside li + li {
    padding: 3.33vw 0 0;
  }
  .post-content aside a {
    font-size: 3.33vw;
  }
  .post-content h2 {
    padding: 6.25vw 0 4.17vw;
    font-size: 5.83vw;
  }
  .post-content h3 {
    padding: 6.25vw 0 4.17vw;
    font-size: 5vw;
  }
  .post-content p {
    font-size: 3.75vw;
  }
  .post-content p + p {
    padding: 3.75vw 0 0;
  }
  .post-content figure + p {
    padding: 4.17vw 0 0;
  }
  .post-content .wp-block-image {
    padding: 6.25vw 0;
  }
  .post-content .wp-block-image p {
    font-size: 4.58vw;
  }
  .post-content img {
    min-height: 41.67vw;
    object-fit: cover;
  }
  .post-content figcaption {
    margin: 2.92vw 0 0;
    font-size: 3.33vw;
  }
  .post-references {
    margin: 10.42vw 0 0;
  }
  .post-references h2 {
    padding: 8.33vw 0 4.17vw;
    font-size: 5vw;
  }
  .post-references p,
  .post-references a {
    font-size: 3.33vw;
  }
  .post-author {
    margin: 12.5vw 0 0;
    padding: 10.42vw 0 0;
    gap: 4.17vw;
  }
  .post-author-img {
    width: 18.75vw;
    height: 18.75vw;
  }
  .post-author-info {
    width: 66.67vw;
  }
  .post-author h2 {
    padding: 0 0 1.25vw;
    font-size: 5vw;
  }
  .post-author p {
    font-size: 3.33vw;
  }
  .comments-area {
    width: 93.75vw;
  }
  .read-more-wrap {
    width: 93.75vw;
    padding: 10.42vw 0 14.58vw;
  }
  .read-more h2 {
    padding: 0 0 6.25vw;
    font-size: 6.67vw;
  }
  .archive-posts {
    gap: 4.17vw;
  }
  .archive-post-card {
    width: 100%;
    flex-direction: column;
    padding: 0;
    border-radius: 1.67vw;
  }
  .archive-post-img {
    width: 100%;
    height: 41.67vw;
  }
  .archive-post-img p {
    padding: 2.08vw 3.33vw;
    font-size: 2.92vw;
    border-radius: 0 1.25vw 0 0;
  }
  .archive-post-cat p {
    padding: 1.04vw;
    font-size: 2.5vw;
    border-radius: 1.04vw;
  }
  .archive-post-info {
    padding: 4.17vw 4.17vw 0;
  }
  .archive-post-info h3 {
    margin: 0 0 1.67vw;
  }
  .archive-post-info h3 a {
    font-size: 4.58vw;
  }
  .archive-post-info .categoria {
    font-size: 2.5vw;
  }
  .archive-post-info .data {
    font-size: 2.71vw;
  }
  .archive-post-info .excerpt {
    margin: 0 0 3.33vw;
    font-size: 2.92vw;
  }
  .archive-post-row {
    width: calc(100% - 8.33vw);
    margin: 5.83vw auto 0;
    padding: 3.13vw 0;
  }
  .archive-post-row p.p02 {
    font-size: 2.5vw;
    gap: 1.25vw;
  }
  .archive-post-row-num p.p02 + p.p02 {
    margin-left: 2.08vw;
    padding-left: 2.08vw;
  }
  .pagination {
    margin: 6.25vw 0 0;
    gap: 2.08vw;
  }
  #wpd-post-rating .wpd-rating-wrap {
    width: 50%;
  }
  #wpd-post-rating .wpd-rating-wrap .wpd-rating-data {
    width: 70%;
  }
  #wpd-post-rating .wpd-rating-wrap .wpd-rating-title {
    width: 15.5rem;
  }

  /********/
  /********/
  /********/
  .hide-desktop {
    display: flex;
  }
  .hide-mobile {
    display: none;
  }
}

@media print {
  /* Remove elementos indesejados */
  .header,
  .footer,
  .sidebar,
  .post-action-group,
  nav,
  .hero::before,
  .hero-bg,
  .post-action,
  .post-meta,
  .post-content aside,
  figure:has(iframe),
  .read-more,
  .comments-area,
  .footer-bar {
    display: none !important;
  }

  /* Ajusta largura do conteúdo */
  .post-content {
    width: 100% !important;
    max-width: none !important;
  }

  /* Remove cores de fundo (economiza tinta) */
  * {
    background: transparent !important;
    color: #000 !important;
    box-shadow: none !important;
    filter: saturate(0) !important;
  }

  /* Quebra de página entre seções longas */
  h2,
  h3 {
    page-break-after: avoid;
  }
  p {
    page-break-inside: avoid;
  }

  .hero {
    min-height: initial !important;
  }
  .hero-info {
    padding: 0.24vw 0 2.38vw !important;
  }
  .container-post {
    width: 59.52vw !important;
    padding: 0 0 3.57vw !important;
  }
}
