.project__hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.project__hero-content {
  flex: 2;
  align-items: flex-end;
}

.project__hero-image {
  flex: 1;
  position: relative;
  margin-right: 1rem;
}

.project__hero-image img {
  display: block;
  border-radius: 0.625rem;
  z-index: 1;
}

.project__hero-border {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0.5rem;
  left: 0.5rem;
  border: 0.125rem solid var(--rosa-escuro);
  border-radius: 0.625rem;
  z-index: 2;
}

/* Títulos */

.project__title {
  font-family: var(--calistoga);
  font-size: 1.8rem;
  line-height: 2rem;
  display: flex;
  align-items: center;
  color: var(--roxo);
}

.project__title::after {
  content: "";
  width: 1.875rem;
  height: 1.875rem;
  margin-left: 0.8125rem;
  background-size: cover;
  background-image: var(--emoji-roxo);
}

.project__category {
  text-transform: uppercase;
  font-size: 0.8rem;
}

/* Link */

.project__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  line-height: 1rem;
  text-transform: uppercase;
  font-weight: var(--font-bold);
  color: var(--almost-white);
  padding: 0.5rem;
  background-color: var(--roxo);
  border: 0.0625rem solid var(--roxo);
  border-radius: 0.3125rem;
  transition:
    background-color 0.3s ease-in-out,
    color 0.3s ease-in-out;
}

.project__link:hover {
  background-color: transparent;
  color: var(--roxo);
}

.project__link::after {
  content: "\f35d";
  font-family: var(--font-awesome);
  font-weight: var(--solid-weight);
  font-size: 0.8rem;
  width: 0;
  opacity: 0;
  overflow: hidden;
  transition:
    width 0.3s ease 0.1s,
    opacity 0.3s ease 0.1s,
    margin-left 0.3s ease 0.1s;
}

.project__link:hover::after {
  width: 0.9rem;
  margin-left: 0.4375rem;
  opacity: 1;
}

/* Informações do projeto */

.project__info {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin: 1.5rem 0;
}

.project__excerpt,
.project__meta {
  width: 48%;
}

.project__excerpt {
  text-align: justify;
  line-height: 1.25rem;
}

.project__meta-item {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
}

.project__meta-label {
  font-weight: var(--font-bold);
}

/* Tags */

.project__tags {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  /* justify-content: center; */
  width: fit-content;
  margin-inline: auto;
}

.project__tags li + li::before {
  content: "\f005";
  font-family: var(--font-awesome);
  font-weight: var(--font-regular);
  margin-right: 0.3rem;
  font-size: 0.5rem;
}

.project__tag {
  display: flex;
  align-items: center;
}

/* Conteúdo */

.project__content {
  margin: 2rem 0;
  background: var(--branco);
  border-radius: 0.625rem;
  padding: 1.25rem;
}

.project__content:hover i:nth-child(2) {
  color: var(--almost-white);
}

/* Títulos dentro do conteúdo */

.project__content h1,
.project__content h2,
.project__content h3,
.project__content h4,
.project__content h5,
.project__content h6 {
  font-family: var(--calistoga);
  color: var(--roxo);
  margin-top: 1.25rem;
  margin-bottom: 0.75rem;
}

.project__content h1 {
  font-size: 2.125rem;
}
.project__content h2 {
  font-size: 1.875rem;
}
.project__content h3 {
  font-size: 1.5rem;
}
.project__content h4,
.project__content h5 {
  font-size: 1.25rem;
}
.project__content h6 {
  font-size: 1rem;
}

/* Parágrafos */

.project__content p,
.wp-block-image {
  margin-bottom: 1rem;
  text-align: justify;
}

/* Legendas */

.project__content figcaption,
.wp-element-caption {
  color: var(--cinza);
  font-size: 0.75rem;
  line-height: 1;
  margin: 0 0 1.25rem;
  padding: 0.5rem 0 0;
  width: 100%;
  font-weight: var(--font-semibold);
  max-width: none;
}

figure:not(.alignleft) .wp-element-caption {
  text-align: right;
}

/* Galeria */

.wp-block-gallery,
.wp-block-gallery.has-nested-images,
.wp-block-gallery__wrapper {
  display: flex;
  flex-wrap: wrap;
}

figure + .wp-block-gallery {
  margin-top: 0; /* tira quando vem depois de outra figure */
}

.wp-block-gallery {
  margin-top: 2.5rem; /* padrão */
}

/* .wp-block-gallery {
  margin-top: 2.5rem;
} */

