/* Caderno Nomina — mistura revista luxury + caderno estratégico */

.blog-body {
  padding-top: 0;
}

.site-nav-links a.is-current {
  color: #935626;
}

/* Hero luxury — foto full-bleed */
.lux-hero {
  position: relative;
  min-height: min(57vh, 30rem);
  display: flex;
  align-items: flex-end;
  color: #eee9e5;
  overflow: hidden;
}

.lux-hero__media {
  position: absolute;
  inset: 0;
  background: #1a1614;
  contain: paint;
}

.lux-hero__media picture,
.lux-hero__media img {
  width: 100%;
  height: 100%;
  display: block;
}

.lux-hero__media img {
  object-fit: cover;
  object-position: center 42%;
  /* evita layer gigante que some do GPU no scroll */
  transform: none;
}

.lux-hero__veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(18, 14, 12, 0.92) 0%, rgba(18, 14, 12, 0.45) 42%, rgba(18, 14, 12, 0.2) 100%),
    linear-gradient(to right, rgba(18, 14, 12, 0.35), transparent 55%);
}

.lux-hero__frame {
  position: relative;
  z-index: 1;
  width: 100%;
  margin: 0 auto;
  padding-top: 5.5rem;
  padding-bottom: clamp(1.75rem, 4vw, 2.75rem);
}

.lux-hero__kicker {
  font-family: "Red Hat Display", sans-serif;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(238, 233, 229, 0.78);
  margin: 0 0 0.75rem;
}

.lux-hero__title {
  font-family: "EB Garamond", Garamond, Georgia, serif;
  font-size: clamp(1.65rem, 3.8vw, 2.75rem);
  font-weight: 500;
  font-style: italic;
  line-height: 1.15;
  margin: 0;
  max-width: none;
  color: #eee9e5;
  display: flex;
  flex-direction: column;
  gap: 0.1em;
}

.lux-hero__title span {
  display: block;
}

/* Manifesto + filtros — alinhado ao eixo da hero/nav */
.lux-intro {
  background: #eee9e5;
  padding: clamp(1.5rem, 3.5vw, 2.25rem) 0;
  border-bottom: 1px solid rgba(71, 60, 54, 0.1);
}

.lux-intro__lead-block {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  max-width: 40rem;
  margin-bottom: 1.35rem;
}

.lux-intro__sun {
  width: 2.15rem;
  height: 2.15rem;
  flex-shrink: 0;
  margin-top: 0.15rem;
}

.lux-intro__lead {
  font-family: "Red Hat Display", sans-serif;
  font-size: clamp(0.875rem, 1.2vw, 1rem);
  font-style: normal;
  font-weight: 400;
  line-height: 1.6;
  color: #5c554e;
  margin: 0;
  min-width: 0;
}

.lux-intro__lead strong {
  font-weight: 600;
  color: #473c36;
}

.lux-intro__lead em {
  font-family: "EB Garamond", Garamond, Georgia, serif;
  font-style: italic;
  font-weight: 500;
  color: #473c36;
}

.lux-intro__bar {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding-top: 1.15rem;
  border-top: 1px solid rgba(71, 60, 54, 0.12);
}

@media (min-width: 800px) {
  .lux-intro__bar {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
  }
}

.journal-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  flex: 1;
  min-width: 0;
}

