/* Blog hero: the copy beside a turning globe (globe.js). */

.vfy-blog-hero-inner.has-globe {
  max-width: 1120px;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: 24px;
  align-items: center;
  text-align: left;
}
.has-globe > .vfy-blog-hero-copy p { margin-left: 0; }
.has-globe .vfy-blog-crumbs { display: flex; width: max-content; }
.vgl-stage { width: 100%; max-width: 440px; margin: 0 auto; }

@media (max-width: 900px) {
  .vfy-blog-hero-inner.has-globe { grid-template-columns: 1fr; text-align: center; }
  .has-globe > .vfy-blog-hero-copy p { margin-left: auto; }
  .has-globe .vfy-blog-crumbs { margin-inline: auto; }
  .vgl-stage { max-width: 300px; }
}

.vgl-stage {
  --vgl-1: #7dd3fc; --vgl-2: #0ea5e9; --vgl-3: #1c3461;
  --vgl-grid: rgba(255, 255, 255, .38); --vgl-equator: rgba(255, 255, 255, .7);
  --vgl-arc: #f59e0b; --vgl-pin: #ffffff; --vgl-home: #f59e0b; --vgl-plane: #ffffff;
  --vgl-glow: rgba(14, 165, 233, .45); --vgl-shadow: rgba(15, 23, 42, .22);
  --vgl-land: #9fdcae; --vgl-coast: #2f7d57;
}
[data-theme="dark"] .vgl-stage {
  --vgl-1: #38bdf8; --vgl-2: #1d4ed8; --vgl-3: #0b1a3a;
  --vgl-grid: rgba(186, 230, 253, .3); --vgl-equator: rgba(186, 230, 253, .6);
  --vgl-glow: rgba(56, 189, 248, .5); --vgl-shadow: rgba(0, 0, 0, .55);
  --vgl-land: #4fae7b; --vgl-coast: #a7f3d0;
}

.vgl-stage svg { overflow: visible; }
.vgl-stage .vgl-stop-1 { stop-color: var(--vgl-1); }
.vgl-stage .vgl-stop-2 { stop-color: var(--vgl-2); }
.vgl-stage .vgl-stop-3 { stop-color: var(--vgl-3); }
.vgl-stage .vgl-sphere { fill: url(#vgl-ocean); stroke: none; }
.vgl-stage .vgl-glow { fill: none; stroke: var(--vgl-glow); stroke-width: 6; }
.vgl-stage .vgl-shadow { fill: var(--vgl-shadow); stroke: none; }
.vgl-stage .vgl-grid { fill: none; stroke: var(--vgl-grid); stroke-width: .6; opacity: .7; }
.vgl-stage .vgl-land { fill: var(--vgl-land); fill-rule: evenodd; stroke: var(--vgl-coast); stroke-width: .7; stroke-linejoin: round; }
.vgl-stage .vgl-equator { fill: none; stroke: var(--vgl-equator); stroke-width: 1.2; }
.vgl-stage .vgl-arc { fill: none; stroke: var(--vgl-arc); stroke-width: 1.6; stroke-dasharray: 4 3; stroke-linecap: round; }
.vgl-stage .vgl-dot { fill: var(--vgl-pin); stroke: var(--vgl-3); stroke-width: 1; }
.vgl-stage .is-home .vgl-dot { fill: var(--vgl-home); }
.vgl-stage .vgl-pulse { fill: none; stroke: var(--vgl-home); stroke-width: 1.2; opacity: 0; }
.vgl-stage .is-home .vgl-pulse { animation: vgl-pulse 2.4s ease-out infinite; transform-box: fill-box; transform-origin: center; }
.vgl-stage .vgl-plane { fill: var(--vgl-plane); stroke: var(--vgl-arc); stroke-width: 1.2; transition: opacity .2s; }
.vgl-stage .vgl-shine { fill: rgba(255, 255, 255, .35); stroke: none; }
.vgl-stage .vgl-float { animation: vgl-float 7s ease-in-out infinite; }

@keyframes vgl-pulse { 0% { opacity: .9; transform: scale(.4); } 100% { opacity: 0; transform: scale(1.6); } }
@keyframes vgl-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }

@media (prefers-reduced-motion: reduce) {
  .vgl-stage .is-home .vgl-pulse, .vgl-stage .vgl-float { animation: none; }
}