/* Imagens alinhadas */

.wp-block-image.size-large img {
  margin-left: auto;
  margin-right: auto;
}

.wp-block-image .alignleft,
.wp-block-image .alignright,
.alignleft,
.alignright {
  width: 20%;
}

.wp-block-image .alignleft img,
.wp-block-image .alignright img,
.alignleft img,
.alignright img {
  width: 100% !important;
}

@media screen and (min-width: 500px) {
  .wp-block-image .alignleft,
  .wp-block-image .alignright,
  .alignleft,
  .alignright {
    max-width: 45%;
  }
}

@media screen and (max-width: 499px) {
  .wp-block-image .alignleft,
  .wp-block-image .alignright,
  .alignleft,
  .alignright {
    width: 100%;
  }
}

/* Citações */

.wp-block-pullquote {
  padding: 1.5rem 0;
  display: flex;
  justify-content: center;
}

.project__content blockquote {
  width: 95%;
  margin: 1.5rem auto;
  color: var(--almost-black);
  padding: 1.2em 1.875rem 1.2em 4.6875rem;
  border-left: 0.5rem solid var(--roxo);
  line-height: 1.6;
  position: relative;
  background: var(--almost-white);
}

.project__content blockquote::before {
  font-family: Arial;
  content: "\201C";
  color: var(--roxo);
  font-size: 4em;
  position: absolute;
  left: 10px;
  top: -10px;
}

.project__content blockquote span {
  display: block;
  color: var(--almost-black);
  font-style: normal;
  font-weight: bold;
  margin-top: 1em;
}

/* Listas */

.wp-block-list {
  padding-left: 2rem;
  margin-bottom: 1rem;
}

.wp-block-list li::before {
  content: "\f005";
  font-family: var(--font-awesome);
  display: inline-block;
  margin-right: 0.5rem;
  font-size: 0.7rem;
}

/* Colunas */

.wp-block-column {
  display: flex;
  justify-content: center;
  margin: 1rem 0;
}

.wp-block-column p {
  text-align: justify;
  width: 95%;
}

@media (min-width: 769px) and (max-width: 1024px) {
  .project__hero {
    width: 95%;
    margin: 0 auto;
  }

  .project__hero-header {
    width: 98%;
  }

  .project__info {
    flex-direction: column;
  }

  .project__excerpt,
  .project__meta {
    width: 98%;
    margin: 0 auto;
    font-size: 1rem;
  }

  .project__excerpt {
    line-height: 1.8rem;
  }

  .project__meta {
    margin-top: 1rem;
  }

  .project__link {
    padding: 0.4rem 0.5rem;
    width: 100%;
    margin: 0.25rem 0;
    min-height: 2.75rem;
    min-width: 2.75rem;
    font-size: 1rem;
  }

  .project__content h2 {
    font-size: 1.5rem;
  }
  .project__content h3 {
    font-size: 1.25rem;
  }
  .project__content h4 {
    font-size: 1.25rem;
  }
  .project__content h5,
  .project__content h6 {
    font-size: 1rem;
  }
}

@media (max-width: 768px) {
  .project__hero {
    flex-direction: column;
    margin: 0 auto;
    width: 95%;
  }

  .project__hero-image {
    margin-bottom: 1rem;
  }

  .project__hero-header {
    width: 98%;
    align-items: center;
    display: flex;
    flex-direction: column;
  }

  .project__info {
    flex-direction: column;
  }

  .project__excerpt,
  .project__meta {
    width: 95%;
    margin: 0 auto;
    font-size: 1rem;
  }

  .project__excerpt {
    line-height: 1.8rem;
  }

  .project__meta {
    margin-top: 1rem;
  }

  .project__link {
    padding: 0.4rem 0.5rem;
    width: 100%;
    margin: 0.25rem 0;
    min-height: 2.75rem;
    min-width: 2.75rem;
    font-size: 1rem;
  }

  .project__content h1 {
    font-size: 1.5rem;
  }
  .project__content h2,
  .project__content h3 {
    font-size: 1.25rem;
  }

  .project__content p {
    text-align: justify;
    font-size: 1rem;
  }

  .project__content blockquote {
    width: 100%;
    padding: 1.2em 1.875rem 1.2em 2.5rem;
  }

  .wp-block-column p {
    width: 100%;
  }

  .wp-block-list {
    font-size: 1rem;
  }
}

@media (max-width: 768px) and (orientation: landscape) {
}
