.blog-page {
  background: #f4f5f0;
}

.blog-hero {
  position: relative;
  min-height: 540px;
  overflow: hidden;
  color: var(--color-white);
  background:
    radial-gradient(circle at 78% 40%, rgba(177, 198, 145, 0.2), transparent 32%),
    linear-gradient(135deg, #0b1509 0%, #23331d 58%, #516348 100%);
}

.blog-hero__inner {
  min-height: 540px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.72fr);
  align-items: center;
  gap: 72px;
  padding-block: 80px;
}

.blog-hero__eyebrow,
.post-hero__eyebrow {
  margin: 0 0 22px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.blog-hero h1 {
  max-width: 880px;
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(48px, 5.5vw, 88px);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: -0.045em;
}

.blog-hero h1 strong {
  font-weight: 700;
}

.blog-hero__copy > p:last-of-type {
  max-width: 720px;
  margin: 28px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(17px, 1.5vw, 22px);
}

.blog-hero__media {
  position: relative;
  align-self: center;
  min-height: 0;
  aspect-ratio: 1 / 0.84;
}

.blog-hero__media::before {
  display: none;
}

.blog-hero__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 34px 46px rgba(0, 0, 0, 0.34));
}

.blog-feed {
  padding-block: 94px 110px;
}

.blog-section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 42px;
}

.blog-section-heading h2 {
  margin: 0;
  color: var(--color-ink);
  font-family: var(--font-display);
  font-size: clamp(36px, 4vw, 58px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.04em;
}

.blog-section-heading p {
  max-width: 580px;
  margin: 0;
  color: #5f6b58;
  font-size: 16px;
}

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

.blog-card {
  min-height: 360px;
  display: flex;
  flex-direction: column;
  padding: 28px;
  border: 1px solid #dce2d7;
  border-radius: 22px;
  background: #ffffff;
  box-shadow: 0 18px 50px rgba(26, 40, 22, 0.07);
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.blog-card:hover,
.blog-card:focus-within {
  border-color: #aab9a0;
  box-shadow: 0 26px 65px rgba(26, 40, 22, 0.14);
  transform: translateY(-5px);
}

.blog-card__image {
  width: 100%;
  aspect-ratio: 16 / 9;
  margin-bottom: 22px;
  border-radius: 14px;
  object-fit: cover;
  background: #edf0ea;
}

.blog-card__meta,
.post-hero__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  color: #667160;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.blog-card__category,
.post-hero__category {
  padding: 6px 9px;
  border-radius: 999px;
  background: #e8eee4;
  color: #273a22;
}

.blog-card h3 {
  margin: 24px 0 16px;
  color: var(--color-ink);
  font-family: var(--font-display);
  font-size: clamp(26px, 2.2vw, 35px);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.blog-card p {
  margin: 0 0 30px;
  color: #5a6654;
  font-size: 15px;
}

.blog-card__link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: auto;
  color: #152111;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.blog-card__link::after {
  font-size: 20px;
  content: "→";
  transition: transform 160ms ease;
}

.blog-card__link:hover::after,
.blog-card__link:focus-visible::after {
  transform: translateX(5px);
}

.blog-status {
  grid-column: 1 / -1;
  padding: 54px;
  border: 1px dashed #b9c3b3;
  border-radius: 20px;
  color: #5a6654;
  text-align: center;
}

.lead-section {
  padding: 96px 0;
  color: #ffffff;
  background:
    radial-gradient(circle at 10% 100%, rgba(143, 167, 125, 0.24), transparent 40%),
    #101b0d;
}

.lead-section__inner {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(480px, 1fr);
  gap: clamp(60px, 8vw, 140px);
  align-items: start;
}

.lead-section h2 {
  max-width: 690px;
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(42px, 5vw, 72px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.045em;
}

.lead-section__copy > p {
  max-width: 610px;
  margin: 28px 0 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 17px;
}

.lead-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  padding: 32px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(12px);
}

.lead-form__field {
  display: grid;
  gap: 8px;
}

.lead-form__field--full,
.lead-form__consent,
.lead-form__status,
.lead-form .btn {
  grid-column: 1 / -1;
}

.lead-form label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.lead-form input,
.lead-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  outline: none;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  font: inherit;
}

.lead-form input {
  height: 50px;
  padding: 0 14px;
}

.lead-form textarea {
  min-height: 108px;
  padding: 13px 14px;
  resize: vertical;
}

.lead-form input::placeholder,
.lead-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.42);
}

