.post-thumbnail {
  @apply mx-auto my-8 w-fit;
}

.post p {
  @apply mt-3;
}

.nav-links {
  @apply md:mx-8;
}

.posts-list {
  column-gap: 1px;
  display: grid;
}

.posts-list article {
  width: 100%;
  background-color: #F8F6EE;
}

article .button--text {
  font-family: Playfair Display, serif;
  font-style: italic;
}

.inline-image-text img {
  width: 40px;
  animation: rock 5s ease-in infinite;
}

/* =========================================================
   Insights article
   ========================================================= */

.smakk-article {
  background: #F8F6EE;
  color: #161819;
  overflow: clip;
}

.smakk-article__hero {
  display: grid;
  grid-template-columns: 1fr;
  background: #161819;
  color: #F6F2E7;
  min-height: min(72vh, 40rem);
}

@media (min-width: 900px) {
  .smakk-article__hero {
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
  }
}

.smakk-article__hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2.5rem, 6vw, 5rem) clamp(1.25rem, 4vw, 3.5rem);
}

.smakk-article__eyebrow {
  margin: 0 0 1.1rem;
  color: #E3EF5C !important;
  font-family: "Roboto Mono", monospace;
  font-size: 0.8125rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.smakk-article__title {
  margin: 0 0 1.1rem;
  max-width: 11ch;
  color: #F6F2E7 !important;
  -webkit-text-fill-color: #F6F2E7 !important;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: clamp(2.5rem, 6.5vw, 5.5rem);
  font-weight: 500;
  line-height: 0.95;
  letter-spacing: -0.03em;
  opacity: 1 !important;
  visibility: visible !important;
}

.smakk-article__dek {
  margin: 0;
  max-width: 28ch;
  color: rgba(246, 242, 231, 0.9) !important;
  -webkit-text-fill-color: rgba(246, 242, 231, 0.9) !important;
  font-family: "Playfair Display", serif;
  font-style: italic;
  font-size: clamp(1.2rem, 2.2vw, 1.75rem);
  line-height: 1.3;
  opacity: 1 !important;
  visibility: visible !important;
}

.smakk-article__meta {
  margin-top: 1.75rem;
  font-family: "Roboto Mono", monospace;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(246, 242, 231, 0.55);
}

.smakk-article__hero-media {
  margin: 0;
  background: #2a3320;
  min-height: 16rem;
  overflow: hidden;
}

.smakk-article__hero-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Intro / TOC — case-study style */
.smakk-article__intro {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  padding: clamp(2rem, 5vw, 4rem) clamp(1.25rem, 4vw, 3.5rem);
  background: #F8F6EE;
  scroll-margin-top: 6rem;
}

@media (max-width: 899px) {
  .smakk-article__intro {
    gap: 1.5rem;
    padding-top: 1.75rem;
    padding-bottom: 1.75rem;
  }

  .smakk-article__hero {
    min-height: 0;
  }

  .smakk-article__hero-copy {
    padding: 2rem 1.25rem 1.5rem;
  }

  .smakk-article__hero-media {
    min-height: 14rem;
    max-height: 18rem;
  }

  .smakk-article__title {
    max-width: none;
  }
}

@media (min-width: 900px) {
  .smakk-article__intro {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    gap: clamp(2rem, 5vw, 4rem);
    align-items: start;
  }
}

.smakk-article__intro-label {
  margin: 0 0 0.65rem;
  font-family: "Roboto Mono", monospace;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.smakk-article__intro-title {
  margin: 0 0 1rem;
  font-family: "Playfair Display", serif;
  font-style: italic;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 400;
  line-height: 1.15;
}

.smakk-article__intro-summary p {
  margin: 0 0 0.9rem;
  max-width: 38rem;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 1.05rem;
  line-height: 1.6;
}

.smakk-article__toc {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid #161819;
}

.smakk-article__toc li {
  border-bottom: 1px solid #161819;
}

.smakk-article__toc a {
  display: block;
  padding: 0.95rem 0;
  font-family: "Roboto Mono", monospace;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  color: #161819;
}

.smakk-article__toc a:hover {
  color: #161819;
  text-decoration: underline;
}

/* Gate */
.smakk-article__gate {
  position: relative;
  z-index: 3;
  margin: 0 clamp(1.25rem, 4vw, 3.5rem) 0;
  padding: 0 0 clamp(1.75rem, 3vw, 2.5rem);
  background: #F8F6EE;
}

.smakk-article__gate-form {
  max-width: 40rem;
  padding: 1.35rem 1.4rem 1.45rem;
  border: 1px solid #161819;
  background: #161819;
  color: #F6F2E7;
}

.smakk-article__gate-copy {
  margin-bottom: 1.1rem;
}

.smakk-article__gate-kicker {
  margin: 0 0 0.45rem;
  color: #E3EF5C;
  font-family: "Roboto Mono", monospace;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.smakk-article__gate-title {
  margin: 0 0 0.45rem;
  max-width: 22ch;
  color: #F6F2E7;
  font-family: "Playfair Display", serif;
  font-style: italic;
  font-size: clamp(1.45rem, 2.4vw, 1.9rem);
  font-weight: 400;
  line-height: 1.2;
}

.smakk-article__gate-dek {
  margin: 0;
  max-width: 34rem;
  color: rgba(246, 242, 231, 0.78);
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 0.95rem;
  line-height: 1.45;
}

.smakk-article__gate-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: stretch;
}

.smakk-article__gate-email {
  flex: 1 1 14rem;
  min-height: 48px;
  padding: 0.75rem 1.15rem 0.75rem 1.35rem !important;
  border: 1px solid #F6F2E7 !important;
  border-radius: 11.427px;
  background: #161819 !important;
  background-color: #161819 !important;
  color: #F6F2E7 !important;
  -webkit-text-fill-color: #F6F2E7 !important;
  caret-color: #F6F2E7 !important;
  font-family: "Roboto Mono", monospace;
  font-size: 14px;
}

.smakk-article__gate-email::placeholder {
  color: rgba(246, 242, 231, 0.55) !important;
  -webkit-text-fill-color: rgba(246, 242, 231, 0.55) !important;
  opacity: 1;
}

.smakk-article__gate-email:focus {
  outline: 2px solid #E3EF5C;
  outline-offset: 2px;
  border-color: #E3EF5C !important;
  color: #F6F2E7 !important;
  -webkit-text-fill-color: #F6F2E7 !important;
}

.smakk-article__gate-email:-webkit-autofill,
.smakk-article__gate-email:-webkit-autofill:hover,
.smakk-article__gate-email:-webkit-autofill:focus {
  -webkit-text-fill-color: #F6F2E7 !important;
  caret-color: #F6F2E7 !important;
  box-shadow: 0 0 0 1000px #161819 inset !important;
  transition: background-color 9999s ease-in-out 0s;
}

.smakk-article__gate-submit {
  min-height: 48px;
  padding: 0.7rem 1.25rem;
  border: 1px solid #E3EF5C;
  border-radius: 11.427px;
  background: #E3EF5C;
  color: #161819;
  font-family: "Roboto Mono", monospace;
  font-size: 14px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.smakk-article__gate-submit:hover {
  background: #F6F2E7;
  border-color: #F6F2E7;
  color: #161819;
}

.smakk-article__gate-submit:disabled {
  opacity: 0.65;
  cursor: wait;
}

.smakk-article__gate-hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.smakk-article__gate-status,
.smakk-article__gate-success {
  margin: 0.75rem 0 0;
  font-family: "Roboto Mono", monospace;
  font-size: 0.8rem;
  color: #E3EF5C;
}

.smakk-article.is-unlocked .smakk-article__gate {
  display: none;
}

/* Gated body */
.smakk-article__body {
  position: relative;
  padding: 0 clamp(1.25rem, 4vw, 3.5rem) clamp(3rem, 7vw, 5rem);
}

.smakk-article__body--gated {
  max-height: 22rem;
  overflow: hidden;
  margin-top: -0.5rem;
}

.smakk-article__body--gated .prose-smakk {
  filter: blur(6px);
  user-select: none;
  pointer-events: none;
}

.smakk-article__fade {
  display: none;
}

.smakk-article__body--gated .smakk-article__fade {
  display: block;
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 85%;
  background: linear-gradient(to bottom, rgba(248, 246, 238, 0), #F8F6EE 55%);
  z-index: 2;
  pointer-events: none;
}

.smakk-article.is-unlocked .smakk-article__body--gated {
  max-height: none;
  overflow: visible;
}

.smakk-article.is-unlocked .smakk-article__body--gated .prose-smakk {
  filter: none;
  user-select: auto;
  pointer-events: auto;
}

.smakk-article.is-unlocked .smakk-article__fade {
  display: none !important;
}

.prose-smakk {
  max-width: 42rem;
  margin: 0 auto;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: clamp(1.05rem, 1.35vw, 1.2rem);
  line-height: 1.75;
  color: #161819;
}

.prose-smakk > p:first-of-type {
  font-family: "Playfair Display", serif;
  font-size: clamp(1.35rem, 2.2vw, 1.75rem);
  font-style: italic;
  line-height: 1.45;
  max-width: 34rem;
  margin-bottom: 2rem;
}

.prose-smakk h2 {
  margin: clamp(3rem, 7vw, 4.5rem) 0 1.25rem;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: clamp(1.75rem, 3.4vw, 2.75rem);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.02em;
  max-width: 16ch;
  scroll-margin-top: 6rem;
}

.prose-smakk h2.smakk-article__section-head,
.smakk-article__section-head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 1rem 1.15rem;
  align-items: center;
  margin: clamp(3.25rem, 8vw, 5rem) 0 1.75rem;
  max-width: 40rem;
  padding-bottom: 1.15rem;
  border-bottom: 1px solid rgba(22, 24, 25, 0.16);
  font-size: inherit;
  line-height: inherit;
  letter-spacing: normal;
  scroll-margin-top: 6rem;
}

.smakk-article__section-index {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 4.25rem;
  height: 4.25rem;
  padding: 0;
  background: #161819;
  color: #E3EF5C;
  border-radius: 1.1rem;
  box-shadow: 6px 6px 0 #E3EF5C;
  line-height: 0;
}

.smakk-article__section-index-num {
  display: block;
  font-family: "Playfair Display", serif;
  font-style: italic;
  font-size: clamp(1.85rem, 3vw, 2.35rem);
  line-height: 1;
  font-weight: 400;
  transform: translate(0.04em, -0.12em);
}

.smakk-article__section-head--plain {
  grid-template-columns: minmax(0, 1fr);
}

.smakk-article__quote {
  margin: 2.5rem 0;
  padding: 0 0 0 1.25rem;
  border-left: 3px solid #E3EF5C;
  max-width: 34rem;
}

.smakk-article__quote p {
  margin: 0;
  font-family: "Playfair Display", serif;
  font-style: italic;
  font-size: clamp(1.25rem, 2vw, 1.6rem);
  line-height: 1.4;
}

.smakk-article__quote cite {
  display: block;
  margin-top: 0.75rem;
  font-family: "Roboto Mono", monospace;
  font-size: 0.75rem;
  font-style: normal;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(22, 24, 25, 0.55);
}

.smakk-article__figure {
  margin: 2.5rem 0;
  max-width: 42rem;
}

.smakk-article__figure-img {
  display: block;
  width: 100%;
  height: auto;
}

.smakk-article__figure figcaption {
  margin-top: 0.65rem;
  font-family: "Roboto Mono", monospace;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  color: rgba(22, 24, 25, 0.55);
}

@media (max-width: 640px) {
  .smakk-article__section-index {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 0.95rem;
    box-shadow: 4px 4px 0 #E3EF5C;
  }
}

.prose-smakk h3 {
  margin: 2.5rem 0 1rem;
  font-family: "Roboto Mono", monospace;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.prose-smakk h3::before {
  content: "";
  display: inline-block;
  width: 0.65rem;
  height: 0.65rem;
  margin-right: 0.55rem;
  background: #E3EF5C;
  vertical-align: 0.05em;
}

.prose-smakk p,
.prose-smakk ul,
.prose-smakk ol {
  margin-bottom: 1.25rem;
  max-width: 38rem;
}

.prose-smakk ul,
.prose-smakk ol {
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(22, 24, 25, 0.18);
}

.prose-smakk li {
  margin: 0;
  padding: 1.1rem 0;
  border-bottom: 1px solid rgba(22, 24, 25, 0.18);
}

.prose-smakk li strong {
  display: block;
  margin-bottom: 0.35rem;
  font-family: "Roboto Mono", monospace;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.prose-smakk ol {
  counter-reset: takeaway;
}

.prose-smakk ol > li {
  position: relative;
  padding-left: 3.25rem;
  counter-increment: takeaway;
}

.prose-smakk ol > li::before {
  content: counter(takeaway, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 1.15rem;
  font-family: "Playfair Display", serif;
  font-style: italic;
  font-size: 1.35rem;
  line-height: 1;
}

.prose-smakk em {
  font-family: "Playfair Display", serif;
  font-style: italic;
}

.smakk-article__footer {
  padding: 0 clamp(1.25rem, 4vw, 3rem) clamp(3rem, 7vw, 5rem);
  display: flex;
  justify-content: center;
}

.smakk-article__back {
  display: inline-flex;
  align-items: flex-end;
  gap: 0.15rem;
  text-decoration: none;
  color: #161819;
}

.smakk-article__back-label {
  display: inline-flex;
  align-items: center;
  height: 33px;
  padding: 0 10px;
  border: 1px solid #161819;
  border-radius: 11.427px;
  font-family: "Roboto Mono", monospace;
  font-size: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.smakk-article__back-em {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 33px;
  min-width: 70px;
  padding: 0 12px;
  border: 1px solid #161819;
  border-radius: 11.427px;
  background: #E3EF5C;
  font-family: "Playfair Display", serif;
  font-style: italic;
  font-size: 18px;
}

.smakk-article__back:hover .smakk-article__back-label {
  background: #161819;
  color: #F6F2E7;
}

/* Force hero text visible against reveal / global color rules */
html.smakk-reveal .entry-content .smakk-article :is(h1, h2, h3, p, .smakk-article__title, .smakk-article__dek, .smakk-article__eyebrow) {
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
}

/* Insights + News archive */
.smakk-insights-news {
  background: #F8F6EE;
  color: #161819;
  padding: clamp(2rem, 5vw, 4rem) clamp(1.25rem, 4vw, 3rem) clamp(3rem, 7vw, 5rem);
}

.smakk-insights-news__header {
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.smakk-insights-news__eyebrow {
  margin: 0 0 0.75rem;
  font-family: "Roboto Mono", monospace;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #161819;
}

.smakk-insights-news__title {
  margin: 0;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 500;
  line-height: 0.95;
  letter-spacing: -0.03em;
}

.smakk-insights-news__feature {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  margin-bottom: 0.75rem;
  background: #161819;
  color: #F6F2E7;
  text-decoration: none;
  overflow: hidden;
}

@media (min-width: 900px) {
  .smakk-insights-news__feature {
    grid-template-columns: 1.1fr 0.9fr;
    min-height: 22rem;
  }
}

.smakk-insights-news__feature-copy {
  padding: clamp(1.5rem, 4vw, 3rem);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.smakk-insights-news__feature-label {
  margin: 0 0 0.75rem;
  color: #E3EF5C;
  font-family: "Roboto Mono", monospace;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.smakk-insights-news__feature-title {
  margin: 0 0 0.75rem;
  color: #F6F2E7;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: clamp(1.75rem, 3.5vw, 3rem);
  line-height: 1.05;
}

.smakk-insights-news__feature-dek {
  margin: 0;
  max-width: 34rem;
  color: rgba(246, 242, 231, 0.82);
  font-family: "Playfair Display", serif;
  font-style: italic;
  font-size: 1.15rem;
  line-height: 1.35;
}

.smakk-insights-news__feature-media {
  margin: 0;
  min-height: 14rem;
  background: #2a3320;
}

.smakk-insights-news__feature-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.smakk-insights-news__press-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  margin: 0.75rem 0 2.5rem;
}

@media (min-width: 700px) {
  .smakk-insights-news__press-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.smakk-insights-news__press-card {
  display: flex;
  flex-direction: column;
  min-height: 16rem;
  padding: 1.25rem;
  background: #E3EF5C;
  color: #161819;
  text-decoration: none;
  border: 1px solid #161819;
}

.smakk-insights-news__press-media {
  margin: -1.25rem -1.25rem 1rem;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: #161819;
}

.smakk-insights-news__press-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.smakk-insights-news__press-logo {
  display: block;
  height: 1.5rem;
  width: auto;
  margin: 0 0 auto;
  object-fit: contain;
}

.smakk-insights-news__press-card:nth-child(2),
.smakk-insights-news__press-card:nth-child(3) {
  background: #F6F2E7;
}

.smakk-insights-news__press-card:nth-child(4) {
  background: #ff6b4a;
  color: #161819;
}

.smakk-insights-news__press-outlet {
  margin: 0 0 auto;
  font-family: "Roboto Mono", monospace;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.smakk-insights-news__press-text {
  margin: 1rem 0 0;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 1.25rem;
  line-height: 1.25;
}