.journal-chips a {
  display: inline-flex;
  align-items: center;
  min-height: 1.85rem;
  padding: 0.2rem 0.65rem;
  border: 0;
  border-bottom: 1px solid transparent;
  color: rgba(71, 60, 54, 0.62);
  font-family: "Red Hat Display", sans-serif;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  background: transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.journal-chips a:hover {
  color: #935626;
}

.journal-chips a.is-on {
  color: #473c36;
  border-bottom-color: #935626;
  background: transparent;
}

.journal-search {
  flex-shrink: 0;
  width: 100%;
}

@media (min-width: 800px) {
  .journal-search {
    width: min(18rem, 36%);
  }
}

.journal-search__field {
  display: flex;
  align-items: stretch;
  border-bottom: 1px solid rgba(71, 60, 54, 0.28);
  transition: border-color 0.2s ease;
}

.journal-search__field:focus-within {
  border-bottom-color: #935626;
}

.journal-search input {
  flex: 1;
  min-width: 0;
  min-height: 2.35rem;
  padding: 0.4rem 0;
  border: 0;
  background: transparent;
  color: #473c36;
  font-family: "Red Hat Display", sans-serif;
  font-size: 0.875rem;
  outline: none;
  box-shadow: none;
  border-radius: 0;
}

.journal-search input::placeholder {
  color: rgba(71, 60, 54, 0.42);
}

.journal-search input[type="search"]::-webkit-search-decoration,
.journal-search input[type="search"]::-webkit-search-cancel-button {
  -webkit-appearance: none;
}

.journal-search button {
  flex-shrink: 0;
  min-height: 2.35rem;
  padding: 0 0 0 0.85rem;
  border: 0;
  background: transparent;
  color: #935626;
  font-family: "Red Hat Display", sans-serif;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: color 0.2s ease;
}

.journal-search button:hover {
  color: #473c36;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.journal-index {
  background: #fffbf6;
  padding: clamp(2rem, 4vw, 3rem) 0 clamp(4.5rem, 8vw, 6.5rem);
}

.journal-index--tight {
  padding-top: 1.25rem;
}

.journal-index__head {
  margin-bottom: 1.5rem;
}

.journal-index__head h2 {
  font-family: "EB Garamond", Garamond, Georgia, serif;
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  font-weight: 500;
  font-style: italic;
  color: #473c36;
  margin: 0 0 0.4rem;
}

.journal-index__head p {
  margin: 0;
  font-family: "Red Hat Display", sans-serif;
  color: #6b645c;
  max-width: 36rem;
  line-height: 1.6;
}

.journal-kicker {
  font-family: "Red Hat Display", sans-serif;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #935626;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0 0 0.65rem;
}

.journal-empty {
  text-align: center;
  color: #6b645c;
  padding: 4rem 0;
}

/* Lista numerada — caderno estratégico */
.journal-essays {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}

.journal-essays > li {
  border-top: 1px solid rgba(71, 60, 54, 0.12);
}

.journal-essays > li:last-child {
  border-bottom: 1px solid rgba(71, 60, 54, 0.12);
}

.journal-essay {
  display: grid;
  grid-template-columns: auto 7.5rem 1fr;
  gap: 1.25rem;
  align-items: center;
  padding: 1.35rem 0;
  color: inherit;
  text-decoration: none;
  transition: background 0.2s ease;
}

.journal-essay:hover {
  background: rgba(238, 233, 229, 0.45);
}

.journal-essay:hover strong {
  color: #935626;
}

.journal-essay__num {
  font-family: "EB Garamond", Garamond, Georgia, serif;
  font-style: italic;
  font-size: 1.125rem;
  color: #eee9e5;
  background: #935626;
  min-width: 2.5rem;
  height: 1.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.35rem;
}

.journal-essay__photo {
  width: 7.5rem;
  height: 5.25rem;
  overflow: hidden;
  background: #eee9e5;
}

.journal-essay__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease;
}

.journal-essay:hover .journal-essay__photo img {
  transform: scale(1.05);
}

.journal-essay__photo.is-empty {
  display: grid;
  place-items: center;
}

.journal-essay__photo.is-empty img {
  width: 1.75rem;
  height: 1.75rem;
  object-fit: contain;
  opacity: 0.55;
}

.journal-essay__body {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.journal-essay__body .journal-kicker {
  margin-bottom: 0.25rem;
}

.journal-essay__body strong {
  font-family: "EB Garamond", Garamond, Georgia, serif;
  font-size: clamp(1.25rem, 2.2vw, 1.65rem);
  font-weight: 500;
  color: #473c36;
  line-height: 1.2;
}

.journal-essay__body em {
  font-family: "Red Hat Display", sans-serif;
  font-style: normal;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: #6b645c;
  margin-top: 0.35rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.journal-essays--dark > li {
  border-color: rgba(238, 233, 229, 0.14);
}

.journal-essays--dark .journal-essay:hover {
  background: rgba(255, 255, 255, 0.04);
}

.journal-essays--dark .journal-essay__body strong {
  color: #eee9e5;
}

.journal-essays--dark .journal-essay__body em {
  color: rgba(238, 233, 229, 0.72);
}

.journal-essays--dark .journal-kicker {
  color: #d1c7b7;
}

.journal-essays--dark .journal-essay:hover strong {
  color: #fff;
}

.blog-pagination {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 3rem;
}

.blog-pagination a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.5rem;
  height: 2.5rem;
  padding: 0 0.65rem;
  border: 1px solid rgba(71, 60, 54, 0.15);
  color: #473c36;
  font-size: 0.875rem;
  text-decoration: none;
}

.blog-pagination a.is-current {
  background: #935626;
  border-color: #935626;
  color: #eee9e5;
}

/* Artigo */
.essay-cover {
  position: relative;
  min-height: clamp(20rem, 52vh, 30rem);
  display: flex;
  align-items: flex-end;
  padding: 5.5rem 0 2.5rem;
  background: #2f2723;
  color: #eee9e5;
  overflow: hidden;
}

.essay-cover.has-photo {
  color: #eee9e5;
}

.essay-cover__bg {
  position: absolute;
  inset: 0;
}

.essay-cover__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  display: block;
  filter: brightness(0.72) saturate(0.9);
}

