/* Shared warm, full-width service-page treatment for YouTube editing. */
body.youtube-service-page { overflow-x: clip !important; background: #faf9f6 !important; }
body.youtube-service-page > main {
  width: min(1280px,calc(100% - 24px)) !important;
  max-width: 1280px !important;
  gap: 42px !important;
}
body.youtube-service-page > main > section { margin-top: 0 !important; }
body.youtube-service-page > main > .yt-main-hero:first-child { margin-top: 0 !important; }
body.youtube-service-page > main > :is(.yt-main-hero,.yt-format-section,.yt-retention-section,section:nth-of-type(6),section:last-child) {
  box-sizing: border-box !important;
  width: 100vw !important;
  max-width: none !important;
  margin-left: calc((100% - 100vw)/2) !important;
  margin-right: calc((100% - 100vw)/2) !important;
  padding-left: max(24px,calc((100vw - 1280px)/2)) !important;
  padding-right: max(24px,calc((100vw - 1280px)/2)) !important;
  border-radius: 0 !important;
}
body.youtube-service-page > main > .yt-main-hero {
  padding-top: 40px !important;
  padding-bottom: 40px !important;
  border: 0 !important;
  background: radial-gradient(circle at 88% 18%,rgba(255,112,0,.13),transparent 28%),linear-gradient(135deg,#fff 0%,#fffaf5 56%,#fff1df 100%) !important;
  box-shadow: none !important;
}
body.youtube-service-page > main > .yt-format-section,
body.youtube-service-page > main > section:nth-of-type(6) {
  padding-top: 42px !important;
  padding-bottom: 42px !important;
  border: 0 !important;
  background: #fff !important;
  box-shadow: none !important;
}
body.youtube-service-page > main > .yt-retention-section {
  padding-top: 42px !important;
  padding-bottom: 42px !important;
  border: 0 !important;
  outline: 0 !important;
  color: #263449 !important;
  background: linear-gradient(135deg,#fff7ed,#fff 58%,#fff1df) !important;
  box-shadow: none !important;
}
body.youtube-service-page > main > .yt-retention-section:before { opacity: .06 !important; }
body.youtube-service-page > main > .yt-retention-section :is(h2,p,span) { color: #526176 !important; }
body.youtube-service-page > main > .yt-retention-section h2 { color: #172033 !important; }
body.youtube-service-page > main > .yt-retention-section > .grid > div:first-child > span { color: #d98a4b !important; }
body.youtube-service-page > main > .yt-retention-section .yt-retention-card {
  border-color: #f0e1d0 !important;
  background: #fff !important;
  color: #39475a !important;
  box-shadow: 0 7px 18px rgba(108,65,30,.045) !important;
}
body.youtube-service-page > main > section:last-child {
  padding-top: 42px !important;
  padding-bottom: 42px !important;
  border: 0 !important;
  background: linear-gradient(135deg,#fff1df,#fffaf5 65%,#fff) !important;
  color: #172033 !important;
  box-shadow: none !important;
}
body.youtube-service-page > main > :is(.yt-format-section,section:nth-of-type(6)) > :is(div:first-child,div.mt-8) {
  width: min(1280px,100%) !important;
  max-width: 1280px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}
body.youtube-service-page > main > .yt-main-hero > .grid,
body.youtube-service-page > main > .yt-retention-section > .grid {
  width: min(1280px,100%) !important;
  max-width: 1280px !important;
  margin-inline: auto !important;
}
body.youtube-service-page .yt-main-hero h2 {
  color: #172033 !important;
  font-size: clamp(28px,3vw,40px) !important;
  line-height: 1.12 !important;
  letter-spacing: -.035em !important;
}
body.youtube-service-page .yt-main-hero p { color: #617086 !important; }
body.youtube-service-page .yt-main-hero > .grid > div:last-child {
  border: 1px solid rgba(255,255,255,.12) !important;
  border-radius: 24px !important;
  background: linear-gradient(145deg,#172033,#0b1220 72%,#332014) !important;
  box-shadow: 0 22px 42px rgba(15,23,42,.18) !important;
}
body.youtube-service-page .yt-preview { background: #242b38 !important; }
body.youtube-service-page :is(.yt-format-section,#services,section:nth-of-type(5),section:nth-of-type(6),section:nth-of-type(7)) > div:first-child h2 {
  color: #172033 !important;
  font-size: clamp(20px,2vw,27px) !important;
  line-height: 1.2 !important;
  letter-spacing: -.025em !important;
}
body.youtube-service-page > main > section > div:first-child > span { color: #e87922 !important; letter-spacing: .12em !important; }
body.youtube-service-page .yt-format-card,
body.youtube-service-page .yt-card,
body.youtube-service-page .yt-process-card,
body.youtube-service-page section:nth-of-type(5) .grid > div {
  border: 1px solid #f0e5da !important;
  border-bottom: 3px solid #f5c89f !important;
  border-radius: 17px !important;
  background: linear-gradient(150deg,#fffdfa 0%,#fff8f0 100%) !important;
  box-shadow: 0 8px 22px rgba(108,65,30,.055) !important;
  transition: transform .23s ease,box-shadow .23s ease,border-color .23s ease !important;
}
body.youtube-service-page :is(.yt-format-card,.yt-card,.yt-process-card,section:nth-of-type(5) .grid > div):hover {
  transform: translateY(-4px) !important;
  border-color: #efc89f !important;
  box-shadow: 0 15px 28px rgba(126,76,33,.11) !important;
}
body.youtube-service-page .yt-card,
body.youtube-service-page .yt-process-card {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  min-height: 168px !important;
  padding: 20px 16px !important;
  text-align: center !important;
}
body.youtube-service-page #services .yt-card > div:first-child {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: 10px !important;
  width: 100% !important;
}
body.youtube-service-page .yt-card > div:first-child > div:first-child,
body.youtube-service-page .yt-process-icon {
  display: grid !important;
  place-items: center !important;
  width: 44px !important;
  height: 44px !important;
  flex: 0 0 44px !important;
  margin: 0 auto 10px !important;
  border: 1px solid #f6e3d1 !important;
  border-radius: 13px !important;
  background: #fff1e2 !important;
  color: #d98a4b !important;
  font-size: 17px !important;
}
body.youtube-service-page section:nth-of-type(7) .yt-card > div:first-child {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: 10px !important;
}
body.youtube-service-page section:nth-of-type(7) .yt-card > div:first-child > i {
  display: grid !important;
  place-items: center !important;
  width: 44px !important;
  height: 44px !important;
  border: 1px solid #f6e3d1 !important;
  border-radius: 13px !important;
  background: #fff1e2 !important;
  color: #d98a4b !important;
  font-size: 17px !important;
}
body.youtube-service-page .yt-card h3,
body.youtube-service-page .yt-process-card h3 {
  margin: 0 !important;
  color: #293548 !important;
  font-size: 14px !important;
  font-weight: 800 !important;
  line-height: 1.32 !important;
  text-align: center !important;
}
body.youtube-service-page .yt-card p,
body.youtube-service-page .yt-process-card p {
  margin: 8px 0 0 !important;
  color: #6b7789 !important;
  font-size: 12px !important;
  line-height: 1.5 !important;
  text-align: center !important;
}
body.youtube-service-page .yt-format-card { min-height: 76px !important; color: #39475a !important; }
body.youtube-service-page .yt-format-card i { color: #d98a4b !important; }
body.youtube-service-page .yt-retention-card i { color: #d98a4b !important; }
body.youtube-service-page .yt-process-card { min-height: 168px !important; }
body.youtube-service-page section:last-child h2 { color: #172033 !important; font-size: clamp(22px,2.4vw,32px) !important; }
body.youtube-service-page section:last-child p { color: #617086 !important; }
@media (max-width: 640px) {
  body.youtube-service-page > main { width: calc(100% - 8px) !important; gap: 30px !important; }
  body.youtube-service-page > main > :is(.yt-main-hero,.yt-format-section,.yt-retention-section,section:nth-of-type(6),section:last-child) { padding-left: 18px !important; padding-right: 18px !important; }
  body.youtube-service-page > main > :is(.yt-main-hero,.yt-format-section,.yt-retention-section,section:nth-of-type(6),section:last-child) { padding-top: 30px !important; padding-bottom: 30px !important; }
  body.youtube-service-page :is(.yt-card,.yt-process-card) { min-height: 0 !important; }
}
