.fmg-real-life {
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  padding: clamp(24px, 2.8vw, 34px);
  max-width: 1200px;
  border: 1px solid rgba(31, 39, 71, 0.08);
  border-radius: 32px;
  background:
    radial-gradient(circle at top right, rgba(206, 165, 114, 0.16), transparent 28%),
    radial-gradient(circle at bottom left, rgba(139, 94, 52, 0.06), transparent 30%),
    linear-gradient(180deg, rgba(255, 250, 244, 0.98), rgba(247, 249, 253, 0.99));
  box-shadow: 0 24px 50px rgba(31, 39, 71, 0.09);
}

.fmg-real-life::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(120deg, rgba(255,255,255,0.44), transparent 26%),
    radial-gradient(circle at top right, rgba(255,255,255,0.28), transparent 24%);
  border-radius: inherit;
}

.fmg-real-life__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px 20px;
  align-items: end;
  margin-bottom: 22px;
  position: relative;
  z-index: 1;
}

.fmg-real-life__eyebrow {
  margin: 0;
  grid-column: 1;
  color: #8b5e34;
  font: 800 12px/1.1 Montserrat, system-ui, sans-serif;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.fmg-real-life__title {
  margin: 0;
  grid-column: 1;
  color: #1f2747;
  font: 800 clamp(28px, 3vw, 40px) / 1.05 Montserrat, system-ui, sans-serif;
}

.fmg-real-life__title-link {
  color: inherit;
  text-decoration: none;
}

.fmg-real-life__title-link:hover,
.fmg-real-life__title-link:focus-visible {
  color: #8b5e34;
}

.fmg-real-life__dek {
  margin: 0;
  grid-column: 1;
  max-width: 760px;
  color: #5d6885;
  font: 600 17px/1.55 Nunito, system-ui, sans-serif;
}

.fmg-real-life__actions {
  grid-column: 2;
  grid-row: 1 / span 3;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: flex-end;
  align-self: center;
}

.fmg-real-life__action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  font: 800 13px/1 Montserrat, system-ui, sans-serif;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: transform 140ms ease, box-shadow 140ms ease, border-color 140ms ease, background 140ms ease, color 140ms ease;
}

.fmg-real-life__action:hover,
.fmg-real-life__action:focus-visible {
  transform: translateY(-1px);
}

.fmg-real-life__action--answers {
  color: #fff8ef;
  background: linear-gradient(135deg, #1f2747, #334169);
  box-shadow: 0 12px 24px rgba(31, 39, 71, 0.16);
}

.fmg-real-life__action--compare {
  color: #1f2747;
  background: rgba(255, 248, 239, 0.92);
  border-color: rgba(31, 39, 71, 0.12);
  box-shadow: 0 10px 22px rgba(31, 39, 71, 0.08);
}

.fmg-real-life__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  padding: 12px;
  border: 1px solid rgba(31, 39, 71, 0.07);
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255, 252, 248, 1), rgba(249, 251, 255, 1));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.88);
  position: relative;
  z-index: 1;
}

.fmg-real-life[data-fmg-real-life-count="2"] .fmg-real-life__grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 980px;
  margin: 0 auto;
}

.fmg-real-life[data-fmg-real-life-count="2"] .fmg-real-life__head {
  max-width: 980px;
  margin: 0 auto 20px;
}

.fmg-real-life__card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(31, 39, 71, 0.08);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255, 251, 246, 0.98), rgba(255, 255, 255, 1));
  box-shadow: 0 16px 38px rgba(31, 39, 71, 0.08);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background 180ms ease;
}

.fmg-real-life__card-link {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  color: inherit;
  text-decoration: none;
  border-radius: inherit;
  overflow: hidden;
}

.fmg-real-life__card-link:focus-visible {
  outline: none;
}

.fmg-real-life__card:hover,
.fmg-real-life__card:focus-within {
  transform: translateY(-4px);
  border-color: rgba(31, 39, 71, 0.14);
  box-shadow: 0 24px 48px rgba(31, 39, 71, 0.12);
  background: linear-gradient(180deg, rgba(255, 252, 248, 1), rgba(255, 255, 255, 1));
}

.fmg-real-life__card:focus-within {
  box-shadow:
    0 24px 48px rgba(31, 39, 71, 0.12),
    0 0 0 3px rgba(139, 94, 52, 0.16);
}

.fmg-real-life__media {
  display: block;
  aspect-ratio: 16 / 10;
  background: linear-gradient(135deg, rgba(240, 228, 213, 0.9), rgba(231, 236, 246, 0.9));
  overflow: hidden;
  border-bottom: 1px solid rgba(31, 39, 71, 0.06);
}

.fmg-real-life__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transition: transform 220ms ease, filter 220ms ease;
}

.fmg-real-life__card:hover .fmg-real-life__media img,
.fmg-real-life__card:focus-within .fmg-real-life__media img {
  transform: scale(1.03);
  filter: saturate(1.03);
}

.fmg-real-life__media-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(224, 204, 182, 0.58), rgba(220, 228, 242, 0.82));
}

.fmg-real-life__body {
  display: grid;
  gap: 12px;
  padding: 20px 20px 22px;
}

.fmg-real-life__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.fmg-real-life__chip,
.fmg-real-life__bridge {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 11px;
  border-radius: 999px;
  font: 800 12px/1 Montserrat, system-ui, sans-serif;
}

.fmg-real-life__chip {
  color: #6f4821;
  background: rgba(206, 165, 114, 0.18);
}

.fmg-real-life__bridge {
  color: #44506f;
  background: rgba(68, 80, 111, 0.08);
}

.fmg-real-life__card-title {
  margin: 0;
  color: #1f2747;
  font: 800 25px/1.16 Montserrat, system-ui, sans-serif;
  letter-spacing: -0.02em;
}

.fmg-real-life__card:hover .fmg-real-life__card-title,
.fmg-real-life__card:focus-within .fmg-real-life__card-title {
  color: #8b5e34;
}

.fmg-real-life__teaser {
  margin: 0;
  color: #5d6885;
  font: 600 16px/1.6 Nunito, system-ui, sans-serif;
}

@media (max-width: 980px) {
  .fmg-real-life__head {
    grid-template-columns: 1fr;
  }

  .fmg-real-life__actions {
    grid-column: 1;
    grid-row: auto;
    justify-content: flex-start;
  }

  .fmg-real-life__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .fmg-real-life[data-fmg-real-life-count="2"] .fmg-real-life__grid {
    max-width: none;
  }
}

@media (max-width: 640px) {
  .fmg-real-life {
    padding: 18px 16px;
    border-radius: 24px;
  }

  .fmg-real-life__grid {
    display: flex;
    grid-template-columns: none;
    overflow-x: auto;
    gap: 14px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    margin-left: -4px;
    margin-right: -4px;
    padding: 8px 4px 12px;
  }

  .fmg-real-life__grid::-webkit-scrollbar {
    display: none;
  }

  .fmg-real-life__card {
    flex: 0 0 clamp(280px, 84vw, 340px);
    scroll-snap-align: start;
  }

  .fmg-real-life__body {
    padding: 16px 16px 18px;
  }

  .fmg-real-life__card-title {
    font-size: 22px;
  }
}
