/* Operations Center product page — compact hero + contained gallery */

.pub-ops-hero {
  position: relative;
  overflow: hidden;
  padding: calc(var(--pub-nav-height, 104px) + 20px) clamp(1.25rem, 4vw, 2.5rem) clamp(2.5rem, 5vw, 3.5rem);
  border-bottom: 1px solid rgba(148, 163, 184, 0.14);
  background:
    radial-gradient(ellipse 65% 55% at 92% 0%, rgba(56, 189, 248, 0.22), transparent 58%),
    radial-gradient(ellipse 50% 40% at 4% 35%, rgba(99, 102, 241, 0.14), transparent 52%),
    linear-gradient(180deg, #0a101c 0%, #070b14 100%);
}

.pub-ops-hero__ambient {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.pub-ops-hero__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.5;
}

.pub-ops-hero__orb--a {
  width: min(420px, 50vw);
  height: min(420px, 50vw);
  top: -14%;
  right: 6%;
  background: rgba(56, 189, 248, 0.35);
}

.pub-ops-hero__orb--b {
  width: min(300px, 40vw);
  height: min(300px, 40vw);
  bottom: -20%;
  left: -6%;
  background: rgba(129, 140, 248, 0.25);
}

.pub-ops-hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(1.5rem, 4vw, 2.75rem);
  align-items: center;
  max-width: 1120px;
  margin: 0 auto;
}

.pub-ops-hero__copy .pub-eyebrow {
  color: #7dd3fc;
}

.pub-ops-hero h1 {
  margin: 0.55rem 0 0.85rem;
  font-family: "Outfit", "Plus Jakarta Sans", system-ui, sans-serif;
  font-size: clamp(1.9rem, 3.8vw, 2.95rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.06;
  color: #f8fafc !important;
}

.pub-ops-hero__lead {
  margin: 0 0 1.35rem;
  max-width: 36rem;
  font-size: clamp(1rem, 1.25vw, 1.12rem);
  line-height: 1.55;
  color: rgba(241, 245, 249, 0.88) !important;
}

.pub-ops-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.4rem;
}

.pub-ops-hero__flow {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.55rem;
}

.pub-ops-hero__flow li {
  display: grid;
  gap: 0.15rem;
  padding: 0.75rem 0.8rem;
  border-radius: 14px;
  background: rgba(15, 23, 42, 0.75);
  border: 1px solid rgba(56, 189, 248, 0.22);
}

.pub-ops-hero__flow strong {
  font-size: 0.82rem;
  color: #e0f2fe !important;
}

.pub-ops-hero__flow span {
  font-size: 0.72rem;
  color: rgba(226, 232, 240, 0.7) !important;
}

.pub-ops-device {
  max-width: 500px;
  margin-left: auto;
  border-radius: 18px;
  overflow: hidden;
  background: #0f172a;
  border: 1px solid rgba(56, 189, 248, 0.35);
  box-shadow:
    0 24px 48px -24px rgba(0, 0, 0, 0.7),
    0 0 36px rgba(14, 165, 233, 0.18);
  transform: perspective(1100px) rotateY(-6deg) rotateX(3deg);
}

.pub-ops-device__chrome {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0.55rem 0.85rem;
  background: linear-gradient(180deg, #1e293b, #0f172a);
  border-bottom: 1px solid rgba(148, 163, 184, 0.2);
}

.pub-ops-device__chrome span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #64748b;
}

.pub-ops-device__chrome span:nth-child(1) { background: #f87171; }
.pub-ops-device__chrome span:nth-child(2) { background: #fbbf24; }
.pub-ops-device__chrome span:nth-child(3) { background: #34d399; }

.pub-ops-device__chrome em {
  margin-left: 0.5rem;
  font-style: normal;
  font-size: 0.7rem;
  color: #94a3b8;
}

.pub-ops-device__viewport {
  height: clamp(190px, 26vw, 240px);
  overflow: hidden;
  background: #0b1220;
}

.pub-ops-device__viewport img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.pub-ops-gallery {
  padding: clamp(2.5rem, 5.5vw, 4rem) clamp(1.25rem, 4vw, 2.5rem);
  border-top: 1px solid rgba(148, 163, 184, 0.12);
  background: #070b14;
}

.pub-ops-gallery__inner {
  max-width: 1120px;
  margin: 0 auto;
}

.pub-ops-gallery__head {
  max-width: 40rem;
  margin: 0 auto 1.75rem;
  text-align: center;
}

.pub-ops-gallery__head h2 {
  margin: 0.35rem 0 0.65rem;
  font-family: "Outfit", "Plus Jakarta Sans", system-ui, sans-serif;
  font-size: clamp(1.5rem, 2.8vw, 2.1rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #f8fafc !important;
}

.pub-ops-gallery__head p {
  margin: 0;
  color: rgba(241, 245, 249, 0.88) !important;
  line-height: 1.5;
}

.pub-ops-gallery__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.pub-ops-tile {
  margin: 0;
  border-radius: 16px;
  overflow: hidden;
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(148, 163, 184, 0.22);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.28);
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.pub-ops-tile:hover {
  transform: translateY(-4px);
  border-color: rgba(56, 189, 248, 0.4);
}

.pub-ops-tile__frame {
  height: 150px;
  overflow: hidden;
  background: #0b1220;
}

.pub-ops-tile__frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.pub-ops-tile figcaption {
  display: grid;
  gap: 0.2rem;
  padding: 0.85rem 1rem 1rem;
}

.pub-ops-tile figcaption strong {
  font-size: 0.95rem;
  color: #f8fafc !important;
}

.pub-ops-tile figcaption span {
  font-size: 0.82rem;
  color: rgba(226, 232, 240, 0.72) !important;
}

/* Contain any leftover analytics images on ops-related slugs */
.pub-slug--operations-center .pub-inner-analytics__chart,
.pub-slug--operations-center .pub-inner-narrative img,
.pub-slug--device-analytics .pub-inner-analytics__chart,
.pub-slug--device-analytics .pub-inner-narrative img,
.pub-slug--endpoint-monitoring .pub-inner-analytics__chart,
.pub-slug--endpoint-monitoring .pub-inner-narrative img {
  max-height: 260px;
  width: 100%;
  object-fit: cover;
  object-position: top center;
  border-radius: 14px;
}

.pub-slug--operations-center .pub-skin-hero__rail,
.pub-slug--device-analytics .pub-skin-hero__rail,
.pub-slug--endpoint-monitoring .pub-skin-hero__rail {
  display: none !important;
}

@media (max-width: 960px) {
  .pub-ops-hero__grid {
    grid-template-columns: 1fr;
  }

  .pub-ops-device {
    margin: 0 auto;
    transform: none;
    max-width: 440px;
  }

  .pub-ops-hero__flow {
    grid-template-columns: 1fr;
  }

  .pub-ops-gallery__grid {
    grid-template-columns: 1fr;
  }

  .pub-ops-tile__frame {
    height: 180px;
  }
}