.essay-cover__scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      to right,
      rgba(18, 14, 12, 0.88) 0%,
      rgba(18, 14, 12, 0.72) 42%,
      rgba(18, 14, 12, 0.35) 100%
    ),
    linear-gradient(
      to top,
      rgba(18, 14, 12, 0.82) 0%,
      rgba(18, 14, 12, 0.2) 55%,
      rgba(18, 14, 12, 0.45) 100%
    );
}

.essay-cover__frame {
  position: relative;
  z-index: 1;
  width: 100%;
}

.essay-cover__inner {
  max-width: 38rem;
  text-align: left;
  text-shadow: 0 1px 18px rgba(0, 0, 0, 0.35);
}

.essay-cover__top {
  font-family: "Red Hat Display", sans-serif;
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin: 0 0 0.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  color: rgba(238, 233, 229, 0.88);
}

.essay-cover__top a {
  color: inherit;
  text-decoration: none;
}

.essay-cover h1 {
  font-family: "EB Garamond", Garamond, Georgia, serif;
  font-size: clamp(1.5rem, 2.6vw, 2.05rem);
  font-weight: 500;
  font-style: italic;
  line-height: 1.22;
  margin: 0;
  max-width: 34rem;
  color: #fff;
  text-wrap: balance;
}

.essay-cover__by {
  margin-top: 0.9rem;
  font-family: "Red Hat Display", sans-serif;
  font-size: 0.8125rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  color: rgba(238, 233, 229, 0.82);
}

.essay-sheet {
  background: #fffbf6;
  padding: clamp(2.5rem, 6vw, 4.5rem) 1.5rem 4.5rem;
}

.essay-lede {
  width: min(42rem, 100%);
  margin: 0 auto 2.25rem;
  font-family: "EB Garamond", Garamond, Georgia, serif;
  font-size: clamp(1.25rem, 2vw, 1.55rem);
  font-style: italic;
  line-height: 1.5;
  color: #473c36;
}

.blog-article-body {
  width: min(42rem, 100%);
  margin: 0 auto;
  font-family: "Red Hat Display", sans-serif;
  font-size: 1.0625rem;
  line-height: 1.85;
  color: #473c36;
}

.blog-article-body > p:first-of-type::first-letter {
  float: left;
  font-family: "EB Garamond", Garamond, Georgia, serif;
  font-size: 3.4rem;
  line-height: 0.8;
  padding: 0.12em 0.12em 0 0;
  color: #935626;
  font-weight: 500;
}

.blog-article-body p { margin: 0 0 1.25rem; }

.blog-article-body h2,
.blog-article-body h3 {
  font-family: "EB Garamond", Garamond, Georgia, serif;
  font-weight: 500;
  margin: 2.1rem 0 0.85rem;
  line-height: 1.25;
  color: #473c36;
}

.blog-article-body h2 { font-size: 1.75rem; }
.blog-article-body h3 { font-size: 1.35rem; font-style: italic; }

.blog-article-body ul,
.blog-article-body ol {
  margin: 0 0 1.25rem;
  padding-left: 1.25rem;
}

.blog-article-body li { margin-bottom: 0.4rem; }

.blog-article-body a {
  color: #935626;
  text-decoration: underline;
}

