/* Extracted from keystoneapp/templates/static_pages/electricals/industrial_ups.html */
.ups-nav {
    background: #fff;
    border-bottom: 1px solid rgba(15, 23, 42, .1);
    box-shadow: 0 10px 28px rgba(15, 23, 42, .06);
  }
  .ups-nav .container {
    display: flex;
    justify-content: center;
    gap: .75rem;
    overflow-x: auto;
    padding-top: .85rem;
    padding-bottom: .85rem;
  }
  .ups-nav a {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    min-height: 40px;
    padding: .55rem 1rem;
    border: 1px solid rgba(15, 23, 42, .1);
    border-radius: 999px;
    background: #f8fafc;
    color: #0f172a;
    font-weight: 800;
    text-decoration: none;
    white-space: nowrap;
    transition: background .18s ease, color .18s ease, transform .18s ease;
  }
  .ups-nav a:hover {
    color: #0f172a;
    background: #facc15;
    transform: translateY(-1px);
  }
  .ups-image {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 18px 46px rgba(15, 23, 42, .18);
  }
  .ups-contain-image {
    object-fit: contain;
    padding: 2rem;
    background: #fff;
  }
  .ups-card,
  .ups-maintenance-card,
  .ups-related-card,
  .ups-brand-card {
    height: 100%;
    border-radius: 8px;
    border: 1px solid rgba(15, 23, 42, .08);
    background: #fff;
    box-shadow: 0 12px 30px rgba(15, 23, 42, .08);
  }
  .ups-card {
    position: relative;
    overflow: hidden;
    padding: 1.25rem;
  }
  .ups-card::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 5px;
    background: linear-gradient(180deg, #1d4ed8, #facc15);
  }
  .ups-icon {
    display: inline-flex;
    width: 52px;
    height: 52px;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: #facc15;
    color: #0f172a;
    font-size: 1.55rem;
    margin-bottom: 1rem;
  }
  .ups-maintenance-card {
    display: flex;
    gap: .85rem;
    padding: 1rem;
  }
  .ups-maintenance-card i {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #dbeafe;
    color: #1d4ed8;
    font-size: 1.2rem;
  }
  .ups-dark-panel {
    border-radius: 8px;
    background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 58%, #334155 100%);
    color: #fff;
    box-shadow: 0 18px 42px rgba(15, 23, 42, .16);
  }
  .ups-dark-panel p,
  .ups-dark-panel li,
  .ups-dark-panel span {
    color: rgba(255, 255, 255, .84);
  }
  .ups-table {
    overflow: hidden;
    border: 1px solid rgba(15, 23, 42, .1);
    border-radius: 8px;
    box-shadow: 0 14px 34px rgba(15, 23, 42, .08);
  }
  .ups-table th {
    background: #0f172a;
    color: #fff;
  }
  .ups-brand-card {
    padding: 1.25rem;
    transition: transform .18s ease, box-shadow .18s ease;
  }
  .ups-brand-card:hover,
  .ups-related-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 42px rgba(15, 23, 42, .13);
  }
  .ups-related-card {
    display: flex;
    flex-direction: column;
    padding: 1.35rem;
    color: #0f172a;
    text-decoration: none;
    transition: transform .18s ease, box-shadow .18s ease;
  }
  .ups-related-card p {
    color: #64748b;
  }
  .ups-related-card strong {
    margin-top: auto;
    color: #1d4ed8;
  }
  @media (max-width: 767.98px) {
    .ups-nav .container {
      justify-content: flex-start;
    }
    .ups-services-grid {
      text-align: left;
    }
    .ups-services-grid .ups-card {
      display: flex;
      align-items: flex-start;
      gap: .9rem;
      padding: 1rem 1rem 1rem 1.15rem;
    }
    .ups-services-grid .ups-icon {
      width: 42px;
      height: 42px;
      flex: 0 0 42px;
      margin-bottom: 0;
      font-size: 1.2rem;
    }
    .ups-services-grid h3 {
      margin-top: 0 !important;
      margin-bottom: .25rem;
    }
    .ups-services-grid p {
      font-size: .9rem !important;
      line-height: 1.45;
    }
  }

/* Generated classes for former inline style attributes */
/* Inline styles extracted from keystoneapp/templates/static_pages/electricals/industrial_ups.html */
.ktl-inline-a36838b5 { background:linear-gradient(135deg,#0f172a 0%,#1d4ed8 55%,#111827 100%); }
.ktl-inline-2578fa55 { color:rgba(255,255,255,.86); }
.ktl-inline-03cae82b { max-width:820px; }
.ktl-inline-34e07d4c { max-width:840px; }
.ktl-inline-3be0ff67 { font-size:2.5rem; color:#0d6efd; }
.ktl-inline-55e50eaf { background:#0f172a; }
.ktl-inline-1df34d27 { max-width:760px;color:rgba(255,255,255,.82); }
