@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

.rlv-editorial-block {
  --rlv-ink: #251c17;
  --rlv-muted: #6e5d52;
  --rlv-line: rgba(134, 82, 49, 0.18);
  --rlv-warm: #fff6ee;
  --rlv-card: rgba(255, 255, 255, 0.9);
  --rlv-shadow: 0 18px 45px rgba(76, 45, 28, 0.1);
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  color: var(--rlv-ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  box-sizing: border-box;
}

.rlv-editorial-block *,
.rlv-editorial-block *::before,
.rlv-editorial-block *::after {
  box-sizing: border-box;
}

.rlv-editorial-block .rlv-section {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  padding: 86px 24px;
}

.rlv-editorial-block .rlv-section-white {
  background: #fff;
}

.rlv-editorial-block .rlv-section-warm {
  background:
    radial-gradient(circle at 12% 10%, rgba(255, 122, 65, 0.12), transparent 32%),
    radial-gradient(circle at 88% 20%, rgba(218, 84, 60, 0.1), transparent 28%),
    linear-gradient(180deg, #fff8f1 0%, #fff1e6 100%);
}

.rlv-editorial-block .rlv-container {
  width: min(1280px, 100%);
  max-width: 100%;
  margin: 0 auto;
}

.rlv-editorial-block .rlv-section-head {
  max-width: 760px;
  margin: 0 auto 38px;
  text-align: center;
}

.rlv-editorial-block .rlv-section-head h2 {
  margin: 0;
  color: var(--rlv-ink);
  font-size: clamp(1.2rem, 4vw, 2.2rem) !important;
  line-height: 1.16;
  letter-spacing: 0;
  font-weight: 800;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.rlv-editorial-block .rlv-section-head h2 span {
  background: linear-gradient(135deg, #ff6a2a 0%, #d8442f 48%, #8d3f2b 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.rlv-editorial-block .rlv-section-head p {
  margin: 14px auto 0;
  color: var(--rlv-muted);
  font-size: 1.03rem;
  line-height: 1.7;
  max-width: 680px;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.rlv-editorial-block .rlv-card-grid {
  display: grid;
  width: 100%;
  max-width: 100%;
  gap: 22px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.rlv-editorial-block .rlv-card {
  --rlv-a: #ff6a2a;
  --rlv-b: #ffd1b6;
  --rlv-glow: rgba(255, 106, 42, 0.14);
  position: relative;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  min-height: 250px;
  padding: 26px;
  border: 1px solid var(--rlv-line);
  border-radius: 18px;
  background:
    radial-gradient(circle at 18% 0%, var(--rlv-glow), transparent 36%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 250, 246, 0.9));
  box-shadow: var(--rlv-shadow);
  overflow: hidden;
  transform: translateY(0);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.rlv-editorial-block .rlv-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(circle at var(--fg-mx, 50%) var(--fg-my, 20%), rgba(255, 255, 255, 0.85), transparent 32%);
  transition: opacity 220ms ease;
}

.rlv-editorial-block .rlv-card::after {
  content: "";
  position: absolute;
  left: 26px;
  right: 26px;
  bottom: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--rlv-a), transparent);
  opacity: 0.55;
}

.rlv-editorial-block .rlv-card:nth-child(2) { --rlv-a: #e04f3b; --rlv-b: #ffd8ca; --rlv-glow: rgba(224, 79, 59, 0.14); }
.rlv-editorial-block .rlv-card:nth-child(3) { --rlv-a: #c06a20; --rlv-b: #ffe1b8; --rlv-glow: rgba(192, 106, 32, 0.14); }
.rlv-editorial-block .rlv-card:nth-child(4) { --rlv-a: #9f5a3c; --rlv-b: #f5d2c4; --rlv-glow: rgba(159, 90, 60, 0.15); }
.rlv-editorial-block .rlv-card:nth-child(5) { --rlv-a: #db3f5f; --rlv-b: #ffd1db; --rlv-glow: rgba(219, 63, 95, 0.13); }
.rlv-editorial-block .rlv-card:nth-child(6) { --rlv-a: #b06a31; --rlv-b: #ffe0bc; --rlv-glow: rgba(176, 106, 49, 0.15); }
.rlv-editorial-block .rlv-card:nth-child(7) { --rlv-a: #7f5b37; --rlv-b: #ead5bd; --rlv-glow: rgba(127, 91, 55, 0.14); }
.rlv-editorial-block .rlv-card:nth-child(8) { --rlv-a: #d75b26; --rlv-b: #ffd0af; --rlv-glow: rgba(215, 91, 38, 0.14); }

.rlv-editorial-block .rlv-card:hover {
  transform: translateY(-7px);
  border-color: color-mix(in srgb, var(--rlv-a) 45%, transparent);
  box-shadow: 0 26px 70px rgba(76, 45, 28, 0.16);
}

.rlv-editorial-block .rlv-card:hover::before {
  opacity: 1;
}

.rlv-editorial-block .rlv-tilt-grid .rlv-card:hover {
  transform: perspective(900px) rotateX(var(--fg-tilt-x, 0deg)) rotateY(var(--fg-tilt-y, 0deg)) translateY(-7px);
}

.rlv-editorial-block .rlv-icon {
  position: relative;
  z-index: 1;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  margin-bottom: 22px;
  border-radius: 16px;
  color: var(--rlv-a);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), var(--rlv-b));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.65), 0 12px 24px rgba(76, 45, 28, 0.12);
  font-size: 1.35rem;
  transition: transform 220ms ease, background 220ms ease;
}

.rlv-editorial-block .rlv-card:hover .rlv-icon {
  transform: translateY(-3px) rotate(-4deg) scale(1.04);
  background: linear-gradient(135deg, var(--rlv-a), #fff0e6);
}

.rlv-editorial-block .rlv-card h3 {
  position: relative;
  z-index: 1;
  margin: 0 0 12px;
  color: var(--rlv-ink);
  font-size: 1.08rem;
  line-height: 1.28;
  letter-spacing: 0;
  font-weight: 780;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.rlv-editorial-block .rlv-card h3::after {
  content: "";
  display: block;
  width: 34px;
  height: 2px;
  margin-top: 10px;
  border-radius: 99px;
  background: var(--rlv-a);
  transition: width 220ms ease;
}

.rlv-editorial-block .rlv-card:hover h3::after {
  width: 72px;
}

.rlv-editorial-block .rlv-card p {
  position: relative;
  z-index: 1;
  margin: 0;
  color: var(--rlv-muted);
  font-size: 0.95rem;
  line-height: 1.65;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.rlv-editorial-block .rlv-card .rlv-cta {
  margin-top: 18px;
  color: var(--rlv-a);
  font-weight: 750;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 220ms ease, transform 220ms ease;
}

.rlv-editorial-block .rlv-card:hover .rlv-cta {
  opacity: 1;
  transform: translateY(0);
}

.rlv-editorial-block .rlv-process-card {
  min-height: 240px;
}

.rlv-editorial-block .rlv-process-card::before {
  content: attr(data-step);
  position: absolute;
  right: 18px;
  top: 8px;
  color: var(--rlv-a);
  font-size: 4.8rem;
  line-height: 1;
  font-weight: 900;
  opacity: 0.08;
  transition: transform 220ms ease, opacity 220ms ease;
}

.rlv-editorial-block .rlv-process-card:hover::before {
  transform: translateY(-4px) scale(1.05);
  opacity: 0.13;
}

.rlv-editorial-block .rlv-step-text {
  position: relative;
  z-index: 1;
  margin-bottom: 18px;
  color: var(--rlv-a);
  font-size: 0.78rem;
  line-height: 1;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  overflow-wrap: anywhere;
  word-break: break-word;
}

@media (min-width: 1200px) {
  .rlv-editorial-block .rlv-section {
    padding: 92px 28px;
  }

  .rlv-editorial-block .rlv-card-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
  }
}

@media (min-width: 1024px) and (max-width: 1199px) {
  .rlv-editorial-block .rlv-section {
    padding: 78px 22px;
  }

  .rlv-editorial-block .rlv-container {
    width: min(1080px, 100%);
  }

  .rlv-editorial-block .rlv-section-head p {
    font-size: 0.99rem;
  }

  .rlv-editorial-block .rlv-card-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
  }

  .rlv-editorial-block .rlv-card {
    padding: 24px;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .rlv-editorial-block .rlv-section {
    padding: 64px 20px;
  }

  .rlv-editorial-block .rlv-section-head {
    margin-bottom: 30px;
  }

  .rlv-editorial-block .rlv-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }

  .rlv-editorial-block .rlv-card {
    padding: 23px;
  }

  .rlv-editorial-block .rlv-card h3 {
    font-size: 1.02rem;
  }

  .rlv-editorial-block .rlv-card p {
    font-size: 0.92rem;
  }
}

@media (min-width: 430px) and (max-width: 767px) {
  .rlv-editorial-block .rlv-section {
    padding: 52px 16px;
  }

  .rlv-editorial-block .rlv-section-head {
    margin-bottom: 26px;
  }

  .rlv-editorial-block .rlv-section-head p {
    font-size: 0.94rem;
    line-height: 1.62;
  }

  .rlv-editorial-block .rlv-card-grid {
    grid-template-columns: 1fr !important;
    gap: 16px;
  }

  .rlv-editorial-block .rlv-card {
    min-height: 0;
    padding: 22px;
  }
}

@media (min-width: 375px) and (max-width: 429px) {
  .rlv-editorial-block .rlv-section {
    padding: 46px 14px;
  }

  .rlv-editorial-block .rlv-section-head {
    margin-bottom: 22px;
  }

  .rlv-editorial-block .rlv-section-head p {
    font-size: 0.9rem;
    line-height: 1.58;
  }

  .rlv-editorial-block .rlv-card-grid {
    grid-template-columns: 1fr !important;
    gap: 14px;
  }

  .rlv-editorial-block .rlv-card {
    min-height: 0;
    padding: 20px;
    border-radius: 16px;
  }

  .rlv-editorial-block .rlv-icon {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    font-size: 1.15rem;
  }
}

@media (max-width: 374px) {
  .rlv-editorial-block .rlv-section {
    padding: 40px 12px;
  }

  .rlv-editorial-block .rlv-section-head {
    margin-bottom: 20px;
  }

  .rlv-editorial-block .rlv-section-head p {
    font-size: 0.86rem;
    line-height: 1.55;
  }

  .rlv-editorial-block .rlv-card-grid {
    grid-template-columns: 1fr !important;
    gap: 12px;
  }

  .rlv-editorial-block .rlv-card {
    min-height: 0;
    padding: 18px;
    border-radius: 15px;
  }

  .rlv-editorial-block .rlv-card h3 {
    font-size: 0.98rem;
  }

  .rlv-editorial-block .rlv-card p {
    font-size: 0.86rem;
  }

  .rlv-editorial-block .rlv-icon {
    width: 42px;
    height: 42px;
    border-radius: 13px;
    font-size: 1rem;
    margin-bottom: 18px;
  }

  .rlv-editorial-block .rlv-process-card::before {
    font-size: 3.9rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .rlv-editorial-block .rlv-card,
  .rlv-editorial-block .rlv-card::before,
  .rlv-editorial-block .rlv-card::after,
  .rlv-editorial-block .rlv-icon,
  .rlv-editorial-block .rlv-card h3::after,
  .rlv-editorial-block .rlv-card .rlv-cta,
  .rlv-editorial-block .rlv-process-card::before {
    transition: none;
  }

  .rlv-editorial-block .rlv-card:hover,
  .rlv-editorial-block .rlv-tilt-grid .rlv-card:hover {
    transform: none;
  }
}