body.page-diesel-cost-calculator {
      --primary-green:#0B6B3A;
      --dark-green:#064F2B;
      --bg-soft:#eef5f1;
      --light-grey:#f5f5f5;
      --text:#333;
      --muted:#666;
      --border:#e6e6e6;
      --shadow: 0 10px 30px rgba(0,0,0,0.07);
      --radius: 14px;

      
      --container: 1100px;
      --pad: 20px;
    }

    body.page-diesel-cost-calculator * { box-sizing:border-box; }

    body.page-diesel-cost-calculator {
        margin:0;
        font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
        color:var(--text);
        background:#fff;
        line-height:1.45;
    }


    
    body.page-diesel-cost-calculator .container {
      max-width: var(--container);
      margin: 0 auto;
      padding: 0 var(--pad);
    }

    
    body.page-diesel-cost-calculator header {
      background:#fff;
      border-bottom: 1px solid var(--border);
    }
    body.page-diesel-cost-calculator .header-inner {
      display:flex;
      align-items:center;
      justify-content:space-between;
      padding: 16px 0;
      gap: 16px;
    }
    body.page-diesel-cost-calculator .brand {
      display:flex;
      align-items:center;
      gap: 12px;
      min-width: 0;
    }
    body.page-diesel-cost-calculator .brand img {
      height: 48px;
      width: auto;
      display:block;
      align-items: center;
    }
    body.page-diesel-cost-calculator .brand .tagline {
      font-size: 12px;
      color: var(--muted);
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }

    
    body.page-diesel-cost-calculator .hero {
      background: linear-gradient(135deg, #ffffff, var(--bg-soft));
      padding: 72px 0 46px;
    }
    body.page-diesel-cost-calculator .hero h1 {
      margin:0 0 14px;
      font-size: 40px;
      font-weight: 700;
      color: var(--primary-green);
      letter-spacing: -0.5px;
    }
    body.page-diesel-cost-calculator .hero p {
      margin: 0;
      max-width: 860px;
      font-size: 18px;
      color: #2f2f2f;
    }

    
    body.page-diesel-cost-calculator main {
      padding: 46px 0 60px;
    }

    body.page-diesel-cost-calculator .grid {
      display:grid;
      grid-template-columns: 1.2fr 0.8fr;
      gap: 22px;
      align-items:start;
    }

    body.page-diesel-cost-calculator .card {
      background:#fff;
      border: 1px solid var(--border);
      border-radius: var(--radius);
      box-shadow: var(--shadow);
      padding: 28px;
    }
    body.page-diesel-cost-calculator .card h2 {
      margin: 0 0 18px;
      font-size: 22px;
      color: #111;
    }
    body.page-diesel-cost-calculator .subnote {
      margin-top: -10px;
      margin-bottom: 18px;
      color: var(--muted);
      font-size: 13px;
    }

    body.page-diesel-cost-calculator label {
      display:block;
      font-size: 13px;
      font-weight: 600;
      margin: 14px 0 8px;
      color:#222;
    }
    body.page-diesel-cost-calculator input,
body.page-diesel-cost-calculator select {
      width:100%;
      padding: 12px 12px;
      border-radius: 10px;
      border: 1px solid var(--border);
      font-size: 15px;
      outline:none;
      background:#fff;
    }
    body.page-diesel-cost-calculator input:focus,
body.page-diesel-cost-calculator select:focus {
      border-color: rgba(11,107,58,0.55);
      box-shadow: 0 0 0 3px rgba(11,107,58,0.12);
    }

    body.page-diesel-cost-calculator .row {
      display:grid;
      grid-template-columns: 1fr 1fr;
      gap: 14px;
    }

    body.page-diesel-cost-calculator .hint {
      font-size: 12px;
      color: var(--muted);
      margin-top: -8px;
    }

    body.page-diesel-cost-calculator .btn {
      width:100%;
      margin-top: 18px;
      background: var(--primary-green);
      color:#fff;
      padding: 14px 16px;
      border:none;
      border-radius: 12px;
      font-weight: 700;
      font-size: 15px;
      cursor:pointer;
      transition: 0.2s ease;
    }
    body.page-diesel-cost-calculator .btn:hover { background: var(--dark-green); }

    body.page-diesel-cost-calculator .results {
      margin-top: 18px;
      padding: 18px;
      background: var(--light-grey);
      border-radius: 12px;
      border: 1px solid #eee;
    }
    body.page-diesel-cost-calculator .results h3 {
      margin:0 0 10px;
      color: var(--primary-green);
      font-size: 18px;
    }
    body.page-diesel-cost-calculator .results p {
      margin: 10px 0;
      font-size: 14px;
    }

    
    body.page-diesel-cost-calculator .info {
      background: #0b6b3a0d;
      border: 1px solid rgba(11,107,58,0.18);
      border-radius: var(--radius);
      padding: 22px;
    }
    body.page-diesel-cost-calculator .info h3 {
      margin:0 0 10px;
      font-size: 16px;
      color: var(--primary-green);
    }
    body.page-diesel-cost-calculator .info ul {
      margin: 0;
      padding-left: 18px;
      color: #2b2b2b;
      font-size: 13px;
    }
    body.page-diesel-cost-calculator .info li { margin: 8px 0; }

    
    body.page-diesel-cost-calculator .cta {
      background: var(--primary-green);
      color:#fff;
      padding: 56px 0;
    }
    body.page-diesel-cost-calculator .cta-inner {
      display:flex;
      gap: 18px;
      justify-content: space-between;
      align-items: center;
      flex-wrap: wrap;
    }
    body.page-diesel-cost-calculator .cta h2 {
      margin:0 0 8px;
      font-size: 24px;
    }
    body.page-diesel-cost-calculator .cta p {
      margin:0;
      opacity: 0.95;
      max-width: 720px;
    }
    body.page-diesel-cost-calculator .cta .cta-btn {
      background:#fff;
      color: var(--primary-green);
      border:none;
      border-radius: 12px;
      padding: 14px 16px;
      font-weight: 800;
      cursor:pointer;
      min-width: 260px;
      transition: 0.2s ease;
    }
    body.page-diesel-cost-calculator .cta .cta-btn:hover {
      transform: translateY(-1px);
    }

    
    body.page-diesel-cost-calculator footer {
      background:#f9f9f9;
      border-top: 1px solid var(--border);
      padding: 22px 0;
      font-size: 13px;
      color: var(--muted);
    }
    body.page-diesel-cost-calculator .footer-inner {
      display:flex;
      justify-content: space-between;
      align-items:center;
      gap: 12px;
      flex-wrap: wrap;
    }
    body.page-diesel-cost-calculator .footer-inner a {
      color: var(--muted);
      text-decoration:none;
      font-weight:600;
    }
    body.page-diesel-cost-calculator .footer-inner a:hover { color:#111; }

    
    @media (max-width: 960px){
      body.page-diesel-cost-calculator .hero h1 { font-size: 34px; }
      body.page-diesel-cost-calculator .grid { grid-template-columns: 1fr; }
    }
    @media (max-width: 520px){
      body.page-diesel-cost-calculator .hero { padding: 54px 0 36px; }
      body.page-diesel-cost-calculator .hero h1 { font-size: 28px; }
      body.page-diesel-cost-calculator .hero p { font-size: 16px; }
      body.page-diesel-cost-calculator .row { grid-template-columns: 1fr; }
      body.page-diesel-cost-calculator .brand img { height: 42px; }
      body.page-diesel-cost-calculator .cta .cta-btn { width:100%; min-width: unset; }
    }

    body.page-diesel-cost-calculator header {
  background:#fff;
  border-bottom: 1px solid var(--border);
}

body.page-diesel-cost-calculator .header-inner {
  padding: 18px 0;
}

body.page-diesel-cost-calculator .header-center {
  display:flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align:center;
  gap: 8px;
}

body.page-diesel-cost-calculator .logo {
  height: 52px;
  width: auto;
  display:block;
}

body.page-diesel-cost-calculator .tagline {
  font-size: 12.5px;
  color: var(--muted);
  font-weight: 600;
  letter-spacing: 0.2px;
}
  


body.page-diesel-cost-calculator .inline-diesel-cost-calculator-1 { display:none; }

/* Shared styles used across the site. */
/* Shared responsive guardrails for legacy navigation layouts. */
html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

@media (max-width: 768px) {
  body .navbar {
    width: 100%;
    min-width: 0;
  }

  body .nav-links {
    display: flex;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 18px;
    padding: 4px 2px 10px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scrollbar-width: thin;
  }

  body .nav-links > li {
    flex: 0 0 auto;
  }

  body .page-hero .container,
  body .page-hero-content {
    width: auto;
    min-width: 0;
    max-width: 100%;
  }

  body .page-hero p {
    max-width: 100%;
    overflow-wrap: anywhere;
  }
}

/* Font Awesome restore.
   Scoped page resets set font-family on every element, so explicitly return
   icon elements to the Font Awesome font family. */
body i.fas,
body i.fa-solid {
  font-family: "Font Awesome 6 Free" !important;
  font-weight: 900 !important;
}

body i.far,
body i.fa-regular {
  font-family: "Font Awesome 6 Free" !important;
  font-weight: 400 !important;
}

body i.fab,
body i.fa-brands {
  font-family: "Font Awesome 6 Brands" !important;
  font-weight: 400 !important;
}
