/* Early product conversion + editorial visuals */

/*
 * Featured image policy: useful in the hero only when it does not slow the
 * reader down. Desktop uses the otherwise empty right column. Mobile keeps the
 * image short and cropped so the answer still arrives quickly.
 */
.mpl-article-hero {
  display: block;
  margin: 0;
}

.mpl-article-hero img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  max-height: 420px;
  object-fit: cover;
  border-radius: 24px;
  box-shadow: 0 22px 54px rgba(37, 48, 43, .11);
}

.mpl-article-hero figcaption {
  display: flex;
  flex-wrap: wrap;
  gap: 5px 9px;
  margin-top: 7px;
  color: #7b8781;
  font-size: .64rem;
  line-height: 1.35;
}

.mpl-article-hero figcaption a {
  color: inherit;
  text-underline-offset: 2px;
}

@media (min-width: 821px) {
  .mpl-article:has(> .mpl-article-hero) {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(320px, .65fr);
    column-gap: clamp(34px, 5vw, 76px);
    align-items: center;
  }

  .mpl-article:has(> .mpl-article-hero) > .mpl-article-header {
    grid-column: 1;
    grid-row: 1;
    max-width: none;
  }

  .mpl-article:has(> .mpl-article-hero) > .mpl-article-hero {
    grid-column: 2;
    grid-row: 1;
    align-self: center;
  }

  .mpl-article:has(> .mpl-article-hero) > .mpl-decision-strip,
  .mpl-article:has(> .mpl-article-hero) > .mpl-article-layout,
  .mpl-article:has(> .mpl-article-hero) > .mpl-related-section {
    grid-column: 1 / -1;
  }

  .mpl-article:has(> .mpl-article-hero) .mpl-article-header h1 {
    max-width: 820px;
    font-size: clamp(2.75rem, 4.75vw, 5rem);
    line-height: .97;
  }

  .mpl-article:has(> .mpl-article-hero) .mpl-article-lead {
    max-width: 760px;
  }
}

@media (min-width: 821px) and (max-width: 1080px) {
  .mpl-article:has(> .mpl-article-hero) {
    grid-template-columns: minmax(0, 1fr) minmax(280px, 350px);
    column-gap: 34px;
  }

  .mpl-article:has(> .mpl-article-hero) .mpl-article-header h1 {
    font-size: clamp(2.55rem, 5.6vw, 4.35rem);
  }
}

.mpl-early-product {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 22px;
  margin: 34px 0 42px;
  padding: 20px;
  border: 1px solid rgba(138, 70, 54, .24);
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(240,221,214,.72), rgba(255,253,249,.94));
  box-shadow: 0 18px 44px rgba(37,48,43,.08);
  font-family: Manrope, "Avenir Next", Inter, system-ui, sans-serif;
}

.mpl-early-product--no-image {
  grid-template-columns: 1fr;
}

.mpl-early-product__image {
  display: grid;
  place-items: center;
  min-height: 150px;
  overflow: hidden;
  border-radius: 16px;
  background: #fffdf9;
}

.mpl-early-product__image img {
  width: 100%;
  height: 100%;
  max-height: 190px;
  object-fit: contain;
}

.mpl-early-product__eyebrow {
  display: block;
  margin-bottom: 5px;
  color: #8a4636;
  font-size: .68rem;
  font-weight: 850;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.mpl-early-product h2 {
  margin: 0;
  font-size: clamp(1.35rem, 2.4vw, 1.8rem);
  line-height: 1.1;
  letter-spacing: -.035em;
}

.mpl-early-product__model {
  margin: 6px 0 0 !important;
  color: #75827c;
  font-size: .78rem;
  font-weight: 750;
}

.mpl-early-product__verdict {
  margin: 12px 0 0 !important;
  color: #465650;
  font-size: .94rem;
  line-height: 1.55;
}

.mpl-early-product__warning {
  margin: 14px 0 0 !important;
  padding: 11px 13px;
  border-radius: 12px;
  background: rgba(255,253,249,.82);
  color: #596861;
  font-size: .8rem;
  line-height: 1.5;
}

.mpl-early-product__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px 14px;
  align-items: center;
  margin-top: 16px;
}

.mpl-early-product__cta {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border-radius: 999px;
  background: #8a4636;
  color: #fff !important;
  font-size: .86rem;
  font-weight: 850;
  text-decoration: none !important;
}

.mpl-early-product__cta:hover {
  background: #6f372b;
}

.mpl-early-product__details {
  color: #17483c !important;
  font-size: .82rem;
  font-weight: 800;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.mpl-early-product__affiliate {
  display: block;
  margin-top: 11px;
  color: #7a8580;
  font-size: .68rem;
  line-height: 1.45;
}

/* Product cards: never show an empty decorative placeholder. */
.mpl-product-card--no-image {
  grid-template-columns: 1fr;
}

.mpl-product-card__image {
  align-content: center;
  margin: 0;
}

.mpl-product-card__image figcaption {
  align-self: end;
  padding: 7px 8px 2px;
  color: #7b8781;
  font-size: .62rem;
  line-height: 1.35;
  text-align: center;
}

.mpl-product-card__image figcaption a {
  color: inherit;
  text-underline-offset: 2px;
}

@media (max-width: 820px) {
  .mpl-article-hero {
    max-width: 620px;
    margin: 0 0 22px;
  }

  .mpl-article-hero img {
    aspect-ratio: 16 / 8;
    max-height: 235px;
    border-radius: 18px;
  }
}

@media (max-width: 720px) {
  .mpl-early-product {
    grid-template-columns: 1fr;
    margin: 28px -4px 36px;
    padding: 17px;
    border-radius: 18px;
  }

  .mpl-early-product__image {
    min-height: 190px;
  }

  .mpl-early-product__actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .mpl-early-product__cta {
    width: 100%;
    min-height: 50px;
  }

  .mpl-early-product__details {
    justify-self: start;
  }

  .mpl-product-card__image img {
    max-height: 240px;
  }
}

@media (max-width: 560px) {
  .mpl-article-hero {
    margin-bottom: 18px;
  }

  .mpl-article-hero img {
    aspect-ratio: 16 / 7;
    max-height: 185px;
  }

  .mpl-article-hero figcaption {
    font-size: .6rem;
  }
}
