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

.ytcv-editorial-block {
  --ytcv-bg: #fff7f2;
  --ytcv-ink: #211713;
  --ytcv-muted: #66564f;
  --ytcv-line: rgba(120, 71, 45, 0.16);
  --ytcv-grad-a: #ff4d4d;
  --ytcv-grad-b: #ff8a3d;
  --ytcv-grad-c: #b91c1c;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  box-sizing: border-box;
  color: var(--ytcv-ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

.ytcv-editorial-block .ytcv-section {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  padding: 86px 22px;
}

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

.ytcv-editorial-block .ytcv-section-warm {
  background:
    radial-gradient(circle at top left, rgba(255, 77, 77, 0.11), transparent 34%),
    radial-gradient(circle at bottom right, rgba(255, 138, 61, 0.13), transparent 36%),
    #fff7f2;
}

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

.ytcv-editorial-block .ytcv-heading-wrap {
  max-width: 790px;
  margin: 0 auto 42px;
  text-align: center;
}

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

.ytcv-editorial-block h2 span {
  background: linear-gradient(135deg, var(--ytcv-grad-c), var(--ytcv-grad-a), var(--ytcv-grad-b));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.ytcv-editorial-block .ytcv-heading-wrap p {
  margin: 14px auto 0;
  max-width: 700px;
  color: var(--ytcv-muted);
  font-size: 1.02rem;
  line-height: 1.72;
  overflow-wrap: anywhere;
  word-break: break-word;
}

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

.ytcv-editorial-block .ytcv-card {
  --ytcv-card-a: #fff4ef;
  --ytcv-card-b: #ffffff;
  --ytcv-accent: #ef4444;
  --ytcv-accent-soft: rgba(239, 68, 68, 0.12);
  position: relative;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  min-height: 245px;
  padding: 26px;
  overflow: hidden;
  border: 1px solid var(--ytcv-line);
  border-radius: 20px;
  background:
    radial-gradient(circle at 18% 0%, rgba(255, 255, 255, 0.95), transparent 34%),
    linear-gradient(145deg, var(--ytcv-card-a), var(--ytcv-card-b));
  box-shadow: 0 18px 42px rgba(85, 45, 27, 0.08);
  transition: transform 260ms ease, box-shadow 260ms ease, border-color 260ms ease;
}

.ytcv-editorial-block .ytcv-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, var(--ytcv-accent-soft), transparent 42%);
  opacity: 0.72;
  pointer-events: none;
}

.ytcv-editorial-block .ytcv-card::after {
  content: "";
  position: absolute;
  left: 26px;
  bottom: 0;
  width: 42%;
  height: 3px;
  border-radius: 999px 999px 0 0;
  background: linear-gradient(90deg, var(--ytcv-accent), transparent);
  transform: scaleX(0.5);
  transform-origin: left;
  transition: transform 260ms ease;
}

.ytcv-editorial-block .ytcv-card:nth-child(2) { --ytcv-card-a: #fff8e7; --ytcv-accent: #f59e0b; --ytcv-accent-soft: rgba(245, 158, 11, 0.13); }
.ytcv-editorial-block .ytcv-card:nth-child(3) { --ytcv-card-a: #f0fdfa; --ytcv-accent: #0f766e; --ytcv-accent-soft: rgba(15, 118, 110, 0.12); }
.ytcv-editorial-block .ytcv-card:nth-child(4) { --ytcv-card-a: #eef6ff; --ytcv-accent: #2563eb; --ytcv-accent-soft: rgba(37, 99, 235, 0.11); }
.ytcv-editorial-block .ytcv-card:nth-child(5) { --ytcv-card-a: #fff1f2; --ytcv-accent: #e11d48; --ytcv-accent-soft: rgba(225, 29, 72, 0.11); }
.ytcv-editorial-block .ytcv-card:nth-child(6) { --ytcv-card-a: #f7fee7; --ytcv-accent: #65a30d; --ytcv-accent-soft: rgba(101, 163, 13, 0.12); }
.ytcv-editorial-block .ytcv-card:nth-child(7) { --ytcv-card-a: #f5f3ff; --ytcv-accent: #7c3aed; --ytcv-accent-soft: rgba(124, 58, 237, 0.11); }
.ytcv-editorial-block .ytcv-card:nth-child(8) { --ytcv-card-a: #fff7ed; --ytcv-accent: #ea580c; --ytcv-accent-soft: rgba(234, 88, 12, 0.12); }

.ytcv-editorial-block .ytcv-card:hover {
  transform: translateY(-6px);
  border-color: color-mix(in srgb, var(--ytcv-accent) 42%, transparent);
  box-shadow: 0 26px 58px rgba(85, 45, 27, 0.14);
}

.ytcv-editorial-block .ytcv-card:hover::after {
  transform: scaleX(1);
}

.ytcv-editorial-block .ytcv-icon {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 20px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.82);
  color: var(--ytcv-accent);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.72), 0 10px 24px rgba(64, 38, 25, 0.08);
  font-size: 1.35rem;
  transition: transform 260ms ease, background 260ms ease;
}

.ytcv-editorial-block .ytcv-card:hover .ytcv-icon {
  transform: translateY(-3px) scale(1.04);
  background: var(--ytcv-accent-soft);
}

.ytcv-editorial-block h3 {
  position: relative;
  z-index: 1;
  display: inline;
  margin: 0;
  color: var(--ytcv-ink);
  font-size: 1.06rem;
  line-height: 1.34;
  font-weight: 800;
  letter-spacing: 0;
  background-image: linear-gradient(var(--ytcv-accent), var(--ytcv-accent));
  background-repeat: no-repeat;
  background-size: 0 2px;
  background-position: 0 100%;
  transition: background-size 260ms ease;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.ytcv-editorial-block .ytcv-card:hover h3 {
  background-size: 100% 2px;
}

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

.ytcv-editorial-block .ytcv-cta {
  opacity: 0.5;
  transform: translateY(8px);
  color: var(--ytcv-accent) !important;
  font-weight: 800;
  transition: opacity 260ms ease, transform 260ms ease;
}

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

.ytcv-editorial-block .ytcv-card-benefit:hover {
  transform: perspective(900px) rotateX(2deg) rotateY(-2deg) translateY(-6px);
}

.ytcv-editorial-block .ytcv-card-step {
  padding-top: 34px;
}

.ytcv-editorial-block .ytcv-step-number {
  position: absolute;
  top: 14px;
  right: 18px;
  max-width: 42%;
  color: var(--ytcv-accent);
  opacity: 0.12;
  font-size: 3.6rem;
  line-height: 1;
  font-weight: 900;
  letter-spacing: 0;
  pointer-events: none;
  transition: transform 260ms ease, opacity 260ms ease;
}

.ytcv-editorial-block .ytcv-card-step:hover .ytcv-step-number {
  opacity: 0.18;
  transform: translateY(-4px) scale(1.04);
}

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

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

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

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

  .ytcv-editorial-block .ytcv-heading-wrap p {
    font-size: 0.98rem;
  }

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

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

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

  .ytcv-editorial-block .ytcv-heading-wrap {
    margin-bottom: 34px;
  }

  .ytcv-editorial-block .ytcv-heading-wrap p {
    font-size: 0.96rem;
  }

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

  .ytcv-editorial-block .ytcv-card {
    padding: 22px;
  }

  .ytcv-editorial-block h3 {
    font-size: 1rem;
  }

  .ytcv-editorial-block .ytcv-card p {
    font-size: 0.93rem;
  }
}

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

  .ytcv-editorial-block .ytcv-heading-wrap {
    margin-bottom: 28px;
  }

  .ytcv-editorial-block .ytcv-heading-wrap p {
    font-size: 0.93rem;
    line-height: 1.64;
  }

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

  .ytcv-editorial-block .ytcv-card {
    min-height: auto;
    padding: 21px;
  }
}

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

  .ytcv-editorial-block .ytcv-heading-wrap {
    margin-bottom: 24px;
  }

  .ytcv-editorial-block .ytcv-heading-wrap p {
    font-size: 0.91rem;
  }

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

  .ytcv-editorial-block .ytcv-card {
    min-height: auto;
    padding: 19px;
    border-radius: 18px;
  }

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

  .ytcv-editorial-block .ytcv-step-number {
    font-size: 3rem;
  }
}

@media (min-width: 320px) and (max-width: 374px) {
  .ytcv-editorial-block .ytcv-section {
    padding: 42px 12px;
  }

  .ytcv-editorial-block .ytcv-heading-wrap {
    margin-bottom: 22px;
  }

  .ytcv-editorial-block .ytcv-heading-wrap p {
    font-size: 0.88rem;
    line-height: 1.58;
  }

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

  .ytcv-editorial-block .ytcv-card {
    min-height: auto;
    padding: 17px;
    border-radius: 16px;
  }

  .ytcv-editorial-block .ytcv-icon {
    width: 42px;
    height: 42px;
    margin-bottom: 16px;
    border-radius: 13px;
    font-size: 1.08rem;
  }

  .ytcv-editorial-block h3 {
    font-size: 0.95rem;
  }

  .ytcv-editorial-block .ytcv-card p {
    font-size: 0.87rem;
    line-height: 1.56;
  }

  .ytcv-editorial-block .ytcv-step-number {
    right: 14px;
    font-size: 2.65rem;
  }
}

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

  .ytcv-editorial-block .ytcv-card:hover,
  .ytcv-editorial-block .ytcv-card-benefit:hover {
    transform: none;
  }
}