.blog-article-body blockquote {
  margin: 1.75rem 0;
  padding-left: 1.25rem;
  border-left: 2px solid #935626;
  font-family: "EB Garamond", Garamond, Georgia, serif;
  font-style: italic;
  font-size: 1.35rem;
  line-height: 1.45;
  color: #473c36;
}

.blog-article-body img {
  max-width: 100%;
  height: auto;
  margin: 1.5rem 0;
  display: block;
}

.blog-article-body .blog-figure {
  margin: 2rem 0;
}

.blog-article-body .blog-figure img {
  margin: 0;
  width: 100%;
  max-height: 26rem;
  object-fit: cover;
}

.blog-article-body .blog-figure figcaption {
  margin-top: 0.65rem;
  font-size: 0.8125rem;
  color: #6b645c;
  letter-spacing: 0.04em;
}

.blog-article-body .blog-video {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  margin: 2rem 0;
  background: #1a1614;
  overflow: hidden;
}

.blog-article-body .blog-video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.essay-next {
  background: #fffbf6;
  color: #473c36;
  padding: clamp(1.75rem, 3.5vw, 2.5rem) 0;
  border-top: 1px solid rgba(71, 60, 54, 0.1);
}

.essay-next__head {
  text-align: left;
  margin-bottom: 1.15rem;
}

.essay-next__head .journal-kicker {
  justify-content: flex-start;
  color: rgba(71, 60, 54, 0.55);
  margin-bottom: 0.35rem;
}

.essay-next h2 {
  font-family: "EB Garamond", Garamond, Georgia, serif;
  font-size: clamp(1.35rem, 2.2vw, 1.65rem);
  font-weight: 500;
  margin: 0;
  color: #473c36;
}

.essay-next h2 em { font-style: italic; }

.essay-suggest {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.essay-suggest__card {
  display: grid;
  grid-template-columns: 4.75rem 1fr;
  gap: 0.75rem;
  align-items: center;
  padding: 0.55rem;
  background: #fff;
  border: 1px solid rgba(71, 60, 54, 0.1);
  color: inherit;
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.essay-suggest__card:hover {
  background: #fff;
  border-color: rgba(71, 60, 54, 0.22);
}

.essay-suggest__photo {
  width: 4.75rem;
  height: 3.5rem;
  overflow: hidden;
  background: #eee9e5;
}

.essay-suggest__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.essay-suggest__photo.is-empty {
  display: grid;
  place-items: center;
}

.essay-suggest__photo.is-empty img {
  width: 1.25rem;
  height: 1.25rem;
  opacity: 0.55;
}

.essay-suggest__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  gap: 0.2rem;
}

.essay-suggest__copy .journal-kicker {
  margin: 0;
  color: rgba(71, 60, 54, 0.55);
  font-size: 0.625rem;
}

.essay-suggest__copy strong {
  font-family: "EB Garamond", Garamond, Georgia, serif;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.25;
  color: #473c36;
}

.essay-suggest__copy em {
  display: none;
}

.journal-missing {
  background: #eee9e5;
  padding: 6rem 0;
  text-align: center;
  color: #473c36;
}

.journal-missing h1 {
  font-family: "EB Garamond", Garamond, Georgia, serif;
  font-size: 2rem;
  font-weight: 500;
}

.journal-missing a { color: #935626; }

/* Tipografia: mesma lógica da LP (balance / pretty / órfãs) */
.lux-hero__title,
.lux-intro__lead,
.journal-index__head h2,
.journal-essay__body strong,
.essay-cover h1,
.essay-lede,
.blog-article-body h2,
.blog-article-body h3,
.essay-next h2,
.essay-suggest__copy strong,
.journal-missing h1 {
  text-wrap: balance;
}

.lux-hero__sub,
.lux-intro__pillars li,
.journal-index__head p,
.journal-essay__body em,
.journal-kicker,
.essay-cover__by,
.blog-article-body p,
.blog-article-body li,
.blog-article-body blockquote,
.blog-figure figcaption,
.essay-suggest__copy em,
.journal-missing p,
.blog-body .site-footer p {
  text-wrap: pretty;
  widows: 2;
  orphans: 2;
}

@media (max-width: 640px) {
  .journal-essay {
    grid-template-columns: auto 1fr;
  }
  .journal-essay__photo {
    display: none;
  }
  .lux-hero {
    min-height: min(55vh, 26rem);
  }
}
