/* page custom <style> 0e22b8c7 · body · pages (238): ../webflow-live/blog_5-reasons-your-business-needs-managed-it-services.html, ../webflow-live/blog_7-ways-you-can-get-hacked-without-your-device-being-compromised.html, ../webflow-live/blog_a-guide-to-prepare-for-secure-ai-adoption-with-microsoft-copilot.html, ../webflow-live/blog_accel-it-services.html, ../webflow-live/blog_add-shared-mailbox-outlook.html, ../webflow-live/blog_ai-usage-policy-small-business.html, ../webflow-live/blog_alberta-time-zone-change-calendar-wrong-time.html, ../webflow-live/blog_azure-active-directory-user-account-management-guide.html, ../webflow-live/blog_azure-ad-connect-setup-configuration-guide.html, ../webflow-live/blog_best-cybersecurity-companies-calgary-2026.html, ../webflow-live/blog_best-it-companies-calgary-2026.html, ../webflow-live/blog_beyond-bronze-silver-gold-why-growing-businesses-are-rethinking-it-support.html */
/* Base styles for YouTube embed containers */
.youtube-embed,
.video-embed,
[data-youtube] {
  margin: 20px 0;
  display: block;
}

/* Loading state while converting */
.youtube-embed:not(.youtube-converted),
.video-embed:not(.youtube-converted),
[data-youtube]:not(.youtube-converted) {
  min-height: 200px;
  background: #f8f9fa;
  border: 2px dashed #dee2e6;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.youtube-embed:not(.youtube-converted)::before,
.video-embed:not(.youtube-converted)::before,
[data-youtube]:not(.youtube-converted)::before {
  content: '🎥 Loading YouTube video...';
  color: #6c757d;
  font-size: 16px;
}

/* Converted state */
.youtube-converted {
  background: none !important;
  border: none !important;
  min-height: auto !important;
}

.youtube-converted::before {
  display: none !important;
}

/* YouTube container styles */
.youtube-container {
  position: relative;
  overflow: hidden;
}

/* Loading state - completely invisible */
.youtube-container.youtube-loading .youtube-placeholder {
  opacity: 0 !important;
  transform: translateY(20px) !important;
  pointer-events: none;
}

/* Visible state - ready for interaction */
.youtube-container.youtube-visible .youtube-placeholder {
  pointer-events: auto;
}

/* Lazy loading placeholder */
.youtube-placeholder {
  background: linear-gradient(135deg, #ff0000, #cc0000);
  transition: all 0.6s ease;
  user-select: none;
  will-change: opacity, transform;
}

.youtube-placeholder:hover {
  background: linear-gradient(135deg, #ff1a1a, #d90000);
  transform: scale(1.02) !important;
}

/* Video started state */
.video-started iframe {
  transition: opacity 0.4s ease;
}

.video-started .youtube-placeholder {
  opacity: 0 !important;
  transform: translateY(-10px) !important;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .youtube-embed,
  .video-embed,
  [data-youtube] {
    margin: 15px 0;
  }
  
  .youtube-placeholder {
    font-size: 18px !important;
  }
  
  .youtube-placeholder div:first-child {
    font-size: 36px !important;
  }
}