/* Extracted from keystoneapp/templates/static_pages/electricals/generators.html */
.generator-hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #0f172a 0%, #1d4ed8 58%, #facc15 100%);
    color: #fff;
  }
  .generator-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url("../img/gen6.jpg") center/cover no-repeat;
    opacity: .16;
  }
  .generator-hero .container {
    position: relative;
    z-index: 1;
  }
  .generator-hero p,
  .generator-hero li {
    color: rgba(255, 255, 255, .88);
  }
  .generator-image {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 18px 46px rgba(15, 23, 42, .22);
  }
  .generator-nav {
    background: #fff;
    border-bottom: 1px solid rgba(15, 23, 42, .1);
    box-shadow: 0 10px 28px rgba(15, 23, 42, .06);
  }
  .generator-nav .container {
    display: flex;
    justify-content: center;
    gap: .75rem;
    overflow-x: auto;
    padding-top: .85rem;
    padding-bottom: .85rem;
  }
  .generator-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;
  }
  .generator-nav a:hover {
    color: #0f172a;
    background: #facc15;
    transform: translateY(-1px);
  }
  .generator-card,
  .generator-detail-card,
  .generator-related-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);
  }
  .generator-card {
    position: relative;
    overflow: hidden;
    padding: 1.35rem;
  }
  .generator-card::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 5px;
    background: linear-gradient(180deg, #1d4ed8, #facc15);
  }
  .generator-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;
  }
  .generator-photo-card img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
  }
  .generator-dark-panel {
    border-radius: 8px;
    background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 62%, #334155 100%);
    color: #fff;
    box-shadow: 0 18px 42px rgba(15, 23, 42, .16);
  }
  .generator-dark-panel p,
  .generator-dark-panel li {
    color: rgba(255, 255, 255, .84);
  }
  .generator-brand-card {
    height: 100%;
    padding: 1.25rem;
    border-radius: 8px;
    border: 1px solid rgba(15, 23, 42, .08);
    background: #fff;
    transition: transform .18s ease, box-shadow .18s ease;
  }
  .generator-brand-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 42px rgba(15, 23, 42, .13);
  }
  .generator-related-card {
    display: flex;
    flex-direction: column;
    padding: 1.35rem;
    color: #0f172a;
    text-decoration: none;
    transition: transform .18s ease, box-shadow .18s ease;
  }
  .generator-related-card:hover {
    transform: translateY(-4px);
    color: #0f172a;
    box-shadow: 0 18px 42px rgba(15, 23, 42, .13);
  }
  .generator-related-card strong {
    margin-top: auto;
    color: #1d4ed8;
  }
  .generator-table {
    overflow: hidden;
    border: 1px solid rgba(15, 23, 42, .1);
    border-radius: 8px;
    box-shadow: 0 14px 34px rgba(15, 23, 42, .08);
  }
  .generator-table th {
    background: #0f172a;
    color: #fff;
  }
  @media (max-width: 767.98px) {
    .generator-nav .container {
      justify-content: flex-start;
    }
    .generator-services-grid {
      text-align: left;
    }
    .generator-services-grid .generator-card {
      display: flex;
      align-items: flex-start;
      gap: .95rem;
      padding: 1rem 1rem 1rem 1.15rem;
    }
    .generator-services-grid .generator-icon {
      width: 44px;
      height: 44px;
      flex: 0 0 44px;
      margin-bottom: 0;
      font-size: 1.25rem;
    }
    .generator-services-grid h3 {
      margin-top: 0 !important;
      margin-bottom: .3rem;
      font-size: 1rem;
    }
    .generator-services-grid p {
      line-height: 1.45;
      font-size: .92rem;
    }
  }

/* Generated classes for former inline style attributes */
/* Inline styles extracted from keystoneapp/templates/static_pages/electricals/generators.html */
.ktl-inline-a283c316 { background: linear-gradient(135deg, #fff9e6 0%, #fff3cd 100%); border-left: 5px solid #ffc107 !important; }
.ktl-inline-c948013e { font-size: 2.5rem; color: #856404; }
.ktl-inline-7da5372b { font-size: 1.2rem; padding: 0.5rem 0.75rem; }
.ktl-inline-f873aec2 { border-color: #856404; opacity: 0.3; }
.ktl-inline-12d968e9 { animation-delay: 0.1s; }
.ktl-inline-e869fcbb { animation-delay: 0.2s; }
.ktl-inline-a27ecc0a { animation-delay: 0.3s; }
.ktl-inline-6ac90495 { animation-delay: 0.4s; }
.ktl-inline-6d1826a3 { font-size:2.5rem; color:#0d6efd; }
.ktl-inline-70ac85be { max-width:840px; }
.ktl-inline-407591eb { background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%); color: white; }
.ktl-inline-b12928d4 { max-width: 900px; }
.ktl-inline-bb777092 { border-radius: 15px; overflow: hidden; }
.ktl-inline-49c5daf8 { background: linear-gradient(135deg, #0d6efd 0%, #0a58ca 100%); }
.ktl-inline-cfc29d42 { background: linear-gradient(135deg, #198754 0%, #157347 100%); }
.ktl-inline-be157d46 { background: linear-gradient(135deg, #6f42c1 0%, #5a32a3 100%); }
.ktl-inline-f52f3afb { background: #6f42c1; }
.ktl-inline-9c811a0a { background: rgba(255,255,255,0.1); border-radius: 15px; }
.ktl-inline-b4eee29b { background: linear-gradient(135deg, #ffc107 0%, #ffca2c 100%); border-radius: 15px; }
.ktl-inline-54759587 { background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%); color: white; }
.ktl-inline-4eff2af1 { max-width: 600px; }