.lead-form input:focus,
.lead-form textarea:focus {
  border-color: rgba(255, 255, 255, 0.72);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.08);
}

.lead-form__consent {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  align-items: start;
  gap: 10px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  line-height: 1.5;
}

.lead-form__consent input {
  width: 18px;
  height: 18px;
  margin: 1px 0 0;
}

.lead-form .btn {
  min-height: 54px;
  background: #ffffff;
  color: #12200e;
  cursor: pointer;
}

.lead-form .btn:hover,
.lead-form .btn:focus-visible {
  background: #dfe8d9;
}

.lead-form .btn:disabled {
  cursor: wait;
  opacity: 0.65;
  transform: none;
}

.lead-form__status {
  min-height: 20px;
  margin: 0;
  color: #d8e8cf;
  font-size: 13px;
}

.lead-form__honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.post-page {
  min-height: 80vh;
  background: #f4f5f0;
}

.post-hero {
  padding: 90px 0 74px;
  color: #ffffff;
  background:
    radial-gradient(circle at 88% 20%, rgba(180, 201, 158, 0.2), transparent 34%),
    linear-gradient(135deg, #0b1509, #30432a);
}

.post-hero__inner {
  max-width: 1180px;
}

.post-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 54px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

.post-back:hover,
.post-back:focus-visible {
  color: #ffffff;
}

.post-hero__meta {
  color: rgba(255, 255, 255, 0.68);
}

.post-hero__category {
  background: rgba(255, 255, 255, 0.13);
  color: #ffffff;
}

.post-hero h1 {
  max-width: 1050px;
  margin: 26px 0 24px;
  font-family: var(--font-display);
  font-size: clamp(42px, 5.2vw, 72px);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.045em;
}

.post-hero__excerpt {
  max-width: 900px;
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: clamp(18px, 1.8vw, 24px);
}

.post-share {
  position: relative;
  width: max-content;
  margin-top: 30px;
}

.post-share__trigger {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0 17px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  cursor: pointer;
  font: 700 12px/1 var(--font-primary);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: background 160ms ease, border-color 160ms ease;
}

.post-share__trigger:hover,
.post-share__trigger:focus-visible,
.post-share__trigger[aria-expanded="true"] {
  border-color: rgba(255, 255, 255, 0.8);
  background: rgba(255, 255, 255, 0.16);
}

.post-share__trigger svg {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.post-share__menu {
  position: absolute;
  z-index: 20;
  right: auto;
  bottom: 0;
  left: calc(100% + 12px);
  min-width: 330px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 3px;
  padding: 8px;
  border: 1px solid #d7dfd2;
  border-radius: 15px;
  background: #ffffff;
  box-shadow: 0 20px 55px rgba(0, 0, 0, 0.24);
}

.post-share__menu[hidden] {
  display: none;
}

.post-share__menu a,
.post-share__menu button {
  width: 100%;
  min-height: 43px;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 7px 10px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: #20301c;
  cursor: pointer;
  font: 600 14px/1.2 var(--font-primary);
  text-align: left;
}

.post-share__menu a:hover,
.post-share__menu a:focus-visible,
.post-share__menu button:hover,
.post-share__menu button:focus-visible {
  background: #edf2e9;
}

.post-share__mark {
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  display: inline-grid;
  place-items: center;
  border-radius: 9px;
  color: #ffffff;
}

.post-share__mark svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.post-share__mark--linkedin { background: #0a66c2; }
.post-share__mark--whatsapp { background: #25d366; }
.post-share__mark--x { background: #000000; }
.post-share__mark--copy { background: #53604e; }

.post-cover {
  max-width: 1180px;
}

.post-cover {
  margin-top: clamp(34px, 5vw, 70px);
}

.post-cover img {
  width: auto;
  max-width: 100%;
  max-height: 720px;
  display: block;
  margin-inline: auto;
  border-radius: 24px;
  object-fit: contain;
  box-shadow: 0 28px 70px rgba(23, 35, 19, 0.14);
}

.post-content {
  display: grid;
  grid-template-columns: minmax(0, 760px) 320px;
  gap: clamp(48px, 7vw, 90px);
  align-items: start;
  padding-block: 86px 110px;
}

.post-body {
  color: #33402e;
  font-family: var(--font-display);
  font-size: clamp(19px, 1.7vw, 24px);
  line-height: 1.72;
}

.post-body p {
  margin: 0 0 1.6em;
}

.post-body h2,
.post-body h3 {
  margin: 1.9em 0 0.65em;
  color: #20301c;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.15;
}

.post-body h2 {
  font-size: clamp(30px, 3.2vw, 46px);
}

.post-body h3 {
  font-size: clamp(24px, 2.5vw, 34px);
}

.post-body ul,
.post-body ol {
  margin: -0.5em 0 1.6em;
  padding-left: 1.4em;
}

.post-body li + li {
  margin-top: 0.45em;
}

.post-body__figure {
  margin: 2.2em 0;
}

.post-body__figure img {
  display: block;
  width: 100%;
  max-height: 720px;
  object-fit: cover;
  border-radius: 18px;
}

.post-body__cta {
  display: inline-flex;
  margin-top: 0.25rem;
  font-family: var(--font-display);
  font-size: 15px;
  line-height: 1;
}

.post-aside {
  position: sticky;
  top: calc(var(--header-height) + 28px);
  padding: 28px;
  border-radius: 20px;
  background: #dfe7da;
  color: #20301c;
}

.post-aside h2 {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-size: 31px;
  line-height: 1.05;
}

.post-aside p {
  margin: 0 0 22px;
  color: #53604e;
  font-size: 14px;
}

.post-aside .btn {
  width: 100%;
}

.post-not-found {
  max-width: 760px;
  padding: 120px 0;
  text-align: center;
}

.post-not-found h1 {
  color: var(--color-ink);
  font-size: 50px;
}

@media (max-width: 1120px) {
  .blog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .lead-section__inner,
  .post-content {
    grid-template-columns: 1fr;
  }

  .post-aside {
    position: static;
  }
}

@media (max-width: 920px) {
  .blog-hero,
  .blog-hero__inner {
    min-height: 0;
  }

  .blog-hero__inner {
    grid-template-columns: 1fr;
    gap: 26px;
    padding-block: 70px 28px;
  }

  .blog-hero__media {
    min-height: 0;
  }

  .blog-hero__media img {
    position: relative;
    right: auto;
    bottom: auto;
    width: min(520px, 100%);
    height: auto;
    margin: 0 auto;
  }

  .blog-feed {
    padding-block: 70px;
  }

  .blog-section-heading {
    display: grid;
  }

  .lead-section {
    padding-block: 72px;
  }

  .lead-section__inner {
    gap: 42px;
  }
}

@media (max-width: 680px) {
  .blog-grid,
  .lead-form {
    grid-template-columns: 1fr;
  }

  .blog-card {
    min-height: 0;
  }

  .lead-form {
    padding: 22px;
  }

  .lead-form__field,
  .lead-form__field--full,
  .lead-form__consent,
  .lead-form__status,
  .lead-form .btn {
    grid-column: 1;
  }

  .post-hero {
    padding-block: 62px 54px;
  }

  .post-back {
    margin-bottom: 38px;
  }

  .post-content {
    gap: 48px;
    padding-block: 60px 80px;
  }

  .post-share__menu {
    top: calc(100% + 10px);
    right: auto;
    bottom: auto;
    left: 0;
    min-width: min(250px, calc(100vw - 48px));
    grid-template-columns: 1fr;
  }
}
